apt-mcp-agent-setup 3.5.4 → 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 _0x649ce1=_0x456a;(function(_0x4f2aea,_0x1aac47){const _0xc4734=_0x456a,_0x2130f0=_0x4f2aea();while(!![]){try{const _0x5af0c8=parseInt(_0xc4734(0x1d1))/0x1*(-parseInt(_0xc4734(0x1ea))/0x2)+-parseInt(_0xc4734(0x1a9))/0x3+-parseInt(_0xc4734(0x15b))/0x4*(parseInt(_0xc4734(0x1e6))/0x5)+-parseInt(_0xc4734(0x189))/0x6+parseInt(_0xc4734(0x1ab))/0x7*(parseInt(_0xc4734(0x1c2))/0x8)+-parseInt(_0xc4734(0x1d4))/0x9+-parseInt(_0xc4734(0x186))/0xa*(-parseInt(_0xc4734(0x181))/0xb);if(_0x5af0c8===_0x1aac47)break;else _0x2130f0['push'](_0x2130f0['shift']());}catch(_0x329457){_0x2130f0['push'](_0x2130f0['shift']());}}}(_0x3c67,0x85d7a));function _0x3c67(){const _0x42c985=['ufjpqKvFsu5wquXjra','CMv1C2vK','DxbKyxrL','ChjVB2y','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','zMLSzq','q09otKvdveLptL9vtKnptKzjuK1fra','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','C3vWzxj2AxnVCLbPza','q09ovfjptf9usu1ft1vu','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','ueLex1jfvvnfra','y3jLyxrLsg1HyW','CMvJB25Uzwn0lxjLCxvPCMvK','ChjVDg9JB2W','zxzLCNK','mJeYotC0ohbkEvbLsG','C3rHCNq','mJf2tePjEgi','C3vWzxj2AxnVCI1ZAhv0zg93BG','ywn0AxzL','zxHWB3j0CW','y2XVC3vYzu1HyW','y2XVC2vnzw1Izxi','D29YA3nWywnLlxjLyM91BMq','CgfYC2u','zxzPzgvUy2u','D29YA3nWywnL','C3rHDgu','BM9KztPWyxrO','ywn0AxzHDgu','C3rYAw5N','C2v0vgLTzw91Da','BMf0AxzLq2fSBgvY','CMvSzwfZzq','zMLSDgvY','zxjYB3i','u0vduKvux1voqvzbsuXbqKXf','lMfNzw50CW','Agv4','zNjVBq','mtC4mdiXnLHmwu9SvG','B3bLBG','ru5pru5u','AxntywzLsw50zwDLCG','CgLKlxjLDxnLza','D3jPDgu','C2v0','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','ywn0AxzHDgLVBG','z2vUzxjHDgLVBG','DgvZDa','B3jWAgfUzwq','q0HjterFueLex1jfvvnfra','lNnLy3jLDhm','q09ovfjptf9nsvnnqvrdsa','ouL1CMHlrW','q09otKvdveLptL9puLbiqu5fra','BM9Uy2u','ntq5nJK3nwjqDg55Aq','zgvZDhjVEq','zgvZDhjVEwvK','Ag9VAY1JB250zxH0','r0vorvjbveLptL9vtKnptKzjuK1fra','CMvHzezLBMnL','C3rHDhvZ','CMvHBhbHDgHtEw5J','z2vUzxjHDgLVBI5QC29U','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lMTLEq','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','q09ovfjptf9jtLzbteLe','C29Tzq','BM9KztPUzxq','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','CMvXDwvZDc1ZDg9W','DMfSDwvZ','mZq5mZvlz0Txs3i','y29UBMvJDgLVBG','ChjVyMu','Aw5JBhvKzxm','mJa0mtK0s3fiB2rq','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','ChjLCgfYzq','Aw5KzxHpzG','C2vJCMv0rMLSzq','lMPZB24','y2HHBgXLBMDL','C2XPy2u','ufjpqKvFt1zfuLnjwKu','BwLZC2LUzY1JBg9ZDxjLlwv2AwrLBMnL','lNrYyw5Zywn0Aw9UlMPZB24','BM9KztPMCW','y2HPBgrqCM9JzxnZu3rHCNq','y29UBMvJDa','q09ovfjptf9gquLmruq','ChjVDMLZAw9UywW','ChjVyMvdB25Uzwn0Aw9U','AM9PBG','mZG4u2Dqr2DH','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMfUzg9Tvvvjra','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','zxHPC3rZu3LUyW','BwvTyMvYCW','y2XVC2vK','DgLTAw5Nu2fMzuvXDwfS','y2XHC3nPzMLJyxrPB24','y29UBMvJDgLVBKLK','Bhn0yxrtEw5J','y2HPBgrqAwq','q0HjterFufjpq0vtu19puLbiqu5fra','y29UBMvJDgLVBNm','C3rYAw5NAwz5','CNvUDgLTzq','BgL2zq','DxrMoa','Ag9ZDc1LCNjVCG','CMvZB3vYy2veAwDLC3q','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','ChvZAa','y29TBwL0lwnHBMrPzgf0zq','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','DhLWzq','y29UBMvJDgLUzW','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','CMvHzezPBgvtEw5J','ufjpqKvFtuLttufuq0G','BwfW','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y29Kzq','zgf0yq','ywjVCNq','BM9KztPJCNLWDg8','C3rVCfjLyxnVBG','ufjpqKvFveLnru9vva','C2HHmJu2','mZCYody2odLnB2nSsgy','Dw5RBM93BG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29UDhjVBenVBM5Ly3rPB24','zw5KCg9PBNq','mtbuthL4DKi','yxbWBhK','ChjVy2vZC0LKzw50Axr5','mZu1mdu1ngPLrvDfDW','CMvHzgrPCLn5BMm','q09otKvdveLptL9tvefsvf9qru5esu5h','BgvUz3rO','y2f1C2u','zgLNzxn0','zxbVy2G','CMvJzwLWDa','zMfPBgvK','C2vYDMLUzW','ufjpqKvFrKfjteve','DMvYC2LVBG','D2fPDfnLy29Uzhm','y29UBMvJDgLVBKLKCW','DgLTzw91De1Z','zw5KC1DPDgG'];_0x3c67=function(){return _0x42c985;};return _0x3c67();}const fs=require(_0x649ce1(0x1f5)),path=require(_0x649ce1(0x1b6)),crypto=require(_0x649ce1(0x17d)),net=require(_0x649ce1(0x1e2)),{signEnvelope}=require('../core/ipc-envelope'),readJson=_0x59aac4=>{const _0x521d2e=_0x649ce1;try{return JSON[_0x521d2e(0x1b2)](fs[_0x521d2e(0x176)](_0x59aac4,_0x521d2e(0x16c)));}catch{return null;}};async function probeConnection(_0x4893a7,_0x554f10={}){const _0x581cc7=_0x649ce1;if(!_0x4893a7?.[_0x581cc7(0x185)]||!_0x4893a7?.[_0x581cc7(0x1ee)]||!_0x4893a7?.['connectionId'])return{'status':_0x581cc7(0x16f),'connectionId':_0x4893a7?.[_0x581cc7(0x164)]||null};let _0x5b0eff;try{_0x5b0eff=fs[_0x581cc7(0x176)](_0x4893a7[_0x581cc7(0x1ee)]);}catch{const _0x18e5e6={};return _0x18e5e6[_0x581cc7(0x1da)]=_0x581cc7(0x1a6),_0x18e5e6[_0x581cc7(0x164)]=_0x4893a7[_0x581cc7(0x164)],_0x18e5e6[_0x581cc7(0x17a)]=_0x581cc7(0x1be),_0x18e5e6;}const _0x7683ef=crypto[_0x581cc7(0x15d)](),_0x12cd14={};_0x12cd14['protocol']=0x2,_0x12cd14[_0x581cc7(0x173)]=_0x581cc7(0x1f0),_0x12cd14[_0x581cc7(0x164)]=_0x4893a7[_0x581cc7(0x164)],_0x12cd14[_0x581cc7(0x1d3)]=_0x7683ef;const _0x38896f=_0x12cd14;return _0x38896f['mac']=signEnvelope(_0x5b0eff,_0x38896f),new Promise(_0x383eea=>{const _0x427655=_0x581cc7,_0x32b04c=net[_0x427655(0x1f7)](_0x4893a7[_0x427655(0x185)]);let _0x55cdb9='';const _0x4c92b4=_0x1a7c17=>{const _0x3c37b7=_0x427655;if(!_0x32b04c[_0x3c37b7(0x1d6)])_0x32b04c[_0x3c37b7(0x1d5)]();_0x383eea(_0x1a7c17);},_0x796feb={};_0x796feb[_0x427655(0x1da)]=_0x427655(0x1a6),_0x796feb[_0x427655(0x17a)]=_0x427655(0x17f),_0x32b04c[_0x427655(0x1b9)](_0x554f10[_0x427655(0x197)]||0x9c4,()=>_0x4c92b4(_0x796feb)),_0x32b04c['on'](_0x427655(0x1bd),_0x23f2c9=>_0x4c92b4({'status':_0x427655(0x1a6),'code':_0x23f2c9[_0x427655(0x17a)]||_0x427655(0x193)})),_0x32b04c['on'](_0x427655(0x1f7),()=>_0x32b04c[_0x427655(0x1c7)](JSON['stringify'](_0x38896f)+'\x0a')),_0x32b04c['on'](_0x427655(0x17b),_0x23e890=>{const _0x2a271e=_0x427655;_0x55cdb9+=_0x23e890;const _0x108e85={};_0x108e85[_0x2a271e(0x1da)]='failed',_0x108e85[_0x2a271e(0x17a)]=_0x2a271e(0x1f2);if(_0x55cdb9['length']>0x2000)return _0x4c92b4(_0x108e85);const _0x4e90ba=_0x55cdb9[_0x2a271e(0x1ed)]('\x0a');if(_0x4e90ba<0x0)return;let _0x4b3277;try{_0x4b3277=JSON[_0x2a271e(0x1b2)](_0x55cdb9['slice'](0x0,_0x4e90ba));}catch{const _0x5c503d={};return _0x5c503d['status']=_0x2a271e(0x191),_0x5c503d[_0x2a271e(0x17a)]=_0x2a271e(0x199),_0x4c92b4(_0x5c503d);}const {mac:_0x52b8e1,..._0x3a0fc}=_0x4b3277,_0x5db1a6=crypto['createHmac'](_0x2a271e(0x180),_0x5b0eff)[_0x2a271e(0x19b)](JSON[_0x2a271e(0x169)](_0x3a0fc))['digest'](_0x2a271e(0x1c0));if(typeof _0x52b8e1!==_0x2a271e(0x1b8)||_0x52b8e1[_0x2a271e(0x18c)]!==_0x5db1a6[_0x2a271e(0x18c)]||!crypto[_0x2a271e(0x162)](Buffer[_0x2a271e(0x1c1)](_0x52b8e1),Buffer[_0x2a271e(0x1c1)](_0x5db1a6))||_0x3a0fc[_0x2a271e(0x1d3)]!==_0x7683ef||_0x3a0fc['connectionId']!==_0x4893a7[_0x2a271e(0x164)]||_0x3a0fc[_0x2a271e(0x1b4)]!==_0x4893a7[_0x2a271e(0x1b4)]||_0x3a0fc[_0x2a271e(0x1a1)]!==_0x4893a7[_0x2a271e(0x1a1)]||_0x3a0fc[_0x2a271e(0x1cb)]!==_0x4893a7[_0x2a271e(0x1cb)]||_0x3a0fc[_0x2a271e(0x166)]!==_0x4893a7[_0x2a271e(0x166)]||_0x3a0fc['version']!==_0x4893a7[_0x2a271e(0x194)]||_0x3a0fc[_0x2a271e(0x18e)]!==_0x4893a7[_0x2a271e(0x18e)]||_0x3a0fc['resourceDigest']!==_0x4893a7[_0x2a271e(0x16e)])return _0x4c92b4({'status':_0x2a271e(0x191),'code':_0x2a271e(0x177),'connectionId':_0x4893a7[_0x2a271e(0x164)]});const _0x1eb79f={'status':_0x3a0fc[_0x2a271e(0x1ca)],..._0x3a0fc};_0x1eb79f[_0x2a271e(0x1b3)]=_0x2a271e(0x179),_0x4c92b4(_0x1eb79f);});});}async function controlConnection(_0x5b321c,_0xac7b13,_0x40391b={}){const _0x162eb4=_0x649ce1,_0x33404f={};_0x33404f[_0x162eb4(0x1da)]='failed',_0x33404f['code']='CONTROL_UNAVAILABLE';if(![_0x162eb4(0x1ec),_0x162eb4(0x1e4),_0x162eb4(0x1b7),_0x162eb4(0x17c),'stop-for-update','prepare-candidate',_0x162eb4(0x171),'restore-previous',_0x162eb4(0x1d7),'gateway-binding'][_0x162eb4(0x1e9)](_0xac7b13)||!_0x5b321c?.[_0x162eb4(0x185)]||!_0x5b321c?.[_0x162eb4(0x1ee)])return _0x33404f;let _0x46aef0;try{_0x46aef0=fs[_0x162eb4(0x176)](_0x5b321c[_0x162eb4(0x1ee)]);}catch{const _0x5d2966={};return _0x5d2966[_0x162eb4(0x1da)]='failed',_0x5d2966['code']=_0x162eb4(0x1be),_0x5d2966;}const _0x3ae169=crypto[_0x162eb4(0x15d)](),_0x3b0547=_0x40391b[_0x162eb4(0x194)]||'',_0x4557a7=_0x40391b[_0x162eb4(0x18e)]||'',_0x4c0ea8={};_0x4c0ea8[_0x162eb4(0x1a7)]=0x2,_0x4c0ea8['connectionId']=_0x5b321c['connectionId'],_0x4c0ea8['type']=_0xac7b13,_0x4c0ea8[_0x162eb4(0x1d3)]=_0x3ae169,_0x4c0ea8[_0x162eb4(0x194)]=_0x3b0547,_0x4c0ea8[_0x162eb4(0x18e)]=_0x4557a7,_0x4c0ea8[_0x162eb4(0x195)]=_0x40391b['waitSeconds'],_0x4c0ea8['transactionId']=_0x40391b['transactionId'],_0x4c0ea8[_0x162eb4(0x18f)]=_0x40391b[_0x162eb4(0x18f)],_0x4c0ea8['generation']=_0x40391b[_0x162eb4(0x1cb)],_0x4c0ea8['resourceDigest']=_0x40391b[_0x162eb4(0x16e)],_0x4c0ea8['catalogHash']=_0x40391b['catalogHash'],_0x4c0ea8[_0x162eb4(0x1bb)]=_0x40391b['release'],_0x4c0ea8[_0x162eb4(0x1ba)]=_0x40391b[_0x162eb4(0x1ba)];const _0x3833f1=_0x4c0ea8;return _0x3833f1['mac']=signEnvelope(_0x46aef0,_0x3833f1),new Promise(_0x3ab74d=>{const _0x3d97bc=_0x162eb4,_0x5e429a=net[_0x3d97bc(0x1f7)](_0x5b321c[_0x3d97bc(0x185)]);let _0x4bec74='';const _0xae52a6=_0x1cde35=>{const _0x4af4c3=_0x3d97bc;if(!_0x5e429a[_0x4af4c3(0x1d6)])_0x5e429a['destroy']();_0x3ab74d(_0x1cde35);},_0x2e5eb7={};_0x2e5eb7[_0x3d97bc(0x1da)]=_0x3d97bc(0x191),_0x2e5eb7[_0x3d97bc(0x17a)]=_0x3d97bc(0x1a2),_0x5e429a[_0x3d97bc(0x1b9)](_0x40391b['timeoutMs']||0x1fbd0,()=>_0xae52a6(_0x2e5eb7)),_0x5e429a['on'](_0x3d97bc(0x1bd),_0x2542ac=>_0xae52a6({'status':'failed','code':_0x2542ac[_0x3d97bc(0x17a)]||_0x3d97bc(0x1f8)})),_0x5e429a['on']('connect',()=>_0x5e429a[_0x3d97bc(0x1c7)](JSON['stringify'](_0x3833f1)+'\x0a')),_0x5e429a['on'](_0x3d97bc(0x17b),_0x507472=>{const _0x52be6f=_0x3d97bc;_0x4bec74+=_0x507472;const _0x445695={};_0x445695['status']='failed',_0x445695[_0x52be6f(0x17a)]='CONTROL_OVERSIZE';if(_0x4bec74[_0x52be6f(0x18c)]>0x2000)return _0xae52a6(_0x445695);const _0x3fdc04=_0x4bec74[_0x52be6f(0x1ed)]('\x0a');if(_0x3fdc04<0x0)return;let _0x5421b0;try{_0x5421b0=JSON[_0x52be6f(0x1b2)](_0x4bec74[_0x52be6f(0x1f1)](0x0,_0x3fdc04));}catch{const _0x3f495c={};return _0x3f495c[_0x52be6f(0x1da)]=_0x52be6f(0x191),_0x3f495c[_0x52be6f(0x17a)]=_0x52be6f(0x1e0),_0xae52a6(_0x3f495c);}const {mac:_0x50b18f,..._0x598c32}=_0x5421b0,_0xbc677a=crypto[_0x52be6f(0x1a5)](_0x52be6f(0x180),_0x46aef0)['update'](JSON['stringify'](_0x598c32))[_0x52be6f(0x18e)](_0x52be6f(0x1c0)),_0x26eb18={};_0x26eb18[_0x52be6f(0x1da)]=_0x52be6f(0x191),_0x26eb18[_0x52be6f(0x17a)]=_0x52be6f(0x1d0);if(typeof _0x50b18f!==_0x52be6f(0x1b8)||_0x50b18f[_0x52be6f(0x18c)]!==_0xbc677a['length']||!crypto['timingSafeEqual'](Buffer[_0x52be6f(0x1c1)](_0x50b18f),Buffer['from'](_0xbc677a))||_0x598c32['nonce']!==_0x3ae169||_0x598c32['connectionId']!==_0x5b321c[_0x52be6f(0x164)]||_0x598c32[_0x52be6f(0x1b4)]!==_0x5b321c[_0x52be6f(0x1b4)]||_0x598c32['supervisorPid']!==_0x5b321c[_0x52be6f(0x1a1)])return _0xae52a6(_0x26eb18);const _0xc3ebb4={..._0x598c32};_0xc3ebb4['evidence']=_0x52be6f(0x179),_0xae52a6(_0xc3ebb4);});});}async function probeWorkspaceConnections(_0x13e50e,_0x14a248={}){const _0xca9e1d=_0x649ce1,_0x457bc9=[],_0x4b7a9c=listWorkspaceReceipts(_0x13e50e,_0x457bc9),_0x6f5178=[];for(const _0xfc62d9 of _0x4b7a9c)if(!_0xfc62d9[_0xca9e1d(0x158)])_0x6f5178[_0xca9e1d(0x170)](await probeConnection(_0xfc62d9,_0x14a248));const _0x18efd3=readJson(path[_0xca9e1d(0x15a)](fs[_0xca9e1d(0x1db)](_0x13e50e),'.agents',_0xca9e1d(0x16a),_0xca9e1d(0x1dc))),_0x89dea9=require(_0xca9e1d(0x183))[_0xca9e1d(0x1d9)](_0x13e50e),_0x5177a1=_0x14a248[_0xca9e1d(0x194)]||null,_0x166a87=_0x14a248[_0xca9e1d(0x18e)]||null,_0x293bc8=_0x14a248['resourceDigest']||null,_0x586a2e=Number[_0xca9e1d(0x1c5)](_0x18efd3?.[_0xca9e1d(0x1cb)])&&_0x18efd3['generation']>0x0&&_0x6f5178[_0xca9e1d(0x1a8)](_0x1af16d=>_0x1af16d['generation']===_0x18efd3[_0xca9e1d(0x1cb)]&&[_0xca9e1d(0x194),_0xca9e1d(0x18e),_0xca9e1d(0x16e)][_0xca9e1d(0x1a8)](_0x454360=>_0x1af16d[_0x454360]===_0x18efd3[_0x454360])),_0x454d70=_0x89dea9[_0xca9e1d(0x1b5)]===_0xca9e1d(0x1c3)&&_0x6f5178['length']>0x0&&_0x6f5178[_0xca9e1d(0x1a8)](_0x2fdc1d=>_0x2fdc1d[_0xca9e1d(0x1da)]===_0xca9e1d(0x1ad)&&_0x2fdc1d[_0xca9e1d(0x192)]===!![]&&(!_0x5177a1||_0x2fdc1d[_0xca9e1d(0x194)]===_0x5177a1)&&(!_0x166a87||_0x2fdc1d[_0xca9e1d(0x18e)]===_0x166a87)&&(!_0x293bc8||_0x2fdc1d[_0xca9e1d(0x16e)]===_0x293bc8))&&_0x586a2e,_0x547326=Object[_0xca9e1d(0x1e5)](_0x89dea9[_0xca9e1d(0x160)]||{})[_0xca9e1d(0x1bc)](_0x53715c=>_0x53715c[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x161)&&!_0x6f5178[_0xca9e1d(0x1e1)](_0x310531=>_0x310531['connectionId']===_0x53715c[_0xca9e1d(0x164)])),_0x28eb79={};return _0x28eb79[_0xca9e1d(0x17a)]=_0xca9e1d(0x1d8),{'status':_0x89dea9[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x1c3)?_0xca9e1d(0x1dd):_0x454d70&&!_0x547326[_0xca9e1d(0x18c)]?_0xca9e1d(0x1ad):_0x6f5178[_0xca9e1d(0x18c)]||_0x547326[_0xca9e1d(0x18c)]?_0xca9e1d(0x1a6):_0xca9e1d(0x15e),'connections':_0x6f5178,'confirmed':_0x6f5178[_0xca9e1d(0x1bc)](_0x35b7b1=>_0x35b7b1[_0xca9e1d(0x1b3)]===_0xca9e1d(0x179))['length'],'generation':_0x586a2e?_0x18efd3['generation']:null,'blockers':[..._0x89dea9[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x1c3)?[{'code':'APT_UPDATE_PENDING','state':_0x89dea9[_0xca9e1d(0x1b5)]}]:[],..._0x6f5178['length']&&!_0x586a2e?[_0x28eb79]:[],..._0x547326[_0xca9e1d(0x178)](_0x217bbb=>({'code':'CONNECTION_UNCONFIRMED','connectionId':_0x217bbb['connectionId']}))],'total':_0x6f5178[_0xca9e1d(0x18c)],'foreignWorkspaceStates':_0x457bc9};}function listWorkspaceReceipts(_0x258dd5,_0x13bd87=[]){const _0x55e746=_0x649ce1,_0x57aa53=path[_0x55e746(0x15a)](fs[_0x55e746(0x1db)](_0x258dd5),_0x55e746(0x1bf),'runtime',_0x55e746(0x168));let _0x2f8f90;try{_0x2f8f90=fs[_0x55e746(0x18a)](_0x57aa53)['filter'](_0x250856=>_0x250856[_0x55e746(0x198)](_0x55e746(0x1ef))&&!_0x250856[_0x55e746(0x198)](_0x55e746(0x1f4)));}catch(_0x3387aa){if(_0x3387aa[_0x55e746(0x17a)]===_0x55e746(0x1c4))_0x2f8f90=[];else throw _0x3387aa;}const _0x27d7f8=[];for(const _0x4d3851 of _0x2f8f90){const _0x11320a=readJson(path[_0x55e746(0x15a)](_0x57aa53,_0x4d3851));let _0x406182=!_0x11320a?.[_0x55e746(0x1b4)];try{_0x406182||=require('../core/workspace-path')['sameWorkspace'](_0x11320a['workspace'],_0x258dd5);}catch{}if(!_0x406182){const _0x12d8fa={};_0x12d8fa[_0x55e746(0x17a)]=_0x55e746(0x175),_0x12d8fa['kind']=_0x55e746(0x1e7),_0x12d8fa[_0x55e746(0x164)]=_0x11320a[_0x55e746(0x164)],_0x12d8fa[_0x55e746(0x19e)]=_0x4d3851,_0x13bd87[_0x55e746(0x170)](_0x12d8fa);continue;}if(!_0x11320a)continue;if(_0x11320a[_0x55e746(0x158)]===!![])_0x13bd87[_0x55e746(0x170)]({'code':_0x55e746(0x18b),'connectionId':_0x11320a[_0x55e746(0x164)],'file':_0x4d3851});if(_0x11320a[_0x55e746(0x1ca)]===_0x55e746(0x1b1)||_0x11320a[_0x55e746(0x161)]===!![]||_0x11320a[_0x55e746(0x161)]===undefined&&_0x11320a[_0x55e746(0x192)]===![]&&['host-eof',_0x55e746(0x16d),_0x55e746(0x1ac)]['includes'](_0x11320a[_0x55e746(0x17e)]))continue;_0x27d7f8[_0x55e746(0x170)](_0x11320a);}return _0x27d7f8;}async function reconcileWorkspaceConnections(_0x678c8b,_0x4b47b7={}){const _0x2d2783=_0x649ce1,_0x3ff137=[],_0x2e2f80=listWorkspaceReceipts(_0x678c8b,_0x3ff137),_0x197c0e=[],_0x349e3d=[];for(const _0x391b7b of _0x2e2f80){const _0x28cdb3=await(_0x4b47b7[_0x2d2783(0x1e8)]||probeConnection)(_0x391b7b,_0x4b47b7),_0x48d06d=reconcileProcess(_0x391b7b);let _0xcda228;if(_0x391b7b[_0x2d2783(0x158)])_0xcda228='connecting';else{if(!_0x391b7b[_0x2d2783(0x1b4)])_0xcda228='unbound';else{if(['orphaned',_0x2d2783(0x19a)][_0x2d2783(0x1e9)](_0x48d06d[_0x2d2783(0x1da)]))_0xcda228=_0x48d06d[_0x2d2783(0x1da)]===_0x2d2783(0x1cd)?_0x2d2783(0x1cd):_0x2d2783(0x1c6);else{if(_0x28cdb3[_0x2d2783(0x1b3)]==='authenticated-live-process')_0xcda228=_0x28cdb3['serving']?'live':'connecting';else _0xcda228=_0x48d06d[_0x2d2783(0x1da)]==='orphaned'?_0x2d2783(0x1cd):_0x48d06d[_0x2d2783(0x1da)]===_0x2d2783(0x19a)?_0x2d2783(0x1c6):'ownership-unverified';}}}const _0x337455={};_0x337455[_0x2d2783(0x190)]=_0x391b7b,_0x337455[_0x2d2783(0x19c)]=_0x28cdb3,_0x337455[_0x2d2783(0x163)]=_0xcda228,_0x197c0e[_0x2d2783(0x170)](_0x337455);if(_0xcda228!==_0x2d2783(0x16b))_0x349e3d[_0x2d2783(0x170)]({'code':_0xcda228===_0x2d2783(0x174)?_0x2d2783(0x18b):_0xcda228===_0x2d2783(0x1cd)?_0x2d2783(0x1d2):_0xcda228===_0x2d2783(0x1c6)?_0x2d2783(0x1a4):_0x2d2783(0x19f),'connectionId':_0x391b7b['connectionId'],'classification':_0xcda228,'cause':_0x48d06d[_0x2d2783(0x17a)]||_0x28cdb3[_0x2d2783(0x17a)]||_0x28cdb3[_0x2d2783(0x1da)]});}const _0x2ee801=path[_0x2d2783(0x15a)](fs['realpathSync'](_0x678c8b),_0x2d2783(0x1c9)),_0x22870d=require(_0x2d2783(0x183))[_0x2d2783(0x1d9)](_0x678c8b);for(const _0x288840 of Object[_0x2d2783(0x1e5)](_0x22870d[_0x2d2783(0x160)]||{})){if(_0x288840[_0x2d2783(0x1b5)]===_0x2d2783(0x161)||_0x2e2f80[_0x2d2783(0x1e1)](_0x234fca=>_0x234fca[_0x2d2783(0x164)]===_0x288840[_0x2d2783(0x164)]))continue;let _0xd3ec57=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x2d2783(0x1cc)](_0x288840[_0x2d2783(0x164)]||'')){const _0x222477=readJson(path[_0x2d2783(0x15a)](_0x2ee801,_0x288840['connectionId']+_0x2d2783(0x1ef)));if(_0x222477?.['closed']===!![]&&_0x222477[_0x2d2783(0x1b4)]&&require('../core/workspace-path')['sameWorkspace'](_0x222477[_0x2d2783(0x1b4)],_0x678c8b)&&_0x222477[_0x2d2783(0x1a1)]===_0x288840['supervisorPid']&&typeof _0x222477[_0x2d2783(0x1af)]===_0x2d2783(0x1b8))try{const _0x3ab59a=path['join'](_0x2ee801,_0x2d2783(0x1cf),_0x288840['connectionId']+_0x2d2783(0x1de)),_0x196d30=fs[_0x2d2783(0x15f)](_0x3ab59a)?_0x3ab59a:path[_0x2d2783(0x15a)](_0x678c8b,_0x2d2783(0x1a3),crypto['createHash']('sha256')[_0x2d2783(0x19b)](_0x288840[_0x2d2783(0x164)])[_0x2d2783(0x18e)]('hex')+_0x2d2783(0x1de));if(fs[_0x2d2783(0x165)](_0x196d30)['isSymbolicLink']())throw new Error('Invalid\x20closure\x20key');const {closureMac:_0x2f4fee,..._0xe12df7}=_0x222477,_0x2446db=crypto[_0x2d2783(0x1a5)](_0x2d2783(0x180),fs[_0x2d2783(0x176)](_0x196d30))[_0x2d2783(0x19b)](JSON[_0x2d2783(0x169)](_0xe12df7))[_0x2d2783(0x18e)](_0x2d2783(0x1c0));_0xd3ec57=_0x2446db[_0x2d2783(0x18c)]===_0x2f4fee['length']&&crypto[_0x2d2783(0x162)](Buffer[_0x2d2783(0x1c1)](_0x2446db),Buffer[_0x2d2783(0x1c1)](_0x2f4fee));if(_0xd3ec57&&_0x4b47b7[_0x2d2783(0x187)]===!![])require(_0x2d2783(0x1a0))[_0x2d2783(0x1b0)](_0x678c8b,_0x288840['connectionId'],_0x288840[_0x2d2783(0x1a1)],!![]);}catch{_0xd3ec57=![];}}const _0x442a2c={};_0x442a2c[_0x2d2783(0x17a)]='CONNECTION_UNCONFIRMED',_0x442a2c[_0x2d2783(0x164)]=_0x288840[_0x2d2783(0x164)],_0x442a2c[_0x2d2783(0x163)]=_0x2d2783(0x1f3);const _0x243ea6={};_0x243ea6[_0x2d2783(0x17a)]=_0x2d2783(0x172),_0x243ea6[_0x2d2783(0x164)]=_0x288840[_0x2d2783(0x164)];if(!_0xd3ec57)_0x349e3d[_0x2d2783(0x170)](_0x442a2c);else _0x3ff137[_0x2d2783(0x170)](_0x243ea6);}const _0x554cb0=new Map();for(const _0x15af1f of _0x349e3d){const _0x4d8b9c=_0x15af1f[_0x2d2783(0x17a)]+':'+(_0x15af1f[_0x2d2783(0x18d)]||''),_0x5eb5ee={..._0x15af1f};_0x5eb5ee[_0x2d2783(0x196)]=[];const _0x527310=_0x554cb0['get'](_0x4d8b9c)||_0x5eb5ee;_0x527310[_0x2d2783(0x196)][_0x2d2783(0x170)](_0x15af1f[_0x2d2783(0x164)]),_0x554cb0[_0x2d2783(0x1c8)](_0x4d8b9c,_0x527310);}return{'connections':_0x197c0e,'blockers':_0x349e3d,'blockerGroups':[..._0x554cb0[_0x2d2783(0x1e5)]()],'diagnostics':_0x3ff137};}function _0x456a(_0xe10f84,_0x7ad3f1){_0xe10f84=_0xe10f84-0x158;const _0x3c6746=_0x3c67();let _0x456a01=_0x3c6746[_0xe10f84];if(_0x456a['pfXsHt']===undefined){var _0x4ca6a0=function(_0x2f2ca3){const _0x18ab86='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e882f='',_0x158b2e='';for(let _0xe3758a=0x0,_0x4e348b,_0x862b7e,_0x5469c5=0x0;_0x862b7e=_0x2f2ca3['charAt'](_0x5469c5++);~_0x862b7e&&(_0x4e348b=_0xe3758a%0x4?_0x4e348b*0x40+_0x862b7e:_0x862b7e,_0xe3758a++%0x4)?_0x5e882f+=String['fromCharCode'](0xff&_0x4e348b>>(-0x2*_0xe3758a&0x6)):0x0){_0x862b7e=_0x18ab86['indexOf'](_0x862b7e);}for(let _0x5eceb7=0x0,_0x31802d=_0x5e882f['length'];_0x5eceb7<_0x31802d;_0x5eceb7++){_0x158b2e+='%'+('00'+_0x5e882f['charCodeAt'](_0x5eceb7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x158b2e);};_0x456a['OFlEhp']=_0x4ca6a0,_0x456a['gCIpsS']={},_0x456a['pfXsHt']=!![];}const _0x2f730d=_0x3c6746[0x0],_0x25c7a2=_0xe10f84+_0x2f730d,_0x25dd83=_0x456a['gCIpsS'][_0x25c7a2];return!_0x25dd83?(_0x456a01=_0x456a['OFlEhp'](_0x456a01),_0x456a['gCIpsS'][_0x25c7a2]=_0x456a01):_0x456a01=_0x25dd83,_0x456a01;}function reconcileProcess(_0x30c335){const _0x24f9c6=_0x649ce1,_0x44f7df={};_0x44f7df[_0x24f9c6(0x1da)]=_0x24f9c6(0x182);if(!_0x30c335?.[_0x24f9c6(0x1a1)]||!_0x30c335[_0x24f9c6(0x19d)])return _0x44f7df;try{const _0x160eac=require(_0x24f9c6(0x1eb))[_0x24f9c6(0x188)](_0x30c335[_0x24f9c6(0x1a1)]),_0x4d1f96={};_0x4d1f96[_0x24f9c6(0x1da)]=_0x24f9c6(0x1cd),_0x4d1f96['code']=_0x24f9c6(0x1d2);if(!_0x160eac)return _0x4d1f96;const _0xebf948={};_0xebf948[_0x24f9c6(0x1da)]=_0x24f9c6(0x19a),_0xebf948[_0x24f9c6(0x17a)]='PID_REUSED';if(String(_0x160eac[_0x24f9c6(0x1aa)])!==String(_0x30c335[_0x24f9c6(0x19d)]))return _0xebf948;if(_0x30c335[_0x24f9c6(0x166)]&&_0x30c335[_0x24f9c6(0x1f6)]){const _0x53148a=require(_0x24f9c6(0x1eb))[_0x24f9c6(0x188)](_0x30c335[_0x24f9c6(0x166)]),_0xee0dbc={};_0xee0dbc['status']=_0x24f9c6(0x1cd),_0xee0dbc[_0x24f9c6(0x17a)]=_0x24f9c6(0x167);if(!_0x53148a)return _0xee0dbc;const _0x25375d={};_0x25375d[_0x24f9c6(0x1da)]=_0x24f9c6(0x19a),_0x25375d['code']=_0x24f9c6(0x1ce);if(String(_0x53148a['start'])!==String(_0x30c335[_0x24f9c6(0x1f6)]))return _0x25375d;}const _0xcc31e8={};return _0xcc31e8['status']=_0x24f9c6(0x16b),_0xcc31e8;}catch{const _0x53f9c6={};return _0x53f9c6['status']=_0x24f9c6(0x182),_0x53f9c6;}}const _0xabac7f={};_0xabac7f[_0x649ce1(0x159)]=probeConnection,_0xabac7f[_0x649ce1(0x184)]=controlConnection,_0xabac7f[_0x649ce1(0x15c)]=probeWorkspaceConnections,_0xabac7f[_0x649ce1(0x1e3)]=listWorkspaceReceipts,_0xabac7f[_0x649ce1(0x1df)]=reconcileWorkspaceConnections,module[_0x649ce1(0x1ae)]=_0xabac7f;
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';const _0x237898=_0x4c71;(function(_0x417f93,_0x2c8297){const _0x4abca3=_0x4c71,_0x1aa3ad=_0x417f93();while(!![]){try{const _0x3fb849=-parseInt(_0x4abca3(0x241))/0x1+parseInt(_0x4abca3(0x2f5))/0x2*(parseInt(_0x4abca3(0x23d))/0x3)+parseInt(_0x4abca3(0x201))/0x4*(-parseInt(_0x4abca3(0x2ac))/0x5)+parseInt(_0x4abca3(0x2c9))/0x6*(-parseInt(_0x4abca3(0x1e1))/0x7)+-parseInt(_0x4abca3(0x267))/0x8+parseInt(_0x4abca3(0x1f2))/0x9*(-parseInt(_0x4abca3(0x288))/0xa)+parseInt(_0x4abca3(0x1c1))/0xb;if(_0x3fb849===_0x2c8297)break;else _0x1aa3ad['push'](_0x1aa3ad['shift']());}catch(_0x473dd2){_0x1aa3ad['push'](_0x1aa3ad['shift']());}}}(_0xc45c,0xc66a9));function _0xc45c(){const _0x38d5ff=['AgfUzgXLsg9ZDe1LC3nHz2u','C3rHCNq','Ag9VAY1JB250zxH0','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','CgLWzq','Dg9VBhm','CMvQzwn0','B3zLCNnPEMuTAg9ZDc1TzxnZywDL','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','CMvUyw1Lu3LUyW','D2fPDgLUzW','Aw5WDxq','AxbJ','CMvSzwfZzunVBw1PDhrLzezLBMnL','Ag9ZDc1LCNjVCG','y2XLyxi','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','C3rHDhvZ','y2f0y2G','y29UDgv4Df9SB2fK','Bwv0Ag9K','y29UBMvJDgLVBKLK','CMvHzhK','CMvZDg9Yzq','m1jYD1rjsW','ywn0Aw9U','r0vorvjbveLptL9vtKnptKzjuK1fra','y2fUzgLKyxrLvhvWBgu','mZiYotK3CMPTte5H','Aw5WDxrdAgfPBG','BM9KztP1CMW','BgLUDxG','zgLNzxn0','zgLZy29UBMvJDa','C3rYAw5NAwz5','C2vZC2LVBL9IB290C3rYyxa','C2H1DgrVD24','Dg9VBa','CNvUDgLTzvjVB3q','q0foreLeqvrfx05pvf9srufewq','Dg1WzgLY','AxnbCNjHEq','y29UC3vTzs1YzxbVCNq','y29UDhjVBa','BMf0AxzLq2fSBgvY','uNvUDgLTzsbJAgLSzcbZDgfYDhvWihrPBwvKig91Da','C3DPDgnOuNvUDgLTzq','BwnWx2fNzw50x2HLywX0Aa','zNn5BMntEw5J','C3vWzxj2AxnVCLbPza','vfjbtLnjveLptL9jtL9quK9huKvtuW','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','ywn0AxzHDgLVBG','CMvXDwvZDc1ZDg9W','CMvZDw1L','y2XVC2u','DhjPBq','BM9KztPUzxq','CgfYyw1Z','CMvZB3vYy2vZlwfWCgXPzwq','CMvJDxjZAxzL','C2H1DgrVD25fDMLKzw5Jzq','Dg9VBhmVy2fSBa','B3bLBG','zgvZDhjVEq','CMvSzwfZzxm','otG0mJKWnhjqtxbHBq','Ag9ZDc1LB2y','C3rVChbLza','C2TPBgXFBg9Hza','CMvZB3vYy2veAwDLC3q','ugfYC2uGzxjYB3i','y29UBMvJDgvK','AxnZDwuTy29UDgv4Da','yMfJA2vUza','CM9VDfbHDgG','qunusvzbveLptL9ot1rFufjfuefsruq','y2XVC3vYzvjLz2LZDhjHDgLVBNm','CMvXDwvZDenOAwXK','CgfYC2u','C3rHCNr1Cfn0yxrL','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','ChjLCgfYzwq','ChjLCgfYzq','C3rKB3v0','y3jLyxrLsg1HyW','z2f0zxDHEs1IAw5KAw5N','C3rHCNrZv2L0Aa','DhjHBNnHy3rPB25jza','Dw5SAw5Ru3LUyW','CgvUzgLUzW','ChjLCgfYzs1Jyw5KAwrHDgu','tunqx0rju0npvKvsx0jbq0TftKrt','y2HPBgqTy2XVC2vK','yxnZAwDU','CMvIAw5Kv29YA3nWywnL','C2v0','D2LUmZi','zxHWzwn0zwrcB290','mti3mgnSrMPNtq','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','CMvXDwvZDfjWyW','CMvXDwvZDa','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','yNL0zuXLBMD0Aa','CMfUzg9TqNL0zxm','BwTKAxjtEw5J','yxjNDw1LBNrZ','uKvrvuvtvf9jrf9dt05gteLdva','y2XVC2vtEw5J','DxbKyxrL','CgXHDgzVCM0','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','B3b0Aw9UCW','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','q0HjterFt1DorvjtseLqx1vos05pv04','q0HjterFuKvbreLorvntx01ju01bveni','CMvJzwL2zunVBNrYB2W','zxHWBg9Yzv9JB2rL','BM9KztPJCNLWDg8','Bxv0yxrPB25bBgXVD2vK','zMLUzf9JywXSzwvZ','C3rVCfjLCxvLC3rLza','z3jLCf9ZzwfYy2G','AxntywzLsw50zwDLCG','zgv0ywLS','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','CMvZB2X2zq','C2HHmJu2','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','BgLZDgvU','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','mtuYnZG1qMj4Cu5N','C2L6zq','zxbVy2G','C2v0lwDLBMvYyxrPB24','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','q09otKvdveLptL9ot1rFufjfuefsruq','B3v0Chv0rgvJB2rLCG','zxHWBgLJAxrxB3jRC3bHy2u','lI91CgrHDguTCMvXDwvZDa','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','yMXVy2TLCG','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','mI4W','DgfYz2v0vMvYC2LVBG','D29YA3nWywnLlxjVBgXIywnR','AgfUzhnOywTLq29TCgXLDgu','z2f0zxDHEujPBMrPBMC','Aw5PDgLHBgL6zwq','CMvJB25Uzwn0lxjLCxvPCMvK','ANnVBNjWyW','yM9VDgLUzW','Dg9ju09tDhjPBMC','qurnsvntsu9ox1jftevbu0vFrKfjteve','zgvMzxjjzgvUDgL0Eq','zxHLy3v0B3juAw1LCG','CMvHzezPBgvtEw5J','zxjYB3i','B2zM','DhjHBNnPDgLVBG','mJmXme5Hzu1lta','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','CMvZB3vYy2uTD2fPDa','uNvUDgLTzsbJAgLSzcbJB250CM9SihrPBwvKig91Da','ChjLDMLVDxm','yM9VDfjLC29SDMu','y2XVC2vK','CMfUzg9Tvvvjra','AxnozxDnDxrHDgLVBG','Ag9ZDfnLC3nPB25jza','C3rVCc1MB3iTDxbKyxrL','q0HjterFu1rpuf9vtKnptKzjuK1fra','yM9VDeLKzw50Axr5','ywrTAxnZAw9Uq2XVC2vK','lMTLEq','B3bLBLn5BMm','CMvHBhbHDgHtEw5J','C2vJCMv0','y2HPBgrdBg9Zzwq','B25Jzq','BwfJ','Dg9tDhjPBMC','BM9Uy2u','Dg9VBhmVBgLZDa','zw5K','yxb0t3DUzxjZAgLW','zNjVEMvU','ChjLDMLVDxmTCMvZDg9Yzwq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','DgfYz2v0rgLNzxn0','DgLJA2v0','CMvJzwLWDfbHDgG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29TBwL0DgvKvhjHBNnHy3rPB24','CMvSzwfZzq','zhjHAw5PBMC','ywrTAxnZAw9UlwnOzwnR','CgLWzwXPBMvFC3rHDhvZ','ywn0AxzL','Aw5JBhvKzxm','C2H1DgrVD25by2TUB3DSzwrNzwq','zgLYBMfTzq','yxnZzxj0u3rHCNr1CfjLywr5','y29TBwL0lwnHBMrPzgf0zq','mtq1ntq3neniwu9Atq','ywn0AxzHDgLVBKv2AwrLBMnL','DxrMoa','CMvZDg9Yzs1WCMv2Aw91CW','q0foreLeqvrfx1rvueXfx01ju01bveni','BgLZDgvUzxi','Dg9VBenHDgfSB2DiyxnO','D3jPDgu','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','CgLK','CgvYC2LZDenHBMrPzgf0zq','CNvUDgLTzq','y29TBwL0r2vUzxjHDgLVBG','CMvMCMvZAa','yMXVy2TLCNm','zMLUzgLUzY1YzxnVBhv0Aw9U','t1DorvjtseLqx1vos05pv04','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','BgvUz3rO','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','C2fMzujVDw5Kyxj5','tK9erv9pufrjt05t','CMvXDwLYzvn1ChbVCNrLze5Vzgu','BM9KztPVCW','yM9VDc1LCNjVCG','CMvZDg9Yzwq','y3jLyxrLsgfZAa','y2HHBMDLzef0','C2v0vgLTzw91Da','Dg9mB3DLCKnHC2u','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','Aw5PDgLHBgL6zunHBMrPzgf0zq','CMvJzwL2zuHVC3q','Cgf1C2u','CMvJywXS','q29UBMvJDgLVBLn1CgvYDMLZB3i','CM91DgvFCMvXDwvZDa','C3rKAw4','C3rHDgu','yM9VDfjLAMvJDa','zMLSztO','AxnszwfKt25SEvrVB2W','yM91BMq','y2HPBgrfBNzPCM9UBwvUDa','Aw5PDgLHBgL6zq','lMfNzw50CW','y2fUzgLKyxrLlxjLy292zxj5','D29YA3nWywnL','ywXSB3DLza','DhjHBNnWB3j0','Dw5HDMfPBgfIBgu','zMLUzf9JywXSzxjZ','CMvJzwL2zunOAwXK','y2fUzgLKyxrLugf0Aa','yM91BMrqAxbLBgLUzq','Aw52B2nHDgLVBKLK','Agv4','C3rVCfjLyxnVBG','Aw5WDxrcDwzMzxi','Dxb0Aw1L','lNrYyw5Zywn0Aw9UlMPZB24','Bw9KzwXFBgLZDa','y2f0ywXVz0HHC2G','C3rVCenVzgu','lI91CgrHDguTzxHLy3v0B3i','ywjVCNq','BM9KztPJAgLSzf9WCM9JzxnZ','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','ChjLCgfYzwruCMfUC2fJDgLVBG','y29UDhjVBenHBMrPzgf0zq','uNvUDgLTzsbsuemGDgLTzwqGB3v0','CMvJB3zLCKnHBMrPzgf0zq','CMvHC29U','q0HjterFu1rbuLrFveLnru9vva','y29Kzv9ZzwfYy2G','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','DxnLze5VBMnLCW','B3bLCMf0Aw9UC0vUywjSzwq','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','Dw5Yzwy','DgHLBG','z2v0','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','CMvMCMvZAeLUDMvUDg9YEq','mZK3odGYnZzSB0vkuhq','BwvZC2fNzq','B3DUzxjZAgLWlxvUA25VD24','zhjHAw4','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','r0furvDbwv9csu5esu5hx1jfuvvjuKve','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMvHzf9RBM93BgvKz2u','y2fUzgLKyxrL','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','Bw9Kzq','z2vUzxjHDgLVBG','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','CMvZDwX0','lNnVy2S','u1Djvenix0zbsuXfra','zgvSzxrL','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','Cgf0Aa','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','y29Kzq','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','CMvXDwvZDeLK','y2fUzgLKyxrLlxjLywr5','q0HjterFuLbdx1rjtuvpvvq','q0HjterFvu5bvKfjtefcteu','yxr0zw1WDeLK','C3rVCenOAwXK','q0foreLeqvrfx0nptLrst0XFrKfjteve','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','C3rHCNr1CefSBg93zwq','mZG3oeDXuvfTCq','y2XVC2vszwfZB24','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','zMfPBgvK','y2HPBgq','D29YA3nWywnLlxvWzgf0zq','y2HPBgrqAwq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','BgLZDf9JB2rLx2zPBgvZ','D29YA3nWywnLlwjVDw5K','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','D3jPDgviB3n0','D29YA3nWywnLrM9SzgvYCW','zw5KCg9PBNq','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','zMXHzW','C3rKzxjY','mJmZmZDxqLvQr1u','yxb0lwnVBNrYB2WT','CMvJB3jK','y2XVC2LUzW','C3rHCNrqzw5KAw5NrxHLy3v0B3i','C2XPy2u','Aw5KzxHpzG','B3v0Chv0qNvMzMvY','BM90AwzPy2f0Aw9UCY8','C2vUza','y2HHBgXLBMDL','yM9VDa','y2XVC3vYzu1HyW','y29UBMvJDgLUzW','y2fWDhvYzvjLz2LZDhjHDgLVBNm','mtG4wxLgCfPS','B3bLCMf0Aw9UCY1LBMfIBgvK','BM9KztPMCW','yxb0lw1JCc0','DgvZDa','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','DMvYC2LVBG','qurnsvntsu9ox0nptKzmsunu','qvbux0nptK5fq1rjt05Fsuq','C2vJCMv0ugf0Aa','lNrTCa','y3DK','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','y29UDhjVBenHCgfIAwXPDgLLCW','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','y3jLyxrLu2vYDMvY','AwrLBNrPDhK','D3jPDgvgAwXLu3LUyW','DhLWzq','ChvIBgLJs2v5','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','lI4Vy29Yzs9UB2rLlxzLCNnPB24','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','zgf0yq','BMfTzq','DgLJA2v0CW','lI9YDw50Aw1Llxn0B3jL','CM9VDfvYAq','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','q0HjterFrvHjvf9usu1ft1vu','AM9PBG','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','rvHfq1vut1jFu1rbuLrFrKfjteve'];_0xc45c=function(){return _0x38d5ff;};return _0xc45c();}const fs=require(_0x237898(0x203)),os=require(_0x237898(0x30c)),path=require('node:path'),crypto=require(_0x237898(0x29e)),net=require(_0x237898(0x25e)),{spawn}=require(_0x237898(0x1ae)),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x237898(0x1ca)),{verifyRelease}=require(_0x237898(0x21d)),{acquireRuntimeLock}=require('../core/owned-lock'),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x237898(0x2e9)),{verifyEnvelope}=require('../core/ipc-envelope'),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x237898(0x20d)),hash=_0x522fcb=>crypto[_0x237898(0x30f)](_0x237898(0x2a7))[_0x237898(0x294)](_0x522fcb)[_0x237898(0x245)](_0x237898(0x32d)),atomic=(_0x41234a,_0x4eefba)=>{const _0x54d49e=_0x237898,_0x2f3bff={};_0x2f3bff[_0x54d49e(0x261)]=!![],fs[_0x54d49e(0x290)](path[_0x54d49e(0x2f2)](_0x41234a),_0x2f3bff);const _0x2da021=_0x41234a+'.'+crypto[_0x54d49e(0x2d0)]()+_0x54d49e(0x20b),_0x4b6a88=fs[_0x54d49e(0x2d8)](_0x2da021,'wx',0x180);try{fs[_0x54d49e(0x213)](_0x4b6a88,JSON['stringify'](_0x4eefba)),fs[_0x54d49e(0x255)](_0x4b6a88);}finally{fs[_0x54d49e(0x293)](_0x4b6a88);}fs[_0x54d49e(0x22e)](_0x2da021,_0x41234a);},same=(_0x486de8,_0x4e1de4)=>process[_0x237898(0x295)]===_0x237898(0x286)?_0x486de8[_0x237898(0x312)]()===_0x4e1de4[_0x237898(0x312)]():_0x486de8===_0x4e1de4,messageId=_0x3e903d=>JSON[_0x237898(0x247)](_0x3e903d),waitChildClosed=(_0x5b32a9,_0x6baa87=0x1388)=>new Promise((_0x501b3b,_0x3277ec)=>{const _0x30c558=_0x237898;if(_0x5b32a9['closed'])return _0x501b3b();const _0x19cf88=setTimeout(()=>{const _0x45c493=_0x4c71;_0x5b32a9[_0x45c493(0x2c7)](_0x45c493(0x25c),_0xb25ecd);const _0x11cf5f={};_0x11cf5f[_0x45c493(0x1d6)]=_0x45c493(0x221),_0x3277ec(Object[_0x45c493(0x283)](new Error(_0x45c493(0x1ba)),_0x11cf5f));},_0x6baa87),_0xb25ecd=()=>{clearTimeout(_0x19cf88),_0x501b3b();};_0x5b32a9[_0x30c558(0x2dc)](_0x30c558(0x25c),_0xb25ecd);});function _0x4c71(_0x10b043,_0x40c230){_0x10b043=_0x10b043-0x1a6;const _0xc45cbe=_0xc45c();let _0x4c71a6=_0xc45cbe[_0x10b043];if(_0x4c71['MjBNkb']===undefined){var _0x5a8351=function(_0x2a3e07){const _0xa3aef2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3da858='',_0x558fd2='';for(let _0x5dd6ce=0x0,_0x10a518,_0x40b99f,_0x1eb635=0x0;_0x40b99f=_0x2a3e07['charAt'](_0x1eb635++);~_0x40b99f&&(_0x10a518=_0x5dd6ce%0x4?_0x10a518*0x40+_0x40b99f:_0x40b99f,_0x5dd6ce++%0x4)?_0x3da858+=String['fromCharCode'](0xff&_0x10a518>>(-0x2*_0x5dd6ce&0x6)):0x0){_0x40b99f=_0xa3aef2['indexOf'](_0x40b99f);}for(let _0x5ed23a=0x0,_0x5d9831=_0x3da858['length'];_0x5ed23a<_0x5d9831;_0x5ed23a++){_0x558fd2+='%'+('00'+_0x3da858['charCodeAt'](_0x5ed23a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x558fd2);};_0x4c71['MtiFaL']=_0x5a8351,_0x4c71['QEejey']={},_0x4c71['MjBNkb']=!![];}const _0x2bc465=_0xc45cbe[0x0],_0x5158b2=_0x10b043+_0x2bc465,_0x1459d1=_0x4c71['QEejey'][_0x5158b2];return!_0x1459d1?(_0x4c71a6=_0x4c71['MtiFaL'](_0x4c71a6),_0x4c71['QEejey'][_0x5158b2]=_0x4c71a6):_0x4c71a6=_0x1459d1,_0x4c71a6;}class ConnectionSupervisor{constructor(_0xd73afe={}){const _0x1e0d71=_0x237898;this[_0x1e0d71(0x24b)]=fs[_0x1e0d71(0x2d9)](_0xd73afe[_0x1e0d71(0x24b)]),this[_0x1e0d71(0x2eb)]=fs['realpathSync'](_0xd73afe['release']),this[_0x1e0d71(0x215)]=_0xd73afe[_0x1e0d71(0x215)],this[_0x1e0d71(0x31a)]=_0xd73afe[_0x1e0d71(0x31a)]||process[_0x1e0d71(0x31a)],this[_0x1e0d71(0x279)]=_0xd73afe[_0x1e0d71(0x279)]||process['stdout'],this[_0x1e0d71(0x1f1)]=_0xd73afe[_0x1e0d71(0x1f1)]||process[_0x1e0d71(0x1f1)],this[_0x1e0d71(0x324)]=fs[_0x1e0d71(0x2d9)](_0xd73afe[_0x1e0d71(0x324)]||process[_0x1e0d71(0x20c)]()),this['explicitWorkspace']=_0xd73afe['explicitWorkspace']===!![],this[_0x1e0d71(0x272)]=require(_0x1e0d71(0x21f))[_0x1e0d71(0x200)](this),this[_0x1e0d71(0x2bc)]=_0xd73afe[_0x1e0d71(0x2bc)]||null,this[_0x1e0d71(0x320)]=_0xd73afe[_0x1e0d71(0x320)]||{},this[_0x1e0d71(0x23a)]=_0xd73afe[_0x1e0d71(0x23a)]||crypto[_0x1e0d71(0x2d0)](),this['processStartedAt']=new Date(Date['now']()-process[_0x1e0d71(0x1a7)]()*0x3e8)['toISOString']();try{this[_0x1e0d71(0x1c5)]=processIdentity(process[_0x1e0d71(0x2fe)])?.['start']||null;}catch{this['supervisorProcessStart']=null;}this['bootIdentity']=process['platform']===_0x1e0d71(0x244)?fs[_0x1e0d71(0x2c5)](_0x1e0d71(0x223),_0x1e0d71(0x2f7))[_0x1e0d71(0x25d)]():null,this[_0x1e0d71(0x2da)]=crypto[_0x1e0d71(0x28f)](0x20),this[_0x1e0d71(0x1b8)]=new Set(),this['generation']=0x0,this[_0x1e0d71(0x1e5)]=null,this[_0x1e0d71(0x212)]=null,this[_0x1e0d71(0x27f)]=new Map(),this[_0x1e0d71(0x250)]=new Map(),this['inputBuffer']='',this['inputChain']=Promise[_0x1e0d71(0x2a6)](),this[_0x1e0d71(0x1f9)]='',this['outputDecoder']=new StringDecoder('utf8'),this[_0x1e0d71(0x321)]=null,this[_0x1e0d71(0x2bb)]=![],this[_0x1e0d71(0x2bd)]=![],this[_0x1e0d71(0x2fb)]=null,this['admissionClosed']=![];const _0x522074={};_0x522074[_0x1e0d71(0x1e0)]=!![],_0x522074[_0x1e0d71(0x29f)]=!![],_0x522074[_0x1e0d71(0x236)]=_0x1e0d71(0x23b),this[_0x1e0d71(0x275)]=_0x522074,this['transition']=null,this['stopped']=![],this['activation']=_0x1e0d71(0x1ff),this[_0x1e0d71(0x1c9)]=null,this[_0x1e0d71(0x1ee)]=process[_0x1e0d71(0x295)]===_0x1e0d71(0x286)?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x1e0d71(0x23a)])[_0x1e0d71(0x1f7)](0x0,0x18):path[_0x1e0d71(0x222)](os[_0x1e0d71(0x24d)](),_0x1e0d71(0x204)+hash(this[_0x1e0d71(0x23a)])[_0x1e0d71(0x1f7)](0x0,0x18)+_0x1e0d71(0x1cf));}get[_0x237898(0x2e8)](){const _0x2a1a7d=_0x237898;return path['join'](this[_0x2a1a7d(0x324)],_0x2a1a7d(0x322),'runtime','connections',this['connectionId']+'.json');}get['secretPath'](){const _0x4ad5f1=_0x237898;return path[_0x4ad5f1(0x222)](this[_0x4ad5f1(0x324)],_0x4ad5f1(0x322),'runtime','connections','.secrets',this[_0x4ad5f1(0x23a)]+_0x4ad5f1(0x2d7));}get[_0x237898(0x32a)](){const _0x101321=_0x237898;return path['join'](this['workspace'],_0x101321(0x28d),this[_0x101321(0x23a)]+_0x101321(0x1a8));}[_0x237898(0x2ff)](){const _0x5b7782=_0x237898;atomic(this['candidatePath'],{'connectionId':this[_0x5b7782(0x23a)],'supervisorPid':process[_0x5b7782(0x2fe)],'workspace':this['workspace'],'runtimeRoot':this[_0x5b7782(0x24b)],'candidate':this[_0x5b7782(0x1c9)]});}[_0x237898(0x1b3)](_0x2e55b9){const _0x69b82f=_0x237898;if(this[_0x69b82f(0x1c9)])return;let _0x688143;try{_0x688143=JSON['parse'](fs[_0x69b82f(0x2c5)](this[_0x69b82f(0x32a)],'utf8'));}catch(_0x1ee6c4){if(_0x1ee6c4['code']==='ENOENT')return;throw _0x1ee6c4;}if(_0x688143['connectionId']!==this[_0x69b82f(0x23a)]||_0x688143[_0x69b82f(0x256)]!==process[_0x69b82f(0x2fe)]||!same(_0x688143[_0x69b82f(0x324)],this['workspace'])||!same(_0x688143[_0x69b82f(0x24b)],this[_0x69b82f(0x24b)])||_0x688143[_0x69b82f(0x1c9)]?.[_0x69b82f(0x27d)]!==_0x2e55b9)return;this['candidate']=_0x688143['candidate'];}['commitGeneration'](){const _0x37224b=_0x237898,_0x3bcb25=joinServingGeneration(this['workspace'],{'connectionId':this[_0x37224b(0x23a)],'supervisorPid':process[_0x37224b(0x2fe)],'childPid':this[_0x37224b(0x1e5)]?.[_0x37224b(0x2fe)],'version':this[_0x37224b(0x212)][_0x37224b(0x207)],'digest':this[_0x37224b(0x212)]['digest'],'resourceDigest':this['resourceDigest']});this[_0x37224b(0x1cc)]=_0x3bcb25['generation'],projectGeneration(this[_0x37224b(0x24b)],this[_0x37224b(0x324)],_0x3bcb25);if(this[_0x37224b(0x1e5)]?.['connected'])this[_0x37224b(0x1e5)]['send']({'type':_0x37224b(0x2af),'generation':this['generation']});this[_0x37224b(0x1f4)]();}[_0x237898(0x1f4)](_0xfe645d={}){const _0x493b4b=_0x237898,_0x1dcbab={'connectionId':this[_0x493b4b(0x23a)],'workspace':this['workspace'],'runtimeRoot':this[_0x493b4b(0x24b)],'endpoint':this[_0x493b4b(0x1ee)],'secretFile':this[_0x493b4b(0x20a)],'supervisorPid':process[_0x493b4b(0x2fe)],'childPid':this['child']?.[_0x493b4b(0x2fe)]||null,'version':this[_0x493b4b(0x212)]?.[_0x493b4b(0x207)]||null,'digest':this[_0x493b4b(0x212)]?.[_0x493b4b(0x245)]||null,'resourceDigest':this['resourceDigest']||null,'generation':this['generation'],'catalogHash':this[_0x493b4b(0x2fb)]||null,'supervisorProtocol':0x2,'processStartedAt':this['processStartedAt'],'supervisorProcessStart':this[_0x493b4b(0x1c5)],'childProcessStart':this[_0x493b4b(0x1e5)]?.['pid']?((()=>{const _0x51d943=_0x493b4b;try{return processIdentity(this['child']['pid'])?.[_0x51d943(0x226)]||null;}catch{return null;}})()):null,'processIdentitySource':'runtime-self-observed','bootIdentity':this[_0x493b4b(0x2d5)],'shutdownEvidence':this[_0x493b4b(0x262)]||null,'startupStatus':this[_0x493b4b(0x275)][_0x493b4b(0x236)],'provisional':!this['handshakeComplete'],'lastSeen':new Date()['toISOString'](),'activation':this['activation'],'serving':this[_0x493b4b(0x1e5)]?.[_0x493b4b(0x23b)]===!![]&&!this[_0x493b4b(0x269)],'closed':this[_0x493b4b(0x269)],'observedAt':new Date()['toISOString'](),..._0xfe645d};if(this[_0x493b4b(0x269)])_0x1dcbab[_0x493b4b(0x1fe)]=crypto[_0x493b4b(0x27a)]('sha256',this[_0x493b4b(0x2da)])[_0x493b4b(0x294)](JSON[_0x493b4b(0x247)](_0x1dcbab))['digest'](_0x493b4b(0x32d));atomic(this[_0x493b4b(0x2e8)],_0x1dcbab);}[_0x237898(0x284)](_0x5c3506){const _0x50a02b=_0x237898,_0x3ff9db=fs['realpathSync'](_0x5c3506);if(same(_0x3ff9db,this[_0x50a02b(0x324)]))return;const _0x57b986={};_0x57b986[_0x50a02b(0x1d6)]=_0x50a02b(0x1bb);if(this[_0x50a02b(0x2b3)]||this[_0x50a02b(0x1e5)])throw Object[_0x50a02b(0x283)](new Error('Connection\x20workspace\x20cannot\x20change\x20after\x20binding'),_0x57b986);const _0x24a7de=this[_0x50a02b(0x2e8)],_0x239cce=this['secretPath'];closeMember(this[_0x50a02b(0x324)],this[_0x50a02b(0x23a)],process[_0x50a02b(0x2fe)],!![]),this[_0x50a02b(0x324)]=_0x3ff9db;const _0x1efc12=registerMember(this[_0x50a02b(0x324)],{'connectionId':this[_0x50a02b(0x23a)],'supervisorPid':process[_0x50a02b(0x2fe)],'runtimeRoot':this[_0x50a02b(0x24b)]});this['admissionClosed']=_0x1efc12[_0x50a02b(0x31b)]===_0x50a02b(0x22f);const _0x4fecf3={};_0x4fecf3['recursive']=!![],fs['mkdirSync'](path[_0x50a02b(0x2f2)](this[_0x50a02b(0x20a)]),_0x4fecf3);const _0x491f73={};_0x491f73[_0x50a02b(0x1f0)]='wx',_0x491f73[_0x50a02b(0x1cb)]=0x180,fs[_0x50a02b(0x213)](this[_0x50a02b(0x20a)],this[_0x50a02b(0x2da)],_0x491f73);const _0x2603cc={};_0x2603cc[_0x50a02b(0x23a)]=this[_0x50a02b(0x23a)],_0x2603cc['serving']=![],_0x2603cc['activation']='workspace-rebound',atomic(_0x24a7de,_0x2603cc);try{fs[_0x50a02b(0x27e)](_0x239cce);}catch{}this[_0x50a02b(0x1f4)]();}async['start'](){const _0xab4ec4=_0x237898;require(_0xab4ec4(0x217))[_0xab4ec4(0x30b)](),verifyRelease(this[_0xab4ec4(0x2eb)],this['publicKey']);const _0x1b2137=registerMember(this['workspace'],{'connectionId':this[_0xab4ec4(0x23a)],'supervisorPid':process['pid'],'runtimeRoot':this['runtimeRoot']});this[_0xab4ec4(0x2d6)]=_0x1b2137[_0xab4ec4(0x31b)]===_0xab4ec4(0x22f);const _0x10926e={};_0x10926e[_0xab4ec4(0x261)]=!![],fs[_0xab4ec4(0x290)](path[_0xab4ec4(0x2f2)](this['secretPath']),_0x10926e);const _0x4db700={};return _0x4db700['flag']='wx',_0x4db700[_0xab4ec4(0x1cb)]=0x180,fs['writeFileSync'](this['secretPath'],this[_0xab4ec4(0x2da)],_0x4db700),this[_0xab4ec4(0x2fa)]=net[_0xab4ec4(0x211)](_0x5ac76e=>{const _0x16339d=_0xab4ec4;let _0x40c389='',_0x147428=![];_0x5ac76e[_0x16339d(0x311)](0x1fbd0,()=>_0x5ac76e['destroy']()),_0x5ac76e['on'](_0x16339d(0x21a),_0x4aec55=>{const _0x5c8745=_0x16339d;_0x40c389+=_0x4aec55;if(Buffer[_0x5c8745(0x28e)](_0x40c389)>0x2*0x400*0x400)return _0x5ac76e[_0x5c8745(0x265)]();const _0x17d365=_0x40c389[_0x5c8745(0x1f8)]('\x0a');if(_0x17d365<0x0)return;if(_0x147428)return _0x5ac76e[_0x5c8745(0x265)]();_0x147428=!![];let _0x294079;try{_0x294079=JSON[_0x5c8745(0x274)](_0x40c389[_0x5c8745(0x1f7)](0x0,_0x17d365));}catch{return _0x5ac76e['destroy']();}if(!['challenge','prepare',_0x5c8745(0x25a),'activate',_0x5c8745(0x1ad),_0x5c8745(0x2d3),'prepare-candidate',_0x5c8745(0x2f4),_0x5c8745(0x2f8),_0x5c8745(0x227),'gateway-binding'][_0x5c8745(0x2f0)](_0x294079['type'])||!verifyEnvelope(this[_0x5c8745(0x2da)],_0x294079,this['usedNonces'],this['connectionId']))return _0x5ac76e[_0x5c8745(0x265)]();const _0x49aec1=_0x2da851=>{const _0x91d8f7=_0x5c8745,_0x429907={'nonce':_0x294079[_0x91d8f7(0x2df)],'connectionId':this[_0x91d8f7(0x23a)],'workspace':this['workspace'],'supervisorPid':process[_0x91d8f7(0x2fe)],'childPid':this[_0x91d8f7(0x1e5)]?.[_0x91d8f7(0x2fe)]||null,'generation':this['generation'],'version':this[_0x91d8f7(0x212)]?.[_0x91d8f7(0x207)]||null,'digest':this[_0x91d8f7(0x212)]?.['digest']||null,'resourceDigest':this[_0x91d8f7(0x26b)]||null,'catalogHash':this['toolCatalogHash']||null,'shutdownEvidence':this['shutdownEvidence']||null,'controlCapabilities':this[_0x91d8f7(0x2b7)]||[],'activation':this[_0x91d8f7(0x259)],'serving':this['child']?.[_0x91d8f7(0x23b)]===!![]&&!this[_0x91d8f7(0x269)],..._0x2da851},_0x3f29fa=_0x429907;_0x3f29fa[_0x91d8f7(0x2dd)]=crypto[_0x91d8f7(0x27a)]('sha256',this[_0x91d8f7(0x2da)])[_0x91d8f7(0x294)](JSON['stringify'](_0x3f29fa))[_0x91d8f7(0x245)]('hex'),_0x5ac76e['end'](JSON[_0x91d8f7(0x247)](_0x3f29fa)+'\x0a');};if(_0x294079['type']===_0x5c8745(0x1fc))return _0x49aec1({});const _0xbc4c84={};_0xbc4c84[_0x5c8745(0x236)]=_0x5c8745(0x327),_0xbc4c84[_0x5c8745(0x1d6)]=_0x5c8745(0x1c6);if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x27b))return _0x49aec1(this[_0x5c8745(0x2bc)]&&this['child']?.[_0x5c8745(0x23b)]&&!this['stopped']?{'status':_0x5c8745(0x31f),'binding':this['gatewayBinding']}:_0xbc4c84);if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x227)){const _0x4e1d59={};_0x4e1d59[_0x5c8745(0x236)]=_0x5c8745(0x1e4),_0x4e1d59[_0x5c8745(0x1d6)]=_0x5c8745(0x235);if(readFence(this[_0x5c8745(0x324)])[_0x5c8745(0x31b)]===_0x5c8745(0x2e3)||!this[_0x5c8745(0x1e5)]?.['ready'])return _0x49aec1(_0x4e1d59);const _0x4cdd3e={};_0x4cdd3e[_0x5c8745(0x230)]=_0x294079[_0x5c8745(0x251)],void this[_0x5c8745(0x273)](_0x5c8745(0x26e),_0x4cdd3e)[_0x5c8745(0x1bd)](_0x3786e4=>_0x49aec1(_0x3786e4))['catch'](_0x39b62e=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x39b62e[_0x5c8745(0x1d6)]||_0x5c8745(0x235)}));return;}if([_0x5c8745(0x2d3),'prepare-candidate',_0x5c8745(0x2f4),'restore-previous'][_0x5c8745(0x2f0)](_0x294079[_0x5c8745(0x214)])){void this['controlCandidate'](_0x294079)[_0x5c8745(0x1bd)](_0x49aec1)[_0x5c8745(0x237)](_0x413861=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x413861[_0x5c8745(0x1d6)]||_0x5c8745(0x1de)}));return;}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x1ad)){const _0xe45bf9={};_0xe45bf9[_0x5c8745(0x236)]=_0x5c8745(0x1e4),_0xe45bf9[_0x5c8745(0x1d6)]=_0x5c8745(0x218);if(this['candidate']&&!this['candidate'][_0x5c8745(0x30e)]||readFence(this[_0x5c8745(0x324)])['state']===_0x5c8745(0x2e3))return _0x49aec1(_0xe45bf9);const _0x42df59={};_0x42df59[_0x5c8745(0x236)]=_0x5c8745(0x308),_0x42df59[_0x5c8745(0x1d6)]=_0x5c8745(0x257);if(this[_0x5c8745(0x2c8)])return _0x49aec1(_0x42df59);this[_0x5c8745(0x2d6)]=![];this[_0x5c8745(0x1c9)]?.['restored']&&(this[_0x5c8745(0x1c9)]=null,this[_0x5c8745(0x2ff)]());this[_0x5c8745(0x259)]=this['child']?.[_0x5c8745(0x23b)]?_0x5c8745(0x2ef):'ready-next-connection',this[_0x5c8745(0x1f4)]();const _0x196e5a={};return _0x196e5a[_0x5c8745(0x236)]=this[_0x5c8745(0x259)],_0x49aec1(_0x196e5a);}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x278)){this[_0x5c8745(0x2d6)]=!![],this[_0x5c8745(0x259)]='pending-safe-boundary',this[_0x5c8745(0x1f4)](),void this[_0x5c8745(0x309)]()['then'](_0x8a6390=>_0x49aec1({'status':_0x8a6390[_0x5c8745(0x307)]?'pending-safe-boundary':'safe-boundary','blockers':_0x8a6390}))['catch'](_0xa7a68d=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0xa7a68d[_0x5c8745(0x1d6)]||_0x5c8745(0x305)}));return;}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x25a)){const _0x4f471b=readFence(this[_0x5c8745(0x324)]),_0x478ffd={};_0x478ffd['status']=_0x5c8745(0x1e4),_0x478ffd['code']='ADMISSION_CONFLICT';if(_0x4f471b[_0x5c8745(0x31b)]!=='draining'||!_0x4f471b[_0x5c8745(0x2a1)]||_0x4f471b['transactionId']!==_0x294079['transactionId']||_0x4f471b[_0x5c8745(0x2ae)]!==_0x294079[_0x5c8745(0x2ae)]||_0x4f471b[_0x5c8745(0x2b9)]!==_0x294079[_0x5c8745(0x207)]||_0x4f471b[_0x5c8745(0x2e6)]!==_0x294079['digest'])return _0x49aec1(_0x478ffd);this[_0x5c8745(0x2d6)]=!![],this[_0x5c8745(0x259)]=_0x5c8745(0x308),this['record'](),void this['requestChild'](_0x5c8745(0x25a),{..._0x294079[_0x5c8745(0x297)],'transactionId':_0x294079[_0x5c8745(0x27d)],'epoch':_0x294079['epoch'],'version':_0x294079[_0x5c8745(0x207)],'digest':_0x294079[_0x5c8745(0x245)],'requestsPending':this[_0x5c8745(0x27f)][_0x5c8745(0x2ad)]},0x3a98)[_0x5c8745(0x1bd)](_0x49aec1)['catch'](_0x2852ea=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x2852ea[_0x5c8745(0x1d6)]||'WORKER_STOP_UNCONFIRMED'}));return;}const _0xcc9bbb={};_0xcc9bbb[_0x5c8745(0x236)]='failed',_0xcc9bbb[_0x5c8745(0x1d6)]=_0x5c8745(0x271);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5c8745(0x205)](_0x294079['version']||'')||!/^[a-f0-9]{64}$/[_0x5c8745(0x205)](_0x294079['digest']||'')||!this[_0x5c8745(0x2d6)])return _0x49aec1(_0xcc9bbb);const _0x434606=path[_0x5c8745(0x222)](this['runtimeRoot'],_0x5c8745(0x266),_0x294079[_0x5c8745(0x207)]+'-'+_0x294079['digest']);void this[_0x5c8745(0x253)](_0x434606,Math['max'](0x0,Math['min'](0x78,Number(_0x294079['waitSeconds'])||0x0)))['then'](_0x44c476=>_0x49aec1(_0x44c476))[_0x5c8745(0x237)](_0x400f74=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x400f74[_0x5c8745(0x1d6)]||_0x5c8745(0x1d0)}));});}),await new Promise((_0x34be9d,_0x592e69)=>this[_0xab4ec4(0x2fa)][_0xab4ec4(0x2dc)](_0xab4ec4(0x2c6),_0x592e69)[_0xab4ec4(0x2aa)](this['endpoint'],_0x34be9d)),this[_0xab4ec4(0x1f4)](),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x21a),_0x1f7c52=>this[_0xab4ec4(0x315)](_0x1f7c52)),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x2e1),()=>void this['close'](_0xab4ec4(0x268))),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x2c6),()=>void this[_0xab4ec4(0x25c)](_0xab4ec4(0x233))),this[_0xab4ec4(0x1df)](),this;}[_0x237898(0x1df)](_0x5722d4=0x1388){const _0x2e25d3=_0x237898;clearTimeout(this[_0x2e25d3(0x2c4)]);const _0x2933f8=async()=>{const _0x371623=_0x2e25d3;if(this['stopped']||this[_0x371623(0x1f5)])return;const _0x1e6d0f=this[_0x371623(0x324)];try{await require(_0x371623(0x1ac))[_0x371623(0x1f6)](_0x1e6d0f,this[_0x371623(0x215)]);}catch(_0x21419f){const _0x417ac3={};_0x417ac3['updateBlocker']=_0x21419f[_0x371623(0x1d6)]||_0x371623(0x224);if(this[_0x371623(0x324)]===_0x1e6d0f&&!this[_0x371623(0x269)]&&!this[_0x371623(0x1f5)])this[_0x371623(0x1f4)](_0x417ac3);}!this[_0x371623(0x269)]&&!this[_0x371623(0x1f5)]&&(this[_0x371623(0x2c4)]=setTimeout(_0x2933f8,_0x5722d4),this[_0x371623(0x2c4)][_0x371623(0x1bc)]());};void _0x2933f8();}[_0x237898(0x1ef)](_0x4366e1){const _0xda29b9=_0x237898,_0x3fedbb=_0x4366e1[_0xda29b9(0x25f)]||{},_0x1e14f8=_0x3fedbb[_0xda29b9(0x1ed)]?.[0x0],_0x4d9a99=_0x1e14f8?.[_0xda29b9(0x1d3)]||_0x1e14f8?.['uri']||_0x3fedbb[_0xda29b9(0x270)]||_0x3fedbb[_0xda29b9(0x21e)];if(!_0x4d9a99)return this['workspace'];try{const _0x58a6e1=_0x4d9a99[_0xda29b9(0x27c)](_0xda29b9(0x31d))?require(_0xda29b9(0x243))['fileURLToPath'](_0x4d9a99):_0x4d9a99;return fs[_0xda29b9(0x2d9)](_0x58a6e1);}catch{return this[_0xda29b9(0x324)];}}[_0x237898(0x315)](_0x57d370){const _0x31b1b5=_0x237898;this[_0x31b1b5(0x1a6)]+=_0x57d370[_0x31b1b5(0x2de)](_0x31b1b5(0x2f7));if(this['inputBuffer'][_0x31b1b5(0x307)]>0x8*0x400*0x400)return void this[_0x31b1b5(0x25c)](_0x31b1b5(0x22c));let _0x25e31e;while((_0x25e31e=this[_0x31b1b5(0x1a6)][_0x31b1b5(0x1f8)]('\x0a'))>=0x0){const _0x12e8a2=this['inputBuffer'][_0x31b1b5(0x1f7)](0x0,_0x25e31e);this['inputBuffer']=this[_0x31b1b5(0x1a6)][_0x31b1b5(0x1f7)](_0x25e31e+0x1);if(!_0x12e8a2[_0x31b1b5(0x25d)]())continue;let _0x2d74f7;try{_0x2d74f7=JSON[_0x31b1b5(0x274)](_0x12e8a2);}catch{const _0xaf5666={};_0xaf5666[_0x31b1b5(0x1d6)]=-0x7fbc,_0xaf5666[_0x31b1b5(0x1c2)]=_0x31b1b5(0x26c);const _0x5da399={};_0x5da399[_0x31b1b5(0x2bf)]='2.0',_0x5da399['id']=null,_0x5da399[_0x31b1b5(0x2c6)]=_0xaf5666,this[_0x31b1b5(0x1ec)](_0x5da399);continue;}this[_0x31b1b5(0x242)]=this[_0x31b1b5(0x242)][_0x31b1b5(0x1bd)](()=>this[_0x31b1b5(0x225)](_0x2d74f7,_0x12e8a2))[_0x31b1b5(0x237)](_0x4b68e7=>{const _0x6ff371=_0x31b1b5,_0x1fb309={};_0x1fb309[_0x6ff371(0x1d6)]=-0x7f5b,_0x1fb309[_0x6ff371(0x1c2)]=_0x4b68e7[_0x6ff371(0x1d6)]||_0x6ff371(0x228);if(_0x2d74f7['id']!==undefined)this[_0x6ff371(0x1ec)]({'jsonrpc':_0x6ff371(0x2b8),'id':_0x2d74f7['id'],'error':_0x1fb309});});}}async[_0x237898(0x225)](_0x56fbad,_0x4123fe){const _0x316310=_0x237898;if(this[_0x316310(0x269)])return;if(!_0x56fbad[_0x316310(0x239)])return;if(this[_0x316310(0x1e5)]?.[_0x316310(0x2cf)]&&this[_0x316310(0x259)]==='legacy-ownership-unverified'){const _0x2629d3={};_0x2629d3['code']=-0x7d02,_0x2629d3[_0x316310(0x1c2)]=_0x316310(0x1eb);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x2629d3});return;}if(!this[_0x316310(0x1e5)]&&_0x56fbad['method']==='initialize')this['rebindWorkspace'](this[_0x316310(0x1ef)](_0x56fbad));const _0x4f89a0=readFence(this[_0x316310(0x324)]),_0x3d468f=require(_0x316310(0x2b4))[_0x316310(0x2f3)](this[_0x316310(0x324)]);this[_0x316310(0x275)]=_0x3d468f;if(_0x4f89a0['state']==='frozen'&&_0x3d468f['mutationAllowed']){const _0x4bf298={};_0x4bf298[_0x316310(0x1d6)]=-0x7d01,_0x4bf298[_0x316310(0x1c2)]=_0x316310(0x313);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x4bf298});return;}if(!this['child']&&_0x4f89a0[_0x316310(0x31b)]!=='open'&&_0x3d468f['mutationAllowed']){const _0x4d51d5={};_0x4d51d5[_0x316310(0x1d6)]=-0x7d01,_0x4d51d5['message']=_0x316310(0x1af);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x4d51d5});return;}if(!this[_0x316310(0x1e5)]){if(_0x56fbad['method']!==_0x316310(0x321)){const _0x232b07={};_0x232b07['code']=-0x7d02,_0x232b07[_0x316310(0x1c2)]='APT_RECONNECT_REQUIRED:\x20runtime\x20child\x20stopped;\x20initialize\x20a\x20new\x20MCP\x20session';if(_0x56fbad['id']!==undefined)this['writeHost']({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x232b07});return;}const _0x2e0462=readGeneration(this[_0x316310(0x324)]);if(_0x2e0462){const _0x446c54=path['join'](this[_0x316310(0x24b)],'releases',_0x2e0462[_0x316310(0x207)]+'-'+_0x2e0462[_0x316310(0x245)]),_0x44bdd9=verifyRelease(_0x446c54,this[_0x316310(0x215)]),_0x5e71aa={};_0x5e71aa[_0x316310(0x1d6)]=_0x316310(0x219);if(_0x44bdd9['version']!==_0x2e0462[_0x316310(0x207)]||_0x44bdd9[_0x316310(0x245)]!==_0x2e0462['digest'])throw Object[_0x316310(0x283)](new Error('Committed\x20runtime\x20identity\x20differs'),_0x5e71aa);this['release']=_0x446c54,this[_0x316310(0x1cc)]=_0x2e0462['generation'];}await this[_0x316310(0x1fd)](this[_0x316310(0x2eb)],this['generation']||0x1),this['admissionClosed']=!_0x3d468f['mutationAllowed']||readFence(this['workspace'])[_0x316310(0x31b)]!==_0x316310(0x264);}let _0x350d92;if(_0x3d468f[_0x316310(0x29f)]&&readFence(this['workspace'])[_0x316310(0x31b)]===_0x316310(0x2ec)&&this[_0x316310(0x2d1)](_0x56fbad)){const _0x5af225={};_0x5af225['tool']=_0x56fbad[_0x316310(0x25f)][_0x316310(0x21b)],_0x5af225[_0x316310(0x291)]=_0x56fbad[_0x316310(0x25f)][_0x316310(0x291)],_0x350d92=await this['requestChild'](_0x316310(0x2ed),_0x5af225);}const _0x4674e5=withAdmissionLock(this[_0x316310(0x324)],_0x1cb00e=>{const _0x98315d=_0x316310,_0x501e94=_0x1cb00e[_0x98315d(0x31b)]===_0x98315d(0x2ec)&&_0x350d92?.[_0x98315d(0x325)]===!![]&&_0x350d92[_0x98315d(0x2ae)]===_0x1cb00e['epoch'];if(!_0x3d468f[_0x98315d(0x29f)]){if(_0x56fbad[_0x98315d(0x239)]==='tools/call'&&!this[_0x98315d(0x31e)](_0x56fbad))return![];if(_0x56fbad['id']===undefined)return!![];const _0x3c67f5={};_0x3c67f5[_0x98315d(0x1d6)]=_0x98315d(0x292);if(this[_0x98315d(0x27f)]['has'](messageId(_0x56fbad['id'])))throw Object[_0x98315d(0x283)](new Error(_0x98315d(0x2fd)),_0x3c67f5);const _0x57ba10=this['connectionId']+':'+crypto[_0x98315d(0x2d0)](),_0x48d75c={'invocationId':_0x57ba10,'actorId':_0x98315d(0x326),'attemptId':null,'inputHash':hash(_0x4123fe),'epoch':_0x1cb00e['epoch'],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x98315d(0x2c1)]()};return _0x1cb00e['tickets']||={},_0x1cb00e[_0x98315d(0x21c)][hash(_0x57ba10)]=_0x48d75c,saveLocked(this['workspace'],_0x1cb00e),this[_0x98315d(0x27f)][_0x98315d(0x285)](messageId(_0x56fbad['id']),{'method':_0x56fbad['method'],'tool':_0x56fbad[_0x98315d(0x25f)]?.[_0x98315d(0x21b)]||null,'ticket':_0x48d75c}),!![];}if(_0x1cb00e[_0x98315d(0x31b)]===_0x98315d(0x2e3)||(this['admissionClosed']||['closed',_0x98315d(0x2ec)]['includes'](_0x1cb00e[_0x98315d(0x31b)]))&&this[_0x98315d(0x2d1)](_0x56fbad)&&!_0x501e94)return![];if(_0x56fbad['id']===undefined)return!![];const _0x5d4548={};_0x5d4548['code']=_0x98315d(0x292);if(this[_0x98315d(0x27f)]['has'](messageId(_0x56fbad['id'])))throw Object[_0x98315d(0x283)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x5d4548);const _0x36fef6=this[_0x98315d(0x23a)]+':'+crypto[_0x98315d(0x2d0)](),_0x4fa52d={'invocationId':_0x36fef6,'actorId':_0x98315d(0x326),'attemptId':null,'inputHash':hash(_0x4123fe),'epoch':_0x1cb00e[_0x98315d(0x2ae)],'status':'active','connectionId':this[_0x98315d(0x23a)],'createdAt':new Date()[_0x98315d(0x2c1)]()};return _0x1cb00e[_0x98315d(0x21c)]||={},_0x1cb00e['tickets'][hash(_0x36fef6)]=_0x4fa52d,saveLocked(this['workspace'],_0x1cb00e),this[_0x98315d(0x27f)]['set'](messageId(_0x56fbad['id']),{'method':_0x56fbad['method'],'tool':_0x56fbad[_0x98315d(0x25f)]?.[_0x98315d(0x21b)]||null,'ticket':_0x4fa52d}),!![];});if(!_0x4674e5){const _0x16c6a8={};_0x16c6a8[_0x316310(0x1d6)]=-0x7d01,_0x16c6a8[_0x316310(0x1c2)]=_0x316310(0x258);if(_0x56fbad['id']!==undefined)this['writeHost']({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x16c6a8});return;}if(_0x56fbad[_0x316310(0x239)]===_0x316310(0x321))this[_0x316310(0x321)]=_0x56fbad[_0x316310(0x25f)]||{};if(_0x56fbad[_0x316310(0x239)]==='notifications/initialized')this[_0x316310(0x2bd)]=!![];try{if(this['requiresProcessDispatch'](_0x56fbad))await this[_0x316310(0x1cd)]();!this[_0x316310(0x1e5)][_0x316310(0x31a)][_0x316310(0x2fc)](_0x4123fe+'\x0a')&&(this['stdin'][_0x316310(0x316)](),this['child'][_0x316310(0x31a)][_0x316310(0x2dc)](_0x316310(0x1c4),()=>this['stdin']['resume']()));}catch(_0x4e9687){if(_0x56fbad['id']!==undefined){const _0x1bd089=this[_0x316310(0x27f)][_0x316310(0x1be)](messageId(_0x56fbad['id']));if(_0x1bd089?.[_0x316310(0x2e7)])finishOperation(this[_0x316310(0x324)],_0x1bd089[_0x316310(0x2e7)][_0x316310(0x32c)],_0x1bd089['ticket']['epoch']);this[_0x316310(0x27f)][_0x316310(0x1d1)](messageId(_0x56fbad['id']));}throw _0x4e9687;}}[_0x237898(0x2d1)](_0x5b0bb2){const _0x587c5=_0x237898;if(_0x5b0bb2[_0x587c5(0x239)]!=='tools/call')return![];const _0x3087f2=_0x5b0bb2[_0x587c5(0x25f)]?.[_0x587c5(0x21b)]||'',_0x3fe350=_0x5b0bb2[_0x587c5(0x25f)]?.['arguments']?.[_0x587c5(0x23e)];if(_0x3087f2==='pipeline_checkpoint')return!(_0x5b0bb2[_0x587c5(0x25f)]?.[_0x587c5(0x291)]?.[_0x587c5(0x1dc)]&&['report',_0x587c5(0x24f),_0x587c5(0x2eb),_0x587c5(0x2cb),_0x587c5(0x1d4),'review',_0x587c5(0x304)][_0x587c5(0x2f0)](_0x3fe350));return!this[_0x587c5(0x31e)](_0x5b0bb2);}[_0x237898(0x31e)](_0x366d90){const _0x4f5efc=_0x237898,_0x5d4f8a=_0x366d90['params']?.['name']||'';if([_0x4f5efc(0x2ee),_0x4f5efc(0x1a9),_0x4f5efc(0x254),'session_bootstrap',_0x4f5efc(0x26a),_0x4f5efc(0x238),_0x4f5efc(0x319),'workspace_list',_0x4f5efc(0x1b6),_0x4f5efc(0x2a2),_0x4f5efc(0x1e9),_0x4f5efc(0x328),_0x4f5efc(0x2a0),_0x4f5efc(0x29d),_0x4f5efc(0x317),_0x4f5efc(0x1c8)][_0x4f5efc(0x2f0)](_0x5d4f8a))return!![];return![];}['requiresProcessDispatch'](_0x5c6182){const _0x3117c7=_0x237898;if(_0x5c6182[_0x3117c7(0x239)]==='tools/list')return(this[_0x3117c7(0x320)][_0x3117c7(0x281)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x3117c7(0x321),'ping'][_0x3117c7(0x2f0)](_0x5c6182[_0x3117c7(0x239)])||_0x5c6182[_0x3117c7(0x239)]?.[_0x3117c7(0x27c)](_0x3117c7(0x1fa)))return![];if(_0x5c6182['method']!==_0x3117c7(0x263))return!![];const {name:_0x3a3a92,arguments:_0x1f85c7={}}=_0x5c6182[_0x3117c7(0x25f)]||{};if(_0x3a3a92===_0x3117c7(0x248))return _0x1f85c7[_0x3117c7(0x1c0)]===!![];if(_0x3a3a92===_0x3117c7(0x1a9))return _0x1f85c7[_0x3117c7(0x302)]===!![];if(_0x3a3a92===_0x3117c7(0x254))return Boolean(_0x1f85c7[_0x3117c7(0x26f)]||_0x1f85c7['service']);if(_0x3a3a92===_0x3117c7(0x2ee))return _0x1f85c7['refresh']===!![];return!['skill_load',_0x3117c7(0x238)]['includes'](_0x3a3a92);}async['enableOwnedOperations'](){const _0x2fc9b7=_0x237898,_0x1538ea=this['child'],_0x59efd0={};_0x59efd0[_0x2fc9b7(0x1d6)]=_0x2fc9b7(0x1db);if(!_0x1538ea)throw Object[_0x2fc9b7(0x283)](new Error(_0x2fc9b7(0x1d7)),_0x59efd0);if(_0x1538ea[_0x2fc9b7(0x1b9)])return;_0x1538ea[_0x2fc9b7(0x2a8)]||=((async()=>{const _0x14348c=_0x2fc9b7;await attachOwnedJob(_0x1538ea);const _0x2a96d8=await this['requestChild']('enable-owned-operations'),_0x153118={};_0x153118[_0x14348c(0x1d6)]=_0x14348c(0x29b);if(this['child']!==_0x1538ea||_0x2a96d8['type']!==_0x14348c(0x202)||_0x2a96d8[_0x14348c(0x2fe)]!==_0x1538ea[_0x14348c(0x2fe)]||_0x2a96d8[_0x14348c(0x23a)]!==this[_0x14348c(0x23a)]||_0x2a96d8[_0x14348c(0x1cc)]!==this[_0x14348c(0x1cc)])throw Object[_0x14348c(0x283)](new Error('Process\x20dispatch\x20activation\x20was\x20not\x20confirmed'),_0x153118);_0x1538ea[_0x14348c(0x1b9)]=!![];})());try{await _0x1538ea[_0x2fc9b7(0x2a8)];}catch(_0x5b38b3){_0x1538ea[_0x2fc9b7(0x2a8)]=null;throw _0x5b38b3;}}async['boot'](_0x1ce4a3,_0x5ba0e3){const _0x3a5cfe=_0x237898;if(this[_0x3a5cfe(0x2c0)])return this[_0x3a5cfe(0x2c0)];this[_0x3a5cfe(0x2c0)]=((async()=>{const _0x2b025c=_0x3a5cfe,_0x567502=verifyRelease(_0x1ce4a3,this[_0x2b025c(0x215)]),_0x534110={...process.env,...this['childEnvironment']};_0x534110['APT_SUPERVISOR_CHILD']='1',_0x534110[_0x2b025c(0x209)]=this[_0x2b025c(0x23a)];const _0x4e5e37=_0x534110;delete _0x4e5e37[_0x2b025c(0x30a)];const _0x15abb4=spawn(process['execPath'],[path[_0x2b025c(0x222)](_0x1ce4a3,_0x2b025c(0x2a9))],{'cwd':this[_0x2b025c(0x324)],'stdio':[_0x2b025c(0x229),'pipe',_0x2b025c(0x229),_0x2b025c(0x231)],'detached':process[_0x2b025c(0x295)]!==_0x2b025c(0x286),'windowsHide':!![],'env':_0x4e5e37});this[_0x2b025c(0x1e5)]=_0x15abb4;const _0x24f0ce={};_0x24f0ce[_0x2b025c(0x324)]=this[_0x2b025c(0x324)],_0x24f0ce[_0x2b025c(0x23a)]=this['connectionId'],_0x24f0ce[_0x2b025c(0x24b)]=this[_0x2b025c(0x24b)],_0x24f0ce[_0x2b025c(0x1cc)]=_0x5ba0e3;const _0x1ca6b8={};_0x1ca6b8[_0x2b025c(0x2c3)]=!![],_0x15abb4[_0x2b025c(0x2e2)]=captureOwnedChild(_0x15abb4,_0x24f0ce,_0x1ca6b8);const _0x242306={};_0x242306[_0x2b025c(0x207)]=_0x567502[_0x2b025c(0x207)],_0x242306[_0x2b025c(0x245)]=_0x567502[_0x2b025c(0x245)],_0x242306['generation']=_0x5ba0e3,_0x15abb4[_0x2b025c(0x287)]=_0x242306,_0x15abb4['ready']=![],_0x15abb4['stdout']['on']('data',_0x272dc1=>this['receiveChild'](_0x272dc1,_0x15abb4)),_0x15abb4[_0x2b025c(0x1f1)]['on']('data',_0x23848c=>this[_0x2b025c(0x1f1)][_0x2b025c(0x2fc)](_0x23848c)),_0x15abb4['on'](_0x2b025c(0x1c2),_0x34a8f4=>this[_0x2b025c(0x29c)](_0x34a8f4,_0x15abb4)),_0x15abb4['on'](_0x2b025c(0x25c),(_0x486760,_0x3dc182)=>this[_0x2b025c(0x2db)](_0x15abb4,_0x486760,_0x3dc182)),_0x15abb4['on'](_0x2b025c(0x2c6),_0x2ad206=>_0x15abb4[_0x2b025c(0x31c)]?.(_0x2ad206));const _0x58ac90=new Promise((_0x156d1a,_0x117b86)=>{const _0x451035=_0x2b025c,_0x2e9913={};_0x2e9913[_0x451035(0x1d6)]=_0x451035(0x1b5);const _0x7e7d89=setTimeout(()=>_0x117b86(Object[_0x451035(0x283)](new Error(_0x451035(0x252)),_0x2e9913)),0x3a98);_0x15abb4[_0x451035(0x2ce)]=_0x2433f6=>{clearTimeout(_0x7e7d89),_0x156d1a(_0x2433f6);},_0x15abb4['bootReject']=_0x1b7727=>{clearTimeout(_0x7e7d89),_0x117b86(_0x1b7727);};});_0x58ac90['catch'](()=>{});try{_0x15abb4[_0x2b025c(0x1fb)]({'type':'boot','runtimeRoot':this['runtimeRoot'],'release':_0x1ce4a3,'publicKey':this['publicKey']?.[_0x2b025c(0x2de)](),'connectionId':this['connectionId'],'generation':_0x5ba0e3,'workspace':this[_0x2b025c(0x324)],'explicitWorkspace':this[_0x2b025c(0x2b3)],'gatewayBinding':this[_0x2b025c(0x2bc)]});const _0x2162ea=await _0x58ac90;_0x15abb4['ready']=!![],this[_0x2b025c(0x2b7)]=Array[_0x2b025c(0x24e)](_0x2162ea[_0x2b025c(0x20e)])?_0x2162ea[_0x2b025c(0x20e)]:[],this[_0x2b025c(0x212)]=_0x567502,this[_0x2b025c(0x26b)]=_0x2162ea[_0x2b025c(0x26b)],this[_0x2b025c(0x1cc)]=_0x5ba0e3,this[_0x2b025c(0x259)]=_0x2b025c(0x2b5),this['record']();}catch(_0x23349e){_0x15abb4[_0x2b025c(0x31c)]?.(_0x23349e);try{await attachOwnedJob(_0x15abb4),await stopOwnedChild(_0x15abb4,{'graceMs':0x64,'reason':_0x2b025c(0x206),'graceful':()=>{const _0x445a56=_0x2b025c;if(_0x15abb4[_0x445a56(0x26d)])_0x15abb4[_0x445a56(0x246)]();}});}catch(_0x54faf1){const _0x23a4f5={};_0x23a4f5[_0x2b025c(0x1ab)]=_0x54faf1[_0x2b025c(0x1d6)];throw Object[_0x2b025c(0x283)](_0x23349e,_0x23a4f5);}if(this[_0x2b025c(0x1e5)]===_0x15abb4)this[_0x2b025c(0x1e5)]=null;throw _0x23349e;}})());try{return await this[_0x3a5cfe(0x2c0)];}finally{this[_0x3a5cfe(0x2c0)]=null;}}[_0x237898(0x329)](_0x326b71,_0x5f349b){const _0x4fed30=_0x237898;if(this[_0x4fed30(0x1e5)]!==_0x5f349b)return;const _0xb4b8ad=this[_0x4fed30(0x2b2)][_0x4fed30(0x2fc)](_0x326b71);this['outputBuffer']+=_0xb4b8ad;let _0x432756;while((_0x432756=this[_0x4fed30(0x1f9)][_0x4fed30(0x1f8)]('\x0a'))>=0x0){const _0x1abf72=this[_0x4fed30(0x1f9)][_0x4fed30(0x1f7)](0x0,_0x432756);this[_0x4fed30(0x1f9)]=this[_0x4fed30(0x1f9)]['slice'](_0x432756+0x1);if(!_0x1abf72)continue;let _0x52186b;try{_0x52186b=JSON[_0x4fed30(0x274)](_0x1abf72);}catch{continue;}const _0x51a30c=_0x52186b['id']!==undefined&&this[_0x4fed30(0x250)][_0x4fed30(0x1be)](messageId(_0x52186b['id']));if(_0x51a30c){this[_0x4fed30(0x250)][_0x4fed30(0x1d1)](messageId(_0x52186b['id'])),_0x51a30c[_0x4fed30(0x2a6)](_0x52186b);continue;}const _0x13458c=_0x52186b['id']!==undefined?this[_0x4fed30(0x27f)][_0x4fed30(0x1be)](messageId(_0x52186b['id'])):null;if(_0x13458c){if(_0x13458c[_0x4fed30(0x2e7)])finishOperation(this[_0x4fed30(0x324)],_0x13458c[_0x4fed30(0x2e7)][_0x4fed30(0x32c)],_0x13458c[_0x4fed30(0x2e7)]['epoch']);this[_0x4fed30(0x27f)]['delete'](messageId(_0x52186b['id']));if(_0x13458c['method']===_0x4fed30(0x321)&&!_0x52186b[_0x4fed30(0x2c6)]){try{this[_0x4fed30(0x2bb)]=!![];if(this[_0x4fed30(0x275)][_0x4fed30(0x29f)])this[_0x4fed30(0x301)](),this['activation']=_0x4fed30(0x2ef);else this['activation']='serving-committed-with-pending-update';}catch(_0x575d88){this[_0x4fed30(0x259)]=_0x4fed30(0x2be);const _0x3385b8={};_0x3385b8[_0x4fed30(0x1d6)]=-0x7d01,_0x3385b8[_0x4fed30(0x1c2)]=_0x575d88[_0x4fed30(0x1d6)]||_0x4fed30(0x23f),_0x52186b={'jsonrpc':'2.0','id':_0x52186b['id'],'error':_0x3385b8};}this['record']();if(this[_0x4fed30(0x275)]['mutationAllowed'])void this[_0x4fed30(0x232)]()['catch'](_0x5f4b57=>{const _0x1f6118=_0x4fed30,_0x3eb1b1={};_0x3eb1b1[_0x1f6118(0x2b6)]=_0x5f4b57[_0x1f6118(0x1d6)]||_0x1f6118(0x2c2),this[_0x1f6118(0x1f4)](_0x3eb1b1);});}if(_0x13458c[_0x4fed30(0x239)]===_0x4fed30(0x2e0)&&!_0x52186b[_0x4fed30(0x2c6)])this['toolCatalogHash']=hash(JSON['stringify'](_0x52186b[_0x4fed30(0x1ce)]?.['tools']||[]));}!this['stdout'][_0x4fed30(0x2fc)](JSON['stringify'](_0x52186b)+'\x0a')&&(_0x5f349b[_0x4fed30(0x279)][_0x4fed30(0x316)](),this[_0x4fed30(0x279)]['once'](_0x4fed30(0x1c4),()=>_0x5f349b[_0x4fed30(0x279)][_0x4fed30(0x25b)]()));}}async[_0x237898(0x232)](){const _0x35435f=_0x237898,_0x44fea3=readFence(this[_0x35435f(0x324)]);if(_0x44fea3['state']!=='closed'||_0x44fea3[_0x35435f(0x2b9)]!==this[_0x35435f(0x212)]?.[_0x35435f(0x207)]||_0x44fea3[_0x35435f(0x2e6)]!==this[_0x35435f(0x212)]?.['digest'])return;const _0x30835e=path[_0x35435f(0x222)](this[_0x35435f(0x324)],_0x35435f(0x322),_0x35435f(0x300),'update-transaction.json');let _0x152733;try{_0x152733=JSON['parse'](fs[_0x35435f(0x2c5)](_0x30835e,_0x35435f(0x2f7)));}catch{return;}if(_0x152733[_0x35435f(0x27d)]!==_0x44fea3[_0x35435f(0x27d)]||![_0x35435f(0x260),_0x35435f(0x2be)][_0x35435f(0x2f0)](_0x152733[_0x35435f(0x236)]))return;const _0x8cbd72=await require('./connection-activation')[_0x35435f(0x1c7)](this[_0x35435f(0x324)],{'version':this[_0x35435f(0x212)][_0x35435f(0x207)],'digest':this['identity'][_0x35435f(0x245)],'resourceDigest':this[_0x35435f(0x26b)]});if(_0x8cbd72[_0x35435f(0x236)]!==_0x35435f(0x2ef))return;const _0x5dbf22=changeFence(this[_0x35435f(0x324)],_0x44fea3[_0x35435f(0x2ae)],{'state':_0x35435f(0x264),'transactionId':_0x44fea3[_0x35435f(0x27d)],'generation':this[_0x35435f(0x1cc)]}),_0x913eb3={..._0x152733};_0x913eb3[_0x35435f(0x236)]=_0x35435f(0x2ef),_0x913eb3[_0x35435f(0x2f6)]='authenticated-live-process',_0x913eb3[_0x35435f(0x1cc)]=this['generation'],_0x913eb3['changedAt']=_0x5dbf22[_0x35435f(0x310)],atomic(_0x30835e,_0x913eb3);}[_0x237898(0x29c)](_0x10547b,_0x5b3924){const _0x481e81=_0x237898;if(this[_0x481e81(0x1e5)]!==_0x5b3924)return;if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x23b)){const _0x51bdfd=_0x5b3924[_0x481e81(0x287)],_0x3769c8={};_0x3769c8[_0x481e81(0x1d6)]=_0x481e81(0x29b);if(!_0x51bdfd||_0x10547b['connectionId']!==this['connectionId']||_0x10547b['pid']!==_0x5b3924[_0x481e81(0x2fe)]||_0x10547b['generation']!==_0x51bdfd[_0x481e81(0x1cc)]||_0x10547b[_0x481e81(0x207)]!==_0x51bdfd['version']||_0x10547b[_0x481e81(0x245)]!==_0x51bdfd[_0x481e81(0x245)]||!same(_0x10547b[_0x481e81(0x324)]||'',this[_0x481e81(0x324)]))_0x5b3924['bootReject']?.(Object[_0x481e81(0x283)](new Error(_0x481e81(0x210)),_0x3769c8));else _0x5b3924['bootResolve']?.(_0x10547b);}else{if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x30d))_0x5b3924[_0x481e81(0x31c)]?.(Object[_0x481e81(0x283)](new Error(_0x10547b[_0x481e81(0x2a4)]),{'code':_0x10547b[_0x481e81(0x1d6)]}));else{if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x1ea))this['rebindWorkspace'](_0x10547b[_0x481e81(0x324)]);else{if(_0x10547b?.[_0x481e81(0x1d8)]&&this[_0x481e81(0x250)]['has'](messageId(_0x10547b['requestId']))){if(_0x10547b[_0x481e81(0x214)]===_0x481e81(0x269)&&_0x10547b[_0x481e81(0x2fe)]===_0x5b3924[_0x481e81(0x2fe)]&&_0x10547b['connectionId']===this['connectionId']&&_0x10547b[_0x481e81(0x1cc)]===this[_0x481e81(0x1cc)]&&_0x10547b['registeredOwnersStopped']===!![])_0x5b3924[_0x481e81(0x2f1)]=!![];const _0xd45ac5=this[_0x481e81(0x250)][_0x481e81(0x1be)](messageId(_0x10547b[_0x481e81(0x1d8)]));this[_0x481e81(0x250)][_0x481e81(0x1d1)](messageId(_0x10547b[_0x481e81(0x1d8)])),_0xd45ac5[_0x481e81(0x2a6)](_0x10547b);}}}}}async[_0x237898(0x273)](_0x89d2c,_0x164df1={},_0x13039b=0x1388){const _0x2d3f30=_0x237898,_0x4ff12f={};_0x4ff12f[_0x2d3f30(0x21b)]=_0x164df1[_0x2d3f30(0x230)]?.[_0x2d3f30(0x24a)],_0x4ff12f[_0x2d3f30(0x291)]=_0x164df1[_0x2d3f30(0x230)]?.[_0x2d3f30(0x291)];const _0x2a1e54={};_0x2a1e54['method']=_0x2d3f30(0x263),_0x2a1e54['params']=_0x4ff12f;const _0x8e0b88=_0x89d2c==='issue-context'&&!this[_0x2d3f30(0x306)](_0x2a1e54);if(!['status',_0x2d3f30(0x220)][_0x2d3f30(0x2f0)](_0x89d2c)&&!_0x8e0b88)await this[_0x2d3f30(0x1cd)]();const _0x28ba02={};_0x28ba02[_0x2d3f30(0x1d6)]=_0x2d3f30(0x1db);if(!this[_0x2d3f30(0x1e5)]?.[_0x2d3f30(0x26d)])return Promise[_0x2d3f30(0x22b)](Object[_0x2d3f30(0x283)](new Error(_0x2d3f30(0x1d7)),_0x28ba02));const _0x363165=_0x2d3f30(0x1f3)+crypto[_0x2d3f30(0x2d0)]();return new Promise((_0x4b6ee3,_0x4674e8)=>{const _0x55329a=_0x2d3f30,_0x29073e=setTimeout(()=>{const _0xa1e7a8=_0x4c71;this[_0xa1e7a8(0x250)][_0xa1e7a8(0x1d1)](messageId(_0x363165));const _0x4d1e5d={};_0x4d1e5d[_0xa1e7a8(0x1d6)]='CHILD_CONTROL_TIMEOUT',_0x4674e8(Object[_0xa1e7a8(0x283)](new Error(_0xa1e7a8(0x2cc)),_0x4d1e5d));},_0x13039b);this[_0x55329a(0x250)][_0x55329a(0x285)](messageId(_0x363165),{'resolve':_0x19b0e8=>{clearTimeout(_0x29073e),_0x4b6ee3(_0x19b0e8);}});const _0x4a2e85={'type':_0x89d2c,'requestId':_0x363165,..._0x164df1};this[_0x55329a(0x1e5)][_0x55329a(0x1fb)](_0x4a2e85);});}async['requestRpc'](_0x5b159a,_0x95187d,_0x3a498c=0x2710){const _0x51c105=_0x237898;await this[_0x51c105(0x1cd)]();const _0x2955c8='apt-supervisor-'+crypto[_0x51c105(0x2d0)]();return new Promise((_0x302e20,_0x4ef00f)=>{const _0x5ef8a1=_0x51c105,_0x7b07f5=setTimeout(()=>{const _0x143306=_0x4c71;this[_0x143306(0x250)][_0x143306(0x1d1)](messageId(_0x2955c8));const _0x50df71={};_0x50df71[_0x143306(0x1d6)]=_0x143306(0x1da),_0x4ef00f(Object[_0x143306(0x283)](new Error(_0x143306(0x1b2)),_0x50df71));},_0x3a498c);this[_0x5ef8a1(0x250)][_0x5ef8a1(0x285)](messageId(_0x2955c8),{'resolve':_0x5cf8f6=>{clearTimeout(_0x7b07f5),_0x302e20(_0x5cf8f6);}});const _0x3082a0={};_0x3082a0[_0x5ef8a1(0x2bf)]=_0x5ef8a1(0x2b8),_0x3082a0['id']=_0x2955c8,_0x3082a0['method']=_0x5b159a,_0x3082a0['params']=_0x95187d,this[_0x5ef8a1(0x1e5)][_0x5ef8a1(0x31a)][_0x5ef8a1(0x2fc)](JSON[_0x5ef8a1(0x247)](_0x3082a0)+'\x0a');});}async[_0x237898(0x309)](){const _0x252762=_0x237898;if(this['pending'][_0x252762(0x2ad)])return[{'kind':_0x252762(0x28b),'count':this[_0x252762(0x27f)][_0x252762(0x2ad)]}];const _0x3c7612=await this[_0x252762(0x273)]('status'),_0x21e6d0={};return _0x21e6d0['kind']=_0x252762(0x1c3),_0x3c7612[_0x252762(0x303)]||[_0x21e6d0];}[_0x237898(0x240)](){const _0x4548b7=_0x237898,_0x36e1f5={};return _0x36e1f5[_0x4548b7(0x23a)]=this[_0x4548b7(0x23a)],_0x36e1f5[_0x4548b7(0x324)]=this[_0x4548b7(0x324)],_0x36e1f5[_0x4548b7(0x256)]=process['pid'],_0x36e1f5[_0x4548b7(0x1e7)]=this[_0x4548b7(0x1e5)]?.[_0x4548b7(0x2fe)],_0x36e1f5['version']=this['identity']?.[_0x4548b7(0x207)],_0x36e1f5[_0x4548b7(0x245)]=this[_0x4548b7(0x212)]?.['digest'],_0x36e1f5[_0x4548b7(0x26b)]=this['resourceDigest'],_0x36e1f5[_0x4548b7(0x1aa)]=this[_0x4548b7(0x2fb)],_0x36e1f5[_0x4548b7(0x1cc)]=this['generation'],_0x36e1f5;}async['stopChild'](_0x427a3b){const _0x42e341=_0x237898,_0x7456c6={};_0x7456c6[_0x42e341(0x1d6)]='CHILD_UNAVAILABLE';if(!this['child'])throw Object['assign'](new Error(_0x42e341(0x216)),_0x7456c6);const _0x494c9e=this[_0x42e341(0x1e5)];if(!_0x494c9e[_0x42e341(0x2cf)])await this[_0x42e341(0x1cd)]();else await attachOwnedJob(_0x494c9e);let _0x106b7f=![];const _0x2d3729=await stopOwnedChild(_0x494c9e,{'reason':_0x427a3b,'graceful':async()=>{const _0x4d38d6=_0x42e341,_0x59733b={};_0x59733b[_0x4d38d6(0x1b4)]=_0x427a3b;const _0x558cda=await this['requestChild'](_0x4d38d6(0x249),_0x59733b,0x3a98);_0x106b7f=_0x558cda[_0x4d38d6(0x214)]===_0x4d38d6(0x269)&&_0x558cda['pid']===_0x494c9e[_0x4d38d6(0x2fe)]&&_0x558cda[_0x4d38d6(0x23a)]===this[_0x4d38d6(0x23a)]&&_0x558cda[_0x4d38d6(0x1cc)]===this[_0x4d38d6(0x1cc)]&&_0x558cda[_0x4d38d6(0x2e5)]===!![];}}),_0x3ae436={};_0x3ae436['code']=_0x42e341(0x1e3);if(process[_0x42e341(0x295)]!=='win32'&&!_0x106b7f)throw Object[_0x42e341(0x283)](new Error(_0x42e341(0x20f)),_0x3ae436);const _0x254ba1={..._0x2d3729};_0x254ba1['registeredOwnersStopped']=_0x106b7f,this[_0x42e341(0x262)]=_0x254ba1;if(this[_0x42e341(0x1e5)]===_0x494c9e)this[_0x42e341(0x1e5)]=null;this['outputBuffer']='',this['outputDecoder']=new StringDecoder(_0x42e341(0x2f7));}async['initializeCandidate'](_0x31b027){const _0x214c3e=_0x237898;if(this[_0x214c3e(0x321)]){const _0x46c993=await this[_0x214c3e(0x28a)](_0x214c3e(0x321),this[_0x214c3e(0x321)]),_0x597cb6={};_0x597cb6['code']='CHILD_INITIALIZE_FAILED';if(_0x46c993[_0x214c3e(0x2c6)])throw Object[_0x214c3e(0x283)](new Error(_0x214c3e(0x1b7)),_0x597cb6);const _0x41add0={};_0x41add0['jsonrpc']=_0x214c3e(0x2b8),_0x41add0['method']=_0x214c3e(0x1d2),_0x41add0[_0x214c3e(0x25f)]={};if(this[_0x214c3e(0x2bd)])this[_0x214c3e(0x1e5)][_0x214c3e(0x31a)]['write'](JSON[_0x214c3e(0x247)](_0x41add0)+'\x0a');}const _0x388fc3=await this['requestRpc'](_0x214c3e(0x2e0),{}),_0x32864e=hash(JSON[_0x214c3e(0x247)](_0x388fc3['result']?.[_0x214c3e(0x22a)]||[])),_0x1932af={};_0x1932af[_0x214c3e(0x1d6)]='RECONNECT_REQUIRED';if(_0x388fc3['error']||this[_0x214c3e(0x2fb)]&&_0x32864e!==this[_0x214c3e(0x2fb)])throw Object[_0x214c3e(0x283)](new Error(_0x214c3e(0x299)),_0x1932af);this[_0x214c3e(0x2fb)]=_0x32864e;const _0x5ece8b={};_0x5ece8b[_0x214c3e(0x2d2)]=_0x31b027[_0x214c3e(0x2d2)],_0x5ece8b[_0x214c3e(0x32b)]=_0x31b027['boundPipeline'],await this[_0x214c3e(0x273)](_0x214c3e(0x23c),_0x5ece8b);}async[_0x237898(0x1b1)](_0x371d04){const _0x2eb14e=_0x237898,_0x2a1218=readFence(this[_0x2eb14e(0x324)]),_0x2d49f8={};_0x2d49f8[_0x2eb14e(0x1d6)]=_0x2eb14e(0x208);if(_0x2a1218[_0x2eb14e(0x31b)]!==_0x2eb14e(0x2e3)||_0x371d04[_0x2eb14e(0x27d)]!==_0x2a1218['transactionId']||_0x371d04[_0x2eb14e(0x2ae)]!==_0x2a1218[_0x2eb14e(0x2ae)])throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x2b0)),_0x2d49f8);const _0x4fbb38={};_0x4fbb38['status']='pending-safe-boundary',_0x4fbb38[_0x2eb14e(0x1d6)]=_0x2eb14e(0x257);if(this[_0x2eb14e(0x2c8)])return _0x4fbb38;this[_0x2eb14e(0x1b3)](_0x371d04[_0x2eb14e(0x27d)]),this[_0x2eb14e(0x2d6)]=!![];if(_0x371d04[_0x2eb14e(0x214)]===_0x2eb14e(0x2f4)){const _0x5b47a7={};_0x5b47a7[_0x2eb14e(0x1d6)]=_0x2eb14e(0x2b1);if(!this[_0x2eb14e(0x1c9)]||this[_0x2eb14e(0x1c9)][_0x2eb14e(0x27d)]!==_0x371d04['transactionId']||!this['candidate']['prepared']||!this['child']?.[_0x2eb14e(0x23b)])throw Object[_0x2eb14e(0x283)](new Error('Candidate\x20is\x20not\x20prepared'),_0x5b47a7);const _0x438343=await this[_0x2eb14e(0x273)]('status'),_0x3ba514={};_0x3ba514['code']=_0x2eb14e(0x29b);if(_0x438343[_0x2eb14e(0x2fe)]!==this[_0x2eb14e(0x1e5)][_0x2eb14e(0x2fe)]||_0x438343[_0x2eb14e(0x1cc)]!==_0x371d04[_0x2eb14e(0x1cc)]||!same(_0x438343['workspace'],this[_0x2eb14e(0x324)]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x22d)),_0x3ba514);const _0x937ba3=acknowledgeGeneration(this[_0x2eb14e(0x324)],this[_0x2eb14e(0x23a)],_0x371d04[_0x2eb14e(0x27d)],this[_0x2eb14e(0x240)]());projectGeneration(this[_0x2eb14e(0x24b)],this[_0x2eb14e(0x324)],_0x937ba3),this[_0x2eb14e(0x2eb)]=this[_0x2eb14e(0x1c9)][_0x2eb14e(0x2eb)],this['activation']=_0x2eb14e(0x2ef),this[_0x2eb14e(0x2d6)]=![];const _0x43be4f={};return _0x43be4f[_0x2eb14e(0x2ea)]=_0x937ba3[_0x2eb14e(0x27d)],this[_0x2eb14e(0x1f4)](_0x43be4f),{'status':'active',...this[_0x2eb14e(0x240)]()};}const _0x3b8f97=readGeneration(this[_0x2eb14e(0x324)]),_0x2eb670={};_0x2eb670[_0x2eb14e(0x1d6)]='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x371d04['type']===_0x2eb14e(0x2f8)&&_0x3b8f97?.[_0x2eb14e(0x27d)]===_0x371d04['transactionId'])throw Object['assign'](new Error(_0x2eb14e(0x1d5)),_0x2eb670);if(_0x371d04[_0x2eb14e(0x214)]===_0x2eb14e(0x280)&&this['candidate']?.[_0x2eb14e(0x27d)]===_0x371d04[_0x2eb14e(0x27d)]&&this[_0x2eb14e(0x1c9)][_0x2eb14e(0x277)]&&this[_0x2eb14e(0x1e5)]?.[_0x2eb14e(0x23b)]){const _0x32d88e=this[_0x2eb14e(0x240)](),_0x54fbce={};_0x54fbce[_0x2eb14e(0x1d6)]='CANDIDATE_TUPLE_MISMATCH';if([_0x2eb14e(0x207),_0x2eb14e(0x245),_0x2eb14e(0x1cc),_0x2eb14e(0x26b),'catalogHash']['some'](_0x1d1aea=>_0x32d88e[_0x1d1aea]!==_0x371d04[_0x1d1aea]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x2a5)),_0x54fbce);const _0x56544f=await this[_0x2eb14e(0x273)](_0x2eb14e(0x236)),_0x517bf1={};_0x517bf1['code']=_0x2eb14e(0x29b);if(_0x56544f[_0x2eb14e(0x2fe)]!==_0x32d88e['childPid']||_0x56544f[_0x2eb14e(0x1cc)]!==_0x32d88e[_0x2eb14e(0x1cc)]||!same(_0x56544f[_0x2eb14e(0x324)],this[_0x2eb14e(0x324)]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x22d)),_0x517bf1);const _0x19fb9a={'status':_0x2eb14e(0x1d9),..._0x32d88e};return _0x19fb9a;}this[_0x2eb14e(0x2c8)]=((async()=>{const _0x304f89=_0x2eb14e;if(_0x371d04[_0x304f89(0x214)]===_0x304f89(0x2d3)){if(this[_0x304f89(0x1c9)]?.[_0x304f89(0x27d)]===_0x371d04[_0x304f89(0x27d)]&&this[_0x304f89(0x1c9)][_0x304f89(0x269)]&&this['candidate'][_0x304f89(0x277)]&&!this[_0x304f89(0x1c9)][_0x304f89(0x30e)])return{'status':this[_0x304f89(0x1e5)]?.[_0x304f89(0x23b)]?_0x304f89(0x1d9):'pending-safe-boundary','code':this[_0x304f89(0x1e5)]?.[_0x304f89(0x23b)]?undefined:_0x304f89(0x24c),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this['candidate']?.['transactionId']===_0x371d04[_0x304f89(0x27d)]&&this['candidate'][_0x304f89(0x269)]&&!this[_0x304f89(0x1c9)][_0x304f89(0x30e)]&&!this[_0x304f89(0x1e5)])return{'status':_0x304f89(0x269),'connectionId':this[_0x304f89(0x23a)]};const _0x183722=await this[_0x304f89(0x309)]();if(_0x183722[_0x304f89(0x307)])return{'status':'pending-safe-boundary','blockers':_0x183722};const _0x22f2d6=await this[_0x304f89(0x273)]('status');this[_0x304f89(0x1c9)]={'transactionId':_0x371d04[_0x304f89(0x27d)],'previous':{'release':this[_0x304f89(0x2eb)],'generation':this[_0x304f89(0x1cc)],'resourceDigest':this[_0x304f89(0x26b)],'state':_0x22f2d6}},this['persistCandidate'](),await this[_0x304f89(0x1dd)](_0x304f89(0x1e6)),this[_0x304f89(0x1c9)][_0x304f89(0x269)]=!![],this[_0x304f89(0x2ff)]();const _0x2228a1={};_0x2228a1['stoppedTransaction']=_0x371d04[_0x304f89(0x27d)],this[_0x304f89(0x1f4)](_0x2228a1);const _0x5f20d9={};return _0x5f20d9[_0x304f89(0x236)]=_0x304f89(0x269),_0x5f20d9['connectionId']=this[_0x304f89(0x23a)],_0x5f20d9[_0x304f89(0x262)]=this[_0x304f89(0x262)],_0x5f20d9;}if(_0x371d04['type']==='restore-previous'){const _0xb419c7={};_0xb419c7[_0x304f89(0x1d6)]=_0x304f89(0x29a);if(!this[_0x304f89(0x1c9)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x2ca)),_0xb419c7);const _0x373d97=this[_0x304f89(0x1c9)][_0x304f89(0x2cd)],_0x40af3a={};_0x40af3a[_0x304f89(0x1d6)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x373d97?.[_0x304f89(0x31b)]||!this[_0x304f89(0x1c9)][_0x304f89(0x269)])throw Object[_0x304f89(0x283)](new Error('Previous\x20stop\x20evidence\x20is\x20missing'),_0x40af3a);if(this[_0x304f89(0x1e5)])await this[_0x304f89(0x1dd)](_0x304f89(0x2ba));await this[_0x304f89(0x1fd)](_0x373d97[_0x304f89(0x2eb)],_0x373d97[_0x304f89(0x1cc)]);const _0x46824d={};_0x46824d[_0x304f89(0x1d6)]=_0x304f89(0x2ab);if(this['resourceDigest']!==_0x373d97[_0x304f89(0x26b)])throw Object['assign'](new Error(_0x304f89(0x28c)),_0x46824d);return await this['initializeCandidate'](_0x373d97['state']),this['release']=_0x373d97[_0x304f89(0x2eb)],this[_0x304f89(0x1c9)]={...this[_0x304f89(0x1c9)],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x304f89(0x259)]=_0x304f89(0x308),this[_0x304f89(0x2d6)]=![],this[_0x304f89(0x1f4)](),{'status':_0x304f89(0x2e4),'serving':this[_0x304f89(0x1e5)]?.['ready']===!![],...this[_0x304f89(0x240)]()};}const _0x508deb={};_0x508deb[_0x304f89(0x1d6)]=_0x304f89(0x2f9);if(!Number[_0x304f89(0x2a3)](_0x371d04[_0x304f89(0x1cc)])||_0x371d04[_0x304f89(0x1cc)]<=(this['candidate']?.[_0x304f89(0x2cd)]?.[_0x304f89(0x1cc)]??this['generation'])||_0x371d04['version']!==_0x2a1218[_0x304f89(0x2b9)]||_0x371d04['digest']!==_0x2a1218['targetDigest'])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x508deb);const _0x4136cd=_0x371d04[_0x304f89(0x2eb)]||path[_0x304f89(0x222)](this[_0x304f89(0x24b)],_0x304f89(0x266),_0x371d04[_0x304f89(0x207)]+'-'+_0x371d04[_0x304f89(0x245)]),_0x1f7616=verifyRelease(_0x4136cd,this['publicKey']),_0xdff1fb={};_0xdff1fb['code']=_0x304f89(0x2f9);if(_0x1f7616[_0x304f89(0x207)]!==_0x371d04[_0x304f89(0x207)]||_0x1f7616[_0x304f89(0x245)]!==_0x371d04[_0x304f89(0x245)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x296)),_0xdff1fb);const _0xcc500d={};_0xcc500d[_0x304f89(0x1d6)]=_0x304f89(0x2d4);if(!this[_0x304f89(0x1c9)]?.[_0x304f89(0x269)]||this[_0x304f89(0x1c9)][_0x304f89(0x27d)]!==_0x371d04[_0x304f89(0x27d)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x289)),_0xcc500d);const _0x2499da=this[_0x304f89(0x1c9)]['previous']['state'];this[_0x304f89(0x1c9)][_0x304f89(0x2eb)]=_0x4136cd;if(this[_0x304f89(0x1e5)])await this['stopChild'](_0x304f89(0x323));this[_0x304f89(0x1c9)][_0x304f89(0x277)]=![],this[_0x304f89(0x2ff)](),await this[_0x304f89(0x1fd)](_0x4136cd,_0x371d04['generation']),await this[_0x304f89(0x314)](_0x2499da);const _0x1cb9fa={};_0x1cb9fa[_0x304f89(0x1d6)]=_0x304f89(0x2f9);if(this[_0x304f89(0x26b)]!==_0x371d04[_0x304f89(0x26b)]||this[_0x304f89(0x2fb)]!==_0x371d04[_0x304f89(0x1aa)])throw Object['assign'](new Error('Candidate\x20resources\x20or\x20catalog\x20do\x20not\x20match\x20transaction'),_0x1cb9fa);this[_0x304f89(0x1c9)]['prepared']=!![],this['persistCandidate'](),this[_0x304f89(0x259)]='pending-safe-boundary';const _0x526a46={};return _0x526a46[_0x304f89(0x1b0)]=_0x371d04[_0x304f89(0x27d)],this[_0x304f89(0x1f4)](_0x526a46),{'status':_0x304f89(0x1d9),...this[_0x304f89(0x240)]()};})());try{return await this['transition'];}finally{this['transition']=null;}}async[_0x237898(0x253)](){const _0x408d65=_0x237898,_0x86618a={};return _0x86618a[_0x408d65(0x236)]=_0x408d65(0x2be),_0x86618a['code']=_0x408d65(0x298),_0x86618a;}async[_0x237898(0x2db)](_0x3c975c,_0x46f133,_0x3f00fb){const _0x2d9721=_0x237898;if(this[_0x2d9721(0x1e5)]!==_0x3c975c)return;_0x3c975c['closed']=!![],_0x3c975c[_0x2d9721(0x23b)]=![];const _0x331001={};_0x331001[_0x2d9721(0x1d6)]='CHILD_CLOSED',_0x3c975c['bootReject']?.(Object[_0x2d9721(0x283)](new Error('Runtime\x20child\x20closed'),_0x331001));for(const [_0x18e543]of this[_0x2d9721(0x27f)]){try{const _0x4cd674={};_0x4cd674[_0x2d9721(0x1d6)]=-0x7d02,_0x4cd674['message']='APT_RUNTIME_OUTCOME_UNKNOWN:\x20child\x20closed\x20after\x20request\x20delivery',this[_0x2d9721(0x1ec)]({'jsonrpc':_0x2d9721(0x2b8),'id':JSON[_0x2d9721(0x274)](_0x18e543),'error':_0x4cd674});}catch{}}this[_0x2d9721(0x27f)][_0x2d9721(0x234)]();try{const _0x18cad4={};_0x18cad4[_0x2d9721(0x1b4)]=_0x2d9721(0x1bf),_0x18cad4['graceMs']=0x3e8,await stopOwnedChild(_0x3c975c,_0x18cad4);}catch(_0x34724c){this['activation']=_0x2d9721(0x1e8),this[_0x2d9721(0x2d6)]=!![];const _0x233c97={};_0x233c97[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),_0x233c97['blocker']=_0x34724c[_0x2d9721(0x1d6)]||_0x2d9721(0x1e3),this[_0x2d9721(0x1f4)](_0x233c97);return;}if(this['child']!==_0x3c975c)return;if(process[_0x2d9721(0x295)]!==_0x2d9721(0x286)&&!_0x3c975c[_0x2d9721(0x2f1)]){this[_0x2d9721(0x259)]='legacy-ownership-unverified',this[_0x2d9721(0x2d6)]=!![];const _0x219458={};_0x219458[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),_0x219458[_0x2d9721(0x2b6)]='PROCESS_TREE_STOP_UNCONFIRMED',this[_0x2d9721(0x1f4)](_0x219458);return;}this[_0x2d9721(0x1e5)]=null;if(!this[_0x2d9721(0x2c8)]&&!this[_0x2d9721(0x269)]){this[_0x2d9721(0x321)]=null,this[_0x2d9721(0x2bd)]=![],this[_0x2d9721(0x259)]=_0x2d9721(0x2be),this[_0x2d9721(0x2d6)]=!![];const _0x15353e={};_0x15353e[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),this[_0x2d9721(0x1f4)](_0x15353e);}}['writeHost'](_0x2ab9c4){const _0x57cbab=_0x237898;this[_0x57cbab(0x279)][_0x57cbab(0x2fc)](JSON[_0x57cbab(0x247)](_0x2ab9c4)+'\x0a');}async[_0x237898(0x25c)](_0x47aa40=_0x237898(0x268)){const _0x2830a9=_0x237898;if(this[_0x2830a9(0x2cf)])return;if(this['closing'])return this[_0x2830a9(0x1f5)];this[_0x2830a9(0x2d6)]=!![],clearTimeout(this[_0x2830a9(0x2c4)]),this['closing']=((async()=>{const _0x324660=_0x2830a9;try{if(this[_0x324660(0x1e5)])await this[_0x324660(0x1dd)](_0x47aa40);closeMember(this['workspace'],this[_0x324660(0x23a)],process['pid'],!![]),this['stopped']=!![],this[_0x324660(0x1e2)]=_0x47aa40,require('./registration-closure')[_0x324660(0x276)](this),await new Promise(_0x4b2445=>this[_0x324660(0x2fa)]?.[_0x324660(0x25c)](_0x4b2445)||_0x4b2445()),this['activation']='ready-next-connection';const _0x455091={};_0x455091[_0x324660(0x32e)]=_0x47aa40,this[_0x324660(0x1f4)](_0x455091);try{fs[_0x324660(0x27e)](this['secretPath']);}catch{}if(process[_0x324660(0x295)]!==_0x324660(0x286))try{fs[_0x324660(0x27e)](this['endpoint']);}catch{}this[_0x324660(0x2cf)]=!![];}catch(_0x563880){this[_0x324660(0x259)]=_0x324660(0x1e8);const _0x5bcae5={};_0x5bcae5['stopReason']=_0x47aa40,_0x5bcae5[_0x324660(0x2b6)]=_0x563880['code']||'CHILD_STOP_UNCONFIRMED',this['record'](_0x5bcae5);throw _0x563880;}})());try{return await this[_0x2830a9(0x1f5)];}finally{this['closing']=null;}}}const _0x5081b1={};_0x5081b1[_0x237898(0x318)]=ConnectionSupervisor,module['exports']=_0x5081b1;
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 _0x464b4c=_0x3551;function _0x3551(_0x271efa,_0x30e2ae){_0x271efa=_0x271efa-0x168;const _0xe36a29=_0xe36a();let _0x355183=_0xe36a29[_0x271efa];if(_0x3551['rQPPER']===undefined){var _0x5eb151=function(_0x12501c){const _0x486dae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x15f781='',_0x4d8940='';for(let _0x59c95b=0x0,_0x34ea71,_0x4934b8,_0x4e70a8=0x0;_0x4934b8=_0x12501c['charAt'](_0x4e70a8++);~_0x4934b8&&(_0x34ea71=_0x59c95b%0x4?_0x34ea71*0x40+_0x4934b8:_0x4934b8,_0x59c95b++%0x4)?_0x15f781+=String['fromCharCode'](0xff&_0x34ea71>>(-0x2*_0x59c95b&0x6)):0x0){_0x4934b8=_0x486dae['indexOf'](_0x4934b8);}for(let _0x4df1fc=0x0,_0x21be4c=_0x15f781['length'];_0x4df1fc<_0x21be4c;_0x4df1fc++){_0x4d8940+='%'+('00'+_0x15f781['charCodeAt'](_0x4df1fc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d8940);};_0x3551['jKtrmg']=_0x5eb151,_0x3551['nmVgEe']={},_0x3551['rQPPER']=!![];}const _0xa6f38e=_0xe36a29[0x0],_0xf695f5=_0x271efa+_0xa6f38e,_0x1f5ec9=_0x3551['nmVgEe'][_0xf695f5];return!_0x1f5ec9?(_0x355183=_0x3551['jKtrmg'](_0x355183),_0x3551['nmVgEe'][_0xf695f5]=_0x355183):_0x355183=_0x1f5ec9,_0x355183;}(function(_0x419d94,_0x1cb877){const _0x39796a=_0x3551,_0x4548ce=_0x419d94();while(!![]){try{const _0x2a5eb6=parseInt(_0x39796a(0x176))/0x1*(-parseInt(_0x39796a(0x181))/0x2)+-parseInt(_0x39796a(0x19d))/0x3*(-parseInt(_0x39796a(0x197))/0x4)+-parseInt(_0x39796a(0x16b))/0x5+-parseInt(_0x39796a(0x173))/0x6+parseInt(_0x39796a(0x180))/0x7*(-parseInt(_0x39796a(0x17e))/0x8)+parseInt(_0x39796a(0x188))/0x9+parseInt(_0x39796a(0x16f))/0xa;if(_0x2a5eb6===_0x1cb877)break;else _0x4548ce['push'](_0x4548ce['shift']());}catch(_0x5664d2){_0x4548ce['push'](_0x4548ce['shift']());}}}(_0xe36a,0xd8af6));const fs=require(_0x464b4c(0x169)),path=require('node:path'),crypto=require('node:crypto'),{containsWorkspace,sameWorkspace}=require(_0x464b4c(0x1bf)),{ResourceTransaction}=require(_0x464b4c(0x199)),hash=_0x15b19b=>crypto[_0x464b4c(0x1aa)](_0x464b4c(0x1a2))['update'](_0x15b19b)[_0x464b4c(0x16d)](_0x464b4c(0x17f));class DeploymentDraft{constructor(_0x26d4ee){const _0x48bc3e=_0x464b4c;this[_0x48bc3e(0x1a7)]=fs[_0x48bc3e(0x170)](_0x26d4ee),this[_0x48bc3e(0x19e)]=new Map(),this[_0x48bc3e(0x1b6)]=new Map(),this[_0x48bc3e(0x19b)]=new Set();const _0x27e587={};_0x27e587['isFile']=()=>!![],_0x27e587[_0x48bc3e(0x1b2)]=()=>![];const _0x5b5464={};_0x5b5464[_0x48bc3e(0x1c4)]=()=>![],_0x5b5464['isDirectory']=()=>!![],this['fs']={'existsSync':_0x3a9f0b=>this[_0x48bc3e(0x189)](_0x3a9f0b),'readFileSync':(_0xfc8b5a,_0x1c7431)=>this[_0x48bc3e(0x16a)](_0xfc8b5a,_0x1c7431),'writeFileSync':(_0xcf7e00,_0x294cb2,_0x5ebb8e)=>this[_0x48bc3e(0x195)](_0xcf7e00,_0x294cb2,_0x5ebb8e),'appendFileSync':(_0x42aca1,_0x327ed3)=>this[_0x48bc3e(0x195)](_0x42aca1,Buffer[_0x48bc3e(0x19f)]([this['exists'](_0x42aca1)?this[_0x48bc3e(0x16a)](_0x42aca1):Buffer['alloc'](0x0),Buffer[_0x48bc3e(0x1b4)](_0x327ed3)])),'copyFileSync':(_0x50e3cc,_0x5c2117)=>this[_0x48bc3e(0x195)](_0x5c2117,this[_0x48bc3e(0x16a)](_0x50e3cc)),'renameSync':(_0x4070be,_0x5aca1e)=>{const _0x33fd02=_0x48bc3e;this[_0x33fd02(0x195)](_0x5aca1e,this['read'](_0x4070be)),this[_0x33fd02(0x1bd)](_0x4070be);},'unlinkSync':_0x1db29a=>this['remove'](_0x1db29a),'mkdirSync':_0x4a39d5=>this['directories']['add'](this[_0x48bc3e(0x18c)](_0x4a39d5)),'rmdirSync':_0x1aff02=>this['directories'][_0x48bc3e(0x1a4)](this[_0x48bc3e(0x18c)](_0x1aff02)),'statSync':_0x92e74=>this[_0x48bc3e(0x19e)][_0x48bc3e(0x1b3)](path[_0x48bc3e(0x18f)](_0x92e74))&&this[_0x48bc3e(0x19e)]['get'](path[_0x48bc3e(0x18f)](_0x92e74))!==null?_0x27e587:this[_0x48bc3e(0x19b)][_0x48bc3e(0x1b3)](path[_0x48bc3e(0x18f)](_0x92e74))?_0x5b5464:fs['statSync'](_0x92e74),'readdirSync':_0x4a4ee2=>this[_0x48bc3e(0x172)](_0x4a4ee2),'realpathSync':_0x2eb831=>fs[_0x48bc3e(0x170)](_0x2eb831)};}[_0x464b4c(0x18c)](_0x4ea177){const _0xda28e9=_0x464b4c,_0x59c64a=path[_0xda28e9(0x18f)](_0x4ea177),_0x557ed1=path[_0xda28e9(0x1c3)](this[_0xda28e9(0x1a7)],_0x59c64a);let _0x1bd4b7=_0x59c64a;while(!fs[_0xda28e9(0x1c7)](_0x1bd4b7)&&path[_0xda28e9(0x168)](_0x1bd4b7)!==_0x1bd4b7)_0x1bd4b7=path['dirname'](_0x1bd4b7);const _0x427649={};_0x427649['code']=_0xda28e9(0x17a);if(_0x557ed1==='..'||_0x557ed1[_0xda28e9(0x1ba)]('..'+path['sep'])||path[_0xda28e9(0x177)](_0x557ed1)||!sameWorkspace(_0x1bd4b7,this['workspace'])&&!containsWorkspace(this['workspace'],_0x1bd4b7))throw Object[_0xda28e9(0x19c)](new Error(_0xda28e9(0x194)),_0x427649);return _0x59c64a;}[_0x464b4c(0x189)](_0x4a1298){const _0x44afa6=_0x464b4c;_0x4a1298=path[_0x44afa6(0x18f)](_0x4a1298);if(this[_0x44afa6(0x19e)][_0x44afa6(0x1b3)](_0x4a1298))return this[_0x44afa6(0x19e)][_0x44afa6(0x1b8)](_0x4a1298)!==null;return this['directories'][_0x44afa6(0x1b3)](_0x4a1298)||fs['existsSync'](_0x4a1298);}[_0x464b4c(0x191)](_0x28cabd){const _0x3439ac=_0x464b4c;if(this[_0x3439ac(0x1b6)][_0x3439ac(0x1b3)](_0x28cabd))return;try{this['originals'][_0x3439ac(0x1a9)](_0x28cabd,fs[_0x3439ac(0x190)](_0x28cabd));}catch(_0x20fe8a){if(_0x20fe8a[_0x3439ac(0x1bc)]==='ENOENT')this[_0x3439ac(0x1b6)][_0x3439ac(0x1a9)](_0x28cabd,null);else throw _0x20fe8a;}}[_0x464b4c(0x16a)](_0x2a6941,_0x535eb0){const _0x1b9737=_0x464b4c;_0x2a6941=path[_0x1b9737(0x18f)](_0x2a6941);let _0x198edd;if(this[_0x1b9737(0x19e)][_0x1b9737(0x1b3)](_0x2a6941))_0x198edd=this['files'][_0x1b9737(0x1b8)](_0x2a6941);else{_0x198edd=fs['readFileSync'](_0x2a6941);const _0x226ad8=path[_0x1b9737(0x1c3)](this['workspace'],_0x2a6941);if(_0x226ad8&&_0x226ad8!=='..'&&!_0x226ad8['startsWith']('..'+path[_0x1b9737(0x18e)])&&!path['isAbsolute'](_0x226ad8)&&!this[_0x1b9737(0x1b6)]['has'](_0x2a6941))this[_0x1b9737(0x1b6)][_0x1b9737(0x1a9)](_0x2a6941,Buffer[_0x1b9737(0x1b4)](_0x198edd));}const _0x222fb6={};_0x222fb6[_0x1b9737(0x1bc)]=_0x1b9737(0x1ae);if(_0x198edd===null)throw Object[_0x1b9737(0x19c)](new Error(_0x1b9737(0x1c5)),_0x222fb6);const _0x1e3222=typeof _0x535eb0===_0x1b9737(0x171)?_0x535eb0:_0x535eb0?.[_0x1b9737(0x1b9)];return _0x1e3222?_0x198edd['toString'](_0x1e3222):Buffer[_0x1b9737(0x1b4)](_0x198edd);}[_0x464b4c(0x195)](_0x5521ee,_0x1297a8,_0x130bb7){const _0x3fb209=_0x464b4c;_0x5521ee=this[_0x3fb209(0x18c)](_0x5521ee);const _0x105a80={};_0x105a80[_0x3fb209(0x1bc)]=_0x3fb209(0x1c1);if(_0x130bb7?.['flag']==='wx'&&this[_0x3fb209(0x189)](_0x5521ee))throw Object[_0x3fb209(0x19c)](new Error('Draft\x20file\x20exists'),_0x105a80);this['remember'](_0x5521ee),this[_0x3fb209(0x19e)][_0x3fb209(0x1a9)](_0x5521ee,Buffer[_0x3fb209(0x1b4)](_0x1297a8)),this[_0x3fb209(0x19b)][_0x3fb209(0x175)](path[_0x3fb209(0x168)](_0x5521ee));}['remove'](_0x210b84){const _0x421efa=_0x464b4c;_0x210b84=this[_0x421efa(0x18c)](_0x210b84),this[_0x421efa(0x191)](_0x210b84),this['files']['set'](_0x210b84,null);}['entries'](_0x29b704){const _0x5f386b=_0x464b4c;_0x29b704=path[_0x5f386b(0x18f)](_0x29b704);let _0x1ae89c;try{_0x1ae89c=new Set(fs['readdirSync'](_0x29b704));}catch(_0x2b04a3){if(_0x2b04a3[_0x5f386b(0x1bc)]===_0x5f386b(0x1ae))_0x1ae89c=new Set();else throw _0x2b04a3;}for(const [_0x27f071,_0x181265]of this[_0x5f386b(0x19e)])if(path[_0x5f386b(0x168)](_0x27f071)===_0x29b704){if(_0x181265===null)_0x1ae89c[_0x5f386b(0x1a4)](path['basename'](_0x27f071));else _0x1ae89c['add'](path[_0x5f386b(0x1a0)](_0x27f071));}for(const _0x469849 of this[_0x5f386b(0x19b)])if(path['dirname'](_0x469849)===_0x29b704)_0x1ae89c[_0x5f386b(0x175)](path[_0x5f386b(0x1a0)](_0x469849));return[..._0x1ae89c];}[_0x464b4c(0x17c)](){const _0x2eac0c=_0x464b4c;return[...this[_0x2eac0c(0x19e)]][_0x2eac0c(0x16e)](([_0x1cce2e,_0x16cb20])=>{const _0x5179e0=_0x2eac0c,_0x1be178=this[_0x5179e0(0x1b6)][_0x5179e0(0x1b8)](_0x1cce2e);return _0x16cb20===null?_0x1be178!==null:_0x1be178===null||!_0x16cb20['equals'](_0x1be178);})[_0x2eac0c(0x1be)](([_0x2f0f7c,_0x225bcc])=>({'path':path[_0x2eac0c(0x1c3)](this[_0x2eac0c(0x1a7)],_0x2f0f7c)[_0x2eac0c(0x183)]('\x5c','/'),'type':_0x225bcc===null?_0x2eac0c(0x1a4):_0x2eac0c(0x1c6),'bytes':_0x225bcc,'managedHash':this[_0x2eac0c(0x1b6)][_0x2eac0c(0x1b8)](_0x2f0f7c)===null?null:hash(this[_0x2eac0c(0x1b6)][_0x2eac0c(0x1b8)](_0x2f0f7c))}));}}function prepareProject(_0x427f47){const _0x3d1492=_0x464b4c,_0x272748=new DeploymentDraft(_0x427f47[_0x3d1492(0x1c8)]),_0x3929ad={};_0x3929ad[_0x3d1492(0x1b7)]=[];const _0x493076={..._0x427f47,'fileSystem':_0x272748['fs'],'preparation':!![],..._0x427f47['registrationHosts']?_0x3929ad:{}},_0x1b0aa2=require(_0x3d1492(0x192))[_0x3d1492(0x18d)](_0x493076),_0x40d37e=path[_0x3d1492(0x1a3)](_0x272748[_0x3d1492(0x1a7)],_0x3d1492(0x185),_0x3d1492(0x18b)),_0xd2ae8b=_0x272748[_0x3d1492(0x17c)]();if(_0xd2ae8b[_0x3d1492(0x193)](_0x19b267=>_0x19b267['path']==='.agents/manifest.json')&&fs['existsSync'](_0x40d37e)){const _0x4c92fb=fs[_0x3d1492(0x190)](_0x40d37e),_0xa3a0c1=_0x520e14=>{const {deployedAt:_0x5a6c27,previousVersion:_0xb72767,contextMigrations:_0x3631ee,..._0x2b8e12}=_0x520e14;return _0x2b8e12;},_0x1e311e=JSON[_0x3d1492(0x1c9)](_0x4c92fb);require(_0x3d1492(0x1a5))[_0x3d1492(0x1c2)](_0xa3a0c1(_0x1e311e),_0xa3a0c1(_0x1b0aa2[_0x3d1492(0x1ab)]))&&!_0x1b0aa2[_0x3d1492(0x1ab)][_0x3d1492(0x1b1)][_0x3d1492(0x1bb)]&&(_0x272748['fs'][_0x3d1492(0x19a)](_0x40d37e,_0x4c92fb),_0x1b0aa2[_0x3d1492(0x1ab)]=_0x1e311e);}const _0x129da3={};_0x129da3[_0x3d1492(0x179)]=_0x427f47['transactionId'];const _0x1444f0=ResourceTransaction[_0x3d1492(0x198)](_0x272748[_0x3d1492(0x1a7)],_0x272748[_0x3d1492(0x17c)](),_0x129da3);for(const _0x42b93f of _0x1b0aa2[_0x3d1492(0x1ab)]['pendingUpdates'])_0x1444f0[_0x3d1492(0x1ad)]['conflicts'][_0x3d1492(0x187)]({'path':_0x42b93f,'code':'RESOURCE_CUSTOM_CONFLICT','required':!![]});_0x1444f0[_0x3d1492(0x17d)]();const _0x3bfd43={};_0x3bfd43[_0x3d1492(0x184)]=_0x3d1492(0x178),_0x3bfd43[_0x3d1492(0x174)]=[];let _0x93331b,_0x59fda8=_0x3bfd43;try{_0x93331b=_0x427f47[_0x3d1492(0x16c)]&&require(_0x3d1492(0x1af))['RegistrationPlan']['prepare']({'workspace':_0x272748[_0x3d1492(0x1a7)],'transactionId':_0x1444f0[_0x3d1492(0x1ad)][_0x3d1492(0x179)],'launcher':_0x427f47[_0x3d1492(0x1ac)],'hosts':_0x427f47[_0x3d1492(0x16c)],'scope':_0x427f47[_0x3d1492(0x1b0)]||_0x3d1492(0x182),'projectScopeVerified':_0x427f47[_0x3d1492(0x186)]||{}});}catch(_0x516069){if(![_0x3d1492(0x1a6),_0x3d1492(0x1a1)][_0x3d1492(0x18a)](_0x516069[_0x3d1492(0x1bc)]))throw _0x516069;const _0x4df967={};_0x4df967[_0x3d1492(0x1bc)]=_0x516069[_0x3d1492(0x1bc)];const _0x4524f0={};_0x4524f0[_0x3d1492(0x184)]=_0x3d1492(0x196),_0x4524f0[_0x3d1492(0x174)]=[_0x4df967],_0x59fda8=_0x4524f0;}const _0x37575c={};return _0x37575c[_0x3d1492(0x1c0)]=_0x1444f0,_0x37575c[_0x3d1492(0x1a8)]=_0x93331b,_0x37575c['registrationMigration']=_0x59fda8,_0x37575c['deployment']=_0x1b0aa2,_0x37575c['indexRequested']=_0x427f47[_0x3d1492(0x1b5)]===!![],_0x37575c;}const _0x3adb01={};_0x3adb01['DeploymentDraft']=DeploymentDraft,_0x3adb01[_0x464b4c(0x17b)]=prepareProject,module['exports']=_0x3adb01;function _0xe36a(){const _0x20b668=['zgvWBg95uhjVAMvJDa','C2vW','CMvZB2X2zq','CMvHzezPBgvtEw5J','CMvTzw1Izxi','lI9WCM9Qzwn0lxnLDhvW','zxzLCNK','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','D3jPDgu','BwLNCMf0Aw9UlxjLCxvPCMvK','nJHAz05wA2K','ChjLCgfYzq','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','D3jPDgvgAwXLu3LUyW','zgLYzwn0B3jPzxm','yxnZAwDU','mJmYmde3tNLvDK5N','zMLSzxm','y29Uy2f0','yMfZzw5HBwu','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','C2HHmJu2','AM9PBG','zgvSzxrL','BM9KztP1DgLS','tunqx01jr1jbveLptL9srvfvsvjfra','D29YA3nWywnL','CMvNAxn0CMf0Aw9UugXHBG','C2v0','y3jLyxrLsgfZAa','BwfUAwzLC3q','CNvUDgLTzuXHDw5JAgvYugf0Aa','CgXHBG','ru5pru5u','lI9YzwDPC3rYyxrPB24TCgXHBG','BwnWu2nVCgu','y29UDgv4De1Pz3jHDgLVBNm','AxneAxjLy3rVCNK','AgfZ','zNjVBq','CMvIDwLSzeLUzgv4','B3jPz2LUywXZ','BwnWq29UzMLNvgfYz2v0CW','z2v0','zw5JB2rPBMC','C3rHCNrZv2L0Aa','BgvUz3rO','y29Kzq','CMvTB3zL','BwfW','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','CMvZB3vYy2vqBgfU','ruvysvnu','AxnezwvWu3rYAwn0rxf1ywW','CMvSyxrPDMu','AxngAwXL','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','CMvWBgfJzq','zxHPC3rZu3LUyW','ChjVAMvJDfbHDgG','CgfYC2u','zgLYBMfTzq','BM9KztPMCW','CMvHza','odi2nti4meDWufjWza','CMvNAxn0CMf0Aw9Usg9ZDhm','zgLNzxn0','zMLSDgvY','mtCXmZKWntbns3L2qNq','CMvHBhbHDgHtEw5J','C3rYAw5N','zw50CMLLCW','mtC0nZjtrMDdsLC','yMXVy2TLCNm','ywrK','otDQzgneB1q','AxnbyNnVBhv0zq','BM90lxjLCxvPCMvK','DhjHBNnHy3rPB25jza','uKvtt1vsq0vFuefusf9fu0nbueu','ChjLCgfYzvbYB2PLy3q','y2HHBMDLCW','C2f2zq','mtq0mde2A1DLA3jL','Agv4','ndeZyvLuvfzt','mJy3nLnLuxvIyG','yxv0BW','CMvWBgfJzufSBa','C3rHDhvZ','lMfNzw50CW','ChjVAMvJDfnJB3bLvMvYAwzPzwq','ChvZAa','nJm2mdCXneTjsK1muW','zxHPC3rZ','Aw5JBhvKzxm','BwfUAwzLC3qUANnVBG','D3jPDgfIBgu'];_0xe36a=function(){return _0x20b668;};return _0xe36a();}
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;