@myagentroam/node 0.9.23 → 0.9.25

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.
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x1ae740=_0x1898;(function(_0xdbfae3,_0x4784d9){const _0x453600=_0x1898,_0x495c80=_0xdbfae3();while(!![]){try{const _0x4d4f24=parseInt(_0x453600(0xd7))/(0x605+-0x4b3*-0x2+-0xf6a)*(parseInt(_0x453600(0xd2))/(-0x1140+-0x138a+-0x3ae*-0xa))+-parseInt(_0x453600(0xe5))/(0x1645*0x1+0x2*0x124d+-0xeb7*0x4)*(-parseInt(_0x453600(0xcd))/(0x156*-0xb+-0x497*-0x4+-0x3a6))+parseInt(_0x453600(0xf7))/(0x1979*-0x1+-0x1*0x4f3+0x1*0x1e71)+parseInt(_0x453600(0xe1))/(-0x533+-0x1*-0x97d+-0x444)+parseInt(_0x453600(0xe0))/(-0x1412+-0x4*0x527+0x28b5)+-parseInt(_0x453600(0xf8))/(0x88f*-0x1+-0x159c+0x1e33)+-parseInt(_0x453600(0xdc))/(-0x2*0x6e5+0x110e+-0x1*0x33b);if(_0x4d4f24===_0x4784d9)break;else _0x495c80['push'](_0x495c80['shift']());}catch(_0x33e7cc){_0x495c80['push'](_0x495c80['shift']());}}}(_0x2d2d,0x42b*0x59+0x14f29*0x1+-0x11379));import{isAbsolute}from'node:path';import{listWorkspaceFiles,mutateWorkspaceFile,readWorkspaceFileContentRange,readAllowedTextFile,readWorkspaceTextFile,writeWorkspaceTextFile,WorkspaceFileIndex}from'../workspace.js';function _0x2d2d(){const _0xa8c735=['DgHLBG','Aw5JBhvKzurPCMvJDg9YAwvZ','mJmXnezvt2vbyG','C2vYAwfSAxPLtxv0yxrPB24','q1jfqvrfx0zjteu','C2L6zq','rKLmrv9trufsq0HFteLnsvrFrvHdruveruq','ndnxDKviAgW','q1jfqvrfx0rjuKvdve9swq','BgLZDa','BgLTAxq','zMLSzuLUzgv4zxm','mtC3nZu5oxPrAg1pwG','D3jPDgu','rKLmrv9nvvrbveLptL9jtLzbteLe','AxnjBNrLz2vY','mtq2odG4yLnSEhHW','mZC2ndGYEfbwAMzA','Bxv0yxrL','B2zMC2v0','DMfSDwu','mJKWmZCWvevvtuXI','C2v0','DMfSDwvZ','zgvSzxrL','reLsrunut1jzx0nvuLnpuL9jtLzbteLe','y2XLyxi','Cgf0Aa','y29UDgvUDa','tu9wrq','yM9VBgvHBG','y3vYC29Y','Bxv0yxrPB25uywLSCW','CMvHzenVBNrLBNq','zxHWzwn0zwrszxzPC2LVBG','C2vHCMnO','z2v0','rKLmrv9squ5hrv9jtLzbteLe','CxvLCNK','mJqYotGWrg9yB2vb','ntqZmJmYuuTSrMHQ','CMvZB2X2zq','ywn0Aw9U','rKLmrv9qqvrix0vtq0fqrq','BNvTyMvY','C3rYAw5N','Aw5KzxG','BMv4Da','zw50CMLLCW','rKLmrv9xuKLurv9jtLzbteLe','zgvZDgLUyxrPB24','zgLZCg9Zzq','C3rHDgu','revmrvrf','CMvHza','og9RBxfnAa','ywXSB3DLzfjVB3rZ','B25jBNzHBgLKyxrLza'];_0x2d2d=function(){return _0xa8c735;};return _0x2d2d();}const INDEX_CACHE_LIMIT=-0x1331+-0x5b9*-0x3+-0x20e*-0x1;function _0x1898(_0x9a0ce3,_0x28f674){_0x9a0ce3=_0x9a0ce3-(-0x1e6b+-0x105e+-0x2*-0x17c5);const _0x131a74=_0x2d2d();let _0x1b09dd=_0x131a74[_0x9a0ce3];if(_0x1898['IukzRW']===undefined){var _0x528ad8=function(_0x35560f){const _0x13c894='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b607c='',_0x1652c5='';for(let _0x4c47c6=-0x1439*0x1+-0x1089+-0x5*-0x75a,_0x370bef,_0x484dd3,_0x3d69c4=-0x12a*-0x1+-0x3*0xb63+0x20ff;_0x484dd3=_0x35560f['charAt'](_0x3d69c4++);~_0x484dd3&&(_0x370bef=_0x4c47c6%(0x212b+0x23ad*0x1+-0x44d4)?_0x370bef*(-0x49f+0x25de+0x1*-0x20ff)+_0x484dd3:_0x484dd3,_0x4c47c6++%(0x11*0x13a+0xcdf+-0x21b5))?_0x5b607c+=String['fromCharCode'](0x1*0x1e5e+-0x14a5+-0x2*0x45d&_0x370bef>>(-(0x56*0x1b+0x1603+-0x637*0x5)*_0x4c47c6&-0xec3+0x1*0xbc0+0x309)):-0x3d*-0x83+0xad*0x24+-0x378b){_0x484dd3=_0x13c894['indexOf'](_0x484dd3);}for(let _0x48bf67=0x362*-0x6+-0x1b20+0x2f6c,_0x562948=_0x5b607c['length'];_0x48bf67<_0x562948;_0x48bf67++){_0x1652c5+='%'+('00'+_0x5b607c['charCodeAt'](_0x48bf67)['toString'](-0x1211+0x6e9+0x8*0x167))['slice'](-(-0x1e00+0x1a7d+0x35*0x11));}return decodeURIComponent(_0x1652c5);};_0x1898['aoXGCu']=_0x528ad8,_0x1898['dnZcoE']={},_0x1898['IukzRW']=!![];}const _0x5dae30=_0x131a74[0x1d55*0x1+-0x283+-0x1ad2];_0x1898['JLlBRZ']!==_0x5dae30&&(_0x1898['dnZcoE']={},_0x1898['JLlBRZ']=_0x5dae30);const _0x3c1f89=_0x1898['dnZcoE'][_0x9a0ce3];return _0x3c1f89===undefined?(_0x1b09dd=_0x1898['aoXGCu'](_0x1b09dd),_0x1898['dnZcoE'][_0x9a0ce3]=_0x1b09dd):_0x1b09dd=_0x3c1f89,_0x1b09dd;}export class WorkspaceFileService{[_0x1ae740(0xca)];[_0x1ae740(0xce)];[_0x1ae740(0xcf)];[_0x1ae740(0xf0)]=new Map();constructor(_0x7dc934,_0x3d6c95,_0x5ba1dd){const _0x1e791d=_0x1ae740;this[_0x1e791d(0xca)]=_0x7dc934,this[_0x1e791d(0xce)]=_0x3d6c95,this[_0x1e791d(0xcf)]=_0x5ba1dd;}async[_0x1ae740(0xd9)](_0x44da61,_0x159caf){const _0x2bf83f=_0x1ae740;if(_0x159caf[_0x2bf83f(0xeb)]!==undefined&&typeof _0x159caf[_0x2bf83f(0xeb)]!==_0x2bf83f(0xc3)||_0x159caf[_0x2bf83f(0xef)]!==undefined&&typeof _0x159caf[_0x2bf83f(0xef)]!==_0x2bf83f(0xc3)||_0x159caf[_0x2bf83f(0xda)]!==undefined&&(!Number[_0x2bf83f(0xdf)](_0x159caf[_0x2bf83f(0xda)])||_0x159caf[_0x2bf83f(0xda)]<0xd70+0x4d1*-0x1+-0x89e||_0x159caf[_0x2bf83f(0xda)]>0xfd5+0x1bcf+-0xab7*0x4))throw new Error(_0x2bf83f(0xe9));return listWorkspaceFiles(_0x44da61[_0x2bf83f(0xeb)],typeof _0x159caf[_0x2bf83f(0xeb)]===_0x2bf83f(0xc3)?_0x159caf[_0x2bf83f(0xeb)]:'.',typeof _0x159caf[_0x2bf83f(0xef)]===_0x2bf83f(0xc3)?_0x159caf[_0x2bf83f(0xef)]:undefined,typeof _0x159caf[_0x2bf83f(0xda)]===_0x2bf83f(0xc2)?_0x159caf[_0x2bf83f(0xda)]:undefined);}async[_0x1ae740(0xcc)](_0x3c4298,_0x3364a2){const _0x550944=_0x1ae740;if(typeof _0x3364a2[_0x550944(0xeb)]!==_0x550944(0xc3)||_0x3364a2[_0x550944(0xe3)]!==undefined&&(!Number[_0x550944(0xdf)](_0x3364a2[_0x550944(0xe3)])||_0x3364a2[_0x550944(0xe3)]<0x335*-0x8+0x1*0x1763+-0x53*-0x7)||_0x3364a2[_0x550944(0xda)]!==undefined&&(!Number[_0x550944(0xdf)](_0x3364a2[_0x550944(0xda)])||_0x3364a2[_0x550944(0xda)]<-0x1bd0+0x1*0x1e5e+-0x28d||_0x3364a2[_0x550944(0xda)]>(0x199*0x15+0x125*-0xf+-0xe62)*(0x4b4+-0xb02*0x3+0x1*0x2052)))throw new Error(_0x550944(0xf5));const _0x295e8e=typeof _0x3364a2[_0x550944(0xe3)]===_0x550944(0xc2)?_0x3364a2[_0x550944(0xe3)]:0xd*-0x135+0x1f37+0x7c3*-0x2,_0x3e945f=typeof _0x3364a2[_0x550944(0xda)]===_0x550944(0xc2)?_0x3364a2[_0x550944(0xda)]:(-0x128a+0x362*-0x6+0x28d6)*(-0x255*0x9+-0x1211+0x42*0xa7);return isAbsolute(_0x3364a2[_0x550944(0xeb)])?readAllowedTextFile(_0x3364a2[_0x550944(0xeb)],this[_0x550944(0xce)](),_0x295e8e,_0x3e945f):readWorkspaceTextFile(_0x3c4298[_0x550944(0xeb)],_0x3364a2[_0x550944(0xeb)],_0x295e8e,_0x3e945f);}async[_0x1ae740(0xf1)](_0x1f1e8f,_0x58f9c1){const _0x43d852=_0x1ae740;if(typeof _0x58f9c1[_0x43d852(0xeb)]!==_0x43d852(0xc3)||_0x58f9c1[_0x43d852(0xe3)]!==undefined&&(!Number[_0x43d852(0xdf)](_0x58f9c1[_0x43d852(0xe3)])||_0x58f9c1[_0x43d852(0xe3)]<-0x1e00+0x1a7d+0x1f*0x1d)||_0x58f9c1[_0x43d852(0xda)]!==undefined&&(!Number[_0x43d852(0xdf)](_0x58f9c1[_0x43d852(0xda)])||_0x58f9c1[_0x43d852(0xda)]<0x1d55*0x1+-0x283+-0x1ad1||_0x58f9c1[_0x43d852(0xda)]>(-0x1f2f+-0x583+0x26b2*0x1)*(-0x23fe+-0x4f*-0xf+0x1*0x235d)))throw new Error(_0x43d852(0xf5));if(isAbsolute(_0x58f9c1[_0x43d852(0xeb)]))throw new Error(_0x43d852(0xc1));return readWorkspaceFileContentRange(_0x1f1e8f[_0x43d852(0xeb)],_0x58f9c1[_0x43d852(0xeb)],typeof _0x58f9c1[_0x43d852(0xe3)]===_0x43d852(0xc2)?_0x58f9c1[_0x43d852(0xe3)]:0x142b+-0xb3f*-0x1+0x2*-0xfb5,typeof _0x58f9c1[_0x43d852(0xda)]===_0x43d852(0xc2)?_0x58f9c1[_0x43d852(0xda)]:(0xae6+0x1055+-0x193b*0x1)*(0xf1c+0x1c35+0x131*-0x21));}async[_0x1ae740(0xdd)](_0x2e3755,_0x1c1c3e){const _0x29d0a2=_0x1ae740;if(typeof _0x1c1c3e[_0x29d0a2(0xeb)]!==_0x29d0a2(0xc3)||typeof _0x1c1c3e[_0x29d0a2(0xec)]!==_0x29d0a2(0xc3)||typeof _0x1c1c3e[_0x29d0a2(0xf2)]!==_0x29d0a2(0xc3))throw new Error(_0x29d0a2(0xc7));const _0x6ca5fa=_0x1c1c3e[_0x29d0a2(0xeb)],_0x4ab698=_0x1c1c3e[_0x29d0a2(0xec)],_0x2324dc=_0x1c1c3e[_0x29d0a2(0xf2)];return this[_0x29d0a2(0xd3)](_0x2e3755['id'],async()=>{const _0x508f74=_0x29d0a2,_0xe61adc=await writeWorkspaceTextFile(_0x2e3755[_0x508f74(0xeb)],_0x6ca5fa,_0x4ab698,_0x2324dc);return this[_0x508f74(0xc9)](_0x2e3755['id']),this[_0x508f74(0xcf)](_0x2e3755['id']),_0xe61adc;});}async[_0x1ae740(0xf3)](_0x206f9c,_0x384a78){const _0x3054c2=_0x1ae740;if(typeof _0x384a78[_0x3054c2(0xf6)]!==_0x3054c2(0xc3)||_0x384a78[_0x3054c2(0xef)]!==undefined&&typeof _0x384a78[_0x3054c2(0xef)]!==_0x3054c2(0xc3)||_0x384a78[_0x3054c2(0xd1)]!==undefined&&typeof _0x384a78[_0x3054c2(0xd1)]!==_0x3054c2(0xee)||_0x384a78[_0x3054c2(0xda)]!==undefined&&(!Number[_0x3054c2(0xdf)](_0x384a78[_0x3054c2(0xda)])||_0x384a78[_0x3054c2(0xda)]<-0x1*0xe75+-0x5c*-0x5+0xcaa||_0x384a78[_0x3054c2(0xda)]>-0x8*-0x189+0x1be7+-0xb*0x395))throw new Error(_0x3054c2(0xd6));return this[_0x3054c2(0xc4)](_0x206f9c)[_0x3054c2(0xf3)](_0x384a78[_0x3054c2(0xf6)],typeof _0x384a78[_0x3054c2(0xef)]===_0x3054c2(0xc3)?_0x384a78[_0x3054c2(0xef)]:undefined,typeof _0x384a78[_0x3054c2(0xda)]===_0x3054c2(0xc2)?_0x384a78[_0x3054c2(0xda)]:undefined,_0x384a78[_0x3054c2(0xd1)]===!![]);}async[_0x1ae740(0xe2)](_0x4a4181,_0x1c62e5){const _0x56e305=_0x1ae740,_0x26b595=_0x1c62e5[_0x56e305(0xfa)];if(_0x26b595!==_0x56e305(0xd4)&&_0x26b595!==_0x56e305(0xd8)&&_0x26b595!==_0x56e305(0xed)&&_0x26b595!==_0x56e305(0xcb)||typeof _0x1c62e5[_0x56e305(0xeb)]!==_0x56e305(0xc3)||_0x26b595===_0x56e305(0xed)&&typeof _0x1c62e5[_0x56e305(0xc8)]!==_0x56e305(0xc3))throw new Error(_0x56e305(0xde));const _0x1fd5c1=_0x1c62e5[_0x56e305(0xeb)],_0x20c8d0=typeof _0x1c62e5[_0x56e305(0xc8)]===_0x56e305(0xc3)?_0x1c62e5[_0x56e305(0xc8)]:undefined;return this[_0x56e305(0xd3)](_0x4a4181['id'],async()=>{const _0x460bd4=_0x56e305,_0x4823f4=await mutateWorkspaceFile(_0x4a4181[_0x460bd4(0xeb)],_0x26b595===_0x460bd4(0xed)?{'action':_0x26b595,'path':_0x1fd5c1,'destination':_0x20c8d0}:{'action':_0x26b595,'path':_0x1fd5c1});return this[_0x460bd4(0xc9)](_0x4a4181['id']),this[_0x460bd4(0xcf)](_0x4a4181['id']),_0x4823f4;});}async[_0x1ae740(0xd3)](_0x1e1d7c,_0x1e8df4){const _0x1b22d0=_0x1ae740,_0x5e3e7e=this[_0x1b22d0(0xf0)][_0x1b22d0(0xf4)](_0x1e1d7c)??Promise[_0x1b22d0(0xf9)](),_0x34fe11=_0x5e3e7e[_0x1b22d0(0xd0)](_0x1e8df4,_0x1e8df4),_0x3d014d=_0x34fe11[_0x1b22d0(0xd0)](()=>undefined,()=>undefined);this[_0x1b22d0(0xf0)][_0x1b22d0(0xe6)](_0x1e1d7c,_0x3d014d);try{return await _0x34fe11;}finally{if(this[_0x1b22d0(0xf0)][_0x1b22d0(0xf4)](_0x1e1d7c)===_0x3d014d)this[_0x1b22d0(0xf0)][_0x1b22d0(0xe8)](_0x1e1d7c);}}[_0x1ae740(0xc4)](_0x165234){const _0x25edd7=_0x1ae740;let _0x48ffc1=this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xf4)](_0x165234['id']);if(_0x48ffc1===undefined){if(this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xd5)]>=INDEX_CACHE_LIMIT){const _0x7e8ff9=this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xc6)]()[_0x25edd7(0xc5)]()[_0x25edd7(0xe4)];_0x7e8ff9!==undefined&&(_0x7e8ff9[0x1085+-0x1*0xdf3+-0x291][_0x25edd7(0xc9)](),this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe8)](_0x7e8ff9[-0x1d00+-0x1a21+-0xb*-0x503]));}_0x48ffc1=new WorkspaceFileIndex(_0x165234[_0x25edd7(0xeb)],{'onInvalidated':()=>this[_0x25edd7(0xcf)](_0x165234['id'])});}return this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe8)](_0x165234['id']),this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe6)](_0x165234['id'],_0x48ffc1),_0x48ffc1;}[_0x1ae740(0xc9)](_0x3332e5){const _0x34f7d1=_0x1ae740;if(_0x3332e5!==undefined){this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xf4)](_0x3332e5)?.[_0x34f7d1(0xc9)](),this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xe8)](_0x3332e5);return;}for(const _0x38bdad of this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xe7)]())_0x38bdad[_0x34f7d1(0xc9)]();this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xea)]();}}
2
+ const _0x219ffb=_0x43a4;(function(_0x318043,_0x20a798){const _0x10806d=_0x43a4,_0x1fbd94=_0x318043();while(!![]){try{const _0x239cf0=-parseInt(_0x10806d(0xa9))/(0x852+0xc00*0x1+-0x1451)+parseInt(_0x10806d(0xb0))/(0x1*0x42b+-0x34*0xb6+-0xe3*-0x25)+-parseInt(_0x10806d(0x87))/(0x11e7*0x1+-0x26*-0x29+-0x17fa)*(-parseInt(_0x10806d(0xa2))/(0x16*-0x28+0x3e4+0x70*-0x1))+-parseInt(_0x10806d(0x8f))/(-0xc01+0x2*-0xed3+0x29ac)+-parseInt(_0x10806d(0x9e))/(-0x175f+0x1415+0x350)*(-parseInt(_0x10806d(0x9f))/(0x1c53*0x1+-0x1a3+-0x20d*0xd))+-parseInt(_0x10806d(0x93))/(0x26db*-0x1+-0x1*-0x10b7+0x162c)*(parseInt(_0x10806d(0xa1))/(0xc76+-0x1a64*-0x1+0x26d1*-0x1))+parseInt(_0x10806d(0x98))/(0xcd0+-0x2517+0x5*0x4dd);if(_0x239cf0===_0x20a798)break;else _0x1fbd94['push'](_0x1fbd94['shift']());}catch(_0x4f9038){_0x1fbd94['push'](_0x1fbd94['shift']());}}}(_0x286d,0x14a02+0xa211b+-0x29ecf));function _0x43a4(_0x42d9ee,_0x13bfe3){_0x42d9ee=_0x42d9ee-(-0x6a9+0x1*0x72f+-0x8);const _0x41e4ac=_0x286d();let _0x30ad6c=_0x41e4ac[_0x42d9ee];if(_0x43a4['nyNutk']===undefined){var _0x128a0d=function(_0x1c3041){const _0x26f099='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33fc26='',_0x156717='';for(let _0xd89b4f=0xb28+-0x24b*0x9+0x97b,_0x40ac34,_0x4a7d2f,_0x4949ec=0x23e1+0x2040+-0xa3*0x6b;_0x4a7d2f=_0x1c3041['charAt'](_0x4949ec++);~_0x4a7d2f&&(_0x40ac34=_0xd89b4f%(-0x1*0x11d7+-0x8b*-0x42+-0x11fb)?_0x40ac34*(-0x382+-0x3*-0x5c1+-0xd81*0x1)+_0x4a7d2f:_0x4a7d2f,_0xd89b4f++%(0xfe8+-0x2680+0x169c))?_0x33fc26+=String['fromCharCode'](-0x1532+-0x1112+-0x211*-0x13&_0x40ac34>>(-(0xd34+-0x1a8*-0x9+-0x1c1a)*_0xd89b4f&-0xb*-0x2e3+-0x3f*-0x41+0x2*-0x17dd)):0x1*0x21f3+-0xeac+0x69*-0x2f){_0x4a7d2f=_0x26f099['indexOf'](_0x4a7d2f);}for(let _0x4baa52=0x94f*-0x3+-0xb0a+-0x3*-0xcfd,_0x16204b=_0x33fc26['length'];_0x4baa52<_0x16204b;_0x4baa52++){_0x156717+='%'+('00'+_0x33fc26['charCodeAt'](_0x4baa52)['toString'](0x2b6*0x4+-0x1293+0x7cb))['slice'](-(0x201c+-0x1ad9+0x1*-0x541));}return decodeURIComponent(_0x156717);};_0x43a4['afmoTV']=_0x128a0d,_0x43a4['XrwGWg']={},_0x43a4['nyNutk']=!![];}const _0x9ebf95=_0x41e4ac[0xb2*0x8+-0x1*0x6ad+0x5f*0x3];_0x43a4['IyVfFj']!==_0x9ebf95&&(_0x43a4['XrwGWg']={},_0x43a4['IyVfFj']=_0x9ebf95);const _0xa5dc1=_0x43a4['XrwGWg'][_0x42d9ee];return _0xa5dc1===undefined?(_0x30ad6c=_0x43a4['afmoTV'](_0x30ad6c),_0x43a4['XrwGWg'][_0x42d9ee]=_0x30ad6c):_0x30ad6c=_0xa5dc1,_0x30ad6c;}import{isAbsolute}from'node:path';function _0x286d(){const _0x2b6064=['D3jPDgu','CxvLCNK','zgLZCg9Zzq','BgLZDa','revmrvrf','tu9wrq','mtG2otCXmfPbAxjvtW','C2v0','C2vHCMnO','CMvHza','mtzhuLLdveO','Cgf0Aa','zxHWzwn0zwrszxzPC2LVBG','Bxv0yxrL','BNvTyMvY','nde1mJy5mefLwfrjuW','reLsrunut1jzx0nvuLnpuL9jtLzbteLe','BMv4Da','rKLmrv9squ5hrv9jtLzbteLe','BgLTAxq','yM9VBgvHBG','mtG2D0H0uuD6','odi4mtDnDK1YqLC','ywXSB3DLzfjVB3rZ','mJy0mda5nMDWq2D1yq','nhLAtxvIzq','rKLmrv9qqvrix0vtq0fqrq','DgHLBG','zw50CMLLCW','DMfSDwvZ','z2v0','y3vYC29Y','otm5otHWCvbJCvO','C2vYAwfSAxPLtxv0yxrPB24','C3rHDgu','y2XLyxi','Bxv0yxrPB25uywLSCW','ywn0Aw9U','B2zMC2v0','mte3mdGWnNfXsuL0tG','CMvHzenVBNrLBNq','Aw5KzxG','zgvSzxrL','Aw5JBhvKzurPCMvJDg9YAwvZ','q1jfqvrfx0rjuKvdve9swq','C3rYAw5N','q1jfqvrfx0zjteu','B25jBNzHBgLKyxrLza','zMLSzuLUzgv4zxm','y29UDgvUDa','zgvZDgLUyxrPB24','C2L6zq','DMfSDwu','rKLmrv9trufsq0HFteLnsvrFrvHdruveruq','rKLmrv9nvvrbveLptL9jtLzbteLe','CMvZB2X2zq','AxnjBNrLz2vY','nZKXmZu1twTftwP5','rKLmrv9xuKLurv9jtLzbteLe'];_0x286d=function(){return _0x2b6064;};return _0x286d();}import{listWorkspaceFiles,mutateWorkspaceFile,readWorkspaceFileContentRange,readAllowedTextFile,readWorkspaceTextFile,writeWorkspaceTextFile,WorkspaceFileIndex}from'../workspace.js';const INDEX_CACHE_LIMIT=0x433*-0x6+-0x1c61+0x359b;export class WorkspaceFileService{[_0x219ffb(0xab)];[_0x219ffb(0xa0)];[_0x219ffb(0xb8)];[_0x219ffb(0xad)]=new Map();constructor(_0x2cd101,_0x4dfa17,_0x26c983){const _0xd487e7=_0x219ffb;this[_0xd487e7(0xab)]=_0x2cd101,this[_0xd487e7(0xa0)]=_0x4dfa17,this[_0xd487e7(0xb8)]=_0x26c983;}async[_0x219ffb(0x8c)](_0x3e8f26,_0x48f120){const _0x48803b=_0x219ffb;if(_0x48f120[_0x48803b(0x94)]!==undefined&&typeof _0x48f120[_0x48803b(0x94)]!==_0x48803b(0xb6)||_0x48f120[_0x48803b(0xa8)]!==undefined&&typeof _0x48f120[_0x48803b(0xa8)]!==_0x48803b(0xb6)||_0x48f120[_0x48803b(0x9c)]!==undefined&&(!Number[_0x48803b(0x86)](_0x48f120[_0x48803b(0x9c)])||_0x48f120[_0x48803b(0x9c)]<0x1c0c+0x1*-0x181f+-0x3ec||_0x48f120[_0x48803b(0x9c)]>0x2373+-0x13aa+-0x1*0xf01))throw new Error(_0x48803b(0x99));return listWorkspaceFiles(_0x3e8f26[_0x48803b(0x94)],typeof _0x48f120[_0x48803b(0x94)]===_0x48803b(0xb6)?_0x48f120[_0x48803b(0x94)]:'.',typeof _0x48f120[_0x48803b(0xa8)]===_0x48803b(0xb6)?_0x48f120[_0x48803b(0xa8)]:undefined,typeof _0x48f120[_0x48803b(0x9c)]===_0x48803b(0x97)?_0x48f120[_0x48803b(0x9c)]:undefined);}async[_0x219ffb(0x92)](_0x43e853,_0x5a2fbf){const _0x3b6c64=_0x219ffb;if(typeof _0x5a2fbf[_0x3b6c64(0x94)]!==_0x3b6c64(0xb6)||_0x5a2fbf[_0x3b6c64(0xaf)]!==undefined&&(!Number[_0x3b6c64(0x86)](_0x5a2fbf[_0x3b6c64(0xaf)])||_0x5a2fbf[_0x3b6c64(0xaf)]<-0xc95*-0x1+-0xbcf*0x1+-0xc6)||_0x5a2fbf[_0x3b6c64(0x9c)]!==undefined&&(!Number[_0x3b6c64(0x86)](_0x5a2fbf[_0x3b6c64(0x9c)])||_0x5a2fbf[_0x3b6c64(0x9c)]<-0xf42+-0x10b2+0x1ff5||_0x5a2fbf[_0x3b6c64(0x9c)]>(-0xcbc+0x5*0x2ab+0x165)*(0xdac+0x4*-0x74f+-0x10*-0x139)))throw new Error(_0x3b6c64(0x9b));const _0x1bc69d=typeof _0x5a2fbf[_0x3b6c64(0xaf)]===_0x3b6c64(0x97)?_0x5a2fbf[_0x3b6c64(0xaf)]:0x1*0x1f87+-0x31*0x65+0x2*-0x619,_0x54a7f6=typeof _0x5a2fbf[_0x3b6c64(0x9c)]===_0x3b6c64(0x97)?_0x5a2fbf[_0x3b6c64(0x9c)]:(-0x2de*0x4+0x1696+0x30a*-0x3)*(-0x154f+-0x4*-0x443+0x8d*0xf);return isAbsolute(_0x5a2fbf[_0x3b6c64(0x94)])?readAllowedTextFile(_0x5a2fbf[_0x3b6c64(0x94)],this[_0x3b6c64(0xa0)](),_0x1bc69d,_0x54a7f6):readWorkspaceTextFile(_0x43e853[_0x3b6c64(0x94)],_0x5a2fbf[_0x3b6c64(0x94)],_0x1bc69d,_0x54a7f6);}async[_0x219ffb(0xb1)](_0x16d552,_0x462818){const _0x105ae2=_0x219ffb;if(typeof _0x462818[_0x105ae2(0x94)]!==_0x105ae2(0xb6)||_0x462818[_0x105ae2(0xaf)]!==undefined&&(!Number[_0x105ae2(0x86)](_0x462818[_0x105ae2(0xaf)])||_0x462818[_0x105ae2(0xaf)]<-0x6f*0x4+-0xda8+0xf64)||_0x462818[_0x105ae2(0x9c)]!==undefined&&(!Number[_0x105ae2(0x86)](_0x462818[_0x105ae2(0x9c)])||_0x462818[_0x105ae2(0x9c)]<-0x7*-0x413+0x3f*0xe+-0x2*0xffb||_0x462818[_0x105ae2(0x9c)]>(-0xbc*-0x2d+0x1*0x2015+-0x3f21)*(-0x1ef1+-0x268b+-0x125f*-0x4)))throw new Error(_0x105ae2(0x9b));if(isAbsolute(_0x462818[_0x105ae2(0x94)]))throw new Error(_0x105ae2(0xa3));return readWorkspaceFileContentRange(_0x16d552[_0x105ae2(0x94)],_0x462818[_0x105ae2(0x94)],typeof _0x462818[_0x105ae2(0xaf)]===_0x105ae2(0x97)?_0x462818[_0x105ae2(0xaf)]:0xf7*-0x1d+-0x89*-0x1a+0xe11,typeof _0x462818[_0x105ae2(0x9c)]===_0x105ae2(0x97)?_0x462818[_0x105ae2(0x9c)]:(-0x4f*0x25+0xf27+-0x2*0xde)*(-0x193b+-0x10d3+0x2e0e));}async[_0x219ffb(0x89)](_0x25df20,_0x3146b0){const _0x48d8f2=_0x219ffb;if(typeof _0x3146b0[_0x48d8f2(0x94)]!==_0x48d8f2(0xb6)||typeof _0x3146b0[_0x48d8f2(0x7f)]!==_0x48d8f2(0xb6)||typeof _0x3146b0[_0x48d8f2(0x95)]!==_0x48d8f2(0xb6))throw new Error(_0x48d8f2(0x88));const _0x27f5ef=_0x3146b0[_0x48d8f2(0x94)],_0x57f9f4=_0x3146b0[_0x48d8f2(0x7f)],_0x16a470=_0x3146b0[_0x48d8f2(0x95)];return this[_0x48d8f2(0xaa)](_0x25df20['id'],async()=>{const _0x3a9a2a=_0x48d8f2,_0x456564=await writeWorkspaceTextFile(_0x25df20[_0x3a9a2a(0x94)],_0x27f5ef,_0x57f9f4,_0x16a470);return this[_0x3a9a2a(0x8b)](_0x25df20['id']),this[_0x3a9a2a(0xb8)](_0x25df20['id']),_0x456564;});}async[_0x219ffb(0x91)](_0x2ebbf5,_0x8d283f){const _0x17ef4b=_0x219ffb;if(typeof _0x8d283f[_0x17ef4b(0x8a)]!==_0x17ef4b(0xb6)||_0x8d283f[_0x17ef4b(0xa8)]!==undefined&&typeof _0x8d283f[_0x17ef4b(0xa8)]!==_0x17ef4b(0xb6)||_0x8d283f[_0x17ef4b(0xb4)]!==undefined&&typeof _0x8d283f[_0x17ef4b(0xb4)]!==_0x17ef4b(0x9d)||_0x8d283f[_0x17ef4b(0x9c)]!==undefined&&(!Number[_0x17ef4b(0x86)](_0x8d283f[_0x17ef4b(0x9c)])||_0x8d283f[_0x17ef4b(0x9c)]<-0x2a7+0x1c8b*-0x1+0x1f33||_0x8d283f[_0x17ef4b(0x9c)]>0xa4*0x3+-0x13*0x1d+-0x25*-0x7))throw new Error(_0x17ef4b(0x83));return this[_0x17ef4b(0xb2)](_0x2ebbf5)[_0x17ef4b(0x91)](_0x8d283f[_0x17ef4b(0x8a)],typeof _0x8d283f[_0x17ef4b(0xa8)]===_0x17ef4b(0xb6)?_0x8d283f[_0x17ef4b(0xa8)]:undefined,typeof _0x8d283f[_0x17ef4b(0x9c)]===_0x17ef4b(0x97)?_0x8d283f[_0x17ef4b(0x9c)]:undefined,_0x8d283f[_0x17ef4b(0xb4)]===!![]);}async[_0x219ffb(0x96)](_0x4acf69,_0x27e5aa){const _0x70c91c=_0x219ffb,_0x3cfad2=_0x27e5aa[_0x70c91c(0xae)];if(_0x3cfad2!==_0x70c91c(0xb7)&&_0x3cfad2!==_0x70c91c(0xb5)&&_0x3cfad2!==_0x70c91c(0x8e)&&_0x3cfad2!==_0x70c91c(0x8d)||typeof _0x27e5aa[_0x70c91c(0x94)]!==_0x70c91c(0xb6)||_0x3cfad2===_0x70c91c(0x8e)&&typeof _0x27e5aa[_0x70c91c(0x80)]!==_0x70c91c(0xb6))throw new Error(_0x70c91c(0x84));const _0x39348c=_0x27e5aa[_0x70c91c(0x94)],_0x4c5426=typeof _0x27e5aa[_0x70c91c(0x80)]===_0x70c91c(0xb6)?_0x27e5aa[_0x70c91c(0x80)]:undefined;return this[_0x70c91c(0xaa)](_0x4acf69['id'],async()=>{const _0xe712fe=_0x70c91c,_0x53555e=await mutateWorkspaceFile(_0x4acf69[_0xe712fe(0x94)],_0x3cfad2===_0xe712fe(0x8e)?{'action':_0x3cfad2,'path':_0x39348c,'destination':_0x4c5426}:{'action':_0x3cfad2,'path':_0x39348c});return this[_0xe712fe(0x8b)](_0x4acf69['id']),this[_0xe712fe(0xb8)](_0x4acf69['id']),_0x53555e;});}async[_0x219ffb(0xaa)](_0x848c44,_0x389efd){const _0x57bed9=_0x219ffb,_0x9739bb=this[_0x57bed9(0xad)][_0x57bed9(0xa7)](_0x848c44)??Promise[_0x57bed9(0x85)](),_0x58d8e8=_0x9739bb[_0x57bed9(0xa4)](_0x389efd,_0x389efd),_0x2bcead=_0x58d8e8[_0x57bed9(0xa4)](()=>undefined,()=>undefined);this[_0x57bed9(0xad)][_0x57bed9(0x90)](_0x848c44,_0x2bcead);try{return await _0x58d8e8;}finally{if(this[_0x57bed9(0xad)][_0x57bed9(0xa7)](_0x848c44)===_0x2bcead)this[_0x57bed9(0xad)][_0x57bed9(0xb3)](_0x848c44);}}[_0x219ffb(0xb2)](_0x2d544c){const _0x4fede2=_0x219ffb;let _0x57209f=this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0xa7)](_0x2d544c['id']);if(_0x57209f===undefined){if(this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0x81)]>=INDEX_CACHE_LIMIT){const _0x47fdb0=this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0xa5)]()[_0x4fede2(0x9a)]()[_0x4fede2(0x82)];_0x47fdb0!==undefined&&(_0x47fdb0[-0x3*0x425+-0x3*-0x751+-0x983][_0x4fede2(0x8b)](),this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0xb3)](_0x47fdb0[0x1*0x235+-0xf39+0xe*0xee]));}_0x57209f=new WorkspaceFileIndex(_0x2d544c[_0x4fede2(0x94)]);}return this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0xb3)](_0x2d544c['id']),this[_0x4fede2(0xab)][_0x4fede2(0x7e)][_0x4fede2(0x90)](_0x2d544c['id'],_0x57209f),_0x57209f;}[_0x219ffb(0x8b)](_0xb12535){const _0x3d6dd0=_0x219ffb;if(_0xb12535!==undefined){this[_0x3d6dd0(0xab)][_0x3d6dd0(0x7e)][_0x3d6dd0(0xa7)](_0xb12535)?.[_0x3d6dd0(0x8b)](),this[_0x3d6dd0(0xab)][_0x3d6dd0(0x7e)][_0x3d6dd0(0xb3)](_0xb12535);return;}for(const _0x385db1 of this[_0x3d6dd0(0xab)][_0x3d6dd0(0x7e)][_0x3d6dd0(0xa6)]())_0x385db1[_0x3d6dd0(0x8b)]();this[_0x3d6dd0(0xab)][_0x3d6dd0(0x7e)][_0x3d6dd0(0xac)]();}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x14c135=_0x4449;function _0x4449(_0x148fc8,_0x387edd){_0x148fc8=_0x148fc8-(0x1b*-0xd3+-0x1*-0x1f61+-0x7d4);const _0x4920d1=_0x5540();let _0x24bb3b=_0x4920d1[_0x148fc8];if(_0x4449['BBCXIG']===undefined){var _0x4ac169=function(_0x4f2cd4){const _0xa766e5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17c5ff='',_0x3689ba='';for(let _0xba61f7=0x201f+-0x7*-0x149+-0x291e,_0x3e2190,_0x515bda,_0x1a2819=-0x1194+0x1*-0xc49+0x1ddd;_0x515bda=_0x4f2cd4['charAt'](_0x1a2819++);~_0x515bda&&(_0x3e2190=_0xba61f7%(-0xd97+0x1*0xeb+-0x7*-0x1d0)?_0x3e2190*(0xc91+-0x356+-0x1*0x8fb)+_0x515bda:_0x515bda,_0xba61f7++%(0x931+0x135e+-0x1c8b))?_0x17c5ff+=String['fromCharCode'](0x2310+0x596*0x2+-0x2d3d&_0x3e2190>>(-(0x1*-0x162e+-0x2*0x577+0x3*0xb0a)*_0xba61f7&0xb1a*-0x1+0x26e5+0x1*-0x1bc5)):0x84f*-0x2+-0x3*-0x8ef+0xb*-0xed){_0x515bda=_0xa766e5['indexOf'](_0x515bda);}for(let _0x1042a2=-0x2383*-0x1+-0x1960+-0xa23,_0x1d6548=_0x17c5ff['length'];_0x1042a2<_0x1d6548;_0x1042a2++){_0x3689ba+='%'+('00'+_0x17c5ff['charCodeAt'](_0x1042a2)['toString'](0x1*-0x5c1+0x6df*-0x3+0x2*0xd37))['slice'](-(0xff0+-0x54*0x33+0xce));}return decodeURIComponent(_0x3689ba);};_0x4449['ujquBf']=_0x4ac169,_0x4449['oKtoEe']={},_0x4449['BBCXIG']=!![];}const _0x2d28e0=_0x4920d1[0xd3*-0x22+-0x37*-0x55+0x9c3];_0x4449['urMUQL']!==_0x2d28e0&&(_0x4449['oKtoEe']={},_0x4449['urMUQL']=_0x2d28e0);const _0x542201=_0x4449['oKtoEe'][_0x148fc8];return _0x542201===undefined?(_0x24bb3b=_0x4449['ujquBf'](_0x24bb3b),_0x4449['oKtoEe'][_0x148fc8]=_0x24bb3b):_0x24bb3b=_0x542201,_0x24bb3b;}(function(_0x506024,_0x1e9f73){const _0x16e060=_0x4449,_0x4277c9=_0x506024();while(!![]){try{const _0x4b595a=parseInt(_0x16e060(0x17c))/(-0x22cb*-0x1+0x17*-0x1+-0x3*0xb91)*(-parseInt(_0x16e060(0x17e))/(0x8b*0x7+0xffd+-0x13c8))+-parseInt(_0x16e060(0x171))/(-0x4c3+0xaaa+-0x5e4)*(-parseInt(_0x16e060(0x18b))/(0x1*0x182b+-0x1351+0x1*-0x4d6))+-parseInt(_0x16e060(0x16a))/(-0x21*-0x37+-0x264c+0x1*0x1f3a)*(-parseInt(_0x16e060(0x14f))/(-0x1168+-0x2*0xc5a+0x1*0x2a22))+parseInt(_0x16e060(0x156))/(0x17+-0x1*0x1c08+0x1bf8*0x1)+parseInt(_0x16e060(0x15c))/(-0x100d+-0x1*-0x242b+-0x1416)+-parseInt(_0x16e060(0x168))/(0x2*0xc5f+-0x586+-0x1*0x132f)+-parseInt(_0x16e060(0x162))/(0x59a+0x15dc+-0x1b6c);if(_0x4b595a===_0x1e9f73)break;else _0x4277c9['push'](_0x4277c9['shift']());}catch(_0x3c3968){_0x4277c9['push'](_0x4277c9['shift']());}}}(_0x5540,0x75d9d*0x1+-0x15805f+0x19a8e7*0x1));import{isPlainRecord,withNonImageAttachmentPrompt}from'../runner/codex/conversation-parser.js';import{assertQueueItemOwner,assertSessionControlOwner}from'./run-ownership-policy.js';function _0x5540(){const _0xffadf3=['mJe2mdy1EvrszM1e','zgvSzxrL','B3bLCMf0Aw9UCW','u0vtu0LptL9ot1rFrK9vtKq','DMvYC2LVBG','CgvUzgLUzW','CNvUDgLTzq','mtyZnJi5Ae1nufPV','CMvXDwLYzvnLC3nPB24','ChjLCgfYzuLUChv0','zw1PDa','CNvUBMvY','y3jLyxrLzef0','zMXHDe1HCa','y29SBgfIB3jHDgLVBK1Vzgu','zgvSzxrLuxvLDwvjDgvT','C25HChnOB3q','BgvUz3rO','ne9dvvbhrG','CMvVCMrLCLnLC3nPB25rDwv1zq','mZiXmJy4s295u2XV','AxrLBuLKCW','C3rYAw5N','CMvZDw1L','CxvLDwvjDgvTswrZ','zxHLy3v0zvf1zxvLsxrLBq','zxHLy3v0zq','Cgf1C2vK','y29UDgvUDa','C3rHCNrZv2L0Aa','y29VCMrPBMf0B3i','y3vZDg9TvgL0Bgu','x19Yzxf1zxn0vxnLCKLK','nZzHBevoDu8','uvvfvuvFsu5wquXjra','vw50AxrSzwqGC2vZC2LVBG','AxnjBNrLz2vY','z2v0','C2vZC2LVBKLK','DhjPBq','CxvLDwvjDgvTswq','Cgf1C2u','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','nZHNsfnVAxe','y2XPzw50twvZC2fNzuLK','Cgf1C2vtzxnZAw9UuxvLDwu','D29YA3nWywnLswq','B3b0Aw9UCW','BwLZC2LVBJO','z2v0uxvLDwvjDgvT','ote1otu5mw92EMftBq','uvvfvuvFsvrftv9jtLzbteLe','DxbKyxrLuhjLCgfYzwrjBNb1Da','CMvXDwLYzuL0zw0','DxbKyxrLuxvLDwvjDgvT','Cgf1C2vpCLjLC3vTzq','mZu4odmZnKXwyMXiDG','C29Tzq','v09ss1nqqunfx05pvf9gt1vora','ChjLC2vUDa','zxHWzwn0zwrwzxjZAw9U','CNvUBMvYvgL0Bgu','mtu3nJa1nJbHwe5IEee','AxnbCNjHEq','C2vZC2LVBLf1zxvL','z2v0qwDLBNrtzxnZAw9U','yxr0ywnOBwvUDfbHDgHZ','DxbKyxrL','mZqZmtGWohbxsefbsa','CMvVCMrLCG'];_0x5540=function(){return _0xffadf3;};return _0x5540();}export class WorkspaceQueueWorkbenchService{[_0x14c135(0x153)];constructor(_0x4cb659){const _0xb77cef=_0x14c135;this[_0xb77cef(0x153)]=_0x4cb659;}[_0x14c135(0x16c)](){const _0x8f5ef5=_0x14c135;return{'workspace.queue.get':_0x45fa60=>this[_0x8f5ef5(0x18f)](record(_0x45fa60)),'workspace.queue.resume':_0x30ab62=>this[_0x8f5ef5(0x15b)](_0x8f5ef5(0x181),record(_0x30ab62)),'workspace.queue.pause':_0x887951=>this[_0x8f5ef5(0x15b)](_0x8f5ef5(0x14d),record(_0x887951)),'workspace.queue.reorder':_0x1f19a3=>this[_0x8f5ef5(0x169)](record(_0x1f19a3)),'workspace.queue.message.update':_0x30cf81=>this[_0x8f5ef5(0x167)](record(_0x30cf81)),'workspace.queue.message.delete':_0x1a8f3e=>this[_0x8f5ef5(0x16b)](record(_0x1a8f3e)),'workspace.queue.message.execute':_0x57affc=>this[_0x8f5ef5(0x184)](record(_0x57affc))};}[_0x14c135(0x151)](_0x38e746){const _0x3e4343=_0x14c135,_0x3ce3d4=this[_0x3e4343(0x153)][_0x3e4343(0x170)][_0x3e4343(0x165)](_0x38e746);if(_0x3ce3d4===undefined)throw new Error(_0x3e4343(0x16d));this[_0x3e4343(0x153)][_0x3e4343(0x170)][_0x3e4343(0x151)](_0x3ce3d4['id']),this[_0x3e4343(0x153)][_0x3e4343(0x174)](_0x3ce3d4[_0x3e4343(0x152)],_0x3ce3d4['id']);}[_0x14c135(0x14e)](_0x2640e4){const _0x39fabe=_0x14c135,_0x3f0740=this[_0x39fabe(0x153)][_0x39fabe(0x170)][_0x39fabe(0x165)](_0x2640e4);if(_0x3f0740===undefined)throw new Error(_0x39fabe(0x16d));if(!this[_0x39fabe(0x153)][_0x39fabe(0x170)][_0x39fabe(0x164)](_0x3f0740['id'])[_0x39fabe(0x185)])return;this[_0x39fabe(0x153)][_0x39fabe(0x188)][_0x39fabe(0x181)](_0x3f0740['id']),this[_0x39fabe(0x153)][_0x39fabe(0x174)](_0x3f0740[_0x39fabe(0x152)],_0x3f0740['id']);}[_0x14c135(0x15f)](_0x2b9dc3,_0x1f5402){const _0x5a29c6=_0x14c135,_0x163049=this[_0x5a29c6(0x153)][_0x5a29c6(0x170)][_0x5a29c6(0x165)](_0x1f5402);if(_0x163049?.[_0x5a29c6(0x152)]!==_0x2b9dc3)throw new Error(_0x5a29c6(0x16d));return this[_0x5a29c6(0x17a)](_0x1f5402);}[_0x14c135(0x17a)](_0x5714a1){const _0x3a16cd=_0x14c135,_0x2ee815=this[_0x3a16cd(0x153)][_0x3a16cd(0x170)][_0x3a16cd(0x164)](_0x5714a1);return{'version':_0x2ee815[_0x3a16cd(0x16e)],'paused':_0x2ee815[_0x3a16cd(0x185)],'items':_0x2ee815[_0x3a16cd(0x17f)][_0x3a16cd(0x177)](_0x3ae85c=>{const _0xe1ab12=_0x3a16cd,_0x47530a=this[_0xe1ab12(0x153)][_0xe1ab12(0x170)][_0xe1ab12(0x155)](_0x3ae85c);if(_0x47530a===undefined||_0x47530a[_0xe1ab12(0x150)][_0xe1ab12(0x187)](_0xe1ab12(0x154)))return[];const _0x25bd8f=this[_0xe1ab12(0x153)][_0xe1ab12(0x170)][_0xe1ab12(0x165)](_0x47530a[_0xe1ab12(0x190)]);return[{'queueItemId':_0x47530a['id'],'sessionId':_0x47530a[_0xe1ab12(0x190)],'workspaceId':_0x47530a[_0xe1ab12(0x152)],'runner':_0x47530a[_0xe1ab12(0x175)],'clientMessageId':_0x47530a[_0xe1ab12(0x150)],'sessionTitle':_0x25bd8f?.[_0xe1ab12(0x189)]??_0x25bd8f?.[_0xe1ab12(0x161)]??_0xe1ab12(0x18d),'content':_0x47530a[_0xe1ab12(0x186)],'createdAt':_0x47530a[_0xe1ab12(0x176)]}];})};}[_0x14c135(0x18f)](_0x1d5fdf){const _0x276ea4=_0x14c135,_0x4fb3ae=this[_0x276ea4(0x172)](_0x1d5fdf);return{'queue':this[_0x276ea4(0x15f)](_0x4fb3ae[_0x276ea4(0x152)],_0x4fb3ae['id'])};}[_0x14c135(0x15b)](_0x5a7be3,_0x3d528c){const _0x379550=_0x14c135,_0x28d594=this[_0x379550(0x172)](_0x3d528c);assertSessionControlOwner(this[_0x379550(0x153)][_0x379550(0x170)],_0x28d594['id'],_0x3d528c[_0x379550(0x18a)]);if(_0x5a7be3===_0x379550(0x181))this[_0x379550(0x153)][_0x379550(0x188)][_0x379550(0x181)](_0x28d594['id']);else this[_0x379550(0x153)][_0x379550(0x170)][_0x379550(0x151)](_0x28d594['id']);return this[_0x379550(0x153)][_0x379550(0x174)](_0x28d594[_0x379550(0x152)],_0x28d594['id']),{'queue':this[_0x379550(0x15f)](_0x28d594[_0x379550(0x152)],_0x28d594['id'])};}[_0x14c135(0x169)](_0x5f227a){const _0x495fb9=_0x14c135;if(!Number[_0x495fb9(0x18e)](_0x5f227a[_0x495fb9(0x160)])||!Array[_0x495fb9(0x163)](_0x5f227a[_0x495fb9(0x182)])||_0x5f227a[_0x495fb9(0x182)][_0x495fb9(0x15d)](_0x3431c7=>typeof _0x3431c7!==_0x495fb9(0x180)))throw new Error(_0x495fb9(0x18c));const _0x5be3c6=this[_0x495fb9(0x172)](_0x5f227a);return assertSessionControlOwner(this[_0x495fb9(0x153)][_0x495fb9(0x170)],_0x5be3c6['id'],_0x5f227a[_0x495fb9(0x18a)]),this[_0x495fb9(0x153)][_0x495fb9(0x170)][_0x495fb9(0x17d)](_0x5be3c6['id'],_0x5f227a[_0x495fb9(0x160)],_0x5f227a[_0x495fb9(0x182)]),this[_0x495fb9(0x153)][_0x495fb9(0x174)](_0x5be3c6[_0x495fb9(0x152)],_0x5be3c6['id']),{'queue':this[_0x495fb9(0x15f)](_0x5be3c6[_0x495fb9(0x152)],_0x5be3c6['id'])};}[_0x14c135(0x167)](_0x149d9a){const _0x22a482=_0x14c135;if(typeof _0x149d9a[_0x22a482(0x14c)]!==_0x22a482(0x180)||typeof _0x149d9a[_0x22a482(0x186)]!==_0x22a482(0x180)||_0x149d9a[_0x22a482(0x186)][_0x22a482(0x191)]()[_0x22a482(0x17b)]===0x207+-0x899+0x692)throw new Error(_0x22a482(0x18c));const _0x2258ca=this[_0x22a482(0x159)](_0x149d9a[_0x22a482(0x14c)],_0x149d9a[_0x22a482(0x152)]);assertQueueItemOwner(_0x2258ca,_0x149d9a[_0x22a482(0x18a)]);const _0x3e5d55=_0x149d9a[_0x22a482(0x186)][_0x22a482(0x191)]();this[_0x22a482(0x153)][_0x22a482(0x170)][_0x22a482(0x15a)](_0x2258ca['id'],_0x3e5d55);const _0x30839b=this[_0x22a482(0x153)][_0x22a482(0x188)][_0x22a482(0x16f)](_0x2258ca['id']);if(_0x30839b!==undefined){const _0x49ee63=withNonImageAttachmentPrompt(_0x3e5d55,_0x30839b[_0x22a482(0x166)]);this[_0x22a482(0x153)][_0x22a482(0x188)][_0x22a482(0x158)](_0x2258ca['id'],this[_0x22a482(0x153)][_0x22a482(0x173)](_0x30839b[_0x22a482(0x175)],_0x49ee63,_0x30839b[_0x22a482(0x178)]));}return this[_0x22a482(0x153)][_0x22a482(0x174)](_0x2258ca[_0x22a482(0x152)],_0x2258ca[_0x22a482(0x190)]),{'queue':this[_0x22a482(0x15f)](_0x2258ca[_0x22a482(0x152)],_0x2258ca[_0x22a482(0x190)])};}[_0x14c135(0x16b)](_0x1f6afe){const _0x3d2388=_0x14c135;if(typeof _0x1f6afe[_0x3d2388(0x14c)]!==_0x3d2388(0x180))throw new Error(_0x3d2388(0x18c));const _0x5cde7f=this[_0x3d2388(0x159)](_0x1f6afe[_0x3d2388(0x14c)],_0x1f6afe[_0x3d2388(0x152)]);return assertQueueItemOwner(_0x5cde7f,_0x1f6afe[_0x3d2388(0x18a)]),this[_0x3d2388(0x153)][_0x3d2388(0x188)][_0x3d2388(0x179)](_0x5cde7f['id']),{'queue':this[_0x3d2388(0x15f)](_0x5cde7f[_0x3d2388(0x152)],_0x5cde7f[_0x3d2388(0x190)])};}[_0x14c135(0x184)](_0x365b6d){const _0x197ce7=_0x14c135;if(typeof _0x365b6d[_0x197ce7(0x14c)]!==_0x197ce7(0x180))throw new Error(_0x197ce7(0x18c));return assertQueueItemOwner(this[_0x197ce7(0x159)](_0x365b6d[_0x197ce7(0x14c)],_0x365b6d[_0x197ce7(0x152)]),_0x365b6d[_0x197ce7(0x18a)]),this[_0x197ce7(0x153)][_0x197ce7(0x188)][_0x197ce7(0x183)](_0x365b6d[_0x197ce7(0x14c)]);}[_0x14c135(0x172)](_0x2223e2){const _0x29469f=_0x14c135;if(typeof _0x2223e2[_0x29469f(0x152)]!==_0x29469f(0x180)||typeof _0x2223e2[_0x29469f(0x190)]!==_0x29469f(0x180))throw new Error(_0x29469f(0x15e));const _0x5f28f0=this[_0x29469f(0x153)][_0x29469f(0x170)][_0x29469f(0x165)](_0x2223e2[_0x29469f(0x190)]);if(_0x5f28f0?.[_0x29469f(0x152)]!==_0x2223e2[_0x29469f(0x152)])throw new Error(_0x29469f(0x16d));return _0x5f28f0;}[_0x14c135(0x159)](_0x4d3757,_0x5cb9c6){const _0x4a4689=_0x14c135,_0x154f3b=this[_0x4a4689(0x153)][_0x4a4689(0x170)][_0x4a4689(0x155)](_0x4d3757);if(_0x154f3b===undefined)throw new Error(_0x4a4689(0x157));if(typeof _0x5cb9c6!==_0x4a4689(0x180)||_0x154f3b[_0x4a4689(0x152)]!==_0x5cb9c6)throw new Error(_0x4a4689(0x157));return _0x154f3b;}}function record(_0x571eb1){return isPlainRecord(_0x571eb1)?_0x571eb1:{};}
2
+ function _0x345f(){const _0x39cb22=['zxHWzwn0zwrwzxjZAw9U','zgvSzxrLuxvLDwvjDgvT','mZa5nJe0ntjyqxjxzM4','B3bLCMf0Aw9UCW','mtnsyvrADhK','mJfxCvbiBhe','DxbKyxrL','Cgf1C2u','BwLZC2LVBJO','ndvjwM1xCu0','mJeWnJG0sK1zENrU','CMvXDwLYzuL0zw0','y2XPzw50twvZC2fNzuLK','Cgf1C2vK','odyYmtuWDxPksLPH','AxnbCNjHEq','C2vZC2LVBKLK','v09ss1nqqunfx05pvf9gt1vora','y3vZDg9TvgL0Bgu','y29UDgvUDa','DxbKyxrLuhjLCgfYzwrjBNb1Da','Cgf1C2vpCLjLC3vTzq','CgvUzgLUzW','CxvLDwvjDgvTswq','BgvUz3rO','mJiZmfz4BMrrAW','CMvZDw1Lqwz0zxjdB21Tyw5KuNvU','y29SBgfIB3jHDgLVBK1Vzgu','z2v0','C25HChnOB3q','CxvLDwvjDgvTswrZ','vw50AxrSzwqGC2vZC2LVBG','C3rHCNrZv2L0Aa','CNvUDgLTzq','D29YA3nWywnLswq','C3rYAw5N','zxHLy3v0zq','u0vtu0LptL9ot1rFrK9vtKq','CMvXDwLYzvnLC3nPB24','CMvVCMrLCG','z2v0qwDLBNrtzxnZAw9U','AxrLBuLKCW','CNvUBMvYvgL0Bgu','C29Tzq','CMvZDw1L','DMvYC2LVBG','B3b0Aw9UCW','uvvfvuvFsvrftv9jtLzbteLe','y29VCMrPBMf0B3i','zMXHDe1HCa','ChjLCgfYzuLUChv0','zgvSzxrL','C2vZC2LVBLf1zxvL','yxr0ywnOBwvUDfbHDgHZ','CNvUBMvY','otC4nti4vM1vvwrr','DxbKyxrLuxvLDwvjDgvT','zxHLy3v0zvf1zxvLsxrLBq','DhjPBq','CMvVCMrLCLnLC3nPB25rDwv1zq','mZuXote2tuHMywXJ','AxnjBNrLz2vY','y3jLyxrLzef0','mteZmdG2mZHHC3rhANm','Cgf1C2vtzxnZAw9UuxvLDwu','z2v0uxvLDwvjDgvT','uvvfvuvFsu5wquXjra','ChjLC2vUDa','mteWuMTIvM1x','ntCZs1z4BLv1','mZnWtgTtrNi','x19Yzxf1zxn0vxnLCKLK','zw1PDa'];_0x345f=function(){return _0x39cb22;};return _0x345f();}function _0x2465(_0x522af3,_0x394ddf){_0x522af3=_0x522af3-(-0x9*0x29b+0xd6e+0xadb);const _0x209a06=_0x345f();let _0x46eb54=_0x209a06[_0x522af3];if(_0x2465['SjQqhy']===undefined){var _0x3d3784=function(_0x1550aa){const _0x457647='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4fff66='',_0x12f0d3='';for(let _0x327773=-0x1*-0x523+-0x3*0x4ff+0x9da,_0x57e8a0,_0x16a2ba,_0x592af4=0xa17+-0xa24+0xd;_0x16a2ba=_0x1550aa['charAt'](_0x592af4++);~_0x16a2ba&&(_0x57e8a0=_0x327773%(0xb6*-0x2b+0x445*-0x3+0xe77*0x3)?_0x57e8a0*(-0x2244+-0x12ef+0x1*0x3573)+_0x16a2ba:_0x16a2ba,_0x327773++%(0xcd*-0xd+0xccd+0x98*-0x4))?_0x4fff66+=String['fromCharCode'](0x2429+-0xcd1+0x1659*-0x1&_0x57e8a0>>(-(0x2204+-0x553*0x7+-0xa7*-0x5)*_0x327773&-0x1c98+0x303*0x8+0x2*0x243)):0x7*-0x2ba+-0x1cea+0x3000){_0x16a2ba=_0x457647['indexOf'](_0x16a2ba);}for(let _0x40c44f=0x1*0x266+0x2*0x7a5+-0x2*0x8d8,_0x45fa0f=_0x4fff66['length'];_0x40c44f<_0x45fa0f;_0x40c44f++){_0x12f0d3+='%'+('00'+_0x4fff66['charCodeAt'](_0x40c44f)['toString'](0x1e02+-0x4b6*0x1+0x50c*-0x5))['slice'](-(-0x1*0x36d+-0x1*0x1316+0x1685));}return decodeURIComponent(_0x12f0d3);};_0x2465['znzKbf']=_0x3d3784,_0x2465['OWxtPX']={},_0x2465['SjQqhy']=!![];}const _0xabec0e=_0x209a06[-0x217b+0x189a+-0x8e1*-0x1];_0x2465['vMPdsP']!==_0xabec0e&&(_0x2465['OWxtPX']={},_0x2465['vMPdsP']=_0xabec0e);const _0x5c93=_0x2465['OWxtPX'][_0x522af3];return _0x5c93===undefined?(_0x46eb54=_0x2465['znzKbf'](_0x46eb54),_0x2465['OWxtPX'][_0x522af3]=_0x46eb54):_0x46eb54=_0x5c93,_0x46eb54;}const _0x35cb6a=_0x2465;(function(_0x3c5ef0,_0x28b817){const _0x19b552=_0x2465,_0x133e54=_0x3c5ef0();while(!![]){try{const _0x2906d0=parseInt(_0x19b552(0xdb))/(0xaf1+-0x2409+0x101*0x19)*(-parseInt(_0x19b552(0xf8))/(-0x1f29+0x1fd*-0xa+-0x1*-0x330d))+parseInt(_0x19b552(0xdc))/(-0xeb8+0x12e6+0x1*-0x42b)*(-parseInt(_0x19b552(0x11b))/(-0x1842+0x13b3+-0x1*-0x493))+parseInt(_0x19b552(0xda))/(-0x1ff*0x9+-0xfc*-0xd+0x530)*(parseInt(_0x19b552(0xe9))/(0xc3a+0x4c*-0x1+-0x5f4*0x2))+-parseInt(_0x19b552(0xe4))/(-0x69d*0x2+0x14e3+-0x7a2)*(-parseInt(_0x19b552(0x116))/(-0x132c*0x1+0x169*0x7+0x1*0x955))+-parseInt(_0x19b552(0xe8))/(-0x2392*0x1+0x1*0x174b+0x1*0xc50)*(parseInt(_0x19b552(0xed))/(0x1193*0x2+0x39*0x67+-0x3a0b))+-parseInt(_0x19b552(0x11e))/(-0x1*-0x19d5+-0x1f1f+0x555)+-parseInt(_0x19b552(0xe1))/(-0x230b+0x14d*-0xe+0x354d*0x1)*(-parseInt(_0x19b552(0xe3))/(0x12a*-0x1+0x2027+-0x1ef0));if(_0x2906d0===_0x28b817)break;else _0x133e54['push'](_0x133e54['shift']());}catch(_0x22ebb6){_0x133e54['push'](_0x133e54['shift']());}}}(_0x345f,0x194*0x960+-0x96339+0x4918d));import{isPlainRecord,withNonImageAttachmentPrompt}from'../util/node-operation-parsers.js';import{assertQueueItemOwner,assertSessionControlOwner}from'./run-ownership-policy.js';export class WorkspaceQueueWorkbenchService{[_0x35cb6a(0x10d)];constructor(_0x592806){const _0x361e73=_0x35cb6a;this[_0x361e73(0x10d)]=_0x592806;}[_0x35cb6a(0xe2)](){const _0x30abad=_0x35cb6a;return{'workspace.queue.get':_0xb3798e=>this[_0x30abad(0xfb)](record(_0xb3798e)),'workspace.queue.resume':_0xa60b7d=>this[_0x30abad(0xf4)](_0x30abad(0x10b),record(_0xa60b7d)),'workspace.queue.pause':_0x200e55=>this[_0x30abad(0xf4)](_0x30abad(0xe6),record(_0x200e55)),'workspace.queue.reorder':_0x48436f=>this[_0x30abad(0x106)](record(_0x48436f)),'workspace.queue.message.update':_0x4d7a40=>this[_0x30abad(0xe5)](record(_0x4d7a40)),'workspace.queue.message.delete':_0x54092d=>this[_0x30abad(0x112)](record(_0x54092d)),'workspace.queue.message.execute':_0x5040df=>this[_0x30abad(0x103)](record(_0x5040df))};}[_0x35cb6a(0xd6)](_0x5d53bf){const _0x2d9559=_0x35cb6a,_0x5b5bce=this[_0x2d9559(0x10d)][_0x2d9559(0x100)][_0x2d9559(0x107)](_0x5d53bf);if(_0x5b5bce===undefined)throw new Error(_0x2d9559(0x104));this[_0x2d9559(0x10d)][_0x2d9559(0x100)][_0x2d9559(0xd6)](_0x5b5bce['id']),this[_0x2d9559(0x10d)][_0x2d9559(0xde)](_0x5b5bce[_0x2d9559(0x101)],_0x5b5bce['id']);}[_0x35cb6a(0xf9)](_0x5ddb92){const _0x49b049=_0x35cb6a,_0x18941c=this[_0x49b049(0x10d)][_0x49b049(0x100)][_0x49b049(0x107)](_0x5ddb92);if(_0x18941c===undefined)throw new Error(_0x49b049(0x104));if(!this[_0x49b049(0x10d)][_0x49b049(0x100)][_0x49b049(0x113)](_0x18941c['id'])[_0x49b049(0xec)])return;this[_0x49b049(0x10d)][_0x49b049(0x10f)][_0x49b049(0x10b)](_0x18941c['id']),this[_0x49b049(0x10d)][_0x49b049(0xde)](_0x18941c[_0x49b049(0x101)],_0x18941c['id']);}[_0x35cb6a(0xd9)](_0x279547,_0x28f7c9){const _0x1ffedc=_0x35cb6a,_0x5adc97=this[_0x1ffedc(0x10d)][_0x1ffedc(0x100)][_0x1ffedc(0x107)](_0x28f7c9);if(_0x5adc97?.[_0x1ffedc(0x101)]!==_0x279547)throw new Error(_0x1ffedc(0x104));return this[_0x1ffedc(0xfc)](_0x28f7c9);}[_0x35cb6a(0xfc)](_0x31f8f0){const _0x43969b=_0x35cb6a,_0x22fb5e=this[_0x43969b(0x10d)][_0x43969b(0x100)][_0x43969b(0x113)](_0x31f8f0);return{'version':_0x22fb5e[_0x43969b(0x10c)],'paused':_0x22fb5e[_0x43969b(0xec)],'items':_0x22fb5e[_0x43969b(0x108)][_0x43969b(0x110)](_0x3f503e=>{const _0x3f1246=_0x43969b,_0x4f1521=this[_0x3f1246(0x10d)][_0x3f1246(0x100)][_0x3f1246(0xd7)](_0x3f503e);if(_0x4f1521===undefined||_0x4f1521[_0x3f1246(0xeb)][_0x3f1246(0xff)](_0x3f1246(0xe7)))return[];const _0x5201fc=this[_0x3f1246(0x10d)][_0x3f1246(0x100)][_0x3f1246(0x107)](_0x4f1521[_0x3f1246(0xef)]);return[{'queueItemId':_0x4f1521['id'],'sessionId':_0x4f1521[_0x3f1246(0xef)],'workspaceId':_0x4f1521[_0x3f1246(0x101)],'runner':_0x4f1521[_0x3f1246(0x115)],'clientMessageId':_0x4f1521[_0x3f1246(0xeb)],'sessionTitle':_0x5201fc?.[_0x3f1246(0xf1)]??_0x5201fc?.[_0x3f1246(0x109)]??_0x3f1246(0xfe),'content':_0x4f1521[_0x3f1246(0xf2)],'createdAt':_0x4f1521[_0x3f1246(0x11d)]}];})};}[_0x35cb6a(0xfb)](_0x1b0a5a){const _0x10bf15=_0x35cb6a,_0x3f4ca0=this[_0x10bf15(0x105)](_0x1b0a5a);return{'queue':this[_0x10bf15(0xd9)](_0x3f4ca0[_0x10bf15(0x101)],_0x3f4ca0['id'])};}[_0x35cb6a(0xf4)](_0x54235d,_0x5bd2e8){const _0x143fad=_0x35cb6a,_0x200bd3=this[_0x143fad(0x105)](_0x5bd2e8);assertSessionControlOwner(this[_0x143fad(0x10d)][_0x143fad(0x100)],_0x200bd3['id'],_0x5bd2e8[_0x143fad(0xdd)]);if(_0x54235d===_0x143fad(0x10b))this[_0x143fad(0x10d)][_0x143fad(0x10f)][_0x143fad(0x10b)](_0x200bd3['id']);else this[_0x143fad(0x10d)][_0x143fad(0x100)][_0x143fad(0xd6)](_0x200bd3['id']);return this[_0x143fad(0x10d)][_0x143fad(0xde)](_0x200bd3[_0x143fad(0x101)],_0x200bd3['id']),{'queue':this[_0x143fad(0xd9)](_0x200bd3[_0x143fad(0x101)],_0x200bd3['id'])};}[_0x35cb6a(0x106)](_0x700be2){const _0x2c12ab=_0x35cb6a;if(!Number[_0x2c12ab(0x11c)](_0x700be2[_0x2c12ab(0xdf)])||!Array[_0x2c12ab(0xee)](_0x700be2[_0x2c12ab(0xfd)])||_0x700be2[_0x2c12ab(0xfd)][_0x2c12ab(0x10a)](_0x394f13=>typeof _0x394f13!==_0x2c12ab(0x102)))throw new Error(_0x2c12ab(0xd8));const _0x48b110=this[_0x2c12ab(0x105)](_0x700be2);return assertSessionControlOwner(this[_0x2c12ab(0x10d)][_0x2c12ab(0x100)],_0x48b110['id'],_0x700be2[_0x2c12ab(0xdd)]),this[_0x2c12ab(0x10d)][_0x2c12ab(0x100)][_0x2c12ab(0x11a)](_0x48b110['id'],_0x700be2[_0x2c12ab(0xdf)],_0x700be2[_0x2c12ab(0xfd)]),this[_0x2c12ab(0x10d)][_0x2c12ab(0xde)](_0x48b110[_0x2c12ab(0x101)],_0x48b110['id']),{'queue':this[_0x2c12ab(0xd9)](_0x48b110[_0x2c12ab(0x101)],_0x48b110['id'])};}[_0x35cb6a(0xe5)](_0x56d448){const _0x36cafa=_0x35cb6a;if(typeof _0x56d448[_0x36cafa(0xf6)]!==_0x36cafa(0x102)||typeof _0x56d448[_0x36cafa(0xf2)]!==_0x36cafa(0x102)||_0x56d448[_0x36cafa(0xf2)][_0x36cafa(0x119)]()[_0x36cafa(0xf7)]===0x1941+-0xf*0xdc+-0xc5d)throw new Error(_0x36cafa(0xd8));const _0x5934e5=this[_0x36cafa(0xea)](_0x56d448[_0x36cafa(0xf6)],_0x56d448[_0x36cafa(0x101)]);assertQueueItemOwner(_0x5934e5,_0x56d448[_0x36cafa(0xdd)]);const _0x232f7a=_0x56d448[_0x36cafa(0xf2)][_0x36cafa(0x119)]();this[_0x36cafa(0x10d)][_0x36cafa(0x100)][_0x36cafa(0x117)](_0x5934e5['id'],_0x232f7a);const _0x22b94c=this[_0x36cafa(0x10d)][_0x36cafa(0x10f)][_0x36cafa(0xf5)](_0x5934e5['id']);if(_0x22b94c!==undefined){const _0x416ace=withNonImageAttachmentPrompt(_0x232f7a,_0x22b94c[_0x36cafa(0x114)]);this[_0x36cafa(0x10d)][_0x36cafa(0x10f)][_0x36cafa(0xf3)](_0x5934e5['id'],this[_0x36cafa(0x10d)][_0x36cafa(0x111)](_0x22b94c[_0x36cafa(0x115)],_0x416ace,_0x22b94c[_0x36cafa(0xfa)]));}return this[_0x36cafa(0x10d)][_0x36cafa(0xde)](_0x5934e5[_0x36cafa(0x101)],_0x5934e5[_0x36cafa(0xef)]),{'queue':this[_0x36cafa(0xd9)](_0x5934e5[_0x36cafa(0x101)],_0x5934e5[_0x36cafa(0xef)])};}[_0x35cb6a(0x112)](_0x6cecc4){const _0x2dbef3=_0x35cb6a;if(typeof _0x6cecc4[_0x2dbef3(0xf6)]!==_0x2dbef3(0x102))throw new Error(_0x2dbef3(0xd8));const _0x574a98=this[_0x2dbef3(0xea)](_0x6cecc4[_0x2dbef3(0xf6)],_0x6cecc4[_0x2dbef3(0x101)]);return assertQueueItemOwner(_0x574a98,_0x6cecc4[_0x2dbef3(0xdd)]),this[_0x2dbef3(0x10d)][_0x2dbef3(0x10f)][_0x2dbef3(0xe0)](_0x574a98['id']),{'queue':this[_0x2dbef3(0xd9)](_0x574a98[_0x2dbef3(0x101)],_0x574a98[_0x2dbef3(0xef)])};}[_0x35cb6a(0x103)](_0x1121ea){const _0x274436=_0x35cb6a;if(typeof _0x1121ea[_0x274436(0xf6)]!==_0x274436(0x102))throw new Error(_0x274436(0xd8));return assertQueueItemOwner(this[_0x274436(0xea)](_0x1121ea[_0x274436(0xf6)],_0x1121ea[_0x274436(0x101)]),_0x1121ea[_0x274436(0xdd)]),this[_0x274436(0x10d)][_0x274436(0x10f)][_0x274436(0x118)](_0x1121ea[_0x274436(0xf6)]);}[_0x35cb6a(0x105)](_0xcc9f46){const _0x22e824=_0x35cb6a;if(typeof _0xcc9f46[_0x22e824(0x101)]!==_0x22e824(0x102)||typeof _0xcc9f46[_0x22e824(0xef)]!==_0x22e824(0x102))throw new Error(_0x22e824(0xf0));const _0x4d18de=this[_0x22e824(0x10d)][_0x22e824(0x100)][_0x22e824(0x107)](_0xcc9f46[_0x22e824(0xef)]);if(_0x4d18de?.[_0x22e824(0x101)]!==_0xcc9f46[_0x22e824(0x101)])throw new Error(_0x22e824(0x104));return _0x4d18de;}[_0x35cb6a(0xea)](_0x1fe86f,_0x37b7c8){const _0x30f6a8=_0x35cb6a,_0x505b89=this[_0x30f6a8(0x10d)][_0x30f6a8(0x100)][_0x30f6a8(0xd7)](_0x1fe86f);if(_0x505b89===undefined)throw new Error(_0x30f6a8(0x10e));if(typeof _0x37b7c8!==_0x30f6a8(0x102)||_0x505b89[_0x30f6a8(0x101)]!==_0x37b7c8)throw new Error(_0x30f6a8(0x10e));return _0x505b89;}}function record(_0x52040b){return isPlainRecord(_0x52040b)?_0x52040b:{};}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x45759a=_0x987a;(function(_0x24091e,_0x18d8af){const _0x32df92=_0x987a,_0x14ee8b=_0x24091e();while(!![]){try{const _0x2e7915=parseInt(_0x32df92(0x12f))/(0x806+0x156d+-0x1d72)*(-parseInt(_0x32df92(0x157))/(-0xc77+-0x103b*0x1+0x2*0xe5a))+parseInt(_0x32df92(0x13a))/(0x1916+-0x1230+-0x6e3)+parseInt(_0x32df92(0x131))/(-0x196e+0x3*-0xaa1+0x3955)*(parseInt(_0x32df92(0x137))/(0x109*0x6+-0x25*-0x5d+-0x13a2))+-parseInt(_0x32df92(0x144))/(-0x8ab+-0x4*-0x567+-0xceb)+parseInt(_0x32df92(0x12d))/(-0x16e*-0x5+0xcc*-0x23+0x14c5*0x1)+parseInt(_0x32df92(0x11e))/(-0x20f3+-0x1*-0xe81+0x127a)*(parseInt(_0x32df92(0x127))/(0x1*0x140c+0x1723+-0x62a*0x7))+-parseInt(_0x32df92(0x115))/(-0x1d2b+-0x2591+0x42c6)*(parseInt(_0x32df92(0x133))/(0x184+0x11d3*-0x1+0x105a));if(_0x2e7915===_0x18d8af)break;else _0x14ee8b['push'](_0x14ee8b['shift']());}catch(_0x17460b){_0x14ee8b['push'](_0x14ee8b['shift']());}}}(_0x8f01,0x38fb8+-0x16*0x2cad+0x25ba8));import{posix}from'node:path';function _0x987a(_0x47611b,_0x2b994e){_0x47611b=_0x47611b-(0x19dd+-0x1028+-0x8a0);const _0x253bd8=_0x8f01();let _0x320172=_0x253bd8[_0x47611b];if(_0x987a['OUxnBT']===undefined){var _0x46f8ce=function(_0x46570b){const _0x4853af='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x147a08='',_0x15d2f2='';for(let _0x58a8e9=-0xa6b+-0x766*-0x4+0x1*-0x132d,_0x56b097,_0x122ec6,_0x4360ef=-0x5af+-0x21ed+0x279c;_0x122ec6=_0x46570b['charAt'](_0x4360ef++);~_0x122ec6&&(_0x56b097=_0x58a8e9%(-0xf97+-0x117c+0x2117)?_0x56b097*(0x114b+0x2212*0x1+0x1*-0x331d)+_0x122ec6:_0x122ec6,_0x58a8e9++%(-0x29c+-0x143d*-0x1+-0x119d))?_0x147a08+=String['fromCharCode'](-0x1b49+-0x136b+0x2fb3&_0x56b097>>(-(-0x1a4*-0x5+0x26db+-0xb*0x447)*_0x58a8e9&-0x186d+0xb*-0x16c+0x2817)):-0x2*0x9d+-0x1672+0x17ac){_0x122ec6=_0x4853af['indexOf'](_0x122ec6);}for(let _0x1365a9=-0x1a66+0x518+-0x3*-0x71a,_0x224f04=_0x147a08['length'];_0x1365a9<_0x224f04;_0x1365a9++){_0x15d2f2+='%'+('00'+_0x147a08['charCodeAt'](_0x1365a9)['toString'](-0x15ee+-0xf5f+0x255d))['slice'](-(0x1*0x1940+0xef+0x1a2d*-0x1));}return decodeURIComponent(_0x15d2f2);};_0x987a['AlfboX']=_0x46f8ce,_0x987a['ruDwLN']={},_0x987a['OUxnBT']=!![];}const _0x3e5b6d=_0x253bd8[-0x1683+-0x93*0x21+0x3d*0xae];_0x987a['GbUJOG']!==_0x3e5b6d&&(_0x987a['ruDwLN']={},_0x987a['GbUJOG']=_0x3e5b6d);const _0x21107e=_0x987a['ruDwLN'][_0x47611b];return _0x21107e===undefined?(_0x320172=_0x987a['AlfboX'](_0x320172),_0x987a['ruDwLN'][_0x47611b]=_0x320172):_0x320172=_0x21107e,_0x320172;}const WATCH_TTL_MS=0xb386+0x206b+-0x2429;export class WorkspaceWatchService{[_0x45759a(0x11a)];[_0x45759a(0x159)];[_0x45759a(0x128)];[_0x45759a(0x132)];constructor(_0x30a8fc,_0x1fdedb,_0x218e29,_0xd77121){const _0x798a00=_0x45759a;this[_0x798a00(0x11a)]=_0x30a8fc,this[_0x798a00(0x159)]=_0x1fdedb,this[_0x798a00(0x128)]=_0x218e29,this[_0x798a00(0x132)]=_0xd77121;}[_0x45759a(0x120)](_0xf77bed){const _0x307866=_0x45759a;if(!plain(_0xf77bed[_0x307866(0x153)]))throw new Error(_0x307866(0x14d));const _0x35e82d=_0xf77bed[_0x307866(0x153)][_0x307866(0x12a)]===!![],_0x1e8b0d=_0xf77bed[_0x307866(0x153)][_0x307866(0x14e)]===!![],_0x2a5923=_0xf77bed[_0x307866(0x153)][_0x307866(0x147)];let _0x348925;if(_0x2a5923!==undefined){if(!plain(_0x2a5923)||typeof _0x2a5923[_0x307866(0x13c)]!==_0x307866(0x139))throw new Error(_0x307866(0x14d));if(_0x2a5923[_0x307866(0x134)]!==undefined&&typeof _0x2a5923[_0x307866(0x134)]!==_0x307866(0x139)||_0x2a5923[_0x307866(0x126)]!==undefined&&(typeof _0x2a5923[_0x307866(0x126)]!==_0x307866(0x151)||!Number[_0x307866(0x138)](_0x2a5923[_0x307866(0x126)])||_0x2a5923[_0x307866(0x126)]<-0xbeb+-0x83d+0x1429||_0x2a5923[_0x307866(0x126)]>0x5bc*-0x1+-0x26f8+0x2d7c*0x1))throw new Error(_0x307866(0x14d));_0x348925={'path':normalizeViewPath(_0x2a5923[_0x307866(0x13c)]),...typeof _0x2a5923[_0x307866(0x134)]===_0x307866(0x139)?{'cursor':_0x2a5923[_0x307866(0x134)]}:{},...typeof _0x2a5923[_0x307866(0x126)]===_0x307866(0x151)?{'limit':_0x2a5923[_0x307866(0x126)]}:{}};}if(!_0x35e82d&&!_0x1e8b0d&&_0x348925===undefined)throw new Error(_0x307866(0x14d));return{'sessions':_0x35e82d,'changes':_0x1e8b0d,'files':_0x348925};}[_0x45759a(0x11b)](_0x2857de){const _0x117d40=_0x45759a;return this[_0x117d40(0x130)](_0x2857de)+':'+this[_0x117d40(0x11f)](_0x2857de);}[_0x45759a(0x130)](_0x14ebc2){const _0x3137a5=_0x45759a;return typeof _0x14ebc2[_0x3137a5(0x158)]===_0x3137a5(0x139)?_0x14ebc2[_0x3137a5(0x158)]:_0x3137a5(0x119);}[_0x45759a(0x11f)](_0x1cecfe){const _0xe2f7ec=_0x45759a;if(typeof _0x1cecfe[_0xe2f7ec(0x142)]!==_0xe2f7ec(0x139))throw new Error(_0xe2f7ec(0x14d));return _0x1cecfe[_0xe2f7ec(0x142)];}[_0x45759a(0x14c)](_0x3b35b7,_0x296ab9,_0x29b093,_0x4e8164,_0x30d3ff,_0x3efccc){const _0x5d3c77=_0x45759a,_0x32d233=_0x29b093+':'+_0x4e8164;for(const [_0x47b265,_0x1436c7]of this[_0x5d3c77(0x11a)][_0x5d3c77(0x12c)])if(_0x1436c7[_0x5d3c77(0x123)](_0x32d233))this[_0x5d3c77(0x13d)](_0x47b265,_0x32d233);const _0x184ab7={'workspaceId':_0x3b35b7,'watchId':_0x296ab9,'sessionHash':_0x29b093,'workbenchConnectionId':_0x4e8164,'nodeGeneration':_0x30d3ff,'expiresAt':Date[_0x5d3c77(0x129)]()+WATCH_TTL_MS,'topics':_0x3efccc,'timer':undefined};_0x184ab7[_0x5d3c77(0x145)]=this[_0x5d3c77(0x12b)](_0x3b35b7,_0x32d233);const _0x3ce495=this[_0x5d3c77(0x11a)][_0x5d3c77(0x12c)][_0x5d3c77(0x155)](_0x3b35b7)??new Map();_0x3ce495[_0x5d3c77(0x149)](_0x32d233,_0x184ab7),this[_0x5d3c77(0x11a)][_0x5d3c77(0x12c)][_0x5d3c77(0x149)](_0x3b35b7,_0x3ce495);if(_0x3efccc[_0x5d3c77(0x12a)])this[_0x5d3c77(0x159)](_0x3b35b7);return _0x184ab7;}[_0x45759a(0x140)](_0x189010,_0x2d53b4,_0x41f9e1){const _0x5b914c=_0x45759a,_0x113c40=this[_0x5b914c(0x11a)][_0x5b914c(0x12c)][_0x5b914c(0x155)](_0x189010)?.[_0x5b914c(0x155)](_0x2d53b4);if(_0x113c40===undefined||_0x113c40[_0x5b914c(0x150)]!==_0x41f9e1)return undefined;if(_0x113c40[_0x5b914c(0x116)]<=Date[_0x5b914c(0x129)]())return this[_0x5b914c(0x13d)](_0x189010,_0x2d53b4),undefined;return clearTimeout(_0x113c40[_0x5b914c(0x145)]),_0x113c40[_0x5b914c(0x116)]=Date[_0x5b914c(0x129)]()+WATCH_TTL_MS,_0x113c40[_0x5b914c(0x145)]=this[_0x5b914c(0x12b)](_0x189010,_0x2d53b4),_0x113c40;}[_0x45759a(0x135)](_0x4fba65,_0x4266ca,_0x47611b){const _0x4a2476=_0x45759a,_0x2b994e=this[_0x4a2476(0x11a)][_0x4a2476(0x12c)][_0x4a2476(0x155)](_0x4fba65)?.[_0x4a2476(0x155)](_0x4266ca);return _0x2b994e!==undefined&&_0x2b994e[_0x4a2476(0x150)]===_0x47611b&&_0x2b994e[_0x4a2476(0x116)]>Date[_0x4a2476(0x129)]();}[_0x45759a(0x13f)](_0x253bd8,_0x320172){const _0x46bbd4=_0x45759a,_0x46f8ce=this[_0x46bbd4(0x11a)][_0x46bbd4(0x12c)][_0x46bbd4(0x155)](_0x253bd8)?.[_0x46bbd4(0x155)](_0x320172);return _0x46f8ce!==undefined&&_0x46f8ce[_0x46bbd4(0x116)]>Date[_0x46bbd4(0x129)]()?_0x46f8ce:undefined;}[_0x45759a(0x13d)](_0x3e5b6d,_0x21107e){const _0x5c58fc=_0x45759a,_0x46570b=this[_0x5c58fc(0x11a)][_0x5c58fc(0x12c)][_0x5c58fc(0x155)](_0x3e5b6d),_0x4853af=_0x46570b?.[_0x5c58fc(0x155)](_0x21107e);if(_0x4853af===undefined)return;clearTimeout(_0x4853af[_0x5c58fc(0x145)]),_0x46570b?.[_0x5c58fc(0x136)](_0x21107e);_0x46570b?.[_0x5c58fc(0x152)]===0x2121+-0x5*-0x32+-0x221b*0x1&&(this[_0x5c58fc(0x11a)][_0x5c58fc(0x12c)][_0x5c58fc(0x136)](_0x3e5b6d),this[_0x5c58fc(0x154)](_0x3e5b6d),this[_0x5c58fc(0x132)](_0x3e5b6d));if(!this[_0x5c58fc(0x14f)](_0x3e5b6d,_0x5c58fc(0x12a)))this[_0x5c58fc(0x128)](_0x3e5b6d);}[_0x45759a(0x141)](_0x147a08){const _0x1df391=_0x45759a,_0x15d2f2=this[_0x1df391(0x11a)][_0x1df391(0x12c)][_0x1df391(0x155)](_0x147a08);if(_0x15d2f2!==undefined){for(const _0x58a8e9 of _0x15d2f2[_0x1df391(0x148)]())clearTimeout(_0x58a8e9[_0x1df391(0x145)]);}this[_0x1df391(0x11a)][_0x1df391(0x12c)][_0x1df391(0x136)](_0x147a08),this[_0x1df391(0x154)](_0x147a08),this[_0x1df391(0x128)](_0x147a08),this[_0x1df391(0x132)](_0x147a08);}[_0x45759a(0x11d)](){const _0x4cae2c=_0x45759a,_0x56b097=[...this[_0x4cae2c(0x11a)][_0x4cae2c(0x12c)][_0x4cae2c(0x121)]()];for(const _0x122ec6 of this[_0x4cae2c(0x11a)][_0x4cae2c(0x12c)][_0x4cae2c(0x148)]())for(const _0x4360ef of _0x122ec6[_0x4cae2c(0x148)]())clearTimeout(_0x4360ef[_0x4cae2c(0x145)]);this[_0x4cae2c(0x11a)][_0x4cae2c(0x12c)][_0x4cae2c(0x141)](),this[_0x4cae2c(0x11a)][_0x4cae2c(0x146)][_0x4cae2c(0x141)]();for(const _0x1365a9 of _0x56b097){this[_0x4cae2c(0x128)](_0x1365a9),this[_0x4cae2c(0x132)](_0x1365a9);}}[_0x45759a(0x14a)](_0x224f04){const _0x51d10c=_0x45759a,_0x4a6015=(this[_0x51d10c(0x11a)][_0x51d10c(0x146)][_0x51d10c(0x155)](_0x224f04)??-0x81e+-0x1b49+0x2367)+(0x6*-0x376+0x834+0xc91);return this[_0x51d10c(0x11a)][_0x51d10c(0x146)][_0x51d10c(0x149)](_0x224f04,_0x4a6015),_0x4a6015;}[_0x45759a(0x122)](){const _0x5df7ad=_0x45759a;return this[_0x5df7ad(0x11a)][_0x5df7ad(0x125)]+=0x1809+-0x88b+-0xf7d,this[_0x5df7ad(0x11a)][_0x5df7ad(0x125)];}[_0x45759a(0x14f)](_0x52864,_0x4d6d3f){const _0x546e33=_0x45759a;return[...this[_0x546e33(0x11a)][_0x546e33(0x12c)][_0x546e33(0x155)](_0x52864)?.[_0x546e33(0x148)]()??[]][_0x546e33(0x124)](_0x4e46f0=>_0x4d6d3f===_0x546e33(0x147)?_0x4e46f0[_0x546e33(0x153)][_0x546e33(0x147)]!==undefined:_0x4e46f0[_0x546e33(0x153)][_0x4d6d3f]);}[_0x45759a(0x143)](_0x48f39e){const _0x53a88b=_0x45759a;return[...this[_0x53a88b(0x11a)][_0x53a88b(0x12c)][_0x53a88b(0x155)](_0x48f39e)?.[_0x53a88b(0x148)]()??[]][_0x53a88b(0x12e)](_0x5c1c6e=>_0x5c1c6e[_0x53a88b(0x116)]>Date[_0x53a88b(0x129)]());}[_0x45759a(0x12b)](_0x65a42c,_0x58fb48){const _0x252f43=_0x45759a,_0x393eb3=setTimeout(()=>this[_0x252f43(0x13d)](_0x65a42c,_0x58fb48),WATCH_TTL_MS);return _0x393eb3[_0x252f43(0x14b)](),_0x393eb3;}[_0x45759a(0x154)](_0x1e41c0){const _0x5cd753=_0x45759a;for(const _0x5b3452 of[...this[_0x5cd753(0x11a)][_0x5cd753(0x146)][_0x5cd753(0x121)]()])if(_0x5b3452[_0x5cd753(0x11c)](_0x1e41c0+':'))this[_0x5cd753(0x11a)][_0x5cd753(0x146)][_0x5cd753(0x136)](_0x5b3452);}}function normalizeViewPath(_0x456262){const _0x5e7f83=_0x45759a,_0x20be32=posix[_0x5e7f83(0x117)](_0x456262[_0x5e7f83(0x13b)]('\x5c','/'));return _0x20be32[_0x5e7f83(0x156)]===0x2280+0x81b+-0x2a9b?'.':_0x20be32;}function plain(_0x5b170c){const _0x38d046=_0x45759a;return typeof _0x5b170c===_0x38d046(0x13e)&&_0x5b170c!==null&&!Array[_0x38d046(0x118)](_0x5b170c);}function _0x8f01(){const _0xf4e35d=['CMvWBgfJzufSBa','Cgf0Aa','CMvTB3zL','B2jQzwn0','zxHPC3rPBMC','CMvUzxC','y2XLyxi','D29YA2jLBMnOq29UBMvJDgLVBKLK','ywn0AxzLv2f0y2HLCW','nJm5ntiYqLvvAwHv','DgLTzxi','D2f0y2HszxzPC2LVBNm','zMLSzxm','DMfSDwvZ','C2v0','BMv4DfjLDMLZAw9U','Dw5Yzwy','y3jLyxrL','v09ss1nqqunfx1Dbvenix0LovKfmsuq','y2HHBMDLCW','Dg9WAwnby3rPDMu','D2f0y2Hjza','BNvTyMvY','C2L6zq','Dg9WAwnZ','y2XLyxjszxzPC2LVBNm','z2v0','BgvUz3rO','nJe3ohD4s0ndqq','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','B25tzxnZAw9Uv2f0y2Hszxf1AxjLza','mtC4ntCWtNnPAfD0','zxHWAxjLC0f0','BM9YBwfSAxPL','AxnbCNjHEq','Bg9JywWTDgvZDa','C3rHDgu','A2v5','C3rHCNrZv2L0Aa','y2XLyxjbBgW','mtuYCg5ZDejW','y29UBMvJDgLVBKLK','CgfYC2vuB3bPy3m','A2v5CW','BMv4DfnUyxbZAg90u2vXDwvUy2u','AgfZ','C29Tzq','D2f0y2HtBMfWC2HVDfnLCxvLBMnL','BgLTAxq','otu4ndfPCwjhA2K','B25tzxnZAw9Uv2f0y2HvBNvZzwq','BM93','C2vZC2LVBNm','zxHWAxj5vgLTzxi','D2f0y2HLCW','mtq3mJC1oezfz2nftG','zMLSDgvY','mZbishr2t3a','C2vZC2LVBKHHC2G','nhLQEufrtW','B25xB3jRC3bHy2vxyxrJAfvUDxnLza','mJuZuhr3Dujr','y3vYC29Y','Bwf0y2HLCW','zgvSzxrL','otqXnZK1weXTt2TS','AxnjBNrLz2vY','C3rYAw5N','ndm1nJe4vNfhB0ro'];_0x8f01=function(){return _0xf4e35d;};return _0x8f01();}
2
+ const _0x58656c=_0x4953;(function(_0x334080,_0x5cf304){const _0x161f4f=_0x4953,_0x38bc24=_0x334080();while(!![]){try{const _0xe3db40=-parseInt(_0x161f4f(0x157))/(-0x1808+-0x551+0x1d5a)+parseInt(_0x161f4f(0x13e))/(-0x14e0+-0x23a8+-0x2*-0x1c45)*(-parseInt(_0x161f4f(0x130))/(0x2576+0x4*0x7b+0x275f*-0x1))+parseInt(_0x161f4f(0x165))/(0x182b*-0x1+0x24ac+-0xc7d)*(parseInt(_0x161f4f(0x14e))/(0xd82+-0x1861*0x1+-0x1*-0xae4))+-parseInt(_0x161f4f(0x16c))/(-0x1f48+-0x1d*0xcf+-0x83*-0x6b)*(parseInt(_0x161f4f(0x14d))/(-0xcf1*-0x1+0x1f81+-0x1*0x2c6b))+-parseInt(_0x161f4f(0x145))/(-0xc8a+-0x2c2*0x2+0x1216)+parseInt(_0x161f4f(0x13c))/(-0x6d*0x56+0xe83*0x1+0x1624)+parseInt(_0x161f4f(0x154))/(0x1*-0x1011+0x5*0x692+-0x10bf);if(_0xe3db40===_0x5cf304)break;else _0x38bc24['push'](_0x38bc24['shift']());}catch(_0x2b662c){_0x38bc24['push'](_0x38bc24['shift']());}}}(_0x40d8,-0x7002f+0x128f*-0x13+0xdef2b));import{posix}from'node:path';const WATCH_TTL_MS=-0x119c6+-0x2011*0x1+-0x3667*-0x9;function _0x4953(_0x941032,_0x582d83){_0x941032=_0x941032-(0x8cb*-0x1+-0x7*-0x16c+0x0);const _0x25c373=_0x40d8();let _0x18b428=_0x25c373[_0x941032];if(_0x4953['zbjwyI']===undefined){var _0x3c4847=function(_0x41fa24){const _0x4b4c86='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xfdacb0='',_0x243b4b='';for(let _0x14089a=-0x562*0x6+-0xbe2+0x2c2e,_0x2f7047,_0x2b6083,_0x2cd252=-0xfa6*-0x2+-0x3*0x719+-0xa01;_0x2b6083=_0x41fa24['charAt'](_0x2cd252++);~_0x2b6083&&(_0x2f7047=_0x14089a%(0x8c8*-0x2+-0x1*-0x14f7+-0x363*0x1)?_0x2f7047*(-0x1675+-0x16a2*-0x1+0x13)+_0x2b6083:_0x2b6083,_0x14089a++%(-0x1*0x1cdb+0x218b+-0x17*0x34))?_0xfdacb0+=String['fromCharCode'](0x2*0x645+0x171f+-0x22aa&_0x2f7047>>(-(-0x175b+0x7*0x328+0x5*0x41)*_0x14089a&-0x1*0x1439+-0x1674+0x283*0x11)):-0x1a26+0x5*-0x3a6+0x3b3*0xc){_0x2b6083=_0x4b4c86['indexOf'](_0x2b6083);}for(let _0x50f8c8=0x2250+-0x535+-0x1d1b,_0x366e3b=_0xfdacb0['length'];_0x50f8c8<_0x366e3b;_0x50f8c8++){_0x243b4b+='%'+('00'+_0xfdacb0['charCodeAt'](_0x50f8c8)['toString'](-0x240a+0x77a+0xe5*0x20))['slice'](-(-0x16ab+-0x1177+0x1*0x2824));}return decodeURIComponent(_0x243b4b);};_0x4953['XRNUjl']=_0x3c4847,_0x4953['vBaKuD']={},_0x4953['zbjwyI']=!![];}const _0x55f993=_0x25c373[0x1342*-0x1+-0x19b3*0x1+-0x2a5*-0x11];_0x4953['DtihWj']!==_0x55f993&&(_0x4953['vBaKuD']={},_0x4953['DtihWj']=_0x55f993);const _0x1c88fb=_0x4953['vBaKuD'][_0x941032];return _0x1c88fb===undefined?(_0x18b428=_0x4953['XRNUjl'](_0x18b428),_0x4953['vBaKuD'][_0x941032]=_0x18b428):_0x18b428=_0x1c88fb,_0x18b428;}export class WorkspaceWatchService{[_0x58656c(0x14a)];[_0x58656c(0x136)];[_0x58656c(0x12c)];[_0x58656c(0x133)];constructor(_0xfc5c2d,_0x196c51,_0xd419fb,_0x5b969d){const _0x1f610f=_0x58656c;this[_0x1f610f(0x14a)]=_0xfc5c2d,this[_0x1f610f(0x136)]=_0x196c51,this[_0x1f610f(0x12c)]=_0xd419fb,this[_0x1f610f(0x133)]=_0x5b969d;}[_0x58656c(0x132)](_0x3d77f2){const _0x2b9440=_0x58656c;if(!plain(_0x3d77f2[_0x2b9440(0x151)]))throw new Error(_0x2b9440(0x14b));const _0x4c2760=_0x3d77f2[_0x2b9440(0x151)][_0x2b9440(0x134)]===!![],_0x49e0fc=_0x3d77f2[_0x2b9440(0x151)][_0x2b9440(0x15d)]===!![],_0x599103=_0x3d77f2[_0x2b9440(0x151)][_0x2b9440(0x164)];let _0x2954f7;if(_0x599103!==undefined){if(!plain(_0x599103)||typeof _0x599103[_0x2b9440(0x12b)]!==_0x2b9440(0x163))throw new Error(_0x2b9440(0x14b));if(_0x599103[_0x2b9440(0x168)]!==undefined&&typeof _0x599103[_0x2b9440(0x168)]!==_0x2b9440(0x163)||_0x599103[_0x2b9440(0x150)]!==undefined&&(typeof _0x599103[_0x2b9440(0x150)]!==_0x2b9440(0x148)||!Number[_0x2b9440(0x138)](_0x599103[_0x2b9440(0x150)])||_0x599103[_0x2b9440(0x150)]<0x1f88+-0x67a+0xb*-0x247||_0x599103[_0x2b9440(0x150)]>0x22ec+-0x77e*-0x1+-0x29a2))throw new Error(_0x2b9440(0x14b));_0x2954f7={'path':normalizeViewPath(_0x599103[_0x2b9440(0x12b)]),...typeof _0x599103[_0x2b9440(0x168)]===_0x2b9440(0x163)?{'cursor':_0x599103[_0x2b9440(0x168)]}:{},...typeof _0x599103[_0x2b9440(0x150)]===_0x2b9440(0x148)?{'limit':_0x599103[_0x2b9440(0x150)]}:{}};}if(!_0x4c2760&&!_0x49e0fc&&_0x2954f7===undefined)throw new Error(_0x2b9440(0x14b));return{'sessions':_0x4c2760,'changes':_0x49e0fc,'files':_0x2954f7};}[_0x58656c(0x147)](_0x227df7){const _0x251f8e=_0x58656c;return this[_0x251f8e(0x135)](_0x227df7)+':'+this[_0x251f8e(0x169)](_0x227df7);}[_0x58656c(0x135)](_0x2f26c8){const _0x1b5b6c=_0x58656c;return typeof _0x2f26c8[_0x1b5b6c(0x166)]===_0x1b5b6c(0x163)?_0x2f26c8[_0x1b5b6c(0x166)]:_0x1b5b6c(0x129);}[_0x58656c(0x169)](_0x113d28){const _0x174b38=_0x58656c;if(typeof _0x113d28[_0x174b38(0x13a)]!==_0x174b38(0x163))throw new Error(_0x174b38(0x14b));return _0x113d28[_0x174b38(0x13a)];}[_0x58656c(0x153)](_0x3b3302,_0x38d001,_0x2cea82,_0xaae653,_0x40a9c6,_0x4834a8){const _0x3c795d=_0x58656c,_0x1405c1=_0x2cea82+':'+_0xaae653;for(const [_0x172299,_0x4a9e49]of this[_0x3c795d(0x14a)][_0x3c795d(0x146)])if(_0x4a9e49[_0x3c795d(0x160)](_0x1405c1))this[_0x3c795d(0x14f)](_0x172299,_0x1405c1);const _0x1a5f63={'workspaceId':_0x3b3302,'watchId':_0x38d001,'sessionHash':_0x2cea82,'workbenchConnectionId':_0xaae653,'nodeGeneration':_0x40a9c6,'expiresAt':Date[_0x3c795d(0x15e)]()+WATCH_TTL_MS,'topics':_0x4834a8,'timer':undefined};_0x1a5f63[_0x3c795d(0x15f)]=this[_0x3c795d(0x158)](_0x3b3302,_0x1405c1);const _0x19dfb0=this[_0x3c795d(0x14a)][_0x3c795d(0x146)][_0x3c795d(0x13d)](_0x3b3302)??new Map();_0x19dfb0[_0x3c795d(0x167)](_0x1405c1,_0x1a5f63),this[_0x3c795d(0x14a)][_0x3c795d(0x146)][_0x3c795d(0x167)](_0x3b3302,_0x19dfb0);if(_0x4834a8[_0x3c795d(0x134)])this[_0x3c795d(0x136)](_0x3b3302);return _0x1a5f63;}[_0x58656c(0x16a)](_0x323803,_0x182ec7,_0x10520f){const _0x1b3dac=_0x58656c,_0x40196d=this[_0x1b3dac(0x14a)][_0x1b3dac(0x146)][_0x1b3dac(0x13d)](_0x323803)?.[_0x1b3dac(0x13d)](_0x182ec7);if(_0x40196d===undefined||_0x40196d[_0x1b3dac(0x16d)]!==_0x10520f)return undefined;if(_0x40196d[_0x1b3dac(0x152)]<=Date[_0x1b3dac(0x15e)]())return this[_0x1b3dac(0x14f)](_0x323803,_0x182ec7),undefined;return clearTimeout(_0x40196d[_0x1b3dac(0x15f)]),_0x40196d[_0x1b3dac(0x152)]=Date[_0x1b3dac(0x15e)]()+WATCH_TTL_MS,_0x40196d[_0x1b3dac(0x15f)]=this[_0x1b3dac(0x158)](_0x323803,_0x182ec7),_0x40196d;}[_0x58656c(0x156)](_0x5c9757,_0x3b9215,_0x1f00c){const _0x4f666c=_0x58656c,_0x4a0b2d=this[_0x4f666c(0x14a)][_0x4f666c(0x146)][_0x4f666c(0x13d)](_0x5c9757)?.[_0x4f666c(0x13d)](_0x3b9215);return _0x4a0b2d!==undefined&&_0x4a0b2d[_0x4f666c(0x16d)]===_0x1f00c&&_0x4a0b2d[_0x4f666c(0x152)]>Date[_0x4f666c(0x15e)]();}[_0x58656c(0x131)](_0x10edc5,_0x941032){const _0x1cbf36=_0x58656c,_0x582d83=this[_0x1cbf36(0x14a)][_0x1cbf36(0x146)][_0x1cbf36(0x13d)](_0x10edc5)?.[_0x1cbf36(0x13d)](_0x941032);return _0x582d83!==undefined&&_0x582d83[_0x1cbf36(0x152)]>Date[_0x1cbf36(0x15e)]()?_0x582d83:undefined;}[_0x58656c(0x14f)](_0x25c373,_0x18b428){const _0x2dee69=_0x58656c,_0x3c4847=this[_0x2dee69(0x14a)][_0x2dee69(0x146)][_0x2dee69(0x13d)](_0x25c373),_0x55f993=_0x3c4847?.[_0x2dee69(0x13d)](_0x18b428);if(_0x55f993===undefined)return;clearTimeout(_0x55f993[_0x2dee69(0x15f)]),_0x3c4847?.[_0x2dee69(0x15a)](_0x18b428);_0x3c4847?.[_0x2dee69(0x155)]===-0x16a2*-0x1+-0x1789+0xe7&&(this[_0x2dee69(0x14a)][_0x2dee69(0x146)][_0x2dee69(0x15a)](_0x25c373),this[_0x2dee69(0x144)](_0x25c373),this[_0x2dee69(0x133)](_0x25c373));if(!this[_0x2dee69(0x139)](_0x25c373,_0x2dee69(0x134)))this[_0x2dee69(0x12c)](_0x25c373);}[_0x58656c(0x12e)](_0x1c88fb){const _0x22b454=_0x58656c,_0x41fa24=this[_0x22b454(0x14a)][_0x22b454(0x146)][_0x22b454(0x13d)](_0x1c88fb);if(_0x41fa24!==undefined){for(const _0x4b4c86 of _0x41fa24[_0x22b454(0x162)]())clearTimeout(_0x4b4c86[_0x22b454(0x15f)]);}this[_0x22b454(0x14a)][_0x22b454(0x146)][_0x22b454(0x15a)](_0x1c88fb),this[_0x22b454(0x144)](_0x1c88fb),this[_0x22b454(0x12c)](_0x1c88fb),this[_0x22b454(0x133)](_0x1c88fb);}[_0x58656c(0x12f)](){const _0x22df2f=_0x58656c,_0xfdacb0=[...this[_0x22df2f(0x14a)][_0x22df2f(0x146)][_0x22df2f(0x12a)]()];for(const _0x243b4b of this[_0x22df2f(0x14a)][_0x22df2f(0x146)][_0x22df2f(0x162)]())for(const _0x14089a of _0x243b4b[_0x22df2f(0x162)]())clearTimeout(_0x14089a[_0x22df2f(0x15f)]);this[_0x22df2f(0x14a)][_0x22df2f(0x146)][_0x22df2f(0x12e)](),this[_0x22df2f(0x14a)][_0x22df2f(0x15c)][_0x22df2f(0x12e)]();for(const _0x2f7047 of _0xfdacb0){this[_0x22df2f(0x12c)](_0x2f7047),this[_0x22df2f(0x133)](_0x2f7047);}}[_0x58656c(0x140)](_0x2b6083){const _0x300496=_0x58656c,_0x2cd252=(this[_0x300496(0x14a)][_0x300496(0x15c)][_0x300496(0x13d)](_0x2b6083)??0x218b+0x3e6+-0x2d*0xd5)+(0x2*0x645+0x171f+-0x23a8);return this[_0x300496(0x14a)][_0x300496(0x15c)][_0x300496(0x167)](_0x2b6083,_0x2cd252),_0x2cd252;}[_0x58656c(0x12d)](){const _0x4077b1=_0x58656c;return this[_0x4077b1(0x14a)][_0x4077b1(0x13b)]+=-0x175b+0x7*0x328+0x3*0x6c,this[_0x4077b1(0x14a)][_0x4077b1(0x13b)];}[_0x58656c(0x139)](_0x50f8c8,_0x366e3b){const _0x36bdbb=_0x58656c;return[...this[_0x36bdbb(0x14a)][_0x36bdbb(0x146)][_0x36bdbb(0x13d)](_0x50f8c8)?.[_0x36bdbb(0x162)]()??[]][_0x36bdbb(0x14c)](_0x55a076=>_0x366e3b===_0x36bdbb(0x164)?_0x55a076[_0x36bdbb(0x151)][_0x36bdbb(0x164)]!==undefined:_0x55a076[_0x36bdbb(0x151)][_0x366e3b]);}[_0x58656c(0x15b)](_0x36edcf){const _0x412623=_0x58656c;return[...this[_0x412623(0x14a)][_0x412623(0x146)][_0x412623(0x13d)](_0x36edcf)?.[_0x412623(0x162)]()??[]][_0x412623(0x13f)](_0x137f91=>_0x137f91[_0x412623(0x152)]>Date[_0x412623(0x15e)]());}[_0x58656c(0x16b)](_0x1c7835){const _0x42e841=_0x58656c;return[...this[_0x42e841(0x14a)][_0x42e841(0x146)][_0x42e841(0x12a)]()][_0x42e841(0x13f)](_0x46dff0=>this[_0x42e841(0x139)](_0x46dff0,_0x1c7835));}[_0x58656c(0x158)](_0x388eeb,_0xf825cb){const _0x349956=_0x58656c,_0x1d808b=setTimeout(()=>this[_0x349956(0x14f)](_0x388eeb,_0xf825cb),WATCH_TTL_MS);return _0x1d808b[_0x349956(0x143)](),_0x1d808b;}[_0x58656c(0x144)](_0x765dee){const _0x1419cf=_0x58656c;for(const _0x5a7749 of[...this[_0x1419cf(0x14a)][_0x1419cf(0x15c)][_0x1419cf(0x12a)]()])if(_0x5a7749[_0x1419cf(0x149)](_0x765dee+':'))this[_0x1419cf(0x14a)][_0x1419cf(0x15c)][_0x1419cf(0x15a)](_0x5a7749);}}function _0x40d8(){const _0x3c6268=['zxHWAxj5vgLTzxi','CMvWBgfJzufSBa','zgvSzxrL','ywn0AxzLv2f0y2HLCW','D2f0y2HszxzPC2LVBNm','y2HHBMDLCW','BM93','DgLTzxi','AgfZ','BgvUz3rO','DMfSDwvZ','C3rYAw5N','zMLSzxm','nerrwvPrDG','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','C2v0','y3vYC29Y','y29UBMvJDgLVBKLK','CMvUzxC','ywn0AxzLv29YA3nWywnLswrZ','mti2wgnLwgHS','D2f0y2Hjza','Bg9JywWTDgvZDa','A2v5CW','Cgf0Aa','B25tzxnZAw9Uv2f0y2HvBNvZzwq','BMv4DfnUyxbZAg90u2vXDwvUy2u','y2XLyxi','y2XLyxjbBgW','mta5ndi5oe1frwzNBW','zxHPC3rPBMC','CgfYC2vuB3bPy3m','B25xB3jRC3bHy2vxyxrJAfvUDxnLza','C2vZC2LVBNm','C2vZC2LVBKHHC2G','B25tzxnZAw9Uv2f0y2Hszxf1AxjLza','BM9YBwfSAxPL','AxnjBNrLz2vY','Dg9WAwnby3rPDMu','D29YA2jLBMnOq29UBMvJDgLVBKLK','D2f0y2HtBMfWC2HVDfnLCxvLBMnL','ndy0nte2mwziCNrkrW','z2v0','mNDpAM12qW','zMLSDgvY','BMv4DfjLDMLZAw9U','AxnbCNjHEq','B2jQzwn0','Dw5Yzwy','y2XLyxjszxzPC2LVBNm','mZK5nJq0oe5Zt0LIyq','D2f0y2HLCW','A2v5','BNvTyMvY','C3rHCNrZv2L0Aa','C3rHDgu','v09ss1nqqunfx1Dbvenix0LovKfmsuq','C29Tzq','ndi0ntvmvgX1Cvq','mJy4mZu4nxP0wuvTyW','CMvTB3zL','BgLTAxq','Dg9WAwnZ','zxHWAxjLC0f0','y3jLyxrL','ndi4mdeZmevwD0DpEG','C2L6zq','Bwf0y2HLCW','mti1mdq1B3Lyr0LU'];_0x40d8=function(){return _0x3c6268;};return _0x40d8();}function normalizeViewPath(_0x354168){const _0x1f32b1=_0x58656c,_0x8c1e16=posix[_0x1f32b1(0x137)](_0x354168[_0x1f32b1(0x159)]('\x5c','/'));return _0x8c1e16[_0x1f32b1(0x161)]===-0x1*0x1439+-0x1674+0x1b5*0x19?'.':_0x8c1e16;}function plain(_0x5ef646){const _0xd1b1fd=_0x58656c;return typeof _0x5ef646===_0xd1b1fd(0x142)&&_0x5ef646!==null&&!Array[_0xd1b1fd(0x141)](_0x5ef646);}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x7978d2=_0x2876;function _0x2876(_0x2947cf,_0x7442ef){_0x2947cf=_0x2947cf-(-0x2*0x842+-0x99a+0x1bba);const _0x358005=_0x4707();let _0x2ab19a=_0x358005[_0x2947cf];if(_0x2876['AIFTlj']===undefined){var _0x3da548=function(_0x38b6bf){const _0x490ce5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c2686='',_0x2ef050='';for(let _0x991ac9=0x5c6+-0x2c*0xd6+0x1f02,_0x29936d,_0x51e68b,_0x5b3591=-0x1197+-0x24f7+0x368e;_0x51e68b=_0x38b6bf['charAt'](_0x5b3591++);~_0x51e68b&&(_0x29936d=_0x991ac9%(-0x2*0xb69+0x1112*0x2+-0xb4e)?_0x29936d*(-0x1407*0x1+-0x671+0x168*0x13)+_0x51e68b:_0x51e68b,_0x991ac9++%(-0x31*0x79+0x2*-0x2b3+0x1c93))?_0x4c2686+=String['fromCharCode'](0xe20+-0x131+0x17e*-0x8&_0x29936d>>(-(-0x2421+-0x1fbf+0x43e2)*_0x991ac9&-0x11d5*-0x2+0x2520+-0x48c4)):0x6af*0x1+-0x82b+0x13*0x14){_0x51e68b=_0x490ce5['indexOf'](_0x51e68b);}for(let _0x510ab0=0xcd+0x1f2b+-0x1ff8,_0xcf1b4c=_0x4c2686['length'];_0x510ab0<_0xcf1b4c;_0x510ab0++){_0x2ef050+='%'+('00'+_0x4c2686['charCodeAt'](_0x510ab0)['toString'](-0x1797+-0x983+0x212a))['slice'](-(0xd*-0x199+-0x1*-0xfa9+0x51e));}return decodeURIComponent(_0x2ef050);};_0x2876['SoTQZD']=_0x3da548,_0x2876['GEFNmZ']={},_0x2876['AIFTlj']=!![];}const _0x5cd7f9=_0x358005[0x1fc*0x10+0x479+-0x2439*0x1];_0x2876['ZRUDYL']!==_0x5cd7f9&&(_0x2876['GEFNmZ']={},_0x2876['ZRUDYL']=_0x5cd7f9);const _0x2cb286=_0x2876['GEFNmZ'][_0x2947cf];return _0x2cb286===undefined?(_0x2ab19a=_0x2876['SoTQZD'](_0x2ab19a),_0x2876['GEFNmZ'][_0x2947cf]=_0x2ab19a):_0x2ab19a=_0x2cb286,_0x2ab19a;}(function(_0x1be28a,_0x19a759){const _0xa9f7c3=_0x2876,_0x399812=_0x1be28a();while(!![]){try{const _0x7a8872=-parseInt(_0xa9f7c3(0x1b5))/(0x1f89+-0x40f+-0x1b79)*(-parseInt(_0xa9f7c3(0x1e6))/(-0x1*-0x1c61+-0x1120+-0xb3f))+-parseInt(_0xa9f7c3(0x19c))/(-0x28*0x38+0x6*0x3b8+0xd8d*-0x1)+-parseInt(_0xa9f7c3(0x1bd))/(0xfa6*-0x1+-0x1836+0x3a*0xb0)+-parseInt(_0xa9f7c3(0x1dd))/(0x1bee+-0x10d7+-0xb12)*(-parseInt(_0xa9f7c3(0x1bb))/(-0x15*-0x1d0+-0x2d7*-0x3+-0x2e8f))+-parseInt(_0xa9f7c3(0x1ca))/(-0x5*0x59c+-0x1ba2+0xd*0x449)*(-parseInt(_0xa9f7c3(0x1ce))/(-0xa11+-0x1f00+-0x7*-0x5df))+-parseInt(_0xa9f7c3(0x1e1))/(-0x758+0x10a7+0x4a3*-0x2)*(parseInt(_0xa9f7c3(0x1a9))/(-0x2*0x917+0x13ab+-0x173))+parseInt(_0xa9f7c3(0x1aa))/(0xe48+0x14a1*-0x1+0x2*0x332)*(parseInt(_0xa9f7c3(0x1d9))/(0xb*-0x2b1+-0x1d0+0x1f77));if(_0x7a8872===_0x19a759)break;else _0x399812['push'](_0x399812['shift']());}catch(_0x4e14ab){_0x399812['push'](_0x399812['shift']());}}}(_0x4707,-0x1122d6+0xb7d53+0xf0ef5));export class WorkspaceWatchSnapshotService{[_0x7978d2(0x1b4)];[_0x7978d2(0x1c8)]=new Map();[_0x7978d2(0x1be)]=new Set();[_0x7978d2(0x19d)]=new Map();[_0x7978d2(0x19f)]=new Map();constructor(_0x40edb4){const _0x53defc=_0x7978d2;this[_0x53defc(0x1b4)]=_0x40edb4;}async[_0x7978d2(0x1ad)](_0x2e3c1c,_0x206287){const _0x4c0178=_0x7978d2;if(_0x206287[_0x4c0178(0x1b0)][_0x4c0178(0x1bc)]!==undefined||_0x206287[_0x4c0178(0x1b0)][_0x4c0178(0x1e0)])void this[_0x4c0178(0x1b4)][_0x4c0178(0x1bc)][_0x4c0178(0x1e8)](_0x2e3c1c)[_0x4c0178(0x1d1)]()[_0x4c0178(0x1d7)](()=>undefined);await Promise[_0x4c0178(0x1da)](this[_0x4c0178(0x1b3)](_0x206287)[_0x4c0178(0x1c3)](async _0x248b8d=>{const _0x46a64a=_0x4c0178;try{const _0x4017c1=await this[_0x46a64a(0x1c6)](_0x2e3c1c,_0x248b8d,_0x206287);if(!this[_0x46a64a(0x1e3)](_0x2e3c1c['id'],_0x206287))return;this[_0x46a64a(0x19f)][_0x46a64a(0x1b9)](this[_0x46a64a(0x1a0)](_0x2e3c1c['id'],_0x248b8d,_0x206287),signature(_0x4017c1)),this[_0x46a64a(0x1ac)](_0x2e3c1c,_0x206287,_0x248b8d,_0x4017c1);}catch{this[_0x46a64a(0x1d5)](_0x2e3c1c['id'],_0x206287,_0x248b8d);}}));}async[_0x7978d2(0x1c7)](_0x4f3d1f,_0x397a8a){const _0x459b6b=_0x7978d2,_0x8f0ddb=_0x4f3d1f+':'+_0x397a8a,_0x2077b2=this[_0x459b6b(0x1c8)][_0x459b6b(0x1b7)](_0x8f0ddb);if(_0x2077b2!==undefined)return this[_0x459b6b(0x1be)][_0x459b6b(0x1d3)](_0x8f0ddb),_0x2077b2;if(this[_0x459b6b(0x1a4)](_0x4f3d1f,_0x397a8a))this[_0x459b6b(0x1be)][_0x459b6b(0x1d3)](_0x8f0ddb);const _0x1d84d6=this[_0x459b6b(0x1d4)](_0x4f3d1f,_0x397a8a)[_0x459b6b(0x1d7)](()=>{const _0x218052=_0x459b6b;for(const _0xc4a5ac of this[_0x218052(0x1dc)](_0x4f3d1f,_0x397a8a))this[_0x218052(0x1d5)](_0x4f3d1f,_0xc4a5ac,_0x397a8a);});this[_0x459b6b(0x1c8)][_0x459b6b(0x1b9)](_0x8f0ddb,_0x1d84d6);try{await _0x1d84d6;}finally{if(this[_0x459b6b(0x1c8)][_0x459b6b(0x1b7)](_0x8f0ddb)===_0x1d84d6)this[_0x459b6b(0x1c8)][_0x459b6b(0x1af)](_0x8f0ddb);if(this[_0x459b6b(0x1be)][_0x459b6b(0x1af)](_0x8f0ddb))void this[_0x459b6b(0x1c7)](_0x4f3d1f,_0x397a8a);}}[_0x7978d2(0x1ba)](_0x5b3765,_0x5cffde){const _0xe07435=_0x7978d2;return this[_0xe07435(0x1c8)][_0xe07435(0x1b7)](_0x5b3765+':'+_0x5cffde)??this[_0xe07435(0x1c7)](_0x5b3765,_0x5cffde);}[_0x7978d2(0x1b8)](_0x361ae0){const _0x1f3c0d=_0x7978d2;for(const _0x4d45cd of[...this[_0x1f3c0d(0x1be)]])if(_0x4d45cd[_0x1f3c0d(0x1cd)](_0x361ae0+':'))this[_0x1f3c0d(0x1be)][_0x1f3c0d(0x1af)](_0x4d45cd);for(const _0xaf7c7 of[...this[_0x1f3c0d(0x19f)][_0x1f3c0d(0x1c2)]()])if(_0xaf7c7[_0x1f3c0d(0x1cd)](_0x361ae0+':'))this[_0x1f3c0d(0x19f)][_0x1f3c0d(0x1af)](_0xaf7c7);}[_0x7978d2(0x1b6)](){const _0x2d2797=_0x7978d2;this[_0x2d2797(0x1be)][_0x2d2797(0x1b8)](),this[_0x2d2797(0x19f)][_0x2d2797(0x1b8)]();}async[_0x7978d2(0x1d4)](_0x25bccf,_0x37d82c){const _0x3b7bb9=_0x7978d2,_0x25b8b9=this[_0x3b7bb9(0x1b4)][_0x3b7bb9(0x1c9)](_0x25bccf),_0x313f46=this[_0x3b7bb9(0x1dc)](_0x25bccf,_0x37d82c);if(_0x313f46[_0x3b7bb9(0x1db)]===-0xf5c+-0x2699+0x35f5)return;if(_0x37d82c!==_0x3b7bb9(0x1bc)){const _0x277ea0=_0x313f46[-0xbc4+0x21a*-0xb+0x22e2];if(_0x277ea0===undefined)return;const _0x48da05=await this[_0x3b7bb9(0x1c6)](_0x25b8b9,_0x37d82c,_0x277ea0),_0x46e1fb=_0x313f46[_0x3b7bb9(0x1b2)](_0x30aa45=>this[_0x3b7bb9(0x1e3)](_0x25bccf,_0x30aa45));if(_0x46e1fb[_0x3b7bb9(0x1db)]===0x211b+0x2512+-0x462d)return;if(!this[_0x3b7bb9(0x1c0)](this[_0x3b7bb9(0x1a0)](_0x25bccf,_0x37d82c,_0x277ea0),_0x48da05))return;for(const _0x55baf3 of _0x46e1fb)this[_0x3b7bb9(0x1ac)](_0x25b8b9,_0x55baf3,_0x37d82c,_0x48da05);return;}const _0x5e8fc3=new Map();for(const _0x24ce6a of _0x313f46){const _0x2f2352=JSON[_0x3b7bb9(0x1d0)](_0x24ce6a[_0x3b7bb9(0x1b0)][_0x3b7bb9(0x1bc)]);_0x5e8fc3[_0x3b7bb9(0x1b9)](_0x2f2352,[..._0x5e8fc3[_0x3b7bb9(0x1b7)](_0x2f2352)??[],_0x24ce6a]);}await Promise[_0x3b7bb9(0x1da)]([..._0x5e8fc3[_0x3b7bb9(0x1a3)]()][_0x3b7bb9(0x1c3)](async _0xa17395=>{const _0x38b4c0=_0x3b7bb9,_0x12e577=_0xa17395[0xf7+0x2a7*-0xd+0x2184];if(_0x12e577===undefined)return;try{const _0x2413b5=await this[_0x38b4c0(0x1c6)](_0x25b8b9,_0x37d82c,_0x12e577),_0x11461c=_0xa17395[_0x38b4c0(0x1b2)](_0x22c1b5=>this[_0x38b4c0(0x1e3)](_0x25bccf,_0x22c1b5));if(_0x11461c[_0x38b4c0(0x1db)]===-0x566+0x5*0x435+-0xfa3)return;if(!this[_0x38b4c0(0x1c0)](this[_0x38b4c0(0x1a0)](_0x25bccf,_0x37d82c,_0x12e577),_0x2413b5))return;for(const _0xde55d2 of _0x11461c)this[_0x38b4c0(0x1ac)](_0x25b8b9,_0xde55d2,_0x37d82c,_0x2413b5);}catch{for(const _0x16569a of _0xa17395)this[_0x38b4c0(0x1d5)](_0x25bccf,_0x16569a,_0x37d82c);}}));}[_0x7978d2(0x1c6)](_0x42cd05,_0x4dd946,_0x435b8c){const _0x4baa59=_0x7978d2,_0x558fec=_0x4dd946===_0x4baa59(0x1bc)?_0x42cd05['id']+_0x4baa59(0x1c4)+JSON[_0x4baa59(0x1d0)](_0x435b8c[_0x4baa59(0x1b0)][_0x4baa59(0x1bc)]):_0x42cd05['id']+':'+_0x4dd946,_0x2b27da=this[_0x4baa59(0x19d)][_0x4baa59(0x1b7)](_0x558fec);if(_0x2b27da!==undefined)return _0x2b27da;const _0x1ec5d8=(_0x4dd946===_0x4baa59(0x1c5)?this[_0x4baa59(0x1b4)][_0x4baa59(0x1ab)](_0x42cd05['id']):_0x4dd946===_0x4baa59(0x1e0)?_0x42cd05[_0x4baa59(0x1df)]===_0x4baa59(0x1a2)?this[_0x4baa59(0x1b4)][_0x4baa59(0x1e0)][_0x4baa59(0x1a1)](_0x42cd05):Promise[_0x4baa59(0x1e2)](null):this[_0x4baa59(0x1b4)][_0x4baa59(0x1bc)][_0x4baa59(0x1e9)](_0x42cd05,_0x435b8c[_0x4baa59(0x1b0)][_0x4baa59(0x1bc)])[_0x4baa59(0x1e4)](_0x5670bd=>({'files':_0x5670bd})))[_0x4baa59(0x19e)](()=>{const _0x17d6d3=_0x4baa59;if(this[_0x17d6d3(0x19d)][_0x17d6d3(0x1b7)](_0x558fec)===_0x1ec5d8)this[_0x17d6d3(0x19d)][_0x17d6d3(0x1af)](_0x558fec);});return this[_0x4baa59(0x19d)][_0x4baa59(0x1b9)](_0x558fec,_0x1ec5d8),_0x1ec5d8;}[_0x7978d2(0x1c0)](_0x352605,_0x39cf96){const _0x3e7c13=_0x7978d2,_0x504863=signature(_0x39cf96);if(this[_0x3e7c13(0x19f)][_0x3e7c13(0x1b7)](_0x352605)===_0x504863)return![];return this[_0x3e7c13(0x19f)][_0x3e7c13(0x1b9)](_0x352605,_0x504863),!![];}[_0x7978d2(0x1a0)](_0x12c0a7,_0x4c84e0,_0x1f9a7f){const _0x573a71=_0x7978d2;return _0x4c84e0===_0x573a71(0x1bc)?_0x12c0a7+_0x573a71(0x1c4)+JSON[_0x573a71(0x1d0)](_0x1f9a7f[_0x573a71(0x1b0)][_0x573a71(0x1bc)]):_0x12c0a7+':'+_0x4c84e0;}[_0x7978d2(0x1a4)](_0x2947cf,_0x7442ef){const _0x332b32=_0x7978d2,_0x358005=_0x2947cf+':'+_0x7442ef;return[...this[_0x332b32(0x19d)][_0x332b32(0x1c2)]()][_0x332b32(0x1d6)](_0x2ab19a=>_0x2ab19a===_0x358005||_0x2ab19a[_0x332b32(0x1cd)](_0x358005+':'));}[_0x7978d2(0x1dc)](_0x3da548,_0x5cd7f9){const _0x561b10=_0x7978d2;return this[_0x561b10(0x1b4)][_0x561b10(0x1b1)][_0x561b10(0x1cf)](_0x3da548)[_0x561b10(0x1b2)](_0x2cb286=>_0x5cd7f9===_0x561b10(0x1bc)?_0x2cb286[_0x561b10(0x1b0)][_0x561b10(0x1bc)]!==undefined:_0x2cb286[_0x561b10(0x1b0)][_0x5cd7f9]);}[_0x7978d2(0x1b3)](_0x38b6bf){const _0x47beb2=_0x7978d2;return[..._0x38b6bf[_0x47beb2(0x1b0)][_0x47beb2(0x1c5)]?[_0x47beb2(0x1c5)]:[],..._0x38b6bf[_0x47beb2(0x1b0)][_0x47beb2(0x1bc)]===undefined?[]:[_0x47beb2(0x1bc)],..._0x38b6bf[_0x47beb2(0x1b0)][_0x47beb2(0x1e0)]?[_0x47beb2(0x1e0)]:[]];}[_0x7978d2(0x1ac)](_0x490ce5,_0x4c2686,_0x2ef050,_0x991ac9){const _0x325461=_0x7978d2;if(!this[_0x325461(0x1e3)](_0x490ce5['id'],_0x4c2686))return;this[_0x325461(0x1b4)][_0x325461(0x1e7)]({'type':_0x325461(0x1a8),'workbenchConnectionId':_0x4c2686[_0x325461(0x1a5)],'watchId':_0x4c2686[_0x325461(0x1a6)],'nodeGeneration':_0x4c2686[_0x325461(0x1ae)],'nodeId':this[_0x325461(0x1b4)][_0x325461(0x1d8)](),'workspaceId':_0x490ce5['id'],'topic':_0x2ef050,'revision':this[_0x325461(0x1b4)][_0x325461(0x1b1)][_0x325461(0x1cc)](this[_0x325461(0x1a0)](_0x490ce5['id'],_0x2ef050,_0x4c2686)),'snapshotSequence':this[_0x325461(0x1b4)][_0x325461(0x1b1)][_0x325461(0x1e5)](),'expiresAt':_0x4c2686[_0x325461(0x1c1)],'payload':_0x991ac9});}[_0x7978d2(0x1d5)](_0x29936d,_0x51e68b,_0x5b3591){const _0x51f85e=_0x7978d2;if(!this[_0x51f85e(0x1e3)](_0x29936d,_0x51e68b))return;this[_0x51f85e(0x1b4)][_0x51f85e(0x1e7)]({'type':_0x51f85e(0x1de),'workbenchConnectionId':_0x51e68b[_0x51f85e(0x1a5)],'watchType':_0x51f85e(0x1bf),'watchId':_0x51e68b[_0x51f85e(0x1a6)],'nodeGeneration':_0x51e68b[_0x51f85e(0x1ae)],'nodeId':this[_0x51f85e(0x1b4)][_0x51f85e(0x1d8)](),'workspaceId':_0x29936d,'topic':_0x5b3591,'code':_0x51f85e(0x1a7),'message':_0x51f85e(0x1cb)});}[_0x7978d2(0x1e3)](_0x510ab0,_0xcf1b4c){const _0x37d8c6=_0x7978d2;return this[_0x37d8c6(0x1b4)][_0x37d8c6(0x1b1)][_0x37d8c6(0x1e3)](_0x510ab0,_0xcf1b4c[_0x37d8c6(0x1d2)]+':'+_0xcf1b4c[_0x37d8c6(0x1a5)],_0xcf1b4c[_0x37d8c6(0x1a6)]);}}function _0x4707(){const _0xd46393=['ywn0AxzLv2f0y2HLCW','C3rYAw5NAwz5','B2jZzxj2zq','C2vZC2LVBKHHC2G','ywrK','CMvMCMvZAa','zMfPBa','C29Tzq','y2f0y2G','BM9KzuLK','mtmXmtaYodHvEvLvvuq','ywXS','BgvUz3rO','C3vIC2nYAwjLCNm','mJvVy3rNBKK','D2f0y2GUzMfPBgvK','A2LUza','y2HHBMDLCW','oxH1zfnhrG','CMvZB2X2zq','Bwf0y2HLCW','DgHLBG','BMv4DfnUyxbZAg90u2vXDwvUy2u','mti0ndjorKHksu8','zw1PDfDHDgnOrxzLBNq','Aw5KzxG','BgLZDa','mJe3ndu3muPft1HxuW','CMvHzhm','zMLUywXSEq','C2LNBMf0DxjLCW','DMLLD0TLEq','y3vYCMvUDa','r0Lux1DpuKTtuefdrq','DMfSDwvZ','CMvHzefJDgL2zq','D29YA2jLBMnOq29UBMvJDgLVBKLK','D2f0y2Hjza','v09ss1nqqunfx1Dbvenix1noqvbtse9ux0zbsuXfra','D2f0y2GUD29YA3nWywnLlNnUyxbZAg90','nti3mdyZmeXvAxbyvW','mJjPsMvwvge','BgLZDfnLC3nPB25Z','zgvSAxzLCG','Aw5PDgLHBa','BM9KzuDLBMvYyxrPB24','zgvSzxrL','Dg9WAwnZ','D2f0y2G','zMLSDgvY','C3vIC2nYAwjLzfrVCgLJCW','B3b0Aw9UCW','mvDPELPUBW','y2XLyxjbBgW','z2v0','y2XLyxi','C2v0','zw5ZDxjLu25HChnOB3q','ndCWmdGYzuPXyLzY','zMLSzxm','nduXmtuYmer4Eg12wG','zgLYDhK','D29YA3nWywnL','y2HHBMDLza','zxHWAxjLC0f0','A2v5CW','BwfW','oMzPBgvZoG','C2vZC2LVBNm','CMvHza','Aw52ywXPzgf0zq','CMvMCMvZAgvZ','CMvXDwLYzvDVCMTZCgfJzq','mJG5nti5ohDoAhzhza','v29YA3nWywnLihDHDgnOihnUyxbZAg90igzHAwXLzc4','BMv4DfjLDMLZAw9U','C3rHCNrZv2L0Aa','ogvlBfb5Cq'];_0x4707=function(){return _0xd46393;};return _0x4707();}function signature(_0x54038d){const _0x4923cc=_0x7978d2;return JSON[_0x4923cc(0x1d0)](_0x54038d)??String(_0x54038d);}
2
+ const _0x10d2c6=_0x43f4;(function(_0x4e6e07,_0xcd4815){const _0x1c786c=_0x43f4,_0x5e8b76=_0x4e6e07();while(!![]){try{const _0x5da4a4=-parseInt(_0x1c786c(0x1a4))/(-0x17ac+0x2*-0xdc+-0x21*-0xc5)*(-parseInt(_0x1c786c(0x1a7))/(0x1e0b+0x5ec*0x4+0x1*-0x35b9))+-parseInt(_0x1c786c(0x1b4))/(0x168b+0x43f+-0x1ac7)+-parseInt(_0x1c786c(0x19e))/(-0x4d*-0x47+-0x18d5+-0x95*-0x6)+parseInt(_0x1c786c(0x1d7))/(-0x628*0x4+0x1*-0x1305+0x2baa)+-parseInt(_0x1c786c(0x1ae))/(0xae+-0x94f+0x1bb*0x5)+-parseInt(_0x1c786c(0x199))/(0xf4d*0x2+0x1*-0x17a7+-0x6ec)+parseInt(_0x1c786c(0x1a9))/(-0x1190+-0x1064+0xa*0x366);if(_0x5da4a4===_0xcd4815)break;else _0x5e8b76['push'](_0x5e8b76['shift']());}catch(_0x4912aa){_0x5e8b76['push'](_0x5e8b76['shift']());}}}(_0xbc37,0x27160+-0x1*0x5bf58+0x6553c));const FILES_REFRESH_INTERVAL_MS=0x326*-0x8+0xaada+-0x1*0x1c7a;export class WorkspaceWatchSnapshotService{[_0x10d2c6(0x196)];[_0x10d2c6(0x1c4)]=new Map();[_0x10d2c6(0x1c9)]=new Set();[_0x10d2c6(0x1b6)]=new Map();[_0x10d2c6(0x18e)]=new Map();[_0x10d2c6(0x1d8)];constructor(_0x487e28){const _0x54b47d=_0x10d2c6;this[_0x54b47d(0x196)]=_0x487e28;}async[_0x10d2c6(0x1b9)](_0x53aeaf,_0x574efd){const _0x28caad=_0x10d2c6;if(_0x574efd[_0x28caad(0x1b1)][_0x28caad(0x193)]!==undefined)this[_0x28caad(0x194)]();await Promise[_0x28caad(0x1d2)](this[_0x28caad(0x1be)](_0x574efd)[_0x28caad(0x1da)](async _0x3571ef=>{const _0x2df214=_0x28caad;try{const _0x35eea3=await this[_0x2df214(0x19b)](_0x53aeaf,_0x3571ef,_0x574efd);if(!this[_0x2df214(0x19f)](_0x53aeaf['id'],_0x574efd))return;this[_0x2df214(0x18e)][_0x2df214(0x1aa)](this[_0x2df214(0x1a2)](_0x53aeaf['id'],_0x3571ef,_0x574efd),signature(_0x35eea3)),this[_0x2df214(0x1ab)](_0x53aeaf,_0x574efd,_0x3571ef,_0x35eea3);}catch{this[_0x2df214(0x1a8)](_0x53aeaf['id'],_0x574efd,_0x3571ef);}}));}async[_0x10d2c6(0x195)](_0x4efa03,_0x744193){const _0xd5ba56=_0x10d2c6,_0x180098=_0x4efa03+':'+_0x744193,_0x5094f7=this[_0xd5ba56(0x1c4)][_0xd5ba56(0x1ca)](_0x180098);if(_0x5094f7!==undefined)return this[_0xd5ba56(0x1c9)][_0xd5ba56(0x1ce)](_0x180098),_0x5094f7;if(this[_0xd5ba56(0x1c6)](_0x4efa03,_0x744193))this[_0xd5ba56(0x1c9)][_0xd5ba56(0x1ce)](_0x180098);const _0x142e61=this[_0xd5ba56(0x197)](_0x4efa03,_0x744193)[_0xd5ba56(0x1a3)](()=>{const _0x12809a=_0xd5ba56;for(const _0x3db51a of this[_0x12809a(0x1d3)](_0x4efa03,_0x744193))this[_0x12809a(0x1a8)](_0x4efa03,_0x3db51a,_0x744193);});this[_0xd5ba56(0x1c4)][_0xd5ba56(0x1aa)](_0x180098,_0x142e61);try{await _0x142e61;}finally{if(this[_0xd5ba56(0x1c4)][_0xd5ba56(0x1ca)](_0x180098)===_0x142e61)this[_0xd5ba56(0x1c4)][_0xd5ba56(0x1a5)](_0x180098);if(this[_0xd5ba56(0x1c9)][_0xd5ba56(0x1a5)](_0x180098))void this[_0xd5ba56(0x195)](_0x4efa03,_0x744193);}}[_0x10d2c6(0x1c2)](_0x44952b,_0x5f423b){const _0x5530f3=_0x10d2c6;return this[_0x5530f3(0x1c4)][_0x5530f3(0x1ca)](_0x44952b+':'+_0x5f423b)??this[_0x5530f3(0x195)](_0x44952b,_0x5f423b);}[_0x10d2c6(0x1b0)](_0x316c77){const _0x51d4fc=_0x10d2c6;for(const _0x581c39 of[...this[_0x51d4fc(0x1c9)]])if(_0x581c39[_0x51d4fc(0x1cb)](_0x316c77+':'))this[_0x51d4fc(0x1c9)][_0x51d4fc(0x1a5)](_0x581c39);for(const _0x4ecb72 of[...this[_0x51d4fc(0x18e)][_0x51d4fc(0x1c0)]()])if(_0x4ecb72[_0x51d4fc(0x1cb)](_0x316c77+':'))this[_0x51d4fc(0x18e)][_0x51d4fc(0x1a5)](_0x4ecb72);}[_0x10d2c6(0x1c8)](){const _0x7f039b=_0x10d2c6;if(this[_0x7f039b(0x1d8)]!==undefined)clearInterval(this[_0x7f039b(0x1d8)]);this[_0x7f039b(0x1d8)]=undefined,this[_0x7f039b(0x1c9)][_0x7f039b(0x1b0)](),this[_0x7f039b(0x18e)][_0x7f039b(0x1b0)]();}[_0x10d2c6(0x194)](){const _0x217e2b=_0x10d2c6;if(this[_0x217e2b(0x1d8)]!==undefined)return;this[_0x217e2b(0x1d8)]=setInterval(()=>{const _0x19284d=_0x217e2b,_0x4d99a1=this[_0x19284d(0x196)][_0x19284d(0x1b8)][_0x19284d(0x1d4)](_0x19284d(0x193));if(_0x4d99a1[_0x19284d(0x1cf)]===0x2129*-0x1+0x385*-0xb+0x47e0){if(this[_0x19284d(0x1d8)]!==undefined)clearInterval(this[_0x19284d(0x1d8)]);this[_0x19284d(0x1d8)]=undefined;return;}for(const _0x41ffb9 of _0x4d99a1)void this[_0x19284d(0x195)](_0x41ffb9,_0x19284d(0x193));},this[_0x217e2b(0x196)][_0x217e2b(0x1c1)]??FILES_REFRESH_INTERVAL_MS),this[_0x217e2b(0x1d8)][_0x217e2b(0x1b2)]();}async[_0x10d2c6(0x197)](_0x4ad75a,_0x2a5509){const _0x10d75d=_0x10d2c6,_0x53f73f=this[_0x10d75d(0x196)][_0x10d75d(0x1d6)](_0x4ad75a),_0x2098e7=this[_0x10d75d(0x1d3)](_0x4ad75a,_0x2a5509);if(_0x2098e7[_0x10d75d(0x1cf)]===-0xc57*0x3+-0x6d*0x19+0x1*0x2faa)return;if(_0x2a5509!==_0x10d75d(0x193)){const _0x4b258f=_0x2098e7[0xe*-0x42+-0xe*0x3b+0x6d6];if(_0x4b258f===undefined)return;const _0x4b536a=await this[_0x10d75d(0x19b)](_0x53f73f,_0x2a5509,_0x4b258f),_0x167635=_0x2098e7[_0x10d75d(0x1bc)](_0x52b890=>this[_0x10d75d(0x19f)](_0x4ad75a,_0x52b890));if(_0x167635[_0x10d75d(0x1cf)]===0x2e3*-0x8+-0x1d88+0x34a0)return;if(!this[_0x10d75d(0x1cd)](this[_0x10d75d(0x1a2)](_0x4ad75a,_0x2a5509,_0x4b258f),_0x4b536a))return;for(const _0x25ddf1 of _0x167635)this[_0x10d75d(0x1ab)](_0x53f73f,_0x25ddf1,_0x2a5509,_0x4b536a);return;}const _0x4bb1f2=new Map();for(const _0x576d4e of _0x2098e7){const _0x361220=JSON[_0x10d75d(0x1ad)](_0x576d4e[_0x10d75d(0x1b1)][_0x10d75d(0x193)]);_0x4bb1f2[_0x10d75d(0x1aa)](_0x361220,[..._0x4bb1f2[_0x10d75d(0x1ca)](_0x361220)??[],_0x576d4e]);}await Promise[_0x10d75d(0x1d2)]([..._0x4bb1f2[_0x10d75d(0x1a0)]()][_0x10d75d(0x1da)](async _0x31a219=>{const _0x3fd376=_0x10d75d,_0x4f0c41=_0x31a219[-0xe11+-0xf47+-0x4*-0x756];if(_0x4f0c41===undefined)return;try{const _0xeda42e=await this[_0x3fd376(0x19b)](_0x53f73f,_0x2a5509,_0x4f0c41),_0x1e73f0=_0x31a219[_0x3fd376(0x1bc)](_0x3af728=>this[_0x3fd376(0x19f)](_0x4ad75a,_0x3af728));if(_0x1e73f0[_0x3fd376(0x1cf)]===0x347+0x229+-0x570)return;if(!this[_0x3fd376(0x1cd)](this[_0x3fd376(0x1a2)](_0x4ad75a,_0x2a5509,_0x4f0c41),_0xeda42e))return;for(const _0xb52a68 of _0x1e73f0)this[_0x3fd376(0x1ab)](_0x53f73f,_0xb52a68,_0x2a5509,_0xeda42e);}catch{for(const _0x2107da of _0x31a219)this[_0x3fd376(0x1a8)](_0x4ad75a,_0x2107da,_0x2a5509);}}));}[_0x10d2c6(0x19b)](_0x5ee3cd,_0x55a8b4,_0x2131d2){const _0x220f20=_0x10d2c6,_0xc84eb9=_0x55a8b4===_0x220f20(0x193)?_0x5ee3cd['id']+_0x220f20(0x1b7)+JSON[_0x220f20(0x1ad)](_0x2131d2[_0x220f20(0x1b1)][_0x220f20(0x193)]):_0x5ee3cd['id']+':'+_0x55a8b4,_0x8f9545=this[_0x220f20(0x1b6)][_0x220f20(0x1ca)](_0xc84eb9);if(_0x8f9545!==undefined)return _0x8f9545;const _0x583896=(_0x55a8b4===_0x220f20(0x1bb)?this[_0x220f20(0x196)][_0x220f20(0x19d)](_0x5ee3cd['id']):_0x55a8b4===_0x220f20(0x190)?_0x5ee3cd[_0x220f20(0x1c3)]===_0x220f20(0x1d1)?this[_0x220f20(0x196)][_0x220f20(0x190)][_0x220f20(0x1ac)](_0x5ee3cd):Promise[_0x220f20(0x191)](null):this[_0x220f20(0x196)][_0x220f20(0x193)][_0x220f20(0x1bf)](_0x5ee3cd,_0x2131d2[_0x220f20(0x1b1)][_0x220f20(0x193)])[_0x220f20(0x192)](_0x3c89cf=>({'files':_0x3c89cf})))[_0x220f20(0x1b5)](()=>{const _0x9d6c6=_0x220f20;if(this[_0x9d6c6(0x1b6)][_0x9d6c6(0x1ca)](_0xc84eb9)===_0x583896)this[_0x9d6c6(0x1b6)][_0x9d6c6(0x1a5)](_0xc84eb9);});return this[_0x220f20(0x1b6)][_0x220f20(0x1aa)](_0xc84eb9,_0x583896),_0x583896;}[_0x10d2c6(0x1cd)](_0x2255fc,_0x48294f){const _0x428c51=_0x10d2c6,_0x20d9ad=signature(_0x48294f);if(this[_0x428c51(0x18e)][_0x428c51(0x1ca)](_0x2255fc)===_0x20d9ad)return![];return this[_0x428c51(0x18e)][_0x428c51(0x1aa)](_0x2255fc,_0x20d9ad),!![];}[_0x10d2c6(0x1a2)](_0x28d63d,_0x5bbe8,_0x45f1ba){const _0x383c40=_0x10d2c6;return _0x5bbe8===_0x383c40(0x193)?_0x28d63d+_0x383c40(0x1b7)+JSON[_0x383c40(0x1ad)](_0x45f1ba[_0x383c40(0x1b1)][_0x383c40(0x193)]):_0x28d63d+':'+_0x5bbe8;}[_0x10d2c6(0x1c6)](_0x443b09,_0x4dfa8c){const _0x546fb0=_0x10d2c6,_0x3bc085=_0x443b09+':'+_0x4dfa8c;return[...this[_0x546fb0(0x1b6)][_0x546fb0(0x1c0)]()][_0x546fb0(0x1b3)](_0x56f094=>_0x56f094===_0x3bc085||_0x56f094[_0x546fb0(0x1cb)](_0x3bc085+':'));}[_0x10d2c6(0x1d3)](_0x5bfc53,_0xe222d8){const _0x4229b2=_0x10d2c6;return this[_0x4229b2(0x196)][_0x4229b2(0x1b8)][_0x4229b2(0x1d0)](_0x5bfc53)[_0x4229b2(0x1bc)](_0x3bbe18=>_0xe222d8===_0x4229b2(0x193)?_0x3bbe18[_0x4229b2(0x1b1)][_0x4229b2(0x193)]!==undefined:_0x3bbe18[_0x4229b2(0x1b1)][_0xe222d8]);}[_0x10d2c6(0x1be)](_0x131cc6){const _0x5d0638=_0x10d2c6;return[..._0x131cc6[_0x5d0638(0x1b1)][_0x5d0638(0x1bb)]?[_0x5d0638(0x1bb)]:[],..._0x131cc6[_0x5d0638(0x1b1)][_0x5d0638(0x193)]===undefined?[]:[_0x5d0638(0x193)],..._0x131cc6[_0x5d0638(0x1b1)][_0x5d0638(0x190)]?[_0x5d0638(0x190)]:[]];}[_0x10d2c6(0x1ab)](_0xb1879a,_0x477c3a,_0x27ec2e,_0x5b3099){const _0x621348=_0x10d2c6;if(!this[_0x621348(0x19f)](_0xb1879a['id'],_0x477c3a))return;this[_0x621348(0x196)][_0x621348(0x1cc)]({'type':_0x621348(0x19c),'workbenchConnectionId':_0x477c3a[_0x621348(0x1af)],'watchId':_0x477c3a[_0x621348(0x1a1)],'nodeGeneration':_0x477c3a[_0x621348(0x1d5)],'nodeId':this[_0x621348(0x196)][_0x621348(0x1a6)](),'workspaceId':_0xb1879a['id'],'topic':_0x27ec2e,'revision':this[_0x621348(0x196)][_0x621348(0x1b8)][_0x621348(0x18f)](this[_0x621348(0x1a2)](_0xb1879a['id'],_0x27ec2e,_0x477c3a)),'snapshotSequence':this[_0x621348(0x196)][_0x621348(0x1b8)][_0x621348(0x1c7)](),'expiresAt':_0x477c3a[_0x621348(0x1d9)],'payload':_0x5b3099});}[_0x10d2c6(0x1a8)](_0x287e56,_0x4a5a0a,_0x9d4a4){const _0xa4aa7a=_0x10d2c6;if(!this[_0xa4aa7a(0x19f)](_0x287e56,_0x4a5a0a))return;this[_0xa4aa7a(0x196)][_0xa4aa7a(0x1cc)]({'type':_0xa4aa7a(0x1ba),'workbenchConnectionId':_0x4a5a0a[_0xa4aa7a(0x1af)],'watchType':_0xa4aa7a(0x1c5),'watchId':_0x4a5a0a[_0xa4aa7a(0x1a1)],'nodeGeneration':_0x4a5a0a[_0xa4aa7a(0x1d5)],'nodeId':this[_0xa4aa7a(0x196)][_0xa4aa7a(0x1a6)](),'workspaceId':_0x287e56,'topic':_0x9d4a4,'code':_0xa4aa7a(0x198),'message':_0xa4aa7a(0x1bd)});}[_0x10d2c6(0x19f)](_0x36978d,_0x20f338){const _0x103b05=_0x10d2c6;return this[_0x103b05(0x196)][_0x103b05(0x1b8)][_0x103b05(0x19f)](_0x36978d,_0x20f338[_0x103b05(0x19a)]+':'+_0x20f338[_0x103b05(0x1af)],_0x20f338[_0x103b05(0x1a1)]);}}function _0x43f4(_0x2107da,_0x5ee3cd){_0x2107da=_0x2107da-(0x2bc+-0x1a*0x88+-0xb*-0x126);const _0x55a8b4=_0xbc37();let _0x2131d2=_0x55a8b4[_0x2107da];if(_0x43f4['gXVEHI']===undefined){var _0xc84eb9=function(_0x3c89cf){const _0x2255fc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x48294f='',_0x20d9ad='';for(let _0x28d63d=0x1b64+0x1335+0x1*-0x2e99,_0x5bbe8,_0x45f1ba,_0x443b09=-0x1*-0x2082+-0x736+-0x194c;_0x45f1ba=_0x3c89cf['charAt'](_0x443b09++);~_0x45f1ba&&(_0x5bbe8=_0x28d63d%(0x2413*0x1+0x1f01+-0x4310)?_0x5bbe8*(-0xaa5+-0x257*-0x1+0x2*0x447)+_0x45f1ba:_0x45f1ba,_0x28d63d++%(0xe*-0x42+-0xe*0x3b+0x6da))?_0x48294f+=String['fromCharCode'](0x2e3*-0x8+-0x1d88+0x359f&_0x5bbe8>>(-(-0xe11+-0xf47+-0xd*-0x242)*_0x28d63d&0x347+0x229+-0x56a)):0x1*0x1453+0x12e*0x19+-0x31d1){_0x45f1ba=_0x2255fc['indexOf'](_0x45f1ba);}for(let _0x4dfa8c=-0x1368+0x3f*-0x8e+0x1*0x365a,_0x3bc085=_0x48294f['length'];_0x4dfa8c<_0x3bc085;_0x4dfa8c++){_0x20d9ad+='%'+('00'+_0x48294f['charCodeAt'](_0x4dfa8c)['toString'](0x1b*0x13a+-0x2*-0xcbe+-0x3b*0xfe))['slice'](-(-0x59*-0x42+-0x1*-0x167f+0x1*-0x2d6f));}return decodeURIComponent(_0x20d9ad);};_0x43f4['PwKytv']=_0xc84eb9,_0x43f4['psbSPD']={},_0x43f4['gXVEHI']=!![];}const _0x8f9545=_0x55a8b4[0x198+0x19b2+-0xda5*0x2];_0x43f4['csnVNc']!==_0x8f9545&&(_0x43f4['psbSPD']={},_0x43f4['csnVNc']=_0x8f9545);const _0x583896=_0x43f4['psbSPD'][_0x2107da];return _0x583896===undefined?(_0x2131d2=_0x43f4['PwKytv'](_0x2131d2),_0x43f4['psbSPD'][_0x2107da]=_0x2131d2):_0x2131d2=_0x583896,_0x2131d2;}function _0xbc37(){const _0x3d4d75=['y2HHBMDLza','ywrK','BgvUz3rO','ywn0AxzLv2f0y2HLCW','r0Lux1DpuKTtuefdrq','ywXS','C3vIC2nYAwjLCNm','ywn0AxzLv29YA3nWywnLswrZ','BM9KzuDLBMvYyxrPB24','CMvXDwLYzvDVCMTZCgfJzq','mtG3ndu1nuL5vefJva','zMLSzxnszwzYzxnOvgLTzxi','zxHWAxjLC0f0','BwfW','C2LNBMf0DxjLCW','BMv4DfjLDMLZAw9U','y2HHBMDLCW','CMvZB2X2zq','DgHLBG','zMLSzxm','zw5ZDxjLrMLSzxnszwzYzxnOvgLTzxi','Aw52ywXPzgf0zq','B3b0Aw9UCW','CMvMCMvZAa','v09ss1nqqunfx1Dbvenix1noqvbtse9ux0zbsuXfra','mte0otm1mvnpr0vgtq','C2vZC2LVBKHHC2G','CMvHza','D2f0y2GUD29YA3nWywnLlNnUyxbZAg90','BgLZDfnLC3nPB25Z','mtmWmtCXmMLoA295uG','Bwf0y2HLCW','DMfSDwvZ','D2f0y2Hjza','DMLLD0TLEq','y2f0y2G','odLfC2rhzuG','zgvSzxrL','BM9KzuLK','mtqXngz1r010va','zMfPBa','ndu4mZG1nMXcAujyrW','C2v0','zgvSAxzLCG','y3vYCMvUDa','C3rYAw5NAwz5','ndeWmdG4zMfHChLl','D29YA2jLBMnOq29UBMvJDgLVBKLK','y2XLyxi','Dg9WAwnZ','Dw5Yzwy','C29Tzq','nZyZmtm3vLPgBxze','zMLUywXSEq','CMvHzhm','oMzPBgvZoG','D2f0y2G','Aw5PDgLHBa','D2f0y2GUzMfPBgvK','C2vZC2LVBNm','zMLSDgvY','v29YA3nWywnLihDHDgnOihnUyxbZAg90igzHAwXLzc4','C3vIC2nYAwjLzfrVCgLJCW','BgLZDa','A2v5CW','zMLSzxnszwzYzxnOsw50zxj2ywXnCW','zw5ZDxjLu25HChnOB3q','A2LUza','CMvMCMvZAgvZ','D29YA3nWywnL','CMvHzefJDgL2zq','BMv4DfnUyxbZAg90u2vXDwvUy2u','y2XLyxjbBgW','zgLYDhK','z2v0','C3rHCNrZv2L0Aa','zw1PDfDHDgnOrxzLBNq'];_0xbc37=function(){return _0x3d4d75;};return _0xbc37();}function signature(_0xc6d820){const _0x41b8af=_0x10d2c6;return JSON[_0x41b8af(0x1ad)](_0xc6d820)??String(_0xc6d820);}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- (function(_0x186c3a,_0xf0c6fb){const _0x49b519=_0x43ae,_0x4e871c=_0x186c3a();while(!![]){try{const _0x1963fd=-parseInt(_0x49b519(0xbe))/(0x1*0x1111+0x607+-0x1*0x1717)+parseInt(_0x49b519(0x110))/(-0x2*-0xefb+-0x2ff+-0x1af5)*(-parseInt(_0x49b519(0xcc))/(0xaf9+-0x682+-0x474))+-parseInt(_0x49b519(0x100))/(0xc1*-0x31+-0x3*0x259+0x2c00)*(parseInt(_0x49b519(0xc1))/(-0x2672+-0x2119+0x4790))+parseInt(_0x49b519(0xa9))/(-0x1691+0x4*0x2bf+0xb9b*0x1)*(-parseInt(_0x49b519(0x131))/(-0x1793+0xe5*-0x5+-0x1*-0x1c13))+-parseInt(_0x49b519(0xe4))/(-0x29*-0x3+0x4dd*-0x1+0x46a)+-parseInt(_0x49b519(0xb2))/(0x22ba+0x87*0x2a+-0x38d7)*(-parseInt(_0x49b519(0x127))/(-0x3f0+-0x1ada+0x1ed4))+parseInt(_0x49b519(0x118))/(0x4f*0x13+-0x183c+0x126a);if(_0x1963fd===_0xf0c6fb)break;else _0x4e871c['push'](_0x4e871c['shift']());}catch(_0x26838d){_0x4e871c['push'](_0x4e871c['shift']());}}}(_0xb419,-0xcb9*0x89+-0x98c41+0x15f87d));import{createHash}from'node:crypto';import{fileURLToPath}from'node:url';import{stripClaudePlanTag}from'../runner-command-engine.js';import{stripMissionStartPrompt}from'../service/mission-runtime.js';import{parseCodexComposerImageMarkers}from'../runner/codex/composer-image-markers.js';import{normalizeCodexTool}from'../runner/codex/tool-normalizer.js';import{normalizeClaudeTool}from'../runner/claude/tool-normalizer.js';import{compactRunnerText,isPlainRecord,nativePageEnd}from'./node-operation-parsers.js';export function extractId(_0x4f64e3,_0xa37386){const _0x57840d=_0x43ae;if(typeof _0x4f64e3===_0x57840d(0x108)&&_0x4f64e3!==null&&_0xa37386 in _0x4f64e3&&typeof _0x4f64e3[_0xa37386]===_0x57840d(0x108)&&_0x4f64e3[_0xa37386]!==null&&typeof _0x4f64e3[_0xa37386]['id']===_0x57840d(0xe3))return _0x4f64e3[_0xa37386]['id'];throw new Error(_0x57840d(0xa2)+_0xa37386[_0x57840d(0x10a)]()+_0x57840d(0xa3));}export async function settleWithin(_0x593f4c,_0x6f2180){const _0x1488cf=_0x43ae;let _0x4b20bd;try{return await Promise[_0x1488cf(0xcb)]([_0x593f4c,new Promise(_0x1987dc=>{const _0x287aac=_0x1488cf;_0x4b20bd=setTimeout(()=>_0x1987dc(undefined),_0x6f2180),_0x4b20bd[_0x287aac(0xf6)]();})]);}finally{if(_0x4b20bd!==undefined)clearTimeout(_0x4b20bd);}}export function extractCodexThreads(_0x30ddd8){const _0x323084=_0x43ae;if(typeof _0x30ddd8!==_0x323084(0x108)||_0x30ddd8===null||!(_0x323084(0xd4)in _0x30ddd8))return[];const _0x36e8af=_0x30ddd8[_0x323084(0xd4)];if(!Array[_0x323084(0x119)](_0x36e8af))return[];return _0x36e8af[_0x323084(0xf9)](_0x172eb7=>{const _0x19b69c=_0x323084;if(typeof _0x172eb7!==_0x19b69c(0x108)||_0x172eb7===null)return[];const _0x17f92f=_0x172eb7;if(typeof _0x17f92f['id']!==_0x19b69c(0xe3))return[];const _0x396105=typeof _0x17f92f[_0x19b69c(0xf4)]===_0x19b69c(0xe3)?_0x17f92f[_0x19b69c(0xf4)]:typeof _0x17f92f[_0x19b69c(0xaf)]===_0x19b69c(0xe3)?_0x17f92f[_0x19b69c(0xaf)]:typeof _0x17f92f[_0x19b69c(0xaf)]===_0x19b69c(0x108)&&_0x17f92f[_0x19b69c(0xaf)]!==null&&typeof _0x17f92f[_0x19b69c(0xaf)][_0x19b69c(0xf1)]===_0x19b69c(0xe3)?_0x17f92f[_0x19b69c(0xaf)][_0x19b69c(0xf1)]:undefined,_0x16fc60=isPlainRecord(_0x17f92f[_0x19b69c(0xaf)])?_0x17f92f[_0x19b69c(0xaf)]:undefined,_0x23afbc=_0x396105===_0x19b69c(0x122)||_0x16fc60?.[_0x19b69c(0xf1)]===_0x19b69c(0x122)||isPlainRecord(_0x16fc60?.[_0x19b69c(0x122)])||isPlainRecord(_0x16fc60?.[_0x19b69c(0xc3)]),_0x7d1ff0=typeof _0x17f92f[_0x19b69c(0xcf)]===_0x19b69c(0xe3)&&_0x17f92f[_0x19b69c(0xcf)][_0x19b69c(0xa7)]()[_0x19b69c(0xc7)]>0x3ae+-0x1a77*-0x1+0x1e25*-0x1?_0x17f92f[_0x19b69c(0xcf)][_0x19b69c(0xa7)]():typeof _0x17f92f[_0x19b69c(0xd3)]===_0x19b69c(0xe3)&&_0x17f92f[_0x19b69c(0xd3)][_0x19b69c(0xa7)]()[_0x19b69c(0xc7)]>0x3f7*0x5+-0x71a+-0xcb9*0x1?_0x17f92f[_0x19b69c(0xd3)][_0x19b69c(0xa7)]():undefined;return[{'id':_0x17f92f['id'],'source':_0x396105,'derived':_0x23afbc,'cwd':_0x17f92f[_0x19b69c(0xd2)],'title':_0x7d1ff0}];});}export function codexThreadActivity(_0x2d9d18){const _0xd32624=_0x43ae;if(!isPlainRecord(_0x2d9d18)||!isPlainRecord(_0x2d9d18[_0xd32624(0x114)]))return _0xd32624(0xc0);const _0x2b88e2=_0x2d9d18[_0xd32624(0x114)][_0xd32624(0xfe)];if(!isPlainRecord(_0x2b88e2)||typeof _0x2b88e2[_0xd32624(0x120)]!==_0xd32624(0xe3))return _0xd32624(0xc0);if(_0x2b88e2[_0xd32624(0x120)]===_0xd32624(0xf8))return _0xd32624(0xd5);if(_0x2b88e2[_0xd32624(0x120)]===_0xd32624(0xe2)||_0x2b88e2[_0xd32624(0x120)]===_0xd32624(0x135))return _0xd32624(0x11f);return _0xd32624(0xc0);}export function codexActiveTurnId(_0x28c626){const _0x30ffe4=_0x43ae;if(!isPlainRecord(_0x28c626)||!isPlainRecord(_0x28c626[_0x30ffe4(0x114)])||!Array[_0x30ffe4(0x119)](_0x28c626[_0x30ffe4(0x114)][_0x30ffe4(0xc2)]))return undefined;const _0x339f20=_0x28c626[_0x30ffe4(0x114)][_0x30ffe4(0xc2)][_0x30ffe4(0x101)](_0x5f5783=>isPlainRecord(_0x5f5783)&&typeof _0x5f5783['id']===_0x30ffe4(0xe3)&&(_0x5f5783[_0x30ffe4(0xfe)]===_0x30ffe4(0xf8)||_0x5f5783[_0x30ffe4(0xfe)]===_0x30ffe4(0xde)));return isPlainRecord(_0x339f20)&&typeof _0x339f20['id']===_0x30ffe4(0xe3)?_0x339f20['id']:undefined;}export function codexThreadCwd(_0x14a040){const _0x2c2b35=_0x43ae;if(typeof _0x14a040!==_0x2c2b35(0xe3)||_0x14a040[_0x2c2b35(0xc7)]===-0x109*-0x1e+-0x1*-0x231a+-0x4228)throw new Error(_0x2c2b35(0x11d));if(!_0x14a040[_0x2c2b35(0xd6)](_0x2c2b35(0x105)))return _0x14a040;try{return fileURLToPath(_0x14a040);}catch{throw new Error(_0x2c2b35(0x11d));}}export function isWithinWorkspace(_0xc36245,_0x151334){const _0x5b59ec=_0x43ae,_0x172094=_0xc7813a=>{const _0x53a03b=_0x43ae,_0x223361=_0xc7813a[_0x53a03b(0xef)](/[\\/]+/g,'/')[_0x53a03b(0xef)](/\/$/,'');return process[_0x53a03b(0xce)]===_0x53a03b(0xdf)?_0x223361[_0x53a03b(0xc9)]():_0x223361;},_0x2607f0=_0x172094(_0xc36245),_0x282793=_0x172094(_0x151334);if(_0x2607f0===_0x282793)return!![];return _0x2607f0[_0x5b59ec(0xd6)](_0x282793+'/');}export function claudeDiscoveredSession(_0x28eee7,_0x27f243){const _0x31a9c2=_0x43ae;if(typeof _0x28eee7!==_0x31a9c2(0x108)||_0x28eee7===null)return undefined;const _0x557220=_0x28eee7;if(_0x557220[_0x31a9c2(0xdc)]===!![])return undefined;const _0x1670c0=typeof _0x557220[_0x31a9c2(0xdd)]===_0x31a9c2(0xe3)?_0x557220[_0x31a9c2(0xdd)]:typeof _0x557220['id']===_0x31a9c2(0xe3)?_0x557220['id']:undefined;if(_0x1670c0===undefined||_0x1670c0[_0x31a9c2(0xc7)]===-0x256f+-0x2589+0x4af8)return undefined;const _0x56f97c=typeof _0x557220[_0x31a9c2(0x123)]===_0x31a9c2(0xe3)?_0x557220[_0x31a9c2(0x123)]:typeof _0x557220[_0x31a9c2(0x113)]===_0x31a9c2(0xe3)?_0x557220[_0x31a9c2(0x113)]:undefined,_0x41f7ed=typeof _0x557220[_0x31a9c2(0xd2)]===_0x31a9c2(0xe3)&&_0x557220[_0x31a9c2(0xd2)][_0x31a9c2(0xc7)]>-0xe33+-0x268b+0x34be?_0x557220[_0x31a9c2(0xd2)]:_0x27f243;return{'externalSessionId':_0x1670c0,'cwd':_0x41f7ed,..._0x56f97c===undefined?{}:{'title':_0x56f97c[_0x31a9c2(0x130)](0x1ccc+0x195b+-0x3627,0xd4*0x13+-0x7*-0x321+-0x2553)}};}export function latestNativeActivity(_0x2131de){const _0x24930b=_0x43ae;return _0x2131de[_0x24930b(0x12e)];}export function sameContextUsage(_0x3c075b,_0x298ba7){const _0x33ac9c=_0x43ae;return _0x3c075b[_0x33ac9c(0x125)]===_0x298ba7[_0x33ac9c(0x125)]&&_0x3c075b[_0x33ac9c(0xfd)]===_0x298ba7[_0x33ac9c(0xfd)]&&_0x3c075b[_0x33ac9c(0x12d)]===_0x298ba7[_0x33ac9c(0x12d)];}export function isNativeHistory(_0x2803f1){const _0x4761b8=_0x43ae;return typeof _0x2803f1===_0x4761b8(0x108)&&_0x2803f1!==null&&Array[_0x4761b8(0x119)](_0x2803f1[_0x4761b8(0x11c)]);}export function deduplicateDirectSessions(_0x500ec4){const _0x127a8b=_0x43ae,_0x1a0ca2=new Map();for(const _0x364125 of _0x500ec4){const _0x572929=_0x1a0ca2[_0x127a8b(0x12a)](_0x364125['id']);if(_0x572929===undefined||_0x572929[_0x127a8b(0x12e)]<_0x364125[_0x127a8b(0x12e)])_0x1a0ca2[_0x127a8b(0xd7)](_0x364125['id'],_0x364125);}return[..._0x1a0ca2[_0x127a8b(0x124)]()][_0x127a8b(0xc5)]((_0xaad4c0,_0x1f5cf9)=>_0x1f5cf9[_0x127a8b(0x12e)]-_0xaad4c0[_0x127a8b(0x12e)]);}export function nativeConversationPage(_0x210fc7,_0x205f07,_0x5469cd,_0x130cc3=[],_0x357388=()=>[]){const _0x3074ec=_0x43ae,_0x162d0f=Math[_0x3074ec(0xd9)](Math[_0x3074ec(0xaa)](_0x5469cd[_0x3074ec(0xed)]??-0x1e8e+-0x1*0x139+0x1fe5,-0x1d*0xb8+-0xa63*0x3+-0xe*-0x3b7),0xb*0x172+0xcf7*-0x3+-0x3*-0x851),_0x441f4b=_0x205f07[_0x3074ec(0x133)]===!![]?undefined:_0x5469cd[_0x3074ec(0xcd)],_0x2e5f58=nativeTranscriptTurns(_0x205f07[_0x3074ec(0x11c)]),_0x1cc79d=nativeTranscriptTurnIds(_0x210fc7['id'],_0x2e5f58),_0x2f29dd=nativePageEnd(_0x441f4b,_0x210fc7['id'],_0x2e5f58[_0x3074ec(0xc7)]),_0x2e7c21=Math[_0x3074ec(0xaa)](0x1a*-0x102+-0x4*0x412+0x2*0x153e,_0x2f29dd-_0x162d0f),_0x235530=_0x2e5f58[_0x3074ec(0x130)](_0x2e7c21,_0x2f29dd)[_0x3074ec(0xfb)]((_0x194679,_0x3e6a93)=>{const _0x3870e5=_0x3074ec,_0x487124=_0x194679[_0x3870e5(0x101)](({entry:_0x23f68c})=>_0x23f68c[_0x3870e5(0xf1)]===_0x3870e5(0xf3)&&_0x23f68c[_0x3870e5(0x9f)]===_0x3870e5(0x112))?.[_0x3870e5(0x106)],_0xd04aad=_0x487124?.[_0x3870e5(0xf1)]===_0x3870e5(0xf3)?nativeUserClientMessageId(_0x210fc7[_0x3870e5(0xf0)],_0x487124,_0x487124[_0x3870e5(0xba)],_0x130cc3):null,_0x48ab5f=typeof _0xd04aad===_0x3870e5(0xe3)?_0x130cc3[_0x3870e5(0x101)](_0x5b95d4=>runtimeTurnClientMessageId(_0x5b95d4)===_0xd04aad):undefined,_0xa414aa=_0x48ab5f?.['id']??_0x1cc79d[_0x2e7c21+_0x3e6a93],_0x2fa0a9=nativeTranscriptItemIdentities(_0x194679),_0x457868=_0x194679[_0x3870e5(0xfb)](({entry:_0x47a011,index:_0x4b932f},_0x8643e8)=>({...nativeTranscriptConversationItem(_0x210fc7,_0x47a011,_0x4b932f,_0x2fa0a9[_0x8643e8],_0xa414aa,_0x130cc3,_0x357388),'runId':_0x48ab5f?.[_0x3870e5(0xfc)]??null})),_0xb7041e=(_0x48ab5f?.[_0x3870e5(0x11c)]??[])[_0x3870e5(0xec)](_0x43cec6=>_0x43cec6[_0x3870e5(0xf1)]===_0x3870e5(0xc8))[_0x3870e5(0xfb)](_0x3c77b9=>({..._0x3c77b9,'turnId':_0xa414aa,'runId':_0x48ab5f?.[_0x3870e5(0xfc)]??null})),_0x57d6ce=runtimeAssistantProjectionMoreComplete(_0x48ab5f,_0x457868)?_0x48ab5f[_0x3870e5(0x11c)][_0x3870e5(0xfb)](_0x40f677=>({..._0x40f677,'turnId':_0xa414aa,'runId':_0x48ab5f[_0x3870e5(0xfc)]})):[..._0x457868,..._0xb7041e[_0x3870e5(0xec)](_0x44fd28=>!_0x457868[_0x3870e5(0xe7)](_0x515b4b=>_0x515b4b['id']===_0x44fd28['id']))],_0x397b4c=_0x57d6ce[0x143b+-0x5*-0x6f9+-0x3718*0x1]?.[_0x3870e5(0xb7)]??null,_0x3163b4=_0x57d6ce['at'](-(0x12cd+-0x70*-0x5+-0x14fc))?.[_0x3870e5(0xb3)]??_0x397b4c,_0x5b3f01=lastNativeItemId(_0x194679);return{'id':_0xa414aa,'sessionId':_0x210fc7['id'],'runId':_0x48ab5f?.[_0x3870e5(0xfc)]??null,'userItemId':_0x57d6ce[_0x3870e5(0x101)](_0xcad2b8=>_0xcad2b8[_0x3870e5(0xf1)]===_0x3870e5(0x10b))?.['id']??null,'status':_0xb7041e[_0x3870e5(0xc7)]>-0x8a5+-0x253+-0xaf8*-0x1?_0x3870e5(0xb4):_0x3870e5(0xa5),'model':null,'effort':null,'access':null,..._0x5b3f01===undefined||_0x210fc7[_0x3870e5(0xf0)]!==_0x3870e5(0xee)?{}:{'rewind':{'before':lastNativeItemId(_0x2e5f58[_0x2e7c21+_0x3e6a93-(-0x1*0x107+0x5e*0x43+-0x1792)]??[])??null,'after':_0x5b3f01}},'items':_0x57d6ce,'startedAt':_0x397b4c,'completedAt':_0x3163b4};}),_0x1c8fbe=_0x235530,_0x3aae68=_0x2e7c21,_0x2ff75d={'sessionId':_0x210fc7['id'],..._0x205f07[_0x3074ec(0xb9)]===undefined?{}:{'snapshotEnd':_0x205f07[_0x3074ec(0xb9)]},..._0x205f07[_0x3074ec(0x115)]===undefined?{}:{'nextEnd':_0x205f07[_0x3074ec(0x115)]},..._0x205f07[_0x3074ec(0x11e)]===undefined?{}:{'fileAnchor':_0x205f07[_0x3074ec(0x11e)]},..._0x205f07[_0x3074ec(0xf5)]===undefined?{}:{'anchorBytes':_0x205f07[_0x3074ec(0xf5)]},'readLimit':_0x205f07[_0x3074ec(0xe5)]??_0x162d0f},_0x2fd0dc=_0x205f07[_0x3074ec(0x137)]===!![]&&_0x205f07[_0x3074ec(0x104)]!==undefined&&_0x205f07[_0x3074ec(0xb9)]!==undefined&&_0x205f07[_0x3074ec(0x11e)]!==undefined&&_0x205f07[_0x3074ec(0xf5)]!==undefined?Buffer[_0x3074ec(0xc4)](JSON[_0x3074ec(0xe0)]({'sessionId':_0x210fc7['id'],'snapshotEnd':_0x205f07[_0x3074ec(0xb9)],'nextEnd':_0x205f07[_0x3074ec(0x104)],'fileAnchor':_0x205f07[_0x3074ec(0x11e)],'anchorBytes':_0x205f07[_0x3074ec(0xf5)],'readLimit':_0x205f07[_0x3074ec(0xe5)]??_0x162d0f}))[_0x3074ec(0x117)](_0x3074ec(0xad)):null;return{'turns':_0x1c8fbe,'nextCursor':_0x3aae68>-0x1*-0x337+-0xf9*-0x13+-0x15b2?Buffer[_0x3074ec(0xc4)](JSON[_0x3074ec(0xe0)]({..._0x2ff75d,'end':_0x3aae68}))[_0x3074ec(0x117)](_0x3074ec(0xad)):_0x2fd0dc};}export function runtimeAssistantProjectionMoreComplete(_0x2aacc4,_0x275b37){const _0x1087c6=_0x43ae;if(_0x2aacc4===undefined)return![];const _0x299275=_0x8f4351=>_0x8f4351[_0x1087c6(0xc6)]((_0x420a61,_0x556031)=>{const _0x95d9d4=_0x1087c6;if(_0x556031[_0x95d9d4(0xf1)]!==_0x95d9d4(0xac)||!isPlainRecord(_0x556031[_0x95d9d4(0xb5)]))return _0x420a61;return{'count':_0x420a61[_0x95d9d4(0x107)]+(0x1a94+-0x207*-0x9+-0x2cd2),'characters':_0x420a61[_0x95d9d4(0xa8)]+(typeof _0x556031[_0x95d9d4(0xb5)][_0x95d9d4(0xa0)]===_0x95d9d4(0xe3)?_0x556031[_0x95d9d4(0xb5)][_0x95d9d4(0xa0)][_0x95d9d4(0xc7)]:0x61*0x10+0x228e+-0x289e)};},{'count':0x0,'characters':0x0}),_0x2a9d44=_0x299275(_0x2aacc4[_0x1087c6(0x11c)]),_0x54b156=_0x299275(_0x275b37);return _0x2a9d44[_0x1087c6(0x107)]>_0x54b156[_0x1087c6(0x107)]||_0x2a9d44[_0x1087c6(0xa8)]>_0x54b156[_0x1087c6(0xa8)];}function _0x43ae(_0x252396,_0x2cd9ba){_0x252396=_0x252396-(0xf8e+-0x16db*-0x1+-0xa4*0x3b);const _0x2ddf3d=_0xb419();let _0x1d7cb1=_0x2ddf3d[_0x252396];if(_0x43ae['ZIEqHH']===undefined){var _0x400445=function(_0x4db6d4){const _0x58946c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17f917='',_0x5b37df='';for(let _0x482d14=0x1*0x166+-0x343*0x1+-0x1dd*-0x1,_0x229298,_0x339d18,_0x463e2b=-0x4*-0x36a+0x5d8*0x6+-0x30b8;_0x339d18=_0x4db6d4['charAt'](_0x463e2b++);~_0x339d18&&(_0x229298=_0x482d14%(0x7da*0x4+-0x382*0x7+-0x2*0x36b)?_0x229298*(-0x2068+-0x256f+0x4617)+_0x339d18:_0x339d18,_0x482d14++%(-0xbb0+-0xe33+0x19e7))?_0x17f917+=String['fromCharCode'](-0xdf*0x1+0x1ccc+-0x1aee&_0x229298>>(-(0xd4*0x13+-0x7*-0x321+-0x25a1)*_0x482d14&-0x1e8e+-0x1*0x139+0x1fcd)):-0x1d*0xb8+-0xa63*0x3+-0x1*-0x3401){_0x339d18=_0x58946c['indexOf'](_0x339d18);}for(let _0x59360b=0xb*0x172+0xcf7*-0x3+-0x1d*-0xcb,_0x2df7be=_0x17f917['length'];_0x59360b<_0x2df7be;_0x59360b++){_0x5b37df+='%'+('00'+_0x17f917['charCodeAt'](_0x59360b)['toString'](0x1a*-0x102+-0x4*0x412+0x4*0xaa3))['slice'](-(0x143b+-0x5*-0x6f9+-0x3716*0x1));}return decodeURIComponent(_0x5b37df);};_0x43ae['KExybL']=_0x400445,_0x43ae['mMkjpx']={},_0x43ae['ZIEqHH']=!![];}const _0xcf76b=_0x2ddf3d[0x12cd+-0x70*-0x5+-0x14fd];_0x43ae['OAClza']!==_0xcf76b&&(_0x43ae['mMkjpx']={},_0x43ae['OAClza']=_0xcf76b);const _0x2e6f0e=_0x43ae['mMkjpx'][_0x252396];return _0x2e6f0e===undefined?(_0x1d7cb1=_0x43ae['KExybL'](_0x1d7cb1),_0x43ae['mMkjpx'][_0x252396]=_0x1d7cb1):_0x1d7cb1=_0x2e6f0e,_0x1d7cb1;}function runtimeTurnClientMessageId(_0x3e8e23){const _0x48cf3f=_0x43ae,_0x31dd7c=_0x3e8e23[_0x48cf3f(0x11c)][_0x48cf3f(0x101)](_0x36d84b=>_0x36d84b[_0x48cf3f(0xf1)]===_0x48cf3f(0x10b));return isPlainRecord(_0x31dd7c?.[_0x48cf3f(0xb5)])&&typeof _0x31dd7c[_0x48cf3f(0xb5)][_0x48cf3f(0x12f)]===_0x48cf3f(0xe3)?_0x31dd7c[_0x48cf3f(0xb5)][_0x48cf3f(0x12f)]:undefined;}function lastNativeItemId(_0x111e4b){const _0x5def02=_0x43ae;return _0x111e4b[_0x5def02(0x12c)](({entry:_0x46833a})=>_0x46833a[_0x5def02(0xb1)]!==undefined)?.[_0x5def02(0x106)][_0x5def02(0xb1)];}function _0xb419(){const _0x371d13=['mte0mxf6v3r3vW','AxrLBs0','y3vYC29YuMvZzxq','B3b0Aw9UCW','BM90tg9HzgvK','zgLZDgfUy2u','Dhj1BMnHDgvK','qxnRvxnLCLf1zxn0Aw9U','C2HHmJu2','CM9Szq','Dgv4Da','Dg9VBf9JywXS','q09ervHF','x0Lex01ju1njtKC','CxvLC3rPB24','u1vdq0vfreve','y29UDgv4Df9JB21Wywn0Aw9U','DhjPBq','y2HHCMfJDgvYCW','nJC3ne52uKfPtW','Bwf4','Aw5WDxruCNvUy2f0zwq','yxnZAxn0yw50x21LC3nHz2u','yMfZzty0DxjS','Dg9VBe5HBwu','C291CMnL','Aw5WDxrtDw1Tyxj5','BMf0AxzLswq','oxfsA09MvG','y29TCgXLDgvKqxq','rKfjteve','Cgf5Bg9Hza','CxvLC3rPB25Z','C3rHCNrLzef0','u0Lor0Xfx1nftevdva','C25HChnOB3rfBMq','y3jLyxrLzef0','BwfYA2rVD24','q09nueXfveve','DxnLCL9PBNb1Df9Yzxf1zxn0','mtmXntKXz0vjDg5s','u0HpuLrFvevyva','vu5bvKfjtefcteu','mtu4nJmZmePSrLz5BW','DhvYBNm','C3vIqwDLBNq','zNjVBq','C29YDa','CMvKDwnL','BgvUz3rO','zxjYB3i','Dg9mB3DLCKnHC2u','C2vJDgLVBNm','CMfJzq','mJeWmZyZy3j4D0fH','y3vYC29Y','CgXHDgzVCM0','BMfTzq','BgfIzwW','BMf0AxzLlwzPBgu','y3DK','ChjLDMLLDW','zgf0yq','rvHurvjoquXFqunusvzf','C3rHCNrZv2L0Aa','C2v0','C291CMnLrxzLBNruExbL','BwLU','oML0zw06','B3v0Chv0vhj1BMnHDgvK','AxntAwrLy2HHAw4','C2vZC2LVBKLK','Aw5qCM9NCMvZCW','D2LUmZi','C3rYAw5NAwz5','zgLNzxn0','AwrSzq','C3rYAw5N','ndK4ndmZnKzSr1fJvG','D2LUzg93uMvHzeXPBwL0','CgHHC2u','C29Tzq','BxvSDgLtzwXLy3q','tvvmveLFu0vmrunu','ChvZAa','y2XHDwrLlxf1zxn0Aw9Ulq','zMLSDgvY','BgLTAxq','y2XHDwrLlwnVzgu','CMvWBgfJzq','CNvUBMvY','A2LUza','Dg9VBfvZzuLK','BwvZC2fNzq','C291CMnLs2LUza','yw5JAg9YqNL0zxm','Dw5Yzwy','CgXHBG','ywn0AxzL','zMXHDe1HCa','Dw5RBM93BG','BwfW','CNvUswq','DxnLzfrVA2vUCW','C3rHDhvZ','ve9ptf9fwevdvvrjt05FrKfjteve','nhnhqNLKzq','zMLUza','y29KzxG','zMfPBgvK','D2LUzg93u3rHCNq','zMLSztO','zw50CNK','y291BNq','B2jQzwn0','qundrvburuq','Dg9vChbLCKnHC2u','DxnLCL9TzxnZywDL','ywjZ','B3v0Chv0u3vTBwfYEq','zw50CMLLCW','zgvZy3jPChrPB24','mtz0y25Suem','BMf0AxzLoG','vvnfuG','DgL0Bgu','DgHYzwfK','D2LUzg93rw5K','oM5HDgL2ztO','Dg9tDhjPBMC','mtK2ntq2nJHbtfjPu2G','AxnbCNjHEq','DgvZDa','yxr0ywnOBwvUDhm','AxrLBxm','q09ervHFveHsrufex0nxrf9jtLzbteLe','zMLSzufUy2HVCG','surmrq','DhLWzq','Aw1Hz2vbDhrHy2HTzw50CW','C3vIywDLBNq','C3vTBwfYEq','DMfSDwvZ','Bw9KzwW','Aw5WDxq','mZK4mdm3meXNuufhBa','phbYB3bVC2vKx3bSyw4+','DxbKyxrL','z2v0','CMvHC29UAw5Nx3n1Bw1HCNK','zMLUzeXHC3q','Bwf4vg9Rzw5Z','BgfZDefJDgL2Axr5qxq','y2XPzw50twvZC2fNzuLK','C2XPy2u'];_0xb419=function(){return _0x371d13;};return _0xb419();}function nativeTranscriptTurnIds(_0xf2831a,_0x27b601){const _0x173948=_0x43ae,_0x5cf8db=new Map();return _0x27b601[_0x173948(0xfb)](_0x4b9f4b=>{const _0x37eabf=_0x173948,_0x2bf3d7=_0x4b9f4b[_0x37eabf(0x101)](({entry:_0x5c737e})=>_0x5c737e[_0x37eabf(0xf1)]===_0x37eabf(0xf3)&&_0x5c737e[_0x37eabf(0x9f)]===_0x37eabf(0x112))?.[_0x37eabf(0x106)],_0x161a86=_0x2bf3d7??_0x4b9f4b[0x9*-0x33b+0x4*0x4fd+-0x1d3*-0x5]?.[_0x37eabf(0x106)],_0x263a77=_0x161a86?.[_0x37eabf(0xb1)]??nativeTranscriptItemFingerprint(_0x161a86),_0x13e096=_0x5cf8db[_0x37eabf(0x12a)](_0x263a77)??0x204e*-0x1+-0xf*0x14b+0x5*0xa57;return _0x5cf8db[_0x37eabf(0xd7)](_0x263a77,_0x13e096+(0x3f5*-0x8+0x1d39+0x270)),_0xf2831a+_0x37eabf(0x116)+_0x263a77+(_0x13e096===-0xd73*0x1+-0x7*0x2a1+-0x38a*-0x9?'':':'+_0x13e096);});}function nativeTranscriptItemIdentities(_0x18123f){const _0xbb64ca=_0x43ae,_0x1ebad1=new Map();for(const {entry:_0x48d588}of _0x18123f)if(_0x48d588[_0xbb64ca(0xb1)]!==undefined)_0x1ebad1[_0xbb64ca(0xd7)](_0x48d588[_0xbb64ca(0xb1)],(_0x1ebad1[_0xbb64ca(0x12a)](_0x48d588[_0xbb64ca(0xb1)])??0x5b8+0x11aa+-0x1762)+(0x45b+-0x1*-0xeef+-0x1349));const _0x27bc60=new Map();return _0x18123f[_0xbb64ca(0xfb)](({entry:_0x1b801d})=>{const _0x4b6278=_0xbb64ca,_0x41ae98=_0x1b801d[_0x4b6278(0xb1)]!==undefined&&_0x1ebad1[_0x4b6278(0x12a)](_0x1b801d[_0x4b6278(0xb1)])===0xc62+-0x1a1e+0xdbd?_0x1b801d[_0x4b6278(0xb1)]:''+(_0x1b801d[_0x4b6278(0xb1)]===undefined?'':_0x1b801d[_0x4b6278(0xb1)]+':')+nativeTranscriptItemFingerprint(_0x1b801d),_0x4750e2=_0x27bc60[_0x4b6278(0x12a)](_0x41ae98)??0x179*0x14+0x1ece*0x1+-0x3c42;return _0x27bc60[_0x4b6278(0xd7)](_0x41ae98,_0x4750e2+(0x2*0xa6a+-0xb7c*0x2+0x9*0x3d)),_0x4750e2===-0xb*0x10f+0x1558+-0x9b3?_0x41ae98:_0x41ae98+':'+_0x4750e2;});}function nativeTranscriptItemFingerprint(_0x15d684){const _0x1d6bdd=_0x43ae;return createHash(_0x1d6bdd(0x9e))[_0x1d6bdd(0x129)](JSON[_0x1d6bdd(0xe0)](_0x15d684??null))[_0x1d6bdd(0xe1)](_0x1d6bdd(0xad))[_0x1d6bdd(0x130)](0x3*0x138+-0x85f*-0x3+-0x1cc5,-0x15e2+0x19f6+-0x3fc);}function nativeTranscriptTurns(_0x44798b){const _0x1365ab=_0x43ae,_0x2e19e0=[];let _0x383301=[];for(const [_0x89405c,_0x2653ac]of _0x44798b[_0x1365ab(0x10e)]()){_0x2653ac[_0x1365ab(0xf1)]===_0x1365ab(0xf3)&&_0x2653ac[_0x1365ab(0x9f)]===_0x1365ab(0x112)&&_0x383301[_0x1365ab(0xc7)]>-0x2557+-0x311*-0xb+0x21*0x1c&&(_0x2e19e0[_0x1365ab(0xea)](_0x383301),_0x383301=[]),_0x383301[_0x1365ab(0xea)]({'entry':_0x2653ac,'index':_0x89405c});}if(_0x383301[_0x1365ab(0xc7)]>0x1d99+0x1*-0x12c1+-0xad8)_0x2e19e0[_0x1365ab(0xea)](_0x383301);return _0x2e19e0;}function nativeTranscriptConversationItem(_0x1f2454,_0x26534f,_0x5bf859,_0x2dce03,_0x1375ab,_0x53f8c9,_0x1b029d){const _0x1de226=_0x43ae,_0x7e9a69=_0x26534f[_0x1de226(0xba)],_0x167170=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xa1),_0x442faa=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xfa),_0x46cd85=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0x12b),_0xc05ca0=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xa6),_0x491923=_0x1f2454[_0x1de226(0xf0)]===_0x1de226(0xee)&&_0x167170?normalizeClaudeTool(_0x26534f[_0x1de226(0xae)],_0x26534f[_0x1de226(0x126)],_0x26534f[_0x1de226(0x10d)],_0x26534f[_0x1de226(0x103)],_0x26534f[_0x1de226(0xab)]||_0x26534f[_0x1de226(0xdb)]):undefined,_0x303866=_0x1f2454[_0x1de226(0xf0)]===_0x1de226(0x102)&&_0x167170?normalizeCodexTool({'name':_0x26534f[_0x1de226(0xae)],'namespace':_0x1de226(0x102),'rawInput':_0x26534f[_0x1de226(0x126)],'inputSummary':_0x26534f[_0x1de226(0xb0)],'outputSummary':_0x26534f[_0x1de226(0x10d)],'truncated':_0x26534f[_0x1de226(0xab)]||_0x26534f[_0x1de226(0xdb)],..._0x26534f[_0x1de226(0x121)]===undefined?{}:{'attachments':_0x26534f[_0x1de226(0x121)]}}):undefined,_0x4dfe58=_0x1f2454[_0x1de226(0xf0)]===_0x1de226(0xee)&&_0x167170&&_0x26534f[_0x1de226(0xae)]===_0x1de226(0x9d)&&isPlainRecord(_0x26534f[_0x1de226(0x126)])?claudeUserInputQuestions(_0x26534f[_0x1de226(0x126)]):[],_0x3f658f=_0x4dfe58[_0x1de226(0xc7)]>0xb29+0xb26+-0x1*0x164f,_0x5aea59=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)&&_0x26534f[_0x1de226(0x9f)]===_0x1de226(0x112)?nativeUserClientMessageId(_0x1f2454[_0x1de226(0xf0)],_0x26534f,_0x7e9a69,_0x53f8c9):null,_0x5d7a13=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)?_0x26534f[_0x1de226(0x9f)]===_0x1de226(0x112)?nativeUserMessageText(_0x1f2454[_0x1de226(0xf0)],_0x26534f[_0x1de226(0xa0)]):_0x26534f[_0x1de226(0xa0)]:'',_0x38c2cf=_0x5aea59===null?undefined:runtimeUserMessagePayload(_0x5aea59,_0x53f8c9),_0x1d04db=Array[_0x1de226(0x119)](_0x38c2cf?.[_0x1de226(0x11b)])?_0x38c2cf[_0x1de226(0x11b)]:_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)&&_0x26534f[_0x1de226(0x9f)]===_0x1de226(0x112)&&_0x26534f[_0x1de226(0x121)]!==undefined?_0x1b029d(_0x26534f[_0x1de226(0x121)]):[],_0x26a212=_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)&&_0x26534f[_0x1de226(0x9f)]!==_0x1de226(0x112)?claudePlanText(_0x5d7a13):undefined,_0x819786={'id':_0x1375ab+_0x1de226(0xda)+_0x2dce03,'sessionId':_0x1f2454['id'],'turnId':_0x1375ab,'runId':null,'parentItemId':null,'sourceSequence':_0x5bf859,'revision':0x0,'kind':_0x3f658f?_0x1de226(0xbd):_0x46cd85?_0x1de226(0x12b):_0xc05ca0?_0x1de226(0xa6):_0x167170?_0x491923?.[_0x1de226(0xf1)]??_0x303866?.[_0x1de226(0xf1)]??_0x1de226(0xa1):_0x442faa?_0x1de226(0xfa):_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)&&_0x26534f[_0x1de226(0x9f)]===_0x1de226(0x112)?_0x1de226(0x10b):_0x26a212!==undefined?_0x1de226(0xf7):_0x1de226(0xac),'status':_0x1de226(0xbc),'payload':_0x3f658f?{'requestId':_0x1de226(0x111)+(_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xa1)?_0x26534f[_0x1de226(0xf2)]:_0x1de226(0x132)+_0x2dce03),'questions':_0x4dfe58}:_0x46cd85?{'sections':_0x26534f[_0x1de226(0xca)]}:_0xc05ca0?{'phase':_0x26534f[_0x1de226(0xe6)],'summary':_0x26534f[_0x1de226(0x123)]}:_0x167170?{..._0x491923?.[_0x1de226(0xb5)]??_0x303866?.[_0x1de226(0xb5)]??{'namespace':_0x1f2454[_0x1de226(0xf0)],'toolName':_0x26534f[_0x1de226(0xae)],'title':_0x26534f[_0x1de226(0xae)],'inputSummary':_0x26534f[_0x1de226(0xb0)],'outputSummary':_0x26534f[_0x1de226(0x10d)],'progressLabel':null,'errorCode':_0x26534f[_0x1de226(0x103)]?_0x1de226(0xff):null,'truncated':_0x26534f[_0x1de226(0xab)]||_0x26534f[_0x1de226(0xdb)]},..._0x26534f[_0x1de226(0x121)]===undefined?{}:{'attachments':_0x1b029d(_0x26534f[_0x1de226(0x121)])}}:_0x442faa?{'sourceEventType':_0x26534f[_0x1de226(0xd8)],'label':_0x26534f[_0x1de226(0xd0)]}:_0x26534f[_0x1de226(0xf1)]===_0x1de226(0xf3)&&_0x26534f[_0x1de226(0x9f)]===_0x1de226(0x112)?{'clientMessageId':_0x5aea59,'text':_0x5d7a13,'contexts':[],'delivery':_0x1de226(0x109),..._0x1d04db[_0x1de226(0xc7)]===0x268f+-0x51c+0x1*-0x2173?{}:{'attachments':_0x1d04db}}:_0x26a212!==undefined?{'explanation':compactRunnerText(_0x26a212,0x1*0x610f+0x1be5*0x2+-0x4ab9),'steps':[]}:{'text':_0x5d7a13,'format':_0x1de226(0xbb),'source':_0x1de226(0xd1)},'startedAt':_0x7e9a69,'completedAt':_0x7e9a69};return _0x819786;}export function nativeUserClientMessageId(_0x25aa5a,_0x4392f,_0x356c4d,_0x174c2d){const _0x3a360b=_0x43ae,_0x17c8d4=[];for(const _0x29d12d of _0x174c2d){const _0x3d98f3=_0x29d12d[_0x3a360b(0x11c)][_0x3a360b(0x101)](_0x19bcf3=>_0x19bcf3[_0x3a360b(0xf1)]===_0x3a360b(0x10b));if(_0x3d98f3===undefined||!isPlainRecord(_0x3d98f3[_0x3a360b(0xb5)]))continue;const _0x5aec8b=_0x3d98f3[_0x3a360b(0xb5)],_0x277545=typeof _0x5aec8b[_0x3a360b(0x12f)]===_0x3a360b(0xe3)?_0x5aec8b[_0x3a360b(0x12f)]:null;if(_0x277545===null||_0x5aec8b[_0x3a360b(0xa0)]!==nativeUserMessageText(_0x25aa5a,_0x4392f[_0x3a360b(0xa0)]))continue;const _0x59859c=_0x3d98f3[_0x3a360b(0xb7)]??_0x29d12d[_0x3a360b(0xb7)];_0x17c8d4[_0x3a360b(0xea)]({'clientMessageId':_0x277545,'createdAt':_0x59859c??null});}if(_0x356c4d===null)return _0x17c8d4[_0x3a360b(0xc7)]===0xcde+-0x21f5+-0x546*-0x4?_0x17c8d4[0x1c8b+-0x2350+-0x1*-0x6c5][_0x3a360b(0x12f)]:null;const _0x49568c=_0x17c8d4[_0x3a360b(0xec)](_0x5ad566=>_0x5ad566[_0x3a360b(0xba)]!==null)[_0x3a360b(0xfb)](_0x159aca=>({..._0x159aca,'distance':Math[_0x3a360b(0x10c)](_0x356c4d-_0x159aca[_0x3a360b(0xba)])}))[_0x3a360b(0xec)](_0x5da53a=>_0x5da53a[_0x3a360b(0x136)]<=0x1*-0xac51+-0x1*0x1254d+0x2*0x15dff)[_0x3a360b(0xc5)]((_0x489fe0,_0x2f0d57)=>_0x489fe0[_0x3a360b(0x136)]-_0x2f0d57[_0x3a360b(0x136)]);return _0x49568c[-0x2f*0xce+0x132c+-0xb*-0x1b2]?.[_0x3a360b(0x12f)]??null;}function runtimeUserMessagePayload(_0x5efae2,_0x4d3423){const _0x4ae3e5=_0x43ae;for(const _0x53fb8c of _0x4d3423){const _0x3e5541=_0x53fb8c[_0x4ae3e5(0x11c)][_0x4ae3e5(0x101)](_0x446de6=>_0x446de6[_0x4ae3e5(0xf1)]===_0x4ae3e5(0x10b));if(!isPlainRecord(_0x3e5541?.[_0x4ae3e5(0xb5)])||_0x3e5541[_0x4ae3e5(0xb5)][_0x4ae3e5(0x12f)]!==_0x5efae2)continue;return _0x3e5541[_0x4ae3e5(0xb5)];}return undefined;}function nativeUserMessageText(_0x5e13ef,_0x2a474a){const _0xb8efc0=_0x43ae,_0x5ed162=stripMissionStartPrompt(_0x2a474a),_0x4673b1=_0x5e13ef===_0xb8efc0(0xee)?stripClaudePlanTag(_0x5ed162):_0x5ed162;if(_0x5e13ef!==_0xb8efc0(0x102))return _0x4673b1;return parseCodexComposerImageMarkers(_0x4673b1)[_0xb8efc0(0xa0)];}export function claudePlanText(_0x57a24c){const _0x4d51c9=_0x43ae,_0x58ec6f=_0x57a24c[_0x4d51c9(0xa7)]();if(!_0x58ec6f[_0x4d51c9(0xd6)](_0x4d51c9(0x128))||!/<\/proposed_plan>\s*$/[_0x4d51c9(0x11a)](_0x58ec6f))return undefined;const _0x270cd1=_0x58ec6f[_0x4d51c9(0x130)](_0x4d51c9(0x128)[_0x4d51c9(0xc7)])[_0x4d51c9(0xef)](/<\/proposed_plan>\s*$/,'')[_0x4d51c9(0xa7)]();return _0x270cd1[_0x4d51c9(0xc7)]>-0x9b1+-0x1406+0x1*0x1db7?_0x270cd1:undefined;}export function claudeUserInputQuestions(_0x4c8b43){const _0x2c1abd=_0x43ae;if(!Array[_0x2c1abd(0x119)](_0x4c8b43[_0x2c1abd(0xb6)])||_0x4c8b43[_0x2c1abd(0xb6)][_0x2c1abd(0xc7)]===0x4c7*-0x1+0x1fc5*-0x1+0x923*0x4||_0x4c8b43[_0x2c1abd(0xb6)][_0x2c1abd(0xc7)]>0x190c+-0x1*0x1106+0x29*-0x32)return[];const _0x493648=_0x4c8b43[_0x2c1abd(0xb6)][_0x2c1abd(0xfb)]((_0x1bc1ec,_0xc4cd03)=>{const _0x35d1f3=_0x2c1abd;if(!isPlainRecord(_0x1bc1ec)||typeof _0x1bc1ec[_0x35d1f3(0xa4)]!==_0x35d1f3(0xe3))return undefined;const _0x274569=Array[_0x35d1f3(0x119)](_0x1bc1ec[_0x35d1f3(0x134)])?_0x1bc1ec[_0x35d1f3(0x134)][_0x35d1f3(0xf9)](_0x1229c3=>{const _0x28e1bc=_0x35d1f3;if(!isPlainRecord(_0x1229c3)||typeof _0x1229c3[_0x28e1bc(0xd0)]!==_0x28e1bc(0xe3))return[];const _0x4ac138=compactRunnerText(_0x1229c3[_0x28e1bc(0xd0)],0x4*0x17f+-0x1ef8+-0x35e*-0x8);return _0x4ac138[_0x28e1bc(0xc7)]===0xb3*-0x16+-0x1276+0x21d8?[]:[{'value':_0x4ac138,'label':_0x4ac138,'description':typeof _0x1229c3[_0x28e1bc(0x10f)]===_0x28e1bc(0xe3)?compactRunnerText(_0x1229c3[_0x28e1bc(0x10f)],0xb33+0x2d*-0x6a+0xb57):null}];}):[],_0x1fd612=_0x1bc1ec[_0x35d1f3(0xe8)]===!![];return{'id':_0x35d1f3(0xeb)+_0xc4cd03,'prompt':compactRunnerText(_0x1bc1ec[_0x35d1f3(0xa4)],-0x2*0x1063+0x6a6+0x16d4*0x2),'input':_0x274569[_0x35d1f3(0xc7)]===0xd99*-0x1+-0x1ad8+0x11*0x261?_0x35d1f3(0xbf):_0x1fd612?_0x35d1f3(0xe9):_0x35d1f3(0xb8),'options':_0x274569,'allowOther':!![],'multiSelect':_0x1fd612};});return _0x493648[_0x2c1abd(0xe7)](_0x2e0f4a=>_0x2e0f4a===undefined)?[]:_0x493648;}
2
+ (function(_0x15786c,_0x1c8b86){const _0x27c443=_0x5867,_0x189afc=_0x15786c();while(!![]){try{const _0x237620=-parseInt(_0x27c443(0x1ef))/(-0xf73+-0x247*-0x2+0xae6)+parseInt(_0x27c443(0x1d7))/(0x2*-0xda3+0x1*-0xda9+0x28f1)*(-parseInt(_0x27c443(0x241))/(0x1bc4*0x1+0x13c5+-0x2f86))+parseInt(_0x27c443(0x1c4))/(-0x6a6+0x2fa+0x1d8*0x2)+-parseInt(_0x27c443(0x1c7))/(-0x250a+0x1507*0x1+0x1008)*(-parseInt(_0x27c443(0x1f8))/(0x6d*-0x1d+0x3*0x232+0x5c9))+-parseInt(_0x27c443(0x204))/(0x134a+-0xdac+0x35*-0x1b)+parseInt(_0x27c443(0x21d))/(-0xb0b*-0x3+-0x1c62+-0x4b7)+parseInt(_0x27c443(0x227))/(0x1d1*-0x13+0x1*-0x10a6+0x3332)*(parseInt(_0x27c443(0x1f7))/(0xe82*-0x2+-0x194b+0x3659));if(_0x237620===_0x1c8b86)break;else _0x189afc['push'](_0x189afc['shift']());}catch(_0x2116fc){_0x189afc['push'](_0x189afc['shift']());}}}(_0x3bda,0x54751+0x413ff+0x37*-0xe03));import{createHash}from'node:crypto';import{fileURLToPath}from'node:url';import{stripClaudePlanTag}from'../runner-command-engine.js';import{stripMissionStartPrompt}from'../service/mission-runtime.js';import{parseCodexComposerImageMarkers}from'../runner/codex/composer-image-markers.js';import{normalizeCodexTool}from'../runner/codex/tool-normalizer.js';import{normalizeClaudeTool}from'../runner/claude/tool-normalizer.js';import{compactRunnerText,isPlainRecord,nativePageEnd}from'./node-operation-parsers.js';export function extractId(_0x546b4e,_0x49656e){const _0x2cf9b1=_0x5867;if(typeof _0x546b4e===_0x2cf9b1(0x209)&&_0x546b4e!==null&&_0x49656e in _0x546b4e&&typeof _0x546b4e[_0x49656e]===_0x2cf9b1(0x209)&&_0x546b4e[_0x49656e]!==null&&typeof _0x546b4e[_0x49656e]['id']===_0x2cf9b1(0x212))return _0x546b4e[_0x49656e]['id'];throw new Error(_0x2cf9b1(0x1cf)+_0x49656e[_0x2cf9b1(0x1d6)]()+_0x2cf9b1(0x1fa));}export async function settleWithin(_0x27edce,_0x3f227a){const _0x83bbc4=_0x5867;let _0x139c02;try{return await Promise[_0x83bbc4(0x1bf)]([_0x27edce,new Promise(_0x3b5d3a=>{const _0x186de4=_0x83bbc4;_0x139c02=setTimeout(()=>_0x3b5d3a(undefined),_0x3f227a),_0x139c02[_0x186de4(0x1e4)]();})]);}finally{if(_0x139c02!==undefined)clearTimeout(_0x139c02);}}export function extractCodexThreads(_0x10d17c){const _0x55bbd5=_0x5867;if(typeof _0x10d17c!==_0x55bbd5(0x209)||_0x10d17c===null||!(_0x55bbd5(0x203)in _0x10d17c))return[];const _0x245778=_0x10d17c[_0x55bbd5(0x203)];if(!Array[_0x55bbd5(0x23f)](_0x245778))return[];return _0x245778[_0x55bbd5(0x1ce)](_0x436e9d=>{const _0x5856cf=_0x55bbd5;if(typeof _0x436e9d!==_0x5856cf(0x209)||_0x436e9d===null)return[];const _0x32428b=_0x436e9d;if(typeof _0x32428b['id']!==_0x5856cf(0x212))return[];const _0xdca072=typeof _0x32428b[_0x5856cf(0x1f6)]===_0x5856cf(0x212)?_0x32428b[_0x5856cf(0x1f6)]:typeof _0x32428b[_0x5856cf(0x222)]===_0x5856cf(0x212)?_0x32428b[_0x5856cf(0x222)]:typeof _0x32428b[_0x5856cf(0x222)]===_0x5856cf(0x209)&&_0x32428b[_0x5856cf(0x222)]!==null&&typeof _0x32428b[_0x5856cf(0x222)][_0x5856cf(0x1f2)]===_0x5856cf(0x212)?_0x32428b[_0x5856cf(0x222)][_0x5856cf(0x1f2)]:undefined,_0x53a142=isPlainRecord(_0x32428b[_0x5856cf(0x222)])?_0x32428b[_0x5856cf(0x222)]:undefined,_0xb48520=_0xdca072===_0x5856cf(0x1e6)||_0x53a142?.[_0x5856cf(0x1f2)]===_0x5856cf(0x1e6)||isPlainRecord(_0x53a142?.[_0x5856cf(0x1e6)])||isPlainRecord(_0x53a142?.[_0x5856cf(0x225)]),_0x5a502e=typeof _0x32428b[_0x5856cf(0x22d)]===_0x5856cf(0x212)&&_0x32428b[_0x5856cf(0x22d)][_0x5856cf(0x206)]()[_0x5856cf(0x219)]>0x1824+0x641+-0xfb*0x1f?_0x32428b[_0x5856cf(0x22d)][_0x5856cf(0x206)]():typeof _0x32428b[_0x5856cf(0x1e8)]===_0x5856cf(0x212)&&_0x32428b[_0x5856cf(0x1e8)][_0x5856cf(0x206)]()[_0x5856cf(0x219)]>0x59*-0x35+0x1273*-0x1+0x8*0x49c?_0x32428b[_0x5856cf(0x1e8)][_0x5856cf(0x206)]():undefined;return[{'id':_0x32428b['id'],'source':_0xdca072,'derived':_0xb48520,'cwd':_0x32428b[_0x5856cf(0x1b5)],'title':_0x5a502e}];});}export function codexThreadCwd(_0x2c4f91){const _0x44bf52=_0x5867;if(typeof _0x2c4f91!==_0x44bf52(0x212)||_0x2c4f91[_0x44bf52(0x219)]===0x7*-0x517+-0x1*-0xaf+-0x1*-0x22f2)throw new Error(_0x44bf52(0x239));if(!_0x2c4f91[_0x44bf52(0x233)](_0x44bf52(0x1de)))return _0x2c4f91;try{return fileURLToPath(_0x2c4f91);}catch{throw new Error(_0x44bf52(0x239));}}export function isWithinWorkspace(_0x58f095,_0x3e043c){const _0x4c5a73=_0x5867,_0x4bbd90=_0x2db6fd=>{const _0x3e2bf6=_0x5867,_0x544a42=_0x2db6fd[_0x3e2bf6(0x221)](/[\\/]+/g,'/')[_0x3e2bf6(0x221)](/\/$/,'');return process[_0x3e2bf6(0x1ec)]===_0x3e2bf6(0x237)?_0x544a42[_0x3e2bf6(0x214)]():_0x544a42;},_0x13221b=_0x4bbd90(_0x58f095),_0x36b00a=_0x4bbd90(_0x3e043c);if(_0x13221b===_0x36b00a)return!![];return _0x13221b[_0x4c5a73(0x233)](_0x36b00a+'/');}export function claudeDiscoveredSession(_0x1228cc,_0x2003d8){const _0xd712b=_0x5867;if(typeof _0x1228cc!==_0xd712b(0x209)||_0x1228cc===null)return undefined;const _0x3dc6b4=_0x1228cc;if(_0x3dc6b4[_0xd712b(0x22a)]===!![])return undefined;const _0x51797e=typeof _0x3dc6b4[_0xd712b(0x1d3)]===_0xd712b(0x212)?_0x3dc6b4[_0xd712b(0x1d3)]:typeof _0x3dc6b4['id']===_0xd712b(0x212)?_0x3dc6b4['id']:undefined;if(_0x51797e===undefined||_0x51797e[_0xd712b(0x219)]===-0x2190+-0x1933*0x1+0x865*0x7)return undefined;const _0x2b07ec=typeof _0x3dc6b4[_0xd712b(0x1bb)]===_0xd712b(0x212)?_0x3dc6b4[_0xd712b(0x1bb)]:typeof _0x3dc6b4[_0xd712b(0x1d9)]===_0xd712b(0x212)?_0x3dc6b4[_0xd712b(0x1d9)]:undefined,_0x54e36a=typeof _0x3dc6b4[_0xd712b(0x1b5)]===_0xd712b(0x212)&&_0x3dc6b4[_0xd712b(0x1b5)][_0xd712b(0x219)]>0x1*-0x253d+-0x15ef+-0x874*-0x7?_0x3dc6b4[_0xd712b(0x1b5)]:_0x2003d8;return{'externalSessionId':_0x51797e,'cwd':_0x54e36a,..._0x2b07ec===undefined?{}:{'title':_0x2b07ec[_0xd712b(0x1c2)](0x750+0x1926+-0x2076,0x1*0x769+-0x2111*-0x1+-0x282a)}};}export function latestNativeActivity(_0x289dd0){const _0x5fa6eb=_0x5867;return _0x289dd0[_0x5fa6eb(0x23d)];}export function sameContextUsage(_0x24d5f7,_0x3c6cac){const _0x4adc6d=_0x5867;return _0x24d5f7[_0x4adc6d(0x217)]===_0x3c6cac[_0x4adc6d(0x217)]&&_0x24d5f7[_0x4adc6d(0x1ff)]===_0x3c6cac[_0x4adc6d(0x1ff)]&&_0x24d5f7[_0x4adc6d(0x205)]===_0x3c6cac[_0x4adc6d(0x205)];}function _0x5867(_0x3a834c,_0x46b1ba){_0x3a834c=_0x3a834c-(0x1724*-0x1+0x1c19*0x1+-0x340);const _0x561f29=_0x3bda();let _0x4a3e7b=_0x561f29[_0x3a834c];if(_0x5867['CXTDfJ']===undefined){var _0x588dce=function(_0x34bb89){const _0x43ee75='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ba8fa='',_0x89b234='';for(let _0x46f8e1=0xe5*-0xa+-0x1*0x2126+0x2a18,_0x8b8a3a,_0x5490a8,_0x58907d=0x1e80+-0x13d6+0xb6*-0xf;_0x5490a8=_0x34bb89['charAt'](_0x58907d++);~_0x5490a8&&(_0x8b8a3a=_0x46f8e1%(0x1*0x1d0e+0x16aa+0xced*-0x4)?_0x8b8a3a*(0xbef+-0x1*-0x1852+-0x2401)+_0x5490a8:_0x5490a8,_0x46f8e1++%(-0x1933*0x1+0x6f4*-0x5+0x3bfb))?_0x4ba8fa+=String['fromCharCode'](-0x15ef*0x1+-0xd5*-0xd+0x1bb*0x7&_0x8b8a3a>>(-(-0x866+0x242*-0x1+0x1*0xaaa)*_0x46f8e1&0x1d47+-0x7*0x556+0x819)):-0x2*-0xfb+0xcc4+-0xeba){_0x5490a8=_0x43ee75['indexOf'](_0x5490a8);}for(let _0x86f7ec=0x1a68+-0x2f*-0x68+-0x68*0x70,_0x34367f=_0x4ba8fa['length'];_0x86f7ec<_0x34367f;_0x86f7ec++){_0x89b234+='%'+('00'+_0x4ba8fa['charCodeAt'](_0x86f7ec)['toString'](0x1e08+-0x125b+-0xb9d))['slice'](-(0x289*-0x1+0x21ed*-0x1+0x2478));}return decodeURIComponent(_0x89b234);};_0x5867['olNuKR']=_0x588dce,_0x5867['DtQqbO']={},_0x5867['CXTDfJ']=!![];}const _0x5373cb=_0x561f29[-0x488+0x83*0x49+-0x20d3];_0x5867['cIuSRR']!==_0x5373cb&&(_0x5867['DtQqbO']={},_0x5867['cIuSRR']=_0x5373cb);const _0x2308d1=_0x5867['DtQqbO'][_0x3a834c];return _0x2308d1===undefined?(_0x4a3e7b=_0x5867['olNuKR'](_0x4a3e7b),_0x5867['DtQqbO'][_0x3a834c]=_0x4a3e7b):_0x4a3e7b=_0x2308d1,_0x4a3e7b;}export function isNativeHistory(_0x285a69){const _0xa6c037=_0x5867;return typeof _0x285a69===_0xa6c037(0x209)&&_0x285a69!==null&&Array[_0xa6c037(0x23f)](_0x285a69[_0xa6c037(0x23b)]);}export function deduplicateDirectSessions(_0x322687){const _0x41e068=_0x5867,_0x31831b=new Map();for(const _0x3d7437 of _0x322687){const _0x596a79=_0x31831b[_0x41e068(0x20c)](_0x3d7437['id']);if(_0x596a79===undefined||_0x596a79[_0x41e068(0x23d)]<_0x3d7437[_0x41e068(0x23d)])_0x31831b[_0x41e068(0x208)](_0x3d7437['id'],_0x3d7437);}return[..._0x31831b[_0x41e068(0x1f0)]()][_0x41e068(0x1f3)]((_0x2c8bfb,_0x265c55)=>_0x265c55[_0x41e068(0x23d)]-_0x2c8bfb[_0x41e068(0x23d)]);}export function nativeConversationPage(_0x2cb19b,_0x5c40c0,_0x10661a,_0x50f20a=[],_0x5b35b8=()=>[]){const _0x2e89e8=_0x5867,_0x3b54af=Math[_0x2e89e8(0x20d)](Math[_0x2e89e8(0x1d5)](_0x10661a[_0x2e89e8(0x1f5)]??0x22e+0xe*-0xf2+-0x16*-0x82,0x3b*-0x63+-0xd3e+-0x10*-0x241),-0x10*-0x83+-0x1377+0xd3b),_0x40232c=_0x5c40c0[_0x2e89e8(0x1c0)]===!![]?undefined:_0x10661a[_0x2e89e8(0x1f1)],_0x41c815=nativeTranscriptTurns(_0x5c40c0[_0x2e89e8(0x23b)]),_0x5d6ec5=nativeTranscriptTurnIds(_0x2cb19b['id'],_0x41c815),_0x15fb64=nativePageEnd(_0x40232c,_0x2cb19b['id'],_0x41c815[_0x2e89e8(0x219)]),_0x5ceb7d=Math[_0x2e89e8(0x1d5)](-0xdf2+0x289*-0x1+0x107b*0x1,_0x15fb64-_0x3b54af),_0x1cde99=_0x41c815[_0x2e89e8(0x1c2)](_0x5ceb7d,_0x15fb64)[_0x2e89e8(0x1b7)]((_0x19e3ec,_0x10f077)=>{const _0x23a3b3=_0x2e89e8,_0x3936f2=_0x19e3ec[_0x23a3b3(0x1c9)](({entry:_0x24c72b})=>_0x24c72b[_0x23a3b3(0x1f2)]===_0x23a3b3(0x235)&&_0x24c72b[_0x23a3b3(0x224)]===_0x23a3b3(0x1e7))?.[_0x23a3b3(0x1c6)],_0xac5e43=_0x3936f2?.[_0x23a3b3(0x1f2)]===_0x23a3b3(0x235)?nativeUserClientMessageId(_0x2cb19b[_0x23a3b3(0x1c8)],_0x3936f2,_0x3936f2[_0x23a3b3(0x20f)],_0x50f20a):null,_0x36ab2b=typeof _0xac5e43===_0x23a3b3(0x212)?_0x50f20a[_0x23a3b3(0x1c9)](_0x831046=>runtimeTurnClientMessageId(_0x831046)===_0xac5e43):undefined,_0x402753=_0x36ab2b?.['id']??_0x5d6ec5[_0x5ceb7d+_0x10f077],_0x307b2c=nativeTranscriptItemIdentities(_0x19e3ec),_0x36e28f=_0x19e3ec[_0x23a3b3(0x1b7)](({entry:_0x3cc0ea,index:_0x1d1d71},_0x42e0b6)=>({...nativeTranscriptConversationItem(_0x2cb19b,_0x3cc0ea,_0x1d1d71,_0x307b2c[_0x42e0b6],_0x402753,_0x50f20a,_0x5b35b8),'runId':_0x36ab2b?.[_0x23a3b3(0x228)]??null})),_0x46b0d2=(_0x36ab2b?.[_0x23a3b3(0x23b)]??[])[_0x23a3b3(0x1e1)](_0x4c46f3=>_0x4c46f3[_0x23a3b3(0x1f2)]===_0x23a3b3(0x21c))[_0x23a3b3(0x1b7)](_0x327963=>({..._0x327963,'turnId':_0x402753,'runId':_0x36ab2b?.[_0x23a3b3(0x228)]??null})),_0x5ef9f1=runtimeAssistantProjectionMoreComplete(_0x36ab2b,_0x36e28f)?_0x36ab2b[_0x23a3b3(0x23b)][_0x23a3b3(0x1b7)](_0x28e531=>({..._0x28e531,'turnId':_0x402753,'runId':_0x36ab2b[_0x23a3b3(0x228)]})):[..._0x36e28f,..._0x46b0d2[_0x23a3b3(0x1e1)](_0x435f3e=>!_0x36e28f[_0x23a3b3(0x23a)](_0x2801c6=>_0x2801c6['id']===_0x435f3e['id']))],_0x507372=_0x5ef9f1[-0x4ab*0x1+0x28*-0x1d+0x933]?.[_0x23a3b3(0x22f)]??null,_0xc86ecf=_0x5ef9f1['at'](-(0xe3*0xa+0x3c5*0x5+-0x1bb6))?.[_0x23a3b3(0x1b8)]??_0x507372,_0x527cdd=lastNativeItemId(_0x19e3ec);return{'id':_0x402753,'sessionId':_0x2cb19b['id'],'runId':_0x36ab2b?.[_0x23a3b3(0x228)]??null,'userItemId':_0x5ef9f1[_0x23a3b3(0x1c9)](_0x18b8c5=>_0x18b8c5[_0x23a3b3(0x1f2)]===_0x23a3b3(0x1e5))?.['id']??null,'status':_0x46b0d2[_0x23a3b3(0x219)]>-0x211*-0x2+-0x84b*-0x2+0x374*-0x6?_0x23a3b3(0x210):_0x23a3b3(0x1fe),'model':null,'effort':null,'access':null,..._0x527cdd===undefined||_0x2cb19b[_0x23a3b3(0x1c8)]!==_0x23a3b3(0x21e)?{}:{'rewind':{'before':lastNativeItemId(_0x41c815[_0x5ceb7d+_0x10f077-(-0x2029+0x49*0xd+0x1c75*0x1)]??[])??null,'after':_0x527cdd}},'items':_0x5ef9f1,'startedAt':_0x507372,'completedAt':_0xc86ecf};}),_0x3fff=_0x1cde99,_0x5e8020=_0x5ceb7d,_0x18fe6d={'sessionId':_0x2cb19b['id'],..._0x5c40c0[_0x2e89e8(0x1cc)]===undefined?{}:{'snapshotEnd':_0x5c40c0[_0x2e89e8(0x1cc)]},..._0x5c40c0[_0x2e89e8(0x1cb)]===undefined?{}:{'nextEnd':_0x5c40c0[_0x2e89e8(0x1cb)]},..._0x5c40c0[_0x2e89e8(0x1fc)]===undefined?{}:{'fileAnchor':_0x5c40c0[_0x2e89e8(0x1fc)]},..._0x5c40c0[_0x2e89e8(0x1e0)]===undefined?{}:{'anchorBytes':_0x5c40c0[_0x2e89e8(0x1e0)]},'readLimit':_0x5c40c0[_0x2e89e8(0x232)]??_0x3b54af},_0x599fa2=_0x5c40c0[_0x2e89e8(0x1c5)]===!![]&&_0x5c40c0[_0x2e89e8(0x20b)]!==undefined&&_0x5c40c0[_0x2e89e8(0x1cc)]!==undefined&&_0x5c40c0[_0x2e89e8(0x1fc)]!==undefined&&_0x5c40c0[_0x2e89e8(0x1e0)]!==undefined?Buffer[_0x2e89e8(0x1d2)](JSON[_0x2e89e8(0x230)]({'sessionId':_0x2cb19b['id'],'snapshotEnd':_0x5c40c0[_0x2e89e8(0x1cc)],'nextEnd':_0x5c40c0[_0x2e89e8(0x20b)],'fileAnchor':_0x5c40c0[_0x2e89e8(0x1fc)],'anchorBytes':_0x5c40c0[_0x2e89e8(0x1e0)],'readLimit':_0x5c40c0[_0x2e89e8(0x232)]??_0x3b54af}))[_0x2e89e8(0x1d8)](_0x2e89e8(0x1cd)):null;return{'turns':_0x3fff,'nextCursor':_0x5e8020>0x469+-0x1*0x463+0x3*-0x2?Buffer[_0x2e89e8(0x1d2)](JSON[_0x2e89e8(0x230)]({..._0x18fe6d,'end':_0x5e8020}))[_0x2e89e8(0x1d8)](_0x2e89e8(0x1cd)):_0x599fa2};}export function runtimeAssistantProjectionMoreComplete(_0x6e51f,_0x2fd704){const _0x94c76e=_0x5867;if(_0x6e51f===undefined)return![];const _0xb58726=_0x344c2e=>_0x344c2e[_0x94c76e(0x236)]((_0x536f9e,_0x4de59d)=>{const _0x48a361=_0x94c76e;if(_0x4de59d[_0x48a361(0x1f2)]!==_0x48a361(0x1f4)||!isPlainRecord(_0x4de59d[_0x48a361(0x22c)]))return _0x536f9e;return{'count':_0x536f9e[_0x48a361(0x1be)]+(0x1*0x19e3+0x3f2+-0x2*0xeea),'characters':_0x536f9e[_0x48a361(0x1d0)]+(typeof _0x4de59d[_0x48a361(0x22c)][_0x48a361(0x218)]===_0x48a361(0x212)?_0x4de59d[_0x48a361(0x22c)][_0x48a361(0x218)][_0x48a361(0x219)]:-0x3*-0xa9e+-0x255f+0x585)};},{'count':0x0,'characters':0x0}),_0x3abc1c=_0xb58726(_0x6e51f[_0x94c76e(0x23b)]),_0x61ca48=_0xb58726(_0x2fd704);return _0x3abc1c[_0x94c76e(0x1be)]>_0x61ca48[_0x94c76e(0x1be)]||_0x3abc1c[_0x94c76e(0x1d0)]>_0x61ca48[_0x94c76e(0x1d0)];}function runtimeTurnClientMessageId(_0x40498e){const _0xaf0351=_0x5867,_0x44c58a=_0x40498e[_0xaf0351(0x23b)][_0xaf0351(0x1c9)](_0x5403f1=>_0x5403f1[_0xaf0351(0x1f2)]===_0xaf0351(0x1e5));return isPlainRecord(_0x44c58a?.[_0xaf0351(0x22c)])&&typeof _0x44c58a[_0xaf0351(0x22c)][_0xaf0351(0x223)]===_0xaf0351(0x212)?_0x44c58a[_0xaf0351(0x22c)][_0xaf0351(0x223)]:undefined;}function lastNativeItemId(_0x483253){const _0x2bdedc=_0x5867;return _0x483253[_0x2bdedc(0x1c1)](({entry:_0x43d5f2})=>_0x43d5f2[_0x2bdedc(0x1b9)]!==undefined)?.[_0x2bdedc(0x1c6)][_0x2bdedc(0x1b9)];}function nativeTranscriptTurnIds(_0x475e6a,_0x163708){const _0x357909=_0x5867,_0x52ad45=new Map();return _0x163708[_0x357909(0x1b7)](_0x423c37=>{const _0x3b609f=_0x357909,_0x1521b5=_0x423c37[_0x3b609f(0x1c9)](({entry:_0x34185e})=>_0x34185e[_0x3b609f(0x1f2)]===_0x3b609f(0x235)&&_0x34185e[_0x3b609f(0x224)]===_0x3b609f(0x1e7))?.[_0x3b609f(0x1c6)],_0x53dd2f=_0x1521b5??_0x423c37[0xd1b+0x1*0x40+-0xd5b]?.[_0x3b609f(0x1c6)],_0x5e25e4=_0x53dd2f?.[_0x3b609f(0x1b9)]??nativeTranscriptItemFingerprint(_0x53dd2f),_0x43af36=_0x52ad45[_0x3b609f(0x20c)](_0x5e25e4)??0x165d+-0x1bb9+0x55c;return _0x52ad45[_0x3b609f(0x208)](_0x5e25e4,_0x43af36+(0x2*-0xda3+0x12a5+-0x55*-0x1a)),_0x475e6a+_0x3b609f(0x243)+_0x5e25e4+(_0x43af36===0x12be*-0x1+0x3*-0xc7d+0x3835?'':':'+_0x43af36);});}function _0x3bda(){const _0x456e0f=['BgfZDefJDgL2Axr5qxq','B3v0Chv0u3vTBwfYEq','AxnbCNjHEq','q09nueXfveve','m2PUy0jita','zgvZy3jPChrPB24','oM5HDgL2ztO','y3DK','Aw1Hz2vbDhrHy2HTzw50CW','BwfW','y29TCgXLDgvKqxq','BMf0AxzLswq','CgHHC2u','C3vTBwfYEq','CxvLC3rPB24','DgvZDa','y291BNq','CMfJzq','y3vYC29YuMvZzxq','zMLUzeXHC3q','C2XPy2u','u0Lor0Xfx1nftevdva','mJaWnteWngT1uureqG','Dhj1BMnHDgvK','zw50CNK','nZq1mJG1B3nVr0vd','CNvUBMvY','zMLUza','BxvSDgLtzwXLy3q','D2LUzg93rw5K','C25HChnOB3rfBMq','yMfZzty0DxjS','zMXHDe1HCa','q09ervHF','y2HHCMfJDgvYCW','tvvmveLFu0vmrunu','zNjVBq','C2vZC2LVBKLK','Aw5WDxrtDw1Tyxj5','Bwf4','Dg9vChbLCKnHC2u','nZy5ndiWwuz2Bwjm','Dg9tDhjPBMC','DgL0Bgu','u0HpuLrFvevyva','Aw5WDxq','DxbKyxrL','BMf0AxzLoG','zMLSztO','C291CMnLrxzLBNruExbL','yw5JAg9YqNL0zxm','zMLSDgvY','AxrLBs0','zw50CMLLCW','Dw5Yzwy','DxnLCL9TzxnZywDL','C3vIywDLBNq','vvnfuG','ChjLDMLLDW','CxvLC3rPB25Z','y29KzxG','zgLZDgfUy2u','CgXHDgzVCM0','DxnLCL9PBNb1Df9Yzxf1zxn0','oML0zw06','ode4ntiWuvPcyLDh','DMfSDwvZ','y3vYC29Y','A2LUza','C29YDa','yxnZAxn0yw50x21LC3nHz2u','BgLTAxq','C291CMnLs2LUza','mZKWoteWvhvWt2Ht','nKjfv3nltq','Dg9VBf9JywXS','x0Lex01ju1njtKC','phbYB3bVC2vKx3bSyw4+','zMLSzufUy2HVCG','ywjZ','u1vdq0vfreve','DxnLzfrVA2vUCW','ChvZAa','y2XHDwrLlxf1zxn0Aw9Ulq','ve9ptf9fwevdvvrjt05FrKfjteve','zgf0yq','mtqZotqZmxPxCgnoBG','Bwf4vg9Rzw5Z','DhjPBq','B3v0Chv0vhj1BMnHDgvK','C2v0','B2jQzwn0','zMfPBgvK','D2LUzg93u3rHCNq','z2v0','BwLU','BwfYA2rVD24','y3jLyxrLzef0','rKfjteve','CMvHC29UAw5Nx3n1Bw1HCNK','C3rYAw5N','qundrvburuq','Dg9mB3DLCKnHC2u','BMf0AxzLlwzPBgu','qxnRvxnLCLf1zxn0Aw9U','Bw9KzwW','Dgv4Da','BgvUz3rO','Dg9VBe5HBwu','CgXHBG','zxjYB3i','mtm3mJb6Egv6EKG','y2XHDwrLlwnVzgu','C2vJDgLVBNm','Dw5RBM93BG','CMvWBgfJzq','C291CMnL','y2XPzw50twvZC2fNzuLK','CM9Szq','C3vIqwDLBNq','y29UDgv4Df9JB21Wywn0Aw9U','mJCWyLbszwTP','CNvUswq','yxr0ywnOBwvUDhm','AxntAwrLy2HHAw4','Dg9VBfvZzuLK','Cgf5Bg9Hza','BMfTzq','BgfIzwW','C3rHCNrLzef0','C3rYAw5NAwz5','zgLNzxn0','D2LUzg93uMvHzeXPBwL0','C3rHCNrZv2L0Aa','Aw5WDxruCNvUy2f0zwq','BwvZC2fNzq','CMvKDwnL','D2LUmZi','B3b0Aw9UCW','q09ervHFveHsrufex0nxrf9jtLzbteLe','C29Tzq','AxrLBxm','C2HHmJu2'];_0x3bda=function(){return _0x456e0f;};return _0x3bda();}function nativeTranscriptItemIdentities(_0x1983b0){const _0x2f9579=_0x5867,_0x534612=new Map();for(const {entry:_0x3531e9}of _0x1983b0)if(_0x3531e9[_0x2f9579(0x1b9)]!==undefined)_0x534612[_0x2f9579(0x208)](_0x3531e9[_0x2f9579(0x1b9)],(_0x534612[_0x2f9579(0x20c)](_0x3531e9[_0x2f9579(0x1b9)])??-0x60a+-0x26af+-0x2cb9*-0x1)+(0x6d*-0x6+-0x3bb*-0x8+-0x1b49));const _0x55bc01=new Map();return _0x1983b0[_0x2f9579(0x1b7)](({entry:_0x4d7a24})=>{const _0x1a7daa=_0x2f9579,_0x3f9e84=_0x4d7a24[_0x1a7daa(0x1b9)]!==undefined&&_0x534612[_0x1a7daa(0x20c)](_0x4d7a24[_0x1a7daa(0x1b9)])===0x12b0+0x1873+0x2*-0x1591?_0x4d7a24[_0x1a7daa(0x1b9)]:''+(_0x4d7a24[_0x1a7daa(0x1b9)]===undefined?'':_0x4d7a24[_0x1a7daa(0x1b9)]+':')+nativeTranscriptItemFingerprint(_0x4d7a24),_0x1fc4e5=_0x55bc01[_0x1a7daa(0x20c)](_0x3f9e84)??-0x216b+0x231c+-0x1b1;return _0x55bc01[_0x1a7daa(0x208)](_0x3f9e84,_0x1fc4e5+(-0xcb+-0x10b7+0x1183*0x1)),_0x1fc4e5===0xba9*0x1+-0x6*0x550+0x1437?_0x3f9e84:_0x3f9e84+':'+_0x1fc4e5;});}function nativeTranscriptItemFingerprint(_0x2d5942){const _0x26857b=_0x5867;return createHash(_0x26857b(0x23c))[_0x26857b(0x1dc)](JSON[_0x26857b(0x230)](_0x2d5942??null))[_0x26857b(0x231)](_0x26857b(0x1cd))[_0x26857b(0x1c2)](0x119b+0xa8+-0x1243,0x16*0x119+-0x2430+0x1*0xc22);}function nativeTranscriptTurns(_0x289dc0){const _0x1ed06c=_0x5867,_0x5c4903=[];let _0xe80382=[];for(const [_0x14b701,_0x22e65e]of _0x289dc0[_0x1ed06c(0x1e3)]()){_0x22e65e[_0x1ed06c(0x1f2)]===_0x1ed06c(0x235)&&_0x22e65e[_0x1ed06c(0x224)]===_0x1ed06c(0x1e7)&&_0xe80382[_0x1ed06c(0x219)]>-0x1*-0x61a+-0x1*0x74b+0x131&&(_0x5c4903[_0x1ed06c(0x200)](_0xe80382),_0xe80382=[]),_0xe80382[_0x1ed06c(0x200)]({'entry':_0x22e65e,'index':_0x14b701});}if(_0xe80382[_0x1ed06c(0x219)]>-0x18bf*0x1+0x6b1+0x120e)_0x5c4903[_0x1ed06c(0x200)](_0xe80382);return _0x5c4903;}function nativeTranscriptConversationItem(_0x22eb61,_0x2b6826,_0x1f806d,_0x109993,_0x214a9a,_0x3db365,_0x57ec9a){const _0x37d3f3=_0x5867,_0xa149d0=_0x2b6826[_0x37d3f3(0x20f)],_0x454694=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x1f9),_0x5317f5=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x220),_0x1d2ce7=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x211),_0x414d63=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x226),_0x6468f0=_0x22eb61[_0x37d3f3(0x1c8)]===_0x37d3f3(0x21e)&&_0x454694?normalizeClaudeTool(_0x2b6826[_0x37d3f3(0x21a)],_0x2b6826[_0x37d3f3(0x1db)],_0x2b6826[_0x37d3f3(0x23e)],_0x2b6826[_0x37d3f3(0x20a)],_0x2b6826[_0x37d3f3(0x234)]||_0x2b6826[_0x37d3f3(0x207)]):undefined,_0x10fefa=_0x22eb61[_0x37d3f3(0x1c8)]===_0x37d3f3(0x1ea)&&_0x454694?normalizeCodexTool({'name':_0x2b6826[_0x37d3f3(0x21a)],'namespace':_0x37d3f3(0x1ea),'rawInput':_0x2b6826[_0x37d3f3(0x1db)],'inputSummary':_0x2b6826[_0x37d3f3(0x1d4)],'outputSummary':_0x2b6826[_0x37d3f3(0x23e)],'truncated':_0x2b6826[_0x37d3f3(0x234)]||_0x2b6826[_0x37d3f3(0x207)],..._0x2b6826[_0x37d3f3(0x1b6)]===undefined?{}:{'attachments':_0x2b6826[_0x37d3f3(0x1b6)]}}):undefined,_0x264eca=_0x22eb61[_0x37d3f3(0x1c8)]===_0x37d3f3(0x21e)&&_0x454694&&_0x2b6826[_0x37d3f3(0x21a)]===_0x37d3f3(0x216)&&isPlainRecord(_0x2b6826[_0x37d3f3(0x1db)])?claudeUserInputQuestions(_0x2b6826[_0x37d3f3(0x1db)]):[],_0x519318=_0x264eca[_0x37d3f3(0x219)]>0x1*-0x1555+0x1c41+-0x6ec,_0x1b2192=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)&&_0x2b6826[_0x37d3f3(0x224)]===_0x37d3f3(0x1e7)?nativeUserClientMessageId(_0x22eb61[_0x37d3f3(0x1c8)],_0x2b6826,_0xa149d0,_0x3db365):null,_0x18c0d1=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)?_0x2b6826[_0x37d3f3(0x224)]===_0x37d3f3(0x1e7)?nativeUserMessageText(_0x22eb61[_0x37d3f3(0x1c8)],_0x2b6826[_0x37d3f3(0x218)]):_0x2b6826[_0x37d3f3(0x218)]:'',_0xb84ecc=_0x1b2192===null?undefined:runtimeUserMessagePayload(_0x1b2192,_0x3db365),_0x363566=Array[_0x37d3f3(0x23f)](_0xb84ecc?.[_0x37d3f3(0x229)])?_0xb84ecc[_0x37d3f3(0x229)]:_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)&&_0x2b6826[_0x37d3f3(0x224)]===_0x37d3f3(0x1e7)&&_0x2b6826[_0x37d3f3(0x1b6)]!==undefined?_0x57ec9a(_0x2b6826[_0x37d3f3(0x1b6)]):[],_0x1cbf79=_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)&&_0x2b6826[_0x37d3f3(0x224)]!==_0x37d3f3(0x1e7)?claudePlanText(_0x18c0d1):undefined,_0x1aea38={'id':_0x214a9a+_0x37d3f3(0x1ee)+_0x109993,'sessionId':_0x22eb61['id'],'turnId':_0x214a9a,'runId':null,'parentItemId':null,'sourceSequence':_0x1f806d,'revision':0x0,'kind':_0x519318?_0x37d3f3(0x1ed):_0x1d2ce7?_0x37d3f3(0x211):_0x414d63?_0x37d3f3(0x226):_0x454694?_0x6468f0?.[_0x37d3f3(0x1f2)]??_0x10fefa?.[_0x37d3f3(0x1f2)]??_0x37d3f3(0x1f9):_0x5317f5?_0x37d3f3(0x220):_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)&&_0x2b6826[_0x37d3f3(0x224)]===_0x37d3f3(0x1e7)?_0x37d3f3(0x1e5):_0x1cbf79!==undefined?_0x37d3f3(0x21b):_0x37d3f3(0x1f4),'status':_0x37d3f3(0x240),'payload':_0x519318?{'requestId':_0x37d3f3(0x1dd)+(_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x1f9)?_0x2b6826[_0x37d3f3(0x22b)]:_0x37d3f3(0x1e2)+_0x109993),'questions':_0x264eca}:_0x1d2ce7?{'sections':_0x2b6826[_0x37d3f3(0x21f)]}:_0x414d63?{'phase':_0x2b6826[_0x37d3f3(0x1ba)],'summary':_0x2b6826[_0x37d3f3(0x1bb)]}:_0x454694?{..._0x6468f0?.[_0x37d3f3(0x22c)]??_0x10fefa?.[_0x37d3f3(0x22c)]??{'namespace':_0x22eb61[_0x37d3f3(0x1c8)],'toolName':_0x2b6826[_0x37d3f3(0x21a)],'title':_0x2b6826[_0x37d3f3(0x21a)],'inputSummary':_0x2b6826[_0x37d3f3(0x1d4)],'outputSummary':_0x2b6826[_0x37d3f3(0x23e)],'progressLabel':null,'errorCode':_0x2b6826[_0x37d3f3(0x20a)]?_0x37d3f3(0x202):null,'truncated':_0x2b6826[_0x37d3f3(0x234)]||_0x2b6826[_0x37d3f3(0x207)]},..._0x2b6826[_0x37d3f3(0x1b6)]===undefined?{}:{'attachments':_0x57ec9a(_0x2b6826[_0x37d3f3(0x1b6)])}}:_0x5317f5?{'sourceEventType':_0x2b6826[_0x37d3f3(0x1df)],'label':_0x2b6826[_0x37d3f3(0x22e)]}:_0x2b6826[_0x37d3f3(0x1f2)]===_0x37d3f3(0x235)&&_0x2b6826[_0x37d3f3(0x224)]===_0x37d3f3(0x1e7)?{'clientMessageId':_0x1b2192,'text':_0x18c0d1,'contexts':[],'delivery':_0x37d3f3(0x213),..._0x363566[_0x37d3f3(0x219)]===-0x83*0x2f+-0x1411+-0x2c1e*-0x1?{}:{'attachments':_0x363566}}:_0x1cbf79!==undefined?{'explanation':compactRunnerText(_0x1cbf79,-0x7157+0x410f+0x1948*0x5),'steps':[]}:{'text':_0x18c0d1,'format':_0x37d3f3(0x20e),'source':_0x37d3f3(0x215)},'startedAt':_0xa149d0,'completedAt':_0xa149d0};return _0x1aea38;}export function nativeUserClientMessageId(_0x734dce,_0x3a0fc9,_0x2818d7,_0x47b55b){const _0x4f7614=_0x5867,_0x207566=[];for(const _0x4faad8 of _0x47b55b){const _0x5ed9aa=_0x4faad8[_0x4f7614(0x23b)][_0x4f7614(0x1c9)](_0x41b5bb=>_0x41b5bb[_0x4f7614(0x1f2)]===_0x4f7614(0x1e5));if(_0x5ed9aa===undefined||!isPlainRecord(_0x5ed9aa[_0x4f7614(0x22c)]))continue;const _0x1b26f9=_0x5ed9aa[_0x4f7614(0x22c)],_0x279c2a=typeof _0x1b26f9[_0x4f7614(0x223)]===_0x4f7614(0x212)?_0x1b26f9[_0x4f7614(0x223)]:null;if(_0x279c2a===null||_0x1b26f9[_0x4f7614(0x218)]!==nativeUserMessageText(_0x734dce,_0x3a0fc9[_0x4f7614(0x218)]))continue;const _0xf0eb78=_0x5ed9aa[_0x4f7614(0x22f)]??_0x4faad8[_0x4f7614(0x22f)];_0x207566[_0x4f7614(0x200)]({'clientMessageId':_0x279c2a,'createdAt':_0xf0eb78??null});}if(_0x2818d7===null)return _0x207566[_0x4f7614(0x219)]===0x24a7*0x1+-0x1*-0x89+-0x3*0xc65?_0x207566[0xc68+-0x177b*-0x1+-0x1*0x23e3][_0x4f7614(0x223)]:null;const _0x234481=_0x207566[_0x4f7614(0x1e1)](_0x5b0d54=>_0x5b0d54[_0x4f7614(0x20f)]!==null)[_0x4f7614(0x1b7)](_0x422386=>({..._0x422386,'distance':Math[_0x4f7614(0x1fd)](_0x2818d7-_0x422386[_0x4f7614(0x20f)])}))[_0x4f7614(0x1e1)](_0x4f0fdf=>_0x4f0fdf[_0x4f7614(0x1eb)]<=-0x82c8+0x27*-0x25+0x172cb)[_0x4f7614(0x1f3)]((_0x8f6b8c,_0xc6edbc)=>_0x8f6b8c[_0x4f7614(0x1eb)]-_0xc6edbc[_0x4f7614(0x1eb)]);return _0x234481[-0x1e31*-0x1+-0x4f3*0x7+0x474]?.[_0x4f7614(0x223)]??null;}function runtimeUserMessagePayload(_0x57a0d3,_0x4ffc29){const _0x3756e7=_0x5867;for(const _0x1c288c of _0x4ffc29){const _0x55d267=_0x1c288c[_0x3756e7(0x23b)][_0x3756e7(0x1c9)](_0x1ac06a=>_0x1ac06a[_0x3756e7(0x1f2)]===_0x3756e7(0x1e5));if(!isPlainRecord(_0x55d267?.[_0x3756e7(0x22c)])||_0x55d267[_0x3756e7(0x22c)][_0x3756e7(0x223)]!==_0x57a0d3)continue;return _0x55d267[_0x3756e7(0x22c)];}return undefined;}function nativeUserMessageText(_0xa90d6a,_0x4233e3){const _0xd6bbf3=_0x5867,_0x1962b=stripMissionStartPrompt(_0x4233e3),_0x163a5b=_0xa90d6a===_0xd6bbf3(0x21e)?stripClaudePlanTag(_0x1962b):_0x1962b;if(_0xa90d6a!==_0xd6bbf3(0x1ea))return _0x163a5b;return parseCodexComposerImageMarkers(_0x163a5b)[_0xd6bbf3(0x218)];}export function claudePlanText(_0x486bce){const _0x3376b5=_0x5867,_0x45d468=_0x486bce[_0x3376b5(0x206)]();if(!_0x45d468[_0x3376b5(0x233)](_0x3376b5(0x1fb))||!/<\/proposed_plan>\s*$/[_0x3376b5(0x1bd)](_0x45d468))return undefined;const _0x25b064=_0x45d468[_0x3376b5(0x1c2)](_0x3376b5(0x1fb)[_0x3376b5(0x219)])[_0x3376b5(0x221)](/<\/proposed_plan>\s*$/,'')[_0x3376b5(0x206)]();return _0x25b064[_0x3376b5(0x219)]>-0x1f0f*0x1+0xe7d+0x1092?_0x25b064:undefined;}export function claudeUserInputQuestions(_0x78b296){const _0x42bd95=_0x5867;if(!Array[_0x42bd95(0x23f)](_0x78b296[_0x42bd95(0x1e9)])||_0x78b296[_0x42bd95(0x1e9)][_0x42bd95(0x219)]===0x5a5+-0x55d*-0x1+-0xb02||_0x78b296[_0x42bd95(0x1e9)][_0x42bd95(0x219)]>-0x5*-0x643+0x620+-0x256b)return[];const _0xa0e0c2=_0x78b296[_0x42bd95(0x1e9)][_0x42bd95(0x1b7)]((_0x130925,_0xd8d925)=>{const _0x76fc38=_0x42bd95;if(!isPlainRecord(_0x130925)||typeof _0x130925[_0x76fc38(0x1bc)]!==_0x76fc38(0x212))return undefined;const _0x23c45a=Array[_0x76fc38(0x23f)](_0x130925[_0x76fc38(0x238)])?_0x130925[_0x76fc38(0x238)][_0x76fc38(0x1ce)](_0x33e070=>{const _0x224afb=_0x76fc38;if(!isPlainRecord(_0x33e070)||typeof _0x33e070[_0x224afb(0x22e)]!==_0x224afb(0x212))return[];const _0x276d41=compactRunnerText(_0x33e070[_0x224afb(0x22e)],-0x1*0x437+0x165f*0x1+-0x1034);return _0x276d41[_0x224afb(0x219)]===-0x1*0x259+-0x13*-0xd3+-0xc*0x11c?[]:[{'value':_0x276d41,'label':_0x276d41,'description':typeof _0x33e070[_0x224afb(0x242)]===_0x224afb(0x212)?compactRunnerText(_0x33e070[_0x224afb(0x242)],-0x1a95*0x1+0x27d+-0x100*-0x1c):null}];}):[],_0x29fbf5=_0x130925[_0x76fc38(0x1ca)]===!![];return{'id':_0x76fc38(0x201)+_0xd8d925,'prompt':compactRunnerText(_0x130925[_0x76fc38(0x1bc)],-0x1677+0x2147*0x1+-0x3e*-0x24),'input':_0x23c45a[_0x76fc38(0x219)]===-0x3*0xb7b+0x599*0x1+0x1cd8?_0x76fc38(0x1da):_0x29fbf5?_0x76fc38(0x1d1):_0x76fc38(0x1c3),'options':_0x23c45a,'allowOther':!![],'multiSelect':_0x29fbf5};});return _0xa0e0c2[_0x42bd95(0x23a)](_0x208b41=>_0x208b41===undefined)?[]:_0xa0e0c2;}