apt-mcp-agent-setup 3.5.6 → 3.5.7
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/bin/cli.js +1 -1
- 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 +120 -120
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.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-native.js +1 -1
- package/src/core/claude-plan.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/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/host-adapters.js +1 -1
- package/src/core/ipc-envelope.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/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/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/resource-transaction.js +1 -1
- package/src/core/run-compatibility.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/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/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/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/legacy-registration.js +1 -1
- package/src/installer/managed-config.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-setup.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/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-registration.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
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x2e3be5=_0x10e0;function _0x2d70(){const _0x42071e=['uKvhsvnuuKfusu9ox1jfq09wrvjzx1jfuvvjuKve','Dg9ju09tDhjPBMC','CMvZB3vYy2vZqxbWBgLLza','CMvHzezPBgvtEw5J','zMfPBgvK','lNrTCa','DgfZAW','y2fUy2vSlwzVCI11CgDYywrL','DgfYz2v0','B2XKuNvUDgLTzxntDg9WCgvK','ChvZAa','y29UBMvJDgLVBKrPywDUB3n0AwnZ','ywrK','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','C3vZCgvUzgvK','Aw5JBhvKzxm','CNvUBMLUzW','nZu4otmXBwn5sMzn','ywjVCNq','y2fUy2vS','CM9SBc1MB3j3yxjKlxjLCxvPCMvK','y2XVC2vK','su5wquXjrf9xquLu','B2XKsgfZAa','yMXVy2TLCNm','zgLHz25VC3rPy3m','lI4Vy29Yzs9VD25Lzc1SB2nR','CMvIDwLSzgLUzY1PBMrLEa','C3rVCfjLCxvLC3rLza','zgLYBMfTzq','C3rYAw5NAwz5','y2HPBgrqAwq','ChvIBgLJs2v5','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','yMfJA2vUzhm','yNL0zxm','vvbeqvrfx1rbuKDfvf9dt05gteLdva','CMvZDwX0CW','mJHuv0XyEuu','BwLZBwf0y2HgAwvSzhm','C2fMzs1IB3vUzgfYEq','CNvUCY1Jyw5JzwXSzwq','DMfSDwvZ','B3bLCMf0Aw9U','CM9SBc1MB3j3yxjK','qurnsvntsu9ox0nptKzmsunu','ywjVCNqTzhjHAw4','zxzPzgvUy2u','CMvUyw1Lu3LUyW','y29UDhjVBenHCgfIAwXPDgLLCW','ywn0AxzL','B3bLCMf0Aw9UCW','CMvHzhK','BwfUAwzLC3qUANnVBG','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','D29YA3nWywnL','r0vorvjbveLptL9bq0TFuevoreLorW','CNvUCW','y29TBwL0lwLUDgvUDa','zxHPC3rZu3LUyW','DgfYz2v0rgLNzxn0','uKvtt1vsq0vFreLhrvnux01ju1njtKC','vvbeqvrfx1nvu1bftKrfra','y29UBMvJDgLVBKLK','q09otKvdveLptL9vtKnptKzjuK1fra','mJaZotiYvhrVEwvf','vvbeqvrfx1jfq09wrvjzx1jfuvvjuKve','nJiXmtG0seLzsMrQ','y29TBwL0','y29UDhjVBenVBM5Ly3rPB24','CgHHC2u','Aw5KzxHszxn1Bhq','mJKWmJaYrhrwCwjX','AxntywzLsw50zwDLCG','yNvPBhq','yxbWBhK','B2XKuNvUDgLTzvn0B3bWzwq','mZuXodqWsvPrqK1d','lI4Vy29Yzs9YDw50Aw1Llw93BMvYC2HPCa','CM9SBgvKlwjHy2S','CMvZB3vYy2vdB250CMfJDerPz2vZDa','CM9SBgjHy2S','BwfW','D2L0AefKBwLZC2LVBKXVy2S','zMLUza','CMvZB3vYy2vZlwfWCgXPzwq','zxHLy0zPBgvtEw5J','y29UDgfPBNnxB3jRC3bHy2u','CMvZB3vYy2veAwDLC3q','y2fUzgLKyxrLlxjLywr5','B3bLBG','AM9PBG','ChjLzMXPz2H0lxbLBMrPBMC','ru5pru5u','y29TCgf0AwjSzq','vvbeqvrfx0Lox1bst0Dsrvnt','y29UzMXPy3rZ','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','t1DorvjtseLqx0Lox0zmsuDiva','C3vWzxj2AxnVCLbYB3rVy29S','D29YA3nWywnLuNvUuM9VDhm','ywn0AxzHDgLVBKv2AwrLBMnL','y2fUy2vSBgvKuNvUCW','zgLNzxn0','mtm2ren3zvLA','C3rHDgvsB290','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ChjLCgfYzs1Jyw5KAwrHDgu','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','uhjLDMLVDxmGCMvHzgLUzxnZihr1CgXLigrPzMzLCNm','Aw5KzxGTC3rVCMuUANm','DxbNCMfKzvj1BNm','mtiXmtK0me1oyKXZyq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','CNvUswq','C3rVChbLza','y29TBwL0DgvK','CgXHBG','C2fTzvDVCMTZCgfJzq','zMLSDgvY','y2fUy2vSBgLUzY1YDw5Z','BM90lxjLCxvLC3rLza','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y29UBMvJDgLVBNm','ChjLlwrYywLUlwnHBMnLBgXLza','C2f2zuXVy2TLza','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Dg9tDhjPBMC','yxnZAwDU','C2vYDMLUzW','DhjHBNnHy3rPB25jza','uKvhsvnuuKfusu9ox1bmqu5Fsu5wquXjra','CMvXDwLYzwq','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','lI4Vy29Yzs91CgDYywrLlxj1BNm','CgfYC2u','ywrKB25Z','vvbeqvrfx0nbtKnfteXfra','C3rVCc1MB3iTDxbKyxrL','zxbVy2G','B2XKlxj1BNrPBwvZlxn0B3bWzwq','BM9KztPWyxrO','zgLYzwn0B3j5','zxHLy1bHDgG','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','CNvUDgLTzq','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','BMv3sgfZAa','CMfUzg9Tvvvjra','ChjLCgfYzwrqBgfUrgLNzxn0','D3jPDgvgAwXLu3LUyW','AgfZ','DxbKyxrLCW','ChjVyMvdB25Uzwn0Aw9U','y29Kzq','vvbeqvrfx1bmqu5Fvu5wrvjjrKLfra','ywn0Aw9U','CMvNAxn0CMf0Aw9UugXHBG','zhjHAw4TywjVCNrLza','ywjVCNrLzerYywLU','DhjHBNnHy3rPB24TzMLUywWUANnVBG','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ChjLDMLVDxnjzgvUDgL0Eq','Aw5ZCgvJDa','BwvTyMvYCW','C3rHDgu','DxbKyxrL','q0foq0vmx0fds19qru5esu5h','C3vZCgvUza','zxzLCNK','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvIDwLSzeLUzgv4','zhjHAw5PBMC','uMvNAxn0CMf0Aw9UugXHBG','zNjVEMvU','su5ervHFuKvcvuLmrf9gquLmruq','y2XVC2vtEw5J','CNvUC0nHBMnLBgXLza','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','CMvJB25Uzwn0lxjLCxvPCMvK','ChjLCgfYzwq','C29Tzq','ChjLCgfYzq','z2vUzxjHDgLVBG','CMvSzwfZzq','BM93','CMvJB3zLCMLUzW','CMvXDwvZDc1ZDg9W','lMfNzw50CW','C3rHDhvZ','v09ss0vsx1nut1bFvu5dt05gsvjnruq','CNvUDgLTzvjVB3q','BgvUz3rO','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','ChjLDMLVDxndB25Uzwn0Aw9UCW','su5ervHFt1vuq09nrv9vtKTot1Do','q0foreLeqvrfx05pvf9srufewq','ywnRBM93BgvKz2vK','B3jPz2LUywW','CMvHBhbHDgHtEw5J','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','Bwf4','DMvYC2LVBG','BwLU','BM9KztPJAgLSzf9WCM9JzxnZ','y29TBwL0lwnHBMrPzgf0zq','C3rVCc1JB25MAxjTzwq','q0foreLeqvrfx1bsruzmsuDivf9nsvnnqvrdsa','CgLWzq','D2fPDfnLy29Uzhm','CMvJB3zLCNK','y2fUy2vSBgvK','y2f0ywXVz0HHC2G','uKvtt1vsq0vFuefusf9fu0nbueu','nJiZotK1EhfTwene','DgfYz2v0vMvYC2LVBG','CMvZB3vYy2vqBgfU','ChjLzMXPz2H0'];_0x2d70=function(){return _0x42071e;};return _0x2d70();}(function(_0xf0863a,_0x4c1995){const _0x6e1758=_0x10e0,_0x531795=_0xf0863a();while(!![]){try{const _0x1519e6=-parseInt(_0x6e1758(0x286))/0x1+parseInt(_0x6e1758(0x27c))/0x2+parseInt(_0x6e1758(0x24a))/0x3+parseInt(_0x6e1758(0x2a9))/0x4+-parseInt(_0x6e1758(0x235))/0x5+-parseInt(_0x6e1758(0x281))/0x6*(-parseInt(_0x6e1758(0x25f))/0x7)+parseInt(_0x6e1758(0x2a1))/0x8*(-parseInt(_0x6e1758(0x27a))/0x9);if(_0x1519e6===_0x4c1995)break;else _0x531795['push'](_0x531795['shift']());}catch(_0x36f22c){_0x531795['push'](_0x531795['shift']());}}}(_0x2d70,0x30635));const fs=require('node:fs'),path=require(_0x2e3be5(0x1eb)),crypto=require('node:crypto'),{acquireRuntimeLock}=require(_0x2e3be5(0x253)),{ResourceTransaction}=require(_0x2e3be5(0x1ee)),{readFence,changeFence,freezeFence}=require(_0x2e3be5(0x209)),{readGeneration,projectGeneration,registerMember,recordCandidate,commitWorkspaceGeneration,openCommittedGeneration}=require(_0x2e3be5(0x2be)),{verifyRelease}=require('./runtime-store'),{preflightWorkspaceContracts}=require(_0x2e3be5(0x227)),{preflightCandidate}=require('./candidate-preflight'),connections=require('./connection-activation'),{readControl}=require('../core/update-control'),{workspaceOwnership}=require(_0x2e3be5(0x287)),{snapshotUpgradeRuns,cancelUpgradeRuns}=require(_0x2e3be5(0x2bf)),hashFile=_0x2bc452=>{const _0x4d888f=_0x2e3be5;try{return crypto['createHash']('sha256')[_0x4d888f(0x205)](fs[_0x4d888f(0x23c)](_0x2bc452))[_0x4d888f(0x2a0)]('hex');}catch(_0x2cf371){if(_0x2cf371[_0x4d888f(0x1f8)]===_0x4d888f(0x296))return null;throw _0x2cf371;}},fail=_0x1e0548=>{const _0x3c1a47=_0x2e3be5;throw Object[_0x3c1a47(0x2b9)](new Error(_0x1e0548),{'code':_0x1e0548});},sameRegistrationWorkspace=(_0x109db1,_0x2de7d6)=>require('../core/workspace-path')[_0x2e3be5(0x2af)](_0x109db1,_0x2de7d6);function writeJournal(_0x319830,_0x263440){const _0x195050=_0x2e3be5,_0x19ae95=_0x319830+'.'+crypto[_0x195050(0x1f2)]()+_0x195050(0x23e),_0x2a7ea1=fs['openSync'](_0x19ae95,'wx',0x180);try{fs[_0x195050(0x1f4)](_0x2a7ea1,JSON['stringify'](_0x263440)),fs['fsyncSync'](_0x2a7ea1);}finally{fs[_0x195050(0x20f)](_0x2a7ea1);}fs[_0x195050(0x269)](_0x19ae95,_0x319830);}async function activatePreparedWorkspace(_0x135f48){const _0xa5af87=_0x2e3be5,_0x30508a=fs[_0xa5af87(0x226)](_0x135f48[_0xa5af87(0x270)]),_0x384651=require('../core/run-compatibility')[_0xa5af87(0x29d)](_0x30508a),_0x2a6604=_0x135f48[_0xa5af87(0x237)]instanceof ResourceTransaction?_0x135f48[_0xa5af87(0x237)]:new ResourceTransaction(_0x135f48[_0xa5af87(0x237)]);if(fs['realpathSync'](_0x2a6604[_0xa5af87(0x2ae)]['workspace'])!==_0x30508a)fail(_0xa5af87(0x234));const _0x5845ea=_0x2a6604[_0xa5af87(0x2ae)]['transactionId'],_0x2f3366=path['join'](_0x30508a,_0xa5af87(0x21b),_0xa5af87(0x1ef)),_0x3085cc=acquireRuntimeLock(path[_0xa5af87(0x294)](_0x2f3366,'update.lock')),_0x5a41ee={};_0x5a41ee[_0xa5af87(0x1f8)]=_0xa5af87(0x298);const _0x121954={};_0x121954[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x121954[_0xa5af87(0x2bb)]=_0x5845ea,_0x121954['blockers']=[_0x5a41ee];if(!_0x3085cc)return _0x121954;const _0x147db3=path[_0xa5af87(0x294)](_0x2f3366,_0xa5af87(0x220)),_0x5bfd87=_0x135f48['connections']||connections;let _0x5e620d;try{_0x5e620d=JSON[_0xa5af87(0x2c0)](fs[_0xa5af87(0x23c)](_0x147db3,'utf8'));}catch(_0x3c0561){if(_0x3c0561[_0xa5af87(0x1f8)]!==_0xa5af87(0x296)){_0x3085cc();throw _0x3c0561;}}if(_0x5e620d&&_0x5e620d[_0xa5af87(0x2bb)]!==_0x5845ea){if(![_0xa5af87(0x26b),'ready-next-connection','rolled-back',_0xa5af87(0x232),'superseded']['includes'](_0x5e620d['status'])){_0x3085cc();const _0x3a7d32={};_0x3a7d32[_0xa5af87(0x1f8)]=_0xa5af87(0x298);const _0x3deff7={};return _0x3deff7[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x3deff7[_0xa5af87(0x2bb)]=_0x5e620d[_0xa5af87(0x2bb)],_0x3deff7['blockers']=[_0x3a7d32],_0x3deff7;}const _0x189885=path['join'](_0x2f3366,_0xa5af87(0x1f6),_0x5e620d[_0xa5af87(0x2bb)],_0xa5af87(0x1fe));(!/^[a-zA-Z0-9_-]{1,80}$/['test'](_0x5e620d[_0xa5af87(0x2bb)])||!fs[_0xa5af87(0x274)](path[_0xa5af87(0x256)](_0x189885))||!require(_0xa5af87(0x2a3))[_0xa5af87(0x290)](_0x30508a,fs[_0xa5af87(0x226)](path[_0xa5af87(0x256)](_0x189885))))&&(_0x3085cc(),fail('UPDATE_HISTORY_UNVERIFIED'));try{writeJournal(_0x189885,_0x5e620d);}catch(_0x32df9f){_0x3085cc();throw _0x32df9f;}_0x5e620d=null;}const _0x51fd96=(_0x483cf1,_0x25950f={})=>{const _0x32267b=_0xa5af87,_0x3a87f8={};_0x3a87f8[_0x32267b(0x21c)]='not-required',_0x3a87f8[_0x32267b(0x251)]=[];const _0x2d113d={};_0x2d113d[_0x32267b(0x21c)]=_0x32267b(0x2b2),_0x2d113d[_0x32267b(0x25e)]=[],_0x5e620d={..._0x5e620d,'transactionId':_0x5845ea,'workspace':_0x30508a,'runtimeRoot':_0x135f48[_0x32267b(0x21e)],'release':_0x135f48[_0x32267b(0x217)],'publicKey':_0x135f48[_0x32267b(0x259)]?.[_0x32267b(0x2b8)](),'resourcePlan':_0x2a6604[_0x32267b(0x1ec)],'registrationPlan':_0x135f48['registrationPlan']?.['directory']||_0x135f48[_0x32267b(0x1fb)]||_0x5e620d?.['registrationPlan']||null,'registrationMigration':_0x135f48[_0x32267b(0x26f)]||_0x5e620d?.['registrationMigration']||_0x3a87f8,'addons':_0x135f48['addons']||_0x5e620d?.[_0x32267b(0x2c1)]||_0x2d113d,'rebuildIndex':_0x5e620d?.[_0x32267b(0x20a)]===!![]||_0x135f48['rebuildIndex']===!![],'status':_0x483cf1,'changedAt':new Date()[_0x32267b(0x23a)](),..._0x25950f},writeJournal(_0x147db3,_0x5e620d);};let _0x3e91e5=readGeneration(_0x30508a)?.[_0xa5af87(0x2bb)]===_0x5845ea;const _0x5038c6=_0x135f48['registrationPlan']?.['directory']||_0x135f48[_0xa5af87(0x1fb)]||_0x5e620d?.['registrationPlan'];let _0x3eb786;try{_0x3eb786=_0x5038c6?new(require('./registration-plan'))[(_0xa5af87(0x20c))](_0x5038c6):null;}catch(_0x23f5e2){_0x3085cc();throw _0x23f5e2;}_0x3eb786&&(!sameRegistrationWorkspace(_0x3eb786[_0xa5af87(0x2ae)][_0xa5af87(0x270)],_0x30508a)||_0x3eb786[_0xa5af87(0x2ae)][_0xa5af87(0x2bb)]!==_0x5845ea)&&(_0x3085cc(),fail(_0xa5af87(0x2bc)));let _0x97f9b8=readFence(_0x30508a),_0x5e9132=[];const _0x3ae731=()=>readControl(_0x30508a,_0x5845ea)?.[_0xa5af87(0x1fa)],_0x2db0b4=async _0x4a7c69=>{const _0x4d9413=_0xa5af87;_0x3eb786?.[_0x4d9413(0x28a)](),_0x2a6604[_0x4d9413(0x28a)](),_0x5e9132=_0x5bfd87[_0x4d9413(0x211)](_0x30508a);for(const _0x16f3ec of _0x5e620d[_0x4d9413(0x221)]||[])if(!_0x5e9132[_0x4d9413(0x214)](_0x4efb69=>_0x4efb69['connectionId']===_0x16f3ec[_0x4d9413(0x278)]))fail(_0x4d9413(0x2b7));for(const _0x20ef0e of _0x5e9132){const _0x3de906={};_0x3de906['transactionId']=_0x5845ea,_0x3de906[_0x4d9413(0x1e9)]=_0x97f9b8[_0x4d9413(0x1e9)];const _0x533bc2=await _0x5bfd87[_0x4d9413(0x27e)](_0x20ef0e,'restore-previous',_0x3de906);if(_0x533bc2['evidence']!==_0x4d9413(0x2b3)||_0x533bc2[_0x4d9413(0x21c)]!=='previous-restored')fail(_0x533bc2[_0x4d9413(0x1f8)]||_0x4d9413(0x2b7));const _0x5ce1be=_0x5e620d['previousConnections']?.[_0x4d9413(0x28d)](_0x5b39bc=>_0x5b39bc[_0x4d9413(0x278)]===_0x20ef0e[_0x4d9413(0x278)]),_0x18d3f1=_0x5ce1be?[_0x4d9413(0x278),_0x4d9413(0x229),_0x4d9413(0x2a0),_0x4d9413(0x216),_0x4d9413(0x291),_0x4d9413(0x233)][_0x4d9413(0x2b0)](_0x18fae3=>_0x533bc2[_0x18fae3]!==_0x5ce1be[_0x18fae3]):[_0x4d9413(0x201)];if(_0x533bc2[_0x4d9413(0x2ba)]!==!![])_0x18d3f1[_0x4d9413(0x243)](_0x4d9413(0x2ba));if(!Number[_0x4d9413(0x282)](_0x533bc2[_0x4d9413(0x258)])||_0x533bc2['childPid']<=0x0)_0x18d3f1[_0x4d9413(0x243)]('childPid');if(!sameRegistrationWorkspace(_0x533bc2['workspace']||'',_0x30508a))_0x18d3f1[_0x4d9413(0x243)]('workspace');if(_0x18d3f1[_0x4d9413(0x21f)])throw Object[_0x4d9413(0x2b9)](new Error(_0x4d9413(0x2a6)),{'code':_0x4d9413(0x2b7),'mismatchFields':_0x18d3f1});}const _0x3d7810={};_0x3d7810[_0x4d9413(0x204)]=_0x4d9413(0x293),_0x3d7810[_0x4d9413(0x2bb)]=_0x5845ea,_0x97f9b8=changeFence(_0x30508a,_0x97f9b8[_0x4d9413(0x1e9)],_0x3d7810);for(const _0x4971c9 of _0x5e9132){const _0x2c1833={};_0x2c1833['transactionId']=_0x5845ea;const _0x598889=await _0x5bfd87[_0x4d9413(0x27e)](_0x4971c9,_0x4d9413(0x24b),_0x2c1833);if(_0x598889[_0x4d9413(0x268)]!==_0x4d9413(0x2b3)||![_0x4d9413(0x26b),_0x4d9413(0x200)][_0x4d9413(0x248)](_0x598889[_0x4d9413(0x21c)]))fail('RESOURCE_ROLLBACK_UNCONFIRMED');}const _0x2a059f=_0x3ae731()===_0x4d9413(0x24c)||_0x4a7c69[_0x4d9413(0x214)](_0x2491c8=>_0x2491c8[_0x4d9413(0x1f8)]==='UPDATE_CANCELLED'),_0x3497da={};_0x3497da[_0x4d9413(0x251)]=_0x4a7c69,_0x3497da[_0x4d9413(0x231)]=_0x4d9413(0x288),_0x51fd96(_0x2a059f?'cancelled':_0x4d9413(0x288),_0x3497da);const _0x2222a5={};return _0x2222a5[_0x4d9413(0x21c)]=_0x2a059f?_0x4d9413(0x232):_0x4d9413(0x23d),_0x2222a5[_0x4d9413(0x2bb)]=_0x5845ea,_0x2222a5['recovery']='rolled-back',_0x2222a5[_0x4d9413(0x251)]=_0x4a7c69,_0x2222a5;},_0x4b019c=async(_0x350e73=![])=>{const _0x3e8c3b=_0xa5af87,_0x2f92b4=new Set();for(const _0x344477 of _0x5bfd87[_0x3e8c3b(0x211)](_0x30508a)){const _0x2e5b41={};_0x2e5b41[_0x3e8c3b(0x2bb)]=_0x5845ea,_0x2e5b41[_0x3e8c3b(0x1e9)]=_0x97f9b8['epoch'];const _0x4ebd37=await _0x5bfd87[_0x3e8c3b(0x27e)](_0x344477,_0x3e8c3b(0x24b),_0x2e5b41),_0x57c9ce={};_0x57c9ce[_0x3e8c3b(0x1f8)]=_0x3e8c3b(0x206),_0x57c9ce[_0x3e8c3b(0x278)]=_0x344477['connectionId'];const _0x55ebc7={};_0x55ebc7[_0x3e8c3b(0x21c)]=_0x3e8c3b(0x29a),_0x55ebc7[_0x3e8c3b(0x2bb)]=_0x5845ea,_0x55ebc7['blockers']=[_0x57c9ce];if(_0x4ebd37[_0x3e8c3b(0x268)]!==_0x3e8c3b(0x2b3)||![_0x3e8c3b(0x26b),_0x3e8c3b(0x200)]['includes'](_0x4ebd37[_0x3e8c3b(0x21c)]))return _0x55ebc7;_0x2f92b4[_0x3e8c3b(0x245)](_0x344477[_0x3e8c3b(0x278)]);}const _0x3612b6=require(_0x3e8c3b(0x209));_0x3612b6[_0x3e8c3b(0x28c)](_0x30508a,_0x5faa1f=>{const _0x4ebd15=_0x3e8c3b;if(_0x5faa1f[_0x4ebd15(0x1e9)]!==_0x97f9b8[_0x4ebd15(0x1e9)]||_0x5faa1f['state']!==_0x4ebd15(0x20b)||_0x5faa1f[_0x4ebd15(0x2bb)]!==_0x5845ea)fail(_0x4ebd15(0x266));if(Object[_0x4ebd15(0x263)](_0x5faa1f[_0x4ebd15(0x203)]||{})[_0x4ebd15(0x214)](_0x149190=>_0x149190['state']!==_0x4ebd15(0x24e)&&!_0x2f92b4['has'](_0x149190['connectionId'])))fail(_0x4ebd15(0x206));const _0x875fe3={};_0x875fe3[_0x4ebd15(0x2bb)]=_0x5845ea,_0x875fe3[_0x4ebd15(0x289)]=_0x5e620d[_0x4ebd15(0x289)],_0x875fe3[_0x4ebd15(0x224)]=[..._0x2f92b4];const _0x576959={};_0x576959[_0x4ebd15(0x1fd)]=_0x875fe3;const _0x3bad6d={..._0x5faa1f,'state':'open','epoch':_0x5faa1f[_0x4ebd15(0x1e9)]+0x1,'stopRequested':![],'targetVersion':null,'targetDigest':null,..._0x350e73?_0x576959:{}};_0x3612b6[_0x4ebd15(0x2b6)](_0x30508a,_0x3bad6d);});const _0x4838cc={};_0x4838cc[_0x3e8c3b(0x231)]=_0x3e8c3b(0x1fc),_0x51fd96('cancelled',_0x350e73?_0x4838cc:{});const _0x21cb25={};_0x21cb25[_0x3e8c3b(0x231)]=_0x3e8c3b(0x1fc);const _0x17c4d3={'status':_0x3e8c3b(0x232),'transactionId':_0x5845ea,'resourcesApplied':![],..._0x350e73?_0x21cb25:{}};return _0x17c4d3;};try{const _0x5670ba={};_0x5670ba[_0xa5af87(0x1f8)]=_0xa5af87(0x277);const _0x28d72c={};_0x28d72c[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x28d72c['transactionId']=_0x5845ea,_0x28d72c[_0xa5af87(0x251)]=[_0x5670ba];if(_0x5e620d?.[_0xa5af87(0x247)]||_0x5e620d?.[_0xa5af87(0x232)])return _0x28d72c;const _0x13aeea=verifyRelease(_0x135f48[_0xa5af87(0x217)],_0x135f48['publicKey']),_0x448ea2={};_0x448ea2[_0xa5af87(0x229)]=_0x13aeea[_0xa5af87(0x229)],_0x448ea2['digest']=_0x13aeea[_0xa5af87(0x2a0)];const _0x26cb29=_0x448ea2;if(_0x5e620d?.[_0xa5af87(0x241)]&&(_0x5e620d[_0xa5af87(0x241)][_0xa5af87(0x229)]!==_0x26cb29['version']||_0x5e620d[_0xa5af87(0x241)]['digest']!==_0x26cb29[_0xa5af87(0x2a0)]))fail(_0xa5af87(0x25d));const _0x4450d7=require(_0xa5af87(0x1ee))[_0xa5af87(0x289)](_0x2a6604['plan']);if(_0x5e620d?.[_0xa5af87(0x289)]&&_0x5e620d[_0xa5af87(0x289)]!==_0x4450d7)fail('UPDATE_PLAN_CHANGED');if(_0x5e620d&&!_0x5e620d['resourceContractDigest']){if(!_0x5e620d['preparedPlanDigest']||_0x5e620d[_0xa5af87(0x1f3)]!==hashFile(_0x2a6604['file']))fail(_0xa5af87(0x1f9));const _0x54bd0f={};_0x54bd0f['resourceContractDigest']=_0x4450d7,_0x51fd96(_0x5e620d[_0xa5af87(0x21c)],_0x54bd0f);}const _0x27adfb={};_0x27adfb[_0xa5af87(0x241)]=_0x26cb29,_0x27adfb['resourceContractDigest']=_0x4450d7;if(!_0x5e620d)_0x51fd96(_0xa5af87(0x295),_0x27adfb);if(!_0x3e91e5&&_0x97f9b8[_0xa5af87(0x204)]===_0xa5af87(0x293)&&_0x3ae731()==='cancel'){if(_0x5e620d?.[_0xa5af87(0x2bb)]!==_0x5845ea||_0x5e620d[_0xa5af87(0x23b)]||_0x5e620d[_0xa5af87(0x210)]||_0x5e620d[_0xa5af87(0x242)]||_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x21c)]!==_0xa5af87(0x213)||_0x2a6604[_0xa5af87(0x202)]()[_0xa5af87(0x214)](_0x2ac7c4=>_0x2ac7c4[_0xa5af87(0x25c)]!==_0xa5af87(0x225)||_0x2ac7c4['status']!==_0xa5af87(0x213)))fail(_0xa5af87(0x27b));if(_0x3eb786&&(_0x3eb786['plan']['status']!==_0xa5af87(0x213)||_0x3eb786[_0xa5af87(0x2ae)]['operations'][_0xa5af87(0x214)](_0x104783=>_0x104783[_0xa5af87(0x21c)]!==_0xa5af87(0x213)||hashFile(_0x104783['configPath'])!==_0x104783['oldHash'])))fail(_0xa5af87(0x239));_0x3eb786?.[_0xa5af87(0x28a)](),_0x2a6604['rollback'](),_0x51fd96(_0xa5af87(0x232),{'cancelled':!![],'cancellation':{'reason':_0xa5af87(0x2b5),'cancelledAt':new Date()['toISOString']()}});const _0x3be1c9={};return _0x3be1c9[_0xa5af87(0x21c)]=_0xa5af87(0x232),_0x3be1c9[_0xa5af87(0x2bb)]=_0x5845ea,_0x3be1c9[_0xa5af87(0x23b)]=![],_0x3be1c9;}if(!_0x3e91e5&&_0x5e620d?.[_0xa5af87(0x231)]===_0xa5af87(0x267)){const _0x4544a5={};_0x4544a5[_0xa5af87(0x1f8)]=_0xa5af87(0x277);const _0x4055bf={};_0x4055bf[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x4055bf['transactionId']=_0x5845ea,_0x4055bf['blockers']=[_0x4544a5];if(_0x3ae731()==='suspend')return _0x4055bf;const _0x179556=_0x97f9b8[_0xa5af87(0x204)]===_0xa5af87(0x293)&&_0x97f9b8['abortedDrain']?.[_0xa5af87(0x2bb)]===_0x5845ea&&_0x97f9b8[_0xa5af87(0x1fd)][_0xa5af87(0x289)]===_0x4450d7;if(!_0x179556&&_0x97f9b8[_0xa5af87(0x204)]!=='draining'||_0x97f9b8[_0xa5af87(0x2bb)]!==_0x5845ea||_0x5e620d[_0xa5af87(0x210)]||_0x5e620d[_0xa5af87(0x242)]||_0x5e620d[_0xa5af87(0x23b)]||_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x21c)]!==_0xa5af87(0x213)||_0x2a6604[_0xa5af87(0x202)]()[_0xa5af87(0x214)](_0x493d11=>_0x493d11[_0xa5af87(0x25c)]!==_0xa5af87(0x225)||_0x493d11[_0xa5af87(0x21c)]!==_0xa5af87(0x213)))fail(_0xa5af87(0x27b));if(_0x3eb786&&(_0x3eb786['plan'][_0xa5af87(0x21c)]!==_0xa5af87(0x213)||_0x3eb786['plan']['operations']['some'](_0x2488a6=>_0x2488a6[_0xa5af87(0x21c)]!=='prepared'||hashFile(_0x2488a6['configPath'])!==_0x2488a6[_0xa5af87(0x250)])))fail(_0xa5af87(0x239));if(_0x179556){const _0x623050={};_0x623050[_0xa5af87(0x231)]='drain-aborted',_0x51fd96(_0xa5af87(0x232),_0x623050);const _0x433078={};return _0x433078['status']='cancelled',_0x433078[_0xa5af87(0x2bb)]=_0x5845ea,_0x433078[_0xa5af87(0x23b)]=![],_0x433078['recovery']=_0xa5af87(0x1fc),_0x433078;}return await _0x4b019c(!![]);}if(!_0x3e91e5&&_0x5e620d?.[_0xa5af87(0x231)]===_0xa5af87(0x28a)){const _0x52b058={};_0x52b058[_0xa5af87(0x1f8)]=_0xa5af87(0x277);const _0x2250d0={};_0x2250d0[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x2250d0[_0xa5af87(0x2bb)]=_0x5845ea,_0x2250d0[_0xa5af87(0x251)]=[_0x52b058];if(_0x3ae731()===_0xa5af87(0x207))return _0x2250d0;return await _0x2db0b4(_0x5e620d[_0xa5af87(0x251)]||[]);}const _0xcb36e5=readGeneration(_0x30508a);if(!_0x3e91e5&&_0x97f9b8['state']===_0xa5af87(0x293)&&_0xcb36e5?.['version']===_0x26cb29[_0xa5af87(0x229)]&&_0xcb36e5[_0xa5af87(0x2a0)]===_0x26cb29['digest']&&_0xcb36e5[_0xa5af87(0x291)]===hashFile(path[_0xa5af87(0x294)](_0x30508a,_0xa5af87(0x21b),_0xa5af87(0x26e)))&&_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x26c)][_0xa5af87(0x21f)]===0x0&&!_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x299)]['length']&&!_0x3eb786?.[_0xa5af87(0x2ae)][_0xa5af87(0x26c)][_0xa5af87(0x214)](_0x51d18e=>_0x51d18e[_0xa5af87(0x250)]!==_0x51d18e[_0xa5af87(0x1f1)])&&!_0x135f48['rebuildIndex']){const _0x383cae=await _0x5bfd87[_0xa5af87(0x246)](_0x30508a,_0xcb36e5);if(!['active',_0xa5af87(0x200)][_0xa5af87(0x248)](_0x383cae[_0xa5af87(0x21c)]))return{..._0x383cae,'transactionId':_0x5845ea,'target':_0x26cb29,'noOp':!![],'cancelledRuns':[]};projectGeneration(_0x135f48[_0xa5af87(0x21e)],_0x30508a,_0xcb36e5),_0x51fd96(_0x383cae[_0xa5af87(0x21c)],{'target':_0x26cb29,'generation':_0xcb36e5[_0xa5af87(0x216)],'noOp':!![],'cancelledRuns':[],'activationEvidence':_0x383cae['status']===_0xa5af87(0x26b)?_0xa5af87(0x2b3):null});const _0x418b4a={};_0x418b4a[_0xa5af87(0x21c)]=_0xa5af87(0x2b2);const _0x17c4a3={..._0x383cae};return _0x17c4a3['transactionId']=_0x5845ea,_0x17c4a3[_0xa5af87(0x241)]=_0x26cb29,_0x17c4a3['generation']=_0xcb36e5[_0xa5af87(0x216)],_0x17c4a3['noOp']=!![],_0x17c4a3[_0xa5af87(0x23b)]=![],_0x17c4a3['cancelledRuns']=[],_0x17c4a3[_0xa5af87(0x280)]=_0x418b4a,_0x17c4a3;}if(_0x3e91e5&&_0x97f9b8[_0xa5af87(0x204)]===_0xa5af87(0x293)){if(_0xcb36e5[_0xa5af87(0x229)]!==_0x26cb29[_0xa5af87(0x229)]||_0xcb36e5['digest']!==_0x26cb29['digest']||hashFile(path[_0xa5af87(0x294)](_0x30508a,'.agents',_0xa5af87(0x26e)))!==_0xcb36e5[_0xa5af87(0x291)])fail(_0xa5af87(0x1ff));const _0x24fda5=_0x5bfd87[_0xa5af87(0x211)](_0x30508a),_0x5ce764=Object[_0xa5af87(0x263)](_0x97f9b8[_0xa5af87(0x203)]||{})[_0xa5af87(0x2b0)](_0x2c29ed=>_0x2c29ed['state']!==_0xa5af87(0x24e));for(const _0x200542 of _0x5ce764)if(!_0x24fda5[_0xa5af87(0x214)](_0x3a7731=>_0x3a7731[_0xa5af87(0x278)]===_0x200542[_0xa5af87(0x278)]))fail(_0xa5af87(0x279));for(const _0x1cbe63 of _0x24fda5){const _0xfed8df=await _0x5bfd87['probeConnection'](_0x1cbe63);if(_0xfed8df[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0xfed8df[_0xa5af87(0x2ba)]!==!![]||[_0xa5af87(0x229),_0xa5af87(0x2a0),'resourceDigest',_0xa5af87(0x216)][_0xa5af87(0x214)](_0x178e5b=>_0xfed8df[_0x178e5b]!==_0xcb36e5[_0x178e5b]))fail('GENERATION_ACK_PENDING');}projectGeneration(_0x135f48[_0xa5af87(0x21e)],_0x30508a,_0xcb36e5);if(_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x21c)]!==_0xa5af87(0x2ad))_0x2a6604[_0xa5af87(0x27d)](_0xcb36e5[_0xa5af87(0x216)]);_0x3eb786?.[_0xa5af87(0x27d)]();const _0x5f43fe=_0x24fda5[_0xa5af87(0x21f)]?'active':_0xa5af87(0x200),_0x2a23b6={};_0x2a23b6['generation']=_0xcb36e5[_0xa5af87(0x216)],_0x2a23b6[_0xa5af87(0x291)]=_0xcb36e5[_0xa5af87(0x291)],_0x2a23b6['activationEvidence']=_0x24fda5[_0xa5af87(0x21f)]?_0xa5af87(0x2b3):null,_0x51fd96(_0x5f43fe,_0x2a23b6);const _0x4b0443={};_0x4b0443[_0xa5af87(0x21c)]='not-requested';const _0x31282e={};return _0x31282e[_0xa5af87(0x21c)]=_0x5f43fe,_0x31282e[_0xa5af87(0x2bb)]=_0x5845ea,_0x31282e[_0xa5af87(0x241)]=_0x26cb29,_0x31282e['generation']=_0xcb36e5['generation'],_0x31282e[_0xa5af87(0x291)]=_0xcb36e5[_0xa5af87(0x291)],_0x31282e[_0xa5af87(0x23b)]=!![],_0x31282e['cancelledRuns']=_0x5e620d[_0xa5af87(0x29f)]||[],_0x31282e['indexResult']=_0x5e620d['indexResult']||_0x4b0443,_0x31282e;}if(_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x299)][_0xa5af87(0x214)](_0x216d2f=>_0x216d2f[_0xa5af87(0x2bd)])){const _0x3ab7eb={};_0x3ab7eb[_0xa5af87(0x241)]=_0x26cb29,_0x3ab7eb[_0xa5af87(0x251)]=_0x2a6604[_0xa5af87(0x2ae)][_0xa5af87(0x299)],_0x51fd96(_0xa5af87(0x1f0),_0x3ab7eb);const _0x415457={};return _0x415457[_0xa5af87(0x21c)]='blocked-project-sync',_0x415457[_0xa5af87(0x2bb)]=_0x5845ea,_0x415457[_0xa5af87(0x251)]=_0x2a6604[_0xa5af87(0x2ae)]['conflicts'],_0x415457;}if(_0x97f9b8[_0xa5af87(0x204)]===_0xa5af87(0x293)){const _0x52811e={};_0x52811e[_0xa5af87(0x264)]=_0xa5af87(0x240);const _0x4e6dd4=preflightWorkspaceContracts(_0x30508a,_0x52811e);if(_0x4e6dd4['status']!==_0xa5af87(0x297)){const _0xc3bc41={};_0xc3bc41[_0xa5af87(0x251)]=_0x4e6dd4['blockers'],_0x51fd96('legacy-ownership-unverified',_0xc3bc41);const _0x235f40={};return _0x235f40['status']=_0xa5af87(0x2aa),_0x235f40[_0xa5af87(0x2bb)]=_0x5845ea,_0x235f40[_0xa5af87(0x251)]=_0x4e6dd4[_0xa5af87(0x251)],_0x235f40;}const _0x13f196=await(_0x135f48[_0xa5af87(0x238)]||preflightCandidate)({'release':_0x135f48[_0xa5af87(0x217)],'runtimeRoot':_0x135f48[_0xa5af87(0x21e)],'publicKey':_0x135f48['publicKey']});if(_0x13f196[_0xa5af87(0x21c)]!==_0xa5af87(0x26d)||_0x13f196[_0xa5af87(0x229)]!==_0x26cb29[_0xa5af87(0x229)]||_0x13f196[_0xa5af87(0x2a0)]!==_0x26cb29[_0xa5af87(0x2a0)])fail(_0xa5af87(0x22e));const _0x12f298=[];if(_0x5bfd87[_0xa5af87(0x25a)]){const _0x3e0de5={};_0x3e0de5[_0xa5af87(0x284)]=!![];const _0x1c2722=await _0x5bfd87[_0xa5af87(0x25a)](_0x30508a,_0x3e0de5);if(_0x1c2722[_0xa5af87(0x251)]['length']){const _0x533c2c={};_0x533c2c[_0xa5af87(0x251)]=_0x1c2722[_0xa5af87(0x251)],_0x533c2c[_0xa5af87(0x244)]=_0x1c2722[_0xa5af87(0x252)],_0x51fd96('legacy-ownership-unverified',_0x533c2c);const _0xb91b29={};return _0xb91b29[_0xa5af87(0x21c)]=_0xa5af87(0x2aa),_0xb91b29[_0xa5af87(0x2bb)]=_0x5845ea,_0xb91b29[_0xa5af87(0x251)]=_0x1c2722['blockers'],_0xb91b29[_0xa5af87(0x244)]=_0x1c2722[_0xa5af87(0x252)],_0xb91b29;}}for(const _0x1a4dcc of _0x5bfd87[_0xa5af87(0x211)](_0x30508a)){const _0x262453=await _0x5bfd87[_0xa5af87(0x1f7)](_0x1a4dcc);if(_0x262453[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0x262453['serving']!==!![]||_0x1a4dcc[_0xa5af87(0x29c)]!==0x2){const _0x39a3cd={};_0x39a3cd[_0xa5af87(0x1f8)]=_0xa5af87(0x279),_0x39a3cd['connectionId']=_0x1a4dcc['connectionId'];const _0x2a4856=[_0x39a3cd],_0x12f37b={};_0x12f37b[_0xa5af87(0x251)]=_0x2a4856,_0x51fd96(_0xa5af87(0x2aa),_0x12f37b);const _0x1768f1={};return _0x1768f1[_0xa5af87(0x21c)]=_0xa5af87(0x2aa),_0x1768f1[_0xa5af87(0x2bb)]=_0x5845ea,_0x1768f1[_0xa5af87(0x251)]=_0x2a4856,_0x1768f1;}if(!_0x262453['catalogHash']||_0x262453[_0xa5af87(0x233)]!==_0x13f196[_0xa5af87(0x233)]){const _0x585557={};_0x585557[_0xa5af87(0x1f8)]='TOOL_CATALOG_CHANGED',_0x585557[_0xa5af87(0x278)]=_0x1a4dcc['connectionId'];const _0x3b83ed=[_0x585557],_0x267d14={};_0x267d14[_0xa5af87(0x251)]=_0x3b83ed,_0x51fd96(_0xa5af87(0x212),_0x267d14);const _0xca9640={};return _0xca9640[_0xa5af87(0x21c)]=_0xa5af87(0x212),_0xca9640[_0xa5af87(0x2bb)]=_0x5845ea,_0xca9640[_0xa5af87(0x251)]=_0x3b83ed,_0xca9640;}const _0x507bff={};_0x507bff[_0xa5af87(0x278)]=_0x1a4dcc[_0xa5af87(0x278)],_0x507bff['supervisorPid']=_0x1a4dcc['supervisorPid'],_0x507bff[_0xa5af87(0x21e)]=_0x1a4dcc[_0xa5af87(0x21e)]||_0x135f48[_0xa5af87(0x21e)],registerMember(_0x30508a,_0x507bff);const _0x4fb33a={};_0x4fb33a['connectionId']=_0x1a4dcc[_0xa5af87(0x278)],_0x4fb33a[_0xa5af87(0x270)]=_0x30508a,_0x4fb33a[_0xa5af87(0x229)]=_0x262453[_0xa5af87(0x229)],_0x4fb33a['digest']=_0x262453[_0xa5af87(0x2a0)],_0x4fb33a[_0xa5af87(0x216)]=_0x262453[_0xa5af87(0x216)],_0x4fb33a[_0xa5af87(0x291)]=_0x262453[_0xa5af87(0x291)]??null,_0x4fb33a['catalogHash']=_0x262453[_0xa5af87(0x233)],_0x12f298[_0xa5af87(0x243)](_0x4fb33a),_0x12f298[_0x12f298[_0xa5af87(0x21f)]-0x1][_0xa5af87(0x26a)]=_0x262453[_0xa5af87(0x26a)]||[];}_0x51fd96('prepared',{'target':_0x26cb29,'previousConnections':_0x12f298,'upgradeRuns':snapshotUpgradeRuns(_0x30508a),'catalogHash':_0x13f196['catalogHash'],'generation':(readGeneration(_0x30508a)?.[_0xa5af87(0x216)]||0x0)+0x1});const _0x5082e1={};_0x5082e1['state']=_0xa5af87(0x20b),_0x5082e1[_0xa5af87(0x255)]=!![],_0x5082e1[_0xa5af87(0x2bb)]=_0x5845ea,_0x5082e1[_0xa5af87(0x236)]=_0x26cb29[_0xa5af87(0x229)],_0x5082e1[_0xa5af87(0x275)]=_0x26cb29[_0xa5af87(0x2a0)],_0x97f9b8=changeFence(_0x30508a,_0x97f9b8[_0xa5af87(0x1e9)],_0x5082e1);}else{if(_0x97f9b8[_0xa5af87(0x2bb)]!==_0x5845ea||_0x97f9b8['targetVersion']!==_0x26cb29['version']||_0x97f9b8[_0xa5af87(0x275)]!==_0x26cb29[_0xa5af87(0x2a0)])fail(_0xa5af87(0x266));}const _0x39fe85=_0x135f48['waitSeconds']===undefined?0x78:Number(_0x135f48[_0xa5af87(0x230)]);if(!Number['isFinite'](_0x39fe85)||_0x39fe85<0x0||_0x39fe85>0xe10)fail(_0xa5af87(0x24f));const _0x1e06da=Date[_0xa5af87(0x218)]()+_0x39fe85*0x3e8;if(_0x97f9b8[_0xa5af87(0x204)]===_0xa5af87(0x20b))for(;;){if(_0x3ae731()===_0xa5af87(0x207)){const _0x418a8c={};_0x418a8c['code']=_0xa5af87(0x277);const _0x4a5599={};_0x4a5599['blockers']=[_0x418a8c],_0x51fd96(_0xa5af87(0x29a),_0x4a5599);const _0x22b2e9={};_0x22b2e9['code']=_0xa5af87(0x277);const _0x2440da={};return _0x2440da[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0x2440da['transactionId']=_0x5845ea,_0x2440da['blockers']=[_0x22b2e9],_0x2440da;}if(_0x3ae731()===_0xa5af87(0x24c))return await _0x4b019c();_0x5e9132=_0x5bfd87['listWorkspaceReceipts'](_0x30508a);const _0x425cf6=[];for(const _0x60774a of _0x5e9132){const _0x113a7c=await _0x5bfd87[_0xa5af87(0x1f7)](_0x60774a);if(!_0x113a7c[_0xa5af87(0x26a)]?.[_0xa5af87(0x248)](_0xa5af87(0x21a)))continue;const _0x41262c={..._0x26cb29};_0x41262c[_0xa5af87(0x2bb)]=_0x5845ea,_0x41262c['epoch']=_0x97f9b8[_0xa5af87(0x1e9)];const _0x28a9dc=await _0x5bfd87['controlConnection'](_0x60774a,_0xa5af87(0x21a),_0x41262c);if(_0x28a9dc[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||![_0xa5af87(0x22d),_0xa5af87(0x29a)][_0xa5af87(0x248)](_0x28a9dc[_0xa5af87(0x21c)]))_0x425cf6[_0xa5af87(0x243)]({'code':_0x28a9dc[_0xa5af87(0x1f8)]||_0xa5af87(0x21d),'connectionId':_0x60774a[_0xa5af87(0x278)]});}const _0x2c4dc6=workspaceOwnership(_0x30508a,readFence(_0x30508a),_0x384651)['map'](_0x2dac7f=>({'code':'OWNERSHIP_IN_FLIGHT','ownership':_0x2dac7f}));_0x2c4dc6[_0xa5af87(0x243)](..._0x425cf6);for(const _0x33335c of _0x5e9132){const _0xaacbd0={..._0x26cb29};_0xaacbd0[_0xa5af87(0x2bb)]=_0x5845ea,_0xaacbd0[_0xa5af87(0x1e9)]=_0x97f9b8[_0xa5af87(0x1e9)];const _0x2103e7=await _0x5bfd87[_0xa5af87(0x27e)](_0x33335c,_0xa5af87(0x215),_0xaacbd0);if(_0x2103e7[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0x2103e7[_0xa5af87(0x21c)]!==_0xa5af87(0x261))_0x2c4dc6[_0xa5af87(0x243)]({'code':_0x2103e7[_0xa5af87(0x1f8)]||_0xa5af87(0x29b),'connectionId':_0x33335c[_0xa5af87(0x278)],'ownership':_0x2103e7[_0xa5af87(0x251)]||[]});}const _0x3102fb=Object[_0xa5af87(0x263)](readFence(_0x30508a)[_0xa5af87(0x203)]||{})['filter'](_0x21535e=>_0x21535e[_0xa5af87(0x204)]!==_0xa5af87(0x24e));for(const _0x5cd6a1 of _0x3102fb)if(!_0x5e9132[_0xa5af87(0x214)](_0x49ae04=>_0x49ae04[_0xa5af87(0x278)]===_0x5cd6a1[_0xa5af87(0x278)]))_0x2c4dc6[_0xa5af87(0x243)]({'code':_0xa5af87(0x279),'connectionId':_0x5cd6a1[_0xa5af87(0x278)]});if(!_0x2c4dc6[_0xa5af87(0x21f)]){const _0x1d22c3=new Set(_0x5e9132[_0xa5af87(0x28b)](_0x1950f4=>_0x1950f4[_0xa5af87(0x278)]));try{_0x97f9b8=freezeFence(_0x30508a,_0x97f9b8[_0xa5af87(0x1e9)],{},_0x2caa7f=>Object[_0xa5af87(0x263)](_0x2caa7f[_0xa5af87(0x203)]||{})[_0xa5af87(0x208)](_0x4e4919=>_0x4e4919[_0xa5af87(0x204)]===_0xa5af87(0x24e)||_0x1d22c3[_0xa5af87(0x1f5)](_0x4e4919[_0xa5af87(0x278)]))&&workspaceOwnership(_0x30508a,_0x2caa7f,_0x384651)[_0xa5af87(0x21f)]===0x0);break;}catch(_0x4b7967){if(_0x4b7967[_0xa5af87(0x1f8)]!=='OWNERSHIP_IN_FLIGHT')throw _0x4b7967;const _0x5c4786={};_0x5c4786[_0xa5af87(0x1f8)]=_0x4b7967[_0xa5af87(0x1f8)],_0x2c4dc6[_0xa5af87(0x243)](_0x5c4786);}}const _0x514a3f={};_0x514a3f[_0xa5af87(0x241)]=_0x26cb29,_0x514a3f[_0xa5af87(0x251)]=_0x2c4dc6,_0x51fd96(_0xa5af87(0x29a),_0x514a3f);const _0xd85582={};_0xd85582[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0xd85582[_0xa5af87(0x2bb)]=_0x5845ea,_0xd85582[_0xa5af87(0x251)]=_0x2c4dc6,_0xd85582[_0xa5af87(0x237)]=_0x2a6604['directory'];if(Date[_0xa5af87(0x218)]()>=_0x1e06da)return _0xd85582;await new Promise(_0x127d43=>setTimeout(_0x127d43,Math[_0xa5af87(0x22a)](0x1f4,Math[_0xa5af87(0x228)](0x1,_0x1e06da-Date['now']()))));}if(_0x97f9b8['state']!==_0xa5af87(0x20d))fail(_0xa5af87(0x266));if(_0x3ae731()==='suspend'){const _0x122e61={};_0x122e61[_0xa5af87(0x1f8)]=_0xa5af87(0x277);const _0xce08ee={};_0xce08ee[_0xa5af87(0x251)]=[_0x122e61],_0x51fd96(_0xa5af87(0x29a),_0xce08ee);const _0x2f8ae9={};_0x2f8ae9[_0xa5af87(0x1f8)]='UPDATE_SUSPENDED';const _0x4464ce={};return _0x4464ce[_0xa5af87(0x21c)]='pending-safe-boundary',_0x4464ce[_0xa5af87(0x2bb)]=_0x5845ea,_0x4464ce['blockers']=[_0x2f8ae9],_0x4464ce;}_0x5e9132=_0x5bfd87[_0xa5af87(0x211)](_0x30508a)[_0xa5af87(0x2b0)](_0x2e189b=>!_0x3e91e5||readGeneration(_0x30508a)[_0xa5af87(0x2b4)]['includes'](_0x2e189b[_0xa5af87(0x278)]));const _0x3c818b={..._0x26cb29};_0x3c818b['transactionId']=_0x5845ea,_0x3c818b[_0xa5af87(0x1e9)]=_0x97f9b8['epoch'],_0x3c818b[_0xa5af87(0x216)]=_0x5e620d[_0xa5af87(0x216)],_0x3c818b[_0xa5af87(0x233)]=_0x5e620d[_0xa5af87(0x233)],_0x3c818b[_0xa5af87(0x217)]=_0x135f48[_0xa5af87(0x217)];const _0x2b0e77=_0x3c818b;if(!_0x3e91e5){if(_0x3ae731()===_0xa5af87(0x24c))fail(_0xa5af87(0x1e7));if(!_0x5e620d['runsCancelled']){const _0x236e8e=[...new Map([..._0x5e620d[_0xa5af87(0x2a8)]||[],...snapshotUpgradeRuns(_0x30508a)][_0xa5af87(0x28b)](_0x1de7c3=>[JSON[_0xa5af87(0x257)]([_0x1de7c3[_0xa5af87(0x2a2)],_0x1de7c3[_0xa5af87(0x23f)],_0x1de7c3[_0xa5af87(0x2ab)]]),_0x1de7c3]))[_0xa5af87(0x263)]()],_0x5b88ea={};_0x5b88ea['upgradeRuns']=_0x236e8e,_0x51fd96(_0xa5af87(0x2b1),_0x5b88ea);const _0x11a9ee={};_0x11a9ee['transactionId']=_0x5845ea,_0x11a9ee[_0xa5af87(0x1e9)]=_0x97f9b8[_0xa5af87(0x1e9)],_0x11a9ee['target']=_0x26cb29,_0x11a9ee[_0xa5af87(0x272)]=_0x236e8e;const {cancelled:_0x327c9f}=cancelUpgradeRuns(_0x30508a,_0x11a9ee),_0x3b93c8={};_0x3b93c8[_0xa5af87(0x210)]=!![],_0x3b93c8['cancelledRuns']=_0x327c9f,_0x51fd96(_0xa5af87(0x262),_0x3b93c8);}if(!_0x5e620d[_0xa5af87(0x242)]){_0x51fd96('stopping');for(const _0x12a344 of _0x5e9132){const _0x457a79=await _0x5bfd87[_0xa5af87(0x27e)](_0x12a344,_0xa5af87(0x1e8),_0x2b0e77),_0x477284=_0x457a79[_0xa5af87(0x21c)]==='candidate-ready'&&_0x457a79[_0xa5af87(0x285)]===!![]&&[_0xa5af87(0x229),_0xa5af87(0x2a0),_0xa5af87(0x216),_0xa5af87(0x233)][_0xa5af87(0x208)](_0x52603a=>_0x457a79[_0x52603a]===_0x2b0e77[_0x52603a])&&_0x457a79[_0xa5af87(0x291)]===hashFile(path[_0xa5af87(0x294)](_0x30508a,'.agents',_0xa5af87(0x26e)));if(_0x457a79['evidence']!==_0xa5af87(0x2b3)||_0x457a79[_0xa5af87(0x21c)]!==_0xa5af87(0x2ac)&&!_0x477284)fail(_0x457a79[_0xa5af87(0x1f8)]||'CHILD_STOP_UNCONFIRMED');}const _0x2c8590={};_0x2c8590['oldRuntimesStopped']=!![],_0x51fd96(_0xa5af87(0x1ea),_0x2c8590);}_0x51fd96('applying'),_0x2a6604[_0xa5af87(0x284)](),_0x3eb786?.[_0xa5af87(0x284)](),_0x2b0e77['resourceDigest']=hashFile(path[_0xa5af87(0x294)](_0x30508a,_0xa5af87(0x21b),_0xa5af87(0x26e)));if(!_0x2b0e77['resourceDigest'])fail(_0xa5af87(0x276));const _0x47b593={};_0x47b593['resourceDigest']=_0x2b0e77['resourceDigest'],_0x51fd96(_0xa5af87(0x28e),_0x47b593);if(_0x5e620d[_0xa5af87(0x20a)]&&_0x5e620d[_0xa5af87(0x280)]?.['status']!==_0xa5af87(0x283)){if(_0x5e620d[_0xa5af87(0x280)]?.[_0xa5af87(0x21c)]==='running')fail('INDEX_OUTCOME_UNKNOWN');const _0x45e279={};_0x45e279[_0xa5af87(0x21c)]=_0xa5af87(0x249);const _0x5e0ccd={};_0x5e0ccd[_0xa5af87(0x280)]=_0x45e279,_0x51fd96(_0xa5af87(0x254),_0x5e0ccd);try{require(_0xa5af87(0x22b))[_0xa5af87(0x28f)](process[_0xa5af87(0x1ed)],[path['join'](_0x135f48[_0xa5af87(0x217)],'src',_0xa5af87(0x25b),_0xa5af87(0x2a7)),_0x30508a],{'cwd':_0x30508a,'windowsHide':!![],'timeout':0x1d4c0,'stdio':_0xa5af87(0x22f)});const _0x131c05={};_0x131c05[_0xa5af87(0x21c)]=_0xa5af87(0x283);const _0x4e7a59={};_0x4e7a59[_0xa5af87(0x280)]=_0x131c05,_0x51fd96('resources-applied',_0x4e7a59);}catch(_0x3a1396){const _0x1b1108={};_0x1b1108[_0xa5af87(0x21c)]='failed',_0x1b1108['code']=_0x3a1396[_0xa5af87(0x1f8)]||_0xa5af87(0x20e);const _0x4b686d={};_0x4b686d[_0xa5af87(0x280)]=_0x1b1108,_0x51fd96(_0xa5af87(0x28e),_0x4b686d),fail(_0xa5af87(0x20e));}}for(const _0x384fd6 of _0x5e9132){const _0x5c18fa=await _0x5bfd87[_0xa5af87(0x27e)](_0x384fd6,_0xa5af87(0x2a4),_0x2b0e77);if(_0x5c18fa[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0x5c18fa['status']!=='candidate-ready')fail(_0x5c18fa[_0xa5af87(0x1f8)]||_0xa5af87(0x223));recordCandidate(_0x30508a,_0x5845ea,_0x97f9b8[_0xa5af87(0x1e9)],_0x5c18fa);}_0x51fd96(_0xa5af87(0x273));if(_0x3ae731()===_0xa5af87(0x24c))fail(_0xa5af87(0x1e7));if(_0x3ae731()===_0xa5af87(0x207)){const _0x38a909={};_0x38a909[_0xa5af87(0x1f8)]=_0xa5af87(0x277);const _0x2c794d={};_0x2c794d[_0xa5af87(0x291)]=_0x2b0e77[_0xa5af87(0x291)],_0x2c794d['blockers']=[_0x38a909],_0x51fd96(_0xa5af87(0x29a),_0x2c794d);const _0x521e3c={};_0x521e3c[_0xa5af87(0x1f8)]='UPDATE_SUSPENDED';const _0x4528c4={};return _0x4528c4[_0xa5af87(0x21c)]='pending-safe-boundary',_0x4528c4[_0xa5af87(0x2bb)]=_0x5845ea,_0x4528c4[_0xa5af87(0x251)]=[_0x521e3c],_0x4528c4;}commitWorkspaceGeneration(_0x30508a,_0x5845ea,_0x97f9b8['epoch'],_0x2b0e77),_0x3e91e5=!![],projectGeneration(_0x135f48[_0xa5af87(0x21e)],_0x30508a,readGeneration(_0x30508a)),_0x2a6604[_0xa5af87(0x27d)](_0x2b0e77[_0xa5af87(0x216)]),_0x3eb786?.[_0xa5af87(0x27d)](),_0x51fd96(_0xa5af87(0x2ad));}else{const _0x2ca445=readGeneration(_0x30508a);_0x2b0e77[_0xa5af87(0x216)]=_0x2ca445['generation'],_0x2b0e77[_0xa5af87(0x291)]=_0x2ca445['resourceDigest'],_0x2b0e77['catalogHash']=_0x2ca445[_0xa5af87(0x233)];if(_0x2a6604[_0xa5af87(0x2ae)]['status']!==_0xa5af87(0x2ad))_0x2a6604['commit'](_0x2b0e77[_0xa5af87(0x216)]);_0x3eb786?.[_0xa5af87(0x284)](),_0x3eb786?.['commit']();const _0x488d3f=readFence(_0x30508a)[_0xa5af87(0x203)]||{};for(const _0x1889cb of _0x2ca445[_0xa5af87(0x2b4)])if(_0x488d3f[_0x1889cb]?.[_0xa5af87(0x204)]!==_0xa5af87(0x24e)&&!_0x5e9132[_0xa5af87(0x214)](_0x4aaa40=>_0x4aaa40['connectionId']===_0x1889cb))fail(_0xa5af87(0x279));for(const _0x2fdf67 of _0x5e9132){const _0x23bb69=await _0x5bfd87[_0xa5af87(0x27e)](_0x2fdf67,'prepare-candidate',_0x2b0e77);if(_0x23bb69[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0x23bb69[_0xa5af87(0x21c)]!==_0xa5af87(0x292))fail(_0x23bb69[_0xa5af87(0x1f8)]||'CANDIDATE_NOT_READY');recordCandidate(_0x30508a,_0x5845ea,_0x97f9b8[_0xa5af87(0x1e9)],_0x23bb69);}}for(const _0x4546d1 of _0x5e9132){const _0x28b7fc=await _0x5bfd87[_0xa5af87(0x27e)](_0x4546d1,_0xa5af87(0x22c),_0x2b0e77);if(_0x28b7fc[_0xa5af87(0x268)]!==_0xa5af87(0x2b3)||_0x28b7fc[_0xa5af87(0x21c)]!==_0xa5af87(0x26b))fail(_0x28b7fc[_0xa5af87(0x1f8)]||_0xa5af87(0x271));}openCommittedGeneration(_0x30508a,_0x5845ea);const _0x1baf52=_0x5e9132[_0xa5af87(0x21f)]?_0xa5af87(0x26b):_0xa5af87(0x200),_0xa3e237={};_0xa3e237[_0xa5af87(0x29e)]=_0x5e9132['length']?_0xa5af87(0x2b3):null,_0x51fd96(_0x1baf52,_0xa3e237);const _0x4691ad={};_0x4691ad[_0xa5af87(0x21c)]=_0xa5af87(0x2b2);const _0x24d732={};return _0x24d732[_0xa5af87(0x21c)]=_0x1baf52,_0x24d732[_0xa5af87(0x2bb)]=_0x5845ea,_0x24d732[_0xa5af87(0x241)]=_0x26cb29,_0x24d732[_0xa5af87(0x216)]=_0x2b0e77[_0xa5af87(0x216)],_0x24d732[_0xa5af87(0x291)]=_0x2b0e77[_0xa5af87(0x291)],_0x24d732[_0xa5af87(0x23b)]=!![],_0x24d732[_0xa5af87(0x29f)]=_0x5e620d['cancelledRuns']||[],_0x24d732[_0xa5af87(0x280)]=_0x5e620d[_0xa5af87(0x280)]||_0x4691ad,_0x24d732;}catch(_0x11408f){const _0x1fba76={};_0x1fba76['code']=_0x11408f['code']||'UPDATE_FAILED',_0x1fba76[_0xa5af87(0x27f)]=_0x5e620d?.[_0xa5af87(0x21c)]||_0xa5af87(0x215);const _0xce3423=[_0x1fba76];if(!_0x3e91e5&&_0x11408f[_0xa5af87(0x1f8)]===_0xa5af87(0x277)){const _0x4a4872={};_0x4a4872[_0xa5af87(0x251)]=_0xce3423,_0x51fd96(_0xa5af87(0x29a),_0x4a4872);const _0xaf7dcd={};return _0xaf7dcd[_0xa5af87(0x21c)]=_0xa5af87(0x29a),_0xaf7dcd[_0xa5af87(0x2bb)]=_0x5845ea,_0xaf7dcd[_0xa5af87(0x251)]=_0xce3423,_0xaf7dcd;}if(_0x3e91e5){const _0x135d3d={};_0x135d3d[_0xa5af87(0x251)]=_0xce3423,_0x135d3d[_0xa5af87(0x231)]=_0xa5af87(0x265),_0x51fd96(_0xa5af87(0x24d),_0x135d3d);const _0x482eaa={};return _0x482eaa[_0xa5af87(0x21c)]=_0xa5af87(0x23d),_0x482eaa[_0xa5af87(0x2bb)]=_0x5845ea,_0x482eaa[_0xa5af87(0x231)]=_0xa5af87(0x265),_0x482eaa[_0xa5af87(0x251)]=_0xce3423,_0x482eaa;}if(_0x97f9b8[_0xa5af87(0x204)]==='frozen'&&![_0xa5af87(0x222),_0xa5af87(0x20e)][_0xa5af87(0x248)](_0x11408f[_0xa5af87(0x1f8)]))try{const _0x4ef9ac={};return _0x4ef9ac['blockers']=_0xce3423,_0x4ef9ac[_0xa5af87(0x231)]=_0xa5af87(0x28a),_0x51fd96(_0xa5af87(0x219),_0x4ef9ac),await _0x2db0b4(_0xce3423);}catch(_0x91bedc){const _0x117e52={'code':_0x91bedc[_0xa5af87(0x1f8)]||_0xa5af87(0x2b7),..._0x91bedc['mismatchFields']?{'mismatchFields':_0x91bedc[_0xa5af87(0x260)]}:{}};_0xce3423[_0xa5af87(0x243)](_0x117e52);}const _0x106df0={};_0x106df0[_0xa5af87(0x251)]=_0xce3423,_0x51fd96(_0xa5af87(0x23d),_0x106df0);const _0x2ba696={};return _0x2ba696[_0xa5af87(0x21c)]=_0xa5af87(0x23d),_0x2ba696['transactionId']=_0x5845ea,_0x2ba696['blockers']=_0xce3423,_0x2ba696;}finally{_0x3085cc();}}function _0x10e0(_0xb983e0,_0x1eaea1){_0xb983e0=_0xb983e0-0x1e7;const _0x2d7020=_0x2d70();let _0x10e04b=_0x2d7020[_0xb983e0];if(_0x10e0['bxjaLV']===undefined){var _0x139c0c=function(_0x44d87b){const _0x1e2916='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x195031='',_0x4ecec2='';for(let _0xbedfa9=0x0,_0x3d3f76,_0x4c09b9,_0x4d32e8=0x0;_0x4c09b9=_0x44d87b['charAt'](_0x4d32e8++);~_0x4c09b9&&(_0x3d3f76=_0xbedfa9%0x4?_0x3d3f76*0x40+_0x4c09b9:_0x4c09b9,_0xbedfa9++%0x4)?_0x195031+=String['fromCharCode'](0xff&_0x3d3f76>>(-0x2*_0xbedfa9&0x6)):0x0){_0x4c09b9=_0x1e2916['indexOf'](_0x4c09b9);}for(let _0x466fe6=0x0,_0x4fe65d=_0x195031['length'];_0x466fe6<_0x4fe65d;_0x466fe6++){_0x4ecec2+='%'+('00'+_0x195031['charCodeAt'](_0x466fe6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4ecec2);};_0x10e0['CXqnTA']=_0x139c0c,_0x10e0['JYUUxB']={},_0x10e0['bxjaLV']=!![];}const _0x595123=_0x2d7020[0x0],_0x5ec247=_0xb983e0+_0x595123,_0x96f93a=_0x10e0['JYUUxB'][_0x5ec247];return!_0x96f93a?(_0x10e04b=_0x10e0['CXqnTA'](_0x10e04b),_0x10e0['JYUUxB'][_0x5ec247]=_0x10e04b):_0x10e04b=_0x96f93a,_0x10e04b;}const _0x48e2d5={};_0x48e2d5[_0x2e3be5(0x2a5)]=activatePreparedWorkspace,module['exports']=_0x48e2d5;
|
|
1
|
+
'use strict';function _0x2161(_0x3d1513,_0x5db1a2){_0x3d1513=_0x3d1513-0x1ef;const _0x5cd580=_0x5cd5();let _0x2161c3=_0x5cd580[_0x3d1513];if(_0x2161['VCwqxE']===undefined){var _0x28ea4b=function(_0x99ff35){const _0xe18938='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b20e9='',_0x13de3c='';for(let _0x158b63=0x0,_0x10a3d9,_0x538471,_0x3da922=0x0;_0x538471=_0x99ff35['charAt'](_0x3da922++);~_0x538471&&(_0x10a3d9=_0x158b63%0x4?_0x10a3d9*0x40+_0x538471:_0x538471,_0x158b63++%0x4)?_0x3b20e9+=String['fromCharCode'](0xff&_0x10a3d9>>(-0x2*_0x158b63&0x6)):0x0){_0x538471=_0xe18938['indexOf'](_0x538471);}for(let _0x73e659=0x0,_0x440411=_0x3b20e9['length'];_0x73e659<_0x440411;_0x73e659++){_0x13de3c+='%'+('00'+_0x3b20e9['charCodeAt'](_0x73e659)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13de3c);};_0x2161['SQpCaA']=_0x28ea4b,_0x2161['BpqppR']={},_0x2161['VCwqxE']=!![];}const _0x1403c8=_0x5cd580[0x0],_0x329da7=_0x3d1513+_0x1403c8,_0x1d3a1a=_0x2161['BpqppR'][_0x329da7];return!_0x1d3a1a?(_0x2161c3=_0x2161['SQpCaA'](_0x2161c3),_0x2161['BpqppR'][_0x329da7]=_0x2161c3):_0x2161c3=_0x1d3a1a,_0x2161c3;}const _0x5a0941=_0x2161;function _0x5cd5(){const _0x4ae6ec=['BMv3sgfZAa','q0foreLeqvrfx05pvf9srufewq','y29TBwL0DgvK','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','uKvhsvnuuKfusu9ox1jfq09wrvjzx1jfuvvjuKve','y29TBwL0lwLUDgvUDa','mJK0nZbMD2vIBM0','Dg9tDhjPBMC','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','CMvJB25Uzwn0lxjLCxvPCMvK','z2vUzxjHDgLVBG','vvbeqvrfx1bmqu5Fvu5wrvjjrKLfra','ChjVyMvdB25Uzwn0Aw9U','DgfYz2v0rgLNzxn0','lI9YDw50Aw1Llxn0B3jL','CNvUC0nHBMnLBgXLza','B2XKlxj1BNrPBwvZlxn0B3bWzwq','CMvIDwLSzeLUzgv4','lI9YzwDPC3rYyxrPB24TCgXHBG','BgvUz3rO','ndmXmdy1C3LKwe1n','ru5pru5u','DMfSDwvZ','CMvZB3vYy2vZlwfWCgXPzwq','mtm3mtC4r2XtB3Pu','vvbeqvrfx0nbtKnfteXfra','CMvXDwvZDc1ZDg9W','vvbeqvrfx1jfq09wrvjzx1jfuvvjuKve','D2L0AefKBwLZC2LVBKXVy2S','C3vWzxjZzwrLza','C3rHDgvsB290','ChvZAa','zMLSDgvY','ywjVCNq','zxzLCNK','zhjHAw4TywjVCNrLza','BM90lxjLCxvLC3rLza','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','Aw5ZCgvJDa','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yxbWBhLPBMC','mJb0t3HNtK4','zMLSzq','zxzPzgvUy2u','C3vZCgvUza','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Aw5KzxHszxn1Bhq','DhjHBNnHy3rPB24TzMLUywWUANnVBG','mtjgAg1yB04','CMvZB3vYy2vdB250CMfJDerPz2vZDa','CgXHBG','CM9SBgvKlwjHy2S','zgLHz25VC3rPy3m','B2XKuNvUDgLTzvn0B3bWzwq','y2f0ywXVz0HHC2G','AxntywzLsw50zwDLCG','C3rHDgu','t1DorvjtseLqx0Lox0zmsuDiva','DxbNCMfKzvj1BNm','vvbeqvrfx1rbuKDfvf9dt05gteLdva','mtKYnJi3ouLSqKHcEq','zgLNzxn0','y2XVC2vK','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','CNvUBMLUzW','zxHPC3rZu3LUyW','CMvZB3vYy2vZqxbWBgLLza','su5ervHFt1vuq09nrv9vtKTot1Do','CMvUyw1Lu3LUyW','C3vWzxj2AxnVCLbPza','DgfYz2v0vMvYC2LVBG','CMvNAxn0CMf0Aw9UugXHBG','BM9KztPJAgLSzf9WCM9JzxnZ','ywjVCNqTzhjHAw4','D2fPDfnLy29Uzhm','ywn0AxzHDgLVBKv2AwrLBMnL','ChjLCgfYzwrqBgfUrgLNzxn0','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lI9Jyw5KAwrHDguTChjLzMXPz2H0','C2HHmJu2','zNn5BMntEw5J','B3jPz2LUywW','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ChjLCgfYzs1Jyw5KAwrHDgu','ywrKB25Z','C3rVCfjLCxvLC3rLza','BM93','vvbeqvrfx0Hju1rpuLLFvu5wrvjjrKLfra','CMvZB3vYy2vqBgfU','C2fTzvDVCMTZCgfJzq','CMvHzezPBgvtEw5J','zgLYBMfTzq','ChjLlwrYywLUlwnHBMnLBgXLza','DgvZDa','CNvUDgLTzq','C3rVCc1MB3iTDxbKyxrL','BM9pCa','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','yxnZAwDU','DxbKyxrL','uMvNAxn0CMf0Aw9UugXHBG','y2fUzgLKyxrLlxjLywr5','zxbVy2G','C3rVChbLza','CM9SBc1MB3j3yxjK','Dg9ju09tDhjPBMC','r0vorvjbveLptL9bq0TFuevoreLorW','Aw5KzxGTC3rVCMuUANm','mZK3mtG5nLjOD0T3DW','lMfNzw50CW','CgLWzq','q09otKvdveLptL9vtKnptKzjuK1fra','B2XKsgfZAa','yNL0zxm','DgfYz2v0','B3bLCMf0Aw9U','y2fUy2vS','yMXVy2TLCNm','BwfW','CMvWBgfJzw1LBNq','uhjLDMLVDxmGCMvHzgLUzxnZihr1CgXLigrPzMzLCNm','B3bLBG','C3rVChbPBMC','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CM9SBgjHy2S','ChjLCgfYzwq','y2fUy2vSBgvKuNvUCW','B3bLCMf0Aw9UCW','CgfYC2u','C2vYDMLUzW','AxngAw5PDgu','y29UDgfPBNnxB3jRC3bHy2u','CMvSzwfZzq','y29UzMXPy3rZ','CMvZB3vYy2veAwDLC3q','Bwf4','C29Tzq','ChjLDMLVDxmTCMvZDg9Yzwq','zMLUza','y29UBMvJDgLVBKrPywDUB3n0AwnZ','y2fUy2vSBgvK','ywjVCNrLzerYywLU','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','vvbeqvrfx1bmqu5Fq0HbtKDfra','CNvUCW','ChjLDMLVDxndB25Uzwn0Aw9UCW','CgHHC2u','zhjHAw5PBMC','C3vZCgvUzgvK','DhjHBNnHy3rPB25jza','C3jJ','vvbeqvrfx0Lox1bst0Dsrvnt','y29UzMLNugf0Aa','CMvHBhbHDgHtEw5J','odC1mZa1mhnLwMjwDG','CNvUDgLTzvjVB3q','C3rYAw5NAwz5','AM9PBG','y29Kzq','ouTmz0rAEa','y3jLyxrLsgfZAa','ChjLzMXPz2H0lxbLBMrPBMC','y29UBMvJDgLVBNm','CMvZDwX0CW','y2XVC2vtEw5J','y29TBwL0','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','y29UDhjVBenVBM5Ly3rPB24','qurnsvntsu9ox0nptKzmsunu','BM9KztPJCNLWDg8','D3jPDgvgAwXLu3LUyW','yxbWBhK','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','y2HPBgrqAwq','CMvXDwLYzwq','zMfPBgvK','D29YA3nWywnL','mJG3sKvSwejr','ChjLCgfYzq','BwfUAwzLC3qUANnVBG','uKvtt1vsq0vFuefusf9fu0nbueu','ChvIBgLJs2v5','CMfUzg9Tvvvjra','CMvJB3zLCNK','Aw5JBhvKzxm','AgfZ','DMvYC2LVBG','D29YA3nWywnLuNvUuM9VDhm','y29TBwL0lwnHBMrPzgf0zq','BwLZBwf0y2HgAwvSzhm','DxrMoa','vvbeqvrfx1nvu1bftKrfra','Agv4','su5ervHFuKvcvuLmrf9gquLmruq','BwvTyMvYCW','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','vvbeqvrfx0zbsuXfra','CNvUCY1Jyw5JzwXSzwq','ChjLzMXPz2H0','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','zgLYzwn0B3j5','C3rHDhvZ','ywn0AxzL','mJu5odG4mLf1wunMDq','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','y29UDhjVBenHCgfIAwXPDgLLCW','BM9KztPMCW','B2XKuNvUDgLTzxntDg9WCgvK','yMfJA2vUzhm','lI4Vy29Yzs91CgrHDguTy29UDhjVBa','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','y29UBMvJDgLVBKLK'];_0x5cd5=function(){return _0x4ae6ec;};return _0x5cd5();}(function(_0x40fa74,_0x2607d5){const _0x564d4b=_0x2161,_0x53e02a=_0x40fa74();while(!![]){try{const _0x638973=parseInt(_0x564d4b(0x220))/0x1*(parseInt(_0x564d4b(0x243))/0x2)+parseInt(_0x564d4b(0x256))/0x3+parseInt(_0x564d4b(0x24a))/0x4*(-parseInt(_0x564d4b(0x22e))/0x5)+-parseInt(_0x564d4b(0x232))/0x6*(-parseInt(_0x564d4b(0x1f7))/0x7)+parseInt(_0x564d4b(0x286))/0x8*(-parseInt(_0x564d4b(0x2b9))/0x9)+-parseInt(_0x564d4b(0x2b4))/0xa+parseInt(_0x564d4b(0x211))/0xb;if(_0x638973===_0x2607d5)break;else _0x53e02a['push'](_0x53e02a['shift']());}catch(_0x355579){_0x53e02a['push'](_0x53e02a['shift']());}}}(_0x5cd5,0x75307));const fs=require(_0x5a0941(0x214)),path=require('node:path'),crypto=require(_0x5a0941(0x1ef)),{acquireRuntimeLock}=require('../core/owned-lock'),{ResourceTransaction}=require(_0x5a0941(0x212)),{readFence,changeFence,freezeFence}=require(_0x5a0941(0x295)),{readGeneration,projectGeneration,registerMember,recordCandidate,commitWorkspaceGeneration,openCommittedGeneration}=require(_0x5a0941(0x23f)),{verifyRelease}=require(_0x5a0941(0x228)),{preflightWorkspaceContracts}=require(_0x5a0941(0x222)),{preflightCandidate}=require(_0x5a0941(0x268)),connections=require('./connection-activation'),{readControl}=require(_0x5a0941(0x217)),{workspaceOwnership}=require('../core/runtime-ownership'),{snapshotUpgradeRuns,cancelUpgradeRuns}=require('../core/upgrade-runs'),hashFile=_0x54bde3=>{const _0x59ce05=_0x5a0941;try{return crypto[_0x59ce05(0x2ba)](_0x59ce05(0x269))[_0x59ce05(0x27d)](fs[_0x59ce05(0x274)](_0x54bde3))[_0x59ce05(0x257)](_0x59ce05(0x206));}catch(_0x558f43){if(_0x558f43['code']===_0x59ce05(0x22f))return null;throw _0x558f43;}},fail=_0x625307=>{const _0x232d2d=_0x5a0941;throw Object[_0x232d2d(0x27c)](new Error(_0x625307),{'code':_0x625307});},sameRegistrationWorkspace=(_0x59621b,_0xf13640)=>require(_0x5a0941(0x1f2))[_0x5a0941(0x273)](_0x59621b,_0xf13640);function writeJournal(_0x4cedd5,_0x5e5f21){const _0x9477f6=_0x5a0941,_0xec7e2f=_0x4cedd5+'.'+crypto[_0x9477f6(0x1fc)]()+'.tmp',_0xeb77aa=fs['openSync'](_0xec7e2f,'wx',0x180);try{fs[_0x9477f6(0x1f0)](_0xeb77aa,JSON[_0x9477f6(0x2b6)](_0x5e5f21)),fs[_0x9477f6(0x26a)](_0xeb77aa);}finally{fs[_0x9477f6(0x2be)](_0xeb77aa);}fs[_0x9477f6(0x25e)](_0xec7e2f,_0x4cedd5);}async function activatePreparedWorkspace(_0x46a160){const _0x160165=_0x5a0941,_0x2cdd82=fs[_0x160165(0x2b3)](_0x46a160[_0x160165(0x1f6)]),_0x7d29f9=require(_0x160165(0x222))[_0x160165(0x201)](_0x2cdd82),_0x40ed12=_0x46a160['resourcePlan']instanceof ResourceTransaction?_0x46a160[_0x160165(0x272)]:new ResourceTransaction(_0x46a160['resourcePlan']);if(fs[_0x160165(0x2b3)](_0x40ed12[_0x160165(0x24c)][_0x160165(0x1f6)])!==_0x2cdd82)fail(_0x160165(0x1fa));const _0x42611a=_0x40ed12['plan'][_0x160165(0x2af)],_0x2fa927=path['join'](_0x2cdd82,_0x160165(0x287),_0x160165(0x278)),_0x958569=acquireRuntimeLock(path['join'](_0x2fa927,'update.lock')),_0x3b2972={};_0x3b2972[_0x160165(0x2b8)]='UPDATE_IN_PROGRESS';const _0x55103={};_0x55103['status']=_0x160165(0x267),_0x55103[_0x160165(0x2af)]=_0x42611a,_0x55103[_0x160165(0x28f)]=[_0x3b2972];if(!_0x958569)return _0x55103;const _0x19285f=path[_0x160165(0x2b7)](_0x2fa927,_0x160165(0x2c0)),_0x495d75=_0x46a160['connections']||connections;let _0xb8ac4c;try{_0xb8ac4c=JSON[_0x160165(0x29a)](fs[_0x160165(0x274)](_0x19285f,_0x160165(0x204)));}catch(_0x41cd3f){if(_0x41cd3f[_0x160165(0x2b8)]!=='ENOENT'){_0x958569();throw _0x41cd3f;}}if(_0xb8ac4c&&_0xb8ac4c[_0x160165(0x2af)]!==_0x42611a){if(![_0x160165(0x210),_0x160165(0x26c),'rolled-back','cancelled',_0x160165(0x237)][_0x160165(0x1fe)](_0xb8ac4c[_0x160165(0x20f)])){_0x958569();const _0x48e634={};_0x48e634['code']=_0x160165(0x2b1);const _0x87e45d={};return _0x87e45d['status']='pending-safe-boundary',_0x87e45d[_0x160165(0x2af)]=_0xb8ac4c[_0x160165(0x2af)],_0x87e45d[_0x160165(0x28f)]=[_0x48e634],_0x87e45d;}const _0x2abafe=path[_0x160165(0x2b7)](_0x2fa927,'updates',_0xb8ac4c[_0x160165(0x2af)],_0x160165(0x249));(!/^[a-zA-Z0-9_-]{1,80}$/[_0x160165(0x277)](_0xb8ac4c['transactionId'])||!fs[_0x160165(0x25b)](path[_0x160165(0x275)](_0x2abafe))||!require(_0x160165(0x1f2))[_0x160165(0x29d)](_0x2cdd82,fs[_0x160165(0x2b3)](path[_0x160165(0x275)](_0x2abafe))))&&(_0x958569(),fail(_0x160165(0x271)));try{writeJournal(_0x2abafe,_0xb8ac4c);}catch(_0x12de79){_0x958569();throw _0x12de79;}_0xb8ac4c=null;}const _0x3808f=(_0x1db799,_0x2c5078={})=>{const _0x1a547c=_0x160165,_0x17d7f9={};_0x17d7f9[_0x1a547c(0x20f)]='not-required',_0x17d7f9[_0x1a547c(0x28f)]=[];const _0x27278f={};_0x27278f[_0x1a547c(0x20f)]=_0x1a547c(0x23e),_0x27278f[_0x1a547c(0x2bd)]=[],_0xb8ac4c={..._0xb8ac4c,'transactionId':_0x42611a,'workspace':_0x2cdd82,'runtimeRoot':_0x46a160[_0x1a547c(0x2b5)],'release':_0x46a160[_0x1a547c(0x29e)],'publicKey':_0x46a160['publicKey']?.[_0x1a547c(0x221)](),'resourcePlan':_0x40ed12[_0x1a547c(0x20e)],'registrationPlan':_0x46a160['registrationPlan']?.[_0x1a547c(0x20e)]||_0x46a160[_0x1a547c(0x261)]||_0xb8ac4c?.[_0x1a547c(0x261)]||null,'registrationMigration':_0x46a160['registrationMigration']||_0xb8ac4c?.[_0x1a547c(0x241)]||_0x17d7f9,'addons':_0x46a160[_0x1a547c(0x26e)]||_0xb8ac4c?.[_0x1a547c(0x26e)]||_0x27278f,'rebuildIndex':_0xb8ac4c?.['rebuildIndex']===!![]||_0x46a160[_0x1a547c(0x22b)]===!![],'status':_0x1db799,'changedAt':new Date()[_0x1a547c(0x283)](),..._0x2c5078},writeJournal(_0x19285f,_0xb8ac4c);};let _0x4f136f=readGeneration(_0x2cdd82)?.[_0x160165(0x2af)]===_0x42611a;const _0x41b2ff=_0x46a160[_0x160165(0x261)]?.[_0x160165(0x20e)]||_0x46a160[_0x160165(0x261)]||_0xb8ac4c?.['registrationPlan'];let _0x40ed69;try{_0x40ed69=_0x41b2ff?new(require(_0x160165(0x22c)))[(_0x160165(0x27e))](_0x41b2ff):null;}catch(_0x4e1674){_0x958569();throw _0x4e1674;}_0x40ed69&&(!sameRegistrationWorkspace(_0x40ed69['plan'][_0x160165(0x1f6)],_0x2cdd82)||_0x40ed69[_0x160165(0x24c)][_0x160165(0x2af)]!==_0x42611a)&&(_0x958569(),fail('REGISTRATION_PLAN_INVALID'));let _0x3ad415=readFence(_0x2cdd82),_0x184192=[];const _0x2cc59f=()=>readControl(_0x2cdd82,_0x42611a)?.['action'],_0x25b2e0=async _0x338682=>{const _0x4f5f07=_0x160165;_0x40ed69?.[_0x4f5f07(0x296)](),_0x40ed12[_0x4f5f07(0x296)](),_0x184192=_0x495d75[_0x4f5f07(0x27b)](_0x2cdd82);for(const _0x2e4d07 of _0xb8ac4c['previousConnections']||[])if(!_0x184192['some'](_0x1569b3=>_0x1569b3[_0x4f5f07(0x219)]===_0x2e4d07[_0x4f5f07(0x219)]))fail(_0x4f5f07(0x247));for(const _0xe3388 of _0x184192){const _0x26cd4a={};_0x26cd4a[_0x4f5f07(0x2af)]=_0x42611a,_0x26cd4a[_0x4f5f07(0x280)]=_0x3ad415[_0x4f5f07(0x280)];const _0x277a3b=await _0x495d75[_0x4f5f07(0x2c1)](_0xe3388,'restore-previous',_0x26cd4a);if(_0x277a3b[_0x4f5f07(0x245)]!==_0x4f5f07(0x259)||_0x277a3b['status']!==_0x4f5f07(0x2a3))fail(_0x277a3b[_0x4f5f07(0x2b8)]||_0x4f5f07(0x247));const _0x245319=_0xb8ac4c[_0x4f5f07(0x2ab)]?.[_0x4f5f07(0x2a4)](_0x702e3e=>_0x702e3e[_0x4f5f07(0x219)]===_0xe3388['connectionId']),_0x296739=_0x245319?['connectionId',_0x4f5f07(0x200),_0x4f5f07(0x257),_0x4f5f07(0x224),_0x4f5f07(0x2a0),'catalogHash'][_0x4f5f07(0x23a)](_0x5f27ca=>_0x277a3b[_0x5f27ca]!==_0x245319[_0x5f27ca]):['previousIdentity'];if(_0x277a3b[_0x4f5f07(0x29b)]!==!![])_0x296739[_0x4f5f07(0x239)]('serving');if(!Number[_0x4f5f07(0x251)](_0x277a3b[_0x4f5f07(0x1f3)])||_0x277a3b[_0x4f5f07(0x1f3)]<=0x0)_0x296739[_0x4f5f07(0x239)](_0x4f5f07(0x1f3));if(!sameRegistrationWorkspace(_0x277a3b[_0x4f5f07(0x1f6)]||'',_0x2cdd82))_0x296739[_0x4f5f07(0x239)](_0x4f5f07(0x1f6));if(_0x296739['length'])throw Object[_0x4f5f07(0x27c)](new Error(_0x4f5f07(0x292)),{'code':_0x4f5f07(0x247),'mismatchFields':_0x296739});}const _0x561de6={};_0x561de6[_0x4f5f07(0x252)]='open',_0x561de6[_0x4f5f07(0x2af)]=_0x42611a,_0x3ad415=changeFence(_0x2cdd82,_0x3ad415[_0x4f5f07(0x280)],_0x561de6);for(const _0x320385 of _0x184192){const _0x44112e={};_0x44112e[_0x4f5f07(0x2af)]=_0x42611a;const _0x4fd0af=await _0x495d75['controlConnection'](_0x320385,_0x4f5f07(0x23b),_0x44112e);if(_0x4fd0af[_0x4f5f07(0x245)]!=='authenticated-live-process'||![_0x4f5f07(0x210),_0x4f5f07(0x26c)]['includes'](_0x4fd0af[_0x4f5f07(0x20f)]))fail(_0x4f5f07(0x247));}const _0x2fb4d7=_0x2cc59f()===_0x4f5f07(0x28e)||_0x338682[_0x4f5f07(0x2a2)](_0x41d48=>_0x41d48['code']===_0x4f5f07(0x233)),_0x1d5df4={};_0x1d5df4[_0x4f5f07(0x28f)]=_0x338682,_0x1d5df4[_0x4f5f07(0x1fd)]=_0x4f5f07(0x24d),_0x3808f(_0x2fb4d7?_0x4f5f07(0x2a6):_0x4f5f07(0x24d),_0x1d5df4);const _0x5c27c4={};return _0x5c27c4['status']=_0x2fb4d7?_0x4f5f07(0x2a6):_0x4f5f07(0x1f5),_0x5c27c4['transactionId']=_0x42611a,_0x5c27c4[_0x4f5f07(0x1fd)]=_0x4f5f07(0x24d),_0x5c27c4[_0x4f5f07(0x28f)]=_0x338682,_0x5c27c4;},_0xaf32b0=async(_0x3ff8e3=![])=>{const _0x2bb3a0=_0x160165,_0x5ce3f3=new Set();for(const _0x4266cd of _0x495d75[_0x2bb3a0(0x27b)](_0x2cdd82)){const _0x366443={};_0x366443['transactionId']=_0x42611a,_0x366443[_0x2bb3a0(0x280)]=_0x3ad415[_0x2bb3a0(0x280)];const _0x354fd3=await _0x495d75[_0x2bb3a0(0x2c1)](_0x4266cd,'abort',_0x366443),_0x10604e={};_0x10604e['code']='CANCEL_ACK_PENDING',_0x10604e[_0x2bb3a0(0x219)]=_0x4266cd[_0x2bb3a0(0x219)];const _0x23e973={};_0x23e973[_0x2bb3a0(0x20f)]=_0x2bb3a0(0x267),_0x23e973['transactionId']=_0x42611a,_0x23e973['blockers']=[_0x10604e];if(_0x354fd3[_0x2bb3a0(0x245)]!==_0x2bb3a0(0x259)||![_0x2bb3a0(0x210),_0x2bb3a0(0x26c)][_0x2bb3a0(0x1fe)](_0x354fd3[_0x2bb3a0(0x20f)]))return _0x23e973;_0x5ce3f3['add'](_0x4266cd[_0x2bb3a0(0x219)]);}const _0x3c7afd=require('../core/admission-fence');_0x3c7afd[_0x2bb3a0(0x236)](_0x2cdd82,_0x7daa7b=>{const _0x226f02=_0x2bb3a0;if(_0x7daa7b[_0x226f02(0x280)]!==_0x3ad415[_0x226f02(0x280)]||_0x7daa7b[_0x226f02(0x252)]!==_0x226f02(0x2ad)||_0x7daa7b['transactionId']!==_0x42611a)fail(_0x226f02(0x2c2));if(Object[_0x226f02(0x230)](_0x7daa7b[_0x226f02(0x208)]||{})[_0x226f02(0x2a2)](_0x38bf25=>_0x38bf25[_0x226f02(0x252)]!==_0x226f02(0x258)&&!_0x5ce3f3[_0x226f02(0x1ff)](_0x38bf25[_0x226f02(0x219)])))fail('CANCEL_ACK_PENDING');const _0x46bc55={};_0x46bc55[_0x226f02(0x2af)]=_0x42611a,_0x46bc55[_0x226f02(0x24b)]=_0xb8ac4c['resourceContractDigest'],_0x46bc55['acknowledged']=[..._0x5ce3f3];const _0x27e82c={};_0x27e82c[_0x226f02(0x2a7)]=_0x46bc55;const _0x3854c3={..._0x7daa7b,'state':_0x226f02(0x293),'epoch':_0x7daa7b[_0x226f02(0x280)]+0x1,'stopRequested':![],'targetVersion':null,'targetDigest':null,..._0x3ff8e3?_0x27e82c:{}};_0x3c7afd['saveLocked'](_0x2cdd82,_0x3854c3);});const _0x33b111={};_0x33b111['recovery']=_0x2bb3a0(0x23d),_0x3808f('cancelled',_0x3ff8e3?_0x33b111:{});const _0x10d225={};_0x10d225[_0x2bb3a0(0x1fd)]=_0x2bb3a0(0x23d);const _0x282c53={'status':_0x2bb3a0(0x2a6),'transactionId':_0x42611a,'resourcesApplied':![],..._0x3ff8e3?_0x10d225:{}};return _0x282c53;};try{const _0x205597={};_0x205597['code']='UPDATE_SUSPENDED';const _0xfa658b={};_0xfa658b[_0x160165(0x20f)]=_0x160165(0x267),_0xfa658b['transactionId']=_0x42611a,_0xfa658b[_0x160165(0x28f)]=[_0x205597];if(_0xb8ac4c?.[_0x160165(0x2ae)]||_0xb8ac4c?.[_0x160165(0x2a6)])return _0xfa658b;const _0x4d5231=verifyRelease(_0x46a160[_0x160165(0x29e)],_0x46a160[_0x160165(0x1fb)]),_0x2e5bc2={};_0x2e5bc2[_0x160165(0x200)]=_0x4d5231[_0x160165(0x200)],_0x2e5bc2[_0x160165(0x257)]=_0x4d5231[_0x160165(0x257)];const _0x29a6c6=_0x2e5bc2;if(_0xb8ac4c?.[_0x160165(0x28c)]&&(_0xb8ac4c[_0x160165(0x28c)][_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0xb8ac4c[_0x160165(0x28c)][_0x160165(0x257)]!==_0x29a6c6[_0x160165(0x257)]))fail(_0x160165(0x255));const _0x459b3f=require(_0x160165(0x212))[_0x160165(0x24b)](_0x40ed12[_0x160165(0x24c)]);if(_0xb8ac4c?.[_0x160165(0x24b)]&&_0xb8ac4c[_0x160165(0x24b)]!==_0x459b3f)fail(_0x160165(0x2a9));if(_0xb8ac4c&&!_0xb8ac4c[_0x160165(0x24b)]){if(!_0xb8ac4c[_0x160165(0x266)]||_0xb8ac4c[_0x160165(0x266)]!==hashFile(_0x40ed12[_0x160165(0x244)]))fail(_0x160165(0x225));const _0x9be05a={};_0x9be05a[_0x160165(0x24b)]=_0x459b3f,_0x3808f(_0xb8ac4c[_0x160165(0x20f)],_0x9be05a);}const _0x352b41={};_0x352b41[_0x160165(0x28c)]=_0x29a6c6,_0x352b41[_0x160165(0x24b)]=_0x459b3f;if(!_0xb8ac4c)_0x3808f(_0x160165(0x2bb),_0x352b41);if(!_0x4f136f&&_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)&&_0x2cc59f()===_0x160165(0x28e)){const _0x2ea093=_0x40ed12[_0x160165(0x240)]();if(_0xb8ac4c?.['transactionId']!==_0x42611a||_0xb8ac4c[_0x160165(0x25c)]||_0xb8ac4c['runsCancelled']||_0xb8ac4c[_0x160165(0x215)]||_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!==_0x160165(0x297)||_0x2ea093[_0x160165(0x2a2)](_0x2dae7e=>_0x2dae7e['status']!==_0x160165(0x297)||![_0x160165(0x26b),_0x160165(0x291)][_0x160165(0x1fe)](_0x2dae7e[_0x160165(0x28b)])))fail(_0x160165(0x235));if(_0x40ed69&&(_0x40ed69[_0x160165(0x24c)][_0x160165(0x20f)]!==_0x160165(0x297)||_0x40ed69['plan'][_0x160165(0x299)]['some'](_0x300d4c=>_0x300d4c['status']!==_0x160165(0x297)||![_0x300d4c[_0x160165(0x28a)],_0x300d4c['newHash']]['includes'](hashFile(_0x300d4c[_0x160165(0x2b2)])))))fail(_0x160165(0x21e));_0x40ed69?.[_0x160165(0x296)](),_0x40ed12['rollback'](),_0x3808f(_0x160165(0x2a6),{'cancelled':!![],'cancellation':{'reason':_0x160165(0x276),'cancelledAt':new Date()[_0x160165(0x283)]()}});const _0xed7796={};return _0xed7796[_0x160165(0x20f)]=_0x160165(0x2a6),_0xed7796[_0x160165(0x2af)]=_0x42611a,_0xed7796[_0x160165(0x25c)]=![],_0xed7796;}if(!_0x4f136f&&_0xb8ac4c?.[_0x160165(0x1fd)]===_0x160165(0x263)){const _0x1260e8={};_0x1260e8['code']=_0x160165(0x205);const _0x1541ac={};_0x1541ac[_0x160165(0x20f)]='pending-safe-boundary',_0x1541ac[_0x160165(0x2af)]=_0x42611a,_0x1541ac[_0x160165(0x28f)]=[_0x1260e8];if(_0x2cc59f()==='suspend')return _0x1541ac;const _0x3d08ab=_0x3ad415['state']===_0x160165(0x293)&&_0x3ad415[_0x160165(0x2a7)]?.[_0x160165(0x2af)]===_0x42611a&&_0x3ad415[_0x160165(0x2a7)][_0x160165(0x24b)]===_0x459b3f;if(!_0x3d08ab&&_0x3ad415[_0x160165(0x252)]!=='draining'||_0x3ad415[_0x160165(0x2af)]!==_0x42611a||_0xb8ac4c[_0x160165(0x229)]||_0xb8ac4c['oldRuntimesStopped']||_0xb8ac4c[_0x160165(0x25c)]||_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!=='prepared'||_0x40ed12['inspect']()[_0x160165(0x2a2)](_0x448687=>_0x448687[_0x160165(0x28b)]!=='original'||_0x448687[_0x160165(0x20f)]!==_0x160165(0x297)))fail(_0x160165(0x235));if(_0x40ed69&&(_0x40ed69['plan']['status']!==_0x160165(0x297)||_0x40ed69[_0x160165(0x24c)][_0x160165(0x299)][_0x160165(0x2a2)](_0x5d427b=>_0x5d427b[_0x160165(0x20f)]!=='prepared'||hashFile(_0x5d427b[_0x160165(0x2b2)])!==_0x5d427b[_0x160165(0x28a)])))fail(_0x160165(0x21e));if(_0x3d08ab){const _0x42a3a7={};_0x42a3a7[_0x160165(0x1fd)]=_0x160165(0x23d),_0x3808f(_0x160165(0x2a6),_0x42a3a7);const _0x104f85={};return _0x104f85['status']='cancelled',_0x104f85[_0x160165(0x2af)]=_0x42611a,_0x104f85[_0x160165(0x25c)]=![],_0x104f85[_0x160165(0x1fd)]='drain-aborted',_0x104f85;}return await _0xaf32b0(!![]);}if(!_0x4f136f&&_0xb8ac4c?.['recovery']==='rollback'){const _0x2149c6={};_0x2149c6['code']=_0x160165(0x205);const _0x363984={};_0x363984['status']='pending-safe-boundary',_0x363984[_0x160165(0x2af)]=_0x42611a,_0x363984[_0x160165(0x28f)]=[_0x2149c6];if(_0x2cc59f()===_0x160165(0x246))return _0x363984;return await _0x25b2e0(_0xb8ac4c[_0x160165(0x28f)]||[]);}const _0x431b0b=readGeneration(_0x2cdd82);if(!_0x4f136f&&_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)&&_0x431b0b?.['version']===_0x29a6c6[_0x160165(0x200)]&&_0x431b0b[_0x160165(0x257)]===_0x29a6c6[_0x160165(0x257)]&&_0x431b0b[_0x160165(0x2a0)]===hashFile(path['join'](_0x2cdd82,_0x160165(0x287),'manifest.json'))&&_0x40ed12[_0x160165(0x24c)]['operations'][_0x160165(0x22d)]===0x0&&!_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)][_0x160165(0x22d)]&&!_0x40ed69?.['plan'][_0x160165(0x299)][_0x160165(0x2a2)](_0x517421=>_0x517421[_0x160165(0x28a)]!==_0x517421[_0x160165(0x21a)])&&!_0x46a160['rebuildIndex']){const _0x1602a7=await _0x495d75[_0x160165(0x209)](_0x2cdd82,_0x431b0b);if(![_0x160165(0x210),_0x160165(0x26c)][_0x160165(0x1fe)](_0x1602a7[_0x160165(0x20f)]))return{..._0x1602a7,'transactionId':_0x42611a,'target':_0x29a6c6,'noOp':!![],'cancelledRuns':[]};projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,_0x431b0b),_0x3808f(_0x1602a7[_0x160165(0x20f)],{'target':_0x29a6c6,'generation':_0x431b0b[_0x160165(0x224)],'noOp':!![],'cancelledRuns':[],'activationEvidence':_0x1602a7['status']==='active'?_0x160165(0x259):null});const _0x45cd31={};_0x45cd31[_0x160165(0x20f)]=_0x160165(0x23e);const _0x3614e9={..._0x1602a7};return _0x3614e9[_0x160165(0x2af)]=_0x42611a,_0x3614e9[_0x160165(0x28c)]=_0x29a6c6,_0x3614e9['generation']=_0x431b0b[_0x160165(0x224)],_0x3614e9[_0x160165(0x27a)]=!![],_0x3614e9[_0x160165(0x25c)]=![],_0x3614e9[_0x160165(0x298)]=[],_0x3614e9[_0x160165(0x248)]=_0x45cd31,_0x3614e9;}if(_0x4f136f&&_0x3ad415[_0x160165(0x252)]==='open'){if(_0x431b0b[_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0x431b0b[_0x160165(0x257)]!==_0x29a6c6['digest']||hashFile(path[_0x160165(0x2b7)](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)))!==_0x431b0b[_0x160165(0x2a0)])fail('GENERATION_RECOVERY_MISMATCH');const _0x40bfb5=_0x495d75[_0x160165(0x27b)](_0x2cdd82),_0x261614=Object['values'](_0x3ad415['members']||{})[_0x160165(0x23a)](_0x4bdd7c=>_0x4bdd7c['state']!==_0x160165(0x258));for(const _0xc57c54 of _0x261614)if(!_0x40bfb5[_0x160165(0x2a2)](_0x1d4f37=>_0x1d4f37[_0x160165(0x219)]===_0xc57c54[_0x160165(0x219)]))fail('CONNECTION_UNCONFIRMED');for(const _0x2bbcad of _0x40bfb5){const _0x48e322=await _0x495d75[_0x160165(0x226)](_0x2bbcad);if(_0x48e322[_0x160165(0x245)]!==_0x160165(0x259)||_0x48e322[_0x160165(0x29b)]!==!![]||[_0x160165(0x200),_0x160165(0x257),_0x160165(0x2a0),'generation'][_0x160165(0x2a2)](_0x10296c=>_0x48e322[_0x10296c]!==_0x431b0b[_0x10296c]))fail(_0x160165(0x284));}projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,_0x431b0b);if(_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!=='committed')_0x40ed12[_0x160165(0x2bf)](_0x431b0b[_0x160165(0x224)]);_0x40ed69?.[_0x160165(0x2bf)]();const _0x563013=_0x40bfb5['length']?'active':_0x160165(0x26c),_0x3ced75={};_0x3ced75[_0x160165(0x224)]=_0x431b0b[_0x160165(0x224)],_0x3ced75['resourceDigest']=_0x431b0b['resourceDigest'],_0x3ced75['activationEvidence']=_0x40bfb5[_0x160165(0x22d)]?_0x160165(0x259):null,_0x3808f(_0x563013,_0x3ced75);const _0x4ccde9={};_0x4ccde9['status']=_0x160165(0x23e);const _0x1a5a29={};return _0x1a5a29[_0x160165(0x20f)]=_0x563013,_0x1a5a29[_0x160165(0x2af)]=_0x42611a,_0x1a5a29[_0x160165(0x28c)]=_0x29a6c6,_0x1a5a29['generation']=_0x431b0b[_0x160165(0x224)],_0x1a5a29[_0x160165(0x2a0)]=_0x431b0b['resourceDigest'],_0x1a5a29[_0x160165(0x25c)]=!![],_0x1a5a29[_0x160165(0x298)]=_0xb8ac4c[_0x160165(0x298)]||[],_0x1a5a29[_0x160165(0x248)]=_0xb8ac4c[_0x160165(0x248)]||_0x4ccde9,_0x1a5a29;}if(_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)]['some'](_0x449bde=>_0x449bde[_0x160165(0x1f4)])){const _0x4026f8={};_0x4026f8['target']=_0x29a6c6,_0x4026f8[_0x160165(0x28f)]=_0x40ed12[_0x160165(0x24c)]['conflicts'],_0x3808f(_0x160165(0x21d),_0x4026f8);const _0x42f964={};return _0x42f964['status']=_0x160165(0x21d),_0x42f964[_0x160165(0x2af)]=_0x42611a,_0x42f964['blockers']=_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)],_0x42f964;}if(_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)){const _0x502f70={};_0x502f70[_0x160165(0x28d)]='cancel-for-upgrade';const _0x1f9c2b=preflightWorkspaceContracts(_0x2cdd82,_0x502f70);if(_0x1f9c2b[_0x160165(0x20f)]!=='compatible'){const _0x9e8070={};_0x9e8070[_0x160165(0x28f)]=_0x1f9c2b[_0x160165(0x28f)],_0x3808f(_0x160165(0x218),_0x9e8070);const _0x223e00={};return _0x223e00[_0x160165(0x20f)]='legacy-ownership-unverified',_0x223e00[_0x160165(0x2af)]=_0x42611a,_0x223e00['blockers']=_0x1f9c2b[_0x160165(0x28f)],_0x223e00;}const _0x420eb4=await(_0x46a160[_0x160165(0x20c)]||preflightCandidate)({'release':_0x46a160['release'],'runtimeRoot':_0x46a160[_0x160165(0x2b5)],'publicKey':_0x46a160[_0x160165(0x1fb)]});if(_0x420eb4[_0x160165(0x20f)]!=='ready'||_0x420eb4[_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0x420eb4[_0x160165(0x257)]!==_0x29a6c6['digest'])fail('CANDIDATE_PREFLIGHT_MISMATCH');const _0x2f8577=[];if(_0x495d75[_0x160165(0x20d)]){const _0x54f904={};_0x54f904['apply']=!![];const _0xd078b=await _0x495d75[_0x160165(0x20d)](_0x2cdd82,_0x54f904);if(_0xd078b[_0x160165(0x28f)][_0x160165(0x22d)]){const _0x50dc20={};_0x50dc20[_0x160165(0x28f)]=_0xd078b[_0x160165(0x28f)],_0x50dc20[_0x160165(0x2a5)]=_0xd078b[_0x160165(0x24e)],_0x3808f(_0x160165(0x218),_0x50dc20);const _0x5623f4={};return _0x5623f4[_0x160165(0x20f)]='legacy-ownership-unverified',_0x5623f4[_0x160165(0x2af)]=_0x42611a,_0x5623f4[_0x160165(0x28f)]=_0xd078b[_0x160165(0x28f)],_0x5623f4[_0x160165(0x2a5)]=_0xd078b[_0x160165(0x24e)],_0x5623f4;}}for(const _0x13e037 of _0x495d75[_0x160165(0x27b)](_0x2cdd82)){const _0x4fb982=await _0x495d75[_0x160165(0x226)](_0x13e037);if(_0x4fb982[_0x160165(0x245)]!==_0x160165(0x259)||_0x4fb982[_0x160165(0x29b)]!==!![]||_0x13e037['supervisorProtocol']!==0x2){const _0x29c097={};_0x29c097[_0x160165(0x2b8)]=_0x160165(0x289),_0x29c097[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)];const _0x5116ab=[_0x29c097],_0x331b5e={};_0x331b5e[_0x160165(0x28f)]=_0x5116ab,_0x3808f(_0x160165(0x218),_0x331b5e);const _0x23c1a5={};return _0x23c1a5[_0x160165(0x20f)]=_0x160165(0x218),_0x23c1a5[_0x160165(0x2af)]=_0x42611a,_0x23c1a5['blockers']=_0x5116ab,_0x23c1a5;}if(!_0x4fb982['catalogHash']||_0x4fb982[_0x160165(0x250)]!==_0x420eb4[_0x160165(0x250)]){const _0x13693b={};_0x13693b[_0x160165(0x2b8)]='TOOL_CATALOG_CHANGED',_0x13693b[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)];const _0x284f44=[_0x13693b],_0x312bcf={};_0x312bcf[_0x160165(0x28f)]=_0x284f44,_0x3808f('reconnect-required',_0x312bcf);const _0xcfe8b0={};return _0xcfe8b0[_0x160165(0x20f)]=_0x160165(0x223),_0xcfe8b0[_0x160165(0x2af)]=_0x42611a,_0xcfe8b0['blockers']=_0x284f44,_0xcfe8b0;}const _0x5b34e6={};_0x5b34e6[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)],_0x5b34e6[_0x160165(0x25f)]=_0x13e037[_0x160165(0x25f)],_0x5b34e6[_0x160165(0x2b5)]=_0x13e037[_0x160165(0x2b5)]||_0x46a160[_0x160165(0x2b5)],registerMember(_0x2cdd82,_0x5b34e6);const _0x4a955f={};_0x4a955f[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)],_0x4a955f[_0x160165(0x1f6)]=_0x2cdd82,_0x4a955f[_0x160165(0x200)]=_0x4fb982['version'],_0x4a955f[_0x160165(0x257)]=_0x4fb982[_0x160165(0x257)],_0x4a955f[_0x160165(0x224)]=_0x4fb982[_0x160165(0x224)],_0x4a955f[_0x160165(0x2a0)]=_0x4fb982['resourceDigest']??null,_0x4a955f[_0x160165(0x250)]=_0x4fb982[_0x160165(0x250)],_0x2f8577[_0x160165(0x239)](_0x4a955f),_0x2f8577[_0x2f8577[_0x160165(0x22d)]-0x1][_0x160165(0x213)]=_0x4fb982['controlCapabilities']||[];}_0x3808f(_0x160165(0x297),{'target':_0x29a6c6,'previousConnections':_0x2f8577,'upgradeRuns':snapshotUpgradeRuns(_0x2cdd82),'catalogHash':_0x420eb4['catalogHash'],'generation':(readGeneration(_0x2cdd82)?.[_0x160165(0x224)]||0x0)+0x1});const _0x279185={};_0x279185[_0x160165(0x252)]=_0x160165(0x2ad),_0x279185[_0x160165(0x26f)]=!![],_0x279185[_0x160165(0x2af)]=_0x42611a,_0x279185[_0x160165(0x260)]=_0x29a6c6[_0x160165(0x200)],_0x279185[_0x160165(0x227)]=_0x29a6c6[_0x160165(0x257)],_0x3ad415=changeFence(_0x2cdd82,_0x3ad415['epoch'],_0x279185);}else{if(_0x3ad415[_0x160165(0x2af)]!==_0x42611a||_0x3ad415[_0x160165(0x260)]!==_0x29a6c6[_0x160165(0x200)]||_0x3ad415[_0x160165(0x227)]!==_0x29a6c6[_0x160165(0x257)])fail('ADMISSION_CONFLICT');}const _0x13f564=_0x46a160[_0x160165(0x264)]===undefined?0x78:Number(_0x46a160[_0x160165(0x264)]);if(!Number[_0x160165(0x29c)](_0x13f564)||_0x13f564<0x0||_0x13f564>0xe10)fail('INVALID_WAIT');const _0x4edc36=Date['now']()+_0x13f564*0x3e8;if(_0x3ad415[_0x160165(0x252)]===_0x160165(0x2ad))for(;;){if(_0x2cc59f()===_0x160165(0x246)){const _0x5b37a7={};_0x5b37a7[_0x160165(0x2b8)]='UPDATE_SUSPENDED';const _0x38df37={};_0x38df37[_0x160165(0x28f)]=[_0x5b37a7],_0x3808f('pending-safe-boundary',_0x38df37);const _0x2aaba2={};_0x2aaba2[_0x160165(0x2b8)]=_0x160165(0x205);const _0x5c40a0={};return _0x5c40a0['status']=_0x160165(0x267),_0x5c40a0[_0x160165(0x2af)]=_0x42611a,_0x5c40a0[_0x160165(0x28f)]=[_0x2aaba2],_0x5c40a0;}if(_0x2cc59f()==='cancel')return await _0xaf32b0();_0x184192=_0x495d75[_0x160165(0x27b)](_0x2cdd82);const _0x18a4c6=[];for(const _0x42b92b of _0x184192){const _0x11261a=await _0x495d75[_0x160165(0x226)](_0x42b92b);if(!_0x11261a[_0x160165(0x213)]?.['includes'](_0x160165(0x234)))continue;const _0x499339={..._0x29a6c6};_0x499339[_0x160165(0x2af)]=_0x42611a,_0x499339[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)];const _0x1b1e14=await _0x495d75['controlConnection'](_0x42b92b,'request-stop',_0x499339);if(_0x1b1e14['evidence']!==_0x160165(0x259)||!['stop-confirmed','pending-safe-boundary'][_0x160165(0x1fe)](_0x1b1e14['status']))_0x18a4c6[_0x160165(0x239)]({'code':_0x1b1e14[_0x160165(0x2b8)]||'WORKER_STOP_UNCONFIRMED','connectionId':_0x42b92b[_0x160165(0x219)]});}const _0x38af2e=workspaceOwnership(_0x2cdd82,readFence(_0x2cdd82),_0x7d29f9)['map'](_0x5a03d7=>({'code':_0x160165(0x253),'ownership':_0x5a03d7}));_0x38af2e[_0x160165(0x239)](..._0x18a4c6);for(const _0x3fb806 of _0x184192){const _0x5b734e={..._0x29a6c6};_0x5b734e[_0x160165(0x2af)]=_0x42611a,_0x5b734e[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)];const _0x338f6e=await _0x495d75[_0x160165(0x2c1)](_0x3fb806,_0x160165(0x1f8),_0x5b734e);if(_0x338f6e['evidence']!==_0x160165(0x259)||_0x338f6e[_0x160165(0x20f)]!=='safe-boundary')_0x38af2e[_0x160165(0x239)]({'code':_0x338f6e['code']||'OWNERSHIP_IN_FLIGHT','connectionId':_0x3fb806[_0x160165(0x219)],'ownership':_0x338f6e['blockers']||[]});}const _0x523d72=Object[_0x160165(0x230)](readFence(_0x2cdd82)['members']||{})[_0x160165(0x23a)](_0x41bb4f=>_0x41bb4f['state']!==_0x160165(0x258));for(const _0x5e8086 of _0x523d72)if(!_0x184192[_0x160165(0x2a2)](_0x1f0475=>_0x1f0475[_0x160165(0x219)]===_0x5e8086[_0x160165(0x219)]))_0x38af2e[_0x160165(0x239)]({'code':'CONNECTION_UNCONFIRMED','connectionId':_0x5e8086['connectionId']});if(!_0x38af2e['length']){const _0x3f08eb=new Set(_0x184192['map'](_0x2e3cde=>_0x2e3cde[_0x160165(0x219)]));try{_0x3ad415=freezeFence(_0x2cdd82,_0x3ad415['epoch'],{},_0x208291=>Object[_0x160165(0x230)](_0x208291[_0x160165(0x208)]||{})[_0x160165(0x23c)](_0x184b63=>_0x184b63[_0x160165(0x252)]===_0x160165(0x258)||_0x3f08eb[_0x160165(0x1ff)](_0x184b63[_0x160165(0x219)]))&&workspaceOwnership(_0x2cdd82,_0x208291,_0x7d29f9)[_0x160165(0x22d)]===0x0);break;}catch(_0x3d7e6c){if(_0x3d7e6c[_0x160165(0x2b8)]!=='OWNERSHIP_IN_FLIGHT')throw _0x3d7e6c;const _0x144be8={};_0x144be8[_0x160165(0x2b8)]=_0x3d7e6c[_0x160165(0x2b8)],_0x38af2e[_0x160165(0x239)](_0x144be8);}}const _0xe3594e={};_0xe3594e[_0x160165(0x28c)]=_0x29a6c6,_0xe3594e[_0x160165(0x28f)]=_0x38af2e,_0x3808f(_0x160165(0x267),_0xe3594e);const _0x1468bf={};_0x1468bf[_0x160165(0x20f)]='pending-safe-boundary',_0x1468bf[_0x160165(0x2af)]=_0x42611a,_0x1468bf[_0x160165(0x28f)]=_0x38af2e,_0x1468bf['resourcePlan']=_0x40ed12[_0x160165(0x20e)];if(Date[_0x160165(0x270)]()>=_0x4edc36)return _0x1468bf;await new Promise(_0x5e3490=>setTimeout(_0x5e3490,Math['min'](0x1f4,Math[_0x160165(0x2a1)](0x1,_0x4edc36-Date[_0x160165(0x270)]()))));}if(_0x3ad415[_0x160165(0x252)]!=='frozen')fail('ADMISSION_CONFLICT');if(_0x2cc59f()==='suspend'){const _0xa7138={};_0xa7138[_0x160165(0x2b8)]=_0x160165(0x205);const _0x4875d7={};_0x4875d7[_0x160165(0x28f)]=[_0xa7138],_0x3808f('pending-safe-boundary',_0x4875d7);const _0x247c2b={};_0x247c2b[_0x160165(0x2b8)]=_0x160165(0x205);const _0x1a2d0c={};return _0x1a2d0c[_0x160165(0x20f)]=_0x160165(0x267),_0x1a2d0c[_0x160165(0x2af)]=_0x42611a,_0x1a2d0c[_0x160165(0x28f)]=[_0x247c2b],_0x1a2d0c;}_0x184192=_0x495d75[_0x160165(0x27b)](_0x2cdd82)[_0x160165(0x23a)](_0x4be4aa=>!_0x4f136f||readGeneration(_0x2cdd82)[_0x160165(0x2bc)][_0x160165(0x1fe)](_0x4be4aa[_0x160165(0x219)]));const _0x11b5c8={..._0x29a6c6};_0x11b5c8['transactionId']=_0x42611a,_0x11b5c8[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)],_0x11b5c8[_0x160165(0x224)]=_0xb8ac4c[_0x160165(0x224)],_0x11b5c8[_0x160165(0x250)]=_0xb8ac4c[_0x160165(0x250)],_0x11b5c8[_0x160165(0x29e)]=_0x46a160[_0x160165(0x29e)];const _0x4f716f=_0x11b5c8;if(!_0x4f136f){if(_0x2cc59f()===_0x160165(0x28e))fail(_0x160165(0x233));if(!_0xb8ac4c[_0x160165(0x229)]){const _0x142d27=[...new Map([..._0xb8ac4c[_0x160165(0x254)]||[],...snapshotUpgradeRuns(_0x2cdd82)][_0x160165(0x290)](_0x27ae9e=>[JSON[_0x160165(0x2b6)]([_0x27ae9e[_0x160165(0x238)],_0x27ae9e['task'],_0x27ae9e['runId']]),_0x27ae9e]))['values']()],_0x2f44b1={};_0x2f44b1['upgradeRuns']=_0x142d27,_0x3808f('cancelling-runs',_0x2f44b1);const _0x1a11d9={};_0x1a11d9[_0x160165(0x2af)]=_0x42611a,_0x1a11d9['epoch']=_0x3ad415[_0x160165(0x280)],_0x1a11d9[_0x160165(0x28c)]=_0x29a6c6,_0x1a11d9[_0x160165(0x2aa)]=_0x142d27;const {cancelled:_0x25c1e0}=cancelUpgradeRuns(_0x2cdd82,_0x1a11d9),_0x1d235d={};_0x1d235d[_0x160165(0x229)]=!![],_0x1d235d['cancelledRuns']=_0x25c1e0,_0x3808f(_0x160165(0x20b),_0x1d235d);}if(!_0xb8ac4c[_0x160165(0x215)]){_0x3808f(_0x160165(0x294));for(const _0x10b47f of _0x184192){const _0x4feec1=await _0x495d75['controlConnection'](_0x10b47f,_0x160165(0x279),_0x4f716f),_0x1c454f=_0x4feec1[_0x160165(0x20f)]===_0x160165(0x27f)&&_0x4feec1[_0x160165(0x24f)]===!![]&&['version',_0x160165(0x257),_0x160165(0x224),_0x160165(0x250)]['every'](_0x2f757d=>_0x4feec1[_0x2f757d]===_0x4f716f[_0x2f757d])&&_0x4feec1[_0x160165(0x2a0)]===hashFile(path[_0x160165(0x2b7)](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)));if(_0x4feec1[_0x160165(0x245)]!=='authenticated-live-process'||_0x4feec1['status']!==_0x160165(0x281)&&!_0x1c454f)fail(_0x4feec1[_0x160165(0x2b8)]||'CHILD_STOP_UNCONFIRMED');}const _0x1c3b09={};_0x1c3b09[_0x160165(0x215)]=!![],_0x3808f(_0x160165(0x22a),_0x1c3b09);}_0x3808f(_0x160165(0x242)),_0x40ed12[_0x160165(0x1f1)](),_0x40ed69?.[_0x160165(0x1f1)](),_0x4f716f['resourceDigest']=hashFile(path['join'](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)));if(!_0x4f716f['resourceDigest'])fail('RESOURCE_DIGEST_MISSING');const _0xaa4b5a={};_0xaa4b5a['resourceDigest']=_0x4f716f[_0x160165(0x2a0)],_0x3808f('resources-applied',_0xaa4b5a);if(_0xb8ac4c['rebuildIndex']&&_0xb8ac4c[_0x160165(0x248)]?.[_0x160165(0x20f)]!=='built'){if(_0xb8ac4c['indexResult']?.[_0x160165(0x20f)]===_0x160165(0x25a))fail(_0x160165(0x25d));const _0x14cd25={};_0x14cd25[_0x160165(0x20f)]=_0x160165(0x25a);const _0x3adfd7={};_0x3adfd7['indexResult']=_0x14cd25,_0x3808f('rebuilding-index',_0x3adfd7);try{require(_0x160165(0x262))['execFileSync'](process['execPath'],[path[_0x160165(0x2b7)](_0x46a160[_0x160165(0x29e)],_0x160165(0x2b0),_0x160165(0x216),_0x160165(0x285)),_0x2cdd82],{'cwd':_0x2cdd82,'windowsHide':!![],'timeout':0x1d4c0,'stdio':_0x160165(0x288)});const _0x3fa615={};_0x3fa615[_0x160165(0x20f)]='built';const _0x3d4ccf={};_0x3d4ccf[_0x160165(0x248)]=_0x3fa615,_0x3808f(_0x160165(0x231),_0x3d4ccf);}catch(_0x33c948){const _0x4c5e55={};_0x4c5e55[_0x160165(0x20f)]=_0x160165(0x1f5),_0x4c5e55[_0x160165(0x2b8)]=_0x33c948[_0x160165(0x2b8)]||_0x160165(0x207);const _0x7ed880={};_0x7ed880[_0x160165(0x248)]=_0x4c5e55,_0x3808f(_0x160165(0x231),_0x7ed880),fail(_0x160165(0x207));}}for(const _0x357010 of _0x184192){const _0x9f156e=await _0x495d75[_0x160165(0x2c1)](_0x357010,'prepare-candidate',_0x4f716f);if(_0x9f156e[_0x160165(0x245)]!==_0x160165(0x259)||_0x9f156e['status']!=='candidate-ready')fail(_0x9f156e[_0x160165(0x2b8)]||_0x160165(0x21b));recordCandidate(_0x2cdd82,_0x42611a,_0x3ad415[_0x160165(0x280)],_0x9f156e);}_0x3808f(_0x160165(0x21f));if(_0x2cc59f()==='cancel')fail(_0x160165(0x233));if(_0x2cc59f()===_0x160165(0x246)){const _0x5d06d5={};_0x5d06d5[_0x160165(0x2b8)]=_0x160165(0x205);const _0xc76b80={};_0xc76b80['resourceDigest']=_0x4f716f[_0x160165(0x2a0)],_0xc76b80[_0x160165(0x28f)]=[_0x5d06d5],_0x3808f(_0x160165(0x267),_0xc76b80);const _0x2bc8b0={};_0x2bc8b0[_0x160165(0x2b8)]='UPDATE_SUSPENDED';const _0x48cb50={};return _0x48cb50[_0x160165(0x20f)]='pending-safe-boundary',_0x48cb50[_0x160165(0x2af)]=_0x42611a,_0x48cb50[_0x160165(0x28f)]=[_0x2bc8b0],_0x48cb50;}commitWorkspaceGeneration(_0x2cdd82,_0x42611a,_0x3ad415[_0x160165(0x280)],_0x4f716f),_0x4f136f=!![],projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,readGeneration(_0x2cdd82)),_0x40ed12[_0x160165(0x2bf)](_0x4f716f[_0x160165(0x224)]),_0x40ed69?.[_0x160165(0x2bf)](),_0x3808f(_0x160165(0x21c));}else{const _0x3750ca=readGeneration(_0x2cdd82);_0x4f716f[_0x160165(0x224)]=_0x3750ca['generation'],_0x4f716f[_0x160165(0x2a0)]=_0x3750ca[_0x160165(0x2a0)],_0x4f716f[_0x160165(0x250)]=_0x3750ca[_0x160165(0x250)];if(_0x40ed12[_0x160165(0x24c)]['status']!==_0x160165(0x21c))_0x40ed12[_0x160165(0x2bf)](_0x4f716f[_0x160165(0x224)]);_0x40ed69?.[_0x160165(0x1f1)](),_0x40ed69?.[_0x160165(0x2bf)]();const _0x4378b7=readFence(_0x2cdd82)[_0x160165(0x208)]||{};for(const _0x49f631 of _0x3750ca['connections'])if(_0x4378b7[_0x49f631]?.['state']!==_0x160165(0x258)&&!_0x184192['some'](_0x2d0489=>_0x2d0489[_0x160165(0x219)]===_0x49f631))fail(_0x160165(0x289));for(const _0xf4e06d of _0x184192){const _0x43999f=await _0x495d75[_0x160165(0x2c1)](_0xf4e06d,_0x160165(0x26d),_0x4f716f);if(_0x43999f[_0x160165(0x245)]!==_0x160165(0x259)||_0x43999f[_0x160165(0x20f)]!==_0x160165(0x27f))fail(_0x43999f[_0x160165(0x2b8)]||_0x160165(0x21b));recordCandidate(_0x2cdd82,_0x42611a,_0x3ad415['epoch'],_0x43999f);}}for(const _0x114b13 of _0x184192){const _0x1b20b3=await _0x495d75[_0x160165(0x2c1)](_0x114b13,_0x160165(0x202),_0x4f716f);if(_0x1b20b3[_0x160165(0x245)]!==_0x160165(0x259)||_0x1b20b3[_0x160165(0x20f)]!==_0x160165(0x210))fail(_0x1b20b3['code']||_0x160165(0x284));}openCommittedGeneration(_0x2cdd82,_0x42611a);const _0x1c266c=_0x184192[_0x160165(0x22d)]?'active':_0x160165(0x26c),_0x170f0a={};_0x170f0a[_0x160165(0x265)]=_0x184192['length']?_0x160165(0x259):null,_0x3808f(_0x1c266c,_0x170f0a);const _0x364c45={};_0x364c45[_0x160165(0x20f)]=_0x160165(0x23e);const _0x3998d8={};return _0x3998d8[_0x160165(0x20f)]=_0x1c266c,_0x3998d8[_0x160165(0x2af)]=_0x42611a,_0x3998d8['target']=_0x29a6c6,_0x3998d8['generation']=_0x4f716f[_0x160165(0x224)],_0x3998d8[_0x160165(0x2a0)]=_0x4f716f[_0x160165(0x2a0)],_0x3998d8[_0x160165(0x25c)]=!![],_0x3998d8['cancelledRuns']=_0xb8ac4c[_0x160165(0x298)]||[],_0x3998d8[_0x160165(0x248)]=_0xb8ac4c[_0x160165(0x248)]||_0x364c45,_0x3998d8;}catch(_0x5221e6){const _0x59aa2c={};_0x59aa2c[_0x160165(0x2b8)]=_0x5221e6['code']||_0x160165(0x20a),_0x59aa2c[_0x160165(0x2ac)]=_0xb8ac4c?.[_0x160165(0x20f)]||_0x160165(0x1f8);const _0x353ed6=[_0x59aa2c];if(!_0x4f136f&&_0x5221e6[_0x160165(0x2b8)]===_0x160165(0x205)){const _0x103005={};_0x103005['blockers']=_0x353ed6,_0x3808f(_0x160165(0x267),_0x103005);const _0x2a8257={};return _0x2a8257[_0x160165(0x20f)]=_0x160165(0x267),_0x2a8257[_0x160165(0x2af)]=_0x42611a,_0x2a8257[_0x160165(0x28f)]=_0x353ed6,_0x2a8257;}if(_0x4f136f){const _0x47e7a8={};_0x47e7a8['blockers']=_0x353ed6,_0x47e7a8[_0x160165(0x1fd)]=_0x160165(0x282),_0x3808f('roll-forward-required',_0x47e7a8);const _0x1fe8f6={};return _0x1fe8f6[_0x160165(0x20f)]=_0x160165(0x1f5),_0x1fe8f6[_0x160165(0x2af)]=_0x42611a,_0x1fe8f6[_0x160165(0x1fd)]=_0x160165(0x282),_0x1fe8f6[_0x160165(0x28f)]=_0x353ed6,_0x1fe8f6;}if(_0x3ad415['state']==='frozen'&&!['INDEX_OUTCOME_UNKNOWN',_0x160165(0x207)]['includes'](_0x5221e6['code']))try{const _0x150a88={};return _0x150a88[_0x160165(0x28f)]=_0x353ed6,_0x150a88[_0x160165(0x1fd)]=_0x160165(0x296),_0x3808f('recovering',_0x150a88),await _0x25b2e0(_0x353ed6);}catch(_0x16d258){const _0x1de2ec={'code':_0x16d258[_0x160165(0x2b8)]||_0x160165(0x247),..._0x16d258['mismatchFields']?{'mismatchFields':_0x16d258[_0x160165(0x203)]}:{}};_0x353ed6[_0x160165(0x239)](_0x1de2ec);}const _0x320974={};_0x320974['blockers']=_0x353ed6,_0x3808f(_0x160165(0x1f5),_0x320974);const _0x189786={};return _0x189786[_0x160165(0x20f)]=_0x160165(0x1f5),_0x189786[_0x160165(0x2af)]=_0x42611a,_0x189786['blockers']=_0x353ed6,_0x189786;}finally{_0x958569();}}const _0x352559={};_0x352559[_0x5a0941(0x2a8)]=activatePreparedWorkspace,module['exports']=_0x352559;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x1577(){const _0x2fda6b=['BM9KztPWyxrO','q0foreLeqvrfx1bsruzmsuDivf9nsvnnqvrdsa','ChvZAa','qurnsvntsu9ox0fmuKvbrfLFq0Xpu0ve','AxngAw5PDgu','DhjHBNnHy3rPB25jza','ndKWmg9frhvxqW','D29YA3nWywnLCW','C2vYDMLUzW','vvbeqvrfx0PpvvjoquXFvu5srufequjmrq','C3LZy2fSBa','yMXVy2TLCNm','Dg90ywW','Dg9mB3DLCKnHC2u','Agv4','ChvIBgLJs2v5','CgXHDgzVCM0','zxzPzgvUy2u','ywn0AxzL','DxbKyxrLlMXVy2S','ChjLzMXPz2H0','DMvYC2LVBG','zxbVy2G','BM93','CMvHBhbHDgHtEw5J','D29YA3nWywnL','DxbKyxrL','ywn0AxzHDgvxB3jRC3bHy2u','zMLSDgvY','ve9ptf9dqvrbte9hx1vovKvssuzjruq','mtuZmZi3mgPfB0LpEq','vvbeqvrfx0Lox1bst0Dsrvnt','zxHLy3v0B3i','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','y3jLyxrLsgfZAa','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','ywjVCNq','y2XVC2vK','DgfYz2v0','mZy4mdKWwhDZB0DQ','vvbeqvrfx0zbsuXfra','yxbWBhLszxnVDxjJzxm','zMfPBgvK','y29UBMvJDgLVBKLK','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','CMvZB3vYy2vqBgfU','su5ervHFuKvcvuLmrf9gquLmruq','C2HHmJu2','C3rHDgu','ywrK','BM9KztPJCNLWDg8','CgHHC2u','ve9ptf9dqvrbte9hx0niqu5hruq','ru5pru5u','lI9YDw50Aw1Llxn0B3jL','yMXVy2TLCG','CgvUzgLUz1n0yxr1CW','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y2f0y2G','CMvJDxjZAxzL','mZyZmtK2nfjbCLjZsa','C3rHCNrqzw5KAw5NrxHLy3v0B3i','lMfNzw50CW','zgLNzxn0','CMvJB25Uzwn0lxjLCxvPCMvK','C3rYAw5NAwz5','CMfUzg9Tvvvjra','CMvHzezPBgvtEw5J','Aw5JBhvKzxm','BwTKAxjtEw5J','AM9PBG','rvHfq1vut1jFu1rbuLrFrKfjteve','CMvSzwfZzq','lI91CgrHDguTzxHLy3v0B3i','C3rHDhvZ','odu2mtvtvevgv1m','ywn0AxzHDgLVBG','DgfYz2v0rgLNzxn0','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','Dw5HDMfPBgfIBgu','z2vUzxjHDgLVBG','ndrTD2zJEvK','zxHWB3j0CW','C2fMzs1IB3vUzgfYEq','CMvZB3vYy2veAwDLC3q','uKvhsvnuuKfusu9ox1vqrefurv9gquLmruq','zgLYBMfTzq','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','mJmYnZuYmeXbs1DiCG','lI93B3jRC3bHy2uTDhjHBNnHy3rPB24','CMvHzhK','lI9Jyw5KAwrHDguTChjLzMXPz2H0','BM9KztPMCW','su5wquXjrf9xquLu','CNvUDgLTzvjVB3q','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','D2fPDfnLy29Uzhm','BwfUAwzLC3qUANnVBG','CMvZB3vYy2vZqxbWBgLLza','BwfW','lMPZB24','q09otKvdveLptL9vtKnptKzjuK1fra','ChjLCgfYzq','uKvtt1vsq0vFreLhrvnux0niqu5hruq','CMvZB3vYy2vZlwfWCgXPzwq','y2f0ywXVz0HHC2G','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','mtu1mteYD0ruAK9Z','B3bLBG','nZy3n09SA0jdBW','y29Kzq','Cgf0Aa','BgvUz3rO','y29UBMvJDgLVBNm','Dg9VBenVDw50','CNvUDgLTzq','lNrTCa','oevPEvnIEa'];_0x1577=function(){return _0x2fda6b;};return _0x1577();}const _0x1b1cbd=_0xef5d;(function(_0x491886,_0x381f7f){const _0x22c45f=_0xef5d,_0x532d40=_0x491886();while(!![]){try{const _0x2079aa=parseInt(_0x22c45f(0x1be))/0x1+parseInt(_0x22c45f(0x195))/0x2*(-parseInt(_0x22c45f(0x18b))/0x3)+-parseInt(_0x22c45f(0x1e8))/0x4*(-parseInt(_0x22c45f(0x1e2))/0x5)+-parseInt(_0x22c45f(0x1b4))/0x6+parseInt(_0x22c45f(0x1d3))/0x7+parseInt(_0x22c45f(0x1ef))/0x8+-parseInt(_0x22c45f(0x18d))/0x9*(parseInt(_0x22c45f(0x19c))/0xa);if(_0x2079aa===_0x381f7f)break;else _0x532d40['push'](_0x532d40['shift']());}catch(_0x5ecf65){_0x532d40['push'](_0x532d40['shift']());}}}(_0x1577,0x76a10));function _0xef5d(_0x2fac29,_0x43d895){_0x2fac29=_0x2fac29-0x18a;const _0x157750=_0x1577();let _0xef5dff=_0x157750[_0x2fac29];if(_0xef5d['aJdiWr']===undefined){var _0x350fed=function(_0x18884f){const _0x3042c6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20e692='',_0x1e958b='';for(let _0x5185a4=0x0,_0x378904,_0x33b2e0,_0x1144c3=0x0;_0x33b2e0=_0x18884f['charAt'](_0x1144c3++);~_0x33b2e0&&(_0x378904=_0x5185a4%0x4?_0x378904*0x40+_0x33b2e0:_0x33b2e0,_0x5185a4++%0x4)?_0x20e692+=String['fromCharCode'](0xff&_0x378904>>(-0x2*_0x5185a4&0x6)):0x0){_0x33b2e0=_0x3042c6['indexOf'](_0x33b2e0);}for(let _0x38df8c=0x0,_0x417601=_0x20e692['length'];_0x38df8c<_0x417601;_0x38df8c++){_0x1e958b+='%'+('00'+_0x20e692['charCodeAt'](_0x38df8c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e958b);};_0xef5d['nADLNO']=_0x350fed,_0xef5d['VBZQIh']={},_0xef5d['aJdiWr']=!![];}const _0xbb5b2=_0x157750[0x0],_0x2d108c=_0x2fac29+_0xbb5b2,_0x19dfc0=_0xef5d['VBZQIh'][_0x2d108c];return!_0x19dfc0?(_0xef5dff=_0xef5d['nADLNO'](_0xef5dff),_0xef5d['VBZQIh'][_0x2d108c]=_0xef5dff):_0xef5dff=_0x19dfc0,_0xef5dff;}const fs=require(_0x1b1cbd(0x1f3)),path=require(_0x1b1cbd(0x196)),crypto=require(_0x1b1cbd(0x1c9)),{verifyRelease}=require(_0x1b1cbd(0x1cd)),{acquireRuntimeLock}=require('./runtime-lock'),{listWorkspaceReceipts,probeConnection,probeWorkspaceConnections,controlConnection}=require(_0x1b1cbd(0x1b8)),{readFence,changeFence}=require(_0x1b1cbd(0x1f6)),{preflightWorkspaceContracts}=require('../core/run-compatibility'),{preflightCandidate}=require(_0x1b1cbd(0x1f2)),pause=_0x3311a6=>new Promise(_0x388fda=>setTimeout(_0x388fda,_0x3311a6)),sha256=_0x1e4166=>{const _0x35ce0a=_0x1b1cbd;try{return crypto[_0x35ce0a(0x1b9)]('sha256')[_0x35ce0a(0x1b0)](fs['readFileSync'](_0x1e4166))[_0x35ce0a(0x1d6)]('hex');}catch(_0x17e206){if(_0x17e206[_0x35ce0a(0x18e)]===_0x35ce0a(0x1cc))return null;throw _0x17e206;}},readJson=_0x25a871=>{const _0x1b0bcb=_0x1b1cbd;try{return JSON['parse'](fs[_0x1b0bcb(0x1da)](_0x25a871,'utf8'));}catch(_0x4349ec){if(_0x4349ec[_0x1b0bcb(0x18e)]===_0x1b0bcb(0x1cc))return null;throw _0x4349ec;}},atomic=(_0xe54f52,_0x3f7bf6)=>{const _0x57de54=_0x1b1cbd,_0x2b4b34={};_0x2b4b34[_0x57de54(0x1d2)]=!![],fs[_0x57de54(0x1dc)](path[_0x57de54(0x1ed)](_0xe54f52),_0x2b4b34);const _0x465cb0=_0xe54f52+'.'+crypto['randomUUID']()+_0x57de54(0x194);fs['writeFileSync'](_0x465cb0,JSON[_0x57de54(0x1d8)](_0x3f7bf6,null,0x2)),fs['renameSync'](_0x465cb0,_0xe54f52);};async function activateWorkspace(_0x50c896){const _0x41a7c5=_0x1b1cbd,_0x3614e0=_0x50c896['waitSeconds']===undefined?0x78:Number(_0x50c896[_0x41a7c5(0x1f7)]),_0x2dd9c0={};_0x2dd9c0[_0x41a7c5(0x18e)]=_0x41a7c5(0x1f4);const _0x5a27c7={};_0x5a27c7[_0x41a7c5(0x1e1)]=_0x41a7c5(0x1c1),_0x5a27c7[_0x41a7c5(0x1a1)]=[_0x2dd9c0];if(!Number[_0x41a7c5(0x19a)](_0x3614e0)||_0x3614e0<0x0||_0x3614e0>0xe10)return _0x5a27c7;if(_0x50c896[_0x41a7c5(0x1c4)]){const _0x39b4e7=await require(_0x41a7c5(0x1f0))[_0x41a7c5(0x18a)](_0x50c896);if(_0x39b4e7['status']===_0x41a7c5(0x1ba)&&!_0x50c896[_0x41a7c5(0x191)])try{_0x39b4e7['executor']=await require(_0x41a7c5(0x1e0))[_0x41a7c5(0x1d4)](_0x50c896[_0x41a7c5(0x1af)],_0x50c896[_0x41a7c5(0x1a5)]);}catch(_0x30c9c5){const _0x3ded53={};_0x3ded53[_0x41a7c5(0x1e1)]=_0x41a7c5(0x1e6),_0x3ded53[_0x41a7c5(0x18e)]=_0x30c9c5['code']||_0x41a7c5(0x1de),_0x39b4e7[_0x41a7c5(0x1b6)]=_0x3ded53;}return _0x39b4e7;}const _0x924ae3=fs[_0x41a7c5(0x1ae)](_0x50c896[_0x41a7c5(0x1af)]),_0x39ddd1=fs[_0x41a7c5(0x1ae)](_0x50c896[_0x41a7c5(0x1f5)]),_0x573be6=verifyRelease(_0x50c896['release'],_0x50c896[_0x41a7c5(0x1a5)]),_0x175477=path[_0x41a7c5(0x1dd)](_0x924ae3,_0x41a7c5(0x1d5),_0x41a7c5(0x193)),_0x5c7b9d={};_0x5c7b9d[_0x41a7c5(0x1d2)]=!![],fs[_0x41a7c5(0x1dc)](_0x175477,_0x5c7b9d);const _0x109f04=path['join'](_0x175477,_0x41a7c5(0x1c3)),_0x35c61b=acquireRuntimeLock(path[_0x41a7c5(0x1dd)](_0x175477,_0x41a7c5(0x1a9))),_0x5e7377={};_0x5e7377[_0x41a7c5(0x18e)]=_0x41a7c5(0x1b5);const _0x21e0bc={};_0x21e0bc[_0x41a7c5(0x1e1)]='pending-safe-boundary',_0x21e0bc[_0x41a7c5(0x1a1)]=[_0x5e7377];if(!_0x35c61b)return _0x21e0bc;const _0x54f609={};_0x54f609[_0x41a7c5(0x1ab)]=_0x573be6[_0x41a7c5(0x1ab)],_0x54f609[_0x41a7c5(0x1d6)]=_0x573be6[_0x41a7c5(0x1d6)];const _0x5650b2=_0x54f609;let _0x372327;try{_0x372327=readJson(_0x109f04);}catch(_0x271a06){_0x35c61b();const _0x2871d8={};_0x2871d8[_0x41a7c5(0x18e)]=_0x41a7c5(0x19f);const _0x4c0758={};return _0x4c0758['status']='failed',_0x4c0758['blockers']=[_0x2871d8],_0x4c0758;}const _0x4210f2=_0x372327?.[_0x41a7c5(0x1bd)]?.[_0x41a7c5(0x1ab)]===_0x5650b2['version']&&_0x372327?.[_0x41a7c5(0x1bd)]?.[_0x41a7c5(0x1d6)]===_0x5650b2[_0x41a7c5(0x1d6)],_0x5d38e0=_0x4210f2&&_0x372327?.[_0x41a7c5(0x1e1)]===_0x41a7c5(0x1ba)?_0x372327['transactionId']:_0x4210f2&&_0x372327?.[_0x41a7c5(0x1e1)]===_0x41a7c5(0x1ff)?_0x372327['transactionId']:crypto[_0x41a7c5(0x1d9)]();let _0x2f69c6,_0x1104d3=![],_0x34c272=![],_0x2e1619=![];const _0x5e77af=(_0x5f3187,_0x5b1f50={})=>atomic(_0x109f04,{'transactionId':_0x5d38e0,'workspace':_0x924ae3,'target':_0x5650b2,'status':_0x5f3187,'changedAt':new Date()['toISOString'](),..._0x5b1f50});try{const _0x305711=readFence(_0x924ae3),_0x2233b5=_0x305711[_0x41a7c5(0x1c7)]==='closed'&&_0x4210f2&&_0x372327?.[_0x41a7c5(0x19b)]===_0x305711[_0x41a7c5(0x19b)]&&_0x372327?.[_0x41a7c5(0x1e1)]==='resources-applied';if(_0x305711['state']===_0x41a7c5(0x1bc)&&!_0x2233b5)return{'status':_0x41a7c5(0x1ba),'blockers':[{'code':_0x41a7c5(0x199),'transactionId':_0x305711['transactionId']}]};let _0x6c921d,_0x1ff8d9;if(_0x2233b5){_0x2f69c6=_0x305711,_0x34c272=!![],_0x1ff8d9=sha256(path[_0x41a7c5(0x1dd)](_0x924ae3,_0x41a7c5(0x1d5),'manifest.json'));const _0x270420={};_0x270420[_0x41a7c5(0x18e)]=_0x41a7c5(0x1fe);const _0x322703={};_0x322703[_0x41a7c5(0x1e1)]='blocked-project-sync',_0x322703[_0x41a7c5(0x19b)]=_0x5d38e0,_0x322703['blockers']=[_0x270420];if(!_0x1ff8d9||_0x1ff8d9!==_0x372327[_0x41a7c5(0x1eb)])return _0x322703;}else{const _0xd74f5d={};_0xd74f5d[_0x41a7c5(0x1f5)]=_0x39ddd1,_0xd74f5d[_0x41a7c5(0x1a5)]=_0x50c896[_0x41a7c5(0x1a5)];const _0x52967f=preflightWorkspaceContracts(_0x924ae3,_0xd74f5d);if(_0x52967f['status']!=='compatible')return{'status':_0x41a7c5(0x1e5),'blockers':_0x52967f[_0x41a7c5(0x1a1)],'contracts':_0x52967f};const _0x2f5869=await(_0x50c896[_0x41a7c5(0x1aa)]||preflightCandidate)({'release':_0x50c896[_0x41a7c5(0x1df)],'runtimeRoot':_0x39ddd1,'publicKey':_0x50c896['publicKey']}),_0x1539a0={};_0x1539a0[_0x41a7c5(0x18e)]=_0x41a7c5(0x197);const _0x2154eb={};_0x2154eb[_0x41a7c5(0x1e1)]=_0x41a7c5(0x1c1),_0x2154eb['blockers']=[_0x1539a0];if(_0x2f5869[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1f1)||_0x2f5869['version']!==_0x573be6['version']||_0x2f5869['digest']!==_0x573be6[_0x41a7c5(0x1d6)])return _0x2154eb;const _0x3dbc3b=listWorkspaceReceipts(_0x924ae3);for(const _0x230c71 of _0x3dbc3b){const _0x5f34ad=await probeConnection(_0x230c71);if(_0x5f34ad[_0x41a7c5(0x1a7)]!=='authenticated-live-process'||_0x5f34ad[_0x41a7c5(0x19e)]!==!![])return{'status':'legacy-ownership-unverified','blockers':[{'code':_0x5f34ad['code']||_0x41a7c5(0x1fc),'connectionId':_0x230c71[_0x41a7c5(0x1c2)]}]};if(!_0x5f34ad[_0x41a7c5(0x200)]&&(_0x5f34ad[_0x41a7c5(0x1ab)]!==_0x2f5869[_0x41a7c5(0x1ab)]||_0x5f34ad[_0x41a7c5(0x1d6)]!==_0x2f5869[_0x41a7c5(0x1d6)])||_0x5f34ad[_0x41a7c5(0x200)]&&_0x5f34ad[_0x41a7c5(0x200)]!==_0x2f5869[_0x41a7c5(0x200)])return{'status':_0x41a7c5(0x1d7),'blockers':[{'code':_0x5f34ad['catalogHash']?_0x41a7c5(0x1cb):_0x41a7c5(0x1b3),'connectionId':_0x230c71['connectionId']}]};}const _0x384234={};_0x384234['state']=_0x41a7c5(0x1bc),_0x384234['transactionId']=_0x5d38e0,_0x384234['targetVersion']=_0x573be6[_0x41a7c5(0x1ab)],_0x384234[_0x41a7c5(0x1e4)]=_0x573be6['digest'],_0x2f69c6=changeFence(_0x924ae3,_0x305711[_0x41a7c5(0x1ac)],_0x384234);const _0x932d0e={};_0x932d0e['protocolVersion']=_0x2f5869['protocolVersion'],_0x932d0e[_0x41a7c5(0x200)]=_0x2f5869['catalogHash'],_0x932d0e[_0x41a7c5(0x192)]=_0x2f5869[_0x41a7c5(0x192)],_0x5e77af(_0x41a7c5(0x1ba),{'connections':_0x3dbc3b[_0x41a7c5(0x1fa)](_0x5aeef7=>_0x5aeef7[_0x41a7c5(0x1c2)]),'candidatePreflight':_0x932d0e});const _0x4f071b=Date[_0x41a7c5(0x1ad)]()+_0x3614e0*0x3e8;let _0x402095=_0x3dbc3b;for(;;){_0x402095=listWorkspaceReceipts(_0x924ae3);const _0x14300b=[];for(const _0x17ea6c of _0x402095){const _0x5180aa=await probeConnection(_0x17ea6c);if(_0x5180aa[_0x41a7c5(0x1a7)]!==_0x41a7c5(0x1d0)||_0x5180aa['serving']!==!![]){const _0x301bf0={};_0x301bf0[_0x41a7c5(0x18e)]=_0x5180aa['code']||_0x41a7c5(0x1fc),_0x301bf0[_0x41a7c5(0x1c2)]=_0x17ea6c[_0x41a7c5(0x1c2)],_0x14300b[_0x41a7c5(0x198)](_0x301bf0);continue;}const _0x50765f=await controlConnection(_0x17ea6c,'prepare',_0x5650b2);if(_0x50765f[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1ea))_0x14300b['push']({'code':_0x50765f[_0x41a7c5(0x18e)]||_0x50765f[_0x41a7c5(0x1e1)],'connectionId':_0x17ea6c[_0x41a7c5(0x1c2)],'ownership':_0x50765f[_0x41a7c5(0x1a1)]||[]});}if(!_0x14300b[_0x41a7c5(0x190)])break;if(Date[_0x41a7c5(0x1ad)]()>=_0x4f071b){for(const _0x2e7d37 of _0x402095)await controlConnection(_0x2e7d37,_0x41a7c5(0x1bb))[_0x41a7c5(0x1d1)](()=>{});const _0x415483={};_0x415483[_0x41a7c5(0x1c7)]=_0x41a7c5(0x18c),_0x415483[_0x41a7c5(0x19b)]=_0x5d38e0,changeFence(_0x924ae3,_0x2f69c6['epoch'],_0x415483),_0x2f69c6=null;const _0x91e408={};_0x91e408[_0x41a7c5(0x1a1)]=_0x14300b,_0x5e77af('pending-safe-boundary',_0x91e408);const _0x3f9085={};return _0x3f9085[_0x41a7c5(0x1e1)]=_0x41a7c5(0x1ba),_0x3f9085[_0x41a7c5(0x1a1)]=_0x14300b,_0x3f9085[_0x41a7c5(0x19b)]=_0x5d38e0,_0x3f9085;}await pause(Math['min'](0x1f4,Math['max'](0x14,_0x4f071b-Date[_0x41a7c5(0x1ad)]())));}_0x1104d3=!![],_0x6c921d=await _0x50c896[_0x41a7c5(0x1c0)](),_0x1104d3=![],_0x34c272=!![],_0x1ff8d9=sha256(path['join'](_0x924ae3,_0x41a7c5(0x1d5),_0x41a7c5(0x1f8)));const _0x5b48d5={};_0x5b48d5[_0x41a7c5(0x1eb)]=_0x1ff8d9,_0x5e77af('resources-applied',_0x5b48d5);}const _0x42c923=new Set();for(;;){const _0x5e2f0e=listWorkspaceReceipts(_0x924ae3),_0x5a3158=_0x5e2f0e[_0x41a7c5(0x1b2)](_0x361b53=>!_0x42c923['has'](_0x361b53[_0x41a7c5(0x1c2)]));if(!_0x5a3158['length'])break;for(const _0x21f12b of _0x5a3158){const _0x45e3da=await controlConnection(_0x21f12b,_0x41a7c5(0x1fd),_0x5650b2);if(_0x45e3da[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1ea))return{'status':_0x41a7c5(0x1ba),'transactionId':_0x5d38e0,'resourcesApplied':!![],'blockers':[{'code':_0x45e3da[_0x41a7c5(0x18e)]||_0x45e3da[_0x41a7c5(0x1e1)],'connectionId':_0x21f12b[_0x41a7c5(0x1c2)],'ownership':_0x45e3da['blockers']||[]}]};const _0x70efe0={..._0x5650b2};_0x70efe0[_0x41a7c5(0x1f7)]=0x0;const _0x434109=await controlConnection(_0x21f12b,'activate',_0x70efe0);if(_0x434109[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1a8)){const _0x37a011={};_0x37a011[_0x41a7c5(0x1eb)]=_0x1ff8d9,_0x37a011[_0x41a7c5(0x1cf)]=_0x434109[_0x41a7c5(0x1e1)],_0x37a011[_0x41a7c5(0x1ce)]=_0x434109[_0x41a7c5(0x18e)]||_0x434109[_0x41a7c5(0x1e1)],_0x5e77af('resources-applied',_0x37a011);const _0x5e7751={};return _0x5e7751[_0x41a7c5(0x1e1)]=_0x434109[_0x41a7c5(0x1e1)],_0x5e7751[_0x41a7c5(0x19b)]=_0x5d38e0,_0x5e7751[_0x41a7c5(0x1f9)]=!![],_0x5e7751['blockers']=[{'code':_0x434109[_0x41a7c5(0x18e)]||_0x434109[_0x41a7c5(0x1e1)],'connectionId':_0x21f12b[_0x41a7c5(0x1c2)]}],_0x5e7751;}_0x42c923[_0x41a7c5(0x1c8)](_0x21f12b['connectionId']);}}_0x2e1619=!![];const _0x552c24={};_0x552c24[_0x41a7c5(0x1ab)]=_0x573be6[_0x41a7c5(0x1ab)],_0x552c24[_0x41a7c5(0x1d6)]=_0x573be6[_0x41a7c5(0x1d6)],_0x552c24['resourceDigest']=_0x1ff8d9;const _0x1297a8=await probeWorkspaceConnections(_0x924ae3,_0x552c24);if(_0x1297a8['total']&&_0x1297a8[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1a8)){const _0x127f66={};return _0x127f66[_0x41a7c5(0x1eb)]=_0x1ff8d9,_0x127f66['pendingStatus']=_0x41a7c5(0x1d7),_0x5e77af(_0x41a7c5(0x1ff),_0x127f66),{'status':_0x41a7c5(0x1d7),'transactionId':_0x5d38e0,'resourcesApplied':!![],'blockers':_0x1297a8[_0x41a7c5(0x191)][_0x41a7c5(0x1b2)](_0x1504e4=>_0x1504e4[_0x41a7c5(0x1e1)]!==_0x41a7c5(0x1a8))};}if(!_0x1297a8[_0x41a7c5(0x1a2)]){const _0x262276=process[_0x41a7c5(0x1a6)]==='win32'?_0x924ae3[_0x41a7c5(0x1a3)]():_0x924ae3;atomic(path[_0x41a7c5(0x1dd)](_0x39ddd1,_0x41a7c5(0x19d),crypto[_0x41a7c5(0x1b9)](_0x41a7c5(0x1c6))[_0x41a7c5(0x1b0)](_0x262276)['digest'](_0x41a7c5(0x1a4))+_0x41a7c5(0x1fb)),{'workspace':_0x262276,'version':_0x573be6[_0x41a7c5(0x1ab)],'digest':_0x573be6['digest'],'generation':null,'activation':_0x41a7c5(0x1ee)});}const _0x481c10={};_0x481c10['state']='open',_0x481c10['transactionId']=_0x5d38e0,_0x481c10[_0x41a7c5(0x1e7)]=_0x1297a8[_0x41a7c5(0x191)][0x0]?.['generation']||null,changeFence(_0x924ae3,_0x2f69c6['epoch'],_0x481c10),_0x2f69c6=null;const _0x5c5080=_0x1297a8[_0x41a7c5(0x1a2)]?'active':_0x41a7c5(0x1ee),_0x5b1e92={};_0x5b1e92[_0x41a7c5(0x1eb)]=_0x1ff8d9,_0x5b1e92['connections']=_0x1297a8['connections'],_0x5e77af(_0x5c5080,_0x5b1e92);const _0x4ee3d0={};return _0x4ee3d0[_0x41a7c5(0x1e1)]=_0x5c5080,_0x4ee3d0[_0x41a7c5(0x19b)]=_0x5d38e0,_0x4ee3d0['target']=_0x5650b2,_0x4ee3d0[_0x41a7c5(0x1eb)]=_0x1ff8d9,_0x4ee3d0[_0x41a7c5(0x1f9)]=!![],_0x4ee3d0[_0x41a7c5(0x191)]=_0x1297a8[_0x41a7c5(0x191)],_0x4ee3d0['deployed']=_0x6c921d,_0x4ee3d0;}catch(_0x38489c){const _0x18e3aa={};_0x18e3aa['code']=_0x38489c[_0x41a7c5(0x18e)]||_0x41a7c5(0x1bf),_0x18e3aa[_0x41a7c5(0x1ca)]=_0x1104d3?'resource-application':_0x34c272?_0x41a7c5(0x1e3):_0x41a7c5(0x1fd);const _0x14a367=_0x18e3aa;if(_0x38489c[_0x41a7c5(0x1a0)])_0x14a367[_0x41a7c5(0x1a0)]=_0x38489c[_0x41a7c5(0x1a0)];if(_0x38489c[_0x41a7c5(0x18f)])_0x14a367[_0x41a7c5(0x18f)]=_0x38489c[_0x41a7c5(0x18f)];const _0xd4ee19=[_0x41a7c5(0x1c5),_0x41a7c5(0x1ec)][_0x41a7c5(0x1db)](_0x14a367['code'])||_0x1104d3?_0x41a7c5(0x1b7):_0x41a7c5(0x1c1);if(_0x34c272)_0x5e77af(_0x41a7c5(0x1ff),{'resourceDigest':sha256(path[_0x41a7c5(0x1dd)](_0x924ae3,_0x41a7c5(0x1d5),'manifest.json')),'pendingStatus':_0xd4ee19,'blockers':[_0x14a367]});else _0x5e77af(_0xd4ee19,{'blockers':[_0x14a367],..._0x1104d3?{'resourceDigest':sha256(path[_0x41a7c5(0x1dd)](_0x924ae3,_0x41a7c5(0x1d5),_0x41a7c5(0x1f8)))}:{}});if(_0x2f69c6&&!_0x1104d3&&!_0x34c272&&!_0x2e1619){for(const _0xfc1ef6 of listWorkspaceReceipts(_0x924ae3))await controlConnection(_0xfc1ef6,'abort')[_0x41a7c5(0x1d1)](()=>{});try{const _0x3afdff={};_0x3afdff[_0x41a7c5(0x1c7)]=_0x41a7c5(0x18c),_0x3afdff[_0x41a7c5(0x19b)]=_0x5d38e0,changeFence(_0x924ae3,_0x2f69c6[_0x41a7c5(0x1ac)],_0x3afdff);}catch{}}const _0x2a03ba={};return _0x2a03ba[_0x41a7c5(0x1e1)]=_0xd4ee19,_0x2a03ba[_0x41a7c5(0x19b)]=_0x5d38e0,_0x2a03ba[_0x41a7c5(0x1a1)]=[_0x14a367],_0x2a03ba;}finally{_0x35c61b();}}const _0x4125b2={};_0x4125b2[_0x1b1cbd(0x1b1)]=activateWorkspace,module[_0x1b1cbd(0x1e9)]=_0x4125b2;
|
|
1
|
+
'use strict';const _0x5c7972=_0x1f50;function _0x1f50(_0x4ecdfb,_0x27cc4f){_0x4ecdfb=_0x4ecdfb-0xe7;const _0x24e98f=_0x24e9();let _0x1f50a9=_0x24e98f[_0x4ecdfb];if(_0x1f50['SEQbGd']===undefined){var _0x4ef0c6=function(_0x30dfbe){const _0x475500='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3dc95d='',_0x3bf7b7='';for(let _0x330134=0x0,_0xdaa9c0,_0x5a2748,_0x3265a9=0x0;_0x5a2748=_0x30dfbe['charAt'](_0x3265a9++);~_0x5a2748&&(_0xdaa9c0=_0x330134%0x4?_0xdaa9c0*0x40+_0x5a2748:_0x5a2748,_0x330134++%0x4)?_0x3dc95d+=String['fromCharCode'](0xff&_0xdaa9c0>>(-0x2*_0x330134&0x6)):0x0){_0x5a2748=_0x475500['indexOf'](_0x5a2748);}for(let _0x23210a=0x0,_0x43a6e8=_0x3dc95d['length'];_0x23210a<_0x43a6e8;_0x23210a++){_0x3bf7b7+='%'+('00'+_0x3dc95d['charCodeAt'](_0x23210a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bf7b7);};_0x1f50['CBdtBD']=_0x4ef0c6,_0x1f50['UcjUSd']={},_0x1f50['SEQbGd']=!![];}const _0x501ece=_0x24e98f[0x0],_0x2c4ad6=_0x4ecdfb+_0x501ece,_0x3669bd=_0x1f50['UcjUSd'][_0x2c4ad6];return!_0x3669bd?(_0x1f50a9=_0x1f50['CBdtBD'](_0x1f50a9),_0x1f50['UcjUSd'][_0x2c4ad6]=_0x1f50a9):_0x1f50a9=_0x3669bd,_0x1f50a9;}(function(_0x27cd5c,_0x3d8863){const _0x16cef0=_0x1f50,_0x1b5be8=_0x27cd5c();while(!![]){try{const _0x595dd8=parseInt(_0x16cef0(0x14f))/0x1+parseInt(_0x16cef0(0x15d))/0x2+parseInt(_0x16cef0(0xfd))/0x3*(-parseInt(_0x16cef0(0x147))/0x4)+parseInt(_0x16cef0(0xeb))/0x5*(parseInt(_0x16cef0(0x126))/0x6)+-parseInt(_0x16cef0(0x158))/0x7+-parseInt(_0x16cef0(0x120))/0x8*(parseInt(_0x16cef0(0x101))/0x9)+-parseInt(_0x16cef0(0x137))/0xa*(parseInt(_0x16cef0(0x118))/0xb);if(_0x595dd8===_0x3d8863)break;else _0x1b5be8['push'](_0x1b5be8['shift']());}catch(_0x45deed){_0x1b5be8['push'](_0x1b5be8['shift']());}}}(_0x24e9,0x7c9e6));const fs=require(_0x5c7972(0x156)),path=require(_0x5c7972(0x14a)),crypto=require(_0x5c7972(0x12f)),{verifyRelease}=require(_0x5c7972(0x153)),{acquireRuntimeLock}=require(_0x5c7972(0xf9)),{listWorkspaceReceipts,probeConnection,probeWorkspaceConnections,controlConnection}=require('./connection-activation'),{readFence,changeFence}=require(_0x5c7972(0x159)),{preflightWorkspaceContracts}=require(_0x5c7972(0x13a)),{preflightCandidate}=require(_0x5c7972(0x100)),pause=_0x5ce498=>new Promise(_0x4aca6f=>setTimeout(_0x4aca6f,_0x5ce498)),sha256=_0x87d712=>{const _0x50bb10=_0x5c7972;try{return crypto[_0x50bb10(0x15f)](_0x50bb10(0x130))['update'](fs['readFileSync'](_0x87d712))[_0x50bb10(0x140)](_0x50bb10(0xec));}catch(_0x404c13){if(_0x404c13[_0x50bb10(0xed)]===_0x50bb10(0x11f))return null;throw _0x404c13;}},readJson=_0x2d9a2d=>{const _0x2ace08=_0x5c7972;try{return JSON[_0x2ace08(0x12c)](fs[_0x2ace08(0x12b)](_0x2d9a2d,_0x2ace08(0x139)));}catch(_0x50e8c7){if(_0x50e8c7[_0x2ace08(0xed)]==='ENOENT')return null;throw _0x50e8c7;}},atomic=(_0x2ce8de,_0x3a6f5f)=>{const _0xa84f8b=_0x5c7972,_0x432564={};_0x432564[_0xa84f8b(0x11b)]=!![],fs[_0xa84f8b(0xe7)](path[_0xa84f8b(0x121)](_0x2ce8de),_0x432564);const _0x4fd2b8=_0x2ce8de+'.'+crypto[_0xa84f8b(0xee)]()+_0xa84f8b(0x131);fs[_0xa84f8b(0x124)](_0x4fd2b8,JSON['stringify'](_0x3a6f5f,null,0x2)),fs['renameSync'](_0x4fd2b8,_0x2ce8de);};async function activateWorkspace(_0x587a5d){const _0x4eceeb=_0x5c7972,_0x53ecdb=_0x587a5d[_0x4eceeb(0xfe)]===undefined?0x78:Number(_0x587a5d[_0x4eceeb(0xfe)]),_0x48eb79={};_0x48eb79[_0x4eceeb(0xed)]=_0x4eceeb(0xf4);const _0x8967f9={};_0x8967f9[_0x4eceeb(0x129)]=_0x4eceeb(0x14e),_0x8967f9[_0x4eceeb(0xf2)]=[_0x48eb79];if(!Number[_0x4eceeb(0x117)](_0x53ecdb)||_0x53ecdb<0x0||_0x53ecdb>0xe10)return _0x8967f9;if(_0x587a5d[_0x4eceeb(0x136)]){const _0x5a3241=await require(_0x4eceeb(0x12d))[_0x4eceeb(0x15e)](_0x587a5d);if(_0x5a3241[_0x4eceeb(0x129)]===_0x4eceeb(0xf6)&&!_0x587a5d['connections'])try{_0x5a3241[_0x4eceeb(0x123)]=await require(_0x4eceeb(0x105))['startPendingExecutor'](_0x587a5d['workspace'],_0x587a5d[_0x4eceeb(0x119)]);}catch(_0x5bae26){const _0x14ed4b={};_0x14ed4b[_0x4eceeb(0x129)]=_0x4eceeb(0x15c),_0x14ed4b['code']=_0x5bae26[_0x4eceeb(0xed)]||_0x4eceeb(0x15a),_0x5a3241[_0x4eceeb(0x123)]=_0x14ed4b;}return _0x5a3241;}const _0x321718=fs[_0x4eceeb(0xea)](_0x587a5d[_0x4eceeb(0xf7)]),_0x5a1c58=fs[_0x4eceeb(0xea)](_0x587a5d['runtimeRoot']),_0x3a2004=verifyRelease(_0x587a5d[_0x4eceeb(0x10e)],_0x587a5d[_0x4eceeb(0x119)]),_0xd0dc5c=path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13c)),_0x34cb97={};_0x34cb97[_0x4eceeb(0x11b)]=!![],fs[_0x4eceeb(0xe7)](_0xd0dc5c,_0x34cb97);const _0x4f5c12=path[_0x4eceeb(0x106)](_0xd0dc5c,_0x4eceeb(0x152)),_0x2fa0c6=acquireRuntimeLock(path[_0x4eceeb(0x106)](_0xd0dc5c,_0x4eceeb(0xf0))),_0x1987a4={};_0x1987a4[_0x4eceeb(0xed)]=_0x4eceeb(0x127);const _0x9b8d7d={};_0x9b8d7d[_0x4eceeb(0x129)]=_0x4eceeb(0xf6),_0x9b8d7d[_0x4eceeb(0xf2)]=[_0x1987a4];if(!_0x2fa0c6)return _0x9b8d7d;const _0x15d506={};_0x15d506['version']=_0x3a2004[_0x4eceeb(0x148)],_0x15d506[_0x4eceeb(0x140)]=_0x3a2004[_0x4eceeb(0x140)];const _0x58ab73=_0x15d506;let _0xd3be91;try{_0xd3be91=readJson(_0x4f5c12);}catch(_0x4b00b2){_0x2fa0c6();const _0x8521cb={};_0x8521cb[_0x4eceeb(0xed)]=_0x4eceeb(0x150);const _0x77b7bf={};return _0x77b7bf[_0x4eceeb(0x129)]='failed',_0x77b7bf[_0x4eceeb(0xf2)]=[_0x8521cb],_0x77b7bf;}const _0x55b125=_0xd3be91?.[_0x4eceeb(0x134)]?.[_0x4eceeb(0x148)]===_0x58ab73[_0x4eceeb(0x148)]&&_0xd3be91?.[_0x4eceeb(0x134)]?.[_0x4eceeb(0x140)]===_0x58ab73[_0x4eceeb(0x140)],_0x36d033=_0x55b125&&_0xd3be91?.[_0x4eceeb(0x129)]==='pending-safe-boundary'?_0xd3be91[_0x4eceeb(0x14d)]:_0x55b125&&_0xd3be91?.[_0x4eceeb(0x129)]===_0x4eceeb(0xef)?_0xd3be91[_0x4eceeb(0x14d)]:crypto[_0x4eceeb(0xee)]();let _0x14520f,_0x37a4db=![],_0x252b32=![],_0x417f60=![];const _0xf405da=(_0x5ad2b9,_0x5b1200={})=>atomic(_0x4f5c12,{'transactionId':_0x36d033,'workspace':_0x321718,'target':_0x58ab73,'status':_0x5ad2b9,'changedAt':new Date()[_0x4eceeb(0x160)](),..._0x5b1200});try{const _0xcac80a=readFence(_0x321718),_0x496050=_0xcac80a[_0x4eceeb(0x13b)]===_0x4eceeb(0x110)&&_0x55b125&&_0xd3be91?.['transactionId']===_0xcac80a['transactionId']&&_0xd3be91?.['status']===_0x4eceeb(0xef);if(_0xcac80a[_0x4eceeb(0x13b)]===_0x4eceeb(0x110)&&!_0x496050)return{'status':_0x4eceeb(0xf6),'blockers':[{'code':_0x4eceeb(0x10c),'transactionId':_0xcac80a[_0x4eceeb(0x14d)]}]};let _0x5513b8,_0x5a419c;if(_0x496050){_0x14520f=_0xcac80a,_0x252b32=!![],_0x5a419c=sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)));const _0x424f91={};_0x424f91[_0x4eceeb(0xed)]='RESOURCE_DIGEST_CHANGED';const _0x16a543={};_0x16a543[_0x4eceeb(0x129)]=_0x4eceeb(0xf1),_0x16a543['transactionId']=_0x36d033,_0x16a543['blockers']=[_0x424f91];if(!_0x5a419c||_0x5a419c!==_0xd3be91['resourceDigest'])return _0x16a543;}else{const _0x2dd0b1={};_0x2dd0b1[_0x4eceeb(0xf3)]=_0x5a1c58,_0x2dd0b1[_0x4eceeb(0x119)]=_0x587a5d[_0x4eceeb(0x119)];const _0x532690=preflightWorkspaceContracts(_0x321718,_0x2dd0b1);if(_0x532690['status']!==_0x4eceeb(0x10d))return{'status':_0x4eceeb(0x122),'blockers':_0x532690['blockers'],'contracts':_0x532690};const _0x25d16e=await(_0x587a5d[_0x4eceeb(0x154)]||preflightCandidate)({'release':_0x587a5d['release'],'runtimeRoot':_0x5a1c58,'publicKey':_0x587a5d[_0x4eceeb(0x119)]}),_0x3ac38c={};_0x3ac38c[_0x4eceeb(0xed)]='CANDIDATE_PREFLIGHT_MISMATCH';const _0x1cde88={};_0x1cde88['status']=_0x4eceeb(0x14e),_0x1cde88[_0x4eceeb(0xf2)]=[_0x3ac38c];if(_0x25d16e['status']!=='ready'||_0x25d16e[_0x4eceeb(0x148)]!==_0x3a2004['version']||_0x25d16e[_0x4eceeb(0x140)]!==_0x3a2004[_0x4eceeb(0x140)])return _0x1cde88;const _0x34eb6b=listWorkspaceReceipts(_0x321718);for(const _0x294f43 of _0x34eb6b){const _0x14a7c5=await probeConnection(_0x294f43);if(_0x14a7c5[_0x4eceeb(0x12e)]!=='authenticated-live-process'||_0x14a7c5[_0x4eceeb(0x14b)]!==!![])return{'status':'legacy-ownership-unverified','blockers':[{'code':_0x14a7c5['code']||_0x4eceeb(0xf5),'connectionId':_0x294f43['connectionId']}]};if(!_0x14a7c5['catalogHash']&&(_0x14a7c5[_0x4eceeb(0x148)]!==_0x25d16e[_0x4eceeb(0x148)]||_0x14a7c5['digest']!==_0x25d16e[_0x4eceeb(0x140)])||_0x14a7c5[_0x4eceeb(0xfb)]&&_0x14a7c5[_0x4eceeb(0xfb)]!==_0x25d16e[_0x4eceeb(0xfb)])return{'status':_0x4eceeb(0x115),'blockers':[{'code':_0x14a7c5['catalogHash']?_0x4eceeb(0x142):'TOOL_CATALOG_UNVERIFIED','connectionId':_0x294f43[_0x4eceeb(0x15b)]}]};}const _0x14e36f={};_0x14e36f[_0x4eceeb(0x13b)]=_0x4eceeb(0x110),_0x14e36f[_0x4eceeb(0x14d)]=_0x36d033,_0x14e36f['targetVersion']=_0x3a2004[_0x4eceeb(0x148)],_0x14e36f[_0x4eceeb(0x132)]=_0x3a2004[_0x4eceeb(0x140)],_0x14520f=changeFence(_0x321718,_0xcac80a[_0x4eceeb(0xff)],_0x14e36f);const _0x32a1d4={};_0x32a1d4['protocolVersion']=_0x25d16e['protocolVersion'],_0x32a1d4[_0x4eceeb(0xfb)]=_0x25d16e[_0x4eceeb(0xfb)],_0x32a1d4[_0x4eceeb(0xe9)]=_0x25d16e[_0x4eceeb(0xe9)],_0xf405da(_0x4eceeb(0xf6),{'connections':_0x34eb6b[_0x4eceeb(0x103)](_0x3dcb12=>_0x3dcb12[_0x4eceeb(0x15b)]),'candidatePreflight':_0x32a1d4});const _0x5c771d=Date[_0x4eceeb(0xfa)]()+_0x53ecdb*0x3e8;let _0x2f908c=_0x34eb6b;for(;;){_0x2f908c=listWorkspaceReceipts(_0x321718);const _0x4dd191=[];for(const _0x54a5d7 of _0x2f908c){const _0x329f5a=await probeConnection(_0x54a5d7);if(_0x329f5a[_0x4eceeb(0x12e)]!==_0x4eceeb(0x10b)||_0x329f5a['serving']!==!![]){const _0x463501={};_0x463501[_0x4eceeb(0xed)]=_0x329f5a[_0x4eceeb(0xed)]||'CONNECTION_UNCONFIRMED',_0x463501[_0x4eceeb(0x15b)]=_0x54a5d7[_0x4eceeb(0x15b)],_0x4dd191[_0x4eceeb(0x11d)](_0x463501);continue;}const _0x136a5f=await controlConnection(_0x54a5d7,_0x4eceeb(0x151),_0x58ab73);if(_0x136a5f[_0x4eceeb(0x129)]!=='safe-boundary')_0x4dd191[_0x4eceeb(0x11d)]({'code':_0x136a5f[_0x4eceeb(0xed)]||_0x136a5f[_0x4eceeb(0x129)],'connectionId':_0x54a5d7['connectionId'],'ownership':_0x136a5f[_0x4eceeb(0xf2)]||[]});}if(!_0x4dd191['length'])break;if(Date[_0x4eceeb(0xfa)]()>=_0x5c771d){for(const _0x3cd28f of _0x2f908c)await controlConnection(_0x3cd28f,_0x4eceeb(0x11e))[_0x4eceeb(0x161)](()=>{});const _0x44d0b8={};_0x44d0b8[_0x4eceeb(0x13b)]=_0x4eceeb(0x125),_0x44d0b8['transactionId']=_0x36d033,changeFence(_0x321718,_0x14520f[_0x4eceeb(0xff)],_0x44d0b8),_0x14520f=null;const _0x969755={};_0x969755[_0x4eceeb(0xf2)]=_0x4dd191,_0xf405da(_0x4eceeb(0xf6),_0x969755);const _0x1e681d={};return _0x1e681d['status']=_0x4eceeb(0xf6),_0x1e681d['blockers']=_0x4dd191,_0x1e681d[_0x4eceeb(0x14d)]=_0x36d033,_0x1e681d;}await pause(Math[_0x4eceeb(0xfc)](0x1f4,Math['max'](0x14,_0x5c771d-Date['now']())));}_0x37a4db=!![],_0x5513b8=await _0x587a5d['applyResources'](),_0x37a4db=![],_0x252b32=!![],_0x5a419c=sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)));const _0x3f7f9c={};_0x3f7f9c[_0x4eceeb(0x114)]=_0x5a419c,_0xf405da(_0x4eceeb(0xef),_0x3f7f9c);}const _0x40e17e=new Set();for(;;){const _0x112565=listWorkspaceReceipts(_0x321718),_0x232de6=_0x112565[_0x4eceeb(0x149)](_0x380139=>!_0x40e17e[_0x4eceeb(0x112)](_0x380139[_0x4eceeb(0x15b)]));if(!_0x232de6[_0x4eceeb(0x155)])break;for(const _0x70e70 of _0x232de6){const _0x4fdfb4=await controlConnection(_0x70e70,_0x4eceeb(0x151),_0x58ab73);if(_0x4fdfb4[_0x4eceeb(0x129)]!==_0x4eceeb(0x138))return{'status':_0x4eceeb(0xf6),'transactionId':_0x36d033,'resourcesApplied':!![],'blockers':[{'code':_0x4fdfb4['code']||_0x4fdfb4['status'],'connectionId':_0x70e70['connectionId'],'ownership':_0x4fdfb4['blockers']||[]}]};const _0x91141c={..._0x58ab73};_0x91141c[_0x4eceeb(0xfe)]=0x0;const _0x2c9e25=await controlConnection(_0x70e70,'activate',_0x91141c);if(_0x2c9e25[_0x4eceeb(0x129)]!==_0x4eceeb(0xe8)){const _0x8cd2d4={};_0x8cd2d4[_0x4eceeb(0x114)]=_0x5a419c,_0x8cd2d4[_0x4eceeb(0x133)]=_0x2c9e25[_0x4eceeb(0x129)],_0x8cd2d4[_0x4eceeb(0x13d)]=_0x2c9e25[_0x4eceeb(0xed)]||_0x2c9e25['status'],_0xf405da('resources-applied',_0x8cd2d4);const _0x1f5a1a={};return _0x1f5a1a[_0x4eceeb(0x129)]=_0x2c9e25[_0x4eceeb(0x129)],_0x1f5a1a[_0x4eceeb(0x14d)]=_0x36d033,_0x1f5a1a[_0x4eceeb(0x11a)]=!![],_0x1f5a1a[_0x4eceeb(0xf2)]=[{'code':_0x2c9e25[_0x4eceeb(0xed)]||_0x2c9e25[_0x4eceeb(0x129)],'connectionId':_0x70e70[_0x4eceeb(0x15b)]}],_0x1f5a1a;}_0x40e17e[_0x4eceeb(0xf8)](_0x70e70[_0x4eceeb(0x15b)]);}}_0x417f60=!![];const _0x245c68={};_0x245c68[_0x4eceeb(0x148)]=_0x3a2004[_0x4eceeb(0x148)],_0x245c68[_0x4eceeb(0x140)]=_0x3a2004['digest'],_0x245c68['resourceDigest']=_0x5a419c;const _0x288ac7=await probeWorkspaceConnections(_0x321718,_0x245c68);if(_0x288ac7[_0x4eceeb(0x128)]&&_0x288ac7[_0x4eceeb(0x129)]!=='active'){const _0x14f445={};return _0x14f445[_0x4eceeb(0x114)]=_0x5a419c,_0x14f445[_0x4eceeb(0x133)]='reconnect-required',_0xf405da(_0x4eceeb(0xef),_0x14f445),{'status':'reconnect-required','transactionId':_0x36d033,'resourcesApplied':!![],'blockers':_0x288ac7[_0x4eceeb(0x113)]['filter'](_0x212a44=>_0x212a44[_0x4eceeb(0x129)]!==_0x4eceeb(0xe8))};}if(!_0x288ac7[_0x4eceeb(0x128)]){const _0x4951e6=process[_0x4eceeb(0x104)]===_0x4eceeb(0x144)?_0x321718[_0x4eceeb(0x108)]():_0x321718;atomic(path[_0x4eceeb(0x106)](_0x5a1c58,_0x4eceeb(0x10a),crypto['createHash'](_0x4eceeb(0x130))[_0x4eceeb(0x107)](_0x4951e6)['digest'](_0x4eceeb(0xec))+_0x4eceeb(0x10f)),{'workspace':_0x4951e6,'version':_0x3a2004[_0x4eceeb(0x148)],'digest':_0x3a2004[_0x4eceeb(0x140)],'generation':null,'activation':_0x4eceeb(0x11c)});}const _0x2985c6={};_0x2985c6['state']=_0x4eceeb(0x125),_0x2985c6[_0x4eceeb(0x14d)]=_0x36d033,_0x2985c6[_0x4eceeb(0x13f)]=_0x288ac7['connections'][0x0]?.[_0x4eceeb(0x13f)]||null,changeFence(_0x321718,_0x14520f['epoch'],_0x2985c6),_0x14520f=null;const _0x17c7e9=_0x288ac7[_0x4eceeb(0x128)]?_0x4eceeb(0xe8):_0x4eceeb(0x11c),_0x1e4809={};_0x1e4809[_0x4eceeb(0x114)]=_0x5a419c,_0x1e4809['connections']=_0x288ac7[_0x4eceeb(0x113)],_0xf405da(_0x17c7e9,_0x1e4809);const _0x395ae4={};return _0x395ae4['status']=_0x17c7e9,_0x395ae4[_0x4eceeb(0x14d)]=_0x36d033,_0x395ae4['target']=_0x58ab73,_0x395ae4[_0x4eceeb(0x114)]=_0x5a419c,_0x395ae4[_0x4eceeb(0x11a)]=!![],_0x395ae4[_0x4eceeb(0x113)]=_0x288ac7[_0x4eceeb(0x113)],_0x395ae4[_0x4eceeb(0x109)]=_0x5513b8,_0x395ae4;}catch(_0x2e3c5d){const _0x403c93={};_0x403c93[_0x4eceeb(0xed)]=_0x2e3c5d[_0x4eceeb(0xed)]||_0x4eceeb(0x141),_0x403c93[_0x4eceeb(0x146)]=_0x37a4db?'resource-application':_0x252b32?_0x4eceeb(0x143):_0x4eceeb(0x151);const _0x3bb051=_0x403c93;if(_0x2e3c5d[_0x4eceeb(0x111)])_0x3bb051['syscall']=_0x2e3c5d[_0x4eceeb(0x111)];if(_0x2e3c5d['path'])_0x3bb051[_0x4eceeb(0x12a)]=_0x2e3c5d['path'];const _0x5de158=[_0x4eceeb(0x14c),_0x4eceeb(0x135)][_0x4eceeb(0x157)](_0x3bb051['code'])||_0x37a4db?_0x4eceeb(0xf1):'failed';if(_0x252b32)_0xf405da(_0x4eceeb(0xef),{'resourceDigest':sha256(path['join'](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e))),'pendingStatus':_0x5de158,'blockers':[_0x3bb051]});else _0xf405da(_0x5de158,{'blockers':[_0x3bb051],..._0x37a4db?{'resourceDigest':sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)))}:{}});if(_0x14520f&&!_0x37a4db&&!_0x252b32&&!_0x417f60){for(const _0x1b0845 of listWorkspaceReceipts(_0x321718))await controlConnection(_0x1b0845,_0x4eceeb(0x11e))['catch'](()=>{});try{const _0x43ad55={};_0x43ad55[_0x4eceeb(0x13b)]=_0x4eceeb(0x125),_0x43ad55['transactionId']=_0x36d033,changeFence(_0x321718,_0x14520f[_0x4eceeb(0xff)],_0x43ad55);}catch{}}const _0x1fe8cf={};return _0x1fe8cf[_0x4eceeb(0x129)]=_0x5de158,_0x1fe8cf[_0x4eceeb(0x14d)]=_0x36d033,_0x1fe8cf[_0x4eceeb(0xf2)]=[_0x3bb051],_0x1fe8cf;}finally{_0x2fa0c6();}}function _0x24e9(){const _0xc4bdf3=['Dg9mB3DLCKnHC2u','zgvWBg95zwq','D29YA3nWywnLCW','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','qurnsvntsu9ox0fmuKvbrfLFq0Xpu0ve','y29TCgf0AwjSzq','CMvSzwfZzq','lMPZB24','y2XVC2vK','C3LZy2fSBa','AgfZ','y29UBMvJDgLVBNm','CMvZB3vYy2veAwDLC3q','CMvJB25Uzwn0lxjLCxvPCMvK','zxHWB3j0CW','AxngAw5PDgu','ntG5nZfozvfNqLO','ChvIBgLJs2v5','CMvZB3vYy2vZqxbWBgLLza','CMvJDxjZAxzL','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ChvZAa','ywjVCNq','ru5pru5u','mtzSBvzfs1O','zgLYBMfTzq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','zxHLy3v0B3i','D3jPDgvgAwXLu3LUyW','B3bLBG','mta5ndyYmNneqMXIrW','vvbeqvrfx0Lox1bst0Dsrvnt','Dg90ywW','C3rHDhvZ','Cgf0Aa','CMvHzezPBgvtEw5J','CgfYC2u','lI93B3jRC3bHy2uTDhjHBNnHy3rPB24','zxzPzgvUy2u','BM9KztPJCNLWDg8','C2HHmJu2','lNrTCa','DgfYz2v0rgLNzxn0','CgvUzgLUz1n0yxr1CW','DgfYz2v0','uKvhsvnuuKfusu9ox1vqrefurv9gquLmruq','CMvZB3vYy2vqBgfU','nZCWD2f5Egjb','C2fMzs1IB3vUzgfYEq','DxrMoa','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','C3rHDgu','CNvUDgLTzq','yMXVy2TLCG','BwfUAwzLC3qUANnVBG','z2vUzxjHDgLVBG','zgLNzxn0','vvbeqvrfx0zbsuXfra','ve9ptf9dqvrbte9hx0niqu5hruq','ywn0AxzHDgLVBG','D2LUmZi','lMfNzw50CW','CgHHC2u','odC1odHQDufkEhG','DMvYC2LVBG','zMLSDgvY','BM9KztPWyxrO','C2vYDMLUzW','su5ervHFuKvcvuLmrf9gquLmruq','DhjHBNnHy3rPB25jza','zMfPBgvK','nJe5otCYDNzSBxnT','vvbeqvrfx0PpvvjoquXFvu5srufequjmrq','ChjLCgfYzq','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','lI9YDw50Aw1Llxn0B3jL','ChjLzMXPz2H0','BgvUz3rO','BM9KztPMCW','Aw5JBhvKzxm','mti4ota4nuDQEwfhwa','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','rvHfq1vut1jFu1rbuLrFrKfjteve','y29UBMvJDgLVBKLK','Dw5HDMfPBgfIBgu','mtCXnJe3nMDQy2T1AG','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','y3jLyxrLsgfZAa','Dg9ju09tDhjPBMC','y2f0y2G','BwTKAxjtEw5J','ywn0AxzL','Dg9VBenVDw50','CMvHBhbHDgHtEw5J','mtbezev6AvG','Agv4','y29Kzq','CMfUzg9Tvvvjra','CMvZB3vYy2vZlwfWCgXPzwq','DxbKyxrLlMXVy2S','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','yMXVy2TLCNm','CNvUDgLTzvjVB3q','su5wquXjrf9xquLu','q09otKvdveLptL9vtKnptKzjuK1fra','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','D29YA3nWywnL','ywrK','lI9YDw50Aw1LlwXVy2S','BM93','y2f0ywXVz0HHC2G','BwLU','nMXdExnXsW','D2fPDfnLy29Uzhm','zxbVy2G','lI9Jyw5KAwrHDguTChjLzMXPz2H0','mZeXmJG3nuztywLwtq','ywn0AxzHDgvxB3jRC3bHy2u','BwfW','CgXHDgzVCM0','lI91CgrHDguTzxHLy3v0B3i','AM9PBG','DxbKyxrL'];_0x24e9=function(){return _0xc4bdf3;};return _0x24e9();}const _0xaa640c={};_0xaa640c[_0x5c7972(0x102)]=activateWorkspace,module[_0x5c7972(0x116)]=_0xaa640c;
|
package/src/license/crypto.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5ba7f6=_0xb6dd;(function(_0x462662,_0x2456f3){const _0x62602a=_0xb6dd,_0x2aafa3=_0x462662();while(!![]){try{const _0x3a791d=-parseInt(_0x62602a(0x203))/0x1+parseInt(_0x62602a(0x1e9))/0x2*(-parseInt(_0x62602a(0x1f2))/0x3)+-parseInt(_0x62602a(0x202))/0x4*(parseInt(_0x62602a(0x1e6))/0x5)+parseInt(_0x62602a(0x208))/0x6+parseInt(_0x62602a(0x20a))/0x7+-parseInt(_0x62602a(0x1f0))/0x8+-parseInt(_0x62602a(0x1fe))/0x9*(-parseInt(_0x62602a(0x1e4))/0xa);if(_0x3a791d===_0x2456f3)break;else _0x2aafa3['push'](_0x2aafa3['shift']());}catch(_0x113a1e){_0x2aafa3['push'](_0x2aafa3['shift']());}}}(_0x3847,0x84101));const crypto=require(_0x5ba7f6(0x1f9));function deriveKey(_0x55ad08){const _0x1912ef=_0x5ba7f6;if(!_0x55ad08)throw new Error(_0x1912ef(0x1f1));return crypto[_0x1912ef(0x20b)](_0x1912ef(0x1fc))[_0x1912ef(0x1fa)](_0x55ad08)['digest']();}function _0x3847(){const _0x4c913f=['zNjVBq','mZC0oda4BvDkteHA','odq1mtm0zhDMrerK','C2v0qxv0AfrHzW','sw52ywXPzcbLBMnYExb0zwqGyNvUzgXLigTLEsbZAxPL','yMfZzty0DxjS','y29Uy2f0','ndy4ntiYmeDey29jEq','zgvJCNLWDej1BMrSzuTLEq','nde4nde0nufJBxjdBq','y3jLyxrLsgfZAa','mtbLsMHmCg4','rgvJCNLWDgLVBIbPBNb1DcbTDxn0igjLigeGqNvMzMvY','mZvZBKL0Afe','qvbulujlmG','ywvZlti1nI1Ny20','ng5tuvHArq','CMfUzg9TqNL0zxm','zw5JCNLWDej1BMrSzuTLEq','zMLUywW','y3jLyxrLrgvJAxbOzxjPDG','yxnJAwK','BgvUz3rO','nZK4ota0og9zB2Twsq','tgLJzw5ZzsbRzxKGAxmGCMvXDwLYzwqGzM9YigvUy3j5ChrPB24VzgvJCNLWDgLVBIbRzxKGzgvYAxzHDgLVBG','ntuZmdaYywv1uxjw','zgvJCNLWDa','Dg9tDhjPBMC','DxrMoa','C3vIyxjYyxK','z2v0qxv0AfrHzW','ywvZlti1nI1JyMm','y3j5ChrV','DxbKyxrL','sw52ywXPzcbLBMnYExb0zwqGyNvMzMvYihnPEMu','C2HHmJu2','y3jLyxrLq2LWAgvYAxy','mtGYnZyWmZL6rKDOrvi','zw5JCNLWDa','AxncDwzMzxi'];_0x3847=function(){return _0x4c913f;};return _0x3847();}function encrypt(_0x45551c,_0x40ab79){const _0x34c38f=_0x5ba7f6,_0x4f5b3f=deriveKey(_0x40ab79),_0x3ee2d2=crypto[_0x34c38f(0x1ea)](0x10),_0x2d3ea6=crypto[_0x34c38f(0x1fd)](_0x34c38f(0x1f8),_0x4f5b3f,_0x3ee2d2),_0x3b71a2=Buffer['isBuffer'](_0x45551c)?_0x45551c:Buffer['from'](_0x45551c,'utf8'),_0x4a21a6=Buffer[_0x34c38f(0x207)]([_0x2d3ea6[_0x34c38f(0x1fa)](_0x3b71a2),_0x2d3ea6['final']()]);return Buffer[_0x34c38f(0x207)]([_0x3ee2d2,_0x4a21a6]);}function _0xb6dd(_0x27f12b,_0x5b3cb8){_0x27f12b=_0x27f12b-0x1e4;const _0x384794=_0x3847();let _0xb6dd5a=_0x384794[_0x27f12b];if(_0xb6dd['CrcElr']===undefined){var _0x4fc5c4=function(_0x5bea68){const _0x5337a0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2977b4='',_0x55ad08='';for(let _0x45551c=0x0,_0x40ab79,_0x4f5b3f,_0x3ee2d2=0x0;_0x4f5b3f=_0x5bea68['charAt'](_0x3ee2d2++);~_0x4f5b3f&&(_0x40ab79=_0x45551c%0x4?_0x40ab79*0x40+_0x4f5b3f:_0x4f5b3f,_0x45551c++%0x4)?_0x2977b4+=String['fromCharCode'](0xff&_0x40ab79>>(-0x2*_0x45551c&0x6)):0x0){_0x4f5b3f=_0x5337a0['indexOf'](_0x4f5b3f);}for(let _0x2d3ea6=0x0,_0x3b71a2=_0x2977b4['length'];_0x2d3ea6<_0x3b71a2;_0x2d3ea6++){_0x55ad08+='%'+('00'+_0x2977b4['charCodeAt'](_0x2d3ea6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55ad08);};_0xb6dd['CqrgOv']=_0x4fc5c4,_0xb6dd['auaESW']={},_0xb6dd['CrcElr']=!![];}const _0xf5825d=_0x384794[0x0],_0x5e978b=_0x27f12b+_0xf5825d,_0x33a1f6=_0xb6dd['auaESW'][_0x5e978b];return!_0x33a1f6?(_0xb6dd5a=_0xb6dd['CqrgOv'](_0xb6dd5a),_0xb6dd['auaESW'][_0x5e978b]=_0xb6dd5a):_0xb6dd5a=_0x33a1f6,_0xb6dd5a;}function decrypt(_0xab5a98,_0x4005cd){const _0x581595=_0x5ba7f6;if(!Buffer[_0x581595(0x200)](_0xab5a98))throw new Error(_0x581595(0x1e5));if(_0xab5a98[_0x581595(0x1ef)]<0x11)throw new Error(_0x581595(0x1fb));const _0x259c40=deriveKey(_0x4005cd),_0x1995ca=_0xab5a98[_0x581595(0x1f6)](0x0,0x10),_0x50b335=_0xab5a98[_0x581595(0x1f6)](0x10),_0x5917c1=crypto[_0x581595(0x1ed)](_0x581595(0x1f8),_0x259c40,_0x1995ca);return Buffer[_0x581595(0x207)]([_0x5917c1[_0x581595(0x1fa)](_0x50b335),_0x5917c1[_0x581595(0x1ec)]()]);}function encryptBundleKey(_0x44f34b,_0x34c63b){const _0x397aba=_0x5ba7f6,_0x1d9ea4=crypto[_0x397aba(0x20b)](_0x397aba(0x1fc))[_0x397aba(0x1fa)](_0x34c63b)['digest'](),_0x57d3ce=Buffer[_0x397aba(0x201)](_0x397aba(0x1e7),_0x397aba(0x1ee)),_0x3f2bbc=crypto['randomBytes'](0xc),_0xbc4de1=crypto[_0x397aba(0x1fd)]('aes-256-gcm',_0x1d9ea4,_0x3f2bbc);_0xbc4de1['setAAD'](_0x57d3ce);const _0x50d314=Buffer[_0x397aba(0x207)]([_0xbc4de1[_0x397aba(0x1fa)](Buffer[_0x397aba(0x201)](_0x44f34b,_0x397aba(0x1f5))),_0xbc4de1[_0x397aba(0x1ec)]()]);return Buffer[_0x397aba(0x207)]([_0x57d3ce,_0x3f2bbc,_0xbc4de1[_0x397aba(0x1f7)](),_0x50d314])[_0x397aba(0x1f4)](_0x397aba(0x206));}function decryptBundleKey(_0x4d0c9d,_0x324748){const _0x434547=_0x5ba7f6,_0x5cc714=crypto[_0x434547(0x20b)](_0x434547(0x1fc))[_0x434547(0x1fa)](_0x324748)['digest'](),_0x101091=Buffer['from'](_0x4d0c9d,_0x434547(0x206)),_0x4f6f65=Buffer[_0x434547(0x201)](_0x434547(0x1e7),_0x434547(0x1ee));if(_0x101091[_0x434547(0x1f6)](0x0,_0x4f6f65[_0x434547(0x1ef)])['equals'](_0x4f6f65)){if(_0x101091[_0x434547(0x1ef)]<_0x4f6f65['length']+0xc+0x10+0x1)throw new Error(_0x434547(0x205));const _0x182f2e=_0x4f6f65[_0x434547(0x1ef)],_0xf6a4db=_0x101091[_0x434547(0x1f6)](_0x182f2e,_0x182f2e+0xc),_0x3834a2=_0x101091[_0x434547(0x1f6)](_0x182f2e+0xc,_0x182f2e+0x1c),_0xa1e6fe=_0x101091[_0x434547(0x1f6)](_0x182f2e+0x1c),_0x2e2eb4=crypto[_0x434547(0x1ed)](_0x434547(0x1e8),_0x5cc714,_0xf6a4db);return _0x2e2eb4['setAAD'](_0x4f6f65),_0x2e2eb4[_0x434547(0x204)](_0x3834a2),Buffer[_0x434547(0x207)]([_0x2e2eb4[_0x434547(0x1fa)](_0xa1e6fe),_0x2e2eb4[_0x434547(0x1ec)]()])[_0x434547(0x1f4)](_0x434547(0x1f5));}if(_0x101091[_0x434547(0x1ef)]<0x11)throw new Error(_0x434547(0x205));const _0x16961c=_0x101091[_0x434547(0x1f6)](0x0,0x10),_0x10d1ef=_0x101091[_0x434547(0x1f6)](0x10),_0x34ff77=crypto[_0x434547(0x1ed)](_0x434547(0x1f8),_0x5cc714,_0x16961c),_0x519dcf=Buffer[_0x434547(0x207)]([_0x34ff77['update'](_0x10d1ef),_0x34ff77[_0x434547(0x1ec)]()]);return _0x519dcf['toString']('utf8');}const _0x2977b4={};_0x2977b4[_0x5ba7f6(0x1ff)]=encrypt,_0x2977b4[_0x5ba7f6(0x1f3)]=decrypt,_0x2977b4[_0x5ba7f6(0x1eb)]=encryptBundleKey,_0x2977b4[_0x5ba7f6(0x209)]=decryptBundleKey,module['exports']=_0x2977b4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x50c861=_0x13ed;function _0x3187(){const _0x53668b=['Agv4','y3jLyxrLsgfZAa','DhvU','DxrMoa','nte0nZq5mhfqB1vVBa','y3j5ChrV','zxHPC3rZu3LUyW','DgvZDa','zgLYBMfTzq','nez4BMDStq','mJiZndi0u0HQDvLy','AhLWzxiTDG','D3jPDgvgAwXLu3LUyW','DhjPBq','DNbU','mZznr2PQqMu','ChbW','z2v0twfJqwrKCMvZC2vZ','mda6mda6mda6mda6mda6mda','CgfJA2v0','BwfJ','mJK4odK4mw1eEfrTDW','zMy6zMy6zMy6zMy6zMy6zMy','Bw9KzwW','lMfUAgrO','mtGYntm0vfzJDg9N','Ag9ZDg5HBwu','n0vvvMrMEa','ndmYotq4nuP2BufOsq','Bg9VCgjHy2S','y3b1CW','C3vIC3rYAw5N','zgLNzxn0','z2v0rMLUz2vYChjPBNq','Cgf0Aa','mtLfCNvjs1y','Ag9TzwrPCG','D3nS','Dg9mB3DLCKnHC2u','Aw5JBhvKzxm','Dw5RBM93BI11C2vY','A2v5CW','BwTKAxjtEw5J','zgv2AwnLlMLK','BgvUz3rO','C2HHmJu2','owDgAwL1za','Aw50zxjUywW','mJq0nMfivxjjuG','mtm0mtK1mhrwzw9Rvq','AM9PBG','DgfW','DxnLCM5HBwu','DMjVEa','DxnLCKLUzM8','zxHWB3j0CW','CMvJDxjZAxzL','zg9JA2vY','DxbKyxrL'];_0x3187=function(){return _0x53668b;};return _0x3187();}(function(_0x3886a4,_0x3e8184){const _0x2d9ad7=_0x13ed,_0xebdce2=_0x3886a4();while(!![]){try{const _0x24ac2a=parseInt(_0x2d9ad7(0x1f3))/0x1*(-parseInt(_0x2d9ad7(0x1c5))/0x2)+-parseInt(_0x2d9ad7(0x1e5))/0x3*(-parseInt(_0x2d9ad7(0x1d9))/0x4)+-parseInt(_0x2d9ad7(0x1ec))/0x5+parseInt(_0x2d9ad7(0x1d4))/0x6+parseInt(_0x2d9ad7(0x1eb))/0x7*(-parseInt(_0x2d9ad7(0x1da))/0x8)+-parseInt(_0x2d9ad7(0x1c3))/0x9*(parseInt(_0x2d9ad7(0x1c6))/0xa)+parseInt(_0x2d9ad7(0x1e9))/0xb*(-parseInt(_0x2d9ad7(0x1df))/0xc);if(_0x24ac2a===_0x3e8184)break;else _0xebdce2['push'](_0xebdce2['shift']());}catch(_0x3a856a){_0xebdce2['push'](_0xebdce2['shift']());}}}(_0x3187,0xb7e33));function _0x13ed(_0x1ed3a0,_0x5a5444){_0x1ed3a0=_0x1ed3a0-0x1ba;const _0x3187f7=_0x3187();let _0x13ed6c=_0x3187f7[_0x1ed3a0];if(_0x13ed['zOWboN']===undefined){var _0x44e433=function(_0x500d06){const _0x165671='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf13de4='',_0x283d3d='';for(let _0x229df3=0x0,_0x562acf,_0x1148aa,_0x41c8ee=0x0;_0x1148aa=_0x500d06['charAt'](_0x41c8ee++);~_0x1148aa&&(_0x562acf=_0x229df3%0x4?_0x562acf*0x40+_0x1148aa:_0x1148aa,_0x229df3++%0x4)?_0xf13de4+=String['fromCharCode'](0xff&_0x562acf>>(-0x2*_0x229df3&0x6)):0x0){_0x1148aa=_0x165671['indexOf'](_0x1148aa);}for(let _0x205cfc=0x0,_0x15910e=_0xf13de4['length'];_0x205cfc<_0x15910e;_0x205cfc++){_0x283d3d+='%'+('00'+_0xf13de4['charCodeAt'](_0x205cfc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x283d3d);};_0x13ed['rOTmdp']=_0x44e433,_0x13ed['lSwNmR']={},_0x13ed['zOWboN']=!![];}const _0x351a43=_0x3187f7[0x0],_0x2e07f1=_0x1ed3a0+_0x351a43,_0x516b19=_0x13ed['lSwNmR'][_0x2e07f1];return!_0x516b19?(_0x13ed6c=_0x13ed['rOTmdp'](_0x13ed6c),_0x13ed['lSwNmR'][_0x2e07f1]=_0x13ed6c):_0x13ed6c=_0x516b19,_0x13ed6c;}const os=require('os'),crypto=require(_0x50c861(0x1d5)),fs=require('fs'),path=require(_0x50c861(0x1f2));function getMacAddresses(){const _0x242fef=_0x50c861,_0x229df3=os['networkInterfaces'](),_0x562acf=[];for(const _0x1148aa of Object[_0x242fef(0x1be)](_0x229df3)){const _0x41c8ee=_0x1148aa[_0x242fef(0x1bb)]();if(_0x41c8ee[_0x242fef(0x1bc)]('virtual')||_0x41c8ee['includes'](_0x242fef(0x1ce))||_0x41c8ee[_0x242fef(0x1bc)]('vmnet')||_0x41c8ee[_0x242fef(0x1bc)](_0x242fef(0x1ca))||_0x41c8ee[_0x242fef(0x1bc)](_0x242fef(0x1ba))||_0x41c8ee[_0x242fef(0x1bc)](_0x242fef(0x1de))||_0x41c8ee['includes'](_0x242fef(0x1db))||_0x41c8ee[_0x242fef(0x1bc)](_0x242fef(0x1c8))||_0x41c8ee['includes'](_0x242fef(0x1d2))||_0x41c8ee['includes'](_0x242fef(0x1e0))||_0x41c8ee[_0x242fef(0x1bc)](_0x242fef(0x1ed))||_0x41c8ee['includes'](_0x242fef(0x1e3)))continue;const _0x205cfc=_0x229df3[_0x1148aa];if(!_0x205cfc)continue;for(const _0x15910e of _0x205cfc){if(_0x15910e[_0x242fef(0x1c4)])continue;if(!_0x15910e[_0x242fef(0x1e4)]||_0x15910e[_0x242fef(0x1e4)]===_0x242fef(0x1e2))continue;if(_0x15910e[_0x242fef(0x1e4)][_0x242fef(0x1bb)]()===_0x242fef(0x1e6))continue;!_0x562acf[_0x242fef(0x1bc)](_0x15910e['mac'])&&_0x562acf['push'](_0x15910e[_0x242fef(0x1e4)]);}}if(_0x562acf[_0x242fef(0x1c1)]===0x0)for(const _0x14c7be of Object['keys'](_0x229df3)){const _0x11352e=_0x229df3[_0x14c7be];if(!_0x11352e)continue;for(const _0x512e9f of _0x11352e){!_0x512e9f[_0x242fef(0x1c4)]&&_0x512e9f[_0x242fef(0x1e4)]&&_0x512e9f[_0x242fef(0x1e4)]!==_0x242fef(0x1e2)&&_0x562acf['push'](_0x512e9f[_0x242fef(0x1e4)]);}}return _0x562acf['sort']();}function getFingerprint(){const _0x47da6e=_0x50c861,_0x513b2d=path[_0x47da6e(0x1c7)](os[_0x47da6e(0x1f4)](),_0x47da6e(0x1e8),_0x47da6e(0x1c0));try{if(fs[_0x47da6e(0x1d6)](_0x513b2d)){const _0x411e6b=fs['readFileSync'](_0x513b2d,_0x47da6e(0x1d3))[_0x47da6e(0x1dd)]();if(_0x411e6b&&_0x411e6b['length']===0x10&&/^[0-9a-fA-F]+$/[_0x47da6e(0x1d7)](_0x411e6b))return _0x411e6b;}}catch(_0x4a2f53){}const _0x17c242=os[_0x47da6e(0x1ea)]()||'unknown-host';let _0xf8247e=_0x47da6e(0x1bd);try{_0xf8247e=os[_0x47da6e(0x1cb)]()[_0x47da6e(0x1c9)];}catch(_0x1831bf){_0xf8247e=process.env.USERNAME||process.env.USER||'unknown-user';}const _0x743b36=os[_0x47da6e(0x1ee)](),_0xbeb052=_0x743b36&&_0x743b36[0x0]?_0x743b36[0x0][_0x47da6e(0x1e7)]:'unknown-cpu',_0x704253=getMacAddresses(),_0x1c6574=_0x704253[_0x47da6e(0x1c7)](','),_0x1908cb=[_0x17c242,_0xf8247e,_0xbeb052,_0x1c6574],_0x32a018=crypto[_0x47da6e(0x1d1)](_0x47da6e(0x1c2));_0x32a018[_0x47da6e(0x1cf)](_0x1908cb['join']('|'));const _0x3be427=_0x32a018[_0x47da6e(0x1f0)](_0x47da6e(0x1d0))[_0x47da6e(0x1ef)](0x0,0x10);try{const _0x3894dd={};_0x3894dd[_0x47da6e(0x1cd)]=!![],fs[_0x47da6e(0x1bf)](path[_0x47da6e(0x1d8)](_0x513b2d),_0x3894dd),fs[_0x47da6e(0x1dc)](_0x513b2d,_0x3be427,_0x47da6e(0x1d3));}catch(_0x5a17da){}return _0x3be427;}const _0x283d3d={};_0x283d3d[_0x50c861(0x1e1)]=getMacAddresses,_0x283d3d[_0x50c861(0x1f1)]=getFingerprint,module[_0x50c861(0x1cc)]=_0x283d3d;
|
package/src/license/terms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xfeeb(_0x225fca,_0x1a5667){_0x225fca=_0x225fca-0x179;const _0x5cdf2a=_0x5cdf();let _0xfeeb0d=_0x5cdf2a[_0x225fca];if(_0xfeeb['ClKXXL']===undefined){var _0x10b314=function(_0x39c6ec){const _0x60acbc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ea5c4='',_0x88bb76='';for(let _0x29a82f=0x0,_0x14931d,_0x58d4fb,_0xabec69=0x0;_0x58d4fb=_0x39c6ec['charAt'](_0xabec69++);~_0x58d4fb&&(_0x14931d=_0x29a82f%0x4?_0x14931d*0x40+_0x58d4fb:_0x58d4fb,_0x29a82f++%0x4)?_0x1ea5c4+=String['fromCharCode'](0xff&_0x14931d>>(-0x2*_0x29a82f&0x6)):0x0){_0x58d4fb=_0x60acbc['indexOf'](_0x58d4fb);}for(let _0x385677=0x0,_0x51548f=_0x1ea5c4['length'];_0x385677<_0x51548f;_0x385677++){_0x88bb76+='%'+('00'+_0x1ea5c4['charCodeAt'](_0x385677)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x88bb76);};_0xfeeb['PMDnQH']=_0x10b314,_0xfeeb['APlgMe']={},_0xfeeb['ClKXXL']=!![];}const _0x219165=_0x5cdf2a[0x0],_0x53ea44=_0x225fca+_0x219165,_0x1f8f30=_0xfeeb['APlgMe'][_0x53ea44];return!_0x1f8f30?(_0xfeeb0d=_0xfeeb['PMDnQH'](_0xfeeb0d),_0xfeeb['APlgMe'][_0x53ea44]=_0xfeeb0d):_0xfeeb0d=_0x1f8f30,_0xfeeb0d;}const _0x2b262c=_0xfeeb;function _0x5cdf(){const _0x3ef752=['mJy2yLDgywXH','ru5eifvtrviGteLdru5trsbbr1jfru1ftLqGkevvteePicyGvevstvmGt0yGu0vsvKLdrqOkugXLyxnLihjLywqGDgHPCYbfBMqGvxnLCIbmAwnLBNnLiefNCMvLBwvUDcaOiKfNCMvLBwvUDciPignHCMvMDwXSEsbIzwzVCMuGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGqMfZzsbnq1aGquKGqwDLBNqGAw5MCMfZDhj1y3r1CMuGkcjtB2z0D2fYzsiPlGOkqNKGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGu29MDhDHCMuSihLVDsbHz3jLzsb0BYbIzsbIB3vUzcbIEsb0AguGDgvYBxmGB2yGDgHPCYbbz3jLzw1LBNqUieLMihLVDsbKBYbUB3qGywDYzwuSigrVig5VDcbPBNn0ywXSig9YihvZzsb0AguGu29MDhDHCMuUcGOXlIbqrvjnsvruruqGvvnfcLrOzsbSAwnLBNnLigDYyw50zwqGDg8GEw91igLZig5VBI10CMfUC2zLCMfIBguSig5VBI1LEgnSDxnPDMuSigfUzcbSAw1PDgvKihrVigLUC3rHBgXHDgLVBIbHBMqGDxnLig9MihrOzsbtB2z0D2fYzsbVBIbHihnPBMDSzsbKzxzPy2uGB3DUzwqGB3iGy29UDhjVBgXLzcbIEsb5B3uSihn1yMPLy3qGDg8GC3vIC2nYAxb0Aw9UigfJDgL2yxrPB24UcGOYlIbtvujtq1jjufrjt04Gvevstvmkww91CIb1C2uGB2yGDgHLifnVzNr3yxjLigLZihn1yMPLy3qGDg8Gyw4Gywn0AxzLihn1yNnJCMLWDgLVBI4GvxbVBIbLEhbPCMf0Aw9Uig9YihjLDM9JyxrPB24GB2yGEw91CIbSAwnLBNnLigTLEsWGDgHLifnVzNr3yxjLihbYB3H5ihDPBgWGC3rVCcbMDw5JDgLVBMLUzYaOqMXVy2STB25SEsbLBMzVCMnLBwvUDcKUifDLihDPBgWGBMv2zxiGzgvSzxrLig9Yig1VzgLMEsb5B3vYigXVy2fSihbYB2PLy3qGzMLSzxmGyxmGysbWzw5HBhr5igzVCIbSAwnLBNnLigv4CgLYyxrPB24UcGOZlIbmsu1jvefusu9oie9gieXjqujjteLuwqPutYbuseuGtufysu1vtsbfwfrftLqGuevstuLuveveiejziefqueXjq0fcteuGtefxlcbjtIbotYbfvKvovcbtsefmtcbbtKHescbpuIbjvfmGu1vqueXjrvjtiejfieXjqujmrsbgt1iGqu5zifnqrunjquWSieLoq0Leru5uquWSieLoreLsrunulcbpuIbdt05trvfvru5usufmierbtufhrvmGv0HbvfnprvzfuIbHCMLZAw5Nig91DcbVzIb0AguGDxnLig9Mig9YigLUywjPBgL0Esb0BYb1C2uGDgHLifnVzNr3yxjLlGOknc4GqKXpq0STt05mwsbftKzpuKnftuvovcbqt0Xjq1KkswyGDgHLigXPy2vUC2uGy2HLy2SGzMfPBhmGB3iGzxHWAxjLCYWGDgHLifnVzNr3yxjLihDPBgWGy2XLyw5SEsbKAxnHyMXLigL0C2vSzIbHBMqGCMvMDxnLihrVihn0yxj0lIbuAguGu29MDhDHCMuGzg9LCYbUB3qGy29UDgfPBIbHBNKGCMvTB3rLignSzwfUDxaGB3iGzMLSzsbKzwXLDgLVBIbWyxLSB2fKCYWGzw5ZDxjPBMCGDgHLignVBxbSzxrLihnHzMv0EsbVzIb5B3vYigXVy2fSignVzgvIyxnLCY4kcJuUieDpvKvstKLorYbmqvCkvgHPCYbbz3jLzw1LBNqGC2HHBgWGyMuGz292zxjUzwqGyNKGyw5KignVBNn0CNvLzcbPBIbHy2nVCMrHBMnLihDPDgGGDgHLigXHD3mGB2yGDgHLifnVy2LHBgLZDcbszxb1yMXPyYbVzIbwAwv0BMfTlIbbBNKGzgLZChv0zxmGyxjPC2LUzYb1BMrLCIb0AgLZiefNCMvLBwvUDcbZAgfSBcbIzsbZDwjQzwn0ihrVihrOzsbLEgnSDxnPDMuGANvYAxnKAwn0Aw9Uig9MihrOzsbJB3vYDhmGB2yGvMLLDg5HBs4k','zxHWB3j0CW','otm0odKZrKThueXL','nJu2otK2mhr4D1fKDq','ndu2odrirxDRr0O','mtaZndr6BMXSD3O','nenQBLLeCW','mtq1mJe2oeTQD1DTCq','mtzkq01Qvxu','mtm5ota5mfnbEhL4DW','ndeWnZm0sLH2rNrR','rvvmqv9urvHu'];_0x5cdf=function(){return _0x3ef752;};return _0x5cdf();}(function(_0x52c39f,_0xbe98c5){const _0x4f1981=_0xfeeb,_0x3854fa=_0x52c39f();while(!![]){try{const _0x228482=-parseInt(_0x4f1981(0x181))/0x1+-parseInt(_0x4f1981(0x17a))/0x2+parseInt(_0x4f1981(0x17f))/0x3+parseInt(_0x4f1981(0x183))/0x4*(-parseInt(_0x4f1981(0x179))/0x5)+-parseInt(_0x4f1981(0x182))/0x6*(-parseInt(_0x4f1981(0x17c))/0x7)+parseInt(_0x4f1981(0x185))/0x8*(-parseInt(_0x4f1981(0x184))/0x9)+parseInt(_0x4f1981(0x180))/0xa;if(_0x228482===_0xbe98c5)break;else _0x3854fa['push'](_0x3854fa['shift']());}catch(_0x13b4b5){_0x3854fa['push'](_0x3854fa['shift']());}}}(_0x5cdf,0x2c156));const EULA_TEXT=_0x2b262c(0x17d),_0x1ea5c4={};_0x1ea5c4[_0x2b262c(0x17b)]=EULA_TEXT,module[_0x2b262c(0x17e)]=_0x1ea5c4;
|
package/src/license/verify.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e8fc0=_0x29c2;function _0x29c2(_0x25d386,_0xa78d71){_0x25d386=_0x25d386-0x1a1;const _0x21e45b=_0x21e4();let _0x29c2b9=_0x21e45b[_0x25d386];if(_0x29c2['XQjZMP']===undefined){var _0x35ba79=function(_0x23057d){const _0x3c9c0d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8500c4='',_0x169596='';for(let _0x2aac94=0x0,_0x13c381,_0x5484ef,_0x21874a=0x0;_0x5484ef=_0x23057d['charAt'](_0x21874a++);~_0x5484ef&&(_0x13c381=_0x2aac94%0x4?_0x13c381*0x40+_0x5484ef:_0x5484ef,_0x2aac94++%0x4)?_0x8500c4+=String['fromCharCode'](0xff&_0x13c381>>(-0x2*_0x2aac94&0x6)):0x0){_0x5484ef=_0x3c9c0d['indexOf'](_0x5484ef);}for(let _0x2b97a1=0x0,_0x5e7551=_0x8500c4['length'];_0x2b97a1<_0x5e7551;_0x2b97a1++){_0x169596+='%'+('00'+_0x8500c4['charCodeAt'](_0x2b97a1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x169596);};_0x29c2['CHWgkx']=_0x35ba79,_0x29c2['HYlfvf']={},_0x29c2['XQjZMP']=!![];}const _0x2ffddd=_0x21e45b[0x0],_0x62b6be=_0x25d386+_0x2ffddd,_0x1043eb=_0x29c2['HYlfvf'][_0x62b6be];return!_0x1043eb?(_0x29c2b9=_0x29c2['CHWgkx'](_0x29c2b9),_0x29c2['HYlfvf'][_0x62b6be]=_0x29c2b9):_0x29c2b9=_0x1043eb,_0x29c2b9;}(function(_0x599132,_0x4e28a2){const _0x4a55c8=_0x29c2,_0x1bdbcd=_0x599132();while(!![]){try{const _0x3ee7c2=-parseInt(_0x4a55c8(0x1bf))/0x1+parseInt(_0x4a55c8(0x1bc))/0x2*(-parseInt(_0x4a55c8(0x1b2))/0x3)+-parseInt(_0x4a55c8(0x1c3))/0x4+-parseInt(_0x4a55c8(0x1aa))/0x5*(parseInt(_0x4a55c8(0x1c0))/0x6)+parseInt(_0x4a55c8(0x1b4))/0x7*(parseInt(_0x4a55c8(0x1bd))/0x8)+-parseInt(_0x4a55c8(0x1ac))/0x9*(parseInt(_0x4a55c8(0x1a6))/0xa)+parseInt(_0x4a55c8(0x1b3))/0xb;if(_0x3ee7c2===_0x4e28a2)break;else _0x1bdbcd['push'](_0x1bdbcd['shift']());}catch(_0x5fe93){_0x1bdbcd['push'](_0x1bdbcd['shift']());}}}(_0x21e4,0xb58b2));const crypto=require('crypto'),PRODUCTION_PUBLIC_KEY=_0x4e8fc0(0x1c2);function _0x21e4(){const _0x106798=['ufjprfvdveLptL9qvujmsunFs0vz','yMfZzty0DxjS','zNjVBq','Cgf5Bg9Hza','rgv2AwnLieLeig1PC21HDgnO','zgv2AwnL','C3bSAxq','mJu4otiWoevOCNv0wa','oePgBNDLvq','CMvHC29U','mtqZmdm2ALrtvwnA','mZC3mJjHD1jIrMm','C3rYAw5N','ls0Tls1cruDjtIbqvujmsumGs0vzls0Tls0ktunVD0jrwurlmLz3qxLfqvL6BMfkrZe4zfuVnffJwNPSog1stveYAvvMuMPnwgP3Du5TCezvzgHQru09cI0Tls0Tru5eifbvqKXjqYblrvKTls0Tlq','ndy4nZGWog9hCNPytW','sw52ywXPzcbSAwnLBNnLigTLEsbMB3jTyxq','ywXN','DMvYAwz5tgLJzw5Zzq','C2LNBG','zxHWB3j0CW','DMfSAwq','mZGYntC3mgHcuM5kvW','BwvZC2fNzq','DxrMoa','BgvUz3rO','mta5menMCxHSsG','CgfYC2u','mJDNweDgv1y','DMvYAwz5','tgLJzw5ZzsbLEhbPCMvK','Dg9tDhjPBMC','zxHW','C2LNBKXPy2vUC2u','m1n4BezbBG','nte5ntKZmJv6sNPQywi','odaZntqXmMHVA25TtW'];_0x21e4=function(){return _0x106798;};return _0x21e4();}function base64urlEncode(_0x3256f8){const _0x3f5ae8=_0x4e8fc0,_0x53c08f=JSON['stringify'](_0x3256f8);return Buffer[_0x3f5ae8(0x1b7)](_0x53c08f)[_0x3f5ae8(0x1af)](_0x3f5ae8(0x1b6));}function base64urlDecode(_0x4ee6c5){const _0x23865e=_0x4e8fc0;try{const _0x3f180e=Buffer[_0x23865e(0x1b7)](_0x4ee6c5,_0x23865e(0x1b6))[_0x23865e(0x1af)](_0x23865e(0x1a8));return JSON[_0x23865e(0x1ab)](_0x3f180e);}catch(_0x1f06e1){return null;}}function signLicense(_0x54ab2e,_0x2551bf){const _0x27b3ee=_0x4e8fc0;if(!_0x2551bf)throw new Error('Private\x20key\x20is\x20required\x20to\x20sign\x20license');const _0x10df1c={};_0x10df1c[_0x27b3ee(0x1a1)]='EdDSA',_0x10df1c['typ']='JWT';const _0x39fe86=_0x10df1c,_0xa41bc5=base64urlEncode(_0x39fe86),_0x187f1f=base64urlEncode(_0x54ab2e),_0x282eb5=_0xa41bc5+'.'+_0x187f1f,_0x29e338=crypto[_0x27b3ee(0x1a3)](null,Buffer['from'](_0x282eb5),_0x2551bf);return _0x282eb5+'.'+_0x29e338[_0x27b3ee(0x1af)](_0x27b3ee(0x1b6));}function verifyLicense(_0x36112b,_0x3371f7,_0x4b62e2=null){const _0x5397c4=_0x4e8fc0;if(!_0x36112b||typeof _0x36112b!==_0x5397c4(0x1c1)){const _0x276a57={};return _0x276a57['valid']=![],_0x276a57[_0x5397c4(0x1be)]='License\x20key\x20is\x20missing\x20or\x20invalid\x20format',_0x276a57;}const _0x5574d6=_0x36112b[_0x5397c4(0x1bb)]('.');if(_0x5574d6[_0x5397c4(0x1a9)]!==0x3){const _0x1f45e8={};return _0x1f45e8[_0x5397c4(0x1a5)]=![],_0x1f45e8['reason']=_0x5397c4(0x1c4),_0x1f45e8;}const [_0x4d7f2d,_0x5dffb7,_0x2d567f]=_0x5574d6,_0x3f81d8=base64urlDecode(_0x4d7f2d),_0x461d43=base64urlDecode(_0x5dffb7);if(!_0x3f81d8||!_0x461d43){const _0x48ddfd={};return _0x48ddfd['valid']=![],_0x48ddfd[_0x5397c4(0x1be)]='Invalid\x20header\x20or\x20payload',_0x48ddfd;}const _0x5c99e1=_0x4d7f2d+'.'+_0x5dffb7,_0x305b2d=Buffer['from'](_0x2d567f,'base64url'),_0x5c4511=_0x4b62e2||PRODUCTION_PUBLIC_KEY;try{const _0x23996a=crypto[_0x5397c4(0x1ad)](null,Buffer[_0x5397c4(0x1b7)](_0x5c99e1),_0x5c4511,_0x305b2d);if(!_0x23996a){const _0x4f4ccb={};return _0x4f4ccb['valid']=![],_0x4f4ccb[_0x5397c4(0x1be)]='Invalid\x20signature',_0x4f4ccb;}}catch(_0x11ac5b){const _0x584d36={};return _0x584d36[_0x5397c4(0x1a5)]=![],_0x584d36[_0x5397c4(0x1be)]='Signature\x20verification\x20failed:\x20'+_0x11ac5b[_0x5397c4(0x1a7)],_0x584d36;}if(_0x461d43[_0x5397c4(0x1b0)]&&_0x461d43[_0x5397c4(0x1b0)]<Date['now']()){const _0x481e9e={};return _0x481e9e[_0x5397c4(0x1a5)]=![],_0x481e9e['reason']=_0x5397c4(0x1ae),_0x481e9e[_0x5397c4(0x1b8)]=_0x461d43,_0x481e9e;}if(_0x3371f7&&_0x461d43[_0x5397c4(0x1ba)]!==_0x3371f7){const _0x378ecf={};return _0x378ecf[_0x5397c4(0x1a5)]=![],_0x378ecf[_0x5397c4(0x1be)]=_0x5397c4(0x1b9),_0x378ecf;}const _0x1440df={};return _0x1440df[_0x5397c4(0x1a5)]=!![],_0x1440df[_0x5397c4(0x1b8)]=_0x461d43,_0x1440df;}const _0x280bc6={};_0x280bc6[_0x4e8fc0(0x1b1)]=signLicense,_0x280bc6[_0x4e8fc0(0x1a2)]=verifyLicense,_0x280bc6[_0x4e8fc0(0x1b5)]=PRODUCTION_PUBLIC_KEY,module[_0x4e8fc0(0x1a4)]=_0x280bc6;
|