@offgridsec/kira-lite-mcp 0.1.4 → 0.1.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(_0x50fce3,_0x216c13){const _0x40caa6={_0x458daa:0xc6,_0x382bf3:0x267,_0x5a081a:0x25c,_0x4049cc:0x266,_0x59da9f:0x288,_0x2ea818:0x253},_0x3b0d3b={_0x457fda:0x1b4};function _0x4fa8ab(_0x2a6009,_0x1fb880){return _0x24fa(_0x2a6009- -_0x3b0d3b._0x457fda,_0x1fb880);}function _0x4f4133(_0x3201ec,_0xf8d80f){return _0x24fa(_0x3201ec- -0x342,_0xf8d80f);}const _0x1f00eb=_0x50fce3();while(!![]){try{const _0x4e3524=parseInt(_0x4fa8ab(-0xc5,-0xc4))/(0x1d5+-0x8ef*-0x1+-0xac3*0x1)+parseInt(_0x4fa8ab(-0xdf,-_0x40caa6._0x458daa))/(0x31*-0x31+-0x1336+0x1c99*0x1)*(parseInt(_0x4f4133(-_0x40caa6._0x382bf3,-_0x40caa6._0x5a081a))/(0x870+0x1d6d+-0x792*0x5))+-parseInt(_0x4f4133(-_0x40caa6._0x4049cc,-_0x40caa6._0x59da9f))/(0xa1c+-0xe06+0x3ee)*(-parseInt(_0x4f4133(-0x252,-0x22f))/(0x3fa+0x602*0x2+-0xff9))+parseInt(_0x4f4133(-0x24e,-0x242))/(0x63d*-0x2+0xff8*0x2+0x1*-0x1370)+-parseInt(_0x4fa8ab(-0xd0,-0xd5))/(-0x1221+0x2403+0x7*-0x28d)+-parseInt(_0x4f4133(-0x24c,-_0x40caa6._0x2ea818))/(-0x19*0x12+0x42c*-0x8+0x232a)+parseInt(_0x4fa8ab(-0xed,-0xdd))/(0x14f0+-0xa*0x6b+-0x1*0x10b9);if(_0x4e3524===_0x216c13)break;else _0x1f00eb['push'](_0x1f00eb['shift']());}catch(_0x55f5de){_0x1f00eb['push'](_0x1f00eb['shift']());}}}(_0x5216,-0x47e33+-0x5cf*0x2ad+0x1af7a*0x11));function _0x24fa(_0xb7444a,_0x42bcc9){_0xb7444a=_0xb7444a-(-0x4*0x157+0xf62+-0x4a9*0x2);const _0x15fab1=_0x5216();let _0x311bf3=_0x15fab1[_0xb7444a];if(_0x24fa['LzUTTW']===undefined){var _0x423f02=function(_0x2b7b80){const _0x2adece='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50a473='',_0x4ec9fd='';for(let _0x216ce5=-0x2*-0xa0d+-0x2609+0x11ef,_0x722ce5,_0xa6d329,_0x474cfb=0xa*-0x9b+0x67*0x3f+-0x134b;_0xa6d329=_0x2b7b80['charAt'](_0x474cfb++);~_0xa6d329&&(_0x722ce5=_0x216ce5%(-0x38d+-0x2456+0x27e7)?_0x722ce5*(0x164a+-0x46*0x6a+0x6f2)+_0xa6d329:_0xa6d329,_0x216ce5++%(-0x1508+-0xd*0x2fc+-0x77b*-0x8))?_0x50a473+=String['fromCharCode'](0x4b9+-0x18d*-0x9+0x1*-0x11af&_0x722ce5>>(-(0x3b3+-0x1*-0x1003+-0xc2*0x1a)*_0x216ce5&-0x91+0x10b6+-0x101f)):-0x69*0x3b+-0xbe5+-0x2*-0x120c){_0xa6d329=_0x2adece['indexOf'](_0xa6d329);}for(let _0x5927b9=0x2*-0x42d+0x2d7*-0x5+-0x1*-0x168d,_0x1b70b5=_0x50a473['length'];_0x5927b9<_0x1b70b5;_0x5927b9++){_0x4ec9fd+='%'+('00'+_0x50a473['charCodeAt'](_0x5927b9)['toString'](-0xa*-0x11f+0x3bb*-0x9+0x1*0x166d))['slice'](-(-0x2*0xbb6+0x2f*-0x8f+0x31af));}return decodeURIComponent(_0x4ec9fd);};_0x24fa['sBQhiU']=_0x423f02,_0x24fa['mFGdtb']={},_0x24fa['LzUTTW']=!![];}const _0x3870a4=_0x15fab1[-0x2363+-0x653+0x14db*0x2],_0x3fc0ad=_0xb7444a+_0x3870a4,_0x58a4a7=_0x24fa['mFGdtb'][_0x3fc0ad];return!_0x58a4a7?(_0x311bf3=_0x24fa['sBQhiU'](_0x311bf3),_0x24fa['mFGdtb'][_0x3fc0ad]=_0x311bf3):_0x311bf3=_0x58a4a7,_0x311bf3;}import{execFile}from'node:child_process';import{promisify}from'node:util';import{mkdtemp,writeFile,rm}from'node:fs/promises';function _0x5216(){const _0x58fd07=['C2nHBG','nK1Kq1DZvW','zM9YBq','vMDlBee','DxrMltG','A3PmExi','EwfTBa','nduWodeZze5ushvN','mZa4mZzSufn1vgm','lNnO','CNvIEq','lNnJywW','t2DRvw4','Eg1S','BgfZDeK','u3nxAeq','nZG1mty0ogXpCvj3tW','lNn3Awy','lNjZ','Dg9mB3C','lNrZ','lNrM','CuPnwK4','lNjI','y3nZ','uuPqyLa','D2HLCMu','nti1ntK4CwDIr3rL','mtKWAxzKugfb','zxjdyxm','lMH0BwW','D2LUmZi','nJuWnta4DeHSv0He','zhnPq3C','nZi3mJa5nLbJweTssq','y3jPChq','lNbOCa','lMPHDMe','DhLWzxm','Cvjyueq','y3bW','C2L2zq','sgrADeO','ANnVBG','AhrTBa','lMnZ','zM9Yy2u','lMDV','CMvWBge','yMfZAa','AgnS','lMnWCa','y3nOyxi','lMPZB24','C3fS','A290BgK','A2LYys0','lNr4Da','mta5ntG4mdvIrejisfy','lMPZ','BMrLEe8','DgLTzw8','CgXHDgy','lMT0','z1bjzM0','CMzPBgu','CMvJDxi','AMf2yxm','C3bSAxq','lNb5','DhjPBq'];_0x5216=function(){return _0x58fd07;};return _0x5216();}import{tmpdir}from'node:os';import{join}from'node:path';const execFileAsync=promisify(execFile),_0x3448c8={};_0x3448c8[_0x3c3ee9(-0x217,-0x1fc)+_0x3c3ee9(-0x1f0,-0x1e2)]='.js',_0x3448c8[_0x3c3ee9(-0x1ed,-0x1f7)+_0x3c3ee9(-0x1f0,-0x1d8)]=_0x3c3ee9(-0x1ff,-0x217),_0x3448c8['pytho'+'n']=_0x20e63b(0xaa,0x8a),_0x3448c8['java']=_0x20e63b(0xd1,0xc0),_0x3448c8['go']=_0x3c3ee9(-0x22b,-0x21d),_0x3448c8[_0x3c3ee9(-0x209,-0x1fe)]=_0x3c3ee9(-0x1fc,-0x1dc),_0x3448c8['php']=_0x20e63b(0xd0,0xb0),_0x3448c8[_0x20e63b(0x99,0x81)+'p']=_0x3c3ee9(-0x22d,-0x21f),_0x3448c8['c']='.c',_0x3448c8[_0x3c3ee9(-0x232,-0x23d)]=_0x3c3ee9(-0x227,-0x247),_0x3448c8['rust']=_0x3c3ee9(-0x201,-0x218),_0x3448c8['swift']=_0x3c3ee9(-0x202,-0x1ec)+'t',_0x3448c8[_0x20e63b(0x9c,0xa1)+'n']=_0x3c3ee9(-0x21b,-0x239),_0x3448c8['scala']=_0x3c3ee9(-0x208,-0x210)+'a',_0x3448c8['shell']=_0x3c3ee9(-0x20a,-0x229),_0x3448c8[_0x20e63b(0x96,0x85)]=_0x3c3ee9(-0x20a,-0x1f1),_0x3448c8[_0x3c3ee9(-0x20d,-0x1f3)]='.yaml',_0x3448c8[_0x20e63b(0x90,0x8b)]=_0x3c3ee9(-0x225,-0x246),_0x3448c8[_0x20e63b(0xb9,0xba)]='.xml',_0x3448c8[_0x3c3ee9(-0x22e,-0x222)]=_0x20e63b(0xca,0xe7),_0x3448c8[_0x3c3ee9(-0x1fb,-0x217)]='.css';function _0x3c3ee9(_0x29684c,_0x4ede82){const _0x4e39e1={_0x3c7650:0x2e7};return _0x24fa(_0x29684c- -_0x4e39e1._0x3c7650,_0x4ede82);}_0x3448c8[_0x3c3ee9(-0x224,-0x222)]='.sql',_0x3448c8['docke'+_0x20e63b(0xa6,0xb0)]='Docke'+_0x20e63b(0xa6,0x9b),_0x3448c8['terra'+_0x3c3ee9(-0x211,-0x1f3)]=_0x20e63b(0xc1,0xb0),_0x3448c8[_0x20e63b(0x97,0xad)]=_0x20e63b(0xc1,0xa4);const extensionMap=_0x3448c8;function _0x20e63b(_0x1e7756,_0x301a35){return _0x24fa(_0x1e7756- -0x28,_0x301a35);}export function getExtensionForLanguage(_0x57ca09){const _0x29dbc9={_0x3b7581:0xd8,_0xa354dd:0xb9,_0x1637c4:0xc0,_0x511229:0xdb,_0x4c90c0:0x2f5,_0x2aaf81:0xdf,_0x4d416c:0xd6},_0x48cbdd={_0x5e41a1:0xb3},_0x5e08a2={};_0x5e08a2[_0x467da9(0xfb,_0x29dbc9._0x3b7581)]=_0x467da9(_0x29dbc9._0xa354dd,_0x29dbc9._0x1637c4);function _0x467da9(_0x48757e,_0x521494){return _0x20e63b(_0x521494-0x20,_0x48757e);}_0x5e08a2[_0x467da9(0xbd,_0x29dbc9._0x511229)]=_0x3181f4(-0x2d4,-_0x29dbc9._0x4c90c0);const _0x371f58=_0x5e08a2;function _0x3181f4(_0x49cf9d,_0x260342){return _0x3c3ee9(_0x49cf9d- -_0x48cbdd._0x5e41a1,_0x260342);}if(!_0x57ca09)return _0x371f58[_0x467da9(0xdf,0xd8)];return extensionMap[_0x57ca09[_0x467da9(0xe7,_0x29dbc9._0x2aaf81)+_0x467da9(_0x29dbc9._0x4d416c,0xe9)+'e']()]??_0x371f58['SsWhD'];}export async function writeTempFile(_0x25e201,_0x108f57,_0x152dfd){const _0x5219e4={_0x2fff2b:0x132,_0x12add3:0x10d,_0x25668c:0xf6,_0x3fede7:0xd2,_0x24cdb5:0xaf,_0x30f0fa:0x92,_0x1b7e22:0x13a,_0x288934:0xb5,_0x4b9bfe:0xa6,_0x38d5f6:0xb2,_0x4f5c3b:0xce},_0x3a1992={_0x50e90b:0x12c,_0x13f533:0x47},_0x58e667={_0x1a4ce2:0x69},_0xc40a93={_0x3c7baa:0xf0},_0x4cbd6c={'kzLyr':function(_0x29b122,_0x2c6b26,_0x374655){return _0x29b122(_0x2c6b26,_0x374655);},'qJMZN':function(_0x3cc808){return _0x3cc808();},'HdZtJ':_0x5aa3e2(-_0x5219e4._0x2fff2b,-0x125),'YrAMf':function(_0x31a023,_0x15977a){return _0x31a023(_0x15977a);},'VgKlA':function(_0x58f761,_0xe83c8a,_0x5beb15){return _0x58f761(_0xe83c8a,_0x5beb15);},'IWxxR':function(_0x410798,_0x39ff45,_0x404145,_0x5456d5){return _0x410798(_0x39ff45,_0x404145,_0x5456d5);}},_0x71b3a2=await mkdtemp(_0x4cbd6c[_0x5aa3e2(-0x11e,-0x124)](join,_0x4cbd6c[_0x5aa3e2(-_0x5219e4._0x12add3,-_0x5219e4._0x25668c)](tmpdir),_0x4cbd6c[_0xf38572(-_0x5219e4._0x3fede7,-_0x5219e4._0x24cdb5)])),_0x103341=_0x152dfd?_0x152dfd['slice'](_0x152dfd[_0xf38572(-0xa7,-_0x5219e4._0x30f0fa)+_0xf38572(-0xc0,-0xb5)+'f']('.')):_0x4cbd6c['YrAMf'](getExtensionForLanguage,_0x108f57),_0x4393a6=_0x152dfd?_0x152dfd[_0x5aa3e2(-_0x5219e4._0x1b7e22,-0x13d)+'ce'](/[/\\]/g,'_'):_0xf38572(-_0x5219e4._0x288934,-_0x5219e4._0x4b9bfe)+_0x103341,_0xf96c09=_0x4cbd6c[_0xf38572(-_0x5219e4._0x38d5f6,-0xc8)](join,_0x71b3a2,_0x4393a6);function _0x5aa3e2(_0x14d6e4,_0x3a0ea1){return _0x3c3ee9(_0x14d6e4-_0xc40a93._0x3c7baa,_0x3a0ea1);}await _0x4cbd6c['IWxxR'](writeFile,_0xf96c09,_0x25e201,_0xf38572(-0xb1,-_0x5219e4._0x4f5c3b));function _0xf38572(_0x18189e,_0x2a3678){return _0x3c3ee9(_0x18189e-0x15e,_0x2a3678);}return{'dir':_0x71b3a2,'filePath':_0xf96c09,'cleanup':async()=>{const _0x3d3256={_0x164f96:0x26d};function _0x213c77(_0x37fb02,_0x4185d2){return _0x5aa3e2(_0x37fb02-_0x3d3256._0x164f96,_0x4185d2);}function _0x3899ec(_0x323bad,_0x4e32dc){return _0xf38572(_0x323bad-_0x58e667._0x1a4ce2,_0x4e32dc);}try{const _0x40ead8={};_0x40ead8[_0x3899ec(-0x51,-0x6d)+_0x213c77(_0x3a1992._0x50e90b,0x132)]=!![],_0x40ead8[_0x213c77(0x131,0x13c)]=!![],await _0x4cbd6c[_0x3899ec(-_0x3a1992._0x13f533,-0x62)](rm,_0x71b3a2,_0x40ead8);}catch{}}};}export async function which(_0x526767){const _0x2159d9={_0x1e4ce9:0x346,_0x230a64:0x350,_0x4aa3a1:0x177,_0xf62753:0x170,_0x3f4508:0x34e,_0x54f899:0x342,_0x1cbb61:0x323,_0x59aef7:0x326,_0x5ec5a5:0x318,_0x155aa4:0x30d,_0xb75a70:0x322,_0x38a9d9:0x179,_0x318671:0x331,_0x334d1a:0x32a,_0x710724:0x329},_0x5a77ad={_0x93b13c:0x36b};function _0x2331be(_0x183114,_0x5efc18){return _0x3c3ee9(_0x183114-_0x5a77ad._0x93b13c,_0x5efc18);}const _0x68a1a7={};_0x68a1a7[_0x318d7c(_0x2159d9._0x1e4ce9,_0x2159d9._0x230a64)]=function(_0x56715a,_0x11ea3c){return _0x56715a===_0x11ea3c;};function _0x318d7c(_0x326366,_0x4d1eab){return _0x20e63b(_0x326366-0x281,_0x4d1eab);}_0x68a1a7[_0x318d7c(0x30d,0x31e)]=_0x2331be(_0x2159d9._0x4aa3a1,_0x2159d9._0xf62753),_0x68a1a7[_0x318d7c(_0x2159d9._0x3f4508,_0x2159d9._0x54f899)]=_0x318d7c(0x347,_0x2159d9._0x1cbb61),_0x68a1a7[_0x318d7c(_0x2159d9._0x59aef7,_0x2159d9._0x5ec5a5)]='which';const _0x302048=_0x68a1a7;try{const _0x46e044=_0x302048[_0x2331be(0x171,0x15a)](process[_0x2331be(0x14f,0x136)+'orm'],_0x302048[_0x318d7c(_0x2159d9._0x155aa4,_0x2159d9._0xb75a70)])?_0x302048[_0x2331be(_0x2159d9._0x38a9d9,0x198)]:_0x302048[_0x318d7c(0x326,_0x2159d9._0x318671)],_0x36246b={};_0x36246b[_0x318d7c(_0x2159d9._0x1cbb61,0x333)+'ut']=0x1388;const {stdout:_0x1e7584}=await execFileAsync(_0x46e044,[_0x526767],_0x36246b),_0x252b7a=_0x1e7584[_0x318d7c(0x32c,0x339)]()[_0x318d7c(_0x2159d9._0x334d1a,_0x2159d9._0x710724)]('\x0a')[-0x21a5+-0x1785+0x392a*0x1];return _0x252b7a||null;}catch{return null;}}
1
+ (function(_0x1ef9e9,_0x40b7e4){const _0x3c084d={_0xa42237:0x3a0,_0x3d2c37:0x3cc,_0x1a61b6:0x3b2,_0x2aa3c2:0x3be,_0x5d2f34:0x38b,_0x54fee8:0x55f,_0x3be7d9:0x56c,_0x4913b0:0x38a,_0x78e968:0x3a1,_0x20e297:0x39e,_0x41af4b:0x3bc},_0x1bde90=_0x1ef9e9();function _0xa8f10(_0x158b02,_0x545dd0){return _0x2016(_0x545dd0-0x3c0,_0x158b02);}function _0x4a9cc1(_0x93e597,_0x5b1503){return _0x2016(_0x5b1503-0x20d,_0x93e597);}while(!![]){try{const _0x44e1fa=-parseInt(_0x4a9cc1(0x39a,0x3b7))/(0x3e+0xa2+-0xdf)+-parseInt(_0x4a9cc1(0x381,_0x3c084d._0xa42237))/(0x15a0+-0x1b1b+0x57d)+parseInt(_0x4a9cc1(_0x3c084d._0x3d2c37,_0x3c084d._0x1a61b6))/(-0x18+0x11*0x15d+0x1712*-0x1)+-parseInt(_0x4a9cc1(0x3bf,_0x3c084d._0x2aa3c2))/(-0x6c7+-0x4d9+0xba4)*(parseInt(_0x4a9cc1(_0x3c084d._0x5d2f34,0x3a8))/(-0x1e87+0xa8b*-0x2+-0x2*-0x19d1))+parseInt(_0xa8f10(_0x3c084d._0x54fee8,0x54a))/(0x6fe+-0xce3+-0x1f9*-0x3)+parseInt(_0xa8f10(0x583,_0x3c084d._0x3be7d9))/(0x6*-0x257+0x43*-0x7f+0x2f4e)*(parseInt(_0x4a9cc1(_0x3c084d._0x4913b0,_0x3c084d._0x78e968))/(0x6d*-0x13+0x1d62+-0x1543*0x1))+parseInt(_0xa8f10(0x55d,0x570))/(-0x1987+-0x1*0x1d51+0x36e1)*(parseInt(_0x4a9cc1(_0x3c084d._0x20e297,_0x3c084d._0x41af4b))/(-0xc37*0x1+-0x131b+-0x4*-0x7d7));if(_0x44e1fa===_0x40b7e4)break;else _0x1bde90['push'](_0x1bde90['shift']());}catch(_0x6924e5){_0x1bde90['push'](_0x1bde90['shift']());}}}(_0x4d5a,0xd*0x280d+-0x69dc5+0xbde19));import{execFile}from'node:child_process';import{promisify}from'node:util';import{mkdtemp,writeFile,rm}from'node:fs/promises';import{tmpdir}from'node:os';function _0x4bfeaa(_0x4bf4e7,_0x1ff50e){const _0x8983a1={_0x5a4494:0x132};return _0x2016(_0x4bf4e7-_0x8983a1._0x5a4494,_0x1ff50e);}import{join}from'node:path';function _0x4d5a(){const _0x465df2=['CMvJDxi','A290BgK','B3jT','lNjI','zg9JA2u','CMzPBgu','DgvYCMe','C2HLBgW','wfvRt0q','lNb5','DgLTzw8','DhjPBq','ntmZody1nMfczgTOsq','lMnZ','rg9JA2u','CMvWBge','lNrM','lMPZ','DhLWzxm','Dg9mB3C','A2LYys0','mtiZmJiWmNfVCvflCq','ndq4ve9rshPM','CgHW','ChL0Ag8','y3jPChq','DuDsEg8','AMf2yxm','CNvZDa','mJiYnJy1t3LlywjU','BLDdEwm','lMH0BwW','lMnZCW','C3fS','lNbOCa','C3DPzNq','AhrTBa','lNr4Da','lMPZB24','mtiXmJqYvxnbuLzK','lMT0','C2nHBG','lNnXBa','D2LUmZi','ntyYoti1EwfUAMnP','CNvIEq','mte4m3zuBwv5zW','lNHTBa','yMfZAa','mJbNwe5KwfK','mZqYnJaZoxv2q0LizW','nhf5vfrhCq','CgXHDgy','lNnO','lNnJywW','BMrLEe8','C2nHBge','AgnS','u3bnCK4','C3bSAxq','lMnWCa','lNn3Awy','zxjdyxm','q2PcBgK'];_0x4d5a=function(){return _0x465df2;};return _0x4d5a();}const execFileAsync=promisify(execFile),_0x4600f3={};_0x4600f3[_0x20cdb4(0x554,0x563)+'cript']='.js',_0x4600f3[_0x4bfeaa(0x2c2,0x2d8)+_0x4bfeaa(0x2c9,0x2d2)]='.ts',_0x4600f3[_0x20cdb4(0x551,0x538)+'n']=_0x20cdb4(0x542,0x54d),_0x4600f3['java']='.java',_0x4600f3['go']='.go',_0x4600f3[_0x4bfeaa(0x2dd,0x2eb)]=_0x4bfeaa(0x2f3,0x2e0),_0x4600f3[_0x4bfeaa(0x2c7,0x2dd)]=_0x4bfeaa(0x2d2,0x2f1),_0x4600f3['cshar'+'p']=_0x4bfeaa(0x2bd,0x2b4),_0x4600f3['c']='.c',_0x4600f3['cpp']=_0x20cdb4(0x575,0x560),_0x4600f3[_0x4bfeaa(0x2cc,0x2e1)]='.rs',_0x4600f3[_0x20cdb4(0x55c,0x551)]=_0x20cdb4(0x576,0x57e)+'t',_0x4600f3[_0x20cdb4(0x57a,0x564)+'n']=_0x4bfeaa(0x2d8,0x2e1),_0x4600f3[_0x4bfeaa(0x2e8,0x2d9)]=_0x4bfeaa(0x2e6,0x302)+'a',_0x4600f3[_0x4bfeaa(0x2b7,0x2ce)]=_0x20cdb4(0x56e,0x57a),_0x4600f3[_0x20cdb4(0x569,0x55c)]=_0x4bfeaa(0x2e5,0x2d2),_0x4600f3['yaml']='.yaml';function _0x20cdb4(_0x2d4bef,_0x56d7d3){const _0x27b38f={_0x57054e:0x3bb};return _0x2016(_0x2d4bef-_0x27b38f._0x57054e,_0x56d7d3);}function _0x2016(_0x58bd13,_0x342f45){_0x58bd13=_0x58bd13-(-0x2*-0x89e+-0xdde+-0x13*0x19);const _0x2d5512=_0x4d5a();let _0x4108fa=_0x2d5512[_0x58bd13];if(_0x2016['mDBcfQ']===undefined){var _0x4a8aa6=function(_0x472046){const _0x124e63='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f4997='',_0x169c78='';for(let _0x5da0cf=0xeb5+0x41*-0x1+-0xe74,_0x20521b,_0x472e45,_0x2fc52f=0x72c+0xdd3+-0x14ff;_0x472e45=_0x472046['charAt'](_0x2fc52f++);~_0x472e45&&(_0x20521b=_0x5da0cf%(0x427*-0x1+-0x4db*-0x7+0x15b*-0x16)?_0x20521b*(-0x269d+0x4*-0x2fb+0x32c9*0x1)+_0x472e45:_0x472e45,_0x5da0cf++%(0x11*0x161+0xa5+-0x1812))?_0x4f4997+=String['fromCharCode'](0x1d57*-0x1+-0xb*-0xb8+0x166e&_0x20521b>>(-(-0xb7f+0x2a*-0x59+0x1a1b)*_0x5da0cf&0x74a+0x1*-0x12d1+-0x1*-0xb8d)):-0x7*-0x46c+0xdf*-0x2b+0x681){_0x472e45=_0x124e63['indexOf'](_0x472e45);}for(let _0x528fc5=0x1f*-0x5d+0x330+0x813,_0xe7c2b7=_0x4f4997['length'];_0x528fc5<_0xe7c2b7;_0x528fc5++){_0x169c78+='%'+('00'+_0x4f4997['charCodeAt'](_0x528fc5)['toString'](-0x2354+0x1227+-0x1*-0x113d))['slice'](-(-0x1a09+-0x7c*-0x38+0x115*-0x1));}return decodeURIComponent(_0x169c78);};_0x2016['nUMpBC']=_0x4a8aa6,_0x2016['lOEqlI']={},_0x2016['mDBcfQ']=!![];}const _0x5a1841=_0x2d5512[0x1*0x1e0d+-0x17d3+-0x2*0x31d],_0x1fa162=_0x58bd13+_0x5a1841,_0x2ef29a=_0x2016['lOEqlI'][_0x1fa162];return!_0x2ef29a?(_0x4108fa=_0x2016['nUMpBC'](_0x4108fa),_0x2016['lOEqlI'][_0x1fa162]=_0x4108fa):_0x4108fa=_0x2ef29a,_0x4108fa;}_0x4600f3['json']=_0x20cdb4(0x55f,0x555),_0x4600f3['xml']=_0x20cdb4(0x568,0x568),_0x4600f3[_0x20cdb4(0x55d,0x55b)]=_0x4bfeaa(0x2cf,0x2c3),_0x4600f3['css']=_0x4bfeaa(0x2d0,0x2d5),_0x4600f3[_0x4bfeaa(0x2d1,0x2b6)]=_0x20cdb4(0x563,0x548),_0x4600f3[_0x4bfeaa(0x2f4,0x305)+'rfile']=_0x20cdb4(0x547,0x551)+_0x20cdb4(0x53e,0x540),_0x4600f3[_0x20cdb4(0x53f,0x55f)+'form']=_0x20cdb4(0x549,0x52b),_0x4600f3[_0x20cdb4(0x572,0x591)]=_0x4bfeaa(0x2c0,0x2c9);const extensionMap=_0x4600f3;export function getExtensionForLanguage(_0x349361){const _0x4bb2a2={_0x5b8929:0xf8,_0x197d43:0x102,_0xa413b4:0x126,_0x54cb69:0x108},_0x5b5d37={_0x30949d:0x1bf},_0x4b3c04={_0x391d57:0x3cb},_0x57e68f={};_0x57e68f['PasgE']=_0xfd3caf(_0x4bb2a2._0x5b8929,_0x4bb2a2._0x197d43);const _0xe5fd20=_0x57e68f;if(!_0x349361)return _0xe5fd20['PasgE'];function _0x3b9a60(_0x49758b,_0xdb6aa1){return _0x4bfeaa(_0xdb6aa1- -_0x4b3c04._0x391d57,_0x49758b);}function _0xfd3caf(_0x156c0c,_0x290ec3){return _0x4bfeaa(_0x290ec3- -_0x5b5d37._0x30949d,_0x156c0c);}return extensionMap[_0x349361[_0x3b9a60(-_0x4bb2a2._0xa413b4,-_0x4bb2a2._0x54cb69)+_0x3b9a60(-0xce,-0xdd)+'e']()]??_0x3b9a60(-0xe2,-0xf6);}export async function writeTempFile(_0x3b4bc6,_0x337204,_0x36d13c){const _0x22e2bb={_0x150a2b:0x50b,_0x390bc0:0x520,_0x523cb1:0x3f6,_0x529d22:0x3df,_0xbcf5e8:0x3b7,_0x1ba78c:0x3db,_0x17b316:0x51c},_0x4a5687={'KMfEn':function(_0x31ba6a,_0x3c868c){return _0x31ba6a(_0x3c868c);},'FAnUb':function(_0x675e5f,_0x3e4ef1,_0xf9d23d){return _0x675e5f(_0x3e4ef1,_0xf9d23d);},'PisCT':_0x373426(_0x22e2bb._0x150a2b,_0x22e2bb._0x390bc0),'giUvi':function(_0x22c790,_0x5a743b){return _0x22c790(_0x5a743b);},'XUkOD':function(_0x28f9cd,_0x22c599,_0x2bbc0a){return _0x28f9cd(_0x22c599,_0x2bbc0a);},'nWCyc':function(_0x51b01f,_0x2feed6,_0xde9f30,_0x5d2334){return _0x51b01f(_0x2feed6,_0xde9f30,_0x5d2334);}},_0x568982=await _0x4a5687['KMfEn'](mkdtemp,_0x4a5687['FAnUb'](join,tmpdir(),_0x4a5687['PisCT'])),_0x475055=_0x36d13c?_0x36d13c['slice'](_0x36d13c['lastI'+_0x246bcb(_0x22e2bb._0x523cb1,_0x22e2bb._0x529d22)+'f']('.')):_0x4a5687['giUvi'](getExtensionForLanguage,_0x337204),_0x44a1cd=_0x36d13c?_0x36d13c[_0x246bcb(0x3c4,_0x22e2bb._0xbcf5e8)+'ce'](/[/\\]/g,'_'):_0x246bcb(_0x22e2bb._0x1ba78c,0x3d1)+_0x475055,_0x464777=_0x4a5687[_0x373426(0x516,0x514)](join,_0x568982,_0x44a1cd);function _0x246bcb(_0x5c6418,_0x4f0588){return _0x20cdb4(_0x4f0588- -0x191,_0x5c6418);}function _0x373426(_0x393396,_0xd9248b){return _0x20cdb4(_0xd9248b- -0x2d,_0x393396);}return await _0x4a5687[_0x373426(_0x22e2bb._0x17b316,0x52a)](writeFile,_0x464777,_0x3b4bc6,'utf-8'),{'dir':_0x568982,'filePath':_0x464777,'cleanup':async()=>{function _0x433774(_0x4449ec,_0x39d087){return _0x373426(_0x39d087,_0x4449ec- -0x25d);}try{const _0x2851eb={};_0x2851eb[_0x433774(0x2ef,0x2d9)+'sive']=!![],_0x2851eb['force']=!![],await rm(_0x568982,_0x2851eb);}catch{}}};}export async function which(_0xe2d454){const _0x567239={_0xc3dd56:0x1e3,_0x1b9e35:0x1da,_0x5cdf70:0x1d3,_0x46b92d:0x47b,_0x4d9ff8:0x468,_0xb611f7:0x1be,_0x2cf589:0x1f4};function _0x157117(_0xe3dfff,_0x3cdfc2){return _0x4bfeaa(_0x3cdfc2-0x1bd,_0xe3dfff);}function _0xe51e9c(_0x532348,_0x4af0e6){return _0x20cdb4(_0x4af0e6- -0x747,_0x532348);}const _0x214836={'ThsUl':function(_0x3982c3,_0x3f8cab){return _0x3982c3===_0x3f8cab;},'CjBli':_0xe51e9c(-0x1c6,-_0x567239._0xc3dd56),'SpMrN':'which','kuuMO':function(_0xa8e8e1,_0x337a91,_0xbfb106,_0x3681dc){return _0xa8e8e1(_0x337a91,_0xbfb106,_0x3681dc);},'uGRxo':function(_0x342663,_0x4df36d){return _0x342663||_0x4df36d;}};try{const _0xbe4266=_0x214836['ThsUl'](process[_0xe51e9c(-0x1d2,-_0x567239._0x1b9e35)+_0x157117(0x493,0x4af)],_0x214836[_0xe51e9c(-_0x567239._0x5cdf70,-0x1cf)])?'where':_0x214836[_0x157117(0x49f,0x4a7)],_0x21a2e8={};_0x21a2e8[_0x157117(_0x567239._0x46b92d,0x477)+'ut']=0x1388;const {stdout:_0x2112ad}=await _0x214836['kuuMO'](execFileAsync,_0xbe4266,[_0xe2d454],_0x21a2e8),_0x475929=_0x2112ad[_0x157117(_0x567239._0x4d9ff8,0x478)]()[_0xe51e9c(-_0x567239._0xb611f7,-0x1d3)]('\x0a')[-0x19fd+0x1ae9+0x4*-0x3b];return _0x214836[_0xe51e9c(-0x213,-_0x567239._0x2cf589)](_0x475929,null);}catch{return null;}}