apt-mcp-agent-setup 3.5.5 → 3.5.6

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.
Files changed (121) hide show
  1. package/bin/cli.js +1 -1
  2. package/bundle/NOTICES.md +0 -0
  3. package/bundle/core.enc +0 -0
  4. package/bundle/mcp-rules.enc +0 -0
  5. package/bundle/skills-aso.enc +0 -0
  6. package/bundle/skills-ba.enc +0 -0
  7. package/bundle/skills-base.enc +0 -0
  8. package/bundle/skills-be.enc +0 -0
  9. package/bundle/skills-design.enc +0 -0
  10. package/bundle/skills-fe.enc +0 -0
  11. package/bundle/skills-marketing.enc +0 -0
  12. package/bundle/skills-mobile.enc +0 -0
  13. package/bundle/skills-pm.enc +0 -0
  14. package/integrity-manifest.json +121 -120
  15. package/package.json +1 -1
  16. package/src/backends/browser-tools.js +1 -1
  17. package/src/backends/index-command.js +1 -1
  18. package/src/backends/index-store.js +1 -1
  19. package/src/backends/profiles.js +1 -1
  20. package/src/core/admission-fence.js +1 -1
  21. package/src/core/aso-import.js +1 -1
  22. package/src/core/caller-context.js +1 -1
  23. package/src/core/catalog.js +1 -1
  24. package/src/core/claude-caller-authority.js +1 -1
  25. package/src/core/claude-invocation.js +1 -1
  26. package/src/core/claude-native.js +1 -1
  27. package/src/core/claude-plan.js +1 -1
  28. package/src/core/claude-worker-transcript.js +1 -1
  29. package/src/core/codex-host-metadata.js +1 -1
  30. package/src/core/codex-transcript-receipt.js +1 -1
  31. package/src/core/context-metrics.js +1 -1
  32. package/src/core/doctor.js +1 -1
  33. package/src/core/draining-completion.js +1 -1
  34. package/src/core/execution.js +1 -1
  35. package/src/core/git-context.js +1 -1
  36. package/src/core/hook-bridge.js +1 -1
  37. package/src/core/host-adapters.js +1 -1
  38. package/src/core/ipc-envelope.js +1 -1
  39. package/src/core/memory-scope.js +1 -1
  40. package/src/core/memory-store.js +1 -1
  41. package/src/core/model-inventory.js +1 -1
  42. package/src/core/model-routing.js +1 -1
  43. package/src/core/native-dispatch.js +1 -1
  44. package/src/core/node-version.js +1 -1
  45. package/src/core/npm-cli.js +1 -1
  46. package/src/core/owned-command-child.js +1 -1
  47. package/src/core/owned-command.js +1 -1
  48. package/src/core/owned-lock.js +1 -1
  49. package/src/core/owned-process.js +1 -1
  50. package/src/core/presentations.js +1 -1
  51. package/src/core/quality-artifacts.js +1 -1
  52. package/src/core/quality.js +1 -1
  53. package/src/core/read-command.js +1 -1
  54. package/src/core/readonly-skill.js +1 -1
  55. package/src/core/resource-transaction.js +1 -1
  56. package/src/core/run-compatibility.js +1 -1
  57. package/src/core/runtime-info.js +1 -1
  58. package/src/core/runtime-ownership.js +1 -1
  59. package/src/core/session.js +1 -1
  60. package/src/core/skill-companions.js +1 -1
  61. package/src/core/skill-names.js +1 -1
  62. package/src/core/storage-retry.js +1 -1
  63. package/src/core/tool-contracts.js +1 -1
  64. package/src/core/update-control.js +1 -1
  65. package/src/core/upgrade-runs.js +1 -1
  66. package/src/core/upgrade-stop.js +1 -1
  67. package/src/core/windows-job.js +1 -1
  68. package/src/core/workspace-generation.js +1 -1
  69. package/src/core/workspace-path.js +1 -1
  70. package/src/installer/bounded-command.js +1 -1
  71. package/src/installer/candidate-preflight.js +1 -1
  72. package/src/installer/connection-activation.js +1 -1
  73. package/src/installer/connection-supervisor.js +1 -1
  74. package/src/installer/deployment-draft.js +1 -1
  75. package/src/installer/gateway-context.js +1 -1
  76. package/src/installer/gateway-migration.js +1 -1
  77. package/src/installer/gateway-runtime.js +1 -1
  78. package/src/installer/global-setup.js +1 -1
  79. package/src/installer/hook-context-client.js +1 -1
  80. package/src/installer/hook-dispatcher.js +29 -8
  81. package/src/installer/host-hooks.js +1 -1
  82. package/src/installer/legacy-registration.js +1 -1
  83. package/src/installer/managed-config.js +1 -1
  84. package/src/installer/platform-config.js +1 -1
  85. package/src/installer/prerequisites.js +1 -1
  86. package/src/installer/presentations.js +1 -1
  87. package/src/installer/project-setup.js +1 -1
  88. package/src/installer/registration-closure.js +1 -1
  89. package/src/installer/registration-plan.js +1 -1
  90. package/src/installer/registration-receipt.js +1 -1
  91. package/src/installer/registrations.js +1 -1
  92. package/src/installer/runtime-activation.js +1 -1
  93. package/src/installer/runtime-child.js +1 -1
  94. package/src/installer/runtime-cleanup.js +1 -0
  95. package/src/installer/runtime-lock.js +1 -1
  96. package/src/installer/runtime-store.js +1 -1
  97. package/src/installer/runtime-supervisor.js +1 -1
  98. package/src/installer/setup-wizard.js +1 -1
  99. package/src/installer/update-addons.js +1 -1
  100. package/src/installer/update-cleanup.js +1 -1
  101. package/src/installer/update-executor.js +1 -1
  102. package/src/installer/update-registration.js +1 -1
  103. package/src/installer/update-request.js +1 -1
  104. package/src/installer/update-scope.js +1 -1
  105. package/src/installer/workspace-registry.js +1 -1
  106. package/src/installer/workspace-transaction.js +1 -1
  107. package/src/installer/workspace-update.js +1 -1
  108. package/src/license/crypto.js +1 -1
  109. package/src/license/fingerprint.js +1 -1
  110. package/src/license/terms.js +1 -1
  111. package/src/license/verify.js +1 -1
  112. package/src/presets/index.js +1 -1
  113. package/src/proxy/backends.js +1 -1
  114. package/src/proxy/browser-sessions.js +1 -1
  115. package/src/proxy/core-tools.js +1 -1
  116. package/src/proxy/pipeline.js +1 -1
  117. package/src/proxy/public-catalog.js +1 -1
  118. package/src/proxy/router.config.js +1 -1
  119. package/src/proxy/router.js +1 -1
  120. package/src/proxy/server.js +1 -1
  121. package/src/proxy/workspace-gateway.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x35c955=_0x2561;function _0x2d02(){const _0x3391fd=['DxrMoa','BwvTyMvYCW','z2v0','B3DUzxjZAgLWlxvUDMvYAwzPzwq','CgfYC2u','nwzyC1vtuG','BMf0AxzLq2fSBgvY','Aw5JBhvKzxm','y29UBMvJDgLVBKLK','zxjYB3i','DgLTzw91De1Z','Dw5RBM93BG','C2fTzvDVCMTZCgfJzq','AxntEw1IB2XPy0XPBMS','u0vduKvux1voqvzbsuXbqKXf','A2LUza','CMvXDwvZDc1ZDg9W','zMfPBgvK','nda4uLHjuNPl','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','nZqWota1t3LHA2HP','lMPZB24','y29UBMvJDgLVBNm','CMvHzgrPCLn5BMm','Agv4','nZy3nta2mLDAwMDrBW','y3jLyxrLsgfZAa','ChjVB2y','zxzLCNK','C3rHDgu','C3rYAw5N','Ag9ZDc1LCNjVCG','ChvZAa','mJyXmty1z3n3yLfp','C2v0','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','q0HjterFufjpq0vtu19puLbiqu5fra','mteZmJG5ntjXEMzArLe','y29UDhjVBenVBM5Ly3rPB24','mtKYqxr2uuPl','y2XVC2vK','ywn0AxzHDgLVBG','zgLNzxn0','DhjHBNnHy3rPB25jza','BM9KztPJCNLWDg8','zgvZDhjVEwvK','ChjLCgfYzs1Jyw5KAwrHDgu','B3jWAgfUzwq','BwfJ','ywjVCNq','zw5KC1DPDgG','ChjLCgfYzq','y2XHC3nPzMLJyxrPB24','C2HHmJu2','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','C29Tzq','y2XVC2vnzw1Izxi','y29Kzq','zgvZDhjVEq','CMvZB3vYy2veAwDLC3q','ChjVDMLZAw9UywW','C3rHDhvZ','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','ywn0AxzL','CNvUDgLTzq','zMLSzq','y2HPBgrqAwq','y29UBMvJDgLUzW','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ueLex1jfvvnfra','CMv1C2vK','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','q09ovfjptf9usu1ft1vu','D2fPDfnLy29Uzhm','CMvSzwfZzq','ufjpqKvFrKfjteve','B3bLBG','Aw5KzxHpzG','Dw5IB3vUza','zMLSDgvY','C3rVCfjLyxnVBG','zxbVy2G','Ag9VAY1JB250zxH0','sw52ywXPzcbJBg9ZDxjLigTLEq','y2HPBgrqCM9JzxnZu3rHCNq','CMvHBhbHDgHtEw5J','DMfSDwvZ','C3vWzxj2AxnVCI1ZAhv0zg93BG','DgLTAw5Nu2fMzuvXDwfS','y29UBMvJDgLVBG','C3vWzxj2AxnVCLbPza','q09ovfjptf9gquLmruq','y3jLyxrLsg1HyW','y2XVC3vYzu1HyW','DhLWzq','DxbKyxrL','q09ovfjptf9nsvnnqvrdsa','q09otKvdveLptL9puLbiqu5fra','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','q09otKvdveLptL9vtKnptKzjuK1fra','zNjVBq','DMvYC2LVBG','C2XPy2u','q09ovfjptf9vtKfwquLmqujmrq','D29YA3nWywnL','CgLKlxjLDxnLza','lMfNzw50CW','yxbWBhK','n0XkruzrBq','D3jPDgu','z2vUzxjHDgLVBG','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','CMvZDg9Yzs1WCMv2Aw91CW','BgL2zq','DgvZDa','ufjpqKvFveLnru9vva','y29TBwL0lwnHBMrPzgf0zq','ufjpqKvFsu5wquXjra','ChjVy2vZC0LKzw50Axr5','lI4Vy29Yzs9PCgmTzw52zwXVCgu','zw5KCg9PBNq','zxHWB3j0CW','y29UBMvJDa','C2vYDMLUzW','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','BM9KztPMCW','y29UBMvJDgLVBKLKCW','y2f0ywXVz0HHC2G','BM9Uy2u','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ChjVDg9JB2W','q09ovfjptf9pvKvsu0LArq','CMvHzezLBMnL','mJbKsK1Yu3e','D29YA3nWywnLlxjLyM91BMq','C3rVCc1MB3iTDxbKyxrL','odmWmtaYneDNr2DgrG','BM9KztPWyxrO','lNnLy3jLDhm','ru5pru5u','CMfUzg9Tvvvjra','lMTLEq','q09otKvdveLptL9tvefsvf9qru5esu5h','q0HjterFueLex1jfvvnfra','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','C2v0vgLTzw91Da','ufjpqKvFt1zfuLnjwKu','C3rYAw5NAwz5','mJa0nZy4mgfKv0nMwa','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','C2vJCMv0rMLSzq','CMvJB25Uzwn0lxjLCxvPCMvK','zxzPzgvUy2u','BgvUz3rO','AM9PBG','nZC5nMnRrfbqtG','zgf0yq','r0vorvjbveLptL9vtKnptKzjuK1fra','CMvHzezPBgvtEw5J'];_0x2d02=function(){return _0x3391fd;};return _0x2d02();}(function(_0x256fe4,_0x501d57){const _0x4a84b1=_0x2561,_0x388655=_0x256fe4();while(!![]){try{const _0x2872f7=-parseInt(_0x4a84b1(0x1d4))/0x1*(parseInt(_0x4a84b1(0x1a9))/0x2)+parseInt(_0x4a84b1(0x1ce))/0x3*(parseInt(_0x4a84b1(0x233))/0x4)+-parseInt(_0x4a84b1(0x1b2))/0x5*(-parseInt(_0x4a84b1(0x1c6))/0x6)+-parseInt(_0x4a84b1(0x21a))/0x7*(-parseInt(_0x4a84b1(0x1d2))/0x8)+parseInt(_0x4a84b1(0x236))/0x9+-parseInt(_0x4a84b1(0x242))/0xa+-parseInt(_0x4a84b1(0x1c1))/0xb*(parseInt(_0x4a84b1(0x1bf))/0xc);if(_0x2872f7===_0x501d57)break;else _0x388655['push'](_0x388655['shift']());}catch(_0x2d6167){_0x388655['push'](_0x388655['shift']());}}}(_0x2d02,0xc5ab5));function _0x2561(_0x212ccb,_0x162c14){_0x212ccb=_0x212ccb-0x1a6;const _0x2d029f=_0x2d02();let _0x2561a3=_0x2d029f[_0x212ccb];if(_0x2561['mOoPPS']===undefined){var _0x4b3559=function(_0x1682e7){const _0x50d439='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x58b8fb='',_0x29e57c='';for(let _0x28d922=0x0,_0x5ddf28,_0x40d4ae,_0x117a7f=0x0;_0x40d4ae=_0x1682e7['charAt'](_0x117a7f++);~_0x40d4ae&&(_0x5ddf28=_0x28d922%0x4?_0x5ddf28*0x40+_0x40d4ae:_0x40d4ae,_0x28d922++%0x4)?_0x58b8fb+=String['fromCharCode'](0xff&_0x5ddf28>>(-0x2*_0x28d922&0x6)):0x0){_0x40d4ae=_0x50d439['indexOf'](_0x40d4ae);}for(let _0x21c954=0x0,_0x37a195=_0x58b8fb['length'];_0x21c954<_0x37a195;_0x21c954++){_0x29e57c+='%'+('00'+_0x58b8fb['charCodeAt'](_0x21c954)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29e57c);};_0x2561['qzlCNB']=_0x4b3559,_0x2561['KGQUds']={},_0x2561['mOoPPS']=!![];}const _0x348ef4=_0x2d029f[0x0],_0x595adf=_0x212ccb+_0x348ef4,_0x19ea8c=_0x2561['KGQUds'][_0x595adf];return!_0x19ea8c?(_0x2561a3=_0x2561['qzlCNB'](_0x2561a3),_0x2561['KGQUds'][_0x595adf]=_0x2561a3):_0x2561a3=_0x19ea8c,_0x2561a3;}const fs=require(_0x35c955(0x22b)),path=require(_0x35c955(0x237)),crypto=require(_0x35c955(0x1d9)),net=require('node:net'),{signEnvelope}=require(_0x35c955(0x225)),readJson=_0x3dcacc=>{const _0x5dba4f=_0x35c955;try{return JSON[_0x5dba4f(0x1b1)](fs[_0x5dba4f(0x1ac)](_0x3dcacc,_0x5dba4f(0x1ad)));}catch{return null;}};async function probeConnection(_0x16db41,_0x1b1535={}){const _0x14fb42=_0x35c955;if(!_0x16db41?.[_0x14fb42(0x226)]||!_0x16db41?.[_0x14fb42(0x244)]||!_0x16db41?.['connectionId'])return{'status':_0x14fb42(0x1d0),'connectionId':_0x16db41?.['connectionId']||null};let _0x30d807;try{_0x30d807=fs[_0x14fb42(0x1ac)](_0x16db41[_0x14fb42(0x244)]);}catch{const _0x1e61d2={};return _0x1e61d2[_0x14fb42(0x1ea)]=_0x14fb42(0x245),_0x1e61d2[_0x14fb42(0x1b5)]=_0x16db41['connectionId'],_0x1e61d2['code']=_0x14fb42(0x1bb),_0x1e61d2;}const _0x53596e=crypto[_0x14fb42(0x23a)](),_0x430c63={};_0x430c63[_0x14fb42(0x230)]=0x2,_0x430c63[_0x14fb42(0x20c)]='challenge',_0x430c63[_0x14fb42(0x1b5)]=_0x16db41[_0x14fb42(0x1b5)],_0x430c63[_0x14fb42(0x22e)]=_0x53596e;const _0x443a3c=_0x430c63;return _0x443a3c[_0x14fb42(0x1dd)]=signEnvelope(_0x30d807,_0x443a3c),new Promise(_0x5d470a=>{const _0x15616b=_0x14fb42,_0x46f2ab=net[_0x15616b(0x228)](_0x16db41[_0x15616b(0x226)]);let _0x5e595a='';const _0x55599e=_0x169f66=>{const _0x1e5edc=_0x15616b;if(!_0x46f2ab[_0x1e5edc(0x1da)])_0x46f2ab[_0x1e5edc(0x1e7)]();_0x5d470a(_0x169f66);},_0x31e570={};_0x31e570[_0x15616b(0x1ea)]=_0x15616b(0x245),_0x31e570[_0x15616b(0x1e6)]=_0x15616b(0x221),_0x46f2ab['setTimeout'](_0x1b1535[_0x15616b(0x1b7)]||0x9c4,()=>_0x55599e(_0x31e570)),_0x46f2ab['on'](_0x15616b(0x1b6),_0x481be1=>_0x55599e({'status':_0x15616b(0x245),'code':_0x481be1['code']||_0x15616b(0x1f9)})),_0x46f2ab['on'](_0x15616b(0x228),()=>_0x46f2ab[_0x15616b(0x21b)](JSON[_0x15616b(0x241)](_0x443a3c)+'\x0a')),_0x46f2ab['on'](_0x15616b(0x1aa),_0xb687c4=>{const _0x33c7f3=_0x15616b;_0x5e595a+=_0xb687c4;const _0x160bdb={};_0x160bdb['status']=_0x33c7f3(0x1be),_0x160bdb['code']=_0x33c7f3(0x240);if(_0x5e595a[_0x33c7f3(0x1a7)]>0x2000)return _0x55599e(_0x160bdb);const _0x1b8161=_0x5e595a[_0x33c7f3(0x1fb)]('\x0a');if(_0x1b8161<0x0)return;let _0x74129d;try{_0x74129d=JSON['parse'](_0x5e595a[_0x33c7f3(0x214)](0x0,_0x1b8161));}catch{const _0x1b60d7={};return _0x1b60d7[_0x33c7f3(0x1ea)]=_0x33c7f3(0x1be),_0x1b60d7[_0x33c7f3(0x1e6)]=_0x33c7f3(0x223),_0x55599e(_0x1b60d7);}const {mac:_0x4d1766,..._0x42d950}=_0x74129d,_0x461974=crypto[_0x33c7f3(0x20a)](_0x33c7f3(0x1e2),_0x30d807)[_0x33c7f3(0x20d)](JSON[_0x33c7f3(0x241)](_0x42d950))['digest']('hex');if(typeof _0x4d1766!==_0x33c7f3(0x1cb)||_0x4d1766[_0x33c7f3(0x1a7)]!==_0x461974['length']||!crypto[_0x33c7f3(0x206)](Buffer['from'](_0x4d1766),Buffer['from'](_0x461974))||_0x42d950['nonce']!==_0x53596e||_0x42d950[_0x33c7f3(0x1b5)]!==_0x16db41[_0x33c7f3(0x1b5)]||_0x42d950['workspace']!==_0x16db41[_0x33c7f3(0x216)]||_0x42d950[_0x33c7f3(0x208)]!==_0x16db41['supervisorPid']||_0x42d950[_0x33c7f3(0x21c)]!==_0x16db41[_0x33c7f3(0x21c)]||_0x42d950[_0x33c7f3(0x1ef)]!==_0x16db41['childPid']||_0x42d950[_0x33c7f3(0x213)]!==_0x16db41['version']||_0x42d950[_0x33c7f3(0x1d7)]!==_0x16db41[_0x33c7f3(0x1d7)]||_0x42d950[_0x33c7f3(0x1e8)]!==_0x16db41['resourceDigest'])return _0x55599e({'status':_0x33c7f3(0x1be),'code':'PROBE_MISMATCH','connectionId':_0x16db41[_0x33c7f3(0x1b5)]});const _0x5ea819={'status':_0x42d950[_0x33c7f3(0x1d6)],..._0x42d950};_0x5ea819[_0x33c7f3(0x1a6)]='authenticated-live-process',_0x55599e(_0x5ea819);});});}async function controlConnection(_0x5a0bb2,_0x2b95b0,_0x1c2c9f={}){const _0x15d35c=_0x35c955,_0x3ccbb7={};_0x3ccbb7[_0x15d35c(0x1ea)]=_0x15d35c(0x1be),_0x3ccbb7[_0x15d35c(0x1e6)]=_0x15d35c(0x215);if(![_0x15d35c(0x1e0),_0x15d35c(0x1bd),'activate',_0x15d35c(0x1de),_0x15d35c(0x235),_0x15d35c(0x1db),_0x15d35c(0x222),_0x15d35c(0x21e),_0x15d35c(0x200),'gateway-binding'][_0x15d35c(0x1b4)](_0x2b95b0)||!_0x5a0bb2?.[_0x15d35c(0x226)]||!_0x5a0bb2?.[_0x15d35c(0x244)])return _0x3ccbb7;let _0x3b2f57;try{_0x3b2f57=fs[_0x15d35c(0x1ac)](_0x5a0bb2[_0x15d35c(0x244)]);}catch{const _0x4fff84={};return _0x4fff84['status']='failed',_0x4fff84[_0x15d35c(0x1e6)]='SECRET_UNAVAILABLE',_0x4fff84;}const _0x443748=crypto[_0x15d35c(0x23a)](),_0x1278fc=_0x1c2c9f['version']||'',_0x1f69a6=_0x1c2c9f[_0x15d35c(0x1d7)]||'',_0x3205b0={};_0x3205b0[_0x15d35c(0x230)]=0x2,_0x3205b0[_0x15d35c(0x1b5)]=_0x5a0bb2[_0x15d35c(0x1b5)],_0x3205b0[_0x15d35c(0x20c)]=_0x2b95b0,_0x3205b0['nonce']=_0x443748,_0x3205b0[_0x15d35c(0x213)]=_0x1278fc,_0x3205b0['digest']=_0x1f69a6,_0x3205b0[_0x15d35c(0x1f7)]=_0x1c2c9f[_0x15d35c(0x1f7)],_0x3205b0[_0x15d35c(0x1d8)]=_0x1c2c9f['transactionId'],_0x3205b0[_0x15d35c(0x1ff)]=_0x1c2c9f[_0x15d35c(0x1ff)],_0x3205b0[_0x15d35c(0x21c)]=_0x1c2c9f[_0x15d35c(0x21c)],_0x3205b0['resourceDigest']=_0x1c2c9f[_0x15d35c(0x1e8)],_0x3205b0[_0x15d35c(0x22d)]=_0x1c2c9f['catalogHash'],_0x3205b0[_0x15d35c(0x1f8)]=_0x1c2c9f['release'],_0x3205b0[_0x15d35c(0x1b3)]=_0x1c2c9f['nativeCaller'];const _0x1e8328=_0x3205b0;return _0x1e8328[_0x15d35c(0x1dd)]=signEnvelope(_0x3b2f57,_0x1e8328),new Promise(_0x1b2531=>{const _0x2d9e9f=_0x15d35c,_0x41a2e2=net['connect'](_0x5a0bb2['endpoint']);let _0x42ab60='';const _0xa0cf27=_0x411501=>{const _0x5b13ab=_0x2561;if(!_0x41a2e2[_0x5b13ab(0x1da)])_0x41a2e2[_0x5b13ab(0x1e7)]();_0x1b2531(_0x411501);},_0x40ec94={};_0x40ec94[_0x2d9e9f(0x1ea)]=_0x2d9e9f(0x1be),_0x40ec94[_0x2d9e9f(0x1e6)]=_0x2d9e9f(0x1f6),_0x41a2e2[_0x2d9e9f(0x23f)](_0x1c2c9f[_0x2d9e9f(0x1b7)]||0x1fbd0,()=>_0xa0cf27(_0x40ec94)),_0x41a2e2['on'](_0x2d9e9f(0x1b6),_0x52981a=>_0xa0cf27({'status':'failed','code':_0x52981a['code']||_0x2d9e9f(0x209)})),_0x41a2e2['on'](_0x2d9e9f(0x228),()=>_0x41a2e2[_0x2d9e9f(0x21b)](JSON[_0x2d9e9f(0x241)](_0x1e8328)+'\x0a')),_0x41a2e2['on']('data',_0x554f60=>{const _0x4940f2=_0x2d9e9f;_0x42ab60+=_0x554f60;const _0x1d65df={};_0x1d65df[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x1d65df[_0x4940f2(0x1e6)]=_0x4940f2(0x231);if(_0x42ab60['length']>0x2000)return _0xa0cf27(_0x1d65df);const _0x2f5de7=_0x42ab60['indexOf']('\x0a');if(_0x2f5de7<0x0)return;let _0x4059a5;try{_0x4059a5=JSON['parse'](_0x42ab60[_0x4940f2(0x214)](0x0,_0x2f5de7));}catch{const _0x1fa421={};return _0x1fa421[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x1fa421['code']='CONTROL_INVALID',_0xa0cf27(_0x1fa421);}const {mac:_0x335331,..._0x67d3a2}=_0x4059a5,_0xe2d236=crypto[_0x4940f2(0x20a)]('sha256',_0x3b2f57)[_0x4940f2(0x20d)](JSON[_0x4940f2(0x241)](_0x67d3a2))[_0x4940f2(0x1d7)]('hex'),_0x4685a7={};_0x4685a7[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x4685a7[_0x4940f2(0x1e6)]=_0x4940f2(0x20e);if(typeof _0x335331!=='string'||_0x335331[_0x4940f2(0x1a7)]!==_0xe2d236['length']||!crypto[_0x4940f2(0x206)](Buffer['from'](_0x335331),Buffer[_0x4940f2(0x212)](_0xe2d236))||_0x67d3a2[_0x4940f2(0x22e)]!==_0x443748||_0x67d3a2[_0x4940f2(0x1b5)]!==_0x5a0bb2['connectionId']||_0x67d3a2[_0x4940f2(0x216)]!==_0x5a0bb2[_0x4940f2(0x216)]||_0x67d3a2[_0x4940f2(0x208)]!==_0x5a0bb2[_0x4940f2(0x208)])return _0xa0cf27(_0x4685a7);const _0x276f3f={..._0x67d3a2};_0x276f3f[_0x4940f2(0x1a6)]=_0x4940f2(0x1eb),_0xa0cf27(_0x276f3f);});});}async function probeWorkspaceConnections(_0x3724c6,_0x19eac4={}){const _0x402a50=_0x35c955,_0x76c220=[],_0x7728ee=listWorkspaceReceipts(_0x3724c6,_0x76c220),_0x1d77b3=[];for(const _0x40b38d of _0x7728ee)if(!_0x40b38d[_0x402a50(0x1e9)])_0x1d77b3[_0x402a50(0x1cd)](await probeConnection(_0x40b38d,_0x19eac4));const _0x35fc7c=readJson(path[_0x402a50(0x1a8)](fs[_0x402a50(0x203)](_0x3724c6),_0x402a50(0x218),_0x402a50(0x1ed),'generation.json')),_0x5c2be2=require(_0x402a50(0x1c0))['readFence'](_0x3724c6),_0xb23445=_0x19eac4['version']||null,_0x3600d3=_0x19eac4[_0x402a50(0x1d7)]||null,_0x3bbebc=_0x19eac4[_0x402a50(0x1e8)]||null,_0x41ccd0=Number['isSafeInteger'](_0x35fc7c?.[_0x402a50(0x21c)])&&_0x35fc7c[_0x402a50(0x21c)]>0x0&&_0x1d77b3[_0x402a50(0x1c9)](_0x4ca2ee=>_0x4ca2ee[_0x402a50(0x21c)]===_0x35fc7c[_0x402a50(0x21c)]&&[_0x402a50(0x213),_0x402a50(0x1d7),_0x402a50(0x1e8)]['every'](_0x497fef=>_0x4ca2ee[_0x497fef]===_0x35fc7c[_0x497fef])),_0x21ed4b=_0x5c2be2[_0x402a50(0x1ca)]===_0x402a50(0x1fa)&&_0x1d77b3['length']>0x0&&_0x1d77b3['every'](_0x7750a9=>_0x7750a9[_0x402a50(0x1ea)]==='active'&&_0x7750a9[_0x402a50(0x229)]===!![]&&(!_0xb23445||_0x7750a9[_0x402a50(0x213)]===_0xb23445)&&(!_0x3600d3||_0x7750a9[_0x402a50(0x1d7)]===_0x3600d3)&&(!_0x3bbebc||_0x7750a9[_0x402a50(0x1e8)]===_0x3bbebc))&&_0x41ccd0,_0x55abde=Object[_0x402a50(0x204)](_0x5c2be2[_0x402a50(0x1ae)]||{})[_0x402a50(0x1fd)](_0x17da36=>_0x17da36['state']!=='closed'&&!_0x1d77b3[_0x402a50(0x1e4)](_0x5af523=>_0x5af523[_0x402a50(0x1b5)]===_0x17da36[_0x402a50(0x1b5)])),_0x34997a={};return _0x34997a[_0x402a50(0x1e6)]=_0x402a50(0x1ab),{'status':_0x5c2be2[_0x402a50(0x1ca)]!==_0x402a50(0x1fa)?'pending-safe-boundary':_0x21ed4b&&!_0x55abde['length']?_0x402a50(0x1ec):_0x1d77b3[_0x402a50(0x1a7)]||_0x55abde['length']?_0x402a50(0x245):_0x402a50(0x1f1),'connections':_0x1d77b3,'confirmed':_0x1d77b3[_0x402a50(0x1fd)](_0x3bdbf0=>_0x3bdbf0[_0x402a50(0x1a6)]==='authenticated-live-process')[_0x402a50(0x1a7)],'generation':_0x41ccd0?_0x35fc7c['generation']:null,'blockers':[..._0x5c2be2['state']!==_0x402a50(0x1fa)?[{'code':'APT_UPDATE_PENDING','state':_0x5c2be2[_0x402a50(0x1ca)]}]:[],..._0x1d77b3['length']&&!_0x41ccd0?[_0x34997a]:[],..._0x55abde['map'](_0x4c3355=>({'code':_0x402a50(0x211),'connectionId':_0x4c3355[_0x402a50(0x1b5)]}))],'total':_0x1d77b3[_0x402a50(0x1a7)],'foreignWorkspaceStates':_0x76c220};}function listWorkspaceReceipts(_0x4d7892,_0xcaa49b=[]){const _0x3d6561=_0x35c955,_0x49b686=path[_0x3d6561(0x1a8)](fs[_0x3d6561(0x203)](_0x4d7892),_0x3d6561(0x218),_0x3d6561(0x1ed),_0x3d6561(0x1c3));let _0x227dce;try{_0x227dce=fs[_0x3d6561(0x1c4)](_0x49b686)[_0x3d6561(0x1fd)](_0x4de1cb=>_0x4de1cb[_0x3d6561(0x1df)](_0x3d6561(0x1c2))&&!_0x4de1cb['endsWith']('.transaction.json'));}catch(_0x3e3183){if(_0x3e3183['code']===_0x3d6561(0x239))_0x227dce=[];else throw _0x3e3183;}const _0x39618b=[];for(const _0x19afa3 of _0x227dce){const _0x3345ce=readJson(path['join'](_0x49b686,_0x19afa3));let _0x3217c2=!_0x3345ce?.[_0x3d6561(0x216)];try{_0x3217c2||=require(_0x3d6561(0x22f))['sameWorkspace'](_0x3345ce[_0x3d6561(0x216)],_0x4d7892);}catch{}if(!_0x3217c2){const _0x34804a={};_0x34804a['code']='FOREIGN_WORKSPACE_STATE',_0x34804a[_0x3d6561(0x1bc)]=_0x3d6561(0x207),_0x34804a[_0x3d6561(0x1b5)]=_0x3345ce['connectionId'],_0x34804a[_0x3d6561(0x1ee)]=_0x19afa3,_0xcaa49b['push'](_0x34804a);continue;}if(!_0x3345ce)continue;if(_0x3345ce[_0x3d6561(0x1e9)]===!![])_0xcaa49b['push']({'code':_0x3d6561(0x23c),'connectionId':_0x3345ce[_0x3d6561(0x1b5)],'file':_0x19afa3});if(_0x3345ce[_0x3d6561(0x1d6)]===_0x3d6561(0x234)||_0x3345ce[_0x3d6561(0x1d5)]===!![]||_0x3345ce[_0x3d6561(0x1d5)]===undefined&&_0x3345ce[_0x3d6561(0x229)]===![]&&['host-eof',_0x3d6561(0x1cc),_0x3d6561(0x205)]['includes'](_0x3345ce[_0x3d6561(0x1fe)]))continue;_0x39618b[_0x3d6561(0x1cd)](_0x3345ce);}return _0x39618b;}async function reconcileWorkspaceConnections(_0x3f71cb,_0x4987cc={}){const _0x3b626f=_0x35c955,_0x5b887d=[],_0x1554d3=listWorkspaceReceipts(_0x3f71cb,_0x5b887d),_0x4e0102=[],_0x48674c=[];for(const _0x176347 of _0x1554d3){const _0x320a78=await(_0x4987cc['probe']||probeConnection)(_0x176347,_0x4987cc),_0x5b56b9=reconcileProcess(_0x176347);let _0x3940e9;if(_0x176347[_0x3b626f(0x1e9)])_0x3940e9=_0x3b626f(0x1f0);else{if(!_0x176347[_0x3b626f(0x216)])_0x3940e9=_0x3b626f(0x1fc);else{if(['orphaned',_0x3b626f(0x1f3)]['includes'](_0x5b56b9[_0x3b626f(0x1ea)]))_0x3940e9=_0x5b56b9['status']==='orphaned'?'orphaned':_0x3b626f(0x217);else{if(_0x320a78[_0x3b626f(0x1a6)]===_0x3b626f(0x1eb))_0x3940e9=_0x320a78[_0x3b626f(0x229)]?_0x3b626f(0x21f):_0x3b626f(0x1f0);else _0x3940e9=_0x5b56b9[_0x3b626f(0x1ea)]===_0x3b626f(0x1dc)?'orphaned':_0x5b56b9[_0x3b626f(0x1ea)]===_0x3b626f(0x1f3)?'pid-reused':_0x3b626f(0x1b0);}}}const _0x448a1b={};_0x448a1b['receipt']=_0x176347,_0x448a1b[_0x3b626f(0x1c8)]=_0x320a78,_0x448a1b[_0x3b626f(0x1e1)]=_0x3940e9,_0x4e0102[_0x3b626f(0x1cd)](_0x448a1b);if(_0x3940e9!=='live')_0x48674c[_0x3b626f(0x1cd)]({'code':_0x3940e9===_0x3b626f(0x1f0)?_0x3b626f(0x23c):_0x3940e9===_0x3b626f(0x1dc)?_0x3b626f(0x20f):_0x3940e9===_0x3b626f(0x217)?_0x3b626f(0x1f2):_0x3b626f(0x211),'connectionId':_0x176347[_0x3b626f(0x1b5)],'classification':_0x3940e9,'cause':_0x5b56b9['code']||_0x320a78[_0x3b626f(0x1e6)]||_0x320a78[_0x3b626f(0x1ea)]});}const _0x20892b=path[_0x3b626f(0x1a8)](fs[_0x3b626f(0x203)](_0x3f71cb),_0x3b626f(0x243)),_0x5fc45=require(_0x3b626f(0x1c0))[_0x3b626f(0x232)](_0x3f71cb);for(const _0x46c884 of Object[_0x3b626f(0x204)](_0x5fc45[_0x3b626f(0x1ae)]||{})){if(_0x46c884[_0x3b626f(0x1ca)]==='closed'||_0x1554d3[_0x3b626f(0x1e4)](_0x56e9ee=>_0x56e9ee[_0x3b626f(0x1b5)]===_0x46c884[_0x3b626f(0x1b5)]))continue;let _0x1aa08d=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x3b626f(0x220)](_0x46c884[_0x3b626f(0x1b5)]||'')){const _0x9072e6=readJson(path[_0x3b626f(0x1a8)](_0x20892b,_0x46c884['connectionId']+_0x3b626f(0x1c2)));if(_0x9072e6?.['closed']===!![]&&_0x9072e6[_0x3b626f(0x216)]&&require(_0x3b626f(0x22f))[_0x3b626f(0x1b9)](_0x9072e6['workspace'],_0x3f71cb)&&_0x9072e6[_0x3b626f(0x208)]===_0x46c884['supervisorPid']&&typeof _0x9072e6[_0x3b626f(0x20b)]===_0x3b626f(0x1cb))try{const _0x439c5d=path[_0x3b626f(0x1a8)](_0x20892b,_0x3b626f(0x238),_0x46c884['connectionId']+_0x3b626f(0x23b)),_0x239b3b=fs['existsSync'](_0x439c5d)?_0x439c5d:path[_0x3b626f(0x1a8)](_0x3f71cb,_0x3b626f(0x210),crypto[_0x3b626f(0x1c7)](_0x3b626f(0x1e2))['update'](_0x46c884[_0x3b626f(0x1b5)])['digest'](_0x3b626f(0x1c5))+_0x3b626f(0x23b));if(fs['lstatSync'](_0x239b3b)[_0x3b626f(0x1ba)]())throw new Error(_0x3b626f(0x201));const {closureMac:_0x5d6f58,..._0x3f360d}=_0x9072e6,_0x1222e7=crypto[_0x3b626f(0x20a)](_0x3b626f(0x1e2),fs[_0x3b626f(0x1ac)](_0x239b3b))[_0x3b626f(0x20d)](JSON[_0x3b626f(0x241)](_0x3f360d))[_0x3b626f(0x1d7)]('hex');_0x1aa08d=_0x1222e7[_0x3b626f(0x1a7)]===_0x5d6f58[_0x3b626f(0x1a7)]&&crypto[_0x3b626f(0x206)](Buffer[_0x3b626f(0x212)](_0x1222e7),Buffer['from'](_0x5d6f58));if(_0x1aa08d&&_0x4987cc[_0x3b626f(0x219)]===!![])require(_0x3b626f(0x1f5))[_0x3b626f(0x1e5)](_0x3f71cb,_0x46c884[_0x3b626f(0x1b5)],_0x46c884['supervisorPid'],!![]);}catch{_0x1aa08d=![];}}const _0x278917={};_0x278917[_0x3b626f(0x1e6)]=_0x3b626f(0x211),_0x278917[_0x3b626f(0x1b5)]=_0x46c884[_0x3b626f(0x1b5)],_0x278917[_0x3b626f(0x1e1)]='missing-closure-evidence';const _0x2639e5={};_0x2639e5[_0x3b626f(0x1e6)]=_0x3b626f(0x1e3),_0x2639e5[_0x3b626f(0x1b5)]=_0x46c884['connectionId'];if(!_0x1aa08d)_0x48674c[_0x3b626f(0x1cd)](_0x278917);else _0x5b887d[_0x3b626f(0x1cd)](_0x2639e5);}const _0x2da913=new Map();for(const _0xa93e00 of _0x48674c){const _0x121650=_0xa93e00[_0x3b626f(0x1e6)]+':'+(_0xa93e00['cause']||''),_0x35cd32={..._0xa93e00};_0x35cd32[_0x3b626f(0x22c)]=[];const _0x1dac98=_0x2da913[_0x3b626f(0x1af)](_0x121650)||_0x35cd32;_0x1dac98[_0x3b626f(0x22c)][_0x3b626f(0x1cd)](_0xa93e00[_0x3b626f(0x1b5)]),_0x2da913[_0x3b626f(0x1cf)](_0x121650,_0x1dac98);}return{'connections':_0x4e0102,'blockers':_0x48674c,'blockerGroups':[..._0x2da913[_0x3b626f(0x204)]()],'diagnostics':_0x5b887d};}function reconcileProcess(_0x54a494){const _0x2a851e=_0x35c955,_0x467e0b={};_0x467e0b[_0x2a851e(0x1ea)]='unknown';if(!_0x54a494?.[_0x2a851e(0x208)]||!_0x54a494[_0x2a851e(0x23e)])return _0x467e0b;try{const _0x4c607a=require(_0x2a851e(0x22a))[_0x2a851e(0x224)](_0x54a494[_0x2a851e(0x208)]),_0x5b6168={};_0x5b6168['status']=_0x2a851e(0x1dc),_0x5b6168['code']='CONNECTION_ORPHANED';if(!_0x4c607a)return _0x5b6168;const _0x54a9e3={};_0x54a9e3[_0x2a851e(0x1ea)]='reused',_0x54a9e3['code']=_0x2a851e(0x1f2);if(String(_0x4c607a['start'])!==String(_0x54a494[_0x2a851e(0x23e)]))return _0x54a9e3;if(_0x54a494[_0x2a851e(0x1ef)]&&_0x54a494[_0x2a851e(0x202)]){const _0x13d6a1=require(_0x2a851e(0x22a))[_0x2a851e(0x224)](_0x54a494['childPid']),_0x1efdf0={};_0x1efdf0[_0x2a851e(0x1ea)]=_0x2a851e(0x1dc),_0x1efdf0[_0x2a851e(0x1e6)]=_0x2a851e(0x1d1);if(!_0x13d6a1)return _0x1efdf0;const _0x4bd29f={};_0x4bd29f[_0x2a851e(0x1ea)]='reused',_0x4bd29f[_0x2a851e(0x1e6)]=_0x2a851e(0x23d);if(String(_0x13d6a1['start'])!==String(_0x54a494[_0x2a851e(0x202)]))return _0x4bd29f;}const _0x2b8e34={};return _0x2b8e34['status']=_0x2a851e(0x21f),_0x2b8e34;}catch{const _0x3ddf64={};return _0x3ddf64[_0x2a851e(0x1ea)]=_0x2a851e(0x1b8),_0x3ddf64;}}const _0x19e31a={};_0x19e31a['probeConnection']=probeConnection,_0x19e31a[_0x35c955(0x1d3)]=controlConnection,_0x19e31a[_0x35c955(0x1f4)]=probeWorkspaceConnections,_0x19e31a['listWorkspaceReceipts']=listWorkspaceReceipts,_0x19e31a[_0x35c955(0x21d)]=reconcileWorkspaceConnections,module[_0x35c955(0x227)]=_0x19e31a;
1
+ 'use strict';const _0x1b7485=_0x4516;function _0x4516(_0x1b8dd2,_0x53253c){_0x1b8dd2=_0x1b8dd2-0x182;const _0x353b63=_0x353b();let _0x451697=_0x353b63[_0x1b8dd2];if(_0x4516['fkPqwv']===undefined){var _0x1c281e=function(_0x5435f2){const _0x29747f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c5fca='',_0x1723cc='';for(let _0x41f314=0x0,_0x3283e4,_0x2999ca,_0x1b20b9=0x0;_0x2999ca=_0x5435f2['charAt'](_0x1b20b9++);~_0x2999ca&&(_0x3283e4=_0x41f314%0x4?_0x3283e4*0x40+_0x2999ca:_0x2999ca,_0x41f314++%0x4)?_0x1c5fca+=String['fromCharCode'](0xff&_0x3283e4>>(-0x2*_0x41f314&0x6)):0x0){_0x2999ca=_0x29747f['indexOf'](_0x2999ca);}for(let _0x5f4217=0x0,_0x51390f=_0x1c5fca['length'];_0x5f4217<_0x51390f;_0x5f4217++){_0x1723cc+='%'+('00'+_0x1c5fca['charCodeAt'](_0x5f4217)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1723cc);};_0x4516['SqdRWK']=_0x1c281e,_0x4516['TlnwrF']={},_0x4516['fkPqwv']=!![];}const _0x3441f7=_0x353b63[0x0],_0x2e7680=_0x1b8dd2+_0x3441f7,_0x184f58=_0x4516['TlnwrF'][_0x2e7680];return!_0x184f58?(_0x451697=_0x4516['SqdRWK'](_0x451697),_0x4516['TlnwrF'][_0x2e7680]=_0x451697):_0x451697=_0x184f58,_0x451697;}(function(_0x1cd680,_0x42f7a2){const _0x2e3547=_0x4516,_0x36aba0=_0x1cd680();while(!![]){try{const _0x5d5b48=-parseInt(_0x2e3547(0x1f2))/0x1*(-parseInt(_0x2e3547(0x1ae))/0x2)+parseInt(_0x2e3547(0x19b))/0x3*(parseInt(_0x2e3547(0x1ce))/0x4)+parseInt(_0x2e3547(0x218))/0x5*(parseInt(_0x2e3547(0x1d6))/0x6)+parseInt(_0x2e3547(0x203))/0x7*(parseInt(_0x2e3547(0x193))/0x8)+parseInt(_0x2e3547(0x205))/0x9*(-parseInt(_0x2e3547(0x191))/0xa)+parseInt(_0x2e3547(0x1df))/0xb+-parseInt(_0x2e3547(0x1cd))/0xc;if(_0x5d5b48===_0x42f7a2)break;else _0x36aba0['push'](_0x36aba0['shift']());}catch(_0x5137e2){_0x36aba0['push'](_0x36aba0['shift']());}}}(_0x353b,0x6b0a1));const fs=require(_0x1b7485(0x1d5)),path=require(_0x1b7485(0x19e)),crypto=require(_0x1b7485(0x213)),net=require(_0x1b7485(0x1b0)),{signEnvelope}=require(_0x1b7485(0x209)),readJson=_0x225956=>{const _0x231c46=_0x1b7485;try{return JSON[_0x231c46(0x1de)](fs[_0x231c46(0x1eb)](_0x225956,_0x231c46(0x196)));}catch{return null;}};async function probeConnection(_0x4af15d,_0x3f79d5={}){const _0x13a2bd=_0x1b7485;if(!_0x4af15d?.[_0x13a2bd(0x1f0)]||!_0x4af15d?.[_0x13a2bd(0x21b)]||!_0x4af15d?.['connectionId'])return{'status':_0x13a2bd(0x1a0),'connectionId':_0x4af15d?.[_0x13a2bd(0x222)]||null};let _0x5c8947;try{_0x5c8947=fs[_0x13a2bd(0x1eb)](_0x4af15d[_0x13a2bd(0x21b)]);}catch{const _0x4f24a8={};return _0x4f24a8[_0x13a2bd(0x1e3)]=_0x13a2bd(0x1e7),_0x4f24a8[_0x13a2bd(0x222)]=_0x4af15d['connectionId'],_0x4f24a8[_0x13a2bd(0x1cf)]='SECRET_UNAVAILABLE',_0x4f24a8;}const _0x2b1b47=crypto['randomUUID'](),_0x3ac7a3={};_0x3ac7a3['protocol']=0x2,_0x3ac7a3[_0x13a2bd(0x22b)]=_0x13a2bd(0x1ed),_0x3ac7a3[_0x13a2bd(0x222)]=_0x4af15d['connectionId'],_0x3ac7a3[_0x13a2bd(0x1e0)]=_0x2b1b47;const _0x49e67b=_0x3ac7a3;return _0x49e67b['mac']=signEnvelope(_0x5c8947,_0x49e67b),new Promise(_0x8152ab=>{const _0x463a6c=_0x13a2bd,_0x7f824a=net[_0x463a6c(0x1d1)](_0x4af15d['endpoint']);let _0x433610='';const _0x532bf9=_0x419186=>{if(!_0x7f824a['destroyed'])_0x7f824a['destroy']();_0x8152ab(_0x419186);},_0x401c18={};_0x401c18[_0x463a6c(0x1e3)]=_0x463a6c(0x1e7),_0x401c18[_0x463a6c(0x1cf)]=_0x463a6c(0x1a3),_0x7f824a[_0x463a6c(0x21e)](_0x3f79d5[_0x463a6c(0x187)]||0x9c4,()=>_0x532bf9(_0x401c18)),_0x7f824a['on']('error',_0x210af5=>_0x532bf9({'status':'reconnect-required','code':_0x210af5[_0x463a6c(0x1cf)]||_0x463a6c(0x1c2)})),_0x7f824a['on'](_0x463a6c(0x1d1),()=>_0x7f824a[_0x463a6c(0x1af)](JSON[_0x463a6c(0x1db)](_0x49e67b)+'\x0a')),_0x7f824a['on'](_0x463a6c(0x1ad),_0x696d56=>{const _0x212818=_0x463a6c;_0x433610+=_0x696d56;const _0x5239c9={};_0x5239c9[_0x212818(0x1e3)]=_0x212818(0x1f5),_0x5239c9[_0x212818(0x1cf)]=_0x212818(0x185);if(_0x433610['length']>0x2000)return _0x532bf9(_0x5239c9);const _0x128b8f=_0x433610[_0x212818(0x1d0)]('\x0a');if(_0x128b8f<0x0)return;let _0x26c74b;try{_0x26c74b=JSON['parse'](_0x433610['slice'](0x0,_0x128b8f));}catch{const _0x3b21b4={};return _0x3b21b4['status']='failed',_0x3b21b4[_0x212818(0x1cf)]=_0x212818(0x1aa),_0x532bf9(_0x3b21b4);}const {mac:_0x326027,..._0x40b0ba}=_0x26c74b,_0x5c57c2=crypto[_0x212818(0x1ba)](_0x212818(0x1ec),_0x5c8947)[_0x212818(0x202)](JSON[_0x212818(0x1db)](_0x40b0ba))[_0x212818(0x1bb)](_0x212818(0x1b1));if(typeof _0x326027!==_0x212818(0x1e5)||_0x326027[_0x212818(0x189)]!==_0x5c57c2[_0x212818(0x189)]||!crypto['timingSafeEqual'](Buffer[_0x212818(0x1b3)](_0x326027),Buffer[_0x212818(0x1b3)](_0x5c57c2))||_0x40b0ba['nonce']!==_0x2b1b47||_0x40b0ba[_0x212818(0x222)]!==_0x4af15d['connectionId']||_0x40b0ba[_0x212818(0x1ef)]!==_0x4af15d[_0x212818(0x1ef)]||_0x40b0ba['supervisorPid']!==_0x4af15d['supervisorPid']||_0x40b0ba['generation']!==_0x4af15d[_0x212818(0x22a)]||_0x40b0ba[_0x212818(0x184)]!==_0x4af15d['childPid']||_0x40b0ba[_0x212818(0x1e2)]!==_0x4af15d['version']||_0x40b0ba[_0x212818(0x1bb)]!==_0x4af15d['digest']||_0x40b0ba[_0x212818(0x1fe)]!==_0x4af15d[_0x212818(0x1fe)])return _0x532bf9({'status':_0x212818(0x1f5),'code':_0x212818(0x1a2),'connectionId':_0x4af15d['connectionId']});const _0x55efaf={'status':_0x40b0ba[_0x212818(0x1a6)],..._0x40b0ba};_0x55efaf[_0x212818(0x18d)]=_0x212818(0x1f3),_0x532bf9(_0x55efaf);});});}async function controlConnection(_0x132969,_0x102896,_0x3f495f={}){const _0x51e7f2=_0x1b7485,_0x4eb389={};_0x4eb389[_0x51e7f2(0x1e3)]='failed',_0x4eb389[_0x51e7f2(0x1cf)]='CONTROL_UNAVAILABLE';if(![_0x51e7f2(0x18a),_0x51e7f2(0x1f4),_0x51e7f2(0x1c5),'abort',_0x51e7f2(0x228),_0x51e7f2(0x214),_0x51e7f2(0x201),_0x51e7f2(0x1cc),_0x51e7f2(0x20f),_0x51e7f2(0x1fa)][_0x51e7f2(0x19c)](_0x102896)||!_0x132969?.[_0x51e7f2(0x1f0)]||!_0x132969?.[_0x51e7f2(0x21b)])return _0x4eb389;let _0x229502;try{_0x229502=fs[_0x51e7f2(0x1eb)](_0x132969[_0x51e7f2(0x21b)]);}catch{const _0x27de48={};return _0x27de48[_0x51e7f2(0x1e3)]=_0x51e7f2(0x1f5),_0x27de48['code']='SECRET_UNAVAILABLE',_0x27de48;}const _0x2a8102=crypto[_0x51e7f2(0x221)](),_0x5d27b2=_0x3f495f[_0x51e7f2(0x1e2)]||'',_0x5ad34b=_0x3f495f['digest']||'',_0x518e9b={};_0x518e9b['protocol']=0x2,_0x518e9b['connectionId']=_0x132969['connectionId'],_0x518e9b[_0x51e7f2(0x22b)]=_0x102896,_0x518e9b[_0x51e7f2(0x1e0)]=_0x2a8102,_0x518e9b[_0x51e7f2(0x1e2)]=_0x5d27b2,_0x518e9b[_0x51e7f2(0x1bb)]=_0x5ad34b,_0x518e9b[_0x51e7f2(0x19a)]=_0x3f495f[_0x51e7f2(0x19a)],_0x518e9b[_0x51e7f2(0x1da)]=_0x3f495f['transactionId'],_0x518e9b['epoch']=_0x3f495f[_0x51e7f2(0x1a4)],_0x518e9b[_0x51e7f2(0x22a)]=_0x3f495f['generation'],_0x518e9b['resourceDigest']=_0x3f495f[_0x51e7f2(0x1fe)],_0x518e9b[_0x51e7f2(0x1ee)]=_0x3f495f[_0x51e7f2(0x1ee)],_0x518e9b['release']=_0x3f495f[_0x51e7f2(0x1c7)],_0x518e9b[_0x51e7f2(0x1c0)]=_0x3f495f[_0x51e7f2(0x1c0)];const _0x306101=_0x518e9b;return _0x306101[_0x51e7f2(0x186)]=signEnvelope(_0x229502,_0x306101),new Promise(_0x1e92b3=>{const _0x593dff=_0x51e7f2,_0x56c192=net[_0x593dff(0x1d1)](_0x132969[_0x593dff(0x1f0)]);let _0x54997c='';const _0x4437b4=_0x12cc04=>{const _0x43804d=_0x593dff;if(!_0x56c192[_0x43804d(0x229)])_0x56c192[_0x43804d(0x18e)]();_0x1e92b3(_0x12cc04);},_0x15f181={};_0x15f181['status']=_0x593dff(0x1f5),_0x15f181[_0x593dff(0x1cf)]=_0x593dff(0x183),_0x56c192[_0x593dff(0x21e)](_0x3f495f['timeoutMs']||0x1fbd0,()=>_0x4437b4(_0x15f181)),_0x56c192['on'](_0x593dff(0x19d),_0x472c5e=>_0x4437b4({'status':_0x593dff(0x1f5),'code':_0x472c5e[_0x593dff(0x1cf)]||_0x593dff(0x1a1)})),_0x56c192['on']('connect',()=>_0x56c192[_0x593dff(0x1af)](JSON[_0x593dff(0x1db)](_0x306101)+'\x0a')),_0x56c192['on'](_0x593dff(0x1ad),_0xe1758c=>{const _0x5ff06e=_0x593dff;_0x54997c+=_0xe1758c;const _0x9253be={};_0x9253be[_0x5ff06e(0x1e3)]=_0x5ff06e(0x1f5),_0x9253be[_0x5ff06e(0x1cf)]=_0x5ff06e(0x1fc);if(_0x54997c[_0x5ff06e(0x189)]>0x2000)return _0x4437b4(_0x9253be);const _0x42394c=_0x54997c[_0x5ff06e(0x1d0)]('\x0a');if(_0x42394c<0x0)return;let _0x4c8b82;try{_0x4c8b82=JSON[_0x5ff06e(0x1de)](_0x54997c[_0x5ff06e(0x1b2)](0x0,_0x42394c));}catch{const _0x4acb2c={};return _0x4acb2c[_0x5ff06e(0x1e3)]=_0x5ff06e(0x1f5),_0x4acb2c[_0x5ff06e(0x1cf)]='CONTROL_INVALID',_0x4437b4(_0x4acb2c);}const {mac:_0x4385c2,..._0x555f7b}=_0x4c8b82,_0x301290=crypto[_0x5ff06e(0x1ba)](_0x5ff06e(0x1ec),_0x229502)[_0x5ff06e(0x202)](JSON[_0x5ff06e(0x1db)](_0x555f7b))['digest']('hex'),_0x2823ce={};_0x2823ce[_0x5ff06e(0x1e3)]=_0x5ff06e(0x1f5),_0x2823ce['code']='CONTROL_MISMATCH';if(typeof _0x4385c2!==_0x5ff06e(0x1e5)||_0x4385c2['length']!==_0x301290[_0x5ff06e(0x189)]||!crypto[_0x5ff06e(0x225)](Buffer[_0x5ff06e(0x1b3)](_0x4385c2),Buffer[_0x5ff06e(0x1b3)](_0x301290))||_0x555f7b[_0x5ff06e(0x1e0)]!==_0x2a8102||_0x555f7b[_0x5ff06e(0x222)]!==_0x132969[_0x5ff06e(0x222)]||_0x555f7b[_0x5ff06e(0x1ef)]!==_0x132969[_0x5ff06e(0x1ef)]||_0x555f7b['supervisorPid']!==_0x132969['supervisorPid'])return _0x4437b4(_0x2823ce);const _0x2ce10c={..._0x555f7b};_0x2ce10c[_0x5ff06e(0x18d)]='authenticated-live-process',_0x4437b4(_0x2ce10c);});});}function _0x353b(){const _0x29c525=['ChjVy2vZC0LKzw50Axr5','BwvTyMvYCW','ywn0AxzHDgu','y2XVC2vnzw1Izxi','CMvSzwfZzq','C3vWzxj2AxnVCG','C2v0','ywn0AxzL','C29Tzq','CMvZDg9Yzs1WCMv2Aw91CW','mtqZndq3mJHsA3rMtLa','ngnNr1H4Ca','y29Kzq','Aw5KzxHpzG','y29UBMvJDa','Bhn0yxrtEw5J','AxntywzLsw50zwDLCG','C3vWzxj2AxnVCLbPza','BM9KztPMCW','oti0uKndsMXn','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','AxntEw1IB2XPy0XPBMS','y2XVC2vK','DhjHBNnHy3rPB25jza','C3rYAw5NAwz5','zxzLCNK','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','CgfYC2u','odK0nZqYmK9Wzwfbuq','BM9Uy2u','q0HjterFueLex1jfvvnfra','DMvYC2LVBG','C3rHDhvZ','BgL2zq','C3rYAw5N','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','CMvJB25Uzwn0lxjLCxvPCMvK','q0HjterFufjpq0vtu19puLbiqu5fra','CMvHzezLBMnL','y29UBMvJDgLVBKLKCW','CMvHzezPBgvtEw5J','C2HHmJu2','y2HHBgXLBMDL','y2f0ywXVz0HHC2G','D29YA3nWywnL','zw5KCg9PBNq','y2XHC3nPzMLJyxrPB24','ntaXmZqZrxneBNjN','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','CMvXDwvZDc1ZDg9W','zMfPBgvK','y2HPBgrqCM9JzxnZu3rHCNq','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','ChjVDMLZAw9UywW','lNnLy3jLDhm','z2f0zxDHEs1IAw5KAw5N','ChjVyMvdB25Uzwn0Aw9U','q09ovfjptf9pvKvsu0LArq','lMTLEq','CMvZB3vYy2veAwDLC3q','CMvHBhbHDgHtEw5J','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29TBwL0lwnHBMrPzgf0zq','DxbKyxrL','n0TbzfPcqG','y2HPBgq','ntr6EwrIANe','zxHWB3j0CW','C2fTzvDVCMTZCgfJzq','AM9PBG','lI4Vy29Yzs9PCgmTzw52zwXVCgu','y29UBMvJDgLVBG','zxHPC3rZu3LUyW','ChjVy2vZC1n0yxrL','B3jWAgfUzwq','CNvUDgLTzq','Ag9VAY1JB250zxH0','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','q09otKvdveLptL9tvefsvf9qru5esu5h','q09otKvdveLptL9vtKnptKzjuK1fra','BM9KztPJCNLWDg8','ChjLCgfYzs1Jyw5KAwrHDgu','B3DUzxjZAgLWlxvUDMvYAwzPzwq','C3rHDgu','C2vYDMLUzW','ndi0mhrkt1rcqq','y29UBMvJDgLVBNm','Dw5IB3vUza','C2vJCMv0rMLSzq','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','BwLZC2LUzW','C2v0vgLTzw91Da','y29UBMvJDgLUzW','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMfUzg9Tvvvjra','y29UBMvJDgLVBKLK','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','DgLTAw5Nu2fMzuvXDwfS','DgvZDa','z2v0','C3rVCc1MB3iTDxbKyxrL','zgvZDhjVEwvK','z2vUzxjHDgLVBG','DhLWzq','qvbux1vqrefurv9qru5esu5h','q09ovfjptf9usu1ft1vu','y2HPBgrqAwq','ufjpqKvFt1zfuLnjwKu','BwfJ','DgLTzw91De1Z','sw52ywXPzcbJBg9ZDxjLigTLEq','BgvUz3rO','ChjLCgfYzq','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','CMvJzwLWDa','zxzPzgvUy2u','zgvZDhjVEq','ueLex1jfvvnfra','zw5KC1DPDgG','mZa2ntKWvvrxyw5p','CMvHzgrPCLn5BMm','mJm3mJuYmfHOuNrcEa','lMfNzw50CW','r0vorvjbveLptL9vtKnptKzjuK1fra','DxrMoa','z2vUzxjHDgLVBI5QC29U','BwfW','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','D2fPDfnLy29Uzhm','mJi3nJm3z21pDK9l','Aw5JBhvKzxm','zxjYB3i','BM9KztPWyxrO','Dw5RBM93BG','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','q09ovfjptf9gquLmruq','ufjpqKvFtuLttufuq0G','ufjpqKvFveLnru9vva','zxbVy2G','lMPZB24','ywn0AxzHDgLVBG','ChjVyMu','zMLSDgvY','C3vWzxj2AxnVCI1ZAhv0zg93BG','ufjpqKvFsu5wquXjra','Ag9ZDc1LB2y','lNrYyw5Zywn0Aw9UlMPZB24','zgf0yq','mKfowwHrAG','D3jPDgu','BM9KztPUzxq','Agv4','C2XPy2u','zNjVBq','rvnsq0G','B3bLBG','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','ChjVB2y','ChvZAa','Ag9ZDc1LCNjVCG','y3jLyxrLsg1HyW','zgLNzxn0','zMLSzq','CgLKlxjLDxnLza','ufjpq0vtu19pv05fuLnisvbFvu5wrvjjrKLfra','q09otKvdveLptL9puLbiqu5fra','BMf0AxzLq2fSBgvY','CMv1C2vK','ufjpqKvFrKfjteve'];_0x353b=function(){return _0x29c525;};return _0x353b();}async function probeWorkspaceConnections(_0x4ae6d2,_0x10c0fd={}){const _0xfc6590=_0x1b7485,_0x5d8c9b=[],_0x7ab6b5=listWorkspaceReceipts(_0x4ae6d2,_0x5d8c9b),_0x23c7cd=[];for(const _0x48443a of _0x7ab6b5)if(!_0x48443a[_0xfc6590(0x1f8)])_0x23c7cd['push'](await probeConnection(_0x48443a,_0x10c0fd));const _0xbf8e9d=readJson(path[_0xfc6590(0x208)](fs[_0xfc6590(0x1ff)](_0x4ae6d2),'.agents',_0xfc6590(0x20e),_0xfc6590(0x197))),_0x1e0767=require(_0xfc6590(0x200))['readFence'](_0x4ae6d2),_0x21dc6f=_0x10c0fd[_0xfc6590(0x1e2)]||null,_0x51a7d4=_0x10c0fd['digest']||null,_0x36e9b7=_0x10c0fd[_0xfc6590(0x1fe)]||null,_0x3ef254=Number[_0xfc6590(0x1d3)](_0xbf8e9d?.[_0xfc6590(0x22a)])&&_0xbf8e9d[_0xfc6590(0x22a)]>0x0&&_0x23c7cd[_0xfc6590(0x1dc)](_0x4941a8=>_0x4941a8[_0xfc6590(0x22a)]===_0xbf8e9d['generation']&&[_0xfc6590(0x1e2),_0xfc6590(0x1bb),_0xfc6590(0x1fe)]['every'](_0x2ad70a=>_0x4941a8[_0x2ad70a]===_0xbf8e9d[_0x2ad70a])),_0x260708=_0x1e0767[_0xfc6590(0x216)]===_0xfc6590(0x1b5)&&_0x23c7cd['length']>0x0&&_0x23c7cd[_0xfc6590(0x1dc)](_0x22abd8=>_0x22abd8[_0xfc6590(0x1e3)]===_0xfc6590(0x1ca)&&_0x22abd8[_0xfc6590(0x217)]===!![]&&(!_0x21dc6f||_0x22abd8[_0xfc6590(0x1e2)]===_0x21dc6f)&&(!_0x51a7d4||_0x22abd8['digest']===_0x51a7d4)&&(!_0x36e9b7||_0x22abd8[_0xfc6590(0x1fe)]===_0x36e9b7))&&_0x3ef254,_0x210d83=Object['values'](_0x1e0767['members']||{})[_0xfc6590(0x1a8)](_0x2257b1=>_0x2257b1[_0xfc6590(0x216)]!=='closed'&&!_0x23c7cd[_0xfc6590(0x1cb)](_0x371d91=>_0x371d91[_0xfc6590(0x222)]===_0x2257b1[_0xfc6590(0x222)])),_0x3f760a={};return _0x3f760a[_0xfc6590(0x1cf)]=_0xfc6590(0x195),{'status':_0x1e0767[_0xfc6590(0x216)]!==_0xfc6590(0x1b5)?_0xfc6590(0x199):_0x260708&&!_0x210d83[_0xfc6590(0x189)]?_0xfc6590(0x1ca):_0x23c7cd[_0xfc6590(0x189)]||_0x210d83[_0xfc6590(0x189)]?_0xfc6590(0x1e7):_0xfc6590(0x223),'connections':_0x23c7cd,'confirmed':_0x23c7cd[_0xfc6590(0x1a8)](_0x20efde=>_0x20efde[_0xfc6590(0x18d)]==='authenticated-live-process')[_0xfc6590(0x189)],'generation':_0x3ef254?_0xbf8e9d[_0xfc6590(0x22a)]:null,'blockers':[..._0x1e0767[_0xfc6590(0x216)]!==_0xfc6590(0x1b5)?[{'code':_0xfc6590(0x182),'state':_0x1e0767[_0xfc6590(0x216)]}]:[],..._0x23c7cd[_0xfc6590(0x189)]&&!_0x3ef254?[_0x3f760a]:[],..._0x210d83[_0xfc6590(0x198)](_0x31b5bc=>({'code':_0xfc6590(0x212),'connectionId':_0x31b5bc[_0xfc6590(0x222)]}))],'total':_0x23c7cd['length'],'foreignWorkspaceStates':_0x5d8c9b};}function listWorkspaceReceipts(_0xe7bafc,_0x392e1b=[]){const _0x3143a4=_0x1b7485,_0x1c2ad2=path[_0x3143a4(0x208)](fs[_0x3143a4(0x1ff)](_0xe7bafc),_0x3143a4(0x194),_0x3143a4(0x20e),_0x3143a4(0x219));let _0x28a98d;try{_0x28a98d=fs[_0x3143a4(0x192)](_0x1c2ad2)[_0x3143a4(0x1a8)](_0x3a6a34=>_0x3a6a34[_0x3143a4(0x190)](_0x3143a4(0x1a5))&&!_0x3a6a34[_0x3143a4(0x190)](_0x3143a4(0x1ac)));}catch(_0x3ff52e){if(_0x3ff52e[_0x3143a4(0x1cf)]==='ENOENT')_0x28a98d=[];else throw _0x3ff52e;}const _0x14eb7b=[];for(const _0x27514b of _0x28a98d){const _0x192559=readJson(path[_0x3143a4(0x208)](_0x1c2ad2,_0x27514b));let _0xf781f2=!_0x192559?.[_0x3143a4(0x1ef)];try{_0xf781f2||=require('../core/workspace-path')[_0x3143a4(0x207)](_0x192559[_0x3143a4(0x1ef)],_0xe7bafc);}catch{}if(!_0xf781f2){const _0x59c694={};_0x59c694[_0x3143a4(0x1cf)]=_0x3143a4(0x18b),_0x59c694['kind']=_0x3143a4(0x20a),_0x59c694[_0x3143a4(0x222)]=_0x192559[_0x3143a4(0x222)],_0x59c694[_0x3143a4(0x1bc)]=_0x27514b,_0x392e1b[_0x3143a4(0x1b8)](_0x59c694);continue;}if(!_0x192559)continue;if(_0x192559['provisional']===!![])_0x392e1b[_0x3143a4(0x1b8)]({'code':_0x3143a4(0x211),'connectionId':_0x192559[_0x3143a4(0x222)],'file':_0x27514b});if(_0x192559[_0x3143a4(0x1a6)]==='workspace-rebound'||_0x192559['closed']===!![]||_0x192559[_0x3143a4(0x1d9)]===undefined&&_0x192559[_0x3143a4(0x217)]===![]&&[_0x3143a4(0x1ab),_0x3143a4(0x1b9),_0x3143a4(0x1a9)][_0x3143a4(0x19c)](_0x192559['stopReason']))continue;_0x14eb7b['push'](_0x192559);}return _0x14eb7b;}async function reconcileWorkspaceConnections(_0x1863aa,_0x397235={}){const _0x272d6e=_0x1b7485,_0x4cafd6=[],_0x24251b=listWorkspaceReceipts(_0x1863aa,_0x4cafd6),_0x3e1b2=[],_0x2a857c=[];for(const _0x4eafba of _0x24251b){const _0x2252f4=await(_0x397235[_0x272d6e(0x1a7)]||probeConnection)(_0x4eafba,_0x397235),_0x952525=reconcileProcess(_0x4eafba);let _0x91d407;if(_0x4eafba[_0x272d6e(0x1f8)])_0x91d407=_0x272d6e(0x21f);else{if(!_0x4eafba[_0x272d6e(0x1ef)])_0x91d407=_0x272d6e(0x21a);else{if([_0x272d6e(0x20d),_0x272d6e(0x1c1)][_0x272d6e(0x19c)](_0x952525['status']))_0x91d407=_0x952525['status']===_0x272d6e(0x20d)?_0x272d6e(0x20d):_0x272d6e(0x1bd);else{if(_0x2252f4[_0x272d6e(0x18d)]==='authenticated-live-process')_0x91d407=_0x2252f4['serving']?_0x272d6e(0x1e4):_0x272d6e(0x21f);else _0x91d407=_0x952525['status']===_0x272d6e(0x20d)?_0x272d6e(0x20d):_0x952525['status']===_0x272d6e(0x1c1)?'pid-reused':_0x272d6e(0x215);}}}const _0x2d58c0={};_0x2d58c0[_0x272d6e(0x18c)]=_0x4eafba,_0x2d58c0[_0x272d6e(0x1b7)]=_0x2252f4,_0x2d58c0['classification']=_0x91d407,_0x2d58c0[_0x272d6e(0x20c)]=_0x952525,_0x3e1b2[_0x272d6e(0x1b8)](_0x2d58c0);if(_0x91d407!=='live')_0x2a857c[_0x272d6e(0x1b8)]({'code':_0x91d407===_0x272d6e(0x21f)?_0x272d6e(0x211):_0x91d407===_0x272d6e(0x20d)?_0x272d6e(0x1bf):_0x91d407===_0x272d6e(0x1bd)?'PID_REUSED':'CONNECTION_UNCONFIRMED','connectionId':_0x4eafba[_0x272d6e(0x222)],'classification':_0x91d407,'cause':_0x952525[_0x272d6e(0x1cf)]||_0x2252f4['code']||_0x2252f4[_0x272d6e(0x1e3)]});}const _0x222aec=path[_0x272d6e(0x208)](fs[_0x272d6e(0x1ff)](_0x1863aa),_0x272d6e(0x1e6)),_0x3c547e=require(_0x272d6e(0x200))[_0x272d6e(0x1e9)](_0x1863aa);for(const _0x24ee76 of Object['values'](_0x3c547e[_0x272d6e(0x1c4)]||{})){if(_0x24ee76[_0x272d6e(0x216)]==='closed'||_0x24251b[_0x272d6e(0x1cb)](_0x21ce2c=>_0x21ce2c[_0x272d6e(0x222)]===_0x24ee76[_0x272d6e(0x222)]))continue;let _0x10e937=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x272d6e(0x226)](_0x24ee76['connectionId']||'')){const _0x1b9286=readJson(path[_0x272d6e(0x208)](_0x222aec,_0x24ee76['connectionId']+_0x272d6e(0x1a5)));if(_0x1b9286?.[_0x272d6e(0x1d9)]===!![]&&_0x1b9286[_0x272d6e(0x1ef)]&&require(_0x272d6e(0x224))[_0x272d6e(0x207)](_0x1b9286[_0x272d6e(0x1ef)],_0x1863aa)&&_0x1b9286[_0x272d6e(0x1d4)]===_0x24ee76[_0x272d6e(0x1d4)]&&typeof _0x1b9286['closureMac']==='string')try{const _0x3a0f2c=path[_0x272d6e(0x208)](_0x222aec,_0x272d6e(0x1f9),_0x24ee76[_0x272d6e(0x222)]+_0x272d6e(0x1fd)),_0x15ada2=fs[_0x272d6e(0x20b)](_0x3a0f2c)?_0x3a0f2c:path['join'](_0x1863aa,_0x272d6e(0x1b6),crypto['createHash']('sha256')[_0x272d6e(0x202)](_0x24ee76[_0x272d6e(0x222)])[_0x272d6e(0x1bb)]('hex')+'.key');if(fs[_0x272d6e(0x1d2)](_0x15ada2)[_0x272d6e(0x1d8)]())throw new Error(_0x272d6e(0x188));const {closureMac:_0x13c1b2,..._0x3edda2}=_0x1b9286,_0x5f2816=crypto['createHmac']('sha256',fs[_0x272d6e(0x1eb)](_0x15ada2))[_0x272d6e(0x202)](JSON[_0x272d6e(0x1db)](_0x3edda2))[_0x272d6e(0x1bb)]('hex');_0x10e937=_0x5f2816[_0x272d6e(0x189)]===_0x13c1b2['length']&&crypto['timingSafeEqual'](Buffer['from'](_0x5f2816),Buffer[_0x272d6e(0x1b3)](_0x13c1b2));if(_0x10e937&&_0x397235['apply']===!![])require(_0x272d6e(0x1d7))[_0x272d6e(0x1c6)](_0x1863aa,_0x24ee76['connectionId'],_0x24ee76[_0x272d6e(0x1d4)],!![]);}catch{_0x10e937=![];}}const _0x4c28a9={};_0x4c28a9[_0x272d6e(0x1cf)]=_0x272d6e(0x212),_0x4c28a9[_0x272d6e(0x222)]=_0x24ee76[_0x272d6e(0x222)],_0x4c28a9[_0x272d6e(0x1f1)]='missing-closure-evidence';const _0x58f49f={};_0x58f49f['code']=_0x272d6e(0x21c),_0x58f49f[_0x272d6e(0x222)]=_0x24ee76[_0x272d6e(0x222)];if(!_0x10e937)_0x2a857c[_0x272d6e(0x1b8)](_0x4c28a9);else _0x4cafd6[_0x272d6e(0x1b8)](_0x58f49f);}const _0x48c2b6=new Map();for(const _0x7e60a5 of _0x2a857c){const _0x23fe51=_0x7e60a5[_0x272d6e(0x1cf)]+':'+(_0x7e60a5['cause']||''),_0x1b3079={..._0x7e60a5};_0x1b3079[_0x272d6e(0x1ea)]=[];const _0x3e97b8=_0x48c2b6[_0x272d6e(0x227)](_0x23fe51)||_0x1b3079;_0x3e97b8[_0x272d6e(0x1ea)][_0x272d6e(0x1b8)](_0x7e60a5[_0x272d6e(0x222)]),_0x48c2b6[_0x272d6e(0x1c9)](_0x23fe51,_0x3e97b8);}return{'connections':_0x3e1b2,'blockers':_0x2a857c,'blockerGroups':[..._0x48c2b6['values']()],'diagnostics':_0x4cafd6};}function reconcileProcess(_0x37c607){const _0x12a5d7=_0x1b7485,_0x28628b={};_0x28628b['status']=_0x12a5d7(0x19f);if(!_0x37c607?.[_0x12a5d7(0x1d4)]||!_0x37c607[_0x12a5d7(0x210)])return _0x28628b;const _0x530a2f=(_0x58c33b,_0x59f35b)=>{const _0x305f7a=_0x12a5d7;try{const _0xc41136=require(_0x305f7a(0x1f7))[_0x305f7a(0x1c3)](_0x58c33b),_0xbe12a8={};_0xbe12a8[_0x305f7a(0x1e3)]=_0x305f7a(0x21d);if(!_0xc41136)return _0xbe12a8;const _0x16e073={};_0x16e073[_0x305f7a(0x1e3)]='reused';if(String(_0xc41136['start'])!==String(_0x59f35b))return _0x16e073;const _0x90e26e={};return _0x90e26e[_0x305f7a(0x1e3)]=_0x305f7a(0x1e4),_0x90e26e;}catch(_0x2696bb){const _0x46b806={};_0x46b806[_0x305f7a(0x1e3)]=_0x305f7a(0x21d);if(['ENOENT',_0x305f7a(0x1b4)]['includes'](_0x2696bb[_0x305f7a(0x1cf)]))return _0x46b806;const _0x52f0d7={};return _0x52f0d7[_0x305f7a(0x1e3)]='unknown',_0x52f0d7['code']=_0x2696bb['code']||_0x305f7a(0x1be),_0x52f0d7;}},_0x1563eb=_0x530a2f(_0x37c607['supervisorPid'],_0x37c607['supervisorProcessStart']);if(_0x1563eb[_0x12a5d7(0x1e3)]===_0x12a5d7(0x1c1))return{'status':_0x12a5d7(0x1c1),'code':_0x12a5d7(0x18f),'supervisor':_0x1563eb};if(_0x1563eb[_0x12a5d7(0x1e3)]===_0x12a5d7(0x19f))return{'status':'unknown','code':_0x1563eb[_0x12a5d7(0x1cf)],'supervisor':_0x1563eb};if(!_0x37c607[_0x12a5d7(0x184)]||!_0x37c607[_0x12a5d7(0x1f6)])return _0x1563eb['status']===_0x12a5d7(0x21d)?{'status':_0x12a5d7(0x20d),'code':_0x12a5d7(0x1bf),'supervisor':_0x1563eb}:{'status':'live','supervisor':_0x1563eb};const _0x1cdc21=_0x530a2f(_0x37c607[_0x12a5d7(0x184)],_0x37c607[_0x12a5d7(0x1f6)]);if(_0x1cdc21[_0x12a5d7(0x1e3)]==='reused')return{'status':_0x12a5d7(0x1c1),'code':_0x12a5d7(0x1e1),'supervisor':_0x1563eb,'child':_0x1cdc21};if(_0x1cdc21[_0x12a5d7(0x1e3)]===_0x12a5d7(0x19f))return{'status':_0x12a5d7(0x19f),'code':_0x1cdc21[_0x12a5d7(0x1cf)],'supervisor':_0x1563eb,'child':_0x1cdc21};if(_0x1563eb[_0x12a5d7(0x1e3)]===_0x12a5d7(0x21d)&&_0x1cdc21['status']===_0x12a5d7(0x21d))return{'status':_0x12a5d7(0x20d),'code':'PROCESS_TREE_ORPHANED','supervisor':_0x1563eb,'child':_0x1cdc21};if(_0x1563eb[_0x12a5d7(0x1e3)]==='missing')return{'status':_0x12a5d7(0x20d),'code':_0x12a5d7(0x1bf),'supervisor':_0x1563eb,'child':_0x1cdc21};if(_0x1cdc21[_0x12a5d7(0x1e3)]===_0x12a5d7(0x21d))return{'status':_0x12a5d7(0x20d),'code':_0x12a5d7(0x1e8),'supervisor':_0x1563eb,'child':_0x1cdc21};const _0x10ce35={};return _0x10ce35[_0x12a5d7(0x1e3)]=_0x12a5d7(0x1e4),_0x10ce35[_0x12a5d7(0x1c8)]=_0x1563eb,_0x10ce35[_0x12a5d7(0x204)]=_0x1cdc21,_0x10ce35;}const _0x43bb8b={};_0x43bb8b[_0x1b7485(0x1fb)]=probeConnection,_0x43bb8b['controlConnection']=controlConnection,_0x43bb8b[_0x1b7485(0x220)]=probeWorkspaceConnections,_0x43bb8b['listWorkspaceReceipts']=listWorkspaceReceipts,_0x43bb8b[_0x1b7485(0x1dd)]=reconcileWorkspaceConnections,module[_0x1b7485(0x206)]=_0x43bb8b;
@@ -1 +1 @@
1
- 'use strict';function _0x449e(){const _0x4223ef=['AxnZDwuTy29UDgv4Da','yM9VDeLKzw50Axr5','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','Dg9VBa','BgvUz3rO','Cgf0Aa','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','lMfNzw50CW','CMvSzwfZzq','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','DhLWzq','zMLSzvvstfrVugf0Aa','Bwv0Ag9K','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','BwTKAxjtEw5J','lI4Vy29Yzs9VD25Lzc1SB2nR','zMLSztO','CMvZDg9Yzs1WCMv2Aw91CW','D3jPDgviB3n0','Aw52B2nHDgLVBKLK','yxjNDw1LBNrZ','C3rHDgu','DhjHBNnHy3rPB25jza','ChjLCgfYzs1Jyw5KAwrHDgu','DMvYC2LVBG','CMvXDwvZDeLK','DxrMoa','CMvJzwL2zunVBNrYB2W','BM9KztPUzxq','mtm5og5ttKH1Cq','ywrTAxnZAw9UlwnOzwnR','yM9VDfjLAMvJDa','zgf0yq','CgLUzW','zNjVEMvU','y2HPBgrdBg9Zzwq','zgLYBMfTzq','ywn0AxzHDgu','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','zw5KCg9PBNq','Agv4','AwrLBNrPDhK','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','y2f0ywXVz0HHC2G','AM9PBG','Dg9ju09tDhjPBMC','CgLK','uKvtt1vsq0vFuK9mtf9gt1jxqvjex1jfuvvjuKve','nJiZs0HABxzW','CMvHC29U','D29YA3nWywnLlxvWzgf0zq','y29TBwL0lwnHBMrPzgf0zq','z2vUzxjHDgLVBG','AxnszwfKt25SEvrVB2W','lI91CgrHDguTzxHLy3v0B3i','q0HjterFuLbdx1rjtuvpvvq','DhjHBNnWB3j0','AxbJ','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','v09ss0vsx1nut1bFvu5dt05gsvjnruq','lI91CgrHDguTCMvXDwvZDa','BgLZDf9JB2rLx2zPBgvZ','lMTLEq','C3rVCenOAwXK','Dg9VBhm','zgvMzxjjzgvUDgL0Eq','yxnZzxj0u3rHCNr1CfjLywr5','y2fUzgLKyxrLlxjLy292zxj5','zxbVy2G','uNvUDgLTzsbJAgLSzcbZDgfYDhvWihrPBwvKig91Da','C3vWzxj2AxnVCLbPza','yNL0zuXLBMD0Aa','y2HPBgrqAwq','C2v0','D2fPDgLUzW','BwnWx2fNzw50x2HLywX0Aa','D29YA3nWywnLlxjVBgXIywnR','zxHWBgLJAxrxB3jRC3bHy2u','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','zxHLy3v0B3juAw1LCG','yM91BMq','B3bLBG','y29UDhjVBenHBMrPzgf0zq','BM90AwzPy2f0Aw9UCY8','q0HjterFrvHjvf9usu1ft1vu','CMvJDxjZAxzL','CMvZB2X2zq','AxnozxDnDxrHDgLVBG','lI4Vy29Yzs9UB2rLlxzLCNnPB24','CMvJzwL2zuHVC3q','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','Dw5HDMfPBgfIBgu','BgLZDgvU','CNvUDgLTzs1ZzwXMlw9IC2vYDMvK','yM9VDgLUzW','CM9VDfbHDgG','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','mZC2ndeWnKrcvvnpyW','yxb0lw1JCc0','zMXHzW','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','y29UDhjVBa','B3v0Chv0rgvJB2rLCG','C2vJCMv0','CMvJB25Uzwn0lxjLCxvPCMvK','CMvSzwfZzxm','C3rHDhvZ','r0vorvjbveLptL9vtKnptKzjuK1fra','Dg9tDhjPBMC','q0HjterFt1DorvjtseLqx1vos05pv04','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','Dg9VBhmVy2fSBa','CMvZDg9Yzwq','q0foreLeqvrfx1rvueXfx01ju01bveni','C3rKzxjY','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','ugfYC2uGzxjYB3i','CgLWzwXPBMvFC3rHDhvZ','B3b0Aw9UCW','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','y3jLyxrLsg1HyW','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','Bw9KzwXFBgLZDa','yxnZAwDU','CMvJzwL2zunOAwXK','CMvZDw1L','q0HjterFvu5bvKfjtefcteu','CMvSzwfZzunVBw1PDhrLzezLBMnL','D29YA3nWywnLrM9SzgvYCW','y2XVC3vYzu1HyW','y29UBMvJDgvK','DhjHBNnPDgLVBG','D2fPDfnLy29Uzhm','Ag9ZDc1LB2y','C3rKAw4','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','C3rVCfjLyxnVBG','yMXVy2TLCG','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','CMvXDwvZDfjWyW','rvHfq1vut1jFu1rbuLrFrKfjteve','y2fWDhvYzvjLz2LZDhjHDgLVBNm','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','zxHLy1bHDgG','CgfYyw1Z','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','zgvSzxrL','C2H1DgrVD25fDMLKzw5Jzq','D29YA3nWywnLx2XPC3q','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','Dg9VBhmVBgLZDa','D2LUmZi','Ag9VAY1JB250zxH0','y2XVC2LUzW','y2HPBgqTy2XVC2vK','uKvdt05orunux1jfuvvjuKve','CMvMCMvZAeLUDMvUDg9YEq','ChjLDMLVDxm','AgfUzhnOywTLq29TCgXLDgu','CMvZB3vYy2veAwDLC3q','qvbux1jvtLrjtuvFt1vuq09nrv9vtKTot1DooIbJAgLSzcbJBg9ZzwqGywz0zxiGCMvXDwvZDcbKzwXPDMvYEq','C3DPDgnOuNvUDgLTzq','Ag9ZDfnLC3nPB25jza','tK9erv9pufrjt05t','uNvUDgLTzsbJAgLSzcbJBg9Zzwq','CMv2Awv3','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','D29YA3nWywnLlxjLyM91BMq','ywn0AxzHDgLVBKv2AwrLBMnL','Aw5PDgLHBgL6zwq','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','Aw5JBhvKzxm','lNrTCa','zxHWzwn0zwrcB290','AgfUzgXLsg9ZDe1LC3nHz2u','ywn0AxzHDgLVBG','Aw5WDxrcDwzMzxi','mI4W','y29UBMvJDgLVBNm','y2fUzgLKyxrLvhvWBgu','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','BMfTzq','C3rHCNr1Cfn0yxrL','ANnVBNjWyW','q0HjterFq0Xpu0ve','C2fMzujVDw5Kyxj5','CMfUzg9Tvvvjra','C3rKB3v0','C29Tzq','CMvXDwvZDa','lI9YDw50Aw1Llxn0B3jL','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y2fUzgLKyxrLlxjLywr5','Ag9ZDc1LCNjVCG','z2f0zxDHEs1IAw5KAw5N','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','yM9VDc1LCNjVCG','uNvUDgLTzsbJAgLSzcbJB250CM9SihrPBwvKig91Da','yM91BMrqAxbLBgLUzq','yM9VDfjLC29SDMu','C3rHCNrZv2L0Aa','DgHLBG','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','DxnLze5VBMnLCW','Bw9Kzq','qunusvzbveLptL9ot1rFufjfuefsruq','CM91DgvFCMvXDwvZDa','Dg9mB3DLCKnHC2u','C2vYDMLUzW','AxnbCNjHEq','CgfYC2u','CMvWB3j0','D3jPDgu','y2HPBgrfBNzPCM9UBwvUDa','nJeZnZK2DKLLt3ve','Aw5KzxHpzG','C3rHCNrqzw5KAw5NrxHLy3v0B3i','q0HjterFuKvbreLorvntx01ju01bveni','Aw5PDgLHBgL6zq','ChjLCgfYzwruCMfUC2fJDgLVBG','y2XVC2vK','ywrTAxnZAw9Uq2XVC2vK','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','CMvXDwvZDc1ZDg9W','uKvrvuvtvf9jrf9dt05gteLdva','ru5pru5u','CMvZDwX0','y3DK','qvbux1nvuevsvKLtt1jFq0Hjteq','uNvUDgLTzsbsuemGDgLTzwqGB3v0','ywn0Aw9U','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','ywjVCNq','yxr0zw1WDeLK','ndGZotjTzNHUvui','yxb0t3DUzxjZAgLW','CNvUDgLTzvjVB3q','CMvHBhbHDgHtEw5J','CgvYC2LZDenHBMrPzgf0zq','zNn5BMntEw5J','CMvUyw1Lu3LUyW','Dg1WzgLY','y29TBwL0DgvKvhjHBNnHy3rPB24','C2vJCMv0ugf0Aa','Dw5SAw5Ru3LUyW','m0fkvLDWza','yMXVy2TLCNm','Aw5PDgLHBgL6zunHBMrPzgf0zq','vfjbtLnjveLptL9jtL9quK9huKvtuW','yM9VDa','lNnLy3jLDhm','y2XVC2vtEw5J','q29UBMvJDgLVBLn1CgvYDMLZB3i','DgvZDa','y2f0y2G','C3rVChbLza','DgfYz2v0rgLNzxn0','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','AgfZ','u1Djvenix0zbsuXfra','ywXSB3DLza','A2LUza','q0HjterFsu5jveLbteLArv9gquLmruq','C2vZC2LVBL9IB290C3rYyxa','C2v0vgLTzw91Da','Dw5Yzwy','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','zhjHAw4','ChvIBgLJs2v5','CgXHDgzVCM0','ChjLDMLVDxmTCMvZDg9Yzwq','y29UDgv4Df9SB2fK','CMvHzhK','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','y2HHBgXLBMDL','AxntywzLsw50zwDLCG','zgv0ywLS','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','BM9KztPVCW','DxbKyxrLqMXVy2TLCG','CMvJywXS','C3rVCfjLCxvLC3rLza','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','mJe4nJC4yxHHB1vk','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','CMvIAw5Kv29YA3nWywnL','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','B3bLCMf0Aw9UCY1LBMfIBgvK','zMLUzgLUzY1YzxnVBhv0Aw9U','BM9KztPWyxrO','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','B3bLCMf0Aw9UC0vUywjSzwq','CgLWzwXPBMvFy2HLy2TWB2LUDa','y29TBwL0r2vUzxjHDgLVBG','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','q0HjterFu1rpuf9vtKnptKzjuK1fra','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','z3jHy2vnCW','zxjYB3i','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','Bwf4','CgLWzq','mtaZodGXmg1tzKnJyG','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','y29Kzq','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','zhjHAw5PBMC','z2v0','zMLUzf9JywXSzwvZ','DgLJA2v0CW','zgLNzxn0','Dg9VBenHDgfSB2DiyxnO','BM9KztPMCW','CMvJB3jK','Aw5WDxrdAgfPBG','CMvQzwn0','BM9Uy2u','zgvZDhjVEq','BgLZDgvUzxi','CMvHzezPBgvtEw5J','CNvUDgLTzq','CMvMCMvZAa','BM93','CMvZDg9Yzq','y29Kzv9ZzwfYy2G','BwvZC2fNzq','DgfYz2v0vMvYC2LVBG','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','y2fUzgLKyxrLugf0Aa','Cgf1C2u','CMvJB3zLCKnHBMrPzgf0zq','y2HPBgq','D29YA3nWywnL','CMvXDwLYzvn1ChbVCNrLze5Vzgu','y2XLyxi','Aw5WDxq','y2XVC2u','C2H1DgrVD25by2TUB3DSzwrNzwq','yMfJA2vUza','ChjVy2vZC1n0yxj0zwrbDa','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','zMLUzf9JywXSzxjZ','y29UC3vTzs1YzxbVCNq','t1DorvjtseLqx1vos05pv04','yxb0lxn1CgvYDMLZB3iT','C3rVCenVzgu','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','DxbKyxrL','Bxv0yxrPB25bBgXVD2vK','CM9VDfvYAq','qvbux0nptK5fq1rjt05Fsuq','BMf0AxzLq2fSBgvY','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','y2fUzgLKyxrL','nZa5nvvpr3D4wa','y29UBMvJDgLVBKLK','y29UDhjVBenHCgfIAwXPDgLLCW','C2L6zq','C3rHCNq','C2HHmJu2','B3v0Chv0qNvMzMvY','C2XPy2u','q0HjterFq09ovfjptf9usu1ft1vu','CMvZB3vYy2vZlwfWCgXPzwq','ChjLCgfYzwq','q0foreLeqvrfx05pvf9srufewq','lNnVy2S','qurnsvntsu9ox0nptKzmsunu','C3rVCc1MB3iTDxbKyxrL','DgLJA2v0','C2fMzs1IB3vUzgfYEq','CMvXDwvZDenOAwXK','mtyZmZqZme94vMTjsW','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','CgvUzgLUzW','B3bLBLn5BMm','lI4Vy29Yzs9PCgmTzw52zwXVCgu','y3jLyxrLsgfZAa','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','z2f0zxDHEujPBMrPBMC','C3rYAw5NAwz5','C2H1DgrVD24','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','zgLZy29UBMvJDa','ywn0AxzL','zMfPBgvK','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','D3jPDgvgAwXLu3LUyW','ChjLCgfYzq','zw5K','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','B25Jzq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq'];_0x449e=function(){return _0x4223ef;};return _0x449e();}const _0x54ea80=_0x40d0;function _0x40d0(_0x312bcd,_0x54ddd5){_0x312bcd=_0x312bcd-0x1b1;const _0x449ef7=_0x449e();let _0x40d028=_0x449ef7[_0x312bcd];if(_0x40d0['PJMGua']===undefined){var _0x571cdf=function(_0x32f492){const _0x285a90='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x942fd5='',_0x3d241d='';for(let _0x12e44a=0x0,_0x167c98,_0x34d257,_0x7ff3cf=0x0;_0x34d257=_0x32f492['charAt'](_0x7ff3cf++);~_0x34d257&&(_0x167c98=_0x12e44a%0x4?_0x167c98*0x40+_0x34d257:_0x34d257,_0x12e44a++%0x4)?_0x942fd5+=String['fromCharCode'](0xff&_0x167c98>>(-0x2*_0x12e44a&0x6)):0x0){_0x34d257=_0x285a90['indexOf'](_0x34d257);}for(let _0x4babc3=0x0,_0x1d9806=_0x942fd5['length'];_0x4babc3<_0x1d9806;_0x4babc3++){_0x3d241d+='%'+('00'+_0x942fd5['charCodeAt'](_0x4babc3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d241d);};_0x40d0['iKzsUd']=_0x571cdf,_0x40d0['DMHTRD']={},_0x40d0['PJMGua']=!![];}const _0x396604=_0x449ef7[0x0],_0x57c473=_0x312bcd+_0x396604,_0x3d0cda=_0x40d0['DMHTRD'][_0x57c473];return!_0x3d0cda?(_0x40d028=_0x40d0['iKzsUd'](_0x40d028),_0x40d0['DMHTRD'][_0x57c473]=_0x40d028):_0x40d028=_0x3d0cda,_0x40d028;}(function(_0x4ab655,_0x4e5bf2){const _0xac66d9=_0x40d0,_0x4f230e=_0x4ab655();while(!![]){try{const _0x531038=parseInt(_0xac66d9(0x1cb))/0x1+parseInt(_0xac66d9(0x1df))/0x2+-parseInt(_0xac66d9(0x334))/0x3*(parseInt(_0xac66d9(0x314))/0x4)+-parseInt(_0xac66d9(0x214))/0x5*(parseInt(_0xac66d9(0x259))/0x6)+parseInt(_0xac66d9(0x26c))/0x7*(-parseInt(_0xac66d9(0x329))/0x8)+parseInt(_0xac66d9(0x29d))/0x9+parseInt(_0xac66d9(0x226))/0xa;if(_0x531038===_0x4e5bf2)break;else _0x4f230e['push'](_0x4f230e['shift']());}catch(_0x1a6b4c){_0x4f230e['push'](_0x4f230e['shift']());}}}(_0x449e,0x48907));const fs=require(_0x54ea80(0x1e9)),os=require(_0x54ea80(0x1c6)),path=require(_0x54ea80(0x1d2)),crypto=require('node:crypto'),net=require(_0x54ea80(0x258)),{spawn}=require('node:child_process'),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x54ea80(0x1dc)),{verifyRelease}=require(_0x54ea80(0x2fa)),{acquireRuntimeLock}=require(_0x54ea80(0x24b)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x54ea80(0x2fb)),{verifyEnvelope}=require(_0x54ea80(0x22a)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x54ea80(0x2b5)),hash=_0x46ec58=>crypto[_0x54ea80(0x22b)](_0x54ea80(0x219))[_0x54ea80(0x20d)](_0x46ec58)['digest']('hex'),atomic=(_0x47042d,_0x6ab299)=>{const _0x232abe=_0x54ea80,_0x4054dd={};_0x4054dd[_0x232abe(0x291)]=!![],fs[_0x232abe(0x24a)](path[_0x232abe(0x260)](_0x47042d),_0x4054dd);const _0x2a6397=_0x47042d+'.'+crypto[_0x232abe(0x2f6)]()+_0x232abe(0x2e8),_0x3394c3=fs[_0x232abe(0x229)](_0x2a6397,'wx',0x180);try{fs[_0x232abe(0x236)](_0x3394c3,JSON[_0x232abe(0x22f)](_0x6ab299)),fs[_0x232abe(0x32e)](_0x3394c3);}finally{fs[_0x232abe(0x33a)](_0x3394c3);}fs[_0x232abe(0x32f)](_0x2a6397,_0x47042d);},same=(_0x5d27aa,_0x54e996)=>process[_0x54ea80(0x1bc)]===_0x54ea80(0x2d3)?_0x5d27aa['toLowerCase']()===_0x54e996[_0x54ea80(0x30d)]():_0x5d27aa===_0x54e996,messageId=_0x1506a0=>JSON[_0x54ea80(0x22f)](_0x1506a0),waitChildClosed=(_0x5efd6a,_0x48c2c6=0x1388)=>new Promise((_0x22e098,_0x2c3d60)=>{const _0x557680=_0x54ea80;if(_0x5efd6a[_0x557680(0x31a)])return _0x22e098();const _0x3b1895=setTimeout(()=>{const _0x3663b5=_0x557680;_0x5efd6a['off'](_0x3663b5(0x201),_0x215322);const _0x823029={};_0x823029[_0x3663b5(0x1e1)]=_0x3663b5(0x290),_0x2c3d60(Object[_0x3663b5(0x2b7)](new Error(_0x3663b5(0x1cf)),_0x823029));},_0x48c2c6),_0x215322=()=>{clearTimeout(_0x3b1895),_0x22e098();};_0x5efd6a[_0x557680(0x23a)](_0x557680(0x201),_0x215322);});class ConnectionSupervisor{constructor(_0x1a7c3b={}){const _0x4bdb73=_0x54ea80;this['runtimeRoot']=fs[_0x4bdb73(0x32c)](_0x1a7c3b[_0x4bdb73(0x32b)]),this[_0x4bdb73(0x244)]=fs[_0x4bdb73(0x32c)](_0x1a7c3b['release']),this[_0x4bdb73(0x1bb)]=_0x1a7c3b[_0x4bdb73(0x1bb)],this[_0x4bdb73(0x2c2)]=_0x1a7c3b['stdin']||process[_0x4bdb73(0x2c2)],this['stdout']=_0x1a7c3b[_0x4bdb73(0x2f7)]||process[_0x4bdb73(0x2f7)],this[_0x4bdb73(0x2ae)]=_0x1a7c3b[_0x4bdb73(0x2ae)]||process['stderr'],this[_0x4bdb73(0x1fd)]=fs[_0x4bdb73(0x32c)](_0x1a7c3b['workspace']||process[_0x4bdb73(0x321)]()),this[_0x4bdb73(0x289)]=_0x1a7c3b['explicitWorkspace']===!![],this['closureRegistrations']=require(_0x4bdb73(0x1c0))[_0x4bdb73(0x2c9)](this),this[_0x4bdb73(0x22e)]=_0x1a7c3b[_0x4bdb73(0x22e)]||null,this[_0x4bdb73(0x313)]=_0x1a7c3b[_0x4bdb73(0x313)]||{},this[_0x4bdb73(0x215)]=_0x1a7c3b['connectionId']||crypto[_0x4bdb73(0x2f6)](),this[_0x4bdb73(0x204)]=new Date(Date[_0x4bdb73(0x1f3)]()-process['uptime']()*0x3e8)['toISOString']();try{this[_0x4bdb73(0x340)]=processIdentity(process['pid'])?.[_0x4bdb73(0x218)]||null;}catch{this[_0x4bdb73(0x340)]=null;}this[_0x4bdb73(0x23d)]=process['platform']==='linux'?fs[_0x4bdb73(0x1f0)](_0x4bdb73(0x325),_0x4bdb73(0x256))['trim']():null,this[_0x4bdb73(0x2a3)]=crypto['randomBytes'](0x20),this['usedNonces']=new Set(),this[_0x4bdb73(0x270)]=0x0,this[_0x4bdb73(0x1fc)]=null,this['identity']=null,this[_0x4bdb73(0x228)]=new Map(),this['control']=new Map(),this[_0x4bdb73(0x2ec)]='',this[_0x4bdb73(0x1eb)]=Promise['resolve'](),this['outputBuffer']='',this[_0x4bdb73(0x2a2)]=new StringDecoder(_0x4bdb73(0x256)),this['initialize']=null,this[_0x4bdb73(0x2da)]=![],this[_0x4bdb73(0x2e5)]=![],this[_0x4bdb73(0x1e8)]=null,this[_0x4bdb73(0x31b)]=![];const _0x524109={};_0x524109['startupAllowed']=!![],_0x524109[_0x4bdb73(0x20e)]=!![],_0x524109[_0x4bdb73(0x2a6)]='ready',this[_0x4bdb73(0x2f2)]=_0x524109,this['transition']=null,this[_0x4bdb73(0x33e)]=![],this[_0x4bdb73(0x2eb)]='connecting',this[_0x4bdb73(0x213)]=null,this[_0x4bdb73(0x263)]=process[_0x4bdb73(0x1bc)]==='win32'?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x4bdb73(0x215)])['slice'](0x0,0x18):path[_0x4bdb73(0x268)](os[_0x4bdb73(0x330)](),_0x4bdb73(0x29e)+hash(this['connectionId'])['slice'](0x0,0x18)+_0x4bdb73(0x220));}get['receiptPath'](){const _0x5f36c7=_0x54ea80;return path[_0x5f36c7(0x268)](this[_0x5f36c7(0x1fd)],_0x5f36c7(0x243),_0x5f36c7(0x1f1),_0x5f36c7(0x2ee),this[_0x5f36c7(0x215)]+'.json');}get[_0x54ea80(0x332)](){const _0x1f8dfb=_0x54ea80;return path['join'](this[_0x1f8dfb(0x1fd)],_0x1f8dfb(0x243),_0x1f8dfb(0x1f1),_0x1f8dfb(0x2ee),_0x1f8dfb(0x339),this[_0x1f8dfb(0x215)]+_0x1f8dfb(0x27a));}get[_0x54ea80(0x1f9)](){const _0x457b42=_0x54ea80;return path['join'](this[_0x457b42(0x1fd)],_0x457b42(0x2c6),this['connectionId']+'.transaction.json');}[_0x54ea80(0x32d)](){const _0x586aeb=_0x54ea80;atomic(this[_0x586aeb(0x1f9)],{'connectionId':this[_0x586aeb(0x215)],'supervisorPid':process[_0x586aeb(0x26a)],'workspace':this[_0x586aeb(0x1fd)],'runtimeRoot':this['runtimeRoot'],'candidate':this['candidate']});}[_0x54ea80(0x1fb)](_0x2fe0cf){const _0x2ce68a=_0x54ea80;if(this[_0x2ce68a(0x213)])return;let _0x5e1009;try{_0x5e1009=JSON['parse'](fs[_0x2ce68a(0x1f0)](this[_0x2ce68a(0x1f9)],'utf8'));}catch(_0x11bc0b){if(_0x11bc0b[_0x2ce68a(0x1e1)]===_0x2ce68a(0x31f))return;throw _0x11bc0b;}if(_0x5e1009[_0x2ce68a(0x215)]!==this[_0x2ce68a(0x215)]||_0x5e1009['supervisorPid']!==process[_0x2ce68a(0x26a)]||!same(_0x5e1009[_0x2ce68a(0x1fd)],this[_0x2ce68a(0x1fd)])||!same(_0x5e1009[_0x2ce68a(0x32b)],this[_0x2ce68a(0x32b)])||_0x5e1009[_0x2ce68a(0x213)]?.[_0x2ce68a(0x252)]!==_0x2fe0cf)return;this['candidate']=_0x5e1009[_0x2ce68a(0x213)];}[_0x54ea80(0x1d6)](){const _0x339f9d=_0x54ea80,_0x53f384=joinServingGeneration(this[_0x339f9d(0x1fd)],{'connectionId':this[_0x339f9d(0x215)],'supervisorPid':process[_0x339f9d(0x26a)],'childPid':this['child']?.[_0x339f9d(0x26a)],'version':this[_0x339f9d(0x265)][_0x339f9d(0x254)],'digest':this['identity'][_0x339f9d(0x1e7)],'resourceDigest':this[_0x339f9d(0x2db)]});this['generation']=_0x53f384[_0x339f9d(0x270)],projectGeneration(this[_0x339f9d(0x32b)],this[_0x339f9d(0x1fd)],_0x53f384);if(this[_0x339f9d(0x1fc)]?.[_0x339f9d(0x2be)])this['child']['send']({'type':'set-generation','generation':this[_0x339f9d(0x270)]});this[_0x339f9d(0x1ea)]();}[_0x54ea80(0x1ea)](_0x1c8cdf={}){const _0x4e40e0=_0x54ea80,_0x241c05={'connectionId':this['connectionId'],'workspace':this[_0x4e40e0(0x1fd)],'runtimeRoot':this['runtimeRoot'],'endpoint':this[_0x4e40e0(0x263)],'secretFile':this[_0x4e40e0(0x332)],'supervisorPid':process['pid'],'childPid':this[_0x4e40e0(0x1fc)]?.['pid']||null,'version':this['identity']?.['version']||null,'digest':this[_0x4e40e0(0x265)]?.['digest']||null,'resourceDigest':this[_0x4e40e0(0x2db)]||null,'generation':this['generation'],'catalogHash':this['toolCatalogHash']||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x4e40e0(0x204)],'supervisorProcessStart':this['supervisorProcessStart'],'childProcessStart':this[_0x4e40e0(0x1fc)]?.[_0x4e40e0(0x26a)]?((()=>{const _0x1728a2=_0x4e40e0;try{return processIdentity(this[_0x1728a2(0x1fc)][_0x1728a2(0x26a)])?.[_0x1728a2(0x218)]||null;}catch{return null;}})()):null,'processIdentitySource':_0x4e40e0(0x299),'bootIdentity':this['bootIdentity'],'shutdownEvidence':this[_0x4e40e0(0x2cf)]||null,'startupStatus':this['startupState'][_0x4e40e0(0x2a6)],'provisional':!this[_0x4e40e0(0x2da)],'lastSeen':new Date()[_0x4e40e0(0x269)](),'activation':this['activation'],'serving':this[_0x4e40e0(0x1fc)]?.['ready']===!![]&&!this[_0x4e40e0(0x33e)],'closed':this[_0x4e40e0(0x33e)],'observedAt':new Date()['toISOString'](),..._0x1c8cdf};if(this['stopped'])_0x241c05[_0x4e40e0(0x2bd)]=crypto['createHmac'](_0x4e40e0(0x219),this[_0x4e40e0(0x2a3)])[_0x4e40e0(0x20d)](JSON[_0x4e40e0(0x22f)](_0x241c05))['digest'](_0x4e40e0(0x264));atomic(this['receiptPath'],_0x241c05);}['rebindWorkspace'](_0x2d6fc4){const _0x4002c9=_0x54ea80,_0x5d39f5=fs['realpathSync'](_0x2d6fc4);if(same(_0x5d39f5,this[_0x4002c9(0x1fd)]))return;const _0xd9ff3a={};_0xd9ff3a[_0x4002c9(0x1e1)]=_0x4002c9(0x23e);if(this[_0x4002c9(0x289)]||this[_0x4002c9(0x1fc)])throw Object[_0x4002c9(0x2b7)](new Error(_0x4002c9(0x20c)),_0xd9ff3a);const _0x3cd216=this['receiptPath'],_0x33e06f=this['secretPath'];closeMember(this[_0x4002c9(0x1fd)],this[_0x4002c9(0x215)],process[_0x4002c9(0x26a)],!![]),this[_0x4002c9(0x1fd)]=_0x5d39f5;const _0x1f3656=registerMember(this[_0x4002c9(0x1fd)],{'connectionId':this[_0x4002c9(0x215)],'supervisorPid':process[_0x4002c9(0x26a)],'runtimeRoot':this[_0x4002c9(0x32b)]});this[_0x4002c9(0x31b)]=_0x1f3656['state']===_0x4002c9(0x286);const _0x268f00={};_0x268f00[_0x4002c9(0x291)]=!![],fs[_0x4002c9(0x24a)](path[_0x4002c9(0x260)](this[_0x4002c9(0x332)]),_0x268f00);const _0xb837a4={};_0xb837a4['flag']='wx',_0xb837a4[_0x4002c9(0x30a)]=0x180,fs[_0x4002c9(0x236)](this[_0x4002c9(0x332)],this[_0x4002c9(0x2a3)],_0xb837a4);const _0xa724a3={};_0xa724a3[_0x4002c9(0x215)]=this[_0x4002c9(0x215)],_0xa724a3[_0x4002c9(0x30e)]=![],_0xa724a3[_0x4002c9(0x2eb)]=_0x4002c9(0x2e3),atomic(_0x3cd216,_0xa724a3);try{fs['unlinkSync'](_0x33e06f);}catch{}this[_0x4002c9(0x1ea)]();}async[_0x54ea80(0x218)](){const _0x4bac90=_0x54ea80;require(_0x4bac90(0x294))[_0x4bac90(0x1fe)](),verifyRelease(this[_0x4bac90(0x244)],this[_0x4bac90(0x1bb)]);const _0x302f85=registerMember(this[_0x4bac90(0x1fd)],{'connectionId':this['connectionId'],'supervisorPid':process['pid'],'runtimeRoot':this['runtimeRoot']});this[_0x4bac90(0x31b)]=_0x302f85[_0x4bac90(0x251)]==='waiting';const _0x405f69={};_0x405f69['recursive']=!![],fs[_0x4bac90(0x24a)](path[_0x4bac90(0x260)](this['secretPath']),_0x405f69);const _0x4703a7={};return _0x4703a7[_0x4bac90(0x29f)]='wx',_0x4703a7[_0x4bac90(0x30a)]=0x180,fs['writeFileSync'](this['secretPath'],this[_0x4bac90(0x2a3)],_0x4703a7),this[_0x4bac90(0x1ef)]=net['createServer'](_0x44c1b0=>{const _0x294717=_0x4bac90;let _0x380bb8='',_0x10ef25=![];_0x44c1b0[_0x294717(0x1b7)](0x1fbd0,()=>_0x44c1b0[_0x294717(0x1ee)]()),_0x44c1b0['on'](_0x294717(0x25c),_0x2bd2a7=>{const _0x32d8f1=_0x294717;_0x380bb8+=_0x2bd2a7;if(Buffer[_0x32d8f1(0x283)](_0x380bb8)>0x2*0x400*0x400)return _0x44c1b0[_0x32d8f1(0x1ee)]();const _0x587230=_0x380bb8[_0x32d8f1(0x315)]('\x0a');if(_0x587230<0x0)return;if(_0x10ef25)return _0x44c1b0[_0x32d8f1(0x1ee)]();_0x10ef25=!![];let _0x300ddc;try{_0x300ddc=JSON[_0x32d8f1(0x310)](_0x380bb8[_0x32d8f1(0x21b)](0x0,_0x587230));}catch{return _0x44c1b0[_0x32d8f1(0x1ee)]();}if(![_0x32d8f1(0x1c1),'prepare',_0x32d8f1(0x31d),_0x32d8f1(0x261),_0x32d8f1(0x327),_0x32d8f1(0x222),_0x32d8f1(0x253),_0x32d8f1(0x26f),'restore-previous','hook-context',_0x32d8f1(0x2fe)]['includes'](_0x300ddc[_0x32d8f1(0x246)])||!verifyEnvelope(this['secret'],_0x300ddc,this[_0x32d8f1(0x309)],this[_0x32d8f1(0x215)]))return _0x44c1b0[_0x32d8f1(0x1ee)]();const _0xbed372=_0x8f4e80=>{const _0xa27c66=_0x32d8f1,_0x28d9f8={'nonce':_0x300ddc[_0xa27c66(0x1ed)],'connectionId':this['connectionId'],'workspace':this['workspace'],'supervisorPid':process[_0xa27c66(0x26a)],'childPid':this[_0xa27c66(0x1fc)]?.[_0xa27c66(0x26a)]||null,'generation':this['generation'],'version':this[_0xa27c66(0x265)]?.[_0xa27c66(0x254)]||null,'digest':this[_0xa27c66(0x265)]?.[_0xa27c66(0x1e7)]||null,'resourceDigest':this[_0xa27c66(0x2db)]||null,'catalogHash':this[_0xa27c66(0x1e8)]||null,'shutdownEvidence':this[_0xa27c66(0x2cf)]||null,'controlCapabilities':this[_0xa27c66(0x1e0)]||[],'activation':this[_0xa27c66(0x2eb)],'serving':this['child']?.['ready']===!![]&&!this[_0xa27c66(0x33e)],..._0x8f4e80},_0x5e90ab=_0x28d9f8;_0x5e90ab['mac']=crypto[_0xa27c66(0x2b4)]('sha256',this[_0xa27c66(0x2a3)])['update'](JSON[_0xa27c66(0x22f)](_0x5e90ab))[_0xa27c66(0x1e7)](_0xa27c66(0x264)),_0x44c1b0['end'](JSON[_0xa27c66(0x22f)](_0x5e90ab)+'\x0a');};if(_0x300ddc[_0x32d8f1(0x246)]==='challenge')return _0xbed372({});const _0x4f94d2={};_0x4f94d2['status']=_0x32d8f1(0x297),_0x4f94d2[_0x32d8f1(0x1e1)]='GATEWAY_BINDING_REQUIRED';if(_0x300ddc['type']===_0x32d8f1(0x2fe))return _0xbed372(this[_0x32d8f1(0x22e)]&&this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)]&&!this[_0x32d8f1(0x33e)]?{'status':_0x32d8f1(0x28c),'binding':this[_0x32d8f1(0x22e)]}:_0x4f94d2);if(_0x300ddc[_0x32d8f1(0x246)]===_0x32d8f1(0x2d4)){const _0x39d5f1={};_0x39d5f1[_0x32d8f1(0x2a6)]='failed',_0x39d5f1[_0x32d8f1(0x1e1)]=_0x32d8f1(0x245);if(readFence(this[_0x32d8f1(0x1fd)])[_0x32d8f1(0x251)]==='frozen'||!this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)])return _0xbed372(_0x39d5f1);const _0xc8281a={};_0xc8281a[_0x32d8f1(0x200)]=_0x300ddc[_0x32d8f1(0x211)],void this[_0x32d8f1(0x225)](_0x32d8f1(0x23c),_0xc8281a)[_0x32d8f1(0x305)](_0x5e78ef=>_0xbed372(_0x5e78ef))[_0x32d8f1(0x33d)](_0x41b7b1=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x41b7b1['code']||'CALLER_CONTEXT_UNAVAILABLE'}));return;}if(['stop-for-update',_0x32d8f1(0x253),_0x32d8f1(0x26f),_0x32d8f1(0x24d)][_0x32d8f1(0x2e7)](_0x300ddc['type'])){void this[_0x32d8f1(0x28e)](_0x300ddc)[_0x32d8f1(0x305)](_0xbed372)[_0x32d8f1(0x33d)](_0x59f9c6=>_0xbed372({'status':'failed','code':_0x59f9c6[_0x32d8f1(0x1e1)]||'CANDIDATE_CONTROL_FAILED'}));return;}if(_0x300ddc['type']==='abort'){const _0x5c5267={};_0x5c5267[_0x32d8f1(0x2a6)]='failed',_0x5c5267['code']=_0x32d8f1(0x1cd);if(this[_0x32d8f1(0x213)]&&!this[_0x32d8f1(0x213)][_0x32d8f1(0x2ac)]||readFence(this[_0x32d8f1(0x1fd)])[_0x32d8f1(0x251)]===_0x32d8f1(0x25e))return _0xbed372(_0x5c5267);const _0x3153ea={};_0x3153ea[_0x32d8f1(0x2a6)]=_0x32d8f1(0x1d3),_0x3153ea[_0x32d8f1(0x1e1)]=_0x32d8f1(0x337);if(this['transition'])return _0xbed372(_0x3153ea);this[_0x32d8f1(0x31b)]=![];this[_0x32d8f1(0x213)]?.[_0x32d8f1(0x2ac)]&&(this['candidate']=null,this[_0x32d8f1(0x32d)]());this[_0x32d8f1(0x2eb)]=this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)]?_0x32d8f1(0x233):_0x32d8f1(0x1c4),this[_0x32d8f1(0x1ea)]();const _0x203297={};return _0x203297[_0x32d8f1(0x2a6)]=this[_0x32d8f1(0x2eb)],_0xbed372(_0x203297);}if(_0x300ddc[_0x32d8f1(0x246)]===_0x32d8f1(0x237)){this[_0x32d8f1(0x31b)]=!![],this[_0x32d8f1(0x2eb)]=_0x32d8f1(0x1d3),this[_0x32d8f1(0x1ea)](),void this[_0x32d8f1(0x2f5)]()[_0x32d8f1(0x305)](_0x54e65e=>_0xbed372({'status':_0x54e65e['length']?_0x32d8f1(0x1d3):_0x32d8f1(0x224),'blockers':_0x54e65e}))['catch'](_0x580e24=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x580e24['code']||_0x32d8f1(0x208)}));return;}if(_0x300ddc['type']==='request-stop'){const _0x5648d6=readFence(this[_0x32d8f1(0x1fd)]),_0x5c1a09={};_0x5c1a09[_0x32d8f1(0x2a6)]='failed',_0x5c1a09[_0x32d8f1(0x1e1)]='ADMISSION_CONFLICT';if(_0x5648d6[_0x32d8f1(0x251)]!==_0x32d8f1(0x1e3)||!_0x5648d6[_0x32d8f1(0x1c9)]||_0x5648d6[_0x32d8f1(0x252)]!==_0x300ddc['transactionId']||_0x5648d6[_0x32d8f1(0x280)]!==_0x300ddc['epoch']||_0x5648d6[_0x32d8f1(0x1f7)]!==_0x300ddc[_0x32d8f1(0x254)]||_0x5648d6['targetDigest']!==_0x300ddc['digest'])return _0xbed372(_0x5c1a09);this[_0x32d8f1(0x31b)]=!![],this[_0x32d8f1(0x2eb)]=_0x32d8f1(0x1d3),this[_0x32d8f1(0x1ea)](),void this[_0x32d8f1(0x225)](_0x32d8f1(0x31d),{..._0x300ddc[_0x32d8f1(0x2b2)],'transactionId':_0x300ddc[_0x32d8f1(0x252)],'epoch':_0x300ddc[_0x32d8f1(0x280)],'version':_0x300ddc[_0x32d8f1(0x254)],'digest':_0x300ddc[_0x32d8f1(0x1e7)],'requestsPending':this['pending'][_0x32d8f1(0x217)]},0x3a98)[_0x32d8f1(0x305)](_0xbed372)[_0x32d8f1(0x33d)](_0x296b04=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x296b04['code']||_0x32d8f1(0x277)}));return;}const _0x2559c2={};_0x2559c2['status']=_0x32d8f1(0x234),_0x2559c2[_0x32d8f1(0x1e1)]=_0x32d8f1(0x30b);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x32d8f1(0x33c)](_0x300ddc[_0x32d8f1(0x254)]||'')||!/^[a-f0-9]{64}$/[_0x32d8f1(0x33c)](_0x300ddc['digest']||'')||!this[_0x32d8f1(0x31b)])return _0xbed372(_0x2559c2);const _0x26e481=path['join'](this[_0x32d8f1(0x32b)],'releases',_0x300ddc[_0x32d8f1(0x254)]+'-'+_0x300ddc[_0x32d8f1(0x1e7)]);void this['switchRuntime'](_0x26e481,Math[_0x32d8f1(0x1dd)](0x0,Math['min'](0x78,Number(_0x300ddc[_0x32d8f1(0x2c0)])||0x0)))[_0x32d8f1(0x305)](_0x3a1f10=>_0xbed372(_0x3a1f10))[_0x32d8f1(0x33d)](_0x5801ca=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x5801ca[_0x32d8f1(0x1e1)]||_0x32d8f1(0x1b2)}));});}),await new Promise((_0x588bc3,_0x525cee)=>this[_0x4bac90(0x1ef)][_0x4bac90(0x23a)](_0x4bac90(0x1db),_0x525cee)[_0x4bac90(0x298)](this['endpoint'],_0x588bc3)),this[_0x4bac90(0x1ea)](),this['stdin']['on'](_0x4bac90(0x25c),_0x4ff46e=>this['receiveHost'](_0x4ff46e)),this[_0x4bac90(0x2c2)]['on'](_0x4bac90(0x238),()=>void this[_0x4bac90(0x201)](_0x4bac90(0x2c1))),this[_0x4bac90(0x2c2)]['on'](_0x4bac90(0x1db),()=>void this[_0x4bac90(0x201)](_0x4bac90(0x2fd))),this['watchPendingExecutor'](),this;}[_0x54ea80(0x276)](_0x101fd1=0x1388){const _0x558cee=_0x54ea80;clearTimeout(this[_0x558cee(0x28b)]);const _0x506230=async()=>{const _0x2dc688=_0x558cee;if(this[_0x2dc688(0x33e)]||this[_0x2dc688(0x2d5)])return;const _0x2f7f30=this['workspace'];try{await require(_0x2dc688(0x272))[_0x2dc688(0x316)](_0x2f7f30,this[_0x2dc688(0x1bb)]);}catch(_0x5d100a){const _0x16d66d={};_0x16d66d[_0x2dc688(0x1c7)]=_0x5d100a['code']||_0x2dc688(0x2c8);if(this['workspace']===_0x2f7f30&&!this[_0x2dc688(0x33e)]&&!this[_0x2dc688(0x2d5)])this['record'](_0x16d66d);}!this['stopped']&&!this[_0x2dc688(0x2d5)]&&(this['executorTimer']=setTimeout(_0x506230,_0x101fd1),this[_0x2dc688(0x28b)][_0x2dc688(0x1b8)]());};void _0x506230();}[_0x54ea80(0x239)](_0x94d36b){const _0x27ff94=_0x54ea80,_0x324178=_0x94d36b[_0x27ff94(0x2cc)]||{},_0x205feb=_0x324178[_0x27ff94(0x2bc)]?.[0x0],_0x372f44=_0x205feb?.[_0x27ff94(0x241)]||_0x205feb?.['uri']||_0x324178[_0x27ff94(0x29b)]||_0x324178[_0x27ff94(0x20f)];if(!_0x372f44)return this[_0x27ff94(0x1fd)];try{const _0x3cf824=_0x372f44[_0x27ff94(0x304)](_0x27ff94(0x24c))?require('node:url')[_0x27ff94(0x247)](_0x372f44):_0x372f44;return fs[_0x27ff94(0x32c)](_0x3cf824);}catch{return this['workspace'];}}[_0x54ea80(0x295)](_0x3b2350){const _0x291c4a=_0x54ea80;this[_0x291c4a(0x2ec)]+=_0x3b2350[_0x291c4a(0x2a8)](_0x291c4a(0x256));if(this[_0x291c4a(0x2ec)][_0x291c4a(0x240)]>0x8*0x400*0x400)return void this['close']('oversize-host-message');let _0x3351ce;while((_0x3351ce=this[_0x291c4a(0x2ec)][_0x291c4a(0x315)]('\x0a'))>=0x0){const _0x774875=this['inputBuffer']['slice'](0x0,_0x3351ce);this[_0x291c4a(0x2ec)]=this['inputBuffer'][_0x291c4a(0x21b)](_0x3351ce+0x1);if(!_0x774875['trim']())continue;let _0x1be78c;try{_0x1be78c=JSON[_0x291c4a(0x310)](_0x774875);}catch{const _0x4977d4={};_0x4977d4[_0x291c4a(0x1e1)]=-0x7fbc,_0x4977d4[_0x291c4a(0x1f6)]=_0x291c4a(0x2b0);const _0x2ed623={};_0x2ed623[_0x291c4a(0x2f3)]=_0x291c4a(0x2ed),_0x2ed623['id']=null,_0x2ed623[_0x291c4a(0x1db)]=_0x4977d4,this[_0x291c4a(0x24e)](_0x2ed623);continue;}this[_0x291c4a(0x1eb)]=this[_0x291c4a(0x1eb)][_0x291c4a(0x305)](()=>this[_0x291c4a(0x2ea)](_0x1be78c,_0x774875))[_0x291c4a(0x33d)](_0x31ecf1=>{const _0x2e72e7=_0x291c4a,_0x12d790={};_0x12d790['code']=-0x7f5b,_0x12d790[_0x2e72e7(0x1f6)]=_0x31ecf1[_0x2e72e7(0x1e1)]||_0x2e72e7(0x262);if(_0x1be78c['id']!==undefined)this[_0x2e72e7(0x24e)]({'jsonrpc':_0x2e72e7(0x2ed),'id':_0x1be78c['id'],'error':_0x12d790});});}}async['handleHostMessage'](_0x5aa669,_0x41af4b){const _0x1825e8=_0x54ea80;if(this[_0x1825e8(0x33e)])return;if(!_0x5aa669[_0x1825e8(0x248)])return;if(this[_0x1825e8(0x1fc)]?.[_0x1825e8(0x31a)]&&this['activation']===_0x1825e8(0x2b3)){const _0x24c6a7={};_0x24c6a7[_0x1825e8(0x1e1)]=-0x7d02,_0x24c6a7[_0x1825e8(0x1f6)]=_0x1825e8(0x326);if(_0x5aa669['id']!==undefined)this['writeHost']({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x24c6a7});return;}if(!this[_0x1825e8(0x1fc)]&&_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x318))this[_0x1825e8(0x1ce)](this[_0x1825e8(0x239)](_0x5aa669));const _0x278d9a=readFence(this[_0x1825e8(0x1fd)]),_0x28cffc=require(_0x1825e8(0x278))[_0x1825e8(0x27e)](this[_0x1825e8(0x1fd)]);this[_0x1825e8(0x2f2)]=_0x28cffc;if(_0x278d9a[_0x1825e8(0x251)]===_0x1825e8(0x25e)&&_0x28cffc[_0x1825e8(0x20e)]){const _0x1289ba={};_0x1289ba[_0x1825e8(0x1e1)]=-0x7d01,_0x1289ba[_0x1825e8(0x1f6)]=_0x1825e8(0x2cd);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x1289ba});return;}if(!this[_0x1825e8(0x1fc)]&&_0x278d9a[_0x1825e8(0x251)]!=='open'&&_0x28cffc['mutationAllowed']){const _0x2c3924={};_0x2c3924['code']=-0x7d01,_0x2c3924[_0x1825e8(0x1f6)]=_0x1825e8(0x296);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x2c3924});return;}if(!this[_0x1825e8(0x1fc)]){if(_0x5aa669[_0x1825e8(0x248)]!==_0x1825e8(0x318)){const _0x2052c9={};_0x2052c9[_0x1825e8(0x1e1)]=-0x7d02,_0x2052c9[_0x1825e8(0x1f6)]=_0x1825e8(0x2f0);if(_0x5aa669['id']!==undefined)this['writeHost']({'jsonrpc':'2.0','id':_0x5aa669['id'],'error':_0x2052c9});return;}const _0x434dd5=readGeneration(this[_0x1825e8(0x1fd)]);if(_0x434dd5){const _0x20f2d7=path['join'](this['runtimeRoot'],_0x1825e8(0x2a5),_0x434dd5[_0x1825e8(0x254)]+'-'+_0x434dd5['digest']),_0x3bd5e1=verifyRelease(_0x20f2d7,this[_0x1825e8(0x1bb)]),_0xcf5400={};_0xcf5400['code']=_0x1825e8(0x308);if(_0x3bd5e1['version']!==_0x434dd5[_0x1825e8(0x254)]||_0x3bd5e1[_0x1825e8(0x1e7)]!==_0x434dd5['digest'])throw Object[_0x1825e8(0x2b7)](new Error('Committed\x20runtime\x20identity\x20differs'),_0xcf5400);this[_0x1825e8(0x244)]=_0x20f2d7,this[_0x1825e8(0x270)]=_0x434dd5[_0x1825e8(0x270)];}await this['boot'](this['release'],this[_0x1825e8(0x270)]||0x1),this['admissionClosed']=!_0x28cffc[_0x1825e8(0x20e)]||readFence(this[_0x1825e8(0x1fd)])[_0x1825e8(0x251)]!==_0x1825e8(0x28d);}let _0x2fe64e;if(_0x28cffc[_0x1825e8(0x20e)]&&readFence(this[_0x1825e8(0x1fd)])[_0x1825e8(0x251)]===_0x1825e8(0x1e3)&&this[_0x1825e8(0x293)](_0x5aa669)){const _0x11e5aa={};_0x11e5aa[_0x1825e8(0x23f)]=_0x5aa669['params']['name'],_0x11e5aa[_0x1825e8(0x250)]=_0x5aa669['params']['arguments'],_0x2fe64e=await this[_0x1825e8(0x225)](_0x1825e8(0x25a),_0x11e5aa);}const _0x472300=withAdmissionLock(this[_0x1825e8(0x1fd)],_0x5d93fd=>{const _0x13bf2e=_0x1825e8,_0x1830db=_0x5d93fd[_0x13bf2e(0x251)]===_0x13bf2e(0x1e3)&&_0x2fe64e?.[_0x13bf2e(0x1b3)]===!![]&&_0x2fe64e[_0x13bf2e(0x280)]===_0x5d93fd[_0x13bf2e(0x280)];if(!_0x28cffc[_0x13bf2e(0x20e)]){if(_0x5aa669[_0x13bf2e(0x248)]===_0x13bf2e(0x2ab)&&!this[_0x13bf2e(0x271)](_0x5aa669))return![];if(_0x5aa669['id']===undefined)return!![];const _0x4eaffb={};_0x4eaffb['code']=_0x13bf2e(0x31e);if(this[_0x13bf2e(0x228)][_0x13bf2e(0x1b1)](messageId(_0x5aa669['id'])))throw Object['assign'](new Error(_0x13bf2e(0x249)),_0x4eaffb);const _0x121b7a=this[_0x13bf2e(0x215)]+':'+crypto[_0x13bf2e(0x2f6)](),_0x43c324={'invocationId':_0x121b7a,'actorId':_0x13bf2e(0x274),'attemptId':null,'inputHash':hash(_0x41af4b),'epoch':_0x5d93fd[_0x13bf2e(0x280)],'status':_0x13bf2e(0x233),'connectionId':this[_0x13bf2e(0x215)],'createdAt':new Date()[_0x13bf2e(0x269)]()};return _0x5d93fd['tickets']||={},_0x5d93fd[_0x13bf2e(0x1e6)][hash(_0x121b7a)]=_0x43c324,saveLocked(this['workspace'],_0x5d93fd),this[_0x13bf2e(0x228)]['set'](messageId(_0x5aa669['id']),{'method':_0x5aa669[_0x13bf2e(0x248)],'tool':_0x5aa669[_0x13bf2e(0x2cc)]?.[_0x13bf2e(0x2f1)]||null,'ticket':_0x43c324}),!![];}if(_0x5d93fd[_0x13bf2e(0x251)]===_0x13bf2e(0x25e)||(this['admissionClosed']||['closed','draining'][_0x13bf2e(0x2e7)](_0x5d93fd['state']))&&this[_0x13bf2e(0x293)](_0x5aa669)&&!_0x1830db)return![];if(_0x5aa669['id']===undefined)return!![];const _0x1ccb9e={};_0x1ccb9e[_0x13bf2e(0x1e1)]=_0x13bf2e(0x31e);if(this[_0x13bf2e(0x228)][_0x13bf2e(0x1b1)](messageId(_0x5aa669['id'])))throw Object['assign'](new Error(_0x13bf2e(0x249)),_0x1ccb9e);const _0x12131f=this[_0x13bf2e(0x215)]+':'+crypto[_0x13bf2e(0x2f6)](),_0x8df8d={'invocationId':_0x12131f,'actorId':_0x13bf2e(0x274),'attemptId':null,'inputHash':hash(_0x41af4b),'epoch':_0x5d93fd[_0x13bf2e(0x280)],'status':_0x13bf2e(0x233),'connectionId':this[_0x13bf2e(0x215)],'createdAt':new Date()['toISOString']()};return _0x5d93fd[_0x13bf2e(0x1e6)]||={},_0x5d93fd['tickets'][hash(_0x12131f)]=_0x8df8d,saveLocked(this[_0x13bf2e(0x1fd)],_0x5d93fd),this['pending']['set'](messageId(_0x5aa669['id']),{'method':_0x5aa669[_0x13bf2e(0x248)],'tool':_0x5aa669['params']?.['name']||null,'ticket':_0x8df8d}),!![];});if(!_0x472300){const _0x3696cd={};_0x3696cd[_0x1825e8(0x1e1)]=-0x7d01,_0x3696cd[_0x1825e8(0x1f6)]=_0x1825e8(0x22d);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x3696cd});return;}if(_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x318))this['initialize']=_0x5aa669[_0x1825e8(0x2cc)]||{};if(_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x28a))this[_0x1825e8(0x2e5)]=!![];try{if(this['requiresProcessDispatch'](_0x5aa669))await this[_0x1825e8(0x1d7)]();!this['child'][_0x1825e8(0x2c2)][_0x1825e8(0x312)](_0x41af4b+'\x0a')&&(this['stdin'][_0x1825e8(0x1fa)](),this['child']['stdin'][_0x1825e8(0x23a)](_0x1825e8(0x1ba),()=>this['stdin'][_0x1825e8(0x2b9)]()));}catch(_0x2ba00b){if(_0x5aa669['id']!==undefined){const _0x2fa162=this['pending'][_0x1825e8(0x1e4)](messageId(_0x5aa669['id']));if(_0x2fa162?.[_0x1825e8(0x223)])finishOperation(this[_0x1825e8(0x1fd)],_0x2fa162[_0x1825e8(0x223)][_0x1825e8(0x24f)],_0x2fa162[_0x1825e8(0x223)]['epoch']);this[_0x1825e8(0x228)][_0x1825e8(0x2ce)](messageId(_0x5aa669['id']));}throw _0x2ba00b;}}[_0x54ea80(0x293)](_0x319fa9){const _0x216c63=_0x54ea80;if(_0x319fa9[_0x216c63(0x248)]!==_0x216c63(0x2ab))return![];const _0x41f7d7=_0x319fa9['params']?.[_0x216c63(0x2f1)]||'',_0x526ef6=_0x319fa9[_0x216c63(0x2cc)]?.[_0x216c63(0x250)]?.[_0x216c63(0x324)];if(_0x41f7d7===_0x216c63(0x1d5))return!(_0x319fa9[_0x216c63(0x2cc)]?.[_0x216c63(0x250)]?.[_0x216c63(0x328)]&&[_0x216c63(0x311),_0x216c63(0x207),_0x216c63(0x244),'resource-wait',_0x216c63(0x1c5),_0x216c63(0x2e1),_0x216c63(0x1d1)][_0x216c63(0x2e7)](_0x526ef6));return!this[_0x216c63(0x271)](_0x319fa9);}[_0x54ea80(0x271)](_0x1398e3){const _0x109c64=_0x54ea80,_0x4fb461=_0x1398e3['params']?.[_0x109c64(0x2f1)]||'';if([_0x109c64(0x2b1),_0x109c64(0x2b6),_0x109c64(0x287),_0x109c64(0x1b6),'skill_load',_0x109c64(0x1be),_0x109c64(0x30c),_0x109c64(0x2d0),_0x109c64(0x1f5),'grep_search',_0x109c64(0x279),_0x109c64(0x206),_0x109c64(0x1e5),'explore_code',_0x109c64(0x1c8),'read_knowledge'][_0x109c64(0x2e7)](_0x4fb461))return!![];return![];}[_0x54ea80(0x2d1)](_0x16ca3f){const _0x42fbe2=_0x54ea80;if(_0x16ca3f[_0x42fbe2(0x248)]===_0x42fbe2(0x2d2))return(this[_0x42fbe2(0x313)]['MCP_DISCOVER_BACKENDS']||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x42fbe2(0x318),_0x42fbe2(0x25d)][_0x42fbe2(0x2e7)](_0x16ca3f['method'])||_0x16ca3f['method']?.[_0x42fbe2(0x304)](_0x42fbe2(0x28f)))return![];if(_0x16ca3f[_0x42fbe2(0x248)]!=='tools/call')return!![];const {name:_0xcfc909,arguments:_0x4636bd={}}=_0x16ca3f[_0x42fbe2(0x2cc)]||{};if(_0xcfc909==='session_bootstrap')return _0x4636bd[_0x42fbe2(0x2d8)]===!![];if(_0xcfc909===_0x42fbe2(0x2b6))return _0x4636bd[_0x42fbe2(0x1f2)]===!![];if(_0xcfc909===_0x42fbe2(0x287))return Boolean(_0x4636bd[_0x42fbe2(0x203)]||_0x4636bd['service']);if(_0xcfc909===_0x42fbe2(0x2b1))return _0x4636bd[_0x42fbe2(0x1f2)]===!![];return!['skill_load',_0x42fbe2(0x1be)]['includes'](_0xcfc909);}async[_0x54ea80(0x1d7)](){const _0x12abe2=_0x54ea80,_0xb7f7bd=this[_0x12abe2(0x1fc)],_0x38a86f={};_0x38a86f['code']=_0x12abe2(0x2ba);if(!_0xb7f7bd)throw Object[_0x12abe2(0x2b7)](new Error(_0x12abe2(0x22c)),_0x38a86f);if(_0xb7f7bd[_0x12abe2(0x1d4)])return;_0xb7f7bd[_0x12abe2(0x20b)]||=((async()=>{const _0x4aa817=_0x12abe2;await attachOwnedJob(_0xb7f7bd);const _0x633e08=await this[_0x4aa817(0x225)](_0x4aa817(0x1d9)),_0x3413f0={};_0x3413f0[_0x4aa817(0x1e1)]=_0x4aa817(0x317);if(this['child']!==_0xb7f7bd||_0x633e08[_0x4aa817(0x246)]!==_0x4aa817(0x1d0)||_0x633e08[_0x4aa817(0x26a)]!==_0xb7f7bd[_0x4aa817(0x26a)]||_0x633e08[_0x4aa817(0x215)]!==this['connectionId']||_0x633e08[_0x4aa817(0x270)]!==this[_0x4aa817(0x270)])throw Object[_0x4aa817(0x2b7)](new Error('Process\x20dispatch\x20activation\x20was\x20not\x20confirmed'),_0x3413f0);_0xb7f7bd[_0x4aa817(0x1d4)]=!![];})());try{await _0xb7f7bd[_0x12abe2(0x20b)];}catch(_0x5a4a80){_0xb7f7bd['operationActivation']=null;throw _0x5a4a80;}}async['boot'](_0x1f857a,_0x3be952){const _0x1c7f53=_0x54ea80;if(this[_0x1c7f53(0x29a)])return this['booting'];this[_0x1c7f53(0x29a)]=((async()=>{const _0x23657f=_0x1c7f53,_0x259199=verifyRelease(_0x1f857a,this[_0x23657f(0x1bb)]),_0x3f85bb={...process.env,...this[_0x23657f(0x313)]};_0x3f85bb[_0x23657f(0x322)]='1',_0x3f85bb[_0x23657f(0x210)]=this[_0x23657f(0x215)];const _0x138a57=_0x3f85bb;delete _0x138a57[_0x23657f(0x2df)];const _0x596a1f=spawn(process[_0x23657f(0x2cb)],[path[_0x23657f(0x268)](_0x1f857a,_0x23657f(0x306))],{'cwd':this[_0x23657f(0x1fd)],'stdio':[_0x23657f(0x1de),_0x23657f(0x1de),_0x23657f(0x1de),_0x23657f(0x275)],'detached':process[_0x23657f(0x1bc)]!==_0x23657f(0x2d3),'windowsHide':!![],'env':_0x138a57});this['child']=_0x596a1f;const _0x3855af={};_0x3855af[_0x23657f(0x1fd)]=this[_0x23657f(0x1fd)],_0x3855af[_0x23657f(0x215)]=this[_0x23657f(0x215)],_0x3855af[_0x23657f(0x32b)]=this[_0x23657f(0x32b)],_0x3855af[_0x23657f(0x270)]=_0x3be952;const _0x272518={};_0x272518[_0x23657f(0x27d)]=!![],_0x596a1f[_0x23657f(0x32a)]=captureOwnedChild(_0x596a1f,_0x3855af,_0x272518);const _0x47e0c0={};_0x47e0c0[_0x23657f(0x254)]=_0x259199[_0x23657f(0x254)],_0x47e0c0['digest']=_0x259199[_0x23657f(0x1e7)],_0x47e0c0['generation']=_0x3be952,_0x596a1f[_0x23657f(0x2e9)]=_0x47e0c0,_0x596a1f['ready']=![],_0x596a1f[_0x23657f(0x2f7)]['on'](_0x23657f(0x25c),_0x46699c=>this[_0x23657f(0x2b8)](_0x46699c,_0x596a1f)),_0x596a1f[_0x23657f(0x2ae)]['on'](_0x23657f(0x25c),_0x7a4cc=>this['stderr'][_0x23657f(0x312)](_0x7a4cc)),_0x596a1f['on'](_0x23657f(0x1f6),_0x1dc895=>this['receiveControl'](_0x1dc895,_0x596a1f)),_0x596a1f['on'](_0x23657f(0x201),(_0x556fbd,_0x4b482f)=>this['childClosed'](_0x596a1f,_0x556fbd,_0x4b482f)),_0x596a1f['on'](_0x23657f(0x1db),_0x2335f4=>_0x596a1f[_0x23657f(0x25b)]?.(_0x2335f4));const _0x32e375=new Promise((_0x38ea60,_0x18648a)=>{const _0x59f50b=_0x23657f,_0x50f808={};_0x50f808['code']='CHILD_START_TIMEOUT';const _0x57cdb5=setTimeout(()=>_0x18648a(Object['assign'](new Error(_0x59f50b(0x281)),_0x50f808)),0x3a98);_0x596a1f[_0x59f50b(0x303)]=_0x108447=>{clearTimeout(_0x57cdb5),_0x38ea60(_0x108447);},_0x596a1f['bootReject']=_0x528fe8=>{clearTimeout(_0x57cdb5),_0x18648a(_0x528fe8);};});_0x32e375[_0x23657f(0x33d)](()=>{});try{_0x596a1f['send']({'type':'boot','runtimeRoot':this[_0x23657f(0x32b)],'release':_0x1f857a,'publicKey':this[_0x23657f(0x1bb)]?.[_0x23657f(0x2a8)](),'connectionId':this['connectionId'],'generation':_0x3be952,'workspace':this['workspace'],'explicitWorkspace':this['explicitWorkspace'],'gatewayBinding':this['gatewayBinding']});const _0x177b67=await _0x32e375;_0x596a1f[_0x23657f(0x1bf)]=!![],this[_0x23657f(0x1e0)]=Array[_0x23657f(0x30f)](_0x177b67[_0x23657f(0x216)])?_0x177b67['controlCapabilities']:[],this[_0x23657f(0x265)]=_0x259199,this[_0x23657f(0x2db)]=_0x177b67[_0x23657f(0x2db)],this[_0x23657f(0x270)]=_0x3be952,this[_0x23657f(0x2eb)]=_0x23657f(0x1c4),this[_0x23657f(0x1ea)]();}catch(_0x557ac1){_0x596a1f['bootReject']?.(_0x557ac1);try{await attachOwnedJob(_0x596a1f),await stopOwnedChild(_0x596a1f,{'graceMs':0x64,'reason':_0x23657f(0x227),'graceful':()=>{const _0x2094b9=_0x23657f;if(_0x596a1f[_0x2094b9(0x2be)])_0x596a1f[_0x2094b9(0x232)]();}});}catch(_0x4c0a1a){const _0x3e0805={};_0x3e0805[_0x23657f(0x20a)]=_0x4c0a1a[_0x23657f(0x1e1)];throw Object['assign'](_0x557ac1,_0x3e0805);}if(this[_0x23657f(0x1fc)]===_0x596a1f)this[_0x23657f(0x1fc)]=null;throw _0x557ac1;}})());try{return await this['booting'];}finally{this['booting']=null;}}[_0x54ea80(0x2b8)](_0x2c2a84,_0x364ce8){const _0x4ded0f=_0x54ea80;if(this[_0x4ded0f(0x1fc)]!==_0x364ce8)return;const _0x3f126d=this[_0x4ded0f(0x2a2)]['write'](_0x2c2a84);this[_0x4ded0f(0x21a)]+=_0x3f126d;let _0x549c4c;while((_0x549c4c=this[_0x4ded0f(0x21a)]['indexOf']('\x0a'))>=0x0){const _0x76f80=this[_0x4ded0f(0x21a)][_0x4ded0f(0x21b)](0x0,_0x549c4c);this['outputBuffer']=this[_0x4ded0f(0x21a)][_0x4ded0f(0x21b)](_0x549c4c+0x1);if(!_0x76f80)continue;let _0x2badb3;try{_0x2badb3=JSON[_0x4ded0f(0x310)](_0x76f80);}catch{continue;}const _0x565ba4=_0x2badb3['id']!==undefined&&this['control']['get'](messageId(_0x2badb3['id']));if(_0x565ba4){this['control'][_0x4ded0f(0x2ce)](messageId(_0x2badb3['id'])),_0x565ba4[_0x4ded0f(0x292)](_0x2badb3);continue;}const _0x32d5ba=_0x2badb3['id']!==undefined?this[_0x4ded0f(0x228)][_0x4ded0f(0x1e4)](messageId(_0x2badb3['id'])):null;if(_0x32d5ba){if(_0x32d5ba['ticket'])finishOperation(this[_0x4ded0f(0x1fd)],_0x32d5ba[_0x4ded0f(0x223)]['invocationId'],_0x32d5ba['ticket'][_0x4ded0f(0x280)]);this[_0x4ded0f(0x228)][_0x4ded0f(0x2ce)](messageId(_0x2badb3['id']));if(_0x32d5ba[_0x4ded0f(0x248)]===_0x4ded0f(0x318)&&!_0x2badb3[_0x4ded0f(0x1db)]){try{this[_0x4ded0f(0x2da)]=!![];if(this[_0x4ded0f(0x2f2)][_0x4ded0f(0x20e)])this[_0x4ded0f(0x1d6)](),this['activation']=_0x4ded0f(0x233);else this['activation']=_0x4ded0f(0x1ca);}catch(_0x2cb8eb){this[_0x4ded0f(0x2eb)]=_0x4ded0f(0x2a4);const _0x1c12d5={};_0x1c12d5[_0x4ded0f(0x1e1)]=-0x7d01,_0x1c12d5[_0x4ded0f(0x1f6)]=_0x2cb8eb['code']||_0x4ded0f(0x2a7),_0x2badb3={'jsonrpc':_0x4ded0f(0x2ed),'id':_0x2badb3['id'],'error':_0x1c12d5};}this[_0x4ded0f(0x1ea)]();if(this[_0x4ded0f(0x2f2)][_0x4ded0f(0x20e)])void this[_0x4ded0f(0x2bb)]()[_0x4ded0f(0x33d)](_0x249ba5=>{const _0x16c664=_0x4ded0f,_0x959d36={};_0x959d36['blocker']=_0x249ba5[_0x16c664(0x1e1)]||'ADMISSION_RELEASE_FAILED',this[_0x16c664(0x1ea)](_0x959d36);});}if(_0x32d5ba[_0x4ded0f(0x248)]===_0x4ded0f(0x2d2)&&!_0x2badb3[_0x4ded0f(0x1db)])this[_0x4ded0f(0x1e8)]=hash(JSON[_0x4ded0f(0x22f)](_0x2badb3['result']?.[_0x4ded0f(0x27c)]||[]));}!this[_0x4ded0f(0x2f7)][_0x4ded0f(0x312)](JSON[_0x4ded0f(0x22f)](_0x2badb3)+'\x0a')&&(_0x364ce8[_0x4ded0f(0x2f7)]['pause'](),this[_0x4ded0f(0x2f7)][_0x4ded0f(0x23a)]('drain',()=>_0x364ce8['stdout'][_0x4ded0f(0x2b9)]()));}}async['releaseCommittedFence'](){const _0x8ce6f1=_0x54ea80,_0x52c850=readFence(this['workspace']);if(_0x52c850['state']!==_0x8ce6f1(0x31a)||_0x52c850[_0x8ce6f1(0x1f7)]!==this[_0x8ce6f1(0x265)]?.[_0x8ce6f1(0x254)]||_0x52c850[_0x8ce6f1(0x33f)]!==this['identity']?.[_0x8ce6f1(0x1e7)])return;const _0x2a8338=path[_0x8ce6f1(0x268)](this[_0x8ce6f1(0x1fd)],_0x8ce6f1(0x243),'runtime',_0x8ce6f1(0x242));let _0x10f473;try{_0x10f473=JSON[_0x8ce6f1(0x310)](fs[_0x8ce6f1(0x1f0)](_0x2a8338,_0x8ce6f1(0x256)));}catch{return;}if(_0x10f473[_0x8ce6f1(0x252)]!==_0x52c850[_0x8ce6f1(0x252)]||![_0x8ce6f1(0x21d),'reconnect-required']['includes'](_0x10f473['status']))return;const _0x5ebf4e=await require(_0x8ce6f1(0x31c))[_0x8ce6f1(0x2a0)](this['workspace'],{'version':this[_0x8ce6f1(0x265)][_0x8ce6f1(0x254)],'digest':this['identity'][_0x8ce6f1(0x1e7)],'resourceDigest':this[_0x8ce6f1(0x2db)]});if(_0x5ebf4e[_0x8ce6f1(0x2a6)]!==_0x8ce6f1(0x233))return;const _0x463650=changeFence(this['workspace'],_0x52c850['epoch'],{'state':_0x8ce6f1(0x28d),'transactionId':_0x52c850[_0x8ce6f1(0x252)],'generation':this[_0x8ce6f1(0x270)]}),_0x3e770f={..._0x10f473};_0x3e770f[_0x8ce6f1(0x2a6)]='active',_0x3e770f[_0x8ce6f1(0x2e4)]=_0x8ce6f1(0x2e2),_0x3e770f[_0x8ce6f1(0x270)]=this[_0x8ce6f1(0x270)],_0x3e770f['changedAt']=_0x463650['changedAt'],atomic(_0x2a8338,_0x3e770f);}[_0x54ea80(0x257)](_0x468947,_0xa8a353){const _0x205457=_0x54ea80;if(this[_0x205457(0x1fc)]!==_0xa8a353)return;if(_0x468947?.['type']===_0x205457(0x1bf)){const _0x221bf3=_0xa8a353['expectedBoot'],_0x6b1620={};_0x6b1620['code']=_0x205457(0x317);if(!_0x221bf3||_0x468947['connectionId']!==this[_0x205457(0x215)]||_0x468947[_0x205457(0x26a)]!==_0xa8a353[_0x205457(0x26a)]||_0x468947['generation']!==_0x221bf3[_0x205457(0x270)]||_0x468947[_0x205457(0x254)]!==_0x221bf3[_0x205457(0x254)]||_0x468947[_0x205457(0x1e7)]!==_0x221bf3['digest']||!same(_0x468947[_0x205457(0x1fd)]||'',this[_0x205457(0x1fd)]))_0xa8a353[_0x205457(0x25b)]?.(Object[_0x205457(0x2b7)](new Error('Runtime\x20readiness\x20tuple\x20does\x20not\x20match\x20candidate'),_0x6b1620));else _0xa8a353[_0x205457(0x303)]?.(_0x468947);}else{if(_0x468947?.[_0x205457(0x246)]===_0x205457(0x300))_0xa8a353['bootReject']?.(Object['assign'](new Error(_0x468947[_0x205457(0x1c3)]),{'code':_0x468947['code']}));else{if(_0x468947?.[_0x205457(0x246)]==='workspace-bound')this['rebindWorkspace'](_0x468947[_0x205457(0x1fd)]);else{if(_0x468947?.[_0x205457(0x255)]&&this[_0x205457(0x2a1)]['has'](messageId(_0x468947[_0x205457(0x255)]))){if(_0x468947[_0x205457(0x246)]===_0x205457(0x33e)&&_0x468947[_0x205457(0x26a)]===_0xa8a353[_0x205457(0x26a)]&&_0x468947[_0x205457(0x215)]===this[_0x205457(0x215)]&&_0x468947[_0x205457(0x270)]===this[_0x205457(0x270)]&&_0x468947[_0x205457(0x23b)]===!![])_0xa8a353[_0x205457(0x202)]=!![];const _0x5b01e4=this['control'][_0x205457(0x1e4)](messageId(_0x468947[_0x205457(0x255)]));this[_0x205457(0x2a1)][_0x205457(0x2ce)](messageId(_0x468947[_0x205457(0x255)])),_0x5b01e4[_0x205457(0x292)](_0x468947);}}}}}async['requestChild'](_0x1e1c9d,_0xb6f8e9={},_0x3229fb=0x1388){const _0x469c6d=_0x54ea80,_0x2c890e={};_0x2c890e[_0x469c6d(0x2f1)]=_0xb6f8e9[_0x469c6d(0x200)]?.[_0x469c6d(0x23f)],_0x2c890e['arguments']=_0xb6f8e9[_0x469c6d(0x200)]?.['arguments'];const _0x188a12={};_0x188a12['method']=_0x469c6d(0x2ab),_0x188a12[_0x469c6d(0x2cc)]=_0x2c890e;const _0x376832=_0x1e1c9d===_0x469c6d(0x23c)&&!this[_0x469c6d(0x2d1)](_0x188a12);if(![_0x469c6d(0x2a6),_0x469c6d(0x1d9)][_0x469c6d(0x2e7)](_0x1e1c9d)&&!_0x376832)await this[_0x469c6d(0x1d7)]();const _0x3ffac5={};_0x3ffac5['code']='CHILD_UNAVAILABLE';if(!this[_0x469c6d(0x1fc)]?.[_0x469c6d(0x2be)])return Promise[_0x469c6d(0x1ec)](Object[_0x469c6d(0x2b7)](new Error(_0x469c6d(0x22c)),_0x3ffac5));const _0x3dacef='apt-control-'+crypto['randomUUID']();return new Promise((_0x170aba,_0x31a19)=>{const _0x2d9060=_0x469c6d,_0xcf0284=setTimeout(()=>{const _0x402132=_0x40d0;this[_0x402132(0x2a1)][_0x402132(0x2ce)](messageId(_0x3dacef));const _0x2fb3aa={};_0x2fb3aa[_0x402132(0x1e1)]=_0x402132(0x21c),_0x31a19(Object[_0x402132(0x2b7)](new Error(_0x402132(0x301)),_0x2fb3aa));},_0x3229fb);this[_0x2d9060(0x2a1)][_0x2d9060(0x285)](messageId(_0x3dacef),{'resolve':_0x4be224=>{clearTimeout(_0xcf0284),_0x170aba(_0x4be224);}});const _0x372dc2={'type':_0x1e1c9d,'requestId':_0x3dacef,..._0xb6f8e9};this[_0x2d9060(0x1fc)]['send'](_0x372dc2);});}async[_0x54ea80(0x2c7)](_0x37c86d,_0x26cb55,_0x22eb66=0x2710){const _0x52e73e=_0x54ea80;await this['enableOwnedOperations']();const _0x5dd76a=_0x52e73e(0x209)+crypto[_0x52e73e(0x2f6)]();return new Promise((_0x391b90,_0xba66b5)=>{const _0x2dd4bb=_0x52e73e,_0x2ce636=setTimeout(()=>{const _0x1bad2d=_0x40d0;this[_0x1bad2d(0x2a1)][_0x1bad2d(0x2ce)](messageId(_0x5dd76a));const _0x321190={};_0x321190[_0x1bad2d(0x1e1)]=_0x1bad2d(0x273),_0xba66b5(Object[_0x1bad2d(0x2b7)](new Error(_0x1bad2d(0x323)),_0x321190));},_0x22eb66);this[_0x2dd4bb(0x2a1)][_0x2dd4bb(0x285)](messageId(_0x5dd76a),{'resolve':_0x30c967=>{clearTimeout(_0x2ce636),_0x391b90(_0x30c967);}});const _0x38de7f={};_0x38de7f[_0x2dd4bb(0x2f3)]=_0x2dd4bb(0x2ed),_0x38de7f['id']=_0x5dd76a,_0x38de7f[_0x2dd4bb(0x248)]=_0x37c86d,_0x38de7f[_0x2dd4bb(0x2cc)]=_0x26cb55,this[_0x2dd4bb(0x1fc)][_0x2dd4bb(0x2c2)][_0x2dd4bb(0x312)](JSON[_0x2dd4bb(0x22f)](_0x38de7f)+'\x0a');});}async[_0x54ea80(0x2f5)](){const _0x535ccf=_0x54ea80;if(this[_0x535ccf(0x228)][_0x535ccf(0x217)])return[{'kind':_0x535ccf(0x2f9),'count':this[_0x535ccf(0x228)][_0x535ccf(0x217)]}];const _0x5bb940=await this['requestChild']('status'),_0x14f84b={};return _0x14f84b[_0x535ccf(0x1b4)]='ownership-unknown',_0x5bb940[_0x535ccf(0x335)]||[_0x14f84b];}[_0x54ea80(0x2ef)](){const _0x39fa8b=_0x54ea80,_0x406639={};return _0x406639[_0x39fa8b(0x215)]=this[_0x39fa8b(0x215)],_0x406639[_0x39fa8b(0x1fd)]=this[_0x39fa8b(0x1fd)],_0x406639[_0x39fa8b(0x282)]=process[_0x39fa8b(0x26a)],_0x406639[_0x39fa8b(0x284)]=this[_0x39fa8b(0x1fc)]?.[_0x39fa8b(0x26a)],_0x406639[_0x39fa8b(0x254)]=this[_0x39fa8b(0x265)]?.[_0x39fa8b(0x254)],_0x406639['digest']=this['identity']?.[_0x39fa8b(0x1e7)],_0x406639[_0x39fa8b(0x2db)]=this[_0x39fa8b(0x2db)],_0x406639[_0x39fa8b(0x267)]=this[_0x39fa8b(0x1e8)],_0x406639[_0x39fa8b(0x270)]=this[_0x39fa8b(0x270)],_0x406639;}async[_0x54ea80(0x27b)](_0x3da2e4){const _0x93a8a2=_0x54ea80,_0x467e54={};_0x467e54[_0x93a8a2(0x1e1)]=_0x93a8a2(0x2ba);if(!this[_0x93a8a2(0x1fc)])throw Object[_0x93a8a2(0x2b7)](new Error(_0x93a8a2(0x235)),_0x467e54);const _0x113d59=this['child'];if(!_0x113d59[_0x93a8a2(0x31a)])await this['enableOwnedOperations']();else await attachOwnedJob(_0x113d59);let _0x3950c7=![];const _0x2334d2=await stopOwnedChild(_0x113d59,{'reason':_0x3da2e4,'graceful':async()=>{const _0x290b17=_0x93a8a2,_0x52fd7f={};_0x52fd7f[_0x290b17(0x26d)]=_0x3da2e4;const _0xdf7854=await this[_0x290b17(0x225)](_0x290b17(0x230),_0x52fd7f,0x3a98);_0x3950c7=_0xdf7854[_0x290b17(0x246)]===_0x290b17(0x33e)&&_0xdf7854['pid']===_0x113d59[_0x290b17(0x26a)]&&_0xdf7854['connectionId']===this[_0x290b17(0x215)]&&_0xdf7854[_0x290b17(0x270)]===this[_0x290b17(0x270)]&&_0xdf7854['registeredOwnersStopped']===!![];}}),_0x25e695={};_0x25e695[_0x93a8a2(0x1e1)]=_0x93a8a2(0x266);if(process['platform']!==_0x93a8a2(0x2d3)&&!_0x3950c7)throw Object['assign'](new Error(_0x93a8a2(0x29c)),_0x25e695);const _0x313bcb={..._0x2334d2};_0x313bcb[_0x93a8a2(0x23b)]=_0x3950c7,this['shutdownEvidence']=_0x313bcb;if(this[_0x93a8a2(0x1fc)]===_0x113d59)this[_0x93a8a2(0x1fc)]=null;this[_0x93a8a2(0x21a)]='',this[_0x93a8a2(0x2a2)]=new StringDecoder('utf8');}async[_0x54ea80(0x336)](_0x17ca61){const _0x3eafd2=_0x54ea80;if(this['initialize']){const _0x289d13=await this['requestRpc'](_0x3eafd2(0x318),this[_0x3eafd2(0x318)]),_0x3b7342={};_0x3b7342['code']=_0x3eafd2(0x1b5);if(_0x289d13[_0x3eafd2(0x1db)])throw Object[_0x3eafd2(0x2b7)](new Error(_0x3eafd2(0x2ff)),_0x3b7342);const _0x4034cf={};_0x4034cf['jsonrpc']=_0x3eafd2(0x2ed),_0x4034cf['method']='notifications/initialized',_0x4034cf['params']={};if(this[_0x3eafd2(0x2e5)])this[_0x3eafd2(0x1fc)][_0x3eafd2(0x2c2)]['write'](JSON[_0x3eafd2(0x22f)](_0x4034cf)+'\x0a');}const _0x2fabd5=await this[_0x3eafd2(0x2c7)](_0x3eafd2(0x2d2),{}),_0x4a9546=hash(JSON[_0x3eafd2(0x22f)](_0x2fabd5[_0x3eafd2(0x320)]?.['tools']||[])),_0x27ab3d={};_0x27ab3d[_0x3eafd2(0x1e1)]=_0x3eafd2(0x2d7);if(_0x2fabd5['error']||this[_0x3eafd2(0x1e8)]&&_0x4a9546!==this[_0x3eafd2(0x1e8)])throw Object[_0x3eafd2(0x2b7)](new Error(_0x3eafd2(0x205)),_0x27ab3d);this['toolCatalogHash']=_0x4a9546;const _0xf39f9e={};_0xf39f9e[_0x3eafd2(0x2de)]=_0x17ca61[_0x3eafd2(0x2de)],_0xf39f9e[_0x3eafd2(0x302)]=_0x17ca61['boundPipeline'],await this[_0x3eafd2(0x225)](_0x3eafd2(0x1f4),_0xf39f9e);}async[_0x54ea80(0x28e)](_0x3f0cb4){const _0x3cc8f4=_0x54ea80,_0x2e208e=readFence(this['workspace']),_0x1d92a5={};_0x1d92a5[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x221);if(_0x2e208e[_0x3cc8f4(0x251)]!==_0x3cc8f4(0x25e)||_0x3f0cb4[_0x3cc8f4(0x252)]!==_0x2e208e[_0x3cc8f4(0x252)]||_0x3f0cb4['epoch']!==_0x2e208e['epoch'])throw Object['assign'](new Error(_0x3cc8f4(0x2aa)),_0x1d92a5);const _0x4fcb60={};_0x4fcb60[_0x3cc8f4(0x2a6)]=_0x3cc8f4(0x1d3),_0x4fcb60[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x337);if(this[_0x3cc8f4(0x2bf)])return _0x4fcb60;this['recoverCandidate'](_0x3f0cb4['transactionId']),this[_0x3cc8f4(0x31b)]=!![];if(_0x3f0cb4[_0x3cc8f4(0x246)]===_0x3cc8f4(0x26f)){const _0x26db85={};_0x26db85[_0x3cc8f4(0x1e1)]='CONNECTION_NOT_PREPARED';if(!this[_0x3cc8f4(0x213)]||this[_0x3cc8f4(0x213)]['transactionId']!==_0x3f0cb4[_0x3cc8f4(0x252)]||!this[_0x3cc8f4(0x213)]['prepared']||!this['child']?.['ready'])throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1e2)),_0x26db85);const _0x28c652=await this[_0x3cc8f4(0x225)](_0x3cc8f4(0x2a6)),_0x43ba39={};_0x43ba39['code']=_0x3cc8f4(0x317);if(_0x28c652[_0x3cc8f4(0x26a)]!==this[_0x3cc8f4(0x1fc)][_0x3cc8f4(0x26a)]||_0x28c652['generation']!==_0x3f0cb4['generation']||!same(_0x28c652[_0x3cc8f4(0x1fd)],this[_0x3cc8f4(0x1fd)]))throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1b9)),_0x43ba39);const _0x3fcfe1=acknowledgeGeneration(this[_0x3cc8f4(0x1fd)],this['connectionId'],_0x3f0cb4[_0x3cc8f4(0x252)],this[_0x3cc8f4(0x2ef)]());projectGeneration(this[_0x3cc8f4(0x32b)],this['workspace'],_0x3fcfe1),this[_0x3cc8f4(0x244)]=this[_0x3cc8f4(0x213)][_0x3cc8f4(0x244)],this[_0x3cc8f4(0x2eb)]=_0x3cc8f4(0x233),this[_0x3cc8f4(0x31b)]=![];const _0x29cf3a={};return _0x29cf3a[_0x3cc8f4(0x331)]=_0x3fcfe1['transactionId'],this[_0x3cc8f4(0x1ea)](_0x29cf3a),{'status':'active',...this[_0x3cc8f4(0x2ef)]()};}const _0x3567eb=readGeneration(this['workspace']),_0x20f5e5={};_0x20f5e5['code']=_0x3cc8f4(0x26b);if(_0x3f0cb4[_0x3cc8f4(0x246)]===_0x3cc8f4(0x24d)&&_0x3567eb?.[_0x3cc8f4(0x252)]===_0x3f0cb4[_0x3cc8f4(0x252)])throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1f8)),_0x20f5e5);if(_0x3f0cb4['type']==='prepare-candidate'&&this[_0x3cc8f4(0x213)]?.[_0x3cc8f4(0x252)]===_0x3f0cb4[_0x3cc8f4(0x252)]&&this[_0x3cc8f4(0x213)]['prepared']&&this['child']?.['ready']){const _0x5954cf=this['candidateTuple'](),_0x3e167a={};_0x3e167a[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x2ad);if([_0x3cc8f4(0x254),_0x3cc8f4(0x1e7),_0x3cc8f4(0x270),_0x3cc8f4(0x2db),'catalogHash'][_0x3cc8f4(0x2f8)](_0x3665e3=>_0x5954cf[_0x3665e3]!==_0x3f0cb4[_0x3665e3]))throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x341)),_0x3e167a);const _0x497892=await this[_0x3cc8f4(0x225)]('status'),_0x4466f0={};_0x4466f0[_0x3cc8f4(0x1e1)]='CHILD_READINESS_MISMATCH';if(_0x497892[_0x3cc8f4(0x26a)]!==_0x5954cf[_0x3cc8f4(0x284)]||_0x497892[_0x3cc8f4(0x270)]!==_0x5954cf[_0x3cc8f4(0x270)]||!same(_0x497892[_0x3cc8f4(0x1fd)],this[_0x3cc8f4(0x1fd)]))throw Object[_0x3cc8f4(0x2b7)](new Error('Candidate\x20readiness\x20is\x20no\x20longer\x20valid'),_0x4466f0);const _0x4ec51e={'status':'candidate-ready',..._0x5954cf};return _0x4ec51e;}this[_0x3cc8f4(0x2bf)]=((async()=>{const _0x3f88b8=_0x3cc8f4;if(_0x3f0cb4['type']==='stop-for-update'){if(this['candidate']?.[_0x3f88b8(0x252)]===_0x3f0cb4[_0x3f88b8(0x252)]&&this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)]&&this[_0x3f88b8(0x213)][_0x3f88b8(0x21e)]&&!this[_0x3f88b8(0x213)][_0x3f88b8(0x2ac)])return{'status':this[_0x3f88b8(0x1fc)]?.['ready']?_0x3f88b8(0x2fc):_0x3f88b8(0x1d3),'code':this['child']?.['ready']?undefined:_0x3f88b8(0x21f),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this[_0x3f88b8(0x213)]?.[_0x3f88b8(0x252)]===_0x3f0cb4[_0x3f88b8(0x252)]&&this['candidate'][_0x3f88b8(0x33e)]&&!this['candidate'][_0x3f88b8(0x2ac)]&&!this[_0x3f88b8(0x1fc)])return{'status':_0x3f88b8(0x33e),'connectionId':this[_0x3f88b8(0x215)]};const _0x3343ea=await this[_0x3f88b8(0x2f5)]();if(_0x3343ea['length'])return{'status':_0x3f88b8(0x1d3),'blockers':_0x3343ea};const _0x5ebccd=await this[_0x3f88b8(0x225)]('status');this[_0x3f88b8(0x213)]={'transactionId':_0x3f0cb4[_0x3f88b8(0x252)],'previous':{'release':this[_0x3f88b8(0x244)],'generation':this[_0x3f88b8(0x270)],'resourceDigest':this['resourceDigest'],'state':_0x5ebccd}},this['persistCandidate'](),await this[_0x3f88b8(0x27b)](_0x3f88b8(0x26e)),this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)]=!![],this[_0x3f88b8(0x32d)]();const _0x2ba0a9={};_0x2ba0a9['stoppedTransaction']=_0x3f0cb4[_0x3f88b8(0x252)],this[_0x3f88b8(0x1ea)](_0x2ba0a9);const _0x3ff059={};return _0x3ff059[_0x3f88b8(0x2a6)]='stopped',_0x3ff059[_0x3f88b8(0x215)]=this[_0x3f88b8(0x215)],_0x3ff059[_0x3f88b8(0x2cf)]=this[_0x3f88b8(0x2cf)],_0x3ff059;}if(_0x3f0cb4[_0x3f88b8(0x246)]===_0x3f88b8(0x24d)){const _0x3ba43c={};_0x3ba43c[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2a9);if(!this['candidate'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2ca)),_0x3ba43c);const _0x3f46db=this[_0x3f88b8(0x213)][_0x3f88b8(0x2d9)],_0x5911e4={};_0x5911e4[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2a9);if(!_0x3f46db?.[_0x3f88b8(0x251)]||!this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)])throw Object['assign'](new Error(_0x3f88b8(0x307)),_0x5911e4);if(this[_0x3f88b8(0x1fc)])await this[_0x3f88b8(0x27b)](_0x3f88b8(0x288));await this[_0x3f88b8(0x338)](_0x3f46db['release'],_0x3f46db[_0x3f88b8(0x270)]);const _0x55c36e={};_0x55c36e[_0x3f88b8(0x1e1)]=_0x3f88b8(0x231);if(this[_0x3f88b8(0x2db)]!==_0x3f46db[_0x3f88b8(0x2db)])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2e6)),_0x55c36e);return await this['initializeCandidate'](_0x3f46db[_0x3f88b8(0x251)]),this[_0x3f88b8(0x244)]=_0x3f46db[_0x3f88b8(0x244)],this[_0x3f88b8(0x213)]={...this['candidate'],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x3f88b8(0x2eb)]=_0x3f88b8(0x1d3),this['admissionClosed']=![],this['record'](),{'status':_0x3f88b8(0x1bd),'serving':this[_0x3f88b8(0x1fc)]?.[_0x3f88b8(0x1bf)]===!![],...this['candidateTuple']()};}const _0x4ca426={};_0x4ca426[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2ad);if(!Number[_0x3f88b8(0x1c2)](_0x3f0cb4['generation'])||_0x3f0cb4[_0x3f88b8(0x270)]<=(this['candidate']?.[_0x3f88b8(0x2d9)]?.['generation']??this[_0x3f88b8(0x270)])||_0x3f0cb4['version']!==_0x2e208e[_0x3f88b8(0x1f7)]||_0x3f0cb4['digest']!==_0x2e208e[_0x3f88b8(0x33f)])throw Object[_0x3f88b8(0x2b7)](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x4ca426);const _0x22cb1d=_0x3f0cb4[_0x3f88b8(0x244)]||path['join'](this[_0x3f88b8(0x32b)],_0x3f88b8(0x2a5),_0x3f0cb4['version']+'-'+_0x3f0cb4[_0x3f88b8(0x1e7)]),_0x333507=verifyRelease(_0x22cb1d,this[_0x3f88b8(0x1bb)]),_0x179b68={};_0x179b68['code']=_0x3f88b8(0x2ad);if(_0x333507[_0x3f88b8(0x254)]!==_0x3f0cb4['version']||_0x333507[_0x3f88b8(0x1e7)]!==_0x3f0cb4['digest'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x1cc)),_0x179b68);const _0x10f532={};_0x10f532[_0x3f88b8(0x1e1)]='CHILD_STOP_UNCONFIRMED';if(!this[_0x3f88b8(0x213)]?.[_0x3f88b8(0x33e)]||this[_0x3f88b8(0x213)]['transactionId']!==_0x3f0cb4['transactionId'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2c3)),_0x10f532);const _0xd3510d=this[_0x3f88b8(0x213)][_0x3f88b8(0x2d9)][_0x3f88b8(0x251)];this['candidate']['release']=_0x22cb1d;if(this[_0x3f88b8(0x1fc)])await this[_0x3f88b8(0x27b)](_0x3f88b8(0x27f));this['candidate'][_0x3f88b8(0x21e)]=![],this[_0x3f88b8(0x32d)](),await this[_0x3f88b8(0x338)](_0x22cb1d,_0x3f0cb4[_0x3f88b8(0x270)]),await this['initializeCandidate'](_0xd3510d);const _0x23a18e={};_0x23a18e[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2ad);if(this[_0x3f88b8(0x2db)]!==_0x3f0cb4[_0x3f88b8(0x2db)]||this[_0x3f88b8(0x1e8)]!==_0x3f0cb4[_0x3f88b8(0x267)])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2af)),_0x23a18e);this[_0x3f88b8(0x213)][_0x3f88b8(0x21e)]=!![],this[_0x3f88b8(0x32d)](),this[_0x3f88b8(0x2eb)]=_0x3f88b8(0x1d3);const _0x34b6ab={};return _0x34b6ab[_0x3f88b8(0x319)]=_0x3f0cb4[_0x3f88b8(0x252)],this[_0x3f88b8(0x1ea)](_0x34b6ab),{'status':_0x3f88b8(0x2fc),...this[_0x3f88b8(0x2ef)]()};})());try{return await this['transition'];}finally{this['transition']=null;}}async[_0x54ea80(0x2dd)](){const _0x42c2e4=_0x54ea80,_0x5cc4d6={};return _0x5cc4d6[_0x42c2e4(0x2a6)]=_0x42c2e4(0x2a4),_0x5cc4d6['code']=_0x42c2e4(0x212),_0x5cc4d6;}async[_0x54ea80(0x25f)](_0x5103f8,_0x9ce481,_0x4b892b){const _0x23756f=_0x54ea80;if(this[_0x23756f(0x1fc)]!==_0x5103f8)return;_0x5103f8[_0x23756f(0x31a)]=!![],_0x5103f8['ready']=![];const _0x357fd0={};_0x357fd0[_0x23756f(0x1e1)]=_0x23756f(0x2f4),_0x5103f8['bootReject']?.(Object[_0x23756f(0x2b7)](new Error(_0x23756f(0x2e0)),_0x357fd0));for(const [_0x2d4248]of this['pending']){try{const _0xba637c={};_0xba637c[_0x23756f(0x1e1)]=-0x7d02,_0xba637c[_0x23756f(0x1f6)]=_0x23756f(0x2dc),this[_0x23756f(0x24e)]({'jsonrpc':_0x23756f(0x2ed),'id':JSON[_0x23756f(0x310)](_0x2d4248),'error':_0xba637c});}catch{}}this[_0x23756f(0x228)][_0x23756f(0x1ff)]();try{const _0x521f6b={};_0x521f6b[_0x23756f(0x26d)]='runtime-child-closed',_0x521f6b[_0x23756f(0x1da)]=0x3e8,await stopOwnedChild(_0x5103f8,_0x521f6b);}catch(_0x447f0c){this['activation']=_0x23756f(0x2b3),this[_0x23756f(0x31b)]=!![];const _0x59fd97={};_0x59fd97[_0x23756f(0x2c4)]=_0x4b892b||_0x9ce481||'child-closed',_0x59fd97[_0x23756f(0x2c5)]=_0x447f0c['code']||_0x23756f(0x266),this[_0x23756f(0x1ea)](_0x59fd97);return;}if(this['child']!==_0x5103f8)return;if(process[_0x23756f(0x1bc)]!==_0x23756f(0x2d3)&&!_0x5103f8[_0x23756f(0x202)]){this[_0x23756f(0x2eb)]='legacy-ownership-unverified',this[_0x23756f(0x31b)]=!![];const _0x2a8656={};_0x2a8656[_0x23756f(0x2c4)]=_0x4b892b||_0x9ce481||_0x23756f(0x2d6),_0x2a8656[_0x23756f(0x2c5)]='PROCESS_TREE_STOP_UNCONFIRMED',this[_0x23756f(0x1ea)](_0x2a8656);return;}this[_0x23756f(0x1fc)]=null;if(!this[_0x23756f(0x2bf)]&&!this[_0x23756f(0x33e)]){this[_0x23756f(0x318)]=null,this[_0x23756f(0x2e5)]=![],this[_0x23756f(0x2eb)]=_0x23756f(0x2a4),this[_0x23756f(0x31b)]=!![];const _0x39295e={};_0x39295e['stopReason']=_0x4b892b||_0x9ce481||_0x23756f(0x2d6),this[_0x23756f(0x1ea)](_0x39295e);}}['writeHost'](_0x4b7a60){const _0x557c92=_0x54ea80;this[_0x557c92(0x2f7)][_0x557c92(0x312)](JSON[_0x557c92(0x22f)](_0x4b7a60)+'\x0a');}async[_0x54ea80(0x201)](_0xd5c107=_0x54ea80(0x2c1)){const _0x5af85c=_0x54ea80;if(this['closed'])return;if(this[_0x5af85c(0x2d5)])return this['closing'];this[_0x5af85c(0x31b)]=!![],clearTimeout(this['executorTimer']),this[_0x5af85c(0x2d5)]=((async()=>{const _0x305a4=_0x5af85c;try{if(this[_0x305a4(0x1fc)])await this['stopChild'](_0xd5c107);closeMember(this[_0x305a4(0x1fd)],this['connectionId'],process[_0x305a4(0x26a)],!![]),this['stopped']=!![],this['closeReason']=_0xd5c107,require(_0x305a4(0x1c0))['recordRegistrationClosure'](this),await new Promise(_0x330c04=>this['listener']?.[_0x305a4(0x201)](_0x330c04)||_0x330c04()),this[_0x305a4(0x2eb)]=_0x305a4(0x1c4);const _0x307355={};_0x307355['stopReason']=_0xd5c107,this[_0x305a4(0x1ea)](_0x307355);try{fs['unlinkSync'](this[_0x305a4(0x332)]);}catch{}if(process[_0x305a4(0x1bc)]!=='win32')try{fs[_0x305a4(0x333)](this[_0x305a4(0x263)]);}catch{}this['closed']=!![];}catch(_0xfd3600){this[_0x305a4(0x2eb)]=_0x305a4(0x2b3);const _0x1577d2={};_0x1577d2[_0x305a4(0x2c4)]=_0xd5c107,_0x1577d2[_0x305a4(0x2c5)]=_0xfd3600[_0x305a4(0x1e1)]||_0x305a4(0x1d8),this['record'](_0x1577d2);throw _0xfd3600;}})());try{return await this[_0x5af85c(0x2d5)];}finally{this[_0x5af85c(0x2d5)]=null;}}}const _0x434ed7={};_0x434ed7[_0x54ea80(0x33b)]=ConnectionSupervisor,module['exports']=_0x434ed7;
1
+ 'use strict';function _0x4eed(_0x2082b0,_0x7c04c2){_0x2082b0=_0x2082b0-0x10a;const _0x534ce2=_0x534c();let _0x4eed10=_0x534ce2[_0x2082b0];if(_0x4eed['NkGsQt']===undefined){var _0x17a265=function(_0x397bf8){const _0x552a85='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xdb7732='',_0x3d2c77='';for(let _0x777b0d=0x0,_0x172e9e,_0x5106c1,_0x39c2d8=0x0;_0x5106c1=_0x397bf8['charAt'](_0x39c2d8++);~_0x5106c1&&(_0x172e9e=_0x777b0d%0x4?_0x172e9e*0x40+_0x5106c1:_0x5106c1,_0x777b0d++%0x4)?_0xdb7732+=String['fromCharCode'](0xff&_0x172e9e>>(-0x2*_0x777b0d&0x6)):0x0){_0x5106c1=_0x552a85['indexOf'](_0x5106c1);}for(let _0x5133ba=0x0,_0x84f1a4=_0xdb7732['length'];_0x5133ba<_0x84f1a4;_0x5133ba++){_0x3d2c77+='%'+('00'+_0xdb7732['charCodeAt'](_0x5133ba)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d2c77);};_0x4eed['fsYdLi']=_0x17a265,_0x4eed['vQBwIW']={},_0x4eed['NkGsQt']=!![];}const _0x446a8e=_0x534ce2[0x0],_0x5f4302=_0x2082b0+_0x446a8e,_0x93e168=_0x4eed['vQBwIW'][_0x5f4302];return!_0x93e168?(_0x4eed10=_0x4eed['fsYdLi'](_0x4eed10),_0x4eed['vQBwIW'][_0x5f4302]=_0x4eed10):_0x4eed10=_0x93e168,_0x4eed10;}const _0x4fe4f1=_0x4eed;function _0x534c(){const _0x518a8a=['qvbux1nvuevsvKLtt1jFq0Hjteq','CMvQzwn0','yMXVy2TLCG','lMfNzw50CW','y2HPBgrqAwq','CMvWB3j0','CMvXDwvZDfjWyW','DxrMoa','q0foreLeqvrfx05pvf9srufewq','CgLWzq','ChjLCgfYzwruCMfUC2fJDgLVBG','C2vUza','C3rVCc1MB3iTDxbKyxrL','C3rKB3v0','C3rVCenOAwXK','lI9YDw50Aw1Llxn0B3jL','uhjVy2vZCYbKAxnWyxrJAcbHy3rPDMf0Aw9UihDHCYbUB3qGy29UzMLYBwvK','q0HjterFuKvbreLorvntx01ju01bveni','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','C2vJCMv0','CgXHDgzVCM0','CM91DgvFCMvXDwvZDa','Dw5SAw5Ru3LUyW','DxjP','zxHLy1bHDgG','C3rHCNq','y29UDhjVBa','Aw5PDgLHBgL6zq','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','CMvHC29U','CMvUyw1Lu3LUyW','BM9KztPMCW','C2vYDMLUzW','DgLJA2v0','yM91BMq','zgvSzxrL','yxb0lw1JCc0','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','z3jHy2vnCW','CNvUDgLTzvjVB3q','CMvSzwfZzq','qunusvzbveLptL9ot1rFufjfuefsruq','CMvJzwL2zunVBNrYB2W','Bw9KzwXFBgLZDa','z2vUzxjHDgLVBG','ugfYC2uGzxjYB3i','q0foreLeqvrfx1rvueXfx01ju01bveni','CMvJB3jK','zMLUzgLUzY1YzxnVBhv0Aw9U','C2H1DgrVD25by2TUB3DSzwrNzwq','z2f0zxDHEujPBMrPBMC','CMvZDg9Yzq','CMvHzhK','Ag9ZDc1LCNjVCG','yM9VDfjLC29SDMu','BgLZDf9JB2rLx2zPBgvZ','DxbKyxrLqMXVy2TLCG','C2v0lwDLBMvYyxrPB24','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','y2fUzgLKyxrLvhvWBgu','zxHWzwn0zwrcB290','y2HHBMDLzef0','q29TBwL0DgvKihj1BNrPBwuGAwrLBNrPDhKGzgLMzMvYCW','ChjLCgfYzq','y2HPBgq','y29UBMvJDgLVBNm','yM9VDgLUzW','zMLSzvvstfrVugf0Aa','B25Jzq','B3bLCMf0Aw9UC0vUywjSzwq','y2fUzgLKyxrLlxjLywr5','y2XVC2u','Bwv0Ag9K','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29UDhjVBenHBMrPzgf0zq','DhjHBNnWB3j0','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','ywjVCNq','C3rHDhvZ','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','zxHWBgLJAxrxB3jRC3bHy2u','yM9VDc1LCNjVCG','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','y2f0ywXVz0HHC2G','y29UC3vTzs1YzxbVCNq','D2fPDgLUzW','BgLUDxG','nLHVDMLbuq','zhjHAw5PBMC','Dw5Yzwy','mtu0DxL3Bfnk','uNvUDgLTzsbsuemGDgLTzwqGB3v0','ywn0AxzHDgLVBG','CMvHBhbHDgHtEw5J','D29YA3nWywnLx2XPC3q','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','CM9VDfbHDgG','rvHfq1vut1jFu1rbuLrFrKfjteve','CMvZDw1L','C2v0','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','ru5pru5u','ChvIBgLJs2v5','y3jLyxrLu2vYDMvY','CMvZB2X2zq','y2fUzgLKyxrL','CMvJzwL2zuHVC3q','y29TBwL0lwnHBMrPzgf0zq','y29Kzv9ZzwfYy2G','Cgf1C2u','u1Djvenix0zbsuXfra','AgfZ','DgfYz2v0vMvYC2LVBG','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','yxb0lxn1CgvYDMLZB3iT','C3rVChbLza','B3v0Chv0qNvMzMvY','q0HjterFuLbdx1rjtuvpvvq','yxb0t3DUzxjZAgLW','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','AwrLBNrPDhK','y2XVC2vK','zgvMzxjjzgvUDgL0Eq','lI4Vy29Yzs9PCgmTzw52zwXVCgu','D3jPDgu','DxnLze5VBMnLCW','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','CMvZDg9Yzs1WCMv2Aw91CW','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','Aw5KzxHpzG','nJmYntzIzLndwxC','C3rYAw5NAwz5','C2TPBgXFBg9Hza','CMvJzwLWDfbHDgG','BMf0AxzLq2fSBgvY','D3jPDgvgAwXLu3LUyW','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','AxnozxDnDxrHDgLVBG','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','y3jLyxrLsgfZAa','Cgf0Aa','AgfUzgXLsg9ZDe1LC3nHz2u','CMv2Awv3','xfWUxhbPCgvCyxb0lw1JCc0','Dg9ju09tDhjPBMC','BwnWx2fNzw50x2HLywX0Aa','zgvZDhjVEq','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','zw5K','BwvZC2fNzq','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','BMfTzq','Aw5PDgLHBgL6zwq','BwTKAxjtEw5J','y2XVC2vszwfZB24','CMvZB3vYy2veAwDLC3q','C2fMzujVDw5Kyxj5','lNrYyw5Zywn0Aw9UlMPZB24','y29UDhjVBenHCgfIAwXPDgLLCW','D29YA3nWywnLlxjLyM91BMq','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','Aw5WDxq','CMvZDwX0','DMvYC2LVBG','y2XVC3vYzvjLz2LZDhjHDgLVBNm','ChjLCgfYzs1Jyw5KAwrHDgu','yM9VDa','AgfUzhnOywTLq29TCgXLDgu','r0furvDbwv9csu5esu5hx1jfuvvjuKve','C3rKAw4','CgvYC2LZDenHBMrPzgf0zq','CMvJywXS','CgvUzgLUzW','mI4W','y29UBMvJDgLUzW','C3rKzxjY','Dg9tDhjPBMC','zMXHzW','lI91CgrHDguTzxHLy3v0B3i','AM9PBG','CgfYC2u','yxnZAwDU','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','y3DK','C3vWzxj2AxnVCLbPza','C3rHCNrqzw5KAw5NrxHLy3v0B3i','CMvJzwL2zunOAwXK','DhjPBq','Dg9VBenHDgfSB2DiyxnO','DgLJA2v0CW','tunqx0rju0npvKvsx0jbq0TftKrt','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','ANnVBNjWyW','C3rHCNrZv2L0Aa','y2fUzgLKyxrLlxjLy292zxj5','z2f0zxDHEs1IAw5KAw5N','C3rHCNr1Cfn0yxrL','DgfYz2v0rgLNzxn0','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y29UBMvJDgvK','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','r0vorvjbveLptL9vtKnptKzjuK1fra','q0HjterFrvHjvf9usu1ft1vu','yxnZzxj0u3rHCNr1CfjLywr5','B3b0Aw9UCW','Dg9VBa','BM9KztPVCW','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','y29Kzq','CMvZDg9Yzwq','ChjLDMLVDxm','Aw52B2nHDgLVBKLK','y2HHBgXLBMDL','q09otKvdveLptL9ot1rFufjfuefsruq','qurnsvntsu9ox0nptKzmsunu','AxnZDwuTy29UDgv4Da','yxjNDw1LBNrZ','ywn0AxzHDgLVBKv2AwrLBMnL','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','BM9KztPJCNLWDg8','CMvIAw5Kv29YA3nWywnL','BgLZDgvU','ywn0AxzL','zgLYBMfTzq','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','lNnLy3jLDhm','lMTLEq','CgfYyw1Z','CMvSzwfZzunVBw1PDhrLzezLBMnL','zgv0ywLS','mtm2mJa2ntbLAvLMvgu','Dg9VBhm','lNnVy2S','D29YA3nWywnLlwjVDw5K','Aw5JBhvKzxm','BM93','ChjLCgfYzwq','yM9VDeLKzw50Axr5','lI4Vy29Yzs9VD25Lzc1SB2nR','uKvrvuvtvf9jrf9dt05gteLdva','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','mtC2mte2mMjuz1bVAq','CMvZB3vYy2uTD2fPDa','C3rHDgu','ywrTAxnZAw9Uq2XVC2vK','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','zNn5BMntEw5J','lI91CgrHDguTCMvXDwvZDa','DhjHBNnHy3rPB25jza','BgLZDgvUzxi','Aw5WDxrcDwzMzxi','BwLU','C2fMzs1IB3vUzgfYEq','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','uNvUDgLTzsbJAgLSzcbZDgfYDhvWihrPBwvKig91Da','zMLUzf9JywXSzwvZ','CMvJB3zLCKnHBMrPzgf0zq','z3jLCf9ZzwfYy2G','C3rVCenVzgu','y29TBwL0r2vUzxjHDgLVBG','DhjHBNnPDgLVBG','zxbVy2G','Dw5HDMfPBgfIBgu','lI4Vy29Yzs9UB2rLlxzLCNnPB24','uNvUDgLTzsbJAgLSzcbJB250CM9SihrPBwvKig91Da','qvbux0nptK5fq1rjt05Fsuq','Ag9ZDfnLC3nPB25jza','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','C2L6zq','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','C2HHmJu2','zgLZy29UBMvJDa','B3bLBG','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','Dg9VBhmVy2fSBa','A2LUza','zNjVEMvU','D2fPDfnLy29Uzhm','ywXSB3DLza','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','CMvXDwLYzvn1ChbVCNrLze5Vzgu','D3jPDgviB3n0','ywrTAxnZAw9UlwnOzwnR','CM9VDfvYAq','y2HPBgrdBg9Zzwq','q0HjterFu1rpuf9vtKnptKzjuK1fra','Dg9mB3DLCKnHC2u','qvbux1jvtLrjtuvFt1vuq09nrv9vtKTot1DooIbJAgLSzcbJBg9ZzwqGywz0zxiGCMvXDwvZDcbKzwXPDMvYEq','BM90AwzPy2f0Aw9UCY8','CgLWzwXPBMvFC3rHDhvZ','DgvZDa','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','CgLWzwXPBMvFy2HLy2TWB2LUDa','B3v0Chv0rgvJB2rLCG','C29Tzq','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','q0HjterFvu5bvKfjtefcteu','y2f0y2G','CMfUzg9TqNL0zxm','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','C2XPy2u','CMvHzf9RBM93BgvKz2u','B3zLCNnPEMuTAg9ZDc1TzxnZywDL','tK9erv9pufrjt05t','Ag9ZDc1LB2y','y2fWDhvYzvjLz2LZDhjHDgLVBNm','y3jLyxrLsg1HyW','B3bLBLn5BMm','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','D29YA3nWywnLlxjVBgXIywnR','AxntywzLsw50zwDLCG','DhLWzq','Ag9VAY1JB250zxH0','yxr0zw1WDeLK','yM9VDfjLAMvJDa','Dg9VBhmVBgLZDa','zxjYB3i','mtu2ntyZng5tA1zNqG','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','C3DPDgnOuNvUDgLTzq','BgvUz3rO','q0HjterFu1rbuLrFveLnru9vva','DgHLBG','C2v0vgLTzw91Da','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','q0foreLeqvrfx0nptLrst0XFrKfjteve','ywn0Aw9U','CMvXDwvZDenOAwXK','CMvMCMvZAa','C2vJCMv0ugf0Aa','BM9KztPUzxq','CMvXDwvZDeLK','mtCWnZKXmeLwAMnqtW','y29UBMvJDgLVBKLK','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','y2fUzgLKyxrLugf0Aa','Agv4','CMvJDxjZAxzL','BM9KztPWyxrO','zxHLy3v0B3juAw1LCG','AxnszwfKt25SEvrVB2W','yM91BMrqAxbLBgLUzq','zgf0yq','y2HPBgrfBNzPCM9UBwvUDa','DxbKyxrL','Bw9Kzq','t1DorvjtseLqx1vos05pv04','C2H1DgrVD25fDMLKzw5Jzq','CMvHzezPBgvtEw5J','CNvUDgLTzq','AxnbCNjHEq','Bxv0yxrPB25bBgXVD2vK','y2HPBgqTy2XVC2vK','Dxb0Aw1L','C3rVCfjLCxvLC3rLza','zMLUzf9JywXSzxjZ','mtq4ntG1nwP1Dvzmwa','zgLNzxn0','B2zM','D29YA3nWywnL','vfjbtLnjveLptL9jtL9quK9huKvtuW','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','odvfyw5gDuK','D29YA3nWywnLrM9SzgvYCW','nty0ntzfq2fUzfO','y2XVC2vtEw5J','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','ChjVy2vZC1n0yxj0zwrbDa','y2XVC2LUzW','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','zMfPBgvK','qurnsvntsu9ox1jftevbu0vFrKfjteve','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','CMfUzg9Tvvvjra','yMfJA2vUza','D2LUmZi','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','CgLK','q29UBMvJDgLVBLn1CgvYDMLZB3i','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','zhjHAw4','CMvMCMvZAeLUDMvUDg9YEq','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','z2v0','C3rVCfjLyxnVBG','zxHWB3j0CW','CMvXDwvZDc1ZDg9W','CMvZB3vYy2vZlwfWCgXPzwq','CMvJB25Uzwn0lxjLCxvPCMvK','zw5KCg9PBNq','Aw5WDxrdAgfPBG','CMvSzwfZzxm','Aw5PDgLHBgL6zunHBMrPzgf0zq'];_0x534c=function(){return _0x518a8a;};return _0x534c();}(function(_0x4867e0,_0x5583be){const _0x5acbdb=_0x4eed,_0x5c835f=_0x4867e0();while(!![]){try{const _0x117056=parseInt(_0x5acbdb(0x21c))/0x1+-parseInt(_0x5acbdb(0x122))/0x2*(parseInt(_0x5acbdb(0x1be))/0x3)+parseInt(_0x5acbdb(0x23c))/0x4*(-parseInt(_0x5acbdb(0x23a))/0x5)+parseInt(_0x5acbdb(0x20d))/0x6+-parseInt(_0x5acbdb(0x125))/0x7*(parseInt(_0x5acbdb(0x14e))/0x8)+-parseInt(_0x5acbdb(0x234))/0x9+parseInt(_0x5acbdb(0x1b3))/0xa;if(_0x117056===_0x5583be)break;else _0x5c835f['push'](_0x5c835f['shift']());}catch(_0x1355ea){_0x5c835f['push'](_0x5c835f['shift']());}}}(_0x534c,0xf1e2d));const fs=require(_0x4fe4f1(0x278)),os=require(_0x4fe4f1(0x19b)),path=require(_0x4fe4f1(0x222)),crypto=require(_0x4fe4f1(0x1a8)),net=require(_0x4fe4f1(0x21a)),{spawn}=require('node:child_process'),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x4fe4f1(0x1fa)),{verifyRelease}=require(_0x4fe4f1(0x268)),{acquireRuntimeLock}=require(_0x4fe4f1(0x1bb)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x4fe4f1(0x114)),{verifyEnvelope}=require(_0x4fe4f1(0x147)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x4fe4f1(0x1c2)),hash=_0xb2f2de=>crypto[_0x4fe4f1(0x157)]('sha256')['update'](_0xb2f2de)[_0x4fe4f1(0x235)](_0x4fe4f1(0x220)),atomic=(_0x33ad82,_0x1d0620)=>{const _0x391799=_0x4fe4f1,_0x12fa3f={};_0x12fa3f[_0x391799(0x221)]=!![],fs['mkdirSync'](path['dirname'](_0x33ad82),_0x12fa3f);const _0x2290c2=_0x33ad82+'.'+crypto[_0x391799(0x245)]()+'.tmp',_0x556b2e=fs[_0x391799(0x203)](_0x2290c2,'wx',0x180);try{fs[_0x391799(0x153)](_0x556b2e,JSON[_0x391799(0x14f)](_0x1d0620)),fs[_0x391799(0x1c4)](_0x556b2e);}finally{fs[_0x391799(0x23d)](_0x556b2e);}fs[_0x391799(0x277)](_0x2290c2,_0x33ad82);},same=(_0x34e72d,_0x2bd1de)=>process[_0x4fe4f1(0x26d)]===_0x4fe4f1(0x247)?_0x34e72d[_0x4fe4f1(0x1ed)]()===_0x2bd1de[_0x4fe4f1(0x1ed)]():_0x34e72d===_0x2bd1de,messageId=_0x5e9ead=>JSON[_0x4fe4f1(0x14f)](_0x5e9ead),waitChildClosed=(_0x5760a7,_0x44edaa=0x1388)=>new Promise((_0x7aaebc,_0x3c7385)=>{const _0x10039d=_0x4fe4f1;if(_0x5760a7[_0x10039d(0x145)])return _0x7aaebc();const _0x3f4b47=setTimeout(()=>{const _0x31849f=_0x10039d;_0x5760a7[_0x31849f(0x236)](_0x31849f(0x112),_0x4250a5);const _0x2662a2={};_0x2662a2[_0x31849f(0x19d)]=_0x31849f(0x197),_0x3c7385(Object['assign'](new Error(_0x31849f(0x293)),_0x2662a2));},_0x44edaa),_0x4250a5=()=>{clearTimeout(_0x3f4b47),_0x7aaebc();};_0x5760a7['once'](_0x10039d(0x112),_0x4250a5);});class ConnectionSupervisor{constructor(_0x3686df={}){const _0x44611a=_0x4fe4f1;this['runtimeRoot']=fs[_0x44611a(0x128)](_0x3686df[_0x44611a(0x280)]),this[_0x44611a(0x281)]=fs[_0x44611a(0x128)](_0x3686df[_0x44611a(0x281)]),this['publicKey']=_0x3686df[_0x44611a(0x132)],this[_0x44611a(0x176)]=_0x3686df[_0x44611a(0x176)]||process['stdin'],this[_0x44611a(0x266)]=_0x3686df['stdout']||process[_0x44611a(0x266)],this['stderr']=_0x3686df['stderr']||process[_0x44611a(0x17c)],this['workspace']=fs[_0x44611a(0x128)](_0x3686df[_0x44611a(0x237)]||process[_0x44611a(0x184)]()),this[_0x44611a(0x11b)]=_0x3686df[_0x44611a(0x11b)]===!![],this[_0x44611a(0x171)]=require(_0x44611a(0x18c))[_0x44611a(0x201)](this),this[_0x44611a(0x28b)]=_0x3686df['gatewayBinding']||null,this[_0x44611a(0x227)]=_0x3686df['childEnvironment']||{},this['connectionId']=_0x3686df[_0x44611a(0x21d)]||crypto['randomUUID'](),this['processStartedAt']=new Date(Date[_0x44611a(0x1b8)]()-process[_0x44611a(0x231)]()*0x3e8)[_0x44611a(0x15c)]();try{this['supervisorProcessStart']=processIdentity(process[_0x44611a(0x249)])?.['start']||null;}catch{this[_0x44611a(0x21e)]=null;}this[_0x44611a(0x1ba)]=process[_0x44611a(0x26d)]===_0x44611a(0x121)?fs[_0x44611a(0x22c)]('/proc/sys/kernel/random/boot_id',_0x44611a(0x260))[_0x44611a(0x188)]():null,this[_0x44611a(0x26c)]=crypto[_0x44611a(0x1f9)](0x20),this[_0x44611a(0x149)]=new Set(),this[_0x44611a(0x285)]=0x0,this[_0x44611a(0x10b)]=null,this[_0x44611a(0x144)]=null,this[_0x44611a(0x179)]=new Map(),this[_0x44611a(0x273)]=new Map(),this[_0x44611a(0x1c8)]='',this['inputChain']=Promise[_0x44611a(0x134)](),this[_0x44611a(0x140)]='',this[_0x44611a(0x1f4)]=new StringDecoder('utf8'),this['initialize']=null,this[_0x44611a(0x174)]=![],this['initialized']=![],this[_0x44611a(0x189)]=null,this['admissionClosed']=![];const _0xf54145={};_0xf54145['startupAllowed']=!![],_0xf54145[_0x44611a(0x22f)]=!![],_0xf54145[_0x44611a(0x119)]='ready',this[_0x44611a(0x191)]=_0xf54145,this[_0x44611a(0x1d3)]=null,this['stopped']=![],this['activation']=_0x44611a(0x17b),this[_0x44611a(0x135)]=null,this[_0x44611a(0x255)]=process['platform']==='win32'?_0x44611a(0x15b)+hash(this[_0x44611a(0x21d)])[_0x44611a(0x1fc)](0x0,0x18):path['join'](os['tmpdir'](),_0x44611a(0x27d)+hash(this[_0x44611a(0x21d)])[_0x44611a(0x1fc)](0x0,0x18)+_0x44611a(0x1b5));}get[_0x4fe4f1(0x151)](){const _0xd3dd=_0x4fe4f1;return path[_0xd3dd(0x180)](this[_0xd3dd(0x237)],'.agents',_0xd3dd(0x22d),_0xd3dd(0x10c),this['connectionId']+'.json');}get[_0x4fe4f1(0x219)](){const _0x3b5d1a=_0x4fe4f1;return path[_0x3b5d1a(0x180)](this[_0x3b5d1a(0x237)],_0x3b5d1a(0x25c),_0x3b5d1a(0x22d),'connections',_0x3b5d1a(0x1ae),this['connectionId']+_0x3b5d1a(0x1af));}get[_0x4fe4f1(0x21f)](){const _0x25d879=_0x4fe4f1;return path[_0x25d879(0x180)](this[_0x25d879(0x237)],_0x25d879(0x1e6),this[_0x25d879(0x21d)]+_0x25d879(0x16a));}[_0x4fe4f1(0x177)](){const _0x4c2056=_0x4fe4f1;atomic(this[_0x4c2056(0x21f)],{'connectionId':this[_0x4c2056(0x21d)],'supervisorPid':process['pid'],'workspace':this[_0x4c2056(0x237)],'runtimeRoot':this[_0x4c2056(0x280)],'candidate':this['candidate']});}[_0x4fe4f1(0x1cf)](_0x22962c){const _0x42251f=_0x4fe4f1;if(this[_0x42251f(0x135)])return;let _0x557438;try{_0x557438=JSON['parse'](fs[_0x42251f(0x22c)](this[_0x42251f(0x21f)],_0x42251f(0x260)));}catch(_0x400e06){if(_0x400e06[_0x42251f(0x19d)]===_0x42251f(0x131))return;throw _0x400e06;}if(_0x557438[_0x42251f(0x21d)]!==this[_0x42251f(0x21d)]||_0x557438[_0x42251f(0x185)]!==process[_0x42251f(0x249)]||!same(_0x557438[_0x42251f(0x237)],this[_0x42251f(0x237)])||!same(_0x557438['runtimeRoot'],this[_0x42251f(0x280)])||_0x557438[_0x42251f(0x135)]?.[_0x42251f(0x1c6)]!==_0x22962c)return;this['candidate']=_0x557438[_0x42251f(0x135)];}[_0x4fe4f1(0x1d2)](){const _0x289de8=_0x4fe4f1,_0x46e569=joinServingGeneration(this[_0x289de8(0x237)],{'connectionId':this[_0x289de8(0x21d)],'supervisorPid':process[_0x289de8(0x249)],'childPid':this[_0x289de8(0x10b)]?.['pid'],'version':this['identity'][_0x289de8(0x170)],'digest':this[_0x289de8(0x144)][_0x289de8(0x235)],'resourceDigest':this['resourceDigest']});this[_0x289de8(0x285)]=_0x46e569['generation'],projectGeneration(this[_0x289de8(0x280)],this[_0x289de8(0x237)],_0x46e569);if(this[_0x289de8(0x10b)]?.[_0x289de8(0x194)])this[_0x289de8(0x10b)][_0x289de8(0x264)]({'type':_0x289de8(0x292),'generation':this['generation']});this[_0x289de8(0x288)]();}[_0x4fe4f1(0x288)](_0x5abbfa={}){const _0x559b5e=_0x4fe4f1,_0x555a59={'connectionId':this[_0x559b5e(0x21d)],'workspace':this['workspace'],'runtimeRoot':this[_0x559b5e(0x280)],'endpoint':this[_0x559b5e(0x255)],'secretFile':this[_0x559b5e(0x219)],'supervisorPid':process[_0x559b5e(0x249)],'childPid':this['child']?.[_0x559b5e(0x249)]||null,'version':this[_0x559b5e(0x144)]?.[_0x559b5e(0x170)]||null,'digest':this[_0x559b5e(0x144)]?.[_0x559b5e(0x235)]||null,'resourceDigest':this[_0x559b5e(0x168)]||null,'generation':this['generation'],'catalogHash':this[_0x559b5e(0x189)]||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x559b5e(0x23f)],'supervisorProcessStart':this[_0x559b5e(0x21e)],'childProcessStart':this['child']?.[_0x559b5e(0x249)]?((()=>{const _0x15c497=_0x559b5e;try{return processIdentity(this[_0x15c497(0x10b)]['pid'])?.[_0x15c497(0x272)]||null;}catch{return null;}})()):null,'processIdentitySource':'runtime-self-observed','bootIdentity':this['bootIdentity'],'shutdownEvidence':this['shutdownEvidence']||null,'startupStatus':this['startupState'][_0x559b5e(0x119)],'provisional':!this[_0x559b5e(0x174)],'lastSeen':new Date()['toISOString'](),'activation':this[_0x559b5e(0x127)],'serving':this['child']?.[_0x559b5e(0x28d)]===!![]&&!this[_0x559b5e(0x13f)],'closed':this[_0x559b5e(0x13f)],'observedAt':new Date()['toISOString'](),..._0x5abbfa};if(this[_0x559b5e(0x13f)])_0x555a59['closureMac']=crypto['createHmac']('sha256',this[_0x559b5e(0x26c)])[_0x559b5e(0x228)](JSON['stringify'](_0x555a59))[_0x559b5e(0x235)](_0x559b5e(0x220));atomic(this[_0x559b5e(0x151)],_0x555a59);}[_0x4fe4f1(0x1a9)](_0x3b77ec){const _0x306930=_0x4fe4f1,_0x34e1ac=fs[_0x306930(0x128)](_0x3b77ec);if(same(_0x34e1ac,this[_0x306930(0x237)]))return;const _0x5d7623={};_0x5d7623[_0x306930(0x19d)]=_0x306930(0x1f6);if(this[_0x306930(0x11b)]||this['child'])throw Object[_0x306930(0x182)](new Error(_0x306930(0x195)),_0x5d7623);const _0x17d5b0=this['receiptPath'],_0xc024f3=this[_0x306930(0x219)];closeMember(this[_0x306930(0x237)],this[_0x306930(0x21d)],process[_0x306930(0x249)],!![]),this['workspace']=_0x34e1ac;const _0x32cf16=registerMember(this['workspace'],{'connectionId':this[_0x306930(0x21d)],'supervisorPid':process[_0x306930(0x249)],'runtimeRoot':this[_0x306930(0x280)]});this[_0x306930(0x1c1)]=_0x32cf16['state']===_0x306930(0x120);const _0x111cea={};_0x111cea[_0x306930(0x221)]=!![],fs[_0x306930(0x166)](path[_0x306930(0x1ac)](this[_0x306930(0x219)]),_0x111cea);const _0x5abc5b={};_0x5abc5b['flag']='wx',_0x5abc5b[_0x306930(0x229)]=0x180,fs['writeFileSync'](this[_0x306930(0x219)],this[_0x306930(0x26c)],_0x5abc5b);const _0x4392e6={};_0x4392e6[_0x306930(0x21d)]=this[_0x306930(0x21d)],_0x4392e6[_0x306930(0x279)]=![],_0x4392e6[_0x306930(0x127)]=_0x306930(0x16c),atomic(_0x17d5b0,_0x4392e6);try{fs['unlinkSync'](_0xc024f3);}catch{}this[_0x306930(0x288)]();}async[_0x4fe4f1(0x272)](){const _0x5f2c74=_0x4fe4f1;require(_0x5f2c74(0x1d6))[_0x5f2c74(0x1e7)](),verifyRelease(this[_0x5f2c74(0x281)],this[_0x5f2c74(0x132)]);const _0x237288=registerMember(this[_0x5f2c74(0x237)],{'connectionId':this[_0x5f2c74(0x21d)],'supervisorPid':process[_0x5f2c74(0x249)],'runtimeRoot':this[_0x5f2c74(0x280)]});this['admissionClosed']=_0x237288[_0x5f2c74(0x1c0)]===_0x5f2c74(0x120);const _0x953ae6={};_0x953ae6[_0x5f2c74(0x221)]=!![],fs[_0x5f2c74(0x166)](path[_0x5f2c74(0x1ac)](this[_0x5f2c74(0x219)]),_0x953ae6);const _0x33c11c={};return _0x33c11c[_0x5f2c74(0x17e)]='wx',_0x33c11c['mode']=0x180,fs[_0x5f2c74(0x153)](this[_0x5f2c74(0x219)],this[_0x5f2c74(0x26c)],_0x33c11c),this[_0x5f2c74(0x1c7)]=net[_0x5f2c74(0x133)](_0x2ec160=>{const _0x2c0b86=_0x5f2c74;let _0x471ff2='',_0x3928dc=![];_0x2ec160[_0x2c0b86(0x213)](0x1fbd0,()=>_0x2ec160[_0x2c0b86(0x15e)]()),_0x2ec160['on'](_0x2c0b86(0x226),_0x360544=>{const _0x5e5a39=_0x2c0b86;_0x471ff2+=_0x360544;if(Buffer['byteLength'](_0x471ff2)>0x2*0x400*0x400)return _0x2ec160['destroy']();const _0x1500d1=_0x471ff2[_0x5e5a39(0x14d)]('\x0a');if(_0x1500d1<0x0)return;if(_0x3928dc)return _0x2ec160[_0x5e5a39(0x15e)]();_0x3928dc=!![];let _0x959c2f;try{_0x959c2f=JSON[_0x5e5a39(0x181)](_0x471ff2['slice'](0x0,_0x1500d1));}catch{return _0x2ec160[_0x5e5a39(0x15e)]();}if(![_0x5e5a39(0x1a1),_0x5e5a39(0x10a),_0x5e5a39(0x252),'activate',_0x5e5a39(0x118),_0x5e5a39(0x265),_0x5e5a39(0x172),'commit-candidate',_0x5e5a39(0x14b),_0x5e5a39(0x208),_0x5e5a39(0x190)]['includes'](_0x959c2f[_0x5e5a39(0x207)])||!verifyEnvelope(this['secret'],_0x959c2f,this['usedNonces'],this['connectionId']))return _0x2ec160[_0x5e5a39(0x15e)]();const _0x2e80b8=_0x1dbf49=>{const _0x2c9dae=_0x5e5a39,_0x447fe5={'nonce':_0x959c2f['nonce'],'connectionId':this[_0x2c9dae(0x21d)],'workspace':this[_0x2c9dae(0x237)],'supervisorPid':process['pid'],'childPid':this['child']?.['pid']||null,'generation':this[_0x2c9dae(0x285)],'version':this['identity']?.[_0x2c9dae(0x170)]||null,'digest':this[_0x2c9dae(0x144)]?.[_0x2c9dae(0x235)]||null,'resourceDigest':this[_0x2c9dae(0x168)]||null,'catalogHash':this['toolCatalogHash']||null,'shutdownEvidence':this['shutdownEvidence']||null,'controlCapabilities':this['childControlCapabilities']||[],'activation':this[_0x2c9dae(0x127)],'serving':this[_0x2c9dae(0x10b)]?.['ready']===!![]&&!this[_0x2c9dae(0x13f)],..._0x1dbf49},_0x43c7d6=_0x447fe5;_0x43c7d6['mac']=crypto[_0x2c9dae(0x202)](_0x2c9dae(0x1dd),this[_0x2c9dae(0x26c)])[_0x2c9dae(0x228)](JSON[_0x2c9dae(0x14f)](_0x43c7d6))[_0x2c9dae(0x235)](_0x2c9dae(0x220)),_0x2ec160[_0x2c9dae(0x160)](JSON['stringify'](_0x43c7d6)+'\x0a');};if(_0x959c2f[_0x5e5a39(0x207)]===_0x5e5a39(0x1a1))return _0x2e80b8({});const _0x425d57={};_0x425d57['status']=_0x5e5a39(0x1d5),_0x425d57[_0x5e5a39(0x19d)]=_0x5e5a39(0x175);if(_0x959c2f[_0x5e5a39(0x207)]===_0x5e5a39(0x190))return _0x2e80b8(this[_0x5e5a39(0x28b)]&&this['child']?.['ready']&&!this[_0x5e5a39(0x13f)]?{'status':_0x5e5a39(0x27b),'binding':this[_0x5e5a39(0x28b)]}:_0x425d57);if(_0x959c2f[_0x5e5a39(0x207)]===_0x5e5a39(0x208)){const _0x4e9658={};_0x4e9658[_0x5e5a39(0x119)]=_0x5e5a39(0x242),_0x4e9658['code']=_0x5e5a39(0x11d);if(readFence(this[_0x5e5a39(0x237)])[_0x5e5a39(0x1c0)]===_0x5e5a39(0x1e3)||!this['child']?.[_0x5e5a39(0x28d)])return _0x2e80b8(_0x4e9658);const _0x1f1ae8={};_0x1f1ae8[_0x5e5a39(0x16e)]=_0x959c2f[_0x5e5a39(0x152)],void this[_0x5e5a39(0x217)](_0x5e5a39(0x1a4),_0x1f1ae8)[_0x5e5a39(0x212)](_0x297357=>_0x2e80b8(_0x297357))[_0x5e5a39(0x1f8)](_0x30f71c=>_0x2e80b8({'status':_0x5e5a39(0x242),'code':_0x30f71c[_0x5e5a39(0x19d)]||_0x5e5a39(0x11d)}));return;}if(['stop-for-update','prepare-candidate','commit-candidate',_0x5e5a39(0x14b)][_0x5e5a39(0x1b7)](_0x959c2f['type'])){void this[_0x5e5a39(0x115)](_0x959c2f)['then'](_0x2e80b8)[_0x5e5a39(0x1f8)](_0x1295fc=>_0x2e80b8({'status':_0x5e5a39(0x242),'code':_0x1295fc[_0x5e5a39(0x19d)]||_0x5e5a39(0x215)}));return;}if(_0x959c2f[_0x5e5a39(0x207)]==='abort'){const _0x31116e={};_0x31116e[_0x5e5a39(0x119)]=_0x5e5a39(0x242),_0x31116e[_0x5e5a39(0x19d)]=_0x5e5a39(0x156);if(this[_0x5e5a39(0x135)]&&!this['candidate'][_0x5e5a39(0x19e)]||readFence(this['workspace'])[_0x5e5a39(0x1c0)]===_0x5e5a39(0x1e3))return _0x2e80b8(_0x31116e);const _0x3a3be2={};_0x3a3be2[_0x5e5a39(0x119)]=_0x5e5a39(0x162),_0x3a3be2['code']=_0x5e5a39(0x238);if(this[_0x5e5a39(0x1d3)])return _0x2e80b8(_0x3a3be2);this[_0x5e5a39(0x1c1)]=![];this[_0x5e5a39(0x135)]?.[_0x5e5a39(0x19e)]&&(this[_0x5e5a39(0x135)]=null,this[_0x5e5a39(0x177)]());this[_0x5e5a39(0x127)]=this[_0x5e5a39(0x10b)]?.['ready']?_0x5e5a39(0x1ab):_0x5e5a39(0x1cc),this[_0x5e5a39(0x288)]();const _0x297864={};return _0x297864[_0x5e5a39(0x119)]=this[_0x5e5a39(0x127)],_0x2e80b8(_0x297864);}if(_0x959c2f[_0x5e5a39(0x207)]===_0x5e5a39(0x10a)){this[_0x5e5a39(0x1c1)]=!![],this[_0x5e5a39(0x127)]='pending-safe-boundary',this[_0x5e5a39(0x288)](),void this[_0x5e5a39(0x169)]()[_0x5e5a39(0x212)](_0x17c831=>_0x2e80b8({'status':_0x17c831[_0x5e5a39(0x210)]?_0x5e5a39(0x162):_0x5e5a39(0x1ca),'blockers':_0x17c831}))['catch'](_0x58c652=>_0x2e80b8({'status':_0x5e5a39(0x242),'code':_0x58c652[_0x5e5a39(0x19d)]||_0x5e5a39(0x22a)}));return;}if(_0x959c2f[_0x5e5a39(0x207)]==='request-stop'){const _0x44beb6=readFence(this[_0x5e5a39(0x237)]),_0x38001a={};_0x38001a[_0x5e5a39(0x119)]=_0x5e5a39(0x242),_0x38001a[_0x5e5a39(0x19d)]=_0x5e5a39(0x1a3);if(_0x44beb6[_0x5e5a39(0x1c0)]!==_0x5e5a39(0x123)||!_0x44beb6[_0x5e5a39(0x232)]||_0x44beb6[_0x5e5a39(0x1c6)]!==_0x959c2f[_0x5e5a39(0x1c6)]||_0x44beb6['epoch']!==_0x959c2f[_0x5e5a39(0x1d4)]||_0x44beb6[_0x5e5a39(0x13c)]!==_0x959c2f[_0x5e5a39(0x170)]||_0x44beb6[_0x5e5a39(0x192)]!==_0x959c2f['digest'])return _0x2e80b8(_0x38001a);this['admissionClosed']=!![],this[_0x5e5a39(0x127)]=_0x5e5a39(0x162),this[_0x5e5a39(0x288)](),void this[_0x5e5a39(0x217)](_0x5e5a39(0x252),{..._0x959c2f[_0x5e5a39(0x199)],'transactionId':_0x959c2f[_0x5e5a39(0x1c6)],'epoch':_0x959c2f[_0x5e5a39(0x1d4)],'version':_0x959c2f['version'],'digest':_0x959c2f[_0x5e5a39(0x235)],'requestsPending':this[_0x5e5a39(0x179)]['size']},0x3a98)[_0x5e5a39(0x212)](_0x2e80b8)[_0x5e5a39(0x1f8)](_0x4209ec=>_0x2e80b8({'status':'failed','code':_0x4209ec[_0x5e5a39(0x19d)]||'WORKER_STOP_UNCONFIRMED'}));return;}const _0x3c79c1={};_0x3c79c1[_0x5e5a39(0x119)]='failed',_0x3c79c1[_0x5e5a39(0x19d)]=_0x5e5a39(0x282);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5e5a39(0x1f1)](_0x959c2f[_0x5e5a39(0x170)]||'')||!/^[a-f0-9]{64}$/['test'](_0x959c2f[_0x5e5a39(0x235)]||'')||!this[_0x5e5a39(0x1c1)])return _0x2e80b8(_0x3c79c1);const _0x191ab0=path[_0x5e5a39(0x180)](this[_0x5e5a39(0x280)],_0x5e5a39(0x257),_0x959c2f[_0x5e5a39(0x170)]+'-'+_0x959c2f[_0x5e5a39(0x235)]);void this[_0x5e5a39(0x20f)](_0x191ab0,Math['max'](0x0,Math[_0x5e5a39(0x1c9)](0x78,Number(_0x959c2f[_0x5e5a39(0x1e4)])||0x0)))[_0x5e5a39(0x212)](_0x67ed94=>_0x2e80b8(_0x67ed94))['catch'](_0x519476=>_0x2e80b8({'status':'failed','code':_0x519476[_0x5e5a39(0x19d)]||_0x5e5a39(0x13a)}));});}),await new Promise((_0x1c058b,_0x34cc01)=>this[_0x5f2c74(0x1c7)][_0x5f2c74(0x10f)](_0x5f2c74(0x20c),_0x34cc01)[_0x5f2c74(0x1aa)](this[_0x5f2c74(0x255)],_0x1c058b)),this[_0x5f2c74(0x288)](),this[_0x5f2c74(0x176)]['on'](_0x5f2c74(0x226),_0x324767=>this[_0x5f2c74(0x136)](_0x324767)),this[_0x5f2c74(0x176)]['on']('end',()=>void this['close'](_0x5f2c74(0x200))),this['stdin']['on'](_0x5f2c74(0x20c),()=>void this[_0x5f2c74(0x112)](_0x5f2c74(0x28e))),this[_0x5f2c74(0x143)](),this;}['watchPendingExecutor'](_0x10a456=0x1388){clearTimeout(this['executorTimer']);const _0x17b0e9=async()=>{const _0x3d5348=_0x4eed;if(this[_0x3d5348(0x13f)]||this[_0x3d5348(0x240)])return;const _0x53a7ce=this[_0x3d5348(0x237)];try{await require(_0x3d5348(0x17f))[_0x3d5348(0x186)](_0x53a7ce,this[_0x3d5348(0x132)]);}catch(_0xffce1e){const _0x37de08={};_0x37de08[_0x3d5348(0x291)]=_0xffce1e['code']||_0x3d5348(0x12c);if(this[_0x3d5348(0x237)]===_0x53a7ce&&!this[_0x3d5348(0x13f)]&&!this[_0x3d5348(0x240)])this[_0x3d5348(0x288)](_0x37de08);}!this['stopped']&&!this[_0x3d5348(0x240)]&&(this['executorTimer']=setTimeout(_0x17b0e9,_0x10a456),this[_0x3d5348(0x223)][_0x3d5348(0x124)]());};void _0x17b0e9();}[_0x4fe4f1(0x1da)](_0x2ff9c7){const _0x1ca694=_0x4fe4f1,_0x12f453=_0x2ff9c7[_0x1ca694(0x1b0)]||{},_0x827710=_0x12f453[_0x1ca694(0x23b)]?.[0x0],_0x4bad42=_0x827710?.[_0x1ca694(0x158)]||_0x827710?.[_0x1ca694(0x270)]||_0x12f453[_0x1ca694(0x12b)]||_0x12f453[_0x1ca694(0x1ea)];if(!_0x4bad42)return this['workspace'];try{const _0x5e2c73=_0x4bad42[_0x1ca694(0x18e)]('file:')?require('node:url')[_0x1ca694(0x10e)](_0x4bad42):_0x4bad42;return fs[_0x1ca694(0x128)](_0x5e2c73);}catch{return this[_0x1ca694(0x237)];}}[_0x4fe4f1(0x136)](_0x10ea48){const _0x495ca6=_0x4fe4f1;this[_0x495ca6(0x1c8)]+=_0x10ea48['toString'](_0x495ca6(0x260));if(this[_0x495ca6(0x1c8)][_0x495ca6(0x210)]>0x8*0x400*0x400)return void this[_0x495ca6(0x112)](_0x495ca6(0x1fe));let _0x5581ee;while((_0x5581ee=this[_0x495ca6(0x1c8)][_0x495ca6(0x14d)]('\x0a'))>=0x0){const _0x18b936=this[_0x495ca6(0x1c8)][_0x495ca6(0x1fc)](0x0,_0x5581ee);this['inputBuffer']=this[_0x495ca6(0x1c8)][_0x495ca6(0x1fc)](_0x5581ee+0x1);if(!_0x18b936[_0x495ca6(0x188)]())continue;let _0xa0bb6d;try{_0xa0bb6d=JSON[_0x495ca6(0x181)](_0x18b936);}catch{const _0x16e902={};_0x16e902['code']=-0x7fbc,_0x16e902['message']=_0x495ca6(0x286);const _0x18e488={};_0x18e488[_0x495ca6(0x18d)]='2.0',_0x18e488['id']=null,_0x18e488[_0x495ca6(0x20c)]=_0x16e902,this[_0x495ca6(0x1e8)](_0x18e488);continue;}this[_0x495ca6(0x256)]=this[_0x495ca6(0x256)][_0x495ca6(0x212)](()=>this[_0x495ca6(0x159)](_0xa0bb6d,_0x18b936))[_0x495ca6(0x1f8)](_0x42eb31=>{const _0x1fe177=_0x495ca6,_0x117e79={};_0x117e79[_0x1fe177(0x19d)]=-0x7f5b,_0x117e79['message']=_0x42eb31[_0x1fe177(0x19d)]||_0x1fe177(0x275);if(_0xa0bb6d['id']!==undefined)this[_0x1fe177(0x1e8)]({'jsonrpc':'2.0','id':_0xa0bb6d['id'],'error':_0x117e79});});}}async['handleHostMessage'](_0x40cdc5,_0x197771){const _0x20b9fb=_0x4fe4f1;if(this[_0x20b9fb(0x13f)])return;if(!_0x40cdc5[_0x20b9fb(0x113)])return;if(this[_0x20b9fb(0x10b)]?.[_0x20b9fb(0x145)]&&this['activation']==='legacy-ownership-unverified'){const _0x1f170b={};_0x1f170b[_0x20b9fb(0x19d)]=-0x7d02,_0x1f170b[_0x20b9fb(0x161)]=_0x20b9fb(0x23e);if(_0x40cdc5['id']!==undefined)this[_0x20b9fb(0x1e8)]({'jsonrpc':_0x20b9fb(0x17a),'id':_0x40cdc5['id'],'error':_0x1f170b});return;}if(!this[_0x20b9fb(0x10b)]&&_0x40cdc5[_0x20b9fb(0x113)]===_0x20b9fb(0x274))this['rebindWorkspace'](this[_0x20b9fb(0x1da)](_0x40cdc5));const _0x555b22=readFence(this[_0x20b9fb(0x237)]),_0x4c2ec5=require(_0x20b9fb(0x1c5))[_0x20b9fb(0x198)](this[_0x20b9fb(0x237)]);this[_0x20b9fb(0x191)]=_0x4c2ec5;if(_0x555b22[_0x20b9fb(0x1c0)]===_0x20b9fb(0x1e3)&&_0x4c2ec5['mutationAllowed']){const _0x5cfe6c={};_0x5cfe6c[_0x20b9fb(0x19d)]=-0x7d01,_0x5cfe6c[_0x20b9fb(0x161)]='APT_UPDATE_PENDING:\x20workspace\x20is\x20frozen';if(_0x40cdc5['id']!==undefined)this['writeHost']({'jsonrpc':'2.0','id':_0x40cdc5['id'],'error':_0x5cfe6c});return;}if(!this[_0x20b9fb(0x10b)]&&_0x555b22[_0x20b9fb(0x1c0)]!==_0x20b9fb(0x1df)&&_0x4c2ec5[_0x20b9fb(0x22f)]){const _0x100e4d={};_0x100e4d[_0x20b9fb(0x19d)]=-0x7d01,_0x100e4d['message']=_0x20b9fb(0x204);if(_0x40cdc5['id']!==undefined)this['writeHost']({'jsonrpc':_0x20b9fb(0x17a),'id':_0x40cdc5['id'],'error':_0x100e4d});return;}if(!this[_0x20b9fb(0x10b)]){if(_0x40cdc5['method']!==_0x20b9fb(0x274)){const _0x449ffc={};_0x449ffc[_0x20b9fb(0x19d)]=-0x7d02,_0x449ffc[_0x20b9fb(0x161)]=_0x20b9fb(0x241);if(_0x40cdc5['id']!==undefined)this['writeHost']({'jsonrpc':_0x20b9fb(0x17a),'id':_0x40cdc5['id'],'error':_0x449ffc});return;}const _0x3ea270=readGeneration(this['workspace']);if(_0x3ea270){const _0x149191=path[_0x20b9fb(0x180)](this[_0x20b9fb(0x280)],'releases',_0x3ea270['version']+'-'+_0x3ea270[_0x20b9fb(0x235)]),_0x1cc120=verifyRelease(_0x149191,this[_0x20b9fb(0x132)]),_0x18c02d={};_0x18c02d[_0x20b9fb(0x19d)]=_0x20b9fb(0x130);if(_0x1cc120[_0x20b9fb(0x170)]!==_0x3ea270[_0x20b9fb(0x170)]||_0x1cc120[_0x20b9fb(0x235)]!==_0x3ea270[_0x20b9fb(0x235)])throw Object[_0x20b9fb(0x182)](new Error(_0x20b9fb(0x297)),_0x18c02d);this['release']=_0x149191,this[_0x20b9fb(0x285)]=_0x3ea270[_0x20b9fb(0x285)];}await this[_0x20b9fb(0x173)](this[_0x20b9fb(0x281)],this['generation']||0x1),this[_0x20b9fb(0x1c1)]=!_0x4c2ec5[_0x20b9fb(0x22f)]||readFence(this[_0x20b9fb(0x237)])['state']!==_0x20b9fb(0x1df);}let _0x5d6592;if(_0x4c2ec5[_0x20b9fb(0x22f)]&&readFence(this['workspace'])[_0x20b9fb(0x1c0)]==='draining'&&this[_0x20b9fb(0x155)](_0x40cdc5)){const _0xbfd19b={};_0xbfd19b[_0x20b9fb(0x19a)]=_0x40cdc5[_0x20b9fb(0x1b0)][_0x20b9fb(0x164)],_0xbfd19b['arguments']=_0x40cdc5['params'][_0x20b9fb(0x1a5)],_0x5d6592=await this['requestChild'](_0x20b9fb(0x1e9),_0xbfd19b);}const _0x55043a=withAdmissionLock(this['workspace'],_0xd725a4=>{const _0x8d3089=_0x20b9fb,_0x2064e6=_0xd725a4[_0x8d3089(0x1c0)]===_0x8d3089(0x123)&&_0x5d6592?.[_0x8d3089(0x1e5)]===!![]&&_0x5d6592[_0x8d3089(0x1d4)]===_0xd725a4[_0x8d3089(0x1d4)];if(!_0x4c2ec5['mutationAllowed']){if(_0x40cdc5['method']===_0x8d3089(0x1e1)&&!this[_0x8d3089(0x224)](_0x40cdc5))return![];if(_0x40cdc5['id']===undefined)return!![];const _0x319812={};_0x319812[_0x8d3089(0x19d)]=_0x8d3089(0x1bc);if(this[_0x8d3089(0x179)][_0x8d3089(0x13b)](messageId(_0x40cdc5['id'])))throw Object[_0x8d3089(0x182)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x319812);const _0x4ed985=this[_0x8d3089(0x21d)]+':'+crypto['randomUUID'](),_0x5dec9e={'invocationId':_0x4ed985,'actorId':_0x8d3089(0x116),'attemptId':null,'inputHash':hash(_0x197771),'epoch':_0xd725a4[_0x8d3089(0x1d4)],'status':'active','connectionId':this[_0x8d3089(0x21d)],'createdAt':new Date()[_0x8d3089(0x15c)]()};return _0xd725a4[_0x8d3089(0x18a)]||={},_0xd725a4[_0x8d3089(0x18a)][hash(_0x4ed985)]=_0x5dec9e,saveLocked(this[_0x8d3089(0x237)],_0xd725a4),this['pending'][_0x8d3089(0x12e)](messageId(_0x40cdc5['id']),{'method':_0x40cdc5['method'],'tool':_0x40cdc5['params']?.[_0x8d3089(0x164)]||null,'ticket':_0x5dec9e}),!![];}if(_0xd725a4[_0x8d3089(0x1c0)]===_0x8d3089(0x1e3)||(this[_0x8d3089(0x1c1)]||[_0x8d3089(0x145),_0x8d3089(0x123)][_0x8d3089(0x1b7)](_0xd725a4[_0x8d3089(0x1c0)]))&&this[_0x8d3089(0x155)](_0x40cdc5)&&!_0x2064e6)return![];if(_0x40cdc5['id']===undefined)return!![];const _0x134982={};_0x134982['code']=_0x8d3089(0x1bc);if(this[_0x8d3089(0x179)][_0x8d3089(0x13b)](messageId(_0x40cdc5['id'])))throw Object[_0x8d3089(0x182)](new Error(_0x8d3089(0x27e)),_0x134982);const _0x37bd02=this[_0x8d3089(0x21d)]+':'+crypto[_0x8d3089(0x245)](),_0x207e64={'invocationId':_0x37bd02,'actorId':_0x8d3089(0x116),'attemptId':null,'inputHash':hash(_0x197771),'epoch':_0xd725a4[_0x8d3089(0x1d4)],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x8d3089(0x15c)]()};return _0xd725a4[_0x8d3089(0x18a)]||={},_0xd725a4[_0x8d3089(0x18a)][hash(_0x37bd02)]=_0x207e64,saveLocked(this['workspace'],_0xd725a4),this[_0x8d3089(0x179)][_0x8d3089(0x12e)](messageId(_0x40cdc5['id']),{'method':_0x40cdc5[_0x8d3089(0x113)],'tool':_0x40cdc5[_0x8d3089(0x1b0)]?.[_0x8d3089(0x164)]||null,'ticket':_0x207e64}),!![];});if(!_0x55043a){const _0x8647a3={};_0x8647a3[_0x20b9fb(0x19d)]=-0x7d01,_0x8647a3['message']=_0x20b9fb(0x1e0);if(_0x40cdc5['id']!==undefined)this[_0x20b9fb(0x1e8)]({'jsonrpc':_0x20b9fb(0x17a),'id':_0x40cdc5['id'],'error':_0x8647a3});return;}if(_0x40cdc5[_0x20b9fb(0x113)]===_0x20b9fb(0x274))this['initialize']=_0x40cdc5[_0x20b9fb(0x1b0)]||{};if(_0x40cdc5['method']==='notifications/initialized')this[_0x20b9fb(0x165)]=!![];try{if(this['requiresProcessDispatch'](_0x40cdc5))await this[_0x20b9fb(0x15f)]();!this[_0x20b9fb(0x10b)]['stdin'][_0x20b9fb(0x148)](_0x197771+'\x0a')&&(this[_0x20b9fb(0x176)][_0x20b9fb(0x139)](),this['child'][_0x20b9fb(0x176)]['once'](_0x20b9fb(0x24c),()=>this[_0x20b9fb(0x176)][_0x20b9fb(0x12d)]()));}catch(_0x167009){if(_0x40cdc5['id']!==undefined){const _0x614c87=this[_0x20b9fb(0x179)]['get'](messageId(_0x40cdc5['id']));if(_0x614c87?.['ticket'])finishOperation(this[_0x20b9fb(0x237)],_0x614c87[_0x20b9fb(0x27a)][_0x20b9fb(0x1a0)],_0x614c87[_0x20b9fb(0x27a)]['epoch']);this['pending'][_0x20b9fb(0x27c)](messageId(_0x40cdc5['id']));}throw _0x167009;}}[_0x4fe4f1(0x155)](_0x16d510){const _0x4134a5=_0x4fe4f1;if(_0x16d510[_0x4134a5(0x113)]!=='tools/call')return![];const _0x5f46b9=_0x16d510['params']?.[_0x4134a5(0x164)]||'',_0x33eeb6=_0x16d510[_0x4134a5(0x1b0)]?.['arguments']?.[_0x4134a5(0x216)];if(_0x5f46b9===_0x4134a5(0x1f3))return!(_0x16d510['params']?.['arguments']?.[_0x4134a5(0x209)]&&[_0x4134a5(0x25e),_0x4134a5(0x11f),'release',_0x4134a5(0x1bf),_0x4134a5(0x11a),_0x4134a5(0x15a),_0x4134a5(0x289)][_0x4134a5(0x1b7)](_0x33eeb6));return!this[_0x4134a5(0x224)](_0x16d510);}[_0x4fe4f1(0x224)](_0x380119){const _0x369ae5=_0x4fe4f1,_0x435eb5=_0x380119[_0x369ae5(0x1b0)]?.['name']||'';if([_0x369ae5(0x1f0),'model_list',_0x369ae5(0x15d),'session_bootstrap',_0x369ae5(0x150),'context_load',_0x369ae5(0x26e),_0x369ae5(0x129),_0x369ae5(0x138),_0x369ae5(0x1d0),_0x369ae5(0x290),_0x369ae5(0x233),_0x369ae5(0x1ce),'explore_code',_0x369ae5(0x178),_0x369ae5(0x1fd)][_0x369ae5(0x1b7)](_0x435eb5))return!![];return![];}[_0x4fe4f1(0x1ad)](_0x3c2c54){const _0x4e3962=_0x4fe4f1;if(_0x3c2c54['method']===_0x4e3962(0x20b))return(this['childEnvironment'][_0x4e3962(0x18b)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x4e3962(0x274),'ping'][_0x4e3962(0x1b7)](_0x3c2c54[_0x4e3962(0x113)])||_0x3c2c54[_0x4e3962(0x113)]?.[_0x4e3962(0x18e)](_0x4e3962(0x1ef)))return![];if(_0x3c2c54['method']!=='tools/call')return!![];const {name:_0x41e992,arguments:_0x1cc377={}}=_0x3c2c54['params']||{};if(_0x41e992==='session_bootstrap')return _0x1cc377[_0x4e3962(0x24d)]===!![];if(_0x41e992===_0x4e3962(0x284))return _0x1cc377[_0x4e3962(0x218)]===!![];if(_0x41e992===_0x4e3962(0x15d))return Boolean(_0x1cc377[_0x4e3962(0x246)]||_0x1cc377['service']);if(_0x41e992===_0x4e3962(0x1f0))return _0x1cc377[_0x4e3962(0x218)]===!![];return![_0x4e3962(0x150),'context_load'][_0x4e3962(0x1b7)](_0x41e992);}async[_0x4fe4f1(0x15f)](){const _0x356867=_0x4fe4f1,_0x3d8578=this['child'],_0x58aee9={};_0x58aee9['code']=_0x356867(0x1f7);if(!_0x3d8578)throw Object[_0x356867(0x182)](new Error(_0x356867(0x14c)),_0x58aee9);if(_0x3d8578[_0x356867(0x110)])return;_0x3d8578[_0x356867(0x14a)]||=((async()=>{const _0x13e9fa=_0x356867;await attachOwnedJob(_0x3d8578);const _0x5a81c7=await this[_0x13e9fa(0x217)](_0x13e9fa(0x19c)),_0x50853c={};_0x50853c['code']=_0x13e9fa(0x26a);if(this[_0x13e9fa(0x10b)]!==_0x3d8578||_0x5a81c7[_0x13e9fa(0x207)]!=='operations-enabled'||_0x5a81c7[_0x13e9fa(0x249)]!==_0x3d8578[_0x13e9fa(0x249)]||_0x5a81c7[_0x13e9fa(0x21d)]!==this[_0x13e9fa(0x21d)]||_0x5a81c7[_0x13e9fa(0x285)]!==this[_0x13e9fa(0x285)])throw Object[_0x13e9fa(0x182)](new Error(_0x13e9fa(0x269)),_0x50853c);_0x3d8578[_0x13e9fa(0x110)]=!![];})());try{await _0x3d8578[_0x356867(0x14a)];}catch(_0x421a62){_0x3d8578['operationActivation']=null;throw _0x421a62;}}async[_0x4fe4f1(0x173)](_0x2650e9,_0x175e75){const _0x42bab1=_0x4fe4f1;if(this['booting'])return this[_0x42bab1(0x10d)];this[_0x42bab1(0x10d)]=((async()=>{const _0x5b1332=_0x42bab1,_0x5af18d=verifyRelease(_0x2650e9,this[_0x5b1332(0x132)]),_0x1f9193={...process.env,...this[_0x5b1332(0x227)]};_0x1f9193[_0x5b1332(0x259)]='1',_0x1f9193[_0x5b1332(0x1d8)]=this[_0x5b1332(0x21d)];const _0x5fc88=_0x1f9193;delete _0x5fc88[_0x5b1332(0x1ff)];const _0x1e059f=spawn(process[_0x5b1332(0x271)],[path['join'](_0x2650e9,'src/installer/runtime-child.js')],{'cwd':this[_0x5b1332(0x237)],'stdio':['pipe',_0x5b1332(0x262),_0x5b1332(0x262),'ipc'],'detached':process[_0x5b1332(0x26d)]!==_0x5b1332(0x247),'windowsHide':!![],'env':_0x5fc88});this['child']=_0x1e059f;const _0x2c877={};_0x2c877[_0x5b1332(0x237)]=this[_0x5b1332(0x237)],_0x2c877[_0x5b1332(0x21d)]=this[_0x5b1332(0x21d)],_0x2c877[_0x5b1332(0x280)]=this[_0x5b1332(0x280)],_0x2c877[_0x5b1332(0x285)]=_0x175e75;const _0x3f18ac={};_0x3f18ac[_0x5b1332(0x146)]=!![],_0x1e059f[_0x5b1332(0x142)]=captureOwnedChild(_0x1e059f,_0x2c877,_0x3f18ac);const _0x320adb={};_0x320adb[_0x5b1332(0x170)]=_0x5af18d['version'],_0x320adb[_0x5b1332(0x235)]=_0x5af18d['digest'],_0x320adb[_0x5b1332(0x285)]=_0x175e75,_0x1e059f[_0x5b1332(0x295)]=_0x320adb,_0x1e059f[_0x5b1332(0x28d)]=![],_0x1e059f[_0x5b1332(0x266)]['on'](_0x5b1332(0x226),_0x5e3e94=>this[_0x5b1332(0x187)](_0x5e3e94,_0x1e059f)),_0x1e059f[_0x5b1332(0x17c)]['on']('data',_0x36f2ee=>this[_0x5b1332(0x17c)][_0x5b1332(0x148)](_0x36f2ee)),_0x1e059f['on'](_0x5b1332(0x161),_0x21fe93=>this[_0x5b1332(0x283)](_0x21fe93,_0x1e059f)),_0x1e059f['on'](_0x5b1332(0x112),(_0x3fe035,_0x1fefac)=>this['childClosed'](_0x1e059f,_0x3fe035,_0x1fefac)),_0x1e059f['on'](_0x5b1332(0x20c),_0xbb7019=>_0x1e059f['bootReject']?.(_0xbb7019));const _0x4ab99b=new Promise((_0x2ed9db,_0x480487)=>{const _0x1acfaf=_0x5b1332,_0x52427b={};_0x52427b[_0x1acfaf(0x19d)]=_0x1acfaf(0x211);const _0x54bf02=setTimeout(()=>_0x480487(Object['assign'](new Error(_0x1acfaf(0x1cd)),_0x52427b)),0x3a98);_0x1e059f[_0x1acfaf(0x28f)]=_0x1462b5=>{clearTimeout(_0x54bf02),_0x2ed9db(_0x1462b5);},_0x1e059f['bootReject']=_0x11401b=>{clearTimeout(_0x54bf02),_0x480487(_0x11401b);};});_0x4ab99b[_0x5b1332(0x1f8)](()=>{});try{_0x1e059f[_0x5b1332(0x264)]({'type':_0x5b1332(0x173),'runtimeRoot':this[_0x5b1332(0x280)],'release':_0x2650e9,'publicKey':this[_0x5b1332(0x132)]?.[_0x5b1332(0x17d)](),'connectionId':this[_0x5b1332(0x21d)],'generation':_0x175e75,'workspace':this[_0x5b1332(0x237)],'explicitWorkspace':this['explicitWorkspace'],'gatewayBinding':this['gatewayBinding']});const _0x40b52a=await _0x4ab99b;_0x1e059f[_0x5b1332(0x28d)]=!![],this['childControlCapabilities']=Array[_0x5b1332(0x22e)](_0x40b52a['controlCapabilities'])?_0x40b52a[_0x5b1332(0x16b)]:[],this[_0x5b1332(0x144)]=_0x5af18d,this['resourceDigest']=_0x40b52a[_0x5b1332(0x168)],this[_0x5b1332(0x285)]=_0x175e75,this[_0x5b1332(0x127)]='ready-next-connection',this[_0x5b1332(0x288)]();}catch(_0x39bcb9){_0x1e059f['bootReject']?.(_0x39bcb9);try{await attachOwnedJob(_0x1e059f),await stopOwnedChild(_0x1e059f,{'graceMs':0x64,'reason':_0x5b1332(0x183),'graceful':()=>{const _0x2f2a0e=_0x5b1332;if(_0x1e059f[_0x2f2a0e(0x194)])_0x1e059f[_0x2f2a0e(0x1de)]();}});}catch(_0x249d18){const _0x485cce={};_0x485cce[_0x5b1332(0x1d1)]=_0x249d18['code'];throw Object[_0x5b1332(0x182)](_0x39bcb9,_0x485cce);}if(this['child']===_0x1e059f)this[_0x5b1332(0x10b)]=null;throw _0x39bcb9;}})());try{return await this[_0x42bab1(0x10d)];}finally{this[_0x42bab1(0x10d)]=null;}}[_0x4fe4f1(0x187)](_0x3e6d32,_0x3d4c91){const _0x39b768=_0x4fe4f1;if(this[_0x39b768(0x10b)]!==_0x3d4c91)return;const _0x3e5541=this[_0x39b768(0x1f4)][_0x39b768(0x148)](_0x3e6d32);this[_0x39b768(0x140)]+=_0x3e5541;let _0x3cec27;while((_0x3cec27=this['outputBuffer']['indexOf']('\x0a'))>=0x0){const _0x74daf6=this[_0x39b768(0x140)][_0x39b768(0x1fc)](0x0,_0x3cec27);this[_0x39b768(0x140)]=this[_0x39b768(0x140)]['slice'](_0x3cec27+0x1);if(!_0x74daf6)continue;let _0x3e32d2;try{_0x3e32d2=JSON['parse'](_0x74daf6);}catch{continue;}const _0x4affeb=_0x3e32d2['id']!==undefined&&this[_0x39b768(0x273)][_0x39b768(0x24f)](messageId(_0x3e32d2['id']));if(_0x4affeb){this[_0x39b768(0x273)]['delete'](messageId(_0x3e32d2['id'])),_0x4affeb[_0x39b768(0x134)](_0x3e32d2);continue;}const _0x30d1f6=_0x3e32d2['id']!==undefined?this[_0x39b768(0x179)][_0x39b768(0x24f)](messageId(_0x3e32d2['id'])):null;if(_0x30d1f6){if(_0x30d1f6[_0x39b768(0x27a)])finishOperation(this[_0x39b768(0x237)],_0x30d1f6[_0x39b768(0x27a)][_0x39b768(0x1a0)],_0x30d1f6[_0x39b768(0x27a)][_0x39b768(0x1d4)]);this[_0x39b768(0x179)][_0x39b768(0x27c)](messageId(_0x3e32d2['id']));if(_0x30d1f6['method']===_0x39b768(0x274)&&!_0x3e32d2['error']){try{this['handshakeComplete']=!![];if(this[_0x39b768(0x191)][_0x39b768(0x22f)])this[_0x39b768(0x1d2)](),this['activation']=_0x39b768(0x1ab);else this[_0x39b768(0x127)]='serving-committed-with-pending-update';}catch(_0x10d902){this[_0x39b768(0x127)]=_0x39b768(0x254);const _0x5866b8={};_0x5866b8[_0x39b768(0x19d)]=-0x7d01,_0x5866b8[_0x39b768(0x161)]=_0x10d902[_0x39b768(0x19d)]||_0x39b768(0x196),_0x3e32d2={'jsonrpc':_0x39b768(0x17a),'id':_0x3e32d2['id'],'error':_0x5866b8};}this[_0x39b768(0x288)]();if(this[_0x39b768(0x191)][_0x39b768(0x22f)])void this[_0x39b768(0x1b1)]()[_0x39b768(0x1f8)](_0x3a8b53=>{const _0xdf32f6=_0x39b768,_0xcb8a58={};_0xcb8a58[_0xdf32f6(0x25b)]=_0x3a8b53['code']||_0xdf32f6(0x243),this[_0xdf32f6(0x288)](_0xcb8a58);});}if(_0x30d1f6[_0x39b768(0x113)]===_0x39b768(0x20b)&&!_0x3e32d2[_0x39b768(0x20c)])this[_0x39b768(0x189)]=hash(JSON['stringify'](_0x3e32d2['result']?.[_0x39b768(0x1b4)]||[]));}!this[_0x39b768(0x266)][_0x39b768(0x148)](JSON[_0x39b768(0x14f)](_0x3e32d2)+'\x0a')&&(_0x3d4c91['stdout'][_0x39b768(0x139)](),this[_0x39b768(0x266)][_0x39b768(0x10f)]('drain',()=>_0x3d4c91[_0x39b768(0x266)]['resume']()));}}async[_0x4fe4f1(0x1b1)](){const _0xe85eb=_0x4fe4f1,_0x3f2206=readFence(this[_0xe85eb(0x237)]);if(_0x3f2206[_0xe85eb(0x1c0)]!=='closed'||_0x3f2206[_0xe85eb(0x13c)]!==this[_0xe85eb(0x144)]?.[_0xe85eb(0x170)]||_0x3f2206[_0xe85eb(0x192)]!==this[_0xe85eb(0x144)]?.[_0xe85eb(0x235)])return;const _0x32944e=path[_0xe85eb(0x180)](this[_0xe85eb(0x237)],'.agents',_0xe85eb(0x22d),'update-transaction.json');let _0x4d07d8;try{_0x4d07d8=JSON[_0xe85eb(0x181)](fs['readFileSync'](_0x32944e,'utf8'));}catch{return;}if(_0x4d07d8[_0xe85eb(0x1c6)]!==_0x3f2206[_0xe85eb(0x1c6)]||![_0xe85eb(0x253),_0xe85eb(0x254)]['includes'](_0x4d07d8[_0xe85eb(0x119)]))return;const _0x28a68d=await require(_0xe85eb(0x154))['probeWorkspaceConnections'](this[_0xe85eb(0x237)],{'version':this[_0xe85eb(0x144)][_0xe85eb(0x170)],'digest':this[_0xe85eb(0x144)][_0xe85eb(0x235)],'resourceDigest':this[_0xe85eb(0x168)]});if(_0x28a68d[_0xe85eb(0x119)]!=='active')return;const _0x11068a=changeFence(this[_0xe85eb(0x237)],_0x3f2206[_0xe85eb(0x1d4)],{'state':'open','transactionId':_0x3f2206[_0xe85eb(0x1c6)],'generation':this['generation']}),_0x196363={..._0x4d07d8};_0x196363['status']=_0xe85eb(0x1ab),_0x196363[_0xe85eb(0x1a6)]=_0xe85eb(0x193),_0x196363[_0xe85eb(0x285)]=this[_0xe85eb(0x285)],_0x196363['changedAt']=_0x11068a[_0xe85eb(0x296)],atomic(_0x32944e,_0x196363);}[_0x4fe4f1(0x283)](_0x4b4b35,_0x82830c){const _0x4193a6=_0x4fe4f1;if(this[_0x4193a6(0x10b)]!==_0x82830c)return;if(_0x4b4b35?.['type']===_0x4193a6(0x28d)){const _0x2d2e87=_0x82830c[_0x4193a6(0x295)],_0x422266={};_0x422266['code']=_0x4193a6(0x26a);if(!_0x2d2e87||_0x4b4b35[_0x4193a6(0x21d)]!==this[_0x4193a6(0x21d)]||_0x4b4b35[_0x4193a6(0x249)]!==_0x82830c[_0x4193a6(0x249)]||_0x4b4b35[_0x4193a6(0x285)]!==_0x2d2e87[_0x4193a6(0x285)]||_0x4b4b35[_0x4193a6(0x170)]!==_0x2d2e87[_0x4193a6(0x170)]||_0x4b4b35[_0x4193a6(0x235)]!==_0x2d2e87['digest']||!same(_0x4b4b35['workspace']||'',this[_0x4193a6(0x237)]))_0x82830c[_0x4193a6(0x20a)]?.(Object[_0x4193a6(0x182)](new Error(_0x4193a6(0x12a)),_0x422266));else _0x82830c[_0x4193a6(0x28f)]?.(_0x4b4b35);}else{if(_0x4b4b35?.['type']===_0x4193a6(0x11c))_0x82830c['bootReject']?.(Object[_0x4193a6(0x182)](new Error(_0x4b4b35[_0x4193a6(0x1b2)]),{'code':_0x4b4b35['code']}));else{if(_0x4b4b35?.['type']===_0x4193a6(0x1b6))this['rebindWorkspace'](_0x4b4b35[_0x4193a6(0x237)]);else{if(_0x4b4b35?.['requestId']&&this['control']['has'](messageId(_0x4b4b35[_0x4193a6(0x21b)]))){if(_0x4b4b35[_0x4193a6(0x207)]===_0x4193a6(0x13f)&&_0x4b4b35[_0x4193a6(0x249)]===_0x82830c[_0x4193a6(0x249)]&&_0x4b4b35[_0x4193a6(0x21d)]===this[_0x4193a6(0x21d)]&&_0x4b4b35['generation']===this[_0x4193a6(0x285)]&&_0x4b4b35['registeredOwnersStopped']===!![])_0x82830c[_0x4193a6(0x28a)]=!![];const _0x1d884e=this[_0x4193a6(0x273)][_0x4193a6(0x24f)](messageId(_0x4b4b35[_0x4193a6(0x21b)]));this[_0x4193a6(0x273)][_0x4193a6(0x27c)](messageId(_0x4b4b35['requestId'])),_0x1d884e[_0x4193a6(0x134)](_0x4b4b35);}}}}}async['requestChild'](_0x1c8d86,_0x4d59c6={},_0x19e35b=0x1388){const _0x276467=_0x4fe4f1,_0x553807={};_0x553807[_0x276467(0x164)]=_0x4d59c6[_0x276467(0x16e)]?.[_0x276467(0x19a)],_0x553807[_0x276467(0x1a5)]=_0x4d59c6[_0x276467(0x16e)]?.[_0x276467(0x1a5)];const _0x3c641a={};_0x3c641a[_0x276467(0x113)]=_0x276467(0x1e1),_0x3c641a[_0x276467(0x1b0)]=_0x553807;const _0x15e9b4=_0x1c8d86===_0x276467(0x1a4)&&!this['requiresProcessDispatch'](_0x3c641a);if(![_0x276467(0x119),_0x276467(0x19c)]['includes'](_0x1c8d86)&&!_0x15e9b4)await this['enableOwnedOperations']();const _0x496ba1={};_0x496ba1[_0x276467(0x19d)]=_0x276467(0x1f7);if(!this['child']?.['connected'])return Promise[_0x276467(0x25a)](Object[_0x276467(0x182)](new Error(_0x276467(0x14c)),_0x496ba1));const _0xf603fb='apt-control-'+crypto[_0x276467(0x245)]();return new Promise((_0x1a9c6b,_0xff02ac)=>{const _0x31ffe4=_0x276467,_0x44ec18=setTimeout(()=>{const _0x1525ce=_0x4eed;this[_0x1525ce(0x273)][_0x1525ce(0x27c)](messageId(_0xf603fb));const _0x3a3823={};_0x3a3823[_0x1525ce(0x19d)]='CHILD_CONTROL_TIMEOUT',_0xff02ac(Object[_0x1525ce(0x182)](new Error(_0x1525ce(0x1d7)),_0x3a3823));},_0x19e35b);this[_0x31ffe4(0x273)][_0x31ffe4(0x12e)](messageId(_0xf603fb),{'resolve':_0x50fdc0=>{clearTimeout(_0x44ec18),_0x1a9c6b(_0x50fdc0);}});const _0x587951={'type':_0x1c8d86,'requestId':_0xf603fb,..._0x4d59c6};this[_0x31ffe4(0x10b)][_0x31ffe4(0x264)](_0x587951);});}async[_0x4fe4f1(0x25f)](_0x2db604,_0x220119,_0x1c2151=0x2710){const _0x553054=_0x4fe4f1;await this[_0x553054(0x15f)]();const _0x2cf6b7=_0x553054(0x13e)+crypto[_0x553054(0x245)]();return new Promise((_0x1cde22,_0xfe2665)=>{const _0x4a0442=_0x553054,_0x4d28e6=setTimeout(()=>{const _0x1d94ae=_0x4eed;this[_0x1d94ae(0x273)][_0x1d94ae(0x27c)](messageId(_0x2cf6b7));const _0x322b82={};_0x322b82[_0x1d94ae(0x19d)]=_0x1d94ae(0x141),_0xfe2665(Object[_0x1d94ae(0x182)](new Error(_0x1d94ae(0x126)),_0x322b82));},_0x1c2151);this[_0x4a0442(0x273)]['set'](messageId(_0x2cf6b7),{'resolve':_0x2107b6=>{clearTimeout(_0x4d28e6),_0x1cde22(_0x2107b6);}});const _0x2cfc45={};_0x2cfc45[_0x4a0442(0x18d)]='2.0',_0x2cfc45['id']=_0x2cf6b7,_0x2cfc45[_0x4a0442(0x113)]=_0x2db604,_0x2cfc45[_0x4a0442(0x1b0)]=_0x220119,this[_0x4a0442(0x10b)][_0x4a0442(0x176)]['write'](JSON[_0x4a0442(0x14f)](_0x2cfc45)+'\x0a');});}async[_0x4fe4f1(0x169)](){const _0x27c825=_0x4fe4f1;if(this['pending'][_0x27c825(0x1db)])return[{'kind':'request','count':this[_0x27c825(0x179)][_0x27c825(0x1db)]}];const _0x1c8871=await this[_0x27c825(0x217)](_0x27c825(0x119)),_0x7274f4={};return _0x7274f4[_0x27c825(0x1e2)]='ownership-unknown',_0x1c8871['blockers']||[_0x7274f4];}[_0x4fe4f1(0x294)](){const _0x6b042e=_0x4fe4f1,_0x3d36d9={};return _0x3d36d9[_0x6b042e(0x21d)]=this['connectionId'],_0x3d36d9[_0x6b042e(0x237)]=this[_0x6b042e(0x237)],_0x3d36d9[_0x6b042e(0x185)]=process[_0x6b042e(0x249)],_0x3d36d9[_0x6b042e(0x25d)]=this[_0x6b042e(0x10b)]?.[_0x6b042e(0x249)],_0x3d36d9['version']=this[_0x6b042e(0x144)]?.[_0x6b042e(0x170)],_0x3d36d9[_0x6b042e(0x235)]=this[_0x6b042e(0x144)]?.[_0x6b042e(0x235)],_0x3d36d9[_0x6b042e(0x168)]=this[_0x6b042e(0x168)],_0x3d36d9[_0x6b042e(0x11e)]=this['toolCatalogHash'],_0x3d36d9['generation']=this[_0x6b042e(0x285)],_0x3d36d9;}async[_0x4fe4f1(0x267)](_0x28cb0b){const _0x59d3af=_0x4fe4f1,_0x1850bf={};_0x1850bf[_0x59d3af(0x19d)]='CHILD_UNAVAILABLE';if(!this['child'])throw Object[_0x59d3af(0x182)](new Error('Child\x20ownership\x20is\x20unknown'),_0x1850bf);const _0x5626f3=this[_0x59d3af(0x10b)];if(!_0x5626f3[_0x59d3af(0x145)])await this['enableOwnedOperations']();else await attachOwnedJob(_0x5626f3);let _0x1a46bd=![];const _0x21f135=await stopOwnedChild(_0x5626f3,{'reason':_0x28cb0b,'graceful':async()=>{const _0x42583c=_0x59d3af,_0x4d2bbe={};_0x4d2bbe[_0x42583c(0x276)]=_0x28cb0b;const _0x27a0c4=await this[_0x42583c(0x217)]('shutdown',_0x4d2bbe,0x3a98);_0x1a46bd=_0x27a0c4['type']==='stopped'&&_0x27a0c4[_0x42583c(0x249)]===_0x5626f3['pid']&&_0x27a0c4['connectionId']===this[_0x42583c(0x21d)]&&_0x27a0c4['generation']===this[_0x42583c(0x285)]&&_0x27a0c4[_0x42583c(0x12f)]===!![];}}),_0x4a7130={};_0x4a7130[_0x59d3af(0x19d)]=_0x59d3af(0x248);if(process[_0x59d3af(0x26d)]!=='win32'&&!_0x1a46bd)throw Object[_0x59d3af(0x182)](new Error(_0x59d3af(0x1a7)),_0x4a7130);const _0x4a0c19={..._0x21f135};_0x4a0c19[_0x59d3af(0x12f)]=_0x1a46bd,this[_0x59d3af(0x22b)]=_0x4a0c19;if(this[_0x59d3af(0x10b)]===_0x5626f3)this[_0x59d3af(0x10b)]=null;this['outputBuffer']='',this[_0x59d3af(0x1f4)]=new StringDecoder(_0x59d3af(0x260));}async[_0x4fe4f1(0x258)](_0x32826c){const _0x3a496a=_0x4fe4f1;if(this['initialize']){const _0x2938e5=await this[_0x3a496a(0x25f)]('initialize',this[_0x3a496a(0x274)]),_0x4f9029={};_0x4f9029[_0x3a496a(0x19d)]='CHILD_INITIALIZE_FAILED';if(_0x2938e5[_0x3a496a(0x20c)])throw Object['assign'](new Error(_0x3a496a(0x24e)),_0x4f9029);const _0x2fe998={};_0x2fe998[_0x3a496a(0x18d)]=_0x3a496a(0x17a),_0x2fe998[_0x3a496a(0x113)]=_0x3a496a(0x13d),_0x2fe998[_0x3a496a(0x1b0)]={};if(this['initialized'])this[_0x3a496a(0x10b)][_0x3a496a(0x176)][_0x3a496a(0x148)](JSON[_0x3a496a(0x14f)](_0x2fe998)+'\x0a');}const _0xf31c35=await this[_0x3a496a(0x25f)](_0x3a496a(0x20b),{}),_0x111869=hash(JSON[_0x3a496a(0x14f)](_0xf31c35[_0x3a496a(0x16f)]?.[_0x3a496a(0x1b4)]||[])),_0x199ddd={};_0x199ddd[_0x3a496a(0x19d)]='RECONNECT_REQUIRED';if(_0xf31c35[_0x3a496a(0x20c)]||this['toolCatalogHash']&&_0x111869!==this[_0x3a496a(0x189)])throw Object['assign'](new Error(_0x3a496a(0x20e)),_0x199ddd);this[_0x3a496a(0x189)]=_0x111869;const _0x49dcc8={};_0x49dcc8[_0x3a496a(0x1d9)]=_0x32826c[_0x3a496a(0x1d9)],_0x49dcc8[_0x3a496a(0x225)]=_0x32826c[_0x3a496a(0x225)],await this[_0x3a496a(0x217)](_0x3a496a(0x28c),_0x49dcc8);}async['controlCandidate'](_0x5ca05c){const _0x43fbf0=_0x4fe4f1,_0x374329=readFence(this['workspace']),_0x5c9e1f={};_0x5c9e1f[_0x43fbf0(0x19d)]='ADMISSION_CONFLICT';if(_0x374329[_0x43fbf0(0x1c0)]!==_0x43fbf0(0x1e3)||_0x5ca05c[_0x43fbf0(0x1c6)]!==_0x374329[_0x43fbf0(0x1c6)]||_0x5ca05c[_0x43fbf0(0x1d4)]!==_0x374329[_0x43fbf0(0x1d4)])throw Object[_0x43fbf0(0x182)](new Error(_0x43fbf0(0x1dc)),_0x5c9e1f);const _0x317603={};_0x317603[_0x43fbf0(0x119)]='pending-safe-boundary',_0x317603[_0x43fbf0(0x19d)]=_0x43fbf0(0x238);if(this[_0x43fbf0(0x1d3)])return _0x317603;this[_0x43fbf0(0x1cf)](_0x5ca05c[_0x43fbf0(0x1c6)]),this[_0x43fbf0(0x1c1)]=!![];if(_0x5ca05c[_0x43fbf0(0x207)]===_0x43fbf0(0x137)){const _0x3428f6={};_0x3428f6[_0x43fbf0(0x19d)]=_0x43fbf0(0x1a2);if(!this[_0x43fbf0(0x135)]||this[_0x43fbf0(0x135)]['transactionId']!==_0x5ca05c['transactionId']||!this[_0x43fbf0(0x135)][_0x43fbf0(0x1b9)]||!this['child']?.[_0x43fbf0(0x28d)])throw Object['assign'](new Error(_0x43fbf0(0x1fb)),_0x3428f6);const _0x12eab1=await this[_0x43fbf0(0x217)]('status'),_0x1e8954={};_0x1e8954['code']='CHILD_READINESS_MISMATCH';if(_0x12eab1[_0x43fbf0(0x249)]!==this[_0x43fbf0(0x10b)][_0x43fbf0(0x249)]||_0x12eab1[_0x43fbf0(0x285)]!==_0x5ca05c['generation']||!same(_0x12eab1[_0x43fbf0(0x237)],this[_0x43fbf0(0x237)]))throw Object[_0x43fbf0(0x182)](new Error(_0x43fbf0(0x1f2)),_0x1e8954);const _0x4b8013=acknowledgeGeneration(this[_0x43fbf0(0x237)],this[_0x43fbf0(0x21d)],_0x5ca05c[_0x43fbf0(0x1c6)],this[_0x43fbf0(0x294)]());projectGeneration(this[_0x43fbf0(0x280)],this['workspace'],_0x4b8013),this[_0x43fbf0(0x281)]=this['candidate'][_0x43fbf0(0x281)],this[_0x43fbf0(0x127)]=_0x43fbf0(0x1ab),this['admissionClosed']=![];const _0x50cdbf={};return _0x50cdbf['committedTransaction']=_0x4b8013['transactionId'],this[_0x43fbf0(0x288)](_0x50cdbf),{'status':_0x43fbf0(0x1ab),...this[_0x43fbf0(0x294)]()};}const _0x1881fc=readGeneration(this['workspace']),_0x336771={};_0x336771[_0x43fbf0(0x19d)]='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x5ca05c[_0x43fbf0(0x207)]==='restore-previous'&&_0x1881fc?.['transactionId']===_0x5ca05c[_0x43fbf0(0x1c6)])throw Object[_0x43fbf0(0x182)](new Error(_0x43fbf0(0x117)),_0x336771);if(_0x5ca05c[_0x43fbf0(0x207)]===_0x43fbf0(0x172)&&this['candidate']?.[_0x43fbf0(0x1c6)]===_0x5ca05c['transactionId']&&this[_0x43fbf0(0x135)][_0x43fbf0(0x1b9)]&&this[_0x43fbf0(0x10b)]?.[_0x43fbf0(0x28d)]){const _0x4d697a=this[_0x43fbf0(0x294)](),_0x414ec6={};_0x414ec6['code']=_0x43fbf0(0x287);if(['version',_0x43fbf0(0x235),_0x43fbf0(0x285),_0x43fbf0(0x168),_0x43fbf0(0x11e)][_0x43fbf0(0x1f5)](_0x37b8e7=>_0x4d697a[_0x37b8e7]!==_0x5ca05c[_0x37b8e7]))throw Object[_0x43fbf0(0x182)](new Error('Prepared\x20candidate\x20tuple\x20changed'),_0x414ec6);const _0xd3dd93=await this['requestChild']('status'),_0x26ef24={};_0x26ef24[_0x43fbf0(0x19d)]=_0x43fbf0(0x26a);if(_0xd3dd93['pid']!==_0x4d697a[_0x43fbf0(0x25d)]||_0xd3dd93[_0x43fbf0(0x285)]!==_0x4d697a['generation']||!same(_0xd3dd93[_0x43fbf0(0x237)],this['workspace']))throw Object['assign'](new Error(_0x43fbf0(0x1f2)),_0x26ef24);const _0x1e5bd4={'status':_0x43fbf0(0x111),..._0x4d697a};return _0x1e5bd4;}this['transition']=((async()=>{const _0x5685f2=_0x43fbf0;if(_0x5ca05c['type']==='stop-for-update'){if(this[_0x5685f2(0x135)]?.[_0x5685f2(0x1c6)]===_0x5ca05c[_0x5685f2(0x1c6)]&&this[_0x5685f2(0x135)][_0x5685f2(0x13f)]&&this['candidate']['prepared']&&!this[_0x5685f2(0x135)][_0x5685f2(0x19e)])return{'status':this['child']?.['ready']?_0x5685f2(0x111):_0x5685f2(0x162),'code':this[_0x5685f2(0x10b)]?.[_0x5685f2(0x28d)]?undefined:_0x5685f2(0x261),'oldRuntimeStopped':!![],...this[_0x5685f2(0x294)]()};if(this[_0x5685f2(0x135)]?.['transactionId']===_0x5ca05c['transactionId']&&this[_0x5685f2(0x135)][_0x5685f2(0x13f)]&&!this[_0x5685f2(0x135)]['restored']&&!this[_0x5685f2(0x10b)])return{'status':_0x5685f2(0x13f),'connectionId':this[_0x5685f2(0x21d)]};const _0x1054b9=await this[_0x5685f2(0x169)]();if(_0x1054b9[_0x5685f2(0x210)])return{'status':'pending-safe-boundary','blockers':_0x1054b9};const _0x1837da=await this[_0x5685f2(0x217)](_0x5685f2(0x119));this[_0x5685f2(0x135)]={'transactionId':_0x5ca05c[_0x5685f2(0x1c6)],'previous':{'release':this[_0x5685f2(0x281)],'generation':this[_0x5685f2(0x285)],'resourceDigest':this[_0x5685f2(0x168)],'state':_0x1837da}},this[_0x5685f2(0x177)](),await this[_0x5685f2(0x267)]('workspace-update'),this['candidate'][_0x5685f2(0x13f)]=!![],this['persistCandidate']();const _0x11114a={};_0x11114a['stoppedTransaction']=_0x5ca05c[_0x5685f2(0x1c6)],this[_0x5685f2(0x288)](_0x11114a);const _0x56a219={};return _0x56a219[_0x5685f2(0x119)]=_0x5685f2(0x13f),_0x56a219['connectionId']=this[_0x5685f2(0x21d)],_0x56a219['shutdownEvidence']=this[_0x5685f2(0x22b)],_0x56a219;}if(_0x5ca05c[_0x5685f2(0x207)]===_0x5685f2(0x14b)){const _0x5da7b2={};_0x5da7b2[_0x5685f2(0x19d)]='CHILD_OWNERSHIP_UNKNOWN';if(!this[_0x5685f2(0x135)])throw Object[_0x5685f2(0x182)](new Error(_0x5685f2(0x16d)),_0x5da7b2);const _0x19d0bc=this[_0x5685f2(0x135)][_0x5685f2(0x19f)],_0x21d93f={};_0x21d93f[_0x5685f2(0x19d)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x19d0bc?.[_0x5685f2(0x1c0)]||!this[_0x5685f2(0x135)][_0x5685f2(0x13f)])throw Object[_0x5685f2(0x182)](new Error('Previous\x20stop\x20evidence\x20is\x20missing'),_0x21d93f);if(this[_0x5685f2(0x10b)])await this['stopChild'](_0x5685f2(0x205));await this[_0x5685f2(0x173)](_0x19d0bc[_0x5685f2(0x281)],_0x19d0bc[_0x5685f2(0x285)]);const _0x311357={};_0x311357[_0x5685f2(0x19d)]=_0x5685f2(0x1cb);if(this[_0x5685f2(0x168)]!==_0x19d0bc[_0x5685f2(0x168)])throw Object[_0x5685f2(0x182)](new Error(_0x5685f2(0x214)),_0x311357);return await this[_0x5685f2(0x258)](_0x19d0bc[_0x5685f2(0x1c0)]),this[_0x5685f2(0x281)]=_0x19d0bc['release'],this[_0x5685f2(0x135)]={...this['candidate'],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x5685f2(0x127)]='pending-safe-boundary',this['admissionClosed']=![],this['record'](),{'status':'previous-restored','serving':this[_0x5685f2(0x10b)]?.[_0x5685f2(0x28d)]===!![],...this[_0x5685f2(0x294)]()};}const _0x1a7fea={};_0x1a7fea[_0x5685f2(0x19d)]=_0x5685f2(0x287);if(!Number[_0x5685f2(0x206)](_0x5ca05c[_0x5685f2(0x285)])||_0x5ca05c[_0x5685f2(0x285)]<=(this[_0x5685f2(0x135)]?.[_0x5685f2(0x19f)]?.[_0x5685f2(0x285)]??this[_0x5685f2(0x285)])||_0x5ca05c[_0x5685f2(0x170)]!==_0x374329[_0x5685f2(0x13c)]||_0x5ca05c[_0x5685f2(0x235)]!==_0x374329[_0x5685f2(0x192)])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x1a7fea);const _0x4aa009=_0x5ca05c[_0x5685f2(0x281)]||path[_0x5685f2(0x180)](this[_0x5685f2(0x280)],_0x5685f2(0x257),_0x5ca05c[_0x5685f2(0x170)]+'-'+_0x5ca05c[_0x5685f2(0x235)]),_0x503a9c=verifyRelease(_0x4aa009,this[_0x5685f2(0x132)]),_0x328cac={};_0x328cac[_0x5685f2(0x19d)]='CANDIDATE_TUPLE_MISMATCH';if(_0x503a9c[_0x5685f2(0x170)]!==_0x5ca05c[_0x5685f2(0x170)]||_0x503a9c[_0x5685f2(0x235)]!==_0x5ca05c['digest'])throw Object[_0x5685f2(0x182)](new Error(_0x5685f2(0x163)),_0x328cac);const _0x234a22={};_0x234a22[_0x5685f2(0x19d)]=_0x5685f2(0x1ec);if(!this[_0x5685f2(0x135)]?.[_0x5685f2(0x13f)]||this['candidate'][_0x5685f2(0x1c6)]!==_0x5ca05c[_0x5685f2(0x1c6)])throw Object[_0x5685f2(0x182)](new Error(_0x5685f2(0x239)),_0x234a22);const _0x27ca0b=this[_0x5685f2(0x135)]['previous'][_0x5685f2(0x1c0)];this[_0x5685f2(0x135)][_0x5685f2(0x281)]=_0x4aa009;if(this[_0x5685f2(0x10b)])await this[_0x5685f2(0x267)](_0x5685f2(0x18f));this['candidate'][_0x5685f2(0x1b9)]=![],this[_0x5685f2(0x177)](),await this[_0x5685f2(0x173)](_0x4aa009,_0x5ca05c[_0x5685f2(0x285)]),await this[_0x5685f2(0x258)](_0x27ca0b);const _0x1abee9={};_0x1abee9[_0x5685f2(0x19d)]='CANDIDATE_TUPLE_MISMATCH';if(this['resourceDigest']!==_0x5ca05c[_0x5685f2(0x168)]||this[_0x5685f2(0x189)]!==_0x5ca05c['catalogHash'])throw Object[_0x5685f2(0x182)](new Error(_0x5685f2(0x244)),_0x1abee9);this[_0x5685f2(0x135)][_0x5685f2(0x1b9)]=!![],this[_0x5685f2(0x177)](),this[_0x5685f2(0x127)]=_0x5685f2(0x162);const _0x5ae6c4={};return _0x5ae6c4[_0x5685f2(0x263)]=_0x5ca05c[_0x5685f2(0x1c6)],this[_0x5685f2(0x288)](_0x5ae6c4),{'status':'candidate-ready',...this['candidateTuple']()};})());try{return await this[_0x43fbf0(0x1d3)];}finally{this[_0x43fbf0(0x1d3)]=null;}}async[_0x4fe4f1(0x20f)](){const _0x25abd4=_0x4fe4f1,_0x5c0cf0={};return _0x5c0cf0[_0x25abd4(0x119)]=_0x25abd4(0x254),_0x5c0cf0[_0x25abd4(0x19d)]=_0x25abd4(0x24b),_0x5c0cf0;}async[_0x4fe4f1(0x1eb)](_0x53d245,_0x323cb6,_0x1bf536){const _0x293dbb=_0x4fe4f1;if(this['child']!==_0x53d245)return;_0x53d245['closed']=!![],_0x53d245[_0x293dbb(0x28d)]=![];const _0x1c721f={};_0x1c721f[_0x293dbb(0x19d)]='CHILD_CLOSED',_0x53d245[_0x293dbb(0x20a)]?.(Object[_0x293dbb(0x182)](new Error('Runtime\x20child\x20closed'),_0x1c721f));for(const [_0x43ed07]of this[_0x293dbb(0x179)]){try{const _0x3f40b8={};_0x3f40b8[_0x293dbb(0x19d)]=-0x7d02,_0x3f40b8[_0x293dbb(0x161)]=_0x293dbb(0x1ee),this['writeHost']({'jsonrpc':_0x293dbb(0x17a),'id':JSON[_0x293dbb(0x181)](_0x43ed07),'error':_0x3f40b8});}catch{}}this[_0x293dbb(0x179)]['clear']();try{const _0x56aa5c={};_0x56aa5c[_0x293dbb(0x276)]=_0x293dbb(0x26b),_0x56aa5c[_0x293dbb(0x27f)]=0x3e8,await stopOwnedChild(_0x53d245,_0x56aa5c);}catch(_0x498024){this[_0x293dbb(0x127)]=_0x293dbb(0x1bd),this[_0x293dbb(0x1c1)]=!![];const _0x2875ac={};_0x2875ac[_0x293dbb(0x250)]=_0x1bf536||_0x323cb6||_0x293dbb(0x230),_0x2875ac[_0x293dbb(0x25b)]=_0x498024[_0x293dbb(0x19d)]||_0x293dbb(0x248),this['record'](_0x2875ac);return;}if(this['child']!==_0x53d245)return;if(process[_0x293dbb(0x26d)]!=='win32'&&!_0x53d245[_0x293dbb(0x28a)]){this[_0x293dbb(0x127)]='legacy-ownership-unverified',this[_0x293dbb(0x1c1)]=!![];const _0x55e3d1={};_0x55e3d1[_0x293dbb(0x250)]=_0x1bf536||_0x323cb6||_0x293dbb(0x230),_0x55e3d1['blocker']=_0x293dbb(0x248),this[_0x293dbb(0x288)](_0x55e3d1);return;}this[_0x293dbb(0x10b)]=null;if(!this[_0x293dbb(0x1d3)]&&!this[_0x293dbb(0x13f)]){this['initialize']=null,this[_0x293dbb(0x165)]=![],this[_0x293dbb(0x127)]=_0x293dbb(0x254),this[_0x293dbb(0x1c1)]=!![];const _0x338e27={};_0x338e27[_0x293dbb(0x250)]=_0x1bf536||_0x323cb6||_0x293dbb(0x230),this[_0x293dbb(0x288)](_0x338e27);}}[_0x4fe4f1(0x1e8)](_0x53e51a){const _0x428b39=_0x4fe4f1;this[_0x428b39(0x266)][_0x428b39(0x148)](JSON['stringify'](_0x53e51a)+'\x0a');}async[_0x4fe4f1(0x112)](_0x614289='host-eof'){const _0x36cfef=_0x4fe4f1;if(this[_0x36cfef(0x145)])return;if(this[_0x36cfef(0x240)])return this['closing'];this[_0x36cfef(0x1c1)]=!![],clearTimeout(this['executorTimer']),this[_0x36cfef(0x240)]=((async()=>{const _0x2a1351=_0x36cfef;try{if(this[_0x2a1351(0x10b)])await this[_0x2a1351(0x267)](_0x614289);closeMember(this[_0x2a1351(0x237)],this[_0x2a1351(0x21d)],process[_0x2a1351(0x249)],!![]),this[_0x2a1351(0x13f)]=!![],this[_0x2a1351(0x167)]=_0x614289,require(_0x2a1351(0x18c))[_0x2a1351(0x1c3)](this),await new Promise(_0x3e9b31=>this[_0x2a1351(0x1c7)]?.['close'](_0x3e9b31)||_0x3e9b31()),this[_0x2a1351(0x127)]=_0x2a1351(0x1cc);const _0x5bce3c={};_0x5bce3c[_0x2a1351(0x250)]=_0x614289,this[_0x2a1351(0x288)](_0x5bce3c);try{fs[_0x2a1351(0x26f)](this[_0x2a1351(0x219)]);}catch{}if(process[_0x2a1351(0x26d)]!==_0x2a1351(0x247))try{fs[_0x2a1351(0x26f)](this['endpoint']);}catch{}this[_0x2a1351(0x145)]=!![];}catch(_0xadbb21){this[_0x2a1351(0x127)]=_0x2a1351(0x1bd);const _0x1e6373={};_0x1e6373[_0x2a1351(0x250)]=_0x614289,_0x1e6373[_0x2a1351(0x25b)]=_0xadbb21[_0x2a1351(0x19d)]||_0x2a1351(0x1ec),this['record'](_0x1e6373);throw _0xadbb21;}})());try{return await this[_0x36cfef(0x240)];}finally{this[_0x36cfef(0x240)]=null;}}}const _0x225c26={};_0x225c26[_0x4fe4f1(0x24a)]=ConnectionSupervisor,module[_0x4fe4f1(0x251)]=_0x225c26;
@@ -1 +1 @@
1
- 'use strict';const _0xa42c2f=_0x52a8;function _0x4117(){const _0xfb0d97=['ywXSB2m','BgvUz3rO','C2vW','CMvHzezPBgvtEw5J','CMvZB3vYy2vqBgfU','D3jPDgfIBgu','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','DhjHBNnHy3rPB25jza','otm2nta2n3vcuLPSrW','ChjVAMvJDfnJB3bLvMvYAwzPzwq','zgvWBg95uhjVAMvJDa','yMXVy2TLCNm','lI9WCM9Qzwn0lxnLDhvW','zw50CMLLCW','CMvSyxrPDMu','D29YA3nWywnL','y2HHBMDLCW','zxHPC3rZu3LUyW','CgfYC2u','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','CMvHBhbHDgHtEw5J','CMvNAxn0CMf0Aw9UugXHBG','Dg9tDhjPBMC','BwfW','C3rHDfn5BMm','B3jPz2LUywXZ','BM9KztP1DgLS','CMvHzgrPCLn5BMm','y29Uy2f0','zgLYzwn0B3jPzxm','BM9KztPMCW','ru5pru5u','ChvZAa','BwfUAwzLC3q','y29UDgv4De1Pz3jHDgLVBNm','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','BM9KztPJCNLWDg8','BwnWu2nVCgu','nda1odCYmw1gwM5yAW','zMLSzxm','CMvTzw1Izxi','odeWzgrWANbH','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','y29Kzq','mJHguMjnAfO','mZm4odrUvhrOzeS','DxbKyxrL','zgLNzxn0','ChjLCgfYzq','mtu4nde2mMngr1vcDq','ywrK','zMLSDgvY','CMvTB3zL','D3jPDgu','BwfUAwzLC3qUANnVBG','C3rYAw5N','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','Cgf0Aa','C3rHDhvZ','zgvSzxrL','AxnezwvWu3rYAwn0rxf1ywW','Aw5KzxHszxf1zxn0zwq','BM90lxjLCxvPCMvK','CMvIDwLSzeLUzgv4','zMXHzW','BwnWq29UzMLNvgfYz2v0CW','CMvZB2X2zq','CgXHBG','CMvHza','CgvUzgLUz1vWzgf0zxm','ndi5mtfMzfLer1i','AxneAxjLy3rVCNK','AgfZ','zxHPC3rZ','lMfNzw50CW','zw5JB2rPBMC','ChjVAMvJDfbHDgG','y29UzMXPy3rZ','lI9YzwDPC3rYyxrPB24TCgXHBG','z2v0','y3jLyxrLsgfZAa','C3rHCNrZv2L0Aa','CMvWBgfJzufSBa','ChjLCgfYzvbYB2PLy3q','yxnZAwDU','rhjHzNqGzMLSzsbLEgLZDhm','zxzLCNK','zgLYBMfTzq','C2v0','tunqx01jr1jbveLptL9srvfvsvjfra','yMfZzw5HBwu','AxnbyNnVBhv0zq','zNjVBq','CMvNAxn0CMf0Aw9Usg9ZDhm','uKvtt1vsq0vFuefusf9fu0nbueu','D3jPDgvgAwXLu3LUyW','C2f2zq','C2HHmJu2','AxngAwXL','mteXmtGWrwPTrLf4','nda0mde2Dvritw1L'];_0x4117=function(){return _0xfb0d97;};return _0x4117();}function _0x52a8(_0x213306,_0x4498f4){_0x213306=_0x213306-0x7e;const _0x4117be=_0x4117();let _0x52a8bd=_0x4117be[_0x213306];if(_0x52a8['SxAxyo']===undefined){var _0x1a9e87=function(_0x3e2e35){const _0x2c99bc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5aaa5a='',_0x35145b='';for(let _0x44aacf=0x0,_0x17748d,_0x3cc881,_0x465875=0x0;_0x3cc881=_0x3e2e35['charAt'](_0x465875++);~_0x3cc881&&(_0x17748d=_0x44aacf%0x4?_0x17748d*0x40+_0x3cc881:_0x3cc881,_0x44aacf++%0x4)?_0x5aaa5a+=String['fromCharCode'](0xff&_0x17748d>>(-0x2*_0x44aacf&0x6)):0x0){_0x3cc881=_0x2c99bc['indexOf'](_0x3cc881);}for(let _0x5a60cc=0x0,_0x37cd53=_0x5aaa5a['length'];_0x5a60cc<_0x37cd53;_0x5a60cc++){_0x35145b+='%'+('00'+_0x5aaa5a['charCodeAt'](_0x5a60cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35145b);};_0x52a8['IDHurX']=_0x1a9e87,_0x52a8['EbPuMp']={},_0x52a8['SxAxyo']=!![];}const _0x59f447=_0x4117be[0x0],_0x1d21e4=_0x213306+_0x59f447,_0x1cf719=_0x52a8['EbPuMp'][_0x1d21e4];return!_0x1cf719?(_0x52a8bd=_0x52a8['IDHurX'](_0x52a8bd),_0x52a8['EbPuMp'][_0x1d21e4]=_0x52a8bd):_0x52a8bd=_0x1cf719,_0x52a8bd;}(function(_0x48d420,_0x1bc916){const _0x17ae9d=_0x52a8,_0x4a6ed7=_0x48d420();while(!![]){try{const _0x157fd4=-parseInt(_0x17ae9d(0xa8))/0x1+-parseInt(_0x17ae9d(0x93))/0x2+parseInt(_0x17ae9d(0x88))/0x3+parseInt(_0x17ae9d(0x8f))/0x4*(parseInt(_0x17ae9d(0x8b))/0x5)+-parseInt(_0x17ae9d(0xc5))/0x6*(parseInt(_0x17ae9d(0x8e))/0x7)+-parseInt(_0x17ae9d(0xc6))/0x8+-parseInt(_0x17ae9d(0xcf))/0x9;if(_0x157fd4===_0x1bc916)break;else _0x4a6ed7['push'](_0x4a6ed7['shift']());}catch(_0x45a6b2){_0x4a6ed7['push'](_0x4a6ed7['shift']());}}}(_0x4117,0xb1028));const fs=require(_0xa42c2f(0x80)),path=require('node:path'),crypto=require(_0xa42c2f(0x86)),{containsWorkspace,sameWorkspace}=require(_0xa42c2f(0x85)),{ResourceTransaction}=require(_0xa42c2f(0xcd)),hash=_0x544e93=>crypto[_0xa42c2f(0xb2)](_0xa42c2f(0xc3))[_0xa42c2f(0x90)](_0x544e93)[_0xa42c2f(0x91)]('hex');class DeploymentDraft{constructor(_0x56b580){const _0x1d2979=_0xa42c2f;this[_0x1d2979(0xd6)]=fs[_0x1d2979(0xdb)](_0x56b580),this[_0x1d2979(0x89)]=new Map(),this['originals']=new Map(),this[_0x1d2979(0x7f)]=new Set();const _0x3da21b={};_0x3da21b[_0x1d2979(0xc4)]=()=>!![],_0x3da21b[_0x1d2979(0xa9)]=()=>![];const _0x5728fe={};_0x5728fe['isFile']=()=>![],_0x5728fe[_0x1d2979(0xa9)]=()=>!![],this['fs']={'existsSync':_0x2189b8=>this[_0x1d2979(0xab)](_0x2189b8),'readFileSync':(_0x1c418a,_0x2c737b)=>this['read'](_0x1c418a,_0x2c737b),'writeFileSync':(_0x33046c,_0x27fa94,_0xdfb51d)=>this['write'](_0x33046c,_0x27fa94,_0xdfb51d),'appendFileSync':(_0x53f0c8,_0x10b000)=>this['write'](_0x53f0c8,Buffer[_0x1d2979(0x7e)]([this[_0x1d2979(0xab)](_0x53f0c8)?this[_0x1d2979(0xa6)](_0x53f0c8):Buffer[_0x1d2979(0xc7)](0x0),Buffer[_0x1d2979(0xbe)](_0x10b000)])),'copyFileSync':(_0x8b2294,_0x5a57f6)=>this[_0x1d2979(0x97)](_0x5a57f6,this['read'](_0x8b2294)),'renameSync':(_0x365682,_0x680b79)=>{const _0x6af6a7=_0x1d2979;this['write'](_0x680b79,this[_0x6af6a7(0xa6)](_0x365682)),this[_0x6af6a7(0x96)](_0x365682);},'unlinkSync':_0x185c97=>this['remove'](_0x185c97),'mkdirSync':_0x1a9f0c=>this[_0x1d2979(0x7f)][_0x1d2979(0x94)](this['writable'](_0x1a9f0c)),'rmdirSync':_0x5b6658=>this[_0x1d2979(0x7f)][_0x1d2979(0x9d)](this[_0x1d2979(0xcc)](_0x5b6658)),'statSync':_0x2687d7=>this[_0x1d2979(0x89)][_0x1d2979(0xaa)](path[_0x1d2979(0xa4)](_0x2687d7))&&this[_0x1d2979(0x89)]['get'](path[_0x1d2979(0xa4)](_0x2687d7))!==null?_0x3da21b:this[_0x1d2979(0x7f)][_0x1d2979(0xaa)](path[_0x1d2979(0xa4)](_0x2687d7))?_0x5728fe:fs[_0x1d2979(0xdf)](_0x2687d7),'readdirSync':_0x519645=>this[_0x1d2979(0xd4)](_0x519645),'realpathSync':_0x3df345=>fs[_0x1d2979(0xdb)](_0x3df345)};}[_0xa42c2f(0xcc)](_0x45a998){const _0x25b332=_0xa42c2f,_0xa83664=path[_0x25b332(0xa4)](_0x45a998),_0x416b33=path[_0x25b332(0xd5)](this[_0x25b332(0xd6)],_0xa83664);let _0x164f38=_0xa83664;while(!fs[_0x25b332(0xd8)](_0x164f38)&&path['dirname'](_0x164f38)!==_0x164f38)_0x164f38=path[_0x25b332(0xb9)](_0x164f38);const _0x419d6f={};_0x419d6f[_0x25b332(0x8d)]=_0x25b332(0xc0);if(_0x416b33==='..'||_0x416b33[_0x25b332(0xb3)]('..'+path[_0x25b332(0xc9)])||path[_0x25b332(0xbd)](_0x416b33)||!sameWorkspace(_0x164f38,this[_0x25b332(0xd6)])&&!containsWorkspace(this[_0x25b332(0xd6)],_0x164f38))throw Object[_0x25b332(0xb6)](new Error('Deployment\x20draft\x20path\x20escapes\x20project'),_0x419d6f);return _0xa83664;}[_0xa42c2f(0xab)](_0x491b55){const _0xcfdfca=_0xa42c2f;_0x491b55=path[_0xcfdfca(0xa4)](_0x491b55);if(this['files'][_0xcfdfca(0xaa)](_0x491b55))return this[_0xcfdfca(0x89)]['get'](_0x491b55)!==null;return this[_0xcfdfca(0x7f)][_0xcfdfca(0xaa)](_0x491b55)||fs['existsSync'](_0x491b55);}[_0xa42c2f(0x8a)](_0x63cff3){const _0x5e058d=_0xa42c2f;if(this['originals'][_0x5e058d(0xaa)](_0x63cff3))return;try{this[_0x5e058d(0xe0)]['set'](_0x63cff3,fs['readFileSync'](_0x63cff3));}catch(_0x2358bb){if(_0x2358bb[_0x5e058d(0x8d)]==='ENOENT')this['originals'][_0x5e058d(0xba)](_0x63cff3,null);else throw _0x2358bb;}}[_0xa42c2f(0xa6)](_0x5ec23a,_0x2e7404){const _0x1ca7d5=_0xa42c2f;_0x5ec23a=path[_0x1ca7d5(0xa4)](_0x5ec23a);let _0x21bea0;if(this['files'][_0x1ca7d5(0xaa)](_0x5ec23a))_0x21bea0=this['files'][_0x1ca7d5(0xb1)](_0x5ec23a);else{_0x21bea0=fs[_0x1ca7d5(0xca)](_0x5ec23a);const _0x31903e=path['relative'](this[_0x1ca7d5(0xd6)],_0x5ec23a);if(_0x31903e&&_0x31903e!=='..'&&!_0x31903e['startsWith']('..'+path[_0x1ca7d5(0xc9)])&&!path['isAbsolute'](_0x31903e)&&!this['originals'][_0x1ca7d5(0xaa)](_0x5ec23a))this[_0x1ca7d5(0xe0)][_0x1ca7d5(0xba)](_0x5ec23a,Buffer['from'](_0x21bea0));}const _0x40e1ed={};_0x40e1ed[_0x1ca7d5(0x8d)]=_0x1ca7d5(0x81);if(_0x21bea0===null)throw Object['assign'](new Error(_0x1ca7d5(0x9a)),_0x40e1ed);const _0x257712=typeof _0x2e7404===_0x1ca7d5(0x99)?_0x2e7404:_0x2e7404?.[_0x1ca7d5(0xad)];return _0x257712?_0x21bea0[_0x1ca7d5(0xdd)](_0x257712):Buffer[_0x1ca7d5(0xbe)](_0x21bea0);}['write'](_0x423bfe,_0x39b420,_0x2c2ac5){const _0x4c8e0d=_0xa42c2f;_0x423bfe=this[_0x4c8e0d(0xcc)](_0x423bfe);const _0x4d3043={};_0x4d3043['code']='EEXIST';if(_0x2c2ac5?.[_0x4c8e0d(0xa2)]==='wx'&&this[_0x4c8e0d(0xab)](_0x423bfe))throw Object[_0x4c8e0d(0xb6)](new Error(_0x4c8e0d(0xb7)),_0x4d3043);this[_0x4c8e0d(0x8a)](_0x423bfe),this[_0x4c8e0d(0x89)][_0x4c8e0d(0xba)](_0x423bfe,Buffer['from'](_0x39b420)),this['directories'][_0x4c8e0d(0x94)](path[_0x4c8e0d(0xb9)](_0x423bfe));}[_0xa42c2f(0x96)](_0x69ff84){const _0x397e21=_0xa42c2f;_0x69ff84=this[_0x397e21(0xcc)](_0x69ff84),this[_0x397e21(0x8a)](_0x69ff84),this[_0x397e21(0x89)][_0x397e21(0xba)](_0x69ff84,null);}['entries'](_0x5c4e07){const _0x1a0fa7=_0xa42c2f;_0x5c4e07=path[_0x1a0fa7(0xa4)](_0x5c4e07);let _0x43a1e6;try{_0x43a1e6=new Set(fs[_0x1a0fa7(0xe2)](_0x5c4e07));}catch(_0x439e1e){if(_0x439e1e[_0x1a0fa7(0x8d)]===_0x1a0fa7(0x81))_0x43a1e6=new Set();else throw _0x439e1e;}for(const [_0x434f78,_0x178e56]of this[_0x1a0fa7(0x89)])if(path[_0x1a0fa7(0xb9)](_0x434f78)===_0x5c4e07){if(_0x178e56===null)_0x43a1e6[_0x1a0fa7(0x9d)](path[_0x1a0fa7(0xbc)](_0x434f78));else _0x43a1e6['add'](path[_0x1a0fa7(0xbc)](_0x434f78));}for(const _0x338ec2 of this[_0x1a0fa7(0x7f)])if(path[_0x1a0fa7(0xb9)](_0x338ec2)===_0x5c4e07)_0x43a1e6[_0x1a0fa7(0x94)](path[_0x1a0fa7(0xbc)](_0x338ec2));return[..._0x43a1e6];}[_0xa42c2f(0xd7)](){const _0x100082=_0xa42c2f;return[...this[_0x100082(0x89)]][_0x100082(0x95)](([_0x52b511,_0x49c351])=>{const _0x3efd4d=_0x100082,_0x4402d3=this[_0x3efd4d(0xe0)][_0x3efd4d(0xb1)](_0x52b511);return _0x49c351===null?_0x4402d3!==null:_0x4402d3===null||!_0x49c351['equals'](_0x4402d3);})[_0x100082(0xde)](([_0x416000,_0x1fadcd])=>({'path':path[_0x100082(0xd5)](this[_0x100082(0xd6)],_0x416000)[_0x100082(0xb4)]('\x5c','/'),'type':_0x1fadcd===null?'delete':'replace','bytes':_0x1fadcd,'managedHash':this[_0x100082(0xe0)]['get'](_0x416000)===null?null:hash(this['originals'][_0x100082(0xb1)](_0x416000))}));}}function prepareProject(_0x370550){const _0x349711=_0xa42c2f,_0xe10e26=new DeploymentDraft(_0x370550[_0x349711(0xae)]),_0x1f991c={};_0x1f991c[_0x349711(0xa3)]=[];const _0x4daaeb={..._0x370550,'fileSystem':_0xe10e26['fs'],'preparation':!![],..._0x370550[_0x349711(0xbf)]?_0x1f991c:{}},_0x214941=require(_0x349711(0xd3))[_0x349711(0xd1)](_0x4daaeb),_0x4cc468=path['join'](_0xe10e26[_0x349711(0xd6)],_0x349711(0xac),_0x349711(0x98)),_0x43401d=_0xe10e26[_0x349711(0xd7)]();if(_0x43401d[_0x349711(0xb8)](_0x8d6370=>_0x8d6370[_0x349711(0x9b)]==='.agents/manifest.json')&&fs['existsSync'](_0x4cc468)){const _0x4955c0=fs[_0x349711(0xca)](_0x4cc468),_0xab7b13=_0x2a73a2=>{const {deployedAt:_0x51a614,previousVersion:_0x47bcce,contextMigrations:_0x4535a0,..._0x394321}=_0x2a73a2;return _0x394321;},_0x35a85d=JSON[_0x349711(0xd9)](_0x4955c0);require(_0x349711(0xe1))[_0x349711(0x9e)](_0xab7b13(_0x35a85d),_0xab7b13(_0x214941[_0x349711(0x83)]))&&!_0x214941[_0x349711(0x83)][_0x349711(0x84)][_0x349711(0xc8)]&&(_0xe10e26['fs'][_0x349711(0xc1)](_0x4cc468,_0x4955c0),_0x214941[_0x349711(0x83)]=_0x35a85d);}const _0x157928={};_0x157928[_0x349711(0xce)]=_0x370550['transactionId'];const _0x48386a=ResourceTransaction[_0x349711(0x92)](_0xe10e26[_0x349711(0xd6)],_0xe10e26['changes'](),_0x157928);for(const _0x36358a of _0x214941[_0x349711(0x83)][_0x349711(0xa7)])_0x48386a[_0x349711(0xa5)][_0x349711(0xaf)][_0x349711(0x82)]({'path':_0x36358a,'code':_0x349711(0x8c),'required':!![]});_0x48386a[_0x349711(0xc2)]();const _0x1392a2={};_0x1392a2[_0x349711(0x9c)]=_0x349711(0xa0),_0x1392a2[_0x349711(0xd2)]=[];let _0x58b4d5,_0x3419c9=_0x1392a2;try{_0x58b4d5=_0x370550['registrationHosts']&&require(_0x349711(0xb0))['RegistrationPlan'][_0x349711(0x92)]({'workspace':_0xe10e26[_0x349711(0xd6)],'transactionId':_0x48386a[_0x349711(0xa5)][_0x349711(0xce)],'launcher':_0x370550['runtimeLauncherPath'],'hosts':_0x370550[_0x349711(0xbf)],'scope':_0x370550[_0x349711(0x87)]||'auto','projectScopeVerified':_0x370550[_0x349711(0xd0)]||{}});}catch(_0x5a36ae){if(![_0x349711(0xbb),_0x349711(0xda)]['includes'](_0x5a36ae[_0x349711(0x8d)]))throw _0x5a36ae;const _0x598617={};_0x598617['code']=_0x5a36ae[_0x349711(0x8d)];const _0x33feb4={};_0x33feb4[_0x349711(0x9c)]='migration-required',_0x33feb4[_0x349711(0xd2)]=[_0x598617],_0x3419c9=_0x33feb4;}const _0x556e51={};return _0x556e51[_0x349711(0xcb)]=_0x48386a,_0x556e51[_0x349711(0xdc)]=_0x58b4d5,_0x556e51['registrationMigration']=_0x3419c9,_0x556e51['deployment']=_0x214941,_0x556e51[_0x349711(0x9f)]=_0x370550[_0x349711(0xa1)]===!![],_0x556e51;}const _0x3b1797={};_0x3b1797['DeploymentDraft']=DeploymentDraft,_0x3b1797[_0xa42c2f(0xb5)]=prepareProject,module['exports']=_0x3b1797;
1
+ 'use strict';function _0x1af0(_0x54bf69,_0x47a635){_0x54bf69=_0x54bf69-0x1d3;const _0xa6cc46=_0xa6cc();let _0x1af086=_0xa6cc46[_0x54bf69];if(_0x1af0['wLiGCI']===undefined){var _0x98a516=function(_0x1b9073){const _0xd1edab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x527405='',_0x1490e6='';for(let _0x2c9535=0x0,_0x3d86fd,_0x25519d,_0x235026=0x0;_0x25519d=_0x1b9073['charAt'](_0x235026++);~_0x25519d&&(_0x3d86fd=_0x2c9535%0x4?_0x3d86fd*0x40+_0x25519d:_0x25519d,_0x2c9535++%0x4)?_0x527405+=String['fromCharCode'](0xff&_0x3d86fd>>(-0x2*_0x2c9535&0x6)):0x0){_0x25519d=_0xd1edab['indexOf'](_0x25519d);}for(let _0xf1c736=0x0,_0x4d7803=_0x527405['length'];_0xf1c736<_0x4d7803;_0xf1c736++){_0x1490e6+='%'+('00'+_0x527405['charCodeAt'](_0xf1c736)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1490e6);};_0x1af0['hJZEGS']=_0x98a516,_0x1af0['jEmnzT']={},_0x1af0['wLiGCI']=!![];}const _0x417d24=_0xa6cc46[0x0],_0x3f5891=_0x54bf69+_0x417d24,_0x44c372=_0x1af0['jEmnzT'][_0x3f5891];return!_0x44c372?(_0x1af086=_0x1af0['hJZEGS'](_0x1af086),_0x1af0['jEmnzT'][_0x3f5891]=_0x1af086):_0x1af086=_0x44c372,_0x1af086;}const _0x41aeb2=_0x1af0;function _0xa6cc(){const _0x30c77c=['CMvHzgrPCLn5BMm','C2HHmJu2','mJCWmKHbwgLhza','CgXHBG','CMvNAxn0CMf0Aw9Usg9ZDhm','BwfUAwzLC3qUANnVBG','rhjHzNqGzMLSzsbLEgLZDhm','BwLNCMf0Aw9UlxjLCxvPCMvK','yMXVy2TLCNm','zxf1ywXZ','ChvZAa','CMvTzw1Izxi','lMfNzw50CW','ywXSB2m','CMvHBhbHDgHtEw5J','Cgf0Aa','B3jPz2LUywXZ','odmYnJCWu1zgy01z','zgLYBMfTzq','BwnWq29UzMLNvgfYz2v0CW','CMvNAxn0CMf0Aw9UugXHBG','AxnezwvWu3rYAwn0rxf1ywW','y2HHBMDLCW','zw5JB2rPBMC','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','zxHWB3j0CW','CMvZB3vYy2vqBgfU','zxzLCNK','y29Kzq','BwfUAwzLC3q','DxbKyxrL','mJiYmZq2ofLOtMnmvG','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','BM9KztPMCW','BwfW','z2v0','D3jPDgu','CMvWBgfJzq','zgvSzxrL','D29YA3nWywnL','tunqx01jr1jbveLptL9srvfvsvjfra','CMvHzezPBgvtEw5J','zMXHzW','mJyZnti4zMvTtezd','BM9KztPWyxrO','ChjLCgfYzvbYB2PLy3q','DhjHBNnHy3rPB25jza','zMLSzxm','CMvWBgfJzufSBa','D3jPDgfIBgu','zw50CMLLCW','uMvNAxn0CMf0Aw9UugXHBG','yxv0BW','zgvWBg95BwvUDa','nteYEwLste9s','CMvTB3zL','zgvWBg95uhjVAMvJDa','mJeWndG2zxHiuK5A','ChjVAMvJDfbHDgG','AxneAxjLy3rVCNK','zgLYzwn0B3jPzxm','zxHPC3rZ','ru5pru5u','CMvZB2X2zq','zNjVBq','zxHPC3rZu3LUyW','lMfNzw50CY9Tyw5PzMvZDc5QC29U','C3rYAw5N','AgfZ','y3jLyxrLsgfZAa','AxngAwXL','ChjVAMvJDfnJB3bLvMvYAwzPzwq','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','C2vW','Aw5KzxHszxf1zxn0zwq','BM9KztP1DgLS','CMvIDwLSzeLUzgv4','yMfZzw5HBwu','ndK2nZm0q3n0uKTT','yxnZAwDU','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','ChjLCgfYzq','y29Uy2f0','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','BgvUz3rO','C2v0','BM90lxjLCxvPCMvK','rgvWBg95BwvUDerYywz0','ywrK','Agv4','C3rHCNrZv2L0Aa','mxzICgfvuG','mtq2nZK0tKfpwNDh','CMvSyxrPDMu','CMvHza','zMLSDgvY'];_0xa6cc=function(){return _0x30c77c;};return _0xa6cc();}(function(_0x119121,_0x6bfc9f){const _0x40e6fb=_0x1af0,_0x3eea67=_0x119121();while(!![]){try{const _0xe12cef=parseInt(_0x40e6fb(0x1ef))/0x1*(parseInt(_0x40e6fb(0x1f0))/0x2)+parseInt(_0x40e6fb(0x22d))/0x3+-parseInt(_0x40e6fb(0x21f))/0x4+parseInt(_0x40e6fb(0x205))/0x5+parseInt(_0x40e6fb(0x1e2))/0x6+-parseInt(_0x40e6fb(0x1f6))/0x7*(-parseInt(_0x40e6fb(0x22a))/0x8)+-parseInt(_0x40e6fb(0x213))/0x9;if(_0xe12cef===_0x6bfc9f)break;else _0x3eea67['push'](_0x3eea67['shift']());}catch(_0x486d33){_0x3eea67['push'](_0x3eea67['shift']());}}}(_0xa6cc,0x198cc));const fs=require(_0x41aeb2(0x215)),path=require(_0x41aeb2(0x220)),crypto=require('node:crypto'),{containsWorkspace,sameWorkspace}=require(_0x41aeb2(0x214)),{ResourceTransaction}=require('../core/resource-transaction'),hash=_0x4ccd2a=>crypto[_0x41aeb2(0x1d9)](_0x41aeb2(0x1f5))[_0x41aeb2(0x212)](_0x4ccd2a)['digest'](_0x41aeb2(0x1ed));class DeploymentDraft{constructor(_0xb55cc7){const _0x5d6b5c=_0x41aeb2;this[_0x5d6b5c(0x21b)]=fs[_0x5d6b5c(0x202)](_0xb55cc7),this['files']=new Map(),this[_0x5d6b5c(0x204)]=new Map(),this['directories']=new Set();const _0x33666f={};_0x33666f[_0x5d6b5c(0x1da)]=()=>!![],_0x33666f['isDirectory']=()=>![];const _0x1e4c19={};_0x1e4c19[_0x5d6b5c(0x1da)]=()=>![],_0x1e4c19[_0x5d6b5c(0x22f)]=()=>!![],this['fs']={'existsSync':_0x4fa20c=>this[_0x5d6b5c(0x231)](_0x4fa20c),'readFileSync':(_0x4bad08,_0x57cb92)=>this[_0x5d6b5c(0x1f2)](_0x4bad08,_0x57cb92),'writeFileSync':(_0x53ff0d,_0x2b39e6,_0x32ab31)=>this[_0x5d6b5c(0x218)](_0x53ff0d,_0x2b39e6,_0x32ab31),'appendFileSync':(_0x861b6e,_0x400b66)=>this[_0x5d6b5c(0x218)](_0x861b6e,Buffer[_0x5d6b5c(0x1e6)]([this[_0x5d6b5c(0x231)](_0x861b6e)?this[_0x5d6b5c(0x1f2)](_0x861b6e):Buffer[_0x5d6b5c(0x201)](0x0),Buffer[_0x5d6b5c(0x1d4)](_0x400b66)])),'copyFileSync':(_0x7a5c90,_0x43b351)=>this[_0x5d6b5c(0x218)](_0x43b351,this[_0x5d6b5c(0x1f2)](_0x7a5c90)),'renameSync':(_0x1d0993,_0x1e765d)=>{const _0x34f3da=_0x5d6b5c;this[_0x34f3da(0x218)](_0x1e765d,this[_0x34f3da(0x1f2)](_0x1d0993)),this['remove'](_0x1d0993);},'unlinkSync':_0x42650f=>this[_0x5d6b5c(0x22b)](_0x42650f),'mkdirSync':_0x18ce8b=>this['directories'][_0x5d6b5c(0x1ec)](this[_0x5d6b5c(0x225)](_0x18ce8b)),'rmdirSync':_0xfcbcff=>this['directories'][_0x5d6b5c(0x21a)](this[_0x5d6b5c(0x225)](_0xfcbcff)),'statSync':_0x2be45e=>this['files']['has'](path[_0x5d6b5c(0x1d3)](_0x2be45e))&&this[_0x5d6b5c(0x223)][_0x5d6b5c(0x217)](path[_0x5d6b5c(0x1d3)](_0x2be45e))!==null?_0x33666f:this[_0x5d6b5c(0x230)]['has'](path[_0x5d6b5c(0x1d3)](_0x2be45e))?_0x1e4c19:fs['statSync'](_0x2be45e),'readdirSync':_0x3eb88a=>this[_0x5d6b5c(0x226)](_0x3eb88a),'realpathSync':_0x5407c6=>fs[_0x5d6b5c(0x202)](_0x5407c6)};}[_0x41aeb2(0x225)](_0x23ec4b){const _0x145482=_0x41aeb2,_0x3e8986=path[_0x145482(0x1d3)](_0x23ec4b),_0x4b495a=path[_0x145482(0x1f1)](this['workspace'],_0x3e8986);let _0x30b0d9=_0x3e8986;while(!fs[_0x145482(0x1d5)](_0x30b0d9)&&path['dirname'](_0x30b0d9)!==_0x30b0d9)_0x30b0d9=path[_0x145482(0x206)](_0x30b0d9);const _0x4bf938={};_0x4bf938[_0x145482(0x210)]='RESOURCE_PATH_ESCAPE';if(_0x4b495a==='..'||_0x4b495a[_0x145482(0x1ee)]('..'+path[_0x145482(0x1dd)])||path['isAbsolute'](_0x4b495a)||!sameWorkspace(_0x30b0d9,this[_0x145482(0x21b)])&&!containsWorkspace(this['workspace'],_0x30b0d9))throw Object[_0x145482(0x1e3)](new Error(_0x145482(0x20c)),_0x4bf938);return _0x3e8986;}['exists'](_0x3860de){const _0x364c60=_0x41aeb2;_0x3860de=path[_0x364c60(0x1d3)](_0x3860de);if(this[_0x364c60(0x223)][_0x364c60(0x1d8)](_0x3860de))return this[_0x364c60(0x223)][_0x364c60(0x217)](_0x3860de)!==null;return this['directories'][_0x364c60(0x1d8)](_0x3860de)||fs[_0x364c60(0x1d5)](_0x3860de);}[_0x41aeb2(0x1ff)](_0x3c7aa2){const _0x1132a5=_0x41aeb2;if(this['originals']['has'](_0x3c7aa2))return;try{this[_0x1132a5(0x204)][_0x1132a5(0x1e9)](_0x3c7aa2,fs[_0x1132a5(0x21d)](_0x3c7aa2));}catch(_0x4f8628){if(_0x4f8628['code']===_0x1132a5(0x232))this[_0x1132a5(0x204)]['set'](_0x3c7aa2,null);else throw _0x4f8628;}}[_0x41aeb2(0x1f2)](_0x300511,_0x56eba5){const _0x24733e=_0x41aeb2;_0x300511=path[_0x24733e(0x1d3)](_0x300511);let _0x27c773;if(this[_0x24733e(0x223)][_0x24733e(0x1d8)](_0x300511))_0x27c773=this[_0x24733e(0x223)][_0x24733e(0x217)](_0x300511);else{_0x27c773=fs[_0x24733e(0x21d)](_0x300511);const _0x44dca5=path[_0x24733e(0x1f1)](this['workspace'],_0x300511);if(_0x44dca5&&_0x44dca5!=='..'&&!_0x44dca5[_0x24733e(0x1ee)]('..'+path[_0x24733e(0x1dd)])&&!path['isAbsolute'](_0x44dca5)&&!this[_0x24733e(0x204)][_0x24733e(0x1d8)](_0x300511))this['originals'][_0x24733e(0x1e9)](_0x300511,Buffer[_0x24733e(0x1d4)](_0x27c773));}const _0x1ecf0a={};_0x1ecf0a[_0x24733e(0x210)]='ENOENT';if(_0x27c773===null)throw Object[_0x24733e(0x1e3)](new Error(_0x24733e(0x1e7)),_0x1ecf0a);const _0x2d0f19=typeof _0x56eba5===_0x24733e(0x1d7)?_0x56eba5:_0x56eba5?.[_0x24733e(0x20b)];return _0x2d0f19?_0x27c773['toString'](_0x2d0f19):Buffer[_0x24733e(0x1d4)](_0x27c773);}[_0x41aeb2(0x218)](_0x533dca,_0x58de73,_0x1fb201){const _0x1cb468=_0x41aeb2;_0x533dca=this['writable'](_0x533dca);const _0x199076={};_0x199076[_0x1cb468(0x210)]='EEXIST';if(_0x1fb201?.[_0x1cb468(0x21e)]==='wx'&&this[_0x1cb468(0x231)](_0x533dca))throw Object[_0x1cb468(0x1e3)](new Error(_0x1cb468(0x1fa)),_0x199076);this[_0x1cb468(0x1ff)](_0x533dca),this[_0x1cb468(0x223)][_0x1cb468(0x1e9)](_0x533dca,Buffer[_0x1cb468(0x1d4)](_0x58de73)),this[_0x1cb468(0x230)]['add'](path[_0x1cb468(0x206)](_0x533dca));}[_0x41aeb2(0x22b)](_0x46c899){const _0x56d1d2=_0x41aeb2;_0x46c899=this[_0x56d1d2(0x225)](_0x46c899),this['remember'](_0x46c899),this[_0x56d1d2(0x223)][_0x56d1d2(0x1e9)](_0x46c899,null);}['entries'](_0x573298){const _0x4370f4=_0x41aeb2;_0x573298=path[_0x4370f4(0x1d3)](_0x573298);let _0xeda383;try{_0xeda383=new Set(fs[_0x4370f4(0x1f4)](_0x573298));}catch(_0x346223){if(_0x346223[_0x4370f4(0x210)]===_0x4370f4(0x232))_0xeda383=new Set();else throw _0x346223;}for(const [_0x5c492f,_0x3a78f3]of this[_0x4370f4(0x223)])if(path['dirname'](_0x5c492f)===_0x573298){if(_0x3a78f3===null)_0xeda383[_0x4370f4(0x21a)](path[_0x4370f4(0x1e1)](_0x5c492f));else _0xeda383[_0x4370f4(0x1ec)](path[_0x4370f4(0x1e1)](_0x5c492f));}for(const _0x18fe90 of this['directories'])if(path['dirname'](_0x18fe90)===_0x573298)_0xeda383[_0x4370f4(0x1ec)](path[_0x4370f4(0x1e1)](_0x18fe90));return[..._0xeda383];}['changes'](){const _0x28b4a4=_0x41aeb2;return[...this[_0x28b4a4(0x223)]][_0x28b4a4(0x1f3)](([_0x2cf833,_0x31e502])=>{const _0x8c1fc1=_0x28b4a4,_0xf38b12=this[_0x8c1fc1(0x204)][_0x8c1fc1(0x217)](_0x2cf833);return _0x31e502===null?_0xf38b12!==null:_0xf38b12===null||!_0x31e502[_0x8c1fc1(0x1fd)](_0xf38b12);})[_0x28b4a4(0x216)](([_0x4edff8,_0x45cbe1])=>({'path':path[_0x28b4a4(0x1f1)](this[_0x28b4a4(0x21b)],_0x4edff8)[_0x28b4a4(0x224)]('\x5c','/'),'type':_0x45cbe1===null?_0x28b4a4(0x21a):_0x28b4a4(0x219),'bytes':_0x45cbe1,'managedHash':this[_0x28b4a4(0x204)]['get'](_0x4edff8)===null?null:hash(this[_0x28b4a4(0x204)]['get'](_0x4edff8))}));}}function prepareProject(_0x313d4f){const _0x1cc9b7=_0x41aeb2,_0x5ed446=new DeploymentDraft(_0x313d4f[_0x1cc9b7(0x22e)]),_0x2ec7c8={};_0x2ec7c8[_0x1cc9b7(0x207)]=[];const _0x55f00d={..._0x313d4f,'fileSystem':_0x5ed446['fs'],'preparation':!![],..._0x313d4f['registrationHosts']?_0x2ec7c8:{}},_0x3f57e9=require('./project-setup')[_0x1cc9b7(0x22c)](_0x55f00d),_0x43b570=path['join'](_0x5ed446[_0x1cc9b7(0x21b)],_0x1cc9b7(0x200),_0x1cc9b7(0x1f9)),_0x1721e1=_0x5ed446[_0x1cc9b7(0x20a)]();if(_0x1721e1[_0x1cc9b7(0x20f)](_0x27e02c=>_0x27e02c[_0x1cc9b7(0x203)]===_0x1cc9b7(0x1d6))&&fs[_0x1cc9b7(0x1d5)](_0x43b570)){const _0x40b6a0=fs[_0x1cc9b7(0x21d)](_0x43b570),_0xc7773a=_0x281e86=>{const {deployedAt:_0x49e465,previousVersion:_0x355627,contextMigrations:_0x34a6be,..._0xc1069}=_0x281e86;return _0xc1069;},_0xff2794=JSON['parse'](_0x40b6a0);require(_0x1cc9b7(0x1df))[_0x1cc9b7(0x209)](_0xc7773a(_0xff2794),_0xc7773a(_0x3f57e9['manifest']))&&!_0x3f57e9['manifest']['contextMigrations'][_0x1cc9b7(0x1e8)]&&(_0x5ed446['fs']['writeFileSync'](_0x43b570,_0x40b6a0),_0x3f57e9['manifest']=_0xff2794);}const _0x238247={};_0x238247[_0x1cc9b7(0x222)]=_0x313d4f[_0x1cc9b7(0x222)];const _0x50710c=ResourceTransaction[_0x1cc9b7(0x1e5)](_0x5ed446['workspace'],_0x5ed446[_0x1cc9b7(0x20a)](),_0x238247);for(const _0x3da391 of _0x3f57e9[_0x1cc9b7(0x211)]['pendingUpdates'])_0x50710c[_0x1cc9b7(0x1f7)]['conflicts'][_0x1cc9b7(0x1fe)]({'path':_0x3da391,'code':_0x1cc9b7(0x1e4),'required':!![]});_0x50710c['save']();const _0x334372={};_0x334372['status']=_0x1cc9b7(0x1ea),_0x334372[_0x1cc9b7(0x1fc)]=[];let _0x1b3835,_0x55a041=_0x334372;try{_0x1b3835=_0x313d4f[_0x1cc9b7(0x1f8)]&&require('./registration-plan')[_0x1cc9b7(0x227)][_0x1cc9b7(0x1e5)]({'workspace':_0x5ed446[_0x1cc9b7(0x21b)],'transactionId':_0x50710c[_0x1cc9b7(0x1f7)]['transactionId'],'launcher':_0x313d4f['runtimeLauncherPath'],'hosts':_0x313d4f['registrationHosts'],'scope':_0x313d4f['mcpScope']||_0x1cc9b7(0x228),'projectScopeVerified':_0x313d4f[_0x1cc9b7(0x1db)]||{}});}catch(_0x3047a0){if(![_0x1cc9b7(0x21c),_0x1cc9b7(0x1dc)]['includes'](_0x3047a0[_0x1cc9b7(0x210)]))throw _0x3047a0;const _0x1ada53={};_0x1ada53[_0x1cc9b7(0x210)]=_0x3047a0[_0x1cc9b7(0x210)];const _0x14c14d={};_0x14c14d['status']=_0x1cc9b7(0x1fb),_0x14c14d[_0x1cc9b7(0x1fc)]=[_0x1ada53],_0x55a041=_0x14c14d;}const _0x5e5675={};return _0x5e5675[_0x1cc9b7(0x20e)]=_0x50710c,_0x5e5675[_0x1cc9b7(0x208)]=_0x1b3835,_0x5e5675['registrationMigration']=_0x55a041,_0x5e5675[_0x1cc9b7(0x229)]=_0x3f57e9,_0x5e5675[_0x1cc9b7(0x1de)]=_0x313d4f[_0x1cc9b7(0x1e0)]===!![],_0x5e5675;}const _0x17c9e3={};_0x17c9e3[_0x41aeb2(0x1eb)]=DeploymentDraft,_0x17c9e3[_0x41aeb2(0x221)]=prepareProject,module[_0x41aeb2(0x20d)]=_0x17c9e3;