apt-mcp-agent-setup 3.5.4 → 3.5.5

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 (119) 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 +119 -119
  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/host-hooks.js +1 -1
  81. package/src/installer/legacy-registration.js +1 -1
  82. package/src/installer/managed-config.js +1 -1
  83. package/src/installer/platform-config.js +1 -1
  84. package/src/installer/prerequisites.js +1 -1
  85. package/src/installer/presentations.js +1 -1
  86. package/src/installer/project-setup.js +1 -1
  87. package/src/installer/registration-closure.js +1 -1
  88. package/src/installer/registration-plan.js +1 -1
  89. package/src/installer/registration-receipt.js +1 -1
  90. package/src/installer/registrations.js +1 -1
  91. package/src/installer/runtime-activation.js +1 -1
  92. package/src/installer/runtime-child.js +1 -1
  93. package/src/installer/runtime-lock.js +1 -1
  94. package/src/installer/runtime-store.js +1 -1
  95. package/src/installer/runtime-supervisor.js +1 -1
  96. package/src/installer/setup-wizard.js +1 -1
  97. package/src/installer/update-addons.js +1 -1
  98. package/src/installer/update-cleanup.js +1 -1
  99. package/src/installer/update-executor.js +1 -1
  100. package/src/installer/update-registration.js +1 -1
  101. package/src/installer/update-request.js +1 -1
  102. package/src/installer/update-scope.js +1 -1
  103. package/src/installer/workspace-registry.js +1 -1
  104. package/src/installer/workspace-transaction.js +1 -1
  105. package/src/installer/workspace-update.js +1 -1
  106. package/src/license/crypto.js +1 -1
  107. package/src/license/fingerprint.js +1 -1
  108. package/src/license/terms.js +1 -1
  109. package/src/license/verify.js +1 -1
  110. package/src/presets/index.js +1 -1
  111. package/src/proxy/backends.js +1 -1
  112. package/src/proxy/browser-sessions.js +1 -1
  113. package/src/proxy/core-tools.js +1 -1
  114. package/src/proxy/pipeline.js +1 -1
  115. package/src/proxy/public-catalog.js +1 -1
  116. package/src/proxy/router.config.js +1 -1
  117. package/src/proxy/router.js +1 -1
  118. package/src/proxy/server.js +1 -1
  119. 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 _0x35c955=_0x2561;function _0x2d02(){const _0x3391fd=['DxrMoa','BwvTyMvYCW','z2v0','B3DUzxjZAgLWlxvUDMvYAwzPzwq','CgfYC2u','nwzyC1vtuG','BMf0AxzLq2fSBgvY','Aw5JBhvKzxm','y29UBMvJDgLVBKLK','zxjYB3i','DgLTzw91De1Z','Dw5RBM93BG','C2fTzvDVCMTZCgfJzq','AxntEw1IB2XPy0XPBMS','u0vduKvux1voqvzbsuXbqKXf','A2LUza','CMvXDwvZDc1ZDg9W','zMfPBgvK','nda4uLHjuNPl','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','nZqWota1t3LHA2HP','lMPZB24','y29UBMvJDgLVBNm','CMvHzgrPCLn5BMm','Agv4','nZy3nta2mLDAwMDrBW','y3jLyxrLsgfZAa','ChjVB2y','zxzLCNK','C3rHDgu','C3rYAw5N','Ag9ZDc1LCNjVCG','ChvZAa','mJyXmty1z3n3yLfp','C2v0','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','q0HjterFufjpq0vtu19puLbiqu5fra','mteZmJG5ntjXEMzArLe','y29UDhjVBenVBM5Ly3rPB24','mtKYqxr2uuPl','y2XVC2vK','ywn0AxzHDgLVBG','zgLNzxn0','DhjHBNnHy3rPB25jza','BM9KztPJCNLWDg8','zgvZDhjVEwvK','ChjLCgfYzs1Jyw5KAwrHDgu','B3jWAgfUzwq','BwfJ','ywjVCNq','zw5KC1DPDgG','ChjLCgfYzq','y2XHC3nPzMLJyxrPB24','C2HHmJu2','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','C29Tzq','y2XVC2vnzw1Izxi','y29Kzq','zgvZDhjVEq','CMvZB3vYy2veAwDLC3q','ChjVDMLZAw9UywW','C3rHDhvZ','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','ywn0AxzL','CNvUDgLTzq','zMLSzq','y2HPBgrqAwq','y29UBMvJDgLUzW','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ueLex1jfvvnfra','CMv1C2vK','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','q09ovfjptf9usu1ft1vu','D2fPDfnLy29Uzhm','CMvSzwfZzq','ufjpqKvFrKfjteve','B3bLBG','Aw5KzxHpzG','Dw5IB3vUza','zMLSDgvY','C3rVCfjLyxnVBG','zxbVy2G','Ag9VAY1JB250zxH0','sw52ywXPzcbJBg9ZDxjLigTLEq','y2HPBgrqCM9JzxnZu3rHCNq','CMvHBhbHDgHtEw5J','DMfSDwvZ','C3vWzxj2AxnVCI1ZAhv0zg93BG','DgLTAw5Nu2fMzuvXDwfS','y29UBMvJDgLVBG','C3vWzxj2AxnVCLbPza','q09ovfjptf9gquLmruq','y3jLyxrLsg1HyW','y2XVC3vYzu1HyW','DhLWzq','DxbKyxrL','q09ovfjptf9nsvnnqvrdsa','q09otKvdveLptL9puLbiqu5fra','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','q09otKvdveLptL9vtKnptKzjuK1fra','zNjVBq','DMvYC2LVBG','C2XPy2u','q09ovfjptf9vtKfwquLmqujmrq','D29YA3nWywnL','CgLKlxjLDxnLza','lMfNzw50CW','yxbWBhK','n0XkruzrBq','D3jPDgu','z2vUzxjHDgLVBG','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','CMvZDg9Yzs1WCMv2Aw91CW','BgL2zq','DgvZDa','ufjpqKvFveLnru9vva','y29TBwL0lwnHBMrPzgf0zq','ufjpqKvFsu5wquXjra','ChjVy2vZC0LKzw50Axr5','lI4Vy29Yzs9PCgmTzw52zwXVCgu','zw5KCg9PBNq','zxHWB3j0CW','y29UBMvJDa','C2vYDMLUzW','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','BM9KztPMCW','y29UBMvJDgLVBKLKCW','y2f0ywXVz0HHC2G','BM9Uy2u','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ChjVDg9JB2W','q09ovfjptf9pvKvsu0LArq','CMvHzezLBMnL','mJbKsK1Yu3e','D29YA3nWywnLlxjLyM91BMq','C3rVCc1MB3iTDxbKyxrL','odmWmtaYneDNr2DgrG','BM9KztPWyxrO','lNnLy3jLDhm','ru5pru5u','CMfUzg9Tvvvjra','lMTLEq','q09otKvdveLptL9tvefsvf9qru5esu5h','q0HjterFueLex1jfvvnfra','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','C2v0vgLTzw91Da','ufjpqKvFt1zfuLnjwKu','C3rYAw5NAwz5','mJa0nZy4mgfKv0nMwa','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','C2vJCMv0rMLSzq','CMvJB25Uzwn0lxjLCxvPCMvK','zxzPzgvUy2u','BgvUz3rO','AM9PBG','nZC5nMnRrfbqtG','zgf0yq','r0vorvjbveLptL9vtKnptKzjuK1fra','CMvHzezPBgvtEw5J'];_0x2d02=function(){return _0x3391fd;};return _0x2d02();}(function(_0x256fe4,_0x501d57){const _0x4a84b1=_0x2561,_0x388655=_0x256fe4();while(!![]){try{const _0x2872f7=-parseInt(_0x4a84b1(0x1d4))/0x1*(parseInt(_0x4a84b1(0x1a9))/0x2)+parseInt(_0x4a84b1(0x1ce))/0x3*(parseInt(_0x4a84b1(0x233))/0x4)+-parseInt(_0x4a84b1(0x1b2))/0x5*(-parseInt(_0x4a84b1(0x1c6))/0x6)+-parseInt(_0x4a84b1(0x21a))/0x7*(-parseInt(_0x4a84b1(0x1d2))/0x8)+parseInt(_0x4a84b1(0x236))/0x9+-parseInt(_0x4a84b1(0x242))/0xa+-parseInt(_0x4a84b1(0x1c1))/0xb*(parseInt(_0x4a84b1(0x1bf))/0xc);if(_0x2872f7===_0x501d57)break;else _0x388655['push'](_0x388655['shift']());}catch(_0x2d6167){_0x388655['push'](_0x388655['shift']());}}}(_0x2d02,0xc5ab5));function _0x2561(_0x212ccb,_0x162c14){_0x212ccb=_0x212ccb-0x1a6;const _0x2d029f=_0x2d02();let _0x2561a3=_0x2d029f[_0x212ccb];if(_0x2561['mOoPPS']===undefined){var _0x4b3559=function(_0x1682e7){const _0x50d439='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x58b8fb='',_0x29e57c='';for(let _0x28d922=0x0,_0x5ddf28,_0x40d4ae,_0x117a7f=0x0;_0x40d4ae=_0x1682e7['charAt'](_0x117a7f++);~_0x40d4ae&&(_0x5ddf28=_0x28d922%0x4?_0x5ddf28*0x40+_0x40d4ae:_0x40d4ae,_0x28d922++%0x4)?_0x58b8fb+=String['fromCharCode'](0xff&_0x5ddf28>>(-0x2*_0x28d922&0x6)):0x0){_0x40d4ae=_0x50d439['indexOf'](_0x40d4ae);}for(let _0x21c954=0x0,_0x37a195=_0x58b8fb['length'];_0x21c954<_0x37a195;_0x21c954++){_0x29e57c+='%'+('00'+_0x58b8fb['charCodeAt'](_0x21c954)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x29e57c);};_0x2561['qzlCNB']=_0x4b3559,_0x2561['KGQUds']={},_0x2561['mOoPPS']=!![];}const _0x348ef4=_0x2d029f[0x0],_0x595adf=_0x212ccb+_0x348ef4,_0x19ea8c=_0x2561['KGQUds'][_0x595adf];return!_0x19ea8c?(_0x2561a3=_0x2561['qzlCNB'](_0x2561a3),_0x2561['KGQUds'][_0x595adf]=_0x2561a3):_0x2561a3=_0x19ea8c,_0x2561a3;}const fs=require(_0x35c955(0x22b)),path=require(_0x35c955(0x237)),crypto=require(_0x35c955(0x1d9)),net=require('node:net'),{signEnvelope}=require(_0x35c955(0x225)),readJson=_0x3dcacc=>{const _0x5dba4f=_0x35c955;try{return JSON[_0x5dba4f(0x1b1)](fs[_0x5dba4f(0x1ac)](_0x3dcacc,_0x5dba4f(0x1ad)));}catch{return null;}};async function probeConnection(_0x16db41,_0x1b1535={}){const _0x14fb42=_0x35c955;if(!_0x16db41?.[_0x14fb42(0x226)]||!_0x16db41?.[_0x14fb42(0x244)]||!_0x16db41?.['connectionId'])return{'status':_0x14fb42(0x1d0),'connectionId':_0x16db41?.['connectionId']||null};let _0x30d807;try{_0x30d807=fs[_0x14fb42(0x1ac)](_0x16db41[_0x14fb42(0x244)]);}catch{const _0x1e61d2={};return _0x1e61d2[_0x14fb42(0x1ea)]=_0x14fb42(0x245),_0x1e61d2[_0x14fb42(0x1b5)]=_0x16db41['connectionId'],_0x1e61d2['code']=_0x14fb42(0x1bb),_0x1e61d2;}const _0x53596e=crypto[_0x14fb42(0x23a)](),_0x430c63={};_0x430c63[_0x14fb42(0x230)]=0x2,_0x430c63[_0x14fb42(0x20c)]='challenge',_0x430c63[_0x14fb42(0x1b5)]=_0x16db41[_0x14fb42(0x1b5)],_0x430c63[_0x14fb42(0x22e)]=_0x53596e;const _0x443a3c=_0x430c63;return _0x443a3c[_0x14fb42(0x1dd)]=signEnvelope(_0x30d807,_0x443a3c),new Promise(_0x5d470a=>{const _0x15616b=_0x14fb42,_0x46f2ab=net[_0x15616b(0x228)](_0x16db41[_0x15616b(0x226)]);let _0x5e595a='';const _0x55599e=_0x169f66=>{const _0x1e5edc=_0x15616b;if(!_0x46f2ab[_0x1e5edc(0x1da)])_0x46f2ab[_0x1e5edc(0x1e7)]();_0x5d470a(_0x169f66);},_0x31e570={};_0x31e570[_0x15616b(0x1ea)]=_0x15616b(0x245),_0x31e570[_0x15616b(0x1e6)]=_0x15616b(0x221),_0x46f2ab['setTimeout'](_0x1b1535[_0x15616b(0x1b7)]||0x9c4,()=>_0x55599e(_0x31e570)),_0x46f2ab['on'](_0x15616b(0x1b6),_0x481be1=>_0x55599e({'status':_0x15616b(0x245),'code':_0x481be1['code']||_0x15616b(0x1f9)})),_0x46f2ab['on'](_0x15616b(0x228),()=>_0x46f2ab[_0x15616b(0x21b)](JSON[_0x15616b(0x241)](_0x443a3c)+'\x0a')),_0x46f2ab['on'](_0x15616b(0x1aa),_0xb687c4=>{const _0x33c7f3=_0x15616b;_0x5e595a+=_0xb687c4;const _0x160bdb={};_0x160bdb['status']=_0x33c7f3(0x1be),_0x160bdb['code']=_0x33c7f3(0x240);if(_0x5e595a[_0x33c7f3(0x1a7)]>0x2000)return _0x55599e(_0x160bdb);const _0x1b8161=_0x5e595a[_0x33c7f3(0x1fb)]('\x0a');if(_0x1b8161<0x0)return;let _0x74129d;try{_0x74129d=JSON['parse'](_0x5e595a[_0x33c7f3(0x214)](0x0,_0x1b8161));}catch{const _0x1b60d7={};return _0x1b60d7[_0x33c7f3(0x1ea)]=_0x33c7f3(0x1be),_0x1b60d7[_0x33c7f3(0x1e6)]=_0x33c7f3(0x223),_0x55599e(_0x1b60d7);}const {mac:_0x4d1766,..._0x42d950}=_0x74129d,_0x461974=crypto[_0x33c7f3(0x20a)](_0x33c7f3(0x1e2),_0x30d807)[_0x33c7f3(0x20d)](JSON[_0x33c7f3(0x241)](_0x42d950))['digest']('hex');if(typeof _0x4d1766!==_0x33c7f3(0x1cb)||_0x4d1766[_0x33c7f3(0x1a7)]!==_0x461974['length']||!crypto[_0x33c7f3(0x206)](Buffer['from'](_0x4d1766),Buffer['from'](_0x461974))||_0x42d950['nonce']!==_0x53596e||_0x42d950[_0x33c7f3(0x1b5)]!==_0x16db41[_0x33c7f3(0x1b5)]||_0x42d950['workspace']!==_0x16db41[_0x33c7f3(0x216)]||_0x42d950[_0x33c7f3(0x208)]!==_0x16db41['supervisorPid']||_0x42d950[_0x33c7f3(0x21c)]!==_0x16db41[_0x33c7f3(0x21c)]||_0x42d950[_0x33c7f3(0x1ef)]!==_0x16db41['childPid']||_0x42d950[_0x33c7f3(0x213)]!==_0x16db41['version']||_0x42d950[_0x33c7f3(0x1d7)]!==_0x16db41[_0x33c7f3(0x1d7)]||_0x42d950[_0x33c7f3(0x1e8)]!==_0x16db41['resourceDigest'])return _0x55599e({'status':_0x33c7f3(0x1be),'code':'PROBE_MISMATCH','connectionId':_0x16db41[_0x33c7f3(0x1b5)]});const _0x5ea819={'status':_0x42d950[_0x33c7f3(0x1d6)],..._0x42d950};_0x5ea819[_0x33c7f3(0x1a6)]='authenticated-live-process',_0x55599e(_0x5ea819);});});}async function controlConnection(_0x5a0bb2,_0x2b95b0,_0x1c2c9f={}){const _0x15d35c=_0x35c955,_0x3ccbb7={};_0x3ccbb7[_0x15d35c(0x1ea)]=_0x15d35c(0x1be),_0x3ccbb7[_0x15d35c(0x1e6)]=_0x15d35c(0x215);if(![_0x15d35c(0x1e0),_0x15d35c(0x1bd),'activate',_0x15d35c(0x1de),_0x15d35c(0x235),_0x15d35c(0x1db),_0x15d35c(0x222),_0x15d35c(0x21e),_0x15d35c(0x200),'gateway-binding'][_0x15d35c(0x1b4)](_0x2b95b0)||!_0x5a0bb2?.[_0x15d35c(0x226)]||!_0x5a0bb2?.[_0x15d35c(0x244)])return _0x3ccbb7;let _0x3b2f57;try{_0x3b2f57=fs[_0x15d35c(0x1ac)](_0x5a0bb2[_0x15d35c(0x244)]);}catch{const _0x4fff84={};return _0x4fff84['status']='failed',_0x4fff84[_0x15d35c(0x1e6)]='SECRET_UNAVAILABLE',_0x4fff84;}const _0x443748=crypto[_0x15d35c(0x23a)](),_0x1278fc=_0x1c2c9f['version']||'',_0x1f69a6=_0x1c2c9f[_0x15d35c(0x1d7)]||'',_0x3205b0={};_0x3205b0[_0x15d35c(0x230)]=0x2,_0x3205b0[_0x15d35c(0x1b5)]=_0x5a0bb2[_0x15d35c(0x1b5)],_0x3205b0[_0x15d35c(0x20c)]=_0x2b95b0,_0x3205b0['nonce']=_0x443748,_0x3205b0[_0x15d35c(0x213)]=_0x1278fc,_0x3205b0['digest']=_0x1f69a6,_0x3205b0[_0x15d35c(0x1f7)]=_0x1c2c9f[_0x15d35c(0x1f7)],_0x3205b0[_0x15d35c(0x1d8)]=_0x1c2c9f['transactionId'],_0x3205b0[_0x15d35c(0x1ff)]=_0x1c2c9f[_0x15d35c(0x1ff)],_0x3205b0[_0x15d35c(0x21c)]=_0x1c2c9f[_0x15d35c(0x21c)],_0x3205b0['resourceDigest']=_0x1c2c9f[_0x15d35c(0x1e8)],_0x3205b0[_0x15d35c(0x22d)]=_0x1c2c9f['catalogHash'],_0x3205b0[_0x15d35c(0x1f8)]=_0x1c2c9f['release'],_0x3205b0[_0x15d35c(0x1b3)]=_0x1c2c9f['nativeCaller'];const _0x1e8328=_0x3205b0;return _0x1e8328[_0x15d35c(0x1dd)]=signEnvelope(_0x3b2f57,_0x1e8328),new Promise(_0x1b2531=>{const _0x2d9e9f=_0x15d35c,_0x41a2e2=net['connect'](_0x5a0bb2['endpoint']);let _0x42ab60='';const _0xa0cf27=_0x411501=>{const _0x5b13ab=_0x2561;if(!_0x41a2e2[_0x5b13ab(0x1da)])_0x41a2e2[_0x5b13ab(0x1e7)]();_0x1b2531(_0x411501);},_0x40ec94={};_0x40ec94[_0x2d9e9f(0x1ea)]=_0x2d9e9f(0x1be),_0x40ec94[_0x2d9e9f(0x1e6)]=_0x2d9e9f(0x1f6),_0x41a2e2[_0x2d9e9f(0x23f)](_0x1c2c9f[_0x2d9e9f(0x1b7)]||0x1fbd0,()=>_0xa0cf27(_0x40ec94)),_0x41a2e2['on'](_0x2d9e9f(0x1b6),_0x52981a=>_0xa0cf27({'status':'failed','code':_0x52981a['code']||_0x2d9e9f(0x209)})),_0x41a2e2['on'](_0x2d9e9f(0x228),()=>_0x41a2e2[_0x2d9e9f(0x21b)](JSON[_0x2d9e9f(0x241)](_0x1e8328)+'\x0a')),_0x41a2e2['on']('data',_0x554f60=>{const _0x4940f2=_0x2d9e9f;_0x42ab60+=_0x554f60;const _0x1d65df={};_0x1d65df[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x1d65df[_0x4940f2(0x1e6)]=_0x4940f2(0x231);if(_0x42ab60['length']>0x2000)return _0xa0cf27(_0x1d65df);const _0x2f5de7=_0x42ab60['indexOf']('\x0a');if(_0x2f5de7<0x0)return;let _0x4059a5;try{_0x4059a5=JSON['parse'](_0x42ab60[_0x4940f2(0x214)](0x0,_0x2f5de7));}catch{const _0x1fa421={};return _0x1fa421[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x1fa421['code']='CONTROL_INVALID',_0xa0cf27(_0x1fa421);}const {mac:_0x335331,..._0x67d3a2}=_0x4059a5,_0xe2d236=crypto[_0x4940f2(0x20a)]('sha256',_0x3b2f57)[_0x4940f2(0x20d)](JSON[_0x4940f2(0x241)](_0x67d3a2))[_0x4940f2(0x1d7)]('hex'),_0x4685a7={};_0x4685a7[_0x4940f2(0x1ea)]=_0x4940f2(0x1be),_0x4685a7[_0x4940f2(0x1e6)]=_0x4940f2(0x20e);if(typeof _0x335331!=='string'||_0x335331[_0x4940f2(0x1a7)]!==_0xe2d236['length']||!crypto[_0x4940f2(0x206)](Buffer['from'](_0x335331),Buffer[_0x4940f2(0x212)](_0xe2d236))||_0x67d3a2[_0x4940f2(0x22e)]!==_0x443748||_0x67d3a2[_0x4940f2(0x1b5)]!==_0x5a0bb2['connectionId']||_0x67d3a2[_0x4940f2(0x216)]!==_0x5a0bb2[_0x4940f2(0x216)]||_0x67d3a2[_0x4940f2(0x208)]!==_0x5a0bb2[_0x4940f2(0x208)])return _0xa0cf27(_0x4685a7);const _0x276f3f={..._0x67d3a2};_0x276f3f[_0x4940f2(0x1a6)]=_0x4940f2(0x1eb),_0xa0cf27(_0x276f3f);});});}async function probeWorkspaceConnections(_0x3724c6,_0x19eac4={}){const _0x402a50=_0x35c955,_0x76c220=[],_0x7728ee=listWorkspaceReceipts(_0x3724c6,_0x76c220),_0x1d77b3=[];for(const _0x40b38d of _0x7728ee)if(!_0x40b38d[_0x402a50(0x1e9)])_0x1d77b3[_0x402a50(0x1cd)](await probeConnection(_0x40b38d,_0x19eac4));const _0x35fc7c=readJson(path[_0x402a50(0x1a8)](fs[_0x402a50(0x203)](_0x3724c6),_0x402a50(0x218),_0x402a50(0x1ed),'generation.json')),_0x5c2be2=require(_0x402a50(0x1c0))['readFence'](_0x3724c6),_0xb23445=_0x19eac4['version']||null,_0x3600d3=_0x19eac4[_0x402a50(0x1d7)]||null,_0x3bbebc=_0x19eac4[_0x402a50(0x1e8)]||null,_0x41ccd0=Number['isSafeInteger'](_0x35fc7c?.[_0x402a50(0x21c)])&&_0x35fc7c[_0x402a50(0x21c)]>0x0&&_0x1d77b3[_0x402a50(0x1c9)](_0x4ca2ee=>_0x4ca2ee[_0x402a50(0x21c)]===_0x35fc7c[_0x402a50(0x21c)]&&[_0x402a50(0x213),_0x402a50(0x1d7),_0x402a50(0x1e8)]['every'](_0x497fef=>_0x4ca2ee[_0x497fef]===_0x35fc7c[_0x497fef])),_0x21ed4b=_0x5c2be2[_0x402a50(0x1ca)]===_0x402a50(0x1fa)&&_0x1d77b3['length']>0x0&&_0x1d77b3['every'](_0x7750a9=>_0x7750a9[_0x402a50(0x1ea)]==='active'&&_0x7750a9[_0x402a50(0x229)]===!![]&&(!_0xb23445||_0x7750a9[_0x402a50(0x213)]===_0xb23445)&&(!_0x3600d3||_0x7750a9[_0x402a50(0x1d7)]===_0x3600d3)&&(!_0x3bbebc||_0x7750a9[_0x402a50(0x1e8)]===_0x3bbebc))&&_0x41ccd0,_0x55abde=Object[_0x402a50(0x204)](_0x5c2be2[_0x402a50(0x1ae)]||{})[_0x402a50(0x1fd)](_0x17da36=>_0x17da36['state']!=='closed'&&!_0x1d77b3[_0x402a50(0x1e4)](_0x5af523=>_0x5af523[_0x402a50(0x1b5)]===_0x17da36[_0x402a50(0x1b5)])),_0x34997a={};return _0x34997a[_0x402a50(0x1e6)]=_0x402a50(0x1ab),{'status':_0x5c2be2[_0x402a50(0x1ca)]!==_0x402a50(0x1fa)?'pending-safe-boundary':_0x21ed4b&&!_0x55abde['length']?_0x402a50(0x1ec):_0x1d77b3[_0x402a50(0x1a7)]||_0x55abde['length']?_0x402a50(0x245):_0x402a50(0x1f1),'connections':_0x1d77b3,'confirmed':_0x1d77b3[_0x402a50(0x1fd)](_0x3bdbf0=>_0x3bdbf0[_0x402a50(0x1a6)]==='authenticated-live-process')[_0x402a50(0x1a7)],'generation':_0x41ccd0?_0x35fc7c['generation']:null,'blockers':[..._0x5c2be2['state']!==_0x402a50(0x1fa)?[{'code':'APT_UPDATE_PENDING','state':_0x5c2be2[_0x402a50(0x1ca)]}]:[],..._0x1d77b3['length']&&!_0x41ccd0?[_0x34997a]:[],..._0x55abde['map'](_0x4c3355=>({'code':_0x402a50(0x211),'connectionId':_0x4c3355[_0x402a50(0x1b5)]}))],'total':_0x1d77b3[_0x402a50(0x1a7)],'foreignWorkspaceStates':_0x76c220};}function listWorkspaceReceipts(_0x4d7892,_0xcaa49b=[]){const _0x3d6561=_0x35c955,_0x49b686=path[_0x3d6561(0x1a8)](fs[_0x3d6561(0x203)](_0x4d7892),_0x3d6561(0x218),_0x3d6561(0x1ed),_0x3d6561(0x1c3));let _0x227dce;try{_0x227dce=fs[_0x3d6561(0x1c4)](_0x49b686)[_0x3d6561(0x1fd)](_0x4de1cb=>_0x4de1cb[_0x3d6561(0x1df)](_0x3d6561(0x1c2))&&!_0x4de1cb['endsWith']('.transaction.json'));}catch(_0x3e3183){if(_0x3e3183['code']===_0x3d6561(0x239))_0x227dce=[];else throw _0x3e3183;}const _0x39618b=[];for(const _0x19afa3 of _0x227dce){const _0x3345ce=readJson(path['join'](_0x49b686,_0x19afa3));let _0x3217c2=!_0x3345ce?.[_0x3d6561(0x216)];try{_0x3217c2||=require(_0x3d6561(0x22f))['sameWorkspace'](_0x3345ce[_0x3d6561(0x216)],_0x4d7892);}catch{}if(!_0x3217c2){const _0x34804a={};_0x34804a['code']='FOREIGN_WORKSPACE_STATE',_0x34804a[_0x3d6561(0x1bc)]=_0x3d6561(0x207),_0x34804a[_0x3d6561(0x1b5)]=_0x3345ce['connectionId'],_0x34804a[_0x3d6561(0x1ee)]=_0x19afa3,_0xcaa49b['push'](_0x34804a);continue;}if(!_0x3345ce)continue;if(_0x3345ce[_0x3d6561(0x1e9)]===!![])_0xcaa49b['push']({'code':_0x3d6561(0x23c),'connectionId':_0x3345ce[_0x3d6561(0x1b5)],'file':_0x19afa3});if(_0x3345ce[_0x3d6561(0x1d6)]===_0x3d6561(0x234)||_0x3345ce[_0x3d6561(0x1d5)]===!![]||_0x3345ce[_0x3d6561(0x1d5)]===undefined&&_0x3345ce[_0x3d6561(0x229)]===![]&&['host-eof',_0x3d6561(0x1cc),_0x3d6561(0x205)]['includes'](_0x3345ce[_0x3d6561(0x1fe)]))continue;_0x39618b[_0x3d6561(0x1cd)](_0x3345ce);}return _0x39618b;}async function reconcileWorkspaceConnections(_0x3f71cb,_0x4987cc={}){const _0x3b626f=_0x35c955,_0x5b887d=[],_0x1554d3=listWorkspaceReceipts(_0x3f71cb,_0x5b887d),_0x4e0102=[],_0x48674c=[];for(const _0x176347 of _0x1554d3){const _0x320a78=await(_0x4987cc['probe']||probeConnection)(_0x176347,_0x4987cc),_0x5b56b9=reconcileProcess(_0x176347);let _0x3940e9;if(_0x176347[_0x3b626f(0x1e9)])_0x3940e9=_0x3b626f(0x1f0);else{if(!_0x176347[_0x3b626f(0x216)])_0x3940e9=_0x3b626f(0x1fc);else{if(['orphaned',_0x3b626f(0x1f3)]['includes'](_0x5b56b9[_0x3b626f(0x1ea)]))_0x3940e9=_0x5b56b9['status']==='orphaned'?'orphaned':_0x3b626f(0x217);else{if(_0x320a78[_0x3b626f(0x1a6)]===_0x3b626f(0x1eb))_0x3940e9=_0x320a78[_0x3b626f(0x229)]?_0x3b626f(0x21f):_0x3b626f(0x1f0);else _0x3940e9=_0x5b56b9[_0x3b626f(0x1ea)]===_0x3b626f(0x1dc)?'orphaned':_0x5b56b9[_0x3b626f(0x1ea)]===_0x3b626f(0x1f3)?'pid-reused':_0x3b626f(0x1b0);}}}const _0x448a1b={};_0x448a1b['receipt']=_0x176347,_0x448a1b[_0x3b626f(0x1c8)]=_0x320a78,_0x448a1b[_0x3b626f(0x1e1)]=_0x3940e9,_0x4e0102[_0x3b626f(0x1cd)](_0x448a1b);if(_0x3940e9!=='live')_0x48674c[_0x3b626f(0x1cd)]({'code':_0x3940e9===_0x3b626f(0x1f0)?_0x3b626f(0x23c):_0x3940e9===_0x3b626f(0x1dc)?_0x3b626f(0x20f):_0x3940e9===_0x3b626f(0x217)?_0x3b626f(0x1f2):_0x3b626f(0x211),'connectionId':_0x176347[_0x3b626f(0x1b5)],'classification':_0x3940e9,'cause':_0x5b56b9['code']||_0x320a78[_0x3b626f(0x1e6)]||_0x320a78[_0x3b626f(0x1ea)]});}const _0x20892b=path[_0x3b626f(0x1a8)](fs[_0x3b626f(0x203)](_0x3f71cb),_0x3b626f(0x243)),_0x5fc45=require(_0x3b626f(0x1c0))[_0x3b626f(0x232)](_0x3f71cb);for(const _0x46c884 of Object[_0x3b626f(0x204)](_0x5fc45[_0x3b626f(0x1ae)]||{})){if(_0x46c884[_0x3b626f(0x1ca)]==='closed'||_0x1554d3[_0x3b626f(0x1e4)](_0x56e9ee=>_0x56e9ee[_0x3b626f(0x1b5)]===_0x46c884[_0x3b626f(0x1b5)]))continue;let _0x1aa08d=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x3b626f(0x220)](_0x46c884[_0x3b626f(0x1b5)]||'')){const _0x9072e6=readJson(path[_0x3b626f(0x1a8)](_0x20892b,_0x46c884['connectionId']+_0x3b626f(0x1c2)));if(_0x9072e6?.['closed']===!![]&&_0x9072e6[_0x3b626f(0x216)]&&require(_0x3b626f(0x22f))[_0x3b626f(0x1b9)](_0x9072e6['workspace'],_0x3f71cb)&&_0x9072e6[_0x3b626f(0x208)]===_0x46c884['supervisorPid']&&typeof _0x9072e6[_0x3b626f(0x20b)]===_0x3b626f(0x1cb))try{const _0x439c5d=path[_0x3b626f(0x1a8)](_0x20892b,_0x3b626f(0x238),_0x46c884['connectionId']+_0x3b626f(0x23b)),_0x239b3b=fs['existsSync'](_0x439c5d)?_0x439c5d:path[_0x3b626f(0x1a8)](_0x3f71cb,_0x3b626f(0x210),crypto[_0x3b626f(0x1c7)](_0x3b626f(0x1e2))['update'](_0x46c884[_0x3b626f(0x1b5)])['digest'](_0x3b626f(0x1c5))+_0x3b626f(0x23b));if(fs['lstatSync'](_0x239b3b)[_0x3b626f(0x1ba)]())throw new Error(_0x3b626f(0x201));const {closureMac:_0x5d6f58,..._0x3f360d}=_0x9072e6,_0x1222e7=crypto[_0x3b626f(0x20a)](_0x3b626f(0x1e2),fs[_0x3b626f(0x1ac)](_0x239b3b))[_0x3b626f(0x20d)](JSON[_0x3b626f(0x241)](_0x3f360d))[_0x3b626f(0x1d7)]('hex');_0x1aa08d=_0x1222e7[_0x3b626f(0x1a7)]===_0x5d6f58[_0x3b626f(0x1a7)]&&crypto[_0x3b626f(0x206)](Buffer[_0x3b626f(0x212)](_0x1222e7),Buffer['from'](_0x5d6f58));if(_0x1aa08d&&_0x4987cc[_0x3b626f(0x219)]===!![])require(_0x3b626f(0x1f5))[_0x3b626f(0x1e5)](_0x3f71cb,_0x46c884[_0x3b626f(0x1b5)],_0x46c884['supervisorPid'],!![]);}catch{_0x1aa08d=![];}}const _0x278917={};_0x278917[_0x3b626f(0x1e6)]=_0x3b626f(0x211),_0x278917[_0x3b626f(0x1b5)]=_0x46c884[_0x3b626f(0x1b5)],_0x278917[_0x3b626f(0x1e1)]='missing-closure-evidence';const _0x2639e5={};_0x2639e5[_0x3b626f(0x1e6)]=_0x3b626f(0x1e3),_0x2639e5[_0x3b626f(0x1b5)]=_0x46c884['connectionId'];if(!_0x1aa08d)_0x48674c[_0x3b626f(0x1cd)](_0x278917);else _0x5b887d[_0x3b626f(0x1cd)](_0x2639e5);}const _0x2da913=new Map();for(const _0xa93e00 of _0x48674c){const _0x121650=_0xa93e00[_0x3b626f(0x1e6)]+':'+(_0xa93e00['cause']||''),_0x35cd32={..._0xa93e00};_0x35cd32[_0x3b626f(0x22c)]=[];const _0x1dac98=_0x2da913[_0x3b626f(0x1af)](_0x121650)||_0x35cd32;_0x1dac98[_0x3b626f(0x22c)][_0x3b626f(0x1cd)](_0xa93e00[_0x3b626f(0x1b5)]),_0x2da913[_0x3b626f(0x1cf)](_0x121650,_0x1dac98);}return{'connections':_0x4e0102,'blockers':_0x48674c,'blockerGroups':[..._0x2da913[_0x3b626f(0x204)]()],'diagnostics':_0x5b887d};}function reconcileProcess(_0x54a494){const _0x2a851e=_0x35c955,_0x467e0b={};_0x467e0b[_0x2a851e(0x1ea)]='unknown';if(!_0x54a494?.[_0x2a851e(0x208)]||!_0x54a494[_0x2a851e(0x23e)])return _0x467e0b;try{const _0x4c607a=require(_0x2a851e(0x22a))[_0x2a851e(0x224)](_0x54a494[_0x2a851e(0x208)]),_0x5b6168={};_0x5b6168['status']=_0x2a851e(0x1dc),_0x5b6168['code']='CONNECTION_ORPHANED';if(!_0x4c607a)return _0x5b6168;const _0x54a9e3={};_0x54a9e3[_0x2a851e(0x1ea)]='reused',_0x54a9e3['code']=_0x2a851e(0x1f2);if(String(_0x4c607a['start'])!==String(_0x54a494[_0x2a851e(0x23e)]))return _0x54a9e3;if(_0x54a494[_0x2a851e(0x1ef)]&&_0x54a494[_0x2a851e(0x202)]){const _0x13d6a1=require(_0x2a851e(0x22a))[_0x2a851e(0x224)](_0x54a494['childPid']),_0x1efdf0={};_0x1efdf0[_0x2a851e(0x1ea)]=_0x2a851e(0x1dc),_0x1efdf0[_0x2a851e(0x1e6)]=_0x2a851e(0x1d1);if(!_0x13d6a1)return _0x1efdf0;const _0x4bd29f={};_0x4bd29f[_0x2a851e(0x1ea)]='reused',_0x4bd29f[_0x2a851e(0x1e6)]=_0x2a851e(0x23d);if(String(_0x13d6a1['start'])!==String(_0x54a494[_0x2a851e(0x202)]))return _0x4bd29f;}const _0x2b8e34={};return _0x2b8e34['status']=_0x2a851e(0x21f),_0x2b8e34;}catch{const _0x3ddf64={};return _0x3ddf64[_0x2a851e(0x1ea)]=_0x2a851e(0x1b8),_0x3ddf64;}}const _0x19e31a={};_0x19e31a['probeConnection']=probeConnection,_0x19e31a[_0x35c955(0x1d3)]=controlConnection,_0x19e31a[_0x35c955(0x1f4)]=probeWorkspaceConnections,_0x19e31a['listWorkspaceReceipts']=listWorkspaceReceipts,_0x19e31a[_0x35c955(0x21d)]=reconcileWorkspaceConnections,module[_0x35c955(0x227)]=_0x19e31a;
@@ -1 +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 _0x449e(){const _0x4223ef=['AxnZDwuTy29UDgv4Da','yM9VDeLKzw50Axr5','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','Dg9VBa','BgvUz3rO','Cgf0Aa','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','lMfNzw50CW','CMvSzwfZzq','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','DhLWzq','zMLSzvvstfrVugf0Aa','Bwv0Ag9K','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','BwTKAxjtEw5J','lI4Vy29Yzs9VD25Lzc1SB2nR','zMLSztO','CMvZDg9Yzs1WCMv2Aw91CW','D3jPDgviB3n0','Aw52B2nHDgLVBKLK','yxjNDw1LBNrZ','C3rHDgu','DhjHBNnHy3rPB25jza','ChjLCgfYzs1Jyw5KAwrHDgu','DMvYC2LVBG','CMvXDwvZDeLK','DxrMoa','CMvJzwL2zunVBNrYB2W','BM9KztPUzxq','mtm5og5ttKH1Cq','ywrTAxnZAw9UlwnOzwnR','yM9VDfjLAMvJDa','zgf0yq','CgLUzW','zNjVEMvU','y2HPBgrdBg9Zzwq','zgLYBMfTzq','ywn0AxzHDgu','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','zw5KCg9PBNq','Agv4','AwrLBNrPDhK','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','y2f0ywXVz0HHC2G','AM9PBG','Dg9ju09tDhjPBMC','CgLK','uKvtt1vsq0vFuK9mtf9gt1jxqvjex1jfuvvjuKve','nJiZs0HABxzW','CMvHC29U','D29YA3nWywnLlxvWzgf0zq','y29TBwL0lwnHBMrPzgf0zq','z2vUzxjHDgLVBG','AxnszwfKt25SEvrVB2W','lI91CgrHDguTzxHLy3v0B3i','q0HjterFuLbdx1rjtuvpvvq','DhjHBNnWB3j0','AxbJ','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','v09ss0vsx1nut1bFvu5dt05gsvjnruq','lI91CgrHDguTCMvXDwvZDa','BgLZDf9JB2rLx2zPBgvZ','lMTLEq','C3rVCenOAwXK','Dg9VBhm','zgvMzxjjzgvUDgL0Eq','yxnZzxj0u3rHCNr1CfjLywr5','y2fUzgLKyxrLlxjLy292zxj5','zxbVy2G','uNvUDgLTzsbJAgLSzcbZDgfYDhvWihrPBwvKig91Da','C3vWzxj2AxnVCLbPza','yNL0zuXLBMD0Aa','y2HPBgrqAwq','C2v0','D2fPDgLUzW','BwnWx2fNzw50x2HLywX0Aa','D29YA3nWywnLlxjVBgXIywnR','zxHWBgLJAxrxB3jRC3bHy2u','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','zxHLy3v0B3juAw1LCG','yM91BMq','B3bLBG','y29UDhjVBenHBMrPzgf0zq','BM90AwzPy2f0Aw9UCY8','q0HjterFrvHjvf9usu1ft1vu','CMvJDxjZAxzL','CMvZB2X2zq','AxnozxDnDxrHDgLVBG','lI4Vy29Yzs9UB2rLlxzLCNnPB24','CMvJzwL2zuHVC3q','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','Dw5HDMfPBgfIBgu','BgLZDgvU','CNvUDgLTzs1ZzwXMlw9IC2vYDMvK','yM9VDgLUzW','CM9VDfbHDgG','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','mZC2ndeWnKrcvvnpyW','yxb0lw1JCc0','zMXHzW','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','y29UDhjVBa','B3v0Chv0rgvJB2rLCG','C2vJCMv0','CMvJB25Uzwn0lxjLCxvPCMvK','CMvSzwfZzxm','C3rHDhvZ','r0vorvjbveLptL9vtKnptKzjuK1fra','Dg9tDhjPBMC','q0HjterFt1DorvjtseLqx1vos05pv04','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','Dg9VBhmVy2fSBa','CMvZDg9Yzwq','q0foreLeqvrfx1rvueXfx01ju01bveni','C3rKzxjY','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','ugfYC2uGzxjYB3i','CgLWzwXPBMvFC3rHDhvZ','B3b0Aw9UCW','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','y3jLyxrLsg1HyW','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','Bw9KzwXFBgLZDa','yxnZAwDU','CMvJzwL2zunOAwXK','CMvZDw1L','q0HjterFvu5bvKfjtefcteu','CMvSzwfZzunVBw1PDhrLzezLBMnL','D29YA3nWywnLrM9SzgvYCW','y2XVC3vYzu1HyW','y29UBMvJDgvK','DhjHBNnPDgLVBG','D2fPDfnLy29Uzhm','Ag9ZDc1LB2y','C3rKAw4','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','C3rVCfjLyxnVBG','yMXVy2TLCG','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','CMvXDwvZDfjWyW','rvHfq1vut1jFu1rbuLrFrKfjteve','y2fWDhvYzvjLz2LZDhjHDgLVBNm','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','zxHLy1bHDgG','CgfYyw1Z','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','zgvSzxrL','C2H1DgrVD25fDMLKzw5Jzq','D29YA3nWywnLx2XPC3q','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','Dg9VBhmVBgLZDa','D2LUmZi','Ag9VAY1JB250zxH0','y2XVC2LUzW','y2HPBgqTy2XVC2vK','uKvdt05orunux1jfuvvjuKve','CMvMCMvZAeLUDMvUDg9YEq','ChjLDMLVDxm','AgfUzhnOywTLq29TCgXLDgu','CMvZB3vYy2veAwDLC3q','qvbux1jvtLrjtuvFt1vuq09nrv9vtKTot1DooIbJAgLSzcbJBg9ZzwqGywz0zxiGCMvXDwvZDcbKzwXPDMvYEq','C3DPDgnOuNvUDgLTzq','Ag9ZDfnLC3nPB25jza','tK9erv9pufrjt05t','uNvUDgLTzsbJAgLSzcbJBg9Zzwq','CMv2Awv3','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','D29YA3nWywnLlxjLyM91BMq','ywn0AxzHDgLVBKv2AwrLBMnL','Aw5PDgLHBgL6zwq','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','Aw5JBhvKzxm','lNrTCa','zxHWzwn0zwrcB290','AgfUzgXLsg9ZDe1LC3nHz2u','ywn0AxzHDgLVBG','Aw5WDxrcDwzMzxi','mI4W','y29UBMvJDgLVBNm','y2fUzgLKyxrLvhvWBgu','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','BMfTzq','C3rHCNr1Cfn0yxrL','ANnVBNjWyW','q0HjterFq0Xpu0ve','C2fMzujVDw5Kyxj5','CMfUzg9Tvvvjra','C3rKB3v0','C29Tzq','CMvXDwvZDa','lI9YDw50Aw1Llxn0B3jL','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y2fUzgLKyxrLlxjLywr5','Ag9ZDc1LCNjVCG','z2f0zxDHEs1IAw5KAw5N','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','yM9VDc1LCNjVCG','uNvUDgLTzsbJAgLSzcbJB250CM9SihrPBwvKig91Da','yM91BMrqAxbLBgLUzq','yM9VDfjLC29SDMu','C3rHCNrZv2L0Aa','DgHLBG','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','DxnLze5VBMnLCW','Bw9Kzq','qunusvzbveLptL9ot1rFufjfuefsruq','CM91DgvFCMvXDwvZDa','Dg9mB3DLCKnHC2u','C2vYDMLUzW','AxnbCNjHEq','CgfYC2u','CMvWB3j0','D3jPDgu','y2HPBgrfBNzPCM9UBwvUDa','nJeZnZK2DKLLt3ve','Aw5KzxHpzG','C3rHCNrqzw5KAw5NrxHLy3v0B3i','q0HjterFuKvbreLorvntx01ju01bveni','Aw5PDgLHBgL6zq','ChjLCgfYzwruCMfUC2fJDgLVBG','y2XVC2vK','ywrTAxnZAw9Uq2XVC2vK','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','CMvXDwvZDc1ZDg9W','uKvrvuvtvf9jrf9dt05gteLdva','ru5pru5u','CMvZDwX0','y3DK','qvbux1nvuevsvKLtt1jFq0Hjteq','uNvUDgLTzsbsuemGDgLTzwqGB3v0','ywn0Aw9U','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','ywjVCNq','yxr0zw1WDeLK','ndGZotjTzNHUvui','yxb0t3DUzxjZAgLW','CNvUDgLTzvjVB3q','CMvHBhbHDgHtEw5J','CgvYC2LZDenHBMrPzgf0zq','zNn5BMntEw5J','CMvUyw1Lu3LUyW','Dg1WzgLY','y29TBwL0DgvKvhjHBNnHy3rPB24','C2vJCMv0ugf0Aa','Dw5SAw5Ru3LUyW','m0fkvLDWza','yMXVy2TLCNm','Aw5PDgLHBgL6zunHBMrPzgf0zq','vfjbtLnjveLptL9jtL9quK9huKvtuW','yM9VDa','lNnLy3jLDhm','y2XVC2vtEw5J','q29UBMvJDgLVBLn1CgvYDMLZB3i','DgvZDa','y2f0y2G','C3rVChbLza','DgfYz2v0rgLNzxn0','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','AgfZ','u1Djvenix0zbsuXfra','ywXSB3DLza','A2LUza','q0HjterFsu5jveLbteLArv9gquLmruq','C2vZC2LVBL9IB290C3rYyxa','C2v0vgLTzw91Da','Dw5Yzwy','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','zhjHAw4','ChvIBgLJs2v5','CgXHDgzVCM0','ChjLDMLVDxmTCMvZDg9Yzwq','y29UDgv4Df9SB2fK','CMvHzhK','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','y2HHBgXLBMDL','AxntywzLsw50zwDLCG','zgv0ywLS','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','BM9KztPVCW','DxbKyxrLqMXVy2TLCG','CMvJywXS','C3rVCfjLCxvLC3rLza','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','mJe4nJC4yxHHB1vk','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','CMvIAw5Kv29YA3nWywnL','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','B3bLCMf0Aw9UCY1LBMfIBgvK','zMLUzgLUzY1YzxnVBhv0Aw9U','BM9KztPWyxrO','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','B3bLCMf0Aw9UC0vUywjSzwq','CgLWzwXPBMvFy2HLy2TWB2LUDa','y29TBwL0r2vUzxjHDgLVBG','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','q0HjterFu1rpuf9vtKnptKzjuK1fra','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','z3jHy2vnCW','zxjYB3i','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','Bwf4','CgLWzq','mtaZodGXmg1tzKnJyG','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','y29Kzq','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','zhjHAw5PBMC','z2v0','zMLUzf9JywXSzwvZ','DgLJA2v0CW','zgLNzxn0','Dg9VBenHDgfSB2DiyxnO','BM9KztPMCW','CMvJB3jK','Aw5WDxrdAgfPBG','CMvQzwn0','BM9Uy2u','zgvZDhjVEq','BgLZDgvUzxi','CMvHzezPBgvtEw5J','CNvUDgLTzq','CMvMCMvZAa','BM93','CMvZDg9Yzq','y29Kzv9ZzwfYy2G','BwvZC2fNzq','DgfYz2v0vMvYC2LVBG','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','y2fUzgLKyxrLugf0Aa','Cgf1C2u','CMvJB3zLCKnHBMrPzgf0zq','y2HPBgq','D29YA3nWywnL','CMvXDwLYzvn1ChbVCNrLze5Vzgu','y2XLyxi','Aw5WDxq','y2XVC2u','C2H1DgrVD25by2TUB3DSzwrNzwq','yMfJA2vUza','ChjVy2vZC1n0yxj0zwrbDa','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','zMLUzf9JywXSzxjZ','y29UC3vTzs1YzxbVCNq','t1DorvjtseLqx1vos05pv04','yxb0lxn1CgvYDMLZB3iT','C3rVCenVzgu','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','DxbKyxrL','Bxv0yxrPB25bBgXVD2vK','CM9VDfvYAq','qvbux0nptK5fq1rjt05Fsuq','BMf0AxzLq2fSBgvY','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','y2fUzgLKyxrL','nZa5nvvpr3D4wa','y29UBMvJDgLVBKLK','y29UDhjVBenHCgfIAwXPDgLLCW','C2L6zq','C3rHCNq','C2HHmJu2','B3v0Chv0qNvMzMvY','C2XPy2u','q0HjterFq09ovfjptf9usu1ft1vu','CMvZB3vYy2vZlwfWCgXPzwq','ChjLCgfYzwq','q0foreLeqvrfx05pvf9srufewq','lNnVy2S','qurnsvntsu9ox0nptKzmsunu','C3rVCc1MB3iTDxbKyxrL','DgLJA2v0','C2fMzs1IB3vUzgfYEq','CMvXDwvZDenOAwXK','mtyZmZqZme94vMTjsW','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','CgvUzgLUzW','B3bLBLn5BMm','lI4Vy29Yzs9PCgmTzw52zwXVCgu','y3jLyxrLsgfZAa','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','z2f0zxDHEujPBMrPBMC','C3rYAw5NAwz5','C2H1DgrVD24','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','zgLZy29UBMvJDa','ywn0AxzL','zMfPBgvK','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','D3jPDgvgAwXLu3LUyW','ChjLCgfYzq','zw5K','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','B25Jzq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq'];_0x449e=function(){return _0x4223ef;};return _0x449e();}const _0x54ea80=_0x40d0;function _0x40d0(_0x312bcd,_0x54ddd5){_0x312bcd=_0x312bcd-0x1b1;const _0x449ef7=_0x449e();let _0x40d028=_0x449ef7[_0x312bcd];if(_0x40d0['PJMGua']===undefined){var _0x571cdf=function(_0x32f492){const _0x285a90='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x942fd5='',_0x3d241d='';for(let _0x12e44a=0x0,_0x167c98,_0x34d257,_0x7ff3cf=0x0;_0x34d257=_0x32f492['charAt'](_0x7ff3cf++);~_0x34d257&&(_0x167c98=_0x12e44a%0x4?_0x167c98*0x40+_0x34d257:_0x34d257,_0x12e44a++%0x4)?_0x942fd5+=String['fromCharCode'](0xff&_0x167c98>>(-0x2*_0x12e44a&0x6)):0x0){_0x34d257=_0x285a90['indexOf'](_0x34d257);}for(let _0x4babc3=0x0,_0x1d9806=_0x942fd5['length'];_0x4babc3<_0x1d9806;_0x4babc3++){_0x3d241d+='%'+('00'+_0x942fd5['charCodeAt'](_0x4babc3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d241d);};_0x40d0['iKzsUd']=_0x571cdf,_0x40d0['DMHTRD']={},_0x40d0['PJMGua']=!![];}const _0x396604=_0x449ef7[0x0],_0x57c473=_0x312bcd+_0x396604,_0x3d0cda=_0x40d0['DMHTRD'][_0x57c473];return!_0x3d0cda?(_0x40d028=_0x40d0['iKzsUd'](_0x40d028),_0x40d0['DMHTRD'][_0x57c473]=_0x40d028):_0x40d028=_0x3d0cda,_0x40d028;}(function(_0x4ab655,_0x4e5bf2){const _0xac66d9=_0x40d0,_0x4f230e=_0x4ab655();while(!![]){try{const _0x531038=parseInt(_0xac66d9(0x1cb))/0x1+parseInt(_0xac66d9(0x1df))/0x2+-parseInt(_0xac66d9(0x334))/0x3*(parseInt(_0xac66d9(0x314))/0x4)+-parseInt(_0xac66d9(0x214))/0x5*(parseInt(_0xac66d9(0x259))/0x6)+parseInt(_0xac66d9(0x26c))/0x7*(-parseInt(_0xac66d9(0x329))/0x8)+parseInt(_0xac66d9(0x29d))/0x9+parseInt(_0xac66d9(0x226))/0xa;if(_0x531038===_0x4e5bf2)break;else _0x4f230e['push'](_0x4f230e['shift']());}catch(_0x1a6b4c){_0x4f230e['push'](_0x4f230e['shift']());}}}(_0x449e,0x48907));const fs=require(_0x54ea80(0x1e9)),os=require(_0x54ea80(0x1c6)),path=require(_0x54ea80(0x1d2)),crypto=require('node:crypto'),net=require(_0x54ea80(0x258)),{spawn}=require('node:child_process'),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x54ea80(0x1dc)),{verifyRelease}=require(_0x54ea80(0x2fa)),{acquireRuntimeLock}=require(_0x54ea80(0x24b)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x54ea80(0x2fb)),{verifyEnvelope}=require(_0x54ea80(0x22a)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x54ea80(0x2b5)),hash=_0x46ec58=>crypto[_0x54ea80(0x22b)](_0x54ea80(0x219))[_0x54ea80(0x20d)](_0x46ec58)['digest']('hex'),atomic=(_0x47042d,_0x6ab299)=>{const _0x232abe=_0x54ea80,_0x4054dd={};_0x4054dd[_0x232abe(0x291)]=!![],fs[_0x232abe(0x24a)](path[_0x232abe(0x260)](_0x47042d),_0x4054dd);const _0x2a6397=_0x47042d+'.'+crypto[_0x232abe(0x2f6)]()+_0x232abe(0x2e8),_0x3394c3=fs[_0x232abe(0x229)](_0x2a6397,'wx',0x180);try{fs[_0x232abe(0x236)](_0x3394c3,JSON[_0x232abe(0x22f)](_0x6ab299)),fs[_0x232abe(0x32e)](_0x3394c3);}finally{fs[_0x232abe(0x33a)](_0x3394c3);}fs[_0x232abe(0x32f)](_0x2a6397,_0x47042d);},same=(_0x5d27aa,_0x54e996)=>process[_0x54ea80(0x1bc)]===_0x54ea80(0x2d3)?_0x5d27aa['toLowerCase']()===_0x54e996[_0x54ea80(0x30d)]():_0x5d27aa===_0x54e996,messageId=_0x1506a0=>JSON[_0x54ea80(0x22f)](_0x1506a0),waitChildClosed=(_0x5efd6a,_0x48c2c6=0x1388)=>new Promise((_0x22e098,_0x2c3d60)=>{const _0x557680=_0x54ea80;if(_0x5efd6a[_0x557680(0x31a)])return _0x22e098();const _0x3b1895=setTimeout(()=>{const _0x3663b5=_0x557680;_0x5efd6a['off'](_0x3663b5(0x201),_0x215322);const _0x823029={};_0x823029[_0x3663b5(0x1e1)]=_0x3663b5(0x290),_0x2c3d60(Object[_0x3663b5(0x2b7)](new Error(_0x3663b5(0x1cf)),_0x823029));},_0x48c2c6),_0x215322=()=>{clearTimeout(_0x3b1895),_0x22e098();};_0x5efd6a[_0x557680(0x23a)](_0x557680(0x201),_0x215322);});class ConnectionSupervisor{constructor(_0x1a7c3b={}){const _0x4bdb73=_0x54ea80;this['runtimeRoot']=fs[_0x4bdb73(0x32c)](_0x1a7c3b[_0x4bdb73(0x32b)]),this[_0x4bdb73(0x244)]=fs[_0x4bdb73(0x32c)](_0x1a7c3b['release']),this[_0x4bdb73(0x1bb)]=_0x1a7c3b[_0x4bdb73(0x1bb)],this[_0x4bdb73(0x2c2)]=_0x1a7c3b['stdin']||process[_0x4bdb73(0x2c2)],this['stdout']=_0x1a7c3b[_0x4bdb73(0x2f7)]||process[_0x4bdb73(0x2f7)],this[_0x4bdb73(0x2ae)]=_0x1a7c3b[_0x4bdb73(0x2ae)]||process['stderr'],this[_0x4bdb73(0x1fd)]=fs[_0x4bdb73(0x32c)](_0x1a7c3b['workspace']||process[_0x4bdb73(0x321)]()),this[_0x4bdb73(0x289)]=_0x1a7c3b['explicitWorkspace']===!![],this['closureRegistrations']=require(_0x4bdb73(0x1c0))[_0x4bdb73(0x2c9)](this),this[_0x4bdb73(0x22e)]=_0x1a7c3b[_0x4bdb73(0x22e)]||null,this[_0x4bdb73(0x313)]=_0x1a7c3b[_0x4bdb73(0x313)]||{},this[_0x4bdb73(0x215)]=_0x1a7c3b['connectionId']||crypto[_0x4bdb73(0x2f6)](),this[_0x4bdb73(0x204)]=new Date(Date[_0x4bdb73(0x1f3)]()-process['uptime']()*0x3e8)['toISOString']();try{this[_0x4bdb73(0x340)]=processIdentity(process['pid'])?.[_0x4bdb73(0x218)]||null;}catch{this[_0x4bdb73(0x340)]=null;}this[_0x4bdb73(0x23d)]=process['platform']==='linux'?fs[_0x4bdb73(0x1f0)](_0x4bdb73(0x325),_0x4bdb73(0x256))['trim']():null,this[_0x4bdb73(0x2a3)]=crypto['randomBytes'](0x20),this['usedNonces']=new Set(),this[_0x4bdb73(0x270)]=0x0,this[_0x4bdb73(0x1fc)]=null,this['identity']=null,this[_0x4bdb73(0x228)]=new Map(),this['control']=new Map(),this[_0x4bdb73(0x2ec)]='',this[_0x4bdb73(0x1eb)]=Promise['resolve'](),this['outputBuffer']='',this[_0x4bdb73(0x2a2)]=new StringDecoder(_0x4bdb73(0x256)),this['initialize']=null,this[_0x4bdb73(0x2da)]=![],this[_0x4bdb73(0x2e5)]=![],this[_0x4bdb73(0x1e8)]=null,this[_0x4bdb73(0x31b)]=![];const _0x524109={};_0x524109['startupAllowed']=!![],_0x524109[_0x4bdb73(0x20e)]=!![],_0x524109[_0x4bdb73(0x2a6)]='ready',this[_0x4bdb73(0x2f2)]=_0x524109,this['transition']=null,this[_0x4bdb73(0x33e)]=![],this[_0x4bdb73(0x2eb)]='connecting',this[_0x4bdb73(0x213)]=null,this[_0x4bdb73(0x263)]=process[_0x4bdb73(0x1bc)]==='win32'?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x4bdb73(0x215)])['slice'](0x0,0x18):path[_0x4bdb73(0x268)](os[_0x4bdb73(0x330)](),_0x4bdb73(0x29e)+hash(this['connectionId'])['slice'](0x0,0x18)+_0x4bdb73(0x220));}get['receiptPath'](){const _0x5f36c7=_0x54ea80;return path[_0x5f36c7(0x268)](this[_0x5f36c7(0x1fd)],_0x5f36c7(0x243),_0x5f36c7(0x1f1),_0x5f36c7(0x2ee),this[_0x5f36c7(0x215)]+'.json');}get[_0x54ea80(0x332)](){const _0x1f8dfb=_0x54ea80;return path['join'](this[_0x1f8dfb(0x1fd)],_0x1f8dfb(0x243),_0x1f8dfb(0x1f1),_0x1f8dfb(0x2ee),_0x1f8dfb(0x339),this[_0x1f8dfb(0x215)]+_0x1f8dfb(0x27a));}get[_0x54ea80(0x1f9)](){const _0x457b42=_0x54ea80;return path['join'](this[_0x457b42(0x1fd)],_0x457b42(0x2c6),this['connectionId']+'.transaction.json');}[_0x54ea80(0x32d)](){const _0x586aeb=_0x54ea80;atomic(this[_0x586aeb(0x1f9)],{'connectionId':this[_0x586aeb(0x215)],'supervisorPid':process[_0x586aeb(0x26a)],'workspace':this[_0x586aeb(0x1fd)],'runtimeRoot':this['runtimeRoot'],'candidate':this['candidate']});}[_0x54ea80(0x1fb)](_0x2fe0cf){const _0x2ce68a=_0x54ea80;if(this[_0x2ce68a(0x213)])return;let _0x5e1009;try{_0x5e1009=JSON['parse'](fs[_0x2ce68a(0x1f0)](this[_0x2ce68a(0x1f9)],'utf8'));}catch(_0x11bc0b){if(_0x11bc0b[_0x2ce68a(0x1e1)]===_0x2ce68a(0x31f))return;throw _0x11bc0b;}if(_0x5e1009[_0x2ce68a(0x215)]!==this[_0x2ce68a(0x215)]||_0x5e1009['supervisorPid']!==process[_0x2ce68a(0x26a)]||!same(_0x5e1009[_0x2ce68a(0x1fd)],this[_0x2ce68a(0x1fd)])||!same(_0x5e1009[_0x2ce68a(0x32b)],this[_0x2ce68a(0x32b)])||_0x5e1009[_0x2ce68a(0x213)]?.[_0x2ce68a(0x252)]!==_0x2fe0cf)return;this['candidate']=_0x5e1009[_0x2ce68a(0x213)];}[_0x54ea80(0x1d6)](){const _0x339f9d=_0x54ea80,_0x53f384=joinServingGeneration(this[_0x339f9d(0x1fd)],{'connectionId':this[_0x339f9d(0x215)],'supervisorPid':process[_0x339f9d(0x26a)],'childPid':this['child']?.[_0x339f9d(0x26a)],'version':this[_0x339f9d(0x265)][_0x339f9d(0x254)],'digest':this['identity'][_0x339f9d(0x1e7)],'resourceDigest':this[_0x339f9d(0x2db)]});this['generation']=_0x53f384[_0x339f9d(0x270)],projectGeneration(this[_0x339f9d(0x32b)],this[_0x339f9d(0x1fd)],_0x53f384);if(this[_0x339f9d(0x1fc)]?.[_0x339f9d(0x2be)])this['child']['send']({'type':'set-generation','generation':this[_0x339f9d(0x270)]});this[_0x339f9d(0x1ea)]();}[_0x54ea80(0x1ea)](_0x1c8cdf={}){const _0x4e40e0=_0x54ea80,_0x241c05={'connectionId':this['connectionId'],'workspace':this[_0x4e40e0(0x1fd)],'runtimeRoot':this['runtimeRoot'],'endpoint':this[_0x4e40e0(0x263)],'secretFile':this[_0x4e40e0(0x332)],'supervisorPid':process['pid'],'childPid':this[_0x4e40e0(0x1fc)]?.['pid']||null,'version':this['identity']?.['version']||null,'digest':this[_0x4e40e0(0x265)]?.['digest']||null,'resourceDigest':this[_0x4e40e0(0x2db)]||null,'generation':this['generation'],'catalogHash':this['toolCatalogHash']||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x4e40e0(0x204)],'supervisorProcessStart':this['supervisorProcessStart'],'childProcessStart':this[_0x4e40e0(0x1fc)]?.[_0x4e40e0(0x26a)]?((()=>{const _0x1728a2=_0x4e40e0;try{return processIdentity(this[_0x1728a2(0x1fc)][_0x1728a2(0x26a)])?.[_0x1728a2(0x218)]||null;}catch{return null;}})()):null,'processIdentitySource':_0x4e40e0(0x299),'bootIdentity':this['bootIdentity'],'shutdownEvidence':this[_0x4e40e0(0x2cf)]||null,'startupStatus':this['startupState'][_0x4e40e0(0x2a6)],'provisional':!this[_0x4e40e0(0x2da)],'lastSeen':new Date()[_0x4e40e0(0x269)](),'activation':this['activation'],'serving':this[_0x4e40e0(0x1fc)]?.['ready']===!![]&&!this[_0x4e40e0(0x33e)],'closed':this[_0x4e40e0(0x33e)],'observedAt':new Date()['toISOString'](),..._0x1c8cdf};if(this['stopped'])_0x241c05[_0x4e40e0(0x2bd)]=crypto['createHmac'](_0x4e40e0(0x219),this[_0x4e40e0(0x2a3)])[_0x4e40e0(0x20d)](JSON[_0x4e40e0(0x22f)](_0x241c05))['digest'](_0x4e40e0(0x264));atomic(this['receiptPath'],_0x241c05);}['rebindWorkspace'](_0x2d6fc4){const _0x4002c9=_0x54ea80,_0x5d39f5=fs['realpathSync'](_0x2d6fc4);if(same(_0x5d39f5,this[_0x4002c9(0x1fd)]))return;const _0xd9ff3a={};_0xd9ff3a[_0x4002c9(0x1e1)]=_0x4002c9(0x23e);if(this[_0x4002c9(0x289)]||this[_0x4002c9(0x1fc)])throw Object[_0x4002c9(0x2b7)](new Error(_0x4002c9(0x20c)),_0xd9ff3a);const _0x3cd216=this['receiptPath'],_0x33e06f=this['secretPath'];closeMember(this[_0x4002c9(0x1fd)],this[_0x4002c9(0x215)],process[_0x4002c9(0x26a)],!![]),this[_0x4002c9(0x1fd)]=_0x5d39f5;const _0x1f3656=registerMember(this[_0x4002c9(0x1fd)],{'connectionId':this[_0x4002c9(0x215)],'supervisorPid':process[_0x4002c9(0x26a)],'runtimeRoot':this[_0x4002c9(0x32b)]});this[_0x4002c9(0x31b)]=_0x1f3656['state']===_0x4002c9(0x286);const _0x268f00={};_0x268f00[_0x4002c9(0x291)]=!![],fs[_0x4002c9(0x24a)](path[_0x4002c9(0x260)](this[_0x4002c9(0x332)]),_0x268f00);const _0xb837a4={};_0xb837a4['flag']='wx',_0xb837a4[_0x4002c9(0x30a)]=0x180,fs[_0x4002c9(0x236)](this[_0x4002c9(0x332)],this[_0x4002c9(0x2a3)],_0xb837a4);const _0xa724a3={};_0xa724a3[_0x4002c9(0x215)]=this[_0x4002c9(0x215)],_0xa724a3[_0x4002c9(0x30e)]=![],_0xa724a3[_0x4002c9(0x2eb)]=_0x4002c9(0x2e3),atomic(_0x3cd216,_0xa724a3);try{fs['unlinkSync'](_0x33e06f);}catch{}this[_0x4002c9(0x1ea)]();}async[_0x54ea80(0x218)](){const _0x4bac90=_0x54ea80;require(_0x4bac90(0x294))[_0x4bac90(0x1fe)](),verifyRelease(this[_0x4bac90(0x244)],this[_0x4bac90(0x1bb)]);const _0x302f85=registerMember(this[_0x4bac90(0x1fd)],{'connectionId':this['connectionId'],'supervisorPid':process['pid'],'runtimeRoot':this['runtimeRoot']});this[_0x4bac90(0x31b)]=_0x302f85[_0x4bac90(0x251)]==='waiting';const _0x405f69={};_0x405f69['recursive']=!![],fs[_0x4bac90(0x24a)](path[_0x4bac90(0x260)](this['secretPath']),_0x405f69);const _0x4703a7={};return _0x4703a7[_0x4bac90(0x29f)]='wx',_0x4703a7[_0x4bac90(0x30a)]=0x180,fs['writeFileSync'](this['secretPath'],this[_0x4bac90(0x2a3)],_0x4703a7),this[_0x4bac90(0x1ef)]=net['createServer'](_0x44c1b0=>{const _0x294717=_0x4bac90;let _0x380bb8='',_0x10ef25=![];_0x44c1b0[_0x294717(0x1b7)](0x1fbd0,()=>_0x44c1b0[_0x294717(0x1ee)]()),_0x44c1b0['on'](_0x294717(0x25c),_0x2bd2a7=>{const _0x32d8f1=_0x294717;_0x380bb8+=_0x2bd2a7;if(Buffer[_0x32d8f1(0x283)](_0x380bb8)>0x2*0x400*0x400)return _0x44c1b0[_0x32d8f1(0x1ee)]();const _0x587230=_0x380bb8[_0x32d8f1(0x315)]('\x0a');if(_0x587230<0x0)return;if(_0x10ef25)return _0x44c1b0[_0x32d8f1(0x1ee)]();_0x10ef25=!![];let _0x300ddc;try{_0x300ddc=JSON[_0x32d8f1(0x310)](_0x380bb8[_0x32d8f1(0x21b)](0x0,_0x587230));}catch{return _0x44c1b0[_0x32d8f1(0x1ee)]();}if(![_0x32d8f1(0x1c1),'prepare',_0x32d8f1(0x31d),_0x32d8f1(0x261),_0x32d8f1(0x327),_0x32d8f1(0x222),_0x32d8f1(0x253),_0x32d8f1(0x26f),'restore-previous','hook-context',_0x32d8f1(0x2fe)]['includes'](_0x300ddc[_0x32d8f1(0x246)])||!verifyEnvelope(this['secret'],_0x300ddc,this[_0x32d8f1(0x309)],this[_0x32d8f1(0x215)]))return _0x44c1b0[_0x32d8f1(0x1ee)]();const _0xbed372=_0x8f4e80=>{const _0xa27c66=_0x32d8f1,_0x28d9f8={'nonce':_0x300ddc[_0xa27c66(0x1ed)],'connectionId':this['connectionId'],'workspace':this['workspace'],'supervisorPid':process[_0xa27c66(0x26a)],'childPid':this[_0xa27c66(0x1fc)]?.[_0xa27c66(0x26a)]||null,'generation':this['generation'],'version':this[_0xa27c66(0x265)]?.[_0xa27c66(0x254)]||null,'digest':this[_0xa27c66(0x265)]?.[_0xa27c66(0x1e7)]||null,'resourceDigest':this[_0xa27c66(0x2db)]||null,'catalogHash':this[_0xa27c66(0x1e8)]||null,'shutdownEvidence':this[_0xa27c66(0x2cf)]||null,'controlCapabilities':this[_0xa27c66(0x1e0)]||[],'activation':this[_0xa27c66(0x2eb)],'serving':this['child']?.['ready']===!![]&&!this[_0xa27c66(0x33e)],..._0x8f4e80},_0x5e90ab=_0x28d9f8;_0x5e90ab['mac']=crypto[_0xa27c66(0x2b4)]('sha256',this[_0xa27c66(0x2a3)])['update'](JSON[_0xa27c66(0x22f)](_0x5e90ab))[_0xa27c66(0x1e7)](_0xa27c66(0x264)),_0x44c1b0['end'](JSON[_0xa27c66(0x22f)](_0x5e90ab)+'\x0a');};if(_0x300ddc[_0x32d8f1(0x246)]==='challenge')return _0xbed372({});const _0x4f94d2={};_0x4f94d2['status']=_0x32d8f1(0x297),_0x4f94d2[_0x32d8f1(0x1e1)]='GATEWAY_BINDING_REQUIRED';if(_0x300ddc['type']===_0x32d8f1(0x2fe))return _0xbed372(this[_0x32d8f1(0x22e)]&&this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)]&&!this[_0x32d8f1(0x33e)]?{'status':_0x32d8f1(0x28c),'binding':this[_0x32d8f1(0x22e)]}:_0x4f94d2);if(_0x300ddc[_0x32d8f1(0x246)]===_0x32d8f1(0x2d4)){const _0x39d5f1={};_0x39d5f1[_0x32d8f1(0x2a6)]='failed',_0x39d5f1[_0x32d8f1(0x1e1)]=_0x32d8f1(0x245);if(readFence(this[_0x32d8f1(0x1fd)])[_0x32d8f1(0x251)]==='frozen'||!this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)])return _0xbed372(_0x39d5f1);const _0xc8281a={};_0xc8281a[_0x32d8f1(0x200)]=_0x300ddc[_0x32d8f1(0x211)],void this[_0x32d8f1(0x225)](_0x32d8f1(0x23c),_0xc8281a)[_0x32d8f1(0x305)](_0x5e78ef=>_0xbed372(_0x5e78ef))[_0x32d8f1(0x33d)](_0x41b7b1=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x41b7b1['code']||'CALLER_CONTEXT_UNAVAILABLE'}));return;}if(['stop-for-update',_0x32d8f1(0x253),_0x32d8f1(0x26f),_0x32d8f1(0x24d)][_0x32d8f1(0x2e7)](_0x300ddc['type'])){void this[_0x32d8f1(0x28e)](_0x300ddc)[_0x32d8f1(0x305)](_0xbed372)[_0x32d8f1(0x33d)](_0x59f9c6=>_0xbed372({'status':'failed','code':_0x59f9c6[_0x32d8f1(0x1e1)]||'CANDIDATE_CONTROL_FAILED'}));return;}if(_0x300ddc['type']==='abort'){const _0x5c5267={};_0x5c5267[_0x32d8f1(0x2a6)]='failed',_0x5c5267['code']=_0x32d8f1(0x1cd);if(this[_0x32d8f1(0x213)]&&!this[_0x32d8f1(0x213)][_0x32d8f1(0x2ac)]||readFence(this[_0x32d8f1(0x1fd)])[_0x32d8f1(0x251)]===_0x32d8f1(0x25e))return _0xbed372(_0x5c5267);const _0x3153ea={};_0x3153ea[_0x32d8f1(0x2a6)]=_0x32d8f1(0x1d3),_0x3153ea[_0x32d8f1(0x1e1)]=_0x32d8f1(0x337);if(this['transition'])return _0xbed372(_0x3153ea);this[_0x32d8f1(0x31b)]=![];this[_0x32d8f1(0x213)]?.[_0x32d8f1(0x2ac)]&&(this['candidate']=null,this[_0x32d8f1(0x32d)]());this[_0x32d8f1(0x2eb)]=this[_0x32d8f1(0x1fc)]?.[_0x32d8f1(0x1bf)]?_0x32d8f1(0x233):_0x32d8f1(0x1c4),this[_0x32d8f1(0x1ea)]();const _0x203297={};return _0x203297[_0x32d8f1(0x2a6)]=this[_0x32d8f1(0x2eb)],_0xbed372(_0x203297);}if(_0x300ddc[_0x32d8f1(0x246)]===_0x32d8f1(0x237)){this[_0x32d8f1(0x31b)]=!![],this[_0x32d8f1(0x2eb)]=_0x32d8f1(0x1d3),this[_0x32d8f1(0x1ea)](),void this[_0x32d8f1(0x2f5)]()[_0x32d8f1(0x305)](_0x54e65e=>_0xbed372({'status':_0x54e65e['length']?_0x32d8f1(0x1d3):_0x32d8f1(0x224),'blockers':_0x54e65e}))['catch'](_0x580e24=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x580e24['code']||_0x32d8f1(0x208)}));return;}if(_0x300ddc['type']==='request-stop'){const _0x5648d6=readFence(this[_0x32d8f1(0x1fd)]),_0x5c1a09={};_0x5c1a09[_0x32d8f1(0x2a6)]='failed',_0x5c1a09[_0x32d8f1(0x1e1)]='ADMISSION_CONFLICT';if(_0x5648d6[_0x32d8f1(0x251)]!==_0x32d8f1(0x1e3)||!_0x5648d6[_0x32d8f1(0x1c9)]||_0x5648d6[_0x32d8f1(0x252)]!==_0x300ddc['transactionId']||_0x5648d6[_0x32d8f1(0x280)]!==_0x300ddc['epoch']||_0x5648d6[_0x32d8f1(0x1f7)]!==_0x300ddc[_0x32d8f1(0x254)]||_0x5648d6['targetDigest']!==_0x300ddc['digest'])return _0xbed372(_0x5c1a09);this[_0x32d8f1(0x31b)]=!![],this[_0x32d8f1(0x2eb)]=_0x32d8f1(0x1d3),this[_0x32d8f1(0x1ea)](),void this[_0x32d8f1(0x225)](_0x32d8f1(0x31d),{..._0x300ddc[_0x32d8f1(0x2b2)],'transactionId':_0x300ddc[_0x32d8f1(0x252)],'epoch':_0x300ddc[_0x32d8f1(0x280)],'version':_0x300ddc[_0x32d8f1(0x254)],'digest':_0x300ddc[_0x32d8f1(0x1e7)],'requestsPending':this['pending'][_0x32d8f1(0x217)]},0x3a98)[_0x32d8f1(0x305)](_0xbed372)[_0x32d8f1(0x33d)](_0x296b04=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x296b04['code']||_0x32d8f1(0x277)}));return;}const _0x2559c2={};_0x2559c2['status']=_0x32d8f1(0x234),_0x2559c2[_0x32d8f1(0x1e1)]=_0x32d8f1(0x30b);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x32d8f1(0x33c)](_0x300ddc[_0x32d8f1(0x254)]||'')||!/^[a-f0-9]{64}$/[_0x32d8f1(0x33c)](_0x300ddc['digest']||'')||!this[_0x32d8f1(0x31b)])return _0xbed372(_0x2559c2);const _0x26e481=path['join'](this[_0x32d8f1(0x32b)],'releases',_0x300ddc[_0x32d8f1(0x254)]+'-'+_0x300ddc[_0x32d8f1(0x1e7)]);void this['switchRuntime'](_0x26e481,Math[_0x32d8f1(0x1dd)](0x0,Math['min'](0x78,Number(_0x300ddc[_0x32d8f1(0x2c0)])||0x0)))[_0x32d8f1(0x305)](_0x3a1f10=>_0xbed372(_0x3a1f10))[_0x32d8f1(0x33d)](_0x5801ca=>_0xbed372({'status':_0x32d8f1(0x234),'code':_0x5801ca[_0x32d8f1(0x1e1)]||_0x32d8f1(0x1b2)}));});}),await new Promise((_0x588bc3,_0x525cee)=>this[_0x4bac90(0x1ef)][_0x4bac90(0x23a)](_0x4bac90(0x1db),_0x525cee)[_0x4bac90(0x298)](this['endpoint'],_0x588bc3)),this[_0x4bac90(0x1ea)](),this['stdin']['on'](_0x4bac90(0x25c),_0x4ff46e=>this['receiveHost'](_0x4ff46e)),this[_0x4bac90(0x2c2)]['on'](_0x4bac90(0x238),()=>void this[_0x4bac90(0x201)](_0x4bac90(0x2c1))),this[_0x4bac90(0x2c2)]['on'](_0x4bac90(0x1db),()=>void this[_0x4bac90(0x201)](_0x4bac90(0x2fd))),this['watchPendingExecutor'](),this;}[_0x54ea80(0x276)](_0x101fd1=0x1388){const _0x558cee=_0x54ea80;clearTimeout(this[_0x558cee(0x28b)]);const _0x506230=async()=>{const _0x2dc688=_0x558cee;if(this[_0x2dc688(0x33e)]||this[_0x2dc688(0x2d5)])return;const _0x2f7f30=this['workspace'];try{await require(_0x2dc688(0x272))[_0x2dc688(0x316)](_0x2f7f30,this[_0x2dc688(0x1bb)]);}catch(_0x5d100a){const _0x16d66d={};_0x16d66d[_0x2dc688(0x1c7)]=_0x5d100a['code']||_0x2dc688(0x2c8);if(this['workspace']===_0x2f7f30&&!this[_0x2dc688(0x33e)]&&!this[_0x2dc688(0x2d5)])this['record'](_0x16d66d);}!this['stopped']&&!this[_0x2dc688(0x2d5)]&&(this['executorTimer']=setTimeout(_0x506230,_0x101fd1),this[_0x2dc688(0x28b)][_0x2dc688(0x1b8)]());};void _0x506230();}[_0x54ea80(0x239)](_0x94d36b){const _0x27ff94=_0x54ea80,_0x324178=_0x94d36b[_0x27ff94(0x2cc)]||{},_0x205feb=_0x324178[_0x27ff94(0x2bc)]?.[0x0],_0x372f44=_0x205feb?.[_0x27ff94(0x241)]||_0x205feb?.['uri']||_0x324178[_0x27ff94(0x29b)]||_0x324178[_0x27ff94(0x20f)];if(!_0x372f44)return this[_0x27ff94(0x1fd)];try{const _0x3cf824=_0x372f44[_0x27ff94(0x304)](_0x27ff94(0x24c))?require('node:url')[_0x27ff94(0x247)](_0x372f44):_0x372f44;return fs[_0x27ff94(0x32c)](_0x3cf824);}catch{return this['workspace'];}}[_0x54ea80(0x295)](_0x3b2350){const _0x291c4a=_0x54ea80;this[_0x291c4a(0x2ec)]+=_0x3b2350[_0x291c4a(0x2a8)](_0x291c4a(0x256));if(this[_0x291c4a(0x2ec)][_0x291c4a(0x240)]>0x8*0x400*0x400)return void this['close']('oversize-host-message');let _0x3351ce;while((_0x3351ce=this[_0x291c4a(0x2ec)][_0x291c4a(0x315)]('\x0a'))>=0x0){const _0x774875=this['inputBuffer']['slice'](0x0,_0x3351ce);this[_0x291c4a(0x2ec)]=this['inputBuffer'][_0x291c4a(0x21b)](_0x3351ce+0x1);if(!_0x774875['trim']())continue;let _0x1be78c;try{_0x1be78c=JSON[_0x291c4a(0x310)](_0x774875);}catch{const _0x4977d4={};_0x4977d4[_0x291c4a(0x1e1)]=-0x7fbc,_0x4977d4[_0x291c4a(0x1f6)]=_0x291c4a(0x2b0);const _0x2ed623={};_0x2ed623[_0x291c4a(0x2f3)]=_0x291c4a(0x2ed),_0x2ed623['id']=null,_0x2ed623[_0x291c4a(0x1db)]=_0x4977d4,this[_0x291c4a(0x24e)](_0x2ed623);continue;}this[_0x291c4a(0x1eb)]=this[_0x291c4a(0x1eb)][_0x291c4a(0x305)](()=>this[_0x291c4a(0x2ea)](_0x1be78c,_0x774875))[_0x291c4a(0x33d)](_0x31ecf1=>{const _0x2e72e7=_0x291c4a,_0x12d790={};_0x12d790['code']=-0x7f5b,_0x12d790[_0x2e72e7(0x1f6)]=_0x31ecf1[_0x2e72e7(0x1e1)]||_0x2e72e7(0x262);if(_0x1be78c['id']!==undefined)this[_0x2e72e7(0x24e)]({'jsonrpc':_0x2e72e7(0x2ed),'id':_0x1be78c['id'],'error':_0x12d790});});}}async['handleHostMessage'](_0x5aa669,_0x41af4b){const _0x1825e8=_0x54ea80;if(this[_0x1825e8(0x33e)])return;if(!_0x5aa669[_0x1825e8(0x248)])return;if(this[_0x1825e8(0x1fc)]?.[_0x1825e8(0x31a)]&&this['activation']===_0x1825e8(0x2b3)){const _0x24c6a7={};_0x24c6a7[_0x1825e8(0x1e1)]=-0x7d02,_0x24c6a7[_0x1825e8(0x1f6)]=_0x1825e8(0x326);if(_0x5aa669['id']!==undefined)this['writeHost']({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x24c6a7});return;}if(!this[_0x1825e8(0x1fc)]&&_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x318))this[_0x1825e8(0x1ce)](this[_0x1825e8(0x239)](_0x5aa669));const _0x278d9a=readFence(this[_0x1825e8(0x1fd)]),_0x28cffc=require(_0x1825e8(0x278))[_0x1825e8(0x27e)](this[_0x1825e8(0x1fd)]);this[_0x1825e8(0x2f2)]=_0x28cffc;if(_0x278d9a[_0x1825e8(0x251)]===_0x1825e8(0x25e)&&_0x28cffc[_0x1825e8(0x20e)]){const _0x1289ba={};_0x1289ba[_0x1825e8(0x1e1)]=-0x7d01,_0x1289ba[_0x1825e8(0x1f6)]=_0x1825e8(0x2cd);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x1289ba});return;}if(!this[_0x1825e8(0x1fc)]&&_0x278d9a[_0x1825e8(0x251)]!=='open'&&_0x28cffc['mutationAllowed']){const _0x2c3924={};_0x2c3924['code']=-0x7d01,_0x2c3924[_0x1825e8(0x1f6)]=_0x1825e8(0x296);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x2c3924});return;}if(!this[_0x1825e8(0x1fc)]){if(_0x5aa669[_0x1825e8(0x248)]!==_0x1825e8(0x318)){const _0x2052c9={};_0x2052c9[_0x1825e8(0x1e1)]=-0x7d02,_0x2052c9[_0x1825e8(0x1f6)]=_0x1825e8(0x2f0);if(_0x5aa669['id']!==undefined)this['writeHost']({'jsonrpc':'2.0','id':_0x5aa669['id'],'error':_0x2052c9});return;}const _0x434dd5=readGeneration(this[_0x1825e8(0x1fd)]);if(_0x434dd5){const _0x20f2d7=path['join'](this['runtimeRoot'],_0x1825e8(0x2a5),_0x434dd5[_0x1825e8(0x254)]+'-'+_0x434dd5['digest']),_0x3bd5e1=verifyRelease(_0x20f2d7,this[_0x1825e8(0x1bb)]),_0xcf5400={};_0xcf5400['code']=_0x1825e8(0x308);if(_0x3bd5e1['version']!==_0x434dd5[_0x1825e8(0x254)]||_0x3bd5e1[_0x1825e8(0x1e7)]!==_0x434dd5['digest'])throw Object[_0x1825e8(0x2b7)](new Error('Committed\x20runtime\x20identity\x20differs'),_0xcf5400);this[_0x1825e8(0x244)]=_0x20f2d7,this[_0x1825e8(0x270)]=_0x434dd5[_0x1825e8(0x270)];}await this['boot'](this['release'],this[_0x1825e8(0x270)]||0x1),this['admissionClosed']=!_0x28cffc[_0x1825e8(0x20e)]||readFence(this[_0x1825e8(0x1fd)])[_0x1825e8(0x251)]!==_0x1825e8(0x28d);}let _0x2fe64e;if(_0x28cffc[_0x1825e8(0x20e)]&&readFence(this[_0x1825e8(0x1fd)])[_0x1825e8(0x251)]===_0x1825e8(0x1e3)&&this[_0x1825e8(0x293)](_0x5aa669)){const _0x11e5aa={};_0x11e5aa[_0x1825e8(0x23f)]=_0x5aa669['params']['name'],_0x11e5aa[_0x1825e8(0x250)]=_0x5aa669['params']['arguments'],_0x2fe64e=await this[_0x1825e8(0x225)](_0x1825e8(0x25a),_0x11e5aa);}const _0x472300=withAdmissionLock(this[_0x1825e8(0x1fd)],_0x5d93fd=>{const _0x13bf2e=_0x1825e8,_0x1830db=_0x5d93fd[_0x13bf2e(0x251)]===_0x13bf2e(0x1e3)&&_0x2fe64e?.[_0x13bf2e(0x1b3)]===!![]&&_0x2fe64e[_0x13bf2e(0x280)]===_0x5d93fd[_0x13bf2e(0x280)];if(!_0x28cffc[_0x13bf2e(0x20e)]){if(_0x5aa669[_0x13bf2e(0x248)]===_0x13bf2e(0x2ab)&&!this[_0x13bf2e(0x271)](_0x5aa669))return![];if(_0x5aa669['id']===undefined)return!![];const _0x4eaffb={};_0x4eaffb['code']=_0x13bf2e(0x31e);if(this[_0x13bf2e(0x228)][_0x13bf2e(0x1b1)](messageId(_0x5aa669['id'])))throw Object['assign'](new Error(_0x13bf2e(0x249)),_0x4eaffb);const _0x121b7a=this[_0x13bf2e(0x215)]+':'+crypto[_0x13bf2e(0x2f6)](),_0x43c324={'invocationId':_0x121b7a,'actorId':_0x13bf2e(0x274),'attemptId':null,'inputHash':hash(_0x41af4b),'epoch':_0x5d93fd[_0x13bf2e(0x280)],'status':_0x13bf2e(0x233),'connectionId':this[_0x13bf2e(0x215)],'createdAt':new Date()[_0x13bf2e(0x269)]()};return _0x5d93fd['tickets']||={},_0x5d93fd[_0x13bf2e(0x1e6)][hash(_0x121b7a)]=_0x43c324,saveLocked(this['workspace'],_0x5d93fd),this[_0x13bf2e(0x228)]['set'](messageId(_0x5aa669['id']),{'method':_0x5aa669[_0x13bf2e(0x248)],'tool':_0x5aa669[_0x13bf2e(0x2cc)]?.[_0x13bf2e(0x2f1)]||null,'ticket':_0x43c324}),!![];}if(_0x5d93fd[_0x13bf2e(0x251)]===_0x13bf2e(0x25e)||(this['admissionClosed']||['closed','draining'][_0x13bf2e(0x2e7)](_0x5d93fd['state']))&&this[_0x13bf2e(0x293)](_0x5aa669)&&!_0x1830db)return![];if(_0x5aa669['id']===undefined)return!![];const _0x1ccb9e={};_0x1ccb9e[_0x13bf2e(0x1e1)]=_0x13bf2e(0x31e);if(this[_0x13bf2e(0x228)][_0x13bf2e(0x1b1)](messageId(_0x5aa669['id'])))throw Object['assign'](new Error(_0x13bf2e(0x249)),_0x1ccb9e);const _0x12131f=this[_0x13bf2e(0x215)]+':'+crypto[_0x13bf2e(0x2f6)](),_0x8df8d={'invocationId':_0x12131f,'actorId':_0x13bf2e(0x274),'attemptId':null,'inputHash':hash(_0x41af4b),'epoch':_0x5d93fd[_0x13bf2e(0x280)],'status':_0x13bf2e(0x233),'connectionId':this[_0x13bf2e(0x215)],'createdAt':new Date()['toISOString']()};return _0x5d93fd[_0x13bf2e(0x1e6)]||={},_0x5d93fd['tickets'][hash(_0x12131f)]=_0x8df8d,saveLocked(this[_0x13bf2e(0x1fd)],_0x5d93fd),this['pending']['set'](messageId(_0x5aa669['id']),{'method':_0x5aa669[_0x13bf2e(0x248)],'tool':_0x5aa669['params']?.['name']||null,'ticket':_0x8df8d}),!![];});if(!_0x472300){const _0x3696cd={};_0x3696cd[_0x1825e8(0x1e1)]=-0x7d01,_0x3696cd[_0x1825e8(0x1f6)]=_0x1825e8(0x22d);if(_0x5aa669['id']!==undefined)this[_0x1825e8(0x24e)]({'jsonrpc':_0x1825e8(0x2ed),'id':_0x5aa669['id'],'error':_0x3696cd});return;}if(_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x318))this['initialize']=_0x5aa669[_0x1825e8(0x2cc)]||{};if(_0x5aa669[_0x1825e8(0x248)]===_0x1825e8(0x28a))this[_0x1825e8(0x2e5)]=!![];try{if(this['requiresProcessDispatch'](_0x5aa669))await this[_0x1825e8(0x1d7)]();!this['child'][_0x1825e8(0x2c2)][_0x1825e8(0x312)](_0x41af4b+'\x0a')&&(this['stdin'][_0x1825e8(0x1fa)](),this['child']['stdin'][_0x1825e8(0x23a)](_0x1825e8(0x1ba),()=>this['stdin'][_0x1825e8(0x2b9)]()));}catch(_0x2ba00b){if(_0x5aa669['id']!==undefined){const _0x2fa162=this['pending'][_0x1825e8(0x1e4)](messageId(_0x5aa669['id']));if(_0x2fa162?.[_0x1825e8(0x223)])finishOperation(this[_0x1825e8(0x1fd)],_0x2fa162[_0x1825e8(0x223)][_0x1825e8(0x24f)],_0x2fa162[_0x1825e8(0x223)]['epoch']);this[_0x1825e8(0x228)][_0x1825e8(0x2ce)](messageId(_0x5aa669['id']));}throw _0x2ba00b;}}[_0x54ea80(0x293)](_0x319fa9){const _0x216c63=_0x54ea80;if(_0x319fa9[_0x216c63(0x248)]!==_0x216c63(0x2ab))return![];const _0x41f7d7=_0x319fa9['params']?.[_0x216c63(0x2f1)]||'',_0x526ef6=_0x319fa9[_0x216c63(0x2cc)]?.[_0x216c63(0x250)]?.[_0x216c63(0x324)];if(_0x41f7d7===_0x216c63(0x1d5))return!(_0x319fa9[_0x216c63(0x2cc)]?.[_0x216c63(0x250)]?.[_0x216c63(0x328)]&&[_0x216c63(0x311),_0x216c63(0x207),_0x216c63(0x244),'resource-wait',_0x216c63(0x1c5),_0x216c63(0x2e1),_0x216c63(0x1d1)][_0x216c63(0x2e7)](_0x526ef6));return!this[_0x216c63(0x271)](_0x319fa9);}[_0x54ea80(0x271)](_0x1398e3){const _0x109c64=_0x54ea80,_0x4fb461=_0x1398e3['params']?.[_0x109c64(0x2f1)]||'';if([_0x109c64(0x2b1),_0x109c64(0x2b6),_0x109c64(0x287),_0x109c64(0x1b6),'skill_load',_0x109c64(0x1be),_0x109c64(0x30c),_0x109c64(0x2d0),_0x109c64(0x1f5),'grep_search',_0x109c64(0x279),_0x109c64(0x206),_0x109c64(0x1e5),'explore_code',_0x109c64(0x1c8),'read_knowledge'][_0x109c64(0x2e7)](_0x4fb461))return!![];return![];}[_0x54ea80(0x2d1)](_0x16ca3f){const _0x42fbe2=_0x54ea80;if(_0x16ca3f[_0x42fbe2(0x248)]===_0x42fbe2(0x2d2))return(this[_0x42fbe2(0x313)]['MCP_DISCOVER_BACKENDS']||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x42fbe2(0x318),_0x42fbe2(0x25d)][_0x42fbe2(0x2e7)](_0x16ca3f['method'])||_0x16ca3f['method']?.[_0x42fbe2(0x304)](_0x42fbe2(0x28f)))return![];if(_0x16ca3f[_0x42fbe2(0x248)]!=='tools/call')return!![];const {name:_0xcfc909,arguments:_0x4636bd={}}=_0x16ca3f[_0x42fbe2(0x2cc)]||{};if(_0xcfc909==='session_bootstrap')return _0x4636bd[_0x42fbe2(0x2d8)]===!![];if(_0xcfc909===_0x42fbe2(0x2b6))return _0x4636bd[_0x42fbe2(0x1f2)]===!![];if(_0xcfc909===_0x42fbe2(0x287))return Boolean(_0x4636bd[_0x42fbe2(0x203)]||_0x4636bd['service']);if(_0xcfc909===_0x42fbe2(0x2b1))return _0x4636bd[_0x42fbe2(0x1f2)]===!![];return!['skill_load',_0x42fbe2(0x1be)]['includes'](_0xcfc909);}async[_0x54ea80(0x1d7)](){const _0x12abe2=_0x54ea80,_0xb7f7bd=this[_0x12abe2(0x1fc)],_0x38a86f={};_0x38a86f['code']=_0x12abe2(0x2ba);if(!_0xb7f7bd)throw Object[_0x12abe2(0x2b7)](new Error(_0x12abe2(0x22c)),_0x38a86f);if(_0xb7f7bd[_0x12abe2(0x1d4)])return;_0xb7f7bd[_0x12abe2(0x20b)]||=((async()=>{const _0x4aa817=_0x12abe2;await attachOwnedJob(_0xb7f7bd);const _0x633e08=await this[_0x4aa817(0x225)](_0x4aa817(0x1d9)),_0x3413f0={};_0x3413f0[_0x4aa817(0x1e1)]=_0x4aa817(0x317);if(this['child']!==_0xb7f7bd||_0x633e08[_0x4aa817(0x246)]!==_0x4aa817(0x1d0)||_0x633e08[_0x4aa817(0x26a)]!==_0xb7f7bd[_0x4aa817(0x26a)]||_0x633e08[_0x4aa817(0x215)]!==this['connectionId']||_0x633e08[_0x4aa817(0x270)]!==this[_0x4aa817(0x270)])throw Object[_0x4aa817(0x2b7)](new Error('Process\x20dispatch\x20activation\x20was\x20not\x20confirmed'),_0x3413f0);_0xb7f7bd[_0x4aa817(0x1d4)]=!![];})());try{await _0xb7f7bd[_0x12abe2(0x20b)];}catch(_0x5a4a80){_0xb7f7bd['operationActivation']=null;throw _0x5a4a80;}}async['boot'](_0x1f857a,_0x3be952){const _0x1c7f53=_0x54ea80;if(this[_0x1c7f53(0x29a)])return this['booting'];this[_0x1c7f53(0x29a)]=((async()=>{const _0x23657f=_0x1c7f53,_0x259199=verifyRelease(_0x1f857a,this[_0x23657f(0x1bb)]),_0x3f85bb={...process.env,...this[_0x23657f(0x313)]};_0x3f85bb[_0x23657f(0x322)]='1',_0x3f85bb[_0x23657f(0x210)]=this[_0x23657f(0x215)];const _0x138a57=_0x3f85bb;delete _0x138a57[_0x23657f(0x2df)];const _0x596a1f=spawn(process[_0x23657f(0x2cb)],[path[_0x23657f(0x268)](_0x1f857a,_0x23657f(0x306))],{'cwd':this[_0x23657f(0x1fd)],'stdio':[_0x23657f(0x1de),_0x23657f(0x1de),_0x23657f(0x1de),_0x23657f(0x275)],'detached':process[_0x23657f(0x1bc)]!==_0x23657f(0x2d3),'windowsHide':!![],'env':_0x138a57});this['child']=_0x596a1f;const _0x3855af={};_0x3855af[_0x23657f(0x1fd)]=this[_0x23657f(0x1fd)],_0x3855af[_0x23657f(0x215)]=this[_0x23657f(0x215)],_0x3855af[_0x23657f(0x32b)]=this[_0x23657f(0x32b)],_0x3855af[_0x23657f(0x270)]=_0x3be952;const _0x272518={};_0x272518[_0x23657f(0x27d)]=!![],_0x596a1f[_0x23657f(0x32a)]=captureOwnedChild(_0x596a1f,_0x3855af,_0x272518);const _0x47e0c0={};_0x47e0c0[_0x23657f(0x254)]=_0x259199[_0x23657f(0x254)],_0x47e0c0['digest']=_0x259199[_0x23657f(0x1e7)],_0x47e0c0['generation']=_0x3be952,_0x596a1f[_0x23657f(0x2e9)]=_0x47e0c0,_0x596a1f['ready']=![],_0x596a1f[_0x23657f(0x2f7)]['on'](_0x23657f(0x25c),_0x46699c=>this[_0x23657f(0x2b8)](_0x46699c,_0x596a1f)),_0x596a1f[_0x23657f(0x2ae)]['on'](_0x23657f(0x25c),_0x7a4cc=>this['stderr'][_0x23657f(0x312)](_0x7a4cc)),_0x596a1f['on'](_0x23657f(0x1f6),_0x1dc895=>this['receiveControl'](_0x1dc895,_0x596a1f)),_0x596a1f['on'](_0x23657f(0x201),(_0x556fbd,_0x4b482f)=>this['childClosed'](_0x596a1f,_0x556fbd,_0x4b482f)),_0x596a1f['on'](_0x23657f(0x1db),_0x2335f4=>_0x596a1f[_0x23657f(0x25b)]?.(_0x2335f4));const _0x32e375=new Promise((_0x38ea60,_0x18648a)=>{const _0x59f50b=_0x23657f,_0x50f808={};_0x50f808['code']='CHILD_START_TIMEOUT';const _0x57cdb5=setTimeout(()=>_0x18648a(Object['assign'](new Error(_0x59f50b(0x281)),_0x50f808)),0x3a98);_0x596a1f[_0x59f50b(0x303)]=_0x108447=>{clearTimeout(_0x57cdb5),_0x38ea60(_0x108447);},_0x596a1f['bootReject']=_0x528fe8=>{clearTimeout(_0x57cdb5),_0x18648a(_0x528fe8);};});_0x32e375[_0x23657f(0x33d)](()=>{});try{_0x596a1f['send']({'type':'boot','runtimeRoot':this[_0x23657f(0x32b)],'release':_0x1f857a,'publicKey':this[_0x23657f(0x1bb)]?.[_0x23657f(0x2a8)](),'connectionId':this['connectionId'],'generation':_0x3be952,'workspace':this['workspace'],'explicitWorkspace':this['explicitWorkspace'],'gatewayBinding':this['gatewayBinding']});const _0x177b67=await _0x32e375;_0x596a1f[_0x23657f(0x1bf)]=!![],this[_0x23657f(0x1e0)]=Array[_0x23657f(0x30f)](_0x177b67[_0x23657f(0x216)])?_0x177b67['controlCapabilities']:[],this[_0x23657f(0x265)]=_0x259199,this[_0x23657f(0x2db)]=_0x177b67[_0x23657f(0x2db)],this[_0x23657f(0x270)]=_0x3be952,this[_0x23657f(0x2eb)]=_0x23657f(0x1c4),this[_0x23657f(0x1ea)]();}catch(_0x557ac1){_0x596a1f['bootReject']?.(_0x557ac1);try{await attachOwnedJob(_0x596a1f),await stopOwnedChild(_0x596a1f,{'graceMs':0x64,'reason':_0x23657f(0x227),'graceful':()=>{const _0x2094b9=_0x23657f;if(_0x596a1f[_0x2094b9(0x2be)])_0x596a1f[_0x2094b9(0x232)]();}});}catch(_0x4c0a1a){const _0x3e0805={};_0x3e0805[_0x23657f(0x20a)]=_0x4c0a1a[_0x23657f(0x1e1)];throw Object['assign'](_0x557ac1,_0x3e0805);}if(this[_0x23657f(0x1fc)]===_0x596a1f)this[_0x23657f(0x1fc)]=null;throw _0x557ac1;}})());try{return await this['booting'];}finally{this['booting']=null;}}[_0x54ea80(0x2b8)](_0x2c2a84,_0x364ce8){const _0x4ded0f=_0x54ea80;if(this[_0x4ded0f(0x1fc)]!==_0x364ce8)return;const _0x3f126d=this[_0x4ded0f(0x2a2)]['write'](_0x2c2a84);this[_0x4ded0f(0x21a)]+=_0x3f126d;let _0x549c4c;while((_0x549c4c=this[_0x4ded0f(0x21a)]['indexOf']('\x0a'))>=0x0){const _0x76f80=this[_0x4ded0f(0x21a)][_0x4ded0f(0x21b)](0x0,_0x549c4c);this['outputBuffer']=this[_0x4ded0f(0x21a)][_0x4ded0f(0x21b)](_0x549c4c+0x1);if(!_0x76f80)continue;let _0x2badb3;try{_0x2badb3=JSON[_0x4ded0f(0x310)](_0x76f80);}catch{continue;}const _0x565ba4=_0x2badb3['id']!==undefined&&this['control']['get'](messageId(_0x2badb3['id']));if(_0x565ba4){this['control'][_0x4ded0f(0x2ce)](messageId(_0x2badb3['id'])),_0x565ba4[_0x4ded0f(0x292)](_0x2badb3);continue;}const _0x32d5ba=_0x2badb3['id']!==undefined?this[_0x4ded0f(0x228)][_0x4ded0f(0x1e4)](messageId(_0x2badb3['id'])):null;if(_0x32d5ba){if(_0x32d5ba['ticket'])finishOperation(this[_0x4ded0f(0x1fd)],_0x32d5ba[_0x4ded0f(0x223)]['invocationId'],_0x32d5ba['ticket'][_0x4ded0f(0x280)]);this[_0x4ded0f(0x228)][_0x4ded0f(0x2ce)](messageId(_0x2badb3['id']));if(_0x32d5ba[_0x4ded0f(0x248)]===_0x4ded0f(0x318)&&!_0x2badb3[_0x4ded0f(0x1db)]){try{this[_0x4ded0f(0x2da)]=!![];if(this[_0x4ded0f(0x2f2)][_0x4ded0f(0x20e)])this[_0x4ded0f(0x1d6)](),this['activation']=_0x4ded0f(0x233);else this['activation']=_0x4ded0f(0x1ca);}catch(_0x2cb8eb){this[_0x4ded0f(0x2eb)]=_0x4ded0f(0x2a4);const _0x1c12d5={};_0x1c12d5[_0x4ded0f(0x1e1)]=-0x7d01,_0x1c12d5[_0x4ded0f(0x1f6)]=_0x2cb8eb['code']||_0x4ded0f(0x2a7),_0x2badb3={'jsonrpc':_0x4ded0f(0x2ed),'id':_0x2badb3['id'],'error':_0x1c12d5};}this[_0x4ded0f(0x1ea)]();if(this[_0x4ded0f(0x2f2)][_0x4ded0f(0x20e)])void this[_0x4ded0f(0x2bb)]()[_0x4ded0f(0x33d)](_0x249ba5=>{const _0x16c664=_0x4ded0f,_0x959d36={};_0x959d36['blocker']=_0x249ba5[_0x16c664(0x1e1)]||'ADMISSION_RELEASE_FAILED',this[_0x16c664(0x1ea)](_0x959d36);});}if(_0x32d5ba[_0x4ded0f(0x248)]===_0x4ded0f(0x2d2)&&!_0x2badb3[_0x4ded0f(0x1db)])this[_0x4ded0f(0x1e8)]=hash(JSON[_0x4ded0f(0x22f)](_0x2badb3['result']?.[_0x4ded0f(0x27c)]||[]));}!this[_0x4ded0f(0x2f7)][_0x4ded0f(0x312)](JSON[_0x4ded0f(0x22f)](_0x2badb3)+'\x0a')&&(_0x364ce8[_0x4ded0f(0x2f7)]['pause'](),this[_0x4ded0f(0x2f7)][_0x4ded0f(0x23a)]('drain',()=>_0x364ce8['stdout'][_0x4ded0f(0x2b9)]()));}}async['releaseCommittedFence'](){const _0x8ce6f1=_0x54ea80,_0x52c850=readFence(this['workspace']);if(_0x52c850['state']!==_0x8ce6f1(0x31a)||_0x52c850[_0x8ce6f1(0x1f7)]!==this[_0x8ce6f1(0x265)]?.[_0x8ce6f1(0x254)]||_0x52c850[_0x8ce6f1(0x33f)]!==this['identity']?.[_0x8ce6f1(0x1e7)])return;const _0x2a8338=path[_0x8ce6f1(0x268)](this[_0x8ce6f1(0x1fd)],_0x8ce6f1(0x243),'runtime',_0x8ce6f1(0x242));let _0x10f473;try{_0x10f473=JSON[_0x8ce6f1(0x310)](fs[_0x8ce6f1(0x1f0)](_0x2a8338,_0x8ce6f1(0x256)));}catch{return;}if(_0x10f473[_0x8ce6f1(0x252)]!==_0x52c850[_0x8ce6f1(0x252)]||![_0x8ce6f1(0x21d),'reconnect-required']['includes'](_0x10f473['status']))return;const _0x5ebf4e=await require(_0x8ce6f1(0x31c))[_0x8ce6f1(0x2a0)](this['workspace'],{'version':this[_0x8ce6f1(0x265)][_0x8ce6f1(0x254)],'digest':this['identity'][_0x8ce6f1(0x1e7)],'resourceDigest':this[_0x8ce6f1(0x2db)]});if(_0x5ebf4e[_0x8ce6f1(0x2a6)]!==_0x8ce6f1(0x233))return;const _0x463650=changeFence(this['workspace'],_0x52c850['epoch'],{'state':_0x8ce6f1(0x28d),'transactionId':_0x52c850[_0x8ce6f1(0x252)],'generation':this[_0x8ce6f1(0x270)]}),_0x3e770f={..._0x10f473};_0x3e770f[_0x8ce6f1(0x2a6)]='active',_0x3e770f[_0x8ce6f1(0x2e4)]=_0x8ce6f1(0x2e2),_0x3e770f[_0x8ce6f1(0x270)]=this[_0x8ce6f1(0x270)],_0x3e770f['changedAt']=_0x463650['changedAt'],atomic(_0x2a8338,_0x3e770f);}[_0x54ea80(0x257)](_0x468947,_0xa8a353){const _0x205457=_0x54ea80;if(this[_0x205457(0x1fc)]!==_0xa8a353)return;if(_0x468947?.['type']===_0x205457(0x1bf)){const _0x221bf3=_0xa8a353['expectedBoot'],_0x6b1620={};_0x6b1620['code']=_0x205457(0x317);if(!_0x221bf3||_0x468947['connectionId']!==this[_0x205457(0x215)]||_0x468947[_0x205457(0x26a)]!==_0xa8a353[_0x205457(0x26a)]||_0x468947['generation']!==_0x221bf3[_0x205457(0x270)]||_0x468947[_0x205457(0x254)]!==_0x221bf3[_0x205457(0x254)]||_0x468947[_0x205457(0x1e7)]!==_0x221bf3['digest']||!same(_0x468947[_0x205457(0x1fd)]||'',this[_0x205457(0x1fd)]))_0xa8a353[_0x205457(0x25b)]?.(Object[_0x205457(0x2b7)](new Error('Runtime\x20readiness\x20tuple\x20does\x20not\x20match\x20candidate'),_0x6b1620));else _0xa8a353[_0x205457(0x303)]?.(_0x468947);}else{if(_0x468947?.[_0x205457(0x246)]===_0x205457(0x300))_0xa8a353['bootReject']?.(Object['assign'](new Error(_0x468947[_0x205457(0x1c3)]),{'code':_0x468947['code']}));else{if(_0x468947?.[_0x205457(0x246)]==='workspace-bound')this['rebindWorkspace'](_0x468947[_0x205457(0x1fd)]);else{if(_0x468947?.[_0x205457(0x255)]&&this[_0x205457(0x2a1)]['has'](messageId(_0x468947[_0x205457(0x255)]))){if(_0x468947[_0x205457(0x246)]===_0x205457(0x33e)&&_0x468947[_0x205457(0x26a)]===_0xa8a353[_0x205457(0x26a)]&&_0x468947[_0x205457(0x215)]===this[_0x205457(0x215)]&&_0x468947[_0x205457(0x270)]===this[_0x205457(0x270)]&&_0x468947[_0x205457(0x23b)]===!![])_0xa8a353[_0x205457(0x202)]=!![];const _0x5b01e4=this['control'][_0x205457(0x1e4)](messageId(_0x468947[_0x205457(0x255)]));this[_0x205457(0x2a1)][_0x205457(0x2ce)](messageId(_0x468947[_0x205457(0x255)])),_0x5b01e4[_0x205457(0x292)](_0x468947);}}}}}async['requestChild'](_0x1e1c9d,_0xb6f8e9={},_0x3229fb=0x1388){const _0x469c6d=_0x54ea80,_0x2c890e={};_0x2c890e[_0x469c6d(0x2f1)]=_0xb6f8e9[_0x469c6d(0x200)]?.[_0x469c6d(0x23f)],_0x2c890e['arguments']=_0xb6f8e9[_0x469c6d(0x200)]?.['arguments'];const _0x188a12={};_0x188a12['method']=_0x469c6d(0x2ab),_0x188a12[_0x469c6d(0x2cc)]=_0x2c890e;const _0x376832=_0x1e1c9d===_0x469c6d(0x23c)&&!this[_0x469c6d(0x2d1)](_0x188a12);if(![_0x469c6d(0x2a6),_0x469c6d(0x1d9)][_0x469c6d(0x2e7)](_0x1e1c9d)&&!_0x376832)await this[_0x469c6d(0x1d7)]();const _0x3ffac5={};_0x3ffac5['code']='CHILD_UNAVAILABLE';if(!this[_0x469c6d(0x1fc)]?.[_0x469c6d(0x2be)])return Promise[_0x469c6d(0x1ec)](Object[_0x469c6d(0x2b7)](new Error(_0x469c6d(0x22c)),_0x3ffac5));const _0x3dacef='apt-control-'+crypto['randomUUID']();return new Promise((_0x170aba,_0x31a19)=>{const _0x2d9060=_0x469c6d,_0xcf0284=setTimeout(()=>{const _0x402132=_0x40d0;this[_0x402132(0x2a1)][_0x402132(0x2ce)](messageId(_0x3dacef));const _0x2fb3aa={};_0x2fb3aa[_0x402132(0x1e1)]=_0x402132(0x21c),_0x31a19(Object[_0x402132(0x2b7)](new Error(_0x402132(0x301)),_0x2fb3aa));},_0x3229fb);this[_0x2d9060(0x2a1)][_0x2d9060(0x285)](messageId(_0x3dacef),{'resolve':_0x4be224=>{clearTimeout(_0xcf0284),_0x170aba(_0x4be224);}});const _0x372dc2={'type':_0x1e1c9d,'requestId':_0x3dacef,..._0xb6f8e9};this[_0x2d9060(0x1fc)]['send'](_0x372dc2);});}async[_0x54ea80(0x2c7)](_0x37c86d,_0x26cb55,_0x22eb66=0x2710){const _0x52e73e=_0x54ea80;await this['enableOwnedOperations']();const _0x5dd76a=_0x52e73e(0x209)+crypto[_0x52e73e(0x2f6)]();return new Promise((_0x391b90,_0xba66b5)=>{const _0x2dd4bb=_0x52e73e,_0x2ce636=setTimeout(()=>{const _0x1bad2d=_0x40d0;this[_0x1bad2d(0x2a1)][_0x1bad2d(0x2ce)](messageId(_0x5dd76a));const _0x321190={};_0x321190[_0x1bad2d(0x1e1)]=_0x1bad2d(0x273),_0xba66b5(Object[_0x1bad2d(0x2b7)](new Error(_0x1bad2d(0x323)),_0x321190));},_0x22eb66);this[_0x2dd4bb(0x2a1)][_0x2dd4bb(0x285)](messageId(_0x5dd76a),{'resolve':_0x30c967=>{clearTimeout(_0x2ce636),_0x391b90(_0x30c967);}});const _0x38de7f={};_0x38de7f[_0x2dd4bb(0x2f3)]=_0x2dd4bb(0x2ed),_0x38de7f['id']=_0x5dd76a,_0x38de7f[_0x2dd4bb(0x248)]=_0x37c86d,_0x38de7f[_0x2dd4bb(0x2cc)]=_0x26cb55,this[_0x2dd4bb(0x1fc)][_0x2dd4bb(0x2c2)][_0x2dd4bb(0x312)](JSON[_0x2dd4bb(0x22f)](_0x38de7f)+'\x0a');});}async[_0x54ea80(0x2f5)](){const _0x535ccf=_0x54ea80;if(this[_0x535ccf(0x228)][_0x535ccf(0x217)])return[{'kind':_0x535ccf(0x2f9),'count':this[_0x535ccf(0x228)][_0x535ccf(0x217)]}];const _0x5bb940=await this['requestChild']('status'),_0x14f84b={};return _0x14f84b[_0x535ccf(0x1b4)]='ownership-unknown',_0x5bb940[_0x535ccf(0x335)]||[_0x14f84b];}[_0x54ea80(0x2ef)](){const _0x39fa8b=_0x54ea80,_0x406639={};return _0x406639[_0x39fa8b(0x215)]=this[_0x39fa8b(0x215)],_0x406639[_0x39fa8b(0x1fd)]=this[_0x39fa8b(0x1fd)],_0x406639[_0x39fa8b(0x282)]=process[_0x39fa8b(0x26a)],_0x406639[_0x39fa8b(0x284)]=this[_0x39fa8b(0x1fc)]?.[_0x39fa8b(0x26a)],_0x406639[_0x39fa8b(0x254)]=this[_0x39fa8b(0x265)]?.[_0x39fa8b(0x254)],_0x406639['digest']=this['identity']?.[_0x39fa8b(0x1e7)],_0x406639[_0x39fa8b(0x2db)]=this[_0x39fa8b(0x2db)],_0x406639[_0x39fa8b(0x267)]=this[_0x39fa8b(0x1e8)],_0x406639[_0x39fa8b(0x270)]=this[_0x39fa8b(0x270)],_0x406639;}async[_0x54ea80(0x27b)](_0x3da2e4){const _0x93a8a2=_0x54ea80,_0x467e54={};_0x467e54[_0x93a8a2(0x1e1)]=_0x93a8a2(0x2ba);if(!this[_0x93a8a2(0x1fc)])throw Object[_0x93a8a2(0x2b7)](new Error(_0x93a8a2(0x235)),_0x467e54);const _0x113d59=this['child'];if(!_0x113d59[_0x93a8a2(0x31a)])await this['enableOwnedOperations']();else await attachOwnedJob(_0x113d59);let _0x3950c7=![];const _0x2334d2=await stopOwnedChild(_0x113d59,{'reason':_0x3da2e4,'graceful':async()=>{const _0x290b17=_0x93a8a2,_0x52fd7f={};_0x52fd7f[_0x290b17(0x26d)]=_0x3da2e4;const _0xdf7854=await this[_0x290b17(0x225)](_0x290b17(0x230),_0x52fd7f,0x3a98);_0x3950c7=_0xdf7854[_0x290b17(0x246)]===_0x290b17(0x33e)&&_0xdf7854['pid']===_0x113d59[_0x290b17(0x26a)]&&_0xdf7854['connectionId']===this[_0x290b17(0x215)]&&_0xdf7854[_0x290b17(0x270)]===this[_0x290b17(0x270)]&&_0xdf7854['registeredOwnersStopped']===!![];}}),_0x25e695={};_0x25e695[_0x93a8a2(0x1e1)]=_0x93a8a2(0x266);if(process['platform']!==_0x93a8a2(0x2d3)&&!_0x3950c7)throw Object['assign'](new Error(_0x93a8a2(0x29c)),_0x25e695);const _0x313bcb={..._0x2334d2};_0x313bcb[_0x93a8a2(0x23b)]=_0x3950c7,this['shutdownEvidence']=_0x313bcb;if(this[_0x93a8a2(0x1fc)]===_0x113d59)this[_0x93a8a2(0x1fc)]=null;this[_0x93a8a2(0x21a)]='',this[_0x93a8a2(0x2a2)]=new StringDecoder('utf8');}async[_0x54ea80(0x336)](_0x17ca61){const _0x3eafd2=_0x54ea80;if(this['initialize']){const _0x289d13=await this['requestRpc'](_0x3eafd2(0x318),this[_0x3eafd2(0x318)]),_0x3b7342={};_0x3b7342['code']=_0x3eafd2(0x1b5);if(_0x289d13[_0x3eafd2(0x1db)])throw Object[_0x3eafd2(0x2b7)](new Error(_0x3eafd2(0x2ff)),_0x3b7342);const _0x4034cf={};_0x4034cf['jsonrpc']=_0x3eafd2(0x2ed),_0x4034cf['method']='notifications/initialized',_0x4034cf['params']={};if(this[_0x3eafd2(0x2e5)])this[_0x3eafd2(0x1fc)][_0x3eafd2(0x2c2)]['write'](JSON[_0x3eafd2(0x22f)](_0x4034cf)+'\x0a');}const _0x2fabd5=await this[_0x3eafd2(0x2c7)](_0x3eafd2(0x2d2),{}),_0x4a9546=hash(JSON[_0x3eafd2(0x22f)](_0x2fabd5[_0x3eafd2(0x320)]?.['tools']||[])),_0x27ab3d={};_0x27ab3d[_0x3eafd2(0x1e1)]=_0x3eafd2(0x2d7);if(_0x2fabd5['error']||this[_0x3eafd2(0x1e8)]&&_0x4a9546!==this[_0x3eafd2(0x1e8)])throw Object[_0x3eafd2(0x2b7)](new Error(_0x3eafd2(0x205)),_0x27ab3d);this['toolCatalogHash']=_0x4a9546;const _0xf39f9e={};_0xf39f9e[_0x3eafd2(0x2de)]=_0x17ca61[_0x3eafd2(0x2de)],_0xf39f9e[_0x3eafd2(0x302)]=_0x17ca61['boundPipeline'],await this[_0x3eafd2(0x225)](_0x3eafd2(0x1f4),_0xf39f9e);}async[_0x54ea80(0x28e)](_0x3f0cb4){const _0x3cc8f4=_0x54ea80,_0x2e208e=readFence(this['workspace']),_0x1d92a5={};_0x1d92a5[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x221);if(_0x2e208e[_0x3cc8f4(0x251)]!==_0x3cc8f4(0x25e)||_0x3f0cb4[_0x3cc8f4(0x252)]!==_0x2e208e[_0x3cc8f4(0x252)]||_0x3f0cb4['epoch']!==_0x2e208e['epoch'])throw Object['assign'](new Error(_0x3cc8f4(0x2aa)),_0x1d92a5);const _0x4fcb60={};_0x4fcb60[_0x3cc8f4(0x2a6)]=_0x3cc8f4(0x1d3),_0x4fcb60[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x337);if(this[_0x3cc8f4(0x2bf)])return _0x4fcb60;this['recoverCandidate'](_0x3f0cb4['transactionId']),this[_0x3cc8f4(0x31b)]=!![];if(_0x3f0cb4[_0x3cc8f4(0x246)]===_0x3cc8f4(0x26f)){const _0x26db85={};_0x26db85[_0x3cc8f4(0x1e1)]='CONNECTION_NOT_PREPARED';if(!this[_0x3cc8f4(0x213)]||this[_0x3cc8f4(0x213)]['transactionId']!==_0x3f0cb4[_0x3cc8f4(0x252)]||!this[_0x3cc8f4(0x213)]['prepared']||!this['child']?.['ready'])throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1e2)),_0x26db85);const _0x28c652=await this[_0x3cc8f4(0x225)](_0x3cc8f4(0x2a6)),_0x43ba39={};_0x43ba39['code']=_0x3cc8f4(0x317);if(_0x28c652[_0x3cc8f4(0x26a)]!==this[_0x3cc8f4(0x1fc)][_0x3cc8f4(0x26a)]||_0x28c652['generation']!==_0x3f0cb4['generation']||!same(_0x28c652[_0x3cc8f4(0x1fd)],this[_0x3cc8f4(0x1fd)]))throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1b9)),_0x43ba39);const _0x3fcfe1=acknowledgeGeneration(this[_0x3cc8f4(0x1fd)],this['connectionId'],_0x3f0cb4[_0x3cc8f4(0x252)],this[_0x3cc8f4(0x2ef)]());projectGeneration(this[_0x3cc8f4(0x32b)],this['workspace'],_0x3fcfe1),this[_0x3cc8f4(0x244)]=this[_0x3cc8f4(0x213)][_0x3cc8f4(0x244)],this[_0x3cc8f4(0x2eb)]=_0x3cc8f4(0x233),this[_0x3cc8f4(0x31b)]=![];const _0x29cf3a={};return _0x29cf3a[_0x3cc8f4(0x331)]=_0x3fcfe1['transactionId'],this[_0x3cc8f4(0x1ea)](_0x29cf3a),{'status':'active',...this[_0x3cc8f4(0x2ef)]()};}const _0x3567eb=readGeneration(this['workspace']),_0x20f5e5={};_0x20f5e5['code']=_0x3cc8f4(0x26b);if(_0x3f0cb4[_0x3cc8f4(0x246)]===_0x3cc8f4(0x24d)&&_0x3567eb?.[_0x3cc8f4(0x252)]===_0x3f0cb4[_0x3cc8f4(0x252)])throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x1f8)),_0x20f5e5);if(_0x3f0cb4['type']==='prepare-candidate'&&this[_0x3cc8f4(0x213)]?.[_0x3cc8f4(0x252)]===_0x3f0cb4[_0x3cc8f4(0x252)]&&this[_0x3cc8f4(0x213)]['prepared']&&this['child']?.['ready']){const _0x5954cf=this['candidateTuple'](),_0x3e167a={};_0x3e167a[_0x3cc8f4(0x1e1)]=_0x3cc8f4(0x2ad);if([_0x3cc8f4(0x254),_0x3cc8f4(0x1e7),_0x3cc8f4(0x270),_0x3cc8f4(0x2db),'catalogHash'][_0x3cc8f4(0x2f8)](_0x3665e3=>_0x5954cf[_0x3665e3]!==_0x3f0cb4[_0x3665e3]))throw Object[_0x3cc8f4(0x2b7)](new Error(_0x3cc8f4(0x341)),_0x3e167a);const _0x497892=await this[_0x3cc8f4(0x225)]('status'),_0x4466f0={};_0x4466f0[_0x3cc8f4(0x1e1)]='CHILD_READINESS_MISMATCH';if(_0x497892[_0x3cc8f4(0x26a)]!==_0x5954cf[_0x3cc8f4(0x284)]||_0x497892[_0x3cc8f4(0x270)]!==_0x5954cf[_0x3cc8f4(0x270)]||!same(_0x497892[_0x3cc8f4(0x1fd)],this[_0x3cc8f4(0x1fd)]))throw Object[_0x3cc8f4(0x2b7)](new Error('Candidate\x20readiness\x20is\x20no\x20longer\x20valid'),_0x4466f0);const _0x4ec51e={'status':'candidate-ready',..._0x5954cf};return _0x4ec51e;}this[_0x3cc8f4(0x2bf)]=((async()=>{const _0x3f88b8=_0x3cc8f4;if(_0x3f0cb4['type']==='stop-for-update'){if(this['candidate']?.[_0x3f88b8(0x252)]===_0x3f0cb4[_0x3f88b8(0x252)]&&this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)]&&this[_0x3f88b8(0x213)][_0x3f88b8(0x21e)]&&!this[_0x3f88b8(0x213)][_0x3f88b8(0x2ac)])return{'status':this[_0x3f88b8(0x1fc)]?.['ready']?_0x3f88b8(0x2fc):_0x3f88b8(0x1d3),'code':this['child']?.['ready']?undefined:_0x3f88b8(0x21f),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this[_0x3f88b8(0x213)]?.[_0x3f88b8(0x252)]===_0x3f0cb4[_0x3f88b8(0x252)]&&this['candidate'][_0x3f88b8(0x33e)]&&!this['candidate'][_0x3f88b8(0x2ac)]&&!this[_0x3f88b8(0x1fc)])return{'status':_0x3f88b8(0x33e),'connectionId':this[_0x3f88b8(0x215)]};const _0x3343ea=await this[_0x3f88b8(0x2f5)]();if(_0x3343ea['length'])return{'status':_0x3f88b8(0x1d3),'blockers':_0x3343ea};const _0x5ebccd=await this[_0x3f88b8(0x225)]('status');this[_0x3f88b8(0x213)]={'transactionId':_0x3f0cb4[_0x3f88b8(0x252)],'previous':{'release':this[_0x3f88b8(0x244)],'generation':this[_0x3f88b8(0x270)],'resourceDigest':this['resourceDigest'],'state':_0x5ebccd}},this['persistCandidate'](),await this[_0x3f88b8(0x27b)](_0x3f88b8(0x26e)),this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)]=!![],this[_0x3f88b8(0x32d)]();const _0x2ba0a9={};_0x2ba0a9['stoppedTransaction']=_0x3f0cb4[_0x3f88b8(0x252)],this[_0x3f88b8(0x1ea)](_0x2ba0a9);const _0x3ff059={};return _0x3ff059[_0x3f88b8(0x2a6)]='stopped',_0x3ff059[_0x3f88b8(0x215)]=this[_0x3f88b8(0x215)],_0x3ff059[_0x3f88b8(0x2cf)]=this[_0x3f88b8(0x2cf)],_0x3ff059;}if(_0x3f0cb4[_0x3f88b8(0x246)]===_0x3f88b8(0x24d)){const _0x3ba43c={};_0x3ba43c[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2a9);if(!this['candidate'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2ca)),_0x3ba43c);const _0x3f46db=this[_0x3f88b8(0x213)][_0x3f88b8(0x2d9)],_0x5911e4={};_0x5911e4[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2a9);if(!_0x3f46db?.[_0x3f88b8(0x251)]||!this[_0x3f88b8(0x213)][_0x3f88b8(0x33e)])throw Object['assign'](new Error(_0x3f88b8(0x307)),_0x5911e4);if(this[_0x3f88b8(0x1fc)])await this[_0x3f88b8(0x27b)](_0x3f88b8(0x288));await this[_0x3f88b8(0x338)](_0x3f46db['release'],_0x3f46db[_0x3f88b8(0x270)]);const _0x55c36e={};_0x55c36e[_0x3f88b8(0x1e1)]=_0x3f88b8(0x231);if(this[_0x3f88b8(0x2db)]!==_0x3f46db[_0x3f88b8(0x2db)])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2e6)),_0x55c36e);return await this['initializeCandidate'](_0x3f46db[_0x3f88b8(0x251)]),this[_0x3f88b8(0x244)]=_0x3f46db[_0x3f88b8(0x244)],this[_0x3f88b8(0x213)]={...this['candidate'],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x3f88b8(0x2eb)]=_0x3f88b8(0x1d3),this['admissionClosed']=![],this['record'](),{'status':_0x3f88b8(0x1bd),'serving':this[_0x3f88b8(0x1fc)]?.[_0x3f88b8(0x1bf)]===!![],...this['candidateTuple']()};}const _0x4ca426={};_0x4ca426[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2ad);if(!Number[_0x3f88b8(0x1c2)](_0x3f0cb4['generation'])||_0x3f0cb4[_0x3f88b8(0x270)]<=(this['candidate']?.[_0x3f88b8(0x2d9)]?.['generation']??this[_0x3f88b8(0x270)])||_0x3f0cb4['version']!==_0x2e208e[_0x3f88b8(0x1f7)]||_0x3f0cb4['digest']!==_0x2e208e[_0x3f88b8(0x33f)])throw Object[_0x3f88b8(0x2b7)](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x4ca426);const _0x22cb1d=_0x3f0cb4[_0x3f88b8(0x244)]||path['join'](this[_0x3f88b8(0x32b)],_0x3f88b8(0x2a5),_0x3f0cb4['version']+'-'+_0x3f0cb4[_0x3f88b8(0x1e7)]),_0x333507=verifyRelease(_0x22cb1d,this[_0x3f88b8(0x1bb)]),_0x179b68={};_0x179b68['code']=_0x3f88b8(0x2ad);if(_0x333507[_0x3f88b8(0x254)]!==_0x3f0cb4['version']||_0x333507[_0x3f88b8(0x1e7)]!==_0x3f0cb4['digest'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x1cc)),_0x179b68);const _0x10f532={};_0x10f532[_0x3f88b8(0x1e1)]='CHILD_STOP_UNCONFIRMED';if(!this[_0x3f88b8(0x213)]?.[_0x3f88b8(0x33e)]||this[_0x3f88b8(0x213)]['transactionId']!==_0x3f0cb4['transactionId'])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2c3)),_0x10f532);const _0xd3510d=this[_0x3f88b8(0x213)][_0x3f88b8(0x2d9)][_0x3f88b8(0x251)];this['candidate']['release']=_0x22cb1d;if(this[_0x3f88b8(0x1fc)])await this[_0x3f88b8(0x27b)](_0x3f88b8(0x27f));this['candidate'][_0x3f88b8(0x21e)]=![],this[_0x3f88b8(0x32d)](),await this[_0x3f88b8(0x338)](_0x22cb1d,_0x3f0cb4[_0x3f88b8(0x270)]),await this['initializeCandidate'](_0xd3510d);const _0x23a18e={};_0x23a18e[_0x3f88b8(0x1e1)]=_0x3f88b8(0x2ad);if(this[_0x3f88b8(0x2db)]!==_0x3f0cb4[_0x3f88b8(0x2db)]||this[_0x3f88b8(0x1e8)]!==_0x3f0cb4[_0x3f88b8(0x267)])throw Object[_0x3f88b8(0x2b7)](new Error(_0x3f88b8(0x2af)),_0x23a18e);this[_0x3f88b8(0x213)][_0x3f88b8(0x21e)]=!![],this[_0x3f88b8(0x32d)](),this[_0x3f88b8(0x2eb)]=_0x3f88b8(0x1d3);const _0x34b6ab={};return _0x34b6ab[_0x3f88b8(0x319)]=_0x3f0cb4[_0x3f88b8(0x252)],this[_0x3f88b8(0x1ea)](_0x34b6ab),{'status':_0x3f88b8(0x2fc),...this[_0x3f88b8(0x2ef)]()};})());try{return await this['transition'];}finally{this['transition']=null;}}async[_0x54ea80(0x2dd)](){const _0x42c2e4=_0x54ea80,_0x5cc4d6={};return _0x5cc4d6[_0x42c2e4(0x2a6)]=_0x42c2e4(0x2a4),_0x5cc4d6['code']=_0x42c2e4(0x212),_0x5cc4d6;}async[_0x54ea80(0x25f)](_0x5103f8,_0x9ce481,_0x4b892b){const _0x23756f=_0x54ea80;if(this[_0x23756f(0x1fc)]!==_0x5103f8)return;_0x5103f8[_0x23756f(0x31a)]=!![],_0x5103f8['ready']=![];const _0x357fd0={};_0x357fd0[_0x23756f(0x1e1)]=_0x23756f(0x2f4),_0x5103f8['bootReject']?.(Object[_0x23756f(0x2b7)](new Error(_0x23756f(0x2e0)),_0x357fd0));for(const [_0x2d4248]of this['pending']){try{const _0xba637c={};_0xba637c[_0x23756f(0x1e1)]=-0x7d02,_0xba637c[_0x23756f(0x1f6)]=_0x23756f(0x2dc),this[_0x23756f(0x24e)]({'jsonrpc':_0x23756f(0x2ed),'id':JSON[_0x23756f(0x310)](_0x2d4248),'error':_0xba637c});}catch{}}this[_0x23756f(0x228)][_0x23756f(0x1ff)]();try{const _0x521f6b={};_0x521f6b[_0x23756f(0x26d)]='runtime-child-closed',_0x521f6b[_0x23756f(0x1da)]=0x3e8,await stopOwnedChild(_0x5103f8,_0x521f6b);}catch(_0x447f0c){this['activation']=_0x23756f(0x2b3),this[_0x23756f(0x31b)]=!![];const _0x59fd97={};_0x59fd97[_0x23756f(0x2c4)]=_0x4b892b||_0x9ce481||'child-closed',_0x59fd97[_0x23756f(0x2c5)]=_0x447f0c['code']||_0x23756f(0x266),this[_0x23756f(0x1ea)](_0x59fd97);return;}if(this['child']!==_0x5103f8)return;if(process[_0x23756f(0x1bc)]!==_0x23756f(0x2d3)&&!_0x5103f8[_0x23756f(0x202)]){this[_0x23756f(0x2eb)]='legacy-ownership-unverified',this[_0x23756f(0x31b)]=!![];const _0x2a8656={};_0x2a8656[_0x23756f(0x2c4)]=_0x4b892b||_0x9ce481||_0x23756f(0x2d6),_0x2a8656[_0x23756f(0x2c5)]='PROCESS_TREE_STOP_UNCONFIRMED',this[_0x23756f(0x1ea)](_0x2a8656);return;}this[_0x23756f(0x1fc)]=null;if(!this[_0x23756f(0x2bf)]&&!this[_0x23756f(0x33e)]){this[_0x23756f(0x318)]=null,this[_0x23756f(0x2e5)]=![],this[_0x23756f(0x2eb)]=_0x23756f(0x2a4),this[_0x23756f(0x31b)]=!![];const _0x39295e={};_0x39295e['stopReason']=_0x4b892b||_0x9ce481||_0x23756f(0x2d6),this[_0x23756f(0x1ea)](_0x39295e);}}['writeHost'](_0x4b7a60){const _0x557c92=_0x54ea80;this[_0x557c92(0x2f7)][_0x557c92(0x312)](JSON[_0x557c92(0x22f)](_0x4b7a60)+'\x0a');}async[_0x54ea80(0x201)](_0xd5c107=_0x54ea80(0x2c1)){const _0x5af85c=_0x54ea80;if(this['closed'])return;if(this[_0x5af85c(0x2d5)])return this['closing'];this[_0x5af85c(0x31b)]=!![],clearTimeout(this['executorTimer']),this[_0x5af85c(0x2d5)]=((async()=>{const _0x305a4=_0x5af85c;try{if(this[_0x305a4(0x1fc)])await this['stopChild'](_0xd5c107);closeMember(this[_0x305a4(0x1fd)],this['connectionId'],process[_0x305a4(0x26a)],!![]),this['stopped']=!![],this['closeReason']=_0xd5c107,require(_0x305a4(0x1c0))['recordRegistrationClosure'](this),await new Promise(_0x330c04=>this['listener']?.[_0x305a4(0x201)](_0x330c04)||_0x330c04()),this[_0x305a4(0x2eb)]=_0x305a4(0x1c4);const _0x307355={};_0x307355['stopReason']=_0xd5c107,this[_0x305a4(0x1ea)](_0x307355);try{fs['unlinkSync'](this[_0x305a4(0x332)]);}catch{}if(process[_0x305a4(0x1bc)]!=='win32')try{fs[_0x305a4(0x333)](this[_0x305a4(0x263)]);}catch{}this['closed']=!![];}catch(_0xfd3600){this[_0x305a4(0x2eb)]=_0x305a4(0x2b3);const _0x1577d2={};_0x1577d2[_0x305a4(0x2c4)]=_0xd5c107,_0x1577d2[_0x305a4(0x2c5)]=_0xfd3600[_0x305a4(0x1e1)]||_0x305a4(0x1d8),this['record'](_0x1577d2);throw _0xfd3600;}})());try{return await this[_0x5af85c(0x2d5)];}finally{this[_0x5af85c(0x2d5)]=null;}}}const _0x434ed7={};_0x434ed7[_0x54ea80(0x33b)]=ConnectionSupervisor,module['exports']=_0x434ed7;
@@ -1 +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';const _0xa42c2f=_0x52a8;function _0x4117(){const _0xfb0d97=['ywXSB2m','BgvUz3rO','C2vW','CMvHzezPBgvtEw5J','CMvZB3vYy2vqBgfU','D3jPDgfIBgu','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','DhjHBNnHy3rPB25jza','otm2nta2n3vcuLPSrW','ChjVAMvJDfnJB3bLvMvYAwzPzwq','zgvWBg95uhjVAMvJDa','yMXVy2TLCNm','lI9WCM9Qzwn0lxnLDhvW','zw50CMLLCW','CMvSyxrPDMu','D29YA3nWywnL','y2HHBMDLCW','zxHPC3rZu3LUyW','CgfYC2u','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','CMvHBhbHDgHtEw5J','CMvNAxn0CMf0Aw9UugXHBG','Dg9tDhjPBMC','BwfW','C3rHDfn5BMm','B3jPz2LUywXZ','BM9KztP1DgLS','CMvHzgrPCLn5BMm','y29Uy2f0','zgLYzwn0B3jPzxm','BM9KztPMCW','ru5pru5u','ChvZAa','BwfUAwzLC3q','y29UDgv4De1Pz3jHDgLVBNm','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','BM9KztPJCNLWDg8','BwnWu2nVCgu','nda1odCYmw1gwM5yAW','zMLSzxm','CMvTzw1Izxi','odeWzgrWANbH','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','y29Kzq','mJHguMjnAfO','mZm4odrUvhrOzeS','DxbKyxrL','zgLNzxn0','ChjLCgfYzq','mtu4nde2mMngr1vcDq','ywrK','zMLSDgvY','CMvTB3zL','D3jPDgu','BwfUAwzLC3qUANnVBG','C3rYAw5N','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','Cgf0Aa','C3rHDhvZ','zgvSzxrL','AxnezwvWu3rYAwn0rxf1ywW','Aw5KzxHszxf1zxn0zwq','BM90lxjLCxvPCMvK','CMvIDwLSzeLUzgv4','zMXHzW','BwnWq29UzMLNvgfYz2v0CW','CMvZB2X2zq','CgXHBG','CMvHza','CgvUzgLUz1vWzgf0zxm','ndi5mtfMzfLer1i','AxneAxjLy3rVCNK','AgfZ','zxHPC3rZ','lMfNzw50CW','zw5JB2rPBMC','ChjVAMvJDfbHDgG','y29UzMXPy3rZ','lI9YzwDPC3rYyxrPB24TCgXHBG','z2v0','y3jLyxrLsgfZAa','C3rHCNrZv2L0Aa','CMvWBgfJzufSBa','ChjLCgfYzvbYB2PLy3q','yxnZAwDU','rhjHzNqGzMLSzsbLEgLZDhm','zxzLCNK','zgLYBMfTzq','C2v0','tunqx01jr1jbveLptL9srvfvsvjfra','yMfZzw5HBwu','AxnbyNnVBhv0zq','zNjVBq','CMvNAxn0CMf0Aw9Usg9ZDhm','uKvtt1vsq0vFuefusf9fu0nbueu','D3jPDgvgAwXLu3LUyW','C2f2zq','C2HHmJu2','AxngAwXL','mteXmtGWrwPTrLf4','nda0mde2Dvritw1L'];_0x4117=function(){return _0xfb0d97;};return _0x4117();}function _0x52a8(_0x213306,_0x4498f4){_0x213306=_0x213306-0x7e;const _0x4117be=_0x4117();let _0x52a8bd=_0x4117be[_0x213306];if(_0x52a8['SxAxyo']===undefined){var _0x1a9e87=function(_0x3e2e35){const _0x2c99bc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5aaa5a='',_0x35145b='';for(let _0x44aacf=0x0,_0x17748d,_0x3cc881,_0x465875=0x0;_0x3cc881=_0x3e2e35['charAt'](_0x465875++);~_0x3cc881&&(_0x17748d=_0x44aacf%0x4?_0x17748d*0x40+_0x3cc881:_0x3cc881,_0x44aacf++%0x4)?_0x5aaa5a+=String['fromCharCode'](0xff&_0x17748d>>(-0x2*_0x44aacf&0x6)):0x0){_0x3cc881=_0x2c99bc['indexOf'](_0x3cc881);}for(let _0x5a60cc=0x0,_0x37cd53=_0x5aaa5a['length'];_0x5a60cc<_0x37cd53;_0x5a60cc++){_0x35145b+='%'+('00'+_0x5aaa5a['charCodeAt'](_0x5a60cc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35145b);};_0x52a8['IDHurX']=_0x1a9e87,_0x52a8['EbPuMp']={},_0x52a8['SxAxyo']=!![];}const _0x59f447=_0x4117be[0x0],_0x1d21e4=_0x213306+_0x59f447,_0x1cf719=_0x52a8['EbPuMp'][_0x1d21e4];return!_0x1cf719?(_0x52a8bd=_0x52a8['IDHurX'](_0x52a8bd),_0x52a8['EbPuMp'][_0x1d21e4]=_0x52a8bd):_0x52a8bd=_0x1cf719,_0x52a8bd;}(function(_0x48d420,_0x1bc916){const _0x17ae9d=_0x52a8,_0x4a6ed7=_0x48d420();while(!![]){try{const _0x157fd4=-parseInt(_0x17ae9d(0xa8))/0x1+-parseInt(_0x17ae9d(0x93))/0x2+parseInt(_0x17ae9d(0x88))/0x3+parseInt(_0x17ae9d(0x8f))/0x4*(parseInt(_0x17ae9d(0x8b))/0x5)+-parseInt(_0x17ae9d(0xc5))/0x6*(parseInt(_0x17ae9d(0x8e))/0x7)+-parseInt(_0x17ae9d(0xc6))/0x8+-parseInt(_0x17ae9d(0xcf))/0x9;if(_0x157fd4===_0x1bc916)break;else _0x4a6ed7['push'](_0x4a6ed7['shift']());}catch(_0x45a6b2){_0x4a6ed7['push'](_0x4a6ed7['shift']());}}}(_0x4117,0xb1028));const fs=require(_0xa42c2f(0x80)),path=require('node:path'),crypto=require(_0xa42c2f(0x86)),{containsWorkspace,sameWorkspace}=require(_0xa42c2f(0x85)),{ResourceTransaction}=require(_0xa42c2f(0xcd)),hash=_0x544e93=>crypto[_0xa42c2f(0xb2)](_0xa42c2f(0xc3))[_0xa42c2f(0x90)](_0x544e93)[_0xa42c2f(0x91)]('hex');class DeploymentDraft{constructor(_0x56b580){const _0x1d2979=_0xa42c2f;this[_0x1d2979(0xd6)]=fs[_0x1d2979(0xdb)](_0x56b580),this[_0x1d2979(0x89)]=new Map(),this['originals']=new Map(),this[_0x1d2979(0x7f)]=new Set();const _0x3da21b={};_0x3da21b[_0x1d2979(0xc4)]=()=>!![],_0x3da21b[_0x1d2979(0xa9)]=()=>![];const _0x5728fe={};_0x5728fe['isFile']=()=>![],_0x5728fe[_0x1d2979(0xa9)]=()=>!![],this['fs']={'existsSync':_0x2189b8=>this[_0x1d2979(0xab)](_0x2189b8),'readFileSync':(_0x1c418a,_0x2c737b)=>this['read'](_0x1c418a,_0x2c737b),'writeFileSync':(_0x33046c,_0x27fa94,_0xdfb51d)=>this['write'](_0x33046c,_0x27fa94,_0xdfb51d),'appendFileSync':(_0x53f0c8,_0x10b000)=>this['write'](_0x53f0c8,Buffer[_0x1d2979(0x7e)]([this[_0x1d2979(0xab)](_0x53f0c8)?this[_0x1d2979(0xa6)](_0x53f0c8):Buffer[_0x1d2979(0xc7)](0x0),Buffer[_0x1d2979(0xbe)](_0x10b000)])),'copyFileSync':(_0x8b2294,_0x5a57f6)=>this[_0x1d2979(0x97)](_0x5a57f6,this['read'](_0x8b2294)),'renameSync':(_0x365682,_0x680b79)=>{const _0x6af6a7=_0x1d2979;this['write'](_0x680b79,this[_0x6af6a7(0xa6)](_0x365682)),this[_0x6af6a7(0x96)](_0x365682);},'unlinkSync':_0x185c97=>this['remove'](_0x185c97),'mkdirSync':_0x1a9f0c=>this[_0x1d2979(0x7f)][_0x1d2979(0x94)](this['writable'](_0x1a9f0c)),'rmdirSync':_0x5b6658=>this[_0x1d2979(0x7f)][_0x1d2979(0x9d)](this[_0x1d2979(0xcc)](_0x5b6658)),'statSync':_0x2687d7=>this[_0x1d2979(0x89)][_0x1d2979(0xaa)](path[_0x1d2979(0xa4)](_0x2687d7))&&this[_0x1d2979(0x89)]['get'](path[_0x1d2979(0xa4)](_0x2687d7))!==null?_0x3da21b:this[_0x1d2979(0x7f)][_0x1d2979(0xaa)](path[_0x1d2979(0xa4)](_0x2687d7))?_0x5728fe:fs[_0x1d2979(0xdf)](_0x2687d7),'readdirSync':_0x519645=>this[_0x1d2979(0xd4)](_0x519645),'realpathSync':_0x3df345=>fs[_0x1d2979(0xdb)](_0x3df345)};}[_0xa42c2f(0xcc)](_0x45a998){const _0x25b332=_0xa42c2f,_0xa83664=path[_0x25b332(0xa4)](_0x45a998),_0x416b33=path[_0x25b332(0xd5)](this[_0x25b332(0xd6)],_0xa83664);let _0x164f38=_0xa83664;while(!fs[_0x25b332(0xd8)](_0x164f38)&&path['dirname'](_0x164f38)!==_0x164f38)_0x164f38=path[_0x25b332(0xb9)](_0x164f38);const _0x419d6f={};_0x419d6f[_0x25b332(0x8d)]=_0x25b332(0xc0);if(_0x416b33==='..'||_0x416b33[_0x25b332(0xb3)]('..'+path[_0x25b332(0xc9)])||path[_0x25b332(0xbd)](_0x416b33)||!sameWorkspace(_0x164f38,this[_0x25b332(0xd6)])&&!containsWorkspace(this[_0x25b332(0xd6)],_0x164f38))throw Object[_0x25b332(0xb6)](new Error('Deployment\x20draft\x20path\x20escapes\x20project'),_0x419d6f);return _0xa83664;}[_0xa42c2f(0xab)](_0x491b55){const _0xcfdfca=_0xa42c2f;_0x491b55=path[_0xcfdfca(0xa4)](_0x491b55);if(this['files'][_0xcfdfca(0xaa)](_0x491b55))return this[_0xcfdfca(0x89)]['get'](_0x491b55)!==null;return this[_0xcfdfca(0x7f)][_0xcfdfca(0xaa)](_0x491b55)||fs['existsSync'](_0x491b55);}[_0xa42c2f(0x8a)](_0x63cff3){const _0x5e058d=_0xa42c2f;if(this['originals'][_0x5e058d(0xaa)](_0x63cff3))return;try{this[_0x5e058d(0xe0)]['set'](_0x63cff3,fs['readFileSync'](_0x63cff3));}catch(_0x2358bb){if(_0x2358bb[_0x5e058d(0x8d)]==='ENOENT')this['originals'][_0x5e058d(0xba)](_0x63cff3,null);else throw _0x2358bb;}}[_0xa42c2f(0xa6)](_0x5ec23a,_0x2e7404){const _0x1ca7d5=_0xa42c2f;_0x5ec23a=path[_0x1ca7d5(0xa4)](_0x5ec23a);let _0x21bea0;if(this['files'][_0x1ca7d5(0xaa)](_0x5ec23a))_0x21bea0=this['files'][_0x1ca7d5(0xb1)](_0x5ec23a);else{_0x21bea0=fs[_0x1ca7d5(0xca)](_0x5ec23a);const _0x31903e=path['relative'](this[_0x1ca7d5(0xd6)],_0x5ec23a);if(_0x31903e&&_0x31903e!=='..'&&!_0x31903e['startsWith']('..'+path[_0x1ca7d5(0xc9)])&&!path['isAbsolute'](_0x31903e)&&!this['originals'][_0x1ca7d5(0xaa)](_0x5ec23a))this[_0x1ca7d5(0xe0)][_0x1ca7d5(0xba)](_0x5ec23a,Buffer['from'](_0x21bea0));}const _0x40e1ed={};_0x40e1ed[_0x1ca7d5(0x8d)]=_0x1ca7d5(0x81);if(_0x21bea0===null)throw Object['assign'](new Error(_0x1ca7d5(0x9a)),_0x40e1ed);const _0x257712=typeof _0x2e7404===_0x1ca7d5(0x99)?_0x2e7404:_0x2e7404?.[_0x1ca7d5(0xad)];return _0x257712?_0x21bea0[_0x1ca7d5(0xdd)](_0x257712):Buffer[_0x1ca7d5(0xbe)](_0x21bea0);}['write'](_0x423bfe,_0x39b420,_0x2c2ac5){const _0x4c8e0d=_0xa42c2f;_0x423bfe=this[_0x4c8e0d(0xcc)](_0x423bfe);const _0x4d3043={};_0x4d3043['code']='EEXIST';if(_0x2c2ac5?.[_0x4c8e0d(0xa2)]==='wx'&&this[_0x4c8e0d(0xab)](_0x423bfe))throw Object[_0x4c8e0d(0xb6)](new Error(_0x4c8e0d(0xb7)),_0x4d3043);this[_0x4c8e0d(0x8a)](_0x423bfe),this[_0x4c8e0d(0x89)][_0x4c8e0d(0xba)](_0x423bfe,Buffer['from'](_0x39b420)),this['directories'][_0x4c8e0d(0x94)](path[_0x4c8e0d(0xb9)](_0x423bfe));}[_0xa42c2f(0x96)](_0x69ff84){const _0x397e21=_0xa42c2f;_0x69ff84=this[_0x397e21(0xcc)](_0x69ff84),this[_0x397e21(0x8a)](_0x69ff84),this[_0x397e21(0x89)][_0x397e21(0xba)](_0x69ff84,null);}['entries'](_0x5c4e07){const _0x1a0fa7=_0xa42c2f;_0x5c4e07=path[_0x1a0fa7(0xa4)](_0x5c4e07);let _0x43a1e6;try{_0x43a1e6=new Set(fs[_0x1a0fa7(0xe2)](_0x5c4e07));}catch(_0x439e1e){if(_0x439e1e[_0x1a0fa7(0x8d)]===_0x1a0fa7(0x81))_0x43a1e6=new Set();else throw _0x439e1e;}for(const [_0x434f78,_0x178e56]of this[_0x1a0fa7(0x89)])if(path[_0x1a0fa7(0xb9)](_0x434f78)===_0x5c4e07){if(_0x178e56===null)_0x43a1e6[_0x1a0fa7(0x9d)](path[_0x1a0fa7(0xbc)](_0x434f78));else _0x43a1e6['add'](path[_0x1a0fa7(0xbc)](_0x434f78));}for(const _0x338ec2 of this[_0x1a0fa7(0x7f)])if(path[_0x1a0fa7(0xb9)](_0x338ec2)===_0x5c4e07)_0x43a1e6[_0x1a0fa7(0x94)](path[_0x1a0fa7(0xbc)](_0x338ec2));return[..._0x43a1e6];}[_0xa42c2f(0xd7)](){const _0x100082=_0xa42c2f;return[...this[_0x100082(0x89)]][_0x100082(0x95)](([_0x52b511,_0x49c351])=>{const _0x3efd4d=_0x100082,_0x4402d3=this[_0x3efd4d(0xe0)][_0x3efd4d(0xb1)](_0x52b511);return _0x49c351===null?_0x4402d3!==null:_0x4402d3===null||!_0x49c351['equals'](_0x4402d3);})[_0x100082(0xde)](([_0x416000,_0x1fadcd])=>({'path':path[_0x100082(0xd5)](this[_0x100082(0xd6)],_0x416000)[_0x100082(0xb4)]('\x5c','/'),'type':_0x1fadcd===null?'delete':'replace','bytes':_0x1fadcd,'managedHash':this[_0x100082(0xe0)]['get'](_0x416000)===null?null:hash(this['originals'][_0x100082(0xb1)](_0x416000))}));}}function prepareProject(_0x370550){const _0x349711=_0xa42c2f,_0xe10e26=new DeploymentDraft(_0x370550[_0x349711(0xae)]),_0x1f991c={};_0x1f991c[_0x349711(0xa3)]=[];const _0x4daaeb={..._0x370550,'fileSystem':_0xe10e26['fs'],'preparation':!![],..._0x370550[_0x349711(0xbf)]?_0x1f991c:{}},_0x214941=require(_0x349711(0xd3))[_0x349711(0xd1)](_0x4daaeb),_0x4cc468=path['join'](_0xe10e26[_0x349711(0xd6)],_0x349711(0xac),_0x349711(0x98)),_0x43401d=_0xe10e26[_0x349711(0xd7)]();if(_0x43401d[_0x349711(0xb8)](_0x8d6370=>_0x8d6370[_0x349711(0x9b)]==='.agents/manifest.json')&&fs['existsSync'](_0x4cc468)){const _0x4955c0=fs[_0x349711(0xca)](_0x4cc468),_0xab7b13=_0x2a73a2=>{const {deployedAt:_0x51a614,previousVersion:_0x47bcce,contextMigrations:_0x4535a0,..._0x394321}=_0x2a73a2;return _0x394321;},_0x35a85d=JSON[_0x349711(0xd9)](_0x4955c0);require(_0x349711(0xe1))[_0x349711(0x9e)](_0xab7b13(_0x35a85d),_0xab7b13(_0x214941[_0x349711(0x83)]))&&!_0x214941[_0x349711(0x83)][_0x349711(0x84)][_0x349711(0xc8)]&&(_0xe10e26['fs'][_0x349711(0xc1)](_0x4cc468,_0x4955c0),_0x214941[_0x349711(0x83)]=_0x35a85d);}const _0x157928={};_0x157928[_0x349711(0xce)]=_0x370550['transactionId'];const _0x48386a=ResourceTransaction[_0x349711(0x92)](_0xe10e26[_0x349711(0xd6)],_0xe10e26['changes'](),_0x157928);for(const _0x36358a of _0x214941[_0x349711(0x83)][_0x349711(0xa7)])_0x48386a[_0x349711(0xa5)][_0x349711(0xaf)][_0x349711(0x82)]({'path':_0x36358a,'code':_0x349711(0x8c),'required':!![]});_0x48386a[_0x349711(0xc2)]();const _0x1392a2={};_0x1392a2[_0x349711(0x9c)]=_0x349711(0xa0),_0x1392a2[_0x349711(0xd2)]=[];let _0x58b4d5,_0x3419c9=_0x1392a2;try{_0x58b4d5=_0x370550['registrationHosts']&&require(_0x349711(0xb0))['RegistrationPlan'][_0x349711(0x92)]({'workspace':_0xe10e26[_0x349711(0xd6)],'transactionId':_0x48386a[_0x349711(0xa5)][_0x349711(0xce)],'launcher':_0x370550['runtimeLauncherPath'],'hosts':_0x370550[_0x349711(0xbf)],'scope':_0x370550[_0x349711(0x87)]||'auto','projectScopeVerified':_0x370550[_0x349711(0xd0)]||{}});}catch(_0x5a36ae){if(![_0x349711(0xbb),_0x349711(0xda)]['includes'](_0x5a36ae[_0x349711(0x8d)]))throw _0x5a36ae;const _0x598617={};_0x598617['code']=_0x5a36ae[_0x349711(0x8d)];const _0x33feb4={};_0x33feb4[_0x349711(0x9c)]='migration-required',_0x33feb4[_0x349711(0xd2)]=[_0x598617],_0x3419c9=_0x33feb4;}const _0x556e51={};return _0x556e51[_0x349711(0xcb)]=_0x48386a,_0x556e51[_0x349711(0xdc)]=_0x58b4d5,_0x556e51['registrationMigration']=_0x3419c9,_0x556e51['deployment']=_0x214941,_0x556e51[_0x349711(0x9f)]=_0x370550[_0x349711(0xa1)]===!![],_0x556e51;}const _0x3b1797={};_0x3b1797['DeploymentDraft']=DeploymentDraft,_0x3b1797[_0xa42c2f(0xb5)]=prepareProject,module['exports']=_0x3b1797;