@nuvin/agent-core 0.2.0-rc.4 → 0.2.0-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x105f18,_0x26f972){const _0x9e1520={_0x23b5ca:0x4,_0x37602e:0xc5,_0x331b18:0x47c,_0x44b3a9:0x43b,_0x2fd2a3:0x215,_0x3a5205:0x20e,_0x185b18:0x38,_0x4f61c2:0x1e5,_0x2d38f5:0x1f3,_0x1fc06c:0x270,_0x59fb08:0x2db,_0x329b75:0x30e,_0x3bfdc2:0x34c,_0x647461:0x1dc,_0x9c2aec:0x168,_0x157388:0x2b9,_0x28f35c:0x21d,_0x1328bc:0x359,_0x5342d7:0x49f,_0x598202:0x21c,_0x18cc3d:0xe7,_0x30dbd4:0x3b4,_0x1ae303:0x2d3,_0x131a38:0x2bd},_0x400f90={_0x32e8ee:0x11d};function _0x129593(_0x1648b8,_0x343a8b,_0x2b7b33,_0x5d048a){return _0x4535(_0x5d048a- -_0x400f90._0x32e8ee,_0x2b7b33);}const _0x3fa0cc=_0x105f18();function _0x2120f8(_0x28386c,_0x1232b5,_0x255738,_0x42b25d){return _0x4535(_0x1232b5- -0x36,_0x28386c);}while(!![]){try{const _0x1b5b42=parseInt(_0x129593(0x5c,-0x68,-_0x9e1520._0x23b5ca,_0x9e1520._0x37602e))/0x1+parseInt(_0x2120f8(0x2b3,0x34e,_0x9e1520._0x331b18,_0x9e1520._0x44b3a9))/0x2*(-parseInt(_0x129593(0x99,_0x9e1520._0x2fd2a3,_0x9e1520._0x3a5205,0x120))/0x3)+-parseInt(_0x2120f8(-_0x9e1520._0x185b18,0x149,_0x9e1520._0x4f61c2,_0x9e1520._0x2d38f5))/0x4+parseInt(_0x2120f8(0x192,_0x9e1520._0x1fc06c,_0x9e1520._0x59fb08,_0x9e1520._0x329b75))/0x5*(-parseInt(_0x129593(0x337,_0x9e1520._0x3bfdc2,0x1a0,0x31b))/0x6)+-parseInt(_0x129593(0x2af,0x107,0x2e0,_0x9e1520._0x647461))/0x7*(parseInt(_0x129593(_0x9e1520._0x9c2aec,_0x9e1520._0x157388,0x1b9,_0x9e1520._0x28f35c))/0x8)+parseInt(_0x2120f8(_0x9e1520._0x1328bc,0x3bc,_0x9e1520._0x5342d7,0x29b))/0x9+-parseInt(_0x2120f8(_0x9e1520._0x598202,0x183,0x165,_0x9e1520._0x18cc3d))/0xa*(-parseInt(_0x2120f8(_0x9e1520._0x30dbd4,_0x9e1520._0x1ae303,_0x9e1520._0x131a38,0x2b1))/0xb);if(_0x1b5b42===_0x26f972)break;else _0x3fa0cc['push'](_0x3fa0cc['shift']());}catch(_0x4b1ef8){_0x3fa0cc['push'](_0x3fa0cc['shift']());}}}(_0x58da,0xae476));function _0x58da(){const _0x15ee56=['odCWndi5nMPrs1zvBa','BhnWlxbYB3H5','zNjLzxPL','lMPWzW','ihrVB2WGzgLZy292zxj5igzHAwXLza','ig1HDgnO','B3v0Chv0uMvNzxG','Cgf0Ag5HBwu','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Dg9VBhm','yxnPzgu','yw5ZAte2','zMv0y2HjBxbS','A2LSBgvK','ANnJB25MAwCUANnVBG','lMPZB24','DgfZA2TPBgW','qxnRvxnLCLrVB2W','CgvUzgLUzW','CMvNAxn0zxjby3rPDMvbz2vUDa','DhvYBMrVD24','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','y29TBwfUza','AhrTBfnUAxbWzxq','CgfJA2fNzxm','CxvLC3rPB24T','y29UDgv4DeXPBMS','twLJCM9ZB2z0','AhLKCMf0zu1LDge','qMfZAa','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','qgjPB21LANmVyMLVBwu','yxjNDw1LBNrZvgv4Da','DhLWzxnJCMLWDhjLywn0','igj5DgvZicH0B3rHBdOG','CNvUsw5cywnRz3jVDw5K','CMvJzw5JEurHExm','z29uB0LTCgXLBwvUDgf0Aw9U','y29UBMvJDgLVBG','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','B2jQzwn0','Ec1HCgKTA2v5','Bwf0y2HLCW','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','yNvUlMXVy2S','ANnVBMm','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','AgLNAa','zgvMyxvSDa','BgfUz3vHz2u','zMXVB3i','Aw1Hz2uVCg5N','z29Vz2XLq3nLs2v5','lMPZEa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','ywrKrxzLBNrmAxn0zw5LCG','C3rHDgu','y2fWq2HHCNm','CgfZC3DVCMq','yNvUlMXVy2TI','DhjHAwXPBMDdAhvUA3m','BwnWlwf1DgGTCMvXDwLYzwq','A2LSBa','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Bwf4q29Uy3vYCMvUDa','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','zgfZAa','B25LCNjVCG','odC3nZGYzKr0uwTf','zxHPDcbJB2rLia','Dgv4DerVy3vTzw50l2rPze9Wzw4','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','yxjNDw1LBNroyw1LCW','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','BwLUAw1HBa','y29UBMvJDa','lM51DMLU','yMfJA2DYB3vUzfjLz2LZDhj5','zgvUBY5QC29U','ywDLBNrjza','ignSB3nLihrPBwvKig91Da','rMLSzsb3CML0DgvUigf0ia','C2v0','ChjLzML4','yxnR','BgLMzwn5y2XL','zMXHDe1HCa','B2XSyw1H','B25oB3rPzMLJyxrPB24','r0LgodDH','CMvMzxjLBMnLCW','yNvKz2v0vg9Rzw5Z','AxrLBxm','wZ0+nY04kcLD','igzHAwXLzcb0BYbJBg9Zzq','D2fYBG','BxmU','zw51Bq','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','zgv0ywLS','tunqihrVB2WG','y3DK','zxHPDenVzgu','Dgv4DerVy3vTzw50l2HVDMvY','BNvTyMvY','zgvZy3jPChrVCNm','ywrK','sfruuca','Dg9vChbLCKnHC2u','Aw5JB21PBMDdywXSCW','DMvYAwz5rxHLy3v0Aw9U','CMvHC29U','Dgv4Dc9ODg1S','y2HPBgq','CMvTB3zLrxzLBNrmAxn0zw5LCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','y291BNrLCG','zg9TywLUCW','lMXVzW','C3rYAw5N','DMfSDwvZ','ywDLBNrZ','AxnfBMfIBgvK','CMLWz3jLCa','igj5DgvZ','DxbKyxrL','DhjHBNnMB3jTCW','icHZDgf0Dxm6ia','zxzPy3rjzK5LzwrLza','igzHAwXLzcb0BYbJB25Uzwn0','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','CMvNAw9U','lNbUzW','BgLUzvrLEhq','uhvIBgLZAgvKoIa','Aw52ywXPzf90B2rVx3n0yxr1CW','yNvMzMvY','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','ihrVB2WGy2fSBcbMywLSzwq','DxrTx2nVBNrLBNq','EwfYBI5SB2nR','B2f1DgG','z2vUzxjHBa','Aw50','tgLUzsa','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','u0HfteW','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','C3r5Bgu','y21KlMv4zq','CMvHza','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','zgLZy292zxi','Dg9VBhmVy2fSBa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','zxjYB3i','C3vKBW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','yMfZAa','zw5NAw5L','yMfZzw5HBwu','vg9Vig1HBNKGCMvKAxjLy3rZ','qKftsf9ftLy','C3bSAxq','y2XVC2u','Dg9KB3m','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','zNjVBq','uMvHC29UAw5Nig9WDgLVBIaI','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','DgHLBG','A2LSBfjLCxvLC3rLza','Ag92zxi','ru5w','CgfYzw50u2vZC2LVBKLK','DhnZzxj2zxiUANm','lNrZ','rxjYB3i','DxrTx2nHBxbHAwDU','Bw9Kzq','mJqWlJaUmc4W','zgvZy3jPChrPB24','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','C2L0ztO','C3LZDgvTuhjVBxb0','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','B3v0Chv0','BwLU','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','zw52','C2v0vg9KB3m','lMPWzwC','D3jPDgu','tunqihnLCNzLCIa','y2vPBa','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','CMvZDwX0CW','C3bHD24','CxvLC3rPB24','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','l3vZCI9IAw4VC2G','BxrPBwu','C2vYDMvYtMfTzq','l3vZCI9IAw4VyMfZAa','DxnLCM5HBwu','wefjx0fqsv9lrvK','B3bLBG','zw5K','Bw9KzwW','C2TPBgXZ','uefusa','ls1JB2X1Bw4','Aw50zwDLCG','te9dquXbufbeqvrb','Dg9KB3ncEvnLC3nPB24','lMPZB25J','mZu0mJu0mgHjywHyBW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Dhj1zwnVBg9Y','C2nYDwjfBNzlzxLZ','zgvSAw1PDgvY','BgLUzq','y2fWywjPBgL0AwvZ','zMjJBgLK','CgLK','C3rHDhvZvgv4Da','C3vWzxjszwzPBMu','CgXHDgzVCM0','ChjVy2vZC0v4AxrLza','C3rVCMfNzurPCG','Ag9ZDg5HBwu','cMbGya','mc4WlJaUma','y29Uy2f0','BwfUDwfS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','Bwf4rw50CMLLCW','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','z2v0','ywXSB3DLzerPCNm','y2fSBfrVB2W','C2LNBMfS','l3bPza','Aw5JBhvKzv9KB21HAw5Z','rMv0y2GGywjVCNrLzcbIEsb1C2vY','Dg9VBfjLC3vSDhm','vg9WAwmGC2v0ihrVici','vw5RBM93BIb0B29SoIa','BhmGlwXH','Dg9VBa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','igzYB20G','ywXSu2v0DgXLza','tg9HzgvKigzYB206ia','qMfZzsbKAxjLy3rVCNK6ia','C2vUze5VDgLMAwnHDgLVBG','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zgvSzxrL','C2vSzwn0Aw9UuMfUz2u','zMLUzfjLzMvYzw5Jzxm','uxvLC3rPB24G','Aw1Hz2uVD2vICa','z29Vz2XLq3nLq3G','Dg9WAwm','BwfW','Dgf2AwX5','Dg9VBenHBgXjza','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','u0Lhs0Lmta','r3jLCa','D29YA3nWywnLl3n5BwjVBa','r2XVyG','y3jSzG','ntq3meTYCunvzG','C3rHCNq','zgLYBMfTzq','y29ZDa','Aw1Hz2uVz2LM','C3rKAw4','qMvHCMvYia','zMfPBgvK','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','yxjNCW','BwfYA2rVD24','C2L6zq','AgfUzgXL','ANnVBG','uMvXDwvZDfrPBwvVDxq','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','y2XVC2vbBgW','BM93','u2HLBgWGBM90igzVDw5KoIa','EgHPz2G','CMvSyxrPDMu','yMvHCMvY','yMfZzty0','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','ignVBxbSzxrLzc4','Aw5PDgLHBgL6zq','l2jPBI9YzW','q0rqqvri','Aw5PDgLHBgL6zwq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','C2vYDMvY','o1TE','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','C3rKAw8','yNvMzMvYq2HHCNm','B2XKvgv4Da','yxjNDw1LBNrZ','ywrKsxnZDwu','zxHPDa','Ag9TzwrPCG','CxvLC3rPB25Z','nJyZmdaYC2jsvMzP','C2vUzfjLCxvLC3q','BgLI','DgL0Bgu','DgHPBMTPBMC','Aw5JBhvKzq','B2zM','oIbPBNzHBgLKihbYAw9YAxr5','A2v5CW','BM9UBMvNyxrPDMu','y2f0y2G','y3jLyxrLzef0','AgfZ','yNL0zuXLBMD0Aa','CMvQzwn0','zNvUy3rPB24','zgvMAw5PDgLVBG','lM1QCW','mtK4lJe4lJaUma','Ahr0Ca','CMfUzg9T','Aw1Hz2vZ','DMvYAwzPzxi','rgv0ywLSoIa','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw5PDgLHBgL6yxrPB24','C3rYAxbbBNnP','BgLUzu51Bq','yxr0CG','CgfYC2vjBNq','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zgvMyxvSDen3za','B25uzxjTAw5HBevYCM9Y','B3bLBMfPlxjLC3bVBNnLCY13CW','lMnTza','BwnWlwnSB3nLlwzHAwXLza','Aw52ywXPzf90B2rVx3bYAw9YAxr5','zgfYAW','Bwv0yq','y3vZDg9T','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zMLSzq','B3bLBNjVDxrLCG','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','z2v0t3DUuhjVCgvYDhLoyw1LCW','B3rOzxi','lI4U','y2fUrgLZywjSzq','DhnJ','uhjVz3jHBuzPBgvZkhG4nIK','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','ru5pru5u','Aw52ywXPzf90B2rVx2L0zw0','z2L0qNjHBMnO','qMfZAe91Dhb1Da','cGPbuKDvtuvovfm6ia','ls1NBg9IpseUz2L0lYO','C2H1DgrVD24','C2v2zxjPDhK','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','CxvLCNK','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D2HLCMuGCMC','DxrMoa','yxjYyxK','mtaUmc4WlJa','zhvWBgLJyxrLx3rVzg9FAwrZ','ls1WCMvMAxG','v2fYBMLUzW','z2v0vg9KB3m','CMvZB2X2zq','ls1OAwrKzw4','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','rMLSzuvKAxq','C29Tzq','qxv0Ag9YAxPHDgLVBG','y2XLyxi','Aw50zxjUywXmAwzLy3LJBgu','Aw5KzxHpzG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','Cg9W','lMn0CW','BgLTAxq','AxntEw1IB2XPy0XPBMS','CgfJA2fNzs1SB2nRlMPZB24','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','lNrTCc4','mZm2owLfB0zJDa','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','lNrZEa','BgfZDeLUzgv4t2y','y29UDgvUDa','yMLVBwu','C2vZC2LVBG','BgfIzwW','DhjPBq','Cgf0DgvYBG','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ChjVDg9JB2W','Aw1Hz2uVANbLzW','A2LTAq','C3rKzxjY','zw5NAw5LCW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','BxvSDgLtzwXLy3q','CMv0AxjL','yxv0Ag9YAxPHDgLVBL9JB2rL','AgvHzgvYCW','Cgf0DgvYBIbPCYbYzxf1AxjLza','y29UDgvUDc10ExbL','tM8GC3vJAcbMAwXLoIaN','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','zM9VDgvY','vMLLD0zPBgu','CMvTB3zL','y2XPzw50','AxndB250zxH0','zgLHz25VC3rPy3ngB3jgAwXL','sw52ywXPzcbYzwDLEdOG','CMvXDwLYzwq','tM8GCMvZDwX0CYbMB3vUzc4','zNjVBuvUDhjPzxm','lNDLyNa','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','r09pr0Xfx0ntrv9lrvK','s2LSBfnOzwXS','y2XPzw50CW','ywXSB3C','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','yw5UB3rHDgLVBNm','CM9VDa','zMLUywXnzxnZywDLvgv4Da','B3b0Aw9UywW','A2v5','BNv2Aw4','u3rHCNrLzcbHz2vUDcbYDw4G','iIbPCYbYzxnLCNzLza','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','B3jPz2LUvg9VBenHBgXjza','CgfZC3rOCM91z2G','lMnQCW','BhnWu2vYDMLJzq','A2v5yMLUzgLUz3m','Bg9HzfnRAwXS','ywjVCNrLza','C2vYDMvYswq','zgvSzwDHDgvKlxj1BI0','Aw5WDxrty2HLBwe','lMPZ','zxzLCNK','Agv4','zxf1ywXZ','D29YA3nWywnLu3LTyM9S','yNjVA2vU','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','ChjLCgfYzunHBgXiAwvYyxjJAhK','BwnWxW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C2HLBgXqyxrO','C3rYAwn0','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','B3b0Aw9UCW','DxrTx3nVDxjJzq','B3v0z29PBMDdywXSCW','BM9Uzq','vw50AxrSzwq','vg9KB1DYAxrL','CMvUzgvYu3LZDgvTuhjVBxb0','Dg9mB3DLCKnHC2u','rMv0y2GGDgLTzwqGB3v0','y29TBwfUzhm','BgvUz3rO','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','y29TCgXLDgvK','y2fSBeLK','ls0T','zMLUza','sw52ywXPzcbVDxrWDxrszwDLEdOG','B3bLBKzPBgvZ','yM9VBgvHBG','ls1MAwXLCW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','AMf2yxnJCMLWDa','z29uB0rLzMLUAxrPB24','ugf0AcbPCYbUB3qGysbMAwXLoIa','Bg9VA3vW','Dg9Rzw5Z','BwnWlxrVB2WTy2fSBc1MywLSzwq','zgf0yq','yMCT','zMLYC3q','y29UDgv4Da','mtvcueTbz08','zMLUAxrL','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','C2vHCMnOvhLWzq','yxbWzw5K','igj5DgvZks4','zgf0zvjLC3rYAwn0','Aw1Hz2u','Dgv4Da','BgLZDa','Dgf2AwX5qxbPs2v5','Bg9JyxrPB24','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DgLTzw91DfnVDxjJzq','ue9tva','C3vIyxjYyxK','zgLZCg9Zzq','Dg9VBe5HBwu','sw52B2TLq29TBwfUza','Bg93','ls1YzwDLEha','D2LUzg93CW','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zhj5uNvU','CMvWBgfJzq','DhjHBNnMB3jT','y2XPzw50x3nLy3jLDf9WB3n0','zw50CMLLCW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','ChvIBgLZAgvKqxq','CNvUswq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','Aw1WBgvTzw50yxrPB24','s0Lnsv9bueLFs0vz','lMjPBG','C2v0vg9WAwm','r0XpqKLhtK9srq','BwnFzwLK','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','mty5lJi1nc4WlJa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','EMfP','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','mc4WlJa','AxnbCNjHEq','B3bLBMfPlxjLC3bVBNnLCW','ywn0AxzL','ie9sia','BgLUzuvUza','B25szwrPCMvJDa','B3jPz2LUywW','C2HPzNq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Aw5ZDhj1y3rPB25Z','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','y2HHCMfJDgvY','z29Vz2XLlwnZzq','y2XPzw50sw5MB3jTyxrPB24','oIbPzcbYzxf1AxjLza','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','ls1ZDgrPBW','CMvJB3jK','CgfYC2u','revfueLorLjbx0fqsv9lrvK','C3rKB3v0rgvJB2rLCG','Dg90ywXeCM9WCgvK','zg5Zl3bYB21PC2vZ','o1TExg5DkJ8','Dg9VBenHBgW','tM8GC3LTyM9SCYbMB3vUza','BgLUAW','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','yxv0Aa','zgvUEq','l29WDc9OB21LyNjLDY9IAw4VCMC','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','CMvHzen1CNnVCG','Dhj1BMm','mZK0odyZCuLevKXu','yMLVBwuUANnVBMm','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','CgfJA2fNzs5QC29U','C3rHCNrZv2L0Aa','y29UzMLN','BwnWlxjLCxvLC3qTDgLTzw91Da','ywrHChrPDMu','Aw5FChjVz3jLC3m','BwvTB3j5','BwvZC2fNzq','DhjPBuvUza','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','AwzYyw1L','DhLWzq','C2vHCMnOugfYyw1Z','ndaXnJfkCNPeze8','zgLHz25VC3rPy3m','Dg9VBc1VDxrWDxqTB2zMBg9Hza','y2HHDgDWDa','zNvSzMLSBgvK','BhnW','mti3lJaUmc4W','zMLSBa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','BMfTzq','CM91BMq','Ahr0CdO','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','zgLZy292zxj5u3rHDgu','y29Kzq','BgLZDgvU','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','BwvKAxvT','z2L0AhvI','B25Jzq','DxjP','Aw5JBhvKzxm','lunVBw1HBMq','v2LUr2v0','zgvMyxvSDe9WDgLVBG','tM8GAg92zxiGAw5MB3jTyxrPB24','lMDPzG','D29YA3nWywnL','CgLWzq','CMvNzxG','ChjLChjVy2vZCW','C3rHDhvZ','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Aw52ywXPzf90B2rVx2LK','mtCYlJe2lJaUma','zgLYzwn0B3j5','BwnWlwnVBM5Ly3qTzMfPBgvK','AgfZq2XPzw50CW','zMLUywXnzxnZywDL','vg9KBYa','CMvZDwX0','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','zgLNzxn0','A2LUza','zgvUBY5QC29UyW','zMvUy2vK','ChjVCgvYDgLLCW','ygbG','q29Tu3bLyW','nJrQqMPJs0u','BgLNAhq','oIbPBNzHBgLKihn0yxr1CW','CgvYBwLZC2LVBKnSyxnZ','ugf0AcbUB3qGzM91BMq6ia','tg9HzfnRAwXS','uhjVz3jHBuzPBgvZ','zgLZy292zxj5','zMLSDgvY','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','Dg9Rzw4','ignVBM5Ly3rPB24GDgLTzwqGB3v0','yMLYDgH0Aw1L','ywjVCNq','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','l3vZCI9IAw4VCMC','C291CMnL','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','u2TPBgWGjW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','DgLTzvTKyxrLDgLTzv0','DxrTx3rLCM0','C25PChbLDa','q291BgqGBM90ihjLC29SDMuGAg9ZDa','qwDLBNqGCNvUia','Bwf4','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','yw5ZD2vYCW','C2XPy2u','sw5MB3jTyxrPB24','pc9ZExn0zw0TCMvTAw5Kzxi+','Ag9ZDa','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','u2L6ztOG','AxnfCNjVCG','y2XPzw50twv0ywrHDgfvCMW','Aw52ywXPzf90B2rVx2nVBNrLBNq','y29UDgvUDhm','ChjPB3jPDhK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','lu5VuhjVzMLSzq','ChvZAa','lw5i','Dg9VBfbLCM1PC3nPB25Z','ls1NBg9I','Dg90ywW','vMLLD2vKigLTywDLigzPBgu6ia','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Cgf0Aa','ywXS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','B25JBg9Zzq','zMLSzvbHDgG','zg9JDw1LBNrtEw1IB2W','r0Lusfvcx0fdq0vtu19ut0TftG','CMfUz2u','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','CMfUAW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','q29TBwfUzcaN','C3bHD25PBMC','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C29YDa','BM9Kzv9TB2r1BgvZ','D2HPy2GGCMC','BwnWlxrYyw5ZCg9YDc1LCNjVCG','C2nYAxb0','ls1NBg9Ipq','DhnJB25MAwCUANnVBG','BgLZDfrVB2XZ','qKftse9qvfm','yxjNDw1LBNriAw50','mJaYnKDTAKH6rq','Dw5PB24','B2zMC2v0','AwDUB3jL','CgfJA2fNzu5HBwu','D2LUmZi','BwnWlxnKAY1JBgLLBNqTzxjYB3i','CMvXDwvZDa','CgXHAw4','Aw52ywXPzf90B3bPyW','C2fMzq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','y2HHCKnVzgvbDa','sgLUDa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Bg9HzenVBw1HBMq','BMv3vgv4Da','C3rKzxjYrgvJB2rLCG','Dg9ju09tDhjPBMC','yxnJAwK','B3bLCMf0Aw9U','CMvMAw5L','yxbWBgLJyxrPB24VANnVBG','zgf0zxrPBwu','y2fSBgjHy2TvCMW','zxH0BMfTzq','zw5HyMXLza','CgXHAw50zxH0','AgvHzgvY','zxHPDgvK','C2vZC2LVBKLK','lM10CW','C3rKB3v0','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C3rHCNreAxi','ls1MB2XSB3C','z2v0u3rHDhm','Aw52ywXPzf9XDwvZDgLVBNm','Cg5WBs1SB2nRlNLHBwW','DgLTzw91De1Z','yxbPs2v5','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','BwLUAw1HEa','Axnoyu4','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dw5RBM93BG','zMLSztOVlW','zgvMyxvSDfrPBwvVDxrnCW','ChjVy2vZCW','C3rYAw5NAwz5','lcbpChrPB24G','mtKYlJe2oc4WlJa','BMf2','rMLSzvjLywq','DxjS','C2HLBgXjza','w291Dhb1Dcb0CNvUy2f0zwq6ia','DMfSDwu','DhLWzxnJCMLWDa','AxngAwXL','phn5C3rLBs1Yzw1PBMrLCJ4','zwzMB3j0','BgL0zxjHBa','Dg9tDhjPBMC','C2H1DgrVD25tDgfYDgvK','AxneAxjLy3rVCNK','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','AxngAw5PDgu','B3bLBMnVzguTz28','tNv2Aw4','BgfUzW','Dhj1zq','CMCUzxHL','BwnWlwrPC2nVDMvYEs1MywLSzwq','BxrPBwvnCW','t1bftLjpvvrfuL9bueLFs0vz','yxv0BW','ywX3yxLZlwnVBMzPCM0','DgvZDa','y29KzvzLCMLMAwvY','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','yxnZAwDU','zxjYB3jnzxnZywDL','r0LgodLH','AM9PBG','w1bFxL1BxhnCu10QpW','CNvUBMLUzW','DwX0CMe','BgLUzxm','DhvWBgu','z2XVyG','Aw5ZDgfSBa','mJi0lJaUmc4W','AxnjBNrLz2vY','v2vIu2vHCMnO','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','y291BNq','zMLSzvzLCNnPB25Z','tu9ptLnit1rFqvbjx0Tfwq','EwvZ','cGOTls0kcG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','B3bLBMfP','Ahr0Chm6','ihDHCYbHyM9YDgvKlG','ChjVDg90ExbL'];_0x58da=function(){return _0x15ee56;};return _0x58da();}import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x589665 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x2edd77(0x59f,0x6e2,0x644,0x6f7),'.tsx':_0x2edd77(0x5f1,0x4d1,0x706,0x4d3),'.js':_0x520b4c(0x618,0x555,0x623,0x600),'.jsx':'javascriptreact','.mjs':_0x520b4c(0x55f,0x68f,0x51b,0x600),'.cjs':_0x2edd77(0x47a,0x517,0x2ef,0x38a),'.mts':_0x520b4c(0x792,0x727,0x7c2,0x725),'.cts':_0x2edd77(0x59f,0x50d,0x682,0x53e),'.json':_0x2edd77(0x3a4,0x288,0x380,0x52a),'.jsonc':_0x2edd77(0x5fd,0x4d2,0x5dc,0x6d1)};function getLanguageId(_0x197100){const _0x4c3b7e={_0xfa6c67:0x1b7,_0x47f96e:0x325,_0x12d1f5:0x382,_0x3a8cd5:0xaa,_0x3927b3:0x99},_0x54ae05={_0x4d13e3:0x42},_0x201c59={_0x167f5c:0x13e,_0x15951e:0x27};function _0x2d4739(_0x35c742,_0x2047ab,_0x432fc5,_0x4ca902){return _0x520b4c(_0x35c742-_0x201c59._0x167f5c,_0x2047ab-0x107,_0x35c742,_0x432fc5-_0x201c59._0x15951e);}function _0x442e3d(_0x3a59d8,_0x445c32,_0x4eb3bf,_0xad5f63){return _0x2edd77(_0x445c32- -0x377,_0x445c32-_0x54ae05._0x4d13e3,_0x4eb3bf-0x31,_0x4eb3bf);}return EXTENSION_TO_LANGUAGE[_0x589665[_0x442e3d(_0x4c3b7e._0xfa6c67,0x206,_0x4c3b7e._0x47f96e,_0x4c3b7e._0x12d1f5)](_0x197100)[_0x442e3d(0x158,0xf5,-_0x4c3b7e._0x3a8cd5,-_0x4c3b7e._0x3927b3)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x2c3f61){return pathToFileURL(_0x2c3f61)['toString']();}function textDocumentPosition(_0xab0810){const _0x40607e={_0x5519cb:0x209,_0x59ecb3:0x4b3,_0x22553e:0x5f2,_0x2930dc:0x4cb},_0x272077={_0x157995:0x16c,_0x380cfa:0x135,_0x551abd:0x178},_0x42f4fb={_0x9d779f:0x56b,_0x28d583:0xd1};function _0x5e1a9e(_0x44b81f,_0x1e3840,_0x30155e,_0x14b83e){return _0x2edd77(_0x14b83e- -_0x42f4fb._0x9d779f,_0x1e3840-0x14b,_0x30155e-_0x42f4fb._0x28d583,_0x1e3840);}function _0x6336e8(_0x20246e,_0x159b52,_0x3be8f7,_0x32091b){return _0x520b4c(_0x20246e-_0x272077._0x157995,_0x159b52-_0x272077._0x380cfa,_0x32091b,_0x3be8f7- -_0x272077._0x551abd);}return{'textDocument':{'uri':uriForPath(_0xab0810['file'])},'position':{'line':_0xab0810[_0x5e1a9e(-0x2b6,-0x237,-0x171,-_0x40607e._0x5519cb)],'character':_0xab0810[_0x6336e8(_0x40607e._0x59ecb3,_0x40607e._0x22553e,_0x40607e._0x2930dc,0x3f2)]}};}function normalizeLocations(_0x107a2b){const _0x579ac9={_0x5a8256:0x603,_0x4a93cb:0x512};if(!_0x107a2b)return[];function _0x5aaf97(_0x152b67,_0x20c72f,_0x852344,_0x54cbb7){return _0x2edd77(_0x20c72f-0x153,_0x20c72f-0x41,_0x852344-0x3d,_0x852344);}return Array[_0x5aaf97(0x483,_0x579ac9._0x5a8256,_0x579ac9._0x4a93cb,0x5fe)](_0x107a2b)?_0x107a2b:[_0x107a2b];}async function createLspClient(_0x13bcd6){const _0x7e3d29={_0x492cdc:0x4d4,_0x2b9add:0x36f,_0xe2a865:0x2a1,_0xb6facb:0x3d5,_0xfc478a:0x550,_0x91bd92:0x3a2,_0x5b0afd:0x368,_0x326a53:0x3d9,_0xb2364b:0x9c,_0xd7f25:0xa4,_0x211ae7:0x16,_0x528fb9:0x1bf,_0x413669:0x29f,_0x4f1e6d:0x37c,_0x58d8f5:0xcf,_0x234432:0xbb,_0x5f50cc:0x1b8,_0x492d0e:0xa9,_0x379d5c:0xd7,_0x4e9e97:0x24f,_0x59887a:0xed,_0x4a5b73:0xd7,_0x4cb255:0x144,_0x558e9b:0x36d,_0x10db5f:0x493,_0x1de4d9:0x45d,_0x9fd09b:0x27,_0x30d5e7:0x350,_0x52cd8d:0x37f,_0x400a8b:0x2c2,_0x344921:0x188,_0x5874ce:0xd7,_0xfc5ec1:0x162,_0x31e2cf:0x1ba},_0x105bd3={_0x349b27:0x188,_0x452dd3:0x1ba},_0xf8f3ed={_0x19151b:0x1f,_0x214a7f:0xb4,_0xed5469:0x445,_0x21d958:0x4a1,_0x437501:0x18d,_0x3ef1c2:0x1ec,_0x1712e7:0xfe,_0x4b3df1:0x50,_0x2fc5bb:0xd9,_0x37e126:0x5a6,_0x33deac:0x456,_0x2b6e3b:0x5f7,_0x25346d:0x6b1,_0xcf424b:0x264,_0x3acad5:0x1ff,_0x230b77:0xf,_0x401fd6:0x18c},_0x59038d={_0x1f5927:0x93,_0x1ab1f7:0x141,_0x3bbac7:0x36,_0x4b0b34:0x7a,_0x5335ef:0x70},_0x1e9ab3={_0x4b185f:0x557,_0x1d9c90:0x41c,_0xc3daf2:0x4ac},_0x418a3b={_0x500b9b:0x186,_0x224fe:0x1ca,_0x1ae5ca:0x106},_0x3d8af7={_0x4564c3:0xc2,_0x5bdfbf:0x16d},_0x4fba4c={_0x3a67c1:0x6cf,_0x375097:0x6d9,_0x1803cd:0x6c2,_0x36d067:0x5a6,_0x393c3a:0x6ab},_0x511b37={_0x1df679:0xfe,_0x3e4fce:0x3e3,_0xed74aa:0x2de},_0x32a6e4={_0x3f5795:0xe3,_0x1de5de:0x11e,_0x239937:0x123,_0x4fd5a6:0x2a},_0x1c25bc={_0x1d5a8d:0xd3},_0x43244c={_0x505707:0x4b5,_0x599f33:0x4c0,_0x1c7c27:0x6e1,_0x4db7f5:0x650},_0x1f6906={_0x175d06:0x323,_0x29f68e:0x1ff,_0xea081d:0x260,_0x58f7c2:0x420,_0x10de78:0x37b,_0x571376:0x359},_0x4bd9f7={_0x33853f:0x152,_0x254c5d:0x8c},_0x3dbbe4={_0x26479a:0x4c3,_0x4f10ce:0x5a6,_0x2c8e15:0x2a2,_0x27b8bf:0x32e,_0x162d51:0x1dc},_0x112a54={_0x5d5a5c:0x363},_0xc50d80={_0x7f0428:0xaa,_0x5a4c75:0x100,_0x2dddcd:0x322},_0x34e5b7={_0x32bc03:0x405},_0x563d9a={_0x1e48ab:0x41d,_0x2f1afd:0x386,_0x21f976:0x3a4,_0x3d488a:0xb2,_0x180b07:0x37,_0x1801f3:0x17d,_0x5ecf93:0x33,_0x55b25d:0x1c1},_0x51f19b={_0x502260:0x1d},_0x52fd45={_0x4bba27:0x752,_0x4b0274:0x252,_0x13c827:0x385,_0xda388c:0x6e4,_0x1e58cf:0x6dc,_0x10015a:0x7e9},_0x55021c={_0x37ec1d:0x62,_0xa78c7:0x6ee},_0x34595e={_0x130e40:0x600,_0xae9062:0x4c4,_0x270195:0x3ac,_0x250a99:0x457,_0x3652c8:0x63,_0x585b66:0x1a5,_0x585329:0x11e,_0x49f7b5:0x25f},_0x32b1eb=_0x13bcd6[_0x4a4755(_0x7e3d29._0x492cdc,_0x7e3d29._0x2b9add,0x23c,_0x7e3d29._0xe2a865)]['process'][_0x4a4755(_0x7e3d29._0xb6facb,_0x7e3d29._0xfc478a,0x3c1,0x3c2)],_0x3a5265=_0x13bcd6['handle'][_0x4a4755(0x602,0x561,0x3d4,0x447)][_0x4a4755(_0x7e3d29._0x91bd92,_0x7e3d29._0x5b0afd,0x209,_0x7e3d29._0x326a53)];if(!_0x32b1eb||!_0x3a5265)throw new Error(_0x4cabd9(0xd3,-_0x7e3d29._0xb2364b,0x1f9,0x98));const _0x3a6ac0=createMessageConnection(new StreamMessageReader(_0x32b1eb),new StreamMessageWriter(_0x3a5265)),_0x5bd53a=new Map(),_0x4e3a43=new Map();let _0x418687=![];function _0x4cabd9(_0x50e130,_0x36fd2b,_0x4a28fc,_0x5cc59b){return _0x520b4c(_0x50e130-0x86,_0x36fd2b-0x118,_0x50e130,_0x5cc59b- -0x6a3);}_0x3a6ac0[_0x4cabd9(_0x7e3d29._0xd7f25,_0x7e3d29._0x211ae7,0x20,0x10d)](_0x4cabd9(-0x111,-0x1c1,-0x18a,-_0x7e3d29._0x528fb9),_0x139a36=>{const _0x3841fa={_0x58d815:0x14d,_0x494fee:0x1db};_0x5bd53a[_0x363fef(0x4d5,_0x34595e._0x130e40,_0x34595e._0xae9062,0x3cd)](_0x139a36[_0x363fef(_0x34595e._0x270195,0x41e,_0x34595e._0x250a99,0x4c7)],_0x139a36['diagnostics']);const _0x48def6=_0x4e3a43[_0x363fef(0x224,0x21a,0x1f6,0xa2)](_0x139a36['uri']);if(!_0x48def6)return;function _0x363fef(_0x3873d7,_0x30c1c5,_0x20ec27,_0x2d350d){return _0x4a4755(_0x3873d7-0xaf,_0x3873d7- -0x11b,_0x30c1c5,_0x2d350d-0x17);}_0x4e3a43[_0x2594c3(0xab,-_0x34595e._0x3652c8,_0x34595e._0x585b66,_0x34595e._0x585329)](_0x139a36[_0x2594c3(0x220,_0x34595e._0x49f7b5,0x135,0x258)]);function _0x2594c3(_0x2007d4,_0x2388e6,_0x5d317a,_0x2f84ed){return _0x4cabd9(_0x5d317a,_0x2388e6-_0x3841fa._0x58d815,_0x5d317a-_0x3841fa._0x494fee,_0x2007d4-0x242);}for(const _0x513a18 of _0x48def6)_0x513a18();}),_0x3a6ac0[_0x4cabd9(-0x19c,0xc0,0x2,-0x27)]();const _0x30d543=await _0x3a6ac0['sendRequest'](_0x4a4755(_0x7e3d29._0x413669,_0x7e3d29._0x4f1e6d,0x4e4,0x365),{'processId':process[_0x4cabd9(-0x21e,-_0x7e3d29._0x58d8f5,-_0x7e3d29._0x234432,-_0x7e3d29._0x5f50cc)],'rootUri':uriForPath(_0x13bcd6[_0x4cabd9(-0xa3,_0x7e3d29._0x492d0e,-0x169,-_0x7e3d29._0x379d5c)]),'workspaceFolders':[{'uri':uriForPath(_0x13bcd6[_0x4cabd9(-_0x7e3d29._0x4e9e97,-_0x7e3d29._0x59887a,0x7c,-_0x7e3d29._0x4a5b73)]),'name':_0x13bcd6[_0x4cabd9(0x1f,-0x88,-0x3,-0x168)]['id']}],'initializationOptions':_0x13bcd6['handle'][_0x4cabd9(-0x2a0,-0x295,-0x219,-_0x7e3d29._0x4cb255)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4a4755(0x4e4,_0x7e3d29._0x558e9b,_0x7e3d29._0x10db5f,_0x7e3d29._0x1de4d9),_0x4cabd9(_0x7e3d29._0x9fd09b,-0x106,-0xf7,0x62)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x3a6ac0[_0x4a4755(0x35c,_0x7e3d29._0x30d5e7,0x2e0,0x4eb)](_0x4a4755(_0x7e3d29._0x10db5f,_0x7e3d29._0x52cd8d,_0x7e3d29._0x400a8b,0x239),{});const _0x142d5d={'serverId':_0x13bcd6[_0x4a4755(0x3b1,0x381,0x206,0x38e)]['id'],'root':_0x13bcd6[_0x4cabd9(-0x120,-_0x7e3d29._0x344921,-0x19f,-_0x7e3d29._0x5874ce)],'connection':_0x3a6ac0,'diagnostics':_0x5bd53a,'capabilities':_0x30d543[_0x4cabd9(-0x341,-0x1c9,-_0x7e3d29._0xfc5ec1,-_0x7e3d29._0x31e2cf)]??{},'notify':{async 'open'({path:_0x36531b}){function _0x5c952a(_0x3fbd0d,_0x718e14,_0x491855,_0x943f6b){return _0x4a4755(_0x3fbd0d-0x165,_0x943f6b-0x35,_0x491855,_0x943f6b-0x3f);}function _0x686279(_0x4456e2,_0x1c3a34,_0x560f97,_0x5d8df1){return _0x4cabd9(_0x560f97,_0x1c3a34-0x1d9,_0x560f97-_0x55021c._0x37ec1d,_0x5d8df1-_0x55021c._0xa78c7);}const _0x149746=await readFile(_0x36531b,_0x686279(0x5c5,_0x52fd45._0x4bba27,0x6e3,0x5d2));_0x3a6ac0[_0x5c952a(_0x52fd45._0x4b0274,0x36d,0x201,_0x52fd45._0x13c827)](_0x686279(_0x52fd45._0xda388c,_0x52fd45._0x1e58cf,0x87d,_0x52fd45._0x10015a),{'textDocument':{'uri':uriForPath(_0x36531b),'languageId':getLanguageId(_0x36531b)??'plaintext','version':0x1,'text':_0x149746}});},async 'change'({path:_0x18da2b,version:_0x413870}){const _0x5db280={_0x31bd4f:0x402,_0x268cd0:0x116},_0x58c546=await readFile(_0x18da2b,_0x3fa517(0x40b,_0x563d9a._0x1e48ab,_0x563d9a._0x2f1afd,_0x563d9a._0x21f976));function _0x3fa517(_0x15d30d,_0x343911,_0x53eadf,_0x27c310){return _0x4a4755(_0x15d30d-0x1bd,_0x53eadf- -0x47,_0x27c310,_0x27c310-_0x51f19b._0x502260);}function _0x1a96cd(_0x207dd3,_0x59a2cd,_0x25ad35,_0x41f6e7){return _0x4a4755(_0x207dd3-0x141,_0x59a2cd- -_0x5db280._0x31bd4f,_0x41f6e7,_0x41f6e7-_0x5db280._0x268cd0);}_0x3a6ac0[_0x1a96cd(-0x14b,-_0x563d9a._0x3d488a,_0x563d9a._0x180b07,-_0x563d9a._0x1801f3)](_0x1a96cd(_0x563d9a._0x5ecf93,_0x563d9a._0x55b25d,0x33a,0x2e7),{'textDocument':{'uri':uriForPath(_0x18da2b),'version':_0x413870},'contentChanges':[{'text':_0x58c546}]});},async 'close'({path:_0x28df5c}){_0x3a6ac0['sendNotification']('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x28df5c)}});}},'request':{async 'definition'(_0x1d4323){return normalizeLocations(await _0x3a6ac0['sendRequest']('textDocument/definition',textDocumentPosition(_0x1d4323)));},async 'references'(_0x4056c8){const _0x55f576={_0x536332:0x46,_0x1f6dd6:0x593};function _0x367a38(_0x3e57e9,_0x1c09e8,_0x2f1964,_0x511452){return _0x4cabd9(_0x1c09e8,_0x1c09e8-0x1ae,_0x2f1964-_0x55f576._0x536332,_0x3e57e9-_0x55f576._0x1f6dd6);}function _0x2caba6(_0x175379,_0x334363,_0x37e3e9,_0x2d313c){return _0x4a4755(_0x175379-0x1bd,_0x175379- -_0x34e5b7._0x32bc03,_0x37e3e9,_0x2d313c-0xaf);}return normalizeLocations(await _0x3a6ac0[_0x2caba6(-0x78,-0x1af,_0xc50d80._0x7f0428,0xbd)](_0x2caba6(0x1c2,0x133,_0xc50d80._0x5a4c75,_0xc50d80._0x2dddcd),{...textDocumentPosition(_0x4056c8),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2b2f88){const _0x5c457f={_0x1bf973:0x182};function _0xa11254(_0x14c6fb,_0x2d8d16,_0x5c0187,_0x4f4b4f){return _0x4cabd9(_0x4f4b4f,_0x2d8d16-_0x5c457f._0x1bf973,_0x5c0187-0x152,_0x5c0187-0x702);}function _0x1b6045(_0x51fe54,_0x4fa603,_0x536b95,_0x4efc93){return _0x4a4755(_0x51fe54-0x48,_0x51fe54- -_0x112a54._0x5d5a5c,_0x4fa603,_0x4efc93-0x122);}return await _0x3a6ac0[_0xa11254(0x44c,_0x3dbbe4._0x26479a,_0x3dbbe4._0x4f10ce,0x744)](_0x1b6045(_0x3dbbe4._0x2c8e15,_0x3dbbe4._0x27b8bf,_0x3dbbe4._0x162d51,0x419),textDocumentPosition(_0x2b2f88))??null;},async 'documentSymbol'(_0x5b5d9f){const _0x245b68={_0x1a1439:0x107,_0x137aef:0x6a};function _0x86c3a3(_0x442258,_0x3599d0,_0x5b187e,_0x26b371){return _0x4a4755(_0x442258-_0x245b68._0x1a1439,_0x442258- -_0x245b68._0x137aef,_0x3599d0,_0x26b371-0x27);}function _0x5e0fe9(_0x3ad2ac,_0x44d65c,_0x59eccb,_0x372191){return _0x4a4755(_0x3ad2ac-_0x4bd9f7._0x33853f,_0x44d65c- -_0x4bd9f7._0x254c5d,_0x59eccb,_0x372191-0x1c4);}return await _0x3a6ac0[_0x86c3a3(_0x1f6906._0x175d06,_0x1f6906._0x29f68e,_0x1f6906._0xea081d,_0x1f6906._0x58f7c2)](_0x86c3a3(_0x1f6906._0x10de78,_0x1f6906._0x571376,0x50f,0x20c),{'textDocument':{'uri':uriForPath(_0x5b5d9f)}})??[];},async 'workspaceSymbol'(_0x2e4a57){const _0x28bd93={_0x5a87cc:0x128},_0x4c9602={_0x5e692:0x10,_0x4126db:0xae};function _0x1860f6(_0x1d5aa0,_0x47d4aa,_0x377510,_0x52c54a){return _0x4cabd9(_0x377510,_0x47d4aa-_0x4c9602._0x5e692,_0x377510-_0x4c9602._0x4126db,_0x47d4aa-0x19d);}function _0x20e43e(_0x4071c2,_0x168e18,_0x3c1156,_0x25323b){return _0x4a4755(_0x4071c2-0x1c0,_0x168e18-0x204,_0x25323b,_0x25323b-_0x28bd93._0x5a87cc);}return await _0x3a6ac0[_0x20e43e(0x477,0x591,_0x43244c._0x505707,0x655)](_0x20e43e(_0x43244c._0x599f33,0x564,_0x43244c._0x1c7c27,_0x43244c._0x4db7f5),{'query':_0x2e4a57})??[];},async 'implementation'(_0x136640){function _0x3c35c2(_0x7533,_0x134f26,_0xf1c0a6,_0x2566b7){return _0x4a4755(_0x7533-0x162,_0x134f26- -0x534,_0x7533,_0x2566b7-0xb7);}function _0x452bc8(_0xd3a490,_0x512486,_0x3ecfc0,_0x435a2c){return _0x4cabd9(_0xd3a490,_0x512486-0x44,_0x3ecfc0-0x7,_0x512486-_0x1c25bc._0x1d5a8d);}return normalizeLocations(await _0x3a6ac0[_0x452bc8(-0xf,-0x89,0xad,_0x32a6e4._0x3f5795)](_0x452bc8(_0x32a6e4._0x1de5de,_0x32a6e4._0x239937,0xe4,-_0x32a6e4._0x4fd5a6),textDocumentPosition(_0x136640)));},async 'prepareCallHierarchy'(_0x9de7ad){const _0x3765fe={_0x2d8538:0x108},_0x2cbed5={_0x505b35:0x52};function _0x38b39e(_0x502a61,_0x45a6d1,_0x45adae,_0x196195){return _0x4a4755(_0x502a61-0x159,_0x502a61- -_0x2cbed5._0x505b35,_0x196195,_0x196195-0x13e);}function _0x345409(_0x3db5e9,_0x5e6309,_0x2ee42d,_0x2ee78c){return _0x4cabd9(_0x2ee78c,_0x5e6309-0xd3,_0x2ee42d-_0x3765fe._0x2d8538,_0x2ee42d-0x3a6);}return await _0x3a6ac0[_0x345409(0x20b,0x28f,0x24a,_0x511b37._0x1df679)](_0x38b39e(0x434,0x2ef,_0x511b37._0x3e4fce,_0x511b37._0xed74aa),textDocumentPosition(_0x9de7ad))??[];},async 'incomingCalls'(_0x55c2e1){const _0x57091e={_0x2f660e:0x218};function _0x4a1c32(_0x579e9a,_0x2a42d2,_0x4f7164,_0x443b33){return _0x4a4755(_0x579e9a-0x125,_0x4f7164- -_0x57091e._0x2f660e,_0x2a42d2,_0x443b33-0xf9);}function _0x296267(_0x23cf0a,_0x11abe6,_0x49e56f,_0x420fd2){return _0x4cabd9(_0x49e56f,_0x11abe6-0x164,_0x49e56f-0x3,_0x420fd2-0x702);}return await _0x3a6ac0[_0x296267(_0x4fba4c._0x3a67c1,_0x4fba4c._0x375097,_0x4fba4c._0x1803cd,_0x4fba4c._0x36d067)](_0x296267(0x425,_0x4fba4c._0x393c3a,0x3bf,0x557),{'item':_0x55c2e1})??[];},async 'outgoingCalls'(_0x2d75f3){function _0x31883f(_0x2e96ef,_0x36104f,_0x14a479,_0x28ac19){return _0x4cabd9(_0x2e96ef,_0x36104f-_0x3d8af7._0x4564c3,_0x14a479-_0x3d8af7._0x5bdfbf,_0x28ac19-0x69b);}function _0x4fa5ff(_0x66d2a6,_0x2a031c,_0x2713d0,_0x571238){return _0x4a4755(_0x66d2a6-_0x418a3b._0x500b9b,_0x2a031c-_0x418a3b._0x224fe,_0x66d2a6,_0x571238-_0x418a3b._0x1ae5ca);}return await _0x3a6ac0[_0x4fa5ff(0x4d1,_0x1e9ab3._0x4b185f,_0x1e9ab3._0x1d9c90,0x437)](_0x31883f(0x5d1,0x5d0,0x3b4,_0x1e9ab3._0xc3daf2),{'item':_0x2d75f3})??[];}},'waitForDiagnostics'({path:_0x158293,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x2a8792={_0x7959fc:0x132,_0x2f79d8:0x11b};function _0x166784(_0x1ac082,_0x5d36c6,_0x4752c7,_0x226860){return _0x4cabd9(_0x1ac082,_0x5d36c6-_0x2a8792._0x7959fc,_0x4752c7-_0x2a8792._0x2f79d8,_0x226860-0x185);}const _0x5af97e=uriForPath(_0x158293);if(_0x5bd53a[_0x166784(-_0x59038d._0x1f5927,-_0x59038d._0x1ab1f7,-_0x59038d._0x3bbac7,0x34)](_0x5af97e))return Promise[_0x166784(_0x59038d._0x4b0b34,-0x116,0x1ea,_0x59038d._0x5335ef)]();function _0x5318f3(_0x4c4213,_0x52b7b3,_0x2334a3,_0x5a36c4){return _0x4a4755(_0x4c4213-0x3d,_0x52b7b3- -0x16d,_0x4c4213,_0x5a36c4-0x15);}return new Promise(_0x3586b0=>{const _0x56623d={_0x5ac721:0xc9,_0x46a500:0xea},_0x4159e8={_0xc35843:0x436,_0x56d370:0x47,_0x3a4f62:0x531,_0x2a7069:0x5f8,_0x5979ac:0x6e,_0x1de6c0:0x6a},_0x540aad=setTimeout(()=>{function _0x2fb2ae(_0x5e3d3e,_0x425c13,_0xd9bbe3,_0x4a4c08){return _0x4535(_0x5e3d3e- -0x13a,_0xd9bbe3);}function _0x1bdfd6(_0x27e8a1,_0x1c1944,_0x50aaa0,_0x25623b){return _0x4535(_0x50aaa0-0x2a1,_0x1c1944);}const _0x1084aa=_0x4e3a43[_0x1bdfd6(0x299,0x2e6,_0x4159e8._0xc35843,0x44e)](_0x5af97e);_0x1084aa?.[_0x2fb2ae(0x6e,-0x44,-_0x4159e8._0x56d370,0x184)](_0x5d4662);if(_0x1084aa?.[_0x1bdfd6(_0x4159e8._0x3a4f62,0x604,0x465,_0x4159e8._0x2a7069)]===0x0)_0x4e3a43[_0x2fb2ae(_0x4159e8._0x5979ac,_0x4159e8._0x1de6c0,0xae,-0x40)](_0x5af97e);_0x3586b0();},timeoutMs),_0x5d4662=()=>{clearTimeout(_0x540aad),_0x3586b0();};function _0x55c090(_0xd57bcc,_0x56c118,_0x5e9178,_0x2f4395){return _0x5318f3(_0xd57bcc,_0x56c118-0x106,_0x5e9178-_0x56623d._0x5ac721,_0x2f4395-_0x56623d._0x46a500);}const _0x37add7=_0x4e3a43['get'](_0x5af97e)??new Set();_0x37add7['add'](_0x5d4662),_0x4e3a43[_0x55c090(0x474,0x589,0x4f2,0x514)](_0x5af97e,_0x37add7);});},async 'shutdown'(){const _0x20e3ee={_0x424cda:0x123,_0x3c31e5:0x96},_0x408ae3={_0x10593f:0x44e};function _0x8da15b(_0x15bbbb,_0x4ea451,_0x315e07,_0xb8b461){return _0x4a4755(_0x15bbbb-0x10,_0xb8b461- -_0x408ae3._0x10593f,_0x15bbbb,_0xb8b461-0x1d8);}function _0x91cab0(_0x1d9a16,_0x5e99f5,_0x127840,_0x2fdf97){return _0x4a4755(_0x1d9a16-_0x20e3ee._0x424cda,_0x5e99f5-_0x20e3ee._0x3c31e5,_0x127840,_0x2fdf97-0xdc);}if(_0x418687)return;_0x418687=!![];try{await _0x3a6ac0[_0x8da15b(-0x3d,-_0xf8f3ed._0x19151b,_0xf8f3ed._0x214a7f,-0xc1)](_0x91cab0(_0xf8f3ed._0xed5469,0x45d,0x4c2,_0xf8f3ed._0x21d958),null),_0x3a6ac0[_0x8da15b(-0x15c,-_0xf8f3ed._0x437501,-_0xf8f3ed._0x3ef1c2,-_0xf8f3ed._0x1712e7)]('exit');}catch{}finally{_0x3a6ac0[_0x8da15b(-0xf6,_0xf8f3ed._0x4b3df1,_0xf8f3ed._0x2fc5bb,0x12)](),_0x13bcd6[_0x91cab0(_0xf8f3ed._0x37e126,0x405,0x34b,_0xf8f3ed._0x33deac)][_0x91cab0(0x5e1,_0xf8f3ed._0x2b6e3b,0x4a1,_0xf8f3ed._0x25346d)][_0x8da15b(_0xf8f3ed._0xcf424b,_0xf8f3ed._0x3acad5,_0xf8f3ed._0x230b77,_0xf8f3ed._0x401fd6)]();}}};function _0x4a4755(_0x2b1316,_0x1e3660,_0x17373c,_0x2ca248){return _0x520b4c(_0x2b1316-_0x105bd3._0x349b27,_0x1e3660-0xa2,_0x17373c,_0x1e3660- -_0x105bd3._0x452dd3);}return _0x142d5d;}import{spawn as _0x24e2bb}from'child_process';import{access as _0x58c2f4}from'fs/promises';import _0x3556be from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x4d1c03 from'os';import _0x3fc654 from'path';import _0x61f58f from'which';var installPromises=new Map();function sanitizePackageName(_0x4509a3){const _0x341ffa={_0x20601e:0x3e2,_0x26402e:0x29c,_0x1b426d:0x409,_0x829c51:0x17e,_0x5ed582:0x144},_0x5d06d7={_0x5daf57:0x14c};function _0x56f792(_0x3afd6a,_0x2d854a,_0x586c73,_0x5a7e7f){return _0x520b4c(_0x3afd6a-0xea,_0x2d854a-_0x5d06d7._0x5daf57,_0x2d854a,_0x5a7e7f- -0x5b1);}function _0x5dc59f(_0x2b61f9,_0x14ebce,_0x138b5b,_0x4a5166){return _0x520b4c(_0x2b61f9-0x4,_0x14ebce-0x1ea,_0x4a5166,_0x14ebce- -0x386);}return _0x4509a3[_0x5dc59f(_0x341ffa._0x20601e,_0x341ffa._0x26402e,_0x341ffa._0x1b426d,_0x341ffa._0x829c51)](/^@/,'')[_0x5dc59f(0x364,_0x341ffa._0x26402e,0x378,_0x341ffa._0x5ed582)](/[/]/g,'__');}function binaryNameForPlatform(_0x102319){const _0x37ef9d={_0x103f58:0x28e,_0x2a7802:0x1e6,_0x457a56:0x80,_0x564015:0x127,_0x3f7bfe:0x89,_0x163f56:0x3b,_0x3cfb49:0x46},_0x199f16={_0xdc7a04:0x1dd},_0x103b98={_0x326dcf:0x3c};function _0x36545c(_0x3e7cae,_0x575457,_0x526d1d,_0x732d02){return _0x2edd77(_0x732d02- -0x103,_0x575457-0x1a8,_0x526d1d-_0x103b98._0x326dcf,_0x3e7cae);}function _0x55615f(_0x28a6b5,_0x15cfe5,_0x2108a2,_0x2355d9){return _0x520b4c(_0x28a6b5-_0x199f16._0xdc7a04,_0x15cfe5-0xb2,_0x15cfe5,_0x2355d9- -0x6b2);}return process[_0x36545c(_0x37ef9d._0x103f58,0x123,_0x37ef9d._0x2a7802,0x265)]===_0x55615f(-_0x37ef9d._0x457a56,-_0x37ef9d._0x564015,_0x37ef9d._0x3f7bfe,_0x37ef9d._0x163f56)?_0x102319+_0x55615f(-0x259,_0x37ef9d._0x3cfb49,-0xa4,-0x14a):_0x102319;}async function exists(_0x160225){try{return await access(_0x160225),!![];}catch{return![];}}function runNpmInstall(_0x901c50,_0x24c7db,_0x7e36d0){const _0x426df2={_0x2b5a83:0x72b,_0x32554e:0x669,_0x1e7e83:0x570,_0x53ebc1:0x64c,_0x2f06ac:0x523,_0x48260d:0x61b,_0x414479:0x633,_0x30e6cb:0x700,_0x2895cb:0x48b,_0x286421:0x494,_0x37e3d5:0x348,_0x3f1d19:0x42e};return new Promise(_0x2fae70=>{const _0x2161b2={_0x1bec92:0x349},_0x303de6={_0x5eb29f:0x379};function _0x30cc11(_0x4c9099,_0x412499,_0x1c5844,_0x27ef52){return _0x4535(_0x1c5844-_0x303de6._0x5eb29f,_0x4c9099);}const _0x619c7=spawn('npm',[_0x3bfe83(_0x426df2._0x2b5a83,0x8ba,0x5fd,_0x426df2._0x32554e),_0x3bfe83(_0x426df2._0x1e7e83,_0x426df2._0x53ebc1,_0x426df2._0x2f06ac,0x534),_0x901c50,_0x24c7db],{'env':_0x7e36d0,'stdio':_0x30cc11(_0x426df2._0x48260d,_0x426df2._0x414479,_0x426df2._0x30e6cb,0x73d)});function _0x3bfe83(_0x401c91,_0x52bdfb,_0x379c17,_0x48c330){return _0x4535(_0x401c91-_0x2161b2._0x1bec92,_0x379c17);}_0x619c7['on'](_0x3bfe83(_0x426df2._0x2895cb,0x611,0x44a,0x3eb),()=>_0x2fae70(![])),_0x619c7['on'](_0x3bfe83(_0x426df2._0x286421,0x487,_0x426df2._0x37e3d5,_0x426df2._0x3f1d19),_0x1b9213=>_0x2fae70(_0x1b9213===0x0));});}function shouldDisableLspDownload(_0x50beab=process[_0x2edd77(0x342,0x32f,0x3e0,0x459)]){const _0x51123e={_0x165e2c:0x2a4,_0x38aa10:0x2ca,_0x664326:0x2c5,_0xe2874c:0x4b9,_0x1721ac:0x4cd,_0x3feab3:0x39e},_0x435b0d={_0x176515:0x468},_0x36d8ea={_0x217f8d:0x10f,_0x28d6e3:0x103},_0x551adb=_0x50beab[_0x44e353(0x4df,0x357,0x61e,0x533)]?.[_0x1af171(0x208,0x18a,0x16f,_0x51123e._0x165e2c)]();function _0x44e353(_0x4a947f,_0x8e1845,_0x41cd59,_0x2a2fbc){return _0x2edd77(_0x4a947f- -_0x36d8ea._0x217f8d,_0x8e1845-_0x36d8ea._0x28d6e3,_0x41cd59-0x2a,_0x2a2fbc);}function _0x1af171(_0x592695,_0x584efc,_0x32f785,_0x389b21){return _0x520b4c(_0x592695-0x3c,_0x584efc-0x124,_0x389b21,_0x584efc- -_0x435b0d._0x176515);}return _0x551adb===_0x1af171(0x2d8,_0x51123e._0x38aa10,0x428,_0x51123e._0x664326)||_0x551adb==='1'||_0x551adb===_0x44e353(_0x51123e._0xe2874c,_0x51123e._0x1721ac,0x5ed,_0x51123e._0x3feab3)||_0x551adb==='on';}function getLspPackageDir(_0x20fd88){const _0x1020d8={_0x3600b8:0x512,_0x2c0852:0x3da,_0xb9c1c1:0xf1,_0x4d87f5:0x299,_0x5b25c0:0x1bb,_0x55d73c:0x7fd,_0x231d65:0x7b3,_0x3c3458:0x6d0,_0x3dad1d:0x371,_0x2a3a73:0x3e5,_0x43954b:0x4b3},_0x1db8d6={_0xedc413:0x83,_0x4055ba:0x59},_0x39214b={_0x54a321:0x11c,_0x46ed5c:0x389};function _0x3ef5de(_0x2d1b08,_0x341178,_0xefe9fd,_0x371f34){return _0x520b4c(_0x2d1b08-0x1eb,_0x341178-_0x39214b._0x54a321,_0x2d1b08,_0xefe9fd- -_0x39214b._0x46ed5c);}function _0x540a52(_0x2066a4,_0x413f6c,_0x13852f,_0x15175d){return _0x520b4c(_0x2066a4-_0x1db8d6._0xedc413,_0x413f6c-0x1e4,_0x413f6c,_0x2066a4-_0x1db8d6._0x4055ba);}return _0x3fc654[_0x3ef5de(_0x1020d8._0x3600b8,_0x1020d8._0x2c0852,0x3b6,0x225)](_0x4d1c03[_0x3ef5de(_0x1020d8._0xb9c1c1,_0x1020d8._0x4d87f5,_0x1020d8._0x5b25c0,0x1fc)](),_0x540a52(_0x1020d8._0x55d73c,0x831,_0x1020d8._0x231d65,0x794),_0x540a52(0x6cb,0x570,_0x1020d8._0x3c3458,0x766),_0x3ef5de(_0x1020d8._0x3dad1d,0x43e,_0x1020d8._0x2a3a73,_0x1020d8._0x43954b),sanitizePackageName(_0x20fd88));}function getLspBinDir(_0x176108){const _0x49c56f={_0x485688:0x4ee,_0x3cc877:0x413,_0x6c96fc:0x3c5,_0x1e0285:0x541,_0x4f0eb3:0x327,_0x1bd305:0x4e5,_0xf73173:0x42d,_0x4c2cd6:0x326},_0x47a1ee={_0x36c1c7:0x79,_0xdb55d4:0x157},_0x5ea8b1={_0x104c67:0x17b,_0x31aaa2:0x37a};function _0x3db6d5(_0x4d24df,_0x18b8a0,_0x201658,_0x30b5d9){return _0x520b4c(_0x4d24df-_0x5ea8b1._0x104c67,_0x18b8a0-0x122,_0x18b8a0,_0x201658- -_0x5ea8b1._0x31aaa2);}function _0x1fc8b9(_0x555597,_0x3ae755,_0x42d619,_0x2ed35a){return _0x2edd77(_0x42d619- -_0x47a1ee._0x36c1c7,_0x3ae755-_0x47a1ee._0xdb55d4,_0x42d619-0xa,_0x2ed35a);}return _0x3fc654[_0x3db6d5(_0x49c56f._0x485688,_0x49c56f._0x3cc877,_0x49c56f._0x6c96fc,_0x49c56f._0x1e0285)](getLspPackageDir(_0x176108),_0x3db6d5(0x264,_0x49c56f._0x4f0eb3,0x365,0x25f),_0x1fc8b9(_0x49c56f._0x1bd305,0x55f,_0x49c56f._0xf73173,_0x49c56f._0x4c2cd6));}async function findPackageBinary(_0x5d5393,_0x2a32e8){const _0x462512={_0x584a56:0x664,_0x5076fe:0x636,_0x4987a0:0x20a,_0x2a9a39:0x15,_0x169c90:0x711,_0x3c1053:0x583},_0x18b556={_0x4b89e2:0x544,_0x41aaa4:0x4e,_0x54625f:0x108},_0x30d1ae={_0x369100:0x11a};function _0x3d4c1a(_0x2d8d00,_0x4fe0e7,_0x535e20,_0x546ddc){return _0x520b4c(_0x2d8d00-_0x30d1ae._0x369100,_0x4fe0e7-0x7d,_0x2d8d00,_0x546ddc-0x64);}function _0x4e87f8(_0x4771c6,_0x11a0d5,_0x3ba77c,_0x9955c3){return _0x2edd77(_0x4771c6- -_0x18b556._0x4b89e2,_0x11a0d5-_0x18b556._0x41aaa4,_0x3ba77c-_0x18b556._0x54625f,_0x11a0d5);}let _0x2c0fba=_0x3fc654[_0x3d4c1a(0x522,_0x462512._0x584a56,_0x462512._0x5076fe,0x5f2)](_0x2a32e8);const _0x2af552=binaryNameForPlatform(_0x5d5393);while(!![]){const _0x11fd65=_0x3fc654[_0x4e87f8(0x75,-0x47,0x126,_0x462512._0x4987a0)](_0x2c0fba,_0x4e87f8(_0x462512._0x2a9a39,-0x119,0x101,-0x69),'.bin',_0x2af552);if(await exists(_0x11fd65))return _0x11fd65;const _0x4e093c=_0x3fc654[_0x3d4c1a(_0x462512._0x169c90,0x721,0x6c6,_0x462512._0x3c1053)](_0x2c0fba);if(_0x4e093c===_0x2c0fba)return void 0x0;_0x2c0fba=_0x4e093c;}}async function findPathBinary(_0x44b747,_0x8ac829){const _0x3dc757={_0x421bdf:0x27a,_0x54d991:0x418,_0x529148:0x406,_0x70010b:0x503,_0x55e935:0x23b,_0x4be1ac:0x222,_0x311c44:0x2e8},_0x2e227e={_0x5c748e:0xaf,_0x3f198c:0x167,_0x3b3e51:0x19e},_0x5ef22b={_0x2d6221:0x177};function _0x812b6f(_0x114dba,_0x55b58f,_0xc00a40,_0x181233){return _0x520b4c(_0x114dba-_0x5ef22b._0x2d6221,_0x55b58f-0x1d9,_0xc00a40,_0x55b58f- -0x1e3);}const _0x5e94f6=getLspBinDir(_0x8ac829),_0x58fc56=[_0x5e94f6,process[_0x486d5a(0x31a,_0x3dc757._0x421bdf,0x3f1,0x4a9)][_0x486d5a(0x293,_0x3dc757._0x54d991,_0x3dc757._0x529148,0x3ec)]][_0x812b6f(_0x3dc757._0x70010b,0x4c3,0x4d8,0x38e)](Boolean)['join'](_0x3fc654[_0x812b6f(_0x3dc757._0x55e935,0x304,_0x3dc757._0x4be1ac,_0x3dc757._0x311c44)]);function _0x486d5a(_0x3531e7,_0x3dbe0c,_0x3f6096,_0x5b4727){return _0x2edd77(_0x3f6096-_0x2e227e._0x5c748e,_0x3dbe0c-_0x2e227e._0x3f198c,_0x3f6096-_0x2e227e._0x3b3e51,_0x3531e7);}try{return await _0x61f58f(_0x44b747,{'path':_0x58fc56});}catch{return void 0x0;}}async function resolvePackageBinary(_0x44b3b7){const _0x310839={_0x2f7318:0x38c,_0x5d52c2:0x217,_0xf4a456:0x24f,_0x49ceab:0x33e,_0x370f58:0x28,_0x54b318:0x1c6,_0x5efbce:0xb6,_0x557815:0xb9,_0x4f36e7:0x1c,_0x3bbb54:0x2f4,_0x1272b0:0x1cb,_0x566113:0x133,_0x5e8c87:0xeb,_0x2f219b:0xbd,_0x2deb3e:0x6f,_0x5bd9f3:0xb5,_0x4cb740:0x9b},_0x57454c={_0xdff2a3:0xcc,_0x1377e0:0x238},_0x4cf218={_0x4d376e:0x192},_0x133ef6=_0x44b3b7['binaryName']??_0x44b3b7['packageName'];function _0x43e573(_0x5277df,_0x3a3616,_0x56634c,_0x4b4d0d){return _0x520b4c(_0x5277df-0x47,_0x3a3616-0x196,_0x5277df,_0x3a3616- -0x49d);}const _0x451121=await findPackageBinary(_0x133ef6,_0x44b3b7[_0x30a7a9(0xc6,_0x310839._0x2f7318,0x1ec,_0x310839._0x5d52c2)]);if(_0x451121)return _0x451121;const _0x2d579f=await findPathBinary(_0x133ef6,_0x44b3b7[_0x43e573(0x347,_0x310839._0xf4a456,_0x310839._0x49ceab,0x1a0)]);if(_0x2d579f)return _0x2d579f;const _0x3e7a3b=_0x44b3b7[_0x43e573(-_0x310839._0x370f58,0x2b,_0x310839._0x54b318,-_0x310839._0x5efbce)]??process[_0x30a7a9(-0x148,_0x310839._0x557815,-0x59,_0x310839._0x4f36e7)];if(shouldDisableLspDownload(_0x3e7a3b))return void 0x0;function _0x30a7a9(_0x1be0f5,_0x55e5c7,_0x616d6a,_0x3869f8){return _0x2edd77(_0x616d6a- -0x39b,_0x55e5c7-0x12b,_0x616d6a-0x87,_0x3869f8);}const _0x24ff1b=getLspPackageDir(_0x44b3b7[_0x30a7a9(0x1de,_0x310839._0x3bbb54,_0x310839._0x1272b0,0x2ce)]),_0x56f97f=_0x44b3b7['packageName']+':'+_0x133ef6;let _0x2624a0=installPromises[_0x30a7a9(0xd,-_0x310839._0x566113,-0x28,-_0x310839._0x5e8c87)](_0x56f97f);!_0x2624a0&&(_0x2624a0=((async()=>{function _0x15796d(_0x474807,_0x2fa515,_0x3c17b1,_0x2577aa){return _0x43e573(_0x474807,_0x3c17b1- -_0x4cf218._0x4d376e,_0x3c17b1-0x94,_0x2577aa-0x162);}await mkdir(_0x24ff1b,{'recursive':!![]});const _0x119e54=await runNpmInstall(_0x24ff1b,_0x44b3b7['packageName'],_0x3e7a3b);if(!_0x119e54)return void 0x0;const _0x59c26a=_0x3fc654[_0x15796d(_0x57454c._0xdff2a3,_0x57454c._0x1377e0,0x110,0x1b6)](getLspBinDir(_0x44b3b7['packageName']),binaryNameForPlatform(_0x133ef6));return await exists(_0x59c26a)?_0x59c26a:void 0x0;})()),installPromises['set'](_0x56f97f,_0x2624a0));try{return await _0x2624a0;}catch{return void 0x0;}finally{installPromises[_0x43e573(_0x310839._0x2f219b,_0x310839._0x2deb3e,_0x310839._0x5bd9f3,_0x310839._0x4cb740)](_0x56f97f);}}var TYPESCRIPT_EXTENSIONS=[_0x2edd77(0x335,0x426,0x1e7,0x1c9),_0x2edd77(0x41d,0x306,0x4bc,0x2b9),_0x520b4c(0x607,0x56b,0x61d,0x5de),_0x2edd77(0x605,0x52d,0x6bc,0x500),_0x520b4c(0x69a,0x3b8,0x58a,0x557),_0x2edd77(0x450,0x5d7,0x52b,0x403),_0x2edd77(0x583,0x5e7,0x5fb,0x52a),_0x520b4c(0x57a,0x4c4,0x671,0x599)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x520b4c(0x6a5,0x5d3,0x862,0x765),_0x2edd77(0x35c,0x303,0x259,0x22b)],TYPESCRIPT_ROOT_MARKERS=[_0x520b4c(0x403,0x6a7,0x52e,0x59c),_0x520b4c(0x808,0x66c,0x8c7,0x791),_0x2edd77(0x5fc,0x64c,0x5ae,0x78a),_0x2edd77(0x58b,0x4dc,0x6be,0x4d0),'yarn.lock',_0x2edd77(0x55e,0x5dc,0x6fa,0x481),_0x2edd77(0x5de,0x6f1,0x62f,0x721),_0x520b4c(0x5f1,0x572,0x624,0x660)],BIOME_ROOT_MARKERS=['biome.json',_0x520b4c(0x78f,0x687,0x7f8,0x65e),'package-lock.json',_0x520b4c(0x607,0x872,0x810,0x791),_0x2edd77(0x5fc,0x511,0x708,0x6df),_0x2edd77(0x58b,0x664,0x6ac,0x61c),_0x520b4c(0x880,0x6af,0x6df,0x7e4),_0x520b4c(0x4f0,0x7b5,0x4ef,0x660)];async function exists2(_0x4578e1){try{return await _0x58c2f4(_0x4578e1),!![];}catch{return![];}}async function findUp(_0x7fdd42,_0x21442b){const _0x203653={_0x3a55f2:0x6a4,_0x55946c:0x5f3,_0x1cb1d5:0x7b3,_0x592251:0x719,_0x584568:0x768,_0x46d7f1:0x10e,_0x5f3b10:0x36b},_0x3ef0f8={_0x308d3d:0x1eb,_0x19759d:0x143},_0x41e84c={_0x46c44b:0x584};let _0x303b67=_0x3556be[_0x4a5f74(_0x203653._0x3a55f2,0x78d,0x5aa,_0x203653._0x55946c)](_0x7fdd42);function _0x40f430(_0x3c8e3b,_0x3e6498,_0x25ddf3,_0x215c37){return _0x2edd77(_0x215c37- -_0x41e84c._0x46c44b,_0x3e6498-0x5b,_0x25ddf3-0x98,_0x25ddf3);}const _0x1dc755=_0x3556be[_0x4a5f74(0x833,_0x203653._0x1cb1d5,_0x203653._0x592251,_0x203653._0x584568)](_0x303b67);if(_0x1dc755)_0x303b67=_0x3556be[_0x40f430(-_0x203653._0x46d7f1,-0x2dd,-_0x203653._0x5f3b10,-0x1eb)](_0x303b67);function _0x4a5f74(_0x209dc0,_0x4c3110,_0x409bdd,_0x33164f){return _0x2edd77(_0x33164f-_0x3ef0f8._0x308d3d,_0x4c3110-0x113,_0x409bdd-_0x3ef0f8._0x19759d,_0x4c3110);}while(!![]){for(const _0x33aff4 of _0x21442b){if(await exists2(_0x3556be['join'](_0x303b67,_0x33aff4)))return _0x303b67;}const _0x4d8314=_0x3556be['dirname'](_0x303b67);if(_0x4d8314===_0x303b67)return void 0x0;_0x303b67=_0x4d8314;}}async function hasDenoRoot(_0x160c34){const _0x509f04={_0x1899a0:0x277,_0x485f0c:0x3a9,_0x19cdca:0x205,_0x499b2b:0x26c,_0x396a36:0x3f1,_0x3282a4:0x683,_0x4e9739:0x56f,_0xc72ce1:0x235,_0x30c182:0x15f,_0x4e5535:0x241},_0x34e700={_0x4f3fc5:0x112,_0xa42707:0x1c,_0xd0d481:0x1d0},_0x60cc7e={_0x396b71:0x18a,_0x236cd1:0x53a};function _0x4caf84(_0x1e3c7b,_0x342044,_0x210240,_0x472562){return _0x520b4c(_0x1e3c7b-_0x60cc7e._0x396b71,_0x342044-0x36,_0x472562,_0x210240- -_0x60cc7e._0x236cd1);}function _0x340c35(_0x205a96,_0x457fdd,_0x5e9880,_0xd03c78){return _0x520b4c(_0x205a96-_0x34e700._0x4f3fc5,_0x457fdd-_0x34e700._0xa42707,_0x5e9880,_0x457fdd- -_0x34e700._0xd0d481);}return await exists2(_0x3556be[_0x4caf84(_0x509f04._0x1899a0,_0x509f04._0x485f0c,_0x509f04._0x19cdca,0x246)](_0x160c34,_0x4caf84(0x3c4,0x362,_0x509f04._0x499b2b,_0x509f04._0x396a36)))||await exists2(_0x3556be[_0x340c35(_0x509f04._0x3282a4,_0x509f04._0x4e9739,0x52e,0x5de)](_0x160c34,_0x4caf84(0x1d3,_0x509f04._0xc72ce1,_0x509f04._0x30c182,_0x509f04._0x4e5535)));}async function resolveTsserverPath(_0x4f9f16){const _0x5b18b3={_0x3fb2a7:0x535,_0x4b76f8:0x6e6,_0xb9ade8:0x880,_0x510b99:0x694,_0x2732d8:0x737,_0x5b7b38:0x6cc,_0x4480b1:0xa7,_0x1146d8:0xe8,_0x5a2085:0x151,_0x52e16b:0x90,_0x516218:0x30,_0x4895b9:0xaa,_0x26bad6:0x666,_0x15854e:0x6bb,_0x16924f:0x56f,_0x19c681:0x3fa,_0x4d34f0:0x1d6,_0x3a4d48:0x304,_0x517651:0x278,_0x3e8c1e:0x131,_0x3c72b1:0x2b1,_0xc52d53:0x1db,_0x32897e:0x1e6,_0x309d28:0x4ef,_0x238a22:0x461},_0x4f09ff={_0x195465:0x12d,_0xfca6cf:0x152,_0x54cd95:0x1eb},_0x14a260={_0x22c45a:0x3c,_0x5a4e4a:0xf3};function _0x18f7ef(_0x926a5e,_0x19da41,_0x33420c,_0x1add4e){return _0x2edd77(_0x33420c- -0x3c4,_0x19da41-_0x14a260._0x22c45a,_0x33420c-_0x14a260._0x5a4e4a,_0x1add4e);}let _0x1353d6=_0x3556be[_0xb9ea65(0x476,_0x5b18b3._0x3fb2a7,0x5a2,0x588)](_0x4f9f16);while(!![]){const _0x347cfd=_0x3556be[_0xb9ea65(0x6a2,_0x5b18b3._0x4b76f8,_0x5b18b3._0xb9ade8,0x5e5)](_0x1353d6,_0xb9ea65(0x73f,0x686,_0x5b18b3._0x510b99,0x52b),_0xb9ea65(_0x5b18b3._0x2732d8,_0x5b18b3._0x5b7b38,0x5c0,0x616),_0x18f7ef(_0x5b18b3._0x4480b1,-0x3d,-0x2,0x57),_0x18f7ef(_0x5b18b3._0x1146d8,-_0x5b18b3._0x5a2085,-_0x5b18b3._0x52e16b,-_0x5b18b3._0x516218));if(await exists2(_0x347cfd))return _0x347cfd;const _0x44a6d1=_0x3556be[_0x18f7ef(-0x1af,0x15c,-0x2b,-_0x5b18b3._0x4895b9)](_0x1353d6);if(_0x44a6d1===_0x1353d6)break;_0x1353d6=_0x44a6d1;}const _0x5bd1fe=getLspPackageDir(_0xb9ea65(_0x5b18b3._0x26bad6,_0x5b18b3._0x5b7b38,_0x5b18b3._0x15854e,0x793));function _0xb9ea65(_0x1052bb,_0x192678,_0xdc7a24,_0x27e875){return _0x2edd77(_0x192678-_0x4f09ff._0x195465,_0x192678-_0x4f09ff._0xfca6cf,_0xdc7a24-_0x4f09ff._0x54cd95,_0x1052bb);}const _0x214e7f=await resolvePackageBinary({'packageName':_0xb9ea65(_0x5b18b3._0x3fb2a7,_0x5b18b3._0x5b7b38,0x5ef,_0x5b18b3._0x16924f),'binaryName':_0xb9ea65(_0x5b18b3._0x19c681,0x51e,0x596,0x470),'startDir':_0x4f9f16});if(!_0x214e7f)return void 0x0;const _0x1e9b08=_0x3556be[_0x18f7ef(_0x5b18b3._0x4d34f0,_0x5b18b3._0x3a4d48,0x1f5,_0x5b18b3._0x517651)](_0x5bd1fe,_0xb9ea65(0x56c,0x686,0x6d3,0x58a),_0x18f7ef(_0x5b18b3._0x3e8c1e,_0x5b18b3._0x3c72b1,_0x5b18b3._0xc52d53,_0x5b18b3._0x32897e),_0xb9ea65(0x558,_0x5b18b3._0x309d28,0x360,0x64f),_0xb9ea65(0x4d5,_0x5b18b3._0x238a22,0x5ce,0x53a));return await exists2(_0x1e9b08)?_0x1e9b08:void 0x0;}var TypeScriptServer={'id':_0x2edd77(0x59f,0x5db,0x4ed,0x50d),'name':_0x2edd77(0x56f,0x46b,0x682,0x58d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0xd96db2){const _0x531c61=await findUp(_0xd96db2,TYPESCRIPT_ROOT_MARKERS);if(!_0x531c61)return void 0x0;return await hasDenoRoot(_0x531c61)?void 0x0:_0x531c61;},async 'spawn'(_0x1182c1){const _0x5922dc={_0x55ba18:0x471,_0x50881f:0x59c,_0x2e5e25:0x502,_0x2189d1:0x61b,_0x469e74:0x616,_0x919864:0x4ee,_0x479d1d:0x1dd,_0x1bdbb7:0x8c,_0xe71ee0:0x314,_0x234d1d:0x21e,_0x26fdf9:0x24a,_0x41970c:0x18a},_0xbb842c={_0x2ec7f1:0x1d7},_0x48b603={_0x28687b:0x8e};function _0x59fbd8(_0x4b695a,_0x74a259,_0x43ee9d,_0x296921){return _0x2edd77(_0x74a259-0x71,_0x74a259-0x19d,_0x43ee9d-_0x48b603._0x28687b,_0x4b695a);}const _0xe654b1=await resolveTsserverPath(_0x1182c1);if(!_0xe654b1)return void 0x0;const _0x1b896a=await resolvePackageBinary({'packageName':_0x59fbd8(_0x5922dc._0x55ba18,_0x5922dc._0x50881f,_0x5922dc._0x2e5e25,0x5b6),'binaryName':_0x59fbd8(_0x5922dc._0x2189d1,0x59c,_0x5922dc._0x469e74,_0x5922dc._0x919864),'startDir':_0x1182c1});function _0x4ba3f4(_0x4fea70,_0xe7af02,_0x8467de,_0x23a2c0){return _0x2edd77(_0xe7af02- -0x2e5,_0xe7af02-_0xbb842c._0x2ec7f1,_0x8467de-0x12b,_0x4fea70);}if(!_0x1b896a)return void 0x0;return{'process':_0x24e2bb(_0x1b896a,[_0x4ba3f4(0x16e,_0x5922dc._0x479d1d,_0x5922dc._0x1bdbb7,_0x5922dc._0xe71ee0)],{'cwd':_0x1182c1,'stdio':_0x4ba3f4(0x204,_0x5922dc._0x234d1d,_0x5922dc._0x26fdf9,_0x5922dc._0x41970c)}),'initialization':{'tsserver':{'path':_0xe654b1}}};}},BiomeServer={'id':_0x520b4c(0x646,0x4b0,0x458,0x5a6),'name':_0x520b4c(0x6bf,0x618,0x540,0x564),'extensions':BIOME_EXTENSIONS,async 'root'(_0x569aea){return findUp(_0x569aea,BIOME_ROOT_MARKERS);},async 'spawn'(_0x4c853a){const _0x2ce79d={_0x165243:0x2a2,_0x4d119d:0x365,_0x39b7d3:0x462,_0x326b4b:0x44f,_0xe20f84:0x3d2,_0x33e6ee:0x2e8,_0x3b7cba:0x52e,_0x2a7360:0x335,_0x54045a:0x3f7,_0x1d8166:0x31b,_0x578bd5:0x353,_0x44ace3:0x376},_0x48327c={_0x4764f5:0x16b};function _0x460b76(_0x224ef3,_0x5abbba,_0x1d3ec6,_0x1516f8){return _0x520b4c(_0x224ef3-0x14d,_0x5abbba-0xc1,_0x1516f8,_0x5abbba- -0x313);}const _0x24024f=await findPackageBinary(_0x460b76(_0x2ce79d._0x165243,0x293,0x2c3,_0x2ce79d._0x4d119d),_0x4c853a)??await resolvePackageBinary({'packageName':_0x460b76(0x2cd,_0x2ce79d._0x39b7d3,_0x2ce79d._0x326b4b,0x596),'binaryName':_0x2d9ad4(0x468,0x55e,_0x2ce79d._0xe20f84,_0x2ce79d._0x33e6ee),'startDir':_0x4c853a});if(!_0x24024f)return void 0x0;function _0x2d9ad4(_0x59a693,_0x251a7c,_0x439d0c,_0x2f2e66){return _0x2edd77(_0x439d0c- -0x4e,_0x251a7c-_0x48327c._0x4764f5,_0x439d0c-0x1a6,_0x251a7c);}return{'process':_0x24e2bb(_0x24024f,[_0x2d9ad4(0x480,0x52a,0x583,_0x2ce79d._0x3b7cba),_0x460b76(0x266,_0x2ce79d._0x2a7360,_0x2ce79d._0x54045a,_0x2ce79d._0x1d8166)],{'cwd':_0x4c853a,'stdio':_0x460b76(_0x2ce79d._0x578bd5,_0x2ce79d._0x44ace3,0x3e3,0x3d9)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x49e919){const _0x39a448={_0x30da2c:0x241,_0x6a52df:0x1be,_0x52866f:0x11c,_0x4cbd10:0x11b,_0x327416:0x248,_0xa17658:0x302},_0x1a765b={_0x787c7d:0x1ae},_0x4b6b27={_0x36ebba:0x19c,_0xd1912c:0x69e},_0x4aee22=_0x3556be[_0x158631(0x1d3,0x193,0x2a5,_0x39a448._0x30da2c)](_0x49e919)[_0x3b64c7(-0xac,-0x4a,-0xd6,-_0x39a448._0x6a52df)]();function _0x3b64c7(_0x436839,_0x227bf5,_0x47cb54,_0x3ab830){return _0x520b4c(_0x436839-0xf1,_0x227bf5-_0x4b6b27._0x36ebba,_0x227bf5,_0x436839- -_0x4b6b27._0xd1912c);}function _0x158631(_0x19cda4,_0x53da68,_0x5e3f14,_0x29d35d){return _0x520b4c(_0x19cda4-0x7d,_0x53da68-_0x1a765b._0x787c7d,_0x19cda4,_0x5e3f14- -0x45e);}return BUILTIN_LSP_SERVERS[_0x158631(_0x39a448._0x52866f,_0x39a448._0x4cbd10,_0x39a448._0x327416,_0x39a448._0xa17658)](_0xc17ffd=>_0xc17ffd['extensions'][_0x3b64c7(-0x1c,0x20,0xf2,0xb7)](_0x4aee22));}function stateKey(_0x3ce3ff,_0x41607c){return _0x41607c+':'+_0x3ce3ff['id'];}function diagnosticsKeyToPath(_0x1a26b2){const _0x4f44e0={_0x104363:0x2e4,_0x2d169f:0x349,_0x50e987:0x283,_0x5259f7:0x49e,_0x21c798:0x3e1,_0x57905c:0x261},_0x56d033={_0x38deff:0x1a6},_0x526ed3={_0x517c8c:0x1c,_0x4d1d0a:0x1d3,_0x3f32c6:0x349};function _0x4649ba(_0x114587,_0x231490,_0x1b477d,_0x816ebc){return _0x520b4c(_0x114587-_0x526ed3._0x517c8c,_0x231490-_0x526ed3._0x4d1d0a,_0x816ebc,_0x114587- -_0x526ed3._0x3f32c6);}function _0x33e103(_0x21758a,_0x2aa363,_0x30fab1,_0x4f187b){return _0x2edd77(_0x30fab1- -0x192,_0x2aa363-_0x56d033._0x38deff,_0x30fab1-0xcc,_0x4f187b);}if(!_0x1a26b2[_0x33e103(0x4e4,_0x4f44e0._0x104363,_0x4f44e0._0x2d169f,_0x4f44e0._0x50e987)](_0x33e103(_0x4f44e0._0x5259f7,_0x4f44e0._0x21c798,0x401,_0x4f44e0._0x57905c)))return _0x1a26b2;return fileURLToPath(_0x1a26b2);}function nextFileVersion(_0x4e450e,_0x18fd92){const _0x596563={_0x59ba2a:0x38e,_0x5855ec:0x290,_0x561e80:0x233,_0x3f5da7:0xa6},_0x1757fc={_0x1c2f88:0x464,_0x29e0fa:0x14b},_0x5b1a49={_0x1c4bfd:0x145},_0x118832=(_0x4e450e['fileVersions']['get'](_0x18fd92)??0x1)+0x1;function _0x3313a2(_0x549d17,_0x1fd515,_0x4f689e,_0x42aa6a){return _0x520b4c(_0x549d17-0x1ea,_0x1fd515-_0x5b1a49._0x1c4bfd,_0x4f689e,_0x549d17- -0x3be);}_0x4e450e[_0x3313a2(_0x596563._0x59ba2a,_0x596563._0x5855ec,0x3d1,0x4b5)][_0x125845(_0x596563._0x561e80,0x1c0,_0x596563._0x3f5da7,0x81)](_0x18fd92,_0x118832);function _0x125845(_0x339b7c,_0xa85844,_0x3d9a7f,_0x5d5f77){return _0x2edd77(_0xa85844- -_0x1757fc._0x1c2f88,_0xa85844-_0x1757fc._0x29e0fa,_0x3d9a7f-0xf4,_0x339b7c);}return _0x118832;}async function collectClientResults(_0x17b6d5){const _0x389769={_0x1cc4f1:0xa5,_0x5c4ade:0x3fd},_0x434934={_0x2e765d:0x115},_0x128ce3=await Promise[_0x54020e(-0x77,0x26,_0x389769._0x1cc4f1,0x15)](_0x17b6d5);function _0x263a4a(_0xa8c85,_0x39e552,_0x756ad4,_0x4d1f34){return _0x2edd77(_0x4d1f34- -0x2e0,_0x39e552-0x141,_0x756ad4-_0x434934._0x2e765d,_0x39e552);}function _0x54020e(_0x934f37,_0x5b6e72,_0x9138,_0x46d402){return _0x520b4c(_0x934f37-0x3e,_0x5b6e72-0x29,_0x5b6e72,_0x46d402- -0x4f2);}return _0x128ce3[_0x54020e(0x3b9,0x3f7,_0x389769._0x5c4ade,0x2bc)](_0x5cee7e=>_0x5cee7e[_0x54020e(0x335,0x11,0x163,0x19a)]==='fulfilled'?_0x5cee7e[_0x263a4a(0x160,0x134,0x450,0x2be)]:[]);}function createLspService(_0x386851={}){const _0x305113={_0x93aefc:0x60d},_0x518e9c={_0x40d287:0x330,_0x311988:0x44b,_0x2fd3f6:0x3c0,_0x534835:0x43d,_0x54533d:0x3b,_0x2289a6:0x1c1,_0xf9a604:0xc6,_0x39c1f0:0x139,_0x570130:0x285,_0xddd2fe:0x1a8,_0x2a81db:0x120,_0x56002d:0x370,_0x5c2fdd:0x402,_0x7ce147:0x275,_0x5b86f3:0x1d2,_0x52ec6b:0x371,_0x5783d1:0x263,_0x275db7:0x1a6,_0x4f2239:0xc2,_0x106d46:0x39,_0x5b49bf:0x3d9,_0x670efc:0x3c,_0x51abee:0x140,_0x11de80:0x134,_0x1393f2:0x225,_0xe87f20:0x10b,_0x49f523:0x1d7},_0x23002c={_0x59fff3:0x5ba},_0xae7cbe={_0x3dd170:0x586,_0x3cb372:0x796},_0x2a18d5={_0x3885c5:0xc8},_0x1ccc51={_0x2cc468:0x306,_0x5c6a11:0x416,_0x568f71:0x3cf},_0x4d9024={_0x2357aa:0x66,_0x24a5d7:0x26d},_0x2733ad={_0x3b9ebc:0x1b4,_0x112e10:0xed,_0x390092:0x68,_0x3f5019:0xb6},_0x4eab1c={_0x772d34:0x51},_0x209cfc={_0x15da30:0x483,_0x408339:0x469},_0x5b7336={_0x420a23:0x178,_0x1993d7:0x184},_0x309df7={_0x5adf02:0xeb},_0x4de4b1={_0x5be2a8:0x79},_0x1e9361={_0x31b441:0x38b,_0x1568ca:0x41e,_0x512062:0x61f,_0x100430:0x932,_0x232a3c:0x892},_0x1109ea={_0x1912ec:0x97,_0x4ffc9b:0x31,_0x4e2067:0x130},_0x2380da={_0x5e8eac:0xd6,_0x2504f8:0x61},_0x3a4260={_0x36925f:0x26,_0x365cc7:0x69,_0x392303:0x47,_0x2c4902:0xbd},_0x4e1677={_0x2e0d91:0x41,_0x22da7b:0x311,_0x5ba761:0x1af},_0x3fda2e={_0x10e58d:0x12f,_0x2cee47:0x78,_0x5a39fd:0x84,_0xd4fe7e:0x108},_0x4246d2={_0x597ee1:0x82,_0x104fc1:0x21c,_0x1ec4f3:0x84,_0xeb5331:0x111,_0x2f5d5a:0x2b3},_0x27e627={_0x4684cc:0xd4,_0x428031:0x160},_0x3144d9={_0x33afde:0x4b9,_0x34444b:0x4e9,_0x57bc2b:0x36d,_0x4fe7be:0x400},_0x2ecfa9={_0x3a77b5:0x1b2},_0x2e9ec2={_0x5e5557:0x171,_0x27304d:0x12c},_0x318b5b={_0x55ed48:0xd7,_0xf45ff1:0x8d,_0x269353:0x13},_0x2dcb47={_0x3f8227:0x6bb,_0x2e5c58:0x69c},_0x3b2ca3={_0x18f23c:0x81,_0x408f6e:0x14a,_0x4a4275:0x2e,_0x4e8b07:0x20e,_0x1b7d19:0x181,_0x123a93:0x1eb},_0x29fce5={_0x1f4df1:0x508,_0x42acfb:0x542,_0x5308c1:0x55e,_0xac2878:0x4a8,_0x53d163:0x5bc,_0x854c05:0x601,_0x29ff63:0x1fc,_0xbe17bc:0x2c4,_0x334c6b:0x230,_0x4b7045:0x4c4,_0xe2ffc6:0x557,_0x5803ff:0x7b2,_0x584903:0x597,_0x3a67f8:0x67d,_0x278cc9:0x5cb,_0x54d1d9:0x4ea,_0x254f55:0x6e6,_0x164170:0x5bc},_0x2722e8={_0x31391a:0xc,_0xa94338:0x213,_0x8e07be:0xd4,_0x4107fb:0x360,_0x4572ea:0x21f,_0x4f1219:0x15a,_0x53906d:0x101,_0x1fd3de:0x1a8,_0x2d95eb:0x5,_0x599b5c:0x153,_0x1831be:0x6c},_0x38f884={_0x9932d7:0x3a0,_0x95cf93:0x2e1,_0x4db7cc:0x169,_0x252cb5:0x7a,_0x3299be:0x267,_0x59da78:0x449,_0x5bf92f:0x25a,_0x2ba2f5:0x571,_0x2ad8f7:0x275,_0x5789f6:0x570,_0x105c5f:0x49b},_0x3b36f9={_0x4394aa:0x621,_0x42b1fc:0x778,_0x27beaa:0x6c1,_0x5d2c96:0x796,_0x32ed84:0x165,_0x80cc89:0x159,_0x3cf329:0x17,_0x857d0f:0x43f,_0x39c271:0xf1,_0x4763d8:0x89,_0x4e5f91:0x4e5,_0x412daa:0x43d,_0x11e28c:0x59c,_0x1fb719:0xee,_0x5c35b3:0x201,_0x18c3a2:0x536,_0x459479:0x476,_0x1fa908:0xd0,_0x41f8ce:0xfd},_0x26fa2c={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x5b4012=()=>_0x386851[_0x2ad084(0x552,0x6f1,0x7fc,0x853)]!==![];async function _0x4835ec(_0x152cad,_0x406d41){const _0x542319={_0x36fe08:0x7d,_0x38ee4d:0x2bf},_0x1ffedf={_0xc757ce:0x53},_0x5a559e={_0x964b77:0x78,_0x2f5bdf:0x2d8},_0x3a4676=stateKey(_0x152cad,_0x406d41),_0x4f5ee5=_0x26fa2c[_0x128262(_0x38f884._0x9932d7,_0x38f884._0x95cf93,_0x38f884._0x4db7cc,0x2dd)]['find'](_0x1d3909=>_0x1d3909[_0x128262(0x345,0x1ac,0x244,0x2f0)]===_0x152cad['id']&&_0x1d3909[_0x128262(0x261,0x406,0x329,0x2e1)]===_0x406d41);if(_0x4f5ee5)return _0x4f5ee5;if(_0x26fa2c[_0xbc014e(-_0x38f884._0x252cb5,-0x4f,0x1e,-0x197)][_0x128262(0x244,0x2bb,0x2d0,_0x38f884._0x3299be)](_0x3a4676))return void 0x0;const _0x5c2a9f=_0x26fa2c[_0x128262(_0x38f884._0x59da78,_0x38f884._0x5bf92f,0x3a4,0x3f1)][_0xbc014e(-0x298,-0x139,-0xcd,-0x1cb)](_0x3a4676);function _0x128262(_0x4a681c,_0x222fea,_0x4e6ab4,_0x15ea67){return _0x2ad084(_0x4a681c-_0x5a559e._0x964b77,_0x15ea67- -_0x5a559e._0x2f5bdf,_0x4e6ab4-0x130,_0x222fea);}function _0xbc014e(_0x36d619,_0x375d24,_0x5187c2,_0xf33f6){return _0x2ad084(_0x36d619-0xec,_0x375d24- -0x61f,_0x5187c2-0x17d,_0x36d619);}if(_0x5c2a9f)return _0x5c2a9f;const _0x133490=((async()=>{function _0x18700e(_0x424525,_0x37c889,_0xc1ec98,_0xf2bfc6){return _0xbc014e(_0xc1ec98,_0xf2bfc6-_0x1ffedf._0xc757ce,_0xc1ec98-0xb1,_0xf2bfc6-0x1c4);}function _0x26ad08(_0x2e4f0f,_0x2df391,_0x419dae,_0x5c09c0){return _0x128262(_0x2e4f0f-_0x542319._0x36fe08,_0x2df391,_0x419dae-0x18,_0x5c09c0-_0x542319._0x38ee4d);}try{const _0x5a26af=await _0x152cad[_0x26ad08(_0x3b36f9._0x4394aa,0x453,0x5a4,0x4a4)](_0x406d41);if(!_0x5a26af)return _0x26fa2c['broken'][_0x26ad08(_0x3b36f9._0x42b1fc,0x82b,_0x3b36f9._0x27beaa,_0x3b36f9._0x5d2c96)](_0x3a4676),void 0x0;const _0x257419=await createLspClient({'server':_0x152cad,'root':_0x406d41,'handle':_0x5a26af}),_0x3f7ad4=_0x26fa2c[_0x18700e(-_0x3b36f9._0x32ed84,_0x3b36f9._0x80cc89,-0xd7,-_0x3b36f9._0x3cf329)][_0x26ad08(0x472,0x6f6,_0x3b36f9._0x857d0f,0x5ce)](_0x26bb4d=>_0x26bb4d[_0x26ad08(0x426,0x480,0x6f9,0x5af)]===_0x152cad['id']&&_0x26bb4d['root']===_0x406d41);if(_0x3f7ad4)return await _0x257419[_0x18700e(-_0x3b36f9._0x39c271,-0x1bf,-_0x3b36f9._0x4763d8,-0x5e)](),_0x3f7ad4;return _0x26fa2c[_0x26ad08(0x579,_0x3b36f9._0x4e5f91,_0x3b36f9._0x412daa,_0x3b36f9._0x11e28c)][_0x18700e(_0x3b36f9._0x1fb719,_0x3b36f9._0x5c35b3,0x16f,0xe9)](_0x257419),_0x257419;}catch{return _0x26fa2c[_0x26ad08(_0x3b36f9._0x18c3a2,_0x3b36f9._0x459479,0x530,0x5b7)]['add'](_0x3a4676),void 0x0;}finally{_0x26fa2c[_0x18700e(0x141,0xee,_0x3b36f9._0x1fa908,_0x3b36f9._0x41f8ce)]['delete'](_0x3a4676);}})());return _0x26fa2c[_0x128262(_0x38f884._0x2ba2f5,_0x38f884._0x2ad8f7,0x3a4,0x3f1)][_0x128262(0x378,_0x38f884._0x5789f6,_0x38f884._0x105c5f,0x4bf)](_0x3a4676,_0x133490),_0x133490;}async function _0x1e9abb(_0x2d7f63,_0x53e1a4){const _0x4ad549={_0x7f2244:0xe0},_0x56f185={_0x1e81a1:0x2f,_0x4f48e6:0x6b0,_0x65533d:0x185};function _0x2d31e9(_0x36cc9a,_0x31b579,_0x35ac15,_0x25bd41){return _0x2ad084(_0x36cc9a-_0x56f185._0x1e81a1,_0x25bd41- -_0x56f185._0x4f48e6,_0x35ac15-_0x56f185._0x65533d,_0x35ac15);}if(!_0x5b4012())return[];function _0x283cbf(_0x4405e9,_0x29eedb,_0x1f1f6a,_0x1dae08){return _0x2ad084(_0x4405e9-0xf4,_0x29eedb- -0x3a2,_0x1f1f6a-_0x4ad549._0x7f2244,_0x4405e9);}const _0x2d4131=[];for(const _0x13e76f of getServersForFile(_0x2d7f63)){const _0x147857=await _0x13e76f['root'](_0x2d7f63);if(!_0x147857)continue;const _0x3c0304=stateKey(_0x13e76f,_0x147857);if(_0x26fa2c['broken'][_0x2d31e9(-0xe8,_0x2722e8._0x31391a,-0x201,-0x171)](_0x3c0304))continue;const _0x1765ed=_0x26fa2c[_0x283cbf(0x1b1,_0x2722e8._0xa94338,_0x2722e8._0x8e07be,_0x2722e8._0x4107fb)][_0x2d31e9(-0x1ee,-_0x2722e8._0x4572ea,-0x11d,-0xc9)](_0x2b5e2d=>_0x2b5e2d[_0x283cbf(0x2aa,0x226,0x2b0,0x101)]===_0x13e76f['id']&&_0x2b5e2d[_0x283cbf(0x36f,0x217,0x70,0x340)]===_0x147857);if(_0x1765ed){_0x2d4131[_0x2d31e9(_0x2722e8._0x4f1219,-_0x2722e8._0x53906d,_0x2722e8._0x1fd3de,_0x2722e8._0x2d95eb)](_0x1765ed);continue;}if(!_0x53e1a4)continue;const _0x2ba124=await _0x4835ec(_0x13e76f,_0x147857);if(_0x2ba124)_0x2d4131[_0x2d31e9(-_0x2722e8._0x599b5c,-_0x2722e8._0x1831be,0x16e,0x5)](_0x2ba124);}return _0x2d4131;}async function _0x563a94(_0x26a224,_0x4829a6=![]){const _0xfaac96={_0x229ce8:0x87},_0x1d47d0=await _0x1e9abb(_0x26a224,!![]);function _0x41c1c9(_0x1474b1,_0x7ef41b,_0x486f14,_0x444d4b){return _0x2ad084(_0x1474b1-0x8,_0x486f14- -0x173,_0x486f14-0x1aa,_0x1474b1);}function _0x19f76b(_0x38adea,_0x134723,_0x43d70e,_0x1e0f85){return _0x2ad084(_0x38adea-0x8f,_0x1e0f85- -0x6eb,_0x43d70e-0x7e,_0x43d70e);}await Promise[_0x19f76b(-0x145,_0x3b2ca3._0x18f23c,-_0x3b2ca3._0x408f6e,-_0x3b2ca3._0x4a4275)](_0x1d47d0[_0x19f76b(-_0x3b2ca3._0x4e8b07,-0x150,-_0x3b2ca3._0x1b7d19,-_0x3b2ca3._0x123a93)](async _0x387b41=>{function _0x4f424b(_0x2cf7de,_0x3c9be4,_0x561bcc,_0x53ec62){return _0x41c1c9(_0x3c9be4,_0x3c9be4-_0xfaac96._0x229ce8,_0x561bcc-0x176,_0x53ec62-0x8a);}!_0x26fa2c['openFiles'][_0x4f424b(_0x29fce5._0x1f4df1,0x5d3,_0x29fce5._0x42acfb,_0x29fce5._0x5308c1)](_0x387b41[_0x157a26(_0x29fce5._0xac2878,0x212,0x2c6,0x332)]+':'+_0x387b41[_0x4f424b(0x72f,0x644,_0x29fce5._0x53d163,_0x29fce5._0x854c05)]+':'+_0x26a224)&&(await _0x387b41['notify'][_0x157a26(0xea,_0x29fce5._0x29ff63,_0x29fce5._0xbe17bc,_0x29fce5._0x334c6b)]({'path':_0x26a224}),_0x26fa2c[_0x4f424b(0x6e5,_0x29fce5._0x4b7045,0x5ec,_0x29fce5._0xe2ffc6)][_0x4f424b(0x8d7,0x94b,_0x29fce5._0x5803ff,0x80b)](_0x387b41[_0x4f424b(_0x29fce5._0x584903,_0x29fce5._0x3a67f8,_0x29fce5._0x278cc9,_0x29fce5._0x54d1d9)]+':'+_0x387b41[_0x4f424b(_0x29fce5._0x254f55,0x633,_0x29fce5._0x164170,0x53a)]+':'+_0x26a224));function _0x157a26(_0x2985f5,_0x37a2d7,_0xeecfe3,_0x3ea14e){return _0x41c1c9(_0x2985f5,_0x37a2d7-0x156,_0x3ea14e- -0x123,_0x3ea14e-0x25);}await _0x387b41['notify']['change']({'path':_0x26a224,'version':nextFileVersion(_0x26fa2c,_0x26a224)});if(_0x4829a6)await _0x387b41['waitForDiagnostics']({'path':_0x26a224});}));}async function _0x3bb1c5(_0x4220e8){await _0x563a94(_0x4220e8['file'],![]);function _0x23d922(_0xd4dba5,_0x2e2ef8,_0x16dc8e,_0x1955b7){return _0x2ad084(_0xd4dba5-0x15a,_0x2e2ef8- -0x23,_0x16dc8e-0x101,_0xd4dba5);}return _0x1e9abb(_0x4220e8[_0x23d922(0x496,0x53a,_0x2dcb47._0x3f8227,_0x2dcb47._0x2e5c58)],![]);}function _0x2ad084(_0x4cbaee,_0x6589a0,_0x52d7eb,_0x5a5374){return _0x520b4c(_0x4cbaee-_0x318b5b._0x55ed48,_0x6589a0-_0x318b5b._0xf45ff1,_0x5a5374,_0x6589a0- -_0x318b5b._0x269353);}async function _0x3d0aa2(_0x77c68d){const _0x14e03c={_0x571100:0x5d0};function _0x335d6e(_0x217d08,_0x15b10f,_0x437633,_0x58a7f8){return _0x2ad084(_0x217d08-0xe8,_0x58a7f8- -_0x2e9ec2._0x5e5557,_0x437633-_0x2e9ec2._0x27304d,_0x15b10f);}const _0x34fd6f=await _0x3bb1c5(_0x77c68d);function _0x535a83(_0x40a2b0,_0x4496ec,_0x2d2faa,_0x47b5f5){return _0x2ad084(_0x40a2b0-0x5d,_0x4496ec- -_0x14e03c._0x571100,_0x2d2faa-0xb9,_0x40a2b0);}return collectClientResults(_0x34fd6f[_0x335d6e(0x255,0x221,0x359,0x38f)](_0x457111=>_0x457111[_0x535a83(0xd3,0x10c,0x17,-0x47)][_0x335d6e(0x4be,0x45e,0x5c0,0x461)](_0x77c68d)));}return{'isEnabled':_0x5b4012,async 'hasClients'(_0x4239e5){const _0xd3d0bd={_0x1854ee:0x1b5};function _0x41ca7b(_0x86f137,_0x40a9d4,_0x1c7436,_0x38a5cf){return _0x2ad084(_0x86f137-0x141,_0x40a9d4- -0x275,_0x1c7436-_0xd3d0bd._0x1854ee,_0x38a5cf);}function _0x119deb(_0x3c45ca,_0x541619,_0x4e0ffc,_0x56c082){return _0x2ad084(_0x3c45ca-0x1b8,_0x56c082- -0x12c,_0x4e0ffc-_0x2ecfa9._0x3a77b5,_0x4e0ffc);}return(await _0x1e9abb(_0x4239e5,![]))[_0x41ca7b(0x1f8,0x36d,0x427,_0x3144d9._0x33afde)]>0x0||getServersForFile(_0x4239e5)[_0x41ca7b(_0x3144d9._0x34444b,_0x3144d9._0x57bc2b,0x437,_0x3144d9._0x4fe7be)]>0x0;},'touchFile':_0x563a94,async 'diagnostics'(){const _0x2eb32c={_0x5e0e0a:0x86,_0x5d00bd:0x17};function _0x4bbcb7(_0x44c218,_0x2740f2,_0x127186,_0x40a133){return _0x2ad084(_0x44c218-_0x2eb32c._0x5e0e0a,_0x40a133- -0x3fb,_0x127186-_0x2eb32c._0x5d00bd,_0x2740f2);}const _0x2ba1ba={};for(const _0x57a8b7 of _0x26fa2c[_0x384851(0xfa,0x25c,-_0x4246d2._0x597ee1,_0x4246d2._0x104fc1)]){for(const [_0x55fe21,_0x1ec585]of _0x57a8b7[_0x384851(0x1a0,_0x4246d2._0x1ec4f3,_0x4246d2._0xeb5331,_0x4246d2._0x2f5d5a)]){_0x2ba1ba[diagnosticsKeyToPath(_0x55fe21)]=_0x1ec585;}}function _0x384851(_0x480efb,_0x1be72d,_0x2b85d3,_0x27df33){return _0x2ad084(_0x480efb-_0x27e627._0x4684cc,_0x480efb- -0x4bb,_0x2b85d3-_0x27e627._0x428031,_0x1be72d);}return _0x2ba1ba;},async 'diagnosticsForFile'(_0x5589ca){const _0x1b1c32={_0x457850:0x11b,_0x275d7a:0x5d7};await _0x563a94(_0x5589ca,!![]);const _0x3f1859=[];function _0x48ad7e(_0x51a7c3,_0x26f66c,_0x5368c8,_0x5c6506){return _0x2ad084(_0x51a7c3-_0x1b1c32._0x457850,_0x5368c8- -_0x1b1c32._0x275d7a,_0x5368c8-0xf2,_0x26f66c);}for(const _0xfbae44 of await _0x1e9abb(_0x5589ca,![])){for(const [_0x59ed09,_0x220063]of _0xfbae44[_0x48ad7e(_0x3fda2e._0x10e58d,-_0x3fda2e._0x2cee47,_0x3fda2e._0x5a39fd,_0x3fda2e._0xd4fe7e)]){if(diagnosticsKeyToPath(_0x59ed09)===_0x5589ca)_0x3f1859['push'](..._0x220063);}}return _0x3f1859;},async 'definition'(_0x3074af){function _0x4e6f4f(_0x40cbfb,_0x143b19,_0x2df4bf,_0x5ba7dd){return _0x2ad084(_0x40cbfb-_0x4e1677._0x2e0d91,_0x2df4bf- -_0x4e1677._0x22da7b,_0x2df4bf-_0x4e1677._0x5ba761,_0x143b19);}function _0x3b7e06(_0x497a36,_0x547f1f,_0x492852,_0xcd5dac){return _0x2ad084(_0x497a36-0x14e,_0x547f1f- -0x632,_0x492852-0x19f,_0x492852);}return collectClientResults((await _0x3bb1c5(_0x3074af))['map'](_0x594413=>_0x594413[_0x3b7e06(0x1b8,0xaa,-0x89,0x1f7)][_0x3b7e06(-0x16e,-0xef,-0x13b,0x7)](_0x3074af)));},async 'references'(_0x1a46be){const _0x323aa0={_0x58c60f:0x21,_0x4bb802:0x3eb,_0x13b554:0x175},_0xfbd3d4={_0x495e6d:0x1c3};function _0x5266cf(_0x4f7901,_0x5cddfa,_0x4dd103,_0xfe8d96){return _0x2ad084(_0x4f7901-_0xfbd3d4._0x495e6d,_0x4dd103- -0x547,_0x4dd103-0xf8,_0x5cddfa);}function _0x3dead4(_0x568661,_0x388575,_0x3b142f,_0x97949d){return _0x2ad084(_0x568661-_0x323aa0._0x58c60f,_0x97949d- -_0x323aa0._0x4bb802,_0x3b142f-_0x323aa0._0x13b554,_0x3b142f);}return collectClientResults((await _0x3bb1c5(_0x1a46be))[_0x5266cf(_0x3a4260._0x36925f,_0x3a4260._0x365cc7,-_0x3a4260._0x392303,_0x3a4260._0x2c4902)](_0x209b49=>_0x209b49[_0x3dead4(0x474,0x321,0x23f,0x2f1)][_0x3dead4(0x490,0x48f,0x365,0x3b4)](_0x1a46be)));},async 'hover'(_0x6ed759){function _0x525a66(_0x3139ea,_0x398fa5,_0x54931d,_0x53de93){return _0x2ad084(_0x3139ea-0x1c,_0x54931d- -_0x2380da._0x5e8eac,_0x54931d-_0x2380da._0x2504f8,_0x53de93);}function _0x422258(_0x32a1c6,_0x2c6dc4,_0x163335,_0xd8f530){return _0x2ad084(_0x32a1c6-_0x1109ea._0x1912ec,_0x2c6dc4-_0x1109ea._0x4ffc9b,_0x163335-_0x1109ea._0x4e2067,_0xd8f530);}const _0x580964=await Promise[_0x525a66(0x40a,_0x1e9361._0x31b441,_0x1e9361._0x1568ca,0x3cd)]((await _0x3bb1c5(_0x6ed759))[_0x422258(_0x1e9361._0x512062,0x531,0x423,0x695)](_0x5c9ded=>_0x5c9ded[_0x525a66(0x5d8,0x571,0x606,0x6e4)][_0x525a66(0x4bc,0x557,0x3ce,0x4d4)](_0x6ed759)));return _0x580964[_0x422258(_0x1e9361._0x100430,0x7cc,0x6e5,_0x1e9361._0x232a3c)](_0x293dd2=>_0x293dd2[_0x525a66(0x6cb,0x476,0x5a3,0x732)]===_0x525a66(0x410,0x55d,0x588,0x492)&&_0x293dd2['value']?[_0x293dd2[_0x525a66(0x72d,0x710,0x63b,0x641)]]:[]);},async 'documentSymbol'(_0x29b290){const _0xe33d37={_0x147737:0x75};function _0x4ea056(_0x424c9b,_0x3cc522,_0x3fed54,_0x2eb0d4){return _0x2ad084(_0x424c9b-0x40,_0x3cc522- -0x636,_0x3fed54-_0x4de4b1._0x5be2a8,_0x2eb0d4);}await _0x563a94(_0x29b290,![]);function _0x4b2d6e(_0x4553ea,_0x18d9c6,_0x1a042c,_0x5a6720){return _0x2ad084(_0x4553ea-0x5d,_0x18d9c6- -0x4ec,_0x1a042c-_0xe33d37._0x147737,_0x4553ea);}return collectClientResults((await _0x1e9abb(_0x29b290,![]))[_0x4b2d6e(-0x25,0x14,-0xc1,-_0x309df7._0x5adf02)](_0xb6ec8e=>_0xb6ec8e[_0x4b2d6e(0x301,0x1f0,0x387,0x1ed)][_0x4ea056(0x1a8,0x8c,0xb3,0x90)](_0x29b290)));},async 'workspaceSymbol'(_0x5286e1){function _0x32484d(_0xbcbca7,_0x1ed2af,_0x5d4d29,_0x1940d2){return _0x2ad084(_0xbcbca7-_0x5b7336._0x420a23,_0x1940d2- -0x20a,_0x5d4d29-_0x5b7336._0x1993d7,_0x5d4d29);}return collectClientResults(_0x26fa2c[_0x32484d(_0x209cfc._0x15da30,0x4ac,_0x209cfc._0x408339,0x3ab)]['map'](_0xbe7c81=>_0xbe7c81['request']['workspaceSymbol'](_0x5286e1)));},async 'implementation'(_0x199a64){const _0x328c9c={_0x58671f:0x385};function _0x1b43d6(_0x39ddc1,_0x1a5cc7,_0x2ed036,_0x28a35b){return _0x2ad084(_0x39ddc1-0x144,_0x28a35b- -_0x328c9c._0x58671f,_0x2ed036-0x179,_0x39ddc1);}function _0x46f122(_0x547cc2,_0x5eb60a,_0x4c04e1,_0xa62c0b){return _0x2ad084(_0x547cc2-0x130,_0x4c04e1- -0x568,_0x4c04e1-_0x4eab1c._0x772d34,_0x547cc2);}return collectClientResults((await _0x3bb1c5(_0x199a64))[_0x46f122(-_0x2733ad._0x3b9ebc,_0x2733ad._0x112e10,-_0x2733ad._0x390092,-_0x2733ad._0x3f5019)](_0x1eac95=>_0x1eac95[_0x1b43d6(0x228,0x406,0x4f7,0x357)][_0x46f122(0x93,0x1bb,0xaf,0xd7)](_0x199a64)));},async 'prepareCallHierarchy'(_0x5af992){return _0x3d0aa2(_0x5af992);},async 'incomingCalls'(_0x328400){const _0xe2c4db={_0x6e3473:0x1d6};function _0x518af0(_0x49bc35,_0x3e3c8d,_0x2b406e,_0x2e4495){return _0x2ad084(_0x49bc35-_0x4d9024._0x2357aa,_0x3e3c8d- -_0x4d9024._0x24a5d7,_0x2b406e-0x1b0,_0x2b406e);}const _0x4115ac=await _0x3d0aa2(_0x328400);function _0x3e93d7(_0x189732,_0x2cbf01,_0x2d6d15,_0xe3cbf9){return _0x2ad084(_0x189732-_0xe2c4db._0x6e3473,_0xe3cbf9- -0x4ca,_0x2d6d15-0x2b,_0x189732);}const _0x30075d=await _0x3bb1c5(_0x328400);return collectClientResults(_0x30075d[_0x3e93d7(_0x1ccc51._0x2cc468,_0x1ccc51._0x5c6a11,_0x1ccc51._0x568f71,0x2d1)](_0x20f51a=>_0x4115ac[_0x518af0(0x359,0x293,0x281,0x244)](_0xbf8c55=>_0x20f51a[_0x518af0(0x46c,0x46f,0x540,0x598)]['incomingCalls'](_0xbf8c55))));},async 'outgoingCalls'(_0x65247b){const _0x17efbc={_0x54c360:0x83};function _0x113e76(_0x3d8014,_0xcec40e,_0x2fd579,_0x29aafa){return _0x2ad084(_0x3d8014-_0x2a18d5._0x3885c5,_0x3d8014- -0x38c,_0x2fd579-0x1d9,_0x2fd579);}const _0x50cf30=await _0x3d0aa2(_0x65247b),_0x21da4b=await _0x3bb1c5(_0x65247b);function _0xa389e6(_0x1d2ae5,_0x49edf5,_0x243e62,_0x224aae){return _0x2ad084(_0x1d2ae5-0x6c,_0x243e62- -0x85,_0x243e62-_0x17efbc._0x54c360,_0x224aae);}return collectClientResults(_0x21da4b[_0xa389e6(0x67c,_0xae7cbe._0x3dd170,0x716,_0xae7cbe._0x3cb372)](_0x589d0c=>_0x50cf30[_0x113e76(0x174,0x1e4,0xb8,0x27e)](_0x5b9dd4=>_0x589d0c[_0x113e76(0x350,0x252,0x4b3,0x2c2)]['outgoingCalls'](_0x5b9dd4))));},async 'shutdown'(){const _0x501a9b={_0x87ae75:0x358,_0x3ab2e7:0x8e};if(_0x26fa2c[_0x24a34b(_0x518e9c._0x40d287,0x480,0x3c0,0x480)])return;_0x26fa2c[_0x24a34b(_0x518e9c._0x311988,0x3a5,_0x518e9c._0x2fd3f6,_0x518e9c._0x534835)]=!![];function _0x25678d(_0x19f11e,_0x4cb14f,_0x87ffb,_0x5072f4){return _0x2ad084(_0x19f11e-0x1ad,_0x5072f4- -_0x23002c._0x59fff3,_0x87ffb-0xec,_0x4cb14f);}await Promise[_0x25678d(-0x125,-_0x518e9c._0x54533d,-_0x518e9c._0x2289a6,-_0x518e9c._0xf9a604)](_0x26fa2c['clients'][_0x24a34b(_0x518e9c._0x39c1f0,_0x518e9c._0x570130,_0x518e9c._0xddd2fe,_0x518e9c._0x2a81db)](_0x27bbff=>_0x27bbff[_0x24a34b(0x138,0x341,0x216,0x19c)]())),_0x26fa2c[_0x24a34b(0x36a,_0x518e9c._0x56002d,0x25d,_0x518e9c._0x5c2fdd)]=[],_0x26fa2c[_0x24a34b(_0x518e9c._0x7ce147,_0x518e9c._0x5b86f3,_0x518e9c._0x52ec6b,_0x518e9c._0x5783d1)][_0x25678d(-0x78,-_0x518e9c._0x275db7,_0x518e9c._0x4f2239,-_0x518e9c._0x106d46)]();function _0x24a34b(_0x52d88b,_0x320ec1,_0x13e01b,_0x374ea0){return _0x2ad084(_0x52d88b-0x107,_0x13e01b- -_0x501a9b._0x87ae75,_0x13e01b-_0x501a9b._0x3ab2e7,_0x374ea0);}_0x26fa2c['broken']['clear'](),_0x26fa2c[_0x24a34b(_0x518e9c._0x5b49bf,0x3cd,0x3e1,0x3d7)][_0x25678d(_0x518e9c._0x670efc,0x12b,-0x10a,-0x39)](),_0x26fa2c[_0x24a34b(_0x518e9c._0x51abee,_0x518e9c._0x11de80,0x291,_0x518e9c._0x1393f2)][_0x25678d(-_0x518e9c._0xe87f20,-_0x518e9c._0x49f523,-0x1c0,-_0x518e9c._0x106d46)]();},'status'(){function _0x2c98c2(_0x4b2309,_0x20766d,_0x5da07d,_0x11069c){return _0x2ad084(_0x4b2309-0x175,_0x20766d-0x76,_0x5da07d-0xf1,_0x11069c);}return{'connectedClients':_0x26fa2c['clients'][_0x2c98c2(_0x305113._0x93aefc,0x658,0x79f,0x4de)]};}};}function createQuestionId(){const _0x451c83={_0x447041:0xcc,_0x3aaa36:0x1ad,_0x47e04a:0x24b,_0x362ce4:0xc0,_0x4ca217:0x1ba,_0x40dda9:0x48b},_0xa0fd6a={_0x324d1d:0x6c,_0xea426e:0x6a3},_0x38dbe5={_0x2f04fc:0xa,_0x1a238b:0xeb};function _0x132df0(_0xcc9d4,_0x46ddc9,_0x306fdd,_0x397b5d){return _0x2edd77(_0xcc9d4- -_0x38dbe5._0x2f04fc,_0x46ddc9-0x14c,_0x306fdd-_0x38dbe5._0x1a238b,_0x397b5d);}function _0x1d7549(_0x5b8c3e,_0x318305,_0x5531dd,_0x365679){return _0x520b4c(_0x5b8c3e-_0xa0fd6a._0x324d1d,_0x318305-0x7f,_0x5531dd,_0x5b8c3e- -_0xa0fd6a._0xea426e);}return _0x1d7549(_0x451c83._0x447041,0x164,_0x451c83._0x3aaa36,0x192)+Date['now']()+'-'+Math[_0x1d7549(-0x149,-_0x451c83._0x47e04a,-_0x451c83._0x362ce4,-_0x451c83._0x4ca217)]()[_0x132df0(0x59a,_0x451c83._0x40dda9,0x5a2,0x424)](0x24)['slice'](0x2,0x9);}function validateInput(_0x10fd32){const _0x57abf5={_0x5ed861:0x1ca,_0x4bedc9:0x50,_0x395e3d:0xc1,_0x1ed2e3:0x53,_0x28c1e5:0x143,_0x1a94b3:0xf,_0x288823:0x17,_0x448779:0x59,_0x20227f:0xf,_0x3808da:0x107,_0x120539:0x17c,_0x31f932:0x8e,_0x331bba:0x5a,_0x244f81:0xa1,_0x35c375:0x99,_0x140fc6:0x14e,_0x8497a7:0x73,_0x440f91:0x128,_0x20da0f:0x87,_0x303655:0x28,_0x18f3c7:0x9a,_0x4122d2:0xb4,_0x5d433e:0x69,_0x951152:0xd7,_0x2dfb2b:0x145,_0x3970e1:0x1a8,_0x46d369:0x10a,_0x3b89f4:0x1ee,_0x4b847a:0x9f,_0x3875d7:0x68,_0x498a69:0x2c4,_0x37c494:0x14b,_0x42b30b:0x7d,_0x3aa0fe:0x28,_0x36a2d5:0x26e,_0x197f84:0x100,_0x64a34:0x4a,_0x1de7f9:0xd4,_0x1b7fd3:0x125,_0x2cfef7:0x50,_0x87923b:0x162,_0x1ba95b:0x24,_0x4cbf0a:0x1a1,_0x20662:0xb2,_0xbefab8:0x5,_0x2febcc:0x77,_0x2240d8:0x15e,_0x32d74b:0x5,_0x8170a7:0x16c,_0x5d4dc6:0x60,_0x53043a:0x41,_0x53a10a:0x28c,_0x2ed671:0x1b3,_0x2aeff4:0x14,_0x7a2c9a:0x59,_0x677a55:0x12e,_0x77004a:0x92,_0xe419f:0xa,_0x3b2c70:0xdd,_0x5b4b88:0x17,_0x162ed3:0xb1,_0x4d0fa9:0x2c2},_0x233515={_0x297c20:0xa9,_0x9fab9f:0x0};function _0x5cdbe2(_0x3102ca,_0x5a760c,_0x5ae155,_0x254523){return _0x2edd77(_0x5ae155- -0x365,_0x5a760c-_0x233515._0x297c20,_0x5ae155-_0x233515._0x9fab9f,_0x5a760c);}function _0x18344a(_0x119c65,_0x28baa1,_0x3588fa,_0xe9849b){return _0x2edd77(_0x28baa1- -0x460,_0x28baa1-0x115,_0x3588fa-0xa8,_0xe9849b);}if(!Array[_0x18344a(_0x57abf5._0x5ed861,_0x57abf5._0x4bedc9,_0x57abf5._0x395e3d,_0x57abf5._0x1ed2e3)](_0x10fd32['questions'])||_0x10fd32['questions'][_0x18344a(_0x57abf5._0x28c1e5,_0x57abf5._0x1a94b3,_0x57abf5._0x288823,0x18a)]<0x1||_0x10fd32['questions'][_0x18344a(-_0x57abf5._0x448779,_0x57abf5._0x20227f,-0xaa,-_0x57abf5._0x3808da)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x18344a(_0x57abf5._0x120539,0x12a,0x1ac,_0x57abf5._0x31f932)});for(let _0x2bb50c=0x0;_0x2bb50c<_0x10fd32[_0x5cdbe2(-0x90,0x12a,_0x57abf5._0x331bba,-0x72)]['length'];_0x2bb50c+=0x1){const _0x5f5a70=_0x10fd32[_0x18344a(-0x1af,-_0x57abf5._0x244f81,0x2f,-_0x57abf5._0x35c375)][_0x2bb50c];if(!_0x5f5a70['question']||typeof _0x5f5a70[_0x18344a(-_0x57abf5._0x140fc6,-0x115,-0x191,_0x57abf5._0x8497a7)]!=='string')throw new ToolExecutionError(_0x5cdbe2(-0x172,0xb0,0x24,-0x62)+(_0x2bb50c+0x1)+_0x5cdbe2(_0x57abf5._0x440f91,-_0x57abf5._0x1ed2e3,_0x57abf5._0x20da0f,-_0x57abf5._0x303655));if(!_0x5f5a70['topic']||typeof _0x5f5a70[_0x5cdbe2(-_0x57abf5._0x18f3c7,_0x57abf5._0x4122d2,0x27,0x6)]!=='string')throw new ToolExecutionError(_0x18344a(_0x57abf5._0x5d433e,-_0x57abf5._0x951152,-0x1e8,0xd)+(_0x2bb50c+0x1)+_0x5cdbe2(0x1b0,0x99,_0x57abf5._0x2dfb2b,_0x57abf5._0x3970e1));if(_0x5f5a70['topic'][_0x5cdbe2(-0x11,-0x39,_0x57abf5._0x46d369,-_0x57abf5._0x288823)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x2bb50c+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x5f5a70[_0x18344a(-_0x57abf5._0x3b89f4,-0xd4,-_0x57abf5._0x4b847a,-_0x57abf5._0x3875d7)][_0x5cdbe2(0x17b,0x1f6,0x10a,0x1d1)]);if(!Array[_0x5cdbe2(0x2aa,_0x57abf5._0x498a69,_0x57abf5._0x37c494,0x258)](_0x5f5a70[_0x18344a(-0x8a,0x5,0xd5,-_0x57abf5._0x42b30b)])||_0x5f5a70[_0x5cdbe2(0x113,_0x57abf5._0x3aa0fe,0x100,_0x57abf5._0x36a2d5)]['length']<0x2||_0x5f5a70[_0x5cdbe2(-0x6f,0x14,_0x57abf5._0x197f84,-_0x57abf5._0x64a34)][_0x18344a(_0x57abf5._0x1de7f9,_0x57abf5._0x1a94b3,_0x57abf5._0x331bba,_0x57abf5._0x1b7fd3)]>0x4)throw new ToolExecutionError(_0x5cdbe2(_0x57abf5._0x2cfef7,-_0x57abf5._0x87923b,_0x57abf5._0x1ba95b,_0x57abf5._0x4cbf0a)+(_0x2bb50c+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0x389d06=0x0;_0x389d06<_0x5f5a70[_0x18344a(_0x57abf5._0x20662,_0x57abf5._0xbefab8,-_0x57abf5._0x2febcc,0xa3)][_0x18344a(-0xe7,_0x57abf5._0x20227f,-0x36,0xe2)];_0x389d06+=0x1){const _0x5e39cf=_0x5f5a70[_0x18344a(-_0x57abf5._0x2240d8,_0x57abf5._0x32d74b,-_0x57abf5._0x8170a7,_0x57abf5._0x5d4dc6)][_0x389d06];if(!_0x5e39cf[_0x18344a(_0x57abf5._0x53043a,-0x3e,-0x1e0,-0x9f)]||!_0x5e39cf[_0x18344a(-0x3b,-0x126,-_0x57abf5._0x53a10a,-0x7f)])throw new ToolExecutionError(_0x5cdbe2(-0x2f,_0x57abf5._0x2ed671,0x24,-0x160)+(_0x2bb50c+0x1)+_0x18344a(-_0x57abf5._0x2aeff4,0x137,0x1bd,0x84)+(_0x389d06+0x1)+_0x18344a(_0x57abf5._0x7a2c9a,_0x57abf5._0x677a55,-0x14,0x2c3));}if(typeof _0x5f5a70[_0x18344a(0xf6,-0x34,-_0x57abf5._0x77004a,-_0x57abf5._0xe419f)]!==_0x18344a(_0x57abf5._0x3b2c70,_0x57abf5._0x5b4b88,-0x107,_0x57abf5._0x162ed3))throw new ToolExecutionError('Question\x20'+(_0x2bb50c+0x1)+_0x5cdbe2(0x15f,_0x57abf5._0x4d0fa9,0x1d3,0x2df));}}function buildQuestions(_0x352e27){const _0x155287={_0x348c69:0x3ba},_0x20ae33={_0x48778d:0x51,_0x3e40c7:0xbb},_0x4aac72={_0x4f3211:0x2d,_0x3843ef:0x19f};function _0x44f7a8(_0x19d96f,_0x4abced,_0x4dd1f6,_0x438ecc){return _0x2edd77(_0x19d96f-_0x4aac72._0x4f3211,_0x4abced-_0x4aac72._0x3843ef,_0x4dd1f6-0x82,_0x4dd1f6);}function _0x36f57e(_0x9f9b75,_0x289524,_0x34fb92,_0x752196){return _0x2edd77(_0x34fb92-_0x20ae33._0x48778d,_0x289524-0x17e,_0x34fb92-_0x20ae33._0x3e40c7,_0x9f9b75);}return _0x352e27[_0x36f57e(_0x155287._0x348c69,0x3aa,0x410,0x2c3)]['map']((_0x52f82e,_0x3da123)=>({'id':'q'+_0x3da123,'question':_0x52f82e['question'],'topic':_0x52f82e['topic'],'options':_0x52f82e[_0x36f57e(0x628,0x62f,0x4b6,0x618)],'multiSelect':_0x52f82e['multiSelect']}));}function createResult(_0x2ea644,_0x22926c,_0xf71f70){const _0x384ab2={_0xd58e1b:0x5f8},_0x331515={_0xd5c10e:0x11};function _0x19a640(_0x280a44,_0x531102,_0x26f9bf,_0x18d000){return _0x520b4c(_0x280a44-0x8f,_0x531102-_0x331515._0xd5c10e,_0x18d000,_0x280a44-0x4e);}const _0x22e872={'questionId':_0x2ea644,'questionCount':_0x22926c,'answers':_0xf71f70};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x19a640(0x76a,0x6eb,0x821,_0x384ab2._0xd58e1b)](_0xf71f70,null,0x2),_0x22e872);}function createAskUserTool(){const _0x3ef298={_0x10cf8b:0x547,_0x228ce9:0x6ba,_0x461dbb:0x5fe,_0x31a58d:0x7fa,_0x4e19fb:0x43b,_0x85c284:0x5dc,_0x7ff8f4:0x5e9,_0x6f1f60:0x4be,_0xa99784:0x568,_0x1d9bc:0x727,_0x4228fa:0x7c4,_0x5eda27:0x388,_0xfc2266:0x557,_0x118c19:0x66e,_0x2314e8:0x421,_0x6b5ba6:0x1ad,_0x1d6f55:0x3df,_0x2410d2:0x38b,_0xf7d674:0x204,_0x3bb10c:0x464,_0x465596:0x2c8,_0x395e18:0x568,_0x249ddf:0x32d},_0x4de276={_0x255e58:0x12e,_0xd1574c:0x16b,_0x2e14d8:0x179,_0x4fe0b4:0x3e9,_0x1bdacc:0x3c9,_0x2b28ba:0x48d,_0x421f6f:0x585,_0x50e553:0x167,_0x1d31cc:0xcd,_0x3fa8c7:0xcc,_0x2f9d3a:0x3e9,_0x497ddd:0x3f9,_0x566525:0x325,_0x1fece9:0x4a3,_0x2cbbcc:0x20e,_0x549d0c:0x2a0,_0x533389:0x457,_0x172265:0x34d,_0x35b386:0x26d,_0x387192:0x1cf,_0x28a6e3:0x275,_0x26a376:0x3a6},_0x34b8dd={_0x4c8d5b:0x10,_0x4d4625:0x134},_0x30fecb={_0x4ac80e:0x1};function _0x382400(_0x543d15,_0x4ddbe6,_0x4d06ca,_0x3a79da){return _0x2edd77(_0x543d15- -_0x30fecb._0x4ac80e,_0x4ddbe6-0x91,_0x4d06ca-0x2d,_0x3a79da);}function _0x297746(_0x1bff63,_0x54c3c1,_0x11ab90,_0x337d67){return _0x520b4c(_0x1bff63-0x1b0,_0x54c3c1-_0x34b8dd._0x4c8d5b,_0x337d67,_0x1bff63- -_0x34b8dd._0x4d4625);}return defineTool({'name':_0x382400(0x5e0,0x497,0x6e5,_0x3ef298._0x10cf8b),'permissionClass':_0x297746(_0x3ef298._0x228ce9,_0x3ef298._0x461dbb,_0x3ef298._0x31a58d,0x6d5),'description':_0x297746(_0x3ef298._0x4e19fb,0x439,0x2c6,0x5d0),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x297746(0x454,0x357,_0x3ef298._0x85c284,_0x3ef298._0x7ff8f4),'items':{'type':_0x382400(0x5f7,0x4b6,_0x3ef298._0x6f1f60,0x77f),'properties':{'question':{'type':'string'},'topic':{'type':_0x382400(0x648,_0x3ef298._0xa99784,_0x3ef298._0x1d9bc,_0x3ef298._0x4228fa)},'options':{'type':_0x297746(0x454,0x506,_0x3ef298._0x5eda27,_0x3ef298._0xfc2266),'items':{'type':_0x382400(0x5f7,0x64d,_0x3ef298._0x118c19,0x455),'properties':{'label':{'type':'string'},'description':{'type':'string'}},'required':[_0x382400(_0x3ef298._0x2314e8,0x33e,0x3dd,0x32d),_0x382400(0x339,0x211,0x477,_0x3ef298._0x6b5ba6)]}},'multiSelect':{'type':'boolean'}},'required':[_0x382400(0x34a,0x27d,_0x3ef298._0x1d6f55,0x438),_0x382400(_0x3ef298._0x2410d2,0x3a3,0x301,_0x3ef298._0xf7d674),_0x382400(_0x3ef298._0x3bb10c,_0x3ef298._0x465596,0x36a,0x591),_0x297746(0x47e,0x3aa,0x5b3,0x3d1)]}},'answers':{'type':_0x382400(0x5f7,0x724,_0x3ef298._0x395e18,0x60c),'properties':{}}},'required':[_0x382400(0x3be,_0x3ef298._0x249ddf,0x25c,0x3f8)]},async *'execute'(_0x133900,_0x575a96){const _0x2eea53={_0xdfe149:0x149,_0x2f0125:0x1ce};function _0x4821ed(_0x48d183,_0x2d4efd,_0x32c52f,_0x535975){return _0x382400(_0x48d183- -_0x2eea53._0xdfe149,_0x2d4efd-_0x2eea53._0x2f0125,_0x32c52f-0x15e,_0x2d4efd);}const _0xa29c8c=_0x133900;validateInput(_0xa29c8c);const _0x3334e5=_0x575a96[_0x59dc30(0x226,_0x4de276._0x255e58,_0x4de276._0xd1574c,_0x4de276._0x2e14d8)]??createQuestionId();if(_0xa29c8c[_0x4821ed(_0x4de276._0x4fe0b4,_0x4de276._0x1bdacc,_0x4de276._0x2b28ba,_0x4de276._0x421f6f)]&&Object[_0x59dc30(_0x4de276._0x2e14d8,_0x4de276._0x50e553,_0x4de276._0x1d31cc,_0x4de276._0x3fa8c7)](_0xa29c8c[_0x4821ed(_0x4de276._0x2f9d3a,0x3d1,_0x4de276._0x497ddd,0x540)])[_0x4821ed(_0x4de276._0x566525,0x373,_0x4de276._0x1fece9,0x21d)]>0x0)return createResult(_0x3334e5,_0xa29c8c['questions'][_0x59dc30(0x8a,_0x4de276._0x2cbbcc,0x24c,_0x4de276._0x549d0c)],_0xa29c8c[_0x4821ed(0x3e9,_0x4de276._0x533389,_0x4de276._0x172265,0x532)]);if(!_0x575a96['askUser'])throw new ToolExecutionError(_0x59dc30(0x119,_0x4de276._0x35b386,0x356,_0x4de276._0x387192));const _0x2d859f=buildQuestions(_0xa29c8c);function _0x59dc30(_0x586026,_0x5a011d,_0x26786b,_0x360a1a){return _0x297746(_0x5a011d- -0x2b3,_0x5a011d-0x1d0,_0x26786b-0x3b,_0x26786b);}const _0x1f6f16=await _0x575a96['askUser']({'questionId':_0x3334e5,'questions':_0x2d859f});yield createResult(_0x3334e5,_0xa29c8c[_0x4821ed(_0x4de276._0x28a6e3,0xec,_0x4de276._0x26a376,0x318)][_0x4821ed(0x325,0x203,_0x4de276._0x4fe0b4,0x3f6)],_0x1f6f16);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x5b7e7e}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4ab49e){return _0x4ab49e instanceof Error;}function resolveCarriageReturns(_0x405a63){const _0x448831={_0x1c2bf7:0x1c,_0x13caaf:0xaa},_0x5dae3f={_0x4cab21:0x221,_0x2e2a3e:0x11,_0xba0f18:0x280,_0xc654cc:0x147},_0x4a042d={_0x3140d3:0x263,_0x210384:0x162,_0x5b3196:0x14b},_0x31b8b4={_0x131c2e:0x163,_0x49c678:0xc5,_0x211143:0x9b},_0x149054={_0x4a9bb5:0x162};function _0x426123(_0x491ad4,_0x5a7227,_0x59418a,_0x419f8d){return _0x2edd77(_0x491ad4- -0x30c,_0x5a7227-0x107,_0x59418a-_0x149054._0x4a9bb5,_0x5a7227);}return _0x405a63[_0x426123(_0x448831._0x1c2bf7,-0x67,0x16c,-_0x448831._0x13caaf)]('\x0a')['map'](_0x54a8c3=>{if(!_0x54a8c3[_0x4f6c02(_0x5dae3f._0x4cab21,0x120,0x8d,0x35)]('\x0d'))return _0x54a8c3;function _0x4f6c02(_0x1fae7b,_0x217f44,_0x43d75c,_0x5a8771){return _0x426123(_0x43d75c- -_0x31b8b4._0x131c2e,_0x1fae7b,_0x43d75c-_0x31b8b4._0x49c678,_0x5a8771-_0x31b8b4._0x211143);}function _0x10ac25(_0x407cd0,_0x49abe8,_0x1ed51d,_0x9a3559){return _0x426123(_0x9a3559-_0x4a042d._0x3140d3,_0x1ed51d,_0x1ed51d-_0x4a042d._0x210384,_0x9a3559-_0x4a042d._0x5b3196);}const _0x1469c3=_0x54a8c3[_0x4f6c02(-_0x5dae3f._0x2e2a3e,-_0x5dae3f._0xba0f18,-_0x5dae3f._0xc654cc,-0x191)]('\x0d');return _0x1469c3[_0x1469c3['length']-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x1cb05a){const _0x261fad={_0x6dc92a:0x272,_0x21e879:0x255},_0xdf213={_0x7471e5:0x9c};function _0x243c95(_0x3ea3c2,_0x4fe047,_0x197694,_0x3b0e07){return _0x2edd77(_0x4fe047- -0x1a0,_0x4fe047-0x41,_0x197694-_0xdf213._0x7471e5,_0x3b0e07);}const _0x4df696=[];for(const _0x24151d of Array['from'](_0x1cb05a)){_0x24151d==='\x08'?_0x4df696[_0x243c95(0x216,_0x261fad._0x6dc92a,0x413,_0x261fad._0x21e879)]():_0x4df696['push'](_0x24151d);}return _0x4df696['join']('');}function stripAnsiAndControls(_0x2bc367){const _0x3847bf={_0x26d002:0x4d4,_0x25302e:0x2ec,_0x1f79c0:0x3be,_0x4cff4d:0x1a6,_0x3907fb:0x41e,_0x46d387:0x339,_0x7e4052:0x3ff,_0x2f0ddc:0x401,_0x4b60f4:0x411,_0x56ab2e:0x483,_0x15385d:0x59a,_0xc07750:0x45f,_0x3f75d4:0x565,_0x52e7cc:0x564,_0x3ad6aa:0x4e8,_0x303133:0x615,_0x4965c6:0x3d2,_0x5d8124:0x3e2,_0x10e7bb:0x50d,_0x4df45d:0x2ae,_0x33ebf6:0x3d8},_0x1342d5={_0x3fb991:0x1b2},_0x404eda={_0x5c6975:0x17e};_0x2bc367=resolveCarriageReturns(_0x2bc367);function _0xdc222a(_0x2161e6,_0x4804ee,_0x491052,_0x1bc84d){return _0x2edd77(_0x2161e6- -0xca,_0x4804ee-0xf8,_0x491052-_0x404eda._0x5c6975,_0x491052);}_0x2bc367=resolveBackspaces(_0x2bc367),_0x2bc367=stripVTControlCharacters(_0x2bc367);const _0x458a1f='\x1b';function _0xd4dde1(_0x336e15,_0x4d1e33,_0x3310bb,_0x48bd22){return _0x520b4c(_0x336e15-_0x1342d5._0x3fb991,_0x4d1e33-0xf1,_0x336e15,_0x48bd22- -0x1ee);}const _0x465d64='\x07';return _0x2bc367=_0x2bc367[_0xd4dde1(0x359,_0x3847bf._0x26d002,0x49d,0x434)](new RegExp(_0xdc222a(_0x3847bf._0x25302e,_0x3847bf._0x1f79c0,_0x3847bf._0x4cff4d,_0x3847bf._0x3907fb)+_0x465d64+'\x5cn]*?'+_0x465d64,'g'),''),_0x2bc367=_0x2bc367[_0xdc222a(0x3d2,_0x3847bf._0x46d387,0x244,0x526)](new RegExp(_0xdc222a(_0x3847bf._0x7e4052,_0x3847bf._0x2f0ddc,_0x3847bf._0x4b60f4,0x27f)+_0x458a1f+'\x5c\x5c','g'),''),_0x2bc367=_0x2bc367[_0xdc222a(0x3d2,0x33d,0x376,_0x3847bf._0x56ab2e)](new RegExp(_0x465d64,'g'),''),_0x2bc367=_0x2bc367['replace'](new RegExp(_0x458a1f+_0xd4dde1(0x5a6,_0x3847bf._0x15385d,_0x3847bf._0xc07750,0x552)+_0x458a1f+'\x5c\x5c','g'),''),_0x2bc367=_0x2bc367['replace'](new RegExp(_0x458a1f+_0xdc222a(_0x3847bf._0x3f75d4,_0x3847bf._0x52e7cc,_0x3847bf._0x3ad6aa,_0x3847bf._0x303133),'g'),''),_0x2bc367=_0x2bc367['replace'](/[\u0080-\u009F]/g,''),_0x2bc367=_0x2bc367[_0xdc222a(_0x3847bf._0x4965c6,_0x3847bf._0x5d8124,_0x3847bf._0x10e7bb,_0x3847bf._0x4df45d)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x2bc367=_0x2bc367[_0xdc222a(0x3d2,0x2ec,0x3b3,_0x3847bf._0x33ebf6)](/[\u23CE\u2424]/g,''),_0x2bc367;}function killProcessGroup(_0x2c0a3f,_0x35f2e9,_0x1665bd=_0x520b4c(0x575,0x485,0x609,0x518)){const _0x255116={_0x3cc068:0x4c2,_0x2be794:0x3f9,_0x1c038b:0x259,_0x58d5b1:0x21f,_0x303edd:0x1fb,_0x186f05:0x35b,_0x56ecd2:0x43c,_0xe470e7:0x4f9,_0x2a383f:0x28,_0x2a136c:0x5c,_0x44c6f8:0x63f,_0x47e917:0x563,_0x248489:0x290,_0x42c795:0x348,_0x3ac111:0x94,_0x86a991:0x128,_0x5532f6:0x24e},_0xba0030={_0x216954:0x11e,_0x928bec:0xb0},_0x2a5b53={_0x1bd188:0x1ce};if(!_0x2c0a3f[_0x4b7cdd(0x247,0x153,0xdc,0x255)])return;function _0x2ce0e1(_0x2eec5e,_0x13b865,_0x3c2e45,_0x52a6d6){return _0x2edd77(_0x3c2e45- -0x509,_0x13b865-0x16,_0x3c2e45-_0x2a5b53._0x1bd188,_0x13b865);}function _0x4b7cdd(_0x22c161,_0x519d87,_0xdda1a9,_0x1f63cf){return _0x2edd77(_0x22c161- -_0xba0030._0x216954,_0x519d87-_0xba0030._0x928bec,_0xdda1a9-0x78,_0x519d87);}if(_0x35f2e9)try{_0x5b7e7e(_0x4b7cdd(_0x255116._0x3cc068,0x655,_0x255116._0x2be794,0x52d),[_0x4b7cdd(_0x255116._0x1c038b,_0x255116._0x58d5b1,0x3ab,_0x255116._0x303edd),_0x2c0a3f[_0x4b7cdd(0x247,0x135,_0x255116._0x186f05,0x3de)][_0x4b7cdd(0x486,0x39a,_0x255116._0x56ecd2,_0x255116._0xe470e7)](),'/T','/F'],{'stdio':_0x2ce0e1(_0x255116._0x2a383f,0x171,_0x255116._0x2a136c,0x47)});return;}catch{_0x2c0a3f['kill'](_0x1665bd);return;}try{process[_0x4b7cdd(0x4f0,_0x255116._0x44c6f8,0x5e7,_0x255116._0x47e917)](-_0x2c0a3f[_0x2ce0e1(-_0x255116._0x248489,-_0x255116._0x42c795,-0x1a4,-_0x255116._0x3ac111)],_0x1665bd);}catch{_0x2c0a3f[_0x2ce0e1(-0x5c,_0x255116._0x86a991,0x105,_0x255116._0x5532f6)](_0x1665bd);}}var BackgroundProcessRegistry=class{[_0x520b4c(0x4d0,0x5a6,0x7b6,0x625)]=new Map();[_0x520b4c(0x909,0x68d,0x75c,0x796)];[_0x520b4c(0x41b,0x55a,0x4d0,0x4f7)];[_0x2edd77(0x609,0x72c,0x63a,0x513)];[_0x520b4c(0x72e,0x76f,0x8cf,0x7cc)]=0x0;constructor(_0x5a609a={}){const _0x17940b={_0x5df573:0x657,_0x2a3f8b:0x7ea,_0x295da2:0x6ce,_0x31f5fb:0x57f},_0x3f2d82={_0x2d96b4:0x95},_0x25209d={_0xad0100:0x14a,_0x467330:0x12f};this[_0x46b17c(_0x17940b._0x5df573,0x779,_0x17940b._0x2a3f8b,0x6a5)]=_0x5a609a['maxConcurrent']??0xa,this['maxEntries']=_0x5a609a['maxEntries']??0x40;function _0x6c95ff(_0x4dbf06,_0x1fc896,_0xebaa7a,_0x5ea6e0){return _0x2edd77(_0x4dbf06- -_0x25209d._0xad0100,_0x1fc896-_0x25209d._0x467330,_0xebaa7a-0x131,_0x1fc896);}function _0x46b17c(_0x5e6251,_0x2ee914,_0x55f9dc,_0x25fa66){return _0x2edd77(_0x5e6251-0x47,_0x2ee914-_0x3f2d82._0x2d96b4,_0x55f9dc-0x1a7,_0x2ee914);}this[_0x46b17c(0x650,0x51a,_0x17940b._0x295da2,0x772)]=_0x5a609a[_0x46b17c(0x650,0x6e5,_0x17940b._0x31f5fb,0x4ad)]??0x100000;}[_0x520b4c(0x4e7,0x34b,0x362,0x4d0)](_0x37437a){const _0x50cf3b={_0x2e9e6b:0x30e,_0x259495:0x1d,_0xf742ce:0x174,_0x329910:0x68,_0xd33d6:0xc3,_0x5e1956:0xb8,_0x38b063:0x1dc,_0x169ac1:0x93,_0x9243e2:0xad,_0x4f5260:0x13a,_0x5c7487:0x3c,_0x8fe752:0x781,_0x41c281:0x6f9,_0x4598f:0x604,_0x45c223:0x76c,_0x5dc9c6:0x462,_0x195242:0x8ed,_0x49943f:0x87f,_0x461a20:0x68c,_0x56c702:0x6ad,_0x45e5cc:0x6a5,_0x225dee:0x1ca,_0x245ab7:0x81,_0x38e77b:0x17f,_0x217c6b:0x21b,_0x4bb8f8:0x175,_0x4b6b7c:0x464,_0x51aab4:0x480,_0x3fefeb:0x21,_0x3040c7:0x116,_0x1617d9:0xfc,_0x50782e:0x7c6,_0xbde94e:0x648,_0x3586de:0x681,_0x222e85:0x162,_0x55a423:0x56,_0x421937:0x95,_0x3b4c5e:0x3,_0x17cac6:0x18a,_0x4bfe5a:0x8e,_0x440c07:0x2a9,_0x4faf19:0x150,_0x489ff2:0x16d,_0x38d3d1:0x51,_0x13fbfd:0x231,_0x5d6cc6:0x671,_0x2e8c77:0xbc,_0x46370b:0x309,_0x535d1f:0x1ad,_0x306930:0x18,_0x642fe8:0x201,_0x586662:0x59,_0x5d374b:0xf6,_0x9186b0:0x103,_0x297659:0x1b6,_0x5bc380:0x7d5,_0x5c65d8:0x856,_0x22cf86:0x798},_0x23f81d={_0x1c7d10:0x65c},_0x520979={_0x309a89:0x658,_0x52ecda:0x5c3,_0x504411:0x552,_0x5b005d:0x1fd,_0x395238:0x144,_0x2f1587:0x5,_0x33516b:0x144,_0x147ca6:0x4bf,_0x4314ca:0x59e},_0xcbf78f={_0xcf9906:0xb7,_0x281e5e:0x10d},_0x162a69={_0x2bef21:0xfe,_0x18474a:0x15c},_0x3ddc62={_0x551762:0x24,_0x2b62be:0x103,_0x5f5180:0x352,_0x36eb63:0x3f2,_0x2717e8:0x4c1,_0x34308a:0x22b,_0x1d1821:0xfd,_0x2c1460:0x4,_0x2b68ee:0x2ef,_0xd4addf:0x44c,_0x55723f:0x386,_0x2eea9c:0x709,_0x43d6e8:0x4ce,_0x432a13:0x11f,_0xe467ba:0xe8,_0x1e37f5:0x3ec},_0x42b8a2={_0x46fc07:0x1d6,_0x116eee:0x3f},_0x373fc0={_0x108b42:0x183},_0x111d51=[...this['entries'][_0x23e4d3(_0x50cf3b._0x2e9e6b,-_0x50cf3b._0x259495,_0x50cf3b._0xf742ce,_0x50cf3b._0x329910)]()][_0x23e4d3(_0x50cf3b._0xd33d6,_0x50cf3b._0x5e1956,0x4a,0x124)](_0x509bf8=>_0x509bf8[_0x23e4d3(-0x8,-0x42,0x30,0x8c)]===_0x20806e(0x73e,0x646,0x6e1,0x7b7))[_0x23e4d3(-_0x50cf3b._0x38b063,_0x50cf3b._0x169ac1,-0x67,_0x50cf3b._0x259495)];if(_0x111d51>=this[_0x23e4d3(0x241,_0x50cf3b._0x9243e2,_0x50cf3b._0x4f5260,-_0x50cf3b._0x5c7487)])throw new ToolExecutionError(_0x20806e(_0x50cf3b._0x8fe752,0x6c1,0x62c,0x5e2)+this['maxConcurrent']+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x20806e(0x793,0x63c,0x8a6,_0x50cf3b._0x41c281)]});function _0x20806e(_0x4d1979,_0x51fb5f,_0x55e65f,_0x1134e8){return _0x2edd77(_0x4d1979-_0x373fc0._0x108b42,_0x51fb5f-0x1ca,_0x55e65f-0x1a1,_0x55e65f);}const _0x263c22=_0x20806e(_0x50cf3b._0x4598f,_0x50cf3b._0x45c223,_0x50cf3b._0x5dc9c6,0x6e4)+ ++this[_0x20806e(0x7c9,_0x50cf3b._0x195242,0x7ee,0x7d2)]+'-'+randomUUID()['slice'](0x0,0x8),_0x575e13={'shellId':_0x263c22,'command':_0x37437a['command'],'cwd':_0x37437a[_0x20806e(0x7ba,_0x50cf3b._0x49943f,_0x50cf3b._0x461a20,_0x50cf3b._0x56c702)],'pid':_0x37437a[_0x20806e(0x7c6,_0x50cf3b._0x45e5cc,0x83f,0x7eb)][_0x23e4d3(-0x2fa,-_0x50cf3b._0x225dee,-0x171,-0x204)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x23e4d3(-_0x50cf3b._0x245ab7,-0x2ce,-0x12e,-_0x50cf3b._0x38e77b)](),'child':_0x37437a[_0x23e4d3(0xc9,_0x50cf3b._0x217c6b,0x16d,_0x50cf3b._0x4bb8f8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x20806e(0x584,_0x50cf3b._0x4b6b7c,0x6d7,_0x50cf3b._0x51aab4)),'stripAnsi':_0x37437a[_0x23e4d3(_0x50cf3b._0x3fefeb,-_0x50cf3b._0x3040c7,-_0x50cf3b._0x1617d9,-0x11d)],'killRequested':![],'processExited':![]};_0x37437a[_0x20806e(_0x50cf3b._0x50782e,0x705,0x8ef,0x832)][_0x20806e(0x707,_0x50cf3b._0xbde94e,0x766,_0x50cf3b._0x3586de)]?.['on'](_0x23e4d3(-_0x50cf3b._0x222e85,-0x1f3,-_0x50cf3b._0x55a423,-0x9f),_0x514e78=>this['append'](_0x575e13,_0x575e13[_0x23e4d3(-0x1a6,0x7c,-0x10,0x26)][_0x23e4d3(-0x2b0,-0xf7,-0x191,-0x14a)](_0x514e78))),_0x37437a[_0x20806e(_0x50cf3b._0x50782e,0x681,0x720,0x88a)][_0x23e4d3(-_0x50cf3b._0x421937,-0x1c9,-0xad,_0x50cf3b._0x3b4c5e)]?.['on'](_0x23e4d3(-_0x50cf3b._0x17cac6,-0x10a,-_0x50cf3b._0x55a423,-_0x50cf3b._0x4bfe5a),_0x4b02f1=>this['append'](_0x575e13,_0x575e13[_0x23e4d3(0x82,-0xc0,0x9f,0x225)][_0x23e4d3(-0xdd,-0x70,-0x191,-0x224)](_0x4b02f1))),_0x37437a[_0x23e4d3(_0x50cf3b._0x440c07,_0x50cf3b._0x4faf19,_0x50cf3b._0x489ff2,_0x50cf3b._0x38d3d1)]['once'](_0x23e4d3(-_0x50cf3b._0x13fbfd,-0x26e,-0x119,-0x5a),()=>{const _0x52c912={_0x3a69b4:0x55};function _0x2fd057(_0x11d3c5,_0x20fc87,_0x53ac5c,_0xc21354){return _0x23e4d3(_0xc21354,_0x20fc87-0x173,_0x11d3c5-0x343,_0xc21354-_0x52c912._0x3a69b4);}_0x575e13[_0x2fd057(_0x42b8a2._0x46fc07,0x143,_0x42b8a2._0x116eee,0x2a3)]=!![];}),_0x37437a[_0x20806e(0x7c6,0x7a8,_0x50cf3b._0x5d6cc6,0x6b7)]['once'](_0x23e4d3(-_0x50cf3b._0x2e8c77,-_0x50cf3b._0x46370b,-_0x50cf3b._0x535d1f,-_0x50cf3b._0x306930),(_0x47e7d0,_0x11120a)=>{const _0x17dbea={_0x391e16:0x4f,_0x56e387:0x50f};this['append'](_0x575e13,_0x575e13['stdoutDecoder'][_0x2ad179(-_0x3ddc62._0x551762,0xfd,_0x3ddc62._0x2b62be,0x8e)]());function _0x2ad179(_0x530592,_0x412c71,_0x3c3f2a,_0x28eb52){return _0x20806e(_0x412c71- -0x3da,_0x412c71-0x121,_0x28eb52,_0x28eb52-0xa1);}this[_0x4ce206(0x3b2,_0x3ddc62._0x5f5180,_0x3ddc62._0x36eb63,_0x3ddc62._0x2717e8)](_0x575e13,_0x575e13['stderrDecoder'][_0x2ad179(_0x3ddc62._0x34308a,_0x3ddc62._0x1d1821,0xa0,-_0x3ddc62._0x2c1460)]()),_0x575e13[_0x2ad179(0x12b,0x2af,_0x3ddc62._0x2b68ee,0x20a)]=_0x575e13['killRequested']?_0x2ad179(_0x3ddc62._0xd4addf,_0x3ddc62._0x55723f,0x2d6,0x30b):_0x4ce206(0x505,0x6e0,_0x3ddc62._0x2eea9c,0x5ba),_0x575e13[_0x2ad179(_0x3ddc62._0x43d6e8,0x3e1,0x3ef,0x42f)]=_0x47e7d0,_0x575e13[_0x2ad179(-0x3e,_0x3ddc62._0x432a13,_0x3ddc62._0xe467ba,0x257)]=_0x11120a;function _0x4ce206(_0x507319,_0x2a45a2,_0x4d284c,_0x2c2cc5){return _0x23e4d3(_0x2a45a2,_0x2a45a2-_0x17dbea._0x391e16,_0x2c2cc5-_0x17dbea._0x56e387,_0x2c2cc5-0x12e);}_0x575e13[_0x2ad179(0x3c0,_0x3ddc62._0x1e37f5,0x591,0x313)]=null;}),_0x37437a[_0x23e4d3(_0x50cf3b._0x642fe8,0x1a8,_0x50cf3b._0x489ff2,0x207)][_0x23e4d3(_0x50cf3b._0x586662,-_0x50cf3b._0x5d374b,0x24,-0x9)](_0x23e4d3(-_0x50cf3b._0x9186b0,-_0x50cf3b._0x4f5260,-_0x50cf3b._0x297659,-0x331),_0x498f28=>{_0x575e13[_0x4b944a(_0x520979._0x309a89,0x5fc,_0x520979._0x52ecda,_0x520979._0x504411)]=_0x33111b(-_0x520979._0x5b005d,-_0x520979._0x395238,0x41,-0x175),_0x575e13[_0x33111b(-_0x520979._0x2f1587,-_0x520979._0x33516b,0x38,-0x19a)]=_0x498f28[_0x4b944a(0x6f7,_0x520979._0x147ca6,_0x520979._0x4314ca,0x42a)];function _0x33111b(_0x1452cd,_0x30ed34,_0x44e480,_0x229a42){return _0x20806e(_0x30ed34- -0x5e7,_0x30ed34-_0x162a69._0x2bef21,_0x44e480,_0x229a42-_0x162a69._0x18474a);}function _0x4b944a(_0x33f953,_0x271748,_0x55aa06,_0x26adcb){return _0x20806e(_0x55aa06- -0xc6,_0x271748-_0xcbf78f._0xcf9906,_0x271748,_0x26adcb-_0xcbf78f._0x281e5e);}_0x575e13[_0x4b944a(0x74b,0x842,0x700,0x769)]=null;}),this['entries']['set'](_0x263c22,_0x575e13),this[_0x20806e(_0x50cf3b._0x5bc380,_0x50cf3b._0x5c65d8,0x696,_0x50cf3b._0x22cf86)]();function _0x23e4d3(_0x26d172,_0x290073,_0x5425e6,_0xee5608){return _0x520b4c(_0x26d172-0x197,_0x290073-0x72,_0x26d172,_0x5425e6- -_0x23f81d._0x1c7d10);}return _0x575e13;}[_0x520b4c(0x8ca,0x86f,0x69a,0x7ee)](_0x17be3c,_0x54dd6b){const _0x31bf7b={_0x563c32:0x93,_0x88d10c:0x42,_0x39604d:0xb2,_0x13c6cd:0x584,_0x5bfe78:0x567,_0x15c0ea:0x5c8,_0x5196f9:0x5c8,_0x5f3979:0x125,_0xe9f01a:0x1cf,_0x413bc2:0x164,_0x5690bb:0x1d7,_0x2b1d69:0x168,_0x1c9269:0x55a,_0x57834f:0x4e5,_0x27449a:0x552,_0x1c77c5:0xf8,_0x3c3a4e:0x3bb,_0x2236ea:0x4b7,_0x539456:0x549,_0x4fae11:0x49b,_0x5ac928:0x56b,_0x100a31:0x4d0,_0x3439d5:0x4dd,_0x136876:0x654,_0x2d649e:0x636,_0x49e07d:0x63,_0x4bff33:0x5d,_0x487215:0x1d4,_0x5e6da8:0x70c,_0x5b3bda:0x563,_0x585b60:0x583,_0x965fdc:0x22c,_0x12f91b:0x234,_0x2efa5f:0x2d9},_0x3a90f6={_0x45c11f:0x157,_0xe26f50:0x1f2},_0x1ed4e3=this[_0x1e5a13(_0x31bf7b._0x563c32,_0x31bf7b._0x88d10c,-_0x31bf7b._0x39604d,-0xf9)][_0x4ce4d2(0x40b,_0x31bf7b._0x13c6cd,_0x31bf7b._0x5bfe78,0x3f0)](_0x17be3c);if(!_0x1ed4e3)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x17be3c,{'shellId':_0x17be3c});const _0x4e28f7=_0x1ed4e3[_0x4ce4d2(_0x31bf7b._0x15c0ea,_0x31bf7b._0x5196f9,0x601,0x6d7)]['join'](''),_0x4b697c=Math[_0x1e5a13(_0x31bf7b._0x5f3979,_0x31bf7b._0xe9f01a,0x9b,_0x31bf7b._0x413bc2)](_0x1ed4e3[_0x1e5a13(0xc9,0xa6,_0x31bf7b._0x5690bb,_0x31bf7b._0x2b1d69)],_0x1ed4e3[_0x4ce4d2(_0x31bf7b._0x1c9269,_0x31bf7b._0x57834f,0x4c2,0x544)]),_0x588c37=Math['max'](0x0,_0x1ed4e3['totalDropped']-_0x1ed4e3[_0x4ce4d2(0x479,0x674,0x3b9,_0x31bf7b._0x27449a)]),_0x13edac=_0x4e28f7['slice'](_0x4b697c-_0x1ed4e3[_0x1e5a13(0xbb,-0x96,0x8a,-0x98)]),_0x129c62=_0x1ed4e3['status']!=='running';let _0x37f1ee;const _0x14f10e=_0x54dd6b?.[_0x1e5a13(_0x31bf7b._0x1c77c5,0x220,-0xc,0x1d6)];if(!_0x14f10e)_0x37f1ee=_0x13edac,_0x1ed4e3['readCursor']=_0x1ed4e3['totalProduced'];else{let _0x35b0b7;try{_0x35b0b7=new RegExp(_0x14f10e);}catch(_0x1ca710){throw new ToolExecutionError(_0x4ce4d2(_0x31bf7b._0x3c3a4e,0x451,0x41f,_0x31bf7b._0x2236ea)+_0x1ca710['message'],{'shellId':_0x17be3c,'regex':_0x14f10e});}let _0x424206=_0x13edac;if(!_0x129c62){const _0xb20299=_0x13edac[_0x4ce4d2(_0x31bf7b._0x539456,0x578,0x445,_0x31bf7b._0x4fae11)]('\x0a');_0x424206=_0xb20299>=0x0?_0x13edac['slice'](0x0,_0xb20299+0x1):'';}_0x37f1ee=_0x424206['split']('\x0a')[_0x4ce4d2(_0x31bf7b._0x5ac928,_0x31bf7b._0x100a31,0x735,0x59d)](_0x2b74b9=>_0x35b0b7[_0x4ce4d2(0x4c4,0x700,0x4ee,0x630)](_0x2b74b9))[_0x4ce4d2(0x716,_0x31bf7b._0x3439d5,_0x31bf7b._0x136876,_0x31bf7b._0x2d649e)]('\x0a'),_0x1ed4e3['readCursor']=_0x4b697c+_0x424206[_0x1e5a13(_0x31bf7b._0x49e07d,-0x6d,0xdb,0x5e)];}function _0x4ce4d2(_0x206a2c,_0x388776,_0x4f2855,_0x84f54d){return _0x520b4c(_0x206a2c-_0x3a90f6._0x45c11f,_0x388776-_0x3a90f6._0xe26f50,_0x206a2c,_0x84f54d- -0x109);}const _0x33c1ef=(_0x588c37>0x0?_0x1e5a13(0x191,_0x31bf7b._0x4bff33,0x80,_0x31bf7b._0x487215)+_0x588c37+'\x20chars\x20dropped]\x0a':'')+_0x37f1ee;function _0x1e5a13(_0x251ddb,_0xef23c2,_0x4bfacc,_0x4d1c3c){return _0x520b4c(_0x251ddb-0x198,_0xef23c2-0x2f,_0xef23c2,_0x251ddb- -0x592);}return{'output':_0x33c1ef,'status':_0x1ed4e3[_0x4ce4d2(_0x31bf7b._0x5e6da8,_0x31bf7b._0x5b3bda,0x497,_0x31bf7b._0x585b60)],'exitCode':_0x1ed4e3[_0x1e5a13(_0x31bf7b._0x965fdc,_0x31bf7b._0x12f91b,0x1aa,0x1df)],'signal':_0x1ed4e3[_0x4ce4d2(0x37d,0x54f,_0x31bf7b._0x2efa5f,0x3f3)],'truncated':_0x588c37>0x0};}[_0x2edd77(0x48d,0x5d8,0x4bf,0x4c2)](){return[...this['entries']['values']()];}[_0x2edd77(0x60e,0x64a,0x5ae,0x55e)](_0x3e234a){const _0x85a708={_0x5fa723:0x34b,_0x26e019:0x4b0,_0x5382e0:0x629,_0x3312d2:0x4c2,_0x4518cd:0x7ac,_0x420cbd:0x564,_0x47191a:0x581,_0x10f402:0x352,_0x1bda50:0x150,_0x30a59c:0xae,_0x190ef0:0x24d,_0x2c5277:0x388,_0x37fba7:0x539,_0x21af7b:0x6cb,_0x204a8d:0x7c,_0x59edb4:0xbb,_0x32c3a5:0xa1},_0x332e45={_0x3cb804:0xe7},_0x14f25c={_0x624647:0x441};function _0x2ce548(_0x25fd86,_0x3d2902,_0x146cc0,_0x5cbfa0){return _0x520b4c(_0x25fd86-0x124,_0x3d2902-0x171,_0x3d2902,_0x146cc0- -_0x14f25c._0x624647);}const _0x4183bc=this['entries'][_0x840192(0x3d1,0x27c,_0x85a708._0x5fa723,_0x85a708._0x26e019)](_0x3e234a);function _0x840192(_0xc8bcab,_0x50d983,_0x5cd0d9,_0x41abf2){return _0x520b4c(_0xc8bcab-_0x332e45._0x3cb804,_0x50d983-0x1d3,_0x5cd0d9,_0xc8bcab- -0x128);}if(!_0x4183bc)throw new ToolExecutionError(_0x840192(_0x85a708._0x5382e0,0x5e4,_0x85a708._0x3312d2,_0x85a708._0x4518cd)+_0x3e234a,{'shellId':_0x3e234a});if(_0x4183bc[_0x840192(_0x85a708._0x420cbd,0x4ff,_0x85a708._0x47191a,0x6cf)]===_0x840192(0x619,0x705,0x6c2,0x731)&&_0x4183bc[_0x2ce548(0x41f,0x1e2,0x388,_0x85a708._0x10f402)]&&!_0x4183bc[_0x2ce548(0x176,_0x85a708._0x1bda50,_0x85a708._0x30a59c,-0x54)]){_0x4183bc['killRequested']=!![];try{killProcessGroup(_0x4183bc[_0x2ce548(_0x85a708._0x190ef0,0x1f4,_0x85a708._0x2c5277,0x436)],process['platform']==='win32');}catch{}}return{'status':_0x4183bc['status'],'exitCode':_0x4183bc[_0x840192(0x696,_0x85a708._0x37fba7,0x52b,_0x85a708._0x21af7b)],'signal':_0x4183bc[_0x2ce548(_0x85a708._0x204a8d,0xdc,_0x85a708._0x59edb4,_0x85a708._0x32c3a5)]};}async[_0x520b4c(0x652,0x478,0x5f7,0x52d)](){const _0x469d07={_0x114eb5:0x571,_0x4a7751:0x1ee,_0x23db92:0x28b,_0x562a65:0x32e,_0x297a73:0x246,_0x873489:0x2ca,_0x3c814b:0x124,_0x436c63:0x558,_0x40ab73:0x54d,_0x45e29d:0x515,_0x138fa4:0x573,_0x4ce1c2:0x514,_0x526ee0:0x691,_0x557ee8:0x7df},_0x5226d6={_0x3a4083:0x1e4,_0x54d60a:0x61},_0x2f7b0a={_0x5b7362:0x3f9,_0x144552:0xed};function _0x56473f(_0x2a717b,_0x48b368,_0x1982a2,_0x47763d){return _0x2edd77(_0x47763d- -_0x2f7b0a._0x5b7362,_0x48b368-0x14a,_0x1982a2-_0x2f7b0a._0x144552,_0x48b368);}function _0x5605bb(_0x276237,_0x4ef3a0,_0x1ff4bc,_0x4f9f57){return _0x2edd77(_0x1ff4bc-_0x5226d6._0x3a4083,_0x4ef3a0-0x182,_0x1ff4bc-_0x5226d6._0x54d60a,_0x4ef3a0);}for(const _0x1e2604 of this[_0x5605bb(0x5a9,_0x469d07._0x114eb5,0x683,0x534)][_0x56473f(_0x469d07._0x4a7751,0xfd,_0x469d07._0x23db92,0x251)]()){if(_0x1e2604['status']===_0x56473f(0x29d,_0x469d07._0x562a65,_0x469d07._0x297a73,0x1c2)&&_0x1e2604[_0x56473f(_0x469d07._0x873489,0x34e,_0x469d07._0x3c814b,0x24a)]&&!_0x1e2604[_0x5605bb(0x61a,_0x469d07._0x436c63,_0x469d07._0x40ab73,_0x469d07._0x45e29d)]){_0x1e2604[_0x5605bb(_0x469d07._0x138fa4,0x558,_0x469d07._0x4ce1c2,_0x469d07._0x526ee0)]=!![];try{killProcessGroup(_0x1e2604[_0x5605bb(0x94c,_0x469d07._0x557ee8,0x827,0x838)],process['platform']==='win32');}catch{}}}}[_0x520b4c(0x559,0x4e8,0x4b5,0x60e)](_0x4b3c5e,_0x20a32b){const _0x1d2b8f={_0x3d7e4f:0x18f,_0x41bd48:0x2ee,_0x4d9c36:0x29f,_0x5b26fb:0x3c9,_0x564988:0x233,_0x5503b8:0x335,_0x27a5af:0x66d,_0x3bb6f5:0x5eb,_0x3863fe:0x5a9,_0xe2c6c9:0x7d0,_0x5b4ca2:0x46a,_0x5b2922:0x306,_0x4d9250:0x1b6,_0xa8bd83:0x27b,_0x14b112:0x341,_0x41b3b0:0x233,_0x3adf32:0x3cc,_0x1c8c14:0x521,_0x296bcb:0x61c,_0x1e1aa3:0x61a,_0x5bfbe8:0x696,_0x1aba8d:0x5df,_0x2e9786:0x4e3,_0x1a66f5:0x4ca,_0x19f9db:0x431,_0x4d96c1:0x4fe,_0x3db41a:0x3cc,_0x3ef464:0x3f9,_0x42fe4a:0x3eb,_0x303146:0x3d2,_0x31e9c0:0x5f6,_0x2304b3:0x4da,_0x1020c1:0x59b,_0x4c8e30:0x429,_0x5498b7:0xe8,_0x3e4439:0x2c5,_0x58f65f:0x2e5,_0x39d13d:0x5ac,_0x57a8c7:0x41e,_0x439a8f:0x2cb,_0x56d511:0x424,_0x90c4fd:0x2f8,_0x5c724b:0x40f,_0x2a4a10:0x1f6,_0x594bf8:0x28b},_0x37cc07={_0x1b91ce:0x13f,_0x425c70:0x1d1},_0x3219b2={_0x32a281:0x2a,_0x1b8f95:0x33};function _0x526ef0(_0xf954eb,_0x3e607b,_0x313de5,_0x2bc519){return _0x2edd77(_0x313de5- -0x23c,_0x3e607b-_0x3219b2._0x32a281,_0x313de5-_0x3219b2._0x1b8f95,_0x3e607b);}const _0xc3e153=_0x4b3c5e[_0x526ef0(_0x1d2b8f._0x3d7e4f,_0x1d2b8f._0x41bd48,0x19e,_0x1d2b8f._0x4d9c36)]?stripAnsiAndControls(_0x20a32b):_0x20a32b;if(_0xc3e153[_0x526ef0(_0x1d2b8f._0x5b26fb,0x226,_0x1d2b8f._0x564988,_0x1d2b8f._0x5503b8)]===0x0)return;function _0x5ba223(_0x54d603,_0x3291eb,_0x7bd433,_0x424264){return _0x2edd77(_0x54d603-0x13,_0x3291eb-_0x37cc07._0x1b91ce,_0x7bd433-_0x37cc07._0x425c70,_0x7bd433);}_0x4b3c5e[_0x5ba223(_0x1d2b8f._0x27a5af,_0x1d2b8f._0x3bb6f5,_0x1d2b8f._0x3863fe,_0x1d2b8f._0xe2c6c9)][_0x526ef0(0x305,_0x1d2b8f._0x5b4ca2,_0x1d2b8f._0x5b2922,_0x1d2b8f._0x4d9250)](_0xc3e153),_0x4b3c5e[_0x5ba223(0x3cc,_0x1d2b8f._0xa8bd83,0x462,_0x1d2b8f._0x14b112)]+=_0xc3e153[_0x526ef0(0x1a3,0x394,0x233,0x2cb)],_0x4b3c5e['totalProduced']+=_0xc3e153[_0x526ef0(0x2af,0x244,_0x1d2b8f._0x41b3b0,0x37b)];while(_0x4b3c5e[_0x5ba223(_0x1d2b8f._0x3adf32,0x361,_0x1d2b8f._0x1c8c14,0x2a1)]>this[_0x5ba223(_0x1d2b8f._0x296bcb,_0x1d2b8f._0x1e1aa3,0x4ed,_0x1d2b8f._0x5bfbe8)]){const _0x32bd7c=_0x4b3c5e[_0x5ba223(0x3cc,0x522,0x4da,0x338)]-this['capChars'],_0x4880e1=_0x4b3c5e[_0x526ef0(0x548,0x41a,0x41e,0x58d)][0x0];_0x4880e1[_0x526ef0(0x266,0x9b,0x233,0x2fd)]<=_0x32bd7c?(_0x4b3c5e[_0x5ba223(_0x1d2b8f._0x27a5af,_0x1d2b8f._0x1aba8d,0x786,_0x1d2b8f._0x2e9786)][_0x5ba223(_0x1d2b8f._0x1a66f5,_0x1d2b8f._0x19f9db,_0x1d2b8f._0x4d96c1,0x3d6)](),_0x4b3c5e[_0x5ba223(_0x1d2b8f._0x3db41a,_0x1d2b8f._0x3ef464,0x2d8,0x37b)]-=_0x4880e1[_0x5ba223(0x482,_0x1d2b8f._0x42fe4a,_0x1d2b8f._0x303146,_0x1d2b8f._0x31e9c0)],_0x4b3c5e[_0x5ba223(_0x1d2b8f._0x2304b3,0x63e,_0x1d2b8f._0x1020c1,_0x1d2b8f._0x4c8e30)]+=_0x4880e1[_0x526ef0(_0x1d2b8f._0x5498b7,_0x1d2b8f._0x3e4439,0x233,_0x1d2b8f._0x58f65f)]):(_0x4b3c5e[_0x526ef0(_0x1d2b8f._0x39d13d,0x377,_0x1d2b8f._0x57a8c7,_0x1d2b8f._0x439a8f)][0x0]=_0x4880e1[_0x526ef0(0x3e0,_0x1d2b8f._0x56d511,_0x1d2b8f._0x90c4fd,_0x1d2b8f._0x5c724b)](_0x32bd7c),_0x4b3c5e[_0x526ef0(0x1bf,0x194,0x17d,0x2b)]-=_0x32bd7c,_0x4b3c5e[_0x526ef0(_0x1d2b8f._0x2a4a10,0x2e5,_0x1d2b8f._0x594bf8,0x3c1)]+=_0x32bd7c);}}[_0x2edd77(0x652,0x60b,0x7e1,0x6a6)](){const _0xb1ccd={_0x3c5baf:0x500,_0x1fe820:0x3fc,_0x21afb5:0x27a,_0x178b90:0x4a3,_0x44b020:0x577,_0x3994b3:0x37f,_0x264c95:0x53c,_0x22bc1f:0x456,_0x2199aa:0x2e3},_0x1c12ce={_0x440a33:0x188},_0x5cbfc9={_0x414988:0x13b,_0x4bd2d1:0x229};if(this[_0x5cf7bc(0x2c5,_0xb1ccd._0x3c5baf,_0xb1ccd._0x1fe820,_0xb1ccd._0x21afb5)][_0x5cf7bc(0x4a4,_0xb1ccd._0x178b90,0x2ff,0x2bc)]<=this['maxEntries'])return;function _0x5cf7bc(_0x3fe6dc,_0x2833ea,_0x15ba99,_0x19835a){return _0x520b4c(_0x3fe6dc-0x102,_0x2833ea-_0x5cbfc9._0x414988,_0x2833ea,_0x15ba99- -_0x5cbfc9._0x4bd2d1);}function _0x3fc445(_0x52bd0c,_0x3fed8f,_0x553d5b,_0x1951ed){return _0x520b4c(_0x52bd0c-0x5b,_0x3fed8f-_0x1c12ce._0x440a33,_0x52bd0c,_0x1951ed- -0x1cf);}for(const [_0x25b16f,_0x330fe9]of this[_0x5cf7bc(0x359,_0xb1ccd._0x44b020,0x3fc,0x3a9)]){if(_0x330fe9['status']!=='running'){this[_0x3fc445(0x32c,_0xb1ccd._0x3994b3,_0xb1ccd._0x264c95,_0xb1ccd._0x22bc1f)][_0x5cf7bc(0x21a,0x148,_0xb1ccd._0x2199aa,0x1e7)](_0x25b16f);return;}}}};function createBashOutputTool(_0x27994a){const _0x1772c0={_0x567dbf:0x339,_0x2ab3b6:0x2c2,_0x53f3e5:0x310,_0x2efb18:0x523,_0x530aaf:0x485},_0x5a7bf2={_0x34f8a3:0x89a,_0x582d89:0x977,_0xfc8de6:0x696,_0x46f52b:0x498,_0x117d13:0x414,_0x5b230a:0x540,_0x52abe0:0x725},_0x19379c={_0x17b2b9:0x251},_0x46c35e={_0x3fba60:0x1b0,_0x3f88de:0x5bb},_0x2a2597={_0x13ab4e:0xbf},{registry:_0x2fd73a}=_0x27994a;function _0x4e1743(_0x32284f,_0x312eef,_0x329ac4,_0x97f33b){return _0x2edd77(_0x32284f- -_0x2a2597._0x13ab4e,_0x312eef-0x14b,_0x329ac4-0x57,_0x329ac4);}function _0x3aa1ed(_0x322042,_0x2109b3,_0x3eaf64,_0x4f8edb){return _0x520b4c(_0x322042-0x65,_0x2109b3-_0x46c35e._0x3fba60,_0x3eaf64,_0x322042- -_0x46c35e._0x3f88de);}return defineTool({'name':_0x4e1743(_0x1772c0._0x567dbf,_0x1772c0._0x2ab3b6,_0x1772c0._0x53f3e5,0x42b),'permissionClass':_0x4e1743(0x4f3,0x367,0x467,0x4a8),'description':_0x4e1743(0x451,_0x1772c0._0x2efb18,0x3cc,0x302),'inputSchema':{'type':'object','properties':{'shellId':{'type':'string'},'regex':{'type':_0x4e1743(0x58a,0x4d1,0x634,_0x1772c0._0x530aaf)}},'required':['shellId']},async *'execute'(_0x111d1b){const _0x10e1f6={_0x1f8714:0x20,_0x3e77a2:0xed};function _0x431841(_0x3558bf,_0x525ab4,_0x143fd9,_0x1e94d9){return _0x4e1743(_0x525ab4-_0x19379c._0x17b2b9,_0x525ab4-0x18,_0x143fd9,_0x1e94d9-0x14d);}function _0x12c89d(_0x151d7d,_0xd22825,_0x408412,_0x5717b2){return _0x3aa1ed(_0xd22825-0x58e,_0xd22825-_0x10e1f6._0x1f8714,_0x408412,_0x5717b2-_0x10e1f6._0x3e77a2);}const _0x1c8224=_0x2fd73a[_0x431841(_0x5a7bf2._0x34f8a3,0x7fa,_0x5a7bf2._0x582d89,0x93b)](_0x111d1b['shellId'],_0x111d1b[_0x431841(0x62b,_0x5a7bf2._0xfc8de6,0x76f,0x57f)]?{'regex':_0x111d1b['regex']}:void 0x0);return createToolOutput(_0x1c8224[_0x12c89d(0x3af,_0x5a7bf2._0x46f52b,0x304,_0x5a7bf2._0x117d13)],{'shellId':_0x111d1b['shellId'],'status':_0x1c8224[_0x431841(0x53b,0x698,_0x5a7bf2._0x5b230a,0x5a2)],'exitCode':_0x1c8224[_0x12c89d(0x8bb,0x791,_0x5a7bf2._0x52abe0,0x776)],'signal':_0x1c8224['signal'],'truncated':_0x1c8224['truncated']});}});}import{spawn as _0x1b474e}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x4c97c8 from'os';import*as _0x29bd61 from'path';import{StringDecoder as _0x5ed4fc}from'string_decoder';import{stat}from'fs/promises';import*as _0x2bd4e5 from'path';function isPathInside(_0x3f6af2,_0x3c4433){const _0x173792={_0x48e128:0x394,_0x3172ed:0x424},_0x16478d={_0x1119be:0x1b0},_0x74583c=_0x2bd4e5['resolve'](_0x3f6af2);function _0x31aab0(_0x22a93b,_0x2201ad,_0x16956e,_0x138a4e){return _0x2edd77(_0x138a4e- -0x3,_0x2201ad-0xfd,_0x16956e-_0x16478d._0x1119be,_0x16956e);}const _0x1326d0=_0x2bd4e5[_0x31aab0(0x2ec,_0x173792._0x48e128,_0x173792._0x3172ed,0x3a8)](_0x74583c,_0x3c4433);return _0x1326d0===''||!_0x1326d0['startsWith']('..')&&!_0x2bd4e5['isAbsolute'](_0x1326d0);}function resolveWorkspacePath(_0x4dd717,_0x4ccea0){return resolveAllowedPath(_0x4dd717,[],_0x4ccea0);}function resolveAllowedPath(_0xa34416,_0x38a4d4,_0x5d720e){const _0x1f8689={_0x2f68e9:0x429,_0xc76051:0xdd,_0x3c29ec:0x1d1,_0xc0aac1:0x11e,_0x1920b3:0x134},_0xc43199={_0xb07c98:0x30,_0x4b8c28:0x1ec},_0x26f673=_0x2bd4e5[_0xae2d7d(_0x1f8689._0x2f68e9,0x368,0x266,0x3a2)](_0xa34416),_0x559f3a=_0x2bd4e5[_0x56a3f2(-0x156,-0x1eb,-_0x1f8689._0xc76051,-0x203)](_0x26f673,_0x5d720e),_0x11f27a=[_0x26f673,..._0x38a4d4[_0x56a3f2(-_0x1f8689._0x3c29ec,-_0x1f8689._0xc0aac1,-_0x1f8689._0x1920b3,-0x287)](_0x544212=>_0x2bd4e5['resolve'](_0x544212))];if(_0x11f27a[_0x56a3f2(-0x152,-0x25a,-0x8b,0x37)](_0x41fb6b=>isPathInside(_0x41fb6b,_0x559f3a)))return _0x559f3a;function _0xae2d7d(_0x55dd28,_0x571a2b,_0x44817d,_0x729a97){return _0x520b4c(_0x55dd28-0x62,_0x571a2b-_0xc43199._0xb07c98,_0x55dd28,_0x729a97- -_0xc43199._0x4b8c28);}function _0x56a3f2(_0xb7674a,_0x1f5c20,_0x49deba,_0x47b55c){return _0x2edd77(_0xb7674a- -0x55e,_0x1f5c20-0x12c,_0x49deba-0x160,_0x1f5c20);}throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x5d720e,{'path':_0x5d720e,'rootDir':_0x26f673,'allowedDirs':_0x11f27a});}async function assertWorkspaceFile(_0x3512f5){const _0xcb94d1={_0x3fa4b8:0x51e,_0x94dc37:0x550,_0x78a060:0x45c,_0x2b95f7:0x42c},_0x4dc308={_0x1e1569:0x1a1,_0x12ebd9:0x5b};function _0x29fa2b(_0x53511e,_0x39ac2a,_0x590af6,_0x44692b){return _0x520b4c(_0x53511e-_0x4dc308._0x1e1569,_0x39ac2a-_0x4dc308._0x12ebd9,_0x44692b,_0x39ac2a- -0x173);}function _0x43dee6(_0x328b76,_0x445ef3,_0x52fcaa,_0x189f5e){return _0x2edd77(_0x52fcaa- -0x50,_0x445ef3-0x13d,_0x52fcaa-0x1ed,_0x189f5e);}const _0x5dbe2c=await stat(_0x3512f5);if(!_0x5dbe2c[_0x43dee6(0x40e,_0xcb94d1._0x3fa4b8,_0xcb94d1._0x94dc37,0x675)]())throw new ToolExecutionError(_0x43dee6(0x392,_0xcb94d1._0x78a060,_0xcb94d1._0x2b95f7,0x381)+_0x3512f5,{'path':_0x3512f5});}function isProbablyBinary(_0x3eb69){return _0x3eb69['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x2edd77(0x54c,0x4b7,0x60f,0x595)+DEFAULT_TIMEOUT_MS+_0x520b4c(0x7b6,0x7e2,0x7b0,0x7b8);function buildChildEnv(_0x5d9e52,_0x30ea17,_0x1617c0){const _0x357e01={_0x45cf8e:0x112,_0x22a3f3:0x8d,_0x4f47bb:0x109,_0x3c4e9f:0xc8,_0x14ab3c:0x18e,_0x121c11:0x5f,_0x1bccd9:0xb5,_0x5cc27b:0x2b4,_0x56348a:0x23f,_0x48b5ec:0x61},_0xd4ae69={_0x500222:0x8},_0x17be8d={_0x994b0:0xae};function _0x4a68af(_0x4d8d79,_0x18181b,_0x2c3043,_0x1cc424){return _0x520b4c(_0x4d8d79-0x93,_0x18181b-_0x17be8d._0x994b0,_0x18181b,_0x1cc424- -0x486);}function _0x463eb6(_0x4e276a,_0x46f6db,_0xee2a1b,_0x3a7df6){return _0x2edd77(_0x3a7df6- -0xac,_0x46f6db-0x6,_0xee2a1b-_0xd4ae69._0x500222,_0xee2a1b);}const _0x2d7982={...process['env'],..._0x5d9e52??{}};if(_0x4c97c8[_0x463eb6(0x280,0x454,0x31d,0x2bc)]()===_0x4a68af(0x16f,0x1f4,0x256,0x267)){const _0x27cb0f=new Set(_0x30ea17[_0x4a68af(-0xf9,-0x8b,_0x357e01._0x45cf8e,_0x357e01._0x22a3f3)](_0x9a678c=>_0x9a678c[_0x4a68af(0xc1,0x205,0x30b,0x16c)]()));for(const _0x4b993f of Object[_0x4a68af(_0x357e01._0x4f47bb,0x1c1,0x13a,_0x357e01._0x3c4e9f)](_0x2d7982)){if(_0x27cb0f[_0x4a68af(_0x357e01._0x14ab3c,-_0x357e01._0x121c11,0x24e,0xcc)](_0x4b993f[_0x4a68af(_0x357e01._0x1bccd9,0x30b,0xf3,0x16c)]()))delete _0x2d7982[_0x4b993f];}}else{for(const _0x3dafa0 of _0x30ea17)delete _0x2d7982[_0x3dafa0];if(_0x1617c0[_0x463eb6(0x3e2,0x2b5,_0x357e01._0x5cc27b,0x3c3)]>0x0)for(const _0x5d2616 of Object[_0x4a68af(0xe9,_0x357e01._0x56348a,_0x357e01._0x48b5ec,0xc8)](_0x2d7982)){_0x1617c0['some'](_0x19c803=>_0x5d2616[_0x463eb6(0x31c,0x3d6,0x554,0x42f)](_0x19c803))&&delete _0x2d7982[_0x5d2616];}}return _0x2d7982;}function mapSpawnError(_0x4886a2,_0x4c761c){const _0x435d31={_0x38d7e9:0x42f,_0x3381e5:0x32f,_0x28f822:0x38d,_0x5e356d:0x490,_0xd849dc:0x329,_0xf50f6e:0x298},_0x1f099f={_0x4aa8c5:0xd3,_0x504624:0x81,_0x29bc21:0x1a1},_0xcc0371={_0x47e6b0:0xc6};function _0x3e2ec6(_0x28b2c9,_0x1f5262,_0x54eb63,_0x42af42){return _0x2edd77(_0x28b2c9- -_0xcc0371._0x47e6b0,_0x1f5262-0xfd,_0x54eb63-0x20,_0x1f5262);}function _0x240499(_0x46192a,_0x51ddcd,_0x581cc3,_0x5ec19d){return _0x2edd77(_0x5ec19d- -_0x1f099f._0x4aa8c5,_0x51ddcd-_0x1f099f._0x504624,_0x581cc3-_0x1f099f._0x29bc21,_0x581cc3);}if(isErrnoException(_0x4886a2)&&_0x4886a2[_0x3e2ec6(_0x435d31._0x38d7e9,0x363,0x32b,0x34d)]===_0x3e2ec6(_0x435d31._0x3381e5,0x474,0x2b4,0x40d))return new ToolExecutionError(_0x3e2ec6(0x2e3,_0x435d31._0x28f822,0x264,0x1d6)+_0x4c761c[_0x240499(0x272,_0x435d31._0x5e356d,0x432,0x38f)],_0x4c761c);return new ToolExecutionError(_0x4886a2 instanceof Error?_0x4886a2[_0x3e2ec6(0x41b,_0x435d31._0xd849dc,0x44f,_0x435d31._0xf50f6e)]:String(_0x4886a2),_0x4c761c);}function shellExists(_0x5719bd){const _0x5b8b72={_0x15f945:0x32b,_0x32736a:0x1cf,_0x2ab523:0x295,_0x3ed579:0x3a4},_0x5c51b3={_0x788ccd:0x6c};function _0x1ce71f(_0x2c001e,_0x4312a1,_0x5a5db8,_0x131e1b){return _0x2edd77(_0x131e1b-_0x5c51b3._0x788ccd,_0x4312a1-0x18f,_0x5a5db8-0x187,_0x5a5db8);}function _0x1c08db(_0x39d64b,_0x456319,_0x373d3d,_0x141f4f){return _0x2edd77(_0x141f4f- -0x2c6,_0x456319-0x13a,_0x373d3d-0xd2,_0x39d64b);}try{const _0x25bb80=statSync(_0x5719bd);return _0x25bb80[_0x1c08db(0x3f1,_0x5b8b72._0x15f945,_0x5b8b72._0x32736a,0x2da)]()&&(_0x25bb80[_0x1ce71f(0x210,_0x5b8b72._0x2ab523,0x3db,_0x5b8b72._0x3ed579)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x78d4fe){const _0x3aa206={_0x7a8909:0x37d,_0x232650:0x5f5,_0x134c28:0x708,_0x2e4a24:0x7ca,_0x589a9f:0x1c8,_0x4cc163:0x1ea,_0x491f33:0x42,_0x5f2eba:0x187,_0x4d2267:0xd,_0x4dc5c3:0x98,_0x1781fd:0x8d9,_0x38a892:0x808,_0x524ef0:0x7b0,_0x1ad265:0x1d8,_0x41df72:0x1ba,_0x1d5636:0x32d,_0x203327:0x1bd,_0x4c4a68:0x420,_0xd79086:0x4e3,_0x59f0d4:0x413,_0x4e2fcc:0x8eb},_0x56543e={_0xd10e7e:0x50a,_0x52c8a8:0x15c,_0x5cbf76:0x36},_0x12e77d={_0x363ea2:0x1a1,_0x5dd912:0xff,_0x1aa2a6:0xc4};if(_0x78d4fe)return _0x78d4fe;if(_0x4c97c8[_0x1c5c55(0x582,_0x3aa206._0x7a8909,0x509,0x4b8)]()===_0x1c5c55(_0x3aa206._0x232650,0x5f8,_0x3aa206._0x134c28,_0x3aa206._0x2e4a24))return process[_0xe39857(-0x118,-0x322,-_0x3aa206._0x589a9f,-_0x3aa206._0x4cc163)][_0xe39857(_0x3aa206._0x491f33,-_0x3aa206._0x5f2eba,_0x3aa206._0x4d2267,-_0x3aa206._0x4dc5c3)]||_0x1c5c55(_0x3aa206._0x1781fd,0x895,_0x3aa206._0x38a892,_0x3aa206._0x524ef0);function _0x1c5c55(_0x17a5f3,_0x570052,_0x4b0220,_0x450efa){return _0x2edd77(_0x4b0220-_0x12e77d._0x363ea2,_0x570052-_0x12e77d._0x5dd912,_0x4b0220-_0x12e77d._0x1aa2a6,_0x450efa);}const _0x3f416e=['/bin/bash','/bin/sh',_0xe39857(-_0x3aa206._0x1ad265,-0x314,-_0x3aa206._0x41df72,-0x35a),_0xe39857(-0x1eb,-_0x3aa206._0x1d5636,-_0x3aa206._0x203327,-0x18e)];function _0xe39857(_0x1d0508,_0x395a87,_0x293e95,_0x7aaf7d){return _0x2edd77(_0x293e95- -_0x56543e._0xd10e7e,_0x395a87-_0x56543e._0x52c8a8,_0x293e95-_0x56543e._0x5cbf76,_0x7aaf7d);}for(const _0x411d9b of _0x3f416e){if(shellExists(_0x411d9b))return _0x411d9b;}const _0x4af426=process[_0x1c5c55(0x485,_0x3aa206._0x4c4a68,_0x3aa206._0xd79086,_0x3aa206._0x59f0d4)][_0x1c5c55(0x888,0x67c,0x805,_0x3aa206._0x4e2fcc)];if(_0x4af426&&shellExists(_0x4af426))return _0x4af426;return'/bin/bash';}function buildShellArgs(_0x5202dd,_0x4de123){const _0x6a24ad={_0xf1455a:0x2cc,_0x5154a7:0x1a1,_0x2a8787:0x69,_0x2d0e60:0x53d,_0x381ca9:0x41d,_0x4cda13:0x4a8,_0x40f5f8:0x37a,_0x1c4554:0x60a,_0x2d0dce:0x6d9},_0x264bbf={_0x3fe499:0x10d,_0x4c023c:0x176},_0x43be8e={_0x5e353c:0x17d,_0x4ce8ce:0x146};function _0x5754e7(_0x1a2105,_0x3db24a,_0xd8c05b,_0x272f5d){return _0x520b4c(_0x1a2105-_0x43be8e._0x5e353c,_0x3db24a-_0x43be8e._0x4ce8ce,_0x1a2105,_0xd8c05b- -0x34d);}function _0x309340(_0x3aeef6,_0x3a2d2d,_0x1f4ef8,_0x29b264){return _0x2edd77(_0x3a2d2d-_0x264bbf._0x3fe499,_0x3a2d2d-0x1c2,_0x1f4ef8-_0x264bbf._0x4c023c,_0x1f4ef8);}if(_0x4c97c8[_0x5754e7(_0x6a24ad._0xf1455a,0x1c1,_0x6a24ad._0x5154a7,_0x6a24ad._0x2a8787)]()===_0x5754e7(0x398,_0x6a24ad._0x2d0e60,0x3a0,0x35c)){const _0x2fb0f6=/cmd(\.exe)?$/i[_0x5754e7(0x3d1,0x4ea,0x3ec,_0x6a24ad._0x381ca9)](_0x4de123);return _0x2fb0f6?['/d','/s','/c',_0x5202dd]:['-NoLogo',_0x5754e7(0x4e3,_0x6a24ad._0x4cda13,_0x6a24ad._0x40f5f8,0x4f9),_0x309340(0x4cf,_0x6a24ad._0x1c4554,0x75a,_0x6a24ad._0x2d0dce),_0x5202dd];}return['-c',_0x5202dd];}function resolveWorkingDirectory(_0x57bddc,_0x1f0eb9,_0x3b74ad){const _0x1b94a6={_0xd48e2a:0x67e,_0x5494ea:0x6c3},_0x549332={_0x3cb4c1:0x25e,_0xb7071:0x149,_0x224c1f:0x2b1,_0x17ea10:0x114,_0x21f89a:0x80},_0x4527b0={_0xa356c7:0x1ab,_0x3e5423:0x7};function _0x3f1a90(_0x1c11bf,_0x35b2fa,_0x2e40a5,_0x3f7310){return _0x520b4c(_0x1c11bf-_0x4527b0._0xa356c7,_0x35b2fa-_0x4527b0._0x3e5423,_0x2e40a5,_0x1c11bf- -0x34);}const _0x25604a=resolveAllowedPath(_0x1f0eb9,_0x3b74ad,_0x57bddc??'.');try{const _0x4cba53=statSync(_0x25604a);if(!_0x4cba53['isDirectory']())throw new ToolExecutionError(_0x3f1a90(0x5f5,_0x1b94a6._0xd48e2a,_0x1b94a6._0x5494ea,0x67b)+_0x25604a,{'cwd':_0x25604a});const _0xf26ac6=realpathSync(_0x25604a),_0x3dc4da=realpathSync(_0x1f0eb9),_0x5e652f=_0x3b74ad['map'](_0xf9b328=>{const _0x42a269={_0x1eb948:0x66e,_0x5f0952:0xcc},_0x214270={_0x337c6f:0xa6,_0x5dcf22:0x1a5};function _0x4037c7(_0x3ab3e4,_0x3d7f0b,_0x54623a,_0xd3429){return _0x3f1a90(_0x3ab3e4- -0x6ac,_0x3d7f0b-_0x214270._0x337c6f,_0x3d7f0b,_0xd3429-_0x214270._0x5dcf22);}function _0x54497a(_0x5e67c6,_0x4e3800,_0x1016e3,_0x24fee8){return _0x3f1a90(_0x1016e3- -_0x42a269._0x1eb948,_0x4e3800-0x1a5,_0x24fee8,_0x24fee8-_0x42a269._0x5f0952);}try{return realpathSync(_0x29bd61[_0x54497a(-_0x549332._0x3cb4c1,-0x180,-0x114,-_0x549332._0xb7071)](_0xf9b328));}catch{return _0x29bd61[_0x54497a(-_0x549332._0x224c1f,-0x5,-_0x549332._0x17ea10,_0x549332._0x21f89a)](_0xf9b328);}});return resolveAllowedPath(_0x3dc4da,_0x5e652f,_0xf26ac6);}catch(_0x4a75bc){if(_0x4a75bc instanceof ToolExecutionError)throw _0x4a75bc;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x25604a,{'cwd':_0x25604a});}}function resolveBashExecutionTarget(_0x434e3a,_0x152fae={}){const _0x48c57d={_0x2163f7:0x5cd,_0x54b28c:0x48f,_0x438566:0x436,_0x199062:0x30a,_0x207fa5:0x7fc,_0x5c28f6:0x5ae,_0x46762d:0x77d,_0x258a16:0x7fc,_0x3bed90:0x723,_0x967aa9:0x463,_0x367c3b:0x6e0},_0x3dfb64={_0x172cb8:0x77,_0x1bde50:0x19f,_0x2383ce:0x25b},_0x9e6838={_0x28b26b:0x1c5,_0x388aa4:0x18f};function _0x29139a(_0x172d37,_0x5e63c1,_0x27705,_0xc2cac4){return _0x2edd77(_0x172d37-_0x9e6838._0x28b26b,_0x5e63c1-_0x9e6838._0x388aa4,_0x27705-0x113,_0x5e63c1);}const _0x5a5653=_0x29bd61[_0x29139a(_0x48c57d._0x2163f7,0x59b,0x5da,0x6d3)](_0x152fae[_0x4f1838(0x47c,_0x48c57d._0x54b28c,_0x48c57d._0x438566,_0x48c57d._0x199062)]??process[_0x29139a(_0x48c57d._0x207fa5,0x975,0x973,0x8df)]()),_0x58bcc0=resolveDefaultShell(_0x152fae[_0x29139a(0x627,_0x48c57d._0x5c28f6,0x5c9,0x78e)]);function _0x4f1838(_0x5f5afe,_0x26dbfa,_0x5e12a2,_0x4f58a0){return _0x520b4c(_0x5f5afe-_0x3dfb64._0x172cb8,_0x26dbfa-_0x3dfb64._0x1bde50,_0x5f5afe,_0x4f58a0- -_0x3dfb64._0x2383ce);}return{'command':_0x434e3a[_0x29139a(0x7ab,0x62d,_0x48c57d._0x46762d,0x6a7)],'cwd':resolveWorkingDirectory(_0x434e3a[_0x29139a(_0x48c57d._0x258a16,_0x48c57d._0x3bed90,0x80a,0x86d)],_0x5a5653,_0x152fae[_0x29139a(0x539,_0x48c57d._0x967aa9,0x653,_0x48c57d._0x367c3b)]??[]),'shellPath':_0x58bcc0,'dialect':resolveShellDialect(_0x58bcc0),'background':_0x434e3a['runInBackground']??![]};}function resolveShellDialect(_0x2c0444){const _0x1ef86a={_0x1c4a2b:0x1b0,_0x5b1634:0x331,_0x55e7a8:0x344,_0x232005:0x1eb,_0x6c7fb9:0x1c,_0xbc8c0d:0x57,_0x3b1e2e:0xf2,_0x4443ec:0x77,_0x31a2a6:0xa1,_0x3543a8:0x152,_0x4e3b9c:0x17,_0x46e4bf:0x75,_0x108977:0x12b,_0x89fc85:0x7b,_0x4742c1:0x144},_0x19dc10={_0x27c7dd:0x115},_0x9e31dc={_0x324246:0x10c,_0x3f4005:0x11d};if(_0x4c97c8['platform']()===_0x16af14(-_0x1ef86a._0x1c4a2b,-0x18f,-0x4f,-0x6b))return _0x1dbdf2(_0x1ef86a._0x5b1634,_0x1ef86a._0x55e7a8,0x90,_0x1ef86a._0x232005);const _0x529ff5=_0x29bd61[_0x1dbdf2(_0x1ef86a._0x6c7fb9,-_0x1ef86a._0xbc8c0d,-_0x1ef86a._0x3b1e2e,_0x1ef86a._0x4443ec)](_0x2c0444)[_0x16af14(-_0x1ef86a._0x31a2a6,-_0x1ef86a._0x3543a8,-0x14a,-0x153)]();if(_0x529ff5==='bash')return _0x1dbdf2(-0x47,0x125,_0x1ef86a._0x4e3b9c,_0x1ef86a._0x46e4bf);if(_0x529ff5==='sh'||_0x529ff5===_0x1dbdf2(0x3f3,0x49a,0x50b,0x366))return'posix';function _0x1dbdf2(_0x2b1b43,_0xa4a453,_0x37c562,_0x52e5f4){return _0x2edd77(_0x52e5f4- -0x2ae,_0xa4a453-_0x9e31dc._0x324246,_0x37c562-_0x9e31dc._0x3f4005,_0x2b1b43);}function _0x16af14(_0x510c6a,_0x544b97,_0xfaa316,_0x25cbf3){return _0x2edd77(_0xfaa316- -0x5b6,_0x544b97-0x110,_0xfaa316-_0x19dc10._0x27c7dd,_0x510c6a);}return _0x16af14(_0x1ef86a._0x108977,_0x1ef86a._0x89fc85,-0x24,-_0x1ef86a._0x4742c1);}function emitChunk(_0x318f93,_0x4c574e,_0x8fe1be,_0x4daaa2){const _0x2d5688={_0x3698ab:0x3f2,_0xb107e7:0x349,_0x5579d5:0x1ad},_0x4cf95b={_0x3f7180:0x295,_0x2bed7c:0xc4},_0x3b2636={_0x59653a:0x17};function _0x27e71a(_0x420a31,_0x2bc654,_0x41196d,_0x1731d6){return _0x2edd77(_0x2bc654- -0x1f9,_0x2bc654-0x188,_0x41196d-_0x3b2636._0x59653a,_0x1731d6);}function _0x50f27c(_0x3c9cdd,_0x256f75,_0x122690,_0x30dafc){return _0x2edd77(_0x256f75- -_0x4cf95b._0x3f7180,_0x256f75-_0x4cf95b._0x2bed7c,_0x122690-0x4f,_0x122690);}_0x318f93[_0x27e71a(_0x2d5688._0x3698ab,_0x2d5688._0xb107e7,0x1ba,0x4a4)](_0x8fe1be),_0x4c574e[_0x27e71a(0x2c1,0x349,0x35a,_0x2d5688._0x5579d5)](_0x8fe1be),_0x4daaa2();}function appendChunk(_0x19ed16,_0x2e2ebf,_0x1a295b,_0x2db325,_0x4a0853,_0x496796){const _0x276e1a={_0x18ab41:0xc5,_0x29bb64:0xdd,_0x55292b:0x78,_0x307f64:0x209,_0x3c5842:0x2c0,_0x35f950:0x1f7,_0x5a1ec5:0x1b0,_0xe57d75:0x5f5,_0x34ed39:0x750,_0x4f4a96:0x5fb,_0x5227d9:0x57e,_0x90377c:0x407,_0x5060d3:0xfe,_0x1f95c1:0x8,_0x37bda7:0x27b,_0xd99bc0:0xc7,_0x34cb7d:0x114,_0x184b7a:0x10b,_0x87530f:0x7e,_0x2ce76c:0x5d,_0x11b6f9:0xc2,_0x27d1ed:0xdd,_0x1201a8:0x1c7,_0xcb328d:0x2f2,_0x5c4aec:0xfb,_0x3512b2:0x27a,_0x3a1429:0x603,_0x19cb49:0x6b4,_0x437cce:0x66d},_0x3e7f39={_0x5339ec:0xc1},_0x177926={_0x53abbc:0x38},_0x2d534a=_0x2db325?stripAnsiAndControls(_0x1a295b):_0x1a295b;function _0x46a485(_0x267756,_0x3961b2,_0x5c6563,_0xa6b7bd){return _0x2edd77(_0xa6b7bd- -0x392,_0x3961b2-_0x177926._0x53abbc,_0x5c6563-0xea,_0x3961b2);}if(_0x2d534a[_0x46a485(0x34,0xa8,_0x276e1a._0x18ab41,_0x276e1a._0x29bb64)]===0x0)return;function _0x16de8a(_0x26e9e0,_0x384700,_0x59c40e,_0x4f66ca){return _0x2edd77(_0x26e9e0-_0x3e7f39._0x5339ec,_0x384700-0xdf,_0x59c40e-0x128,_0x59c40e);}if(!_0x496796){emitChunk(_0x19ed16,_0x2e2ebf,_0x2d534a,_0x4a0853);return;}let _0x11ef5b=0x0,_0x5af843=_0x2d534a[_0x46a485(0x20c,-_0x276e1a._0x55292b,_0x276e1a._0x307f64,0x7e)]('\x0a');while(_0x5af843>=0x0){_0x496796['trailingChunks'][_0x46a485(_0x276e1a._0x3c5842,_0x276e1a._0x35f950,0x107,_0x276e1a._0x5a1ec5)](_0x2d534a[_0x16de8a(_0x276e1a._0xe57d75,_0x276e1a._0x34ed39,_0x276e1a._0x4f4a96,_0x276e1a._0x5227d9)](_0x11ef5b,_0x5af843));const _0x3b01bf=_0x496796[_0x46a485(0x39a,0x3e3,0x2e2,0x27a)]['join']('');_0x496796[_0x46a485(_0x276e1a._0x90377c,_0x276e1a._0x5060d3,0x31f,0x27a)][_0x46a485(-_0x276e1a._0x1f95c1,_0x276e1a._0x37bda7,-_0x276e1a._0xd99bc0,_0x276e1a._0x29bb64)]=0x0,_0x496796['regex']['test'](_0x3b01bf)&&emitChunk(_0x19ed16,_0x2e2ebf,_0x3b01bf+'\x0a',_0x4a0853),_0x11ef5b=_0x5af843+0x1,_0x5af843=_0x2d534a[_0x46a485(-_0x276e1a._0x34cb7d,-_0x276e1a._0x184b7a,-0x70,_0x276e1a._0x87530f)]('\x0a',_0x11ef5b);}_0x11ef5b<_0x2d534a[_0x46a485(_0x276e1a._0x2ce76c,-_0x276e1a._0x11b6f9,0xc4,_0x276e1a._0x27d1ed)]&&_0x496796[_0x46a485(_0x276e1a._0x1201a8,_0x276e1a._0xcb328d,_0x276e1a._0x5c4aec,_0x276e1a._0x3512b2)][_0x16de8a(_0x276e1a._0x3a1429,_0x276e1a._0x19cb49,_0x276e1a._0x437cce,0x6e5)](_0x2d534a['slice'](_0x11ef5b));}function flushOutputRegex(_0x351c2f,_0x9eb256,_0x3a850a,_0x2a1fad){const _0x3c3422={_0x4a716d:0x371,_0x1b6e46:0x404,_0xba1bea:0x216,_0x5a3bf7:0x57d,_0x434109:0x85b,_0x56c552:0x71a,_0x32ac97:0x787,_0x215735:0x594,_0x1217f5:0x6f2,_0x14943b:0x274,_0x36e114:0x318,_0x1e73e3:0x46c},_0x3be9f6={_0xab138c:0x1bd,_0x2102bb:0x421};function _0x36ef43(_0x371466,_0x1e4d27,_0x1fa1a9,_0x32ef8b){return _0x520b4c(_0x371466-_0x3be9f6._0xab138c,_0x1e4d27-0x137,_0x32ef8b,_0x1e4d27- -_0x3be9f6._0x2102bb);}function _0x504da0(_0x3f55f5,_0x56a74f,_0x44ffb1,_0x1ce8d3){return _0x2edd77(_0x1ce8d3-0x10e,_0x56a74f-0x177,_0x44ffb1-0x15c,_0x44ffb1);}if(!_0x3a850a||_0x3a850a[_0x36ef43(0x4d8,_0x3c3422._0x4a716d,_0x3c3422._0x1b6e46,_0x3c3422._0xba1bea)][_0x504da0(0x6fd,0x61b,0x52b,_0x3c3422._0x5a3bf7)]===0x0)return;const _0x23e258=_0x3a850a[_0x504da0(_0x3c3422._0x434109,0x6c6,0x5ac,_0x3c3422._0x56c552)]['join']('');_0x3a850a[_0x504da0(0x858,_0x3c3422._0x32ac97,0x637,0x71a)][_0x504da0(0x65b,_0x3c3422._0x215735,_0x3c3422._0x1217f5,0x57d)]=0x0,_0x3a850a['regex'][_0x36ef43(_0x3c3422._0x14943b,_0x3c3422._0x36e114,0x289,_0x3c3422._0x1e73e3)](_0x23e258)&&emitChunk(_0x351c2f,_0x9eb256,_0x23e258,_0x2a1fad);}function createBashTool(_0x2e385b={}){const _0x54ade3={_0x5ac1e5:0x50a,_0x486701:0x3f8,_0x16748e:0x392,_0x22d9fc:0x2f5,_0x29f45c:0x4b1,_0x1d096b:0x486,_0x4eff0d:0x627,_0x36a1cc:0x484,_0x5042e2:0x6d5,_0x32038d:0xa7,_0x421be3:0xde,_0x20b45e:0xa9,_0x239551:0x5dc,_0x2b7e6b:0x554,_0x4344a6:0x554,_0x30aeab:0x538,_0x248339:0x416,_0x94c756:0x1de,_0x465e99:0x60f,_0x1dd712:0x22d,_0x773b1a:0x1d5,_0x24148d:0x18b,_0x28fb6d:0x460,_0x4520aa:0x273,_0x20e5b1:0x404,_0x2c7cb9:0x600,_0x58e15f:0x5d0,_0x53975a:0x255,_0x2f05d7:0x446,_0x32af90:0x66b,_0x5cc0ba:0x165,_0x4f4fa9:0x378,_0x63f4ef:0x443,_0x49f40b:0xb3,_0x3e8116:0x176,_0x7fae33:0x73,_0x5d9b3f:0x5ea},_0x32e034={_0x5651b0:0xa8,_0x520227:0x158,_0x357f14:0xc2,_0x59ca4e:0x20a,_0x4fd423:0x39e,_0x45be3f:0x3f5,_0x3a794e:0x38b,_0x46c256:0x2b7,_0x135d17:0x77,_0x278799:0x62e,_0x2c130d:0x648,_0x337939:0x527,_0x3e5e06:0xa0,_0x39d71e:0x24a,_0x47d42f:0xc6,_0x28795e:0x302,_0x23d3f1:0x1eb,_0x413c87:0x341,_0x313284:0x51a,_0xc64afe:0x5d3,_0x1d3680:0x2ad,_0xb8e94:0x1de,_0x1d3511:0xf9,_0x26d47f:0x239,_0x3f98ca:0x378,_0x2355f1:0x238,_0xb12a81:0x355,_0x10ec81:0x542,_0x408b6f:0x4a6,_0x1a9404:0x2dd,_0x161d5f:0x444,_0x9395c:0x42f,_0xd05808:0x2ea,_0x56406f:0x30a,_0x3a9073:0x17f,_0xf4b799:0x1d1,_0x531fcd:0x177,_0x443a59:0x28b,_0xf62182:0xb4,_0x30266f:0x312,_0x179715:0x17e,_0x45b100:0x28,_0x4fe6cf:0x12a,_0xa0f5e9:0x428,_0x43547b:0x525,_0x27302f:0x362,_0x104f8f:0xa3,_0xb1f4aa:0xe6,_0x4e25f8:0xeb,_0x1699f3:0xdd,_0x3fb2d0:0x371,_0x4fbf7c:0x4dd,_0x3422ad:0x284,_0x1e7c8f:0x22,_0x2d8068:0x22f,_0x172e78:0x3a9,_0x512d7f:0x34,_0x29899b:0xa3,_0x3c2169:0x23a,_0xb17f70:0x685,_0x48f87e:0x42,_0x2eb8ee:0x13f,_0x21a107:0x4ef,_0x369eed:0x3d1,_0x363a8e:0x4ab,_0x20af02:0x6b8,_0x4bd34d:0x5cc,_0x1eaea3:0x5bf,_0x41c6b8:0x15d,_0x585c08:0x211,_0x12ec28:0x41,_0x3ed074:0x1e0,_0x38552b:0x15d,_0x216c5b:0xc9,_0x3a352b:0x38f,_0x6ee436:0x3f1,_0x156d66:0xfb,_0x49fa9f:0x364,_0x598e2d:0x1de,_0x2f97da:0x28d,_0xa8c04a:0x210,_0x11e3aa:0x4,_0x4f4d8f:0x4f7,_0x1c315e:0x62e,_0x3ed654:0x3b9,_0x287a10:0x181,_0x5c6a54:0x63,_0x44e969:0x449,_0x15decc:0x106,_0x11af39:0x7d,_0x2150d2:0x501,_0x5565e6:0x2e9,_0xc511a9:0x3f8,_0x273707:0xc8,_0x6eead3:0x20f,_0x353026:0x168,_0x3d604f:0x442,_0x12cc4d:0x436,_0x215182:0x4fa,_0x10bf2c:0x29a,_0x37f253:0x124,_0x45cd45:0x1ce,_0x289e18:0x258,_0x113bf6:0x291,_0x46ec7d:0x9c,_0x39fc22:0x575,_0x14c308:0xaf,_0x3b2c28:0xe4,_0x58c549:0x5c0,_0x14a99f:0x41d,_0x2f6044:0xe8,_0x22ecd9:0x1a4,_0x1fbc00:0x11c,_0x4f6260:0x3a,_0x2aa32e:0xd9,_0x3dee3d:0x42,_0x58d2c6:0x143,_0x1943e7:0x114,_0x319b13:0x78,_0x4992e5:0x21a},_0x4426a1={_0x3b6d49:0x339,_0x3fe216:0x314,_0xafabe8:0x24d,_0x6202d4:0x7eb},_0x5861d9={_0x588da7:0x3f8,_0x5dd626:0x60},_0x26e262={_0x5c7128:0x172},_0x3ba757={_0x2301d2:0x10a,_0x2db625:0x50b},_0x1af339={_0x9536e1:0x1e4};function _0x35f2a2(_0x23c2c7,_0x1f520a,_0x557801,_0x49ee1a){return _0x520b4c(_0x23c2c7-0x172,_0x1f520a-_0x1af339._0x9536e1,_0x49ee1a,_0x1f520a- -0x196);}const _0x4648a4=_0x29bd61[_0x35f2a2(_0x54ade3._0x5ac1e5,_0x54ade3._0x486701,_0x54ade3._0x16748e,_0x54ade3._0x22d9fc)](_0x2e385b[_0x35f2a2(0x234,0x3cf,_0x54ade3._0x29f45c,_0x54ade3._0x1d096b)]??process[_0x35f2a2(0x70b,_0x54ade3._0x4eff0d,_0x54ade3._0x36a1cc,_0x54ade3._0x5042e2)]()),_0x19dc15=_0x2e385b[_0x37ada9(-0x11,_0x54ade3._0x32038d,-_0x54ade3._0x421be3,-_0x54ade3._0x20b45e)]??[],_0x1b3a25=_0x2e385b[_0x35f2a2(_0x54ade3._0x239551,0x584,_0x54ade3._0x2b7e6b,_0x54ade3._0x4344a6)]??DEFAULT_TIMEOUT_MS,_0x276b49=_0x2e385b['stripAnsi']??!![],_0x37edd6=_0x2e385b[_0x35f2a2(0x5a6,0x4e0,0x5cf,_0x54ade3._0x30aeab)]??'Bash';function _0x37ada9(_0x179b2f,_0x52e55f,_0x330fa3,_0x5a41a3){return _0x520b4c(_0x179b2f-_0x3ba757._0x2301d2,_0x52e55f-0x1aa,_0x52e55f,_0x179b2f- -_0x3ba757._0x2db625);}const _0x32175e=_0x2e385b[_0x35f2a2(_0x54ade3._0x248339,0x350,_0x54ade3._0x94c756,0x29f)]??[],_0x1fc42a=_0x2e385b['scrubEnvPrefixes']??[],_0x49528c=_0x2e385b[_0x35f2a2(0x72e,_0x54ade3._0x465e99,0x57c,0x78a)];return defineTool({'name':_0x37edd6,'permissionClass':_0x37ada9(_0x54ade3._0x1dd712,_0x54ade3._0x773b1a,_0x54ade3._0x24148d,0x30a),'description':_0x2e385b[_0x35f2a2(0x296,0x32a,0x2ba,_0x54ade3._0x28fb6d)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x37ada9(_0x54ade3._0x4520aa,_0x54ade3._0x20e5b1,0xdc,0x40a),'properties':{'command':{'type':_0x35f2a2(0x520,0x639,_0x54ade3._0x2c7cb9,_0x54ade3._0x58e15f)},'description':{'type':_0x37ada9(0x2c4,_0x54ade3._0x53975a,_0x54ade3._0x2f05d7,0x1e2),'description':_0x35f2a2(0x5f1,0x603,_0x54ade3._0x32af90,0x6e8)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x37ada9(0x2b5,0x410,_0x54ade3._0x5cc0ba,0x274)},'ignoreOutput':{'type':_0x35f2a2(_0x54ade3._0x4f4fa9,0x467,_0x54ade3._0x63f4ef,0x3d3)},'outputRegex':{'type':'string','description':_0x37ada9(0xba,-_0x54ade3._0x49f40b,_0x54ade3._0x3e8116,-_0x54ade3._0x7fae33)},'runInBackground':{'type':_0x35f2a2(_0x54ade3._0x5d9b3f,0x467,0x31a,0x303)}},'required':['command','description']},async *'execute'(_0x597e47,_0x537933){const _0x39cb68={_0x14c254:0x195,_0x307340:0x1a9},_0x491b70={_0x5aa126:0x223,_0x50ab58:0x30f,_0x1516f1:0x1f1},_0x4c5d4b={_0x137025:0x2f3,_0x76d638:0x1cd,_0x2e520:0x2ab,_0x673583:0x337,_0x174ff3:0x19,_0x308e19:0x15d,_0x170a58:0x25f},_0x2bb705={_0x35a6f7:0x2f2,_0x342ffd:0x38d,_0x43e329:0x5bd,_0x5407dc:0x4bd},_0x975664={_0x35cf47:0x8b},_0x3ee645=_0x597e47['timeoutMs']??_0x1b3a25;if(!Number[_0x23f723(0x92,0x1a0,_0x32e034._0x5651b0,_0x32e034._0x520227)](_0x3ee645)||_0x3ee645<0x1)throw new ToolExecutionError(_0x23f723(_0x32e034._0x357f14,_0x32e034._0x59ca4e,0x381,0x302),{'command':_0x597e47[_0x5d648c(0x472,0x4d6,_0x32e034._0x4fd423,0x527)]});throwIfAborted(_0x537933[_0x5d648c(_0x32e034._0x45be3f,_0x32e034._0x3a794e,0x1bd,_0x32e034._0x46c256)]);const _0x299c96=_0x597e47['ignoreOutput']??![];function _0x5d648c(_0x5ec042,_0x4c390a,_0x575d36,_0x5648dd){return _0x37ada9(_0x5648dd-0x2c6,_0x575d36,_0x575d36-0xb6,_0x5648dd-_0x26e262._0x5c7128);}const _0x1c6da5=resolveBashExecutionTarget(_0x597e47,{'defaultCwd':_0x4648a4,'allowedDirs':_0x19dc15,'shellPath':_0x2e385b[_0x23f723(0xca,0x5a,-_0x32e034._0x135d17,0x17c)]});function _0x23f723(_0x555337,_0x5c77e2,_0x239221,_0xde8543){return _0x35f2a2(_0x555337-0x14,_0x5c77e2- -_0x5861d9._0x588da7,_0x239221-_0x5861d9._0x5dd626,_0x239221);}const {cwd:_0x1830b5,shellPath:_0x315d2b}=_0x1c6da5,_0x4e3769=buildShellArgs(_0x597e47[_0x5d648c(0x678,_0x32e034._0x278799,_0x32e034._0x2c130d,_0x32e034._0x337939)],_0x315d2b),_0x189281=_0x4c97c8[_0x23f723(-0x3,-_0x32e034._0x3e5e06,-0xdb,-0x185)]()===_0x23f723(0x186,0x15f,_0x32e034._0x39d71e,0x143),_0x3002ba=buildChildEnv(_0x2e385b[_0x23f723(0x91,-_0x32e034._0x47d42f,-0x84,-0x1ec)],_0x32175e,_0x1fc42a);if(_0x597e47[_0x23f723(_0x32e034._0x28795e,_0x32e034._0x23d3f1,_0x32e034._0x413c87,0x2c7)]){if(!_0x49528c)throw new ToolExecutionError(_0x5d648c(_0x32e034._0x313284,0x43a,_0x32e034._0xc64afe,0x595),{'command':_0x597e47[_0x23f723(_0x32e034._0x1d3680,_0x32e034._0xb8e94,0x1ed,_0x32e034._0x1d3511)]});throwIfAborted(_0x537933[_0x5d648c(_0x32e034._0x26d47f,_0x32e034._0x3f98ca,0x42c,_0x32e034._0x46c256)]),await _0x2e385b[_0x23f723(0x156,_0x32e034._0x2355f1,0x2da,_0x32e034._0xb12a81)]?.(_0x1c6da5,_0x537933['executionAuthorization'],_0x537933),throwIfAborted(_0x537933['signal']);let _0x57c806;try{_0x57c806=_0x1b474e(_0x315d2b,_0x4e3769,{'cwd':_0x1830b5,'env':_0x3002ba,'stdio':[_0x5d648c(_0x32e034._0x10ec81,_0x32e034._0x408b6f,0x340,0x4a6),_0x5d648c(0x33e,0x3bf,_0x32e034._0x1a9404,_0x32e034._0x161d5f),_0x5d648c(_0x32e034._0x9395c,0x2e9,0x4c2,_0x32e034._0x161d5f)],'shell':![],'windowsHide':!![],'detached':!_0x189281});}catch(_0x3d1677){throw mapSpawnError(_0x3d1677,{'command':_0x597e47[_0x23f723(_0x32e034._0xd05808,0x1de,_0x32e034._0x56406f,0x214)],'cwd':_0x1830b5,'shellPath':_0x315d2b});}let _0x4ebbd7;try{_0x4ebbd7=_0x49528c[_0x5d648c(_0x32e034._0x3a9073,_0x32e034._0xf4b799,_0x32e034._0x531fcd,_0x32e034._0x443a59)]({'child':_0x57c806,'command':_0x597e47[_0x23f723(0x139,0x1de,0x24c,0x346)],'cwd':_0x1830b5,'stripAnsi':_0x276b49});}catch(_0x21a362){_0x57c806[_0x23f723(-_0x32e034._0xf62182,0xf2,0x2c,0x103)]('error',()=>{});try{killProcessGroup(_0x57c806,_0x189281);}catch{}throw _0x21a362;}return createToolOutput(_0x23f723(_0x32e034._0x30266f,_0x32e034._0x179715,_0x32e034._0x45b100,_0x32e034._0x4fe6cf)+_0x4ebbd7[_0x5d648c(_0x32e034._0xa0f5e9,_0x32e034._0x43547b,_0x32e034._0x27302f,0x4dd)]+'\x20(pid\x20'+(_0x4ebbd7[_0x23f723(-0x86,-_0x32e034._0x104f8f,-0x19d,-_0x32e034._0xb1f4aa)]??'?')+_0x23f723(0xf6,_0x32e034._0x4e25f8,0x1fd,_0x32e034._0x1699f3),{'shellId':_0x4ebbd7[_0x5d648c(_0x32e034._0x3fb2d0,0x4a7,0x5a3,_0x32e034._0x4fbf7c)],'status':_0x4ebbd7[_0x23f723(_0x32e034._0x3422ad,0xfe,0x6,_0x32e034._0x1e7c8f)],'command':_0x4ebbd7[_0x5d648c(0x3d0,0x3d6,0x59f,0x527)],'description':_0x597e47['description'],'cwd':_0x4ebbd7[_0x23f723(0x186,_0x32e034._0x2d8068,_0x32e034._0x172e78,0x3a1)],'pid':_0x4ebbd7[_0x23f723(_0x32e034._0x512d7f,-_0x32e034._0x29899b,-_0x32e034._0x3c2169,_0x32e034._0x135d17)]??null});}let _0x5e809a,_0xc36270;if(_0x597e47[_0x5d648c(_0x32e034._0xb17f70,0x4f8,0x4dc,0x517)]!==void 0x0)try{const _0xad2cc4=new RegExp(_0x597e47['outputRegex']);_0x5e809a={'regex':_0xad2cc4,'trailingChunks':[]},_0xc36270={'regex':_0xad2cc4,'trailingChunks':[]};}catch(_0x2fb3d7){throw new ToolExecutionError(_0x23f723(_0x32e034._0x48f87e,0x6d,_0x32e034._0x2eb8ee,0x1de)+(_0x2fb3d7 instanceof Error?_0x2fb3d7[_0x5d648c(_0x32e034._0x21a107,0x2fb,0x3fd,0x422)]:String(_0x2fb3d7)),{'command':_0x597e47[_0x5d648c(_0x32e034._0x369eed,_0x32e034._0x363a8e,0x627,0x527)],'outputRegex':_0x597e47[_0x5d648c(_0x32e034._0x20af02,_0x32e034._0x4bd34d,0x410,0x517)]});}await _0x2e385b[_0x5d648c(0x6e3,_0x32e034._0x1eaea3,0x67b,0x581)]?.(_0x1c6da5,_0x537933['executionAuthorization'],_0x537933),throwIfAborted(_0x537933[_0x23f723(-0x123,-0x92,-0x5f,-0x11b)]);let _0x136563;try{_0x136563=_0x1b474e(_0x315d2b,_0x4e3769,{'cwd':_0x1830b5,'env':_0x3002ba,'stdio':_0x299c96?[_0x23f723(0x211,_0x32e034._0x41c6b8,_0x32e034._0x585c08,_0x32e034._0x12ec28),_0x23f723(_0x32e034._0x3ed074,_0x32e034._0x38552b,_0x32e034._0x216c5b,0x4c),'ignore']:[_0x5d648c(0x5f5,_0x32e034._0x3a352b,_0x32e034._0x6ee436,0x4a6),_0x23f723(0x1f8,_0x32e034._0x156d66,0x71,0x179),_0x5d648c(_0x32e034._0x49fa9f,0x575,0x3d1,0x444)],'shell':![],'windowsHide':!![],'detached':!_0x189281});}catch(_0x5b3941){throw mapSpawnError(_0x5b3941,{'command':_0x597e47[_0x23f723(0x1e3,_0x32e034._0x598e2d,_0x32e034._0x2f97da,_0x32e034._0xa8c04a)],'cwd':_0x1830b5,'shellPath':_0x315d2b});}const _0x398b32=[],_0x247436=[],_0x1c9b4f=new _0x5ed4fc(_0x23f723(_0x32e034._0x11e3aa,-0x7,-0x9c,-0x69)),_0x28232d=new _0x5ed4fc(_0x5d648c(0x32f,0x4aa,0x1d3,0x342));let _0x30d0dc,_0x3ac034=![],_0x4f93fb;const _0x4ce279=()=>{if(!_0x30d0dc)return;const _0x5220d3=_0x30d0dc;_0x30d0dc=void 0x0,_0x5220d3();},_0x1403e5=async()=>{if(_0x247436['length']>0x0||_0x3ac034)return;await new Promise(_0x16d26e=>{_0x30d0dc=_0x16d26e;});},_0x5146a2=_0x5b3a65=>{appendChunk(_0x398b32,_0x247436,_0x1c9b4f['write'](_0x5b3a65),_0x276b49,_0x4ce279,_0x5e809a);},_0x1ab9fd=_0x4a112a=>{appendChunk(_0x398b32,_0x247436,_0x28232d['write'](_0x4a112a),_0x276b49,_0x4ce279,_0xc36270);};_0x136563[_0x5d648c(_0x32e034._0x4f4d8f,_0x32e034._0x1c315e,_0x32e034._0x3ed654,0x4c5)]?.['on'](_0x23f723(-0x3e,0x78,0x2a,-0x2b),_0x5146a2),_0x136563['stderr']?.['on'](_0x23f723(_0x32e034._0x287a10,0x78,-0xb0,-_0x32e034._0x5c6a54),_0x1ab9fd);let _0x209b2f=![],_0x168b4b;const _0x420ea1=addAbortListener(_0x537933[_0x5d648c(_0x32e034._0x44e969,0x290,0x32b,_0x32e034._0x46c256)],()=>{const _0x12fc83={_0x5c8e38:0xa9,_0x1d80ce:0x3b};function _0x5b59a3(_0x5e45b7,_0x3c3fe5,_0x463c64,_0x253d17){return _0x5d648c(_0x5e45b7-0x1d7,_0x3c3fe5-0xe6,_0x253d17,_0x3c3fe5- -_0x975664._0x35cf47);}_0x4f93fb=toAbortError(_0x537933[_0x1c3b8c(0x3ed,_0x2bb705._0x35a6f7,_0x2bb705._0x342ffd,0x2b3)][_0x1c3b8c(0x747,_0x2bb705._0x43e329,0x5b4,_0x2bb705._0x5407dc)]),_0x3ac034=!![];function _0x1c3b8c(_0x5b5da2,_0x4ea7b6,_0x3c87f8,_0xc89b2d){return _0x5d648c(_0x5b5da2-_0x12fc83._0x5c8e38,_0x4ea7b6-0x99,_0xc89b2d,_0x4ea7b6-_0x12fc83._0x1d80ce);}_0x4ce279();try{killProcessGroup(_0x136563,_0x189281);}catch{}});try{const _0x2d7614=new Promise((_0x420fb0,_0x21db74)=>{const _0x4b01f0={_0x1a7683:0x31d},_0x5a4f64={_0x63df3d:0xa4},_0x591121={_0x31dfb9:0x2bf,_0xffbc09:0x39f},_0xadc986=()=>{function _0x5cb2b9(_0x463ac1,_0x3f9554,_0x28bf13,_0x3feedc){return _0x4535(_0x3f9554- -0x1b,_0x3feedc);}_0x168b4b&&(clearTimeout(_0x168b4b),_0x168b4b=void 0x0);_0x136563[_0x5cb2b9(_0x4c5d4b._0x137025,_0x4c5d4b._0x76d638,0x234,0xd2)](_0x7c0bba(-_0x4c5d4b._0x2e520,-0x1b7,-0xaf,-_0x4c5d4b._0x673583),_0x266a79);function _0x7c0bba(_0x38aefe,_0x31b278,_0x334d32,_0x143021){return _0x4535(_0x31b278- -0x2f9,_0x143021);}_0x136563[_0x7c0bba(_0x4c5d4b._0x174ff3,-0x111,-0x179,-_0x4c5d4b._0x308e19)](_0x7c0bba(-_0x4c5d4b._0x170a58,-0x1ae,-0x302,-0x7e),_0x22ef4d);},_0x266a79=_0x4a3d12=>{_0x3ac034=!![],_0x4ce279(),_0xadc986(),_0x21db74(_0x4f93fb??_0x4a3d12);},_0x22ef4d=(_0x491fa7,_0x3a3563)=>{_0x209b2f=!![],appendChunk(_0x398b32,_0x247436,_0x1c9b4f['end'](),_0x276b49,_0x4ce279,_0x5e809a),appendChunk(_0x398b32,_0x247436,_0x28232d[_0x17b703(_0x591121._0x31dfb9,0x535,0x25c,_0x591121._0xffbc09)](),_0x276b49,_0x4ce279,_0xc36270);function _0x17b703(_0x4e0b72,_0x7eac77,_0x5693b4,_0x38aac8){return _0x4535(_0x38aac8-0x229,_0x5693b4);}flushOutputRegex(_0x398b32,_0x247436,_0x5e809a,_0x4ce279),flushOutputRegex(_0x398b32,_0x247436,_0xc36270,_0x4ce279),_0x3ac034=!![],_0x4ce279(),_0xadc986();if(_0x4f93fb){_0x21db74(_0x4f93fb);return;}_0x420fb0({'code':_0x491fa7,'signal':_0x3a3563});};function _0x14d54d(_0x4e47b3,_0x1be902,_0x5317e3,_0x252039){return _0x23f723(_0x4e47b3-_0x5a4f64._0x63df3d,_0x252039-0x5d7,_0x5317e3,_0x252039-0x124);}_0x168b4b=setTimeout(()=>{_0x3ac034=!![];function _0x31b1d9(_0x1a279f,_0x4e75b6,_0xa092d6,_0x3fe7d8){return _0x4535(_0x4e75b6- -_0x4b01f0._0x1a7683,_0x1a279f);}_0x4ce279(),_0xadc986();function _0x384a33(_0x56d15d,_0x1dc51f,_0x50ba21,_0x5d9e7a){return _0x4535(_0x1dc51f- -0x7e,_0x56d15d);}try{killProcessGroup(_0x136563,_0x189281);}catch{}_0x21db74(new ToolExecutionError(_0x384a33(0x10d,0x1a3,0x32a,_0x491b70._0x5aa126)+_0x3ee645+'\x20ms',{'command':_0x597e47[_0x384a33(_0x491b70._0x50ab58,0x38a,_0x491b70._0x1516f1,0x2a4)],'cwd':_0x1830b5,'shellPath':_0x315d2b,'timeoutMs':_0x3ee645,'timedOut':!![]}));},_0x3ee645);function _0x5a814f(_0xe27446,_0xfb9cde,_0x38f8b7,_0xbdf0){return _0x23f723(_0xe27446-_0x39cb68._0x14c254,_0xbdf0-0x335,_0xe27446,_0xbdf0-_0x39cb68._0x307340);}_0x136563['once'](_0x5a814f(_0x4426a1._0x3b6d49,0x3a0,_0x4426a1._0x3fe216,_0x4426a1._0xafabe8),_0x266a79),_0x136563[_0x14d54d(_0x4426a1._0x6202d4,0x7ac,0x7d8,0x6c9)]('close',_0x22ef4d);});while(_0x247436[_0x23f723(0xe2,0x67,-_0x32e034._0x15decc,-_0x32e034._0x11af39)]>0x0||!_0x3ac034){if(_0x247436['length']===0x0){await _0x1403e5();continue;}const _0x5bc0d8=_0x247436[_0x5d648c(_0x32e034._0x2150d2,_0x32e034._0x5565e6,0x48d,_0x32e034._0xc511a9)]();_0x5bc0d8!==void 0x0&&(yield _0x5bc0d8);}const _0x560b6b=await _0x2d7614,_0x39eec7=_0x299c96?_0x23f723(_0x32e034._0x273707,_0x32e034._0x6eead3,0x39b,_0x32e034._0x353026)+(_0x560b6b[_0x5d648c(_0x32e034._0x3d604f,0x4a6,0x3e2,_0x32e034._0x12cc4d)]??0x0):_0x398b32[_0x5d648c(0x512,0x439,0x46c,_0x32e034._0x215182)](''),_0x26431b={'command':_0x597e47[_0x23f723(_0x32e034._0x10bf2c,0x1de,0x315,0x26d)],'description':_0x597e47[_0x23f723(-0x154,-0xce,-0x155,-_0x32e034._0x37f253)],'cwd':_0x1830b5,'exitCode':_0x560b6b['code']??0x0,'signal':_0x560b6b[_0x23f723(0xd7,-0x92,0xb8,-0xfe)],'ignoreOutput':_0x299c96,'outputRegex':_0x597e47[_0x23f723(0x21c,_0x32e034._0x45cd45,_0x32e034._0x289e18,_0x32e034._0x113bf6)]??null,'shellPath':_0x315d2b,'timeoutMs':_0x3ee645};if(_0x560b6b[_0x23f723(0x30,0xed,0xf3,-_0x32e034._0x46ec7d)]!==0x0)throw new ToolExecutionError(_0x39eec7||_0x5d648c(0x4f0,0x675,0x527,_0x32e034._0x39fc22)+(_0x560b6b['code']??0x0),_0x26431b);return createToolOutput(_0x39eec7,_0x26431b);}catch(_0x208a60){while(_0x247436['length']>0x0){const _0x2e59d5=_0x247436[_0x23f723(0x118,_0x32e034._0x14c308,0x1f9,_0x32e034._0x3b2c28)]();_0x2e59d5!==void 0x0&&(yield _0x2e59d5);}if(_0x208a60 instanceof ToolExecutionError)throw _0x208a60;if(_0x4f93fb)throw _0x4f93fb;throw mapSpawnError(_0x208a60,{'command':_0x597e47[_0x5d648c(_0x32e034._0x58c549,0x421,_0x32e034._0x14a99f,_0x32e034._0x337939)],'cwd':_0x1830b5,'shellPath':_0x315d2b});}finally{_0x168b4b&&clearTimeout(_0x168b4b);_0x420ea1(),_0x136563['stdout']?.[_0x23f723(-_0x32e034._0x2f6044,-_0x32e034._0x48f87e,0x14f,-_0x32e034._0x22ecd9)]('data',_0x5146a2),_0x136563[_0x23f723(-_0x32e034._0x1fbc00,0x21,0x76,_0x32e034._0x4f6260)]?.[_0x23f723(-_0x32e034._0x2aa32e,-_0x32e034._0x3dee3d,_0x32e034._0x58d2c6,-0xce)](_0x23f723(_0x32e034._0x1943e7,_0x32e034._0x319b13,-0x5f,_0x32e034._0x4992e5),_0x1ab9fd);if(!_0x209b2f&&_0x136563['pid']&&!_0x136563['killed'])try{killProcessGroup(_0x136563,_0x189281);}catch{}}}});}function _0x4535(_0x3bf463,_0x13b79d){_0x3bf463=_0x3bf463-0x142;const _0x58da3f=_0x58da();let _0x453546=_0x58da3f[_0x3bf463];if(_0x4535['LfXxfE']===undefined){var _0x26537c=function(_0x2d3eb0){const _0xb3142b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x589665='',_0x24e2bb='';for(let _0x58c2f4=0x0,_0x3556be,_0x4d1c03,_0x3fc654=0x0;_0x4d1c03=_0x2d3eb0['charAt'](_0x3fc654++);~_0x4d1c03&&(_0x3556be=_0x58c2f4%0x4?_0x3556be*0x40+_0x4d1c03:_0x4d1c03,_0x58c2f4++%0x4)?_0x589665+=String['fromCharCode'](0xff&_0x3556be>>(-0x2*_0x58c2f4&0x6)):0x0){_0x4d1c03=_0xb3142b['indexOf'](_0x4d1c03);}for(let _0x61f58f=0x0,_0x5b7e7e=_0x589665['length'];_0x61f58f<_0x5b7e7e;_0x61f58f++){_0x24e2bb+='%'+('00'+_0x589665['charCodeAt'](_0x61f58f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x24e2bb);};_0x4535['SPYKUO']=_0x26537c,_0x4535['eymvDP']={},_0x4535['LfXxfE']=!![];}const _0x3f79d5=_0x58da3f[0x0],_0x375c04=_0x3bf463+_0x3f79d5,_0x29695e=_0x4535['eymvDP'][_0x375c04];return!_0x29695e?(_0x453546=_0x4535['SPYKUO'](_0x453546),_0x4535['eymvDP'][_0x375c04]=_0x453546):_0x453546=_0x29695e,_0x453546;}function createShellExecTool(_0x399529={}){return createBashTool(_0x399529);}import{readdir,readFile as _0x20f9d8}from'fs/promises';import{extname,join as _0x2485ac}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x5a1e6c,join,relative as _0x21fa2b,resolve as _0x34d9bd}from'path';import{readdir as _0x3f3fd6,readFile as _0x259ce8}from'fs/promises';import{join as _0x1874e3,relative as _0x1a09bf,sep}from'path';import{delimiter}from'path';import{mkdir as _0x3304ee,rm,stat as _0x4e6b91,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x522f84}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x56bf68,rename,rm as _0x1cf571,stat as _0x41ce0f,writeFile as _0x12c4d1}from'fs/promises';import{homedir as _0x32182f}from'os';import{dirname as _0x27a49c,isAbsolute as _0x2bad03,join as _0x255171,resolve as _0x4b93d7}from'path';import{parse as _0x1818e9,stringify as _0xf47260}from'yaml';import{cp,mkdir as _0x291587,readFile as _0x471892,rm as _0x46a36a,writeFile as _0x2008ae}from'fs/promises';import{homedir}from'os';import{join as _0x5c9588}from'path';import{parse as _0x4faa13,stringify as _0x440602}from'yaml';import{z}from'zod';function _0x520b4c(_0x4efd32,_0x54d97b,_0x5878d6,_0x50ada1){return _0x4535(_0x50ada1-0x364,_0x5878d6);}import{readdir as _0x3ae78d,readFile as _0x3d566f}from'fs/promises';import{join as _0x57eee5}from'path';import{randomUUID as _0x3fac33}from'crypto';import{mkdir as _0xe4d0ef,readdir as _0x2601d9,readFile as _0x333850,rename as _0x492a4e,rm as _0x332034,writeFile as _0x254aac}from'fs/promises';import{homedir as _0x3715ab}from'os';import{basename as _0x554ce4,isAbsolute as _0x4023c3,join as _0x338978,relative as _0xfcac0e,resolve as _0x402bbb}from'path';import{parse as _0x3eecf4,stringify as _0x18e0ff}from'yaml';import{delimiter as _0x483ebb,resolve as _0x5aebbd}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x49d80b){const _0x334ee6={_0x540147:0x4e,_0x3bae46:0xf,_0x3bd62a:0xc3,_0xdc639a:0x10d,_0x308e96:0xab},_0x3355d6={_0x204739:0x50d,_0x3bc142:0x187,_0x5e31f2:0x7e},_0x87aca4={_0x2c06f5:0x22},_0x2d5894=[];function _0x52739d(_0x3fe19c,_0x366f97,_0x5aa920,_0x1e200c){return _0x2edd77(_0x5aa920- -0x48b,_0x366f97-_0x87aca4._0x2c06f5,_0x5aa920-0x10a,_0x3fe19c);}let _0x59b5bf='';function _0xea400(_0x2a4e29,_0x3169ac,_0x45613d,_0x25c265){return _0x2edd77(_0x45613d- -_0x3355d6._0x204739,_0x3169ac-_0x3355d6._0x3bc142,_0x45613d-_0x3355d6._0x5e31f2,_0x3169ac);}let _0x16221a=0x0;while(_0x16221a<_0x49d80b['length']){const _0x1c3462=_0x49d80b[_0x16221a];if(_0x1c3462==='\x5c'&&_0x16221a+0x1<_0x49d80b[_0xea400(0xd8,-0x4a,-0x9e,-_0x334ee6._0x540147)])_0x59b5bf+=_0x49d80b[_0x16221a+0x1],_0x16221a+=0x2;else{if(_0x1c3462==='\x22'||_0x1c3462==='\x27'){const _0x454621=_0x1c3462;_0x16221a++;while(_0x16221a<_0x49d80b[_0x52739d(-0xba,0x188,-0x1c,_0x334ee6._0x3bae46)]&&_0x49d80b[_0x16221a]!==_0x454621){_0x49d80b[_0x16221a]==='\x5c'&&_0x16221a+0x1<_0x49d80b['length']?(_0x59b5bf+=_0x49d80b[_0x16221a+0x1],_0x16221a+=0x2):(_0x59b5bf+=_0x49d80b[_0x16221a],_0x16221a++);}_0x16221a++;}else _0x1c3462!==void 0x0&&/\s/[_0x52739d(0x13a,_0x334ee6._0x3bd62a,0x128,0x20c)](_0x1c3462)?(_0x59b5bf&&(_0x2d5894[_0x52739d(0x120,_0x334ee6._0xdc639a,0xb7,0x18c)](_0x59b5bf),_0x59b5bf=''),_0x16221a++):(_0x59b5bf+=_0x1c3462,_0x16221a++);}}if(_0x59b5bf)_0x2d5894[_0x52739d(0x243,_0x334ee6._0x308e96,0xb7,0xc7)](_0x59b5bf);return _0x2d5894;}function renderCommandInstructions(_0x47ce97){const _0x5633f9={_0x5956ae:0x1ae,_0x2a3b51:0x34d,_0x543c96:0x342,_0x352a63:0xe6,_0x1b94ea:0x26f,_0x5da0c6:0x5f6,_0x37c35e:0x5ce,_0x1f7667:0x110,_0x1ff2e2:0xc,_0x102d84:0x455,_0x1a216d:0x345,_0x538cee:0x6e,_0x23335e:0x1d7,_0x35fd36:0x111,_0x439093:0x8d,_0x31774e:0x373,_0x4fa0a2:0x571},_0x49f1d9={_0x35e17f:0x2f2},_0x2490c1={_0x1e4081:0x68c,_0x332795:0x65d},_0x1876f2={_0x331ae0:0xf9},_0x514ebc={_0x22f040:0x50a,_0x38e8c2:0xa3};let _0x2f3ba8=_0x47ce97[_0x31e52c(_0x5633f9._0x5956ae,_0x5633f9._0x2a3b51,_0x5633f9._0x543c96,0x4de)],_0x260056=![];function _0x44ff99(_0x13d64c,_0x2c6a89,_0x495811,_0x57150b){return _0x2edd77(_0x13d64c- -_0x514ebc._0x22f040,_0x2c6a89-_0x514ebc._0x38e8c2,_0x495811-0x1ec,_0x2c6a89);}const _0x29b368=tokenizeCommandArguments(_0x47ce97[_0x44ff99(_0x5633f9._0x352a63,0x13a,_0x5633f9._0x1b94ea,0xcf)]);_0x2f3ba8=_0x2f3ba8['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x28ee47,_0x44ff88)=>{return _0x260056=!![],_0x29b368[Number(_0x44ff88)]??'';}),_0x2f3ba8=_0x2f3ba8['replace'](/\$ARGUMENTS\b/g,()=>{function _0x3de43c(_0x1311bc,_0x1e8247,_0x20831e,_0x231c2a){return _0x44ff99(_0x231c2a-0x577,_0x20831e,_0x20831e-_0x1876f2._0x331ae0,_0x231c2a-0xdd);}return _0x260056=!![],_0x47ce97[_0x3de43c(0x7e9,_0x2490c1._0x1e4081,0x5df,_0x2490c1._0x332795)];});if(_0x47ce97[_0x31e52c(_0x5633f9._0x5da0c6,0x4ae,0x64d,_0x5633f9._0x37c35e)]&&_0x47ce97['argumentNames']['length']>0x0)for(let _0x46204d=0x0;_0x46204d<_0x47ce97[_0x44ff99(_0x5633f9._0x1f7667,0x1ab,0x295,_0x5633f9._0x1ff2e2)]['length'];_0x46204d++){const _0x10eb63=_0x47ce97[_0x31e52c(0x474,0x4ae,_0x5633f9._0x102d84,_0x5633f9._0x1a216d)][_0x46204d];if(_0x10eb63){const _0x175f7f=new RegExp('\x5c$'+_0x10eb63+'\x5cb','g');_0x2f3ba8=_0x2f3ba8['replace'](_0x175f7f,()=>{return _0x260056=!![],_0x29b368[_0x46204d]??'';});}}_0x2f3ba8=_0x2f3ba8[_0x44ff99(-_0x5633f9._0x538cee,-0x13a,-0xf7,-_0x5633f9._0x23335e)](/\$(\d+)\b/g,(_0x2fe1df,_0x27295b)=>{return _0x260056=!![],_0x29b368[Number(_0x27295b)]??'';});function _0x31e52c(_0x50fd16,_0x58f9be,_0x476726,_0x478dd4){return _0x520b4c(_0x50fd16-0x89,_0x58f9be-0x12e,_0x476726,_0x58f9be- -_0x49f1d9._0x35e17f);}return!_0x260056&&_0x47ce97['argumentsText']['trim']()&&(_0x2f3ba8=_0x2f3ba8+_0x44ff99(-_0x5633f9._0x35fd36,-0x8,0x4f,-_0x5633f9._0x439093)+_0x47ce97[_0x31e52c(0x4b9,0x484,_0x5633f9._0x31774e,_0x5633f9._0x4fa0a2)]),_0x2f3ba8;}var PROVIDER_API_KEY_ENVS=[{'env':_0x2edd77(0x5b0,0x477,0x42d,0x66a),'provider':_0x2edd77(0x3eb,0x369,0x397,0x314)},{'env':'ANTHROPIC_API_KEY','provider':'anthropic'},{'env':_0x2edd77(0x550,0x4c0,0x6a6,0x6d3),'provider':_0x2edd77(0x4f9,0x3ab,0x581,0x66b)},{'env':'GITHUB_TOKEN','provider':_0x520b4c(0x6de,0x654,0x5f4,0x67f)},{'env':_0x520b4c(0x606,0x472,0x3a9,0x4d8),'provider':'grok'},{'env':_0x2edd77(0x4c5,0x651,0x50e,0x4bd),'provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':_0x2edd77(0x4ad,0x544,0x49e,0x651)},{'env':_0x520b4c(0x62c,0x86c,0x604,0x74d),'provider':'moonshot'},{'env':'MINIMAX_API_KEY','provider':_0x520b4c(0x6a0,0x83d,0x66b,0x715)},{'env':_0x520b4c(0x640,0x5ee,0x7cd,0x62b),'provider':_0x2edd77(0x428,0x2d3,0x359,0x28f)},{'env':'OPENAI_API_KEY','provider':_0x520b4c(0x69a,0x7dd,0x6fc,0x752)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'},{'env':'OPENCODE_API_KEY','provider':_0x520b4c(0x5d7,0x7aa,0x72f,0x72f)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x2edd77(0x38d,0x2c9,0x212,0x313)](_0x39d02d=>_0x39d02d[_0x520b4c(0x365,0x482,0x436,0x4c8)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x520b4c(0x6a6,0x6c8,0x5ef,0x5c6),'GOOGLE_CSE_CX'],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x520b4c(0x325,0x5cf,0x5a9,0x4ad),_0x2edd77(0x332,0x1fc,0x20b,0x43c),'SHELLOPTS',_0x520b4c(0x60c,0x7d2,0x794,0x6e6),_0x2edd77(0x3b2,0x415,0x500,0x43d),_0x2edd77(0x4a8,0x413,0x384,0x4e4)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x520b4c(0x4c3,0x6fe,0x439,0x573)](Object[_0x2edd77(0x5cf,0x534,0x499,0x50f)]),_0x2edd77(0x5cf,0x694,0x710,0x532)]);function prototypeSafeRecord(_0x2eba1f){const _0x41f5f4={_0x35d475:0x38f,_0x1b0e61:0x4a3,_0x5a3196:0x1ad,_0x4817e1:0x1a3,_0x56cde9:0x328,_0x449806:0x3e3,_0x290bd5:0x402,_0x4ef92f:0xc5,_0x4bdbe9:0x166,_0x90a656:0x45},_0x23fa8f={_0x4bcc0b:0x3fb,_0x4daa5b:0x4c2,_0x21f36d:0x325,_0x412d65:0x438,_0x3a6ead:0x2b3,_0x2de547:0x192,_0x2fbc8a:0x2c0,_0x1a20b0:0x3d2,_0x3d4b1f:0x578,_0x11c08c:0x13a},_0x489540={_0x7ac680:0x14c,_0x3ca9ae:0x106},_0x3831bd={_0x5082cd:0x87},_0x25015b={_0x396e52:0xc4},_0x43c3c3={_0x368bd8:0xf4,_0x26de02:0x5de};function _0x18edbe(_0x17e345,_0x53fcda,_0x2ffb78,_0xf64eae){return _0x520b4c(_0x17e345-_0x43c3c3._0x368bd8,_0x53fcda-0x115,_0x2ffb78,_0xf64eae- -_0x43c3c3._0x26de02);}function _0xf2b68e(_0x498751,_0x394ef1,_0x101d87,_0x459d2c){return _0x520b4c(_0x498751-_0x25015b._0x396e52,_0x394ef1-0x154,_0x498751,_0x394ef1- -0x2fc);}return z[_0xf2b68e(0x258,_0x41f5f4._0x35d475,_0x41f5f4._0x1b0e61,0x496)](_0x3988df=>{if(_0x3988df===null||typeof _0x3988df!==_0x122561(0x4df,_0x23fa8f._0x4bcc0b,_0x23fa8f._0x4daa5b,_0x23fa8f._0x21f36d)||Array[_0x122561(_0x23fa8f._0x412d65,_0x23fa8f._0x3a6ead,_0x23fa8f._0x2de547,_0x23fa8f._0x2fbc8a)](_0x3988df))return null;function _0x122561(_0x481907,_0x31ac59,_0x483515,_0x1a6510){return _0xf2b68e(_0x1a6510,_0x31ac59- -_0x3831bd._0x5082cd,_0x483515-0x7b,_0x1a6510-0x1d7);}function _0x1f8153(_0x5e31b3,_0x456fe8,_0x328d70,_0x2069a3){return _0xf2b68e(_0x2069a3,_0x5e31b3- -0x1a6,_0x328d70-_0x489540._0x7ac680,_0x2069a3-_0x489540._0x3ca9ae);}const _0x42d0ee=Object['getPrototypeOf'](_0x3988df);if(_0x42d0ee!==Object[_0x122561(0x4bb,_0x23fa8f._0x1a20b0,0x4ae,_0x23fa8f._0x3d4b1f)]&&_0x42d0ee!==null)return null;return{'entries':Object[_0x122561(0x3f7,0x2a2,_0x23fa8f._0x11c08c,0x1e4)](_0x3988df)};},z[_0x18edbe(_0x41f5f4._0x5a3196,_0x41f5f4._0x4817e1,0x16e,0x1a0)]({'entries':z[_0xf2b68e(_0x41f5f4._0x56cde9,0x28c,_0x41f5f4._0x449806,_0x41f5f4._0x290bd5)](z[_0xf2b68e(0x40b,0x448,0x58c,0x4ad)]([z['string'](),_0x2eba1f]))}))[_0x18edbe(_0x41f5f4._0x4ef92f,-0xbe,_0x41f5f4._0x4bdbe9,_0x41f5f4._0x90a656)](({entries:_0x51ce42})=>Object[_0xf2b68e(0x36d,0x2c7,0x41c,0x214)](_0x51ce42));}var chatModelAuthSchemeSchema=z[_0x2edd77(0x633,0x603,0x6c4,0x6b5)]([_0x2edd77(0x3ac,0x33e,0x3e4,0x45a),_0x520b4c(0x7a9,0x750,0x6a3,0x77f)]),apiKeyAuthSchema=z[_0x520b4c(0x685,0x829,0x702,0x77e)]({'type':z[_0x2edd77(0x5a3,0x5c7,0x603,0x6d4)](_0x520b4c(0x71a,0x5bf,0x8a3,0x713)),'apiKey':z[_0x2edd77(0x649,0x4ed,0x719,0x7ee)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x520b4c(0x75f,0x4f5,0x4da,0x5d5)](),oauthAuthSchema=z[_0x520b4c(0x89e,0x623,0x615,0x77e)]({'type':z[_0x520b4c(0x7df,0x75a,0x8b3,0x729)](_0x2edd77(0x65f,0x6e5,0x75f,0x6fa)),'access':z[_0x2edd77(0x649,0x4ad,0x773,0x702)](),'refresh':z[_0x520b4c(0x7f2,0x7d2,0x65f,0x7cf)](),'expires':z[_0x2edd77(0x63a,0x7dd,0x4fb,0x529)]()[_0x2edd77(0x448,0x5dd,0x43a,0x556)](),'authScheme':chatModelAuthSchemeSchema[_0x2edd77(0x448,0x2f3,0x309,0x5ee)]()})['passthrough'](),finiteNonNegative=z[_0x2edd77(0x63a,0x6fb,0x4b2,0x4ca)]()[_0x2edd77(0x485,0x5e3,0x51a,0x3f2)]()[_0x520b4c(0x3e9,0x510,0x6d1,0x54f)](),chatGptAuthSchema=z[_0x520b4c(0x831,0x755,0x64a,0x77e)]({'type':z[_0x2edd77(0x5a3,0x4c9,0x463,0x536)](_0x520b4c(0x563,0x685,0x6d6,0x670)),'access':z['string']()[_0x2edd77(0x340,0x1f4,0x41b,0x2c2)](0x1),'refresh':z['string']()[_0x520b4c(0x45a,0x382,0x530,0x4c6)](0x1),'idToken':z[_0x520b4c(0x65e,0x6e3,0x7c0,0x7cf)]()[_0x520b4c(0x5ed,0x4e6,0x379,0x4c6)](0x1),'accountId':z['string']()[_0x2edd77(0x340,0x4c2,0x1e4,0x290)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})[_0x2edd77(0x44f,0x3a9,0x386,0x550)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x2edd77(0x633,0x769,0x4e4,0x6f1)]([_0x520b4c(0x69f,0x672,0x898,0x7a2),_0x520b4c(0x673,0x52f,0x50b,0x61d),_0x520b4c(0x5ed,0x61a,0x514,0x67e),_0x520b4c(0x655,0x617,0x7dd,0x785),_0x2edd77(0x3aa,0x40a,0x4ad,0x2b5),'max']),reasoningOptionSchema=z[_0x2edd77(0x5f8,0x634,0x5e2,0x4ab)]({'id':z[_0x520b4c(0x773,0x632,0x7f8,0x7cf)]()[_0x2edd77(0x423,0x56d,0x469,0x39d)]()['min'](0x1),'description':z[_0x520b4c(0x96e,0x789,0x641,0x7cf)]()[_0x2edd77(0x448,0x2b0,0x44e,0x477)](),'mode':z['enum']([_0x2edd77(0x4de,0x603,0x41e,0x4fa),_0x520b4c(0x607,0x41c,0x3a4,0x4f5)])['optional'](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x520b4c(0x789,0x7c0,0x68c,0x7c0)]()[_0x520b4c(0x92a,0x80b,0x6fe,0x7e7)]()[_0x2edd77(0x340,0x202,0x221,0x476)](0x400)[_0x2edd77(0x448,0x308,0x37d,0x560)]()})[_0x520b4c(0x675,0x3a2,0x46b,0x4ed)]((_0x1eefa2,_0x37b5e9)=>{const _0x24d19b={_0x349b00:0x3bf,_0x421511:0x2fe,_0x26cdfc:0x33,_0x2e1ff1:0x40,_0x3dfbbc:0x186,_0x445614:0x3c5,_0x337e80:0x1f2,_0xf6e008:0x6e,_0x33c777:0x3a2,_0x22f98d:0x368,_0x3cd3f1:0x22d,_0x50e232:0x170,_0x48eac9:0x28b,_0x35a4ff:0x252,_0x4441b8:0x57,_0x45cd0f:0x4,_0x24d985:0xdf,_0x11d4af:0x580,_0x1df95f:0x1a,_0xfe5612:0x192,_0x459a94:0x1cf,_0x317bc3:0x13c,_0x4f5e43:0x36,_0x5c4b18:0x33a,_0x1d83ab:0x483,_0x39786c:0x4f5,_0x5d5101:0x4ff,_0x4be6dd:0x29b,_0x36c23e:0x1c5,_0x1b1209:0x153,_0x21520c:0x3d9,_0xb81c8c:0x30f,_0x5e3e8a:0x32b,_0x41aca7:0x19,_0x292911:0xcc,_0x498445:0x61,_0x172987:0x42c,_0x2ccbd0:0x268,_0x4924a5:0x2a7,_0x8ef021:0x1e7,_0x327db9:0x200,_0x810685:0x17,_0x1ddb3e:0x114,_0x378e9d:0x3de,_0x13eff3:0x1b4,_0x4b7575:0x27f,_0x4151d6:0x102,_0x1e8a47:0x61,_0x2de883:0x7a,_0x3433f7:0xa4},_0x15989a={_0x38068e:0x136},_0x274b45={_0x4f515a:0x233};function _0x21d71a(_0x446d71,_0x5b3d57,_0x4b4589,_0x487bcd){return _0x520b4c(_0x446d71-0x115,_0x5b3d57-0x11a,_0x5b3d57,_0x446d71- -_0x274b45._0x4f515a);}const _0x5df23c=_0x1eefa2['id'][_0x21d71a(_0x24d19b._0x349b00,0x3a5,_0x24d19b._0x421511,0x2f3)]();(_0x5df23c===_0x3a910b(-_0x24d19b._0x26cdfc,-0x119,0x184,_0x24d19b._0x2e1ff1)||_0x5df23c===_0x3a910b(_0x24d19b._0x3dfbbc,0x3cb,_0x24d19b._0x445614,0x27a)||_0x5df23c===_0x3a910b(_0x24d19b._0x337e80,0x382,0x119,0x236))&&_0x37b5e9['addIssue']({'code':_0x3a910b(-0x71,-_0x24d19b._0xf6e008,0x50,0x61),'path':['id'],'message':_0x21d71a(0x280,_0x24d19b._0x33c777,_0x24d19b._0x22f98d,_0x24d19b._0x3cd3f1)+_0x5df23c+_0x3a910b(0x222,-0x4e,_0x24d19b._0x50e232,0xc6)});if(_0x1eefa2[_0x21d71a(_0x24d19b._0x48eac9,0x1b4,_0x24d19b._0x35a4ff,0x136)]===_0x3a910b(-_0x24d19b._0x4441b8,0x2,_0x24d19b._0x45cd0f,-0x17)){_0x1eefa2['budgetTokens']===void 0x0&&_0x37b5e9[_0x21d71a(0x30f,0x2c0,0x4a8,0x376)]({'code':_0x3a910b(-_0x24d19b._0x24d985,-0xb7,0xb4,0x61),'path':[_0x21d71a(_0x24d19b._0x11d4af,0x5dc,0x5da,0x532)],'message':_0x3a910b(-0x78,_0x24d19b._0x1df95f,0x108,0xea)});_0x1eefa2[_0x3a910b(0xa8,_0x24d19b._0xfe5612,_0x24d19b._0x459a94,0x21c)]!==void 0x0&&_0x37b5e9[_0x3a910b(-0xf,-_0x24d19b._0x317bc3,-0x96,_0x24d19b._0x4f5e43)]({'code':_0x21d71a(_0x24d19b._0x5c4b18,0x1fa,_0x24d19b._0x1d83ab,0x3c9),'path':[_0x21d71a(_0x24d19b._0x39786c,0x5fe,0x4e5,_0x24d19b._0x5d5101)],'message':_0x21d71a(_0x24d19b._0x4be6dd,_0x24d19b._0x36c23e,_0x24d19b._0x1b1209,0x43b)});return;}_0x1eefa2[_0x3a910b(0x3cd,0x15e,_0x24d19b._0x21520c,0x2a7)]!==void 0x0&&_0x37b5e9[_0x21d71a(_0x24d19b._0xb81c8c,0x3b7,0x1a4,_0x24d19b._0x5e3e8a)]({'code':_0x3a910b(-_0x24d19b._0x41aca7,_0x24d19b._0x292911,-0x8a,_0x24d19b._0x498445),'path':[_0x3a910b(_0x24d19b._0x172987,_0x24d19b._0x2ccbd0,0x37c,_0x24d19b._0x4924a5)],'message':_0x3a910b(_0x24d19b._0x8ef021,_0x24d19b._0x327db9,-_0x24d19b._0x810685,_0x24d19b._0x1ddb3e)});function _0x3a910b(_0x14eee5,_0x26a831,_0x33e85c,_0x552c0e){return _0x2edd77(_0x552c0e- -0x386,_0x26a831-0x136,_0x33e85c-_0x15989a._0x38068e,_0x14eee5);}_0x1eefa2[_0x21d71a(0x28b,0x173,0x1d9,0x313)]===void 0x0&&_0x1eefa2[_0x21d71a(0x4f5,0x35d,0x5bc,_0x24d19b._0x378e9d)]===void 0x0&&_0x37b5e9[_0x21d71a(0x30f,_0x24d19b._0x13eff3,0x440,_0x24d19b._0x4b7575)]({'code':_0x3a910b(0x13f,0x149,-_0x24d19b._0x4151d6,_0x24d19b._0x1e8a47),'path':['effort'],'message':_0x3a910b(-0x86,-_0x24d19b._0x2de883,_0x24d19b._0x3433f7,0x19)});});function validateReasoningOptionIds(_0xe06a47,_0x3fd6ec){const _0x49868e={_0x51a004:0x223,_0x3fba59:0x2a5,_0x2a1d95:0xd0,_0x3d64c9:0x5e,_0x2af3fa:0x179,_0x27d474:0x6a,_0x5a8b0a:0xee,_0x55613e:0x515,_0x386d19:0x6b5},_0x5dd206={_0x52cb5d:0x13d},_0x53228b={_0x3743d5:0x2ec,_0x5c9df2:0x49,_0x1c575c:0x5d};function _0x5e260d(_0x22324f,_0x5efe39,_0x3c4c4e,_0xcc27a7){return _0x2edd77(_0x22324f- -_0x53228b._0x3743d5,_0x5efe39-_0x53228b._0x5c9df2,_0x3c4c4e-_0x53228b._0x1c575c,_0x5efe39);}const _0x31d59c=new Set();function _0x5d76c1(_0x51976a,_0x210644,_0x45a2dd,_0x36a233){return _0x520b4c(_0x51976a-_0x5dd206._0x52cb5d,_0x210644-0x57,_0x210644,_0x45a2dd- -0x2ad);}for(let _0x138708=0x0;_0x138708<_0xe06a47['length'];_0x138708+=0x1){const _0x93149=_0xe06a47[_0x138708]?.['id'][_0x5d76c1(0x454,_0x49868e._0x51a004,0x345,0x258)]();if(!_0x93149)continue;if(_0x31d59c[_0x5d76c1(0x395,0x35d,_0x49868e._0x3fba59,0x20b)](_0x93149)){_0x3fd6ec[_0x5e260d(_0x49868e._0x2a1d95,0x23e,-_0x49868e._0x3d64c9,0xcc)]({'code':'custom','path':[_0x5e260d(_0x49868e._0x2af3fa,_0x49868e._0x27d474,_0x49868e._0x5a8b0a,0x46),_0x138708,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0x93149+'\x22'});continue;}_0x31d59c[_0x5d76c1(0x609,0x43c,_0x49868e._0x55613e,_0x49868e._0x386d19)](_0x93149);}}var providerReasoningConfigSchema=z['object']({'options':z[_0x520b4c(0x4a8,0x504,0x561,0x588)](reasoningOptionSchema)})[_0x520b4c(0x3ae,0x638,0x484,0x4ed)]((_0x236625,_0x5f12aa)=>{const _0x470e7f={_0x86db24:0x3ad,_0x8beb90:0x4ff},_0x565d4a={_0x3ae1fc:0x85,_0xe3954a:0x91};function _0x24a4e7(_0x480c7b,_0x38622f,_0x7d236d,_0x387891){return _0x2edd77(_0x7d236d- -_0x565d4a._0x3ae1fc,_0x38622f-_0x565d4a._0xe3954a,_0x7d236d-0x64,_0x480c7b);}validateReasoningOptionIds(_0x236625[_0x24a4e7(_0x470e7f._0x86db24,_0x470e7f._0x8beb90,0x3e0,0x55f)],_0x5f12aa);}),modelReasoningConfigSchema=z[_0x2edd77(0x5f8,0x47b,0x79a,0x6b1)]({'defaultOption':z['string']()[_0x520b4c(0x523,0x5e3,0x571,0x5a9)]()[_0x520b4c(0x5e7,0x4fa,0x5cf,0x4c6)](0x1)[_0x2edd77(0x448,0x570,0x47a,0x3e6)](),'canDisable':z['boolean']()[_0x520b4c(0x750,0x6fe,0x4c3,0x5ce)](),'options':z[_0x2edd77(0x402,0x2f6,0x440,0x508)](reasoningOptionSchema)})[_0x520b4c(0x46b,0x474,0x3d5,0x4ed)]((_0x5e7f2d,_0x5690f2)=>{const _0x327a23={_0x4da950:0x336,_0x127705:0x396,_0x315beb:0x217,_0x520645:0x3d1,_0x246aec:0x343,_0xd23567:0x497,_0x2e1d90:0x26a,_0x23f2ee:0x16f,_0x3c94cf:0x21c,_0x4f03e7:0x235,_0x5a3a1e:0x2a4,_0x31ace8:0x200,_0x20a5dd:0x12a,_0x1aed4c:0x89,_0x591ed9:0x69,_0x3d1c49:0x2c0,_0x429601:0x31,_0x393c3f:0x14f,_0xe23daa:0x2ee},_0x543ac7={_0x311998:0x129,_0x22dc88:0x110,_0x579300:0x1e6};function _0x48f699(_0x64625,_0x1456bf,_0x232cfa,_0x3f8a3a){return _0x2edd77(_0x64625- -_0x543ac7._0x311998,_0x1456bf-_0x543ac7._0x22dc88,_0x232cfa-_0x543ac7._0x579300,_0x3f8a3a);}function _0x209683(_0x150e94,_0x1cb16e,_0x21b62b,_0x5e2763){return _0x2edd77(_0x21b62b- -0x3a0,_0x1cb16e-0x2b,_0x21b62b-0x1db,_0x5e2763);}validateReasoningOptionIds(_0x5e7f2d[_0x48f699(0x33c,_0x327a23._0x4da950,_0x327a23._0x127705,_0x327a23._0x315beb)],_0x5690f2);const _0x5c871c=_0x5e7f2d[_0x48f699(0x3d6,0x2a8,0x4ab,_0x327a23._0x520645)]?.[_0x48f699(_0x327a23._0x246aec,_0x327a23._0xd23567,0x4b1,_0x327a23._0x2e1d90)]();if(_0x5c871c===void 0x0)return;if(_0x5c871c===_0x48f699(0x29d,_0x327a23._0x23f2ee,0x2ca,_0x327a23._0x3c94cf)){_0x5e7f2d[_0x209683(-0x9d,-0xde,0x50,-0x97)]!==!![]&&_0x5690f2[_0x48f699(0x293,_0x327a23._0x4f03e7,_0x327a23._0x5a3a1e,0x2f4)]({'code':'custom','path':[_0x209683(0x12d,_0x327a23._0x31ace8,0x15f,_0x327a23._0x20a5dd)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0x5e7f2d[_0x209683(-_0x327a23._0x1aed4c,0xb5,0xc5,0x7d)]['some'](_0x20d270=>_0x20d270['id'][_0x48f699(0x343,0x45a,0x2be,0x428)]()===_0x5c871c)&&_0x5690f2['addIssue']({'code':_0x48f699(0x2be,0x30d,0x241,0x361),'path':[_0x209683(0x62,0x195,0x15f,_0x327a23._0x591ed9)],'message':'Reasoning\x20default\x20\x22'+_0x5e7f2d[_0x209683(0x98,0xf9,0x15f,_0x327a23._0x3d1c49)]+_0x209683(-_0x327a23._0x429601,0x43,_0x327a23._0x393c3f,_0x327a23._0xe23daa)});}),modelDefinitionSchema=z[_0x520b4c(0x73c,0x8df,0x7b8,0x77e)]({'id':z[_0x2edd77(0x649,0x739,0x6cc,0x75e)](),'name':z['string']()['optional'](),'reasoning':modelReasoningConfigSchema[_0x520b4c(0x681,0x494,0x6a9,0x5ce)]()})[_0x520b4c(0x5bf,0x4d3,0x700,0x5d5)](),modelConfigSchema=z[_0x520b4c(0x753,0x62e,0x652,0x6e9)]([z['literal'](![]),z['literal'](!![]),z[_0x2edd77(0x649,0x4a4,0x792,0x4c3)](),z['array'](z[_0x2edd77(0x649,0x659,0x4c3,0x776)]()),z[_0x2edd77(0x402,0x4d5,0x450,0x3c5)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x520b4c(0x865,0x877,0x762,0x7b9)](['anthropic-messages','openai-chat-completions',_0x520b4c(0x58e,0x69f,0x5da,0x637),_0x2edd77(0x3e1,0x252,0x407,0x55a)]),providerConfigSchema=z[_0x520b4c(0x8b6,0x6ea,0x751,0x77e)]({'apiKey':z[_0x2edd77(0x649,0x521,0x650,0x6b2)]()[_0x520b4c(0x63e,0x44a,0x51a,0x5ce)](),'token':z['string']()[_0x520b4c(0x5f1,0x642,0x617,0x5ce)](),'defaultModel':z[_0x2edd77(0x649,0x73f,0x618,0x6fa)]()[_0x2edd77(0x448,0x5a5,0x55a,0x464)](),'smallModel':z[_0x2edd77(0x649,0x7aa,0x68f,0x4b6)]()[_0x520b4c(0x4b2,0x59c,0x710,0x5ce)](),'currentAuth':z['string']()[_0x2edd77(0x448,0x590,0x3da,0x33c)](),'auth':z['array'](authMethodSchema)[_0x520b4c(0x681,0x4f7,0x620,0x5ce)](),'surface':chatModelSurfaceSchema[_0x2edd77(0x448,0x358,0x4ff,0x3d1)](),'baseUrl':z[_0x2edd77(0x649,0x4a6,0x617,0x764)]()[_0x520b4c(0x6ed,0x491,0x550,0x5ce)](),'models':modelConfigSchema[_0x520b4c(0x6db,0x4ac,0x454,0x5ce)](),'customHeaders':z[_0x520b4c(0x5d5,0x70d,0x726,0x649)](z[_0x520b4c(0x7d4,0x948,0x650,0x7cf)](),z[_0x2edd77(0x649,0x738,0x516,0x552)]())[_0x2edd77(0x448,0x44a,0x40b,0x49d)](),'reasoning':providerReasoningConfigSchema[_0x2edd77(0x448,0x561,0x397,0x346)]()})[_0x2edd77(0x44f,0x454,0x2e3,0x36b)](),mcpServerConfigSchema=z[_0x520b4c(0x90e,0x5df,0x8fc,0x77e)]({'command':z[_0x520b4c(0x8b6,0x969,0x694,0x7cf)]()[_0x520b4c(0x466,0x4f9,0x6b7,0x5ce)](),'args':z['array'](z[_0x2edd77(0x649,0x532,0x528,0x695)]())['optional'](),'env':z[_0x520b4c(0x528,0x7ea,0x6e5,0x649)](z[_0x520b4c(0x870,0x884,0x842,0x7cf)](),z[_0x520b4c(0x6f8,0x70c,0x789,0x7cf)]())[_0x2edd77(0x448,0x588,0x4b1,0x59d)](),'transport':z['enum']([_0x2edd77(0x3b8,0x50f,0x36a,0x2b7),'http'])[_0x2edd77(0x448,0x488,0x338,0x492)](),'url':z[_0x520b4c(0x6e1,0x914,0x8f8,0x7cf)]()['optional'](),'headers':z['record'](z[_0x2edd77(0x649,0x5ac,0x5c6,0x513)](),z['string']())[_0x520b4c(0x519,0x6c7,0x428,0x5ce)](),'prefix':z['string']()['optional'](),'timeoutMs':z[_0x2edd77(0x63a,0x5a9,0x72a,0x5c1)]()[_0x2edd77(0x448,0x529,0x480,0x324)](),'enabled':z['boolean']()[_0x2edd77(0x448,0x45e,0x51d,0x47d)](),'auth':z[_0x520b4c(0x65c,0x7b1,0x832,0x77e)]({'type':z['enum']([_0x2edd77(0x468,0x576,0x315,0x589),'bearer',_0x520b4c(0x90b,0x8c8,0x695,0x7e5)]),'token':z[_0x520b4c(0x7c6,0x763,0x67d,0x7cf)]()[_0x520b4c(0x590,0x5d9,0x6b6,0x5ce)](),'oauth':z['object']({'clientId':z[_0x2edd77(0x649,0x561,0x50f,0x751)]()['optional'](),'clientMetadataUrl':z['string']()[_0x2edd77(0x448,0x4ef,0x47c,0x534)](),'authorizationServer':z[_0x520b4c(0x805,0x95f,0x7ab,0x7cf)]()[_0x520b4c(0x447,0x753,0x6b0,0x5ce)](),'scopes':z[_0x520b4c(0x625,0x4ee,0x5ed,0x588)](z['string']())[_0x520b4c(0x647,0x773,0x696,0x5ce)](),'tokenStorageKey':z['string']()[_0x2edd77(0x448,0x3b8,0x4ac,0x2bb)]()})[_0x520b4c(0x4da,0x609,0x4d1,0x5d5)]()[_0x520b4c(0x59c,0x53d,0x48e,0x5ce)]()})[_0x520b4c(0x5d6,0x442,0x506,0x5d5)]()['optional']()})[_0x520b4c(0x5ae,0x626,0x5fb,0x5d5)](),mcpToolPermissionClassSchema=z[_0x2edd77(0x633,0x67d,0x628,0x571)]([_0x520b4c(0x68c,0x8a4,0x676,0x7ee),_0x520b4c(0x52d,0x5ce,0x4b5,0x4cb),'always-confirm']),mcpSettingsSchema=z[_0x2edd77(0x5f8,0x6ee,0x48b,0x4ff)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x2edd77(0x448,0x426,0x4e1,0x591)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x520b4c(0x75a,0x607,0x722,0x5fd)]()))[_0x2edd77(0x448,0x2e9,0x545,0x427)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x2edd77(0x448,0x3bd,0x333,0x387)](),'defaultTimeoutMs':z[_0x2edd77(0x63a,0x550,0x6b7,0x606)]()[_0x520b4c(0x495,0x62d,0x59d,0x5ce)]()})[_0x520b4c(0x6d2,0x733,0x64c,0x5d5)](),skillsSettingsSchema=z[_0x520b4c(0x650,0x6cb,0x903,0x77e)]({'enabled':z['boolean']()[_0x2edd77(0x448,0x317,0x566,0x563)](),'includeDefaults':z[_0x2edd77(0x477,0x427,0x316,0x440)]()[_0x2edd77(0x448,0x5d4,0x2b7,0x3da)](),'directories':z[_0x520b4c(0x559,0x5c1,0x6a7,0x588)](z[_0x520b4c(0x6e0,0x7f7,0x8ec,0x7cf)]())[_0x520b4c(0x507,0x5b6,0x59c,0x5ce)](),'exclude':z['array'](z[_0x520b4c(0x931,0x663,0x901,0x7cf)]())['optional']()})[_0x520b4c(0x67e,0x73c,0x6a2,0x5d5)](),commandsSettingsSchema=z[_0x2edd77(0x5f8,0x6ce,0x79b,0x5a0)]({'enabled':z[_0x2edd77(0x477,0x327,0x55d,0x544)]()[_0x520b4c(0x680,0x436,0x71e,0x5ce)](),'directories':z[_0x520b4c(0x5d7,0x6f9,0x53f,0x588)](z['string']())['optional']()})[_0x2edd77(0x44f,0x4e1,0x5af,0x42b)](),agentsSettingsSchema=z[_0x2edd77(0x5f8,0x73f,0x460,0x4ca)]({'enabled':z['boolean']()[_0x520b4c(0x6b8,0x61c,0x6de,0x5ce)](),'includeDefaults':z['boolean']()[_0x2edd77(0x448,0x5d0,0x3d4,0x544)](),'directories':z[_0x2edd77(0x402,0x25c,0x4d8,0x58a)](z[_0x2edd77(0x649,0x71a,0x694,0x544)]())[_0x2edd77(0x448,0x2df,0x341,0x467)]()})['passthrough'](),uiThemeSettingsSchema=z['object']({'mode':z['enum'](['auto',_0x2edd77(0x3e5,0x399,0x302,0x2d4),_0x2edd77(0x519,0x4e9,0x478,0x408)])[_0x520b4c(0x71e,0x651,0x640,0x5ce)](),'colorLevel':z['enum']([_0x2edd77(0x5b1,0x6de,0x6dd,0x6d5),_0x520b4c(0x693,0x4b5,0x5f7,0x5ee),_0x2edd77(0x5db,0x5c9,0x49c,0x5f8),'ansi256',_0x520b4c(0x344,0x5b7,0x63e,0x4e5)])['optional'](),'backgrounds':z[_0x520b4c(0x8f8,0x717,0x6d8,0x7b9)]([_0x2edd77(0x5b1,0x516,0x496,0x5cd),'on',_0x520b4c(0x646,0x5a3,0x658,0x54c)])[_0x2edd77(0x448,0x3e5,0x3af,0x4c8)](),'messageStyle':z[_0x2edd77(0x633,0x7bf,0x49c,0x4d8)]([_0x520b4c(0x62b,0x852,0x896,0x6f0),'boxed'])[_0x2edd77(0x448,0x5a5,0x329,0x5b4)]()})[_0x520b4c(0x72b,0x453,0x5bb,0x5d5)](),statuslineSegmentSchema=z[_0x520b4c(0x808,0x7c2,0x7b9,0x7b9)]([_0x2edd77(0x355,0x4c2,0x205,0x4d3),_0x520b4c(0x576,0x438,0x652,0x5a7),_0x520b4c(0x6c0,0x62b,0x48c,0x54a),_0x520b4c(0x64c,0x371,0x3a0,0x4a7),_0x520b4c(0x697,0x497,0x76e,0x604),_0x2edd77(0x483,0x537,0x532,0x61e),'cached','requests','tools',_0x2edd77(0x39a,0x488,0x42d,0x21c),_0x520b4c(0x666,0x7b3,0x6ae,0x672),_0x2edd77(0x3f7,0x4fd,0x2cc,0x343),_0x520b4c(0x6b5,0x5f5,0x5d0,0x5d8),_0x520b4c(0x724,0x5bb,0x669,0x666),'rss']),statuslineItemSchema=z[_0x2edd77(0x563,0x6f9,0x539,0x617)]([statuslineSegmentSchema,z[_0x2edd77(0x5a3,0x416,0x4b2,0x69f)]('|')]),statuslineRowSchema=z['array'](statuslineItemSchema),statuslineConfigSchema=z[_0x2edd77(0x5f8,0x600,0x757,0x735)]({'rows':z[_0x520b4c(0x6a6,0x82e,0x5f7,0x744)]([statuslineRowSchema,statuslineRowSchema])[_0x520b4c(0x504,0x5a7,0x4fd,0x5ce)]()})[_0x2edd77(0x44f,0x404,0x329,0x5d4)](),memorySettingsSchema=z[_0x2edd77(0x5f8,0x795,0x729,0x5d7)]({'version':z[_0x2edd77(0x5a3,0x55b,0x66d,0x55d)](0x2)[_0x2edd77(0x448,0x2e2,0x50b,0x52f)](),'retrieval':z[_0x520b4c(0x690,0x7fe,0x81c,0x77e)]({'engine':z[_0x520b4c(0x5c7,0x651,0x884,0x729)]('bm25')[_0x2edd77(0x448,0x5bb,0x2cd,0x364)](),'candidateLimit':z[_0x520b4c(0x915,0x8b8,0x807,0x7c0)]()[_0x2edd77(0x448,0x39e,0x4a6,0x56d)](),'activeCandidateLimit':z[_0x2edd77(0x63a,0x498,0x7bd,0x559)]()[_0x520b4c(0x439,0x5e2,0x4f1,0x5ce)](),'activeEnabled':z['boolean']()[_0x2edd77(0x448,0x5d9,0x45b,0x32b)](),'maxQueriesPerTurn':z[_0x520b4c(0x80c,0x849,0x79a,0x7c0)]()['optional'](),'coreInjectTokenBudget':z[_0x520b4c(0x8a8,0x8bb,0x64d,0x7c0)]()[_0x2edd77(0x448,0x3e6,0x4ed,0x4b3)](),'injectTokenBudget':z[_0x2edd77(0x63a,0x786,0x5ae,0x611)]()[_0x520b4c(0x689,0x5ca,0x628,0x5ce)](),'minScore':z['number']()[_0x2edd77(0x448,0x5ba,0x54a,0x555)](),'freshnessHalfLifeDays':z[_0x520b4c(0x726,0x906,0x728,0x7c0)]()[_0x2edd77(0x448,0x510,0x388,0x3e4)]()})[_0x520b4c(0x749,0x73d,0x756,0x5d5)]()[_0x520b4c(0x63e,0x471,0x696,0x5ce)](),'extraction':z['object']({'enabled':z[_0x2edd77(0x477,0x407,0x309,0x422)]()['optional'](),'provider':z[_0x2edd77(0x649,0x4b4,0x670,0x5f7)]()[_0x520b4c(0x673,0x44e,0x55e,0x5ce)](),'model':z[_0x2edd77(0x649,0x4b3,0x518,0x590)]()['optional'](),'sensitiveFilter':z[_0x2edd77(0x477,0x4a7,0x2e1,0x381)]()['optional']()})['passthrough']()[_0x520b4c(0x64b,0x598,0x6bd,0x5ce)](),'index':z['object']({'persisted':z[_0x2edd77(0x477,0x368,0x45c,0x393)]()[_0x520b4c(0x5ab,0x530,0x6e7,0x5ce)](),'flushIntervalMs':z[_0x520b4c(0x7b1,0x8ab,0x646,0x7c0)]()[_0x2edd77(0x448,0x2a6,0x35e,0x566)]()})[_0x520b4c(0x6be,0x743,0x569,0x5d5)]()[_0x520b4c(0x5f0,0x666,0x6ca,0x5ce)](),'enabled':z['boolean']()[_0x2edd77(0x448,0x3ac,0x35b,0x51c)](),'saveTool':z['boolean']()['optional'](),'model':z['string']()[_0x2edd77(0x448,0x567,0x423,0x2d8)](),'provider':z[_0x520b4c(0x946,0x8d6,0x686,0x7cf)]()[_0x2edd77(0x448,0x3af,0x390,0x3d9)](),'maxInjectionTokens':z[_0x520b4c(0x93d,0x740,0x790,0x7c0)]()[_0x2edd77(0x448,0x431,0x45f,0x3a7)](),'backgroundExtraction':z[_0x520b4c(0x552,0x628,0x69c,0x5fd)]()[_0x2edd77(0x448,0x2e4,0x361,0x4a8)]()})[_0x2edd77(0x44f,0x3c8,0x4d0,0x2f6)](),recentModelSchema=z['object']({'provider':z[_0x520b4c(0x8fc,0x91c,0x67b,0x7cf)](),'model':z['string'](),'usedAt':z[_0x520b4c(0x6d6,0x73f,0x750,0x7c0)]()})[_0x2edd77(0x44f,0x2bf,0x302,0x5df)](),lspServerEntrySchema=z['object']({'disabled':z['boolean']()['optional'](),'command':z[_0x2edd77(0x649,0x602,0x6c6,0x6fc)]()[_0x520b4c(0x58a,0x47e,0x436,0x5ce)](),'args':z[_0x2edd77(0x402,0x432,0x2c6,0x35b)](z[_0x520b4c(0x8c0,0x7d0,0x85b,0x7cf)]())[_0x520b4c(0x6ef,0x522,0x6ec,0x5ce)](),'rootMarkers':z[_0x520b4c(0x42b,0x5c9,0x498,0x588)](z['string']())['optional']()})[_0x520b4c(0x57f,0x66f,0x607,0x5d5)](),lspConfigSchema=z[_0x520b4c(0x870,0x87c,0x6df,0x77e)]({'enabled':z[_0x2edd77(0x477,0x586,0x3df,0x50b)]()['optional'](),'servers':z['record'](z[_0x520b4c(0x8a1,0x849,0x963,0x7cf)](),lspServerEntrySchema)[_0x520b4c(0x475,0x567,0x636,0x5ce)]()})[_0x520b4c(0x532,0x5fe,0x4e8,0x5d5)](),serverEndpointSchema=z[_0x2edd77(0x5f8,0x668,0x77b,0x5f3)]({'url':z[_0x520b4c(0x76b,0x924,0x806,0x7cf)](),'token':z[_0x2edd77(0x649,0x735,0x5d3,0x4a8)]()[_0x2edd77(0x448,0x41f,0x588,0x57a)]()})[_0x520b4c(0x5a9,0x70c,0x72d,0x5d5)](),commandHookConfigSchema=z[_0x2edd77(0x5f8,0x4b4,0x6ce,0x57d)]({'type':z['literal']('command'),'command':z[_0x520b4c(0x658,0x777,0x84f,0x7cf)](),'timeout':z[_0x520b4c(0x6d6,0x730,0x779,0x7c0)]()[_0x520b4c(0x673,0x516,0x66f,0x5ce)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x2edd77(0x649,0x764,0x7e4,0x7c5)]()[_0x520b4c(0x65d,0x51d,0x67e,0x5ce)](),'hooks':z[_0x2edd77(0x402,0x34c,0x327,0x2dc)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x2edd77(0x5f8,0x630,0x558,0x686)]({'PreToolUse':z[_0x520b4c(0x6d0,0x512,0x6db,0x588)](hookMatcherGroupSchema)[_0x520b4c(0x431,0x4c0,0x674,0x5ce)](),'PostToolUse':z[_0x520b4c(0x637,0x706,0x6fb,0x588)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x520b4c(0x470,0x59e,0x401,0x588)](hookMatcherGroupSchema)[_0x2edd77(0x448,0x471,0x355,0x3c1)](),'Stop':z[_0x2edd77(0x402,0x31a,0x53f,0x311)](hookMatcherGroupSchema)[_0x2edd77(0x448,0x4c3,0x5d7,0x39e)](),'Notification':z[_0x2edd77(0x402,0x4ba,0x3e8,0x38d)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x520b4c(0x5bc,0x3e7,0x432,0x588)](hookMatcherGroupSchema)[_0x2edd77(0x448,0x52f,0x3f5,0x5ad)](),'SessionStart':z[_0x2edd77(0x402,0x529,0x44b,0x395)](hookMatcherGroupSchema)[_0x520b4c(0x766,0x455,0x68a,0x5ce)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x2edd77(0x448,0x45a,0x450,0x4ce)]()}),providerNameSchema=z[_0x2edd77(0x649,0x598,0x4ac,0x620)]()[_0x520b4c(0x386,0x3fd,0x32c,0x4c6)](0x1,_0x520b4c(0x86e,0x5eb,0x84d,0x750))[_0x2edd77(0x579,0x714,0x661,0x5b1)](_0x545820=>!_0x545820['includes'](':'),_0x520b4c(0x69c,0x6b7,0x58d,0x6b8)),bashPolicyRuleSchema=z[_0x2edd77(0x5f8,0x5f4,0x4c7,0x51a)]({'id':z[_0x2edd77(0x649,0x5f1,0x7ba,0x6a8)]()[_0x520b4c(0x64d,0x6d9,0x5e4,0x5a9)]()[_0x2edd77(0x340,0x2d3,0x3fc,0x2be)](0x1)[_0x2edd77(0x531,0x4ca,0x4d9,0x5e7)](0x80),'action':z[_0x520b4c(0x8a1,0x773,0x629,0x7b9)]([_0x2edd77(0x443,0x333,0x548,0x2ba),_0x520b4c(0x5cd,0x4e9,0x7a6,0x656)]),'cwd':z[_0x2edd77(0x633,0x55d,0x629,0x4b3)]([_0x2edd77(0x502,0x49b,0x4d9,0x390),'any-allowed'])['optional'](),'commands':z[_0x520b4c(0x455,0x59e,0x519,0x588)](z[_0x520b4c(0x63a,0x965,0x7a7,0x7cf)]()['min'](0x1))[_0x2edd77(0x340,0x319,0x461,0x472)](0x1)})['strict'](),bashPolicyConfigSchema=z['object']({'default':z[_0x520b4c(0x6fd,0x669,0x7b3,0x729)](_0x2edd77(0x626,0x6b8,0x6e6,0x77f))[_0x2edd77(0x448,0x464,0x56c,0x4c7)](),'rules':z['array'](bashPolicyRuleSchema)['max'](0x3e8)})[_0x520b4c(0x5a4,0x6f9,0x744,0x5e9)](),cliConfigSchema=z[_0x520b4c(0x793,0x7e8,0x5e4,0x77e)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x520b4c(0x912,0x792,0x6c6,0x7cf)]()[_0x520b4c(0x6d8,0x465,0x4a4,0x5ce)](),'apiKey':z[_0x520b4c(0x80c,0x695,0x93b,0x7cf)]()[_0x520b4c(0x596,0x654,0x6c4,0x5ce)](),'providers':z[_0x2edd77(0x4c3,0x358,0x49e,0x4a8)](providerNameSchema,providerConfigSchema)[_0x520b4c(0x5cd,0x682,0x618,0x5ce)](),'mcp':mcpSettingsSchema[_0x520b4c(0x4cd,0x564,0x580,0x5ce)](),'skills':skillsSettingsSchema[_0x2edd77(0x448,0x3f6,0x473,0x303)](),'agents':agentsSettingsSchema[_0x520b4c(0x4da,0x498,0x76c,0x5ce)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x2edd77(0x4c3,0x3b3,0x4d2,0x40b)](z[_0x2edd77(0x649,0x6cf,0x535,0x682)](),z['boolean']())['optional'](),'allowedDirs':z['array'](z[_0x2edd77(0x649,0x5ee,0x501,0x7b2)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x2edd77(0x477,0x60c,0x470,0x34e)]())[_0x2edd77(0x448,0x49d,0x3b4,0x2a9)](),'commandsEnabled':z[_0x2edd77(0x4c3,0x597,0x4d8,0x655)](z['string'](),z[_0x2edd77(0x477,0x4ad,0x3b1,0x4eb)]())[_0x2edd77(0x448,0x33d,0x594,0x335)](),'memory':memorySettingsSchema[_0x2edd77(0x448,0x59a,0x521,0x4ff)](),'session':z[_0x2edd77(0x5f8,0x4a6,0x59f,0x74e)]({'memPersist':z[_0x2edd77(0x477,0x350,0x450,0x609)]()[_0x2edd77(0x448,0x5bd,0x399,0x365)](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z[_0x2edd77(0x477,0x5d3,0x477,0x331)]()[_0x2edd77(0x448,0x2d0,0x50d,0x586)]()})[_0x2edd77(0x44f,0x423,0x4a3,0x5b9)]()[_0x2edd77(0x448,0x3f6,0x2c1,0x5c8)](),'requireToolApproval':z['boolean']()['optional'](),'thinking':z[_0x520b4c(0x672,0x5df,0x80c,0x77e)]({'selections':z[_0x2edd77(0x4c3,0x475,0x5c8,0x331)](z[_0x520b4c(0x8d2,0x6fc,0x725,0x7cf)](),z[_0x520b4c(0x921,0x6d2,0x806,0x7cf)]())[_0x520b4c(0x566,0x715,0x5cc,0x5ce)]()})[_0x2edd77(0x448,0x40f,0x2b5,0x5a7)](),'streamingChunks':z['boolean']()[_0x520b4c(0x76e,0x4f8,0x6ba,0x5ce)](),'agentsEnabled':z[_0x2edd77(0x4c3,0x65a,0x45d,0x372)](z[_0x2edd77(0x649,0x5e3,0x756,0x636)](),z[_0x520b4c(0x670,0x4fa,0x762,0x5fd)]())['optional'](),'recentModels':z['array'](recentModelSchema)[_0x2edd77(0x448,0x3de,0x47d,0x440)](),'lsp':lspConfigSchema[_0x520b4c(0x52a,0x5e9,0x687,0x5ce)](),'servers':z['record'](z[_0x2edd77(0x649,0x538,0x700,0x5fe)](),serverEndpointSchema)['optional'](),'ui':z[_0x2edd77(0x5f8,0x595,0x61e,0x6df)]({'theme':uiThemeSettingsSchema[_0x520b4c(0x4cf,0x5fc,0x50a,0x5ce)](),'statusline':statuslineConfigSchema[_0x2edd77(0x448,0x4d4,0x580,0x316)]()})[_0x2edd77(0x44f,0x37d,0x36a,0x2f6)]()[_0x2edd77(0x448,0x3b9,0x492,0x5c1)](),'tools':z[_0x2edd77(0x4c3,0x372,0x33c,0x423)](z['string'](),z['unknown']())[_0x2edd77(0x448,0x406,0x372,0x4f1)](),'hooks':hooksConfigSchema[_0x2edd77(0x448,0x4a3,0x46c,0x3f7)](),'bashPolicy':z[_0x520b4c(0x715,0x6a0,0x850,0x718)]()[_0x520b4c(0x661,0x5d0,0x432,0x5ce)]()})[_0x2edd77(0x44f,0x2f5,0x3f5,0x5c1)](),workspaceOverlaySchema=z['object']({'root':z[_0x520b4c(0x8f3,0x6f3,0x7f5,0x7cf)]()['optional'](),'allowedDirs':z[_0x2edd77(0x402,0x292,0x3ec,0x516)](z[_0x520b4c(0x7ef,0x95d,0x663,0x7cf)]())[_0x520b4c(0x692,0x4d3,0x625,0x5ce)](),'activeProvider':providerNameSchema[_0x520b4c(0x6df,0x6a0,0x737,0x5ce)](),'activeModel':z[_0x2edd77(0x649,0x668,0x700,0x6ce)]()[_0x520b4c(0x686,0x505,0x6c2,0x5ce)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x520b4c(0x48d,0x527,0x6fd,0x5ce)](),'commands':commandsSettingsSchema[_0x520b4c(0x5ea,0x53e,0x533,0x5ce)](),'hooks':hooksConfigSchema[_0x2edd77(0x448,0x474,0x541,0x3ef)](),'memory':memorySettingsSchema[_0x520b4c(0x6eb,0x63b,0x589,0x5ce)](),'mcpEnabled':prototypeSafeRecord(z[_0x2edd77(0x477,0x524,0x35c,0x3f8)]())[_0x2edd77(0x448,0x514,0x34a,0x4f2)](),'skillsEnabled':z[_0x2edd77(0x4c3,0x3dc,0x3d0,0x65f)](z['string'](),z[_0x520b4c(0x582,0x56b,0x59a,0x5fd)]())[_0x2edd77(0x448,0x3fb,0x5d0,0x3ad)](),'agentsEnabled':z['record'](z[_0x2edd77(0x649,0x561,0x72e,0x642)](),z[_0x2edd77(0x477,0x55f,0x303,0x5c5)]())['optional'](),'commandsEnabled':z['record'](z[_0x2edd77(0x649,0x64c,0x4b2,0x72d)](),z[_0x520b4c(0x53d,0x52a,0x533,0x5fd)]())[_0x2edd77(0x448,0x45d,0x392,0x31f)](),'bashPolicy':z['unknown']()['optional']()})[_0x520b4c(0x51b,0x76e,0x77a,0x5d5)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x2edd77(0x3ed,0x319,0x432,0x530)](Object['prototype']),_0x2edd77(0x5cf,0x60b,0x6bb,0x622)]);function buildDescription(_0x2cf710){const _0x143dda={_0x1a37ad:0x122,_0x51c96b:0x68,_0x50b2c0:0x6f,_0x22a57b:0xa0,_0x20cfce:0x19e,_0x458b6a:0xf4,_0x146669:0x42,_0x49f53f:0x73,_0x49bea3:0x20b,_0x29d8dd:0x4d,_0x137d6c:0x70,_0x3c59d2:0x1fd,_0x3e3c1d:0x2f4,_0xaad4f:0x151},_0x59d0fd={_0x29c32d:0x664},_0x11119f={_0x22ad7a:0x23};function _0x42b2ec(_0x13220b,_0x29132c,_0x5c60ce,_0x3a534d){return _0x2edd77(_0x13220b- -0x322,_0x29132c-_0x11119f._0x22ad7a,_0x5c60ce-0x28,_0x5c60ce);}function _0x2eb11b(_0x36b3c3,_0x36fc31,_0x56e51f,_0xe48ad4){return _0x520b4c(_0x36b3c3-0x17d,_0x36fc31-0xf5,_0x36b3c3,_0xe48ad4- -_0x59d0fd._0x29c32d);}if(_0x2cf710[_0x2eb11b(0x91,-_0x143dda._0x1a37ad,_0x143dda._0x51c96b,-_0x143dda._0x50b2c0)]===0x0)return[_0x2eb11b(0xae,_0x143dda._0x22a57b,-0x265,-0xf6),_0x42b2ec(0x142,_0x143dda._0x20cfce,_0x143dda._0x458b6a,-0xa),_0x42b2ec(0x16e,0x24d,0x2f7,_0x143dda._0x146669)]['join']('\x0a');const _0x40fdcd=[_0x2eb11b(-_0x143dda._0x49f53f,-0x10a,-_0x143dda._0x49bea3,-0xf6),_0x2eb11b(_0x143dda._0x29d8dd,_0x143dda._0x137d6c,-_0x143dda._0x3c59d2,-0x7a),'Available\x20commands:',..._0x2cf710[_0x2eb11b(-_0x143dda._0x3e3c1d,0x37,-0x213,-_0x143dda._0xaad4f)](_0x2d1a1d=>_0x2d1a1d[_0x2eb11b(-0x10d,0x36,-0x7f,0x83)]?'-\x20'+_0x2d1a1d[_0x2eb11b(0xa2,0xc6,-0x80,0x12)]+'\x20'+_0x2d1a1d[_0x42b2ec(0x23f,0x14d,0x19d,0x321)]+':\x20'+_0x2d1a1d[_0x42b2ec(0x18,-0x112,0x2d,0x16f)]:'-\x20'+_0x2d1a1d['name']+':\x20'+_0x2d1a1d[_0x42b2ec(0x18,-0xb5,-0x9e,0x7d)])];return _0x40fdcd['join']('\x0a');}function _0x2edd77(_0x29af98,_0x19f4ea,_0x4a7bfb,_0x1616a0){return _0x4535(_0x29af98-0x1de,_0x1616a0);}function createInvokeCommandTool(_0x5195b4){const _0xd70bcf={_0x568cd1:0x37,_0x48d0c1:0x15d,_0x24b2b5:0xa2,_0x994402:0x14,_0x3d46fb:0x315,_0x5908ae:0xd3,_0x1f2cab:0x20d,_0x989d6a:0xd8,_0x387183:0x338,_0x267f43:0x439,_0x9934ea:0x39,_0x1e06ba:0x1bb,_0xdad484:0x1df},_0x18bce9={_0x615d07:0x5a,_0x9a7c86:0x1e,_0x486c4a:0x9,_0x45db90:0x171,_0x2522d8:0x2cd,_0x1b939c:0x2f8,_0x497b7e:0x1b8,_0x2e3df8:0x42,_0x20d9d4:0xb8,_0x65b58c:0x3b,_0x53f124:0x53,_0x398ed8:0x50,_0xe9fb74:0x27c,_0x5a4a7:0x177,_0x21a479:0x2fb,_0x3eb136:0x1f6,_0x5a2619:0x420,_0x4302fc:0xd6,_0x20b881:0x1ed,_0x32bdb0:0x9a,_0x1c325b:0x5,_0x33f0af:0x29b,_0x123230:0x248,_0x370f41:0x5ef,_0x4f4092:0x479,_0x5cab03:0x520},_0x38805f={_0x51d0fa:0x44c,_0x4bb5e5:0x1d1,_0xae85c6:0x157},_0x3586c2={_0x33e582:0x1c3},_0x5e53fa=new Map(_0x5195b4[_0x28d4d1(0x31,_0xd70bcf._0x568cd1,_0xd70bcf._0x48d0c1,_0xd70bcf._0x24b2b5)][_0x28d4d1(_0xd70bcf._0x994402,0x146,0x7c,-0xa3)](_0x43e3b8=>[_0x43e3b8['id'],_0x43e3b8]));function _0x28d4d1(_0x11e988,_0x3c6539,_0xd0da73,_0x45bddb){return _0x2edd77(_0xd0da73- -0x311,_0x3c6539-0x79,_0xd0da73-_0x3586c2._0x33e582,_0x3c6539);}function _0x3c2b33(_0x2f7a8e,_0x1bad3e,_0x493856,_0xa5546f){return _0x2edd77(_0x493856- -_0x38805f._0x51d0fa,_0x1bad3e-_0x38805f._0x4bb5e5,_0x493856-_0x38805f._0xae85c6,_0xa5546f);}const _0x2cce7b=buildDescription(_0x5195b4['commands']);return defineTool({'name':_0x28d4d1(0x16,0x235,0x185,_0xd70bcf._0x3d46fb),'permissionClass':_0x3c2b33(0x43,_0xd70bcf._0x5908ae,0x166,0x23b),'description':_0x2cce7b,'inputSchema':{'type':'object','properties':{'name':{'type':_0x3c2b33(0x32b,_0xd70bcf._0x1f2cab,0x1fd,_0xd70bcf._0x989d6a)},'args':{'type':_0x28d4d1(0x249,0x1af,_0xd70bcf._0x387183,_0xd70bcf._0x267f43)}},'required':[_0x28d4d1(_0xd70bcf._0x9934ea,_0xd70bcf._0x1e06ba,_0xd70bcf._0xdad484,0xf3)]},async *'execute'(_0x59395d){const _0x59cd00={_0x37dcef:0x41,_0x3eeb48:0xa7,_0x540c32:0x37c},_0x4451af=_0x5e53fa[_0x2a2617(-0x7e,-0x12a,-0x1ea,_0x18bce9._0x615d07)](_0x59395d[_0x2a2617(0x31,0x53,_0x18bce9._0x9a7c86,0x73)]);function _0x2a2617(_0x47676c,_0x3ed2c8,_0x3c73e6,_0xc258ab){return _0x28d4d1(_0x47676c-0xfe,_0x3c73e6,_0x3ed2c8- -0x18c,_0xc258ab-0x1a3);}if(!_0x4451af){const _0x417535=Array[_0x2a2617(_0x18bce9._0x486c4a,-_0x18bce9._0x45db90,-_0x18bce9._0x2522d8,-0x1e)](_0x5e53fa[_0x49cddc(_0x18bce9._0x1b939c,0x472,0x272,_0x18bce9._0x497b7e)]())['join'](',\x20');throw new ToolExecutionError(_0x2a2617(_0x18bce9._0x2e3df8,_0x18bce9._0x20d9d4,_0x18bce9._0x65b58c,0x10f)+_0x59395d[_0x2a2617(0x186,_0x18bce9._0x53f124,0x8c,_0x18bce9._0x398ed8)]+_0x49cddc(_0x18bce9._0xe9fb74,_0x18bce9._0x5a4a7,_0x18bce9._0x21a479,_0x18bce9._0x3eb136)+_0x417535,{'name':_0x59395d[_0x49cddc(_0x18bce9._0x5a2619,0x476,0x52a,0x2c9)]});}function _0x49cddc(_0x3c8e50,_0x4589f3,_0x37aca4,_0x11effa){return _0x3c2b33(_0x3c8e50-_0x59cd00._0x37dcef,_0x4589f3-_0x59cd00._0x3eeb48,_0x3c8e50-_0x59cd00._0x540c32,_0x37aca4);}const _0x5939fe=await _0x5195b4[_0x2a2617(0x18,_0x18bce9._0x4302fc,_0x18bce9._0x20b881,0x153)](_0x4451af),_0x52163d=_0x59395d[_0x2a2617(-0x1ed,-0xfd,-_0x18bce9._0x32bdb0,-_0x18bce9._0x1c325b)]??'',_0x2ebd0b=renderCommandInstructions({'instructions':_0x5939fe['instructions'],'argumentsText':_0x52163d,'argumentNames':_0x5939fe[_0x49cddc(0x2eb,0x1ac,_0x18bce9._0x33f0af,_0x18bce9._0x123230)]});return yield createToolOutput(_0x2ebd0b,{'id':_0x5939fe['id'],'name':_0x5939fe['name'],'path':_0x4451af[_0x49cddc(0x458,_0x18bce9._0x370f41,0x5f0,0x329)][_0x49cddc(_0x18bce9._0x4f4092,0x30c,_0x18bce9._0x5cab03,0x5a1)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x1b834a,rename as _0x171367,stat as _0x5cf604,writeFile as _0x42d53d}from'fs/promises';import*as _0x384dd1 from'path';function detectEol(_0x52b17c){const _0x206708={_0x30775e:0x192,_0x21d0b9:0x324};function _0x5e381b(_0x5656d7,_0xb1c8ea,_0x5e4b2f,_0x5cf703){return _0x520b4c(_0x5656d7-0x1de,_0xb1c8ea-0x25,_0x5656d7,_0x5e4b2f- -0x30b);}return/\r\n/['test'](_0x52b17c['toString']('utf8'))?_0x5e381b(_0x206708._0x30775e,_0x206708._0x21d0b9,0x211,0x3b6):'lf';}function normalizeToLf(_0x384cc6){const _0x26cd57={_0x54a037:0x168},_0x34a038={_0xa60402:0x164,_0x233e2d:0x8};function _0x47e1b6(_0x3fdb62,_0x39a4ef,_0x34557f,_0x59a652){return _0x520b4c(_0x3fdb62-_0x34a038._0xa60402,_0x39a4ef-_0x34a038._0x233e2d,_0x39a4ef,_0x59a652- -0x4f7);}return _0x384cc6[_0x47e1b6(_0x26cd57._0x54a037,0x110,0x160,0x12b)](/\r\n/g,'\x0a');}function convertEol(_0x4f2032,_0x3528bf){const _0x4e2cf0={_0x41ebfb:0x2cb,_0x283de7:0x4ad,_0x5567d1:0x3b5},_0x26170d={_0x3eb8d9:0x10f,_0x42be1c:0x67};function _0x252e40(_0x2638fa,_0x2b0ff5,_0x196630,_0x25c411){return _0x2edd77(_0x2b0ff5- -0xc7,_0x2b0ff5-_0x26170d._0x3eb8d9,_0x196630-_0x26170d._0x42be1c,_0x25c411);}return _0x3528bf==='crlf'?_0x4f2032[_0x252e40(_0x4e2cf0._0x41ebfb,0x3d5,_0x4e2cf0._0x283de7,_0x4e2cf0._0x5567d1)](/\n/g,'\x0d\x0a'):_0x4f2032;}async function atomicWrite(_0x19b00d,_0x3123fc){const _0x4506cd={_0x2d7b5f:0x1c0,_0x1eb238:0x60,_0x272cc1:0x19b,_0x56bb6b:0x328,_0x4e2cac:0x234,_0x292d4e:0xd4,_0x4b0780:0x8d,_0x5c6bf9:0x147,_0x1f3f66:0x1cc,_0xc03e8d:0x1a4,_0x4867a7:0x126,_0x99fdc7:0x9a},_0x2be22b={_0x2f9d8b:0x130,_0xa8334:0x6a1},_0x1d8db4={_0x317e15:0x1e6,_0x104fa0:0x6df},_0x165204=_0x384dd1[_0x33b612(-0x321,-_0x4506cd._0x2d7b5f,-0x41,-0x264)](_0x19b00d);function _0x33b612(_0x37a89c,_0x3fc0a5,_0x45dbec,_0x234ffa){return _0x520b4c(_0x37a89c-_0x1d8db4._0x317e15,_0x3fc0a5-0x187,_0x234ffa,_0x3fc0a5- -_0x1d8db4._0x104fa0);}function _0x1434c0(_0x16028b,_0x5af13f,_0x48138a,_0x3f32c2){return _0x520b4c(_0x16028b-0x109,_0x5af13f-_0x2be22b._0x2f9d8b,_0x48138a,_0x16028b- -_0x2be22b._0xa8334);}const _0x2a3201=_0x384dd1[_0x33b612(-0xe5,_0x4506cd._0x1eb238,0x119,-0x3)](_0x165204,_0x33b612(-_0x4506cd._0x272cc1,-0x13f,-0x292,-0x265)+_0x384dd1[_0x33b612(-_0x4506cd._0x56bb6b,-_0x4506cd._0x4e2cac,-0x2dd,-0x2e6)](_0x19b00d)+'.'+Date[_0x1434c0(-0x173,-_0x4506cd._0x292d4e,-_0x4506cd._0x4b0780,-0xc)]()+'.'+Math[_0x1434c0(-_0x4506cd._0x5c6bf9,-_0x4506cd._0x1f3f66,-0x150,-_0x4506cd._0xc03e8d)]()[_0x1434c0(0x89,_0x4506cd._0x4867a7,_0x4506cd._0x99fdc7,-0x2a)](0x24)['slice'](0x2));await _0x42d53d(_0x2a3201,_0x3123fc),await _0x171367(_0x2a3201,_0x19b00d);}function sha256(_0x12688a){const _0x3e75bb={_0x1a9365:0x58f,_0x405014:0x4c7,_0x7a5dfa:0x43f,_0x1dfdc7:0x408,_0x4d8397:0x450},_0x32486d={_0x4369f7:0x11e},_0x1eff5b={_0x98c543:0x1c3,_0x555532:0x246};function _0x1542aa(_0x30044f,_0x2c8f80,_0x2fa5ba,_0x5109d4){return _0x520b4c(_0x30044f-_0x1eff5b._0x98c543,_0x2c8f80-0x63,_0x2fa5ba,_0x30044f- -_0x1eff5b._0x555532);}function _0x2e282c(_0x27c7ef,_0x1f78a4,_0x17b6e8,_0x4b6c27){return _0x520b4c(_0x27c7ef-_0x32486d._0x4369f7,_0x1f78a4-0xd3,_0x27c7ef,_0x4b6c27- -0x190);}return createHash('sha256')[_0x1542aa(_0x3e75bb._0x1a9365,_0x3e75bb._0x405014,_0x3e75bb._0x7a5dfa,0x602)](_0x12688a)[_0x2e282c(0x566,0x44a,0x5c9,0x507)](_0x2e282c(0x517,0x34e,_0x3e75bb._0x1dfdc7,_0x3e75bb._0x4d8397));}function countLines(_0x4aa4bb){const _0x5f270a={_0x325201:0x2a2,_0x5a7774:0x3f4,_0x35eed2:0x3d2,_0x3570eb:0x49c},_0x31cd67={_0x40c20e:0x144},_0x56fc68={_0x4bd223:0x1a3};function _0x1bb396(_0x20799b,_0x58afef,_0x5741a1,_0x30fb13){return _0x520b4c(_0x20799b-_0x56fc68._0x4bd223,_0x58afef-0x164,_0x5741a1,_0x58afef- -0x22e);}const _0x10afe2=_0x4aa4bb[_0x1bb396(_0x5f270a._0x325201,_0x5f270a._0x5a7774,0x585,0x3cc)](/\n$/,'');function _0xa5572c(_0x5debd4,_0xec3d88,_0x4f92db,_0x2eacd5){return _0x520b4c(_0x5debd4-0x13,_0xec3d88-_0x31cd67._0x40c20e,_0x4f92db,_0x5debd4- -0x223);}return _0x10afe2[_0xa5572c(_0x5f270a._0x35eed2,0x249,_0x5f270a._0x3570eb,0x3ad)]===0x0?0x0:_0x10afe2['split']('\x0a')['length'];}function calculateLineNumbers(_0x4c18c5,_0x37e10a,_0x444e67,_0x137266){const _0x341e7e={_0x735bc9:0x4d1,_0x353c55:0x3d7,_0x4595fd:0x6d,_0x57fbe4:0x153,_0x5ed782:0x2db,_0x459b6d:0x51},_0x4e96e6={_0x93f8bf:0x151},_0x12c7e1={_0x7456bd:0xd7,_0x19d1a1:0x2e3},_0x5cec39=_0x4c18c5[_0x239d9c(0x503,_0x341e7e._0x735bc9,0x27b,_0x341e7e._0x353c55)](0x0,_0x137266)['split']('\x0a')[_0x3e7111(_0x341e7e._0x4595fd,_0x341e7e._0x57fbe4,_0x341e7e._0x5ed782,-_0x341e7e._0x459b6d)];function _0x239d9c(_0x187b0e,_0x484700,_0x191614,_0x58c3a7){return _0x520b4c(_0x187b0e-_0x12c7e1._0x7456bd,_0x484700-0x1e0,_0x191614,_0x58c3a7- -_0x12c7e1._0x19d1a1);}function _0x3e7111(_0x321936,_0x196371,_0x4485d6,_0x223d75){return _0x2edd77(_0x196371- -0x31c,_0x196371-0x13d,_0x4485d6-_0x4e96e6._0x93f8bf,_0x321936);}const _0x2b787c=countLines(_0x37e10a),_0xb58fa=countLines(_0x444e67);return{'oldStartLine':_0x5cec39,'oldEndLine':_0x5cec39+_0x2b787c-0x1,'newStartLine':_0x5cec39,'newEndLine':_0x5cec39+_0xb58fa-0x1,'oldLineCount':_0x2b787c,'newLineCount':_0xb58fa};}function createFileEditTool(_0x17a57c={}){const _0x403c4e={_0x5e70b4:0x3f,_0xb040f4:0x1dd,_0x187672:0x74,_0x5f0fda:0xe6,_0x12b647:0x1c3,_0x4f2548:0x2f0,_0xef119e:0x100,_0x1edb1b:0x276,_0x4b2e3a:0x75f,_0x179558:0x60c,_0x203ad4:0x782,_0x1d7bd6:0x4a3,_0x47d6d5:0x3ac,_0x3b7bec:0x560,_0x4e3073:0x184,_0x1410f6:0x19c,_0x296a07:0xe3,_0xf8d5a7:0x178,_0x491194:0x33b,_0x11a23d:0x19d,_0x45d8cc:0x21e,_0x57e484:0x3,_0x2b21d9:0x11f,_0x35a4f4:0x85,_0x5ea35e:0x6e1,_0x43dc07:0x4d6,_0x468c8e:0x57b,_0x59fd8e:0x78f},_0x4b1712={_0x1aa20d:0x48b,_0x216bb6:0x52c,_0xa2d175:0x3a3,_0x551cc0:0x292,_0x5dab6d:0x35d,_0x2f99d7:0x576,_0x588c9c:0x43e,_0x568896:0x54c,_0x334491:0x557,_0x5ab80d:0x526,_0x4b7015:0x335,_0x27899b:0x3d1,_0x3e948a:0x2c4,_0x2ec874:0x473,_0x34bb0e:0x4fd,_0x288f27:0x464,_0x482400:0x593,_0x3f7dae:0x2ce,_0x1a00fe:0x512,_0x32d8f3:0x3be,_0x47423c:0x228,_0xd65cc:0x373,_0x401d61:0x40d,_0x3f2aae:0x575,_0x4f3dc6:0x54a,_0x5d85b8:0x4f0,_0x15a5c0:0x65d,_0x33f5fb:0x588,_0x36acae:0x505,_0x4c8311:0x2f0,_0x39c414:0x197,_0x4ed61a:0x3c2,_0x290518:0x518,_0x2ab4ef:0x60b,_0x3866f4:0x2b2,_0x5be5d7:0x430,_0x326b81:0x482,_0x2bb005:0x4fa,_0x248ff9:0x5eb,_0x12ab0e:0x499,_0x7d88d2:0x411,_0x48c088:0x50e,_0x1f0e8e:0x2ff},_0x4eb981={_0x105a9e:0xcb,_0x5659b5:0x17a,_0xb2e96:0x54},_0x42c23a={_0x18266e:0x502,_0x5a8448:0x196},_0x25556a={_0x57686a:0x12a},_0x16d718={_0x28957b:0x474,_0xf74320:0xb},_0x40c609=_0x384dd1[_0xbf606e(-0x6c,-0x42,_0x403c4e._0x5e70b4,-_0x403c4e._0xb040f4)](_0x17a57c[_0xbf606e(-0x95,-0x74,_0x403c4e._0x187672,_0x403c4e._0x5f0fda)]??process[_0xbf606e(_0x403c4e._0x12b647,0x2be,0x25c,_0x403c4e._0x4f2548)]());function _0xbf606e(_0x1ddc02,_0x85ec2,_0x25804c,_0x223606){return _0x2edd77(_0x1ddc02- -_0x16d718._0x28957b,_0x85ec2-0x1ac,_0x25804c-_0x16d718._0xf74320,_0x25804c);}const _0x3ba826=_0x17a57c[_0xbf606e(-_0x403c4e._0xef119e,0x90,0x1e,-_0x403c4e._0x1edb1b)]??[];function _0x509133(_0x518530,_0x29f5c0,_0x3aabee,_0x26934f){return _0x520b4c(_0x518530-_0x25556a._0x57686a,_0x29f5c0-0x7,_0x26934f,_0x29f5c0- -0x6a);}const _0x1104c7=_0x17a57c[_0x509133(_0x403c4e._0x4b2e3a,_0x403c4e._0x179558,0x67f,_0x403c4e._0x203ad4)]??_0x509133(_0x403c4e._0x1d7bd6,0x527,0x3ac,0x56b);return defineTool({'name':_0x1104c7,'permissionClass':_0x509133(_0x403c4e._0x47d6d5,0x461,0x3bd,_0x403c4e._0x3b7bec),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0xbf606e(_0x403c4e._0x4e3073,_0x403c4e._0x1410f6,_0x403c4e._0x296a07,0x1f5),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20edit\x20changes\x20and\x20why\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20the\x20change\x20is\x20applied.\x20Be\x20specific,\x20e.g.\x20\x27Fix\x20the\x20token-refresh\x20race\x20in\x20the\x20auth\x20client\x27\x20rather\x20than\x20\x27edit\x20file\x27.'},'oldText':{'type':_0xbf606e(0x1d5,0x27d,_0x403c4e._0xf8d5a7,_0x403c4e._0x491194)},'newText':{'type':_0xbf606e(0x1d5,0x19c,_0x403c4e._0x11a23d,_0x403c4e._0x45d8cc)},'dryRun':{'type':_0xbf606e(_0x403c4e._0x57e484,-_0x403c4e._0x2b21d9,0x18a,-_0x403c4e._0x35a4f4)}},'required':[_0x509133(_0x403c4e._0x5ea35e,0x66a,0x6d6,0x5c8),_0x509133(0x393,_0x403c4e._0x43dc07,_0x403c4e._0x468c8e,0x3f9),_0x509133(_0x403c4e._0x59fd8e,0x690,0x78c,0x657)]},async *'execute'(_0x5d81b8){const _0x4f096b=resolveAllowedPath(_0x40c609,_0x3ba826,_0x5d81b8['filePath']);await assertWorkspaceFile(_0x4f096b);function _0x237a36(_0x27c9fb,_0x4f0478,_0x48bbe0,_0xed01d0){return _0xbf606e(_0x4f0478-_0x42c23a._0x18266e,_0x4f0478-_0x42c23a._0x5a8448,_0x48bbe0,_0xed01d0-0x1e7);}const _0x115a07=await _0x5cf604(_0x4f096b),_0x1cb92a=await _0x1b834a(_0x4f096b),_0x3d6a1d=detectEol(_0x1cb92a),_0x54e6a6=normalizeToLf(_0x1cb92a[_0x237a36(0x505,0x632,_0x4b1712._0x1aa20d,_0x4b1712._0x216bb6)](_0x3c46d8(_0x4b1712._0xa2d175,0x433,_0x4b1712._0x551cc0,0x545))),_0x40a9d5=normalizeToLf(_0x5d81b8['oldText']),_0x33ba15=normalizeToLf(_0x5d81b8['newText']),_0x22b47c=_0x54e6a6['indexOf'](_0x40a9d5);if(_0x22b47c===-0x1){const _0x56e727=_0x40a9d5[_0x3c46d8(0x4d6,_0x4b1712._0x5dab6d,_0x4b1712._0x2f99d7,0x617)](0x0,0x64)[_0x3c46d8(_0x4b1712._0x588c9c,_0x4b1712._0x568896,_0x4b1712._0x334491,0x31c)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x237a36(_0x4b1712._0x5ab80d,0x445,_0x4b1712._0x4b7015,_0x4b1712._0x27899b)+_0x56e727+(_0x40a9d5[_0x3c46d8(0x411,_0x4b1712._0x3e948a,0x38d,0x3e7)]>0x64?'...':'')+'\x22',{'filePath':_0x5d81b8['filePath']});}const _0x5ca979=_0x54e6a6['slice'](0x0,_0x22b47c)+_0x33ba15+_0x54e6a6[_0x237a36(0x62c,0x5c2,_0x4b1712._0x2ec874,0x62c)](_0x22b47c+_0x40a9d5[_0x237a36(0x43e,_0x4b1712._0x34bb0e,_0x4b1712._0x288f27,_0x4b1712._0x482400)]),_0x3bd15b=convertEol(_0x5ca979,_0x3d6a1d),_0x21d0d4=Buffer[_0x3c46d8(_0x4b1712._0x3f7dae,0x367,0x30c,0x350)](_0x3bd15b,'utf8'),_0x3fe160=sha256(_0x1cb92a),_0x353514=sha256(_0x21d0d4),_0x5e7857=_0x3fe160===_0x353514,_0x13934a=_0x5d81b8[_0x3c46d8(0x43d,0x34e,_0x4b1712._0x1a00fe,0x2dc)]??![];function _0x3c46d8(_0x2773ae,_0x37dad0,_0x39562c,_0x3ceee7){return _0x509133(_0x2773ae-_0x4eb981._0x105a9e,_0x2773ae- -_0x4eb981._0x5659b5,_0x39562c-_0x4eb981._0xb2e96,_0x39562c);}return!_0x13934a&&!_0x5e7857&&await atomicWrite(_0x4f096b,_0x21d0d4),yield createToolOutput(_0x5e7857?_0x3c46d8(_0x4b1712._0x32d8f3,_0x4b1712._0x47423c,_0x4b1712._0xd65cc,0x4cf):_0x13934a?'Validated\x20(dry\x20run:\x20no\x20write).':_0x237a36(0x35b,_0x4b1712._0x401d61,_0x4b1712._0x3f2aae,_0x4b1712._0x4f3dc6),{'filePath':_0x5d81b8[_0x3c46d8(_0x4b1712._0x5d85b8,0x5f2,0x3d4,_0x4b1712._0x15a5c0)],'resolvedPath':_0x4f096b,'created':_0x115a07[_0x237a36(_0x4b1712._0x33f5fb,0x5b2,0x749,0x5c8)][_0x3c46d8(0x518,0x37e,0x4e1,_0x4b1712._0x36acae)](),'modified':_0x115a07[_0x3c46d8(_0x4b1712._0x4c8311,_0x4b1712._0x39c414,_0x4b1712._0x4ed61a,0x47d)][_0x3c46d8(_0x4b1712._0x290518,0x474,0x61a,_0x4b1712._0x2ab4ef)](),'size':_0x115a07[_0x237a36(_0x4b1712._0x3866f4,_0x4b1712._0x5be5d7,_0x4b1712._0x326b81,_0x4b1712._0x2bb005)],'eol':_0x3d6a1d,'oldTextLength':_0x40a9d5[_0x237a36(0x404,0x4fd,0x54d,0x4f7)],'newTextLength':_0x33ba15[_0x237a36(0x415,0x4fd,_0x4b1712._0x248ff9,_0x4b1712._0x12ab0e)],'bytesWritten':_0x5e7857||_0x13934a?0x0:_0x21d0d4[_0x3c46d8(_0x4b1712._0x7d88d2,_0x4b1712._0x48c088,_0x4b1712._0x1f0e8e,0x448)],'beforeSha':_0x3fe160,'afterSha':_0x353514,'dryRun':_0x13934a,'noChange':_0x5e7857,'lineNumbers':calculateLineNumbers(_0x54e6a6,_0x40a9d5,_0x33ba15,_0x22b47c)}),void 0x0;}});}import{mkdir as _0x2f4a60,rename as _0x4d23f6,stat as _0x3534f1,writeFile as _0x4cc2ff}from'fs/promises';import*as _0x39dd42 from'path';async function atomicWrite2(_0x5dc44d,_0x4fa238){const _0x5a5436={_0x349d43:0x4d4,_0x5d33f8:0x23f,_0x3eb51a:0x3a3,_0x3208aa:0x2f3,_0x4cd5c4:0x5db,_0x5d1478:0x8f5,_0x37776d:0x682,_0x2fbd6a:0x4ee,_0x4739f8:0x4d4,_0x3ee205:0x383,_0x4e4ab4:0x3d2,_0x38fc96:0x5fb,_0x15c59b:0x71c,_0x443c14:0x753,_0x71a2e5:0x7d0,_0x1b6d75:0x6e3},_0x5eccd4={_0x35afb5:0x1af,_0xb5ce57:0xf3},_0x4c9570={_0x2201b8:0x12b,_0x372530:0x17c};function _0x53e845(_0x4378e4,_0x2e26c1,_0x2b70a1,_0x22985e){return _0x520b4c(_0x4378e4-_0x4c9570._0x2201b8,_0x2e26c1-0x12d,_0x22985e,_0x2b70a1- -_0x4c9570._0x372530);}const _0x54f7f5=_0x39dd42[_0x53e845(_0x5a5436._0x349d43,_0x5a5436._0x5d33f8,_0x5a5436._0x3eb51a,_0x5a5436._0x3208aa)](_0x5dc44d);await _0x2f4a60(_0x54f7f5,{'recursive':!![]});function _0x390272(_0x85187c,_0x41c2ca,_0x1f8464,_0x5e30d9){return _0x2edd77(_0x1f8464-_0x5eccd4._0x35afb5,_0x41c2ca-_0x5eccd4._0xb5ce57,_0x1f8464-0x12f,_0x85187c);}const _0x56ab0e=_0x39dd42[_0x390272(_0x5a5436._0x4cd5c4,_0x5a5436._0x5d1478,0x768,_0x5a5436._0x37776d)](_0x54f7f5,'.tmp.'+_0x39dd42[_0x390272(0x383,_0x5a5436._0x2fbd6a,_0x5a5436._0x4739f8,_0x5a5436._0x3ee205)](_0x5dc44d)+'.'+Date[_0x53e845(0x222,_0x5a5436._0x4e4ab4,0x3b2,0x2d7)]()+'.'+Math[_0x390272(_0x5a5436._0x38fc96,_0x5a5436._0x15c59b,0x583,0x476)]()[_0x390272(0x720,0x739,_0x5a5436._0x443c14,_0x5a5436._0x71a2e5)](0x24)[_0x390272(0x6f5,0x7ee,_0x5a5436._0x1b6d75,0x570)](0x2));await _0x4cc2ff(_0x56ab0e,_0x4fa238),await _0x4d23f6(_0x56ab0e,_0x5dc44d);}function createFileNewTool(_0x3e3c6b={}){const _0x470233={_0x31f1c2:0x2db,_0x48db35:0x1e,_0x57b7a0:0x314,_0xb546f7:0x145,_0x2d1c26:0x347,_0x4cb990:0xbd,_0x55891d:0x93,_0x33bda9:0x16,_0x37cd83:0x22c,_0x2f2f96:0x221,_0x119e36:0x90,_0x5ecd24:0x178,_0xfe5ec0:0x156,_0x30b601:0xf,_0x2c6e61:0x26d,_0x5ed725:0x111},_0x16188d={_0x1b688a:0x232,_0x3f2421:0x1b7,_0x79b421:0x2ac,_0x297ec4:0x41a,_0xcb57d5:0x22f,_0x5b1962:0x1f2,_0x56d76a:0x1ac,_0x549625:0x368,_0x367aef:0x301,_0x4a0f6c:0x3fc,_0xaa8d92:0x3cb,_0x437734:0x435,_0x1e400:0x380,_0xf49ee1:0x526,_0x193442:0x59d,_0x23dfed:0x3c1,_0x5b0e71:0x3c9,_0x2c81c4:0x315,_0x340a7f:0x46c,_0x2e076b:0x460,_0xab29c7:0x479,_0x574de2:0x5c4,_0x30912f:0x398},_0x2a8618={_0x142c7e:0x10d},_0x6a9729={_0x35958a:0x125},_0x33d8cf={_0x3366ee:0x3d0,_0x39dd37:0x7f},_0x114208={_0x5def9d:0x155};function _0x592e23(_0x2d886b,_0x5ae70c,_0x1814df,_0x220032){return _0x520b4c(_0x2d886b-0x9d,_0x5ae70c-_0x114208._0x5def9d,_0x220032,_0x2d886b- -0x6fb);}const _0x581677=_0x39dd42[_0x592e23(-0x16d,-_0x470233._0x31f1c2,_0x470233._0x48db35,-0x136)](_0x3e3c6b['defaultCwd']??process[_0xaa4bfa(0x267,0x1de,_0x470233._0x57b7a0,0x294)]());function _0xaa4bfa(_0x1f2e15,_0x5d890e,_0x106b94,_0x4a4f10){return _0x2edd77(_0x1f2e15- -_0x33d8cf._0x3366ee,_0x5d890e-_0x33d8cf._0x39dd37,_0x106b94-0x16c,_0x4a4f10);}const _0x5b45a6=_0x3e3c6b[_0x592e23(-0x201,-0x280,-_0x470233._0xb546f7,-0x24b)]??[],_0x4e0021=_0x3e3c6b['name']??'FileNew';return defineTool({'name':_0x4e0021,'permissionClass':_0x592e23(-0x230,-0x240,-_0x470233._0x2d1c26,-0x14a),'description':_0x592e23(-_0x470233._0x4cb990,-_0x470233._0x55891d,-0xd6,-_0x470233._0x33bda9),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x592e23(0xd4,_0x470233._0x37cd83,_0x470233._0x2f2f96,-0x55)},'content':{'type':_0x592e23(0xd4,-_0x470233._0x119e36,0x155,_0x470233._0x5ecd24)}},'required':['filePath',_0x592e23(-_0x470233._0xfe5ec0,_0x470233._0x30b601,-_0x470233._0x2c6e61,-_0x470233._0x5ed725)]},async *'execute'(_0x30ae28){const _0x5d7639=resolveAllowedPath(_0x581677,_0x5b45a6,_0x30ae28[_0x5b8c9c(0x451,0x39b,0x321,0x5bd)]),_0x5622c3=await _0x3534f1(_0x5d7639)[_0x5b8c9c(_0x16188d._0x1b688a,0x253,0x145,_0x16188d._0x3f2421)](()=>!![])[_0x95e40(0x13b,_0x16188d._0x79b421,0x391,_0x16188d._0x297ec4)](()=>![]);function _0x5b8c9c(_0x16f41d,_0x43a103,_0x344219,_0x28ccc2){return _0xaa4bfa(_0x16f41d-0x2d3,_0x43a103-0x93,_0x344219-_0x6a9729._0x35958a,_0x344219);}function _0x95e40(_0x10d772,_0x15fe59,_0x380dd8,_0x40bf34){return _0xaa4bfa(_0x15fe59-0x2b2,_0x15fe59-_0x2a8618._0x142c7e,_0x380dd8-0x1d6,_0x10d772);}const _0x1103bd=Buffer[_0x5b8c9c(_0x16188d._0xcb57d5,_0x16188d._0x5b1962,_0x16188d._0x56d76a,0xa2)](_0x30ae28[_0x95e40(_0x16188d._0x549625,_0x16188d._0x367aef,_0x16188d._0x4a0f6c,0x448)],_0x5b8c9c(0x304,_0x16188d._0xaa8d92,_0x16188d._0x437734,_0x16188d._0x1e400));return await atomicWrite2(_0x5d7639,_0x1103bd),yield createToolOutput(_0x5b8c9c(_0x16188d._0xf49ee1,_0x16188d._0x193442,0x54b,_0x16188d._0x23dfed)+_0x30ae28['filePath']+'.',{'filePath':_0x30ae28[_0x95e40(_0x16188d._0x5b0e71,0x430,0x472,_0x16188d._0x2c81c4)],'resolvedPath':_0x5d7639,'bytes':_0x1103bd['length'],'lines':_0x30ae28[_0x95e40(0x432,0x301,_0x16188d._0x340a7f,_0x16188d._0x2e076b)]['split'](/\r?\n/)['length'],'created':new Date()[_0x5b8c9c(_0x16188d._0xab29c7,_0x16188d._0x574de2,0x4d3,_0x16188d._0x30912f)](),'overwritten':_0x5622c3}),void 0x0;}});}import{readFile as _0x1010ff,stat as _0x244d08}from'fs/promises';import*as _0x16708a from'path';function stripUtfBom(_0x382bd8){const _0x3f75bd={_0x29b2ff:0xaf,_0x4a56e6:0x10e,_0x4044eb:0x24a,_0x5812f1:0x187,_0x2309be:0x20e,_0x5b61d2:0x13a},_0x57544c={_0x4a6768:0x192,_0x3a98fd:0x30};function _0xa3d9c(_0x20140c,_0x117563,_0x442a3d,_0x36320d){return _0x2edd77(_0x442a3d- -_0x57544c._0x4a6768,_0x117563-_0x57544c._0x3a98fd,_0x442a3d-0xb9,_0x36320d);}function _0x227bff(_0x5767ea,_0x2a3dde,_0x20438d,_0x4e1397){return _0x2edd77(_0x20438d- -0x326,_0x2a3dde-0x194,_0x20438d-0x188,_0x2a3dde);}return _0x382bd8[_0x227bff(_0x3f75bd._0x29b2ff,_0x3f75bd._0x4a56e6,_0x3f75bd._0x4044eb,0x3c9)](0x0)===0xfeff?_0x382bd8[_0x227bff(0x377,_0x3f75bd._0x5812f1,_0x3f75bd._0x2309be,_0x3f75bd._0x5b61d2)](0x1):_0x382bd8;}function clampLine(_0x19f929,_0x11536e){const _0x3e64dc={_0x42eb47:0x24},_0x3eb7f9={_0xf30a30:0x5a,_0x216f37:0x35};if(!Number['isFinite'](_0x19f929))return 0x1;function _0xf0f245(_0x2328e1,_0x1f24d6,_0x587f99,_0x3680be){return _0x2edd77(_0x587f99- -0x50f,_0x1f24d6-_0x3eb7f9._0xf30a30,_0x587f99-_0x3eb7f9._0x216f37,_0x2328e1);}return Math['max'](0x1,Math['min'](Math[_0xf0f245(-0x73,_0x3e64dc._0x42eb47,-0x39,-0x2a)](_0x19f929),_0x11536e));}function createFileReadTool(_0x5bcfe1={}){const _0x3c5160={_0x2ba5d2:0xe3,_0xe08d8f:0x102,_0x113422:0x241,_0xcde61d:0x286,_0x344111:0x1ef,_0x4f4766:0x7a9,_0x4a0bfe:0x458,_0x4a48a7:0x3cb,_0x31268f:0x325,_0x7f4f9c:0x300,_0x30d9db:0x394,_0x27887b:0x320,_0x246ae5:0x3aa,_0x47ad8a:0x7f8,_0x66bd5:0x949,_0x4def19:0x6da,_0x3ca211:0x7f7,_0x3e5a2f:0x669,_0x410360:0x815,_0xd26c2f:0x7e8,_0x1c49a2:0x74d,_0x24c52f:0x909,_0x14180f:0x307,_0x5d507c:0x4ec,_0x1bae87:0x41b,_0x18b06c:0x2c4,_0x437dbd:0x36a},_0x9fad07={_0xe2831f:0x892,_0x11b4b4:0x7dc,_0x5aeeab:0x476,_0x3e106f:0x4d1,_0x36cdbf:0x4e3,_0x132451:0x472,_0x447c1f:0x744,_0x354331:0x707,_0x5ae457:0x682,_0x3f2a1e:0x5fc,_0x33fccf:0x6a6,_0x4e6964:0x38b,_0x1e39c7:0x507,_0x35c98b:0x2b1,_0x417d8e:0x143,_0x1a529e:0x364,_0x587177:0x2d4,_0xd12666:0x71f,_0x336447:0x61b,_0x3e75b4:0x859,_0xbcfd2b:0x6f8,_0x4e64cd:0x6c0,_0x506d54:0x695,_0x1af4be:0x527,_0x3582fc:0x28a,_0x9961ec:0x3a3,_0x17ff67:0x2cf,_0x2d0468:0x2a1,_0x1b9b68:0x14f,_0x335a08:0x3e4,_0x302fa0:0x647,_0x2f774e:0x53b,_0x1c40ad:0x589,_0x3e794c:0x54e,_0x184382:0x34c,_0xb19bdf:0x396,_0x253416:0x406,_0x57a054:0x24f,_0xb75498:0x904,_0x4bdc8d:0x33f},_0x216e5f={_0x3d218d:0xfe,_0x1412fd:0x113,_0x141647:0x3eb},_0x3ce7bf={_0x395430:0x42,_0x5ac709:0xb},_0x11cf73={_0x413648:0x376},_0x26e33a={_0x28cec6:0x92},_0x32d73c=_0x16708a[_0x509011(_0x3c5160._0x2ba5d2,_0x3c5160._0xe08d8f,_0x3c5160._0x113422,0x218)](_0x5bcfe1[_0x509011(_0x3c5160._0xcde61d,0x203,0x156,_0x3c5160._0x344111)]??process[_0x54c01a(_0x3c5160._0x4f4766,0x7e5,0x6fc,0x967)]());function _0x54c01a(_0x7e9b01,_0x400121,_0x3faf69,_0x25fe23){return _0x2edd77(_0x400121-0x1ae,_0x400121-_0x26e33a._0x28cec6,_0x3faf69-0x194,_0x3faf69);}function _0x509011(_0x2fbc4d,_0x41aa49,_0x400dae,_0x45f093){return _0x520b4c(_0x2fbc4d-0x1ad,_0x41aa49-0x1d5,_0x2fbc4d,_0x45f093- -_0x11cf73._0x413648);}const _0x18d7b4=_0x5bcfe1[_0x54c01a(0x46b,0x522,_0x3c5160._0x4a0bfe,0x3c4)]??[],_0x32f0a0=_0x5bcfe1[_0x509011(_0x3c5160._0x4a48a7,0x3b8,_0x3c5160._0x31268f,_0x3c5160._0x7f4f9c)]??_0x509011(_0x3c5160._0x30d9db,_0x3c5160._0x27887b,0x27b,_0x3c5160._0x246ae5);return defineTool({'name':_0x32f0a0,'permissionClass':'read','description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x54c01a(0x797,0x7a6,_0x3c5160._0x47ad8a,_0x3c5160._0x66bd5),'properties':{'path':{'type':_0x54c01a(_0x3c5160._0x4def19,_0x3c5160._0x3ca211,_0x3c5160._0x3e5a2f,_0x3c5160._0x410360)},'lineStart':{'type':_0x54c01a(0x8d1,_0x3c5160._0xd26c2f,_0x3c5160._0x1c49a2,_0x3c5160._0x24c52f),'description':_0x509011(0x2d9,0x255,0x1a2,_0x3c5160._0x14180f)},'lineEnd':{'type':'number','description':_0x54c01a(0x474,_0x3c5160._0x5d507c,_0x3c5160._0x1bae87,0x496)}},'required':[_0x509011(0x2b4,_0x3c5160._0x18b06c,_0x3c5160._0x437dbd,0x359)]},async *'execute'(_0x55a13f){const _0xe5c41f=resolveAllowedPath(_0x32d73c,_0x18d7b4,_0x55a13f[_0x4187c9(0x744,_0x9fad07._0xe2831f,_0x9fad07._0x11b4b4,0x838)]);await assertWorkspaceFile(_0xe5c41f);const _0x2dc64e=await _0x244d08(_0xe5c41f);function _0x354419(_0x3b8fde,_0x429caa,_0x3a3f51,_0x86e67b){return _0x509011(_0x86e67b,_0x429caa-0x61,_0x3a3f51-_0x3ce7bf._0x395430,_0x3b8fde-_0x3ce7bf._0x5ac709);}const _0x492d74=await _0x1010ff(_0xe5c41f);if(isProbablyBinary(_0x492d74))throw new ToolExecutionError(_0x354419(_0x9fad07._0x5aeeab,0x419,_0x9fad07._0x3e106f,0x5d8)+_0x55a13f[_0x354419(0x364,_0x9fad07._0x36cdbf,_0x9fad07._0x132451,0x205)],{'path':_0x55a13f[_0x4187c9(_0x9fad07._0x447c1f,0x813,0x5a0,0x612)]});let _0x54f56f=_0x492d74[_0x4187c9(0x79f,_0x9fad07._0x354331,_0x9fad07._0x5ae457,0x84c)](_0x4187c9(_0x9fad07._0x3f2a1e,0x686,_0x9fad07._0x33fccf,0x6e4));const _0x536dc4=_0x54f56f[_0x354419(_0x9fad07._0x4e6964,_0x9fad07._0x1e39c7,_0x9fad07._0x35c98b,0x4a1)](0x0)===0xfeff;_0x54f56f=stripUtfBom(_0x54f56f);function _0x4187c9(_0x10c9bf,_0x1cafd6,_0x210b39,_0x521d6d){return _0x509011(_0x521d6d,_0x1cafd6-_0x216e5f._0x3d218d,_0x210b39-_0x216e5f._0x1412fd,_0x10c9bf-_0x216e5f._0x141647);}const _0x478bff=_0x54f56f[_0x354419(_0x9fad07._0x417d8e,0x189,0x20a,0x135)](/\r?\n/),_0x3e07a3={'path':_0x55a13f[_0x354419(_0x9fad07._0x1a529e,0x344,_0x9fad07._0x587177,0x3ae)],'resolvedPath':_0xe5c41f,'created':_0x2dc64e[_0x4187c9(_0x9fad07._0xd12666,0x7ea,_0x9fad07._0x336447,_0x9fad07._0x3e75b4)][_0x4187c9(0x771,_0x9fad07._0xbcfd2b,_0x9fad07._0x4e64cd,_0x9fad07._0x506d54)](),'modified':_0x2dc64e['mtime']['toISOString'](),'size':_0x2dc64e[_0x4187c9(0x59d,0x48b,0x560,_0x9fad07._0x1af4be)],'encoding':'utf8','bomStripped':_0x536dc4,'truncated':![],'totalLines':_0x478bff[_0x354419(_0x9fad07._0x3582fc,0x15f,0x17e,_0x9fad07._0x9961ec)]};if(_0x55a13f['lineStart']!==void 0x0||_0x55a13f['lineEnd']!==void 0x0){const _0x2748ba=clampLine(_0x55a13f['lineStart']??0x1,_0x478bff['length']),_0x4206cd=clampLine(_0x55a13f[_0x354419(_0x9fad07._0x17ff67,_0x9fad07._0x2d0468,0x24b,_0x9fad07._0x1b9b68)]??_0x478bff[_0x354419(0x28a,0x22a,0x235,_0x9fad07._0x335a08)],_0x478bff[_0x4187c9(0x66a,0x54f,0x604,_0x9fad07._0x302fa0)]),_0x505445=Math[_0x4187c9(_0x9fad07._0x2f774e,0x529,_0x9fad07._0x1c40ad,_0x9fad07._0x3e794c)](_0x2748ba,_0x4206cd),_0x4b75cf=Math[_0x354419(_0x9fad07._0x184382,_0x9fad07._0xb19bdf,_0x9fad07._0x253416,_0x9fad07._0x57a054)](_0x2748ba,_0x4206cd),_0x8e7c78=_0x478bff['slice'](_0x505445-0x1,_0x4b75cf)['map']((_0x394e6e,_0x2a0d60)=>_0x505445+_0x2a0d60+'|'+_0x394e6e)[_0x4187c9(0x7b4,_0x9fad07._0xb75498,0x83c,0x61b)]('\x0a');return yield createToolOutput(_0x8e7c78,{..._0x3e07a3,'lineRange':{'lineStart':_0x505445,'lineEnd':_0x4b75cf,'linesTotal':_0x478bff[_0x354419(_0x9fad07._0x3582fc,0x1f9,0x129,_0x9fad07._0x4bdc8d)]}}),void 0x0;}return yield createToolOutput(_0x54f56f,_0x3e07a3),void 0x0;}});}import{stat as _0x539ac5}from'fs/promises';import*as _0x114d85 from'path';import{execSync,spawn as _0x20e752}from'child_process';import{existsSync}from'fs';import{stat as _0x545df1}from'fs/promises';import*as _0x5d1f9d from'os';import*as _0x15e301 from'path';import{rgPath as _0x5a079b}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x158a57={_0x21e5c8:0x519,_0x446819:0x3fc,_0xb8c5a9:0x370,_0x4c8256:0x364,_0x2bc34c:0x4a2,_0x24defe:0x36c,_0x31a6f6:0x739,_0x533efb:0x13f,_0x26cffd:0x2d6,_0x2f4640:0x3f0,_0x593e8c:0x3ff,_0x4f0216:0x45b,_0x55a6ed:0x5f4,_0x7c3611:0x3e8,_0x76f975:0x33b,_0x4fbeac:0x63f,_0x46aef1:0x7ab,_0x3ed5d7:0x6ba,_0x156d00:0x2a2,_0x22d8ef:0x113,_0x597ec7:0x4e4,_0x45db17:0x61f,_0x3738cd:0x671,_0x20aee1:0x865,_0x243ed2:0x79b,_0x56d901:0x550,_0x117ecf:0x395,_0x5249e0:0x3b6,_0x2539a6:0x452,_0x129dff:0x3f3,_0xa978b4:0x546,_0x56b2b3:0x20e,_0x3d739d:0x3aa,_0x57c2f8:0x2e5,_0x1acd00:0x34c,_0x1cf403:0x661,_0x27f82b:0x4fe,_0x2bac04:0x628,_0x9512b2:0x4f8,_0x7a7bfe:0x1ae,_0x814e39:0x501,_0x5eebd3:0x644,_0x1d1ac5:0x1db,_0x4e39e6:0x1fe,_0x223533:0x2b2,_0x3d0113:0x193,_0x4f2450:0x300,_0xbeee68:0x3ab,_0x2cf158:0x1f0,_0x59d6d8:0x504,_0x19e5af:0x73d,_0x4bdb04:0x666,_0x29ed7d:0x3d7},_0x21f200={_0x5d931a:0x138},_0x5dd6ed={_0x28f00d:0x203};function _0x4decfe(_0x139665,_0x51c149,_0xb40278,_0x27b00b){return _0x2edd77(_0x51c149- -_0x5dd6ed._0x28f00d,_0x51c149-0x50,_0xb40278-0x64,_0x139665);}const _0x54f585=_0x5d1f9d[_0x24ce61(_0x158a57._0x21e5c8,_0x158a57._0x446819,0x469,0x3a2)]()===_0x4decfe(_0x158a57._0xb8c5a9,_0x158a57._0x4c8256,_0x158a57._0x2bc34c,_0x158a57._0x24defe),_0x2e2556=_0x54f585?[_0x15e301[_0x24ce61(0x5c2,_0x158a57._0x31a6f6,0x6ba,0x756)](process[_0x4decfe(0x9b,_0x158a57._0x533efb,_0x158a57._0x26cffd,0x129)][_0x24ce61(_0x158a57._0x2f4640,_0x158a57._0x593e8c,_0x158a57._0x4f0216,_0x158a57._0x55a6ed)]||'',_0x4decfe(0x485,_0x158a57._0x7c3611,0x362,_0x158a57._0x76f975),_0x24ce61(_0x158a57._0x4fbeac,0x5da,0x5ff,0x6d5),'Packages'),_0x15e301[_0x24ce61(_0x158a57._0x46aef1,0x7ec,_0x158a57._0x3ed5d7,0x567)](process[_0x4decfe(0x31,_0x158a57._0x533efb,_0x158a57._0x156d00,_0x158a57._0x22d8ef)][_0x24ce61(_0x158a57._0x597ec7,0x4e8,_0x158a57._0x45db17,_0x158a57._0x3738cd)]||'',_0x24ce61(_0x158a57._0x20aee1,_0x158a57._0x243ed2,0x74e,0x5ab),_0x4decfe(0x3cb,0x3aa,0x482,_0x158a57._0x56d901)),_0x15e301[_0x4decfe(_0x158a57._0x117ecf,_0x158a57._0x5249e0,_0x158a57._0x2539a6,_0x158a57._0x129dff)](process[_0x4decfe(0x1c9,_0x158a57._0x533efb,0x3f,0x13e)][_0x24ce61(0x4fa,_0x158a57._0xa978b4,0x4f3,0x426)]||'','ripgrep',_0x4decfe(_0x158a57._0x56b2b3,_0x158a57._0x3d739d,_0x158a57._0x57c2f8,_0x158a57._0x1acd00))]:[_0x24ce61(0x60f,0x457,0x5d2,_0x158a57._0x1cf403),'/usr/local/bin/rg',_0x24ce61(0x511,_0x158a57._0x27f82b,_0x158a57._0x2bac04,_0x158a57._0x9512b2),_0x4decfe(0x23a,_0x158a57._0x7a7bfe,0x16b,0x1b7)];for(const _0x3c6a84 of _0x2e2556){if(existsSync(_0x3c6a84))return _0x3c6a84;}try{const _0x272528=_0x54f585?_0x24ce61(0x433,0x516,_0x158a57._0x814e39,_0x158a57._0x5eebd3):_0x4decfe(0x3c7,0x357,0x4c9,0x3ab),_0x3cdafc=execSync(_0x272528,{'encoding':_0x4decfe(_0x158a57._0x1d1ac5,_0x158a57._0x4e39e6,_0x158a57._0x223533,0x119),'stdio':[_0x4decfe(_0x158a57._0x3d0113,_0x158a57._0x4f2450,_0x158a57._0xbeee68,_0x158a57._0x2cf158),_0x24ce61(_0x158a57._0x59d6d8,_0x158a57._0x19e5af,0x604,0x680),_0x24ce61(0x544,0x7cc,_0x158a57._0x4bdb04,0x722)]})['trim']()[_0x24ce61(0x304,0x2ff,0x429,_0x158a57._0x29ed7d)](/\r?\n/)[0x0];if(_0x3cdafc&&existsSync(_0x3cdafc))return _0x3cdafc;}catch{return null;}function _0x24ce61(_0x594646,_0x3894f6,_0x27fc43,_0x3440df){return _0x520b4c(_0x594646-_0x21f200._0x5d931a,_0x3894f6-0x37,_0x594646,_0x27fc43- -0x85);}return null;}async function filepath(){const _0x3d6a30={_0x397e61:0x30d},_0x247daa={_0x50e1ca:0x1e7,_0x15118a:0x5ab};if(cachedRgPath)return cachedRgPath;if(_0x5a079b&&existsSync(_0x5a079b))return cachedRgPath=_0x5a079b,_0x5a079b;const _0x20a8d0=findSystemRipgrep();function _0x20eea9(_0x33db3d,_0x330c97,_0x5e6b0a,_0x1be5de){return _0x520b4c(_0x33db3d-_0x247daa._0x50e1ca,_0x330c97-0x49,_0x330c97,_0x33db3d- -_0x247daa._0x15118a);}if(!_0x20a8d0)throw new Error(_0x20eea9(0x244,0x329,_0x3d6a30._0x397e61,0x126));return cachedRgPath=_0x20a8d0,_0x20a8d0;}async function*files(_0x3b4da9){const _0x137de2={_0x4c3ded:0x3c2,_0x448f27:0x37f,_0x122f86:0x1f2,_0x555e5b:0x67c,_0x419515:0xf1,_0x1e3eff:0x36,_0x55438e:0x64e,_0x6bf9ca:0x580,_0x309b0c:0x50a,_0x15b74d:0xad,_0x2a3dc7:0x4c,_0x5e1c1e:0x184,_0x46b0d1:0x48,_0x17df1c:0x1a4,_0x585da7:0x193,_0x299af5:0x58f,_0x46258b:0x5b7,_0x23b734:0xd9,_0x21d5d8:0xa6,_0x54c368:0x4b,_0x52afdc:0x125,_0x355c7d:0x4e,_0x3c233a:0x6,_0x5a78f8:0x30,_0x2bb8ba:0x62f,_0x40a38d:0x465,_0x17f29d:0x55d,_0x4c227d:0x528,_0x40c10f:0x54c,_0x399728:0x4fb,_0x3d5933:0x29,_0x392745:0x8a,_0x2016e0:0x378,_0x14ad6e:0x320,_0x138de8:0x279,_0x11b507:0xd5,_0x1dc733:0x11,_0x590908:0x44,_0x28feb4:0x6f,_0xfaa27e:0x26e,_0xa99fdc:0x1c,_0xe5e86e:0x11e,_0x34f4a1:0x57d,_0x3be85e:0x467},_0x537bc4={_0x5db54e:0x2e},_0x2d452b={_0x4c281c:0x58d,_0x2763f6:0x192},_0x4c8161=await filepath(),_0x4069ef=await _0x545df1(_0x3b4da9['cwd'])[_0x5b6cde(0x4cb,_0x137de2._0x4c3ded,_0x137de2._0x448f27,0x2d8)](()=>null);if(!_0x4069ef?.['isDirectory']())throw Object['assign'](new Error(_0x42929d(-_0x137de2._0x122f86,-0x381,-0x2fa,-0x1fd)+_0x3b4da9[_0x5b6cde(0x5ab,0x62f,0x759,_0x137de2._0x555e5b)]+'\x27'),{'code':_0x42929d(-0xdc,-0xa6,-_0x137de2._0x419515,-0x198)});const _0x28ec2e=[_0x42929d(0x88,-0xc1,-_0x137de2._0x1e3eff,-0x115),_0x5b6cde(_0x137de2._0x55438e,_0x137de2._0x6bf9ca,0x530,_0x137de2._0x309b0c),_0x42929d(-_0x137de2._0x15b74d,-_0x137de2._0x2a3dc7,-0x17a,-_0x137de2._0x5e1c1e),_0x42929d(-0x16e,-_0x137de2._0x46b0d1,-_0x137de2._0x17df1c,-_0x137de2._0x585da7)];function _0x42929d(_0x41d3c7,_0x730a13,_0xadf26b,_0x213a88){return _0x2edd77(_0x213a88- -_0x2d452b._0x4c281c,_0x730a13-_0x2d452b._0x2763f6,_0xadf26b-0x1d2,_0xadf26b);}for(const _0x4ec698 of _0x3b4da9[_0x5b6cde(_0x137de2._0x299af5,_0x137de2._0x46258b,0x4c6,0x4e9)]??[]){_0x28ec2e[_0x42929d(0x83,-_0x137de2._0x23b734,_0x137de2._0x21d5d8,-_0x137de2._0x54c368)](_0x42929d(-_0x137de2._0x52afdc,-_0x137de2._0x355c7d,_0x137de2._0x3c233a,-_0x137de2._0x5a78f8)+_0x4ec698);}const _0x21835b=_0x20e752(_0x4c8161,_0x28ec2e,{'cwd':_0x3b4da9[_0x5b6cde(0x5cd,_0x137de2._0x2bb8ba,0x676,0x5c5)],'stdio':[_0x5b6cde(_0x137de2._0x40a38d,_0x137de2._0x17f29d,_0x137de2._0x4c227d,0x576),_0x5b6cde(_0x137de2._0x40c10f,_0x137de2._0x399728,0x5a4,0x47a),_0x42929d(-0x11d,-0xc8,_0x137de2._0x3d5933,-_0x137de2._0x392745)]});let _0x21a7ad='';function _0x5b6cde(_0x274f39,_0x5a4bfe,_0x207657,_0x1a73c4){return _0x2edd77(_0x5a4bfe- -0x8,_0x5a4bfe-_0x537bc4._0x5db54e,_0x207657-0x4,_0x207657);}for await(const _0x58c4b3 of _0x21835b['stdout']??[]){_0x21a7ad+=_0x58c4b3['toString']();const _0x52585e=_0x21a7ad[_0x5b6cde(_0x137de2._0x2016e0,_0x137de2._0x14ad6e,_0x137de2._0x138de8,0x1b0)](/\r?\n/);_0x21a7ad=_0x52585e[_0x42929d(-_0x137de2._0x11b507,_0x137de2._0x1dc733,-_0x137de2._0x590908,-0x17b)]()??'';for(const _0x504d16 of _0x52585e){if(_0x504d16[_0x42929d(_0x137de2._0x28feb4,-_0x137de2._0xfaa27e,_0x137de2._0xa99fdc,-_0x137de2._0xe5e86e)]>0x0)yield _0x504d16;}}_0x21a7ad['trim']()[_0x5b6cde(_0x137de2._0x34f4a1,_0x137de2._0x3be85e,0x2e6,0x391)]>0x0&&(yield _0x21a7ad['trim']());}function parseMatchLine(_0x1fdf1d,_0x3704e3){const _0x411ea5={_0x555108:0xee,_0x32ee3b:0x13d,_0x5a8c80:0x38,_0x4acb2b:0x2cb,_0x2f909d:0xa9,_0x55a4ce:0x30c,_0x10bce2:0x3eb,_0x53e0f6:0x179,_0x29490e:0x12,_0x1a3922:0x42,_0x4121dc:0x2a7,_0x50ad11:0xab,_0x3def19:0x47,_0x876e81:0x7a,_0x1dabb3:0x42f,_0x17f3ad:0x398,_0x502a30:0x182,_0x267fe5:0xba},_0x1e616e={_0x2fba58:0x1},_0x116a34={_0x18ad6d:0xd1,_0x1a06fd:0x29};if(!_0x1fdf1d||_0x1fdf1d==='--')return null;const _0x3cefef=_0x1fdf1d['split']('|');if(_0x3704e3&&_0x3cefef[_0x5143a3(-_0x411ea5._0x555108,-_0x411ea5._0x32ee3b,_0x411ea5._0x5a8c80,-0x15b)]>=0x4&&Number[_0x5143a3(_0x411ea5._0x4acb2b,_0x411ea5._0x2f909d,0x171,0x173)](Number[_0x5143a3(0x0,-0x137,-0x5a,0x113)](_0x3cefef[0x2]??'',0xa))){const _0x557409=Number[_0x1641c8(0x43f,_0x411ea5._0x55a4ce,_0x411ea5._0x10bce2,0x472)](_0x3cefef[0x1]??'',0xa);if(!Number[_0x5143a3(0x243,_0x411ea5._0x53e0f6,0x171,_0x411ea5._0x29490e)](_0x557409)||!_0x3cefef[0x0])return null;return{'filePath':_0x3cefef[0x0],'lineNum':_0x557409,'lineText':_0x3cefef[_0x5143a3(_0x411ea5._0x1a3922,0x7f,0xfd,0x287)](0x3)[_0x5143a3(0x2ed,_0x411ea5._0x4121dc,0x182,_0x411ea5._0x50ad11)]('|')};}function _0x1641c8(_0x404f84,_0x2c3a7e,_0x51f8d9,_0x5ea8e5){return _0x2edd77(_0x2c3a7e- -_0x116a34._0x18ad6d,_0x2c3a7e-0x14e,_0x51f8d9-_0x116a34._0x1a06fd,_0x404f84);}function _0x5143a3(_0x11a9fb,_0x511ea8,_0x18cee6,_0x5e6064){return _0x520b4c(_0x11a9fb-_0x1e616e._0x2fba58,_0x511ea8-0x161,_0x5e6064,_0x18cee6- -0x5bd);}if(_0x3cefef[_0x5143a3(_0x411ea5._0x3def19,0x174,_0x411ea5._0x5a8c80,_0x411ea5._0x876e81)]>=0x3){const _0x238795=Number[_0x1641c8(_0x411ea5._0x1dabb3,_0x411ea5._0x55a4ce,_0x411ea5._0x17f3ad,0x3ab)](_0x3cefef[0x1]??'',0xa);if(!Number['isFinite'](_0x238795)||!_0x3cefef[0x0])return null;return{'filePath':_0x3cefef[0x0],'lineNum':_0x238795,'lineText':_0x3cefef['slice'](0x2)[_0x5143a3(0x8,-0x1c,_0x411ea5._0x502a30,_0x411ea5._0x267fe5)]('|'),..._0x3704e3?{'isContext':!![]}:{}};}return null;}async function search(_0x1a0e4e){const _0x52e9a1={_0x1e484e:0x52,_0x4abfbe:0x23d,_0x369cf9:0x129,_0x283d46:0x12e,_0x4216b9:0xf2,_0x5f57f0:0x46,_0x34b122:0xee,_0x40ed3f:0x2f2,_0x4f1bd4:0x213,_0x514274:0xe7,_0x2e7a15:0x320,_0x30f122:0x229,_0x1ae567:0x18e,_0x25be5c:0xf4,_0x1eeccd:0xe5,_0x385f36:0x154,_0x8bc6ab:0x1fc,_0x421ea9:0xc7,_0x4b2808:0x6,_0x1d9f1e:0x130,_0x55a221:0x68,_0x17d84c:0x2b0,_0x5b126c:0x376,_0x3940f6:0x11f,_0xa20dcf:0x3d,_0x44ef51:0xec,_0x500113:0x13e,_0x216b9d:0x283,_0x53b307:0x229,_0x50f9d8:0x3e,_0xc3a4dd:0x36,_0x1d4f62:0x62,_0x41303f:0x51f,_0x24bb55:0x32b,_0xe9fd27:0x3b4,_0x4baed5:0x3b,_0x50a55e:0x56,_0x174880:0x235,_0x4aed0f:0x70,_0x304c97:0x35d,_0x4224bf:0x54,_0x35c0e:0x280,_0x3b0f71:0x168,_0x474f98:0x50f,_0x2c09ff:0x7e,_0x381b43:0x1c7,_0x4882b1:0x9a,_0x160d9b:0x1b5,_0x870018:0x276,_0x4232d6:0xf6,_0x4d535c:0x66,_0x4f1e2a:0x73,_0x572161:0x379,_0x5868ef:0xae,_0x1ffb4f:0x354,_0x2605c9:0x12b,_0x3924aa:0xf5,_0x3a57f0:0x27d,_0x16ead1:0x24c,_0x328c23:0x286,_0x32d2a6:0x289,_0x466c98:0x191,_0x57b7f1:0x1db,_0x1c6d4a:0x2c1,_0x5c7f80:0x42d,_0xc5d6fb:0x327,_0x1f4426:0x36c},_0x23cf5c={_0x55384e:0x187,_0x24f49c:0xc0,_0xf53b39:0x1b6,_0x2461b2:0x15,_0x3c14a6:0x7cb,_0x1cb253:0x75f,_0x23cb1c:0x96,_0x40443e:0xd4,_0x234adb:0x61,_0x350497:0x164,_0x1a2262:0x4a8,_0x339e01:0x5e1,_0x215d46:0x4ff},_0x303710={_0x1c9ea9:0x45e,_0x462dde:0x313,_0x3b8557:0x517,_0x559ac8:0x492},_0x40defb={_0x567b30:0x4d3,_0x35a32b:0x3c5,_0x40b622:0x5da},_0x82151e={_0x42fe7d:0xe2,_0x24125c:0x11f,_0x3dac23:0x198},_0x2eb57b={_0x1e514c:0x2c},_0x19fdb8={_0x56fc69:0xda,_0x3f93d5:0x513},_0x51a0c4=await filepath();if(_0x1a0e4e[_0x134f9d(_0x52e9a1._0x1e484e,0x5d,-0x51,0xfd)]){const _0xbcac4b=await _0x545df1(_0x1a0e4e[_0xc6c236(_0x52e9a1._0x4abfbe,_0x52e9a1._0x369cf9,_0x52e9a1._0x283d46,0x1c5)])[_0x134f9d(-_0x52e9a1._0x4216b9,0x3d,_0x52e9a1._0x5f57f0,-_0x52e9a1._0x34b122)](()=>null);if(!_0xbcac4b?.[_0x134f9d(_0x52e9a1._0x40ed3f,_0x52e9a1._0x4f1bd4,_0x52e9a1._0x514274,_0x52e9a1._0x2e7a15)]())throw Object[_0x134f9d(0x102,_0x52e9a1._0x30f122,_0x52e9a1._0x34b122,_0x52e9a1._0x1ae567)](new Error(_0x134f9d(_0x52e9a1._0x25be5c,0xa5,-_0x52e9a1._0x1eeccd,_0x52e9a1._0x385f36)+_0x1a0e4e[_0xc6c236(_0x52e9a1._0x8bc6ab,_0x52e9a1._0x421ea9,_0x52e9a1._0x283d46,-_0x52e9a1._0x4b2808)]+'\x27'),{'code':_0x134f9d(-_0x52e9a1._0x1d9f1e,_0x52e9a1._0x55a221,-0x60,0xe1)});}else{const _0x45ee22=await _0x545df1(_0x1a0e4e[_0x134f9d(0x292,0x2aa,_0x52e9a1._0x17d84c,_0x52e9a1._0x5b126c)])[_0x134f9d(-_0x52e9a1._0x3940f6,_0x52e9a1._0xa20dcf,-_0x52e9a1._0x44ef51,_0x52e9a1._0x500113)](()=>null);if(!_0x45ee22?.['isDirectory']())throw Object[_0x134f9d(_0x52e9a1._0x216b9d,_0x52e9a1._0x53b307,0x232,0x202)](new Error(_0x134f9d(-_0x52e9a1._0x50f9d8,0x3,_0x52e9a1._0xc3a4dd,_0x52e9a1._0x1d4f62)+_0x1a0e4e[_0xc6c236(_0x52e9a1._0x41303f,_0x52e9a1._0x24bb55,0x37b,_0x52e9a1._0xe9fd27)]+'\x27'),{'code':_0xc6c236(-_0x52e9a1._0x4baed5,0x25d,0x139,_0x52e9a1._0x50a55e)});}const _0x461648=[_0xc6c236(0x3be,0x17c,0x287,_0x52e9a1._0x174880),_0x134f9d(0x4d,_0x52e9a1._0x4aed0f,0x128,0x101),_0xc6c236(0x452,0x3ae,_0x52e9a1._0x304c97,0x379),_0x134f9d(0xb9,0x10b,-_0x52e9a1._0x4224bf,0x238),_0x1a0e4e[_0xc6c236(0x85,_0x52e9a1._0x35c0e,_0x52e9a1._0x3b0f71,0x242)]],_0xd20fe7=typeof _0x1a0e4e['context']===_0xc6c236(0x3bf,_0x52e9a1._0x474f98,0x37e,0x39b)&&_0x1a0e4e[_0xc6c236(_0x52e9a1._0x2c09ff,0x291,_0x52e9a1._0x381b43,_0x52e9a1._0x4882b1)]>0x0;_0xd20fe7&&_0x461648[_0x134f9d(0x248,_0x52e9a1._0x160d9b,_0x52e9a1._0x870018,0x1e9)]('-C',String(_0x1a0e4e[_0x134f9d(0x1,_0x52e9a1._0x4232d6,0x1b6,0x28a)]),_0xc6c236(-_0x52e9a1._0x4d535c,_0x52e9a1._0x4f1e2a,0x9c,0x241));function _0x134f9d(_0x737a4c,_0x3ab63e,_0x41b5fb,_0x1d1b78){return _0x520b4c(_0x737a4c-0x9d,_0x3ab63e-_0x19fdb8._0x56fc69,_0x41b5fb,_0x3ab63e- -_0x19fdb8._0x3f93d5);}_0x1a0e4e[_0x134f9d(_0x52e9a1._0x572161,0x232,_0x52e9a1._0x5868ef,_0x52e9a1._0x1ffb4f)]&&!_0x1a0e4e[_0x134f9d(-_0x52e9a1._0x2605c9,0x5d,0x4b,_0x52e9a1._0x3924aa)]&&_0x461648[_0xc6c236(_0x52e9a1._0x3a57f0,_0x52e9a1._0x16ead1,_0x52e9a1._0x328c23,0x125)](_0xc6c236(0x173,0x154,_0x52e9a1._0x32d2a6,_0x52e9a1._0x466c98),_0x1a0e4e[_0xc6c236(0x46f,_0x52e9a1._0x57b7f1,0x303,0x368)]);function _0xc6c236(_0x192497,_0x149943,_0x1ad90c,_0x33a5c6){return _0x2edd77(_0x1ad90c- -0x2bc,_0x149943-0x11f,_0x1ad90c-_0x2eb57b._0x1e514c,_0x192497);}return _0x461648[_0xc6c236(_0x52e9a1._0x1c6d4a,0x108,_0x52e9a1._0x328c23,0x1e3)](_0x1a0e4e['file']??_0x1a0e4e[_0xc6c236(_0x52e9a1._0x5c7f80,_0x52e9a1._0xc5d6fb,0x37b,_0x52e9a1._0x1f4426)]),await new Promise((_0x4d3755,_0x1af93c)=>{const _0x1c2463={_0x5b753b:0x2e,_0x53ef44:0x2bd},_0x548293={_0x2cd682:0x1f4,_0x52090e:0x19a},_0x274583={_0x2784cd:0x1da,_0x5d4c59:0x1b7},_0x5989cb={_0x2ee35f:0xa4},_0xc2df9={_0x81dc4f:0x1a,_0x2a2a76:0x185},_0x4e5b43=_0x20e752(_0x51a0c4,_0x461648,{'cwd':_0x1a0e4e[_0x1e468e(0x29c,_0x23cf5c._0x55384e,_0x23cf5c._0x24f49c,_0x23cf5c._0xf53b39)],'stdio':['ignore',_0x1e468e(0x92,0x53,0xb1,_0x23cf5c._0x2461b2),_0xc61ff2(_0x23cf5c._0x3c14a6,0x771,0x664,_0x23cf5c._0x1cb253)]});function _0xc61ff2(_0x37138c,_0x4699d1,_0x2ebc1e,_0x3b1a85){return _0x134f9d(_0x37138c-_0xc2df9._0x81dc4f,_0x2ebc1e-0x4ee,_0x3b1a85,_0x3b1a85-_0xc2df9._0x2a2a76);}let _0x2d81ee='',_0x3dd7f3='';_0x4e5b43[_0x1e468e(-_0x23cf5c._0x23cb1c,_0x23cf5c._0x40443e,-_0x23cf5c._0x234adb,_0x23cf5c._0x350497)]?.['on'](_0xc61ff2(0x596,_0x23cf5c._0x1a2262,_0x23cf5c._0x339e01,0x685),_0x4cbdb2=>{function _0x3e7464(_0x5a712e,_0x661560,_0x5c6ee4,_0x5866db){return _0x1e468e(_0x661560,_0x5866db-_0x5989cb._0x2ee35f,_0x5c6ee4-0x199,_0x5866db-0x176);}_0x2d81ee+=_0x4cbdb2[_0x3e7464(0x323,_0x82151e._0x42fe7d,_0x82151e._0x24125c,_0x82151e._0x3dac23)]();}),_0x4e5b43['stderr']?.['on'](_0xc61ff2(_0x23cf5c._0x215d46,0x73e,0x5e1,0x52e),_0x6ab1c7=>{function _0x1bcb17(_0x259078,_0x1a6af7,_0x18d26e,_0x424bd8){return _0xc61ff2(_0x259078-0x5,_0x1a6af7-_0x274583._0x2784cd,_0x1a6af7- -_0x274583._0x5d4c59,_0x259078);}_0x3dd7f3+=_0x6ab1c7[_0x1bcb17(_0x40defb._0x567b30,0x54e,_0x40defb._0x35a32b,_0x40defb._0x40b622)]();});function _0x1e468e(_0x12d9bc,_0x55619f,_0x22cd17,_0x4161da){return _0xc6c236(_0x12d9bc,_0x55619f-0x11a,_0x55619f- -_0x548293._0x2cd682,_0x4161da-_0x548293._0x52090e);}_0x4e5b43['on'](_0xc61ff2(0x518,0x503,0x48a,0x36b),_0x8ee815=>{const _0x10723c={_0x17193a:0x13f};function _0x328717(_0x355008,_0xe89a9b,_0x4bbfa2,_0x3b8b28){return _0xc61ff2(_0x355008-0x13d,_0xe89a9b-_0x1c2463._0x5b753b,_0x3b8b28- -_0x1c2463._0x53ef44,_0x4bbfa2);}if(_0x8ee815===0x1&&_0x2d81ee===''){_0x4d3755([]);return;}if(_0x8ee815!==0x0&&_0x8ee815!==0x1){_0x1af93c(new Error('ripgrep\x20failed:\x20'+_0x3dd7f3));return;}const _0x6d802=_0x1a0e4e[_0x31a82a(0x1a7,0x210,0x2f2,_0x303710._0x1c9ea9)]??0x64;function _0x31a82a(_0x5c9952,_0x419106,_0x47527d,_0x1b1421){return _0xc61ff2(_0x5c9952-0xbb,_0x419106-_0x10723c._0x17193a,_0x47527d- -0x283,_0x419106);}const _0x7da1fa=[];for(const _0x131b12 of _0x2d81ee['split'](/\r?\n/)){if(_0x7da1fa[_0x328717(0x1d5,0x3ce,0x1e8,_0x303710._0x462dde)]>=_0x6d802)break;const _0x18ee64=parseMatchLine(_0x131b12,_0xd20fe7);if(_0x18ee64)_0x7da1fa[_0x31a82a(_0x303710._0x3b8557,_0x303710._0x559ac8,0x420,0x48b)](_0x18ee64);}_0x4d3755(_0x7da1fa);}),_0x4e5b43['on']('error',_0x1af93c);});}function createGlobTool(_0x4de5cf={}){const _0x3d246a={_0x1a0002:0x264,_0x1d38a2:0xf1,_0x34ac2e:0x23d,_0x5e7674:0x293,_0x3187bb:0x76,_0x63161b:0x15e,_0x384509:0xaa,_0x480046:0x119,_0x34968d:0x476,_0x4cf292:0x38f,_0x52a392:0x4aa,_0x1095d8:0x37a,_0x3be6:0x2e1,_0x4d3a1b:0x149,_0x24d7c6:0x181,_0x4bbdb2:0x2a5,_0x49f41b:0x22f,_0x2af659:0x247,_0x2f0385:0x22d,_0x4b34c9:0x134,_0x3ac7b1:0x17f},_0x26ab4d={_0x30b290:0x19b,_0x22f06d:0x13d,_0x205003:0x8a,_0x16adde:0x1a,_0x38a28c:0xb2,_0x1b506c:0x144,_0x83610d:0x15e,_0x58558f:0x72,_0x283275:0x1f0,_0x41a893:0x17,_0x54eb8b:0x9e,_0x466eea:0x1a0,_0x298332:0x12c,_0x2c8629:0x18a,_0x246c6a:0x77,_0x108c7c:0x9,_0x23564a:0x114,_0x4e73d7:0xc1,_0x55e0ce:0x250,_0x36fa43:0x7f,_0x1d0a6a:0x36,_0x46f55c:0x5a,_0x45389b:0x63,_0x18bbd1:0x11b,_0x4a6350:0x96,_0x3d0ec8:0x1d0,_0x5de716:0x1d5,_0x353f5f:0x3,_0x4858ba:0xce,_0x5248a6:0xd4,_0x56a67e:0x104,_0x375caf:0x81,_0xa1a7e4:0xc7,_0x27ed15:0xb7,_0x2bf3b6:0xd3,_0x45faad:0xec,_0x5218ad:0xbc,_0x292e57:0x97},_0x49d610={_0x300624:0x15c,_0xe01c59:0x3b},_0x28fd90={_0x404a68:0x3a4,_0x195a95:0x121,_0x58b4ff:0x10},_0x34b68a=_0x114d85['resolve'](_0x4de5cf['defaultCwd']??process[_0xe020e5(_0x3d246a._0x1a0002,_0x3d246a._0x1d38a2,_0x3d246a._0x34ac2e,_0x3d246a._0x5e7674)]()),_0xd9b9e=_0x4de5cf[_0xe020e5(-_0x3d246a._0x3187bb,-0x17d,_0x3d246a._0x63161b,-0x30)]??[],_0x438e3b=_0x4de5cf['limit']??0x64;function _0xe020e5(_0x4a3ae2,_0x3a042b,_0xebbcb8,_0x3e5f64){return _0x2edd77(_0x3e5f64- -_0x28fd90._0x404a68,_0x3a042b-_0x28fd90._0x195a95,_0xebbcb8-_0x28fd90._0x58b4ff,_0x4a3ae2);}const _0x506d4f=_0x4de5cf['name']??_0xe020e5(-0x1a1,-_0x3d246a._0x384509,_0x3d246a._0x480046,-0xf);function _0x110a30(_0x14864c,_0x4889eb,_0x5d988f,_0x5616fc){return _0x520b4c(_0x14864c-_0x49d610._0x300624,_0x4889eb-_0x49d610._0xe01c59,_0x5616fc,_0x4889eb- -0x45f);}return defineTool({'name':_0x506d4f,'permissionClass':_0x110a30(_0x3d246a._0x34968d,_0x3d246a._0x4cf292,0x465,_0x3d246a._0x52a392),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0xe020e5(_0x3d246a._0x1095d8,_0x3d246a._0x3be6,_0x3d246a._0x4d3a1b,0x254),'properties':{'pattern':{'type':_0xe020e5(0x42e,0x148,_0x3d246a._0x24d7c6,_0x3d246a._0x4bbdb2)},'path':{'type':_0xe020e5(_0x3d246a._0x49f41b,_0x3d246a._0x2af659,_0x3d246a._0x2f0385,0x2a5)},'limit':{'type':_0xe020e5(_0x3d246a._0x4b34c9,0x14f,_0x3d246a._0x3ac7b1,0x296)}},'required':[_0x110a30(0x17,0x14b,0x164,0x114)]},async *'execute'(_0x22e5a3){const _0xc6cd57={_0xf36c55:0x79},_0x264dc0={_0x214085:0x17f};if(_0x22e5a3[_0x50a6c5(_0x26ab4d._0x30b290,0xfa,0xf,-_0x26ab4d._0x22f06d)][_0x151271(_0x26ab4d._0x205003,0x83,0x6,_0x26ab4d._0x16adde)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x46666e=resolveAllowedPath(_0x34b68a,_0xd9b9e,_0x22e5a3[_0x50a6c5(_0x26ab4d._0x38a28c,_0x26ab4d._0x1b506c,0x134,_0x26ab4d._0x83610d)]??'.'),_0x3d3af3=await _0x539ac5(_0x46666e)[_0x151271(-_0x26ab4d._0x58558f,0x2a,-0x53,-_0x26ab4d._0x283275)](()=>null);function _0x50a6c5(_0xdf1783,_0x164e46,_0x5b4479,_0xb93e6b){return _0xe020e5(_0xdf1783,_0x164e46-0x114,_0x5b4479-_0x264dc0._0x214085,_0x5b4479- -0x71);}if(!_0x3d3af3?.['isDirectory']())throw new ToolExecutionError(_0x151271(0x175,_0x26ab4d._0x41a893,_0x26ab4d._0x54eb8b,-0xda)+(_0x22e5a3[_0x151271(0x143,0x1cf,0x12c,_0x26ab4d._0x466eea)]??'.'),{'path':_0x22e5a3[_0x151271(-0x32,-0x63,_0x26ab4d._0x298332,_0x26ab4d._0x2c8629)]??'.'});const _0xb108b7=_0x22e5a3[_0x151271(_0x26ab4d._0x246c6a,0x189,-_0x26ab4d._0x108c7c,0x115)]??_0x438e3b,_0x44721d=Math[_0x151271(0x20,0x16e,_0x26ab4d._0x23564a,0x157)](0x1,Math[_0x50a6c5(-0xb2,0x2,_0x26ab4d._0x4e73d7,_0x26ab4d._0x55e0ce)](_0xb108b7)),_0x455044=[];let _0x4527be=![];function _0x151271(_0x24737c,_0x57f9f9,_0x340938,_0x526ef9){return _0xe020e5(_0x24737c,_0x57f9f9-0x13d,_0x340938-0x144,_0x340938- -_0xc6cd57._0xf36c55);}for await(const _0x402982 of files({'cwd':_0x46666e,'glob':[_0x22e5a3[_0x151271(_0x26ab4d._0x36fa43,0x97,0x7,-_0x26ab4d._0x1d0a6a)]]})){if(_0x455044[_0x50a6c5(0x158,-0x135,_0x26ab4d._0x46f55c,-_0x26ab4d._0x45389b)]>=_0x44721d){_0x4527be=!![];break;}const _0x5e6413=await _0x539ac5(_0x114d85['join'](_0x46666e,_0x402982))[_0x50a6c5(-_0x26ab4d._0x18bbd1,-0x1a1,-0x4b,_0x26ab4d._0x4a6350)](()=>null);_0x455044[_0x151271(_0x26ab4d._0x3d0ec8,_0x26ab4d._0x5de716,0x125,_0x26ab4d._0x353f5f)]({'path':_0x402982,'mtime':_0x5e6413?.['mtimeMs']??0x0});}_0x455044[_0x151271(0x51,_0x26ab4d._0x4858ba,0x13b,0x1dc)]((_0x33e67c,_0x129042)=>_0x129042['mtime']-_0x33e67c[_0x50a6c5(0x29,-0x13a,-0xc7,0x3f)]);const _0x51a09a=_0x455044['map'](_0x4c5191=>_0x4c5191[_0x151271(0x8d,-0x3d,0x12c,0x9e)]),_0x2cb7f0=_0x51a09a[_0x50a6c5(-_0x26ab4d._0x5248a6,-_0x26ab4d._0x56a67e,0x5a,0x7a)]===0x0?_0x151271(_0x26ab4d._0x375caf,0xa5,0x13a,0x2d0)+_0x22e5a3[_0x50a6c5(-_0x26ab4d._0xa1a7e4,-0xa0,0xf,_0x26ab4d._0x27ed15)]:''+_0x51a09a['join']('\x0a')+(_0x4527be?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');return yield createToolOutput(_0x2cb7f0,{'pattern':_0x22e5a3[_0x50a6c5(0x85,_0x26ab4d._0x2bf3b6,0xf,-0x5c)],'searchPath':_0x114d85[_0x151271(-0x200,0x133,-0x72,_0x26ab4d._0x45faad)](_0x34b68a,_0x46666e)||'.','matches':_0x51a09a,'count':_0x51a09a[_0x50a6c5(_0x26ab4d._0x5218ad,-_0x26ab4d._0x292e57,_0x26ab4d._0x46f55c,0x4e)],'truncated':_0x4527be}),void 0x0;}});}import{stat as _0x24dabd}from'fs/promises';import*as _0x4d0a7a from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x26d07d={}){const _0x128a1f={_0x4dbe66:0x3df,_0x3939fe:0x57d,_0x5bcf0e:0x30b,_0x4b31e4:0x375,_0x357aa9:0x490,_0x187e39:0x8e8,_0x7770e0:0x2a0,_0x5450a2:0x1c1,_0x1a3cdc:0x265,_0x58846e:0x65e,_0x18f348:0x4f9,_0x2d6e34:0x636,_0x1ef371:0x53e,_0x1e0aad:0x508,_0x5a054d:0x452,_0xd6284:0x302,_0x342703:0x4f3,_0x1a61e1:0x6ff,_0x465077:0x76d,_0x3da226:0x6f0,_0x31c7c4:0x80d,_0x30dcda:0x7be,_0x60d1f0:0x7b1,_0x255bc5:0x8ea,_0x33c760:0x6f7,_0x25891a:0x472,_0x4cfaca:0x686,_0x19e007:0x7a5,_0x3110ec:0x350,_0x32bd9a:0x3b4,_0x265745:0x22b},_0x5cb2c9={_0x58fdf3:0x19b,_0x307682:0x12c,_0x5d77bd:0x2f1,_0x38009c:0x14f,_0x27387a:0x1a8,_0x38372f:0x842,_0x52af70:0x2b8,_0x3d27df:0x14c,_0x50ff22:0x1a2,_0x2e613e:0x3ee,_0x1675df:0x6ee,_0x54adba:0x589,_0x26523d:0x5f1,_0x2ee7b0:0x7e5,_0x4ff5e2:0x721,_0x2b84ca:0x618,_0x38fa87:0x59e,_0x54869d:0x871,_0x36b051:0x5f6,_0x186253:0x24e,_0x5dc61b:0x112,_0x40081b:0x246,_0x5ddcf2:0xa0,_0x5a3330:0x13d,_0x3558cb:0x1,_0x5b3833:0x144,_0x697cbc:0x6b,_0x52d3e3:0x2f2,_0x31ce04:0x681,_0x312fe3:0x678,_0x5d2d93:0x77d,_0x5aa3e8:0x6a0,_0x2118cf:0x787,_0x15036e:0x869,_0x89125c:0x735,_0x58537f:0x726,_0x3341e7:0x857,_0x16eff8:0x914,_0x35ed87:0x840,_0x532b2d:0x88a,_0x5c00d2:0x3a5,_0x3b4149:0x2ff,_0x496153:0x2d0,_0x258a57:0x21e,_0x3266c1:0x3ad,_0x53f932:0x759,_0x5a6ae3:0x6f8,_0x53843b:0x790,_0x400dbe:0x7c0,_0x1f4bfe:0x6e7,_0x2f2cf6:0x5aa,_0x54d2ff:0x56c,_0x5664fe:0xc4,_0x13c0d6:0x239,_0x3437db:0x344,_0x180a46:0x5fc,_0x57387e:0x624,_0x11d63a:0x83b,_0x3d23eb:0x887,_0xd91d72:0x3cf,_0x40dcb8:0x475,_0x1bf2be:0x485,_0x7d70ab:0x678,_0x24ef42:0x70c,_0x57017e:0x56d,_0x770b0d:0x60d,_0x19a118:0x499,_0x4b9914:0x5b3,_0x30629b:0x413,_0x59784b:0x51d,_0x281751:0x4b2,_0x98615b:0x4a5,_0x1e8d1e:0x689,_0x1e38cb:0x676,_0x2f1e17:0x5f6,_0x1ecc15:0x539,_0x1f5e8f:0x5fb,_0x4c4091:0x62d},_0x11db06={_0x5af954:0x63},_0x5cabc8={_0x53a0eb:0x1ca},_0x2c43c3={_0x38f8d7:0x192,_0x48f4b9:0x1ab,_0x11e3e5:0x11};function _0x251ccf(_0x51dd3e,_0x51c3a9,_0x34de74,_0xf040d1){return _0x2edd77(_0x51dd3e- -0xd4,_0x51c3a9-0x4c,_0x34de74-0x15d,_0x34de74);}const _0x12714f=_0x4d0a7a[_0x90ac3e(_0x128a1f._0x4dbe66,0x3fb,0x519,_0x128a1f._0x3939fe)](_0x26d07d[_0x251ccf(_0x128a1f._0x5bcf0e,0x22a,_0x128a1f._0x4b31e4,_0x128a1f._0x357aa9)]??process[_0x90ac3e(_0x128a1f._0x187e39,0x87d,0x88c,0x7ac)]());function _0x90ac3e(_0x483056,_0x30b7cb,_0x3202e0,_0x3a05e9){return _0x520b4c(_0x483056-_0x2c43c3._0x38f8d7,_0x30b7cb-_0x2c43c3._0x48f4b9,_0x30b7cb,_0x3a05e9- -_0x2c43c3._0x11e3e5);}const _0x1b3756=_0x26d07d[_0x251ccf(_0x128a1f._0x7770e0,_0x128a1f._0x5450a2,0x203,_0x128a1f._0x1a3cdc)]??[],_0x460bf2=_0x26d07d[_0x90ac3e(0x534,_0x128a1f._0x58846e,0x626,0x589)]??0x64,_0x22c011=_0x26d07d[_0x90ac3e(0x66d,_0x128a1f._0x18f348,0x800,0x665)]??_0x90ac3e(0x663,_0x128a1f._0x2d6e34,_0x128a1f._0x1ef371,_0x128a1f._0x1e0aad);return defineTool({'name':_0x22c011,'permissionClass':'read','description':_0x251ccf(_0x128a1f._0x5a054d,0x53f,_0x128a1f._0xd6284,_0x128a1f._0x342703),'inputSchema':{'type':_0x90ac3e(0x87a,_0x128a1f._0x1a61e1,0x683,_0x128a1f._0x465077),'properties':{'pattern':{'type':_0x251ccf(0x575,_0x128a1f._0x3da226,0x626,0x701)},'path':{'type':_0x90ac3e(_0x128a1f._0x31c7c4,0x75d,0x629,_0x128a1f._0x30dcda)},'include':{'type':_0x90ac3e(_0x128a1f._0x60d1f0,_0x128a1f._0x255bc5,_0x128a1f._0x33c760,_0x128a1f._0x30dcda)},'limit':{'type':_0x251ccf(0x566,0x6fd,0x6c8,_0x128a1f._0x25891a)},'context':{'type':_0x90ac3e(_0x128a1f._0x4cfaca,_0x128a1f._0x19e007,0x70c,0x7af)}},'required':[_0x251ccf(_0x128a1f._0x3110ec,_0x128a1f._0x32bd9a,_0x128a1f._0x265745,0x2ab)]},async *'execute'(_0x1355c6){function _0x62e1d5(_0x120a42,_0x3f86cf,_0x2668fd,_0x4d4ac1){return _0x90ac3e(_0x120a42-0x47,_0x2668fd,_0x2668fd-_0x5cabc8._0x53a0eb,_0x3f86cf- -0x3fd);}function _0x1d5324(_0x1fdc11,_0x3068cd,_0x349d74,_0x3df627){return _0x90ac3e(_0x1fdc11-0x143,_0x3df627,_0x349d74-0x1ec,_0x3068cd-_0x11db06._0x5af954);}if(_0x1355c6['pattern'][_0x62e1d5(0x2a2,_0x5cb2c9._0x58fdf3,0x2c0,0x5b)]()[_0x62e1d5(_0x5cb2c9._0x307682,0x1e7,_0x5cb2c9._0x5d77bd,_0x5cb2c9._0x38009c)]===0x0)throw new ToolExecutionError(_0x62e1d5(0xc5,_0x5cb2c9._0x27387a,0x75,0x2bf),{});const _0x4d61e4=resolveAllowedPath(_0x12714f,_0x1b3756,_0x1355c6[_0x1d5324(0x73c,0x721,0x80c,_0x5cb2c9._0x38372f)]??'.'),_0x4ac15c=await _0x24dabd(_0x4d61e4)[_0x62e1d5(_0x5cb2c9._0x52af70,0x142,0x2ce,_0x5cb2c9._0x3d27df)](()=>null),_0x5b0951=_0x4ac15c?.[_0x62e1d5(0x1c1,0x318,0x299,_0x5cb2c9._0x50ff22)]()??![],_0x11e131=_0x4ac15c?.[_0x62e1d5(_0x5cb2c9._0x2e613e,0x31e,0x443,0x3e8)]()??![];if(!_0x5b0951&&!_0x11e131)throw new ToolExecutionError(_0x1d5324(_0x5cb2c9._0x1675df,0x6f4,_0x5cb2c9._0x54adba,0x7da)+(_0x1355c6[_0x1d5324(_0x5cb2c9._0x26523d,0x721,0x89f,_0x5cb2c9._0x2ee7b0)]??'.'),{'path':_0x1355c6[_0x1d5324(0x588,_0x5cb2c9._0x4ff5e2,_0x5cb2c9._0x2b84ca,_0x5cb2c9._0x38fa87)]??'.'});const _0x5a9572=_0x1355c6['limit']??_0x460bf2,_0x71a9c9=Math[_0x1d5324(0x625,0x709,_0x5cb2c9._0x54869d,_0x5cb2c9._0x36b051)](0x1,Math[_0x62e1d5(0x163,_0x5cb2c9._0x186253,0x3e9,_0x5cb2c9._0x5dc61b)](_0x5a9572)),_0x3a6b38=await search({'cwd':_0x11e131?_0x4d61e4:_0x4d0a7a['dirname'](_0x4d61e4),'pattern':_0x1355c6[_0x62e1d5(_0x5cb2c9._0x40081b,0x19c,0x190,_0x5cb2c9._0x5ddcf2)],'glob':_0x11e131?_0x1355c6[_0x62e1d5(0x24c,_0x5cb2c9._0x5a3330,0x25f,-0x1d)]:void 0x0,'limit':_0x71a9c9,'file':_0x5b0951?_0x4d61e4:void 0x0,'context':_0x1355c6[_0x62e1d5(0x358,0x1fb,0x371,0x21d)]}),_0x1da748=new Map();for(const _0x40d9e4 of _0x3a6b38){if(!_0x1da748[_0x62e1d5(-_0x5cb2c9._0x3558cb,_0x5cb2c9._0x5b3833,_0x5cb2c9._0x697cbc,0x6e)](_0x40d9e4[_0x62e1d5(0x3f5,0x2c6,_0x5cb2c9._0x52d3e3,0x1ff)])){const _0x2c1c6f=await _0x24dabd(_0x40d9e4['filePath'])[_0x1d5324(0x6ae,0x5a2,_0x5cb2c9._0x31ce04,0x67e)](()=>null);_0x1da748[_0x1d5324(_0x5cb2c9._0x312fe3,0x7fc,0x80b,_0x5cb2c9._0x5d2d93)](_0x40d9e4['filePath'],{'matches':[],'mtime':_0x2c1c6f?.[_0x1d5324(_0x5cb2c9._0x5aa3e8,_0x5cb2c9._0x2118cf,_0x5cb2c9._0x15036e,0x674)]??0x0});}_0x1da748[_0x62e1d5(-0x56,0xeb,0x34,0x72)](_0x40d9e4[_0x1d5324(_0x5cb2c9._0x89125c,_0x5cb2c9._0x58537f,_0x5cb2c9._0x3341e7,0x82d)])?.[_0x1d5324(_0x5cb2c9._0x16eff8,0x7d2,_0x5cb2c9._0x35ed87,_0x5cb2c9._0x532b2d)]['push'](_0x40d9e4);}const _0x360acf=[..._0x1da748[_0x62e1d5(0xd5,0x217,_0x5cb2c9._0x5c00d2,0x172)]()][_0x62e1d5(_0x5cb2c9._0x3b4149,_0x5cb2c9._0x496153,_0x5cb2c9._0x258a57,_0x5cb2c9._0x3266c1)]((_0x15bf53,_0x5800f1)=>_0x5800f1[0x1][_0x1d5324(0x5ff,0x526,0x5cd,0x47f)]-_0x15bf53[0x1][_0x62e1d5(0xf2,0xc6,0xa5,0x36)]),_0x3904d4=_0x3a6b38[_0x1d5324(_0x5cb2c9._0x53f932,_0x5cb2c9._0x5a6ae3,_0x5cb2c9._0x53843b,_0x5cb2c9._0x400dbe)](_0x3b55ee=>!_0x3b55ee[_0x62e1d5(0x5d,0x1b0,0x283,0x23d)])[_0x1d5324(_0x5cb2c9._0x1f4bfe,0x647,0x7b5,_0x5cb2c9._0x2f2cf6)],_0x12c0c5=_0x3a6b38[_0x1d5324(0x68b,0x647,_0x5cb2c9._0x54d2ff,0x72b)]>=_0x71a9c9,_0x239be3=_0x5b0951?_0x4d0a7a[_0x62e1d5(0x240,0x111,0x197,0xf8)](_0x4d61e4):_0x4d61e4;let _0x28791d='';if(_0x3a6b38[_0x62e1d5(_0x5cb2c9._0x5664fe,0x1e7,_0x5cb2c9._0x13c0d6,_0x5cb2c9._0x3437db)]===0x0)_0x28791d='No\x20matches\x20found\x20for\x20pattern:\x20'+_0x1355c6[_0x1d5324(0x57e,_0x5cb2c9._0x180a46,0x664,_0x5cb2c9._0x57387e)];else{_0x28791d='Found\x20'+_0x3904d4+_0x1d5324(_0x5cb2c9._0x11d63a,0x7ad,0x930,_0x5cb2c9._0x3d23eb)+(_0x3904d4===0x1?'':'es')+'\x0a';for(const [_0x172ae7,_0x232fd0]of _0x360acf){const _0x2a1990=_0x5b0951?_0x4d0a7a['basename'](_0x172ae7):_0x4d0a7a['relative'](_0x239be3,_0x172ae7);_0x28791d+='\x0a'+_0x2a1990+':\x0a';for(const _0x5544c8 of _0x232fd0['matches']){const _0x3380c9=_0x5544c8['lineText']['length']>MAX_LINE_LENGTH?_0x5544c8[_0x62e1d5(0x405,_0x5cb2c9._0xd91d72,_0x5cb2c9._0x40dcb8,_0x5cb2c9._0x1bf2be)][_0x1d5324(_0x5cb2c9._0x7d70ab,_0x5cb2c9._0x24ef42,0x808,_0x5cb2c9._0x57017e)](0x0,MAX_LINE_LENGTH)+_0x1d5324(0x55c,0x5c7,_0x5cb2c9._0x770b0d,_0x5cb2c9._0x19a118):_0x5544c8[_0x62e1d5(0x2db,0x3cf,0x3f7,0x3c3)],_0x235d83=_0x5544c8['isContext']?'\x20\x20':'>\x20';_0x28791d+=_0x235d83+_0x1d5324(0x907,0x83a,0x923,0x911)+_0x5544c8[_0x1d5324(0x6cb,_0x5cb2c9._0x4b9914,_0x5cb2c9._0x30629b,_0x5cb2c9._0x59784b)]+':\x20'+_0x3380c9+'\x0a';}}_0x12c0c5&&(_0x28791d+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x4d4a80={'searchPath':_0x4d0a7a[_0x1d5324(0x61d,0x583,0x61e,0x70d)](_0x12714f,_0x4d61e4)||'.','pattern':_0x1355c6['pattern'],'matchCount':_0x3904d4,'fileCount':_0x1da748['size'],'truncated':_0x12c0c5};return _0x11e131&&_0x1355c6[_0x1d5324(_0x5cb2c9._0x281751,0x59d,_0x5cb2c9._0x98615b,_0x5cb2c9._0x1e8d1e)]!==void 0x0&&(_0x4d4a80['include']=_0x1355c6[_0x1d5324(_0x5cb2c9._0x1e38cb,0x59d,0x478,_0x5cb2c9._0x2f1e17)]),yield createToolOutput(_0x28791d[_0x1d5324(_0x5cb2c9._0x1ecc15,_0x5cb2c9._0x1f5e8f,0x5f7,_0x5cb2c9._0x4c4091)](),_0x4d4a80),void 0x0;}});}function createKillShellTool(_0x1ce55a){const _0x3e10ac={_0x5444a0:0x4a5,_0x51da26:0x60f,_0x52425a:0x4aa,_0x178575:0x38a,_0x143aa7:0x503,_0x50d49b:0x675,_0x132dec:0x63e,_0x144085:0x608,_0x4821df:0x7a2},_0x473a1d={_0x150d36:0x40d,_0x25f4a1:0x323,_0x434e21:0x270,_0x3c9ccc:0x3d8,_0x4a2b00:0x320,_0x252c6f:0x4b9,_0x11e303:0x4a5,_0x55c962:0x28d,_0x5d4a4d:0x3e1,_0x1abc1f:0x24a,_0x4b761c:0xfd,_0x11b9e0:0xa7,_0x1d183b:0x171},_0xa3ed6d={_0x22eed0:0x1e1},_0x3c5987={_0x4a10d2:0xcc,_0x4f9137:0x62d,_0x4570b7:0xa},_0x1564ed={_0x529336:0x55},_0x4433ef={_0x259955:0x37};function _0x525ece(_0x4f9299,_0xc3176b,_0x3ca46c,_0x16d565){return _0x520b4c(_0x4f9299-_0x4433ef._0x259955,_0xc3176b-0xdb,_0xc3176b,_0x4f9299- -0x122);}function _0x442634(_0x6122a2,_0x336b6c,_0x2b6f87,_0x2003a7){return _0x2edd77(_0x2b6f87-0x1de,_0x336b6c-_0x1564ed._0x529336,_0x2b6f87-0x2b,_0x6122a2);}const {registry:_0x4cfad4}=_0x1ce55a;return defineTool({'name':_0x525ece(_0x3e10ac._0x5444a0,_0x3e10ac._0x51da26,_0x3e10ac._0x52425a,_0x3e10ac._0x178575),'permissionClass':_0x525ece(0x616,0x573,_0x3e10ac._0x143aa7,0x511),'description':_0x525ece(_0x3e10ac._0x50d49b,_0x3e10ac._0x132dec,0x665,_0x3e10ac._0x144085),'inputSchema':{'type':_0x525ece(0x65c,0x770,0x5d5,_0x3e10ac._0x4821df),'properties':{'shellId':{'type':'string'}},'required':['shellId']},async *'execute'(_0x13ebf5){function _0x4b09a9(_0x415445,_0x6ee828,_0x4968b6,_0x5e7ecc){return _0x442634(_0x4968b6,_0x6ee828-_0x3c5987._0x4a10d2,_0x6ee828- -_0x3c5987._0x4f9137,_0x5e7ecc-_0x3c5987._0x4570b7);}function _0x3b2d0c(_0x9f828e,_0x1e81b8,_0x27f8fc,_0x3d16f4){return _0x442634(_0x1e81b8,_0x1e81b8-_0xa3ed6d._0x22eed0,_0x9f828e- -0x457,_0x3d16f4-0x15a);}const _0x425134=_0x4cfad4['kill'](_0x13ebf5[_0x3b2d0c(0x323,0x1a2,0x3f7,_0x473a1d._0x150d36)]);return createToolOutput('Killed\x20'+_0x13ebf5[_0x3b2d0c(_0x473a1d._0x25f4a1,_0x473a1d._0x434e21,0x1fb,0x20c)]+_0x3b2d0c(_0x473a1d._0x3c9ccc,_0x473a1d._0x4a2b00,_0x473a1d._0x252c6f,0x337)+_0x425134['status']+').',{'shellId':_0x13ebf5[_0x3b2d0c(0x323,_0x473a1d._0x11e303,0x21a,0x241)],'status':_0x425134[_0x3b2d0c(_0x473a1d._0x55c962,0x199,_0x473a1d._0x5d4a4d,_0x473a1d._0x1abc1f)],'exitCode':_0x425134['exitCode'],'signal':_0x425134[_0x3b2d0c(_0x473a1d._0x4b761c,0x190,_0x473a1d._0x11b9e0,_0x473a1d._0x1d183b)]});}});}import{readdir as _0x496ef8,readFile as _0x422658,stat as _0x2a6a58}from'fs/promises';import*as _0x1b5f45 from'path';import*as _0x55b040 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x417119,_0xe4ed84){const _0x26fdd1={_0x401855:0x32c,_0x53a612:0x384,_0xfaed9b:0x2d8,_0x582e8d:0x350,_0x9a3c5d:0x3bb,_0x3f34f6:0x472,_0x499a39:0x465},_0x117d7f={_0x28b29f:0x19c},_0x3eacea={_0xd585d3:0x1cc};if(_0xe4ed84>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x3d7ba9(_0x5509a3,_0x597e3a,_0x239f36,_0xb2dc6e){return _0x520b4c(_0x5509a3-0x9b,_0x597e3a-0x1b3,_0x239f36,_0xb2dc6e- -_0x3eacea._0xd585d3);}const _0x4fbfd8=await _0x422658(_0x417119)[_0x3d7ba9(_0x26fdd1._0x401855,0x1e0,0x254,_0x26fdd1._0x53a612)](()=>null);function _0x4b6c15(_0x1b098d,_0x4ddb26,_0x310f6c,_0x5691be){return _0x2edd77(_0x5691be- -0x487,_0x4ddb26-0x1e6,_0x310f6c-_0x117d7f._0x28b29f,_0x1b098d);}if(!_0x4fbfd8||isProbablyBinary(_0x4fbfd8))return void 0x0;return _0x4fbfd8['toString'](_0x3d7ba9(0x45b,_0x26fdd1._0xfaed9b,_0x26fdd1._0x582e8d,_0x26fdd1._0x9a3c5d))[_0x3d7ba9(_0x26fdd1._0x3f34f6,0x2b9,_0x26fdd1._0x499a39,0x2e2)](/\r?\n/)['length'];}function createLsTool(_0x887a3e={}){const _0x42a9f8={_0x45daab:0x3ee,_0x3d815d:0x3b5,_0x381699:0x52f,_0x17d43a:0x12c,_0x441c12:0x4f,_0x5c3698:0xf2,_0x3f1c3f:0x3fc,_0x122ca0:0x2f3,_0x29db2e:0x26e,_0x433ac8:0x429,_0x2b4f34:0x4c4,_0x4c1994:0x576,_0x2c2072:0x42d,_0x2e9b92:0x3fb,_0x48ec3d:0x54a,_0x593170:0x3d4},_0x91d541={_0x457a93:0x390,_0x551777:0x285,_0x2964bc:0x3c7,_0xbe984d:0x296,_0x1fe5d3:0x253,_0x38492e:0x695,_0x212dd9:0x366,_0x111d5a:0x502,_0x223f81:0x77e,_0x3408aa:0x64f,_0x5afaca:0x6f3,_0x239760:0x37b,_0x12a0cf:0x27c,_0x12a175:0x73a,_0x17a739:0x77b,_0x28a61e:0x211,_0x189856:0x10d,_0x5b32f7:0x6e8,_0x55af30:0x828,_0x1cb71d:0x6e3,_0x40c58d:0x768,_0x13a2ff:0x351,_0x36bc24:0x440,_0x4e6ba6:0x2ea,_0x3182b1:0x467,_0x493096:0x573,_0x18ce3d:0x661,_0xb14292:0x564,_0x62ff4d:0x3f6,_0x4e2d76:0x41c,_0x33b67a:0x44f,_0x2e61c0:0x552,_0x4e81f5:0x40a,_0x51c79a:0x5e7,_0x2106b9:0x1a7,_0x169526:0x247,_0x94a7af:0x404,_0x42132e:0x627,_0x5ceee3:0x830,_0x34de4b:0x5ae,_0x51b23d:0x662,_0x2a828f:0x2e5,_0x4d86eb:0x1a4,_0x527df9:0x382,_0x4d22c1:0x2c0,_0x82fdd:0x5ac,_0x5dfad6:0x3dd,_0xc76a1a:0x56c,_0x289034:0x381,_0xd28276:0x560,_0x2176e0:0x61a,_0xd0c70f:0x63a,_0x2291a6:0x68a},_0x869c23={_0x45aee7:0x74,_0x2a21c9:0x444},_0x56c854={_0x2a5a67:0x51,_0x3f80d3:0x39},_0xd4f453={_0x3fd1bb:0x408},_0x496d5c={_0x22d8c0:0x3c5},_0x1c27f4=_0x1b5f45['resolve'](_0x887a3e[_0x68b66a(0x22d,0x225,0x15d,0x111)]??process[_0x68b66a(0x2f4,_0x42a9f8._0x45daab,_0x42a9f8._0x3d815d,_0x42a9f8._0x381699)]());function _0x4cc003(_0x3eb7df,_0x2ebbc8,_0x34487e,_0x41ae86){return _0x520b4c(_0x3eb7df-0x1ac,_0x2ebbc8-0x1a1,_0x34487e,_0x2ebbc8- -_0x496d5c._0x22d8c0);}function _0x68b66a(_0x25c99f,_0x4cbbba,_0x1ead5e,_0x563eff){return _0x520b4c(_0x25c99f-0x199,_0x4cbbba-0x13d,_0x4cbbba,_0x1ead5e- -_0xd4f453._0x3fd1bb);}const _0x3319e0=_0x887a3e[_0x68b66a(_0x42a9f8._0x17d43a,-_0x42a9f8._0x441c12,_0x42a9f8._0x5c3698,0x1cd)]??[],_0xe6044=_0x887a3e[_0x68b66a(_0x42a9f8._0x3f1c3f,_0x42a9f8._0x122ca0,_0x42a9f8._0x29db2e,0xf5)]??'Ls';return defineTool({'name':_0xe6044,'permissionClass':_0x4cc003(0x2f8,_0x42a9f8._0x433ac8,0x329,_0x42a9f8._0x2b4f34),'description':_0x4cc003(_0x42a9f8._0x4c1994,_0x42a9f8._0x2c2072,0x3bf,0x3ed),'inputSchema':{'type':_0x68b66a(0x378,0x512,0x376,0x28d),'properties':{'path':{'type':_0x4cc003(0x568,0x40a,0x50d,0x4df)},'limit':{'type':_0x4cc003(0x2be,_0x42a9f8._0x2e9b92,_0x42a9f8._0x48ec3d,_0x42a9f8._0x593170)}}},async *'execute'(_0x450800){function _0x1ba339(_0x3e490e,_0x1c7dc8,_0x5a9e76,_0x34d8fb){return _0x68b66a(_0x3e490e-_0x56c854._0x2a5a67,_0x5a9e76,_0x3e490e-0xc9,_0x34d8fb-_0x56c854._0x3f80d3);}const _0x3bd975=_0x450800[_0x1ba339(_0x91d541._0x457a93,_0x91d541._0x551777,0x416,0x419)]??'.',_0x5660c9=resolveAllowedPath(_0x1c27f4,_0x3319e0,_0x3bd975),_0x478bfc=await _0x2a6a58(_0x5660c9)['catch'](()=>null);if(!_0x478bfc?.['isDirectory']())throw new ToolExecutionError(_0x1ba339(0x302,0x269,0x262,_0x91d541._0x2964bc)+_0x3bd975,{'path':_0x3bd975});const _0xba4637=_0x450800[_0x1ba339(0x25b,0x21c,_0x91d541._0xbe984d,_0x91d541._0x1fe5d3)]??0x3e8,_0x484425=Math[_0x2c10e8(_0x91d541._0x38492e,0x38d,_0x91d541._0x212dd9,_0x91d541._0x111d5a)](Math[_0x2c10e8(_0x91d541._0x223f81,0x56f,_0x91d541._0x3408aa,_0x91d541._0x5afaca)](Math['trunc'](_0xba4637),0x1),0x2710),_0x20d609=await _0x496ef8(_0x5660c9),_0x41fecc=[];for(const _0x4ae4b9 of _0x20d609[_0x1ba339(_0x91d541._0x239760,0x218,0x328,_0x91d541._0x12a0cf)](0x0,_0x484425)){const _0x4c62ed=_0x1b5f45[_0x2c10e8(_0x91d541._0x12a175,0x85a,0x5de,_0x91d541._0x17a739)](_0x5660c9,_0x4ae4b9),_0x4d0df5=await _0x2a6a58(_0x4c62ed)[_0x1ba339(_0x91d541._0x28a61e,0x381,0x378,0x97)](()=>null);if(!_0x4d0df5)continue;let _0x33609a=_0x1ba339(0x235,0x21c,0xfa,_0x91d541._0x189856);if(_0x4d0df5['isFile']())_0x33609a='file';else{if(_0x4d0df5[_0x2c10e8(_0x91d541._0x5b32f7,_0x91d541._0x55af30,_0x91d541._0x1cb71d,_0x91d541._0x40c58d)]())_0x33609a=_0x1ba339(_0x91d541._0x13a2ff,_0x91d541._0x36bc24,0x2cc,_0x91d541._0x4e6ba6);else{if(_0x4d0df5[_0x2c10e8(0x498,_0x91d541._0x3182b1,0x569,0x5d7)]())_0x33609a='symlink';}}const _0x4fe067={'name':_0x4ae4b9,'type':_0x33609a,'size':_0x4d0df5[_0x2c10e8(_0x91d541._0x493096,0x5b5,_0x91d541._0x18ce3d,_0x91d541._0xb14292)],'mtime':_0x4d0df5[_0x1ba339(_0x91d541._0x62ff4d,_0x91d541._0x4e2d76,0x2f3,_0x91d541._0x33b67a)],'mode':_0x4d0df5[_0x2c10e8(_0x91d541._0x2e61c0,_0x91d541._0x4e81f5,_0x91d541._0x51c79a,0x4fa)]},_0x5af0e4=_0x33609a===_0x1ba339(0x231,0x34e,_0x91d541._0x2106b9,_0x91d541._0x169526)?await countTextLines(_0x4c62ed,_0x4d0df5[_0x2c10e8(0x4f6,0x5f5,_0x91d541._0x94a7af,_0x91d541._0xb14292)]):void 0x0;if(_0x5af0e4!==void 0x0)_0x4fe067[_0x2c10e8(0x7a6,_0x91d541._0x42132e,_0x91d541._0x5ceee3,0x77f)]=_0x5af0e4;_0x41fecc[_0x2c10e8(_0x91d541._0x34de4b,_0x91d541._0x51b23d,0x583,0x704)](_0x4fe067);}_0x41fecc[_0x1ba339(0x39f,0x3b8,_0x91d541._0x2a828f,0x4b2)]((_0x22ba3e,_0x541a56)=>_0x22ba3e[_0x2c10e8(0x837,0x685,0x818,0x6b2)]['localeCompare'](_0x541a56[_0x1ba339(0x337,0x292,0x35f,0x2b7)]));const _0x3f1297={'path':_0x3bd975,'total':_0x41fecc[_0x1ba339(0x2b6,_0x91d541._0x4d86eb,_0x91d541._0x527df9,_0x91d541._0x4d22c1)],'truncated':_0x20d609[_0x2c10e8(0x50b,0x69d,_0x91d541._0x82fdd,0x631)]>_0x484425,'entries':_0x41fecc};function _0x2c10e8(_0x47da9b,_0x4f9659,_0x278384,_0x5ee5bd){return _0x68b66a(_0x47da9b-_0x869c23._0x45aee7,_0x47da9b,_0x5ee5bd-_0x869c23._0x2a21c9,_0x5ee5bd-0xed);}return yield createToolOutput(_0x55b040[_0x1ba339(_0x91d541._0x5dfad6,_0x91d541._0xc76a1a,_0x91d541._0x289034,_0x91d541._0xd28276)](_0x3f1297,{'indent':0x2,'lineWidth':0x0})[_0x2c10e8(_0x91d541._0x2176e0,_0x91d541._0xd0c70f,0x837,0x6a4)](),{'path':_0x3bd975,'total':_0x41fecc['length'],'truncated':_0x20d609[_0x2c10e8(0x570,_0x91d541._0x2291a6,0x5da,0x631)]>_0x484425,'limit':_0x484425,'entries':_0x41fecc}),void 0x0;}});}import{stat as _0x1e0109}from'fs/promises';import _0x34f9c5 from'path';import{fileURLToPath as _0x1eef44}from'url';function awaitWithAbort(_0x2983ed,_0x291990){const _0x471815={_0x16d071:0x382,_0x137d9b:0x100,_0x53b820:0x781},_0x484078={_0xd620c5:0x298,_0x1e708e:0x18f,_0x30808e:0x4a6},_0x305489={_0x1c2c8e:0x1c6},_0x5766f5={_0x1f3c8f:0x92e,_0x57dcb1:0x85d},_0x1bb614={_0x3c53fe:0x12d,_0x3a3f41:0x15a,_0x5ae604:0x454};function _0x4cba88(_0x23bc32,_0xc10b7d,_0x3aa9f8,_0x4ca08c){return _0x520b4c(_0x23bc32-_0x1bb614._0x3c53fe,_0xc10b7d-_0x1bb614._0x3a3f41,_0x3aa9f8,_0xc10b7d- -_0x1bb614._0x5ae604);}if(!_0x291990)return _0x2983ed;function _0x2e7e8b(_0x43de9a,_0x5602ce,_0x3fe6a8,_0x4ede29){return _0x2edd77(_0x4ede29-0x97,_0x5602ce-0x1d4,_0x3fe6a8-0xa1,_0x3fe6a8);}if(_0x291990[_0x2e7e8b(0x424,0x619,_0x471815._0x16d071,0x4eb)])return Promise[_0x4cba88(0x11c,_0x471815._0x137d9b,0x16d,0x1a7)](toAbortError(_0x291990[_0x2e7e8b(_0x471815._0x53b820,0x6a8,0x6cf,0x6d8)]));return new Promise((_0x7bf49c,_0x5761e5)=>{const _0x42203e={_0x1cceda:0x1aa},_0x2b3caa=()=>{_0x25a82d();function _0x58620f(_0x15f89d,_0x4e85f8,_0x47dabd,_0xb5453d){return _0x4535(_0xb5453d-0x336,_0x4e85f8);}_0x5761e5(toAbortError(_0x291990[_0x58620f(_0x5766f5._0x1f3c8f,_0x5766f5._0x57dcb1,0x776,0x799)]));},_0x25a82d=()=>_0x291990[_0x5da8de(0x241,0x29a,0x2a8,0x1cc)](_0x5da8de(-0x58,-0xaf,0x192,0xad),_0x2b3caa);_0x291990[_0x5da8de(0x67,_0x484078._0xd620c5,0xf3,_0x484078._0x1e708e)]('abort',_0x2b3caa,{'once':!![]});function _0x131141(_0x54b495,_0x1d7df5,_0x369491,_0x2883ea){return _0x4cba88(_0x54b495-_0x305489._0x1c2c8e,_0x2883ea-0x3ed,_0x369491,_0x2883ea-0x12a);}function _0x5da8de(_0x1a3b0d,_0x52e034,_0xd86084,_0x5a1f2d){return _0x4cba88(_0x1a3b0d-0x18e,_0x5a1f2d- -_0x42203e._0x1cceda,_0xd86084,_0x5a1f2d-0x14);}_0x2983ed[_0x131141(0x3d8,0x5a9,_0x484078._0x30808e,0x44e)](_0x67fc2b=>{_0x25a82d(),_0x7bf49c(_0x67fc2b);},_0xfbe8b3=>{_0x25a82d(),_0x5761e5(_0xfbe8b3);});});}function severityName(_0x438f10){const _0x38f41c={_0x40ae7d:0x17d,_0x144172:0x4c8,_0x1fbc76:0x640,_0x2f0f81:0x318,_0x423d7d:0x182,_0x342c36:0x75,_0x23026c:0x633,_0x104487:0x7d5},_0x117fb9={_0x586d12:0x9c,_0x1c9b04:0x539};function _0xab381d(_0x44c615,_0x4c5ce3,_0x1f99b,_0x5d1c1b){return _0x520b4c(_0x44c615-0x1b4,_0x4c5ce3-_0x117fb9._0x586d12,_0x44c615,_0x4c5ce3- -_0x117fb9._0x1c9b04);}function _0x30fe89(_0x4cc93e,_0x17af4b,_0x37947c,_0x18b00d){return _0x520b4c(_0x4cc93e-0x11a,_0x17af4b-0xb8,_0x18b00d,_0x4cc93e- -0xc4);}switch(_0x438f10){case 0x1:return _0xab381d(-0xa9,-0x7d,-0x151,-_0x38f41c._0x40ae7d);case 0x2:return _0x30fe89(_0x38f41c._0x144172,_0x38f41c._0x1fbc76,0x620,0x3b2);case 0x3:return _0xab381d(_0x38f41c._0x2f0f81,_0x38f41c._0x423d7d,_0x38f41c._0x342c36,0x14b);case 0x4:return _0x30fe89(_0x38f41c._0x23026c,0x5f6,0x5db,_0x38f41c._0x104487);default:return'Diagnostic';}}function formatSingleHover(_0x389567){const _0x1cc743={_0x40920f:0x376,_0x104544:0x3f2,_0x51d24d:0x155,_0x18a5c3:0x2e9,_0x374073:0x407,_0x5646ec:0x1c6,_0x226850:0x14e,_0x468da9:0x34b,_0x1c2174:0x2f5,_0x59d1df:0x3a7,_0x168d36:0x160,_0x2b28ec:0x267,_0xc8d3d9:0x266,_0x2102da:0x260,_0x4c3056:0x1a5,_0x49d24c:0x41,_0x32a511:0x361,_0x4ecf1f:0x3d7,_0xfb3ee8:0x28f},_0x1b2c3e={_0x19d821:0x11f,_0x50aac1:0x5c4},_0x4a744e={_0x3a8d18:0x1c7,_0x1839d7:0x17a},_0x492abd=_0x389567[_0x1112d4(0x1ed,_0x1cc743._0x40920f,0x1eb,_0x1cc743._0x104544)];function _0x1112d4(_0x106815,_0x2b180f,_0x343eea,_0x20311a){return _0x2edd77(_0x2b180f- -_0x4a744e._0x3a8d18,_0x2b180f-_0x4a744e._0x1839d7,_0x343eea-0x13,_0x106815);}if(typeof _0x492abd==='string')return _0x492abd;if(Array[_0x1112d4(_0x1cc743._0x51d24d,_0x1cc743._0x18a5c3,0x346,_0x1cc743._0x374073)](_0x492abd))return _0x492abd[_0x1112d4(0x73,_0x1cc743._0x5646ec,_0x1cc743._0x226850,0x88)](_0x368a51=>typeof _0x368a51===_0x1112d4(0x3e9,0x482,0x5f3,0x587)?_0x368a51:_0x368a51[_0x1112d4(0x34e,0x3d7,0x2dc,0x500)])['filter'](Boolean)['join']('\x0a\x0a');if(_0x1112d4(0x331,_0x1cc743._0x468da9,0x395,0x2d6)in _0x492abd)return _0x492abd['value'];function _0x1e1634(_0x16271e,_0x2e537d,_0x329b61,_0x479ac1){return _0x520b4c(_0x16271e-0x1ce,_0x2e537d-_0x1b2c3e._0x19d821,_0x329b61,_0x16271e- -_0x1b2c3e._0x50aac1);}return _0x492abd[_0x1112d4(_0x1cc743._0x1c2174,0x43a,0x334,_0x1cc743._0x59d1df)]?_0x1112d4(0x35d,0x34f,0x216,0x3c2)+_0x492abd['language']+'\x0a'+_0x492abd[_0x1e1634(_0x1cc743._0x168d36,_0x1cc743._0x2b28ec,0xa8,_0x1cc743._0xc8d3d9)]+_0x1112d4(_0x1cc743._0x2102da,_0x1cc743._0x4c3056,0x40,_0x1cc743._0x49d24c):_0x492abd[_0x1112d4(_0x1cc743._0x32a511,_0x1cc743._0x4ecf1f,_0x1cc743._0xfb3ee8,0x24c)];}function formatHover(_0x42fefc){const _0x394a2a={_0x5aab74:0x121,_0x2c8726:0x28d,_0x1fc8e4:0x1da,_0x537b85:0x157,_0xbf37b6:0xe1,_0x496b9c:0x1ea,_0x4c976c:0x241},_0x178ed9={_0x5a9e1c:0x176,_0x108e93:0x565},_0x4fd1e2={_0x194db0:0x139};if(_0x42fefc['length']===0x0)return _0x1f3cc0(0x9,0xa7,_0x394a2a._0x5aab74,0x30);function _0x30eaa9(_0x27a6b3,_0x2b4a01,_0x3dfecb,_0x3d8bb8){return _0x520b4c(_0x27a6b3-0x13a,_0x2b4a01-_0x4fd1e2._0x194db0,_0x3d8bb8,_0x2b4a01-0x65);}function _0x1f3cc0(_0x4ec2fd,_0x8f48cc,_0x40e5b1,_0x4227cb){return _0x520b4c(_0x4ec2fd-0x1e9,_0x8f48cc-_0x178ed9._0x5a9e1c,_0x8f48cc,_0x40e5b1- -_0x178ed9._0x108e93);}return _0x42fefc['map'](formatSingleHover)[_0x1f3cc0(0xa1,_0x394a2a._0x2c8726,_0x394a2a._0x1fc8e4,_0x394a2a._0x537b85)](_0x1f3cc0(_0x394a2a._0xbf37b6,0x26f,_0x394a2a._0x496b9c,_0x394a2a._0x4c976c));}function locationPath(_0x272b48){const _0x2cc8b8={_0x446fc5:0x188,_0x2ae95a:0xb,_0x40092e:0x14d},_0x3add73={_0x337cc1:0xac};function _0x80a19d(_0x50c2a7,_0x1804c4,_0x3e26ac,_0x3b79cf){return _0x520b4c(_0x50c2a7-_0x3add73._0x337cc1,_0x1804c4-0x19c,_0x3e26ac,_0x1804c4- -0x66c);}if(!_0x272b48[_0x80a19d(_0x2cc8b8._0x446fc5,-_0x2cc8b8._0x2ae95a,-0xeb,-_0x2cc8b8._0x40092e)]('file://'))return _0x272b48;return _0x1eef44(_0x272b48);}function formatLocations(_0x49d8cc){const _0x5c423d={_0x473380:0x3c,_0x38eb7b:0x1b2,_0x3d6df8:0x1f,_0x388ba2:0x157,_0x122d81:0x26,_0x5bc528:0x87,_0x4f8ba6:0x50},_0x51aa05={_0x481e9c:0x346,_0x2b504a:0x2cd,_0x2e49c1:0x1e8,_0xcf039b:0x23,_0x250371:0x54,_0x4ccf41:0x47,_0x58e6e4:0x237},_0xfca980={_0x4985f8:0x518,_0x25785a:0xdb,_0xf0f68:0x155};function _0x122d22(_0x580ffb,_0x4b3663,_0x266b94,_0x5a9801){return _0x2edd77(_0x4b3663- -0x2bd,_0x4b3663-0x135,_0x266b94-0xd9,_0x5a9801);}if(_0x49d8cc[_0x122d22(_0x5c423d._0x473380,_0x5c423d._0x38eb7b,0xaf,0x11d)]===0x0)return'No\x20locations\x20found';function _0x3f8046(_0x1d236c,_0x48e4fa,_0x34f798,_0x3b3fd5){return _0x2edd77(_0x1d236c- -_0xfca980._0x4985f8,_0x48e4fa-_0xfca980._0x25785a,_0x34f798-_0xfca980._0xf0f68,_0x34f798);}return _0x49d8cc[_0x122d22(_0x5c423d._0x3d6df8,0xd0,_0x5c423d._0x388ba2,-_0x5c423d._0x122d81)](_0x5aa851=>{const _0xfe6173={_0x4905e5:0x73,_0x51a4e1:0x177},_0x181646={_0x111470:0xa4,_0x503025:0xf3};function _0x2d183b(_0x18c08c,_0x40d43a,_0x489d82,_0x161b4a){return _0x122d22(_0x18c08c-0x1b4,_0x40d43a-_0x181646._0x111470,_0x489d82-_0x181646._0x503025,_0x161b4a);}const _0x2ef010=_0x5aa851[_0xd32fc9(_0x51aa05._0x481e9c,0x13b,_0x51aa05._0x2b504a,_0x51aa05._0x2e49c1)][_0xd32fc9(0x261,-_0x51aa05._0xcf039b,0x114,0x197)];function _0xd32fc9(_0xe8ae3d,_0xcfc3c9,_0x2bc2f7,_0x1280c2){return _0x122d22(_0xe8ae3d-_0xfe6173._0x4905e5,_0x2bc2f7-0x39,_0x2bc2f7-_0xfe6173._0x51a4e1,_0xcfc3c9);}return locationPath(_0x5aa851[_0x2d183b(0x2a0,0x2e2,0x446,0x2ca)])+':'+(_0x2ef010[_0xd32fc9(0xf1,_0x51aa05._0x250371,0xde,-_0x51aa05._0x4ccf41)]+0x1)+':'+(_0x2ef010[_0x2d183b(0x391,0x2a4,0x24a,_0x51aa05._0x58e6e4)]+0x1);})[_0x3f8046(0xa1,_0x5c423d._0x5bc528,_0x5c423d._0x4f8ba6,0x1f3)]('\x0a');}function isDocumentSymbol(_0x41b30f){const _0x2087ca={_0x2b20ba:0x51,_0x55dbfd:0x32,_0x3f4106:0x74},_0xfdf48d={_0x5bc285:0x58b},_0x372116={_0x14bd89:0x182,_0x384297:0x148};function _0x2cd10f(_0x50befd,_0x34a949,_0x11d33b,_0xb1572a){return _0x520b4c(_0x50befd-_0x372116._0x14bd89,_0x34a949-_0x372116._0x384297,_0x50befd,_0x11d33b- -0x581);}function _0x1f6318(_0x35e427,_0x3beb20,_0x4b87a5,_0x9f043b){return _0x2edd77(_0x9f043b- -_0xfdf48d._0x5bc285,_0x3beb20-0xc1,_0x4b87a5-0x174,_0x4b87a5);}return _0x1f6318(-0xe2,_0x2087ca._0x2b20ba,-0xce,-0x3a)in _0x41b30f&&_0x2cd10f(_0x2087ca._0x55dbfd,-0x5,-_0x2087ca._0x3f4106,-0x1dc)in _0x41b30f;}function formatSymbols(_0x32e934){const _0x317354={_0x8d963:0xd8,_0xc450cd:0x10e,_0x159a7a:0x605,_0x491d41:0x467,_0x446478:0x4fd,_0x307190:0x233,_0x344d21:0x3bf,_0x5bee6b:0x73e,_0x505c5c:0x5eb},_0x47f3e4={_0xfc5bef:0x480,_0x3ab046:0x447,_0x299a45:0x62e,_0x251e5e:0x334,_0x220400:0x387,_0x74cef9:0x433,_0x34d825:0x15a,_0x19ba1f:0x18c,_0x2040ab:0x6f,_0x4d8fc8:0x4d1,_0x10ac20:0x654,_0x3b94a1:0x67c,_0x167c59:0x5ad,_0x463fac:0x427,_0xfda5e3:0x4d,_0x525fa0:0x1d6,_0x3040af:0x593,_0x5c0edc:0x1d1,_0x4674d1:0x5f,_0x2896e8:0x95,_0x21a1fe:0x94,_0x2bc932:0x59,_0x3a1d45:0x15f,_0x475391:0x98,_0xafe770:0x10c,_0x243ec4:0x208,_0x1fc82c:0x546,_0x2fb3d2:0x4c4,_0x3446ed:0x56b,_0x27cb97:0x2e0,_0x488b20:0x3c4},_0x2a2a08={_0x12a6c1:0x15e,_0x25edf9:0x1ce,_0x1d813a:0x429},_0x2f6036={_0x38fd48:0x13f,_0x4a968c:0x23,_0x4ee9e8:0x154},_0x496c12={_0x3f4a68:0x428,_0x3553d3:0x1c7,_0x5566ce:0x19c};if(_0x32e934[_0x27cc4c(-0x84,0x47,-_0x317354._0x8d963,_0x317354._0xc450cd)]===0x0)return _0x2f14f2(0x40f,_0x317354._0x159a7a,_0x317354._0x491d41,_0x317354._0x446478);function _0x27cc4c(_0xfbde77,_0x7d4f89,_0x117e64,_0x4e5721){return _0x2edd77(_0x7d4f89- -_0x496c12._0x3f4a68,_0x7d4f89-_0x496c12._0x3553d3,_0x117e64-_0x496c12._0x5566ce,_0xfbde77);}function _0x2f14f2(_0x643c18,_0x2f6ede,_0x2dd418,_0x5bd567){return _0x520b4c(_0x643c18-_0x2f6036._0x38fd48,_0x2f6ede-_0x2f6036._0x4a968c,_0x2f6ede,_0x5bd567- -_0x2f6036._0x4ee9e8);}return _0x32e934[_0x2f14f2(_0x317354._0x307190,0x3b8,0x4ca,_0x317354._0x344d21)](_0x160fae=>{if(isDocumentSymbol(_0x160fae))return _0x160fae[_0x2f83f3(_0x47f3e4._0xfc5bef,0x536,_0x47f3e4._0x3ab046,0x58b)]+'\x20('+_0x160fae['kind']+')\x20['+(_0x160fae[_0x2f83f3(_0x47f3e4._0x299a45,0x493,0x782,0x5ec)][_0x2f83f3(_0x47f3e4._0x251e5e,0x2e9,_0x47f3e4._0x220400,_0x47f3e4._0x74cef9)]['line']+0x1)+':'+(_0x160fae[_0x30f3a6(0x61,_0x47f3e4._0x34d825,_0x47f3e4._0x19ba1f,_0x47f3e4._0x2040ab)]['start'][_0x30f3a6(0x56,0xc6,-0xcb,-0x97)]+0x1)+']';function _0x2f83f3(_0x469b4e,_0x44abfd,_0x1b358e,_0x474cce){return _0x2f14f2(_0x469b4e-0x1a0,_0x469b4e,_0x1b358e-0x105,_0x474cce-0x69);}function _0x30f3a6(_0x3493de,_0x3bc0ea,_0x58ceff,_0x525701){return _0x2f14f2(_0x3493de-_0x2a2a08._0x12a6c1,_0x58ceff,_0x58ceff-_0x2a2a08._0x25edf9,_0x3bc0ea- -_0x2a2a08._0x1d813a);}return _0x160fae['name']+'\x20('+_0x160fae[_0x2f83f3(_0x47f3e4._0x4d8fc8,_0x47f3e4._0x10ac20,_0x47f3e4._0x3b94a1,_0x47f3e4._0x167c59)]+')\x20'+locationPath(_0x160fae[_0x2f83f3(_0x47f3e4._0x463fac,0x577,0x5ca,0x52a)][_0x30f3a6(0x1ee,0x104,-0x61,0x120)])+':'+(_0x160fae[_0x30f3a6(-_0x47f3e4._0xfda5e3,0x98,0x154,_0x47f3e4._0x525fa0)][_0x2f83f3(_0x47f3e4._0x3040af,0x740,0x792,0x5ec)][_0x30f3a6(-_0x47f3e4._0x5c0edc,-_0x47f3e4._0x4674d1,-0x203,-0x146)][_0x30f3a6(0x99,-_0x47f3e4._0x2896e8,-_0x47f3e4._0x21a1fe,-_0x47f3e4._0x2bc932)]+0x1)+':'+(_0x160fae[_0x30f3a6(_0x47f3e4._0x3a1d45,_0x47f3e4._0x475391,_0x47f3e4._0xafe770,_0x47f3e4._0x243ec4)][_0x2f83f3(_0x47f3e4._0x1fc82c,0x6f4,_0x47f3e4._0x2fb3d2,0x5ec)][_0x2f83f3(_0x47f3e4._0x3446ed,_0x47f3e4._0x27cb97,_0x47f3e4._0x488b20,_0x47f3e4._0x74cef9)]['character']+0x1);})[_0x2f14f2(0x537,_0x317354._0x5bee6b,0x73f,_0x317354._0x505c5c)]('\x0a');}function formatDiagnostics(_0x33f371){const _0x4007e0={_0xb9ddaf:0x62d,_0x7960ba:0x70d,_0x10ab55:0x61b,_0x5a0056:0x6e5,_0x1dc467:0x6f1,_0x406d85:0x641},_0x340177={_0x2cda46:0x68,_0x3e2e17:0x17d,_0x634252:0x186,_0x25708d:0x666,_0x53790b:0x5ce,_0x57d01b:0x18d,_0x3c4826:0x25b,_0x405a3a:0xe9,_0x2b18b3:0x552,_0x1ac2ac:0x53e,_0x4ea51d:0x42f,_0x417e78:0x6a7},_0x1af19b={_0x4501ac:0xdc,_0x3dfbb2:0x28},_0x32194e={_0x42c902:0xa1};if(_0x33f371[_0x41d094(_0x4007e0._0xb9ddaf,_0x4007e0._0x7960ba,_0x4007e0._0x10ab55,0x797)]===0x0)return'No\x20diagnostics';function _0x41d094(_0x38437c,_0x4a7a45,_0x189953,_0x2dadb7){return _0x2edd77(_0x38437c-0x1be,_0x4a7a45-_0x32194e._0x42c902,_0x189953-0x15d,_0x4a7a45);}function _0x25497a(_0x903491,_0x49e631,_0x407e74,_0x4b23f5){return _0x520b4c(_0x903491-_0x1af19b._0x4501ac,_0x49e631-_0x1af19b._0x3dfbb2,_0x49e631,_0x4b23f5- -0xfe);}return _0x33f371[_0x41d094(0x54b,_0x4007e0._0x5a0056,0x6b2,0x673)](_0x50796c=>{const _0x42e3bd={_0x516bd7:0x32},_0x4ca8f7={_0x4567d6:0x35};function _0x301bcf(_0x492f38,_0x4f8cea,_0x5ac13f,_0x59ad18){return _0x25497a(_0x492f38-_0x4ca8f7._0x4567d6,_0x4f8cea,_0x5ac13f-0xe8,_0x5ac13f- -0x56d);}function _0x710f77(_0x3b3d35,_0x2cf822,_0x5239b1,_0x5df487){return _0x41d094(_0x3b3d35-_0x42e3bd._0x516bd7,_0x5239b1,_0x5239b1-0x2a,_0x5df487-0xd6);}const _0x65a6cb=_0x50796c[_0x301bcf(_0x340177._0x2cda46,_0x340177._0x3e2e17,0x6c,_0x340177._0x634252)][_0x710f77(0x588,0x4d8,_0x340177._0x25708d,_0x340177._0x53790b)];return severityName(_0x50796c[_0x301bcf(-_0x340177._0x57d01b,-_0x340177._0x3c4826,-_0x340177._0x405a3a,-0x201)])+'\x20['+(_0x65a6cb[_0x710f77(_0x340177._0x2b18b3,_0x340177._0x1ac2ac,0x577,_0x340177._0x4ea51d)]+0x1)+':'+(_0x65a6cb[_0x710f77(0x6ad,0x5a5,0x6c5,_0x340177._0x417e78)]+0x1)+']\x20'+_0x50796c['message'];})[_0x25497a(0x653,_0x4007e0._0x1dc467,0x62e,_0x4007e0._0x406d85)]('\x0a');}function formatIncomingCalls(_0x440af6){const _0x51aed0={_0x56051a:0x6fb,_0x543561:0x5f4,_0xa11a25:0x80c,_0x5b8f1e:0x5f1,_0x24039e:0x6ed,_0x1a1ee1:0x716,_0xd4b64:0x477,_0x54ec07:0x454,_0x5151fa:0x70e,_0x220b80:0x5dc},_0x4eab68={_0x2df7f0:0x23,_0x1286c4:0x18f,_0x1f9207:0x7b},_0xe0938a={_0x351d27:0x61,_0x33ae0c:0x1};if(_0x440af6[_0x361f30(_0x51aed0._0x56051a,0x61f,0x62a,_0x51aed0._0x543561)]===0x0)return _0x361f30(_0x51aed0._0xa11a25,_0x51aed0._0x5b8f1e,_0x51aed0._0x24039e,_0x51aed0._0x1a1ee1);function _0x361f30(_0x8fcbb9,_0x329269,_0xff046f,_0x1c4914){return _0x520b4c(_0x8fcbb9-_0xe0938a._0x351d27,_0x329269-0x1b0,_0xff046f,_0x1c4914- -_0xe0938a._0x33ae0c);}function _0x3a8546(_0x43f08e,_0x2d1d99,_0x48a143,_0x2d3739){return _0x2edd77(_0x2d3739-_0x4eab68._0x2df7f0,_0x2d1d99-_0x4eab68._0x1286c4,_0x48a143-_0x4eab68._0x1f9207,_0x43f08e);}return _0x440af6[_0x361f30(0x445,0x644,0x526,0x512)](_0x60aef6=>_0x60aef6[_0x361f30(0x3d7,0x3e8,0x33b,0x4b1)][_0x3a8546(0x425,0x62c,0x654,0x513)])[_0x3a8546(_0x51aed0._0xd4b64,_0x51aed0._0x54ec07,_0x51aed0._0x5151fa,_0x51aed0._0x220b80)]('\x0a');}function formatOutgoingCalls(_0x4aa65c){const _0x3357c2={_0x17fc06:0x6c2,_0x3c3a25:0x4d1,_0x1a0338:0x468,_0x5351ae:0x5f1,_0x39faab:0x5a9},_0x2c7946={_0x48456d:0x35,_0x3aa877:0xbc,_0x9e4471:0x14e},_0x364f34={_0x210fee:0x74,_0x551442:0x1da,_0x2f18e9:0x1b9};if(_0x4aa65c[_0x51a3d9(0x4eb,0x604,0x4e3,0x45c)]===0x0)return _0x51a3d9(_0x3357c2._0x17fc06,0x63d,0x605,_0x3357c2._0x3c3a25);function _0x51a3d9(_0x495257,_0x1c18b4,_0x44a6b1,_0x6c6050){return _0x2edd77(_0x44a6b1-_0x364f34._0x210fee,_0x1c18b4-_0x364f34._0x551442,_0x44a6b1-_0x364f34._0x2f18e9,_0x495257);}function _0x82cfb1(_0x2cee11,_0x501b87,_0x2d03e0,_0x490c26){return _0x520b4c(_0x2cee11-_0x2c7946._0x48456d,_0x501b87-_0x2c7946._0x3aa877,_0x490c26,_0x501b87- -_0x2c7946._0x9e4471);}return _0x4aa65c[_0x51a3d9(0x3e8,_0x3357c2._0x1a0338,0x401,0x345)](_0x493889=>_0x493889['to'][_0x82cfb1(0x680,0x528,0x5d6,0x53a)])[_0x82cfb1(0x77c,_0x3357c2._0x5351ae,0x520,_0x3357c2._0x39faab)]('\x0a');}function toStructured(_0x15681b){const _0x3b5b3e={_0x17a397:0xca,_0x42f5a8:0xf,_0x4793bb:0x19,_0x94aede:0xe1},_0x24a06a={_0x3339eb:0x1ea,_0xa3c4fb:0x15b,_0x24d3b6:0x63b},_0x1664a8={_0x2bc52e:0xc2,_0x46ec76:0x1f4};function _0x4456eb(_0x75270a,_0x2594f6,_0x3fecb8,_0x1e1dd9){return _0x520b4c(_0x75270a-_0x1664a8._0x2bc52e,_0x2594f6-_0x1664a8._0x46ec76,_0x1e1dd9,_0x3fecb8-0x2c);}function _0x54f1e3(_0x2bc36f,_0x93e7e4,_0x6be290,_0x313952){return _0x520b4c(_0x2bc36f-_0x24a06a._0x3339eb,_0x93e7e4-_0x24a06a._0xa3c4fb,_0x93e7e4,_0x6be290- -_0x24a06a._0x24d3b6);}return JSON[_0x54f1e3(-0x105,-_0x3b5b3e._0x17a397,_0x3b5b3e._0x42f5a8,0x114)](JSON[_0x54f1e3(0x178,_0x3b5b3e._0x4793bb,_0x3b5b3e._0x94aede,0x47)](_0x15681b));}async function assertFile(_0x35ee5b){const _0x2bf766={_0x43f303:0x491,_0x2844fd:0x4ea,_0x3cdf78:0x106,_0x478028:0x4b},_0x5d0d50={_0x4b7f3c:0x4c7,_0x4d2b01:0x1b2,_0x2bedb7:0x190},_0x4bffe9={_0x3f07b9:0xbe},_0x35dd4d=await _0x1e0109(_0x35ee5b);function _0x5e598c(_0x200f3f,_0x299fc7,_0x4148a7,_0x394569){return _0x2edd77(_0x200f3f- -0x25,_0x299fc7-_0x4bffe9._0x3f07b9,_0x4148a7-0x84,_0x299fc7);}function _0x39dc1d(_0x2915e9,_0x211a13,_0x1992c3,_0x52f805){return _0x2edd77(_0x1992c3- -_0x5d0d50._0x4b7f3c,_0x211a13-_0x5d0d50._0x4d2b01,_0x1992c3-_0x5d0d50._0x2bedb7,_0x2915e9);}if(!_0x35dd4d[_0x5e598c(0x57b,0x518,_0x2bf766._0x43f303,_0x2bf766._0x2844fd)]())throw new ToolExecutionError(_0x39dc1d(-_0x2bf766._0x3cdf78,-0x182,-_0x2bf766._0x478028,-0x13f)+_0x35ee5b,{'path':_0x35ee5b});}function validatePosition(_0x3f623e,_0xf1bc42){const _0x408025={_0x23e130:0x509,_0x48f720:0x375,_0x38bfe2:0xb7,_0x1d3388:0x20a,_0xd8bf71:0x17b,_0xac2111:0x375,_0x421dba:0x313,_0x3b26ea:0x258},_0x304392={_0x1b8c1b:0x1bd},_0x20d083={_0x2b128b:0x19c};function _0x10f072(_0x33ce31,_0x3de981,_0x100a28,_0x7fcaef){return _0x520b4c(_0x33ce31-_0x20d083._0x2b128b,_0x3de981-0xa7,_0x33ce31,_0x3de981- -0x3d3);}if(!Number[_0x10f072(_0x408025._0x23e130,_0x408025._0x48f720,0x35e,0x348)](_0x3f623e)||_0x3f623e<0x1)throw new ToolExecutionError(_0x3ca035(0x10e,_0x408025._0x38bfe2,_0x408025._0x1d3388,_0x408025._0xd8bf71),{'line':_0x3f623e});function _0x3ca035(_0x21207d,_0xc23af1,_0x4d0efa,_0x1129c6){return _0x2edd77(_0x4d0efa- -0x121,_0xc23af1-0x84,_0x4d0efa-_0x304392._0x1b8c1b,_0xc23af1);}if(!Number[_0x10f072(0x3fe,_0x408025._0xac2111,_0x408025._0x421dba,_0x408025._0x3b26ea)](_0xf1bc42)||_0xf1bc42<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0xf1bc42});}function createLspTool(_0x9bbe5d={}){const _0x481ccf={_0x2eb821:0x477,_0xd1177a:0x1d2,_0x3a320d:0x95,_0x49b892:0x4c6,_0x2967da:0x248,_0x9def67:0x2d3,_0x31d4d5:0x17a,_0x220164:0x44,_0x444de9:0x20,_0x13f523:0x159,_0x1b1c68:0xc4,_0x494487:0xcf,_0x1835b4:0x26e,_0x4edc4a:0x13,_0x9f714:0x233,_0x36acb0:0x168,_0x5ad708:0x11d,_0x345058:0x5f,_0x4e3b41:0x1bf,_0x17364e:0x94,_0x5b8c05:0x420,_0x303d7c:0x436,_0x5f2269:0x6f,_0x5f42d7:0xe4,_0xcbb4cc:0x14f,_0x16ae66:0x2a8,_0x20c1e8:0x42b,_0x41e578:0x392,_0x2abd3b:0x7a0,_0x24e161:0x60d,_0x1897db:0x6f8,_0x15780b:0x791,_0x4725ad:0x768,_0x162959:0x75,_0x389162:0x1db,_0x185054:0x5e,_0x4285d2:0x326,_0x2cb14c:0x3aa,_0x477129:0x36d,_0x353525:0x481},_0x112016={_0x531fdc:0x55f,_0x148021:0x51f,_0x47f67b:0x4c3,_0x2cede0:0x136,_0x5b3988:0x6df,_0x284840:0x5b1,_0x351509:0x1d2,_0x352323:0x2ad,_0x1d0c36:0x474,_0x559c9f:0x14f,_0x228126:0x129,_0x19668e:0x275,_0x141032:0x221,_0x51df55:0x15a,_0x5ce042:0x16c,_0x3410ca:0x372,_0x2e4cb2:0x49b,_0x2ae201:0x4c1,_0x1fc89b:0x3c2,_0x47bc0e:0x58f,_0x49f8c4:0x4cc,_0x340a37:0x146,_0x5c83b2:0x1a9,_0x3b3537:0x4f6,_0x55bd58:0x4b7,_0x77add0:0x444,_0x1d9d76:0x461,_0x4355cf:0x3c5,_0x4baf90:0x4e5,_0x14a0f7:0x36e,_0x5b18fd:0x4b6,_0x364b33:0x4c9,_0x31b3cc:0x3d9,_0x5a0f8a:0x4c3,_0x61bd0b:0x47f,_0x508be1:0x270,_0x3ed60a:0x373,_0x681097:0x453,_0x4135f2:0x2ea,_0x2e7619:0x430,_0x4fe1c6:0x66c,_0x50c66f:0x2ca,_0x394d22:0x3ff,_0x3cafc5:0x478,_0x25df0f:0x34b,_0x3261a6:0x3c2,_0x57e5c7:0x35f,_0x2271a3:0x5be,_0x343d6b:0x490,_0x3b8612:0x49e,_0x3caec1:0x2a8,_0x1b6336:0x555,_0xdd4eb:0x534,_0x52a104:0x51f,_0x10c38b:0x456,_0x41f4ed:0x85a,_0x50bd7b:0x650,_0x46aabb:0x534,_0x4ed4df:0x18f,_0x529ec6:0x26b,_0x239ff1:0x34c,_0x28652a:0x25b,_0x327213:0x6fd,_0x7c301f:0x61d,_0x20fe9d:0x184,_0x25ebad:0x359,_0x9b1cd1:0x2d6,_0x322990:0x2d6,_0x3a229b:0x64c,_0x14f92b:0x53e,_0x1403c2:0x2df,_0xbb2bdd:0x363,_0x5ab81a:0x22b,_0x14001d:0x1ed,_0x3d5e02:0x580},_0x569955={_0x25d05b:0x4f0},_0x386ca8={_0x123116:0x3c,_0x1f168e:0x1d0,_0x455886:0xd4},_0x4fc824=_0x34f9c5[_0x4328dc(0x37a,0x3cc,_0x481ccf._0x2eb821,0x4ab)](_0x9bbe5d['defaultCwd']??process[_0x222547(_0x481ccf._0xd1177a,_0x481ccf._0x3a320d,0xca,0x147)]());function _0x4328dc(_0x3ad4fe,_0x163144,_0x5efe17,_0x284b67){return _0x2edd77(_0x163144- -_0x386ca8._0x123116,_0x163144-_0x386ca8._0x1f168e,_0x5efe17-_0x386ca8._0x455886,_0x3ad4fe);}const _0x40d81a=_0x9bbe5d[_0x4328dc(_0x481ccf._0x49b892,0x338,_0x481ccf._0x2967da,_0x481ccf._0x9def67)]??[];function _0x222547(_0x48bac0,_0x3fa96e,_0x3ddbb6,_0x5345d9){return _0x2edd77(_0x5345d9- -_0x569955._0x25d05b,_0x3fa96e-0x9f,_0x3ddbb6-0x188,_0x3ddbb6);}const _0x370789=_0x9bbe5d[_0x222547(-0x47,-_0x481ccf._0x31d4d5,0x142,0x0)]??'Lsp';return defineTool({'name':_0x370789,'permissionClass':'read','description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':_0x222547(-_0x481ccf._0x220164,-_0x481ccf._0x444de9,0xe5,_0x481ccf._0x13f523),'enum':[_0x222547(-0x13b,-_0x481ccf._0x1b1c68,-_0x481ccf._0x494487,-0x75),_0x222547(-_0x481ccf._0x1835b4,-_0x481ccf._0x4edc4a,-_0x481ccf._0x9f714,-_0x481ccf._0x36acb0),'hover',_0x222547(_0x481ccf._0x5ad708,0x194,0x49,_0x481ccf._0x345058),_0x222547(0x9c,-0x158,-_0x481ccf._0x4e3b41,-_0x481ccf._0x17364e),_0x4328dc(_0x481ccf._0x5b8c05,0x5b9,0x631,_0x481ccf._0x303d7c),_0x222547(-0x229,-0xa9,-_0x481ccf._0x5f2269,-0x91),_0x222547(0x14f,_0x481ccf._0x5f42d7,0x1e5,_0x481ccf._0xcbb4cc),_0x4328dc(_0x481ccf._0x16ae66,_0x481ccf._0x20c1e8,_0x481ccf._0x41e578,0x29f),'diagnostics']},'filePath':{'type':_0x4328dc(_0x481ccf._0x2abd3b,_0x481ccf._0x24e161,_0x481ccf._0x1897db,_0x481ccf._0x1897db)},'line':{'type':_0x4328dc(0x5cb,0x5fe,_0x481ccf._0x15780b,_0x481ccf._0x4725ad)},'character':{'type':_0x4328dc(0x685,0x5fe,0x6af,0x58b)},'query':{'type':'string'}},'required':['operation',_0x222547(_0x481ccf._0x162959,0x198,_0x481ccf._0x389162,_0x481ccf._0x185054),_0x4328dc(0x2b3,_0x481ccf._0x4285d2,_0x481ccf._0x2cb14c,_0x481ccf._0x477129),_0x4328dc(0x52c,_0x481ccf._0x353525,0x408,0x2f0)]},async *'execute'(_0x1bb9b0,_0x14909e){const _0x854a01={_0x54207e:0x4e,_0x27a3d7:0x1e5},_0x986564={_0x73b568:0x177,_0x5362ae:0x192};function _0x5c7c3e(_0x196bed,_0x1a8fcb,_0x2c76a3,_0x509972){return _0x4328dc(_0x196bed,_0x509972- -0x14d,_0x2c76a3-_0x986564._0x73b568,_0x509972-_0x986564._0x5362ae);}const _0x1ae3e5=_0x9bbe5d[_0x4d7fd1(0x389,_0x112016._0x531fdc,0x4e2,_0x112016._0x148021)];if(!_0x1ae3e5)throw new ToolExecutionError('LSP\x20service\x20is\x20not\x20available');function _0x4d7fd1(_0x22900a,_0x1b4d32,_0x541bc5,_0x5e9ccd){return _0x4328dc(_0x22900a,_0x5e9ccd-0x10a,_0x541bc5-_0x854a01._0x54207e,_0x5e9ccd-_0x854a01._0x27a3d7);}if(!_0x1ae3e5[_0x5c7c3e(0x5b1,0x57d,0x322,_0x112016._0x47f67b)]())throw new ToolExecutionError(_0x5c7c3e(0x37e,_0x112016._0x2cede0,0x403,0x2d5));const _0x14e20d=_0x1bb9b0[_0x4d7fd1(_0x112016._0x5b3988,0x631,_0x112016._0x284840,0x646)];validatePosition(_0x1bb9b0['line'],_0x1bb9b0[_0x5c7c3e(0x436,_0x112016._0x351509,_0x112016._0x352323,0x334)]);if(_0x14e20d===_0x5c7c3e(_0x112016._0x1d0c36,_0x112016._0x559c9f,0x477,0x2d3)){if(!_0x1bb9b0[_0x5c7c3e(0x34d,_0x112016._0x228126,0x160,_0x112016._0x19668e)]?.[_0x5c7c3e(_0x112016._0x141032,_0x112016._0x51df55,_0x112016._0x5ce042,0x29a)]())throw new ToolExecutionError(_0x4d7fd1(_0x112016._0x3410ca,_0x112016._0x2e4cb2,0x5b9,_0x112016._0x2ae201));const _0x5889db=await awaitWithAbort(_0x1ae3e5['workspaceSymbol'](_0x1bb9b0[_0x4d7fd1(_0x112016._0x1fc89b,_0x112016._0x47bc0e,0x36b,_0x112016._0x49f8c4)][_0x5c7c3e(_0x112016._0x340a37,0x2fb,_0x112016._0x5c83b2,0x29a)]()),_0x14909e[_0x4d7fd1(_0x112016._0x3b3537,_0x112016._0x55bd58,0x50e,_0x112016._0x77add0)]);return yield createToolOutput(formatSymbols(_0x5889db),{'operation':_0x14e20d,'query':_0x1bb9b0['query'],'symbols':_0x5889db}),void 0x0;}const _0x59ee2e=resolveAllowedPath(_0x4fc824,_0x40d81a,_0x1bb9b0[_0x5c7c3e(0x2c3,_0x112016._0x1d9d76,0x3ae,_0x112016._0x4355cf)]);await assertFile(_0x59ee2e);if(!await awaitWithAbort(_0x1ae3e5[_0x5c7c3e(_0x112016._0x4baf90,_0x112016._0x14a0f7,_0x112016._0x5b18fd,0x383)](_0x59ee2e),_0x14909e[_0x4d7fd1(_0x112016._0x364b33,0x44b,_0x112016._0x31b3cc,0x444)]))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x1bb9b0[_0x5c7c3e(_0x112016._0x5a0f8a,0x3c3,0x303,_0x112016._0x4355cf)],{'filePath':_0x1bb9b0[_0x5c7c3e(_0x112016._0x61bd0b,_0x112016._0x508be1,_0x112016._0x3ed60a,_0x112016._0x4355cf)]});await awaitWithAbort(_0x1ae3e5['touchFile'](_0x59ee2e,!![]),_0x14909e['signal']);const _0x509b62={'file':_0x59ee2e,'line':_0x1bb9b0[_0x4d7fd1(0x575,_0x112016._0x681097,_0x112016._0x4135f2,_0x112016._0x2e7619)]-0x1,'character':_0x1bb9b0[_0x4d7fd1(0x6eb,0x5be,_0x112016._0x4fe1c6,0x58b)]-0x1};switch(_0x14e20d){case _0x4d7fd1(0x2e2,_0x112016._0x50c66f,0x576,_0x112016._0x394d22):{const _0x88115e=await awaitWithAbort(_0x1ae3e5['hover'](_0x509b62),_0x14909e[_0x4d7fd1(_0x112016._0x3cafc5,0x46e,0x4b4,_0x112016._0x77add0)]);return yield createToolOutput(formatHover(_0x88115e),{'operation':_0x14e20d,'filePath':_0x59ee2e,'hover':_0x88115e}),void 0x0;}case _0x5c7c3e(_0x112016._0x25df0f,_0x112016._0x3261a6,0x297,_0x112016._0x57e5c7):{const _0x36c611=await awaitWithAbort(_0x1ae3e5[_0x4d7fd1(0x533,0x655,0x5cb,0x507)](_0x59ee2e),_0x14909e[_0x4d7fd1(0x58f,0x2e0,_0x112016._0x2271a3,0x444)]);return yield createToolOutput(formatDiagnostics(_0x36c611),{'operation':_0x14e20d,'filePath':_0x59ee2e,'diagnostics':_0x36c611}),void 0x0;}case _0x4d7fd1(0x454,0x68e,0x471,0x549):{const _0x5b6e01=await awaitWithAbort(_0x1ae3e5[_0x4d7fd1(_0x112016._0x343d6b,0x396,0x361,_0x112016._0x3b8612)](_0x509b62),_0x14909e[_0x4d7fd1(0x3d7,_0x112016._0x3caec1,0x395,0x444)]);return yield createToolOutput(formatLocations(_0x5b6e01),{'operation':_0x14e20d,'filePath':_0x59ee2e,'locations':_0x5b6e01}),void 0x0;}case _0x4d7fd1(_0x112016._0x1b6336,_0x112016._0xdd4eb,_0x112016._0x52a104,_0x112016._0x10c38b):{const _0x13d35f=await awaitWithAbort(_0x1ae3e5[_0x4d7fd1(_0x112016._0x41f4ed,_0x112016._0x50bd7b,0x5b5,0x6fa)](_0x509b62),_0x14909e['signal']);return yield createToolOutput(formatLocations(_0x13d35f),{'operation':_0x14e20d,'filePath':_0x59ee2e,'locations':_0x13d35f}),void 0x0;}case _0x5c7c3e(0x5c7,0x57f,_0x112016._0x46aabb,0x46c):{const _0x164497=await awaitWithAbort(_0x1ae3e5[_0x5c7c3e(_0x112016._0x4ed4df,0x2d7,_0x112016._0x529ec6,0x31b)](_0x509b62),_0x14909e[_0x4d7fd1(_0x112016._0x239ff1,0x373,0x569,_0x112016._0x77add0)]);return yield createToolOutput(formatLocations(_0x164497),{'operation':_0x14e20d,'filePath':_0x59ee2e,'locations':_0x164497}),void 0x0;}case _0x5c7c3e(0x42c,0x225,_0x112016._0x28652a,0x3c6):{const _0x2edb87=await awaitWithAbort(_0x1ae3e5[_0x4d7fd1(0x5ca,_0x112016._0x327213,0x682,_0x112016._0x7c301f)](_0x59ee2e),_0x14909e['signal']);return yield createToolOutput(formatSymbols(_0x2edb87),{'operation':_0x14e20d,'filePath':_0x59ee2e,'symbols':_0x2edb87}),void 0x0;}case _0x5c7c3e(0x2ae,_0x112016._0x20fe9d,_0x112016._0x25ebad,_0x112016._0x9b1cd1):{const _0x4bd24c=await awaitWithAbort(_0x1ae3e5[_0x5c7c3e(0x233,0x37e,0x293,_0x112016._0x322990)](_0x509b62),_0x14909e['signal']);return yield createToolOutput(formatSymbols(_0x4bd24c),{'operation':_0x14e20d,'filePath':_0x59ee2e,'symbols':toStructured(_0x4bd24c)}),void 0x0;}case _0x5c7c3e(_0x112016._0x3a229b,0x318,_0x112016._0x14f92b,_0x112016._0x5b18fd):{const _0x3c38f3=await awaitWithAbort(_0x1ae3e5['incomingCalls'](_0x509b62),_0x14909e[_0x5c7c3e(_0x112016._0x1403c2,_0x112016._0xbb2bdd,_0x112016._0x5ab81a,_0x112016._0x14001d)]);return yield createToolOutput(formatIncomingCalls(_0x3c38f3),{'operation':_0x14e20d,'filePath':_0x59ee2e,'calls':toStructured(_0x3c38f3)}),void 0x0;}case'outgoingCalls':{const _0x25e3b4=await awaitWithAbort(_0x1ae3e5['outgoingCalls'](_0x509b62),_0x14909e[_0x4d7fd1(_0x112016._0x3d5e02,0x3d2,0x306,0x444)]);return yield createToolOutput(formatOutgoingCalls(_0x25e3b4),{'operation':_0x14e20d,'filePath':_0x59ee2e,'calls':toStructured(_0x25e3b4)}),void 0x0;}}}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x18b6fa}from'crypto';import{mkdir as _0x165ec8,readFile as _0x5288ec,writeFile as _0x594e95}from'fs/promises';import{join as _0x4dc029}from'path';function sanitizeStorageKey(_0x2f563f){const _0x42f84d={_0x2de89c:0x25e,_0x43882c:0x3e5,_0x550f14:0x349,_0x18995c:0x50b,_0x55f6ed:0x59c},_0x547c0b={_0x4c9c17:0xac};function _0x3083d1(_0x33dd5d,_0x5884eb,_0x4901ee,_0x2947ee){return _0x2edd77(_0x5884eb- -0xb7,_0x5884eb-0x47,_0x4901ee-_0x547c0b._0x4c9c17,_0x33dd5d);}function _0x78e17b(_0x35f9fd,_0x153a78,_0x238bd1,_0x4bc5d2){return _0x520b4c(_0x35f9fd-0x7a,_0x153a78-0x1d5,_0x4bc5d2,_0x238bd1- -0xdf);}return _0x2f563f[_0x3083d1(_0x42f84d._0x2de89c,_0x42f84d._0x43882c,_0x42f84d._0x550f14,0x3b7)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x78e17b(_0x42f84d._0x43882c,_0x42f84d._0x18995c,0x45c,_0x42f84d._0x55f6ed);}function storagePath(_0x2f33db){const _0x593a76={_0x35a163:0xb6,_0x2d383f:0x13a,_0x17da44:0x6c,_0x1cc9d3:0xd8,_0x989906:0x2c0,_0x4c3098:0x1d9,_0x352269:0x24d,_0x159dca:0x1e0,_0x176e44:0x106},_0xf07531={_0x1ad489:0x470},_0x4dbc34=sanitizeStorageKey(_0x2f33db[_0x390aa6(-_0x593a76._0x35a163,_0x593a76._0x2d383f,_0x593a76._0x17da44,_0x593a76._0x1cc9d3)][_0x233f2b(0x3af,0x43b,_0x593a76._0x989906,0x45c)]?.['tokenStorageKey']??_0x2f33db[_0x233f2b(_0x593a76._0x4c3098,0x12b,_0x593a76._0x352269,0x255)]);function _0x233f2b(_0x4a10bf,_0x5ab8b6,_0x5b5e18,_0x1dfb10){return _0x2edd77(_0x5ab8b6- -0x224,_0x5ab8b6-0x4d,_0x5b5e18-0x4a,_0x4a10bf);}function _0x390aa6(_0x310a26,_0x2bac88,_0x17df5d,_0x133138){return _0x2edd77(_0x17df5d- -_0xf07531._0x1ad489,_0x2bac88-0x1cf,_0x17df5d-0x94,_0x133138);}return _0x4dc029(_0x2f33db[_0x390aa6(-_0x593a76._0x159dca,0x7c,-_0x593a76._0x176e44,-0x279)],_0x4dbc34+'.json');}async function readStore(_0xa56324){const _0x2250df={_0x29b39a:0x432,_0xc9b31f:0x32d,_0x3cf803:0x35d,_0x2a6875:0x3d2,_0x49f1ba:0x23a,_0x2fecb8:0x55b,_0x46ce62:0x344,_0x3144d8:0x32e,_0x5adecc:0x8e,_0x55a521:0x30b},_0x24cc7c={_0x275905:0x111},_0x3cd4eb={_0xd65f1e:0x19c,_0x3f84a0:0x1e5};function _0x16da82(_0x3e2a38,_0x47f091,_0x5c2dd0,_0x102209){return _0x520b4c(_0x3e2a38-_0x3cd4eb._0xd65f1e,_0x47f091-_0x3cd4eb._0x3f84a0,_0x5c2dd0,_0x102209- -0x34d);}function _0x395313(_0x3bfdf7,_0x484f46,_0x2643af,_0x1cadbf){return _0x2edd77(_0x3bfdf7-0x66,_0x484f46-_0x24cc7c._0x275905,_0x2643af-0xfa,_0x484f46);}try{return JSON[_0x16da82(0x1f0,_0x2250df._0x29b39a,0x396,0x2fd)](await _0x5288ec(_0xa56324,_0x16da82(_0x2250df._0xc9b31f,_0x2250df._0x3cf803,_0x2250df._0x2a6875,_0x2250df._0x49f1ba)));}catch(_0x177708){if(_0x177708 instanceof Error&&_0x395313(_0x2250df._0x2fecb8,0x65d,0x4bd,0x60f)in _0x177708&&_0x177708[_0x16da82(_0x2250df._0x3cf803,0x248,_0x2250df._0x46ce62,_0x2250df._0x3144d8)]===_0x16da82(_0x2250df._0x5adecc,_0x2250df._0x55a521,0xcc,0x22e))return{};throw _0x177708;}}async function writeStore(_0x4fd36b,_0x3cb98b){const _0x1890a2={_0x14ff77:0x4b,_0x3556eb:0x14d,_0x4707f0:0x299},_0x450d8e={_0x1a3e72:0x68d};await _0x165ec8(_0x4dc029(_0x4fd36b,'..'),{'recursive':!![]});function _0x2491e0(_0xfd5bff,_0x50d95b,_0x21d4d3,_0x3d559d){return _0x520b4c(_0xfd5bff-0x179,_0x50d95b-0xd6,_0xfd5bff,_0x21d4d3- -_0x450d8e._0x1a3e72);}function _0x27da61(_0x5474b1,_0x47652e,_0x2dcf13,_0x4d9949){return _0x520b4c(_0x5474b1-0x1a6,_0x47652e-0x66,_0x5474b1,_0x2dcf13- -0x5cf);}await _0x594e95(_0x4fd36b,JSON[_0x27da61(_0x1890a2._0x14ff77,0x29d,_0x1890a2._0x3556eb,_0x1890a2._0x4707f0)](_0x3cb98b,null,0x2),_0x27da61(0xd5,-0x16f,-0x48,0xc0));}async function updateStore(_0x4bbb9e,_0x13a270){const _0x243de7=await readStore(_0x4bbb9e);_0x13a270(_0x243de7),await writeStore(_0x4bbb9e,_0x243de7);}function createMcpOAuthProvider(_0x5b9f93){const _0x474c5c={_0x14d358:0xf3,_0x65a1b0:0xa7,_0x560319:0x1bb,_0xc7e0bb:0xdc,_0x5118e5:0x71,_0x2d417a:0x294,_0x510387:0x4e,_0xea6372:0x27,_0x10a9fd:0x8c,_0x54564f:0x126,_0x1de7af:0x1ea,_0x480f9d:0x29,_0x5d52fe:0x155,_0x99e463:0xd,_0x5df0da:0x7d,_0x354bf1:0x5,_0x2c7c16:0xfe,_0x44e352:0xe5,_0x15ab7b:0xa7,_0x9090d9:0x325,_0x135245:0xa8,_0x3e7843:0x48,_0x1f056b:0x12b,_0x1f9af2:0xc1},_0x20ad2d={_0x5b9128:0x516,_0x3a9a79:0x5cf,_0x53ac0b:0x44b},_0x451cb2={_0x1117bf:0x209,_0x1e91a4:0x4cc,_0x383171:0x15d,_0x5d0fd8:0xf0,_0xace371:0x490,_0x4af44d:0x314,_0x249578:0x24a,_0x159a12:0x176,_0xe651b4:0x201,_0x3f219f:0x34b,_0x24e99e:0x3cc,_0x1e56fe:0x2c7,_0x613bb2:0x44a,_0x1bdc2e:0x3f3,_0xf23db8:0x2bf,_0x5308d1:0xcc,_0x169ab9:0xe2,_0xe46743:0x289,_0x26d1be:0x1ab},_0x3ef755={_0xff6a8f:0x4fc},_0x327aef={_0x4cb1d6:0x812,_0x1d9d67:0x7d1,_0x2c4316:0x8ea,_0x394c3e:0x7d1},_0x5b1380={_0x556c3f:0x732,_0x160075:0x7e2},_0x473b23={_0x283b22:0x61d,_0x820f3a:0x16},_0x260e37={_0x803b4d:0x2fd,_0x158059:0x310},_0x138523={_0x1c449b:0x454,_0x6abf7c:0xd6},_0x4ed050={_0x1a663c:0x168},_0xc92124=storagePath(_0x5b9f93);function _0x21da3d(_0x1755a5,_0x3c4c25,_0x1bf60d,_0x29390a){return _0x2edd77(_0x3c4c25- -0x583,_0x3c4c25-0xc,_0x1bf60d-_0x4ed050._0x1a663c,_0x29390a);}const _0x30d264=_0x5b9f93[_0x21da3d(-_0x474c5c._0x14d358,-_0x474c5c._0x65a1b0,-_0x474c5c._0x560319,-0x15e)][_0x21da3d(0xca,_0x474c5c._0xc7e0bb,0xc1,-_0x474c5c._0x5118e5)]?.['scopes']?.[_0xe60424(_0x474c5c._0x2d417a,0x165,0x2ba,0x181)]('\x20');function _0xe60424(_0x32da2a,_0x22fd3a,_0x596382,_0x11175e){return _0x2edd77(_0x22fd3a- -_0x138523._0x1c449b,_0x22fd3a-0x95,_0x596382-_0x138523._0x6abf7c,_0x32da2a);}const _0x113702={'client_name':_0x21da3d(_0x474c5c._0x510387,_0x474c5c._0xea6372,_0x474c5c._0x10a9fd,-_0x474c5c._0x54564f),'redirect_uris':[_0x5b9f93[_0xe60424(_0x474c5c._0x1de7af,0x128,0x54,-_0x474c5c._0x480f9d)]],'grant_types':[_0x21da3d(-0xb3,-_0x474c5c._0x5d52fe,-0xec,-_0x474c5c._0x99e463),'refresh_token'],'response_types':[_0x21da3d(-0x1b2,-0x8e,_0x474c5c._0x5df0da,-_0x474c5c._0x354bf1)],'token_endpoint_auth_method':_0x21da3d(-_0x474c5c._0x2c7c16,-_0x474c5c._0x44e352,0x43,-0x13c),..._0x30d264?{'scope':_0x30d264}:{}};return{'clientMetadataUrl':_0x5b9f93[_0x21da3d(0xac,-_0x474c5c._0x15ab7b,0x30,0xbc)][_0xe60424(0xf0,0x20b,0x1b9,_0x474c5c._0x9090d9)]?.[_0x21da3d(-_0x474c5c._0x135245,-_0x474c5c._0x3e7843,_0x474c5c._0x1f056b,_0x474c5c._0x1f9af2)],get 'redirectUrl'(){const _0xfb1ec8={_0x24de77:0x1e2};function _0x5ebb10(_0x3736ac,_0x5722b9,_0x5ebc63,_0x1e4a64){return _0x21da3d(_0x3736ac-0x0,_0x5722b9-0x304,_0x5ebc63-_0xfb1ec8._0x24de77,_0x1e4a64);}return _0x5b9f93[_0x5ebb10(0x3f5,_0x260e37._0x803b4d,0x26d,_0x260e37._0x158059)];},get 'clientMetadata'(){return _0x113702;},async 'state'(){const _0x1ace38={_0x44546a:0x11},_0x20ee0e={_0x86f186:0x185,_0x20e328:0x6fc},_0x3d541a=await readStore(_0xc92124);function _0x516fb6(_0x24bf50,_0x44479b,_0x4d7262,_0x544a13){return _0x21da3d(_0x24bf50-_0x20ee0e._0x86f186,_0x24bf50-_0x20ee0e._0x20e328,_0x4d7262-0x8e,_0x4d7262);}if(_0x3d541a[_0x418d7a(0x7ea,0x74a,_0x327aef._0x4cb1d6,_0x327aef._0x1d9d67)])return _0x3d541a[_0x418d7a(0x895,0x664,_0x327aef._0x2c4316,_0x327aef._0x394c3e)];const _0x429aab=_0x18b6fa();function _0x418d7a(_0x2cf630,_0x255e69,_0x3a1ee7,_0x43751d){return _0xe60424(_0x2cf630,_0x43751d-_0x473b23._0x283b22,_0x3a1ee7-_0x473b23._0x820f3a,_0x43751d-0xb3);}return await updateStore(_0xc92124,_0x4e77dc=>{function _0x552c2e(_0x42149c,_0x2645c4,_0x55f45f,_0x2a713e){return _0x418d7a(_0x2645c4,_0x2645c4-0x3d,_0x55f45f-0x63,_0x55f45f-_0x1ace38._0x44546a);}_0x4e77dc[_0x552c2e(0x6f3,_0x5b1380._0x556c3f,_0x5b1380._0x160075,0x931)]=_0x429aab;}),_0x429aab;},async 'clientInformation'(){return(await readStore(_0xc92124))['clientInformation'];},async 'saveClientInformation'(_0x592ee8){await updateStore(_0xc92124,_0x4f58fb=>{_0x4f58fb['clientInformation']=_0x592ee8;});},async 'tokens'(){return(await readStore(_0xc92124))['tokens'];},async 'saveTokens'(_0x579f04){const _0xea7db0={_0x3251da:0x261,_0x347d25:0x1b4},_0x4dfe08={_0x54bfa9:0xec};await updateStore(_0xc92124,_0x56b941=>{function _0x3ddc58(_0x369d86,_0x54e34a,_0x18e58a,_0x1f0de6){return _0x4535(_0x18e58a- -_0x4dfe08._0x54bfa9,_0x1f0de6);}_0x56b941[_0x3ddc58(_0xea7db0._0x3251da,0x338,_0xea7db0._0x347d25,0x200)]=_0x579f04;});},async 'redirectToAuthorization'(_0x95a66e){await _0x5b9f93['onRedirect'](_0x95a66e);},async 'saveCodeVerifier'(_0x658b02){await updateStore(_0xc92124,_0x40f6ad=>{_0x40f6ad['codeVerifier']=_0x658b02;});},async 'codeVerifier'(){const _0x5ed17c={_0x2e609c:0x77,_0x48205d:0x9f},_0x277f8f=(await readStore(_0xc92124))[_0x12c457(_0x3ef755._0xff6a8f,0x55e,0x4db,0x35c)];function _0x12c457(_0x3853fa,_0x26e473,_0x33be44,_0x28920a){return _0x21da3d(_0x3853fa-_0x5ed17c._0x2e609c,_0x3853fa-0x4cb,_0x33be44-_0x5ed17c._0x48205d,_0x26e473);}if(!_0x277f8f)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x277f8f;},async 'invalidateCredentials'(_0x4ff692){await updateStore(_0xc92124,_0x326f11=>{(_0x4ff692===_0x50aae3(0x2de,0x349,0x201,_0x451cb2._0x1117bf)||_0x4ff692==='client')&&(_0x326f11[_0x5d3ce3(_0x451cb2._0x1e91a4,0x355,0x3de,0x3cc)]=void 0x0);(_0x4ff692==='all'||_0x4ff692===_0x50aae3(_0x451cb2._0x383171,0x215,0x135,_0x451cb2._0x5d0fd8))&&(_0x326f11[_0x5d3ce3(_0x451cb2._0xace371,_0x451cb2._0x4af44d,0x3d0,_0x451cb2._0x249578)]=void 0x0);function _0x50aae3(_0x7764f3,_0x557bb4,_0x328a11,_0x69ddef){return _0x4535(_0x328a11- -0x16b,_0x557bb4);}(_0x4ff692===_0x50aae3(_0x451cb2._0x159a12,0x2d0,_0x451cb2._0xe651b4,0x2d9)||_0x4ff692===_0x5d3ce3(_0x451cb2._0x3f219f,0x26c,_0x451cb2._0x24e99e,_0x451cb2._0x1e56fe))&&(_0x326f11[_0x5d3ce3(0x516,_0x451cb2._0x613bb2,_0x451cb2._0x1bdc2e,0x2e4)]=void 0x0,_0x326f11[_0x50aae3(0x22f,0x41d,_0x451cb2._0xf23db8,0x34b)]=void 0x0);function _0x5d3ce3(_0x254e18,_0x4c411f,_0x91fb71,_0x1030b0){return _0x4535(_0x4c411f-0x74,_0x91fb71);}(_0x4ff692===_0x50aae3(_0x451cb2._0x5308d1,0x16d,_0x451cb2._0xe651b4,_0x451cb2._0x169ab9)||_0x4ff692===_0x50aae3(0x34c,0xe3,0x1d6,0x151))&&(_0x326f11[_0x50aae3(_0x451cb2._0xe46743,0x225,_0x451cb2._0x26d1be,0x2a7)]=void 0x0);});},async 'saveDiscoveryState'(_0x14cd4f){const _0x3150ce={_0x436e8d:0x75,_0xfce14:0x180},_0x2c9513={_0x58a9c4:0x38b};await updateStore(_0xc92124,_0x1f147b=>{function _0x593c9b(_0x2fe19b,_0x18a92d,_0xf2816a,_0x10a291){return _0x4535(_0x2fe19b- -_0x2c9513._0x58a9c4,_0x18a92d);}_0x1f147b[_0x593c9b(-_0x3150ce._0x436e8d,-0x113,0x68,-_0x3150ce._0xfce14)]=_0x14cd4f;});},async 'discoveryState'(){const _0x162006={_0x3ad859:0xed};function _0x3a1f4c(_0xb5eae2,_0x16fa88,_0x202914,_0x500fb1){return _0xe60424(_0x202914,_0x16fa88-0x52f,_0x202914-0x16f,_0x500fb1-_0x162006._0x3ad859);}return(await readStore(_0xc92124))[_0x3a1f4c(_0x20ad2d._0x5b9128,_0x20ad2d._0x3a9a79,0x6f8,_0x20ad2d._0x53ac0b)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x520b4c(0x4fd,0x6b8,0x3ec,0x569),'message':_0x40a931=>_0x2edd77(0x346,0x39f,0x270,0x38e)+_0x40a931+_0x520b4c(0x63d,0x941,0x656,0x7b6)},'connect':{'code':_0x520b4c(0x667,0x5d5,0x599,0x691),'message':_0x355829=>_0x2edd77(0x346,0x455,0x2b7,0x28d)+_0x355829+_0x520b4c(0x89d,0x677,0x69d,0x7d9)},'discover':{'code':_0x2edd77(0x5ae,0x42f,0x71c,0x671),'message':_0xf87a1=>'MCP\x20server\x20'+_0xf87a1+_0x2edd77(0x5d4,0x545,0x5d0,0x5c6)},'toolCall':{'code':_0x520b4c(0x4c9,0x573,0x5b7,0x605),'message':_0x516df=>_0x520b4c(0x514,0x5d2,0x5aa,0x4cc)+_0x516df+_0x520b4c(0x6ca,0x91a,0x897,0x7e2)}},timeoutMessageByOperation={'close':_0x5e491f=>'MCP\x20server\x20'+_0x5e491f+_0x2edd77(0x622,0x6cc,0x605,0x721),'connect':_0xdf8239=>_0x520b4c(0x647,0x53d,0x3cd,0x4cc)+_0xdf8239+_0x520b4c(0x576,0x845,0x6f0,0x6a9),'discover':_0x2690f4=>_0x520b4c(0x66e,0x3ca,0x61c,0x4cc)+_0x2690f4+_0x520b4c(0x6e6,0x554,0x6e0,0x590),'toolCall':_0xa742ae=>_0x2edd77(0x346,0x1b6,0x47c,0x4bc)+_0xa742ae+_0x2edd77(0x417,0x57f,0x3a6,0x2c8)};function toMcpSafeError(_0x2de6cf){const _0x269d01={_0x3c5ac1:0x25b,_0x4d59e4:0x2cb,_0x1b59f0:0x548,_0x3e99c7:0x44b,_0x1929cc:0x4aa,_0x3398f3:0x27f,_0x258622:0x7e,_0x1554a4:0x114,_0x5e1c72:0x235,_0x518320:0xe7,_0x59c39a:0x555,_0x38ec85:0x2e0,_0x154ecb:0x50d,_0x1016e4:0x53e,_0x2d2e32:0x31f,_0x3b857a:0x3c2,_0x5d22d7:0x302,_0x48f640:0x2ae,_0x359e53:0x399,_0x2e1ecc:0x504,_0x3a5647:0x42d,_0x516b8a:0x28a},_0x363463={_0x345ee1:0xc5,_0x3f5f64:0x1df},_0x331245={_0x41842f:0x148,_0x2ddc08:0xb9,_0x28e639:0x96};if(_0x2de6cf[_0x354e70(_0x269d01._0x3c5ac1,0x3cf,_0x269d01._0x4d59e4,0x3a4)]instanceof UnauthorizedError)return Object['freeze']({'code':_0x354e70(_0x269d01._0x1b59f0,_0x269d01._0x3e99c7,0x690,_0x269d01._0x1929cc),'message':'MCP\x20server\x20'+_0x2de6cf[_0x354e70(0x28a,0x2f3,0x26d,_0x269d01._0x3398f3)]+'\x20requires\x20authentication'});function _0x47d060(_0x34b3d9,_0x5264c0,_0x404b96,_0x42f737){return _0x2edd77(_0x34b3d9- -_0x331245._0x41842f,_0x5264c0-_0x331245._0x2ddc08,_0x404b96-_0x331245._0x28e639,_0x42f737);}function _0x354e70(_0x1e4213,_0x1428e8,_0x3e9250,_0x4d61b8){return _0x2edd77(_0x1e4213- -_0x363463._0x345ee1,_0x1428e8-0xd6,_0x3e9250-_0x363463._0x3f5f64,_0x4d61b8);}if(_0x2de6cf[_0x47d060(0x1d8,_0x269d01._0x258622,0x278,_0x269d01._0x1554a4)]instanceof McpError&&_0x2de6cf[_0x354e70(0x25b,_0x269d01._0x5e1c72,_0x269d01._0x518320,0x32f)][_0x354e70(0x430,0x594,_0x269d01._0x59c39a,0x321)]===ErrorCode[_0x354e70(_0x269d01._0x38ec85,0x27d,0x317,0x150)])return Object[_0x354e70(_0x269d01._0x154ecb,0x41b,0x4c7,_0x269d01._0x1016e4)]({'code':_0x354e70(0x418,0x2e4,_0x269d01._0x2d2e32,0x50d),'message':timeoutMessageByOperation[_0x2de6cf['operation']](_0x2de6cf[_0x354e70(0x28a,_0x269d01._0x3b857a,_0x269d01._0x4d59e4,_0x269d01._0x5d22d7)])});const _0x381c2a=failureByOperation[_0x2de6cf['operation']];return Object['freeze']({'code':_0x381c2a[_0x354e70(0x430,0x2e7,0x457,_0x269d01._0x48f640)],'message':_0x381c2a[_0x47d060(_0x269d01._0x359e53,_0x269d01._0x2e1ecc,0x2ea,_0x269d01._0x3a5647)](_0x2de6cf[_0x354e70(_0x269d01._0x516b8a,0x38f,0x375,0x1a7)])});}function redactMcpDiagnostic(_0xc3796c,_0x52d68d){const _0x574c87={_0x3d9c76:0x318,_0x136e01:0x465,_0x4f06a0:0x447,_0x4e75ec:0x557,_0x512832:0x34c,_0x448776:0x4d3,_0x216b80:0x3f5,_0x5201bf:0x4e7,_0x29a6c6:0x317,_0x450c11:0x34c,_0x336013:0x2f9,_0xbfe577:0x4c5,_0x1fee27:0x35e,_0x1692c2:0x413,_0x4cf43f:0x3ac},_0x2c6de7={_0x1c7d21:0x111},_0x4f5492={_0x55c42b:0x1dc,_0x42222b:0x2a9},_0x1de739=[...new Set(_0x52d68d[_0x348d49(0x48f,_0x574c87._0x3d9c76,0x3fd,_0x574c87._0x136e01)](_0x45d274=>_0x45d274['length']>0x0))][_0x29bcdc(_0x574c87._0x4f06a0,_0x574c87._0x4e75ec,0x593,0x3b3)]((_0xab08b5,_0x3bcd38)=>_0x3bcd38[_0x29bcdc(0x35e,0x279,0x3db,0x438)]-_0xab08b5['length']);if(_0xc3796c[_0x348d49(0x3d7,0x4ca,_0x574c87._0x512832,0x415)]===0x0||_0x1de739[_0x29bcdc(0x35e,_0x574c87._0x448776,_0x574c87._0x216b80,_0x574c87._0x5201bf)]===0x0)return _0xc3796c;let _0x2a382d='',_0x5db81f=0x0;function _0x348d49(_0x242cfd,_0x241ceb,_0x541cc6,_0xffb6ff){return _0x520b4c(_0x242cfd-0x1a,_0x241ceb-_0x4f5492._0x55c42b,_0x241ceb,_0x541cc6- -_0x4f5492._0x42222b);}function _0x29bcdc(_0x107e23,_0x57f264,_0x141bee,_0xfb5bf7){return _0x2edd77(_0x107e23- -_0x2c6de7._0x1c7d21,_0x57f264-0x11c,_0x141bee-0x38,_0x141bee);}while(_0x5db81f<_0xc3796c[_0x348d49(_0x574c87._0x29a6c6,0x221,_0x574c87._0x450c11,0x407)]){const _0x494200=_0x1de739[_0x348d49(0x3df,_0x574c87._0x336013,0x351,_0x574c87._0xbfe577)](_0x5a8e1f=>_0xc3796c['startsWith'](_0x5a8e1f,_0x5db81f));_0x494200?(_0x2a382d+='[REDACTED]',_0x5db81f+=_0x494200[_0x29bcdc(_0x574c87._0x1fee27,0x38c,_0x574c87._0x1692c2,_0x574c87._0x4cf43f)]):(_0x2a382d+=_0xc3796c[_0x5db81f],_0x5db81f+=0x1);}return _0x2a382d;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3caf64){const _0x100bf2={_0x3c3740:0x182,_0x141ce8:0x205,_0x5828b9:0x9b,_0x397b05:0x76},_0x17decb={_0x262cf4:0x47};function _0x117625(_0x3f618f,_0x10e59d,_0x443e1d,_0x57a711){return _0x520b4c(_0x3f618f-_0x17decb._0x262cf4,_0x10e59d-0x81,_0x57a711,_0x3f618f- -0x5f0);}function _0x3c7fc6(_0x1ead22,_0x5e2a92,_0x4d2679,_0x4cd4d1){return _0x2edd77(_0x1ead22- -0x476,_0x5e2a92-0x16d,_0x4d2679-0x9,_0x4cd4d1);}return typeof _0x3caf64===_0x3c7fc6(_0x100bf2._0x3c3740,0x24a,_0x100bf2._0x141ce8,0x226)&&_0x3caf64!==null||typeof _0x3caf64===_0x117625(-_0x100bf2._0x5828b9,0xdf,-0xc5,-_0x100bf2._0x397b05);}function createOwnedMcpSafeError(_0x5ea42c){const _0x7ae69f={_0x5928a2:0x372,_0xb92f5c:0x1a9,_0x595cc9:0x363,_0x26a47c:0x320},_0x2fcbdb={_0x42a992:0x1d0},_0x29d4b2={_0x51bc2a:0x48a},_0x2cf869=toMcpSafeError(_0x5ea42c),_0x2ad9a0=Object['freeze']({'code':_0x2cf869[_0x191e77(0x169,0x37b,0x2f8,0x1f1)],'message':_0x2cf869[_0x191e77(_0x7ae69f._0x5928a2,_0x7ae69f._0xb92f5c,0x1f9,0x1dd)]});function _0x191e77(_0x4e72f2,_0x4d9081,_0x217260,_0x53b448){return _0x520b4c(_0x4e72f2-0x6a,_0x4d9081-0xc,_0x217260,_0x53b448- -_0x29d4b2._0x51bc2a);}ownedMcpSafeErrors[_0x191e77(_0x7ae69f._0x595cc9,0x1c7,0x212,_0x7ae69f._0x26a47c)](_0x2cf869,_0x2ad9a0);function _0x168209(_0x182ff9,_0x1d38f6,_0xcc8685,_0x2eaef6){return _0x520b4c(_0x182ff9-_0x2fcbdb._0x42a992,_0x1d38f6-0xc7,_0x1d38f6,_0x2eaef6- -0x5b0);}return _0x2cf869;}function extractOwnedMcpSafeError(_0x56d611){const _0x54ce78={_0xce9334:0x1d1,_0x281269:0x2a8,_0x1fe705:0x14b,_0x375146:0x262,_0x3e082f:0x2c,_0x319206:0x219},_0x37fae0={_0x52b411:0x4be,_0x5e6ef5:0x1db,_0x5c2bd8:0x1bc},_0x17e8c2={_0x2184bb:0xb};function _0x5cd471(_0x3f8de9,_0x128eb2,_0x14071a,_0x5ded43){return _0x520b4c(_0x3f8de9-0x1cc,_0x128eb2-_0x17e8c2._0x2184bb,_0x5ded43,_0x128eb2- -0xbe);}if(!isWeakMapKey(_0x56d611))return void 0x0;const _0x3efa5a=ownedMcpSafeErrors[_0x51cbd2(-_0x54ce78._0xce9334,-_0x54ce78._0x281269,-_0x54ce78._0x1fe705,-0x86)](_0x56d611);if(!_0x3efa5a)return void 0x0;const _0x20cc88=Object[_0x51cbd2(_0x54ce78._0x375146,-_0x54ce78._0x3e082f,0x114,0x118)]({'code':_0x3efa5a['code'],'message':_0x3efa5a['message']});function _0x51cbd2(_0xb4ad45,_0x1d6b88,_0x2fa668,_0x33c128){return _0x2edd77(_0x2fa668- -_0x37fae0._0x52b411,_0x1d6b88-_0x37fae0._0x5e6ef5,_0x2fa668-_0x37fae0._0x5c2bd8,_0x33c128);}return ownedMcpSafeErrors[_0x51cbd2(0xac,0xb3,0x166,_0x54ce78._0x319206)](_0x20cc88,_0x3efa5a),_0x20cc88;}function ownValue(_0x3852ca,_0x37b6fe){return _0x3852ca&&Object['hasOwn'](_0x3852ca,_0x37b6fe)?_0x3852ca[_0x37b6fe]:void 0x0;}function isToolPermissionClass(_0x2a8aa6){const _0x1640c8={_0x4528b9:0xe1,_0x4176cb:0x87,_0x3625d4:0x31c,_0x2d5165:0x59c},_0x436c19={_0x29059f:0x161};function _0x129930(_0x477ff3,_0x4169e8,_0x28fd25,_0x4b6c68){return _0x520b4c(_0x477ff3-0x13a,_0x4169e8-0x4a,_0x477ff3,_0x4169e8- -0xdb);}function _0x2538f1(_0x2ddf00,_0x1b242e,_0xf27a84,_0xbb5ca2){return _0x520b4c(_0x2ddf00-0xed,_0x1b242e-_0x436c19._0x29059f,_0xbb5ca2,_0x1b242e- -0x72c);}return _0x2a8aa6===_0x2538f1(0x84,0xc2,_0x1640c8._0x4528b9,_0x1640c8._0x4176cb)||_0x2a8aa6===_0x129930(0x4e0,0x3f0,0x53f,_0x1640c8._0x3625d4)||_0x2a8aa6===_0x129930(_0x1640c8._0x2d5165,0x65d,0x60d,0x56a);}function suggestedPermissionClass(_0x58840f){const _0x447fa8={_0x306916:0x44f,_0x143a38:0x35a,_0x338ad6:0x276,_0x3eb21a:0x189,_0x30662b:0x2ea,_0x549289:0x40,_0x57506a:0xd},_0xc3e8aa={_0x3049e1:0x17b,_0xee28b1:0x271},_0xcabb39={_0x2efc8e:0x1e9,_0x3ad27a:0x169};function _0x3a2f61(_0x3cbcaf,_0xe88cff,_0x2473eb,_0x25d997){return _0x520b4c(_0x3cbcaf-_0xcabb39._0x2efc8e,_0xe88cff-_0xcabb39._0x3ad27a,_0x2473eb,_0x3cbcaf- -0x665);}function _0x22ceb4(_0x23d46e,_0x5b22d0,_0x30c27e,_0x1cefb0){return _0x520b4c(_0x23d46e-0xcd,_0x5b22d0-_0xc3e8aa._0x3049e1,_0x23d46e,_0x5b22d0- -_0xc3e8aa._0xee28b1);}const _0x593282=_0x58840f[_0x22ceb4(_0x447fa8._0x306916,_0x447fa8._0x143a38,0x35c,_0x447fa8._0x338ad6)]?.['readOnlyHint'];if(_0x593282===!![])return _0x3a2f61(_0x447fa8._0x3eb21a,_0x447fa8._0x30662b,0x8b,_0x447fa8._0x549289);if(_0x593282===![])return _0x3a2f61(-0x19a,-0x128,-_0x447fa8._0x57506a,-0x3f);return void 0x0;}function isJsonValue(_0x179597){const _0x4f5c17={_0x5da7d8:0x361,_0x39cbbc:0x1ff,_0x26687a:0x1c0,_0x2e89e1:0x402,_0x142d52:0x21a,_0x271fdd:0x296,_0x21d83b:0x35c,_0x4fbb65:0x207,_0xf1004f:0x275,_0x2f89ff:0x437,_0x1f9038:0x19f,_0x2931e0:0xd1,_0x4d9873:0xcd},_0x39488b={_0x200bee:0x7e},_0x41f236={_0x9315c9:0x18b};function _0x1d3d34(_0x4b1e5f,_0x1ef5df,_0xe7ece5,_0xe25af0){return _0x520b4c(_0x4b1e5f-_0x41f236._0x9315c9,_0x1ef5df-0x30,_0xe25af0,_0xe7ece5- -0x50e);}if(_0x179597===null||typeof _0x179597===_0x1d3d34(_0x4f5c17._0x5da7d8,_0x4f5c17._0x39cbbc,0x2c1,0x22e)||typeof _0x179597===_0x1d3d34(_0x4f5c17._0x26687a,_0x4f5c17._0x2e89e1,0x2b2,0x398)||typeof _0x179597===_0x1d3d34(0x207,0x149,0xef,-0x81))return!![];function _0x482e23(_0x4c9440,_0x4ac5cf,_0x32d7a2,_0x4d74b3){return _0x520b4c(_0x4c9440-0x1d,_0x4ac5cf-_0x39488b._0x200bee,_0x32d7a2,_0x4d74b3- -0x2da);}if(Array[_0x482e23(_0x4f5c17._0x142d52,_0x4f5c17._0x271fdd,0x3ca,_0x4f5c17._0x21d83b)](_0x179597))return _0x179597['every'](isJsonValue);if(!isObject(_0x179597))return![];return Object[_0x1d3d34(_0x4f5c17._0x4fbb65,_0x4f5c17._0xf1004f,0x2c2,_0x4f5c17._0x2f89ff)](_0x179597)[_0x1d3d34(_0x4f5c17._0x1f9038,0x1ef,_0x4f5c17._0x2931e0,_0x4f5c17._0x4d9873)](isJsonValue);}function projectMcpTools(_0x5d1531){const _0x4281fc={_0x2e6eff:0x3f5,_0x57424d:0x4c9,_0x1fce13:0x404,_0x148a0f:0x2c3,_0x5ee258:0x17c,_0x1caa26:0x265,_0x3c7c77:0x319,_0x5d40ef:0xbc,_0x654a5c:0x182,_0x544ae1:0x45,_0x1f6cd5:0x185,_0x4f69d1:0xf4,_0xaa2265:0x112,_0x30932b:0x233,_0x355c29:0x369,_0x5b540d:0x4e,_0x48c2ed:0x4f,_0x1f4f40:0x103,_0x8f45ae:0x25,_0x4156c3:0x40,_0x597226:0xed,_0x22f1f7:0x1c,_0x37f8ae:0x331,_0x5326f9:0x1b7,_0x22fd80:0x30b,_0x2111d7:0x38d,_0x137996:0x2c1,_0x3befb7:0x4e8,_0x140410:0x13,_0x1f61b8:0x118,_0x239950:0x7c,_0x393410:0x586,_0x36e1c9:0x28d,_0x28c176:0x3e3};function _0x1bc5c7(_0x5474d4,_0x9c7f61,_0x134132,_0x5af8b7){return _0x520b4c(_0x5474d4-0x197,_0x9c7f61-0x1a0,_0x9c7f61,_0x134132- -0x6f3);}const _0x5c4010=[],_0x541cba=[];function _0x5db898(_0x3032fc,_0x34b0d3,_0x234b61,_0x26d05b){return _0x520b4c(_0x3032fc-0x162,_0x34b0d3-0x65,_0x3032fc,_0x234b61- -0x3bd);}for(const _0xc58e8d of _0x5d1531[_0x5db898(_0x4281fc._0x2e6eff,_0x4281fc._0x57424d,_0x4281fc._0x1fce13,_0x4281fc._0x148a0f)]){const _0x20e85f=ownValue(_0x5d1531[_0x1bc5c7(-0x136,_0x4281fc._0x5ee258,-0x29,-0x18c)],_0xc58e8d[_0x5db898(_0x4281fc._0x1caa26,_0x4281fc._0x3c7c77,0x2b9,0x127)]),_0xc0bc11=isToolPermissionClass(_0x20e85f)?_0x20e85f:void 0x0,_0x36d4d5=_0xc0bc11??_0x1bc5c7(-_0x4281fc._0x5d40ef,_0x4281fc._0x654a5c,_0x4281fc._0x544ae1,_0x4281fc._0x1f6cd5),_0x20b27e=suggestedPermissionClass(_0xc58e8d);_0x541cba[_0x1bc5c7(_0x4281fc._0x4f69d1,0x70,-0x2b,-0x159)]({'name':_0xc58e8d[_0x5db898(0x38a,0x353,0x2b9,0x22e)],..._0xc58e8d[_0x1bc5c7(-_0x4281fc._0xaa2265,-0x120,-_0x4281fc._0x30932b,-_0x4281fc._0x355c29)]!==void 0x0?{'description':_0xc58e8d[_0x5db898(-_0x4281fc._0x5b540d,_0x4281fc._0x48c2ed,_0x4281fc._0x1f4f40,_0x4281fc._0x8f45ae)]}:{},...isJsonValue(_0xc58e8d['inputSchema'])?{'inputSchema':_0xc58e8d['inputSchema']}:{},'permissionClass':_0x36d4d5,'permissionConfigured':_0xc0bc11!==void 0x0,..._0x20b27e!==void 0x0?{'suggestedPermissionClass':_0x20b27e}:{}});if(ownValue(_0x5d1531['allowedTools'],_0xc58e8d[_0x1bc5c7(-_0x4281fc._0x4156c3,-_0x4281fc._0x597226,-0x7d,_0x4281fc._0x22f1f7)])===![])continue;_0x5c4010[_0x5db898(_0x4281fc._0x37f8ae,_0x4281fc._0x5326f9,_0x4281fc._0x22fd80,_0x4281fc._0x2111d7)](createMcpTool({'serverName':_0x5d1531[_0x5db898(_0x4281fc._0x137996,0x386,0x3ee,_0x4281fc._0x3befb7)]??_0x5d1531[_0x5db898(-_0x4281fc._0x140410,0x17b,_0x4281fc._0x1f61b8,_0x4281fc._0x239950)],'tool':_0xc58e8d,'client':_0x5d1531['client'],'permissionClass':_0x36d4d5,'internalLifecycle':_0x5d1531[_0x5db898(_0x4281fc._0x393410,_0x4281fc._0x36e1c9,0x3f0,_0x4281fc._0x28c176)]}));}return{'tools':_0x5c4010,'descriptors':_0x541cba};}function createMcpToolName(_0x1f4eae,_0x21469e){const _0x333941={_0x55b777:0x478,_0xb552fb:0x4d4},_0x348ad5={_0x549458:0x19d},_0x2948a5={_0x164bfd:0x54,_0x4dd7b1:0x1ee};function _0x54ec24(_0x11cb53,_0x567cfd,_0x2688dd,_0x1478de){return _0x520b4c(_0x11cb53-_0x2948a5._0x164bfd,_0x567cfd-_0x2948a5._0x4dd7b1,_0x2688dd,_0x1478de- -0x71);}function _0x47096b(_0x553912,_0x52ae94,_0x59d9da,_0x31b826){return _0x2edd77(_0x31b826- -0x53a,_0x52ae94-_0x348ad5._0x549458,_0x59d9da-0x3b,_0x553912);}const _0x43c6a2=_0x52da4a=>_0x52da4a[_0x54ec24(0x676,0x747,0x576,0x5b1)](/[^a-zA-Z0-9_]+/g,'_')[_0x47096b(0x31,-0x182,-0x7f,-0x9e)](/^_+|_+$/g,'');return _0x54ec24(_0x333941._0x55b777,_0x333941._0xb552fb,0x541,0x575)+_0x43c6a2(_0x1f4eae)+'_'+_0x43c6a2(_0x21469e);}function isObject(_0xb2f70b){const _0x276098={_0x939e60:0x774,_0x25f0cc:0x174,_0x159d3d:0x167},_0x377ef3={_0x53a159:0xfd},_0x112681={_0x5bca2e:0x123};function _0x467b67(_0x19257c,_0x19a6c7,_0x5e1c4e,_0x436585){return _0x520b4c(_0x19257c-_0x112681._0x5bca2e,_0x19a6c7-0x1a2,_0x5e1c4e,_0x19257c- -0x4c2);}function _0x55f414(_0x4b9494,_0x28dbbf,_0x248099,_0x576478){return _0x2edd77(_0x28dbbf- -0x1f,_0x28dbbf-_0x377ef3._0x53a159,_0x248099-0x130,_0x4b9494);}return typeof _0xb2f70b===_0x55f414(0x6ac,0x5d9,_0x276098._0x939e60,0x559)&&_0xb2f70b!==null&&!Array[_0x467b67(_0x276098._0x25f0cc,0x20d,0x249,_0x276098._0x159d3d)](_0xb2f70b);}function toSupportedSchema(_0x35b879){const _0x2c48e4={_0x1e73df:0x4e1,_0x1d0888:0x47d,_0x23c8e5:0x5d0,_0x39f40b:0x637,_0x57401d:0x476,_0x4136a9:0x4dd,_0x568f09:0x562,_0x3ce6a3:0x545,_0x16e54b:0x2d8,_0x412920:0x338,_0x211fb6:0x5c1,_0x3ef033:0x506,_0x1b7641:0x46c,_0x295efa:0x260,_0x4587bc:0x28a,_0x353c43:0x4e6,_0x2c3b3e:0x566,_0x29cdc7:0x403,_0x5ae011:0x2d8,_0x35a73c:0x374,_0x50d576:0x32a,_0x2810ff:0x369,_0x17095d:0x6d4,_0x466e77:0x556,_0x4d9f9f:0x4f9,_0x53e04a:0x571,_0x4aa5d5:0x40d,_0x3757d2:0x345,_0x3edeeb:0x50e,_0x341d0c:0x527},_0x7700df={_0x3e8b21:0xd8,_0x4aabe5:0xd5,_0x17437a:0x1b3},_0x64bb0={_0x1a58c7:0x10,_0x1b157a:0x1ff};if(!isObject(_0x35b879))return void 0x0;if(_0x35b879[_0x25ed5e(0x46c,_0x2c48e4._0x1e73df,_0x2c48e4._0x1d0888,0x4b7)]==='string')return{'type':_0x25ed5e(_0x2c48e4._0x23c8e5,0x593,_0x2c48e4._0x39f40b,0x5ec)};if(_0x35b879[_0x3b8f36(0x368,0x40d,0x336,_0x2c48e4._0x57401d)]===_0x3b8f36(_0x2c48e4._0x4136a9,_0x2c48e4._0x568f09,_0x2c48e4._0x3ce6a3,0x593)||_0x35b879[_0x3b8f36(0x4c1,0x40d,_0x2c48e4._0x16e54b,_0x2c48e4._0x412920)]===_0x25ed5e(0x2e0,0x173,0x211,0x26e))return{'type':_0x25ed5e(_0x2c48e4._0x211fb6,0x624,0x444,_0x2c48e4._0x3ef033)};if(_0x35b879[_0x25ed5e(_0x2c48e4._0x1b7641,0x4bd,0x4af,0x46d)]===_0x3b8f36(_0x2c48e4._0x295efa,0x39f,0x442,0x324))return{'type':_0x25ed5e(0x3fe,_0x2c48e4._0x4587bc,_0x2c48e4._0x353c43,0x325)};function _0x25ed5e(_0x3f3e08,_0x260513,_0x39f2c0,_0x1c540e){return _0x520b4c(_0x3f3e08-_0x64bb0._0x1a58c7,_0x260513-0xf2,_0x1c540e,_0x3f3e08- -_0x64bb0._0x1b157a);}function _0x3b8f36(_0x492aa0,_0x51a703,_0x403bbb,_0x41c511){return _0x2edd77(_0x51a703- -_0x7700df._0x3e8b21,_0x51a703-_0x7700df._0x4aabe5,_0x403bbb-_0x7700df._0x17437a,_0x492aa0);}if(_0x35b879[_0x3b8f36(_0x2c48e4._0x2c3b3e,0x40d,0x51b,_0x2c48e4._0x29cdc7)]===_0x3b8f36(_0x2c48e4._0x5ae011,0x32a,0x3be,_0x2c48e4._0x35a73c))return{'type':_0x3b8f36(0x3ae,_0x2c48e4._0x50d576,0x2b0,_0x2c48e4._0x2810ff),'items':toSupportedSchema(_0x35b879[_0x3b8f36(_0x2c48e4._0x17095d,_0x2c48e4._0x466e77,0x57e,_0x2c48e4._0x4d9f9f)])??{'type':_0x3b8f36(0x50b,_0x2c48e4._0x53e04a,0x5ce,0x578)}};if(_0x35b879[_0x3b8f36(0x2f6,_0x2c48e4._0x4aa5d5,_0x2c48e4._0x3757d2,0x40f)]===_0x3b8f36(_0x2c48e4._0x3edeeb,0x520,0x4b2,_0x2c48e4._0x341d0c))return toNuvinToolSchema(_0x35b879);return void 0x0;}function toNuvinToolSchema(_0x4cac83){const _0x4b5af1={_0x5bb056:0xb5,_0x478759:0xd7,_0x948735:0x42,_0x56c761:0xf2,_0x3ef673:0x1a2,_0x4355e7:0x6d,_0x1301d5:0xc5,_0x3c7dc8:0x112,_0x3769b1:0x21d,_0xe37dc0:0x25e,_0x2a8197:0x97,_0x474d38:0x1af,_0x1bd4c2:0x91,_0x3853da:0xa3,_0x5beda1:0x15,_0xfb9cfd:0x15,_0x22c942:0xb8,_0x5046ec:0x95,_0x4bf782:0x252,_0x397dd5:0x12e,_0x1bb3ec:0x248,_0x593aee:0x26,_0x428187:0x30d,_0x530806:0x14a},_0x12335f={_0x55f215:0x1da,_0x26fcf6:0x55},_0x1e5430={_0x1993f3:0x117};if(!isObject(_0x4cac83)||_0x4cac83[_0x12e335(_0x4b5af1._0x5bb056,-_0x4b5af1._0x478759,0xf6,-0xa6)]!==_0x12e335(_0x4b5af1._0x948735,_0x4b5af1._0x56c761,-0xd8,0x6d))return{'type':_0x12e335(_0x4b5af1._0x3ef673,0x4b,-0x90,_0x4b5af1._0x4355e7),'properties':{}};const _0xf6ee79={};function _0x151b9b(_0x500396,_0x1c7d4a,_0x1ab0d7,_0x1c3c4f){return _0x2edd77(_0x500396- -0x450,_0x1c7d4a-_0x1e5430._0x1993f3,_0x1ab0d7-0xe6,_0x1c3c4f);}const _0x156a53=isObject(_0x4cac83[_0x151b9b(_0x4b5af1._0x1301d5,0xe,_0x4b5af1._0x3c7dc8,_0x4b5af1._0x3769b1)])?_0x4cac83[_0x151b9b(_0x4b5af1._0x1301d5,-0xdb,0x235,_0x4b5af1._0xe37dc0)]:{};function _0x12e335(_0x3080cf,_0x21e6b8,_0x299a4f,_0x282f8b){return _0x520b4c(_0x3080cf-_0x12335f._0x55f215,_0x21e6b8-_0x12335f._0x26fcf6,_0x3080cf,_0x282f8b- -0x711);}for(const [_0x2488d,_0x3173de]of Object[_0x151b9b(0x4f,0x192,_0x4b5af1._0x2a8197,_0x4b5af1._0x474d38)](_0x156a53)){const _0x3fe4d3=toSupportedSchema(_0x3173de);if(_0x3fe4d3)_0xf6ee79[_0x2488d]=_0x3fe4d3;}const _0x5d7406=Array[_0x12e335(_0x4b5af1._0x1bd4c2,_0x4b5af1._0x3853da,-0x29,-0xdb)](_0x4cac83[_0x151b9b(-_0x4b5af1._0x5beda1,-0x7,0x146,0x180)])?_0x4cac83[_0x151b9b(-_0x4b5af1._0xfb9cfd,0xf1,-0xf3,0x9f)][_0x12e335(_0x4b5af1._0x22c942,0xf1,_0x4b5af1._0x5046ec,-0x6b)](_0x59af08=>typeof _0x59af08===_0x151b9b(0x1f9,0x13c,0x57,0xec)):void 0x0;return _0x5d7406?.[_0x12e335(-_0x4b5af1._0x4bf782,-_0x4b5af1._0x397dd5,-_0x4b5af1._0x1bb3ec,-0x11c)]?{'type':_0x151b9b(0x1a8,_0x4b5af1._0x593aee,_0x4b5af1._0x428187,_0x4b5af1._0x530806),'properties':_0xf6ee79,'required':_0x5d7406}:{'type':_0x12e335(0x1e6,0x1f4,-0x37,_0x4b5af1._0x4355e7),'properties':_0xf6ee79};}function isJsonObject(_0x33f56b){const _0x1d3d01={_0x2d238f:0x41d,_0x1c1d0d:0x699,_0x17ea9a:0x55,_0x2eca46:0x87},_0x39f34f={_0x4990b5:0x38,_0x29e08c:0x68b},_0x39f19c={_0x45b29b:0x1c7,_0x3c4165:0xb9};function _0x52929b(_0x185385,_0x488bd4,_0x2a9f0a,_0x2259e2){return _0x520b4c(_0x185385-_0x39f19c._0x45b29b,_0x488bd4-_0x39f19c._0x3c4165,_0x2a9f0a,_0x185385- -0x20e);}function _0x543c07(_0x1ec419,_0x4042e3,_0x237795,_0x53d608){return _0x520b4c(_0x1ec419-_0x39f34f._0x4990b5,_0x4042e3-0x110,_0x1ec419,_0x4042e3- -_0x39f34f._0x29e08c);}return typeof _0x33f56b===_0x52929b(0x570,_0x1d3d01._0x2d238f,0x472,_0x1d3d01._0x1c1d0d)&&_0x33f56b!==null&&!Array[_0x543c07(-0xb1,-_0x1d3d01._0x17ea9a,-0x184,_0x1d3d01._0x2eca46)](_0x33f56b);}function formatMcpContent(_0x5b352d){const _0x3160c7={_0x9840c8:0x12c,_0x948c72:0xf5,_0x3110b0:0xff,_0x29c8cf:0x465,_0x132bb5:0x63,_0x10740c:0x1c6,_0x4f1ae:0x18e,_0x477a5e:0x286,_0x29f965:0x1ae,_0x4fee6c:0x165,_0x1c6d69:0x59,_0x53d561:0x506,_0x28226f:0x507,_0x13fa80:0x52a},_0x3caada={_0x5785fb:0x28b},_0x31568e={_0x21ab87:0x58c,_0x550da5:0x5e2,_0x3f0810:0x80c,_0x595c3d:0x97c,_0x23062a:0x71b},_0x2b774b={_0x1b8f9b:0x2c8},_0x3827f8={_0x263b3b:0x3bb,_0x2b5ba3:0x1b7},_0x2c3315=Array[_0x43692f(_0x3160c7._0x9840c8,_0x3160c7._0x948c72,0x105,_0x3160c7._0x3110b0)](_0x5b352d[_0x2676f8(0x319,0x343,_0x3160c7._0x29c8cf,0x31a)])?_0x5b352d[_0x43692f(0x78,0x64,_0x3160c7._0x132bb5,_0x3160c7._0x10740c)]:[];function _0x43692f(_0x2eab97,_0x51ab23,_0x560e3f,_0x4fb87b){return _0x2edd77(_0x51ab23- -_0x3827f8._0x263b3b,_0x51ab23-0x48,_0x560e3f-_0x3827f8._0x2b5ba3,_0x2eab97);}const _0x558fa1=_0x2c3315[_0x2676f8(0x3c9,_0x3160c7._0x4f1ae,_0x3160c7._0x477a5e,0x288)](_0x506bf1=>{const _0x4ca612={_0x4ee734:0x137,_0x12ab51:0xb};function _0x34adfa(_0x968640,_0x5c4662,_0x16defa,_0x3835bd){return _0x2676f8(_0x968640-0x1e2,_0x5c4662-0xc3,_0x968640,_0x5c4662-_0x2b774b._0x1b8f9b);}if(!isObject(_0x506bf1))return'';if(_0x506bf1['type']===_0x34adfa(_0x31568e._0x21ab87,0x64f,0x622,0x592)&&typeof _0x506bf1[_0x34adfa(_0x31568e._0x550da5,0x64f,0x5c5,0x571)]===_0x34adfa(0x7ec,_0x31568e._0x3f0810,_0x31568e._0x595c3d,_0x31568e._0x23062a))return _0x506bf1['text'];function _0xcddb3(_0x43af04,_0x1be685,_0x463806,_0xa1826c){return _0x43692f(_0x1be685,_0x463806-0x4ea,_0x463806-_0x4ca612._0x4ee734,_0xa1826c-_0x4ca612._0x12ab51);}return JSON['stringify'](_0x506bf1);})[_0x43692f(_0x3160c7._0x29f965,_0x3160c7._0x4fee6c,0x11b,0x30b)](_0x14eac4=>_0x14eac4[_0x2676f8(0x2d0,0x1ce,0x4bc,0x36a)]>0x0)['join']('\x0a');if(_0x558fa1[_0x43692f(0x1e0,0xb4,-_0x3160c7._0x1c6d69,0x47)]>0x0)return _0x558fa1;function _0x2676f8(_0x442713,_0x468427,_0x19ef34,_0x301927){return _0x520b4c(_0x442713-0x34,_0x468427-0x4b,_0x19ef34,_0x301927- -_0x3caada._0x5785fb);}return JSON[_0x2676f8(_0x3160c7._0x53d561,_0x3160c7._0x28226f,_0x3160c7._0x13fa80,0x491)](_0x5b352d,null,0x2);}function createMcpTool(_0xace111){const _0xf70035={_0x2918dd:0x35b,_0x483aa0:0x2af,_0x574358:0x57d,_0x4577f7:0x42e,_0x4dca4a:0x43f,_0x18384e:0x4b2,_0x485728:0x1d3,_0x297695:0x34d,_0xf8866d:0x1e6,_0x504c08:0x3d5,_0x25b9a0:0x81,_0x1f11ac:0x1ec,_0x5ed009:0x616,_0x5d9f21:0x487,_0x9cafc4:0x41b,_0x1e0baf:0x463,_0x111840:0x1a9,_0xa74a8a:0x317,_0x5dc4a4:0x266,_0x1cb32f:0x185,_0x1ddbd8:0x201,_0x5cedd4:0x294,_0x2ef0b0:0x300,_0x28846f:0x331,_0x228fae:0x4b5,_0xf7c5c4:0x3ee},_0x3c3ee3={_0x23ab6c:0x5d2,_0x3864d7:0x63c,_0x424743:0x5c3,_0x375152:0x5d2,_0x594330:0x519,_0x1f0721:0x4aa,_0x3a22d9:0x419,_0xdccd8d:0x4c7,_0x2ef410:0x5d5,_0x4f3c10:0x47e,_0x366adc:0x5d2,_0x196c7e:0x511,_0xfcd6d0:0x39b,_0xe58284:0x425,_0x55daef:0x338,_0x10f3b5:0x406,_0x17a6eb:0x4a1,_0x5c93ec:0x67a,_0x321772:0x3a1,_0x32aa38:0x4ce,_0x28ca80:0x4c2,_0x4a179d:0x5a8},_0x221f90={_0x4bfd5e:0x69,_0x44d5c3:0x192};function _0x35153b(_0x4aa72d,_0x120d7c,_0x4d887e,_0x4624fe){return _0x520b4c(_0x4aa72d-0x3e,_0x120d7c-0x9a,_0x4624fe,_0x120d7c- -0x73b);}function _0x57a2e6(_0x58d216,_0x225d82,_0x5665dc,_0x4e4894){return _0x2edd77(_0x4e4894- -_0x221f90._0x4bfd5e,_0x225d82-0x1ae,_0x5665dc-_0x221f90._0x44d5c3,_0x58d216);}const _0x4e2d06=createMcpToolName(_0xace111[_0x57a2e6(0x275,0x231,_0xf70035._0x2918dd,0x2e6)],_0xace111[_0x57a2e6(0x193,0x1cf,_0xf70035._0x483aa0,0x315)][_0x57a2e6(_0xf70035._0x574358,0x542,0x5e1,0x487)]);return defineTool({'name':_0x4e2d06,'permissionClass':_0xace111[_0x57a2e6(_0xf70035._0x4577f7,_0xf70035._0x4dca4a,0x3f8,_0xf70035._0x18384e)],..._0xace111[_0x35153b(-_0xf70035._0x485728,-0x1a6,-0xed,-_0xf70035._0x297695)]!==void 0x0?{'internalLifecycle':_0xace111[_0x57a2e6(0x4bf,0x499,0x244,0x3a6)]}:{},'description':_0xace111['tool'][_0x57a2e6(0x3fe,_0xf70035._0xf8866d,_0xf70035._0x504c08,0x2d1)]??_0x35153b(0x8e,_0xf70035._0x25b9a0,-0x16,_0xf70035._0x1f11ac)+_0xace111[_0x57a2e6(0x3d1,0x44b,0x31d,0x315)][_0x57a2e6(0x5f6,0x334,_0xf70035._0x5ed009,_0xf70035._0x5d9f21)]+_0x57a2e6(_0xf70035._0x9cafc4,_0xf70035._0x1e0baf,_0xf70035._0x111840,_0xf70035._0xa74a8a)+_0xace111[_0x35153b(-0x2d5,-_0xf70035._0x5dc4a4,-_0xf70035._0x1cb32f,-_0xf70035._0x1ddbd8)],'inputSchema':toNuvinToolSchema(_0xace111[_0x57a2e6(0x4a8,_0xf70035._0x5cedd4,_0xf70035._0x2ef0b0,0x315)][_0x57a2e6(_0xf70035._0x28846f,_0xf70035._0x483aa0,_0xf70035._0x228fae,_0xf70035._0xf7c5c4)]),async *'execute'(_0x17991b){const _0x240bd={_0x53731c:0x1b5,_0x8737d9:0x40};let _0x464e4f;function _0x13c4b8(_0x1305ac,_0xfa9cb8,_0x55aeff,_0x249bba){return _0x57a2e6(_0x1305ac,_0xfa9cb8-_0x240bd._0x53731c,_0x55aeff-0x187,_0x55aeff-_0x240bd._0x8737d9);}try{_0x464e4f=await _0xace111[_0x69fbb0(_0x3c3ee3._0x23ab6c,_0x3c3ee3._0x3864d7,_0x3c3ee3._0x424743,0x737)][_0x69fbb0(0x510,0x58a,_0x3c3ee3._0x375152,0x3c4)]({'name':_0xace111[_0x69fbb0(_0x3c3ee3._0x594330,_0x3c3ee3._0x1f0721,0x503,0x5a0)][_0x13c4b8(_0x3c3ee3._0x3a22d9,0x368,_0x3c3ee3._0xdccd8d,_0x3c3ee3._0x2ef410)],'arguments':isJsonObject(_0x17991b)?_0x17991b:{}});if(_0x464e4f[_0x13c4b8(_0x3c3ee3._0x4f3c10,_0x3c3ee3._0x366adc,_0x3c3ee3._0x196c7e,0x50a)])throw toMcpSafeError({'serverName':_0xace111['serverName'],'operation':_0x13c4b8(_0x3c3ee3._0xfcd6d0,0x538,0x4a1,_0x3c3ee3._0xe58284),'error':_0x464e4f});}catch(_0x39efde){throw extractOwnedMcpSafeError(_0x39efde)??toMcpSafeError({'serverName':_0xace111['serverName'],'operation':_0x13c4b8(_0x3c3ee3._0x55daef,_0x3c3ee3._0x10f3b5,_0x3c3ee3._0x17a6eb,0x5a6),'error':_0x39efde});}function _0x69fbb0(_0x41ad3e,_0x120845,_0x477119,_0x358d5e){return _0x57a2e6(_0x477119,_0x120845-0xe7,_0x477119-0x123,_0x41ad3e-0x204);}return yield createToolOutput(formatMcpContent(_0x464e4f),{'serverName':_0xace111['serverName'],'toolName':_0xace111[_0x69fbb0(0x519,_0x3c3ee3._0x5c93ec,_0x3c3ee3._0x321772,_0x3c3ee3._0x32aa38)][_0x13c4b8(_0x3c3ee3._0x28ca80,0x519,0x4c7,_0x3c3ee3._0x4a179d)],'result':_0x464e4f}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x34de63){let _0x2dbc53=_0x34de63;return{'get'(){return _0x2dbc53;},'set'(_0x4258a3){_0x2dbc53=_0x4258a3;}};}function resolveMcpTimeoutMs(_0x573d0e,_0x4bf518){const _0xd4f972={_0x19e878:0x563,_0x27bf59:0x75b},_0x6d6007={_0x1925f0:0x8a,_0x207659:0xc3};function _0x2e4e99(_0x45c26b,_0x2a5b9d,_0x333f34,_0x2129a4){return _0x520b4c(_0x45c26b-_0x6d6007._0x1925f0,_0x2a5b9d-_0x6d6007._0x207659,_0x333f34,_0x45c26b- -0x15b);}return _0x573d0e[_0x2e4e99(0x5b7,0x64a,_0xd4f972._0x19e878,_0xd4f972._0x27bf59)]??_0x4bf518??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x46a5f8,_0x331a5b){const _0x3b8706={_0x62c9a:0x6e,_0xd95fdb:0x1dd,_0x40e9f2:0xc1},_0x36e2c1={_0x54d1ae:0x2b2};function _0x2cc0a8(_0x33c8b1,_0x456d53,_0x17408b,_0xe53982){return _0x2edd77(_0x33c8b1- -_0x36e2c1._0x54d1ae,_0x456d53-0x59,_0x17408b-0xb9,_0x456d53);}return(_0x331a5b?extractOwnedMcpSafeError(_0x46a5f8[_0x2cc0a8(_0x3b8706._0x62c9a,0x10a,_0x3b8706._0xd95fdb,-_0x3b8706._0x40e9f2)]):void 0x0)??createOwnedMcpSafeError(_0x46a5f8);}function createMcpGenerationLifecycle(_0xc0de68){const _0xe23a02={_0x2dd387:0x45c,_0x3f7f72:0x41f},_0x40336b={_0x436d31:0x193,_0x45cae0:0xad,_0x36bb48:0x121,_0xdee006:0x100,_0xb7bf9e:0x2c};let _0x2f964b=0x0,_0x2344f4=![],_0x192e18=![],_0x4f6c25,_0x26eeec,_0x5d6eeb;const _0x30ab3e=()=>{const _0x190c1e={_0x842fbc:0x4d},_0x5adf50={_0x31e58e:0x17d};if(!_0x2344f4||_0x2f964b!==0x0||_0x192e18)return;_0x192e18=!![];function _0x1003a8(_0x2cd27f,_0x4f096f,_0x5c4aef,_0x421ff8){return _0x4535(_0x421ff8- -_0x5adf50._0x31e58e,_0x2cd27f);}function _0x156a30(_0xe2f76d,_0x2352ab,_0x4392c9,_0x3b260d){return _0x4535(_0x4392c9- -_0x190c1e._0x842fbc,_0x3b260d);}void Promise[_0x1003a8(0x56,-0xdd,_0x40336b._0x436d31,_0x40336b._0x45cae0)]()['then'](_0xc0de68)[_0x1003a8(-_0x40336b._0x36bb48,-0x183,_0x40336b._0xdee006,-_0x40336b._0xb7bf9e)](_0x26eeec,_0x5d6eeb);};return{'acquire'(){const _0x519956={_0x5377e8:0x1e};if(_0x2344f4)throw new Error(_0x5312c1(_0xe23a02._0x2dd387,0x551,0x3bf,_0xe23a02._0x3f7f72));_0x2f964b+=0x1;function _0x5312c1(_0x5c708d,_0x4e2efd,_0xea7c40,_0x4d062a){return _0x4535(_0x4d062a- -_0x519956._0x5377e8,_0xea7c40);}let _0x4c36c2=![];return()=>{if(_0x4c36c2)return;_0x4c36c2=!![],_0x2f964b-=0x1,_0x30ab3e();};},'retire'(){return!_0x4f6c25&&(_0x4f6c25=new Promise((_0x35d422,_0x4bb9c2)=>{_0x26eeec=_0x35d422,_0x5d6eeb=_0x4bb9c2;})),_0x2344f4=!![],_0x30ab3e(),_0x4f6c25;}};}function buildMcpHttpHeaders(_0x2da052){const _0x2ec327={_0x3116a4:0x3cf,_0x6433f1:0x2da,_0x5ace00:0x26,_0x6701b3:0x40,_0x24f054:0x1f7,_0x109265:0x1cc,_0x27b1dc:0x20,_0x651166:0x1b7,_0x7ad987:0xa0,_0x157a7d:0x4b,_0x1b4155:0x15c,_0x2c9a00:0x2ff,_0x18b8ca:0x11d,_0x21fda1:0x1d7,_0xe92a1a:0x22e},_0xf23308={_0x9a2e0:0x42},_0x14683a={_0xe09b64:0x170},_0x5781c0={..._0x2da052[_0x46083c(0x11b,-0xed,0xb2,0x211)]??{}};function _0x349626(_0x261d7c,_0x4b1907,_0x5cbd4b,_0x3c906a){return _0x2edd77(_0x3c906a- -0x241,_0x4b1907-0x10d,_0x5cbd4b-_0x14683a._0xe09b64,_0x5cbd4b);}function _0x46083c(_0x24a0b9,_0x283532,_0x531c88,_0x3539e9){return _0x520b4c(_0x24a0b9-_0xf23308._0x9a2e0,_0x283532-0x80,_0x24a0b9,_0x531c88- -0x503);}return _0x2da052[_0x349626(_0x2ec327._0x3116a4,0x33b,0x147,0x28e)]?.[_0x46083c(_0x2ec327._0x6433f1,0x132,0x168,_0x2ec327._0x5ace00)]==='bearer'&&_0x2da052['auth'][_0x46083c(0xa9,0x2de,0x1a5,0x11)]&&_0x5781c0[_0x349626(0x232,_0x2ec327._0x6701b3,_0x2ec327._0x24f054,_0x2ec327._0x109265)]===void 0x0&&(_0x5781c0['Authorization']=_0x46083c(-0xf9,0x32,_0x2ec327._0x27b1dc,_0x2ec327._0x651166)+_0x2da052['auth'][_0x46083c(_0x2ec327._0x7ad987,0x96,0x1a5,0x15e)]),Object[_0x46083c(-0xf6,0xa,_0x2ec327._0x157a7d,_0x2ec327._0x1b4155)](_0x5781c0)[_0x349626(_0x2ec327._0x2c9a00,_0x2ec327._0x18b8ca,_0x2ec327._0x21fda1,_0x2ec327._0xe92a1a)]>0x0?_0x5781c0:void 0x0;}async function connectMcpServer(_0xd24623,_0x1de31f,_0x28a53b){const _0x581cf7={_0x331774:0x43c,_0x4d19bf:0x425,_0x4332cd:0x357,_0x3e67cd:0x375,_0x43dfe5:0x3e2,_0xae3b5a:0x516,_0x2fb004:0x42b,_0x17c35f:0x390,_0x54d600:0x2ca,_0x5d0aae:0x356,_0x401ef5:0x3d1,_0x266c3d:0x501,_0x1fa50a:0x4df,_0xd4f17c:0x136,_0xa6bcd8:0x122,_0x4aef29:0x7b,_0x20854c:0xbe,_0x141566:0x118,_0x1ba41d:0xe1,_0x38886d:0x344,_0x557005:0x3b4,_0x6438d9:0x3f2,_0x45b1b6:0x5e0,_0x9d98d0:0x5be,_0x2486c8:0x41c,_0x3179b9:0x55f,_0xafd5a1:0x47f,_0x138112:0x471,_0x5f3d2e:0x3dc,_0x52207b:0x56c,_0x3f74be:0x19a,_0x36622b:0x501,_0x3bdfa6:0x58b,_0x28a12b:0x24b,_0x4ae3ce:0x60c,_0x143cfc:0x43d,_0x923edd:0x55c,_0x491875:0x3b3,_0x264974:0x549,_0x13538b:0x47c,_0x4b5a49:0x319,_0x3fc8ea:0x52d,_0x479948:0x130,_0xefc76c:0x160,_0x21cc96:0x5,_0x4cb606:0x4e4,_0x43eeb4:0x5ae,_0x333481:0x4f3,_0x578ff6:0x5f3,_0xac2831:0x176,_0x4fd7c1:0x3d2,_0x6a538f:0x280,_0x2da0f2:0x1b4,_0x582c43:0x3c0,_0x5f06b2:0x2d2},_0x6dea40={_0x7c3d7e:0x536,_0x3d6ced:0x424,_0x19709d:0x14f,_0x5d4932:0x335,_0x50c267:0x2a1,_0x14877d:0x20b,_0x1419f6:0x115,_0x1121e2:0x183,_0x57421a:0x20b},_0x80b431={_0x12f4d0:0x1e7,_0x22107d:0x116},_0xeb387b={_0x22027b:0x5e4,_0x516746:0x5c3,_0x594577:0x9a,_0x5a185e:0x286},_0x43db04={_0x14e7f4:0x139},_0x1e13d8={_0x44fa27:0x1e8,_0x3024b4:0x2b2,_0x9b63b2:0x433},_0x58c10e={_0x4790b5:0x1c9,_0x59d46c:0x8,_0x22a761:0xcb,_0x3e8387:0x241,_0x1ac2df:0x10b,_0x12d169:0x489,_0xc4625e:0x39e},_0x5883be={_0x4578e5:0x185},_0x5dac50={_0x2c81de:0x137},_0x1b358c={_0x1d082a:0x28b,_0xf96d9c:0x56,_0x132aa2:0x12c,_0x25f69f:0x3e,_0x23f61d:0x17,_0x56e9ed:0x63},_0x340a03={_0x9a1f99:0x61},_0x5a1ea9={_0x359959:0x6d,_0xda21ef:0xd1,_0x13ec76:0x41},_0x25efe6={_0x30c498:0x111},_0x40c4b9=new Client({'name':_0x2f09ea(_0x581cf7._0x331774,_0x581cf7._0x4d19bf,_0x581cf7._0x4332cd,_0x581cf7._0x3e67cd),'version':_0x2f09ea(0x54d,0x288,0x3bc,_0x581cf7._0x43dfe5)}),_0x3bb6c0=_0x28a53b?.[_0x2f09ea(_0x581cf7._0xae3b5a,_0x581cf7._0x2fb004,0x39e,0x233)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x1f4a95=new Set();function _0x305e24(_0x487e29,_0x4fb5b3,_0x16cc4a,_0x32f0b3){return _0x520b4c(_0x487e29-0xdd,_0x4fb5b3-0xa9,_0x4fb5b3,_0x16cc4a- -0x4d1);}let _0x5162d8,_0x352d78=![];const _0x1ce22e=()=>{const _0x147793={_0x38a1d6:0x273,_0x495fce:0xaf};if(_0x352d78||_0x5162d8)return;_0x5162d8={'code':_0x14e726(-0x14e,_0x5a1ea9._0x359959,_0x5a1ea9._0xda21ef,-0x63),'cause':new Error(_0x14e726(0xc,-0x96,-_0x5a1ea9._0x13ec76,-0x9d))};function _0x14e726(_0x4ee9b1,_0x355873,_0x55ccf7,_0x4223f5){return _0x305e24(_0x4ee9b1-0xcb,_0x4ee9b1,_0x4223f5- -_0x147793._0x38a1d6,_0x4223f5-_0x147793._0x495fce);}function _0x3ba98e(_0x16e171,_0x437ead,_0x3c71bf,_0x4eafc8){return _0x305e24(_0x16e171-0x79,_0x16e171,_0x4eafc8- -0xc4,_0x4eafc8-_0x25efe6._0x30c498);}for(const _0x25e05d of _0x1f4a95){try{_0x25e05d(_0x5162d8);}catch{}}};_0x40c4b9[_0x305e24(_0x581cf7._0x17c35f,0x2b0,_0x581cf7._0x54d600,0x37b)]=()=>{const _0x459676={_0x483964:0x118};function _0x4297a8(_0x470dec,_0x654425,_0x2b759b,_0x2d1e6e){return _0x2f09ea(_0x470dec-_0x459676._0x483964,_0x654425-0x86,_0x2d1e6e- -0x412,_0x2b759b);}function _0x119488(_0x436300,_0x2defc,_0x284a58,_0x34c4b9){return _0x2f09ea(_0x436300-0x104,_0x2defc-_0x340a03._0x9a1f99,_0x34c4b9-0x1,_0x2defc);}console[_0x4297a8(_0x1b358c._0x1d082a,-_0x1b358c._0xf96d9c,0x17d,_0x1b358c._0x132aa2)]('MCP\x20SDK\x20client\x20reported\x20a\x20recoverable\x20error',{'server':_0xd24623,'code':_0x4297a8(_0x1b358c._0x25f69f,0x71,_0x1b358c._0x23f61d,_0x1b358c._0x56e9ed)});};function _0x2f09ea(_0x1374eb,_0x5e4585,_0xca61cb,_0x4dfc50){return _0x2edd77(_0xca61cb- -0xf3,_0x5e4585-0xe1,_0xca61cb-_0x5dac50._0x2c81de,_0x4dfc50);}_0x40c4b9[_0x2f09ea(0x410,0x50b,0x45a,0x596)]=_0x1ce22e;try{if(_0x1de31f['transport']===_0x2f09ea(_0x581cf7._0x5d0aae,0x3d8,0x2e0,_0x581cf7._0x401ef5)||_0x1de31f['url']){if(!_0x1de31f[_0x2f09ea(_0x581cf7._0x266c3d,0x34f,0x4a8,_0x581cf7._0x1fa50a)])throw new Error(_0x305e24(-_0x581cf7._0xd4f17c,-_0x581cf7._0xa6bcd8,-0x5,_0x581cf7._0x4aef29)+_0xd24623+_0x305e24(-_0x581cf7._0x20854c,-_0x581cf7._0x141566,0x8d,-_0x581cf7._0x1ba41d));if(_0x1de31f['auth']?.[_0x2f09ea(_0x581cf7._0x38886d,_0x581cf7._0x557005,_0x581cf7._0x6438d9,0x324)]===_0x2f09ea(0x503,_0x581cf7._0x45b1b6,0x56c,_0x581cf7._0x9d98d0)&&!_0x28a53b?.['oauth'])throw new Error(_0x2f09ea(0x258,0x2cc,0x253,0x18d)+_0xd24623+_0x2f09ea(_0x581cf7._0x2486c8,_0x581cf7._0x3179b9,_0x581cf7._0xafd5a1,0x465));const _0x848c97=buildMcpHttpHeaders(_0x1de31f),_0x3dc6f1=_0x1de31f[_0x2f09ea(_0x581cf7._0x138112,0x242,_0x581cf7._0x5f3d2e,_0x581cf7._0x52207b)]?.[_0x305e24(0x298,0x26d,_0x581cf7._0x3f74be,0x2d5)]===_0x2f09ea(_0x581cf7._0x36622b,_0x581cf7._0x3bdfa6,0x56c,0x5eb)&&_0x28a53b?.[_0x305e24(_0x581cf7._0x28a12b,0x265,0x314,0x487)]?createMcpOAuthProvider({'serverName':_0xd24623,'callbackUrl':_0x28a53b['oauth']['callbackUrl'],'storageDir':_0x28a53b[_0x2f09ea(_0x581cf7._0x4ae3ce,_0x581cf7._0x143cfc,0x56c,_0x581cf7._0x923edd)][_0x305e24(0x61,0x1bb,0x1f,-0xa4)],'config':_0x1de31f[_0x2f09ea(_0x581cf7._0x491875,_0x581cf7._0x264974,0x3dc,0x24d)],'onRedirect':_0x2b5f03=>_0x28a53b['oauth']?.[_0x305e24(0x92,0x28,0x16a,0x143)](_0xd24623,_0x2b5f03)}):void 0x0,_0x116987=new StreamableHTTPClientTransport(new URL(_0x1de31f[_0x2f09ea(_0x581cf7._0x13538b,0x576,0x4a8,_0x581cf7._0x4b5a49)]),{'authProvider':_0x3dc6f1,'requestInit':_0x848c97?{'headers':_0x848c97}:void 0x0});await _0x40c4b9['connect'](_0x116987,{'timeout':_0x3bb6c0['get'](),..._0x28a53b?.['signal']!==void 0x0?{'signal':_0x28a53b[_0x2f09ea(0x268,0x391,0x283,0x12f)]}:{}});}else{if(!_0x1de31f[_0x2f09ea(0x59a,0x4c1,0x4f3,_0x581cf7._0x3fc8ea)])throw new Error(_0x305e24(_0x581cf7._0x479948,_0x581cf7._0xefc76c,-_0x581cf7._0x21cc96,-0xa8)+_0xd24623+_0x2f09ea(_0x581cf7._0x4cb606,0x577,0x3e0,0x2a0));const _0x2d4233=new StdioClientTransport({'command':_0x1de31f[_0x2f09ea(_0x581cf7._0x43eeb4,0x5ca,_0x581cf7._0x333481,_0x581cf7._0x578ff6)],'args':_0x1de31f['args']??[],'env':_0x1de31f[_0x305e24(-_0x581cf7._0xac2831,0x1,-0x9,-0x98)],'stderr':'pipe'});await _0x40c4b9['connect'](_0x2d4233,{'timeout':_0x3bb6c0[_0x2f09ea(_0x581cf7._0x4fd7c1,0x253,_0x581cf7._0x6a538f,_0x581cf7._0x2da0f2)](),..._0x28a53b?.['signal']!==void 0x0?{'signal':_0x28a53b[_0x2f09ea(_0x581cf7._0x582c43,0x360,0x283,0x350)]}:{}});}}catch(_0x169c22){throw createOwnedMcpSafeError({'serverName':_0xd24623,'operation':_0x305e24(0x274,_0x581cf7._0x4b5a49,_0x581cf7._0x5f06b2,0x186),'error':_0x169c22});}return{async 'listTools'(_0x2e879d){const _0x14d000=_0x2e879d?.[_0x73a100(_0x58c10e._0x4790b5,0x176,0xcb,0x127)]??_0x28a53b?.[_0x73a100(_0x58c10e._0x59d46c,0xe3,_0x58c10e._0x22a761,0x122)];function _0x15cce9(_0x37c933,_0x503486,_0x755408,_0x24d433){return _0x305e24(_0x37c933-0x15c,_0x24d433,_0x503486-0x16a,_0x24d433-0x8a);}function _0x73a100(_0x49a9b6,_0x2b47c6,_0xd19582,_0x4a2491){return _0x2f09ea(_0x49a9b6-_0x5883be._0x4578e5,_0x2b47c6-0xbd,_0xd19582- -0x1b8,_0x49a9b6);}try{return await _0x40c4b9[_0x15cce9(_0x58c10e._0x3e8387,0x37e,0x283,0x503)](void 0x0,{'timeout':_0x3bb6c0[_0x73a100(0x1cc,_0x58c10e._0x1ac2df,0xc8,0x48)](),..._0x14d000!==void 0x0?{'signal':_0x14d000}:{}});}catch(_0x192a4d){throw createOwnedMcpSafeError({'serverName':_0xd24623,'operation':_0x15cce9(0x43b,_0x58c10e._0x12d169,0x418,_0x58c10e._0xc4625e),'error':_0x192a4d});}},'onTerminalError'(_0x413d5a){const _0x4c55a3={_0x8c98ce:0x1b},_0x26460e={_0x4a2db6:0x166,_0xbd8512:0x25};_0x1f4a95[_0x4e75c3(0x293,0x19d,0x316,0x474)](_0x413d5a);function _0x4e75c3(_0x5079bb,_0x39dbe5,_0x550f6e,_0x474c92){return _0x305e24(_0x5079bb-_0x26460e._0x4a2db6,_0x5079bb,_0x550f6e-_0x26460e._0xbd8512,_0x474c92-0xec);}function _0x5e217b(_0x28784a,_0x13eaba,_0xd3ed06,_0x31a2c3){return _0x2f09ea(_0x28784a-0xbb,_0x13eaba-0x98,_0x28784a- -_0x4c55a3._0x8c98ce,_0xd3ed06);}const _0x3de90c=_0x5162d8;return _0x3de90c&&queueMicrotask(()=>{function _0x5bb13a(_0x2ff27a,_0x4fba40,_0x5c4eed,_0x3bf77c){return _0x4e75c3(_0x2ff27a,_0x4fba40-0x11e,_0x5c4eed-0x288,_0x3bf77c-0xda);}if(_0x1f4a95[_0x5bb13a(_0x1e13d8._0x44fa27,_0x1e13d8._0x3024b4,0x32e,_0x1e13d8._0x9b63b2)](_0x413d5a))_0x413d5a(_0x3de90c);}),()=>_0x1f4a95[_0x5e217b(0x278,0x17e,0x38d,0x41c)](_0x413d5a);},async 'callTool'(_0x5f0cfe){const _0x3d4adb={_0x39cb07:0x203,_0x255f93:0xe4};function _0x4e82da(_0xb32b72,_0x475e0b,_0x53d2ca,_0xe65b9a){return _0x305e24(_0xb32b72-0x7a,_0xe65b9a,_0x53d2ca-_0x3d4adb._0x39cb07,_0xe65b9a-_0x3d4adb._0x255f93);}function _0x49c21(_0x4fdfda,_0x141cad,_0x150740,_0x42a01d){return _0x2f09ea(_0x4fdfda-_0x43db04._0x14e7f4,_0x141cad-0x41,_0x141cad- -0x114,_0x42a01d);}try{return await _0x40c4b9['request']({'method':_0x4e82da(0x6c8,_0xeb387b._0x22027b,0x523,_0xeb387b._0x516746),'params':_0x5f0cfe},CallToolResultSchema,{'timeout':_0x3bb6c0[_0x4e82da(0xef,_0xeb387b._0x594577,0x22b,0x146)]()});}catch(_0x790db1){throw createOwnedMcpSafeError({'serverName':_0xd24623,'operation':_0x49c21(_0xeb387b._0x5a185e,0x2c3,0x266,0x123),'error':_0x790db1});}},async 'close'(){const _0x3729c2={_0x2d3e84:0x144};_0x352d78=!![];function _0x2668bf(_0x3693bc,_0x48d4fd,_0x56c62d,_0x44c967){return _0x305e24(_0x3693bc-_0x80b431._0x12f4d0,_0x3693bc,_0x48d4fd-0x22d,_0x44c967-_0x80b431._0x22107d);}_0x40c4b9[_0x2668bf(_0x6dea40._0x7c3d7e,0x4f7,_0x6dea40._0x3d6ced,0x52d)]=void 0x0,_0x40c4b9['onclose']=void 0x0,_0x1f4a95[_0x1c0ce0(_0x6dea40._0x19709d,_0x6dea40._0x5d4932,_0x6dea40._0x50c267,0x207)]();function _0x1c0ce0(_0x54c477,_0x4c2074,_0x5e8d64,_0x43cb6c){return _0x305e24(_0x54c477-0x13f,_0x4c2074,_0x43cb6c-_0x3729c2._0x2d3e84,_0x43cb6c-0xaa);}try{await _0x40c4b9[_0x2668bf(0x10c,_0x6dea40._0x14877d,0x263,_0x6dea40._0x1419f6)]();}catch(_0x283502){throw createOwnedMcpSafeError({'serverName':_0xd24623,'operation':_0x2668bf(_0x6dea40._0x1121e2,_0x6dea40._0x57421a,0xda,0x2f5),'error':_0x283502});}}};}async function createMcpConnectionGeneration(_0x102b7b){const _0x84695a={_0x1bd0d0:0x5de,_0x23e6e1:0x694,_0x249fba:0x508,_0x2471e3:0x66d,_0xadc84b:0x4fa,_0x1c9fc8:0x5e8,_0x2763b6:0x54f,_0x3b57c3:0x508,_0x26737f:0x239,_0x2f0cff:0xea,_0x20e1fb:0x466,_0x168c82:0x40d,_0x38bd3b:0x3c6,_0x1a6bd5:0x3ac,_0x203d9d:0x1fc,_0x322cbb:0x212,_0x519bac:0x21e,_0x2074fb:0x3a1,_0x3b638d:0x84,_0x1a2a4d:0x4e0,_0x4ef1e7:0x5ef,_0x431710:0x4c8,_0x42c231:0x45f,_0x2c61d9:0x5e9,_0x44a766:0x65c,_0x2edc6b:0x450,_0x5e45a7:0x5b4,_0x1ba5c4:0x115,_0x3351c1:0x2b8,_0x4dd4a6:0x364,_0x37d102:0x49c,_0x1f76bf:0x39c},_0x30b5c1={_0x5a9569:0x451,_0x4a935d:0x31f,_0x2c062c:0x393},_0x4d72b1={_0x5b35c1:0x3a8},_0x3040a2={_0x50f52b:0xaf,_0x20a9c8:0xa0,_0x1d6415:0x15e},_0x77bb6={_0xc9f853:0x12d,_0x3e55f6:0x2a,_0x205756:0x2c3},_0x26cdda={_0x894f48:0x4d7,_0x3c772b:0x4f1,_0x258a35:0x5d2,_0x3a80d3:0x586,_0x597b5c:0x411},_0x2936ba={_0x5ba134:0x26e},_0x59d9b4={_0x2aa718:0x33d,_0x327154:0x3cc,_0x3aade8:0x2be,_0x296e87:0x38e,_0x9878f2:0x4dc,_0x623a8b:0x66c},_0x227e58={_0x3617ab:0xb3};function _0x5226f6(_0x1856d,_0x518885,_0x47d574,_0x2126d9){return _0x2edd77(_0x2126d9-0x77,_0x518885-_0x227e58._0x3617ab,_0x47d574-0x1f2,_0x47d574);}const _0x337c45=_0x102b7b[_0x5226f6(0x536,0x67d,_0x84695a._0x1bd0d0,_0x84695a._0x23e6e1)]??connectMcpServer,_0x3108f2=_0x102b7b['connect']===void 0x0,_0x3b1c9e={..._0x102b7b[_0x5226f6(0x5d2,_0x84695a._0x249fba,0x783,_0x84695a._0x2471e3)],'timeoutSource':_0x102b7b[_0x5226f6(_0x84695a._0xadc84b,_0x84695a._0x1c9fc8,_0x84695a._0x2763b6,_0x84695a._0x3b57c3)],..._0x102b7b['signal']!==void 0x0?{'signal':_0x102b7b[_0xd2f356(_0x84695a._0x26737f,0x2f7,0x2a5,_0x84695a._0x2f0cff)]}:{}};let _0x1c45cc;try{_0x1c45cc=await _0x337c45(_0x102b7b[_0x5226f6(0x2ae,_0x84695a._0x20e1fb,_0x84695a._0x168c82,_0x84695a._0x38bd3b)],_0x102b7b[_0xd2f356(0x39f,_0x84695a._0x1a6bd5,_0x84695a._0x203d9d,0x4b7)],_0x3b1c9e);}catch(_0x4d106b){throw mapOwnedMcpBoundaryError({'serverName':_0x102b7b[_0xd2f356(_0x84695a._0x322cbb,_0x84695a._0x519bac,_0x84695a._0x2074fb,_0x84695a._0x3b638d)],'operation':_0xd2f356(_0x84695a._0x1a2a4d,_0x84695a._0x4ef1e7,_0x84695a._0x431710,0x667),'error':_0x4d106b},_0x3108f2);}const _0x1aa4f2=new Set();let _0x208291;const _0x1caaeb=_0x1c45cc[_0x5226f6(0x32e,_0x84695a._0x42c231,_0x84695a._0x2c61d9,0x457)]?.(_0x48c942=>{if(_0x208291)return;_0x208291=_0x48c942;for(const _0x335e8d of _0x1aa4f2)_0x335e8d(_0x48c942);});let _0x143763=![];const _0x37bb97=()=>{if(_0x143763)return;_0x143763=!![],_0x1aa4f2['clear'](),_0x1caaeb?.();};let _0x234196;try{_0x234196=await _0x1c45cc[_0x5226f6(_0x84695a._0x44a766,_0x84695a._0x2edc6b,_0x84695a._0x5e45a7,0x5d6)](_0x102b7b[_0xd2f356(_0x84695a._0x26737f,_0x84695a._0x1ba5c4,0x2c6,0x109)]!==void 0x0?{'signal':_0x102b7b[_0xd2f356(_0x84695a._0x26737f,0xf9,_0x84695a._0x3351c1,_0x84695a._0x4dd4a6)]}:void 0x0);}catch(_0x3e275a){const _0x329630=mapOwnedMcpBoundaryError({'serverName':_0x102b7b['serverName'],'operation':'discover','error':_0x3e275a},_0x3108f2);_0x37bb97();try{await _0x1c45cc['close']();}catch{}throw _0x329630;}const _0x1e6f09=[..._0x234196[_0xd2f356(_0x84695a._0x37d102,_0x84695a._0x1f76bf,0x626,0x573)]],_0x11e342={async 'callTool'(_0x405597){const _0x31e6fb={_0x10ab05:0x17c,_0x4c6331:0xa,_0x1caf14:0x169},_0x50b825={_0x555dea:0x3};function _0x141bb3(_0x46cb73,_0x590dad,_0x43f573,_0x58561a){return _0x5226f6(_0x46cb73-0x8f,_0x590dad-0x1d3,_0x46cb73,_0x590dad- -_0x50b825._0x555dea);}function _0x90ae75(_0x1991c1,_0x15666f,_0x5baf8e,_0x2a12a1){return _0xd2f356(_0x1991c1-_0x31e6fb._0x10ab05,_0x15666f-_0x31e6fb._0x4c6331,_0x2a12a1,_0x2a12a1-_0x31e6fb._0x1caf14);}try{return await _0x1c45cc[_0x90ae75(0x3b4,_0x59d9b4._0x2aa718,_0x59d9b4._0x327154,_0x59d9b4._0x3aade8)](_0x405597);}catch(_0x74e4a5){throw mapOwnedMcpBoundaryError({'serverName':_0x102b7b[_0x90ae75(_0x59d9b4._0x296e87,0x49c,0x32a,0x27b)],'operation':_0x141bb3(_0x59d9b4._0x9878f2,0x53e,0x622,_0x59d9b4._0x623a8b),'error':_0x74e4a5},_0x3108f2);}}},_0x13647a=createMcpGenerationLifecycle(async()=>{const _0x4ca152={_0x2b0bd6:0xb0};_0x37bb97();function _0x303a7f(_0x2ef4c9,_0x548ba6,_0x4170db,_0x450bad){return _0x5226f6(_0x2ef4c9-0x1cb,_0x548ba6-0x3,_0x4170db,_0x548ba6-_0x4ca152._0x2b0bd6);}function _0x2b41eb(_0x25bbef,_0x24f826,_0x2f4c74,_0x8fee8d){return _0x5226f6(_0x25bbef-0x81,_0x24f826-0x25,_0x24f826,_0x2f4c74- -_0x2936ba._0x5ba134);}try{await _0x1c45cc[_0x303a7f(_0x26cdda._0x894f48,0x450,_0x26cdda._0x3c772b,0x432)]();}catch(_0x248bf2){throw mapOwnedMcpBoundaryError({'serverName':_0x102b7b[_0x303a7f(_0x26cdda._0x258a35,0x476,_0x26cdda._0x3a80d3,_0x26cdda._0x597b5c)],'operation':'close','error':_0x248bf2},_0x3108f2);}});function _0xd2f356(_0x38795b,_0x3a8aed,_0x26ff2d,_0xfbd9ce){return _0x520b4c(_0x38795b-_0x77bb6._0xc9f853,_0x3a8aed-_0x77bb6._0x3e55f6,_0x26ff2d,_0x38795b- -_0x77bb6._0x205756);}return{'client':_0x1c45cc,'descriptors':_0x1e6f09,'lifecycle':_0x13647a,'projectTools'(_0x3808bc){return projectMcpTools({..._0x3808bc,'descriptors':_0x1e6f09,'client':_0x11e342,'lifecycle':_0x13647a});},'onTerminalError'(_0xc24e05){if(_0x143763)return()=>{};_0x1aa4f2[_0x58ea58(_0x4d72b1._0x5b35c1,0x595,0x4cb,0x43a)](_0xc24e05);const _0x52a49=_0x208291;function _0x18310c(_0x214617,_0x444e97,_0x417d57,_0x1118b6){return _0x5226f6(_0x214617-_0x3040a2._0x50f52b,_0x444e97-_0x3040a2._0x20a9c8,_0x417d57,_0x214617- -_0x3040a2._0x1d6415);}function _0x58ea58(_0x1322e,_0x314278,_0x46e7ac,_0x20f037){return _0xd2f356(_0x20f037- -0xc5,_0x314278-0xd7,_0x314278,_0x20f037-0x17f);}return _0x52a49&&queueMicrotask(()=>{if(_0x1aa4f2['has'](_0xc24e05))_0xc24e05(_0x52a49);}),()=>_0x1aa4f2[_0x18310c(0x29f,0x161,0x3f8,0x24a)](_0xc24e05);},'retire'(){const _0x11025b={_0x1c1207:0x98};_0x37bb97();function _0x4dabe9(_0x18da50,_0x20a3a1,_0xbf2fa3,_0x1d3249){return _0x5226f6(_0x18da50-0xf0,_0x20a3a1-_0x11025b._0x1c1207,_0xbf2fa3,_0x20a3a1- -0x185);}return _0x13647a[_0x4dabe9(_0x30b5c1._0x5a9569,_0x30b5c1._0x4a935d,0x452,_0x30b5c1._0x2c062c)]();}};}function getCommand(_0xc14ffa){const _0x59e0a7={_0x18c685:0x634,_0x111faa:0x7d4,_0x5dd8a5:0x914,_0x48c3fa:0x6b6,_0x3c2bd5:0x4ac,_0xd39dfb:0x587,_0x439230:0x6d2,_0x1b3d03:0x521,_0x50f7d4:0x809,_0x855090:0x74d,_0x52a93b:0x43a},_0x8363e0={_0x5d4ed6:0xf8,_0x14fedf:0x56};function _0x266169(_0x89654e,_0x2f75c1,_0x57d32e,_0x3431e8){return _0x520b4c(_0x89654e-0xc4,_0x2f75c1-_0x8363e0._0x5d4ed6,_0x3431e8,_0x57d32e-_0x8363e0._0x14fedf);}function _0x3f8b0e(_0x11d11d,_0xf6120d,_0x5068c1,_0x361c56){return _0x520b4c(_0x11d11d-0xdd,_0xf6120d-0x110,_0x11d11d,_0x361c56- -0xaf);}if(_0xc14ffa&&typeof _0xc14ffa===_0x266169(_0x59e0a7._0x18c685,0x962,_0x59e0a7._0x111faa,_0x59e0a7._0x5dd8a5)&&!Array[_0x3f8b0e(_0x59e0a7._0x48c3fa,_0x59e0a7._0x3c2bd5,0x6d2,_0x59e0a7._0xd39dfb)](_0xc14ffa)&&typeof _0xc14ffa[_0x3f8b0e(_0x59e0a7._0x439230,_0x59e0a7._0x1b3d03,_0x59e0a7._0x50f7d4,0x6bd)]===_0x3f8b0e(0x6d8,_0x59e0a7._0x855090,0x850,0x720))return _0xc14ffa['command'];return _0x3f8b0e(0x4cc,0x420,_0x59e0a7._0x52a93b,0x454);}var MOCK_WORKSPACE_LISTING=[_0x520b4c(0x563,0x3fc,0x398,0x4f6),_0x520b4c(0x5ad,0x66c,0x57d,0x6d1),_0x520b4c(0x829,0x692,0x80f,0x6f4),_0x520b4c(0x62b,0x6d8,0x7b3,0x660),'src/agent/agent.ts',_0x2edd77(0x552,0x6d3,0x3eb,0x684),_0x520b4c(0x6f9,0x4f0,0x69a,0x626),_0x520b4c(0x45c,0x5d6,0x699,0x53a),_0x520b4c(0x54d,0x782,0x5cc,0x6c5),_0x520b4c(0x695,0x714,0x4cd,0x5ff),_0x2edd77(0x4ac,0x42e,0x4d0,0x43b),_0x2edd77(0x418,0x2d7,0x28a,0x3df),'src/shared/types.ts',_0x520b4c(0x6a0,0x6a1,0x904,0x75e),_0x520b4c(0x614,0x5c2,0x46c,0x597),'src/formats/provider-adapters.test.ts',_0x520b4c(0x711,0x544,0x7d4,0x658)][_0x2edd77(0x5b9,0x70a,0x456,0x760)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x2edd77(0x5ed,0x5a7,0x559,0x64b),'description':_0x2edd77(0x425,0x522,0x4a7,0x595),'input_schema':{'type':_0x2edd77(0x5f8,0x484,0x474,0x78a),'properties':{'command':{'type':_0x2edd77(0x649,0x64c,0x72b,0x511)}},'required':[_0x520b4c(0x7fd,0x673,0x8cb,0x76c)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x3ea292){return{'output':_0x3ea292,'structured':{'value':_0x3ea292}};}function createUnknownToolResult(_0x3a6990){const _0x106e37={_0x1b432f:0x17d,_0x27045f:0x2c1,_0x5e4686:0x8,_0x4ed577:0xcf,_0x38349f:0x9,_0xc78b0c:0x13f,_0xe17b6e:0x17d,_0x4b9a2c:0x23d,_0x217021:0x2b1},_0x3bba96={_0x215565:0x373},_0x572154={_0x153763:0xf};function _0x256dd7(_0x22d5f1,_0x3069a3,_0x665bab,_0x4068e6){return _0x520b4c(_0x22d5f1-0x69,_0x3069a3-0x149,_0x22d5f1,_0x3069a3- -_0x572154._0x153763);}function _0x4cd3ec(_0x43016a,_0x4b998a,_0x4f2f46,_0x328ab9){return _0x2edd77(_0x43016a- -_0x3bba96._0x215565,_0x4b998a-0x190,_0x4f2f46-0x6c,_0x328ab9);}return{'callId':_0x3a6990['id'],'toolName':_0x3a6990[_0x4cd3ec(_0x106e37._0x1b432f,0x94,_0x106e37._0x27045f,0x2c2)],'status':_0x4cd3ec(-0x53,-_0x106e37._0x5e4686,-0x18,_0x106e37._0x4ed577),'output':_0x4cd3ec(_0x106e37._0x38349f,0x134,_0x106e37._0xc78b0c,-0x53)+_0x3a6990[_0x4cd3ec(_0x106e37._0xe17b6e,_0x106e37._0x4b9a2c,_0x106e37._0x217021,0x23f)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x11c66b,_0x20b1ee){const _0x4422ce={_0x9080cc:0x6c,_0x3cbee4:0x6},_0x3cd747={_0x862e0a:0x1c6,_0x1b28d7:0x6ca};function _0x26536a(_0x5820e1,_0x4856ba,_0x1d3782,_0x214594){return _0x520b4c(_0x5820e1-0x10f,_0x4856ba-_0x3cd747._0x862e0a,_0x4856ba,_0x5820e1- -_0x3cd747._0x1b28d7);}return{'callId':_0x11c66b['id'],'toolName':_0x11c66b[_0x26536a(-0x54,_0x4422ce._0x9080cc,-0x150,-_0x4422ce._0x3cbee4)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x11c66b['input']),'exitCode':0x0},'chunks':[_0x20b1ee],'meta':createMeta()};}function createMockToolRuntime(){const _0x2051d9={_0x59fdb1:0x748,_0x1edbe0:0x5aa},_0x106a5a=async(_0x29d239,_0x3e6185)=>{const _0x2839fc={_0x5e9d39:0x298};if(_0x29d239[_0x287027(_0x2051d9._0x59fdb1,0x494,_0x2051d9._0x1edbe0,0x58a)]!=='Bash')return createUnknownToolResult(_0x29d239);function _0x287027(_0x3a8db2,_0x5f54cc,_0x1bffe1,_0x21b361){return _0x4535(_0x1bffe1-_0x2839fc._0x5e9d39,_0x21b361);}const _0x4d96a2=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x29d239,_0x4d96a2);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x4e612e,_0x29ee87){return await Promise['all'](_0x4e612e['map'](async _0x9c1e53=>{return await _0x106a5a(_0x9c1e53,_0x29ee87);}));},async 'execute'(_0x394e88,_0x3cc732){return await _0x106a5a(_0x394e88,_0x3cc732);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x8b170c={_0x184c53:0xb7},_0x1dd853={_0x4deac4:0x64,_0x12987d:0xd0};function _0x291053(_0x3922e6,_0x346b57,_0x91d120,_0x76d0d2){return _0x520b4c(_0x3922e6-_0x1dd853._0x4deac4,_0x346b57-_0x1dd853._0x12987d,_0x76d0d2,_0x3922e6- -0x59b);}return delegatedRunCounter+=0x1,_0x291053(0x41,0x30,0x1b6,-_0x8b170c._0x184c53)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x1938d0,_0x308e00){const _0x539520={_0x5c6193:0x5b8,_0x2a176a:0x617,_0x10b4d9:0x39f,_0x4aa1af:0x482},_0x543d3a={_0x3c1be4:0xb3,_0x5c70f1:0x15c,_0x20330a:0x15d};function _0x443d26(_0x62865c,_0x5a5ee6,_0x1c43a2,_0x2852b4){return _0x2edd77(_0x2852b4-_0x543d3a._0x3c1be4,_0x5a5ee6-_0x543d3a._0x5c70f1,_0x1c43a2-_0x543d3a._0x20330a,_0x1c43a2);}return typeof _0x1938d0===_0x443d26(_0x539520._0x5c6193,_0x539520._0x2a176a,_0x539520._0x10b4d9,_0x539520._0x4aa1af)?await _0x1938d0(_0x308e00):_0x1938d0;}function getDelegatedAgentDefinition(_0x121a81,_0x23a659){const _0x5985d7={_0x1dc800:0x6f5,_0x35e4de:0x496,_0x2fcfa5:0x55d},_0x5b30b3={_0x150d54:0x274};function _0x40013d(_0x1c92fb,_0x12f710,_0xb944f,_0x5f1505){return _0x520b4c(_0x1c92fb-0x1e8,_0x12f710-0x4d,_0x1c92fb,_0x5f1505- -_0x5b30b3._0x150d54);}return _0x121a81[_0x40013d(_0x5985d7._0x1dc800,_0x5985d7._0x35e4de,0x524,_0x5985d7._0x2fcfa5)]?.[_0x23a659];}function createRunSummary(_0x237343){const _0x29fcbf={_0x2cd349:0x4a3,_0x473618:0x79d,_0x56d77a:0x7fb,_0x330bb9:0x6ee,_0x4abed5:0x687,_0x8a0e5b:0x5ca,_0x3512b4:0x5fa,_0x2b2d64:0x637,_0x24d6ea:0x7db,_0x2a542f:0x6bc,_0x11b2b3:0x6ee,_0x52a918:0x733,_0x3f9017:0x761,_0x2b34de:0x664,_0xd47363:0x55c,_0x4467c9:0x6bb,_0x4fc098:0x4db,_0x37c163:0x54e},_0x2d808f={_0x1d347c:0x165,_0x1fbdfb:0x158};function _0x4112ec(_0x3dba74,_0x238e6f,_0x41bcdc,_0x41cbb2){return _0x2edd77(_0x3dba74-0x17c,_0x238e6f-0x87,_0x41bcdc-0x116,_0x41bcdc);}function _0x1e9b81(_0x3063cc,_0x479962,_0x21c91e,_0x462ead){return _0x2edd77(_0x479962-0x105,_0x479962-_0x2d808f._0x1d347c,_0x21c91e-_0x2d808f._0x1fbdfb,_0x3063cc);}return{'runId':_0x237343[_0x1e9b81(0x692,0x5a7,0x5ff,_0x29fcbf._0x2cd349)],'agentId':_0x237343[_0x4112ec(_0x29fcbf._0x473618,_0x29fcbf._0x56d77a,0x7f0,_0x29fcbf._0x330bb9)],'sessionId':_0x237343[_0x1e9b81(0x557,_0x29fcbf._0x4abed5,0x667,0x57c)],'status':_0x237343['status'],'parentSessionId':_0x237343[_0x4112ec(0x4af,0x564,0x541,0x5f8)],..._0x237343[_0x4112ec(0x5ca,0x6b9,0x555,0x5e6)]!==void 0x0?{'originToolCallId':_0x237343[_0x4112ec(_0x29fcbf._0x8a0e5b,_0x29fcbf._0x3512b4,_0x29fcbf._0x2b2d64,0x536)]}:{},..._0x237343[_0x1e9b81(_0x29fcbf._0x24d6ea,_0x29fcbf._0x2a542f,0x5cb,_0x29fcbf._0x11b2b3)]!==void 0x0?{'errorMessage':_0x237343[_0x4112ec(_0x29fcbf._0x52a918,0x76f,_0x29fcbf._0x3f9017,_0x29fcbf._0x2b34de)]}:{},..._0x237343[_0x4112ec(0x68b,0x722,0x6d5,_0x29fcbf._0xd47363)]?.[_0x1e9b81(_0x29fcbf._0x4467c9,0x612,_0x29fcbf._0x4fc098,0x4a3)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x237343[_0x4112ec(0x68b,0x5e0,_0x29fcbf._0x37c163,0x7b6)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x27a042,_0x2d206f){const _0x3c007f={_0x1557a9:0x46b,_0x2fb5f6:0x7eb,_0xb1cc41:0x7a0,_0x443e79:0x548,_0x4c6722:0x4fb},_0x53f2d0={_0x17b165:0x24,_0x5e5fcb:0xa0};function _0x2d8463(_0x4fa78d,_0x30a2e2,_0x26bb02,_0x55d60f){return _0x2edd77(_0x4fa78d-_0x53f2d0._0x17b165,_0x30a2e2-_0x53f2d0._0x5e5fcb,_0x26bb02-0x1b2,_0x55d60f);}function _0x355508(_0x1e8b1f,_0x3460b7,_0x33a20f,_0x51895c){return _0x2edd77(_0x1e8b1f-0xd9,_0x3460b7-0x1f,_0x33a20f-0x153,_0x51895c);}const _0x22634b=createRunSummary(_0x27a042),_0x50d2e3=_0x22634b[_0x2d8463(_0x3c007f._0x1557a9,0x4d2,0x301,0x3be)];return createToolOutput(typeof _0x50d2e3===_0x2d8463(0x66d,0x4e8,_0x3c007f._0x2fb5f6,_0x3c007f._0xb1cc41)&&_0x50d2e3[_0x355508(_0x3c007f._0x443e79,0x5cc,0x3cd,_0x3c007f._0x4c6722)]>0x0?_0x50d2e3:_0x2d206f,_0x22634b);}function getRunTerminalErrorMessage(_0x1806d4){const _0x3fa4b6={_0x5c44a9:0x4e4,_0x270c28:0x4be,_0x29a7ed:0x5cc,_0x133685:0x110,_0x1e9ee4:0x25e,_0x2b5d7b:0x3a9,_0x5ce13b:0x218,_0x4207f8:0x2e4,_0x936587:0x283,_0x235a63:0x187,_0x4fd168:0x2b3,_0x15b5d8:0x341,_0x11181b:0x2cd,_0x4c3723:0x3aa,_0x1e28d1:0x2e6,_0x1fd36b:0xf6,_0x380107:0x1a7,_0x2bd522:0x1e2},_0x4da4e1={_0x140d9c:0x79,_0x4625df:0xb5},_0x457c0b={_0x2e85a8:0x15d,_0x19dddb:0xf1,_0x240bec:0x97},_0x3832ae=_0x1806d4?.[_0xbe895b(_0x3fa4b6._0x5c44a9,_0x3fa4b6._0x270c28,_0x3fa4b6._0x29a7ed,0x4ab)][_0xbe895b(0x2d5,_0x3fa4b6._0x133685,0x236,0x21d)]['at'](-0x1);function _0xbe895b(_0x2de799,_0x3f3f52,_0x2fefb7,_0x22c9f8){return _0x2edd77(_0x22c9f8- -_0x457c0b._0x2e85a8,_0x3f3f52-_0x457c0b._0x19dddb,_0x2fefb7-_0x457c0b._0x240bec,_0x3f3f52);}if(_0x3832ae?.[_0xbe895b(0x206,0x521,_0x3fa4b6._0x1e9ee4,_0x3fa4b6._0x2b5d7b)]===_0x507f9d(_0x3fa4b6._0x5ce13b,_0x3fa4b6._0x4207f8,0x2a7,_0x3fa4b6._0x936587)&&_0x3832ae[_0x507f9d(_0x3fa4b6._0x235a63,_0x3fa4b6._0x4fd168,0x2c6,_0x3fa4b6._0x15b5d8)][_0x507f9d(_0x3fa4b6._0x11181b,0x51f,_0x3fa4b6._0x4c3723,0x23d)]()['length']>0x0)return _0x3832ae[_0xbe895b(_0x3fa4b6._0x1e28d1,_0x3fa4b6._0x1fd36b,_0x3fa4b6._0x380107,_0x3fa4b6._0x2bd522)];function _0x507f9d(_0x3faa8f,_0xda789e,_0x1dab1e,_0x487f57){return _0x2edd77(_0x1dab1e- -_0x4da4e1._0x140d9c,_0xda789e-_0x4da4e1._0x4625df,_0x1dab1e-0x129,_0x3faa8f);}return void 0x0;}function formatAbortedRunMessage(_0x2122a7,_0x380890){const _0x4616aa={_0x1592cc:0x2a5,_0x4ff2f8:0x373,_0x4298c0:0x25f,_0x75eaaa:0x15a},_0x50bcb0={_0x3cc582:0x118},_0x58107e=_0x214408(0x20e,0x33f,0x92,_0x4616aa._0x1592cc)+_0x2122a7+_0x39bfce(0x4d6,0x409,0x328,0x2d6);function _0x214408(_0x31ebcb,_0x3433a1,_0x1d36b0,_0x33426a){return _0x2edd77(_0x31ebcb- -0x322,_0x3433a1-0x106,_0x1d36b0-_0x50bcb0._0x3cc582,_0x3433a1);}function _0x39bfce(_0x5ea456,_0x1f2772,_0x44acc9,_0x39acdb){return _0x520b4c(_0x5ea456-0xd,_0x1f2772-0x184,_0x44acc9,_0x1f2772- -0x34b);}if(!_0x380890||_0x380890[_0x39bfce(0x2b8,0x25e,0x1bf,_0x4616aa._0x4ff2f8)]()[_0x214408(0x14d,0x2e1,_0x4616aa._0x4298c0,_0x4616aa._0x75eaaa)]===0x0||_0x380890===_0x58107e)return _0x58107e;return _0x58107e+'\x20Cause:\x20'+_0x380890;}function createAssignTaskTool(_0x2765aa){const _0x1aef3c={_0x42a5e8:0xcc,_0x68bac5:0x196,_0x50ab2b:0x86,_0x347de0:0x3cf,_0x43edd9:0x1e7,_0x38405b:0x36,_0x5f98ec:0x53,_0x4ff061:0x83,_0x5c09ba:0x12e,_0x3013a6:0x22d,_0x341265:0x15c,_0x571018:0x1a7,_0x26b11b:0xb9,_0x1551d5:0x230,_0x4bfd62:0x27f,_0x331a9f:0x11d,_0x50dc4a:0x93,_0x4daf1a:0x17a,_0x21a256:0x44e,_0x1e6fa3:0x32e},_0x3a22ca={_0x381553:0x3d2,_0x501be1:0x499,_0x323384:0x247,_0x1140d9:0x361,_0x580928:0x3a5,_0x56e53e:0x36b,_0x5bdb2f:0x4d2,_0x43eee2:0x350,_0x52ff7a:0x358,_0x1a59c3:0x11f,_0x180b4c:0x41c,_0x10ed9:0x294,_0x5993e2:0x2fe,_0x5412d1:0x348,_0x3cc786:0x447,_0x477eac:0x3ca,_0x59dfa2:0x3a6,_0x412cff:0x37f,_0x174383:0x267,_0xe7e19e:0x5bf,_0x45aa32:0x668,_0x3eacbc:0x55e,_0x20cf09:0x55e,_0x112c37:0x526,_0x50d999:0x1be,_0x49dda1:0x1c8,_0x33c6d5:0xcf,_0x88fc30:0x1f0,_0x5b75d4:0x75,_0x1d0c3a:0x87,_0x15b147:0x5b6,_0x32a4a6:0xdc,_0x34816c:0x1e2,_0x587e98:0x36d,_0x5cd8f0:0x337,_0x4cdb7d:0x548,_0x30112f:0x5fd,_0x11c278:0x76f,_0x48e361:0x27c,_0x1de8e7:0x246,_0x1dc910:0x486,_0x5dbc06:0x352,_0x2e9410:0x2fd,_0x4744d1:0x421,_0x129530:0x4e2,_0x1a4b36:0x1c6,_0x1598ab:0x272,_0x2b4c93:0x4a0,_0x4c06a5:0x50c,_0x4309ba:0x47e,_0x3fc242:0x380,_0x4328a0:0x3f0,_0x30d0fa:0x38b,_0x100a24:0x3b8,_0x3b8e9e:0x4,_0x5dd165:0xb6,_0x2f90d2:0x145,_0x45a33d:0x2,_0x392734:0x150,_0x221d23:0x22b,_0x3d2de8:0x1b6,_0x57dc41:0x200,_0x3810dd:0x3f5,_0x2b8358:0x2ac,_0x1d90b6:0x8a,_0x44f072:0x221,_0x1af613:0x12f,_0x539e1f:0x37a,_0x4176aa:0x3ee,_0x5c18c0:0x3ac},_0x49c903={_0x8747ed:0x2e5,_0x1ed8c3:0xe9,_0x158dd1:0x1c6,_0x33942c:0xaa},_0x39d75b={_0x3226a7:0x508},_0x50ad6c={_0x55ac81:0xed,_0x15ab79:0x89,_0x8af8e1:0x112},_0x3350d9={_0x47e8aa:0x185},_0x5ad220={_0x521a1b:0x52c,_0x511eea:0x3f};function _0x2ccbca(_0x178874,_0x6b027d,_0x337185,_0x2332c9){return _0x2edd77(_0x2332c9- -_0x5ad220._0x521a1b,_0x6b027d-0x9e,_0x337185-_0x5ad220._0x511eea,_0x337185);}function _0x2797d2(_0x5a632c,_0x56069d,_0x2dad1a,_0x5287c1){return _0x2edd77(_0x56069d- -0x1d3,_0x56069d-0x11a,_0x2dad1a-_0x3350d9._0x47e8aa,_0x5a632c);}return defineTool({'name':'AssignTask','permissionClass':_0x2ccbca(-_0x1aef3c._0x42a5e8,0x217,_0x1aef3c._0x68bac5,_0x1aef3c._0x50ab2b),'description':_0x2797d2(0x179,0x271,_0x1aef3c._0x347de0,_0x1aef3c._0x43edd9),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x2ccbca(-_0x1aef3c._0x38405b,0x16f,-_0x1aef3c._0x5f98ec,0x11d),'description':_0x2ccbca(_0x1aef3c._0x4ff061,-0xf,_0x1aef3c._0x5c09ba,0x14)},'description':{'type':'string','description':_0x2ccbca(_0x1aef3c._0x3013a6,_0x1aef3c._0x341265,_0x1aef3c._0x571018,_0x1aef3c._0x26b11b)},'nickname':{'type':_0x2ccbca(0x164,_0x1aef3c._0x1551d5,_0x1aef3c._0x4bfd62,_0x1aef3c._0x331a9f),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':'string','description':_0x2ccbca(0x118,-_0x1aef3c._0x50dc4a,-_0x1aef3c._0x4daf1a,-0x49)}},'required':[_0x2797d2(0x4ff,_0x1aef3c._0x21a256,_0x1aef3c._0x1e6fa3,0x536),'description','task']},async *'execute'(_0x138385,_0x20657d){const _0x1816e3={_0x524275:0x1a6},_0x30fe2d=createDelegatedRunId(),_0x4c1a95={'agentId':_0x138385[_0x6b2e46(_0x3a22ca._0x381553,_0x3a22ca._0x501be1,_0x3a22ca._0x323384,_0x3a22ca._0x1140d9)],'parentSessionId':_0x20657d['sessionId'],'runId':_0x30fe2d,..._0x20657d[_0x31b6f3(_0x3a22ca._0x580928,_0x3a22ca._0x56e53e,_0x3a22ca._0x5bdb2f,_0x3a22ca._0x43eee2)]!==void 0x0?{'toolCallId':_0x20657d['toolCallId']}:{}},_0x28c1b0=getDelegatedAgentDefinition(_0x2765aa,_0x138385[_0x6b2e46(0x21e,_0x3a22ca._0x52ff7a,0x412,0x361)]);if(!_0x28c1b0)throw new ToolExecutionError(_0x6b2e46(_0x3a22ca._0x1a59c3,_0x3a22ca._0x180b4c,0x24a,_0x3a22ca._0x10ed9)+_0x138385[_0x6b2e46(_0x3a22ca._0x5993e2,0x480,_0x3a22ca._0x5412d1,_0x3a22ca._0x1140d9)],{'agentId':_0x138385['agentId']});const _0xb8df05=await resolveDelegatedAgentOptions(_0x28c1b0,_0x4c1a95),_0x1ee4a5=_0x2765aa[_0x31b6f3(0x456,_0x3a22ca._0x3cc786,0x59d,_0x3a22ca._0x477eac)]!==void 0x0&&_0xb8df05[_0x31b6f3(0x49e,0x319,0x2bc,_0x3a22ca._0x59dfa2)]!==void 0x0?{..._0xb8df05,'systemPrompt':_0x2765aa[_0x31b6f3(0x5b9,_0x3a22ca._0x3cc786,0x489,0x3a9)](_0xb8df05[_0x31b6f3(0x327,0x319,_0x3a22ca._0x412cff,_0x3a22ca._0x174383)])}:_0xb8df05,_0x448969=new Agent(_0x1ee4a5),_0x4fcfb7=_0x2765aa[_0x31b6f3(0x761,_0x3a22ca._0xe7e19e,0x571,0x725)]?.(_0x448969)??(()=>{});function _0x6b2e46(_0x5ba482,_0x575ca9,_0x54920e,_0x677f0c){return _0x2797d2(_0x54920e,_0x677f0c- -_0x50ad6c._0x55ac81,_0x54920e-_0x50ad6c._0x15ab79,_0x677f0c-_0x50ad6c._0x8af8e1);}let _0x561690={'runId':_0x30fe2d,'agentId':_0x138385['agentId'],'sessionId':_0x448969[_0x31b6f3(_0x3a22ca._0x45aa32,_0x3a22ca._0x3eacbc,0x6a4,0x3c7)],'status':'running','parentSessionId':_0x20657d[_0x31b6f3(0x53a,_0x3a22ca._0x20cf09,_0x3a22ca._0x112c37,0x539)],..._0x20657d[_0x6b2e46(0x202,_0x3a22ca._0x50d999,_0x3a22ca._0x49dda1,_0x3a22ca._0x33c6d5)]!==void 0x0?{'originToolCallId':_0x20657d[_0x6b2e46(0x1ec,_0x3a22ca._0x88fc30,0x17d,_0x3a22ca._0x33c6d5)]}:{}};function _0x31b6f3(_0x533ab5,_0x381c82,_0x3bd2cc,_0x2ffda1){return _0x2ccbca(_0x533ab5-0x52,_0x381c82-0x91,_0x2ffda1,_0x381c82-_0x39d75b._0x3226a7);}const _0x238bb6=new AbortController(),_0x2d5c82=addAbortListener(_0x20657d[_0x6b2e46(-0x3e,_0x3a22ca._0x5b75d4,_0x3a22ca._0x1d0c3a,0xb6)],()=>{const _0x4f65ea={_0x18eaa7:0x99,_0x4ce6b0:0x47e,_0x4d0226:0x1b1};function _0x13219f(_0xf019bd,_0x4c5654,_0x14ffb9,_0x1081fb){return _0x31b6f3(_0xf019bd-_0x4f65ea._0x18eaa7,_0x1081fb- -_0x4f65ea._0x4ce6b0,_0x14ffb9-_0x4f65ea._0x4d0226,_0xf019bd);}function _0x1bb11b(_0x5b45cb,_0x1b4720,_0x7f0812,_0x2691dd){return _0x6b2e46(_0x5b45cb-0x109,_0x1b4720-_0x1816e3._0x524275,_0x7f0812,_0x2691dd- -0x9f);}_0x238bb6[_0x1bb11b(0xc6,_0x49c903._0x8747ed,_0x49c903._0x1ed8c3,_0x49c903._0x158dd1)](_0x20657d[_0x1bb11b(-_0x49c903._0x33942c,-0xcf,-0x177,0x17)]?.['reason']);});try{yield createToolOutput(_0x31b6f3(0x579,0x427,_0x3a22ca._0x15b147,0x321)+_0x561690[_0x6b2e46(0x99,0x195,_0x3a22ca._0x32a4a6,_0x3a22ca._0x34816c)]+'.',{'runId':_0x561690[_0x6b2e46(_0x3a22ca._0x587e98,0xe4,_0x3a22ca._0x5cd8f0,_0x3a22ca._0x34816c)],'agentId':_0x561690[_0x31b6f3(_0x3a22ca._0x4cdb7d,_0x3a22ca._0x30112f,0x62d,_0x3a22ca._0x11c278)],'sessionId':_0x561690['sessionId'],'status':_0x561690[_0x6b2e46(0xc6,0x19b,_0x3a22ca._0x48e361,_0x3a22ca._0x1de8e7)]});const _0x198cf0=await _0x448969['send'](_0x138385['task'],{'streaming':!![],'signal':_0x238bb6[_0x31b6f3(_0x3a22ca._0x1dc910,_0x3a22ca._0x5dbc06,_0x3a22ca._0x2e9410,_0x3a22ca._0x4744d1)]});_0x561690={..._0x561690,'status':_0x198cf0[_0x31b6f3(0x3ba,_0x3a22ca._0x129530,0x5bf,0x404)],'result':_0x198cf0};if(_0x198cf0[_0x6b2e46(0x226,0x17c,_0x3a22ca._0x1a4b36,_0x3a22ca._0x1de8e7)]!=='completed'){const _0x4b6c13=getRunTerminalErrorMessage(_0x198cf0),_0x4b947c=formatAbortedRunMessage(_0x561690[_0x6b2e46(0x7b,_0x3a22ca._0x1598ab,0x17c,0x1e2)],_0x4b6c13);throw new ToolExecutionError(_0x4b947c,{...createRunSummary(_0x561690),'aborted':!![],'errorMessage':_0x4b947c});}return createRunSummaryOutput(_0x561690,_0x31b6f3(_0x3a22ca._0x2b4c93,_0x3a22ca._0x4c06a5,0x564,0x55d)+_0x561690[_0x31b6f3(0x386,_0x3a22ca._0x4309ba,0x515,_0x3a22ca._0x3fc242)]+_0x31b6f3(_0x3a22ca._0x4328a0,_0x3a22ca._0x30d0fa,0x35a,_0x3a22ca._0x100a24));}catch(_0x1cd7de){if(_0x1cd7de instanceof ToolExecutionError)throw _0x1cd7de;if(isAbortError(_0x1cd7de)||_0x238bb6[_0x6b2e46(-_0x3a22ca._0x3b8e9e,-0x76,0x133,_0x3a22ca._0x5dd165)]['aborted']||_0x20657d['signal'][_0x6b2e46(_0x3a22ca._0x2f90d2,0x8d,-_0x3a22ca._0x45a33d,0x194)]){const _0x5dc8b9=getRunTerminalErrorMessage(_0x561690['result'])??(_0x1cd7de instanceof Error?_0x1cd7de[_0x6b2e46(0x27d,_0x3a22ca._0x392734,_0x3a22ca._0x221d23,0x221)]:String(_0x1cd7de)),_0x32da6a=formatAbortedRunMessage(_0x561690[_0x6b2e46(_0x3a22ca._0x3d2de8,_0x3a22ca._0x57dc41,0x68,_0x3a22ca._0x34816c)],_0x5dc8b9);_0x561690={..._0x561690,'status':'aborted','errorMessage':_0x32da6a};throw new ToolExecutionError(_0x32da6a,{...createRunSummary(_0x561690),'aborted':!![],'errorMessage':_0x32da6a});}const _0x2fbd1d=getRunTerminalErrorMessage(_0x561690[_0x6b2e46(_0x3a22ca._0x3810dd,_0x3a22ca._0x2b8358,0x24b,0x24f)])??(_0x1cd7de instanceof Error?_0x1cd7de[_0x6b2e46(0x1f2,0x94,_0x3a22ca._0x1d90b6,_0x3a22ca._0x44f072)]:String(_0x1cd7de))??'Agent\x20run\x20'+_0x561690[_0x6b2e46(_0x3a22ca._0x1af613,0x2d7,0x281,0x1e2)]+'\x20failed.';_0x561690={..._0x561690,'status':_0x31b6f3(0x4cb,_0x3a22ca._0x539e1f,_0x3a22ca._0x4176aa,_0x3a22ca._0x5c18c0),'errorMessage':_0x2fbd1d};throw new ToolExecutionError(_0x2fbd1d,{...createRunSummary(_0x561690),'errorMessage':_0x2fbd1d});}finally{_0x2d5c82(),_0x4fcfb7();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2a6370){return[createAssignTaskTool(_0x2a6370)];}import*as _0x13eb21 from'path';function buildDescription2(_0x19abad){const _0x31d1d4={_0x30df2e:0x50d,_0xc59a9d:0x5c5,_0x59742c:0x482,_0x48c049:0x550,_0x3257d1:0xb8,_0x2518ea:0xa8,_0x1efcf4:0xb5},_0x28949e={_0x1a9bea:0xbe,_0x3fd991:0x6,_0x427499:0xde},_0x4a45c9={_0x33cf8c:0xdb};function _0x5adab2(_0x46d27e,_0x4ce3de,_0x52f950,_0x2ab09f){return _0x2edd77(_0x2ab09f- -0x442,_0x4ce3de-_0x4a45c9._0x33cf8c,_0x52f950-0xc3,_0x52f950);}function _0x59cadd(_0x3ce7d2,_0x5da055,_0x1b4682,_0x5320ae){return _0x2edd77(_0x5da055-_0x28949e._0x1a9bea,_0x5da055-_0x28949e._0x3fd991,_0x1b4682-_0x28949e._0x427499,_0x3ce7d2);}if(_0x19abad['length']===0x0)return _0x59cadd(_0x31d1d4._0x30df2e,_0x31d1d4._0xc59a9d,_0x31d1d4._0x59742c,0x5b3);const _0x92b9c=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.','Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.','Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x59cadd(0x268,0x3e0,0x304,_0x31d1d4._0x48c049),..._0x19abad[_0x5adab2(_0x31d1d4._0x3257d1,_0x31d1d4._0x2518ea,-0x10c,-_0x31d1d4._0x1efcf4)](_0x1380b1=>'-\x20'+_0x1380b1[_0x59cadd(0x6a9,0x5ae,0x4b1,0x50a)]+':\x20'+_0x1380b1[_0x59cadd(0x414,0x3f8,0x3c1,0x316)])];return _0x92b9c['join']('\x0a');}function createLoadSkillTool(_0x100244){const _0x2073d={_0x303986:0x39f,_0x396e76:0x237,_0x19fbf4:0x158,_0xd806fa:0x133,_0x2c856e:0x126,_0x194fb6:0x2c6,_0x1af818:0x23e,_0x28fa79:0x459,_0x2a522d:0x2ff,_0x339737:0x60a,_0x4c1c50:0x3b2,_0x3bce58:0x3c6,_0x2f5c25:0x44d,_0x42f34c:0x500,_0x27d309:0x53f,_0x3ef459:0x460},_0x340276={_0x3f4f90:0x2f8,_0x31c56c:0x321,_0x5ec602:0x6d,_0x552e6a:0x119,_0x4773b0:0x3c,_0x15d1ec:0xab,_0x118203:0x100,_0x1dcf3b:0xbd,_0x5d2aac:0x57,_0x5a5e3e:0x646,_0x1ffd40:0x56c,_0xf00208:0x119,_0x1adcc3:0x26,_0x558c38:0x666,_0x1e41cf:0x85,_0x36d4f0:0x13a,_0x144716:0x5d,_0x2e3286:0x4ec,_0x306582:0x3e7,_0x44627a:0x491,_0x440a5c:0x5a2,_0x479bb9:0x29,_0x5a3f9d:0x670,_0x4e5f5a:0x6a0,_0x1a6b75:0x1a1,_0x2392ff:0x150,_0x2acf31:0x9c,_0x5cf4dd:0x8,_0x303d52:0x43a,_0x4a3947:0x6fb,_0x4c19e3:0x2aa,_0x350aee:0x43b,_0x4b0a99:0x53c,_0x32563e:0x671,_0x29afc6:0x6b9,_0x46e7d1:0x601},_0x2a58a6={_0x9a845e:0x1ac},_0x535be8={_0x3d692f:0x331},_0x1f7abd=new Map(_0x100244['skills'][_0x5a68db(_0x2073d._0x303986,_0x2073d._0x396e76,0x2fd,_0x2073d._0x19fbf4)](_0x286abf=>[_0x286abf[_0x5a68db(0x5ff,0x34c,0x460,0x38a)],_0x286abf])),_0xe1acc2=buildDescription2(_0x100244[_0x5a68db(_0x2073d._0xd806fa,_0x2073d._0x2c856e,_0x2073d._0x194fb6,_0x2073d._0x1af818)]);function _0x10235a(_0x175378,_0x148ce5,_0x4e4dbc,_0x2970fe){return _0x520b4c(_0x175378-0x199,_0x148ce5-0x15c,_0x148ce5,_0x2970fe- -_0x535be8._0x3d692f);}function _0x5a68db(_0x3e2dc9,_0x1cb371,_0x23c37b,_0x367245){return _0x2edd77(_0x23c37b- -0x90,_0x1cb371-0x4e,_0x23c37b-_0x2a58a6._0x9a845e,_0x367245);}return defineTool({'name':_0x5a68db(0x39d,_0x2073d._0x28fa79,0x48d,_0x2073d._0x2a522d),'permissionClass':_0x10235a(_0x2073d._0x339737,0x31e,_0x2073d._0x4c1c50,0x4bd),'description':_0xe1acc2,'inputSchema':{'type':_0x10235a(0x59b,_0x2073d._0x3bce58,0x457,_0x2073d._0x2f5c25),'properties':{'name':{'type':_0x10235a(0x2fd,0x5f8,_0x2073d._0x42f34c,0x49e)}},'required':[_0x5a68db(0x549,_0x2073d._0x27d309,_0x2073d._0x3ef459,0x34b)]},async *'execute'(_0x56d1e5){const _0x144b19={_0x1f80df:0x11b,_0x52a342:0x263},_0xc4675f=_0x1f7abd[_0x36a5a7(_0x340276._0x3f4f90,0x331,_0x340276._0x31c56c,0x42b)](_0x56d1e5[_0x5bf9a8(_0x340276._0x5ec602,_0x340276._0x552e6a,0x15b,-0x50)]);if(!_0xc4675f){const _0x33f603=Array[_0x5bf9a8(-_0x340276._0x4773b0,-_0x340276._0x15d1ec,-_0x340276._0x118203,_0x340276._0x1dcf3b)](_0x1f7abd[_0x5bf9a8(-0x48,-0xf,_0x340276._0x5d2aac,-0x158)]())[_0x36a5a7(_0x340276._0x5a5e3e,_0x340276._0x1ffd40,0x4e5,0x671)](',\x20');throw new ToolExecutionError(_0x5bf9a8(0x9a,0x153,-0x19,0x299)+_0x56d1e5[_0x5bf9a8(-0x2b,_0x340276._0xf00208,_0x340276._0x1adcc3,0x1cc)]+_0x36a5a7(0x669,_0x340276._0x558c38,0x615,0x600)+_0x33f603,{'name':_0x56d1e5[_0x5bf9a8(-_0x340276._0x1e41cf,0x119,_0x340276._0x36d4f0,-_0x340276._0x144716)]});}const _0x44b9e3=await _0x100244[_0x36a5a7(0x3bc,_0x340276._0x2e3286,0x4ea,0x50b)](_0xc4675f);function _0x36a5a7(_0x48991c,_0x3a0065,_0x31382d,_0x231c1a){return _0x10235a(_0x48991c-_0x144b19._0x1f80df,_0x48991c,_0x31382d-0x82,_0x231c1a-_0x144b19._0x52a342);}function _0x5bf9a8(_0x197af1,_0x57b6dc,_0x1604dc,_0x456c4c){return _0x5a68db(_0x197af1-0x196,_0x57b6dc-0x131,_0x57b6dc- -0x347,_0x456c4c);}const _0x36dfa0=_0xc4675f['source']['directory']??_0x13eb21[_0x36a5a7(_0x340276._0x306582,_0x340276._0x44627a,_0x340276._0x440a5c,0x451)](_0xc4675f['source'][_0x5bf9a8(0x82,0x172,0x195,-_0x340276._0x479bb9)]),_0x51f8f7=['##\x20Skill:\x20'+_0x44b9e3[_0x36a5a7(0x512,_0x340276._0x5a3f9d,_0x340276._0x4e5f5a,0x5a8)],'',_0x44b9e3[_0x5bf9a8(_0x340276._0x1a6b75,0xe2,0xbd,0x1ff)],'',_0x5bf9a8(_0x340276._0x2392ff,_0x340276._0x2acf31,0x150,_0x340276._0x5cf4dd),_0x36a5a7(0x3b5,0x511,0x366,_0x340276._0x303d52)+_0xc4675f['source'][_0x36a5a7(0x45f,0x778,_0x340276._0x4a3947,0x601)],_0x36a5a7(0x343,_0x340276._0x4c19e3,0x3a4,_0x340276._0x350aee)+_0x36dfa0][_0x36a5a7(0x593,_0x340276._0x4b0a99,0x5bf,_0x340276._0x32563e)]('\x0a');return yield createToolOutput(_0x51f8f7,{'id':_0x44b9e3['id'],'name':_0x44b9e3['name'],'path':_0xc4675f['source'][_0x36a5a7(0x746,0x4c9,_0x340276._0x29afc6,_0x340276._0x46e7d1)],'baseDirectory':_0x36dfa0}),void 0x0;}});}var TODO_STATUSES=new Set([_0x2edd77(0x5e2,0x718,0x6f4,0x4fa),_0x520b4c(0x7f4,0x7b0,0x563,0x665),'completed']),TODO_PRIORITIES=new Set([_0x2edd77(0x5ff,0x71e,0x53d,0x5ac),_0x520b4c(0x818,0x679,0x594,0x67e),'low']);function isTodoStatus(_0x24697e){const _0x4b632b={_0xcc41ca:0x6f5,_0x13b50f:0x6db,_0x5bb8e3:0x644},_0x429f2a={_0x4aaae6:0x18b};function _0x3f79cf(_0x2fc47b,_0x150656,_0x2aa220,_0x344a89){return _0x520b4c(_0x2fc47b-0x60,_0x150656-0xcf,_0x2fc47b,_0x344a89- -_0x429f2a._0x4aaae6);}return typeof _0x24697e===_0x3f79cf(_0x4b632b._0xcc41ca,_0x4b632b._0x13b50f,0x4a1,_0x4b632b._0x5bb8e3)&&TODO_STATUSES['has'](_0x24697e);}function isTodoPriority(_0x5a640b){return typeof _0x5a640b==='string'&&TODO_PRIORITIES['has'](_0x5a640b);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0x5d9e74){const _0x2bc234={_0x5b3959:0x289,_0x8c0659:0x16d},_0x4fb7a4={_0x21f981:0x4c2,_0x74b1ae:0x7a,_0x3ae7a6:0x37};function _0x1ebcb5(_0x720589,_0x576c81,_0x52085d,_0x5cd896){return _0x2edd77(_0x5cd896- -_0x4fb7a4._0x21f981,_0x576c81-_0x4fb7a4._0x74b1ae,_0x52085d-_0x4fb7a4._0x3ae7a6,_0x576c81);}return this['todosBySession'][_0x1ebcb5(-_0x2bc234._0x5b3959,-0x163,-_0x2bc234._0x8c0659,-0x14f)](_0x5d9e74)??[];}[_0x520b4c(0x4d5,0x325,0x3da,0x4c9)](_0x39af06,_0x535734){const _0x550a6e={_0x559175:0x492,_0xbbd37:0x555,_0x30af38:0x60b,_0x4763ed:0x81e,_0x575a43:0x6d1},_0x3e6fe1={_0x1b4f98:0x26c,_0x1e39c5:0x116};function _0x3d33b4(_0x340a7b,_0x3bae9b,_0xd59faa,_0x54101e){return _0x2edd77(_0xd59faa-0x1fa,_0x3bae9b-0x13,_0xd59faa-0xfe,_0x54101e);}function _0x2f522a(_0x1c70ab,_0xf0b9cc,_0x2d72b7,_0x22027a){return _0x2edd77(_0x2d72b7- -_0x3e6fe1._0x1b4f98,_0xf0b9cc-0x123,_0x2d72b7-_0x3e6fe1._0x1e39c5,_0x22027a);}this[_0x3d33b4(_0x550a6e._0x559175,0x5dc,_0x550a6e._0xbbd37,_0x550a6e._0x30af38)][_0x3d33b4(0x9a3,0x97b,_0x550a6e._0x4763ed,_0x550a6e._0x575a43)](_0x39af06,_0x535734);}[_0x2edd77(0x589,0x4d9,0x670,0x3e6)](_0x181c77){const _0x2bd7ca={_0x1818d0:0x617,_0x1eb751:0x44a,_0x563c68:0x568,_0x23397d:0x682,_0x189dc7:0x6f9,_0x3b22bc:0x412,_0x452b14:0x5ff,_0x7317e7:0x5cf,_0x141a5e:0x670,_0x1b9024:0x539,_0x2dd7bc:0x65b,_0x3ab1a6:0x6f1},_0x425380={_0x4890b9:0x567,_0x412c89:0x13},_0x179083={_0x1fb2c2:0x118,_0x1d163b:0x8d},_0x536c29=this[_0x292991(0x500,0x50d,_0x2bd7ca._0x1818d0,_0x2bd7ca._0x1eb751)](_0x181c77),_0x3e551f={'total':_0x536c29[_0x292991(_0x2bd7ca._0x563c68,_0x2bd7ca._0x23397d,_0x2bd7ca._0x189dc7,_0x2bd7ca._0x3b22bc)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x1e7d09 of _0x536c29){if(_0x1e7d09[_0x292991(_0x2bd7ca._0x452b14,0x754,0x5f1,_0x2bd7ca._0x7317e7)]===_0x292991(0x6db,0x593,0x858,_0x2bd7ca._0x141a5e))_0x3e551f['pending']+=0x1;else{if(_0x1e7d09[_0x292991(0x5ff,0x55f,_0x2bd7ca._0x1b9024,0x4a3)]===_0x292991(0x5d8,_0x2bd7ca._0x2dd7bc,0x599,_0x2bd7ca._0x3ab1a6))_0x3e551f['inProgress']+=0x1;else _0x3e551f[_0x58b348(-0x21a,-0x104,0x1c,-0xf6)]+=0x1;}}function _0x292991(_0xc81d94,_0x527712,_0x35b5a4,_0x51f573){return _0x520b4c(_0xc81d94-0x147,_0x527712-_0x179083._0x1fb2c2,_0x51f573,_0xc81d94- -_0x179083._0x1d163b);}function _0x58b348(_0x54368c,_0x489bda,_0x2b0a4b,_0x5b765e){return _0x2edd77(_0x5b765e- -_0x425380._0x4890b9,_0x489bda-_0x425380._0x412c89,_0x2b0a4b-0xc,_0x54368c);}return _0x3e551f;}};function validateTodos(_0x57063c){const _0x2bd396={_0x438455:0x640,_0x15a414:0x639,_0x4cd2c0:0x384,_0x380b89:0x1f3,_0x4f2cac:0x151,_0x46ace4:0x251,_0x2e1d54:0x60d,_0x3332ef:0x143,_0x79631c:0x4b3,_0x2d4cb3:0x518,_0x46b79f:0x242,_0x19aa13:0x13e,_0x4f5b02:0x5e9,_0x428683:0x648,_0x8249af:0xe8,_0x453d81:0x4b,_0x4f7639:0x93,_0x5f0f84:0xaa,_0x134682:0x9f,_0x2c8c8b:0x65,_0x1a5e6e:0x101,_0x468bb8:0x1b7,_0x5395ab:0x22b,_0x3ec39e:0x17,_0x344082:0x606,_0x610a3b:0x482,_0x7ca682:0x200,_0x1668e9:0x9f,_0x4e4ba8:0x5b2,_0x15ce85:0x4a7,_0x4ddcdf:0x649,_0x5cfe5e:0xa5,_0x57fe5b:0xa2,_0xcaa8f5:0x18f,_0x36fae4:0x56f,_0x4b3c4d:0x4fa,_0x372180:0x2c,_0x5462c7:0x13e,_0x15d5f8:0x742,_0x41ffc5:0x697,_0x45f476:0x29,_0x3d7216:0xa7,_0x7972ad:0x804,_0x2a1296:0x6a3,_0x36f1d6:0x543,_0x12833c:0x7e2,_0x5c1d8b:0x786,_0x343f4e:0x161,_0x531217:0x6f,_0x3ee03a:0x178,_0xf1460e:0x220,_0x5125e7:0x250,_0x5e6305:0x1e6,_0x3be261:0x1c9,_0x4e763e:0x4f6,_0x914655:0x5fd,_0x1acf47:0x5d3,_0x509c98:0x551,_0x564797:0x544,_0x43f9b3:0x516,_0x207432:0x5c8,_0x45cf2c:0x52b,_0x32be30:0x53a,_0x322dc5:0x5f8,_0x3b770b:0x6c8,_0x23c1d5:0x1cb,_0x4028c6:0x117,_0x5444c2:0xf3,_0xa7af56:0x1e3},_0x46180c={_0x153fef:0x1b1,_0x443f4a:0xcb},_0x3ef2c1={_0x1e39a8:0x3};if(!Array[_0x55e17e(_0x2bd396._0x438455,0x6c8,_0x2bd396._0x15a414,0x678)](_0x57063c[_0x2a1728(-0x152,-_0x2bd396._0x4cd2c0,-_0x2bd396._0x380b89,-0x283)])||_0x57063c[_0x2a1728(-_0x2bd396._0x4f2cac,-0x3a6,-_0x2bd396._0x46ace4,-0x283)][_0x55e17e(0x61b,_0x2bd396._0x2e1d54,0x5f8,0x55c)]===0x0)throw new ToolExecutionError(_0x2a1728(-_0x2bd396._0x3332ef,0x23,-0x1b3,-0xec),{'error':'invalid_todos'});for(let _0x575e14=0x0;_0x575e14<_0x57063c[_0x55e17e(0x313,0x556,_0x2bd396._0x79631c,_0x2bd396._0x2d4cb3)][_0x2a1728(-0x278,-0x98,-_0x2bd396._0x46b79f,-_0x2bd396._0x19aa13)];_0x575e14+=0x1){const _0x24860f=_0x57063c[_0x55e17e(0x386,_0x2bd396._0x4f5b02,_0x2bd396._0x79631c,_0x2bd396._0x428683)][_0x575e14];if(!_0x24860f||typeof _0x24860f!==_0x2a1728(0x3e,0x146,_0x2bd396._0x8249af,_0x2bd396._0x453d81))throw new ToolExecutionError(_0x2a1728(0x83,-_0x2bd396._0x4f7639,-_0x2bd396._0x5f0f84,-_0x2bd396._0x134682)+(_0x575e14+0x1)+_0x2a1728(-0x206,-_0x2bd396._0x2c8c8b,0x68,-0xff),{'error':_0x2a1728(-_0x2bd396._0x1a5e6e,-0x86,-0x1e5,-_0x2bd396._0x468bb8)});if(typeof _0x24860f['id']!==_0x2a1728(0x125,-0xa5,_0x2bd396._0x5395ab,0x9c)||_0x24860f['id'][_0x2a1728(_0x2bd396._0x3ec39e,-0x258,-0x2c3,-0x18a)]()[_0x55e17e(_0x2bd396._0x344082,0x783,0x5f8,_0x2bd396._0x610a3b)]===0x0)throw new ToolExecutionError(_0x2a1728(-_0x2bd396._0x7ca682,-0x2d,-0x146,-_0x2bd396._0x1668e9)+(_0x575e14+0x1)+_0x55e17e(_0x2bd396._0x4e4ba8,_0x2bd396._0x15ce85,_0x2bd396._0x4ddcdf,0x5ca),{'error':_0x2a1728(-0x1b8,-0x1bc,0x82,-_0x2bd396._0x5cfe5e)});if(typeof _0x24860f[_0x2a1728(-_0x2bd396._0x57fe5b,-0x141,-0xa3,-0x18e)]!==_0x2a1728(0x213,0x106,_0x2bd396._0xcaa8f5,0x9c)||_0x24860f[_0x55e17e(_0x2bd396._0x36fae4,0x6cd,0x5a8,_0x2bd396._0x4b3c4d)]['trim']()[_0x2a1728(-0x260,-_0x2bd396._0x372180,-0x5d,-_0x2bd396._0x5462c7)]===0x0)throw new ToolExecutionError(_0x55e17e(0x559,_0x2bd396._0x15d5f8,_0x2bd396._0x41ffc5,0x707)+(_0x575e14+0x1)+':\x20content\x20required',{'error':_0x2a1728(0x119,-0x11,-0x125,-0x71)});if(!isTodoStatus(_0x24860f[_0x2a1728(-0xaa,0xf7,-_0x2bd396._0x45f476,-_0x2bd396._0x3d7216)]))throw new ToolExecutionError(_0x55e17e(0x704,0x541,_0x2bd396._0x41ffc5,_0x2bd396._0x7972ad)+(_0x575e14+0x1)+_0x55e17e(0x62f,0x60b,_0x2bd396._0x2a1296,_0x2bd396._0x36f1d6),{'error':_0x55e17e(0x91e,0x6f3,_0x2bd396._0x12833c,_0x2bd396._0x5c1d8b)});if(!isTodoPriority(_0x24860f[_0x2a1728(-_0x2bd396._0x343f4e,0x10,-0x2f,-_0x2bd396._0x531217)]))throw new ToolExecutionError(_0x55e17e(0x7bb,0x609,_0x2bd396._0x41ffc5,0x738)+(_0x575e14+0x1)+_0x2a1728(-_0x2bd396._0x3ee03a,-_0x2bd396._0xf1460e,-_0x2bd396._0x5125e7,-_0x2bd396._0x5e6305),{'error':_0x2a1728(-0x353,-0x328,-0x19a,-_0x2bd396._0x3be261)});}function _0x55e17e(_0x20ee10,_0x58ba28,_0x1d0993,_0x324d99){return _0x520b4c(_0x20ee10-0x1a6,_0x58ba28-0x1db,_0x58ba28,_0x1d0993-_0x3ef2c1._0x1e39a8);}const _0x3c5e33=_0x57063c[_0x55e17e(_0x2bd396._0x4e763e,_0x2bd396._0x914655,0x4b3,_0x2bd396._0x1acf47)][_0x55e17e(_0x2bd396._0x509c98,_0x2bd396._0x564797,_0x2bd396._0x43f9b3,0x634)](_0x18ccdd=>_0x18ccdd['id']);function _0x2a1728(_0x1c2638,_0x337487,_0x4ae3dc,_0x26f889){return _0x520b4c(_0x1c2638-_0x46180c._0x153fef,_0x337487-_0x46180c._0x443f4a,_0x337487,_0x26f889- -0x733);}if(new Set(_0x3c5e33)[_0x55e17e(0x590,_0x2bd396._0x207432,_0x2bd396._0x45cf2c,0x39b)]!==_0x3c5e33[_0x55e17e(0x545,_0x2bd396._0x32be30,_0x2bd396._0x322dc5,_0x2bd396._0x3b770b)])throw new ToolExecutionError(_0x2a1728(-_0x2bd396._0x23c1d5,-_0x2bd396._0x4028c6,-0x1ea,-0x127),{'error':_0x2a1728(-_0x2bd396._0x5444c2,-0x2ee,-_0x2bd396._0xa7af56,-0x1a9)});}function createStatsProgress(_0x5db368){const _0x383775={_0xe627b6:0x124,_0x5aed8c:0x130,_0x4c7549:0x8d,_0x3a3633:0xcf,_0x36b036:0x15b,_0x3e6d0f:0xc3,_0x25cdd5:0x2b,_0x97611d:0xc0,_0x543786:0x117},_0x27e17a={_0x1df5fd:0xcc,_0x6fca26:0x1b},_0x5d194b={_0x19cd0f:0x422};function _0x3e5c42(_0x42a1e7,_0x32c77b,_0x2a254f,_0x413e11){return _0x2edd77(_0x32c77b- -_0x5d194b._0x19cd0f,_0x32c77b-0x57,_0x2a254f-0x16,_0x413e11);}function _0xe41ead(_0x47449c,_0x42501b,_0x215f7b,_0x19cdc1){return _0x520b4c(_0x47449c-_0x27e17a._0x1df5fd,_0x42501b-_0x27e17a._0x6fca26,_0x215f7b,_0x42501b- -0x732);}return _0x5db368[_0x3e5c42(0x1af,_0x383775._0xe627b6,0x1ac,_0x383775._0x5aed8c)]>0x0?Math[_0x3e5c42(-_0x383775._0x4c7549,_0x383775._0x3a3633,0x26e,_0x383775._0x36b036)](_0x5db368[_0x3e5c42(_0x383775._0x3e6d0f,0x4f,-_0x383775._0x25cdd5,-0xc9)]/_0x5db368[_0xe41ead(_0x383775._0x97611d,-0x66,_0x383775._0x543786,0x4d)]*0x64)+'%':'0%';}function createReminderItems(_0x168276){const _0x3f167f={_0x369eba:0xbf,_0x3e4e93:0x9a},_0x2c249f={_0x3b1300:0x15a,_0x368d27:0x5d2},_0x5d40c4={_0x677271:0x3ea};function _0xf21f64(_0x5a5ad5,_0x4242fe,_0x4e96c2,_0x220896){return _0x2edd77(_0x5a5ad5- -_0x5d40c4._0x677271,_0x4242fe-0x57,_0x4e96c2-0xcc,_0x4e96c2);}function _0xdd2eff(_0x2c9b83,_0x392672,_0x3d4a08,_0x43189c){return _0x520b4c(_0x2c9b83-_0x2c249f._0x3b1300,_0x392672-0x76,_0x3d4a08,_0x392672- -_0x2c249f._0x368d27);}return _0x168276[_0xdd2eff(-0x117,-_0x3f167f._0x369eba,_0x3f167f._0x3e4e93,-0x20d)](_0x1f0e33=>({'content':_0x1f0e33[_0xf21f64(0x35,0x1a7,0xc0,0xa)],'status':_0x1f0e33['status'],'id':_0x1f0e33['id']}));}function createStructuredResult(_0x3bc601,_0x17299d,_0x24b628,_0x46de14){const _0x2f4943={_0x15623e:0x1d7,_0x53b92b:0x541},_0x9e46c5={_0x1d0281:0x113};function _0xea6971(_0x5428cc,_0x377c37,_0x5714f6,_0x25a459){return _0x2edd77(_0x5428cc- -_0x9e46c5._0x1d0281,_0x377c37-0x1c9,_0x5714f6-0x164,_0x25a459);}function _0x5f5243(_0x406427,_0x4a25ca,_0x5afe8f,_0x53cf86){return _0x520b4c(_0x406427-0xe9,_0x4a25ca-_0x2f4943._0x15623e,_0x5afe8f,_0x406427- -_0x2f4943._0x53b92b);}return{'allCompleted':_0x46de14,'items':_0x17299d['map'](_0x8b02d7=>({'id':_0x8b02d7['id'],'content':_0x8b02d7['content'],'status':_0x8b02d7[_0xea6971(0x3f3,0x24d,0x2de,0x420)],'priority':_0x8b02d7[_0xea6971(0x42b,0x2fa,0x4bd,0x597)],'createdAt':_0x8b02d7[_0xea6971(0x2b8,0x447,0x32f,0x12a)]})),'progress':createStatsProgress(_0x24b628),'recentChanges':!![],'sessionId':_0x3bc601,'stats':_0x24b628,'todosWritten':_0x17299d['length']};}function createOutputText(_0x1c4ab0,_0x5ada68){const _0x1a809c={_0x18ac86:0x2bf,_0x53e458:0x198,_0x2e7a47:0x28d,_0x3a99b1:0x1f2,_0x52e3b9:0x1eb,_0x95c237:0x29f,_0x83bb7d:0x47b,_0x3d1baa:0x3a2,_0x3b2102:0x338,_0x82b97c:0x251,_0x4e1a88:0x38e,_0x266576:0x3f4},_0x2ba88d={_0x510cfb:0x160,_0x3d1fcd:0x183},_0x161c0e={_0x4d1cc1:0xdf,_0x3e158c:0x46};function _0x10fec2(_0x151ef4,_0x2d4090,_0x18f154,_0x585237){return _0x2edd77(_0x18f154- -0x2d7,_0x2d4090-_0x161c0e._0x4d1cc1,_0x18f154-_0x161c0e._0x3e158c,_0x585237);}const _0x4eaa27=JSON[_0x10fec2(0x327,0x2b8,_0x1a809c._0x18ac86,0x449)](createReminderItems(_0x1c4ab0));if(_0x5ada68)return'All\x20'+_0x1c4ab0[_0x10fec2(0x131,0x4,_0x1a809c._0x53e458,_0x1a809c._0x2e7a47)]+_0x3a0c47(-0x33e,-_0x1a809c._0x3a99b1,-_0x1a809c._0x52e3b9,-_0x1a809c._0x95c237)+_0x4eaa27+_0x10fec2(_0x1a809c._0x83bb7d,0x2a8,0x38e,_0x1a809c._0x3d1baa);function _0x3a0c47(_0x931406,_0x16fecb,_0x3ec689,_0x1ec4ab){return _0x520b4c(_0x931406-_0x2ba88d._0x510cfb,_0x16fecb-_0x2ba88d._0x3d1fcd,_0x3ec689,_0x16fecb- -0x726);}return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x4eaa27+_0x10fec2(_0x1a809c._0x3b2102,_0x1a809c._0x82b97c,_0x1a809c._0x4e1a88,_0x1a809c._0x266576);}function createTodoWriteTool(_0xce446f=new TodoStore()){const _0x11b436={_0x3306d7:0xb2,_0x390667:0x19e,_0x3832a9:0x201,_0x1973b2:0x2e9,_0x3129de:0x581,_0x4e11f8:0x16b,_0x3fa532:0x279,_0x31f3f4:0x1d4,_0x4569ba:0x4d,_0x5f3216:0x1d2,_0x17ab7a:0x569,_0x281e35:0x2b7,_0x3f8710:0x353,_0x1a74ea:0x406,_0x3d72bc:0x323,_0x4541aa:0x317,_0x279ccf:0x2ff,_0x49ef3c:0x37d,_0x5bba82:0x48,_0x1348ca:0x9f,_0x54d89c:0x3ae,_0x4cf44d:0xe7,_0x117c31:0xe1,_0x440d8b:0x1e7},_0x256c92={_0x47aae9:0x4e3,_0x53cf7e:0x4c1,_0x5d1db7:0x61b,_0x2d7b23:0x4b5,_0x42e53d:0x590,_0x27656:0x229,_0x24a19f:0x1fe,_0x2e45b0:0x18e,_0x14c343:0x40e,_0xb0ce5a:0x2cc,_0x1711c1:0x1c2,_0x455187:0x4c8,_0x297933:0x5bc},_0x3e839a={_0x4c5eeb:0xf9,_0x34a10f:0x1d4},_0x5406fb={_0x2741c1:0x2d6,_0x635b9b:0xc},_0x2de749={_0x31d683:0x94},_0x5cf3c6={_0x431a6c:0x3d7,_0x386f01:0x75};function _0x39f6cf(_0x3a36d1,_0x375d7c,_0x2ff099,_0x24c9f3){return _0x2edd77(_0x3a36d1- -_0x5cf3c6._0x431a6c,_0x375d7c-_0x5cf3c6._0x386f01,_0x2ff099-0xc4,_0x24c9f3);}function _0x2e3465(_0x3bf81b,_0x4c392b,_0x2f9136,_0xdd720f){return _0x520b4c(_0x3bf81b-_0x2de749._0x31d683,_0x4c392b-0x46,_0xdd720f,_0x4c392b- -0x3c9);}return defineTool({'name':_0x2e3465(_0x11b436._0x3306d7,0x227,_0x11b436._0x390667,_0x11b436._0x3832a9),'permissionClass':_0x2e3465(_0x11b436._0x1973b2,0x425,_0x11b436._0x3129de,0x462),'description':_0x2e3465(_0x11b436._0x4e11f8,_0x11b436._0x3fa532,_0x11b436._0x31f3f4,0x289),'inputSchema':{'type':'object','properties':{'todos':{'type':_0x2e3465(0x174,0x1bf,_0x11b436._0x4569ba,0x234),'items':{'type':_0x39f6cf(0x221,_0x11b436._0x5f3216,0xa8,0x187),'properties':{'content':{'type':_0x2e3465(_0x11b436._0x17ab7a,0x406,_0x11b436._0x281e35,0x3a1)},'status':{'type':_0x2e3465(_0x11b436._0x3f8710,_0x11b436._0x1a74ea,_0x11b436._0x3d72bc,0x3a2)},'priority':{'type':_0x39f6cf(0x272,_0x11b436._0x4541aa,0x24e,0xf3)},'id':{'type':_0x2e3465(_0x11b436._0x279ccf,0x406,0x2fc,0x2aa)},'createdAt':{'type':_0x39f6cf(0x272,0xdf,0x15b,_0x11b436._0x49ef3c)}},'required':[_0x39f6cf(_0x11b436._0x5bba82,0x1b7,_0x11b436._0x1348ca,0x1c5),'status',_0x2e3465(0x425,0x2fb,0x2a5,_0x11b436._0x54d89c),'id']}}},'required':[_0x2e3465(-0x58,_0x11b436._0x4cf44d,_0x11b436._0x117c31,_0x11b436._0x440d8b)]},async *'execute'(_0x4a227c,_0x377f03){const _0x99e492=_0x4a227c;validateTodos(_0x99e492);const _0x4a560c=_0x377f03[_0x570302(0x47f,_0x256c92._0x47aae9,_0x256c92._0x53cf7e,_0x256c92._0x5d1db7)]||_0x5c2f27(0x528,0x69d,0x4ff,0x63a),_0x32a113=new Date()[_0x570302(0x5a4,0x5ad,_0x256c92._0x2d7b23,_0x256c92._0x42e53d)]();function _0x5c2f27(_0x1c9a59,_0x130699,_0x19b13e,_0x76287d){return _0x39f6cf(_0x19b13e-_0x5406fb._0x2741c1,_0x130699-0x13c,_0x19b13e-_0x5406fb._0x635b9b,_0x76287d);}const _0x2c0933=_0x99e492[_0x5c2f27(0x1fc,0x10e,_0x256c92._0x27656,_0x256c92._0x24a19f)][_0x570302(_0x256c92._0x2e45b0,_0x256c92._0x14c343,_0x256c92._0xb0ce5a,0x14b)](_0x340fa1=>({'id':_0x340fa1['id'],'content':_0x340fa1[_0x5c2f27(0x309,0x330,0x31e,0x2bb)],'status':_0x340fa1[_0x570302(0x5a4,0x361,0x445,0x383)],'priority':_0x340fa1['priority'],'sessionId':_0x4a560c,'createdAt':_0x340fa1[_0x570302(0x3e9,0x2f6,0x30a,0x379)]||_0x32a113,'updatedAt':_0x32a113}));_0xce446f[_0x570302(0x251,_0x256c92._0x1711c1,0x282,0x406)](_0x4a560c,_0x2c0933);function _0x570302(_0x4740f9,_0x2c1041,_0xf74c4e,_0x810b44){return _0x2e3465(_0x4740f9-_0x3e839a._0x4c5eeb,_0xf74c4e-0x182,_0xf74c4e-_0x3e839a._0x34a10f,_0x2c1041);}const _0x483af7=_0xce446f[_0x570302(0x47a,0x3da,_0x256c92._0x455187,_0x256c92._0x297933)](_0x4a560c),_0x40dbcb=_0x2c0933['length']>0x0&&_0x2c0933['every'](_0x3eabff=>_0x3eabff['status']===_0x570302(0x4be,0x422,0x3b0,0x2d6));return createToolOutput(createOutputText(_0x2c0933,_0x40dbcb),createStructuredResult(_0x4a560c,_0x2c0933,_0x483af7,_0x40dbcb));}});}import{mkdir as _0x59457a,writeFile as _0x4718d5}from'fs/promises';import*as _0x40ea2f from'path';function sanitizeFileName(_0x4ebbfc){const _0x112a58={_0x261b9a:0x83,_0x67e9d6:0x117},_0x630da5={_0x8c5542:0x419,_0x15b86e:0x176,_0x5ef399:0x150};function _0x54122c(_0x46437f,_0x437035,_0x5f2c83,_0x5e3c29){return _0x2edd77(_0x46437f- -_0x630da5._0x8c5542,_0x437035-_0x630da5._0x15b86e,_0x5f2c83-_0x630da5._0x5ef399,_0x5f2c83);}return _0x4ebbfc[_0x54122c(_0x112a58._0x261b9a,_0x112a58._0x67e9d6,-0xae,-0x45)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0xe8ae52,_0x4c87cc){const _0x40f09c={_0xd55d29:0x220,_0x242546:0x34a,_0xa3bc46:0x209,_0x11f70a:0x12c,_0x59b3e3:0x2ec,_0x2835ef:0x70,_0x5bf2fb:0x436,_0x59465a:0x587,_0xae66a8:0x402,_0xf9cc7e:0x3fe,_0x59d94b:0x374,_0x30ae9b:0x4a5,_0x30d2b:0x42f,_0x4aca8f:0x2cb,_0x153059:0x304,_0x5612eb:0x317,_0x3f478a:0x1ea,_0x4c296c:0x3a9,_0xd4d3e5:0x4f6,_0xcdc128:0x276,_0x29b9e2:0x685,_0x1bfad7:0x51e,_0xfd6377:0x605,_0x1fd148:0x4e0,_0x43d2c7:0x54a,_0xd9721e:0x512,_0x5d34d9:0x602,_0x8410ee:0x55b,_0x575111:0x483,_0x2bcc93:0x3ff,_0x9ad1a2:0x263,_0x5ecdd2:0x217,_0x223795:0x2a0,_0x5e7f23:0x347,_0x38697e:0x3cf,_0x1fd72b:0x569,_0x409e77:0x429,_0x1cfa83:0x2ac,_0x536d29:0x5d6,_0x4fa60a:0x708,_0x107670:0x2a7,_0x18ab04:0x30b,_0x1884d4:0x333,_0x4ba518:0x4bd,_0x34c6db:0x400,_0xa776b2:0x4ae,_0x5902b8:0x4ed,_0x2c91d9:0x428,_0x11a9a8:0x471,_0x2bf4c7:0x792,_0x2671c3:0x657,_0x163a09:0x69b,_0x270728:0x6a5,_0x4eb3c5:0x44a},_0x2c903f={_0x28e741:0x6b},_0x31bb1f={_0x27de19:0x195,_0x330701:0x1af,_0xef5b16:0x2bc};function _0x29b0ee(_0x468146,_0x560c2b,_0x46fb04,_0x5c4897){return _0x520b4c(_0x468146-_0x31bb1f._0x27de19,_0x560c2b-_0x31bb1f._0x330701,_0x5c4897,_0x468146- -_0x31bb1f._0xef5b16);}const {maxBytes:_0x226fda,sessionDir:_0x1c3deb}=_0x4c87cc;if(!_0xe8ae52[_0x29b0ee(0x209,_0x40f09c._0xd55d29,0x387,0x289)]||Buffer[_0x29b0ee(0x297,_0x40f09c._0x242546,0x212,0x33b)](_0xe8ae52[_0x29b0ee(_0x40f09c._0xa3bc46,_0x40f09c._0x11f70a,_0x40f09c._0x59b3e3,_0x40f09c._0x2835ef)],_0x11e973(0x41d,_0x40f09c._0x5bf2fb,0x55d,0x5bc))<=_0x226fda)return _0xe8ae52;const _0x4db048=Buffer[_0x11e973(_0x40f09c._0x59465a,_0x40f09c._0xae66a8,0x427,_0x40f09c._0xf9cc7e)](_0xe8ae52[_0x11e973(0x37a,_0x40f09c._0x59d94b,_0x40f09c._0x30ae9b,_0x40f09c._0x30d2b)],_0x29b0ee(_0x40f09c._0x4aca8f,0x3bd,0x40f,0x2ef));if(!_0x1c3deb){const _0x18110c=_0xe8ae52[_0x29b0ee(0x209,0x35c,0x117,_0x40f09c._0x153059)]['slice'](0x0,_0x226fda);return{..._0xe8ae52,'output':_0x18110c+(_0x29b0ee(_0x40f09c._0x5612eb,0x1d1,_0x40f09c._0x3f478a,_0x40f09c._0x4c296c)+_0x226fda+'\x20bytes\x20(original:\x20'+_0x4db048+_0x11e973(_0x40f09c._0xd4d3e5,0x3ba,_0x40f09c._0xcdc128,0x30f)),'meta':{..._0xe8ae52['meta'],'truncated':!![],'originalBytes':_0x4db048,'transforms':[..._0xe8ae52[_0x11e973(0x563,0x41b,0x510,0x56e)][_0x11e973(0x799,_0x40f09c._0x29b9e2,0x75b,0x748)],_0x11e973(0x446,_0x40f09c._0x1bfad7,0x489,0x69b)]}};}const _0x20c50c=_0xe8ae52[_0x11e973(0x3a0,0x4ca,_0x40f09c._0xfd6377,0x4db)]+'_'+sanitizeFileName(_0xe8ae52[_0x11e973(_0x40f09c._0x1fd148,0x4a7,0x3c8,_0x40f09c._0x43d2c7)])+_0x29b0ee(_0x40f09c._0xd9721e,_0x40f09c._0x5d34d9,0x534,_0x40f09c._0x8410ee),_0x4013df=_0x40ea2f[_0x29b0ee(_0x40f09c._0x575111,0x45a,_0x40f09c._0x2bcc93,0x4c2)](_0x1c3deb,_0x20c50c);await _0x59457a(_0x1c3deb,{'recursive':!![]}),await _0x4718d5(_0x4013df,_0xe8ae52[_0x29b0ee(0x209,_0x40f09c._0x9ad1a2,_0x40f09c._0x5ecdd2,_0x40f09c._0x223795)],'utf8');let _0x57b955=_0xe8ae52[_0x29b0ee(_0x40f09c._0xa3bc46,0x364,0x25d,_0x40f09c._0x5e7f23)][_0x11e973(_0x40f09c._0x38697e,_0x40f09c._0x1fd72b,0x3d8,_0x40f09c._0x409e77)](0x0,_0x226fda);const _0x22f5cc=_0x57b955['lastIndexOf']('\x0a');_0x22f5cc>_0x226fda*0.5&&(_0x57b955=_0x57b955[_0x29b0ee(0x3fe,0x274,0x2c0,_0x40f09c._0x1cfa83)](0x0,_0x22f5cc));const _0x55c416=['',_0x11e973(0x51d,_0x40f09c._0x536d29,0x75b,_0x40f09c._0x4fa60a),_0x11e973(0x381,0x376,_0x40f09c._0x107670,_0x40f09c._0x18ab04)+_0x226fda+_0x29b0ee(0x4bc,_0x40f09c._0x1884d4,0x611,0x4c7)+_0x4db048+_0x11e973(_0x40f09c._0x4ba518,0x4be,0x444,0x5b1),'Full\x20output\x20saved\x20to:\x20'+_0x4013df,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x29b0ee(_0x40f09c._0x34c6db,0x49e,_0x40f09c._0xa776b2,_0x40f09c._0x5902b8)]['join']('\x0a');function _0x11e973(_0x3f35ab,_0x37a29d,_0x218fc1,_0x14794f){return _0x2edd77(_0x37a29d-0x35,_0x37a29d-_0x2c903f._0x28e741,_0x218fc1-0x16b,_0x3f35ab);}return{..._0xe8ae52,'output':_0x57b955+_0x55c416,'meta':{..._0xe8ae52[_0x11e973(0x34a,0x41b,_0x40f09c._0x2c91d9,0x4cf)],'truncated':!![],'originalBytes':_0x4db048,'transforms':[..._0xe8ae52[_0x11e973(_0x40f09c._0x11a9a8,0x41b,0x5a4,0x419)][_0x11e973(_0x40f09c._0x2bf4c7,_0x40f09c._0x29b9e2,_0x40f09c._0x2671c3,0x66f)],_0x11e973(_0x40f09c._0x163a09,0x51e,_0x40f09c._0x270728,_0x40f09c._0x4eb3c5)]}};}function createUpdateTopicTool(){const _0x14b0b8={_0x502770:0x24a,_0x52ec42:0x1ae,_0x33660b:0x146,_0x23208b:0x214,_0x8e0c24:0x197,_0x2ce7ea:0x292,_0x20e99e:0x8},_0x2fd09a={_0x38cc3a:0x97,_0x3ff9b6:0x7e,_0x199e9a:0x9,_0x314f84:0x1c,_0x70c80e:0x410,_0x3a6978:0x8a,_0x576f6e:0x79,_0x59229b:0x90,_0x556262:0xc4},_0x4c41fa={_0x5ae1c8:0x3c0},_0x3825c1={_0x22e2f1:0x1dd};function _0x15c9b6(_0x3a62e7,_0x106189,_0x44d964,_0x1de8fa){return _0x520b4c(_0x3a62e7-0x146,_0x106189-_0x3825c1._0x22e2f1,_0x106189,_0x3a62e7- -0x638);}function _0x4d309d(_0xd49393,_0x5b72f6,_0x2b0acf,_0xabd2bc){return _0x2edd77(_0xd49393- -_0x4c41fa._0x5ae1c8,_0x5b72f6-0x1d7,_0x2b0acf-0x85,_0xabd2bc);}return defineTool({'name':'UpdateTopic','permissionClass':_0x15c9b6(0x1b6,0x7c,0x16e,_0x14b0b8._0x502770),'description':_0x15c9b6(-0x177,-_0x14b0b8._0x52ec42,-0x1d0,-0xcb),'inputSchema':{'type':_0x15c9b6(_0x14b0b8._0x33660b,_0x14b0b8._0x23208b,0x18f,0x26d),'properties':{'topic':{'type':_0x15c9b6(_0x14b0b8._0x8e0c24,0xb5,_0x14b0b8._0x2ce7ea,-_0x14b0b8._0x20e99e)}},'required':['topic']},async *'execute'(_0x4ee7a4,_0x25fdb0){const _0x3bb44d={_0x2a8e27:0x73,_0x3dfd0c:0x9f},_0x4e0ef9={_0x3f1098:0x31d,_0x106a42:0x16a},{topic:_0x1f925c}=_0x4ee7a4;function _0x3c5b3d(_0x30852a,_0x2cca00,_0x5cb13f,_0x142adc){return _0x15c9b6(_0x30852a-_0x4e0ef9._0x3f1098,_0x142adc,_0x5cb13f-_0x4e0ef9._0x106a42,_0x142adc-0x164);}if(typeof _0x1f925c!=='string'||_0x1f925c[_0x493772(_0x2fd09a._0x38cc3a,-_0x2fd09a._0x3ff9b6,-_0x2fd09a._0x199e9a,-_0x2fd09a._0x314f84)]()[_0x493772(0xcb,-0x74,0x14e,0x30)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x3c5b3d(0x3d6,0x4a0,_0x2fd09a._0x70c80e,0x547)});const _0x21ed3d=_0x1f925c['trim']();function _0x493772(_0x39e02d,_0x444c23,_0x533116,_0x1b4f3f){return _0x15c9b6(_0x1b4f3f-_0x3bb44d._0x2a8e27,_0x533116,_0x533116-0x15c,_0x1b4f3f-_0x3bb44d._0x3dfd0c);}return _0x25fdb0[_0x493772(0x18a,-_0x2fd09a._0x3a6978,-_0x2fd09a._0x576f6e,0x68)]?.(_0x21ed3d),yield createToolOutput(_0x493772(-0x3e,0x65,_0x2fd09a._0x59229b,-_0x2fd09a._0x556262)+_0x21ed3d+'\x22',{'topic':_0x21ed3d}),void 0x0;}});}import{readFile as _0x41c160,stat as _0x56923d}from'fs/promises';import*as _0x1ccdde from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x2edd77(0x5b1,0x751,0x4fe,0x42e),_0x2edd77(0x5ff,0x690,0x61a,0x51f),_0x520b4c(0x477,0x74b,0x6cf,0x61d),_0x520b4c(0x4a0,0x6ce,0x548,0x63c)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1a9a00,_0x341e0a){const _0x4de1a7={_0x38fc12:0x695,_0x2ca5ba:0x5b1,_0x1b9f4b:0x5f1,_0x212d07:0x340,_0x262b91:0x3d8,_0x302f32:0x766,_0x3efab6:0x781,_0x1f3b2a:0x5d7,_0x16a83f:0x70e,_0x2a9750:0x5e9,_0xedb29b:0x651,_0x965e5d:0x707,_0x4cc661:0x6fa,_0x21bac2:0x6bc,_0x297fc2:0x523,_0x5261d4:0x470,_0x2a03ec:0x520,_0x4f4f9e:0x374,_0x5aea2f:0x6f5,_0x447d06:0x650,_0x58a47e:0x721,_0x38cc67:0x5c2,_0x3c8803:0x679,_0x465ae5:0x3fe,_0x1896c8:0x522,_0x4c36d2:0x527,_0x38fa0d:0x62e,_0x3897a1:0x396,_0x49816a:0x2f0,_0xb8ce32:0x57d,_0x33cda2:0x578,_0x10c1b7:0x43e,_0x484980:0x60e,_0x13c9f6:0x628,_0xcbb046:0x4e0,_0x44fdc4:0x5d2},_0x26e6ff={_0x47930e:0x156,_0xe86369:0x150};if(_0x1a9a00['subarray'](0x0,0x8)[_0x395c88(_0x4de1a7._0x38fc12,_0x4de1a7._0x2ca5ba,0x5f2,0x431)](PNG_SIGNATURE))return _0x35b936(0x4c5,_0x4de1a7._0x1b9f4b,_0x4de1a7._0x212d07,0x4cf);if(_0x1a9a00[0x0]===0xff&&_0x1a9a00[0x1]===0xd8&&_0x1a9a00[0x2]===0xff)return _0x35b936(0x47c,0x2ac,0x2e5,0x2f3);const _0x3b502d=_0x1a9a00[_0x35b936(0x2b6,0x495,_0x4de1a7._0x262b91,0x35f)](0x0,0x6)['toString']('ascii');if(_0x3b502d===_0x395c88(_0x4de1a7._0x302f32,_0x4de1a7._0x3efab6,0x8e8,0x803)||_0x3b502d===_0x395c88(_0x4de1a7._0x1f3b2a,_0x4de1a7._0x16a83f,0x7c4,0x847))return'image/gif';if(_0x1a9a00[_0x395c88(0x4c9,_0x4de1a7._0x2a9750,_0x4de1a7._0xedb29b,_0x4de1a7._0x965e5d)](0x0,0x4)[_0x395c88(0x5d3,_0x4de1a7._0x4cc661,0x588,_0x4de1a7._0x21bac2)]('ascii')==='RIFF'&&_0x1a9a00[_0x35b936(0x4c6,0x4f7,0x237,0x35f)](0x8,0xc)[_0x35b936(0x595,_0x4de1a7._0x297fc2,0x56d,_0x4de1a7._0x5261d4)](_0x35b936(0x3ac,_0x4de1a7._0x2a03ec,0x512,0x443))==='WEBP')return _0x35b936(0x348,_0x4de1a7._0x4f4f9e,0x3b9,0x256);const _0x114a04=_0x1ccdde[_0x395c88(_0x4de1a7._0x5aea2f,0x6d3,_0x4de1a7._0x447d06,0x7af)](_0x341e0a)[_0x395c88(_0x4de1a7._0x58a47e,_0x4de1a7._0x38cc67,0x420,_0x4de1a7._0x3c8803)]();function _0x395c88(_0x548ed0,_0x2710aa,_0x2e2234,_0x4e5081){return _0x2edd77(_0x2710aa-_0x26e6ff._0x47930e,_0x2710aa-_0x26e6ff._0xe86369,_0x2e2234-0x2a,_0x2e2234);}if(_0x114a04===_0x35b936(0x57a,0x638,_0x4de1a7._0x465ae5,_0x4de1a7._0x1896c8))return _0x35b936(_0x4de1a7._0x4c36d2,_0x4de1a7._0x38fa0d,0x5a2,0x4cf);if(_0x114a04==='.jpg'||_0x114a04===_0x35b936(0x211,_0x4de1a7._0x3897a1,_0x4de1a7._0x49816a,0x210))return _0x395c88(0x5ea,_0x4de1a7._0xb8ce32,_0x4de1a7._0x33cda2,0x617);if(_0x114a04==='.gif')return _0x395c88(_0x4de1a7._0x10c1b7,0x4f1,0x3ae,_0x4de1a7._0x484980);if(_0x114a04===_0x395c88(_0x4de1a7._0x13c9f6,0x594,0x483,0x608))return _0x395c88(0x55e,_0x4de1a7._0xcbb046,0x524,_0x4de1a7._0x44fdc4);function _0x35b936(_0x199ea5,_0x50d2fe,_0x5e5bec,_0x450b56){return _0x2edd77(_0x450b56- -0x134,_0x50d2fe-0x99,_0x5e5bec-0x179,_0x50d2fe);}return void 0x0;}function normalizeDetail(_0x15c039){const _0x5b3e8f={_0x24b9a3:0x720,_0x130682:0x5db,_0x47460b:0x5e9,_0x578722:0x53a,_0x27905c:0x632,_0x1d1c62:0x275,_0x24776b:0x10f,_0x722e0f:0x194},_0x1972c0={_0x48fd7d:0x5ba};if(_0x15c039===void 0x0)return void 0x0;const _0x4a27a7=_0x15c039[_0x3d5b6d(_0x5b3e8f._0x24b9a3,0x568,_0x5b3e8f._0x130682,_0x5b3e8f._0x47460b)]()[_0x3d5b6d(_0x5b3e8f._0x578722,0x7ca,0x546,_0x5b3e8f._0x27905c)]();function _0x3d5b6d(_0x54d480,_0x11036f,_0x57110e,_0x55e464){return _0x2edd77(_0x55e464-0x1c6,_0x11036f-0x68,_0x57110e-0x19,_0x54d480);}function _0xa342a(_0x1a4a6a,_0x3c9b00,_0x26a9d5,_0x5b3964){return _0x2edd77(_0x3c9b00- -_0x1972c0._0x48fd7d,_0x3c9b00-0x173,_0x26a9d5-0x1c8,_0x26a9d5);}if(!SUPPORTED_DETAILS[_0xa342a(-0x261,-0x1ee,-_0x5b3e8f._0x1d1c62,-0x25f)](_0x4a27a7))throw new ToolExecutionError(_0xa342a(_0x5b3e8f._0x24776b,0x8b,-0x75,_0x5b3e8f._0x722e0f)+_0x15c039,{'detail':_0x15c039});return _0x4a27a7;}function createViewFileTool(_0x5e2754={}){const _0x2a2670={_0x557ded:0xd8,_0x26f53f:0xd2,_0x175ff3:0x1ff,_0x36e9fa:0xd0,_0x3385b4:0x69,_0x2349c8:0x2a2,_0x52754f:0x1fb,_0x159e6f:0xd4,_0x54eaca:0x4c,_0x3b41c4:0x15b,_0x29f733:0x2,_0x1ecf8f:0x12d,_0x619998:0x5c,_0x1f998a:0x21e,_0x5b9d39:0x22a,_0x6fb015:0x30,_0x435360:0x24f,_0x3b2d5b:0x2ac,_0x36243a:0x314,_0x104d4f:0x1ac,_0x521bc1:0x87,_0x673898:0x95,_0x62da6:0x1c2,_0x8b77d9:0x101},_0x155574={_0x324d1e:0x421,_0x1e38f5:0x52d,_0x5c042e:0x417,_0x8f1233:0x227,_0x593bda:0x53b,_0x2cf3b4:0x472,_0x3386e1:0x179,_0x348768:0x2f3,_0x606a06:0xef,_0x56febf:0x15b,_0x13504c:0x1a6,_0xeab3d3:0x348,_0x20159b:0x1f9,_0x3e4721:0x42c,_0x4ad31b:0x3d9,_0x2a2753:0x4e8,_0x2137c0:0x3bf,_0x2b34d0:0x437,_0x53065f:0xb6,_0x473693:0xee,_0x1e7334:0x2d9,_0x378d5:0x4a6,_0x3429c0:0x485,_0x157a25:0x41f,_0x53f96a:0x4c2,_0x8fa11:0x4f3,_0x5c5ab1:0x48b,_0x37c886:0x232,_0x311b97:0x2e3,_0x3bbc98:0x375,_0x3f2ea0:0x27a,_0x43ee48:0x10c,_0x593392:0x185,_0x5896e1:0x40f,_0xa9f88b:0x39d,_0x161093:0x388,_0x35cafa:0x17b,_0x342c68:0x3f,_0x757e76:0x2af,_0x31847d:0x1a4,_0x509ac0:0x491,_0x2203d5:0x37d,_0x41212e:0x5b9,_0x1e5cfb:0x4cb,_0x1d9018:0x1fc,_0x467f4b:0x383,_0x111da2:0x430,_0x363ba4:0x285,_0x1c9cac:0x22b,_0x4e989f:0x2ab,_0x4815e9:0x103,_0x40c652:0xdb,_0x380853:0x35a,_0x40c916:0x349,_0x41cc01:0x454,_0x54c37e:0x320,_0x39490a:0x342,_0xbf91cc:0x1a0,_0x524f46:0x5f,_0x54fb9b:0x44e,_0x78f7b9:0x5bb,_0xce98b4:0x1fb,_0x111e14:0x16a,_0x75638d:0x184,_0x39b97b:0x24d},_0x98daf5={_0x9cfad:0x62a},_0x31baec={_0x1f929c:0x448,_0x4c03d2:0x8b},_0x1c5dcb=_0x1ccdde[_0x428442(0x85,-0x9c,_0x2a2670._0x557ded,-0x53)](_0x5e2754[_0x2f255f(_0x2a2670._0x26f53f,-_0x2a2670._0x175ff3,_0x2a2670._0x36e9fa,-_0x2a2670._0x3385b4)]??process[_0x428442(_0x2a2670._0x2349c8,0x193,_0x2a2670._0x52754f,0x2d6)]());function _0x2f255f(_0x50ceb8,_0x3e936f,_0x5dd1b6,_0x2e8d7e){return _0x2edd77(_0x2e8d7e- -_0x31baec._0x1f929c,_0x3e936f-0x5,_0x5dd1b6-_0x31baec._0x4c03d2,_0x3e936f);}const _0x1764a8=_0x5e2754[_0x2f255f(-0x98,0x8e,0x2f,-_0x2a2670._0x159e6f)]??[],_0x2f1ccb=_0x5e2754['maxBytes']??DEFAULT_MAX_BYTES,_0x1d0659=_0x5e2754[_0x428442(0x122,_0x2a2670._0x54eaca,-_0x2a2670._0x3b41c4,_0x2a2670._0x29f733)]??_0x428442(_0x2a2670._0x1ecf8f,-0x6f,_0x2a2670._0x619998,-0x54);function _0x428442(_0x182da7,_0x2710ae,_0x494ffc,_0xcb8282){return _0x520b4c(_0x182da7-0x12b,_0x2710ae-0xd9,_0x182da7,_0x2710ae- -_0x98daf5._0x9cfad);}return defineTool({'name':_0x1d0659,'permissionClass':_0x428442(_0x2a2670._0x1f998a,0x1c4,0x187,_0x2a2670._0x5b9d39),'description':'Inspect\x20a\x20PNG,\x20JPEG,\x20WebP,\x20or\x20GIF\x20image\x20from\x20the\x20workspace\x20or\x20allowed\x20directories.\x20Use\x20FileRead\x20for\x20text.','inputSchema':{'type':_0x2f255f(0x2fc,_0x2a2670._0x6fb015,_0x2a2670._0x435360,0x1b0),'properties':{'path':{'type':_0x2f255f(_0x2a2670._0x3b2d5b,0x169,_0x2a2670._0x36243a,0x201)},'detail':{'type':_0x428442(0x2f8,0x1a5,_0x2a2670._0x104d4f,_0x2a2670._0x521bc1)}},'required':[_0x2f255f(_0x2a2670._0x673898,0x75,_0x2a2670._0x62da6,_0x2a2670._0x8b77d9)]},async *'execute'(_0x5c6462){const _0x2f4611={_0x206358:0x13,_0x3a9ac0:0x1f2},_0x2edcd0={_0x4ce526:0x1a8,_0x38e1a0:0x1d9},_0x4e9884=resolveAllowedPath(_0x1c5dcb,_0x1764a8,_0x5c6462[_0x5c0b5f(_0x155574._0x324d1e,_0x155574._0x1e38f5,_0x155574._0x5c042e,0x5c1)]);await assertWorkspaceFile(_0x4e9884);function _0x5c0b5f(_0x4d9469,_0x55df7d,_0x1caf3b,_0x437a27){return _0x2f255f(_0x4d9469-_0x2edcd0._0x4ce526,_0x437a27,_0x1caf3b-_0x2edcd0._0x38e1a0,_0x4d9469-0x320);}const _0x316043=await _0x56923d(_0x4e9884);if(_0x316043[_0x5c0b5f(0x27a,_0x155574._0x8f1233,0x201,0x221)]>_0x2f1ccb)throw new ToolExecutionError(_0x5c0b5f(_0x155574._0x593bda,0x53c,0x57e,_0x155574._0x2cf3b4)+_0x5c6462[_0x1713ff(0x314,_0x155574._0x3386e1,_0x155574._0x348768,0x38f)],{'path':_0x5c6462['path'],'maxBytes':_0x2f1ccb,'size':_0x316043[_0x5c0b5f(0x27a,_0x155574._0x606a06,0x35e,0x390)]});const _0x861365=await _0x41c160(_0x4e9884),_0x58e304=detectImageMediaType(_0x861365,_0x4e9884);if(!_0x58e304)throw new ToolExecutionError(_0x5c0b5f(0x2cc,_0x155574._0x56febf,_0x155574._0x13504c,_0x155574._0xeab3d3)+_0x5c6462[_0x1713ff(_0x155574._0x20159b,_0x155574._0x3e4721,_0x155574._0x348768,0x405)],{'path':_0x5c6462['path'],'supported':[_0x5c0b5f(_0x155574._0x4ad31b,_0x155574._0x2a2753,_0x155574._0x2137c0,_0x155574._0x2b34d0),_0x1713ff(-_0x155574._0x53065f,0x259,_0x155574._0x473693,0x10c),_0x1713ff(0x2f6,_0x155574._0x1e7334,0x37d,0x46e),_0x5c0b5f(0x52e,_0x155574._0x378d5,0x5a5,_0x155574._0x3429c0),'.webp']});const _0x27c276=normalizeDetail(_0x5c6462['detail']),_0x4a4a4d=[_0x5c0b5f(_0x155574._0x157a25,_0x155574._0x53f96a,_0x155574._0x8fa11,_0x155574._0x5c5ab1)+_0x5c6462['path'],'MIME:\x20'+_0x58e304,_0x1713ff(0x152,_0x155574._0x37c886,_0x155574._0x311b97,_0x155574._0x3bbc98)+_0x316043[_0x5c0b5f(_0x155574._0x3f2ea0,_0x155574._0x43ee48,0x223,_0x155574._0x593392)]+_0x1713ff(_0x155574._0x5896e1,_0x155574._0xa9f88b,0x3f8,_0x155574._0x161093)][_0x1713ff(_0x155574._0x35cafa,-_0x155574._0x342c68,0x118,0x281)](_0x27c276?[_0x5c0b5f(_0x155574._0x757e76,0x3b3,0x37c,_0x155574._0x31847d)+_0x27c276]:[])[_0x5c0b5f(_0x155574._0x509ac0,_0x155574._0x2203d5,_0x155574._0x41212e,_0x155574._0x1e5cfb)]('\x0a'),_0x1f1869=[{'type':_0x5c0b5f(0x363,_0x155574._0x1d9018,_0x155574._0x467f4b,_0x155574._0x111da2),'source':{'type':_0x5c0b5f(_0x155574._0x363ba4,_0x155574._0x1c9cac,_0x155574._0x4e989f,_0x155574._0x4815e9),'media_type':_0x58e304,'data':_0x861365['toString']('base64')}},{'type':_0x1713ff(0x206,_0x155574._0x40c652,0x236,_0x155574._0x380853),'text':_0x4a4a4d}];yield createToolOutput(_0x4a4a4d,{'path':_0x5c6462[_0x5c0b5f(0x421,0x485,0x2ed,_0x155574._0x40c916)],'resolvedPath':_0x4e9884,'created':_0x316043['birthtime'][_0x1713ff(_0x155574._0x41cc01,0x39c,_0x155574._0x54c37e,_0x155574._0x39490a)](),'modified':_0x316043[_0x1713ff(_0x155574._0xbf91cc,-_0x155574._0x524f46,0xf8,-0xa7)][_0x5c0b5f(_0x155574._0x54fb9b,0x2ef,_0x155574._0x78f7b9,0x40c)](),'size':_0x316043[_0x5c0b5f(0x27a,_0x155574._0xce98b4,_0x155574._0x111e14,0x3b0)],'mimeType':_0x58e304,'encoding':_0x5c0b5f(0x285,_0x155574._0x75638d,0xe7,_0x155574._0x39b97b),..._0x27c276?{'detail':_0x27c276}:{}},_0x1f1869);function _0x1713ff(_0x132199,_0x1913ee,_0x4939b4,_0x515f9a){return _0x2f255f(_0x132199-0x5d,_0x515f9a,_0x4939b4-_0x2f4611._0x206358,_0x4939b4-_0x2f4611._0x3a9ac0);}return void 0x0;}});}import _0x1120e2 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0xd6db67=>{const _0x214f56={_0x68621d:0x5dd,_0x47f3da:0x480},_0xad30a3={_0xd9a545:0x71},{lookup:_0x44e7ae}=await import(_0x3c57cd(_0x214f56._0x68621d,_0x214f56._0x47f3da,0x5d0,0x664));function _0x3c57cd(_0x5f4566,_0x2f9d69,_0x91a2fa,_0x2decc4){return _0x520b4c(_0x5f4566-0x1c4,_0x2f9d69-0x9a,_0x2f9d69,_0x5f4566- -_0xad30a3._0xd9a545);}return _0x44e7ae(_0xd6db67,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x30e19a){const _0x230471={_0x943cf9:0xc0,_0x2564bd:0x4e,_0x2a4c67:0x231,_0x12c123:0x11f,_0x43a24c:0x567,_0x1b55e6:0x404,_0x21fded:0x3fa},_0x555b9f={_0x447283:0x91},_0x376e06={_0x55ede6:0xdf,_0x4105e3:0x1b1},_0x2e42a2=_0x30e19a[_0x3d1998(0xea,0x17a,_0x230471._0x943cf9,_0x230471._0x2564bd)]('.');if(_0x2e42a2[_0x3d1998(_0x230471._0x2a4c67,_0x230471._0x12c123,0x282,0xfb)]!==0x4)return null;let _0x4395ed=0x0;function _0x3d1998(_0x3bd0f6,_0x46879b,_0x4d772e,_0xa5ed21){return _0x520b4c(_0x3bd0f6-_0x376e06._0x55ede6,_0x46879b-_0x376e06._0x4105e3,_0x46879b,_0x3bd0f6- -0x3c4);}for(const _0x10691f of _0x2e42a2){if(!/^\d{1,3}$/[_0xbb1b60(_0x230471._0x43a24c,0x429,_0x230471._0x1b55e6,_0x230471._0x21fded)](_0x10691f))return null;const _0x10f681=Number(_0x10691f);if(_0x10f681>0xff)return null;_0x4395ed=_0x4395ed*0x100+_0x10f681;}function _0xbb1b60(_0x469e2e,_0x2f3b71,_0x16eee5,_0x59ace5){return _0x520b4c(_0x469e2e-_0x555b9f._0x447283,_0x2f3b71-0x162,_0x59ace5,_0x16eee5- -0x335);}return _0x4395ed>>>0x0;}function isBlockedIpv4(_0x54c4c1){const _0x4ba56d={_0x154728:0x59,_0x5276a4:0x100,_0x58b825:0x5c,_0x55fce6:0x1a4,_0x52c90e:0x8e,_0xa591dd:0xbf,_0xb6cb17:0x1ef,_0x2edfc0:0x45,_0x1ae818:0x1d3,_0x17bb1d:0x6c,_0x3ef6fd:0x1e9,_0x63a31c:0x8d,_0x3ad0f6:0x2f,_0x1189a4:0x49,_0x221aea:0x187,_0x44c7ff:0x24},_0x5a77b2={_0x1c325f:0x16a,_0x49f8b2:0x1eb},_0x5b2478={_0xc33bc4:0x76};function _0x3bc465(_0x34df31,_0x58e0f4,_0x20a2bf,_0x20c327){return _0x520b4c(_0x34df31-_0x5b2478._0xc33bc4,_0x58e0f4-0x125,_0x20c327,_0x34df31- -0x646);}const _0x39d5ff=ipv4ToInt(_0x54c4c1);if(_0x39d5ff===null)return!![];const _0x2aed2d=(_0x3e2220,_0x4aa09b)=>{const _0x4f697e=ipv4ToInt(_0x3e2220);if(_0x4f697e===null)return![];const _0x32c61b=_0x4aa09b===0x0?0x0:0xffffffff<<0x20-_0x4aa09b>>>0x0;return(_0x39d5ff&_0x32c61b)===(_0x4f697e&_0x32c61b);};function _0x3db3bb(_0x2a8c2b,_0x3f7409,_0x3c56e7,_0x20f6bf){return _0x520b4c(_0x2a8c2b-_0x5a77b2._0x1c325f,_0x3f7409-_0x5a77b2._0x49f8b2,_0x20f6bf,_0x3c56e7- -0x5e5);}return _0x2aed2d(_0x3bc465(-0x153,-0x8f,-_0x4ba56d._0x154728,0x7),0x8)||_0x2aed2d(_0x3db3bb(-0xce,-_0x4ba56d._0x5276a4,-_0x4ba56d._0x58b825,-_0x4ba56d._0x55fce6),0x8)||_0x2aed2d('100.64.0.0',0xa)||_0x2aed2d(_0x3db3bb(0x1e0,-0xc6,_0x4ba56d._0x52c90e,0x1fa),0x8)||_0x2aed2d(_0x3bc465(-0x15,0x97,-_0x4ba56d._0xa591dd,-0xa2),0x10)||_0x2aed2d(_0x3db3bb(_0x4ba56d._0xb6cb17,-_0x4ba56d._0x2edfc0,0xaa,_0x4ba56d._0x1ae818),0xc)||_0x2aed2d('192.0.0.0',0x18)||_0x2aed2d(_0x3bc465(0xd8,-_0x4ba56d._0x17bb1d,-0x87,-0x2d),0x10)||_0x2aed2d(_0x3db3bb(-0x1e6,-_0x4ba56d._0x3ef6fd,-_0x4ba56d._0x63a31c,-0x17c),0xf)||_0x2aed2d(_0x3db3bb(-_0x4ba56d._0x3ad0f6,-0x26,0x162,_0x4ba56d._0x1189a4),0x4)||_0x2aed2d(_0x3bc465(-_0x4ba56d._0x221aea,-_0x4ba56d._0x44c7ff,0x15,-0x60),0x4);}function expandIpv6(_0x2277a8){const _0x38d789={_0x19e7ce:0x131,_0x46518f:0x74d,_0x4f4774:0x4f3,_0x26300b:0x688,_0x384b1e:0x156,_0x422428:0xa7,_0x1f29c9:0x13b,_0x5724e4:0x42,_0x5d1e0e:0x47c,_0x313908:0x5fe,_0x524a9b:0x5c3,_0x12b33b:0x163,_0x39d82b:0x5e,_0xee254f:0x232,_0x4ab518:0x107,_0x7e9171:0x606,_0x369b18:0x7ae,_0x3193ab:0x5f4,_0x358e82:0x4f8,_0x2552d5:0x2a1,_0xca1ded:0x107,_0x458edd:0x463,_0x5e01d1:0x5c3,_0x5ec571:0x4a3,_0x32cf9b:0x6da,_0xcf6f6b:0x127},_0x22e619={_0x2ad1d3:0x154,_0x450e72:0x5f},_0x16ce1a={_0x3d06b1:0x576};let _0x212cfb=_0x2277a8,_0x5645be;function _0x20871b(_0x1a7029,_0x60bdd4,_0x2dfaf0,_0x421a1f){return _0x2edd77(_0x421a1f- -_0x16ce1a._0x3d06b1,_0x60bdd4-0x190,_0x2dfaf0-0xe3,_0x2dfaf0);}const _0xd64d09=_0x212cfb[_0x20871b(-_0x38d789._0x19e7ce,0x2b,-0x58,-0x158)](':');_0x212cfb[_0x6f8830(_0x38d789._0x46518f,_0x38d789._0x4f4774,0x72d,_0x38d789._0x26300b)](_0xd64d09+0x1)['includes']('.')&&(_0x5645be=_0x212cfb[_0x20871b(-_0x38d789._0x384b1e,-0xd6,-0x74,-0x42)](_0xd64d09+0x1),_0x212cfb=_0x212cfb[_0x20871b(-_0x38d789._0x422428,-0x1b1,_0x38d789._0x1f29c9,-_0x38d789._0x5724e4)](0x0,_0xd64d09+0x1));const _0x4f1cf6=_0x212cfb[_0x6f8830(0x3be,0x3ed,0x42a,_0x38d789._0x5d1e0e)]('::');if(_0x4f1cf6[_0x6f8830(0x5b6,0x4b0,_0x38d789._0x313908,_0x38d789._0x524a9b)]>0x2)return null;const _0x31bcbc=_0x44b6d3=>_0x44b6d3['split'](':')[_0x20871b(-0x122,-0xea,0xa6,-0x56)](_0x38c9df=>_0x38c9df[_0x20871b(-0x25e,-0xd,-0x49,-0x107)]>0x0)[_0x6f8830(0x561,0x458,0x33a,0x4e1)](_0x4fc3b0=>Number['parseInt'](_0x4fc3b0,0x10)),_0x3b8250=_0x4f1cf6[0x0]?_0x31bcbc(_0x4f1cf6[0x0]):[],_0x61d693=_0x4f1cf6[_0x20871b(-_0x38d789._0x12b33b,-_0x38d789._0x39d82b,-_0x38d789._0xee254f,-_0x38d789._0x4ab518)]===0x2&&_0x4f1cf6[0x1]?_0x31bcbc(_0x4f1cf6[0x1]):[];function _0x6f8830(_0x40841d,_0x34a86a,_0x3954d9,_0xe9485c){return _0x2edd77(_0xe9485c-_0x22e619._0x2ad1d3,_0x34a86a-0xcb,_0x3954d9-_0x22e619._0x450e72,_0x3954d9);}const _0x80a395=[];if(_0x5645be){const _0x4789ca=ipv4ToInt(_0x5645be);if(_0x4789ca===null)return null;_0x80a395[_0x6f8830(0x5bb,_0x38d789._0x7e9171,_0x38d789._0x369b18,0x696)](_0x4789ca>>>0x10&0xffff,_0x4789ca&0xffff);}const _0xf36320=[..._0x61d693,..._0x80a395],_0x268b6a=0x8-_0x3b8250[_0x6f8830(_0x38d789._0x3193ab,0x56d,_0x38d789._0x358e82,0x5c3)]-_0xf36320['length'];if(_0x4f1cf6[_0x20871b(-_0x38d789._0x2552d5,-0x195,-0x1b,-_0x38d789._0xca1ded)]===0x1)return _0x3b8250[_0x6f8830(_0x38d789._0x458edd,0x70e,0x722,_0x38d789._0x5e01d1)]+_0xf36320[_0x6f8830(_0x38d789._0x5ec571,_0x38d789._0x32cf9b,0x446,0x5c3)]===0x8?[..._0x3b8250,..._0xf36320]:null;if(_0x268b6a<0x0)return null;return[..._0x3b8250,...new Array(_0x268b6a)[_0x20871b(-_0x38d789._0xcf6f6b,-0x24,-0x79,-0x88)](0x0),..._0xf36320];}function isBlockedIpv6(_0xe9a4e2){const _0x1ad6a0={_0x1dd9f0:0x14a,_0x26322e:0x1e1,_0x1c6686:0x226,_0x35a014:0x2d,_0x5afbb0:0x3c,_0x1e9e30:0x105,_0x4983f5:0x272,_0x3e30fa:0x375,_0x28634e:0x29e,_0x5f1369:0x124,_0x553628:0xa,_0x1ec101:0x26a},_0x245edd={_0x5d553b:0x495},_0xceda81={_0x19502b:0xcd,_0x683e2:0xa2},_0x1fb9fc=expandIpv6(_0xe9a4e2);if(!_0x1fb9fc||_0x1fb9fc[_0x82fcc3(_0x1ad6a0._0x1dd9f0,_0x1ad6a0._0x26322e,0x73,_0x1ad6a0._0x1c6686)](_0x18b9de=>Number[_0x4a8b03(0x209,0xfb,0x1d6,0x203)](_0x18b9de)))return!![];const _0x360c01=_0x1fb9fc[_0x4a8b03(-0x6d,0x9f,0x1f0,-_0x1ad6a0._0x35a014)](0x0,0x7)[_0x4a8b03(-0x53,-_0x1ad6a0._0x5afbb0,0x7f,_0x1ad6a0._0x1e9e30)](_0x388007=>_0x388007===0x0);function _0x82fcc3(_0x2c7acd,_0x403f52,_0x272941,_0x340493){return _0x2edd77(_0x2c7acd- -0x2c2,_0x403f52-_0xceda81._0x19502b,_0x272941-_0xceda81._0x683e2,_0x340493);}if(_0x360c01&&(_0x1fb9fc[0x7]===0x0||_0x1fb9fc[0x7]===0x1))return!![];if(_0x1fb9fc[_0x82fcc3(_0x1ad6a0._0x4983f5,_0x1ad6a0._0x3e30fa,_0x1ad6a0._0x28634e,0x14a)](0x0,0x5)['every'](_0x40b3c8=>_0x40b3c8===0x0)&&(_0x1fb9fc[0x5]===0xffff||_0x1fb9fc[0x5]===0x0)){const _0x336f3e=(_0x1fb9fc[0x6]<<0x10|_0x1fb9fc[0x7])>>>0x0,_0x584a13=[_0x336f3e>>>0x18&0xff,_0x336f3e>>>0x10&0xff,_0x336f3e>>>0x8&0xff,_0x336f3e&0xff][_0x4a8b03(0x178,_0x1ad6a0._0x5f1369,-_0x1ad6a0._0x553628,_0x1ad6a0._0x1ec101)]('.');return isBlockedIpv4(_0x584a13);}const _0x174501=_0x1fb9fc[0x0];if((_0x174501&0xff00)===0xfc00||(_0x174501&0xfe00)===0xfc00)return!![];if((_0x174501&0xffc0)===0xfe80)return!![];if((_0x174501&0xff00)===0xff00)return!![];function _0x4a8b03(_0x359501,_0x1968e4,_0x382ba8,_0x21a6ed){return _0x2edd77(_0x1968e4- -_0x245edd._0x5d553b,_0x1968e4-0xa,_0x382ba8-0x2f,_0x382ba8);}return![];}function isBlockedAddress(_0x2152b9){const _0x5dbe54=isIP(_0x2152b9);if(_0x5dbe54===0x4)return isBlockedIpv4(_0x2152b9);if(_0x5dbe54===0x6)return isBlockedIpv6(_0x2152b9);return!![];}async function assertPublicUrl(_0x548e20,_0x407a14={}){const _0x4a4245={_0x12b79c:0x185,_0x35a576:0x201,_0x46d47f:0x11,_0x1db937:0x104,_0x111ded:0x34,_0x545a38:0x31c,_0xa33ce4:0x21d,_0x281555:0x332,_0x2df238:0x11a,_0x15e8f9:0x16d,_0x30a9e6:0x50b,_0x13e25e:0x344,_0x33c167:0x28e,_0x3a3644:0x29c,_0x45e258:0x1a1,_0x521366:0x434,_0x182ce0:0x341,_0x4bd479:0x20e,_0x1f3288:0xd0,_0x4923f0:0x1c5,_0xa3470c:0x98,_0x2dd461:0x220,_0x59845b:0x79,_0x3ce09a:0x16c,_0x4a3e5a:0x119,_0x18c8b7:0x2eb,_0xe18073:0x2ed,_0x6b5b64:0x377,_0x1f0753:0x1bf,_0x1e2182:0x1ab,_0x3078d5:0x71,_0x5a4721:0x1be,_0x3bdef8:0x30,_0x1d38a6:0x40a,_0x593d64:0x294,_0x2264bb:0x313},_0x56f30d={_0x5a721c:0x115},_0x598c59={_0x52f604:0x644};let _0x5cb41f;try{_0x5cb41f=new URL(_0x548e20);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x548e20});}if(_0x5cb41f[_0x52d8af(_0x4a4245._0x12b79c,_0x4a4245._0x35a576,0x18b,0xec)]!==_0x356643(0x11a,-_0x4a4245._0x46d47f,-_0x4a4245._0x1db937,_0x4a4245._0x111ded)&&_0x5cb41f[_0x52d8af(-0x10,0x234,0x18b,_0x4a4245._0x545a38)]!==_0x52d8af(0x21d,_0x4a4245._0xa33ce4,_0x4a4245._0x281555,0x4d1))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x548e20});if(_0x5cb41f[_0x356643(-0x1a0,-_0x4a4245._0x2df238,-0x2b,-_0x4a4245._0x15e8f9)]||_0x5cb41f[_0x52d8af(0x2c8,_0x4a4245._0x30a9e6,0x36f,0x397)])throw new ToolExecutionError(_0x52d8af(0x17f,_0x4a4245._0x13e25e,_0x4a4245._0x33c167,0x253),{'url':_0x5cb41f['protocol']+'//'+_0x5cb41f[_0x52d8af(0x441,0x3b2,_0x4a4245._0x3a3644,_0x4a4245._0x45e258)]+_0x5cb41f[_0x52d8af(_0x4a4245._0x521366,_0x4a4245._0x182ce0,0x33c,0x351)]});function _0x356643(_0x43067f,_0x4fe8dc,_0x14d8f9,_0x2c947b){return _0x520b4c(_0x43067f-0x7e,_0x4fe8dc-0x2a,_0x4fe8dc,_0x2c947b- -_0x598c59._0x52f604);}const _0x3a57f7=_0x5cb41f[_0x52d8af(0x1e9,_0x4a4245._0x4bd479,_0x4a4245._0x1f3288,0x1d4)][_0x356643(-_0x4a4245._0x4923f0,0x16d,0xe1,-0x22)](/^\[|\]$/g,''),_0x5b7f3d=_0x5cb41f[_0x356643(-0x5e,0xa0,-0xcf,-_0x4a4245._0xa3470c)]+'//'+_0x5cb41f[_0x356643(_0x4a4245._0x2dd461,0x19a,0x1fc,_0x4a4245._0x59845b)]+_0x5cb41f[_0x356643(-0x39,0xe5,_0x4a4245._0x3ce09a,_0x4a4245._0x4a3e5a)];if(isIP(_0x3a57f7)){if(isBlockedAddress(_0x3a57f7))throw new ToolExecutionError(_0x52d8af(_0x4a4245._0x18c8b7,_0x4a4245._0xe18073,0x23e,_0x4a4245._0x6b5b64),{'url':_0x5b7f3d});return _0x5cb41f;}const _0x56be60=_0x407a14[_0x52d8af(0x366,0x247,0x1e2,0xcf)]??defaultLookup;let _0x10be3d;try{_0x10be3d=await _0x56be60(_0x3a57f7);}catch{throw new ToolExecutionError(_0x356643(_0x4a4245._0x1f0753,0x123,_0x4a4245._0x1e2182,_0x4a4245._0x3078d5),{'url':_0x5b7f3d});}if(_0x10be3d[_0x356643(-0xc8,-_0x4a4245._0x5a4721,-_0x4a4245._0x3bdef8,-0x4f)]===0x0)throw new ToolExecutionError(_0x52d8af(0x364,_0x4a4245._0x1d38a6,_0x4a4245._0x593d64,_0x4a4245._0x2264bb),{'url':_0x5b7f3d});for(const {address:_0x47bfcb}of _0x10be3d){if(isBlockedAddress(_0x47bfcb))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x5b7f3d});}function _0x52d8af(_0x347061,_0xf1e873,_0x242cfc,_0x3481b0){return _0x2edd77(_0x242cfc- -0x29b,_0xf1e873-0xef,_0x242cfc-_0x56f30d._0x5a721c,_0x347061);}return _0x5cb41f;}async function safeFetch(_0x365180,_0xf85647={},_0x211900={}){const _0x5a376a={_0x1c0d85:0x1d1,_0x1dbd1b:0x181,_0x5e79d9:0x21b,_0xcbf614:0x36b,_0x3a4f01:0x42,_0x2ad362:0x136,_0x591959:0x196,_0x1676c5:0x14f,_0x5af634:0x1e,_0xeb66bd:0x62,_0x30b097:0x55,_0x6cacfb:0x2f,_0x34bc83:0x1ce,_0x4a8ed7:0x12f,_0x2b50c3:0x2d9,_0x2a3ef1:0xf4,_0x56f913:0x416,_0x91c309:0x202,_0x3f1fad:0x36b},_0x1e5b50={_0x5ee194:0x14d,_0x46e239:0x153},_0x51af9a={_0x520b6b:0x10f},_0x30b792=_0x211900[_0x510101(0x85,0x182,_0x5a376a._0x1c0d85,_0x5a376a._0x1dbd1b)]??fetch;function _0x99a6bc(_0x5a1ca4,_0x599a3b,_0x3aeead,_0x5b0381){return _0x2edd77(_0x3aeead- -0x239,_0x599a3b-_0x51af9a._0x520b6b,_0x3aeead-0x9,_0x5a1ca4);}const _0xc7caee=_0x211900['maxRedirects']??DEFAULT_MAX_REDIRECTS;function _0x510101(_0x25e2ce,_0x521020,_0x48e544,_0x4c11b9){return _0x2edd77(_0x521020- -0x45a,_0x521020-_0x1e5b50._0x5ee194,_0x48e544-_0x1e5b50._0x46e239,_0x4c11b9);}let _0x138898=_0x365180;for(let _0x3ac4a9=0x0;;_0x3ac4a9+=0x1){const _0x5de69b=await assertPublicUrl(_0x138898,_0x211900),_0x5cd353=await _0x30b792(_0x5de69b[_0x99a6bc(0x3e0,_0x5a376a._0x5e79d9,_0x5a376a._0xcbf614,0x1e9)](),{..._0xf85647,'redirect':_0x99a6bc(_0x5a376a._0x3a4f01,0x7e,_0x5a376a._0x2ad362,0x119)}),_0x225a5a=_0x5cd353['headers'][_0x510101(-0xbe,-0xe7,-_0x5a376a._0x591959,-_0x5a376a._0x1676c5)](_0x510101(0x1d1,0x35,0x83,-_0x5a376a._0x5af634));if(!REDIRECT_STATUSES[_0x510101(-_0x5a376a._0xeb66bd,-0x8e,_0x5a376a._0x30b097,-0x212)](_0x5cd353['status'])||!_0x225a5a)return _0x5cd353;if(_0x3ac4a9>=_0xc7caee)throw new ToolExecutionError(_0x99a6bc(-_0x5a376a._0x6cacfb,_0x5a376a._0x34bc83,0xed,-0xa),{'url':_0x5de69b[_0x510101(_0x5a376a._0x4a8ed7,0x14a,_0x5a376a._0x2b50c3,_0x5a376a._0x2a3ef1)]()});_0x138898=new URL(_0x225a5a,_0x5de69b)[_0x99a6bc(_0x5a376a._0x56f913,_0x5a376a._0x91c309,_0x5a376a._0x3f1fad,0x4da)]();}}var USER_AGENT=_0x2edd77(0x5c4,0x625,0x740,0x48e),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x513328,_0x4f1348){const _0x52ec36={_0x45b32d:0x502,_0x518f66:0x68e,_0x1a6d20:0x64c},_0x570d49={_0x1c6836:0x564},_0x3705b5={_0x4c1cc3:0x127,_0x183ed0:0x1ab},_0x7538b7={_0x495aff:0x169,_0x4af56a:0x10c};function _0x249417(_0x5dc8d3,_0x24189f,_0x5c45e4,_0x2c6d17){return _0x2edd77(_0x5c45e4-_0x7538b7._0x495aff,_0x24189f-0x1b3,_0x5c45e4-_0x7538b7._0x4af56a,_0x2c6d17);}const _0x360c1e=new AbortController();function _0x108358(_0x5664be,_0x103074,_0x58c4c8,_0x10f1c1){return _0x520b4c(_0x5664be-_0x3705b5._0x4c1cc3,_0x103074-_0x3705b5._0x183ed0,_0x103074,_0x10f1c1- -0x9a);}const _0x52cd48=setTimeout(()=>_0x360c1e[_0x249417(0x575,0x564,0x68e,0x6c6)](new Error(_0x249417(0x686,0x4dc,0x5d6,0x704))),_0x4f1348),_0x23a79d=()=>_0x360c1e[_0x108358(0x4a5,0x68b,0x4e2,0x611)](_0x513328[_0x249417(0x756,0x773,0x7aa,0x7f2)]);return _0x513328['aborted']?_0x360c1e[_0x249417(0x5e5,_0x52ec36._0x45b32d,_0x52ec36._0x518f66,_0x52ec36._0x1a6d20)](_0x513328['reason']):_0x513328['addEventListener']('abort',_0x23a79d,{'once':!![]}),{'signal':_0x360c1e['signal'],'cleanup':()=>{function _0x486123(_0x2ac302,_0x2f5c34,_0xe4d74,_0x39b3ff){return _0x108358(_0x2ac302-0x2c,_0x2f5c34,_0xe4d74-0xa8,_0xe4d74- -0x14d);}clearTimeout(_0x52cd48),_0x513328[_0x486123(0x526,_0x570d49._0x1c6836,0x5e3,0x562)]('abort',_0x23a79d);}};}function createWebFetchTool(_0x5eff09={}){const _0x3f07eb={_0x543ee5:0x7b,_0x36635e:0x9,_0x40eb06:0xcd,_0x587c7b:0x175,_0x1df520:0x117,_0x45405c:0x8,_0x4555b3:0x115,_0xa1544a:0x90,_0x38badd:0x33,_0x2090ba:0x1dd,_0x22af82:0x73,_0x4527fe:0x4a,_0x2d572f:0xed,_0x507810:0x199,_0xa9a8dc:0x204,_0x2603fb:0x1f,_0x20afb1:0x71,_0x1d603b:0x57,_0x55b281:0x165,_0x44c988:0x3b9,_0x48d29d:0x235,_0x309050:0x95,_0x572c78:0x286,_0x4ae48c:0x26a,_0x2a1297:0xbd},_0x1e22c6={_0x4854af:0x661,_0x49f11e:0x560,_0x1b52bf:0x38b,_0x35772a:0x3d7,_0x31d840:0x2ac,_0x23dff0:0x3aa,_0x358da4:0x4bb,_0x37b51a:0x32f,_0x187855:0x4a2,_0x5290a8:0x525,_0x5afcae:0x3d3,_0x36d324:0x540,_0x26219b:0x4a4,_0x2eabdf:0x62f,_0x1f8dd2:0x50e,_0x13cc84:0x5e1,_0x12deb8:0x7c3,_0x392ac1:0xd2,_0xa3b76a:0x146,_0x4933a0:0x24e,_0x1e0398:0x438,_0x521841:0x30c,_0x40ecd4:0x6dc,_0x182dd5:0x361,_0x5efe87:0x1f6,_0x761b98:0x367,_0x23b601:0x2d4,_0x59c2a8:0x346,_0x292e09:0x69f,_0x53ebe8:0x796,_0x186526:0x746,_0x434e00:0x625,_0x4555fa:0x4d6,_0x2770d0:0x612,_0x4111ec:0x455,_0x483a5e:0x2cb,_0x55adb4:0x247,_0x154fab:0x4cd,_0x170b7c:0x34d,_0x2b525e:0x76b,_0x5ce3cb:0x7cf,_0x497a8a:0x760,_0x4b3f67:0x27c,_0x191a15:0x5b5,_0x251d74:0x46a,_0x274ef0:0x6e0,_0x4b093d:0x701,_0x10f85b:0x5ae,_0x4f3259:0x588,_0x434bfc:0x725},_0x50b7b7={_0x245679:0x4f,_0x318b46:0x5fb},_0x4de226={_0x143e7:0x12};function _0x1f358b(_0x2f0a6b,_0x1e7810,_0x1466bb,_0x4e7c97){return _0x2edd77(_0x1466bb- -0x3c3,_0x1e7810-0x108,_0x1466bb-_0x4de226._0x143e7,_0x4e7c97);}const _0x44864c=_0x5eff09[_0x1e90f8(0x119,_0x3f07eb._0x543ee5,-_0x3f07eb._0x36635e,-_0x3f07eb._0x40eb06)]??'WebFetch';function _0x1e90f8(_0x3b19ba,_0x3396a3,_0x5f4014,_0x23f788){return _0x520b4c(_0x3b19ba-0x1a7,_0x3396a3-_0x50b7b7._0x245679,_0x23f788,_0x3396a3- -_0x50b7b7._0x318b46);}const _0x4b7f99=_0x5eff09[_0x1e90f8(_0x3f07eb._0x587c7b,_0x3f07eb._0x1df520,0x1ae,-0x78)]??DEFAULT_TIMEOUT_MS2,_0x4937e4=_0x5eff09[_0x1e90f8(0xfb,_0x3f07eb._0x45405c,0x119,-0xb6)],_0x43d508=new _0x1120e2({'headingStyle':'atx','codeBlockStyle':_0x1e90f8(_0x3f07eb._0x4555b3,0x9f,-_0x3f07eb._0xa1544a,_0x3f07eb._0x38badd),'bulletListMarker':'-'});return _0x43d508[_0x1f358b(-0x4f,_0x3f07eb._0x2090ba,_0x3f07eb._0x22af82,-_0x3f07eb._0x4527fe)]([_0x1f358b(0x323,_0x3f07eb._0x2d572f,_0x3f07eb._0x507810,0x1a8),_0x1e90f8(0x375,0x1f1,0x143,0x144),'noscript',_0x1f358b(0x22c,_0x3f07eb._0xa9a8dc,0x121,0x22c),_0x1f358b(0x10e,0x360,0x1d6,0x332),_0x1f358b(0xf2,-_0x3f07eb._0x2603fb,_0x3f07eb._0x20afb1,0x205),_0x1e90f8(0x180,0x10b,0xc,_0x3f07eb._0x1d603b),_0x1e90f8(0x2d3,_0x3f07eb._0x55b281,0x1b3,0x212)]),defineTool({'name':_0x44864c,'permissionClass':_0x1f358b(0x1cc,0x372,0x2a5,0x17b),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x1f358b(0xba,_0x3f07eb._0x44c988,_0x3f07eb._0x48d29d,_0x3f07eb._0x309050),'properties':{'description':{'type':_0x1f358b(0x22a,0x29a,_0x3f07eb._0x572c78,_0x3f07eb._0x4ae48c)},'url':{'type':_0x1e90f8(0x330,0x1d4,0x1f4,0x2d9)}},'required':[_0x1f358b(_0x3f07eb._0x2a1297,0x111,0x1d8,0x44)]},async *'execute'(_0x2ee24c,_0x1e07b8){const _0x80419d={_0x384da9:0x65},_0x1a2096=(await assertPublicUrl(_0x2ee24c[_0x4c371a(0x6c4,0x70d,_0x1e22c6._0x4854af,_0x1e22c6._0x49f11e)],{'lookup':_0x4937e4}))['toString']();if(_0x1e07b8[_0x155065(_0x1e22c6._0x1b52bf,0x208,_0x1e22c6._0x35772a,0x251)][_0x155065(_0x1e22c6._0x31d840,_0x1e22c6._0x23dff0,_0x1e22c6._0x358da4,_0x1e22c6._0x37b51a)])throw new ToolExecutionError(_0x4c371a(_0x1e22c6._0x187855,_0x1e22c6._0x5290a8,_0x1e22c6._0x5afcae,0x4be),{'url':_0x1a2096});const _0xed522c=createTimeoutSignal(_0x1e07b8['signal'],_0x4b7f99);let _0x26b598='',_0x241a14=0x0,_0xf6d545;try{const _0x5e0b33=await safeFetch(_0x1a2096,{'headers':{'User-Agent':USER_AGENT},'signal':_0xed522c['signal']},{'lookup':_0x4937e4});if(!_0x5e0b33['ok'])throw new ToolExecutionError(_0x155065(0x5d4,0x563,0x434,0x518)+_0x5e0b33[_0x155065(_0x1e22c6._0x36d324,_0x1e22c6._0x26219b,0x534,0x3e1)]+'\x20'+_0x5e0b33['statusText'],{'url':_0x1a2096,'statusCode':_0x5e0b33[_0x4c371a(_0x1e22c6._0x2eabdf,_0x1e22c6._0x1f8dd2,_0x1e22c6._0x13cc84,_0x1e22c6._0x12deb8)]});_0x26b598=_0x5e0b33[_0x4c371a(0x558,0x598,0x49e,0x6ba)][_0x155065(0x296,_0x1e22c6._0x392ac1,_0x1e22c6._0xa3b76a,_0x1e22c6._0x4933a0)](_0x155065(0x429,0x3e3,_0x1e22c6._0x1e0398,_0x1e22c6._0x521841))??'',_0x241a14=_0x5e0b33[_0x4c371a(_0x1e22c6._0x2eabdf,_0x1e22c6._0x40ecd4,0x653,0x694)],_0xf6d545=await _0x5e0b33[_0x155065(0x3b2,_0x1e22c6._0x182dd5,_0x1e22c6._0x5efe87,_0x1e22c6._0x761b98)]();}catch(_0x5af92c){if(_0x5af92c instanceof ToolExecutionError)throw _0x5af92c;const _0x47fcfe=_0x5af92c instanceof Error?_0x5af92c[_0x155065(_0x1e22c6._0x23b601,_0x1e22c6._0x59c2a8,0x22e,0x3bc)]:String(_0x5af92c);throw new ToolExecutionError(_0x47fcfe,{'url':_0x1a2096});}finally{_0xed522c['cleanup']();}const _0x36da8a=new Date()[_0x4c371a(_0x1e22c6._0x292e09,0x837,_0x1e22c6._0x53ebe8,_0x1e22c6._0x186526)]();let _0x51522a;function _0x155065(_0x192cf8,_0x523c22,_0xb05b1c,_0x798435){return _0x1e90f8(_0x192cf8-0x16d,_0x798435-0x350,_0xb05b1c-_0x80419d._0x384da9,_0xb05b1c);}let _0x50dc64;function _0x4c371a(_0x9968e4,_0x47dc87,_0x9f769c,_0x4f9580){return _0x1f358b(_0x9968e4-0x1b9,_0x47dc87-0x150,_0x9968e4-0x4ec,_0x9f769c);}if(_0x26b598[_0x4c371a(_0x1e22c6._0x434e00,0x74d,_0x1e22c6._0x4555fa,_0x1e22c6._0x2770d0)](_0x155065(0x5f3,0x4bc,0x341,_0x1e22c6._0x4111ec)))_0x51522a='```json\x0a'+_0xf6d545+_0x155065(0x2e1,_0x1e22c6._0x483a5e,0x1d0,_0x1e22c6._0x55adb4),_0x50dc64=_0x4c371a(_0x1e22c6._0x154fab,0x458,0x40b,_0x1e22c6._0x170b7c);else _0x26b598['includes'](_0x4c371a(_0x1e22c6._0x2b525e,_0x1e22c6._0x5ce3cb,0x716,_0x1e22c6._0x497a8a))?(_0x51522a=_0x43d508[_0x155065(0x41e,_0x1e22c6._0x182dd5,0x319,0x4bf)](_0xf6d545),_0x50dc64=_0x155065(0x28a,0x3bf,_0x1e22c6._0x5afcae,_0x1e22c6._0x4b3f67)):(_0x51522a=_0xf6d545,_0x50dc64=_0x4c371a(_0x1e22c6._0x191a15,_0x1e22c6._0x251d74,_0x1e22c6._0x274ef0,_0x1e22c6._0x4b093d));return yield createToolOutput(_0x51522a,{'url':_0x1a2096,'contentType':_0x26b598,'statusCode':_0x241a14,'format':_0x50dc64,'size':_0xf6d545[_0x4c371a(0x598,_0x1e22c6._0x10f85b,_0x1e22c6._0x4f3259,_0x1e22c6._0x434bfc)],'fetchedAt':_0x36da8a}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x520b4c(0x4f4,0x6b3,0x4e9,0x5b1);function normalizeUrl(_0x55f47e){const _0x5648bc={_0x1cb5e3:0x4f2,_0x46fe8f:0x434,_0x4db1d3:0x305,_0x29f393:0x2ae,_0x448606:0x2a5,_0x3ac539:0x122,_0x24575b:0x4fc,_0x428347:0x62b,_0x2a0268:0x654,_0x1cba02:0x5a2,_0x3b8101:0x354,_0x56afda:0x1e9,_0x2a8940:0x437,_0x176db9:0x5b9,_0x54456b:0x572,_0x1e3410:0x6c2},_0xd40c8f={_0x2546d1:0x1cf},_0x3418c4={_0x4a3f24:0x1b8};function _0x4020c1(_0x16570d,_0x59fcb5,_0x9b6135,_0x17837c){return _0x520b4c(_0x16570d-0x10,_0x59fcb5-0x195,_0x17837c,_0x59fcb5- -_0x3418c4._0x4a3f24);}function _0x15fb4c(_0x428588,_0x31c64d,_0x5a3f48,_0x17c8fe){return _0x2edd77(_0x5a3f48- -0x40b,_0x31c64d-0x136,_0x5a3f48-_0xd40c8f._0x2546d1,_0x17c8fe);}try{const _0x5c39a7=new URL(_0x55f47e);for(const _0x2a6ed5 of[_0x4020c1(_0x5648bc._0x1cb5e3,_0x5648bc._0x46fe8f,0x2ed,0x4a2),'utm_medium',_0x4020c1(0x299,_0x5648bc._0x4db1d3,_0x5648bc._0x29f393,0x2df),_0x15fb4c(0x122,_0x5648bc._0x448606,_0x5648bc._0x3ac539,-0x5c),_0x4020c1(_0x5648bc._0x24575b,_0x5648bc._0x428347,0x560,0x5e6),'gclid',_0x15fb4c(-0x40,-0x1af,-0xa7,-0x1ed),'mc_cid',_0x15fb4c(-0x76,0xd0,0x9e,0xa6)]){_0x5c39a7[_0x4020c1(_0x5648bc._0x2a0268,0x4b4,_0x5648bc._0x1cba02,0x31c)][_0x4020c1(0x2c8,_0x5648bc._0x3b8101,_0x5648bc._0x56afda,_0x5648bc._0x2a8940)](_0x2a6ed5);}return _0x5c39a7[_0x4020c1(_0x5648bc._0x176db9,_0x5648bc._0x54456b,0x5d5,_0x5648bc._0x1e3410)]();}catch{return _0x55f47e;}}function cseDateRestrict(_0x224529){const _0x47d07c={_0x490f23:0x6f7,_0x279c97:0x5f7,_0x5872d4:0x64c,_0x2adae6:0xbe,_0x52533b:0x8a,_0x1fe100:0x5e7,_0x1d2066:0x22c,_0xd5d74e:0x162},_0x4070bd={_0x466463:0x4a9,_0x295a1a:0xb0,_0xd319ba:0x144},_0x5720e1={_0x5da7c2:0x11b,_0x197469:0xaa};if(_0x224529<=0x0)return void 0x0;function _0x313c2f(_0x5a45f5,_0x5e9fe7,_0x5d1e77,_0x204b44){return _0x2edd77(_0x5d1e77-_0x5720e1._0x5da7c2,_0x5e9fe7-_0x5720e1._0x197469,_0x5d1e77-0x1d5,_0x5e9fe7);}if(_0x224529<=0x1e)return'd'+Math[_0x313c2f(_0x47d07c._0x490f23,_0x47d07c._0x279c97,_0x47d07c._0x5872d4,0x572)](0x1,Math[_0xd0eff0(_0x47d07c._0x2adae6,0x159,0x18,_0x47d07c._0x52533b)](_0x224529));function _0xd0eff0(_0x25eb4e,_0x5cbf9c,_0x331bd8,_0x42ae1f){return _0x2edd77(_0x5cbf9c- -_0x4070bd._0x466463,_0x5cbf9c-_0x4070bd._0x295a1a,_0x331bd8-_0x4070bd._0xd319ba,_0x42ae1f);}if(_0x224529<=0x16d)return'm'+Math[_0x313c2f(0x4c0,_0x47d07c._0x1fe100,0x462,0x30a)](_0x224529/0x1e);return'y'+Math[_0xd0eff0(-_0x47d07c._0x1d2066,-_0x47d07c._0xd5d74e,-0x17b,-0x233)](_0x224529/0x16d);}function addSiteFilters(_0x5b016d,_0x260a5d){const _0x4ff30f={_0x4c0a3e:0x52,_0x1e0a61:0x175,_0x1ab09e:0xe0,_0x34ca5d:0x2bb,_0x56fad0:0x1ef,_0x708684:0x93,_0x419811:0x28d,_0x16f0e1:0x6e},_0x521871={_0x14eaea:0x10b};function _0x64038d(_0x421510,_0x447305,_0x1f863b,_0x213534){return _0x2edd77(_0x213534- -0x2fa,_0x447305-0x4a,_0x1f863b-0x7a,_0x1f863b);}if(_0x260a5d[_0x64038d(0x11f,_0x4ff30f._0x4c0a3e,0x42,_0x4ff30f._0x1e0a61)]===0x0)return _0x5b016d[_0x64038d(_0x4ff30f._0x1ab09e,_0x4ff30f._0x34ca5d,0x287,0x129)]();function _0x134e75(_0x39cbe1,_0x53a737,_0x1cb0bd,_0x4a13b5){return _0x2edd77(_0x1cb0bd- -0x4c4,_0x53a737-_0x521871._0x14eaea,_0x1cb0bd-0x15d,_0x39cbe1);}return(_0x5b016d+'\x20('+_0x260a5d[_0x64038d(-0x1b,_0x4ff30f._0x56fad0,0x1f5,_0x4ff30f._0x708684)](_0x5afa5d=>_0x134e75(-0x81,-0x1f9,-0x188,-0x308)+_0x5afa5d)['join'](_0x64038d(_0x4ff30f._0x419811,0x136,_0x4ff30f._0x16f0e1,0x1b9))+')')['trim']();}function normalizeType(_0x1933e7){const _0xf5afeb={_0xe32d8d:0x587,_0x13c537:0x4a7,_0x10c654:0x4a1,_0x316f70:0x586,_0x5c0be7:0x51a},_0x24b934={_0x3d6df4:0x1ad},_0x154e3d={_0x2a785f:0x1db,_0x45343b:0x1a2};function _0x379f14(_0x5786b5,_0x4f4344,_0x4f08f2,_0x4eda91){return _0x2edd77(_0x4eda91-_0x154e3d._0x2a785f,_0x4f4344-0xa,_0x4f08f2-_0x154e3d._0x45343b,_0x5786b5);}function _0x426b7b(_0x228dcb,_0x32cabe,_0x223792,_0x35f890){return _0x520b4c(_0x228dcb-0x5f,_0x32cabe-_0x24b934._0x3d6df4,_0x228dcb,_0x32cabe-0x2b);}return _0x1933e7===_0x426b7b(_0xf5afeb._0xe32d8d,0x586,_0xf5afeb._0x13c537,0x514)?_0x426b7b(_0xf5afeb._0x10c654,_0xf5afeb._0x316f70,0x4d9,_0xf5afeb._0x5c0be7):'web';}async function fetchJson(_0x933d8e,_0x450fde,_0x2a8c57){const _0x30eb03={_0x505933:0x416,_0x1d8e99:0x443,_0x3c31e0:0x481,_0x54482e:0x6d7,_0x3f4763:0x59e,_0x2367f7:0x564,_0x2faac5:0x626,_0xf2686:0x3de,_0x4e6a56:0x433,_0x54cf3e:0x5c8,_0x3692d8:0x75a,_0x3ea901:0x570,_0x4b87c1:0x444,_0x3c05c8:0x54b,_0x3ce099:0xc9,_0x9b2cf8:0xcb,_0x5781c3:0x540,_0x598700:0x643,_0x2c6a50:0x911,_0x3e2a9c:0x698,_0x469152:0x80d,_0x400d7f:0x88b,_0xeaa04e:0x79f,_0x44dd44:0x7ee,_0x27fb02:0x2af,_0x25aa5e:0x376,_0x28c35f:0x28f,_0x3a3d3d:0x131,_0x5e68f8:0x5e0,_0x329ce1:0x584},_0x147d6c={_0x1d61e2:0x1ab},_0x26e4ab={_0x3a0bc9:0x162,_0x3805fc:0xab},_0x47c584=await fetch(_0x933d8e,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x2a8c57?.[_0x5ae794(_0x30eb03._0x505933,_0x30eb03._0x1d8e99,0x591,0x4aa)]},'signal':_0x450fde,..._0x2a8c57});if(!_0x47c584['ok']){let _0x47408c,_0x1d4f3d;try{_0x47408c=await _0x47c584[_0x5ae794(_0x30eb03._0x3c31e0,_0x30eb03._0x54482e,0x5ee,_0x30eb03._0x3f4763)]();const _0x779311=JSON[_0x5ae794(0x6d5,_0x30eb03._0x2367f7,_0x30eb03._0x2faac5,0x617)](_0x47408c),_0xb1ea6a=typeof _0x779311[_0x10988b(_0x30eb03._0xf2686,_0x30eb03._0x4e6a56,0x366,_0x30eb03._0x2367f7)]===_0x5ae794(_0x30eb03._0x54cf3e,0x5f9,_0x30eb03._0x3692d8,0x838)?_0x779311[_0x10988b(0x3de,_0x30eb03._0x3ea901,_0x30eb03._0x4b87c1,_0x30eb03._0x3c05c8)]['error']:void 0x0;_0x1d4f3d=_0x779311[_0x10988b(_0x30eb03._0x3ce099,-_0x30eb03._0x9b2cf8,0xab,-0x74)]?.[_0x5ae794(_0x30eb03._0x5781c3,0x512,_0x30eb03._0x598700,0x5d2)]??_0x779311['error']?.['errors']?.[0x0]?.['message']??_0xb1ea6a;}catch{}const _0xf4389d=_0x1d4f3d?_0x5ae794(_0x30eb03._0x2c6a50,_0x30eb03._0x3e2a9c,0x79f,0x814)+_0x47c584[_0x5ae794(0x4d6,0x598,0x668,_0x30eb03._0x469152)]+':\x20'+_0x1d4f3d:_0x5ae794(_0x30eb03._0x400d7f,0x7ff,_0x30eb03._0xeaa04e,_0x30eb03._0x44dd44)+_0x47c584[_0x10988b(_0x30eb03._0x27fb02,0x11c,_0x30eb03._0x25aa5e,_0x30eb03._0x28c35f)]+'\x20'+_0x47c584[_0x10988b(0x10f,0x1e1,0x254,_0x30eb03._0x3a3d3d)];throw new ToolExecutionError(_0xf4389d,{'statusCode':_0x47c584[_0x5ae794(_0x30eb03._0x5e68f8,_0x30eb03._0x329ce1,0x668,0x4ec)],..._0x47408c?{'body':_0x47408c}:{}});}function _0x5ae794(_0x3ce123,_0x1e71f2,_0x1cd4d2,_0x2c90c4){return _0x2edd77(_0x1cd4d2-_0x26e4ab._0x3a0bc9,_0x1e71f2-0xbe,_0x1cd4d2-_0x26e4ab._0x3805fc,_0x1e71f2);}function _0x10988b(_0xe68980,_0x1ee67e,_0x54db13,_0x1a0461){return _0x2edd77(_0xe68980- -0x257,_0x1ee67e-_0x147d6c._0x1d61e2,_0x54db13-0x64,_0x1ee67e);}return await _0x47c584['json']();}async function hydrateResults(_0x4cc58b,_0x5c610b,_0x30f3a7,_0x3be159){const _0x1cc600={_0x39273d:0x2dd,_0x456ec5:0x169,_0x29a323:0x387,_0x54e244:0x2d5,_0x4da2e5:0x30d,_0x31d476:0x156,_0x5b059c:0x123,_0x439937:0x136,_0x4e056a:0x2d5},_0x2fbc39={_0x3c2d8d:0x3dd},_0x1f8f52={_0x4ae775:0x411,_0x1c5997:0x6b0,_0x1a15a2:0x47f,_0x396941:0x519,_0x18e75b:0x43b,_0x178851:0x479,_0x5bf73e:0x6c5,_0x483e19:0x300,_0x5dfeb9:0x404,_0x30c0ba:0x43d,_0x3b9a2f:0x4ea,_0x4a949e:0x26b,_0x3b3968:0x438,_0x606b5:0x5d3,_0x3f6281:0x43d,_0x2503d5:0x302,_0x1a5b8b:0x3ba,_0x18b0ba:0x339,_0x34607c:0x409,_0x37a0aa:0x150,_0x5914ee:0x330,_0x5b457e:0x2b9,_0x175ca8:0x28b,_0x19f7ef:0x458,_0x25fb4c:0x34f,_0x2d5230:0x519,_0x3a9f92:0x48d,_0x434128:0x46a,_0x2e6aaf:0x478,_0x3b20f7:0x530,_0x14bb15:0x3f0,_0x1dcb0b:0x327},_0x5d73d0={_0x57c83b:0x10d,_0x12b003:0x20e},_0x39a373={_0x5ff3e8:0x191,_0x318404:0x23e};function _0x46dd0d(_0x36c35d,_0x5f5855,_0x37cf99,_0x5b920a){return _0x520b4c(_0x36c35d-0x165,_0x5f5855-_0x39a373._0x5ff3e8,_0x37cf99,_0x5f5855- -_0x39a373._0x318404);}const _0x26ecc7=await Promise['all'](_0x4cc58b[_0x21ac9c(0x339,_0x1cc600._0x39273d,_0x1cc600._0x456ec5,0x144)](0x0,0xa)[_0x46dd0d(_0x1cc600._0x29a323,_0x1cc600._0x54e244,_0x1cc600._0x4da2e5,_0x1cc600._0x31d476)](async _0x643edf=>{const _0x287580={_0x47cf3d:0x134,_0x316d42:0xf1};function _0x151091(_0x2b0239,_0x3bde3a,_0x3f2d46,_0x577e75){return _0x21ac9c(_0x2b0239-0x153,_0x3f2d46-_0x287580._0x47cf3d,_0x3f2d46-_0x287580._0x316d42,_0x2b0239);}function _0x2d6796(_0x27c36a,_0x132946,_0x275735,_0x22da78){return _0x46dd0d(_0x27c36a-_0x5d73d0._0x57c83b,_0x275735-_0x5d73d0._0x12b003,_0x22da78,_0x22da78-0x12d);}try{const _0x41523a=await safeFetch(_0x643edf[_0x2d6796(0x7b8,0x666,0x6f1,0x65d)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x5c610b,'Accept':'text/html'},'signal':_0x30f3a7},{'lookup':_0x3be159});if(!_0x41523a['ok'])return _0x643edf;const _0x3ef7c7=await _0x41523a[_0x151091(0x28e,0x235,0x369,0x279)](),_0x4cd9e8=load(_0x3ef7c7),_0xe4e63f=_0x4cd9e8('meta[property=\x27og:title\x27]')[_0x2d6796(0x63d,_0x1f8f52._0x4ae775,0x532,_0x1f8f52._0x1c5997)]('content')||_0x4cd9e8(_0x2d6796(_0x1f8f52._0x1a15a2,0x42f,_0x1f8f52._0x396941,0x5c2))[_0x151091(0x298,_0x1f8f52._0x18e75b,0x35f,0x28d)]()[_0x2d6796(_0x1f8f52._0x178851,0x4a7,0x5e2,_0x1f8f52._0x5bf73e)]()[_0x151091(0x1b1,0x3ca,_0x1f8f52._0x483e19,_0x1f8f52._0x5dfeb9)](),_0x3574d6=_0x4cd9e8(_0x151091(_0x1f8f52._0x30c0ba,0x291,0x3b1,0x2fc))['attr']('content')||_0x4cd9e8('meta[property=\x27og:description\x27]')['attr']('content')||_0x643edf[_0x151091(_0x1f8f52._0x3b9a2f,_0x1f8f52._0x4a949e,0x40b,_0x1f8f52._0x3b3968)],_0x1acd02=_0x4cd9e8(_0x2d6796(0x6c6,_0x1f8f52._0x606b5,0x589,0x58c))[_0x151091(0x44f,_0x1f8f52._0x3f6281,0x2b9,_0x1f8f52._0x2503d5)]('content')||_0x4cd9e8(_0x151091(_0x1f8f52._0x1a5b8b,_0x1f8f52._0x18b0ba,_0x1f8f52._0x34607c,0x34d))[_0x151091(_0x1f8f52._0x37a0aa,_0x1f8f52._0x5914ee,_0x1f8f52._0x5b457e,_0x1f8f52._0x175ca8)](_0x151091(0x2b1,0x33f,_0x1f8f52._0x19f7ef,0x3d7))||_0x643edf['publishedAt'],_0x5e78ac=_0x4cd9e8('link[rel=\x27canonical\x27]')[_0x151091(0x181,_0x1f8f52._0x25fb4c,_0x1f8f52._0x5b457e,0x2d9)]('href');return{..._0x643edf,'title':_0xe4e63f||_0x643edf[_0x2d6796(0x4dd,0x6a1,_0x1f8f52._0x2d5230,_0x1f8f52._0x3a9f92)],'snippet':_0x3574d6,'url':_0x5e78ac?normalizeUrl(new URL(_0x5e78ac,_0x643edf[_0x151091(0x5db,_0x1f8f52._0x434128,_0x1f8f52._0x2e6aaf,_0x1f8f52._0x3b20f7)])[_0x151091(_0x1f8f52._0x14bb15,0x42c,0x481,_0x1f8f52._0x1dcb0b)]()):_0x643edf['url'],'publishedAt':_0x1acd02};}catch{return _0x643edf;}}));function _0x21ac9c(_0x5452bf,_0x49832c,_0xce7be0,_0x49b43a){return _0x520b4c(_0x5452bf-0x4a,_0x49832c-0x184,_0x49b43a,_0x49832c- -_0x2fbc39._0x3c2d8d);}const _0x471add=new Map(_0x4cc58b[_0x21ac9c(0x376,_0x1cc600._0x39273d,0x36c,0x221)](0x0,0xa)[_0x21ac9c(-0x14,0x136,_0x1cc600._0x5b059c,0x29b)]((_0x5485f6,_0x5b7fb5)=>[_0x5485f6[_0x21ac9c(0x2f1,0x344,0x32f,0x462)],_0x26ecc7[_0x5b7fb5]]));return _0x4cc58b[_0x21ac9c(0x185,_0x1cc600._0x439937,_0x1cc600._0x4e056a,0xad)](_0x271ab0=>_0x471add[_0x21ac9c(-0x65,0x11c,0x108,0x109)](_0x271ab0[_0x21ac9c(0x1d2,0x344,0x416,0x4bc)])??_0x271ab0);}function formatResults(_0x1115ad){const _0x2d6ba7={_0x1eab88:0x3e,_0x2ee2c1:0x2d,_0xee60fc:0x22c,_0x586157:0x260,_0x5a51a8:0x732,_0x4771b8:0x62d,_0x40228a:0x56e},_0x472959={_0x3a71df:0x473,_0x58db79:0x5de,_0x327bc2:0x57a,_0x291ca2:0x491,_0xb7f825:0x563,_0x24bbcd:0x488,_0x5301c0:0x569,_0x5b0e55:0x48c,_0x1a368c:0x5f1,_0x25d2ca:0x672,_0x3472ac:0x545,_0x53f905:0x3f8,_0x2433ef:0x6a0},_0xf198db={_0x57697d:0x103},_0x26960f={_0x109c0d:0xa7,_0x4f601b:0x14f},_0x326f8c={_0x1245f4:0x1b3,_0x2d8a89:0x16d};function _0x5070d9(_0x27e34d,_0xfea485,_0x871ac0,_0x2b650b){return _0x520b4c(_0x27e34d-_0x326f8c._0x1245f4,_0xfea485-_0x326f8c._0x2d8a89,_0x27e34d,_0x2b650b- -0x5ef);}function _0x1ff3ec(_0x4397bb,_0x327563,_0x312e17,_0x45790a){return _0x520b4c(_0x4397bb-_0x26960f._0x109c0d,_0x327563-0xb5,_0x312e17,_0x327563- -_0x26960f._0x4f601b);}if(_0x1115ad['length']===0x0)return _0x5070d9(0x79,-0x90,-_0x2d6ba7._0x1eab88,-_0x2d6ba7._0x2ee2c1);return _0x1115ad[_0x5070d9(-0x149,-_0x2d6ba7._0xee60fc,-_0x2d6ba7._0x586157,-0xdc)](_0x4150be=>{function _0x54ca8a(_0x47bc87,_0x3d1318,_0x24da1c,_0x47bbb9){return _0x1ff3ec(_0x47bc87-0xe7,_0x47bc87- -0xec,_0x47bbb9,_0x47bbb9-0x16a);}const _0x3dedd1=[_0x4150be[_0x54ca8a(_0x472959._0x3a71df,0x4e9,0x3c8,0x43d)][_0x59a60b(0x4a0,_0x472959._0x58db79,0x54d,_0x472959._0x327bc2)]+'.\x20'+_0x4150be[_0x54ca8a(0x30e,0x340,0x2a0,_0x472959._0x291ca2)],_0x4150be['url']];function _0x59a60b(_0x532681,_0x4679b7,_0x3cb018,_0x15b5ff){return _0x5070d9(_0x4679b7,_0x4679b7-_0xf198db._0x57697d,_0x3cb018-0x12b,_0x15b5ff-0x490);}if(_0x4150be['snippet'])_0x3dedd1['push'](_0x4150be['snippet']);if(_0x4150be[_0x59a60b(0x3dc,0x611,0x40b,0x4c8)])_0x3dedd1[_0x59a60b(0x508,_0x472959._0xb7f825,_0x472959._0x24bbcd,_0x472959._0x5301c0)](_0x54ca8a(0x5a3,_0x472959._0x5b0e55,_0x472959._0x1a368c,_0x472959._0x25d2ca)+_0x4150be[_0x54ca8a(0x3ec,0x3cb,_0x472959._0x3472ac,_0x472959._0x53f905)]);return _0x3dedd1[_0x54ca8a(0x504,0x48e,_0x472959._0x2433ef,0x36a)]('\x0a');})[_0x1ff3ec(_0x2d6ba7._0x5a51a8,0x5f0,_0x2d6ba7._0x4771b8,_0x2d6ba7._0x40228a)]('\x0a\x0a');}async function searchOllama(_0x3b9404,_0x1e35de,_0x4f94b0){const _0x52cf75={_0x255e38:0x7a6,_0x3a8f10:0x5a6,_0x5def70:0x5b5,_0x2b2802:0x4cc,_0x400c1f:0x286,_0x83fa5f:0x530,_0x4b6b69:0x661,_0x5a1e17:0x56c,_0x17cf43:0x7dc,_0x4d8bb7:0x8a7,_0x1044e2:0x7b5,_0x4be270:0x32d,_0x1a9c7f:0x39f,_0x53046f:0x63,_0x4d507f:0x264,_0x578d23:0x31d,_0x26d8b0:0x3b9,_0x48c567:0x31d,_0x391900:0x84b,_0x52cd76:0x17,_0x4e682b:0x17,_0x250eef:0xd9,_0x31ef53:0xcb,_0x1f6c4c:0x70,_0x4c4961:0x2be,_0x2eb6de:0x4c8},_0x563310={_0x22f447:0x4eb,_0x346590:0x4c2,_0x2d9aa3:0x465,_0x3e9d05:0x498,_0x4b68f2:0x2b6,_0x3c7384:0x3b9,_0x4e5b63:0x3e5,_0xff753e:0x15e,_0x405c31:0x24,_0x3f42c8:0x5de},_0x2a80c1={_0x33cfcb:0x68,_0x287013:0x5d,_0x493dac:0x1d3},_0x50ba7a={_0x1022c8:0x184},_0x163d1c={_0xa75a4f:0x13b,_0x223595:0x3f6},_0x4568db=Math[_0x1cedeb(_0x52cf75._0x255e38,_0x52cf75._0x3a8f10,_0x52cf75._0x5def70,0x69f)](0x1,Math['min'](0xa,_0x1e35de[_0x4f1da8(_0x52cf75._0x2b2802,0x212,0x355,_0x52cf75._0x400c1f)])),_0x142d3d=addSiteFilters(_0x1e35de[_0x1cedeb(_0x52cf75._0x83fa5f,_0x52cf75._0x4b6b69,0x5f1,_0x52cf75._0x5a1e17)],_0x1e35de[_0x1cedeb(_0x52cf75._0x17cf43,_0x52cf75._0x4d8bb7,0x745,_0x52cf75._0x1044e2)]),_0x495a83=await fetchJson(_0x4f1da8(_0x52cf75._0x4be270,0x41d,_0x52cf75._0x1a9c7f,0x43d),_0x4f94b0,{'method':'POST','headers':{'Authorization':_0x4f1da8(-0x40,_0x52cf75._0x53046f,0x12d,_0x52cf75._0x4d507f)+_0x3b9404[_0x4f1da8(_0x52cf75._0x578d23,_0x52cf75._0x26d8b0,_0x52cf75._0x48c567,0x23d)]},'body':JSON[_0x1cedeb(0x58d,_0x52cf75._0x391900,0x820,0x704)]({'query':_0x142d3d,'max_results':_0x4568db})}),_0x169e9d=_0x495a83[_0x4f1da8(-_0x52cf75._0x52cd76,_0x52cf75._0x4e682b,_0x52cf75._0x250eef,_0x52cf75._0x31ef53)]??[];function _0x4f1da8(_0x2ba649,_0x42359c,_0x4351f5,_0x536e32){return _0x520b4c(_0x2ba649-_0x163d1c._0xa75a4f,_0x42359c-0x131,_0x536e32,_0x4351f5- -_0x163d1c._0x223595);}function _0x1cedeb(_0x59158c,_0x1d50b6,_0x22cb7e,_0x5a8be4){return _0x2edd77(_0x5a8be4-0x16e,_0x1d50b6-0x186,_0x22cb7e-_0x50ba7a._0x1022c8,_0x1d50b6);}const _0x368048=_0x169e9d[_0x4f1da8(-0x7d,-_0x52cf75._0x1f6c4c,0x11d,0x22e)]((_0xa63fbf,_0x236cdf)=>{const _0x62eb9={_0x1327b7:0x1f0,_0x9e73e4:0x21e},_0x5c7a24=_0xa63fbf[_0x3aecf2(_0x563310._0x22f447,_0x563310._0x346590,_0x563310._0x2d9aa3,0x550)]||'';function _0x3aecf2(_0x576b0f,_0x25a15a,_0x39c7e3,_0x4621e1){return _0x1cedeb(_0x576b0f-_0x62eb9._0x1327b7,_0x25a15a,_0x39c7e3-0x11f,_0x576b0f- -_0x62eb9._0x9e73e4);}let _0x5cd986;try{_0x5cd986=new URL(_0x5c7a24)['host'];}catch{_0x5cd986=null;}function _0x1333aa(_0x5dead1,_0x3a8bc1,_0x43e4d0,_0x141b07){return _0x4f1da8(_0x5dead1-_0x2a80c1._0x33cfcb,_0x3a8bc1-_0x2a80c1._0x287013,_0x141b07- -_0x2a80c1._0x493dac,_0x43e4d0);}return{'title':_0xa63fbf[_0x3aecf2(0x313,_0x563310._0x3e9d05,0x402,_0x563310._0x4b68f2)]||_0x3aecf2(_0x563310._0x3c7384,_0x563310._0x4e5b63,0x2e5,0x27e),'url':normalizeUrl(_0x5c7a24),'snippet':_0xa63fbf[_0x1333aa(-_0x563310._0xff753e,0x120,0xff,-_0x563310._0x405c31)]??null,'displayUrl':_0x5cd986,'favicon':null,'publishedAt':null,'source':{'engine':_0x3aecf2(0x579,0x4d9,0x584,_0x563310._0x3f42c8),'rank':_0x236cdf+0x1}};});return{'items':_0x368048['slice'](0x0,_0x4568db),'engine':_0x4f1da8(_0x52cf75._0x4c4961,_0x52cf75._0x2eb6de,0x3b9,0x4ff)};}async function searchTavily(_0x24b0f5,_0x4e1a46,_0x4d486d){const _0x5377d8={_0x4643cd:0x24e,_0x35318b:0x126,_0xc9fff1:0x62,_0x17c200:0x3ab,_0x55cd3d:0x3d3,_0x28d21a:0x5c,_0x294892:0x8d,_0x279970:0x29,_0x1bf2e9:0xea,_0x43e907:0x446,_0x49ef6c:0x2c5,_0x2f0302:0x2a8,_0x50d8b0:0x255,_0x36b738:0x204,_0x41d3d8:0x15e,_0x33378d:0x295,_0x17dfe1:0x1bb,_0xb4f146:0x289,_0x10f502:0x552,_0x5cae61:0x4eb,_0x3ae9c4:0x2d5,_0x1cc3c1:0x28e,_0x40edc1:0x518,_0xf5044d:0x33d,_0x28900e:0x101,_0x531364:0x3d9,_0x494221:0x37c,_0x78d4c5:0x46e,_0x4d36fe:0x12f,_0x54d579:0x2dc,_0xd54a0a:0x13d,_0x48968f:0x13},_0x2b6162={_0x2e6934:0x428},_0x3c7898={_0x9e582:0x1dd,_0x3ede73:0x287,_0x588ab8:0x20,_0x342689:0x6,_0x17206d:0x2f8,_0x4a03b8:0x16f,_0x1a9118:0xd7,_0x7f5cc0:0x9c},_0x2fd0b3={_0x30c452:0x21a,_0xf44f36:0x53},_0x583df4=Math[_0xe662e4(0x2aa,0x145,_0x5377d8._0x4643cd,0x28f)](0x1,Math[_0x328e85(_0x5377d8._0x35318b,0x113,0x23b,-_0x5377d8._0xc9fff1)](0x14,_0x4e1a46[_0x328e85(_0x5377d8._0x17c200,_0x5377d8._0x55cd3d,0x399,0x35d)])),_0x250b48={'query':_0x4e1a46[_0x328e85(0x1e4,0x7a,0x183,_0x5377d8._0x28d21a)],'max_results':_0x583df4,'search_depth':_0x24b0f5['searchDepth']??'basic','topic':_0x24b0f5[_0xe662e4(_0x5377d8._0x294892,_0x5377d8._0x279970,0x290,_0x5377d8._0x1bf2e9)]??_0x328e85(_0x5377d8._0x43e907,0x3bc,_0x5377d8._0x49ef6c,0x589)};if(_0x4e1a46[_0xe662e4(0x41c,0x265,_0x5377d8._0x2f0302,0x3a5)][_0x328e85(_0x5377d8._0x50d8b0,0x32e,0x13a,_0x5377d8._0x36b738)]>0x0)_0x250b48[_0x328e85(_0x5377d8._0x41d3d8,_0x5377d8._0x33378d,_0x5377d8._0x17dfe1,_0x5377d8._0xb4f146)]=_0x4e1a46[_0x328e85(0x42d,_0x5377d8._0x10f502,_0x5377d8._0x5cae61,_0x5377d8._0x3ae9c4)];function _0x328e85(_0xdc70d8,_0x5bad0f,_0x1ea5d7,_0x32d65d){return _0x2edd77(_0xdc70d8- -_0x2fd0b3._0x30c452,_0x5bad0f-0x1bb,_0x1ea5d7-_0x2fd0b3._0xf44f36,_0x1ea5d7);}const _0xe615a=await fetchJson(_0x328e85(0x3ec,_0x5377d8._0x1cc3c1,_0x5377d8._0x40edc1,0x4c7),_0x4d486d,{'method':_0xe662e4(_0x5377d8._0xf5044d,_0x5377d8._0x28900e,0x323,0x1f0),'headers':{'Authorization':_0xe662e4(0x137,0x18,0x19f,0xfb)+_0x24b0f5[_0x328e85(0x274,0x3d9,0x36e,_0x5377d8._0x531364)],'Content-Type':'application/json'},'body':JSON[_0x328e85(_0x5377d8._0x494221,0x500,_0x5377d8._0x78d4c5,0x491)](_0x250b48)}),_0x5e5c27=_0xe615a[_0x328e85(_0x5377d8._0x4d36fe,0x27b,0x2a,0xd7)]??[],_0x3bc4cc=_0x5e5c27['map']((_0xa79851,_0x5e81d6)=>{const _0x29f9a3={_0x6d5a4b:0x67},_0x93baf6=_0xa79851['url']||'';let _0x456a19;function _0x720a03(_0x631e9c,_0x1e4496,_0x26790e,_0x56ed8e){return _0x328e85(_0x1e4496- -0x96,_0x1e4496-_0x29f9a3._0x6d5a4b,_0x56ed8e,_0x56ed8e-0xed);}function _0x56e1c3(_0x3e3683,_0x42f961,_0x4b4bf9,_0x3865bf){return _0xe662e4(_0x3e3683-0x1b2,_0x42f961-0x1c4,_0x4b4bf9,_0x42f961- -0x142);}try{_0x456a19=new URL(_0x93baf6)[_0x720a03(_0x3c7898._0x9e582,_0x3c7898._0x3ede73,0x356,0x1bf)];}catch{_0x456a19=null;}return{'title':_0xa79851[_0x720a03(0x57,0x113,-_0x3c7898._0x588ab8,-_0x3c7898._0x342689)]||_0x56e1c3(0x1c7,0x85,0x43,-0x105),'url':normalizeUrl(_0x93baf6),'snippet':_0xa79851[_0x720a03(_0x3c7898._0x17206d,_0x3c7898._0x4a03b8,0xcb,0x10d)]??null,'displayUrl':_0x456a19,'favicon':null,'publishedAt':null,'source':{'engine':_0x720a03(_0x3c7898._0x1a9118,0xde,-_0x3c7898._0x7f5cc0,0xf5),'rank':_0x5e81d6+0x1}};});function _0xe662e4(_0x2864d2,_0x16c0f6,_0x30a8d0,_0x35450c){return _0x520b4c(_0x2864d2-0xf8,_0x16c0f6-0x1e5,_0x30a8d0,_0x35450c- -_0x2b6162._0x2e6934);}return{'items':_0x3bc4cc[_0xe662e4(0x242,0x173,_0x5377d8._0x54d579,0x292)](0x0,_0x583df4),'engine':_0xe662e4(-0x75,_0x5377d8._0xd54a0a,_0x5377d8._0x48968f,0xec)};}async function searchGoogleCse(_0x459936,_0x1ff1e3,_0x20ac4d){const _0x45fc29={_0x2557bf:0x6a0,_0x1206bf:0x661,_0x11be60:0x567,_0x3d7a9c:0x5dd,_0xaa199b:0x4eb,_0x1c8ce0:0x593,_0x42224a:0x7e3,_0x5176d5:0x387,_0x21e93f:0x375,_0x56a7d6:0x431,_0x2f8e78:0x7af,_0x1d4179:0x532,_0x48c245:0x4b8,_0x4eede5:0x317,_0x5d9778:0x55f,_0x13f83b:0x40d,_0x29c355:0x579,_0x385954:0x6e1,_0x3d34de:0x754,_0x439b30:0x6ee,_0x5ee98b:0x384,_0x2bb382:0x11d,_0x1bd597:0x6df,_0x50bf38:0x616,_0x18f1ed:0x4b8,_0x5363ad:0x607,_0x5afea1:0x55b,_0x3d86c1:0x620,_0x37edfc:0x5d5,_0x32549f:0x51c,_0x2bee5f:0x72f,_0x1d59de:0x22c,_0xb24472:0xab,_0x5c94ba:0xf6,_0x44ff8e:0x31c,_0x124f75:0x7aa,_0x36a36a:0x754,_0x3a7c03:0x88e,_0x4c3903:0x832,_0x473ef6:0x400,_0x409818:0x556,_0x3fb9a3:0x5b9,_0x4fe789:0x346,_0x3c4492:0x1e2,_0x195cbd:0x553,_0x588b44:0x37a,_0x4746a6:0x45b,_0x262cd5:0x3d6,_0x31d7a2:0x648,_0x241adc:0x6c7,_0xdc87d8:0x74e,_0x56efec:0x754,_0x1f9d9c:0x707,_0x16054:0x62a,_0x4e108a:0x6db,_0x5a4966:0x5c4,_0xb53f6e:0x5ec,_0xa08433:0x521,_0x5cbaea:0x632,_0x1ad698:0x4e9,_0x4897a8:0x635,_0xa7a7cd:0x34c,_0x4c4e82:0x363,_0xfd573b:0x520,_0x52a9b1:0x520,_0x5d6c62:0x615,_0x181f24:0x6ba,_0x27a407:0x269,_0x5640ef:0x777,_0x4d0664:0x6d3,_0x437611:0x418,_0x7ae233:0x760,_0x2c59a8:0x5bb,_0x186cce:0x675,_0x26803c:0x2bb,_0xadf7bc:0x48b,_0x4e5154:0x74a,_0x4c50af:0x5ba,_0x21947d:0x60d,_0x407909:0x699,_0x393f85:0x6cd,_0x18303d:0x776,_0x3e3b55:0x504,_0x1565b9:0x5f8,_0x57f40e:0x69b,_0x57d040:0x765,_0x2e3c05:0x505,_0x9478c2:0x464,_0x4f6f31:0x427,_0x342856:0x71a,_0x590a0b:0x5bc,_0x3dce02:0x4b2,_0x411158:0x4f3,_0x2aa192:0x5c9,_0x30ebed:0x2cf,_0x27a8a0:0x2b0,_0xe36c:0x599,_0x532820:0x67f,_0x5e6970:0x330,_0x5d20bd:0x4d1,_0x2eda0c:0x1f0,_0x36a99e:0x5dd,_0xf22b56:0x667,_0x1db855:0x67c,_0x5a0c09:0x521,_0x43efd0:0x55a,_0x301187:0x377,_0x4f17b4:0x2dd,_0x706c4:0x38b,_0x31f9b4:0x23d,_0x3a1d05:0x303,_0x596b32:0x2f0,_0x44c333:0x243,_0x23c0d4:0x3c4,_0x685372:0x45e},_0x4a4bf1={_0x1484a4:0x16c,_0xa2301:0x1ce,_0x9e8567:0x184};function _0x204897(_0x17928d,_0x33b354,_0x2c6488,_0x9377bc){return _0x2edd77(_0x17928d- -_0x4a4bf1._0x1484a4,_0x33b354-_0x4a4bf1._0xa2301,_0x2c6488-_0x4a4bf1._0x9e8567,_0x2c6488);}const _0x3fbb80=Math[_0x52b09c(_0x45fc29._0x2557bf,_0x45fc29._0x1206bf,0x755,_0x45fc29._0x11be60)](0x1,Math['min'](0x32,_0x1ff1e3['count']));if(_0x1ff1e3[_0x52b09c(0x513,0x694,0x788,0x823)]+_0x3fbb80>0x64)throw new ToolExecutionError(_0x52b09c(0x544,0x4c1,_0x45fc29._0x3d7a9c,_0x45fc29._0xaa199b),{'offset':_0x1ff1e3['offset'],'count':_0x3fbb80,'maxResults':0x64});const _0x3f27f7=cseDateRestrict(_0x1ff1e3[_0x52b09c(_0x45fc29._0x1c8ce0,0x724,0x764,_0x45fc29._0x42224a)]),_0x26bd5a=addSiteFilters(_0x1ff1e3[_0x204897(0x292,0x1f7,_0x45fc29._0x5176d5,0x322)],_0x1ff1e3[_0x204897(0x4db,_0x45fc29._0x21e93f,0x3ea,_0x45fc29._0x56a7d6)]);let _0x3d694b=0x0,_0x532c1e=_0x1ff1e3['offset']+0x1;const _0x4a7259=[];while(_0x3d694b<_0x3fbb80){const _0x490947=Math['min'](0xa,_0x3fbb80-_0x3d694b),_0x43b399=new URL(_0x52b09c(0x6e0,0x6d7,0x553,_0x45fc29._0x2f8e78));_0x43b399[_0x52b09c(0x679,0x616,0x58f,_0x45fc29._0x1d4179)][_0x204897(_0x45fc29._0x48c245,_0x45fc29._0x4eede5,_0x45fc29._0x5d9778,_0x45fc29._0x13f83b)](_0x52b09c(0x417,_0x45fc29._0x29c355,0x3f0,0x6dc),_0x459936['googleCseKey']),_0x43b399[_0x52b09c(_0x45fc29._0x385954,0x616,0x74a,0x5e8)][_0x52b09c(0x7b2,_0x45fc29._0x3d34de,_0x45fc29._0x439b30,0x675)]('cx',_0x459936[_0x204897(0x21f,0x278,_0x45fc29._0x5ee98b,_0x45fc29._0x2bb382)]),_0x43b399[_0x52b09c(_0x45fc29._0x1bd597,_0x45fc29._0x50bf38,0x69e,0x753)][_0x204897(_0x45fc29._0x18f1ed,_0x45fc29._0x5363ad,0x39a,_0x45fc29._0x5afea1)]('q',_0x26bd5a),_0x43b399[_0x52b09c(0x6ed,0x616,_0x45fc29._0x3d86c1,_0x45fc29._0x37edfc)]['set']('num',String(_0x490947)),_0x43b399[_0x52b09c(_0x45fc29._0x32549f,0x616,0x7ba,_0x45fc29._0x2bee5f)]['set'](_0x204897(_0x45fc29._0x1d59de,_0x45fc29._0xb24472,_0x45fc29._0x5c94ba,_0x45fc29._0x44ff8e),String(_0x532c1e)),_0x43b399['searchParams'][_0x52b09c(_0x45fc29._0x124f75,_0x45fc29._0x36a36a,_0x45fc29._0x3a7c03,_0x45fc29._0x4c3903)](_0x204897(_0x45fc29._0x473ef6,0x3f4,0x2cc,_0x45fc29._0x409818),_0x1ff1e3[_0x52b09c(0x806,0x69c,_0x45fc29._0x3fb9a3,0x519)]?_0x204897(_0x45fc29._0x4fe789,0x376,_0x45fc29._0x3c4492,0x330):'off');_0x1ff1e3[_0x204897(0x43f,0x566,_0x45fc29._0x195cbd,0x501)]&&(_0x43b399[_0x204897(_0x45fc29._0x588b44,0x42e,_0x45fc29._0x4746a6,_0x45fc29._0x262cd5)][_0x52b09c(_0x45fc29._0x31d7a2,0x754,_0x45fc29._0x241adc,_0x45fc29._0xdc87d8)]('hl',_0x1ff1e3['lang']),_0x43b399['searchParams'][_0x52b09c(0x715,_0x45fc29._0x56efec,0x622,_0x45fc29._0x1f9d9c)]('lr','lang_'+_0x1ff1e3[_0x52b09c(_0x45fc29._0x16054,_0x45fc29._0x4e108a,_0x45fc29._0x5a4966,_0x45fc29._0xb53f6e)]));if(_0x1ff1e3['region'])_0x43b399[_0x52b09c(0x6c7,0x616,_0x45fc29._0xa08433,0x770)][_0x204897(_0x45fc29._0x18f1ed,0x4fc,0x5bd,_0x45fc29._0x5cbaea)]('gl',_0x1ff1e3[_0x204897(_0x45fc29._0x1ad698,_0x45fc29._0x4897a8,0x380,_0x45fc29._0xa7a7cd)][_0x204897(0x4d2,_0x45fc29._0x4c4e82,_0x45fc29._0xfd573b,0x4c4)]());if(_0x1ff1e3[_0x52b09c(_0x45fc29._0x52a9b1,_0x45fc29._0x5d6c62,0x484,_0x45fc29._0x181f24)]===_0x204897(_0x45fc29._0x27a407,0x16b,0x200,0x320))_0x43b399['searchParams'][_0x52b09c(_0x45fc29._0x5640ef,0x754,_0x45fc29._0x4d0664,0x76d)](_0x204897(0x31b,0x4b5,_0x45fc29._0x437611,0x2c6),_0x52b09c(_0x45fc29._0x7ae233,_0x45fc29._0x2c59a8,_0x45fc29._0x186cce,0x48e));if(_0x3f27f7)_0x43b399[_0x204897(_0x45fc29._0x588b44,_0x45fc29._0x26803c,_0x45fc29._0xadf7bc,0x45b)][_0x52b09c(0x707,0x754,0x704,0x652)](_0x52b09c(_0x45fc29._0x4e5154,_0x45fc29._0x4c50af,_0x45fc29._0x21947d,_0x45fc29._0x407909),_0x3f27f7);const _0x4a5511=await fetchJson(_0x43b399['toString'](),_0x20ac4d),_0x59f0b8=_0x4a5511[_0x52b09c(_0x45fc29._0x393f85,0x75e,_0x45fc29._0x18303d,0x738)]??[];if(_0x59f0b8['length']===0x0)break;const _0x16c022=_0x3d694b;for(let _0x280af5=0x0;_0x280af5<_0x59f0b8[_0x52b09c(_0x45fc29._0x3e3b55,0x59f,0x6c4,0x6b3)];_0x280af5++){const _0x3ab371=_0x59f0b8[_0x280af5];if(!_0x3ab371)continue;const _0x47e2f1=_0x3ab371[_0x52b09c(_0x45fc29._0x1565b9,0x5fc,_0x45fc29._0x57f40e,_0x45fc29._0x57d040)]||_0x3ab371[_0x52b09c(_0x45fc29._0x2e3c05,0x5bb,_0x45fc29._0x9478c2,_0x45fc29._0x4f6f31)]?.[_0x52b09c(0x5e5,_0x45fc29._0x342856,_0x45fc29._0x590a0b,0x5a0)]||'',_0x7ae5cc=_0x3ab371[_0x52b09c(_0x45fc29._0x3dce02,_0x45fc29._0x411158,0x500,_0x45fc29._0x2aa192)]||_0x3ab371['image']?.[_0x204897(0x257,_0x45fc29._0x30ebed,_0x45fc29._0x27a8a0,0x353)]||_0x52b09c(0x728,_0x45fc29._0xe36c,_0x45fc29._0x532820,0x49a),_0x51f9ad=_0x3ab371['snippet']||_0x3ab371[_0x52b09c(0x7c8,0x717,0x80b,0x6b8)]?.[_0x204897(_0x45fc29._0x5e6970,_0x45fc29._0x5d20bd,0x27e,_0x45fc29._0x2eda0c)](/<[^>]+>/g,''),_0xfc7db8=_0x3ab371['pagemap']?.['metatags']?.[0x0]??{};let _0x3d2dd5;try{_0x3d2dd5=new URL(_0x47e2f1)[_0x52b09c(_0x45fc29._0x36a99e,_0x45fc29._0xf22b56,0x5c2,_0x45fc29._0x1db855)];}catch{_0x3d2dd5=null;}_0x4a7259[_0x204897(0x3d6,_0x45fc29._0x5a0c09,0x366,_0x45fc29._0x43efd0)]({'title':_0x7ae5cc,'url':normalizeUrl(_0x47e2f1),'snippet':_0x51f9ad??null,'displayUrl':_0x3d2dd5,'favicon':null,'publishedAt':_0xfc7db8[_0x204897(0x23a,_0x45fc29._0x301187,0x34e,0x2d8)]||_0xfc7db8['og:updated_time']||null,'source':{'engine':_0x204897(0x352,_0x45fc29._0x4f17b4,_0x45fc29._0x706c4,0x2bb),'rank':_0x16c022+_0x280af5+0x1}});}_0x3d694b+=_0x59f0b8[_0x204897(0x303,_0x45fc29._0x31f9b4,0x270,0x29e)],_0x532c1e+=_0x59f0b8[_0x204897(_0x45fc29._0x3a1d05,_0x45fc29._0x596b32,_0x45fc29._0x44c333,0x483)];if(_0x59f0b8[_0x204897(_0x45fc29._0x3a1d05,_0x45fc29._0x23c0d4,_0x45fc29._0x685372,0x1d1)]<_0x490947)break;}function _0x52b09c(_0x22a827,_0x58dee1,_0x48f23b,_0x3fdff9){return _0x2edd77(_0x58dee1-0x130,_0x58dee1-0x97,_0x48f23b-0x1dc,_0x48f23b);}return _0x4a7259['slice'](0x0,_0x3fbb80);}function isGoogleCseEngine(_0xcbd8d2){const _0x3c0ac6={_0x349b26:0x4be,_0x1ece30:0x563};function _0x4b0f29(_0x3f3ccc,_0x4ce8a7,_0x3053e9,_0x14de05){return _0x2edd77(_0x14de05- -0xa1,_0x4ce8a7-0xf9,_0x3053e9-0x101,_0x4ce8a7);}return _0x4b0f29(0x604,_0x3c0ac6._0x349b26,0x562,_0x3c0ac6._0x1ece30)in _0xcbd8d2;}function isOllamaEngine(_0x28700e){const _0x411933={_0x2a9f2e:0x379,_0x250c71:0x201},_0x250a14={_0xac336e:0x38c,_0x5c0f87:0x10a};function _0x731553(_0x2a8939,_0x552966,_0x405d97,_0xec9000){return _0x2edd77(_0x552966- -_0x250a14._0xac336e,_0x552966-0xce,_0x405d97-_0x250a14._0x5c0f87,_0x2a8939);}return _0x731553(_0x411933._0x2a9f2e,_0x411933._0x250c71,0x1ef,0x2c8)in _0x28700e;}function isTavilyEngine(_0x1e5774){const _0x2bf445={_0x5e59b4:0xfd,_0x43d90f:0x13e,_0x4e0de2:0x70},_0x361f57={_0x35f258:0x58b,_0x267d58:0xaf};function _0x551d27(_0x13f7df,_0x3efb7f,_0x317797,_0x483c1d){return _0x2edd77(_0x3efb7f- -_0x361f57._0x35f258,_0x3efb7f-_0x361f57._0x267d58,_0x317797-0x132,_0x317797);}return _0x551d27(-0x10d,-_0x2bf445._0x5e59b4,-_0x2bf445._0x43d90f,-_0x2bf445._0x4e0de2)in _0x1e5774;}function createWebSearchTool(_0xeb3a62){const _0x4ad925={_0x1cae05:0x491,_0x1461ac:0x4cb,_0xd293be:0x671,_0x2320aa:0x5d2,_0x1f7919:0x3b0,_0x107298:0x6f2,_0x49dd15:0x519,_0x396acc:0x586,_0x25d3d0:0x6bb,_0x10060b:0x753,_0x7daa82:0x641,_0x44eb74:0x637,_0x52fc89:0x7c1,_0x4f440b:0x4bd,_0xeee860:0x4b8,_0x3f57ff:0x6a5,_0xa6d3e:0x50b,_0x1a80db:0x6e5,_0x541c80:0x720,_0x139690:0x55e,_0x280ed3:0x406,_0x2481d8:0x45f,_0x12844b:0x3ef,_0x5b017e:0x696,_0x1be604:0x6a7,_0x301ee7:0x591,_0x324c43:0x544,_0x1bb753:0x664,_0x4fef9e:0x765,_0x324df2:0x657,_0x3cec5a:0x4d3,_0x2b9fe7:0x44e,_0x2575f2:0x34a,_0x4f917e:0x3b1,_0x46e951:0x30a,_0x20a405:0x4ae,_0x53b323:0x2e9,_0x1b9045:0x19a},_0x399f4d={_0x4dbda6:0x38d,_0x2a45af:0x4a5,_0x32a556:0x469,_0x4d4a72:0x2f3,_0x35f96e:0x51c,_0x3c91f3:0x572,_0x16f212:0x370,_0x1b32e5:0x4d5,_0x5248af:0x6c1,_0x2a4fbb:0x52f,_0x2cf50b:0x616,_0x3db703:0x4d7,_0xc52bf9:0x4b9,_0x2a4915:0x588,_0x16aedc:0x43e,_0x3742b6:0x3b6,_0x5f5dc2:0x3b2,_0xf72be:0x69b,_0x85134:0x567,_0x19c654:0x406,_0x4bc552:0x51e,_0x5d218b:0x418,_0xe11029:0x6da,_0x490686:0x6a6,_0x3d30be:0x4df,_0x20fc77:0x63e,_0x4b8cbe:0x6b7,_0x1b6d20:0x63d,_0x48395d:0x7ba,_0x56f8ae:0x283,_0x1d36f7:0x2ce,_0x33fe8d:0x39d,_0x4c4ddb:0x340,_0x4dac22:0x3c7,_0x258431:0x461,_0x49d9be:0x50f,_0x105192:0x297,_0x2a1425:0x405,_0x2e29e5:0x3e4,_0x2df796:0x2e9,_0x4e0fe2:0x35d,_0x26358c:0x4e1,_0x59d307:0x41a,_0x4ed43c:0x55e,_0xc92e59:0x21b,_0x4f15c8:0x4d0,_0x4089c3:0x439,_0x140aaa:0x4c0,_0x1e7cbe:0x452,_0x4db5aa:0x656,_0x5e73a5:0x2ee,_0xb3e942:0x2d6,_0x32f5ad:0x2e9,_0x11aa19:0x264,_0x5ea40e:0x247,_0x308605:0x5ba,_0x5bbeba:0x570,_0x11f5b0:0x5ba,_0x3b273d:0x515,_0x5a5e06:0x5d2,_0xc84109:0x698,_0x328ba5:0x584,_0x4f840a:0x665,_0x5899c3:0x6ea,_0x451653:0x550,_0xdeeca0:0x645,_0xae8668:0x714,_0x5b609f:0x510,_0x4894f2:0x53f,_0x2294f3:0x3fd,_0x149323:0x3ef,_0x31a436:0x626,_0x44a1ca:0x51e,_0x26dba1:0x53f,_0x151357:0x75e,_0x3780f5:0x620,_0x52c1c0:0x4ea,_0x3cac63:0x4c0,_0x69f3be:0x47e,_0x10bc7b:0x6e7,_0x4a299f:0x629,_0x5d6b64:0x689,_0x48964b:0x538,_0xdab420:0x4b4,_0x2aad63:0x7d6,_0x5efa7d:0x63d,_0x8acaa2:0x618},_0x1f2555={_0x8ad545:0x5c};if(!_0xeb3a62[_0x1c25ba(0x22f,0x391,0x315,0x34f)]||_0xeb3a62[_0x2e55d6(0x486,0x5aa,0x354,_0x4ad925._0x1cae05)][_0x2e55d6(_0x4ad925._0x1461ac,_0x4ad925._0xd293be,_0x4ad925._0x2320aa,_0x4ad925._0x1f7919)]===0x0)throw new Error(_0x2e55d6(0x5e1,0x62e,_0x4ad925._0x107298,0x60e));function _0x1c25ba(_0x4999fa,_0xefcc3e,_0x51959c,_0x1ead69){return _0x2edd77(_0x51959c- -0x115,_0xefcc3e-0x94,_0x51959c-0xfc,_0x4999fa);}const _0x31a5a8=_0xeb3a62[_0x2e55d6(0x54c,_0x4ad925._0x49dd15,_0x4ad925._0x396acc,0x4b3)]??_0x2e55d6(0x61f,_0x4ad925._0x25d3d0,_0x4ad925._0x10060b,_0x4ad925._0x7daa82);function _0x2e55d6(_0x93977f,_0x1c883d,_0x23b50a,_0x593cb0){return _0x2edd77(_0x93977f-_0x1f2555._0x8ad545,_0x1c883d-0x183,_0x23b50a-0xff,_0x1c883d);}const _0x35b956=_0xeb3a62[_0x2e55d6(0x4d9,0x665,_0x4ad925._0x44eb74,0x3b6)];return defineTool({'name':_0x31a5a8,'permissionClass':_0x2e55d6(0x6c4,_0x4ad925._0x52fc89,0x5ce,0x5d0),'description':_0x2e55d6(_0x4ad925._0x4f440b,0x437,0x3c0,_0x4ad925._0xeee860),'inputSchema':{'type':'object','properties':{'description':{'type':_0x1c25ba(0x58a,0x4fd,0x534,0x5e5)},'query':{'type':_0x2e55d6(_0x4ad925._0x3f57ff,_0x4ad925._0xa6d3e,0x78d,_0x4ad925._0x1a80db)},'count':{'type':_0x2e55d6(0x696,0x74e,_0x4ad925._0x541c80,0x7e3)},'offset':{'type':_0x1c25ba(_0x4ad925._0x139690,0x549,0x525,0x67d)},'domains':{'type':_0x1c25ba(0x1fe,0x2e2,0x2ed,0x441),'items':{'type':_0x1c25ba(_0x4ad925._0x280ed3,_0x4ad925._0x2481d8,0x534,_0x4ad925._0x12844b)}},'recencyDays':{'type':_0x2e55d6(_0x4ad925._0x5b017e,_0x4ad925._0x1be604,0x6c5,_0x4ad925._0x301ee7)},'lang':{'type':_0x2e55d6(0x6a5,_0x4ad925._0x324c43,_0x4ad925._0x1bb753,0x846)},'region':{'type':_0x2e55d6(0x6a5,_0x4ad925._0x4fef9e,0x637,_0x4ad925._0x324df2)},'safe':{'type':_0x2e55d6(_0x4ad925._0x3cec5a,_0x4ad925._0x2b9fe7,_0x4ad925._0x2575f2,0x5ff)},'type':{'type':_0x2e55d6(0x6a5,0x65b,0x641,0x7f8)},'hydrateMeta':{'type':_0x1c25ba(_0x4ad925._0x4f917e,_0x4ad925._0x46e951,0x362,_0x4ad925._0x20a405)}},'required':[_0x1c25ba(0x344,0x28d,_0x4ad925._0x53b323,_0x4ad925._0x1b9045)]},async *'execute'(_0x3a47aa,_0x42fa9b){const _0x58afe2={_0xfbb90b:0x1a6,_0x14ffc5:0x88,_0x203091:0x1b4},_0x1f96fe={_0x5b7faf:0x131,_0x112485:0x44},_0x17d287={_0x17f365:0x608,_0x32e202:0x362,_0x541527:0x5a0,_0x466f81:0x523,_0x1fd2e4:0x353},_0x304510={_0x1f0887:0x2a},_0x15b699=_0x3a47aa[_0x1f4a97(_0x399f4d._0x4dbda6,_0x399f4d._0x2a45af,0x44f,_0x399f4d._0x32a556)][_0x1f4a97(0x2f4,_0x399f4d._0x4d4a72,0x474,0x315)]();if(!_0x15b699)throw new ToolExecutionError(_0xc5ac05(0x4d1,_0x399f4d._0x35f96e,0x440,0x4f4));const _0x33f756={'query':_0x15b699,'count':Math[_0xc5ac05(_0x399f4d._0x3c91f3,_0x399f4d._0x16f212,0x4a4,_0x399f4d._0x1b32e5)](0x1,Math['min'](0x32,Math[_0x1f4a97(0x4d9,0x428,0x527,0x418)](_0x3a47aa[_0x1f4a97(_0x399f4d._0x5248af,_0x399f4d._0x2a4fbb,_0x399f4d._0x2cf50b,0x6d2)]??0xa))),'offset':Math['max'](0x0,Math['trunc'](_0x3a47aa[_0xc5ac05(0x3b2,0x60e,_0x399f4d._0x3db703,_0x399f4d._0xc52bf9)]??0x0)),'domains':_0x3a47aa[_0xc5ac05(0x468,_0x399f4d._0x2a4915,0x5ba,0x6af)]??[],'recencyDays':Math[_0xc5ac05(_0x399f4d._0x16aedc,0x619,0x4a4,0x35e)](0x0,Math[_0x1f4a97(_0x399f4d._0x3742b6,0x659,0x527,_0x399f4d._0x5f5dc2)](_0x3a47aa[_0xc5ac05(_0x399f4d._0xf72be,0x581,_0x399f4d._0x85134,_0x399f4d._0x19c654)]??0x0)),'lang':_0x3a47aa[_0xc5ac05(0x6a6,0x42f,_0x399f4d._0x4bc552,_0x399f4d._0x5d218b)]??'en','region':_0x3a47aa[_0x1f4a97(_0x399f4d._0xe11029,0x56f,_0x399f4d._0x490686,_0x399f4d._0x5248af)]??'','safe':_0x3a47aa[_0xc5ac05(0x382,0x395,_0x399f4d._0x3d30be,_0x399f4d._0x20fc77)]??!![],'type':normalizeType(_0x3a47aa['type']),'hydrateMeta':_0x3a47aa[_0x1f4a97(0x50c,_0x399f4d._0x4b8cbe,_0x399f4d._0x1b6d20,_0x399f4d._0x48395d)]??![]};let _0xf46493=[],_0x551c3b=_0x1f4a97(0x621,0x4c9,0x5e3,0x685);for(const _0x25a2ef of _0xeb3a62[_0xc5ac05(_0x399f4d._0x56f8ae,_0x399f4d._0x1d36f7,_0x399f4d._0x33fe8d,0x286)]){try{if(isGoogleCseEngine(_0x25a2ef))_0xf46493=await searchGoogleCse(_0x25a2ef,_0x33f756,_0x42fa9b[_0x1f4a97(_0x399f4d._0x4c4ddb,0x49a,_0x399f4d._0x4dac22,0x460)]),_0x551c3b=_0x1f4a97(0x5fb,_0x399f4d._0x258431,_0x399f4d._0x49d9be,0x415);else{if(isOllamaEngine(_0x25a2ef)){const _0x1e49c9=await searchOllama(_0x25a2ef,_0x33f756,_0x42fa9b['signal']);_0xf46493=_0x1e49c9['items'],_0x551c3b=_0x1e49c9[_0xc5ac05(0x2fa,0x28f,_0x399f4d._0x105192,_0x399f4d._0x2a1425)];}else{if(isTavilyEngine(_0x25a2ef)){const _0x24737b=await searchTavily(_0x25a2ef,_0x33f756,_0x42fa9b[_0xc5ac05(0x44f,_0x399f4d._0x2e29e5,_0x399f4d._0x2df796,0x428)]);_0xf46493=_0x24737b['items'],_0x551c3b=_0x24737b[_0x1f4a97(_0x399f4d._0x4e0fe2,_0x399f4d._0x26358c,0x375,0x3a4)];}}}if(_0xf46493[_0x1f4a97(0x47d,_0x399f4d._0x59d307,0x4c0,_0x399f4d._0x4ed43c)]>0x0)break;}catch(_0x183cd8){if(_0x25a2ef===_0xeb3a62[_0xc5ac05(0x1ff,_0x399f4d._0xc92e59,_0x399f4d._0x33fe8d,0x269)][_0xeb3a62[_0xc5ac05(_0x399f4d._0x4f15c8,0x38e,0x39d,0x33c)][_0x1f4a97(0x5ce,_0x399f4d._0x4089c3,_0x399f4d._0x140aaa,0x569)]-0x1])throw _0x183cd8;}}_0x33f756['hydrateMeta']&&_0xf46493['length']>0x0&&(_0xf46493=await hydrateResults(_0xf46493,_0x33f756[_0xc5ac05(_0x399f4d._0x1e7cbe,0x5d9,0x51e,_0x399f4d._0x4db5aa)],_0x42fa9b[_0xc5ac05(_0x399f4d._0x5e73a5,_0x399f4d._0xb3e942,_0x399f4d._0x32f5ad,0x2ce)],_0x35b956));const _0x8a125e=new Set();_0xf46493=_0xf46493[_0xc5ac05(0x373,0x592,0x493,0x610)](_0xa43f31=>{const _0x36be17={_0x37fb8b:0x0},_0x785671=_0xa43f31['url'][_0x1f2219(_0x17d287._0x17f365,_0x17d287._0x32e202,0x4e9,_0x17d287._0x541527)]();function _0x144b26(_0x999f7b,_0x12b7a7,_0x49510d,_0x382aeb){return _0xc5ac05(_0x12b7a7,_0x12b7a7-0x49,_0x382aeb- -0x122,_0x382aeb-_0x36be17._0x37fb8b);}if(!_0x785671||_0x8a125e[_0x1f2219(_0x17d287._0x466f81,_0x17d287._0x1fd2e4,0x449,0x3f6)](_0x785671))return![];function _0x1f2219(_0xf78959,_0x1385a8,_0x171c9c,_0x112c53){return _0x1f4a97(_0xf78959-0x13a,_0x1385a8-_0x304510._0x1f0887,_0x171c9c-0x2c,_0xf78959);}return _0x8a125e['add'](_0x785671),!![];}),_0xf46493=_0xf46493[_0x1f4a97(_0x399f4d._0x11aa19,0x489,0x3de,_0x399f4d._0x5ea40e)]((_0xb36526,_0x56a67f)=>({..._0xb36526,'source':{..._0xb36526['source'],'rank':_0x56a67f+0x1}}));const _0x1704f8={};function _0x1f4a97(_0x1f4232,_0x454019,_0x3745d0,_0x389353){return _0x2e55d6(_0x3745d0- -0xb,_0x389353,_0x3745d0-_0x1f96fe._0x5b7faf,_0x389353-_0x1f96fe._0x112485);}if(_0x33f756[_0xc5ac05(0x702,0x611,_0x399f4d._0x308605,0x554)]['length']>0x0)_0x1704f8[_0xc5ac05(_0x399f4d._0x5bbeba,0x62d,_0x399f4d._0x11f5b0,0x455)]=_0x33f756[_0x1f4a97(_0x399f4d._0x3b273d,_0x399f4d._0x5a5e06,_0x399f4d._0xc84109,0x789)];if(_0x33f756[_0xc5ac05(0x609,0x6e9,0x567,0x481)]>0x0)_0x1704f8[_0xc5ac05(0x65c,_0x399f4d._0x328ba5,_0x399f4d._0x85134,_0x399f4d._0x4f840a)]=_0x33f756[_0x1f4a97(_0x399f4d._0x5899c3,_0x399f4d._0x451653,_0x399f4d._0xdeeca0,_0x399f4d._0xae8668)];if(_0x33f756[_0xc5ac05(0x5eb,0x538,0x51e,_0x399f4d._0x5b609f)]!=='en')_0x1704f8[_0xc5ac05(_0x399f4d._0x4894f2,_0x399f4d._0x2294f3,0x51e,_0x399f4d._0x149323)]=_0x33f756[_0xc5ac05(_0x399f4d._0x31a436,0x513,_0x399f4d._0x44a1ca,_0x399f4d._0x26dba1)];function _0xc5ac05(_0x39bb8a,_0x1c2368,_0x2ebb10,_0x443bed){return _0x1c25ba(_0x39bb8a,_0x1c2368-_0x58afe2._0xfbb90b,_0x2ebb10-_0x58afe2._0x14ffc5,_0x443bed-_0x58afe2._0x203091);}if(_0x33f756['region'])_0x1704f8[_0x1f4a97(0x563,_0x399f4d._0x151357,0x6a6,0x6ea)]=_0x33f756[_0x1f4a97(0x61a,0x734,0x6a6,0x677)];return yield createToolOutput(formatResults(_0xf46493),{'engine':_0x551c3b,'count':_0xf46493[_0x1f4a97(_0x399f4d._0x3780f5,_0x399f4d._0x52c1c0,_0x399f4d._0x3cac63,0x37c)],'items':_0xf46493,'query':_0x33f756['query'],...Object['keys'](_0x1704f8)['length']>0x0?{'appliedFilters':_0x1704f8}:{},'offset':_0x33f756[_0x1f4a97(_0x399f4d._0x69f3be,_0x399f4d._0x10bc7b,0x5b5,_0x399f4d._0x4a299f)],'totalRequested':_0x33f756[_0xc5ac05(0x47d,_0x399f4d._0x5d6b64,_0x399f4d._0x48964b,0x547)],'hydrated':_0x33f756[_0x1f4a97(_0x399f4d._0xdab420,_0x399f4d._0x2aad63,_0x399f4d._0x5efa7d,_0x399f4d._0x8acaa2)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0x45a2f6,_0x3f6bef){const _0xea14c4={_0x3c6c6e:0x16b,_0x7d6b68:0x24,_0x3ab55e:0x6e6,_0x265223:0x5d3,_0x36210f:0x29,_0x3f700d:0x126,_0x202cb5:0x193,_0x3046b9:0x137,_0x4a12ba:0x224,_0x4efd6c:0x466,_0x57c3e6:0x42f,_0x3f6ac8:0x6b8,_0x2850c6:0x1da,_0x13aaed:0x238,_0x149c63:0x72c,_0x183650:0x4be,_0x3a9e25:0x64f,_0x435d5e:0x606,_0x4ffbd6:0x37c,_0x55ad8c:0x2cf,_0x29ed75:0x2e7},_0x2525d0={_0x4c7546:0x2d8},_0x35a0d7={_0x45cc81:0x1b2};function _0x2ea199(_0x203868,_0x4b942c,_0x3ea9be,_0x492098){return _0x5041(_0x492098-_0x35a0d7._0x45cc81,_0x203868);}const _0x4f7f03=_0x45a2f6();function _0x3e00f0(_0x331309,_0x1a9aa7,_0x16e32e,_0x204283){return _0x5041(_0x331309- -_0x2525d0._0x4c7546,_0x1a9aa7);}while(!![]){try{const _0x2d2ec5=parseInt(_0x3e00f0(-_0xea14c4._0x3c6c6e,_0xea14c4._0x7d6b68,-0x30b,-0x2ab))/0x1+parseInt(_0x2ea199(_0xea14c4._0x3ab55e,0x7cb,_0xea14c4._0x265223,0x652))/0x2+-parseInt(_0x3e00f0(-_0xea14c4._0x36210f,-0x85,0x21,-0xf9))/0x3*(-parseInt(_0x2ea199(0x500,0x51b,0x4fb,0x5a0))/0x4)+parseInt(_0x3e00f0(-0x1e,-_0xea14c4._0x3f700d,-_0xea14c4._0x202cb5,-0x1b))/0x5*(parseInt(_0x3e00f0(_0xea14c4._0x3046b9,0x3,0x2f1,_0xea14c4._0x4a12ba))/0x6)+-parseInt(_0x2ea199(_0xea14c4._0x4efd6c,_0xea14c4._0x57c3e6,_0xea14c4._0x3f6ac8,0x50c))/0x7*(parseInt(_0x3e00f0(-0xf4,-_0xea14c4._0x2850c6,-_0xea14c4._0x13aaed,-0x1e1))/0x8)+-parseInt(_0x2ea199(_0xea14c4._0x149c63,_0xea14c4._0x183650,0x66e,0x5b5))/0x9+parseInt(_0x2ea199(0x512,0x5c7,_0xea14c4._0x3a9e25,_0xea14c4._0x435d5e))/0xa*(-parseInt(_0x2ea199(_0xea14c4._0x4ffbd6,0x3d0,_0xea14c4._0x55ad8c,_0xea14c4._0x29ed75))/0xb);if(_0x2d2ec5===_0x3f6bef)break;else _0x4f7f03['push'](_0x4f7f03['shift']());}catch(_0x5c708){_0x4f7f03['push'](_0x4f7f03['shift']());}}}(_0x32bc,0x7838b));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x3776ef from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x151cc1(0x333,0x2bd,0x169,0x364),'.tsx':_0x1ac42a(-0x362,-0x2a2,-0x1e6,-0x1f7),'.js':_0x151cc1(0x1f0,0x2b4,0x259,0x380),'.jsx':_0x1ac42a(0xe3,-0xb1,0x11f,0x1c4),'.mjs':'javascript','.cjs':_0x151cc1(0x410,0x2b4,0x199,0x15a),'.mts':_0x151cc1(0x12c,0x2bd,0x2aa,0x241),'.cts':_0x1ac42a(-0x15c,-0x1c7,-0xc0,-0x103),'.json':_0x1ac42a(0xb6,0x2e,-0x2a,0x143),'.jsonc':_0x151cc1(0x21c,0x23a,0x12f,0x1a6)};function getLanguageId(_0x471328){const _0x397e87={_0x504afe:0x258,_0x5f5d2b:0x2f0,_0x3aff20:0x4b9},_0x5a235c={_0x47568f:0x191,_0x1a9723:0x1c},_0x3441fb={_0x5d1df8:0x41,_0x28eb87:0x4f8};function _0x26a70d(_0x36e3f0,_0x3c5c6f,_0x4908ef,_0x4e0609){return _0x1ac42a(_0x36e3f0-_0x3441fb._0x5d1df8,_0x3c5c6f-0xe7,_0x4908ef-_0x3441fb._0x28eb87,_0x4e0609);}function _0x2b9efb(_0x1e80bd,_0x30f835,_0x35bd56,_0x10c259){return _0x151cc1(_0x1e80bd-_0x5a235c._0x47568f,_0x10c259- -0x1d0,_0x1e80bd,_0x10c259-_0x5a235c._0x1a9723);}return EXTENSION_TO_LANGUAGE[_0x3776ef[_0x2b9efb(0x15c,_0x397e87._0x504afe,0x3e4,_0x397e87._0x5f5d2b)](_0x471328)[_0x26a70d(_0x397e87._0x3aff20,0x4b0,0x379,0x2d1)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x3f04a5){const _0x1e8d8d={_0x2fb978:0x1c6},_0x4bc867={_0x349962:0x163};function _0x139cc1(_0x3b6c95,_0x22cbcb,_0x4228bb,_0x138bf3){return _0x1ac42a(_0x3b6c95-0x192,_0x22cbcb-_0x4bc867._0x349962,_0x138bf3-0x267,_0x3b6c95);}return pathToFileURL(_0x3f04a5)[_0x139cc1(0x14,-0x21,_0x1e8d8d._0x2fb978,0x139)]();}function textDocumentPosition(_0xd0500a){const _0x22a106={_0x1ac840:0x51c,_0x441a51:0x50c},_0x494d61={_0x6a05c1:0x4b,_0x624235:0x56d};function _0x32823d(_0x461b4b,_0x46f9f4,_0x2fac7a,_0x2ae277){return _0x1ac42a(_0x461b4b-_0x494d61._0x6a05c1,_0x46f9f4-0x10,_0x2ae277-_0x494d61._0x624235,_0x46f9f4);}return{'textDocument':{'uri':uriForPath(_0xd0500a['file'])},'position':{'line':_0xd0500a['line'],'character':_0xd0500a[_0x32823d(_0x22a106._0x1ac840,0x3b6,0x5cd,_0x22a106._0x441a51)]}};}function normalizeLocations(_0x1b94e1){const _0x43b06f={_0x17b245:0x276,_0x190cea:0x313},_0x24add5={_0x1d92e8:0x1e0};function _0x52f64d(_0x4b5abc,_0x71b557,_0x3f4ba7,_0x41d2cf){return _0x151cc1(_0x4b5abc-0x16d,_0x71b557-0x22,_0x3f4ba7,_0x41d2cf-_0x24add5._0x1d92e8);}if(!_0x1b94e1)return[];return Array[_0x52f64d(0x17f,_0x43b06f._0x17b245,_0x43b06f._0x190cea,0x17d)](_0x1b94e1)?_0x1b94e1:[_0x1b94e1];}async function withLspTimeout(_0x4d947a,_0x284f97,_0x19c700){const _0x284bb3={_0x28a53d:0x143,_0x1e477c:0x102,_0x37a6fe:0x3c,_0x38b272:0xd4,_0x374f58:0x29,_0xc4f5ee:0x11},_0x86b459={_0x298f24:0x4bd},_0x23768c={_0x43b0c8:0x121,_0x366943:0x1e7,_0x590ebd:0x60};function _0x23a0dc(_0x255291,_0x51d931,_0x530254,_0x2c23dd){return _0x1ac42a(_0x255291-_0x23768c._0x43b0c8,_0x51d931-_0x23768c._0x366943,_0x255291- -_0x23768c._0x590ebd,_0x530254);}if(!Number['isFinite'](_0x284f97)||_0x284f97<0x1)throw new Error(_0x4bd38f(0x215,0x6d,-_0x284bb3._0x28a53d,0x12e)+_0x19c700+_0x23a0dc(-_0x284bb3._0x1e477c,-0x235,_0x284bb3._0x37a6fe,-0x224));let _0xa5307;function _0x4bd38f(_0x5a14f3,_0x5daf40,_0x18d941,_0x1d4146){return _0x151cc1(_0x5a14f3-0x135,_0x5daf40- -0x17d,_0x5a14f3,_0x1d4146-0x64);}try{return await Promise[_0x4bd38f(-_0x284bb3._0x38b272,_0x284bb3._0x374f58,0x1c,-_0x284bb3._0xc4f5ee)]([_0x4d947a,new Promise((_0x223c0a,_0x45f6e0)=>{_0xa5307=setTimeout(()=>{function _0x572eb7(_0x4fa240,_0x3b31be,_0xa80718,_0x4966e2){return _0x5041(_0x4966e2- -0x52,_0x4fa240);}_0x45f6e0(new Error('LSP\x20'+_0x19c700+'\x20timed\x20out\x20after\x20'+_0x284f97+_0x572eb7(_0x86b459._0x298f24,0x2ed,0x36f,0x3cb)));},_0x284f97);})]);}finally{if(_0xa5307!==void 0x0)clearTimeout(_0xa5307);}}async function createLspClient(_0x2f6ff5){const _0x2a947c={_0x46bdbb:0x691,_0xd91248:0x84f,_0xa5da6:0x3e1,_0x112eaf:0x3ac,_0x2943c7:0x45f,_0x368706:0x599,_0x4ff50c:0x5bd,_0xa2f932:0x45f,_0x1ba004:0x4f7,_0x10887b:0x558,_0xc977d7:0x72d,_0x737d9c:0x8c1,_0x2f85be:0x3b4,_0xbc63e7:0x32b,_0x5a6dc2:0x552,_0x1d79a4:0x6d4,_0xbc0429:0x569,_0x2d25da:0x4e7,_0x571909:0x3f0,_0x5cf601:0x36c,_0x444a39:0x2e1,_0x37f309:0x5af,_0x1d76ef:0x679,_0x47e477:0x2e9,_0x243848:0x3ad,_0x220be5:0x5d3,_0x46679a:0x6f4,_0x301167:0x56e,_0x2df774:0x54e,_0x2a7211:0x575,_0x9b47a5:0x41d,_0x52b44f:0x301,_0x47e749:0x3fa,_0x2b6bf5:0x42a,_0x2c2f64:0x3a7,_0x2cce8b:0x3f8,_0x5524f3:0x691,_0x53d93e:0x605,_0x486e8c:0x6b8,_0x2e1c0d:0x502,_0x35214f:0x82f,_0x15d88d:0x549,_0x5864f9:0x3b8,_0x564509:0x386,_0x3049e2:0x3ef,_0x4a6a73:0x36d,_0x36ef7d:0x2d2,_0x4e4ae8:0x44d,_0x5dab44:0x349},_0x244c83={_0x2f825d:0x555,_0x125a35:0x4b3,_0x44d0e9:0x440,_0x3d63c5:0x3ec,_0x5038e4:0x3fb,_0x5c0971:0x64b,_0x526194:0x5c2,_0x27abe7:0x60a,_0x15e75a:0x613,_0x1b5442:0x501,_0xa5e844:0x4c9,_0x151d49:0x5c0,_0x33ade4:0x68a,_0x496cef:0x56f},_0x471b4d={_0x44fc5b:0x1d4},_0xba95ee={_0x35b528:0x15d,_0x647d01:0x11d},_0x482e52={_0x29f67a:0x496,_0x51bd7e:0x5bc},_0x15e504={_0x4cf49f:0x363,_0x442c66:0x3dc,_0x28ff71:0x30e,_0x2c2ec5:0x32e,_0x5dcf2b:0x173,_0xca7276:0x2f9},_0x5734d8={_0x2562e5:0x36},_0x5cebaa={_0x4cf8b5:0x254},_0x463945={_0x467cad:0x384,_0xcf5887:0x263},_0x1b2d11={_0x408217:0x2ac,_0x3726e3:0x2e2,_0x1baf60:0x463},_0x1c60ed={_0x1d68ab:0x6c,_0x678563:0x142},_0x107dab={_0x2c9ca6:0x19,_0x3bafb9:0x2b5,_0x279ddd:0x101},_0x4af7ca={_0x5308e8:0x3c5},_0x441fcd={_0x24f3e3:0x5bc,_0x12e78f:0x61d,_0x39f03e:0x4ab},_0x3940c5={_0x9d19d9:0xca},_0x17746c={_0x4bdb57:0x3a},_0x1a0792={_0x198571:0x237,_0x1690b7:0x84},_0x33f1d4={_0x50b356:0x2db},_0x46bb97={_0x2a6c42:0x76e},_0x34b284={_0x3e33dc:0x5e4,_0x36e4ef:0x45e,_0x193f77:0x4e3},_0x4767f5={_0x5bdd90:0x141,_0x4c4828:0x4a},_0x50d391={_0x4bb992:0x386,_0x28e759:0x461,_0x2148bc:0x51a,_0xbd20fb:0x496,_0xa88bd1:0x77c,_0xb39b18:0x61f,_0x159718:0x4ab,_0x2443c9:0x6c,_0xd9c6d:0x2a},_0x4fe2a0={_0x4bc2fe:0x114,_0x4bb540:0x33b},_0x4bf55f={_0x5976be:0xbb,_0x21d54f:0x0},_0x3fefce={_0x510f89:0x83},_0x11e2b4={_0x1b450d:0x1c,_0x527627:0x129,_0x3f3396:0x3f1,_0x2684f4:0x82,_0x43cff4:0x231,_0x220597:0x12d,_0x3a8553:0x9b,_0x40c535:0x117,_0x390f5c:0x299,_0x6133d8:0x1f3},_0x4cf32c={_0x3e7e77:0x9a6,_0x5851c0:0x7d1},_0x3f17fa={_0x5071a0:0x309},_0xa19538=_0x2f6ff5[_0x370746(_0x2a947c._0x46bdbb,0x683,0x6ca,_0x2a947c._0xd91248)][_0x276703(_0x2a947c._0xa5da6,0x3de,_0x2a947c._0x112eaf,_0x2a947c._0x2943c7)]['stdout'],_0x319c67=_0x2f6ff5['handle'][_0x276703(0x53e,_0x2a947c._0x368706,_0x2a947c._0x4ff50c,_0x2a947c._0xa2f932)][_0x276703(_0x2a947c._0x1ba004,0x47e,0x56a,_0x2a947c._0x10887b)];if(!_0xa19538||!_0x319c67)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x49afa8=_0x2f6ff5[_0x370746(_0x2a947c._0xc977d7,0x858,0x876,_0x2a947c._0x737d9c)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x344ef7=createMessageConnection(new StreamMessageReader(_0xa19538),new StreamMessageWriter(_0x319c67)),_0x293160=new Map(),_0x18642b=new Map();let _0xd73206=![];function _0x370746(_0x528994,_0x4d592c,_0x127ca4,_0xeb36be){return _0x151cc1(_0x528994-0xac,_0x528994-_0x3f17fa._0x5071a0,_0x4d592c,_0xeb36be-0x7a);}const _0x2a10e3=async(_0x414fcd,_0x233cee)=>{const _0x113699={_0x4331c4:0x82,_0xb1863f:0x29a};function _0x4dde0b(_0xac775b,_0x19bbbe,_0x4d54ca,_0x3c2659){return _0x276703(_0x3c2659,_0x19bbbe-0x61,_0x4d54ca-_0x113699._0x4331c4,_0xac775b-_0x113699._0xb1863f);}return withLspTimeout(_0x344ef7[_0x4dde0b(0x806,_0x4cf32c._0x3e7e77,_0x4cf32c._0x5851c0,0x753)](_0x414fcd,_0x233cee),_0x49afa8,_0x414fcd);};_0x344ef7[_0x276703(0x522,_0x2a947c._0x2f85be,0x40a,0x3bb)](_0x276703(_0x2a947c._0xbc63e7,0x346,_0x2a947c._0x5a6dc2,0x4e8),_0x19609d=>{const _0xadc5ea={_0xbb9d64:0x626,_0x144aaf:0xcf},_0x452945={_0x2c4745:0x80};function _0x4b2335(_0x4ed75b,_0xcad532,_0x489ff8,_0x2aa6db){return _0x370746(_0x2aa6db- -0x3e6,_0x489ff8,_0x489ff8-_0x452945._0x2c4745,_0x2aa6db-0x128);}_0x293160[_0x335985(-_0x11e2b4._0x1b450d,-0xac,-0xa4,_0x11e2b4._0x527627)](_0x19609d['uri'],_0x19609d[_0x4b2335(_0x11e2b4._0x3f3396,_0x11e2b4._0x2684f4,0x2e0,0x242)]);const _0x50ab92=_0x18642b[_0x4b2335(0x27b,_0x11e2b4._0x43cff4,_0x11e2b4._0x220597,0x28c)](_0x19609d['uri']);if(!_0x50ab92)return;function _0x335985(_0x50fc07,_0x4ca404,_0xccbbe1,_0x4643cd){return _0x370746(_0xccbbe1- -_0xadc5ea._0xbb9d64,_0x4ca404,_0xccbbe1-0xc,_0x4643cd-_0xadc5ea._0x144aaf);}_0x18642b[_0x4b2335(-_0x11e2b4._0x3a8553,0xa0,-0x4a,_0x11e2b4._0x40c535)](_0x19609d[_0x4b2335(0x10c,_0x11e2b4._0x2684f4,_0x11e2b4._0x390f5c,_0x11e2b4._0x6133d8)]);for(const _0x1a45ba of _0x50ab92)_0x1a45ba();});function _0x276703(_0x259741,_0x530332,_0x341610,_0x48ac69){return _0x151cc1(_0x259741-0x1ef,_0x48ac69-0xa3,_0x259741,_0x48ac69-_0x3fefce._0x510f89);}_0x344ef7[_0x370746(0x60a,_0x2a947c._0x1d79a4,_0x2a947c._0xbc0429,_0x2a947c._0x2d25da)]();let _0x5c239f;try{_0x5c239f=await _0x2a10e3(_0x276703(0x36f,_0x2a947c._0x571909,_0x2a947c._0x5cf601,_0x2a947c._0x444a39),{'processId':process['pid'],'rootUri':uriForPath(_0x2f6ff5[_0x370746(_0x2a947c._0x37f309,_0x2a947c._0x1d76ef,0x459,0x51b)]),'workspaceFolders':[{'uri':uriForPath(_0x2f6ff5[_0x276703(_0x2a947c._0x47e477,0x284,_0x2a947c._0x243848,0x349)]),'name':_0x2f6ff5[_0x370746(_0x2a947c._0x220be5,_0x2a947c._0x46679a,0x519,_0x2a947c._0x301167)]['id']}],'initializationOptions':_0x2f6ff5['handle'][_0x276703(0x55c,_0x2a947c._0x2df774,_0x2a947c._0x2a7211,0x3ee)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x276703(_0x2a947c._0x9b47a5,_0x2a947c._0x52b44f,0x230,0x3ab),_0x276703(_0x2a947c._0x47e749,_0x2a947c._0x2b6bf5,0x39c,_0x2a947c._0x2c2f64)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x561899){_0x344ef7[_0x276703(0x586,0x533,0x2ec,_0x2a947c._0x2cce8b)](),_0x2f6ff5[_0x370746(_0x2a947c._0x5524f3,_0x2a947c._0x53d93e,0x629,_0x2a947c._0x486e8c)][_0x370746(0x6c5,_0x2a947c._0x2e1c0d,0x7ea,_0x2a947c._0x35214f)]['kill']();throw _0x561899;}_0x344ef7[_0x370746(_0x2a947c._0x15d88d,_0x2a947c._0x5864f9,_0x2a947c._0x564509,_0x2a947c._0x3049e2)]('initialized',{});const _0x5a4584={'serverId':_0x2f6ff5[_0x276703(0x4cc,0x480,0x4c4,_0x2a947c._0x4a6a73)]['id'],'root':_0x2f6ff5[_0x276703(_0x2a947c._0x36ef7d,0x17d,_0x2a947c._0x4e4ae8,_0x2a947c._0x5dab44)],'connection':_0x344ef7,'diagnostics':_0x293160,'capabilities':_0x5c239f[_0x276703(0x371,0x232,0x4a6,0x394)]??{},'notify':{async 'open'({path:_0x10af08}){function _0x186bb8(_0x9366bc,_0xc5458f,_0x374683,_0x510514){return _0x276703(_0xc5458f,_0xc5458f-_0x4bf55f._0x5976be,_0x374683-_0x4bf55f._0x21d54f,_0x374683-0x237);}function _0x4145cd(_0x2d0057,_0x3f3010,_0x4201a8,_0x115c09){return _0x276703(_0x115c09,_0x3f3010-_0x4fe2a0._0x4bc2fe,_0x4201a8-0x171,_0x2d0057- -_0x4fe2a0._0x4bb540);}const _0x1d714b=await readFile(_0x10af08,_0x4145cd(0x254,_0x50d391._0x4bb992,0x197,0x397));_0x344ef7[_0x186bb8(_0x50d391._0x28e759,0x3e0,_0x50d391._0x2148bc,_0x50d391._0xbd20fb)](_0x186bb8(0x5dd,_0x50d391._0xa88bd1,_0x50d391._0xb39b18,_0x50d391._0x159718),{'textDocument':{'uri':uriForPath(_0x10af08),'languageId':getLanguageId(_0x10af08)??_0x4145cd(_0x50d391._0x2443c9,_0x50d391._0xd9c6d,-0x74,0xa7),'version':0x1,'text':_0x1d714b}});},async 'change'({path:_0x526b96,version:_0x4c9b1b}){const _0x4a1ccc={_0x2c57fe:0x102,_0x536f4b:0x299},_0x4773e7={_0xd3e290:0x114,_0x4e31d6:0x2e4};function _0x47f531(_0x3ee2db,_0x5a17d2,_0x89a437,_0x5cb161){return _0x276703(_0x5a17d2,_0x5a17d2-_0x4773e7._0xd3e290,_0x89a437-0x1df,_0x5cb161- -_0x4773e7._0x4e31d6);}const _0x14ceb5=await readFile(_0x526b96,'utf8');function _0x3f9a5d(_0x53ebdc,_0x4b0599,_0x41a9f6,_0xb771bb){return _0x276703(_0x41a9f6,_0x4b0599-_0x4a1ccc._0x2c57fe,_0x41a9f6-0x71,_0xb771bb- -_0x4a1ccc._0x536f4b);}_0x344ef7[_0x3f9a5d(_0x4767f5._0x5bdd90,0x19e,-0x9f,_0x4767f5._0x4c4828)](_0x3f9a5d(0x35,-0x248,-0x173,-0x7a),{'textDocument':{'uri':uriForPath(_0x526b96),'version':_0x4c9b1b},'contentChanges':[{'text':_0x14ceb5}]});},async 'close'({path:_0x277109}){const _0x155934={_0x13235d:0x64a};function _0x5dac7a(_0x4885de,_0x1b7e42,_0x5a8690,_0x2c0dae){return _0x276703(_0x1b7e42,_0x1b7e42-0x61,_0x5a8690-0x28,_0x4885de-0x2d0);}function _0x18530a(_0x538136,_0x50b569,_0x226ee7,_0x905265){return _0x370746(_0x538136- -_0x155934._0x13235d,_0x50b569,_0x226ee7-0xc0,_0x905265-0x1e);}_0x344ef7[_0x18530a(-0x101,-0x151,0xb1,-0x20f)](_0x5dac7a(_0x34b284._0x3e33dc,_0x34b284._0x36e4ef,0x78b,_0x34b284._0x193f77),{'textDocument':{'uri':uriForPath(_0x277109)}});}},'request':{async 'definition'(_0x352190){return normalizeLocations(await _0x2a10e3('textDocument/definition',textDocumentPosition(_0x352190)));},async 'references'(_0xc75181){const _0x454955={_0x134681:0x1c0};function _0x5b22eb(_0x2525b3,_0x221261,_0xedf3d5,_0x509290){return _0x370746(_0xedf3d5- -0x20,_0x221261,_0xedf3d5-0x82,_0x509290-_0x454955._0x134681);}return normalizeLocations(await _0x2a10e3(_0x5b22eb(0x634,_0x46bb97._0x2a6c42,0x62b,0x4fd),{...textDocumentPosition(_0xc75181),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e1c29){const _0x28e3e6={_0x59bf3c:0xad,_0x1f3467:0x182};function _0x4aa657(_0x5583e7,_0x3def2b,_0x105a7d,_0xf91d3d){return _0x370746(_0x3def2b- -0x233,_0xf91d3d,_0x105a7d-_0x28e3e6._0x59bf3c,_0xf91d3d-_0x28e3e6._0x1f3467);}return await _0x2a10e3(_0x4aa657(0x31e,_0x33f1d4._0x50b356,0x441,0x436),textDocumentPosition(_0x1e1c29))??null;},async 'documentSymbol'(_0x3fb4d6){const _0x2ffe07={_0x4691c6:0xe1};function _0x49ccdb(_0x287f32,_0x256c43,_0x343ff5,_0x2d866a){return _0x370746(_0x256c43- -0x5a2,_0x287f32,_0x343ff5-_0x2ffe07._0x4691c6,_0x2d866a-0x187);}return await _0x2a10e3(_0x49ccdb(_0x1a0792._0x198571,_0x1a0792._0x1690b7,-0xbd,-0x14),{'textDocument':{'uri':uriForPath(_0x3fb4d6)}})??[];},async 'workspaceSymbol'(_0xb0f09e){function _0x587785(_0x4d6468,_0x855bef,_0x448636,_0x15a498){return _0x370746(_0x448636- -0x5f1,_0x4d6468,_0x448636-0x59,_0x15a498-_0x17746c._0x4bdb57);}return await _0x2a10e3(_0x587785(-0x85,-0x149,-_0x3940c5._0x9d19d9,-0x78),{'query':_0xb0f09e})??[];},async 'implementation'(_0x54f1ce){const _0xa8c320={_0x5d9602:0x0,_0x2d66c0:0x66};function _0x1c4174(_0xffbc4d,_0xae10f2,_0x432eb4,_0x290fdb){return _0x276703(_0xae10f2,_0xae10f2-0x7e,_0x432eb4-_0xa8c320._0x5d9602,_0x290fdb-_0xa8c320._0x2d66c0);}return normalizeLocations(await _0x2a10e3(_0x1c4174(_0x441fcd._0x24f3e3,_0x441fcd._0x12e78f,_0x441fcd._0x39f03e,0x5e6),textDocumentPosition(_0x54f1ce)));},async 'prepareCallHierarchy'(_0x584869){function _0x4b4b9c(_0x5e6acc,_0x45562b,_0xd7b069,_0x9d5925){return _0x276703(_0x45562b,_0x45562b-0x1e9,_0xd7b069-0x2f,_0x9d5925- -_0x4af7ca._0x5308e8);}return await _0x2a10e3(_0x4b4b9c(-_0x107dab._0x2c9ca6,0x60,-_0x107dab._0x3bafb9,-_0x107dab._0x279ddd),textDocumentPosition(_0x584869))??[];},async 'incomingCalls'(_0xdd3208){function _0x46c856(_0x5602c4,_0x5da47d,_0x569030,_0x4265dc){return _0x276703(_0x5da47d,_0x5da47d-_0x1c60ed._0x1d68ab,_0x569030-_0x1c60ed._0x678563,_0x4265dc-0x70);}return await _0x2a10e3(_0x46c856(_0x1b2d11._0x408217,0x37b,_0x1b2d11._0x3726e3,_0x1b2d11._0x1baf60),{'item':_0xdd3208})??[];},async 'outgoingCalls'(_0x1be1db){function _0x5d6053(_0x3c478a,_0x4a1c66,_0x49d373,_0x1f2d4a){return _0x370746(_0x1f2d4a- -0x6f9,_0x49d373,_0x49d373-0x164,_0x1f2d4a-0x111);}return await _0x2a10e3(_0x5d6053(-_0x463945._0x467cad,-0x259,-0x295,-_0x463945._0xcf5887),{'item':_0x1be1db})??[];}},'waitForDiagnostics'({path:_0x342057,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x436813=uriForPath(_0x342057);function _0x478e0a(_0x2df833,_0x1be80a,_0x6781c3,_0x2f7025){return _0x276703(_0x2f7025,_0x1be80a-0x1c9,_0x6781c3-0x1a7,_0x2df833-_0x5cebaa._0x4cf8b5);}if(_0x293160[_0xda2b76(0x552,_0x482e52._0x29f67a,0x498,_0x482e52._0x51bd7e)](_0x436813))return Promise[_0x478e0a(0x612,0x446,0x51c,0x61d)]();function _0xda2b76(_0x13ef83,_0x46965b,_0x2de8db,_0x546159){return _0x276703(_0x46965b,_0x46965b-0x193,_0x2de8db-_0x5734d8._0x2562e5,_0x546159-0x107);}return new Promise(_0x1111ec=>{const _0x2aeafe={_0x365c6c:0x6f7,_0x3b1fc3:0x80f,_0x5b44ba:0x872,_0x3ec00d:0x6b8,_0x5461cf:0x78a},_0x19ced2={_0xe09f86:0x1ee};function _0x30aa2f(_0x167049,_0x1f9c23,_0x1f02af,_0x1dc2f2){return _0x478e0a(_0x1f9c23- -0x3fd,_0x1f9c23-_0x19ced2._0xe09f86,_0x1f02af-0xc4,_0x167049);}function _0x514eb4(_0x2e1f39,_0x22f89c,_0x3fc0e6,_0x4c92ab){return _0xda2b76(_0x2e1f39-0x1d,_0x4c92ab,_0x3fc0e6-0x5e,_0x3fc0e6- -0xe2);}const _0x44db6c=setTimeout(()=>{const _0x298044={_0x4ba8a4:0x139},_0x14daa3=_0x18642b[_0x3c5fb9(0x73e,_0x2aeafe._0x365c6c,0x66e,_0x2aeafe._0x3b1fc3)](_0x436813);function _0x2fd777(_0x151ff8,_0xafdc9,_0x155b35,_0x355105){return _0x5041(_0x155b35- -_0x298044._0x4ba8a4,_0xafdc9);}function _0x3c5fb9(_0xd2a0c2,_0x2a0a23,_0x5cd6df,_0x1814a1){return _0x5041(_0x2a0a23-0x3e1,_0x5cd6df);}_0x14daa3?.['delete'](_0x3313b8);if(_0x14daa3?.[_0x3c5fb9(0x921,_0x2aeafe._0x5b44ba,_0x2aeafe._0x3ec00d,_0x2aeafe._0x5461cf)]===0x0)_0x18642b['delete'](_0x436813);_0x1111ec();},timeoutMs),_0x3313b8=()=>{clearTimeout(_0x44db6c),_0x1111ec();},_0x4333c8=_0x18642b[_0x30aa2f(0x387,0x263,_0x15e504._0x4cf49f,_0x15e504._0x442c66)](_0x436813)??new Set();_0x4333c8[_0x30aa2f(0x234,_0x15e504._0x28ff71,0x219,_0x15e504._0x2c2ec5)](_0x3313b8),_0x18642b[_0x30aa2f(0x2ec,_0x15e504._0x5dcf2b,_0x15e504._0xca7276,0xe3)](_0x436813,_0x4333c8);});},async 'shutdown'(){function _0x2cf02e(_0x1865a7,_0x3e0a58,_0x14a4f2,_0x45094c){return _0x370746(_0x14a4f2- -_0xba95ee._0x35b528,_0x1865a7,_0x14a4f2-_0xba95ee._0x647d01,_0x45094c-0x60);}if(_0xd73206)return;_0xd73206=!![];function _0x4ff176(_0x47ab33,_0x35be19,_0x2a162d,_0x47190d){return _0x276703(_0x47ab33,_0x35be19-0x7e,_0x2a162d-_0x471b4d._0x44fc5b,_0x47190d-0x1ed);}try{await _0x2a10e3(_0x2cf02e(_0x244c83._0x2f825d,_0x244c83._0x125a35,0x47e,0x2e4),null),_0x344ef7[_0x2cf02e(_0x244c83._0x44d0e9,0x457,_0x244c83._0x3d63c5,0x41d)](_0x2cf02e(_0x244c83._0x5038e4,_0x244c83._0x5c0971,_0x244c83._0x526194,0x4bc));}catch{}finally{_0x344ef7[_0x2cf02e(_0x244c83._0x27abe7,_0x244c83._0x15e75a,_0x244c83._0x1b5442,_0x244c83._0xa5e844)](),_0x2f6ff5[_0x2cf02e(0x692,0x613,0x534,_0x244c83._0x151d49)][_0x2cf02e(_0x244c83._0x33ade4,0x4d4,0x568,0x625)][_0x4ff176(0x43c,0x3f8,0x5d5,_0x244c83._0x496cef)]();}}};return _0x5a4584;}import{spawn as _0xa5d2bf}from'child_process';import{access as _0x2bfaf1}from'fs/promises';import _0x246d48 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x458083 from'os';import _0x2eb2bd from'path';function _0x151cc1(_0x1037ff,_0x4fd848,_0x19e8ac,_0x53a535){const _0x11a90f={_0x52f58f:0x53};return _0x5041(_0x4fd848-_0x11a90f._0x52f58f,_0x19e8ac);}import _0x1982f4 from'which';var installPromises=new Map();function sanitizePackageName(_0x14c256){const _0x286d99={_0x4957c2:0x615,_0x8bb793:0x325},_0x5b36f7={_0x3061f9:0x1ac};function _0x535340(_0x3ed9ad,_0x1e43ef,_0x2b1990,_0x2ebc2c){return _0x1ac42a(_0x3ed9ad-_0x5b36f7._0x3061f9,_0x1e43ef-0x3f,_0x2ebc2c-0x6a0,_0x2b1990);}return _0x14c256['replace'](/^@/,'')[_0x535340(_0x286d99._0x4957c2,0x64f,_0x286d99._0x8bb793,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4b6efe){const _0x3dd01c={_0x1d2f67:0x533,_0x1cc957:0x57c,_0x38f755:0x4e5,_0x42c708:0x84},_0x1eda33={_0xff059c:0x27e,_0x2e08ef:0xfd},_0x240c06={_0x11359d:0x92,_0x4fc9d9:0x3b};function _0xc727ad(_0x5454c5,_0xa88bc8,_0x1bd1b9,_0x9e02e){return _0x1ac42a(_0x5454c5-_0x240c06._0x11359d,_0xa88bc8-0x1c5,_0xa88bc8-_0x240c06._0x4fc9d9,_0x5454c5);}function _0xb0e5f1(_0x522f56,_0x2b9b8c,_0x59f9da,_0x54f26e){return _0x151cc1(_0x522f56-0xe2,_0x59f9da-_0x1eda33._0xff059c,_0x522f56,_0x54f26e-_0x1eda33._0x2e08ef);}return process[_0xb0e5f1(_0x3dd01c._0x1d2f67,0x60c,_0x3dd01c._0x1cc957,_0x3dd01c._0x38f755)]===_0xc727ad(_0x3dd01c._0x42c708,-0x110,-0x224,-0xee)?_0x4b6efe+'.cmd':_0x4b6efe;}async function exists(_0x1f26eb){try{return await access(_0x1f26eb),!![];}catch{return![];}}function runNpmInstall(_0x3d82cd,_0x46f094,_0x599fc1){const _0x27801e={_0x202e21:0x17,_0x54aafa:0x15e,_0xc7efb4:0x7b,_0x237c31:0x21a,_0x3a077e:0xba,_0x4f395e:0x16f,_0x40bbf1:0xf1,_0x493c6e:0x6e};return new Promise(_0x316c09=>{const _0x1d4800={_0x358d32:0x28f};function _0x493dd9(_0xdbb6be,_0x24b9b2,_0x536045,_0x22136a){return _0x5041(_0x22136a-0x27a,_0xdbb6be);}const _0x4e7e0d=spawn(_0x103fd4(-0x9e,-0x13,_0x27801e._0x202e21,-_0x27801e._0x54aafa),[_0x103fd4(-_0x27801e._0xc7efb4,-_0x27801e._0x237c31,-0x19e,-_0x27801e._0x3a077e),_0x103fd4(_0x27801e._0x54aafa,_0x27801e._0x4f395e,0x303,0xf4),_0x3d82cd,_0x46f094],{'env':_0x599fc1,'stdio':_0x103fd4(-_0x27801e._0x40bbf1,-0x1e5,_0x27801e._0x493c6e,-0xe1)});_0x4e7e0d['on']('error',()=>_0x316c09(![]));function _0x103fd4(_0x2f5ddf,_0x536775,_0x541832,_0x2fada6){return _0x5041(_0x2f5ddf- -_0x1d4800._0x358d32,_0x541832);}_0x4e7e0d['on']('close',_0x17b57a=>_0x316c09(_0x17b57a===0x0));});}function shouldDisableLspDownload(_0x4ae375=process[_0x1ac42a(0x142,0x26,-0x41,0xf8)]){const _0x48b24c={_0x1cda54:0x33b,_0x181c71:0x47d,_0x2d8b4c:0x36e,_0x3b23f1:0x434,_0x48b262:0x380,_0x55f14a:0x47c},_0x472f06={_0x46faf3:0xd6,_0x50e17f:0x39},_0x1a68b7={_0x365cf1:0x140,_0x1f95e3:0xe7,_0x52ee95:0x172},_0x42bf86=_0x4ae375['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0xb43c05(_0x48b24c._0x1cda54,_0x48b24c._0x181c71,_0x48b24c._0x2d8b4c,_0x48b24c._0x3b23f1)]();function _0x3613ac(_0x262b6d,_0x8aa5c8,_0x131fd6,_0x480f65){return _0x151cc1(_0x262b6d-_0x1a68b7._0x365cf1,_0x131fd6- -_0x1a68b7._0x1f95e3,_0x262b6d,_0x480f65-_0x1a68b7._0x52ee95);}function _0xb43c05(_0x54eeb1,_0x49b002,_0x5015ac,_0x170039){return _0x151cc1(_0x54eeb1-_0x472f06._0x46faf3,_0x49b002-0x27f,_0x170039,_0x170039-_0x472f06._0x50e17f);}return _0x42bf86==='true'||_0x42bf86==='1'||_0x42bf86===_0x3613ac(0x48c,0x538,_0x48b24c._0x48b262,_0x48b24c._0x55f14a)||_0x42bf86==='on';}function getLspPackageDir(_0x5779cd){const _0x58fbf9={_0xd4ad0d:0x26f,_0x3ec215:0x205,_0x3b8f04:0x199,_0x2b5a49:0x1cd,_0x2f196d:0x677,_0x2e3157:0x608,_0xbfd9a2:0x662},_0x3c2fe5={_0x3aaead:0xab,_0x34a06a:0x1b2};function _0x18e851(_0x529827,_0xd25835,_0x177666,_0x36afe8){return _0x151cc1(_0x529827-_0x3c2fe5._0x3aaead,_0x36afe8-0x34b,_0x529827,_0x36afe8-_0x3c2fe5._0x34a06a);}function _0x188cfc(_0xd27835,_0x4034b0,_0x574dcd,_0x1b05cf){return _0x1ac42a(_0xd27835-0x192,_0x4034b0-0x148,_0xd27835- -0xf,_0x574dcd);}return _0x2eb2bd[_0x188cfc(0x12d,0x1b0,0x151,_0x58fbf9._0xd4ad0d)](_0x458083[_0x188cfc(-_0x58fbf9._0x3ec215,-_0x58fbf9._0x3b8f04,-_0x58fbf9._0x2b5a49,-0x3d)](),_0x18e851(_0x58fbf9._0x2f196d,0x641,_0x58fbf9._0x2e3157,_0x58fbf9._0xbfd9a2),'lsp','packages',sanitizePackageName(_0x5779cd));}function getLspBinDir(_0x7d1dfb){const _0x4275bc={_0x51ebe4:0x328,_0x2181a5:0x411,_0x409bc0:0x44c,_0x4414a5:0x2d6,_0x384e44:0x239,_0x50b1cf:0x1c3,_0x1d9ab9:0x637,_0x43a0cb:0x40a},_0xfd8837={_0x5bf6b3:0x6f,_0x2889a7:0xa8,_0x1a71fa:0x122},_0x9828e3={_0x227d29:0x14,_0x28fbdb:0x4db};function _0x47f9ad(_0x113aff,_0x82a1ef,_0xa66c69,_0x73f416){return _0x1ac42a(_0x113aff-0x1d9,_0x82a1ef-_0x9828e3._0x227d29,_0x113aff-_0x9828e3._0x28fbdb,_0xa66c69);}function _0x316fcb(_0x1cf65b,_0x3ae7d1,_0x261400,_0x4225a9){return _0x151cc1(_0x1cf65b-_0xfd8837._0x5bf6b3,_0x261400- -_0xfd8837._0x2889a7,_0x3ae7d1,_0x4225a9-_0xfd8837._0x1a71fa);}return _0x2eb2bd[_0x316fcb(_0x4275bc._0x51ebe4,0x400,_0x4275bc._0x2181a5,_0x4275bc._0x409bc0)](getLspPackageDir(_0x7d1dfb),_0x316fcb(_0x4275bc._0x4414a5,_0x4275bc._0x384e44,_0x4275bc._0x50b1cf,0x277),_0x47f9ad(0x522,0x3c1,_0x4275bc._0x1d9ab9,_0x4275bc._0x43a0cb));}async function findPackageBinary(_0x1241f9,_0x2772e2){const _0x2f4930={_0x3bab6e:0x13a,_0x1fa116:0x52,_0x297626:0x5f,_0x43ff49:0x840,_0x489956:0x72a,_0x27a2e1:0x2a5,_0xd2a660:0x87b,_0x5ab1e4:0x74b,_0x2f62cf:0x5fc,_0x1037d9:0x883,_0x46b07c:0x755},_0x420626={_0x3197d1:0x152},_0x25f979={_0x502508:0x1e5,_0x5b8bc0:0x36d,_0x5464ae:0x28};function _0x5e4a05(_0x2164af,_0x34c684,_0x1ab13f,_0x32b19f){return _0x151cc1(_0x2164af-_0x25f979._0x502508,_0x1ab13f- -_0x25f979._0x5b8bc0,_0x2164af,_0x32b19f-_0x25f979._0x5464ae);}let _0x533559=_0x2eb2bd[_0x5e4a05(_0x2f4930._0x3bab6e,-0x125,-_0x2f4930._0x1fa116,_0x2f4930._0x297626)](_0x2772e2);const _0xd9bb7b=binaryNameForPlatform(_0x1241f9);function _0x50962a(_0x884831,_0x199ae3,_0x44300e,_0xac255e){return _0x151cc1(_0x884831-_0x420626._0x3197d1,_0x44300e-0x387,_0x199ae3,_0xac255e-0x82);}while(!![]){const _0x3f2c15=_0x2eb2bd[_0x50962a(0x8a9,0x829,_0x2f4930._0x43ff49,_0x2f4930._0x489956)](_0x533559,_0x5e4a05(-0x14,-_0x2f4930._0x27a2e1,-0x102,-0x247),_0x50962a(0x85d,_0x2f4930._0xd2a660,_0x2f4930._0x5ab1e4,_0x2f4930._0x2f62cf),_0xd9bb7b);if(await exists(_0x3f2c15))return _0x3f2c15;const _0x4538f9=_0x2eb2bd[_0x50962a(_0x2f4930._0x1037d9,_0x2f4930._0x46b07c,0x858,0x959)](_0x533559);if(_0x4538f9===_0x533559)return void 0x0;_0x533559=_0x4538f9;}}async function findPathBinary(_0x54eaf2,_0x54db7e){const _0x406609={_0x1d0d78:0x14e,_0x2563f9:0x356,_0x5b1488:0xce,_0x2ef4fb:0x373,_0x520045:0x174,_0x841eb0:0x406,_0x195334:0x28d,_0x19ee69:0x361,_0x143d58:0x4cb,_0x26f844:0x32f},_0x1cb161={_0x429c5f:0x72,_0x207e0c:0x158,_0x1626f0:0x66},_0x5430be={_0x58f205:0x1aa,_0xe058af:0x2da},_0x5e93fc=getLspBinDir(_0x54db7e),_0x3a1d39=[_0x5e93fc,process[_0x4dd106(0x299,_0x406609._0x1d0d78,_0x406609._0x2563f9,_0x406609._0x5b1488)][_0x4dd106(0x3c6,0x29a,_0x406609._0x2ef4fb,0x484)]][_0x4dd106(_0x406609._0x520045,0x1d3,0x1a8,0x246)](Boolean)[_0x55655b(_0x406609._0x841eb0,0x234,_0x406609._0x195334,_0x406609._0x19ee69)](_0x2eb2bd[_0x4dd106(0x329,0x39b,_0x406609._0x143d58,_0x406609._0x26f844)]);function _0x4dd106(_0x47134b,_0x1b8bc4,_0x58e8e8,_0x5d3cfc){return _0x1ac42a(_0x47134b-_0x5430be._0x58f205,_0x1b8bc4-0x10b,_0x47134b-_0x5430be._0xe058af,_0x5d3cfc);}function _0x55655b(_0x10829f,_0x362a73,_0x5b6af7,_0x532864){return _0x151cc1(_0x10829f-_0x1cb161._0x429c5f,_0x532864- -_0x1cb161._0x207e0c,_0x5b6af7,_0x532864-_0x1cb161._0x1626f0);}try{return await _0x1982f4(_0x54eaf2,{'path':_0x3a1d39});}catch{return void 0x0;}}async function resolvePackageBinary(_0x40bd16){const _0x4da544={_0x1dbe2d:0x14e,_0x29bab7:0x94,_0xdd5c60:0x293,_0x1982b1:0x2e,_0x162696:0x135,_0x472a34:0x3e,_0x1e852e:0x103,_0x4ccc70:0x1b0,_0x3f890c:0x18b,_0x328710:0x1d,_0x10f24f:0xe7,_0x506dd3:0x6c,_0x3d2c6f:0x8b,_0x1fc1f6:0x110},_0x300a8a={_0x5608c6:0x10d,_0x48cf26:0x169,_0x20969f:0x3d0,_0x46446e:0x4f7,_0x5859b2:0x3c2,_0x258086:0x5a3},_0x36c911=_0x40bd16[_0x305f80(-0xc4,-0x204,-_0x4da544._0x1dbe2d,-_0x4da544._0x29bab7)]??_0x40bd16[_0x305f80(-_0x4da544._0xdd5c60,-_0x4da544._0x1982b1,-0x185,-_0x4da544._0x162696)];function _0x152c4e(_0x42925c,_0x402dee,_0x59fbd3,_0x45fccc){return _0x1ac42a(_0x42925c-0xcd,_0x402dee-0x12,_0x45fccc-0x79,_0x42925c);}const _0x402e5d=await findPackageBinary(_0x36c911,_0x40bd16['startDir']);if(_0x402e5d)return _0x402e5d;const _0x3fad31=await findPathBinary(_0x36c911,_0x40bd16['packageName']);if(_0x3fad31)return _0x3fad31;const _0x125709=_0x40bd16['env']??process['env'];if(shouldDisableLspDownload(_0x125709))return void 0x0;const _0x262859=getLspPackageDir(_0x40bd16['packageName']),_0x24d8db=_0x40bd16[_0x152c4e(-0x123,-_0x4da544._0x472a34,-0x1,-_0x4da544._0x1e852e)]+':'+_0x36c911;let _0x27e797=installPromises[_0x305f80(_0x4da544._0x4ccc70,_0x4da544._0x3f890c,-_0x4da544._0x328710,0x1b3)](_0x24d8db);function _0x305f80(_0x567a16,_0x45707a,_0x584269,_0x35449f){return _0x1ac42a(_0x567a16-0x2b,_0x45707a-0x2a,_0x584269- -0x9,_0x35449f);}!_0x27e797&&(_0x27e797=((async()=>{const _0x5ded69={_0x39e69a:0xa8},_0x2bf0fe={_0x4fa87e:0xa3};function _0x20834d(_0x242769,_0x307b9e,_0x30b091,_0x989678){return _0x152c4e(_0x989678,_0x307b9e-0x92,_0x30b091-_0x2bf0fe._0x4fa87e,_0x307b9e-0x5fa);}function _0x4c7a8c(_0x1543f7,_0x377571,_0x496087,_0x1abf16){return _0x152c4e(_0x1abf16,_0x377571-0x13f,_0x496087-0x0,_0x377571- -_0x5ded69._0x39e69a);}await mkdir(_0x262859,{'recursive':!![]});const _0x53ac3b=await runNpmInstall(_0x262859,_0x40bd16['packageName'],_0x125709);if(!_0x53ac3b)return void 0x0;const _0x134719=_0x2eb2bd[_0x4c7a8c(0x8e,_0x300a8a._0x5608c6,0x45,_0x300a8a._0x48cf26)](getLspBinDir(_0x40bd16[_0x20834d(_0x300a8a._0x20969f,_0x300a8a._0x46446e,_0x300a8a._0x5859b2,_0x300a8a._0x258086)]),binaryNameForPlatform(_0x36c911));return await exists(_0x134719)?_0x134719:void 0x0;})()),installPromises[_0x152c4e(_0x4da544._0x10f24f,0x78,-_0x4da544._0x506dd3,-_0x4da544._0x3d2c6f)](_0x24d8db,_0x27e797));try{return await _0x27e797;}catch{return void 0x0;}finally{installPromises[_0x152c4e(-0x92,0x86,-0x3d,-_0x4da544._0x1fc1f6)](_0x24d8db);}}var TYPESCRIPT_EXTENSIONS=[_0x151cc1(0x32a,0x3eb,0x472,0x559),_0x1ac42a(0xbb,-0x42,0x2c,0x8f),_0x151cc1(0x53a,0x418,0x50b,0x2be),_0x1ac42a(-0x120,-0x16e,-0xa5,0xae),_0x1ac42a(0x29f,0x2be,0x155,0x1a),_0x151cc1(-0x19,0x1a0,0x52,0x271),_0x1ac42a(-0xe6,-0x62,0x73,0x142),_0x1ac42a(0x1f6,0x9e,0x128,0x123)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x151cc1(0x4d7,0x3d0,0x237,0x282),_0x151cc1(0x3,0x1d3,0x154,0x4d)],TYPESCRIPT_ROOT_MARKERS=[_0x1ac42a(-0x2f6,-0x88,-0x1b7,-0x1da),_0x151cc1(0x2b6,0x17f,0x189,0xc4),'bun.lock',_0x1ac42a(0x8,0xfa,-0x46,-0xaa),_0x1ac42a(0x79,0x1b,-0x140,0x8c),_0x1ac42a(0x1a4,0x213,0x14b,0x277),_0x1ac42a(0x197,-0x34,0x188,0x119),_0x151cc1(0x27f,0x39d,0x4da,0x47d)],BIOME_ROOT_MARKERS=[_0x151cc1(0x4c5,0x313,0x326,0x354),_0x1ac42a(0x48,-0x31,0x7b,0x171),_0x151cc1(0x228,0x1c6,0x1dd,0x286),_0x151cc1(0x82,0x17f,0x27d,0x2b5),_0x1ac42a(0x6c,0x239,0xfc,0x3b),_0x151cc1(0x196,0x337,0x22c,0x4ce),_0x151cc1(0x2f9,0x23d,0x175,0x3ad),_0x151cc1(0x33c,0x39d,0x526,0x231)];async function exists2(_0x34b61){try{return await _0x2bfaf1(_0x34b61),!![];}catch{return![];}}async function findUp(_0x23e8c3,_0x4cd6f9){const _0x59363b={_0x3cdd83:0x77c,_0x3b0728:0x5dc,_0x33bba2:0x156,_0x3660b7:0xaf},_0x1dc2c5={_0x2a48be:0xc2,_0xdbace2:0x8d},_0x20c449={_0x2a9452:0x499};let _0x4060f9=_0x246d48[_0x7d3471(-0x16e,0x81,-0xef,0x4e)](_0x23e8c3);const _0x24a461=_0x246d48[_0x23b93b(0x5c9,_0x59363b._0x3cdd83,0x740,_0x59363b._0x3b0728)](_0x4060f9);if(_0x24a461)_0x4060f9=_0x246d48['dirname'](_0x4060f9);function _0x23b93b(_0x1e316d,_0x131470,_0x43d250,_0x10f363){return _0x1ac42a(_0x1e316d-0x142,_0x131470-0xc8,_0x10f363-_0x20c449._0x2a9452,_0x131470);}function _0x7d3471(_0x1d1541,_0x1cf7ef,_0x5e4f67,_0x29f3da){return _0x1ac42a(_0x1d1541-_0x1dc2c5._0x2a48be,_0x1cf7ef-0x54,_0x5e4f67- -_0x1dc2c5._0xdbace2,_0x1cf7ef);}while(!![]){for(const _0x5e9e83 of _0x4cd6f9){if(await exists2(_0x246d48[_0x7d3471(_0x59363b._0x33bba2,0xbe,_0x59363b._0x3660b7,-0xf5)](_0x4060f9,_0x5e9e83)))return _0x4060f9;}const _0x570a85=_0x246d48['dirname'](_0x4060f9);if(_0x570a85===_0x4060f9)return void 0x0;_0x4060f9=_0x570a85;}}async function hasDenoRoot(_0x40270d){const _0x295576={_0x4adbc1:0x35d,_0x15c51a:0x1af,_0x26e0d1:0x187,_0x5cdca4:0x358,_0x515986:0x196,_0x447494:0x26a,_0x3f08c7:0x157};function _0x1b72db(_0x1dce54,_0x5405d3,_0x2b7dd8,_0x4222b6){return _0x1ac42a(_0x1dce54-0x22,_0x5405d3-0x15c,_0x2b7dd8-0x71,_0x5405d3);}function _0x2fdcc7(_0x2e5fc0,_0xb7da47,_0x537dcb,_0x4a8292){return _0x1ac42a(_0x2e5fc0-0x163,_0xb7da47-0x189,_0x2e5fc0-0x516,_0xb7da47);}return await exists2(_0x246d48['join'](_0x40270d,_0x1b72db(_0x295576._0x4adbc1,0x327,_0x295576._0x15c51a,0x9e)))||await exists2(_0x246d48[_0x1b72db(_0x295576._0x26e0d1,_0x295576._0x5cdca4,0x1ad,_0x295576._0x515986)](_0x40270d,_0x1b72db(-0x20a,-_0x295576._0x447494,-_0x295576._0x3f08c7,-0x31e)));}async function resolveTsserverPath(_0x13f314){const _0x370496={_0x25ffd0:0x17f,_0x163334:0x2b4,_0x15ab35:0x2d8,_0x25adea:0x582,_0x3c0845:0x58e,_0x8105e4:0x7b8,_0x31aa22:0x7e8,_0x58b3ee:0x7d9,_0x573c11:0x63a,_0x365b78:0x4e5,_0x373f00:0x1f1,_0x3df799:0x1f1,_0x153bd0:0x38e,_0x8a9f27:0x372,_0x3c6a51:0x2b7,_0x102314:0x4f3,_0x1229eb:0x479,_0x18b02d:0x1b7,_0x50b68a:0x1b1},_0x12c981={_0x3cd053:0x152,_0x123369:0x20,_0x544f67:0x4e6};function _0x35a924(_0x22c2ea,_0x150695,_0x35f5f2,_0x51579c){return _0x151cc1(_0x22c2ea-0xb2,_0x51579c-0xd1,_0x150695,_0x51579c-0x158);}let _0x543a17=_0x246d48['resolve'](_0x13f314);while(!![]){const _0x173a11=_0x246d48['join'](_0x543a17,'node_modules','typescript',_0x35a924(_0x370496._0x25ffd0,_0x370496._0x163334,0x130,_0x370496._0x15ab35),_0x43ebdf(_0x370496._0x25adea,0x36a,_0x370496._0x3c0845,0x3fb));if(await exists2(_0x173a11))return _0x173a11;const _0x23870a=_0x246d48[_0x43ebdf(_0x370496._0x8105e4,_0x370496._0x31aa22,_0x370496._0x58b3ee,_0x370496._0x573c11)](_0x543a17);if(_0x23870a===_0x543a17)break;_0x543a17=_0x23870a;}function _0x43ebdf(_0x50cf6b,_0x1f6a63,_0x4289d5,_0x337bb8){return _0x1ac42a(_0x50cf6b-_0x12c981._0x3cd053,_0x1f6a63-_0x12c981._0x123369,_0x337bb8-_0x12c981._0x544f67,_0x1f6a63);}const _0x350d3e=getLspPackageDir(_0x35a924(_0x370496._0x365b78,_0x370496._0x373f00,0x409,0x38e)),_0x129793=await resolvePackageBinary({'packageName':_0x35a924(0x2e2,0x243,_0x370496._0x3df799,_0x370496._0x153bd0),'binaryName':'tsc','startDir':_0x13f314});if(!_0x129793)return void 0x0;const _0x2cdeab=_0x246d48['join'](_0x350d3e,'node_modules',_0x35a924(_0x370496._0x8a9f27,_0x370496._0x3c6a51,_0x370496._0x102314,0x38e),_0x43ebdf(_0x370496._0x1229eb,_0x370496._0x18b02d,_0x370496._0x50b68a,0x370),'tsserver.js');return await exists2(_0x2cdeab)?_0x2cdeab:void 0x0;}var TypeScriptServer={'id':_0x151cc1(0x44b,0x2bd,0x231,0x196),'name':_0x151cc1(0x1da,0x2d7,0x3df,0x36d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x526976){const _0x748589=await findUp(_0x526976,TYPESCRIPT_ROOT_MARKERS);if(!_0x748589)return void 0x0;return await hasDenoRoot(_0x748589)?void 0x0:_0x748589;},async 'spawn'(_0x3a0614){const _0x57e4f1={_0x49fe55:0x54b,_0x5e05ea:0x4d8,_0x35b99a:0x3e8,_0x1a1a92:0x62b,_0x45f0e3:0x1ef,_0x2e7c4c:0x97,_0x3dc2b8:0x33c},_0x5ee723={_0x3ef8bc:0xa3,_0x480cda:0x5e6},_0x5c1f3a=await resolveTsserverPath(_0x3a0614);if(!_0x5c1f3a)return void 0x0;function _0x10ad5(_0x3ff598,_0x33f1ba,_0x214d7d,_0x505b20){return _0x1ac42a(_0x3ff598-_0x5ee723._0x3ef8bc,_0x33f1ba-0x10d,_0x214d7d-_0x5ee723._0x480cda,_0x3ff598);}const _0x189e7e=await resolvePackageBinary({'packageName':_0x10ad5(0x4cc,0x66a,0x4d8,0x5c4),'binaryName':_0x10ad5(0x517,_0x57e4f1._0x49fe55,_0x57e4f1._0x5e05ea,_0x57e4f1._0x35b99a),'startDir':_0x3a0614});if(!_0x189e7e)return void 0x0;function _0x114adc(_0x3b2132,_0x4671be,_0x1d867b,_0x36b8da){return _0x1ac42a(_0x3b2132-0x1e5,_0x4671be-0x15c,_0x3b2132- -0x85,_0x1d867b);}return{'process':_0xa5d2bf(_0x189e7e,[_0x10ad5(0x583,0x61b,0x720,_0x57e4f1._0x1a1a92)],{'cwd':_0x3a0614,'stdio':_0x114adc(-_0x57e4f1._0x45f0e3,-_0x57e4f1._0x2e7c4c,-_0x57e4f1._0x3dc2b8,-0x147)}),'initialization':{'tsserver':{'path':_0x5c1f3a}}};}},BiomeServer={'id':_0x151cc1(0x3ec,0x374,0x4e5,0x529),'name':_0x1ac42a(-0x65,0x100,0x1a,-0x168),'extensions':BIOME_EXTENSIONS,async 'root'(_0x4c27e0){return findUp(_0x4c27e0,BIOME_ROOT_MARKERS);},async 'spawn'(_0x362af6){const _0x36d2cc={_0x570f81:0x29e,_0x51e2b7:0x28f,_0x39d125:0x142,_0x42f06d:0x1b3,_0x574708:0xe1,_0x16e33f:0x257,_0x31bdef:0x3f2,_0x214238:0x346,_0x4151eb:0xf5,_0x435dad:0xa2},_0x48cfea={_0x2a698c:0x16c,_0x3c14fc:0x20c},_0x2b4900={_0x33ffda:0x58},_0xeca8ff=await findPackageBinary(_0x200275(_0x36d2cc._0x570f81,0x14e,_0x36d2cc._0x51e2b7,0x2fa),_0x362af6)??await resolvePackageBinary({'packageName':_0x200275(0xff,-0x40,-_0x36d2cc._0x39d125,-_0x36d2cc._0x42f06d),'binaryName':'biome','startDir':_0x362af6});function _0x200275(_0x222512,_0x291d26,_0x6b623,_0x307f40){return _0x1ac42a(_0x222512-0x128,_0x291d26-_0x2b4900._0x33ffda,_0x291d26-0x157,_0x6b623);}function _0x44ae19(_0x4a79d6,_0x2d7ecc,_0x5216df,_0x2e8131){return _0x1ac42a(_0x4a79d6-_0x48cfea._0x2a698c,_0x2d7ecc-0x41,_0x5216df-_0x48cfea._0x3c14fc,_0x2e8131);}if(!_0xeca8ff)return void 0x0;return{'process':_0xa5d2bf(_0xeca8ff,[_0x200275(0x6f,_0x36d2cc._0x574708,_0x36d2cc._0x16e33f,-0x91),_0x44ae19(0x4d7,_0x36d2cc._0x31bdef,_0x36d2cc._0x214238,0x222)],{'cwd':_0x362af6,'stdio':_0x44ae19(-_0x36d2cc._0x4151eb,0x226,_0x36d2cc._0x435dad,-0xee)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x1b1832){const _0x6f24ea={_0xe18013:0x8c},_0x56d456={_0x4d65c4:0x77,_0x5dca50:0x475},_0x14903e={_0x47d55a:0xdf,_0xdd2e35:0x1a6};function _0x393ff3(_0x42f628,_0x17064f,_0x42fae5,_0x188c1e){return _0x151cc1(_0x42f628-_0x14903e._0x47d55a,_0x17064f- -0x313,_0x42fae5,_0x188c1e-_0x14903e._0xdd2e35);}function _0x2042e7(_0x46ba14,_0xafcfea,_0x2c226f,_0x526a69){return _0x1ac42a(_0x46ba14-0x73,_0xafcfea-_0x56d456._0x4d65c4,_0xafcfea-_0x56d456._0x5dca50,_0x2c226f);}const _0x27919a=_0x246d48[_0x2042e7(0x4db,0x5b8,0x4ac,0x6cf)](_0x1b1832)[_0x393ff3(-_0x6f24ea._0xe18013,-0x115,-0x85,0x83)]();return BUILTIN_LSP_SERVERS['filter'](_0x3798a4=>_0x3798a4[_0x2042e7(0x3a5,0x412,0x516,0x4e5)]['includes'](_0x27919a));}function stateKey(_0x52bdb6,_0x53113a){return _0x53113a+':'+_0x52bdb6['id'];}function diagnosticsKeyToPath(_0x344ab1){const _0x282b6c={_0x548689:0x64e,_0x21d962:0x5a9,_0x8b8ad2:0x54f,_0x29c924:0x4b7},_0x134acb={_0x443648:0xa0},_0x323267={_0x20416e:0x241};function _0x5c30fc(_0x4f8ee0,_0x2cd676,_0xee8194,_0x20692e){return _0x151cc1(_0x4f8ee0-0xff,_0x4f8ee0-_0x323267._0x20416e,_0xee8194,_0x20692e-0x81);}function _0x513c0c(_0x34e78c,_0x5258d6,_0x48d8e3,_0x187db1){return _0x1ac42a(_0x34e78c-0x141,_0x5258d6-0x158,_0x187db1-_0x134acb._0x443648,_0x34e78c);}if(!_0x344ab1[_0x5c30fc(_0x282b6c._0x548689,0x5f9,_0x282b6c._0x21d962,0x505)](_0x5c30fc(0x5a3,_0x282b6c._0x8b8ad2,_0x282b6c._0x29c924,0x5a9)))return _0x344ab1;return fileURLToPath(_0x344ab1);}function nextFileVersion(_0x4bfb7b,_0xe6efc5){const _0x471566={_0x579682:0x1cb,_0x25dc7f:0x1a8,_0x28a3a1:0x3f,_0x25b9dc:0x31c,_0x383117:0x2bc,_0x1ca7a9:0x13a},_0x1e478e={_0x33f20b:0x121,_0x3f8126:0x29e,_0x32da04:0x2b},_0x4c79e7={_0x2ffb3a:0x86,_0x5262f4:0x1c1};function _0xa50c83(_0x1e17a5,_0x18ba92,_0x44e948,_0x45c3fd){return _0x151cc1(_0x1e17a5-0x54,_0x44e948- -_0x4c79e7._0x2ffb3a,_0x45c3fd,_0x45c3fd-_0x4c79e7._0x5262f4);}const _0x4a9f7d=(_0x4bfb7b[_0xa50c83(_0x471566._0x579682,0xef,_0x471566._0x25dc7f,_0x471566._0x28a3a1)]['get'](_0xe6efc5)??0x1)+0x1;function _0x575acd(_0x3a6282,_0x27b531,_0x271825,_0x4143a1){return _0x151cc1(_0x3a6282-_0x1e478e._0x33f20b,_0x4143a1- -_0x1e478e._0x3f8126,_0x3a6282,_0x4143a1-_0x1e478e._0x32da04);}return _0x4bfb7b[_0xa50c83(_0x471566._0x25b9dc,0xb4,0x1a8,_0x471566._0x383117)][_0x575acd(-_0x471566._0x1ca7a9,-0x69,0xc2,-0x25)](_0xe6efc5,_0x4a9f7d),_0x4a9f7d;}async function collectClientResults(_0x4bdf68){const _0x15c3e3={_0x5dc53b:0x4f,_0x56c8bf:0xa8},_0x576e3f={_0xa26787:0x8b,_0x53a5d5:0x12a},_0x3fd8e6={_0x17c3a2:0x120,_0x1651c0:0x38a},_0x135aa6=await Promise[_0x20324d(0x2c8,0x12d,_0x15c3e3._0x5dc53b,_0x15c3e3._0x56c8bf)](_0x4bdf68);function _0x3ecf97(_0x176048,_0x4da407,_0x5f39e8,_0x34581c){return _0x151cc1(_0x176048-_0x3fd8e6._0x17c3a2,_0x34581c- -_0x3fd8e6._0x1651c0,_0x176048,_0x34581c-0x1db);}function _0x20324d(_0x306b50,_0xabc9ca,_0x105322,_0x4ea53c){return _0x151cc1(_0x306b50-_0x576e3f._0xa26787,_0xabc9ca- -_0x576e3f._0x53a5d5,_0x105322,_0x4ea53c-0x56);}return _0x135aa6['flatMap'](_0x43232e=>_0x43232e[_0x3ecf97(0x20d,0x115,-0x47,0x7e)]===_0x3ecf97(0x9,-0xff,-0x14e,-0x191)?_0x43232e['value']:[]);}function createLspService(_0x109a55={}){const _0x5d41d1={_0x186769:0x271,_0x5b6211:0xd8},_0x413a39={_0x4b4344:0x1a0,_0x20a7fe:0x99,_0x17ea37:0xb2,_0x3fa5a7:0x9,_0x417dfb:0x1d2,_0x4f4127:0x4,_0x52ba1a:0x2cb,_0xa8b2a4:0x2c8,_0x315716:0x490,_0x55c8c3:0x2c8,_0x5df3ec:0x314,_0xccf110:0x1bc,_0x1d4a7e:0x38,_0x178909:0x2,_0x167c51:0x3bd,_0x21fb9d:0x356,_0x508842:0x3c8,_0x4a1b86:0x26e,_0x5505e5:0xcb,_0x145c40:0xda,_0x38a5a8:0x3f4,_0x18c7df:0x24b,_0x1d291f:0x30,_0x24de1c:0x37d,_0x362f11:0x435},_0xc91f60={_0x1298e0:0x2cf,_0x9f46e:0x15f},_0x107ab6={_0x2c4dc8:0x243},_0x36070a={_0x5a2d56:0x4f5,_0x592446:0x5ed,_0x537bd2:0x647},_0xc07729={_0xdea1d3:0xaa,_0x27e875:0xa2,_0x3c0984:0x7a},_0x5c93e0={_0x4a8260:0x3e5},_0x299e72={_0x20a588:0x2e9,_0x1d8f5f:0x149,_0x43d248:0x214,_0x537650:0x99,_0x23c286:0x1fa,_0x596cfd:0x1a1,_0x2532d2:0x59,_0x8384b3:0x150,_0x2f0349:0x10d},_0x9c892f={_0x27d32a:0xbb},_0x316f49={_0x389dba:0x5a8,_0x3056ba:0x386,_0x649b0f:0x593},_0x4fe45={_0x41eba3:0x250},_0x39e73c={_0x2a77e3:0x261},_0x3df7cc={_0x3695a2:0x14e,_0x4e3200:0x436,_0x4c52a7:0x2cc,_0x1faaba:0x6,_0x4c0c90:0x1ab},_0x137873={_0x371c23:0x5a3,_0x186140:0xa7,_0x2b8e56:0x105,_0x3a17f0:0x15},_0x521822={_0x1b43dd:0x45,_0x21b50d:0x13b,_0x2ccc78:0x76},_0x36f59d={_0x192a75:0x567,_0x1fcadf:0x3d6,_0x15e68a:0x464},_0xf9c440={_0x51d529:0x610},_0x39fca9={_0x4bfa94:0x1cf,_0xea75df:0x291,_0x26e3c7:0x56a,_0x163d6f:0x4e1,_0x26c7e2:0x5ce,_0x50fffe:0x375,_0x1355f6:0x3df,_0x135bd6:0x212,_0x41b842:0x268,_0x57ab51:0x27d,_0x4cd7d8:0x2db,_0x37f4c1:0xcb,_0x53908b:0x2b9,_0x30a789:0x291,_0x142380:0x394,_0x215021:0x233,_0xf9f0f5:0x407,_0x3569dc:0x4ff,_0x2894b7:0x102,_0x3a0c9e:0x672,_0xddaa15:0x3fb,_0x38e93f:0x500,_0x809c6f:0x4b9},_0x4ee7d4={_0x3d5b67:0x1ec,_0x30c41e:0x529,_0x59dfd5:0x39d,_0x183cb7:0x579,_0x2ed003:0x595,_0x101ad2:0x4dd,_0x6802b9:0x202,_0x4eca23:0x386},_0x390f21={_0x445c88:0x359,_0x4b5e8e:0x2ba,_0x27dd4b:0x673,_0x100398:0x604,_0x1635fa:0x320,_0x2cc54c:0x3e1,_0x5125a9:0x66e,_0x47b01e:0x618,_0x526f03:0x57a,_0x4437d1:0x76,_0x443801:0x196,_0x296cb8:0x8c},_0x12169b={_0x41af28:0x6ed,_0x1b4ece:0x16b,_0x490e83:0x4c2,_0x405fe0:0x614,_0x4753c8:0x1bf,_0x10f208:0x756,_0x20f963:0x5c8,_0x4a4ce6:0x76b,_0x182a54:0x87f,_0xda57d8:0x63,_0x2ab321:0x1e6,_0x50deaa:0x1e6},_0x174049={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x528cd7=()=>_0x109a55['enabled']!==![];async function _0x25eaee(_0x469b3f,_0x441329){const _0x19afc2={_0x3b7c82:0x90},_0x12f4e1={_0x2c7c7e:0x9a,_0x5c01a7:0x425},_0x1d42b6=stateKey(_0x469b3f,_0x441329),_0x17afdc=_0x174049[_0x1d856a(_0x390f21._0x445c88,_0x390f21._0x4b5e8e,0x1c8,0x33d)]['find'](_0x3d83ee=>_0x3d83ee['serverId']===_0x469b3f['id']&&_0x3d83ee[_0x1d856a(0x180,0x117,0x1c3,0x8b)]===_0x441329);if(_0x17afdc)return _0x17afdc;if(_0x174049[_0x45093c(_0x390f21._0x27dd4b,0x73f,_0x390f21._0x100398,0x511)]['has'](_0x1d42b6))return void 0x0;const _0x1e98dc=_0x174049[_0x1d856a(_0x390f21._0x1635fa,_0x390f21._0x2cc54c,0x2dc,0x2f2)]['get'](_0x1d42b6);if(_0x1e98dc)return _0x1e98dc;const _0xb55264=((async()=>{function _0x212995(_0x516709,_0x51b6b9,_0x266c02,_0x28ec62){return _0x1d856a(_0x516709-_0x12f4e1._0x2c7c7e,_0x51b6b9-0x1d2,_0x516709-_0x12f4e1._0x5c01a7,_0x28ec62);}function _0x60cad1(_0xe00fa5,_0x501edd,_0x2371c2,_0x1e1cba){return _0x1d856a(_0xe00fa5-0x171,_0x501edd-0x1a0,_0xe00fa5- -0x174,_0x2371c2);}try{const _0x436a22=await _0x469b3f['spawn'](_0x441329);if(!_0x436a22)return _0x174049[_0x212995(_0x12169b._0x41af28,0x83a,0x649,0x7dd)]['add'](_0x1d42b6),void 0x0;const _0x3ad7b9=await createLspClient({'server':_0x469b3f,'root':_0x441329,'handle':_0x436a22}),_0x347f8c=_0x174049[_0x60cad1(0x54,-0x172,-_0x12169b._0x1b4ece,0x9d)][_0x212995(_0x12169b._0x490e83,0x44c,0x314,0x3b5)](_0x5091f=>_0x5091f[_0x212995(0x841,0x8ca,0x8fb,0x6fd)]===_0x469b3f['id']&&_0x5091f[_0x212995(0x5e8,0x45f,0x78a,0x46d)]===_0x441329);if(_0x347f8c)return await _0x3ad7b9[_0x212995(_0x12169b._0x405fe0,0x6f8,0x45c,0x4da)](),_0x347f8c;return _0x174049['clients']['push'](_0x3ad7b9),_0x3ad7b9;}catch{return _0x174049[_0x60cad1(0x154,_0x12169b._0x4753c8,0x173,0x143)][_0x212995(_0x12169b._0x10f208,0x713,_0x12169b._0x20f963,_0x12169b._0x4a4ce6)](_0x1d42b6),void 0x0;}finally{_0x174049[_0x212995(0x701,0x64e,_0x12169b._0x182a54,0x703)][_0x60cad1(-_0x12169b._0xda57d8,-0xcb,-_0x12169b._0x2ab321,-_0x12169b._0x50deaa)](_0x1d42b6);}})());function _0x1d856a(_0x5e2454,_0x51bbc4,_0x546047,_0x40bd75){return _0x5041(_0x546047- -_0x19afc2._0x3b7c82,_0x40bd75);}_0x174049[_0x45093c(0x4bd,_0x390f21._0x5125a9,_0x390f21._0x47b01e,_0x390f21._0x526f03)][_0x1d856a(-0x28,_0x390f21._0x4437d1,_0x390f21._0x443801,_0x390f21._0x296cb8)](_0x1d42b6,_0xb55264);function _0x45093c(_0x4762c8,_0x508682,_0x226ce8,_0x42de6e){return _0x5041(_0x226ce8-0x2ac,_0x4762c8);}return _0xb55264;}async function _0x2c16f2(_0x46a7e8,_0x52b8fc){const _0x121f7e={_0x58a0bf:0x45};function _0xceabfc(_0x5233d2,_0xc4dc34,_0x3a26bf,_0x335182){return _0x5041(_0x335182-_0x121f7e._0x58a0bf,_0x3a26bf);}if(!_0x528cd7())return[];const _0x3b5ea0=[];function _0x8143d2(_0x48b690,_0xf5f93f,_0x4be007,_0x422640){return _0x5041(_0x422640-0x1d6,_0x48b690);}for(const _0x312ca2 of getServersForFile(_0x46a7e8)){const _0x58326a=await _0x312ca2['root'](_0x46a7e8);if(!_0x58326a)continue;const _0x54e20b=stateKey(_0x312ca2,_0x58326a);if(_0x174049[_0xceabfc(_0x4ee7d4._0x3d5b67,0x2d8,_0x4ee7d4._0x30c41e,_0x4ee7d4._0x59dfd5)][_0x8143d2(_0x4ee7d4._0x183cb7,0x6db,0x592,_0x4ee7d4._0x2ed003)](_0x54e20b))continue;const _0x42a286=_0x174049['clients']['find'](_0x51e0c4=>_0x51e0c4[_0x8143d2(0x50e,0x5d1,0x841,0x682)]===_0x312ca2['id']&&_0x51e0c4[_0x8143d2(0x50b,0x431,0x355,0x429)]===_0x58326a);if(_0x42a286){_0x3b5ea0[_0xceabfc(0x3f4,_0x4ee7d4._0x101ad2,_0x4ee7d4._0x6802b9,_0x4ee7d4._0x4eca23)](_0x42a286);continue;}if(!_0x52b8fc)continue;const _0x2e9029=await _0x25eaee(_0x312ca2,_0x58326a);if(_0x2e9029)_0x3b5ea0[_0xceabfc(0x2ad,0x417,0x2cb,0x386)](_0x2e9029);}return _0x3b5ea0;}async function _0x417782(_0x3c623a,_0x33db8d=![]){const _0x14cb4f={_0xb97a27:0x263},_0x9949b8=await _0x2c16f2(_0x3c623a,!![]);function _0x1cdf8a(_0x58c902,_0x394cac,_0x1da8bd,_0x1d91ae){return _0x5041(_0x1d91ae-0x23c,_0x1da8bd);}await Promise['all'](_0x9949b8[_0x1cdf8a(0x5b5,0x56f,0x715,_0xf9c440._0x51d529)](async _0x561021=>{const _0x348c8d={_0x4b2f5b:0x11a};function _0x504845(_0x32fbe6,_0xa91ed,_0x346937,_0x2edb4c){return _0x1cdf8a(_0x32fbe6-0xce,_0xa91ed-0x1aa,_0x2edb4c,_0x346937- -_0x348c8d._0x4b2f5b);}function _0x4aee2e(_0x424d29,_0x57b530,_0x451720,_0x3584de){return _0x1cdf8a(_0x424d29-0xca,_0x57b530-0x98,_0x57b530,_0x3584de- -_0x14cb4f._0xb97a27);}!_0x174049[_0x504845(_0x39fca9._0x4bfa94,0x3c5,_0x39fca9._0xea75df,0x173)][_0x504845(_0x39fca9._0x26e3c7,0x5a1,_0x39fca9._0x163d6f,0x4ca)](_0x561021[_0x504845(0x4d9,0x65c,_0x39fca9._0x26c7e2,0x476)]+':'+_0x561021[_0x504845(0x1ad,0x4b7,_0x39fca9._0x50fffe,0x466)]+':'+_0x3c623a)&&(await _0x561021[_0x504845(_0x39fca9._0x1355f6,_0x39fca9._0x135bd6,_0x39fca9._0x41b842,0x339)][_0x504845(0x281,_0x39fca9._0x57ab51,0x3b0,_0x39fca9._0x4cd7d8)]({'path':_0x3c623a}),_0x174049[_0x504845(_0x39fca9._0x37f4c1,_0x39fca9._0x53908b,_0x39fca9._0x30a789,_0x39fca9._0x142380)][_0x4aee2e(_0x39fca9._0x215021,_0x39fca9._0xf9f0f5,_0x39fca9._0x3569dc,0x39a)](_0x561021['serverId']+':'+_0x561021[_0x504845(0x2a7,0x246,_0x39fca9._0x50fffe,0x2b2)]+':'+_0x3c623a));await _0x561021[_0x4aee2e(_0x39fca9._0x2894b7,0x8b,0x2bc,0x11f)][_0x4aee2e(0x2ed,0x4c1,0x299,0x440)]({'path':_0x3c623a,'version':nextFileVersion(_0x174049,_0x3c623a)});if(_0x33db8d)await _0x561021[_0x504845(_0x39fca9._0x3a0c9e,_0x39fca9._0xddaa15,_0x39fca9._0x38e93f,_0x39fca9._0x809c6f)]({'path':_0x3c623a});}));}async function _0x509a86(_0x5d6dc5){const _0x466d67={_0x52e270:0x104};await _0x417782(_0x5d6dc5['file'],![]);function _0x356be6(_0x483832,_0x4bf55d,_0xd21a61,_0xae9e78){return _0x5041(_0x4bf55d-_0x466d67._0x52e270,_0xd21a61);}return _0x2c16f2(_0x5d6dc5[_0x356be6(0x512,_0x36f59d._0x192a75,_0x36f59d._0x1fcadf,_0x36f59d._0x15e68a)],![]);}async function _0x55ef6d(_0x38cd91){const _0x505987={_0x592fb0:0x35e};function _0x22d30a(_0x5d4f90,_0x52eebb,_0x24c7eb,_0x4eeef7){return _0x5041(_0x52eebb-0x176,_0x5d4f90);}function _0x4f6cab(_0x1bb8b5,_0x12f465,_0x2f685d,_0x35524c){return _0x5041(_0x35524c- -_0x505987._0x592fb0,_0x2f685d);}const _0x205ef6=await _0x509a86(_0x38cd91);return collectClientResults(_0x205ef6[_0x4f6cab(-_0x521822._0x1b43dd,-_0x521822._0x21b50d,0x179,_0x521822._0x2ccc78)](_0x2d5b0e=>_0x2d5b0e[_0x4f6cab(0x91,-0x7f,-0x1bb,-0x36)][_0x4f6cab(-0x19,-0x103,0x9e,-0xa)](_0x38cd91)));}return{'isEnabled':_0x528cd7,async 'hasClients'(_0x394e6c){return(await _0x2c16f2(_0x394e6c,![]))['length']>0x0||getServersForFile(_0x394e6c)['length']>0x0;},'touchFile':_0x417782,async 'diagnostics'(){const _0x49b9f2={};function _0x34823c(_0x5f05cb,_0x1a7147,_0x36b392,_0x426880){return _0x5041(_0x5f05cb- -0x373,_0x36b392);}function _0x3b8120(_0x32576a,_0x2fb5d7,_0x7dc84a,_0x4692f2){return _0x5041(_0x4692f2-0x2cf,_0x7dc84a);}for(const _0x3786f6 of _0x174049[_0x3b8120(0x464,_0x137873._0x371c23,0x59d,0x527)]){for(const [_0x51d7e5,_0x2c1f0b]of _0x3786f6[_0x34823c(-_0x137873._0x186140,-_0x137873._0x2b8e56,-_0x137873._0x3a17f0,-0x214)]){_0x49b9f2[diagnosticsKeyToPath(_0x51d7e5)]=_0x2c1f0b;}}return _0x49b9f2;},async 'diagnosticsForFile'(_0x7cbc52){await _0x417782(_0x7cbc52,!![]);function _0x539568(_0x5d2085,_0x523eec,_0x9a1b38,_0x50e3c5){return _0x5041(_0x5d2085- -0x337,_0x50e3c5);}const _0x355ff1=[];function _0x4f5931(_0x105916,_0xce7f8e,_0x5babc9,_0x276cb3){return _0x5041(_0x276cb3-0x0,_0x105916);}for(const _0x95cb79 of await _0x2c16f2(_0x7cbc52,![])){for(const [_0x8802a9,_0x363c69]of _0x95cb79[_0x4f5931(_0x3df7cc._0x3695a2,0x1d4,_0x3df7cc._0x4e3200,_0x3df7cc._0x4c52a7)]){if(diagnosticsKeyToPath(_0x8802a9)===_0x7cbc52)_0x355ff1[_0x539568(0xa,-_0x3df7cc._0x1faaba,_0x3df7cc._0x4c0c90,0x36)](..._0x363c69);}}return _0x355ff1;},async 'definition'(_0x49d8e3){function _0x55ace9(_0x3d2a3a,_0x25fc3f,_0x515bdf,_0x4ace56){return _0x5041(_0x3d2a3a- -0x54,_0x515bdf);}function _0x40d27b(_0x1d27e4,_0x5abf35,_0x163bcf,_0x338253){return _0x5041(_0x338253- -_0x39e73c._0x2a77e3,_0x1d27e4);}return collectClientResults((await _0x509a86(_0x49d8e3))[_0x40d27b(_0x4fe45._0x41eba3,-0x5c,0x28b,0x173)](_0x8d941c=>_0x8d941c['request'][_0x40d27b(0x2c7,0x16,0x75,0x198)](_0x49d8e3)));},async 'references'(_0x6f9690){function _0x122009(_0x44fd76,_0x1d0b0f,_0x34ee28,_0x426005){return _0x5041(_0x1d0b0f-0xd8,_0x44fd76);}return collectClientResults((await _0x509a86(_0x6f9690))[_0x122009(_0x316f49._0x389dba,0x4ac,_0x316f49._0x3056ba,_0x316f49._0x649b0f)](_0x334e08=>_0x334e08['request']['references'](_0x6f9690)));},async 'hover'(_0x2b51c7){function _0x4f5772(_0x5d0428,_0x128199,_0x5c7701,_0x144b29){return _0x5041(_0x144b29- -0x233,_0x5c7701);}function _0x203684(_0x2b0f1f,_0x28918f,_0x13dae1,_0x56e353){return _0x5041(_0x13dae1- -_0x9c892f._0x27d32a,_0x2b0f1f);}const _0x515865=await Promise[_0x203684(_0x299e72._0x20a588,-0x4f,_0x299e72._0x1d8f5f,_0x299e72._0x43d248)]((await _0x509a86(_0x2b51c7))[_0x4f5772(0x19c,_0x299e72._0x537650,_0x299e72._0x23c286,_0x299e72._0x596cfd)](_0x35d575=>_0x35d575[_0x203684(0xd4,0x3fd,0x26d,0x1e3)][_0x4f5772(-0xb,0x1e9,0xfd,0x13c)](_0x2b51c7)));return _0x515865[_0x4f5772(-_0x299e72._0x2532d2,_0x299e72._0x8384b3,-_0x299e72._0x2f0349,-0x7c)](_0x381d5d=>_0x381d5d[_0x4f5772(0x29d,0x2f0,0x230,0x182)]===_0x203684(-0x4a,-0x18,0xeb,0x138)&&_0x381d5d[_0x203684(0x1ca,-0x131,0x70,0x5d)]?[_0x381d5d[_0x203684(-0x84,0x36,0x70,0x14d)]]:[]);},async 'documentSymbol'(_0x362c88){const _0x9e5d9d={_0x115187:0x2cd};function _0x3b52a3(_0x41af71,_0xb48089,_0x4d8e2d,_0x6cd4c2){return _0x5041(_0x4d8e2d- -_0x9e5d9d._0x115187,_0xb48089);}return await _0x417782(_0x362c88,![]),collectClientResults((await _0x2c16f2(_0x362c88,![]))['map'](_0x2a1eb5=>_0x2a1eb5[_0x3b52a3(0x225,0x2e,0x5b,-0x158)]['documentSymbol'](_0x362c88)));},async 'workspaceSymbol'(_0x41e2e7){function _0x163e9a(_0x3263bd,_0x16fd1d,_0x2bca69,_0x10d419){return _0x5041(_0x10d419- -_0x5c93e0._0x4a8260,_0x3263bd);}function _0x3835f6(_0x50645f,_0x3422ee,_0x1f8ab5,_0x25970a){return _0x5041(_0x50645f-0x26e,_0x1f8ab5);}return collectClientResults(_0x174049[_0x163e9a(-0x302,-0xe2,-_0xc07729._0xdea1d3,-0x18d)][_0x163e9a(_0xc07729._0x27e875,-0x3a,-_0xc07729._0x3c0984,-0x11)](_0x3d88b4=>_0x3d88b4['request']['workspaceSymbol'](_0x41e2e7)));},async 'implementation'(_0x5d40f9){const _0x20dbe9={_0x5e3b91:0x121};function _0x81ae00(_0x1cff63,_0x73cdeb,_0x40aba3,_0x5de5a0){return _0x5041(_0x40aba3-0x30a,_0x73cdeb);}function _0x1d6cda(_0x130ba3,_0x3061a4,_0x101eaf,_0x2e29a8){return _0x5041(_0x130ba3-_0x20dbe9._0x5e3b91,_0x3061a4);}return collectClientResults((await _0x509a86(_0x5d40f9))[_0x1d6cda(_0x36070a._0x5a2d56,_0x36070a._0x592446,_0x36070a._0x537bd2,0x504)](_0x528646=>_0x528646['request'][_0x81ae00(0x3f8,0x2e3,0x445,0x42b)](_0x5d40f9)));},async 'prepareCallHierarchy'(_0x52fa97){return _0x55ef6d(_0x52fa97);},async 'incomingCalls'(_0x3fe15c){function _0x6af23d(_0x4b8131,_0x2be265,_0x807f52,_0x2f58d6){return _0x5041(_0x4b8131-0x118,_0x807f52);}function _0x49ad7c(_0x3dc361,_0x3cc1d8,_0x560841,_0x3033bc){return _0x5041(_0x560841- -_0x107ab6._0x2c4dc8,_0x3dc361);}const _0x1fdbb9=await _0x55ef6d(_0x3fe15c),_0x24919d=await _0x509a86(_0x3fe15c);return collectClientResults(_0x24919d[_0x6af23d(_0xc91f60._0x1298e0,_0xc91f60._0x9f46e,0x49c,0x364)](_0x4ac7a0=>_0x1fdbb9[_0x6af23d(0x4ec,0x614,0x6a9,0x36c)](_0x5f0de3=>_0x4ac7a0['request']['incomingCalls'](_0x5f0de3))));},async 'outgoingCalls'(_0x3eb9c9){function _0x12270f(_0x8a3ff4,_0x54ac04,_0x53f0b8,_0x39b9f0){return _0x5041(_0x8a3ff4- -0x319,_0x39b9f0);}function _0x2be94(_0x6da435,_0x94234e,_0x1623bb,_0x45f058){return _0x5041(_0x94234e- -0x2,_0x1623bb);}const _0x5c2fde=await _0x55ef6d(_0x3eb9c9),_0x4f7491=await _0x509a86(_0x3eb9c9);return collectClientResults(_0x4f7491['flatMap'](_0xb36f19=>_0x5c2fde[_0x12270f(0xbb,0xd6,0x20d,0x70)](_0x451444=>_0xb36f19['request'][_0x2be94(0xcf,0x198,0x1c5,0x124)](_0x451444))));},async 'shutdown'(){const _0x40c4ce={_0x484b45:0x70};if(_0x174049[_0x4d5285(-_0x413a39._0x4b4344,_0x413a39._0x20a7fe,-0x152,-_0x413a39._0x17ea37)])return;_0x174049[_0x4d5285(-_0x413a39._0x3fa5a7,-0x3d,-0x99,-_0x413a39._0x17ea37)]=!![],await Promise[_0x4d5285(0x121,_0x413a39._0x417dfb,-0x152,_0x413a39._0x4f4127)](_0x174049[_0x318ae7(0x3a4,_0x413a39._0x52ba1a,0x2b7,_0x413a39._0xa8b2a4)]['map'](_0x4305f5=>_0x4305f5[_0x4d5285(0xe0,-0xb4,-0x67,0x7f)]()));function _0x4d5285(_0x4190ed,_0x2dda33,_0x287ef1,_0xf4d687){return _0x5041(_0xf4d687- -0x200,_0x2dda33);}_0x174049[_0x318ae7(_0x413a39._0x315716,0x392,0x2a6,_0x413a39._0x55c8c3)]=[],_0x174049[_0x4d5285(-0x54,0x173,_0x413a39._0x5df3ec,0x16c)][_0x4d5285(-0x177,_0x413a39._0xccf110,_0x413a39._0x1d4a7e,-_0x413a39._0x178909)](),_0x174049[_0x318ae7(_0x413a39._0x167c51,_0x413a39._0x21fb9d,0x289,_0x413a39._0x508842)][_0x318ae7(0x33e,0x2fe,0x225,_0x413a39._0x4a1b86)](),_0x174049[_0x318ae7(_0x413a39._0x5505e5,_0x413a39._0x145c40,_0x413a39._0x38a5a8,_0x413a39._0x18c7df)][_0x318ae7(0x38a,0x2a0,0xf6,0x26e)]();function _0x318ae7(_0x47f4cc,_0xaa3f0b,_0x2c2f16,_0x2db1ff){return _0x5041(_0x2db1ff-_0x40c4ce._0x484b45,_0x2c2f16);}_0x174049[_0x4d5285(-0xc7,-0x235,_0x413a39._0x1d291f,-0x91)][_0x318ae7(_0x413a39._0x24de1c,_0x413a39._0x362f11,0x2d9,0x26e)]();},'status'(){function _0x2af14a(_0x559bb9,_0x279656,_0x3cce62,_0x465f4c){return _0x5041(_0x3cce62- -0x330,_0x559bb9);}return{'connectedClients':_0x174049[_0x2af14a(-_0x5d41d1._0x186769,-0x1c9,-_0x5d41d1._0x5b6211,-0x123)]['length']};}};}function createQuestionId(){const _0xcc99c5={_0x40f216:0x11e,_0x59069a:0x27,_0x2b8015:0x2a,_0x169b80:0x430,_0x241ad3:0x718,_0x100142:0x31b,_0x3489db:0xaf,_0x4fd6c6:0x7b,_0x213f11:0xf5,_0x298e3f:0xc7},_0x8bc2d9={_0x2993d1:0x4d},_0x42fa4b={_0x3cab32:0xb6,_0xe39476:0x10e};function _0x1a4ad7(_0x16a5ab,_0x1b15dd,_0x31319d,_0x450dce){return _0x151cc1(_0x16a5ab-_0x42fa4b._0x3cab32,_0x450dce-0x1dc,_0x16a5ab,_0x450dce-_0x42fa4b._0xe39476);}function _0xf2df04(_0x58ea9d,_0x2face7,_0x391ad8,_0x49525d){return _0x1ac42a(_0x58ea9d-_0x8bc2d9._0x2993d1,_0x2face7-0x97,_0x58ea9d-0x7f,_0x49525d);}return _0xf2df04(0xec,_0xcc99c5._0x40f216,_0xcc99c5._0x59069a,-_0xcc99c5._0x2b8015)+Date[_0x1a4ad7(_0xcc99c5._0x169b80,0x716,_0xcc99c5._0x241ad3,0x5b2)]()+'-'+Math[_0xf2df04(0x1da,0x26,_0xcc99c5._0x100142,0x2df)]()[_0xf2df04(-_0xcc99c5._0x3489db,_0xcc99c5._0x4fd6c6,_0xcc99c5._0x213f11,-_0xcc99c5._0x298e3f)](0x24)['slice'](0x2,0x9);}function validateInput(_0x380aea){const _0x2e8bf0={_0x28bed0:0x555,_0x81206:0x4b3,_0x20bcb6:0x2f,_0x170fe8:0x17d,_0x3faeaf:0x2ed,_0x216c2f:0xa2,_0x21db3f:0x21d,_0x3fbbb3:0xc8,_0x237afc:0x13a,_0x4182fa:0x1cf,_0x2a6b7c:0x105,_0x396e82:0x8d,_0x57e1a5:0x1d4,_0x5bec63:0x53b,_0x19c0af:0x1f4,_0x239f8e:0x304,_0x493953:0x1e7,_0x33edb2:0x31a,_0x47c627:0x3de,_0x5200be:0x3a3,_0x56425a:0xd3,_0x42df54:0x2a,_0x551413:0xb3,_0x3767c2:0x172,_0x42769b:0xd9,_0x21b4a5:0x14d,_0x4b3167:0x3f,_0x37e895:0x73,_0x439016:0x2b7,_0x5bd4d9:0x4d,_0x4965e4:0x28,_0x1428f5:0x77,_0x305db0:0xb1,_0xb1bcb6:0x5d4,_0x31a42d:0x765,_0x4fa294:0x741,_0x240182:0xc6,_0x2878e9:0x9a,_0x59718d:0x5d4,_0x3a3be2:0x5db,_0xd91ca4:0x15b,_0x2267d6:0x99,_0x9dca94:0x798,_0x4b4fee:0x563,_0x5d12ff:0x6d5,_0x5aa717:0x145,_0xa9c0b9:0x4a4,_0x4a38c8:0x635,_0x41bd79:0x484,_0x4061db:0x2a6,_0x182f0e:0x44e,_0x2659ce:0x428,_0x4a2221:0x379,_0x567563:0x369,_0x2d1e08:0x37f,_0x123e51:0x284,_0x321860:0x2c1,_0x1f0aef:0x13},_0x10012a={_0x3efcd9:0x50,_0x43ec46:0xdf};function _0x5f1283(_0x3e9c89,_0x42720f,_0x4f6aad,_0x59ce58){return _0x151cc1(_0x3e9c89-_0x10012a._0x3efcd9,_0x59ce58- -0x269,_0x42720f,_0x59ce58-_0x10012a._0x43ec46);}function _0x40a6f1(_0x6beb80,_0xdb357e,_0x41112e,_0x3a5c1e){return _0x151cc1(_0x6beb80-0x1c7,_0x6beb80-0x14e,_0x3a5c1e,_0x3a5c1e-0x1ad);}if(!Array[_0x40a6f1(0x3a2,_0x2e8bf0._0x28bed0,0x48f,_0x2e8bf0._0x81206)](_0x380aea[_0x5f1283(_0x2e8bf0._0x20bcb6,0x2b4,0x245,_0x2e8bf0._0x170fe8)])||_0x380aea[_0x5f1283(0x216,_0x2e8bf0._0x3faeaf,0x24,_0x2e8bf0._0x170fe8)][_0x5f1283(_0x2e8bf0._0x216c2f,0x3bd,0x233,_0x2e8bf0._0x21db3f)]<0x1||_0x380aea[_0x40a6f1(0x534,0x60d,_0x2e8bf0._0x81206,0x64a)]['length']>0xa)throw new ToolExecutionError(_0x5f1283(0x30c,_0x2e8bf0._0x3fbbb3,_0x2e8bf0._0x237afc,_0x2e8bf0._0x4182fa),{'error':_0x5f1283(_0x2e8bf0._0x2a6b7c,0x188,0x22c,_0x2e8bf0._0x396e82)});for(let _0x4d2ca0=0x0;_0x4d2ca0<_0x380aea[_0x5f1283(-0x4e,0x2cd,_0x2e8bf0._0x57e1a5,_0x2e8bf0._0x170fe8)][_0x40a6f1(0x5d4,_0x2e8bf0._0x5bec63,0x59f,0x41b)];_0x4d2ca0+=0x1){const _0x3b892e=_0x380aea['questions'][_0x4d2ca0];if(!_0x3b892e[_0x5f1283(_0x2e8bf0._0x19c0af,0x26b,0xa6,0x152)]||typeof _0x3b892e[_0x40a6f1(0x509,0x42b,0x6b6,0x48c)]!==_0x40a6f1(_0x2e8bf0._0x239f8e,_0x2e8bf0._0x493953,_0x2e8bf0._0x33edb2,0x3b9))throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x3b892e[_0x40a6f1(_0x2e8bf0._0x47c627,0x3a8,0x4c3,0x57f)]||typeof _0x3b892e[_0x40a6f1(0x3de,_0x2e8bf0._0x5200be,0x468,0x54f)]!==_0x5f1283(_0x2e8bf0._0x56425a,-0x1cd,-_0x2e8bf0._0x42df54,-_0x2e8bf0._0x551413))throw new ToolExecutionError(_0x5f1283(_0x2e8bf0._0x3767c2,_0x2e8bf0._0x42769b,-_0x2e8bf0._0x21b4a5,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x5f1283(_0x2e8bf0._0x37e895,_0x2e8bf0._0x439016,0x182,0x1d4));if(_0x3b892e[_0x5f1283(-0xe2,-_0x2e8bf0._0x5bd4d9,-_0x2e8bf0._0x170fe8,0x27)]['length']>0x1e)throw new ToolExecutionError(_0x5f1283(-_0x2e8bf0._0x4965e4,0x105,0xe1,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(0x5f8,0x7a6,0x5bd,0x6cb)+_0x3b892e[_0x5f1283(_0x2e8bf0._0x1428f5,-_0x2e8bf0._0x305db0,0xcf,0x27)][_0x40a6f1(_0x2e8bf0._0xb1bcb6,0x50d,_0x2e8bf0._0x31a42d,_0x2e8bf0._0x4fa294)]);if(!Array['isArray'](_0x3b892e['options'])||_0x3b892e[_0x5f1283(-0x23,-_0x2e8bf0._0x240182,0x11a,_0x2e8bf0._0x2878e9)][_0x40a6f1(_0x2e8bf0._0x59718d,_0x2e8bf0._0x3a3be2,0x78a,0x476)]<0x2||_0x3b892e[_0x5f1283(_0x2e8bf0._0xd91ca4,-_0x2e8bf0._0x396e82,-_0x2e8bf0._0x2267d6,0x9a)][_0x40a6f1(0x5d4,_0x2e8bf0._0x9dca94,_0x2e8bf0._0x4b4fee,_0x2e8bf0._0x5d12ff)]>0x4)throw new ToolExecutionError(_0x5f1283(0x145,-0x82,-_0x2e8bf0._0x5aa717,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(_0x2e8bf0._0xa9c0b9,_0x2e8bf0._0x4a38c8,0x304,_0x2e8bf0._0x41bd79));for(let _0x295c13=0x0;_0x295c13<_0x3b892e[_0x40a6f1(0x451,_0x2e8bf0._0x4061db,0x2da,_0x2e8bf0._0x182f0e)][_0x40a6f1(0x5d4,0x6c2,0x4c7,_0x2e8bf0._0x2659ce)];_0x295c13+=0x1){const _0x3aa2dc=_0x3b892e[_0x5f1283(-0x1c,0x187,0xc0,_0x2e8bf0._0x2878e9)][_0x295c13];if(!_0x3aa2dc[_0x40a6f1(_0x2e8bf0._0x4a2221,0x27a,_0x2e8bf0._0x4061db,0x461)]||!_0x3aa2dc['description'])throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+_0x5f1283(0x1c0,_0x2e8bf0._0x567563,_0x2e8bf0._0x2d1e08,_0x2e8bf0._0x123e51)+(_0x295c13+0x1)+_0x5f1283(0x1d,_0x2e8bf0._0x321860,-_0x2e8bf0._0x1f0aef,0x10d));}if(typeof _0x3b892e['multiSelect']!=='boolean')throw new ToolExecutionError(_0x40a6f1(0x3f6,0x425,0x310,0x273)+(_0x4d2ca0+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0xe7a61f){const _0x43ef21={_0x850cb0:0xc7},_0x47bb63={_0x4df710:0x202};function _0x430095(_0x2332b3,_0x371cb9,_0x4d9ab5,_0x2cc32b){return _0x1ac42a(_0x2332b3-0xc6,_0x371cb9-0x95,_0x2cc32b-0x65d,_0x371cb9);}function _0xdb8e6b(_0x255d0c,_0x3a883f,_0xaf3e3e,_0x575141){return _0x1ac42a(_0x255d0c-0x176,_0x3a883f-0x132,_0x255d0c-_0x47bb63._0x4df710,_0xaf3e3e);}return _0xe7a61f[_0xdb8e6b(0x26b,0x3d1,0x12c,_0x43ef21._0x850cb0)]['map']((_0xa6a54f,_0xbc413d)=>({'id':'q'+_0xbc413d,'question':_0xa6a54f[_0xdb8e6b(0x240,0x358,0x118,0x337)],'topic':_0xa6a54f['topic'],'options':_0xa6a54f['options'],'multiSelect':_0xa6a54f[_0x430095(0x726,0x6dc,0x755,0x659)]}));}function createResult(_0x143749,_0x2b8378,_0x4e68e3){const _0x5edefd={_0x1a58e1:0xa8},_0x1cdd6c={_0x1e90ab:0x1a1,_0x535985:0xa9};function _0x6a664c(_0x1a1681,_0x139fa7,_0x587cdb,_0x54a720){return _0x1ac42a(_0x1a1681-_0x1cdd6c._0x1e90ab,_0x139fa7-0x1,_0x1a1681-_0x1cdd6c._0x535985,_0x587cdb);}const _0x183c3f={'questionId':_0x143749,'questionCount':_0x2b8378,'answers':_0x4e68e3};return createToolOutput(_0x6a664c(0x1be,_0x5edefd._0x1a58e1,0x319,0xb2)+JSON['stringify'](_0x4e68e3,null,0x2),_0x183c3f);}function createAskUserTool(){const _0x50f7b5={_0x21cc97:0x61e,_0x4b05e7:0x6a,_0x3edb5e:0x163,_0x32796c:0x196,_0x1d06a0:0x188,_0x3f846b:0x5fe,_0x75eb0f:0x18f,_0x1c46c9:0x66a,_0x46ce36:0x573,_0x22e99c:0x3bc,_0x53586b:0x1d,_0x19d7e7:0xf4,_0x49b144:0xa0,_0x468d8f:0x6,_0xed55de:0x4e6,_0x3dcbd5:0x48f,_0x488fb6:0x631,_0x4a2585:0xbb,_0x2ec029:0x1f5,_0x39eb50:0x670,_0x587c9b:0x61f,_0x3b5a80:0x64a,_0x220947:0x5ee,_0x501134:0x515,_0x4a126e:0x195,_0x5eab7a:0x6a,_0x27553f:0xae},_0x359703={_0x484b56:0x66f,_0xc25525:0xe3,_0x544310:0xee,_0xa4387e:0x7c8,_0xcc2cac:0x644,_0x3615ed:0x411,_0x140748:0x229,_0x43fde7:0x63b,_0x251c03:0x54b,_0x243a29:0x5b6,_0x51439f:0x3c7,_0x379108:0x2f6,_0x477ed7:0x25a,_0x30b285:0x4e2,_0x2a636f:0x3f5,_0x1274fb:0x49c,_0x4ff269:0x3d1,_0x318de0:0x423,_0xd81823:0xcb,_0xc37568:0x1d3,_0x1fab9e:0x7e9,_0x4897be:0x4cc,_0x19f633:0x67d,_0x1458a4:0x1cb,_0x56b63a:0x22e},_0x51485e={_0x16b8d7:0xe,_0x492112:0x19},_0x21a4cd={_0x271b12:0x11b};function _0x272607(_0x448312,_0x2201f9,_0xbd325b,_0x15da36){return _0x151cc1(_0x448312-0x61,_0x2201f9-0x264,_0xbd325b,_0x15da36-0x40);}function _0x5838e6(_0x34d1c4,_0x1fa2a0,_0x2ac8f5,_0x32cb63){return _0x151cc1(_0x34d1c4-0x83,_0x34d1c4- -0x1d3,_0x1fa2a0,_0x32cb63-_0x21a4cd._0x271b12);}return defineTool({'name':'AskUserTool','permissionClass':'read','description':_0x272607(_0x50f7b5._0x21cc97,0x6f3,0x5b0,0x718),'inputSchema':{'type':_0x5838e6(-_0x50f7b5._0x4b05e7,_0x50f7b5._0x3edb5e,-_0x50f7b5._0x32796c,-_0x50f7b5._0x1d06a0),'properties':{'questions':{'type':_0x272607(0x745,0x66a,_0x50f7b5._0x3f846b,0x646),'items':{'type':'object','properties':{'question':{'type':'string'},'topic':{'type':_0x5838e6(-0x1d,_0x50f7b5._0x75eb0f,0x195,-0xa6)},'options':{'type':_0x272607(0x7d1,_0x50f7b5._0x1c46c9,0x66b,0x546),'items':{'type':_0x272607(0x4c5,0x3cd,_0x50f7b5._0x46ce36,_0x50f7b5._0x22e99c),'properties':{'label':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x19d7e7,-_0x50f7b5._0x49b144,0x176)},'description':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x3edb5e,_0x50f7b5._0x468d8f,-0x1e1)}},'required':[_0x272607(_0x50f7b5._0xed55de,_0x50f7b5._0x3dcbd5,0x2f7,_0x50f7b5._0x488fb6),_0x5838e6(_0x50f7b5._0x4a2585,0x48,-0x99,0xac)]}},'multiSelect':{'type':_0x5838e6(0x133,0x2f1,_0x50f7b5._0x2ec029,0x2f5)}},'required':[_0x272607(_0x50f7b5._0x39eb50,_0x50f7b5._0x587c9b,_0x50f7b5._0x3b5a80,0x67c),_0x272607(_0x50f7b5._0x220947,0x4f4,0x510,_0x50f7b5._0x501134),_0x5838e6(0x130,0x232,_0x50f7b5._0x4a126e,0x213),'multiSelect']}},'answers':{'type':_0x5838e6(-_0x50f7b5._0x5eab7a,0xea,_0x50f7b5._0x27553f,0x63),'properties':{}}},'required':['questions']},async *'execute'(_0x3582ac,_0x55f373){function _0x315815(_0x4503fe,_0x4cdec4,_0x1bfd83,_0x3b7fe0){return _0x5838e6(_0x4cdec4-0x34,_0x1bfd83,_0x1bfd83-0xef,_0x3b7fe0-0x1);}function _0x150c83(_0x4dd5a9,_0x5748f8,_0x11f972,_0x3a1bc3){return _0x272607(_0x4dd5a9-_0x51485e._0x16b8d7,_0x4dd5a9- -0xf,_0x5748f8,_0x3a1bc3-_0x51485e._0x492112);}const _0x2176f9=_0x3582ac;validateInput(_0x2176f9);const _0xd0f32e=_0x55f373[_0x150c83(0x5e0,0x795,_0x359703._0x484b56,0x71d)]??createQuestionId();if(_0x2176f9[_0x315815(_0x359703._0xc25525,_0x359703._0x544310,-0x43,0x280)]&&Object[_0x150c83(0x609,0x582,_0x359703._0xa4387e,_0x359703._0xcc2cac)](_0x2176f9['answers'])[_0x315815(0x1d4,0x2e7,_0x359703._0x3615ed,_0x359703._0x140748)]>0x0)return createResult(_0xd0f32e,_0x2176f9[_0x150c83(_0x359703._0x43fde7,0x510,_0x359703._0x251c03,_0x359703._0x243a29)][_0x315815(_0x359703._0x51439f,0x2e7,_0x359703._0x379108,_0x359703._0x477ed7)],_0x2176f9[_0x150c83(_0x359703._0x30b285,_0x359703._0x2a636f,_0x359703._0x1274fb,0x5bd)]);if(!_0x55f373[_0x315815(_0x359703._0x4ff269,0x2b1,0x3dd,_0x359703._0x318de0)])throw new ToolExecutionError(_0x315815(0x1c1,_0x359703._0xd81823,0xca,_0x359703._0xc37568));const _0x4c0854=buildQuestions(_0x2176f9),_0x289558=await _0x55f373['askUser']({'questionId':_0xd0f32e,'questions':_0x4c0854});yield createResult(_0xd0f32e,_0x2176f9[_0x150c83(0x63b,_0x359703._0x1fab9e,_0x359703._0x4897be,_0x359703._0x19f633)][_0x315815(_0x359703._0x1458a4,0x2e7,_0x359703._0x56b63a,0x37d)],_0x289558);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1b4331}from'child_process';function errorMessage(_0x493365){const _0x31b9ac={_0x30327d:0x12f};function _0x4f2404(_0x4d594e,_0x1edbe3,_0x274d7f,_0xb581bd){return _0x1ac42a(_0x4d594e-0x7b,_0x1edbe3-_0x31b9ac._0x30327d,_0x1edbe3-0x1c2,_0x4d594e);}return _0x493365 instanceof Error?_0x493365[_0x4f2404(0x394,0x2d3,0x421,0x13d)]:String(_0x493365);}function isNotFound(_0x1eb75e){const _0x44506f={_0x12ca58:0x19d,_0x369e97:0x180,_0x4b6782:0x61e,_0x338f96:0x70a,_0x1ddfa4:0x677,_0x2d09ae:0x336,_0x18cc34:0x346,_0x30461b:0x5ff,_0x2eb848:0x4c0},_0x45ba4f={_0x1a61cd:0x73},_0x1fcb3f={_0x399223:0xb8,_0x5587b8:0x237};function _0x414a97(_0x2db3ca,_0x31d7c3,_0x1d44ad,_0x3793cd){return _0x1ac42a(_0x2db3ca-0x1b2,_0x31d7c3-_0x1fcb3f._0x399223,_0x31d7c3-_0x1fcb3f._0x5587b8,_0x3793cd);}function _0x11c3bb(_0x57c4bd,_0x455eb2,_0x320e22,_0x51dd9){return _0x151cc1(_0x57c4bd-0x5,_0x320e22-0x1fb,_0x455eb2,_0x51dd9-_0x45ba4f._0x1a61cd);}return typeof _0x1eb75e===_0x414a97(_0x44506f._0x12ca58,0x23,0xcb,-_0x44506f._0x369e97)&&_0x1eb75e!==null&&_0x11c3bb(_0x44506f._0x4b6782,_0x44506f._0x338f96,_0x44506f._0x1ddfa4,0x653)in _0x1eb75e&&_0x1eb75e[_0x414a97(0x1e5,_0x44506f._0x2d09ae,0x25c,_0x44506f._0x18cc34)]===_0x11c3bb(0x5a8,_0x44506f._0x30461b,_0x44506f._0x2eb848,0x57c);}function isSafeProcessId(_0x128b29){const _0x20012b={_0x292df3:0x3f8,_0x42e26f:0x3e0},_0x880aab={_0x3f9043:0xbe,_0x4aca7a:0x275};function _0x298676(_0x3b1a25,_0x2410f3,_0xc305a3,_0x1378f0){return _0x1ac42a(_0x3b1a25-_0x880aab._0x3f9043,_0x2410f3-0x1cb,_0xc305a3-_0x880aab._0x4aca7a,_0x3b1a25);}return _0x128b29!==void 0x0&&Number[_0x298676(_0x20012b._0x292df3,0x549,_0x20012b._0x42e26f,0x327)](_0x128b29)&&_0x128b29>0x1;}function createProcessTreeSignalAdapter(_0x526f26={}){const _0x8303b4={_0x284b98:0x536,_0x13a10d:0x644,_0x3d476a:0x501,_0xa4c473:0x61c,_0x574430:0x540,_0x43d792:0x4ee,_0x3efc2f:0x54e},_0x32271a={_0x1f145c:0x51f,_0x2bd4c0:0x67d,_0x5538bd:0x215,_0x45de1c:0x37f,_0x473e55:0x4a1,_0x46b6e6:0x3b9,_0x2824ad:0x21b,_0x4f256c:0x1fb,_0x325351:0x85,_0x265c7d:0x122,_0x2ccae1:0x652,_0x147962:0x5c6,_0x2ee7cb:0x550,_0x4f25d1:0x592,_0x35ddf0:0x515,_0x45775c:0x4f0,_0x1d61ee:0x4aa,_0x362050:0x3ad,_0x440b35:0x699,_0x439da7:0x467,_0x432d4f:0x26b,_0x291590:0x295},_0x55be18={_0x35caf1:0x20f,_0x1d0ffb:0x302,_0x5828a4:0x260,_0x49e014:0x106,_0x675d9e:0x22b,_0x27d882:0x23a,_0xfe2047:0x4e0,_0x1a188e:0x696,_0x579abf:0x67a,_0x1e8e01:0x396,_0x18d51f:0x397,_0x1a29af:0x575,_0xcc26a9:0x610},_0x552cf3={_0x4c768d:0x5b5},_0x459fb8={_0x23a6fa:0xb2},_0x37ac51=_0x526f26[_0x459a91(0x5b5,_0x8303b4._0x284b98,0x3c0,_0x8303b4._0x13a10d)]??process[_0x1dc9f2(0x4fd,_0x8303b4._0x3d476a,_0x8303b4._0xa4c473,_0x8303b4._0x574430)];function _0x1dc9f2(_0x2265d6,_0x161a64,_0xd61344,_0x1a9e06){return _0x1ac42a(_0x2265d6-_0x459fb8._0x23a6fa,_0x161a64-0x1b,_0x161a64-0x580,_0xd61344);}const _0x28bbd9=_0x526f26['kill']??process['kill'][_0x459a91(0x1fc,0x3c4,0x311,_0x8303b4._0x43d792)](process);function _0x459a91(_0x1cc1bb,_0xf1202,_0xeddde2,_0x193235){return _0x1ac42a(_0x1cc1bb-0x186,_0xf1202-0x9c,_0xf1202-_0x552cf3._0x4c768d,_0xeddde2);}const _0xc2eea6=_0x526f26[_0x459a91(0x4d5,0x661,_0x8303b4._0x3efc2f,0x6b5)]??_0x1b4331;return{async 'signal'(_0x30a70f,_0x592661){const _0x32a239={_0x734d01:0x3e1,_0x399502:0x59e,_0x2cb812:0x323,_0x408d36:0x3e7,_0x4c5610:0x806},_0x4a50d4={_0x5469a3:0x2b3},_0x109c13={_0x5c334e:0xea},_0x4db8ad={_0x4bc07d:0x96,_0x4ecd66:0x35f};if(_0x37ac51!==_0x4bfde0(_0x32271a._0x1f145c,_0x32271a._0x2bd4c0,0x414,0x36f)){if(!isSafeProcessId(_0x30a70f['processGroupId']))return{'outcome':_0x275425(0x24a,_0x32271a._0x5538bd,_0x32271a._0x45de1c,_0x32271a._0x473e55),'error':_0x275425(0x4bf,0x221,_0x32271a._0x46b6e6,0x214)};try{return _0x28bbd9(-_0x30a70f[_0x275425(_0x32271a._0x2824ad,0x17d,_0x32271a._0x4f256c,_0x32271a._0x325351)],_0x592661===_0x275425(0x16f,0x159,0x1b3,_0x32271a._0x265c7d)?_0x4bfde0(_0x32271a._0x2ccae1,_0x32271a._0x147962,_0x32271a._0x2ee7cb,0x633):_0x4bfde0(_0x32271a._0x4f25d1,_0x32271a._0x35ddf0,_0x32271a._0x45775c,0x62b)),{'outcome':_0x4bfde0(_0x32271a._0x1d61ee,0x4c7,_0x32271a._0x362050,0x592)};}catch(_0xe95236){return isNotFound(_0xe95236)?{'outcome':_0x4bfde0(0x5e9,_0x32271a._0x440b35,0x69e,0x5fa),'error':errorMessage(_0xe95236)}:{'outcome':_0x275425(0x1e4,_0x32271a._0x439da7,0x37f,0x23f),'error':errorMessage(_0xe95236)};}}function _0x275425(_0x1c3268,_0x5cd29d,_0x2c0bb0,_0x1814df){return _0x459a91(_0x1c3268-_0x4db8ad._0x4bc07d,_0x2c0bb0- -_0x4db8ad._0x4ecd66,_0x5cd29d,_0x1814df-0x195);}if(!isSafeProcessId(_0x30a70f[_0x275425(0x1d4,0x32f,_0x32271a._0x432d4f,_0x32271a._0x291590)]))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x4bfde0(_0x18d25f,_0x292272,_0xa86260,_0xd7cabb){return _0x1dc9f2(_0x18d25f-0xf9,_0x18d25f-_0x109c13._0x5c334e,_0xd7cabb,_0xd7cabb-0x1f4);}return new Promise(_0x46b69c=>{const _0x5569bd={_0x5898ed:0x188,_0x57fa4d:0x1b,_0x5916b1:0x153,_0x4831da:0x2c5},_0x4a8a21={_0x89583a:0x5c,_0x14ccf6:0x96};let _0x164d33=![];const _0x2f0bb7=_0x471cea=>{if(_0x164d33)return;_0x164d33=!![],_0x46b69c(_0x471cea);};let _0xe55a76;function _0x43fda7(_0xb741d9,_0x8bbeac,_0x3c1a18,_0x3dd9cf){return _0x275425(_0xb741d9-0x1b8,_0x3dd9cf,_0xb741d9- -_0x4a8a21._0x89583a,_0x3dd9cf-_0x4a8a21._0x14ccf6);}function _0x134831(_0x7268bd,_0x32ad9d,_0x5a1815,_0x476dd8){return _0x4bfde0(_0x7268bd- -_0x4a50d4._0x5469a3,_0x32ad9d-0x1b5,_0x5a1815-0x10d,_0x476dd8);}try{const _0x252ca5=['/PID',String(_0x30a70f[_0x43fda7(_0x55be18._0x35caf1,_0x55be18._0x1d0ffb,0x11c,_0x55be18._0x5828a4)]),'/T'];if(_0x592661===_0x43fda7(0x272,_0x55be18._0x49e014,0xc3,0x22b))_0x252ca5['push']('/F');_0xe55a76=_0xc2eea6(_0x134831(0x4c5,0x4ae,0x57d,0x4c8),_0x252ca5,{'stdio':_0x134831(_0x55be18._0x675d9e,0x31a,_0x55be18._0x27d882,0x182),'windowsHide':!![]});}catch(_0xd66648){_0x2f0bb7({'outcome':_0x134831(_0x55be18._0xfe2047,_0x55be18._0x1a188e,_0x55be18._0x579abf,0x36c),'error':errorMessage(_0xd66648)});return;}_0xe55a76[_0x43fda7(0x2af,_0x55be18._0x1e8e01,_0x55be18._0x18d51f,0x10e)]('error',_0x4a87ff=>{const _0x2d9eb2={_0x353809:0x268};function _0x3f5a10(_0x1eaece,_0x4a7307,_0x256e4e,_0x35ba5a){return _0x134831(_0x256e4e-0x326,_0x4a7307-0x4f,_0x256e4e-0xbb,_0x4a7307);}function _0x5969c0(_0x18ca89,_0x106722,_0x55925e,_0x58a22d){return _0x43fda7(_0x18ca89-_0x2d9eb2._0x353809,_0x106722-0x60,_0x55925e-0x79,_0x106722);}_0x2f0bb7(isNotFound(_0x4a87ff)?{'outcome':_0x5969c0(_0x32a239._0x734d01,_0x32a239._0x399502,_0x32a239._0x2cb812,_0x32a239._0x408d36),'error':errorMessage(_0x4a87ff)}:{'outcome':_0x3f5a10(0x8e9,0x8c7,_0x32a239._0x4c5610,0x8e1),'error':errorMessage(_0x4a87ff)});}),_0xe55a76[_0x134831(0x46c,0x35a,_0x55be18._0x1a29af,0x38b)](_0x134831(0x4f6,_0x55be18._0xcc26a9,0x397,0x452),_0x22f41a=>{const _0x4a2c1d={_0x2a28b0:0x38d,_0x3e8dff:0x1d2},_0x58d09f={_0x1f3d12:0x9f};function _0x110ab8(_0x5639e7,_0x1861e5,_0x5212ca,_0x170984){return _0x43fda7(_0x1861e5- -0x208,_0x1861e5-0x1f2,_0x5212ca-_0x58d09f._0x1f3d12,_0x5212ca);}function _0x2853ea(_0x4347f0,_0x505a4c,_0x220610,_0x1707b5){return _0x134831(_0x4347f0- -_0x4a2c1d._0x2a28b0,_0x505a4c-_0x4a2c1d._0x3e8dff,_0x220610-0x6e,_0x220610);}_0x2f0bb7(_0x22f41a===0x0?{'outcome':_0x110ab8(-_0x5569bd._0x5898ed,-0x1ce,-0x31d,-_0x5569bd._0x57fa4d)}:{'outcome':_0x2853ea(_0x5569bd._0x5916b1,-0x2d,_0x5569bd._0x4831da,0xa5),'error':_0x2853ea(-0xd7,-0x171,-0x2d,0x39)+String(_0x22f41a)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x4234c7){const _0x90b330={_0x3fe1a6:0x9,_0x3258a5:0x9a},_0x1b7e80={_0x456d66:0x10f,_0x4fa6e2:0x406};function _0x22ff49(_0x2ee9d4,_0x12d78d,_0x46528d,_0x588968){return _0x151cc1(_0x2ee9d4-_0x1b7e80._0x456d66,_0x2ee9d4- -_0x1b7e80._0x4fa6e2,_0x12d78d,_0x588968-0x1c5);}const _0x526e7c=_0x4234c7[_0x22ff49(-_0x90b330._0x3fe1a6,-_0x90b330._0x3258a5,0x134,-0x41)](0x0)??0x0;return _0x526e7c<0x20&&_0x4234c7!=='\x09'||_0x526e7c>=0x7f&&_0x526e7c<=0x9f||_0x526e7c===0xa0||_0x526e7c>=0x200b&&_0x526e7c<=0x200f||_0x526e7c>=0x2060&&_0x526e7c<=0x2069||_0x526e7c===0x23ce||_0x526e7c===0x2424;}function createTerminalOutputNormalizer(){const _0x27a5c7={_0x2d5143:0x488,_0x2a1ff9:0x40d,_0x3647d1:0x49e},_0x5ab256={_0x183c58:0x7fc,_0x5999c3:0x838,_0x481925:0x840,_0x266bd4:0x40e,_0x1fb971:0x396,_0x1a7181:0x51e,_0x2f64ad:0x10a,_0x456680:0x815,_0x3906d6:0x481,_0x5151f0:0x507,_0x4b4de9:0x5f1,_0x284043:0x426},_0x5457d1={_0x3fe298:0x2bc,_0x5dd59a:0x36f,_0x3e128a:0x192,_0x491382:0x3a6,_0xa873bb:0x15b,_0x2afc7b:0x293,_0x370a34:0x3ae,_0x2b1a7f:0x43b,_0x5e43e5:0x53b,_0x141aee:0x283},_0x4fd337={_0x1c30c1:0x85};let _0x29498d='text',_0x1fc66f=![],_0x27c522=![],_0x294bde=[],_0x487a12=0x0,_0x22220b=![];const _0x49d46c=()=>{_0x294bde=[],_0x487a12=0x0;},_0x2b7d18=_0x3505df=>{_0x294bde[_0x587620(_0x5457d1._0x3fe298,_0x5457d1._0x5dd59a,0x376,_0x5457d1._0x3e128a)](_0x3505df);function _0x587620(_0x474710,_0x2fd52f,_0x4d1a89,_0xb732fc){return _0x5041(_0x474710- -_0x4fd337._0x1c30c1,_0xb732fc);}_0x487a12+=_0x3505df[_0x1e23a4(0x4d1,_0x5457d1._0x491382,0x444,0x2f2)];function _0x1e23a4(_0x43de10,_0x4f00da,_0x58cbb4,_0x3ba623){return _0x5041(_0x58cbb4-0x11,_0x43de10);}while(_0x487a12>MAX_PROGRESS_LINE_CHARS){const _0x2fbc79=_0x294bde[_0x1e23a4(0x407,_0x5457d1._0xa873bb,_0x5457d1._0x2afc7b,0x138)]();if(_0x2fbc79===void 0x0)break;_0x487a12-=_0x2fbc79[_0x587620(_0x5457d1._0x370a34,_0x5457d1._0x2b1a7f,_0x5457d1._0x5e43e5,_0x5457d1._0x141aee)];}},_0x31f3a3=_0x6878ae=>{const _0x5b040c=_0x294bde['join']('')+(_0x6878ae?'\x0a':'');return _0x49d46c(),_0x5b040c;},_0x47596e=_0x4c630d=>{const _0x4ff1e8={_0x6c567a:0x3ae};if(_0x22220b)throw new Error(_0x17116c(0x6ef,_0x5ab256._0x183c58,_0x5ab256._0x5999c3,_0x5ab256._0x481925));let _0x333afc='';function _0x17116c(_0x52ad02,_0x3cea04,_0x605ec9,_0x43c7b4){return _0x5041(_0x43c7b4-_0x4ff1e8._0x6c567a,_0x605ec9);}for(const _0x3829c9 of _0x4c630d){if(_0x29498d==='csi'){const _0x246d88=_0x3829c9[_0x4687fb(0x303,_0x5ab256._0x266bd4,_0x5ab256._0x1fb971,0x59c)](0x0)??0x0;if(_0x246d88>=0x40&&_0x246d88<=0x7e)_0x29498d=_0x17116c(_0x5ab256._0x1a7181,0x448,0x394,0x4d3);continue;}if(_0x29498d==='osc'||_0x29498d==='dcs'){if(_0x1fc66f){_0x3829c9==='\x5c'?(_0x29498d='text',_0x1fc66f=![]):_0x1fc66f=_0x3829c9===ESC;continue;}if(_0x3829c9===ESC)_0x1fc66f=!![];else _0x29498d===_0x4687fb(_0x5ab256._0x2f64ad,0x2a7,0xd9,0x2d2)&&_0x3829c9===BEL&&(_0x29498d='text');continue;}if(_0x29498d==='escape'){if(_0x3829c9==='[')_0x29498d=_0x17116c(_0x5ab256._0x456680,0x70a,_0x5ab256._0x3906d6,0x64b);else{if(_0x3829c9===']')_0x29498d=_0x17116c(0x6b9,0x779,_0x5ab256._0x5151f0,_0x5ab256._0x4b4de9),_0x1fc66f=![];else _0x3829c9==='P'||_0x3829c9==='_'||_0x3829c9==='^'?(_0x29498d=_0x4687fb(0x234,0x3dc,0x254,0x271),_0x1fc66f=![]):_0x29498d=_0x4687fb(0x128,0x189,-0x15,0x2e3);}continue;}if(_0x27c522){_0x27c522=![];if(_0x3829c9==='\x0a'){_0x333afc+=_0x31f3a3(!![]);continue;}_0x49d46c();}if(_0x3829c9===ESC)_0x29498d=_0x4687fb(_0x5ab256._0x284043,0x3e8,0x476,0x4f6);else{if(_0x3829c9==='\x0d')_0x27c522=!![];else{if(_0x3829c9==='\x0a')_0x333afc+=_0x31f3a3(!![]);else{if(_0x3829c9==='\x08'){const _0x40fdb0=_0x294bde['pop']();if(_0x40fdb0!==void 0x0)_0x487a12-=_0x40fdb0['length'];}else!isDiscardedTextControl(_0x3829c9)&&_0x2b7d18(_0x3829c9);}}}}function _0x4687fb(_0x291adf,_0xae6f63,_0x52eb60,_0x49df1a){return _0x5041(_0xae6f63-0x64,_0x49df1a);}return _0x333afc;};return{'write':_0x47596e,'end'(){const _0x5622ba={_0x3aab19:0x363};function _0x220305(_0xa0bdff,_0x4b4a43,_0x394172,_0x582915){return _0x5041(_0xa0bdff-_0x5622ba._0x3aab19,_0x582915);}if(_0x22220b)return'';return _0x22220b=!![],_0x27c522=![],_0x29498d=_0x220305(_0x27a5c7._0x2d5143,0x2e9,_0x27a5c7._0x2a1ff9,_0x27a5c7._0x3647d1),_0x1fc66f=![],_0x31f3a3(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x4d8cf3){const _0x5deccd={_0x165648:0x2d4,_0x364146:0x18a,_0x3ccdc4:0x58e,_0x4f4432:0x535,_0x1c5f0c:0x270,_0x14a57f:0x103},_0x4492a2={_0x514390:0x467},_0x11a2d7={_0x402a79:0x1e5,_0x5d2e90:0x144};function _0x446077(_0x18a370,_0x4b7164,_0x2a6ad3,_0x5d54ab){return _0x151cc1(_0x18a370-_0x11a2d7._0x402a79,_0x18a370-_0x11a2d7._0x5d2e90,_0x2a6ad3,_0x5d54ab-0x117);}super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.'),this[_0x446077(_0x5deccd._0x165648,0x2eb,0x311,_0x5deccd._0x364146)]=_0x4d8cf3;function _0xc7f7d3(_0x36cac7,_0x14fcd2,_0x2b0a9a,_0xae8d12){return _0x1ac42a(_0x36cac7-0x2,_0x14fcd2-0x66,_0x14fcd2-_0x4492a2._0x514390,_0xae8d12);}this[_0x446077(0x553,_0x5deccd._0x3ccdc4,0x576,_0x5deccd._0x4f4432)]=_0xc7f7d3(0x2eb,0x2a8,_0x5deccd._0x1c5f0c,_0x5deccd._0x14a57f);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x5de16e){const _0x1827dd={_0x489356:0x9d,_0x531935:0x0,_0x32a2b6:0x213,_0x544de9:0x687},_0x5b43f5={_0x1a1706:0x42,_0x585acb:0xdd},_0xabaa41={_0x1082b8:0x8,_0x417a05:0x5f6};function _0x17076d(_0x302817,_0x100b56,_0x1a4f45,_0x251489){return _0x1ac42a(_0x302817-0xe6,_0x100b56-_0xabaa41._0x1082b8,_0x1a4f45-_0xabaa41._0x417a05,_0x251489);}function _0x59315c(_0x29d64d,_0x15ae11,_0x122bfc,_0x2f613d){return _0x1ac42a(_0x29d64d-_0x5b43f5._0x1a1706,_0x15ae11-0x9b,_0x29d64d-_0x5b43f5._0x585acb,_0x2f613d);}return _0x5de16e===_0x59315c(-_0x1827dd._0x489356,_0x1827dd._0x531935,-_0x1827dd._0x32a2b6,-0x204)||_0x5de16e==='killed'||_0x5de16e===_0x17076d(0x6bf,0x4b5,0x677,_0x1827dd._0x544de9);}var BackgroundProcessRegistry=class{[_0x151cc1(0x321,0x35e,0x4df,0x18e)]=new Map();['reservations']=new Map();['maxConcurrent'];[_0x1ac42a(-0x224,-0x5d,-0x1b5,-0x163)];['capChars'];[_0x1ac42a(-0x1e1,0x6,-0x7f,-0x20c)];[_0x1ac42a(0xa7,-0x15e,-0x12,-0x1)];['counter']=0x0;constructor(_0x92d9ad={}){const _0x526a93={_0x493cdb:0x3d6,_0x3f6d89:0x15e,_0x117ea2:0x2df,_0x3ca0dc:0x20a,_0x44e142:0x558,_0x3b6dee:0x4a3,_0x533723:0x2a0,_0x29f620:0x275,_0x836a70:0x3b7,_0x3678a6:0x37a,_0x2079f6:0x75d,_0x13daba:0x5d9,_0x421920:0x147,_0x23ceb5:0x312,_0x39d6ce:0x51e,_0x13fc35:0x511,_0x553e3d:0x752,_0x2bece1:0x36f,_0x21db7c:0x215,_0x347dcc:0x322,_0x162d7a:0x669,_0x29e0f4:0x5c2,_0x1aea05:0x5c3},_0xb8a776={_0x4a3f3b:0x133};this[_0x1ed6cf(0x292,_0x526a93._0x493cdb,_0x526a93._0x3f6d89,0x20a)]=_0x92d9ad[_0x1ed6cf(0x4f,_0x526a93._0x117ea2,0x54,_0x526a93._0x3ca0dc)]??0xa;function _0x5bbfa9(_0x4aafe4,_0x25e155,_0x516d39,_0x5b76f5){return _0x1ac42a(_0x4aafe4-0x1df,_0x25e155-_0xb8a776._0x4a3f3b,_0x5b76f5-0x658,_0x25e155);}this['maxEntries']=_0x92d9ad[_0x5bbfa9(0x4cc,0x2f4,_0x526a93._0x44e142,_0x526a93._0x3b6dee)]??0x40,this[_0x1ed6cf(_0x526a93._0x533723,0x1f9,_0x526a93._0x29f620,_0x526a93._0x836a70)]=_0x92d9ad[_0x1ed6cf(0x1ed,_0x526a93._0x3678a6,0x36d,0x3b7)]??0x100000,this[_0x5bbfa9(_0x526a93._0x2079f6,0x6cc,0x78c,_0x526a93._0x13daba)]=_0x92d9ad[_0x1ed6cf(0x478,_0x526a93._0x421920,_0x526a93._0x23ceb5,0x2b5)]??process[_0x5bbfa9(_0x526a93._0x39d6ce,_0x526a93._0x13fc35,_0x526a93._0x553e3d,_0x526a93._0x13daba)];function _0x1ed6cf(_0x53c65e,_0x47e609,_0x5f93a0,_0x407940){return _0x1ac42a(_0x53c65e-0x5a,_0x47e609-0x12b,_0x407940-0x334,_0x47e609);}this[_0x1ed6cf(_0x526a93._0x2bece1,_0x526a93._0x21db7c,0x1c3,_0x526a93._0x347dcc)]=_0x92d9ad['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x5bbfa9(_0x526a93._0x162d7a,_0x526a93._0x29e0f4,_0x526a93._0x1aea05,0x5d9)]});}[_0x1ac42a(-0x12,0x95,0xfd,-0xd0)](){const _0xc5621f={_0xbe8ffa:0x425,_0x3d359b:0x5dc,_0x3b1eb9:0x347,_0x42623d:0x1c7,_0x15ca3c:0x2d5,_0x55180e:0x398,_0x53e30b:0x3a4,_0x2300cc:0x6cc,_0x32b649:0x4ea,_0x5c66b4:0x2c1,_0x165b0a:0x1fa,_0x2f9712:0x3ab,_0x471f0d:0x4fc,_0x5b56ae:0x3cf,_0xd74b4b:0x2c1,_0x23408e:0x2d2,_0x59ee7d:0x12a,_0xaf3fdc:0x2ce,_0x779ef0:0x398,_0x58c80a:0x3d7,_0x52363c:0x1f8,_0x1eae77:0x340,_0x2d734f:0x2fa,_0x23c769:0x374},_0x56f702={_0x5367bc:0xca,_0x29b805:0x194},_0x2072ef={_0x227d26:0x6b};function _0x5d4bc5(_0x58f9df,_0x4e51be,_0x417446,_0x555da6){return _0x1ac42a(_0x58f9df-0x12e,_0x4e51be-_0x2072ef._0x227d26,_0x58f9df-0x3eb,_0x555da6);}const _0x46a957=[...this[_0x312cec(_0xc5621f._0xbe8ffa,0x541,_0xc5621f._0x3d359b,0x3cc)][_0x5d4bc5(_0xc5621f._0x3b1eb9,0x42b,0x296,_0xc5621f._0x42623d)]()][_0x5d4bc5(0x285,0x375,_0xc5621f._0x15ca3c,_0xc5621f._0x55180e)](_0x3cf1da=>!_0x3cf1da[_0x5d4bc5(0x255,0x113,0x21f,0x1fc)]);if(_0x46a957['length']+this[_0x5d4bc5(0x539,0x5e3,0x46b,_0xc5621f._0x53e30b)][_0x5d4bc5(0x552,0x453,_0xc5621f._0x2300cc,_0xc5621f._0x32b649)]>=this[_0x5d4bc5(_0xc5621f._0x5c66b4,_0xc5621f._0x165b0a,0x2e6,_0xc5621f._0x2f9712)])throw new ToolExecutionError(_0x312cec(0x4a1,_0xc5621f._0x471f0d,0x48e,_0xc5621f._0x5b56ae)+this[_0x5d4bc5(_0xc5621f._0xd74b4b,0x452,0x10e,0x279)]+_0x312cec(_0xc5621f._0x23408e,_0xc5621f._0x59ee7d,0x13c,0x392),{'running':this[_0x5d4bc5(0x2c1,0x163,0x411,_0xc5621f._0xaf3fdc)]});const _0x176f04=Object[_0x5d4bc5(_0xc5621f._0x779ef0,0x408,_0xc5621f._0x58c80a,_0xc5621f._0x52363c)]({'id':randomUUID()});function _0x312cec(_0x31b668,_0x128f1d,_0x38d2fd,_0x113953){return _0x151cc1(_0x31b668-_0x56f702._0x5367bc,_0x31b668-0xc7,_0x128f1d,_0x113953-_0x56f702._0x29b805);}return this['reservations'][_0x312cec(_0xc5621f._0x1eae77,_0xc5621f._0x2d734f,0x4e1,_0xc5621f._0x23c769)](_0x176f04['id'],_0x176f04),_0x176f04;}[_0x1ac42a(-0x2af,-0x28d,-0x200,-0x25d)](_0x406247){const _0x20028a={_0x45e7cf:0x7bd,_0x4b69f2:0x442,_0x10e4f7:0x4f6},_0x3ece96={_0x1d42f7:0xf2,_0x2942c8:0x5c},_0x52a9fa={_0x42a98a:0xae,_0x13acf8:0x302,_0x5ece8a:0x3d};function _0x274a78(_0x471a7f,_0x2e1e1d,_0x238d88,_0x4629bc){return _0x151cc1(_0x471a7f-_0x52a9fa._0x42a98a,_0x4629bc-_0x52a9fa._0x13acf8,_0x471a7f,_0x4629bc-_0x52a9fa._0x5ece8a);}function _0x5d5338(_0x4154b8,_0x1f20ac,_0x535c4f,_0x2084c1){return _0x1ac42a(_0x4154b8-0x107,_0x1f20ac-_0x3ece96._0x1d42f7,_0x2084c1- -_0x3ece96._0x2942c8,_0x535c4f);}this['reservations']['get'](_0x406247['id'])===_0x406247&&this[_0x274a78(_0x20028a._0x45e7cf,0x615,0x65d,0x7cd)][_0x274a78(0x485,0x3be,_0x20028a._0x4b69f2,_0x20028a._0x10e4f7)](_0x406247['id']);}[_0x151cc1(0x3db,0x29d,0x290,0xcf)](_0x54a850,_0x18a39f){const _0x2fdd44={_0x5d085c:0x34b,_0x4e1bea:0x11,_0x5322cb:0x2da,_0x7a707f:0x262,_0x2864cc:0x11f,_0x2a65a5:0x303,_0xdc2c2a:0x32c,_0x3b2a1d:0x1b6,_0x59f905:0xd7,_0x1cf09e:0x1b,_0xf350cf:0x25,_0x5ae718:0x3f,_0x4e89d5:0xdf,_0xcc9b0b:0x209,_0x3b1d73:0x5c,_0x4c81ae:0x10,_0x53dc45:0x197,_0xf0740e:0x13d,_0x39f00f:0x361,_0xe7a6bc:0x31a,_0x1d71b9:0x1dd,_0x444873:0x15d,_0x292bf5:0x256,_0x36ac2d:0x206,_0x11ac99:0x3f4,_0x3884e7:0x15a,_0x5b071f:0x6d,_0x4b162e:0x190,_0x2fe9f1:0xbe,_0x13dd5c:0x2c1,_0x1180dd:0x1bd,_0xa528bc:0x118,_0x27adb3:0x140,_0x5d683d:0x256,_0x144347:0x324,_0x20e2f8:0x2ee,_0x198ff8:0x324,_0x2f75d5:0x489,_0x222abe:0x292,_0xb71a8f:0x2f3,_0x3ed368:0x21b,_0x4e5d21:0x55,_0x4fa06e:0xb1,_0x27b4b8:0x98,_0x45f378:0x1b2,_0x49f3cd:0x51,_0x4ccf50:0x90,_0x4f9f12:0x1c,_0x3ff179:0x388,_0x18995d:0x2a7,_0x3abdfb:0x324,_0x41cad7:0x92,_0x3584c3:0x28,_0x558050:0x12d,_0x5d484b:0x26a,_0x2cb90b:0x409,_0x57509e:0x424,_0x5dde53:0xd6,_0x1c508c:0xde,_0x1e29bf:0x1fd,_0x42c185:0x1cf,_0x43c780:0x8c,_0xfb333a:0x30c,_0x5ceb9f:0x29c,_0x1b2582:0x297,_0x8f9978:0x1a5,_0x21ff8e:0x61,_0x267076:0x146,_0x2fcad6:0x183,_0x4e37f8:0x2c,_0x4d4309:0x249,_0x45db49:0x8f},_0x919dce={_0x1b6d2a:0x0,_0x323eec:0x4b3,_0xecb59:0x2cc,_0x4c1840:0x1a2,_0x234c59:0x30b,_0x380d9a:0x71b,_0x24faf1:0xe4,_0x2b828c:0x23,_0x38fbde:0x145},_0x54dc9a={_0x3b42eb:0x12c},_0x5425aa={_0x1ea2dc:0x14c,_0x29f33e:0x80b,_0x21f51a:0x785,_0x27c3fd:0x7c5,_0x2a5369:0x35},_0x8f3527={_0x53fcb4:0x79},_0x3b8c7a={_0x55ec0a:0x90,_0x559680:0x1e,_0x4e36bd:0x510},_0x3919d4={_0x236240:0x298,_0x144e30:0x282,_0x4a15ef:0x1c2,_0x44b6cc:0x3e3,_0x46e21c:0x4ba,_0xdaa36:0x366},_0x2364b0={_0xa484dd:0x1db},_0x4eb5d={_0x507c0d:0xc2,_0x58d18d:0x133,_0x84c680:0x53,_0x22937c:0x118,_0x5d3195:0x1e8},_0x3cf368={_0xf84dc7:0x148,_0x320e38:0x3fe},_0x26a2dc={_0x56f33b:0x345,_0x181cf6:0x33a},_0x22ce22={_0x44c3dd:0x195,_0x531a6e:0x1c8},_0x557951={_0x8b8241:0x1b6,_0x4e9123:0x1bf,_0x2c962c:0x164};if(this[_0x3ab96c(0x192,_0x2fdd44._0x5d085c,0xf5,0x2b2)][_0x3ab96c(-_0x2fdd44._0x4e1bea,0x1a9,_0x2fdd44._0x5322cb,0x150)](_0x54a850['id'])!==_0x54a850)throw new ToolExecutionError(_0x3ab96c(0x2a5,_0x2fdd44._0x7a707f,0x14d,_0x2fdd44._0x2864cc),{'reservationId':_0x54a850['id']});this[_0x1e0d2b(0x239,_0x2fdd44._0x2a65a5,_0x2fdd44._0xdc2c2a,_0x2fdd44._0x3b2a1d)][_0x3ab96c(-_0x2fdd44._0x59f905,0x34,_0x2fdd44._0x1cf09e,-_0x2fdd44._0xf350cf)](_0x54a850['id']);let _0x4d167c;const _0x2d6222=new Promise(_0x5ea62a=>{_0x4d167c=_0x5ea62a;}),_0x31f1cd=_0x3ab96c(_0x2fdd44._0x5ae718,0x34,_0x2fdd44._0x4e89d5,0x195)+ ++this[_0x1e0d2b(-_0x2fdd44._0xcc9b0b,-_0x2fdd44._0x3b1d73,0x142,0x84)]+'-'+randomUUID()[_0x1e0d2b(_0x2fdd44._0x4c81ae,_0x2fdd44._0x53dc45,_0x2fdd44._0xf0740e,_0x2fdd44._0x39f00f)](0x0,0x8);function _0x3ab96c(_0x5aca79,_0x1bf458,_0x573837,_0x502eb8){return _0x1ac42a(_0x5aca79-_0x557951._0x8b8241,_0x1bf458-_0x557951._0x4e9123,_0x502eb8-_0x557951._0x2c962c,_0x573837);}function _0x1e0d2b(_0x1bd0a6,_0x1fa3b4,_0x52a7dc,_0x5255a1){return _0x151cc1(_0x1bd0a6-_0x22ce22._0x44c3dd,_0x1fa3b4- -_0x22ce22._0x531a6e,_0x52a7dc,_0x5255a1-0x2d);}const _0xbe7c54={'shellId':_0x31f1cd,'command':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xe7a6bc,0x16d,0x44,0x1e9)],'cwd':_0x18a39f['cwd'],'pid':_0x18a39f[_0x3ab96c(0x32f,_0x2fdd44._0x1d71b9,_0x2fdd44._0x444873,_0x2fdd44._0x292bf5)][_0x1e0d2b(_0x2fdd44._0x36ac2d,0x22a,0x242,_0x2fdd44._0x11ac99)],'processGroupId':_0x18a39f[_0x1e0d2b(0x1c3,_0x2fdd44._0x3884e7,-_0x2fdd44._0x5b071f,-0x66)],'status':_0x3ab96c(_0x2fdd44._0x4b162e,-_0x2fdd44._0x2fe9f1,-0x18f,0x3f),'exitCode':null,'signal':null,'startedAt':Date[_0x3ab96c(0x2fb,0x16,_0x2fdd44._0x13dd5c,_0x2fdd44._0x1180dd)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x18a39f[_0x3ab96c(_0x2fdd44._0xa528bc,_0x2fdd44._0x27adb3,0xe4,_0x2fdd44._0x5d683d)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x1e0d2b(0x1c9,_0x2fdd44._0x144347,_0x2fdd44._0x20e2f8,0x45b)),'stderrDecoder':new StringDecoder(_0x1e0d2b(0x4ec,_0x2fdd44._0x198ff8,_0x2fdd44._0x2f75d5,_0x2fdd44._0x222abe)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xb71a8f,0x14e,_0x2fdd44._0x3ed368,_0x2fdd44._0x4e5d21)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d6222,'resolveTerminal':_0x4d167c,'terminationSettled':![]};this['entries'][_0x1e0d2b(-0x2d,_0x2fdd44._0x4fa06e,-0x3f,-0x6c)](_0x31f1cd,_0xbe7c54);try{_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x27b4b8,_0x2fdd44._0x45f378,_0x2fdd44._0x49f3cd,_0x2fdd44._0x4ccf50)]?.['on'](_0x1e0d2b(-0xe8,_0x2fdd44._0x4f9f12,-0x2c,-0x152),_0x136eb3=>{const _0x5f030b={_0x141e78:0x77};function _0x377d25(_0x266af3,_0x102607,_0x1c1d55,_0x31b6db){return _0x1e0d2b(_0x266af3-0x1e0,_0x102607-0x1aa,_0x31b6db,_0x31b6db-_0x5f030b._0x141e78);}this['appendDecoded'](_0xbe7c54,_0xbe7c54['stdoutDecoder'],_0xbe7c54[_0x377d25(_0x26a2dc._0x56f33b,0x37c,_0x26a2dc._0x181cf6,0x1bb)],_0x136eb3);}),_0x18a39f[_0x1e0d2b(_0x2fdd44._0x3ff179,_0x2fdd44._0x18995d,_0x2fdd44._0x3abdfb,0x22e)][_0x1e0d2b(_0x2fdd44._0x41cad7,0x1b4,0x12c,0x22d)]?.['on'](_0x3ab96c(_0x2fdd44._0x3584c3,_0x2fdd44._0x558050,-0x167,-0x35),_0x16e70e=>{const _0x5dcaf0={_0x2258f8:0x177,_0x574d14:0x5f,_0x1dc1bc:0x127};function _0x1cab1e(_0x2d5506,_0xbc6198,_0x4c6ff8,_0x5ad8f1){return _0x3ab96c(_0x2d5506-_0x5dcaf0._0x2258f8,_0xbc6198-_0x5dcaf0._0x574d14,_0x5ad8f1,_0x4c6ff8- -_0x5dcaf0._0x1dc1bc);}function _0x1347fa(_0xe8a89b,_0x385489,_0x5e445c,_0x24ca1d){return _0x3ab96c(_0xe8a89b-_0x3cf368._0xf84dc7,_0x385489-0xf,_0x5e445c,_0x385489-_0x3cf368._0x320e38);}this[_0x1cab1e(0x17,-0x119,-_0x4eb5d._0x507c0d,-0xb4)](_0xbe7c54,_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x58d18d,0x8c,_0x4eb5d._0x84c680,_0x4eb5d._0x22937c)],_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x5d3195,-0xbf,-0x113,-0x51)],_0x16e70e);}),_0x18a39f[_0x3ab96c(0xa3,0x23c,0xa9,0x256)][_0x1e0d2b(0x1e7,_0x2fdd44._0x5d484b,_0x2fdd44._0x2cb90b,_0x2fdd44._0x57509e)](_0x3ab96c(0x25d,_0x2fdd44._0x5dde53,_0x2fdd44._0x1c508c,_0x2fdd44._0x1e29bf),(_0x2c56a4,_0x19fc3b)=>{const _0x43d15d={_0x2175f3:0x189,_0x3a7950:0x103};_0xbe7c54[_0x459d75(0x2da,0xfe,_0x3919d4._0x236240,0x307)]=!![];function _0x539cf5(_0x4b0705,_0x203c35,_0x35b7af,_0x1dd405){return _0x3ab96c(_0x4b0705-_0x43d15d._0x2175f3,_0x203c35-_0x43d15d._0x3a7950,_0x4b0705,_0x1dd405-0x3fb);}_0xbe7c54[_0x459d75(0x1c2,0x318,_0x3919d4._0x144e30,0x2c2)]=_0x2c56a4;function _0x459d75(_0x32b6cf,_0x59f14a,_0x3c8cac,_0x1e7178){return _0x1e0d2b(_0x32b6cf-_0x2364b0._0xa484dd,_0x3c8cac-0x2d,_0x1e7178,_0x1e7178-0xb5);}_0xbe7c54[_0x539cf5(_0x3919d4._0x4a15ef,_0x3919d4._0x44b6cc,_0x3919d4._0x46e21c,_0x3919d4._0xdaa36)]=_0x19fc3b;}),_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x42c185,0x26a,0x166,0xa4)](_0x1e0d2b(_0x2fdd44._0x43c780,0x236,0x2c3,_0x2fdd44._0xfb333a),_0x8a2340=>{function _0x200507(_0x27aae8,_0x525486,_0x18db87,_0x18eed2){return _0x3ab96c(_0x27aae8-_0x3b8c7a._0x55ec0a,_0x525486-_0x3b8c7a._0x559680,_0x18eed2,_0x525486-_0x3b8c7a._0x4e36bd);}_0xbe7c54[_0x56be24(0x21a,_0x5425aa._0x1ea2dc,0x27b,0x174)]=_0x8a2340[_0x200507(_0x5425aa._0x29f33e,_0x5425aa._0x21f51a,0x6e2,_0x5425aa._0x27c3fd)];function _0x56be24(_0x46eafd,_0x464a53,_0x31b3f6,_0x1d2005){return _0x1e0d2b(_0x46eafd-0x148,_0x1d2005- -0xc2,_0x464a53,_0x1d2005-_0x8f3527._0x53fcb4);}_0xbe7c54[_0x56be24(_0x5425aa._0x2a5369,0x134,0x129,0x17e)]=_0x200507(0x5af,0x6f5,0x81d,0x65d);}),_0x18a39f[_0x1e0d2b(0x434,0x2a7,_0x2fdd44._0x5ceb9f,_0x2fdd44._0x1b2582)]['once']('close',(_0x18d085,_0x2cb73e)=>{_0xbe7c54[_0x59054a(0x19f,_0x919dce._0x1b6d2a,0x2a6,0x2da)]=_0x18d085,_0xbe7c54['signal']=_0x2cb73e;function _0x59054a(_0x412b3e,_0x34d3a5,_0x50c212,_0x58efd2){return _0x3ab96c(_0x412b3e-_0x54dc9a._0x3b42eb,_0x34d3a5-0xde,_0x50c212,_0x412b3e- -0x65);}_0xbe7c54[_0x20c0fc(_0x919dce._0x323eec,0x5de,0x7ef,0x62f)]=null;_0xbe7c54[_0x59054a(0x18a,_0x919dce._0xecb59,_0x919dce._0x4c1840,_0x919dce._0x234c59)]!==_0x20c0fc(_0x919dce._0x380d9a,0x6b3,0x53d,0x5be)&&(_0xbe7c54['status']=_0xbe7c54[_0x59054a(-0x29,_0x919dce._0x24faf1,_0x919dce._0x2b828c,-_0x919dce._0x38fbde)]?'killed':'exited');function _0x20c0fc(_0x1f6b05,_0x4c56c1,_0x346e9f,_0x3473d0){return _0x3ab96c(_0x1f6b05-0x17b,_0x4c56c1-0xe9,_0x346e9f,_0x3473d0-0x3d9);}this['settleTerminal'](_0xbe7c54);});}catch(_0x36429a){this[_0x1e0d2b(_0x2fdd44._0x8f9978,0x196,_0x2fdd44._0x21ff8e,_0x2fdd44._0x267076)][_0x1e0d2b(_0x2fdd44._0x2fcad6,_0x2fdd44._0x4e37f8,0x1d3,-0x38)](_0x31f1cd);throw _0x36429a;}return this[_0x3ab96c(0x117,-_0x2fdd44._0x4d4309,-0x21c,-_0x2fdd44._0x45db49)](),_0xbe7c54;}['spawn'](_0x4824c2){const _0x255bf4={_0xfccb91:0x500,_0x1d2e65:0x32f,_0x5bfbe7:0x429,_0x6560ae:0x2c9,_0xb21f5d:0x505,_0x130400:0x524,_0x158ef3:0x4bf,_0x5e192b:0x59a,_0x34e9f7:0x5bb,_0x219749:0x368,_0x48354c:0x51d,_0x49103f:0x650,_0x273fe9:0x55f,_0x5238df:0x46f},_0x5bae82={_0x56ae9b:0x66f},_0x2e5455={_0x3979da:0x1c9,_0x246dc8:0x1ed};function _0x442f8a(_0x56feff,_0x4796dd,_0x47e36e,_0x4c7c87){return _0x151cc1(_0x56feff-_0x2e5455._0x3979da,_0x4796dd-0x12b,_0x56feff,_0x4c7c87-_0x2e5455._0x246dc8);}function _0x258d26(_0x22f628,_0x5236fc,_0x425e8f,_0x16f9fc){return _0x1ac42a(_0x22f628-0xac,_0x5236fc-0xb7,_0x16f9fc-_0x5bae82._0x56ae9b,_0x425e8f);}const _0x44e5b2=this[_0x258d26(0x8e9,0x80a,0x7ed,0x76c)]();try{return this[_0x442f8a(0x557,0x3c8,_0x255bf4._0xfccb91,_0x255bf4._0x1d2e65)](_0x44e5b2,{..._0x4824c2,...this[_0x442f8a(0x365,_0x255bf4._0x5bfbe7,_0x255bf4._0x6560ae,0x3dd)]===_0x258d26(_0x255bf4._0xb21f5d,0x649,0x656,_0x255bf4._0x130400)?{}:{'processGroupId':_0x4824c2[_0x442f8a(_0x255bf4._0x158ef3,_0x255bf4._0x5e192b,0x55b,_0x255bf4._0x34e9f7)][_0x442f8a(_0x255bf4._0x219749,_0x255bf4._0x48354c,_0x255bf4._0x49103f,0x383)]}});}catch(_0xd48bd9){this[_0x258d26(0x477,_0x255bf4._0x273fe9,0x30f,_0x255bf4._0x5238df)](_0x44e5b2);throw _0xd48bd9;}}[_0x151cc1(0x500,0x46a,0x419,0x383)](_0xa9b3a,_0x170509){const _0x40bacc={_0x5cd182:0x13b,_0x26172b:0x5e,_0x191196:0x1f3,_0x2b97c6:0x3aa,_0x3db1e9:0x1ec,_0x4691de:0x27f,_0x451a74:0x1e8,_0x3d3be5:0x351,_0x4a4ee8:0xf8,_0x36d511:0x1,_0x3cdf86:0x93,_0x178294:0x17e,_0xd7dde4:0x2d1,_0xad676d:0x23a,_0x47e878:0x29b,_0x45936b:0x18e,_0x17afed:0x42,_0x11b6fe:0x109,_0x1fd53c:0x1e9,_0x5ec155:0x237,_0x27fedf:0x64,_0x328296:0x6a,_0x3d17ab:0x69,_0x271449:0x39,_0x214282:0xe5,_0x3f8274:0x1af,_0x146300:0x3f,_0x2071e7:0x161,_0x262b28:0x67,_0x2c11ba:0x3b8,_0x57aee2:0x19d,_0x2f9b51:0x383,_0x562549:0xdb,_0x22ebfd:0x16,_0x22e854:0x3c,_0x4392ff:0x1f9,_0x5da6b1:0x13c,_0x58aef4:0x220,_0x30cde0:0x1aa,_0x4604c2:0x20,_0xfe912e:0xde,_0xc491c7:0x11f,_0x2d75b8:0xa2,_0x4efea5:0x30d,_0x45f5e9:0x28c,_0x159896:0x1e5,_0x5082d4:0x1d9,_0x299c89:0x2ce,_0x26b2de:0x128,_0x40fc66:0x4c},_0x426e2a={_0x52ef0e:0x4b},_0x17bc8a={_0x32f943:0x1c},_0x5cef58=this[_0x21ddab(0x2d0,_0x40bacc._0x5cd182,-_0x40bacc._0x26172b,_0x40bacc._0x191196)][_0x21ddab(-0x7c,0x146,0x27e,-0x5f)](_0xa9b3a);if(!_0x5cef58)throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2b97c6,0x2f0,_0x40bacc._0x3db1e9,0x1c1)+_0xa9b3a,{'shellId':_0xa9b3a});const _0x24954a=_0x5cef58[_0x21ddab(_0x40bacc._0x4691de,_0x40bacc._0x451a74,_0x40bacc._0x3d3be5,_0x40bacc._0x4a4ee8)][_0x11aaf8(0x20c,-_0x40bacc._0x36d511,0x1c4,0x327)]('');function _0x21ddab(_0xdebeda,_0x2c4848,_0x544786,_0x14bdaa){return _0x151cc1(_0xdebeda-_0x17bc8a._0x32f943,_0x2c4848- -0x223,_0x544786,_0x14bdaa-0x72);}const _0x449581=Math['max'](_0x5cef58[_0x11aaf8(0x292,_0x40bacc._0x3cdf86,_0x40bacc._0x178294,_0x40bacc._0xd7dde4)],_0x5cef58[_0x11aaf8(0x6e,-0x1ca,-0x42,-0x18d)]),_0x51a9d4=Math[_0x11aaf8(_0x40bacc._0xad676d,0x22c,0x119,_0x40bacc._0x47e878)](0x0,_0x5cef58[_0x11aaf8(-0x17e,_0x40bacc._0x45936b,-_0x40bacc._0x17afed,-_0x40bacc._0x11b6fe)]-_0x5cef58[_0x21ddab(0x328,0x250,_0x40bacc._0x1fd53c,0xbd)]),_0x290224=_0x24954a[_0x11aaf8(_0x40bacc._0x5ec155,-_0x40bacc._0x27fedf,_0x40bacc._0x328296,-_0x40bacc._0x3d17ab)](_0x449581-_0x5cef58[_0x11aaf8(-_0x40bacc._0x271449,-_0x40bacc._0x214282,-_0x40bacc._0x17afed,-_0x40bacc._0x3f8274)]);let _0x58cf99;function _0x11aaf8(_0x37a6db,_0x4d5269,_0x41aae7,_0x5c837b){return _0x1ac42a(_0x37a6db-_0x426e2a._0x52ef0e,_0x4d5269-0x13,_0x41aae7-0x88,_0x4d5269);}const _0x4eb0b7=_0x170509?.[_0x21ddab(0x29b,0xd0,-0x33,-_0x40bacc._0x146300)];if(!_0x4eb0b7)_0x58cf99=_0x290224,_0x5cef58[_0x11aaf8(0x36,_0x40bacc._0x2071e7,0x17e,0x10)]=_0x5cef58[_0x21ddab(-0x48,-_0x40bacc._0x262b28,-0xe7,-0x137)];else{let _0x4189d4;try{_0x4189d4=new RegExp(_0x4eb0b7);}catch(_0x476731){throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2c11ba,_0x40bacc._0x57aee2,0x206,_0x40bacc._0x2f9b51)+(_0x476731 instanceof Error?_0x476731[_0x21ddab(_0x40bacc._0x562549,0x26b,0x3a3,0x2b4)]:String(_0x476731)),{'shellId':_0xa9b3a,'regex':_0x4eb0b7});}let _0x13ea4c=_0x290224;if(!_0x5cef58[_0x21ddab(_0x40bacc._0x22ebfd,-_0x40bacc._0x22e854,0x57,-0x7f)]){const _0x28062d=_0x290224['lastIndexOf']('\x0a');_0x13ea4c=_0x28062d>=0x0?_0x290224[_0x21ddab(_0x40bacc._0x4392ff,_0x40bacc._0x5da6b1,0x1b2,_0x40bacc._0x58aef4)](0x0,_0x28062d+0x1):'';}_0x58cf99=_0x13ea4c[_0x21ddab(0x2f0,0x21b,_0x40bacc._0x30cde0,0x2eb)]('\x0a')[_0x11aaf8(-_0x40bacc._0x4604c2,-0x269,-_0x40bacc._0xfe912e,-_0x40bacc._0xc491c7)](_0x535be9=>_0x4189d4[_0x21ddab(0x30d,0x2bf,0x173,0x314)](_0x535be9))['join']('\x0a'),_0x5cef58['readCursor']=_0x449581+_0x13ea4c[_0x11aaf8(0x4d,_0x40bacc._0x2d75b8,0x191,_0x40bacc._0x4efea5)];}return{'output':(_0x51a9d4>0x0?'[output\x20truncated:\x20'+_0x51a9d4+'\x20chars\x20dropped]\x0a':'')+_0x58cf99,'status':_0x5cef58[_0x21ddab(_0x40bacc._0x45f5e9,_0x40bacc._0x159896,0x30f,0xcb)],'exitCode':_0x5cef58[_0x11aaf8(_0x40bacc._0x5082d4,_0x40bacc._0x299c89,_0x40bacc._0x26b2de,0x48)],'signal':_0x5cef58[_0x11aaf8(-0x2fc,-0x259,-0x171,-_0x40bacc._0x40fc66)],'error':_0x5cef58['error'],'truncated':_0x51a9d4>0x0};}[_0x151cc1(0x36d,0x1b1,0x11a,0x309)](){const _0xecb1db={_0x480c88:0x6dc},_0x11dacc={_0x18301a:0x124};function _0x2e172d(_0x28c883,_0xd7f543,_0x50064d,_0x5b2db8){return _0x151cc1(_0x28c883-0x122,_0x28c883-0x254,_0x5b2db8,_0x5b2db8-_0x11dacc._0x18301a);}return[...this['entries'][_0x2e172d(0x52d,_0xecb1db._0x480c88,0x6d0,0x3f3)]()];}[_0x151cc1(0x174,0x2df,0x406,0x416)](_0x4fc440){const _0x4d2239={_0x2d5340:0x726,_0x45d72e:0x3c1,_0x9171e7:0x4dc,_0x4429b5:0x890,_0x42c5d3:0x79c,_0x2d3aa1:0x219,_0x9221a0:0x3ac,_0xb2491b:0x2f1,_0x1e3fd2:0x525,_0x4d3fc1:0x5c6,_0x521a74:0x527,_0x78a07a:0x746,_0x141ac0:0x356,_0x2801dc:0x4be,_0x581857:0x6a1,_0x307d34:0x971,_0x355414:0x61f,_0x5ea461:0x60e,_0x3a862f:0x83a,_0x352da3:0x6a7,_0x16d065:0x593,_0xd0ecdb:0x47b,_0x422956:0x6e9,_0x55fe3a:0x4e1,_0x1b2909:0x3b9,_0x3b9fac:0x24e,_0x5d0044:0x5cf,_0x9b999c:0x460,_0x24eb31:0x758,_0x30172d:0x69c,_0x58d2e9:0x758,_0x4cc14b:0x667,_0x1b6059:0x138,_0x3e5722:0x2cc,_0x23929b:0x190,_0x5e62bd:0x403,_0x56d62c:0x3e9},_0x451c7c={_0x575296:0x53,_0x59c75a:0x43},_0x41c245={_0x551ba6:0x39,_0x9bb30b:0x2c3},_0x318b08={_0x3e05c4:0x50,_0x3ca4f4:0x9a},_0x23140c={_0x29a3f3:0x122},_0x329b4c=this[_0x4ee741(0x69c,0x77d,_0x4d2239._0x2d5340,0x7c4)][_0x54afbd(_0x4d2239._0x45d72e,0x3a4,0x356,_0x4d2239._0x9171e7)](_0x4fc440);if(!_0x329b4c)throw new ToolExecutionError(_0x4ee741(0x81f,_0x4d2239._0x4429b5,0x785,_0x4d2239._0x42c5d3)+_0x4fc440,{'shellId':_0x4fc440});if(_0x329b4c['terminationPromise']&&!_0x329b4c[_0x54afbd(0x568,0x3b9,_0x4d2239._0x2d3aa1,_0x4d2239._0x9221a0)])return _0x329b4c[_0x54afbd(0x1bf,0x2cc,_0x4d2239._0xb2491b,0x310)];function _0x54afbd(_0x3840ff,_0x4b45e5,_0x356147,_0x422867){return _0x1ac42a(_0x3840ff-0x1b0,_0x4b45e5-_0x23140c._0x29a3f3,_0x4b45e5-0x3b8,_0x3840ff);}if(_0x329b4c[_0x4ee741(_0x4d2239._0x1e3fd2,_0x4d2239._0x4d3fc1,0x6a4,_0x4d2239._0x521a74)]&&isTerminalStatus(_0x329b4c[_0x4ee741(_0x4d2239._0x78a07a,0x774,0x863,0x847)]))return Promise[_0x54afbd(0x4da,_0x4d2239._0x141ac0,_0x4d2239._0x2801dc,0x362)](this[_0x4ee741(0x805,_0x4d2239._0x581857,_0x4d2239._0x307d34,0x9d2)](_0x329b4c,'already-terminal'));if(_0x329b4c['status']!==_0x54afbd(0x403,0x439,0x2fa,0x570))_0x329b4c[_0x4ee741(0x746,_0x4d2239._0x355414,_0x4d2239._0x5ea461,0x902)]=_0x4ee741(_0x4d2239._0x3a862f,0x8de,_0x4d2239._0x352da3,0x851);_0x329b4c[_0x4ee741(_0x4d2239._0x16d065,_0x4d2239._0xd0ecdb,_0x4d2239._0x422956,0x51f)]=!![];function _0x4ee741(_0x4dd1d7,_0x3c3a9b,_0xf01c2f,_0x449e54){return _0x151cc1(_0x4dd1d7-_0x318b08._0x3e05c4,_0x4dd1d7-0x33e,_0xf01c2f,_0x449e54-_0x318b08._0x3ca4f4);}return _0x329b4c[_0x54afbd(_0x4d2239._0x55fe3a,_0x4d2239._0x1b2909,_0x4d2239._0x3b9fac,0x375)]=![],_0x329b4c[_0x4ee741(_0x4d2239._0x5d0044,0x631,_0x4d2239._0x9b999c,0x666)]=this[_0x4ee741(_0x4d2239._0x24eb31,_0x4d2239._0x30172d,_0x4d2239._0x58d2e9,_0x4d2239._0x4cc14b)](_0x329b4c),void _0x329b4c[_0x54afbd(_0x4d2239._0x1b6059,_0x4d2239._0x3e5722,_0x4d2239._0x23929b,_0x4d2239._0x5e62bd)][_0x4ee741(0x7d3,0x61d,0x7e1,0x981)](()=>{const _0x5b0544={_0x3b756b:0x5bd,_0x31f0eb:0xa4};function _0x26f1dc(_0x4b069e,_0x415e46,_0x1985ee,_0xe837b4){return _0x4ee741(_0x415e46- -_0x5b0544._0x3b756b,_0x415e46-_0x5b0544._0x31f0eb,_0xe837b4,_0xe837b4-0x5f);}_0x329b4c[_0x26f1dc(-_0x41c245._0x551ba6,0xff,_0x41c245._0x9bb30b,0x155)]=!![];},()=>{const _0x31fbc7={_0x42af9d:0x3cd,_0x3ad1bc:0xd9};function _0x5ec6e3(_0x59647b,_0x3884ec,_0x5edce4,_0xb3e411){return _0x54afbd(_0x3884ec,_0xb3e411- -_0x31fbc7._0x42af9d,_0x5edce4-0x159,_0xb3e411-_0x31fbc7._0x3ad1bc);}_0x329b4c[_0x5ec6e3(_0x451c7c._0x575296,-_0x451c7c._0x59c75a,-0xe9,-0x14)]=!![];}),_0x329b4c[_0x54afbd(0x21c,0x2cc,_0x4d2239._0xb2491b,_0x4d2239._0x56d62c)];}['closeAll'](){const _0x265784={_0x1bb502:0x1c0,_0x169c11:0x281,_0x5b727f:0x6c,_0x137a2e:0xe,_0x37cff0:0x2b,_0x15d61f:0x666,_0x549bc5:0x723,_0x1b1b18:0x521,_0x28a469:0xbb,_0xe8209a:0x16a},_0x262054={_0x5a5875:0x136},_0x239a05={_0x590f39:0x5f,_0xcab49e:0x70a};function _0x9e466e(_0x474026,_0x4bc1a5,_0x4c056d,_0x23395c){return _0x1ac42a(_0x474026-_0x239a05._0x590f39,_0x4bc1a5-0x1c4,_0x474026-_0x239a05._0xcab49e,_0x4c056d);}function _0x46b61f(_0x3b51fa,_0x38a419,_0x37fc84,_0x580c76){return _0x151cc1(_0x3b51fa-0x8,_0x37fc84- -0x36c,_0x38a419,_0x580c76-_0x262054._0x5a5875);}return Promise[_0x46b61f(-0x2c1,-_0x265784._0x1bb502,-0x11a,-_0x265784._0x169c11)]([...this[_0x46b61f(0x137,-_0x265784._0x5b727f,-_0x265784._0x137a2e,-_0x265784._0x37cff0)][_0x9e466e(_0x265784._0x15d61f,0x80c,_0x265784._0x549bc5,_0x265784._0x1b1b18)]()][_0x46b61f(-0x50,0x207,_0x265784._0x28a469,_0x265784._0xe8209a)](_0x1cf27e=>this[_0x46b61f(-0x15f,0xfd,-0x8d,-0xe9)](_0x1cf27e[_0x46b61f(0x1cf,0x19c,0xc3,-0x18)])));}async[_0x151cc1(0x617,0x503,0x5a2,0x6a4)](){const _0xee373f={_0x2869a3:0x123,_0x50ca12:0x29,_0x48b950:0x18f,_0x2b5467:0x2fe,_0x395232:0x3b8,_0x3bdffe:0x368,_0x2efdc2:0x1b8,_0x50857d:0x193,_0x5a2286:0x280,_0x34a9db:0x61e,_0x5e2a7a:0x5b3,_0x36138a:0x270,_0x4e78c4:0x20e,_0x3005a0:0x173},_0x5ec4f9={_0x4344d4:0x130,_0x3a42af:0x328},_0x338ac6={_0x1aba13:0x8d};function _0xe22992(_0x55344d,_0x33331d,_0x46faf5,_0x43fc9c){return _0x1ac42a(_0x55344d-0xf4,_0x33331d-_0x338ac6._0x1aba13,_0x43fc9c-0x29f,_0x46faf5);}const _0x150e8f=await this[_0xe22992(_0xee373f._0x2869a3,0x1f,-_0xee373f._0x50ca12,_0xee373f._0x48b950)]();function _0x3d5390(_0x5889e8,_0x25ea37,_0x1d5f2e,_0x8e8755){return _0x151cc1(_0x5889e8-_0x5ec4f9._0x4344d4,_0x8e8755-_0x5ec4f9._0x3a42af,_0x25ea37,_0x8e8755-0x1f0);}if(_0x150e8f[_0xe22992(0x446,_0xee373f._0x2b5467,_0xee373f._0x395232,_0xee373f._0x3bdffe)](_0x2923ec=>_0x2923ec[_0xe22992(0x2b3,0x172,0x481,0x2cc)]==='failed'))throw new BackgroundProcessCleanupError(_0x150e8f);return this[_0xe22992(_0xee373f._0x2efdc2,_0xee373f._0x50857d,0x2d6,_0xee373f._0x5a2286)][_0x3d5390(_0xee373f._0x34a9db,_0xee373f._0x5e2a7a,0x48e,0x579)](),this['reservations'][_0xe22992(_0xee373f._0x36138a,0x233,_0xee373f._0x4e78c4,_0xee373f._0x3005a0)](),_0x150e8f;}async[_0x151cc1(0x4a6,0x41a,0x422,0x263)](_0x226adf){const _0x5b052d={_0x2e6b19:0x553,_0x5f6771:0x569,_0x4ebeac:0x3f6,_0x183f94:0x414,_0x5e45cf:0x25a,_0x509445:0x74a,_0xe4bccb:0x681,_0x5a601c:0x839,_0x5f1073:0x67a,_0x3795ff:0x581,_0x28028d:0x853,_0x1bff39:0x834,_0x6f28ac:0x6a4,_0x486ad1:0x52b,_0x280788:0x756,_0x42bbae:0x740,_0x333fb7:0x6a4,_0x52989b:0x57c,_0x2dc650:0x6e3,_0x2f5483:0x53b,_0x5b7153:0x918,_0x4f5449:0x5f1,_0x1dec71:0x557,_0xfa158f:0x45d,_0x9e2fb3:0x79c,_0x5ad60c:0x5f3,_0x3fce2d:0x581,_0x5c18d0:0x6d7,_0x285e97:0x83b,_0x3be086:0x652,_0x5733c1:0x59a,_0x1282a5:0x5fe},_0x3f94cd={_0x2bdeb2:0x6d5},_0x4cfa3d={_0x3ad5d1:0x159,_0x41db3b:0x1fe};_0x226adf['gracefulRequested']=!![];const _0x2278bb=await this[_0xff355a(_0x5b052d._0x2e6b19,0x5a9,_0x5b052d._0x5f6771,_0x5b052d._0x4ebeac)][_0xff355a(_0x5b052d._0x183f94,0x4c1,0x382,_0x5b052d._0x5e45cf)]({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x83c,_0x5b052d._0xe4bccb,_0x5b052d._0x5a601c)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x514,_0x5b052d._0x3795ff,0x5a9)]},'graceful');if(_0x2278bb[_0x4b7100(0x702,0x82d,0x5a6,0x853)]===_0xff355a(_0x5b052d._0x28028d,_0x5b052d._0x1bff39,_0x5b052d._0x6f28ac,_0x5b052d._0x486ad1))return this['failed'](_0x226adf,_0x2278bb[_0x4b7100(_0x5b052d._0x280788,0x6ce,0x782,_0x5b052d._0x42bbae)]);if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this[_0x4b7100(0x597,0x449,0x443,_0x5b052d._0x333fb7)](_0x226adf);_0x226adf[_0x4b7100(_0x5b052d._0x52989b,_0x5b052d._0x2dc650,0x625,_0x5b052d._0x2f5483)]=!![];function _0xff355a(_0x203877,_0x585bd6,_0x4ae0c2,_0xe0e4d){return _0x151cc1(_0x203877-_0x4cfa3d._0x3ad5d1,_0x4ae0c2-_0x4cfa3d._0x41db3b,_0x585bd6,_0xe0e4d-0x113);}const _0x19a517=await this[_0x4b7100(0x6c3,0x6ca,0x687,0x745)]['signal']({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x5d0,0x786,_0x5b052d._0x5b7153)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x4c4,_0x5b052d._0x4f5449,_0x5b052d._0x1dec71)]},_0xff355a(_0x5b052d._0xfa158f,_0x5b052d._0x9e2fb3,_0x5b052d._0x5ad60c,0x4a6));if(_0x19a517['outcome']===_0xff355a(_0x5b052d._0x3fce2d,0x849,0x6a4,0x7f2))return this[_0x4b7100(0x7fe,_0x5b052d._0x5c18d0,_0x5b052d._0x285e97,0x749)](_0x226adf,_0x19a517['error']);function _0x4b7100(_0x38d511,_0x4df8ab,_0x505423,_0x3677e6){return _0x1ac42a(_0x38d511-0xca,_0x4df8ab-0x6b,_0x38d511-_0x3f94cd._0x2bdeb2,_0x3677e6);}if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this['confirmed'](_0x226adf);return this[_0xff355a(0x5db,_0x5b052d._0x3be086,0x6a4,_0x5b052d._0x5733c1)](_0x226adf,_0xff355a(_0x5b052d._0x1282a5,0x8a7,0x6f3,0x7e5));}[_0x151cc1(0x407,0x23f,0xfe,0x14d)](_0x592b3f){const _0x68fd30={_0x21637a:0x115,_0x46d306:0x7a2,_0x2f55f7:0x11c,_0x9b213b:0x65,_0x17af0d:0x7c0,_0xbca651:0x971,_0x131b29:0x69d,_0x3c3e66:0x151,_0x1c501b:0x114},_0x2c276c={_0x5669d6:0x679},_0x3e1844={_0x5f2ddb:0x151,_0xe60db6:0x1c};function _0x16b7c2(_0x54e9da,_0x5abfa7,_0x4e8561,_0x35d3f9){return _0x1ac42a(_0x54e9da-_0x3e1844._0x5f2ddb,_0x5abfa7-0xbd,_0x4e8561- -_0x3e1844._0xe60db6,_0x54e9da);}function _0x4c9613(_0x2b1a9e,_0x163442,_0x4569c2,_0x333360){return _0x1ac42a(_0x2b1a9e-0x7a,_0x163442-0xf,_0x2b1a9e-_0x2c276c._0x5669d6,_0x4569c2);}return _0x592b3f['status']===_0x16b7c2(0xb2,-_0x68fd30._0x21637a,0x65,-0xe)?this[_0x4c9613(_0x68fd30._0x46d306,0x780,0x8bf,0x901)](_0x592b3f,_0x592b3f[_0x16b7c2(0x101,-_0x68fd30._0x2f55f7,_0x68fd30._0x9b213b,0xbd)]??_0x4c9613(_0x68fd30._0x17af0d,_0x68fd30._0xbca651,_0x68fd30._0x131b29,0x959)):this['result'](_0x592b3f,_0x16b7c2(_0x68fd30._0x3c3e66,0x296,_0x68fd30._0x1c501b,0x31));}[_0x1ac42a(0x2ab,-0x13,0x129,0xcd)](_0x4317c1,_0xf93f0){const _0x4ae6a4={_0x1818d4:0x38a,_0x1868f8:0x285,_0xd94af:0x135},_0x3cdcb8={_0x53da03:0x35,_0x3d8656:0x15c},_0x400802={_0x28a207:0x4f};function _0x414c55(_0x3061b0,_0x24cdbc,_0x1da123,_0x2fbe04){return _0x1ac42a(_0x3061b0-0xb4,_0x24cdbc-_0x400802._0x28a207,_0x24cdbc-0x318,_0x2fbe04);}_0x4317c1['error']=_0xf93f0;function _0x60cebf(_0x237e47,_0x2530ce,_0x2e9916,_0x4bdf0d){return _0x1ac42a(_0x237e47-_0x3cdcb8._0x53da03,_0x2530ce-0x7d,_0x2e9916-_0x3cdcb8._0x3d8656,_0x4bdf0d);}return this[_0x414c55(0x3c7,0x462,_0x4ae6a4._0x1818d4,0x2bb)](_0x4317c1,_0x60cebf(0x1a5,0x1a4,_0x4ae6a4._0x1868f8,_0x4ae6a4._0xd94af));}[_0x151cc1(0x3ec,0x4c7,0x36a,0x38e)](_0x94861b,_0xf40b55){const _0x1d1f08={_0x255d60:0x331,_0x193425:0x2dc,_0x2a1da3:0x276,_0x3d7fb4:0x3c8,_0x535dfb:0x2ca,_0x471365:0x6dd,_0x4d3f54:0x6d2,_0x382e70:0x228,_0x9510e5:0x251,_0x161c63:0x42,_0x4b170f:0x29d},_0x111bd5={_0x2c317f:0x2a,_0x4edbae:0x153},_0x57571d={_0x5f209c:0x2f0};function _0xdf2cbf(_0x3a176,_0x20d5a9,_0x2788fe,_0x3c623c){return _0x151cc1(_0x3a176-0x16e,_0x2788fe-_0x57571d._0x5f209c,_0x3a176,_0x3c623c-0x1c3);}function _0x3f103c(_0x129173,_0x5ef051,_0x31ee2d,_0x210943){return _0x151cc1(_0x129173-_0x111bd5._0x2c317f,_0x31ee2d- -_0x111bd5._0x4edbae,_0x210943,_0x210943-0x11f);}return{'shellId':_0x94861b[_0x3f103c(0x40a,_0x1d1f08._0x255d60,_0x1d1f08._0x193425,0x388)],'outcome':_0xf40b55,'status':_0x94861b[_0x3f103c(_0x1d1f08._0x2a1da3,_0x1d1f08._0x3d7fb4,0x2b5,0x2f9)],'exitCode':_0x94861b[_0x3f103c(0x125,0x2ea,_0x1d1f08._0x535dfb,0x497)],'signal':_0x94861b['signal'],'error':_0x94861b[_0xdf2cbf(0x6fb,_0x1d1f08._0x471365,0x6ee,_0x1d1f08._0x4d3f54)],'gracefulRequested':_0x94861b[_0x3f103c(_0x1d1f08._0x382e70,0x1e4,_0x1d1f08._0x9510e5,0x37a)],'forceRequested':_0x94861b[_0x3f103c(0x214,-_0x1d1f08._0x161c63,0xd1,_0x1d1f08._0x4b170f)]};}[_0x1ac42a(-0xc1,-0x17f,-0x12f,-0x2a1)](_0x3cdaf4,_0x3f0321){const _0xda59e0={_0x336469:0x5},_0x34a324={_0x31e65e:0x616,_0x1b184b:0x62b,_0x15fc4e:0x817},_0x3719b2={_0x5b0200:0x138,_0x52e03f:0x119};if(_0x3cdaf4[_0x21f836(-0x99,0x17a,0xce,_0xda59e0._0x336469)])return Promise['resolve'](!![]);function _0x21f836(_0x268e15,_0x43820d,_0x40351d,_0x426b7f){return _0x151cc1(_0x268e15-_0x3719b2._0x5b0200,_0x40351d- -_0x3719b2._0x52e03f,_0x268e15,_0x426b7f-0x4e);}return new Promise(_0x5eb744=>{const _0x42394b={_0x59119d:0x18d};function _0x38f7f9(_0x1cf882,_0x509b66,_0xd055d,_0x8e1b59){return _0x21f836(_0x8e1b59,_0x509b66-0xf7,_0x1cf882-0x48b,_0x8e1b59-0x1ba);}let _0x3cd64b=![];function _0x58279f(_0x393ddb,_0x1a5d3c,_0x3b7b9f,_0x39d7de){return _0x21f836(_0x3b7b9f,_0x1a5d3c-0x113,_0x1a5d3c-0x249,_0x39d7de-_0x42394b._0x59119d);}const _0x58bf77=setTimeout(()=>{if(_0x3cd64b)return;_0x3cd64b=!![],_0x5eb744(![]);},_0x3f0321);void _0x3cdaf4[_0x38f7f9(_0x34a324._0x31e65e,0x5b0,_0x34a324._0x1b184b,0x58b)][_0x38f7f9(0x807,_0x34a324._0x15fc4e,0x6bb,0x7b9)](()=>{if(_0x3cd64b)return;_0x3cd64b=!![],clearTimeout(_0x58bf77),_0x5eb744(!![]);});});}['appendDecoded'](_0x3b1ced,_0x4fd53d,_0x249950,_0x2cc3e8){const _0x6dbf0b={_0x156ee7:0x495,_0x2a004e:0x3a8,_0x1a56cd:0x7b7,_0x28ebda:0x7ec},_0x2c09c6={_0x19d5ce:0x197,_0x522e5b:0xd8},_0x5c06ee={_0x2560a5:0x174},_0x4bfc8a=_0x4fd53d[_0x3622c2(_0x6dbf0b._0x156ee7,0x309,0x243,_0x6dbf0b._0x2a004e)](_0x2cc3e8);function _0x5b82f1(_0x1f3226,_0x1b1949,_0x579834,_0x1160be){return _0x1ac42a(_0x1f3226-0x109,_0x1b1949-_0x5c06ee._0x2560a5,_0x1f3226-0x6b4,_0x579834);}function _0x3622c2(_0xbc68a3,_0x2337eb,_0x22e21e,_0x192b72){return _0x151cc1(_0xbc68a3-_0x2c09c6._0x19d5ce,_0x192b72- -_0x2c09c6._0x522e5b,_0x22e21e,_0x192b72-0x8f);}this['append'](_0x3b1ced,_0x3b1ced['stripAnsi']?_0x249950[_0x5b82f1(_0x6dbf0b._0x1a56cd,0x833,0x66a,_0x6dbf0b._0x28ebda)](_0x4bfc8a):_0x4bfc8a);}[_0x1ac42a(-0x255,-0x1c6,-0x194,-0x35b)](_0x59f6da){const _0x4e51ad={_0x1b97e2:0x39,_0xc8ed4:0x40,_0x31c214:0x119,_0x6ed8cb:0x20a,_0x5ef9aa:0x1a9,_0x1cfba6:0x1b8,_0x194cc2:0xb3,_0x4d6643:0x2ca,_0x51dc4f:0x16a,_0x3efb01:0x29,_0x42aacc:0x4b,_0x340bea:0x1ff,_0x4a8a8c:0xf1,_0x33c7dd:0xa6,_0x516fcf:0x82},_0x314bff={_0x461f41:0x1f0},_0x10b664={_0x387c13:0x19e};function _0x3a8057(_0x151d9c,_0x1322c2,_0x28fa60,_0xb3bd8){return _0x151cc1(_0x151d9c-0x2e,_0x1322c2- -0x27b,_0x151d9c,_0xb3bd8-_0x10b664._0x387c13);}this[_0xb4b97d(_0x4e51ad._0x1b97e2,_0x4e51ad._0xc8ed4,_0x4e51ad._0x31c214,_0x4e51ad._0x6ed8cb)](_0x59f6da);function _0xb4b97d(_0x5f35ab,_0x418add,_0x5f16ab,_0x267c46){return _0x151cc1(_0x5f35ab-0x75,_0x418add- -0x39f,_0x5f35ab,_0x267c46-_0x314bff._0x461f41);}!_0x59f6da[_0xb4b97d(-_0x4e51ad._0x5ef9aa,-_0x4e51ad._0x1cfba6,-_0x4e51ad._0x194cc2,-_0x4e51ad._0x4d6643)]&&(_0x59f6da[_0x3a8057(-_0x4e51ad._0x51dc4f,-0x94,0x111,-0x229)]=!![],_0x59f6da[_0xb4b97d(-_0x4e51ad._0x3efb01,-0x1aa,-0x1ca,-_0x4e51ad._0x42aacc)]()),this[_0x3a8057(-_0x4e51ad._0x340bea,-_0x4e51ad._0x4a8a8c,_0x4e51ad._0x33c7dd,-_0x4e51ad._0x516fcf)]();}['flushStreams'](_0x85c290){const _0x548166={_0x162394:0x7e0,_0x52df88:0x829,_0x18f3bc:0x820,_0x24e77c:0x831,_0x3c6dd9:0x729,_0x49b957:0x75e,_0x4f61e5:0x7d9,_0x4201cb:0x8e5,_0x1a9fc2:0x59a,_0x3cf747:0x549,_0x2ff210:0x762,_0x458484:0x520,_0x32d356:0x536,_0x5f12c4:0x589,_0x2904b7:0x563,_0x49b5cc:0x56d,_0x3481f0:0x62b,_0x5673f8:0x808,_0x4b58e4:0x636,_0x9c9c59:0x5b7,_0xd180ac:0x3a9,_0x572ad2:0x4bd,_0x79641:0x468,_0x3b93d6:0x459,_0x1da350:0x531,_0x54a062:0x4b2,_0x6ac1d3:0x70d,_0x58345a:0x3af,_0x4627a2:0x484,_0x4c9b50:0x7b4,_0x572d39:0x8ad,_0x5e9a09:0x80d,_0x42175f:0x8db,_0x5742b5:0x4c0,_0x2ea899:0x41b,_0x130d9e:0x59a,_0x2ced44:0x6f5,_0x5bf0fa:0x403,_0x4ed7f5:0x642},_0x40b854={_0x11792b:0x1e6},_0x40c38a={_0xc6a620:0x257};if(_0x85c290[_0x4f81c0(_0x548166._0x162394,_0x548166._0x52df88,0x93a,_0x548166._0x18f3bc)])return;_0x85c290[_0x4f81c0(0x7e0,0x989,_0x548166._0x24e77c,_0x548166._0x3c6dd9)]=!![];function _0x7041b8(_0x5c23e5,_0x46cb3f,_0x4bfb5d,_0xe08492){return _0x151cc1(_0x5c23e5-0xea,_0x46cb3f-_0x40c38a._0xc6a620,_0x5c23e5,_0xe08492-0x12d);}const _0x1686d5=_0x85c290[_0x4f81c0(_0x548166._0x49b957,_0x548166._0x4f61e5,0x8a1,_0x548166._0x4201cb)][_0x4f81c0(_0x548166._0x1a9fc2,_0x548166._0x3cf747,0x4e8,_0x548166._0x2ff210)]();function _0x4f81c0(_0x3f6dab,_0x4b2739,_0x4601db,_0x275a52){return _0x151cc1(_0x3f6dab-_0x40b854._0x11792b,_0x3f6dab-0x334,_0x275a52,_0x275a52-0xa0);}const _0x1f923b=_0x85c290[_0x4f81c0(0x6c7,0x7e4,0x835,0x560)][_0x4f81c0(_0x548166._0x1a9fc2,0x60b,_0x548166._0x458484,0x44d)]();this[_0x4f81c0(_0x548166._0x32d356,0x5ae,0x675,_0x548166._0x5f12c4)](_0x85c290,_0x85c290[_0x7041b8(_0x548166._0x2904b7,_0x548166._0x49b5cc,_0x548166._0x3481f0,0x4a9)]?_0x85c290[_0x4f81c0(0x6ce,0x55f,0x85e,0x65d)][_0x7041b8(_0x548166._0x5673f8,0x6d7,_0x548166._0x4b58e4,_0x548166._0x9c9c59)](_0x1686d5)+_0x85c290['stdoutNormalizer'][_0x7041b8(_0x548166._0xd180ac,_0x548166._0x572ad2,0x488,_0x548166._0x79641)]():_0x1686d5),this[_0x7041b8(0x3d2,_0x548166._0x3b93d6,_0x548166._0x1da350,0x307)](_0x85c290,_0x85c290[_0x4f81c0(0x64a,_0x548166._0x54a062,0x4a8,_0x548166._0x6ac1d3)]?_0x85c290[_0x7041b8(_0x548166._0x58345a,_0x548166._0x4627a2,0x2f7,0x4ac)][_0x4f81c0(_0x548166._0x4c9b50,_0x548166._0x572d39,_0x548166._0x5e9a09,_0x548166._0x42175f)](_0x1f923b)+_0x85c290[_0x7041b8(_0x548166._0x5742b5,_0x548166._0x4627a2,_0x548166._0x2ea899,0x457)][_0x4f81c0(_0x548166._0x130d9e,_0x548166._0x2ced44,_0x548166._0x5bf0fa,_0x548166._0x4ed7f5)]():_0x1f923b);}['append'](_0x1d6854,_0x842975){const _0x4a824a={_0x42ae54:0x6e4,_0x5922ae:0x846,_0x338898:0x37,_0x30995a:0x3e,_0x2201a1:0x1d8,_0xab72f8:0x46,_0x1eca48:0x440,_0xcfbef1:0x2d6,_0x443543:0x384,_0x56f06c:0x4c,_0x9aeed8:0x34,_0x275e38:0x1a7,_0x547a70:0x134,_0xa7ed67:0x779,_0x70240:0x689,_0x1d9f03:0x5ce,_0x1dfe87:0x205,_0x349c6c:0x11,_0xfba815:0x1d9,_0x4d2f37:0x65f,_0xd4954:0x70f,_0x223109:0x665,_0x26794d:0x53c,_0x591db4:0x3a8,_0x37f8c:0x126,_0x5c98dc:0xa5,_0x3df578:0x1d2},_0x4edee8={_0x2761dc:0x3b};function _0x4cd479(_0x57d430,_0x1863ca,_0x3711e1,_0x1cc345){return _0x1ac42a(_0x57d430-0x1a4,_0x1863ca-0x186,_0x3711e1-0x606,_0x1863ca);}if(_0x842975[_0x4cd479(0x57e,_0x4a824a._0x42ae54,0x70f,_0x4a824a._0x5922ae)]===0x0)return;function _0x3cfb2e(_0x588aaa,_0x238b33,_0x2e5135,_0x4238ac){return _0x1ac42a(_0x588aaa-0x122,_0x238b33-_0x4edee8._0x2761dc,_0x2e5135- -0x50,_0x588aaa);}_0x1d6854[_0x3cfb2e(-_0x4a824a._0x338898,0x1e8,_0x4a824a._0x30995a,_0x4a824a._0x2201a1)][_0x3cfb2e(-_0x4a824a._0xab72f8,0xb0,-0x39,0x91)](_0x842975),_0x1d6854['bufferChars']+=_0x842975['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x1eca48,_0x4a824a._0xcfbef1,0x445,_0x4a824a._0x443543)]+=_0x842975[_0x3cfb2e(-_0x4a824a._0x56f06c,0x281,0xb9,0xee)];while(_0x1d6854[_0x3cfb2e(_0x4a824a._0x9aeed8,_0x4a824a._0x275e38,_0x4a824a._0x547a70,0xc5)]>this[_0x4cd479(0x769,_0x4a824a._0xa7ed67,_0x4a824a._0x70240,_0x4a824a._0x1d9f03)]){const _0x1ff395=_0x1d6854['bufferChars']-this['capChars'],_0x5e881b=_0x1d6854['buffer'][0x0];if(_0x5e881b===void 0x0)break;_0x5e881b[_0x3cfb2e(-0x9c,-0x9f,0xb9,_0x4a824a._0x1dfe87)]<=_0x1ff395?(_0x1d6854[_0x3cfb2e(-_0x4a824a._0x349c6c,0x196,_0x4a824a._0x30995a,_0x4a824a._0xfba815)][_0x4cd479(0x69f,_0x4a824a._0x4d2f37,0x55e,_0x4a824a._0xd4954)](),_0x1d6854['bufferChars']-=_0x5e881b['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x223109,0x679,_0x4a824a._0x26794d,_0x4a824a._0x591db4)]+=_0x5e881b['length']):(_0x1d6854[_0x3cfb2e(0x55,-0x109,_0x4a824a._0x30995a,0x125)][0x0]=_0x5e881b[_0x3cfb2e(-0x1bf,_0x4a824a._0x37f8c,-0x6e,_0x4a824a._0x5c98dc)](_0x1ff395),_0x1d6854['bufferChars']-=_0x1ff395,_0x1d6854[_0x3cfb2e(-_0x4a824a._0x3df578,-0xfb,-0x11a,-0x12c)]+=_0x1ff395);}}['evictIfNeeded'](){const _0xf91e9d={_0x2a1c6b:0x385,_0x5c63e5:0x5d3,_0x5c78ee:0x541,_0x15aa65:0x438,_0x34bae2:0x7d7,_0x3376d8:0x43f,_0x1f6db6:0x373,_0x421ee2:0x676,_0x327900:0x57b,_0x1f2ed5:0x48f,_0x3b58c7:0x3d7,_0x5c0572:0x2d6,_0x4e3067:0x638,_0x2f076c:0x715},_0x37fbb5={_0x5b997a:0x17e},_0x2b98e1={_0x371b6e:0x4e,_0x409aa8:0x1e3,_0x355d17:0xe4};function _0x438bc2(_0x4ee1f9,_0x1e9594,_0x5d53a9,_0x3b5899){return _0x151cc1(_0x4ee1f9-_0x2b98e1._0x371b6e,_0x5d53a9-_0x2b98e1._0x409aa8,_0x4ee1f9,_0x3b5899-_0x2b98e1._0x355d17);}function _0x76048b(_0x26f418,_0x52fb84,_0x4edf30,_0x2cc171){return _0x1ac42a(_0x26f418-0x1de,_0x52fb84-_0x37fbb5._0x5b997a,_0x26f418-0x4fe,_0x4edf30);}while(this[_0x438bc2(_0xf91e9d._0x2a1c6b,_0xf91e9d._0x5c63e5,_0xf91e9d._0x5c78ee,_0xf91e9d._0x15aa65)][_0x76048b(0x665,0x54e,0x817,_0xf91e9d._0x34bae2)]>this['maxEntries']){const _0x3bde48=[...this[_0x76048b(0x4df,_0xf91e9d._0x3376d8,_0xf91e9d._0x1f6db6,0x4ba)]['values']()]['filter'](_0x3e68bb=>_0x3e68bb[_0x438bc2(0x271,0x551,0x3ca,0x3b9)]&&isTerminalStatus(_0x3e68bb['status']))[_0x76048b(0x614,_0xf91e9d._0x421ee2,0x777,0x4b8)]((_0x48d7bb,_0x320400)=>_0x48d7bb[_0x438bc2(0x793,0x54d,0x5cc,0x5c5)]-_0x320400[_0x438bc2(0x502,0x559,0x5cc,0x41a)])[0x0];if(!_0x3bde48)return;this[_0x438bc2(0x449,_0xf91e9d._0x327900,0x541,0x530)][_0x438bc2(_0xf91e9d._0x1f2ed5,0x296,_0xf91e9d._0x3b58c7,_0xf91e9d._0x5c0572)](_0x3bde48[_0x76048b(0x5b0,_0xf91e9d._0x4e3067,0x3f0,_0xf91e9d._0x2f076c)]);}}};function createBashOutputTool(_0x545ae4){const _0x193df9={_0x50a5f2:0x318,_0x530a07:0x1a5,_0x8fd35:0x22d,_0x5e0d63:0x2d6,_0x2b7765:0x349,_0x413083:0x323,_0x413fdf:0x336},_0xdd76e6={_0x56b21f:0x60a,_0x70950c:0x661,_0x442bec:0x4c9,_0x21c6a5:0x352,_0x5c21db:0x44d,_0x179cdb:0x314,_0x2bac1f:0x522,_0x23fce1:0x5dc,_0x48fcf4:0x444,_0x22fcaa:0xc6,_0x37d62e:0x8a,_0x1eef66:0x5d8,_0x20a796:0x38f,_0x2cad7c:0x13,_0x18aad1:0x388,_0x445a68:0x8e,_0x6ef5f6:0x113,_0x2e8df7:0x2e,_0x1cb9df:0x144},_0x3595ea={_0xf632a6:0x1c9,_0x301ff3:0x2ee,_0x5db044:0x1a5},_0x3a3dbe={_0x1df30c:0x1cf,_0x549e32:0x9a};function _0x3e615a(_0x5acf15,_0xa6c480,_0x3b0954,_0x24726a){return _0x1ac42a(_0x5acf15-_0x3a3dbe._0x1df30c,_0xa6c480-_0x3a3dbe._0x549e32,_0xa6c480-0xee,_0x3b0954);}function _0x2f3bf0(_0x2c555b,_0x11ae5a,_0x15d33b,_0x4e7d71){return _0x1ac42a(_0x2c555b-0x39,_0x11ae5a-0xa3,_0x2c555b-0x4ea,_0x4e7d71);}const {registry:_0x3b74e5}=_0x545ae4;return defineTool({'name':'BashOutput','permissionClass':'always-confirm','description':_0x2f3bf0(_0x193df9._0x50a5f2,_0x193df9._0x530a07,0x1a2,_0x193df9._0x8fd35),'inputSchema':{'type':_0x2f3bf0(_0x193df9._0x5e0d63,0x1b9,_0x193df9._0x2b7765,0x179),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x2f3bf0(_0x193df9._0x413083,0x388,0x22c,_0x193df9._0x413fdf)}},'required':['shellId']},async *'execute'(_0x1a0075){const _0x5584df={_0x4328df:0x116};function _0x36837a(_0x475e8b,_0x4a44e3,_0x2ae264,_0xb97b1b){return _0x3e615a(_0x475e8b-0x83,_0x2ae264- -_0x5584df._0x4328df,_0x4a44e3,_0xb97b1b-0xfd);}function _0x3b823a(_0x259360,_0x49bf9b,_0x5c9085,_0x3c1513){return _0x3e615a(_0x259360-_0x3595ea._0xf632a6,_0x5c9085-_0x3595ea._0x301ff3,_0x49bf9b,_0x3c1513-_0x3595ea._0x5db044);}const _0x23b66a=_0x3b74e5[_0x3b823a(_0xdd76e6._0x56b21f,_0xdd76e6._0x70950c,_0xdd76e6._0x442bec,0x3b6)](_0x1a0075['shellId'],_0x1a0075[_0x3b823a(0x33c,0x310,_0xdd76e6._0x21c6a5,0x1c7)]?{'regex':_0x1a0075[_0x3b823a(_0xdd76e6._0x5c21db,0x2df,0x352,_0xdd76e6._0x179cdb)]}:void 0x0);return createToolOutput(_0x23b66a[_0x3b823a(_0xdd76e6._0x2bac1f,_0xdd76e6._0x23fce1,_0xdd76e6._0x48fcf4,0x3c9)],{'shellId':_0x1a0075[_0x36837a(_0xdd76e6._0x22fcaa,0x1f2,_0xdd76e6._0x37d62e,0x108)],'status':_0x23b66a[_0x3b823a(_0xdd76e6._0x1eef66,0x323,0x467,_0xdd76e6._0x20a796)],'exitCode':_0x23b66a[_0x36837a(-_0xdd76e6._0x2cad7c,0x4d,0x78,0x19b)],'signal':_0x23b66a[_0x36837a(-_0xdd76e6._0x18aad1,-_0xdd76e6._0x445a68,-0x221,-0x259)],'error':_0x23b66a[_0x36837a(0xe1,-0xf1,0x59,-0xb7)],'truncated':_0x23b66a[_0x36837a(-0x162,_0xdd76e6._0x6ef5f6,_0xdd76e6._0x2e8df7,-_0xdd76e6._0x1cb9df)]});}});}import{spawn as _0x338aa5}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x17e031 from'os';import*as _0x5dfcea from'path';import{StringDecoder as _0x2678c9}from'string_decoder';import{spawn as _0x1a0c4b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x593253){return _0x593253 instanceof Error;}function resolveCarriageReturns(_0x20d26d){const _0x3e2d46={_0x360eac:0x94b,_0x283a29:0x712,_0x10d11b:0x69f},_0x3ce58b={_0x34a2c:0x82,_0x303b5b:0x1b0,_0x5f3712:0x138,_0x4ff14b:0x3af,_0x5ac9d9:0x300,_0x15af93:0x252},_0x15542c={_0x7c6e4:0x198,_0x33c19e:0x70},_0x42103e={_0x1f0d15:0x17f,_0x155389:0x9d},_0x15a146={_0x39cb8e:0x370,_0x44a414:0x171};function _0x2d55c8(_0x4b978c,_0x3bc9a3,_0x68ffae,_0x246d4d){return _0x151cc1(_0x4b978c-0x1db,_0x246d4d-_0x15a146._0x39cb8e,_0x4b978c,_0x246d4d-_0x15a146._0x44a414);}function _0x3067f0(_0x16af09,_0x77c484,_0xf8840f,_0xe0fd99){return _0x151cc1(_0x16af09-_0x42103e._0x1f0d15,_0xf8840f- -_0x42103e._0x155389,_0x16af09,_0xe0fd99-0x7d);}return _0x20d26d[_0x2d55c8(0x699,_0x3e2d46._0x360eac,_0x3e2d46._0x283a29,0x7ae)]('\x0a')[_0x2d55c8(0x951,0x6f3,_0x3e2d46._0x10d11b,0x797)](_0x96c803=>{const _0x460b89={_0x3f5bac:0xfb};if(!_0x96c803[_0x100925(0x25c,_0x3ce58b._0x34a2c,_0x3ce58b._0x303b5b,_0x3ce58b._0x5f3712)]('\x0d'))return _0x96c803;function _0x100925(_0x4a238a,_0x289a7b,_0x45d455,_0xc5e061){return _0x3067f0(_0x289a7b,_0x289a7b-_0x15542c._0x7c6e4,_0xc5e061- -_0x15542c._0x33c19e,_0xc5e061-0x66);}function _0x154079(_0x3b0485,_0x36c135,_0x2d42e4,_0x47049b){return _0x3067f0(_0x2d42e4,_0x36c135-_0x460b89._0x3f5bac,_0x47049b- -0x108,_0x47049b-0x46);}const _0x4346de=_0x96c803['split']('\x0d');return _0x4346de[_0x4346de[_0x154079(_0x3ce58b._0x4ff14b,_0x3ce58b._0x5ac9d9,_0x3ce58b._0x15af93,0x2e1)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x32c0eb){const _0x238d9f={_0x49948f:0x4d9,_0x58e7f7:0x4a4,_0x579908:0x5b7,_0x6d2bd8:0x511,_0x421536:0x37c,_0x135238:0x679,_0x1a7ccb:0x655},_0x4a655b={_0x479e51:0xe4},_0x26701c={_0xc178bf:0xd3,_0x277976:0x519};function _0x59a802(_0x35c174,_0x6e9db6,_0x5c36a0,_0x2c465d){return _0x1ac42a(_0x35c174-0x13c,_0x6e9db6-_0x26701c._0xc178bf,_0x2c465d-_0x26701c._0x277976,_0x5c36a0);}const _0x35838f=[];for(const _0x207092 of Array[_0x59a802(_0x238d9f._0x49948f,0x3f8,0x50a,0x534)](_0x32c0eb)){_0x207092==='\x08'?_0x35838f[_0x4bb594(0x709,_0x238d9f._0x58e7f7,_0x238d9f._0x579908,_0x238d9f._0x6d2bd8)]():_0x35838f[_0x59a802(0x5bb,_0x238d9f._0x421536,0x3d0,0x530)](_0x207092);}function _0x4bb594(_0x3ec7cb,_0x4db120,_0x58f8a7,_0x159b48){return _0x151cc1(_0x3ec7cb-_0x4a655b._0x479e51,_0x58f8a7-0x31d,_0x3ec7cb,_0x159b48-0x1a7);}return _0x35838f[_0x59a802(0x6d4,0x582,_0x238d9f._0x135238,_0x238d9f._0x1a7ccb)]('');}function stripAnsiAndControls(_0x48ecb1){const _0x9509dd={_0x91ca1b:0xcd,_0x1ad577:0xcc,_0x5daba2:0x1da,_0x4ee32e:0x25b,_0x424fee:0x4d,_0x5e3457:0x28d,_0x45a051:0xff,_0x336f2a:0x3,_0x4b94e5:0x16f,_0x4e000f:0x2d6,_0x437227:0x3d5,_0x1511db:0x277,_0x562080:0x196,_0x175197:0x51,_0x3cd8f5:0xfd,_0x2dad33:0x1d2,_0x5334db:0x58,_0x3c99c0:0x191},_0x550640={_0x1f8d36:0xa6,_0x5ed80f:0xc4},_0x36997b={_0x1daece:0x10f,_0xf3ea0e:0x5};_0x48ecb1=resolveCarriageReturns(_0x48ecb1),_0x48ecb1=resolveBackspaces(_0x48ecb1),_0x48ecb1=stripVTControlCharacters(_0x48ecb1);function _0x4ee20b(_0x419f7c,_0x5e5b37,_0x35d434,_0xee48c2){return _0x151cc1(_0x419f7c-_0x36997b._0x1daece,_0x35d434- -0xd4,_0x419f7c,_0xee48c2-_0x36997b._0xf3ea0e);}const _0x3b961f='\x1b',_0x57fb69='\x07';_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x4ee20b(_0x9509dd._0x91ca1b,_0x9509dd._0x1ad577,_0x9509dd._0x5daba2,_0x9509dd._0x4ee32e)+_0x57fb69+'\x5cn]*?'+_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x424fee,_0x9509dd._0x5e3457,0xfd,_0x9509dd._0x45a051)](new RegExp(_0x4ee20b(-0x79,_0x9509dd._0x336f2a,0x102,0x8f)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x380,_0x9509dd._0x4b94e5,0x277,_0x9509dd._0x4e000f)](new RegExp(_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x3b961f+_0x4ee20b(0x1f5,0x36d,0x21a,_0x9509dd._0x437227)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x189,0x341,_0x9509dd._0x1511db,0x205)](new RegExp(_0x3b961f+'[=>7-8()]','g'),'');function _0x4d2b0c(_0x35a85b,_0x24293f,_0x21f03e,_0x4365be){return _0x151cc1(_0x35a85b-0x88,_0x21f03e-_0x550640._0x1f8d36,_0x4365be,_0x4365be-_0x550640._0x5ed80f);}return _0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x562080,-_0x9509dd._0x175197,_0x9509dd._0x3cd8f5,-0x4e)](/[\u0080-\u009F]/g,''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x445,0x194,_0x9509dd._0x1511db,0x108)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x2dad33,_0x9509dd._0x5334db,0xfd,_0x9509dd._0x3c99c0)](/[\u23CE\u2424]/g,''),_0x48ecb1;}function killProcessGroup(_0x31090c,_0x323c42,_0x270328=_0x151cc1(0x247,0x2a5,0x3fb,0x3ff)){const _0x5baee9={_0x496983:0x6c4,_0x1d65cd:0x520,_0x2b10d5:0x4a5,_0x596b98:0x639,_0x59a7cd:0x4ab,_0x309e87:0x419,_0x1bf3b2:0x618,_0x3cb2f9:0x7a5,_0x10369d:0x654,_0x1f8c9:0x41c},_0x43f77b={_0x2dfe00:0x29,_0x5291a0:0x262},_0x56eb66={_0x5c1fd2:0x11f,_0x23190a:0x1e0};if(!_0x31090c[_0x4d64a2(0x77a,_0x5baee9._0x496983,0x50b,0x654)])return;function _0x229bf6(_0x4bb694,_0xe27327,_0x5474cd,_0x435aa0){return _0x1ac42a(_0x4bb694-_0x56eb66._0x5c1fd2,_0xe27327-_0x56eb66._0x23190a,_0xe27327-0x500,_0x5474cd);}if(_0x323c42)try{_0x1a0c4b('taskkill',[_0x4d64a2(_0x5baee9._0x1d65cd,0x4b5,_0x5baee9._0x2b10d5,0x47d),_0x31090c[_0x4d64a2(0x6d0,_0x5baee9._0x596b98,0x776,0x654)][_0x229bf6(_0x5baee9._0x59a7cd,0x3d2,0x3d1,0x2eb)](),'/T','/F'],{'stdio':_0x4d64a2(_0x5baee9._0x309e87,0x2f0,0x39e,0x453)});return;}catch{_0x31090c['kill'](_0x270328);return;}function _0x4d64a2(_0x853e7e,_0x1b5184,_0x2fdb7d,_0x1ee4b5){return _0x151cc1(_0x853e7e-_0x43f77b._0x2dfe00,_0x1ee4b5-_0x43f77b._0x5291a0,_0x1b5184,_0x1ee4b5-0x162);}try{process[_0x4d64a2(_0x5baee9._0x1bf3b2,0x52f,0x60b,0x541)](-_0x31090c[_0x4d64a2(_0x5baee9._0x3cb2f9,0x75a,0x744,_0x5baee9._0x10369d)],_0x270328);}catch{_0x31090c[_0x4d64a2(0x5a0,_0x5baee9._0x1f8c9,0x643,0x541)](_0x270328);}}import{stat}from'fs/promises';import*as _0x3c902f from'path';function isPathInside(_0x502429,_0x33fa1a){const _0x321164={_0x119529:0x227,_0x4161e9:0x24d},_0x24404a={_0x3f97ff:0xd1,_0x21e14d:0x328};function _0x25f6a4(_0x34242e,_0x13d955,_0x507bb4,_0x577407){return _0x151cc1(_0x34242e-_0x24404a._0x3f97ff,_0x34242e-_0x24404a._0x21e14d,_0x13d955,_0x577407-0x78);}function _0x33e8ff(_0x53eace,_0x425cb1,_0x317713,_0x3a33ad){return _0x151cc1(_0x53eace-0x1aa,_0x53eace- -0x3e,_0x425cb1,_0x3a33ad-0x167);}const _0xa682db=_0x3c902f['resolve'](_0x502429),_0x42b2b1=_0x3c902f[_0x33e8ff(_0x321164._0x119529,0xf8,0x102,0x22c)](_0xa682db,_0x33fa1a);return _0x42b2b1===''||!_0x42b2b1[_0x33e8ff(0x3cf,_0x321164._0x4161e9,0x549,0x2b3)]('..')&&!_0x3c902f[_0x33e8ff(_0x321164._0x4161e9,0x189,0x103,0x2c0)](_0x42b2b1);}function resolveWorkspacePath(_0x59645b,_0x307f66){return resolveAllowedPath(_0x59645b,[],_0x307f66);}function resolveAllowedPath(_0xe7b3ff,_0x577ae6,_0x3b706e){const _0x21f43d={_0x31e862:0x480,_0x241c76:0x52e,_0x1d670d:0x368,_0x2a2925:0x424,_0x7fd14:0x29e,_0x31cf16:0x169,_0x46b4ac:0x1b8,_0x4f793d:0x3f,_0x5ee49b:0xba,_0x1cc733:0x2e0},_0x8376cb={_0x212f56:0x9a},_0x24aee0={_0x416b7d:0xc1,_0x281b7f:0x2dd,_0x4da0a7:0x191};function _0xb211e2(_0x2d4705,_0x1b3f49,_0x15972b,_0xd3603d){return _0x151cc1(_0x2d4705-_0x24aee0._0x416b7d,_0x1b3f49- -_0x24aee0._0x281b7f,_0x15972b,_0xd3603d-_0x24aee0._0x4da0a7);}function _0x57be40(_0x1303b1,_0x51cbd5,_0x51f4fa,_0x38802f){return _0x151cc1(_0x1303b1-0xea,_0x38802f-_0x8376cb._0x212f56,_0x51f4fa,_0x38802f-0x197);}const _0x432884=_0x3c902f[_0x57be40(_0x21f43d._0x31e862,0x26c,_0x21f43d._0x241c76,0x3b5)](_0xe7b3ff),_0x583f55=_0x3c902f[_0x57be40(_0x21f43d._0x1d670d,_0x21f43d._0x2a2925,_0x21f43d._0x7fd14,0x3b5)](_0x432884,_0x3b706e),_0x3207e6=[_0x432884,..._0x577ae6['map'](_0x418707=>_0x3c902f[_0xb211e2(0xff,0x3e,0x10d,-0x31)](_0x418707))];if(_0x3207e6[_0xb211e2(0x137,_0x21f43d._0x31cf16,_0x21f43d._0x46b4ac,_0x21f43d._0x4f793d)](_0x1d9630=>isPathInside(_0x1d9630,_0x583f55)))return _0x583f55;throw new ToolExecutionError(_0x57be40(0x30c,_0x21f43d._0x5ee49b,_0x21f43d._0x1cc733,0x214)+_0x3b706e,{'path':_0x3b706e,'rootDir':_0x432884,'allowedDirs':_0x3207e6});}async function assertWorkspaceFile(_0x471636){const _0x4640c8={_0x4ca71e:0x21f,_0x2a1fb7:0x25e},_0x511afc={_0x13f84c:0x17d,_0x1806d3:0x10e};function _0x4d6567(_0x3899a4,_0x2381ab,_0x5cbbc9,_0x13b4e7){return _0x151cc1(_0x3899a4-_0x511afc._0x13f84c,_0x13b4e7- -0x403,_0x5cbbc9,_0x13b4e7-_0x511afc._0x1806d3);}const _0x57d5cf=await stat(_0x471636);if(!_0x57d5cf[_0x4d6567(_0x4640c8._0x4ca71e,0x258,_0x4640c8._0x2a1fb7,0xc7)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x471636,{'path':_0x471636});}function isProbablyBinary(_0x11d920){const _0x4f85e6={_0x43bc28:0x437,_0x25af95:0x40d},_0x3634c2={_0x14aaed:0xdf,_0x41d6ca:0x1c6};function _0x5ee565(_0x4745e5,_0x4c4580,_0x340fd7,_0x4f5523){return _0x151cc1(_0x4745e5-_0x3634c2._0x14aaed,_0x4f5523-0xd3,_0x340fd7,_0x4f5523-_0x3634c2._0x41d6ca);}return _0x11d920[_0x5ee565(0x20b,_0x4f85e6._0x43bc28,_0x4f85e6._0x25af95,0x318)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x1ac42a(-0x5,-0xac,-0x187,-0x1f0)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x223abe,_0x9a4259,_0x391e50){const _0x43f1ba={_0x459d2c:0x63,_0x421c18:0x24,_0xd6ede7:0x2fd,_0x804065:0x294,_0x4df158:0x4b1,_0x525cb0:0x557,_0x1008a6:0x236,_0x369933:0x2f2,_0x225f87:0x1c3,_0x3f480d:0x24e,_0x41d1e9:0x516,_0x104e29:0x388,_0x5a77eb:0x248,_0x382a69:0x648,_0x2aed50:0x53e,_0x2910f5:0x190},_0x925deb={_0xb97311:0x1bb,_0x40a1bd:0x507},_0x36ac3e={_0x3aac09:0x164,_0x457ae1:0x1f1};function _0x60ef37(_0x1eb733,_0x51eff1,_0x23da20,_0xf09dad){return _0x151cc1(_0x1eb733-_0x36ac3e._0x3aac09,_0xf09dad- -_0x36ac3e._0x457ae1,_0x51eff1,_0xf09dad-0x10a);}const _0x568805={...process[_0x60ef37(_0x43f1ba._0x459d2c,-_0x43f1ba._0x421c18,0x72,0x14b)],..._0x223abe??{}};function _0x5b883e(_0x5282d5,_0x5b7913,_0x2dae4f,_0x56f535){return _0x1ac42a(_0x5282d5-_0x925deb._0xb97311,_0x5b7913-0x1ae,_0x2dae4f-_0x925deb._0x40a1bd,_0x5b7913);}if(_0x17e031['platform']()===_0x5b883e(_0x43f1ba._0xd6ede7,0x301,0x3bc,_0x43f1ba._0x804065)){const _0x3769e8=new Set(_0x9a4259[_0x5b883e(_0x43f1ba._0x4df158,0x472,0x5b1,_0x43f1ba._0x525cb0)](_0x30dfc5=>_0x30dfc5['toLowerCase']()));for(const _0x15ade3 of Object[_0x60ef37(_0x43f1ba._0x1008a6,0xc0,_0x43f1ba._0x369933,_0x43f1ba._0x225f87)](_0x568805)){if(_0x3769e8['has'](_0x15ade3[_0x5b883e(_0x43f1ba._0x3f480d,_0x43f1ba._0x41d1e9,_0x43f1ba._0x104e29,_0x43f1ba._0x5a77eb)]()))delete _0x568805[_0x15ade3];}}else{for(const _0x5a9cdb of _0x9a4259)delete _0x568805[_0x5a9cdb];if(_0x391e50['length']>0x0)for(const _0x4c88eb of Object[_0x5b883e(0x478,_0x43f1ba._0x382a69,_0x43f1ba._0x2aed50,0x5a3)](_0x568805)){_0x391e50[_0x60ef37(_0x43f1ba._0x2910f5,0x1f7,0xdc,0x255)](_0x54ae1f=>_0x4c88eb[_0x5b883e(0x701,0x6e9,0x597,0x4e3)](_0x54ae1f))&&delete _0x568805[_0x4c88eb];}}return _0x568805;}function mapSpawnError(_0x360709,_0x13c458){const _0x1ce55c={_0x898d24:0x261,_0x182e8c:0x35c,_0x191976:0xfe,_0x191e0d:0x2ac,_0x57c33e:0x16e,_0x54690:0x4f5,_0x19c72d:0x558},_0x129484={_0x5cfb42:0x170},_0x5dba53={_0x3da370:0x1d0};if(isErrnoException(_0x360709)&&_0x360709[_0x14b8d9(0xf1,0x3ed,_0x1ce55c._0x898d24,0x1e2)]===_0x14b8d9(0x2b8,_0x1ce55c._0x182e8c,0x288,_0x1ce55c._0x191976))return new ToolExecutionError(_0x14b8d9(0x2f2,_0x1ce55c._0x191e0d,_0x1ce55c._0x57c33e,-0x3e)+_0x13c458['shellPath'],_0x13c458);function _0x14b8d9(_0x1a81ec,_0x4d114b,_0x2add58,_0x552041){return _0x1ac42a(_0x1a81ec-_0x5dba53._0x3da370,_0x4d114b-0x16f,_0x2add58-0x162,_0x1a81ec);}function _0x33699c(_0x5f5934,_0x210241,_0x179114,_0x448ff5){return _0x151cc1(_0x5f5934-_0x129484._0x5cfb42,_0x5f5934-0x1ba,_0x210241,_0x448ff5-0xff);}return new ToolExecutionError(_0x360709 instanceof Error?_0x360709[_0x33699c(0x648,_0x1ce55c._0x54690,_0x1ce55c._0x19c72d,0x772)]:String(_0x360709),_0x13c458);}function shellExists(_0x18f064){const _0x1eb681={_0x58946f:0x724},_0x851791={_0x36c563:0xc5,_0x172249:0x703};function _0x2290f5(_0x39ea11,_0x3d2ef9,_0xae5e01,_0x5ac9ed){return _0x1ac42a(_0x39ea11-0x57,_0x3d2ef9-_0x851791._0x36c563,_0xae5e01-_0x851791._0x172249,_0x39ea11);}try{const _0x111e7e=statSync(_0x18f064);return _0x111e7e['isFile']()&&(_0x111e7e[_0x2290f5(0x8e0,0x5c2,0x768,_0x1eb681._0x58946f)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4f3eb8){const _0x523ba6={_0x4cd9ac:0x7ad,_0x1c2f7e:0x6b3,_0x4a9e89:0x523,_0x188460:0x56f,_0x14b2ec:0x59b,_0x2adcd0:0x881,_0xfc6f0a:0x735,_0x2d0add:0x3ae,_0x38bb3f:0x3e6,_0x143047:0x39e,_0x160bad:0x743,_0x392427:0x5b5,_0x4cc809:0x6dd,_0x445e33:0x68f,_0x179cd3:0x1f7,_0x3bfb3c:0x3a9,_0x2bec03:0x4fb,_0x53f30f:0x245},_0x4ac0fe={_0x304a31:0x35,_0xa1b6e9:0x66e},_0x2b8155={_0xc9f358:0x36c};if(_0x4f3eb8)return _0x4f3eb8;function _0xc774b(_0x238776,_0x10d81c,_0x3d1151,_0x5099cf){return _0x1ac42a(_0x238776-0x5f,_0x10d81c-0x195,_0x10d81c-_0x2b8155._0xc9f358,_0x238776);}if(_0x17e031[_0x157a36(_0x523ba6._0x4cd9ac,0x5ef,_0x523ba6._0x1c2f7e,0x6c8)]()===_0x157a36(0x60c,_0x523ba6._0x4a9e89,_0x523ba6._0x188460,_0x523ba6._0x14b2ec))return process[_0x157a36(0x46e,0x62d,0x752,0x75a)][_0x157a36(_0x523ba6._0x2adcd0,_0x523ba6._0xfc6f0a,0x6a9,0x60d)]||'cmd.exe';const _0x2b164e=[_0xc774b(0x2ee,0x3a9,0x1f8,_0x523ba6._0x2d0add),_0xc774b(0x32d,_0x523ba6._0x38bb3f,_0x523ba6._0x143047,0x4bc),_0x157a36(0x855,_0x523ba6._0x160bad,_0x523ba6._0x392427,0x7e2),_0x157a36(0x614,_0x523ba6._0x4cc809,0x64e,0x520)];for(const _0x4a0123 of _0x2b164e){if(shellExists(_0x4a0123))return _0x4a0123;}const _0x4f4908=process[_0x157a36(0x4eb,0x62d,0x7d4,_0x523ba6._0x445e33)][_0xc774b(0x185,0x1c1,_0x523ba6._0x179cd3,0x2fe)];if(_0x4f4908&&shellExists(_0x4f4908))return _0x4f4908;function _0x157a36(_0x5cfcbc,_0x189728,_0x2d197c,_0x31eb1f){return _0x1ac42a(_0x5cfcbc-_0x4ac0fe._0x304a31,_0x189728-0x59,_0x189728-_0x4ac0fe._0xa1b6e9,_0x2d197c);}return _0xc774b(0x2a1,_0x523ba6._0x3bfb3c,_0x523ba6._0x2bec03,_0x523ba6._0x53f30f);}function buildShellArgs(_0x32171a,_0x130d12){const _0x397204={_0x1340ff:0x1ca,_0x15c4da:0x2f1,_0x4cee9a:0x81,_0x1729d4:0x1cb,_0x3c5340:0x189},_0x94e3c3={_0x4e6ce2:0x23e},_0x379197={_0x325899:0x7c,_0x5b46a5:0x5e};function _0x2fe3f2(_0x2fa5a1,_0x5003ba,_0x5bda7f,_0x9e9fcb){return _0x1ac42a(_0x2fa5a1-_0x379197._0x325899,_0x5003ba-_0x379197._0x5b46a5,_0x5bda7f-0x1f7,_0x2fa5a1);}if(_0x17e031[_0x2fe3f2(0x1dc,_0x397204._0x1340ff,0x178,0x241)]()==='win32'){const _0x3b9d59=/cmd(\.exe)?$/i[_0x2fe3f2(_0x397204._0x15c4da,0x26e,0x35c,0x30f)](_0x130d12);return _0x3b9d59?['/d','/s','/c',_0x32171a]:[_0x2fe3f2(0x7c,-0x12e,0x9f,_0x397204._0x4cee9a),_0x2fe3f2(_0x397204._0x1729d4,0x221,0x184,0x32f),_0x2fe3f2(0x16a,0x341,_0x397204._0x3c5340,0x309),_0x32171a];}function _0x10fbbf(_0x2475f1,_0x30af1d,_0x3d95b2,_0x75ee51){return _0x151cc1(_0x2475f1-0x1a,_0x75ee51-_0x94e3c3._0x4e6ce2,_0x30af1d,_0x75ee51-0x7b);}return['-c',_0x32171a];}function resolveWorkingDirectory(_0x44f751,_0x5df0d2,_0x19e914){const _0xf5e8a7={_0x462abc:0x61f,_0x392c21:0x618,_0x167895:0x62a,_0x1e8b86:0x722,_0xd8974c:0x753,_0x2637e5:0x838,_0x1939f4:0x248,_0x5ea72a:0x385,_0x2f7aaa:0x38,_0x473cf2:0xb6,_0x5f4505:0x53},_0x5a652d={_0x1ade51:0x3ae,_0x24fa34:0x443,_0xa9b7bb:0x3a8},_0x38b14a={_0xafec10:0x59,_0x53f378:0x2e4},_0x49c962={_0xaa965b:0x18f,_0xf3cef0:0x1df,_0x45208d:0x194};function _0x3ab3c5(_0x44b507,_0x4f77a6,_0x589063,_0x91f65e){return _0x151cc1(_0x44b507-_0x49c962._0xaa965b,_0x44b507- -_0x49c962._0xf3cef0,_0x4f77a6,_0x91f65e-_0x49c962._0x45208d);}const _0x3f6450=resolveAllowedPath(_0x5df0d2,_0x19e914,_0x44f751??'.');function _0x2066a1(_0x31835e,_0x553d3c,_0x5813c1,_0x4f59e7){return _0x151cc1(_0x31835e-_0x38b14a._0xafec10,_0x4f59e7-_0x38b14a._0x53f378,_0x31835e,_0x4f59e7-0xcf);}try{const _0x26fd25=statSync(_0x3f6450);if(!_0x26fd25[_0x2066a1(_0xf5e8a7._0x462abc,_0xf5e8a7._0x392c21,0x778,_0xf5e8a7._0x167895)]())throw new ToolExecutionError(_0x2066a1(_0xf5e8a7._0x1e8b86,_0xf5e8a7._0xd8974c,_0xf5e8a7._0x2637e5,0x7e1)+_0x3f6450,{'cwd':_0x3f6450});const _0x3c7181=realpathSync(_0x3f6450),_0x14d01e=realpathSync(_0x5df0d2),_0x3fa04a=_0x19e914[_0x3ab3c5(_0xf5e8a7._0x1939f4,_0xf5e8a7._0x5ea72a,0x21e,0x36f)](_0x99b971=>{const _0x2f0a02={_0x415b17:0x128},_0x5ab760={_0x21b4e2:0x66};function _0x5e89b1(_0x22170a,_0x13e76d,_0x2433a3,_0x3c2f4c){return _0x2066a1(_0x2433a3,_0x13e76d-0x18f,_0x2433a3-_0x5ab760._0x21b4e2,_0x22170a- -0x25c);}function _0x17dbdb(_0x5c05f6,_0x450340,_0x3f6970,_0x5661be){return _0x2066a1(_0x3f6970,_0x450340-0x82,_0x3f6970-0x49,_0x5c05f6- -_0x2f0a02._0x415b17);}try{return realpathSync(_0x5dfcea[_0x17dbdb(0x4d7,0x361,_0x5a652d._0x1ade51,_0x5a652d._0x24fa34)](_0x99b971));}catch{return _0x5dfcea[_0x5e89b1(0x3a3,0x27b,_0x5a652d._0xa9b7bb,0x1fb)](_0x99b971);}});return resolveAllowedPath(_0x14d01e,_0x3fa04a,_0x3c7181);}catch(_0x50f1bb){if(_0x50f1bb instanceof ToolExecutionError)throw _0x50f1bb;throw new ToolExecutionError(_0x3ab3c5(-_0xf5e8a7._0x2f7aaa,_0xf5e8a7._0x473cf2,-0x176,-_0xf5e8a7._0x5f4505)+_0x3f6450,{'cwd':_0x3f6450});}}function resolveBashExecutionTarget(_0x143cc1,_0x4f6b3b={}){const _0x1d1c52={_0x4defa4:0x157,_0x2a95e1:0x2cc,_0x5c1869:0x14d,_0x12ac59:0xad,_0x3e6f75:0x3e,_0x44f4a7:0x139,_0x4fb1b2:0x100,_0x470b39:0x172},_0x443937={_0x269cbe:0x81,_0x41dc21:0x1af},_0x3399ff={_0x21aa78:0x10b,_0x26f559:0x191,_0x3a78a4:0x149};function _0x517cd7(_0x9d4181,_0x511627,_0x3869e0,_0x72ff68){return _0x151cc1(_0x9d4181-_0x3399ff._0x21aa78,_0x9d4181- -_0x3399ff._0x26f559,_0x3869e0,_0x72ff68-_0x3399ff._0x3a78a4);}function _0x1eaf56(_0x49616b,_0x25ce8f,_0x2508f4,_0x284446){return _0x1ac42a(_0x49616b-_0x443937._0x269cbe,_0x25ce8f-_0x443937._0x41dc21,_0x284446-0x11a,_0x2508f4);}const _0x3cf486=_0x5dfcea['resolve'](_0x4f6b3b[_0x1eaf56(_0x1d1c52._0x4defa4,0xf7,_0x1d1c52._0x2a95e1,_0x1d1c52._0x5c1869)]??process[_0x1eaf56(-_0x1d1c52._0x12ac59,-_0x1d1c52._0x3e6f75,-0x44,0x34)]()),_0x454244=resolveDefaultShell(_0x4f6b3b[_0x1eaf56(0xac,-_0x1d1c52._0x44f4a7,-_0x1d1c52._0x4fb1b2,0x92)]);return{'command':_0x143cc1[_0x1eaf56(_0x1d1c52._0x470b39,0x1,0xc0,0xd2)],'cwd':resolveWorkingDirectory(_0x143cc1['cwd'],_0x3cf486,_0x4f6b3b['allowedDirs']??[]),'shellPath':_0x454244,'dialect':resolveShellDialect(_0x454244),'background':_0x143cc1['runInBackground']??![]};}function resolveShellDialect(_0x622c58){const _0x4af69b={_0x44a6a2:0x54c,_0x539681:0x705,_0xef6e4c:0x5a4,_0x4574e6:0x5bd,_0x46d141:0x395,_0x2cc694:0x35b,_0x2b7193:0x506,_0xdb7f18:0x4ae,_0x172483:0x556,_0x1f571e:0x570,_0x1e648e:0x538,_0x103e6c:0x588,_0x48acb3:0x444,_0x181a4b:0x5f9,_0x1f9bfa:0x600,_0x2b4784:0x66d},_0x3811ad={_0x2cc6cd:0x372};if(_0x17e031[_0x103d5a(0x497,0x319,0x48b,_0x4af69b._0x44a6a2)]()===_0x376693(_0x4af69b._0x539681,0x726,_0x4af69b._0xef6e4c,_0x4af69b._0x4574e6))return _0x103d5a(0x449,_0x4af69b._0x46d141,0x311,_0x4af69b._0x2cc694);const _0x4a36fc=_0x5dfcea[_0x103d5a(0x607,0x4b6,_0x4af69b._0x2b7193,0x758)](_0x622c58)[_0x376693(_0x4af69b._0xdb7f18,_0x4af69b._0x172483,_0x4af69b._0x1f571e,0x4f1)]();function _0x103d5a(_0x18cc8f,_0xa60467,_0x227ea7,_0x1f59c1){return _0x151cc1(_0x18cc8f-0x19b,_0x18cc8f-0x199,_0x227ea7,_0x1f59c1-0x128);}if(_0x4a36fc===_0x376693(_0x4af69b._0x1e648e,0x59e,0x5a5,0x518))return _0x376693(_0x4af69b._0x103e6c,0x5bd,0x5a5,0x64e);if(_0x4a36fc==='sh'||_0x4a36fc===_0x376693(0x5b7,_0x4af69b._0x48acb3,_0x4af69b._0x181a4b,0x43a))return _0x376693(0x5e6,_0x4af69b._0x1f9bfa,0x648,_0x4af69b._0x2b4784);function _0x376693(_0x3508e7,_0x9d1c03,_0xc63279,_0x3d9f49){return _0x151cc1(_0x3508e7-0x1e4,_0xc63279-_0x3811ad._0x2cc6cd,_0x3508e7,_0x3d9f49-0x11e);}return'unknown';}function emitChunk(_0x16e27d,_0x444227,_0x3a78ed,_0x4ce7ad){const _0x2c6559={_0x59e876:0x9d,_0x31dd07:0xc8,_0x3ef696:0x1a2},_0x295db1={_0x45d41c:0xde,_0x327ffb:0x4e},_0x1f6bf8={_0x5305f1:0x86};_0x16e27d[_0x5d4b17(0x71,0x254,_0x2c6559._0x59e876,0x159)](_0x3a78ed),_0x444227[_0x5d4b17(-_0x2c6559._0x31dd07,_0x2c6559._0x3ef696,0x9d,-0x8a)](_0x3a78ed);function _0x5d4b17(_0x339015,_0x1d6ca8,_0x2a3322,_0x595e92){return _0x1ac42a(_0x339015-0xfb,_0x1d6ca8-0x19c,_0x2a3322-_0x1f6bf8._0x5305f1,_0x595e92);}function _0x48eec9(_0x570ce5,_0x58aea2,_0x5161b0,_0x52b67b){return _0x151cc1(_0x570ce5-_0x295db1._0x45d41c,_0x5161b0- -0x40c,_0x58aea2,_0x52b67b-_0x295db1._0x327ffb);}_0x4ce7ad();}function appendChunk(_0x401ce0,_0x4e8d07,_0x4cfa92,_0x52884b,_0x355a3d,_0x5d2804){const _0x279035={_0x2efd72:0x390,_0x3e0a93:0x29c,_0x417ea6:0x210,_0x30a430:0x334,_0x52b147:0x2d5,_0x4e8f49:0x131,_0x584be2:0xfa,_0x236c80:0x415,_0x455682:0x4f2,_0x48d26f:0x546,_0x319b1a:0x5c7,_0x193fc3:0x5d7,_0x533de0:0xc7,_0xa9caf8:0xc4,_0x3538ca:0x8e,_0x36e025:0x50f,_0x4b5b76:0x2f5,_0x38f61f:0x4d0,_0x136b5b:0x415,_0x5e97cf:0x2e0,_0x2d61c2:0x253},_0x10a2d0={_0x32bc55:0x265,_0x3acafa:0x133},_0x4d8810={_0x56dea7:0x31d},_0x2f6499=_0x52884b?stripAnsiAndControls(_0x4cfa92):_0x4cfa92;if(_0x2f6499[_0x51a47b(0x426,0x501,_0x279035._0x2efd72,_0x279035._0x3e0a93)]===0x0)return;function _0x51a47b(_0x25bd08,_0x14525f,_0x51dd02,_0x31dac5){return _0x1ac42a(_0x25bd08-0xdd,_0x14525f-0x1a8,_0x25bd08-_0x4d8810._0x56dea7,_0x51dd02);}if(!_0x5d2804){emitChunk(_0x401ce0,_0x4e8d07,_0x2f6499,_0x355a3d);return;}function _0x1ab7df(_0x20f4dd,_0x13c3f3,_0x49837e,_0x50cea9){return _0x151cc1(_0x20f4dd-0xe2,_0x50cea9- -_0x10a2d0._0x32bc55,_0x20f4dd,_0x50cea9-_0x10a2d0._0x3acafa);}let _0x4a0476=0x0,_0x1fcf10=_0x2f6499['indexOf']('\x0a');while(_0x1fcf10>=0x0){_0x5d2804[_0x1ab7df(0x1a7,0x3d1,0x16b,_0x279035._0x417ea6)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x52b147,0x2ff,0x38c)](_0x2f6499[_0x1ab7df(-0xd4,0x37,_0x279035._0x4e8f49,_0x279035._0x584be2)](_0x4a0476,_0x1fcf10));const _0x17ae5b=_0x5d2804[_0x51a47b(_0x279035._0x236c80,_0x279035._0x455682,_0x279035._0x48d26f,0x564)][_0x51a47b(0x459,0x46f,_0x279035._0x319b1a,0x45c)]('');_0x5d2804[_0x51a47b(0x415,_0x279035._0x193fc3,0x469,0x4b6)]['length']=0x0,_0x5d2804[_0x1ab7df(_0x279035._0x533de0,-_0x279035._0xa9caf8,0xc8,_0x279035._0x3538ca)][_0x51a47b(0x482,_0x279035._0x36e025,0x4df,0x643)](_0x17ae5b)&&emitChunk(_0x401ce0,_0x4e8d07,_0x17ae5b+'\x0a',_0x355a3d),_0x4a0476=_0x1fcf10+0x1,_0x1fcf10=_0x2f6499[_0x51a47b(0x1eb,_0x279035._0x4b5b76,0x26d,0x37c)]('\x0a',_0x4a0476);}_0x4a0476<_0x2f6499[_0x51a47b(0x426,0x56a,0x373,_0x279035._0x38f61f)]&&_0x5d2804[_0x51a47b(_0x279035._0x136b5b,_0x279035._0x5e97cf,0x2d7,0x5ae)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x2d61c2,0x2c7,0x27c)](_0x2f6499['slice'](_0x4a0476));}function flushOutputRegex(_0x54ec21,_0x4ee01a,_0x1074c2,_0x116d3e){const _0x238bd7={_0x33a76d:0x54e,_0x459fa2:0x40b,_0x3f36cd:0x333,_0x37fd93:0x1e5,_0x14619e:0x703,_0x432393:0x6dc,_0x4b96b0:0x5b8,_0x162b67:0x703,_0x58c390:0x7d2,_0x5c3db7:0x80c},_0x1243ef={_0x1e6439:0x1cb,_0x291c6f:0x28e},_0x20cd7d={_0x58ea00:0x12f,_0x5c7f0f:0x153};if(!_0x1074c2||_0x1074c2[_0x137a2(0x703,_0x238bd7._0x33a76d,0x67e,0x678)][_0xab971c(_0x238bd7._0x459fa2,0x264,_0x238bd7._0x3f36cd,_0x238bd7._0x37fd93)]===0x0)return;function _0xab971c(_0xee9968,_0x396e78,_0x304047,_0x128ff4){return _0x151cc1(_0xee9968-_0x20cd7d._0x58ea00,_0x304047- -_0x20cd7d._0x5c7f0f,_0xee9968,_0x128ff4-0x10f);}const _0x38ab18=_0x1074c2[_0x137a2(_0x238bd7._0x14619e,0x546,_0x238bd7._0x432393,_0x238bd7._0x4b96b0)]['join']('');_0x1074c2[_0x137a2(_0x238bd7._0x162b67,0x6c6,_0x238bd7._0x58c390,_0x238bd7._0x5c3db7)]['length']=0x0;function _0x137a2(_0x1921bf,_0x880390,_0x1f7b18,_0x3758ee){return _0x151cc1(_0x1921bf-_0x1243ef._0x1e6439,_0x1921bf-_0x1243ef._0x291c6f,_0x3758ee,_0x3758ee-0x1b9);}_0x1074c2['regex']['test'](_0x38ab18)&&emitChunk(_0x54ec21,_0x4ee01a,_0x38ab18,_0x116d3e);}function createBashTool(_0x5a9bb2={}){const _0x4cf081={_0x236b9a:0xa9,_0x23f530:0x167,_0x39b0d4:0xf1,_0x292649:0x102,_0x39fe96:0x1fa,_0x1dafb8:0xe5,_0x314a59:0x21b,_0x5d77d3:0x368,_0xee45f5:0x3ef,_0x750f1c:0x2fd,_0x29f085:0x14c,_0x22910e:0x2bb,_0x159569:0x15d,_0x5a447f:0x1a2,_0x4db7ea:0x21,_0x209f92:0x1c5,_0x4cb13f:0x199,_0x1c4add:0x4a,_0x267c2e:0x17b,_0x9d656f:0x25,_0x12d303:0x21,_0x55f76c:0xb4,_0x28cc56:0x113,_0x28a407:0x56,_0x126db2:0xc6,_0x2325e7:0x137,_0x25feef:0x1be,_0xd91e44:0xf9},_0x44f999={_0x2a4791:0x34f,_0x4e4b40:0x253,_0x2b9c5b:0x43e,_0x325f30:0x382,_0x493c78:0x606,_0x118481:0x6be,_0x4276bd:0x762,_0x1a0ea1:0x3f2,_0x4302c8:0x38e,_0x5b5430:0x33b,_0x49a58d:0x4ca,_0x5d3944:0x6ef,_0x53d3b7:0x5e8,_0x11771f:0x6c9,_0xc632d:0x4b5,_0x2d1d8e:0x4fc,_0x480bf5:0x3d5,_0xed281b:0x6d0,_0x26c8e8:0x890,_0x383ee3:0x72e,_0x4caa2c:0x690,_0x8ef48c:0x58d,_0x4f6dc6:0x447,_0x3a911e:0x4ec,_0x19bc78:0x5c4,_0x30a271:0x518,_0x5512ce:0x5bd,_0x33e945:0x663,_0x5259dd:0x7c2,_0x5c5217:0x51a,_0x18d784:0x413,_0x38721c:0x3c8,_0x1ee3eb:0x3ca,_0x69b021:0x4c1,_0x2d79c4:0x3c2,_0x5a8867:0x334,_0x8c475a:0x351,_0x4ff31c:0x39b,_0x34daea:0x5ae,_0x2f0961:0x458,_0x5c4cd7:0x454,_0x277d43:0x557,_0x407067:0x438,_0x2d7803:0x2f2,_0x11ee8c:0x6c9,_0x2c2fa1:0x76b,_0x19b1e8:0x599,_0x4475b8:0x475,_0xe1b8d4:0x676,_0x2eed7f:0x334,_0x42856f:0x424,_0x65b3de:0x64a,_0x156e43:0x79f,_0x13aef6:0x95c,_0x2a3012:0x825,_0x2c3b15:0x653,_0x5890f7:0x3df,_0x51b87c:0x5a9,_0x412f93:0x4e8,_0x1fb9b8:0x4bb,_0xb885e8:0x74c,_0x559166:0xa4a,_0x4b3a4c:0x7c3,_0x361fcb:0x626,_0x1584f8:0x62f,_0x593d90:0x54a,_0x1bca55:0x51d,_0x3bb898:0x5cf,_0x2f51c2:0x72e,_0x59b202:0x5c6,_0x485c34:0x8b8,_0x9635d2:0x631,_0x14e7b1:0x71b,_0x3e92b5:0x9ce,_0x1eb5d3:0x632,_0x189776:0x384,_0x12ee21:0x35b,_0x30e970:0x747,_0x29022a:0x454,_0xcff294:0x69b,_0x29a25b:0x872,_0x25c633:0x709,_0x36d9cb:0x728,_0x1d7cae:0x7d0,_0x1f5c2a:0x539,_0x473f28:0x7b1,_0x285fd7:0x5da,_0xcfb23b:0x3b8,_0x4282f3:0x4e2,_0x45f6b4:0x585,_0x33e389:0x43e,_0x432e39:0x444,_0x4bf14c:0x585,_0x4752bc:0x404,_0x16141e:0x71e,_0x1e7638:0x468,_0x1a048e:0x5a7,_0x2eadba:0x3e5,_0x311c2d:0x7a0,_0x497f1b:0x762,_0x5549a2:0x754,_0x4fc4ae:0x5ba,_0x43485c:0x5e1,_0x543bd6:0x490,_0x14a5a0:0x4d2,_0x4a44f1:0x4cb,_0x159698:0x63d,_0x25df4c:0x669,_0x148fe3:0x764,_0x33ca6:0x7e1,_0x20ef76:0x540,_0x4c22fc:0x593,_0x26ea3c:0x670,_0x4fa723:0x64e,_0x4e3397:0x58e,_0x3cd72f:0x77c,_0x4c754e:0x7d5,_0x85a1df:0x622,_0x27091e:0x633,_0x3ba26e:0x625,_0x7fa4cd:0x6d9,_0x3f63be:0x804,_0x2f4030:0x94f,_0x3f5314:0x633,_0xb88098:0x561,_0x257245:0x7ee,_0x3b773a:0x811,_0x19bb63:0x691,_0x145a20:0x5d7,_0x4e3407:0x6ab,_0x4d073f:0x4c9,_0x1bb9f8:0x52f,_0x31d4e8:0x531,_0x171c77:0x4bf,_0x41c231:0x648,_0x39675d:0x2ee,_0x1666a3:0x426,_0x36707b:0x559,_0x9fa8cb:0x4cc,_0x4dbc50:0x3cd,_0x4965be:0x599,_0x3652ab:0x3ed,_0x17ee84:0x664,_0x973c9:0x810,_0x19ad4e:0x655},_0x50819b={_0x512294:0x149,_0x31de51:0x380,_0x596854:0x143,_0x33badc:0x44c},_0x9cebd2={_0x9e4f:0x1d7},_0x30d560=_0x5dfcea[_0xfc1546(_0x4cf081._0x236b9a,-0xe0,-_0x4cf081._0x23f530,0x40)](_0x5a9bb2['defaultCwd']??process[_0x11e3fe(_0x4cf081._0x39b0d4,0x12d,0x133,_0x4cf081._0x292649)]()),_0x3eea0e=_0x5a9bb2['allowedDirs']??[],_0x87e11d=_0x5a9bb2[_0x11e3fe(0x250,_0x4cf081._0x39fe96,0x485,0x2f3)]??DEFAULT_TIMEOUT_MS,_0x52525f=_0x5a9bb2[_0xfc1546(0xd0,-_0x4cf081._0x1dafb8,-0x265,-_0x4cf081._0x314a59)]??!![],_0xc44508=_0x5a9bb2[_0x11e3fe(0xce,_0x4cf081._0x5d77d3,_0x4cf081._0xee45f5,0x27a)]??'Bash',_0x3f23a7=_0x5a9bb2[_0xfc1546(-0x1ba,-0x1dc,-_0x4cf081._0x750f1c,-0xc9)]??[],_0x2639fe=_0x5a9bb2['scrubEnvPrefixes']??[],_0xe0b09e=_0x5a9bb2['backgroundRegistry'];function _0xfc1546(_0x511f40,_0x53a2bf,_0x326b4d,_0x59bbf7){return _0x151cc1(_0x511f40-0x94,_0x53a2bf- -0x3fb,_0x326b4d,_0x59bbf7-_0x9cebd2._0x9e4f);}function _0x11e3fe(_0x4d8f2d,_0x1571c2,_0x247fb3,_0xeb153b){return _0x151cc1(_0x4d8f2d-0xb2,_0xeb153b- -0x195,_0x1571c2,_0xeb153b-0x117);}return defineTool({'name':_0xc44508,'permissionClass':_0x11e3fe(_0x4cf081._0x29f085,0x121,_0x4cf081._0x22910e,0x1cf),'description':_0x5a9bb2[_0x11e3fe(-0xbc,0x195,_0x4cf081._0x159569,0xf9)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x11e3fe(-0xe1,_0x4cf081._0x5a447f,0x19d,_0x4cf081._0x4db7ea)},'description':{'type':_0xfc1546(-0x3b8,-0x245,-_0x4cf081._0x209f92,-0x3ca),'description':_0xfc1546(-_0x4cf081._0x4cb13f,-_0x4cf081._0x1c4add,0xa8,0x13e)},'cwd':{'type':_0x11e3fe(-_0x4cf081._0x267c2e,-_0x4cf081._0x9d656f,-0x54,_0x4cf081._0x12d303)},'timeoutMs':{'type':_0x11e3fe(0x2c1,0x280,0x176,0x32a)},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x11e3fe(0x1e0,-_0x4cf081._0x55f76c,_0x4cf081._0x28cc56,0x21),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':'boolean'}},'required':[_0xfc1546(-_0x4cf081._0x28a407,-_0x4cf081._0x126db2,-_0x4cf081._0x2325e7,0x1c),_0x11e3fe(0xf8,_0x4cf081._0x25feef,-0x26,_0x4cf081._0xd91e44)]},async *'execute'(_0x1bb016,_0x47680a){const _0x41f239={_0x58ffdd:0xa4,_0x281aca:0x88,_0x5e964b:0x121,_0x4c2ff1:0x6ed,_0x51d2e4:0x73d,_0x488681:0x721,_0x1d30ff:0x8a,_0x212834:0x204,_0x53ec4c:0xd},_0xfb4b4b={_0x20115f:0x73e,_0x473f33:0x111},_0x1d27cf={_0x430dd5:0x138,_0x2a0b3f:0x188},_0x47156e={_0x37330e:0x8b},_0x101fd6={_0x25abb7:0x143,_0x39681e:0x11a},_0x59f78b={_0x54ac24:0x5b6,_0x1d7154:0xf0,_0x3dd66e:0xf6},_0x4b9917={_0x4763eb:0xe5},_0x3a1459={_0x3fce5a:0x592,_0x5d36bc:0xdf},_0x2bf08e={_0x25f57f:0x66a,_0x1be286:0x73e,_0xe5c3fa:0x86f},_0x14bf35={_0x5e012d:0x22,_0x1b61e4:0x19e},_0x352a57=_0x1bb016[_0x2f361e(_0x44f999._0x2a4791,_0x44f999._0x4e4b40,_0x44f999._0x2b9c5b,_0x44f999._0x325f30)]??_0x87e11d;if(!Number[_0x2f361e(0x541,_0x44f999._0x493c78,_0x44f999._0x118481,0x4b4)](_0x352a57)||_0x352a57<0x1)throw new ToolExecutionError(_0x2f361e(0x669,0x76a,0x4b9,_0x44f999._0x4276bd),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x1a0ea1,_0x44f999._0x4302c8,0x4bb)]});throwIfAborted(_0x47680a[_0x2f361e(_0x44f999._0x5b5430,0x40e,0x1c1,0x1f6)]);const _0x483b47=_0x1bb016[_0xdf27a4(0x636,_0x44f999._0x49a58d,0x5e2,_0x44f999._0x5d3944)]??![],_0x354bf3=resolveBashExecutionTarget(_0x1bb016,{'defaultCwd':_0x30d560,'allowedDirs':_0x3eea0e,'shellPath':_0x5a9bb2[_0x2f361e(0x4ac,0x362,_0x44f999._0x53d3b7,0x404)]}),{cwd:_0x4987fd,shellPath:_0x5d1d7d}=_0x354bf3,_0x2ffbbb=buildShellArgs(_0x1bb016[_0xdf27a4(_0x44f999._0x11771f,0x52a,0x511,0x758)],_0x5d1d7d),_0x378fda=_0x17e031[_0x2f361e(_0x44f999._0xc632d,_0x44f999._0x2d1d8e,0x3a7,_0x44f999._0x480bf5)]()==='win32',_0x4ef472=buildChildEnv(_0x5a9bb2[_0xdf27a4(_0x44f999._0xed281b,_0x44f999._0x26c8e8,_0x44f999._0x383ee3,0x76d)],_0x3f23a7,_0x2639fe);if(_0x1bb016[_0x2f361e(0x5f0,_0x44f999._0x4caa2c,0x4d7,0x73e)]){if(!_0xe0b09e)throw new ToolExecutionError(_0x2f361e(0x59e,0x719,_0x44f999._0x8ef48c,_0x44f999._0x4f6dc6),{'command':_0x1bb016[_0x2f361e(_0x44f999._0x3a911e,0x3e5,_0x44f999._0x19bc78,0x5b7)]});throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x5512ce,0x5c4,_0x44f999._0x33e945)]),await _0x5a9bb2[_0xdf27a4(0x7bf,_0x44f999._0x5259dd,0x61d,0x874)]?.(_0x354bf3,_0x47680a[_0x2f361e(_0x44f999._0x5c5217,0x3e4,0x5d8,0x5af)],_0x47680a),throwIfAborted(_0x47680a[_0x2f361e(0x33b,_0x44f999._0x18d784,0x45e,0x1f7)]);const _0x127883=_0xe0b09e['reserve']();let _0x559a82;try{_0x559a82=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':[_0x2f361e(0x3a8,0x523,0x37c,_0x44f999._0x38721c),'pipe',_0x2f361e(_0x44f999._0x1ee3eb,_0x44f999._0x69b021,0x448,_0x44f999._0x2d79c4)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x218436){_0xe0b09e[_0x2f361e(_0x44f999._0x5a8867,_0x44f999._0x8c475a,0x348,_0x44f999._0x4ff31c)](_0x127883);throw mapSpawnError(_0x218436,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x34daea,_0x44f999._0x2f0961,0x510)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}let _0x34daf9;try{_0x34daf9=_0xe0b09e[_0x2f361e(_0x44f999._0x5c4cd7,_0x44f999._0x277d43,_0x44f999._0x407067,_0x44f999._0x2d7803)](_0x127883,{'child':_0x559a82,'command':_0x1bb016[_0xdf27a4(_0x44f999._0x11ee8c,0x85f,_0x44f999._0x2c2fa1,_0x44f999._0x19b1e8)],'cwd':_0x4987fd,'stripAnsi':_0x52525f,...!_0x378fda&&_0x559a82[_0x2f361e(0x5a9,_0x44f999._0x4475b8,0x441,_0x44f999._0xe1b8d4)]!==void 0x0?{'processGroupId':_0x559a82['pid']}:{}});}catch(_0x2a6dbb){_0xe0b09e[_0x2f361e(_0x44f999._0x2eed7f,0x2ce,_0x44f999._0x42856f,0x3f3)](_0x127883),_0x559a82[_0xdf27a4(0x7c6,_0x44f999._0x65b3de,_0x44f999._0x156e43,_0x44f999._0x13aef6)](_0xdf27a4(0x792,_0x44f999._0x2a3012,0x5e1,0x81d),()=>{});try{killProcessGroup(_0x559a82,_0x378fda);}catch{}throw _0x2a6dbb;}return createToolOutput('Started\x20background\x20process\x20'+_0x34daf9[_0x2f361e(0x5e6,_0x44f999._0x2c3b15,0x6d4,0x4dd)]+_0x2f361e(_0x44f999._0x5890f7,0x3a8,0x3e2,0x48d)+(_0x34daf9[_0x2f361e(_0x44f999._0x51b87c,0x570,_0x44f999._0x412f93,_0x44f999._0x1fb9b8)]??'?')+_0xdf27a4(0x896,_0x44f999._0xb885e8,0xa63,_0x44f999._0x559166),{'shellId':_0x34daf9[_0xdf27a4(_0x44f999._0x4b3a4c,_0x44f999._0x361fcb,0x6ba,0x98b)],'status':_0x34daf9[_0x2f361e(0x5bf,_0x44f999._0x1584f8,0x537,_0x44f999._0x593d90)],'command':_0x34daf9[_0x2f361e(0x4ec,_0x44f999._0x1bca55,0x4ac,0x56a)],'description':_0x1bb016[_0xdf27a4(0x622,0x6c7,_0x44f999._0x3bb898,_0x44f999._0x2f51c2)],'cwd':_0x34daf9['cwd'],'pid':_0x34daf9[_0xdf27a4(0x786,_0x44f999._0x59b202,0x84b,_0x44f999._0x485c34)]??null});}function _0x2f361e(_0x14c7dc,_0x3bf4fd,_0x3eea46,_0x1d8a8b){return _0xfc1546(_0x14c7dc-0x14e,_0x14c7dc-0x5b2,_0x1d8a8b,_0x1d8a8b-0x97);}let _0x2f4de9,_0x1571d4;if(_0x1bb016[_0x2f361e(0x695,0x5be,_0x44f999._0x9635d2,_0x44f999._0x14e7b1)]!==void 0x0)try{const _0x71f8e4=new RegExp(_0x1bb016[_0xdf27a4(0x872,0x741,0x819,_0x44f999._0x3e92b5)]);_0x2f4de9={'regex':_0x71f8e4,'trailingChunks':[]},_0x1571d4={'regex':_0x71f8e4,'trailingChunks':[]};}catch(_0x10ac60){throw new ToolExecutionError(_0x2f361e(0x4e2,_0x44f999._0x1eb5d3,_0x44f999._0x189776,_0x44f999._0x12ee21)+(_0x10ac60 instanceof Error?_0x10ac60[_0x2f361e(0x645,0x481,_0x44f999._0x30e970,0x479)]:String(_0x10ac60)),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x29022a,_0x44f999._0xcff294,0x496)],'outputRegex':_0x1bb016[_0xdf27a4(_0x44f999._0x29a25b,_0x44f999._0x25c633,_0x44f999._0x36d9cb,_0x44f999._0x1d7cae)]});}await _0x5a9bb2['verifyExecution']?.(_0x354bf3,_0x47680a[_0xdf27a4(0x6f7,_0x44f999._0x1f5c2a,_0x44f999._0x473f28,_0x44f999._0x285fd7)],_0x47680a),throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,0x570,_0x44f999._0xcfb23b,0x358)]);let _0x27fd17;function _0xdf27a4(_0x2449e9,_0x21ab8b,_0x1d9f49,_0x51bca){return _0xfc1546(_0x2449e9-_0x14bf35._0x5e012d,_0x2449e9-0x78f,_0x51bca,_0x51bca-_0x14bf35._0x1b61e4);}try{_0x27fd17=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':_0x483b47?[_0x2f361e(0x3a8,_0x44f999._0x4282f3,0x536,0x460),_0xdf27a4(_0x44f999._0x45f6b4,0x66d,_0x44f999._0x33e389,_0x44f999._0x432e39),_0xdf27a4(_0x44f999._0x4bf14c,_0x44f999._0x4752bc,_0x44f999._0x16141e,_0x44f999._0x1e7638)]:['ignore',_0xdf27a4(_0x44f999._0x1a048e,0x3e7,0x542,0x56d),_0x2f361e(_0x44f999._0x1ee3eb,0x291,_0x44f999._0x2d7803,_0x44f999._0x2eadba)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x5f52bb){throw mapSpawnError(_0x5f52bb,{'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x311c2d,0x7ad,_0x44f999._0x497f1b)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}const _0x566678=[],_0x65fe69=[],_0x4bb757=new _0x2678c9(_0x2f361e(0x6a3,_0x44f999._0x5549a2,0x82a,_0x44f999._0x4fc4ae)),_0x4a468b=new _0x2678c9('utf8');let _0x357fc0,_0x3d6ac4=![],_0x31906e;const _0xce3e77=()=>{if(!_0x357fc0)return;const _0x4b391b=_0x357fc0;_0x357fc0=void 0x0,_0x4b391b();},_0x44c65a=async()=>{const _0x259026={_0x3c602e:0x101,_0x5da91f:0x96};function _0x1a0063(_0x55532a,_0x3dc479,_0x3e2a9e,_0x4d1dda){return _0x2f361e(_0x3e2a9e-_0x259026._0x3c602e,_0x3dc479-0x12a,_0x3e2a9e-_0x259026._0x5da91f,_0x55532a);}if(_0x65fe69[_0x1a0063(0x60f,_0x2bf08e._0x25f57f,_0x2bf08e._0x1be286,_0x2bf08e._0xe5c3fa)]>0x0||_0x3d6ac4)return;await new Promise(_0x546649=>{_0x357fc0=_0x546649;});},_0x5d86ad=_0x37d1ca=>{function _0xa0c6be(_0x4ac44e,_0x45d321,_0x3f48b6,_0x35b48e){return _0x2f361e(_0x35b48e- -_0x3a1459._0x3fce5a,_0x45d321-0x14f,_0x3f48b6-_0x3a1459._0x5d36bc,_0x45d321);}appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0xa0c6be(0x250,0x13d,-_0x4b9917._0x4763eb,0xa5)](_0x37d1ca),_0x52525f,_0xce3e77,_0x2f4de9);},_0x44093e=_0x32f559=>{function _0x389a23(_0x3269cc,_0xe029b8,_0x2e21ab,_0x1e5c77){return _0x2f361e(_0x3269cc- -_0x59f78b._0x54ac24,_0xe029b8-_0x59f78b._0x1d7154,_0x2e21ab-_0x59f78b._0x3dd66e,_0x2e21ab);}appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x389a23(0x81,_0x101fd6._0x25abb7,-_0x101fd6._0x39681e,-0x8)](_0x32f559),_0x52525f,_0xce3e77,_0x1571d4);};_0x27fd17['stdout']?.['on']('data',_0x5d86ad),_0x27fd17[_0x2f361e(0x533,_0x44f999._0x43485c,_0x44f999._0x543bd6,0x394)]?.['on'](_0x2f361e(_0x44f999._0x4ff31c,0x52c,0x479,0x25e),_0x44093e);let _0x2e0fb3=![],_0x26c1ad;const _0x4fdcaf=addAbortListener(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x14a5a0,_0x44f999._0x4a44f1,0x5c8)],()=>{const _0x19a9b8={_0x1e8e0b:0x4d8,_0x352151:0x1d8};_0x31906e=toAbortError(_0x47680a[_0x439d1c(_0x50819b._0x512294,_0x50819b._0x31de51,_0x50819b._0x596854,0x229)][_0x439d1c(_0x50819b._0x33badc,0x397,0x24c,0x35b)]);function _0x477aa8(_0x554fe3,_0x446253,_0x1b48f7,_0x469d1b){return _0xdf27a4(_0x469d1b- -_0x19a9b8._0x1e8e0b,_0x446253-0x5,_0x1b48f7-_0x19a9b8._0x352151,_0x554fe3);}_0x3d6ac4=!![],_0xce3e77();function _0x439d1c(_0x5d456f,_0x577f6f,_0x5a9d36,_0x381bfc){return _0xdf27a4(_0x381bfc- -0x2ef,_0x577f6f-0x15f,_0x5a9d36-_0x47156e._0x37330e,_0x5a9d36);}try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}});try{const _0x287c89=new Promise((_0x14fc74,_0x829f9d)=>{const _0x29b85c={_0x3c9d62:0x329,_0x59bdc0:0x31e,_0x2e1a2d:0x31a,_0x3fb9ff:0x427,_0x326b4f:0x162,_0x263305:0x36a},_0x4f5927={_0x45753f:0x39a},_0x595676={_0x5b4af2:0x103},_0x5e73eb={_0x174a80:0x1aa,_0x2a4708:0x30f,_0x18f646:0x196,_0x5ee701:0x111},_0x4e425b={_0x526d40:0x2d,_0x5e3d8a:0x1e7,_0x4b51f8:0x9c,_0x58ca8d:0x47,_0x181135:0x100,_0x3e139e:0x108},_0x399b90={_0x5755d7:0x13d},_0x578213={_0x292da3:0x20e};function _0x419fb8(_0x14281a,_0x681275,_0x44fc29,_0x65fa33){return _0x2f361e(_0x44fc29-_0x1d27cf._0x430dd5,_0x681275-0x112,_0x44fc29-_0x1d27cf._0x2a0b3f,_0x65fa33);}const _0x480683=()=>{_0x26c1ad&&(clearTimeout(_0x26c1ad),_0x26c1ad=void 0x0);function _0x3aae91(_0x4d220e,_0xc93c97,_0x2287cf,_0x152515){return _0x5041(_0x152515- -_0x578213._0x292da3,_0xc93c97);}_0x27fd17[_0x3aae91(_0x4e425b._0x526d40,-_0x4e425b._0x5e3d8a,0x4e,-_0x4e425b._0x4b51f8)](_0x3aae91(_0x4e425b._0x58ca8d,_0x4e425b._0x181135,_0x4e425b._0x3e139e,0x19d),_0x6e3756);function _0x142b7e(_0x3ec8b5,_0x56a985,_0x2a2335,_0x404e61){return _0x5041(_0x3ec8b5- -_0x399b90._0x5755d7,_0x56a985);}_0x27fd17['off']('close',_0x2f35c4);},_0x6e3756=_0x33ba15=>{_0x3d6ac4=!![],_0xce3e77(),_0x480683(),_0x829f9d(_0x31906e??_0x33ba15);},_0x2f35c4=(_0x1a4df4,_0x26e91f)=>{function _0x28b523(_0x392d5f,_0x4f77cd,_0xd4caa1,_0x1764f0){return _0x5041(_0xd4caa1- -0x392,_0x4f77cd);}_0x2e0fb3=!![],appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0x13ebeb(_0x5e73eb._0x174a80,_0x5e73eb._0x2a4708,_0x5e73eb._0x18f646,0x371)](),_0x52525f,_0xce3e77,_0x2f4de9),appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x28b523(-_0x5e73eb._0x5ee701,-0x164,-0x17f,-0x215)](),_0x52525f,_0xce3e77,_0x1571d4),flushOutputRegex(_0x566678,_0x65fe69,_0x2f4de9,_0xce3e77),flushOutputRegex(_0x566678,_0x65fe69,_0x1571d4,_0xce3e77),_0x3d6ac4=!![],_0xce3e77(),_0x480683();function _0x13ebeb(_0x132e4a,_0x437532,_0x5c91f8,_0x3b3f29){return _0x5041(_0x132e4a- -0x69,_0x5c91f8);}if(_0x31906e){_0x829f9d(_0x31906e);return;}_0x14fc74({'code':_0x1a4df4,'signal':_0x26e91f});};_0x26c1ad=setTimeout(()=>{_0x3d6ac4=!![],_0xce3e77();function _0x3a9b88(_0x38f7cb,_0xacbb1d,_0x421804,_0x5ea997){return _0x5041(_0x421804- -_0x595676._0x5b4af2,_0x38f7cb);}_0x480683();try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}function _0xb1faf0(_0x227c56,_0x2c353c,_0xf13d87,_0x180d97){return _0x5041(_0x227c56-_0x4f5927._0x45753f,_0x2c353c);}_0x829f9d(new ToolExecutionError(_0x3a9b88(0x296,0x188,_0x29b85c._0x3c9d62,0x1d7)+_0x352a57+_0x3a9b88(0x155,_0x29b85c._0x59bdc0,_0x29b85c._0x2e1a2d,_0x29b85c._0x3fb9ff),{'command':_0x1bb016[_0x3a9b88(_0x29b85c._0x326b4f,_0x29b85c._0x263305,0x1df,0x104)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57,'timedOut':!![]}));},_0x352a57),_0x27fd17[_0x2bccc9(0x65,_0x41f239._0x58ffdd,_0x41f239._0x281aca,_0x41f239._0x5e964b)](_0x419fb8(0x77c,0x532,_0x41f239._0x4c2ff1,0x696),_0x6e3756);function _0x2bccc9(_0x2af39c,_0x110668,_0x318ba6,_0x9e573b){return _0xdf27a4(_0x318ba6- -_0xfb4b4b._0x20115f,_0x110668-0xdd,_0x318ba6-_0xfb4b4b._0x473f33,_0x110668);}_0x27fd17[_0x419fb8(_0x41f239._0x51d2e4,0x64e,_0x41f239._0x488681,0x5f3)](_0x2bccc9(-_0x41f239._0x1d30ff,_0x41f239._0x212834,0x112,-_0x41f239._0x53ec4c),_0x2f35c4);});while(_0x65fe69[_0x2f361e(_0x44f999._0x159698,0x797,0x701,0x5e4)]>0x0||!_0x3d6ac4){if(_0x65fe69['length']===0x0){await _0x44c65a();continue;}const _0xe3380e=_0x65fe69[_0xdf27a4(_0x44f999._0x25df4c,_0x44f999._0x148fe3,_0x44f999._0x33ca6,0x7d6)]();_0xe3380e!==void 0x0&&(yield _0xe3380e);}const _0x1471eb=await _0x287c89,_0x230fe2=_0x483b47?_0xdf27a4(0x699,_0x44f999._0x20ef76,_0x44f999._0x4c22fc,0x772)+(_0x1471eb['code']??0x0):_0x566678[_0x2f361e(_0x44f999._0x26ea3c,_0x44f999._0x4fa723,_0x44f999._0x4e3397,_0x44f999._0x159698)](''),_0x1616a0={'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x3cd72f,0x87e,_0x44f999._0x4c754e)],'description':_0x1bb016[_0xdf27a4(_0x44f999._0x85a1df,0x4f5,0x76f,0x786)],'cwd':_0x4987fd,'exitCode':_0x1471eb[_0x2f361e(_0x44f999._0x27091e,_0x44f999._0x3ba26e,0x624,0x7d6)]??0x0,'signal':_0x1471eb['signal'],'ignoreOutput':_0x483b47,'outputRegex':_0x1bb016[_0xdf27a4(0x872,_0x44f999._0x7fa4cd,_0x44f999._0x3f63be,_0x44f999._0x2f4030)]??null,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57};if(_0x1471eb[_0x2f361e(_0x44f999._0x3f5314,0x7a0,_0x44f999._0xb88098,0x50d)]!==0x0)throw new ToolExecutionError(_0x230fe2||'Command\x20exited\x20with\x20code\x20'+(_0x1471eb[_0x2f361e(0x633,_0x44f999._0x257245,0x6b6,0x4c5)]??0x0),_0x1616a0);return createToolOutput(_0x230fe2,_0x1616a0);}catch(_0x2fc4f9){while(_0x65fe69[_0xdf27a4(0x81a,_0x44f999._0x3b773a,_0x44f999._0x19bb63,0x782)]>0x0){const _0x3d1fd3=_0x65fe69[_0x2f361e(0x48c,0x3e3,0x380,_0x44f999._0x145a20)]();_0x3d1fd3!==void 0x0&&(yield _0x3d1fd3);}if(_0x2fc4f9 instanceof ToolExecutionError)throw _0x2fc4f9;if(_0x31906e)throw _0x31906e;throw mapSpawnError(_0x2fc4f9,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x4e3407,_0x44f999._0x4d073f,_0x44f999._0x1bb9f8)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}finally{_0x26c1ad&&clearTimeout(_0x26c1ad);_0x4fdcaf(),_0x27fd17[_0x2f361e(_0x44f999._0x31d4e8,_0x44f999._0x171c77,_0x44f999._0x41c231,_0x44f999._0x51b87c)]?.[_0x2f361e(0x37c,0x4c1,_0x44f999._0x39675d,_0x44f999._0x1666a3)](_0xdf27a4(0x578,0x6db,0x620,0x514),_0x5d86ad),_0x27fd17['stderr']?.[_0xdf27a4(_0x44f999._0x36707b,0x53b,_0x44f999._0x9fa8cb,0x4eb)](_0xdf27a4(0x578,0x608,_0x44f999._0x4dbc50,_0x44f999._0x4965be),_0x44093e);if(!_0x2e0fb3&&_0x27fd17[_0x2f361e(_0x44f999._0x51b87c,0x654,_0x44f999._0x3652ab,0x59b)]&&!_0x27fd17[_0x2f361e(_0x44f999._0x17ee84,_0x44f999._0x973c9,0x4b0,_0x44f999._0x19ad4e)])try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}}}});}function createShellExecTool(_0x51676a={}){return createBashTool(_0x51676a);}import{readdir,readFile as _0x19b8a9}from'fs/promises';import{extname,join as _0x32d60b}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x333f03,join,relative as _0x2b5bb8,resolve as _0x342c56}from'path';import{readdir as _0x84d130,readFile as _0x55579b}from'fs/promises';import{join as _0x2811b3,relative as _0x35fecd,sep}from'path';import{delimiter}from'path';import{mkdir as _0x10fe7e,rm,stat as _0x4d5d12,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x16f75f}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x21aa97,rename as _0x1e4c2d,rm as _0x2006d7,stat as _0x2fa415,writeFile as _0x1b5ae4}from'fs/promises';import{homedir as _0x3b6c47}from'os';import{dirname as _0x27d45c,isAbsolute as _0x158d7d,join as _0xd5346b,resolve as _0xee1678}from'path';import{parse as _0x29fa68,stringify as _0x3f2794}from'yaml';import{randomUUID as _0x10fb22}from'crypto';import{cp,lstat,mkdir as _0x16c6b5,readdir as _0x25c9b7,readFile as _0x3d1283,rename,rm as _0x254a88,writeFile as _0x2f549c}from'fs/promises';import{homedir}from'os';import{join as _0xa64e0}from'path';import{parse as _0x2a4e07,stringify as _0x39e62a}from'yaml';import{z}from'zod';import{readdir as _0x3d2400,readFile as _0x22cede}from'fs/promises';import{join as _0x58db13}from'path';import{randomUUID as _0x368b5a}from'crypto';import{mkdir as _0x20d217,readdir as _0x43fd0a,readFile as _0x1484e6,rename as _0x185f42,rm as _0x34e9ce,writeFile as _0x41c887}from'fs/promises';import{homedir as _0x3e7b42}from'os';import{basename as _0x326a98,isAbsolute as _0x2a4556,join as _0x361db4,relative as _0x1872ec,resolve as _0x4531c4}from'path';import{parse as _0x1650a4,stringify as _0x1595e8}from'yaml';import{delimiter as _0x3dd8dd,resolve as _0x25cc7d}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0xd694d9){const _0x201365={_0x91d822:0x488,_0x2bd3cc:0x2d0,_0x36f772:0x3e8,_0x1b7a75:0x2a0,_0x2cbdb7:0x1c5,_0xcdfbba:0x2cb,_0x1fc202:0x347,_0x559de1:0x240,_0x50be10:0x32c,_0x7b6cd0:0x1fd,_0x1db8f8:0x26d},_0x5a88b1={_0x1e18d4:0x70,_0x114750:0x138},_0x3d40f8={_0x388d1d:0x18f,_0x3d3769:0x1b6,_0x5d8386:0x182};function _0x5832e8(_0x42a927,_0x3cd11f,_0x19d587,_0xd75259){return _0x151cc1(_0x42a927-_0x3d40f8._0x388d1d,_0x19d587- -_0x3d40f8._0x3d3769,_0x3cd11f,_0xd75259-_0x3d40f8._0x5d8386);}const _0xfee63=[];let _0x384cfd='',_0x26bebe=0x0;while(_0x26bebe<_0xd694d9['length']){const _0x3a8770=_0xd694d9[_0x26bebe];if(_0x3a8770==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x5832e8(_0x201365._0x91d822,0x2cf,_0x201365._0x2bd3cc,_0x201365._0x36f772)])_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2;else{if(_0x3a8770==='\x22'||_0x3a8770==='\x27'){const _0x410689=_0x3a8770;_0x26bebe++;while(_0x26bebe<_0xd694d9[_0x5832e8(_0x201365._0x1b7a75,0x11c,_0x201365._0x2bd3cc,_0x201365._0x2cbdb7)]&&_0xd694d9[_0x26bebe]!==_0x410689){_0xd694d9[_0x26bebe]==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x1f7f71(0x416,_0x201365._0xcdfbba,0x454,0x51e)]?(_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2):(_0x384cfd+=_0xd694d9[_0x26bebe],_0x26bebe++);}_0x26bebe++;}else _0x3a8770!==void 0x0&&/\s/[_0x5832e8(_0x201365._0x1fc202,_0x201365._0x559de1,_0x201365._0x50be10,_0x201365._0x7b6cd0)](_0x3a8770)?(_0x384cfd&&(_0xfee63[_0x5832e8(_0x201365._0x1db8f8,0x7c,0x1de,0x2cf)](_0x384cfd),_0x384cfd=''),_0x26bebe++):(_0x384cfd+=_0x3a8770,_0x26bebe++);}}if(_0x384cfd)_0xfee63['push'](_0x384cfd);function _0x1f7f71(_0x388188,_0x501691,_0x35dcfc,_0xe9679b){return _0x151cc1(_0x388188-0x1b,_0x388188- -_0x5a88b1._0x1e18d4,_0xe9679b,_0xe9679b-_0x5a88b1._0x114750);}return _0xfee63;}function renderCommandInstructions(_0x47b86d){const _0x144aa9={_0x360f6f:0x79,_0x33a6da:0x1b4,_0x2250ac:0x793,_0x1d481b:0x68e,_0x3f9c8e:0x677,_0x4d214a:0x36c,_0xb875c5:0x49e,_0x3c37bd:0x411,_0x38d2fe:0x56a,_0x33988b:0x37e,_0x2bf27b:0x10e,_0x35c8f3:0x2a1,_0x504042:0x76c,_0x1183d5:0x675,_0x1e5ce8:0x17,_0x45950b:0x196,_0x1ac2ef:0x126,_0x1d8122:0x3be,_0x45d0cf:0x1f3,_0x53a3d3:0x2a0,_0x200e96:0x5b8,_0x5d30ed:0x61c,_0x562848:0x36e,_0x223626:0x3a3,_0x37ab0c:0x361,_0x379713:0x75,_0x55a1fa:0x292},_0x1f52fc={_0x29bbfa:0x70,_0x4cc168:0x1d},_0x370a89={_0x440d92:0x52,_0x158814:0x56c};let _0x2ec27c=_0x47b86d[_0x12fd39(-_0x144aa9._0x360f6f,-_0x144aa9._0x33a6da,-0x158,-0x92)],_0x2cb1f4=![];const _0x593294=tokenizeCommandArguments(_0x47b86d[_0x396d10(_0x144aa9._0x2250ac,0x78c,_0x144aa9._0x1d481b,_0x144aa9._0x3f9c8e)]);function _0x396d10(_0x4d615a,_0x337643,_0x262d8c,_0x759b6e){return _0x1ac42a(_0x4d615a-_0x370a89._0x440d92,_0x337643-0x25,_0x262d8c-_0x370a89._0x158814,_0x759b6e);}_0x2ec27c=_0x2ec27c[_0x396d10(0x451,_0x144aa9._0x4d214a,0x3c0,_0x144aa9._0xb875c5)](/\$ARGUMENTS\[(\d+)\]/g,(_0x33ecc2,_0x4bc1dc)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x4bc1dc)]??'';}),_0x2ec27c=_0x2ec27c[_0x396d10(_0x144aa9._0x3c37bd,_0x144aa9._0x38d2fe,0x3c0,_0x144aa9._0x33988b)](/\$ARGUMENTS\b/g,()=>{return _0x2cb1f4=!![],_0x47b86d['argumentsText'];});if(_0x47b86d['argumentNames']&&_0x47b86d[_0x12fd39(-_0x144aa9._0x2bf27b,-0x16e,-0x191,-_0x144aa9._0x35c8f3)][_0x396d10(0x753,_0x144aa9._0x504042,_0x144aa9._0x1183d5,0x67c)]>0x0)for(let _0x9fbb37=0x0;_0x9fbb37<_0x47b86d[_0x12fd39(-0x125,-0x172,-0x191,-_0x144aa9._0x1e5ce8)][_0x12fd39(0x2df,_0x144aa9._0x45950b,_0x144aa9._0x1ac2ef,0x184)];_0x9fbb37++){const _0x574c0a=_0x47b86d[_0x396d10(0x319,0x3fc,_0x144aa9._0x1d8122,_0x144aa9._0x45d0cf)][_0x9fbb37];if(_0x574c0a){const _0x51f460=new RegExp('\x5c$'+_0x574c0a+'\x5cb','g');_0x2ec27c=_0x2ec27c[_0x396d10(0x4ab,_0x144aa9._0x53a3d3,0x3c0,0x460)](_0x51f460,()=>{return _0x2cb1f4=!![],_0x593294[_0x9fbb37]??'';});}}_0x2ec27c=_0x2ec27c['replace'](/\$(\d+)\b/g,(_0x110198,_0x89316f)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x89316f)]??'';});function _0x12fd39(_0x1327b9,_0x2ee101,_0x2703cc,_0x47f712){return _0x1ac42a(_0x1327b9-_0x1f52fc._0x29bbfa,_0x2ee101-0x12c,_0x2703cc-_0x1f52fc._0x4cc168,_0x47f712);}return!_0x2cb1f4&&_0x47b86d['argumentsText'][_0x396d10(_0x144aa9._0x200e96,0x5a1,_0x144aa9._0x5d30ed,0x700)]()&&(_0x2ec27c=_0x2ec27c+_0x396d10(_0x144aa9._0x562848,_0x144aa9._0x223626,_0x144aa9._0x37ab0c,0x20c)+_0x47b86d[_0x12fd39(-_0x144aa9._0x379713,0xbd,0x13f,_0x144aa9._0x55a1fa)]),_0x2ec27c;}var PROVIDER_API_KEY_ENVS=[{'env':_0x151cc1(0x516,0x47b,0x3fd,0x56e),'provider':_0x1ac42a(-0x2e,-0xf8,0x6b,-0x51)},{'env':_0x1ac42a(-0xb1,0x11f,0xd7,0xed),'provider':_0x151cc1(0x265,0x23b,0x96,0x234)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x151cc1(0x525,0x508,0x3b9,0x364)},{'env':'GITHUB_TOKEN','provider':_0x151cc1(0x3e4,0x508,0x47c,0x51e)},{'env':_0x151cc1(0x3ad,0x421,0x2a8,0x4c1),'provider':_0x1ac42a(0x4f,-0x129,0x4,-0x18a)},{'env':_0x1ac42a(0xf9,-0xaa,-0x57,0x12f),'provider':'deepinfra'},{'env':_0x1ac42a(-0x2ca,-0xa4,-0x1a9,-0x160),'provider':_0x1ac42a(-0x154,0x54,-0x33,0x99)},{'env':_0x151cc1(0x3fe,0x426,0x536,0x560),'provider':_0x151cc1(0x2c,0x1df,0x67,0x147)},{'env':_0x151cc1(0x32e,0x280,0x2ff,0x2ee),'provider':_0x151cc1(0x458,0x35d,0x250,0x2a2)},{'env':_0x1ac42a(-0x8d,-0xf1,-0x13a,0x27),'provider':_0x1ac42a(0x219,0x177,0x14f,0xc8)},{'env':_0x1ac42a(0x27b,-0x3d,0x15e,0x22b),'provider':_0x1ac42a(-0x279,-0x10d,-0x179,-0x2fa)},{'env':_0x1ac42a(0x1ab,0xe1,0x4a,-0xdb),'provider':_0x151cc1(0x5ea,0x4f4,0x5c5,0x545)},{'env':'OPENCODE_API_KEY','provider':'opencode-go'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x78fdd=>_0x78fdd[_0x1ac42a(-0x208,-0x1c2,-0x41,0x1)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x151cc1(0x242,0x2e0,0x496,0x2f3),_0x151cc1(0x10a,0x227,0x335,0x224)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x151cc1(0x19a,0x186,0x20a,0x121),'SHELLOPTS',_0x1ac42a(-0x158,0x2a,-0xe1,-0x2d),_0x151cc1(0x613,0x506,0x5fd,0x50e),_0x151cc1(0x4a0,0x3b8,0x2dd,0x209)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x1ac42a(0x16d,0x219,0xef,0x12b)]),_0x151cc1(0x5f5,0x46c,0x2f7,0x56b)]);function prototypeSafeRecord(_0x2776b2){const _0x5f2bed={_0xcb1ff:0x68a,_0x180ca6:0x774,_0x59e631:0x7db,_0x5c827b:0x42,_0x3b6213:0xce,_0x249d50:0x93,_0x19f81b:0x3b},_0x1b7499={_0x109693:0x527,_0x26a406:0x52f,_0x2690e3:0x702,_0x529784:0x650,_0x231140:0x809,_0xcd742a:0x6a9,_0x1672d1:0x698},_0x348bd7={_0x1d286e:0x73},_0x32a116={_0x4d76cd:0x9b},_0x3a94c9={_0x427261:0x6b,_0x37a91b:0x284,_0x1a1ab6:0x38},_0x267873={_0x1cdd20:0x1c0,_0x287c86:0x6eb};function _0x269684(_0xdb258f,_0x46f5f7,_0x147fdb,_0x583ccb){return _0x1ac42a(_0xdb258f-0x162,_0x46f5f7-_0x267873._0x1cdd20,_0x583ccb-_0x267873._0x287c86,_0x147fdb);}function _0x2e3ba1(_0x365f30,_0xb29142,_0x1bbec9,_0x2ebac1){return _0x151cc1(_0x365f30-_0x3a94c9._0x427261,_0x2ebac1- -_0x3a94c9._0x37a91b,_0xb29142,_0x2ebac1-_0x3a94c9._0x1a1ab6);}return z[_0x269684(0x454,0x42f,0x647,0x57d)](_0x227e37=>{if(_0x227e37===null||typeof _0x227e37!=='object'||Array[_0x5d3996(_0x1b7499._0x109693,0x4ff,_0x1b7499._0x26a406,0x6b9)](_0x227e37))return null;const _0x116bd8=Object['getPrototypeOf'](_0x227e37);if(_0x116bd8!==Object[_0x3b30a3(_0x1b7499._0x2690e3,0x850,0x7b7,_0x1b7499._0x529784)]&&_0x116bd8!==null)return null;function _0x5d3996(_0x564969,_0x2539a6,_0xb10174,_0x581056){return _0x269684(_0x564969-0x12a,_0x2539a6-0x180,_0xb10174,_0x564969- -_0x32a116._0x4d76cd);}function _0x3b30a3(_0xb4c494,_0x48117e,_0x39be0f,_0x10ba6c){return _0x269684(_0xb4c494-_0x348bd7._0x1d286e,_0x48117e-0xf0,_0x10ba6c,_0x39be0f- -0x23);}return{'entries':Object[_0x3b30a3(0x6ec,_0x1b7499._0x231140,_0x1b7499._0xcd742a,_0x1b7499._0x1672d1)](_0x227e37)};},z[_0x269684(0x605,0x310,_0x5f2bed._0xcb1ff,0x4d7)]({'entries':z[_0x269684(0x5b6,0x8ad,0x72d,_0x5f2bed._0x180ca6)](z[_0x269684(0x6db,_0x5f2bed._0x59e631,0x6d7,0x834)]([z[_0x2e3ba1(-0x8f,-_0x5f2bed._0x5c827b,0xa9,-_0x5f2bed._0x3b6213)](),_0x2776b2]))}))[_0x2e3ba1(-_0x5f2bed._0x249d50,0xf1,-0x87,_0x5f2bed._0x19f81b)](({entries:_0x10c852})=>Object[_0x269684(0x5b9,0x6fd,0x73c,0x5f3)](_0x10c852));}var chatModelAuthSchemeSchema=z[_0x151cc1(0x14f,0x21a,0x28b,0x337)]([_0x1ac42a(-0x244,-0x20d,-0xde,-0x280),_0x1ac42a(-0x36f,-0xc1,-0x1b4,-0x336)]),apiKeyAuthSchema=z[_0x1ac42a(-0x22e,-0x2af,-0x214,-0x2d3)]({'type':z[_0x151cc1(0x58c,0x423,0x4a5,0x4f9)](_0x1ac42a(0xc0,0x170,0x151,0xd9)),'apiKey':z[_0x151cc1(0x371,0x1b6,0x2f0,0x171)](),'authScheme':chatModelAuthSchemeSchema[_0x151cc1(0x534,0x4a0,0x569,0x37d)]()})[_0x151cc1(0x249,0x256,0x204,0x125)](),oauthAuthSchema=z[_0x151cc1(0x19c,0x169,-0x1c,0x2be)]({'type':z[_0x1ac42a(0x4a,0xc8,0xa6,-0xcd)](_0x151cc1(0x24c,0x405,0x281,0x5a2)),'access':z[_0x1ac42a(-0x2b9,-0x1e1,-0x1c7,-0x2a7)](),'refresh':z[_0x1ac42a(-0x239,-0x33f,-0x1c7,-0x37d)](),'expires':z['number']()[_0x1ac42a(0x2cf,0x2e2,0x123,0x25e)](),'authScheme':chatModelAuthSchemeSchema[_0x1ac42a(0x138,0x2c5,0x123,0x19c)]()})[_0x1ac42a(0x95,0x24,-0x127,-0x22b)](),finiteNonNegative=z['number']()[_0x151cc1(0x49b,0x359,0x1be,0x4a4)]()[_0x1ac42a(0x34,0x13d,0x5c,-0x151)](),chatGptAuthSchema=z[_0x1ac42a(-0xca,-0x22d,-0x214,-0x49)]({'type':z[_0x151cc1(0x5d7,0x423,0x41e,0x26d)](_0x1ac42a(-0x19e,-0x2c2,-0x1de,-0xec)),'access':z[_0x151cc1(0x14c,0x1b6,0x377,0x374)]()[_0x151cc1(0x434,0x3db,0x450,0x47f)](0x1),'refresh':z[_0x1ac42a(-0x35e,-0x206,-0x1c7,-0x1ee)]()[_0x1ac42a(0x113,-0x21,0x5e,-0x61)](0x1),'idToken':z['string']()['min'](0x1),'accountId':z[_0x151cc1(0x25c,0x1b6,0x308,0x201)]()[_0x1ac42a(0xfc,0x204,0x5e,0x1e)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x1ac42a(0x77,0x2b9,0x123,0x267)]()})[_0x1ac42a(-0x209,-0xea,-0x127,-0x1f5)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x1ac42a(0x2ea,0x135,0x173,-0x33),_0x151cc1(0x46,0x18b,0x335,0x1d1),_0x151cc1(0x31b,0x200,0x3b9,0x2a9),'high','xhigh','max']),reasoningOptionSchema=z[_0x1ac42a(-0x2a6,-0x2dc,-0x214,-0x261)]({'id':z['string']()[_0x151cc1(0x28f,0x42d,0x5df,0x49b)]()[_0x151cc1(0x292,0x3db,0x460,0x210)](0x1),'description':z[_0x1ac42a(-0x56,-0x35e,-0x1c7,-0x341)]()['optional'](),'mode':z[_0x1ac42a(-0x1bd,-0x293,-0x163,-0x1c9)]([_0x1ac42a(-0x83,-0x2bb,-0x19f,-0x361),_0x151cc1(0x2fe,0x26c,0x1f7,0xf8)])[_0x1ac42a(0x284,0x276,0x123,0x2cb)](),'effort':reasoningEffortSchema[_0x1ac42a(0xf2,0x1e4,0x123,0x20d)](),'budgetTokens':z[_0x1ac42a(0x74,0x1cb,0x142,0x12e)]()[_0x1ac42a(-0x1e,0x95,-0x11,-0x179)]()[_0x151cc1(0x2bc,0x3db,0x37e,0x346)](0x400)[_0x151cc1(0x478,0x4a0,0x344,0x45d)]()})['superRefine']((_0x1dc6bd,_0x5af3f7)=>{const _0x26eed6={_0x226ff0:0x1e2,_0x30f2c4:0x2d0,_0x526292:0x7e,_0x133b45:0x18a,_0x4f01f4:0x1f4,_0x37098f:0x395,_0x11934c:0x27e,_0x6f9341:0xc6,_0x463061:0x114,_0xf4a2d3:0x11,_0x493a58:0x387,_0x423a3c:0x268,_0x3fbdf4:0x39a,_0x2bfa86:0x2f9,_0x2da3f6:0xe2,_0x36a7cf:0x4d7,_0x4a76d9:0x3e8,_0x538ebf:0x4fd,_0x39a336:0x3c6,_0x126351:0x43d,_0x356f8e:0x250,_0x179b3f:0x30e,_0x4f9b6e:0xc0,_0x40c476:0x131,_0x329756:0x296,_0x3b7a95:0x1d6,_0x1bf9b2:0x54,_0x5ea32f:0x86,_0x431808:0x1a8,_0x4ffd41:0x2d0,_0x32e3dd:0x463,_0x431386:0x2f4,_0x57b188:0x1c4,_0x188769:0x29e,_0x186223:0x3b1,_0x641c89:0x1e9,_0x1ec855:0x285,_0x37df0a:0x2eb,_0x3db044:0x236,_0x86133b:0x207,_0x563fd1:0x7a,_0xb90f86:0x2cd,_0x512fc4:0x316,_0x3e39a8:0x2d1,_0x44597e:0x2be,_0x59d6be:0x115,_0x33ac30:0x114,_0x13653e:0x1c6,_0x3da445:0x2cf,_0x20b64b:0x1b2,_0x33610a:0x3e9},_0x53bcb5={_0x27babd:0x8f,_0x1f24e7:0xcc},_0x55c9b3=_0x1dc6bd['id'][_0x5b2d00(_0x26eed6._0x226ff0,_0x26eed6._0x30f2c4,_0x26eed6._0x526292,_0x26eed6._0x133b45)]();(_0x55c9b3==='off'||_0x55c9b3===_0x5b2d00(_0x26eed6._0x4f01f4,0x1fe,_0x26eed6._0x37098f,0x24e)||_0x55c9b3===_0x5370a8(_0x26eed6._0x11934c,0x154,0x258,_0x26eed6._0x6f9341))&&_0x5af3f7[_0x5370a8(-0xa4,_0x26eed6._0x463061,-0x59,_0x26eed6._0xf4a2d3)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x493a58,_0x26eed6._0x423a3c,_0x26eed6._0x3fbdf4),'path':['id'],'message':_0x5b2d00(0x243,_0x26eed6._0x2bfa86,_0x26eed6._0x2da3f6,0x2b9)+_0x55c9b3+_0x5370a8(_0x26eed6._0x36a7cf,_0x26eed6._0x4a76d9,0x391,_0x26eed6._0x538ebf)});function _0x5b2d00(_0x365eef,_0x7e070d,_0x442383,_0x477512){return _0x151cc1(_0x365eef-0xb7,_0x365eef- -0x1c,_0x442383,_0x477512-0x19f);}if(_0x1dc6bd[_0x5b2d00(_0x26eed6._0x39a336,0x360,_0x26eed6._0x126351,0x2ab)]===_0x5b2d00(_0x26eed6._0x356f8e,0x13f,_0x26eed6._0x179b3f,_0x26eed6._0x4f9b6e)){_0x1dc6bd[_0x5370a8(0x139,_0x26eed6._0x40c476,_0x26eed6._0x329756,0x1be)]===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x3b7a95,0x114,_0x26eed6._0x1bf9b2,-_0x26eed6._0x5ea32f)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x431808,0x131,_0x26eed6._0x4ffd41,0x2f3)],'message':_0x5370a8(_0x26eed6._0x32e3dd,0x3b7,0x208,_0x26eed6._0x431386)});_0x1dc6bd['effort']!==void 0x0&&_0x5af3f7[_0x5b2d00(_0x26eed6._0x57b188,0x37b,0x52,0x33f)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x188769,0x29b,0x334),'path':['effort'],'message':_0x5b2d00(0x230,_0x26eed6._0x186223,0x1ca,_0x26eed6._0x641c89)});return;}function _0x5370a8(_0x3989b7,_0x493c08,_0x1c68d2,_0x1a5826){return _0x151cc1(_0x3989b7-_0x53bcb5._0x27babd,_0x493c08- -_0x53bcb5._0x1f24e7,_0x1a5826,_0x1a5826-0xf2);}_0x1dc6bd[_0x5370a8(_0x26eed6._0x1ec855,0x131,_0x26eed6._0x37df0a,0x5d)]!==void 0x0&&_0x5af3f7[_0x5370a8(0x190,0x114,0x178,_0x26eed6._0x3db044)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x86133b,_0x26eed6._0x40c476,0x4,_0x26eed6._0x563fd1)],'message':_0x5370a8(0x42e,_0x26eed6._0xb90f86,0x34d,0x2a2)}),_0x1dc6bd[_0x5370a8(0x42a,_0x26eed6._0x512fc4,_0x26eed6._0x3e39a8,_0x26eed6._0x44597e)]===void 0x0&&_0x1dc6bd['effort']===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x59d6be,_0x26eed6._0x33ac30,0x2b9,_0x26eed6._0x13653e)]({'code':_0x5370a8(0x229,0x322,0x352,_0x26eed6._0x3da445),'path':[_0x5b2d00(_0x26eed6._0x20b64b,0x1f1,0x16,0x29e)],'message':_0x5b2d00(0x2f0,0x1f8,_0x26eed6._0x33610a,0x127)});});function validateReasoningOptionIds(_0x1f32f9,_0xcd3fde){const _0x1891da={_0x2a398b:0x538,_0x8d088a:0x4a9,_0x51788e:0x426,_0x1e152c:0x518,_0x5f2201:0x353,_0x218390:0x717},_0x1ff93e={_0x22bdb5:0xb2,_0xe2173a:0x38},_0x3bdcfb={_0x58251f:0x15f};function _0x4c7f71(_0x3de008,_0x2d7ead,_0x49e47a,_0x3a09d7){return _0x151cc1(_0x3de008-0x8c,_0x3de008-_0x3bdcfb._0x58251f,_0x2d7ead,_0x3a09d7-0x78);}const _0x4e9602=new Set();function _0xe8b8(_0x207b4a,_0x245873,_0x542153,_0x2905df){return _0x151cc1(_0x207b4a-0x18f,_0x207b4a-_0x1ff93e._0x22bdb5,_0x245873,_0x2905df-_0x1ff93e._0xe2173a);}for(let _0x524b47=0x0;_0x524b47<_0x1f32f9[_0xe8b8(_0x1891da._0x2a398b,0x3c7,_0x1891da._0x8d088a,_0x1891da._0x51788e)];_0x524b47+=0x1){const _0x96a387=_0x1f32f9[_0x524b47]?.['id']['toLowerCase']();if(!_0x96a387)continue;if(_0x4e9602[_0x4c7f71(0x571,0x6fa,_0x1891da._0x1e152c,0x457)](_0x96a387)){_0xcd3fde[_0xe8b8(0x292,_0x1891da._0x5f2201,0x164,0xe8)]({'code':_0xe8b8(0x4a0,_0x1891da._0x1e152c,0x66e,0x629),'path':['options',_0x524b47,'id'],'message':_0x4c7f71(0x339,0x41b,0x4b5,0x1fc)+_0x96a387+'\x22'});continue;}_0x4e9602[_0x4c7f71(0x573,0x680,_0x1891da._0x218390,0x701)](_0x96a387);}}var providerReasoningConfigSchema=z['object']({'options':z[_0x1ac42a(-0x72,-0x103,0x89,-0x8f)](reasoningOptionSchema)})['superRefine']((_0x105ee2,_0x1087fc)=>{const _0x3473c4={_0x428fdb:0x16,_0x19b60b:0x15},_0x5cfae1={_0x26a6f9:0x10f};function _0x3b1655(_0x27f8e0,_0x4c3c41,_0x58b412,_0x4753bd){return _0x151cc1(_0x27f8e0-_0x5cfae1._0x26a6f9,_0x4753bd- -0x319,_0x4c3c41,_0x4753bd-0x15c);}validateReasoningOptionIds(_0x105ee2[_0x3b1655(-0x8,_0x3473c4._0x428fdb,-_0x3473c4._0x19b60b,-_0x3473c4._0x428fdb)],_0x1087fc);}),modelReasoningConfigSchema=z[_0x151cc1(0x1b0,0x169,0x15b,0x128)]({'defaultOption':z[_0x1ac42a(-0x245,-0x24f,-0x1c7,-0x71)]()['trim']()[_0x151cc1(0x58f,0x3db,0x277,0x3d4)](0x1)['optional'](),'canDisable':z[_0x151cc1(0x2c0,0x306,0x17e,0x4c3)]()[_0x151cc1(0x63b,0x4a0,0x500,0x543)](),'options':z['array'](reasoningOptionSchema)})['superRefine']((_0x224692,_0x1ef703)=>{const _0x27810e={_0x481678:0x1aa,_0x1c47e5:0x101,_0x338794:0x13a,_0x106aca:0x15b,_0x501790:0x9d,_0x737914:0x5e,_0x2401ac:0x1cf,_0x46cbba:0x2ed,_0x23d8e5:0x224,_0x21d691:0x250,_0x468212:0x2dc,_0x16f156:0x1f8,_0x18a227:0x20,_0x27874e:0x66,_0x25a530:0x101,_0x4c2873:0x100,_0x45568c:0xb5,_0xe53d3c:0x10,_0x275046:0xd8,_0x3b789c:0x13a,_0x1de4c5:0x152,_0x576b70:0x35,_0x58d58f:0x8c,_0x563432:0xe4},_0x5bbec4={_0x25a97c:0x1bf,_0x503493:0x2e},_0x3997ec={_0x241727:0x18};function _0x4e8c45(_0x1af988,_0x473aed,_0x5eca2c,_0x1f3808){return _0x151cc1(_0x1af988-_0x3997ec._0x241727,_0x1f3808- -0x404,_0x473aed,_0x1f3808-0x81);}function _0x44faed(_0x115acd,_0x4f91cd,_0x4f494c,_0x502963){return _0x151cc1(_0x115acd-_0x5bbec4._0x25a97c,_0x4f91cd- -0x346,_0x502963,_0x502963-_0x5bbec4._0x503493);}validateReasoningOptionIds(_0x224692[_0x4e8c45(0x4,0x55,-_0x27810e._0x481678,-_0x27810e._0x1c47e5)],_0x1ef703);const _0x40e38d=_0x224692[_0x44faed(0xf,-_0x27810e._0x338794,-0x77,-_0x27810e._0x106aca)]?.[_0x4e8c45(-_0x27810e._0x501790,-0xd4,-_0x27810e._0x737914,-0x206)]();if(_0x40e38d===void 0x0)return;if(_0x40e38d==='off'){_0x224692[_0x44faed(_0x27810e._0x2401ac,0x191,-0x8,0x14f)]!==!![]&&_0x1ef703[_0x4e8c45(-0x376,-0x201,-_0x27810e._0x46cbba,-_0x27810e._0x23d8e5)]({'code':'custom','path':[_0x4e8c45(-0x2c6,-_0x27810e._0x21d691,-_0x27810e._0x468212,-_0x27810e._0x16f156)],'message':_0x4e8c45(-0xde,0x3e,-0xc2,-_0x27810e._0x18a227)});return;}!_0x224692[_0x4e8c45(-0x1ec,-_0x27810e._0x27874e,-0x97,-_0x27810e._0x25a530)][_0x44faed(0x7,_0x27810e._0x4c2873,-_0x27810e._0x45568c,-0xa0)](_0x4d48e8=>_0x4d48e8['id'][_0x44faed(-0x12a,-0x148,-0x2bb,-0x25a)]()===_0x40e38d)&&_0x1ef703['addIssue']({'code':_0x4e8c45(-0x1a6,-_0x27810e._0xe53d3c,0x170,-0x16),'path':['defaultOption'],'message':_0x44faed(-0x95,_0x27810e._0x275046,0x182,0x78)+_0x224692[_0x44faed(-0x1f7,-_0x27810e._0x3b789c,-_0x27810e._0x1de4c5,-_0x27810e._0x576b70)]+_0x4e8c45(_0x27810e._0x58d58f,0x207,-_0x27810e._0x563432,0x95)});}),modelDefinitionSchema=z[_0x1ac42a(-0xdc,-0x3b2,-0x214,-0xeb)]({'id':z['string'](),'name':z[_0x151cc1(0x378,0x1b6,0x26a,0x134)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x1ac42a(0x27a,0x134,0x123,0xf9)]()})[_0x1ac42a(-0x84,-0xe0,-0x127,-0x22a)](),modelConfigSchema=z['union']([z[_0x151cc1(0x2bd,0x423,0x2fe,0x46d)](![]),z['literal'](!![]),z[_0x1ac42a(-0x1a0,-0x148,-0x1c7,-0x54)](),z['array'](z[_0x1ac42a(-0x101,-0x1ef,-0x1c7,-0x150)]()),z[_0x151cc1(0x43e,0x406,0x44f,0x3b6)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x151cc1(0x1ba,0x21a,0x2ad,0x301)]([_0x151cc1(0x4c1,0x45a,0x5f1,0x557),'openai-chat-completions',_0x151cc1(0x1c0,0x1d8,0x14,0x312),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x1ac42a(0x5,-0x46,-0x1c7,-0x1a8)]()[_0x1ac42a(0x10d,-0x40,0x123,0xfb)](),'token':z[_0x151cc1(0x15b,0x1b6,0x23f,0x2e3)]()[_0x151cc1(0x372,0x4a0,0x608,0x416)](),'defaultModel':z[_0x1ac42a(-0xa1,-0x13a,-0x1c7,-0x17f)]()[_0x151cc1(0x2d0,0x4a0,0x4a7,0x5f1)](),'smallModel':z[_0x1ac42a(-0x2bc,-0x29,-0x1c7,-0x304)]()[_0x151cc1(0x4c4,0x4a0,0x66c,0x380)](),'currentAuth':z[_0x151cc1(0x1f9,0x1b6,0x260,0x20c)]()[_0x151cc1(0x3c8,0x4a0,0x306,0x5ea)](),'auth':z[_0x151cc1(0x2b2,0x406,0x43b,0x2e4)](authMethodSchema)[_0x1ac42a(0xbc,0x2a0,0x123,0x1c1)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x1ac42a(-0x91,-0x6b,-0x1c7,-0x29b)]()[_0x1ac42a(0x193,0x2d3,0x123,0x2d4)](),'models':modelConfigSchema[_0x1ac42a(-0x61,0x264,0x123,0xa4)](),'customHeaders':z['record'](z[_0x151cc1(0x2de,0x1b6,0x328,0x25)](),z[_0x151cc1(0x231,0x1b6,0x28d,0x77)]())[_0x1ac42a(-0x1d,0x208,0x123,-0x35)](),'reasoning':providerReasoningConfigSchema[_0x1ac42a(0x20d,0x8a,0x123,0x26c)]()})[_0x151cc1(0x295,0x256,0x2c0,0x18a)](),mcpServerConfigSchema=z[_0x151cc1(0x310,0x169,0x303,0x145)]({'command':z[_0x1ac42a(-0x107,-0x2e5,-0x1c7,-0x35a)]()['optional'](),'args':z['array'](z['string']())[_0x1ac42a(0x104,0x2eb,0x123,0xc6)](),'env':z[_0x151cc1(0xc4,0x1fb,0x268,0x276)](z[_0x1ac42a(-0x189,-0x1ce,-0x1c7,-0x376)](),z['string']())[_0x1ac42a(0x103,0x5f,0x123,0xa4)](),'transport':z[_0x151cc1(0x248,0x21a,0xbf,0x4e)]([_0x151cc1(0x4e3,0x4ab,0x5c4,0x2fe),'http'])[_0x151cc1(0x4f4,0x4a0,0x5bf,0x5aa)](),'url':z['string']()[_0x151cc1(0x515,0x4a0,0x4a1,0x533)](),'headers':z[_0x1ac42a(-0x279,-0x227,-0x182,-0x202)](z[_0x151cc1(0x331,0x1b6,0x381,0x36b)](),z[_0x151cc1(0x1af,0x1b6,0x1fe,0x14)]())['optional'](),'prefix':z[_0x1ac42a(-0x14a,-0x11f,-0x1c7,-0x154)]()[_0x1ac42a(0xbf,0x19,0x123,0x210)](),'timeoutMs':z[_0x1ac42a(0x273,0xf0,0x142,0x199)]()[_0x151cc1(0x447,0x4a0,0x4b8,0x3d8)](),'enabled':z[_0x151cc1(0x480,0x306,0x1cf,0x291)]()['optional'](),'auth':z[_0x1ac42a(-0x34f,-0x27b,-0x214,-0x30f)]({'type':z[_0x151cc1(0x11a,0x21a,0xcc,0xad)](['none','bearer','oauth']),'token':z['string']()[_0x151cc1(0x54c,0x4a0,0x53e,0x43d)](),'oauth':z[_0x1ac42a(-0x3d5,-0x327,-0x214,-0x38a)]({'clientId':z[_0x1ac42a(-0x36a,-0xc,-0x1c7,-0x358)]()[_0x1ac42a(0x14e,0x193,0x123,0x98)](),'clientMetadataUrl':z[_0x1ac42a(-0x187,-0x32c,-0x1c7,-0x23b)]()[_0x1ac42a(0x14a,0x1ca,0x123,0x88)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x151cc1(0x3e4,0x406,0x505,0x26c)](z[_0x151cc1(0x2f5,0x1b6,0x278,0x26d)]())['optional'](),'tokenStorageKey':z[_0x151cc1(0x364,0x1b6,0x2d7,0x1bb)]()['optional']()})['passthrough']()[_0x151cc1(0x34b,0x4a0,0x5b0,0x619)]()})['passthrough']()[_0x151cc1(0x5c4,0x4a0,0x4ba,0x54d)]()})['passthrough'](),mcpToolPermissionClassSchema=z['enum']([_0x1ac42a(0x5f,0x215,0xed,-0xd9),_0x1ac42a(0xae,0x10b,0x103,0x2a5),_0x151cc1(0x2f7,0x364,0x2d3,0x20d)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x151cc1(0x664,0x4a0,0x5fb,0x591)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x151cc1(0x2ed,0x4a0,0x389,0x397)](),'defaultTimeoutMs':z[_0x1ac42a(0x2df,0x16b,0x142,0x14a)]()[_0x1ac42a(0x99,0x2cd,0x123,0x7b)]()})[_0x1ac42a(0x64,-0x1dd,-0x127,-0x2db)](),skillsSettingsSchema=z[_0x151cc1(-0x3c,0x169,0x293,-0x3)]({'enabled':z[_0x1ac42a(-0x176,-0x14e,-0x77,-0x37)]()['optional'](),'includeDefaults':z[_0x151cc1(0x36c,0x306,0x342,0x412)]()[_0x151cc1(0x410,0x4a0,0x608,0x45d)](),'directories':z[_0x1ac42a(0x30,0x1d4,0x89,0x1cb)](z[_0x151cc1(0x29d,0x1b6,0x202,-0xc)]())[_0x1ac42a(0x2c9,0x21a,0x123,0x85)](),'exclude':z['array'](z['string']())['optional']()})[_0x1ac42a(0x25,-0x1fc,-0x127,-0x195)](),commandsSettingsSchema=z['object']({'enabled':z[_0x151cc1(0x329,0x306,0x3a6,0x424)]()['optional'](),'directories':z[_0x1ac42a(0x130,0x234,0x89,0x4d)](z[_0x151cc1(0xf0,0x1b6,0xd0,0x315)]())[_0x151cc1(0x353,0x4a0,0x5db,0x531)]()})[_0x151cc1(0x1ec,0x256,0x19d,0x10a)](),agentsSettingsSchema=z[_0x1ac42a(-0x325,-0x87,-0x214,-0x1c2)]({'enabled':z[_0x1ac42a(-0x8a,0xd4,-0x77,-0x169)]()[_0x1ac42a(-0x68,0x2a6,0x123,0x2da)](),'includeDefaults':z[_0x151cc1(0x42b,0x306,0x435,0x201)]()[_0x151cc1(0x5de,0x4a0,0x2d8,0x434)](),'directories':z[_0x151cc1(0x341,0x406,0x52e,0x5c1)](z[_0x1ac42a(-0x11f,-0x195,-0x1c7,-0x1a9)]())[_0x1ac42a(0x144,0x19d,0x123,0x16e)](),'maxConcurrency':z[_0x1ac42a(0x20c,0x1db,0x142,0xd1)]()['finite']()[_0x151cc1(0x429,0x36c,0x3e1,0x1e4)]()[_0x1ac42a(0x21,-0x5f,0x11e,0x24)]()[_0x151cc1(0x4ee,0x4a0,0x58d,0x65a)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x1ac42a(-0x172,-0x3af,-0x214,-0x1ad)]({'mode':z[_0x1ac42a(-0x1c3,-0x39,-0x163,-0x12)]([_0x1ac42a(-0xad,0xd6,0xd2,0x10d),_0x1ac42a(0x145,-0x8d,0xf4,0x90),'light'])[_0x1ac42a(0x298,-0x72,0x123,0x2ad)](),'colorLevel':z[_0x1ac42a(-0x85,-0x170,-0x163,-0x1ef)]([_0x1ac42a(0x93,0xe0,0xd2,0x181),_0x1ac42a(0x20e,-0xb9,0x100,-0x5),_0x1ac42a(0x77,0x106,0x166,0x208),_0x1ac42a(-0xd3,0xf,-0xc,-0x163),_0x151cc1(0x1f9,0x1bb,0x1f8,0x306)])[_0x151cc1(0x499,0x4a0,0x475,0x55b)](),'backgrounds':z[_0x1ac42a(-0x1ae,0x5c,-0x163,0x49)]([_0x1ac42a(0xa,-0xfd,0xd2,-0xcb),'on',_0x151cc1(0x186,0x1c5,0x1ff,0x1b6)])['optional'](),'messageStyle':z[_0x151cc1(0x367,0x21a,0x3db,0x350)]([_0x1ac42a(0x10,-0x46,-0x42,0xdf),_0x1ac42a(0x161,0x4e,0x16c,0x51)])[_0x1ac42a(0x15f,0x87,0x123,0x179)]()})[_0x151cc1(0x29e,0x256,0x265,0x117)](),statuslineSegmentSchema=z['enum']([_0x1ac42a(-0x43,0x27,-0x8e,-0x136),_0x1ac42a(-0x21a,-0x6f,-0xf7,0x2a),_0x1ac42a(0x85,-0xb9,0xd0,0x6c),_0x151cc1(0x24c,0x209,0x2cb,0x39e),'tokens','context',_0x1ac42a(0x145,-0x14e,0x26,0x164),_0x151cc1(0x2d7,0x270,0x20e,0x389),_0x1ac42a(-0x2f8,-0xe3,-0x206,-0x2b3),_0x1ac42a(-0x202,-0xa6,-0x149,-0x36),_0x151cc1(0x110,0x1aa,0xb7,0x2c),'gitBranch',_0x1ac42a(0x1b6,-0x52,0x63,-0xd6),'memory',_0x1ac42a(0x64,-0x4c,0x25,0x13f)]),statuslineItemSchema=z[_0x151cc1(0x355,0x275,0x1c7,0x142)]([statuslineSegmentSchema,z[_0x1ac42a(-0xfe,0x1dd,0xa6,-0xd6)]('|')]),statuslineRowSchema=z[_0x151cc1(0x3cf,0x406,0x2aa,0x351)](statuslineItemSchema),statuslineConfigSchema=z[_0x151cc1(0x29b,0x169,0xeb,0x23a)]({'rows':z[_0x1ac42a(0x2b5,0x7,0x149,-0x81)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x151cc1(0x1de,0x256,0x3e7,0x36f)](),memoryExtractionSettingsSchema=z[_0x151cc1(0x1cc,0x169,0x32f,0x2e4)]({'enabled':z[_0x1ac42a(-0xb5,0xde,-0x77,-0x159)]()[_0x151cc1(0x433,0x4a0,0x59a,0x38a)](),'provider':z[_0x1ac42a(-0x1d7,-0x288,-0x1c7,-0x145)]()[_0x151cc1(0x2c6,0x3db,0x503,0x48d)](0x1)[_0x1ac42a(0x1ee,0xff,0x123,0x4c)](),'model':z[_0x1ac42a(-0xec,-0x289,-0x1c7,-0x155)]()['min'](0x1)[_0x1ac42a(-0x18,0x2ec,0x123,0x235)](),'minUserMessages':z[_0x151cc1(0x50e,0x4bf,0x651,0x433)]()['int']()[_0x151cc1(0x527,0x3db,0x379,0x462)](0x1)['optional']()})['strict'](),memorySettingsSchema=z['object']({'enabled':z[_0x151cc1(0x417,0x306,0x222,0x25d)]()[_0x1ac42a(0x11a,0xd4,0x123,0x21)](),'extraction':memoryExtractionSettingsSchema[_0x151cc1(0x360,0x4a0,0x409,0x5c0)]()})[_0x1ac42a(0x2a1,0x248,0x148,0xb0)](),recentModelSchema=z['object']({'provider':z['string'](),'model':z[_0x1ac42a(-0xef,-0x238,-0x1c7,-0x11a)](),'usedAt':z[_0x1ac42a(0x2db,0x1f2,0x142,0x1df)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x151cc1(0x1ee,0x306,0x3ec,0x44c)]()['optional'](),'command':z[_0x151cc1(0x310,0x1b6,0x157,0xbc)]()['optional'](),'args':z[_0x151cc1(0x5b8,0x406,0x4ea,0x3f0)](z[_0x1ac42a(-0x160,-0xb1,-0x1c7,-0x22e)]())[_0x151cc1(0x2ff,0x4a0,0x337,0x2d1)](),'rootMarkers':z[_0x151cc1(0x312,0x406,0x5b9,0x51a)](z['string']())['optional']()})[_0x151cc1(0x35b,0x256,0x2df,0x36f)](),lspConfigSchema=z['object']({'enabled':z[_0x151cc1(0x1be,0x306,0x3a6,0x13b)]()[_0x1ac42a(-0x8,0x2b8,0x123,0x16f)](),'servers':z[_0x151cc1(0x197,0x1fb,0x2a4,0x2b4)](z[_0x151cc1(0x2d0,0x1b6,0x19,0x1d4)](),lspServerEntrySchema)[_0x151cc1(0x3ee,0x4a0,0x5ae,0x5a5)]()})[_0x1ac42a(0xe,-0x1b4,-0x127,-0x2da)](),serverEndpointSchema=z[_0x151cc1(0x188,0x169,0x145,0x1ea)]({'url':z[_0x151cc1(0x1b3,0x1b6,0x195,0x1d7)](),'token':z[_0x151cc1(0x30a,0x1b6,0x1ca,0x6c)]()[_0x1ac42a(-0x1d,0x156,0x123,0x0)]()})[_0x151cc1(0x360,0x256,0x318,0xea)](),commandHookConfigSchema=z[_0x151cc1(0x29f,0x169,0x15a,0x1f7)]({'type':z[_0x1ac42a(0x152,0x155,0xa6,-0x88)](_0x1ac42a(0x4,0x56,-0x48,-0x100)),'command':z[_0x1ac42a(-0x2ae,-0x1f3,-0x1c7,-0x70)](),'timeout':z[_0x151cc1(0x58a,0x4bf,0x5e5,0x324)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1ac42a(-0x2af,-0x103,-0x1c7,-0x21b)]()[_0x151cc1(0x648,0x4a0,0x3de,0x3fb)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x151cc1(0x312,0x169,0x182,0x2b)]({'PreToolUse':z[_0x151cc1(0x33d,0x406,0x498,0x31b)](hookMatcherGroupSchema)[_0x1ac42a(-0x14,0xd0,0x123,0x165)](),'PostToolUse':z[_0x1ac42a(-0x13b,-0x12c,0x89,0x242)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x1ac42a(0xce,0x256,0x89,0xf7)](hookMatcherGroupSchema)[_0x151cc1(0x325,0x4a0,0x524,0x46f)](),'Stop':z[_0x1ac42a(0x3d,0x1ea,0x89,0x130)](hookMatcherGroupSchema)[_0x1ac42a(0x15f,0x9f,0x123,-0x12)](),'Notification':z[_0x151cc1(0x2e7,0x406,0x283,0x38c)](hookMatcherGroupSchema)[_0x1ac42a(-0x5d,0xca,0x123,0x65)](),'ToolApprovalRequest':z[_0x1ac42a(0x1e,-0xcf,0x89,0xe4)](hookMatcherGroupSchema)[_0x1ac42a(0x295,-0x68,0x123,0x123)](),'SessionStart':z[_0x151cc1(0x4d3,0x406,0x33b,0x5bc)](hookMatcherGroupSchema)[_0x1ac42a(0x1c1,-0x57,0x123,-0x5)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x1ac42a(0x6b,-0x2,0x123,-0x28)]()}),providerNameSchema=z['string']()[_0x1ac42a(0xee,0xbc,0x5e,0x18)](0x1,_0x151cc1(0x419,0x4ae,0x526,0x55d))[_0x151cc1(0x341,0x333,0x47f,0x2cf)](_0x1a204e=>!_0x1a204e[_0x151cc1(0x161,0x245,0x21e,0x11a)](':'),_0x151cc1(0x37c,0x22f,0x3ef,0x3ff)),bashPolicyRuleSchema=z['object']({'id':z[_0x151cc1(0x7b,0x1b6,-0xf,0x1d7)]()[_0x151cc1(0x301,0x42d,0x5b2,0x547)]()['min'](0x1)[_0x151cc1(0x328,0x40e,0x567,0x596)](0x80),'action':z[_0x1ac42a(-0x2a9,-0x141,-0x163,-0x29)](['allow','deny']),'cwd':z[_0x1ac42a(-0x2fe,-0x261,-0x163,-0x220)]([_0x151cc1(0x2a8,0x404,0x52a,0x3b2),_0x151cc1(0x419,0x2e6,0x2c9,0x2a5)])[_0x151cc1(0x2eb,0x4a0,0x5b5,0x60d)](),'commands':z[_0x151cc1(0x5c9,0x406,0x236,0x297)](z[_0x1ac42a(-0x150,-0x1e5,-0x1c7,-0x2e)]()[_0x1ac42a(0xe1,0x48,0x5e,0x2c)](0x1))[_0x151cc1(0x40d,0x3db,0x44c,0x400)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x1ac42a(-0x2a0,-0x190,-0x214,-0x2fb)]({'default':z[_0x1ac42a(0x189,0x200,0xa6,0x8c)](_0x151cc1(0x170,0x247,0x174,0x316))['optional'](),'rules':z['array'](bashPolicyRuleSchema)['max'](0x3e8)})[_0x1ac42a(0x2a,0x2e5,0x148,0x1a8)](),cliConfigSchema=z[_0x151cc1(0xf7,0x169,0x268,0x1e2)]({'activeProvider':providerNameSchema[_0x1ac42a(0x46,0x1c6,0x123,0x100)](),'activeModel':z[_0x151cc1(-0x10,0x1b6,0x10b,0x1aa)]()[_0x1ac42a(0x9a,0x169,0x123,0x149)](),'apiKey':z['string']()['optional'](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1ac42a(0x14f,0xa5,0x123,0x1)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x1ac42a(0x20,0x216,0x123,-0x6c)](),'agents':agentsSettingsSchema[_0x151cc1(0x5ae,0x4a0,0x5a0,0x5d3)](),'commands':commandsSettingsSchema[_0x151cc1(0x4b5,0x4a0,0x4be,0x426)](),'skillsEnabled':z[_0x1ac42a(-0x20c,-0x1be,-0x182,-0x2a9)](z[_0x1ac42a(-0x13b,-0x34b,-0x1c7,-0x241)](),z[_0x151cc1(0x287,0x306,0x39e,0x278)]())[_0x151cc1(0x2d7,0x4a0,0x34f,0x42c)](),'allowedDirs':z[_0x151cc1(0x576,0x406,0x397,0x57b)](z[_0x1ac42a(-0x309,-0x21a,-0x1c7,-0x150)]())[_0x151cc1(0x3d2,0x4a0,0x46b,0x3a9)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(0xac,0x42,-0x77,-0x2d)]())[_0x151cc1(0x641,0x4a0,0x525,0x66e)](),'commandsEnabled':z[_0x151cc1(0x2bd,0x1fb,0x19a,0x28a)](z[_0x151cc1(0x74,0x1b6,0xf1,0x114)](),z[_0x1ac42a(0x14b,0xab,-0x77,0x39)]())[_0x151cc1(0x3c0,0x4a0,0x426,0x3ab)](),'memory':memorySettingsSchema[_0x151cc1(0x3df,0x4a0,0x4bc,0x3c8)](),'session':z['object']({'memPersist':z[_0x1ac42a(-0x1fd,-0xb3,-0x77,-0xcf)]()[_0x151cc1(0x646,0x4a0,0x3f7,0x4e6)](),'persistEventLog':z[_0x151cc1(0x3eb,0x306,0x438,0x3d9)]()['optional'](),'persistHttpLog':z['boolean']()[_0x151cc1(0x44d,0x4a0,0x4fc,0x48c)]()})[_0x151cc1(0xe0,0x256,0x17d,0xd6)]()[_0x1ac42a(0x275,0x135,0x123,0x9f)](),'requireToolApproval':z['boolean']()[_0x151cc1(0x4b3,0x4a0,0x327,0x3ff)](),'thinking':z[_0x1ac42a(-0x2dc,-0xd8,-0x214,-0x79)]({'selections':z[_0x151cc1(0x1d6,0x1fb,0x246,0x2a1)](z[_0x1ac42a(-0x10c,-0x2b9,-0x1c7,-0x9d)](),z[_0x151cc1(0x338,0x1b6,0x31f,0x128)]())[_0x1ac42a(0x2a5,-0x3a,0x123,0xdb)]()})[_0x1ac42a(0x1b,0x1ad,0x123,0x129)](),'streamingChunks':z['boolean']()['optional'](),'agentsEnabled':z[_0x1ac42a(-0x295,-0x1a1,-0x182,-0x1a9)](z['string'](),z[_0x151cc1(0x455,0x306,0x348,0x1f7)]())[_0x1ac42a(0x2c,-0x49,0x123,-0x51)](),'recentModels':z[_0x151cc1(0x335,0x406,0x4fc,0x360)](recentModelSchema)[_0x151cc1(0x5d5,0x4a0,0x44b,0x4ed)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x151cc1(0x1a4,0x1fb,0xb9,0x1d8)](z['string'](),serverEndpointSchema)[_0x151cc1(0x58c,0x4a0,0x399,0x40f)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x1ac42a(-0x3c,0x136,0x123,0x105)](),'statusline':statuslineConfigSchema['optional']()})[_0x151cc1(0x1c8,0x256,0x329,0x264)]()['optional'](),'tools':z[_0x151cc1(0xfd,0x1fb,0x129,0x30)](z['string'](),z[_0x151cc1(0x29,0x19d,-0x26,0x327)]())['optional'](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x151cc1(0x22f,0x19d,0x106,0x21b)]()[_0x151cc1(0x378,0x4a0,0x53f,0x5b6)]()})['passthrough'](),workspaceOverlaySchema=z[_0x1ac42a(-0x82,-0x2fc,-0x214,-0x2de)]({'root':z[_0x1ac42a(-0x377,-0x1ad,-0x1c7,-0x99)]()[_0x151cc1(0x654,0x4a0,0x5a5,0x305)](),'allowedDirs':z[_0x151cc1(0x59b,0x406,0x47b,0x2a9)](z[_0x1ac42a(-0x1bb,-0x1b2,-0x1c7,-0x1bc)]())[_0x1ac42a(0x27e,0x218,0x123,0x1a7)](),'activeProvider':providerNameSchema[_0x151cc1(0x362,0x4a0,0x5fa,0x2e0)](),'activeModel':z[_0x1ac42a(-0x13e,-0x37,-0x1c7,-0xd1)]()[_0x151cc1(0x64e,0x4a0,0x50a,0x48b)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x151cc1(0x33a,0x4a0,0x551,0x36f)](),'agents':agentsSettingsSchema[_0x151cc1(0x662,0x4a0,0x3c8,0x2e5)](),'commands':commandsSettingsSchema[_0x151cc1(0x501,0x4a0,0x569,0x3e4)](),'hooks':hooksConfigSchema[_0x151cc1(0x5f1,0x4a0,0x309,0x4e1)](),'memory':memorySettingsSchema[_0x151cc1(0x3e8,0x4a0,0x3dc,0x577)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(-0x20d,0x63,-0x77,-0x86)]())[_0x1ac42a(-0x8b,0x1de,0x123,-0x73)](),'skillsEnabled':z[_0x151cc1(0x30d,0x1fb,0x2c1,0x33d)](z[_0x1ac42a(-0x18c,-0x1b9,-0x1c7,-0x167)](),z[_0x1ac42a(-0x14c,0x147,-0x77,0x135)]())['optional'](),'agentsEnabled':z[_0x151cc1(0x87,0x1fb,0x254,0x330)](z[_0x151cc1(0x168,0x1b6,0x29,-0x8)](),z[_0x1ac42a(-0x136,-0xe7,-0x77,0x124)]())[_0x151cc1(0x622,0x4a0,0x4b1,0x334)](),'commandsEnabled':z[_0x151cc1(0x5d,0x1fb,0xb3,0x366)](z[_0x1ac42a(-0x1b8,-0x306,-0x1c7,-0xc6)](),z[_0x151cc1(0x30b,0x306,0x431,0x3c5)]())[_0x151cc1(0x3e7,0x4a0,0x431,0x486)](),'bashPolicy':z[_0x151cc1(0x339,0x19d,0x36b,0x1e)]()['optional']()})[_0x1ac42a(-0x73,-0x2e9,-0x127,-0x15c)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0x151cc1(0x560,0x46c,0x2a6,0x487)]),_0x1ac42a(-0x30,0x268,0xef,0x68)]);function buildDescription(_0x4f8296){const _0x4b1810={_0x17dfd1:0x4b3,_0x29afe4:0x352,_0x2ce3c2:0x531,_0xaaecca:0x5b5,_0x1bc895:0x4ad,_0x264273:0x3bc,_0x57551d:0x36,_0x25958f:0x357,_0x27eae7:0x19d,_0x48a06f:0x48},_0x37d5af={_0x2f9722:0x95,_0x3ecc43:0x8c},_0x3186a1={_0x1e1c56:0x12d,_0x57320e:0xc};if(_0x4f8296['length']===0x0)return[_0xef8448(0x341,0x294,_0x4b1810._0x17dfd1,0x3bc),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x4387da(_0x4b1810._0x29afe4,0x3ba,0x200,_0x4b1810._0x2ce3c2)][_0x4387da(_0x4b1810._0xaaecca,_0x4b1810._0x1bc895,0x5e9,0x5bf)]('\x0a');function _0x4387da(_0x16a521,_0x97b011,_0x9e1ab3,_0x2ac99a){return _0x151cc1(_0x16a521-_0x3186a1._0x1e1c56,_0x97b011- -_0x3186a1._0x57320e,_0x9e1ab3,_0x2ac99a-0xe3);}const _0x452926=[_0xef8448(0x461,0x4bb,0x55f,_0x4b1810._0x264273),_0x4387da(-_0x4b1810._0x57551d,0x198,_0x4b1810._0x25958f,0x16f),_0x4387da(0x208,_0x4b1810._0x27eae7,0x326,_0x4b1810._0x48a06f),..._0x4f8296['map'](_0x342c84=>_0x342c84[_0xef8448(0x227,0x38c,0x42d,0x307)]?'-\x20'+_0x342c84[_0xef8448(0x431,0x47e,0x356,0x37a)]+'\x20'+_0x342c84[_0x4387da(0x295,0x390,0x4d8,0x42f)]+':\x20'+_0x342c84['description']:'-\x20'+_0x342c84['name']+':\x20'+_0x342c84['description'])];function _0xef8448(_0x5e04f5,_0x327021,_0x9c0598,_0x185660){return _0x151cc1(_0x5e04f5-0x13e,_0x185660- -_0x37d5af._0x2f9722,_0x327021,_0x185660-_0x37d5af._0x3ecc43);}return _0x452926['join']('\x0a');}function createInvokeCommandTool(_0x367cf9){const _0x1788d8={_0x236ebd:0x637,_0x415456:0x30a,_0x4cac08:0x5ad,_0x50ab59:0x834,_0x41debc:0x4d1,_0x1074bd:0x355,_0x42fe8e:0x4c2,_0x1a54bb:0x635,_0x477cc5:0x5d3,_0x2853c5:0x450,_0x26ed70:0x3c2,_0x578971:0x4e3,_0x57a9c4:0x282,_0x5b05d5:0x2c5,_0x3301f7:0x40f,_0x250bdc:0x409,_0x49d995:0x3c6,_0x5148ad:0x549,_0x453aba:0x51e},_0xfceab6={_0x355f8c:0x6a1,_0x3c9f4c:0x40d,_0x23793e:0x3ea,_0x568067:0x3aa,_0x2db243:0x3af,_0x464604:0x2fe,_0x5436fa:0x50f,_0x7bfb84:0x630,_0x22fad3:0x64c,_0x31cd57:0x51d,_0x5dee39:0x67f,_0x1f2e90:0x314,_0x33191c:0x31a,_0x507e07:0x220},_0x2f6e63={_0x1b0cc6:0x47},_0x289520={_0x31af6c:0xd7},_0xb3a101=new Map(_0x367cf9[_0x5a3d92(0x4d1,0x64c,_0x1788d8._0x236ebd,_0x1788d8._0x415456)][_0x5a3d92(0x680,_0x1788d8._0x4cac08,0x635,_0x1788d8._0x50ab59)](_0x2eb1c0=>[_0x2eb1c0['id'],_0x2eb1c0]));function _0x349fd9(_0xc5895,_0x16d714,_0x545668,_0x52967b){return _0x151cc1(_0xc5895-0xd9,_0x52967b-0x10f,_0x16d714,_0x52967b-0xcd);}function _0x5a3d92(_0x323daf,_0x45ce66,_0x3f47cb,_0x4ccf6d){return _0x1ac42a(_0x323daf-0xe7,_0x45ce66-_0x289520._0x31af6c,_0x323daf-0x5d6,_0x4ccf6d);}const _0xf0a461=buildDescription(_0x367cf9[_0x5a3d92(_0x1788d8._0x41debc,_0x1788d8._0x1074bd,0x587,0x620)]);return defineTool({'name':_0x5a3d92(_0x1788d8._0x42fe8e,0x4c8,0x419,0x63d),'permissionClass':_0x5a3d92(0x5bd,_0x1788d8._0x1a54bb,_0x1788d8._0x477cc5,_0x1788d8._0x2853c5),'description':_0xf0a461,'inputSchema':{'type':_0x5a3d92(_0x1788d8._0x26ed70,0x517,_0x1788d8._0x578971,_0x1788d8._0x57a9c4),'properties':{'name':{'type':_0x349fd9(0x45a,0x130,0x385,_0x1788d8._0x5b05d5)},'args':{'type':_0x5a3d92(_0x1788d8._0x3301f7,0x536,_0x1788d8._0x250bdc,0x4a4)}},'required':[_0x349fd9(0x3fc,_0x1788d8._0x49d995,_0x1788d8._0x5148ad,_0x1788d8._0x453aba)]},async *'execute'(_0x57f310){const _0x55116a={_0x25282f:0xa4,_0x3edd79:0xa5};function _0x40cfa9(_0x149836,_0x41aa20,_0x38c869,_0x3d8717){return _0x349fd9(_0x149836-_0x55116a._0x25282f,_0x3d8717,_0x38c869-_0x55116a._0x3edd79,_0x149836- -0x1ba);}const _0xb08876=_0xb3a101[_0x2c0e68(0x57b,0x65d,_0xfceab6._0x355f8c,_0xfceab6._0x3c9f4c)](_0x57f310[_0x40cfa9(0x364,_0xfceab6._0x23793e,_0xfceab6._0x568067,_0xfceab6._0x2db243)]);function _0x2c0e68(_0x5f49e5,_0x218224,_0x252924,_0x3e1b12){return _0x5a3d92(_0x5f49e5- -_0x2f6e63._0x1b0cc6,_0x218224-0xe2,_0x252924-0x8b,_0x252924);}if(!_0xb08876){const _0xf2b371=Array['from'](_0xb3a101['keys']())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x57f310['name']+_0x2c0e68(0x3a5,_0xfceab6._0x464604,0x4a8,0x28b)+_0xf2b371,{'name':_0x57f310['name']});}const _0xcce342=await _0x367cf9['loadCommand'](_0xb08876),_0x38507f=_0x57f310[_0x2c0e68(_0xfceab6._0x5436fa,0x36e,0x597,_0xfceab6._0x7bfb84)]??'',_0x3f2834=renderCommandInstructions({'instructions':_0xcce342['instructions'],'argumentsText':_0x38507f,'argumentNames':_0xcce342[_0x2c0e68(_0xfceab6._0x22fad3,_0xfceab6._0x31cd57,_0xfceab6._0x5dee39,0x5d9)]});return yield createToolOutput(_0x3f2834,{'id':_0xcce342['id'],'name':_0xcce342[_0x40cfa9(0x364,_0xfceab6._0x1f2e90,_0xfceab6._0x33191c,0x425)],'path':_0xb08876['source'][_0x40cfa9(0x162,_0xfceab6._0x507e07,0x2ab,0x5d)]}),void 0x0;}});}import{readFile as _0x844ce1,rename as _0xe58e8a,stat as _0x5ae177,writeFile as _0x46e694}from'fs/promises';import*as _0x2ab8b9 from'path';import{createHash}from'crypto';function sha256Bytes(_0x34d123){const _0xedae43={_0x113129:0x60,_0xf2c82e:0x527,_0x23a3a6:0x581,_0x560b47:0x6d5},_0x48c0d9={_0x3611d3:0x388},_0x421e28={_0xb9a1be:0x83,_0x39acac:0x57c};function _0x41fb94(_0x4c15dd,_0x2d6666,_0x426591,_0x131b34){return _0x1ac42a(_0x4c15dd-_0x421e28._0xb9a1be,_0x2d6666-0x134,_0x426591-_0x421e28._0x39acac,_0x2d6666);}function _0x1d2a62(_0x39bc8f,_0x4f5515,_0x4337ad,_0x15909e){return _0x151cc1(_0x39bc8f-0x1dc,_0x4f5515- -_0x48c0d9._0x3611d3,_0x15909e,_0x15909e-0x16a);}return createHash(_0x1d2a62(0x163,-_0xedae43._0x113129,-0x22b,0x0))[_0x41fb94(0x443,0x1e3,0x370,0x1c2)](_0x34d123)['digest'](_0x41fb94(_0xedae43._0xf2c82e,0x46d,_0xedae43._0x23a3a6,_0xedae43._0x560b47));}function countLines(_0xc55851){const _0x3b4baa={_0x151d4c:0x2f6,_0x5e27cb:0x401,_0x14a9fb:0x48b,_0x40dae6:0x684,_0x886f26:0x5ab},_0x275817={_0x4e4e42:0x9b},_0x430314={_0x424c3e:0x4a2};function _0x2baf6e(_0x257eb9,_0x72c278,_0x5da5da,_0x3af8ee){return _0x1ac42a(_0x257eb9-0x199,_0x72c278-0x5b,_0x3af8ee-_0x430314._0x424c3e,_0x5da5da);}const _0x2d8fc3=_0xc55851[_0x2baf6e(0x1a7,0x44d,0x3c6,_0x3b4baa._0x151d4c)](/\n$/,'');function _0x440f58(_0x1d7d57,_0x385a52,_0x4ec947,_0x1514dc){return _0x151cc1(_0x1d7d57-0xd6,_0x385a52- -_0x275817._0x4e4e42,_0x4ec947,_0x1514dc-0x6b);}return _0x2d8fc3['length']===0x0?0x0:_0x2d8fc3['split']('\x0a')[_0x2baf6e(_0x3b4baa._0x5e27cb,_0x3b4baa._0x14a9fb,_0x3b4baa._0x40dae6,_0x3b4baa._0x886f26)];}function replaceFirstExact(_0x5df5e5,_0x583d47,_0x258039){const _0xb350f4={_0x58ae01:0x531,_0x5533b4:0x2d4,_0x2faba9:0x18e,_0x658454:0x85,_0x58340c:0x642,_0x33f367:0x591,_0x1aeb3f:0x64b,_0x2f9e0e:0x4d2,_0x16d6a8:0x5b4,_0x10bcd2:0x726,_0x444e1c:0x52d},_0xaab479={_0x76d7c4:0x187,_0x246f48:0x173,_0x15ba61:0x1b6},_0x21c0ec=_0x5df5e5['indexOf'](_0x583d47);if(_0x21c0ec===-0x1)return void 0x0;function _0x506a07(_0x2bbae1,_0x1da381,_0x58f6ba,_0x52869d){return _0x151cc1(_0x2bbae1-_0xaab479._0x76d7c4,_0x2bbae1-_0xaab479._0x246f48,_0x58f6ba,_0x52869d-_0xaab479._0x15ba61);}const _0x3e2a7a=_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58ae01,0x370,0x617)](0x0,_0x21c0ec)[_0x52a265(_0xb350f4._0x5533b4,-0x57,0x15d,-0x5c)]('\x0a')[_0x52a265(_0xb350f4._0x2faba9,_0xb350f4._0x658454,0x1a5,0x1a4)],_0x4302b2=countLines(_0x583d47),_0x31f3f0=countLines(_0x258039);function _0x52a265(_0x455ea8,_0x531aec,_0x3c4ed5,_0x19397e){return _0x151cc1(_0x455ea8-0x1b2,_0x3c4ed5- -0x2e1,_0x19397e,_0x19397e-0x55);}return{'before':_0x5df5e5,'after':_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58340c,_0xb350f4._0x33f367,_0xb350f4._0x1aeb3f)](0x0,_0x21c0ec)+_0x258039+_0x5df5e5[_0x506a07(_0xb350f4._0x2f9e0e,0x3bc,0x5cd,_0xb350f4._0x16d6a8)](_0x21c0ec+_0x583d47[_0x506a07(0x5f9,_0xb350f4._0x10bcd2,_0xb350f4._0x444e1c,0x72e)]),'lineNumbers':{'oldStartLine':_0x3e2a7a,'oldEndLine':_0x3e2a7a+_0x4302b2-0x1,'newStartLine':_0x3e2a7a,'newEndLine':_0x3e2a7a+_0x31f3f0-0x1,'oldLineCount':_0x4302b2,'newLineCount':_0x31f3f0}};}function detectEol(_0x429971){const _0x22431c={_0x43feb2:0x31e,_0x46f91f:0x35d,_0x21f9b6:0x3cf,_0x3bfe51:0x21b,_0x40fd67:0x7f8,_0x19c408:0x58e},_0x472dbd={_0x200c8d:0x1a6,_0x304edb:0x1b9},_0x443fbb={_0x281ffb:0x180,_0x2a4d82:0x17a};function _0x39330b(_0xb06e23,_0x22357b,_0x44e414,_0x1fbbb1){return _0x151cc1(_0xb06e23-0xa7,_0xb06e23-_0x443fbb._0x281ffb,_0x22357b,_0x1fbbb1-_0x443fbb._0x2a4d82);}function _0x56d311(_0x78f0d5,_0xdd5674,_0x48b892,_0xeb5de7){return _0x1ac42a(_0x78f0d5-0x160,_0xdd5674-_0x472dbd._0x200c8d,_0x78f0d5-_0x472dbd._0x304edb,_0x48b892);}return/\r\n/[_0x56d311(_0x22431c._0x43feb2,0x494,_0x22431c._0x46f91f,0x1b3)](_0x429971[_0x39330b(_0x22431c._0x21f9b6,_0x22431c._0x3bfe51,0x4ac,0x489)](_0x39330b(0x66c,_0x22431c._0x40fd67,0x59d,0x80d)))?_0x39330b(0x64d,0x5f9,_0x22431c._0x19c408,0x71c):'lf';}function normalizeToLf(_0x2fa448){return _0x2fa448['replace'](/\r\n/g,'\x0a');}function convertEol(_0x34ad7c,_0x7aa861){const _0x30edd1={_0x286a3b:0x49a,_0x5b2375:0x4ad,_0x3b7d93:0x32c,_0x341f40:0xc4,_0x91cdd5:0x26f},_0x1d4376={_0x49240e:0x14a,_0x533aba:0x1},_0x5aefbf={_0x4e31b6:0x688};function _0xf6e959(_0x5457a9,_0x34bd12,_0x64d7c1,_0x551ed8){return _0x1ac42a(_0x5457a9-0x68,_0x34bd12-0x188,_0x5457a9-_0x5aefbf._0x4e31b6,_0x64d7c1);}function _0x15c93c(_0x3ace9b,_0x35c97d,_0x2854a9,_0x1f6e5c){return _0x1ac42a(_0x3ace9b-_0x1d4376._0x49240e,_0x35c97d-_0x1d4376._0x533aba,_0x3ace9b-0x34a,_0x35c97d);}return _0x7aa861===_0x15c93c(_0x30edd1._0x286a3b,_0x30edd1._0x5b2375,0x489,0x2cc)?_0x34ad7c[_0x15c93c(0x19e,_0x30edd1._0x3b7d93,_0x30edd1._0x341f40,_0x30edd1._0x91cdd5)](/\n/g,'\x0d\x0a'):_0x34ad7c;}async function atomicWrite(_0x48aed7,_0x30ca21){const _0x5ba4dc={_0x448508:0x865,_0x49fce9:0x78c,_0x260d06:0x3a3,_0x215c6e:0x586,_0x1b2a95:0x6a8,_0x499d15:0x3f1,_0x5e0ffd:0x779,_0x2a295c:0x8f0,_0x2a4f22:0x258,_0x3cf6d0:0x2eb,_0x58c489:0x277,_0x48ddb2:0x658,_0x4ed486:0x4d1},_0x5c630b={_0x3a8fbe:0x1c4,_0x9494fe:0xe9,_0x151388:0x711},_0x4f66c5={_0x424524:0x81,_0x78fbb7:0x261,_0x43101d:0x9};function _0x3e8263(_0x34f8cb,_0x3de930,_0x38a3da,_0x83e51e){return _0x151cc1(_0x34f8cb-_0x4f66c5._0x424524,_0x83e51e- -_0x4f66c5._0x78fbb7,_0x34f8cb,_0x83e51e-_0x4f66c5._0x43101d);}const _0x351310=_0x2ab8b9[_0x490475(0x78f,_0x5ba4dc._0x448508,_0x5ba4dc._0x49fce9,0x837)](_0x48aed7),_0x344772=_0x2ab8b9[_0x3e8263(0x405,0xaa,_0x5ba4dc._0x260d06,0x258)](_0x351310,_0x490475(0x3c2,_0x5ba4dc._0x215c6e,_0x5ba4dc._0x1b2a95,_0x5ba4dc._0x499d15)+_0x2ab8b9[_0x3e8263(0x2c3,0x314,0x260,0x20d)](_0x48aed7)+'.'+Date[_0x490475(_0x5ba4dc._0x5e0ffd,0x76a,0x698,_0x5ba4dc._0x2a295c)]()+'.'+Math[_0x3e8263(_0x5ba4dc._0x2a4f22,_0x5ba4dc._0x3cf6d0,0x207,_0x5ba4dc._0x58c489)]()[_0x490475(_0x5ba4dc._0x48ddb2,0x5e3,0x5bf,_0x5ba4dc._0x4ed486)](0x24)['slice'](0x2));function _0x490475(_0x189dc0,_0x3d4474,_0x2bdfbe,_0x937bfc){return _0x1ac42a(_0x189dc0-_0x5c630b._0x3a8fbe,_0x3d4474-_0x5c630b._0x9494fe,_0x3d4474-_0x5c630b._0x151388,_0x937bfc);}await _0x46e694(_0x344772,_0x30ca21),await _0xe58e8a(_0x344772,_0x48aed7);}function createFileEditTool(_0x44fc77={}){const _0xb8cfff={_0x239473:0x4d5,_0x386425:0x45e,_0x4cc389:0x58b,_0x44933f:0x400,_0x1f3907:0x6cc,_0x1a1e29:0x50a,_0x1ff3f6:0x146,_0x3a89b3:0xf0,_0x21196a:0x518,_0x56a58c:0x406,_0x390c57:0x6f7,_0x11c05c:0x388,_0x44a190:0x139,_0x37347e:0x2ac,_0x4a1b1a:0x351,_0x355e3b:0x264,_0x391c8b:0x2bf,_0x1d5182:0x2ff,_0xbcece9:0x3f9,_0x102ca5:0x263,_0x629ea1:0x537,_0xa48a0d:0x2f9,_0x28586e:0x370,_0x86e008:0x18a,_0x139582:0x264,_0x44a0c4:0x371,_0x14bd79:0x269,_0x5280eb:0x3b4,_0x2d4ec6:0x341,_0x2851ff:0x4b6,_0x4a6f5c:0x40e,_0x5ccddd:0x4e7,_0x5cb5c4:0x6ae},_0x3f0540={_0x53f7b7:0x105,_0x2a2a2b:0x12d,_0x359ad3:0x2f5,_0x5c43a4:0x155,_0x15ec63:0x45e,_0x2340e6:0x50e,_0x43baaf:0x461,_0x3c3a79:0x5f3,_0x4a7ce4:0x356,_0x1288dd:0x3f9,_0x475ce5:0x47,_0x38cfcb:0x107,_0x3dc871:0x135,_0x32c8a7:0x2b6,_0x3f4e3e:0x40e,_0x42d375:0x58f,_0x4ccbab:0x168,_0x2190ad:0x202,_0x290451:0x278,_0x3cf90f:0xb8,_0x76ac5d:0x3b,_0x55e128:0x52e,_0x3adb8e:0x39b,_0x39c191:0x3be,_0x23874b:0x296,_0x169acb:0x2b5,_0x1b0ecd:0x366,_0x1ce82f:0x287,_0x23aa6b:0x233,_0x20eae3:0x44d,_0x2c03a6:0x2d6,_0x4cf984:0x381,_0x1744ce:0x149,_0x3341c2:0x216,_0x4f4c80:0x20e,_0xdc866f:0x52e,_0x2a411f:0x52c,_0x44f7c6:0x3f0,_0x36b847:0x39f,_0x1d392e:0x219},_0x3e15f6={_0x21a9f6:0x109,_0x3b79d0:0x22},_0x4b496d={_0x52e85c:0x1ac,_0x2c7acc:0x8,_0x2a4b02:0x158},_0x4950c9={_0x2d08d9:0x2b,_0x55fd79:0x4c0},_0x5d59e2={_0x338d50:0xac,_0x59cd25:0x42b};function _0x412d88(_0x1d11f2,_0x185b12,_0x35f875,_0x2416bc){return _0x1ac42a(_0x1d11f2-0x183,_0x185b12-_0x5d59e2._0x338d50,_0x35f875-_0x5d59e2._0x59cd25,_0x185b12);}const _0x358663=_0x2ab8b9[_0x412d88(_0xb8cfff._0x239473,0x33f,0x3c9,0x3c4)](_0x44fc77[_0x412d88(0x430,0x59f,_0xb8cfff._0x386425,_0xb8cfff._0x4cc389)]??process[_0x412d88(0x33e,0x3a9,0x345,0x26e)]()),_0x306ede=_0x44fc77[_0x412d88(0x4b0,0x711,0x58d,_0xb8cfff._0x44933f)]??[];function _0x35e296(_0x407cb9,_0x4eeb0f,_0x238048,_0x109fd6){return _0x1ac42a(_0x407cb9-0x1b9,_0x4eeb0f-_0x4950c9._0x2d08d9,_0x238048-_0x4950c9._0x55fd79,_0x4eeb0f);}const _0xed6dfa=_0x44fc77[_0x35e296(_0xb8cfff._0x1f3907,0x5d3,0x552,_0xb8cfff._0x1a1e29)]??_0x412d88(_0xb8cfff._0x1ff3f6,_0xb8cfff._0x3a89b3,0x253,0x343);return defineTool({'name':_0xed6dfa,'permissionClass':_0x35e296(_0xb8cfff._0x21196a,_0xb8cfff._0x56a58c,0x5c3,_0xb8cfff._0x390c57),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x35e296(_0xb8cfff._0x11c05c,_0xb8cfff._0x44a190,_0xb8cfff._0x37347e,_0xb8cfff._0x4a1b1a),'properties':{'filePath':{'type':_0x412d88(0x267,0x9c,_0xb8cfff._0x355e3b,_0xb8cfff._0x391c8b)},'description':{'type':_0x412d88(_0xb8cfff._0x1d5182,_0xb8cfff._0xbcece9,_0xb8cfff._0x355e3b,_0xb8cfff._0x102ca5),'description':_0x35e296(0x508,0x462,_0xb8cfff._0x629ea1,0x641)},'oldText':{'type':_0x35e296(0x236,0x26b,_0xb8cfff._0xa48a0d,_0xb8cfff._0x28586e)},'newText':{'type':_0x412d88(0xf3,_0xb8cfff._0x86e008,_0xb8cfff._0x139582,0x3ca)},'dryRun':{'type':_0x412d88(_0xb8cfff._0x44a0c4,_0xb8cfff._0x14bd79,_0xb8cfff._0x5280eb,_0xb8cfff._0x2d4ec6)}},'required':[_0x35e296(_0xb8cfff._0x2851ff,0x435,_0xb8cfff._0x4a6f5c,0x4b5),_0x35e296(_0xb8cfff._0x2851ff,_0xb8cfff._0x5ccddd,0x5ab,0x6f9),_0x35e296(0x700,_0xb8cfff._0x5cb5c4,0x55c,0x6cc)]},async *'execute'(_0x3f6ac4){const _0x7014b2=resolveAllowedPath(_0x358663,_0x306ede,_0x3f6ac4[_0x1b16f5(0x171,0x2f2,_0x3f0540._0x53f7b7,_0x3f0540._0x2a2a2b)]);await assertWorkspaceFile(_0x7014b2);const _0x15fb69=await _0x5ae177(_0x7014b2),_0xa9d3a9=await _0x844ce1(_0x7014b2),_0x3294a3=detectEol(_0xa9d3a9),_0x366bdb=normalizeToLf(_0xa9d3a9[_0x531b14(0x47a,_0x3f0540._0x359ad3,_0x3f0540._0x5c43a4,_0x3f0540._0x15ec63)]('utf8')),_0x2416f8=normalizeToLf(_0x3f6ac4[_0x531b14(0x3ea,_0x3f0540._0x2340e6,0x626,0x5d2)]),_0x30e7a8=normalizeToLf(_0x3f6ac4[_0x531b14(0x4ed,0x4bf,_0x3f0540._0x43baaf,_0x3f0540._0x3c3a79)]),_0x2bd741=replaceFirstExact(_0x366bdb,_0x2416f8,_0x30e7a8);function _0x531b14(_0x432644,_0x436ddf,_0xf5f3d9,_0x1678bc){return _0x412d88(_0x432644-_0x4b496d._0x52e85c,_0xf5f3d9,_0x436ddf- -_0x4b496d._0x2c7acc,_0x1678bc-_0x4b496d._0x2a4b02);}if(_0x2bd741===void 0x0){const _0x55120f=_0x2416f8[_0x531b14(_0x3f0540._0x4a7ce4,0x405,0x2d7,0x4e9)](0x0,0x64)[_0x531b14(0x1b4,0x277,0x1a7,_0x3f0540._0x1288dd)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1b16f5(-_0x3f0540._0x475ce5,0x108,-_0x3f0540._0x38cfcb,0x39)+_0x55120f+(_0x2416f8['length']>0x64?_0x1b16f5(_0x3f0540._0x3dc871,_0x3f0540._0x32c8a7,0x327,0x25b):'')+'\x22',{'filePath':_0x3f6ac4['filePath']});}const _0x28d056=convertEol(_0x2bd741[_0x531b14(0x287,_0x3f0540._0x3f4e3e,0x5bd,_0x3f0540._0x42d375)],_0x3294a3);function _0x1b16f5(_0x2f3b16,_0x231c0c,_0x55011b,_0x2c87d5){return _0x412d88(_0x2f3b16-_0x3e15f6._0x21a9f6,_0x2f3b16,_0x2c87d5- -0x24c,_0x2c87d5-_0x3e15f6._0x3b79d0);}const _0x4a8a2e=Buffer['from'](_0x28d056,_0x1b16f5(0x3a5,0x235,0x445,0x34e)),_0x39a9bf=sha256Bytes(_0xa9d3a9),_0x1b7816=sha256Bytes(_0x4a8a2e),_0x3d241b=_0x39a9bf===_0x1b7816,_0x1e14c6=_0x3f6ac4['dryRun']??![];return!_0x1e14c6&&!_0x3d241b&&await atomicWrite(_0x7014b2,_0x4a8a2e),yield createToolOutput(_0x3d241b?_0x1b16f5(_0x3f0540._0x4ccbab,_0x3f0540._0x2190ad,0x18b,0x14e):_0x1e14c6?_0x1b16f5(_0x3f0540._0x290451,0x22a,0x192,0xac):_0x1b16f5(0x116,-_0x3f0540._0x3cf90f,0x11a,_0x3f0540._0x76ac5d),{'filePath':_0x3f6ac4[_0x531b14(_0x3f0540._0x55e128,0x371,_0x3f0540._0x3adb8e,0x38c)],'resolvedPath':_0x7014b2,'created':_0x15fb69[_0x531b14(_0x3f0540._0x39c191,_0x3f0540._0x23874b,_0x3f0540._0x169acb,0x1bc)]['toISOString'](),'modified':_0x15fb69[_0x531b14(0x388,_0x3f0540._0x1b0ecd,_0x3f0540._0x1ce82f,_0x3f0540._0x23aa6b)]['toISOString'](),'size':_0x15fb69[_0x1b16f5(_0x3f0540._0x20eae3,_0x3f0540._0x2c03a6,_0x3f0540._0x4cf984,0x346)],'eol':_0x3294a3,'oldTextLength':_0x2416f8[_0x1b16f5(_0x3f0540._0x1744ce,_0x3f0540._0x3341c2,_0x3f0540._0x4f4c80,0x2e8)],'newTextLength':_0x30e7a8[_0x531b14(_0x3f0540._0xdc866f,_0x3f0540._0x2a411f,0x5c8,0x55f)],'bytesWritten':_0x3d241b||_0x1e14c6?0x0:_0x4a8a2e[_0x531b14(_0x3f0540._0x44f7c6,_0x3f0540._0x2a411f,0x587,_0x3f0540._0x36b847)],'beforeSha':_0x39a9bf,'afterSha':_0x1b7816,'dryRun':_0x1e14c6,'noChange':_0x3d241b,'lineNumbers':_0x2bd741[_0x1b16f5(0x120,0x156,_0x3f0540._0x1d392e,0x1a5)]}),void 0x0;}});}import{mkdir as _0x5ed7df,rename as _0x47c755,stat as _0x18fe2,writeFile as _0xaa20e}from'fs/promises';import*as _0x38aea1 from'path';async function atomicWrite2(_0x596586,_0xd0de63){const _0x2949d7={_0x2b26dc:0xba,_0xf70be0:0x27c,_0x3aaa21:0x268,_0x2f1954:0x169,_0x5dbb69:0x10d,_0x862c7b:0x174,_0x1b1cdd:0xb8,_0x2ce4cd:0x1c,_0x4c15d6:0x1e,_0x125906:0x14d,_0x360baf:0x258,_0x18beeb:0xf2},_0x584c5e={_0x3dde13:0x63,_0x3f9ac6:0x110},_0x472969={_0x1630d1:0x11f,_0x3abae2:0x1af},_0x34a594=_0x38aea1['dirname'](_0x596586);await _0x5ed7df(_0x34a594,{'recursive':!![]});const _0x17996f=_0x38aea1[_0x4d3068(0x36f,0x24c,0x184,_0x2949d7._0x2b26dc)](_0x34a594,'.tmp.'+_0x38aea1[_0x4d3068(0x64,0x201,_0x2949d7._0xf70be0,_0x2949d7._0x3aaa21)](_0x596586)+'.'+Date[_0x4d3068(0x2e5,_0x2949d7._0x2f1954,_0x2949d7._0x5dbb69,0x2e0)]()+'.'+Math[_0x53aad9(_0x2949d7._0x862c7b,0x271,_0x2949d7._0x1b1cdd,0x325)]()[_0x4d3068(_0x2949d7._0x2ce4cd,-_0x2949d7._0x4c15d6,-0x182,_0x2949d7._0x125906)](0x24)[_0x4d3068(_0x2949d7._0x360baf,_0x2949d7._0x18beeb,-0x45,-0xf)](0x2));function _0x53aad9(_0x5a7e9a,_0x2c1070,_0x81b30f,_0x404768){return _0x1ac42a(_0x5a7e9a-_0x472969._0x1630d1,_0x2c1070-_0x472969._0x3abae2,_0x2c1070-0x116,_0x81b30f);}await _0xaa20e(_0x17996f,_0xd0de63);function _0x4d3068(_0x5ccc7a,_0x1a5a1e,_0x689f59,_0x2100e3){return _0x1ac42a(_0x5ccc7a-_0x584c5e._0x3dde13,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x689f59);}await _0x47c755(_0x17996f,_0x596586);}function createFileNewTool(_0x570ab4={}){const _0x4b2f9e={_0x4793be:0x394,_0x44779a:0x322,_0x4dc476:0x39c,_0x482df5:0x43c,_0x56023c:0x30f,_0x5b436b:0x3b7,_0x5d0feb:0x466,_0x17bcc4:0x3a4,_0x351290:0x66a,_0x321450:0x2bd,_0x449138:0x416,_0x26aa50:0x307,_0x44af6f:0x31b,_0x3cf3e1:0x53b,_0x5ce9be:0x53e,_0x48d3a4:0x805,_0x5676cd:0x64f,_0x32d885:0x401,_0x2cb18e:0x49a,_0x58ce42:0x336,_0x27a692:0x4a7,_0x15f806:0x74e,_0x2dea0b:0x650},_0x4fb01f={_0x37f3d1:0x2ae,_0x5134c6:0x19e,_0x39841f:0x2aa,_0x5f53a3:0x409,_0x2321a5:0x32d,_0x1ab0fc:0x527,_0x5d56a3:0x50d,_0x74a74e:0x3f5,_0x4452ee:0x459,_0x59d0cf:0x378,_0x563954:0x239,_0x25bbe5:0x34c,_0x8b3f6b:0x23f,_0x739192:0x596,_0x3072df:0x49e,_0x516288:0x3f5,_0x44dcdd:0x4b5,_0x43c76e:0x4e6,_0x22c573:0x2ac,_0x47fd98:0x3c2},_0xc42405={_0x314e56:0x384},_0x59141c={_0x21e508:0x58,_0x3204ad:0x54c};function _0x1d4d5d(_0x44d376,_0x5ed8a5,_0x44fa9d,_0x2ce8c0){return _0x1ac42a(_0x44d376-_0x59141c._0x21e508,_0x5ed8a5-0xc0,_0x44fa9d-_0x59141c._0x3204ad,_0x2ce8c0);}const _0x227fd1=_0x38aea1[_0x569c16(_0x4b2f9e._0x4793be,0x1eb,_0x4b2f9e._0x44779a,_0x4b2f9e._0x4dc476)](_0x570ab4[_0x569c16(_0x4b2f9e._0x482df5,_0x4b2f9e._0x56023c,_0x4b2f9e._0x5b436b,0x26c)]??process[_0x1d4d5d(0x5c9,0x4ac,_0x4b2f9e._0x5d0feb,0x517)]()),_0x533757=_0x570ab4[_0x569c16(_0x4b2f9e._0x17bcc4,0x409,0x4e6,_0x4b2f9e._0x351290)]??[];function _0x569c16(_0x1ac91b,_0x1f138c,_0x22efe6,_0x17e6ce){return _0x1ac42a(_0x1ac91b-0xe,_0x1f138c-0x5c,_0x22efe6-_0xc42405._0x314e56,_0x1f138c);}const _0x1cadbd=_0x570ab4[_0x569c16(0x36c,_0x4b2f9e._0x321450,_0x4b2f9e._0x449138,0x546)]??_0x569c16(_0x4b2f9e._0x26aa50,_0x4b2f9e._0x44af6f,0x47d,_0x4b2f9e._0x3cf3e1);return defineTool({'name':_0x1cadbd,'permissionClass':_0x1d4d5d(_0x4b2f9e._0x5ce9be,_0x4b2f9e._0x48d3a4,_0x4b2f9e._0x5676cd,0x6c4),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'content':{'type':'string'}},'required':[_0x1d4d5d(0x57a,_0x4b2f9e._0x32d885,_0x4b2f9e._0x2cb18e,_0x4b2f9e._0x58ce42),_0x1d4d5d(_0x4b2f9e._0x27a692,_0x4b2f9e._0x15f806,_0x4b2f9e._0x2dea0b,0x610)]},async *'execute'(_0x4cce0d){const _0x232c82={_0xde66e:0x25b},_0x49a455={_0xcf6bdb:0x15f,_0x580186:0xdd,_0x1e4cf2:0x1f0};function _0x32ba70(_0x3c40fa,_0xd1aa53,_0x5978a1,_0x285217){return _0x1d4d5d(_0x3c40fa-_0x49a455._0xcf6bdb,_0xd1aa53-_0x49a455._0x580186,_0x5978a1- -_0x49a455._0x1e4cf2,_0xd1aa53);}const _0x118fcd=resolveAllowedPath(_0x227fd1,_0x533757,_0x4cce0d[_0x32ba70(_0x4fb01f._0x37f3d1,_0x4fb01f._0x5134c6,_0x4fb01f._0x39841f,0x136)]);function _0x5baf9a(_0x314eec,_0x4cbbe3,_0x54e5c6,_0x5b9236){return _0x1d4d5d(_0x314eec-0x8f,_0x4cbbe3-0x150,_0x5b9236- -_0x232c82._0xde66e,_0x314eec);}const _0x541624=await _0x18fe2(_0x118fcd)[_0x5baf9a(0x40c,0x55b,0x462,_0x4fb01f._0x5f53a3)](()=>!![])[_0x32ba70(0x3e3,_0x4fb01f._0x2321a5,0x43a,0x449)](()=>![]),_0x5a9f66=Buffer['from'](_0x4cce0d[_0x5baf9a(_0x4fb01f._0x1ab0fc,_0x4fb01f._0x5d56a3,0x587,_0x4fb01f._0x74a74e)],_0x32ba70(_0x4fb01f._0x4452ee,0x3ce,0x4cb,0x4be));return await atomicWrite2(_0x118fcd,_0x5a9f66),yield createToolOutput(_0x32ba70(0x288,0x2d2,0x303,_0x4fb01f._0x59d0cf)+_0x4cce0d[_0x5baf9a(0x202,_0x4fb01f._0x563954,_0x4fb01f._0x25bbe5,_0x4fb01f._0x8b3f6b)]+'.',{'filePath':_0x4cce0d['filePath'],'resolvedPath':_0x118fcd,'bytes':_0x5a9f66[_0x5baf9a(_0x4fb01f._0x739192,0x43c,0x513,0x3fa)],'lines':_0x4cce0d[_0x5baf9a(0x3f3,0x54d,_0x4fb01f._0x3072df,_0x4fb01f._0x516288)][_0x32ba70(_0x4fb01f._0x44dcdd,_0x4fb01f._0x43c76e,0x41d,0x5b4)](/\r?\n/)[_0x32ba70(0x3bb,0x47d,0x465,0x3d0)],'created':new Date()[_0x5baf9a(_0x4fb01f._0x22c573,0x2f6,0x36f,_0x4fb01f._0x47fd98)](),'overwritten':_0x541624}),void 0x0;}});}import{readFile as _0x5134b4,stat as _0x2139af}from'fs/promises';import*as _0x1e2d8e from'path';function stripUtfBom(_0x4f30cb){const _0x1d2ff5={_0x238204:0x527,_0xb70fc5:0x4b4,_0x15dbac:0x4f3},_0x14202f={_0x3ce845:0x150};function _0x45fe01(_0x209247,_0x2b4cc1,_0x366e01,_0x5c5d86){return _0x151cc1(_0x209247-0x57,_0x5c5d86-0x1d9,_0x2b4cc1,_0x5c5d86-0x1be);}function _0x1df7bb(_0x285cd0,_0x60ceba,_0x20ecca,_0x4dcaca){return _0x1ac42a(_0x285cd0-0x0,_0x60ceba-_0x14202f._0x3ce845,_0x4dcaca-0x6f1,_0x285cd0);}return _0x4f30cb[_0x45fe01(_0x1d2ff5._0x238204,0x697,0x53f,0x671)](0x0)===0xfeff?_0x4f30cb[_0x45fe01(_0x1d2ff5._0xb70fc5,_0x1d2ff5._0x15dbac,0x55b,0x538)](0x1):_0x4f30cb;}function clampLine(_0x3c6bd5,_0x2c5ea5){const _0x220b6b={_0x34ab34:0x1b4,_0xd136a9:0x69a,_0x3a9d56:0x763,_0x315311:0x730,_0x41cf21:0x7cc,_0x50c7f0:0x94a},_0x130e00={_0x21ec64:0x19d,_0x5e10e9:0x26b},_0x56f847={_0x5da746:0x1c9,_0x13cca4:0x355,_0x39b281:0x180};if(!Number[_0x2518d3(_0x220b6b._0x34ab34,0x26c,0x439,0x278)](_0x3c6bd5))return 0x1;function _0x1b0143(_0x775f57,_0x4ccc10,_0x17a52e,_0x5f34fb){return _0x151cc1(_0x775f57-_0x56f847._0x5da746,_0x4ccc10-_0x56f847._0x13cca4,_0x17a52e,_0x5f34fb-_0x56f847._0x39b281);}function _0x2518d3(_0x5d14be,_0x29becd,_0xbd560b,_0x17ab1c){return _0x1ac42a(_0x5d14be-0x14,_0x29becd-_0x130e00._0x21ec64,_0x17ab1c-_0x130e00._0x5e10e9,_0x29becd);}return Math[_0x1b0143(_0x220b6b._0xd136a9,_0x220b6b._0x3a9d56,0x900,0x8b7)](0x1,Math[_0x1b0143(0x77c,_0x220b6b._0x315311,0x6b3,0x8e4)](Math[_0x1b0143(0x6bf,_0x220b6b._0x41cf21,0x65c,_0x220b6b._0x50c7f0)](_0x3c6bd5),_0x2c5ea5));}function createFileReadTool(_0x360e53={}){const _0x471e2b={_0x1c7ed9:0x91,_0x15afb1:0x35,_0x3e3d86:0xb4,_0x5f20c6:0x42,_0x3adda0:0x3bf,_0x40fc96:0x347,_0x301d1f:0x291,_0x4b1de4:0x1c3,_0x55a8a8:0x90,_0x565c05:0x3,_0x4239cd:0x6,_0x16630d:0x11c,_0x5e40fb:0x123,_0x52d7bb:0x13f,_0x1f6cd7:0x1b4,_0x16556c:0x81},_0x1600f4={_0x409b1a:0x3e2,_0x19e652:0x54e,_0x3a46b5:0x65,_0x255bb3:0x6a,_0x486b75:0x91,_0x1a1652:0x690,_0x587da8:0x3ba,_0x10ca59:0x4e8,_0x45ccf2:0x81b,_0x33df1d:0x685,_0x462413:0x731,_0x3a0327:0x1fe,_0x5eeb88:0xe8,_0x36f99e:0xeb,_0x8cdbe8:0xee,_0x3e422e:0x59c,_0x47b7e6:0x3ff,_0x52a72c:0x73d,_0x16fc26:0x7b7,_0x7f25b8:0x84e,_0x1285d4:0x931,_0x1530e2:0x6b4,_0x5cdf59:0x875,_0x195c8c:0x20f,_0x450eb6:0x17,_0x546a56:0x15a,_0x5b278:0x93,_0x1350d5:0x61a,_0x1a7384:0x71f,_0x5e746f:0x5d4,_0xab6557:0x5a6,_0x2bd0a:0x1b9,_0x1eb16c:0x358,_0x5dfb94:0x10e,_0x57b840:0x2c8,_0x4c39ba:0x19e,_0xa8c93a:0x14d,_0x58d24e:0x3,_0x57e5c0:0x4be,_0x2bad9d:0x5b6,_0x133277:0x6ec,_0x5d1f0e:0x1ec,_0x531fd8:0x1e7,_0x45a1c8:0x1ec,_0x5b054f:0x71c,_0x1a0ab6:0x6f1,_0x5677eb:0x71f},_0x41fe35={_0x3a7fab:0x14a,_0x429cdb:0x129},_0x360fbb={_0x114839:0x1dd},_0x3ff909={_0x8c43bf:0x102,_0xb2e566:0x17e};function _0x2ebdc0(_0x59b38c,_0x4785e2,_0x2d4f3d,_0x452b39){return _0x151cc1(_0x59b38c-_0x3ff909._0x8c43bf,_0x2d4f3d- -_0x3ff909._0xb2e566,_0x452b39,_0x452b39-0x3b);}const _0x4f6584=_0x1e2d8e[_0x2ebdc0(0x154,_0x471e2b._0x1c7ed9,0x19d,_0x471e2b._0x15afb1)](_0x360e53['defaultCwd']??process[_0x4131bb(_0x471e2b._0x3e3d86,-0x106,-_0x471e2b._0x5f20c6,-0x1fd)]()),_0x51ca09=_0x360e53[_0x2ebdc0(0x308,0x4da,0x361,0x488)]??[];function _0x4131bb(_0x55273a,_0x5993ac,_0x5c884d,_0x35eff2){return _0x151cc1(_0x55273a-0x95,_0x5c884d- -0x2d9,_0x5993ac,_0x35eff2-_0x360fbb._0x114839);}const _0x5c684a=_0x360e53[_0x2ebdc0(_0x471e2b._0x3adda0,_0x471e2b._0x40fc96,_0x471e2b._0x301d1f,_0x471e2b._0x4b1de4)]??'FileRead';return defineTool({'name':_0x5c684a,'permissionClass':_0x2ebdc0(0x496,0x206,0x2ec,0x49b),'description':_0x2ebdc0(-_0x471e2b._0x55a8a8,-0x1bb,_0x471e2b._0x565c05,0x172),'inputSchema':{'type':'object','properties':{'path':{'type':_0x4131bb(-_0x471e2b._0x4239cd,-_0x471e2b._0x16630d,-_0x471e2b._0x5e40fb,-_0x471e2b._0x52d7bb)},'lineStart':{'type':'number','description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x2ebdc0(_0x471e2b._0x1f6cd7,-_0x471e2b._0x16556c,0x8f,0x77)]},async *'execute'(_0x523775){const _0x34db2e={_0x229b89:0x156,_0x176f91:0x572},_0x57db66=resolveAllowedPath(_0x4f6584,_0x51ca09,_0x523775[_0x23dd31(_0x1600f4._0x409b1a,0x389,_0x1600f4._0x19e652,0x4a6)]);await assertWorkspaceFile(_0x57db66);const _0x5cb5e2=await _0x2139af(_0x57db66);function _0x23dd31(_0x380c09,_0xe20515,_0x31376,_0x17ecb8){return _0x4131bb(_0x380c09-_0x34db2e._0x229b89,_0xe20515,_0x17ecb8-_0x34db2e._0x176f91,_0x17ecb8-0x16b);}const _0x7818e6=await _0x5134b4(_0x57db66);if(isProbablyBinary(_0x7818e6))throw new ToolExecutionError(_0x371916(-_0x1600f4._0x3a46b5,-_0x1600f4._0x255bb3,-0x100,0xce)+_0x523775['path'],{'path':_0x523775[_0x371916(-0x256,-0xc0,_0x1600f4._0x486b75,-0x26)]});let _0x5ad2e4=_0x7818e6[_0x23dd31(_0x1600f4._0x1a1652,0x5fd,_0x1600f4._0x587da8,_0x1600f4._0x10ca59)]('utf8');const _0x362e95=_0x5ad2e4[_0x23dd31(_0x1600f4._0x45ccf2,0x58d,_0x1600f4._0x33df1d,_0x1600f4._0x462413)](0x0)===0xfeff;_0x5ad2e4=stripUtfBom(_0x5ad2e4);const _0x4a23a7=_0x5ad2e4['split'](/\r?\n/),_0x5ce8d8={'path':_0x523775[_0x23dd31(0x2e4,0x4ce,0x4f8,0x4a6)],'resolvedPath':_0x57db66,'created':_0x5cb5e2[_0x371916(-_0x1600f4._0x3a0327,-0xdd,-_0x1600f4._0x5eeb88,_0x1600f4._0x36f99e)][_0x371916(0x264,0x181,0x142,_0x1600f4._0x8cdbe8)](),'modified':_0x5cb5e2[_0x23dd31(0x400,_0x1600f4._0x3e422e,_0x1600f4._0x47b7e6,0x559)][_0x23dd31(0x70c,_0x1600f4._0x52a72c,_0x1600f4._0x16fc26,0x6e7)](),'size':_0x5cb5e2['size'],'encoding':_0x23dd31(0x926,_0x1600f4._0x7f25b8,_0x1600f4._0x1285d4,0x785),'bomStripped':_0x362e95,'truncated':![],'totalLines':_0x4a23a7[_0x23dd31(_0x1600f4._0x1530e2,_0x1600f4._0x5cdf59,0x66b,0x71f)]};function _0x371916(_0x57f1be,_0x3a9cbf,_0x1ab26f,_0x195826){return _0x2ebdc0(_0x57f1be-_0x41fe35._0x3a7fab,_0x3a9cbf-_0x41fe35._0x429cdb,_0x3a9cbf- -0x14f,_0x195826);}if(_0x523775[_0x371916(_0x1600f4._0x195c8c,0x10f,-_0x1600f4._0x450eb6,0x7f)]!==void 0x0||_0x523775[_0x371916(-0x148,-_0x1600f4._0x546a56,-0x11c,-_0x1600f4._0x5b278)]!==void 0x0){const _0x2e02fa=clampLine(_0x523775['lineStart']??0x1,_0x4a23a7[_0x23dd31(_0x1600f4._0x1350d5,0x8a3,0x8a5,_0x1600f4._0x1a7384)]),_0x65ecc5=clampLine(_0x523775['lineEnd']??_0x4a23a7[_0x23dd31(_0x1600f4._0x5e746f,_0x1600f4._0xab6557,0x75a,_0x1600f4._0x1a7384)],_0x4a23a7[_0x371916(0x53,_0x1600f4._0x2bd0a,_0x1600f4._0x1eb16c,0x2df)]),_0x4271f5=Math[_0x371916(0x2cd,_0x1600f4._0x5dfb94,0xc0,_0x1600f4._0x57b840)](_0x2e02fa,_0x65ecc5),_0x209d15=Math[_0x371916(_0x1600f4._0x4c39ba,0x141,_0x1600f4._0xa8c93a,-_0x1600f4._0x58d24e)](_0x2e02fa,_0x65ecc5),_0x2b3568=_0x4a23a7[_0x23dd31(0x4f5,_0x1600f4._0x57e5c0,_0x1600f4._0x2bad9d,0x5f8)](_0x4271f5-0x1,_0x209d15)[_0x23dd31(0x5a6,0x57a,_0x1600f4._0x133277,0x6c0)]((_0x229c98,_0x52277b)=>_0x4271f5+_0x52277b+'|'+_0x229c98)[_0x371916(0x64,_0x1600f4._0x5d1f0e,_0x1600f4._0x531fd8,_0x1600f4._0x45a1c8)]('\x0a');return yield createToolOutput(_0x2b3568,{..._0x5ce8d8,'lineRange':{'lineStart':_0x4271f5,'lineEnd':_0x209d15,'linesTotal':_0x4a23a7[_0x23dd31(_0x1600f4._0x5b054f,0x6d8,_0x1600f4._0x1a0ab6,_0x1600f4._0x5677eb)]}}),void 0x0;}return yield createToolOutput(_0x5ad2e4,_0x5ce8d8),void 0x0;}});}import{stat as _0x5e4a83}from'fs/promises';import*as _0x48fc84 from'path';function _0x32bc(){const _0x53b637=['CMvZB2X2zq','y2HHCMfJDgvY','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vSzwn0Aw9UuMfUz2u','zgLHz25VC3rPy3m','DhjPBuvUza','r2XVyG','ChjVy2vZC0DYB3vWswq','v0vcua','rMLSzsb3CML0DgvUigf0ia','ignOyxjHy3rLCNm','revfueLorLjbx0fqsv9lrvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','C2HHmJu2','uhjVz3jHBuzPBgvZkhG4nIK','zNjLzxPL','sw52ywXPzcbVDxrWDxrszwDLEdOG','tg9HzgvKigzYB206ia','uhvIBgLZAgvKoIa','AxnfBMfIBgvK','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','DgLTzw91DfnVDxjJzq','CM91BMq','BhmGlwXH','CMvMAw5L','Aw52ywXPzf90B2rVCW','y29TBwfUza','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','Cg5WBs1SB2nRlNLHBwW','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','C3rHDgu','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','CgXHAw4','zw52','zMLUywXnzxnZywDLvgv4Da','C25PChbLDa','yNL0zxm','BwnWlwf1DgGTCMvXDwLYzwq','r0LgodDH','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BgLUzu51BwjLCNm','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Dgv4DerVy3vTzw50l2rPze9Wzw4','AxneAxjLy3rVCNK','zgvSzwDHDgvKlxj1BI0','vg9Vig1HBNKGCMvKAxjLy3rZ','ihrVB2WGy2fSBcbMywLSzwq','EMfP','Aw5PDgLHBgL6yxrPB24','Aw1Hz2uVANbLzW','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','uhjVz3jHBuzPBgvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3LTBgLUAW','CMv0AxjL','ANnVBG','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgLZCg9Zzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','r3jLCa','oIbPBNzHBgLKihn0yxr1CW','zMLUAxrL','l29WDc9OB21LyNjLDY9IAw4VCMC','BwnWlxrVB2WTy2fSBc1MywLSzwq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','BwLUAw1HEa','zw50CMLLCW','C2XPy2u','ygbG','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','zMLSztOVlW','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','ywX3yxLZlwnVBMzPCM0','u0Lhvevstq','BwnFzwLK','yxr0CG','ywz0zxi','z2v0','igzHAwXLzcb0BYbJB25Uzwn0','C2LNBMfSqwrHChrLCG','Aw50','z2XVyG','B3bLCMf0Aw9U','CgfYC2u','ywjZ','yw5ZAti1nG','ig1HDgnO','B3jPz2LUvg9VBenHBgXjza','yMLVBwu','Aw5FChjVz3jLC3m','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Aw1Hz2uVz2LM','qxv0Ag9YAxPHDgLVBG','BxvSDgLtzwXLy3q','C3rKB3v0','CMvXDwvZDa','C3rKzxjY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','DgvYBwLUyxrPB25tzxr0BgvK','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4Dc9ODg1S','z3jVAW','Agv4','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y29Uy2f0','ugfJA2fNzxm','Dgf2AwX5qxbPs2v5','ywjVCNq','AgfUzgXL','u2HLBgWGBM90igzVDw5KoIa','AxngAw5PDgu','Dg9VBenHBgXjza','Dg9VBfjLC3vSDhm','B2C6DxbKyxrLzf90Aw1L','igzYB20G','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vxbKyxrLvg9WAwm','mty5lJi1nc4WlJa','CM9VDfbPza','C3rKzxjYrgvJB2rLCG','ChvZAa','Cgf0Ag5HBwu','BgLZDfrVB2XZ','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zNjVBq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','C3rKB3v0tM9YBwfSAxPLCG','rMv0y2GGDgLTzwqGB3v0','yxjNDw1LBNriAw50','CgfJA2fNzs5QC29U','u2L6ztOG','zgLZy292zxj5u3rHDgu','ChjLzML4','B2XSyw1H','CNnZ','y2fJAgvK','z3jHy2vMDwXszxf1zxn0zwq','Axnoyu4','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgL0Bgu','lNrZEa','B3v0y29Tzq','yNjVA2vU','l3vZCI9IAw4VCMC','ndu1ndLTvhjkyuu','yMCT','mc4WlJa','zgvMyxvSDen3za','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','Dg9Rzw5tDg9YywDLs2v5','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','A2v5CW','Aw1Hz2u','tM8GC3vJAcbMAwXLoIaN','v2LUr2v0','r0XpqKLhtK9srq','C2vZC2LVBKLK','l2jPBI9IyxnO','CxvLC3rPB24','ChjVy2vZCW','tM8GBg9JyxrPB25ZigzVDw5K','zg9TywLUCW','C3bHD25PBMC','y291BNq','mJi0lJaUmc4W','Ag92zxi','BNvT','lMjPBG','Aw5JBhvKzq','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','revfufnfruTFqvbjx0Tfwq','rM91BMqG','phn5C3rLBs1Yzw1PBMrLCJ4','CMvJzw5JEurHExm','zgnZ','zgvSAw1PDgvY','yxnPzgu','mJqWlJaUmc4W','qMfZAa','lMPZB24','vg9WAwmGC2v0ihrVici','CNvUswq','Dhj1BMnHDgvK','BgLUzq','zMLUywXnzxnZywDL','BM93','zxnJyxbL','vMLLD0zPBgu','BM9UBMvNyxrPDMu','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','BwLU','BgLUzvn0yxj0','Aw5qCM9NCMvZCW','BgLUzvrLEhq','zMX1C2HtDhjLyw1Z','A2v5yMLUzgLUz3m','DhjHBNnWB3j0','Bw9Kzq','D29YA3nWywnLu3LTyM9S','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','B3v0Chv0','CxvLC3rPB25Z','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','B3bLBNjVDxrLCG','C3rHCNrLzef0','CxvLC3rPB24T','lNrZ','l3vZCI9IAw4VC2G','DxrTx21LzgL1Bq','y3vZDg9T','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','lM10CW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CgLK','D2vI','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zM9Yy2u','DxrTx2nHBxbHAwDU','l2jPBI9ZAa','yMLVBwuUANnVBMm','lI4U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','Aw50zwDLCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y29KzvbVAw50qxq','zxjYB3i','qMfZzsbKAxjLy3rVCNK6ia','y2fWq2HHCNm','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','vw50AxrSzwq','BMf2','D29YA3nWywnL','B2f1DgG','yxjYyxK','y29UDgv4Da','C3rHDhvZ','BgLUzv9UDw1Izxi','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','yNvMzMvY','Dg9Rzw5Z','C3rHCNrZv2L0Aa','Bwf4','BMfTzq','Aw52ywXPzf90B2rVx2L0zw0','qwDLBNqGCNvUia','AgfZ','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ywrK','zg9JDw1LBNrtEw1IB2W','zxHPDa','zgf0zxrPBwu','lMPZ','BMv3vgv4Da','DgvYBwLUyxrL','mtCYlJe2lJaUma','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','zxHPDenVzgu','uMvHC29UAw5NigrLzMf1BhqGiG','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Cgf0DgvYBG','wefjx0fqsv9lrvK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','BgL0zxjHBa','CMvXDwvZDfrPBwvVDxrnCW','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','tu9ptLnit1rFqvbjx0Tfwq','BwfW','mtaUmc4WlJa','C3bHD24','C3rKB3v0rgvJB2rLCG','DMvYAwz5rxHLy3v0Aw9U','zw5NAw5L','DhjPBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2HLBgXjza','zMLSzxm','D2fPDezVCKrPywDUB3n0AwnZ','B25Jzq','ChjVy2vZC0v4AxrLza','mtaWlJy0lJaUma','B25szwrPCMvJDa','Bg9VA3vW','oIbPBNzHBgLKihbYAw9YAxr5','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','CNvUsw5cywnRz3jVDw5K','yxjNDw1LBNrZ','sw5MB3jTyxrPB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C3bSAxq','Dg9Rzw4','ls1WCMvMAxG','nZuYEgncvM1p','qxnZAwDUvgfZAW','zxzLCNK','q29Tu3bLyW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C29Tzq','Dg9KB3m','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','Bwv0yq','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','thnW','zgvMAw5PDgLVBG','DgHPBMTPBMC','Dg9ju09tDhjPBMC','yxv0BW','yxnRvxnLCG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','l3vZCI9IAw4VyMfZAa','vg9KBYa','qu5usfjpueLdx0fqsv9lrvK','y29UzMLN','nte1mJu5CKD0DwXl','DxnLCM5HBwu','CMvXDwLYzwq','rMfPBgvKihrVihrLCM1PBMf0zsa','yw50AhjVCgLJlw1LC3nHz2vZ','y2f0y2G','Aw5WDxq','CxvLCNK','Aw52ywXPzf90B2rVx3n0yxr1CW','AxrLBxm','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','nKTwrKvAua','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvTB3zLrxzLBNrmAxn0zw5LCG','Ag9ZDg5HBwu','DhLWzq','EwvZ','B2XKvgv4Da','uefusa','CMvHza','BgLUzxm','ChjVDg90ExbL','Aw52ywXPzf90B2rVx2LK','yMfZzw5HBwu','y2HPBgq','ig1Z','zgfYAW','BgfUz18','CMvHzen1CNnVCG','CgvYBwLZC2LVBKnSyxnZ','DhjHAwXPBMDdAhvUA3m','rMLSzu5LDW','Dhj1BMm','C2vUza','yNvUlMXVy2S','CMvZzxj2zq','t1bftLjpvvrfuL9bueLFs0vz','y29Kzq','BM9Uzq','vMLLD2vKigLTywDLigzPBgu6ia','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D3jPDgu','y29UDgvUDa','AgvHzgvYCW','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','y2fSBeLK','AgvHzgvY','BgvUz3rO','C2v0vg9WAwm','zgvMyxvSDfrPBwvVDxrnCW','ls0T','BwnWxW','DgfZA2TPBgW','igzHAwXLzc4','Aw1Hz2uVD2vICa','BwvZC2fNzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','ywDLBNrjza','CMvHze9UBhLiAw50','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','C29YDa','yxv0Aa','DgHLBG','z2v0u3rHDhm','BgfUz3vHz2u','y2HHCKnVzgvbDa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','lNbUzW','Cg9ZAxrPDMu','AMf2yxnJCMLWDhjLywn0','yxnZAwDU','Ahr0Ca','yxjNDw1LBNrZvgv4Da','B3b0Aw9UywW','CMfUz2u','zxjYB3jnzxnZywDL','ru5pru5u','ls1NBg9IpseUz2L0lYO','lMn0CW','zMfPBgvK','mteWntKWENbTzNLW','DgLTzvTKyxrLDgLTzv0','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKAw8','C3rYzwfTC0zSDxnOzwq','A2LSBgvK','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yMfZAwm','CMvNAxn0zxjby3rPDMvsDw4','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','AgfZq2XPzw50CW','iIbPCYbYzxnLCNzLza','C3rKAw4','zMLSzq','ls1ZDgrPBW','C2vTyxbOB3jL','AM9PBG','y2HHBMDL','zgvUBY5QC29U','y2XVC2u','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zgLZy292zxj5','BNvTyMvY','zxH0BMfTzq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','zMLYC3q','D2HPy2GGCMC','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','C3rYAwn0','DhvWBgu','CMvZDwX0','DhnJB25MAwCUANnVBG','C2vUzfjLCxvLC3q','AxngAwXL','CMvZzxj2yxrPB25Z','A2LTAq','y3jSzG','yxbPs2v5','z29Vz2XLq3nLs2v5','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zgLYBMfTzq','lM1QCW','ignVBM5Ly3rPB24GDgLTzwqGB3v0','v2fYBMLUzW','CMvMCMvZAf90B2TLBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','y2fUrgLZywjSzq','CMfUzg9T','B2zMC2v0','ls1OAwrKzw4','t1bftKfjx0fqsv9lrvK','yxbWBgLJyxrPB24VANnVBG','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B3v0Chv0uMvNzxG','ywXSB3DLzerPCNm','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','DgvZDa','yw5ZAte2','C2L6zq','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zw5NAw5LCW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','AxntywzLsw50zwDLCG','yM94zwq','zMLSzunVDw50','C2fMzq','DxrMoa','lcbpChrPB24G','zgv0ywLS','AgfZt3DU','BwLUAw1HBa','zgf0zvjLC3rYAwn0','y2fSBfrVB2W','mti2mZy3ogD1vef3Aa','zgvLChnLzwS','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','y2vPBa','Bg9JyxrPB24','AhjLzG','BgLMzwn5y2XL','ignVBxbSzxrLzc4','sw52ywXPzcbYzwDLEdOG','DgvYBwLUyxrPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C2vYDMvYswq','Aw50zxjUywXmAwzLy3LJBgu','yNvMzMvYq2HHCNm','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvZzxq','z29uB0rLzMLUAxrPB24','ANnJB25MAwCUANnVBG','q0rqqvri','DhvYBMrVD24','z2L0AhvI','B2jQzwn0','tM8GAg92zxiGAw5MB3jTyxrPB24','r0LgodLH','y291BNrLCG','CMvMzxjLBMnLCW','AwzYyw1L','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','qMvHCMvYia','DxbKyxrL','cGPbuKDvtuvovfm6ia','BgLUzuvUza','tunqihnLCNzLCIa','Bwf0y2HLCW','C3vIyxjYyxK','Dg9VBhm','Dgv4Da','zgLZy292zxi','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','CMvSzwfZzq','DMfSDwu','yNvUlMXVy2TI','zMLUza','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rHDhvZvgv4Da','C2vHCMnOugfYyw1Z','C2LNBMfS','ugf0AcbPCYbUB3qGysbMAwXLoIa','ru5w','Ag9TzwrPCG','mJeWmxfyywn1Ea','BwnWlwrPC2nVDMvYEs1MywLSzwq','zxzPy3rjzK5LzwrLza','Bg93','yMLUza','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Aw1WBgvTzw50yxrPB24','C2TPBgXZ','CMvZDwX0CW','y3jLyxrLzef0','y29TCgXLDgvK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','ls1YzwDLEha','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','DhLWzxnJCMLWDhjLywn0','DgLTzw91De1Z','BM90Awz5','twLJCM9ZB2z0','Bg9JywXLq29TCgfYzq','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','Dw5RBM93BG','C2vHCMnOrgvWDgG','y2HHDgDWDa','lMnQCW','C2H1DgrVD25tDgfYDgvK','DxrTx2nVBNrLBNq','B25LCNjVCG','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','rMLSzuvKAxq','CMfJzq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','DxrTx3nVDxjJzq','qxzHAwXHyMXLignVBw1HBMrZoG','BhnW','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C291CMnL','tM8GC3LTyM9SCYbMB3vUza','ihDHCYbHBhjLywr5ia','zMLSBa','CMvNAw9U','BgLZDa','l2jPBI9YzW','Bwf0y2HdB3vUDa','lMPWzW','zgvUBY5QC29UyW','C3rYAw5N','yxr4','C2vYDMvYtMfTzq','Bwf4uMvKAxjLy3rZ','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Dhj1zwnVBg9Y','Dg90ywXqCM9KDwnLza','zgvSAxzLCMvK','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','odiWnta3v29cD3vp','CMvUzgvYu3LZDgvTuhjVBxb0','B3bLBKzPBgvZ','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','B2zM','CgfJA2fNzs1SB2nRlMPZB24','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Bwf4rw50CMLLCW','Ec1HCgKTA2v5','zMLUzfjLzMvYzw5Jzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ChjPB3jPDhK','y2XPzw50sw5MB3jTyxrPB24','zwzMB3j0','yxjNDw1LBNroyw1LCW','BwnWlxrYyw5ZCg9YDc1LCNjVCG','CMvWBgfJzq','u0HfteW','lMPZB25J','wKfjx0fqsv9lrvK','pc9ZExn0zw0TCMvTAw5Kzxi+','o1TExg5DkJ8','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','B3bLBMfPlxjLC3bVBNnLCW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','C3rVCMfNzurPCG','Dgf2AwX5','Ag9ZDa','ywrHChrPDMu','Bw9VBNnOB3q','ywrKsxnZDwu','z29uB0LTCgXLBwvUDgf0Aw9U','AxnjBNrLz2vY','ignSB3nLihrPBwvKig91Da','zgf0yq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','qgjPB21LANmVyMLVBwu','DgvYBwLUywXtzxr0BgvK','AhrTBfnUAxbWzxq','C2v0DgXLvgvYBwLUywW','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','uMvXDwvZDfrPBwvVDxq','ywjVCNrLza','B3v0z29PBMDdywXSCW','Dg9VBe5HBwu','ie9sia','yMLYDgH0Aw1L','AwDUB3jL','lNrTCc4','Aw5WDxrty2HLBwe','zgvSzxrL','CMvZB2X2zvrLCM1PBMfS','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','CMCUzxHL','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zNvSzMLSBgvK','Bwf4qNL0zxm','CMvJB3jK','Dg9VBfbLCM1PC3nPB25Z','yNvKz2v0vg9Rzw5Z','Dg9mB3DLCKnHC2u','igj5DgvZicH0B3rHBdOG','BwvKAxvT','CgfJA2fNzu5HBwu','yxbWzw5K','zxHPDgvK','B3bLBMfP','Dgv4DerVy3vTzw50l2HVDMvY','qwXSia','BgLI','Aw5ZDhj1y3rPB25Z','C3vKBW','zMXHDe1HCa','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','zgvMyxvSDe9WDgLVBG','Cgf0Aa','z29Vz2XLlwnZzq','ChjLChjVy2vZCW','zgvMyxvSDa','v2vIrMv0y2G','Dg9VBenHBgW','CgLWzq','ywrKrxzLBNrmAxn0zw5LCG','yxv0Ag9YAxPHDgLVBL9JB2rL','CgfYzw50u2vZC2LVBKLK','zMLSDgvY','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','zw51Bq','l3bPza','BgfUzW','zNvUy3rPB24','D29YA3nWywnLl3n5BwjVBa','C2nYDwjfBNzlzxLZ','DwX0CMe','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CMvQzwn0','Dg9VBa','zM9Yy2vszxf1zxn0zwq','lu5Vtg9NBW','CMLWz3jLCa','r09pr0Xfx0ntrv9dwa','icHWAwqG','Aw52ywXPzf90B3bPyW','C3rHCNq','BgfIzwW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','C3rKzxjYtM9YBwfSAxPLCG','zMLSzvzLCNnPB25Z','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','BgLUAW','y29UDgvUDc10ExbL','D2LUmZi','yMfZAa','y29ZDa','s2LSBfnOzwXS','tunqihrVB2WG','mZy4qNz0EMXv','yMLUyxj5tMfTzq','cMbGya','ANnVBMm','yw50AhjVCgLJ','Aw1Hz2vZ','EwfYBI5SB2nR','Aw5PDgLHBgL6zq','y29UzMLYBwvK','C2vUze5VDgLMAwnHDgLVBG','CMvNAxn0zxjby3rPDMvbz2vUDa','CMvTB3zL','s0Lnsv9bueLFs0vz','BNbT','Aw5JBhvKzxm','AxndB250zxH0','yxnR','Dg9vChbLCKnHC2u','Dg9KB3ncEvnLC3nPB24','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Aw5KzxHpzG','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','BNv2Aw4','D2fPDezVCLrLCM1PBMfS','Dg9tDhjPBMC','lNDLyNa','y2XLyxi','ywXS','Bwf4q29Uy3vYCMvUDa','AxnbCNjHEq','A2LSBfjLCxvLC3rLza','CgfZC3rOCM91z2G','ywXSu2v0DgXLza','CNvUBMLUzW','Aw1Hz2uVCg5N','ksbB','rxjYB3i','Aw5JBhvKzv9KB21HAw5Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','zgLYzwn0B3j5','uMvHC29UAw5Nig9WDgLVBIaI','yNL0zuXLBMD0Aa','v2vIu2vHCMnO','tM8GCMvZDwX0CYbMB3vUzc4','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','Aw5JB21PBMDdywXSCW','CMvSyxrPDMu','zw5K','Aw5ZDgfSBa','lMPWzwC','sw52B2TLq29TBwfUza','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','BM9Kzv9TB2r1BgvZ','BwfUDwfS','y2XVC2vbBgW','ugf0AcbUB3qGzM91BMq6ia','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvXDwvZDhm','Dgv4DerVy3vTzw50l2rPzenSB3nL','A2v5','l3vZCI9SB2nHBc9IAw4VCMC','C3rYAw5NAwz5','Dw5PB24','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','zgLHz25VC3rPy3ngB3jgAwXL','y29TBwfUzhm','C2v0','iYmGu2TPBgW6ia','uKLgrG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','yxbWzw5KrgvJB2rLza','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','tuLosu1bwf9bueLFs0vz','ywXYzwfKEs10zxjTAw5HBa','z2nSAwq','oIbPzcbYzxf1AxjLza','y29UDgvUDhm','zNjVBuvUDhjPzxm','C2vZC2LVBG','zgfZAa','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','BxrPBwvnCW','C2v2zxjPDhK','AxnbyNnVBhv0zq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','yw5ZD2vYCW','zgvZy3jPChrPB24','y29KzvzLCMLMAwvY','Dg9WAwm','DgvYBwLUyxrPB25qCM9TAxnL','DhnZzxj2zxiUANm','BgLTAxq','Dg90ywW','BgfZDeLUzgv4t2y','B3nJ','y3DK','y29UDgv4DeXPBMS','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','Cg9W','y2fSBgjHy2TvCMW','qKftse9qvfm','yxr0ywnO','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','yMvHCMvY','ChjVCgvYDgLLCW','lMXVzW','AwDUB3jLt3v0Chv0','y2XPzw50','DgvYBwLUywXqCM9TAxnL','u0Lhs0Lmta','CM9VDa','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uxvLC3rPB24G','w1jfrefdvevexq','ihrVB2WGzgLZy292zxj5igzHAwXLza','y2XPzw50CW','DgfZAW','zMXVB3i','o1TE','zxf1ywXZ','D2LUzg93CW','DxrTx3rLCM0','DxjS','Dg90ywXeCM9WCgvK','AMf2yxnJCMLWDa','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvHC29U','te9dquXbufbeqvrb','ywn0AxzL','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvZy3jPChrVCNm','tg9HzfnRAwXS','lMDPzG','DhLWzxnJCMLWDa','AxnfCNjVCG','DhjHBNnMB3jT','BxrPBwu','AhLKCMf0zu1LDge','s2LSBgvKia','u3rHCNrLzcbHz2vUDcbYDw4G','mti3lJaUmc4W','rvnsq0G','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','C2L0ztO','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','CgvUzgLUzW','C2vYDMvY','zMLSzvbHDgG','ue9tva','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','A2LUza','B25JBg9Zzq','DxjP','y29UBMvJDgLVBG','C2H1DgrVD24','ls1MB2XSB3C','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C2HPzNq','Cg9ZAxG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','lMPZEa','DMfSDwvZ','z3jHy2vMDwW','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','ihDHCYbHyM9YDgvKlG','Cgf0DgvYBIbPCYbYzxf1AxjLza','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','A2LSBa','r09pr0Xfx0ntrv9lrvK','B3bLBG','ChvIBgLZAgvKqxq','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','yw55lwfSBg93zwq','yMfZzty0','ygbGANnVBGO','y29UBMvJDa','C2nVCgvZ','C3LZDgvTuhjVBxb0','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Ahr0CdO','w1bFxL1BxhnCu10QpW','Bw9KzwW','y3nP','y2fWywjPBgL0AwvZ','B25uzxjTAw5HBevYCM9Y','CMvNzxG','tM8GzgLHz25VC3rPy3m','C2HLBgXqyxrO','Aw52ywXPzf9XDwvZDgLVBNm','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vHCMnOvhLWzq','ywnXDwLYzq','mc4WlJaUma','BM90lwzVDw5K','yxjNCW','CgXHDgzVCM0','ywXSB3DLzfrVB2XZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BgLZDgvU','mtqWmtzrsuDUCe8','B3b0Aw9UCW','CgXHAw50zxH0','zxHPDcbJB2rLia','yM9VBgvHBG','BhnWlxbYB3H5','BwfYA2rVD24','tNv2Aw4','lu5VuhjVzMLSzq','sw52ywXPzcbvuKWGCgfYyw1LDgvY','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mZe1mJKZnvPADgvVta','ChjVDg9JB2W','lunVBw1HBMq','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','CMfUAW','sfruuca','yMLVBwuUANnVBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','BgLUzu51Bq','C3rYAxbbBNnP','lM51DMLU','B25oB3rPzMLJyxrPB24','DMvYAwzPzxi','zxH0zw5ZAw9UCW'];_0x32bc=function(){return _0x53b637;};return _0x32bc();}import{execSync,spawn as _0x447297}from'child_process';import{existsSync}from'fs';import{stat as _0x86a6c8}from'fs/promises';import*as _0x2c4090 from'os';import*as _0x2c2767 from'path';import{rgPath as _0x4823fb}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x225f2a={_0x4d1bfb:0x221,_0xf07107:0x187,_0x2b4ee5:0x18f,_0x406ffb:0x457,_0x3e992f:0x1c1,_0x45d525:0x198,_0x58f36c:0x9a,_0x253e63:0x1fc,_0x34fc67:0x2bc,_0x2ef777:0x240,_0x112d04:0x111,_0x245a94:0x48e,_0x4987ad:0x35d,_0x592010:0x26e,_0x9e0f20:0x491,_0x3a8edc:0x2ea,_0x56bd75:0x397,_0x52d8ea:0x438,_0x5c2d48:0x398,_0x760e94:0x6a,_0x24eb91:0x1fe,_0x1cadb5:0x316,_0x1599b0:0x2fc,_0x7fbb69:0x18e,_0x6d364c:0x377,_0x5a17c5:0x301,_0x31f83b:0xc4,_0x557257:0xaf,_0x45d628:0x275,_0x5c846c:0x332,_0x42d123:0x3b7,_0x54ee62:0x386,_0x2f5caa:0x40b,_0xff224a:0x384,_0x3f52ae:0x29c,_0x3b0822:0x10,_0x8b8ea5:0x61b,_0x2c3ff4:0x431,_0x554ee5:0x49b,_0x36f306:0x46a,_0x4d1e26:0x478,_0x5a9ae2:0x38f,_0x5f213d:0x162,_0x8bb3f9:0x1eb,_0x255adf:0x118,_0x4b39ff:0x1b0,_0x3595de:0x405,_0x1e4f1f:0x45f,_0x35d5f8:0x2c7},_0x3f14b3={_0xc38809:0x80},_0xc71c2c={_0x272593:0x186,_0x408934:0x28,_0x19e7a1:0x1a},_0x45dc13=_0x2c4090[_0x324885(_0x225f2a._0x4d1bfb,_0x225f2a._0xf07107,0x2b9,0x23a)]()==='win32',_0x215332=_0x45dc13?[_0x2c2767[_0x324885(0x444,0x342,0x1a8,0x4b3)](process[_0x48c3df(_0x225f2a._0x2b4ee5,_0x225f2a._0x406ffb,0x314,_0x225f2a._0x3e992f)][_0x324885(0x2c7,0x140,_0x225f2a._0x45d525,_0x225f2a._0x58f36c)]||'',_0x48c3df(_0x225f2a._0x253e63,0x23e,0x172,_0x225f2a._0x34fc67),_0x324885(0x3a5,_0x225f2a._0x2ef777,_0x225f2a._0x112d04,0xc7),_0x48c3df(0x2f8,_0x225f2a._0x245a94,_0x225f2a._0x4987ad,_0x225f2a._0x592010)),_0x2c2767[_0x48c3df(0x60e,0x61a,_0x225f2a._0x9e0f20,0x527)](process[_0x48c3df(_0x225f2a._0x3a8edc,_0x225f2a._0x56bd75,0x314,0x2d8)][_0x48c3df(_0x225f2a._0x52d8ea,_0x225f2a._0x5c2d48,0x327,0x222)]||'',_0x48c3df(0x381,_0x225f2a._0x760e94,_0x225f2a._0x24eb91,_0x225f2a._0x1cadb5),_0x48c3df(0xe8,0x38c,0x1cf,0x36b)),_0x2c2767['join'](process[_0x48c3df(_0x225f2a._0x1599b0,_0x225f2a._0x7fbb69,0x314,0x4bf)][_0x48c3df(0x17e,_0x225f2a._0x6d364c,_0x225f2a._0x5a17c5,0x287)]||'',_0x324885(-_0x225f2a._0x31f83b,_0x225f2a._0x557257,_0x225f2a._0x45d628,0x1ef),_0x48c3df(0x39b,0x149,0x1cf,_0x225f2a._0x34fc67))]:[_0x48c3df(0x34a,0x354,_0x225f2a._0x5c846c,0x16c),_0x48c3df(_0x225f2a._0x42d123,0x313,0x24b,0x195),_0x48c3df(_0x225f2a._0x54ee62,_0x225f2a._0x2f5caa,_0x225f2a._0xff224a,_0x225f2a._0x3f52ae),_0x48c3df(0xaa,0x101,0x18a,_0x225f2a._0x3b0822)];for(const _0x8b3523 of _0x215332){if(existsSync(_0x8b3523))return _0x8b3523;}function _0x48c3df(_0x3efdf5,_0x179525,_0x5810bd,_0x3e4978){return _0x151cc1(_0x3efdf5-_0xc71c2c._0x272593,_0x5810bd- -_0xc71c2c._0x408934,_0x3efdf5,_0x3e4978-_0xc71c2c._0x19e7a1);}try{const _0x6ffb2e=_0x45dc13?'where\x20rg':_0x48c3df(_0x225f2a._0x8b8ea5,_0x225f2a._0x2c3ff4,_0x225f2a._0x554ee5,_0x225f2a._0x36f306),_0xbc33d6=execSync(_0x6ffb2e,{'encoding':_0x48c3df(0x3d3,_0x225f2a._0x4d1e26,0x4c4,_0x225f2a._0x5a9ae2),'stdio':[_0x48c3df(0x26e,_0x225f2a._0x5f213d,_0x225f2a._0x8bb3f9,0x14f),_0x324885(0x194,0x9c,_0x225f2a._0x255adf,_0x225f2a._0x4b39ff),'ignore']})[_0x48c3df(0x362,0x28e,_0x225f2a._0x3595de,_0x225f2a._0x1e4f1f)]()[_0x324885(0x2eb,_0x225f2a._0x35d5f8,0x460,0x482)](/\r?\n/)[0x0];if(_0xbc33d6&&existsSync(_0xbc33d6))return _0xbc33d6;}catch{return null;}function _0x324885(_0x2394e2,_0x22f5d4,_0x5919e1,_0x4acd01){return _0x151cc1(_0x2394e2-_0x3f14b3._0xc38809,_0x22f5d4- -0x177,_0x2394e2,_0x4acd01-0x5c);}return null;}async function filepath(){const _0x2a55c1={_0x5a87e3:0x69,_0x1a0b0a:0xca};if(cachedRgPath)return cachedRgPath;function _0x1c1e71(_0x19054d,_0x148e43,_0x2e6f2e,_0x5703b2){return _0x151cc1(_0x19054d-0xa1,_0x5703b2-_0x2a55c1._0x5a87e3,_0x2e6f2e,_0x5703b2-_0x2a55c1._0x1a0b0a);}if(_0x4823fb&&existsSync(_0x4823fb))return cachedRgPath=_0x4823fb,_0x4823fb;const _0x1f5b31=findSystemRipgrep();if(!_0x1f5b31)throw new Error(_0x1c1e71(0x46e,0x459,0x3b1,0x331));return cachedRgPath=_0x1f5b31,_0x1f5b31;}async function*files(_0x48c4f0){const _0x3cfbcc={_0x1bed0d:0x5cd,_0x5dcc04:0x5f2,_0x4a651a:0x526,_0x22ec03:0x767,_0xbf9a57:0x20a,_0x3b7afc:0x255,_0x206253:0x10f,_0x5b0b99:0x7d9,_0xe085eb:0x6b9,_0x20742d:0x2b2,_0x395e90:0x11f,_0x478516:0x206,_0x407f16:0x2ae,_0x50136b:0x34b,_0x218e1f:0x6a6,_0x2688e5:0x8a5,_0x4635e8:0x7fe,_0x3dad4a:0x637,_0x3dfc8c:0x7b6,_0x5a73e5:0x55c,_0x377ab5:0x62e,_0x237a3d:0x4ab,_0x78f7b6:0x650,_0x2ef43b:0x2ef,_0x3872ee:0x2b9,_0x4c27e3:0x2a4,_0x585090:0xfd,_0x5b0b56:0x1da,_0x126627:0xac,_0x25de49:0x149,_0x255077:0x6,_0x4e6482:0x23,_0x1e05f0:0x56e,_0x5bb6f9:0x6f4,_0x3907d5:0x28,_0x524296:0x1ee,_0x7eb092:0x595,_0x5a9035:0x5c9,_0x780db8:0x846,_0x7d75ac:0x32d,_0x2c29a8:0x2e7,_0x3b9303:0x248,_0x246fb5:0x29b,_0x5d77dd:0x3fe,_0x5a3a4d:0xef,_0x15b023:0x680,_0x90f0de:0x749,_0x43013c:0x788,_0x13d319:0x921,_0x59e010:0x8b3},_0x8266ee={_0x9dcdb8:0x1a3,_0x1e31fa:0xcb,_0x3fbf43:0x192},_0x1149b5={_0xfa5abd:0x6d8};function _0x34b69a(_0x35e918,_0x30bcfa,_0x4e29e7,_0x4edc4e){return _0x1ac42a(_0x35e918-0x8b,_0x30bcfa-0xc1,_0x30bcfa-_0x1149b5._0xfa5abd,_0x4e29e7);}const _0x2877c7=await filepath(),_0x34689a=await _0x86a6c8(_0x48c4f0[_0x34b69a(_0x3cfbcc._0x1bed0d,_0x3cfbcc._0x5dcc04,_0x3cfbcc._0x4a651a,_0x3cfbcc._0x22ec03)])[_0x57c4c8(0x270,_0x3cfbcc._0xbf9a57,_0x3cfbcc._0x3b7afc,_0x3cfbcc._0x206253)](()=>null);if(!_0x34689a?.[_0x34b69a(0x52a,0x6a1,_0x3cfbcc._0x5b0b99,_0x3cfbcc._0xe085eb)]())throw Object[_0x57c4c8(_0x3cfbcc._0x20742d,0xe3,_0x3cfbcc._0x395e90,0x43f)](new Error(_0x57c4c8(_0x3cfbcc._0x478516,_0x3cfbcc._0x407f16,_0x3cfbcc._0x50136b,0x1f3)+_0x48c4f0[_0x34b69a(0x4b9,0x5f2,_0x3cfbcc._0x218e1f,0x48e)]+'\x27'),{'code':_0x34b69a(_0x3cfbcc._0x2688e5,_0x3cfbcc._0x4635e8,_0x3cfbcc._0x3dad4a,_0x3cfbcc._0x3dfc8c)});const _0x53a222=['--files',_0x34b69a(_0x3cfbcc._0x5a73e5,_0x3cfbcc._0x377ab5,_0x3cfbcc._0x237a3d,_0x3cfbcc._0x78f7b6),_0x57c4c8(_0x3cfbcc._0x2ef43b,0x38d,0x429,0x2da),_0x57c4c8(_0x3cfbcc._0x3872ee,_0x3cfbcc._0x4c27e3,0x382,_0x3cfbcc._0x585090)];for(const _0x4ddbf4 of _0x48c4f0['glob']??[]){_0x53a222[_0x57c4c8(0x1a9,_0x3cfbcc._0x5b0b56,0x1bb,0x11b)]('--glob='+_0x4ddbf4);}const _0x3ddae6=_0x447297(_0x2877c7,_0x53a222,{'cwd':_0x48c4f0[_0x57c4c8(_0x3cfbcc._0x126627,0x259,_0x3cfbcc._0x25de49,-0x5a)],'stdio':[_0x57c4c8(_0x3cfbcc._0x255077,0x1c9,-_0x3cfbcc._0x4e6482,0xd6),_0x34b69a(0x56b,_0x3cfbcc._0x1e05f0,_0x3cfbcc._0x5bb6f9,0x49c),_0x57c4c8(_0x3cfbcc._0x3907d5,0x14c,0x114,_0x3cfbcc._0x524296)]});let _0x5f1a47='';for await(const _0x18d665 of _0x3ddae6[_0x34b69a(_0x3cfbcc._0x7eb092,0x6d5,_0x3cfbcc._0x5a9035,_0x3cfbcc._0x780db8)]??[]){_0x5f1a47+=_0x18d665['toString']();const _0x53e373=_0x5f1a47[_0x57c4c8(0x253,_0x3cfbcc._0x7d75ac,_0x3cfbcc._0x2c29a8,_0x3cfbcc._0x3b9303)](/\r?\n/);_0x5f1a47=_0x53e373['pop']()??'';for(const _0xe7d085 of _0x53e373){if(_0xe7d085[_0x57c4c8(_0x3cfbcc._0x246fb5,0x3a5,0x1df,0xf4)]>0x0)yield _0xe7d085;}}function _0x57c4c8(_0x500a86,_0x569eb6,_0x2230f5,_0x49415c){return _0x1ac42a(_0x500a86-_0x8266ee._0x9dcdb8,_0x569eb6-_0x8266ee._0x1e31fa,_0x500a86-_0x8266ee._0x3fbf43,_0x2230f5);}_0x5f1a47[_0x57c4c8(0x242,0x27d,_0x3cfbcc._0x5d77dd,_0x3cfbcc._0x5a3a4d)]()[_0x34b69a(0x794,0x7e1,_0x3cfbcc._0x15b023,_0x3cfbcc._0x90f0de)]>0x0&&(yield _0x5f1a47[_0x34b69a(0x8ce,_0x3cfbcc._0x43013c,_0x3cfbcc._0x13d319,_0x3cfbcc._0x59e010)]());}function objectValue(_0x3ca183){const _0x3933cd={_0x6bf82b:0x1c7,_0x199466:0x8d},_0x574262={_0x52cddb:0x4d};function _0x40da3a(_0x49c06b,_0x55b32b,_0x19f07e,_0x317409){return _0x1ac42a(_0x49c06b-0xe9,_0x55b32b-0xef,_0x55b32b-_0x574262._0x52cddb,_0x317409);}return typeof _0x3ca183===_0x40da3a(-0x42,-_0x3933cd._0x6bf82b,-_0x3933cd._0x199466,-0x2b4)&&_0x3ca183!==null?_0x3ca183:void 0x0;}function decodeRipgrepText(_0x5c14b2){const _0x12907d={_0x423077:0x491,_0x54284b:0x4b3,_0xdf9eb4:0x3e1,_0x350a18:0x426,_0x526ea8:0x6ba,_0x3d6430:0x624,_0x53c47e:0x678,_0x3a9279:0x5be,_0x3e8d93:0x6b9,_0x6c9570:0x39b,_0x2a084a:0x566,_0xc1ee12:0x7d6,_0x21dcbe:0x76b,_0x2087a6:0x8a0},_0x2787a5={_0x31d4d9:0xd2,_0x26230b:0x79,_0x50d3c8:0x696},_0x12d679={_0x20d187:0x196,_0x354a48:0x27f,_0x5c1658:0x91},_0x27f2b4=objectValue(_0x5c14b2);function _0x39a723(_0x5639a7,_0x1c5b06,_0x123e5e,_0x28930d){return _0x151cc1(_0x5639a7-_0x12d679._0x20d187,_0x123e5e-_0x12d679._0x354a48,_0x5639a7,_0x28930d-_0x12d679._0x5c1658);}if(typeof _0x27f2b4?.[_0x566676(0x491,0x48a,0x3e8,0x3ce)]==='string')return _0x27f2b4[_0x566676(_0x12907d._0x423077,0x63a,_0x12907d._0x54284b,_0x12907d._0xdf9eb4)];function _0x566676(_0x3df43d,_0x5ce736,_0x244c41,_0x3f0719){return _0x1ac42a(_0x3df43d-_0x2787a5._0x31d4d9,_0x5ce736-_0x2787a5._0x26230b,_0x3df43d-_0x2787a5._0x50d3c8,_0x5ce736);}if(typeof _0x27f2b4?.[_0x39a723(0x733,0x6e8,0x5be,_0x12907d._0x350a18)]==='string')return Buffer[_0x566676(0x6b1,0x7e3,_0x12907d._0x526ea8,_0x12907d._0x3d6430)](_0x27f2b4[_0x39a723(0x46a,_0x12907d._0x53c47e,_0x12907d._0x3a9279,0x45e)],_0x39a723(_0x12907d._0x3e8d93,_0x12907d._0x6c9570,_0x12907d._0x2a084a,0x4c1))['toString'](_0x39a723(0x702,_0x12907d._0xc1ee12,_0x12907d._0x21dcbe,_0x12907d._0x2087a6));return void 0x0;}function parseMatchLine(_0x2710bd,_0xc4bc96){const _0x3af59e={_0x45dcc3:0x3d,_0x3545d3:0xa2,_0x1f2f9a:0x1b8,_0x69d05e:0x466,_0x245b10:0x699,_0x3971b3:0x66e,_0xd2061f:0x33a,_0x57834c:0x358,_0x5216ce:0x3f1,_0x22e813:0x43c,_0x61add3:0x4e7,_0x365f15:0x7be,_0x2f4301:0x575,_0x1b5ef6:0x4b6,_0x4c2992:0x67d,_0x2b6c32:0x544,_0x6ccff9:0x56b,_0x13d8ed:0x48b,_0x51ce20:0x545,_0x551e8c:0x3d9,_0x2222e3:0x677,_0x40f009:0x777,_0x492dbc:0x7b3,_0x233e0b:0x4b3},_0xe1f08={_0x20a96c:0xb5},_0x253644={_0x250486:0xaa,_0x39af36:0x585};if(_0x2710bd[_0x38ab54(0xb4,-_0x3af59e._0x45dcc3,-_0x3af59e._0x3545d3,_0x3af59e._0x1f2f9a)]===0x0)return null;const _0x55a5f2=objectValue(JSON[_0x1cfc37(_0x3af59e._0x69d05e,0x577,0x668,0x549)](_0x2710bd));function _0x1cfc37(_0x18f8a3,_0x3eae25,_0x5929f6,_0x1ef2b1){return _0x1ac42a(_0x18f8a3-0x1cd,_0x3eae25-_0x253644._0x250486,_0x3eae25-_0x253644._0x39af36,_0x1ef2b1);}if(_0x55a5f2?.['type']!=='match'&&_0x55a5f2?.[_0x1cfc37(_0x3af59e._0x245b10,_0x3af59e._0x3971b3,0x512,0x4e8)]!=='context')return null;const _0x1462f3=objectValue(_0x55a5f2[_0x1cfc37(_0x3af59e._0xd2061f,0x3ec,_0x3af59e._0x57834c,_0x3af59e._0x5216ce)]),_0x2ec0ce=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x22e813,0x415,_0x3af59e._0x61add3,0x4a2)]),_0x16f4df=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x365f15,0x673,_0x3af59e._0x2f4301,_0x3af59e._0x1b5ef6)]),_0x1d5b98=_0x1462f3?.[_0x1cfc37(0x638,0x611,_0x3af59e._0x4c2992,_0x3af59e._0x2b6c32)];function _0x38ab54(_0x70432c,_0x45fedb,_0x43a70d,_0x3f36f3){return _0x151cc1(_0x70432c-0x1ce,_0x70432c- -0x3d2,_0x45fedb,_0x3f36f3-_0xe1f08._0x20a96c);}if(_0x2ec0ce===void 0x0||_0x16f4df===void 0x0||typeof _0x1d5b98!=='number')throw new Error('ripgrep\x20returned\x20a\x20malformed\x20JSON\x20match\x20record');return{'filePath':_0x2c2767['isAbsolute'](_0x2ec0ce)?_0x2ec0ce:_0x2c2767[_0x1cfc37(0x477,0x523,_0x3af59e._0x6ccff9,_0x3af59e._0x13d8ed)](_0xc4bc96,_0x2ec0ce),'lineNum':_0x1d5b98,'lineText':_0x16f4df[_0x1cfc37(_0x3af59e._0x51ce20,_0x3af59e._0x551e8c,0x2ce,0x364)](/\r?\n$/,''),..._0x55a5f2[_0x1cfc37(_0x3af59e._0x2222e3,0x66e,_0x3af59e._0x40f009,0x4a2)]===_0x1cfc37(0x781,0x60f,_0x3af59e._0x492dbc,_0x3af59e._0x233e0b)?{'isContext':!![]}:{}};}async function search(_0x37d12c){const _0x5b5cba={_0x5e2bd0:0x27b,_0x24f2c2:0x4,_0x19e4cf:0xce,_0x2fb56a:0xa0,_0x19eb7c:0x21c,_0x4e1e5c:0x10c,_0x30c672:0x16,_0x109520:0x20,_0x3be332:0x73,_0x3db2c7:0x3b,_0x56efaf:0x4e,_0x41a348:0x96,_0x3ff12b:0xf9,_0x17fb7c:0x40c,_0x3fbc2d:0x416,_0x2f98fa:0x125,_0x5d684b:0x14f,_0x2251db:0x54,_0x43a639:0x395,_0x1c3c69:0x44d,_0x40b240:0x155,_0x5da974:0xf2,_0x19d6db:0x25e,_0x138da1:0x2b4,_0xf47b41:0x39b,_0x1bc4da:0x23a,_0x122eca:0x46f,_0x1875e4:0x97,_0x432106:0x2b,_0x590595:0x1d,_0x276843:0x11f,_0x2bb70e:0x20,_0x58c56e:0x64,_0xf5014f:0xd8,_0x2a4c71:0x2d7,_0x5e4a8e:0x141,_0x63a61a:0x25,_0x6e8565:0x19c,_0xf87fef:0xcb,_0x122208:0x27f,_0x37f5fa:0x220,_0xbeefb9:0x4a6,_0x31140b:0x281,_0x47848f:0x2d,_0x2e422f:0xe4,_0x28574a:0x1be,_0x57f599:0x12d,_0x2c7cd8:0x45,_0x3c1f93:0x140,_0x120488:0x124,_0xcf215:0x18,_0x1a4ffe:0x159,_0x6fe943:0x9,_0x207d7a:0x145,_0x401bef:0xbe,_0x1aa6d8:0x20d,_0x2aab60:0x17,_0x2dbbd9:0x80,_0x439cba:0x135,_0x1ff7ce:0x10,_0x41fd14:0x218,_0x4526df:0xa5,_0x13babc:0x72,_0x118564:0x48,_0x27f606:0xc6,_0x1cd4ac:0x1c9,_0x32f2ee:0x2fd,_0x1e159f:0x233,_0x5edc33:0xde,_0xdfd89:0xe3,_0x168a3a:0x55,_0x586aa4:0x5c,_0x2c73f5:0x232,_0x431194:0x1f1,_0x1805d6:0x48,_0x23edb6:0x9b,_0x3198e4:0x218,_0x5ffef1:0x1d,_0x36dd92:0x116,_0x401d85:0xc7,_0x34f8f1:0x9f,_0x294b53:0xf0,_0x1219c1:0x31,_0x48a8c0:0x154,_0x46f840:0x11b,_0x3bf9ac:0x4d},_0x589d98={_0x4bddda:0x5c2,_0xbdb0bb:0x4e1,_0x404813:0x3c5,_0x288f14:0x2df,_0x4dde9c:0x478,_0x5b2d11:0x2e9,_0x1e1b3f:0x689,_0x38fca0:0x5e3,_0x356938:0x7a2,_0x36a651:0x475,_0x3e8283:0x17b,_0x59cd26:0x65d,_0x1263f9:0x40a,_0x9e1579:0x4b6},_0x5c708f={_0x3c1185:0x7ed,_0x3f9c7c:0x67f,_0x31b48a:0x65b,_0x5cb952:0x402,_0x1c8d68:0x753,_0xe90ea9:0x5b1,_0x1ad683:0xb2,_0x4b28d0:0x195,_0x2e306c:0xb1,_0x2cb83e:0x20c,_0x43d2b:0x65c,_0x1ab28c:0x541,_0x3d61f5:0x6a3,_0x4d5114:0x186,_0x1dadd1:0xf4,_0x1bf625:0x238,_0x58853f:0x19c,_0x58e33d:0x2d4},_0x408357={_0x2c4b0a:0xce,_0x457e09:0x3e3},_0x241459={_0xfe1af3:0x18b},_0x54e5fe={_0x2d33ae:0xd0,_0x38fb95:0x362},_0xe29b11={_0x5e5623:0xf6,_0x199cdc:0x201};if(_0x37d12c['file']!==void 0x0&&_0x37d12c[_0x5ab410(_0x5b5cba._0x5e2bd0,_0x5b5cba._0x24f2c2,0x39,_0x5b5cba._0x19e4cf)]!==void 0x0)throw new Error(_0xf5c68b(-_0x5b5cba._0x2fb56a,_0x5b5cba._0x19eb7c,_0x5b5cba._0x4e1e5c,0x50));if(_0x37d12c[_0x5ab410(0x17b,-_0x5b5cba._0x30c672,0x157,0x154)]){const _0x380042=await _0x86a6c8(_0x37d12c[_0x5ab410(-_0x5b5cba._0x109520,_0x5b5cba._0x3be332,-_0x5b5cba._0x3db2c7,0x154)])[_0x5ab410(_0x5b5cba._0x56efaf,-0x35,-_0x5b5cba._0x41a348,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x380042?.['isFile']())throw Object[_0xf5c68b(_0x5b5cba._0x17fb7c,0x2e0,0x321,_0x5b5cba._0x3fbc2d)](new Error(_0x5ab410(_0x5b5cba._0x2f98fa,_0x5b5cba._0x5d684b,0x40,_0x5b5cba._0x2251db)+_0x37d12c[_0xf5c68b(0x473,_0x5b5cba._0x43a639,0x33a,_0x5b5cba._0x1c3c69)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x40b240,0x0,_0x5b5cba._0x5da974,0x141)});}else{if(_0x37d12c[_0xf5c68b(_0x5b5cba._0x19d6db,0x17d,_0x5b5cba._0x138da1,_0x5b5cba._0xf47b41)]!==void 0x0)for(const _0x180bb4 of _0x37d12c[_0xf5c68b(_0x5b5cba._0x1bc4da,_0x5b5cba._0x122eca,0x2b4,0x13a)]){if(!_0x2c2767[_0xf5c68b(0x174,-_0x5b5cba._0x1875e4,0x10f,0x111)](_0x180bb4))throw new Error(_0xf5c68b(0xaa,-_0x5b5cba._0x432106,0x19,-_0x5b5cba._0x590595)+_0x180bb4+'\x27');const _0x4aa01a=await _0x86a6c8(_0x180bb4)['catch'](()=>null);if(!_0x4aa01a?.[_0xf5c68b(0x3fa,0x3cf,0x34e,0x282)]())throw Object[_0x5ab410(-0x46,0x1aa,_0x5b5cba._0x276843,0x13b)](new Error(_0x5ab410(-0xab,0x14,-_0x5b5cba._0x2bb70e,0x54)+_0x180bb4+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x58c56e,_0x5b5cba._0xf5014f,_0x5b5cba._0x2a4c71,_0x5b5cba._0x5e4a8e)});}else{const _0x4a51d9=await _0x86a6c8(_0x37d12c[_0x5ab410(-0x271,_0x5b5cba._0x63a61a,-_0x5b5cba._0x6e8565,-_0x5b5cba._0xf87fef)])[_0x5ab410(_0x5b5cba._0x122208,0x2c2,0xe0,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x4a51d9?.['isDirectory']())throw Object[_0xf5c68b(_0x5b5cba._0x37f5fa,_0x5b5cba._0xbeefb9,0x321,_0x5b5cba._0x31140b)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x37d12c[_0xf5c68b(0x2ea,-_0x5b5cba._0x47848f,0x11b,_0x5b5cba._0x2e422f)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x28574a,0x307,_0x5b5cba._0x57f599,0x141)});}}if(_0x37d12c[_0x5ab410(-0x24,0x198,-0x18,_0x5b5cba._0x19e4cf)]?.[_0x5ab410(-_0x5b5cba._0x2c7cd8,_0x5b5cba._0x3c1f93,-0xa,_0x5b5cba._0x120488)]===0x0)return[];const _0x3b6ed4=await filepath(),_0x1fdb42=['--json',_0xf5c68b(-0xd,0xaf,_0x5b5cba._0xcf215,-_0x5b5cba._0x1a4ffe),_0x37d12c[_0x5ab410(0x49,-_0x5b5cba._0x6fe943,_0x5b5cba._0x207d7a,_0x5b5cba._0x401bef)]],_0x2b92fd=typeof _0x37d12c[_0x5ab410(_0x5b5cba._0x1aa6d8,-_0x5b5cba._0x2aab60,_0x5b5cba._0x2dbbd9,0xa5)]==='number'&&_0x37d12c[_0x5ab410(_0x5b5cba._0x439cba,_0x5b5cba._0x1ff7ce,_0x5b5cba._0x41fd14,_0x5b5cba._0x4526df)]>0x0;_0x2b92fd&&_0x1fdb42[_0x5ab410(_0x5b5cba._0x13babc,0x8,_0x5b5cba._0x118564,0x32)]('-C',String(_0x37d12c['context']));_0x37d12c[_0xf5c68b(_0x5b5cba._0x27f606,_0x5b5cba._0x1cd4ac,0x1f1,0x39f)]&&!_0x37d12c[_0xf5c68b(_0x5b5cba._0x32f2ee,_0x5b5cba._0x1e159f,0x33a,0x353)]&&_0x37d12c[_0x5ab410(0x1d5,_0x5b5cba._0x5edc33,-_0x5b5cba._0xdfd89,0xce)]===void 0x0&&_0x1fdb42[_0xf5c68b(_0x5b5cba._0x168a3a,_0x5b5cba._0x586aa4,0x218,0x1af)]('--glob',_0x37d12c[_0xf5c68b(0x1d0,_0x5b5cba._0x2c73f5,_0x5b5cba._0x431194,_0x5b5cba._0x1805d6)]);_0x37d12c[_0x5ab410(0x157,_0x5b5cba._0x23edb6,-0xbe,_0x5b5cba._0x19e4cf)]!==void 0x0?_0x1fdb42[_0xf5c68b(0x2f6,0x1a6,_0x5b5cba._0x3198e4,0x2eb)](..._0x37d12c[_0x5ab410(_0x5b5cba._0x5ffef1,_0x5b5cba._0x36dd92,_0x5b5cba._0x401d85,0xce)]):_0x1fdb42[_0x5ab410(_0x5b5cba._0x34f8f1,-_0x5b5cba._0x294b53,_0x5b5cba._0x1219c1,0x32)](_0x37d12c[_0x5ab410(0x2c0,0x193,-0x9,_0x5b5cba._0x48a8c0)]??_0x37d12c[_0xf5c68b(0x279,-_0x5b5cba._0x432106,_0x5b5cba._0x46f840,_0x5b5cba._0x3bf9ac)]);function _0xf5c68b(_0x486c83,_0x5537d7,_0x228add,_0x38992b){return _0x1ac42a(_0x486c83-0x93,_0x5537d7-_0xe29b11._0x5e5623,_0x228add-_0xe29b11._0x199cdc,_0x38992b);}function _0x5ab410(_0xfba74,_0x3beb1d,_0x401407,_0xc7447a){return _0x151cc1(_0xfba74-_0x54e5fe._0x2d33ae,_0xc7447a- -_0x54e5fe._0x38fb95,_0x3beb1d,_0xc7447a-0xb1);}return await new Promise((_0xb2c1fa,_0x24bbf8)=>{const _0x49c5fa={_0x52469a:0x2c3,_0x45e183:0x464},_0x1d6c25={_0x2c271e:0x176};function _0x2bcbf1(_0x415603,_0x3313cd,_0x5a5183,_0x2304df){return _0xf5c68b(_0x415603-0x141,_0x3313cd-0x81,_0x2304df-_0x1d6c25._0x2c271e,_0x5a5183);}const _0x418967=_0x447297(_0x3b6ed4,_0x1fdb42,{'cwd':_0x37d12c[_0xc71cc5(_0x589d98._0x4bddda,0x4fe,_0x589d98._0xbdb0bb,_0x589d98._0x404813)],'stdio':['ignore',_0xc71cc5(0x503,0x47a,_0x589d98._0x288f14,_0x589d98._0x4dde9c),_0xc71cc5(0x385,0x47a,0x30e,_0x589d98._0x5b2d11)]});let _0x1172f4='',_0x552f37='';_0x418967['stdout']?.['on']('data',_0x18b16f=>{const _0x2be7bc={_0x3ed5cd:0x1b1,_0x1abf54:0x15a};function _0x4e2fce(_0x2cc8ba,_0x2213a0,_0x417ef9,_0x5360b4){return _0x2bcbf1(_0x2cc8ba-_0x2be7bc._0x3ed5cd,_0x2213a0-_0x2be7bc._0x1abf54,_0x2213a0,_0x5360b4- -0xbe);}_0x1172f4+=_0x18b16f[_0x4e2fce(0x6,0x204,0x337,_0x241459._0xfe1af3)]();});function _0xc71cc5(_0x10c86b,_0x1f40ce,_0x882d1c,_0x15a3a4){return _0xf5c68b(_0x10c86b-0xda,_0x1f40ce-_0x408357._0x2c4b0a,_0x1f40ce-_0x408357._0x457e09,_0x10c86b);}_0x418967[_0xc71cc5(_0x589d98._0x1e1b3f,_0x589d98._0x38fca0,_0x589d98._0x356938,_0x589d98._0x36a651)]?.['on'](_0x2bcbf1(_0x589d98._0x3e8283,0xa6,0x21a,0x1de),_0x426491=>{const _0x24ead9={_0x566382:0x1f3,_0x24c465:0xac,_0x4901ab:0x6e};function _0x11fc6d(_0x28aecb,_0x488427,_0x286206,_0x5cee32){return _0xc71cc5(_0x286206,_0x28aecb- -_0x24ead9._0x566382,_0x286206-_0x24ead9._0x24c465,_0x5cee32-_0x24ead9._0x4901ab);}_0x552f37+=_0x426491[_0x11fc6d(_0x49c5fa._0x52469a,0x299,0x3b0,_0x49c5fa._0x45e183)]();}),_0x418967['on'](_0x2bcbf1(0x343,_0x589d98._0x59cd26,_0x589d98._0x1263f9,_0x589d98._0x9e1579),_0x5e2df7=>{const _0x42333a={_0x4b3f64:0x4bd,_0x1c4d73:0x1a7,_0x2ed18a:0x3a6,_0x24bd2b:0x1ee,_0x28f349:0x7bc},_0x4b553f={_0x2609d3:0x23},_0x529fc7={_0x36b732:0xac,_0x5523af:0x223};if(_0x5e2df7===0x1&&_0x1172f4===''){_0xb2c1fa([]);return;}if(_0x5e2df7!==0x0&&_0x5e2df7!==0x1){_0x24bbf8(new Error('ripgrep\x20failed:\x20'+_0x552f37));return;}const _0x523fa4=[];try{for(const _0x625947 of _0x1172f4[_0x4f9f0d(0x4c6,_0x5c708f._0x3c1185,_0x5c708f._0x3f9c7c,_0x5c708f._0x31b48a)](/\r?\n/)){const _0x2fe26e=parseMatchLine(_0x625947,_0x37d12c['cwd']);if(_0x2fe26e)_0x523fa4[_0x4f9f0d(_0x5c708f._0x5cb952,0x521,_0x5c708f._0x1c8d68,_0x5c708f._0xe90ea9)](_0x2fe26e);}}catch(_0x5320c1){_0x24bbf8(_0x5320c1);return;}const _0x28273f=_0x37d12c[_0x47b60c(-0x39,-_0x5c708f._0x1ad683,0x28,-_0x5c708f._0x4b28d0)]??0x64;function _0x4f9f0d(_0x18c291,_0xdc54e1,_0x5987f2,_0xddd378){return _0x2bcbf1(_0x18c291-_0x529fc7._0x36b732,_0xdc54e1-0x20,_0x5987f2,_0xddd378-_0x529fc7._0x5523af);}const _0x849c6f=Number['isFinite'](_0x28273f)?Math['max'](0x0,Math[_0x47b60c(0x32d,_0x5c708f._0x2e306c,_0x5c708f._0x2cb83e,0x229)](_0x28273f)):0x64,_0x25961f=_0x523fa4[_0x47b60c(0xba,-0x18c,-0x54,0x25)](_0x3bdb37=>!_0x3bdb37[_0x47b60c(-0x11,-0x52,-0x25,0x195)]);if(_0x25961f[_0x4f9f0d(_0x5c708f._0x43d2b,0x622,_0x5c708f._0x1ab28c,_0x5c708f._0x3d61f5)]<=_0x849c6f){_0xb2c1fa(_0x523fa4);return;}function _0x47b60c(_0xe353e3,_0x2a2176,_0x17ed93,_0x4509ca){return _0xc71cc5(_0xe353e3,_0x17ed93- -0x4d2,_0x17ed93-_0x4b553f._0x2609d3,_0x4509ca-0x164);}const _0x515405=_0x25961f[_0x47b60c(0x179,_0x5c708f._0x4d5114,_0x5c708f._0x1dadd1,0x21)](0x0,_0x849c6f),_0x7e638e=new Set(_0x515405),_0x58894f=_0x2b92fd?Math['max'](0x0,Math['trunc'](_0x37d12c[_0x47b60c(0xf0,_0x5c708f._0x1bf625,_0x5c708f._0x58853f,_0x5c708f._0x58e33d)]??0x0)):0x0;_0xb2c1fa(_0x523fa4['filter'](_0x201267=>{const _0x42039a={_0x1b82fb:0x199,_0x2ed640:0x136,_0x24b7c9:0x5a},_0x32f44b={_0x78ed8e:0x47};if(!_0x201267[_0x2cee25(0x3a1,0x545,0x61e,_0x42333a._0x4b3f64)])return _0x7e638e[_0x4644ed(_0x42333a._0x1c4d73,_0x42333a._0x2ed18a,0xc6,_0x42333a._0x24bd2b)](_0x201267);function _0x4644ed(_0x2460d3,_0x6a6af9,_0x351174,_0xd715e0){return _0x47b60c(_0x351174,_0x6a6af9-0x9e,_0xd715e0-_0x32f44b._0x78ed8e,_0xd715e0-0x34);}function _0x2cee25(_0xf71462,_0x5cd963,_0x37802a,_0x5c7658){return _0x4f9f0d(_0xf71462-_0x42039a._0x1b82fb,_0x5cd963-_0x42039a._0x2ed640,_0xf71462,_0x5c7658-_0x42039a._0x24b7c9);}return _0x515405[_0x2cee25(_0x42333a._0x28f349,0x673,0x6a6,0x6bd)](_0xc9dd55=>_0xc9dd55[_0x4644ed(0x141,-0x96,0x174,0xa7)]===_0x201267[_0x4644ed(0x77,-0x129,0x42,0xa7)]&&Math[_0x4644ed(0x63,0x217,0x206,0x14c)](_0xc9dd55['lineNum']-_0x201267['lineNum'])<=_0x58894f);}));}),_0x418967['on']('error',_0x24bbf8);});}function createGlobTool(_0x2ff01b={}){const _0x12a404={_0x39f98c:0x161,_0x58b3b3:0x20e,_0x25a851:0x241,_0x2c5025:0x2ce,_0x20059a:0x434,_0x9c1aea:0x3e7,_0x5998c2:0x435,_0x5bd11f:0x3d2,_0x3b57af:0x76,_0x915b30:0x1df,_0x278558:0xc1,_0x47d7ae:0x393,_0x1835a0:0x4b5,_0x59273f:0x442,_0x4f444a:0x637,_0x2932a8:0x59a,_0x5768a0:0x2c8,_0x2b4e42:0x1c5,_0x570bc4:0x2b9,_0x5bfa45:0x306,_0x3c8d5a:0x2de,_0x147f68:0x1a0,_0x31eb2c:0x305},_0x2d4472={_0x21225e:0x157,_0x578468:0x1cf,_0x5feb0c:0x105,_0x2b75b2:0x236,_0x4c9494:0x104,_0x3d19e4:0x7f,_0x2f5c74:0x4b,_0x1298ac:0xff,_0x40447b:0x280,_0x17689d:0x15a,_0x17498b:0x227,_0x3cfe95:0x25b,_0x58b111:0x233,_0x38a248:0x95,_0x2c2d02:0xc2,_0x4916a8:0x46f,_0x46d42b:0x437,_0x566000:0x2a9,_0x404c08:0x3fd,_0xe0ea1b:0x113,_0x22f0d2:0x137,_0x26e644:0x27c,_0x13f289:0x24b,_0x11417f:0x191,_0x532d15:0x28,_0x4f84cf:0x16c,_0x5067b9:0xad,_0xa4febe:0x1,_0x53ee60:0x1ae,_0x5eff58:0x228},_0x4104c5={_0x1410a5:0x30,_0x16ccc2:0x17f},_0x2716e1={_0x5560fd:0xff,_0x3df56e:0x270},_0x4d66b3={_0x181a63:0x0,_0x1956ee:0x150,_0x338c58:0xc6},_0x144e8e=_0x48fc84[_0x57a566(_0x12a404._0x39f98c,0x5b,_0x12a404._0x58b3b3,0x2f8)](_0x2ff01b[_0x57a566(0x1b2,_0x12a404._0x25a851,0x2a3,0x128)]??process[_0x565a20(_0x12a404._0x2c5025,0x4e4,_0x12a404._0x20059a,_0x12a404._0x9c1aea)]()),_0x4d749f=_0x2ff01b[_0x57a566(_0x12a404._0x5998c2,0x42f,_0x12a404._0x5bd11f,0x4e9)]??[];function _0x565a20(_0x559291,_0x5b6c0e,_0x4ca757,_0x4f47f0){return _0x151cc1(_0x559291-_0x4d66b3._0x181a63,_0x4f47f0-_0x4d66b3._0x1956ee,_0x559291,_0x4f47f0-_0x4d66b3._0x338c58);}const _0x1b9075=_0x2ff01b[_0x57a566(_0x12a404._0x3b57af,_0x12a404._0x915b30,0x186,0x203)]??0x64;function _0x57a566(_0x32ebaf,_0x16cb00,_0x1eaba3,_0x9fe8d0){return _0x1ac42a(_0x32ebaf-0x9f,_0x16cb00-_0x2716e1._0x5560fd,_0x1eaba3-_0x2716e1._0x3df56e,_0x32ebaf);}const _0x4f3140=_0x2ff01b['name']??_0x57a566(0x224,_0x12a404._0x278558,0x214,_0x12a404._0x47d7ae);return defineTool({'name':_0x4f3140,'permissionClass':_0x565a20(_0x12a404._0x1835a0,0x6a4,0x748,0x5ba),'description':_0x565a20(_0x12a404._0x59273f,_0x12a404._0x4f444a,0x622,_0x12a404._0x2932a8),'inputSchema':{'type':_0x565a20(_0x12a404._0x5768a0,0x308,_0x12a404._0x2b4e42,_0x12a404._0x570bc4),'properties':{'pattern':{'type':_0x565a20(0x295,0x491,0x265,_0x12a404._0x5bfa45)},'path':{'type':_0x565a20(_0x12a404._0x3c8d5a,0x28e,_0x12a404._0x147f68,0x306)},'limit':{'type':'number'}},'required':[_0x57a566(0x1e4,0x2c7,0x313,_0x12a404._0x31eb2c)]},async *'execute'(_0x2956eb){const _0x47d1c8={_0xe47101:0xff};if(_0x2956eb[_0x1b0601(_0x2d4472._0x21225e,_0x2d4472._0x578468,-_0x2d4472._0x5feb0c,0xc4)][_0x4db753(0x3e4,0x409,0x103,0x2b6)]()[_0x4db753(0x1b7,0x1b3,_0x2d4472._0x2b75b2,0x30f)]===0x0)throw new ToolExecutionError(_0x1b0601(-_0x2d4472._0x4c9494,0x111,-0x22a,-_0x2d4472._0x3d19e4),{});const _0x2bfb55=resolveAllowedPath(_0x144e8e,_0x4d749f,_0x2956eb['path']??'.'),_0x2cf64d=await _0x5e4a83(_0x2bfb55)[_0x1b0601(0x105,_0x2d4472._0x2f5c74,0x183,_0x2d4472._0x1298ac)](()=>null);if(!_0x2cf64d?.[_0x4db753(_0x2d4472._0x40447b,0x2ab,0x16c,0x1cf)]())throw new ToolExecutionError(_0x1b0601(_0x2d4472._0x17689d,0x129,0x2af,0x107)+(_0x2956eb[_0x4db753(0x265,_0x2d4472._0x17498b,0x107,0x96)]??'.'),{'path':_0x2956eb[_0x4db753(0x17f,_0x2d4472._0x3cfe95,_0x2d4472._0x58b111,0x96)]??'.'});const _0x461dcb=_0x2956eb[_0x1b0601(-_0x2d4472._0x38a248,-0x15a,-_0x2d4472._0x2c2d02,-0xc9)]??_0x1b9075;function _0x4db753(_0x9b5bd6,_0x455911,_0x120ac0,_0x343633){return _0x57a566(_0x120ac0,_0x455911-_0x4104c5._0x1410a5,_0x343633- -0x6a,_0x343633-_0x4104c5._0x16ccc2);}const _0x59c437=Math['max'](0x1,Math['trunc'](_0x461dcb)),_0x395a8f=[];let _0x1e2795=![];for await(const _0x2cb48b of files({'cwd':_0x2bfb55,'glob':[_0x2956eb[_0x4db753(_0x2d4472._0x4916a8,_0x2d4472._0x46d42b,0x23c,_0x2d4472._0x566000)]]})){if(_0x395a8f['length']>=_0x59c437){_0x1e2795=!![];break;}const _0x301c88=await _0x5e4a83(_0x48fc84[_0x4db753(0x222,_0x2d4472._0x404c08,0x1ac,0x342)](_0x2bfb55,_0x2cb48b))['catch'](()=>null);_0x395a8f['push']({'path':_0x2cb48b,'mtime':_0x301c88?.[_0x4db753(-0x6d,_0x2d4472._0xe0ea1b,0x8f,0x112)]??0x0});}_0x395a8f[_0x1b0601(0x2f8,-0x12,0x2dd,_0x2d4472._0x22f0d2)]((_0x3c632b,_0x4aebd0)=>_0x4aebd0[_0x1b0601(-0xb6,-0xc6,0x35,-0x9c)]-_0x3c632b[_0x4db753(-0x7a,0x2d9,0x2d9,0x149)]);const _0x3fff96=_0x395a8f[_0x4db753(0x3fb,_0x2d4472._0x26e644,_0x2d4472._0x13f289,0x2b0)](_0x324bea=>_0x324bea[_0x4db753(0x173,0x13,-0x12a,0x96)]),_0x137524=_0x3fff96['length']===0x0?_0x1b0601(0xe,-0x1e7,-_0x2d4472._0x11417f,-0x198)+_0x2956eb[_0x1b0601(-_0x2d4472._0x532d15,_0x2d4472._0x4f84cf,-_0x2d4472._0x5067b9,0xc4)]:''+_0x3fff96[_0x1b0601(-_0x2d4472._0xa4febe,0x116,_0x2d4472._0x53ee60,0x15d)]('\x0a')+(_0x1e2795?_0x4db753(_0x2d4472._0x5eff58,0x2f0,0x246,0x156):'');function _0x1b0601(_0x14b7ad,_0x2bce33,_0x5009c9,_0x583a83){return _0x57a566(_0x14b7ad,_0x2bce33-0xe5,_0x583a83- -0x24f,_0x583a83-_0x47d1c8._0xe47101);}return yield createToolOutput(_0x137524,{'pattern':_0x2956eb['pattern'],'searchPath':_0x48fc84['relative'](_0x144e8e,_0x2bfb55)||'.','matches':_0x3fff96,'count':_0x3fff96['length'],'truncated':_0x1e2795}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x16310e){const _0x7b64ae={_0x4cea13:0x722,_0x524366:0x741,_0x23c046:0x5e6,_0x480f40:0x6e1,_0x1e61ed:0x5f7,_0x3e8022:0x5c5,_0x13ef70:0x400,_0x582869:0x596,_0x4de4fb:0x66e,_0x1aceae:0x631},_0x131f68={_0x5f479e:0x82};if(_0x16310e[_0x511295(0x69e,0x6c4,_0x7b64ae._0x4cea13,0x814)]()['length']===0x0)throw new Error(_0x14d5ea(_0x7b64ae._0x524366,0x5a6,_0x7b64ae._0x23c046,_0x7b64ae._0x480f40));function _0x14d5ea(_0x5d613e,_0x124e54,_0x41e9fd,_0x26637e){return _0x1ac42a(_0x5d613e-0x187,_0x124e54-_0x131f68._0x5f479e,_0x124e54-0x646,_0x26637e);}function _0x511295(_0x133211,_0x5b2e9a,_0x5073ae,_0x9a7b35){return _0x151cc1(_0x133211-0x13f,_0x133211-0x271,_0x9a7b35,_0x9a7b35-0x9c);}if(_0x16310e[_0x14d5ea(0x812,0x74f,_0x7b64ae._0x1e61ed,0x791)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x511295(_0x7b64ae._0x3e8022,0x5dc,0x753,_0x7b64ae._0x13ef70)+GREP_MAX_PATTERN_LENGTH+_0x511295(_0x7b64ae._0x582869,_0x7b64ae._0x4de4fb,_0x7b64ae._0x1aceae,0x522));}function boundedGrepSnippet(_0x36fdd7){return _0x36fdd7['length']>GREP_MAX_SNIPPET_LENGTH?_0x36fdd7['slice'](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x36fdd7;}async function searchRegex(_0x2ff83e){const _0x13f010={_0x2c2d69:0x477,_0x31912f:0x25c,_0x5f1dd5:0x1ec,_0x3828de:0x60f,_0x2f7d2c:0x6da,_0x394d5f:0x515,_0x53629c:0x3cd,_0x366f16:0x3d0,_0x3c1e72:0x51f,_0x211ee5:0x3d6,_0x131932:0x437,_0xb57eb9:0x364,_0x2e3bd9:0x514,_0x4e6797:0x666,_0x2b35a0:0x5ab,_0x4909c:0x43b,_0x1da095:0x389,_0x1bc806:0x350,_0x180197:0x475,_0x502b7a:0x708,_0x3f144b:0x2a6,_0x513dd1:0x2e7,_0x17839d:0x388,_0x53ee1b:0x66b,_0x5a91c5:0x55f,_0x193438:0x170,_0x68128b:0x7b,_0xa70864:0x0,_0x4fb3c4:0x333,_0x3e1eb4:0x41e,_0x1e54f6:0x261,_0x50b0fd:0x499,_0x3a54c9:0x611,_0x23a065:0x510,_0x2ea555:0x510,_0x223a30:0x592,_0x48c26c:0x48e,_0x401810:0x28a,_0x33c5aa:0x55a,_0x179744:0x611,_0x46a081:0x6a8,_0x25b97c:0x380,_0x5c6eda:0x374,_0x44bdfc:0x206,_0x59bc2c:0x791,_0x55c54c:0x66f},_0xcb315d={_0x54c0c5:0x204,_0x30586b:0x3c3,_0x36dd30:0x44a,_0x200d05:0x58f,_0x4da375:0x72f,_0x36452a:0x6a6},_0x28723c={_0x3c202f:0x18b},_0x440c41={_0x332312:0x1e6,_0x2213c4:0x2a,_0x3a4fa3:0x2d6};validateGrepPattern(_0x2ff83e[_0x18edb5(0x379,_0x13f010._0x2c2d69,_0x13f010._0x31912f,0x363)]);const _0x4b3dd0=_0x2ff83e[_0x18edb5(_0x13f010._0x5f1dd5,0x67,0x287,0x240)]??GREP_DEFAULT_LIMIT,_0x4d51bf=Number[_0x1c89b4(_0x13f010._0x3828de,_0x13f010._0x2f7d2c,_0x13f010._0x394d5f,_0x13f010._0x53629c)](_0x4b3dd0)?Math['max'](0x1,Math[_0x18edb5(_0x13f010._0x366f16,_0x13f010._0x3c1e72,_0x13f010._0x211ee5,0x36f)](_0x4b3dd0)):GREP_DEFAULT_LIMIT;if(_0x2ff83e[_0x1c89b4(0x51c,_0x13f010._0x131932,0x5bb,0x723)]?.[_0x18edb5(0x3df,0x377,_0x13f010._0xb57eb9,0x447)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};function _0x18edb5(_0x3678e7,_0x58ef1e,_0xba1207,_0x52d8ba){return _0x1ac42a(_0x3678e7-_0x440c41._0x332312,_0x58ef1e-_0x440c41._0x2213c4,_0x3678e7-_0x440c41._0x3a4fa3,_0x52d8ba);}const _0x32859b=await search({'cwd':_0x2ff83e[_0x1c89b4(_0x13f010._0x2e3bd9,0x5ed,0x422,0x344)],'pattern':_0x2ff83e[_0x1c89b4(0x43f,_0x13f010._0x4e6797,_0x13f010._0x2b35a0,_0x13f010._0x4909c)],..._0x2ff83e[_0x18edb5(_0x13f010._0x1da095,_0x13f010._0x1bc806,_0x13f010._0x180197,0x3e7)]===void 0x0?{}:{'files':_0x2ff83e[_0x1c89b4(0x666,0x565,0x5bb,_0x13f010._0x502b7a)]},..._0x2ff83e['glob']===void 0x0?{}:{'glob':_0x2ff83e[_0x18edb5(0x2c6,_0x13f010._0x3f144b,_0x13f010._0x513dd1,_0x13f010._0x17839d)]},..._0x2ff83e[_0x1c89b4(0x72a,0x647,0x592,_0x13f010._0x53ee1b)]===void 0x0?{}:{'context':_0x2ff83e[_0x1c89b4(0x408,0x653,0x592,_0x13f010._0x5a91c5)]},'limit':_0x4d51bf+0x1}),_0xe225e6=_0x32859b[_0x18edb5(_0x13f010._0x193438,_0x13f010._0x68128b,_0x13f010._0xa70864,_0x13f010._0x4fb3c4)](_0x292cba=>!_0x292cba['isContext']),_0x5a7ded=_0xe225e6[_0x18edb5(0x3df,0x2fd,0x335,0x29b)]>_0x4d51bf,_0x5b2aad=_0xe225e6[_0x18edb5(0x2b8,_0x13f010._0x3e1eb4,_0x13f010._0x1e54f6,0x10a)](0x0,_0x4d51bf),_0x30eb7b=new Set(_0x5b2aad);function _0x1c89b4(_0x24b7cf,_0x640ad0,_0x2cfedb,_0x429a0b){return _0x151cc1(_0x24b7cf-0xc5,_0x2cfedb-_0x28723c._0x3c202f,_0x429a0b,_0x429a0b-0x17);}const _0xefa524=Math[_0x1c89b4(_0x13f010._0x50b0fd,0x48c,0x599,_0x13f010._0x3a54c9)](0x0,Math[_0x18edb5(0x3d0,0x518,0x408,0x399)](_0x2ff83e[_0x1c89b4(_0x13f010._0x23a065,_0x13f010._0x2ea555,_0x13f010._0x223a30,_0x13f010._0x48c26c)]??0x0)),_0x109774=_0x5a7ded?_0x32859b[_0x1c89b4(0x46d,_0x13f010._0x401810,0x3a2,0x2e6)](_0x1a54f8=>{const _0x5509f8={_0x43dee9:0x224,_0x4b87dd:0x193};function _0x36a102(_0x180a9f,_0x1aa319,_0x58f04c,_0x3e55ef){return _0x1c89b4(_0x180a9f-0x2c,_0x1aa319-0x11f,_0x180a9f- -0x1dd,_0x1aa319);}if(!_0x1a54f8[_0x2ebca7(_0xcb315d._0x54c0c5,_0xcb315d._0x30586b,0x311,_0xcb315d._0x36dd30)])return _0x30eb7b[_0x2ebca7(0x52e,_0xcb315d._0x200d05,_0xcb315d._0x4da375,0x481)](_0x1a54f8);function _0x2ebca7(_0x8316ae,_0x418ce3,_0x5b51d0,_0x2c722c){return _0x18edb5(_0x418ce3-_0x5509f8._0x43dee9,_0x418ce3-0x63,_0x5b51d0-_0x5509f8._0x4b87dd,_0x2c722c);}return _0x5b2aad[_0x2ebca7(0x421,0x5c3,_0xcb315d._0x36452a,0x77b)](_0x2bdc21=>_0x2bdc21['filePath']===_0x1a54f8['filePath']&&Math['abs'](_0x2bdc21[_0x36a102(0x2c3,0x23a,0x191,0x24e)]-_0x1a54f8[_0x36a102(0x2c3,0x38f,0x327,0x2c5)])<=_0xefa524);}):_0x32859b;return{'matches':_0x109774,'matchCount':_0x5b2aad[_0x1c89b4(_0x13f010._0x33c5aa,0x561,_0x13f010._0x179744,_0x13f010._0x46a081)],'fileCount':new Set(_0x109774[_0x18edb5(_0x13f010._0x25b97c,0x359,_0x13f010._0x5c6eda,_0x13f010._0x44bdfc)](_0x2b1265=>_0x2b1265['filePath']))[_0x1c89b4(0x654,_0x13f010._0x59bc2c,_0x13f010._0x55c54c,0x832)],'truncated':_0x5a7ded};}import{stat as _0x5b8beb}from'fs/promises';import*as _0x112a9f from'path';function createGrepTool(_0x105986={}){const _0x296f5b={_0x4a162b:0x2d,_0x3c9009:0xd3,_0x2ff859:0x50,_0x597655:0x388,_0x12e62d:0x277,_0x404ee7:0x1c9,_0x402fd8:0x45e,_0x280d8c:0x377,_0x32679c:0x4db,_0x3c38fe:0xae,_0x4ed746:0x19b,_0x4b9a2b:0x231,_0x41c9a9:0x142,_0x3c999f:0x63,_0x41460d:0x44,_0x4ec270:0x59,_0x25d3da:0x2e6,_0x473a03:0x1d6,_0x5df19d:0x505,_0x18b973:0x4a0,_0x5284ef:0x440,_0x259d67:0x3fb},_0x17ec28={_0x5ee508:0xf0,_0x51a08f:0x2b5,_0x1f1e2f:0x2a4,_0x352570:0x262,_0x1b5477:0xb7,_0x25f55f:0x133,_0x347742:0xcd,_0x460f28:0x610,_0x1980cb:0x45b,_0x3255d4:0x35a,_0x2655a2:0x119,_0x3969b7:0x1fb,_0x105ed8:0x144,_0x1774f4:0x1b5,_0x349a16:0x181,_0x24ce6c:0xe5,_0x1963bf:0x233,_0xd88264:0x23b,_0x3206cd:0x226,_0x103ceb:0x112,_0x59fde7:0x18a,_0x20183a:0x21c,_0x1e4707:0x85,_0x5dd5ea:0x21b,_0x585ee7:0x15f,_0x5ca8f8:0x171,_0x3f45a1:0x316,_0x1b989c:0x585,_0x2e4c4d:0x309,_0x4ddc21:0x2d3,_0x59def3:0x46c,_0xb23ce:0x37f,_0x2a55dc:0x281,_0x2f685c:0x174,_0x4efe58:0xd,_0x42d226:0xd3,_0x259c67:0x1ee,_0x24beff:0x23a,_0x501729:0x251,_0x190af6:0x23d,_0x5064a2:0xfe,_0x5ae6c3:0x2cc,_0x2c4e95:0x29e,_0x5da032:0x1b8,_0x333a07:0x72,_0x217484:0x316,_0xe7d9a1:0x17c,_0x465404:0x3d7,_0x2b41da:0x4b5,_0x20265a:0x272,_0x4cb3e3:0x27f,_0x20abfe:0xe3,_0x4e4009:0xe1,_0x10df72:0xdc,_0x4d069f:0x11,_0x2a954d:0x282,_0xa78da8:0x4c5,_0x311ec8:0x2,_0x1ded3e:0x121,_0x4fda26:0x19b,_0x1cec7e:0x148,_0x152de8:0x5b6,_0x734d:0x18c,_0x44a25d:0x24e,_0x3aa8d2:0x33a,_0x109600:0x37,_0x4149b6:0x174,_0x370207:0x39a,_0x91cfee:0x660,_0x22ae89:0x5b4,_0x50a4ba:0x47f,_0xc7c0cf:0x21a,_0x55b817:0x186,_0x258bd4:0x4,_0x4bf2a1:0x479},_0x5eda8f={_0x3455a6:0xed,_0x1dcffc:0x1ed,_0x58c26e:0x51},_0x173666={_0x4e69ab:0x18a,_0x269cef:0x3e,_0x1e1fb6:0x96},_0x29ca82=_0x112a9f[_0x56cc3f(-0x51,-0x180,0x34,_0x296f5b._0x4a162b)](_0x105986['defaultCwd']??process[_0x56cc3f(_0x296f5b._0x3c9009,0x57,-_0x296f5b._0x2ff859,-0xb3)]());function _0x56cc3f(_0x1ee1fa,_0x2e9188,_0x25dfd4,_0x15cd27){return _0x1ac42a(_0x1ee1fa-_0x173666._0x4e69ab,_0x2e9188-_0x173666._0x269cef,_0x25dfd4-_0x173666._0x1e1fb6,_0x15cd27);}function _0x4887be(_0x5d7fbc,_0x3649bd,_0x5454a4,_0x36e91c){return _0x1ac42a(_0x5d7fbc-0x1d9,_0x3649bd-0x1df,_0x5454a4-0x39d,_0x5d7fbc);}const _0x2b2289=_0x105986['allowedDirs']??[],_0x26d991=_0x105986[_0x4887be(_0x296f5b._0x597655,_0x296f5b._0x12e62d,0x2b3,0x28c)]??GREP_DEFAULT_LIMIT,_0x10b68b=_0x105986[_0x56cc3f(0x229,0x132,0x128,0x12a)]??_0x4887be(_0x296f5b._0x404ee7,_0x296f5b._0x402fd8,_0x296f5b._0x280d8c,_0x296f5b._0x32679c);return defineTool({'name':_0x10b68b,'permissionClass':_0x4887be(0x5ff,0x5ab,0x48a,0x312),'description':_0x4887be(0x4a,_0x296f5b._0x3c38fe,_0x296f5b._0x4ed746,_0x296f5b._0x4b9a2b),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x56cc3f(-_0x296f5b._0x41c9a9,0x8,-0x131,-0x39)},'path':{'type':_0x4887be(_0x296f5b._0x3c999f,_0x296f5b._0x41460d,0x1d6,_0x296f5b._0x4ec270)},'include':{'type':_0x4887be(_0x296f5b._0x25d3da,0x26d,_0x296f5b._0x473a03,0x336)},'limit':{'type':_0x4887be(_0x296f5b._0x5df19d,0x675,0x4df,0x517)},'context':{'type':'number'}},'required':[_0x4887be(_0x296f5b._0x18b973,0x4a2,_0x296f5b._0x5284ef,_0x296f5b._0x259d67)]},async *'execute'(_0x1ff5f1){const _0x502862={_0x177b5c:0x121};try{validateGrepPattern(_0x1ff5f1[_0x1c8ab3(_0x17ec28._0x5ee508,0x18a,_0x17ec28._0x51a08f,0x260)]);}catch(_0x1f41dc){throw new ToolExecutionError(_0x1f41dc[_0x1c8ab3(_0x17ec28._0x1f1e2f,0x1f8,_0x17ec28._0x352570,_0x17ec28._0x1b5477)],{});}function _0x1c8ab3(_0x10b150,_0x8414f4,_0x264543,_0x41eaf5){return _0x56cc3f(_0x10b150-_0x5eda8f._0x3455a6,_0x8414f4-_0x5eda8f._0x1dcffc,_0x8414f4-_0x5eda8f._0x58c26e,_0x41eaf5);}const _0x151b43=resolveAllowedPath(_0x29ca82,_0x2b2289,_0x1ff5f1[_0x1c8ab3(0x82,-0x89,-_0x17ec28._0x25f55f,-_0x17ec28._0x347742)]??'.'),_0x30b166=await _0x5b8beb(_0x151b43)[_0x1a606d(_0x17ec28._0x460f28,0x57d,0x463,_0x17ec28._0x1980cb)](()=>null),_0x39b66d=_0x30b166?.[_0x1a606d(_0x17ec28._0x3255d4,0x507,0x4d2,0x4b5)]()??![],_0x4684d5=_0x30b166?.[_0x1c8ab3(_0x17ec28._0x2655a2,0xb0,_0x17ec28._0x3969b7,0x37)]()??![];if(!_0x39b66d&&!_0x4684d5)throw new ToolExecutionError(_0x1c8ab3(-_0x17ec28._0x105ed8,-0x28,-_0x17ec28._0x1774f4,-_0x17ec28._0x349a16)+(_0x1ff5f1['path']??'.'),{'path':_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x24ce6c,-0x89,-_0x17ec28._0x1963bf,-0x223)]??'.'});const _0x2b922e=await searchRegex({'cwd':_0x4684d5?_0x151b43:_0x112a9f[_0x1c8ab3(0x18f,_0x17ec28._0xd88264,_0x17ec28._0x3206cd,_0x17ec28._0x103ceb)](_0x151b43),'pattern':_0x1ff5f1[_0x1c8ab3(0x325,_0x17ec28._0x59fde7,_0x17ec28._0x20183a,0x27d)],'glob':_0x4684d5?_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x1e4707,0x12f,0x94,_0x17ec28._0x5dd5ea)]:void 0x0,'limit':_0x1ff5f1[_0x1a606d(_0x17ec28._0x585ee7,_0x17ec28._0x5ca8f8,0x29b,0x29a)]??_0x26d991,'files':_0x39b66d?[_0x151b43]:void 0x0,'context':_0x1ff5f1['context']}),{matches:_0x26910a}=_0x2b922e,_0x41fc3d=new Map();function _0x1a606d(_0x4641fb,_0x22a8ba,_0x31512b,_0x252dc8){return _0x4887be(_0x22a8ba,_0x22a8ba-0x1ac,_0x31512b- -0x18,_0x252dc8-_0x502862._0x177b5c);}for(const _0x57f9bc of _0x26910a){if(!_0x41fc3d[_0x1a606d(_0x17ec28._0x3f45a1,0x4f9,0x41a,_0x17ec28._0x1b989c)](_0x57f9bc[_0x1a606d(0x30e,_0x17ec28._0x2e4c4d,_0x17ec28._0x4ddc21,0x236)])){const _0x3d2c31=await _0x5b8beb(_0x57f9bc[_0x1a606d(0x120,_0x17ec28._0x59def3,0x2d3,0x3af)])['catch'](()=>null);_0x41fc3d[_0x1a606d(_0x17ec28._0xb23ce,0x2c7,_0x17ec28._0x2a55dc,_0x17ec28._0x2f685c)](_0x57f9bc['filePath'],{'matches':[],'mtime':_0x3d2c31?.[_0x1c8ab3(-0x90,-_0x17ec28._0x4efe58,-0x42,-_0x17ec28._0x4efe58)]??0x0});}_0x41fc3d[_0x1c8ab3(0xd1,_0x17ec28._0x42d226,_0x17ec28._0x259c67,0xd3)](_0x57f9bc[_0x1a606d(_0x17ec28._0x24beff,0x2c3,_0x17ec28._0x4ddc21,0x326)])?.[_0x1a606d(_0x17ec28._0x501729,_0x17ec28._0x190af6,0x17d,0x1e8)][_0x1c8ab3(0x6,_0x17ec28._0x5064a2,_0x17ec28._0x5ae6c3,_0x17ec28._0x2c4e95)](_0x57f9bc);}const _0x31c0a9=[..._0x41fc3d[_0x1c8ab3(_0x17ec28._0x5da032,0xc8,0x24d,0x72)]()][_0x1a606d(0x454,0x40e,0x49b,0x47b)]((_0x25b0f1,_0x4cc18e)=>_0x4cc18e[0x1][_0x1c8ab3(0x6a,0x2a,0x3b,0x16c)]-_0x25b0f1[0x1][_0x1a606d(0x26e,0x36d,0x2c8,0x250)]),_0x4c8f0e=_0x39b66d?_0x112a9f[_0x1c8ab3(0x179,0x23b,_0x17ec28._0x333a07,0x2a6)](_0x151b43):_0x151b43;let _0x2edffb='';if(_0x26910a[_0x1a606d(0x402,0x322,0x48e,_0x17ec28._0x217484)]===0x0)_0x2edffb=_0x1a606d(_0x17ec28._0xe7d9a1,0xe4,0x265,0x398)+_0x1ff5f1[_0x1a606d(_0x17ec28._0x465404,0x283,0x428,0x36e)];else{_0x2edffb=_0x1a606d(_0x17ec28._0x2b41da,0x24d,0x3d0,_0x17ec28._0x20265a)+_0x2b922e[_0x1c8ab3(-_0x17ec28._0x4cb3e3,-_0x17ec28._0x20abfe,-0xb2,0x1)]+_0x1c8ab3(_0x17ec28._0x4e4009,_0x17ec28._0x10df72,_0x17ec28._0x4d069f,0x239)+(_0x2b922e[_0x1a606d(0x32c,_0x17ec28._0x2a954d,0x1bb,0xbc)]===0x1?'':'es')+'\x0a';for(const [_0x1cc531,_0x50e498]of _0x31c0a9){const _0x23ed9c=_0x39b66d?_0x112a9f[_0x1a606d(0x3c6,_0x17ec28._0xa78da8,0x476,0x34b)](_0x1cc531):_0x112a9f['relative'](_0x4c8f0e,_0x1cc531);_0x2edffb+='\x0a'+_0x23ed9c+':\x0a';for(const _0x6ce73f of _0x50e498[_0x1c8ab3(-_0x17ec28._0x311ec8,-_0x17ec28._0x1ded3e,-_0x17ec28._0x4fda26,-_0x17ec28._0x1cec7e)]){const _0xb1c6fd=boundedGrepSnippet(_0x6ce73f[_0x1a606d(0x3da,0x361,0x3e6,_0x17ec28._0x152de8)]),_0x2bf3fa=_0x6ce73f[_0x1a606d(_0x17ec28._0x734d,0x237,_0x17ec28._0x44a25d,_0x17ec28._0x3aa8d2)]?'\x20\x20':'>\x20';_0x2edffb+=_0x2bf3fa+'Line\x20'+_0x6ce73f['lineNum']+':\x20'+_0xb1c6fd+'\x0a';}}_0x2b922e['truncated']&&(_0x2edffb+=_0x1c8ab3(-0x35,_0x17ec28._0x109600,_0x17ec28._0x4149b6,0x1b8));}const _0x3d4841={'searchPath':_0x112a9f[_0x1a606d(_0x17ec28._0x370207,0x3f4,0x26d,0x2ff)](_0x29ca82,_0x151b43)||'.','pattern':_0x1ff5f1['pattern'],'matchCount':_0x2b922e['matchCount'],'fileCount':_0x2b922e[_0x1a606d(_0x17ec28._0x91cfee,_0x17ec28._0x22ae89,0x4f2,_0x17ec28._0x50a4ba)],'truncated':_0x2b922e[_0x1c8ab3(_0x17ec28._0xc7c0cf,0x13d,_0x17ec28._0x55b817,_0x17ec28._0x258bd4)]};return _0x4684d5&&_0x1ff5f1['include']!==void 0x0&&(_0x3d4841['include']=_0x1ff5f1[_0x1a606d(_0x17ec28._0x4bf2a1,0x4d5,0x3cd,0x355)]),yield createToolOutput(_0x2edffb['trim'](),_0x3d4841),void 0x0;}});}function createKillShellTool(_0x28996f){const _0x14cb2d={_0x505ed4:0x7f,_0x8c4ef:0x1,_0x375245:0x28b,_0x566dc0:0x1b3,_0x2155a3:0x54a},_0x41fb71={_0x30564e:0x16b,_0x4d6278:0x32b,_0x319621:0x6e,_0x52ad62:0x48,_0x5115b5:0x4e8,_0x1ff4f2:0x4b1,_0x51c769:0x3f5,_0x1d4e26:0x1b8,_0x30b472:0x23c,_0x3615c9:0x25c,_0x293410:0x27c,_0x5b3932:0x167,_0x1128a1:0x20b,_0x3f8732:0x16a,_0x4c1def:0x329,_0x2948d0:0x562,_0x5374f6:0xbb,_0x23e863:0x121,_0x14005a:0x2e2,_0x231e1d:0x372,_0x40ed63:0x1a5,_0x41f8d3:0xe,_0x53c688:0x7a,_0x547732:0x41,_0x33948d:0x513,_0x3c7466:0x4d7},_0x1baa14={_0x14883a:0x136,_0x5d19c2:0x399},_0x57ab04={_0x28a31c:0x188,_0x10e4b8:0xef},_0x327c8d={_0x3b6d67:0x35};function _0xd917e8(_0x24725e,_0x41c17f,_0x1fc895,_0x46185d){return _0x151cc1(_0x24725e-0xae,_0x46185d-0x5d,_0x41c17f,_0x46185d-_0x327c8d._0x3b6d67);}function _0x1823ca(_0x4d7189,_0x2569ac,_0x2b12d1,_0xb07681){return _0x151cc1(_0x4d7189-_0x57ab04._0x28a31c,_0x2569ac- -0x11d,_0x4d7189,_0xb07681-_0x57ab04._0x10e4b8);}const {registry:_0x430067}=_0x28996f;return defineTool({'name':_0x1823ca(-0x62,0x118,_0x14cb2d._0x505ed4,_0x14cb2d._0x8c4ef),'permissionClass':'always-confirm','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0xd917e8(_0x14cb2d._0x375245,_0x14cb2d._0x566dc0,0x225,0x1c6),'properties':{'shellId':{'type':'string'}},'required':[_0xd917e8(_0x14cb2d._0x2155a3,0x441,0x62c,0x48c)]},async *'execute'(_0x283232){const _0x588e41={_0x56b14b:0x152,_0x106639:0x11a},_0x4910cb=await _0x430067['kill'](_0x283232[_0x2668c2(0xf3,0x154,0x6a,_0x41fb71._0x30564e)]);function _0x2668c2(_0x55cc22,_0x56d689,_0x535b72,_0x1767a0){return _0xd917e8(_0x55cc22-0x94,_0x535b72,_0x535b72-_0x1baa14._0x14883a,_0x55cc22- -_0x1baa14._0x5d19c2);}function _0x43c809(_0x3dfd3d,_0x11768a,_0x341a28,_0x449bdd){return _0xd917e8(_0x3dfd3d-0x3a,_0x3dfd3d,_0x341a28-_0x588e41._0x56b14b,_0x341a28- -_0x588e41._0x106639);}const _0x2b3bd7={'shellId':_0x4910cb[_0x43c809(0x340,0x3a8,0x372,_0x41fb71._0x4d6278)],'outcome':_0x4910cb[_0x2668c2(_0x41fb71._0x319621,0x45,0xae,-_0x41fb71._0x52ad62)],'status':_0x4910cb[_0x43c809(0x33b,_0x41fb71._0x5115b5,0x34b,_0x41fb71._0x1ff4f2)],'exitCode':_0x4910cb[_0x43c809(_0x41fb71._0x51c769,0x1c1,0x360,0x462)],'signal':_0x4910cb[_0x2668c2(-_0x41fb71._0x1d4e26,-0x2a0,-0x2c9,0x16)],'error':_0x4910cb[_0x43c809(0x172,_0x41fb71._0x30b472,0x341,_0x41fb71._0x3615c9)],'gracefulRequested':_0x4910cb[_0x43c809(_0x41fb71._0x293410,0x222,0x2e7,0x301)],'forceRequested':_0x4910cb[_0x43c809(0x269,0x206,_0x41fb71._0x5b3932,_0x41fb71._0x1128a1)]};if(_0x4910cb['outcome']===_0x2668c2(_0x41fb71._0x3f8732,0x8b,0x1a2,0x215))throw new ToolExecutionError(_0x43c809(0x258,_0x41fb71._0x4c1def,0x39c,_0x41fb71._0x2948d0)+_0x283232['shellId']+':\x20'+(_0x4910cb['error']??'unknown\x20termination\x20error'),_0x2b3bd7);const _0x2459aa=_0x4910cb['outcome']===_0x2668c2(-_0x41fb71._0x5374f6,-0x238,-_0x41fb71._0x23e863,-0x175)?'Process\x20'+_0x283232[_0x43c809(0x3bd,_0x41fb71._0x14005a,_0x41fb71._0x231e1d,0x448)]+_0x43c809(0x54,_0x41fb71._0x40ed63,0xf1,_0x41fb71._0x41f8d3)+_0x4910cb[_0x2668c2(0xcc,0x27,-0x67,-0xbf)]+'.':_0x2668c2(-_0x41fb71._0x53c688,-_0x41fb71._0x547732,-0x7b,0x5f)+_0x283232[_0x43c809(_0x41fb71._0x33948d,0x524,0x372,_0x41fb71._0x3c7466)]+'.';return createToolOutput(_0x2459aa,_0x2b3bd7);}});}import{readdir as _0x48e273,readFile as _0x4536a8,stat as _0x3a3658}from'fs/promises';import*as _0x4ff902 from'path';import*as _0xe4772f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x6d911c,_0x238f9b){const _0x55ca43={_0x5ddc86:0x1eb,_0x2ef56e:0x32d,_0xbbefc5:0x2e9,_0x1e4e63:0x2cd,_0x4047a4:0x34e,_0x2bdc08:0x4b6,_0x1bc1c9:0x1ef,_0x1c02aa:0x492,_0xa31309:0x396,_0xbadd34:0x53d,_0x1e34ac:0x6bf,_0x4b5c95:0x5b5,_0x282bab:0x2b8,_0x4bf6a7:0x358,_0x4c4006:0x21f},_0x316533={_0x2d4caa:0xff,_0x9f57df:0x16e},_0x2e056d={_0x4ae33b:0x12e};if(_0x238f9b>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x43727d=await _0x4536a8(_0x6d911c)[_0x325fbc(_0x55ca43._0x5ddc86,_0x55ca43._0x2ef56e,_0x55ca43._0xbbefc5,_0x55ca43._0x1e4e63)](()=>null);function _0x325fbc(_0x4913ea,_0xbf59c,_0x1f205f,_0x36fa42){return _0x151cc1(_0x4913ea-0x39,_0xbf59c- -_0x2e056d._0x4ae33b,_0x4913ea,_0x36fa42-0xff);}if(!_0x43727d||isProbablyBinary(_0x43727d))return void 0x0;function _0x2f2f1a(_0x586176,_0x415391,_0x5ef1c6,_0x13f188){return _0x151cc1(_0x586176-0x1d1,_0x586176-_0x316533._0x2d4caa,_0x13f188,_0x13f188-_0x316533._0x9f57df);}return _0x43727d[_0x2f2f1a(_0x55ca43._0x4047a4,_0x55ca43._0x2bdc08,_0x55ca43._0x1bc1c9,_0x55ca43._0x1c02aa)](_0x325fbc(_0x55ca43._0xa31309,0x3be,0x46e,0x3b9))[_0x2f2f1a(_0x55ca43._0xbadd34,0x38a,_0x55ca43._0x1e34ac,_0x55ca43._0x4b5c95)](/\r?\n/)[_0x325fbc(_0x55ca43._0x282bab,_0x55ca43._0x4bf6a7,0x3f5,_0x55ca43._0x4c4006)];}function createLsTool(_0x5af00b={}){const _0x481b6a={_0x233137:0x43d,_0x345c33:0x478,_0x10aa3f:0x48d,_0x45eaa9:0x55b,_0x287cac:0xc2,_0x5c3811:0x1e,_0x51c7fc:0x80,_0x36fa90:0x601,_0x1d194a:0x566,_0x5cf839:0x61c,_0x40da42:0x81,_0x17d45d:0x233,_0x4d684c:0x252,_0x3cd64c:0xd8,_0x9ba50b:0x3e2,_0x26401f:0x36e,_0x9f4f92:0x1dc,_0x3298ed:0x5e1,_0x2e203a:0x627},_0x50e3e5={_0x3ce785:0x475,_0x238e98:0x29b,_0x5b0913:0x57a,_0x1f7524:0x377,_0x51d2bf:0x2e5,_0x310562:0x275,_0x29e9ad:0x696,_0x3ff44c:0x63d,_0x1f4db1:0x525,_0x502c38:0x232,_0x1472bd:0x286,_0xe5373b:0x192,_0x123391:0x2f1,_0x329bdf:0x3b7,_0x4625fb:0x293,_0x276bc3:0x179,_0x5c590d:0x302,_0xd52c81:0x827,_0x5c194a:0x760,_0x53f96c:0x4fc,_0x62e052:0x189,_0x123e31:0xca,_0x56da80:0x305,_0x4f9a71:0x18e,_0x1b7a3b:0x2ee,_0x42002f:0x543,_0x146383:0x6aa,_0x2afa82:0x52a,_0x7770b1:0x43a,_0x117e78:0x7bf,_0x6c9580:0x71e,_0x13a35a:0x1bf,_0x6f8204:0x3c7,_0x50c369:0x2be,_0x5bbcda:0x342,_0x2b285c:0x2be,_0x4e4252:0x15c,_0xf68781:0x7e,_0x1023d9:0x4e6,_0x3daf83:0x42c,_0xbd54fa:0x343,_0x4bdf3d:0x64c,_0x1ca530:0x768,_0x576112:0x13d,_0x4eeafe:0x2be},_0x38941f={_0x291b3a:0xbb,_0x18e0d2:0x1b3},_0x34c9f5={_0x55b4b1:0x2ea},_0x17aa52={_0x19a55e:0x9a},_0x3791c4={_0x2fed6f:0x15};function _0x494372(_0x34074a,_0x5593c2,_0x135986,_0x1872ab){return _0x1ac42a(_0x34074a-0x145,_0x5593c2-0x73,_0x1872ab- -_0x3791c4._0x2fed6f,_0x5593c2);}const _0x481a99=_0x4ff902[_0xdf5929(_0x481b6a._0x233137,_0x481b6a._0x345c33,_0x481b6a._0x10aa3f,_0x481b6a._0x45eaa9)](_0x5af00b[_0x494372(-0x70,_0x481b6a._0x287cac,-0x10b,_0x481b6a._0x5c3811)]??process[_0x494372(_0x481b6a._0x51c7fc,0x26,0x53,-0xfb)]()),_0x482f64=_0x5af00b[_0xdf5929(_0x481b6a._0x36fa90,_0x481b6a._0x1d194a,_0x481b6a._0x5cf839,0x644)]??[];function _0xdf5929(_0x567f02,_0x158652,_0x5cd5dd,_0x11c457){return _0x1ac42a(_0x567f02-_0x17aa52._0x19a55e,_0x158652-0xb7,_0x567f02-0x49f,_0x5cd5dd);}const _0x3d0e6e=_0x5af00b['name']??'Ls';return defineTool({'name':_0x3d0e6e,'permissionClass':_0x494372(_0x481b6a._0x40da42,_0x481b6a._0x17d45d,_0x481b6a._0x4d684c,_0x481b6a._0x3cd64c),'description':_0xdf5929(0x53e,0x596,_0x481b6a._0x9ba50b,0x4e8),'inputSchema':{'type':_0x494372(-0x378,-0x327,-0x347,-0x229),'properties':{'path':{'type':_0x494372(-0x215,-0x1bb,-_0x481b6a._0x26401f,-_0x481b6a._0x9f4f92)},'limit':{'type':_0xdf5929(_0x481b6a._0x3298ed,0x46e,0x76f,_0x481b6a._0x2e203a)}}},async *'execute'(_0x4492ad){const _0x1ad7f2=_0x4492ad['path']??'.',_0x5a94d0=resolveAllowedPath(_0x481a99,_0x482f64,_0x1ad7f2),_0x44c711=await _0x3a3658(_0x5a94d0)['catch'](()=>null);if(!_0x44c711?.[_0x309518(_0x50e3e5._0x3ce785,0x50c,0x552,0x68e)]())throw new ToolExecutionError(_0x2e92fd(0x183,0x3d6,0x134,_0x50e3e5._0x238e98)+_0x1ad7f2,{'path':_0x1ad7f2});const _0x3bfe91=_0x4492ad[_0x309518(0x3cf,0x459,_0x50e3e5._0x5b0913,_0x50e3e5._0x1f7524)]??0x3e8,_0x46db6f=Math['min'](Math[_0x2e92fd(0x281,_0x50e3e5._0x51d2bf,_0x50e3e5._0x310562,0x246)](Math[_0x309518(_0x50e3e5._0x29e9ad,_0x50e3e5._0x3ff44c,0x482,0x6fd)](_0x3bfe91),0x1),0x2710);function _0x2e92fd(_0xa58268,_0x596334,_0xdc04f8,_0x551cbd){return _0xdf5929(_0x551cbd- -_0x34c9f5._0x55b4b1,_0x596334-0x55,_0xa58268,_0x551cbd-0x1d1);}const _0x4b8879=await _0x48e273(_0x5a94d0),_0x1875a4=[];for(const _0x517f0c of _0x4b8879[_0x309518(0x463,_0x50e3e5._0x1f4db1,0x472,0x522)](0x0,_0x46db6f)){const _0x2ed688=_0x4ff902[_0x2e92fd(_0x50e3e5._0x502c38,_0x50e3e5._0x1472bd,_0x50e3e5._0xe5373b,_0x50e3e5._0x123391)](_0x5a94d0,_0x517f0c),_0x20c96e=await _0x3a3658(_0x2ed688)[_0x2e92fd(0x2ea,0x2de,_0x50e3e5._0x329bdf,_0x50e3e5._0x4625fb)](()=>null);if(!_0x20c96e)continue;let _0x217eca='other';if(_0x20c96e[_0x2e92fd(_0x50e3e5._0x276bc3,0x234,0x399,_0x50e3e5._0x5c590d)]())_0x217eca=_0x309518(_0x50e3e5._0xd52c81,0x67c,_0x50e3e5._0x5c194a,_0x50e3e5._0x53f96c);else{if(_0x20c96e['isDirectory']())_0x217eca='directory';else{if(_0x20c96e['isSymbolicLink']())_0x217eca=_0x2e92fd(0x105,0xb7,0x274,_0x50e3e5._0x62e052);}}const _0x7ba604={'name':_0x517f0c,'type':_0x217eca,'size':_0x20c96e['size'],'mtime':_0x20c96e[_0x2e92fd(-_0x50e3e5._0x123e31,0xa9,0x12d,0xc1)],'mode':_0x20c96e[_0x2e92fd(0x3e8,0x395,0x158,0x21a)]},_0x3ee4d9=_0x217eca===_0x2e92fd(0x1e4,_0x50e3e5._0x56da80,_0x50e3e5._0x4f9a71,_0x50e3e5._0x1b7a3b)?await countTextLines(_0x2ed688,_0x20c96e[_0x309518(_0x50e3e5._0x42002f,_0x50e3e5._0x146383,_0x50e3e5._0x2afa82,0x7ae)]):void 0x0;if(_0x3ee4d9!==void 0x0)_0x7ba604[_0x2e92fd(0x242,0x221,_0x50e3e5._0x7770b1,0x2a3)]=_0x3ee4d9;_0x1875a4['push'](_0x7ba604);}function _0x309518(_0x33db00,_0x4af320,_0x33d0c1,_0x17a35e){return _0x494372(_0x33db00-_0x38941f._0x291b3a,_0x33d0c1,_0x33d0c1-_0x38941f._0x18e0d2,_0x4af320-0x558);}_0x1875a4[_0x309518(_0x50e3e5._0x117e78,0x659,0x780,_0x50e3e5._0x6c9580)]((_0x4565c7,_0x3575fd)=>_0x4565c7[_0x309518(0x771,0x5d5,0x517,0x775)][_0x309518(0x3b0,0x361,0x223,0x403)](_0x3575fd[_0x2e92fd(0x26f,0x10b,0x299,0x247)]));const _0x1e00b2={'path':_0x1ad7f2,'total':_0x1875a4[_0x2e92fd(_0x50e3e5._0x13a35a,_0x50e3e5._0x6f8204,0x12e,_0x50e3e5._0x50c369)],'truncated':_0x4b8879[_0x2e92fd(0x259,_0x50e3e5._0x5bbcda,0x3a5,_0x50e3e5._0x2b285c)]>_0x46db6f,'entries':_0x1875a4};return yield createToolOutput(_0xe4772f[_0x2e92fd(0x204,_0x50e3e5._0x4e4252,_0x50e3e5._0xf68781,0xac)](_0x1e00b2,{'indent':0x2,'lineWidth':0x0})[_0x309518(0x3ad,_0x50e3e5._0x1023d9,_0x50e3e5._0x3daf83,_0x50e3e5._0xbd54fa)](),{'path':_0x1ad7f2,'total':_0x1875a4[_0x309518(0x4b7,_0x50e3e5._0x4bdf3d,0x4dc,_0x50e3e5._0x1ca530)],'truncated':_0x4b8879[_0x2e92fd(0x12b,_0x50e3e5._0x576112,0x265,_0x50e3e5._0x4eeafe)]>_0x46db6f,'limit':_0x46db6f,'entries':_0x1875a4}),void 0x0;}});}import{stat as _0x2780e6}from'fs/promises';import _0x4da47b from'path';import{fileURLToPath as _0x2e2aef}from'url';function awaitWithAbort(_0x372e08,_0x4bb0fb){const _0x467c57={_0x586620:0x40e,_0x4c0c79:0x444,_0x3d83cc:0x3a4,_0x2d97e9:0x4f9,_0x359a70:0x422},_0x113f85={_0x21420a:0x32d,_0x5b91a6:0x33,_0x4ae148:0x1f1,_0x4cbc00:0x17e,_0xe75efc:0x3d3,_0xcac6c:0x388,_0x82bad6:0xf0},_0x5a382a={_0x589ca6:0x23,_0x4a343c:0x147},_0x282ec7={_0x4f6873:0xb9,_0xb3e8e0:0x222};if(!_0x4bb0fb)return _0x372e08;function _0x26d30c(_0xc5d99,_0x303b9b,_0x45ecf6,_0x1052ec){return _0x151cc1(_0xc5d99-_0x282ec7._0x4f6873,_0xc5d99-_0x282ec7._0xb3e8e0,_0x303b9b,_0x1052ec-0x50);}if(_0x4bb0fb[_0x26d30c(_0x467c57._0x586620,0x37a,0x3f5,0x3e7)])return Promise[_0x26d30c(_0x467c57._0x4c0c79,0x44c,_0x467c57._0x3d83cc,_0x467c57._0x2d97e9)](toAbortError(_0x4bb0fb[_0x26d30c(0x4d8,0x3c0,0x651,_0x467c57._0x359a70)]));function _0x4b88ec(_0x44003a,_0x3bcf69,_0xd95ec5,_0x610ce4){return _0x151cc1(_0x44003a-_0x5a382a._0x589ca6,_0xd95ec5- -0x314,_0x44003a,_0x610ce4-_0x5a382a._0x4a343c);}return new Promise((_0x4c3ddc,_0x5e3aa3)=>{const _0x4b0358={_0x5ab389:0xa9,_0x54b625:0x10b},_0x51fef7={_0x370989:0x341,_0x528f94:0x39d},_0xf1a73f=()=>{function _0x172332(_0x4e6cc8,_0x3b7bb7,_0xef1972,_0x3397f1){return _0x5041(_0x4e6cc8- -0x74,_0x3397f1);}_0x53b470(),_0x5e3aa3(toAbortError(_0x4bb0fb[_0x172332(0x1ef,_0x51fef7._0x370989,0x236,_0x51fef7._0x528f94)]));};function _0x568003(_0x4fb6dd,_0xe2a864,_0x5c0d02,_0x4aafa4){return _0x26d30c(_0x4aafa4- -0xc6,_0xe2a864,_0x5c0d02-0x8e,_0x4aafa4-0x168);}const _0x53b470=()=>_0x4bb0fb[_0x16a481(0x1b8,0x309,0x161,0x25b)](_0x16a481(0x2d7,0x30d,0x137,0x17e),_0xf1a73f);_0x4bb0fb[_0x568003(0x2bd,0x540,_0x113f85._0x21420a,0x370)](_0x16a481(_0x113f85._0x5b91a6,0x231,_0x113f85._0x4ae148,_0x113f85._0x4cbc00),_0xf1a73f,{'once':!![]});function _0x16a481(_0x1aa827,_0x4a578e,_0x535a71,_0x5d658e){return _0x4b88ec(_0x535a71,_0x4a578e-_0x4b0358._0x5ab389,_0x5d658e-_0x4b0358._0x54b625,_0x5d658e-0x12d);}_0x372e08[_0x16a481(_0x113f85._0xe75efc,_0x113f85._0xcac6c,_0x113f85._0x82bad6,0x28c)](_0x72faf9=>{_0x53b470(),_0x4c3ddc(_0x72faf9);},_0x50b1f1=>{_0x53b470(),_0x5e3aa3(_0x50b1f1);});});}function severityName(_0x554643){const _0x1165b4={_0x2e9e05:0x3c0,_0x238413:0x532,_0x1c844d:0x76e},_0x23b215={_0xba31e4:0xd0},_0x5d969e={_0x264fca:0x11d,_0x4fa830:0x2d7};function _0x437140(_0x1b50b5,_0x1e8823,_0x4d5537,_0x33f5dc){return _0x151cc1(_0x1b50b5-_0x5d969e._0x264fca,_0x4d5537-_0x5d969e._0x4fa830,_0x1e8823,_0x33f5dc-0x16d);}function _0x2a0858(_0x2449b3,_0x36787b,_0x276365,_0x3ed29f){return _0x151cc1(_0x2449b3-0x34,_0x276365-0x253,_0x36787b,_0x3ed29f-_0x23b215._0xba31e4);}switch(_0x554643){case 0x1:return _0x437140(_0x1165b4._0x2e9e05,0x509,_0x1165b4._0x238413,0x6c9);case 0x2:return _0x2a0858(_0x1165b4._0x1c844d,0x79b,0x727,0x6bc);case 0x3:return _0x437140(0x557,0x54c,0x712,0x6ad);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x50388f){const _0x187982={_0x197b53:0x27a,_0x10424c:0x1df,_0x3af8fe:0x3db,_0x5ee520:0x245,_0x468372:0x382,_0x133219:0x39b,_0x5cdf79:0x1d4,_0x4f18bf:0x23,_0x58a9cb:0x66d,_0x6817a5:0x627,_0x4625de:0x3fd,_0x5d70c7:0x231,_0x1de2b2:0x205,_0x866946:0x157,_0x34f951:0x565,_0x4790e8:0x54a,_0x223a7c:0x3e1,_0x1a4cf6:0x5bf,_0x31e2b5:0x4fc,_0x1b6a73:0x437,_0x2ce6bb:0x27d,_0x433cd2:0x2f7,_0x5f1b36:0x1cb,_0x4839bc:0x2ec,_0x5b40f4:0x47c,_0x1fbdd6:0x2c1,_0x3710ab:0x274},_0x13b061={_0x4b3417:0xf8,_0x46269e:0xb3},_0x28c9ba={_0x30f890:0x7e},_0x19414a=_0x50388f[_0x45d18f(_0x187982._0x197b53,0x337,_0x187982._0x10424c,_0x187982._0x3af8fe)];function _0x5b6f39(_0x51d23b,_0x5e09ab,_0x31db55,_0x2dd97e){return _0x1ac42a(_0x51d23b-0x112,_0x5e09ab-0x14d,_0x51d23b- -_0x28c9ba._0x30f890,_0x2dd97e);}if(typeof _0x19414a===_0x5b6f39(-_0x187982._0x5ee520,-0x303,-_0x187982._0x468372,-_0x187982._0x133219))return _0x19414a;if(Array[_0x5b6f39(-0x1a7,-0x1f0,-_0x187982._0x5cdf79,-_0x187982._0x4f18bf)](_0x19414a))return _0x19414a['map'](_0x2ce4b0=>typeof _0x2ce4b0==='string'?_0x2ce4b0:_0x2ce4b0['value'])['filter'](Boolean)[_0x45d18f(_0x187982._0x58a9cb,0x56c,0x51f,_0x187982._0x6817a5)]('\x0a\x0a');if('kind'in _0x19414a)return _0x19414a[_0x45d18f(_0x187982._0x4625de,_0x187982._0x5d70c7,_0x187982._0x1de2b2,_0x187982._0x866946)];function _0x45d18f(_0x36828e,_0x567bc4,_0x2e454d,_0x468589){return _0x151cc1(_0x36828e-_0x13b061._0x4b3417,_0x567bc4-_0x13b061._0x46269e,_0x468589,_0x468589-0xc8);}return _0x19414a[_0x45d18f(_0x187982._0x34f951,_0x187982._0x4790e8,_0x187982._0x223a7c,_0x187982._0x1a4cf6)]?_0x45d18f(0x37d,0x413,_0x187982._0x31e2b5,_0x187982._0x1b6a73)+_0x19414a['language']+'\x0a'+_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-0x22d,-0x221,-_0x187982._0x433cd2)]+_0x45d18f(_0x187982._0x5f1b36,_0x187982._0x4839bc,_0x187982._0x5b40f4,0x21c):_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-_0x187982._0x1fbdd6,-_0x187982._0x3710ab,-0x2d1)];}function formatHover(_0x1bdcfc){const _0x239b5c={_0x1f80c3:0x650,_0x492ab5:0x562,_0x17d74e:0x212,_0x9fb5f9:0x2c4,_0xc976f7:0x14,_0x577923:0x119,_0x4c1b4f:0x3f,_0x529b6f:0x29e,_0xd07ef8:0xaf},_0x411526={_0x5603f9:0x11b,_0x1087ad:0x6b},_0x582c51={_0x31a544:0xf8};if(_0x1bdcfc[_0xbb1186(0x531,0x5c6,_0x239b5c._0x1f80c3,_0x239b5c._0x492ab5)]===0x0)return _0x44c61e(-_0x239b5c._0x17d74e,-_0x239b5c._0x9fb5f9,-0x342,-0x27e);function _0xbb1186(_0x27f350,_0x2bc050,_0x5c6147,_0x586d6c){return _0x151cc1(_0x27f350-_0x582c51._0x31a544,_0x5c6147-0x1ca,_0x586d6c,_0x586d6c-0x1d);}function _0x44c61e(_0x30f4e8,_0x216042,_0x2c0acc,_0x4a86bc){return _0x1ac42a(_0x30f4e8-0x1dc,_0x216042-_0x411526._0x5603f9,_0x4a86bc- -_0x411526._0x1087ad,_0x2c0acc);}return _0x1bdcfc[_0x44c61e(-_0x239b5c._0xc976f7,_0x239b5c._0x577923,-0x155,_0x239b5c._0x4c1b4f)](formatSingleHover)[_0x44c61e(0x205,_0x239b5c._0x529b6f,-_0x239b5c._0xd07ef8,0xd1)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x21a8db){const _0x591132={_0xd871af:0x4a8,_0x1438fd:0x3dc,_0x5875b5:0x7d,_0x46ed12:0x187},_0x1f0e8b={_0x21e0e2:0x1c0,_0x33d85f:0x1d3},_0x1fa7da={_0x466b2c:0x183,_0x3304b5:0x9b,_0x1889a7:0x7f};function _0x2b5350(_0x5e1491,_0x125aed,_0x251eea,_0x20be19){return _0x151cc1(_0x5e1491-_0x1fa7da._0x466b2c,_0x5e1491-_0x1fa7da._0x3304b5,_0x20be19,_0x20be19-_0x1fa7da._0x1889a7);}if(!_0x21a8db[_0x2b5350(_0x591132._0xd871af,0x30a,_0x591132._0x1438fd,0x3d2)](_0x454d0b(0x10f,-_0x591132._0x5875b5,0x15a,_0x591132._0x46ed12)))return _0x21a8db;function _0x454d0b(_0x52ddfe,_0x51fe81,_0x28de96,_0x18e5d9){return _0x151cc1(_0x52ddfe-_0x1f0e8b._0x21e0e2,_0x52ddfe- -0x253,_0x51fe81,_0x18e5d9-_0x1f0e8b._0x33d85f);}return _0x2e2aef(_0x21a8db);}function formatLocations(_0x455a20){const _0x3cc977={_0x1da4a9:0x446,_0x19fa1f:0x474,_0x3408a9:0x29a,_0x4c046d:0x15b,_0x1db544:0x1b7,_0x58c508:0x1bd,_0x282736:0x10d,_0x91f5cd:0x221,_0x3b35d6:0x40f,_0x4baf52:0x2b3},_0x1ae95f={_0x474c3e:0x425,_0x112ea1:0x36e,_0x532f85:0x279,_0xdef29e:0x35f,_0x1f65cb:0x3ab,_0x1b3613:0x387},_0x2b4967={_0x26dc02:0x8e},_0x475299={_0x48a486:0x1f},_0x3e7d5b={_0x57301f:0x16c,_0x19ef6a:0x1},_0x503d44={_0x5709ad:0x1ad};if(_0x455a20[_0x3fad92(0x31a,_0x3cc977._0x1da4a9,_0x3cc977._0x19fa1f,_0x3cc977._0x3408a9)]===0x0)return _0x245be8(0x328,0x2bb,_0x3cc977._0x4c046d,_0x3cc977._0x1db544);function _0x245be8(_0x3cbbaf,_0x59780e,_0x16db14,_0x36facd){return _0x151cc1(_0x3cbbaf-0x42,_0x36facd- -0x206,_0x59780e,_0x36facd-_0x503d44._0x5709ad);}function _0x3fad92(_0x50761a,_0x13ff32,_0x1ca4ef,_0x1fa52f){return _0x151cc1(_0x50761a-0xdb,_0x50761a- -_0x3e7d5b._0x57301f,_0x13ff32,_0x1fa52f-_0x3e7d5b._0x19ef6a);}return _0x455a20[_0x245be8(_0x3cc977._0x58c508,_0x3cc977._0x282736,0x91,_0x3cc977._0x91f5cd)](_0x54c4d0=>{function _0x437d17(_0x16a886,_0x331464,_0x46deec,_0x4a6a0a){return _0x3fad92(_0x331464-0xf0,_0x46deec,_0x46deec-0xf5,_0x4a6a0a-_0x475299._0x48a486);}const _0x1414bf=_0x54c4d0[_0x437d17(0x349,_0x1ae95f._0x474c3e,_0x1ae95f._0x112ea1,0x3d1)]['start'];function _0x2dba41(_0x13f320,_0x323b94,_0x5c8482,_0x4c8ef4){return _0x245be8(_0x13f320-_0x2b4967._0x26dc02,_0x5c8482,_0x5c8482-0xf5,_0x323b94-0x295);}return locationPath(_0x54c4d0[_0x2dba41(_0x1ae95f._0x532f85,_0x1ae95f._0xdef29e,0x1e9,0x2d0)])+':'+(_0x1414bf[_0x437d17(_0x1ae95f._0x1f65cb,0x358,_0x1ae95f._0x1b3613,0x1f2)]+0x1)+':'+(_0x1414bf[_0x437d17(0x2a1,0x2a0,0x1e3,0x160)]+0x1);})[_0x245be8(0x15d,0x1f0,_0x3cc977._0x3b35d6,_0x3cc977._0x4baf52)]('\x0a');}function isDocumentSymbol(_0x1242e7){const _0x2e4ab5={_0x3c2678:0xc5};function _0x3acc16(_0x4961c0,_0x3f8bf3,_0x227db5,_0x536792){return _0x1ac42a(_0x4961c0-0x15,_0x3f8bf3-0x121,_0x227db5-0x38d,_0x536792);}function _0x4cbb61(_0xf170bf,_0x431133,_0x2441f2,_0x4792c8){return _0x1ac42a(_0xf170bf-0x6c,_0x431133-0x12f,_0x431133- -0x64,_0xf170bf);}return _0x4cbb61(0x17d,0xc0,0x191,0x5f)in _0x1242e7&&_0x4cbb61(-0x1ce,-0xc3,_0x2e4ab5._0x3c2678,-0x11b)in _0x1242e7;}function formatSymbols(_0x35bae1){const _0x571859={_0x62bcf4:0x28f,_0x45b43f:0x338,_0x8d0939:0xba,_0x4644f2:0x12e},_0x27b408={_0x224b78:0x567,_0x43ec64:0x563,_0x24d6e0:0x577,_0x4a6f33:0x3f1,_0x45d1c7:0x396,_0x2cf9fc:0x6fc,_0x21a885:0x618,_0x31983f:0x763,_0x3de862:0x2d7,_0x3c2cbe:0x1b6,_0x1f4b31:0x134,_0x1500c:0x366,_0x207b56:0x78a,_0x54dcda:0xc1,_0x1cc5ea:0x661,_0x4a12b6:0x4d3,_0x18d24f:0xc4,_0x137263:0x764,_0x5a62ee:0x6b8,_0x4837da:0x66b,_0x41ccf4:0x969,_0xdfa931:0x6c8,_0x12507a:0x44e,_0x1e4494:0x8e3,_0x3f2f6d:0x7a0,_0xcb886c:0x74a,_0x14db76:0x61a,_0x251d60:0x67d,_0x24abc6:0x79d,_0xbac8df:0x130,_0x157a93:0x2d2,_0xe8c75:0x13d,_0x140347:0x129,_0x275bed:0x1b5},_0x2b2ba1={_0x3a5e61:0x141};function _0x1fdc74(_0x131dfb,_0x1f7f53,_0x3b63b1,_0x47e1dd){return _0x1ac42a(_0x131dfb-0xcf,_0x1f7f53-_0x2b2ba1._0x3a5e61,_0x1f7f53-0x3fc,_0x131dfb);}function _0x23ecbf(_0x10a01d,_0x4ddea6,_0x492b1a,_0x5a0f79){return _0x151cc1(_0x10a01d-0x1da,_0x492b1a- -0x38b,_0x4ddea6,_0x5a0f79-0xd4);}if(_0x35bae1['length']===0x0)return _0x1fdc74(_0x571859._0x62bcf4,0x22c,0x3d2,_0x571859._0x45b43f);return _0x35bae1['map'](_0x3c8fcf=>{const _0x35408f={_0x3b6afe:0x22a,_0x22467c:0x31,_0x387ec8:0x86};function _0x27b722(_0xce1a51,_0x21d98f,_0x24be47,_0x340495){return _0x1fdc74(_0x24be47,_0x21d98f- -0x45f,_0x24be47-0x65,_0x340495-0x164);}if(isDocumentSymbol(_0x3c8fcf))return _0x3c8fcf['name']+'\x20('+_0x3c8fcf[_0x413e3d(_0x27b408._0x224b78,_0x27b408._0x43ec64,_0x27b408._0x24d6e0,_0x27b408._0x4a6f33)]+_0x413e3d(0x4e8,0x35a,0x503,_0x27b408._0x45d1c7)+(_0x3c8fcf[_0x413e3d(_0x27b408._0x2cf9fc,_0x27b408._0x21a885,0x74a,_0x27b408._0x31983f)][_0x27b722(-_0x27b408._0x3de862,-_0x27b408._0x3c2cbe,-_0x27b408._0x1f4b31,-_0x27b408._0x1500c)][_0x413e3d(0x7f6,0x5f2,0x67d,_0x27b408._0x207b56)]+0x1)+':'+(_0x3c8fcf[_0x27b722(0x8,_0x27b408._0x54dcda,0x238,0x1ac)][_0x413e3d(0x6a2,_0x27b408._0x1cc5ea,_0x27b408._0x4a12b6,0x460)][_0x27b722(-0x13a,-_0x27b408._0x18d24f,-0x1df,-0x51)]+0x1)+']';function _0x413e3d(_0x2b7541,_0x3615c3,_0x1b4623,_0x2ceeae){return _0x1fdc74(_0x2ceeae,_0x1b4623-_0x35408f._0x3b6afe,_0x1b4623-_0x35408f._0x22467c,_0x2ceeae-_0x35408f._0x387ec8);}return _0x3c8fcf[_0x413e3d(_0x27b408._0x137263,0x68c,_0x27b408._0x5a62ee,0x5be)]+'\x20('+_0x3c8fcf['kind']+')\x20'+locationPath(_0x3c8fcf[_0x413e3d(0x818,_0x27b408._0x4837da,0x7a0,_0x27b408._0x41ccf4)][_0x413e3d(0x5f1,_0x27b408._0xdfa931,0x579,_0x27b408._0x12507a)])+':'+(_0x3c8fcf[_0x413e3d(_0x27b408._0x1e4494,0x622,_0x27b408._0x3f2f6d,0x779)][_0x413e3d(0x81f,0x5c5,_0x27b408._0xcb886c,0x794)][_0x413e3d(0x60a,_0x27b408._0x14db76,0x4d3,0x60e)][_0x413e3d(0x536,0x72a,_0x27b408._0x251d60,_0x27b408._0x24abc6)]+0x1)+':'+(_0x3c8fcf[_0x27b722(_0x27b408._0xbac8df,0x117,_0x27b408._0x157a93,0x1a5)][_0x27b722(_0x27b408._0xe8c75,_0x27b408._0x54dcda,0x266,0x262)][_0x27b722(-0x381,-_0x27b408._0x3c2cbe,-_0x27b408._0x140347,-_0x27b408._0x275bed)]['character']+0x1);})[_0x23ecbf(_0x571859._0x8d0939,-0x27,_0x571859._0x4644f2,0x68)]('\x0a');}function formatDiagnostics(_0x33588b){const _0x3b8d96={_0x20efbe:0xb6,_0x3907f8:0xbe,_0x1d615d:0x27,_0x343d9c:0xe9,_0x560262:0xdc,_0x2101ec:0x1ed,_0x2782d1:0x595,_0x4ab998:0x6a0,_0x3fe8e0:0x528,_0x34b81e:0x50f},_0x14308d={_0x18297a:0x38a,_0x1d9731:0x609,_0x2b7218:0x62b,_0x1f0ff7:0x4f9,_0x3579ea:0x673,_0x1de0e7:0x4a6,_0x5cd07a:0x36a,_0x1b4913:0x43a,_0x3c2266:0x4ba},_0x31c24d={_0x1df845:0x53},_0x557610={_0x5dab58:0x4d};if(_0x33588b[_0x1eeb5d(0x262,_0x3b8d96._0x20efbe,_0x3b8d96._0x3907f8,-_0x3b8d96._0x1d615d)]===0x0)return _0x1eeb5d(-_0x3b8d96._0x343d9c,-_0x3b8d96._0x560262,-_0x3b8d96._0x2101ec,-0xea);function _0x22a127(_0x569fb0,_0x97a1be,_0x393bdb,_0x340304){return _0x1ac42a(_0x569fb0-0xb4,_0x97a1be-_0x557610._0x5dab58,_0x340304-0x465,_0x569fb0);}function _0x1eeb5d(_0x547faf,_0x374ddb,_0x37478d,_0x2bf75b){return _0x1ac42a(_0x547faf-0x130,_0x374ddb-0x166,_0x374ddb- -_0x31c24d._0x1df845,_0x547faf);}return _0x33588b[_0x22a127(_0x3b8d96._0x2782d1,_0x3b8d96._0x4ab998,_0x3b8d96._0x3fe8e0,_0x3b8d96._0x34b81e)](_0xa0648d=>{const _0x46fbcd={_0x5ad4eb:0x128},_0x255772={_0x4a5922:0x5ec},_0xba9e4b=_0xa0648d['range'][_0x2db41f(_0x14308d._0x18297a,_0x14308d._0x1d9731,_0x14308d._0x2b7218,_0x14308d._0x1f0ff7)];function _0x393a68(_0x27808e,_0x337c6f,_0x2ed1bf,_0x5d53fb){return _0x1eeb5d(_0x27808e,_0x337c6f-_0x255772._0x4a5922,_0x2ed1bf-0x2a,_0x5d53fb-0x25);}function _0x2db41f(_0x1e5e2c,_0x36da5c,_0x1f2d18,_0x32a1f9){return _0x1eeb5d(_0x1f2d18,_0x32a1f9-0x69f,_0x1f2d18-_0x46fbcd._0x5ad4eb,_0x32a1f9-0x1d8);}return severityName(_0xa0648d[_0x393a68(_0x14308d._0x3579ea,_0x14308d._0x1de0e7,_0x14308d._0x5cd07a,_0x14308d._0x1b4913)])+'\x20['+(_0xba9e4b[_0x393a68(0x68b,0x5f0,0x552,_0x14308d._0x3c2266)]+0x1)+':'+(_0xba9e4b['character']+0x1)+']\x20'+_0xa0648d['message'];})['join']('\x0a');}function formatIncomingCalls(_0xdf48b){const _0x73a901={_0x8f7d89:0x1c4,_0x39db6a:0x38d,_0x419126:0x36f,_0x4fa7ec:0x16a,_0x343152:0x1cd,_0x384a3a:0x1fd,_0x295a47:0x50f,_0x519a8b:0x56c},_0x5357d8={_0xa4eed6:0xbb,_0xd2b31a:0x347},_0x2a7b5f={_0x21545d:0x1,_0x5d7fc9:0x266};if(_0xdf48b[_0x35001f(_0x73a901._0x8f7d89,_0x73a901._0x39db6a,_0x73a901._0x419126,0x2e7)]===0x0)return _0x35001f(_0x73a901._0x4fa7ec,_0x73a901._0x343152,_0x73a901._0x384a3a,0x365);function _0x35001f(_0x28f64a,_0x2b944a,_0x3ac4b9,_0x3d1240){return _0x1ac42a(_0x28f64a-0xd9,_0x2b944a-_0x2a7b5f._0x21545d,_0x3ac4b9-_0x2a7b5f._0x5d7fc9,_0x3d1240);}function _0x234f57(_0x717f98,_0x1d19ab,_0x49b9ee,_0x4e284e){return _0x1ac42a(_0x717f98-0x3a,_0x1d19ab-_0x5357d8._0xa4eed6,_0x4e284e-_0x5357d8._0xd2b31a,_0x1d19ab);}return _0xdf48b['map'](_0x14c706=>_0x14c706['from'][_0x35001f(0x2c0,0x1b5,0x2f8,0x1c8)])[_0x35001f(0x395,_0x73a901._0x295a47,0x3a2,_0x73a901._0x519a8b)]('\x0a');}function formatOutgoingCalls(_0x37198c){const _0x5bac62={_0x1c7e42:0x1f5,_0x22b413:0x1e6,_0x17e9f0:0x68b,_0x496e5d:0x5d4,_0x1778cf:0x856,_0x314d69:0x3a1,_0x50c784:0x2ed},_0x388ff3={_0x47241b:0x65f},_0xba9476={_0x1a97ad:0x116,_0x4ac77c:0x1cc,_0x2a0f11:0x1b1};if(_0x37198c[_0xa556db(_0x5bac62._0x1c7e42,_0x5bac62._0x22b413,0x2ba,0x463)]===0x0)return _0xeb00f4(_0x5bac62._0x17e9f0,0x5f6,0x7a3,0x6cc);function _0xa556db(_0x3ef934,_0x35a31d,_0xfe8ed1,_0xbd79d5){return _0x1ac42a(_0x3ef934-_0xba9476._0x1a97ad,_0x35a31d-_0xba9476._0x4ac77c,_0xfe8ed1-_0xba9476._0x2a0f11,_0x35a31d);}function _0xeb00f4(_0x4b5da7,_0x1b0a7e,_0x416e42,_0x169781){return _0x1ac42a(_0x4b5da7-0xec,_0x1b0a7e-0x1d0,_0x1b0a7e-_0x388ff3._0x47241b,_0x4b5da7);}return _0x37198c[_0xeb00f4(_0x5bac62._0x496e5d,0x709,0x5a3,_0x5bac62._0x1778cf)](_0x1f90cc=>_0x1f90cc['to'][_0xeb00f4(0x77a,0x6f1,0x7f6,0x75d)])[_0xa556db(_0x5bac62._0x314d69,0x258,_0x5bac62._0x50c784,0x12b)]('\x0a');}function toStructured(_0x1dd56e){const _0x2a2fc0={_0x2419a9:0x7d0},_0x5461c6={_0x1c009e:0x100};function _0x5c0d5e(_0x1e402f,_0x4cd7d7,_0x3374e7,_0x4bc0d0){return _0x151cc1(_0x1e402f-_0x5461c6._0x1c009e,_0x4cd7d7-0x377,_0x4bc0d0,_0x4bc0d0-0x1d3);}return JSON[_0x5c0d5e(0x582,0x6e6,0x5bb,_0x2a2fc0._0x2419a9)](JSON['stringify'](_0x1dd56e));}async function assertFile(_0x276795){const _0xa9fc49={_0x2cce8d:0x446,_0x365c2e:0x34f},_0x30c3b6={_0x51b433:0x167};function _0x1c2fe1(_0x43629b,_0x3124aa,_0x153bd8,_0x49d4d2){return _0x151cc1(_0x43629b-_0x30c3b6._0x51b433,_0x3124aa-0x2c1,_0x153bd8,_0x49d4d2-0x1ef);}const _0x2e7235=await _0x2780e6(_0x276795);if(!_0x2e7235['isFile']())throw new ToolExecutionError(_0x1c2fe1(0x399,_0xa9fc49._0x2cce8d,_0xa9fc49._0x365c2e,0x523)+_0x276795,{'path':_0x276795});}function validatePosition(_0xd8a175,_0x565a77){const _0x35f7ae={_0x113945:0x23,_0x3535de:0xfb,_0x52c1b6:0xaa,_0x1f4bed:0x3af,_0x1ccf64:0x33d,_0x14d730:0x4ee},_0x35ee37={_0x7a814f:0x6e,_0x50ef77:0x2b3,_0x3debbf:0xa9},_0xd80419={_0x281f95:0x138,_0x15255f:0x1ab};function _0x29bd43(_0x33d54d,_0x4eeba0,_0xcf5228,_0x23ebb4){return _0x151cc1(_0x33d54d-0x145,_0x23ebb4- -_0xd80419._0x281f95,_0x4eeba0,_0x23ebb4-_0xd80419._0x15255f);}function _0x4d7866(_0x3f9804,_0x49e004,_0x3c78c7,_0x335dc3){return _0x151cc1(_0x3f9804-_0x35ee37._0x7a814f,_0x3c78c7- -_0x35ee37._0x50ef77,_0x49e004,_0x335dc3-_0x35ee37._0x3debbf);}if(!Number['isInteger'](_0xd8a175)||_0xd8a175<0x1)throw new ToolExecutionError(_0x29bd43(0xf2,0x14b,0xdd,0x37),{'line':_0xd8a175});if(!Number[_0x29bd43(0x69,-_0x35f7ae._0x113945,-_0x35f7ae._0x3535de,_0x35f7ae._0x52c1b6)](_0x565a77)||_0x565a77<0x1)throw new ToolExecutionError(_0x29bd43(_0x35f7ae._0x1f4bed,_0x35f7ae._0x1ccf64,_0x35f7ae._0x14d730,0x385),{'character':_0x565a77});}function createLspTool(_0x10b9eb={}){const _0x567940={_0x5df75b:0xf7,_0x1f34b8:0x10f,_0x33b016:0x24,_0x337242:0xe,_0x114018:0x126,_0x455dc5:0x21c,_0x193e91:0xd0,_0x376fd0:0x200,_0x31d458:0xf7,_0x11431c:0x10c,_0x42d461:0xf3,_0xe3ed45:0x1c7,_0x2b33e9:0x12b,_0x11e944:0xb7,_0x592565:0x1b4,_0xde73a0:0x30b,_0x5bd7a0:0x347,_0x2d8b01:0x189,_0x59423f:0x330,_0x31dca0:0x734,_0x41549c:0x605,_0xd3c623:0x5d0,_0x5942c7:0x4c5,_0x3eea95:0x516,_0x5b607f:0x690,_0x1fa8cd:0xad,_0x448cb7:0x1ac,_0x5c00cb:0xa4,_0x27f444:0x170,_0x4d0219:0x39d,_0x47065d:0x55b,_0x4ef2cf:0x97,_0x2e1a49:0xdb,_0x297d80:0x247,_0x271953:0x152,_0x46480a:0x1,_0xfbefdf:0x31d,_0xf79b1a:0x189,_0x4189d8:0x230,_0x52b406:0x2e1,_0x5e3d68:0x2b7,_0x330594:0x177,_0x2e78c9:0x290,_0x195fe3:0x1e9,_0x1ab632:0x23,_0x2cff9c:0x8c},_0x59a2de={_0x2e3e08:0x5a1,_0x54bd24:0x57f,_0x5ead0:0x42f,_0x4d8694:0x58b,_0x45e225:0x53b,_0x42e914:0x745,_0x1adcf5:0x3b6,_0x3f5fbf:0x468,_0x951476:0x555,_0x3c1090:0x632,_0x4e2843:0x4dc,_0x1801dc:0x448,_0x395914:0x62b,_0x1556ba:0x680,_0x1f39b5:0x465,_0x304ed5:0x3ba,_0x33f39d:0x462,_0x2f5257:0x580,_0x2777e2:0x549,_0x4c912d:0x5b7,_0x40fd95:0x48e,_0x502c87:0x4db,_0x2fdfde:0x390,_0x3b6aae:0x235,_0x108c87:0x34a,_0x3807a7:0x46c,_0x4c4ce0:0x38b,_0x119ff5:0x5f1,_0x5b56e6:0x4d7,_0x5b74ab:0x2e5,_0x2654b3:0x219,_0x16fbae:0x291,_0x4f674c:0x2cd,_0x36dd56:0x49e,_0x5bb7ca:0x2ff,_0x45e716:0x310,_0x5f22b1:0x2db,_0x31125e:0x483,_0x48b39d:0x4c0,_0x19f4ea:0x278,_0x2b2be3:0x43f,_0x48bedf:0x69d,_0x1259fe:0x59a,_0x4c0ab5:0x658,_0x1aa40c:0x203,_0x3afd62:0x308,_0x218068:0x38d,_0x373532:0x22e,_0x5800c4:0x352,_0x297524:0x542,_0x51921b:0xd6,_0x1e1e14:0xca,_0xe8aef9:0x2a2,_0x37f942:0x203,_0x585b75:0x563,_0xd18bfb:0x3ed,_0x42107a:0x34e,_0x23c419:0x5e4,_0x5dbb19:0x548,_0x263071:0x494,_0x43c238:0x621,_0x4c571f:0x4ca,_0x42d953:0x4f0,_0x4eab60:0x390,_0x13a021:0x4fa,_0x4c40fc:0x426,_0x2feae9:0x484,_0x137af3:0x1c1,_0x531faa:0x390,_0x15de43:0x41c,_0x1e013f:0x13c,_0x36b80e:0x2e3,_0x3ddace:0x396,_0x3da38a:0x531,_0x2a3470:0x28c,_0x2e44c3:0x3f9,_0x27a663:0x3c6,_0x24d7fb:0x427,_0x59215d:0x2e8},_0x1c6d28={_0x3be661:0x10b,_0x21c28e:0xd1},_0x67e23e={_0x9848b0:0x2f,_0x3954dd:0x104,_0x10b7d1:0x47e},_0x1127d4={_0x41b8b0:0x75,_0x415832:0x3e},_0x28fa1e=_0x4da47b[_0x39c201(-_0x567940._0x5df75b,-_0x567940._0x1f34b8,-_0x567940._0x33b016,0xe0)](_0x10b9eb[_0x39c201(0x221,_0x567940._0x337242,0x71,-_0x567940._0x114018)]??process['cwd']());function _0x39c201(_0x529bc8,_0x1ce4a9,_0x3867fa,_0x5201e6){return _0x1ac42a(_0x529bc8-_0x1127d4._0x41b8b0,_0x1ce4a9-0xd2,_0x3867fa-_0x1127d4._0x415832,_0x5201e6);}const _0xe3d6c3=_0x10b9eb[_0x39c201(0xa,0x82,0x1a0,0xaf)]??[],_0x5babb4=_0x10b9eb[_0x39c201(_0x567940._0x455dc5,0x13,_0x567940._0x193e91,-0x16)]??_0x39c201(_0x567940._0x376fd0,_0x567940._0x31d458,_0x567940._0x11431c,_0x567940._0x42d461);function _0x22550a(_0x1b1f8f,_0x301945,_0x1efe05,_0x4df721){return _0x1ac42a(_0x1b1f8f-_0x67e23e._0x9848b0,_0x301945-_0x67e23e._0x3954dd,_0x301945-_0x67e23e._0x10b7d1,_0x4df721);}return defineTool({'name':_0x5babb4,'permissionClass':_0x39c201(_0x567940._0xe3ed45,0x101,_0x567940._0x2b33e9,0x2d4),'description':_0x39c201(-0x1b8,_0x567940._0x11e944,-0x18,_0x567940._0x592565),'inputSchema':{'type':_0x39c201(-0x2ac,-_0x567940._0xde73a0,-0x1d6,-_0x567940._0x5bd7a0),'properties':{'operation':{'type':_0x39c201(-0x272,-0x29d,-_0x567940._0x2d8b01,-_0x567940._0x59423f),'enum':[_0x22550a(_0x567940._0x31dca0,_0x567940._0x41549c,_0x567940._0xd3c623,_0x567940._0x5942c7),'findReferences','hover',_0x22550a(0x4a6,_0x567940._0x3eea95,_0x567940._0x5b607f,0x433),_0x39c201(_0x567940._0x1fa8cd,_0x567940._0x448cb7,_0x567940._0x5c00cb,_0x567940._0x27f444),_0x22550a(0x143,0x2e2,0x16d,0x172),_0x22550a(_0x567940._0x4d0219,0x4a8,0x4b6,_0x567940._0x47065d),_0x39c201(_0x567940._0x4ef2cf,0xa5,-_0x567940._0x2e1a49,-0x15d),_0x39c201(-0xed,-_0x567940._0x297d80,-_0x567940._0x271953,-_0x567940._0x46480a),'diagnostics']},'filePath':{'type':_0x39c201(-_0x567940._0xfbefdf,-0x1b1,-_0x567940._0xf79b1a,-0x54)},'line':{'type':_0x39c201(_0x567940._0x4189d8,-0x2b,0x180,0x4c)},'character':{'type':_0x39c201(0x2bc,_0x567940._0x52b406,0x180,0x212)},'query':{'type':_0x22550a(0x258,_0x567940._0x5e3d68,0x3de,_0x567940._0x330594)}},'required':['operation',_0x22550a(_0x567940._0x2e78c9,0x3cc,0x555,0x429),_0x22550a(0x4f5,0x4d5,0x418,0x39b),_0x39c201(-_0x567940._0x195fe3,0x7e,-_0x567940._0x1ab632,_0x567940._0x2cff9c)]},async *'execute'(_0x10aab1,_0x5ba385){const _0x2b7a52={_0x40df92:0x9,_0x4521a7:0x139,_0x3aaeaf:0x3be},_0x66bc69=_0x10b9eb['lspService'];if(!_0x66bc69)throw new ToolExecutionError(_0x3a2c4d(0x72f,0x47d,_0x59a2de._0x2e3e08,0x566));if(!_0x66bc69[_0x4c7be0(_0x59a2de._0x54bd24,_0x59a2de._0x5ead0,0x629,0x53a)]())throw new ToolExecutionError(_0x4c7be0(0x5bc,_0x59a2de._0x4d8694,0x526,_0x59a2de._0x45e225));const _0x762505=_0x10aab1['operation'];validatePosition(_0x10aab1[_0x4c7be0(0x5fe,_0x59a2de._0x42e914,0x581,0x5e0)],_0x10aab1[_0x3a2c4d(0x2a0,_0x59a2de._0x1adcf5,0x42c,0x39b)]);if(_0x762505===_0x3a2c4d(0x52b,_0x59a2de._0x3f5fbf,0x530,0x462)){if(!_0x10aab1[_0x3a2c4d(0x5fd,_0x59a2de._0x951476,_0x59a2de._0x3c1090,_0x59a2de._0x4e2843)]?.[_0x3a2c4d(0x460,_0x59a2de._0x1801dc,0x5a7,0x4ac)]())throw new ToolExecutionError(_0x4c7be0(_0x59a2de._0x395914,0x579,_0x59a2de._0x1556ba,0x6bb));const _0x336f3a=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0x1f39b5,_0x59a2de._0x304ed5,0x2f4,_0x59a2de._0x33f39d)](_0x10aab1[_0x4c7be0(0x740,_0x59a2de._0x2f5257,0x5f0,0x669)][_0x4c7be0(0x6ab,_0x59a2de._0x2777e2,_0x59a2de._0x4c912d,0x639)]()),_0x5ba385[_0x4c7be0(0x2b2,_0x59a2de._0x40fd95,_0x59a2de._0x502c87,_0x59a2de._0x2fdfde)]);return yield createToolOutput(formatSymbols(_0x336f3a),{'operation':_0x762505,'query':_0x10aab1['query'],'symbols':_0x336f3a}),void 0x0;}function _0x4c7be0(_0x2fda90,_0x1498f0,_0x494f1a,_0xb34de3){return _0x22550a(_0x2fda90-0x1d0,_0xb34de3-_0x1c6d28._0x3be661,_0x494f1a-_0x1c6d28._0x21c28e,_0x1498f0);}const _0x12c9e3=resolveAllowedPath(_0x28fa1e,_0xe3d6c3,_0x10aab1[_0x3a2c4d(0x471,0x2c4,_0x59a2de._0x3b6aae,_0x59a2de._0x108c87)]);await assertFile(_0x12c9e3);function _0x3a2c4d(_0x2f9f44,_0x28f366,_0x422556,_0x57a08c){return _0x39c201(_0x2f9f44-_0x2b7a52._0x40df92,_0x28f366-_0x2b7a52._0x4521a7,_0x57a08c-_0x2b7a52._0x3aaeaf,_0x2f9f44);}if(!await awaitWithAbort(_0x66bc69[_0x3a2c4d(0x433,_0x59a2de._0x3807a7,_0x59a2de._0x4c4ce0,0x532)](_0x12c9e3),_0x5ba385['signal']))throw new ToolExecutionError(_0x4c7be0(0x6c8,0x3e8,_0x59a2de._0x119ff5,0x542)+_0x10aab1[_0x4c7be0(0x403,0x30e,0x4c2,_0x59a2de._0x5b56e6)],{'filePath':_0x10aab1[_0x3a2c4d(_0x59a2de._0x5b74ab,_0x59a2de._0x2654b3,_0x59a2de._0x16fbae,0x34a)]});await awaitWithAbort(_0x66bc69['touchFile'](_0x12c9e3,!![]),_0x5ba385['signal']);const _0x6ca9a9={'file':_0x12c9e3,'line':_0x10aab1['line']-0x1,'character':_0x10aab1[_0x3a2c4d(0x487,_0x59a2de._0x3b6aae,0x42e,0x39b)]-0x1};switch(_0x762505){case'hover':{const _0x23c043=await awaitWithAbort(_0x66bc69['hover'](_0x6ca9a9),_0x5ba385['signal']);return yield createToolOutput(formatHover(_0x23c043),{'operation':_0x762505,'filePath':_0x12c9e3,'hover':_0x23c043}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x4f674c,0x1e2,_0x59a2de._0x36dd56,0x39e):{const _0xb9c5b0=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5bb7ca,_0x59a2de._0x45e716,_0x59a2de._0x5f22b1,_0x59a2de._0x31125e)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x48b39d,_0x59a2de._0x19f4ea,0x2ed,0x390)]);return yield createToolOutput(formatDiagnostics(_0xb9c5b0),{'operation':_0x762505,'filePath':_0x12c9e3,'diagnostics':_0xb9c5b0}),void 0x0;}case _0x3a2c4d(0x6c4,_0x59a2de._0x2b2be3,0x6f3,0x583):{const _0x2d98a1=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x48bedf,0x74b,_0x59a2de._0x1259fe,_0x59a2de._0x4c0ab5)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x1aa40c,_0x59a2de._0x3afd62,_0x59a2de._0x218068,0x390)]);return yield createToolOutput(formatLocations(_0x2d98a1),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x2d98a1}),void 0x0;}case _0x4c7be0(0x2a4,0x52a,_0x59a2de._0x373532,0x3d6):{const _0x7533ba=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5800c4,0x31c,_0x59a2de._0x297524,0x379)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x51921b,_0x59a2de._0x1e1e14,_0x59a2de._0xe8aef9,_0x59a2de._0x37f942)]);return yield createToolOutput(formatLocations(_0x7533ba),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x7533ba}),void 0x0;}case _0x4c7be0(0x450,_0x59a2de._0x585b75,0x47c,_0x59a2de._0xd18bfb):{const _0x1bfab8=await awaitWithAbort(_0x66bc69['implementation'](_0x6ca9a9),_0x5ba385[_0x4c7be0(0x339,_0x59a2de._0x42107a,0x4d7,0x390)]);return yield createToolOutput(formatLocations(_0x1bfab8),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x1bfab8}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x23c419,0x433,_0x59a2de._0x5dbb19,_0x59a2de._0x263071):{const _0x44d48a=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x679,0x45c,0x70a,_0x59a2de._0x43c238)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x4c571f,_0x59a2de._0x42d953,0x32f,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatSymbols(_0x44d48a),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':_0x44d48a}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x13a021,0x4d7,0x444,_0x59a2de._0x4c40fc):{const _0x4feba8=await awaitWithAbort(_0x66bc69['prepareCallHierarchy'](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x2feae9,0x212,_0x59a2de._0x137af3,_0x59a2de._0x531faa)]);return yield createToolOutput(formatSymbols(_0x4feba8),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':toStructured(_0x4feba8)}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x15de43,0x3d4,0x1f0,0x2e3):{const _0x16eadd=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0xe8aef9,0x149,_0x59a2de._0x1e013f,_0x59a2de._0x36b80e)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x3ddace,0x1fc,_0x59a2de._0x3da38a,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatIncomingCalls(_0x16eadd),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x16eadd)}),void 0x0;}case _0x4c7be0(_0x59a2de._0x2a3470,0x514,0x44d,_0x59a2de._0x2e44c3):{const _0x2c5fd4=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x25a,_0x59a2de._0x27a663,_0x59a2de._0x24d7fb,_0x59a2de._0x2e44c3)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x59215d,0x338,0x6f,0x203)]);return yield createToolOutput(formatOutgoingCalls(_0x2c5fd4),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x2c5fd4)}),void 0x0;}}}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0xc61b02}from'crypto';import{mkdir as _0x1c3e93,readFile as _0x2cdeca,writeFile as _0x3e0ce7}from'fs/promises';import{join as _0x2b467d}from'path';function sanitizeStorageKey(_0x524632){const _0x44e9c5={_0x4cd9ad:0x3ad,_0x21065f:0x2c9,_0xba2508:0x43b,_0x2121e5:0x3c3};function _0x426aea(_0xbe8b0a,_0x3128ff,_0x386a95,_0x2b0bdf){return _0x151cc1(_0xbe8b0a-0x100,_0x386a95-0x1c3,_0x2b0bdf,_0x2b0bdf-0x104);}function _0x19a799(_0x40339c,_0x585caa,_0x2833f0,_0x5747ae){return _0x1ac42a(_0x40339c-0x116,_0x585caa-0x11b,_0x585caa-0x50b,_0x40339c);}return _0x524632[_0x426aea(0x3d8,_0x44e9c5._0x4cd9ad,0x394,_0x44e9c5._0x21065f)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x426aea(0x379,_0x44e9c5._0xba2508,0x48d,_0x44e9c5._0x2121e5);}function storagePath(_0xdd1f89){const _0x1aaf0f={_0x3c994a:0xaf,_0x279a6:0x5e,_0x9298c1:0x3e,_0x2f2493:0x6c,_0x24cb57:0x1d2,_0x1a0fcf:0x14,_0x25eff9:0x1ce,_0x59c93b:0x21c,_0x16ea15:0x310,_0x5ae66b:0x1d1,_0x5979b:0xd2,_0x32617a:0x27,_0x34ab42:0x163,_0x3566a5:0x148},_0x358d6c={_0x589711:0x46,_0x4d1136:0xcc},_0x317a60={_0x394b31:0x58,_0x1ca43a:0x154,_0x3d707c:0x47};function _0x1bc44a(_0x39b7d0,_0x5acf97,_0x15e234,_0x32d45d){return _0x1ac42a(_0x39b7d0-_0x317a60._0x394b31,_0x5acf97-_0x317a60._0x1ca43a,_0x32d45d- -_0x317a60._0x3d707c,_0x5acf97);}function _0x3350a5(_0x58d6cd,_0x783b29,_0x3e582d,_0x3be47d){return _0x1ac42a(_0x58d6cd-_0x358d6c._0x589711,_0x783b29-_0x358d6c._0x4d1136,_0x783b29- -0x7a,_0x3be47d);}const _0x203292=sanitizeStorageKey(_0xdd1f89[_0x3350a5(_0x1aaf0f._0x3c994a,_0x1aaf0f._0x279a6,-_0x1aaf0f._0x9298c1,0x176)]['oauth']?.[_0x1bc44a(_0x1aaf0f._0x2f2493,-_0x1aaf0f._0x24cb57,_0x1aaf0f._0x1a0fcf,-0x12)]??_0xdd1f89[_0x3350a5(-_0x1aaf0f._0x25eff9,-0x23f,-0x3ca,-0x172)]);return _0x2b467d(_0xdd1f89[_0x3350a5(-0x2e9,-_0x1aaf0f._0x59c93b,-_0x1aaf0f._0x16ea15,-_0x1aaf0f._0x5ae66b)],_0x203292+_0x3350a5(_0x1aaf0f._0x5979b,-_0x1aaf0f._0x32617a,-_0x1aaf0f._0x34ab42,_0x1aaf0f._0x3566a5));}async function readStore(_0x10bf49){const _0x4ec727={_0x36c1a3:0x402,_0x5b106c:0x355,_0x198f4b:0x5a1,_0x47d040:0x456,_0x31350a:0x531,_0x3017af:0x556,_0x31b97d:0x3c6,_0x5999a3:0x549},_0x19da72={_0xc01b0:0x15c,_0x19dbbf:0x194},_0x97fdda={_0x26ddcc:0x71,_0xfae974:0x91};function _0x398d9c(_0x439082,_0x5e8331,_0x51b405,_0x4c09b7){return _0x151cc1(_0x439082-0x60,_0x439082- -_0x97fdda._0x26ddcc,_0x51b405,_0x4c09b7-_0x97fdda._0xfae974);}function _0x293388(_0xe10b0d,_0x34af29,_0x1fcbf5,_0x1476cc){return _0x151cc1(_0xe10b0d-_0x19da72._0xc01b0,_0xe10b0d- -0xea,_0x1fcbf5,_0x1476cc-_0x19da72._0x19dbbf);}try{return JSON['parse'](await _0x2cdeca(_0x10bf49,_0x293388(_0x4ec727._0x36c1a3,0x48e,_0x4ec727._0x5b106c,_0x4ec727._0x198f4b)));}catch(_0x48527c){if(_0x48527c instanceof Error&&_0x398d9c(0x40b,_0x4ec727._0x47d040,_0x4ec727._0x31350a,0x5d4)in _0x48527c&&_0x48527c[_0x293388(0x392,0x521,0x37e,0x517)]===_0x398d9c(0x432,_0x4ec727._0x3017af,_0x4ec727._0x31b97d,_0x4ec727._0x5999a3))return{};throw _0x48527c;}}async function writeStore(_0x528ca5,_0x2ba7d6){const _0x34e404={_0x3cee63:0x830,_0x3a8d10:0x931},_0x3b0768={_0x5fd6f1:0x6c,_0x34d160:0x6c1};await _0x1c3e93(_0x2b467d(_0x528ca5,'..'),{'recursive':!![]});function _0x4cdd5a(_0x3eb9db,_0x49c82a,_0x3f8ff4,_0x126fc2){return _0x1ac42a(_0x3eb9db-0x15a,_0x49c82a-_0x3b0768._0x5fd6f1,_0x3f8ff4-_0x3b0768._0x34d160,_0x3eb9db);}await _0x3e0ce7(_0x528ca5,JSON['stringify'](_0x2ba7d6,null,0x2),_0x4cdd5a(0x97a,0x908,_0x34e404._0x3cee63,_0x34e404._0x3a8d10));}async function updateStore(_0x5887c4,_0x157da2){const _0x22706d=await readStore(_0x5887c4);_0x157da2(_0x22706d),await writeStore(_0x5887c4,_0x22706d);}function createMcpOAuthProvider(_0x4308fb){const _0x24a735={_0x5ee2ab:0x1f1,_0x53772b:0x14f,_0x229fef:0x247,_0x5c9f8e:0x64f,_0x187366:0x566,_0x40e9f3:0x2c,_0x1a7fd0:0x703,_0x7b575a:0x739,_0x1bce02:0x75c,_0x4d942:0x84b,_0x304390:0x143,_0x23e2f5:0x293,_0x2abda9:0xfb,_0x37d180:0x45f,_0x4338e5:0x299,_0x1bd490:0x228},_0x319fb4={_0x5eec84:0x1b3,_0x305c58:0x258,_0x885371:0x315},_0xb5c413={_0x5ba3be:0x2bd,_0x358e05:0x2c1,_0x120c32:0x180},_0x1930ca={_0x3ceeae:0xd0,_0x18f639:0x8,_0x2f0c02:0x7f,_0x5d93a6:0x201,_0x3ca6dd:0xd7,_0x290ce3:0xd0,_0x238b9e:0x1c,_0x63b4cd:0x6d,_0x4eb04f:0x1e0,_0x4e3e13:0x128},_0x2a374d={_0x3ec32b:0x39f,_0x2a36b2:0xc6,_0x18094b:0x25c,_0x38522a:0x1f5,_0x210f93:0x3cb,_0x45db3d:0x350,_0x2d2a9f:0x3d9},_0xa8f994={_0x14a0b7:0x138,_0x4225a5:0x9c},_0x30dcfa={_0x29d7eb:0xe6,_0x3a456e:0x29,_0x4e028d:0x71},_0x1a58e4={_0x51c4fc:0x599},_0x1d647e={_0x3d657a:0x61d},_0x4f4da6={_0x34493f:0x62e,_0x2bb7dd:0x434},_0x4b9201={_0x2b3989:0x4e2,_0x2ff48d:0x33b},_0x549775={_0xca6822:0x647,_0x601d92:0x4a6,_0x352c54:0x747,_0x135a10:0x33c,_0x1ff4fd:0x6a9},_0x468526={_0x1abc24:0x217,_0x26cb02:0x19f},_0x1d62d7={_0x14fa47:0x1b0,_0x5e4fea:0x24a,_0x1d9375:0x190},_0x3509b6={_0x3955f6:0x2c,_0x46259e:0x115};function _0x1229a6(_0x29a2d4,_0x422c2c,_0x1014e0,_0x2d6333){return _0x151cc1(_0x29a2d4-_0x3509b6._0x3955f6,_0x2d6333- -0x20e,_0x29a2d4,_0x2d6333-_0x3509b6._0x46259e);}const _0x59f6c7=storagePath(_0x4308fb);function _0x5264bb(_0x4a7472,_0x518f23,_0x5ddea0,_0x3ac73c){return _0x151cc1(_0x4a7472-_0x1d62d7._0x14fa47,_0x4a7472-_0x1d62d7._0x5e4fea,_0x5ddea0,_0x3ac73c-_0x1d62d7._0x1d9375);}const _0xf975d0=_0x4308fb[_0x1229a6(_0x24a735._0x5ee2ab,0x1fd,_0x24a735._0x53772b,_0x24a735._0x229fef)][_0x5264bb(_0x24a735._0x5c9f8e,0x72a,0x624,_0x24a735._0x187366)]?.[_0x1229a6(0xab,_0x24a735._0x40e9f3,0x39,0xdc)]?.[_0x5264bb(_0x24a735._0x1a7fd0,_0x24a735._0x7b575a,_0x24a735._0x1bce02,_0x24a735._0x4d942)]('\x20'),_0x4144ae={'client_name':_0x1229a6(_0x24a735._0x304390,_0x24a735._0x23e2f5,0x208,_0x24a735._0x2abda9),'redirect_uris':[_0x4308fb['callbackUrl']],'grant_types':[_0x5264bb(_0x24a735._0x37d180,0x372,0x32a,0x324),_0x5264bb(0x71f,0x8a0,0x74c,0x67d)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0xf975d0?{'scope':_0xf975d0}:{}};return{'clientMetadataUrl':_0x4308fb[_0x1229a6(_0x24a735._0x4338e5,0x1a8,_0x24a735._0x1bd490,0x247)]['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){const _0x2cf43a={_0x11e7e2:0x346};function _0x4e64bd(_0x558568,_0x1d9eeb,_0x3db689,_0x93709f){return _0x5264bb(_0x1d9eeb- -_0x2cf43a._0x11e7e2,_0x1d9eeb-0x197,_0x558568,_0x93709f-0x8e);}return _0x4308fb[_0x4e64bd(_0x468526._0x1abc24,_0x468526._0x26cb02,0x263,0x10f)];},get 'clientMetadata'(){return _0x4144ae;},async 'state'(){const _0x430b72={_0x5e7a94:0x558,_0x94c45c:0x512,_0x543bc0:0x4b8},_0x1e23c1={_0x5801c5:0x1b7},_0x1a03ef={_0xda587d:0x155},_0x4bfcbb={_0xad5db3:0x10f,_0x108348:0x3b6},_0x5a5dfc=await readStore(_0x59f6c7);if(_0x5a5dfc[_0x2f0c92(_0x549775._0xca6822,0x71f,_0x549775._0x601d92,_0x549775._0x352c54)])return _0x5a5dfc[_0x27d775(0x4e1,_0x549775._0x135a10,_0x549775._0x1ff4fd,0x52f)];function _0x27d775(_0x21891f,_0x5b7d61,_0x34502a,_0x2650cc){return _0x1229a6(_0x2650cc,_0x5b7d61-0x4d,_0x34502a-_0x4bfcbb._0xad5db3,_0x21891f-_0x4bfcbb._0x108348);}const _0x44ee78=_0xc61b02();function _0x2f0c92(_0x4e7325,_0x1d50c5,_0x424863,_0x43f2d9){return _0x5264bb(_0x4e7325-0xc4,_0x1d50c5-0xfb,_0x424863,_0x43f2d9-_0x1a03ef._0xda587d);}return await updateStore(_0x59f6c7,_0x4fc742=>{function _0x4693eb(_0x1e552f,_0x587ab9,_0x463d7f,_0x596a8d){return _0x2f0c92(_0x1e552f- -0xef,_0x587ab9-0xab,_0x463d7f,_0x596a8d-_0x1e23c1._0x5801c5);}_0x4fc742[_0x4693eb(_0x430b72._0x5e7a94,_0x430b72._0x94c45c,_0x430b72._0x543bc0,0x669)]=_0x44ee78;}),_0x44ee78;},async 'clientInformation'(){function _0x4e0e8f(_0x3f9554,_0x4944f3,_0x17336c,_0x598d7e){return _0x5264bb(_0x3f9554- -0x3f,_0x4944f3-0x2a,_0x17336c,_0x598d7e-0x1e0);}return(await readStore(_0x59f6c7))[_0x4e0e8f(0x3d8,_0x4b9201._0x2b3989,_0x4b9201._0x2ff48d,0x48d)];},async 'saveClientInformation'(_0x2514f4){await updateStore(_0x59f6c7,_0x465557=>{const _0x6f6c15={_0x3747f6:0x2f7};function _0x36357c(_0x3e8f64,_0x54a8b7,_0xfb6bcc,_0x772c8){return _0x5041(_0x54a8b7-_0x6f6c15._0x3747f6,_0x3e8f64);}_0x465557[_0x36357c(_0x4f4da6._0x34493f,0x471,0x531,_0x4f4da6._0x2bb7dd)]=_0x2514f4;});},async 'tokens'(){const _0xa8fb27={_0x112ce4:0x41f};function _0x2cc820(_0x3f09a3,_0x2bd61d,_0x221bf2,_0x33ed0){return _0x1229a6(_0x2bd61d,_0x2bd61d-0x109,_0x221bf2-0x180,_0x221bf2-_0xa8fb27._0x112ce4);}return(await readStore(_0x59f6c7))[_0x2cc820(0x4f3,0x511,_0x1d647e._0x3d657a,0x682)];},async 'saveTokens'(_0x45d6b6){await updateStore(_0x59f6c7,_0x44094c=>{_0x44094c['tokens']=_0x45d6b6;});},async 'redirectToAuthorization'(_0x5b4daf){function _0x49eca7(_0x5c9147,_0x1a4974,_0x4418eb,_0x56547f){return _0x5264bb(_0x5c9147- -_0x1a58e4._0x51c4fc,_0x1a4974-0x16d,_0x1a4974,_0x56547f-0x199);}await _0x4308fb[_0x49eca7(_0x30dcfa._0x29d7eb,_0x30dcfa._0x3a456e,_0x30dcfa._0x4e028d,0x143)](_0x5b4daf);},async 'saveCodeVerifier'(_0x35f12c){await updateStore(_0x59f6c7,_0x2f1aae=>{_0x2f1aae['codeVerifier']=_0x35f12c;});},async 'codeVerifier'(){const _0x50e177={_0x4cde07:0x1db},_0x5ec801=(await readStore(_0x59f6c7))[_0x5bf48c(_0x2a374d._0x3ec32b,_0x2a374d._0x2a36b2,_0x2a374d._0x18094b,_0x2a374d._0x38522a)];function _0x5bf48c(_0xb7b7a4,_0x589a3b,_0x45ffc8,_0x25d68c){return _0x1229a6(_0x589a3b,_0x589a3b-0x167,_0x45ffc8-0x1c8,_0x45ffc8-_0x50e177._0x4cde07);}function _0x23d112(_0x250822,_0xee2028,_0x4c54cd,_0x4199aa){return _0x1229a6(_0x250822,_0xee2028-_0xa8f994._0x14a0b7,_0x4c54cd-_0xa8f994._0x4225a5,_0xee2028-0x2cb);}if(!_0x5ec801)throw new Error(_0x5bf48c(_0x2a374d._0x210f93,0x3c4,_0x2a374d._0x45db3d,_0x2a374d._0x2d2a9f));return _0x5ec801;},async 'invalidateCredentials'(_0x219a3a){const _0x2b9af9={_0x4188c1:0xd7};await updateStore(_0x59f6c7,_0x3362d7=>{const _0x3a5e3f={_0x2fece7:0x2cf};function _0x3c782e(_0x4f47bc,_0x5a28de,_0x17594a,_0x1a35ba){return _0x5041(_0x1a35ba- -_0x2b9af9._0x4188c1,_0x5a28de);}(_0x219a3a===_0x2024eb(-0x192,-_0x1930ca._0x3ceeae,-0x155,_0x1930ca._0x18f639)||_0x219a3a===_0x2024eb(0x2f,-_0x1930ca._0x2f0c02,-0xe2,-_0x1930ca._0x5d93a6))&&(_0x3362d7['clientInformation']=void 0x0);(_0x219a3a===_0x2024eb(-_0x1930ca._0x3ca6dd,-_0x1930ca._0x290ce3,-0x12c,_0x1930ca._0x238b9e)||_0x219a3a==='tokens')&&(_0x3362d7['tokens']=void 0x0);function _0x2024eb(_0x349f4d,_0x36fb39,_0x36890a,_0x566fab){return _0x5041(_0x36fb39- -_0x3a5e3f._0x2fece7,_0x349f4d);}(_0x219a3a==='all'||_0x219a3a===_0x3c782e(0x163,0x342,0x3b7,0x1ef))&&(_0x3362d7['codeVerifier']=void 0x0,_0x3362d7['state']=void 0x0),(_0x219a3a===_0x3c782e(_0x1930ca._0x63b4cd,_0x1930ca._0x4eb04f,-0x81,_0x1930ca._0x4e3e13)||_0x219a3a===_0x2024eb(0x1a9,0x19c,0x2cb,0x1f0))&&(_0x3362d7['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x591e89){await updateStore(_0x59f6c7,_0x160ee7=>{const _0x3743be={_0xe49f19:0x64};function _0x3b8c82(_0x1e81bd,_0x135fb5,_0x22d01b,_0x4e0f21){return _0x5041(_0x22d01b- -_0x3743be._0xe49f19,_0x1e81bd);}_0x160ee7[_0x3b8c82(_0xb5c413._0x5ba3be,_0xb5c413._0x358e05,0x2e8,_0xb5c413._0x120c32)]=_0x591e89;});},async 'discoveryState'(){function _0x15d3f5(_0x3b1b7f,_0x53803b,_0x369d8d,_0x28625b){return _0x1229a6(_0x28625b,_0x53803b-0x18a,_0x369d8d-0x162,_0x53803b- -0x26);}return(await readStore(_0x59f6c7))[_0x15d3f5(_0x319fb4._0x5eec84,0x16b,_0x319fb4._0x305c58,_0x319fb4._0x885371)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':'mcp-close-failed','message':_0x819762=>_0x151cc1(0x21c,0x174,0x27a,0x1fb)+_0x819762+'\x20failed\x20to\x20close'},'connect':{'code':_0x151cc1(0x25c,0x2b5,0x28a,0x1b3),'message':_0x153411=>_0x1ac42a(-0xac,-0x370,-0x209,-0x162)+_0x153411+_0x151cc1(0x411,0x36a,0x26c,0x40f)},'discover':{'code':_0x151cc1(0x327,0x189,0x105,0x306),'message':_0x51ff90=>_0x151cc1(0x13d,0x174,-0x56,0x28e)+_0x51ff90+_0x1ac42a(-0x219,0x58,-0xd3,-0x1bc)},'toolCall':{'code':_0x151cc1(0x4e4,0x35b,0x3ab,0x293),'message':_0x33bcde=>'MCP\x20server\x20'+_0x33bcde+_0x151cc1(0x1bb,0x349,0x37f,0x1f2)}},timeoutMessageByOperation={'close':_0x90c8e4=>_0x1ac42a(-0x123,-0x1b0,-0x209,-0x1e5)+_0x90c8e4+_0x151cc1(0x205,0x1e3,0x177,0xb4),'connect':_0x17c093=>_0x1ac42a(-0xe2,-0x292,-0x209,-0x295)+_0x17c093+_0x151cc1(0x317,0x4d3,0x357,0x49c),'discover':_0x566e62=>'MCP\x20server\x20'+_0x566e62+_0x1ac42a(-0x15b,0xc7,-0x107,-0x6f),'toolCall':_0x4cc427=>_0x1ac42a(-0x32d,-0x222,-0x209,-0x1ab)+_0x4cc427+_0x151cc1(0x219,0x2e3,0x491,0x3ad)};function toMcpSafeError(_0x2cbd85){const _0x29ee74={_0x3fb253:0x340,_0x19fa19:0x30d,_0x4becbf:0x270,_0xefb176:0x3f3,_0xc3eab4:0xbf,_0x3bc3aa:0x3ae,_0x5858f6:0x41b,_0x43e737:0x19a,_0x1f30ac:0x8c,_0x594b56:0xe8,_0xb52c24:0xa5,_0x114285:0x195,_0xe72388:0x346,_0x5e9afc:0x341,_0x2b5a42:0x36e,_0x4c45d0:0x39a,_0x39b808:0x578,_0x1f9a2c:0x63,_0x3eaca:0x65,_0x1bbb0f:0xa4,_0x42bb5c:0x18c,_0x5e9ab8:0x408,_0x1383dc:0x25d,_0x214c7b:0x28b,_0x53a4f5:0x258,_0x39a53f:0x272},_0x316e41={_0x56536e:0x2c5},_0x41f1fd={_0x414b29:0xe3,_0x44ee59:0x150};function _0xd7dad0(_0x39d0b6,_0x46a93c,_0x3efdb9,_0x227616){return _0x151cc1(_0x39d0b6-0x19d,_0x227616- -_0x41f1fd._0x414b29,_0x39d0b6,_0x227616-_0x41f1fd._0x44ee59);}if(_0x2cbd85[_0x2a5d8a(_0x29ee74._0x3fb253,0x346,_0x29ee74._0x19fa19,_0x29ee74._0x4becbf)]instanceof UnauthorizedError)return Object[_0xd7dad0(0x2b5,_0x29ee74._0xefb176,_0x29ee74._0xc3eab4,0x247)]({'code':_0x2a5d8a(0x15d,0x288,_0x29ee74._0x3bc3aa,_0x29ee74._0x5858f6),'message':_0x2a5d8a(0x188,0xbc,_0x29ee74._0x43e737,0x105)+_0x2cbd85[_0xd7dad0(_0x29ee74._0x1f30ac,0x12b,_0x29ee74._0x594b56,0xd5)]+_0xd7dad0(_0x29ee74._0xb52c24,_0x29ee74._0x114285,0x2ca,0x135)});if(_0x2cbd85[_0x2a5d8a(0x214,_0x29ee74._0xe72388,_0x29ee74._0x5e9afc,_0x29ee74._0x2b5a42)]instanceof McpError&&_0x2cbd85[_0x2a5d8a(0x4b4,0x346,0x4d4,0x270)][_0x2a5d8a(_0x29ee74._0x4c45d0,0x3c4,_0x29ee74._0x39b808,0x538)]===ErrorCode[_0xd7dad0(0x13a,_0x29ee74._0x1f9a2c,_0x29ee74._0x3eaca,0x108)])return Object[_0x2a5d8a(_0x29ee74._0x1bbb0f,0x272,_0x29ee74._0x42bb5c,0x2d6)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x2cbd85[_0xd7dad0(_0x29ee74._0x5e9ab8,0x2bc,_0x29ee74._0x1383dc,_0x29ee74._0x214c7b)]](_0x2cbd85[_0x2a5d8a(0x96,0x100,0x5,_0x29ee74._0x53a4f5)])});const _0x45715b=failureByOperation[_0x2cbd85['operation']];function _0x2a5d8a(_0x11aa0e,_0x4400f9,_0x48b16b,_0x4628bf){return _0x1ac42a(_0x11aa0e-0xce,_0x4400f9-0x52,_0x4400f9-_0x316e41._0x56536e,_0x48b16b);}return Object[_0x2a5d8a(0x12d,_0x29ee74._0x39a53f,0x32c,0x263)]({'code':_0x45715b['code'],'message':_0x45715b['message'](_0x2cbd85['serverName'])});}function _0x5041(_0x4c09ed,_0x9cc671){_0x4c09ed=_0x4c09ed-0x116;const _0x32bcc6=_0x32bc();let _0x504107=_0x32bcc6[_0x4c09ed];if(_0x5041['ObtMWo']===undefined){var _0x1a55d6=function(_0xe51839){const _0x50251a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3776ef='',_0xa5d2bf='';for(let _0x2bfaf1=0x0,_0x246d48,_0x458083,_0x2eb2bd=0x0;_0x458083=_0xe51839['charAt'](_0x2eb2bd++);~_0x458083&&(_0x246d48=_0x2bfaf1%0x4?_0x246d48*0x40+_0x458083:_0x458083,_0x2bfaf1++%0x4)?_0x3776ef+=String['fromCharCode'](0xff&_0x246d48>>(-0x2*_0x2bfaf1&0x6)):0x0){_0x458083=_0x50251a['indexOf'](_0x458083);}for(let _0x1982f4=0x0,_0x1b4331=_0x3776ef['length'];_0x1982f4<_0x1b4331;_0x1982f4++){_0xa5d2bf+='%'+('00'+_0x3776ef['charCodeAt'](_0x1982f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa5d2bf);};_0x5041['RhJooq']=_0x1a55d6,_0x5041['sMRYnr']={},_0x5041['ObtMWo']=!![];}const _0x3c1ebf=_0x32bcc6[0x0],_0x1efaf4=_0x4c09ed+_0x3c1ebf,_0x4f7766=_0x5041['sMRYnr'][_0x1efaf4];return!_0x4f7766?(_0x504107=_0x5041['RhJooq'](_0x504107),_0x5041['sMRYnr'][_0x1efaf4]=_0x504107):_0x504107=_0x4f7766,_0x504107;}function redactMcpDiagnostic(_0x242491,_0x1ac9ac){const _0x293928={_0x1578f6:0xac,_0x1ca69a:0x7e6,_0x479adc:0x8ad,_0x5d8734:0x19a,_0x2df323:0x8f7,_0x1d626f:0x91b,_0x4171d2:0x8a1,_0x31147e:0x16c,_0x1d433e:0x322,_0x432559:0x207,_0x2f8730:0x19a,_0x113369:0x33c},_0x47ddb9={_0x4cd3f8:0x1ec,_0x440af4:0xd1};function _0x229667(_0x3e5c37,_0x19b85e,_0x13b1e9,_0x95ef90){return _0x1ac42a(_0x3e5c37-0x13c,_0x19b85e-0x148,_0x3e5c37-0x91,_0x19b85e);}const _0x43f332=[...new Set(_0x1ac9ac[_0x229667(-0xd5,_0x293928._0x1578f6,-0x202,-0x1cf)](_0x5d7825=>_0x5d7825[_0x502f1b(0x7d9,0x7d8,0x8b9,0x78f)]>0x0))][_0x502f1b(_0x293928._0x1ca69a,0x889,0x6a7,_0x293928._0x479adc)]((_0x223015,_0x2b0a38)=>_0x2b0a38[_0x229667(0x19a,0x19b,0x1f7,0x1a1)]-_0x223015[_0x502f1b(0x7d9,0x894,0x828,0x747)]);if(_0x242491[_0x229667(_0x293928._0x5d8734,-0x26,0x163,0x1c2)]===0x0||_0x43f332[_0x502f1b(0x7d9,_0x293928._0x2df323,0x94e,0x7e4)]===0x0)return _0x242491;let _0x2caaad='',_0x303891=0x0;function _0x502f1b(_0x14fe83,_0x5f0e28,_0x1f32df,_0x2dda6f){return _0x151cc1(_0x14fe83-_0x47ddb9._0x4cd3f8,_0x14fe83-0x353,_0x2dda6f,_0x2dda6f-_0x47ddb9._0x440af4);}while(_0x303891<_0x242491[_0x502f1b(0x7d9,_0x293928._0x1d626f,_0x293928._0x4171d2,0x65a)]){const _0x19baa2=_0x43f332[_0x229667(-_0x293928._0x31147e,-0x1f8,-_0x293928._0x1d433e,-0x15d)](_0x194625=>_0x242491[_0x502f1b(0x760,0x668,0x709,0x60c)](_0x194625,_0x303891));_0x19baa2?(_0x2caaad+=_0x229667(-0x43,0x149,-_0x293928._0x432559,-0x19),_0x303891+=_0x19baa2[_0x229667(_0x293928._0x2f8730,0x1f3,0x5,_0x293928._0x113369)]):(_0x2caaad+=_0x242491[_0x303891],_0x303891+=0x1);}return _0x2caaad;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x1acf84){const _0x4bee01={_0x23db34:0x27a,_0x5c638c:0x434,_0x3124e6:0x2a9,_0x4c0511:0x457},_0x12d1bf={_0x8bb807:0x1e3},_0xc51df8={_0x64f151:0x108,_0x4da6a4:0x137};function _0x4e3840(_0x3e504b,_0x51247d,_0x1aa62e,_0x5cf6b3){return _0x1ac42a(_0x3e504b-_0xc51df8._0x64f151,_0x51247d-_0xc51df8._0x4da6a4,_0x51247d-0x3e0,_0x3e504b);}function _0x46893c(_0x4d65d6,_0x1d6a76,_0x720827,_0x1ec212){return _0x1ac42a(_0x4d65d6-_0x12d1bf._0x8bb807,_0x1d6a76-0xf7,_0x4d65d6-0x578,_0x1d6a76);}return typeof _0x1acf84===_0x46893c(0x364,0x33c,_0x4bee01._0x23db34,_0x4bee01._0x5c638c)&&_0x1acf84!==null||typeof _0x1acf84===_0x46893c(0x418,_0x4bee01._0x3124e6,0x3a5,_0x4bee01._0x4c0511);}function createOwnedMcpSafeError(_0x355da0){const _0x41d973={_0x16532f:0x9a,_0x367810:0x1f6,_0x11654d:0x1f},_0x2cd31d={_0xd9dc31:0x18d},_0x33b068={_0x2a6ff3:0xb0},_0x14fce0=toMcpSafeError(_0x355da0);function _0x4cdfb2(_0x93dec5,_0x3e6bed,_0x18ae8b,_0x204a30){return _0x1ac42a(_0x93dec5-_0x33b068._0x2a6ff3,_0x3e6bed-0xfe,_0x18ae8b-0xe5,_0x204a30);}const _0x4e39f2=Object[_0x4cdfb2(-0x9a,_0x41d973._0x16532f,0x92,0x17a)]({'code':_0x14fce0['code'],'message':_0x14fce0[_0x4cdfb2(0x198,0xf1,_0x41d973._0x367810,0x18b)]});function _0x589b16(_0xc38198,_0x15bdee,_0x122cc1,_0xfa3eff){return _0x1ac42a(_0xc38198-0x113,_0x15bdee-_0x2cd31d._0xd9dc31,_0x15bdee-0x68a,_0xfa3eff);}return ownedMcpSafeErrors[_0x4cdfb2(-0x1d4,0x191,-_0x41d973._0x11654d,-0x11f)](_0x14fce0,_0x4e39f2),_0x14fce0;}function extractOwnedMcpSafeError(_0x166af1){const _0x2a4486={_0x39a57b:0x84b,_0x180774:0x584,_0x46b29f:0x43f,_0x6c4ccb:0x3d9,_0x1d73da:0x2af,_0x47501e:0x137,_0x4ad81c:0xac},_0x35d366={_0x102baf:0x1ac},_0x47e72a={_0x421d25:0x5a,_0x2b3175:0x6eb};if(!isWeakMapKey(_0x166af1))return void 0x0;const _0x50070c=ownedMcpSafeErrors['get'](_0x166af1);function _0x3c2d86(_0x1c855f,_0x1485dd,_0x295d3d,_0x386838){return _0x1ac42a(_0x1c855f-_0x47e72a._0x421d25,_0x1485dd-0xfa,_0x295d3d-_0x47e72a._0x2b3175,_0x386838);}if(!_0x50070c)return void 0x0;const _0x2e52c2=Object[_0x3c2d86(0x52c,_0x2a4486._0x39a57b,0x698,_0x2a4486._0x180774)]({'code':_0x50070c[_0x5502e0(_0x2a4486._0x46b29f,_0x2a4486._0x6c4ccb,0x3af,_0x2a4486._0x1d73da)],'message':_0x50070c['message']});ownedMcpSafeErrors[_0x5502e0(-0xc1,_0x2a4486._0x47501e,0x1ba,_0x2a4486._0x4ad81c)](_0x2e52c2,_0x50070c);function _0x5502e0(_0x3d774d,_0x57e021,_0x3de47f,_0x238f39){return _0x151cc1(_0x3d774d-0xe9,_0x238f39- -0x1cd,_0x3d774d,_0x238f39-_0x35d366._0x102baf);}return _0x2e52c2;}function ownValue(_0x35f110,_0x3a1d48){const _0x2813d5={_0x3f6b36:0x47,_0x2dab30:0x215,_0x4abc26:0x156},_0x9a0250={_0x49e4d2:0x1f2,_0x3cbd17:0x399,_0x3db376:0x158};function _0x534983(_0x1a0325,_0x2d78a3,_0x27521a,_0x519e95){return _0x151cc1(_0x1a0325-_0x9a0250._0x49e4d2,_0x519e95- -_0x9a0250._0x3cbd17,_0x1a0325,_0x519e95-_0x9a0250._0x3db376);}return _0x35f110&&Object[_0x534983(-_0x2813d5._0x3f6b36,_0x2813d5._0x2dab30,0x31a,_0x2813d5._0x4abc26)](_0x35f110,_0x3a1d48)?_0x35f110[_0x3a1d48]:void 0x0;}function isToolPermissionClass(_0x36c9fb){const _0x3a5d32={_0x750288:0x40a,_0x20207d:0x45d,_0x33a389:0x373},_0x7cd643={_0x267690:0x23},_0xe56143={_0x46c3dc:0x432};function _0x4b5d2c(_0x1d32dd,_0x58b46a,_0x5b192c,_0x83d57a){return _0x1ac42a(_0x1d32dd-0x1cf,_0x58b46a-0x102,_0x58b46a-_0xe56143._0x46c3dc,_0x83d57a);}function _0x58010a(_0xc66412,_0x17ed41,_0x650aa3,_0x30f3ab){return _0x151cc1(_0xc66412-0x172,_0x30f3ab- -_0x7cd643._0x267690,_0xc66412,_0x30f3ab-0xed);}return _0x36c9fb==='read'||_0x36c9fb===_0x58010a(0x3d2,0x5a5,_0x3a5d32._0x750288,_0x3a5d32._0x20207d)||_0x36c9fb===_0x58010a(0x41c,_0x3a5d32._0x33a389,0x477,0x341);}function suggestedPermissionClass(_0x36538b){const _0x345b0c={_0x3b1acb:0x2c9,_0x41c7fd:0xaf,_0x749439:0x240,_0x182ec0:0x294,_0x3dcef1:0x32a},_0x322275={_0x52270e:0x12b,_0xf2a545:0x34b},_0x34cb1a={_0x43ac86:0x68,_0x5c2fa3:0x22a,_0x691ceb:0x101};function _0x4d8420(_0x17fc06,_0x12eee8,_0x2d2a9d,_0x41b85b){return _0x151cc1(_0x17fc06-_0x34cb1a._0x43ac86,_0x41b85b- -_0x34cb1a._0x5c2fa3,_0x17fc06,_0x41b85b-_0x34cb1a._0x691ceb);}const _0x42db2b=_0x36538b['annotations']?.[_0x38909f(0x45f,0x542,0x2b2,0x37d)];function _0x38909f(_0x2b54a3,_0x2c0e16,_0x5bd21e,_0x3401ac){return _0x1ac42a(_0x2b54a3-_0x322275._0x52270e,_0x2c0e16-0x1d6,_0x2b54a3-_0x322275._0xf2a545,_0x5bd21e);}if(_0x42db2b===!![])return _0x4d8420(_0x345b0c._0x3b1acb,0x3f2,_0x345b0c._0x41c7fd,_0x345b0c._0x749439);if(_0x42db2b===![])return _0x4d8420(0x15d,_0x345b0c._0x182ec0,_0x345b0c._0x3dcef1,0x256);return void 0x0;}function isJsonValue(_0x2a1c04){const _0x9f74d2={_0x2f044f:0x280,_0x35fdc9:0x180,_0x47bcb1:0x39,_0x228b48:0x169,_0x2ad918:0x7a,_0x29bae6:0x144,_0xaf2d4f:0xb0,_0x11ff1b:0x249,_0x59c35b:0x175,_0x2005fd:0x67,_0x340889:0x1ea,_0x2295f2:0x175},_0x5c2783={_0x4d87a6:0x164,_0x35af59:0x71,_0x127e8f:0xaf};function _0x547cc8(_0xdb40dd,_0x10e453,_0x349ed5,_0x38647f){return _0x1ac42a(_0xdb40dd-0x1c0,_0x10e453-0x6f,_0x349ed5-0x3e,_0x10e453);}function _0x4d9449(_0xa71932,_0xf26728,_0x4d1fd2,_0x345fa4){return _0x1ac42a(_0xa71932-_0x5c2783._0x4d87a6,_0xf26728-_0x5c2783._0x35af59,_0x345fa4-_0x5c2783._0x127e8f,_0xa71932);}if(_0x2a1c04===null||typeof _0x2a1c04===_0x547cc8(-0x19,-_0x9f74d2._0x2f044f,-0x189,-0x101)||typeof _0x2a1c04===_0x547cc8(0xb2,0x1e5,_0x9f74d2._0x35fdc9,0x1c3)||typeof _0x2a1c04===_0x547cc8(0x154,-0x3a,-_0x9f74d2._0x47bcb1,-_0x9f74d2._0x228b48))return!![];if(Array[_0x4d9449(-0x6f,-0x1e,-0x39,-_0x9f74d2._0x2ad918)](_0x2a1c04))return _0x2a1c04[_0x4d9449(_0x9f74d2._0x29bae6,_0x9f74d2._0xaf2d4f,_0x9f74d2._0x11ff1b,_0x9f74d2._0x59c35b)](isJsonValue);if(!isObject(_0x2a1c04))return![];return Object['values'](_0x2a1c04)[_0x4d9449(_0x9f74d2._0x2005fd,_0x9f74d2._0x340889,-0x40,_0x9f74d2._0x2295f2)](isJsonValue);}function projectMcpTools(_0x58e1b5){const _0x420161={_0x44c7d8:0x1bb,_0x1eb104:0x129,_0x48fd75:0x3,_0x415546:0xa5,_0x13d8b0:0x7c,_0x2201d1:0x2a5,_0x5aed8b:0x295,_0x31ed7c:0x162,_0x29efda:0x41e,_0x32210d:0x18f,_0x3d0ea6:0x243,_0x18e4e7:0x218,_0x61f656:0x22e,_0x1a44b3:0x315,_0x542e03:0x1c4,_0x24c040:0x200,_0x208b86:0x71,_0x1618a0:0x17d,_0x8e81c6:0x199,_0x2c43ba:0x365,_0x42733b:0x487,_0x2db1d2:0x332,_0x31ebbf:0x189,_0x221d49:0x2a2,_0x1e8647:0x496,_0x2f8d78:0x533},_0x435c61={_0x24d896:0xd6},_0x584930={_0x5d81b8:0x6f,_0x5d3d05:0x34e},_0x7255ba=[],_0x52c85d=[];function _0x4ea321(_0x3b6274,_0x5256e5,_0x839457,_0x12aa9d){return _0x1ac42a(_0x3b6274-_0x584930._0x5d81b8,_0x5256e5-0x1de,_0x12aa9d-_0x584930._0x5d3d05,_0x3b6274);}for(const _0x108369 of _0x58e1b5[_0x383a56(_0x420161._0x44c7d8,_0x420161._0x1eb104,_0x420161._0x48fd75,0x372)]){const _0x695db3=ownValue(_0x58e1b5[_0x383a56(0xfd,0x2ca,-_0x420161._0x415546,-_0x420161._0x13d8b0)],_0x108369[_0x4ea321(0x371,0x375,_0x420161._0x2201d1,0x3e0)]),_0xc91fd7=isToolPermissionClass(_0x695db3)?_0x695db3:void 0x0,_0x1d5efe=_0xc91fd7??'always-confirm',_0x24e087=suggestedPermissionClass(_0x108369);_0x52c85d[_0x383a56(_0x420161._0x5aed8b,_0x420161._0x31ed7c,_0x420161._0x29efda,0x23e)]({'name':_0x108369['name'],..._0x108369[_0x383a56(_0x420161._0x32210d,_0x420161._0x3d0ea6,_0x420161._0x18e4e7,0x118)]!==void 0x0?{'description':_0x108369['description']}:{},...isJsonValue(_0x108369[_0x383a56(0xf4,0x160,0x92,0x1c1)])?{'inputSchema':_0x108369[_0x4ea321(_0x420161._0x61f656,0x1f6,_0x420161._0x1a44b3,_0x420161._0x542e03)]}:{},'permissionClass':_0x1d5efe,'permissionConfigured':_0xc91fd7!==void 0x0,..._0x24e087!==void 0x0?{'suggestedPermissionClass':_0x24e087}:{}});if(ownValue(_0x58e1b5[_0x383a56(_0x420161._0x24c040,_0x420161._0x208b86,0x110,0x2c9)],_0x108369[_0x383a56(0x310,0x239,0x39e,_0x420161._0x1618a0)])===![])continue;_0x7255ba[_0x4ea321(0x43e,_0x420161._0x8e81c6,0x22c,_0x420161._0x2c43ba)](createMcpTool({'serverName':_0x58e1b5[_0x4ea321(_0x420161._0x42733b,0x2bf,_0x420161._0x2db1d2,0x371)]??_0x58e1b5[_0x4ea321(0xed,0x1a7,0x316,_0x420161._0x31ebbf)],'tool':_0x108369,'client':_0x58e1b5[_0x4ea321(0x26f,_0x420161._0x221d49,0x36a,0x274)],'permissionClass':_0x1d5efe,'internalLifecycle':_0x58e1b5[_0x4ea321(0x62b,_0x420161._0x1e8647,_0x420161._0x2f8d78,0x4ca)]}));}function _0x383a56(_0x47c335,_0x59fec4,_0x33363a,_0x3faacd){return _0x1ac42a(_0x47c335-0x1a5,_0x59fec4-_0x435c61._0x24d896,_0x47c335-0x27e,_0x59fec4);}return{'tools':_0x7255ba,'descriptors':_0x52c85d};}function createMcpToolName(_0x4ba402,_0x824e4a){const _0x453e64={_0x23c1db:0x353,_0x4ed247:0x478,_0x4aa513:0x50a},_0x14b163={_0x1f265e:0x12,_0x4acce7:0x5a};function _0x3b2aa9(_0x2e9ebb,_0x22d02b,_0x12978e,_0x356fb9){return _0x151cc1(_0x2e9ebb-0xc8,_0x12978e- -_0x14b163._0x1f265e,_0x22d02b,_0x356fb9-_0x14b163._0x4acce7);}const _0x2472d5=_0x191a19=>_0x191a19['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3b2aa9(0x12c,0x110,0x1bf,0xfe)](/^_+|_+$/g,'');function _0x5da5b3(_0x5b5989,_0x48c5ff,_0xbc72a0,_0x24c1bb){return _0x151cc1(_0x5b5989-0x11,_0x24c1bb- -0x2c6,_0xbc72a0,_0x24c1bb-0x51);}return _0x3b2aa9(_0x453e64._0x23c1db,0x5a7,_0x453e64._0x4ed247,_0x453e64._0x4aa513)+_0x2472d5(_0x4ba402)+'_'+_0x2472d5(_0x824e4a);}function isObject(_0x254db8){const _0x52e4d8={_0x5486be:0x1ff,_0x3887ff:0x1a3,_0x3aa01b:0x25a,_0x3824b8:0x36b,_0x1a9a3a:0x2e6},_0xe42c1d={_0x2f52eb:0x170,_0x3d44d4:0x117},_0x244208={_0x384685:0x58};function _0x4b0106(_0x145b14,_0x521226,_0x1ec158,_0x569bc7){return _0x1ac42a(_0x145b14-_0x244208._0x384685,_0x521226-0x4a,_0x521226-0x413,_0x1ec158);}function _0x3ff435(_0x39f67f,_0x37bfd9,_0x1d97f1,_0x1ad6b9){return _0x151cc1(_0x39f67f-_0xe42c1d._0x2f52eb,_0x37bfd9-_0xe42c1d._0x3d44d4,_0x1ad6b9,_0x1ad6b9-0x70);}return typeof _0x254db8===_0x4b0106(0x2e8,_0x52e4d8._0x5486be,_0x52e4d8._0x3887ff,_0x52e4d8._0x3aa01b)&&_0x254db8!==null&&!Array[_0x3ff435(0x37a,_0x52e4d8._0x3824b8,_0x52e4d8._0x1a9a3a,0x512)](_0x254db8);}function toSupportedSchema(_0x3b8a70){const _0x1c8a9a={_0x31f361:0x2e0,_0x35bcba:0x22b,_0x4367c2:0x39f,_0xecbe38:0x60,_0x19fa0f:0x3b,_0x7ff8b5:0x9a,_0x12e079:0x85,_0x490e7d:0x176,_0x298340:0x891,_0x5dd82e:0x6eb,_0x158af3:0x632,_0x2bffdc:0x696,_0x3ce5b4:0x916,_0x102a57:0xdb,_0x21a410:0x70,_0x5bfc31:0xa9,_0x56cee6:0x3a,_0x3e495d:0x752,_0x413a98:0x726,_0x4a0b01:0x705,_0x4206d8:0x2e,_0x20575f:0x16d,_0x52c370:0x7e,_0x39dba6:0x35c,_0x24b6e8:0x756,_0x4798f9:0x2e2},_0x3cbf0b={_0x26aadf:0x118},_0x4378e8={_0x46bf83:0x1e1,_0x21c524:0x64};if(!isObject(_0x3b8a70))return void 0x0;if(_0x3b8a70['type']===_0x48d66b(-0x123,-_0x1c8a9a._0x31f361,-0x22b,-0x267))return{'type':_0x48d66b(-0x2af,-0x169,-_0x1c8a9a._0x35bcba,-_0x1c8a9a._0x4367c2)};function _0x48d66b(_0x3d0d03,_0x39f20b,_0x27fa22,_0x54ea94){return _0x1ac42a(_0x3d0d03-_0x4378e8._0x46bf83,_0x39f20b-0x15f,_0x27fa22- -_0x4378e8._0x21c524,_0x39f20b);}if(_0x3b8a70[_0x48d66b(0x21f,0xa6,0x85,_0x1c8a9a._0xecbe38)]===_0x48d66b(0x257,-0x31,0xde,-_0x1c8a9a._0x19fa0f)||_0x3b8a70[_0x48d66b(0x1c,-_0x1c8a9a._0x7ff8b5,_0x1c8a9a._0x12e079,_0x1c8a9a._0x490e7d)]===_0x21340c(_0x1c8a9a._0x298340,0x873,0x629,_0x1c8a9a._0x5dd82e))return{'type':_0x21340c(_0x1c8a9a._0x158af3,_0x1c8a9a._0x2bffdc,_0x1c8a9a._0x3ce5b4,0x7af)};if(_0x3b8a70['type']===_0x48d66b(-0x29b,-0x1af,-_0x1c8a9a._0x102a57,-_0x1c8a9a._0x21a410))return{'type':_0x48d66b(-0x175,-0x1ba,-0xdb,0x47)};if(_0x3b8a70['type']===_0x48d66b(-_0x1c8a9a._0x5bfc31,0xb3,0x25,_0x1c8a9a._0x56cee6))return{'type':_0x21340c(_0x1c8a9a._0x3e495d,_0x1c8a9a._0x413a98,_0x1c8a9a._0x4a0b01,0x6f6),'items':toSupportedSchema(_0x3b8a70[_0x48d66b(-_0x1c8a9a._0x4206d8,_0x1c8a9a._0x20575f,_0x1c8a9a._0x52c370,0x200)])??{'type':_0x48d66b(-0x223,-_0x1c8a9a._0x39dba6,-_0x1c8a9a._0x35bcba,-0xe1)}};function _0x21340c(_0x594fbe,_0x357a2d,_0x17a72c,_0x8e2e0a){return _0x151cc1(_0x594fbe-_0x3cbf0b._0x26aadf,_0x8e2e0a-0x2f0,_0x17a72c,_0x8e2e0a-0x196);}if(_0x3b8a70[_0x21340c(0x73a,0x677,0x770,_0x1c8a9a._0x24b6e8)]===_0x21340c(0x426,0x489,_0x1c8a9a._0x4798f9,0x459))return toNuvinToolSchema(_0x3b8a70);return void 0x0;}function toNuvinToolSchema(_0x566f6d){const _0x5a8e1c={_0x5af8b6:0x4b,_0x550260:0x22d,_0x3e56b9:0x8,_0x2580b7:0x63,_0x471a75:0x2c,_0xdfccdb:0x1d3,_0x317108:0x92,_0x5e4e8b:0xc0,_0x43d7ab:0x185,_0x237472:0x15f,_0x562241:0xbc,_0x2121d9:0x157,_0x1868dc:0x10e,_0x40edf2:0x516,_0x444e76:0x17d},_0x584b04={_0x50579f:0x159,_0x487591:0x104},_0x231a55={_0x3244ee:0xe5};if(!isObject(_0x566f6d)||_0x566f6d[_0x38a0a8(0x47a,0x2ed,0x345,0x34c)]!=='object')return{'type':_0x3bba8c(-0x2a0,-_0x5a8e1c._0x5af8b6,-0x163,-_0x5a8e1c._0x550260),'properties':{}};const _0xa82560={};function _0x38a0a8(_0x4e0264,_0x396932,_0x520a4a,_0x181eed){return _0x151cc1(_0x4e0264-0x173,_0x4e0264-0x14,_0x396932,_0x181eed-_0x231a55._0x3244ee);}function _0x3bba8c(_0x22a4be,_0x274f19,_0x43c38e,_0x1f311b){return _0x1ac42a(_0x22a4be-_0x584b04._0x50579f,_0x274f19-_0x584b04._0x487591,_0x43c38e-0xb1,_0x1f311b);}const _0x55eb14=isObject(_0x566f6d[_0x3bba8c(_0x5a8e1c._0x3e56b9,_0x5a8e1c._0x2580b7,-_0x5a8e1c._0x471a75,0x3c)])?_0x566f6d[_0x3bba8c(0x188,-0xb4,-0x2c,-_0x5a8e1c._0xdfccdb)]:{};for(const [_0x2d8cfe,_0x31e2e0]of Object[_0x3bba8c(0x37,0x8a,_0x5a8e1c._0x317108,0xef)](_0x55eb14)){const _0x13d747=toSupportedSchema(_0x31e2e0);if(_0x13d747)_0xa82560[_0x2d8cfe]=_0x13d747;}const _0x1850e7=Array[_0x3bba8c(0x55,_0x5a8e1c._0x5e4e8b,-0x78,0x2e)](_0x566f6d['required'])?_0x566f6d[_0x3bba8c(_0x5a8e1c._0x43d7ab,_0x5a8e1c._0x237472,0x18c,_0x5a8e1c._0x562241)][_0x38a0a8(0x22b,_0x5a8e1c._0x2121d9,0xa3,_0x5a8e1c._0x1868dc)](_0x362222=>typeof _0x362222==='string'):void 0x0;return _0x1850e7?.[_0x38a0a8(0x49a,0x53b,_0x5a8e1c._0x40edf2,0x3fa)]?{'type':_0x38a0a8(_0x5a8e1c._0x444e76,0xb1,0x23e,-0x13),'properties':_0xa82560,'required':_0x1850e7}:{'type':_0x38a0a8(0x17d,0x241,0x230,0x2b0),'properties':_0xa82560};}function isJsonObject(_0x53c4b8){const _0x3c7180={_0x486eb0:0x9,_0x57bb04:0x82},_0x57b2bb={_0x5c204f:0x3a};function _0x45aa7d(_0x3e87b9,_0x3855e1,_0x18980a,_0x283746){return _0x1ac42a(_0x3e87b9-0x187,_0x3855e1-_0x57b2bb._0x5c204f,_0x18980a-0x162,_0x283746);}return typeof _0x53c4b8===_0x45aa7d(-0xda,_0x3c7180._0x486eb0,-0xb2,_0x3c7180._0x57bb04)&&_0x53c4b8!==null&&!Array['isArray'](_0x53c4b8);}function formatMcpContent(_0x3de988){const _0x1ad0bb={_0x210492:0x49e,_0x469caf:0x5fb,_0x2a3343:0x610,_0x36dedf:0x46c,_0x11e789:0x6a4,_0x325ed3:0x63e,_0x9de3d0:0x4bb,_0x4fac49:0x600,_0x4132be:0x345,_0x1d5eb0:0x3ee,_0x5ccb68:0x3f4},_0x5cbba1={_0x44f5b5:0x1e0,_0x387532:0x17a},_0x340515={_0x4547b3:0x2a6,_0x319cc5:0x2c8,_0x426efc:0x436,_0x401e18:0x291,_0x147418:0x37b,_0x272680:0xba,_0x296b05:0x114,_0x1c5af8:0x38},_0x1a24c9={_0x1ff552:0x32,_0x24f9a8:0x1eb},_0xf0dcb0=Array[_0x4f5548(0x3e0,0x43f,0x372,_0x1ad0bb._0x210492)](_0x3de988[_0x4f5548(0x566,0x66c,0x666,0x6b0)])?_0x3de988[_0x166408(0x7b3,0x6b0,_0x1ad0bb._0x469caf,0x450)]:[];function _0x4f5548(_0x3aec4d,_0x1f049,_0x1f6d35,_0x12847b){return _0x151cc1(_0x3aec4d-_0x1a24c9._0x1ff552,_0x1f049-_0x1a24c9._0x24f9a8,_0x1f6d35,_0x12847b-0x9a);}const _0xca8db5=_0xf0dcb0[_0x166408(_0x1ad0bb._0x2a3343,0x5b0,0x5a1,0x622)](_0x2c0346=>{const _0x3aff8e={_0xd528fa:0x124,_0x11ca94:0x573};if(!isObject(_0x2c0346))return'';if(_0x2c0346[_0x49136e(0x182,0xde,_0x340515._0x4547b3,0x18d)]===_0x49136e(-_0x340515._0x319cc5,-0x210,-0x123,-0x70)&&typeof _0x2c0346[_0x265ccd(_0x340515._0x426efc,0x5d9,0x30b,_0x340515._0x401e18)]==='string')return _0x2c0346[_0x265ccd(0x436,0x3cf,0x335,_0x340515._0x147418)];function _0x49136e(_0xde0ee4,_0x4a88a0,_0x5dd471,_0x287980){return _0x4f5548(_0xde0ee4-_0x3aff8e._0xd528fa,_0x4a88a0- -_0x3aff8e._0x11ca94,_0xde0ee4,_0x287980-0x3c);}function _0x265ccd(_0x5ed42e,_0x483fa9,_0x54b798,_0x1410a0){return _0x4f5548(_0x5ed42e-0x36,_0x5ed42e-0xd3,_0x483fa9,_0x1410a0-0xa5);}return JSON[_0x49136e(_0x340515._0x272680,-_0x340515._0x296b05,-_0x340515._0x1c5af8,0xaf)](_0x2c0346);})[_0x4f5548(_0x1ad0bb._0x36dedf,0x402,0x4a1,0x4ce)](_0xef265f=>_0xef265f[_0x4f5548(0x579,0x671,0x5fb,0x64d)]>0x0)[_0x4f5548(0x548,_0x1ad0bb._0x11e789,0x731,_0x1ad0bb._0x325ed3)]('\x0a');if(_0xca8db5[_0x166408(0x448,_0x1ad0bb._0x9de3d0,_0x1ad0bb._0x4fac49,0x7a8)]>0x0)return _0xca8db5;function _0x166408(_0x461ba0,_0x1af134,_0x4f8d9c,_0x310595){return _0x151cc1(_0x461ba0-_0x5cbba1._0x44f5b5,_0x4f8d9c-_0x5cbba1._0x387532,_0x461ba0,_0x310595-0xd7);}return JSON[_0x166408(_0x1ad0bb._0x4132be,0x352,_0x1ad0bb._0x1d5eb0,_0x1ad0bb._0x5ccb68)](_0x3de988,null,0x2);}function createMcpTool(_0x854d9a){const _0x442a6e={_0x166d30:0x83d,_0x65117d:0x747,_0x598ff9:0x5f5,_0x1a505c:0x7a2,_0x12e763:0x20a,_0x1d33cb:0xcc,_0x1064be:0xa4,_0x309443:0x797,_0x153c2a:0x1a9,_0x19bde2:0x1a2,_0x247335:0x24,_0x3f7bd4:0x48f,_0x5d27ec:0x46a,_0x1afab1:0x509,_0x44d7d9:0x374,_0x48c550:0x43,_0xb27971:0x139,_0x188569:0x173,_0x4db2c1:0xeb,_0x32bc0c:0x643,_0x270808:0x48b,_0x1ef6f6:0x376,_0xdef2c8:0x4c6,_0x1d0af2:0x42c},_0x1e84f6={_0x16caea:0xb8,_0x410af9:0xc,_0x487910:0x2b2,_0x435349:0x1d5,_0x44abd8:0x318,_0x31f8f5:0x1ed,_0x547506:0x196,_0x11e224:0x1,_0x35986d:0x116,_0x56e70f:0x27,_0x4340ca:0x3e2,_0x261651:0x117,_0x54f8a4:0x85,_0x4360ad:0x281,_0xa283f9:0x9f,_0x2f3d28:0x212,_0x4d5ea6:0xdf,_0x265bab:0x2c,_0x4ee2fd:0x3d,_0xa83f6c:0x178},_0x289dc3={_0x1b9506:0x56a,_0x27087a:0x1a9},_0x10da00={_0x302c5e:0x2d3},_0x4d2d72={_0x3976bb:0x10f,_0x42164c:0x3cc,_0x4019c4:0x124};function _0x1f9218(_0x300ad7,_0x4e08fb,_0x390287,_0x4cf552){return _0x151cc1(_0x300ad7-_0x4d2d72._0x3976bb,_0x300ad7- -_0x4d2d72._0x42164c,_0x390287,_0x4cf552-_0x4d2d72._0x4019c4);}const _0x4935f1=createMcpToolName(_0x854d9a['serverName'],_0x854d9a['tool']['name']);function _0x172b4c(_0x1f6b75,_0x325331,_0x2e2823,_0x171cb3){return _0x151cc1(_0x1f6b75-0x16a,_0x325331-_0x10da00._0x302c5e,_0x171cb3,_0x171cb3-0x151);}return defineTool({'name':_0x4935f1,'permissionClass':_0x854d9a[_0x172b4c(_0x442a6e._0x166d30,_0x442a6e._0x65117d,_0x442a6e._0x598ff9,_0x442a6e._0x1a505c)],..._0x854d9a[_0x1f9218(0x134,_0x442a6e._0x12e763,_0x442a6e._0x1d33cb,_0x442a6e._0x1064be)]!==void 0x0?{'internalLifecycle':_0x854d9a[_0x172b4c(0x7d4,0x7d3,_0x442a6e._0x309443,0x954)]}:{},'description':_0x854d9a[_0x1f9218(-_0x442a6e._0x153c2a,0x27,-_0x442a6e._0x19bde2,-_0x442a6e._0x247335)][_0x172b4c(_0x442a6e._0x3f7bd4,0x561,_0x442a6e._0x5d27ec,0x5d9)]??_0x172b4c(0x602,_0x442a6e._0x1afab1,0x3a9,_0x442a6e._0x44d7d9)+_0x854d9a[_0x1f9218(-0x1a9,-0x22b,-0x2ce,-0x12f)][_0x1f9218(_0x442a6e._0x48c550,-_0x442a6e._0xb27971,0x1b6,_0x442a6e._0x188569)]+_0x1f9218(-0x3e,-_0x442a6e._0x4db2c1,0x147,-0x82)+_0x854d9a[_0x172b4c(_0x442a6e._0x32bc0c,_0x442a6e._0x270808,0x363,0x597)],'inputSchema':toNuvinToolSchema(_0x854d9a[_0x1f9218(-0x1a9,-0x2eb,-0x17,-0x36c)][_0x172b4c(_0x442a6e._0x1ef6f6,_0x442a6e._0xdef2c8,_0x442a6e._0x1d0af2,0x341)]),async *'execute'(_0x3ec60e){const _0x3cf236={_0x5f4718:0x14e,_0x460505:0x6e3,_0x25ea7c:0x141};let _0x185de2;try{_0x185de2=await _0x854d9a[_0x138b16(0x176,0x17b,-_0x1e84f6._0x16caea,_0x1e84f6._0x410af9)][_0x138b16(_0x1e84f6._0x487910,0x3c0,_0x1e84f6._0x435349,0x25b)]({'name':_0x854d9a[_0x537b48(-0xdf,-_0x1e84f6._0x44abd8,-0x28b,-_0x1e84f6._0x31f8f5)][_0x537b48(_0x1e84f6._0x547506,0x103,0x8d,-_0x1e84f6._0x11e224)],'arguments':isJsonObject(_0x3ec60e)?_0x3ec60e:{}});if(_0x185de2[_0x138b16(0xa4,-_0x1e84f6._0x35986d,0x102,_0x1e84f6._0x56e70f)])throw toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0xdc,-_0x1e84f6._0x4340ca,-0x399,-0x258)],'operation':_0x138b16(-_0x1e84f6._0x261651,-0xa1,-0x9,-_0x1e84f6._0x54f8a4),'error':_0x185de2});}catch(_0xd6c803){throw extractOwnedMcpSafeError(_0xd6c803)??toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0x39d,-_0x1e84f6._0x4360ad,-0x270,-0x258)],'operation':'toolCall','error':_0xd6c803});}yield createToolOutput(formatMcpContent(_0x185de2),{'serverName':_0x854d9a[_0x138b16(_0x1e84f6._0xa283f9,-_0x1e84f6._0x2f3d28,-0x231,-_0x1e84f6._0x4d5ea6)],'toolName':_0x854d9a['tool'][_0x138b16(-_0x1e84f6._0x265bab,0x8,-_0x1e84f6._0x4ee2fd,_0x1e84f6._0xa83f6c)],'result':_0x185de2});function _0x138b16(_0x2a4bec,_0x4755af,_0x40fe53,_0x3068f9){return _0x172b4c(_0x2a4bec-0x6e,_0x3068f9- -_0x289dc3._0x1b9506,_0x40fe53-_0x289dc3._0x27087a,_0x2a4bec);}function _0x537b48(_0x3d39b8,_0x318d9e,_0x35c73f,_0x6e66e4){return _0x172b4c(_0x3d39b8-_0x3cf236._0x5f4718,_0x6e66e4- -_0x3cf236._0x460505,_0x35c73f-_0x3cf236._0x25ea7c,_0x318d9e);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x2996f9){let _0x353f19=_0x2996f9;return{'get'(){return _0x353f19;},'set'(_0x26b99f){_0x353f19=_0x26b99f;}};}function resolveMcpTimeoutMs(_0x45a817,_0x26e8c1){const _0x447ed9={_0x458aef:0x2a4,_0x7647cf:0x1ef,_0x723be1:0x212},_0x2edc02={_0x3c3b07:0x57};function _0x31cc9f(_0x36274b,_0x164408,_0x5f1128,_0x1f97bd){return _0x151cc1(_0x36274b-0x93,_0x5f1128-_0x2edc02._0x3c3b07,_0x1f97bd,_0x1f97bd-0x111);}return _0x45a817[_0x31cc9f(_0x447ed9._0x458aef,0x1a7,_0x447ed9._0x7647cf,_0x447ed9._0x723be1)]??_0x26e8c1??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x21a4a6,_0x2cd505){return(_0x2cd505?extractOwnedMcpSafeError(_0x21a4a6['error']):void 0x0)??createOwnedMcpSafeError(_0x21a4a6);}function createMcpGenerationLifecycle(_0x437589){const _0x418f14={_0x336a52:0x104,_0x527a40:0xb1,_0x483b6e:0x1d},_0xbbfc55={_0x163d15:0x20c},_0x31a418={_0x29d584:0x65,_0x100c94:0x7f,_0x358be8:0x1b3,_0x31b983:0x29a,_0x47a067:0x1e5},_0x2431d3={_0x1c5732:0x249};let _0x5e9def=0x0,_0x47f7e9=![],_0x495b35=![],_0x4c9f4a,_0x5592a8,_0x457fc6;const _0x1ec8c4=()=>{function _0x117e9c(_0x119dbe,_0x459d51,_0x3240de,_0xae620a){return _0x5041(_0xae620a- -_0x2431d3._0x1c5732,_0x119dbe);}if(!_0x47f7e9||_0x5e9def!==0x0||_0x495b35)return;_0x495b35=!![];function _0x37e334(_0x37ae78,_0xdb2bef,_0x5eddf3,_0x142e15){return _0x5041(_0x5eddf3- -0x28f,_0xdb2bef);}void Promise[_0x117e9c(0x105,-0x125,_0x31a418._0x29d584,_0x31a418._0x100c94)]()[_0x37e334(0x2d7,0xcd,_0x31a418._0x358be8,0x251)](_0x437589)[_0x37e334(0x16b,_0x31a418._0x31b983,0x1b3,_0x31a418._0x47a067)](_0x5592a8,_0x457fc6);};return{'acquire'(){if(_0x47f7e9)throw new Error(_0x2b5ddd(_0x418f14._0x336a52,_0x418f14._0x527a40,-0xd0,_0x418f14._0x483b6e));_0x5e9def+=0x1;let _0x52b76f=![];function _0x2b5ddd(_0x19b40e,_0x4adc7e,_0x16e151,_0x48e171){return _0x5041(_0x4adc7e- -_0xbbfc55._0x163d15,_0x19b40e);}return()=>{if(_0x52b76f)return;_0x52b76f=!![],_0x5e9def-=0x1,_0x1ec8c4();};},'retire'(){return!_0x4c9f4a&&(_0x4c9f4a=new Promise((_0x414630,_0xa875b7)=>{_0x5592a8=_0x414630,_0x457fc6=_0xa875b7;})),_0x47f7e9=!![],_0x1ec8c4(),_0x4c9f4a;}};}function buildMcpHttpHeaders(_0x1eee2b){const _0x41a020={_0xb18ff2:0x246,_0x4cbc78:0x281,_0x433ca5:0x237,_0x26887c:0x235,_0x501b35:0x514,_0x8c8be9:0x6e9,_0x3c4e95:0x8c0,_0x193934:0x817,_0x11ac3c:0x6c2,_0x554c41:0x8a2,_0x2369b7:0x789,_0x457fb7:0x1bb,_0x59b3cf:0x24a,_0x14b404:0xd8,_0x58e732:0xa8},_0x57922d={_0x5c5572:0x6c7},_0xad3c2={_0x75a573:0x141},_0x524186={..._0x1eee2b[_0x5286e1(_0x41a020._0xb18ff2,0x120,0x26a,_0x41a020._0x4cbc78)]??{}};function _0x5286e1(_0x52ef60,_0x44f71b,_0x8c00c9,_0x1f1876){return _0x1ac42a(_0x52ef60-0xc2,_0x44f71b-0x140,_0x52ef60-_0xad3c2._0x75a573,_0x44f71b);}_0x1eee2b[_0x5286e1(0x258,_0x41a020._0x433ca5,0x3b8,_0x41a020._0x26887c)]?.['type']===_0x5c4c55(_0x41a020._0x501b35,0x423,0x76c,0x5e9)&&_0x1eee2b[_0x5c4c55(0x886,0x74a,_0x41a020._0x8c8be9,0x7de)][_0x5c4c55(_0x41a020._0x3c4e95,_0x41a020._0x193934,0x683,0x789)]&&_0x524186[_0x5c4c55(0x70b,0x605,0x5b8,_0x41a020._0x11ac3c)]===void 0x0&&(_0x524186['Authorization']='Bearer\x20'+_0x1eee2b['auth'][_0x5c4c55(0x8e5,_0x41a020._0x554c41,0x756,_0x41a020._0x2369b7)]);function _0x5c4c55(_0x3deed5,_0x218b15,_0x17416c,_0x40bebb){return _0x1ac42a(_0x3deed5-0x187,_0x218b15-0x19a,_0x40bebb-_0x57922d._0x5c5572,_0x3deed5);}return Object[_0x5286e1(0x178,0xdf,_0x41a020._0x457fb7,0x20)](_0x524186)[_0x5286e1(_0x41a020._0x59b3cf,0x1f3,_0x41a020._0x14b404,_0x41a020._0x58e732)]>0x0?_0x524186:void 0x0;}function _0x1ac42a(_0x524bf5,_0x3ab1d5,_0x5f2f73,_0x1df016){return _0x5041(_0x5f2f73- -0x32a,_0x1df016);}async function connectMcpServer(_0x22931a,_0x3abbfe,_0x28191f){const _0x29cca1={_0x157468:0x57a,_0x47ccc7:0x526,_0x518a20:0x4ba,_0x21af7c:0x691,_0x3a7ffc:0xc6,_0x4bfba4:0x21,_0x275201:0x253,_0x106268:0x398,_0x24d195:0x121,_0x106ec8:0x11,_0x292325:0x7d5,_0x55216d:0x819,_0x1eb6a1:0x144,_0x23272f:0x21a,_0x24e905:0x22d,_0x222e09:0x49e,_0x871eec:0x28e,_0xacd9c7:0x28f,_0x1ba30f:0x70,_0x13195f:0x9,_0x4f5e76:0x708,_0x2bd9c4:0x14b,_0x13827b:0x13a,_0x3bbd8e:0x36,_0x5cf938:0x282,_0x501d29:0x148,_0x478653:0xb6,_0x1c1c34:0x6d3,_0x5b73f9:0x61d,_0x3aeeee:0x6fc,_0x177045:0x672,_0x579905:0x83c,_0x301e70:0x7b2,_0x4a32bb:0x508,_0x436f64:0x672,_0x410f92:0x386,_0xbfc8f8:0x4f1,_0x3600c7:0x508,_0x5e2a6c:0x451,_0x4dd5e7:0x4ac,_0x547c52:0x10c,_0x3701a5:0x101,_0x1038d8:0x50,_0x3d0efb:0x9b,_0xed66c4:0x42f,_0x320d26:0x4ba,_0x4c7e05:0x5b9,_0x28ebc9:0x572,_0x179ad2:0x455,_0x350a8c:0xc1,_0x54cd74:0x118,_0x1fe78b:0x92,_0x284899:0x4c,_0x3360fb:0x3e1,_0x2275de:0xe0,_0x8f7cf6:0x189,_0x3035c1:0x23,_0x23b7b3:0x232,_0x1a16bc:0x478,_0xcc3041:0x3f6,_0x29f37d:0x60b,_0x5d7dbd:0x5d6,_0x2b52f8:0x272,_0x81dc9b:0x2da,_0x244c74:0x394,_0x3fcc16:0x556},_0x4a513a={_0x4b9dcd:0x3f4,_0x791ff8:0x21e,_0x269c60:0x550,_0xb4b891:0x443,_0x418c99:0x29e,_0xb6ecfe:0x313,_0x8c9cc4:0x254,_0x4b0d7e:0x11b,_0x5a7237:0x145},_0x2786ae={_0x2ea628:0x15e,_0x313341:0x152},_0x20e47f={_0xa2c0c9:0x714,_0x56aedd:0x64c,_0x4305bb:0x4c,_0x428661:0x255},_0x4b6596={_0x243537:0x137},_0xf8857d={_0x202cbd:0x33c,_0x53d331:0x25d,_0x196497:0x1e9},_0x41fd49={_0x41fab9:0x3c8,_0x2a847b:0x18d},_0x42c245={_0x4beaf9:0xd7,_0x4e60eb:0x237,_0xe22863:0x14b,_0x5e7ec5:0x2d6,_0x3b42f7:0x113,_0x3ebc5d:0x26b,_0x4bc73b:0x317,_0xa7cdf0:0x36c,_0x4417b7:0x3c1,_0x5c5fa6:0x25c,_0x3e8b6d:0x156},_0x57638b={_0xaca627:0x101},_0xab6d7={_0x550c5c:0x1ed,_0x3fc8e3:0x2fb,_0x2e4d11:0x290,_0x239a60:0x3e6,_0x26990c:0x20c,_0x229308:0x2b0},_0x19d63d={_0xe1e6bd:0x56d},_0x9b203d={_0x5bc57b:0x5ea},_0x44f391={_0x13e8a4:0xec,_0x32060f:0xdf,_0x3d116d:0x1b5,_0x4d4386:0x527,_0x3de41f:0x56f},_0x3f8ab6=new Client({'name':_0x309a05(_0x29cca1._0x157468,_0x29cca1._0x47ccc7,_0x29cca1._0x518a20,0x4a0),'version':_0x309a05(0x6ea,0x7ab,0x61c,_0x29cca1._0x21af7c)}),_0x480d62=_0x28191f?.[_0x490483(-_0x29cca1._0x3a7ffc,-0x292,-_0x29cca1._0x4bfba4,-0x9)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x49b6bc=new Set();let _0x18c7d1,_0x2eb9a5=![];const _0x25ec4e=()=>{const _0xa2c2d0={_0x347688:0x10b};function _0x4c6170(_0x3e84dc,_0x19adfb,_0x5d99cb,_0x2014a5){return _0x490483(_0x3e84dc-0x1ce,_0x19adfb-_0xa2c2d0._0x347688,_0x5d99cb,_0x2014a5-0xaf);}function _0x4c05b7(_0x48d9a6,_0x8d9955,_0x3af135,_0x551680){return _0x490483(_0x551680-0x55b,_0x8d9955-0x1d2,_0x8d9955,_0x551680-0x195);}if(_0x2eb9a5||_0x18c7d1)return;_0x18c7d1={'code':_0x4c6170(-0x58,-_0x44f391._0x13e8a4,_0x44f391._0x32060f,-_0x44f391._0x3d116d),'cause':new Error(_0x4c05b7(0x43d,_0x44f391._0x4d4386,0x4b6,_0x44f391._0x3de41f))};for(const _0x1d3b30 of _0x49b6bc){try{_0x1d3b30(_0x18c7d1);}catch{}}};function _0x309a05(_0xc93f76,_0x59b72d,_0x25cbb4,_0x3c8e5a){return _0x1ac42a(_0xc93f76-0xa,_0x59b72d-0x19e,_0x25cbb4-_0x9b203d._0x5bc57b,_0xc93f76);}_0x3f8ab6[_0x490483(-_0x29cca1._0x275201,-0x381,-_0x29cca1._0x106268,-0x275)]=()=>{const _0x407159={_0x3b0afb:0x276,_0x3eaac7:0x93};function _0x2b49d2(_0xb61ddb,_0x372088,_0x266645,_0x2fd714){return _0x309a05(_0x266645,_0x372088-0x1b6,_0x2fd714- -_0x407159._0x3b0afb,_0x2fd714-_0x407159._0x3eaac7);}function _0x4ef217(_0x112847,_0x4c6c0d,_0x2fe286,_0xf5ad9b){return _0x309a05(_0xf5ad9b,_0x4c6c0d-0x1a8,_0x112847- -_0x19d63d._0xe1e6bd,_0xf5ad9b-0x1af);}console['warn'](_0x2b49d2(_0xab6d7._0x550c5c,_0xab6d7._0x3fc8e3,0x2ba,_0xab6d7._0x2e4d11),{'server':_0x22931a,'code':_0x2b49d2(_0xab6d7._0x239a60,_0xab6d7._0x26990c,0x386,_0xab6d7._0x229308)});},_0x3f8ab6[_0x490483(-0x127,-0xd3,-_0x29cca1._0x24d195,-0x2a0)]=_0x25ec4e;function _0x490483(_0x111584,_0x19299f,_0x35a0c2,_0x11c223){return _0x151cc1(_0x111584-0x5,_0x111584- -0x3f6,_0x35a0c2,_0x11c223-_0x57638b._0xaca627);}try{if(_0x3abbfe[_0x490483(-0x15,-_0x29cca1._0x106ec8,-0x1cb,0xcd)]===_0x309a05(0x8d0,_0x29cca1._0x292325,0x70b,_0x29cca1._0x55216d)||_0x3abbfe['url']){if(!_0x3abbfe[_0x490483(-_0x29cca1._0x1eb6a1,-_0x29cca1._0x23272f,-_0x29cca1._0x24e905,0x12)])throw new Error(_0x309a05(_0x29cca1._0x222e09,_0x29cca1._0x871eec,0x3e1,_0x29cca1._0xacd9c7)+_0x22931a+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x3abbfe[_0x490483(0x9e,-0xea,0x17a,0x207)]?.[_0x490483(_0x29cca1._0x1ba30f,0x56,_0x29cca1._0x13195f,0x1d6)]===_0x309a05(0x73d,0x58d,0x672,_0x29cca1._0x4f5e76)&&!_0x28191f?.[_0x490483(0xf,_0x29cca1._0x2bd9c4,-_0x29cca1._0x13827b,_0x29cca1._0x3bbd8e)])throw new Error(_0x490483(-_0x29cca1._0x5cf938,-_0x29cca1._0x501d29,-0x388,-_0x29cca1._0x478653)+_0x22931a+'\x20requires\x20OAuth\x20connection\x20options');const _0x212c17=buildMcpHttpHeaders(_0x3abbfe),_0x371de9=_0x3abbfe['auth']?.[_0x309a05(0x519,0x73c,_0x29cca1._0x1c1c34,0x560)]===_0x309a05(_0x29cca1._0x5b73f9,_0x29cca1._0x3aeeee,_0x29cca1._0x177045,_0x29cca1._0x579905)&&_0x28191f?.[_0x309a05(0x61c,0x4b9,_0x29cca1._0x177045,0x79c)]?createMcpOAuthProvider({'serverName':_0x22931a,'callbackUrl':_0x28191f[_0x309a05(_0x29cca1._0x301e70,_0x29cca1._0x4a32bb,_0x29cca1._0x436f64,0x6a5)][_0x309a05(_0x29cca1._0x410f92,_0x29cca1._0xbfc8f8,_0x29cca1._0x3600c7,_0x29cca1._0x5e2a6c)],'storageDir':_0x28191f[_0x309a05(0x4d7,_0x29cca1._0x4dd5e7,_0x29cca1._0x436f64,0x4a2)][_0x490483(-0x21b,-0x8a,-0xc7,-_0x29cca1._0x547c52)],'config':_0x3abbfe[_0x490483(0x9e,0xdf,0x24,_0x29cca1._0x3701a5)],'onRedirect':_0xdf4be=>_0x28191f[_0x490483(0xf,-0x1ae,-0x178,0x61)]?.['onRedirect'](_0x22931a,_0xdf4be)}):void 0x0,_0x5cf67f=new StreamableHTTPClientTransport(new URL(_0x3abbfe['url']),{'authProvider':_0x371de9,'requestInit':_0x212c17?{'headers':_0x212c17}:void 0x0});await _0x3f8ab6[_0x490483(-0x10d,_0x29cca1._0x1038d8,_0x29cca1._0x3d0efb,-0xb3)](_0x5cf67f,{'timeout':_0x480d62[_0x309a05(0x5cb,0x6ad,0x5d6,_0x29cca1._0xed66c4)](),..._0x28191f?.[_0x309a05(_0x29cca1._0x320d26,_0x29cca1._0x4c7e05,0x3f1,0x4e3)]!==void 0x0?{'signal':_0x28191f[_0x309a05(_0x29cca1._0x28ebc9,0x282,0x3f1,_0x29cca1._0x179ad2)]}:{}});}else{if(!_0x3abbfe[_0x490483(-_0x29cca1._0x350a8c,-_0x29cca1._0x54cd74,_0x29cca1._0x1fe78b,-_0x29cca1._0x284899)])throw new Error(_0x309a05(0x539,0x21b,_0x29cca1._0x3360fb,0x4bd)+_0x22931a+_0x490483(_0x29cca1._0x2275de,_0x29cca1._0x8f7cf6,0xc9,-0x7));const _0x886fee=new StdioClientTransport({'command':_0x3abbfe[_0x490483(-0xc1,_0x29cca1._0x3035c1,-_0x29cca1._0x23b7b3,-0x184)],'args':_0x3abbfe[_0x309a05(_0x29cca1._0x1a16bc,0x649,0x56a,0x66d)]??[],'env':_0x3abbfe[_0x309a05(_0x29cca1._0xcc3041,0x614,0x5a9,0x674)],'stderr':_0x309a05(_0x29cca1._0x29f37d,0x395,0x480,0x590)});await _0x3f8ab6['connect'](_0x886fee,{'timeout':_0x480d62[_0x309a05(0x65d,0x632,_0x29cca1._0x5d7dbd,0x57f)](),..._0x28191f?.[_0x490483(-_0x29cca1._0x2b52f8,-0x430,-0x230,-0x1f0)]!==void 0x0?{'signal':_0x28191f[_0x490483(-0x272,-_0x29cca1._0x81dc9b,-0x36c,-0x239)]}:{}});}}catch(_0x25f3c3){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x309a05(0x510,_0x29cca1._0x244c74,_0x29cca1._0x3fcc16,0x505),'error':_0x25f3c3});}return{async 'listTools'(_0x40bfaf){const _0x4050fe={_0x50c18c:0x1d0},_0x57ea4f={_0x4ef988:0x37,_0x3b11d3:0x34};function _0x56876a(_0x464517,_0x4d7ff8,_0x5a19fe,_0x55f1ca){return _0x309a05(_0x5a19fe,_0x4d7ff8-_0x57ea4f._0x4ef988,_0x55f1ca- -0x53c,_0x55f1ca-_0x57ea4f._0x3b11d3);}function _0x453d28(_0x1d94aa,_0x4df8cf,_0x253f11,_0x567f5f){return _0x309a05(_0x567f5f,_0x4df8cf-0x1ca,_0x1d94aa- -0x11b,_0x567f5f-_0x4050fe._0x50c18c);}const _0x527824=_0x40bfaf?.[_0x56876a(-_0x42c245._0x4beaf9,-_0x42c245._0x4e60eb,-0xc3,-_0x42c245._0xe22863)]??_0x28191f?.[_0x453d28(_0x42c245._0x5e7ec5,_0x42c245._0x3b42f7,0x1cf,_0x42c245._0x3ebc5d)];try{return await _0x3f8ab6['listTools'](void 0x0,{'timeout':_0x480d62[_0x453d28(0x4bb,_0x42c245._0x4bc73b,_0x42c245._0xa7cdf0,_0x42c245._0x4417b7)](),..._0x527824!==void 0x0?{'signal':_0x527824}:{}});}catch(_0x4181a9){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x56876a(-0x207,-0x1d3,-_0x42c245._0x5c5fa6,-_0x42c245._0x3e8b6d),'error':_0x4181a9});}},'onTerminalError'(_0x2de4bc){const _0x579f8f={_0x42c489:0x100};_0x49b6bc[_0x553855(0x41c,_0xf8857d._0x202cbd,_0xf8857d._0x53d331,_0xf8857d._0x196497)](_0x2de4bc);const _0x7b0939=_0x18c7d1;_0x7b0939&&queueMicrotask(()=>{if(_0x49b6bc['has'](_0x2de4bc))_0x2de4bc(_0x7b0939);});function _0x553855(_0x5166f0,_0x166e31,_0x516e1f,_0x291e8e){return _0x490483(_0x516e1f-0x23f,_0x166e31-0x2,_0x5166f0,_0x291e8e-_0x579f8f._0x42c489);}function _0x313737(_0x3b250e,_0x663422,_0x708013,_0x77aad4){return _0x490483(_0x77aad4-_0x41fd49._0x41fab9,_0x663422-_0x41fd49._0x2a847b,_0x708013,_0x77aad4-0x10c);}return()=>_0x49b6bc[_0x313737(0x100,0x36f,0x173,0x1c6)](_0x2de4bc);},async 'callTool'(_0x881df7){const _0x111956={_0x4dd1a6:0x744,_0x1ffc02:0x41,_0x2065c9:0x15d};function _0x2fc3c8(_0x287453,_0x486356,_0x4d70a6,_0x4833b4){return _0x490483(_0x4d70a6-_0x111956._0x4dd1a6,_0x486356-_0x111956._0x1ffc02,_0x486356,_0x4833b4-_0x111956._0x2065c9);}function _0xb3bb8d(_0x1bfc7b,_0x1cd3ad,_0x5af407,_0x2aaacf){return _0x309a05(_0x1bfc7b,_0x1cd3ad-0x17,_0x1cd3ad- -0x58b,_0x2aaacf-_0x4b6596._0x243537);}try{return await _0x3f8ab6[_0x2fc3c8(0x792,_0x20e47f._0xa2c0c9,0x6c9,_0x20e47f._0x56aedd)]({'method':'tools/call','params':_0x881df7},CallToolResultSchema,{'timeout':_0x480d62['get']()});}catch(_0x3987f4){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0xb3bb8d(-0x226,-0x10c,_0x20e47f._0x4305bb,-_0x20e47f._0x428661),'error':_0x3987f4});}},async 'close'(){const _0x2f6f43={_0x3314c0:0x111,_0x46f441:0x1ab};_0x2eb9a5=!![];function _0x2dc443(_0x3e79b4,_0x51146c,_0x4e8958,_0x543b43){return _0x309a05(_0x51146c,_0x51146c-_0x2f6f43._0x3314c0,_0x543b43- -_0x2f6f43._0x46f441,_0x543b43-0x58);}function _0x4351de(_0x1b5629,_0x4e8419,_0x77ecaa,_0x25c5b1){return _0x490483(_0x25c5b1-0x7f,_0x4e8419-_0x2786ae._0x2ea628,_0x1b5629,_0x25c5b1-_0x2786ae._0x313341);}_0x3f8ab6[_0x2dc443(_0x4a513a._0x4b9dcd,0x14d,0x3e6,0x265)]=void 0x0,_0x3f8ab6[_0x2dc443(_0x4a513a._0x791ff8,0x322,_0x4a513a._0x269c60,0x391)]=void 0x0,_0x49b6bc[_0x2dc443(0x405,_0x4a513a._0xb4b891,_0x4a513a._0x418c99,_0x4a513a._0xb6ecfe)]();try{await _0x3f8ab6[_0x4351de(_0x4a513a._0x8c9cc4,_0x4a513a._0x4b0d7e,0xbc,_0x4a513a._0x5a7237)]();}catch(_0x48f483){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':'close','error':_0x48f483});}}};}async function createMcpConnectionGeneration(_0x4a3445){const _0x234081={_0x231593:0xcb,_0x7a2772:0x318,_0x194e66:0x1bc,_0x1f19e5:0x115,_0x406f84:0xe2,_0x4cfb47:0x22c,_0x3ffe64:0x332,_0x9a4769:0x1a4,_0x291dcb:0x2a,_0x5acaca:0x118,_0x4f6986:0x1c6,_0x1878e5:0xf8,_0x20a3f0:0xe4,_0x31bbeb:0x1cd,_0x5781ee:0xf0,_0x1f9bca:0x4d,_0x3edb41:0x14e,_0x579749:0x56,_0x515515:0x188,_0x4063b0:0x288,_0x51713c:0xfa,_0x4c180e:0x14c,_0x485ab0:0x8a,_0x45f5db:0xc1,_0x4ff6cb:0x2ec,_0x2ab3a9:0x123,_0x1f2a48:0x2dc,_0x2c27ba:0x38f},_0x28e86f={_0x252e08:0x21f,_0x1083fc:0x54},_0x10f815={_0x26b146:0x1b7,_0x4a8d40:0x1b},_0x48635e={_0x3c020b:0x601,_0x1ef53f:0x744},_0x23e0cf={_0x1fab00:0x81c,_0x1171c6:0x6bb},_0x27ce83={_0x2a17cd:0x181},_0x3d5cae={_0x235c94:0x5dc,_0x268614:0x693,_0x1376f3:0x725,_0x2b2092:0x5b1,_0x4de0bb:0x421,_0x2f1af3:0x7c5,_0x512068:0x682},_0x566873={_0x1bda84:0x140,_0x99c540:0x22a,_0x34aacc:0x138,_0x3ba379:0x2b2,_0xdd1c67:0x58,_0x1af712:0x165},_0x270bfc={_0x1b098c:0x28d},_0x121d70={_0x551f40:0x4,_0x161136:0x5d,_0x3fa4f5:0x55,_0x8b0968:0xe7},_0x586c99={_0x587089:0x1bc,_0x224f21:0x9c},_0xbe7903={_0x4be5d6:0x167},_0x50ab27=_0x4a3445[_0x41fa89(_0x234081._0x231593,0x117,_0x234081._0x7a2772,_0x234081._0x194e66)]??connectMcpServer,_0x381f2e=_0x4a3445[_0x94ead9(-_0x234081._0x1f19e5,_0x234081._0x406f84,-0x36,0x4d)]===void 0x0,_0x32712f={..._0x4a3445[_0x41fa89(_0x234081._0x4cfb47,0x2b7,_0x234081._0x3ffe64,_0x234081._0x9a4769)],'timeoutSource':_0x4a3445['timeoutSource'],..._0x4a3445[_0x94ead9(-0xa4,0x3a,-_0x234081._0x291dcb,-_0x234081._0x5acaca)]!==void 0x0?{'signal':_0x4a3445['signal']}:{}};let _0x2c554f;function _0x94ead9(_0x5fcac3,_0x40738e,_0x31b5b1,_0x2da8a9){return _0x151cc1(_0x5fcac3-0x18d,_0x2da8a9- -0x29c,_0x40738e,_0x2da8a9-_0xbe7903._0x4be5d6);}try{_0x2c554f=await _0x50ab27(_0x4a3445[_0x94ead9(-_0x234081._0x4f6986,-_0x234081._0x1878e5,-0x96,-_0x234081._0x20a3f0)],_0x4a3445['config'],_0x32712f);}catch(_0x519998){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(0x179,_0x234081._0x31bbeb,-_0x234081._0x5781ee,_0x234081._0x1f9bca),'error':_0x519998},_0x381f2e);}const _0x149d84=new Set();let _0xdc4de0;const _0x3383e4=_0x2c554f[_0x94ead9(-0x85,-0xd0,-_0x234081._0x3edb41,_0x234081._0x579749)]?.(_0xb191ee=>{if(_0xdc4de0)return;_0xdc4de0=_0xb191ee;for(const _0x1d804c of _0x149d84)_0x1d804c(_0xb191ee);});let _0x559d7e=![];function _0x41fa89(_0x22bc6f,_0x3289c5,_0x4e815f,_0x26a75f){return _0x151cc1(_0x22bc6f-0x185,_0x26a75f- -0x12d,_0x22bc6f,_0x26a75f-0x173);}const _0x268b45=()=>{if(_0x559d7e)return;function _0x6355cc(_0xa055f7,_0x4e742c,_0x249966,_0x5e5820){return _0x94ead9(_0xa055f7-_0x586c99._0x587089,_0x249966,_0x249966-0x177,_0x5e5820- -_0x586c99._0x224f21);}_0x559d7e=!![],_0x149d84[_0x6355cc(_0x121d70._0x551f40,-_0x121d70._0x161136,-_0x121d70._0x3fa4f5,-_0x121d70._0x8b0968)](),_0x3383e4?.();};let _0x2377e8;try{_0x2377e8=await _0x2c554f[_0x94ead9(_0x234081._0x515515,_0x234081._0x4063b0,-0xa9,_0x234081._0x51713c)](_0x4a3445[_0x94ead9(-_0x234081._0x4c180e,-0x57,_0x234081._0x485ab0,-0x118)]!==void 0x0?{'signal':_0x4a3445['signal']}:void 0x0);}catch(_0x2c1d39){const _0x12e184=mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(-_0x234081._0x45f5db,-0x2c1,-_0x234081._0x4ff6cb,-_0x234081._0x2ab3a9),'error':_0x2c1d39},_0x381f2e);_0x268b45();try{await _0x2c554f[_0x41fa89(0x1f2,_0x234081._0x1f2a48,0x55a,_0x234081._0x2c27ba)]();}catch{}throw _0x12e184;}const _0x5e35e7=[..._0x2377e8['tools']],_0x523d43={async 'callTool'(_0x2e2c8f){const _0x13c6ac={_0x28b3e2:0x2a};function _0x50cdb2(_0x2b0f25,_0x3d6a0,_0xdfd7f4,_0x471588){return _0x94ead9(_0x2b0f25-_0x13c6ac._0x28b3e2,_0x3d6a0,_0xdfd7f4-0x19f,_0x2b0f25-0x29f);}function _0x4c171c(_0x44fab2,_0x32babd,_0x5b1658,_0x3ad6f0){return _0x41fa89(_0x5b1658,_0x32babd-0x7a,_0x5b1658-0x1c5,_0x3ad6f0- -_0x270bfc._0x1b098c);}try{return await _0x2c554f[_0x4c171c(0x228,_0x566873._0x1bda84,_0x566873._0x99c540,_0x566873._0x34aacc)](_0x2e2c8f);}catch(_0x81192a){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x4c171c(-_0x566873._0x3ba379,-0x27f,-0x2f3,-0x202)],'operation':_0x4c171c(-_0x566873._0xdd1c67,-0x202,-_0x566873._0x1af712,-0x1a8),'error':_0x81192a},_0x381f2e);}}},_0x277426=createMcpGenerationLifecycle(async()=>{const _0x1893c3={_0x2db8f1:0x80,_0x3eef81:0x505},_0x22941e={_0x3ea496:0xc7};_0x268b45();function _0x562f53(_0x4d401d,_0x439d4f,_0x2008bd,_0x138405){return _0x94ead9(_0x4d401d-0x25,_0x138405,_0x2008bd-_0x22941e._0x3ea496,_0x4d401d-0x27a);}function _0x13953a(_0x375c67,_0x4ab967,_0x22f778,_0x4e70c9){return _0x94ead9(_0x375c67-_0x1893c3._0x2db8f1,_0x22f778,_0x22f778-0x50,_0x4e70c9-_0x1893c3._0x3eef81);}try{await _0x2c554f[_0x13953a(_0x3d5cae._0x235c94,_0x3d5cae._0x268614,0x621,_0x3d5cae._0x1376f3)]();}catch(_0xa88208){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x13953a(_0x3d5cae._0x2b2092,0x485,0x41a,_0x3d5cae._0x4de0bb)],'operation':_0x13953a(_0x3d5cae._0x2f1af3,0x616,_0x3d5cae._0x512068,_0x3d5cae._0x1376f3),'error':_0xa88208},_0x381f2e);}});return{'client':_0x2c554f,'descriptors':_0x5e35e7,'lifecycle':_0x277426,'projectTools'(_0x30da01){return projectMcpTools({..._0x30da01,'descriptors':_0x5e35e7,'client':_0x523d43,'lifecycle':_0x277426});},'onTerminalError'(_0x4171f2){const _0x2a8b6e={_0x470f6c:0x13},_0xe41c6e={_0x32c661:0x1a9,_0x1aba62:0x90};function _0x21bd96(_0x16db07,_0x404678,_0x32b701,_0x2283f0){return _0x41fa89(_0x2283f0,_0x404678-_0xe41c6e._0x32c661,_0x32b701-_0xe41c6e._0x1aba62,_0x404678-0x31a);}if(_0x559d7e)return()=>{};_0x149d84[_0x21bd96(0x536,_0x48635e._0x3c020b,0x478,_0x48635e._0x1ef53f)](_0x4171f2);function _0x2b380b(_0x51669b,_0x4e0466,_0x34f8d7,_0x2fe130){return _0x94ead9(_0x51669b-0xbe,_0x51669b,_0x34f8d7-_0x27ce83._0x2a17cd,_0x34f8d7- -0x12c);}const _0x37a1ca=_0xdc4de0;return _0x37a1ca&&queueMicrotask(()=>{function _0x3a857c(_0x4ac091,_0x78c8fa,_0x51926c,_0x4bc404){return _0x21bd96(_0x4ac091-0x1ac,_0x78c8fa-0xbc,_0x51926c-_0x2a8b6e._0x470f6c,_0x4ac091);}if(_0x149d84[_0x3a857c(_0x23e0cf._0x1fab00,_0x23e0cf._0x1171c6,0x78a,0x592)](_0x4171f2))_0x4171f2(_0x37a1ca);}),()=>_0x149d84[_0x21bd96(0x289,0x3e1,0x5a9,0x437)](_0x4171f2);},'retire'(){function _0x1a4dcb(_0xc10b5e,_0x3830a7,_0x41b889,_0x22e1b4){return _0x41fa89(_0x41b889,_0x3830a7-_0x10f815._0x26b146,_0x41b889-0x1d2,_0xc10b5e- -_0x10f815._0x4a8d40);}return _0x268b45(),_0x277426[_0x1a4dcb(0x20a,_0x28e86f._0x252e08,0x27e,_0x28e86f._0x1083fc)]();}};}function getCommand(_0x10d171){const _0x196851={_0xa7c811:0x33,_0x488432:0x203,_0x5dc1af:0x105,_0x469f96:0x9c,_0x36e9d8:0xb9,_0x2a6202:0x89,_0x303926:0x77},_0x280d50={_0x1fc55a:0x10a},_0x4f6bd6={_0x1d304b:0xf4};function _0xa0482a(_0x2f18af,_0xd6e7b6,_0x408b4e,_0x1f6185){return _0x1ac42a(_0x2f18af-_0x4f6bd6._0x1d304b,_0xd6e7b6-0x182,_0x1f6185-0xc2,_0x408b4e);}function _0x1ac77a(_0x2c710c,_0x453d44,_0x110f3c,_0x826912){return _0x1ac42a(_0x2c710c-0xea,_0x453d44-_0x280d50._0x1fc55a,_0x826912- -0x54,_0x2c710c);}if(_0x10d171&&typeof _0x10d171==='object'&&!Array['isArray'](_0x10d171)&&typeof _0x10d171['command']===_0xa0482a(0x6d,_0x196851._0xa7c811,-_0x196851._0x488432,-_0x196851._0x5dc1af))return _0x10d171[_0x1ac77a(-0x260,-0x1c7,-0x247,-_0x196851._0x469f96)];return _0xa0482a(-_0x196851._0x36e9d8,0xbc,_0x196851._0x2a6202,_0x196851._0x303926);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x151cc1(0x33e,0x43c,0x54b,0x609),_0x1ac42a(0x100,0x41,-0x2f,0x11e),_0x151cc1(0x2d5,0x39d,0x528,0x25a),'src/agent/agent.ts',_0x1ac42a(0x23,-0x131,-0xfe,-0x1a),_0x1ac42a(-0x5d,-0xcc,-0x21,0x70),_0x151cc1(0x3d2,0x41f,0x554,0x419),'src/models/mock-model.ts',_0x151cc1(0x359,0x196,0x22e,0x72),_0x1ac42a(-0x2c,0x114,0x144,0x12),_0x1ac42a(0x176,0xc4,0xa5,0xf3),'src/shared/types.ts',_0x151cc1(0x5e9,0x460,0x3f1,0x4f0),_0x151cc1(0x137,0x1bf,0x31e,0x110),_0x151cc1(0x332,0x2d4,0x1a8,0x332),_0x1ac42a(0x22,-0xc2,-0x164,-0xc3)][_0x151cc1(0x648,0x4b9,0x46a,0x3e8)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x1ac42a(-0x13a,-0x36,0x52,-0x9a),'description':_0x1ac42a(-0xec,-0x2e,0x96,-0x1e),'input_schema':{'type':_0x151cc1(0x1f1,0x169,0x22e,-0x4c),'properties':{'command':{'type':'string'}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22c7b6){return{'output':_0x22c7b6,'structured':{'value':_0x22c7b6}};}function createUnknownToolResult(_0x24bec1){const _0x5791b4={_0x20f172:0x694,_0x34bdd4:0x5a3,_0xfbc42f:0x683,_0x59d614:0x597},_0x4d248d={_0x3a54fb:0x181,_0x42e227:0x21},_0x2681e8={_0x580418:0x127,_0x38ee5c:0x3df};function _0xa8a19c(_0x3db13e,_0x2e9956,_0x27c93b,_0x43baa1){return _0x1ac42a(_0x3db13e-_0x2681e8._0x580418,_0x2e9956-0x188,_0x27c93b-_0x2681e8._0x38ee5c,_0x2e9956);}function _0x33793c(_0x52ee61,_0x3f935e,_0x398939,_0x4f970d){return _0x1ac42a(_0x52ee61-_0x4d248d._0x3a54fb,_0x3f935e-_0x4d248d._0x42e227,_0x52ee61-0x602,_0x4f970d);}return{'callId':_0x24bec1['id'],'toolName':_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0x34bdd4,0x656,0x5b0)],'status':'error','output':'Unknown\x20tool:\x20'+_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0xfbc42f,_0x5791b4._0x59d614,0x53e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x15b91d,_0x20f476){const _0x4b0700={_0x1439dd:0x54e,_0x72e6d4:0x60a,_0x934ccd:0x12e,_0xd11648:0x2b6,_0x1e317d:0x4f},_0x5702a5={_0x41ea1f:0x29,_0xf415de:0x4f},_0x2b9180={_0x264155:0x11a};function _0x23a60d(_0xc6b62a,_0x38fc20,_0x19946a,_0x597a74){return _0x1ac42a(_0xc6b62a-0x10c,_0x38fc20-_0x2b9180._0x264155,_0x597a74-0x578,_0x38fc20);}function _0x41ab7f(_0x35b6d8,_0x3772ee,_0x217c1e,_0x26a799){return _0x1ac42a(_0x35b6d8-0x1b0,_0x3772ee-_0x5702a5._0x41ea1f,_0x35b6d8-_0x5702a5._0xf415de,_0x26a799);}return{'callId':_0x15b91d['id'],'toolName':_0x15b91d[_0x23a60d(_0x4b0700._0x1439dd,0x518,0x74e,_0x4b0700._0x72e6d4)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x15b91d[_0x41ab7f(_0x4b0700._0x934ccd,0x1bc,_0x4b0700._0xd11648,_0x4b0700._0x1e317d)]),'exitCode':0x0},'chunks':[_0x20f476],'meta':createMeta()};}function createMockToolRuntime(){const _0x410c91={_0xfb273b:0x3a1},_0x30a59d={_0x48ddc8:0x3d7},_0x1c1816={_0x2eb475:0x43f,_0x3b61a7:0x4ca,_0x4c5cfd:0x326,_0xa74be0:0x253,_0x2bd796:0x3ff,_0xdf258c:0x284},_0x3efc90={_0x50930b:0x138},_0x5a954f=async(_0xe13d50,_0x260069)=>{if(_0xe13d50[_0x168a83(0x2a7,0x4fa,_0x1c1816._0x2eb475,_0x1c1816._0x3b61a7)]!==_0x168a83(_0x1c1816._0x4c5cfd,_0x1c1816._0xa74be0,_0x1c1816._0x2bd796,_0x1c1816._0xdf258c))return createUnknownToolResult(_0xe13d50);function _0x168a83(_0x5845df,_0x3d22fc,_0x174a30,_0x573b23){return _0x5041(_0x174a30-0x83,_0x573b23);}function _0x3f4f69(_0x44c222,_0x468e6e,_0xab5db8,_0x9575f3){return _0x5041(_0x468e6e- -_0x3efc90._0x50930b,_0xab5db8);}const _0x305ceb=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0xe13d50,_0x305ceb);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x16f451,_0x340be2){function _0x517988(_0x1e2e4e,_0x50d5b1,_0x2dcd3b,_0x5fdbb2){return _0x5041(_0x5fdbb2-_0x30a59d._0x48ddc8,_0x50d5b1);}function _0x4c2625(_0x53264e,_0x5149b2,_0x5a3b16,_0x2297e0){return _0x5041(_0x5149b2-0x160,_0x53264e);}return await Promise[_0x4c2625(0x1b8,0x35f,0x503,0x48e)](_0x16f451[_0x4c2625(_0x410c91._0xfb273b,0x534,0x3df,0x3a8)](async _0x2cb3bf=>{return await _0x5a954f(_0x2cb3bf,_0x340be2);}));},async 'execute'(_0x548346,_0xa5045f){return await _0x5a954f(_0x548346,_0xa5045f);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x3d6b50={_0x5eaeca:0xb,_0x58d43b:0x186,_0x303816:0x22},_0x493a0d={_0x597d93:0x14d,_0x3171d4:0x41};function _0x2caf11(_0xa9dec2,_0x3dcb96,_0x4baa6f,_0x266136){return _0x1ac42a(_0xa9dec2-0x82,_0x3dcb96-_0x493a0d._0x597d93,_0xa9dec2-_0x493a0d._0x3171d4,_0x3dcb96);}return delegatedRunCounter+=0x1,_0x2caf11(_0x3d6b50._0x5eaeca,-0x169,-_0x3d6b50._0x58d43b,-_0x3d6b50._0x303816)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3a70d8,_0x32cf08){const _0x291b5b={_0x2caf5b:0x338,_0x4907b4:0x4ad},_0x4c69aa={_0x126d16:0xe4};function _0x5325da(_0x2f7262,_0x1fbe62,_0x3719c7,_0x3bdf8c){return _0x151cc1(_0x2f7262-0x18,_0x3bdf8c-0x28a,_0x2f7262,_0x3bdf8c-_0x4c69aa._0x126d16);}return typeof _0x3a70d8===_0x5325da(_0x291b5b._0x2caf5b,0x3cc,_0x291b5b._0x4907b4,0x4a7)?await _0x3a70d8(_0x32cf08):_0x3a70d8;}function awaitWithAbort2(_0x26b1b1,_0x49f56b){const _0x2e9f33={_0x2067d4:0x149};return throwIfAborted(_0x49f56b),new Promise((_0x30f226,_0x48595b)=>{let _0x2ea2b8=![];const _0x1b3947=addAbortListener(_0x49f56b,()=>{if(_0x2ea2b8)return;_0x2ea2b8=!![];function _0x3dbbcd(_0x37f37,_0x1224a5,_0x1aa2fe,_0x185ae2){return _0x5041(_0x1224a5- -0x49,_0x185ae2);}_0x48595b(toAbortError(_0x49f56b[_0x3dbbcd(0x3e3,0x21a,_0x2e9f33._0x2067d4,0x273)]));});_0x26b1b1['then'](_0x42dcd9=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x30f226(_0x42dcd9);},_0x445610=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x48595b(_0x445610);});});}function getDelegatedAgentDefinition(_0x104358,_0x5384d8){return _0x104358['agents']?.[_0x5384d8];}function createRunSummary(_0x3e1969){const _0x5447a1={_0x414604:0x323,_0x6f169f:0x37f,_0x15e885:0x357,_0xa469be:0x355,_0x3d8730:0x32a,_0x33950d:0x1bf,_0x3fe994:0x4f1,_0x55dae2:0x41d,_0x5d7e3a:0x1df,_0x3fb757:0xa0,_0x579c61:0x88,_0x18887c:0x33c,_0xb4034b:0x3ed,_0x45a6cc:0x236,_0x53f534:0x33c,_0x4711ea:0x50c,_0x45dd13:0x46b,_0x29134b:0x246,_0x283413:0x2d5,_0x4178b2:0x3bc,_0x3844d8:0x519},_0x264e1a={_0x45302d:0x1d6,_0x21d1e6:0x111,_0x16a379:0xba},_0x42aa5f={_0x2df3ac:0xeb};function _0xbbc620(_0xe5a361,_0x3bc4ec,_0x18db6e,_0x56a9c2){return _0x1ac42a(_0xe5a361-_0x42aa5f._0x2df3ac,_0x3bc4ec-0x11d,_0x3bc4ec-0x346,_0x56a9c2);}function _0x1652e8(_0x2c2190,_0x1214de,_0x83daf7,_0x253808){return _0x151cc1(_0x2c2190-_0x264e1a._0x45302d,_0x1214de- -_0x264e1a._0x21d1e6,_0x83daf7,_0x253808-_0x264e1a._0x16a379);}return{'runId':_0x3e1969['runId'],'agentId':_0x3e1969[_0x1652e8(_0x5447a1._0x414604,_0x5447a1._0x6f169f,_0x5447a1._0x15e885,0x39d)],..._0x3e1969[_0x1652e8(_0x5447a1._0xa469be,0x2a8,0x348,_0x5447a1._0x3d8730)]!==void 0x0?{'sessionId':_0x3e1969[_0xbbc620(_0x5447a1._0x33950d,0x382,_0x5447a1._0x3fe994,0x452)]}:{},'status':_0x3e1969[_0xbbc620(0x418,0x3d1,0x32d,_0x5447a1._0x55dae2)],'parentSessionId':_0x3e1969[_0xbbc620(0x259,_0x5447a1._0x5d7e3a,_0x5447a1._0x3fb757,_0x5447a1._0x579c61)],..._0x3e1969[_0xbbc620(0x3ce,_0x5447a1._0x18887c,_0x5447a1._0xb4034b,_0x5447a1._0x45a6cc)]!==void 0x0?{'originToolCallId':_0x3e1969[_0xbbc620(0x1b8,_0x5447a1._0x53f534,_0x5447a1._0x4711ea,0x4b2)]}:{},..._0x3e1969['errorMessage']!==void 0x0?{'errorMessage':_0x3e1969[_0xbbc620(0x432,_0x5447a1._0x45dd13,0x316,0x61c)]}:{},..._0x3e1969['result']?.[_0x1652e8(0x18d,0x2c4,0x1b2,_0x5447a1._0x29134b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x3e1969[_0xbbc620(_0x5447a1._0x283413,0x490,_0x5447a1._0x4178b2,_0x5447a1._0x3844d8)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x3532ea,_0x2c5849){const _0x13e341={_0x26f8aa:0x6c6,_0x4ad879:0x533,_0x387d0a:0x449,_0x5a480d:0x2b5},_0x433dc5={_0xc14540:0x1b5},_0x2d177a={_0x5312dd:0x167},_0x28e111=createRunSummary(_0x3532ea),_0x340b3b=_0x28e111[_0x1947ed(0x568,0x51c,_0x13e341._0x26f8aa,_0x13e341._0x4ad879)];function _0x571f95(_0x4eda90,_0x1f28fe,_0x32bc98,_0x49580d){return _0x1ac42a(_0x4eda90-_0x2d177a._0x5312dd,_0x1f28fe-0x50,_0x4eda90-0x340,_0x49580d);}function _0x1947ed(_0x5ab348,_0x4fbbe,_0x4305eb,_0x4128cf){return _0x151cc1(_0x5ab348-_0x433dc5._0xc14540,_0x4305eb-0x389,_0x4fbbe,_0x4128cf-0x19);}return createToolOutput(typeof _0x340b3b==='string'&&_0x340b3b[_0x571f95(_0x13e341._0x387d0a,0x5f9,0x3cb,_0x13e341._0x5a480d)]>0x0?_0x340b3b:_0x2c5849,_0x28e111);}function getRunTerminalErrorMessage(_0xa165e2){const _0x36788f={_0x3ba2e5:0xc1,_0x4d0418:0x558,_0x78258d:0x5ee,_0x1be577:0x216,_0x11dbb8:0xa8},_0x4050a5={_0xaab94d:0x11d},_0x5b7da0=_0xa165e2?.['state'][_0x4a864d(0x536,0x2d5,0x441,0x471)]['at'](-0x1);function _0x4a864d(_0x6bc8f3,_0x361ee8,_0x5371fd,_0x2fa997){return _0x151cc1(_0x6bc8f3-_0x4050a5._0xaab94d,_0x2fa997-0xe5,_0x5371fd,_0x2fa997-0x164);}if(_0x5b7da0?.[_0x4a864d(0x58f,0x4da,0x3e5,0x4ed)]===_0x2402ff(0x13c,0x287,_0x36788f._0x3ba2e5,0x17e)&&_0x5b7da0[_0x4a864d(_0x36788f._0x4d0418,0x496,_0x36788f._0x78258d,0x4ca)][_0x2402ff(0x28a,-0x38,0xf0,0x43)]()[_0x4a864d(0x66a,0x49f,0x69f,0x56b)]>0x0)return _0x5b7da0[_0x2402ff(_0x36788f._0x1be577,0x22c,_0x36788f._0x11dbb8,0xf0)];function _0x2402ff(_0x343e2b,_0x25a77a,_0x4319f6,_0x114f25){return _0x151cc1(_0x343e2b-0xfb,_0x4319f6- -0x33d,_0x114f25,_0x114f25-0x151);}return void 0x0;}function formatAbortedRunMessage(_0x2f49d0,_0x56dbe2){const _0x2827c9={_0x5f0843:0x62d,_0x418395:0x7c3,_0x1ceeb4:0x427,_0x1da3cf:0x6c1,_0xc0d8af:0x744},_0x54a820={_0x41dae5:0x18b,_0xc32938:0x112,_0x5b30df:0x698},_0x373754={_0x54b6d2:0x65},_0x1edabe=_0x470cab(0x792,_0x2827c9._0x5f0843,0x6a1,0x6cf)+_0x2f49d0+_0x7e1875(_0x2827c9._0x418395,0x67c,0x5f7,_0x2827c9._0x1ceeb4);function _0x470cab(_0xc1d6c0,_0x182d53,_0x30c48c,_0x490e76){return _0x151cc1(_0xc1d6c0-0x182,_0x490e76-0x2be,_0xc1d6c0,_0x490e76-_0x373754._0x54b6d2);}function _0x7e1875(_0x590ef5,_0xd3d1fc,_0x301f18,_0x50e0c9){return _0x1ac42a(_0x590ef5-_0x54a820._0x41dae5,_0xd3d1fc-_0x54a820._0xc32938,_0x301f18-_0x54a820._0x5b30df,_0x590ef5);}if(!_0x56dbe2||_0x56dbe2['trim']()[_0x470cab(0x5bc,_0x2827c9._0x1da3cf,0x73f,_0x2827c9._0xc0d8af)]===0x0||_0x56dbe2===_0x1edabe)return _0x1edabe;return _0x1edabe+'\x20Cause:\x20'+_0x56dbe2;}function createAssignTaskTool(_0x4efc54){const _0x4a86f1={_0x30a5f4:0x73e,_0x3d0220:0x4ac,_0x32fc4b:0x569,_0xbd3d99:0x464,_0x4bc067:0x2b1,_0x1791d2:0x39f,_0x1396f9:0x4b2,_0x45142d:0x624,_0x3370fc:0x44b,_0x441ab5:0x498,_0x250aa5:0x4c7,_0x1d6be6:0x2f2,_0x42d6d9:0x656,_0x151c67:0x5d8,_0x7910f5:0x5e4,_0x29a5f2:0x67b,_0x40d22a:0x58a,_0x1e6fd4:0x50d},_0x51f2d5={_0x24e0c9:0x49,_0x387476:0x21e,_0x24b0f9:0xb3,_0xd8748:0x205,_0x4c7e1f:0xb0,_0x1f2c23:0x1e9,_0x54f5a9:0x4e6,_0x3ccce1:0x360,_0x15a18f:0x659,_0x13ec15:0x6e6,_0x2cbdff:0x5aa,_0x146c78:0xde,_0x4e6317:0x7f,_0x4d6cbd:0xcb,_0x3739ec:0xdf,_0x413a46:0x187,_0x47f494:0xb,_0x448fcf:0x7b3,_0x4e2c8c:0x779,_0x340fff:0x6b8,_0x36fd2f:0x596,_0x5b0053:0x6b2,_0x5a4668:0x2b,_0x30da20:0x23d,_0x40bc0b:0x623,_0x47b579:0x731,_0x1d38d0:0xc2,_0x46e979:0xe1,_0x196011:0x228,_0x55f103:0x5be,_0xc6da46:0x682,_0x542289:0x5ec,_0x48a435:0x5ac,_0x2a3df9:0x6d7,_0x2a0723:0x1de,_0x13c165:0x89,_0x5bd5c4:0x185,_0xade3b7:0x25b,_0x18518a:0x305,_0x47ed83:0x185,_0x250aa4:0x549,_0x38ec90:0x2cd,_0x3421c5:0x440,_0x54643a:0x3a3,_0x27e627:0x5ab,_0x4e3280:0x3e0,_0x4f8399:0x406,_0x55fa34:0x470,_0x3024a5:0x50a,_0xe2760e:0xe0,_0xec4944:0x1dc,_0xf13254:0x1e,_0x2bc893:0x138,_0x4d4021:0x327,_0x408e58:0x223,_0x292f6a:0x1cf,_0x52214f:0x5,_0x20d6d4:0xc8,_0x4e6e30:0x2b4,_0x27fedc:0x23f,_0x428fb7:0x1a8,_0x41e94f:0x65,_0x4d3eba:0x161,_0xd9e727:0x46,_0x5339ed:0x29,_0x31f6e4:0x84,_0x4bb6a1:0xc5,_0x5a9f1b:0x198,_0x26440d:0x53d,_0x588c23:0x46c,_0x50060d:0x7c0,_0x26c204:0x627,_0x193ca3:0x229,_0x1a4108:0xb2,_0x4fe68f:0x5d,_0x193838:0x30,_0x22a2e0:0xff,_0x24bf11:0x7ab,_0x24a66c:0x723,_0xb7e23f:0x627,_0x14cbf2:0x28c,_0x4f4efd:0x630,_0x180a98:0x5a2,_0xce1916:0x719,_0x562e54:0x185,_0x3a1310:0x20c,_0x109fd8:0x10e,_0x3f6a0d:0x185,_0x4babe4:0x7dd,_0x2329ba:0x51a,_0x4beec1:0x67,_0x431503:0x644,_0xae46b7:0x183,_0x83726:0x1f,_0x4d492e:0x150,_0x820df3:0x192},_0x1daa59={_0xe400fb:0x3f,_0x1a584a:0xaf,_0x379595:0x152,_0x203d1d:0xb8,_0x2b05d2:0x5b,_0x9de243:0x1b},_0x1d346c={_0x55652b:0x605},_0x89583={_0x19e12d:0xd7,_0x4fba63:0x151},_0x519417={_0x299694:0xb1,_0x41f5dc:0x4c5},_0x3bf0c8={_0x1cceef:0x72,_0x1a9552:0x56,_0x423469:0x679};function _0x4c7503(_0x2b999b,_0x59abea,_0x2ef6d4,_0x1b8775){return _0x1ac42a(_0x2b999b-_0x3bf0c8._0x1cceef,_0x59abea-_0x3bf0c8._0x1a9552,_0x2b999b-_0x3bf0c8._0x423469,_0x2ef6d4);}function _0x479e06(_0x4f2943,_0x424b5c,_0x5808bf,_0x566b9e){return _0x1ac42a(_0x4f2943-0xfc,_0x424b5c-_0x519417._0x299694,_0x424b5c-_0x519417._0x41f5dc,_0x4f2943);}return defineTool({'name':_0x4c7503(_0x4a86f1._0x30a5f4,0x7e9,0x777,0x739),'permissionClass':'always-confirm','description':_0x4c7503(0x59a,0x530,_0x4a86f1._0x3d0220,_0x4a86f1._0x32fc4b),'inputSchema':{'type':_0x479e06(_0x4a86f1._0xbd3d99,_0x4a86f1._0x4bc067,0x1f5,_0x4a86f1._0x1791d2),'properties':{'agentId':{'type':'string','description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':'string','description':'Short\x20user-facing\x20summary\x20of\x20the\x20delegated\x20work.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'nickname':{'type':_0x4c7503(_0x4a86f1._0x1396f9,_0x4a86f1._0x45142d,0x574,0x4d6),'description':_0x479e06(0x3ab,0x426,0x2e4,0x5c0)},'task':{'type':_0x479e06(_0x4a86f1._0x3370fc,0x2fe,0x3e3,0x479),'description':_0x4c7503(_0x4a86f1._0x441ab5,_0x4a86f1._0x250aa5,0x60a,_0x4a86f1._0x1d6be6)}},'required':[_0x479e06(_0x4a86f1._0x42d6d9,_0x4a86f1._0x151c67,_0x4a86f1._0x7910f5,_0x4a86f1._0x29a5f2),_0x4c7503(_0x4a86f1._0x40d22a,0x4c9,_0x4a86f1._0x1e6fd4,0x5df),'task']},async *'execute'(_0x41ed11,_0x163f01){const _0x2b4807=createDelegatedRunId();function _0x227446(_0x3cb325,_0xba9ec7,_0x1c9305,_0x2a2512){return _0x479e06(_0x3cb325,_0x2a2512-_0x89583._0x19e12d,_0x1c9305-0x123,_0x2a2512-_0x89583._0x4fba63);}const _0x32490f=new AbortController(),_0x380ce7={'agentId':_0x41ed11[_0x49ba26(-_0x51f2d5._0x24e0c9,_0x51f2d5._0x387476,0x187,_0x51f2d5._0x24b0f9)],'parentSessionId':_0x163f01[_0x49ba26(_0x51f2d5._0xd8748,-0x75,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x1f2c23)],'runId':_0x2b4807,'signal':_0x32490f[_0x227446(_0x51f2d5._0x54f5a9,_0x51f2d5._0x3ccce1,0x217,0x3a3)],..._0x163f01[_0x227446(_0x51f2d5._0x15a18f,0x4bd,_0x51f2d5._0x13ec15,_0x51f2d5._0x2cbdff)]!==void 0x0?{'toolCallId':_0x163f01[_0x49ba26(_0x51f2d5._0x146c78,0x96,0x82,-_0x51f2d5._0x4e6317)]}:{}},_0x3df933=getDelegatedAgentDefinition(_0x4efc54,_0x41ed11[_0x49ba26(_0x51f2d5._0x4d6cbd,_0x51f2d5._0x3739ec,_0x51f2d5._0x413a46,-_0x51f2d5._0x47f494)]);if(!_0x3df933)throw new ToolExecutionError(_0x227446(_0x51f2d5._0x448fcf,_0x51f2d5._0x4e2c8c,_0x51f2d5._0x340fff,0x6c8)+_0x41ed11[_0x227446(_0x51f2d5._0x36fd2f,0x4f0,_0x51f2d5._0x5b0053,0x6af)],{'agentId':_0x41ed11[_0x49ba26(_0x51f2d5._0x5a4668,_0x51f2d5._0x30da20,0x187,0x21)]});function _0x49ba26(_0x2089f9,_0x16df3b,_0x4c1aee,_0x182043){return _0x4c7503(_0x4c1aee- -_0x1d346c._0x55652b,_0x16df3b-0x51,_0x182043,_0x182043-0x1b1);}let _0x458bd8={'runId':_0x2b4807,'agentId':_0x41ed11[_0x227446(_0x51f2d5._0x40bc0b,_0x51f2d5._0x47b579,0x847,0x6af)],'status':_0x49ba26(-0x255,-_0x51f2d5._0x1d38d0,-0xb1,_0x51f2d5._0x46e979),'parentSessionId':_0x163f01[_0x49ba26(-0x25,_0x51f2d5._0x413a46,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x196011)],..._0x163f01[_0x227446(0x3fa,0x507,_0x51f2d5._0x55f103,0x5aa)]!==void 0x0?{'originToolCallId':_0x163f01[_0x227446(0x66e,_0x51f2d5._0xc6da46,0x6d7,0x5aa)]}:{}};const _0x48cc3f=addAbortListener(_0x163f01[_0x49ba26(-0x270,-0x15,-0x185,-0x20c)],()=>{const _0x5ec794={_0x216331:0x1a3,_0x3264e5:0x161},_0x133742={_0x55c4b2:0x104};function _0x2bd152(_0x512c2a,_0x4c9b65,_0x2b3a41,_0x29aa15){return _0x49ba26(_0x512c2a-_0x133742._0x55c4b2,_0x4c9b65-0x1a7,_0x2b3a41- -0x12f,_0x29aa15);}function _0x2422cf(_0x147562,_0x4fb4d7,_0x60926e,_0xdb8772){return _0x227446(_0x60926e,_0x4fb4d7-_0x5ec794._0x216331,_0x60926e-_0x5ec794._0x3264e5,_0x147562- -0x41d);}_0x32490f[_0x2bd152(-_0x1daa59._0xe400fb,-0x189,-0xb1,-_0x1daa59._0x1a584a)](_0x163f01[_0x2422cf(-0x7a,-0x133,_0x1daa59._0x379595,0x14)][_0x2422cf(_0x1daa59._0x203d1d,-_0x1daa59._0x2b05d2,_0x1daa59._0x9de243,-0xee)]);});let _0x3800a5,_0x29f930,_0x3e0a31,_0xa20e2b;try{_0x4efc54[_0x227446(_0x51f2d5._0x542289,_0x51f2d5._0x48a435,0x65b,_0x51f2d5._0x2a3df9)]!==void 0x0&&(_0x3800a5=await _0x4efc54['semaphore'][_0x227446(0x5c4,0x5cf,0x4b7,0x519)](_0x32490f[_0x49ba26(-_0x51f2d5._0x2a0723,-_0x51f2d5._0x13c165,-_0x51f2d5._0x5bd5c4,-_0x51f2d5._0xade3b7)]));throwIfAborted(_0x32490f['signal']);const _0x5c4c3e=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3df933,_0x380ce7),_0x32490f[_0x49ba26(-_0x51f2d5._0x18518a,-_0x51f2d5._0x146c78,-_0x51f2d5._0x47ed83,-0xcc)]);throwIfAborted(_0x32490f[_0x227446(_0x51f2d5._0x250aa4,_0x51f2d5._0x38ec90,_0x51f2d5._0x3421c5,_0x51f2d5._0x54643a)]);const _0x5599f3=_0x4efc54[_0x227446(0x3f8,0x331,_0x51f2d5._0x27e627,_0x51f2d5._0x4e3280)]!==void 0x0&&_0x5c4c3e[_0x227446(_0x51f2d5._0x4f8399,0x6d5,_0x51f2d5._0x55fa34,_0x51f2d5._0x3024a5)]!==void 0x0?{..._0x5c4c3e,'systemPrompt':_0x4efc54[_0x49ba26(-0x189,-_0x51f2d5._0xe2760e,-0x148,-0x1ec)](_0x5c4c3e[_0x49ba26(0x18f,-_0x51f2d5._0xec4944,-_0x51f2d5._0xf13254,-_0x51f2d5._0x2bc893)])}:_0x5c4c3e;throwIfAborted(_0x32490f[_0x227446(0x52b,_0x51f2d5._0x4d4021,0x305,0x3a3)]);const _0x591dd2=new Agent(_0x5599f3);_0x458bd8={..._0x458bd8,'sessionId':_0x591dd2[_0x49ba26(_0x51f2d5._0x408e58,_0x51f2d5._0x292f6a,0xb0,-_0x51f2d5._0x52214f)]},_0x29f930=_0x4efc54[_0x49ba26(-0x46,-0x15f,-_0x51f2d5._0x20d6d4,-0xd)]?.(_0x591dd2,_0x380ce7);const _0x8692a7=new Promise(_0x10091b=>{_0xa20e2b=_0x10091b;});_0x3e0a31=_0x4efc54[_0x49ba26(_0x51f2d5._0x4e6e30,_0x51f2d5._0x27fedc,_0x51f2d5._0x428fb7,0x153)]?.({'runId':_0x2b4807,'abortController':_0x32490f,'completion':_0x8692a7}),yield createToolOutput(_0x49ba26(-_0x51f2d5._0x41e94f,-0x124,-0x46,-_0x51f2d5._0x4d3eba)+_0x458bd8[_0x49ba26(_0x51f2d5._0xd9e727,0x7f,0xc9,_0x51f2d5._0x5339ed)]+'.',{'runId':_0x458bd8[_0x49ba26(0xba,-_0x51f2d5._0x31f6e4,0xc9,-_0x51f2d5._0x4bb6a1)],'agentId':_0x458bd8[_0x49ba26(-0x2d,0x149,0x187,_0x51f2d5._0x5a9f1b)],'sessionId':_0x591dd2[_0x227446(_0x51f2d5._0x26440d,0x5d9,0x69a,0x5d8)],'status':_0x458bd8[_0x227446(0x662,_0x51f2d5._0x588c23,_0x51f2d5._0x50060d,_0x51f2d5._0x26c204)]}),throwIfAborted(_0x32490f[_0x227446(0x4c3,0x213,_0x51f2d5._0x193ca3,0x3a3)]);const _0x31055f=await _0x591dd2[_0x227446(0x73a,0x6bd,0x559,0x697)](_0x41ed11[_0x49ba26(_0x51f2d5._0x1a4108,0x2d,-_0x51f2d5._0x4fe68f,0x162)],{'streaming':!![],'signal':_0x32490f['signal']});_0x458bd8={..._0x458bd8,'status':_0x31055f[_0x49ba26(_0x51f2d5._0x193838,_0x51f2d5._0x4e6e30,_0x51f2d5._0x22a2e0,0x1e0)],'result':_0x31055f};if(_0x31055f[_0x227446(0x544,_0x51f2d5._0x24bf11,_0x51f2d5._0x24a66c,_0x51f2d5._0xb7e23f)]!=='completed'){const _0x2b4a17=getRunTerminalErrorMessage(_0x31055f),_0x432072=formatAbortedRunMessage(_0x458bd8[_0x49ba26(-0x2c,_0x51f2d5._0x14cbf2,0xc9,-0x68)],_0x2b4a17);throw new ToolExecutionError(_0x432072,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x432072});}return createRunSummaryOutput(_0x458bd8,_0x227446(0x679,0x5fa,0x6b7,_0x51f2d5._0x4f4efd)+_0x458bd8['runId']+_0x227446(0x7b8,0x785,_0x51f2d5._0x180a98,_0x51f2d5._0xce1916));}catch(_0x3f0e29){if(_0x3f0e29 instanceof ToolExecutionError)throw _0x3f0e29;if(isAbortError(_0x3f0e29)||_0x32490f[_0x49ba26(-0x4c,-0x2ac,-_0x51f2d5._0x562e54,-_0x51f2d5._0x3a1310)]['aborted']||_0x163f01[_0x49ba26(-_0x51f2d5._0x109fd8,-0x31c,-_0x51f2d5._0x3f6a0d,-0x2a7)]['aborted']){const _0x50c2a9=getRunTerminalErrorMessage(_0x458bd8[_0x227446(_0x51f2d5._0x4babe4,0x6fa,_0x51f2d5._0x2329ba,_0x51f2d5._0x13ec15)])??(_0x3f0e29 instanceof Error?_0x3f0e29[_0x49ba26(0x33c,_0x51f2d5._0x4beec1,0x185,0xf)]:String(_0x3f0e29)),_0x3add30=formatAbortedRunMessage(_0x458bd8['runId'],_0x50c2a9);_0x458bd8={..._0x458bd8,'status':'aborted','errorMessage':_0x3add30};throw new ToolExecutionError(_0x3add30,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x3add30});}const _0x252a18=getRunTerminalErrorMessage(_0x458bd8[_0x227446(0x6cc,0x5e6,0x710,0x6e6)])??(_0x3f0e29 instanceof Error?_0x3f0e29['message']:String(_0x3f0e29))??_0x227446(0x749,_0x51f2d5._0x431503,0x5ae,0x630)+_0x458bd8['runId']+_0x49ba26(0xb2,-0x37,_0x51f2d5._0xae46b7,-_0x51f2d5._0x83726);_0x458bd8={..._0x458bd8,'status':_0x49ba26(0x324,_0x51f2d5._0x4d492e,0x19d,_0x51f2d5._0x820df3),'errorMessage':_0x252a18};throw new ToolExecutionError(_0x252a18,{...createRunSummary(_0x458bd8),'errorMessage':_0x252a18});}finally{_0xa20e2b?.(),_0x3e0a31?.(),_0x29f930?.(),_0x3800a5?.(),_0x48cc3f();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4afc03){return[createAssignTaskTool(_0x4afc03)];}import*as _0x3b5f3c from'path';function buildDescription2(_0x32c04f){const _0x4660af={_0x5e66dd:0x16e,_0x244af3:0x32,_0x1a73b8:0x2b7,_0x2ef6f2:0x327,_0x5b16ce:0x2d3,_0x28912c:0x2a4,_0x34943b:0x1f,_0x1df339:0x15d,_0x4c02e5:0xf5,_0x4068e8:0xa4,_0x5d24a9:0x2e2,_0x1171be:0x48d,_0x59e5b7:0x41e},_0x3b0ce0={_0xc8fa48:0x0,_0x2625ca:0x2da},_0x33da9c={_0x262ea8:0x3f,_0x529c93:0xb,_0x30e22a:0x1c9};function _0x3b23b7(_0x48ad5b,_0x1e27f1,_0x71b3b8,_0x4f06d4){return _0x1ac42a(_0x48ad5b-_0x33da9c._0x262ea8,_0x1e27f1-_0x33da9c._0x529c93,_0x4f06d4-_0x33da9c._0x30e22a,_0x71b3b8);}if(_0x32c04f[_0x3b23b7(0x30d,0x3d4,_0x4660af._0x5e66dd,0x2d2)]===0x0)return _0x3b23b7(-_0x4660af._0x244af3,_0x4660af._0x1a73b8,0x154,0x144);const _0x164b05=[_0x3b23b7(_0x4660af._0x2ef6f2,0x1ef,_0x4660af._0x5b16ce,0x248),_0x33a50b(-_0x4660af._0x28912c,-0xe2,-_0x4660af._0x34943b,-_0x4660af._0x1df339),_0x33a50b(-0x2c3,-_0x4660af._0x4c02e5,-0x1a2,_0x4660af._0x4068e8),'Available\x20skills\x20(skill_name:\x20description):',..._0x32c04f[_0x3b23b7(0x318,0x157,_0x4660af._0x5d24a9,0x273)](_0x4944a4=>'-\x20'+_0x4944a4['name']+':\x20'+_0x4944a4['description'])];function _0x33a50b(_0x55277e,_0x50b0e0,_0x258a52,_0xedaa07){return _0x151cc1(_0x55277e-_0x3b0ce0._0xc8fa48,_0x50b0e0- -_0x3b0ce0._0x2625ca,_0xedaa07,_0xedaa07-0x48);}return _0x164b05[_0x3b23b7(_0x4660af._0x1171be,0x155,_0x4660af._0x59e5b7,0x305)]('\x0a');}function createLoadSkillTool(_0x9d34b3){const _0x214f9b={_0x2eedaa:0x358,_0x417431:0x3e3,_0xa91fc3:0x50a,_0x168781:0x72d,_0x27e5db:0x463,_0x12986d:0x291,_0x4d3507:0x23d,_0x82be1c:0x34b,_0x2a908a:0x537},_0x454fa4={_0xa12abf:0x5b7,_0x3f5d47:0x5af,_0x521982:0x482,_0x12bd0b:0x541,_0x3ec8b7:0x66e,_0x3843b9:0x659,_0x370f1c:0x558,_0x88cc9:0x4c2,_0x5bd97c:0x768,_0x3513ec:0x59c,_0x181f59:0x5af,_0x37e19c:0x67b,_0x2ec787:0x48b,_0x237003:0x5db,_0x4b085c:0x1a9,_0x93f024:0x419,_0x35697a:0x633,_0x5792c7:0x7e1,_0x1b131b:0x5d9,_0x3fe7c4:0x5b2,_0x1a9d5a:0x4bc,_0x518188:0x4f4,_0x18dcc1:0x479,_0x4a849d:0x41a,_0x379d8a:0x3d7,_0x1772a9:0x43e,_0x3923cd:0x6b8,_0x277912:0x681,_0x14c094:0x7fe,_0x376401:0x61d,_0x219140:0x4d1,_0x5785e6:0x843,_0x5dddcb:0x6f4,_0x508417:0x739,_0x14d145:0x509,_0x5dc6c8:0x5af,_0x366590:0x534,_0x198e28:0x3e1,_0x5226cb:0x545,_0x4b0801:0x469,_0x28fd7c:0x3ad},_0x227e3b={_0x183ecf:0x1e8},_0x1e7f0f={_0x57dfc0:0x128,_0x22b6f2:0x150},_0x2d1aba={_0x1ef3da:0x1ae},_0x5387c2=new Map(_0x9d34b3[_0x5cf721(0x3a6,0x33d,0x200,_0x214f9b._0x2eedaa)]['map'](_0x5c4497=>[_0x5c4497[_0x14b0a1(0x537,0x6a0,0x42e,0x46d)],_0x5c4497]));function _0x5cf721(_0x13f047,_0x595461,_0x5fc65b,_0x307dd3){return _0x151cc1(_0x13f047-0x1a1,_0x595461-_0x2d1aba._0x1ef3da,_0x13f047,_0x307dd3-0x133);}const _0x5487a9=buildDescription2(_0x9d34b3['skills']);function _0x14b0a1(_0x2e59b9,_0x142362,_0x2ba119,_0x4297ff){return _0x151cc1(_0x2e59b9-0x1a7,_0x2e59b9-_0x1e7f0f._0x57dfc0,_0x142362,_0x4297ff-_0x1e7f0f._0x22b6f2);}return defineTool({'name':_0x14b0a1(_0x214f9b._0x417431,0x357,_0x214f9b._0xa91fc3,0x534),'permissionClass':_0x5cf721(_0x214f9b._0x168781,0x618,0x570,_0x214f9b._0x27e5db),'description':_0x5487a9,'inputSchema':{'type':_0x14b0a1(_0x214f9b._0x12986d,_0x214f9b._0x4d3507,_0x214f9b._0x82be1c,0x2a1),'properties':{'name':{'type':'string'}},'required':[_0x14b0a1(_0x214f9b._0x2a908a,0x39c,0x645,0x6cc)]},async *'execute'(_0xaf876a){const _0x51a5d2={_0x50a6d3:0xe},_0x418e15=_0x5387c2[_0x34ccf5(0x533,_0x454fa4._0xa12abf,0x5ad,0x679)](_0xaf876a[_0x2c8a8c(_0x454fa4._0x3f5d47,0x594,_0x454fa4._0x521982,0x4fc)]);if(!_0x418e15){const _0xde8e41=Array['from'](_0x5387c2[_0x34ccf5(0x6f4,_0x454fa4._0x12bd0b,_0x454fa4._0x3ec8b7,0x6c4)]())[_0x2c8a8c(_0x454fa4._0x3843b9,_0x454fa4._0x370f1c,0x7f4,_0x454fa4._0x88cc9)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0xaf876a['name']+_0x34ccf5(0x5c1,0x6a6,_0x454fa4._0x5bd97c,_0x454fa4._0x3513ec)+_0xde8e41,{'name':_0xaf876a[_0x2c8a8c(_0x454fa4._0x181f59,_0x454fa4._0x37e19c,_0x454fa4._0x2ec787,_0x454fa4._0x237003)]});}function _0x34ccf5(_0x187622,_0x2a1187,_0x44e634,_0x3b0f61){return _0x14b0a1(_0x3b0f61-_0x227e3b._0x183ecf,_0x44e634,_0x44e634-0x115,_0x3b0f61-0x18);}const _0x5a20a1=await _0x9d34b3['loadSkill'](_0x418e15);function _0x2c8a8c(_0x3e2eed,_0x127852,_0x4bd1e8,_0x4f3a2d){return _0x5cf721(_0x4bd1e8,_0x3e2eed- -0xe,_0x4bd1e8-_0x51a5d2._0x50a6d3,_0x4f3a2d-0x1f1);}const _0xea439f=_0x418e15[_0x2c8a8c(0x34c,0x4c4,0x2be,_0x454fa4._0x4b085c)][_0x2c8a8c(0x3fe,0x3d9,_0x454fa4._0x93f024,0x50c)]??_0x3b5f3c[_0x34ccf5(_0x454fa4._0x35697a,0x7da,0x726,_0x454fa4._0x5792c7)](_0x418e15[_0x34ccf5(0x4a3,_0x454fa4._0x1b131b,_0x454fa4._0x3fe7c4,_0x454fa4._0x1a9d5a)][_0x2c8a8c(0x3ad,0x430,_0x454fa4._0x518188,_0x454fa4._0x18dcc1)]),_0x4b33c3=[_0x2c8a8c(_0x454fa4._0x4a849d,0x46b,_0x454fa4._0x379d8a,_0x454fa4._0x1772a9)+_0x5a20a1[_0x34ccf5(_0x454fa4._0x3923cd,0x6f9,_0x454fa4._0x277912,0x71f)],'',_0x5a20a1['instructions'],'',_0x34ccf5(_0x454fa4._0x14c094,0x7af,0x726,0x799),_0x34ccf5(_0x454fa4._0x376401,0x51e,_0x454fa4._0x219140,0x63c)+_0x418e15['source']['path'],_0x34ccf5(_0x454fa4._0x5785e6,_0x454fa4._0x5dddcb,_0x454fa4._0x508417,0x70f)+_0xea439f][_0x2c8a8c(0x659,_0x454fa4._0x14d145,_0x454fa4._0x3fe7c4,0x643)]('\x0a');return yield createToolOutput(_0x4b33c3,{'id':_0x5a20a1['id'],'name':_0x5a20a1[_0x2c8a8c(_0x454fa4._0x5dc6c8,0x604,_0x454fa4._0x366590,_0x454fa4._0x198e28)],'path':_0x418e15[_0x34ccf5(_0x454fa4._0x5226cb,0x618,_0x454fa4._0x4b0801,_0x454fa4._0x1a9d5a)][_0x2c8a8c(_0x454fa4._0x28fd7c,0x52a,0x246,0x3b5)],'baseDirectory':_0xea439f}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1ac42a(-0x53,0x47,-0xb4,-0x275),_0x151cc1(0x438,0x375,0x43b,0x30a),_0x1ac42a(-0x2a8,-0x22,-0x1eb,-0x232)]),TODO_PRIORITIES=new Set(['high',_0x151cc1(0xdf,0x200,0x253,0x350),_0x151cc1(0x255,0x18b,0x11f,0x281)]);function isTodoStatus(_0x119f39){const _0xd29c48={_0x5b8ba0:0x168,_0x12a735:0x5d,_0x12de12:0x472,_0x3058c9:0x570},_0x2637e1={_0x500750:0x60},_0xae0d0f={_0x330da3:0x1aa,_0x1c5787:0x144};function _0xc7c70f(_0x2466ad,_0x22967b,_0x50dcd4,_0x1389a2){return _0x1ac42a(_0x2466ad-0x81,_0x22967b-_0xae0d0f._0x330da3,_0x1389a2-_0xae0d0f._0x1c5787,_0x2466ad);}function _0xfc763a(_0x46ec6a,_0x5da775,_0x25e8f4,_0x4cca0f){return _0x151cc1(_0x46ec6a-0x59,_0x46ec6a-_0x2637e1._0x500750,_0x25e8f4,_0x4cca0f-0x96);}return typeof _0x119f39===_0xc7c70f(-_0xd29c48._0x5b8ba0,-0x1b0,-_0xd29c48._0x12a735,-0x83)&&TODO_STATUSES[_0xfc763a(_0xd29c48._0x12de12,0x63d,0x5de,_0xd29c48._0x3058c9)](_0x119f39);}function isTodoPriority(_0x25a32f){const _0x51fbc2={_0x1de9f9:0x567,_0xbcbb6:0x712},_0x40eb9f={_0x5ce6a2:0x1a6};function _0x15fb0d(_0x23b1c2,_0x37c622,_0x215dec,_0x1e8b41){return _0x151cc1(_0x23b1c2-_0x40eb9f._0x5ce6a2,_0x37c622-0x155,_0x23b1c2,_0x1e8b41-0x176);}return typeof _0x25a32f==='string'&&TODO_PRIORITIES[_0x15fb0d(0x47e,_0x51fbc2._0x1de9f9,_0x51fbc2._0xbcbb6,0x59e)](_0x25a32f);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0xa10443){const _0x4d20c4={_0x36730e:0x375},_0x566e92={_0x102292:0x101};function _0x29e702(_0x4bd0b3,_0x217df7,_0xb8b3c2,_0x16d276){return _0x151cc1(_0x4bd0b3-0x13e,_0x16d276- -_0x566e92._0x102292,_0x217df7,_0x16d276-0x9c);}return this['todosBySession'][_0x29e702(0x1e3,0x323,_0x4d20c4._0x36730e,0x268)](_0xa10443)??[];}['setTodos'](_0x31e6f9,_0x379db0){const _0xb88d5d={_0x16f616:0x15d,_0x3ee422:0x106},_0x3e0b9e={_0xc682ce:0xc9,_0x4e2050:0x12e};function _0x139db2(_0xedef17,_0x358682,_0x5969e3,_0x3825f7){return _0x151cc1(_0xedef17-_0x3e0b9e._0xc682ce,_0x3825f7- -0x273,_0x5969e3,_0x3825f7-_0x3e0b9e._0x4e2050);}this[_0x139db2(_0xb88d5d._0x16f616,-0x199,_0xb88d5d._0x3ee422,-0x2a)]['set'](_0x31e6f9,_0x379db0);}[_0x151cc1(0x44f,0x496,0x4b8,0x2f2)](_0x262110){const _0x25ab2b={_0x435c9d:0x4b0,_0x43eefb:0x337,_0x4cce7d:0x506,_0x4fc3fe:0x374,_0x2085db:0x4b4,_0x309b1d:0x3b0,_0x1b4a07:0x37a,_0x5a2f57:0x233,_0x1e9354:0x316,_0x5370be:0x576,_0x2e4e03:0x5a3,_0x1d5778:0x4c4,_0x131d34:0x20b,_0xd8c42a:0x3bf},_0x4e7245={_0x223e83:0x179,_0x3467bd:0x9b};function _0x20af42(_0x5730b3,_0x252a63,_0x545628,_0x1c98c0){return _0x151cc1(_0x5730b3-0x126,_0x5730b3-0x2a,_0x252a63,_0x1c98c0-0x9c);}function _0x4dc65b(_0x23c635,_0x5f3efa,_0x1d9e93,_0x2eb38a){return _0x1ac42a(_0x23c635-_0x4e7245._0x223e83,_0x5f3efa-_0x4e7245._0x3467bd,_0x2eb38a-0x464,_0x1d9e93);}const _0x5b946c=this['getTodos'](_0x262110),_0x4217d9={'total':_0x5b946c[_0x20af42(_0x25ab2b._0x435c9d,0x3c8,_0x25ab2b._0x43eefb,_0x25ab2b._0x4cce7d)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0xaf9a16 of _0x5b946c){if(_0xaf9a16['status']===_0x4dc65b(_0x25ab2b._0x4fc3fe,0x419,_0x25ab2b._0x2085db,_0x25ab2b._0x309b1d))_0x4217d9[_0x4dc65b(_0x25ab2b._0x1b4a07,_0x25ab2b._0x5a2f57,_0x25ab2b._0x1e9354,_0x25ab2b._0x309b1d)]+=0x1;else{if(_0xaf9a16['status']==='in_progress')_0x4217d9[_0x4dc65b(_0x25ab2b._0x5370be,_0x25ab2b._0x2e4e03,0x581,_0x25ab2b._0x1d5778)]+=0x1;else _0x4217d9[_0x4dc65b(_0x25ab2b._0x131d34,0x141,_0x25ab2b._0xd8c42a,0x279)]+=0x1;}}return _0x4217d9;}};function validateTodos(_0x283884){const _0x2f69d3={_0x4b42ba:0x2d6,_0x5955f3:0x60b,_0xf04835:0x784,_0x5db272:0x667,_0x111f51:0x7c3,_0x19f8a3:0x10b,_0x557735:0x175,_0x7af338:0x2be,_0x4908f4:0x252,_0x3d1ec1:0x2ba,_0x51d110:0x2ef,_0xa51624:0x81f,_0xe3efac:0x74d,_0x3bcabb:0x2b1,_0x527593:0x268,_0x32743d:0x40e,_0x36d703:0x15d,_0x3609a4:0x281,_0x17dded:0x861,_0x25f2ef:0x5c5,_0x35d4df:0x67a,_0x42d3b6:0x676,_0x28f85a:0x3f6,_0x17f0b4:0x54c,_0x2909a3:0x4f3,_0xaf78b:0x223,_0x6edebc:0x365,_0x53fcf1:0x3e8,_0x2c68f6:0x2c6,_0x4bd09c:0x441,_0x1d3e7e:0x81b,_0x42ff81:0x104,_0x348cf1:0x257,_0x5ac105:0x23e,_0x5fa727:0x75a,_0x157e7a:0x6ed,_0x2ae01a:0x875,_0x534a18:0x5b8,_0x3198e:0x535,_0x56dfcd:0x587,_0x2c48c5:0x3e6,_0x1f01dc:0x56e,_0x5dd28b:0x33d,_0x10b14f:0x297,_0x395327:0x40e,_0x4a1583:0x28b,_0x20c0bf:0x48a,_0x563c51:0x4a5,_0x57afaa:0x558,_0x474059:0x852,_0x2cc391:0x774,_0x11e91b:0x3e0,_0x52d8c7:0x43a,_0x495ea2:0x94f,_0x1e6008:0x843,_0x10d2f:0x821,_0x448b4a:0x27b,_0x59cc69:0x2b7,_0xf6e14d:0x1ee,_0x5451f7:0x3bc},_0x2c42fe={_0x468b71:0x198,_0x4eb157:0x1d,_0x9dd665:0x338};function _0x24ae13(_0x109c0f,_0x1191de,_0x2ff7f4,_0x28d67c){return _0x151cc1(_0x109c0f-0xdd,_0x28d67c-0x33d,_0x109c0f,_0x28d67c-0x16d);}if(!Array[_0x17c21c(_0x2f69d3._0x4b42ba,0x3cf,0x13a,0x20f)](_0x283884[_0x17c21c(0x36a,0x4a7,0x488,0x402)])||_0x283884[_0x24ae13(_0x2f69d3._0x5955f3,0x5f5,0x706,_0x2f69d3._0xf04835)][_0x24ae13(0x66e,_0x2f69d3._0x5db272,0x69d,_0x2f69d3._0x111f51)]===0x0)throw new ToolExecutionError(_0x17c21c(0x158,_0x2f69d3._0x19f8a3,0x8f,_0x2f69d3._0x557735),{'error':_0x17c21c(_0x2f69d3._0x7af338,_0x2f69d3._0x4908f4,_0x2f69d3._0x3d1ec1,_0x2f69d3._0x51d110)});for(let _0x1a8703=0x0;_0x1a8703<_0x283884[_0x24ae13(0x79d,_0x2f69d3._0xa51624,0x890,0x784)][_0x24ae13(0x5ff,0x7c1,0x68e,0x7c3)];_0x1a8703+=0x1){const _0x4cf752=_0x283884[_0x24ae13(_0x2f69d3._0xf04835,0x74c,_0x2f69d3._0xe3efac,0x784)][_0x1a8703];if(!_0x4cf752||typeof _0x4cf752!=='object')throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x3bcabb,0x476,_0x2f69d3._0x527593,_0x2f69d3._0x32743d)+(_0x1a8703+0x1)+_0x17c21c(0x3b3,_0x2f69d3._0x36d703,0x183,_0x2f69d3._0x3609a4),{'error':_0x24ae13(_0x2f69d3._0x17dded,_0x2f69d3._0x25f2ef,_0x2f69d3._0x35d4df,_0x2f69d3._0xe3efac)});if(typeof _0x4cf752['id']!==_0x24ae13(_0x2f69d3._0x42d3b6,_0x2f69d3._0x28f85a,_0x2f69d3._0x17f0b4,_0x2f69d3._0x2909a3)||_0x4cf752['id'][_0x17c21c(_0x2f69d3._0xaf78b,0x542,_0x2f69d3._0x6edebc,_0x2f69d3._0x53fcf1)]()[_0x17c21c(_0x2f69d3._0x2c68f6,0x2e5,0x3c3,_0x2f69d3._0x4bd09c)]===0x0)throw new ToolExecutionError(_0x24ae13(_0x2f69d3._0x1d3e7e,0x5d2,0x891,0x790)+(_0x1a8703+0x1)+_0x17c21c(_0x2f69d3._0x42ff81,0x39b,_0x2f69d3._0x348cf1,_0x2f69d3._0x5ac105),{'error':_0x24ae13(_0x2f69d3._0x5fa727,_0x2f69d3._0x157e7a,_0x2f69d3._0x2ae01a,0x7aa)});if(typeof _0x4cf752[_0x17c21c(0x314,0x492,0x2fc,0x43c)]!==_0x24ae13(_0x2f69d3._0x534a18,_0x2f69d3._0x3198e,0x55e,_0x2f69d3._0x2909a3)||_0x4cf752['content'][_0x17c21c(_0x2f69d3._0x56dfcd,0x4fa,_0x2f69d3._0x2c48c5,0x3e8)]()[_0x17c21c(0x305,_0x2f69d3._0x1f01dc,0x5ae,0x441)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1a8703+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4cf752['status']))throw new ToolExecutionError(_0x17c21c(0x42a,_0x2f69d3._0x5dd28b,_0x2f69d3._0x10b14f,_0x2f69d3._0x395327)+(_0x1a8703+0x1)+_0x17c21c(0x175,_0x2f69d3._0x4a1583,_0x2f69d3._0x20c0bf,0x313),{'error':_0x24ae13(0x792,0x853,0x882,0x79b)});if(!isTodoPriority(_0x4cf752[_0x24ae13(_0x2f69d3._0x563c51,_0x2f69d3._0x57afaa,0x466,0x509)]))throw new ToolExecutionError(_0x24ae13(0x760,0x5c2,0x60e,0x790)+(_0x1a8703+0x1)+_0x24ae13(0x7f0,_0x2f69d3._0x474059,0x80c,_0x2f69d3._0x2cc391),{'error':'invalid_todo_priority'});}const _0x3ac00b=_0x283884['todos'][_0x17c21c(_0x2f69d3._0x11e91b,0x37f,_0x2f69d3._0x52d8c7,0x3e2)](_0x1d54a1=>_0x1d54a1['id']);function _0x17c21c(_0x11522a,_0xf6b50f,_0x26e276,_0x237106){return _0x1ac42a(_0x11522a-_0x2c42fe._0x468b71,_0xf6b50f-_0x2c42fe._0x4eb157,_0x237106-_0x2c42fe._0x9dd665,_0xf6b50f);}if(new Set(_0x3ac00b)[_0x24ae13(_0x2f69d3._0x495ea2,0x8e8,_0x2f69d3._0x1e6008,_0x2f69d3._0x10d2f)]!==_0x3ac00b['length'])throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x448b4a,_0x2f69d3._0x59cc69,_0x2f69d3._0xf6e14d,_0x2f69d3._0x5451f7),{'error':_0x17c21c(0x373,0x49b,0x1a0,0x33a)});}function createStatsProgress(_0x91d49e){const _0x47e5b0={_0x46d229:0x4a4,_0x270ce7:0x44d,_0x59b47f:0x554,_0x3ab7cd:0x432,_0x52564d:0x390},_0x304615={_0x14219b:0x107,_0x558cbf:0x51b},_0x3e6271={_0x2adabc:0x66,_0x378384:0x173};function _0x3dbb60(_0x492ee4,_0x32967f,_0x34e2f4,_0x12dffe){return _0x151cc1(_0x492ee4-_0x3e6271._0x2adabc,_0x492ee4-_0x3e6271._0x378384,_0x34e2f4,_0x12dffe-0xd7);}function _0x378cae(_0x40365c,_0x4e337a,_0x1d80ec,_0x2e48c0){return _0x1ac42a(_0x40365c-_0x304615._0x14219b,_0x4e337a-0x19f,_0x1d80ec-_0x304615._0x558cbf,_0x40365c);}return _0x91d49e[_0x378cae(0x5b1,0x310,0x432,0x487)]>0x0?Math[_0x3dbb60(_0x47e5b0._0x46d229,0x61a,0x614,0x59b)](_0x91d49e[_0x378cae(0x356,0x16b,0x330,_0x47e5b0._0x270ce7)]/_0x91d49e[_0x378cae(_0x47e5b0._0x59b47f,0x575,_0x47e5b0._0x3ab7cd,_0x47e5b0._0x52564d)]*0x64)+'%':'0%';}function createReminderItems(_0x1ef081){const _0x2a2f91={_0x4ed257:0x590,_0x3a289b:0x33f},_0x4a006c={_0x2e85:0x24,_0x4f3252:0x166,_0x286e5f:0xc4},_0x275945={_0x105f6c:0x335};function _0x51a071(_0x2fe995,_0x305bda,_0x10f2b3,_0x163e09){return _0x1ac42a(_0x2fe995-0x41,_0x305bda-0x109,_0x305bda-_0x275945._0x105f6c,_0x163e09);}function _0x5b5331(_0x4cdfc4,_0x262311,_0x363081,_0x390c89){return _0x151cc1(_0x4cdfc4-_0x4a006c._0x2e85,_0x4cdfc4-_0x4a006c._0x4f3252,_0x262311,_0x390c89-_0x4a006c._0x286e5f);}return _0x1ef081[_0x51a071(_0x2a2f91._0x4ed257,0x3df,0x48d,_0x2a2f91._0x3a289b)](_0x11aae=>({'content':_0x11aae[_0x5b5331(0x5e7,0x4f1,0x60a,0x56f)],'status':_0x11aae[_0x51a071(0x370,0x3c0,0x390,0x30f)],'id':_0x11aae['id']}));}function createStructuredResult(_0x7eff52,_0x446e60,_0x27b15e,_0x53f700){const _0x4e0bbd={_0x4f7b73:0x2cb,_0x41cfb7:0xe7,_0x5ecc9f:0x23e,_0x5c75dd:0x2a6,_0x20caad:0x44e},_0x345f70={_0x5468f0:0x19b,_0x12b22a:0x19c},_0x390082={_0x2a0cc2:0x19d};function _0x3acc4c(_0x2d3e0d,_0x3cb821,_0x216aa2,_0x4abead){return _0x1ac42a(_0x2d3e0d-0x1,_0x3cb821-0xd,_0x216aa2-_0x390082._0x2a0cc2,_0x3cb821);}function _0x3d9a8e(_0x583184,_0x20b45f,_0x4d5d91,_0x5a6bfe){return _0x1ac42a(_0x583184-_0x345f70._0x5468f0,_0x20b45f-_0x345f70._0x12b22a,_0x583184-0x5e4,_0x5a6bfe);}return{'allCompleted':_0x53f700,'items':_0x446e60[_0x3acc4c(_0x4e0bbd._0x4f7b73,_0x4e0bbd._0x41cfb7,0x247,0x1fc)](_0x3005ef=>({'id':_0x3005ef['id'],'content':_0x3005ef[_0x3acc4c(0x3dd,0x3a1,0x2a1,0x293)],'status':_0x3005ef[_0x3acc4c(0x230,0x1f6,0x228,0x21e)],'priority':_0x3005ef['priority'],'createdAt':_0x3005ef[_0x3d9a8e(0x3f8,0x22a,0x302,0x307)]})),'progress':createStatsProgress(_0x27b15e),'recentChanges':!![],'sessionId':_0x7eff52,'stats':_0x27b15e,'todosWritten':_0x446e60[_0x3acc4c(0x3bc,_0x4e0bbd._0x5ecc9f,_0x4e0bbd._0x5c75dd,_0x4e0bbd._0x20caad)]};}function createOutputText(_0x154f21,_0x229795){const _0x1a2d5d={_0x4e8d8b:0x1af,_0x2452e9:0xf6,_0x49c0e7:0x2f6,_0x59be89:0x545,_0x3f0ba6:0x53,_0x1d16e3:0x1b8,_0x50b099:0x18,_0x323dd9:0x145},_0x166fde={_0x4d6cde:0x303,_0x107957:0x58},_0x4d4ed1={_0x3a4d08:0x2b8};function _0x4a7084(_0xf162b,_0x5c7507,_0xeaa7b0,_0x260526){return _0x1ac42a(_0xf162b-0x115,_0x5c7507-0x1b,_0xeaa7b0-_0x4d4ed1._0x3a4d08,_0xf162b);}const _0x528955=JSON[_0x4a7084(0x2b7,0x12f,_0x1a2d5d._0x4e8d8b,_0x1a2d5d._0x2452e9)](createReminderItems(_0x154f21));function _0x18a6cb(_0x45a61c,_0x24bdb6,_0x208611,_0x1421c3){return _0x151cc1(_0x45a61c-0xf7,_0x1421c3- -_0x166fde._0x4d6cde,_0x45a61c,_0x1421c3-_0x166fde._0x107957);}if(_0x229795)return _0x18a6cb(0x15,-0xe1,-0x1f6,-0xfd)+_0x154f21[_0x4a7084(_0x1a2d5d._0x49c0e7,_0x1a2d5d._0x59be89,0x3c1,0x554)]+_0x4a7084(0x22,_0x1a2d5d._0x3f0ba6,_0x1a2d5d._0x1d16e3,_0x1a2d5d._0x50b099)+_0x528955+'.\x0a</system-reminder>';return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x528955+_0x18a6cb(-_0x1a2d5d._0x50b099,0x100,0x1df,_0x1a2d5d._0x323dd9);}function createTodoWriteTool(_0x120641=new TodoStore()){const _0x291ec7={_0xdf14e6:0x3db,_0x448f83:0x29d,_0x5546c2:0x363,_0x339b24:0x16,_0x52b4ac:0x313,_0x19d37e:0xca,_0x2fbf90:0x21b,_0x18ee0a:0x34c,_0x4f3cf0:0x200,_0x38dc32:0x8a,_0x16dddd:0x24a,_0x6f49e2:0xf7,_0x2ace27:0x8a,_0x1b6c93:0xc9,_0x5c732d:0xed,_0x44a33b:0x11,_0x173f2b:0x309,_0x182013:0x2b6,_0x5f4bae:0x1c8,_0x4af8cf:0x94,_0x5c20b8:0x25e,_0x3e5957:0x3c9,_0x1f529c:0xaa,_0xc9c616:0x216},_0x4db3bd={_0x1da1dd:0x192,_0x1c6f9d:0x33b,_0x3601bf:0xde,_0x2cd803:0x25a,_0x2f1d8d:0x292,_0x56b3cb:0x372,_0x306fd7:0x2cb,_0x5e85bb:0x24f},_0x504062={_0x5618fe:0x186,_0x388091:0x23e},_0x1c8408={_0x41468a:0x12,_0x4d3d5c:0x4a,_0x588176:0x10b};function _0x6b7b00(_0x22c212,_0x4734b0,_0x44071c,_0x2eb64e){return _0x151cc1(_0x22c212-0x4a,_0x22c212- -0x240,_0x4734b0,_0x2eb64e-0x89);}function _0x9fb516(_0x2feb27,_0x225531,_0x213542,_0x3b4741){return _0x151cc1(_0x2feb27-_0x1c8408._0x41468a,_0x3b4741-_0x1c8408._0x4d3d5c,_0x2feb27,_0x3b4741-_0x1c8408._0x588176);}return defineTool({'name':'TodoWrite','permissionClass':_0x9fb516(_0x291ec7._0xdf14e6,0x475,0x514,0x4b4),'description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20when\x20the\x20user\x20explicitly\x20requests\x20a\x20todo/checklist,\x20or\x20when\x20work\x20has\x20several\x20meaningful\x20phases,\x20dependencies,\x20or\x20checkpoints.\x20Skip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence\x20of\x20trivial\x20actions.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Create\x20the\x20list\x20once\x20before\x20starting\x20tracked\x20work.\x20Then\x20update\x20it\x20only\x20at\x20meaningful\x20milestones:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20all\x20newly\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x20Avoid\x20back-to-back\x20TodoWrite\x20calls\x20without\x20substantive\x20work\x20between\x20them.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked,\x20implementation\x20is\x20partial,\x20or\x20verification\x20fails.\x20Add\x20or\x20revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.\x0a-\x20After\x20implementation\x20and\x20verification\x20finish,\x20send\x20one\x20final\x20update\x20that\x20marks\x20all\x20completed\x20work\x20accurately.','inputSchema':{'type':_0x9fb516(0x47,0xaf,_0x291ec7._0x448f83,0x1b3),'properties':{'todos':{'type':_0x6b7b00(0x1c6,_0x291ec7._0x5546c2,_0x291ec7._0x339b24,_0x291ec7._0x52b4ac),'items':{'type':'object','properties':{'content':{'type':_0x6b7b00(-0x8a,_0x291ec7._0x19d37e,-0x2a,-_0x291ec7._0x2fbf90)},'status':{'type':_0x9fb516(0x2fd,_0x291ec7._0x18ee0a,0x2b6,_0x291ec7._0x4f3cf0)},'priority':{'type':_0x6b7b00(-_0x291ec7._0x38dc32,0x127,-_0x291ec7._0x16dddd,_0x291ec7._0x6f49e2)},'id':{'type':_0x6b7b00(-_0x291ec7._0x2ace27,_0x291ec7._0x1b6c93,_0x291ec7._0x5c732d,-_0x291ec7._0x44a33b)},'createdAt':{'type':_0x9fb516(0x233,0x12d,0x1e5,0x200)}},'required':[_0x6b7b00(0x241,_0x291ec7._0x173f2b,0xc6,_0x291ec7._0x182013),_0x6b7b00(_0x291ec7._0x5f4bae,_0x291ec7._0x4af8cf,0x19e,0x200),_0x9fb516(_0x291ec7._0x5c20b8,_0x291ec7._0x3e5957,_0x291ec7._0x1f529c,_0x291ec7._0xc9c616),'id']}}},'required':['todos']},async *'execute'(_0x5c6a40,_0x146844){const _0x14e949={_0x31a502:0x9a},_0x25e83e=_0x5c6a40;validateTodos(_0x25e83e);const _0x5a5296=_0x146844[_0x1b6bc0(0x2bc,0x2e4,0x9f,0x1c5)]||_0x1b6bc0(0x3c,_0x4db3bd._0x1da1dd,0x1de,0x1c),_0x3c1df7=new Date()[_0x1b6bc0(_0x4db3bd._0x1c6f9d,0x98,_0x4db3bd._0x3601bf,_0x4db3bd._0x2cd803)]();function _0x1b6bc0(_0x4f8fa7,_0x1924c0,_0xfa360b,_0x258555){return _0x9fb516(_0xfa360b,_0x1924c0-_0x504062._0x5618fe,_0xfa360b-0x8c,_0x258555- -_0x504062._0x388091);}const _0x3340ec=_0x25e83e['todos'][_0x59cf53(0x5e2,0x50b,0x6d6,0x574)](_0x399869=>({'id':_0x399869['id'],'content':_0x399869[_0x59cf53(0x550,0x4d8,0x68c,0x5ce)],'status':_0x399869[_0x59cf53(0x4c5,0x4ce,0x5c0,0x555)],'priority':_0x399869[_0x1b6bc0(-0x169,-0xed,0x5d,-0x28)],'sessionId':_0x5a5296,'createdAt':_0x399869[_0x1b6bc0(0xa6,-0x211,-0xb4,-0x63)]||_0x3c1df7,'updatedAt':_0x3c1df7}));_0x120641['setTodos'](_0x5a5296,_0x3340ec);const _0x3f416a=_0x120641['getStats'](_0x5a5296),_0x150c23=_0x3340ec[_0x1b6bc0(0x1f0,0x3bc,0x394,_0x4db3bd._0x2f1d8d)]>0x0&&_0x3340ec[_0x1b6bc0(_0x4db3bd._0x56b3cb,_0x4db3bd._0x306fd7,0x1c6,_0x4db3bd._0x5e85bb)](_0x448353=>_0x448353['status']===_0x59cf53(0x410,0x15a,0x209,0x2df));function _0x59cf53(_0x317cd1,_0x1d387b,_0x39c069,_0x518092){return _0x9fb516(_0x317cd1,_0x1d387b-0x83,_0x39c069-_0x14e949._0x31a502,_0x518092-0x103);}return createToolOutput(createOutputText(_0x3340ec,_0x150c23),createStructuredResult(_0x5a5296,_0x3340ec,_0x3f416a,_0x150c23));}});}import{mkdir as _0x527953,writeFile as _0x2d6814}from'fs/promises';import*as _0x3ea3bf from'path';function sanitizeFileName(_0x20490d){const _0x1792de={_0x2a87f0:0x188,_0x3378f7:0x40e};function _0x349f2c(_0x115d9e,_0x5b81fe,_0x2bd443,_0x27b7a7){return _0x1ac42a(_0x115d9e-_0x1792de._0x2a87f0,_0x5b81fe-0x10,_0x5b81fe-_0x1792de._0x3378f7,_0x2bd443);}return _0x20490d[_0x349f2c(0xe8,0x262,0x13f,0x426)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4a7416,_0x19ad33){const _0x14bb7b={_0x360f2f:0x7ac,_0x20c03c:0x8fe,_0x420261:0x73f,_0xab11a6:0x6d7,_0x2ac219:0x5ba,_0x5f585e:0x5a6,_0x14c46f:0x5bb,_0x54b2d0:0x7da,_0x1f4f04:0x846,_0x2b5e4e:0x70c,_0x3b48e1:0x66a,_0x34a495:0x5e4,_0x45c04d:0x6fc,_0x4da19c:0x73f,_0x27ac31:0x752,_0x547fc:0x62c,_0x3e2908:0x646,_0x5df5a7:0x86d,_0x5bf316:0x6fd,_0x46931a:0x8f7,_0xaff29a:0x8c3,_0x3e723d:0x720,_0x5d9e80:0x72b,_0x23d8d4:0x6e6,_0x15c01f:0x7b6,_0x202b38:0x913,_0x821c0d:0x41c,_0x1728df:0x5fc,_0x587459:0x538,_0x48ed07:0x68c,_0x1128c4:0x55b,_0x4437d4:0x3b6,_0x1f6bdf:0x934,_0x2e20c5:0x7f1,_0x457d64:0x7c1,_0x19a007:0x6b2,_0x477e12:0x606,_0x1c2683:0x5fb,_0x119e47:0x61e,_0x4a4ecb:0x846,_0x1f4c55:0x8e3,_0x2fde41:0x5ac,_0x5d427c:0x6b9,_0x483af3:0x6d4,_0x5b832a:0x4e9,_0x237319:0x89b,_0x10e020:0x7c2,_0x56c2bc:0x723,_0x18a1a7:0x863,_0x2402be:0x7ba,_0x3b9521:0x59a,_0x54d392:0x6a7,_0x5644db:0x73d,_0x1dd096:0x390,_0x20f582:0x394,_0x588e78:0x3f0,_0x5183ce:0x5e5,_0x5d6f2a:0x66a,_0x1d5f5e:0x51a,_0x1bd667:0x52f,_0x12f484:0x6ee,_0x41a52d:0x89a,_0x1bbd1c:0x7d2,_0x4f5467:0x941,_0x4b6014:0x4d7,_0x14c40f:0x5a0},_0x3daa55={_0x304d8c:0x2},_0x4e3def={_0x35d619:0x35a},{maxBytes:_0x5eb230,sessionDir:_0x299473}=_0x19ad33;if(!_0x4a7416[_0x69e014(_0x14bb7b._0x360f2f,_0x14bb7b._0x20c03c,_0x14bb7b._0x420261,_0x14bb7b._0xab11a6)]||Buffer[_0x69e014(0x506,0x4cb,_0x14bb7b._0x2ac219,0x514)](_0x4a7416[_0x69e014(_0x14bb7b._0x5f585e,_0x14bb7b._0x14c46f,_0x14bb7b._0x420261,0x66a)],_0x69e014(_0x14bb7b._0x54b2d0,0x8a5,_0x14bb7b._0x1f4f04,_0x14bb7b._0x2b5e4e))<=_0x5eb230)return _0x4a7416;const _0x9edd21=Buffer[_0x69e014(0x4bd,_0x14bb7b._0x3b48e1,0x5ba,0x45e)](_0x4a7416[_0x69e014(_0x14bb7b._0x34a495,_0x14bb7b._0x45c04d,_0x14bb7b._0x4da19c,0x90a)],'utf8');if(!_0x299473){const _0x5228c9=_0x4a7416[_0x4b93b8(0x6b1,0x8f4,_0x14bb7b._0x27ac31,0x76f)][_0x4b93b8(_0x14bb7b._0x547fc,_0x14bb7b._0x3e2908,0x6cc,_0x14bb7b._0x5df5a7)](0x0,_0x5eb230);return{..._0x4a7416,'output':_0x5228c9+(_0x4b93b8(_0x14bb7b._0x5bf316,0x743,0x75c,_0x14bb7b._0x46931a)+_0x5eb230+'\x20bytes\x20(original:\x20'+_0x9edd21+_0x4b93b8(0x5fd,_0x14bb7b._0xaff29a,_0x14bb7b._0x3e723d,0x6d5)),'meta':{..._0x4a7416[_0x4b93b8(_0x14bb7b._0x5d9e80,_0x14bb7b._0x23d8d4,_0x14bb7b._0x15c01f,0x978)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(0x6fb,0x7b3,0x7b6,_0x14bb7b._0x202b38)]['transforms'],_0x4b93b8(_0x14bb7b._0x821c0d,_0x14bb7b._0x1728df,_0x14bb7b._0x587459,_0x14bb7b._0x48ed07)]}};}const _0x128820=_0x4a7416[_0x4b93b8(0x3d7,0x639,_0x14bb7b._0x1128c4,_0x14bb7b._0x4437d4)]+'_'+sanitizeFileName(_0x4a7416[_0x4b93b8(_0x14bb7b._0x1f6bdf,0x992,_0x14bb7b._0x2e20c5,_0x14bb7b._0x457d64)])+_0x69e014(_0x14bb7b._0x19a007,_0x14bb7b._0x477e12,_0x14bb7b._0x1c2683,_0x14bb7b._0x119e47);function _0x69e014(_0x383238,_0x50f741,_0x5b50a3,_0xb8f367){return _0x151cc1(_0x383238-0x1e2,_0x5b50a3-_0x4e3def._0x35d619,_0x383238,_0xb8f367-0x113);}const _0x216db7=_0x3ea3bf['join'](_0x299473,_0x128820);await _0x527953(_0x299473,{'recursive':!![]}),await _0x2d6814(_0x216db7,_0x4a7416['output'],_0x69e014(0x74d,0x7e9,_0x14bb7b._0x4a4ecb,_0x14bb7b._0x1f4c55));let _0x5191bd=_0x4a7416[_0x69e014(_0x14bb7b._0x2fde41,_0x14bb7b._0x54b2d0,0x73f,0x759)][_0x69e014(0x674,0x7d5,_0x14bb7b._0x5d427c,0x7b7)](0x0,_0x5eb230);const _0x2e96d7=_0x5191bd[_0x69e014(0x529,_0x14bb7b._0x483af3,0x5ef,0x5f2)]('\x0a');_0x2e96d7>_0x5eb230*0.5&&(_0x5191bd=_0x5191bd[_0x69e014(_0x14bb7b._0x5b832a,0x83c,_0x14bb7b._0x5d427c,0x80d)](0x0,_0x2e96d7));const _0x2179f2=['',_0x69e014(_0x14bb7b._0x237319,_0x14bb7b._0x10e020,_0x14bb7b._0x56c2bc,_0x14bb7b._0x18a1a7),_0x69e014(_0x14bb7b._0x2402be,_0x14bb7b._0x3b9521,_0x14bb7b._0x54d392,_0x14bb7b._0x5644db)+_0x5eb230+_0x69e014(_0x14bb7b._0x1dd096,_0x14bb7b._0x20f582,0x559,_0x14bb7b._0x588e78)+_0x9edd21+'\x20bytes).','Full\x20output\x20saved\x20to:\x20'+_0x216db7,_0x4b93b8(_0x14bb7b._0x5183ce,0x42c,0x530,0x5a2),_0x69e014(_0x14bb7b._0x5d6f2a,_0x14bb7b._0x1d5f5e,_0x14bb7b._0x1bd667,0x563)][_0x69e014(_0x14bb7b._0x12f484,0x7db,0x813,0x8ee)]('\x0a');function _0x4b93b8(_0x4edbb8,_0x4e8527,_0x997229,_0x1e8744){return _0x151cc1(_0x4edbb8-_0x3daa55._0x304d8c,_0x997229-0x36d,_0x4edbb8,_0x1e8744-0x1a);}return{..._0x4a7416,'output':_0x5191bd+_0x2179f2,'meta':{..._0x4a7416[_0x69e014(0x897,0x745,0x7a3,_0x14bb7b._0x41a52d)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(_0x14bb7b._0x1bbd1c,_0x14bb7b._0x4f5467,0x7b6,0x66e)]['transforms'],_0x69e014(_0x14bb7b._0x4b6014,_0x14bb7b._0x14c40f,0x525,0x3f2)]}};}function createUpdateTopicTool(){const _0x43257c={_0x8981b:0x6,_0x519005:0x1ae,_0x1fecb1:0x1ed,_0x47be66:0x59,_0x1a1c3:0x3,_0x111ac7:0x175,_0xdd26ff:0x13a,_0x47d4ac:0x6d,_0x341d6e:0x1ac},_0xf3f23b={_0x1be933:0x36d,_0x2714e5:0x2e1,_0x479f53:0x372,_0x180088:0x4bd,_0x420ad9:0x41a,_0x5563a2:0x515,_0x406f75:0x2e8,_0x805d59:0x149,_0x4e4534:0x1bd,_0x354b17:0x3bd,_0x1415b2:0x588,_0x3fc129:0x4f5,_0x57cc38:0x33e,_0x541f7a:0x554,_0x2405c9:0x3ad},_0x50d585={_0x58ec0f:0x194,_0x20d956:0x3a5},_0x7a51e4={_0x39dbd3:0xb4,_0x5d12c8:0x411,_0x1a469e:0xe6},_0xadab3={_0x4352aa:0x13e,_0x4b1178:0x9d,_0x316fbf:0x32};function _0x345dae(_0x3f9dca,_0x300720,_0x3deb17,_0x4f7635){return _0x1ac42a(_0x3f9dca-_0xadab3._0x4352aa,_0x300720-_0xadab3._0x4b1178,_0x4f7635-_0xadab3._0x316fbf,_0x3deb17);}function _0xcb6532(_0x44c46b,_0x3be172,_0x17f009,_0x5788be){return _0x151cc1(_0x44c46b-_0x7a51e4._0x39dbd3,_0x5788be- -_0x7a51e4._0x5d12c8,_0x17f009,_0x5788be-_0x7a51e4._0x1a469e);}return defineTool({'name':_0x345dae(0x7c,-_0x43257c._0x8981b,_0x43257c._0x519005,0x45),'permissionClass':_0xcb6532(_0x43257c._0x1fecb1,-0xd2,-0x5,_0x43257c._0x47be66),'description':_0x345dae(_0x43257c._0x1a1c3,-_0x43257c._0x111ac7,-_0x43257c._0xdd26ff,0x5b),'inputSchema':{'type':'object','properties':{'topic':{'type':'string'}},'required':[_0x345dae(-_0x43257c._0x47d4ac,-_0x43257c._0x341d6e,0x4d,-0xbb)]},async *'execute'(_0xef78f2,_0x50deec){const _0x74a2c1={_0x5a7c51:0xa9,_0x11fc9e:0x1b8,_0x26cd44:0x3b9},{topic:_0x5b9db2}=_0xef78f2;function _0x3496a8(_0x38e72a,_0x22a185,_0x497ab2,_0x544410){return _0x345dae(_0x38e72a-_0x74a2c1._0x5a7c51,_0x22a185-_0x74a2c1._0x11fc9e,_0x497ab2,_0x544410-_0x74a2c1._0x26cd44);}if(typeof _0x5b9db2!==_0x3496a8(0x93,_0xf3f23b._0x1be933,_0xf3f23b._0x2714e5,0x224)||_0x5b9db2[_0x3496a8(0x4bc,0x3e9,0x609,0x49b)]()[_0x2a91d4(_0xf3f23b._0x479f53,_0xf3f23b._0x180088,0x475,_0xf3f23b._0x420ad9)]===0x0)throw new ToolExecutionError(_0x3496a8(_0xf3f23b._0x5563a2,_0xf3f23b._0x406f75,0x42f,0x3a8),{'error':_0x2a91d4(0x3d,0x25d,_0xf3f23b._0x805d59,_0xf3f23b._0x4e4534)});const _0x553e42=_0x5b9db2['trim']();function _0x2a91d4(_0x2cbf1d,_0x29cd62,_0x10a679,_0x2596c4){return _0xcb6532(_0x2cbf1d-0x16b,_0x29cd62-_0x50d585._0x58ec0f,_0x2cbf1d,_0x2596c4-_0x50d585._0x20d956);}return _0x50deec[_0x3496a8(_0xf3f23b._0x354b17,0x533,_0xf3f23b._0x1415b2,_0xf3f23b._0x3fc129)]?.(_0x553e42),yield createToolOutput(_0x3496a8(_0xf3f23b._0x57cc38,_0xf3f23b._0x541f7a,_0xf3f23b._0x2405c9,0x43f)+_0x553e42+'\x22',{'topic':_0x553e42}),void 0x0;}});}import{readFile as _0x270ae3,stat as _0x5eb4bb}from'fs/promises';import*as _0x38c22a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x151cc1(0x342,0x44f,0x5a5,0x48c),'high',_0x1ac42a(-0x319,-0x125,-0x1f2,-0x25b),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x40fdbf,_0x49a222){const _0x3a9c57={_0x3e7c31:0x32e,_0xa825f7:0x509,_0x58c555:0x450,_0x42b561:0x311,_0x1e89bb:0x36f,_0x4d4d17:0x37b,_0x1b9bf7:0x42a,_0x55e06e:0x354,_0x4f50d4:0x4c0,_0x349311:0x390,_0x357575:0x5f0,_0xedd78e:0x5b2,_0x1c44e7:0x4e9,_0x1e19b1:0x43a,_0x522027:0x499,_0x1b21b6:0x4e3,_0x12a8eb:0x3ae,_0x7da2a5:0x47d,_0x2ea14b:0x347,_0x4cbf60:0x2fe,_0x5d4778:0x49b,_0x4aebd6:0x2b2,_0x10b838:0x467,_0x5c6182:0x5fd,_0x388b55:0x526,_0x4f323f:0x4f4,_0x2c8f0b:0x81e,_0x53ba7c:0x6fe,_0x400678:0x712,_0x4dc25c:0x662,_0x731622:0x849,_0x2f4e30:0x789,_0x416d34:0x5c2,_0x1bab38:0x66b,_0x47fd00:0x4f1,_0x102534:0x405,_0x8e4d05:0x307,_0x1e13f3:0x3be,_0x159a8c:0x4de,_0x5cee75:0x48f,_0x75818b:0x5d7,_0x5afdf9:0x64f,_0x2eb425:0x48d,_0x185642:0x47e,_0x30c3ee:0x4f4,_0x1db24a:0x35d,_0x57ebe9:0x31e,_0x3d9a34:0x262,_0x1e81b3:0x421},_0x1cd67d={_0x45b640:0x7d},_0x42ca29={_0x12fceb:0x20};if(_0x40fdbf[_0x2b1512(_0x3a9c57._0x3e7c31,0x4ec,_0x3a9c57._0xa825f7,0x347)](0x0,0x8)[_0x3dec5f(0x43d,_0x3a9c57._0x58c555,0x520,0x63f)](PNG_SIGNATURE))return _0x2b1512(_0x3a9c57._0x42b561,_0x3a9c57._0x1e89bb,_0x3a9c57._0x4d4d17,_0x3a9c57._0x1b9bf7);if(_0x40fdbf[0x0]===0xff&&_0x40fdbf[0x1]===0xd8&&_0x40fdbf[0x2]===0xff)return'image/jpeg';const _0x2994ae=_0x40fdbf['subarray'](0x0,0x6)[_0x3dec5f(0x618,_0x3a9c57._0x55e06e,_0x3a9c57._0x4f50d4,_0x3a9c57._0x349311)]('ascii');if(_0x2994ae===_0x3dec5f(_0x3a9c57._0x357575,0x4ea,_0x3a9c57._0xedd78e,_0x3a9c57._0x1c44e7)||_0x2994ae===_0x2b1512(0x2e0,0x1e6,_0x3a9c57._0x1e19b1,0x33c))return _0x2b1512(_0x3a9c57._0x522027,_0x3a9c57._0x1b21b6,_0x3a9c57._0x12a8eb,0x548);if(_0x40fdbf[_0x2b1512(0x26b,_0x3a9c57._0x7da2a5,0x1e1,_0x3a9c57._0x2ea14b)](0x0,0x4)[_0x2b1512(0x50e,0x25d,0x3ba,0x420)]('ascii')===_0x2b1512(0x391,_0x3a9c57._0x4cbf60,0x46e,0x44c)&&_0x40fdbf['subarray'](0x8,0xc)[_0x2b1512(_0x3a9c57._0x5d4778,_0x3a9c57._0x4aebd6,_0x3a9c57._0x10b838,0x420)]('ascii')===_0x2b1512(0x45f,_0x3a9c57._0x5c6182,_0x3a9c57._0x388b55,_0x3a9c57._0x4f323f))return _0x3dec5f(_0x3a9c57._0x2c8f0b,0x64d,_0x3a9c57._0x53ba7c,0x603);function _0x3dec5f(_0x12c74e,_0x565a8b,_0x31752c,_0x210d90){return _0x1ac42a(_0x12c74e-0x14c,_0x565a8b-_0x42ca29._0x12fceb,_0x31752c-0x5ee,_0x12c74e);}const _0x5d3617=_0x38c22a[_0x2b1512(_0x3a9c57._0x400678,_0x3a9c57._0x4dc25c,_0x3a9c57._0x731622,0x691)](_0x49a222)['toLowerCase']();if(_0x5d3617===_0x2b1512(0x5d7,_0x3a9c57._0x2f4e30,_0x3a9c57._0x416d34,_0x3a9c57._0x1bab38))return _0x2b1512(_0x3a9c57._0x47fd00,_0x3a9c57._0x102534,0x544,0x42a);if(_0x5d3617==='.jpg'||_0x5d3617===_0x2b1512(_0x3a9c57._0x8e4d05,_0x3a9c57._0x1e13f3,0x4d7,0x439))return _0x2b1512(0x625,_0x3a9c57._0x159a8c,_0x3a9c57._0x5cee75,0x51d);function _0x2b1512(_0x5a0b8d,_0x2e95ae,_0x26c7c0,_0x2f748a){return _0x1ac42a(_0x5a0b8d-_0x1cd67d._0x45b640,_0x2e95ae-0x17d,_0x2f748a-0x54e,_0x26c7c0);}if(_0x5d3617===_0x2b1512(0x5b8,_0x3a9c57._0x75818b,_0x3a9c57._0x5afdf9,_0x3a9c57._0x2eb425))return _0x3dec5f(_0x3a9c57._0x185642,0x49d,0x5e8,_0x3a9c57._0x30c3ee);if(_0x5d3617===_0x2b1512(_0x3a9c57._0x1db24a,_0x3a9c57._0x57ebe9,_0x3a9c57._0x3d9a34,_0x3a9c57._0x1e81b3))return'image/webp';return void 0x0;}function normalizeDetail(_0x5958d0){const _0x5b49f1={_0x9cb04c:0x677,_0x195733:0x758,_0x4397b7:0x759},_0x3a3010={_0x20440f:0x10,_0x12946b:0x5c7},_0x12b3ef={_0x11931e:0x195,_0x1808c6:0x468};if(_0x5958d0===void 0x0)return void 0x0;const _0x5eb867=_0x5958d0[_0x15b8ef(0x4c0,0x6d6,_0x5b49f1._0x9cb04c,_0x5b49f1._0x195733)]()['toLowerCase']();if(!SUPPORTED_DETAILS['has'](_0x5eb867))throw new ToolExecutionError(_0x15b8ef(0x6b9,_0x5b49f1._0x4397b7,0x58e,0x707)+_0x5958d0,{'detail':_0x5958d0});function _0x592b92(_0x5877e9,_0x461f37,_0x6c93ff,_0x33bb6a){return _0x1ac42a(_0x5877e9-_0x12b3ef._0x11931e,_0x461f37-0x1a6,_0x33bb6a-_0x12b3ef._0x1808c6,_0x5877e9);}function _0x15b8ef(_0x5c1cbb,_0x35bbdf,_0x15aa1c,_0x25b3d9){return _0x1ac42a(_0x5c1cbb-_0x3a3010._0x20440f,_0x35bbdf-0x18a,_0x15aa1c-_0x3a3010._0x12946b,_0x35bbdf);}return _0x5eb867;}function createViewFileTool(_0x50018f={}){const _0x3cb90d={_0x451622:0x4c,_0x502226:0x8f,_0x5c1d85:0x201,_0x582ead:0x34,_0x28d107:0x3ce,_0x4aa18d:0x295,_0x58935c:0x561,_0xc265e2:0x1b0,_0x482b8d:0x4b,_0x41df30:0x2e,_0x293dd4:0x359,_0x33a753:0x347,_0x5aeab5:0x367,_0x9df678:0xc9,_0x436fd7:0x28,_0x50aa9f:0x4f,_0x1c6059:0xb3,_0x32a09c:0xa1,_0x3c91b8:0xd9,_0xcc0d6:0x241,_0x3ed985:0x216,_0x1d9507:0x106,_0x2971c3:0x311,_0xee5189:0x33,_0x5c0425:0xfc,_0x4e33d7:0x76},_0x973bd5={_0x275f9a:0x141,_0x3d414f:0x2,_0x1b66d9:0x2fd,_0x22e782:0x27f,_0x8a973f:0x22d,_0x86304f:0x2c1,_0x5c8ca0:0x2fa,_0x549a6c:0x3b,_0x4ac6b6:0x183,_0x5f058a:0x418,_0x4abf8e:0x2cb,_0x15fc47:0x42c,_0x7c3fc9:0x14,_0x9c67ba:0x13b,_0x2be897:0x36,_0x4f3f47:0x2c9,_0x2ce46d:0x233,_0xebeb53:0x255,_0x25601b:0x1a6,_0x3d4b58:0x35c,_0x4cdcb0:0x19c,_0x19c3f9:0x251,_0x1b5bd5:0x273,_0x2f45d8:0x448,_0x52de92:0x184,_0x4b31e6:0x318,_0x101f00:0x87,_0x15faa5:0x2e2,_0x30bbd7:0x4df,_0x20f909:0x4ff,_0x3c9a2c:0x3b2,_0x33d8ac:0x543,_0x200f9d:0x95,_0x1afa11:0x158,_0x3044a6:0x7c,_0x3928d8:0x2d2,_0x772bef:0x44a,_0x470492:0x376,_0x2b0656:0x5a9,_0x378847:0x28d,_0x2b9c4d:0x2f5,_0x8b0ad4:0x210,_0x542784:0x210,_0x21bfb2:0x2cf,_0x22f8ad:0x169,_0x3ed50b:0x202,_0x440d6e:0x1af,_0x2e7f50:0x244,_0x146833:0xfd,_0x356d1c:0x360,_0x3f4bcf:0xac,_0x1897d5:0x9d,_0x51a9a9:0x138,_0x9c54e7:0xdb,_0x27549:0xbe,_0x2bcc5c:0xed,_0x1faa80:0x81,_0x2e2034:0x6,_0x364026:0x382,_0x3fb513:0x3be,_0x1bab2d:0x1c4,_0xf4a230:0x1f4,_0x29ed35:0x394,_0xf6b9dd:0x430,_0x5ce95f:0x264,_0xd292a3:0x25f,_0x1e542d:0x234,_0x3f1cb1:0xd5},_0x7bc241={_0x54d946:0x111},_0x5b6fd9={_0x20fcce:0x1f4,_0x5d95be:0x25},_0x8ba8c6=_0x38c22a[_0x5066b8(-0x116,0x121,-_0x3cb90d._0x451622,-_0x3cb90d._0x502226)](_0x50018f['defaultCwd']??process[_0x5066b8(-0x27f,-_0x3cb90d._0x5c1d85,_0x3cb90d._0x582ead,-0x113)]());function _0x5066b8(_0x3f3536,_0x18546e,_0x28b037,_0x52b306){return _0x151cc1(_0x3f3536-_0x5b6fd9._0x20fcce,_0x52b306- -0x3aa,_0x3f3536,_0x52b306-_0x5b6fd9._0x5d95be);}const _0x12cfe3=_0x50018f[_0x1381b3(_0x3cb90d._0x28d107,0x25f,_0x3cb90d._0x4aa18d,_0x3cb90d._0x58935c)]??[],_0x348f74=_0x50018f[_0x5066b8(-0x1ce,-0x1c6,-0x23a,-_0x3cb90d._0xc265e2)]??DEFAULT_MAX_BYTES,_0x5c70dd=_0x50018f['name']??_0x5066b8(-0x9b,-_0x3cb90d._0x482b8d,-0x14,_0x3cb90d._0x41df30);function _0x1381b3(_0xed3537,_0x24fc02,_0x1a88de,_0x2d3e9c){return _0x151cc1(_0xed3537-0x7c,_0xed3537- -_0x7bc241._0x54d946,_0x1a88de,_0x2d3e9c-0x37);}return defineTool({'name':_0x5c70dd,'permissionClass':_0x1381b3(_0x3cb90d._0x293dd4,_0x3cb90d._0x33a753,_0x3cb90d._0x5aeab5,0x2fb),'description':_0x5066b8(_0x3cb90d._0x9df678,-_0x3cb90d._0x436fd7,_0x3cb90d._0x50aa9f,-_0x3cb90d._0x1c6059),'inputSchema':{'type':_0x5066b8(-_0x3cb90d._0x32a09c,-_0x3cb90d._0x3c91b8,-0x31c,-_0x3cb90d._0xcc0d6),'properties':{'path':{'type':_0x5066b8(-_0x3cb90d._0x3ed985,-_0x3cb90d._0x1d9507,-0x204,-0x1f4)},'detail':{'type':_0x5066b8(-_0x3cb90d._0x2971c3,-0x316,-_0x3cb90d._0xee5189,-0x1f4)}},'required':[_0x1381b3(_0x3cb90d._0x5c0425,0xa1,-_0x3cb90d._0x4e33d7,0x28f)]},async *'execute'(_0x2e2521){const _0x330de9={_0xe64c0c:0xd9,_0x549094:0x72},_0x10b1b0=resolveAllowedPath(_0x8ba8c6,_0x12cfe3,_0x2e2521[_0x495504(_0x973bd5._0x275f9a,-_0x973bd5._0x3d414f,_0x973bd5._0x1b66d9,_0x973bd5._0x22e782)]);function _0x495504(_0x5488f1,_0x179148,_0xde300e,_0x4d3a1e){return _0x5066b8(_0xde300e,_0x179148-0xf9,_0xde300e-0x1ae,_0x5488f1-0x2de);}await assertWorkspaceFile(_0x10b1b0);const _0x2c4e9c=await _0x5eb4bb(_0x10b1b0);function _0x330b22(_0x4805d1,_0x5cf338,_0x2cbe5e,_0x400327){return _0x1381b3(_0x400327- -_0x330de9._0xe64c0c,_0x5cf338-0x103,_0x2cbe5e,_0x400327-_0x330de9._0x549094);}if(_0x2c4e9c[_0x330b22(_0x973bd5._0x8a973f,0x191,_0x973bd5._0x86304f,_0x973bd5._0x5c8ca0)]>_0x348f74)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x2e2521[_0x330b22(0x54,_0x973bd5._0x549a6c,0x1c4,0x23)],{'path':_0x2e2521[_0x330b22(0x109,-0x56,-_0x973bd5._0x4ac6b6,0x23)],'maxBytes':_0x348f74,'size':_0x2c4e9c[_0x495504(_0x973bd5._0x5f058a,_0x973bd5._0x4abf8e,_0x973bd5._0x15fc47,0x4d8)]});const _0x49dad5=await _0x270ae3(_0x10b1b0),_0x44bc61=detectImageMediaType(_0x49dad5,_0x10b1b0);if(!_0x44bc61)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x2e2521[_0x495504(_0x973bd5._0x275f9a,_0x973bd5._0x7c3fc9,_0x973bd5._0x9c67ba,_0x973bd5._0x2be897)],{'path':_0x2e2521[_0x495504(0x141,0x1cd,_0x973bd5._0x4f3f47,_0x973bd5._0x2ce46d)],'supported':[_0x495504(0x1f0,_0x973bd5._0xebeb53,_0x973bd5._0x25601b,_0x973bd5._0x3d4b58),_0x495504(_0x973bd5._0x4cdcb0,0x5b,_0x973bd5._0x19c3f9,_0x973bd5._0x1b5bd5),_0x330b22(-0x156,0x12c,0x9b,-0x36),_0x330b22(0x277,_0x973bd5._0x2f45d8,0xfa,0x2b0),_0x495504(_0x973bd5._0x52de92,_0x973bd5._0x4b31e6,_0x973bd5._0x101f00,_0x973bd5._0x15faa5)]});const _0xb4340c=normalizeDetail(_0x2e2521[_0x495504(0x422,_0x973bd5._0x30bbd7,0x4d5,_0x973bd5._0x20f909)]),_0x5eba07=[_0x495504(_0x973bd5._0x3c9a2c,0x4a4,_0x973bd5._0x33d8ac,0x336)+_0x2e2521[_0x330b22(_0x973bd5._0x200f9d,-_0x973bd5._0x1afa11,-_0x973bd5._0x3044a6,0x23)],'MIME:\x20'+_0x44bc61,_0x495504(_0x973bd5._0x3928d8,_0x973bd5._0x772bef,_0x973bd5._0x470492,0x45f)+_0x2c4e9c[_0x495504(0x418,0x4f0,_0x973bd5._0x2b0656,_0x973bd5._0x378847)]+'\x20bytes'][_0x330b22(0x1af,0x2f3,_0x973bd5._0x2b9c4d,0x19a)](_0xb4340c?['Detail:\x20'+_0xb4340c]:[])[_0x330b22(_0x973bd5._0x8b0ad4,_0x973bd5._0x542784,0x3a9,_0x973bd5._0x21bfb2)]('\x0a'),_0x135662=[{'type':_0x330b22(_0x973bd5._0x22f8ad,_0x973bd5._0x3ed50b,_0x973bd5._0x440d6e,0x1cb),'source':{'type':_0x330b22(0x250,0x18a,_0x973bd5._0x2e7f50,_0x973bd5._0x146833),'media_type':_0x44bc61,'data':_0x49dad5['toString'](_0x495504(0x21b,0x2c9,_0x973bd5._0x356d1c,0x33a))}},{'type':_0x495504(_0x973bd5._0x3f4bcf,_0x973bd5._0x1897d5,_0x973bd5._0x51a9a9,-_0x973bd5._0x9c54e7),'text':_0x5eba07}];return yield createToolOutput(_0x5eba07,{'path':_0x2e2521[_0x330b22(-0xdc,-_0x973bd5._0x27549,_0x973bd5._0x2bcc5c,0x23)],'resolvedPath':_0x10b1b0,'created':_0x2c4e9c[_0x330b22(-0x16,-0xf2,_0x973bd5._0x1faa80,_0x973bd5._0x2e2034)][_0x495504(_0x973bd5._0x364026,_0x973bd5._0x3fb513,0x4ef,_0x973bd5._0x1bab2d)](),'modified':_0x2c4e9c[_0x495504(_0x973bd5._0xf4a230,0x234,0x156,0x235)][_0x330b22(_0x973bd5._0x29ed35,_0x973bd5._0xf6b9dd,0x2e3,_0x973bd5._0x5ce95f)](),'size':_0x2c4e9c[_0x330b22(_0x973bd5._0xd292a3,0x266,0x3ec,0x2fa)],'mimeType':_0x44bc61,'encoding':_0x495504(0x21b,_0x973bd5._0x1e542d,_0x973bd5._0x3f1cb1,0x27e),..._0xb4340c?{'detail':_0xb4340c}:{}},_0x135662),void 0x0;}});}import _0x13ba17 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x27b119=>{const {lookup:_0x173e21}=await import('dns/promises');return _0x173e21(_0x27b119,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3e7982){const _0x26613a={_0xa42a4e:0x850,_0x113434:0x458},_0x3d3edc={_0x1aa6e7:0xd1},_0x18c57f={_0x4e3270:0x1f1,_0x20c38a:0x41,_0x3dad31:0x2f3},_0xa2b1cb=_0x3e7982['split']('.');if(_0xa2b1cb[_0x134233(_0x26613a._0xa42a4e,0x7d9,0x620,0x714)]!==0x4)return null;let _0x1d3392=0x0;function _0x5d6774(_0x21aeef,_0x2cacd6,_0x42ee27,_0x14931e){return _0x1ac42a(_0x21aeef-_0x18c57f._0x4e3270,_0x2cacd6-_0x18c57f._0x20c38a,_0x42ee27-_0x18c57f._0x3dad31,_0x2cacd6);}for(const _0xf14b6 of _0xa2b1cb){if(!/^\d{1,3}$/[_0x5d6774(0x4f9,0x543,_0x26613a._0x113434,0x4a0)](_0xf14b6))return null;const _0x5e33de=Number(_0xf14b6);if(_0x5e33de>0xff)return null;_0x1d3392=_0x1d3392*0x100+_0x5e33de;}function _0x134233(_0x36aff3,_0x42cb17,_0x406009,_0x335ffd){return _0x151cc1(_0x36aff3-_0x3d3edc._0x1aa6e7,_0x42cb17-0x353,_0x406009,_0x335ffd-0x109);}return _0x1d3392>>>0x0;}function isBlockedIpv4(_0x493cf8){const _0x314911={_0x13712a:0x8bb,_0x4a4709:0x6e6,_0x1eca74:0x753,_0x12cbf0:0x701,_0x1088da:0x806,_0x47464a:0x63f,_0x8e825f:0x486,_0x233b47:0x71b,_0x53036f:0x6df,_0x3319f8:0x196,_0x44fee4:0x38e,_0x5d733f:0x343,_0x33b90b:0x3a8,_0x27239f:0x446,_0x379899:0x178},_0x321632={_0x5513ee:0x113,_0x2d62d4:0x19f},_0x49dff7=ipv4ToInt(_0x493cf8);if(_0x49dff7===null)return!![];function _0x5da766(_0x239980,_0x2757b1,_0x325c89,_0x5491a6){return _0x1ac42a(_0x239980-0x1d2,_0x2757b1-0x80,_0x325c89-0x6cb,_0x2757b1);}function _0x218b9a(_0x175001,_0x49e7d5,_0x3628c4,_0xeab628){return _0x151cc1(_0x175001-0x19a,_0x3628c4- -_0x321632._0x5513ee,_0x49e7d5,_0xeab628-_0x321632._0x2d62d4);}const _0x5c62e6=(_0x2b90e1,_0x1ce906)=>{const _0x4131bd=ipv4ToInt(_0x2b90e1);if(_0x4131bd===null)return![];const _0x120a05=_0x1ce906===0x0?0x0:0xffffffff<<0x20-_0x1ce906>>>0x0;return(_0x49dff7&_0x120a05)===(_0x4131bd&_0x120a05);};return _0x5c62e6(_0x218b9a(0x2c4,0x210,0x1e8,0x38b),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x13712a,_0x314911._0x4a4709,0x776,_0x314911._0x1eca74),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x12cbf0,_0x314911._0x1088da,0x782,0x5fa),0xa)||_0x5c62e6(_0x5da766(0x450,_0x314911._0x47464a,0x612,_0x314911._0x8e825f),0x8)||_0x5c62e6(_0x5da766(0x7bf,_0x314911._0x233b47,_0x314911._0x53036f,0x5cc),0x10)||_0x5c62e6(_0x218b9a(_0x314911._0x3319f8,_0x314911._0x44fee4,0x308,_0x314911._0x5d733f),0xc)||_0x5c62e6('192.0.0.0',0x18)||_0x5c62e6('192.168.0.0',0x10)||_0x5c62e6('198.18.0.0',0xf)||_0x5c62e6(_0x218b9a(0x1be,0x2f1,0x2ae,_0x314911._0x33b90b),0x4)||_0x5c62e6(_0x218b9a(0x25c,_0x314911._0x27239f,0x2bb,_0x314911._0x379899),0x4);}function expandIpv6(_0x337321){const _0x352fda={_0x2b3b21:0x38d,_0x3bd9d0:0x462,_0x4b2d1c:0x2f6,_0x5b4c3e:0x17,_0x5c70f5:0x1dc,_0x3a10bc:0x3d5,_0x1c9e24:0x388,_0x33809c:0x4d4,_0x1d30a6:0x569,_0x4d8d99:0x4fc,_0xe8a689:0x2ed,_0x1ee2f2:0x461,_0x1340d:0x582,_0x11c876:0x41d,_0x4661dc:0x420,_0x436dd5:0x3e2,_0xe76449:0x41d,_0x4ca4a0:0x2f8,_0x53f94e:0x608,_0x6f04ad:0x39a,_0x3c368b:0x64e,_0x32a619:0x225,_0x2290cf:0x24f,_0x1e83c3:0x2b8},_0x45a19c={_0x250019:0x76};let _0x1460d8=_0x337321,_0x38ea06;const _0x1556a7=_0x1460d8['lastIndexOf'](':');_0x1460d8[_0x4ed640(_0x352fda._0x2b3b21,_0x352fda._0x3bd9d0,_0x352fda._0x4b2d1c,0x4b3)](_0x1556a7+0x1)[_0x4ed640(0x372,_0x352fda._0x5b4c3e,_0x352fda._0x5c70f5,0x2e3)]('.')&&(_0x38ea06=_0x1460d8[_0x2bc684(0x3ee,_0x352fda._0x3a10bc,_0x352fda._0x1c9e24,0x545)](_0x1556a7+0x1),_0x1460d8=_0x1460d8['slice'](0x0,_0x1556a7+0x1));const _0x4d2eef=_0x1460d8[_0x2bc684(0x630,0x4b4,_0x352fda._0x33809c,0x5c9)]('::');if(_0x4d2eef[_0x2bc684(_0x352fda._0x1d30a6,_0x352fda._0x4d8d99,0x5cf,0x383)]>0x2)return null;const _0x5ecd85=_0x250c0a=>_0x250c0a[_0x2bc684(0x39b,0x4b4,0x3da,0x3b5)](':')[_0x2bc684(0x424,0x28d,0x3ed,0x12c)](_0x2ca5ad=>_0x2ca5ad[_0x2bc684(0x344,0x4fc,0x642,0x6a6)]>0x0)['map'](_0x4f63d1=>Number['parseInt'](_0x4f63d1,0x10)),_0x13b93f=_0x4d2eef[0x0]?_0x5ecd85(_0x4d2eef[0x0]):[],_0x3e5290=_0x4d2eef['length']===0x2&&_0x4d2eef[0x1]?_0x5ecd85(_0x4d2eef[0x1]):[],_0x37e9ef=[];function _0x4ed640(_0xf67f77,_0x19b87b,_0x2320a4,_0x472e75){return _0x1ac42a(_0xf67f77-0xed,_0x19b87b-0x1bd,_0x2320a4-0x314,_0x19b87b);}function _0x2bc684(_0x3c6ea9,_0x42069c,_0x2249ca,_0x3c38f5){return _0x151cc1(_0x3c6ea9-0xe2,_0x42069c-_0x45a19c._0x250019,_0x3c6ea9,_0x3c38f5-0x88);}if(_0x38ea06){const _0x2ec27b=ipv4ToInt(_0x38ea06);if(_0x2ec27b===null)return null;_0x37e9ef['push'](_0x2ec27b>>>0x10&0xffff,_0x2ec27b&0xffff);}const _0x173620=[..._0x3e5290,..._0x37e9ef],_0xef6199=0x8-_0x13b93f[_0x4ed640(_0x352fda._0xe8a689,0x5ea,0x41d,0x360)]-_0x173620[_0x4ed640(_0x352fda._0x1ee2f2,_0x352fda._0x1340d,_0x352fda._0x11c876,0x591)];if(_0x4d2eef[_0x4ed640(_0x352fda._0x4661dc,_0x352fda._0x436dd5,_0x352fda._0xe76449,_0x352fda._0x4ca4a0)]===0x1)return _0x13b93f['length']+_0x173620[_0x2bc684(_0x352fda._0x53f94e,0x4fc,_0x352fda._0x6f04ad,_0x352fda._0x3c368b)]===0x8?[..._0x13b93f,..._0x173620]:null;if(_0xef6199<0x0)return null;return[..._0x13b93f,...new Array(_0xef6199)[_0x2bc684(0x3e0,_0x352fda._0x32a619,_0x352fda._0x2290cf,_0x352fda._0x1e83c3)](0x0),..._0x173620];}function isBlockedIpv6(_0x9e57a5){const _0x31817a={_0x20bcce:0x377,_0x3377c9:0x3fa,_0x2b865c:0x394,_0xb31383:0x290,_0x38c678:0x122,_0x3ddc32:0x68d,_0x1f3bda:0x7bb,_0x5489cf:0x885,_0x4ed4bd:0x6bd,_0x9798c7:0x7de},_0x95806d={_0x38dff4:0x2f},_0x58b96b={_0x277464:0x125},_0xe4143f=expandIpv6(_0x9e57a5);if(!_0xe4143f||_0xe4143f[_0x5cba0b(0x51e,_0x31817a._0x20bcce,0x480,_0x31817a._0x3377c9)](_0x6ea84a=>Number[_0x5cba0b(0x25b,0x2d6,0x3d9,0x144)](_0x6ea84a)))return!![];const _0x391143=_0xe4143f['slice'](0x0,0x7)[_0x10532b(0x5ba,0x647,0x552,0x586)](_0x26e5c9=>_0x26e5c9===0x0);if(_0x391143&&(_0xe4143f[0x7]===0x0||_0xe4143f[0x7]===0x1))return!![];function _0x10532b(_0x23cda0,_0x13fdba,_0x26c8de,_0x2b3c9d){return _0x1ac42a(_0x23cda0-0x10c,_0x13fdba-_0x58b96b._0x277464,_0x13fdba-0x581,_0x23cda0);}if(_0xe4143f[_0x5cba0b(_0x31817a._0x2b865c,_0x31817a._0xb31383,0x3f9,_0x31817a._0x38c678)](0x0,0x5)[_0x10532b(0x7cf,0x647,_0x31817a._0x3ddc32,_0x31817a._0x1f3bda)](_0x1a0ae6=>_0x1a0ae6===0x0)&&(_0xe4143f[0x5]===0xffff||_0xe4143f[0x5]===0x0)){const _0x522eb7=(_0xe4143f[0x6]<<0x10|_0xe4143f[0x7])>>>0x0,_0x947303=[_0x522eb7>>>0x18&0xff,_0x522eb7>>>0x10&0xff,_0x522eb7>>>0x8&0xff,_0x522eb7&0xff][_0x10532b(_0x31817a._0x5489cf,_0x31817a._0x4ed4bd,0x6bc,_0x31817a._0x9798c7)]('.');return isBlockedIpv4(_0x947303);}const _0x5e3388=_0xe4143f[0x0];function _0x5cba0b(_0x491c57,_0x62565b,_0x18c6e2,_0x3fb261){return _0x1ac42a(_0x491c57-0x74,_0x62565b-_0x95806d._0x38dff4,_0x62565b-0x2ae,_0x18c6e2);}if((_0x5e3388&0xff00)===0xfc00||(_0x5e3388&0xfe00)===0xfc00)return!![];if((_0x5e3388&0xffc0)===0xfe80)return!![];if((_0x5e3388&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x42504d){const _0x327b0f=isIP(_0x42504d);if(_0x327b0f===0x4)return isBlockedIpv4(_0x42504d);if(_0x327b0f===0x6)return isBlockedIpv6(_0x42504d);return!![];}async function assertPublicUrl(_0x20403b,_0x6b1f20={}){const _0x164cb4={_0x6dd66b:0x14c,_0x4f3489:0x129,_0x13898c:0xd9,_0x316aff:0x165,_0x19613b:0x25d,_0x3642f8:0x321,_0x134244:0x2f,_0x492c56:0x48,_0x10947d:0x430,_0xbe6328:0x2a6,_0xa50702:0x36e,_0x512f0b:0x579,_0x49de2b:0x48b,_0x3eacbf:0x4e8,_0x2cc885:0x336,_0xf12037:0x168,_0x2fdd65:0x159,_0xb426c:0x18c,_0x44190f:0x20d,_0x3b45a2:0x174,_0x3e45be:0x81,_0x341ff5:0x171,_0x31130d:0x157,_0x42872d:0x4b7,_0x493587:0x50b,_0x5dca84:0x358,_0x3739e9:0x76,_0x27396d:0x231,_0xecb6b4:0x62d,_0x51247c:0x5a8,_0x3add04:0x43a,_0x552716:0x1f0,_0x4c6530:0x7,_0x213c7f:0x2fc,_0x4e0d06:0x365},_0x1542a8={_0x4dd239:0x194},_0x2358f4={_0x203609:0x19e};let _0x16372a;try{_0x16372a=new URL(_0x20403b);}catch{throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x6dd66b,_0x164cb4._0x4f3489,_0x164cb4._0x13898c,_0x164cb4._0x316aff),{'url':_0x20403b});}if(_0x16372a[_0x4c17bf(_0x164cb4._0x19613b,0x312,_0x164cb4._0x3642f8,0x168)]!==_0x4c17bf(-0x72,-_0x164cb4._0x134244,_0x164cb4._0x492c56,0x147)&&_0x16372a[_0x590908(0x5db,_0x164cb4._0x10947d,_0x164cb4._0xbe6328,_0x164cb4._0xa50702)]!=='https:')throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x20403b});if(_0x16372a[_0x590908(0x742,_0x164cb4._0x512f0b,_0x164cb4._0x49de2b,_0x164cb4._0x3eacbf)]||_0x16372a['password'])throw new ToolExecutionError(_0x4c17bf(0x86,0x97,_0x164cb4._0x2cc885,0x1bb),{'url':_0x16372a[_0x4c17bf(0x18d,0x320,0xa9,_0x164cb4._0xf12037)]+'//'+_0x16372a['host']+_0x16372a['pathname']});const _0x5d4b45=_0x16372a[_0x4c17bf(_0x164cb4._0x2fdd65,_0x164cb4._0xb426c,_0x164cb4._0x44190f,0x2bf)][_0x4c17bf(-_0x164cb4._0x3b45a2,-0x158,-0x26,0x2b)](/^\[|\]$/g,''),_0x4048bb=_0x16372a[_0x4c17bf(-0x23,_0x164cb4._0x3e45be,_0x164cb4._0x341ff5,_0x164cb4._0xf12037)]+'//'+_0x16372a[_0x4c17bf(-0x17a,-_0x164cb4._0x31130d,0x5d,0x37)]+_0x16372a[_0x590908(0x2f4,_0x164cb4._0x42872d,0x341,0x54a)];if(isIP(_0x5d4b45)){if(isBlockedAddress(_0x5d4b45))throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x493587,0x49b,0x3f5,_0x164cb4._0x5dca84),{'url':_0x4048bb});return _0x16372a;}const _0x3f8f02=_0x6b1f20['lookup']??defaultLookup;let _0x349b27;try{_0x349b27=await _0x3f8f02(_0x5d4b45);}catch{throw new ToolExecutionError(_0x4c17bf(-_0x164cb4._0x3739e9,0x2f1,_0x164cb4._0x27396d,0x13f),{'url':_0x4048bb});}if(_0x349b27[_0x590908(_0x164cb4._0xecb6b4,_0x164cb4._0x51247c,0x6dc,_0x164cb4._0x3add04)]===0x0)throw new ToolExecutionError(_0x4c17bf(0x167,_0x164cb4._0x552716,-_0x164cb4._0x4c6530,0x13f),{'url':_0x4048bb});for(const {address:_0x5d59ba}of _0x349b27){if(isBlockedAddress(_0x5d59ba))throw new ToolExecutionError(_0x590908(0x445,0x422,_0x164cb4._0x213c7f,_0x164cb4._0x4e0d06),{'url':_0x4048bb});}function _0x4c17bf(_0x125e2e,_0x2752f5,_0x57c7c7,_0x16db64){return _0x151cc1(_0x125e2e-0xd5,_0x16db64- -0x1a6,_0x125e2e,_0x16db64-_0x2358f4._0x203609);}function _0x590908(_0x3f104d,_0x2ac2a2,_0x1cea81,_0x204e2d){return _0x151cc1(_0x3f104d-0x2a,_0x2ac2a2-0x122,_0x204e2d,_0x204e2d-_0x1542a8._0x4dd239);}return _0x16372a;}async function safeFetch(_0x565309,_0x33ef42={},_0x1ec06c={}){const _0x1b0fdc={_0x40f32d:0x102,_0x26af2c:0x1b0,_0x33dac9:0x8f,_0x15a209:0x3,_0x1c4498:0x186,_0x22c0a2:0x32b,_0x5aac1c:0x2d3,_0x296108:0x296,_0x56ebb1:0x1c7,_0x23b036:0x137,_0x25e0db:0x11f,_0x42dcb5:0xae,_0x4b520f:0x2a,_0x342462:0x1f5,_0xdeffce:0xc9,_0x17916a:0xb,_0x4e9b8f:0x1cb,_0x1d4af1:0x59,_0x59f2cb:0x31,_0x2a1982:0x6c},_0x25a0dd={_0x4fca87:0x140,_0x226244:0x197},_0x3d4978={_0x4db169:0x1b};function _0x1bcf1(_0x3ad2ad,_0x2a9f7a,_0x3f2cd5,_0x865357){return _0x151cc1(_0x3ad2ad-0x9d,_0x3f2cd5- -0x24c,_0x3ad2ad,_0x865357-_0x3d4978._0x4db169);}const _0x298a8a=_0x1ec06c['fetchImpl']??fetch;function _0x47b8ca(_0x1224c8,_0x18b992,_0xc0f692,_0x519e4b){return _0x151cc1(_0x1224c8-_0x25a0dd._0x4fca87,_0x519e4b- -0x2bb,_0x18b992,_0x519e4b-_0x25a0dd._0x226244);}const _0x171841=_0x1ec06c[_0x47b8ca(-0x49,-0x9f,-0x15a,-_0x1b0fdc._0x40f32d)]??DEFAULT_MAX_REDIRECTS;let _0x33f126=_0x565309;for(let _0x1014da=0x0;;_0x1014da+=0x1){const _0x2a6ab9=await assertPublicUrl(_0x33f126,_0x1ec06c),_0x3542c2=await _0x298a8a(_0x2a6ab9[_0x1bcf1(_0x1b0fdc._0x26af2c,_0x1b0fdc._0x33dac9,_0x1b0fdc._0x15a209,-_0x1b0fdc._0x1c4498)](),{..._0x33ef42,'redirect':'manual'}),_0x196d41=_0x3542c2[_0x47b8ca(_0x1b0fdc._0x22c0a2,_0x1b0fdc._0x5aac1c,_0x1b0fdc._0x296108,_0x1b0fdc._0x56ebb1)][_0x47b8ca(_0x1b0fdc._0x23b036,0x1f6,-_0x1b0fdc._0x25e0db,_0x1b0fdc._0x42dcb5)]('location');if(!REDIRECT_STATUSES[_0x47b8ca(_0x1b0fdc._0x4b520f,_0x1b0fdc._0x342462,_0x1b0fdc._0xdeffce,0x157)](_0x3542c2['status'])||!_0x196d41)return _0x3542c2;if(_0x1014da>=_0x171841)throw new ToolExecutionError(_0x47b8ca(0x1dc,0x170,_0x1b0fdc._0x17916a,0x8d),{'url':_0x2a6ab9[_0x47b8ca(-_0x1b0fdc._0x4e9b8f,-_0x1b0fdc._0x1d4af1,-_0x1b0fdc._0x59f2cb,-_0x1b0fdc._0x2a1982)]()});_0x33f126=new URL(_0x196d41,_0x2a6ab9)['toString']();}}var USER_AGENT=_0x151cc1(0x4e2,0x42e,0x5ea,0x50c),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x32ac22,_0x45a1a6){const _0x1e9274={_0xbb9c1e:0x42c,_0x118b95:0x34b,_0xee2400:0x399,_0x39fab5:0x4b6,_0xe82b39:0x253,_0x30dd62:0x3d9,_0x15e4dd:0x36f,_0x4d21d7:0x3c6,_0x1ad9aa:0x52,_0x246f24:0xf7},_0x599c16={_0x1317a7:0x399,_0x9cdd43:0x24c},_0x2b76b0={_0x1a1298:0x159,_0xa8cdd3:0x43a},_0x28eb63={_0x5bb054:0x10d,_0x4708c9:0x16a,_0x3b1df2:0x39},_0xd4df23={_0x3e149d:0x3f},_0x4c820f=new AbortController(),_0x213a17=setTimeout(()=>_0x4c820f[_0x18090a(0x1da,0x376,0x37d,0x21d)](new Error(_0x18090a(0x32a,0x370,0x228,0x231))),_0x45a1a6),_0x676ed1=()=>_0x4c820f[_0x5631cc(0x438,0x3d9,0x3c6,0x43c)](_0x32ac22['reason']);function _0x5631cc(_0x4a5b92,_0x386c10,_0x5d367f,_0x126556){return _0x151cc1(_0x4a5b92-0x37,_0x5d367f-_0xd4df23._0x3e149d,_0x386c10,_0x126556-0x133);}function _0x18090a(_0x246d50,_0x54b7bc,_0x56b84e,_0x260de0){return _0x151cc1(_0x246d50-_0x28eb63._0x5bb054,_0x260de0- -_0x28eb63._0x4708c9,_0x246d50,_0x260de0-_0x28eb63._0x3b1df2);}return _0x32ac22['aborted']?_0x4c820f[_0x5631cc(_0x1e9274._0xbb9c1e,_0x1e9274._0x118b95,0x3c6,0x484)](_0x32ac22[_0x5631cc(_0x1e9274._0xee2400,_0x1e9274._0x39fab5,0x2f5,0x346)]):_0x32ac22[_0x5631cc(0x2bc,0x2e8,_0x1e9274._0xe82b39,0x33a)](_0x5631cc(_0x1e9274._0x30dd62,_0x1e9274._0x15e4dd,_0x1e9274._0x4d21d7,0x49d),_0x676ed1,{'once':!![]}),{'signal':_0x4c820f[_0x18090a(0xa5,-_0x1e9274._0x1ad9aa,_0x1e9274._0x246f24,0x1a)],'cleanup':()=>{const _0x5b9773={_0x6231cc:0x1aa,_0x439758:0x147};function _0x17bb42(_0x500cfb,_0xb81fc2,_0x405620,_0x5b8f79){return _0x18090a(_0xb81fc2,_0xb81fc2-0x109,_0x405620-_0x2b76b0._0x1a1298,_0x405620-_0x2b76b0._0xa8cdd3);}clearTimeout(_0x213a17);function _0x9af3a5(_0x56f32f,_0x13d83e,_0x372c33,_0x44d2e9){return _0x5631cc(_0x56f32f-_0x5b9773._0x6231cc,_0x372c33,_0x13d83e- -0x2d,_0x44d2e9-_0x5b9773._0x439758);}_0x32ac22[_0x17bb42(0x8c9,0x59a,0x734,0x7cc)](_0x9af3a5(0x209,_0x599c16._0x1317a7,_0x599c16._0x9cdd43,0x2c5),_0x676ed1);}};}function createWebFetchTool(_0x16cec4={}){const _0x4c8bfb={_0x2b95bf:0x4a4,_0x276816:0x5fd,_0x556960:0x2a6,_0x36cffd:0x1a3,_0x28c421:0x3da,_0x296688:0x22d,_0x401ec8:0x5b6,_0xf1bd2f:0x524,_0x26c907:0x1b2,_0x121736:0x47,_0x216a46:0x79,_0xe31127:0x6f,_0x13c510:0x25d,_0x2673fa:0xae,_0x368ad7:0x51a,_0x2506a4:0x56c,_0x34684e:0x3a3,_0x519b4a:0x369,_0x59075b:0x4a8,_0x2a6e9d:0x4ff,_0x1b41ab:0x92,_0x10187b:0x12a,_0x2bb0d6:0x45,_0x1b3385:0x121,_0x116c61:0x1df,_0x1d5a98:0x347,_0x286ae3:0x19c,_0x24c97e:0x254},_0x1526be={_0x3983ba:0x2ee,_0x183a5b:0x28b,_0x2d2ddf:0x152,_0x3486c2:0x4a4,_0x255f0d:0xec,_0x2fc4d9:0xe0,_0x34dca3:0x11,_0x1c16ff:0xb7,_0xea55c7:0x89,_0x13036b:0x2e9,_0x3c00de:0x1e5,_0x1999af:0x217,_0x29a483:0x2da,_0x315857:0x487,_0x55e30a:0x23d,_0x3e760a:0x39f,_0x43fe1a:0x34e,_0x17afa4:0x61d,_0x4e2b79:0x4f2,_0x2b4d38:0x1c7,_0xb9afaa:0x482,_0x4a7832:0x495,_0x646612:0x533,_0x1b85c8:0x303,_0x43455c:0x1fc,_0x36fca2:0x91,_0x52bdb7:0x18,_0x59c8fd:0xa7,_0x343e74:0x162,_0x3e33c0:0x132,_0xea34bf:0x5eb,_0x479639:0x43f,_0x59904f:0xad,_0xf80770:0x93,_0x399681:0x145,_0x37063b:0x54f,_0x4ad462:0x375,_0x5f136e:0x3bf,_0x4627ee:0x8f,_0x5fedf4:0x5c,_0x1e6a37:0xd1,_0x473cef:0x100,_0x2e97b1:0x99,_0x14717a:0x9e,_0x8a739d:0xbb,_0x459e11:0x160,_0x84ad07:0x23d},_0x34d77d={_0x4f9462:0xdd,_0x3f2674:0x108,_0x538aca:0x9a},_0x2d4f52={_0x287a26:0x288,_0x23c0bc:0x1d,_0x152bcf:0xe2},_0x4a7897={_0x1232f7:0x5e,_0x4b8227:0x412},_0x38d413={_0x56eba6:0xa4},_0x57d0c2=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x2b95bf,0x64d,0x458,_0x4c8bfb._0x276816)]??_0xf6b1a1(_0x4c8bfb._0x556960,_0x4c8bfb._0x36cffd,0x2b1,_0x4c8bfb._0x28c421),_0x4bf7f0=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x296688,0x1b4,0xc1,0x2f8)]??DEFAULT_TIMEOUT_MS2;function _0x1589a5(_0x3480f7,_0x4c4446,_0x344c00,_0x469af6){return _0x151cc1(_0x3480f7-0x105,_0x3480f7- -0x1fb,_0x4c4446,_0x469af6-_0x38d413._0x56eba6);}const _0x393167=_0x16cec4[_0xf6b1a1(0x4cb,_0x4c8bfb._0x401ec8,0x5c0,_0x4c8bfb._0xf1bd2f)];function _0xf6b1a1(_0x3b0bab,_0x3151ab,_0x20185c,_0xa8756f){return _0x1ac42a(_0x3b0bab-_0x4a7897._0x1232f7,_0x3151ab-0x17c,_0x3b0bab-_0x4a7897._0x4b8227,_0x3151ab);}const _0x170808=new _0x13ba17({'headingStyle':_0xf6b1a1(0x24c,0x252,0x2c9,_0x4c8bfb._0x26c907),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x170808[_0x1589a5(_0x4c8bfb._0x121736,0x181,0x76,0x1d5)](['script','style','noscript',_0x1589a5(-0x8d,-0x245,_0x4c8bfb._0x216a46,_0x4c8bfb._0xe31127),_0x1589a5(0x208,0x3b7,_0x4c8bfb._0x13c510,_0x4c8bfb._0x2673fa),'footer',_0xf6b1a1(_0x4c8bfb._0x368ad7,_0x4c8bfb._0x2506a4,0x52c,_0x4c8bfb._0x34684e),_0xf6b1a1(0x462,_0x4c8bfb._0x519b4a,0x625,_0x4c8bfb._0x59075b)]),defineTool({'name':_0x57d0c2,'permissionClass':_0xf6b1a1(_0x4c8bfb._0x2a6e9d,0x4a0,0x597,0x50c),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x1589a5(-_0x4c8bfb._0x1b41ab,0x1a,-0x12f,-_0x4c8bfb._0x10187b),'properties':{'description':{'type':_0x1589a5(-_0x4c8bfb._0x2bb0d6,-_0x4c8bfb._0x1b3385,-_0x4c8bfb._0x116c61,-0x9e)},'url':{'type':'string'}},'required':[_0xf6b1a1(_0x4c8bfb._0x1d5a98,_0x4c8bfb._0x286ae3,0x302,_0x4c8bfb._0x24c97e)]},async *'execute'(_0x16416d,_0x1c25b1){const _0x43fd38=(await assertPublicUrl(_0x16416d[_0x3b104a(_0x1526be._0x3983ba,_0x1526be._0x183a5b,0x33f,0x18c)],{'lookup':_0x393167}))[_0x3b104a(0x20a,_0x1526be._0x2d2ddf,0x2dc,_0x1526be._0x3486c2)]();if(_0x1c25b1['signal'][_0x5b3bc4(-0x104,-_0x1526be._0x255f0d,-0xd8,_0x1526be._0x2fc4d9)])throw new ToolExecutionError(_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x1c16ff,0x24b,-_0x1526be._0xea55c7),{'url':_0x43fd38});const _0x5c9257=createTimeoutSignal(_0x1c25b1[_0x3b104a(_0x1526be._0x13036b,_0x1526be._0x3c00de,0x211,_0x1526be._0x1999af)],_0x4bf7f0);let _0x423353='';function _0x3b104a(_0x41cc3c,_0x1a32b3,_0x39df0f,_0x3792d0){return _0x1589a5(_0x39df0f-_0x2d4f52._0x287a26,_0x41cc3c,_0x39df0f-_0x2d4f52._0x23c0bc,_0x3792d0-_0x2d4f52._0x152bcf);}let _0x203e94=0x0,_0x2739d8;function _0x5b3bc4(_0x153d71,_0x26cbcc,_0x132550,_0xdb0b28){return _0x1589a5(_0x26cbcc- -_0x34d77d._0x4f9462,_0xdb0b28,_0x132550-_0x34d77d._0x3f2674,_0xdb0b28-_0x34d77d._0x538aca);}try{const _0x5d5f60=await safeFetch(_0x43fd38,{'headers':{'User-Agent':USER_AGENT},'signal':_0x5c9257[_0x3b104a(0x1c2,_0x1526be._0x29a483,0x211,0x3d4)]},{'lookup':_0x393167});if(!_0x5d5f60['ok'])throw new ToolExecutionError(_0x3b104a(_0x1526be._0x315857,_0x1526be._0x55e30a,_0x1526be._0x3e760a,0x4c0)+_0x5d5f60[_0x3b104a(_0x1526be._0x43fe1a,_0x1526be._0x17afa4,0x495,_0x1526be._0x4e2b79)]+'\x20'+_0x5d5f60[_0x3b104a(0x387,0xd9,0x20f,_0x1526be._0x2b4d38)],{'url':_0x43fd38,'statusCode':_0x5d5f60[_0x3b104a(_0x1526be._0xb9afaa,0x506,_0x1526be._0x4a7832,_0x1526be._0x646612)]});_0x423353=_0x5d5f60[_0x5b3bc4(_0x1526be._0x1b85c8,0x1aa,_0x1526be._0x43455c,0xdc)][_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x36fca2,0x1b6,_0x1526be._0x52bdb7)](_0x5b3bc4(0x102,-_0x1526be._0x59c8fd,-_0x1526be._0x343e74,-_0x1526be._0x3e33c0))??'',_0x203e94=_0x5d5f60['status'],_0x2739d8=await _0x5d5f60[_0x5b3bc4(-0x177,-0x160,0x23,-0x28a)]();}catch(_0x2b3b07){if(_0x2b3b07 instanceof ToolExecutionError)throw _0x2b3b07;const _0x2db8e3=_0x2b3b07 instanceof Error?_0x2b3b07[_0x3b104a(0x607,_0x1526be._0xea34bf,0x51b,0x637)]:String(_0x2b3b07);throw new ToolExecutionError(_0x2db8e3,{'url':_0x43fd38});}finally{_0x5c9257['cleanup']();}const _0x365925=new Date()[_0x3b104a(0x63e,_0x1526be._0x479639,0x4db,0x3d9)]();let _0x1e307f,_0x26f5ba;if(_0x423353[_0x5b3bc4(-_0x1526be._0x59904f,-_0x1526be._0xf80770,-0x200,-_0x1526be._0x399681)](_0x3b104a(0x554,0x59b,0x569,_0x1526be._0x37063b)))_0x1e307f=_0x3b104a(0x378,0x326,_0x1526be._0x4ad462,_0x1526be._0x5f136e)+_0x2739d8+_0x5b3bc4(-0x242,-0x9f,-_0x1526be._0x4627ee,-_0x1526be._0x5fedf4),_0x26f5ba=_0x5b3bc4(0x12a,0x7b,_0x1526be._0x1e6a37,_0x1526be._0x473cef);else _0x423353['includes']('text/html')?(_0x1e307f=_0x170808[_0x3b104a(0x6da,0x5f3,0x594,0x74b)](_0x2739d8),_0x26f5ba=_0x5b3bc4(-_0x1526be._0x2e97b1,0x30,_0x1526be._0x14717a,_0x1526be._0x8a739d)):(_0x1e307f=_0x2739d8,_0x26f5ba=_0x5b3bc4(-0x214,-_0x1526be._0x459e11,-_0x1526be._0x84ad07,-0x300));return yield createToolOutput(_0x1e307f,{'url':_0x43fd38,'contentType':_0x423353,'statusCode':_0x203e94,'format':_0x26f5ba,'size':_0x2739d8['length'],'fetchedAt':_0x365925}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x1d3cd6){const _0x35e2b5={_0x3d0964:0x157,_0x587d40:0x136,_0x9d64b3:0x1b2,_0x26f71b:0x1f2,_0x1079e0:0xb7,_0x5beb42:0x94,_0x140d74:0x43,_0x52e6bf:0x8d,_0x9d2641:0x99,_0x48d41f:0x94,_0x56077f:0x81,_0x545b80:0x9c,_0x175242:0x50,_0x49693b:0x171,_0x1e55d5:0x231},_0x471ca0={_0x5491a4:0x34,_0x21449b:0x4},_0x5621ac={_0x4f6a1d:0x1c7};function _0x334cd0(_0x1d7513,_0x22dfa9,_0x1a27ce,_0x595b02){return _0x1ac42a(_0x1d7513-0x8e,_0x22dfa9-_0x5621ac._0x4f6a1d,_0x595b02-0x67,_0x22dfa9);}function _0x36465d(_0x49df45,_0x10c0e3,_0x3fd7cd,_0x5b64de){return _0x151cc1(_0x49df45-_0x471ca0._0x5491a4,_0x3fd7cd- -0x204,_0x5b64de,_0x5b64de-_0x471ca0._0x21449b);}try{const _0x4d921f=new URL(_0x1d3cd6);for(const _0x310a04 of[_0x36465d(-_0x35e2b5._0x3d0964,0xe1,-0x5c,-0xb7),_0x334cd0(_0x35e2b5._0x587d40,0x1bc,0x29f,0xd7),_0x36465d(0x3b8,_0x35e2b5._0x9d64b3,_0x35e2b5._0x26f71b,_0x35e2b5._0x1079e0),_0x334cd0(-0x165,-_0x35e2b5._0x5beb42,_0x35e2b5._0x140d74,-0x65),_0x36465d(-0x109,-0x1ad,-0x62,-0x19f),_0x334cd0(-0x17c,-_0x35e2b5._0x52e6bf,-_0x35e2b5._0x9d2641,-_0x35e2b5._0x48d41f),'fbclid','mc_cid',_0x334cd0(_0x35e2b5._0x56077f,0x21e,_0x35e2b5._0x545b80,_0x35e2b5._0x175242)]){_0x4d921f[_0x36465d(0x9a,-_0x35e2b5._0x49693b,-0x81,-_0x35e2b5._0x1e55d5)]['delete'](_0x310a04);}return _0x4d921f['toString']();}catch{return _0x1d3cd6;}}function cseDateRestrict(_0x376746){const _0x1a2163={_0xc409ef:0x304,_0x26c7ca:0x3ec,_0x2d5679:0x3e8,_0x527838:0x40d,_0x16b423:0x34b,_0x5299ce:0x5dd,_0x49e579:0x672},_0xd1189c={_0x858a0f:0x5e9},_0x5aa459={_0x19ecc2:0x1b7};if(_0x376746<=0x0)return void 0x0;function _0x539424(_0x3e5ac4,_0x252834,_0x24ddee,_0x1d98f0){return _0x1ac42a(_0x3e5ac4-0x6a,_0x252834-_0x5aa459._0x19ecc2,_0x1d98f0-0x35b,_0x24ddee);}function _0xa4f275(_0x47a10e,_0x175ba4,_0x10d554,_0x30545c){return _0x1ac42a(_0x47a10e-0x54,_0x175ba4-0xdb,_0x47a10e-_0xd1189c._0x858a0f,_0x30545c);}if(_0x376746<=0x1e)return'd'+Math[_0x539424(0x502,_0x1a2163._0xc409ef,0x32c,_0x1a2163._0x26c7ca)](0x1,Math[_0x539424(0x29b,_0x1a2163._0x2d5679,0x380,0x28b)](_0x376746));if(_0x376746<=0x16d)return'm'+Math[_0x539424(_0x1a2163._0x527838,0x696,_0x1a2163._0x16b423,0x4d4)](_0x376746/0x1e);return'y'+Math[_0xa4f275(0x762,0x79a,_0x1a2163._0x5299ce,_0x1a2163._0x49e579)](_0x376746/0x16d);}function addSiteFilters(_0x33b27c,_0x4031f2){const _0x428e3d={_0x229369:0x325,_0x3e31c9:0x4c5,_0x3093bd:0x649,_0x346f8d:0x520,_0x5c6ce5:0x4bc,_0x4d94d0:0x2b1,_0x3b437f:0x134,_0x57da83:0x4ef},_0x3084fa={_0x1c827b:0x9b,_0x43a619:0x2},_0x2cb4c2={_0x159996:0x68,_0xa18a47:0x43f};if(_0x4031f2['length']===0x0)return _0x33b27c[_0x2da184(0x4ef,0x364,0x62f,_0x428e3d._0x229369)]();function _0x2da184(_0x4321c2,_0x260275,_0xc08dad,_0x151829){return _0x1ac42a(_0x4321c2-0x1c0,_0x260275-_0x2cb4c2._0x159996,_0x4321c2-_0x2cb4c2._0xa18a47,_0xc08dad);}function _0x22328f(_0x2cc0f2,_0x4a0179,_0x2a0a94,_0x413602){return _0x1ac42a(_0x2cc0f2-_0x3084fa._0x1c827b,_0x4a0179-_0x3084fa._0x43a619,_0x2a0a94-0x3e4,_0x413602);}return(_0x33b27c+'\x20('+_0x4031f2[_0x2da184(0x4e9,0x52e,0x53e,_0x428e3d._0x3e31c9)](_0x1f5702=>_0x22328f(0x366,0x1c7,0x32e,0x3bb)+_0x1f5702)[_0x22328f(_0x428e3d._0x3093bd,0x62c,_0x428e3d._0x346f8d,_0x428e3d._0x5c6ce5)](_0x2da184(_0x428e3d._0x4d94d0,_0x428e3d._0x3b437f,0x207,0x3b1))+')')[_0x2da184(_0x428e3d._0x57da83,0x39a,0x494,0x5c9)]();}function normalizeType(_0x26f00b){const _0xcb9fea={_0x4040ed:0x2c7,_0x47b99c:0x1e5,_0x23f600:0xa6,_0x51fd97:0x12e,_0x186680:0x1dc,_0x2a8f6c:0x343,_0x24fe81:0x287,_0x976406:0x33e},_0x36e734={_0xda16cf:0x73,_0x36b71e:0x60},_0x4d0ceb={_0x4fc577:0x1e4,_0x47acfa:0x101,_0x6e7924:0x5ae};function _0x564ff9(_0x10b101,_0x1db528,_0x434a08,_0x57d627){return _0x1ac42a(_0x10b101-_0x4d0ceb._0x4fc577,_0x1db528-_0x4d0ceb._0x47acfa,_0x10b101-_0x4d0ceb._0x6e7924,_0x57d627);}function _0x552943(_0x37c7f6,_0x3a766f,_0x3c2e7a,_0x148c34){return _0x151cc1(_0x37c7f6-_0x36e734._0xda16cf,_0x3a766f- -_0x36e734._0x36b71e,_0x3c2e7a,_0x148c34-0xe7);}return _0x26f00b===_0x552943(_0xcb9fea._0x4040ed,0x1dc,_0xcb9fea._0x47b99c,_0xcb9fea._0x23f600)?_0x552943(_0xcb9fea._0x51fd97,_0xcb9fea._0x186680,0x24e,_0xcb9fea._0x2a8f6c):_0x552943(_0xcb9fea._0x24fe81,0x393,_0xcb9fea._0x976406,0x304);}async function fetchJson(_0x5a942d,_0x28e8ce,_0x5eaf0d){const _0x4ac947={_0x168faa:0x280,_0x1394c3:0x1de,_0x27f28d:0xb9,_0x8199ac:0xa1,_0x262842:0xe4,_0x42ba6f:0x36,_0x2bbcab:0x28e,_0x312d67:0x113,_0x4824ff:0x108,_0x5da56d:0x2ad,_0x40fc30:0x292,_0x52cc9f:0x152,_0x190947:0x3b7,_0x21c251:0x11d,_0x1f8f7c:0x11e,_0x411734:0x1a2,_0xee8b56:0x207,_0x3852e0:0x115,_0x580d80:0x25d,_0x16bc47:0x247,_0x10e5fe:0x1ac,_0x3b99a1:0x5c,_0x103e1b:0x1d6},_0x459624={_0x5ed6aa:0xad,_0xdee24c:0x121},_0x4e62d3={_0x5b3ff7:0x17d,_0x290d66:0x4c};function _0x3651b1(_0x3a2270,_0x2518d8,_0x3204b3,_0x3a60b4){return _0x1ac42a(_0x3a2270-_0x4e62d3._0x5b3ff7,_0x2518d8-0xba,_0x2518d8- -_0x4e62d3._0x290d66,_0x3204b3);}const _0x555fc7=await fetch(_0x5a942d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x6c9c0d(_0x4ac947._0x168faa,0x31e,0x132,_0x4ac947._0x1394c3),..._0x5eaf0d?.[_0x3651b1(0x263,_0x4ac947._0x27f28d,-_0x4ac947._0x8199ac,0x98)]},'signal':_0x28e8ce,..._0x5eaf0d});function _0x6c9c0d(_0x3c8593,_0x52163f,_0x149ff5,_0x41c95e){return _0x1ac42a(_0x3c8593-_0x459624._0x5ed6aa,_0x52163f-0xfc,_0x3c8593-_0x459624._0xdee24c,_0x52163f);}if(!_0x555fc7['ok']){let _0x3c5e3e,_0x5b51bf;try{_0x3c5e3e=await _0x555fc7[_0x6c9c0d(-_0x4ac947._0x262842,_0x4ac947._0x42ba6f,-0x34,-_0x4ac947._0x2bbcab)]();const _0x5608aa=JSON[_0x6c9c0d(_0x4ac947._0x312d67,0x245,_0x4ac947._0x4824ff,_0x4ac947._0x5da56d)](_0x3c5e3e),_0x281893=typeof _0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x52cc9f,_0x4ac947._0x190947,0x125)]==='object'?_0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x21c251,_0x4ac947._0x1f8f7c,0x36c)][_0x3651b1(0x148,0x35,-0x4b,-0x185)]:void 0x0;_0x5b51bf=_0x5608aa[_0x3651b1(0xbf,0x35,-0x175,-0x16)]?.['message']??_0x5608aa[_0x6c9c0d(_0x4ac947._0x411734,0x1c7,0xb6,_0x4ac947._0xee8b56)]?.['errors']?.[0x0]?.[_0x6c9c0d(0x232,0x1f5,0x10f,0x115)]??_0x281893;}catch{}const _0x36b714=_0x5b51bf?_0x3651b1(-0x36,-0xb7,-0xe4,-0xfc)+_0x555fc7['status']+':\x20'+_0x5b51bf:_0x3651b1(-0x275,-0xb7,_0x4ac947._0x3852e0,-0x60)+_0x555fc7['status']+'\x20'+_0x555fc7[_0x3651b1(-_0x4ac947._0x580d80,-_0x4ac947._0x16bc47,-0xd1,-0x207)];throw new ToolExecutionError(_0x36b714,{'statusCode':_0x555fc7[_0x6c9c0d(_0x4ac947._0x10e5fe,0x4d,0x128,0x159)],..._0x3c5e3e?{'body':_0x3c5e3e}:{}});}return await _0x555fc7[_0x6c9c0d(0xf7,_0x4ac947._0x3b99a1,_0x4ac947._0x103e1b,-0x77)]();}async function hydrateResults(_0x61747c,_0x2d0aee,_0x2ab361,_0x2426dc){const _0x224d83={_0x10f2c8:0x27,_0x5c79e1:0x11,_0x56eadb:0x187,_0x4b617a:0x27,_0xba841:0x146,_0x4930e4:0x160,_0xf6f68c:0x245,_0x51db64:0xbb,_0x21e730:0x137},_0x3d6ad2={_0x511dd4:0x17c},_0x1bb420={_0x555a92:0x168,_0x29f429:0x8},_0x5d4fcb={_0x358ac6:0x134,_0x2ce329:0x25c,_0x723c59:0x16e,_0xf479cd:0x189,_0x4abf7a:0x17d,_0x429e17:0x2f9,_0x1189b4:0x2,_0x228544:0x107,_0x19ce7a:0x16a,_0x5dd2d8:0x2a7,_0x951960:0x2aa,_0x34063c:0x356,_0x208ea2:0x2bc,_0x43335d:0x2de,_0x426545:0x30d,_0x523288:0x278,_0x40b4e7:0x224,_0x3f4c9e:0x6d,_0x383eb0:0x1ff,_0x524556:0x146,_0x101596:0x303,_0x158da6:0x4c2,_0xab28f9:0x2a0,_0x213114:0x101,_0x5135c0:0x1e9,_0x4f65a0:0x384,_0x498f3a:0x15d,_0xd2660a:0x27e,_0x4a3c25:0x2fc,_0x3684df:0x13b,_0x52c7c1:0x179,_0x36f132:0x164,_0x521a9d:0x95,_0x29c3e4:0x303,_0x273d45:0x299,_0x427a59:0x262,_0x55e1a5:0x32a,_0x5f4039:0x20c,_0x40ca04:0x454,_0x5d4199:0x1e9,_0x4635e1:0x3a9,_0x56feda:0x55,_0x5a2394:0x8e,_0x299eb1:0x119,_0x520883:0x2ba,_0x147963:0x67,_0x1b1816:0x3d5,_0x2ab67e:0x2f5,_0x412966:0xa2,_0x649ef9:0x27,_0x48d826:0x10e},_0x3a2c67={_0x48825b:0x183,_0x672580:0x10f},_0x3e7a55=await Promise[_0x10b9bb(_0x224d83._0x10f2c8,0xc0,0x149,-_0x224d83._0x5c79e1)](_0x61747c[_0x1935e3(-_0x224d83._0x56eadb,-_0x224d83._0x4b617a,_0x224d83._0xba841,_0x224d83._0x4930e4)](0x0,0xa)[_0x10b9bb(0x1d2,0x295,0x329,_0x224d83._0xf6f68c)](async _0x4a5b2d=>{const _0x435a60={_0x592ca0:0x208,_0x4745d2:0xac};function _0x1f3881(_0x12ae7f,_0x45c654,_0x4f4dd9,_0x90b40){return _0x1935e3(_0x90b40,_0x4f4dd9-_0x3a2c67._0x48825b,_0x4f4dd9-_0x3a2c67._0x672580,_0x90b40-0x1bb);}function _0x2316cf(_0x14a955,_0x17ab8b,_0x1f9d75,_0x4a72b5){return _0x1935e3(_0x17ab8b,_0x14a955-_0x435a60._0x592ca0,_0x1f9d75-_0x435a60._0x4745d2,_0x4a72b5-0x126);}try{const _0x5cc131=await safeFetch(_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x10a,0x1a5,_0x5d4fcb._0x2ce329)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x2d0aee,'Accept':_0x1f3881(_0x5d4fcb._0x723c59,_0x5d4fcb._0xf479cd,_0x5d4fcb._0x4abf7a,_0x5d4fcb._0x429e17)},'signal':_0x2ab361},{'lookup':_0x2426dc});if(!_0x5cc131['ok'])return _0x4a5b2d;const _0x459f7c=await _0x5cc131[_0x2316cf(-0x6,-_0x5d4fcb._0x1189b4,-_0x5d4fcb._0x228544,_0x5d4fcb._0x19ce7a)](),_0xa31846=load(_0x459f7c),_0x27a87e=_0xa31846(_0x2316cf(_0x5d4fcb._0x5dd2d8,0x284,_0x5d4fcb._0x951960,_0x5d4fcb._0x34063c))['attr'](_0x2316cf(0x303,_0x5d4fcb._0x208ea2,_0x5d4fcb._0x43335d,0x216))||_0xa31846(_0x2316cf(0x22a,0x3a6,_0x5d4fcb._0x426545,0x314))[_0x2316cf(0x344,_0x5d4fcb._0x523288,_0x5d4fcb._0x40b4e7,0x500)]()[_0x1f3881(-_0x5d4fcb._0x3f4c9e,-0x31,-0x8b,-0x1c2)]()['trim'](),_0x445568=_0xa31846(_0x2316cf(_0x5d4fcb._0x383eb0,0x27f,0x34d,0x3ae))[_0x1f3881(_0x5d4fcb._0x524556,0x22c,0x164,0x1c6)](_0x2316cf(_0x5d4fcb._0x101596,0x2ec,_0x5d4fcb._0x158da6,_0x5d4fcb._0xab28f9))||_0xa31846(_0x2316cf(0x27c,0x2ea,0x3a8,_0x5d4fcb._0x213114))[_0x2316cf(_0x5d4fcb._0x5135c0,_0x5d4fcb._0x4f65a0,0x1ea,0x3b0)](_0x1f3881(0x2e6,_0x5d4fcb._0x498f3a,_0x5d4fcb._0xd2660a,_0x5d4fcb._0x4a3c25))||_0x4a5b2d[_0x1f3881(0x187,-0x62,_0x5d4fcb._0x3684df,_0x5d4fcb._0x52c7c1)],_0x2797ae=_0xa31846('meta[property=\x27article:published_time\x27]')[_0x1f3881(0x2de,0x2ca,_0x5d4fcb._0x36f132,_0x5d4fcb._0x521a9d)](_0x2316cf(_0x5d4fcb._0x29c3e4,_0x5d4fcb._0x273d45,0x26f,_0x5d4fcb._0x427a59))||_0xa31846(_0x2316cf(_0x5d4fcb._0x55e1a5,0x4da,_0x5d4fcb._0x5f4039,_0x5d4fcb._0x40ca04))[_0x2316cf(_0x5d4fcb._0x5d4199,0x141,0x4b,0xb6)](_0x1f3881(_0x5d4fcb._0x4635e1,_0x5d4fcb._0x56feda,0x214,_0x5d4fcb._0x5a2394))||_0x4a5b2d[_0x2316cf(0x164,_0x5d4fcb._0x299eb1,_0x5d4fcb._0x520883,_0x5d4fcb._0x147963)],_0x2fa5b9=_0xa31846('link[rel=\x27canonical\x27]')['attr'](_0x1f3881(0x3c7,_0x5d4fcb._0x1b1816,_0x5d4fcb._0x2ab67e,0x244));return{..._0x4a5b2d,'title':_0x27a87e||_0x4a5b2d['title'],'snippet':_0x445568,'url':_0x2fa5b9?normalizeUrl(new URL(_0x2fa5b9,_0x4a5b2d[_0x1f3881(0xd0,_0x5d4fcb._0x412966,0xaf,0x1)])['toString']()):_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x25,-_0x5d4fcb._0x649ef9,_0x5d4fcb._0x48d826)],'publishedAt':_0x2797ae};}catch{return _0x4a5b2d;}}));function _0x10b9bb(_0x3283db,_0x2c920d,_0x41bc93,_0x180c9f){return _0x1ac42a(_0x3283db-_0x1bb420._0x555a92,_0x2c920d-_0x1bb420._0x29f429,_0x2c920d-0x1eb,_0x180c9f);}function _0x1935e3(_0x79ae8d,_0x5c9e21,_0xce6f0f,_0x3499bb){return _0x1ac42a(_0x79ae8d-0x16d,_0x5c9e21-_0x3d6ad2._0x511dd4,_0x5c9e21- -0x9,_0x79ae8d);}const _0x48c940=new Map(_0x61747c[_0x1935e3(_0x224d83._0x51db64,-_0x224d83._0x4b617a,0x6c,_0x224d83._0x21e730)](0x0,0xa)['map']((_0x4aa04d,_0x17d523)=>[_0x4aa04d[_0x10b9bb(0x1a1,0x120,0x152,0x2a0)],_0x3e7a55[_0x17d523]]));return _0x61747c['map'](_0x43d06e=>_0x48c940['get'](_0x43d06e[_0x10b9bb(-0x23,0x120,0x2aa,0x97)])??_0x43d06e);}function formatResults(_0x46d965){const _0x59c42c={_0x189bff:0x47e,_0x478b8a:0x6bb,_0x89df33:0x3fc,_0x58206c:0x6ab,_0x42d76f:0x4cf},_0x11c7e7={_0x5fa3d5:0x542,_0x4ae505:0x643,_0x2f9811:0x609,_0x2209fd:0x481,_0x9cab72:0x634,_0x10be65:0x5e4,_0xd2143c:0x59f,_0x8d6730:0x56d,_0x5010ed:0x653,_0x442d31:0x606,_0x40270a:0x5f5,_0x4f889b:0x6e1,_0x1ccc3c:0x4a4,_0x1a0f12:0x49a,_0x5a1cfb:0x729,_0x472d68:0x65f,_0xcd9a05:0x71a,_0x3b8b30:0x78a,_0x54b3b:0x6c2},_0x36bc17={_0x5cc752:0x1bb,_0x210f0e:0x10},_0xeb786b={_0x107ea0:0x193};function _0x5942b8(_0x499c9d,_0x1c8187,_0x552936,_0x591516){return _0x1ac42a(_0x499c9d-0xf6,_0x1c8187-0x14f,_0x552936-0x6bf,_0x591516);}function _0x1fc44(_0x37b4ea,_0x5eb957,_0x2c6fae,_0x21547f){return _0x151cc1(_0x37b4ea-0x189,_0x5eb957-_0xeb786b._0x107ea0,_0x2c6fae,_0x21547f-0xce);}if(_0x46d965[_0x1fc44(0x4c0,0x619,0x717,0x464)]===0x0)return _0x5942b8(_0x59c42c._0x189bff,_0x59c42c._0x478b8a,0x5a4,0x5ad);return _0x46d965[_0x1fc44(_0x59c42c._0x89df33,0x5ba,0x4bb,0x784)](_0x1ffd44=>{const _0x55939d={_0x2e27bf:0x1b,_0x1fe972:0xe1};function _0x1fd9d8(_0x3953c2,_0x14f630,_0x5525b9,_0x345648){return _0x5942b8(_0x3953c2-0x111,_0x14f630-_0x36bc17._0x5cc752,_0x345648- -_0x36bc17._0x210f0e,_0x14f630);}const _0x408489=[_0x1ffd44['source'][_0x1fd9d8(0x6e0,_0x11c7e7._0x5fa3d5,0x694,_0x11c7e7._0x4ae505)]+'.\x20'+_0x1ffd44[_0x47c0a5(_0x11c7e7._0x2f9811,_0x11c7e7._0x2209fd,_0x11c7e7._0x9cab72,0x56c)],_0x1ffd44[_0x1fd9d8(0x52b,0x47d,0x443,_0x11c7e7._0x10be65)]];if(_0x1ffd44[_0x1fd9d8(0x72a,0x580,0x67f,0x670)])_0x408489[_0x47c0a5(0x5f5,0x4d4,0x4ee,0x776)](_0x1ffd44[_0x47c0a5(_0x11c7e7._0xd2143c,_0x11c7e7._0x8d6730,0x4b9,_0x11c7e7._0x5010ed)]);function _0x47c0a5(_0x37b7fe,_0x5c5789,_0x4fe67c,_0x3f74){return _0x5942b8(_0x37b7fe-0x1d6,_0x5c5789-_0x55939d._0x2e27bf,_0x37b7fe- -_0x55939d._0x1fe972,_0x5c5789);}if(_0x1ffd44[_0x1fd9d8(0x5db,_0x11c7e7._0x442d31,0x785,0x614)])_0x408489[_0x47c0a5(_0x11c7e7._0x40270a,0x7b0,_0x11c7e7._0x4f889b,0x5ac)](_0x1fd9d8(_0x11c7e7._0x1ccc3c,_0x11c7e7._0x1a0f12,_0x11c7e7._0x5a1cfb,_0x11c7e7._0x472d68)+_0x1ffd44[_0x47c0a5(0x543,0x50d,0x6a9,0x455)]);return _0x408489[_0x47c0a5(_0x11c7e7._0xcd9a05,_0x11c7e7._0x3b8b30,0x645,_0x11c7e7._0x54b3b)]('\x0a');})[_0x1fc44(0x7a9,0x64c,_0x59c42c._0x58206c,_0x59c42c._0x42d76f)]('\x0a\x0a');}async function searchOllama(_0x5f3d77,_0x13e4c3,_0x436eab){const _0x3b0fdb={_0x359653:0x71,_0xe61f33:0xb9,_0x519852:0xcc,_0x30533b:0x80,_0xdf9fc1:0x12,_0x406cba:0x2b,_0x49586a:0x18a,_0x1d00d8:0xa4,_0x3f07f9:0x2f7,_0x3f2091:0x7c1,_0x4a10a4:0x6f3},_0x8ec4e4={_0x1ebe3f:0x1cd,_0x6d069a:0x6cf},_0x38f50a={_0x221690:0x533,_0x25c37f:0x258,_0x5a1f19:0x255,_0x3050c5:0x283,_0x327b06:0x530,_0x2e203d:0x5c1},_0x2fe967={_0x2e5f0f:0x34,_0x65004:0x58},_0xaf9866={_0x339c3b:0x1a0},_0x84bb6a={_0x4511dc:0x10c},_0x1b1f44=Math['max'](0x1,Math['min'](0xa,_0x13e4c3['count']));function _0x23c401(_0x3dd20f,_0x2b625b,_0x3b4d93,_0x46fda9){return _0x151cc1(_0x3dd20f-0x16,_0x3dd20f- -0x1bb,_0x46fda9,_0x46fda9-_0x84bb6a._0x4511dc);}const _0xdfe2e0=addSiteFilters(_0x13e4c3['query'],_0x13e4c3[_0x559e3e(0x760,0x854,0x710,0x847)]),_0x250cba=await fetchJson(_0x23c401(_0x3b0fdb._0x359653,-_0x3b0fdb._0xe61f33,0xf1,_0x3b0fdb._0x519852),_0x436eab,{'method':'POST','headers':{'Authorization':_0x559e3e(0x30e,0x384,0x4c2,0x4ab)+_0x5f3d77['apiKey']},'body':JSON[_0x23c401(0xb9,-0x2a,-_0x3b0fdb._0x30533b,-_0x3b0fdb._0xdf9fc1)]({'query':_0xdfe2e0,'max_results':_0x1b1f44})}),_0x3f59c0=_0x250cba[_0x23c401(-_0x3b0fdb._0x406cba,-0x3f,-_0x3b0fdb._0x49586a,-_0x3b0fdb._0x1d00d8)]??[],_0x14b824=_0x3f59c0[_0x23c401(0x26c,0x227,_0x3b0fdb._0x3f07f9,0x17a)]((_0x1f0ad6,_0xa359b6)=>{function _0x152f99(_0x2c655e,_0x2159a5,_0x3f0f23,_0xecadd4){return _0x559e3e(_0x2c655e-0x1d3,_0x2159a5-_0xaf9866._0x339c3b,_0xecadd4- -0x51f,_0x2159a5);}function _0x548881(_0x4ac4a1,_0x3fce76,_0x122a2c,_0x34ba77){return _0x23c401(_0x122a2c-0x34a,_0x3fce76-_0x2fe967._0x2e5f0f,_0x122a2c-_0x2fe967._0x65004,_0x3fce76);}const _0x3f4356=_0x1f0ad6[_0x548881(_0x38f50a._0x221690,0x5e1,0x441,0x3e4)]||'';let _0x3d7c90;try{_0x3d7c90=new URL(_0x3f4356)[_0x548881(0x25f,0x3ec,0x36c,_0x38f50a._0x25c37f)];}catch{_0x3d7c90=null;}return{'title':_0x1f0ad6['title']||'Untitled','url':normalizeUrl(_0x3f4356),'snippet':_0x1f0ad6[_0x152f99(_0x38f50a._0x5a1f19,0x3b2,_0x38f50a._0x3050c5,0x2b4)]??null,'displayUrl':_0x3d7c90,'favicon':null,'publishedAt':null,'source':{'engine':_0x548881(0x5fd,0x4dc,_0x38f50a._0x327b06,_0x38f50a._0x2e203d),'rank':_0xa359b6+0x1}};});function _0x559e3e(_0x18b86a,_0x1e0c7a,_0x3d9069,_0x58cc4a){return _0x1ac42a(_0x18b86a-_0x8ec4e4._0x1ebe3f,_0x1e0c7a-0x174,_0x3d9069-_0x8ec4e4._0x6d069a,_0x58cc4a);}return{'items':_0x14b824['slice'](0x0,_0x1b1f44),'engine':_0x559e3e(0x63b,_0x3b0fdb._0x3f2091,_0x3b0fdb._0x4a10a4,0x686)};}async function searchTavily(_0x464385,_0xd02f7e,_0x541a32){const _0xd10c97={_0x272744:0x648,_0x4a29eb:0x58f,_0x4fd22a:0x6d4,_0x48ced2:0x426,_0x51714a:0xe9,_0x54a2c0:0x1bc,_0x1ef46c:0x33d,_0x506f05:0x62e,_0x10db00:0x151,_0x45ec6b:0x20b,_0x4171bf:0x273,_0x181751:0xe3,_0x3fc588:0x293,_0x35120c:0x2c6,_0x48604a:0x253,_0x5d19a5:0x11,_0x180888:0x5e7,_0x3820a4:0x5e5,_0x3ed8a9:0x611},_0x52f86c={_0x496234:0x133,_0x203d0b:0x28b,_0x22ab33:0x1be,_0x18274c:0x486,_0x2d6fa6:0x254,_0x1e05dd:0x353},_0x38d03b={_0x4e429b:0x1c0,_0x2e7d32:0xf6},_0x51edd4={_0x5ac85c:0x1e9},_0x4c2a0e=Math[_0x7d7ebc(0x696,0x793,0x7b0,0x5d5)](0x1,Math[_0x7d7ebc(0x663,0x689,0x5cc,0x6aa)](0x14,_0xd02f7e[_0x7d7ebc(_0xd10c97._0x272744,0x679,_0xd10c97._0x4a29eb,_0xd10c97._0x4fd22a)])),_0x2bca17={'query':_0xd02f7e['query'],'max_results':_0x4c2a0e,'search_depth':_0x464385[_0x7d7ebc(_0xd10c97._0x48ced2,0x5ad,0x504,0x451)]??_0xc62f33(_0xd10c97._0x51714a,0xfe,-0x49,0xcd),'topic':_0x464385['topic']??'general'};function _0x7d7ebc(_0x183ce4,_0x1fcddb,_0x501545,_0x4990d1){return _0x1ac42a(_0x183ce4-_0x51edd4._0x5ac85c,_0x1fcddb-0x4b,_0x183ce4-0x605,_0x4990d1);}if(_0xd02f7e[_0xc62f33(-0x131,-0x1ce,-0x1af,-0x25)][_0xc62f33(-0x3,_0xd10c97._0x54a2c0,0xaa,0xa3)]>0x0)_0x2bca17[_0x7d7ebc(0x4e4,_0xd10c97._0x1ef46c,0x699,_0xd10c97._0x506f05)]=_0xd02f7e['domains'];const _0x35eaba=await fetchJson('https://api.tavily.com/search',_0x541a32,{'method':_0xc62f33(-_0xd10c97._0x10db00,0x5c,0x37,-0x117),'headers':{'Authorization':_0xc62f33(-0x406,-0x3f4,-_0xd10c97._0x45ec6b,-_0xd10c97._0x4171bf)+_0x464385[_0xc62f33(-0x1b4,_0xd10c97._0x181751,0x157,-0x5d)],'Content-Type':'application/json'},'body':JSON['stringify'](_0x2bca17)}),_0x56c822=_0x35eaba[_0xc62f33(-0x388,-_0xd10c97._0x3fc588,-_0xd10c97._0x35120c,-_0xd10c97._0x48604a)]??[];function _0xc62f33(_0x47d6ea,_0x9e7785,_0x2649a0,_0x2c5784){return _0x1ac42a(_0x47d6ea-_0x38d03b._0x4e429b,_0x9e7785-_0x38d03b._0x2e7d32,_0x2c5784- -0x66,_0x2649a0);}const _0x2e0d1a=_0x56c822[_0xc62f33(-_0xd10c97._0x5d19a5,0x92,0x11b,0x44)]((_0xe3f878,_0x3454a8)=>{const _0x459e5b={_0x2d73f9:0x407},_0x464d41=_0xe3f878[_0x5aff8e(0x219,_0x52f86c._0x496234,0x23f,0x1ca)]||'';let _0x182cb7;function _0x32983f(_0x4c3b06,_0xe9b82b,_0x536a05,_0x4b8633){return _0xc62f33(_0x4c3b06-0x1a9,_0xe9b82b-0x3b,_0x536a05,_0x4c3b06-0x45b);}try{_0x182cb7=new URL(_0x464d41)['host'];}catch{_0x182cb7=null;}function _0x5aff8e(_0x174933,_0x30c5c3,_0x13f1a5,_0x245cd1){return _0x7d7ebc(_0x30c5c3- -_0x459e5b._0x2d73f9,_0x30c5c3-0xb,_0x13f1a5-0x4f,_0x13f1a5);}return{'title':_0xe3f878[_0x5aff8e(_0x52f86c._0x203d0b,0x229,_0x52f86c._0x22ab33,0x316)]||'Untitled','url':normalizeUrl(_0x464d41),'snippet':_0xe3f878[_0x32983f(0x4f9,0x3f2,_0x52f86c._0x18274c,0x5d6)]??null,'displayUrl':_0x182cb7,'favicon':null,'publishedAt':null,'source':{'engine':_0x32983f(_0x52f86c._0x2d6fa6,0x407,0x2d4,_0x52f86c._0x1e05dd),'rank':_0x3454a8+0x1}};});return{'items':_0x2e0d1a[_0x7d7ebc(_0xd10c97._0x180888,_0xd10c97._0x3820a4,0x5a1,_0xd10c97._0x3ed8a9)](0x0,_0x4c2a0e),'engine':_0x7d7ebc(0x464,0x518,0x2de,0x50f)};}async function searchGoogleCse(_0x485f2c,_0x36ca9e,_0x4297a8){const _0x5234c6={_0x165f05:0x233,_0xf1a1e0:0x211,_0x407974:0x4c0,_0x5da28e:0x310,_0x3a32a8:0x407,_0x5aa022:0x40a,_0x4890b3:0x75,_0x1bd722:0xa4,_0x1bc72c:0xb8,_0x4f8aa4:0x139,_0x3c4f27:0x2e,_0x519db9:0x18e,_0x4f9955:0x168,_0x1ad4bb:0x119,_0x2926f0:0x23,_0x49e1a3:0x499,_0xc88a6f:0x188,_0x3d1abc:0x156,_0x3e29de:0x77,_0xc1966b:0x1bd,_0x3f8caf:0xe3,_0xd40c7d:0xbb,_0x2bc78a:0x11e,_0x5b093f:0x3d1,_0x47c6cb:0x1e4,_0x460024:0x2b2,_0x48dfe1:0x3b3,_0xf051a2:0x1c3,_0x5d4573:0x54,_0x341b2a:0x563,_0x27ef88:0x2e4,_0x3839b3:0xcc,_0x3c37a2:0xb8,_0x1ae06f:0x172,_0x380722:0x1d6,_0x5cc75b:0x9,_0x41d849:0x35,_0x2d444f:0x1bc,_0x255a63:0x2b7,_0x47db3f:0xda,_0x22666a:0x2d0,_0x497dd7:0x157,_0x24b6aa:0x203,_0x16401b:0x448,_0x4aad95:0x1ae,_0x369563:0x2e9,_0x581ac5:0x9b,_0x15d04d:0x11d,_0x4335ff:0x425,_0x2c3e47:0x144,_0x14f0b1:0x1bc,_0x110f4b:0x124,_0x5e3bd0:0x14d,_0x3223c3:0x52,_0x34655e:0x1bc,_0x42c1af:0x1f4,_0x655ee7:0xb6,_0x46478d:0xb6,_0x1cca21:0x1ed,_0x4149c7:0x38a,_0x1ee873:0xfa,_0x3104fd:0x2a3,_0x401762:0xe2,_0x42f14d:0xe1,_0x5a485e:0x154,_0x26cc21:0x1a5,_0x1f85be:0x231,_0x4ade7c:0x26d,_0x91b20d:0x3d,_0x44828d:0x162,_0x1ce7c2:0x34d,_0x565335:0xe5,_0x436476:0x223,_0x1bb811:0x2b3,_0x37ac85:0x299,_0x4a91d9:0x1ae,_0x5974b4:0x298,_0x47d2cb:0x123,_0x37d9ef:0x27b,_0x1071a2:0x12b,_0x338a0e:0x171,_0x529880:0x3a,_0x12550e:0x264,_0x41958f:0x1ae,_0x466909:0x127,_0x25abfc:0x22e,_0x53b5f2:0x498,_0x3f2545:0x1eb,_0x15c977:0x450,_0x466fdb:0x1e7,_0x453100:0xb1,_0x33750c:0xbc,_0x189215:0x1b,_0x18e6ff:0x2a,_0x4fffe6:0x151,_0x59645a:0xf,_0x563638:0x51,_0x501909:0xc5,_0x3a58b0:0x471,_0xe46bb0:0x205,_0x4d3499:0x392,_0x44d445:0x28e,_0x16a066:0x200,_0x2ba8b5:0x2ea,_0x529a30:0x4ac,_0x10b4ed:0x48a,_0x50f87b:0x1cd,_0x32c8fa:0x8d,_0x11a1a7:0x241,_0x2cf937:0x129,_0x35790c:0x3,_0x3919ca:0x337,_0x257b5a:0x4f3,_0x4b87e9:0x461,_0x171474:0x24d,_0x57761d:0x196,_0x9938cb:0x410,_0x291915:0x1bf,_0xdb8f10:0x106,_0x27c986:0x17,_0x3c9f43:0xa1,_0x4e29b0:0xf2,_0x4a8f29:0x50,_0x1fb8e6:0x118,_0x293ac2:0x2c2,_0x1362d4:0x42e,_0x595a57:0x272,_0x5d347f:0x60,_0x4c0f27:0x554,_0xefa12c:0x2cc,_0x367d1c:0x292,_0x5a6ae0:0x51,_0x1afbf9:0x21b,_0x263bfd:0x125,_0x240469:0x2ef,_0x27acf6:0x294,_0x2047ef:0xdd},_0x2538aa={_0x3f0115:0xcc,_0x3d4a63:0xcb,_0x44d7c5:0x2},_0x4ad6e9=Math[_0x464d6e(0x207,0x343,_0x5234c6._0x165f05,_0x5234c6._0xf1a1e0)](0x1,Math[_0x464d6e(_0x5234c6._0x407974,_0x5234c6._0x5da28e,_0x5234c6._0x3a32a8,_0x5234c6._0x5aa022)](0x32,_0x36ca9e[_0x3de9e4(-_0x5234c6._0x4890b3,-0x10,0x45,0xa5)]));if(_0x36ca9e[_0x3de9e4(_0x5234c6._0x1bd722,_0x5234c6._0x1bc72c,_0x5234c6._0x4f8aa4,_0x5234c6._0x3c4f27)]+_0x4ad6e9>0x64)throw new ToolExecutionError(_0x3de9e4(-_0x5234c6._0x519db9,-_0x5234c6._0x4f9955,-0x1be,-0x30e),{'offset':_0x36ca9e[_0x3de9e4(0xa4,-_0x5234c6._0x1ad4bb,0x11a,_0x5234c6._0x2926f0)],'count':_0x4ad6e9,'maxResults':0x64});const _0x484b87=cseDateRestrict(_0x36ca9e[_0x464d6e(_0x5234c6._0x49e1a3,0x2ff,_0x5234c6._0xc88a6f,_0x5234c6._0x3d1abc)]);function _0x464d6e(_0x4512f3,_0x5c4da1,_0x588f10,_0x41baa8){return _0x151cc1(_0x4512f3-_0x2538aa._0x3f0115,_0x5c4da1- -_0x2538aa._0x3d4a63,_0x588f10,_0x41baa8-_0x2538aa._0x44d7c5);}const _0x7955ed=addSiteFilters(_0x36ca9e[_0x3de9e4(0x28,-0x3c,0x11b,0x1ce)],_0x36ca9e[_0x3de9e4(-_0x5234c6._0x3e29de,-_0x5234c6._0xc1966b,_0x5234c6._0x3f8caf,_0x5234c6._0xd40c7d)]);function _0x3de9e4(_0x5278f4,_0xdc481c,_0x2a5049,_0x3de4dc){return _0x1ac42a(_0x5278f4-0xd0,_0xdc481c-0x18b,_0x5278f4- -0xb8,_0x3de4dc);}let _0x10d31e=0x0,_0x357a4d=_0x36ca9e['offset']+0x1;const _0x50c979=[];while(_0x10d31e<_0x4ad6e9){const _0x317e4e=Math[_0x3de9e4(-0x5a,-0x11c,_0x5234c6._0x2bc78a,-0x128)](0xa,_0x4ad6e9-_0x10d31e),_0x403c47=new URL(_0x464d6e(_0x5234c6._0x5b093f,0x396,0x3e2,_0x5234c6._0x47c6cb));_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-0x468,-0x42e,-_0x5234c6._0x48dfe1)][_0x464d6e(0x2a6,0x1ae,0x33d,0xe1)](_0x3de9e4(-_0x5234c6._0xf051a2,-0x102,-_0x5234c6._0x5d4573,-0x2a),_0x485f2c[_0x464d6e(_0x5234c6._0x341b2a,0x404,0x3e3,_0x5234c6._0x27ef88)]),_0x403c47[_0x464d6e(-_0x5234c6._0x3839b3,_0x5234c6._0x3c37a2,-0x29,_0x5234c6._0x1ae06f)][_0x3de9e4(-0x1bc,-0x232,-0x2cf,-_0x5234c6._0x380722)]('cx',_0x485f2c['googleCseCx']),_0x403c47[_0x464d6e(0x1ca,0xb8,_0x5234c6._0x5cc75b,-_0x5234c6._0x41d849)][_0x3de9e4(-_0x5234c6._0x2d444f,-_0x5234c6._0x255a63,-_0x5234c6._0x47db3f,-_0x5234c6._0x22666a)]('q',_0x7955ed),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x497dd7,-_0x5234c6._0x24b6aa,-_0x5234c6._0x16401b)][_0x464d6e(0x1cf,_0x5234c6._0x4aad95,_0x5234c6._0x369563,_0x5234c6._0x581ac5)](_0x3de9e4(-0x72,0x56,-_0x5234c6._0x15d04d,-0x59),String(_0x317e4e)),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x4335ff,-0x146,-_0x5234c6._0x2c3e47)][_0x3de9e4(-_0x5234c6._0x14f0b1,-_0x5234c6._0x110f4b,-_0x5234c6._0x5e3bd0,-0xec)](_0x464d6e(0x103,0x15f,-_0x5234c6._0x3223c3,0x1cc),String(_0x357a4d)),_0x403c47['searchParams'][_0x3de9e4(-_0x5234c6._0x34655e,-0x1aa,-_0x5234c6._0x42c1af,-0x18e)](_0x3de9e4(_0x5234c6._0x655ee7,0xd8,0x183,0xe8),_0x36ca9e[_0x3de9e4(_0x5234c6._0x46478d,0xc4,-0x8,0x7e)]?_0x464d6e(0x37,_0x5234c6._0x1cca21,_0x5234c6._0x4149c7,0x29b):_0x464d6e(0x14f,_0x5234c6._0x1ee873,-0xc5,_0x5234c6._0x3104fd));_0x36ca9e[_0x3de9e4(-0x219,-_0x5234c6._0x401762,-_0x5234c6._0x42f14d,-_0x5234c6._0x5a485e)]&&(_0x403c47[_0x3de9e4(-0x2b2,-0x20d,-0x1a6,-0xe5)][_0x3de9e4(-0x1bc,-_0x5234c6._0x26cc21,-0x31a,-_0x5234c6._0x1f85be)]('hl',_0x36ca9e[_0x464d6e(-0x5d,0x151,0x2a8,_0x5234c6._0x4ade7c)]),_0x403c47['searchParams'][_0x464d6e(0x13a,0x1ae,0x18f,0x15)]('lr',_0x3de9e4(_0x5234c6._0x91b20d,0x4d,0x81,_0x5234c6._0x44828d)+_0x36ca9e[_0x3de9e4(-0x219,-0x209,-_0x5234c6._0x1ce7c2,-0x9f)]));if(_0x36ca9e[_0x464d6e(0x206,_0x5234c6._0x565335,_0x5234c6._0x436476,_0x5234c6._0x1bb811)])_0x403c47['searchParams'][_0x464d6e(_0x5234c6._0x37ac85,0x1ae,_0x5234c6._0x4a91d9,0x9b)]('gl',_0x36ca9e[_0x464d6e(_0x5234c6._0x5974b4,_0x5234c6._0x565335,_0x5234c6._0x47d2cb,0xd0)][_0x3de9e4(-0x1ed,-0x30f,-0x38f,-_0x5234c6._0x37d9ef)]());if(_0x36ca9e[_0x3de9e4(0x31,-0x142,_0x5234c6._0x1071a2,0x58)]===_0x464d6e(0x53,_0x5234c6._0x338a0e,0x2b6,_0x5234c6._0x529880))_0x403c47[_0x3de9e4(-0x2b2,-0x27c,-0x414,-0x312)][_0x464d6e(_0x5234c6._0x12550e,_0x5234c6._0x41958f,0x119,_0x5234c6._0x4f8aa4)](_0x464d6e(_0x5234c6._0x466909,_0x5234c6._0x25abfc,0x134,0x3c7),_0x464d6e(0x252,0x2ea,_0x5234c6._0x53b5f2,_0x5234c6._0x3f2545));if(_0x484b87)_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x15c977,-_0x5234c6._0x466fdb,-0x244)][_0x3de9e4(-0x1bc,-0x233,-_0x5234c6._0x453100,-0xaf)](_0x3de9e4(_0x5234c6._0x33750c,-0xe,-_0x5234c6._0x189215,0x158),_0x484b87);const _0x5a3ed0=await fetchJson(_0x403c47['toString'](),_0x4297a8),_0x3c7827=_0x5a3ed0[_0x3de9e4(_0x5234c6._0x18e6ff,-_0x5234c6._0x4fffe6,-0x3b,-_0x5234c6._0x59645a)]??[];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x563638,-_0x5234c6._0x501909,-0x138,-0x120)]===0x0)break;const _0x352f76=_0x10d31e;for(let _0x333b2d=0x0;_0x333b2d<_0x3c7827[_0x464d6e(0x51a,0x3bb,0x304,_0x5234c6._0x3a58b0)];_0x333b2d++){const _0x3a3ba6=_0x3c7827[_0x333b2d];if(!_0x3a3ba6)continue;const _0x35d6ac=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0xe46bb0,-_0x5234c6._0x4d3499,-_0x5234c6._0x44d445,-0x1db)]||_0x3a3ba6[_0x464d6e(_0x5234c6._0x16a066,_0x5234c6._0x2ba8b5,_0x5234c6._0x529a30,_0x5234c6._0x10b4ed)]?.[_0x464d6e(0x2be,_0x5234c6._0x50f87b,0x2d4,0x245)]||'',_0x4899be=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x32c8fa,_0x5234c6._0x1ad4bb,-_0x5234c6._0x11a1a7,_0x5234c6._0x2cf937)]||_0x3a3ba6[_0x3de9e4(-0x80,_0x5234c6._0x35790c,0x42,0x26)]?.['title']||_0x464d6e(0x418,_0x5234c6._0x3919ca,_0x5234c6._0x257b5a,_0x5234c6._0x4b87e9),_0x37aff9=_0x3a3ba6['snippet']||_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x171474,-_0x5234c6._0x47db3f,-_0x5234c6._0x57761d,-_0x5234c6._0x9938cb)]?.[_0x464d6e(_0x5234c6._0x291915,_0x5234c6._0xdb8f10,0x2c2,_0x5234c6._0x27c986)](/<[^>]+>/g,''),_0x139cfa=_0x3a3ba6['pagemap']?.['metatags']?.[0x0]??{};let _0x59fe7d;try{_0x59fe7d=new URL(_0x35d6ac)['host'];}catch{_0x59fe7d=null;}_0x50c979[_0x3de9e4(-_0x5234c6._0x3c9f43,0x4f,-_0x5234c6._0x4e29b0,-_0x5234c6._0x4a8f29)]({'title':_0x4899be,'url':normalizeUrl(_0x35d6ac),'snippet':_0x37aff9??null,'displayUrl':_0x59fe7d,'favicon':null,'publishedAt':_0x139cfa[_0x464d6e(0xb8,0xfc,0x1c9,_0x5234c6._0x1fb8e6)]||_0x139cfa[_0x464d6e(0x12f,_0x5234c6._0x293ac2,_0x5234c6._0x1362d4,_0x5234c6._0x595a57)]||null,'source':{'engine':_0x464d6e(0x284,0x143,0xd9,-_0x5234c6._0x5d347f),'rank':_0x352f76+_0x333b2d+0x1}});}_0x10d31e+=_0x3c7827[_0x464d6e(_0x5234c6._0x4c0f27,0x3bb,_0x5234c6._0xefa12c,_0x5234c6._0x367d1c)],_0x357a4d+=_0x3c7827['length'];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x5a6ae0,_0x5234c6._0x1afbf9,0x150,_0x5234c6._0x263bfd)]<_0x317e4e)break;}return _0x50c979[_0x464d6e(_0x5234c6._0x240469,_0x5234c6._0x27acf6,_0x5234c6._0x2047ef,0x183)](0x0,_0x4ad6e9);}function isGoogleCseEngine(_0x2ac33e){const _0x44a099={_0x18ad53:0x443,_0x273146:0x6f8,_0x4db349:0x622},_0x7828c1={_0x26e162:0x97,_0x4ef3cb:0x9e};function _0xfc3c54(_0xc8ad4b,_0x2d1cd9,_0xf0d365,_0xab1c18){return _0x1ac42a(_0xc8ad4b-_0x7828c1._0x26e162,_0x2d1cd9-_0x7828c1._0x4ef3cb,_0xab1c18-0x44e,_0xf0d365);}return _0xfc3c54(_0x44a099._0x18ad53,_0x44a099._0x273146,_0x44a099._0x4db349,0x5a0)in _0x2ac33e;}function isOllamaEngine(_0x526897){const _0x55dbf7={_0x12f9a1:0x6d3,_0x23aef8:0x66d},_0x28b58f={_0x3ece6b:0x1be,_0xff8c13:0x205,_0x3309c6:0x61};function _0x480b76(_0x250d2f,_0x286b3a,_0x52c503,_0x4d2619){return _0x151cc1(_0x250d2f-_0x28b58f._0x3ece6b,_0x52c503-_0x28b58f._0xff8c13,_0x250d2f,_0x4d2619-_0x28b58f._0x3309c6);}return _0x480b76(0x846,0x550,_0x55dbf7._0x12f9a1,_0x55dbf7._0x23aef8)in _0x526897;}function isTavilyEngine(_0x46cebf){const _0x4f2b6f={_0x25e7d8:0x12a},_0x372c48={_0x5c7b7f:0x35};function _0x5c7829(_0x42603b,_0x27a7c6,_0xfc9f33,_0x1cde97){return _0x1ac42a(_0x42603b-0x1e2,_0x27a7c6-0x4b,_0x1cde97- -_0x372c48._0x5c7b7f,_0x27a7c6);}return _0x5c7829(-_0x4f2b6f._0x25e7d8,-0xae,0x186,-0x2c)in _0x46cebf;}function createWebSearchTool(_0xb1e85){const _0x50b884={_0x1c7e87:0x357,_0x2c7a1c:0x152,_0x25e4f6:0x43e,_0x107a91:0x2c1,_0x4d22d6:0x6eb,_0x4a63bd:0x608,_0x52260a:0x42a,_0x5a3c08:0x53d,_0x4ad544:0x276,_0xa18035:0x265,_0x5b7b78:0x90a,_0x16e95e:0x635,_0x384bfd:0x712,_0x5538e7:0x746,_0x272142:0x305,_0x3c8086:0x497,_0x14d43a:0x50d,_0x17248a:0x162,_0x435047:0x232,_0x2fa108:0x2b8,_0x26cc5c:0x2ee,_0x22de27:0x171,_0x1c578e:0x1cf,_0x42e03f:0xf,_0x5d6e73:0x492,_0x2ef13b:0x1b3,_0x54f161:0xed,_0x5412cb:0x5e2,_0x39f966:0x1bd,_0x3fd6fb:0x119,_0x152f86:0x19d,_0x2db772:0x1f9,_0x32dc3c:0x135,_0x1ddd2b:0x128,_0x54a09a:0x6f7,_0x3cb8ae:0x739},_0x1f7d05={_0x4cf50f:0x51f,_0x50e0d9:0x9b,_0x354322:0x43,_0x398c94:0x4e,_0x26e09b:0x66e,_0x544c80:0x748,_0x409122:0x6d2,_0x138b09:0x569,_0x5a6121:0x3cb,_0x13b02e:0x4cd,_0x41b424:0x408,_0x4227e5:0x63a,_0xd5f77f:0x514,_0x345c37:0x4a2,_0x413a17:0x4fc,_0x2db083:0x580,_0x50b001:0x61d,_0x42aa93:0x67c,_0x4c4fa9:0x677,_0x3b1ea3:0x72f,_0x23c0f9:0x73c,_0x361340:0x75f,_0x21e4c0:0xb0,_0x2b96fa:0x100,_0x1277b5:0x71,_0x257a92:0x20,_0x282dd3:0x195,_0x21c4a5:0xa5,_0x56ca97:0xf4,_0x2c5c31:0x105,_0x3536a8:0x606,_0xca2896:0x3aa,_0x3c9765:0x33b,_0x5267c9:0x277,_0x1e724f:0x3fb,_0x57a68a:0x1d9,_0xffc1c3:0x404,_0x22a224:0x75,_0x38b77c:0x1f,_0x5e92dd:0x5ca,_0x46d50e:0x322,_0x2c5a10:0x34a,_0x1937d5:0x100,_0x1f9229:0x1f9,_0x455a40:0x45,_0x339a01:0x6f9,_0x4c77ce:0x7a2,_0x438b34:0x99,_0x259e66:0xfc,_0x31a7a6:0x6a,_0x149c13:0x129,_0xd9c06c:0x1e7,_0x2d2e8f:0xaf,_0x25a8bd:0xea,_0xc1465f:0x9c,_0x24e585:0x1ca,_0x40d0e6:0x2dd,_0x2f5850:0x22a,_0x466289:0x78d,_0x3ebd9e:0x1a,_0x5a0010:0x135,_0x182f93:0x5d2,_0x59467d:0x169,_0x201392:0x128,_0x50f27d:0x517,_0xbea3f0:0x5b9,_0x403048:0x648,_0x28c6ef:0x468,_0x17ee96:0x45a,_0x376574:0x36b,_0x4e8d36:0x38f,_0x485fe7:0x6d,_0x391b9e:0x23b,_0x3cf6ab:0x18c,_0x5efc5c:0x121,_0x2b8d11:0x263,_0x49123f:0x1e3,_0x46ed0a:0x73,_0x578084:0x15a,_0x20bcf6:0x36,_0x179813:0x25a,_0x5301a2:0x55e,_0x1ae3f9:0x398,_0x3164e9:0x52b,_0x205dbf:0x129},_0x47b9e6={_0x134f46:0xc5,_0x34f121:0x3ef},_0x2054ae={_0x365f71:0x1c0},_0x1fc220={_0x5ae204:0x1d1};if(!_0xb1e85[_0x272dc1(0x1dd,_0x50b884._0x1c7e87,0x315,0x3ce)]||_0xb1e85[_0x272dc1(0x1e7,_0x50b884._0x2c7a1c,0x315,_0x50b884._0x25e4f6)]['length']===0x0)throw new Error(_0x272dc1(0x1f7,0x26,0x113,_0x50b884._0x107a91));const _0x3587bb=_0xb1e85[_0x1ac0f7(0x6a1,0x666,0x613,_0x50b884._0x4d22d6)]??_0x1ac0f7(_0x50b884._0x4a63bd,_0x50b884._0x52260a,0x5d8,_0x50b884._0x5a3c08);function _0x272dc1(_0x179611,_0x23df96,_0x3ec38e,_0x442587){return _0x151cc1(_0x179611-0x1d3,_0x3ec38e- -_0x1fc220._0x5ae204,_0x179611,_0x442587-0x59);}function _0x1ac0f7(_0x523c22,_0x259ce3,_0x5dc863,_0x1362fc){return _0x151cc1(_0x523c22-_0x2054ae._0x365f71,_0x1362fc-0x2dc,_0x259ce3,_0x1362fc-0x2b);}const _0x94b7e6=_0xb1e85[_0x272dc1(0x2a6,_0x50b884._0x4ad544,_0x50b884._0xa18035,0x23f)];return defineTool({'name':_0x3587bb,'permissionClass':_0x1ac0f7(_0x50b884._0x5b7b78,_0x50b884._0x16e95e,_0x50b884._0x384bfd,_0x50b884._0x5538e7),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x1ac0f7(_0x50b884._0x272142,_0x50b884._0x3c8086,_0x50b884._0x14d43a,0x445),'properties':{'description':{'type':'string'},'query':{'type':_0x272dc1(-_0x50b884._0x17248a,0x15,-0x1b,0xe7)},'count':{'type':_0x272dc1(_0x50b884._0x435047,_0x50b884._0x2fa108,_0x50b884._0x26cc5c,_0x50b884._0x22de27)},'offset':{'type':_0x272dc1(0x419,0x1eb,0x2ee,_0x50b884._0x1c578e)},'domains':{'type':'array','items':{'type':_0x272dc1(-0xa1,-0x123,-0x1b,-_0x50b884._0x42e03f)}},'recencyDays':{'type':'number'},'lang':{'type':_0x1ac0f7(0x523,0x320,0x432,_0x50b884._0x5d6e73)},'region':{'type':_0x272dc1(_0x50b884._0x2ef13b,-0x20,-0x1b,_0x50b884._0x54f161)},'safe':{'type':_0x1ac0f7(0x605,0x5f4,0x555,_0x50b884._0x5412cb)},'type':{'type':_0x272dc1(0xd7,-_0x50b884._0x39f966,-0x1b,-_0x50b884._0x3fd6fb)},'hydrateMeta':{'type':_0x272dc1(_0x50b884._0x152f86,_0x50b884._0x2db772,_0x50b884._0x32dc3c,_0x50b884._0x1ddd2b)}},'required':[_0x1ac0f7(0x72c,0x7a9,_0x50b884._0x54a09a,_0x50b884._0x3cb8ae)]},async *'execute'(_0x4d1df9,_0x2ad168){const _0xed317f={_0x4d8400:0x14a,_0xd213a8:0xe,_0x537832:0x13e},_0x1479c2=_0x4d1df9[_0x5a738b(0x5fb,_0x1f7d05._0x4cf50f,0x652,0x4a9)][_0x5cdba6(_0x1f7d05._0x50e0d9,_0x1f7d05._0x354322,-_0x1f7d05._0x398c94,-0x43)]();function _0x5cdba6(_0x3dbfa8,_0x2641e6,_0x23a109,_0x31d411){return _0x272dc1(_0x3dbfa8,_0x2641e6-0x13,_0x2641e6- -0x219,_0x31d411-0xbe);}if(!_0x1479c2)throw new ToolExecutionError(_0x5a738b(_0x1f7d05._0x26e09b,0x69b,0x760,_0x1f7d05._0x544c80));const _0x3c44f2={'query':_0x1479c2,'count':Math[_0x5a738b(0x5ac,0x459,_0x1f7d05._0x409122,_0x1f7d05._0x138b09)](0x1,Math[_0x5a738b(0x579,_0x1f7d05._0x5a6121,0x6bb,_0x1f7d05._0x13b02e)](0x32,Math['trunc'](_0x4d1df9[_0x5a738b(0x55e,_0x1f7d05._0x41b424,_0x1f7d05._0x4227e5,_0x1f7d05._0xd5f77f)]??0xa))),'offset':Math[_0x5a738b(0x5ac,_0x1f7d05._0x345c37,_0x1f7d05._0x413a17,0x569)](0x0,Math[_0x5a738b(0x615,_0x1f7d05._0x2db083,_0x1f7d05._0x50b001,_0x1f7d05._0x42aa93)](_0x4d1df9[_0x5a738b(_0x1f7d05._0x4c4fa9,_0x1f7d05._0x3b1ea3,_0x1f7d05._0x23c0f9,_0x1f7d05._0x361340)]??0x0)),'domains':_0x4d1df9['domains']??[],'recencyDays':Math[_0x5cdba6(0x175,0x24,-_0x1f7d05._0x21e4c0,_0x1f7d05._0x2b96fa)](0x0,Math['trunc'](_0x4d1df9[_0x5cdba6(-_0x1f7d05._0x1277b5,-_0x1f7d05._0x257a92,-_0x1f7d05._0x282dd3,_0x1f7d05._0x21c4a5)]??0x0)),'lang':_0x4d1df9['lang']??'en','region':_0x4d1df9[_0x5a738b(0x34e,0x293,0x414,0x2c4)]??'','safe':_0x4d1df9['safe']??!![],'type':normalizeType(_0x4d1df9[_0x5cdba6(-0xcc,0x7c,_0x1f7d05._0x56ca97,_0x1f7d05._0x2c5c31)]),'hydrateMeta':_0x4d1df9[_0x5a738b(0x45f,0x327,_0x1f7d05._0x3536a8,_0x1f7d05._0xca2896)]??![]};let _0x23d4d4=[],_0x34f3d6=_0x5a738b(_0x1f7d05._0x3c9765,_0x1f7d05._0x5267c9,_0x1f7d05._0x1e724f,_0x1f7d05._0x57a68a);for(const _0xc95dde of _0xb1e85['engines']){try{if(isGoogleCseEngine(_0xc95dde))_0x23d4d4=await searchGoogleCse(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5cdba6(-0x30d,-0x266,-0x364,-0x1d6)]),_0x34f3d6=_0x5cdba6(-0x344,-0x1dc,-0xaf,-0x19c);else{if(isOllamaEngine(_0xc95dde)){const _0x14e3bb=await searchOllama(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(0x322,_0x1f7d05._0xffc1c3,0x44f,0x1d2)]);_0x23d4d4=_0x14e3bb[_0x5cdba6(-0x94,_0x1f7d05._0x22a224,_0x1f7d05._0x38b77c,0x53)],_0x34f3d6=_0x14e3bb[_0x5a738b(_0x1f7d05._0x5e92dd,0x719,0x57a,0x5a4)];}else{if(isTavilyEngine(_0xc95dde)){const _0x29bc76=await searchTavily(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(_0x1f7d05._0x46d50e,0x4c5,_0x1f7d05._0x2c5a10,0x2a3)]);_0x23d4d4=_0x29bc76[_0x5cdba6(_0x1f7d05._0x1937d5,_0x1f7d05._0x22a224,_0x1f7d05._0x1f9229,0xe6)],_0x34f3d6=_0x29bc76[_0x5cdba6(0xff,0x42,0x70,-_0x1f7d05._0x455a40)];}}}if(_0x23d4d4[_0x5a738b(0x624,_0x1f7d05._0x339a01,0x71c,_0x1f7d05._0x4c77ce)]>0x0)break;}catch(_0x534212){if(_0xc95dde===_0xb1e85[_0x5cdba6(_0x1f7d05._0x438b34,_0x1f7d05._0x259e66,0x125,-0x92)][_0xb1e85['engines'][_0x5cdba6(-0x127,0x9c,_0x1f7d05._0x31a7a6,0x224)]-0x1])throw _0x534212;}}function _0x5a738b(_0x29fc25,_0x1043fb,_0x540b16,_0x366f90){return _0x1ac0f7(_0x29fc25-_0xed317f._0x4d8400,_0x1043fb,_0x540b16-_0xed317f._0xd213a8,_0x29fc25- -_0xed317f._0x537832);}_0x3c44f2[_0x5cdba6(0x5d,-_0x1f7d05._0x149c13,-_0x1f7d05._0xd9c06c,-_0x1f7d05._0x2d2e8f)]&&_0x23d4d4[_0x5cdba6(_0x1f7d05._0x25a8bd,_0x1f7d05._0xc1465f,_0x1f7d05._0x24e585,-0x4d)]>0x0&&(_0x23d4d4=await hydrateResults(_0x23d4d4,_0x3c44f2['lang'],_0x2ad168[_0x5cdba6(-_0x1f7d05._0x40d0e6,-0x266,-_0x1f7d05._0x2f5850,-0x1e1)],_0x94b7e6));const _0x486753=new Set();_0x23d4d4=_0x23d4d4['filter'](_0xb7d057=>{const _0x29a616={_0x1acdc9:0x268,_0x656923:0x3b};function _0xeec440(_0x435462,_0x2bdd7d,_0x58e047,_0x4882c5){return _0x5cdba6(_0x58e047,_0x435462-_0x29a616._0x1acdc9,_0x58e047-0x16e,_0x4882c5-_0x29a616._0x656923);}const _0x2ee4ae=_0xb7d057['url']['toLowerCase']();if(!_0x2ee4ae||_0x486753[_0xeec440(0x290,0x17c,_0x47b9e6._0x134f46,_0x47b9e6._0x34f121)](_0x2ee4ae))return![];return _0x486753['add'](_0x2ee4ae),!![];}),_0x23d4d4=_0x23d4d4['map']((_0x18c34c,_0x57756a)=>({..._0x18c34c,'source':{..._0x18c34c[_0x5a738b(0x34a,0x3f6,0x1fb,0x1c7)],'rank':_0x57756a+0x1}}));const _0x52e9a1={};if(_0x3c44f2['domains'][_0x5a738b(0x624,0x6d6,_0x1f7d05._0x466289,0x7ec)]>0x0)_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x3ebd9e,-0x2c,-_0x1f7d05._0x5a0010,-0x19e)]=_0x3c44f2[_0x5a738b(0x55c,0x5f5,_0x1f7d05._0x182f93,0x497)];if(_0x3c44f2[_0x5cdba6(_0x1f7d05._0x59467d,-0x20,0x9c,_0x1f7d05._0x201392)]>0x0)_0x52e9a1[_0x5a738b(0x568,0x65f,_0x1f7d05._0x50f27d,_0x1f7d05._0xbea3f0)]=_0x3c44f2[_0x5a738b(0x568,0x5f2,_0x1f7d05._0x403048,_0x1f7d05._0x28c6ef)];if(_0x3c44f2['lang']!=='en')_0x52e9a1[_0x5a738b(0x3ba,0x569,_0x1f7d05._0x17ee96,0x57b)]=_0x3c44f2[_0x5a738b(0x3ba,0x424,_0x1f7d05._0x376574,_0x1f7d05._0x4e8d36)];if(_0x3c44f2[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x391b9e,-_0x1f7d05._0x3cf6ab)])_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x5efc5c,-_0x1f7d05._0x2b8d11)]=_0x3c44f2['region'];return yield createToolOutput(formatResults(_0x23d4d4),{'engine':_0x34f3d6,'count':_0x23d4d4['length'],'items':_0x23d4d4,'query':_0x3c44f2[_0x5cdba6(_0x1f7d05._0x49123f,_0x1f7d05._0x46ed0a,0x110,_0x1f7d05._0x578084)],...Object[_0x5cdba6(0x18f,-_0x1f7d05._0x20bcf6,0xba,-0x1e6)](_0x52e9a1)[_0x5cdba6(0x1a2,_0x1f7d05._0xc1465f,0x189,_0x1f7d05._0x179813)]>0x0?{'appliedFilters':_0x52e9a1}:{},'offset':_0x3c44f2['offset'],'totalRequested':_0x3c44f2[_0x5a738b(_0x1f7d05._0x5301a2,_0x1f7d05._0x1ae3f9,_0x1f7d05._0x3164e9,0x553)],'hydrated':_0x3c44f2[_0x5cdba6(0x2c,-_0x1f7d05._0x205dbf,-0x1c,-0x251)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};