trimprompt 1.0.46 → 1.0.48

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
- 'use strict';const a0_0x581629=a0_0x249a;(function(_0x47a537,_0x3edf23){const _0x4c7e2e=a0_0x249a,_0x330b44=_0x47a537();while(!![]){try{const _0x319a37=-parseInt(_0x4c7e2e(0x1cb))/0x1+parseInt(_0x4c7e2e(0x1c7))/0x2+parseInt(_0x4c7e2e(0x1c6))/0x3+parseInt(_0x4c7e2e(0x1c8))/0x4*(-parseInt(_0x4c7e2e(0x1b9))/0x5)+parseInt(_0x4c7e2e(0x1b8))/0x6*(-parseInt(_0x4c7e2e(0x1ad))/0x7)+parseInt(_0x4c7e2e(0x1cf))/0x8+parseInt(_0x4c7e2e(0x1a6))/0x9*(parseInt(_0x4c7e2e(0x1b4))/0xa);if(_0x319a37===_0x3edf23)break;else _0x330b44['push'](_0x330b44['shift']());}catch(_0x1285de){_0x330b44['push'](_0x330b44['shift']());}}}(a0_0x16cd,0x90c67));Object[a0_0x581629(0x1b1)](exports,a0_0x581629(0x1c3),{'value':!![]}),exports[a0_0x581629(0x1c5)]=stripAnsi,exports[a0_0x581629(0x1d6)]=collapseDuplicates,exports[a0_0x581629(0x1b0)]=collapseWhitespace,exports[a0_0x581629(0x1d4)]=stripComments,exports[a0_0x581629(0x1cc)]=smartCrushJson,exports[a0_0x581629(0x1bf)]=softTruncate;function a0_0x16cd(){const _0x1b7930=['sha','repository','join','test','749rDunle','\x0a...\x20[TrimPrompt:\x20Truncated\x20','trim','collapseWhitespace','defineProperty','keys','length','10630RBHCXq','\x20items,\x20','signature','stringify','51474vdGeVZ','615HBZEBU','\x0a\x0a\x0a','engines','\x20more\x20rows','split','substring','softTruncate','filter','object','min','__esModule','isArray','stripAnsi','1350510DLTpwL','1125558uyOJYl','30964caMgLJ','replace','includes','367192crJnRE','smartCrushJson','push','\x20characters\x20of\x20output]\x20...\x0a','8917560uisVce','resolved','hash','slice','dev','stripComments','map','collapseDuplicates','\x20fields,\x20showing\x20','bugs','\x20[x','...\x20+','toLowerCase','parse','5949nooixR','startsWith','checksum'];a0_0x16cd=function(){return _0x1b7930;};return a0_0x16cd();}function stripAnsi(_0x4fd938){const _0x267069=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x4fd938['replace'](_0x267069,'');}function collapseDuplicates(_0x34328e){const _0x47fb03=a0_0x581629,_0x4f1591=_0x34328e[_0x47fb03(0x1bd)]('\x0a');if(_0x4f1591[_0x47fb03(0x1b3)]<=0x1)return _0x34328e;const _0xdaf6f8=[];let _0x21a3e1=_0x4f1591[0x0],_0x207813=0x1;for(let _0x484fe7=0x1;_0x484fe7<_0x4f1591[_0x47fb03(0x1b3)];_0x484fe7++){const _0x2350ee=_0x4f1591[_0x484fe7];_0x2350ee===_0x21a3e1&&_0x2350ee[_0x47fb03(0x1af)]()[_0x47fb03(0x1b3)]>0x0?_0x207813++:(_0x207813>0x1?_0xdaf6f8[_0x47fb03(0x1cd)](_0x21a3e1+'\x20[x'+_0x207813+']'):_0xdaf6f8[_0x47fb03(0x1cd)](_0x21a3e1),_0x21a3e1=_0x2350ee,_0x207813=0x1);}return _0x207813>0x1?_0xdaf6f8[_0x47fb03(0x1cd)](_0x21a3e1+_0x47fb03(0x1d9)+_0x207813+']'):_0xdaf6f8[_0x47fb03(0x1cd)](_0x21a3e1),_0xdaf6f8['join']('\x0a');}function a0_0x249a(_0x20d83f,_0x5bbb3c){_0x20d83f=_0x20d83f-0x1a3;const _0x16cdd5=a0_0x16cd();let _0x249a86=_0x16cdd5[_0x20d83f];return _0x249a86;}function collapseWhitespace(_0x4b7655){const _0x4432ee=a0_0x581629;let _0x4d746b=_0x4b7655[_0x4432ee(0x1c9)](/[ \t]+$/gm,'');return _0x4d746b=_0x4d746b[_0x4432ee(0x1c9)](/\n{4,}/g,_0x4432ee(0x1ba)),_0x4d746b;}function stripComments(_0x3ce726,_0x2b2cb6){const _0x16ce85=a0_0x581629;if(!_0x2b2cb6)return _0x3ce726;const _0xc8f14e=_0x3ce726[_0x16ce85(0x1bd)]('\x0a');if(_0xc8f14e[_0x16ce85(0x1b3)]<=0x96)return _0x3ce726;const _0x1e948e={'.ts':/^\s*\/\//,'.js':/^\s*\/\//,'.tsx':/^\s*\/\//,'.jsx':/^\s*\/\//,'.py':/^\s*#(?!!)/,'.rb':/^\s*#(?!!)/,'.sh':/^\s*#(?!!)/,'.go':/^\s*\/\//,'.rs':/^\s*\/\//,'.java':/^\s*\/\//,'.c':/^\s*\/\//,'.cpp':/^\s*\/\//,'.cs':/^\s*\/\//,'.swift':/^\s*\/\//,'.kt':/^\s*\/\//,'.yaml':/^\s*#(?!!)/,'.yml':/^\s*#(?!!)/},_0x3eb486=_0x1e948e[_0x2b2cb6[_0x16ce85(0x1a4)]()];if(!_0x3eb486)return _0x3ce726;const _0xf910f7=_0xc8f14e['filter'](_0x43b704=>!_0x3eb486[_0x16ce85(0x1ac)](_0x43b704));return _0xf910f7[_0x16ce85(0x1ab)]('\x0a');}function smartCrushJson(_0xccdfd0){const _0x4cb1f2=a0_0x581629;try{const _0x398b1f=_0xccdfd0[_0x4cb1f2(0x1af)]();if(!_0x398b1f[_0x4cb1f2(0x1a7)]('['))return null;const _0x13b91e=JSON[_0x4cb1f2(0x1a5)](_0x398b1f);if(!Array[_0x4cb1f2(0x1c4)](_0x13b91e)||_0x13b91e[_0x4cb1f2(0x1b3)]<0x3)return null;if(typeof _0x13b91e[0x0]!=='object'||_0x13b91e[0x0]===null)return null;const _0x411b60=Object[_0x4cb1f2(0x1b2)](_0x13b91e[0x0]);if(_0x411b60[_0x4cb1f2(0x1b3)]===0x0)return null;const _0x5ab19f=_0x411b60[_0x4cb1f2(0x1c0)](_0x4531af=>{const _0x4a0d30=_0x4cb1f2,_0x115aa3=_0x4531af['toLowerCase']();return!_0x115aa3['includes'](_0x4a0d30(0x1d0))&&!_0x115aa3[_0x4a0d30(0x1ca)]('integrity')&&!_0x115aa3[_0x4a0d30(0x1ca)](_0x4a0d30(0x1a9))&&!_0x115aa3['includes'](_0x4a0d30(0x1d1))&&!_0x115aa3[_0x4a0d30(0x1ca)](_0x4a0d30(0x1a8))&&!_0x115aa3[_0x4a0d30(0x1ca)](_0x4a0d30(0x1b6))&&!_0x115aa3[_0x4a0d30(0x1ca)](_0x4a0d30(0x1d3))&&_0x115aa3!=='funding'&&_0x115aa3!==_0x4a0d30(0x1bb)&&_0x115aa3!==_0x4a0d30(0x1d8)&&_0x115aa3!==_0x4a0d30(0x1aa);})[_0x4cb1f2(0x1d2)](0x0,0x6);if(_0x5ab19f[_0x4cb1f2(0x1b3)]===0x0)return null;const _0x4db6af=[];_0x4db6af[_0x4cb1f2(0x1cd)](_0x5ab19f[_0x4cb1f2(0x1ab)]('|'));const _0x3e7bbd=0x1e;for(let _0x3866d0=0x0;_0x3866d0<Math[_0x4cb1f2(0x1c2)](_0x13b91e[_0x4cb1f2(0x1b3)],_0x3e7bbd);_0x3866d0++){const _0x315745=_0x5ab19f[_0x4cb1f2(0x1d5)](_0x56fdbf=>{const _0x4ba5c9=_0x4cb1f2,_0x93f64c=_0x13b91e[_0x3866d0][_0x56fdbf];if(_0x93f64c===null||_0x93f64c===undefined)return'';if(typeof _0x93f64c===_0x4ba5c9(0x1c1))return JSON[_0x4ba5c9(0x1b7)](_0x93f64c)[_0x4ba5c9(0x1be)](0x0,0x28);return String(_0x93f64c)[_0x4ba5c9(0x1be)](0x0,0x3c);});_0x4db6af['push'](_0x315745[_0x4cb1f2(0x1ab)]('|'));}_0x13b91e['length']>_0x3e7bbd&&_0x4db6af[_0x4cb1f2(0x1cd)](_0x4cb1f2(0x1a3)+(_0x13b91e[_0x4cb1f2(0x1b3)]-_0x3e7bbd)+_0x4cb1f2(0x1bc));_0x4db6af['push']('\x0a('+_0x13b91e['length']+_0x4cb1f2(0x1b5)+_0x411b60[_0x4cb1f2(0x1b3)]+_0x4cb1f2(0x1d7)+_0x5ab19f[_0x4cb1f2(0x1b3)]+'\x20key\x20fields)');const _0x415de7=_0x4db6af[_0x4cb1f2(0x1ab)]('\x0a');if(_0x415de7[_0x4cb1f2(0x1b3)]<_0x398b1f[_0x4cb1f2(0x1b3)])return _0x415de7;return null;}catch{return null;}}function softTruncate(_0x18b8a9,_0x34879b=0x4e20){const _0x358fcc=a0_0x581629;if(_0x18b8a9[_0x358fcc(0x1b3)]<=_0x34879b)return _0x18b8a9;const _0x180d4b=_0x18b8a9['split']('\x0a');if(_0x180d4b[_0x358fcc(0x1b3)]<=0xc8)return _0x18b8a9;const _0x5d04c3=0x32,_0x4cf47d=0x96,_0x168eb0=_0x180d4b[_0x358fcc(0x1d2)](0x0,_0x5d04c3),_0x3d7b00=_0x180d4b[_0x358fcc(0x1d2)](_0x180d4b[_0x358fcc(0x1b3)]-_0x4cf47d),_0x54a1b4=_0x18b8a9['length']-(_0x168eb0[_0x358fcc(0x1ab)]('\x0a')[_0x358fcc(0x1b3)]+_0x3d7b00[_0x358fcc(0x1ab)]('\x0a')[_0x358fcc(0x1b3)]);return[..._0x168eb0,_0x358fcc(0x1ae)+_0x54a1b4+_0x358fcc(0x1ce),..._0x3d7b00][_0x358fcc(0x1ab)]('\x0a');}
1
+ 'use strict';const a0_0x2cfff2=a0_0x2139;(function(_0x98177f,_0x305c2b){const _0x1c9a05=a0_0x2139,_0x24ca70=_0x98177f();while(!![]){try{const _0x385103=parseInt(_0x1c9a05(0x121))/0x1+-parseInt(_0x1c9a05(0x110))/0x2*(parseInt(_0x1c9a05(0x132))/0x3)+parseInt(_0x1c9a05(0x12a))/0x4*(-parseInt(_0x1c9a05(0x130))/0x5)+parseInt(_0x1c9a05(0x12e))/0x6+parseInt(_0x1c9a05(0x11f))/0x7+parseInt(_0x1c9a05(0x108))/0x8*(-parseInt(_0x1c9a05(0x115))/0x9)+parseInt(_0x1c9a05(0x104))/0xa*(parseInt(_0x1c9a05(0x112))/0xb);if(_0x385103===_0x305c2b)break;else _0x24ca70['push'](_0x24ca70['shift']());}catch(_0x102a8b){_0x24ca70['push'](_0x24ca70['shift']());}}}(a0_0x5132,0x7e7c0));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x2cfff2(0x120)]=stripAnsi,exports[a0_0x2cfff2(0x11a)]=collapseDuplicates,exports[a0_0x2cfff2(0x125)]=collapseWhitespace,exports[a0_0x2cfff2(0x127)]=stripComments,exports[a0_0x2cfff2(0x116)]=smartCrushJson,exports[a0_0x2cfff2(0x128)]=softTruncate;function stripAnsi(_0x55f139){const _0x22378e=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x55f139['replace'](_0x22378e,'');}function collapseDuplicates(_0xebc775){const _0xec069e=a0_0x2cfff2,_0x5a7895=_0xebc775[_0xec069e(0x107)]('\x0a');if(_0x5a7895[_0xec069e(0x102)]<=0x1)return _0xebc775;const _0x24a759=[];let _0x35e200=_0x5a7895[0x0],_0x41c369=0x1;for(let _0x3279a3=0x1;_0x3279a3<_0x5a7895[_0xec069e(0x102)];_0x3279a3++){const _0x31ca94=_0x5a7895[_0x3279a3];_0x31ca94===_0x35e200&&_0x31ca94[_0xec069e(0x11b)]()['length']>0x0?_0x41c369++:(_0x41c369>0x1?_0x24a759[_0xec069e(0x11d)](_0x35e200+_0xec069e(0x126)+_0x41c369+']'):_0x24a759['push'](_0x35e200),_0x35e200=_0x31ca94,_0x41c369=0x1);}return _0x41c369>0x1?_0x24a759['push'](_0x35e200+_0xec069e(0x126)+_0x41c369+']'):_0x24a759[_0xec069e(0x11d)](_0x35e200),_0x24a759[_0xec069e(0x124)]('\x0a');}function collapseWhitespace(_0x5136d6){const _0x4c4a2a=a0_0x2cfff2;let _0x4d7c7d=_0x5136d6[_0x4c4a2a(0x105)](/[ \t]+$/gm,'');return _0x4d7c7d=_0x4d7c7d[_0x4c4a2a(0x105)](/\n{4,}/g,_0x4c4a2a(0x117)),_0x4d7c7d;}function a0_0x2139(_0x1bc9a9,_0x4ad073){_0x1bc9a9=_0x1bc9a9-0x102;const _0x5132fe=a0_0x5132();let _0x2139b4=_0x5132fe[_0x1bc9a9];return _0x2139b4;}function a0_0x5132(){const _0x4608c9=['\x20[x','stripComments','softTruncate','\x20key\x20fields)','548PogbyP','parse','dev','integrity','3836598MZebkS','\x20items,\x20','20255YALFjo','isArray','3YRTJiN','repository','length','object','340imuYIe','replace','engines','split','24eNMsYi','bugs','substring','\x20characters\x20of\x20output]\x20...\x0a','includes','funding','resolved','\x20fields,\x20showing\x20','1369412NwWTtm','slice','222310fNYPzV','signature','checksum','2733543kDBHPN','smartCrushJson','\x0a\x0a\x0a','\x20more\x20rows','test','collapseDuplicates','trim','toLowerCase','push','startsWith','4677498VRSXjs','stripAnsi','674167EXeENF','min','filter','join','collapseWhitespace'];a0_0x5132=function(){return _0x4608c9;};return a0_0x5132();}function stripComments(_0x45e674,_0x515101){const _0x2e64fa=a0_0x2cfff2;if(!_0x515101)return _0x45e674;const _0x3b3ab6=_0x45e674[_0x2e64fa(0x107)]('\x0a');if(_0x3b3ab6[_0x2e64fa(0x102)]<=0x96)return _0x45e674;const _0x317558={'.ts':/^\s*\/\//,'.js':/^\s*\/\//,'.tsx':/^\s*\/\//,'.jsx':/^\s*\/\//,'.py':/^\s*#(?!!)/,'.rb':/^\s*#(?!!)/,'.sh':/^\s*#(?!!)/,'.go':/^\s*\/\//,'.rs':/^\s*\/\//,'.java':/^\s*\/\//,'.c':/^\s*\/\//,'.cpp':/^\s*\/\//,'.cs':/^\s*\/\//,'.swift':/^\s*\/\//,'.kt':/^\s*\/\//,'.yaml':/^\s*#(?!!)/,'.yml':/^\s*#(?!!)/},_0x22998e=_0x317558[_0x515101[_0x2e64fa(0x11c)]()];if(!_0x22998e)return _0x45e674;const _0x40be50=_0x3b3ab6[_0x2e64fa(0x123)](_0x18f623=>!_0x22998e[_0x2e64fa(0x119)](_0x18f623));return _0x40be50[_0x2e64fa(0x124)]('\x0a');}function smartCrushJson(_0x3e4b52){const _0x4e196a=a0_0x2cfff2;try{const _0x4ee205=_0x3e4b52[_0x4e196a(0x11b)]();if(!_0x4ee205[_0x4e196a(0x11e)]('['))return null;const _0x211911=JSON[_0x4e196a(0x12b)](_0x4ee205);if(!Array[_0x4e196a(0x131)](_0x211911)||_0x211911[_0x4e196a(0x102)]<0x3)return null;if(typeof _0x211911[0x0]!==_0x4e196a(0x103)||_0x211911[0x0]===null)return null;const _0x2b669f=Object['keys'](_0x211911[0x0]);if(_0x2b669f[_0x4e196a(0x102)]===0x0)return null;const _0x15a473=_0x2b669f[_0x4e196a(0x123)](_0x5a1981=>{const _0x49a4f3=_0x4e196a,_0x767f14=_0x5a1981[_0x49a4f3(0x11c)]();return!_0x767f14[_0x49a4f3(0x10c)](_0x49a4f3(0x10e))&&!_0x767f14[_0x49a4f3(0x10c)](_0x49a4f3(0x12d))&&!_0x767f14['includes']('sha')&&!_0x767f14[_0x49a4f3(0x10c)]('hash')&&!_0x767f14[_0x49a4f3(0x10c)](_0x49a4f3(0x114))&&!_0x767f14[_0x49a4f3(0x10c)](_0x49a4f3(0x113))&&!_0x767f14[_0x49a4f3(0x10c)](_0x49a4f3(0x12c))&&_0x767f14!==_0x49a4f3(0x10d)&&_0x767f14!==_0x49a4f3(0x106)&&_0x767f14!==_0x49a4f3(0x109)&&_0x767f14!==_0x49a4f3(0x133);})[_0x4e196a(0x111)](0x0,0x6);if(_0x15a473[_0x4e196a(0x102)]===0x0)return null;const _0x151da7=[];_0x151da7[_0x4e196a(0x11d)](_0x15a473[_0x4e196a(0x124)]('|'));const _0xa599b9=0x1e;for(let _0x98ad80=0x0;_0x98ad80<Math[_0x4e196a(0x122)](_0x211911['length'],_0xa599b9);_0x98ad80++){const _0x4e7707=_0x15a473['map'](_0x101724=>{const _0xb67c8d=_0x4e196a,_0x3611a9=_0x211911[_0x98ad80][_0x101724];if(_0x3611a9===null||_0x3611a9===undefined)return'';if(typeof _0x3611a9===_0xb67c8d(0x103))return JSON['stringify'](_0x3611a9)[_0xb67c8d(0x10a)](0x0,0x28);return String(_0x3611a9)['substring'](0x0,0x3c);});_0x151da7[_0x4e196a(0x11d)](_0x4e7707[_0x4e196a(0x124)]('|'));}_0x211911[_0x4e196a(0x102)]>_0xa599b9&&_0x151da7[_0x4e196a(0x11d)]('...\x20+'+(_0x211911[_0x4e196a(0x102)]-_0xa599b9)+_0x4e196a(0x118));_0x151da7[_0x4e196a(0x11d)]('\x0a('+_0x211911[_0x4e196a(0x102)]+_0x4e196a(0x12f)+_0x2b669f[_0x4e196a(0x102)]+_0x4e196a(0x10f)+_0x15a473['length']+_0x4e196a(0x129));const _0x51ccd9=_0x151da7[_0x4e196a(0x124)]('\x0a');if(_0x51ccd9[_0x4e196a(0x102)]<_0x4ee205[_0x4e196a(0x102)])return _0x51ccd9;return null;}catch{return null;}}function softTruncate(_0x16487c,_0x201859=0x4e20){const _0x551329=a0_0x2cfff2;if(_0x16487c[_0x551329(0x102)]<=_0x201859)return _0x16487c;const _0x3f19da=_0x16487c[_0x551329(0x107)]('\x0a');if(_0x3f19da['length']<=0xc8)return _0x16487c;const _0x3fad7e=0x32,_0x274c99=0x96,_0x12bff2=_0x3f19da[_0x551329(0x111)](0x0,_0x3fad7e),_0x59552f=_0x3f19da[_0x551329(0x111)](_0x3f19da[_0x551329(0x102)]-_0x274c99),_0x4cb34c=_0x16487c[_0x551329(0x102)]-(_0x12bff2[_0x551329(0x124)]('\x0a')[_0x551329(0x102)]+_0x59552f[_0x551329(0x124)]('\x0a')[_0x551329(0x102)]);return[..._0x12bff2,'\x0a...\x20[TrimPrompt:\x20Truncated\x20'+_0x4cb34c+_0x551329(0x10b),..._0x59552f]['join']('\x0a');}
package/filters/git.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x25e068=a0_0x1207;(function(_0x6ad6d8,_0xa06fb8){const _0x47e4df=a0_0x1207,_0x1c2ae8=_0x6ad6d8();while(!![]){try{const _0x234f21=parseInt(_0x47e4df(0xd0))/0x1+-parseInt(_0x47e4df(0xd4))/0x2+-parseInt(_0x47e4df(0xf5))/0x3*(-parseInt(_0x47e4df(0xdd))/0x4)+-parseInt(_0x47e4df(0xf3))/0x5+parseInt(_0x47e4df(0xf1))/0x6*(parseInt(_0x47e4df(0xe4))/0x7)+-parseInt(_0x47e4df(0xe3))/0x8*(parseInt(_0x47e4df(0xec))/0x9)+parseInt(_0x47e4df(0xf4))/0xa*(parseInt(_0x47e4df(0xee))/0xb);if(_0x234f21===_0xa06fb8)break;else _0x1c2ae8['push'](_0x1c2ae8['shift']());}catch(_0x30b245){_0x1c2ae8['push'](_0x1c2ae8['shift']());}}}(a0_0x2e2e,0x69929));function a0_0x1207(_0x1654ab,_0x50201a){_0x1654ab=_0x1654ab-0xca;const _0x2e2eb7=a0_0x2e2e();let _0x120724=_0x2e2eb7[_0x1654ab];return _0x120724;}var __createBinding=this&&this[a0_0x25e068(0xdf)]||(Object[a0_0x25e068(0xcf)]?function(_0x5d8c8e,_0x5b7c88,_0x26e825,_0x516438){const _0x5c5762=a0_0x25e068;if(_0x516438===undefined)_0x516438=_0x26e825;var _0x1647f6=Object[_0x5c5762(0xd5)](_0x5b7c88,_0x26e825);(!_0x1647f6||(_0x5c5762(0xf7)in _0x1647f6?!_0x5b7c88[_0x5c5762(0xd8)]:_0x1647f6[_0x5c5762(0xd2)]||_0x1647f6[_0x5c5762(0xfa)]))&&(_0x1647f6={'enumerable':!![],'get':function(){return _0x5b7c88[_0x26e825];}}),Object['defineProperty'](_0x5d8c8e,_0x516438,_0x1647f6);}:function(_0x43e96e,_0x29882a,_0x74ddc3,_0x2d7160){if(_0x2d7160===undefined)_0x2d7160=_0x74ddc3;_0x43e96e[_0x2d7160]=_0x29882a[_0x74ddc3];}),__setModuleDefault=this&&this[a0_0x25e068(0xe6)]||(Object[a0_0x25e068(0xcf)]?function(_0x2e71ec,_0x35c351){const _0x5c80d5=a0_0x25e068;Object[_0x5c80d5(0xdc)](_0x2e71ec,_0x5c80d5(0xe1),{'enumerable':!![],'value':_0x35c351});}:function(_0x15d33c,_0x557995){_0x15d33c['default']=_0x557995;}),__importStar=this&&this[a0_0x25e068(0xe0)]||(function(){var _0x4d0a2f=function(_0x35f0ae){const _0x2c2798=a0_0x1207;return _0x4d0a2f=Object[_0x2c2798(0xfb)]||function(_0x2c7a1a){const _0x2c17e6=_0x2c2798;var _0x29bcd4=[];for(var _0x3590b5 in _0x2c7a1a)if(Object['prototype'][_0x2c17e6(0xf0)]['call'](_0x2c7a1a,_0x3590b5))_0x29bcd4[_0x29bcd4[_0x2c17e6(0xf6)]]=_0x3590b5;return _0x29bcd4;},_0x4d0a2f(_0x35f0ae);};return function(_0x5e73b4){const _0x57ea9f=a0_0x1207;if(_0x5e73b4&&_0x5e73b4[_0x57ea9f(0xd8)])return _0x5e73b4;var _0xa4bf1c={};if(_0x5e73b4!=null){for(var _0x2265e0=_0x4d0a2f(_0x5e73b4),_0x1a3388=0x0;_0x1a3388<_0x2265e0[_0x57ea9f(0xf6)];_0x1a3388++)if(_0x2265e0[_0x1a3388]!=='default')__createBinding(_0xa4bf1c,_0x5e73b4,_0x2265e0[_0x1a3388]);}return __setModuleDefault(_0xa4bf1c,_0x5e73b4),_0xa4bf1c;};}());Object[a0_0x25e068(0xdc)](exports,a0_0x25e068(0xd8),{'value':!![]}),exports[a0_0x25e068(0xe5)]=filterGitStatus,exports[a0_0x25e068(0xff)]=filterGitLog,exports[a0_0x25e068(0xd3)]=filterGitDiff;const path=__importStar(require(a0_0x25e068(0xd7)));function filterGitStatus(_0x58f44e){const _0x3e02d6=a0_0x25e068,_0x4eb68c=_0x58f44e[_0x3e02d6(0xfd)]('\x0a')['map'](_0x15b59d=>_0x15b59d[_0x3e02d6(0xcc)]())[_0x3e02d6(0xda)](_0xf5e962=>_0xf5e962[_0x3e02d6(0xf6)]>0x0);if(_0x4eb68c[_0x3e02d6(0xf6)]===0x0)return _0x3e02d6(0xfe);const _0x85b2a0=[],_0x3503bb=[],_0x13210a=[];for(const _0x4c2655 of _0x4eb68c){if(_0x4c2655[_0x3e02d6(0xcd)]('##')){const _0x16859f=_0x4c2655[_0x3e02d6(0xeb)](/^##\s*/,'');_0x85b2a0[_0x3e02d6(0xf9)](_0x3e02d6(0xe2)+_0x16859f);}else _0x4c2655[_0x3e02d6(0xcd)]('??')?_0x3503bb['push'](_0x4c2655[_0x3e02d6(0xdb)](0x3)[_0x3e02d6(0xcc)]()):_0x13210a[_0x3e02d6(0xf9)](_0x4c2655);}_0x13210a[_0x3e02d6(0xf6)]>0x0&&(_0x85b2a0[_0x3e02d6(0xf9)](_0x3e02d6(0xcb)),_0x85b2a0[_0x3e02d6(0xf9)](..._0x13210a['map'](_0x3481a2=>'\x20\x20'+_0x3481a2)));if(_0x3503bb[_0x3e02d6(0xf6)]>0x0){_0x85b2a0[_0x3e02d6(0xf9)]('\x0aUntracked\x20files:');const _0x50b0c8={},_0x507a9a=[];for(const _0x48883c of _0x3503bb){const _0x35a094=path['dirname'](_0x48883c);_0x35a094==='.'||_0x35a094===''?_0x507a9a['push'](_0x48883c):(!_0x50b0c8[_0x35a094]&&(_0x50b0c8[_0x35a094]=[]),_0x50b0c8[_0x35a094][_0x3e02d6(0xf9)](path[_0x3e02d6(0xed)](_0x48883c)));}for(const [_0x528631,_0x2a2057]of Object['entries'](_0x50b0c8)){if(_0x2a2057[_0x3e02d6(0xf6)]>0x5)_0x85b2a0[_0x3e02d6(0xf9)](_0x3e02d6(0xf8)+_0x528631+'/\x20('+_0x2a2057[_0x3e02d6(0xf6)]+_0x3e02d6(0xea));else for(const _0xfbe824 of _0x2a2057){_0x85b2a0[_0x3e02d6(0xf9)](_0x3e02d6(0xf8)+path[_0x3e02d6(0xd1)](_0x528631,_0xfbe824));}}for(const _0x146a6a of _0x507a9a){_0x85b2a0[_0x3e02d6(0xf9)](_0x3e02d6(0xf8)+_0x146a6a);}}return _0x85b2a0['join']('\x0a');}function filterGitLog(_0x2fde59){const _0x30de08=a0_0x25e068,_0x1b901f=_0x2fde59['split'](_0x30de08(0xd9))['map'](_0x12d418=>_0x12d418[_0x30de08(0xcc)]())[_0x30de08(0xda)](_0x1a2a13=>_0x1a2a13[_0x30de08(0xf6)]>0x0);if(_0x1b901f[_0x30de08(0xf6)]===0x0)return _0x2fde59;const _0x39bb29=[];for(const _0x5b96c1 of _0x1b901f){const _0x3d52c7=_0x5b96c1[_0x30de08(0xfd)]('\x0a'),_0x4cdd7d=_0x3d52c7[0x0]||'',_0x128b7a=_0x3d52c7[_0x30de08(0xe8)](0x1)[_0x30de08(0xce)](_0x280cdd=>_0x280cdd[_0x30de08(0xcc)]())[_0x30de08(0xda)](_0x11ad25=>_0x11ad25[_0x30de08(0xf6)]>0x0);_0x39bb29['push']('-\x20'+_0x4cdd7d),_0x128b7a['length']>0x0&&(_0x39bb29[_0x30de08(0xf9)]('\x20\x20'+_0x128b7a[0x0]),_0x128b7a[_0x30de08(0xf6)]>0x1&&_0x39bb29['push'](_0x30de08(0xf2)+(_0x128b7a['length']-0x1)+_0x30de08(0xef)));}return _0x39bb29[_0x30de08(0xd1)]('\x0a');}function filterGitDiff(_0x189748){const _0x1e5a6a=a0_0x25e068,_0x461543=_0x189748[_0x1e5a6a(0xfd)]('\x0a'),_0x5a81b5=[];let _0x13faa5='',_0x2bb35b=0x0,_0x5f3ff9=0x0,_0x147b20=[];const _0x314e93=()=>{const _0x48963a=_0x1e5a6a;if(_0x13faa5&&(_0x2bb35b>0x0||_0x5f3ff9>0x0)){_0x5a81b5[_0x48963a(0xf9)](_0x48963a(0xe7)+_0x13faa5+'\x20(+'+_0x2bb35b+'\x20-'+_0x5f3ff9+')');const _0x2d39fa=0xa,_0x238f38=_0x147b20['slice'](0x0,_0x2d39fa);for(const _0x5a7236 of _0x238f38){_0x5a81b5[_0x48963a(0xf9)]('\x20\x20'+_0x5a7236);}const _0x1cba91=_0x2bb35b+_0x5f3ff9-_0x2d39fa;_0x1cba91>0x0&&_0x5a81b5['push'](_0x48963a(0xd6)+_0x1cba91+_0x48963a(0xde));}_0x2bb35b=0x0,_0x5f3ff9=0x0,_0x147b20=[];};for(const _0x3ace93 of _0x461543){if(_0x3ace93[_0x1e5a6a(0xcd)](_0x1e5a6a(0xca))){_0x314e93();const _0x50622c=_0x3ace93[_0x1e5a6a(0xe9)](/\sb\/(.+)$/);_0x13faa5=_0x50622c?_0x50622c[0x1]:_0x1e5a6a(0xfc);}else{if(_0x3ace93['startsWith']('+')&&!_0x3ace93[_0x1e5a6a(0xcd)]('+++'))_0x2bb35b++,_0x147b20['push'](_0x3ace93);else _0x3ace93['startsWith']('-')&&!_0x3ace93['startsWith']('---')&&(_0x5f3ff9++,_0x147b20['push'](_0x3ace93));}}_0x314e93();const _0x1a794c=_0x5a81b5[_0x1e5a6a(0xd1)]('\x0a');return _0x1a794c[_0x1e5a6a(0xf6)]>0x0?_0x1a794c:'No\x20modifications';}function a0_0x2e2e(){const _0x42598b=['---END---','filter','substring','defineProperty','1397192hkDvMZ','\x20more\x20modifications','__createBinding','__importStar','default','*\x20Branch:\x20','2430392xfJFUy','2175803PcsDMj','filterGitStatus','__setModuleDefault','[file]\x20','slice','match','\x20untracked\x20files)','replace','9ikpZRh','basename','11aiUGyR','\x20lines\x20of\x20description)','hasOwnProperty','6YdQeeT','\x20\x20...\x20(+','2938185LgyrNm','6155230wcpwwK','3KsdxjX','length','get','\x20\x20??\x20','push','configurable','getOwnPropertyNames','unknown_file','split','Clean\x20working\x20tree','filterGitLog','diff\x20--git','\x0aChanges:','trim','startsWith','map','create','165327cKqkQF','join','writable','filterGitDiff','234232wMiPya','getOwnPropertyDescriptor','\x20\x20...\x20+','path','__esModule'];a0_0x2e2e=function(){return _0x42598b;};return a0_0x2e2e();}
1
+ 'use strict';const a0_0x4c9636=a0_0x2402;(function(_0xb95ff7,_0x4050d9){const _0x4cbdac=a0_0x2402,_0x1dfb6f=_0xb95ff7();while(!![]){try{const _0x221b0f=parseInt(_0x4cbdac(0x175))/0x1+-parseInt(_0x4cbdac(0x15a))/0x2+parseInt(_0x4cbdac(0x159))/0x3*(-parseInt(_0x4cbdac(0x156))/0x4)+-parseInt(_0x4cbdac(0x148))/0x5+-parseInt(_0x4cbdac(0x144))/0x6*(-parseInt(_0x4cbdac(0x174))/0x7)+-parseInt(_0x4cbdac(0x152))/0x8*(-parseInt(_0x4cbdac(0x15f))/0x9)+parseInt(_0x4cbdac(0x14c))/0xa;if(_0x221b0f===_0x4050d9)break;else _0x1dfb6f['push'](_0x1dfb6f['shift']());}catch(_0x4af641){_0x1dfb6f['push'](_0x1dfb6f['shift']());}}}(a0_0x5288,0xb5326));function a0_0x5288(){const _0x59ed2a=['map','basename','diff\x20--git','2151835hSOyue','__esModule','No\x20modifications','[file]\x20','17282180rRnJRg','prototype','startsWith','+++','\x20\x20??\x20','push','8pAPtrh','Clean\x20working\x20tree','entries','---END---','76DCajzn','create','trim','225267oOuluf','1661096JtNHwd','\x20(+','slice','filterGitStatus','*\x20Branch:\x20','8608527nkwHDa','filter','call','/\x20(','split','dirname','__setModuleDefault','substring','unknown_file','defineProperty','\x0aChanges:','\x20untracked\x20files)','\x20\x20...\x20+','join','get','\x20lines\x20of\x20description)','__importStar','---','filterGitLog','getOwnPropertyNames','length','115073faFAzn','465604FmIwTx','filterGitDiff','hasOwnProperty','\x20\x20...\x20(+','\x0aUntracked\x20files:','replace','102ocDMpm'];a0_0x5288=function(){return _0x59ed2a;};return a0_0x5288();}function a0_0x2402(_0x3de264,_0x3a4277){_0x3de264=_0x3de264-0x140;const _0x5288b0=a0_0x5288();let _0x2402bf=_0x5288b0[_0x3de264];return _0x2402bf;}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x3716ca,_0x21ea31,_0x467af5,_0x5eb567){const _0x328cca=a0_0x2402;if(_0x5eb567===undefined)_0x5eb567=_0x467af5;var _0x3f5d15=Object['getOwnPropertyDescriptor'](_0x21ea31,_0x467af5);(!_0x3f5d15||(_0x328cca(0x16d)in _0x3f5d15?!_0x21ea31['__esModule']:_0x3f5d15['writable']||_0x3f5d15['configurable']))&&(_0x3f5d15={'enumerable':!![],'get':function(){return _0x21ea31[_0x467af5];}}),Object[_0x328cca(0x168)](_0x3716ca,_0x5eb567,_0x3f5d15);}:function(_0x562425,_0x1366c0,_0x50c3ee,_0x59cd56){if(_0x59cd56===undefined)_0x59cd56=_0x50c3ee;_0x562425[_0x59cd56]=_0x1366c0[_0x50c3ee];}),__setModuleDefault=this&&this[a0_0x4c9636(0x165)]||(Object[a0_0x4c9636(0x157)]?function(_0x24baf6,_0x5c1346){const _0x3a8b6d=a0_0x4c9636;Object[_0x3a8b6d(0x168)](_0x24baf6,'default',{'enumerable':!![],'value':_0x5c1346});}:function(_0x5c94e1,_0x555107){_0x5c94e1['default']=_0x555107;}),__importStar=this&&this[a0_0x4c9636(0x16f)]||(function(){var _0x444b10=function(_0x4a9ca4){const _0x1ccb82=a0_0x2402;return _0x444b10=Object[_0x1ccb82(0x172)]||function(_0x2c536c){const _0x17c4cd=_0x1ccb82;var _0x3cc9ff=[];for(var _0x106e98 in _0x2c536c)if(Object[_0x17c4cd(0x14d)][_0x17c4cd(0x140)][_0x17c4cd(0x161)](_0x2c536c,_0x106e98))_0x3cc9ff[_0x3cc9ff[_0x17c4cd(0x173)]]=_0x106e98;return _0x3cc9ff;},_0x444b10(_0x4a9ca4);};return function(_0x3b3fb3){const _0xe3ad70=a0_0x2402;if(_0x3b3fb3&&_0x3b3fb3[_0xe3ad70(0x149)])return _0x3b3fb3;var _0x36a194={};if(_0x3b3fb3!=null){for(var _0x468ecc=_0x444b10(_0x3b3fb3),_0x4b531b=0x0;_0x4b531b<_0x468ecc['length'];_0x4b531b++)if(_0x468ecc[_0x4b531b]!=='default')__createBinding(_0x36a194,_0x3b3fb3,_0x468ecc[_0x4b531b]);}return __setModuleDefault(_0x36a194,_0x3b3fb3),_0x36a194;};}());Object[a0_0x4c9636(0x168)](exports,a0_0x4c9636(0x149),{'value':!![]}),exports[a0_0x4c9636(0x15d)]=filterGitStatus,exports[a0_0x4c9636(0x171)]=filterGitLog,exports[a0_0x4c9636(0x176)]=filterGitDiff;const path=__importStar(require('path'));function filterGitStatus(_0x300db1){const _0x1748c7=a0_0x4c9636,_0x458567=_0x300db1['split']('\x0a')['map'](_0x521a22=>_0x521a22[_0x1748c7(0x158)]())['filter'](_0x1a2f61=>_0x1a2f61[_0x1748c7(0x173)]>0x0);if(_0x458567[_0x1748c7(0x173)]===0x0)return _0x1748c7(0x153);const _0x347e64=[],_0x3eab88=[],_0x4193d0=[];for(const _0x4f3cad of _0x458567){if(_0x4f3cad[_0x1748c7(0x14e)]('##')){const _0x46fd88=_0x4f3cad[_0x1748c7(0x143)](/^##\s*/,'');_0x347e64['push'](_0x1748c7(0x15e)+_0x46fd88);}else _0x4f3cad[_0x1748c7(0x14e)]('??')?_0x3eab88['push'](_0x4f3cad[_0x1748c7(0x166)](0x3)[_0x1748c7(0x158)]()):_0x4193d0[_0x1748c7(0x151)](_0x4f3cad);}_0x4193d0[_0x1748c7(0x173)]>0x0&&(_0x347e64['push'](_0x1748c7(0x169)),_0x347e64[_0x1748c7(0x151)](..._0x4193d0[_0x1748c7(0x145)](_0x6248f8=>'\x20\x20'+_0x6248f8)));if(_0x3eab88[_0x1748c7(0x173)]>0x0){_0x347e64[_0x1748c7(0x151)](_0x1748c7(0x142));const _0x5297bd={},_0x40a3a9=[];for(const _0x456a88 of _0x3eab88){const _0xd60f5d=path[_0x1748c7(0x164)](_0x456a88);_0xd60f5d==='.'||_0xd60f5d===''?_0x40a3a9[_0x1748c7(0x151)](_0x456a88):(!_0x5297bd[_0xd60f5d]&&(_0x5297bd[_0xd60f5d]=[]),_0x5297bd[_0xd60f5d][_0x1748c7(0x151)](path[_0x1748c7(0x146)](_0x456a88)));}for(const [_0x32e9c2,_0x2f8658]of Object[_0x1748c7(0x154)](_0x5297bd)){if(_0x2f8658['length']>0x5)_0x347e64['push'](_0x1748c7(0x150)+_0x32e9c2+_0x1748c7(0x162)+_0x2f8658[_0x1748c7(0x173)]+_0x1748c7(0x16a));else for(const _0x3764da of _0x2f8658){_0x347e64[_0x1748c7(0x151)](_0x1748c7(0x150)+path[_0x1748c7(0x16c)](_0x32e9c2,_0x3764da));}}for(const _0x522f47 of _0x40a3a9){_0x347e64[_0x1748c7(0x151)](_0x1748c7(0x150)+_0x522f47);}}return _0x347e64['join']('\x0a');}function filterGitLog(_0x3e693b){const _0x3f0b21=a0_0x4c9636,_0x30562a=_0x3e693b[_0x3f0b21(0x163)](_0x3f0b21(0x155))['map'](_0x112ebc=>_0x112ebc['trim']())[_0x3f0b21(0x160)](_0x4c252d=>_0x4c252d[_0x3f0b21(0x173)]>0x0);if(_0x30562a['length']===0x0)return _0x3e693b;const _0x1d6412=[];for(const _0xde4443 of _0x30562a){const _0x59065a=_0xde4443[_0x3f0b21(0x163)]('\x0a'),_0x35cbca=_0x59065a[0x0]||'',_0x3c6843=_0x59065a[_0x3f0b21(0x15c)](0x1)[_0x3f0b21(0x145)](_0x4c1f04=>_0x4c1f04[_0x3f0b21(0x158)]())[_0x3f0b21(0x160)](_0x5c80a6=>_0x5c80a6['length']>0x0);_0x1d6412[_0x3f0b21(0x151)]('-\x20'+_0x35cbca),_0x3c6843[_0x3f0b21(0x173)]>0x0&&(_0x1d6412[_0x3f0b21(0x151)]('\x20\x20'+_0x3c6843[0x0]),_0x3c6843['length']>0x1&&_0x1d6412['push'](_0x3f0b21(0x141)+(_0x3c6843['length']-0x1)+_0x3f0b21(0x16e)));}return _0x1d6412[_0x3f0b21(0x16c)]('\x0a');}function filterGitDiff(_0x4c86c1){const _0x159680=a0_0x4c9636,_0x2a25fb=_0x4c86c1[_0x159680(0x163)]('\x0a'),_0x31e476=[];let _0x4e1e2b='',_0x3bf668=0x0,_0x457abf=0x0,_0x2d8d5a=[];const _0x46c7ce=()=>{const _0x3e6c20=_0x159680;if(_0x4e1e2b&&(_0x3bf668>0x0||_0x457abf>0x0)){_0x31e476[_0x3e6c20(0x151)](_0x3e6c20(0x14b)+_0x4e1e2b+_0x3e6c20(0x15b)+_0x3bf668+'\x20-'+_0x457abf+')');const _0x311264=0xa,_0x1857f8=_0x2d8d5a[_0x3e6c20(0x15c)](0x0,_0x311264);for(const _0x15f248 of _0x1857f8){_0x31e476[_0x3e6c20(0x151)]('\x20\x20'+_0x15f248);}const _0x5c20b1=_0x3bf668+_0x457abf-_0x311264;_0x5c20b1>0x0&&_0x31e476[_0x3e6c20(0x151)](_0x3e6c20(0x16b)+_0x5c20b1+'\x20more\x20modifications');}_0x3bf668=0x0,_0x457abf=0x0,_0x2d8d5a=[];};for(const _0x457946 of _0x2a25fb){if(_0x457946[_0x159680(0x14e)](_0x159680(0x147))){_0x46c7ce();const _0x262307=_0x457946['match'](/\sb\/(.+)$/);_0x4e1e2b=_0x262307?_0x262307[0x1]:_0x159680(0x167);}else{if(_0x457946[_0x159680(0x14e)]('+')&&!_0x457946['startsWith'](_0x159680(0x14f)))_0x3bf668++,_0x2d8d5a['push'](_0x457946);else _0x457946[_0x159680(0x14e)]('-')&&!_0x457946['startsWith'](_0x159680(0x170))&&(_0x457abf++,_0x2d8d5a[_0x159680(0x151)](_0x457946));}}_0x46c7ce();const _0x4bfd3b=_0x31e476['join']('\x0a');return _0x4bfd3b['length']>0x0?_0x4bfd3b:_0x159680(0x14a);}
package/filters/go.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x38c69e=a0_0x2753;(function(_0x15ccf1,_0x4caa51){const _0x17dd8e=a0_0x2753,_0x856821=_0x15ccf1();while(!![]){try{const _0x5bfc1f=-parseInt(_0x17dd8e(0x117))/0x1+parseInt(_0x17dd8e(0x11f))/0x2*(parseInt(_0x17dd8e(0x129))/0x3)+parseInt(_0x17dd8e(0x119))/0x4*(-parseInt(_0x17dd8e(0x12b))/0x5)+-parseInt(_0x17dd8e(0x120))/0x6*(parseInt(_0x17dd8e(0x115))/0x7)+parseInt(_0x17dd8e(0x10d))/0x8*(-parseInt(_0x17dd8e(0x130))/0x9)+parseInt(_0x17dd8e(0x106))/0xa+-parseInt(_0x17dd8e(0x127))/0xb*(-parseInt(_0x17dd8e(0x111))/0xc);if(_0x5bfc1f===_0x4caa51)break;else _0x856821['push'](_0x856821['shift']());}catch(_0x410aee){_0x856821['push'](_0x856821['shift']());}}}(a0_0x4783,0x21447));function a0_0x4783(){const _0x8839b=['1705530VFDmHb','Go\x20vet:\x20no\x20issues\x20found','match','\x20issues\x20found','length','filterGoTest','split','1404640rEedrX','\x20passed,\x20','join','\x20more\x20failures','4260DcISgJ','no\x20test\x20files','Go\x20test:\x20no\x20test\x20files','startsWith','56NPPegQ','\x20\x20...\x20+','165319iMOBjr','\x20passed','12YzeylU','Go\x20test:\x20','filter','...\x20+','slice','\x20\x20\x20\x20','6wHUNcY','63534wghwgC','Go\x20vet:\x20','\x0aFailures:','\x20more\x20lines','===\x20RUN','\x20skipped','lines','11924UQmXla','includes','33519YsOLve','---\x20SKIP:','45030XigTEw','FAIL','trim','name','push','9TMsxaG','min','Go\x20test:\x20all\x20tests\x20passed'];a0_0x4783=function(){return _0x8839b;};return a0_0x4783();}function a0_0x2753(_0x35ea52,_0xebb95a){_0x35ea52=_0x35ea52-0x104;const _0x47839e=a0_0x4783();let _0x2753b8=_0x47839e[_0x35ea52];return _0x2753b8;}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x38c69e(0x10b)]=filterGoTest,exports['filterGoVet']=filterGoVet;function filterGoTest(_0xe5b48b){const _0x374b15=a0_0x38c69e,_0x1ae7d7=_0xe5b48b[_0x374b15(0x10c)]('\x0a');let _0x4aa9a0=0x0,_0x44e79c=0x0,_0xe577f=0x0;const _0x28f7c7=[],_0x365bbb=[];let _0x3b62f9=null;for(const _0x1a359d of _0x1ae7d7){const _0xec5652=_0x1a359d[_0x374b15(0x12d)](),_0x291820=_0xec5652[_0x374b15(0x108)](/^ok\s+\S+\s+[\d.]+s/);if(_0x291820){_0x365bbb[_0x374b15(0x12f)](_0xec5652);continue;}const _0x337c71=_0xec5652['match'](/^FAIL\s+\S+/);if(_0x337c71){_0x365bbb[_0x374b15(0x12f)](_0xec5652);continue;}const _0x1afcd3=_0xec5652[_0x374b15(0x108)](/^--- PASS:/);if(_0x1afcd3){_0x4aa9a0++;continue;}const _0x33a1a5=_0xec5652[_0x374b15(0x108)](/^--- FAIL:\s+(\S+)/);if(_0x33a1a5){if(_0x3b62f9)_0x28f7c7['push'](_0x3b62f9);_0x3b62f9={'name':_0x33a1a5[0x1],'lines':[]},_0x44e79c++;continue;}if(_0xec5652['startsWith'](_0x374b15(0x12a))){_0xe577f++;continue;}_0x3b62f9&&_0xec5652[_0x374b15(0x10a)]>0x0&&!_0xec5652[_0x374b15(0x114)]('===\x20RUN')&&_0x3b62f9[_0x374b15(0x126)][_0x374b15(0x12f)](_0x1a359d),_0xec5652[_0x374b15(0x114)](_0x374b15(0x124))&&(_0x3b62f9&&(_0x28f7c7[_0x374b15(0x12f)](_0x3b62f9),_0x3b62f9=null));}if(_0x3b62f9)_0x28f7c7[_0x374b15(0x12f)](_0x3b62f9);if(_0x4aa9a0===0x0&&_0x44e79c===0x0&&_0xe577f===0x0){if(_0xe5b48b[_0x374b15(0x128)]('PASS')&&!_0xe5b48b[_0x374b15(0x128)](_0x374b15(0x12c)))return _0x374b15(0x105);if(_0xe5b48b[_0x374b15(0x128)](_0x374b15(0x112)))return _0x374b15(0x113);return _0xe5b48b;}if(_0x44e79c===0x0){const _0x4abf69=[_0x374b15(0x11a)+_0x4aa9a0+_0x374b15(0x118)];if(_0xe577f>0x0)_0x4abf69[_0x374b15(0x12f)](_0xe577f+_0x374b15(0x125));return _0x4abf69['join'](',\x20');}const _0x4374bd=['Go\x20test:\x20'+_0x4aa9a0+_0x374b15(0x10e)+_0x44e79c+'\x20failed,\x20'+_0xe577f+_0x374b15(0x125)];if(_0x28f7c7[_0x374b15(0x10a)]>0x0){_0x4374bd[_0x374b15(0x12f)](_0x374b15(0x122));const _0x58cf8a=0x3;for(let _0x60280=0x0;_0x60280<Math[_0x374b15(0x104)](_0x28f7c7[_0x374b15(0x10a)],_0x58cf8a);_0x60280++){const _0x5cb607=_0x28f7c7[_0x60280];_0x4374bd[_0x374b15(0x12f)]('\x20\x20'+(_0x60280+0x1)+'.\x20'+_0x5cb607[_0x374b15(0x12e)]);for(const _0x567431 of _0x5cb607[_0x374b15(0x126)][_0x374b15(0x11d)](0x0,0x5)){_0x4374bd[_0x374b15(0x12f)](_0x374b15(0x11e)+_0x567431[_0x374b15(0x12d)]());}_0x5cb607[_0x374b15(0x126)]['length']>0x5&&_0x4374bd[_0x374b15(0x12f)]('\x20\x20\x20\x20...\x20+'+(_0x5cb607[_0x374b15(0x126)]['length']-0x5)+_0x374b15(0x123));}_0x28f7c7['length']>_0x58cf8a&&_0x4374bd[_0x374b15(0x12f)](_0x374b15(0x116)+(_0x28f7c7[_0x374b15(0x10a)]-_0x58cf8a)+_0x374b15(0x110));}return _0x4374bd[_0x374b15(0x10f)]('\x0a');}function filterGoVet(_0x56c3d4){const _0x4fd06b=a0_0x38c69e,_0x30e616=_0x56c3d4[_0x4fd06b(0x10c)]('\x0a')[_0x4fd06b(0x11b)](_0x23993b=>_0x23993b[_0x4fd06b(0x12d)]()[_0x4fd06b(0x10a)]>0x0);if(_0x30e616[_0x4fd06b(0x10a)]===0x0)return _0x4fd06b(0x107);if(_0x30e616['length']<=0x14)return _0x56c3d4['trim']();const _0x2e4ce7=[_0x4fd06b(0x121)+_0x30e616[_0x4fd06b(0x10a)]+_0x4fd06b(0x109)];return _0x2e4ce7['push'](..._0x30e616['slice'](0x0,0xa)),_0x30e616[_0x4fd06b(0x10a)]>0xa&&_0x2e4ce7[_0x4fd06b(0x12f)](_0x4fd06b(0x11c)+(_0x30e616[_0x4fd06b(0x10a)]-0xa)+'\x20more\x20issues'),_0x2e4ce7[_0x4fd06b(0x10f)]('\x0a');}
1
+ 'use strict';function a0_0x4ada(_0xa9a087,_0x151c62){_0xa9a087=_0xa9a087-0x86;const _0x4e1a28=a0_0x4e1a();let _0x4ada10=_0x4e1a28[_0xa9a087];return _0x4ada10;}const a0_0x2cb70e=a0_0x4ada;(function(_0x4a2e48,_0x572d3b){const _0x23ae06=a0_0x4ada,_0x3ebec8=_0x4a2e48();while(!![]){try{const _0x23767f=parseInt(_0x23ae06(0xa6))/0x1+-parseInt(_0x23ae06(0x95))/0x2+parseInt(_0x23ae06(0x9c))/0x3+-parseInt(_0x23ae06(0xa5))/0x4+-parseInt(_0x23ae06(0xa0))/0x5+parseInt(_0x23ae06(0x9b))/0x6+-parseInt(_0x23ae06(0x9a))/0x7*(-parseInt(_0x23ae06(0xab))/0x8);if(_0x23767f===_0x572d3b)break;else _0x3ebec8['push'](_0x3ebec8['shift']());}catch(_0x4b3834){_0x3ebec8['push'](_0x3ebec8['shift']());}}}(a0_0x4e1a,0xbe13d));function a0_0x4e1a(){const _0x100848=['3294705upRuWA','Go\x20test:\x20','PASS','slice','2727040woCzlL','includes','join','===\x20RUN','trim','4508660pKUUtZ','260861EHERlb','Go\x20test:\x20all\x20tests\x20passed','filterGoTest','---\x20SKIP:','Go\x20vet:\x20','2904MDhozf','push','\x20more\x20issues','length','\x20more\x20failures','FAIL','\x0aFailures:','\x20\x20...\x20+','\x20skipped','\x20failed,\x20','lines','\x20more\x20lines','match','\x20\x20\x20\x20','startsWith','no\x20test\x20files','split','name','2521590eHJqqZ','\x20issues\x20found','Go\x20vet:\x20no\x20issues\x20found','\x20passed,\x20','__esModule','31199bSVVmh','4409628lypeDU'];a0_0x4e1a=function(){return _0x100848;};return a0_0x4e1a();}Object['defineProperty'](exports,a0_0x2cb70e(0x99),{'value':!![]}),exports[a0_0x2cb70e(0xa8)]=filterGoTest,exports['filterGoVet']=filterGoVet;function filterGoTest(_0x4c956b){const _0x2342f4=a0_0x2cb70e,_0x195ee2=_0x4c956b[_0x2342f4(0x93)]('\x0a');let _0x522774=0x0,_0x86868b=0x0,_0x2fafba=0x0;const _0x1d7ea7=[],_0x147352=[];let _0x59a49a=null;for(const _0x896ac3 of _0x195ee2){const _0x474874=_0x896ac3[_0x2342f4(0xa4)](),_0x4175c7=_0x474874[_0x2342f4(0x8f)](/^ok\s+\S+\s+[\d.]+s/);if(_0x4175c7){_0x147352[_0x2342f4(0xac)](_0x474874);continue;}const _0x53e508=_0x474874[_0x2342f4(0x8f)](/^FAIL\s+\S+/);if(_0x53e508){_0x147352[_0x2342f4(0xac)](_0x474874);continue;}const _0x5ad69=_0x474874['match'](/^--- PASS:/);if(_0x5ad69){_0x522774++;continue;}const _0x5ea841=_0x474874[_0x2342f4(0x8f)](/^--- FAIL:\s+(\S+)/);if(_0x5ea841){if(_0x59a49a)_0x1d7ea7[_0x2342f4(0xac)](_0x59a49a);_0x59a49a={'name':_0x5ea841[0x1],'lines':[]},_0x86868b++;continue;}if(_0x474874[_0x2342f4(0x91)](_0x2342f4(0xa9))){_0x2fafba++;continue;}_0x59a49a&&_0x474874['length']>0x0&&!_0x474874['startsWith']('===\x20RUN')&&_0x59a49a[_0x2342f4(0x8d)][_0x2342f4(0xac)](_0x896ac3),_0x474874[_0x2342f4(0x91)](_0x2342f4(0xa3))&&(_0x59a49a&&(_0x1d7ea7[_0x2342f4(0xac)](_0x59a49a),_0x59a49a=null));}if(_0x59a49a)_0x1d7ea7[_0x2342f4(0xac)](_0x59a49a);if(_0x522774===0x0&&_0x86868b===0x0&&_0x2fafba===0x0){if(_0x4c956b[_0x2342f4(0xa1)](_0x2342f4(0x9e))&&!_0x4c956b[_0x2342f4(0xa1)](_0x2342f4(0x88)))return _0x2342f4(0xa7);if(_0x4c956b['includes'](_0x2342f4(0x92)))return'Go\x20test:\x20no\x20test\x20files';return _0x4c956b;}if(_0x86868b===0x0){const _0x1613ce=[_0x2342f4(0x9d)+_0x522774+'\x20passed'];if(_0x2fafba>0x0)_0x1613ce[_0x2342f4(0xac)](_0x2fafba+_0x2342f4(0x8b));return _0x1613ce[_0x2342f4(0xa2)](',\x20');}const _0x13c93f=[_0x2342f4(0x9d)+_0x522774+_0x2342f4(0x98)+_0x86868b+_0x2342f4(0x8c)+_0x2fafba+_0x2342f4(0x8b)];if(_0x1d7ea7[_0x2342f4(0x86)]>0x0){_0x13c93f['push'](_0x2342f4(0x89));const _0x11b690=0x3;for(let _0x325cf8=0x0;_0x325cf8<Math['min'](_0x1d7ea7[_0x2342f4(0x86)],_0x11b690);_0x325cf8++){const _0x437e84=_0x1d7ea7[_0x325cf8];_0x13c93f[_0x2342f4(0xac)]('\x20\x20'+(_0x325cf8+0x1)+'.\x20'+_0x437e84[_0x2342f4(0x94)]);for(const _0x575118 of _0x437e84[_0x2342f4(0x8d)][_0x2342f4(0x9f)](0x0,0x5)){_0x13c93f[_0x2342f4(0xac)](_0x2342f4(0x90)+_0x575118[_0x2342f4(0xa4)]());}_0x437e84[_0x2342f4(0x8d)][_0x2342f4(0x86)]>0x5&&_0x13c93f['push']('\x20\x20\x20\x20...\x20+'+(_0x437e84[_0x2342f4(0x8d)][_0x2342f4(0x86)]-0x5)+_0x2342f4(0x8e));}_0x1d7ea7[_0x2342f4(0x86)]>_0x11b690&&_0x13c93f[_0x2342f4(0xac)](_0x2342f4(0x8a)+(_0x1d7ea7[_0x2342f4(0x86)]-_0x11b690)+_0x2342f4(0x87));}return _0x13c93f['join']('\x0a');}function filterGoVet(_0x14c2a3){const _0x4ce619=a0_0x2cb70e,_0xe6d04a=_0x14c2a3[_0x4ce619(0x93)]('\x0a')['filter'](_0x4c5745=>_0x4c5745[_0x4ce619(0xa4)]()['length']>0x0);if(_0xe6d04a[_0x4ce619(0x86)]===0x0)return _0x4ce619(0x97);if(_0xe6d04a[_0x4ce619(0x86)]<=0x14)return _0x14c2a3['trim']();const _0x3dd676=[_0x4ce619(0xaa)+_0xe6d04a[_0x4ce619(0x86)]+_0x4ce619(0x96)];return _0x3dd676[_0x4ce619(0xac)](..._0xe6d04a['slice'](0x0,0xa)),_0xe6d04a[_0x4ce619(0x86)]>0xa&&_0x3dd676[_0x4ce619(0xac)]('...\x20+'+(_0xe6d04a[_0x4ce619(0x86)]-0xa)+_0x4ce619(0xad)),_0x3dd676['join']('\x0a');}
package/filters/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x131d1f=a0_0x5c41;(function(_0x104485,_0x349f23){const _0x5857fe=a0_0x5c41,_0x48e762=_0x104485();while(!![]){try{const _0x29a320=parseInt(_0x5857fe(0x1b8))/0x1*(parseInt(_0x5857fe(0x20e))/0x2)+-parseInt(_0x5857fe(0x1ae))/0x3+-parseInt(_0x5857fe(0x202))/0x4+parseInt(_0x5857fe(0x1b9))/0x5*(parseInt(_0x5857fe(0x1cd))/0x6)+-parseInt(_0x5857fe(0x1fa))/0x7+-parseInt(_0x5857fe(0x209))/0x8+-parseInt(_0x5857fe(0x211))/0x9*(-parseInt(_0x5857fe(0x20c))/0xa);if(_0x29a320===_0x349f23)break;else _0x48e762['push'](_0x48e762['shift']());}catch(_0x322cdb){_0x48e762['push'](_0x48e762['shift']());}}}(a0_0x56d8,0xa2d12));Object[a0_0x131d1f(0x1ea)](exports,a0_0x131d1f(0x1f2),{'value':!![]}),exports[a0_0x131d1f(0x1d9)]=exports['lastRedactAudit']=void 0x0,exports[a0_0x131d1f(0x1cc)]=compressOutput,exports['rewriteCommand']=rewriteCommand;const generic_1=require(a0_0x131d1f(0x1f6)),git_1=require(a0_0x131d1f(0x1b4)),python_1=require(a0_0x131d1f(0x1de)),js_1=require(a0_0x131d1f(0x1cb)),shell_1=require(a0_0x131d1f(0x210)),rust_1=require(a0_0x131d1f(0x1ff)),go_1=require('./go'),devops_1=require(a0_0x131d1f(0x1e1)),redactor_1=require(a0_0x131d1f(0x1ba)),tracker_1=require(a0_0x131d1f(0x1ce));function a0_0x5c41(_0x423840,_0x4c0993){_0x423840=_0x423840-0x1ad;const _0x56d82b=a0_0x56d8();let _0x5c4158=_0x56d82b[_0x423840];return _0x5c4158;}exports[a0_0x131d1f(0x1af)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x131d1f(0x1d9)]=[];function isFeatureEnabled(_0x1a6c79){const _0x41c5c6=a0_0x131d1f;try{const _0x155e88=tracker_1[_0x41c5c6(0x219)][_0x41c5c6(0x1eb)](),_0x24ca0b=_0x155e88[_0x41c5c6(0x1b5)];if(!_0x24ca0b||_0x24ca0b[_0x1a6c79]===undefined)return!![];return _0x24ca0b[_0x1a6c79]!==![];}catch{return!![];}}function compressOutput(_0xeb68b3,_0x36438b,_0x2c2763,_0x3ff10a=!![]){const _0x4d3d1b=a0_0x131d1f,_0x376ef5=_0xeb68b3[_0x4d3d1b(0x1d1)]();let _0x4da9ae=_0x36438b;_0x2c2763[_0x4d3d1b(0x1d1)]()[_0x4d3d1b(0x20b)]>0x0&&(_0x4da9ae=_0x36438b+'\x0a'+_0x2c2763);let _0x1e44f2=isFeatureEnabled(_0x4d3d1b(0x1c6))?(0x0,generic_1[_0x4d3d1b(0x1d6)])(_0x4da9ae):_0x4da9ae;const _0x4ca25d=[];if(_0x1e44f2['length']<_0x4da9ae[_0x4d3d1b(0x20b)])_0x4ca25d[_0x4d3d1b(0x1d3)](_0x4d3d1b(0x1c6));const _0x1ce4d2=(_0x236d58,_0x1b1521)=>{const _0x211800=_0x4d3d1b;return _0x4ca25d[_0x211800(0x1d3)](_0x236d58),exports['lastFeatures']=_0x4ca25d,_0x1b1521;};if(_0x3ff10a&&isFeatureEnabled('redact')){const _0x2ce57c=redactor_1[_0x4d3d1b(0x200)][_0x4d3d1b(0x215)](_0x1e44f2);_0x1e44f2=_0x2ce57c[_0x4d3d1b(0x1b6)],exports[_0x4d3d1b(0x1af)]={'secretsFound':_0x2ce57c[_0x4d3d1b(0x204)],'secretTypes':_0x2ce57c[_0x4d3d1b(0x213)]};if(_0x2ce57c[_0x4d3d1b(0x204)]>0x0)_0x4ca25d[_0x4d3d1b(0x1d3)](_0x4d3d1b(0x1c3));}else exports[_0x4d3d1b(0x1af)]={'secretsFound':0x0,'secretTypes':[]};const _0x2df6f9=_0x376ef5[_0x4d3d1b(0x1b3)](),_0xd881aa=isFeatureEnabled(_0x4d3d1b(0x1d5));try{if(_0xd881aa){if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x206))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1f4)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,git_1[_0x4d3d1b(0x1e7)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1ca))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x201)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,git_1[_0x4d3d1b(0x1c7)])(_0x1e44f2));if(_0x2df6f9['includes'](_0x4d3d1b(0x218))||_0x2df6f9['includes']('git\x20show')||_0x2df6f9['includes'](_0x4d3d1b(0x205)))return _0x1ce4d2('filter',(0x0,git_1['filterGitDiff'])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)]('pytest')||_0x2df6f9[_0x4d3d1b(0x1f9)](/python3?\s+-m\s+pytest/))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,python_1['filterPytest'])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x20a))||_0x2df6f9['includes'](_0x4d3d1b(0x1dc)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,python_1[_0x4d3d1b(0x1c9)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1c1))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1e3)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,devops_1['filterRuff'])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)]('npm\x20install')||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x217))||_0x2df6f9[_0x4d3d1b(0x1ee)](_0x4d3d1b(0x1d4))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1b2))||_0x2df6f9['includes'](_0x4d3d1b(0x1db)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,js_1[_0x4d3d1b(0x1c2)])(_0x1e44f2));if(_0x2df6f9['includes'](_0x4d3d1b(0x1bb))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1b0)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,js_1['filterJestVitest'])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1e8))||_0x2df6f9[_0x4d3d1b(0x1fb)]('pnpm\x20test')||_0x2df6f9['includes'](_0x4d3d1b(0x1c5))||_0x2df6f9['includes'](_0x4d3d1b(0x1be)))return _0x1ce4d2('filter',(0x0,js_1[_0x4d3d1b(0x1f3)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x203)))return _0x1ce4d2('filter',(0x0,rust_1[_0x4d3d1b(0x1cf)])(_0x1e44f2));if(_0x2df6f9['includes'](_0x4d3d1b(0x1e9))||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x20d))||_0x2df6f9['includes'](_0x4d3d1b(0x214)))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,rust_1[_0x4d3d1b(0x1ec)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)]('go\x20test'))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,go_1[_0x4d3d1b(0x1da)])(_0x1e44f2));if(_0x2df6f9['includes']('go\x20vet'))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,go_1['filterGoVet'])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/docker\s+ps/))return _0x1ce4d2('filter',(0x0,devops_1[_0x4d3d1b(0x1df)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/docker\s+images/))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,devops_1[_0x4d3d1b(0x207)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/docker\s+logs/))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,devops_1[_0x4d3d1b(0x1bc)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1ef))){const _0x2c9f59=_0x2df6f9[_0x4d3d1b(0x1f9)](/kubectl\s+(get|logs|describe|apply)/),_0x1e1453=_0x2c9f59?_0x2c9f59[0x1]:_0x4d3d1b(0x1fc);return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,devops_1['filterKubectl'])(_0x1e44f2,_0x1e1453));}if(_0x2df6f9[_0x4d3d1b(0x1f9)](/^(ls|dir)(\s|$)/)||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1d2))||_0x2df6f9[_0x4d3d1b(0x1ee)](_0x4d3d1b(0x1d0)))return _0x1ce4d2('filter',(0x0,shell_1[_0x4d3d1b(0x1c4)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/^tree(\s|$)/)||_0x2df6f9[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1d7))||_0x2df6f9[_0x4d3d1b(0x1ee)]('\x20tree'))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,shell_1[_0x4d3d1b(0x21c)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0xe4a577=(0x0,shell_1[_0x4d3d1b(0x1c0)])(_0x1e44f2,_0x376ef5);if(_0xe4a577[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1ed)))_0x4ca25d[_0x4d3d1b(0x1d3)]('lock');else{if(_0xe4a577[_0x4d3d1b(0x1fb)]('[binary')||_0xe4a577['includes'](_0x4d3d1b(0x1e4)))_0x4ca25d[_0x4d3d1b(0x1d3)](_0x4d3d1b(0x1e2));else{if(_0xe4a577[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x216)))_0x4ca25d[_0x4d3d1b(0x1d3)](_0x4d3d1b(0x21a));else{if(_0xe4a577[_0x4d3d1b(0x1fb)]('|\x20')&&_0xe4a577[_0x4d3d1b(0x1fb)](_0x4d3d1b(0x1bd))&&_0xe4a577[_0x4d3d1b(0x20b)]<_0x1e44f2[_0x4d3d1b(0x20b)]*0.5)_0x4ca25d['push'](_0x4d3d1b(0x1e5));else{if(_0xe4a577[_0x4d3d1b(0x1fb)]('lines\x20truncated'))_0x4ca25d[_0x4d3d1b(0x1d3)](_0x4d3d1b(0x1d5));}}}}if(_0xe4a577[_0x4d3d1b(0x20b)]<_0x1e44f2[_0x4d3d1b(0x20b)]&&!_0x4ca25d[_0x4d3d1b(0x1f7)](_0x37b7d9=>_0x37b7d9!==_0x4d3d1b(0x1c6)&&_0x37b7d9!==_0x4d3d1b(0x1c3)))_0x4ca25d[_0x4d3d1b(0x1d3)]('filter');return exports[_0x4d3d1b(0x1d9)]=_0x4ca25d,_0xe4a577;}if(_0x2df6f9[_0x4d3d1b(0x1f9)](/^find(\s|$)/))return _0x1ce4d2(_0x4d3d1b(0x1d5),(0x0,shell_1[_0x4d3d1b(0x1f0)])(_0x1e44f2));if(_0x2df6f9[_0x4d3d1b(0x1f9)](/^(grep|rg|ripgrep)(\s|$)/))return _0x1ce4d2('filter',(0x0,shell_1['filterGrep'])(_0x1e44f2));}}catch(_0x2479c4){}return isFeatureEnabled('whitespace')&&(_0x1e44f2=(0x0,generic_1['collapseWhitespace'])(_0x1e44f2),_0x4ca25d['push']('whitespace')),_0x1e44f2=(0x0,generic_1[_0x4d3d1b(0x212)])(_0x1e44f2),_0x1e44f2=(0x0,generic_1[_0x4d3d1b(0x1ad)])(_0x1e44f2,0x4e20),exports[_0x4d3d1b(0x1d9)]=_0x4ca25d,_0x1e44f2;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x131d1f(0x1b7)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x131d1f(0x21b)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x131d1f(0x1e6)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x131d1f(0x1fe)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x131d1f(0x1f1)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x131d1f(0x1c8)},{'pattern':/^npx\s+/,'prefix':a0_0x131d1f(0x20f)},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x131d1f(0x1bf)},{'pattern':/^ls(\s|$)/,'prefix':'trim\x20ls'},{'pattern':/^tree(\s|$)/,'prefix':a0_0x131d1f(0x208)},{'pattern':/^find\s+/,'prefix':a0_0x131d1f(0x1d8)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x131d1f(0x1f5)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x131d1f(0x1b1)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x131d1f(0x1e0)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x131d1f(0x1fd)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':'trim\x20pip'},{'pattern':/^go\s+(test|build|vet)/,'prefix':'trim\x20go'}];function rewriteCommand(_0x1cf00c){const _0x105f6f=a0_0x131d1f,_0x117fe6=_0x1cf00c['trim']();if(_0x117fe6['startsWith'](_0x105f6f(0x1dd)))return _0x117fe6;for(const _0x1f95ef of REWRITE_RULES){if(_0x1f95ef[_0x105f6f(0x1f8)]['test'](_0x117fe6))return _0x105f6f(0x1dd)+_0x117fe6;}return _0x117fe6;}function a0_0x56d8(){const _0x34855e=['6dDSNIP','../tracker','filterCargoTest','\x20ls','trim','\x20ls\x20','push','npm\x20i','filter','stripAnsi','\x20tree\x20','trim\x20find','lastFeatures','filterGoTest','yarn\x20install','pip3\x20install','trim\x20','./python','filterDockerPs','trim\x20pytest','./devops','binary','ruff\x20','[minified\x20file]','json_crusher','trim\x20glab','filterGitStatus','npm\x20test','cargo\x20build','defineProperty','getConfig','filterCargoBuild','[lock\x20file]','endsWith','kubectl','filterFind','trim\x20pnpm','__esModule','filterJestVitest','yadm\x20status','trim\x20docker','./generic','some','pattern','match','4040575iZakRS','includes','get','trim\x20ruff','trim\x20cargo','./rust','redactor','yadm\x20log','4124368DIVHpn','cargo\x20test','secretsFound','yadm\x20diff','git\x20status','filterDockerImages','trim\x20tree','5416640gnNQCg','pip\x20install','length','40WHqfHo','cargo\x20check','281306ZXpJIG','trim\x20npx','./shell','4792518wMOLYM','collapseDuplicates','secretTypes','cargo\x20clippy','redactWithAudit','[code\x20skeleton]','npm\x20i\x20','git\x20diff','tracker','skeleton','trim\x20gh','filterTree','softTruncate','1394643VUCxcr','lastRedactAudit','vitest','trim\x20kubectl','pnpm\x20install','toLowerCase','./git','features_enabled','text','trim\x20git','3fkmbbe','4326045YBPLbG','../redactor','jest','filterDockerLogs','---','npm\x20run\x20test','trim\x20grep','filterCat','ruff\x20check','filterNpmInstall','redact','filterLs','yarn\x20test','ansi_strip','filterGitLog','trim\x20npm','filterPipInstall','git\x20log','./js','compressOutput'];a0_0x56d8=function(){return _0x34855e;};return a0_0x56d8();}
1
+ 'use strict';const a0_0x22314e=a0_0x3509;(function(_0xa74e73,_0x5bb294){const _0x484b98=a0_0x3509,_0x5bb8c8=_0xa74e73();while(!![]){try{const _0x1129bf=-parseInt(_0x484b98(0xf7))/0x1*(parseInt(_0x484b98(0xf9))/0x2)+-parseInt(_0x484b98(0xef))/0x3+parseInt(_0x484b98(0x124))/0x4+parseInt(_0x484b98(0xf0))/0x5+parseInt(_0x484b98(0x12c))/0x6+-parseInt(_0x484b98(0x125))/0x7*(-parseInt(_0x484b98(0xeb))/0x8)+-parseInt(_0x484b98(0x126))/0x9*(parseInt(_0x484b98(0x11e))/0xa);if(_0x1129bf===_0x5bb294)break;else _0x5bb8c8['push'](_0x5bb8c8['shift']());}catch(_0x5e9df5){_0x5bb8c8['push'](_0x5bb8c8['shift']());}}}(a0_0x4f9a,0x1e8bf));Object['defineProperty'](exports,a0_0x22314e(0xfc),{'value':!![]}),exports[a0_0x22314e(0x113)]=exports[a0_0x22314e(0x132)]=void 0x0,exports['compressOutput']=compressOutput,exports[a0_0x22314e(0x146)]=rewriteCommand;const generic_1=require('./generic'),git_1=require('./git'),python_1=require('./python'),js_1=require(a0_0x22314e(0x13c)),shell_1=require(a0_0x22314e(0x13d)),rust_1=require('./rust'),go_1=require(a0_0x22314e(0x12b)),devops_1=require(a0_0x22314e(0x135)),redactor_1=require(a0_0x22314e(0x133)),tracker_1=require(a0_0x22314e(0x10a));exports[a0_0x22314e(0x132)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x22314e(0x113)]=[];function a0_0x3509(_0x463ee4,_0x55badf){_0x463ee4=_0x463ee4-0xdf;const _0x4f9ae3=a0_0x4f9a();let _0x35093d=_0x4f9ae3[_0x463ee4];return _0x35093d;}function a0_0x4f9a(){const _0x61471f=['./shell','filterGitDiff','getConfig','yadm\x20log','redact','startsWith','ansi_strip','trim','trim\x20docker','rewriteCommand','npm\x20test','yarn\x20install','features_enabled','npm\x20install','some','collapseDuplicates','trim\x20cargo','[code\x20skeleton]','trim\x20pnpm','filterNpmInstall','trim\x20ls','filterDockerPs','tracker','trim\x20glab','928giGVtZ','trim\x20kubectl','get','npm\x20i','280005NcaasT','591775vpuKXJ','go\x20test','endsWith','trim\x20ruff','redactWithAudit','match','test','1vnBiQS','toLowerCase','256730yohLde','vitest','pip3\x20install','__esModule','filterLs','pip\x20install','yarn\x20test','filter','includes','filterGrep','\x20tree\x20','length','push','filterGoTest','ruff\x20','trim\x20pytest','text','../tracker','filterGoVet','npm\x20run\x20test','lock','yadm\x20status','trim\x20gh','redactor','\x20ls','trim\x20grep','lastFeatures','git\x20diff','cargo\x20build','[minified\x20file]','cargo\x20test','whitespace','trim\x20git','filterJestVitest','json_crusher','pnpm\x20test','filterRuff','50rVCSPk','skeleton','trim\x20read','filterCargoTest','trim\x20pip','secretsFound','839800sRDbzy','8561AtaLlG','665208tsvcMV','lines\x20truncated','filterTree','filterDockerLogs','filterGitLog','./go','1477236pAcOwz','softTruncate','trim\x20go','filterDockerImages','collapseWhitespace','filterFind','lastRedactAudit','../redactor','binary','./devops','cargo\x20clippy','trim\x20npx','---','filterCat','secretTypes','\x20tree','./js'];a0_0x4f9a=function(){return _0x61471f;};return a0_0x4f9a();}function isFeatureEnabled(_0x24c968){const _0x56730b=a0_0x22314e;try{const _0xa0d49b=tracker_1[_0x56730b(0xe9)][_0x56730b(0x13f)](),_0x20c94a=_0xa0d49b[_0x56730b(0xdf)];if(!_0x20c94a||_0x20c94a[_0x24c968]===undefined)return!![];return _0x20c94a[_0x24c968]!==![];}catch{return!![];}}function compressOutput(_0x5e7bf3,_0x5700b6,_0x12800a,_0x211491=!![]){const _0x4d2b16=a0_0x22314e,_0x31463c=_0x5e7bf3['trim']();let _0x382766=_0x5700b6;_0x12800a[_0x4d2b16(0x144)]()[_0x4d2b16(0x104)]>0x0&&(_0x382766=_0x5700b6+'\x0a'+_0x12800a);let _0x4efbc5=isFeatureEnabled('ansi_strip')?(0x0,generic_1['stripAnsi'])(_0x382766):_0x382766;const _0x554b28=[];if(_0x4efbc5['length']<_0x382766[_0x4d2b16(0x104)])_0x554b28[_0x4d2b16(0x105)](_0x4d2b16(0x143));const _0x42d0ed=(_0x475109,_0xf7f92b)=>{const _0x392dd4=_0x4d2b16;return _0x554b28[_0x392dd4(0x105)](_0x475109),exports[_0x392dd4(0x113)]=_0x554b28,_0xf7f92b;};if(_0x211491&&isFeatureEnabled(_0x4d2b16(0x141))){const _0x39a04a=redactor_1[_0x4d2b16(0x110)][_0x4d2b16(0xf4)](_0x4efbc5);_0x4efbc5=_0x39a04a[_0x4d2b16(0x109)],exports[_0x4d2b16(0x132)]={'secretsFound':_0x39a04a['secretsFound'],'secretTypes':_0x39a04a[_0x4d2b16(0x13a)]};if(_0x39a04a[_0x4d2b16(0x123)]>0x0)_0x554b28[_0x4d2b16(0x105)](_0x4d2b16(0x141));}else exports[_0x4d2b16(0x132)]={'secretsFound':0x0,'secretTypes':[]};const _0x4889e8=_0x31463c[_0x4d2b16(0xf8)](),_0x399852=isFeatureEnabled(_0x4d2b16(0x100));try{if(_0x399852){if(_0x4889e8['includes']('git\x20status')||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x10e)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,git_1['filterGitStatus'])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)]('git\x20log')||_0x4889e8['includes'](_0x4d2b16(0x140)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,git_1[_0x4d2b16(0x12a)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x114))||_0x4889e8['includes']('git\x20show')||_0x4889e8[_0x4d2b16(0x101)]('yadm\x20diff'))return _0x42d0ed(_0x4d2b16(0x100),(0x0,git_1[_0x4d2b16(0x13e)])(_0x4efbc5));if(_0x4889e8['includes']('pytest')||_0x4889e8[_0x4d2b16(0xf5)](/python3?\s+-m\s+pytest/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,python_1['filterPytest'])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xfe))||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xfb)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,python_1['filterPipInstall'])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)]('ruff\x20check')||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x107)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,devops_1[_0x4d2b16(0x11d)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xe0))||_0x4889e8[_0x4d2b16(0x101)]('npm\x20i\x20')||_0x4889e8[_0x4d2b16(0xf2)](_0x4d2b16(0xee))||_0x4889e8[_0x4d2b16(0x101)]('pnpm\x20install')||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x148)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,js_1[_0x4d2b16(0xe6)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)]('jest')||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xfa)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,js_1[_0x4d2b16(0x11a)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x147))||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x11c))||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xff))||_0x4889e8['includes'](_0x4d2b16(0x10c)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,js_1[_0x4d2b16(0x11a)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x117)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,rust_1[_0x4d2b16(0x121)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x115))||_0x4889e8[_0x4d2b16(0x101)]('cargo\x20check')||_0x4889e8['includes'](_0x4d2b16(0x136)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,rust_1['filterCargoBuild'])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0xf1)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,go_1[_0x4d2b16(0x106)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0x101)]('go\x20vet'))return _0x42d0ed('filter',(0x0,go_1[_0x4d2b16(0x10b)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0xf5)](/docker\s+ps/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,devops_1[_0x4d2b16(0xe8)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0xf5)](/docker\s+images/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,devops_1[_0x4d2b16(0x12f)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0xf5)](/docker\s+logs/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,devops_1[_0x4d2b16(0x129)])(_0x4efbc5));if(_0x4889e8['includes']('kubectl')){const _0x4d97b8=_0x4889e8['match'](/kubectl\s+(get|logs|describe|apply)/),_0x3c58c1=_0x4d97b8?_0x4d97b8[0x1]:_0x4d2b16(0xed);return _0x42d0ed(_0x4d2b16(0x100),(0x0,devops_1['filterKubectl'])(_0x4efbc5,_0x3c58c1));}if(_0x4889e8[_0x4d2b16(0xf5)](/^(ls|dir)(\s|$)/)||_0x4889e8['includes']('\x20ls\x20')||_0x4889e8[_0x4d2b16(0xf2)](_0x4d2b16(0x111)))return _0x42d0ed(_0x4d2b16(0x100),(0x0,shell_1[_0x4d2b16(0xfd)])(_0x4efbc5));if(_0x4889e8['match'](/^tree(\s|$)/)||_0x4889e8[_0x4d2b16(0x101)](_0x4d2b16(0x103))||_0x4889e8['endsWith'](_0x4d2b16(0x13b)))return _0x42d0ed('filter',(0x0,shell_1[_0x4d2b16(0x128)])(_0x4efbc5));if(_0x4889e8['match'](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x4b2600=(0x0,shell_1[_0x4d2b16(0x139)])(_0x4efbc5,_0x31463c);if(_0x4b2600[_0x4d2b16(0x101)]('[lock\x20file]'))_0x554b28['push'](_0x4d2b16(0x10d));else{if(_0x4b2600[_0x4d2b16(0x101)]('[binary')||_0x4b2600[_0x4d2b16(0x101)](_0x4d2b16(0x116)))_0x554b28[_0x4d2b16(0x105)](_0x4d2b16(0x134));else{if(_0x4b2600['includes'](_0x4d2b16(0xe4)))_0x554b28['push'](_0x4d2b16(0x11f));else{if(_0x4b2600[_0x4d2b16(0x101)]('|\x20')&&_0x4b2600['includes'](_0x4d2b16(0x138))&&_0x4b2600[_0x4d2b16(0x104)]<_0x4efbc5[_0x4d2b16(0x104)]*0.5)_0x554b28['push'](_0x4d2b16(0x11b));else{if(_0x4b2600[_0x4d2b16(0x101)](_0x4d2b16(0x127)))_0x554b28[_0x4d2b16(0x105)](_0x4d2b16(0x100));}}}}if(_0x4b2600[_0x4d2b16(0x104)]<_0x4efbc5[_0x4d2b16(0x104)]&&!_0x554b28[_0x4d2b16(0xe1)](_0x4ecc2b=>_0x4ecc2b!=='ansi_strip'&&_0x4ecc2b!==_0x4d2b16(0x141)))_0x554b28[_0x4d2b16(0x105)]('filter');return exports[_0x4d2b16(0x113)]=_0x554b28,_0x4b2600;}if(_0x4889e8[_0x4d2b16(0xf5)](/^find(\s|$)/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,shell_1[_0x4d2b16(0x131)])(_0x4efbc5));if(_0x4889e8[_0x4d2b16(0xf5)](/^(grep|rg|ripgrep)(\s|$)/))return _0x42d0ed(_0x4d2b16(0x100),(0x0,shell_1[_0x4d2b16(0x102)])(_0x4efbc5));}}catch(_0x2fbdef){}return isFeatureEnabled(_0x4d2b16(0x118))&&(_0x4efbc5=(0x0,generic_1[_0x4d2b16(0x130)])(_0x4efbc5),_0x554b28[_0x4d2b16(0x105)](_0x4d2b16(0x118))),_0x4efbc5=(0x0,generic_1[_0x4d2b16(0xe2)])(_0x4efbc5),_0x4efbc5=(0x0,generic_1[_0x4d2b16(0x12d)])(_0x4efbc5,0x4e20),exports[_0x4d2b16(0x113)]=_0x554b28,_0x4efbc5;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x22314e(0x119)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x22314e(0x10f)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x22314e(0xea)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x22314e(0xe3)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x22314e(0xe5)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':'trim\x20npm'},{'pattern':/^npx\s+/,'prefix':a0_0x22314e(0x137)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x22314e(0x120)},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x22314e(0x112)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x22314e(0xe7)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':'trim\x20find'},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x22314e(0x145)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x22314e(0xec)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x22314e(0x108)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x22314e(0xf3)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x22314e(0x122)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x22314e(0x12e)}];function rewriteCommand(_0x429ae3){const _0x501a8b=a0_0x22314e,_0x5bcb18=_0x429ae3[_0x501a8b(0x144)]();if(_0x5bcb18[_0x501a8b(0x142)]('trim\x20'))return _0x5bcb18;for(const _0x9e3a75 of REWRITE_RULES){if(_0x9e3a75['pattern'][_0x501a8b(0xf6)](_0x5bcb18))return'trim\x20'+_0x5bcb18;}return _0x5bcb18;}
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x339461=a0_0x1e9e;(function(_0x430ea1,_0x5a8ee7){const _0x48cb58=a0_0x1e9e,_0x164385=_0x430ea1();while(!![]){try{const _0x495877=-parseInt(_0x48cb58(0x192))/0x1+parseInt(_0x48cb58(0x184))/0x2+-parseInt(_0x48cb58(0x196))/0x3+-parseInt(_0x48cb58(0x182))/0x4+parseInt(_0x48cb58(0x185))/0x5*(parseInt(_0x48cb58(0x18c))/0x6)+parseInt(_0x48cb58(0x1a1))/0x7+parseInt(_0x48cb58(0x198))/0x8;if(_0x495877===_0x5a8ee7)break;else _0x164385['push'](_0x164385['shift']());}catch(_0x39daf6){_0x164385['push'](_0x164385['shift']());}}}(a0_0x3b72,0x5c546));function a0_0x1e9e(_0x4af4c6,_0x502b88){_0x4af4c6=_0x4af4c6-0x182;const _0x3b7264=a0_0x3b72();let _0x1e9e44=_0x3b7264[_0x4af4c6];return _0x1e9e44;}Object[a0_0x339461(0x1a2)](exports,'__esModule',{'value':!![]}),exports[a0_0x339461(0x19f)]=filterNpmInstall,exports[a0_0x339461(0x199)]=filterJestVitest;function filterNpmInstall(_0x11678c){const _0x46b515=a0_0x339461,_0x293915=_0x11678c[_0x46b515(0x197)](/\r/g,'\x0a'),_0x577805=_0x293915['split']('\x0a'),_0x25b742=[];for(const _0x1a06c1 of _0x577805){const _0x109f6f=_0x1a06c1[_0x46b515(0x194)]();(_0x109f6f[_0x46b515(0x18b)](_0x46b515(0x191))||_0x109f6f[_0x46b515(0x18b)](_0x46b515(0x1a4))||_0x109f6f[_0x46b515(0x18b)](_0x46b515(0x1a0))||_0x109f6f['includes']('up\x20to\x20date')||_0x109f6f[_0x46b515(0x18b)]('found\x20'))&&(!_0x109f6f[_0x46b515(0x18b)]('%')&&!_0x109f6f[_0x46b515(0x19c)]('⠋')&&!_0x109f6f[_0x46b515(0x19c)]('⠙')&&_0x25b742[_0x46b515(0x186)](_0x109f6f));}const _0x93e8cf=_0x25b742[_0x46b515(0x18a)]('\x0a')[_0x46b515(0x194)]();return _0x93e8cf['length']>0x0?_0x93e8cf:_0x46b515(0x195);}function a0_0x3b72(){const _0x1ba950=['1327908fVbECr','replace','7568096ukpfeI','filterJestVitest','FAIL\x20\x20','FAIL','startsWith','\x20\x20...\x20(','match','filterNpmInstall','audited\x20','1451359carCiz','defineProperty','length','removed\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','498864WmPrfU','Test\x20Runner:\x20','716042gBWBOz','1820DJUqdc','push','\x20total)','slice','Tests:','join','includes','246AsqzUY','\x20passed','\x20passed,\x20','\x0aFailures:','Test\x20Suites:','added\x20','580760ESdUOF','all','trim','NPM:\x20Packages\x20verified/installed\x20successfully'];a0_0x3b72=function(){return _0x1ba950;};return a0_0x3b72();}function filterJestVitest(_0x54c544){const _0x4e11fa=a0_0x339461,_0x1e0d5e=_0x54c544['split']('\x0a');let _0x1e53b9=0x0,_0xea29fd=0x0,_0x469308=0x0;const _0x3ac62f=[];let _0x537622=![];for(const _0x3a03ce of _0x1e0d5e){const _0xa56c8c=_0x3a03ce[_0x4e11fa(0x194)]();if(_0xa56c8c[_0x4e11fa(0x19c)](_0x4e11fa(0x189))||_0xa56c8c[_0x4e11fa(0x18b)]('Test\x20Files:')){const _0x274b21=_0xa56c8c[_0x4e11fa(0x19e)](/(\d+)\s+passed/),_0x515a66=_0xa56c8c['match'](/(\d+)\s+failed/),_0x42bd0b=_0xa56c8c[_0x4e11fa(0x19e)](/(\d+)\s+total/);if(_0x274b21)_0x1e53b9=parseInt(_0x274b21[0x1]);if(_0x515a66)_0xea29fd=parseInt(_0x515a66[0x1]);if(_0x42bd0b)_0x469308=parseInt(_0x42bd0b[0x1]);continue;}(_0xa56c8c[_0x4e11fa(0x19c)]('❯')||_0xa56c8c[_0x4e11fa(0x19c)]('●')||_0xa56c8c[_0x4e11fa(0x19c)](_0x4e11fa(0x19a)))&&(_0x537622=!![]),_0x537622&&(_0xa56c8c[_0x4e11fa(0x1a3)]>0x0&&!_0xa56c8c[_0x4e11fa(0x19c)](_0x4e11fa(0x190))&&!_0xa56c8c[_0x4e11fa(0x19c)](_0x4e11fa(0x189))&&_0x3ac62f[_0x4e11fa(0x186)](_0x3a03ce));}if(_0x469308===0x0&&_0x1e53b9===0x0&&_0xea29fd===0x0){if(_0x54c544[_0x4e11fa(0x18b)]('PASS')&&!_0x54c544[_0x4e11fa(0x18b)](_0x4e11fa(0x19b))){const _0x221c72=_0x54c544[_0x4e11fa(0x19e)](/(\d+)\s+passed/),_0x5f3627=_0x221c72?_0x221c72[0x1]:_0x4e11fa(0x193);return'Test\x20Runner:\x20'+_0x5f3627+_0x4e11fa(0x18d);}return _0x54c544;}if(_0xea29fd===0x0&&_0x1e53b9>0x0)return _0x4e11fa(0x183)+_0x1e53b9+_0x4e11fa(0x18d);const _0x5727e7=['Test\x20Runner:\x20'+_0x1e53b9+_0x4e11fa(0x18e)+_0xea29fd+'\x20failed\x20('+_0x469308+_0x4e11fa(0x187)];if(_0x3ac62f['length']>0x0){_0x5727e7[_0x4e11fa(0x186)](_0x4e11fa(0x18f));const _0x362732=0x19,_0x25ef6d=_0x3ac62f[_0x4e11fa(0x188)](0x0,_0x362732);for(const _0x3b9f86 of _0x25ef6d){_0x5727e7[_0x4e11fa(0x186)]('\x20\x20'+_0x3b9f86);}_0x3ac62f[_0x4e11fa(0x1a3)]>_0x362732&&_0x5727e7[_0x4e11fa(0x186)](_0x4e11fa(0x19d)+(_0x3ac62f[_0x4e11fa(0x1a3)]-_0x362732)+_0x4e11fa(0x1a5));}return _0x5727e7[_0x4e11fa(0x18a)]('\x0a');}
1
+ 'use strict';const a0_0xf7b6fd=a0_0x212f;(function(_0x2c7e83,_0x148051){const _0x4108a1=a0_0x212f,_0x381209=_0x2c7e83();while(!![]){try{const _0x2b283b=-parseInt(_0x4108a1(0x157))/0x1+-parseInt(_0x4108a1(0x15d))/0x2*(-parseInt(_0x4108a1(0x146))/0x3)+parseInt(_0x4108a1(0x154))/0x4*(parseInt(_0x4108a1(0x15e))/0x5)+parseInt(_0x4108a1(0x159))/0x6+parseInt(_0x4108a1(0x14f))/0x7+-parseInt(_0x4108a1(0x14b))/0x8+parseInt(_0x4108a1(0x162))/0x9*(-parseInt(_0x4108a1(0x167))/0xa);if(_0x2b283b===_0x148051)break;else _0x381209['push'](_0x381209['shift']());}catch(_0x91f59b){_0x381209['push'](_0x381209['shift']());}}}(a0_0x460d,0x4aec2));function a0_0x460d(){const _0x37156d=['1663731NxnYpD','PASS','defineProperty','\x20passed,\x20','trim','4178240loHcgU','added\x20','Test\x20Runner:\x20','\x20\x20...\x20(','1055110hcpZbQ','\x20total)','found\x20','FAIL\x20\x20','startsWith','11212jufpNo','\x20failed\x20(','Test\x20Suites:','91645OaxnEr','match','1923960fRmdUV','audited\x20','filterNpmInstall','split','2HsXMPH','335WcAneL','Tests:','all','push','155097cWEDlK','filterJestVitest','\x20passed','\x0aFailures:','FAIL','170uLlWZR','join','Test\x20Files:','includes','length','__esModule','NPM:\x20Packages\x20verified/installed\x20successfully'];a0_0x460d=function(){return _0x37156d;};return a0_0x460d();}function a0_0x212f(_0x21d5f3,_0xd27dc5){_0x21d5f3=_0x21d5f3-0x140;const _0x460dc4=a0_0x460d();let _0x212f2e=_0x460dc4[_0x21d5f3];return _0x212f2e;}Object[a0_0xf7b6fd(0x148)](exports,a0_0xf7b6fd(0x144),{'value':!![]}),exports[a0_0xf7b6fd(0x15b)]=filterNpmInstall,exports[a0_0xf7b6fd(0x163)]=filterJestVitest;function filterNpmInstall(_0x509e0e){const _0x5619bc=a0_0xf7b6fd,_0x1726ba=_0x509e0e['replace'](/\r/g,'\x0a'),_0x1f761c=_0x1726ba[_0x5619bc(0x15c)]('\x0a'),_0x113c99=[];for(const _0x3896e3 of _0x1f761c){const _0x55b753=_0x3896e3['trim']();(_0x55b753['includes'](_0x5619bc(0x14c))||_0x55b753[_0x5619bc(0x142)]('removed\x20')||_0x55b753[_0x5619bc(0x142)](_0x5619bc(0x15a))||_0x55b753[_0x5619bc(0x142)]('up\x20to\x20date')||_0x55b753[_0x5619bc(0x142)](_0x5619bc(0x151)))&&(!_0x55b753[_0x5619bc(0x142)]('%')&&!_0x55b753[_0x5619bc(0x153)]('⠋')&&!_0x55b753[_0x5619bc(0x153)]('⠙')&&_0x113c99[_0x5619bc(0x161)](_0x55b753));}const _0x525069=_0x113c99[_0x5619bc(0x140)]('\x0a')[_0x5619bc(0x14a)]();return _0x525069[_0x5619bc(0x143)]>0x0?_0x525069:_0x5619bc(0x145);}function filterJestVitest(_0x3dc891){const _0x4dbe8b=a0_0xf7b6fd,_0xfe2c2a=_0x3dc891[_0x4dbe8b(0x15c)]('\x0a');let _0xd3acbd=0x0,_0x5482e8=0x0,_0xe34fa=0x0;const _0x1b291f=[];let _0xb3b38=![];for(const _0x15870 of _0xfe2c2a){const _0x595fc7=_0x15870[_0x4dbe8b(0x14a)]();if(_0x595fc7[_0x4dbe8b(0x153)](_0x4dbe8b(0x15f))||_0x595fc7[_0x4dbe8b(0x142)](_0x4dbe8b(0x141))){const _0x340a6e=_0x595fc7['match'](/(\d+)\s+passed/),_0x261bb4=_0x595fc7[_0x4dbe8b(0x158)](/(\d+)\s+failed/),_0x17c5c8=_0x595fc7[_0x4dbe8b(0x158)](/(\d+)\s+total/);if(_0x340a6e)_0xd3acbd=parseInt(_0x340a6e[0x1]);if(_0x261bb4)_0x5482e8=parseInt(_0x261bb4[0x1]);if(_0x17c5c8)_0xe34fa=parseInt(_0x17c5c8[0x1]);continue;}(_0x595fc7[_0x4dbe8b(0x153)]('❯')||_0x595fc7[_0x4dbe8b(0x153)]('●')||_0x595fc7[_0x4dbe8b(0x153)](_0x4dbe8b(0x152)))&&(_0xb3b38=!![]),_0xb3b38&&(_0x595fc7[_0x4dbe8b(0x143)]>0x0&&!_0x595fc7['startsWith'](_0x4dbe8b(0x156))&&!_0x595fc7['startsWith'](_0x4dbe8b(0x15f))&&_0x1b291f[_0x4dbe8b(0x161)](_0x15870));}if(_0xe34fa===0x0&&_0xd3acbd===0x0&&_0x5482e8===0x0){if(_0x3dc891[_0x4dbe8b(0x142)](_0x4dbe8b(0x147))&&!_0x3dc891[_0x4dbe8b(0x142)](_0x4dbe8b(0x166))){const _0x5a07e7=_0x3dc891[_0x4dbe8b(0x158)](/(\d+)\s+passed/),_0x3fd6b5=_0x5a07e7?_0x5a07e7[0x1]:_0x4dbe8b(0x160);return _0x4dbe8b(0x14d)+_0x3fd6b5+_0x4dbe8b(0x164);}return _0x3dc891;}if(_0x5482e8===0x0&&_0xd3acbd>0x0)return'Test\x20Runner:\x20'+_0xd3acbd+_0x4dbe8b(0x164);const _0x4520e7=[_0x4dbe8b(0x14d)+_0xd3acbd+_0x4dbe8b(0x149)+_0x5482e8+_0x4dbe8b(0x155)+_0xe34fa+_0x4dbe8b(0x150)];if(_0x1b291f[_0x4dbe8b(0x143)]>0x0){_0x4520e7[_0x4dbe8b(0x161)](_0x4dbe8b(0x165));const _0x3b845d=0x19,_0x3928f9=_0x1b291f['slice'](0x0,_0x3b845d);for(const _0x419dac of _0x3928f9){_0x4520e7[_0x4dbe8b(0x161)]('\x20\x20'+_0x419dac);}_0x1b291f[_0x4dbe8b(0x143)]>_0x3b845d&&_0x4520e7[_0x4dbe8b(0x161)](_0x4dbe8b(0x14e)+(_0x1b291f[_0x4dbe8b(0x143)]-_0x3b845d)+'\x20lines\x20of\x20trace\x20details\x20truncated)');}return _0x4520e7[_0x4dbe8b(0x140)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x5dbeaf=a0_0x503a;(function(_0x418a78,_0x1c5e03){const _0x3068f6=a0_0x503a,_0x1314b8=_0x418a78();while(!![]){try{const _0x2a0922=-parseInt(_0x3068f6(0xa5))/0x1*(parseInt(_0x3068f6(0xc0))/0x2)+parseInt(_0x3068f6(0xc7))/0x3+-parseInt(_0x3068f6(0xc4))/0x4+-parseInt(_0x3068f6(0xae))/0x5+-parseInt(_0x3068f6(0xad))/0x6*(parseInt(_0x3068f6(0xbf))/0x7)+parseInt(_0x3068f6(0xaf))/0x8+parseInt(_0x3068f6(0xd0))/0x9;if(_0x2a0922===_0x1c5e03)break;else _0x1314b8['push'](_0x1314b8['shift']());}catch(_0x1c572a){_0x1314b8['push'](_0x1314b8['shift']());}}}(a0_0x5637,0x19205));function a0_0x5637(){const _0x302f7d=['defineProperty','filterPipInstall','189351viMbgW','length','failed','Using\x20cached','slice','Pytest:\x20','Collecting','\x20xfailed','___','2150577QEbadg','===\x20ERRORS\x20===','===','AssertionError:','1pGxAmJ','join','\x20more\x20failures\x20truncated','\x20passed','\x20\x20...\x20+','\x20skipped','Successfully\x20installed','E\x20\x20\x20','1057476HXVmlW','22470kVXmBY','1349736xsSpSc','split','trim','===\x20short\x20test\x20summary\x20info\x20===','===\x20FAILURES\x20===','\x20\x20\x20\x20...\x20(','match','\x20\x20\x20\x20','__esModule','filter','.\x20[FAIL]\x20','includes','startsWith','passed','filterPytest','push','7klQgPg','256306RqYomO','Pytest:\x20All\x20tests\x20passed','replace','Requirement\x20already\x20satisfied','235908HLjyRR'];a0_0x5637=function(){return _0x302f7d;};return a0_0x5637();}function a0_0x503a(_0x5ca287,_0x345a4b){_0x5ca287=_0x5ca287-0xa5;const _0x563780=a0_0x5637();let _0x503ace=_0x563780[_0x5ca287];return _0x503ace;}Object[a0_0x5dbeaf(0xc5)](exports,a0_0x5dbeaf(0xb7),{'value':!![]}),exports[a0_0x5dbeaf(0xbd)]=filterPytest,exports[a0_0x5dbeaf(0xc6)]=filterPipInstall;function filterPytest(_0x180e0e){const _0x487c08=a0_0x5dbeaf,_0x1ef7b2=_0x180e0e['split']('\x0a');let _0x5d2c6f=0x0,_0x598908=0x0,_0x2d303c=0x0,_0x30411e=0x0,_0x844710=0x0;const _0x5b4420=[];let _0x59eede=[],_0x4555d8=![];for(const _0xb5354c of _0x1ef7b2){const _0x451ea8=_0xb5354c[_0x487c08(0xb1)]();if(_0x451ea8[_0x487c08(0xbb)](_0x487c08(0xb3))||_0x451ea8[_0x487c08(0xbb)](_0x487c08(0xd1))){_0x4555d8=!![];continue;}else(_0x451ea8[_0x487c08(0xbb)](_0x487c08(0xb2))||_0x451ea8[_0x487c08(0xbb)](_0x487c08(0xd2))&&_0x451ea8['includes'](_0x487c08(0xbc)))&&(_0x4555d8=![],_0x59eede[_0x487c08(0xc8)]>0x0&&(_0x5b4420[_0x487c08(0xbe)](_0x59eede),_0x59eede=[]));if(_0x4555d8){if(_0x451ea8['startsWith'](_0x487c08(0xcf)))_0x59eede[_0x487c08(0xc8)]>0x0&&(_0x5b4420['push'](_0x59eede),_0x59eede=[]),_0x59eede[_0x487c08(0xbe)](_0x451ea8);else _0x451ea8[_0x487c08(0xc8)]>0x0&&_0x59eede[_0x487c08(0xbe)](_0xb5354c);continue;}if(_0x451ea8['startsWith'](_0x487c08(0xd2))&&_0x451ea8[_0x487c08(0xba)]('\x20in\x20')){const _0x378e31=_0x451ea8[_0x487c08(0xb5)](/(\d+)\s+passed/),_0x21f009=_0x451ea8[_0x487c08(0xb5)](/(\d+)\s+failed/),_0x16aafd=_0x451ea8[_0x487c08(0xb5)](/(\d+)\s+skipped/),_0x542946=_0x451ea8['match'](/(\d+)\s+xfailed/),_0x6377a0=_0x451ea8[_0x487c08(0xb5)](/(\d+)\s+xpassed/);if(_0x378e31)_0x5d2c6f=parseInt(_0x378e31[0x1]);if(_0x21f009)_0x598908=parseInt(_0x21f009[0x1]);if(_0x16aafd)_0x2d303c=parseInt(_0x16aafd[0x1]);if(_0x542946)_0x30411e=parseInt(_0x542946[0x1]);if(_0x6377a0)_0x844710=parseInt(_0x6377a0[0x1]);}}_0x59eede['length']>0x0&&_0x5b4420[_0x487c08(0xbe)](_0x59eede);if(_0x5d2c6f===0x0&&_0x598908===0x0&&_0x2d303c===0x0&&_0x30411e===0x0&&_0x844710===0x0){if(_0x180e0e['includes'](_0x487c08(0xbc))&&!_0x180e0e[_0x487c08(0xba)](_0x487c08(0xc9)))return _0x487c08(0xc1);return _0x180e0e;}if(_0x598908===0x0&&_0x5d2c6f>0x0&&_0x2d303c===0x0&&_0x30411e===0x0&&_0x844710===0x0)return _0x487c08(0xcc)+_0x5d2c6f+'\x20passed';const _0x1e9b5c=[];_0x1e9b5c[_0x487c08(0xbe)](_0x487c08(0xcc)+_0x5d2c6f+_0x487c08(0xa8));if(_0x598908>0x0)_0x1e9b5c[_0x487c08(0xbe)](_0x598908+'\x20failed');if(_0x2d303c>0x0)_0x1e9b5c[_0x487c08(0xbe)](_0x2d303c+_0x487c08(0xaa));if(_0x30411e>0x0)_0x1e9b5c[_0x487c08(0xbe)](_0x30411e+_0x487c08(0xce));if(_0x844710>0x0)_0x1e9b5c[_0x487c08(0xbe)](_0x844710+'\x20xpassed\x20(warning!)');const _0x46fb74=[_0x1e9b5c[_0x487c08(0xa6)](',\x20')];if(_0x5b4420[_0x487c08(0xc8)]>0x0){_0x46fb74[_0x487c08(0xbe)]('\x0aFailures:');const _0x5b83a8=0x3,_0x43eaa5=_0x5b4420[_0x487c08(0xcb)](0x0,_0x5b83a8);for(let _0x2d643b=0x0;_0x2d643b<_0x43eaa5[_0x487c08(0xc8)];_0x2d643b++){const _0x11cf06=_0x43eaa5[_0x2d643b],_0x113815=_0x11cf06[0x0][_0x487c08(0xc2)](/_/g,'')[_0x487c08(0xb1)]();_0x46fb74['push']('\x20\x20'+(_0x2d643b+0x1)+_0x487c08(0xb9)+_0x113815);const _0x3c6ea8=_0x11cf06[_0x487c08(0xcb)](0x1),_0x241bd0=_0x3c6ea8[_0x487c08(0xb8)](_0x27f515=>{const _0x3e2ea9=_0x487c08,_0x41b625=_0x27f515['trim']();return _0x41b625['startsWith']('>')||_0x41b625[_0x3e2ea9(0xbb)](_0x3e2ea9(0xac))||_0x41b625['includes']('.py:')||_0x41b625[_0x3e2ea9(0xba)](_0x3e2ea9(0xd3));});for(const _0x2d8d2f of _0x241bd0[_0x487c08(0xcb)](0x0,0x8)){_0x46fb74['push'](_0x487c08(0xb6)+_0x2d8d2f);}_0x241bd0['length']>0x8&&_0x46fb74[_0x487c08(0xbe)](_0x487c08(0xb4)+(_0x241bd0[_0x487c08(0xc8)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0x5b4420['length']>_0x5b83a8&&_0x46fb74[_0x487c08(0xbe)](_0x487c08(0xa9)+(_0x5b4420['length']-_0x5b83a8)+_0x487c08(0xa7));}return _0x46fb74[_0x487c08(0xa6)]('\x0a');}function filterPipInstall(_0x354aa0){const _0x523b2a=a0_0x5dbeaf,_0x111583=_0x354aa0[_0x523b2a(0xb0)]('\x0a'),_0xc0133e=[];for(const _0x19ee4c of _0x111583){const _0x3b1662=_0x19ee4c[_0x523b2a(0xb1)]();_0x3b1662[_0x523b2a(0xbb)](_0x523b2a(0xab))&&_0xc0133e[_0x523b2a(0xbe)](_0x3b1662);}if(_0xc0133e[_0x523b2a(0xc8)]>0x0)return _0xc0133e['join']('\x0a');return _0x111583[_0x523b2a(0xb8)](_0x448e36=>{const _0x8922cb=_0x523b2a,_0xac23de=_0x448e36['trim']();return!_0xac23de['startsWith'](_0x8922cb(0xcd))&&!_0xac23de[_0x8922cb(0xbb)]('Downloading')&&!_0xac23de[_0x8922cb(0xba)](_0x8922cb(0xca))&&!_0xac23de[_0x8922cb(0xbb)](_0x8922cb(0xc3));})['join']('\x0a')[_0x523b2a(0xb1)]();}
1
+ 'use strict';const a0_0x51ee96=a0_0x2114;(function(_0x2d5c62,_0xfcda03){const _0x4aa128=a0_0x2114,_0x58a307=_0x2d5c62();while(!![]){try{const _0x5ae5f9=-parseInt(_0x4aa128(0x18f))/0x1+-parseInt(_0x4aa128(0x18e))/0x2+-parseInt(_0x4aa128(0x1b5))/0x3*(parseInt(_0x4aa128(0x1ac))/0x4)+-parseInt(_0x4aa128(0x19c))/0x5+-parseInt(_0x4aa128(0x198))/0x6*(parseInt(_0x4aa128(0x1a1))/0x7)+-parseInt(_0x4aa128(0x18d))/0x8+-parseInt(_0x4aa128(0x191))/0x9*(-parseInt(_0x4aa128(0x193))/0xa);if(_0x5ae5f9===_0xfcda03)break;else _0x58a307['push'](_0x58a307['shift']());}catch(_0x5a41c8){_0x58a307['push'](_0x58a307['shift']());}}}(a0_0xcbe2,0xa63a4));Object[a0_0x51ee96(0x194)](exports,a0_0x51ee96(0x1a3),{'value':!![]}),exports[a0_0x51ee96(0x1b6)]=filterPytest,exports[a0_0x51ee96(0x1b0)]=filterPipInstall;function filterPytest(_0x3916f8){const _0x2e22b8=a0_0x51ee96,_0x82b00e=_0x3916f8[_0x2e22b8(0x1b3)]('\x0a');let _0x5b4b92=0x0,_0x2ae8f9=0x0,_0x1bd0f9=0x0,_0x4b3aee=0x0,_0x1ac747=0x0;const _0x45f7e4=[];let _0x18a86a=[],_0x318dc8=![];for(const _0x34edb2 of _0x82b00e){const _0xa857bf=_0x34edb2[_0x2e22b8(0x192)]();if(_0xa857bf['startsWith'](_0x2e22b8(0x197))||_0xa857bf[_0x2e22b8(0x19a)](_0x2e22b8(0x18c))){_0x318dc8=!![];continue;}else(_0xa857bf['startsWith'](_0x2e22b8(0x1aa))||_0xa857bf[_0x2e22b8(0x19a)](_0x2e22b8(0x1a8))&&_0xa857bf[_0x2e22b8(0x19b)](_0x2e22b8(0x1ad)))&&(_0x318dc8=![],_0x18a86a[_0x2e22b8(0x1a0)]>0x0&&(_0x45f7e4[_0x2e22b8(0x1a9)](_0x18a86a),_0x18a86a=[]));if(_0x318dc8){if(_0xa857bf[_0x2e22b8(0x19a)](_0x2e22b8(0x19d)))_0x18a86a[_0x2e22b8(0x1a0)]>0x0&&(_0x45f7e4[_0x2e22b8(0x1a9)](_0x18a86a),_0x18a86a=[]),_0x18a86a['push'](_0xa857bf);else _0xa857bf[_0x2e22b8(0x1a0)]>0x0&&_0x18a86a['push'](_0x34edb2);continue;}if(_0xa857bf['startsWith'](_0x2e22b8(0x1a8))&&_0xa857bf[_0x2e22b8(0x19b)]('\x20in\x20')){const _0x429860=_0xa857bf[_0x2e22b8(0x1a7)](/(\d+)\s+passed/),_0x161f3b=_0xa857bf[_0x2e22b8(0x1a7)](/(\d+)\s+failed/),_0x5742f1=_0xa857bf[_0x2e22b8(0x1a7)](/(\d+)\s+skipped/),_0x3b7bdf=_0xa857bf[_0x2e22b8(0x1a7)](/(\d+)\s+xfailed/),_0x447c9e=_0xa857bf['match'](/(\d+)\s+xpassed/);if(_0x429860)_0x5b4b92=parseInt(_0x429860[0x1]);if(_0x161f3b)_0x2ae8f9=parseInt(_0x161f3b[0x1]);if(_0x5742f1)_0x1bd0f9=parseInt(_0x5742f1[0x1]);if(_0x3b7bdf)_0x4b3aee=parseInt(_0x3b7bdf[0x1]);if(_0x447c9e)_0x1ac747=parseInt(_0x447c9e[0x1]);}}_0x18a86a[_0x2e22b8(0x1a0)]>0x0&&_0x45f7e4[_0x2e22b8(0x1a9)](_0x18a86a);if(_0x5b4b92===0x0&&_0x2ae8f9===0x0&&_0x1bd0f9===0x0&&_0x4b3aee===0x0&&_0x1ac747===0x0){if(_0x3916f8[_0x2e22b8(0x19b)](_0x2e22b8(0x1ad))&&!_0x3916f8[_0x2e22b8(0x19b)](_0x2e22b8(0x1a2)))return _0x2e22b8(0x1ab);return _0x3916f8;}if(_0x2ae8f9===0x0&&_0x5b4b92>0x0&&_0x1bd0f9===0x0&&_0x4b3aee===0x0&&_0x1ac747===0x0)return _0x2e22b8(0x1af)+_0x5b4b92+'\x20passed';const _0x347877=[];_0x347877[_0x2e22b8(0x1a9)](_0x2e22b8(0x1af)+_0x5b4b92+'\x20passed');if(_0x2ae8f9>0x0)_0x347877[_0x2e22b8(0x1a9)](_0x2ae8f9+_0x2e22b8(0x19e));if(_0x1bd0f9>0x0)_0x347877[_0x2e22b8(0x1a9)](_0x1bd0f9+'\x20skipped');if(_0x4b3aee>0x0)_0x347877['push'](_0x4b3aee+'\x20xfailed');if(_0x1ac747>0x0)_0x347877[_0x2e22b8(0x1a9)](_0x1ac747+_0x2e22b8(0x1a4));const _0x30c28e=[_0x347877[_0x2e22b8(0x199)](',\x20')];if(_0x45f7e4[_0x2e22b8(0x1a0)]>0x0){_0x30c28e[_0x2e22b8(0x1a9)](_0x2e22b8(0x18b));const _0x452601=0x3,_0x386138=_0x45f7e4[_0x2e22b8(0x1b2)](0x0,_0x452601);for(let _0x3d5b39=0x0;_0x3d5b39<_0x386138[_0x2e22b8(0x1a0)];_0x3d5b39++){const _0x36992c=_0x386138[_0x3d5b39],_0x2e6cf4=_0x36992c[0x0]['replace'](/_/g,'')[_0x2e22b8(0x192)]();_0x30c28e[_0x2e22b8(0x1a9)]('\x20\x20'+(_0x3d5b39+0x1)+_0x2e22b8(0x195)+_0x2e6cf4);const _0x317aa4=_0x36992c[_0x2e22b8(0x1b2)](0x1),_0xf84d37=_0x317aa4[_0x2e22b8(0x19f)](_0x140404=>{const _0x3167c4=_0x2e22b8,_0x4ab58f=_0x140404[_0x3167c4(0x192)]();return _0x4ab58f['startsWith']('>')||_0x4ab58f[_0x3167c4(0x19a)]('E\x20\x20\x20')||_0x4ab58f[_0x3167c4(0x19b)](_0x3167c4(0x1b1))||_0x4ab58f[_0x3167c4(0x19b)](_0x3167c4(0x1b7));});for(const _0x2dcd2b of _0xf84d37['slice'](0x0,0x8)){_0x30c28e[_0x2e22b8(0x1a9)](_0x2e22b8(0x1b4)+_0x2dcd2b);}_0xf84d37[_0x2e22b8(0x1a0)]>0x8&&_0x30c28e[_0x2e22b8(0x1a9)](_0x2e22b8(0x1ae)+(_0xf84d37[_0x2e22b8(0x1a0)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0x45f7e4[_0x2e22b8(0x1a0)]>_0x452601&&_0x30c28e[_0x2e22b8(0x1a9)](_0x2e22b8(0x190)+(_0x45f7e4[_0x2e22b8(0x1a0)]-_0x452601)+_0x2e22b8(0x1a5));}return _0x30c28e[_0x2e22b8(0x199)]('\x0a');}function filterPipInstall(_0x39a307){const _0x4af395=a0_0x51ee96,_0x1592d4=_0x39a307[_0x4af395(0x1b3)]('\x0a'),_0x310b54=[];for(const _0x58f637 of _0x1592d4){const _0x3ffdb4=_0x58f637[_0x4af395(0x192)]();_0x3ffdb4[_0x4af395(0x19a)](_0x4af395(0x196))&&_0x310b54[_0x4af395(0x1a9)](_0x3ffdb4);}if(_0x310b54[_0x4af395(0x1a0)]>0x0)return _0x310b54['join']('\x0a');return _0x1592d4[_0x4af395(0x19f)](_0x45d3ca=>{const _0x195e2b=_0x4af395,_0x3ccd2f=_0x45d3ca[_0x195e2b(0x192)]();return!_0x3ccd2f[_0x195e2b(0x19a)](_0x195e2b(0x1a6))&&!_0x3ccd2f['startsWith']('Downloading')&&!_0x3ccd2f[_0x195e2b(0x19b)]('Using\x20cached')&&!_0x3ccd2f[_0x195e2b(0x19a)]('Requirement\x20already\x20satisfied');})[_0x4af395(0x199)]('\x0a')[_0x4af395(0x192)]();}function a0_0x2114(_0x37ff98,_0x5c48){_0x37ff98=_0x37ff98-0x18b;const _0xcbe22e=a0_0xcbe2();let _0x211477=_0xcbe22e[_0x37ff98];return _0x211477;}function a0_0xcbe2(){const _0x2fb344=['===','push','===\x20short\x20test\x20summary\x20info\x20===','Pytest:\x20All\x20tests\x20passed','12aDxTNP','passed','\x20\x20\x20\x20...\x20(','Pytest:\x20','filterPipInstall','.py:','slice','split','\x20\x20\x20\x20','540789KdoEie','filterPytest','AssertionError:','\x0aFailures:','===\x20ERRORS\x20===','9168784VTfIOx','941040uWCHgy','140961NNQVPQ','\x20\x20...\x20+','9PjclMg','trim','47753950kbxwUj','defineProperty','.\x20[FAIL]\x20','Successfully\x20installed','===\x20FAILURES\x20===','24OMYtTX','join','startsWith','includes','5545355AbjEMz','___','\x20failed','filter','length','1202404oHWshr','failed','__esModule','\x20xpassed\x20(warning!)','\x20more\x20failures\x20truncated','Collecting','match'];a0_0xcbe2=function(){return _0x2fb344;};return a0_0xcbe2();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x6732(){const _0x1a32c2=['643361srFfKm','Cargo\x20test:\x20all\x20tests\x20passed','167898YfuSTu','----\x20','length','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','includes','33435hkmuJu','split','min','filterCargoBuild','thread','25zSTtvs','push','filter','filterCargoTest','join','Cargo\x20test:\x20','421716BjRZRf','warning:','endsWith','\x20warnings','startsWith','Cargo:\x20','\x0aErrors:','736840EECXlm','Cargo:\x20compiled\x20','left:','\x20passed,\x20','\x20\x20...\x20+','\x20passed','\x20\x20\x20\x20','replace','error:','Compiling\x20','failures:','\x20errors,\x20','\x20crates,\x20','\x20more\x20failures','\x20crates\x20successfully','\x20ignored','test\x20result:','\x20failed,\x20','----\x20failures\x20----','17198235tbsalW','assert','error[','test\x20result:\x20ok','right:','slice','__esModule','\x20----','196JCLECp','panicked','trim','\x0aWarnings:','1560188KSBfxP'];a0_0x6732=function(){return _0x1a32c2;};return a0_0x6732();}const a0_0x37b20d=a0_0x2497;(function(_0x4041c1,_0x5ea86e){const _0x8fcff4=a0_0x2497,_0x12318b=_0x4041c1();while(!![]){try{const _0x40aab0=-parseInt(_0x8fcff4(0xc4))/0x1+parseInt(_0x8fcff4(0xc6))/0x2+parseInt(_0x8fcff4(0xcb))/0x3*(-parseInt(_0x8fcff4(0xbf))/0x4)+-parseInt(_0x8fcff4(0xd0))/0x5*(parseInt(_0x8fcff4(0xd6))/0x6)+-parseInt(_0x8fcff4(0xc3))/0x7+parseInt(_0x8fcff4(0xdd))/0x8+parseInt(_0x8fcff4(0xf0))/0x9;if(_0x40aab0===_0x5ea86e)break;else _0x12318b['push'](_0x12318b['shift']());}catch(_0x1847c9){_0x12318b['push'](_0x12318b['shift']());}}}(a0_0x6732,0x4ee75));function a0_0x2497(_0x5059b0,_0x35f5cf){_0x5059b0=_0x5059b0-0xb9;const _0x673241=a0_0x6732();let _0x249740=_0x673241[_0x5059b0];return _0x249740;}Object['defineProperty'](exports,a0_0x37b20d(0xbd),{'value':!![]}),exports[a0_0x37b20d(0xd3)]=filterCargoTest,exports[a0_0x37b20d(0xce)]=filterCargoBuild;function filterCargoTest(_0x5c9a4a){const _0x1908d0=a0_0x37b20d,_0x2fd4e5=_0x5c9a4a[_0x1908d0(0xcc)]('\x0a');let _0xfd6ecb=0x0,_0x3ea4cd=0x0,_0x17c6bc=0x0,_0x2c6cd3=0x0;const _0x5528a6=[];let _0x3c52e7=![],_0x343d77=[];for(const _0x46e32d of _0x2fd4e5){const _0x42e3a2=_0x46e32d[_0x1908d0(0xc1)](),_0x3ab4c7=_0x42e3a2['match'](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x3ab4c7){_0xfd6ecb+=parseInt(_0x3ab4c7[0x2]),_0x3ea4cd+=parseInt(_0x3ab4c7[0x3]),_0x17c6bc+=parseInt(_0x3ab4c7[0x4]),_0x2c6cd3+=parseInt(_0x3ab4c7[0x5]);continue;}if(_0x42e3a2===_0x1908d0(0xe7)||_0x42e3a2===_0x1908d0(0xef)){_0x3c52e7=!![];continue;}if(_0x3c52e7){if(_0x42e3a2[_0x1908d0(0xda)](_0x1908d0(0xc7))&&_0x42e3a2[_0x1908d0(0xd8)](_0x1908d0(0xbe))){if(_0x343d77[_0x1908d0(0xc8)]>0x0)_0x5528a6[_0x1908d0(0xd1)](_0x343d77[_0x1908d0(0xd4)]('\x0a'));_0x343d77=[_0x42e3a2[_0x1908d0(0xe4)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x42e3a2===_0x1908d0(0xe7)||_0x42e3a2[_0x1908d0(0xda)](_0x1908d0(0xed))){if(_0x343d77['length']>0x0)_0x5528a6[_0x1908d0(0xd1)](_0x343d77[_0x1908d0(0xd4)]('\x0a'));_0x343d77=[],_0x3c52e7=![];}else _0x42e3a2[_0x1908d0(0xc8)]>0x0&&_0x343d77['push'](_0x46e32d);}}}if(_0x343d77[_0x1908d0(0xc8)]>0x0)_0x5528a6[_0x1908d0(0xd1)](_0x343d77[_0x1908d0(0xd4)]('\x0a'));if(_0xfd6ecb===0x0&&_0x3ea4cd===0x0&&_0x17c6bc===0x0){if(_0x5c9a4a['includes'](_0x1908d0(0xba)))return _0x1908d0(0xc5);return _0x5c9a4a;}if(_0x3ea4cd===0x0){const _0x1c2a3b=['Cargo\x20test:\x20'+_0xfd6ecb+_0x1908d0(0xe2)];if(_0x17c6bc>0x0)_0x1c2a3b['push'](_0x17c6bc+_0x1908d0(0xec));return _0x1c2a3b[_0x1908d0(0xd4)](',\x20');}const _0x2bb5eb=[_0x1908d0(0xd5)+_0xfd6ecb+_0x1908d0(0xe0)+_0x3ea4cd+_0x1908d0(0xee)+_0x17c6bc+'\x20ignored'];if(_0x5528a6[_0x1908d0(0xc8)]>0x0){_0x2bb5eb[_0x1908d0(0xd1)]('\x0aFailures:');const _0x2093f0=0x3;for(let _0x449a07=0x0;_0x449a07<Math[_0x1908d0(0xcd)](_0x5528a6['length'],_0x2093f0);_0x449a07++){const _0x3e58ba=_0x5528a6[_0x449a07][_0x1908d0(0xcc)]('\x0a');_0x2bb5eb[_0x1908d0(0xd1)]('\x20\x20'+(_0x449a07+0x1)+'.\x20'+_0x3e58ba[0x0]);const _0x4aa6c4=_0x3e58ba[_0x1908d0(0xbc)](0x1),_0x30106e=_0x4aa6c4[_0x1908d0(0xd2)](_0x1e7119=>_0x1e7119[_0x1908d0(0xc1)]()[_0x1908d0(0xda)](_0x1908d0(0xcf))||_0x1e7119[_0x1908d0(0xca)](_0x1908d0(0xc0))||_0x1e7119[_0x1908d0(0xca)](_0x1908d0(0xf1))||_0x1e7119[_0x1908d0(0xca)](_0x1908d0(0xdf))||_0x1e7119[_0x1908d0(0xca)](_0x1908d0(0xbb)));for(const _0x310f15 of _0x30106e[_0x1908d0(0xbc)](0x0,0x5)){_0x2bb5eb[_0x1908d0(0xd1)](_0x1908d0(0xe3)+_0x310f15[_0x1908d0(0xc1)]());}}_0x5528a6[_0x1908d0(0xc8)]>_0x2093f0&&_0x2bb5eb[_0x1908d0(0xd1)](_0x1908d0(0xe1)+(_0x5528a6[_0x1908d0(0xc8)]-_0x2093f0)+_0x1908d0(0xea));}return _0x2bb5eb[_0x1908d0(0xd4)]('\x0a');}function filterCargoBuild(_0x2f7d07){const _0x4a90c5=a0_0x37b20d,_0x5e5dd5=_0x2f7d07[_0x4a90c5(0xcc)]('\x0a'),_0x3c5e38=[],_0x164aee=[];let _0x2eb915=0x0;for(const _0x46e6ef of _0x5e5dd5){const _0x10c4b2=_0x46e6ef['trim']();if(_0x10c4b2[_0x4a90c5(0xda)](_0x4a90c5(0xe6)))_0x2eb915++;else{if(_0x10c4b2[_0x4a90c5(0xda)]('warning[')||_0x10c4b2[_0x4a90c5(0xda)](_0x4a90c5(0xd7)))_0x3c5e38[_0x4a90c5(0xd1)](_0x10c4b2);else{if(_0x10c4b2[_0x4a90c5(0xda)](_0x4a90c5(0xb9))||_0x10c4b2['startsWith'](_0x4a90c5(0xe5)))_0x164aee['push'](_0x10c4b2);}}}if(_0x164aee[_0x4a90c5(0xc8)]===0x0&&_0x3c5e38[_0x4a90c5(0xc8)]===0x0)return _0x2eb915>0x0?_0x4a90c5(0xde)+_0x2eb915+_0x4a90c5(0xeb):_0x2f7d07[_0x4a90c5(0xc1)]();const _0x38aa86=[];if(_0x164aee[_0x4a90c5(0xc8)]>0x0){_0x38aa86[_0x4a90c5(0xd1)](_0x4a90c5(0xdb)+_0x164aee[_0x4a90c5(0xc8)]+_0x4a90c5(0xe8)+_0x3c5e38[_0x4a90c5(0xc8)]+_0x4a90c5(0xd9)),_0x38aa86[_0x4a90c5(0xd1)](_0x4a90c5(0xdc));for(const _0x1fad28 of _0x164aee['slice'](0x0,0x5))_0x38aa86[_0x4a90c5(0xd1)]('\x20\x20'+_0x1fad28);if(_0x164aee[_0x4a90c5(0xc8)]>0x5)_0x38aa86[_0x4a90c5(0xd1)](_0x4a90c5(0xe1)+(_0x164aee['length']-0x5)+'\x20more\x20errors');}else _0x38aa86[_0x4a90c5(0xd1)](_0x4a90c5(0xde)+_0x2eb915+_0x4a90c5(0xe9)+_0x3c5e38[_0x4a90c5(0xc8)]+_0x4a90c5(0xd9));if(_0x3c5e38[_0x4a90c5(0xc8)]>0x0&&_0x3c5e38[_0x4a90c5(0xc8)]<=0x5){_0x38aa86[_0x4a90c5(0xd1)](_0x4a90c5(0xc2));for(const _0x490c69 of _0x3c5e38)_0x38aa86[_0x4a90c5(0xd1)]('\x20\x20'+_0x490c69);}else _0x3c5e38[_0x4a90c5(0xc8)]>0x5&&_0x38aa86[_0x4a90c5(0xd1)]('\x0a('+_0x3c5e38[_0x4a90c5(0xc8)]+_0x4a90c5(0xc9));return _0x38aa86[_0x4a90c5(0xd4)]('\x0a');}
1
+ 'use strict';const a0_0x231130=a0_0x5680;(function(_0x4b6ad2,_0x3f1304){const _0xd65f1a=a0_0x5680,_0x3782f9=_0x4b6ad2();while(!![]){try{const _0x320b13=-parseInt(_0xd65f1a(0x186))/0x1+-parseInt(_0xd65f1a(0x162))/0x2*(-parseInt(_0xd65f1a(0x16d))/0x3)+parseInt(_0xd65f1a(0x15d))/0x4*(parseInt(_0xd65f1a(0x160))/0x5)+parseInt(_0xd65f1a(0x16f))/0x6+parseInt(_0xd65f1a(0x16b))/0x7+-parseInt(_0xd65f1a(0x167))/0x8+-parseInt(_0xd65f1a(0x161))/0x9*(-parseInt(_0xd65f1a(0x17c))/0xa);if(_0x320b13===_0x3f1304)break;else _0x3782f9['push'](_0x3782f9['shift']());}catch(_0x1d964e){_0x3782f9['push'](_0x3782f9['shift']());}}}(a0_0x41c9,0x8044d));Object[a0_0x231130(0x187)](exports,'__esModule',{'value':!![]}),exports[a0_0x231130(0x180)]=filterCargoTest,exports['filterCargoBuild']=filterCargoBuild;function filterCargoTest(_0x2b3972){const _0x5cd59c=a0_0x231130,_0x4ee7f9=_0x2b3972[_0x5cd59c(0x188)]('\x0a');let _0x26b4e1=0x0,_0x291feb=0x0,_0x43845d=0x0,_0x182054=0x0;const _0x86458b=[];let _0x4d5f4e=![],_0x2093fb=[];for(const _0x4f1111 of _0x4ee7f9){const _0x4492ef=_0x4f1111[_0x5cd59c(0x176)](),_0x5100a2=_0x4492ef[_0x5cd59c(0x178)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5100a2){_0x26b4e1+=parseInt(_0x5100a2[0x2]),_0x291feb+=parseInt(_0x5100a2[0x3]),_0x43845d+=parseInt(_0x5100a2[0x4]),_0x182054+=parseInt(_0x5100a2[0x5]);continue;}if(_0x4492ef===_0x5cd59c(0x15b)||_0x4492ef===_0x5cd59c(0x164)){_0x4d5f4e=!![];continue;}if(_0x4d5f4e){if(_0x4492ef['startsWith'](_0x5cd59c(0x159))&&_0x4492ef[_0x5cd59c(0x174)](_0x5cd59c(0x16e))){if(_0x2093fb[_0x5cd59c(0x17d)]>0x0)_0x86458b[_0x5cd59c(0x173)](_0x2093fb['join']('\x0a'));_0x2093fb=[_0x4492ef[_0x5cd59c(0x170)](/^-+\s*/,'')[_0x5cd59c(0x170)](/\s*-+$/,'')];}else{if(_0x4492ef==='failures:'||_0x4492ef[_0x5cd59c(0x165)]('test\x20result:')){if(_0x2093fb[_0x5cd59c(0x17d)]>0x0)_0x86458b[_0x5cd59c(0x173)](_0x2093fb[_0x5cd59c(0x175)]('\x0a'));_0x2093fb=[],_0x4d5f4e=![];}else _0x4492ef[_0x5cd59c(0x17d)]>0x0&&_0x2093fb[_0x5cd59c(0x173)](_0x4f1111);}}}if(_0x2093fb[_0x5cd59c(0x17d)]>0x0)_0x86458b[_0x5cd59c(0x173)](_0x2093fb[_0x5cd59c(0x175)]('\x0a'));if(_0x26b4e1===0x0&&_0x291feb===0x0&&_0x43845d===0x0){if(_0x2b3972[_0x5cd59c(0x17f)]('test\x20result:\x20ok'))return _0x5cd59c(0x163);return _0x2b3972;}if(_0x291feb===0x0){const _0x2cd220=[_0x5cd59c(0x17b)+_0x26b4e1+_0x5cd59c(0x15e)];if(_0x43845d>0x0)_0x2cd220[_0x5cd59c(0x173)](_0x43845d+'\x20ignored');return _0x2cd220['join'](',\x20');}const _0xdf74c2=[_0x5cd59c(0x17b)+_0x26b4e1+_0x5cd59c(0x158)+_0x291feb+'\x20failed,\x20'+_0x43845d+'\x20ignored'];if(_0x86458b[_0x5cd59c(0x17d)]>0x0){_0xdf74c2['push']('\x0aFailures:');const _0x28b961=0x3;for(let _0x5ccb2a=0x0;_0x5ccb2a<Math[_0x5cd59c(0x17a)](_0x86458b[_0x5cd59c(0x17d)],_0x28b961);_0x5ccb2a++){const _0x90fa3c=_0x86458b[_0x5ccb2a][_0x5cd59c(0x188)]('\x0a');_0xdf74c2[_0x5cd59c(0x173)]('\x20\x20'+(_0x5ccb2a+0x1)+'.\x20'+_0x90fa3c[0x0]);const _0x47752a=_0x90fa3c[_0x5cd59c(0x181)](0x1),_0x41ba60=_0x47752a[_0x5cd59c(0x177)](_0x394fdd=>_0x394fdd['trim']()[_0x5cd59c(0x165)](_0x5cd59c(0x179))||_0x394fdd[_0x5cd59c(0x17f)](_0x5cd59c(0x15f))||_0x394fdd[_0x5cd59c(0x17f)]('assert')||_0x394fdd[_0x5cd59c(0x17f)](_0x5cd59c(0x171))||_0x394fdd[_0x5cd59c(0x17f)](_0x5cd59c(0x15a)));for(const _0x33f23f of _0x41ba60[_0x5cd59c(0x181)](0x0,0x5)){_0xdf74c2[_0x5cd59c(0x173)](_0x5cd59c(0x172)+_0x33f23f[_0x5cd59c(0x176)]());}}_0x86458b[_0x5cd59c(0x17d)]>_0x28b961&&_0xdf74c2['push']('\x20\x20...\x20+'+(_0x86458b[_0x5cd59c(0x17d)]-_0x28b961)+_0x5cd59c(0x15c));}return _0xdf74c2[_0x5cd59c(0x175)]('\x0a');}function a0_0x5680(_0x5c8130,_0x189bdf){_0x5c8130=_0x5c8130-0x157;const _0x41c93c=a0_0x41c9();let _0x56809f=_0x41c93c[_0x5c8130];return _0x56809f;}function a0_0x41c9(){const _0x4ab3d2=['warning[','289338eJFgjf','\x0aWarnings:','1759551UdlHlI','\x20----','4708830IydRjv','replace','left:','\x20\x20\x20\x20','push','endsWith','join','trim','filter','match','thread','min','Cargo\x20test:\x20','370RUfaPO','length','\x20crates\x20successfully','includes','filterCargoTest','slice','error[','error:','\x20warnings','warning:','968832hXDcHC','defineProperty','split','\x20more\x20errors','\x20crates,\x20','\x20passed,\x20','----\x20','right:','failures:','\x20more\x20failures','4NtXdYs','\x20passed','panicked','674095lLpydJ','137817MTgKXK','2fQjTfx','Cargo\x20test:\x20all\x20tests\x20passed','----\x20failures\x20----','startsWith','Compiling\x20','4958680KnxUNm','\x20\x20...\x20+','Cargo:\x20compiled\x20'];a0_0x41c9=function(){return _0x4ab3d2;};return a0_0x41c9();}function filterCargoBuild(_0x283ccd){const _0x10e9ed=a0_0x231130,_0x439259=_0x283ccd[_0x10e9ed(0x188)]('\x0a'),_0x37e4f8=[],_0xc92747=[];let _0xc46d06=0x0;for(const _0x24b597 of _0x439259){const _0x143a38=_0x24b597[_0x10e9ed(0x176)]();if(_0x143a38[_0x10e9ed(0x165)](_0x10e9ed(0x166)))_0xc46d06++;else{if(_0x143a38[_0x10e9ed(0x165)](_0x10e9ed(0x16a))||_0x143a38[_0x10e9ed(0x165)](_0x10e9ed(0x185)))_0x37e4f8['push'](_0x143a38);else{if(_0x143a38[_0x10e9ed(0x165)](_0x10e9ed(0x182))||_0x143a38[_0x10e9ed(0x165)](_0x10e9ed(0x183)))_0xc92747[_0x10e9ed(0x173)](_0x143a38);}}}if(_0xc92747['length']===0x0&&_0x37e4f8[_0x10e9ed(0x17d)]===0x0)return _0xc46d06>0x0?_0x10e9ed(0x169)+_0xc46d06+_0x10e9ed(0x17e):_0x283ccd[_0x10e9ed(0x176)]();const _0x2935a4=[];if(_0xc92747[_0x10e9ed(0x17d)]>0x0){_0x2935a4['push']('Cargo:\x20'+_0xc92747[_0x10e9ed(0x17d)]+'\x20errors,\x20'+_0x37e4f8[_0x10e9ed(0x17d)]+_0x10e9ed(0x184)),_0x2935a4[_0x10e9ed(0x173)]('\x0aErrors:');for(const _0x5a0ecb of _0xc92747['slice'](0x0,0x5))_0x2935a4['push']('\x20\x20'+_0x5a0ecb);if(_0xc92747[_0x10e9ed(0x17d)]>0x5)_0x2935a4[_0x10e9ed(0x173)](_0x10e9ed(0x168)+(_0xc92747['length']-0x5)+_0x10e9ed(0x189));}else _0x2935a4[_0x10e9ed(0x173)](_0x10e9ed(0x169)+_0xc46d06+_0x10e9ed(0x157)+_0x37e4f8[_0x10e9ed(0x17d)]+_0x10e9ed(0x184));if(_0x37e4f8[_0x10e9ed(0x17d)]>0x0&&_0x37e4f8['length']<=0x5){_0x2935a4[_0x10e9ed(0x173)](_0x10e9ed(0x16c));for(const _0x214161 of _0x37e4f8)_0x2935a4[_0x10e9ed(0x173)]('\x20\x20'+_0x214161);}else _0x37e4f8[_0x10e9ed(0x17d)]>0x5&&_0x2935a4[_0x10e9ed(0x173)]('\x0a('+_0x37e4f8[_0x10e9ed(0x17d)]+'\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)');return _0x2935a4[_0x10e9ed(0x175)]('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x384783=a0_0x142a;(function(_0xcc6790,_0xa5c45d){const _0x5eaf29=a0_0x142a,_0x26b513=_0xcc6790();while(!![]){try{const _0x2fe05a=parseInt(_0x5eaf29(0xa7))/0x1*(parseInt(_0x5eaf29(0x7f))/0x2)+-parseInt(_0x5eaf29(0xcc))/0x3+parseInt(_0x5eaf29(0x91))/0x4*(-parseInt(_0x5eaf29(0xb0))/0x5)+-parseInt(_0x5eaf29(0xeb))/0x6*(-parseInt(_0x5eaf29(0xc1))/0x7)+parseInt(_0x5eaf29(0xad))/0x8+parseInt(_0x5eaf29(0x8e))/0x9+-parseInt(_0x5eaf29(0x99))/0xa;if(_0x2fe05a===_0xa5c45d)break;else _0x26b513['push'](_0x26b513['shift']());}catch(_0x1846f0){_0x26b513['push'](_0x26b513['shift']());}}}(a0_0x553d,0x675b1));function a0_0x553d(){const _0x42b653=['.tsx','.eot','\x20more\x20directories','.tgz','\x0a...\x20[','\x20dependencies,\x20','hasOwnProperty','\x20more\x20matches','binary','443690njuRAA','.dll','trim','\x20lines\x20total)','\x20\x20...\x20+','collapseWhitespace','create','\x20lines)','No\x20files\x20found','.woff2','.exe','.otf','composer.lock','./generic','@param','2905173YiLonr','startsWith','some','332eiGoBw','/\x20(','.min.js','features_enabled','.jpeg','configurable','json_crusher','.obj','2910730LcXWAy','filterGrep','.dylib','\x20more\x20files','filter','defineProperty','smartCrushJson','.cpp','.map','call','[minified\x20file]\x20','slice','indexOf','match','3kMqHyw','\x20matches\x20across\x20',':\x20...\x20(','split','.mov','push','3259368hVUSkF','@return','.dat','17505Vifdje','No\x20matches\x20found','lock','.class','../tracker','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','.pyo','includes','Gemfile.lock','dirname','.jsx','.gif','\x20files\x20found\x20across\x20','yarn.lock','length','dependencies','packages','665476YyFCxv','\x20more\x20files\x20with\x20matches','package-lock.json','.webp','from\x20','poetry.lock','\x20lines\x20total,\x20','.py','__setModuleDefault','endsWith','.js','1742664UYVCfF','keys','getOwnPropertyDescriptor','default','\x0a...\x20(','get','.ico','extname','bun.lockb','__esModule','import\x20','\x20directories,\x20','stringify','.db','pnpm-lock.yaml','__importStar','join','.pyc','.zip','.java','\x20structural\x20lines\x20shown)','.wasm','parse','.bmp','#include\x20','.gz','.ts','Empty\x20directory','.mp3','skeleton','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','12xgLZVf','export\x20','.jpg','sort','[binary\x20file]\x20','__createBinding','.bz2','substring','Cargo.lock','writable','use\x20','\x20lines\x20truncated]\x20...\x0a','.ttf','[lock\x20file]\x20','.svg','.rar','.so','.rb','\x20files)','toLocaleString','toLowerCase','getOwnPropertyNames','.tar.gz','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','.bin','go.sum','\x20chars,\x20type:\x20','basename','package\x20','filterTree','...\x20+','[binary/minified\x20file]\x20','charCodeAt','[code\x20skeleton]\x20'];a0_0x553d=function(){return _0x42b653;};return a0_0x553d();}var __createBinding=this&&this[a0_0x384783(0xf0)]||(Object[a0_0x384783(0x85)]?function(_0x4b0232,_0x3891c6,_0x1b9d9c,_0x47eef2){const _0x1fe04b=a0_0x384783;if(_0x47eef2===undefined)_0x47eef2=_0x1b9d9c;var _0x19f1ca=Object[_0x1fe04b(0xce)](_0x3891c6,_0x1b9d9c);(!_0x19f1ca||(_0x1fe04b(0xd1)in _0x19f1ca?!_0x3891c6[_0x1fe04b(0xd5)]:_0x19f1ca[_0x1fe04b(0xf4)]||_0x19f1ca[_0x1fe04b(0x96)]))&&(_0x19f1ca={'enumerable':!![],'get':function(){return _0x3891c6[_0x1b9d9c];}}),Object[_0x1fe04b(0x9e)](_0x4b0232,_0x47eef2,_0x19f1ca);}:function(_0x58ccb0,_0x246b48,_0x184036,_0x16a4e0){if(_0x16a4e0===undefined)_0x16a4e0=_0x184036;_0x58ccb0[_0x16a4e0]=_0x246b48[_0x184036];}),__setModuleDefault=this&&this[a0_0x384783(0xc9)]||(Object[a0_0x384783(0x85)]?function(_0x36c4f4,_0x233e52){const _0x2e7114=a0_0x384783;Object[_0x2e7114(0x9e)](_0x36c4f4,_0x2e7114(0xcf),{'enumerable':!![],'value':_0x233e52});}:function(_0x61177e,_0x651855){_0x61177e['default']=_0x651855;}),__importStar=this&&this[a0_0x384783(0xdb)]||(function(){var _0x46046b=function(_0x2ea7ee){const _0x2b47f1=a0_0x142a;return _0x46046b=Object[_0x2b47f1(0x69)]||function(_0x4ffb62){const _0x301514=_0x2b47f1;var _0x184ad3=[];for(var _0x5919fa in _0x4ffb62)if(Object['prototype'][_0x301514(0x7c)][_0x301514(0xa2)](_0x4ffb62,_0x5919fa))_0x184ad3[_0x184ad3[_0x301514(0xbe)]]=_0x5919fa;return _0x184ad3;},_0x46046b(_0x2ea7ee);};return function(_0x1809cd){const _0x5516fb=a0_0x142a;if(_0x1809cd&&_0x1809cd['__esModule'])return _0x1809cd;var _0x2cac5d={};if(_0x1809cd!=null){for(var _0x2531ac=_0x46046b(_0x1809cd),_0x531ded=0x0;_0x531ded<_0x2531ac[_0x5516fb(0xbe)];_0x531ded++)if(_0x2531ac[_0x531ded]!==_0x5516fb(0xcf))__createBinding(_0x2cac5d,_0x1809cd,_0x2531ac[_0x531ded]);}return __setModuleDefault(_0x2cac5d,_0x1809cd),_0x2cac5d;};}());Object[a0_0x384783(0x9e)](exports,a0_0x384783(0xd5),{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x384783(0x71)]=filterTree,exports['filterCat']=filterCat,exports[a0_0x384783(0x9a)]=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require('path')),generic_1=require(a0_0x384783(0x8c)),tracker_1=require(a0_0x384783(0xb4));function isFeatureEnabled(_0x39084b){const _0x272f42=a0_0x384783;try{const _0x305710=tracker_1['tracker']['getConfig'](),_0x157d1b=_0x305710[_0x272f42(0x94)];if(!_0x157d1b||_0x157d1b[_0x39084b]===undefined)return!![];return _0x157d1b[_0x39084b]!==![];}catch{return!![];}}const LOCK_FILES=['package-lock.json',a0_0x384783(0xbd),a0_0x384783(0xda),a0_0x384783(0xf3),'go.sum','poetry.lock',a0_0x384783(0x8b),a0_0x384783(0xb8),a0_0x384783(0xd4)],BINARY_EXTENSIONS=[a0_0x384783(0x93),'.min.css',a0_0x384783(0xa1),a0_0x384783(0xe1),'.png',a0_0x384783(0xed),a0_0x384783(0x95),a0_0x384783(0xbb),a0_0x384783(0xd2),a0_0x384783(0xe3),a0_0x384783(0xc4),a0_0x384783(0xf9),'.pdf',a0_0x384783(0xde),a0_0x384783(0x6a),a0_0x384783(0x79),a0_0x384783(0xe5),a0_0x384783(0xf1),'.7z',a0_0x384783(0xfa),a0_0x384783(0x89),a0_0x384783(0x80),a0_0x384783(0xfb),a0_0x384783(0x9b),a0_0x384783(0x6c),a0_0x384783(0xaf),'.sqlite',a0_0x384783(0xd9),'.sqlite3','.woff',a0_0x384783(0x88),a0_0x384783(0xf7),a0_0x384783(0x77),a0_0x384783(0x8a),a0_0x384783(0xe8),'.mp4','.wav','.avi',a0_0x384783(0xab),'.webm',a0_0x384783(0xdd),a0_0x384783(0xb6),a0_0x384783(0xb3),'.o',a0_0x384783(0x98)];function extractFilename(_0x38e12c){const _0x3c7fa7=a0_0x384783,_0x5b9be6=_0x38e12c[_0x3c7fa7(0x81)]()['split'](/\s+/);for(let _0x431797=0x1;_0x431797<_0x5b9be6[_0x3c7fa7(0xbe)];_0x431797++){if(!_0x5b9be6[_0x431797]['startsWith']('-'))return _0x5b9be6[_0x431797];}return null;}function filterLockFile(_0x59b25c,_0x1c0715){const _0xf2d300=a0_0x384783;try{const _0x507eb4=path[_0xf2d300(0x6f)](_0x1c0715)[_0xf2d300(0x68)]();if(!LOCK_FILES[_0xf2d300(0x90)](_0x5c254d=>_0x507eb4===_0x5c254d[_0xf2d300(0x68)]()))return null;const _0x540931=_0x59b25c[_0xf2d300(0xbe)];let _0x171044=0x0;if(_0x507eb4===_0xf2d300(0xc3))try{const _0x32d19f=JSON[_0xf2d300(0xe2)](_0x59b25c);_0x171044=Object['keys'](_0x32d19f[_0xf2d300(0xc0)]||_0x32d19f[_0xf2d300(0xbf)]||{})[_0xf2d300(0xbe)];}catch{_0x171044=(_0x59b25c[_0xf2d300(0xa6)](/"resolved":/g)||[])[_0xf2d300(0xbe)];}else{if(_0x507eb4==='yarn.lock')_0x171044=(_0x59b25c['match'](/^"?[^#\s][^:]*:$/gm)||[])[_0xf2d300(0xbe)];else{if(_0x507eb4==='cargo.lock'||_0x507eb4===_0xf2d300(0xc6))_0x171044=(_0x59b25c[_0xf2d300(0xa6)](/\[\[package\]\]/g)||[])['length'];else{if(_0x507eb4===_0xf2d300(0x6d))_0x171044=Math['floor'](_0x59b25c[_0xf2d300(0xaa)]('\x0a')[_0xf2d300(0x9d)](_0x5d4d93=>_0x5d4d93['trim']())['length']/0x2);else{if(_0x507eb4===_0xf2d300(0x8b))try{_0x171044=JSON[_0xf2d300(0xe2)](_0x59b25c)[_0xf2d300(0xc0)]?.[_0xf2d300(0xbe)]||0x0;}catch{}else _0x507eb4==='pnpm-lock.yaml'?_0x171044=(_0x59b25c[_0xf2d300(0xa6)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x171044=_0x59b25c[_0xf2d300(0xaa)]('\x0a')[_0xf2d300(0x9d)](_0xa349ba=>_0xa349ba[_0xf2d300(0x81)]())['length'];}}}}return _0xf2d300(0xf8)+path[_0xf2d300(0x6f)](_0x1c0715)+':\x20'+_0x171044+_0xf2d300(0x7b)+_0x540931[_0xf2d300(0x67)]()+_0xf2d300(0x6b);}catch{return null;}}function filterBinaryOrMinified(_0x34a0a4,_0x167055){const _0x2b505f=a0_0x384783;try{if(_0x167055){const _0x4e7d0a=_0x167055[_0x2b505f(0x68)]();for(const _0xf5f0b2 of BINARY_EXTENSIONS){if(_0x4e7d0a[_0x2b505f(0xca)](_0xf5f0b2))return _0x2b505f(0x73)+path[_0x2b505f(0x6f)](_0x167055)+',\x20'+_0x34a0a4['length']['toLocaleString']()+_0x2b505f(0x6e)+_0xf5f0b2+_0x2b505f(0xb5);}}const _0x322a02=_0x34a0a4[_0x2b505f(0xf2)](0x0,0x3e8);let _0x5c8e7c=0x0;for(let _0x106f4b=0x0;_0x106f4b<_0x322a02[_0x2b505f(0xbe)];_0x106f4b++){if(_0x322a02['charCodeAt'](_0x106f4b)===0x0)_0x5c8e7c++;}if(_0x5c8e7c>0x0)return _0x2b505f(0xef)+_0x34a0a4['length'][_0x2b505f(0x67)]()+'\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)';let _0x5ef691=0x0;for(let _0x27f41d=0x0;_0x27f41d<_0x322a02['length'];_0x27f41d++){const _0x1c7353=_0x322a02[_0x2b505f(0x74)](_0x27f41d);if(_0x1c7353<0x20&&_0x1c7353!==0xa&&_0x1c7353!==0xd&&_0x1c7353!==0x9)_0x5ef691++;}if(_0x322a02['length']>0x64&&_0x5ef691>_0x322a02[_0x2b505f(0xbe)]*0.1)return _0x2b505f(0xef)+_0x34a0a4[_0x2b505f(0xbe)][_0x2b505f(0x67)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x36fb5b=_0x34a0a4[_0x2b505f(0xaa)]('\x0a');if(_0x36fb5b['length']<=0x3&&_0x34a0a4[_0x2b505f(0xbe)]>0x1388)return _0x2b505f(0xa3)+_0x34a0a4[_0x2b505f(0xbe)]['toLocaleString']()+'\x20chars\x20across\x20'+_0x36fb5b['length']+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x1bc5b3){const _0x17dea9=a0_0x384783;try{const _0x2593e0=_0x1bc5b3['trim']();if(!_0x2593e0['startsWith']('{')&&!_0x2593e0['startsWith']('['))return null;const _0x3a3df7=_0x2593e0[_0x17dea9(0xaa)]('\x0a');if(_0x3a3df7[_0x17dea9(0xbe)]<=0x14)return null;const _0x1fb6b2=JSON[_0x17dea9(0xe2)](_0x2593e0),_0x57db35=JSON[_0x17dea9(0xd8)](_0x1fb6b2);if(_0x57db35[_0x17dea9(0xbe)]<_0x2593e0[_0x17dea9(0xbe)])return _0x57db35;return null;}catch{return null;}}function filterLs(_0x43668b){const _0x54e2a6=a0_0x384783,_0x323997=_0x43668b['split']('\x0a')[_0x54e2a6(0x9d)](_0x3f4f91=>_0x3f4f91[_0x54e2a6(0x81)]()['length']>0x0);if(_0x323997['length']===0x0)return _0x54e2a6(0xe7);if(_0x323997['length']<=0x1e)return _0x43668b[_0x54e2a6(0x81)]();const _0x2149c0=[],_0x227d4a=[];for(const _0x6ef66a of _0x323997){const _0x313eb5=_0x6ef66a['trim']();if(_0x313eb5[_0x54e2a6(0x8f)]('total\x20')||_0x313eb5[_0x54e2a6(0x8f)]('d')&&_0x313eb5[_0x54e2a6(0xb7)]('..'))continue;_0x313eb5[_0x54e2a6(0xca)]('/')||_0x313eb5[_0x54e2a6(0x8f)]('d')&&_0x313eb5[_0x54e2a6(0xb7)]('\x20')?_0x2149c0[_0x54e2a6(0xac)](_0x313eb5):_0x227d4a[_0x54e2a6(0xac)](_0x313eb5);}const _0x3edec4=[];return _0x2149c0['length']>0x0&&(_0x2149c0[_0x54e2a6(0xbe)]<=0xf?_0x3edec4['push'](..._0x2149c0):(_0x3edec4[_0x54e2a6(0xac)](..._0x2149c0[_0x54e2a6(0xa4)](0x0,0xa)),_0x3edec4[_0x54e2a6(0xac)](_0x54e2a6(0x72)+(_0x2149c0['length']-0xa)+_0x54e2a6(0x78)))),_0x227d4a[_0x54e2a6(0xbe)]>0x0&&(_0x227d4a[_0x54e2a6(0xbe)]<=0x14?_0x3edec4[_0x54e2a6(0xac)](..._0x227d4a):(_0x3edec4['push'](..._0x227d4a[_0x54e2a6(0xa4)](0x0,0xf)),_0x3edec4[_0x54e2a6(0xac)](_0x54e2a6(0x72)+(_0x227d4a[_0x54e2a6(0xbe)]-0xf)+_0x54e2a6(0x9c)))),_0x3edec4[_0x54e2a6(0xac)]('\x0a('+_0x2149c0[_0x54e2a6(0xbe)]+'\x20directories,\x20'+_0x227d4a[_0x54e2a6(0xbe)]+_0x54e2a6(0x66)),_0x3edec4['join']('\x0a');}function filterTree(_0x2f4d9d){const _0x2cf119=a0_0x384783,_0x37bd39=_0x2f4d9d['split']('\x0a');if(_0x37bd39[_0x2cf119(0xbe)]<=0x32)return _0x2f4d9d[_0x2cf119(0x81)]();const _0x426023=[];let _0x136c07=0x0,_0x100357=0x0,_0x3abaf3=0x0;for(const _0x1cf94e of _0x37bd39){const _0x401516=_0x1cf94e['match'](/(\d+)\s+director/),_0x1bc922=_0x1cf94e[_0x2cf119(0xa6)](/(\d+)\s+file/);if(_0x401516)_0x3abaf3=parseInt(_0x401516[0x1]);if(_0x1bc922)_0x100357=parseInt(_0x1bc922[0x1]);const _0x10a7ae=(_0x1cf94e[_0x2cf119(0xa6)](/^[│├└\s─]+/)||[''])[0x0][_0x2cf119(0xbe)];_0x10a7ae<=0x4&&(_0x426023[_0x2cf119(0xac)](_0x1cf94e),_0x136c07++);}return _0x37bd39[_0x2cf119(0xbe)]>_0x426023[_0x2cf119(0xbe)]&&_0x426023['push'](_0x2cf119(0xd0)+_0x3abaf3+_0x2cf119(0xd7)+_0x100357+_0x2cf119(0xea)),_0x426023['join']('\x0a');}function filterCat(_0x3ff10c,_0x555d3b=''){const _0x394768=a0_0x384783,_0x180be6=extractFilename(_0x555d3b);try{if(_0x180be6&&isFeatureEnabled(_0x394768(0xb2))){const _0x232334=filterLockFile(_0x3ff10c,_0x180be6);if(_0x232334)return _0x232334;}if(isFeatureEnabled(_0x394768(0x7e))){const _0x1da608=filterBinaryOrMinified(_0x3ff10c,_0x180be6);if(_0x1da608)return _0x1da608;}if(isFeatureEnabled(_0x394768(0x97))){const _0x1f1bbb=(0x0,generic_1[_0x394768(0x9f)])(_0x3ff10c);if(_0x1f1bbb)return _0x1f1bbb;}const _0x28a8bf=filterJsonMinify(_0x3ff10c);if(_0x28a8bf)return _0x28a8bf;if(_0x180be6&&isFeatureEnabled(_0x394768(0xe9))){const _0x4b4f31=path['extname'](_0x180be6)[_0x394768(0x68)](),_0x13db08=[_0x394768(0xe6),_0x394768(0xcb),_0x394768(0x76),_0x394768(0xba),_0x394768(0xc8),'.go','.rs',_0x394768(0xdf),'.c',_0x394768(0xa0),'.cs',_0x394768(0x65),'.swift','.kt'];if(_0x13db08[_0x394768(0xb7)](_0x4b4f31)){const _0x24a6f1=_0x3ff10c[_0x394768(0xaa)]('\x0a');if(_0x24a6f1['length']>0x64){const _0x1c75e6=[];_0x1c75e6[_0x394768(0xac)](_0x394768(0x75)+path['basename'](_0x180be6)+'\x20('+_0x24a6f1['length']+_0x394768(0x86)),_0x1c75e6[_0x394768(0xac)]('');for(const _0x572513 of _0x24a6f1){const _0x324d4f=_0x572513[_0x394768(0x81)]();if(_0x324d4f[_0x394768(0x8f)](_0x394768(0xd6))||_0x324d4f['startsWith'](_0x394768(0xc5))||_0x324d4f[_0x394768(0x8f)]('require(')||_0x324d4f[_0x394768(0xa6)](/=\s*require\(/)||_0x324d4f['startsWith'](_0x394768(0xe4))||_0x324d4f['startsWith'](_0x394768(0xf5))||_0x324d4f[_0x394768(0x8f)](_0x394768(0x70)))_0x1c75e6[_0x394768(0xac)](_0x572513);else{if(_0x324d4f[_0x394768(0xa6)](/^(export\s+)?(async\s+)?function\s+/)||_0x324d4f['match'](/^(export\s+)?(default\s+)?class\s+/)||_0x324d4f['match'](/^(export\s+)?(type|interface|enum)\s+/)||_0x324d4f[_0x394768(0xa6)](/^(async\s+)?def\s+/)||_0x324d4f[_0x394768(0xa6)](/^func\s+/)||_0x324d4f[_0x394768(0xa6)](/^type\s+\w+\s+(struct|interface)/)||_0x324d4f['match'](/^(pub\s+)?(async\s+)?fn\s+/)||_0x324d4f[_0x394768(0xa6)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x324d4f[_0x394768(0xa6)](/^(public|private|protected|static)\s+/))_0x1c75e6['push'](_0x572513);else{if(_0x324d4f[_0x394768(0x8f)](_0x394768(0xec))&&!_0x324d4f['includes']('=>')&&_0x324d4f[_0x394768(0xbe)]<0x78)_0x1c75e6[_0x394768(0xac)](_0x572513);else _0x324d4f[_0x394768(0x8f)]('@')&&!_0x324d4f[_0x394768(0x8f)](_0x394768(0x8d))&&!_0x324d4f[_0x394768(0x8f)](_0x394768(0xae))&&_0x1c75e6[_0x394768(0xac)](_0x572513);}}}_0x1c75e6[_0x394768(0xac)](''),_0x1c75e6['push']('('+_0x24a6f1[_0x394768(0xbe)]+_0x394768(0xc7)+(_0x1c75e6[_0x394768(0xbe)]-0x2)+_0x394768(0xe0));const _0x4830f8=_0x1c75e6[_0x394768(0xdc)]('\x0a');if(_0x4830f8[_0x394768(0xbe)]<_0x3ff10c[_0x394768(0xbe)])return _0x4830f8;}}}}catch{}let _0xfdc06b=(0x0,generic_1[_0x394768(0x84)])(_0x3ff10c);if(_0x180be6){const _0x18b88a=path[_0x394768(0xd3)](_0x180be6)[_0x394768(0x68)]();_0xfdc06b=(0x0,generic_1['stripComments'])(_0xfdc06b,_0x18b88a);}const _0x24a5a8=_0xfdc06b[_0x394768(0xaa)]('\x0a');if(_0x24a5a8[_0x394768(0xbe)]<=0x64)return _0xfdc06b;const _0xece6b8=[];return _0xece6b8[_0x394768(0xac)](..._0x24a5a8[_0x394768(0xa4)](0x0,0x32)),_0xece6b8[_0x394768(0xac)](_0x394768(0x7a)+(_0x24a5a8['length']-0x50)+_0x394768(0xf6)),_0xece6b8['push'](..._0x24a5a8[_0x394768(0xa4)](-0x1e)),_0xece6b8['push']('\x0a('+_0x24a5a8[_0x394768(0xbe)]+_0x394768(0x82)),_0xece6b8[_0x394768(0xdc)]('\x0a');}function a0_0x142a(_0x44eb77,_0x225b03){_0x44eb77=_0x44eb77-0x65;const _0x553d54=a0_0x553d();let _0x142a60=_0x553d54[_0x44eb77];return _0x142a60;}function filterGrep(_0xf56894){const _0x3c0627=a0_0x384783,_0x4098a4=_0xf56894[_0x3c0627(0xaa)]('\x0a')[_0x3c0627(0x9d)](_0x187ca9=>_0x187ca9[_0x3c0627(0x81)]()[_0x3c0627(0xbe)]>0x0);if(_0x4098a4[_0x3c0627(0xbe)]===0x0)return _0x3c0627(0xb1);if(_0x4098a4[_0x3c0627(0xbe)]<=0x32)return _0xf56894[_0x3c0627(0x81)]();const _0x1c35d3={},_0x1bd95f=[];for(const _0x17de6b of _0x4098a4){const _0x25e7d8=_0x17de6b[_0x3c0627(0xa5)](':');if(_0x25e7d8>0x0&&_0x25e7d8<0xc8){const _0xf9b702=_0x17de6b[_0x3c0627(0xf2)](0x0,_0x25e7d8);if(_0xf9b702[_0x3c0627(0xb7)]('/')||_0xf9b702[_0x3c0627(0xb7)]('\x5c')||_0xf9b702['includes']('.')){if(!_0x1c35d3[_0xf9b702])_0x1c35d3[_0xf9b702]=[];_0x1c35d3[_0xf9b702][_0x3c0627(0xac)](_0x17de6b[_0x3c0627(0xf2)](_0x25e7d8+0x1)[_0x3c0627(0x81)]());continue;}}_0x1bd95f['push'](_0x17de6b);}const _0x479d39=[],_0xb8361e=Object[_0x3c0627(0xcd)](_0x1c35d3);if(_0xb8361e[_0x3c0627(0xbe)]>0x0){const _0x21d55c=0x14,_0x43630c=_0xb8361e[_0x3c0627(0xa4)](0x0,_0x21d55c);for(const _0x11acfd of _0x43630c){const _0x54ccea=_0x1c35d3[_0x11acfd];if(_0x54ccea[_0x3c0627(0xbe)]<=0x3)for(const _0x5afd7f of _0x54ccea){_0x479d39[_0x3c0627(0xac)](_0x11acfd+':\x20'+_0x5afd7f);}else _0x479d39[_0x3c0627(0xac)](_0x11acfd+':\x20'+_0x54ccea[0x0]),_0x479d39['push'](_0x11acfd+_0x3c0627(0xa9)+_0x54ccea['length']+'\x20matches\x20in\x20this\x20file)');}_0xb8361e[_0x3c0627(0xbe)]>_0x21d55c&&_0x479d39['push'](_0x3c0627(0x72)+(_0xb8361e['length']-_0x21d55c)+_0x3c0627(0xc2));}if(_0x1bd95f[_0x3c0627(0xbe)]>0x0){const _0x2ce511=0x1e;_0x479d39[_0x3c0627(0xac)](..._0x1bd95f[_0x3c0627(0xa4)](0x0,_0x2ce511)),_0x1bd95f[_0x3c0627(0xbe)]>_0x2ce511&&_0x479d39[_0x3c0627(0xac)](_0x3c0627(0x72)+(_0x1bd95f[_0x3c0627(0xbe)]-_0x2ce511)+_0x3c0627(0x7d));}const _0x3e9bce=_0x4098a4[_0x3c0627(0xbe)];return _0x479d39[_0x3c0627(0xac)]('\x0a('+_0x3e9bce+_0x3c0627(0xa8)+(_0xb8361e[_0x3c0627(0xbe)]||'?')+_0x3c0627(0x66)),_0x479d39['join']('\x0a');}function filterFind(_0x7dae79){const _0x2616bc=a0_0x384783,_0x3c4abf=_0x7dae79[_0x2616bc(0xaa)]('\x0a')['filter'](_0x377c54=>_0x377c54[_0x2616bc(0x81)]()['length']>0x0);if(_0x3c4abf[_0x2616bc(0xbe)]===0x0)return _0x2616bc(0x87);if(_0x3c4abf[_0x2616bc(0xbe)]<=0x32)return _0x7dae79[_0x2616bc(0x81)]();const _0x33b6a2={};for(const _0xb7782e of _0x3c4abf){const _0x30b7b7=path[_0x2616bc(0xb9)](_0xb7782e['trim']())||'.';_0x33b6a2[_0x30b7b7]=(_0x33b6a2[_0x30b7b7]||0x0)+0x1;}const _0x129d79=Object['entries'](_0x33b6a2)[_0x2616bc(0xee)]((_0x26ae0c,_0x13c509)=>_0x13c509[0x1]-_0x26ae0c[0x1]),_0x411c13=[_0x3c4abf['length']+_0x2616bc(0xbc)+_0x129d79['length']+'\x20directories',''],_0x139688=0x1e;for(const [_0x126096,_0x32b6bc]of _0x129d79[_0x2616bc(0xa4)](0x0,_0x139688)){_0x411c13[_0x2616bc(0xac)]('\x20\x20'+_0x126096+_0x2616bc(0x92)+_0x32b6bc+_0x2616bc(0x66));}return _0x129d79[_0x2616bc(0xbe)]>_0x139688&&_0x411c13[_0x2616bc(0xac)](_0x2616bc(0x83)+(_0x129d79[_0x2616bc(0xbe)]-_0x139688)+_0x2616bc(0x78)),_0x411c13[_0x2616bc(0xdc)]('\x0a');}
1
+ 'use strict';const a0_0x231881=a0_0x40be;function a0_0xe33e(){const _0x1848b7=[':\x20...\x20(','substring','\x0a...\x20(','3352fIQSfQ','\x20chars,\x20type:\x20','\x20lines)','#include\x20','.sqlite','entries','extname','.tar.gz','[lock\x20file]\x20','package-lock.json','No\x20files\x20found','.pdf','indexOf','create','.jpg','.bz2','getConfig','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','match','yarn.lock','\x20lines\x20total,\x20','length','\x20files)','bun.lockb','.js','.png','.rar','basename','.cpp','push','collapseWhitespace','No\x20matches\x20found','900322ToeDxS','.ttf','Gemfile.lock','\x20directories','.rs','filterCat','composer.lock','smartCrushJson','filter','pnpm-lock.yaml','\x20more\x20files','.zip','.swift','getOwnPropertyDescriptor','[code\x20skeleton]\x20','writable','\x20more\x20directories','3hDaWAd','poetry.lock','.7z','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','package\x20','1492110JRrGUp','181337bsHrMO','slice','.sqlite3','.cs','.webp','from\x20','.woff2','.wasm','toLocaleString','.map','.mov','.kt','startsWith','packages','[minified\x20file]\x20','Empty\x20directory','99REbQAL','keys','require(','getOwnPropertyNames','93156fufWyC','defineProperty','.min.js','default','.go','../tracker','stringify','.bmp','floor','@return','\x20lines\x20truncated]\x20...\x0a','trim','.dat','...\x20+','join','filterFind','\x20lines\x20total)','__esModule','get','\x20files\x20found\x20across\x20','.class','__createBinding','697653yfzlvP','@param','dirname','charCodeAt','dependencies','.rb','.db','.svg','2886QxRxpG','.wav','1020gACYNO','total\x20','.min.css','parse','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','.jpeg','.java','go.sum','prototype','.avi','filterTree','[binary\x20file]\x20','tracker','.otf','endsWith','16290oCbvrd','[binary/minified\x20file]\x20','.tsx','\x20chars\x20across\x20','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','\x20dependencies,\x20','includes','.bin','.eot','toLowerCase','path','sort','\x20matches\x20across\x20','skeleton','split','hasOwnProperty','.ts','.exe','import\x20','\x20\x20...\x20+','\x20more\x20files\x20with\x20matches','.mp3','stripComments','use\x20','.webm','.obj','\x20directories,\x20','configurable','60AoLCAD','.so','export\x20','./generic','9289vcKKsw'];a0_0xe33e=function(){return _0x1848b7;};return a0_0xe33e();}(function(_0x162fb5,_0x3e4e20){const _0x1f6564=a0_0x40be,_0x27abff=_0x162fb5();while(!![]){try{const _0x592be9=parseInt(_0x1f6564(0x14f))/0x1*(-parseInt(_0x1f6564(0x13e))/0x2)+-parseInt(_0x1f6564(0x17f))/0x3+parseInt(_0x1f6564(0x169))/0x4*(-parseInt(_0x1f6564(0x116))/0x5)+parseInt(_0x1f6564(0x187))/0x6*(-parseInt(_0x1f6564(0x11a))/0x7)+parseInt(_0x1f6564(0x11e))/0x8*(parseInt(_0x1f6564(0xfa))/0x9)+-parseInt(_0x1f6564(0x154))/0xa*(-parseInt(_0x1f6564(0x165))/0xb)+-parseInt(_0x1f6564(0x189))/0xc*(-parseInt(_0x1f6564(0x155))/0xd);if(_0x592be9===_0x3e4e20)break;else _0x27abff['push'](_0x27abff['shift']());}catch(_0x4c0897){_0x27abff['push'](_0x27abff['shift']());}}}(a0_0xe33e,0xbfef5));var __createBinding=this&&this[a0_0x231881(0x17e)]||(Object[a0_0x231881(0x12b)]?function(_0x44bce6,_0x2fb879,_0x2c318e,_0x5c6c71){const _0x5ea32b=a0_0x231881;if(_0x5c6c71===undefined)_0x5c6c71=_0x2c318e;var _0x423fa5=Object[_0x5ea32b(0x14b)](_0x2fb879,_0x2c318e);(!_0x423fa5||(_0x5ea32b(0x17b)in _0x423fa5?!_0x2fb879['__esModule']:_0x423fa5[_0x5ea32b(0x14d)]||_0x423fa5[_0x5ea32b(0x115)]))&&(_0x423fa5={'enumerable':!![],'get':function(){return _0x2fb879[_0x2c318e];}}),Object[_0x5ea32b(0x16a)](_0x44bce6,_0x5c6c71,_0x423fa5);}:function(_0x3a8fae,_0x3f75,_0x295ab3,_0x54a336){if(_0x54a336===undefined)_0x54a336=_0x295ab3;_0x3a8fae[_0x54a336]=_0x3f75[_0x295ab3];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x50ccea,_0x127f22){const _0x41dffc=a0_0x231881;Object[_0x41dffc(0x16a)](_0x50ccea,_0x41dffc(0x16c),{'enumerable':!![],'value':_0x127f22});}:function(_0x2acef5,_0x3edee7){const _0xf0df1e=a0_0x231881;_0x2acef5[_0xf0df1e(0x16c)]=_0x3edee7;}),__importStar=this&&this['__importStar']||(function(){var _0x10a932=function(_0x34a771){const _0x59395a=a0_0x40be;return _0x10a932=Object[_0x59395a(0x168)]||function(_0x4e1f54){const _0x2aae6b=_0x59395a;var _0x817b2d=[];for(var _0x5d28da in _0x4e1f54)if(Object[_0x2aae6b(0x191)][_0x2aae6b(0x109)]['call'](_0x4e1f54,_0x5d28da))_0x817b2d[_0x817b2d[_0x2aae6b(0x133)]]=_0x5d28da;return _0x817b2d;},_0x10a932(_0x34a771);};return function(_0x3c81ca){const _0x46a037=a0_0x40be;if(_0x3c81ca&&_0x3c81ca[_0x46a037(0x17a)])return _0x3c81ca;var _0x153d81={};if(_0x3c81ca!=null){for(var _0x19d836=_0x10a932(_0x3c81ca),_0x1af62a=0x0;_0x1af62a<_0x19d836[_0x46a037(0x133)];_0x1af62a++)if(_0x19d836[_0x1af62a]!==_0x46a037(0x16c))__createBinding(_0x153d81,_0x3c81ca,_0x19d836[_0x1af62a]);}return __setModuleDefault(_0x153d81,_0x3c81ca),_0x153d81;};}());Object[a0_0x231881(0x16a)](exports,a0_0x231881(0x17a),{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x231881(0x193)]=filterTree,exports[a0_0x231881(0x143)]=filterCat,exports['filterGrep']=filterGrep,exports[a0_0x231881(0x178)]=filterFind;const path=__importStar(require(a0_0x231881(0x104))),generic_1=require(a0_0x231881(0x119)),tracker_1=require(a0_0x231881(0x16e));function isFeatureEnabled(_0x5b0b28){const _0x2086ee=a0_0x231881;try{const _0x549b8f=tracker_1[_0x2086ee(0xf7)][_0x2086ee(0x12e)](),_0x2054bd=_0x549b8f['features_enabled'];if(!_0x2054bd||_0x2054bd[_0x5b0b28]===undefined)return!![];return _0x2054bd[_0x5b0b28]!==![];}catch{return!![];}}const LOCK_FILES=['package-lock.json','yarn.lock','pnpm-lock.yaml','Cargo.lock','go.sum','poetry.lock','composer.lock',a0_0x231881(0x140),a0_0x231881(0x135)],BINARY_EXTENSIONS=[a0_0x231881(0x16b),a0_0x231881(0x18b),a0_0x231881(0x15e),a0_0x231881(0x15c),a0_0x231881(0x137),a0_0x231881(0x12c),a0_0x231881(0x18e),'.gif','.ico',a0_0x231881(0x170),a0_0x231881(0x159),a0_0x231881(0x186),a0_0x231881(0x129),a0_0x231881(0x149),a0_0x231881(0x125),'.tgz','.gz',a0_0x231881(0x12d),a0_0x231881(0x151),a0_0x231881(0x138),a0_0x231881(0x10b),'.dll',a0_0x231881(0x117),'.dylib',a0_0x231881(0x101),a0_0x231881(0x175),a0_0x231881(0x122),a0_0x231881(0x185),a0_0x231881(0x157),'.woff',a0_0x231881(0x15b),a0_0x231881(0x13f),a0_0x231881(0x102),a0_0x231881(0xf8),a0_0x231881(0x10f),'.mp4',a0_0x231881(0x188),a0_0x231881(0x192),a0_0x231881(0x15f),a0_0x231881(0x112),'.pyc','.pyo',a0_0x231881(0x17d),'.o',a0_0x231881(0x113)];function extractFilename(_0x1361f8){const _0x423818=a0_0x231881,_0x4d3de1=_0x1361f8[_0x423818(0x174)]()[_0x423818(0x108)](/\s+/);for(let _0x2b1c89=0x1;_0x2b1c89<_0x4d3de1[_0x423818(0x133)];_0x2b1c89++){if(!_0x4d3de1[_0x2b1c89][_0x423818(0x161)]('-'))return _0x4d3de1[_0x2b1c89];}return null;}function filterLockFile(_0x590306,_0x1d3346){const _0x211206=a0_0x231881;try{const _0x1290d0=path[_0x211206(0x139)](_0x1d3346)[_0x211206(0x103)]();if(!LOCK_FILES['some'](_0x3b5a70=>_0x1290d0===_0x3b5a70[_0x211206(0x103)]()))return null;const _0x429b45=_0x590306[_0x211206(0x133)];let _0x3d76d9=0x0;if(_0x1290d0===_0x211206(0x127))try{const _0x3887ba=JSON[_0x211206(0x18c)](_0x590306);_0x3d76d9=Object['keys'](_0x3887ba[_0x211206(0x162)]||_0x3887ba[_0x211206(0x183)]||{})[_0x211206(0x133)];}catch{_0x3d76d9=(_0x590306[_0x211206(0x130)](/"resolved":/g)||[])['length'];}else{if(_0x1290d0===_0x211206(0x131))_0x3d76d9=(_0x590306[_0x211206(0x130)](/^"?[^#\s][^:]*:$/gm)||[])[_0x211206(0x133)];else{if(_0x1290d0==='cargo.lock'||_0x1290d0===_0x211206(0x150))_0x3d76d9=(_0x590306['match'](/\[\[package\]\]/g)||[])['length'];else{if(_0x1290d0===_0x211206(0x190))_0x3d76d9=Math[_0x211206(0x171)](_0x590306[_0x211206(0x108)]('\x0a')[_0x211206(0x146)](_0x430db0=>_0x430db0[_0x211206(0x174)]())[_0x211206(0x133)]/0x2);else{if(_0x1290d0===_0x211206(0x144))try{_0x3d76d9=JSON[_0x211206(0x18c)](_0x590306)[_0x211206(0x162)]?.[_0x211206(0x133)]||0x0;}catch{}else _0x1290d0===_0x211206(0x147)?_0x3d76d9=(_0x590306['match'](/^\s{2}['"@a-z]/gm)||[])[_0x211206(0x133)]:_0x3d76d9=_0x590306[_0x211206(0x108)]('\x0a')['filter'](_0x161684=>_0x161684[_0x211206(0x174)]())[_0x211206(0x133)];}}}}return _0x211206(0x126)+path[_0x211206(0x139)](_0x1d3346)+':\x20'+_0x3d76d9+_0x211206(0xff)+_0x429b45[_0x211206(0x15d)]()+_0x211206(0x12f);}catch{return null;}}function filterBinaryOrMinified(_0x2298da,_0x4fc494){const _0x2d62c0=a0_0x231881;try{if(_0x4fc494){const _0x3d2165=_0x4fc494['toLowerCase']();for(const _0x1999f7 of BINARY_EXTENSIONS){if(_0x3d2165['endsWith'](_0x1999f7))return _0x2d62c0(0xfb)+path[_0x2d62c0(0x139)](_0x4fc494)+',\x20'+_0x2298da['length'][_0x2d62c0(0x15d)]()+_0x2d62c0(0x11f)+_0x1999f7+_0x2d62c0(0xfe);}}const _0x4de991=_0x2298da[_0x2d62c0(0x11c)](0x0,0x3e8);let _0x528865=0x0;for(let _0x10594c=0x0;_0x10594c<_0x4de991[_0x2d62c0(0x133)];_0x10594c++){if(_0x4de991['charCodeAt'](_0x10594c)===0x0)_0x528865++;}if(_0x528865>0x0)return _0x2d62c0(0x194)+_0x2298da['length'][_0x2d62c0(0x15d)]()+_0x2d62c0(0x152);let _0x582010=0x0;for(let _0x4da3cd=0x0;_0x4da3cd<_0x4de991[_0x2d62c0(0x133)];_0x4da3cd++){const _0x39f944=_0x4de991[_0x2d62c0(0x182)](_0x4da3cd);if(_0x39f944<0x20&&_0x39f944!==0xa&&_0x39f944!==0xd&&_0x39f944!==0x9)_0x582010++;}if(_0x4de991[_0x2d62c0(0x133)]>0x64&&_0x582010>_0x4de991['length']*0.1)return'[binary\x20file]\x20'+_0x2298da[_0x2d62c0(0x133)][_0x2d62c0(0x15d)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x49ebea=_0x2298da[_0x2d62c0(0x108)]('\x0a');if(_0x49ebea[_0x2d62c0(0x133)]<=0x3&&_0x2298da[_0x2d62c0(0x133)]>0x1388)return _0x2d62c0(0x163)+_0x2298da[_0x2d62c0(0x133)][_0x2d62c0(0x15d)]()+_0x2d62c0(0xfd)+_0x49ebea[_0x2d62c0(0x133)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0xbbc4f7){const _0x5eef38=a0_0x231881;try{const _0x169de2=_0xbbc4f7[_0x5eef38(0x174)]();if(!_0x169de2[_0x5eef38(0x161)]('{')&&!_0x169de2[_0x5eef38(0x161)]('['))return null;const _0x58c98e=_0x169de2[_0x5eef38(0x108)]('\x0a');if(_0x58c98e['length']<=0x14)return null;const _0x53ee46=JSON['parse'](_0x169de2),_0x5b9f20=JSON[_0x5eef38(0x16f)](_0x53ee46);if(_0x5b9f20[_0x5eef38(0x133)]<_0x169de2['length'])return _0x5b9f20;return null;}catch{return null;}}function filterLs(_0x126ac8){const _0x54f92e=a0_0x231881,_0x384468=_0x126ac8[_0x54f92e(0x108)]('\x0a')['filter'](_0x40ed6e=>_0x40ed6e[_0x54f92e(0x174)]()['length']>0x0);if(_0x384468[_0x54f92e(0x133)]===0x0)return _0x54f92e(0x164);if(_0x384468['length']<=0x1e)return _0x126ac8['trim']();const _0x530e45=[],_0x5e1b3f=[];for(const _0x575160 of _0x384468){const _0x585b97=_0x575160[_0x54f92e(0x174)]();if(_0x585b97[_0x54f92e(0x161)](_0x54f92e(0x18a))||_0x585b97[_0x54f92e(0x161)]('d')&&_0x585b97[_0x54f92e(0x100)]('..'))continue;_0x585b97[_0x54f92e(0xf9)]('/')||_0x585b97[_0x54f92e(0x161)]('d')&&_0x585b97[_0x54f92e(0x100)]('\x20')?_0x530e45[_0x54f92e(0x13b)](_0x585b97):_0x5e1b3f[_0x54f92e(0x13b)](_0x585b97);}const _0x1ef934=[];return _0x530e45[_0x54f92e(0x133)]>0x0&&(_0x530e45[_0x54f92e(0x133)]<=0xf?_0x1ef934['push'](..._0x530e45):(_0x1ef934[_0x54f92e(0x13b)](..._0x530e45[_0x54f92e(0x156)](0x0,0xa)),_0x1ef934['push'](_0x54f92e(0x176)+(_0x530e45[_0x54f92e(0x133)]-0xa)+_0x54f92e(0x14e)))),_0x5e1b3f[_0x54f92e(0x133)]>0x0&&(_0x5e1b3f[_0x54f92e(0x133)]<=0x14?_0x1ef934[_0x54f92e(0x13b)](..._0x5e1b3f):(_0x1ef934[_0x54f92e(0x13b)](..._0x5e1b3f[_0x54f92e(0x156)](0x0,0xf)),_0x1ef934[_0x54f92e(0x13b)](_0x54f92e(0x176)+(_0x5e1b3f['length']-0xf)+_0x54f92e(0x148)))),_0x1ef934['push']('\x0a('+_0x530e45[_0x54f92e(0x133)]+_0x54f92e(0x114)+_0x5e1b3f[_0x54f92e(0x133)]+_0x54f92e(0x134)),_0x1ef934['join']('\x0a');}function filterTree(_0x4d729a){const _0x355583=a0_0x231881,_0x35b6d9=_0x4d729a[_0x355583(0x108)]('\x0a');if(_0x35b6d9[_0x355583(0x133)]<=0x32)return _0x4d729a[_0x355583(0x174)]();const _0x33f3cf=[];let _0x311029=0x0,_0x564618=0x0,_0x364da7=0x0;for(const _0x42bb4b of _0x35b6d9){const _0x394abc=_0x42bb4b[_0x355583(0x130)](/(\d+)\s+director/),_0x250988=_0x42bb4b[_0x355583(0x130)](/(\d+)\s+file/);if(_0x394abc)_0x364da7=parseInt(_0x394abc[0x1]);if(_0x250988)_0x564618=parseInt(_0x250988[0x1]);const _0x30991b=(_0x42bb4b[_0x355583(0x130)](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x30991b<=0x4&&(_0x33f3cf[_0x355583(0x13b)](_0x42bb4b),_0x311029++);}return _0x35b6d9[_0x355583(0x133)]>_0x33f3cf[_0x355583(0x133)]&&_0x33f3cf[_0x355583(0x13b)](_0x355583(0x11d)+_0x364da7+'\x20directories,\x20'+_0x564618+_0x355583(0x18d)),_0x33f3cf[_0x355583(0x177)]('\x0a');}function filterCat(_0x27e6af,_0x418308=''){const _0x3a237e=a0_0x231881,_0xa2ea12=extractFilename(_0x418308);try{if(_0xa2ea12&&isFeatureEnabled('lock')){const _0x4fd78e=filterLockFile(_0x27e6af,_0xa2ea12);if(_0x4fd78e)return _0x4fd78e;}if(isFeatureEnabled('binary')){const _0x434099=filterBinaryOrMinified(_0x27e6af,_0xa2ea12);if(_0x434099)return _0x434099;}if(isFeatureEnabled('json_crusher')){const _0x5902d1=(0x0,generic_1[_0x3a237e(0x145)])(_0x27e6af);if(_0x5902d1)return _0x5902d1;}const _0x3b625a=filterJsonMinify(_0x27e6af);if(_0x3b625a)return _0x3b625a;if(_0xa2ea12&&isFeatureEnabled(_0x3a237e(0x107))){const _0x1d5db2=path[_0x3a237e(0x124)](_0xa2ea12)['toLowerCase'](),_0x4e0709=[_0x3a237e(0x10a),_0x3a237e(0x136),_0x3a237e(0xfc),'.jsx','.py',_0x3a237e(0x16d),_0x3a237e(0x142),_0x3a237e(0x18f),'.c',_0x3a237e(0x13a),_0x3a237e(0x158),_0x3a237e(0x184),_0x3a237e(0x14a),_0x3a237e(0x160)];if(_0x4e0709['includes'](_0x1d5db2)){const _0xa3e64=_0x27e6af[_0x3a237e(0x108)]('\x0a');if(_0xa3e64[_0x3a237e(0x133)]>0x64){const _0x224dab=[];_0x224dab['push'](_0x3a237e(0x14c)+path[_0x3a237e(0x139)](_0xa2ea12)+'\x20('+_0xa3e64['length']+_0x3a237e(0x120)),_0x224dab[_0x3a237e(0x13b)]('');for(const _0x5e865d of _0xa3e64){const _0x23e264=_0x5e865d[_0x3a237e(0x174)]();if(_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x10c))||_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x15a))||_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x167))||_0x23e264['match'](/=\s*require\(/)||_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x121))||_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x111))||_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x153)))_0x224dab[_0x3a237e(0x13b)](_0x5e865d);else{if(_0x23e264[_0x3a237e(0x130)](/^(export\s+)?(async\s+)?function\s+/)||_0x23e264[_0x3a237e(0x130)](/^(export\s+)?(default\s+)?class\s+/)||_0x23e264[_0x3a237e(0x130)](/^(export\s+)?(type|interface|enum)\s+/)||_0x23e264['match'](/^(async\s+)?def\s+/)||_0x23e264[_0x3a237e(0x130)](/^func\s+/)||_0x23e264[_0x3a237e(0x130)](/^type\s+\w+\s+(struct|interface)/)||_0x23e264[_0x3a237e(0x130)](/^(pub\s+)?(async\s+)?fn\s+/)||_0x23e264['match'](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x23e264[_0x3a237e(0x130)](/^(public|private|protected|static)\s+/))_0x224dab[_0x3a237e(0x13b)](_0x5e865d);else{if(_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x118))&&!_0x23e264['includes']('=>')&&_0x23e264['length']<0x78)_0x224dab[_0x3a237e(0x13b)](_0x5e865d);else _0x23e264[_0x3a237e(0x161)]('@')&&!_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x180))&&!_0x23e264[_0x3a237e(0x161)](_0x3a237e(0x172))&&_0x224dab[_0x3a237e(0x13b)](_0x5e865d);}}}_0x224dab['push'](''),_0x224dab['push']('('+_0xa3e64[_0x3a237e(0x133)]+_0x3a237e(0x132)+(_0x224dab[_0x3a237e(0x133)]-0x2)+'\x20structural\x20lines\x20shown)');const _0x4b0c89=_0x224dab[_0x3a237e(0x177)]('\x0a');if(_0x4b0c89[_0x3a237e(0x133)]<_0x27e6af[_0x3a237e(0x133)])return _0x4b0c89;}}}}catch{}let _0x4f5343=(0x0,generic_1[_0x3a237e(0x13c)])(_0x27e6af);if(_0xa2ea12){const _0x38fb32=path[_0x3a237e(0x124)](_0xa2ea12)[_0x3a237e(0x103)]();_0x4f5343=(0x0,generic_1[_0x3a237e(0x110)])(_0x4f5343,_0x38fb32);}const _0x37d64a=_0x4f5343[_0x3a237e(0x108)]('\x0a');if(_0x37d64a[_0x3a237e(0x133)]<=0x64)return _0x4f5343;const _0x4f7ec1=[];return _0x4f7ec1[_0x3a237e(0x13b)](..._0x37d64a[_0x3a237e(0x156)](0x0,0x32)),_0x4f7ec1[_0x3a237e(0x13b)]('\x0a...\x20['+(_0x37d64a[_0x3a237e(0x133)]-0x50)+_0x3a237e(0x173)),_0x4f7ec1[_0x3a237e(0x13b)](..._0x37d64a['slice'](-0x1e)),_0x4f7ec1[_0x3a237e(0x13b)]('\x0a('+_0x37d64a['length']+_0x3a237e(0x179)),_0x4f7ec1[_0x3a237e(0x177)]('\x0a');}function filterGrep(_0x60339){const _0x486de1=a0_0x231881,_0x35db28=_0x60339[_0x486de1(0x108)]('\x0a')[_0x486de1(0x146)](_0x3b2498=>_0x3b2498[_0x486de1(0x174)]()['length']>0x0);if(_0x35db28['length']===0x0)return _0x486de1(0x13d);if(_0x35db28[_0x486de1(0x133)]<=0x32)return _0x60339[_0x486de1(0x174)]();const _0x1ccf0f={},_0x57509b=[];for(const _0x133a40 of _0x35db28){const _0x4be13e=_0x133a40[_0x486de1(0x12a)](':');if(_0x4be13e>0x0&&_0x4be13e<0xc8){const _0x324190=_0x133a40[_0x486de1(0x11c)](0x0,_0x4be13e);if(_0x324190['includes']('/')||_0x324190[_0x486de1(0x100)]('\x5c')||_0x324190['includes']('.')){if(!_0x1ccf0f[_0x324190])_0x1ccf0f[_0x324190]=[];_0x1ccf0f[_0x324190][_0x486de1(0x13b)](_0x133a40[_0x486de1(0x11c)](_0x4be13e+0x1)[_0x486de1(0x174)]());continue;}}_0x57509b[_0x486de1(0x13b)](_0x133a40);}const _0x3f2687=[],_0xf41232=Object[_0x486de1(0x166)](_0x1ccf0f);if(_0xf41232[_0x486de1(0x133)]>0x0){const _0x1e87b1=0x14,_0x5b8b03=_0xf41232[_0x486de1(0x156)](0x0,_0x1e87b1);for(const _0x589cab of _0x5b8b03){const _0x1c2b8c=_0x1ccf0f[_0x589cab];if(_0x1c2b8c[_0x486de1(0x133)]<=0x3)for(const _0x40af14 of _0x1c2b8c){_0x3f2687[_0x486de1(0x13b)](_0x589cab+':\x20'+_0x40af14);}else _0x3f2687[_0x486de1(0x13b)](_0x589cab+':\x20'+_0x1c2b8c[0x0]),_0x3f2687[_0x486de1(0x13b)](_0x589cab+_0x486de1(0x11b)+_0x1c2b8c[_0x486de1(0x133)]+'\x20matches\x20in\x20this\x20file)');}_0xf41232[_0x486de1(0x133)]>_0x1e87b1&&_0x3f2687[_0x486de1(0x13b)](_0x486de1(0x176)+(_0xf41232[_0x486de1(0x133)]-_0x1e87b1)+_0x486de1(0x10e));}if(_0x57509b[_0x486de1(0x133)]>0x0){const _0x3ab657=0x1e;_0x3f2687[_0x486de1(0x13b)](..._0x57509b[_0x486de1(0x156)](0x0,_0x3ab657)),_0x57509b[_0x486de1(0x133)]>_0x3ab657&&_0x3f2687[_0x486de1(0x13b)](_0x486de1(0x176)+(_0x57509b[_0x486de1(0x133)]-_0x3ab657)+'\x20more\x20matches');}const _0x4d17e0=_0x35db28[_0x486de1(0x133)];return _0x3f2687['push']('\x0a('+_0x4d17e0+_0x486de1(0x106)+(_0xf41232['length']||'?')+_0x486de1(0x134)),_0x3f2687[_0x486de1(0x177)]('\x0a');}function a0_0x40be(_0x3e64e3,_0x15116d){_0x3e64e3=_0x3e64e3-0xf7;const _0xe33ee0=a0_0xe33e();let _0x40be2e=_0xe33ee0[_0x3e64e3];return _0x40be2e;}function filterFind(_0x5a7355){const _0x1c8296=a0_0x231881,_0x25e06b=_0x5a7355[_0x1c8296(0x108)]('\x0a')[_0x1c8296(0x146)](_0x587ea3=>_0x587ea3[_0x1c8296(0x174)]()[_0x1c8296(0x133)]>0x0);if(_0x25e06b[_0x1c8296(0x133)]===0x0)return _0x1c8296(0x128);if(_0x25e06b['length']<=0x32)return _0x5a7355[_0x1c8296(0x174)]();const _0xed0f3f={};for(const _0x2eaed2 of _0x25e06b){const _0x12bf3c=path[_0x1c8296(0x181)](_0x2eaed2[_0x1c8296(0x174)]())||'.';_0xed0f3f[_0x12bf3c]=(_0xed0f3f[_0x12bf3c]||0x0)+0x1;}const _0x786ff0=Object[_0x1c8296(0x123)](_0xed0f3f)[_0x1c8296(0x105)]((_0x306d60,_0x1e7acc)=>_0x1e7acc[0x1]-_0x306d60[0x1]),_0xa22780=[_0x25e06b[_0x1c8296(0x133)]+_0x1c8296(0x17c)+_0x786ff0[_0x1c8296(0x133)]+_0x1c8296(0x141),''],_0x460793=0x1e;for(const [_0x318700,_0x59e4ed]of _0x786ff0[_0x1c8296(0x156)](0x0,_0x460793)){_0xa22780['push']('\x20\x20'+_0x318700+'/\x20('+_0x59e4ed+_0x1c8296(0x134));}return _0x786ff0[_0x1c8296(0x133)]>_0x460793&&_0xa22780['push'](_0x1c8296(0x10d)+(_0x786ff0['length']-_0x460793)+_0x1c8296(0x14e)),_0xa22780[_0x1c8296(0x177)]('\x0a');}
@@ -1 +1 @@
1
- 'use strict';function a0_0x4314(_0x4ba0b0,_0x941df2){_0x4ba0b0=_0x4ba0b0-0x99;var _0x180a32=a0_0x180a();var _0x431495=_0x180a32[_0x4ba0b0];return _0x431495;}var a0_0x128c01=a0_0x4314;(function(_0x2c8b9e,_0x283460){var _0x3cece4=a0_0x4314,_0x4aacfe=_0x2c8b9e();while(!![]){try{var _0x2d6bb5=parseInt(_0x3cece4(0x9f))/0x1+-parseInt(_0x3cece4(0xaf))/0x2*(-parseInt(_0x3cece4(0xa3))/0x3)+parseInt(_0x3cece4(0xa2))/0x4*(-parseInt(_0x3cece4(0xa9))/0x5)+parseInt(_0x3cece4(0xae))/0x6+-parseInt(_0x3cece4(0xb7))/0x7+-parseInt(_0x3cece4(0x9b))/0x8*(-parseInt(_0x3cece4(0xa7))/0x9)+-parseInt(_0x3cece4(0xb6))/0xa;if(_0x2d6bb5===_0x283460)break;else _0x4aacfe['push'](_0x4aacfe['shift']());}catch(_0x49d517){_0x4aacfe['push'](_0x4aacfe['shift']());}}}(a0_0x180a,0xd93ec));var __createBinding=this&&this[a0_0x128c01(0x9c)]||(Object[a0_0x128c01(0xac)]?function(_0x437d36,_0x350a82,_0x551dab,_0x76ffae){var _0x1b7c12=a0_0x128c01;if(_0x76ffae===undefined)_0x76ffae=_0x551dab;var _0x19d384=Object[_0x1b7c12(0xb2)](_0x350a82,_0x551dab);(!_0x19d384||('get'in _0x19d384?!_0x350a82[_0x1b7c12(0xa4)]:_0x19d384[_0x1b7c12(0x9d)]||_0x19d384[_0x1b7c12(0xa8)]))&&(_0x19d384={'enumerable':!![],'get':function(){return _0x350a82[_0x551dab];}}),Object[_0x1b7c12(0xaa)](_0x437d36,_0x76ffae,_0x19d384);}:function(_0x2a590e,_0x1d9388,_0x30c1ff,_0x142292){if(_0x142292===undefined)_0x142292=_0x30c1ff;_0x2a590e[_0x142292]=_0x1d9388[_0x30c1ff];}),__setModuleDefault=this&&this[a0_0x128c01(0xb1)]||(Object[a0_0x128c01(0xac)]?function(_0x250170,_0xe9e2d6){var _0x1aaad1=a0_0x128c01;Object['defineProperty'](_0x250170,_0x1aaad1(0xba),{'enumerable':!![],'value':_0xe9e2d6});}:function(_0x57a69a,_0xd0a310){var _0x1bd643=a0_0x128c01;_0x57a69a[_0x1bd643(0xba)]=_0xd0a310;}),__importStar=this&&this[a0_0x128c01(0xb8)]||(function(){var _0x56a8c1=function(_0x322277){var _0x4e083f=a0_0x4314;return _0x56a8c1=Object[_0x4e083f(0xb5)]||function(_0x431e55){var _0x51a2a5=_0x4e083f,_0x20c9d8=[];for(var _0x3dcc7a in _0x431e55)if(Object[_0x51a2a5(0xb3)][_0x51a2a5(0xa6)][_0x51a2a5(0xa5)](_0x431e55,_0x3dcc7a))_0x20c9d8[_0x20c9d8[_0x51a2a5(0xb0)]]=_0x3dcc7a;return _0x20c9d8;},_0x56a8c1(_0x322277);};return function(_0x1c67f6){var _0x117301=a0_0x4314;if(_0x1c67f6&&_0x1c67f6[_0x117301(0xa4)])return _0x1c67f6;var _0x37baaf={};if(_0x1c67f6!=null){for(var _0x1d98a9=_0x56a8c1(_0x1c67f6),_0x292536=0x0;_0x292536<_0x1d98a9['length'];_0x292536++)if(_0x1d98a9[_0x292536]!==_0x117301(0xba))__createBinding(_0x37baaf,_0x1c67f6,_0x1d98a9[_0x292536]);}return __setModuleDefault(_0x37baaf,_0x1c67f6),_0x37baaf;};}());Object['defineProperty'](exports,a0_0x128c01(0xa4),{'value':!![]}),exports[a0_0x128c01(0xb9)]=installClaudeHooks;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x128c01(0xad))),os=__importStar(require('os'));function installClaudeHooks(){var _0x40bd95=a0_0x128c01;try{const _0x518bed=path[_0x40bd95(0x9a)](os[_0x40bd95(0xa0)](),'.claude',_0x40bd95(0xa1));!fs[_0x40bd95(0xab)](_0x518bed)&&fs[_0x40bd95(0x9e)](_0x518bed,{'recursive':!![]});const _0x44396e=path['join'](_0x518bed,'post_tool_use.js'),_0x44a22d=_0x40bd95(0xb4);fs[_0x40bd95(0x99)](_0x44396e,_0x44a22d,_0x40bd95(0xbb));}catch(_0x167424){}}function a0_0x180a(){var _0x3f8ebb=['create','path','288618MYpNGa','3338814gFYtZn','length','__setModuleDefault','getOwnPropertyDescriptor','prototype','//\x20TrimPrompt\x20Native\x20PostToolUse\x20Hook\x20for\x20Claude\x20Code\x0aconst\x20fs\x20=\x20require(\x27fs\x27);\x0aconst\x20path\x20=\x20require(\x27path\x27);\x0aconst\x20os\x20=\x20require(\x27os\x27);\x0a\x0amodule.exports\x20=\x20async\x20function\x20postToolUse(event)\x20{\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20if\x20(!event\x20||\x20!event.result)\x20return\x20event;\x0a\x20\x20\x20\x20let\x20contentStr\x20=\x20typeof\x20event.result\x20===\x20\x27string\x27\x20?\x20event.result\x20:\x20JSON.stringify(event.result);\x0a\x20\x20\x20\x20if\x20(contentStr.length\x20>\x20500)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20baseDir\x20=\x20path.join(os.homedir(),\x20\x27.trimprompt\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20cacheDir\x20=\x20path.join(baseDir,\x20\x27cache\x27);\x0a\x20\x20\x20\x20\x20\x20if\x20(!fs.existsSync(cacheDir))\x20fs.mkdirSync(cacheDir,\x20{\x20recursive:\x20true\x20});\x0a\x20\x20\x20\x20\x20\x20const\x20chunkId\x20=\x20\x27chunk_\x27\x20+\x20Math.random().toString(36).substring(2,\x2011);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20const\x20rawTokens\x20=\x20Math.ceil(contentStr.length\x20/\x204);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20const\x20snippet\x20=\x20contentStr.substring(0,\x20200).replace(/\x5cn/g,\x20\x27\x20\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20replacement\x20=\x20`>\x20[!NOTE]\x5cn>\x20**[TrimPrompt\x20Context\x20Offloaded]**\x20Raw\x20tool\x20output\x20(${contentStr.length.toLocaleString()}\x20chars)\x20side-cached\x20locally.\x5cn>\x20Preview:\x20${snippet}...\x5cn>\x20Retrieve\x20raw:\x20\x5c`trim\x20retrieve\x20${chunkId}\x5c``;\x0a\x20\x20\x20\x20\x20\x20const\x20compressedTokens\x20=\x20Math.ceil(replacement.length\x20/\x204);\x0a\x20\x20\x20\x20\x20\x20const\x20savedTokens\x20=\x20Math.max(0,\x20rawTokens\x20-\x20compressedTokens);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(cacheDir,\x20chunkId\x20+\x20\x27.json\x27),\x20JSON.stringify({\x0a\x20\x20\x20\x20\x20\x20\x20\x20chunk_id:\x20chunkId,\x0a\x20\x20\x20\x20\x20\x20\x20\x20raw_tokens:\x20rawTokens,\x0a\x20\x20\x20\x20\x20\x20\x20\x20compressed_tokens:\x20compressedTokens,\x0a\x20\x20\x20\x20\x20\x20\x20\x20created_at:\x20new\x20Date().toISOString(),\x0a\x20\x20\x20\x20\x20\x20\x20\x20last_accessed_at:\x20new\x20Date().toISOString(),\x0a\x20\x20\x20\x20\x20\x20\x20\x20summary:\x20`Summary:\x20Tool\x20result\x20offloaded\x20(${rawTokens}\x20tokens).`,\x0a\x20\x20\x20\x20\x20\x20\x20\x20raw_payload:\x20contentStr\x0a\x20\x20\x20\x20\x20\x20},\x20null,\x202));\x0a\x0a\x20\x20\x20\x20\x20\x20if\x20(typeof\x20event.result\x20===\x20\x27string\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20event.result\x20=\x20replacement;\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(event.result\x20&&\x20typeof\x20event.result\x20===\x20\x27object\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20event.result.content\x20=\x20replacement;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20//\x20Update\x20sessions_state.json\x20with\x20hook\x20savings\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20statePath\x20=\x20path.join(baseDir,\x20\x27sessions_state.json\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20state\x20=\x20{};\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(fs.existsSync(statePath))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x20state\x20=\x20JSON.parse(fs.readFileSync(statePath,\x20\x27utf8\x27))\x20||\x20{};\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Find\x20latest\x20session\x20file\x20for\x20\x27claude\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20claudeDirs\x20=\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path.join(os.homedir(),\x20\x27.claude\x27,\x20\x27projects\x27),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path.join(os.homedir(),\x20\x27.claude\x27,\x20\x27history\x27)\x0a\x20\x20\x20\x20\x20\x20\x20\x20];\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20latestFullPath\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20latestTime\x20=\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(const\x20dir\x20of\x20claudeDirs)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(fs.existsSync(dir))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20scanDir\x20=\x20(currentDir,\x20depth\x20=\x200)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(depth\x20>\x206)\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20entries\x20=\x20fs.readdirSync(currentDir,\x20{\x20withFileTypes:\x20true\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20for\x20(const\x20entry\x20of\x20entries)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20full\x20=\x20path.join(currentDir,\x20entry.name);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(entry.isDirectory())\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scanDir(full,\x20depth\x20+\x201);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(entry.isFile()\x20&&\x20!entry.name.startsWith(\x27.\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(entry.name.endsWith(\x27.jsonl\x27)\x20||\x20entry.name.endsWith(\x27.json1\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20stat\x20=\x20fs.statSync(full);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(stat.mtimeMs\x20>\x20latestTime)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20latestTime\x20=\x20stat.mtimeMs;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20latestFullPath\x20=\x20full;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scanDir(dir);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(latestFullPath)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20existing\x20=\x20state[latestFullPath]\x20||\x20{};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20prevHook\x20=\x20existing.hookSavedTokens\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20newHook\x20=\x20prevHook\x20+\x20savedTokens;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20finalOfficial\x20=\x20existing.officialCompactSaved\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20finalAuto\x20=\x20existing.autoCompactSaved\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20state[latestFullPath]\x20=\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lineCount:\x20existing.lineCount\x20||\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20activeSavedTokens:\x20finalOfficial\x20+\x20finalAuto\x20+\x20newHook,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sideCacheSaved:\x20existing.sideCacheSaved\x20||\x200,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20officialCompactSaved:\x20finalOfficial,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autoCompactSaved:\x20finalAuto,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hookSavedTokens:\x20newHook\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(statePath,\x20JSON.stringify(state,\x20null,\x202),\x20\x27utf8\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20return\x20event;\x0a};\x0a','getOwnPropertyNames','20540810LxZoLI','606109idUFTJ','__importStar','installClaudeHooks','default','utf8','writeFileSync','join','10757056QRSpnK','__createBinding','writable','mkdirSync','997445SzHwCm','homedir','hooks','374212EyqQXk','3FxqMhp','__esModule','call','hasOwnProperty','9OKhzHx','configurable','55mPIiEy','defineProperty','existsSync'];a0_0x180a=function(){return _0x3f8ebb;};return a0_0x180a();}
1
+ 'use strict';function a0_0x48ed(){var _0x42ca24=['45XQQJWM','join','getOwnPropertyNames','__importStar','9CRPmTZ','homedir','defineProperty','3144160ireqQB','get','installClaudeHooks','__createBinding','400952OWGCBv','162057EwigaV','939984FkqxGg','default','create','__esModule','286162pFhKLo','447858jRwWmf','length','hasOwnProperty','post_tool_use.js','.claude','hooks','prototype','//\x20TrimPrompt\x20Native\x20PostToolUse\x20Hook\x20for\x20Claude\x20Code\x0aconst\x20fs\x20=\x20require(\x27fs\x27);\x0aconst\x20path\x20=\x20require(\x27path\x27);\x0aconst\x20os\x20=\x20require(\x27os\x27);\x0a\x0amodule.exports\x20=\x20async\x20function\x20postToolUse(event)\x20{\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20if\x20(!event\x20||\x20!event.result)\x20return\x20event;\x0a\x20\x20\x20\x20let\x20contentStr\x20=\x20typeof\x20event.result\x20===\x20\x27string\x27\x20?\x20event.result\x20:\x20JSON.stringify(event.result);\x0a\x20\x20\x20\x20if\x20(contentStr.length\x20>\x20500)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20baseDir\x20=\x20path.join(os.homedir(),\x20\x27.trimprompt\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20cacheDir\x20=\x20path.join(baseDir,\x20\x27cache\x27);\x0a\x20\x20\x20\x20\x20\x20if\x20(!fs.existsSync(cacheDir))\x20fs.mkdirSync(cacheDir,\x20{\x20recursive:\x20true\x20});\x0a\x20\x20\x20\x20\x20\x20const\x20chunkId\x20=\x20\x27chunk_\x27\x20+\x20Math.random().toString(36).substring(2,\x2011);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20const\x20rawTokens\x20=\x20Math.ceil(contentStr.length\x20/\x204);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20const\x20snippet\x20=\x20contentStr.substring(0,\x20200).replace(/\x5cn/g,\x20\x27\x20\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20replacement\x20=\x20`>\x20[!NOTE]\x5cn>\x20**[TrimPrompt\x20Context\x20Offloaded]**\x20Raw\x20tool\x20output\x20(${contentStr.length.toLocaleString()}\x20chars)\x20side-cached\x20locally.\x5cn>\x20Preview:\x20${snippet}...\x5cn>\x20Retrieve\x20raw:\x20\x5c`trim\x20retrieve\x20${chunkId}\x5c``;\x0a\x20\x20\x20\x20\x20\x20const\x20compressedTokens\x20=\x20Math.ceil(replacement.length\x20/\x204);\x0a\x20\x20\x20\x20\x20\x20const\x20savedTokens\x20=\x20Math.max(0,\x20rawTokens\x20-\x20compressedTokens);\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(cacheDir,\x20chunkId\x20+\x20\x27.json\x27),\x20JSON.stringify({\x0a\x20\x20\x20\x20\x20\x20\x20\x20chunk_id:\x20chunkId,\x0a\x20\x20\x20\x20\x20\x20\x20\x20raw_tokens:\x20rawTokens,\x0a\x20\x20\x20\x20\x20\x20\x20\x20compressed_tokens:\x20compressedTokens,\x0a\x20\x20\x20\x20\x20\x20\x20\x20created_at:\x20new\x20Date().toISOString(),\x0a\x20\x20\x20\x20\x20\x20\x20\x20last_accessed_at:\x20new\x20Date().toISOString(),\x0a\x20\x20\x20\x20\x20\x20\x20\x20summary:\x20`Summary:\x20Tool\x20result\x20offloaded\x20(${rawTokens}\x20tokens).`,\x0a\x20\x20\x20\x20\x20\x20\x20\x20raw_payload:\x20contentStr\x0a\x20\x20\x20\x20\x20\x20},\x20null,\x202));\x0a\x0a\x20\x20\x20\x20\x20\x20if\x20(typeof\x20event.result\x20===\x20\x27string\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20event.result\x20=\x20replacement;\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(event.result\x20&&\x20typeof\x20event.result\x20===\x20\x27object\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20event.result.content\x20=\x20replacement;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20//\x20Update\x20sessions_state.json\x20with\x20hook\x20savings\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20statePath\x20=\x20path.join(baseDir,\x20\x27sessions_state.json\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20state\x20=\x20{};\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(fs.existsSync(statePath))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x20state\x20=\x20JSON.parse(fs.readFileSync(statePath,\x20\x27utf8\x27))\x20||\x20{};\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Find\x20latest\x20session\x20file\x20for\x20\x27claude\x27\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20claudeDirs\x20=\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path.join(os.homedir(),\x20\x27.claude\x27,\x20\x27projects\x27),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path.join(os.homedir(),\x20\x27.claude\x27,\x20\x27history\x27)\x0a\x20\x20\x20\x20\x20\x20\x20\x20];\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20latestFullPath\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20latestTime\x20=\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(const\x20dir\x20of\x20claudeDirs)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(fs.existsSync(dir))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20scanDir\x20=\x20(currentDir,\x20depth\x20=\x200)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(depth\x20>\x206)\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20entries\x20=\x20fs.readdirSync(currentDir,\x20{\x20withFileTypes:\x20true\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20for\x20(const\x20entry\x20of\x20entries)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20full\x20=\x20path.join(currentDir,\x20entry.name);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(entry.isDirectory())\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scanDir(full,\x20depth\x20+\x201);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(entry.isFile()\x20&&\x20!entry.name.startsWith(\x27.\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(entry.name.endsWith(\x27.jsonl\x27)\x20||\x20entry.name.endsWith(\x27.json1\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20stat\x20=\x20fs.statSync(full);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(stat.mtimeMs\x20>\x20latestTime)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20latestTime\x20=\x20stat.mtimeMs;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20latestFullPath\x20=\x20full;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scanDir(dir);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(latestFullPath)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20existing\x20=\x20state[latestFullPath]\x20||\x20{};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20prevHook\x20=\x20existing.hookSavedTokens\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20newHook\x20=\x20prevHook\x20+\x20savedTokens;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20finalOfficial\x20=\x20existing.officialCompactSaved\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20finalAuto\x20=\x20existing.autoCompactSaved\x20||\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20state[latestFullPath]\x20=\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lineCount:\x20existing.lineCount\x20||\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20activeSavedTokens:\x20finalOfficial\x20+\x20finalAuto\x20+\x20newHook,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sideCacheSaved:\x20existing.sideCacheSaved\x20||\x200,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20officialCompactSaved:\x20finalOfficial,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autoCompactSaved:\x20finalAuto,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hookSavedTokens:\x20newHook\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(statePath,\x20JSON.stringify(state,\x20null,\x202),\x20\x27utf8\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x20catch\x20(e)\x20{}\x0a\x20\x20return\x20event;\x0a};\x0a','call','writable','16968410IdhmxZ','8fgfttm','existsSync'];a0_0x48ed=function(){return _0x42ca24;};return a0_0x48ed();}var a0_0x53eab7=a0_0xe9ea;(function(_0x55b2bc,_0x4ef852){var _0x4ea64e=a0_0xe9ea,_0x11a04c=_0x55b2bc();while(!![]){try{var _0xf83a60=parseInt(_0x4ea64e(0xe8))/0x1*(-parseInt(_0x4ea64e(0xd5))/0x2)+parseInt(_0x4ea64e(0xe4))/0x3+-parseInt(_0x4ea64e(0xde))/0x4+-parseInt(_0x4ea64e(0xd7))/0x5*(-parseInt(_0x4ea64e(0xe9))/0x6)+parseInt(_0x4ea64e(0xe3))/0x7+parseInt(_0x4ea64e(0xe2))/0x8*(-parseInt(_0x4ea64e(0xdb))/0x9)+parseInt(_0x4ea64e(0xd4))/0xa;if(_0xf83a60===_0x4ef852)break;else _0x11a04c['push'](_0x11a04c['shift']());}catch(_0x7a4b9f){_0x11a04c['push'](_0x11a04c['shift']());}}}(a0_0x48ed,0xb0d4c));var __createBinding=this&&this[a0_0x53eab7(0xe1)]||(Object['create']?function(_0x308459,_0x22a28a,_0x26bc75,_0x111852){var _0x13d24a=a0_0x53eab7;if(_0x111852===undefined)_0x111852=_0x26bc75;var _0x411fa6=Object['getOwnPropertyDescriptor'](_0x22a28a,_0x26bc75);(!_0x411fa6||(_0x13d24a(0xdf)in _0x411fa6?!_0x22a28a[_0x13d24a(0xe7)]:_0x411fa6[_0x13d24a(0xd3)]||_0x411fa6['configurable']))&&(_0x411fa6={'enumerable':!![],'get':function(){return _0x22a28a[_0x26bc75];}}),Object[_0x13d24a(0xdd)](_0x308459,_0x111852,_0x411fa6);}:function(_0x547164,_0x388382,_0x3ba9f9,_0x4454c6){if(_0x4454c6===undefined)_0x4454c6=_0x3ba9f9;_0x547164[_0x4454c6]=_0x388382[_0x3ba9f9];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x53eab7(0xe6)]?function(_0x1211d0,_0x117163){var _0x267295=a0_0x53eab7;Object[_0x267295(0xdd)](_0x1211d0,_0x267295(0xe5),{'enumerable':!![],'value':_0x117163});}:function(_0x572fec,_0x2d5554){var _0x3acae2=a0_0x53eab7;_0x572fec[_0x3acae2(0xe5)]=_0x2d5554;}),__importStar=this&&this[a0_0x53eab7(0xda)]||(function(){var _0x446a5a=function(_0x405840){var _0x4de99c=a0_0xe9ea;return _0x446a5a=Object[_0x4de99c(0xd9)]||function(_0x35d56b){var _0x5d011e=_0x4de99c,_0x345dc6=[];for(var _0x4909a6 in _0x35d56b)if(Object[_0x5d011e(0xd0)][_0x5d011e(0xeb)][_0x5d011e(0xd2)](_0x35d56b,_0x4909a6))_0x345dc6[_0x345dc6['length']]=_0x4909a6;return _0x345dc6;},_0x446a5a(_0x405840);};return function(_0x175da8){var _0x3ec802=a0_0xe9ea;if(_0x175da8&&_0x175da8['__esModule'])return _0x175da8;var _0x27cb45={};if(_0x175da8!=null){for(var _0x29babc=_0x446a5a(_0x175da8),_0x1ebd70=0x0;_0x1ebd70<_0x29babc[_0x3ec802(0xea)];_0x1ebd70++)if(_0x29babc[_0x1ebd70]!==_0x3ec802(0xe5))__createBinding(_0x27cb45,_0x175da8,_0x29babc[_0x1ebd70]);}return __setModuleDefault(_0x27cb45,_0x175da8),_0x27cb45;};}());Object[a0_0x53eab7(0xdd)](exports,a0_0x53eab7(0xe7),{'value':!![]}),exports[a0_0x53eab7(0xe0)]=installClaudeHooks;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os'));function a0_0xe9ea(_0x1b669e,_0xdee5b5){_0x1b669e=_0x1b669e-0xce;var _0x48ed22=a0_0x48ed();var _0xe9ea89=_0x48ed22[_0x1b669e];return _0xe9ea89;}function installClaudeHooks(){var _0x36b97b=a0_0x53eab7;try{const _0x24f770=path[_0x36b97b(0xd8)](os[_0x36b97b(0xdc)](),_0x36b97b(0xce),_0x36b97b(0xcf));!fs[_0x36b97b(0xd6)](_0x24f770)&&fs['mkdirSync'](_0x24f770,{'recursive':!![]});const _0x395041=path[_0x36b97b(0xd8)](_0x24f770,_0x36b97b(0xec)),_0x5ac4b2=_0x36b97b(0xd1);fs['writeFileSync'](_0x395041,_0x5ac4b2,'utf8');}catch(_0x1e46ce){}}