@myagentroam/node 0.9.15 → 0.9.16

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 (41) hide show
  1. package/dist/capabilities.js +1 -1
  2. package/dist/connector.js +1 -1
  3. package/dist/database.js +1 -1
  4. package/dist/migrations/v005.js +23 -0
  5. package/dist/ripgrep-binary.js +2 -0
  6. package/dist/runner/abstract-runner.js +1 -1
  7. package/dist/runner/claude/managed-run-controller.js +1 -1
  8. package/dist/runner/claude/tool-normalizer.js +2 -0
  9. package/dist/runner/codex/conversation-parser.js +1 -1
  10. package/dist/runner/codex/managed-run-controller.js +1 -1
  11. package/dist/runner/codex/tool-normalizer.js +2 -0
  12. package/dist/runner/mar-agent/conversation-normalizer.js +2 -0
  13. package/dist/runner/mar-agent/history-projection.js +2 -0
  14. package/dist/runner/mar-agent/managed-run-controller.js +2 -0
  15. package/dist/runner/mar-agent/mcp-client-pool.js +2 -0
  16. package/dist/runner/mar-agent-runner.js +2 -0
  17. package/dist/runner/opencode/conversation-parser.js +1 -1
  18. package/dist/runner/opencode/managed-run-controller.js +1 -1
  19. package/dist/runner/opencode/tool-normalizer.js +2 -0
  20. package/dist/runner-profiles.js +1 -1
  21. package/dist/runtime-state.js +1 -1
  22. package/dist/service/continuous-run-coordinator.js +1 -1
  23. package/dist/service/mission-runtime.js +1 -1
  24. package/dist/service/native-session-watch-service.js +1 -1
  25. package/dist/service/run-event-service.js +1 -1
  26. package/dist/service/runner-service.js +1 -1
  27. package/dist/service/session-command-service.js +1 -1
  28. package/dist/service/session-lifecycle-service.js +1 -1
  29. package/dist/service/session-message-service.js +1 -1
  30. package/dist/service/workspace-content-search-service.js +1 -1
  31. package/dist/util/personal-instructions.js +1 -1
  32. package/dist/util/runner-error.js +1 -1
  33. package/dist/util/runner-native-session-parsers.js +1 -1
  34. package/package.json +4 -2
  35. package/vendor/ripgrep/LICENSE-MIT +21 -0
  36. package/vendor/ripgrep/UNLICENSE +24 -0
  37. package/vendor/ripgrep/linux-arm64/rg +0 -0
  38. package/vendor/ripgrep/linux-x64/rg +0 -0
  39. package/vendor/ripgrep/manifest.json +30 -0
  40. package/vendor/ripgrep/win32-arm64/rg.exe +0 -0
  41. package/vendor/ripgrep/win32-x64/rg.exe +0 -0
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x4cca08=_0x3e83;(function(_0x3075bd,_0x2c1da0){const _0x35d84a=_0x3e83,_0x254285=_0x3075bd();while(!![]){try{const _0x5929f5=-parseInt(_0x35d84a(0x130))/(0xcf1*0x3+-0x3b*0x24+-0x1e86)*(parseInt(_0x35d84a(0x1a5))/(0x7cc+0x1*0x16ca+-0x26*0xce))+parseInt(_0x35d84a(0x16d))/(-0x235+0x1*0x1655+-0x141d)*(-parseInt(_0x35d84a(0x132))/(0x33c+-0x15b+0x9f*-0x3))+parseInt(_0x35d84a(0x13d))/(-0x1*0x11ab+0xbba+0x2fb*0x2)+-parseInt(_0x35d84a(0x152))/(-0x40f*-0x1+-0x2113+0x7*0x426)*(-parseInt(_0x35d84a(0x153))/(0x21dc+-0x37*0x59+0x2*-0x75b))+parseInt(_0x35d84a(0x134))/(-0x2367+0x29*-0x68+0x3417)*(-parseInt(_0x35d84a(0x140))/(-0xcb6+0x191c+-0xc5d))+parseInt(_0x35d84a(0x17e))/(-0x734+-0x36+0x774)*(-parseInt(_0x35d84a(0x108))/(-0x1*0x263b+-0x20ab+0x46f1))+parseInt(_0x35d84a(0x101))/(0x5b2+0x21cd+-0x2773);if(_0x5929f5===_0x2c1da0)break;else _0x254285['push'](_0x254285['shift']());}catch(_0xb8a9e7){_0x254285['push'](_0x254285['shift']());}}}(_0x1a55,0x15f*-0x6c3+0x704c4+0xe5b28));import{randomUUID}from'node:crypto';export class NodeRuntimeState{[_0x4cca08(0x17d)];[_0x4cca08(0x165)];[_0x4cca08(0xf6)];[_0x4cca08(0x10f)];static [_0x4cca08(0x1ef)]=0x2704+-0x9*0x99+0x3*-0xb33;[_0x4cca08(0x1c4)]=new Map();[_0x4cca08(0x13c)]=new Map();[_0x4cca08(0x196)]=new Map();[_0x4cca08(0x1fa)]=new Map();[_0x4cca08(0x113)]=new Map();[_0x4cca08(0x162)]=new Map();[_0x4cca08(0x193)]=new Map();[_0x4cca08(0x15a)]=new Map();[_0x4cca08(0x11a)]=new Map();[_0x4cca08(0x16a)]=new Map();[_0x4cca08(0x1c7)]=new Map();[_0x4cca08(0xff)]=new Map();[_0x4cca08(0x173)]=new Map();[_0x4cca08(0x14a)]=new Set();[_0x4cca08(0x1b9)]=new Set();constructor(_0x1372b2,_0x169a8e,_0x2eb11f=Date[_0x4cca08(0xf6)],_0x55eee9){const _0x52a448=_0x4cca08;this[_0x52a448(0x17d)]=_0x1372b2,this[_0x52a448(0x165)]=_0x169a8e,this[_0x52a448(0xf6)]=_0x2eb11f,this[_0x52a448(0x10f)]=_0x55eee9;}[_0x4cca08(0x1cf)](){const _0x323f71=_0x4cca08;return this[_0x323f71(0x1c7)][_0x323f71(0x1da)];}[_0x4cca08(0x1c2)](_0x4ea88a){const _0x12b064=_0x4cca08,_0x28e3cd=this[_0x12b064(0x1c7)][_0x12b064(0x116)](_0x4ea88a);return _0x28e3cd===undefined?undefined:this[_0x12b064(0x13c)][_0x12b064(0x116)](_0x28e3cd);}[_0x4cca08(0x112)](_0x9b4736){const _0x5b1b72=_0x4cca08;return this[_0x5b1b72(0x1c7)][_0x5b1b72(0xfb)](_0x9b4736);}[_0x4cca08(0x137)](_0x48e402){const _0x34e3c5=_0x4cca08;if(this[_0x34e3c5(0x165)](_0x48e402[_0x34e3c5(0x194)])===undefined)throw new Error(_0x34e3c5(0x104));const _0x1ced4f=this[_0x34e3c5(0xf6)](),_0x39c0f9=_0x48e402[_0x34e3c5(0x1ce)]??randomUUID();if(this[_0x34e3c5(0x1c4)][_0x34e3c5(0xfb)](_0x39c0f9))throw new Error(_0x34e3c5(0x1db));const _0x1a9e28={'id':_0x39c0f9,'nodeId':this[_0x34e3c5(0x17d)](),'workspaceId':_0x48e402[_0x34e3c5(0x194)],'runner':_0x48e402[_0x34e3c5(0xea)],'externalSessionId':_0x48e402[_0x34e3c5(0x1ce)]??null,'nativeControl':_0x48e402[_0x34e3c5(0x1ce)]===undefined?_0x34e3c5(0x14b):_0x48e402[_0x34e3c5(0x1ea)]??_0x34e3c5(0x19c),'channelToken':null,'cwd':_0x48e402[_0x34e3c5(0x121)],'model':_0x48e402[_0x34e3c5(0x19f)]??null,'effort':_0x48e402[_0x34e3c5(0x1f2)]??null,'access':_0x48e402[_0x34e3c5(0x179)]??null,'customTitle':null,'runnerTitle':_0x48e402[_0x34e3c5(0x150)]?.[_0x34e3c5(0x12b)]()[_0x34e3c5(0x166)](0x2*0x117c+-0x4da+-0x1e1e,0x2b1*-0x4+0x19a0+-0xe3c)||null,'pinnedAt':null,'titleSource':_0x34e3c5(0xfd),'lastActivityAt':_0x1ced4f,'createdAt':_0x1ced4f};return this[_0x34e3c5(0x1c4)][_0x34e3c5(0x100)](_0x1a9e28['id'],_0x1a9e28),_0x1a9e28;}[_0x4cca08(0xe5)](_0x3939af){const _0x2dc290=_0x4cca08;if(this[_0x2dc290(0x1b9)][_0x2dc290(0xfb)](_0x3939af[_0x2dc290(0x106)]))throw new Error(_0x2dc290(0x127));let _0x258d6d=this[_0x2dc290(0x1c4)][_0x2dc290(0x116)](_0x3939af[_0x2dc290(0x139)]);if(_0x258d6d===undefined){const _0x143173=this[_0x2dc290(0xf6)]();_0x258d6d={'id':_0x3939af[_0x2dc290(0x139)],'nodeId':this[_0x2dc290(0x17d)](),'workspaceId':_0x3939af[_0x2dc290(0x194)]??_0x2dc290(0x149)+_0x3939af[_0x2dc290(0x121)],'runner':_0x3939af[_0x2dc290(0xea)],'externalSessionId':_0x3939af[_0x2dc290(0x1ce)]??null,'nativeControl':_0x3939af[_0x2dc290(0x1ce)]===undefined?_0x2dc290(0x14b):_0x2dc290(0x19c),'channelToken':null,'cwd':_0x3939af[_0x2dc290(0x121)],'model':null,'effort':null,'access':null,'customTitle':null,'runnerTitle':null,'pinnedAt':null,'titleSource':_0x2dc290(0xfd),'lastActivityAt':_0x143173,'createdAt':_0x143173},this[_0x2dc290(0x1c4)][_0x2dc290(0x100)](_0x258d6d['id'],_0x258d6d);}const _0x25a7b1=this[_0x2dc290(0x184)](_0x3939af[_0x2dc290(0x106)]);if(_0x25a7b1!==undefined)return _0x25a7b1;const _0x5952ce=this[_0x2dc290(0xf6)](),_0x27ab4e={'id':_0x3939af[_0x2dc290(0x106)],'sessionId':_0x258d6d['id'],'nodeId':this[_0x2dc290(0x17d)](),'workspaceId':_0x258d6d[_0x2dc290(0x194)],'runner':_0x258d6d[_0x2dc290(0xea)],'status':_0x2dc290(0x10d),'recoveryState':_0x2dc290(0x131),'version':0x0,'clientMessageId':_0x3939af[_0x2dc290(0x111)]??_0x3939af[_0x2dc290(0x106)],'createdAt':_0x5952ce,'startedAt':_0x5952ce,'completedAt':null,'updatedAt':_0x5952ce};return this[_0x2dc290(0x13c)][_0x2dc290(0x100)](_0x27ab4e['id'],_0x27ab4e),this[_0x2dc290(0x1c7)][_0x2dc290(0x100)](_0x27ab4e[_0x2dc290(0x139)],_0x27ab4e['id']),this[_0x2dc290(0x1e1)](_0x27ab4e,_0x258d6d),_0x27ab4e;}[_0x4cca08(0x1a4)](_0x12eaaf){const _0x5a3f55=_0x4cca08;return this[_0x5a3f55(0x1c4)][_0x5a3f55(0x116)](_0x12eaaf)??[...this[_0x5a3f55(0x1c4)][_0x5a3f55(0x119)]()][_0x5a3f55(0xfc)](_0x7080fa=>_0x7080fa[_0x5a3f55(0x1ce)]===_0x12eaaf);}[_0x4cca08(0x195)](){const _0x4acf8d=_0x4cca08;return[...this[_0x4acf8d(0x1c4)][_0x4acf8d(0x119)]()][_0x4acf8d(0x1b4)]((_0x4a6c53,_0x530c33)=>_0x530c33[_0x4acf8d(0x1ed)]-_0x4a6c53[_0x4acf8d(0x1ed)]);}[_0x4cca08(0x11c)](_0x405c7a,_0x40bda3){const _0xc0fa98=_0x4cca08;return[...this[_0xc0fa98(0x1c4)][_0xc0fa98(0x119)]()][_0xc0fa98(0xfc)](_0x4adba5=>_0x4adba5[_0xc0fa98(0xea)]===_0x405c7a&&_0x4adba5[_0xc0fa98(0x1ce)]===_0x40bda3);}[_0x4cca08(0x169)](_0xfe2017){const _0x3ef7ae=_0x4cca08;return this[_0x3ef7ae(0x102)](_0xfe2017[_0x3ef7ae(0x139)],{'model':_0xfe2017[_0x3ef7ae(0x19f)],'effort':_0xfe2017[_0x3ef7ae(0x1f2)],'access':_0xfe2017[_0x3ef7ae(0x179)]});}[_0x4cca08(0x115)](_0x401f05,_0x5a26d8){const _0x12aafa=_0x4cca08;return this[_0x12aafa(0x102)](_0x401f05,{'access':_0x5a26d8});}[_0x4cca08(0x12c)](_0x50773d,_0x442c4d){const _0x57206a=_0x4cca08;this[_0x57206a(0x102)](_0x50773d,{'nativeControl':_0x442c4d});}[_0x4cca08(0x1d6)](_0x2f311d,_0x4f0eac){const _0x259f3e=_0x4cca08;if(_0x4f0eac[_0x259f3e(0xe7)]===-0xb5*-0x9+-0xe8a+-0x82d*-0x1)throw new Error(_0x259f3e(0x14e));this[_0x259f3e(0x1c9)](_0x2f311d,_0x4f0eac);}[_0x4cca08(0x1c9)](_0x223885,_0x5739c0){const _0x1b91b5=_0x4cca08;if(_0x5739c0[_0x1b91b5(0xe7)]===-0x4d*-0x17+-0x34*0x1+-0x3*0x23d)throw new Error(_0x1b91b5(0x14e));const _0x4ed2e7=this[_0x1b91b5(0x10a)](_0x223885);if(_0x223885===_0x5739c0)return this[_0x1b91b5(0x102)](_0x223885,{'externalSessionId':_0x5739c0,'nativeControl':_0x1b91b5(0x14b)});const _0x404945=this[_0x1b91b5(0x1c4)][_0x1b91b5(0x116)](_0x5739c0);if(_0x404945!==undefined&&_0x404945['id']!==_0x4ed2e7['id'])throw new Error(_0x1b91b5(0x1db));const _0x12c719={..._0x4ed2e7,'id':_0x5739c0,'externalSessionId':_0x5739c0,'nativeControl':_0x1b91b5(0x14b)},_0x54e663=this[_0x1b91b5(0xeb)](_0x223885),_0x57cf3e=this[_0x1b91b5(0x11a)][_0x1b91b5(0x116)](_0x223885)??[],_0x1a95d7=this[_0x1b91b5(0xff)][_0x1b91b5(0x116)](_0x223885),_0xa882ea=this[_0x1b91b5(0x173)][_0x1b91b5(0x116)](_0x223885),_0x52e1f7=this[_0x1b91b5(0x1c7)][_0x1b91b5(0x116)](_0x223885),_0x29efe6=this[_0x1b91b5(0x14a)][_0x1b91b5(0xfb)](_0x223885);this[_0x1b91b5(0x1c4)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x1c4)][_0x1b91b5(0x100)](_0x5739c0,_0x12c719);for(const _0xe94e8 of _0x54e663)this[_0x1b91b5(0x13c)][_0x1b91b5(0x100)](_0xe94e8['id'],{..._0xe94e8,'sessionId':_0x5739c0});this[_0x1b91b5(0x11a)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x11a)][_0x1b91b5(0x100)](_0x5739c0,_0x57cf3e[_0x1b91b5(0x1ca)](_0x1d8d75=>({..._0x1d8d75,'sessionId':_0x5739c0,'items':_0x1d8d75[_0x1b91b5(0x18a)][_0x1b91b5(0x1ca)](_0xbe6eca=>({..._0xbe6eca,'sessionId':_0x5739c0}))})));if(_0x1a95d7!==undefined){this[_0x1b91b5(0xff)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0xff)][_0x1b91b5(0x100)](_0x5739c0,_0x1a95d7);for(const _0x2b8bf6 of _0x1a95d7){const _0x19e8c9=this[_0x1b91b5(0x113)][_0x1b91b5(0x116)](_0x2b8bf6);if(_0x19e8c9!==undefined)this[_0x1b91b5(0x113)][_0x1b91b5(0x100)](_0x2b8bf6,{..._0x19e8c9,'sessionId':_0x5739c0});}}_0xa882ea!==undefined&&(this[_0x1b91b5(0x173)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x173)][_0x1b91b5(0x100)](_0x5739c0,_0xa882ea));_0x52e1f7!==undefined&&(this[_0x1b91b5(0x1c7)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x1c7)][_0x1b91b5(0x100)](_0x5739c0,_0x52e1f7));_0x29efe6&&(this[_0x1b91b5(0x14a)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x14a)][_0x1b91b5(0x189)](_0x5739c0));for(const [_0x4fdcd5,_0x2529d2]of[...this[_0x1b91b5(0x196)]]){if(!_0x4fdcd5[_0x1b91b5(0x1c0)](_0x223885+'\x00'))continue;this[_0x1b91b5(0x196)][_0x1b91b5(0x12d)](_0x4fdcd5),this[_0x1b91b5(0x196)][_0x1b91b5(0x100)](''+_0x5739c0+_0x4fdcd5[_0x1b91b5(0x166)](_0x223885[_0x1b91b5(0xe7)]),_0x2529d2);}for(const [_0x43a598,_0x8b81d3]of this[_0x1b91b5(0x193)])if(_0x8b81d3[_0x1b91b5(0x139)]===_0x223885)this[_0x1b91b5(0x193)][_0x1b91b5(0x100)](_0x43a598,{..._0x8b81d3,'sessionId':_0x5739c0});for(const _0x30f61c of _0x54e663){const _0x42d3c8=this[_0x1b91b5(0x122)](_0x30f61c['id']);this[_0x1b91b5(0x1e1)](_0x42d3c8,_0x12c719);}return _0x12c719;}[_0x4cca08(0x154)](_0x537b13,_0xc6c24a){const _0x4ed041=_0x4cca08;if(_0xc6c24a[_0x4ed041(0xe7)]<-0x3b*0x28+0x1*0x13d9+-0xa91)throw new Error(_0x4ed041(0x174));this[_0x4ed041(0x102)](_0x537b13,{'channelToken':_0xc6c24a});}[_0x4cca08(0x1d5)](_0x277ac8){const _0x581890=_0x4cca08,_0x30019f=this[_0x581890(0x10a)](_0x277ac8[_0x581890(0x139)]),_0x54595e=_0x277ac8[_0x581890(0x1a0)]===undefined?_0x30019f[_0x581890(0x1a0)]:_0x277ac8[_0x581890(0x1a0)]?.[_0x581890(0x12b)]()||null;if(_0x54595e!==null&&_0x54595e[_0x581890(0xe7)]>-0x1*0x1df+-0xbc5+0x2c*0x53)throw new Error(_0x581890(0x1a6));return this[_0x581890(0x102)](_0x30019f['id'],{'customTitle':_0x54595e,'pinnedAt':_0x277ac8[_0x581890(0x1e9)]===undefined?_0x30019f[_0x581890(0x15b)]:_0x277ac8[_0x581890(0x1e9)]?this[_0x581890(0xf6)]():null,'titleSource':_0x54595e===null?_0x581890(0xfd):_0x581890(0x15d)});}[_0x4cca08(0x1d3)](_0xfc9b34,_0x36c30d){const _0x37fb7a=_0x4cca08,_0x200f1d=this[_0x37fb7a(0x10a)](_0xfc9b34),_0x1cecdc=_0x36c30d[_0x37fb7a(0x12b)]()[_0x37fb7a(0x13b)](/\s+/g,'\x20')[_0x37fb7a(0x166)](-0x907+0x121e+0xb3*-0xd,-0x3*-0x203+0x1*-0xcc7+0x75e);if(_0x1cecdc[_0x37fb7a(0xe7)]===-0x127d+0x23d5+0x5*-0x378||_0x200f1d[_0x37fb7a(0x1a0)]!==null||_0x200f1d[_0x37fb7a(0x1aa)]!==null)return _0x200f1d;return this[_0x37fb7a(0x102)](_0xfc9b34,{'runnerTitle':_0x1cecdc,'titleSource':_0x37fb7a(0xfd)});}[_0x4cca08(0x1fd)](_0xb89e45,_0x333045){const _0xb25660=_0x4cca08,_0x18716c=this[_0xb25660(0x10a)](_0xb89e45),_0x5a9e71=_0x333045[_0xb25660(0x12b)]()[_0xb25660(0x13b)](/\s+/g,'\x20')[_0xb25660(0x166)](0x1*0xa6f+-0x18*-0x20+0x1*-0xd6f,-0x178e+-0x405+0x1c33);if(_0x5a9e71[_0xb25660(0xe7)]===-0x33*0x65+0xe97+0x588||_0x18716c[_0xb25660(0x1a0)]!==null||_0x18716c[_0xb25660(0x1aa)]===_0x5a9e71)return _0x18716c;return this[_0xb25660(0x102)](_0xb89e45,{'runnerTitle':_0x5a9e71,'titleSource':_0xb25660(0x17f)});}[_0x4cca08(0x1d0)](_0x286362){const _0x45ed76=_0x4cca08,_0x52e9c5=_0x286362[_0x45ed76(0x139)]+'\x00'+_0x286362[_0x45ed76(0x111)],_0x15b1d8=this[_0x45ed76(0x196)][_0x45ed76(0x116)](_0x52e9c5);if(_0x15b1d8!==undefined){if(_0x15b1d8[_0x45ed76(0x158)]!==_0x45ed76(0x129))throw new Error(_0x45ed76(0xe9));return{'run':this[_0x45ed76(0x122)](_0x15b1d8['id']),'created':![]};}const _0x46e94e=this[_0x45ed76(0x10a)](_0x286362[_0x45ed76(0x139)]);if(this[_0x45ed76(0x1c2)](_0x46e94e['id'])!==undefined)throw new Error(_0x45ed76(0x176));const _0x1782a5=this[_0x45ed76(0xf6)](),_0x3d5232={'id':_0x286362[_0x45ed76(0x106)]??randomUUID(),'sessionId':_0x46e94e['id'],'nodeId':this[_0x45ed76(0x17d)](),'workspaceId':_0x46e94e[_0x45ed76(0x194)],'runner':_0x46e94e[_0x45ed76(0xea)],'status':_0x45ed76(0x10d),'recoveryState':_0x45ed76(0x131),'version':0x0,'clientMessageId':_0x286362[_0x45ed76(0x111)],..._0x286362[_0x45ed76(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x286362[_0x45ed76(0x1dc)]},'createdAt':_0x1782a5,'startedAt':_0x1782a5,'completedAt':null,'updatedAt':_0x1782a5},_0x1cb290=this[_0x45ed76(0x160)](_0x3d5232['id'],_0x286362[_0x45ed76(0x1f3)]??[]),_0x2c998f={'id':randomUUID(),'sessionId':_0x46e94e['id'],'turnId':'','runId':_0x3d5232['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x45ed76(0x138),'status':_0x45ed76(0x163),'payload':{'clientMessageId':_0x286362[_0x45ed76(0x111)],'text':_0x286362[_0x45ed76(0x118)],'contexts':[],'attachments':_0x1cb290,'delivery':_0x45ed76(0x1a2)},'startedAt':_0x1782a5,'completedAt':_0x1782a5},_0x4e9e10={'id':randomUUID(),'sessionId':_0x46e94e['id'],'runId':_0x3d5232['id'],'userItemId':_0x2c998f['id'],'status':_0x45ed76(0x1b3),'model':_0x46e94e[_0x45ed76(0x19f)],'effort':_0x46e94e[_0x45ed76(0x1f2)],'access':_0x46e94e[_0x45ed76(0x179)],'items':[_0x2c998f],'startedAt':_0x1782a5,'completedAt':null},_0x1f9e20={..._0x4e9e10,'items':[{..._0x2c998f,'turnId':_0x4e9e10['id']}]};return this[_0x45ed76(0x13c)][_0x45ed76(0x100)](_0x3d5232['id'],_0x3d5232),this[_0x45ed76(0x196)][_0x45ed76(0x100)](_0x52e9c5,{'kind':_0x45ed76(0x129),'id':_0x3d5232['id']}),this[_0x45ed76(0x1c7)][_0x45ed76(0x100)](_0x46e94e['id'],_0x3d5232['id']),this[_0x45ed76(0x11a)][_0x45ed76(0x100)](_0x46e94e['id'],[...this[_0x45ed76(0x11a)][_0x45ed76(0x116)](_0x46e94e['id'])??[],_0x1f9e20]),this[_0x45ed76(0x102)](_0x46e94e['id'],{'lastActivityAt':_0x1782a5}),this[_0x45ed76(0x1e1)](_0x3d5232,this[_0x45ed76(0x10a)](_0x46e94e['id'])),{'run':_0x3d5232,'created':!![]};}[_0x4cca08(0x1e3)](_0x218801){const _0x29d08e=_0x4cca08,_0x252cd7=_0x218801[_0x29d08e(0x139)]+'\x00'+_0x218801[_0x29d08e(0x111)],_0x3e2216=this[_0x29d08e(0x196)][_0x29d08e(0x116)](_0x252cd7);if(_0x3e2216!==undefined){if(_0x3e2216[_0x29d08e(0x158)]!==_0x29d08e(0x1b2))throw new Error(_0x29d08e(0x143));return{'item':this[_0x29d08e(0x17c)](_0x3e2216['id']),'created':![]};}const _0x4b64f7=this[_0x29d08e(0x10a)](_0x218801[_0x29d08e(0x139)]),_0x23e1bb=this[_0x29d08e(0x1c2)](_0x4b64f7['id']);if(_0x23e1bb!==undefined&&_0x23e1bb[_0x29d08e(0x1dc)]!==undefined&&_0x218801[_0x29d08e(0x1dc)]!==_0x23e1bb[_0x29d08e(0x1dc)])throw new Error(_0x29d08e(0x1e2));const _0x313036=this[_0x29d08e(0xf6)](),_0x18c6ff={'id':_0x218801[_0x29d08e(0x18e)]??randomUUID(),'sessionId':_0x4b64f7['id'],'workspaceId':_0x4b64f7[_0x29d08e(0x194)],'runner':_0x4b64f7[_0x29d08e(0xea)],'clientMessageId':_0x218801[_0x29d08e(0x111)],'content':_0x218801[_0x29d08e(0x118)],'attachments':_0x218801[_0x29d08e(0x1f3)]??[],..._0x218801[_0x29d08e(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x218801[_0x29d08e(0x1dc)]},'createdAt':_0x313036};return this[_0x29d08e(0x113)][_0x29d08e(0x100)](_0x18c6ff['id'],_0x18c6ff),this[_0x29d08e(0x196)][_0x29d08e(0x100)](_0x252cd7,{'kind':_0x29d08e(0x1b2),'id':_0x18c6ff['id']}),this[_0x29d08e(0xff)][_0x29d08e(0x100)](_0x4b64f7['id'],[...this[_0x29d08e(0xff)][_0x29d08e(0x116)](_0x4b64f7['id'])??[],_0x18c6ff['id']]),this[_0x29d08e(0x177)](_0x4b64f7['id']),{'item':_0x18c6ff,'created':!![]};}[_0x4cca08(0x1b0)](_0x28430d){const _0x122fd6=_0x4cca08;return{'version':this[_0x122fd6(0x173)][_0x122fd6(0x116)](_0x28430d)??0x220+0x65*0x4+0x1*-0x3b4,'paused':this[_0x122fd6(0x14a)][_0x122fd6(0xfb)](_0x28430d),'itemIds':this[_0x122fd6(0xff)][_0x122fd6(0x116)](_0x28430d)??[]};}[_0x4cca08(0x10b)](_0x363002){const _0x4f2141=_0x4cca08;return this[_0x4f2141(0x113)][_0x4f2141(0x116)](_0x363002);}[_0x4cca08(0x13e)](_0x258f18){const _0x40a0c8=_0x4cca08;if(this[_0x40a0c8(0x14a)][_0x40a0c8(0xfb)](_0x258f18))return undefined;const _0x304ee5=this[_0x40a0c8(0x1c2)](_0x258f18);if(_0x304ee5===undefined)return undefined;const _0x5a4fbd=this[_0x40a0c8(0xff)][_0x40a0c8(0x116)](_0x258f18)??[],_0x99dcfd=_0x5a4fbd[-0xaf8+0x18c2+0x5*-0x2c2];if(_0x99dcfd===undefined)return undefined;this[_0x40a0c8(0xff)][_0x40a0c8(0x100)](_0x258f18,_0x5a4fbd[_0x40a0c8(0x166)](-0xfce+-0x72*-0x2e+-0x4ad)),this[_0x40a0c8(0x177)](_0x258f18);const _0x2f97f9=this[_0x40a0c8(0x17c)](_0x99dcfd);this[_0x40a0c8(0x113)][_0x40a0c8(0x12d)](_0x99dcfd),this[_0x40a0c8(0x196)][_0x40a0c8(0x100)](_0x2f97f9[_0x40a0c8(0x139)]+'\x00'+_0x2f97f9[_0x40a0c8(0x111)],{'kind':_0x40a0c8(0x129),'id':_0x304ee5['id']});const _0x5ab6cc=this[_0x40a0c8(0x125)](_0x304ee5,_0x2f97f9[_0x40a0c8(0x111)],_0x2f97f9[_0x40a0c8(0x118)],_0x2f97f9[_0x40a0c8(0x1f3)]);return{'item':_0x2f97f9,'turn':_0x5ab6cc};}[_0x4cca08(0x12f)](_0x3ee2cb){const _0x59e5b4=_0x4cca08,_0x51e467=this[_0x59e5b4(0x17c)](_0x3ee2cb);if(this[_0x59e5b4(0x1c2)](_0x51e467[_0x59e5b4(0x139)])!==undefined)throw new Error(_0x59e5b4(0x176));const _0x202ecf=this[_0x59e5b4(0xff)][_0x59e5b4(0x116)](_0x51e467[_0x59e5b4(0x139)])??[];if(_0x202ecf[0x629+-0x1c28+0x15ff]!==_0x3ee2cb)throw new Error(_0x59e5b4(0x1d8));this[_0x59e5b4(0xff)][_0x59e5b4(0x100)](_0x51e467[_0x59e5b4(0x139)],_0x202ecf[_0x59e5b4(0x166)](-0x62f*0x4+0xde+0x17df*0x1)),this[_0x59e5b4(0x113)][_0x59e5b4(0x12d)](_0x3ee2cb),this[_0x59e5b4(0x196)][_0x59e5b4(0x12d)](_0x51e467[_0x59e5b4(0x139)]+'\x00'+_0x51e467[_0x59e5b4(0x111)]),this[_0x59e5b4(0x177)](_0x51e467[_0x59e5b4(0x139)]);const _0x50a164=this[_0x59e5b4(0x1d0)]({'sessionId':_0x51e467[_0x59e5b4(0x139)],'clientMessageId':_0x51e467[_0x59e5b4(0x111)],'content':_0x51e467[_0x59e5b4(0x118)],..._0x51e467[_0x59e5b4(0x1f3)][_0x59e5b4(0xe7)]===0x25*0x37+-0x1d5e+0x156b?{}:{'attachments':_0x51e467[_0x59e5b4(0x1f3)]},..._0x51e467[_0x59e5b4(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x51e467[_0x59e5b4(0x1dc)]}}),_0x3c410d=this[_0x59e5b4(0x123)](_0x50a164[_0x59e5b4(0x129)]['id']);if(_0x3c410d===undefined)throw new Error(_0x59e5b4(0x1a7));return{'run':_0x50a164[_0x59e5b4(0x129)],'turn':_0x3c410d};}[_0x4cca08(0x19e)](_0x36f7f2){const _0x26648a=_0x4cca08;this[_0x26648a(0x14a)][_0x26648a(0x189)](_0x36f7f2),this[_0x26648a(0x177)](_0x36f7f2);}[_0x4cca08(0xf9)](_0x2d0e3d){const _0x2f2387=_0x4cca08;if(!this[_0x2f2387(0x14a)][_0x2f2387(0x12d)](_0x2d0e3d))return;this[_0x2f2387(0x177)](_0x2d0e3d);}[_0x4cca08(0x18f)](_0x40f672,_0xab5f0f,_0x57e853){const _0xa7fc1c=_0x4cca08,_0x3ae31e=this[_0xa7fc1c(0xff)][_0xa7fc1c(0x116)](_0x40f672)??[];if(this[_0xa7fc1c(0x1b0)](_0x40f672)[_0xa7fc1c(0x172)]!==_0xab5f0f||_0x3ae31e[_0xa7fc1c(0xe7)]!==_0x57e853[_0xa7fc1c(0xe7)]||new Set(_0x3ae31e)[_0xa7fc1c(0x1da)]!==_0x3ae31e[_0xa7fc1c(0xe7)]||_0x3ae31e[_0xa7fc1c(0xf7)](_0x23f031=>!_0x57e853[_0xa7fc1c(0x1d9)](_0x23f031)))throw new Error(_0xa7fc1c(0x18c));if(_0x57e853[_0xa7fc1c(0xf7)](_0x2aabc8=>this[_0xa7fc1c(0x113)][_0xa7fc1c(0x116)](_0x2aabc8)?.[_0xa7fc1c(0x139)]!==_0x40f672))throw new Error(_0xa7fc1c(0x1d8));this[_0xa7fc1c(0xff)][_0xa7fc1c(0x100)](_0x40f672,[..._0x57e853]),this[_0xa7fc1c(0x177)](_0x40f672);}[_0x4cca08(0x1f7)](_0x183528){const _0x3ac4e3=_0x4cca08,_0x1c2a09=this[_0x3ac4e3(0x17c)](_0x183528),_0x369605=this[_0x3ac4e3(0xff)][_0x3ac4e3(0x116)](_0x1c2a09[_0x3ac4e3(0x139)])??[];if(!_0x369605[_0x3ac4e3(0x1d9)](_0x183528))throw new Error(_0x3ac4e3(0x1d8));return this[_0x3ac4e3(0xff)][_0x3ac4e3(0x100)](_0x1c2a09[_0x3ac4e3(0x139)],[_0x183528,..._0x369605[_0x3ac4e3(0xee)](_0x55df81=>_0x55df81!==_0x183528)]),this[_0x3ac4e3(0x177)](_0x1c2a09[_0x3ac4e3(0x139)]),_0x1c2a09;}[_0x4cca08(0x1fb)](_0x34f10c,_0x270944){const _0x456dc2=_0x4cca08,_0x4096bd=this[_0x456dc2(0x17c)](_0x34f10c);if(!(this[_0x456dc2(0xff)][_0x456dc2(0x116)](_0x4096bd[_0x456dc2(0x139)])??[])[_0x456dc2(0x1d9)](_0x34f10c))throw new Error(_0x456dc2(0x1d8));const _0x69a7ca={..._0x4096bd,'content':_0x270944};return this[_0x456dc2(0x113)][_0x456dc2(0x100)](_0x34f10c,_0x69a7ca),this[_0x456dc2(0x177)](_0x4096bd[_0x456dc2(0x139)]),_0x69a7ca;}[_0x4cca08(0x178)](_0x48d2ec,_0x438ebf){const _0x1dc1ca=_0x4cca08,_0x429cc4=this[_0x1dc1ca(0x17c)](_0x48d2ec),_0x268eea={..._0x429cc4,'attachments':_0x438ebf};return this[_0x1dc1ca(0x113)][_0x1dc1ca(0x100)](_0x48d2ec,_0x268eea),_0x268eea;}[_0x4cca08(0x182)](_0xd41657){const _0x15981f=_0x4cca08,_0x284eb6=this[_0x15981f(0x17c)](_0xd41657),_0x339367=this[_0x15981f(0xff)][_0x15981f(0x116)](_0x284eb6[_0x15981f(0x139)])??[];if(!_0x339367[_0x15981f(0x1d9)](_0xd41657))throw new Error(_0x15981f(0x1d8));this[_0x15981f(0xff)][_0x15981f(0x100)](_0x284eb6[_0x15981f(0x139)],_0x339367[_0x15981f(0xee)](_0x34112e=>_0x34112e!==_0xd41657)),this[_0x15981f(0x177)](_0x284eb6[_0x15981f(0x139)]),this[_0x15981f(0x113)][_0x15981f(0x12d)](_0xd41657);for(const [_0x4f83b9,_0x111e85]of this[_0x15981f(0x196)])if(_0x111e85[_0x15981f(0x158)]===_0x15981f(0x1b2)&&_0x111e85['id']===_0xd41657)this[_0x15981f(0x196)][_0x15981f(0x12d)](_0x4f83b9);}[_0x4cca08(0xf0)](_0xa23421){const _0x20770d=_0x4cca08,_0x134140=this[_0x20770d(0x122)](_0xa23421),_0x2bf78d=(this[_0x20770d(0x11a)][_0x20770d(0x116)](_0x134140[_0x20770d(0x139)])??[])[_0x20770d(0x1af)](_0x4c686b=>_0x4c686b[_0x20770d(0x106)]===_0xa23421),_0x3e51c6=_0x2bf78d?.[_0x20770d(0x18a)][_0x20770d(0xfc)](_0x56d18a=>_0x56d18a['id']===_0x2bf78d[_0x20770d(0x1ba)]);return isRecord(_0x3e51c6?.[_0x20770d(0x114)])&&typeof _0x3e51c6[_0x20770d(0x114)][_0x20770d(0x124)]===_0x20770d(0xf8)?_0x3e51c6[_0x20770d(0x114)][_0x20770d(0x124)]:'';}[_0x4cca08(0x168)](_0x56158a,_0x5a66d6){const _0x4f06df=_0x4cca08,_0x5aa816=this[_0x4f06df(0x160)](_0x56158a,_0x5a66d6);this[_0x4f06df(0x19a)](_0x56158a,_0x5d6b50=>({..._0x5d6b50,'items':_0x5d6b50[_0x4f06df(0x18a)][_0x4f06df(0x1ca)](_0x4e3f02=>_0x4e3f02['id']===_0x5d6b50[_0x4f06df(0x1ba)]&&isRecord(_0x4e3f02[_0x4f06df(0x114)])?{..._0x4e3f02,'payload':{..._0x4e3f02[_0x4f06df(0x114)],'attachments':_0x5aa816}}:_0x4e3f02)}));}[_0x4cca08(0x184)](_0x475067){const _0x11f63e=_0x4cca08,_0x132b7e=this[_0x11f63e(0x162)][_0x11f63e(0x116)](_0x475067)?.[_0x11f63e(0x106)]??_0x475067;return this[_0x11f63e(0x13c)][_0x11f63e(0x116)](_0x132b7e);}[_0x4cca08(0x13a)](_0x5b5275,_0x34b20c){const _0xb734be=_0x4cca08,_0x1c452d=this[_0xb734be(0x196)][_0xb734be(0x116)](_0x5b5275+'\x00'+_0x34b20c);return _0x1c452d?.[_0xb734be(0x158)]===_0xb734be(0x129)?this[_0xb734be(0x13c)][_0xb734be(0x116)](_0x1c452d['id']):undefined;}[_0x4cca08(0xf2)](_0x196e9b,_0x34cb42){const _0x43b595=_0x4cca08,_0x3996fe=this[_0x43b595(0x196)][_0x43b595(0x116)](_0x196e9b+'\x00'+_0x34cb42);if(_0x3996fe===undefined)return undefined;if(_0x3996fe[_0x43b595(0x158)]===_0x43b595(0x129))return{'kind':_0x43b595(0x129),'run':this[_0x43b595(0x122)](_0x3996fe['id'])};const _0x4f39c9=this[_0x43b595(0x17c)](_0x3996fe['id']),_0x3e2291=this[_0x43b595(0x1c2)](_0x196e9b);if(_0x3e2291===undefined)throw new Error(_0x43b595(0x1c3));return{'kind':_0x43b595(0x1b2),'item':_0x4f39c9,'run':_0x3e2291};}[_0x4cca08(0x110)](_0x3462c9,_0x3fd810){const _0x488d18=_0x4cca08;return this[_0x488d18(0x1fa)][_0x488d18(0x116)](_0x3462c9+'\x00'+_0x3fd810);}[_0x4cca08(0x1bd)](_0x901ab,_0x5b5c3f){const _0x1c802b=_0x4cca08,_0x4695f4=[...this[_0x1c802b(0x196)]][_0x1c802b(0xfc)](([,_0x111d3e])=>_0x111d3e['id']===_0x901ab);if(_0x4695f4===undefined)return;this[_0x1c802b(0x1fa)][_0x1c802b(0x100)](_0x4695f4[0x15a1+0x23b3+-0x3954],_0x5b5c3f);if(this[_0x1c802b(0x1fa)][_0x1c802b(0x1da)]>-0x1fdc+0x1*0x2375+0x67)this[_0x1c802b(0x1fa)][_0x1c802b(0x12d)](this[_0x1c802b(0x1fa)][_0x1c802b(0x180)]()[_0x1c802b(0x17a)]()[_0x1c802b(0x11d)]);}[_0x4cca08(0xeb)](_0x320cfb){const _0x53248e=_0x4cca08;return[...this[_0x53248e(0x13c)][_0x53248e(0x119)]()][_0x53248e(0xee)](_0x37ac10=>_0x37ac10[_0x53248e(0x139)]===_0x320cfb)[_0x53248e(0x1b4)]((_0x41607a,_0x444b89)=>_0x444b89[_0x53248e(0x10e)]-_0x41607a[_0x53248e(0x10e)]);}[_0x4cca08(0xef)](_0x42ae07,_0xbb3474){const _0x4a2f89=_0x4cca08,_0x3bef96=this[_0x4a2f89(0x162)][_0x4a2f89(0x116)](_0x42ae07)?.[_0x4a2f89(0x106)]??_0x42ae07,_0x44aaa2=this[_0x4a2f89(0x122)](_0x3bef96);if(!transitionAllowed(_0x44aaa2[_0x4a2f89(0x1a8)],_0xbb3474))throw new Error(_0x4a2f89(0xe6));const _0x518ac0=this[_0x4a2f89(0xf6)](),_0x24d740={..._0x44aaa2,'status':_0xbb3474,'version':_0x44aaa2[_0x4a2f89(0x172)]+(-0x7eb*-0x3+-0xb*-0x3+-0x17e1),'completedAt':terminal(_0xbb3474)?_0x518ac0:_0x44aaa2[_0x4a2f89(0x1f1)],'updatedAt':_0x518ac0};this[_0x4a2f89(0x13c)][_0x4a2f89(0x100)](_0x3bef96,_0x24d740),this[_0x4a2f89(0x1e1)](_0x24d740,this[_0x4a2f89(0x10a)](_0x24d740[_0x4a2f89(0x139)]));if(terminal(_0xbb3474)&&this[_0x4a2f89(0x1c7)][_0x4a2f89(0x116)](_0x24d740[_0x4a2f89(0x139)])===_0x24d740['id'])this[_0x4a2f89(0x1c7)][_0x4a2f89(0x12d)](_0x24d740[_0x4a2f89(0x139)]);return this[_0x4a2f89(0x19a)](_0x24d740['id'],_0x45064c=>({..._0x45064c,'status':_0xbb3474,'completedAt':terminal(_0xbb3474)?this[_0x4a2f89(0xf6)]():_0x45064c[_0x4a2f89(0x1f1)],'items':terminal(_0xbb3474)?_0x45064c[_0x4a2f89(0x18a)][_0x4a2f89(0x1ca)](_0x3c49b4=>activeConversationItem(_0x3c49b4[_0x4a2f89(0x1a8)])?{..._0x3c49b4,'status':completedStatusForRun(_0xbb3474),'completedAt':this[_0x4a2f89(0xf6)]()}:_0x3c49b4):_0x45064c[_0x4a2f89(0x18a)]})),_0x24d740;}[_0x4cca08(0x157)](_0x3e1a12){const _0xf2fc95=_0x4cca08,_0x5c95eb=this[_0xf2fc95(0x162)][_0xf2fc95(0x116)](_0x3e1a12[_0xf2fc95(0x106)]),_0x2a6260=_0x5c95eb?.[_0xf2fc95(0x106)]??_0x3e1a12[_0xf2fc95(0x106)];this[_0xf2fc95(0x122)](_0x2a6260);const _0x167c0a=this[_0xf2fc95(0x15a)][_0xf2fc95(0x116)](_0x2a6260)??0x97*0x1f+0xc0a+0x455*-0x7;if(_0x3e1a12[_0xf2fc95(0x1eb)]<=_0x167c0a)return undefined;if(_0x3e1a12[_0xf2fc95(0x1eb)]>_0x167c0a+(-0x1154*0x1+-0x2625+0x377a))throw new Error(_0xf2fc95(0xf3));const _0x444f72={'runId':_0x2a6260,'sequence':_0x3e1a12[_0xf2fc95(0x1eb)],'eventType':_0x3e1a12[_0xf2fc95(0x19d)],'payload':_0x3e1a12[_0xf2fc95(0x114)],..._0x3e1a12[_0xf2fc95(0x1a8)]===undefined?{}:{'status':_0x3e1a12[_0xf2fc95(0x1a8)]},'createdAt':this[_0xf2fc95(0xf6)]()};this[_0xf2fc95(0x15a)][_0xf2fc95(0x100)](_0x2a6260,_0x3e1a12[_0xf2fc95(0x1eb)]);if(_0x5c95eb!==undefined&&_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined){const _0x587b1e=executionStatusForRun(_0x3e1a12[_0xf2fc95(0x1a8)]);this[_0xf2fc95(0x162)][_0xf2fc95(0x100)](_0x3e1a12[_0xf2fc95(0x106)],{..._0x5c95eb,'status':_0x587b1e,'completedAt':terminal(_0x3e1a12[_0xf2fc95(0x1a8)])?_0x444f72[_0xf2fc95(0x10e)]:_0x5c95eb[_0xf2fc95(0x1f1)]});}if(_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined&&!terminal(_0x3e1a12[_0xf2fc95(0x1a8)]))this[_0xf2fc95(0xef)](_0x2a6260,_0x3e1a12[_0xf2fc95(0x1a8)]);this[_0xf2fc95(0x11b)](_0x444f72,_0x5c95eb?.[_0xf2fc95(0x126)]);if(_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined&&terminal(_0x3e1a12[_0xf2fc95(0x1a8)])&&_0x5c95eb!==undefined)this[_0xf2fc95(0x1be)](_0x5c95eb[_0xf2fc95(0x126)],_0x3e1a12[_0xf2fc95(0x1a8)],_0x444f72[_0xf2fc95(0x10e)]);return _0x444f72;}[_0x4cca08(0x155)](_0x36b541){const _0x276afe=_0x4cca08,_0xfac270=this[_0x276afe(0x123)](_0x36b541);if(_0xfac270===undefined)return undefined;for(const [_0xbb3f43,_0x59af30]of this[_0x276afe(0x162)])if(_0x59af30[_0x276afe(0x106)]===_0x36b541&&_0x59af30[_0x276afe(0x126)]===_0xfac270['id']&&!terminalExecution(_0x59af30[_0x276afe(0x1a8)]))return _0xbb3f43;return undefined;}[_0x4cca08(0x15f)](_0x46d91b){const _0xf8e533=_0x4cca08,_0x4d4954=this[_0xf8e533(0x146)](_0x46d91b),_0x31fa9f=this[_0xf8e533(0x123)](_0x4d4954);if(_0x31fa9f===undefined||_0x31fa9f[_0xf8e533(0x1a8)]!==_0xf8e533(0x1b3))throw new Error(_0xf8e533(0x16c));const _0x228be6=[...this[_0xf8e533(0x162)][_0xf8e533(0x119)]()][_0xf8e533(0xfc)](_0x1fd737=>_0x1fd737[_0xf8e533(0x106)]===_0x4d4954&&_0x1fd737[_0xf8e533(0x126)]===_0x31fa9f['id']);if(_0x228be6!==undefined)return _0x228be6;const _0x12c287=this[_0xf8e533(0xf6)](),_0x43bfd1={'id':randomUUID(),'runId':_0x4d4954,'turnId':_0x31fa9f['id'],'status':_0xf8e533(0x10d),'startedAt':_0x12c287,'completedAt':null};return this[_0xf8e533(0x162)][_0xf8e533(0x100)](_0x43bfd1['id'],_0x43bfd1),this[_0xf8e533(0x19a)](_0x4d4954,_0x3a3c55=>({..._0x3a3c55,'items':_0x3a3c55[_0xf8e533(0x18a)][_0xf8e533(0x1ca)](_0x86d5bd=>_0x86d5bd['id']===_0x3a3c55[_0xf8e533(0x1ba)]&&isRecord(_0x86d5bd[_0xf8e533(0x114)])&&Array[_0xf8e533(0xe8)](_0x86d5bd[_0xf8e533(0x114)][_0xf8e533(0x1f3)])?{..._0x86d5bd,'payload':{..._0x86d5bd[_0xf8e533(0x114)],'attachments':_0x86d5bd[_0xf8e533(0x114)][_0xf8e533(0x1f3)][_0xf8e533(0x1ca)](_0x5cd152=>isRecord(_0x5cd152)&&typeof _0x5cd152[_0xf8e533(0x197)]===_0xf8e533(0x1c1)?{..._0x5cd152,'runId':_0x43bfd1['id']}:_0x5cd152)}}:_0x86d5bd)})),_0x43bfd1;}[_0x4cca08(0x146)](_0x1ce4cb){const _0x454ba3=_0x4cca08;return this[_0x454ba3(0x162)][_0x454ba3(0x116)](_0x1ce4cb)?.[_0x454ba3(0x106)]??_0x1ce4cb;}[_0x4cca08(0x1ac)](_0x2e6b4c,_0x2e591e){const _0x2a1fe3=_0x4cca08;return this[_0x2a1fe3(0xef)](this[_0x2a1fe3(0x146)](_0x2e6b4c),_0x2e591e);}[_0x4cca08(0x183)](_0x51da4e){const _0x55eef5=_0x4cca08;this[_0x55eef5(0x10a)](_0x51da4e[_0x55eef5(0x139)]);const _0x10bcf2=[...this[_0x55eef5(0x11a)][_0x55eef5(0x116)](_0x51da4e[_0x55eef5(0x139)])??[]][_0x55eef5(0x1ca)]((_0x53e380,_0x450c71)=>({'turn':_0x53e380,'index':_0x450c71}))[_0x55eef5(0x1b4)]((_0x291900,_0x3160bd)=>{const _0x43f306=_0x55eef5,_0x5876a0=_0x4c7363=>_0x4c7363[_0x43f306(0x18a)][_0x43f306(0xfc)](_0x16881d=>_0x16881d['id']===_0x4c7363[_0x43f306(0x1ba)])?.[_0x43f306(0xed)]??_0x4c7363[_0x43f306(0xed)]??_0x4c7363[_0x43f306(0x1f1)]??0x1110+-0x50+-0x8*0x218;return _0x5876a0(_0x291900[_0x43f306(0x1a9)])-_0x5876a0(_0x3160bd[_0x43f306(0x1a9)])||_0x291900[_0x43f306(0x187)]-_0x3160bd[_0x43f306(0x187)];})[_0x55eef5(0x1ca)](({turn:_0x27d980})=>_0x27d980),_0x59e7df=_0x51da4e[_0x55eef5(0x145)]===undefined?_0x10bcf2[_0x55eef5(0xe7)]:decodeCursor(_0x51da4e[_0x55eef5(0x145)],_0x51da4e[_0x55eef5(0x139)]),_0x48d9a6=Math[_0x55eef5(0x1bc)](Math[_0x55eef5(0x1a3)](_0x51da4e[_0x55eef5(0x1bf)]??0x52f*-0x6+-0x1*0x6b3+-0x25eb*-0x1,-0x5e9+0x1*-0x9c1+0x539*0x3),0x1063+0x23de+0x4f*-0xa3),_0x23dab4=Math[_0x55eef5(0x1a3)](0xb1e*0x2+0xa04+0x56*-0x60,_0x59e7df-_0x48d9a6),_0x1142a9=_0x10bcf2[_0x55eef5(0x166)](_0x23dab4,_0x59e7df);return{'turns':_0x1142a9,'nextCursor':_0x23dab4>-0x193a+-0x1*0x259b+0x3ed5?encodeCursor(_0x51da4e[_0x55eef5(0x139)],_0x23dab4):null};}[_0x4cca08(0x16f)](_0x21c4a4){const _0x365718=_0x4cca08;for(const _0x36651b of this[_0x365718(0x11a)][_0x365718(0x119)]()){const _0x5aa2e7=_0x36651b[_0x365718(0x1af)](_0x29c0f8=>_0x29c0f8[_0x365718(0x106)]===this[_0x365718(0x146)](_0x21c4a4));if(_0x5aa2e7!==undefined)return _0x5aa2e7;}return undefined;}[_0x4cca08(0xf5)](_0x3dbc64){const _0x327335=_0x4cca08,_0x2fef01=this[_0x327335(0x162)][_0x327335(0x116)](_0x3dbc64),_0x54821d=_0x2fef01===undefined?this[_0x327335(0x193)][_0x327335(0x116)](_0x3dbc64):{'sessionId':this[_0x327335(0x122)](_0x2fef01[_0x327335(0x106)])[_0x327335(0x139)],'turnId':_0x2fef01[_0x327335(0x126)]};if(_0x54821d===undefined)return undefined;return(this[_0x327335(0x11a)][_0x327335(0x116)](_0x54821d[_0x327335(0x139)])??[])[_0x327335(0xfc)](_0x172c3f=>_0x172c3f['id']===_0x54821d[_0x327335(0x126)]);}[_0x4cca08(0x1ec)](_0x4d582a){const _0x3c758c=_0x4cca08,_0x169987=this[_0x3c758c(0x183)](_0x4d582a)[_0x3c758c(0x11a)];return{'items':_0x169987[_0x3c758c(0x170)](_0x2b091d=>_0x2b091d[_0x3c758c(0x18a)]),'nextCursor':null};}[_0x4cca08(0x1cd)](_0xca088b){const _0x5f0906=_0x4cca08,_0x550540=this[_0x5f0906(0x10a)](_0xca088b[_0x5f0906(0x139)]),_0x33f7be=this[_0x5f0906(0xf6)](),_0x4fe1f4={'id':randomUUID(),'sessionId':_0xca088b[_0x5f0906(0x139)],'turnId':'','runId':null,'parentItemId':null,'sourceSequence':null,'revision':0x1,'kind':_0x5f0906(0x1ad),'status':_0xca088b[_0x5f0906(0x14f)]?_0x5f0906(0x117):_0x5f0906(0x163),'payload':{'command':_0xca088b[_0x5f0906(0x1ee)],'cwd':_0xca088b[_0x5f0906(0x121)],'outputPreview':_0xca088b[_0x5f0906(0x1b5)][_0x5f0906(0x166)](-0x919+0x256a+0x293*-0xb,0x25c*0x2+-0x8*0x23c+0x3438),'outputRef':null,'exitCode':_0xca088b[_0x5f0906(0x14f)]?-0xd*0x2d9+0x3e*0x74+0x8ee:-0x7f*0x31+0x14a1*0x1+0x1*0x3ae,'durationMs':0x0,'truncated':![]},'startedAt':_0x33f7be,'completedAt':_0x33f7be},_0x2e30c0={'id':randomUUID(),'sessionId':_0xca088b[_0x5f0906(0x139)],'runId':null,'userItemId':null,'status':_0xca088b[_0x5f0906(0x14f)]?_0x5f0906(0x117):_0x5f0906(0x17b),'model':_0x550540[_0x5f0906(0x19f)],'effort':_0x550540[_0x5f0906(0x1f2)],'access':_0x550540[_0x5f0906(0x179)],'items':[],'startedAt':_0x33f7be,'completedAt':_0x33f7be},_0x36c9ca={..._0x4fe1f4,'turnId':_0x2e30c0['id']},_0x5a2a8b={..._0x2e30c0,'items':[_0x36c9ca]};return this[_0x5f0906(0x11a)][_0x5f0906(0x100)](_0xca088b[_0x5f0906(0x139)],[...this[_0x5f0906(0x11a)][_0x5f0906(0x116)](_0xca088b[_0x5f0906(0x139)])??[],_0x5a2a8b]),this[_0x5f0906(0x102)](_0x550540['id'],{'lastActivityAt':_0x33f7be}),_0x5a2a8b;}[_0x4cca08(0x164)](_0x2c303c){const _0x351f3c=_0x4cca08,_0x14920a=this[_0x351f3c(0x184)](_0x2c303c[_0x351f3c(0x106)]);if(_0x14920a===undefined)throw new Error(_0x351f3c(0x1c3));if(_0x2c303c[_0x351f3c(0x106)]!==_0x14920a['id']&&this[_0x351f3c(0x155)](_0x14920a['id'])!==_0x2c303c[_0x351f3c(0x106)])throw new Error(_0x351f3c(0x18b));if(this[_0x351f3c(0x16a)][_0x351f3c(0xfb)](_0x2c303c[_0x351f3c(0x1fe)]))throw new Error(_0x351f3c(0x109));if(_0x2c303c[_0x351f3c(0x1e7)]<=this[_0x351f3c(0xf6)]())throw new Error(_0x351f3c(0x1b1));const _0x3d8385={'id':_0x2c303c[_0x351f3c(0x1fe)],'runId':_0x2c303c[_0x351f3c(0x106)],'status':_0x351f3c(0x199),'payload':_0x2c303c[_0x351f3c(0x114)],'expiresAt':_0x2c303c[_0x351f3c(0x1e7)],'createdAt':this[_0x351f3c(0xf6)](),'decidedAt':null};return this[_0x351f3c(0x16a)][_0x351f3c(0x100)](_0x3d8385['id'],_0x3d8385),_0x3d8385;}[_0x4cca08(0x18d)](_0x721ea4){const _0x3f72a1=_0x4cca08,_0x2c6a1f=this[_0x3f72a1(0x16a)][_0x3f72a1(0x116)](_0x721ea4);if(_0x2c6a1f?.[_0x3f72a1(0x1a8)]===_0x3f72a1(0x199)&&_0x2c6a1f[_0x3f72a1(0x1e7)]<=this[_0x3f72a1(0xf6)]())return this[_0x3f72a1(0x1e6)](_0x721ea4);return _0x2c6a1f;}[_0x4cca08(0x1f8)](_0xc66a05){const _0x3a4746=_0x4cca08,_0xd4645d=this[_0x3a4746(0x146)](_0xc66a05);return[...this[_0x3a4746(0x16a)][_0x3a4746(0x119)]()][_0x3a4746(0xee)](_0xe047b6=>this[_0x3a4746(0x146)](_0xe047b6[_0x3a4746(0x106)])===_0xd4645d)[_0x3a4746(0x1ca)](_0x1f558f=>this[_0x3a4746(0x18d)](_0x1f558f['id']));}[_0x4cca08(0x1e6)](_0x4484c3){const _0xd898fc=_0x4cca08,_0xba5340=this[_0xd898fc(0x141)](_0x4484c3);if(_0xba5340[_0xd898fc(0x1a8)]!==_0xd898fc(0x199))return _0xba5340;if(_0xba5340[_0xd898fc(0x1e7)]>this[_0xd898fc(0xf6)]())throw new Error(_0xd898fc(0x185));const _0x3cb39e={..._0xba5340,'status':_0xd898fc(0x1dd),'decidedAt':this[_0xd898fc(0xf6)]()};return this[_0xd898fc(0x16a)][_0xd898fc(0x100)](_0x4484c3,_0x3cb39e),_0x3cb39e;}[_0x4cca08(0x16b)](_0x28b9d1,_0x1d0a03){const _0x1824d6=_0x4cca08,_0x42546f=this[_0x1824d6(0x18d)](_0x28b9d1);if(_0x42546f===undefined)throw new Error(_0x1824d6(0x1c5));if(_0x42546f[_0x1824d6(0x1a8)]===_0x1824d6(0x1dd))throw new Error(_0x1824d6(0x1b1));if(_0x42546f[_0x1824d6(0x1a8)]!==_0x1824d6(0x199))throw new Error(_0x1824d6(0x181));const _0x573058={..._0x42546f,'status':_0x1d0a03,'decidedAt':this[_0x1824d6(0xf6)]()};return this[_0x1824d6(0x16a)][_0x1824d6(0x100)](_0x28b9d1,_0x573058),_0x573058;}[_0x4cca08(0x161)](){const _0x3b6554=_0x4cca08;return[...this[_0x3b6554(0x16a)][_0x3b6554(0x119)]()][_0x3b6554(0xee)](_0x4ff301=>_0x4ff301[_0x3b6554(0x1a8)]===_0x3b6554(0x199)&&_0x4ff301[_0x3b6554(0x1e7)]<=this[_0x3b6554(0xf6)]())[_0x3b6554(0x1ca)](_0x4d234f=>this[_0x3b6554(0x1e6)](_0x4d234f['id']));}[_0x4cca08(0x128)](){const _0x4ae18e=_0x4cca08;return[...this[_0x4ae18e(0x13c)][_0x4ae18e(0x119)]()][_0x4ae18e(0xee)](_0x150944=>!terminal(_0x150944[_0x4ae18e(0x1a8)]));}[_0x4cca08(0x103)](_0x28d95b){const _0x9256cb=_0x4cca08;return this[_0x9256cb(0x15a)][_0x9256cb(0x116)](_0x28d95b)??0x1fd0+-0x89b+0x1*-0x1735;}[_0x4cca08(0x192)](_0x5d55eb){const _0x14c0e3=_0x4cca08,_0xa2c68e=this[_0x14c0e3(0x122)](_0x5d55eb);if(!terminal(_0xa2c68e[_0x14c0e3(0x1a8)]))throw new Error(_0x14c0e3(0x1e0));this[_0x14c0e3(0x1b9)][_0x14c0e3(0x189)](_0x5d55eb);if(this[_0x14c0e3(0x1b9)][_0x14c0e3(0x1da)]>0xa4*0xd+-0x1f3*-0xb+-0x19c5*0x1)this[_0x14c0e3(0x1b9)][_0x14c0e3(0x12d)](this[_0x14c0e3(0x1b9)][_0x14c0e3(0x119)]()[_0x14c0e3(0x17a)]()[_0x14c0e3(0x11d)]);const _0x4e3eea=new Set([...this[_0x14c0e3(0x162)][_0x14c0e3(0x119)]()][_0x14c0e3(0xee)](_0x282006=>_0x282006[_0x14c0e3(0x106)]===_0x5d55eb)[_0x14c0e3(0x1ca)](_0x4aca17=>_0x4aca17['id'])),_0x1b6155=(this[_0x14c0e3(0x11a)][_0x14c0e3(0x116)](_0xa2c68e[_0x14c0e3(0x139)])??[])[_0x14c0e3(0xee)](_0x988d96=>{const _0x1db15e=_0x14c0e3,_0x5513bd=_0x988d96[_0x1db15e(0x18a)][_0x1db15e(0xf7)](_0x9698da=>_0x9698da[_0x1db15e(0x158)]===_0x1db15e(0x1e5));if(_0x988d96[_0x1db15e(0x106)]===_0x5d55eb)return _0xa2c68e[_0x1db15e(0x1a8)]===_0x1db15e(0x17b)||_0xa2c68e[_0x1db15e(0x1a8)]===_0x1db15e(0x1ae)||_0x5513bd;const _0x10267d=_0x5513bd&&_0x988d96[_0x1db15e(0x1a8)]!==_0x1db15e(0x17b)&&_0x988d96[_0x1db15e(0x1a8)]!==_0x1db15e(0x1ae);return _0xa2c68e[_0x1db15e(0x1a8)]!==_0x1db15e(0x17b)||!_0x10267d;}),_0x3f9c52=_0x1b6155[_0x14c0e3(0xee)](_0x45807b=>terminalTurn(_0x45807b[_0x14c0e3(0x1a8)])),_0x398aba=new Set(_0x3f9c52[_0x14c0e3(0x166)](-NodeRuntimeState[_0x14c0e3(0x1ef)])[_0x14c0e3(0x1ca)](_0x3d0ef5=>_0x3d0ef5['id'])),_0x28511f=_0x1b6155[_0x14c0e3(0xee)](_0x5da85f=>!terminalTurn(_0x5da85f[_0x14c0e3(0x1a8)])||_0x398aba[_0x14c0e3(0xfb)](_0x5da85f['id'])),_0x3af322=new Set(_0x28511f[_0x14c0e3(0x1ca)](_0x21c70f=>_0x21c70f['id']));this[_0x14c0e3(0x11a)][_0x14c0e3(0x100)](_0xa2c68e[_0x14c0e3(0x139)],_0x28511f);for(const [_0x124801,_0x3d9f94]of this[_0x14c0e3(0x162)]){if(_0x3d9f94[_0x14c0e3(0x106)]!==_0x5d55eb)continue;this[_0x14c0e3(0x162)][_0x14c0e3(0x12d)](_0x124801);if(_0x3af322[_0x14c0e3(0xfb)](_0x3d9f94[_0x14c0e3(0x126)]))this[_0x14c0e3(0x193)][_0x14c0e3(0x100)](_0x124801,{'sessionId':_0xa2c68e[_0x14c0e3(0x139)],'turnId':_0x3d9f94[_0x14c0e3(0x126)]});}this[_0x14c0e3(0x1f9)](_0xa2c68e[_0x14c0e3(0x139)],_0x3af322),this[_0x14c0e3(0x13c)][_0x14c0e3(0x12d)](_0x5d55eb),this[_0x14c0e3(0x15a)][_0x14c0e3(0x12d)](_0x5d55eb);for(const [_0x1b5f41,_0x18395b]of this[_0x14c0e3(0x196)])if(_0x18395b[_0x14c0e3(0x158)]===_0x14c0e3(0x129)&&_0x18395b['id']===_0x5d55eb)this[_0x14c0e3(0x196)][_0x14c0e3(0x12d)](_0x1b5f41);for(const [_0x258044,_0x4962fc]of this[_0x14c0e3(0x16a)])if(_0x4962fc[_0x14c0e3(0x106)]===_0x5d55eb||_0x4e3eea[_0x14c0e3(0xfb)](_0x4962fc[_0x14c0e3(0x106)]))this[_0x14c0e3(0x16a)][_0x14c0e3(0x12d)](_0x258044);}[_0x4cca08(0x12e)](_0x32ecad){const _0x9da812=_0x4cca08;return[...this[_0x9da812(0x1c7)][_0x9da812(0x119)]()][_0x9da812(0x1ca)](_0x22124c=>this[_0x9da812(0x13c)][_0x9da812(0x116)](_0x22124c))[_0x9da812(0xf7)](_0x543e99=>_0x543e99?.[_0x9da812(0x194)]===_0x32ecad);}[_0x4cca08(0x15e)](_0x3a4f6f){const _0x5942e7=_0x4cca08;this[_0x5942e7(0x10a)](_0x3a4f6f);const _0x45948b=this[_0x5942e7(0xeb)](_0x3a4f6f);if(_0x45948b[_0x5942e7(0xf7)](_0x28034d=>!terminal(_0x28034d[_0x5942e7(0x1a8)])))throw new Error(_0x5942e7(0x1f6));const _0x555662=new Set(_0x45948b[_0x5942e7(0x1ca)](_0x1b5dfa=>_0x1b5dfa['id'])),_0x18a757=new Set([...this[_0x5942e7(0x162)][_0x5942e7(0x119)]()][_0x5942e7(0xee)](_0x3a7d2b=>_0x555662[_0x5942e7(0xfb)](_0x3a7d2b[_0x5942e7(0x106)]))[_0x5942e7(0x1ca)](_0x50cc82=>_0x50cc82['id']));this[_0x5942e7(0x1c4)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x11a)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x1f9)](_0x3a4f6f,new Set());const _0x392ea1=this[_0x5942e7(0xff)][_0x5942e7(0x116)](_0x3a4f6f)??[];this[_0x5942e7(0xff)][_0x5942e7(0x12d)](_0x3a4f6f);for(const _0x51895f of _0x392ea1)this[_0x5942e7(0x113)][_0x5942e7(0x12d)](_0x51895f);this[_0x5942e7(0x173)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x14a)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x1c7)][_0x5942e7(0x12d)](_0x3a4f6f);for(const _0x32bb1d of _0x555662){this[_0x5942e7(0x13c)][_0x5942e7(0x12d)](_0x32bb1d),this[_0x5942e7(0x15a)][_0x5942e7(0x12d)](_0x32bb1d);}for(const _0x5658e8 of _0x18a757)this[_0x5942e7(0x162)][_0x5942e7(0x12d)](_0x5658e8);for(const [_0x454e67,_0x467e11]of this[_0x5942e7(0x196)])if(_0x467e11[_0x5942e7(0x158)]===_0x5942e7(0x129)&&_0x555662[_0x5942e7(0xfb)](_0x467e11['id'])||_0x467e11[_0x5942e7(0x158)]===_0x5942e7(0x1b2)&&_0x392ea1[_0x5942e7(0x1d9)](_0x467e11['id']))this[_0x5942e7(0x196)][_0x5942e7(0x12d)](_0x454e67);for(const _0x2826b9 of this[_0x5942e7(0x1fa)][_0x5942e7(0x180)]())if(_0x2826b9[_0x5942e7(0x1c0)](_0x3a4f6f+'\x00'))this[_0x5942e7(0x1fa)][_0x5942e7(0x12d)](_0x2826b9);for(const [_0x228c97,_0x20129a]of this[_0x5942e7(0x16a)])if(_0x555662[_0x5942e7(0xfb)](_0x20129a[_0x5942e7(0x106)])||_0x18a757[_0x5942e7(0xfb)](_0x20129a[_0x5942e7(0x106)]))this[_0x5942e7(0x16a)][_0x5942e7(0x12d)](_0x228c97);}[_0x4cca08(0x133)](_0x5b4589){const _0x5b2685=_0x4cca08;if(this[_0x5b2685(0x12e)](_0x5b4589))throw new Error(_0x5b2685(0xfa));const _0x4e410a=new Set([...this[_0x5b2685(0x1c4)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x537e84=>_0x537e84[_0x5b2685(0x194)]===_0x5b4589)[_0x5b2685(0x1ca)](_0x43bc2e=>_0x43bc2e['id'])),_0x1da4f2=new Set([...this[_0x5b2685(0x13c)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x280381=>_0x280381[_0x5b2685(0x194)]===_0x5b4589)[_0x5b2685(0x1ca)](_0x51eb08=>_0x51eb08['id'])),_0x321afa=new Set([...this[_0x5b2685(0x162)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x4e3c88=>_0x1da4f2[_0x5b2685(0xfb)](_0x4e3c88[_0x5b2685(0x106)]))[_0x5b2685(0x1ca)](_0x197232=>_0x197232['id'])),_0x2d5ced=new Set([..._0x4e410a][_0x5b2685(0x170)](_0x491608=>this[_0x5b2685(0xff)][_0x5b2685(0x116)](_0x491608)??[]));for(const _0x48ff8e of _0x4e410a){this[_0x5b2685(0x1c4)][_0x5b2685(0x12d)](_0x48ff8e),this[_0x5b2685(0x11a)][_0x5b2685(0x12d)](_0x48ff8e),this[_0x5b2685(0x1f9)](_0x48ff8e,new Set());}for(const _0x361691 of _0x1da4f2){this[_0x5b2685(0x13c)][_0x5b2685(0x12d)](_0x361691),this[_0x5b2685(0x15a)][_0x5b2685(0x12d)](_0x361691);}for(const _0x4262b4 of _0x321afa)this[_0x5b2685(0x162)][_0x5b2685(0x12d)](_0x4262b4);for(const [_0x1670b1,_0x3c5fe2]of this[_0x5b2685(0x196)])if(_0x3c5fe2[_0x5b2685(0x158)]===_0x5b2685(0x129)&&_0x1da4f2[_0x5b2685(0xfb)](_0x3c5fe2['id'])||_0x3c5fe2[_0x5b2685(0x158)]===_0x5b2685(0x1b2)&&_0x2d5ced[_0x5b2685(0xfb)](_0x3c5fe2['id']))this[_0x5b2685(0x196)][_0x5b2685(0x12d)](_0x1670b1);for(const _0x1f556f of this[_0x5b2685(0x1fa)][_0x5b2685(0x180)]()){const _0x66b949=_0x1f556f[_0x5b2685(0x1c8)]('\u0000');if(_0x66b949>=0x1971+0x2*0x92a+-0x2bc5&&_0x4e410a[_0x5b2685(0xfb)](_0x1f556f[_0x5b2685(0x166)](0x1cd6+-0x1*0xc95+-0x1041,_0x66b949)))this[_0x5b2685(0x1fa)][_0x5b2685(0x12d)](_0x1f556f);}for(const [_0x5e8b79,_0xcc7c41]of this[_0x5b2685(0x16a)])if(_0x1da4f2[_0x5b2685(0xfb)](_0xcc7c41[_0x5b2685(0x106)])||_0x321afa[_0x5b2685(0xfb)](_0xcc7c41[_0x5b2685(0x106)]))this[_0x5b2685(0x16a)][_0x5b2685(0x12d)](_0x5e8b79);for(const _0x53b426 of _0x4e410a){const _0x139255=this[_0x5b2685(0xff)][_0x5b2685(0x116)](_0x53b426)??[];this[_0x5b2685(0xff)][_0x5b2685(0x12d)](_0x53b426);for(const _0x1922b7 of _0x139255)this[_0x5b2685(0x113)][_0x5b2685(0x12d)](_0x1922b7);this[_0x5b2685(0x173)][_0x5b2685(0x12d)](_0x53b426),this[_0x5b2685(0x14a)][_0x5b2685(0x12d)](_0x53b426),this[_0x5b2685(0x1c7)][_0x5b2685(0x12d)](_0x53b426);}}[_0x4cca08(0x151)](_0x2f2357,_0x40e99a){void _0x2f2357,void _0x40e99a;}[_0x4cca08(0x102)](_0x5d6f92,_0xd05303){const _0x304c77=_0x4cca08,_0x58f18e=this[_0x304c77(0x10a)](_0x5d6f92),_0x173893={..._0x58f18e,..._0xd05303};this[_0x304c77(0x1c4)][_0x304c77(0x100)](_0x5d6f92,_0x173893);if(_0x58f18e[_0x304c77(0x1a0)]!==_0x173893[_0x304c77(0x1a0)]||_0x58f18e[_0x304c77(0x1aa)]!==_0x173893[_0x304c77(0x1aa)]){for(const _0x2eabf7 of this[_0x304c77(0xeb)](_0x5d6f92))this[_0x304c77(0x1e1)](_0x2eabf7,_0x173893);}return _0x173893;}[_0x4cca08(0x1e1)](_0x36c88f,_0x52399c){const _0x59ce3d=_0x4cca08,_0x37861e=this[_0x59ce3d(0xf0)](_0x36c88f['id']);this[_0x59ce3d(0x10f)]?.(_0x36c88f,_0x52399c,_0x37861e[_0x59ce3d(0xe7)]===0x5*-0x375+0x247*0x5+0x5e6*0x1?undefined:_0x37861e);}[_0x4cca08(0x177)](_0x21a421){const _0x48e1fd=_0x4cca08;this[_0x48e1fd(0x173)][_0x48e1fd(0x100)](_0x21a421,(this[_0x48e1fd(0x173)][_0x48e1fd(0x116)](_0x21a421)??0xa34*0x2+0x322+0x83*-0x2e)+(0x10af+-0x5d4+0x3*-0x39e));}[_0x4cca08(0x1f9)](_0xeb4920,_0x42ac92){const _0x510ab6=_0x4cca08;for(const [_0x2d4f2a,_0x1a30a8]of this[_0x510ab6(0x193)])if(_0x1a30a8[_0x510ab6(0x139)]===_0xeb4920&&!_0x42ac92[_0x510ab6(0xfb)](_0x1a30a8[_0x510ab6(0x126)]))this[_0x510ab6(0x193)][_0x510ab6(0x12d)](_0x2d4f2a);}[_0x4cca08(0x10a)](_0x34ea26){const _0x2cceba=_0x4cca08,_0x3c22b9=this[_0x2cceba(0x1c4)][_0x2cceba(0x116)](_0x34ea26);if(_0x3c22b9===undefined)throw new Error(_0x2cceba(0x190));return _0x3c22b9;}[_0x4cca08(0x122)](_0x1516ce){const _0x28f074=_0x4cca08,_0x1955e5=this[_0x28f074(0x13c)][_0x28f074(0x116)](_0x1516ce);if(_0x1955e5===undefined)throw new Error(_0x28f074(0x1c3));return _0x1955e5;}[_0x4cca08(0x17c)](_0x12ad5a){const _0x2d0906=_0x4cca08,_0x2378af=this[_0x2d0906(0x113)][_0x2d0906(0x116)](_0x12ad5a);if(_0x2378af===undefined)throw new Error(_0x2d0906(0x1d8));return _0x2378af;}[_0x4cca08(0x141)](_0x557648){const _0x1494ef=_0x4cca08,_0x13f5af=this[_0x1494ef(0x16a)][_0x1494ef(0x116)](_0x557648);if(_0x13f5af===undefined)throw new Error(_0x1494ef(0x1c5));return _0x13f5af;}[_0x4cca08(0x14c)](_0x109ee1,_0x2880b0){const _0x527f01=_0x4cca08,_0x113ed5=this[_0x527f01(0x122)](_0x109ee1),_0x522ad4=this[_0x527f01(0x11a)][_0x527f01(0x116)](_0x113ed5[_0x527f01(0x139)])??[];this[_0x527f01(0x11a)][_0x527f01(0x100)](_0x113ed5[_0x527f01(0x139)],_0x522ad4[_0x527f01(0x1ca)](_0x355f12=>_0x355f12[_0x527f01(0x106)]===_0x109ee1?_0x2880b0(_0x355f12):_0x355f12));}[_0x4cca08(0x19a)](_0x4f5ba4,_0x5f2dcc){const _0x5cd149=_0x4cca08,_0x581c12=this[_0x5cd149(0x122)](_0x4f5ba4),_0x1dfa34=this[_0x5cd149(0x11a)][_0x5cd149(0x116)](_0x581c12[_0x5cd149(0x139)])??[],_0x215c38=_0x1dfa34[_0x5cd149(0xf1)](_0x45874f=>_0x45874f[_0x5cd149(0x106)]===_0x4f5ba4);if(_0x215c38<-0x4*0x84f+0x4*0x51+-0x84*-0x3e)return;this[_0x5cd149(0x11a)][_0x5cd149(0x100)](_0x581c12[_0x5cd149(0x139)],_0x1dfa34[_0x5cd149(0x1ca)]((_0x485acb,_0x5976ca)=>_0x5976ca===_0x215c38?_0x5f2dcc(_0x485acb):_0x485acb));}[_0x4cca08(0x123)](_0x5b3732){const _0x12a815=_0x4cca08,_0x2b07de=this[_0x12a815(0x122)](_0x5b3732);return(this[_0x12a815(0x11a)][_0x12a815(0x116)](_0x2b07de[_0x12a815(0x139)])??[])[_0x12a815(0x1af)](_0x515de6=>_0x515de6[_0x12a815(0x106)]===_0x5b3732);}[_0x4cca08(0x125)](_0x224e98,_0x53ea8c,_0x39f74e,_0x4f5cd8){const _0x2a437a=_0x4cca08,_0x401f1c=this[_0x2a437a(0x10a)](_0x224e98[_0x2a437a(0x139)]),_0x42e9cd=this[_0x2a437a(0xf6)](),_0x2097c3=randomUUID(),_0x457095=randomUUID(),_0x5558ee={'id':_0x457095,'sessionId':_0x401f1c['id'],'turnId':_0x2097c3,'runId':_0x224e98['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x2a437a(0x138),'status':_0x2a437a(0x163),'payload':{'clientMessageId':_0x53ea8c,'text':_0x39f74e,'contexts':[],'attachments':this[_0x2a437a(0x160)](_0x224e98['id'],_0x4f5cd8),'delivery':_0x2a437a(0x1a2)},'startedAt':_0x42e9cd,'completedAt':_0x42e9cd},_0x4df277={'id':_0x2097c3,'sessionId':_0x401f1c['id'],'runId':_0x224e98['id'],'userItemId':_0x457095,'status':_0x2a437a(0x1b3),'model':_0x401f1c[_0x2a437a(0x19f)],'effort':_0x401f1c[_0x2a437a(0x1f2)],'access':_0x401f1c[_0x2a437a(0x179)],'items':[_0x5558ee],'startedAt':_0x42e9cd,'completedAt':null};return this[_0x2a437a(0x11a)][_0x2a437a(0x100)](_0x401f1c['id'],[...this[_0x2a437a(0x11a)][_0x2a437a(0x116)](_0x401f1c['id'])??[],_0x4df277]),this[_0x2a437a(0x102)](_0x401f1c['id'],{'lastActivityAt':_0x42e9cd}),_0x4df277;}[_0x4cca08(0x160)](_0x3dce94,_0x4ac1d8){const _0x34d27c=_0x4cca08;let _0x24de38=0xa71+0xb*0x17+0x9a*-0x13;return _0x4ac1d8[_0x34d27c(0x1ca)](({name:_0x55145e,mime:_0x22c192,dataBase64:_0x293ddd})=>{const _0x5deb25=_0x34d27c,_0x2b8a4e={'name':_0x55145e,'mime':_0x22c192,'byteSize':Buffer[_0x5deb25(0x13f)](_0x293ddd,_0x5deb25(0x1c6)),'runId':_0x3dce94};if(!_0x22c192[_0x5deb25(0x1c0)](_0x5deb25(0x19b)))return _0x2b8a4e;return{..._0x2b8a4e,'imageIndex':_0x24de38++};});}[_0x4cca08(0x1be)](_0x2732d2,_0x2b5405,_0xf35638){const _0x7c4126=_0x4cca08;for(const [_0x39b734,_0x36790f]of this[_0x7c4126(0x11a)]){if(!_0x36790f[_0x7c4126(0xf7)](_0x20327d=>_0x20327d['id']===_0x2732d2))continue;this[_0x7c4126(0x11a)][_0x7c4126(0x100)](_0x39b734,_0x36790f[_0x7c4126(0x1ca)](_0x10544d=>_0x10544d['id']===_0x2732d2?{..._0x10544d,'status':_0x2b5405,'completedAt':_0xf35638,'items':_0x10544d[_0x7c4126(0x18a)][_0x7c4126(0x1ca)](_0xb753ff=>activeConversationItem(_0xb753ff[_0x7c4126(0x1a8)])?{..._0xb753ff,'status':completedStatusForRun(_0x2b5405),'completedAt':_0xf35638}:_0xb753ff)}:_0x10544d));return;}}[_0x4cca08(0x11b)](_0x22cee1,_0x2169d5){const _0x3a2e66=_0x4cca08,_0x465300=this[_0x3a2e66(0x122)](_0x22cee1[_0x3a2e66(0x106)]),_0x2f326c=_0x7fb844=>{const _0x4e87d9=_0x3a2e66;if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x167)&&isRecord(_0x22cee1[_0x4e87d9(0x114)])&&typeof _0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x124)]===_0x4e87d9(0xf8)){const _0x36bf7e=typeof _0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)]===_0x4e87d9(0xf8)&&_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)][_0x4e87d9(0xe7)]<=-0xf8*-0x1f+0x1*0x1173+-0x2f23?_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)]:undefined,_0x5f4b95=_0x36bf7e===undefined?undefined:_0x22cee1[_0x4e87d9(0x106)]+':'+_0x36bf7e,_0x168310=_0x7fb844[_0x4e87d9(0x18a)]['at'](-(-0x1c13*0x1+0x26dd+-0xac9)),_0x1b8aeb=_0x5f4b95===undefined?_0x168310?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&activeConversationItem(_0x168310[_0x4e87d9(0x1a8)])?_0x168310:undefined:_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0xfc)](_0x2fc15a=>_0x2fc15a['id']===_0x5f4b95&&_0x2fc15a[_0x4e87d9(0x158)]===_0x4e87d9(0xec)),_0x3aae1e=''+(_0x1b8aeb===undefined?'':readableText(_0x1b8aeb[_0x4e87d9(0x114)]))+_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x124)],_0x450c9c={'id':_0x1b8aeb?.['id']??_0x5f4b95??_0x22cee1[_0x4e87d9(0x106)]+_0x4e87d9(0x188)+_0x22cee1[_0x4e87d9(0x1eb)],'sessionId':_0x465300[_0x4e87d9(0x139)],'turnId':_0x7fb844['id'],'runId':_0x22cee1[_0x4e87d9(0x106)],'parentItemId':null,'sourceSequence':_0x1b8aeb?.[_0x4e87d9(0x148)]??_0x22cee1[_0x4e87d9(0x1eb)],'revision':_0x22cee1[_0x4e87d9(0x1eb)],'kind':_0x4e87d9(0xec),'status':_0x4e87d9(0x142),'payload':{'text':_0x3aae1e,'format':_0x4e87d9(0xfe),'model':null},'startedAt':_0x1b8aeb?.[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'completedAt':null};return{..._0x7fb844,'status':_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'items':_0x1b8aeb===undefined?[..._0x7fb844[_0x4e87d9(0x18a)],_0x450c9c]:_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0x369e67=>_0x369e67['id']===_0x450c9c['id']?_0x450c9c:_0x369e67)};}const _0x253c3f=conversationItemFromEvent(_0x22cee1);if(_0x253c3f!==undefined){const _0x4afeee=_0x7fb844[_0x4e87d9(0x18a)]['at'](-(-0x3*0x331+-0x490+0xe24)),_0x221bcb=_0x4afeee?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&activeConversationItem(_0x4afeee[_0x4e87d9(0x1a8)])?_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0x388cf9=>_0x388cf9['id']===_0x4afeee['id']?{..._0x388cf9,'status':_0x4e87d9(0x163),'completedAt':_0x22cee1[_0x4e87d9(0x10e)]}:_0x388cf9):_0x7fb844[_0x4e87d9(0x18a)],_0x271d81=_0x221bcb[_0x4e87d9(0xfc)](_0x4b562c=>_0x4b562c['id']===_0x22cee1[_0x4e87d9(0x106)]+':'+_0x253c3f[_0x4e87d9(0x147)])??(_0x253c3f[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&_0x253c3f[_0x4e87d9(0x147)][_0x4e87d9(0x1c0)](_0x4e87d9(0x1b7))&&_0x4afeee?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&_0x4afeee['id'][_0x4e87d9(0x1c0)](_0x22cee1[_0x4e87d9(0x106)]+_0x4e87d9(0x188))&&activeConversationItem(_0x4afeee[_0x4e87d9(0x1a8)])?_0x4afeee:undefined),_0x1526e8=_0x253c3f[_0x4e87d9(0x1a8)],_0x113a1c={'id':_0x22cee1[_0x4e87d9(0x106)]+':'+_0x253c3f[_0x4e87d9(0x147)],'sessionId':_0x465300[_0x4e87d9(0x139)],'turnId':_0x7fb844['id'],'runId':_0x22cee1[_0x4e87d9(0x106)],'parentItemId':null,'sourceSequence':_0x271d81?.[_0x4e87d9(0x148)]??_0x22cee1[_0x4e87d9(0x1eb)],'revision':(_0x271d81?.[_0x4e87d9(0x107)]??-(0x1470+0xc*-0x73+0xf0b*-0x1))+(0xe*0x194+-0xd98+-0x87f),'kind':_0x253c3f[_0x4e87d9(0x158)],'status':_0x1526e8,'payload':mergeConversationItemPayload(_0x271d81?.[_0x4e87d9(0x114)],_0x253c3f),'startedAt':_0x271d81?.[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'completedAt':completedConversationItem(_0x1526e8)?_0x22cee1[_0x4e87d9(0x10e)]:null};return{..._0x7fb844,'status':terminal(_0x465300[_0x4e87d9(0x1a8)])?_0x465300[_0x4e87d9(0x1a8)]:_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'items':_0x271d81===undefined?[..._0x221bcb,_0x113a1c]:_0x221bcb[_0x4e87d9(0x1ca)](_0x5a2104=>_0x5a2104['id']===_0x271d81['id']?_0x113a1c:_0x5a2104)};}if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0xf4)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1a1))return{..._0x7fb844,'status':_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)]};if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1d4)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1ab)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x10c))return{..._0x7fb844,'status':this[_0x4e87d9(0x122)](_0x22cee1[_0x4e87d9(0x106)])[_0x4e87d9(0x1a8)],'completedAt':_0x22cee1[_0x4e87d9(0x10e)],'items':_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0xb0d898=>activeConversationItem(_0xb0d898[_0x4e87d9(0x1a8)])?{..._0xb0d898,'status':completedStatusForRun(this[_0x4e87d9(0x122)](_0x22cee1[_0x4e87d9(0x106)])[_0x4e87d9(0x1a8)]),'completedAt':_0x22cee1[_0x4e87d9(0x10e)]}:_0xb0d898)};return _0x7fb844;};if(_0x2169d5===undefined)this[_0x3a2e66(0x19a)](_0x22cee1[_0x3a2e66(0x106)],_0x2f326c);else{const _0x728a9d=this[_0x3a2e66(0x11a)][_0x3a2e66(0x116)](_0x465300[_0x3a2e66(0x139)])??[];this[_0x3a2e66(0x11a)][_0x3a2e66(0x100)](_0x465300[_0x3a2e66(0x139)],_0x728a9d[_0x3a2e66(0x1ca)](_0x2f977e=>_0x2f977e['id']===_0x2169d5?_0x2f326c(_0x2f977e):_0x2f977e));}}}function terminal(_0x2d0f0e){const _0x3c86f7=_0x4cca08;return[_0x3c86f7(0x17b),_0x3c86f7(0x117),_0x3c86f7(0x105),_0x3c86f7(0x1ae),_0x3c86f7(0x171)][_0x3c86f7(0x1d9)](_0x2d0f0e);}function terminalTurn(_0x11cf83){const _0x53030d=_0x4cca08;return[_0x53030d(0x17b),_0x53030d(0x117),_0x53030d(0x105),_0x53030d(0x1ae),_0x53030d(0x171)][_0x53030d(0x1d9)](_0x11cf83);}function transitionAllowed(_0x3012ce,_0x23ca3b){return!terminal(_0x3012ce)||_0x3012ce===_0x23ca3b;}function isRecord(_0x1a3d00){const _0x18956d=_0x4cca08;return typeof _0x1a3d00===_0x18956d(0x136)&&_0x1a3d00!==null;}function readableText(_0x40f70e){const _0x4f5327=_0x4cca08;return isRecord(_0x40f70e)&&typeof _0x40f70e[_0x4f5327(0x124)]===_0x4f5327(0xf8)?_0x40f70e[_0x4f5327(0x124)]:'';}function conversationItemFromEvent(_0x49ee7f){const _0x48f3b3=_0x4cca08;if(isRecord(_0x49ee7f[_0x48f3b3(0x114)])){const _0x5da640=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1fe)];if(typeof _0x5da640===_0x48f3b3(0xf8)&&_0x5da640[_0x48f3b3(0xe7)]>-0x987*0x3+-0xe67*-0x2+0x1*-0x39){if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x175))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0x48f3b3(0x199),'payload':{'approvalId':_0x5da640,'approvalStatus':_0x48f3b3(0x199),'approval':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x114)],'expiresAt':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1e7)]},'merge':![]};if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x159)){const _0xbdd78b=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1e8)];if(_0xbdd78b===_0x48f3b3(0x1f0)||_0xbdd78b===_0x48f3b3(0x11f))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0xbdd78b===_0x48f3b3(0x1f0)?_0x48f3b3(0x163):_0x48f3b3(0x1df),'payload':{'approvalId':_0x5da640,'approvalStatus':_0xbdd78b},'merge':!![]};}if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x1f5))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0x48f3b3(0x105),'payload':{'approvalId':_0x5da640,'approvalStatus':_0x48f3b3(0x1dd)},'merge':!![]};}}if(_0x49ee7f[_0x48f3b3(0x19d)]!==_0x48f3b3(0x15c)||!isRecord(_0x49ee7f[_0x48f3b3(0x114)]))return undefined;const _0x40ff4f=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x147)],_0x52b700=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x158)],_0x3dd6f1=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1a8)],_0x3ac48e=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x114)];if(typeof _0x40ff4f!==_0x48f3b3(0xf8)||_0x40ff4f[_0x48f3b3(0xe7)]===-0xc68+-0x1*0x15e1+-0x2249*-0x1||_0x40ff4f[_0x48f3b3(0xe7)]>0x1e6b+0x28*0xbe+-0x3bc3||typeof _0x52b700!==_0x48f3b3(0xf8)||!projectableConversationKind(_0x52b700)||typeof _0x3dd6f1!==_0x48f3b3(0xf8)||!projectableConversationStatus(_0x3dd6f1)||!isRecord(_0x3ac48e))return undefined;const _0x539547=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x12a)];return{'itemId':_0x40ff4f,'kind':_0x52b700,'status':_0x3dd6f1,'payload':_0x3ac48e,'merge':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1bb)]===!![],..._0x539547===_0x48f3b3(0x1fc)||_0x539547===_0x48f3b3(0x1b5)||_0x539547===_0x48f3b3(0x186)?{'append':_0x539547}:{}};}function _0x1a55(){const _0xf77dc=['CxvLDwvjDgvTswq','CMvVCMrLCLnLC3nPB25rDwv1zq','u0vtu0LptL9ot1rFrK9vtKq','DxnLCL9PBNb1Df9Yzxf1zxn0','CMvTB3zLvgvYBwLUywXsDw4','CMv0ywLUzwrfEgvJDxrPB25uDxjUCW','D29YA3nWywnLswq','BgLZDefNzw50u2vZC2LVBNm','BwvZC2fNzvn1yM1PC3nPB25Z','Aw1Hz2vjBMrLEa','C3rYAw5NAwz5','uevoreLorW','DxbKyxrLq3vYCMvUDfr1CM5gB3jsDw4','Aw1Hz2uV','rvHurvjoquW','zxzLBNruExbL','Cgf1C2vtzxnZAw9UuxvLDwu','Bw9KzwW','y3vZDg9TvgL0Bgu','CNvUlNj1BM5PBMC','qundrvburuq','Bwf4','z2v0qwDLBNrtzxnZAw9U','oteYntHdwxDfELy','u0vtu0LptL9usvrmrv9jtLzbteLe','uLvox1rvuK5FtK9ux0zpvu5e','C3rHDhvZ','DhvYBG','CNvUBMvYvgL0Bgu','CNvUlMzHAwXLza','zMLUAxnOuNvU','y29TBwfUzf9LEgvJDxrPB24','su5urvjsvvburuq','zMLUzeXHC3q','C2vZC2LVBLf1zxvL','qvbquK9wquXFrvHqsvjfra','CxvLDwu','ufjfuefssu5h','C29YDa','B3v0Chv0uhjLDMLLDW','Dg9tDhjPBMC','y29KzxG6','zMLSzv9JAgfUz2u','DgvYBwLUywXsDw5jzhm','DxnLCKL0zw1jza','BwvYz2u','BwLU','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','y29TCgXLDgvuDxjU','BgLTAxq','C3rHCNrZv2L0Aa','BNvTyMvY','ywn0AxzLu2vZC2LVBLj1BG','uLvox05pvf9gt1vora','C2vZC2LVBNm','qvbquK9wquXFtK9ux0zpvu5e','yMfZzty0','BgvHC2vZ','Aw5KzxHpzG','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','BwfW','yxbWCM92ywXFCMvXDwvZDa','yxbWCM92ywW6','CMvJB3jKq29TBwfUzev4zwn1DgLVBG','zxH0zxjUywXtzxnZAw9Uswq','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y3jLyxrLtwvZC2fNzvj1BG','D2fYBMLUzW','yMfZzty0DxjS','C2v0vgvTCg9Yyxj5vgL0BgvjzK1PC3nPBMC','CNvUlMnVBxbSzxrLza','DxbKyxrLu2vZC2LVBK1LDgfKyxrH','C2v0rxH0zxjUywXtzxnZAw9Uswq','Dw5RBM93BG','uvvfvuvFsvrftv9jtLzbteLe','Aw5JBhvKzxm','C2L6zq','u0vtu0LptL9jrf9dt05gteLdva','Aw5PDgLHDgvKqNLvC2vYswq','rvHqsvjfra','uLvotKLorW','revdteLoruq','uLvox0fdveLwrq','zw1PDfj1BKnOyw5Nzwq','uLvox09xtKvex0jzx0fot1rirvjFvvnfuG','y3jLyxrLuxvLDwvjDgvT','CgfYC2u','zxjYB3i','zxHWAxjLqxbWCM92ywW','zxHWAxjLC0f0','zgvJAxnPB24','CgLUBMvK','BMf0AxzLq29UDhjVBa','C2vXDwvUy2u','BgLZDenVBNzLCNnHDgLVBKL0zw1Z','BgfZDefJDgL2Axr5qxq','y29TBwfUza','tufyx0nptvbmrvrfrf9uvvjou19qrvjFu0vtu0LptG','qvbquK9wruq','y29TCgXLDgvKqxq','zwzMB3j0','yxr0ywnOBwvUDhm','Dg9VBf9JywXS','yxbWCM92ywWUzxHWAxjLza','u0vtu0LptL9bq1rjvKu','ChjPB3jPDgL6zvf1zxvLsxrLBq','BgLZDefWChjVDMfSCW','Chj1BMvszxrHAw5Lzev4zwn1DgLVBLr1CM5Z','zMfPBgvKtwvZC2fNzvn1yM1PC3nPB25Z','DxbKyxrLuxvLDwvjDgvT','C2vJDgLVBNm','C2v0uNvUBMvYvgL0BgvgCM9TtMf0AxzL','yxbWCM92ywXjza','ywrVChrsDw4','uLvox1nuqvrfx0LovKfmsuq','BgvUz3rO','AxnbCNjHEq','tuvtu0fhrv9btfjfqurzx1fvrvvfra','CNvUBMvY','BgLZDfj1BNngB3jtzxnZAw9U','yxnZAxn0yw50x21LC3nHz2u','C3rHCNrLzef0','zMLSDgvY','DhjHBNnPDgLVBLj1BG','y3vYCMvUDfj1BK1LC3nHz2vuzxH0','zMLUzeXHC3rjBMrLEa','zMLUze1LC3nHz2vtDwjTAxnZAw9U','rvzftLrFu0vrvuvoq0vFr0fq','CNvUlNn0yxj0zwq','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','BM93','C29Tzq','C3rYAw5N','CMvZDw1Lu2vZC2LVBLf1zxvL','v09ss1nqqunfx0jvu1K','AgfZ','zMLUza','qvvutW','BwfYA2rVD24','CxvLDwvKsxrLBxm','C2v0','otu5ndeZmNb5tw1XEa','CMvWBgfJzvnLC3nPB24','BgfZDfj1BLnLCxvLBMnL','v09ss1nqqunfx05pvf9gt1vora','q0foq0vmteve','CNvUswq','CMv2AxnPB24','mJa1n3jTBvLkDq','qvbquK9wquXFquXsrufewv9fweLtvfm','CMvXDwLYzvnLC3nPB24','z2v0uxvLDwvjDgvT','CNvUlNjLAMvJDgvK','u1rbuLrjtKC','y3jLyxrLzef0','B25sDw5dAgfUz2vK','BwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','y2XPzw50twvZC2fNzuLK','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','CxvLDwvjDgvTCW','Cgf5Bg9Hza','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','z2v0','rKfjteve','y29UDgvUDa','DMfSDwvZ','DhvYBNm','ChjVAMvJDev2zw50','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','DMfSDwu','y29UDgv4Df9JB21Wywn0Aw9U','uKvkrunuruq','zNjVBq','y3DK','CMvXDwLYzvj1BG','y3vYCMvUDfr1CM5gB3jsDw4','Dgv4Da','y3jLyxrLvhvYBG','DhvYBKLK','uLvox1rfuK1jtKfm','BgLZDe5VBNrLCM1PBMfSuNvUCW','CNvU','yxbWzw5K','DhjPBq','C2v0tMf0AxzLq29UDhjVBa','zgvSzxrL','AgfZqwn0AxzLv29YA3nWywnLtgvHC2u','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','mxrYwfbOBa','qunusvzf','nJboDwrorei','CMvTB3zLv29YA3nWywnL','nda2nfvLCLDovq','CMvHC29UAw5Nx3n1Bw1HCNK','B2jQzwn0','y3jLyxrLqwDLBNrtzxnZAw9U','DxnLCL9TzxnZywDL','C2vZC2LVBKLK','zMLUze1LC3nHz2vsDw4','CMvWBgfJzq','CNvUCW','mZu1nJu2mgDTENbHwq','y2XHAw1ozxH0uxvLDwvjDgvT','yNL0zuXLBMD0Aa','mtaYnZHTCKv0u08','CMvXDwLYzufWChjVDMfS','su5Fufjpr1jfu1m','tuvtu0fhrv9btfjfqurzx1nuqvjuruq','C2nVCgu','y3vYC29Y','y2fUB25Py2fSuNvUswq','AxrLBuLK','C291CMnLu2vXDwvUy2u','CNvUDgLTztO','Cgf1C2vKuxvLDwvZ','tufsx01btKfhruq','DxbKyxrLvhvYBKzVCLj1BG','CgXHBG','u0vtu0LptL9fwfrfuK5btf9jrf9jtLzbteLe','zMfPBgvK','DgL0Bgu','CMvJB25JAwXLuNvU','ndi0nZrYwxnZwhe','mtmZn1PvuMXcBq','C2v0q2HHBM5LBfrVA2vU','y3vYCMvUDev4zwn1DgLVBKLK','DxrMoa','yxbWzw5KuNvUrxzLBNq','A2LUza','yxbWCM92ywWUzgvJAwrLza','CNvUu2vXDwvUy2vZ','CgLUBMvKqxq','y29UDMvYC2f0Aw9UlML0zw0','q1vtve9n','CMvTB3zLqwDLBNrtzxnZAw9U','y3jLyxrLrxHLy3v0Aw9U','ChjVAMvJDe1LC3nHz2vbDhrHy2HTzw50CW','zxHWAxjLrhvLqxbWCM92ywXZ','zxHLy3v0Aw9UCW','q09nueXfveve','y3jLyxrLqxbWCM92ywW','z2v0v29YA3nWywnL','C2XPy2u','Dgv4Dc5KzwX0yq','DxbKyxrLuhjLCgfYAw5NvhvYBKf0DgfJAg1LBNrZ','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','yxbWCM92ywXZ','zgvJAwrLqxbWCM92ywW','uLvox1rvuK5FtK9ux1jfqurz','mte3nZuZzujJzhrU','AxnjBNrLz2vY','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','zMXHDe1HCa','te9tva','DMvYC2LVBG','CxvLDwvwzxjZAw9UCW','u0vtu0LptL9dsefotKvmx1rps0vox0LovKfmsuq','yxbWCM92ywWUCMvXDwvZDa','uLvox0fmuKvbrfLFqunusvzf','yNvTCff1zxvLvMvYC2LVBG','DxbKyxrLuxvLDwvjDgvTqxr0ywnOBwvUDhm','ywnJzxnZ','BMv4Da','u1vdq0vfreve','CMvXDwLYzvf1zxvLsxrLBq','BM9KzuLK','ndu3mZbgqNPzA0y','uLvotKvs','A2v5CW','qvbquK9wquXFquXsrufewv9erunjreve','zgvSzxrLuxvLDwvjDgvT','BgLZDenVBNzLCNnHDgLVBLr1CM5Z','z2v0uNvU','qvbquK9wquXFtK9ux0vyueLsruq','B3v0Chv0u3vTBwfYEq','Aw5KzxG','oMfZC2LZDgfUDdO','ywrK','AxrLBxm','uLvox0vyrunvveLptL9ot1rFq1vsuKvova','uvvfvuvFvKvsu0LptL9dt05gteLdva','z2v0qxbWCM92ywW'];_0x1a55=function(){return _0xf77dc;};return _0x1a55();}function projectableConversationKind(_0x3045b3){const _0x5d6e0a=_0x4cca08;return _0x3045b3===_0x5d6e0a(0xec)||_0x3045b3===_0x5d6e0a(0x135)||_0x3045b3===_0x5d6e0a(0x1f4)||_0x3045b3===_0x5d6e0a(0x1ad)||_0x3045b3===_0x5d6e0a(0x1cb)||_0x3045b3===_0x5d6e0a(0x191)||_0x3045b3===_0x5d6e0a(0x14d)||_0x3045b3===_0x5d6e0a(0x1b8)||_0x3045b3===_0x5d6e0a(0x11e)||_0x3045b3===_0x5d6e0a(0x1d7)||_0x3045b3===_0x5d6e0a(0x1d1)||_0x3045b3===_0x5d6e0a(0x1e5);}function projectableConversationStatus(_0x1d3d9b){const _0x134083=_0x4cca08;return[_0x134083(0x199),_0x134083(0x142),_0x134083(0x163),_0x134083(0x117),_0x134083(0x1df),_0x134083(0x105),_0x134083(0x1ae)][_0x134083(0x1d9)](_0x1d3d9b);}function mergeConversationItemPayload(_0x6f1bb6,_0x1e5087){const _0xf7dcc0=_0x4cca08,_0x2c2969=_0x1e5087[_0xf7dcc0(0x1bb)]&&isRecord(_0x6f1bb6)?_0x6f1bb6:{},_0x4f2d6e={..._0x2c2969,..._0x1e5087[_0xf7dcc0(0x114)]};if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x1fc)){const _0x548892=Array[_0xf7dcc0(0xe8)](_0x2c2969[_0xf7dcc0(0x1fc)])?_0x2c2969[_0xf7dcc0(0x1fc)]:[],_0x452bb8=Array[_0xf7dcc0(0xe8)](_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1fc)])?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1fc)]:[],_0x3410e4=new Map();for(const _0x4a81ec of[..._0x548892,..._0x452bb8]){if(!isRecord(_0x4a81ec)||typeof _0x4a81ec[_0xf7dcc0(0x187)]!==_0xf7dcc0(0x1c1)||!Number[_0xf7dcc0(0x16e)](_0x4a81ec[_0xf7dcc0(0x187)])||_0x4a81ec[_0xf7dcc0(0x187)]<0x1768+0x1085+-0x27ed||typeof _0x4a81ec[_0xf7dcc0(0x124)]!==_0xf7dcc0(0xf8))continue;_0x3410e4[_0xf7dcc0(0x100)](_0x4a81ec[_0xf7dcc0(0x187)],appendProjectionText(_0x3410e4[_0xf7dcc0(0x116)](_0x4a81ec[_0xf7dcc0(0x187)])??'',_0x4a81ec[_0xf7dcc0(0x124)]));}_0x4f2d6e[_0xf7dcc0(0x1fc)]=[..._0x3410e4][_0xf7dcc0(0x1b4)](([_0x368278],[_0x51e2b6])=>_0x368278-_0x51e2b6)[_0xf7dcc0(0x1ca)](([_0x4189c1,_0x2486b2])=>({'index':_0x4189c1,'text':_0x2486b2}));}if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x1b5)){const _0x267c90=typeof _0x2c2969[_0xf7dcc0(0x1b5)]===_0xf7dcc0(0xf8)?_0x2c2969[_0xf7dcc0(0x1b5)]:'',_0x5b405d=typeof _0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1b5)]===_0xf7dcc0(0xf8)?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1b5)]:'';_0x4f2d6e[_0xf7dcc0(0x1b5)]=appendProjectionText(_0x267c90,_0x5b405d);}if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x186)){const _0x2f73c8=typeof _0x2c2969[_0xf7dcc0(0x186)]===_0xf7dcc0(0xf8)?_0x2c2969[_0xf7dcc0(0x186)]:'',_0x1209a1=typeof _0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x186)]===_0xf7dcc0(0xf8)?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x186)]:'';_0x4f2d6e[_0xf7dcc0(0x186)]=appendProjectionText(_0x2f73c8,_0x1209a1);}return _0x4f2d6e;}function appendProjectionText(_0x3799ae,_0x2c32fb){const _0x1dc4d0=_0x4cca08,_0x4fc3d2=''+_0x3799ae+_0x2c32fb;return _0x4fc3d2[_0x1dc4d0(0xe7)]<=-0x3*0x70b+0x26bb+0x1576?_0x4fc3d2:_0x4fc3d2[_0x1dc4d0(0x166)](-0x13*0x115+0x1f2a+0xb5*-0xf,-0x1113+-0x69+0x19*0x243)+'…';}function activeConversationItem(_0x1f2ac1){const _0x23aa87=_0x4cca08;return _0x1f2ac1===_0x23aa87(0x199)||_0x1f2ac1===_0x23aa87(0x142);}function completedConversationItem(_0x2c8cc2){return!activeConversationItem(_0x2c8cc2);}function completedStatusForRun(_0x4bcc91){const _0x29fd77=_0x4cca08;if(_0x4bcc91===_0x29fd77(0x1ae))return _0x29fd77(0x1ae);if(_0x4bcc91===_0x29fd77(0x105))return _0x29fd77(0x105);if(_0x4bcc91===_0x29fd77(0x117))return _0x29fd77(0x117);return _0x29fd77(0x163);}function _0x3e83(_0x172122,_0x417f76){_0x172122=_0x172122-(-0x7bc+0x1f5f*0x1+-0x16be);const _0x5c8993=_0x1a55();let _0x1aaabc=_0x5c8993[_0x172122];if(_0x3e83['hEoorQ']===undefined){var _0x1a3a62=function(_0x319d61){const _0x128316='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36f448='',_0x4c8621='';for(let _0x42768c=0x20d2+0x832*-0x1+-0x18a0,_0x32c659,_0x224cf2,_0x4de863=-0x2111+0x1*0x1523+-0x1*-0xbee;_0x224cf2=_0x319d61['charAt'](_0x4de863++);~_0x224cf2&&(_0x32c659=_0x42768c%(0x1be8+0x4d2+-0x20b6)?_0x32c659*(-0x52*-0x50+0x17a1+-0xd*0x3c5)+_0x224cf2:_0x224cf2,_0x42768c++%(0x19ae+-0x1715*0x1+-0x1*0x295))?_0x36f448+=String['fromCharCode'](-0x10fd*-0x1+-0x2*0xa2e+0x45e&_0x32c659>>(-(0x13d9+0x8*0x31d+-0x2cbf)*_0x42768c&-0x1*0x1df+-0xbc5+0x21*0x6a)):-0x907+0x121e+0xb3*-0xd){_0x224cf2=_0x128316['indexOf'](_0x224cf2);}for(let _0x2559b5=-0x3*-0x203+0x1*-0xcc7+0x6be,_0x2d1f6a=_0x36f448['length'];_0x2559b5<_0x2d1f6a;_0x2559b5++){_0x4c8621+='%'+('00'+_0x36f448['charCodeAt'](_0x2559b5)['toString'](-0x127d+0x23d5+0x4*-0x452))['slice'](-(0x1*0xa6f+-0x18*-0x20+0x1*-0xd6d));}return decodeURIComponent(_0x4c8621);};_0x3e83['CxgVne']=_0x1a3a62,_0x3e83['LizEml']={},_0x3e83['hEoorQ']=!![];}const _0x29e1b9=_0x5c8993[-0x178e+-0x405+0x1b93];_0x3e83['LvBsMh']!==_0x29e1b9&&(_0x3e83['LizEml']={},_0x3e83['LvBsMh']=_0x29e1b9);const _0x3247f9=_0x3e83['LizEml'][_0x172122];return _0x3247f9===undefined?(_0x1aaabc=_0x3e83['CxgVne'](_0x1aaabc),_0x3e83['LizEml'][_0x172122]=_0x1aaabc):_0x1aaabc=_0x3247f9,_0x1aaabc;}function executionStatusForRun(_0x3da345){const _0x1052a6=_0x4cca08;if(_0x3da345===_0x1052a6(0x117))return _0x1052a6(0x117);if(_0x3da345===_0x1052a6(0x1ae)||_0x3da345===_0x1052a6(0x105))return _0x1052a6(0x1ae);if(_0x3da345===_0x1052a6(0x17b))return _0x1052a6(0x17b);if(_0x3da345===_0x1052a6(0x1de))return _0x1052a6(0x1de);return _0x1052a6(0x10d);}function terminalExecution(_0x43c460){const _0x125bac=_0x4cca08;return _0x43c460===_0x125bac(0x17b)||_0x43c460===_0x125bac(0x117)||_0x43c460===_0x125bac(0x1ae);}function encodeCursor(_0x23fcdb,_0x30ffad){const _0x453e92=_0x4cca08;return Buffer[_0x453e92(0x120)](JSON[_0x453e92(0x198)]({'scope':_0x23fcdb,'value':_0x30ffad}))[_0x453e92(0x1b6)](_0x453e92(0x1d2));}function decodeCursor(_0x2ff0dd,_0x38451f){const _0x2dcc1e=_0x4cca08;if(_0x2ff0dd===undefined)return-0x217e+0x524+0x1c5a;try{const _0x173eec=JSON[_0x2dcc1e(0x1e4)](Buffer[_0x2dcc1e(0x120)](_0x2ff0dd,_0x2dcc1e(0x1d2))[_0x2dcc1e(0x1b6)](_0x2dcc1e(0x156)));return _0x173eec[_0x2dcc1e(0x144)]===_0x38451f&&Number[_0x2dcc1e(0x16e)](_0x173eec[_0x2dcc1e(0x11d)])&&_0x173eec[_0x2dcc1e(0x11d)]>=-0xf44+-0x1*0x188b+0x1*0x27cf?_0x173eec[_0x2dcc1e(0x11d)]:0x292*0x1+-0x56c*-0x3+-0x12d6;}catch{return-0x3*-0xaa4+-0x222e+0x22*0x11;}}
2
+ const _0x34e5c0=_0x41e1;(function(_0x2b8f4c,_0x45dd7f){const _0xf4cc3c=_0x41e1,_0x24ce23=_0x2b8f4c();while(!![]){try{const _0x33c5aa=parseInt(_0xf4cc3c(0x22e))/(-0x4f1+0x5*0x11b+0x1*-0x95)+parseInt(_0xf4cc3c(0x218))/(0x1bb6+0x80f*-0x1+-0x13a5)+-parseInt(_0xf4cc3c(0x1d7))/(-0x17d8*-0x1+0x5dc+-0x1db1)*(parseInt(_0xf4cc3c(0x1eb))/(-0x329*0x2+0x1941+0x12eb*-0x1))+-parseInt(_0xf4cc3c(0x221))/(0xbf9*0x3+0x6f3+-0x7*0x61f)+-parseInt(_0xf4cc3c(0x133))/(-0x3d5+0x1f11+-0x1b36)+-parseInt(_0xf4cc3c(0x192))/(-0x6c3*-0x1+0x2619+-0x1f3*0x17)*(-parseInt(_0xf4cc3c(0x168))/(0x1c12+-0xa85+0x45*-0x41))+parseInt(_0xf4cc3c(0x198))/(0x1dfc+0x2239+-0x402c);if(_0x33c5aa===_0x45dd7f)break;else _0x24ce23['push'](_0x24ce23['shift']());}catch(_0x359aa6){_0x24ce23['push'](_0x24ce23['shift']());}}}(_0x2fa1,-0xb0502+-0x6bcd+-0x6f4a*-0x2e));import{randomUUID}from'node:crypto';function _0x2fa1(){const _0x57d257=['yNvTCff1zxvLvMvYC2LVBG','BwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','ndm1ndiXn0PisxPfAa','uLvox0vyrunvveLptL9ot1rFq1vsuKvova','rKfjteve','z2v0qxbWCM92ywW','y29UDgv4Df9JB21Wywn0Aw9U','CMvHC29UAw5Nx3n1Bw1HCNK','nJC1nZC0oxPPB255Bq','yxr0ywnOBwvUDhm','u0vtu0LptL9fwfrfuK5btf9jrf9jtLzbteLe','zMfPBgvKtwvZC2fNzvn1yM1PC3nPB25Z','u0vtu0LptL9dsefotKvmx1rps0vox0LovKfmsuq','C2vZC2LVBKLK','zMLUza','Dgv4Da','C2nVCgu','C2vZC2LVBNm','CNvUswq','CxvLDwvjDgvTCW','CxvLDwvKsxrLBxm','uLvox09xtKvex0jzx0fot1rirvjFvvnfuG','yxbWCM92ywW6','u0vtu0LptL9bq1rjvKu','CNvUCW','A2v5CW','tuvtu0fhrv9btfjfqurzx1nuqvjuruq','q1vtve9n','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','qvbquK9wquXFrvHqsvjfra','y29TBwfUza','DhvYBKLK','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','y29UDgvUDa','uLvox0fmuKvbrfLFqunusvzf','BgLTAxq','AgfZ','y3vYC29Y','y29TCgXLDgvKqxq','y2XPzw50twvZC2fNzuLK','zMXHDe1HCa','C2XPy2u','BgLZDefWChjVDMfSCW','CMvJB25JAwXLuNvU','yxbWCM92ywWUzxHWAxjLza','yxnZAxn0yw50x21LC3nHz2u','AxrLBxm','Dw5RBM93BG','C3rYAw5N','yxbWCM92ywXFCMvXDwvZDa','uKvkrunuruq','oMfZC2LZDgfUDdO','DhvYBG','C2L6zq','ywn0AxzLu2vZC2LVBLj1BG','CNvUu2vXDwvUy2vZ','Dg9tDhjPBMC','te9tva','uLvox0fdveLwrq','Cgf1C2vtzxnZAw9UuxvLDwu','ywrVChrsDw4','qvbquK9wquXFtK9ux0zpvu5e','C291CMnLu2vXDwvUy2u','y29KzxG6','uLvox1rfuK1jtKfm','CNvUlNn0yxj0zwq','yMfZzty0DxjS','y29TBwfUzf9LEgvJDxrPB24','C2v0','y3jLyxrLqxbWCM92ywW','C2v0vgvTCg9Yyxj5vgL0BgvjzK1PC3nPBMC','m1z1qw1vEG','C2vJDgLVBNm','y3jLyxrLuxvLDwvjDgvT','CgXHBG','BgLZDfj1BNngB3jtzxnZAw9U','zw1PDfj1BKnOyw5Nzwq','y2fUB25Py2fSuNvUswq','C2v0uNvUBMvYvgL0BgvgCM9TtMf0AxzL','CMvXDwLYzvf1zxvLsxrLBq','qvbquK9wquXFquXsrufewv9fweLtvfm','C2v0rxH0zxjUywXtzxnZAw9Uswq','ChjVAMvJDev2zw50','CMvXDwLYzufWChjVDMfS','Aw5PDgLHDgvKqNLvC2vYswq','yxbWCM92ywXZ','uLvotKvs','zMLUzeXHC3q','CgfYC2u','C3rHCNrZv2L0Aa','C3rHCNrLzef0','mZy3ntCYngDcyLf4zq','yxbWCM92ywWUzgvJAwrLza','DhjHBNnPDgLVBLj1BG','zxHWAxjLrhvLqxbWCM92ywXZ','zMLUze1LC3nHz2vsDw4','Aw5KzxG','C2vZC2LVBLf1zxvL','BwfW','zMLSzv9JAgfUz2u','y3jLyxrLqwDLBNrtzxnZAw9U','z2v0uxvLDwvjDgvT','zgvSzxrL','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','AgfZqwn0AxzLv29YA3nWywnLtgvHC2u','uLvox05pvf9gt1vora','qvbquK9wruq','uevoreLorW','zxHWAxjLC0f0','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','Aw1Hz2vjBMrLEa','B3v0Chv0u3vTBwfYEq','revdteLoruq','v09ss1nqqunfx0jvu1K','CNvUlMnVBxbSzxrLza','tufsx01btKfhruq','zxzLBNruExbL','Aw1Hz2uV','AxnjBNrLz2vY','uLvox1nuqvrfx0LovKfmsuq','zwzMB3j0','DhvYBNm','DgvYBwLUywXsDw5jzhm','CMvWBgfJzq','DgL0BgvtB3vYy2u','Dgv4Dc5KzwX0yq','C3rYAw5NAwz5','DxbKyxrLvhvYBKzVCLj1BG','rvHurvjoquW','BwvYz2u','AxnbCNjHEq','q09nueXfveve','qunusvzf','DxbKyxrLu2vZC2LVBK1LDgfKyxrH','CNvUlNj1BM5PBMC','CMvTB3zLqwDLBNrtzxnZAw9U','mta4mdCZnfD5shbZtG','D29YA3nWywnLswq','C3rHDhvZ','uLvotKLorW','u0vtu0LptL9usvrmrv9jtLzbteLe','C29Tzq','zgvJAwrLqxbWCM92ywW','yNL0zuXLBMD0Aa','D2fYBMLUzW','mty5ntmXmgDXruDfqG','ChjPB3jPDgL6zvf1zxvLsxrLBq','CNvUlMzHAwXLza','y29UDMvYC2f0Aw9UlML0zw0','CMvZDw1Lu2vZC2LVBLf1zxvL','qvbquK9wquXFtK9ux0vyueLsruq','C29YDa','zxjYB3i','C2v0tMf0AxzLq29UDhjVBa','zgvJAxnPB24','DgvZDa','z2v0qwDLBNrtzxnZAw9U','DxrMoa','nJCXmdeWCvLYzM9z','CMv2AxnPB24','yxbWCM92ywWUCMvXDwvZDa','CMvTB3zLvgvYBwLUywXsDw4','CgLUBMvK','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','CxvLDwvjDgvTswq','A2LUza','CgLUBMvKqxq','CMv0ywLUzwrfEgvJDxrPB25uDxjUCW','q0foq0vmteve','y29TCgXLDgvuDxjU','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','BwfYA2rVD24','B25sDw5dAgfUz2vK','CMvVCMrLCLnLC3nPB25rDwv1zq','tufyx0nptvbmrvrfrf9uvvjou19qrvjFu0vtu0LptG','BgLZDe5VBNrLCM1PBMfSuNvUCW','u0vtu0LptL9jrf9dt05gteLdva','DMfSDwvZ','yxbWzw5KuNvUrxzLBNq','su5urvjsvvburuq','DMvYC2LVBG','yMfZzty0','y3jLyxrLvhvYBG','CNvUBMvY','DxbKyxrLuhjLCgfYAw5NvhvYBKf0DgfJAg1LBNrZ','DgL0Bgu','BMv4Da','CNvUlNjLAMvJDgvK','y3vZDg9TvgL0Bgu','ndu5mZa2nLLWtgvsuW','BgLZDenVBNzLCNnHDgLVBLr1CM5Z','y3vYCMvUDfr1CM5gB3jsDw4','z2v0','y3jLyxrLrxHLy3v0Aw9U','y3vYCMvUDfj1BK1LC3nHz2vuzxH0','qundrvburuq','Aw5KzxHpzG','B3v0Chv0uhjLDMLLDW','DxnLCL9TzxnZywDL','BgvUz3rO','CNvUDgLTztO','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','B2jQzwn0','DxnLCKL0zw1jza','BgLZDefNzw50u2vZC2LVBNm','BMf0AxzLq29UDhjVBa','zxH0zxjUywXtzxnZAw9Uswq','qvbquK9wquXFquXsrufewv9erunjreve','DxbKyxrLuxvLDwvjDgvT','u1rbuLrjtKC','CxvLDwu','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','uvvfvuvFvKvsu0LptL9dt05gteLdva','Aw5JBhvKzxm','CxvLDwvwzxjZAw9UCW','C2v0q2HHBM5LBfrVA2vU','BwLZC2LVBJO','v09ss1nqqunfx05pvf9gt1vora','DxnLCL9PBNb1Df9Yzxf1zxn0','CMvWBgfJzvnLC3nPB24','DhjPBq','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','rvHqsvjfra','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','zMLSDgvY','CMvTB3zLv29YA3nWywnL','z2v0v29YA3nWywnL','zMLUAxnOuNvU','BwLU','CMvXDwLYzvnLC3nPB24','tuvtu0fhrv9btfjfqurzx1fvrvvfra','BgfZDefJDgL2Axr5qxq','qvvutW','zxHWAxjLqxbWCM92ywW','u1vdq0vfreve','zxHLy3v0Aw9UCW','DMfSDwu','u0vtu0LptL9ot1rFrK9vtKq','y3vYCMvUDev4zwn1DgLVBKLK','y3DK','C2vXDwvUy2u','Dg9VBf9JywXS','ogPQD2XZva','BgLZDenVBNzLCNnHDgLVBKL0zw1Z','ywrK','Bw9KzwW','CMvJB3jKq29TBwfUzev4zwn1DgLVBG','uLvox1rvuK5FtK9ux0zpvu5e','BgfZDfj1BLnLCxvLBMnL','CMvXDwLYzvj1BG','su5Fufjpr1jfu1m','y3jLyxrLtwvZC2fNzvj1BG','y3jLyxrLzef0','rvzftLrFu0vrvuvoq0vFr0fq','yxbWzw5K','CNvUBMvYvgL0Bgu','BM9KzuLK','zMLUze1LC3nHz2vtDwjTAxnZAw9U','CNvU','y2XHAw1ozxH0uxvLDwvjDgvT','BgvHC2vZ','zgvSzxrLuxvLDwvjDgvT','DxbKyxrLuxvLDwvjDgvTqxr0ywnOBwvUDhm','Chj1BMvszxrHAw5Lzev4zwn1DgLVBLr1CM5Z','zNjVBq','zMfPBgvK','DxbKyxrLq3vYCMvUDfr1CM5gB3jsDw4','zMLUzeXHC3rjBMrLEa','yxbWCM92ywXjza','uvvfvuvFsvrftv9jtLzbteLe','BwvZC2fNzvn1yM1PC3nPB25Z','Cgf5Bg9Hza','BNvTyMvY','Cgf1C2vKuxvLDwvZ','ufjfuefssu5h','uLvox1rvuK5FtK9ux1jfqurz','Bwf4','ChjVAMvJDe1LC3nHz2vbDhrHy2HTzw50CW','BM93','z2v0uNvU','AxrLBuLK','ywnJzxnZ'];_0x2fa1=function(){return _0x57d257;};return _0x2fa1();}export class NodeRuntimeState{[_0x34e5c0(0x176)];[_0x34e5c0(0x158)];[_0x34e5c0(0x18c)];[_0x34e5c0(0x23c)];static [_0x34e5c0(0x23e)]=-0x804+-0x1*0x2329+0x2b37;[_0x34e5c0(0x1a1)]=new Map();[_0x34e5c0(0x1a8)]=new Map();[_0x34e5c0(0x184)]=new Map();[_0x34e5c0(0x19b)]=new Map();[_0x34e5c0(0x1a3)]=new Map();[_0x34e5c0(0x161)]=new Map();[_0x34e5c0(0x237)]=new Map();[_0x34e5c0(0x1c7)]=new Map();[_0x34e5c0(0x209)]=new Map();[_0x34e5c0(0x1e5)]=new Map();[_0x34e5c0(0x17a)]=new Map();[_0x34e5c0(0x1a4)]=new Map();[_0x34e5c0(0x14c)]=new Map();[_0x34e5c0(0x187)]=new Set();[_0x34e5c0(0x20a)]=new Set();constructor(_0x46a539,_0x548c18,_0x452f8b=Date[_0x34e5c0(0x18c)],_0x5cca27){const _0xe51c3b=_0x34e5c0;this[_0xe51c3b(0x176)]=_0x46a539,this[_0xe51c3b(0x158)]=_0x548c18,this[_0xe51c3b(0x18c)]=_0x452f8b,this[_0xe51c3b(0x23c)]=_0x5cca27;}[_0x34e5c0(0x23a)](){const _0x379765=_0x34e5c0;return this[_0x379765(0x17a)][_0x379765(0x1c5)];}[_0x34e5c0(0x1c6)](_0x58ee32){const _0x1560ed=_0x34e5c0,_0x4a2487=this[_0x1560ed(0x17a)][_0x1560ed(0x136)](_0x58ee32);return _0x4a2487===undefined?undefined:this[_0x1560ed(0x1a8)][_0x1560ed(0x136)](_0x4a2487);}[_0x34e5c0(0x155)](_0x597680){const _0x112994=_0x34e5c0;return this[_0x112994(0x17a)][_0x112994(0x1b4)](_0x597680);}[_0x34e5c0(0x1f4)](_0x56f617){const _0x7e1407=_0x34e5c0;if(this[_0x7e1407(0x158)](_0x56f617[_0x7e1407(0x219)])===undefined)throw new Error(_0x7e1407(0x14f));const _0x31e18a=this[_0x7e1407(0x18c)](),_0x1d885c=_0x56f617[_0x7e1407(0x144)]??randomUUID();if(this[_0x7e1407(0x1a1)][_0x7e1407(0x1b4)](_0x1d885c))throw new Error(_0x7e1407(0x240));const _0x10a87c={'id':_0x1d885c,'nodeId':this[_0x7e1407(0x176)](),'workspaceId':_0x56f617[_0x7e1407(0x219)],'runner':_0x56f617[_0x7e1407(0x247)],'externalSessionId':_0x56f617[_0x7e1407(0x144)]??null,'nativeControl':_0x56f617[_0x7e1407(0x144)]===undefined?_0x7e1407(0x203):_0x56f617[_0x7e1407(0x143)]??_0x7e1407(0x210),'channelToken':null,'cwd':_0x56f617[_0x7e1407(0x165)],'model':_0x56f617[_0x7e1407(0x16b)]??null,'effort':_0x56f617[_0x7e1407(0x208)]??null,'access':_0x56f617[_0x7e1407(0x18f)]??null,'customTitle':null,'runnerTitle':_0x56f617[_0x7e1407(0x249)]?.[_0x7e1407(0x152)]()[_0x7e1407(0x1b9)](-0x2*-0x68+0x19*0x13c+-0x1fac,0x212c+-0x3f4+-0x1c98)||null,'pinnedAt':null,'titleSource':_0x7e1407(0x15e),'lastActivityAt':_0x31e18a,'createdAt':_0x31e18a};return this[_0x7e1407(0x1a1)][_0x7e1407(0x1d4)](_0x10a87c['id'],_0x10a87c),_0x10a87c;}[_0x34e5c0(0x1cc)](_0x314093){const _0x2d8ea8=_0x34e5c0;if(this[_0x2d8ea8(0x20a)][_0x2d8ea8(0x1b4)](_0x314093[_0x2d8ea8(0x1a2)]))throw new Error(_0x2d8ea8(0x1d0));let _0x39edec=this[_0x2d8ea8(0x1a1)][_0x2d8ea8(0x136)](_0x314093[_0x2d8ea8(0x19d)]);if(_0x39edec===undefined){const _0x2e108c=this[_0x2d8ea8(0x18c)]();_0x39edec={'id':_0x314093[_0x2d8ea8(0x19d)],'nodeId':this[_0x2d8ea8(0x176)](),'workspaceId':_0x314093[_0x2d8ea8(0x219)]??_0x2d8ea8(0x13e)+_0x314093[_0x2d8ea8(0x165)],'runner':_0x314093[_0x2d8ea8(0x247)],'externalSessionId':_0x314093[_0x2d8ea8(0x144)]??null,'nativeControl':_0x314093[_0x2d8ea8(0x144)]===undefined?_0x2d8ea8(0x203):_0x2d8ea8(0x210),'channelToken':null,'cwd':_0x314093[_0x2d8ea8(0x165)],'model':null,'effort':null,'access':null,'customTitle':null,'runnerTitle':null,'pinnedAt':null,'titleSource':_0x2d8ea8(0x15e),'lastActivityAt':_0x2e108c,'createdAt':_0x2e108c},this[_0x2d8ea8(0x1a1)][_0x2d8ea8(0x1d4)](_0x39edec['id'],_0x39edec);}const _0x5ea06c=this[_0x2d8ea8(0x18d)](_0x314093[_0x2d8ea8(0x1a2)]);if(_0x5ea06c!==undefined)return _0x5ea06c;const _0x831ca4=this[_0x2d8ea8(0x18c)](),_0x75aa7f={'id':_0x314093[_0x2d8ea8(0x1a2)],'sessionId':_0x39edec['id'],'nodeId':this[_0x2d8ea8(0x176)](),'workspaceId':_0x39edec[_0x2d8ea8(0x219)],'runner':_0x39edec[_0x2d8ea8(0x247)],'status':_0x2d8ea8(0x147),'recoveryState':_0x2d8ea8(0x214),'version':0x0,'clientMessageId':_0x314093[_0x2d8ea8(0x1b7)]??_0x314093[_0x2d8ea8(0x1a2)],'createdAt':_0x831ca4,'startedAt':_0x831ca4,'completedAt':null,'updatedAt':_0x831ca4};return this[_0x2d8ea8(0x1a8)][_0x2d8ea8(0x1d4)](_0x75aa7f['id'],_0x75aa7f),this[_0x2d8ea8(0x17a)][_0x2d8ea8(0x1d4)](_0x75aa7f[_0x2d8ea8(0x19d)],_0x75aa7f['id']),this[_0x2d8ea8(0x1dc)](_0x75aa7f,_0x39edec),_0x75aa7f;}[_0x34e5c0(0x22c)](_0x58a83b){const _0x3aa36e=_0x34e5c0;return this[_0x3aa36e(0x1a1)][_0x3aa36e(0x136)](_0x58a83b)??[...this[_0x3aa36e(0x1a1)][_0x3aa36e(0x241)]()][_0x3aa36e(0x19e)](_0x1af383=>_0x1af383[_0x3aa36e(0x144)]===_0x58a83b);}[_0x34e5c0(0x142)](){const _0x25a93e=_0x34e5c0;return[...this[_0x25a93e(0x1a1)][_0x25a93e(0x241)]()][_0x25a93e(0x227)]((_0x35471c,_0x3dada7)=>_0x3dada7[_0x25a93e(0x15d)]-_0x35471c[_0x25a93e(0x15d)]);}[_0x34e5c0(0x149)](_0x3428a4,_0x53d469){const _0x16daf3=_0x34e5c0;return[...this[_0x16daf3(0x1a1)][_0x16daf3(0x241)]()][_0x16daf3(0x19e)](_0x2e13c7=>_0x2e13c7[_0x16daf3(0x247)]===_0x3428a4&&_0x2e13c7[_0x16daf3(0x144)]===_0x53d469);}[_0x34e5c0(0x233)](_0x27895b){const _0x428d52=_0x34e5c0;return this[_0x428d52(0x151)](_0x27895b[_0x428d52(0x19d)],{'model':_0x27895b[_0x428d52(0x16b)],'effort':_0x27895b[_0x428d52(0x208)],'access':_0x27895b[_0x428d52(0x18f)]});}[_0x34e5c0(0x153)](_0xb41243,_0x1f7172){const _0x1ef746=_0x34e5c0;return this[_0x1ef746(0x151)](_0xb41243,{'access':_0x1f7172});}[_0x34e5c0(0x229)](_0x3bff46,_0x520913){const _0x47cbaf=_0x34e5c0;this[_0x47cbaf(0x151)](_0x3bff46,{'nativeControl':_0x520913});}[_0x34e5c0(0x1e1)](_0x5bf3dd,_0x4dcbd6){const _0x2c5647=_0x34e5c0;if(_0x4dcbd6[_0x2c5647(0x13d)]===-0x158b+0x2*0xd64+-0x1bf*0x3)throw new Error(_0x2c5647(0x19a));this[_0x2c5647(0x1fd)](_0x5bf3dd,_0x4dcbd6);}[_0x34e5c0(0x1fd)](_0x9d560a,_0x15c173){const _0x2b5ce7=_0x34e5c0;if(_0x15c173[_0x2b5ce7(0x13d)]===0x1350+-0x1b7c+0x82c)throw new Error(_0x2b5ce7(0x19a));const _0x535c52=this[_0x2b5ce7(0x15b)](_0x9d560a);if(_0x9d560a===_0x15c173)return this[_0x2b5ce7(0x151)](_0x9d560a,{'externalSessionId':_0x15c173,'nativeControl':_0x2b5ce7(0x203)});const _0x22ea71=this[_0x2b5ce7(0x1a1)][_0x2b5ce7(0x136)](_0x15c173);if(_0x22ea71!==undefined&&_0x22ea71['id']!==_0x535c52['id'])throw new Error(_0x2b5ce7(0x240));const _0x17cf37={..._0x535c52,'id':_0x15c173,'externalSessionId':_0x15c173,'nativeControl':_0x2b5ce7(0x203)},_0x50612c=this[_0x2b5ce7(0x1db)](_0x9d560a),_0x537c59=this[_0x2b5ce7(0x209)][_0x2b5ce7(0x136)](_0x9d560a)??[],_0x171da7=this[_0x2b5ce7(0x1a4)][_0x2b5ce7(0x136)](_0x9d560a),_0x4445e2=this[_0x2b5ce7(0x14c)][_0x2b5ce7(0x136)](_0x9d560a),_0x2ea578=this[_0x2b5ce7(0x17a)][_0x2b5ce7(0x136)](_0x9d560a),_0x3cf610=this[_0x2b5ce7(0x187)][_0x2b5ce7(0x1b4)](_0x9d560a);this[_0x2b5ce7(0x1a1)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x1a1)][_0x2b5ce7(0x1d4)](_0x15c173,_0x17cf37);for(const _0x11907e of _0x50612c)this[_0x2b5ce7(0x1a8)][_0x2b5ce7(0x1d4)](_0x11907e['id'],{..._0x11907e,'sessionId':_0x15c173});this[_0x2b5ce7(0x209)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x209)][_0x2b5ce7(0x1d4)](_0x15c173,_0x537c59[_0x2b5ce7(0x1f2)](_0x207ae8=>({..._0x207ae8,'sessionId':_0x15c173,'items':_0x207ae8[_0x2b5ce7(0x1be)][_0x2b5ce7(0x1f2)](_0x540948=>({..._0x540948,'sessionId':_0x15c173}))})));if(_0x171da7!==undefined){this[_0x2b5ce7(0x1a4)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x1a4)][_0x2b5ce7(0x1d4)](_0x15c173,_0x171da7);for(const _0x1af567 of _0x171da7){const _0x125478=this[_0x2b5ce7(0x1a3)][_0x2b5ce7(0x136)](_0x1af567);if(_0x125478!==undefined)this[_0x2b5ce7(0x1a3)][_0x2b5ce7(0x1d4)](_0x1af567,{..._0x125478,'sessionId':_0x15c173});}}_0x4445e2!==undefined&&(this[_0x2b5ce7(0x14c)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x14c)][_0x2b5ce7(0x1d4)](_0x15c173,_0x4445e2));_0x2ea578!==undefined&&(this[_0x2b5ce7(0x17a)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x17a)][_0x2b5ce7(0x1d4)](_0x15c173,_0x2ea578));_0x3cf610&&(this[_0x2b5ce7(0x187)][_0x2b5ce7(0x1f6)](_0x9d560a),this[_0x2b5ce7(0x187)][_0x2b5ce7(0x16a)](_0x15c173));for(const [_0x5189ce,_0x5d9787]of[...this[_0x2b5ce7(0x184)]]){if(!_0x5189ce[_0x2b5ce7(0x1e9)](_0x9d560a+'\x00'))continue;this[_0x2b5ce7(0x184)][_0x2b5ce7(0x1f6)](_0x5189ce),this[_0x2b5ce7(0x184)][_0x2b5ce7(0x1d4)](''+_0x15c173+_0x5189ce[_0x2b5ce7(0x1b9)](_0x9d560a[_0x2b5ce7(0x13d)]),_0x5d9787);}for(const [_0x34f392,_0x598764]of this[_0x2b5ce7(0x237)])if(_0x598764[_0x2b5ce7(0x19d)]===_0x9d560a)this[_0x2b5ce7(0x237)][_0x2b5ce7(0x1d4)](_0x34f392,{..._0x598764,'sessionId':_0x15c173});for(const _0x15334a of _0x50612c){const _0xc14cf8=this[_0x2b5ce7(0x16f)](_0x15334a['id']);this[_0x2b5ce7(0x1dc)](_0xc14cf8,_0x17cf37);}return _0x17cf37;}[_0x34e5c0(0x14d)](_0x248642,_0x33442e){const _0x4f55ad=_0x34e5c0;if(_0x33442e[_0x4f55ad(0x13d)]<0x1d2*0x2+-0xa94+0x700)throw new Error(_0x4f55ad(0x19c));this[_0x4f55ad(0x151)](_0x248642,{'channelToken':_0x33442e});}[_0x34e5c0(0x215)](_0x362659){const _0x78fbee=_0x34e5c0,_0x276d74=this[_0x78fbee(0x15b)](_0x362659[_0x78fbee(0x19d)]),_0x55a939=_0x362659[_0x78fbee(0x132)]===undefined?_0x276d74[_0x78fbee(0x132)]:_0x362659[_0x78fbee(0x132)]?.[_0x78fbee(0x152)]()||null;if(_0x55a939!==null&&_0x55a939[_0x78fbee(0x13d)]>0x5*-0x5b8+0x26af+-0x977)throw new Error(_0x78fbee(0x21c));return this[_0x78fbee(0x151)](_0x276d74['id'],{'customTitle':_0x55a939,'pinnedAt':_0x362659[_0x78fbee(0x232)]===undefined?_0x276d74[_0x78fbee(0x236)]:_0x362659[_0x78fbee(0x232)]?this[_0x78fbee(0x18c)]():null,'titleSource':_0x55a939===null?_0x78fbee(0x15e):_0x78fbee(0x1ab)});}[_0x34e5c0(0x1d6)](_0xbd22af,_0x47f382){const _0x583e8c=_0x34e5c0,_0x2c2285=this[_0x583e8c(0x15b)](_0xbd22af),_0xac146c=_0x47f382[_0x583e8c(0x152)]()[_0x583e8c(0x20b)](/\s+/g,'\x20')[_0x583e8c(0x1b9)](0x1*-0x3d2+0x1f6d*-0x1+-0x509*-0x7,-0x15ed+-0x112+-0x179f*-0x1);if(_0xac146c[_0x583e8c(0x13d)]===-0x1*-0xd98+0x230+-0xa*0x194||_0x2c2285[_0x583e8c(0x132)]!==null||_0x2c2285[_0x583e8c(0x175)]!==null)return _0x2c2285;return this[_0x583e8c(0x151)](_0xbd22af,{'runnerTitle':_0xac146c,'titleSource':_0x583e8c(0x15e)});}[_0x34e5c0(0x1de)](_0x137d8c,_0x48ec4d){const _0x3715f2=_0x34e5c0,_0x407efe=this[_0x3715f2(0x15b)](_0x137d8c),_0x1f96d9=_0x48ec4d[_0x3715f2(0x152)]()[_0x3715f2(0x20b)](/\s+/g,'\x20')[_0x3715f2(0x1b9)](-0x4ce*-0x1+-0xf5+-0x3d9,0x13cd+0x2279+-0xda*0x3f);if(_0x1f96d9[_0x3715f2(0x13d)]===0x4*-0x626+-0x24+0x18bc||_0x407efe[_0x3715f2(0x132)]!==null||_0x407efe[_0x3715f2(0x175)]===_0x1f96d9||_0x407efe[_0x3715f2(0x20c)]===_0x3715f2(0x15e)&&isDefaultRunnerTitle(_0x1f96d9))return _0x407efe;return this[_0x3715f2(0x151)](_0x137d8c,{'runnerTitle':_0x1f96d9,'titleSource':_0x3715f2(0x1e6)});}[_0x34e5c0(0x171)](_0x22d6dc){const _0x2244fd=_0x34e5c0,_0x3ec517=_0x22d6dc[_0x2244fd(0x19d)]+'\x00'+_0x22d6dc[_0x2244fd(0x1b7)],_0x896268=this[_0x2244fd(0x184)][_0x2244fd(0x136)](_0x3ec517);if(_0x896268!==undefined){if(_0x896268[_0x2244fd(0x235)]!==_0x2244fd(0x178))throw new Error(_0x2244fd(0x15c));return{'run':this[_0x2244fd(0x16f)](_0x896268['id']),'created':![]};}const _0x532221=this[_0x2244fd(0x15b)](_0x22d6dc[_0x2244fd(0x19d)]);if(this[_0x2244fd(0x1c6)](_0x532221['id'])!==undefined)throw new Error(_0x2244fd(0x1b2));const _0x57ebbb=this[_0x2244fd(0x18c)](),_0x59c3ea={'id':_0x22d6dc[_0x2244fd(0x1a2)]??randomUUID(),'sessionId':_0x532221['id'],'nodeId':this[_0x2244fd(0x176)](),'workspaceId':_0x532221[_0x2244fd(0x219)],'runner':_0x532221[_0x2244fd(0x247)],'status':_0x2244fd(0x147),'recoveryState':_0x2244fd(0x214),'version':0x0,'clientMessageId':_0x22d6dc[_0x2244fd(0x1b7)],..._0x22d6dc[_0x2244fd(0x1e4)]===undefined?{}:{'initiatedByUserId':_0x22d6dc[_0x2244fd(0x1e4)]},'createdAt':_0x57ebbb,'startedAt':_0x57ebbb,'completedAt':null,'updatedAt':_0x57ebbb},_0x3e24de=this[_0x2244fd(0x18b)](_0x59c3ea['id'],_0x22d6dc[_0x2244fd(0x199)]??[]),_0x1bbece={'id':randomUUID(),'sessionId':_0x532221['id'],'turnId':'','runId':_0x59c3ea['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x2244fd(0x13c),'status':_0x2244fd(0x213),'payload':{'clientMessageId':_0x22d6dc[_0x2244fd(0x1b7)],'text':_0x22d6dc[_0x2244fd(0x1b1)],'contexts':[],'attachments':_0x3e24de,'delivery':_0x2244fd(0x139)},'startedAt':_0x57ebbb,'completedAt':_0x57ebbb},_0x59b079={'id':randomUUID(),'sessionId':_0x532221['id'],'runId':_0x59c3ea['id'],'userItemId':_0x1bbece['id'],'status':_0x2244fd(0x188),'model':_0x532221[_0x2244fd(0x16b)],'effort':_0x532221[_0x2244fd(0x208)],'access':_0x532221[_0x2244fd(0x18f)],'items':[_0x1bbece],'startedAt':_0x57ebbb,'completedAt':null},_0x4e858b={..._0x59b079,'items':[{..._0x1bbece,'turnId':_0x59b079['id']}]};return this[_0x2244fd(0x1a8)][_0x2244fd(0x1d4)](_0x59c3ea['id'],_0x59c3ea),this[_0x2244fd(0x184)][_0x2244fd(0x1d4)](_0x3ec517,{'kind':_0x2244fd(0x178),'id':_0x59c3ea['id']}),this[_0x2244fd(0x17a)][_0x2244fd(0x1d4)](_0x532221['id'],_0x59c3ea['id']),this[_0x2244fd(0x209)][_0x2244fd(0x1d4)](_0x532221['id'],[...this[_0x2244fd(0x209)][_0x2244fd(0x136)](_0x532221['id'])??[],_0x4e858b]),this[_0x2244fd(0x151)](_0x532221['id'],{'lastActivityAt':_0x57ebbb}),this[_0x2244fd(0x1dc)](_0x59c3ea,this[_0x2244fd(0x15b)](_0x532221['id'])),{'run':_0x59c3ea,'created':!![]};}[_0x34e5c0(0x1d9)](_0x23b41e){const _0x1845ca=_0x34e5c0,_0x52be34=_0x23b41e[_0x1845ca(0x19d)]+'\x00'+_0x23b41e[_0x1845ca(0x1b7)],_0x50652f=this[_0x1845ca(0x184)][_0x1845ca(0x136)](_0x52be34);if(_0x50652f!==undefined){if(_0x50652f[_0x1845ca(0x235)]!==_0x1845ca(0x148))throw new Error(_0x1845ca(0x1aa));return{'item':this[_0x1845ca(0x1df)](_0x50652f['id']),'created':![]};}const _0x5eb174=this[_0x1845ca(0x15b)](_0x23b41e[_0x1845ca(0x19d)]),_0x130a25=this[_0x1845ca(0x1c6)](_0x5eb174['id']);if(_0x130a25!==undefined&&_0x130a25[_0x1845ca(0x1e4)]!==undefined&&_0x23b41e[_0x1845ca(0x1e4)]!==_0x130a25[_0x1845ca(0x1e4)])throw new Error(_0x1845ca(0x1a5));const _0x5450fe=this[_0x1845ca(0x18c)](),_0x40497c={'id':_0x23b41e[_0x1845ca(0x234)]??randomUUID(),'sessionId':_0x5eb174['id'],'workspaceId':_0x5eb174[_0x1845ca(0x219)],'runner':_0x5eb174[_0x1845ca(0x247)],'clientMessageId':_0x23b41e[_0x1845ca(0x1b7)],'content':_0x23b41e[_0x1845ca(0x1b1)],'attachments':_0x23b41e[_0x1845ca(0x199)]??[],..._0x23b41e[_0x1845ca(0x1e4)]===undefined?{}:{'initiatedByUserId':_0x23b41e[_0x1845ca(0x1e4)]},'createdAt':_0x5450fe};return this[_0x1845ca(0x1a3)][_0x1845ca(0x1d4)](_0x40497c['id'],_0x40497c),this[_0x1845ca(0x184)][_0x1845ca(0x1d4)](_0x52be34,{'kind':_0x1845ca(0x148),'id':_0x40497c['id']}),this[_0x1845ca(0x1a4)][_0x1845ca(0x1d4)](_0x5eb174['id'],[...this[_0x1845ca(0x1a4)][_0x1845ca(0x136)](_0x5eb174['id'])??[],_0x40497c['id']]),this[_0x1845ca(0x190)](_0x5eb174['id']),{'item':_0x40497c,'created':!![]};}[_0x34e5c0(0x1f1)](_0x19844b){const _0x37346c=_0x34e5c0;return{'version':this[_0x37346c(0x14c)][_0x37346c(0x136)](_0x19844b)??-0x1f99+-0x87d*-0x3+0x622,'paused':this[_0x37346c(0x187)][_0x37346c(0x1b4)](_0x19844b),'itemIds':this[_0x37346c(0x1a4)][_0x37346c(0x136)](_0x19844b)??[]};}[_0x34e5c0(0x1f5)](_0x497a71){const _0x3d2790=_0x34e5c0;return this[_0x3d2790(0x1a3)][_0x3d2790(0x136)](_0x497a71);}[_0x34e5c0(0x179)](_0x556356){const _0x27b74e=_0x34e5c0;if(this[_0x27b74e(0x187)][_0x27b74e(0x1b4)](_0x556356))return undefined;const _0x3946e0=this[_0x27b74e(0x1c6)](_0x556356);if(_0x3946e0===undefined)return undefined;const _0x16923c=this[_0x27b74e(0x1a4)][_0x27b74e(0x136)](_0x556356)??[],_0x476877=_0x16923c[0x1*-0x54+-0x2b*0x54+0xe70];if(_0x476877===undefined)return undefined;this[_0x27b74e(0x1a4)][_0x27b74e(0x1d4)](_0x556356,_0x16923c[_0x27b74e(0x1b9)](-0x1*0x2045+-0x5*-0x18+0x2*0xfe7)),this[_0x27b74e(0x190)](_0x556356);const _0x4e30e9=this[_0x27b74e(0x1df)](_0x476877);this[_0x27b74e(0x1a3)][_0x27b74e(0x1f6)](_0x476877),this[_0x27b74e(0x184)][_0x27b74e(0x1d4)](_0x4e30e9[_0x27b74e(0x19d)]+'\x00'+_0x4e30e9[_0x27b74e(0x1b7)],{'kind':_0x27b74e(0x178),'id':_0x3946e0['id']});const _0x57b1e1=this[_0x27b74e(0x246)](_0x3946e0,_0x4e30e9[_0x27b74e(0x1b7)],_0x4e30e9[_0x27b74e(0x1b1)],_0x4e30e9[_0x27b74e(0x199)]);return this[_0x27b74e(0x1dc)](_0x3946e0,this[_0x27b74e(0x15b)](_0x556356)),{'item':_0x4e30e9,'turn':_0x57b1e1};}[_0x34e5c0(0x1b0)](_0x5b8db2){const _0x62a9c7=_0x34e5c0,_0x3f4a6f=this[_0x62a9c7(0x1df)](_0x5b8db2);if(this[_0x62a9c7(0x1c6)](_0x3f4a6f[_0x62a9c7(0x19d)])!==undefined)throw new Error(_0x62a9c7(0x1b2));const _0x40b8a9=this[_0x62a9c7(0x1a4)][_0x62a9c7(0x136)](_0x3f4a6f[_0x62a9c7(0x19d)])??[];if(_0x40b8a9[0x13*-0xae+0x1*-0x1adf+0x27c9]!==_0x5b8db2)throw new Error(_0x62a9c7(0x183));this[_0x62a9c7(0x1a4)][_0x62a9c7(0x1d4)](_0x3f4a6f[_0x62a9c7(0x19d)],_0x40b8a9[_0x62a9c7(0x1b9)](0x986+0x837+0x1*-0x11bc)),this[_0x62a9c7(0x1a3)][_0x62a9c7(0x1f6)](_0x5b8db2),this[_0x62a9c7(0x184)][_0x62a9c7(0x1f6)](_0x3f4a6f[_0x62a9c7(0x19d)]+'\x00'+_0x3f4a6f[_0x62a9c7(0x1b7)]),this[_0x62a9c7(0x190)](_0x3f4a6f[_0x62a9c7(0x19d)]);const _0x11391c=this[_0x62a9c7(0x171)]({'sessionId':_0x3f4a6f[_0x62a9c7(0x19d)],'clientMessageId':_0x3f4a6f[_0x62a9c7(0x1b7)],'content':_0x3f4a6f[_0x62a9c7(0x1b1)],..._0x3f4a6f[_0x62a9c7(0x199)][_0x62a9c7(0x13d)]===-0x1a6*0x11+-0x251d*-0x1+-0x917?{}:{'attachments':_0x3f4a6f[_0x62a9c7(0x199)]},..._0x3f4a6f[_0x62a9c7(0x1e4)]===undefined?{}:{'initiatedByUserId':_0x3f4a6f[_0x62a9c7(0x1e4)]}}),_0x28d09b=this[_0x62a9c7(0x135)](_0x11391c[_0x62a9c7(0x178)]['id']);if(_0x28d09b===undefined)throw new Error(_0x62a9c7(0x16d));return{'run':_0x11391c[_0x62a9c7(0x178)],'turn':_0x28d09b};}[_0x34e5c0(0x1cb)](_0x216db0){const _0xabe714=_0x34e5c0;this[_0xabe714(0x187)][_0xabe714(0x16a)](_0x216db0),this[_0xabe714(0x190)](_0x216db0);}[_0x34e5c0(0x225)](_0x422e82){const _0x521012=_0x34e5c0;if(!this[_0x521012(0x187)][_0x521012(0x1f6)](_0x422e82))return;this[_0x521012(0x190)](_0x422e82);}[_0x34e5c0(0x23d)](_0x2bdd61,_0x31688f,_0x4b8485){const _0x33c5b2=_0x34e5c0,_0x29aab9=this[_0x33c5b2(0x1a4)][_0x33c5b2(0x136)](_0x2bdd61)??[];if(this[_0x33c5b2(0x1f1)](_0x2bdd61)[_0x33c5b2(0x244)]!==_0x31688f||_0x29aab9[_0x33c5b2(0x13d)]!==_0x4b8485[_0x33c5b2(0x13d)]||new Set(_0x29aab9)[_0x33c5b2(0x1c5)]!==_0x29aab9[_0x33c5b2(0x13d)]||_0x29aab9[_0x33c5b2(0x21d)](_0x16647c=>!_0x4b8485[_0x33c5b2(0x14b)](_0x16647c)))throw new Error(_0x33c5b2(0x14a));if(_0x4b8485[_0x33c5b2(0x21d)](_0x1a089c=>this[_0x33c5b2(0x1a3)][_0x33c5b2(0x136)](_0x1a089c)?.[_0x33c5b2(0x19d)]!==_0x2bdd61))throw new Error(_0x33c5b2(0x183));this[_0x33c5b2(0x1a4)][_0x33c5b2(0x1d4)](_0x2bdd61,[..._0x4b8485]),this[_0x33c5b2(0x190)](_0x2bdd61);}[_0x34e5c0(0x222)](_0x35525d){const _0x3ef7b8=_0x34e5c0,_0x1b4221=this[_0x3ef7b8(0x1df)](_0x35525d),_0x110756=this[_0x3ef7b8(0x1a4)][_0x3ef7b8(0x136)](_0x1b4221[_0x3ef7b8(0x19d)])??[];if(!_0x110756[_0x3ef7b8(0x14b)](_0x35525d))throw new Error(_0x3ef7b8(0x183));return this[_0x3ef7b8(0x1a4)][_0x3ef7b8(0x1d4)](_0x1b4221[_0x3ef7b8(0x19d)],[_0x35525d,..._0x110756[_0x3ef7b8(0x156)](_0x24d031=>_0x24d031!==_0x35525d)]),this[_0x3ef7b8(0x190)](_0x1b4221[_0x3ef7b8(0x19d)]),_0x1b4221;}[_0x34e5c0(0x146)](_0x355993,_0xc93343){const _0xb0549d=_0x34e5c0,_0x4a2eb5=this[_0xb0549d(0x1df)](_0x355993);if(!(this[_0xb0549d(0x1a4)][_0xb0549d(0x136)](_0x4a2eb5[_0xb0549d(0x19d)])??[])[_0xb0549d(0x14b)](_0x355993))throw new Error(_0xb0549d(0x183));const _0x35bc9a={..._0x4a2eb5,'content':_0xc93343};return this[_0xb0549d(0x1a3)][_0xb0549d(0x1d4)](_0x355993,_0x35bc9a),this[_0xb0549d(0x190)](_0x4a2eb5[_0xb0549d(0x19d)]),_0x35bc9a;}[_0x34e5c0(0x17c)](_0x46fb90,_0xc5005c){const _0x2beea2=_0x34e5c0,_0x134a58=this[_0x2beea2(0x1df)](_0x46fb90),_0x30e04d={..._0x134a58,'attachments':_0xc5005c};return this[_0x2beea2(0x1a3)][_0x2beea2(0x1d4)](_0x46fb90,_0x30e04d),_0x30e04d;}[_0x34e5c0(0x17b)](_0x337fd7){const _0x211043=_0x34e5c0,_0x181c39=this[_0x211043(0x1df)](_0x337fd7),_0x5f190c=this[_0x211043(0x1a4)][_0x211043(0x136)](_0x181c39[_0x211043(0x19d)])??[];if(!_0x5f190c[_0x211043(0x14b)](_0x337fd7))throw new Error(_0x211043(0x183));this[_0x211043(0x1a4)][_0x211043(0x1d4)](_0x181c39[_0x211043(0x19d)],_0x5f190c[_0x211043(0x156)](_0x423c96=>_0x423c96!==_0x337fd7)),this[_0x211043(0x190)](_0x181c39[_0x211043(0x19d)]),this[_0x211043(0x1a3)][_0x211043(0x1f6)](_0x337fd7);for(const [_0x565e20,_0x11f24d]of this[_0x211043(0x184)])if(_0x11f24d[_0x211043(0x235)]===_0x211043(0x148)&&_0x11f24d['id']===_0x337fd7)this[_0x211043(0x184)][_0x211043(0x1f6)](_0x565e20);}[_0x34e5c0(0x138)](_0x15bc89){const _0x1b5a08=_0x34e5c0,_0x4513f9=this[_0x1b5a08(0x16f)](_0x15bc89),_0x32ca16=(this[_0x1b5a08(0x209)][_0x1b5a08(0x136)](_0x4513f9[_0x1b5a08(0x19d)])??[])[_0x1b5a08(0x1e7)](_0x1400e0=>_0x1400e0[_0x1b5a08(0x1a2)]===_0x15bc89),_0x4a499e=_0x32ca16?.[_0x1b5a08(0x1be)][_0x1b5a08(0x19e)](_0x563186=>_0x563186['id']===_0x32ca16[_0x1b5a08(0x141)]);return isRecord(_0x4a499e?.[_0x1b5a08(0x185)])&&typeof _0x4a499e[_0x1b5a08(0x185)][_0x1b5a08(0x19f)]===_0x1b5a08(0x1c0)?_0x4a499e[_0x1b5a08(0x185)][_0x1b5a08(0x19f)]:'';}[_0x34e5c0(0x248)](_0x3e7b8b,_0x3adb9e){const _0x3d876c=_0x34e5c0,_0x6fb8ee=this[_0x3d876c(0x18b)](_0x3e7b8b,_0x3adb9e);this[_0x3d876c(0x180)](_0x3e7b8b,_0x3e4ca1=>({..._0x3e4ca1,'items':_0x3e4ca1[_0x3d876c(0x1be)][_0x3d876c(0x1f2)](_0x3a46b1=>_0x3a46b1['id']===_0x3e4ca1[_0x3d876c(0x141)]&&isRecord(_0x3a46b1[_0x3d876c(0x185)])?{..._0x3a46b1,'payload':{..._0x3a46b1[_0x3d876c(0x185)],'attachments':_0x6fb8ee}}:_0x3a46b1)}));}[_0x34e5c0(0x18d)](_0xd65879){const _0x5d3f28=_0x34e5c0,_0x48f822=this[_0x5d3f28(0x161)][_0x5d3f28(0x136)](_0xd65879)?.[_0x5d3f28(0x1a2)]??_0xd65879;return this[_0x5d3f28(0x1a8)][_0x5d3f28(0x136)](_0x48f822);}[_0x34e5c0(0x1ef)](_0x4ac779,_0xfffe7d){const _0x4e93a1=_0x34e5c0,_0x3c781=this[_0x4e93a1(0x184)][_0x4e93a1(0x136)](_0x4ac779+'\x00'+_0xfffe7d);return _0x3c781?.[_0x4e93a1(0x235)]===_0x4e93a1(0x178)?this[_0x4e93a1(0x1a8)][_0x4e93a1(0x136)](_0x3c781['id']):undefined;}[_0x34e5c0(0x177)](_0x9d48ff,_0x3bbf89){const _0x2a1915=_0x34e5c0,_0x1bb102=this[_0x2a1915(0x184)][_0x2a1915(0x136)](_0x9d48ff+'\x00'+_0x3bbf89);if(_0x1bb102===undefined)return undefined;if(_0x1bb102[_0x2a1915(0x235)]===_0x2a1915(0x178))return{'kind':_0x2a1915(0x178),'run':this[_0x2a1915(0x16f)](_0x1bb102['id'])};const _0x25b630=this[_0x2a1915(0x1df)](_0x1bb102['id']),_0x30cf16=this[_0x2a1915(0x1c6)](_0x9d48ff);if(_0x30cf16===undefined)throw new Error(_0x2a1915(0x1f9));return{'kind':_0x2a1915(0x148),'item':_0x25b630,'run':_0x30cf16};}[_0x34e5c0(0x191)](_0x2a95a6,_0x55fe66){const _0xa6e9b3=_0x34e5c0;return this[_0xa6e9b3(0x19b)][_0xa6e9b3(0x136)](_0x2a95a6+'\x00'+_0x55fe66);}[_0x34e5c0(0x1f7)](_0x3723e6,_0x281ce8){const _0x4590d1=_0x34e5c0,_0x2fb7d7=[...this[_0x4590d1(0x184)]][_0x4590d1(0x19e)](([,_0x3e1554])=>_0x3e1554['id']===_0x3723e6);if(_0x2fb7d7===undefined)return;this[_0x4590d1(0x19b)][_0x4590d1(0x1d4)](_0x2fb7d7[0x2607+0xce+-0x26d5],_0x281ce8);if(this[_0x4590d1(0x19b)][_0x4590d1(0x1c5)]>0xd8d*0x2+0xb7c+0x26*-0xe9)this[_0x4590d1(0x19b)][_0x4590d1(0x1f6)](this[_0x4590d1(0x19b)][_0x4590d1(0x1a9)]()[_0x4590d1(0x24a)]()[_0x4590d1(0x162)]);}[_0x34e5c0(0x1db)](_0x3b376b){const _0x4f0650=_0x34e5c0;return[...this[_0x4f0650(0x1a8)][_0x4f0650(0x241)]()][_0x4f0650(0x156)](_0x2689dd=>_0x2689dd[_0x4f0650(0x19d)]===_0x3b376b)[_0x4f0650(0x227)]((_0x4f64d6,_0x3fd6d1)=>_0x3fd6d1[_0x4f0650(0x172)]-_0x4f64d6[_0x4f0650(0x172)]);}[_0x34e5c0(0x1ed)](_0x28b9cb,_0x3d9d49){const _0x29b4bb=_0x34e5c0,_0x302c6b=this[_0x29b4bb(0x161)][_0x29b4bb(0x136)](_0x28b9cb)?.[_0x29b4bb(0x1a2)]??_0x28b9cb,_0x354e4d=this[_0x29b4bb(0x16f)](_0x302c6b);if(!transitionAllowed(_0x354e4d[_0x29b4bb(0x21a)],_0x3d9d49))throw new Error(_0x29b4bb(0x207));const _0x232e57=this[_0x29b4bb(0x18c)](),_0x15a30d={..._0x354e4d,'status':_0x3d9d49,'version':_0x354e4d[_0x29b4bb(0x244)]+(-0x19f6+-0x2*-0x2d2+0x1453),'completedAt':terminal(_0x3d9d49)?_0x232e57:_0x354e4d[_0x29b4bb(0x1b6)],'updatedAt':_0x232e57};this[_0x29b4bb(0x1a8)][_0x29b4bb(0x1d4)](_0x302c6b,_0x15a30d),this[_0x29b4bb(0x1dc)](_0x15a30d,this[_0x29b4bb(0x15b)](_0x15a30d[_0x29b4bb(0x19d)]));if(terminal(_0x3d9d49)&&this[_0x29b4bb(0x17a)][_0x29b4bb(0x136)](_0x15a30d[_0x29b4bb(0x19d)])===_0x15a30d['id'])this[_0x29b4bb(0x17a)][_0x29b4bb(0x1f6)](_0x15a30d[_0x29b4bb(0x19d)]);return this[_0x29b4bb(0x180)](_0x15a30d['id'],_0xe537ff=>({..._0xe537ff,'status':_0x3d9d49,'completedAt':terminal(_0x3d9d49)?this[_0x29b4bb(0x18c)]():_0xe537ff[_0x29b4bb(0x1b6)],'items':terminal(_0x3d9d49)?_0xe537ff[_0x29b4bb(0x1be)][_0x29b4bb(0x1f2)](_0x5d31f8=>activeConversationItem(_0x5d31f8[_0x29b4bb(0x21a)])?{..._0x5d31f8,'status':completedStatusForRun(_0x3d9d49),'completedAt':this[_0x29b4bb(0x18c)]()}:_0x5d31f8):_0xe537ff[_0x29b4bb(0x1be)]})),_0x15a30d;}[_0x34e5c0(0x242)](_0x3baadc){const _0x5c4ead=_0x34e5c0,_0x2f06b1=this[_0x5c4ead(0x161)][_0x5c4ead(0x136)](_0x3baadc[_0x5c4ead(0x1a2)]),_0xd66bda=_0x2f06b1?.[_0x5c4ead(0x1a2)]??_0x3baadc[_0x5c4ead(0x1a2)];this[_0x5c4ead(0x16f)](_0xd66bda);const _0x40dc9d=this[_0x5c4ead(0x1c7)][_0x5c4ead(0x136)](_0xd66bda)??0x1*-0x38f+-0xe*-0x157+0xf33*-0x1;if(_0x3baadc[_0x5c4ead(0x166)]<=_0x40dc9d)return undefined;if(_0x3baadc[_0x5c4ead(0x166)]>_0x40dc9d+(-0x91c*-0x3+0x4*-0x236+-0x127b))throw new Error(_0x5c4ead(0x173));const _0x327fdb={'runId':_0xd66bda,'sequence':_0x3baadc[_0x5c4ead(0x166)],'eventType':_0x3baadc[_0x5c4ead(0x204)],'payload':_0x3baadc[_0x5c4ead(0x185)],..._0x3baadc[_0x5c4ead(0x21a)]===undefined?{}:{'status':_0x3baadc[_0x5c4ead(0x21a)]},'createdAt':this[_0x5c4ead(0x18c)]()};this[_0x5c4ead(0x1c7)][_0x5c4ead(0x1d4)](_0xd66bda,_0x3baadc[_0x5c4ead(0x166)]);if(_0x2f06b1!==undefined&&_0x3baadc[_0x5c4ead(0x21a)]!==undefined){const _0x572f38=executionStatusForRun(_0x3baadc[_0x5c4ead(0x21a)]);this[_0x5c4ead(0x161)][_0x5c4ead(0x1d4)](_0x3baadc[_0x5c4ead(0x1a2)],{..._0x2f06b1,'status':_0x572f38,'completedAt':terminal(_0x3baadc[_0x5c4ead(0x21a)])?_0x327fdb[_0x5c4ead(0x172)]:_0x2f06b1[_0x5c4ead(0x1b6)]});}if(_0x3baadc[_0x5c4ead(0x21a)]!==undefined&&!terminal(_0x3baadc[_0x5c4ead(0x21a)]))this[_0x5c4ead(0x1ed)](_0xd66bda,_0x3baadc[_0x5c4ead(0x21a)]);this[_0x5c4ead(0x1e2)](_0x327fdb,_0x2f06b1?.[_0x5c4ead(0x1af)]);if(_0x3baadc[_0x5c4ead(0x21a)]!==undefined&&terminal(_0x3baadc[_0x5c4ead(0x21a)])&&_0x2f06b1!==undefined)this[_0x5c4ead(0x239)](_0x2f06b1[_0x5c4ead(0x1af)],_0x3baadc[_0x5c4ead(0x21a)],_0x327fdb[_0x5c4ead(0x172)]);return _0x327fdb;}[_0x34e5c0(0x164)](_0x4e18c){const _0x47c800=_0x34e5c0,_0x5f4b81=this[_0x47c800(0x135)](_0x4e18c);if(_0x5f4b81===undefined)return undefined;for(const [_0x5bddcd,_0x2d9523]of this[_0x47c800(0x161)])if(_0x2d9523[_0x47c800(0x1a2)]===_0x4e18c&&_0x2d9523[_0x47c800(0x1af)]===_0x5f4b81['id']&&!terminalExecution(_0x2d9523[_0x47c800(0x21a)]))return _0x5bddcd;return undefined;}[_0x34e5c0(0x137)](_0x252433){const _0x396012=_0x34e5c0,_0x4cdf9e=this[_0x396012(0x1dd)](_0x252433),_0x5c0335=this[_0x396012(0x135)](_0x4cdf9e);if(_0x5c0335===undefined||_0x5c0335[_0x396012(0x21a)]!==_0x396012(0x188))throw new Error(_0x396012(0x189));const _0x52646c=[...this[_0x396012(0x161)][_0x396012(0x241)]()][_0x396012(0x19e)](_0x27045b=>_0x27045b[_0x396012(0x1a2)]===_0x4cdf9e&&_0x27045b[_0x396012(0x1af)]===_0x5c0335['id']);if(_0x52646c!==undefined)return _0x52646c;const _0x415f93=this[_0x396012(0x18c)](),_0x4931c9={'id':randomUUID(),'runId':_0x4cdf9e,'turnId':_0x5c0335['id'],'status':_0x396012(0x147),'startedAt':_0x415f93,'completedAt':null};return this[_0x396012(0x161)][_0x396012(0x1d4)](_0x4931c9['id'],_0x4931c9),this[_0x396012(0x180)](_0x4cdf9e,_0x577d01=>({..._0x577d01,'items':_0x577d01[_0x396012(0x1be)][_0x396012(0x1f2)](_0x2ba63c=>_0x2ba63c['id']===_0x577d01[_0x396012(0x141)]&&isRecord(_0x2ba63c[_0x396012(0x185)])&&Array[_0x396012(0x212)](_0x2ba63c[_0x396012(0x185)][_0x396012(0x199)])?{..._0x2ba63c,'payload':{..._0x2ba63c[_0x396012(0x185)],'attachments':_0x2ba63c[_0x396012(0x185)][_0x396012(0x199)][_0x396012(0x1f2)](_0xbd1fde=>isRecord(_0xbd1fde)&&typeof _0xbd1fde[_0x396012(0x1fe)]===_0x396012(0x186)?{..._0xbd1fde,'runId':_0x4931c9['id']}:_0xbd1fde)}}:_0x2ba63c)})),_0x4931c9;}[_0x34e5c0(0x1dd)](_0xdfc602){const _0x35654e=_0x34e5c0;return this[_0x35654e(0x161)][_0x35654e(0x136)](_0xdfc602)?.[_0x35654e(0x1a2)]??_0xdfc602;}[_0x34e5c0(0x159)](_0x34990e,_0xc3c57){const _0xd1dbe7=_0x34e5c0;return this[_0xd1dbe7(0x1ed)](this[_0xd1dbe7(0x1dd)](_0x34990e),_0xc3c57);}[_0x34e5c0(0x134)](_0x292dcf){const _0x5c64b3=_0x34e5c0;this[_0x5c64b3(0x15b)](_0x292dcf[_0x5c64b3(0x19d)]);const _0x427336=[...this[_0x5c64b3(0x209)][_0x5c64b3(0x136)](_0x292dcf[_0x5c64b3(0x19d)])??[]][_0x5c64b3(0x1f2)]((_0x13b7ac,_0x3424dc)=>({'turn':_0x13b7ac,'index':_0x3424dc}))[_0x5c64b3(0x227)]((_0x4ac8ba,_0x1e26e2)=>{const _0x342f74=_0x5c64b3,_0x5de2ae=_0x1b10c0=>_0x1b10c0[_0x342f74(0x1be)][_0x342f74(0x19e)](_0x5bbf40=>_0x5bbf40['id']===_0x1b10c0[_0x342f74(0x141)])?.[_0x342f74(0x1ea)]??_0x1b10c0[_0x342f74(0x1ea)]??_0x1b10c0[_0x342f74(0x1b6)]??-0x3cb*0x1+-0xb1*0x25+0x1d60;return _0x5de2ae(_0x4ac8ba[_0x342f74(0x1c4)])-_0x5de2ae(_0x1e26e2[_0x342f74(0x1c4)])||_0x4ac8ba[_0x342f74(0x1f0)]-_0x1e26e2[_0x342f74(0x1f0)];})[_0x5c64b3(0x1f2)](({turn:_0x23bf64})=>_0x23bf64),_0x3f64fd=_0x292dcf[_0x5c64b3(0x1b5)]===undefined?_0x427336[_0x5c64b3(0x13d)]:decodeCursor(_0x292dcf[_0x5c64b3(0x1b5)],_0x292dcf[_0x5c64b3(0x19d)]),_0x1d08d0=Math[_0x5c64b3(0x15a)](Math[_0x5c64b3(0x18a)](_0x292dcf[_0x5c64b3(0x1b3)]??0x2a9+-0x1*0xbe4+0x1*0x959,-0xf4+-0x257b+0x2670),-0x114a+-0xe55*0x1+-0x3*-0xb31),_0x1288c5=Math[_0x5c64b3(0x18a)](0x1416+0x1ffc+-0xd7*0x3e,_0x3f64fd-_0x1d08d0),_0x5c17f4=_0x427336[_0x5c64b3(0x1b9)](_0x1288c5,_0x3f64fd);return{'turns':_0x5c17f4,'nextCursor':_0x1288c5>-0x54f+-0x19*-0x74+-0x605?encodeCursor(_0x292dcf[_0x5c64b3(0x19d)],_0x1288c5):null};}[_0x34e5c0(0x1ac)](_0x4c11fd){const _0x33770d=_0x34e5c0;for(const _0x44f5d3 of this[_0x33770d(0x209)][_0x33770d(0x241)]()){const _0x5b95cb=_0x44f5d3[_0x33770d(0x1e7)](_0xe737be=>_0xe737be[_0x33770d(0x1a2)]===this[_0x33770d(0x1dd)](_0x4c11fd));if(_0x5b95cb!==undefined)return _0x5b95cb;}return undefined;}[_0x34e5c0(0x13f)](_0x3b31de){const _0x3347b0=_0x34e5c0,_0x138b08=this[_0x3347b0(0x161)][_0x3347b0(0x136)](_0x3b31de),_0x1a4682=_0x138b08===undefined?this[_0x3347b0(0x237)][_0x3347b0(0x136)](_0x3b31de):{'sessionId':this[_0x3347b0(0x16f)](_0x138b08[_0x3347b0(0x1a2)])[_0x3347b0(0x19d)],'turnId':_0x138b08[_0x3347b0(0x1af)]};if(_0x1a4682===undefined)return undefined;return(this[_0x3347b0(0x209)][_0x3347b0(0x136)](_0x1a4682[_0x3347b0(0x19d)])??[])[_0x3347b0(0x19e)](_0x35f702=>_0x35f702['id']===_0x1a4682[_0x3347b0(0x1af)]);}[_0x34e5c0(0x169)](_0x3cc0f8){const _0x33ca2c=_0x34e5c0,_0x4ed73d=this[_0x33ca2c(0x134)](_0x3cc0f8)[_0x33ca2c(0x209)];return{'items':_0x4ed73d[_0x33ca2c(0x1b8)](_0x13fa0d=>_0x13fa0d[_0x33ca2c(0x1be)]),'nextCursor':null};}[_0x34e5c0(0x16c)](_0x5e32c9){const _0x55e46e=_0x34e5c0,_0x5b30aa=this[_0x55e46e(0x15b)](_0x5e32c9[_0x55e46e(0x19d)]),_0x4d389f=this[_0x55e46e(0x18c)](),_0x25488e={'id':randomUUID(),'sessionId':_0x5e32c9[_0x55e46e(0x19d)],'turnId':'','runId':null,'parentItemId':null,'sourceSequence':null,'revision':0x1,'kind':_0x55e46e(0x1d3),'status':_0x5e32c9[_0x55e46e(0x17f)]?_0x55e46e(0x194):_0x55e46e(0x213),'payload':{'command':_0x5e32c9[_0x55e46e(0x1ae)],'cwd':_0x5e32c9[_0x55e46e(0x165)],'outputPreview':_0x5e32c9[_0x55e46e(0x13b)][_0x55e46e(0x1b9)](-0x78+-0xeba+0xf32,0x10f9+0x3e*-0x1f+0x1d99),'outputRef':null,'exitCode':_0x5e32c9[_0x55e46e(0x17f)]?-0x2547+0x24e4+0x64:0x1db+0x4*0x891+-0x529*0x7,'durationMs':0x0,'truncated':![]},'startedAt':_0x4d389f,'completedAt':_0x4d389f},_0x274879={'id':randomUUID(),'sessionId':_0x5e32c9[_0x55e46e(0x19d)],'runId':null,'userItemId':null,'status':_0x5e32c9[_0x55e46e(0x17f)]?_0x55e46e(0x194):_0x55e46e(0x160),'model':_0x5b30aa[_0x55e46e(0x16b)],'effort':_0x5b30aa[_0x55e46e(0x208)],'access':_0x5b30aa[_0x55e46e(0x18f)],'items':[],'startedAt':_0x4d389f,'completedAt':_0x4d389f},_0x4a484f={..._0x25488e,'turnId':_0x274879['id']},_0x385a0c={..._0x274879,'items':[_0x4a484f]};return this[_0x55e46e(0x209)][_0x55e46e(0x1d4)](_0x5e32c9[_0x55e46e(0x19d)],[...this[_0x55e46e(0x209)][_0x55e46e(0x136)](_0x5e32c9[_0x55e46e(0x19d)])??[],_0x385a0c]),this[_0x55e46e(0x151)](_0x5b30aa['id'],{'lastActivityAt':_0x4d389f}),_0x385a0c;}[_0x34e5c0(0x1d5)](_0x75f124){const _0x22311c=_0x34e5c0,_0x368003=this[_0x22311c(0x18d)](_0x75f124[_0x22311c(0x1a2)]);if(_0x368003===undefined)throw new Error(_0x22311c(0x1f9));if(_0x75f124[_0x22311c(0x1a2)]!==_0x368003['id']&&this[_0x22311c(0x164)](_0x368003['id'])!==_0x75f124[_0x22311c(0x1a2)])throw new Error(_0x22311c(0x193));if(this[_0x22311c(0x1e5)][_0x22311c(0x1b4)](_0x75f124[_0x22311c(0x182)]))throw new Error(_0x22311c(0x1e0));if(_0x75f124[_0x22311c(0x1fc)]<=this[_0x22311c(0x18c)]())throw new Error(_0x22311c(0x1ad));const _0x5f477a={'id':_0x75f124[_0x22311c(0x182)],'runId':_0x75f124[_0x22311c(0x1a2)],'status':_0x22311c(0x1fb),'payload':_0x75f124[_0x22311c(0x185)],'expiresAt':_0x75f124[_0x22311c(0x1fc)],'createdAt':this[_0x22311c(0x18c)](),'decidedAt':null};return this[_0x22311c(0x1e5)][_0x22311c(0x1d4)](_0x5f477a['id'],_0x5f477a),_0x5f477a;}[_0x34e5c0(0x195)](_0x40649f){const _0x23851a=_0x34e5c0,_0x335d52=this[_0x23851a(0x1e5)][_0x23851a(0x136)](_0x40649f);if(_0x335d52?.[_0x23851a(0x21a)]===_0x23851a(0x1fb)&&_0x335d52[_0x23851a(0x1fc)]<=this[_0x23851a(0x18c)]())return this[_0x23851a(0x15f)](_0x40649f);return _0x335d52;}[_0x34e5c0(0x1ba)](_0x1d3245){const _0x537efe=_0x34e5c0,_0x4a9346=this[_0x537efe(0x1dd)](_0x1d3245);return[...this[_0x537efe(0x1e5)][_0x537efe(0x241)]()][_0x537efe(0x156)](_0x287a0b=>this[_0x537efe(0x1dd)](_0x287a0b[_0x537efe(0x1a2)])===_0x4a9346)[_0x537efe(0x1f2)](_0x5c2343=>this[_0x537efe(0x195)](_0x5c2343['id']));}[_0x34e5c0(0x15f)](_0x4fd60e){const _0x44ed92=_0x34e5c0,_0x4d4007=this[_0x44ed92(0x1e3)](_0x4fd60e);if(_0x4d4007[_0x44ed92(0x21a)]!==_0x44ed92(0x1fb))return _0x4d4007;if(_0x4d4007[_0x44ed92(0x1fc)]>this[_0x44ed92(0x18c)]())throw new Error(_0x44ed92(0x226));const _0x40fb84={..._0x4d4007,'status':_0x44ed92(0x154),'decidedAt':this[_0x44ed92(0x18c)]()};return this[_0x44ed92(0x1e5)][_0x44ed92(0x1d4)](_0x4fd60e,_0x40fb84),_0x40fb84;}[_0x34e5c0(0x21e)](_0x4cd458,_0x1594d3){const _0x4eddc1=_0x34e5c0,_0x26206c=this[_0x4eddc1(0x195)](_0x4cd458);if(_0x26206c===undefined)throw new Error(_0x4eddc1(0x1cd));if(_0x26206c[_0x4eddc1(0x21a)]===_0x4eddc1(0x154))throw new Error(_0x4eddc1(0x1ad));if(_0x26206c[_0x4eddc1(0x21a)]!==_0x4eddc1(0x1fb))throw new Error(_0x4eddc1(0x145));const _0x195c5e={..._0x26206c,'status':_0x1594d3,'decidedAt':this[_0x4eddc1(0x18c)]()};return this[_0x4eddc1(0x1e5)][_0x4eddc1(0x1d4)](_0x4cd458,_0x195c5e),_0x195c5e;}[_0x34e5c0(0x1ee)](){const _0xb40c36=_0x34e5c0;return[...this[_0xb40c36(0x1e5)][_0xb40c36(0x241)]()][_0xb40c36(0x156)](_0x3f6c9c=>_0x3f6c9c[_0xb40c36(0x21a)]===_0xb40c36(0x1fb)&&_0x3f6c9c[_0xb40c36(0x1fc)]<=this[_0xb40c36(0x18c)]())[_0xb40c36(0x1f2)](_0x5f48a2=>this[_0xb40c36(0x15f)](_0x5f48a2['id']));}[_0x34e5c0(0x23f)](){const _0xc71173=_0x34e5c0;return[...this[_0xc71173(0x1a8)][_0xc71173(0x241)]()][_0xc71173(0x156)](_0x549cae=>!terminal(_0x549cae[_0xc71173(0x21a)]));}[_0x34e5c0(0x16e)](_0x20784d){const _0x3186c4=_0x34e5c0;return this[_0x3186c4(0x1c7)][_0x3186c4(0x136)](_0x20784d)??0x115*0x9+0x4fa+-0xeb7*0x1;}[_0x34e5c0(0x231)](_0x1000ce){const _0x3d84b0=_0x34e5c0,_0x822a05=this[_0x3d84b0(0x16f)](_0x1000ce);if(!terminal(_0x822a05[_0x3d84b0(0x21a)]))throw new Error(_0x3d84b0(0x1ca));this[_0x3d84b0(0x20a)][_0x3d84b0(0x16a)](_0x1000ce);if(this[_0x3d84b0(0x20a)][_0x3d84b0(0x1c5)]>0x1a01+0x1d5b+-0x335c)this[_0x3d84b0(0x20a)][_0x3d84b0(0x1f6)](this[_0x3d84b0(0x20a)][_0x3d84b0(0x241)]()[_0x3d84b0(0x24a)]()[_0x3d84b0(0x162)]);const _0x5bca0c=new Set([...this[_0x3d84b0(0x161)][_0x3d84b0(0x241)]()][_0x3d84b0(0x156)](_0xeefc27=>_0xeefc27[_0x3d84b0(0x1a2)]===_0x1000ce)[_0x3d84b0(0x1f2)](_0x2a76eb=>_0x2a76eb['id'])),_0x3a950b=(this[_0x3d84b0(0x209)][_0x3d84b0(0x136)](_0x822a05[_0x3d84b0(0x19d)])??[])[_0x3d84b0(0x156)](_0x1b29d0=>{const _0x23aff1=_0x3d84b0,_0x210836=_0x1b29d0[_0x23aff1(0x1be)][_0x23aff1(0x21d)](_0x4becb7=>_0x4becb7[_0x23aff1(0x235)]===_0x23aff1(0x228));if(_0x1b29d0[_0x23aff1(0x1a2)]===_0x1000ce)return _0x822a05[_0x23aff1(0x21a)]===_0x23aff1(0x160)||_0x822a05[_0x23aff1(0x21a)]===_0x23aff1(0x243)||_0x210836;const _0x4cc9d6=_0x210836&&_0x1b29d0[_0x23aff1(0x21a)]!==_0x23aff1(0x160)&&_0x1b29d0[_0x23aff1(0x21a)]!==_0x23aff1(0x243);return _0x822a05[_0x23aff1(0x21a)]!==_0x23aff1(0x160)||!_0x4cc9d6;}),_0x12bb6e=_0x3a950b[_0x3d84b0(0x156)](_0x1a8f7b=>terminalTurn(_0x1a8f7b[_0x3d84b0(0x21a)])),_0x25ce2c=new Set(_0x12bb6e[_0x3d84b0(0x1b9)](-NodeRuntimeState[_0x3d84b0(0x23e)])[_0x3d84b0(0x1f2)](_0x2fddb7=>_0x2fddb7['id'])),_0x4b6255=_0x3a950b[_0x3d84b0(0x156)](_0x82181b=>!terminalTurn(_0x82181b[_0x3d84b0(0x21a)])||_0x25ce2c[_0x3d84b0(0x1b4)](_0x82181b['id'])),_0x1a6c91=new Set(_0x4b6255[_0x3d84b0(0x1f2)](_0x2b00f7=>_0x2b00f7['id']));this[_0x3d84b0(0x209)][_0x3d84b0(0x1d4)](_0x822a05[_0x3d84b0(0x19d)],_0x4b6255);for(const [_0x1d45de,_0x46b9a2]of this[_0x3d84b0(0x161)]){if(_0x46b9a2[_0x3d84b0(0x1a2)]!==_0x1000ce)continue;this[_0x3d84b0(0x161)][_0x3d84b0(0x1f6)](_0x1d45de);if(_0x1a6c91[_0x3d84b0(0x1b4)](_0x46b9a2[_0x3d84b0(0x1af)]))this[_0x3d84b0(0x237)][_0x3d84b0(0x1d4)](_0x1d45de,{'sessionId':_0x822a05[_0x3d84b0(0x19d)],'turnId':_0x46b9a2[_0x3d84b0(0x1af)]});}this[_0x3d84b0(0x17d)](_0x822a05[_0x3d84b0(0x19d)],_0x1a6c91),this[_0x3d84b0(0x1a8)][_0x3d84b0(0x1f6)](_0x1000ce),this[_0x3d84b0(0x1c7)][_0x3d84b0(0x1f6)](_0x1000ce);for(const [_0x2cd2e2,_0x1b7c5d]of this[_0x3d84b0(0x184)])if(_0x1b7c5d[_0x3d84b0(0x235)]===_0x3d84b0(0x178)&&_0x1b7c5d['id']===_0x1000ce)this[_0x3d84b0(0x184)][_0x3d84b0(0x1f6)](_0x2cd2e2);for(const [_0x302f50,_0x8aef9c]of this[_0x3d84b0(0x1e5)])if(_0x8aef9c[_0x3d84b0(0x1a2)]===_0x1000ce||_0x5bca0c[_0x3d84b0(0x1b4)](_0x8aef9c[_0x3d84b0(0x1a2)]))this[_0x3d84b0(0x1e5)][_0x3d84b0(0x1f6)](_0x302f50);}[_0x34e5c0(0x1f8)](_0x4a0af3){const _0x4ec0cb=_0x34e5c0;return[...this[_0x4ec0cb(0x17a)][_0x4ec0cb(0x241)]()][_0x4ec0cb(0x1f2)](_0x29f187=>this[_0x4ec0cb(0x1a8)][_0x4ec0cb(0x136)](_0x29f187))[_0x4ec0cb(0x21d)](_0x2ad595=>_0x2ad595?.[_0x4ec0cb(0x219)]===_0x4a0af3);}[_0x34e5c0(0x217)](_0x1d1f3a){const _0x47cd00=_0x34e5c0;this[_0x47cd00(0x15b)](_0x1d1f3a);const _0xdbd551=this[_0x47cd00(0x1db)](_0x1d1f3a);if(_0xdbd551[_0x47cd00(0x21d)](_0x328870=>!terminal(_0x328870[_0x47cd00(0x21a)])))throw new Error(_0x47cd00(0x1a7));const _0x16f804=new Set(_0xdbd551[_0x47cd00(0x1f2)](_0x10c765=>_0x10c765['id'])),_0x412702=new Set([...this[_0x47cd00(0x161)][_0x47cd00(0x241)]()][_0x47cd00(0x156)](_0x58719d=>_0x16f804[_0x47cd00(0x1b4)](_0x58719d[_0x47cd00(0x1a2)]))[_0x47cd00(0x1f2)](_0xc5ec58=>_0xc5ec58['id']));this[_0x47cd00(0x1a1)][_0x47cd00(0x1f6)](_0x1d1f3a),this[_0x47cd00(0x209)][_0x47cd00(0x1f6)](_0x1d1f3a),this[_0x47cd00(0x17d)](_0x1d1f3a,new Set());const _0x272d29=this[_0x47cd00(0x1a4)][_0x47cd00(0x136)](_0x1d1f3a)??[];this[_0x47cd00(0x1a4)][_0x47cd00(0x1f6)](_0x1d1f3a);for(const _0x1cf001 of _0x272d29)this[_0x47cd00(0x1a3)][_0x47cd00(0x1f6)](_0x1cf001);this[_0x47cd00(0x14c)][_0x47cd00(0x1f6)](_0x1d1f3a),this[_0x47cd00(0x187)][_0x47cd00(0x1f6)](_0x1d1f3a),this[_0x47cd00(0x17a)][_0x47cd00(0x1f6)](_0x1d1f3a);for(const _0xc1bc5c of _0x16f804){this[_0x47cd00(0x1a8)][_0x47cd00(0x1f6)](_0xc1bc5c),this[_0x47cd00(0x1c7)][_0x47cd00(0x1f6)](_0xc1bc5c);}for(const _0x28c904 of _0x412702)this[_0x47cd00(0x161)][_0x47cd00(0x1f6)](_0x28c904);for(const [_0x3ab305,_0x46394d]of this[_0x47cd00(0x184)])if(_0x46394d[_0x47cd00(0x235)]===_0x47cd00(0x178)&&_0x16f804[_0x47cd00(0x1b4)](_0x46394d['id'])||_0x46394d[_0x47cd00(0x235)]===_0x47cd00(0x148)&&_0x272d29[_0x47cd00(0x14b)](_0x46394d['id']))this[_0x47cd00(0x184)][_0x47cd00(0x1f6)](_0x3ab305);for(const _0x378210 of this[_0x47cd00(0x19b)][_0x47cd00(0x1a9)]())if(_0x378210[_0x47cd00(0x1e9)](_0x1d1f3a+'\x00'))this[_0x47cd00(0x19b)][_0x47cd00(0x1f6)](_0x378210);for(const [_0x1a2aac,_0x1802e4]of this[_0x47cd00(0x1e5)])if(_0x16f804[_0x47cd00(0x1b4)](_0x1802e4[_0x47cd00(0x1a2)])||_0x412702[_0x47cd00(0x1b4)](_0x1802e4[_0x47cd00(0x1a2)]))this[_0x47cd00(0x1e5)][_0x47cd00(0x1f6)](_0x1a2aac);}[_0x34e5c0(0x157)](_0x271a12){const _0x1b2746=_0x34e5c0;if(this[_0x1b2746(0x1f8)](_0x271a12))throw new Error(_0x1b2746(0x201));const _0x390e65=new Set([...this[_0x1b2746(0x1a1)][_0x1b2746(0x241)]()][_0x1b2746(0x156)](_0x1c1789=>_0x1c1789[_0x1b2746(0x219)]===_0x271a12)[_0x1b2746(0x1f2)](_0x3dcd56=>_0x3dcd56['id'])),_0x238bfc=new Set([...this[_0x1b2746(0x1a8)][_0x1b2746(0x241)]()][_0x1b2746(0x156)](_0x522f82=>_0x522f82[_0x1b2746(0x219)]===_0x271a12)[_0x1b2746(0x1f2)](_0x30f6a0=>_0x30f6a0['id'])),_0x29910c=new Set([...this[_0x1b2746(0x161)][_0x1b2746(0x241)]()][_0x1b2746(0x156)](_0x5a7afa=>_0x238bfc[_0x1b2746(0x1b4)](_0x5a7afa[_0x1b2746(0x1a2)]))[_0x1b2746(0x1f2)](_0x47c324=>_0x47c324['id'])),_0x32e772=new Set([..._0x390e65][_0x1b2746(0x1b8)](_0x10ec40=>this[_0x1b2746(0x1a4)][_0x1b2746(0x136)](_0x10ec40)??[]));for(const _0x509cfe of _0x390e65){this[_0x1b2746(0x1a1)][_0x1b2746(0x1f6)](_0x509cfe),this[_0x1b2746(0x209)][_0x1b2746(0x1f6)](_0x509cfe),this[_0x1b2746(0x17d)](_0x509cfe,new Set());}for(const _0x7cb67 of _0x238bfc){this[_0x1b2746(0x1a8)][_0x1b2746(0x1f6)](_0x7cb67),this[_0x1b2746(0x1c7)][_0x1b2746(0x1f6)](_0x7cb67);}for(const _0x493135 of _0x29910c)this[_0x1b2746(0x161)][_0x1b2746(0x1f6)](_0x493135);for(const [_0x27e06a,_0x1c5fa8]of this[_0x1b2746(0x184)])if(_0x1c5fa8[_0x1b2746(0x235)]===_0x1b2746(0x178)&&_0x238bfc[_0x1b2746(0x1b4)](_0x1c5fa8['id'])||_0x1c5fa8[_0x1b2746(0x235)]===_0x1b2746(0x148)&&_0x32e772[_0x1b2746(0x1b4)](_0x1c5fa8['id']))this[_0x1b2746(0x184)][_0x1b2746(0x1f6)](_0x27e06a);for(const _0x119de1 of this[_0x1b2746(0x19b)][_0x1b2746(0x1a9)]()){const _0x5cb636=_0x119de1[_0x1b2746(0x13a)]('\u0000');if(_0x5cb636>=-0xcf1*0x2+-0x10d7*-0x1+0x90b&&_0x390e65[_0x1b2746(0x1b4)](_0x119de1[_0x1b2746(0x1b9)](0x1*-0x533+0x1bfc+-0x16c9,_0x5cb636)))this[_0x1b2746(0x19b)][_0x1b2746(0x1f6)](_0x119de1);}for(const [_0x302f89,_0x11afc3]of this[_0x1b2746(0x1e5)])if(_0x238bfc[_0x1b2746(0x1b4)](_0x11afc3[_0x1b2746(0x1a2)])||_0x29910c[_0x1b2746(0x1b4)](_0x11afc3[_0x1b2746(0x1a2)]))this[_0x1b2746(0x1e5)][_0x1b2746(0x1f6)](_0x302f89);for(const _0x5721ce of _0x390e65){const _0x11d66f=this[_0x1b2746(0x1a4)][_0x1b2746(0x136)](_0x5721ce)??[];this[_0x1b2746(0x1a4)][_0x1b2746(0x1f6)](_0x5721ce);for(const _0x24b4a9 of _0x11d66f)this[_0x1b2746(0x1a3)][_0x1b2746(0x1f6)](_0x24b4a9);this[_0x1b2746(0x14c)][_0x1b2746(0x1f6)](_0x5721ce),this[_0x1b2746(0x187)][_0x1b2746(0x1f6)](_0x5721ce),this[_0x1b2746(0x17a)][_0x1b2746(0x1f6)](_0x5721ce);}}[_0x34e5c0(0x1bb)](_0x170543,_0x44c964){void _0x170543,void _0x44c964;}[_0x34e5c0(0x151)](_0x2e950c,_0x448b88){const _0x575b18=_0x34e5c0,_0x153567=this[_0x575b18(0x15b)](_0x2e950c),_0x5c2102={..._0x153567,..._0x448b88};this[_0x575b18(0x1a1)][_0x575b18(0x1d4)](_0x2e950c,_0x5c2102);if(_0x153567[_0x575b18(0x132)]!==_0x5c2102[_0x575b18(0x132)]||_0x153567[_0x575b18(0x175)]!==_0x5c2102[_0x575b18(0x175)]){for(const _0x86413 of this[_0x575b18(0x1db)](_0x2e950c))this[_0x575b18(0x1dc)](_0x86413,_0x5c2102);}return _0x5c2102;}[_0x34e5c0(0x1dc)](_0x5b185d,_0x511268){const _0x2c56f1=_0x34e5c0,_0x54763d=this[_0x2c56f1(0x135)](_0x5b185d['id']),_0x33ed9c=_0x54763d?.[_0x2c56f1(0x1be)][_0x2c56f1(0x19e)](_0x443e16=>_0x443e16[_0x2c56f1(0x235)]===_0x2c56f1(0x13c))?.[_0x2c56f1(0x185)],_0x469d22=isRecord(_0x33ed9c)&&typeof _0x33ed9c[_0x2c56f1(0x1b7)]===_0x2c56f1(0x1c0)?_0x33ed9c[_0x2c56f1(0x1b7)]:undefined,_0x453387=_0x469d22?.[_0x2c56f1(0x1e9)](_0x2c56f1(0x14e))?'':this[_0x2c56f1(0x138)](_0x5b185d['id']);this[_0x2c56f1(0x23c)]?.(_0x5b185d,_0x511268,_0x453387[_0x2c56f1(0x13d)]===0x114c+0xad*-0x25+0x7b5*0x1?undefined:_0x453387);}[_0x34e5c0(0x190)](_0x15c210){const _0x137f23=_0x34e5c0;this[_0x137f23(0x14c)][_0x137f23(0x1d4)](_0x15c210,(this[_0x137f23(0x14c)][_0x137f23(0x136)](_0x15c210)??0x1357*-0x1+0x174d+-0x3f6)+(0x2ab+-0x1de1+0x1b37));}[_0x34e5c0(0x17d)](_0x44deee,_0x14cad9){const _0x3d3c4=_0x34e5c0;for(const [_0x595627,_0x3f5c58]of this[_0x3d3c4(0x237)])if(_0x3f5c58[_0x3d3c4(0x19d)]===_0x44deee&&!_0x14cad9[_0x3d3c4(0x1b4)](_0x3f5c58[_0x3d3c4(0x1af)]))this[_0x3d3c4(0x237)][_0x3d3c4(0x1f6)](_0x595627);}[_0x34e5c0(0x15b)](_0x5133dd){const _0x222be4=_0x34e5c0,_0x340fa6=this[_0x222be4(0x1a1)][_0x222be4(0x136)](_0x5133dd);if(_0x340fa6===undefined)throw new Error(_0x222be4(0x163));return _0x340fa6;}[_0x34e5c0(0x16f)](_0x1f0523){const _0x162711=_0x34e5c0,_0x15328c=this[_0x162711(0x1a8)][_0x162711(0x136)](_0x1f0523);if(_0x15328c===undefined)throw new Error(_0x162711(0x1f9));return _0x15328c;}[_0x34e5c0(0x1df)](_0x1fc9d2){const _0x59697b=_0x34e5c0,_0x591b8a=this[_0x59697b(0x1a3)][_0x59697b(0x136)](_0x1fc9d2);if(_0x591b8a===undefined)throw new Error(_0x59697b(0x183));return _0x591b8a;}[_0x34e5c0(0x1e3)](_0x580a57){const _0x56136a=_0x34e5c0,_0x41cfed=this[_0x56136a(0x1e5)][_0x56136a(0x136)](_0x580a57);if(_0x41cfed===undefined)throw new Error(_0x56136a(0x1cd));return _0x41cfed;}[_0x34e5c0(0x20f)](_0x59aaf3,_0x3ae4ba){const _0x3f0133=_0x34e5c0,_0x323921=this[_0x3f0133(0x16f)](_0x59aaf3),_0x5dbd84=this[_0x3f0133(0x209)][_0x3f0133(0x136)](_0x323921[_0x3f0133(0x19d)])??[];this[_0x3f0133(0x209)][_0x3f0133(0x1d4)](_0x323921[_0x3f0133(0x19d)],_0x5dbd84[_0x3f0133(0x1f2)](_0x517f54=>_0x517f54[_0x3f0133(0x1a2)]===_0x59aaf3?_0x3ae4ba(_0x517f54):_0x517f54));}[_0x34e5c0(0x180)](_0x2c71f0,_0x502a24){const _0x338127=_0x34e5c0,_0x46d2a3=this[_0x338127(0x16f)](_0x2c71f0),_0x100547=this[_0x338127(0x209)][_0x338127(0x136)](_0x46d2a3[_0x338127(0x19d)])??[],_0x3c2da6=_0x100547[_0x338127(0x181)](_0x1848b6=>_0x1848b6[_0x338127(0x1a2)]===_0x2c71f0);if(_0x3c2da6<-0x2*0x130d+-0x1c7a+0x1*0x4294)return;this[_0x338127(0x209)][_0x338127(0x1d4)](_0x46d2a3[_0x338127(0x19d)],_0x100547[_0x338127(0x1f2)]((_0x406276,_0x2812fd)=>_0x2812fd===_0x3c2da6?_0x502a24(_0x406276):_0x406276));}[_0x34e5c0(0x135)](_0x44e003){const _0x42b84c=_0x34e5c0,_0x4f59f7=this[_0x42b84c(0x16f)](_0x44e003);return(this[_0x42b84c(0x209)][_0x42b84c(0x136)](_0x4f59f7[_0x42b84c(0x19d)])??[])[_0x42b84c(0x1e7)](_0x4f23d6=>_0x4f23d6[_0x42b84c(0x1a2)]===_0x44e003);}[_0x34e5c0(0x246)](_0x26a6d0,_0x2d1a98,_0x4281c8,_0x578abe){const _0x2d0139=_0x34e5c0,_0xafbe6f=this[_0x2d0139(0x15b)](_0x26a6d0[_0x2d0139(0x19d)]),_0x2a7406=this[_0x2d0139(0x18c)](),_0x480632=randomUUID(),_0x27638d=randomUUID(),_0x7703d0={'id':_0x27638d,'sessionId':_0xafbe6f['id'],'turnId':_0x480632,'runId':_0x26a6d0['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x2d0139(0x13c),'status':_0x2d0139(0x213),'payload':{'clientMessageId':_0x2d1a98,'text':_0x4281c8,'contexts':[],'attachments':this[_0x2d0139(0x18b)](_0x26a6d0['id'],_0x578abe),'delivery':_0x2d0139(0x139)},'startedAt':_0x2a7406,'completedAt':_0x2a7406},_0x36d315={'id':_0x480632,'sessionId':_0xafbe6f['id'],'runId':_0x26a6d0['id'],'userItemId':_0x27638d,'status':_0x2d0139(0x188),'model':_0xafbe6f[_0x2d0139(0x16b)],'effort':_0xafbe6f[_0x2d0139(0x208)],'access':_0xafbe6f[_0x2d0139(0x18f)],'items':[_0x7703d0],'startedAt':_0x2a7406,'completedAt':null};return this[_0x2d0139(0x209)][_0x2d0139(0x1d4)](_0xafbe6f['id'],[...this[_0x2d0139(0x209)][_0x2d0139(0x136)](_0xafbe6f['id'])??[],_0x36d315]),this[_0x2d0139(0x151)](_0xafbe6f['id'],{'lastActivityAt':_0x2a7406}),_0x36d315;}[_0x34e5c0(0x18b)](_0x10932b,_0x3dd32d){const _0x2a80ef=_0x34e5c0;let _0x13e4e0=-0x120a+-0x1049+0x2253;return _0x3dd32d[_0x2a80ef(0x1f2)](({name:_0x4921f6,mime:_0x5cf001,dataBase64:_0x2dbd51})=>{const _0x26c871=_0x2a80ef,_0x2c52b3={'name':_0x4921f6,'mime':_0x5cf001,'byteSize':Buffer[_0x26c871(0x21f)](_0x2dbd51,_0x26c871(0x245)),'runId':_0x10932b};if(!_0x5cf001[_0x26c871(0x1e9)](_0x26c871(0x205)))return _0x2c52b3;return{..._0x2c52b3,'imageIndex':_0x13e4e0++};});}[_0x34e5c0(0x239)](_0x5296d9,_0x5c31fd,_0x2495bf){const _0x3a4c0f=_0x34e5c0;for(const [_0x125792,_0x25e918]of this[_0x3a4c0f(0x209)]){if(!_0x25e918[_0x3a4c0f(0x21d)](_0x2a07a1=>_0x2a07a1['id']===_0x5296d9))continue;this[_0x3a4c0f(0x209)][_0x3a4c0f(0x1d4)](_0x125792,_0x25e918[_0x3a4c0f(0x1f2)](_0x212c78=>_0x212c78['id']===_0x5296d9?{..._0x212c78,'status':_0x5c31fd,'completedAt':_0x2495bf,'items':_0x212c78[_0x3a4c0f(0x1be)][_0x3a4c0f(0x1f2)](_0x54c0ed=>activeConversationItem(_0x54c0ed[_0x3a4c0f(0x21a)])?{..._0x54c0ed,'status':completedStatusForRun(_0x5c31fd),'completedAt':_0x2495bf}:_0x54c0ed)}:_0x212c78));return;}}[_0x34e5c0(0x1e2)](_0x57ffd9,_0x48a362){const _0x24d1f1=_0x34e5c0,_0x5200b9=this[_0x24d1f1(0x16f)](_0x57ffd9[_0x24d1f1(0x1a2)]),_0xb9a2a4=_0x57de56=>{const _0x4fceb0=_0x24d1f1;if(_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x20d)&&isRecord(_0x57ffd9[_0x4fceb0(0x185)])&&typeof _0x57ffd9[_0x4fceb0(0x185)][_0x4fceb0(0x19f)]===_0x4fceb0(0x1c0)){const _0x24a29c=typeof _0x57ffd9[_0x4fceb0(0x185)][_0x4fceb0(0x18e)]===_0x4fceb0(0x1c0)&&_0x57ffd9[_0x4fceb0(0x185)][_0x4fceb0(0x18e)][_0x4fceb0(0x13d)]<=0x49*0x65+-0x1f85*0x1+0x310?_0x57ffd9[_0x4fceb0(0x185)][_0x4fceb0(0x18e)]:undefined,_0x422465=_0x24a29c===undefined?undefined:_0x57ffd9[_0x4fceb0(0x1a2)]+':'+_0x24a29c,_0x771a59=_0x57de56[_0x4fceb0(0x1be)]['at'](-(0x1bce+-0x1adc+0xf1*-0x1)),_0x5a8160=_0x422465===undefined?_0x771a59?.[_0x4fceb0(0x235)]===_0x4fceb0(0x1bd)&&activeConversationItem(_0x771a59[_0x4fceb0(0x21a)])?_0x771a59:undefined:_0x57de56[_0x4fceb0(0x1be)][_0x4fceb0(0x19e)](_0x23be4a=>_0x23be4a['id']===_0x422465&&_0x23be4a[_0x4fceb0(0x235)]===_0x4fceb0(0x1bd)),_0x36f0f1=''+(_0x5a8160===undefined?'':readableText(_0x5a8160[_0x4fceb0(0x185)]))+_0x57ffd9[_0x4fceb0(0x185)][_0x4fceb0(0x19f)],_0x37b50a={'id':_0x5a8160?.['id']??_0x422465??_0x57ffd9[_0x4fceb0(0x1a2)]+_0x4fceb0(0x1c3)+_0x57ffd9[_0x4fceb0(0x166)],'sessionId':_0x5200b9[_0x4fceb0(0x19d)],'turnId':_0x57de56['id'],'runId':_0x57ffd9[_0x4fceb0(0x1a2)],'parentItemId':null,'sourceSequence':_0x5a8160?.[_0x4fceb0(0x1ce)]??_0x57ffd9[_0x4fceb0(0x166)],'revision':_0x57ffd9[_0x4fceb0(0x166)],'kind':_0x4fceb0(0x1bd),'status':_0x4fceb0(0x170),'payload':{'text':_0x36f0f1,'format':_0x4fceb0(0x23b),'model':null},'startedAt':_0x5a8160?.[_0x4fceb0(0x1ea)]??_0x57ffd9[_0x4fceb0(0x172)],'completedAt':null};return{..._0x57de56,'status':_0x4fceb0(0x21b),'startedAt':_0x57de56[_0x4fceb0(0x1ea)]??_0x57ffd9[_0x4fceb0(0x172)],'items':_0x5a8160===undefined?[..._0x57de56[_0x4fceb0(0x1be)],_0x37b50a]:_0x57de56[_0x4fceb0(0x1be)][_0x4fceb0(0x1f2)](_0x5f1db8=>_0x5f1db8['id']===_0x37b50a['id']?_0x37b50a:_0x5f1db8)};}const _0x1b1b2f=conversationItemFromEvent(_0x57ffd9);if(_0x1b1b2f!==undefined){const _0x41a6a8=_0x57de56[_0x4fceb0(0x1be)]['at'](-(-0x2579+-0x340*0x4+0x327a)),_0x144bc2=_0x41a6a8?.[_0x4fceb0(0x235)]===_0x4fceb0(0x1bd)&&activeConversationItem(_0x41a6a8[_0x4fceb0(0x21a)])?_0x57de56[_0x4fceb0(0x1be)][_0x4fceb0(0x1f2)](_0x47ab19=>_0x47ab19['id']===_0x41a6a8['id']?{..._0x47ab19,'status':_0x4fceb0(0x213),'completedAt':_0x57ffd9[_0x4fceb0(0x172)]}:_0x47ab19):_0x57de56[_0x4fceb0(0x1be)],_0x158747=_0x144bc2[_0x4fceb0(0x19e)](_0xd8b20b=>_0xd8b20b['id']===_0x57ffd9[_0x4fceb0(0x1a2)]+':'+_0x1b1b2f[_0x4fceb0(0x18e)])??(_0x1b1b2f[_0x4fceb0(0x235)]===_0x4fceb0(0x1bd)&&_0x1b1b2f[_0x4fceb0(0x18e)][_0x4fceb0(0x1e9)](_0x4fceb0(0x1cf))&&_0x41a6a8?.[_0x4fceb0(0x235)]===_0x4fceb0(0x1bd)&&_0x41a6a8['id'][_0x4fceb0(0x1e9)](_0x57ffd9[_0x4fceb0(0x1a2)]+_0x4fceb0(0x1c3))&&activeConversationItem(_0x41a6a8[_0x4fceb0(0x21a)])?_0x41a6a8:undefined),_0x50767e=_0x1b1b2f[_0x4fceb0(0x21a)],_0x19b843={'id':_0x57ffd9[_0x4fceb0(0x1a2)]+':'+_0x1b1b2f[_0x4fceb0(0x18e)],'sessionId':_0x5200b9[_0x4fceb0(0x19d)],'turnId':_0x57de56['id'],'runId':_0x57ffd9[_0x4fceb0(0x1a2)],'parentItemId':null,'sourceSequence':_0x158747?.[_0x4fceb0(0x1ce)]??_0x57ffd9[_0x4fceb0(0x166)],'revision':(_0x158747?.[_0x4fceb0(0x22f)]??-(-0x3*-0x821+0x20b8+-0x1*0x391a))+(-0x1cfd+0x17c3+0x53b),'kind':_0x1b1b2f[_0x4fceb0(0x235)],'status':_0x50767e,'payload':mergeConversationItemPayload(_0x158747?.[_0x4fceb0(0x185)],_0x1b1b2f),'startedAt':_0x158747?.[_0x4fceb0(0x1ea)]??_0x57ffd9[_0x4fceb0(0x172)],'completedAt':completedConversationItem(_0x50767e)?_0x57ffd9[_0x4fceb0(0x172)]:null};return{..._0x57de56,'status':terminal(_0x5200b9[_0x4fceb0(0x21a)])?_0x5200b9[_0x4fceb0(0x21a)]:_0x4fceb0(0x21b),'startedAt':_0x57de56[_0x4fceb0(0x1ea)]??_0x57ffd9[_0x4fceb0(0x172)],'items':_0x158747===undefined?[..._0x144bc2,_0x19b843]:_0x144bc2[_0x4fceb0(0x1f2)](_0x313a85=>_0x313a85['id']===_0x158747['id']?_0x19b843:_0x313a85)};}if(_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x1d1)||_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x216))return{..._0x57de56,'status':_0x4fceb0(0x21b),'startedAt':_0x57de56[_0x4fceb0(0x1ea)]??_0x57ffd9[_0x4fceb0(0x172)]};if(_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x202)||_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x223)||_0x57ffd9[_0x4fceb0(0x204)]===_0x4fceb0(0x24b))return{..._0x57de56,'status':this[_0x4fceb0(0x16f)](_0x57ffd9[_0x4fceb0(0x1a2)])[_0x4fceb0(0x21a)],'completedAt':_0x57ffd9[_0x4fceb0(0x172)],'items':_0x57de56[_0x4fceb0(0x1be)][_0x4fceb0(0x1f2)](_0x3c821f=>activeConversationItem(_0x3c821f[_0x4fceb0(0x21a)])?{..._0x3c821f,'status':completedStatusForRun(this[_0x4fceb0(0x16f)](_0x57ffd9[_0x4fceb0(0x1a2)])[_0x4fceb0(0x21a)]),'completedAt':_0x57ffd9[_0x4fceb0(0x172)]}:_0x3c821f)};return _0x57de56;};if(_0x48a362===undefined)this[_0x24d1f1(0x180)](_0x57ffd9[_0x24d1f1(0x1a2)],_0xb9a2a4);else{const _0xcca26d=this[_0x24d1f1(0x209)][_0x24d1f1(0x136)](_0x5200b9[_0x24d1f1(0x19d)])??[];this[_0x24d1f1(0x209)][_0x24d1f1(0x1d4)](_0x5200b9[_0x24d1f1(0x19d)],_0xcca26d[_0x24d1f1(0x1f2)](_0x283343=>_0x283343['id']===_0x48a362?_0xb9a2a4(_0x283343):_0x283343));}}}function isDefaultRunnerTitle(_0x26922e){const _0x409a00=_0x34e5c0;return/^(?:new|untitled) session(?:\s*[-–—:]\s*\d{4}-\d{2}-\d{2}.*)?$/iu[_0x409a00(0x22b)](_0x26922e);}function terminal(_0xdbced8){const _0x4818d0=_0x34e5c0;return[_0x4818d0(0x160),_0x4818d0(0x194),_0x4818d0(0x238),_0x4818d0(0x243),_0x4818d0(0x1c9)][_0x4818d0(0x14b)](_0xdbced8);}function terminalTurn(_0x872ff8){const _0xe0472f=_0x34e5c0;return[_0xe0472f(0x160),_0xe0472f(0x194),_0xe0472f(0x238),_0xe0472f(0x243),_0xe0472f(0x1c9)][_0xe0472f(0x14b)](_0x872ff8);}function transitionAllowed(_0x1b7fd1,_0x42200a){return!terminal(_0x1b7fd1)||_0x1b7fd1===_0x42200a;}function _0x41e1(_0x91ef79,_0x4ec48c){_0x91ef79=_0x91ef79-(-0x265b+-0xa6*0x1f+-0x3ba7*-0x1);const _0x14efb8=_0x2fa1();let _0x381c4b=_0x14efb8[_0x91ef79];if(_0x41e1['RaCJbt']===undefined){var _0xbdd11d=function(_0x1e7785){const _0x3bde1e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31a81f='',_0x4f5bda='';for(let _0x18c4c0=-0x3*0x731+0x1e87+-0x8f4,_0x132352,_0x84db25,_0x30431e=0xb6c+0x275*-0x5+-0x1*-0xdd;_0x84db25=_0x1e7785['charAt'](_0x30431e++);~_0x84db25&&(_0x132352=_0x18c4c0%(0x32c+-0x2*-0x70a+-0x113c)?_0x132352*(-0x96a+-0x240a*0x1+0x12*0x28a)+_0x84db25:_0x84db25,_0x18c4c0++%(-0x84*-0x12+-0x1fb9+0x1675))?_0x31a81f+=String['fromCharCode'](-0x15d9+0x1d2*0x2+0x1334&_0x132352>>(-(0xf*-0x15+-0x1c98*0x1+0x1dd5)*_0x18c4c0&0x1*-0x3d2+0x1f6d*-0x1+-0x2345*-0x1)):-0x15ed+-0x112+-0x349*-0x7){_0x84db25=_0x3bde1e['indexOf'](_0x84db25);}for(let _0x54fc2c=-0x1*-0xd98+0x230+-0xa*0x194,_0x2b2a9e=_0x31a81f['length'];_0x54fc2c<_0x2b2a9e;_0x54fc2c++){_0x4f5bda+='%'+('00'+_0x31a81f['charCodeAt'](_0x54fc2c)['toString'](-0x4ce*-0x1+-0xf5+-0x3c9))['slice'](-(0x13cd+0x2279+-0x97*0x5c));}return decodeURIComponent(_0x4f5bda);};_0x41e1['unsViW']=_0xbdd11d,_0x41e1['PCCtnv']={},_0x41e1['RaCJbt']=!![];}const _0xb6f001=_0x14efb8[0x4*-0x626+-0x24+0x18bc];_0x41e1['chGAwH']!==_0xb6f001&&(_0x41e1['PCCtnv']={},_0x41e1['chGAwH']=_0xb6f001);const _0x2f4a1e=_0x41e1['PCCtnv'][_0x91ef79];return _0x2f4a1e===undefined?(_0x381c4b=_0x41e1['unsViW'](_0x381c4b),_0x41e1['PCCtnv'][_0x91ef79]=_0x381c4b):_0x381c4b=_0x2f4a1e,_0x381c4b;}function isRecord(_0x123be5){const _0x35faec=_0x34e5c0;return typeof _0x123be5===_0x35faec(0x140)&&_0x123be5!==null;}function readableText(_0x32ee34){const _0x591dc6=_0x34e5c0;return isRecord(_0x32ee34)&&typeof _0x32ee34[_0x591dc6(0x19f)]===_0x591dc6(0x1c0)?_0x32ee34[_0x591dc6(0x19f)]:'';}function conversationItemFromEvent(_0x4c6a66){const _0x53972d=_0x34e5c0;if(isRecord(_0x4c6a66[_0x53972d(0x185)])){const _0x56b73c=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x182)];if(typeof _0x56b73c===_0x53972d(0x1c0)&&_0x56b73c[_0x53972d(0x13d)]>-0xb0*0x28+0xc3f+0xf41){if(_0x4c6a66[_0x53972d(0x204)]===_0x53972d(0x230))return{'itemId':_0x53972d(0x1a6)+_0x56b73c,'kind':_0x53972d(0x1c1),'status':_0x53972d(0x1fb),'payload':{'approvalId':_0x56b73c,'approvalStatus':_0x53972d(0x1fb),'approval':_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x185)],'expiresAt':_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x1fc)]},'merge':![]};if(_0x4c6a66[_0x53972d(0x204)]===_0x53972d(0x1ec)){const _0x500ca0=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x22a)];if(_0x500ca0===_0x53972d(0x1fa)||_0x500ca0===_0x53972d(0x1c2))return{'itemId':_0x53972d(0x1a6)+_0x56b73c,'kind':_0x53972d(0x1c1),'status':_0x500ca0===_0x53972d(0x1fa)?_0x53972d(0x213):_0x53972d(0x200),'payload':{'approvalId':_0x56b73c,'approvalStatus':_0x500ca0},'merge':!![]};}if(_0x4c6a66[_0x53972d(0x204)]===_0x53972d(0x1bc))return{'itemId':_0x53972d(0x1a6)+_0x56b73c,'kind':_0x53972d(0x1c1),'status':_0x53972d(0x238),'payload':{'approvalId':_0x56b73c,'approvalStatus':_0x53972d(0x154)},'merge':!![]};}}if(_0x4c6a66[_0x53972d(0x204)]!==_0x53972d(0x224)||!isRecord(_0x4c6a66[_0x53972d(0x185)]))return undefined;const _0xc91f64=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x18e)],_0x4ce362=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x235)],_0x3eaa6d=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x21a)],_0x10299b=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x185)];if(typeof _0xc91f64!==_0x53972d(0x1c0)||_0xc91f64[_0x53972d(0x13d)]===0x1676+0x1124+-0x279a||_0xc91f64[_0x53972d(0x13d)]>-0x7c0+-0x1e49*0x1+0x2661||typeof _0x4ce362!==_0x53972d(0x1c0)||!projectableConversationKind(_0x4ce362)||typeof _0x3eaa6d!==_0x53972d(0x1c0)||!projectableConversationStatus(_0x3eaa6d)||!isRecord(_0x10299b))return undefined;const _0x550641=_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x174)];return{'itemId':_0xc91f64,'kind':_0x4ce362,'status':_0x3eaa6d,'payload':_0x10299b,'merge':_0x4c6a66[_0x53972d(0x185)][_0x53972d(0x211)]===!![],..._0x550641===_0x53972d(0x1d8)||_0x550641===_0x53972d(0x13b)||_0x550641===_0x53972d(0x1ff)?{'append':_0x550641}:{}};}function projectableConversationKind(_0x4a4742){const _0x4dfcdc=_0x34e5c0;return _0x4a4742===_0x4dfcdc(0x1bd)||_0x4a4742===_0x4dfcdc(0x197)||_0x4a4742===_0x4dfcdc(0x167)||_0x4a4742===_0x4dfcdc(0x1d3)||_0x4a4742===_0x4dfcdc(0x1c1)||_0x4a4742===_0x4dfcdc(0x150)||_0x4a4742===_0x4dfcdc(0x1da)||_0x4a4742===_0x4dfcdc(0x1f3)||_0x4a4742===_0x4dfcdc(0x196)||_0x4a4742===_0x4dfcdc(0x1bf)||_0x4a4742===_0x4dfcdc(0x220)||_0x4a4742===_0x4dfcdc(0x228);}function projectableConversationStatus(_0x557530){const _0x410813=_0x34e5c0;return[_0x410813(0x1fb),_0x410813(0x170),_0x410813(0x213),_0x410813(0x194),_0x410813(0x200),_0x410813(0x238),_0x410813(0x243)][_0x410813(0x14b)](_0x557530);}function mergeConversationItemPayload(_0x2e6acb,_0x2213d5){const _0x2dbcff=_0x34e5c0,_0x51867a=_0x2213d5[_0x2dbcff(0x211)]&&isRecord(_0x2e6acb)?_0x2e6acb:{},_0x273d0f={..._0x51867a,..._0x2213d5[_0x2dbcff(0x185)]};if(_0x2213d5[_0x2dbcff(0x174)]===_0x2dbcff(0x1d8)){const _0x5b4d24=Array[_0x2dbcff(0x212)](_0x51867a[_0x2dbcff(0x1d8)])?_0x51867a[_0x2dbcff(0x1d8)]:[],_0xd9dc90=Array[_0x2dbcff(0x212)](_0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x1d8)])?_0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x1d8)]:[],_0x57936b=new Map();for(const _0x468431 of[..._0x5b4d24,..._0xd9dc90]){if(!isRecord(_0x468431)||typeof _0x468431[_0x2dbcff(0x1f0)]!==_0x2dbcff(0x186)||!Number[_0x2dbcff(0x206)](_0x468431[_0x2dbcff(0x1f0)])||_0x468431[_0x2dbcff(0x1f0)]<-0x45b*0x8+0x250f+0x237*-0x1||typeof _0x468431[_0x2dbcff(0x19f)]!==_0x2dbcff(0x1c0))continue;_0x57936b[_0x2dbcff(0x1d4)](_0x468431[_0x2dbcff(0x1f0)],appendProjectionText(_0x57936b[_0x2dbcff(0x136)](_0x468431[_0x2dbcff(0x1f0)])??'',_0x468431[_0x2dbcff(0x19f)]));}_0x273d0f[_0x2dbcff(0x1d8)]=[..._0x57936b][_0x2dbcff(0x227)](([_0x252ae4],[_0xdaf220])=>_0x252ae4-_0xdaf220)[_0x2dbcff(0x1f2)](([_0x560b42,_0x218718])=>({'index':_0x560b42,'text':_0x218718}));}if(_0x2213d5[_0x2dbcff(0x174)]===_0x2dbcff(0x13b)){const _0x3973f0=typeof _0x51867a[_0x2dbcff(0x13b)]===_0x2dbcff(0x1c0)?_0x51867a[_0x2dbcff(0x13b)]:'',_0x135b4d=typeof _0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x13b)]===_0x2dbcff(0x1c0)?_0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x13b)]:'';_0x273d0f[_0x2dbcff(0x13b)]=appendProjectionText(_0x3973f0,_0x135b4d);}if(_0x2213d5[_0x2dbcff(0x174)]===_0x2dbcff(0x1ff)){const _0x5a3a86=typeof _0x51867a[_0x2dbcff(0x1ff)]===_0x2dbcff(0x1c0)?_0x51867a[_0x2dbcff(0x1ff)]:'',_0x5185e4=typeof _0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x1ff)]===_0x2dbcff(0x1c0)?_0x2213d5[_0x2dbcff(0x185)][_0x2dbcff(0x1ff)]:'';_0x273d0f[_0x2dbcff(0x1ff)]=appendProjectionText(_0x5a3a86,_0x5185e4);}return _0x273d0f;}function appendProjectionText(_0x27874b,_0x390e9f){const _0x54cd11=_0x34e5c0,_0x5ed64f=''+_0x27874b+_0x390e9f;return _0x5ed64f[_0x54cd11(0x13d)]<=-0x1*-0x3727+-0x1*0x34e7+0x24d0?_0x5ed64f:_0x5ed64f[_0x54cd11(0x1b9)](0xaaa*-0x1+-0x4*0x165+-0x3f*-0x42,-0x16b6+0x6*0x63+-0x13*-0x321)+'…';}function activeConversationItem(_0x3bcd0c){const _0x1766af=_0x34e5c0;return _0x3bcd0c===_0x1766af(0x1fb)||_0x3bcd0c===_0x1766af(0x170);}function completedConversationItem(_0x2b9561){return!activeConversationItem(_0x2b9561);}function completedStatusForRun(_0x1d2b43){const _0x325136=_0x34e5c0;if(_0x1d2b43===_0x325136(0x243))return _0x325136(0x243);if(_0x1d2b43===_0x325136(0x238))return _0x325136(0x238);if(_0x1d2b43===_0x325136(0x194))return _0x325136(0x194);return _0x325136(0x213);}function executionStatusForRun(_0x5b25c9){const _0x3c0cb7=_0x34e5c0;if(_0x5b25c9===_0x3c0cb7(0x194))return _0x3c0cb7(0x194);if(_0x5b25c9===_0x3c0cb7(0x243)||_0x5b25c9===_0x3c0cb7(0x238))return _0x3c0cb7(0x243);if(_0x5b25c9===_0x3c0cb7(0x160))return _0x3c0cb7(0x160);if(_0x5b25c9===_0x3c0cb7(0x21b))return _0x3c0cb7(0x21b);return _0x3c0cb7(0x147);}function terminalExecution(_0x167eac){const _0x1ecddc=_0x34e5c0;return _0x167eac===_0x1ecddc(0x160)||_0x167eac===_0x1ecddc(0x194)||_0x167eac===_0x1ecddc(0x243);}function encodeCursor(_0x3eb59e,_0x49f646){const _0x300d76=_0x34e5c0;return Buffer[_0x300d76(0x17e)](JSON[_0x300d76(0x20e)]({'scope':_0x3eb59e,'value':_0x49f646}))[_0x300d76(0x1c8)](_0x300d76(0x1d2));}function decodeCursor(_0x1925b8,_0x21c07f){const _0x4da85f=_0x34e5c0;if(_0x1925b8===undefined)return 0x2*-0x6a1+-0x19a+0xedc;try{const _0x522b86=JSON[_0x4da85f(0x1e8)](Buffer[_0x4da85f(0x17e)](_0x1925b8,_0x4da85f(0x1d2))[_0x4da85f(0x1c8)](_0x4da85f(0x22d)));return _0x522b86[_0x4da85f(0x1a0)]===_0x21c07f&&Number[_0x4da85f(0x206)](_0x522b86[_0x4da85f(0x162)])&&_0x522b86[_0x4da85f(0x162)]>=-0x122a+0x1*-0x16cf+0x28f9*0x1?_0x522b86[_0x4da85f(0x162)]:0xacd*-0x1+-0x1822*0x1+0x22ef;}catch{return-0x1f94+-0x939*-0x2+0xd22;}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- function _0x1e03(_0x1592da,_0x5c56b9){_0x1592da=_0x1592da-(-0x1*0x11d7+-0x901*0x3+0x2de4);const _0xe5fa06=_0x5e0f();let _0x55a4df=_0xe5fa06[_0x1592da];if(_0x1e03['CEFSbD']===undefined){var _0x43e85e=function(_0xe5c6db){const _0x439055='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30956f='',_0x29b663='';for(let _0x5471fa=-0xf*-0x211+0x1*0x2065+-0x3f64,_0x1cf8c5,_0x11283b,_0x38fc12=-0x87c+0x5*0x52d+-0x1165;_0x11283b=_0xe5c6db['charAt'](_0x38fc12++);~_0x11283b&&(_0x1cf8c5=_0x5471fa%(0x13*0xf9+0x167f+0xd6*-0x31)?_0x1cf8c5*(0x1aaf+-0x9b9+-0x10b6)+_0x11283b:_0x11283b,_0x5471fa++%(0x3*-0x238+0x1290+-0x2*0x5f2))?_0x30956f+=String['fromCharCode'](-0x1d7c+-0x16cb+0x11c2*0x3&_0x1cf8c5>>(-(-0xd72+0x218a+-0x1416*0x1)*_0x5471fa&-0x1159+-0x87c+0x19db)):0x4c2+0x918+0x9*-0x18a){_0x11283b=_0x439055['indexOf'](_0x11283b);}for(let _0x575c2f=0x158*0x16+-0x21cb+0x43b,_0x43a357=_0x30956f['length'];_0x575c2f<_0x43a357;_0x575c2f++){_0x29b663+='%'+('00'+_0x30956f['charCodeAt'](_0x575c2f)['toString'](0x53*-0xd+-0xba3+0xfea*0x1))['slice'](-(-0xb07*0x3+-0x1c2+-0x1*-0x22d9));}return decodeURIComponent(_0x29b663);};_0x1e03['aEPIJa']=_0x43e85e,_0x1e03['tpfEWq']={},_0x1e03['CEFSbD']=!![];}const _0x112575=_0xe5fa06[-0x1132+0x1e1e+-0xcec];_0x1e03['OLzmMs']!==_0x112575&&(_0x1e03['tpfEWq']={},_0x1e03['OLzmMs']=_0x112575);const _0x6fe9d7=_0x1e03['tpfEWq'][_0x1592da];return _0x6fe9d7===undefined?(_0x55a4df=_0x1e03['aEPIJa'](_0x55a4df),_0x1e03['tpfEWq'][_0x1592da]=_0x55a4df):_0x55a4df=_0x6fe9d7,_0x55a4df;}const _0x2a0c55=_0x1e03;(function(_0x558244,_0xc1348c){const _0x1043e3=_0x1e03,_0x467766=_0x558244();while(!![]){try{const _0x201519=-parseInt(_0x1043e3(0x147))/(0x5*-0xce+-0x1ba9+0x1fb0)*(-parseInt(_0x1043e3(0x138))/(0x1cd*-0x4+-0x15a1+0x1cd7))+parseInt(_0x1043e3(0x119))/(0xb*0xa7+-0x409+0x3*-0x10b)+parseInt(_0x1043e3(0x155))/(-0x21c2+-0x34*0x47+0x3032)+parseInt(_0x1043e3(0x14c))/(-0x9*0x1eb+0x2205+-0x10bd)*(parseInt(_0x1043e3(0x167))/(0x20d8+0x1be5+0x9*-0x6bf))+parseInt(_0x1043e3(0x11c))/(-0x10e1+0x1c4e+-0xb66)+parseInt(_0x1043e3(0x16c))/(0x1*-0x136f+-0x19ae+-0x7*-0x673)*(parseInt(_0x1043e3(0x158))/(-0xd*-0x65+-0x2*0xd5b+0x2*0xacf))+parseInt(_0x1043e3(0x176))/(0x17ee+-0xbfd+-0xbe7)*(-parseInt(_0x1043e3(0x136))/(-0x50f+0x5e+0x4bc));if(_0x201519===_0xc1348c)break;else _0x467766['push'](_0x467766['shift']());}catch(_0x18a43d){_0x467766['push'](_0x467766['shift']());}}}(_0x5e0f,-0x1*0x69133+-0x196cfd+-0x1*-0x2dfdcd));import{safeErrorCode}from'../util/safe-error.js';export class ContinuousRunCoordinator{[_0x2a0c55(0x12b)];[_0x2a0c55(0x175)]=new Map();[_0x2a0c55(0x11a)]=new Set();[_0x2a0c55(0x171)]=new Set();[_0x2a0c55(0x15c)]=new Map();constructor(_0xac4193){const _0x20af71=_0x2a0c55;this[_0x20af71(0x12b)]=_0xac4193;}[_0x2a0c55(0x156)](_0x41d5da){const _0x4a5b60=_0x2a0c55,_0x4e6abb=this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x113)](_0x41d5da[_0x4a5b60(0x17c)]);if(_0x4e6abb===undefined)return this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x123)](_0x41d5da);const _0x1f4796=this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x15e)]({'queueItemId':_0x41d5da[_0x4a5b60(0x183)],'sessionId':_0x41d5da[_0x4a5b60(0x17c)],'clientMessageId':_0x41d5da[_0x4a5b60(0x11f)],'content':_0x41d5da[_0x4a5b60(0x164)],..._0x41d5da[_0x4a5b60(0x10b)]===undefined?{}:{'initiatedByUserId':_0x41d5da[_0x4a5b60(0x10b)]},..._0x41d5da[_0x4a5b60(0x135)]===undefined?{}:{'attachments':_0x41d5da[_0x4a5b60(0x135)]}});if(_0x1f4796[_0x4a5b60(0x128)])this[_0x4a5b60(0x12b)][_0x4a5b60(0x15f)](_0x1f4796[_0x4a5b60(0x17f)][_0x4a5b60(0x172)],_0x1f4796[_0x4a5b60(0x17f)][_0x4a5b60(0x17c)]);return{'run':_0x4e6abb,'queueItem':_0x1f4796[_0x4a5b60(0x17f)],'created':_0x1f4796[_0x4a5b60(0x128)]};}[_0x2a0c55(0x14a)](_0x589f82,_0x253936){const _0x295b2=_0x2a0c55,_0x1fadee=this[_0x295b2(0x12b)][_0x295b2(0x13c)][_0x295b2(0x12e)](_0x589f82),_0x4d2fb1=this[_0x295b2(0x12b)][_0x295b2(0x13c)][_0x295b2(0x169)](_0x589f82);if(_0x1fadee===undefined&&_0x4d2fb1===undefined)throw new Error(_0x295b2(0x16d));if((_0x1fadee?.[_0x295b2(0x17c)]??_0x4d2fb1?.[_0x295b2(0x17c)])!==_0x253936[_0x295b2(0x17c)])throw new Error(_0x295b2(0x115));this[_0x295b2(0x175)][_0x295b2(0x126)](_0x589f82,_0x253936);}[_0x2a0c55(0x180)](_0xa028){const _0x168a16=_0x2a0c55;return this[_0x168a16(0x175)][_0x168a16(0x149)](_0xa028);}[_0x2a0c55(0x131)](_0x1a8459,_0x255546){const _0x3acd4f=_0x2a0c55;this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x124)](_0x1a8459,_0x255546);const _0x2ddb71=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x169)](_0x1a8459);if(_0x2ddb71!==undefined){const _0x4d5804=_0x2ddb71[_0x3acd4f(0x17c)];this[_0x3acd4f(0x166)](_0x2ddb71['id']);const _0x357e88=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x113)](_0x4d5804);if(_0x357e88===undefined||this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x177)](_0x357e88['id'])!==undefined)return;if(this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x161)](_0x4d5804)[_0x3acd4f(0x151)][_0x3acd4f(0x116)]>-0x5b*0x1f+0x6f8+-0x1*-0x40d){this[_0x3acd4f(0x144)](_0x4d5804);return;}this[_0x3acd4f(0x12b)][_0x3acd4f(0x10e)](_0x357e88['id'],_0x3acd4f(0x10f),{'code':_0x255546},_0x3acd4f(0x174));return;}const _0x7090d6=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x12e)](_0x1a8459);if(_0x7090d6!==undefined)this[_0x3acd4f(0x12b)][_0x3acd4f(0x10e)](_0x7090d6['id'],_0x3acd4f(0x10f),{'code':_0x255546},_0x3acd4f(0x174));}[_0x2a0c55(0x14d)](_0x3ac953){const _0x5734db=_0x2a0c55,_0x2ef836=this[_0x5734db(0x175)][_0x5734db(0x149)](_0x3ac953[_0x5734db(0x130)]),_0x2f0a6f=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x169)](_0x3ac953[_0x5734db(0x130)]),_0x5c0e14=_0x2ef836?.[_0x5734db(0x17c)]??_0x2f0a6f?.[_0x5734db(0x17c)];if(_0x5c0e14===undefined)throw new Error(_0x5734db(0x134));const _0x422788=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x113)](_0x5c0e14),_0x53c49d=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x161)](_0x5c0e14)[_0x5734db(0x145)],_0x67205f=_0x422788!==undefined&&_0x3ac953[_0x5734db(0x130)]===_0x422788['id'];if(_0x67205f||!_0x3ac953[_0x5734db(0x121)][_0x5734db(0x118)]||_0x3ac953[_0x5734db(0x165)]!==_0x5734db(0x122))this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x168)](_0x5c0e14);if(_0x3ac953[_0x5734db(0x12d)]!==undefined&&_0x422788?.['id']===_0x3ac953[_0x5734db(0x12d)])return this[_0x5734db(0x139)](_0x3ac953[_0x5734db(0x130)],_0x422788['id']),_0x5734db(0x127);if(_0x67205f)return this[_0x5734db(0x144)](_0x5c0e14),_0x5734db(0x133);if(_0x422788===undefined&&_0x2f0a6f!==undefined){if(_0x3ac953[_0x5734db(0x121)][_0x5734db(0x118)]&&_0x3ac953[_0x5734db(0x165)]===_0x5734db(0x125))this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x173)](_0x2f0a6f['id']);return this[_0x5734db(0x181)](_0x5c0e14),_0x5734db(0x133);}if(this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x161)](_0x5c0e14)[_0x5734db(0x145)]!==_0x53c49d)this[_0x5734db(0x17d)](_0x5c0e14);return _0x5734db(0x11d);}[_0x2a0c55(0x10a)](_0x47848b){const _0x25c920=_0x2a0c55,_0x506967=this[_0x25c920(0x14b)](_0x47848b);this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x168)](_0x506967[_0x25c920(0x17c)]),this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x173)](_0x506967['id']);const _0x111538=this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x113)](_0x506967[_0x25c920(0x17c)]);if(_0x111538!==undefined)return this[_0x25c920(0x139)](_0x506967['id'],_0x111538['id'],![]),{'run':_0x111538,'delivery':_0x25c920(0x127)};this[_0x25c920(0x181)](_0x506967[_0x25c920(0x17c)]);const _0x11af8f=this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x113)](_0x506967[_0x25c920(0x17c)]);if(_0x11af8f===undefined)throw new Error(_0x25c920(0x12a));return{'run':_0x11af8f,'delivery':_0x25c920(0x133)};}[_0x2a0c55(0x154)](_0x2a8ad4,_0x217c7d){const _0x397d0d=_0x2a0c55,_0x386d21=this[_0x397d0d(0x175)][_0x397d0d(0x149)](_0x2a8ad4);if(_0x386d21===undefined)return;this[_0x397d0d(0x175)][_0x397d0d(0x126)](_0x2a8ad4,{..._0x386d21,'input':_0x217c7d});}[_0x2a0c55(0x166)](_0x5313c7){const _0x456807=_0x2a0c55,_0x15c6b7=this[_0x456807(0x12b)][_0x456807(0x13c)][_0x456807(0x169)](_0x5313c7);if(_0x15c6b7===undefined)throw new Error(_0x456807(0x12c));this[_0x456807(0x12b)][_0x456807(0x13c)][_0x456807(0x166)](_0x15c6b7['id']),this[_0x456807(0x112)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x184)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x132)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x15f)](_0x15c6b7[_0x456807(0x172)],_0x15c6b7[_0x456807(0x17c)]);}[_0x2a0c55(0x13d)](_0x5a1cb1){const _0x3af830=_0x2a0c55,_0x5dab5b=this[_0x3af830(0x12b)][_0x3af830(0x13c)][_0x3af830(0x163)](_0x5a1cb1);if(_0x5dab5b!==undefined)this[_0x3af830(0x12b)][_0x3af830(0x13f)](_0x5dab5b);}[_0x2a0c55(0x17d)](_0x74f292){const _0x1ad994=_0x2a0c55,_0x2d8ad9=this[_0x1ad994(0x12b)][_0x1ad994(0x13c)][_0x1ad994(0x16b)](_0x74f292);if(_0x2d8ad9===undefined)throw new Error(_0x1ad994(0x134));this[_0x1ad994(0x12b)][_0x1ad994(0x15f)](_0x2d8ad9[_0x1ad994(0x172)],_0x2d8ad9['id']);}[_0x2a0c55(0x139)](_0x558810,_0xd97dcb,_0x67d73d=!![]){const _0xdd4f41=_0x2a0c55,_0x4d6a59=this[_0xdd4f41(0x14b)](_0x558810),_0x2bf1d8=this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x12e)](_0xd97dcb);if(_0x2bf1d8===undefined||_0x4d6a59[_0xdd4f41(0x17c)]!==_0x2bf1d8[_0xdd4f41(0x17c)])throw new Error(_0xdd4f41(0x12c));if(_0x67d73d)this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x173)](_0x4d6a59['id']);this[_0xdd4f41(0x17d)](_0x4d6a59[_0xdd4f41(0x17c)]);const _0x1ab421=this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x177)](_0x2bf1d8['id']);if(_0x1ab421===undefined)throw new Error(_0xdd4f41(0x120));if(!this[_0xdd4f41(0x171)][_0xdd4f41(0x15d)](_0x1ab421)){const _0x547292=this[_0xdd4f41(0x175)][_0xdd4f41(0x149)](_0x1ab421),_0x7ccd1e=this[_0xdd4f41(0x175)][_0xdd4f41(0x149)](_0x4d6a59['id']);if(_0x547292!==undefined&&_0x7ccd1e!==undefined)this[_0xdd4f41(0x175)][_0xdd4f41(0x126)](_0x4d6a59['id'],{..._0x7ccd1e,'input':_0x547292[_0xdd4f41(0x170)]+'\x0a\x0a'+_0x7ccd1e[_0xdd4f41(0x170)]});}this[_0xdd4f41(0x12b)][_0xdd4f41(0x129)](_0x1ab421),this[_0xdd4f41(0x12b)][_0xdd4f41(0x148)](_0xdd4f41(0x11e),{'runId':_0x1ab421});}[_0x2a0c55(0x150)](_0x115cd6){const _0x50e045=_0x2a0c55;this[_0x50e045(0x12b)][_0x50e045(0x13c)][_0x50e045(0x168)](_0x115cd6),this[_0x50e045(0x181)](_0x115cd6);}[_0x2a0c55(0x144)](_0x10418f,_0x1592da=0x1ac5+0x5a7*0x1+0x14*-0x19f){const _0x37829e=_0x2a0c55;if(this[_0x37829e(0x15c)][_0x37829e(0x15d)](_0x10418f))return;const _0x5c56b9=setTimeout(()=>{const _0x20abf7=_0x37829e;this[_0x20abf7(0x15c)][_0x20abf7(0x137)](_0x10418f);if(!this[_0x20abf7(0x12b)][_0x20abf7(0x15a)]())void this[_0x20abf7(0x153)](_0x10418f);},_0x1592da);this[_0x37829e(0x15c)][_0x37829e(0x126)](_0x10418f,_0x5c56b9),_0x5c56b9[_0x37829e(0x117)]();}async[_0x2a0c55(0x153)](_0xe5fa06){const _0x4a1500=_0x2a0c55,_0x55a4df=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x113)](_0xe5fa06);if(_0x55a4df===undefined)return;let _0x43e85e=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x177)](_0x55a4df['id']);if(_0x43e85e!==undefined&&this[_0x4a1500(0x11a)][_0x4a1500(0x15d)](_0x43e85e))return;let _0x112575=_0x43e85e===undefined?this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x55a4df['id']):this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x43e85e);if(_0x43e85e===undefined&&_0x112575===undefined){const _0x6fe9d7=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x161)](_0xe5fa06)[_0x4a1500(0x151)][0x100a*-0x2+0x431+0x1be3];if(_0x6fe9d7===undefined)return;_0x112575=this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x6fe9d7);if(_0x112575===undefined)return;if(this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x13b)](_0xe5fa06)===undefined)return;const _0xe5c6db=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x142)](_0x55a4df['id']);_0x43e85e=_0xe5c6db['id'],this[_0x4a1500(0x175)][_0x4a1500(0x137)](_0x6fe9d7),this[_0x4a1500(0x175)][_0x4a1500(0x126)](_0xe5c6db['id'],{..._0x112575,'runId':_0xe5c6db['id']}),this[_0x4a1500(0x12b)][_0x4a1500(0x159)](_0x6fe9d7,_0xe5c6db['id']),this[_0x4a1500(0x17d)](_0xe5fa06);const _0x439055=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x152)](_0xe5c6db['id']);if(_0x439055===undefined)throw new Error(_0x4a1500(0x178));this[_0x4a1500(0x12b)][_0x4a1500(0x13f)](_0x439055);}else{if(_0x43e85e===undefined&&_0x112575!==undefined){const _0x30956f=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x142)](_0x55a4df['id']);_0x43e85e=_0x30956f['id'],this[_0x4a1500(0x175)][_0x4a1500(0x137)](_0x55a4df['id']),this[_0x4a1500(0x175)][_0x4a1500(0x126)](_0x30956f['id'],{..._0x112575,'runId':_0x30956f['id']}),this[_0x4a1500(0x12b)][_0x4a1500(0x159)](_0x55a4df['id'],_0x30956f['id']);}}if(_0x43e85e===undefined||_0x112575===undefined)return;if(this[_0x4a1500(0x11a)][_0x4a1500(0x15d)](_0x43e85e))return;this[_0x4a1500(0x11a)][_0x4a1500(0x114)](_0x43e85e);try{const _0x29b663=_0x112575[_0x4a1500(0x17a)]===undefined?undefined:await this[_0x4a1500(0x12b)][_0x4a1500(0x182)]?.(_0x112575);this[_0x4a1500(0x12b)][_0x4a1500(0x148)](_0x4a1500(0x141),{'runId':_0x43e85e,'sessionId':_0x112575[_0x4a1500(0x17c)],'workspaceId':_0x112575[_0x4a1500(0x172)],'runner':_0x112575[_0x4a1500(0x10d)],'input':_0x112575[_0x4a1500(0x170)],..._0x112575[_0x4a1500(0x135)][_0x4a1500(0x116)]===-0x58e+0x458*-0x7+-0x23f6*-0x1?{}:{'attachments':_0x112575[_0x4a1500(0x135)]},'cwd':_0x112575[_0x4a1500(0x10c)],..._0x112575[_0x4a1500(0x17b)]===null?{}:{'externalSessionId':_0x112575[_0x4a1500(0x17b)]},..._0x112575[_0x4a1500(0x13a)]===null?{}:{'model':_0x112575[_0x4a1500(0x13a)]},..._0x112575[_0x4a1500(0x162)]===null?{}:{'effort':_0x112575[_0x4a1500(0x162)]},..._0x112575[_0x4a1500(0x185)]===null?{}:{'access':_0x112575[_0x4a1500(0x185)]},'collaborationMode':_0x112575[_0x4a1500(0x16f)],..._0x112575[_0x4a1500(0x12f)]===undefined?{}:{'serviceTier':_0x112575[_0x4a1500(0x12f)]},'secretEnvironment':{..._0x112575[_0x4a1500(0x146)],..._0x29b663?.[_0x4a1500(0x14e)]??{}},..._0x112575[_0x4a1500(0x160)]===undefined?{}:{'personalInstructions':_0x112575[_0x4a1500(0x160)]},'mcpInstallations':[...this[_0x4a1500(0x12b)][_0x4a1500(0x16e)](_0x112575[_0x4a1500(0x172)]),..._0x29b663===undefined?[]:[_0x29b663[_0x4a1500(0x111)]]]});}catch(_0x5471fa){this[_0x4a1500(0x12b)][_0x4a1500(0x10e)](_0x43e85e,_0x4a1500(0x10f),{'code':safeErrorCode(_0x5471fa,_0x4a1500(0x16a))},_0x4a1500(0x174));}}[_0x2a0c55(0x110)](_0x1cf8c5){const _0x2a418c=_0x2a0c55;if(this[_0x2a418c(0x171)][_0x2a418c(0x15d)](_0x1cf8c5))return;const _0x11283b=this[_0x2a418c(0x175)][_0x2a418c(0x149)](_0x1cf8c5);if(_0x11283b===undefined)return;this[_0x2a418c(0x171)][_0x2a418c(0x114)](_0x1cf8c5),void this[_0x2a418c(0x12b)][_0x2a418c(0x143)]?.(_0x11283b)[_0x2a418c(0x15b)](()=>undefined);}[_0x2a0c55(0x179)](_0x38fc12){const _0x2ded8a=_0x2a0c55;return this[_0x2ded8a(0x171)][_0x2ded8a(0x15d)](_0x38fc12);}[_0x2a0c55(0x11b)](_0x575c2f,_0x43a357){const _0x1b1aa5=_0x2a0c55;for(const [_0x9a325c,_0x3660ec]of this[_0x1b1aa5(0x175)])if(_0x3660ec[_0x1b1aa5(0x17c)]===_0x575c2f)this[_0x1b1aa5(0x175)][_0x1b1aa5(0x126)](_0x9a325c,{..._0x3660ec,'sessionId':_0x43a357,'externalSessionId':_0x43a357});const _0x456692=this[_0x1b1aa5(0x15c)][_0x1b1aa5(0x149)](_0x575c2f);_0x456692!==undefined&&(clearTimeout(_0x456692),this[_0x1b1aa5(0x15c)][_0x1b1aa5(0x137)](_0x575c2f),this[_0x1b1aa5(0x144)](_0x43a357));}[_0x2a0c55(0x112)](_0x33020d){const _0x4b177e=_0x2a0c55;this[_0x4b177e(0x175)][_0x4b177e(0x137)](_0x33020d),this[_0x4b177e(0x11a)][_0x4b177e(0x137)](_0x33020d),this[_0x4b177e(0x171)][_0x4b177e(0x137)](_0x33020d);}[_0x2a0c55(0x186)](_0x252747){const _0x1e7485=_0x2a0c55;for(const [_0x37af79,_0x474970]of this[_0x1e7485(0x175)]){if(_0x474970[_0x1e7485(0x17c)]!==_0x252747||_0x474970[_0x1e7485(0x17a)]===undefined)continue;const _0x575f52=this[_0x1e7485(0x12b)][_0x1e7485(0x13c)][_0x1e7485(0x169)](_0x37af79);if(_0x575f52!==undefined)this[_0x1e7485(0x166)](_0x37af79);}}[_0x2a0c55(0x140)](_0x35dab4,_0x254d74){const _0x119cdb=_0x2a0c55;for(const _0x3cd9e8 of[...this[_0x119cdb(0x12b)][_0x119cdb(0x13c)][_0x119cdb(0x161)](_0x35dab4)[_0x119cdb(0x151)]]){if(_0x3cd9e8===_0x254d74)continue;this[_0x119cdb(0x166)](_0x3cd9e8);}}[_0x2a0c55(0x157)](){const _0x457e3a=_0x2a0c55;this[_0x457e3a(0x175)][_0x457e3a(0x157)](),this[_0x457e3a(0x11a)][_0x457e3a(0x157)](),this[_0x457e3a(0x171)][_0x457e3a(0x157)]();for(const _0xf62f6c of this[_0x457e3a(0x15c)][_0x457e3a(0x13e)]())clearTimeout(_0xf62f6c);this[_0x457e3a(0x15c)][_0x457e3a(0x157)]();}[_0x2a0c55(0x181)](_0x4868c3){const _0x49cf3a=_0x2a0c55;if(this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x113)](_0x4868c3)!==undefined){this[_0x49cf3a(0x144)](_0x4868c3);return;}const _0x20eca9=this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x161)](_0x4868c3),_0x3f341a=_0x20eca9[_0x49cf3a(0x118)]?undefined:_0x20eca9[_0x49cf3a(0x151)][0x1d9d+-0xa1c+-0x1381];if(_0x3f341a===undefined)return;const _0x1c5294=this[_0x49cf3a(0x175)][_0x49cf3a(0x149)](_0x3f341a);if(_0x1c5294===undefined)throw new Error(_0x49cf3a(0x17e));const {run:_0x1b40ea,turn:_0x5433ce}=this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x14f)](_0x3f341a);this[_0x49cf3a(0x175)][_0x49cf3a(0x137)](_0x3f341a),this[_0x49cf3a(0x175)][_0x49cf3a(0x126)](_0x1b40ea['id'],{..._0x1c5294,'runId':_0x1b40ea['id']}),this[_0x49cf3a(0x12b)][_0x49cf3a(0x15f)](_0x1b40ea[_0x49cf3a(0x172)],_0x4868c3),this[_0x49cf3a(0x12b)][_0x49cf3a(0x13f)](_0x5433ce),this[_0x49cf3a(0x144)](_0x4868c3);}[_0x2a0c55(0x14b)](_0x1b117a){const _0x286af5=_0x2a0c55,_0x17da43=this[_0x286af5(0x12b)][_0x286af5(0x13c)][_0x286af5(0x169)](_0x1b117a);if(_0x17da43===undefined)throw new Error(_0x286af5(0x12c));if(!this[_0x286af5(0x175)][_0x286af5(0x15d)](_0x1b117a))throw new Error(_0x286af5(0x17e));return _0x17da43;}}function _0x5e0f(){const _0x444d7b=['C2vJCMv0rw52AxjVBM1LBNq','mJi5ELnvz0f4','y29UDhjVBa','z2v0','ChjLCgfYzq','CMvXDwLYzvbYzxbHCMvKsxrLBq','nxPPzhzbBW','C2v0DgXL','C2vJCMv0CW','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','CMvZDw1L','AxrLBuLKCW','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','zgLZCgf0y2G','DxbKyxrLuhjLCgfYzwrjBNb1Da','mZa0nZa0ngrvzuPKEG','ywnJzxb0','y2XLyxi','mZzlv1npC0e','BwLNCMf0zufZC2v0CW','C3rVChbLza','y2f0y2G','C2nOzwr1BgvKu2vZC2LVBNm','AgfZ','y3jLyxrLuxvLDwvjDgvT','zw1PDff1zxvL','CgvYC29UywXjBNn0CNvJDgLVBNm','C2vZC2LVBLf1zxvL','zwzMB3j0','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','y29UDgvUDa','Aw50zw50','zgvSzxrLuxvLDwvjDgvT','mJa3mZG1ohjOve5dCa','CMvZDw1Lu2vZC2LVBLf1zxvL','z2v0uxvLDwvjDgvT','uLvox1nuqvjux0zbsuXfra','z2v0qwDLBNrtzxnZAw9U','mZmXmtu0nhfsugLmCq','tuvtu0fhrv9ot1rFrK9vtKq','BwnWCW','y29SBgfIB3jHDgLVBK1Vzgu','Aw5WDxq','C3rHCNrLzev4zwn1DgLVBNm','D29YA3nWywnLswq','ChjPB3jPDgL6zvf1zxvLsxrLBq','rKfjteve','ChjLCgfYzwrjBNb1Dhm','odqYmfLgthLywa','y3vYCMvUDev4zwn1DgLVBKLK','uLvox1rvuK5FtK9ux0zpvu5e','AgfZrxHLy3v0Aw9Uu3rHCNrLza','BwLZC2LVBG','zxH0zxjUywXtzxnZAw9Uswq','C2vZC2LVBKLK','ChvIBgLZAa','uvvfvuvFsu5qvvrFte9tva','AxrLBq','CgvUzgLUzW','C3rHCNrjzgXLuxvLDwu','BwLZC2LVBK1JCa','CNvUswq','y2XLyxjjBwfNzxm','ywnJzxnZ','CMvTB3zLtwLZC2LVBLf1zxvL','zxHLy3v0zvf1zxvLsxrLBq','Aw5PDgLHDgvKqNLvC2vYswq','y3DK','CNvUBMvY','zw1PDfj1BG','CNvUlNjLAMvJDgvK','zxHLy3v0Aw9Uu3rHCNrLza','Aw5ZDgfSBgf0Aw9U','CMvTB3zL','ywn0AxzLu2vZC2LVBLj1BG','ywrK','tuvtu0fhrv9trvntsu9ox01ju01bveni','BgvUz3rO','Dw5Yzwy','Cgf1C2vK','mJG3ndaWoxviwMDABa','zgLZCgf0y2HLzev4zwn1DgLVBNm','BwLNCMf0zvnLC3nPB24','mteWnJq4mtz0DNnjsfq','uvvfvuve','CNvUlMLUDgvYCNvWDa','y2XPzw50twvZC2fNzuLK','uLvox0vyrunvveLptL9ot1rFrK9vtKq','CxvLDwvczwzVCMu','uvvfvuu','y3jLyxrLtwvZC2fNzvj1BG','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','u0vora','C2v0','uKvtvefsveLorW','y3jLyxrLza','BwfYA0LUDgvYCNvWDgvK','uLvox05pvf9gt1vora','B3b0Aw9UCW','uvvfvuvFsvrftv9jtLzbteLe','ywn0AxzLuNvUswq','z2v0uNvU','C2vYDMLJzvrPzxi','C3vIBwLZC2LVBKLK','zMfPBfbYzxbHCMf0Aw9U','y2XLyw51Cef0DgfJAg1LBNrZ','u1rbuLrfra','u0vtu0LptL9ot1rFrK9vtKq','yxr0ywnOBwvUDhm','nJmXmdDmCLP6whu','zgvSzxrL','mZG5nLnfDfLbzG','CMvWBgfJzq','Bw9KzwW','y2XHAw1ozxH0uxvLDwvjDgvT','CNvUDgLTzq','ChvIBgLZAen1CNjLBNruDxjU','DMfSDwvZ','zw1PDenVBNzLCNnHDgLVBG','CMvTB3zLugvUzgLUz1f1zxvL','CNvUlNn0yxj0','y3jLyxrLrxHLy3v0Aw9U','ywz0zxjfEgvJDxrPB25tDgfYDgvK','C2nOzwr1Bgu','DMvYC2LVBG'];_0x5e0f=function(){return _0x444d7b;};return _0x5e0f();}
2
+ const _0x1b22b2=_0xb37e;function _0xb37e(_0x3fd715,_0x21038d){_0x3fd715=_0x3fd715-(-0x1d4d*-0x1+-0x3*0x8f3+0x6e*-0x2);const _0x41ea1b=_0x5a72();let _0x1669f2=_0x41ea1b[_0x3fd715];if(_0xb37e['NVhrvV']===undefined){var _0xd8c5db=function(_0x1d1757){const _0x1fb69f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x10e961='',_0x25e740='';for(let _0x1ad1e6=0x6c*0x47+0xf7*-0x13+0xb9f*-0x1,_0x236b44,_0x2d6744,_0x5b745e=0x15b+-0x3a*0x64+0x154d;_0x2d6744=_0x1d1757['charAt'](_0x5b745e++);~_0x2d6744&&(_0x236b44=_0x1ad1e6%(-0x1*-0x535+0x65*-0x56+0x1cbd)?_0x236b44*(0xd38+-0x7*0x295+-0x1*-0x51b)+_0x2d6744:_0x2d6744,_0x1ad1e6++%(0xb*0x15d+-0x65*-0x2f+-0x2186))?_0x10e961+=String['fromCharCode'](0xea0+0xcab*0x1+-0x1a4c&_0x236b44>>(-(0xae+0x103c+0x43a*-0x4)*_0x1ad1e6&0x63*-0x2a+0x150d*0x1+-0x4c9)):0x4f*-0x7b+0x144a+0x11ab*0x1){_0x2d6744=_0x1fb69f['indexOf'](_0x2d6744);}for(let _0x2f24ae=-0x1*0x104a+0x53f*-0x1+0x1589,_0x10778f=_0x10e961['length'];_0x2f24ae<_0x10778f;_0x2f24ae++){_0x25e740+='%'+('00'+_0x10e961['charCodeAt'](_0x2f24ae)['toString'](-0x12ab+0x24cf+-0x1214))['slice'](-(-0x12c2+0x17e5+-0x1*0x521));}return decodeURIComponent(_0x25e740);};_0xb37e['jdEGsl']=_0xd8c5db,_0xb37e['ltXMCa']={},_0xb37e['NVhrvV']=!![];}const _0x40b67a=_0x41ea1b[-0x1*0xfa1+0x1*-0x24d+-0x10e*-0x11];_0xb37e['ZCevIo']!==_0x40b67a&&(_0xb37e['ltXMCa']={},_0xb37e['ZCevIo']=_0x40b67a);const _0x5a2edc=_0xb37e['ltXMCa'][_0x3fd715];return _0x5a2edc===undefined?(_0x1669f2=_0xb37e['jdEGsl'](_0x1669f2),_0xb37e['ltXMCa'][_0x3fd715]=_0x1669f2):_0x1669f2=_0x5a2edc,_0x1669f2;}(function(_0x54eae4,_0x435bf1){const _0x2fde71=_0xb37e,_0x7f0d0d=_0x54eae4();while(!![]){try{const _0x2bee1e=-parseInt(_0x2fde71(0x1ae))/(-0x2347+-0x1*0x118d+0x1*0x34d5)*(-parseInt(_0x2fde71(0x1cd))/(0x1*-0x4c7+0x12f9+-0x38c*0x4))+parseInt(_0x2fde71(0x1b9))/(-0x2595+0x35f*0x8+0xaa0)*(parseInt(_0x2fde71(0x210))/(-0x125a+0x1ef8+-0xc9a*0x1))+parseInt(_0x2fde71(0x1ef))/(0xd4+0x162e+-0x16fd)+parseInt(_0x2fde71(0x1dd))/(-0x1988+0x1690+0x2fe)+-parseInt(_0x2fde71(0x1e2))/(-0x1b4f+-0x1*-0xaac+0x2*0x855)+parseInt(_0x2fde71(0x1d8))/(0x1*0x198b+-0xf3a+-0xa49)*(-parseInt(_0x2fde71(0x1e5))/(0x26b*0xf+-0x30f+-0x212d))+-parseInt(_0x2fde71(0x1da))/(-0x488+0x5*0x6dd+0x5*-0x5f3)*(parseInt(_0x2fde71(0x1b8))/(0x1621*0x1+-0x3*-0x31a+-0x1f64));if(_0x2bee1e===_0x435bf1)break;else _0x7f0d0d['push'](_0x7f0d0d['shift']());}catch(_0x2bd6ab){_0x7f0d0d['push'](_0x7f0d0d['shift']());}}}(_0x5a72,0x3105e+0x22*0x335c+0x98b*-0xa7));function _0x5a72(){const _0x4ae22d=['zwzMB3j0','u1rbuLrfra','CNvUlMLUDgvYCNvWDa','BwLNCMf0zufZC2v0CW','tuvtu0fhrv9ot1rFrK9vtKq','uLvox1nuqvjux0zbsuXfra','zw1PDfj1BG','AxrLBuLKCW','uKvtvefsveLorW','C2nOzwr1Bgu','C2nOzwr1BgvKu2vZC2LVBNm','C3rHCNrjzgXLuxvLDwu','BwfYqwDLBNrnB2rLBa','uLvox0vyrunvveLptL9ot1rFrK9vtKq','CNvUDgLTzq','yxr0ywnOBwvUDhm','uvvfvuve','zw1PDff1zxvL','u1vdq0vfreve','Aw50zw50','B3b0Aw9UCW','AgfZrxHLy3v0Aw9Uu3rHCNrLza','Aw5ZDgfSBgf0Aw9U','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','BgvUz3rO','CgvYC29UywXjBNn0CNvJDgLVBNm','mxDsCef4Aq','zxHLy3v0zvf1zxvLsxrLBq','y3vYCMvUDev4zwn1DgLVBKLK','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','z2v0qwDLBNrtzxnZAw9U','zxH0zxjUywXtzxnZAw9Uswq','u0vora','Aw5WDxq','CMvXDwLYzvbYzxbHCMvKsxrLBq','CMvTB3zL','oti0D0nJwuzS','m1zAtg5jAW','C3rHDhvZ','ywnJzxb0','C2vYDMLJzvrPzxi','DxbKyxrLuhjLCgfYzwrjBNb1Da','BwfYA0LUDgvYCNvWDgvK','CNvUlNjLAMvJDgvK','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','ChjLCgfYzwrjBNb1Dhm','CNvUswq','CNvUBMvY','BwLZC2LVBK1JCa','tuvtu0fhrv9trvntsu9ox01ju01bveni','ywn0AxzLuNvUswq','zxHLy3v0Aw9Uu3rHCNrLza','CMvTB3zLtwLZC2LVBLf1zxvL','y2XLyw51Cef0DgfJAg1LBNrZ','y29UDhjVBa','ChvIBgLZAen1CNjLBNruDxjU','uLvox1rvuK5FtK9ux0zpvu5e','mJGWmdrTzhrcthG','zgvSzxrL','ChjPB3jPDgL6zvf1zxvLsxrLBq','u0vtu0LptL9ot1rFrK9vtKq','AxrLBq','y29UDgvUDa','su5urvjsvvburuq','zgvSzxrLuxvLDwvjDgvT','uLvox05pvf9gt1vora','DMvYC2LVBG','rKfjteve','mtznEffZB3G','CMvZDw1Lu2vZC2LVBLf1zxvL','mZu4mgXluwP0uq','CMvWBgfJzq','Dw5Yzwy','mJqYmJG2nMXhzg9kyq','C3vIBwLZC2LVBKLK','BwLNCMf0zvnLC3nPB24','z2v0','zgLZCgf0y2HLzev4zwn1DgLVBNm','mtK1ndaWohD1B1rAAa','y2XHAw1ozxH0uxvLDwvjDgvT','CMvZDw1L','mti1nJqWovLuCufJtG','C2vZC2LVBLf1zxvL','AgfZ','Bw9KzwW','ywn0AxzLu2vZC2LVBLj1BG','BwLZC2LVBG','y2f0y2G','ywz0zxjfEgvJDxrPB25tDgfYDgvK','C3rVChbLza','C2vJCMv0rw52AxjVBM1LBNq','mJu0mtG1zNrZqMDn','y29SBgfIB3jHDgLVBK1Vzgu','CxvLDwvczwzVCMu','z2v0uxvLDwvjDgvT','y3jLyxrLuxvLDwvjDgvT','y3DK','uvvfvuvFsu5qvvrFte9tva','ChvIBgLZAa','C2v0','Aw5PDgLHDgvKqNLvC2vYswq','CMvTB3zLugvUzgLUz1f1zxvL','uvvfvuvFsvrftv9jtLzbteLe','uvvfvuu','y2XPzw50twvZC2fNzuLK','C2vJCMv0CW','y3jLyxrLrxHLy3v0Aw9U','ywnJzxnZ','C2v0DgXL','CNvUlNn0yxj0','Cgf1C2vK','ywrK','BwnWCW','DMfSDwvZ','y3jLyxrLza','zgLZCgf0y2G','C2vZC2LVBKLK','ChjLCgfYzq','y2XLyxi','CgvUzgLUzW','y3jLyxrLtwvZC2fNzvj1BG','zMfPBfbYzxbHCMf0Aw9U','zw1PDenVBNzLCNnHDgLVBG','C3rHCNrLzev4zwn1DgLVBNm','mtqZodq2ofbdEerYDG','y2XLyxjjBwfNzxm','z2v0uNvU','D29YA3nWywnLswq','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG'];_0x5a72=function(){return _0x4ae22d;};return _0x5a72();}import{safeErrorCode}from'../util/safe-error.js';export class ContinuousRunCoordinator{[_0x1b22b2(0x1a8)];[_0x1b22b2(0x1c1)]=new Map();[_0x1b22b2(0x1e1)]=new Set();[_0x1b22b2(0x20f)]=new Set();[_0x1b22b2(0x19e)]=new Map();constructor(_0x1cd557){const _0x399f2d=_0x1b22b2;this[_0x399f2d(0x1a8)]=_0x1cd557;}[_0x1b22b2(0x1bb)](_0x58a3ca){const _0x3090c9=_0x1b22b2,_0x5e5283=this[_0x3090c9(0x1a8)][_0x3090c9(0x1a2)][_0x3090c9(0x1e9)](_0x58a3ca[_0x3090c9(0x208)]);if(_0x5e5283===undefined)return this[_0x3090c9(0x1a8)][_0x3090c9(0x1a2)][_0x3090c9(0x20c)](_0x58a3ca);const _0x7af719=this[_0x3090c9(0x1a8)][_0x3090c9(0x1a2)][_0x3090c9(0x1f3)]({'queueItemId':_0x58a3ca[_0x3090c9(0x1c2)],'sessionId':_0x58a3ca[_0x3090c9(0x208)],'clientMessageId':_0x58a3ca[_0x3090c9(0x1fc)],'content':_0x58a3ca[_0x3090c9(0x1d2)],..._0x58a3ca[_0x3090c9(0x1f8)]===undefined?{}:{'initiatedByUserId':_0x58a3ca[_0x3090c9(0x1f8)]},..._0x58a3ca[_0x3090c9(0x1a3)]===undefined?{}:{'attachments':_0x58a3ca[_0x3090c9(0x1a3)]}});if(_0x7af719[_0x3090c9(0x206)])this[_0x3090c9(0x1a8)][_0x3090c9(0x1a5)](_0x7af719[_0x3090c9(0x1d1)][_0x3090c9(0x213)],_0x7af719[_0x3090c9(0x1d1)][_0x3090c9(0x208)]);return{'run':_0x5e5283,'queueItem':_0x7af719[_0x3090c9(0x1d1)],'created':_0x7af719[_0x3090c9(0x206)]};}[_0x1b22b2(0x209)](_0x3084f3,_0x438121){const _0x54e78f=_0x1b22b2,_0x179874=this[_0x54e78f(0x1a8)][_0x54e78f(0x1a2)][_0x54e78f(0x212)](_0x3084f3),_0x2d0773=this[_0x54e78f(0x1a8)][_0x54e78f(0x1a2)][_0x54e78f(0x1f2)](_0x3084f3);if(_0x179874===undefined&&_0x2d0773===undefined)throw new Error(_0x54e78f(0x198));if((_0x179874?.[_0x54e78f(0x208)]??_0x2d0773?.[_0x54e78f(0x208)])!==_0x438121[_0x54e78f(0x208)])throw new Error(_0x54e78f(0x1c5));this[_0x54e78f(0x1c1)][_0x54e78f(0x1f7)](_0x3084f3,_0x438121);}[_0x1b22b2(0x20b)](_0x3cd23e){const _0x37013d=_0x1b22b2;return this[_0x37013d(0x1c1)][_0x37013d(0x1e0)](_0x3cd23e);}[_0x1b22b2(0x20d)](_0x52d11f,_0x1bddc3){const _0x42bdb0=_0x1b22b2;this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x1c0)](_0x52d11f,_0x1bddc3);const _0x49617a=this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x1f2)](_0x52d11f);if(_0x49617a!==undefined){const _0x4aef1a=_0x49617a[_0x42bdb0(0x208)];this[_0x42bdb0(0x1d4)](_0x49617a['id']);const _0x359752=this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x1e9)](_0x4aef1a);if(_0x359752===undefined||this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x1b0)](_0x359752['id'])!==undefined)return;if(this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x1e6)](_0x4aef1a)[_0x42bdb0(0x19b)][_0x42bdb0(0x1ac)]>0x67*0x32+0x13a4*0x1+-0x2d7*0xe){this[_0x42bdb0(0x19d)](_0x4aef1a);return;}this[_0x42bdb0(0x1a8)][_0x42bdb0(0x19a)](_0x359752['id'],_0x42bdb0(0x1bf),{'code':_0x1bddc3},_0x42bdb0(0x1d7));return;}const _0x50d419=this[_0x42bdb0(0x1a8)][_0x42bdb0(0x1a2)][_0x42bdb0(0x212)](_0x52d11f);if(_0x50d419!==undefined)this[_0x42bdb0(0x1a8)][_0x42bdb0(0x19a)](_0x50d419['id'],_0x42bdb0(0x1bf),{'code':_0x1bddc3},_0x42bdb0(0x1d7));}[_0x1b22b2(0x200)](_0x5a03ad){const _0x59dba2=_0x1b22b2,_0x1c4800=this[_0x59dba2(0x1c1)][_0x59dba2(0x1e0)](_0x5a03ad[_0x59dba2(0x1de)]),_0x15c49a=this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1f2)](_0x5a03ad[_0x59dba2(0x1de)]),_0x487390=_0x1c4800?.[_0x59dba2(0x208)]??_0x15c49a?.[_0x59dba2(0x208)];if(_0x487390===undefined)throw new Error(_0x59dba2(0x1d0));const _0x4a6159=this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1e9)](_0x487390),_0x4461db=_0x4a6159&&this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1ab)](_0x4a6159['id']),_0x1c216b=_0x4a6159!==undefined&&this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1b0)](_0x4a6159['id'])===undefined&&_0x4461db!==undefined&&(_0x4461db[_0x59dba2(0x1ba)]===_0x59dba2(0x1a6)||_0x4461db[_0x59dba2(0x1ba)]===_0x59dba2(0x1d7)||_0x4461db[_0x59dba2(0x1ba)]===_0x59dba2(0x1d3)),_0x3ea3fe=this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1e6)](_0x487390)[_0x59dba2(0x1d6)],_0x50d176=_0x4a6159!==undefined&&_0x5a03ad[_0x59dba2(0x1de)]===_0x4a6159['id'];if(_0x50d176||!_0x5a03ad[_0x59dba2(0x1f1)][_0x59dba2(0x202)]||_0x5a03ad[_0x59dba2(0x1a7)]!==_0x59dba2(0x1fb))this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1d9)](_0x487390);if(_0x5a03ad[_0x59dba2(0x1c6)]!==undefined&&_0x4a6159?.['id']===_0x5a03ad[_0x59dba2(0x1c6)]){if(_0x1c216b){if(_0x15c49a!==undefined)this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1cf)](_0x15c49a['id']);return this[_0x59dba2(0x19d)](_0x487390),_0x59dba2(0x19c);}return this[_0x59dba2(0x1db)](_0x5a03ad[_0x59dba2(0x1de)],_0x4a6159['id']),_0x59dba2(0x19c);}if(_0x50d176)return this[_0x59dba2(0x19d)](_0x487390),_0x59dba2(0x216);if(_0x4a6159===undefined&&_0x15c49a!==undefined){if(_0x5a03ad[_0x59dba2(0x1f1)][_0x59dba2(0x202)]&&_0x5a03ad[_0x59dba2(0x1a7)]===_0x59dba2(0x1b4))this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1cf)](_0x15c49a['id']);return this[_0x59dba2(0x19f)](_0x487390),_0x59dba2(0x216);}if(_0x1c216b&&_0x15c49a!==undefined){if(_0x5a03ad[_0x59dba2(0x1a7)]===_0x59dba2(0x1b4))this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1cf)](_0x15c49a['id']);return this[_0x59dba2(0x19d)](_0x487390),_0x59dba2(0x216);}if(this[_0x59dba2(0x1a8)][_0x59dba2(0x1a2)][_0x59dba2(0x1e6)](_0x487390)[_0x59dba2(0x1d6)]!==_0x3ea3fe)this[_0x59dba2(0x1f6)](_0x487390);return _0x59dba2(0x1a4);}[_0x1b22b2(0x1af)](_0x1bce55){const _0x1a5522=_0x1b22b2,_0x2948cd=this[_0x1a5522(0x1b6)](_0x1bce55);this[_0x1a5522(0x1a8)][_0x1a5522(0x1a2)][_0x1a5522(0x1d9)](_0x2948cd[_0x1a5522(0x208)]),this[_0x1a5522(0x1a8)][_0x1a5522(0x1a2)][_0x1a5522(0x1cf)](_0x2948cd['id']);const _0x5ce0b4=this[_0x1a5522(0x1a8)][_0x1a5522(0x1a2)][_0x1a5522(0x1e9)](_0x2948cd[_0x1a5522(0x208)]);if(_0x5ce0b4!==undefined)return this[_0x1a5522(0x1db)](_0x2948cd['id'],_0x5ce0b4['id'],![]),{'run':_0x5ce0b4,'delivery':_0x1a5522(0x19c)};this[_0x1a5522(0x19f)](_0x2948cd[_0x1a5522(0x208)]);const _0x2f3493=this[_0x1a5522(0x1a8)][_0x1a5522(0x1a2)][_0x1a5522(0x1e9)](_0x2948cd[_0x1a5522(0x208)]);if(_0x2f3493===undefined)throw new Error(_0x1a5522(0x1d5));return{'run':_0x2f3493,'delivery':_0x1a5522(0x216)};}[_0x1b22b2(0x1bd)](_0x5bb2f8,_0x5b1952){const _0x177bd4=_0x1b22b2,_0x113ba6=this[_0x177bd4(0x1c1)][_0x177bd4(0x1e0)](_0x5bb2f8);if(_0x113ba6===undefined)return;this[_0x177bd4(0x1c1)][_0x177bd4(0x1f7)](_0x5bb2f8,{..._0x113ba6,'input':_0x5b1952});}[_0x1b22b2(0x1d4)](_0x18e778){const _0x292d07=_0x1b22b2,_0x5c9d99=this[_0x292d07(0x1a8)][_0x292d07(0x1a2)][_0x292d07(0x1f2)](_0x18e778);if(_0x5c9d99===undefined)throw new Error(_0x292d07(0x1fa));this[_0x292d07(0x1a8)][_0x292d07(0x1a2)][_0x292d07(0x1d4)](_0x5c9d99['id']),this[_0x292d07(0x1b7)](_0x5c9d99['id']),this[_0x292d07(0x1a8)][_0x292d07(0x211)](_0x5c9d99['id']),this[_0x292d07(0x1a8)][_0x292d07(0x1c9)](_0x5c9d99['id']),this[_0x292d07(0x1a8)][_0x292d07(0x1a5)](_0x5c9d99[_0x292d07(0x213)],_0x5c9d99[_0x292d07(0x208)]);}[_0x1b22b2(0x1cb)](_0x2ae84a){const _0x51b970=_0x1b22b2,_0x2298ad=this[_0x51b970(0x1a8)][_0x51b970(0x1a2)][_0x51b970(0x1ab)](_0x2ae84a);if(_0x2298ad!==undefined)this[_0x51b970(0x1a8)][_0x51b970(0x20e)](_0x2298ad);}[_0x1b22b2(0x1f6)](_0x1fee25){const _0x2eaf1b=_0x1b22b2,_0x18cb56=this[_0x2eaf1b(0x1a8)][_0x2eaf1b(0x1a2)][_0x2eaf1b(0x1b2)](_0x1fee25);if(_0x18cb56===undefined)throw new Error(_0x2eaf1b(0x1d0));this[_0x2eaf1b(0x1a8)][_0x2eaf1b(0x1a5)](_0x18cb56[_0x2eaf1b(0x213)],_0x18cb56['id']);}[_0x1b22b2(0x1db)](_0x4cda35,_0x2a5cb4,_0x2a2d00=!![]){const _0x2539ef=_0x1b22b2,_0x40e90a=this[_0x2539ef(0x1b6)](_0x4cda35),_0x2f2627=this[_0x2539ef(0x1a8)][_0x2539ef(0x1a2)][_0x2539ef(0x212)](_0x2a5cb4);if(_0x2f2627===undefined||_0x40e90a[_0x2539ef(0x208)]!==_0x2f2627[_0x2539ef(0x208)])throw new Error(_0x2539ef(0x1fa));if(_0x2a2d00)this[_0x2539ef(0x1a8)][_0x2539ef(0x1a2)][_0x2539ef(0x1cf)](_0x40e90a['id']);this[_0x2539ef(0x1f6)](_0x40e90a[_0x2539ef(0x208)]);const _0x1c9ca4=this[_0x2539ef(0x1a8)][_0x2539ef(0x1a2)][_0x2539ef(0x1b0)](_0x2f2627['id']);if(_0x1c9ca4===undefined)throw new Error(_0x2539ef(0x1a1));if(!this[_0x2539ef(0x20f)][_0x2539ef(0x1e7)](_0x1c9ca4)){const _0x2ce147=this[_0x2539ef(0x1c1)][_0x2539ef(0x1e0)](_0x1c9ca4),_0x514acf=this[_0x2539ef(0x1c1)][_0x2539ef(0x1e0)](_0x40e90a['id']);if(_0x2ce147!==undefined&&_0x514acf!==undefined)this[_0x2539ef(0x1c1)][_0x2539ef(0x1f7)](_0x40e90a['id'],{..._0x514acf,'input':_0x2ce147[_0x2539ef(0x1b5)]+'\x0a\x0a'+_0x514acf[_0x2539ef(0x1b5)]});}this[_0x2539ef(0x1a8)][_0x2539ef(0x1be)](_0x1c9ca4),this[_0x2539ef(0x1a8)][_0x2539ef(0x1ca)](_0x2539ef(0x217),{'runId':_0x1c9ca4});}[_0x1b22b2(0x1e4)](_0x1ede86){const _0xdd3194=_0x1b22b2;this[_0xdd3194(0x1a8)][_0xdd3194(0x1a2)][_0xdd3194(0x1d9)](_0x1ede86),this[_0xdd3194(0x19f)](_0x1ede86);}[_0x1b22b2(0x19d)](_0x49d89e,_0x319861=-0x2172+0x67c+-0x3da*-0x7){const _0x39dfdd=_0x1b22b2;if(this[_0x39dfdd(0x19e)][_0x39dfdd(0x1e7)](_0x49d89e))return;const _0x33114d=setTimeout(()=>{const _0x10e469=_0x39dfdd;this[_0x10e469(0x19e)][_0x10e469(0x1ce)](_0x49d89e);if(!this[_0x10e469(0x1a8)][_0x10e469(0x1ed)]())void this[_0x10e469(0x207)](_0x49d89e);},_0x319861);this[_0x39dfdd(0x19e)][_0x39dfdd(0x1f7)](_0x49d89e,_0x33114d),_0x33114d[_0x39dfdd(0x1dc)]();}async[_0x1b22b2(0x207)](_0xd4b161){const _0x5d3005=_0x1b22b2,_0x3fd715=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1e9)](_0xd4b161);if(_0x3fd715===undefined)return;let _0x21038d=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1b0)](_0x3fd715['id']);if(_0x21038d!==undefined&&this[_0x5d3005(0x1e1)][_0x5d3005(0x1e7)](_0x21038d))return;let _0x41ea1b=_0x21038d===undefined?this[_0x5d3005(0x1c1)][_0x5d3005(0x1e0)](_0x3fd715['id']):this[_0x5d3005(0x1c1)][_0x5d3005(0x1e0)](_0x21038d);if(_0x21038d===undefined&&_0x41ea1b===undefined){const _0x1669f2=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1e6)](_0xd4b161)[_0x5d3005(0x19b)][0x29*0x17+-0x7fc+-0x3*-0x16f];if(_0x1669f2===undefined)return;_0x41ea1b=this[_0x5d3005(0x1c1)][_0x5d3005(0x1e0)](_0x1669f2);if(_0x41ea1b===undefined)return;if(this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1e3)](_0xd4b161)===undefined)return;const _0xd8c5db=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1fe)](_0x3fd715['id']);_0x21038d=_0xd8c5db['id'],this[_0x5d3005(0x1c1)][_0x5d3005(0x1ce)](_0x1669f2),this[_0x5d3005(0x1c1)][_0x5d3005(0x1f7)](_0xd8c5db['id'],{..._0x41ea1b,'runId':_0xd8c5db['id']}),this[_0x5d3005(0x1a8)][_0x5d3005(0x218)](_0x1669f2,_0xd8c5db['id']),this[_0x5d3005(0x1f6)](_0xd4b161);const _0x40b67a=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x214)](_0xd8c5db['id']);if(_0x40b67a===undefined)throw new Error(_0x5d3005(0x1cc));this[_0x5d3005(0x1a8)][_0x5d3005(0x20e)](_0x40b67a);}else{if(_0x21038d===undefined&&_0x41ea1b!==undefined){const _0x5a2edc=this[_0x5d3005(0x1a8)][_0x5d3005(0x1a2)][_0x5d3005(0x1fe)](_0x3fd715['id']);_0x21038d=_0x5a2edc['id'],this[_0x5d3005(0x1c1)][_0x5d3005(0x1ce)](_0x3fd715['id']),this[_0x5d3005(0x1c1)][_0x5d3005(0x1f7)](_0x5a2edc['id'],{..._0x41ea1b,'runId':_0x5a2edc['id']}),this[_0x5d3005(0x1a8)][_0x5d3005(0x218)](_0x3fd715['id'],_0x5a2edc['id']);}}if(_0x21038d===undefined||_0x41ea1b===undefined)return;if(this[_0x5d3005(0x1e1)][_0x5d3005(0x1e7)](_0x21038d))return;this[_0x5d3005(0x1e1)][_0x5d3005(0x203)](_0x21038d);try{const _0x1d1757=_0x41ea1b[_0x5d3005(0x1ea)]===undefined?undefined:await this[_0x5d3005(0x1a8)][_0x5d3005(0x1c4)]?.(_0x41ea1b);this[_0x5d3005(0x1a8)][_0x5d3005(0x1ca)](_0x5d3005(0x201),{'runId':_0x21038d,'sessionId':_0x41ea1b[_0x5d3005(0x208)],'workspaceId':_0x41ea1b[_0x5d3005(0x213)],'runner':_0x41ea1b[_0x5d3005(0x1c3)],'input':_0x41ea1b[_0x5d3005(0x1b5)],..._0x41ea1b[_0x5d3005(0x1fc)]===undefined?{}:{'clientMessageId':_0x41ea1b[_0x5d3005(0x1fc)]},..._0x41ea1b[_0x5d3005(0x1a3)][_0x5d3005(0x1ac)]===-0x15e3+-0x5*-0x319+0x27*0x2a?{}:{'attachments':_0x41ea1b[_0x5d3005(0x1a3)]},'cwd':_0x41ea1b[_0x5d3005(0x1f4)],..._0x41ea1b[_0x5d3005(0x1b3)]===null?{}:{'externalSessionId':_0x41ea1b[_0x5d3005(0x1b3)]},..._0x41ea1b[_0x5d3005(0x1e8)]===null?{}:{'model':_0x41ea1b[_0x5d3005(0x1e8)]},..._0x41ea1b[_0x5d3005(0x215)]===null?{}:{'effort':_0x41ea1b[_0x5d3005(0x215)]},..._0x41ea1b[_0x5d3005(0x1ff)]===null?{}:{'access':_0x41ea1b[_0x5d3005(0x1ff)]},'collaborationMode':_0x41ea1b[_0x5d3005(0x1f0)],..._0x41ea1b[_0x5d3005(0x1bc)]===undefined?{}:{'serviceTier':_0x41ea1b[_0x5d3005(0x1bc)]},'secretEnvironment':_0x41ea1b[_0x5d3005(0x1ee)],..._0x1d1757===undefined?{}:{'mcpSecretEnvironment':_0x1d1757[_0x5d3005(0x1fd)]},..._0x41ea1b[_0x5d3005(0x1ad)]===undefined?{}:{'personalInstructions':_0x41ea1b[_0x5d3005(0x1ad)]},..._0x41ea1b[_0x5d3005(0x1a0)]===undefined?{}:{'marAgentModel':_0x41ea1b[_0x5d3005(0x1a0)]},'mcpInstallations':[...this[_0x5d3005(0x1a8)][_0x5d3005(0x204)](_0x41ea1b[_0x5d3005(0x213)]),..._0x1d1757===undefined?[]:[_0x1d1757[_0x5d3005(0x1aa)]]]});}catch(_0x1fb69f){this[_0x5d3005(0x1a8)][_0x5d3005(0x19a)](_0x21038d,_0x5d3005(0x1bf),{'code':safeErrorCode(_0x1fb69f,_0x5d3005(0x199))},_0x5d3005(0x1d7));}}[_0x1b22b2(0x1c7)](_0x10e961){const _0x28d3ac=_0x1b22b2;if(this[_0x28d3ac(0x20f)][_0x28d3ac(0x1e7)](_0x10e961))return;const _0x25e740=this[_0x28d3ac(0x1c1)][_0x28d3ac(0x1e0)](_0x10e961);if(_0x25e740===undefined)return;this[_0x28d3ac(0x20f)][_0x28d3ac(0x203)](_0x10e961),void this[_0x28d3ac(0x1a8)][_0x28d3ac(0x1ec)]?.(_0x25e740)[_0x28d3ac(0x1eb)](()=>undefined);}[_0x1b22b2(0x1a9)](_0x1ad1e6){const _0xb1d3c2=_0x1b22b2;return this[_0xb1d3c2(0x20f)][_0xb1d3c2(0x1e7)](_0x1ad1e6);}[_0x1b22b2(0x1df)](_0x236b44,_0x2d6744){const _0x7bc122=_0x1b22b2;for(const [_0x2f24ae,_0x10778f]of this[_0x7bc122(0x1c1)])if(_0x10778f[_0x7bc122(0x208)]===_0x236b44)this[_0x7bc122(0x1c1)][_0x7bc122(0x1f7)](_0x2f24ae,{..._0x10778f,'sessionId':_0x2d6744,'externalSessionId':_0x2d6744});const _0x5b745e=this[_0x7bc122(0x19e)][_0x7bc122(0x1e0)](_0x236b44);_0x5b745e!==undefined&&(clearTimeout(_0x5b745e),this[_0x7bc122(0x19e)][_0x7bc122(0x1ce)](_0x236b44),this[_0x7bc122(0x19d)](_0x2d6744));}[_0x1b22b2(0x1b7)](_0x341f15){const _0x3d5b79=_0x1b22b2;this[_0x3d5b79(0x1c1)][_0x3d5b79(0x1ce)](_0x341f15),this[_0x3d5b79(0x1e1)][_0x3d5b79(0x1ce)](_0x341f15),this[_0x3d5b79(0x20f)][_0x3d5b79(0x1ce)](_0x341f15);}[_0x1b22b2(0x1c8)](_0x57f2a2){const _0x537b4d=_0x1b22b2;for(const [_0x3ede19,_0x225a75]of this[_0x537b4d(0x1c1)]){if(_0x225a75[_0x537b4d(0x208)]!==_0x57f2a2||_0x225a75[_0x537b4d(0x1ea)]===undefined)continue;const _0x54ed9c=this[_0x537b4d(0x1a8)][_0x537b4d(0x1a2)][_0x537b4d(0x1f2)](_0x3ede19);if(_0x54ed9c!==undefined)this[_0x537b4d(0x1d4)](_0x3ede19);}}[_0x1b22b2(0x1f9)](_0xd13090,_0x1b6831){const _0x53168d=_0x1b22b2;for(const _0x7b80db of[...this[_0x53168d(0x1a8)][_0x53168d(0x1a2)][_0x53168d(0x1e6)](_0xd13090)[_0x53168d(0x19b)]]){if(_0x7b80db===_0x1b6831)continue;this[_0x53168d(0x1d4)](_0x7b80db);}}[_0x1b22b2(0x20a)](){const _0x196d24=_0x1b22b2;this[_0x196d24(0x1c1)][_0x196d24(0x20a)](),this[_0x196d24(0x1e1)][_0x196d24(0x20a)](),this[_0x196d24(0x20f)][_0x196d24(0x20a)]();for(const _0x4c125a of this[_0x196d24(0x19e)][_0x196d24(0x205)]())clearTimeout(_0x4c125a);this[_0x196d24(0x19e)][_0x196d24(0x20a)]();}[_0x1b22b2(0x19f)](_0x3bf5dc){const _0x59da65=_0x1b22b2;if(this[_0x59da65(0x1a8)][_0x59da65(0x1a2)][_0x59da65(0x1e9)](_0x3bf5dc)!==undefined){this[_0x59da65(0x19d)](_0x3bf5dc);return;}const _0x59e900=this[_0x59da65(0x1a8)][_0x59da65(0x1a2)][_0x59da65(0x1e6)](_0x3bf5dc),_0x6f7df5=_0x59e900[_0x59da65(0x202)]?undefined:_0x59e900[_0x59da65(0x19b)][-0xda*-0xd+0xc58+0x1b*-0xde];if(_0x6f7df5===undefined)return;const _0xbbe19d=this[_0x59da65(0x1c1)][_0x59da65(0x1e0)](_0x6f7df5);if(_0xbbe19d===undefined)throw new Error(_0x59da65(0x1f5));const {run:_0x2c856a,turn:_0x330bf6}=this[_0x59da65(0x1a8)][_0x59da65(0x1a2)][_0x59da65(0x1b1)](_0x6f7df5);this[_0x59da65(0x1c1)][_0x59da65(0x1ce)](_0x6f7df5),this[_0x59da65(0x1c1)][_0x59da65(0x1f7)](_0x2c856a['id'],{..._0xbbe19d,'runId':_0x2c856a['id']}),this[_0x59da65(0x1a8)][_0x59da65(0x1a5)](_0x2c856a[_0x59da65(0x213)],_0x3bf5dc),this[_0x59da65(0x1a8)][_0x59da65(0x20e)](_0x330bf6),this[_0x59da65(0x19d)](_0x3bf5dc);}[_0x1b22b2(0x1b6)](_0x35e168){const _0x124450=_0x1b22b2,_0x1ceb03=this[_0x124450(0x1a8)][_0x124450(0x1a2)][_0x124450(0x1f2)](_0x35e168);if(_0x1ceb03===undefined)throw new Error(_0x124450(0x1fa));if(!this[_0x124450(0x1c1)][_0x124450(0x1e7)](_0x35e168))throw new Error(_0x124450(0x1f5));return _0x1ceb03;}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- function _0x4980(_0x5e13bf,_0x31f0e6){_0x5e13bf=_0x5e13bf-(-0xb6b+0x5*0x221+-0x1a5*-0x1);const _0x523edb=_0x9d96();let _0x452710=_0x523edb[_0x5e13bf];if(_0x4980['lSVlUH']===undefined){var _0x334269=function(_0x327b0c){const _0x33830a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4cdb33='',_0x15bd23='';for(let _0x5a3d87=-0x135+-0x616+0x74b,_0x5db1f7,_0x2d6b30,_0x5b3c49=0x1*-0x24fa+0x15bd+-0x53*-0x2f;_0x2d6b30=_0x327b0c['charAt'](_0x5b3c49++);~_0x2d6b30&&(_0x5db1f7=_0x5a3d87%(-0x187a+0x16cb+-0x5*-0x57)?_0x5db1f7*(-0x11e1+0x1cd2+-0xab1)+_0x2d6b30:_0x2d6b30,_0x5a3d87++%(-0x19a2+-0x3a*-0xb+0x1728))?_0x4cdb33+=String['fromCharCode'](0x1*0x10ff+0x8*0x3eb+-0x2f58&_0x5db1f7>>(-(0xb11*0x3+-0x13ad+0x14*-0xad)*_0x5a3d87&-0x21af+0x1*0xf93+0x1222)):0x4*0x46a+0x2499+-0x143*0x2b){_0x2d6b30=_0x33830a['indexOf'](_0x2d6b30);}for(let _0x2390df=0x1a85+-0x9f5+-0x1090,_0x4c72a6=_0x4cdb33['length'];_0x2390df<_0x4c72a6;_0x2390df++){_0x15bd23+='%'+('00'+_0x4cdb33['charCodeAt'](_0x2390df)['toString'](-0x2*0x3fe+-0xba7*-0x2+-0x1f*0x7e))['slice'](-(0x102f+-0x151*-0x8+-0x1ab5));}return decodeURIComponent(_0x15bd23);};_0x4980['WychWV']=_0x334269,_0x4980['Dyjlbm']={},_0x4980['lSVlUH']=!![];}const _0xcf1d34=_0x523edb[-0xbea+0x1*-0xaef+0x16d9];_0x4980['SiSuuS']!==_0xcf1d34&&(_0x4980['Dyjlbm']={},_0x4980['SiSuuS']=_0xcf1d34);const _0x43d1a4=_0x4980['Dyjlbm'][_0x5e13bf];return _0x43d1a4===undefined?(_0x452710=_0x4980['WychWV'](_0x452710),_0x4980['Dyjlbm'][_0x5e13bf]=_0x452710):_0x452710=_0x43d1a4,_0x452710;}const _0x370a3b=_0x4980;function _0x9d96(){const _0x3360d1=['yMXVy2TLza','C2v0','nti1CwnmAhnp','zgvSzxrL','nZi3oty1n2LSCLLlqG','C3rHDhvZ','q29UDgLUDwuGDgHLigfJDgL2zsbnAxnZAw9UlG','mZbztgHjC1i','Aw5KzxHpzG','CMv0CNLszxf1AxjLza','DhvYBNm','tuLtu0LptL9ot1rFrK9vtKq','yxv0BW','qsbnAxnZAw9UigHHCYbZDgfYDgvKig9YignOyw5NzwqU','B2jQzwn0AxzL','y2HHBMDLza','CMv0CNLtDgfYDgvKqxruDxjU','ohHQB21dtW','mZyZotztBLbswwC','cGPnAxnZAw9Uihj1BgvZoGOTifrOzsbnAxnZAw9UihbLCNnPC3rZigfJCM9ZCYb0DxjUCZSGzw5KAw5NihrOAxmGDhvYBIbKB2vZig5VDcbLBMqGAxqUcI0Grg8GBM90ig5HCNjVDYbVCIbYzxDYAxrLihrOzsbVCMLNAw5HBcbVyMPLy3rPDMuGDg8GzMLUAxnOigvHCMX5lIbdB250Aw51zsbTywTPBMCGy29Uy3jLDguGChjVz3jLC3mGD2HPBguGAxqGAxmGAw5JB21WBgv0zs4klsbczwzVCMuGy29TCgXLDgLVBIWGCMv2Awv3ihrOzsbMDwXSig9YAwDPBMfSig9IAMvJDgL2zsbHBMqGDMvYAwz5igL0ihDPDgGGywn0DwfSigv2AwrLBMnLihn1y2GGyxmGy29KzsWGDgvZDhmSignVBw1HBMrZlcbVCIbYDw50Aw1LihjLC3vSDhmUcI0Gq2fSBcbTyxjFDxbKyxrLx21PC3nPB24GD2L0AcbZDgf0Dxm9y29TCgXLDgvKig9UBhKGywz0zxiGzxzLCNKGCgfYDcbPCYbJB21WBgv0zsbHBMqGDMvYAwzPzwqUcI0GqsbZAw5NBguGzMfPBgvKignVBw1HBMqSihrLC3qSig9YigvKAxqGAxmGBM90igeGyMXVy2TLCI4Gqw5HBhL6zsbPDcWGywrHChqSigfUzcbYzxrYEs4klsbszxf1zxn0igjSB2nRzwqGB25SEsbHzNrLCIb0AguGC2fTzsbIBg9JA2vYigHHCYbWzxjZAxn0zwqGzM9YihrOCMvLie1PC3nPB24GDhvYBNmUie9UzsbHzgrPDgLVBMfSihjLywWGCMv0CNKGAxmGCMvXDwLYzwqGyMvMB3jLigjSB2nRzwqGy2fUigjLigfJy2vWDgvKlGOTifvZzsbTyxjFz2v0x21PC3nPB24GD2HLBMv2zxiGEw91ig5LzwqGDg8GCMvYzwfKihrOzsbHDxrOB3jPDgf0AxzLig9IAMvJDgL2zsbVCIbZDgf0DxmUcG','tuLtu0LptL9cte9ds0vex1jfvfjzx1jfuvvjuKve','zNvSBc1Hy2nLC3m','tuLtu0LptL9ot1rFqunusvzf','mtyZmte5neTOzLnLtW','pc9TyxjFBwLZC2LVBL9ZDgfYDd4','yNLWyxnZ','y2XLyxi','y2XHDwrLlwnVzgu','pg1HCL9TAxnZAw9Ux3n0yxj0pG','zxHLy3v0Aw9UrMfPBhvYzxm','ywn0AxzL','tuLtu0LptL9srvzju0LptL9tvefmrq','odi1nJC4mff2EhzOBq','mteWmJyYmtfHuNnYr2m','cGPpCMLNAw5HBcbVyMPLy3rPDMu6cG','mujWtfDjwG','tuLtu0LptL9cte9ds0vex1rpt19fqvjmwq','CMv2AxnPB24','z2v0','DxbKyxrL','C3rHCNq','CMvJB3jKvhvYBG','y29KzxG','BwLNCMf0zvnLC3nPB24','tuLtu0LptL9pqKPfq1rjvKvFsu5wquXjra','C3rHCNrZv2L0Aa','DhjPBvn0yxj0','C2XPy2u','nte3nZC3nvzeswvlBa','ChjVBxb0','mte0nZe2n3LlB0HkBW','BgvUz3rO','BwLZC2LVBNm','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','CMvXDwLYzun1CNjLBNq','DhjPBq'];_0x9d96=function(){return _0x3360d1;};return _0x9d96();}(function(_0x2635a0,_0x2fa14c){const _0x498f02=_0x4980,_0x4db544=_0x2635a0();while(!![]){try{const _0x971af9=-parseInt(_0x498f02(0xe5))/(-0x2*-0xa7f+-0x801*-0x3+-0x5*0x900)*(-parseInt(_0x498f02(0x111))/(-0x1b91+-0x409+0x1f9c))+-parseInt(_0x498f02(0xf2))/(-0x1ce7+-0x5b0+0x229a)+parseInt(_0x498f02(0x10c))/(0x4*-0x55a+-0x2*-0x1a8+0x4c*0x3d)*(parseInt(_0x498f02(0xfc))/(0xd06+-0x153d+0x83c))+parseInt(_0x498f02(0xe2))/(0x18eb*-0x1+-0x2407+0x4*0xf3e)+parseInt(_0x498f02(0xe3))/(0x1fa2+-0x204c+0xb1)+parseInt(_0x498f02(0x10b))/(0x25c+0x52e+-0x782)*(-parseInt(_0x498f02(0xf4))/(-0x1c7b+-0x1e80+-0x13ac*-0x3))+parseInt(_0x498f02(0x101))/(-0x19bb+-0x493*-0x6+-0x1ad)*(-parseInt(_0x498f02(0xfe))/(0x16e2+-0xdf*-0x3+0x65d*-0x4));if(_0x971af9===_0x2fa14c)break;else _0x4db544['push'](_0x4db544['shift']());}catch(_0x1bc4f2){_0x4db544['push'](_0x4db544['shift']());}}}(_0x9d96,-0x13578f+0x535b4*-0x1+0x26089d));import{randomUUID}from'node:crypto';export function missionUnrestrictedAccess(_0x4370c5){const _0x35ea20=_0x4980;if(_0x4370c5===_0x35ea20(0xec))return _0x35ea20(0x10f);if(_0x4370c5===_0x35ea20(0x115))return _0x35ea20(0x113);return _0x35ea20(0x106);}const START_OPEN=_0x370a3b(0x116),START_CLOSE=_0x370a3b(0x112);export function stripMissionStartPrompt(_0x3c8a2e){const _0x3db3c0=_0x370a3b;if(!_0x3c8a2e[_0x3db3c0(0xef)](START_OPEN))return _0x3c8a2e;const _0x10d7c8=_0x3c8a2e[_0x3db3c0(0x102)](START_CLOSE);return _0x10d7c8===-(-0x258d+0xce*-0x5+-0xa65*-0x4)?'':_0x3c8a2e[_0x3db3c0(0xf1)](_0x10d7c8+START_CLOSE[_0x3db3c0(0xf5)])[_0x3db3c0(0xf0)]();}export class MissionRuntime{[_0x370a3b(0x109)];[_0x370a3b(0xf6)]=new Map();[_0x370a3b(0xdf)]=new Map();constructor(_0x33a5ff){const _0x247b51=_0x370a3b;this[_0x247b51(0x109)]=_0x33a5ff;}[_0x370a3b(0xe8)](_0x158794){const _0x18a67c=_0x370a3b;return this[_0x18a67c(0xf6)][_0x18a67c(0xe8)](_0x158794);}[_0x370a3b(0xed)](_0x42bb46,_0x212602){const _0x52a9c9=_0x370a3b;if(_0x42bb46===_0x212602)return;const _0x225895=this[_0x52a9c9(0xf6)][_0x52a9c9(0xe8)](_0x42bb46);_0x225895!==undefined&&(this[_0x52a9c9(0xf6)][_0x52a9c9(0xfd)](_0x42bb46),this[_0x52a9c9(0xf6)][_0x52a9c9(0xfb)](_0x212602,{..._0x225895,'sessionId':_0x212602}));const _0xc4cd4c=this[_0x52a9c9(0xdf)][_0x52a9c9(0xe8)](_0x42bb46);_0xc4cd4c!==undefined&&(this[_0x52a9c9(0xdf)][_0x52a9c9(0xfd)](_0x42bb46),this[_0x52a9c9(0xdf)][_0x52a9c9(0xfb)](_0x212602,_0xc4cd4c));}[_0x370a3b(0xea)](_0x4174ba,_0x2fe32f){const _0x29f59b=_0x370a3b,_0x137cbf=_0x2fe32f[_0x29f59b(0xf9)]();if(_0x137cbf[_0x29f59b(0xf5)]===0x1fb0+-0x1675*0x1+-0x93b||_0x137cbf[_0x29f59b(0xf5)]>0x2281+-0x1c9a*0x2+0x64d3)throw new Error(_0x29f59b(0xee));const _0x5e13bf=this[_0x29f59b(0xf6)][_0x29f59b(0xe8)](_0x4174ba),_0x31f0e6=_0x5e13bf?.[_0x29f59b(0xff)]===_0x29f59b(0xe0),_0x523edb={'id':_0x31f0e6?_0x5e13bf['id']:randomUUID(),'sessionId':_0x4174ba,'objective':_0x137cbf,'revision':_0x31f0e6?_0x5e13bf[_0x29f59b(0xe7)]+(-0x6a*0x5a+-0x182*0x11+0x3ee7):0x1*0x10ff+0x8*0x3eb+-0x3056,'status':_0x29f59b(0xe0),'turns':0x0,'retryRequired':![],'retryStartedAtTurn':null};return this[_0x29f59b(0xf6)][_0x29f59b(0xfb)](_0x4174ba,_0x523edb),this[_0x29f59b(0xdf)][_0x29f59b(0xfd)](_0x4174ba),this[_0x29f59b(0x109)](_0x523edb),_0x523edb;}[_0x370a3b(0xeb)](_0x452710){const _0xf24267=_0x370a3b,_0x334269=this[_0xf24267(0xf6)][_0xf24267(0xe8)](_0x452710);if(_0x334269?.[_0xf24267(0xff)]!==_0xf24267(0xe0))return _0x334269;const _0xcf1d34={..._0x334269,'turns':_0x334269[_0xf24267(0x104)]+(0xb11*0x3+-0x13ad+0x1*-0xd85)};return this[_0xf24267(0xf6)][_0xf24267(0xfb)](_0x452710,_0xcf1d34),_0xcf1d34;}[_0x370a3b(0xf7)](_0x43d1a4,_0x327b0c){const _0x2bd1ad=_0x370a3b,_0x33830a=this[_0x2bd1ad(0xf6)][_0x2bd1ad(0xe8)](_0x43d1a4);if(_0x33830a?.[_0x2bd1ad(0xff)]!==_0x2bd1ad(0xe0))return![];if(!_0x327b0c)return this[_0x2bd1ad(0xdf)][_0x2bd1ad(0xfd)](_0x43d1a4),![];const _0x4cdb33=(this[_0x2bd1ad(0xdf)][_0x2bd1ad(0xe8)](_0x43d1a4)??-0x21af+0x1*0xf93+0x121c)+(0x4*0x46a+0x2499+-0xd9*0x40);this[_0x2bd1ad(0xdf)][_0x2bd1ad(0xfb)](_0x43d1a4,_0x4cdb33);if(_0x4cdb33<=0x1a85+-0x9f5+-0x108d)return![];const _0x15bd23={..._0x33830a,'status':_0x2bd1ad(0xfa)};return this[_0x2bd1ad(0xf6)][_0x2bd1ad(0xfb)](_0x43d1a4,_0x15bd23),this[_0x2bd1ad(0x109)](_0x15bd23),!![];}[_0x370a3b(0xe9)](_0x5a3d87,_0x5db1f7,_0x2d6b30,_0x5b3c49){const _0x37be80=_0x370a3b,_0x2390df=this[_0x37be80(0xf8)](_0x5a3d87,_0x5db1f7,_0x2d6b30);if(_0x5b3c49===_0x37be80(0xfa)){if(_0x2390df[_0x37be80(0x104)]<-0x2*0x3fe+-0xba7*-0x2+-0x1*0xf4f)throw new Error(_0x37be80(0xe6));if(!_0x2390df[_0x37be80(0x103)]){const _0x175d98={..._0x2390df,'retryRequired':!![],'retryStartedAtTurn':_0x2390df[_0x37be80(0x104)]};return this[_0x37be80(0xf6)][_0x37be80(0xfb)](_0x5a3d87,_0x175d98),this[_0x37be80(0x109)](_0x175d98),_0x175d98;}if(_0x2390df[_0x37be80(0x10a)]===null||_0x2390df[_0x37be80(0x104)]<=_0x2390df[_0x37be80(0x10a)])throw new Error(_0x37be80(0x10e));}const _0x4c72a6={..._0x2390df,'status':_0x5b3c49};return this[_0x37be80(0xf6)][_0x37be80(0xfb)](_0x5a3d87,_0x4c72a6),this[_0x37be80(0x109)](_0x4c72a6),_0x4c72a6;}[_0x370a3b(0x114)](_0x2c7425){const _0x66a1dc=_0x370a3b,_0x285d79=this[_0x66a1dc(0xf6)][_0x66a1dc(0xfd)](_0x2c7425);this[_0x66a1dc(0xdf)][_0x66a1dc(0xfd)](_0x2c7425);if(_0x285d79)this[_0x66a1dc(0x109)](undefined);return _0x285d79;}[_0x370a3b(0xf3)](_0x570eba,_0x1147c7){const _0xd491d5=_0x370a3b,_0x3a7e41=this[_0xd491d5(0xf6)][_0xd491d5(0xe8)](_0x570eba);if(_0x3a7e41?.[_0xd491d5(0xff)]!==_0xd491d5(0xe0))throw new Error(_0xd491d5(0x110));const _0x1b55d7=_0x1147c7===_0xd491d5(0xea)?_0xd491d5(0x107):_0xd491d5(0x100);return START_OPEN+'\x0a'+_0x1b55d7+_0xd491d5(0xe4)+_0x3a7e41[_0xd491d5(0x108)]+_0xd491d5(0x10d)+START_CLOSE;}[_0x370a3b(0xf8)](_0x311bfa,_0x5e670d,_0x5b3244){const _0x4b12d9=_0x370a3b,_0x9b7e35=this[_0x4b12d9(0xf6)][_0x4b12d9(0xe8)](_0x311bfa);if(_0x9b7e35===undefined||_0x9b7e35['id']!==_0x5e670d)throw new Error(_0x4b12d9(0x105));if(_0x9b7e35[_0x4b12d9(0xe7)]!==_0x5b3244)throw new Error(_0x4b12d9(0xe1));if(_0x9b7e35[_0x4b12d9(0xff)]!==_0x4b12d9(0xe0))throw new Error(_0x4b12d9(0x110));return _0x9b7e35;}}
2
+ const _0x5f5203=_0x4a76;function _0x4a76(_0x50939a,_0x3ce876){_0x50939a=_0x50939a-(0x1ab5+0x1*0x21af+-0x3a7f);const _0x102479=_0xc762();let _0x582f4c=_0x102479[_0x50939a];if(_0x4a76['RFYLCs']===undefined){var _0x419445=function(_0x27f466){const _0x5917f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1acc16='',_0x33cfb2='';for(let _0x3785e3=0x2038+-0x2582+0x54a,_0x5a05bb,_0x296c7f,_0x3ca8ac=0x111c+0xee7+-0x2003*0x1;_0x296c7f=_0x27f466['charAt'](_0x3ca8ac++);~_0x296c7f&&(_0x5a05bb=_0x3785e3%(-0x1*-0x1ff9+-0x1be*0x11+-0x1*0x257)?_0x5a05bb*(-0x201b+-0x7c7*-0x1+0xb*0x23c)+_0x296c7f:_0x296c7f,_0x3785e3++%(0x1b95+-0x8b*0x28+0x3*-0x1f3))?_0x1acc16+=String['fromCharCode'](0x18f1*0x1+-0x1*0x11cf+-0x623&_0x5a05bb>>(-(0x2700+-0x1d8e+0x1*-0x970)*_0x3785e3&0x833+-0x52*0x52+0x1217)):0x55+0x184f+0x4c*-0x53){_0x296c7f=_0x5917f6['indexOf'](_0x296c7f);}for(let _0x42c153=0x698+0xe7b+-0x41*0x53,_0x3a2099=_0x1acc16['length'];_0x42c153<_0x3a2099;_0x42c153++){_0x33cfb2+='%'+('00'+_0x1acc16['charCodeAt'](_0x42c153)['toString'](0x14d8+0x2*-0x2be+0x3d3*-0x4))['slice'](-(-0x2*-0x60d+0x34+-0xc4c));}return decodeURIComponent(_0x33cfb2);};_0x4a76['ziCWFG']=_0x419445,_0x4a76['ViJbek']={},_0x4a76['RFYLCs']=!![];}const _0x40969e=_0x102479[-0xd17*-0x2+-0x130*0x7+0x1*-0x11de];_0x4a76['xLtJkc']!==_0x40969e&&(_0x4a76['ViJbek']={},_0x4a76['xLtJkc']=_0x40969e);const _0xfff95c=_0x4a76['ViJbek'][_0x50939a];return _0xfff95c===undefined?(_0x582f4c=_0x4a76['ziCWFG'](_0x582f4c),_0x4a76['ViJbek'][_0x50939a]=_0x582f4c):_0x582f4c=_0xfff95c,_0x582f4c;}(function(_0x457806,_0x52f643){const _0x6bdffb=_0x4a76,_0x443576=_0x457806();while(!![]){try{const _0x199000=-parseInt(_0x6bdffb(0x209))/(0x7*0x1a3+0x89e+-0x1412)+parseInt(_0x6bdffb(0x21a))/(0x2ad*-0x1+0x545*-0x1+0x7f4)+-parseInt(_0x6bdffb(0x207))/(0x1a0c+0x1e49*-0x1+0x44*0x10)+-parseInt(_0x6bdffb(0x1fb))/(-0xb43*0x1+-0x1*-0x2001+-0x14ba)*(parseInt(_0x6bdffb(0x1eb))/(0xa39+-0x19*-0x8d+-0x17f9))+-parseInt(_0x6bdffb(0x21d))/(0x4*0x3d0+0xe64+-0x1d9e)*(parseInt(_0x6bdffb(0x1f2))/(0x11fa+-0xbfc+-0x1*0x5f7))+parseInt(_0x6bdffb(0x217))/(-0x2dc+-0x234+-0x8*-0xa3)+parseInt(_0x6bdffb(0x1ef))/(-0x265f+-0xcd*0x23+0x426f)*(parseInt(_0x6bdffb(0x1e9))/(0x1*-0x12b3+-0xc06+0x20d*0xf));if(_0x199000===_0x52f643)break;else _0x443576['push'](_0x443576['shift']());}catch(_0x37679c){_0x443576['push'](_0x443576['shift']());}}}(_0xc762,-0x74996+0x38a4e*-0x3+-0xf3aa8*-0x2));import{randomUUID}from'node:crypto';export function missionUnrestrictedAccess(_0x3e7529){const _0x4692c2=_0x4a76;if(_0x3e7529===_0x4692c2(0x1fa)||_0x3e7529===_0x4692c2(0x1f3))return _0x4692c2(0x1f9);if(_0x3e7529===_0x4692c2(0x208))return _0x4692c2(0x216);return _0x4692c2(0x1e5);}function _0xc762(){const _0x1d64a0=['CMvXDwLYzun1CNjLBNq','yNLWyxnZ','odeWndKZnKPst2L0yW','CMvJB3jKrxHLy3v0Aw9UuMvZDwX0','BwLNCMf0zvnLC3nPB24','mJu4mJG2nK1LALHYtW','pc9TyxjFBwLZC2LVBL9ZDgfYDd4','y2XLyxi','mtm3otrur1jhqu0','yxv0BW','tuLtu0LptL9pqKPfq1rjvKvFsu5wquXjra','y2HHBMDLza','tuLtu0LptL9ot1rFrK9vtKq','mJGWmtC2ntbwyxzor0W','CMv0CNLszxf1AxjLza','nuD6shDjva','DxbKyxrL','cGPpCMLNAw5HBcbVyMPLy3rPDMu6cG','BwLZC2LVBNm','ow9mCuzerG','DhjPBvn0yxj0','qsbnAxnZAw9UigHHCYbZDgfYDgvKig9YignOyw5NzwqU','mJC1ohfICwPNuW','BwfYlwfNzw50','C2v0','CMvJB3jKvhvYBG','tuLtu0LptL9srvzju0LptL9tvefmrq','DhjPBq','B2jQzwn0AxzL','zNvSBc1Hy2nLC3m','y29KzxG','mJq4nJmXnMjns3ritG','tuLtu0LptL9cte9ds0vex1rpt19fqvjmwq','pg1HCL9TAxnZAw9Ux3n0yxj0pG','Aw5KzxHpzG','tuLtu0LptL9ot1rFqunusvzf','yMXVy2TLza','yMXVy2TbzNrLCLj1BNrPBwvgywLSDxjL','zgvSzxrL','ChjVBxb0','ywn0AxzL','C3rHCNrZv2L0Aa','CMv2AxnPB24','mZyYotuYme1mCNDzEG','y2XHDwrLlwnVzgu','mtu0nJyXmevyzMPowG','BgvUz3rO','C2XPy2u','zxHLy3v0Aw9UrMfPBhvYzxm','tuLtu0LptL9cte9ds0vex1jfvfjzx1jfuvvjuKve','cGPnAxnZAw9Uihj1BgvZoGOTifrOzsbnAxnZAw9UihbLCNnPC3rZigfJCM9ZCYb0DxjUCZSGzw5KAw5NihrOAxmGDhvYBIbKB2vZig5VDcbLBMqGAxqUcI0Grg8GBM90ig5HCNjVDYbVCIbYzxDYAxrLihrOzsbVCMLNAw5HBcbVyMPLy3rPDMuGDg8GzMLUAxnOigvHCMX5lIbdB250Aw51zsbTywTPBMCGy29Uy3jLDguGChjVz3jLC3mGD2HPBguGAxqGAxmGAw5JB21WBgv0zs4klsbczwzVCMuGy29TCgXLDgLVBIWGCMv2Awv3ihrOzsbMDwXSig9YAwDPBMfSig9IAMvJDgL2zsbHBMqGDMvYAwz5igL0ihDPDgGGywn0DwfSigv2AwrLBMnLihn1y2GGyxmGy29KzsWGDgvZDhmSignVBw1HBMrZlcbVCIbYDw50Aw1LihjLC3vSDhmUcI0Gq2fSBcbTyxjFDxbKyxrLx21PC3nPB24GD2L0AcbZDgf0Dxm9y29TCgXLDgvKig9UBhKGywz0zxiGzxzLCNKGCgfYDcbPCYbJB21WBgv0zsbHBMqGDMvYAwzPzwqUcI0GqsbZAw5NBguGzMfPBgvKignVBw1HBMqSihrLC3qSig9YigvKAxqGAxmGBM90igeGyMXVy2TLCI4Gqw5HBhL6zsbPDcWGywrHChqSigfUzcbYzxrYEs4klsbszxf1zxn0igjSB2nRzwqGB25SEsbHzNrLCIb0AguGC2fTzsbIBg9JA2vYigHHCYbWzxjZAxn0zwqGzM9YihrOCMvLie1PC3nPB24GDhvYBNmUie9UzsbHzgrPDgLVBMfSihjLywWGCMv0CNKGAxmGCMvXDwLYzwqGyMvMB3jLigjSB2nRzwqGy2fUigjLigfJy2vWDgvKlGOTifvZzsbTyxjFz2v0x21PC3nPB24GD2HLBMv2zxiGEw91ig5LzwqGDg8GCMvYzwfKihrOzsbHDxrOB3jPDgf0AxzLig9IAMvJDgL2zsbVCIbZDgf0DxmUcG','q29UDgLUDwuGDgHLigfJDgL2zsbnAxnZAw9UlG','C3rHCNq','z2v0','CMv0CNLtDgfYDgvKqxruDxjU','C3rHDhvZ','DhvYBNm'];_0xc762=function(){return _0x1d64a0;};return _0xc762();}const START_OPEN=_0x5f5203(0x1fd),START_CLOSE=_0x5f5203(0x21b);export function stripMissionStartPrompt(_0x2fefea){const _0x1df32b=_0x5f5203;if(!_0x2fefea[_0x1df32b(0x205)](START_OPEN))return _0x2fefea;const _0x414766=_0x2fefea[_0x1df32b(0x1fe)](START_CLOSE);return _0x414766===-(-0x459*0x3+0x111c+-0x410*0x1)?'':_0x2fefea[_0x1df32b(0x20b)](_0x414766+START_CLOSE[_0x1df32b(0x20a)])[_0x1df32b(0x1f0)]();}export class MissionRuntime{[_0x5f5203(0x1e7)];[_0x5f5203(0x1ee)]=new Map();[_0x5f5203(0x20c)]=new Map();constructor(_0x217748){const _0x112051=_0x5f5203;this[_0x112051(0x1e7)]=_0x217748;}[_0x5f5203(0x211)](_0xe13f60){const _0x616b10=_0x5f5203;return this[_0x616b10(0x1ee)][_0x616b10(0x211)](_0xe13f60);}[_0x5f5203(0x219)](_0xb83e89,_0x4fa43f){const _0x223e76=_0x5f5203;if(_0xb83e89===_0x4fa43f)return;const _0x258ae5=this[_0x223e76(0x1ee)][_0x223e76(0x211)](_0xb83e89);_0x258ae5!==undefined&&(this[_0x223e76(0x1ee)][_0x223e76(0x202)](_0xb83e89),this[_0x223e76(0x1ee)][_0x223e76(0x1f4)](_0x4fa43f,{..._0x258ae5,'sessionId':_0x4fa43f}));const _0x45e3de=this[_0x223e76(0x20c)][_0x223e76(0x211)](_0xb83e89);_0x45e3de!==undefined&&(this[_0x223e76(0x20c)][_0x223e76(0x202)](_0xb83e89),this[_0x223e76(0x20c)][_0x223e76(0x1f4)](_0x4fa43f,_0x45e3de));}[_0x5f5203(0x210)](_0xa2d3dc,_0x4add87){const _0x5a149d=_0x5f5203,_0x88ec62=_0x4add87[_0x5a149d(0x1f7)]();if(_0x88ec62[_0x5a149d(0x20a)]===-0x1*-0x1ff9+-0x1be*0x11+-0x3*0xc9||_0x88ec62[_0x5a149d(0x20a)]>-0x806d+-0xf8e*-0x2+0x3*0x3a7b)throw new Error(_0x5a149d(0x1e6));const _0x40ed16=this[_0x5a149d(0x1ee)][_0x5a149d(0x211)](_0xa2d3dc),_0x3157fa=_0x40ed16?.[_0x5a149d(0x213)]===_0x5a149d(0x204),_0x50939a={'id':_0x3157fa?_0x40ed16['id']:randomUUID(),'sessionId':_0xa2d3dc,'objective':_0x88ec62,'revision':_0x3157fa?_0x40ed16[_0x5a149d(0x206)]+(0x1b95+-0x8b*0x28+0xc*-0x7d):0x18f1*0x1+-0x1*0x11cf+-0x721,'status':_0x5a149d(0x204),'turns':0x0,'retryRequired':![],'retryStartedAtTurn':null};return this[_0x5a149d(0x1ee)][_0x5a149d(0x1f4)](_0xa2d3dc,_0x50939a),this[_0x5a149d(0x20c)][_0x5a149d(0x202)](_0xa2d3dc),this[_0x5a149d(0x1e7)](_0x50939a),_0x50939a;}[_0x5f5203(0x1f5)](_0x3ce876){const _0x402c32=_0x5f5203,_0x102479=this[_0x402c32(0x1ee)][_0x402c32(0x211)](_0x3ce876);if(_0x102479?.[_0x402c32(0x213)]!==_0x402c32(0x204))return _0x102479;const _0x582f4c={..._0x102479,'turns':_0x102479[_0x402c32(0x214)]+(0x2700+-0x1d8e+0x1*-0x971)};return this[_0x402c32(0x1ee)][_0x402c32(0x1f4)](_0x3ce876,_0x582f4c),_0x582f4c;}[_0x5f5203(0x218)](_0x419445,_0x40969e){const _0x505879=_0x5f5203,_0xfff95c=this[_0x505879(0x1ee)][_0x505879(0x211)](_0x419445);if(_0xfff95c?.[_0x505879(0x213)]!==_0x505879(0x204))return![];if(!_0x40969e)return this[_0x505879(0x20c)][_0x505879(0x202)](_0x419445),![];const _0x27f466=(this[_0x505879(0x20c)][_0x505879(0x211)](_0x419445)??0x833+-0x52*0x52+0x1211)+(0x55+0x184f+0x35*-0x77);this[_0x505879(0x20c)][_0x505879(0x1f4)](_0x419445,_0x27f466);if(_0x27f466<=0x698+0xe7b+-0x10*0x151)return![];const _0x5917f6={..._0xfff95c,'status':_0x505879(0x200)};return this[_0x505879(0x1ee)][_0x505879(0x1f4)](_0x419445,_0x5917f6),this[_0x505879(0x1e7)](_0x5917f6),!![];}[_0x5f5203(0x201)](_0x1acc16,_0x33cfb2,_0x3785e3){const _0x12257a=_0x5f5203,_0x5a05bb=this[_0x12257a(0x215)](_0x1acc16,_0x33cfb2,_0x3785e3),_0x296c7f={..._0x5a05bb,'status':_0x12257a(0x200)};return this[_0x12257a(0x1ee)][_0x12257a(0x1f4)](_0x1acc16,_0x296c7f),this[_0x12257a(0x20c)][_0x12257a(0x202)](_0x1acc16),this[_0x12257a(0x1e7)](_0x296c7f),_0x296c7f;}[_0x5f5203(0x1ec)](_0x3ca8ac,_0x42c153,_0x3a2099,_0xce5724){const _0x3412de=_0x5f5203,_0x20146f=this[_0x3412de(0x215)](_0x3ca8ac,_0x42c153,_0x3a2099);if(_0xce5724===_0x3412de(0x200)){if(_0x20146f[_0x3412de(0x214)]<0x14d8+0x2*-0x2be+0xf59*-0x1)throw new Error(_0x3412de(0x1fc));if(!_0x20146f[_0x3412de(0x1ea)]){const _0x392f18={..._0x20146f,'retryRequired':!![],'retryStartedAtTurn':_0x20146f[_0x3412de(0x214)]};return this[_0x3412de(0x1ee)][_0x3412de(0x1f4)](_0x3ca8ac,_0x392f18),this[_0x3412de(0x1e7)](_0x392f18),_0x392f18;}if(_0x20146f[_0x3412de(0x212)]===null||_0x20146f[_0x3412de(0x214)]<=_0x20146f[_0x3412de(0x212)])throw new Error(_0x3412de(0x20d));}const _0x4a7677={..._0x20146f,'status':_0xce5724};return this[_0x3412de(0x1ee)][_0x3412de(0x1f4)](_0x3ca8ac,_0x4a7677),this[_0x3412de(0x1e7)](_0x4a7677),_0x4a7677;}[_0x5f5203(0x21c)](_0x19e45b){const _0x342165=_0x5f5203,_0x41ed9b=this[_0x342165(0x1ee)][_0x342165(0x202)](_0x19e45b);this[_0x342165(0x20c)][_0x342165(0x202)](_0x19e45b);if(_0x41ed9b)this[_0x342165(0x1e7)](undefined);return _0x41ed9b;}[_0x5f5203(0x203)](_0x2345fc,_0x3bac29){const _0x45c1b4=_0x5f5203,_0x1b802c=this[_0x45c1b4(0x1ee)][_0x45c1b4(0x211)](_0x2345fc);if(_0x1b802c?.[_0x45c1b4(0x213)]!==_0x45c1b4(0x204))throw new Error(_0x45c1b4(0x1ff));const _0x3180ba=_0x3bac29===_0x45c1b4(0x210)?_0x45c1b4(0x1f1):_0x45c1b4(0x20f);return START_OPEN+'\x0a'+_0x3180ba+_0x45c1b4(0x1ed)+_0x1b802c[_0x45c1b4(0x1f8)]+_0x45c1b4(0x20e)+START_CLOSE;}[_0x5f5203(0x215)](_0x83df9d,_0x2b2cc3,_0x2fb171){const _0x46f690=_0x5f5203,_0x4e559c=this[_0x46f690(0x1ee)][_0x46f690(0x211)](_0x83df9d);if(_0x4e559c===undefined||_0x4e559c['id']!==_0x2b2cc3)throw new Error(_0x46f690(0x1e8));if(_0x4e559c[_0x46f690(0x206)]!==_0x2fb171)throw new Error(_0x46f690(0x1f6));if(_0x4e559c[_0x46f690(0x213)]!==_0x46f690(0x204))throw new Error(_0x46f690(0x1ff));return _0x4e559c;}}