@ranger-testing/ranger-cli 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -0
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +2 -1
@@ -1 +1 @@
1
- (function(_0x25dc07,_0x40a4d3){const _0x1820a8=_0x563c,_0x11cf0f=_0x25dc07();while(!![]){try{const _0x3fdeb2=parseInt(_0x1820a8(0xe9))/0x1+parseInt(_0x1820a8(0xdd))/0x2*(-parseInt(_0x1820a8(0x116))/0x3)+parseInt(_0x1820a8(0x10c))/0x4+parseInt(_0x1820a8(0x114))/0x5*(-parseInt(_0x1820a8(0x10a))/0x6)+-parseInt(_0x1820a8(0xef))/0x7*(-parseInt(_0x1820a8(0xe4))/0x8)+-parseInt(_0x1820a8(0xe2))/0x9*(parseInt(_0x1820a8(0xf3))/0xa)+parseInt(_0x1820a8(0x111))/0xb*(-parseInt(_0x1820a8(0xda))/0xc);if(_0x3fdeb2===_0x40a4d3)break;else _0x11cf0f['push'](_0x11cf0f['shift']());}catch(_0x1b59c6){_0x11cf0f['push'](_0x11cf0f['shift']());}}}(_0x3aae,0xd9eab));function _0x3aae(){const _0x3bfc28=['Completed','WgbQq','80448AwqrIj','-\x20**Reason:**\x20','currentSession','5266vYTCNB','push','filter','xPFPo','toLocaleDateString','1081926TjdlGh','closed','592lYgfAR','ZvDXA','Wydde','join','YVQXY','1468299GjHNgM','GQBuB','traceUrl','**:\x20','None','checklistItemId','103796ASLqLt','floor','verifiedAt','ejQKS','60GMaBeq','completedAt','createdAt','No\x20Session','-\x20**Blocked:**\x20','pending',':\x20In\x20Progress','##\x20Blocking\x20Issues','arFZP','sort','completed','XxJDD','numeric','durationMs','ready','-\x20**Verified:**\x20','status','aNpKX','blocked','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','length','N/A','verified','25668kSfqiW','Session\x20','4329860jqLFUJ','in_progress','hJMwL','blockedReason','find','2376QgSeBX','##\x20Description','description','565abfBFu','blockedAt','117Qvqbyd','\x20|\x20','closedAt','**Branch:**\x20','short','gitRepoUrl','position','gitBranch'];_0x3aae=function(){return _0x3bfc28;};return _0x3aae();}function _0x563c(_0x1d9c23,_0x3d86d7){_0x1d9c23=_0x1d9c23-0xd8;const _0x3aaef1=_0x3aae();let _0x563cb8=_0x3aaef1[_0x1d9c23];return _0x563cb8;}export function buildTraceViewerUrl(_0x2c4755){const _0x37865c=encodeURIComponent(_0x2c4755);return'https://trace.playwright.dev/?trace='+_0x37865c;}function getStatusEmoji(_0x57ea0f){const _0x205774=_0x563c,_0x15ac10={'HYMWP':'verified','GQBuB':'completed','Hybyp':_0x205774(0xf8)};switch(_0x57ea0f){case _0x15ac10['HYMWP']:case _0x15ac10[_0x205774(0xea)]:return'✅';case _0x15ac10['Hybyp']:case _0x205774(0x10d):return'🔄';case'incomplete':return'🟠';case _0x205774(0x105):return'🛑';case _0x205774(0xe3):return'';default:return'❓';}}function formatDuration(_0x273678){const _0x12b623=_0x563c,_0x5d3ab2={'ejQKS':function(_0x54a737,_0x333da6){return _0x54a737===_0x333da6;},'XxJDD':function(_0x5cf100,_0x7227ac){return _0x5cf100/_0x7227ac;}};if(_0x5d3ab2[_0x12b623(0xf2)](_0x273678,null)||_0x273678===undefined)return'N/A';if(_0x273678<0x3e8)return _0x273678+'ms';const _0xfff725=Math['floor'](_0x273678/0x3e8);if(_0xfff725<0x3c)return _0xfff725+'s';const _0x617960=Math[_0x12b623(0xf0)](_0x5d3ab2[_0x12b623(0xfe)](_0xfff725,0x3c)),_0x121431=_0xfff725%0x3c;return _0x617960+'m\x20'+_0x121431+'s';}function formatDate(_0x5f27c8){const _0x58176f=_0x563c,_0x7553d4={'QPVXC':'N/A','Wydde':'en-US','kgsJj':_0x58176f(0x11a)};if(!_0x5f27c8)return _0x7553d4['QPVXC'];return new Date(_0x5f27c8)[_0x58176f(0xe1)](_0x7553d4[_0x58176f(0xe6)],{'year':_0x58176f(0xff),'month':_0x7553d4['kgsJj'],'day':_0x58176f(0xff)});}export function generateFeatureReport(_0x25bab0){const _0x35e1f6=_0x563c,_0x33872e={'qczsE':_0x35e1f6(0xd8),'AfeVr':_0x35e1f6(0x10d),'ZvDXA':_0x35e1f6(0xf6),'xPFPo':_0x35e1f6(0x112),'nZuSY':_0x35e1f6(0xe3),'WgbQq':function(_0x4ec156,_0x36c0a2){return _0x4ec156===_0x36c0a2;},'mrIZQ':function(_0x122263,_0xcd076f){return _0x122263===_0xcd076f;},'QvZXG':function(_0x2db278,_0x481fcb){return _0x2db278(_0x481fcb);},'vHOvt':'##\x20Blocking\x20Issues','aNpKX':function(_0x3379cc,_0x63f881){return _0x3379cc>_0x63f881;},'YVQXY':'##\x20All\x20Verification\x20Sessions','DYRPC':'|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','hJMwL':'...','arFZP':_0x35e1f6(0x108),'zExpC':function(_0x25673b,_0x25a9db){return _0x25673b===_0x25a9db;},'OvfTm':_0x35e1f6(0xfd),'cmlfB':function(_0x5501c7,_0x1fa5a9){return _0x5501c7(_0x1fa5a9);}},{feature:_0x28f159,stats:_0x3e9fca,checklistItems:_0x471415,sessions:_0x514dc4}=_0x25bab0,_0x3b4003=[];_0x3b4003[_0x35e1f6(0xde)]('#\x20Feature\x20Review\x20Report:\x20'+_0x28f159['name']),_0x3b4003['push']('');let _0x53da13,_0x34ce84;if(_0x28f159[_0x35e1f6(0xf4)])_0x53da13=_0x33872e['qczsE'],_0x34ce84='✅';else{if(_0x28f159['currentSession']){const _0x2dac91=_0x28f159[_0x35e1f6(0xdc)][_0x35e1f6(0x103)];switch(_0x2dac91){case _0x35e1f6(0x101):_0x53da13=_0x35e1f6(0x10b)+_0x28f159[_0x35e1f6(0xdc)]['iteration']+':\x20Ready',_0x34ce84='▶️';break;case _0x33872e['AfeVr']:_0x53da13='Session\x20'+_0x28f159['currentSession']['iteration']+_0x35e1f6(0xf9),_0x34ce84='🔄';break;case'completed':_0x53da13=_0x35e1f6(0x10b)+_0x28f159[_0x35e1f6(0xdc)]['iteration']+':\x20Awaiting\x20Review',_0x34ce84='📊';break;default:_0x53da13='Unknown',_0x34ce84='❓';}}else _0x53da13=_0x33872e[_0x35e1f6(0xe5)],_0x34ce84='⬜';}_0x3b4003['push']('**Status:**\x20'+_0x34ce84+'\x20'+_0x53da13),_0x3b4003['push']('**Created:**\x20'+formatDate(_0x28f159['createdAt']));_0x28f159[_0x35e1f6(0xf4)]&&_0x3b4003['push']('**Completed:**\x20'+formatDate(_0x28f159[_0x35e1f6(0xf4)]));_0x28f159[_0x35e1f6(0x11b)]&&_0x3b4003[_0x35e1f6(0xde)]('**Repository:**\x20'+_0x28f159[_0x35e1f6(0x11b)]);_0x28f159[_0x35e1f6(0x11d)]&&_0x3b4003['push'](_0x35e1f6(0x119)+_0x28f159['gitBranch']);_0x3b4003[_0x35e1f6(0xde)]('');_0x28f159['description']&&(_0x3b4003['push'](_0x33872e[_0x35e1f6(0xe0)]),_0x3b4003[_0x35e1f6(0xde)](''),_0x3b4003['push'](_0x28f159[_0x35e1f6(0x113)]),_0x3b4003['push'](''));const _0xc8504b=_0x471415['filter'](_0x577552=>_0x577552['status']!=='closed'),_0xd0187f=_0x471415[_0x35e1f6(0xdf)](_0x52b6a2=>_0x52b6a2[_0x35e1f6(0x103)]===_0x35e1f6(0x109))[_0x35e1f6(0x107)];_0x3b4003[_0x35e1f6(0xde)]('##\x20Scenario\x20Progress\x20('+_0xd0187f+'/'+_0xc8504b[_0x35e1f6(0x107)]+'\x20verified)'),_0x3b4003[_0x35e1f6(0xde)]('');const _0x22a8ad=[..._0x471415][_0x35e1f6(0xfc)]((_0x2f2404,_0x52091e)=>_0x2f2404[_0x35e1f6(0x11c)]-_0x52091e[_0x35e1f6(0x11c)]);for(const _0xc02920 of _0x22a8ad){const _0x3f8bfe=getStatusEmoji(_0xc02920[_0x35e1f6(0x103)]),_0x9a1853=_0xc02920['status']===_0x33872e['nZuSY'],_0x4f206a=_0x9a1853?'~~':'',_0xbf9df3=_0x9a1853?'~~':'';_0x3b4003['push']('###\x20'+_0x3f8bfe+'\x20'+_0x4f206a+_0xc02920[_0x35e1f6(0x113)]+_0xbf9df3),_0x3b4003[_0x35e1f6(0xde)]('');_0x33872e[_0x35e1f6(0xd9)](_0xc02920[_0x35e1f6(0x103)],'verified')&&_0xc02920[_0x35e1f6(0xf1)]&&_0x3b4003[_0x35e1f6(0xde)](_0x35e1f6(0x102)+formatDate(_0xc02920[_0x35e1f6(0xf1)]));_0xc02920[_0x35e1f6(0x103)]===_0x35e1f6(0x105)&&_0xc02920[_0x35e1f6(0x115)]&&(_0x3b4003['push'](_0x35e1f6(0xf7)+formatDate(_0xc02920['blockedAt'])),_0xc02920[_0x35e1f6(0x10f)]&&_0x3b4003[_0x35e1f6(0xde)]('-\x20**Reason:**\x20'+_0xc02920['blockedReason']));_0x33872e['mrIZQ'](_0xc02920[_0x35e1f6(0x103)],_0x33872e['nZuSY'])&&_0xc02920[_0x35e1f6(0x118)]&&(_0x3b4003[_0x35e1f6(0xde)]('-\x20**Closed:**\x20'+_0x33872e['QvZXG'](formatDate,_0xc02920['closedAt'])),_0xc02920['canceledReason']&&_0x3b4003[_0x35e1f6(0xde)](_0x35e1f6(0xdb)+_0xc02920['canceledReason']));_0xc02920['status']==='incomplete'&&_0x3b4003['push'](_0x35e1f6(0x106));if(_0xc02920['browserSessionId']){_0x3b4003[_0x35e1f6(0xde)]('-\x20**Session:**\x20'+_0xc02920['browserSessionId']);const _0x16cf18=_0x514dc4['find'](_0x526a89=>_0x526a89['id']===_0xc02920['browserSessionId']);_0x16cf18&&(_0x16cf18['agentResponse']&&_0x3b4003['push']('-\x20**Summary:**\x20'+_0x16cf18['agentResponse']),_0x16cf18[_0x35e1f6(0xeb)]&&_0x3b4003['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+buildTraceViewerUrl(_0x16cf18['traceUrl'])+')'));}_0x3b4003['push']('');}const _0x437a78=_0x471415[_0x35e1f6(0xdf)](_0x4a171a=>_0x4a171a[_0x35e1f6(0x103)]===_0x35e1f6(0x105));if(_0x437a78['length']>0x0){_0x3b4003['push'](_0x35e1f6(0xfa)),_0x3b4003[_0x35e1f6(0xde)]('');for(const _0x52199f of _0x437a78){_0x3b4003[_0x35e1f6(0xde)]('-\x20**'+_0x52199f[_0x35e1f6(0x113)]+_0x35e1f6(0xec)+(_0x52199f['blockedReason']||'No\x20reason\x20provided'));}_0x3b4003[_0x35e1f6(0xde)]('');}else _0x3b4003['push'](_0x33872e['vHOvt']),_0x3b4003[_0x35e1f6(0xde)](''),_0x3b4003['push'](_0x35e1f6(0xed)),_0x3b4003['push']('');if(_0x33872e[_0x35e1f6(0x104)](_0x514dc4[_0x35e1f6(0x107)],0x0)){_0x3b4003['push'](_0x33872e[_0x35e1f6(0xe8)]),_0x3b4003['push'](''),_0x3b4003[_0x35e1f6(0xde)](_0x33872e['DYRPC']),_0x3b4003['push']('|---------|----------|--------|----------|------|');for(const _0x3a2dd5 of _0x514dc4){const _0xab9e93=_0x3a2dd5[_0x35e1f6(0xee)]?_0x471415[_0x35e1f6(0x110)](_0x59d0ce=>_0x59d0ce['id']===_0x3a2dd5[_0x35e1f6(0xee)]):null,_0x214042=_0xab9e93?_0xab9e93['description']['substring'](0x0,0x1e)+(_0xab9e93[_0x35e1f6(0x113)]['length']>0x1e?_0x33872e[_0x35e1f6(0x10e)]:''):_0x33872e[_0x35e1f6(0xfb)],_0x5d5c7a=_0x33872e['zExpC'](_0x3a2dd5['status'],_0x33872e['OvfTm'])?'✅':_0x3a2dd5['status']==='failed'?'❌':'🔄';_0x3b4003['push']('|\x20'+_0x3a2dd5['id']+'\x20|\x20'+_0x214042+_0x35e1f6(0x117)+_0x5d5c7a+'\x20'+_0x3a2dd5[_0x35e1f6(0x103)]+'\x20|\x20'+formatDuration(_0x3a2dd5[_0x35e1f6(0x100)])+_0x35e1f6(0x117)+_0x33872e['cmlfB'](formatDate,_0x3a2dd5[_0x35e1f6(0xf5)])+'\x20|');}_0x3b4003['push']('');}return _0x3b4003[_0x35e1f6(0xe7)]('\x0a');}
1
+ (function(_0x5aee30,_0x373af1){const _0x87be6f=_0x3280,_0x2e05d2=_0x5aee30();while(!![]){try{const _0x243915=parseInt(_0x87be6f(0x13b))/0x1*(-parseInt(_0x87be6f(0x13f))/0x2)+-parseInt(_0x87be6f(0x13d))/0x3+-parseInt(_0x87be6f(0x16f))/0x4+parseInt(_0x87be6f(0x162))/0x5+parseInt(_0x87be6f(0x14a))/0x6+parseInt(_0x87be6f(0x16e))/0x7+parseInt(_0x87be6f(0x13a))/0x8*(parseInt(_0x87be6f(0x156))/0x9);if(_0x243915===_0x373af1)break;else _0x2e05d2['push'](_0x2e05d2['shift']());}catch(_0x63496b){_0x2e05d2['push'](_0x2e05d2['shift']());}}}(_0x24b9,0x76c51));export function buildTraceViewerUrl(_0x706461){const _0x1ebe99=_0x3280,_0x1959d2={'iDklp':function(_0x23561e,_0x515323){return _0x23561e(_0x515323);}},_0x12cd6c=_0x1959d2['iDklp'](encodeURIComponent,_0x706461);return _0x1ebe99(0x142)+_0x12cd6c;}function getStatusEmoji(_0x40b94d){const _0x42754a=_0x3280,_0x3b7618={'xKwrD':_0x42754a(0x130),'wCUbT':_0x42754a(0x15a),'kmSJc':'incomplete','lKDgE':_0x42754a(0x167)};switch(_0x40b94d){case _0x3b7618['xKwrD']:case'completed':return'✅';case _0x3b7618[_0x42754a(0x131)]:case _0x42754a(0x170):return'🔄';case _0x3b7618[_0x42754a(0x154)]:return'🟠';case _0x3b7618[_0x42754a(0x141)]:return'🛑';case _0x42754a(0x135):return'⛔';default:return'❓';}}function _0x3280(_0x29f6a1,_0x34d7e9){_0x29f6a1=_0x29f6a1-0x12b;const _0x24b9e4=_0x24b9();let _0x3280fd=_0x24b9e4[_0x29f6a1];return _0x3280fd;}function formatDuration(_0x4dbdb8){const _0x2bfb0a=_0x3280,_0x10b1fd={'BKBpG':function(_0x370df8,_0x2a2781){return _0x370df8===_0x2a2781;},'bzMfF':function(_0x59920f,_0x202d1d){return _0x59920f<_0x202d1d;},'lArDI':function(_0x33ca64,_0x479555){return _0x33ca64%_0x479555;}};if(_0x10b1fd['BKBpG'](_0x4dbdb8,null)||_0x10b1fd[_0x2bfb0a(0x16b)](_0x4dbdb8,undefined))return _0x2bfb0a(0x134);if(_0x10b1fd[_0x2bfb0a(0x173)](_0x4dbdb8,0x3e8))return _0x4dbdb8+'ms';const _0x2c91e0=Math['floor'](_0x4dbdb8/0x3e8);if(_0x2c91e0<0x3c)return _0x2c91e0+'s';const _0xfc7a66=Math[_0x2bfb0a(0x15c)](_0x2c91e0/0x3c),_0x2bbaae=_0x10b1fd['lArDI'](_0x2c91e0,0x3c);return _0xfc7a66+'m\x20'+_0x2bbaae+'s';}function _0x24b9(){const _0x152c2b=['kmSJc',':\x20In\x20Progress','7731981eBRbAM','RiBVH','QgHXw','###\x20','pending','checklistItemId','floor',':\x20Ready','iteration','filter','blockedReason','...','968510ZHxodC','closedAt','None','**Branch:**\x20','xuaXu','blocked','\x20verified)','currentSession','#\x20Feature\x20Review\x20Report:\x20','BKBpG','push','browserSessionId','6413820RiAaMG','3641172VUAUzo','in_progress','blockedAt','find','bzMfF','aJURN','EtqbE','OjArM','incomplete','short','status','numeric','sort','verified','wCUbT','createdAt','Completed','N/A','closed','JIoKS','length','kPMCk','description','8CRepLs','1AOVCUJ','##\x20Blocking\x20Issues','935442indNuk','completedAt','1487440HEYfZG','uYNkW','lKDgE','https://trace.playwright.dev/?trace=','gitBranch','aFVmh','position','canceledReason','Ygzpv','\x20|\x20','-\x20**Trace:**\x20[View\x20in\x20Playwright](','2899422QsWjNk','-\x20**Blocked:**\x20','##\x20Scenario\x20Progress\x20(','**Completed:**\x20','RKFep','-\x20**Reason:**\x20','traceUrl','**:\x20','verifiedAt','**Repository:**\x20'];_0x24b9=function(){return _0x152c2b;};return _0x24b9();}function formatDate(_0x3b2954){const _0x482233=_0x3280,_0x37c277={'EtqbE':_0x482233(0x134),'aFVmh':_0x482233(0x12e)};if(!_0x3b2954)return _0x37c277[_0x482233(0x175)];return new Date(_0x3b2954)['toLocaleDateString']('en-US',{'year':_0x37c277['aFVmh'],'month':_0x482233(0x12c),'day':_0x37c277[_0x482233(0x144)]});}export function generateFeatureReport(_0x47d34e){const _0x750b43=_0x3280,_0x4e2424={'OZkxW':'ready','RKFep':'completed','RiBVH':'Unknown','OjArM':'No\x20Session','aJURN':function(_0x435d9d,_0x34ae95){return _0x435d9d(_0x34ae95);},'QgHXw':'##\x20Description','JIoKS':'closed','xuaXu':_0x750b43(0x12b),'cKulk':'##\x20Blocking\x20Issues','MAFej':'|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','Ygzpv':'|---------|----------|--------|----------|------|','Xkklt':function(_0x350cd6,_0x3d8994){return _0x350cd6+_0x3d8994;},'uYNkW':_0x750b43(0x161),'BYbEC':'N/A','YfSKh':function(_0x4b50bb,_0x3fad34){return _0x4b50bb===_0x3fad34;},'kPMCk':function(_0x40c91b,_0x3a5486){return _0x40c91b===_0x3a5486;}},{feature:_0x109ca1,stats:_0x5c0e6a,checklistItems:_0x23f3f0,sessions:_0x30fb43}=_0x47d34e,_0x1929b3=[];_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x16a)+_0x109ca1['name']),_0x1929b3[_0x750b43(0x16c)]('');let _0x1c0d16,_0x4f8beb;if(_0x109ca1[_0x750b43(0x13e)])_0x1c0d16=_0x750b43(0x133),_0x4f8beb='✅';else{if(_0x109ca1[_0x750b43(0x169)]){const _0x51bab3=_0x109ca1['currentSession']['status'];switch(_0x51bab3){case _0x4e2424['OZkxW']:_0x1c0d16='Session\x20'+_0x109ca1['currentSession']['iteration']+_0x750b43(0x15d),_0x4f8beb='▶️';break;case'in_progress':_0x1c0d16='Session\x20'+_0x109ca1[_0x750b43(0x169)][_0x750b43(0x15e)]+_0x750b43(0x155),_0x4f8beb='🔄';break;case _0x4e2424[_0x750b43(0x14e)]:_0x1c0d16='Session\x20'+_0x109ca1['currentSession'][_0x750b43(0x15e)]+':\x20Awaiting\x20Review',_0x4f8beb='📊';break;default:_0x1c0d16=_0x4e2424[_0x750b43(0x157)],_0x4f8beb='❓';}}else _0x1c0d16=_0x4e2424[_0x750b43(0x176)],_0x4f8beb='⬜';}_0x1929b3[_0x750b43(0x16c)]('**Status:**\x20'+_0x4f8beb+'\x20'+_0x1c0d16),_0x1929b3[_0x750b43(0x16c)]('**Created:**\x20'+_0x4e2424['aJURN'](formatDate,_0x109ca1[_0x750b43(0x132)]));_0x109ca1[_0x750b43(0x13e)]&&_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x14d)+formatDate(_0x109ca1['completedAt']));_0x109ca1['gitRepoUrl']&&_0x1929b3['push'](_0x750b43(0x153)+_0x109ca1['gitRepoUrl']);_0x109ca1[_0x750b43(0x143)]&&_0x1929b3['push'](_0x750b43(0x165)+_0x109ca1[_0x750b43(0x143)]);_0x1929b3['push']('');_0x109ca1[_0x750b43(0x139)]&&(_0x1929b3[_0x750b43(0x16c)](_0x4e2424[_0x750b43(0x158)]),_0x1929b3['push'](''),_0x1929b3['push'](_0x109ca1['description']),_0x1929b3['push'](''));const _0x4bd52b=_0x23f3f0['filter'](_0x272234=>_0x272234[_0x750b43(0x12d)]!==_0x750b43(0x135)),_0x24d950=_0x23f3f0[_0x750b43(0x15f)](_0x2777c5=>_0x2777c5['status']===_0x750b43(0x130))['length'];_0x1929b3['push'](_0x750b43(0x14c)+_0x24d950+'/'+_0x4bd52b[_0x750b43(0x137)]+_0x750b43(0x168)),_0x1929b3[_0x750b43(0x16c)]('');const _0x2b24a6=[..._0x23f3f0][_0x750b43(0x12f)]((_0x5f0eda,_0x18a5df)=>_0x5f0eda[_0x750b43(0x145)]-_0x18a5df[_0x750b43(0x145)]);for(const _0x52fc60 of _0x2b24a6){const _0x5db9a4=getStatusEmoji(_0x52fc60[_0x750b43(0x12d)]),_0x1e8cd2=_0x52fc60['status']===_0x750b43(0x135),_0x3e5983=_0x1e8cd2?'~~':'',_0x33e560=_0x1e8cd2?'~~':'';_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x159)+_0x5db9a4+'\x20'+_0x3e5983+_0x52fc60['description']+_0x33e560),_0x1929b3['push']('');_0x52fc60[_0x750b43(0x12d)]===_0x750b43(0x130)&&_0x52fc60['verifiedAt']&&_0x1929b3['push']('-\x20**Verified:**\x20'+formatDate(_0x52fc60[_0x750b43(0x152)]));_0x52fc60['status']===_0x750b43(0x167)&&_0x52fc60[_0x750b43(0x171)]&&(_0x1929b3['push'](_0x750b43(0x14b)+_0x4e2424[_0x750b43(0x174)](formatDate,_0x52fc60['blockedAt'])),_0x52fc60[_0x750b43(0x160)]&&_0x1929b3['push'](_0x750b43(0x14f)+_0x52fc60[_0x750b43(0x160)]));_0x52fc60[_0x750b43(0x12d)]===_0x4e2424[_0x750b43(0x136)]&&_0x52fc60[_0x750b43(0x163)]&&(_0x1929b3['push']('-\x20**Closed:**\x20'+_0x4e2424[_0x750b43(0x174)](formatDate,_0x52fc60['closedAt'])),_0x52fc60['canceledReason']&&_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x14f)+_0x52fc60[_0x750b43(0x146)]));_0x52fc60['status']===_0x4e2424[_0x750b43(0x166)]&&_0x1929b3[_0x750b43(0x16c)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x52fc60[_0x750b43(0x16d)]){_0x1929b3['push']('-\x20**Session:**\x20'+_0x52fc60['browserSessionId']);const _0xbf2af2=_0x30fb43['find'](_0x331c80=>_0x331c80['id']===_0x52fc60['browserSessionId']);_0xbf2af2&&(_0xbf2af2['agentResponse']&&_0x1929b3[_0x750b43(0x16c)]('-\x20**Summary:**\x20'+_0xbf2af2['agentResponse']),_0xbf2af2[_0x750b43(0x150)]&&_0x1929b3['push'](_0x750b43(0x149)+_0x4e2424['aJURN'](buildTraceViewerUrl,_0xbf2af2['traceUrl'])+')'));}_0x1929b3['push']('');}const _0x469f5f=_0x23f3f0[_0x750b43(0x15f)](_0x286a35=>_0x286a35[_0x750b43(0x12d)]==='blocked');if(_0x469f5f['length']>0x0){_0x1929b3['push'](_0x4e2424['cKulk']),_0x1929b3['push']('');for(const _0x1d716d of _0x469f5f){_0x1929b3['push']('-\x20**'+_0x1d716d['description']+_0x750b43(0x151)+(_0x1d716d[_0x750b43(0x160)]||'No\x20reason\x20provided'));}_0x1929b3[_0x750b43(0x16c)]('');}else _0x1929b3['push'](_0x750b43(0x13c)),_0x1929b3['push'](''),_0x1929b3[_0x750b43(0x16c)](_0x750b43(0x164)),_0x1929b3[_0x750b43(0x16c)]('');if(_0x30fb43[_0x750b43(0x137)]>0x0){_0x1929b3[_0x750b43(0x16c)]('##\x20All\x20Verification\x20Sessions'),_0x1929b3['push'](''),_0x1929b3[_0x750b43(0x16c)](_0x4e2424['MAFej']),_0x1929b3[_0x750b43(0x16c)](_0x4e2424[_0x750b43(0x147)]);for(const _0x1f5c51 of _0x30fb43){const _0x1919e7=_0x1f5c51['checklistItemId']?_0x23f3f0[_0x750b43(0x172)](_0x3b56c6=>_0x3b56c6['id']===_0x1f5c51[_0x750b43(0x15b)]):null,_0x288033=_0x1919e7?_0x4e2424['Xkklt'](_0x1919e7['description']['substring'](0x0,0x1e),_0x1919e7[_0x750b43(0x139)]['length']>0x1e?_0x4e2424[_0x750b43(0x140)]:''):_0x4e2424['BYbEC'],_0x41d9a1=_0x4e2424['YfSKh'](_0x1f5c51[_0x750b43(0x12d)],_0x4e2424['RKFep'])?'✅':_0x4e2424[_0x750b43(0x138)](_0x1f5c51[_0x750b43(0x12d)],'failed')?'❌':'🔄';_0x1929b3[_0x750b43(0x16c)]('|\x20'+_0x1f5c51['id']+'\x20|\x20'+_0x288033+'\x20|\x20'+_0x41d9a1+'\x20'+_0x1f5c51['status']+_0x750b43(0x148)+formatDuration(_0x1f5c51['durationMs'])+'\x20|\x20'+_0x4e2424['aJURN'](formatDate,_0x1f5c51['createdAt'])+'\x20|');}_0x1929b3[_0x750b43(0x16c)]('');}return _0x1929b3['join']('\x0a');}
@@ -1 +1 @@
1
- const _0x5e75e4=_0x56d3;function _0x2171(){const _0x2d6f95=['jEFkw','idLen','nlRGn','KVNzj','QNCYG','sizeLen','99258YemSxP','qlrdD','gHYQE','XZsIF','TWYPN','UxaZf','KeQzO','length','9PrZlyv','FaOxn','NxTBv','PbIDc','qMiJR','mrErs','trOZp','SpoCd','sBuhZ','ZUNyz','from','kjlNQ','uATld','tjQZx','concat','20008JAdIWG','QzDTq','YdbqP','QfRgK','mWwWh','Fixed:\x20','exit','VfeYG','gkkcE','KtQZB','wBMkA','rQtXV','IRrxX','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','argv','111QEOcxT','509720TWQCKU','sMRSj','log','indexOf','fixWebmDuration.js','UtMCx','pow','dataSize','min','dataOffset','KgpoR','YbAGg','958304KGgSdz','OBgRi','mwVwh','21kxPOPo','36883QMnBfK','slice','alloc','172700iUdpOC','790mIHwoS','error','432996tJeAcQ','fixWebmDuration.ts'];_0x2171=function(){return _0x2d6f95;};return _0x2171();}(function(_0x23e3a1,_0x45c10b){const _0x2176f3=_0x56d3,_0x1f4aef=_0x23e3a1();while(!![]){try{const _0x54865c=parseInt(_0x2176f3(0x1bf))/0x1+-parseInt(_0x2176f3(0x1ca))/0x2+parseInt(_0x2176f3(0x1f0))/0x3*(parseInt(_0x2176f3(0x1e1))/0x4)+-parseInt(_0x2176f3(0x1f1))/0x5+-parseInt(_0x2176f3(0x1c2))/0x6*(parseInt(_0x2176f3(0x1bb))/0x7)+parseInt(_0x2176f3(0x1b8))/0x8*(-parseInt(_0x2176f3(0x1d2))/0x9)+-parseInt(_0x2176f3(0x1c0))/0xa*(-parseInt(_0x2176f3(0x1bc))/0xb);if(_0x54865c===_0x45c10b)break;else _0x1f4aef['push'](_0x1f4aef['shift']());}catch(_0x133b30){_0x1f4aef['push'](_0x1f4aef['shift']());}}}(_0x2171,0x20e92));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x5e7c35,_0x1046ae){const _0x5a2180=_0x56d3,_0x5e69d6={'FaOxn':function(_0xe2f875,_0x24eccb){return _0xe2f875+_0x24eccb;},'HzLPM':function(_0x4c478c,_0xc6d39d){return _0x4c478c&_0xc6d39d;},'KtQZB':function(_0x395775,_0x8b7a8){return _0x395775+_0x8b7a8;}};if(_0x1046ae>=_0x5e7c35['length'])return[0x0,0x0];const _0x37158a=_0x5e7c35[_0x1046ae];let _0xf0e94a=0x1,_0x160abc=0x80;while(_0xf0e94a<=0x8&&!(_0x37158a&_0x160abc)){_0xf0e94a++,_0x160abc>>=0x1;}if(_0x5e69d6[_0x5a2180(0x1d3)](_0x1046ae,_0xf0e94a)>_0x5e7c35['length'])return[0x0,0x0];let _0x23b042=_0x5e69d6['HzLPM'](_0x37158a,_0x160abc-0x1);for(let _0x2de830=0x1;_0x2de830<_0xf0e94a;_0x2de830++){_0x23b042=_0x5e69d6[_0x5a2180(0x1ea)](_0x23b042*0x100,_0x5e7c35[_0x5e69d6['KtQZB'](_0x1046ae,_0x2de830)]);}return[_0x23b042,_0xf0e94a];}function readId(_0x5357cb,_0x3a84f3){const _0x404547=_0x56d3,_0x100a05={'UVhnm':function(_0x4eabea,_0x4e8c89){return _0x4eabea+_0x4e8c89;},'PbIDc':function(_0x4cf213,_0x2792db){return _0x4cf213+_0x2792db;}};if(_0x3a84f3>=_0x5357cb['length'])return[0x0,0x0];const _0x54f63c=_0x5357cb[_0x3a84f3];let _0x5dafee;if(_0x54f63c>=0x80)_0x5dafee=0x1;else{if(_0x54f63c>=0x40)_0x5dafee=0x2;else{if(_0x54f63c>=0x20)_0x5dafee=0x3;else{if(_0x54f63c>=0x10)_0x5dafee=0x4;else return[_0x54f63c,0x1];}}}if(_0x100a05['UVhnm'](_0x3a84f3,_0x5dafee)>_0x5357cb['length'])return[0x0,0x0];let _0x2893b8=0x0;for(let _0x4583bc=0x0;_0x4583bc<_0x5dafee;_0x4583bc++){_0x2893b8=_0x2893b8*0x100+_0x5357cb[_0x100a05[_0x404547(0x1d5)](_0x3a84f3,_0x4583bc)];}return[_0x2893b8,_0x5dafee];}function readUint(_0x2c7175,_0x335f10,_0xb44ad7){const _0x32085e=_0x56d3,_0x3d1540={'sMRSj':function(_0x4ac301,_0x158e6e){return _0x4ac301<_0x158e6e;},'AmurD':function(_0x1e3c7a,_0x28114a){return _0x1e3c7a+_0x28114a;}};let _0x5d22c8=0x0;for(let _0x2b6a6=0x0;_0x3d1540[_0x32085e(0x1f2)](_0x2b6a6,_0xb44ad7);_0x2b6a6++){_0x5d22c8=_0x5d22c8*0x100+_0x2c7175[_0x3d1540['AmurD'](_0x335f10,_0x2b6a6)];}return _0x5d22c8;}function isUnknownSize(_0x4dd474,_0x767e2){const _0x4554b7=_0x56d3;return _0x4dd474===Math[_0x4554b7(0x1f7)](0x2,0x7*_0x767e2)-0x1;}function writeId(_0x1a14c1){const _0x4c0b08=_0x56d3,_0x4c55e5={'YdbqP':function(_0x2b855a,_0x5580ca){return _0x2b855a<=_0x5580ca;},'UxaZf':function(_0x3b21aa,_0x155a8d){return _0x3b21aa&_0x155a8d;},'lYksu':function(_0x595326,_0x33735c){return _0x595326>>_0x33735c;}};if(_0x4c55e5[_0x4c0b08(0x1e3)](_0x1a14c1,0xff))return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1]);if(_0x1a14c1<=0xffff)return Buffer['from']([_0x1a14c1>>0x8&0xff,_0x4c55e5['UxaZf'](_0x1a14c1,0xff)]);if(_0x4c55e5['YdbqP'](_0x1a14c1,0xffffff))return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1>>0x10&0xff,_0x1a14c1>>0x8&0xff,_0x1a14c1&0xff]);return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1>>0x18&0xff,_0x4c55e5[_0x4c0b08(0x1cf)](_0x4c55e5['lYksu'](_0x1a14c1,0x10),0xff),_0x4c55e5[_0x4c0b08(0x1cf)](_0x1a14c1>>0x8,0xff),_0x4c55e5['UxaZf'](_0x1a14c1,0xff)]);}function writeVint(_0x32541e,_0x5e0313){const _0x5ca498=_0x56d3,_0x12d2ac={'mtUpP':function(_0x33d8ad,_0x214514){return _0x33d8ad-_0x214514;},'okJCb':function(_0x2ad450,_0x406fd3){return _0x2ad450&_0x406fd3;},'KVNzj':function(_0x42d287,_0x4eef04){return _0x42d287/_0x4eef04;},'iIJTi':function(_0x1f6ec2,_0xd8e83d){return _0x1f6ec2<<_0xd8e83d;}};let _0x22b8bd=_0x5e0313||0x1;while(_0x12d2ac['mtUpP'](Math['pow'](0x2,0x7*_0x22b8bd),0x2)<_0x32541e)_0x22b8bd++;const _0x58deed=Buffer[_0x5ca498(0x1be)](_0x22b8bd);for(let _0x5670e0=_0x22b8bd-0x1;_0x5670e0>=0x0;_0x5670e0--){_0x58deed[_0x5670e0]=_0x12d2ac['okJCb'](_0x32541e,0xff),_0x32541e=Math['floor'](_0x12d2ac[_0x5ca498(0x1c7)](_0x32541e,0x100));}return _0x58deed[0x0]|=_0x12d2ac['iIJTi'](0x1,0x8-_0x22b8bd),_0x58deed;}function writeFloat64(_0x333ef4){const _0xca9a6=_0x56d3,_0x45f528=Buffer[_0xca9a6(0x1be)](0x8);return _0x45f528['writeDoubleBE'](_0x333ef4,0x0),_0x45f528;}function writeVoid(_0x5961c4){const _0x315926=_0x56d3,_0x20df0b={'YTKfO':function(_0x23b378,_0x5a6809){return _0x23b378<=_0x5a6809;},'DflcO':function(_0x38f621,_0x4a29e4){return _0x38f621-_0x4a29e4;},'nlRGn':function(_0x2a6abc,_0x505db8,_0x256c0f){return _0x2a6abc(_0x505db8,_0x256c0f);}};for(let _0x52531f=0x1;_0x20df0b['YTKfO'](_0x52531f,0x8);_0x52531f++){const _0x467b7e=_0x20df0b['DflcO'](_0x5961c4-0x1,_0x52531f);if(_0x467b7e>=0x0&&_0x20df0b['YTKfO'](_0x467b7e,Math[_0x315926(0x1f7)](0x2,0x7*_0x52531f)-0x2))return Buffer[_0x315926(0x1e0)]([Buffer[_0x315926(0x1dc)]([ID_VOID]),_0x20df0b[_0x315926(0x1c6)](writeVint,_0x467b7e,_0x52531f),Buffer[_0x315926(0x1be)](_0x467b7e)]);}return Buffer['alloc'](0x0);}function findElement(_0x3492f3,_0x8c7efb,_0x424488,_0x188b21){const _0x54e659=_0x56d3,_0x587fec={'VJBtw':function(_0x71272b,_0x4482cd,_0x5b150c){return _0x71272b(_0x4482cd,_0x5b150c);},'tjQZx':function(_0x180b19,_0x5e2c4e,_0x96d836){return _0x180b19(_0x5e2c4e,_0x96d836);},'KgpoR':function(_0x18fb42,_0x698e4d){return _0x18fb42+_0x698e4d;},'ZlThG':function(_0x4e67cc,_0x2ca148){return _0x4e67cc===_0x2ca148;},'OBgRi':function(_0x2a8134,_0xdaf8,_0x2a3864){return _0x2a8134(_0xdaf8,_0x2a3864);},'hMVBn':function(_0x206e39,_0x25fb48){return _0x206e39+_0x25fb48;}};let _0x2bc6be=_0x8c7efb;while(_0x2bc6be<_0x424488){const [_0x476653,_0x47a382]=_0x587fec['VJBtw'](readId,_0x3492f3,_0x2bc6be),[_0x514b3a,_0x686b7d]=_0x587fec[_0x54e659(0x1df)](readVint,_0x3492f3,_0x587fec[_0x54e659(0x1fb)](_0x2bc6be,_0x47a382));if(_0x587fec['ZlThG'](_0x476653,_0x188b21))return{'offset':_0x2bc6be,'idLen':_0x47a382,'sizeLen':_0x686b7d,'dataSize':_0x514b3a,'dataOffset':_0x587fec[_0x54e659(0x1fb)](_0x2bc6be+_0x47a382,_0x686b7d)};if(_0x587fec[_0x54e659(0x1b9)](isUnknownSize,_0x514b3a,_0x686b7d))break;_0x2bc6be+=_0x587fec['hMVBn'](_0x47a382,_0x686b7d)+_0x514b3a;}return null;}function computeDurationMs(_0x216bb4,_0x38839a){const _0x2ca2a4=_0x56d3,_0x48a276={'NxTBv':function(_0x1f6d54,_0x30a6af){return _0x1f6d54===_0x30a6af;},'QfRgK':function(_0x546096,_0x1baaf0,_0x424f68){return _0x546096(_0x1baaf0,_0x424f68);},'trOZp':function(_0x27716c,_0x46cc93){return _0x27716c!==_0x46cc93;},'bHnep':function(_0x27285e,_0xc81f60){return _0x27285e+_0xc81f60;},'fgFKi':function(_0x6dbbfb,_0x349b05){return _0x6dbbfb+_0x349b05;},'gHYQE':function(_0x14ea44,_0x5ebe13,_0x289270){return _0x14ea44(_0x5ebe13,_0x289270);},'UtMCx':function(_0x5727ea,_0x977510){return _0x5727ea-_0x977510;},'XZsIF':function(_0x4ae1cd,_0xc63bd4,_0x56f7f4){return _0x4ae1cd(_0xc63bd4,_0x56f7f4);},'TWYPN':function(_0x3c34b3,_0x33d934){return _0x3c34b3+_0x33d934;},'ZQkRn':function(_0x34f5bb,_0x91dd0c){return _0x34f5bb+_0x91dd0c;},'ZUNyz':function(_0x3042ec,_0x48f70b){return _0x3042ec+_0x48f70b;},'QzDTq':function(_0x13e3cd,_0x9565bb,_0x27e808,_0x38889e){return _0x13e3cd(_0x9565bb,_0x27e808,_0x38889e);},'mWwWh':function(_0x3b4999,_0x2c6a72){return _0x3b4999===_0x2c6a72;},'APdSf':function(_0x15a8c5,_0x4d12db){return _0x15a8c5>_0x4d12db;},'uATld':function(_0x2d3575,_0x10082d){return _0x2d3575===_0x10082d;},'FCHOt':function(_0x3e8e9b,_0x4aa408){return _0x3e8e9b+_0x4aa408;},'SqVal':function(_0x17178c,_0x561bf6){return _0x17178c+_0x561bf6;}};let _0x2d43b9=0x0;const _0x62aeed=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x1c8c6b=_0x216bb4[_0x2ca2a4(0x1f4)](_0x62aeed);if(_0x48a276['NxTBv'](_0x1c8c6b,-0x1))return 0x0;while(_0x1c8c6b<_0x216bb4['length']){const [_0x38e902,_0x248f1c]=_0x48a276['QfRgK'](readId,_0x216bb4,_0x1c8c6b);if(_0x48a276[_0x2ca2a4(0x1d8)](_0x38e902,ID_CLUSTER))break;const [_0xc9394c,_0x5f366f]=readVint(_0x216bb4,_0x48a276['bHnep'](_0x1c8c6b,_0x248f1c)),_0x66c6ad=_0x48a276['fgFKi'](_0x48a276['fgFKi'](_0x1c8c6b,_0x248f1c),_0x5f366f),_0x125748=_0x48a276['gHYQE'](isUnknownSize,_0xc9394c,_0x5f366f);let _0x241117;if(_0x125748){let _0x32cfe3=_0x66c6ad;while(_0x32cfe3<_0x48a276[_0x2ca2a4(0x1f6)](_0x216bb4[_0x2ca2a4(0x1d1)],0x4)){const [_0x47637f,_0x4ffcfd]=readId(_0x216bb4,_0x32cfe3);if(_0x47637f===ID_CLUSTER){_0x241117=_0x32cfe3;break;}const [_0x5b1f32,_0x30974e]=_0x48a276[_0x2ca2a4(0x1cd)](readVint,_0x216bb4,_0x48a276[_0x2ca2a4(0x1ce)](_0x32cfe3,_0x4ffcfd));if(_0x48a276[_0x2ca2a4(0x1e4)](isUnknownSize,_0x5b1f32,_0x30974e)){_0x241117=_0x216bb4['length'];break;}_0x32cfe3+=_0x48a276['fgFKi'](_0x4ffcfd+_0x30974e,_0x5b1f32);}_0x241117??=_0x216bb4['length'];}else _0x241117=_0x48a276['ZQkRn'](_0x66c6ad,_0xc9394c);let _0x4d394b=0x0,_0x4981fd=_0x66c6ad;while(_0x4981fd<_0x241117){const [_0x32ed10,_0x277a48]=readId(_0x216bb4,_0x4981fd),[_0x10f046,_0x51fd21]=_0x48a276[_0x2ca2a4(0x1cc)](readVint,_0x216bb4,_0x48a276[_0x2ca2a4(0x1db)](_0x4981fd,_0x277a48));if(_0x48a276[_0x2ca2a4(0x1d4)](_0x32ed10,ID_TIMESTAMP))_0x4d394b=_0x48a276[_0x2ca2a4(0x1e2)](readUint,_0x216bb4,_0x48a276['ZUNyz'](_0x4981fd,_0x277a48)+_0x51fd21,_0x10f046);else{if(_0x48a276[_0x2ca2a4(0x1e5)](_0x32ed10,ID_SIMPLE_BLOCK)&&_0x10f046>=0x4){const _0x53e814=_0x48a276['ZUNyz'](_0x48a276['ZQkRn'](_0x4981fd,_0x277a48),_0x51fd21),[,_0x323746]=readVint(_0x216bb4,_0x53e814),_0x43f6d2=_0x216bb4['readInt16BE'](_0x53e814+_0x323746),_0x4d0b95=_0x48a276['bHnep'](_0x4d394b,_0x43f6d2)*_0x38839a/0xf4240;_0x48a276['APdSf'](_0x4d0b95,_0x2d43b9)&&(_0x2d43b9=_0x4d0b95);}else{if(_0x48a276[_0x2ca2a4(0x1de)](_0x32ed10,ID_CLUSTER))break;}}if(isUnknownSize(_0x10f046,_0x51fd21))break;_0x4981fd+=_0x48a276['FCHOt'](_0x48a276['SqVal'](_0x277a48,_0x51fd21),_0x10f046);}_0x1c8c6b=_0x241117;}return _0x2d43b9;}function _0x56d3(_0x292603,_0x155c8a){_0x292603=_0x292603-0x1b8;const _0x217141=_0x2171();let _0x56d345=_0x217141[_0x292603];return _0x56d345;}export function fixWebmDuration(_0x5a640d,_0x2e3037){const _0x36ddb9=_0x56d3,_0x46ccaa={'qMiJR':function(_0x3b8ce9,_0x12c7ad){return _0x3b8ce9(_0x12c7ad);},'SpoCd':function(_0x4ae2d4,_0xafc586,_0x3dcdc0){return _0x4ae2d4(_0xafc586,_0x3dcdc0);},'kjlNQ':function(_0x12afcf,_0x118389){return _0x12afcf+_0x118389;},'rQtXV':function(_0x260298,_0x4dbfa4){return _0x260298===_0x4dbfa4;},'KeQzO':function(_0x1e97fe,_0x3195e6){return _0x1e97fe+_0x3195e6;},'YbAGg':function(_0xf98fde,_0x12333d){return _0xf98fde+_0x12333d;},'mrErs':'Could\x20not\x20find\x20Info\x20element','wBMkA':function(_0x1f439b,_0x1a2c31,_0xcc1b9a,_0x763ade,_0x2c8fc3){return _0x1f439b(_0x1a2c31,_0xcc1b9a,_0x763ade,_0x2c8fc3);},'jlkuG':function(_0x3c4ba6,_0x485b16,_0x17a2fd,_0x454704,_0x28e38f){return _0x3c4ba6(_0x485b16,_0x17a2fd,_0x454704,_0x28e38f);},'gkkcE':function(_0x27f0ac,_0x507b9d,_0x12adc8,_0x46106f){return _0x27f0ac(_0x507b9d,_0x12adc8,_0x46106f);},'hHMEe':function(_0xfeb26c,_0x26d061,_0x538945){return _0xfeb26c(_0x26d061,_0x538945);},'IRrxX':function(_0x2a869e,_0x176a21){return _0x2a869e<=_0x176a21;},'RoXGb':'Could\x20not\x20compute\x20duration','ULLax':function(_0x25c844,_0x2f1f96){return _0x25c844(_0x2f1f96);},'qlrdD':function(_0x1652d5,_0x3d870f){return _0x1652d5(_0x3d870f);},'QNCYG':function(_0x466b36,_0x5beeb4){return _0x466b36+_0x5beeb4;},'jEFkw':function(_0x49c4ad,_0x3d3600){return _0x49c4ad+_0x3d3600;},'VfeYG':function(_0x1f4471,_0x30ab0e){return _0x1f4471-_0x30ab0e;},'JAnHT':function(_0xeb5195,_0x355850){return _0xeb5195<_0x355850;},'rvsvo':function(_0x29c166,_0x345947){return _0x29c166+_0x345947;}},_0x138e13=_0x46ccaa[_0x36ddb9(0x1d6)](readFileSync,_0x5a640d);let _0x1290c6=0x0;const [_0x75e149,_0x374791]=_0x46ccaa['SpoCd'](readId,_0x138e13,_0x1290c6),[_0x7dd076,_0x39c7ee]=readVint(_0x138e13,_0x46ccaa[_0x36ddb9(0x1dd)](_0x1290c6,_0x374791));_0x1290c6+=_0x46ccaa[_0x36ddb9(0x1dd)](_0x374791,_0x39c7ee)+_0x7dd076;const [_0x164d69,_0x5768af]=_0x46ccaa[_0x36ddb9(0x1d9)](readId,_0x138e13,_0x1290c6);if(_0x164d69!==ID_SEGMENT)return console[_0x36ddb9(0x1c1)](_0x36ddb9(0x1ee)),![];const [,_0x3ec628]=readVint(_0x138e13,_0x1290c6+_0x5768af),_0x5e2d31=_0x1290c6+_0x5768af+_0x3ec628;let _0x146aa6=_0x5e2d31;const _0x186fce=Math[_0x36ddb9(0x1f9)](_0x138e13[_0x36ddb9(0x1d1)],_0x46ccaa['kjlNQ'](_0x5e2d31,0x2710));let _0x1ee09f=null,_0x42b4ee=null;while(_0x146aa6<_0x186fce){const [_0x9456d5,_0x2d22b1]=readId(_0x138e13,_0x146aa6),[_0x3aeda4,_0x2a9ed3]=readVint(_0x138e13,_0x146aa6+_0x2d22b1);_0x9456d5===ID_VOID&&!_0x1ee09f&&(_0x1ee09f={'offset':_0x146aa6,'idLen':_0x2d22b1,'sizeLen':_0x2a9ed3,'dataSize':_0x3aeda4,'dataOffset':_0x46ccaa['kjlNQ'](_0x146aa6+_0x2d22b1,_0x2a9ed3)});if(_0x46ccaa['rQtXV'](_0x9456d5,ID_INFO)){_0x42b4ee={'offset':_0x146aa6,'idLen':_0x2d22b1,'sizeLen':_0x2a9ed3,'dataSize':_0x3aeda4,'dataOffset':_0x46ccaa[_0x36ddb9(0x1d0)](_0x46ccaa[_0x36ddb9(0x1fc)](_0x146aa6,_0x2d22b1),_0x2a9ed3)};break;}if(_0x46ccaa[_0x36ddb9(0x1ec)](_0x9456d5,ID_CLUSTER))break;if(_0x46ccaa[_0x36ddb9(0x1d9)](isUnknownSize,_0x3aeda4,_0x2a9ed3))break;_0x146aa6+=_0x2d22b1+_0x2a9ed3+_0x3aeda4;}if(!_0x42b4ee)return console[_0x36ddb9(0x1c1)](_0x46ccaa[_0x36ddb9(0x1d7)]),![];const _0x4565a8=_0x46ccaa[_0x36ddb9(0x1eb)](findElement,_0x138e13,_0x42b4ee[_0x36ddb9(0x1fa)],_0x46ccaa['YbAGg'](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']),ID_DURATION);if(_0x4565a8)return![];const _0x21604f=_0x46ccaa['jlkuG'](findElement,_0x138e13,_0x42b4ee['dataOffset'],_0x46ccaa[_0x36ddb9(0x1dd)](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']),ID_TIMESTAMP_SCALE);let _0x4504b8=0xf4240;_0x21604f&&(_0x4504b8=_0x46ccaa[_0x36ddb9(0x1e9)](readUint,_0x138e13,_0x21604f['dataOffset'],_0x21604f[_0x36ddb9(0x1f8)]));const _0x163c63=_0x46ccaa['hHMEe'](computeDurationMs,_0x138e13,_0x4504b8);if(_0x46ccaa[_0x36ddb9(0x1ed)](_0x163c63,0x0))return console['error'](_0x46ccaa['RoXGb']),![];const _0x2558a9=_0x163c63*0xf4240/_0x4504b8,_0x28de11=Buffer[_0x36ddb9(0x1e0)]([_0x46ccaa['ULLax'](writeId,ID_DURATION),_0x46ccaa[_0x36ddb9(0x1cb)](writeVint,0x8),_0x46ccaa['ULLax'](writeFloat64,_0x2558a9)]),_0x42d0c2=_0x28de11[_0x36ddb9(0x1d1)];if(!_0x1ee09f||_0x1ee09f['offset']<_0x42b4ee['offset']){if(_0x1ee09f){const _0x38deca=_0x46ccaa[_0x36ddb9(0x1c8)](_0x46ccaa[_0x36ddb9(0x1c4)](_0x1ee09f[_0x36ddb9(0x1c5)],_0x1ee09f[_0x36ddb9(0x1c9)]),_0x1ee09f['dataSize']),_0xd1861d=_0x46ccaa[_0x36ddb9(0x1e8)](_0x38deca,_0x42d0c2);if(_0x46ccaa['JAnHT'](_0xd1861d,0x2))return rewriteFile(_0x138e13,_0x42b4ee,_0x28de11,_0x4504b8,_0x163c63,_0x2e3037);const _0x1a1d24=_0x46ccaa[_0x36ddb9(0x1dd)](_0x42b4ee['dataSize'],_0x42d0c2),_0x2c2e44=Buffer[_0x36ddb9(0x1e0)]([_0x46ccaa[_0x36ddb9(0x1cb)](writeId,ID_INFO),writeVint(_0x1a1d24,_0x42b4ee[_0x36ddb9(0x1c9)])]),_0x3844b2=_0x138e13[_0x36ddb9(0x1bd)](_0x42b4ee[_0x36ddb9(0x1fa)],_0x46ccaa['YbAGg'](_0x42b4ee[_0x36ddb9(0x1fa)],_0x42b4ee[_0x36ddb9(0x1f8)])),_0x24e038=writeVoid(_0xd1861d),_0xf804e1=_0x138e13['slice'](0x0,_0x1ee09f['offset']),_0x459f1b=_0x138e13[_0x36ddb9(0x1bd)](_0x46ccaa['rvsvo'](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']));return _0x46ccaa['hHMEe'](writeFileSync,_0x2e3037,Buffer[_0x36ddb9(0x1e0)]([_0xf804e1,_0x24e038,_0x2c2e44,_0x3844b2,_0x28de11,_0x459f1b])),!![];}}return rewriteFile(_0x138e13,_0x42b4ee,_0x28de11,_0x4504b8,_0x163c63,_0x2e3037);}function rewriteFile(_0x533c23,_0x20ef3b,_0x1c2e64,_0x271969,_0x2dbf51,_0x590a47){const _0xef7633=_0x56d3,_0x3e99fb={'mwVwh':function(_0x19d31e,_0x23d21f){return _0x19d31e(_0x23d21f);},'sBuhZ':function(_0x3634b9,_0x40a694){return _0x3634b9+_0x40a694;},'BWNNU':function(_0x4cc919,_0xbd73b5,_0x322b15){return _0x4cc919(_0xbd73b5,_0x322b15);}},_0x306fb8=_0x20ef3b[_0xef7633(0x1f8)]+_0x1c2e64['length'],_0x457029=Buffer[_0xef7633(0x1e0)]([writeId(ID_INFO),_0x3e99fb[_0xef7633(0x1ba)](writeVint,_0x306fb8)]),_0x234dde=_0x3e99fb[_0xef7633(0x1da)](_0x20ef3b['idLen'],_0x20ef3b[_0xef7633(0x1c9)]),_0x27a2d3=_0x533c23[_0xef7633(0x1bd)](0x0,_0x20ef3b['offset']),_0x481e4e=_0x533c23['slice'](_0x20ef3b['dataOffset'],_0x3e99fb['sBuhZ'](_0x20ef3b[_0xef7633(0x1fa)],_0x20ef3b['dataSize'])),_0xadf9c5=_0x533c23['slice'](_0x3e99fb['sBuhZ'](_0x20ef3b['offset']+_0x234dde,_0x20ef3b[_0xef7633(0x1f8)]));return _0x3e99fb['BWNNU'](writeFileSync,_0x590a47,Buffer['concat']([_0x27a2d3,_0x457029,_0x481e4e,_0x1c2e64,_0xadf9c5])),!![];}if(process['argv'][0x1]?.['endsWith'](_0x5e75e4(0x1c3))||process[_0x5e75e4(0x1ef)][0x1]?.['endsWith'](_0x5e75e4(0x1f5))){const input=process[_0x5e75e4(0x1ef)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x5e75e4(0x1c1)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process[_0x5e75e4(0x1e7)](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x5e75e4(0x1f3)](_0x5e75e4(0x1e6)+output):console[_0x5e75e4(0x1f3)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x25be8f=_0x30aa;(function(_0x432575,_0x5efee1){const _0x4eb6f6=_0x30aa,_0xed7a49=_0x432575();while(!![]){try{const _0x2e5fcf=parseInt(_0x4eb6f6(0x22a))/0x1+parseInt(_0x4eb6f6(0x201))/0x2+-parseInt(_0x4eb6f6(0x1f3))/0x3*(parseInt(_0x4eb6f6(0x1fe))/0x4)+-parseInt(_0x4eb6f6(0x20c))/0x5*(parseInt(_0x4eb6f6(0x22d))/0x6)+-parseInt(_0x4eb6f6(0x1f9))/0x7+parseInt(_0x4eb6f6(0x203))/0x8*(parseInt(_0x4eb6f6(0x224))/0x9)+parseInt(_0x4eb6f6(0x213))/0xa*(parseInt(_0x4eb6f6(0x200))/0xb);if(_0x2e5fcf===_0x5efee1)break;else _0xed7a49['push'](_0xed7a49['shift']());}catch(_0x401db6){_0xed7a49['push'](_0xed7a49['shift']());}}}(_0x1ec9,0x89b0b));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x320c27,_0x5b0f6e){const _0x52860c=_0x30aa,_0x697827={'MxMWc':function(_0x1d2827,_0x5bd12a){return _0x1d2827&_0x5bd12a;},'BxNUh':function(_0x4b32c4,_0x55cbd7){return _0x4b32c4&_0x55cbd7;},'GgKVM':function(_0x264df1,_0x1adadd){return _0x264df1<_0x1adadd;},'ZNIYK':function(_0x28c21e,_0x55b77c){return _0x28c21e+_0x55b77c;},'vFgMK':function(_0x238503,_0x44acb6){return _0x238503+_0x44acb6;}};if(_0x5b0f6e>=_0x320c27[_0x52860c(0x209)])return[0x0,0x0];const _0x28f1c5=_0x320c27[_0x5b0f6e];let _0x54eb3f=0x1,_0x50d285=0x80;while(_0x54eb3f<=0x8&&!_0x697827['MxMWc'](_0x28f1c5,_0x50d285)){_0x54eb3f++,_0x50d285>>=0x1;}if(_0x5b0f6e+_0x54eb3f>_0x320c27['length'])return[0x0,0x0];let _0x11c12d=_0x697827['BxNUh'](_0x28f1c5,_0x50d285-0x1);for(let _0x23d578=0x1;_0x697827['GgKVM'](_0x23d578,_0x54eb3f);_0x23d578++){_0x11c12d=_0x697827[_0x52860c(0x20a)](_0x11c12d*0x100,_0x320c27[_0x697827[_0x52860c(0x220)](_0x5b0f6e,_0x23d578)]);}return[_0x11c12d,_0x54eb3f];}function readId(_0x381600,_0xfad448){const _0x5c7096=_0x30aa,_0x1b1660={'QxjXT':function(_0x49c0bb,_0x41820d){return _0x49c0bb>=_0x41820d;},'BTJpB':function(_0xe9703f,_0x2cf54e){return _0xe9703f>=_0x2cf54e;},'UyyuT':function(_0x3af1be,_0x46c129){return _0x3af1be>=_0x46c129;},'MqzJP':function(_0xcb2427,_0x54ebd1){return _0xcb2427+_0x54ebd1;},'qryVH':function(_0x5b2e65,_0x161c19){return _0x5b2e65*_0x161c19;}};if(_0x1b1660['QxjXT'](_0xfad448,_0x381600['length']))return[0x0,0x0];const _0x51b4df=_0x381600[_0xfad448];let _0x577bbf;if(_0x1b1660[_0x5c7096(0x1f5)](_0x51b4df,0x80))_0x577bbf=0x1;else{if(_0x1b1660[_0x5c7096(0x204)](_0x51b4df,0x40))_0x577bbf=0x2;else{if(_0x51b4df>=0x20)_0x577bbf=0x3;else{if(_0x1b1660[_0x5c7096(0x1f5)](_0x51b4df,0x10))_0x577bbf=0x4;else return[_0x51b4df,0x1];}}}if(_0xfad448+_0x577bbf>_0x381600['length'])return[0x0,0x0];let _0x1a9e4f=0x0;for(let _0x580a39=0x0;_0x580a39<_0x577bbf;_0x580a39++){_0x1a9e4f=_0x1b1660['MqzJP'](_0x1b1660['qryVH'](_0x1a9e4f,0x100),_0x381600[_0xfad448+_0x580a39]);}return[_0x1a9e4f,_0x577bbf];}function readUint(_0x175887,_0x542f23,_0x524532){const _0x5a9d27=_0x30aa,_0x4de14f={'tCzzt':function(_0x56133a,_0x248d6b){return _0x56133a<_0x248d6b;},'lJFwr':function(_0xb36dfe,_0x5f5a75){return _0xb36dfe*_0x5f5a75;}};let _0x546f45=0x0;for(let _0x44f963=0x0;_0x4de14f['tCzzt'](_0x44f963,_0x524532);_0x44f963++){_0x546f45=_0x4de14f[_0x5a9d27(0x217)](_0x546f45,0x100)+_0x175887[_0x542f23+_0x44f963];}return _0x546f45;}function isUnknownSize(_0x5cbc67,_0x3329ee){const _0x59f3b6=_0x30aa,_0x4a4514={'ccepj':function(_0xf0c5cf,_0x5e4ec4){return _0xf0c5cf===_0x5e4ec4;},'WhaXp':function(_0x33d986,_0x3b3338){return _0x33d986-_0x3b3338;},'lheCH':function(_0x37948a,_0x428c32){return _0x37948a*_0x428c32;}};return _0x4a4514['ccepj'](_0x5cbc67,_0x4a4514['WhaXp'](Math['pow'](0x2,_0x4a4514[_0x59f3b6(0x206)](0x7,_0x3329ee)),0x1));}function writeId(_0x704b38){const _0x1eeae0=_0x30aa,_0x2e019d={'dCCxZ':function(_0x56d97c,_0x4099b1){return _0x56d97c<=_0x4099b1;},'IezKO':function(_0x3bbafd,_0x5dd963){return _0x3bbafd>>_0x5dd963;},'NamdD':function(_0x37d901,_0x2288d3){return _0x37d901&_0x2288d3;},'fCIsQ':function(_0x1681f1,_0x38b0bb){return _0x1681f1>>_0x38b0bb;},'qWaBJ':function(_0x18ce6b,_0x5dd58a){return _0x18ce6b>>_0x5dd58a;}};if(_0x2e019d[_0x1eeae0(0x1f2)](_0x704b38,0xff))return Buffer[_0x1eeae0(0x229)]([_0x704b38]);if(_0x2e019d['dCCxZ'](_0x704b38,0xffff))return Buffer[_0x1eeae0(0x229)]([_0x2e019d['IezKO'](_0x704b38,0x8)&0xff,_0x704b38&0xff]);if(_0x704b38<=0xffffff)return Buffer['from']([_0x704b38>>0x10&0xff,_0x2e019d['NamdD'](_0x2e019d['fCIsQ'](_0x704b38,0x8),0xff),_0x2e019d[_0x1eeae0(0x212)](_0x704b38,0xff)]);return Buffer['from']([_0x2e019d[_0x1eeae0(0x216)](_0x704b38,0x18)&0xff,_0x2e019d[_0x1eeae0(0x20e)](_0x704b38,0x10)&0xff,_0x2e019d['IezKO'](_0x704b38,0x8)&0xff,_0x704b38&0xff]);}function _0x1ec9(){const _0x52a2c9=['upnCq','jCfnM','argv','fzmDX','Could\x20not\x20find\x20Info\x20element','sizeLen','LIRnr','kRzfU','vFgMK','onllt','gQFab','error','21807zkLmsf','dGNmc','fixWebmDuration.ts','xWGXD','writeDoubleBE','from','722616zMTwTq','hCfAJ','QkxwR','6rywzuD','offset','wiemv','AULBc','iTnLv','CxSyu','AWDzA','aQytR','rQOeL','concat','VTfAO','dataOffset','dCCxZ','1264533pUkpEo','jovsI','BTJpB','zRqks','indexOf','yGOAC','7507738RfLAfu','jxjfE','NQLcA','alloc','scVrT','8mIbyHl','BtaYH','11olbMcZ','771744Dsblel','endsWith','2248hUIFnq','UyyuT','ODxbd','lheCH','dataSize','CkCkR','length','ZNIYK','Nsjwf','989060BTiHIl','JNNZR','qWaBJ','uYORv','slice','ipQpb','NamdD','8879960XVNYsS','MjnIZ','log','IezKO','lJFwr'];_0x1ec9=function(){return _0x52a2c9;};return _0x1ec9();}function writeVint(_0x493656,_0x50f42c){const _0x36760d=_0x30aa,_0x144b8b={'dGNmc':function(_0x424825,_0x49b95c){return _0x424825-_0x49b95c;},'gQFab':function(_0x51e38c,_0x3e2279){return _0x51e38c/_0x3e2279;},'JNNZR':function(_0xc37c8c,_0x4ee054){return _0xc37c8c<<_0x4ee054;}};let _0x35e44d=_0x50f42c||0x1;while(_0x144b8b[_0x36760d(0x225)](Math['pow'](0x2,0x7*_0x35e44d),0x2)<_0x493656)_0x35e44d++;const _0x4dfa5f=Buffer[_0x36760d(0x1fc)](_0x35e44d);for(let _0x219aab=_0x35e44d-0x1;_0x219aab>=0x0;_0x219aab--){_0x4dfa5f[_0x219aab]=_0x493656&0xff,_0x493656=Math['floor'](_0x144b8b[_0x36760d(0x222)](_0x493656,0x100));}return _0x4dfa5f[0x0]|=_0x144b8b[_0x36760d(0x20d)](0x1,0x8-_0x35e44d),_0x4dfa5f;}function writeFloat64(_0x4fcea3){const _0x280b84=_0x30aa,_0x3f4fc1=Buffer['alloc'](0x8);return _0x3f4fc1[_0x280b84(0x228)](_0x4fcea3,0x0),_0x3f4fc1;}function writeVoid(_0x31a86b){const _0x64a76=_0x30aa,_0x2cfeab={'pykOj':function(_0x5a075a,_0x5608fe){return _0x5a075a<=_0x5608fe;},'ctlkB':function(_0x39df8e,_0x466bad){return _0x39df8e>=_0x466bad;},'scVrT':function(_0x15afcd,_0x47a454){return _0x15afcd*_0x47a454;},'wiemv':function(_0x3e7909,_0x19f5f8,_0x5340f0){return _0x3e7909(_0x19f5f8,_0x5340f0);}};for(let _0x12fe32=0x1;_0x2cfeab['pykOj'](_0x12fe32,0x8);_0x12fe32++){const _0x35402a=_0x31a86b-0x1-_0x12fe32;if(_0x2cfeab['ctlkB'](_0x35402a,0x0)&&_0x35402a<=Math['pow'](0x2,_0x2cfeab[_0x64a76(0x1fd)](0x7,_0x12fe32))-0x2)return Buffer[_0x64a76(0x1ef)]([Buffer[_0x64a76(0x229)]([ID_VOID]),_0x2cfeab[_0x64a76(0x22f)](writeVint,_0x35402a,_0x12fe32),Buffer[_0x64a76(0x1fc)](_0x35402a)]);}return Buffer['alloc'](0x0);}function findElement(_0x4f3967,_0x1ae63c,_0x5e9cab,_0x3009f2){const _0x1c2d2b=_0x30aa,_0xc824f={'upnCq':function(_0x3f2d09,_0x16dc8c,_0x49edf7){return _0x3f2d09(_0x16dc8c,_0x49edf7);},'vGpVN':function(_0x3162a4,_0x5193f9,_0x170de0){return _0x3162a4(_0x5193f9,_0x170de0);},'CkCkR':function(_0x3f66bf,_0x3a61af){return _0x3f66bf+_0x3a61af;},'ODxbd':function(_0x2df20b,_0x23cd8b){return _0x2df20b+_0x23cd8b;},'CCkMf':function(_0x4e8247,_0x1d77c4){return _0x4e8247+_0x1d77c4;}};let _0x596696=_0x1ae63c;while(_0x596696<_0x5e9cab){const [_0x22c0ca,_0x1cad64]=_0xc824f[_0x1c2d2b(0x218)](readId,_0x4f3967,_0x596696),[_0x3512c2,_0x5b3e9f]=_0xc824f['vGpVN'](readVint,_0x4f3967,_0xc824f[_0x1c2d2b(0x208)](_0x596696,_0x1cad64));if(_0x22c0ca===_0x3009f2)return{'offset':_0x596696,'idLen':_0x1cad64,'sizeLen':_0x5b3e9f,'dataSize':_0x3512c2,'dataOffset':_0xc824f['ODxbd'](_0xc824f[_0x1c2d2b(0x205)](_0x596696,_0x1cad64),_0x5b3e9f)};if(_0xc824f[_0x1c2d2b(0x218)](isUnknownSize,_0x3512c2,_0x5b3e9f))break;_0x596696+=_0xc824f['CCkMf'](_0x1cad64+_0x5b3e9f,_0x3512c2);}return null;}function computeDurationMs(_0x20e0a6,_0x36a2a7){const _0x20f77f=_0x30aa,_0x5ca87e={'Nsjwf':function(_0x549971,_0x1c6d7f){return _0x549971===_0x1c6d7f;},'ipQpb':function(_0x268a46,_0x1fac8d,_0x288280){return _0x268a46(_0x1fac8d,_0x288280);},'MjnIZ':function(_0x3f6503,_0x265069){return _0x3f6503+_0x265069;},'jCfnM':function(_0x1e0aa7,_0x5c789a){return _0x1e0aa7===_0x5c789a;},'rQOeL':function(_0x46a14e,_0x2ef3f0,_0x42a11b){return _0x46a14e(_0x2ef3f0,_0x42a11b);},'CxSyu':function(_0x22836e,_0x1858d3){return _0x22836e+_0x1858d3;},'KrVpj':function(_0x477891,_0x32165a,_0x57bf57){return _0x477891(_0x32165a,_0x57bf57);},'onllt':function(_0x2697d2,_0x4507b4){return _0x2697d2<_0x4507b4;},'iwueT':function(_0x2fe4e0,_0x2d5f8e,_0x580a2e,_0x1a3188){return _0x2fe4e0(_0x2d5f8e,_0x580a2e,_0x1a3188);},'AULBc':function(_0xfe84b8,_0x4c4ad5){return _0xfe84b8>=_0x4c4ad5;},'lAVIy':function(_0x57d877,_0x3e7e36){return _0x57d877+_0x3e7e36;},'LIRnr':function(_0x54c8fe,_0x27ced6){return _0x54c8fe/_0x27ced6;},'DvBTr':function(_0x2e2943,_0x3ae11d){return _0x2e2943+_0x3ae11d;},'VTfAO':function(_0x193c9e,_0x56e7e6){return _0x193c9e+_0x56e7e6;}};let _0x46f594=0x0;const _0x19975c=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x49b09f=_0x20e0a6[_0x20f77f(0x1f7)](_0x19975c);if(_0x5ca87e[_0x20f77f(0x20b)](_0x49b09f,-0x1))return 0x0;while(_0x49b09f<_0x20e0a6[_0x20f77f(0x209)]){const [_0x114f67,_0x22ca1c]=_0x5ca87e[_0x20f77f(0x211)](readId,_0x20e0a6,_0x49b09f);if(_0x114f67!==ID_CLUSTER)break;const [_0x90c077,_0x4d5434]=_0x5ca87e['ipQpb'](readVint,_0x20e0a6,_0x5ca87e['MjnIZ'](_0x49b09f,_0x22ca1c)),_0xb07c21=_0x49b09f+_0x22ca1c+_0x4d5434,_0x3e5fad=isUnknownSize(_0x90c077,_0x4d5434);let _0x3a1cfd;if(_0x3e5fad){let _0x49ad76=_0xb07c21;while(_0x49ad76<_0x20e0a6[_0x20f77f(0x209)]-0x4){const [_0x1341b0,_0x5bbfb2]=readId(_0x20e0a6,_0x49ad76);if(_0x5ca87e[_0x20f77f(0x219)](_0x1341b0,ID_CLUSTER)){_0x3a1cfd=_0x49ad76;break;}const [_0x4e2de3,_0x1978f5]=_0x5ca87e[_0x20f77f(0x1ee)](readVint,_0x20e0a6,_0x5ca87e[_0x20f77f(0x1eb)](_0x49ad76,_0x5bbfb2));if(_0x5ca87e['KrVpj'](isUnknownSize,_0x4e2de3,_0x1978f5)){_0x3a1cfd=_0x20e0a6[_0x20f77f(0x209)];break;}_0x49ad76+=_0x5bbfb2+_0x1978f5+_0x4e2de3;}_0x3a1cfd??=_0x20e0a6[_0x20f77f(0x209)];}else _0x3a1cfd=_0x5ca87e['MjnIZ'](_0xb07c21,_0x90c077);let _0x4f1a4b=0x0,_0x4c4db7=_0xb07c21;while(_0x5ca87e[_0x20f77f(0x221)](_0x4c4db7,_0x3a1cfd)){const [_0x1a282f,_0x4032ec]=readId(_0x20e0a6,_0x4c4db7),[_0x371f01,_0x513191]=readVint(_0x20e0a6,_0x5ca87e[_0x20f77f(0x214)](_0x4c4db7,_0x4032ec));if(_0x5ca87e[_0x20f77f(0x20b)](_0x1a282f,ID_TIMESTAMP))_0x4f1a4b=_0x5ca87e['iwueT'](readUint,_0x20e0a6,_0x4c4db7+_0x4032ec+_0x513191,_0x371f01);else{if(_0x5ca87e[_0x20f77f(0x219)](_0x1a282f,ID_SIMPLE_BLOCK)&&_0x5ca87e[_0x20f77f(0x230)](_0x371f01,0x4)){const _0x2dd478=_0x4c4db7+_0x4032ec+_0x513191,[,_0xd72764]=readVint(_0x20e0a6,_0x2dd478),_0x5e652e=_0x20e0a6['readInt16BE'](_0x5ca87e['lAVIy'](_0x2dd478,_0xd72764)),_0x439f6b=_0x5ca87e[_0x20f77f(0x21e)](_0x5ca87e['DvBTr'](_0x4f1a4b,_0x5e652e)*_0x36a2a7,0xf4240);_0x439f6b>_0x46f594&&(_0x46f594=_0x439f6b);}else{if(_0x1a282f===ID_CLUSTER)break;}}if(_0x5ca87e['rQOeL'](isUnknownSize,_0x371f01,_0x513191))break;_0x4c4db7+=_0x5ca87e[_0x20f77f(0x1f0)](_0x4032ec+_0x513191,_0x371f01);}_0x49b09f=_0x3a1cfd;}return _0x46f594;}export function fixWebmDuration(_0x2e040c,_0x3a94ba){const _0x493aeb=_0x30aa,_0x2e355b={'voQYk':function(_0x2f87a6,_0x1e9191){return _0x2f87a6(_0x1e9191);},'QkxwR':function(_0x59967c,_0x1f0406,_0x180c19){return _0x59967c(_0x1f0406,_0x180c19);},'hCfAJ':function(_0x2cdea1,_0x1ee29e){return _0x2cdea1+_0x1ee29e;},'AWDzA':function(_0x1d390b,_0x3ff8a4){return _0x1d390b+_0x3ff8a4;},'jxjfE':function(_0x4b0d94,_0x43d2b9){return _0x4b0d94!==_0x43d2b9;},'kRzfU':function(_0x15011e,_0x3e388b,_0x1e96e5){return _0x15011e(_0x3e388b,_0x1e96e5);},'jovsI':function(_0x3e6186,_0x339577){return _0x3e6186+_0x339577;},'vsBHu':function(_0x50d028,_0xe30842,_0x3e2803){return _0x50d028(_0xe30842,_0x3e2803);},'zRqks':function(_0xfcb9ad,_0x126af0){return _0xfcb9ad===_0x126af0;},'aQytR':function(_0x43180c,_0x4a61ab){return _0x43180c+_0x4a61ab;},'OaEvB':function(_0x4de870,_0x52f1ac,_0x38c4ec,_0x1bfa4a,_0x4023e7){return _0x4de870(_0x52f1ac,_0x38c4ec,_0x1bfa4a,_0x4023e7);},'xWGXD':function(_0x34d400,_0x168ce9,_0x53eb6d,_0x26f477){return _0x34d400(_0x168ce9,_0x53eb6d,_0x26f477);},'BtaYH':function(_0x9a9f9b,_0x1cced1){return _0x9a9f9b(_0x1cced1);},'iTnLv':function(_0xa8895e,_0x5ce983){return _0xa8895e(_0x5ce983);},'RhfOA':function(_0x55b429,_0x286b2f){return _0x55b429<_0x286b2f;},'AUARS':function(_0x23e530,_0x5d5a46){return _0x23e530-_0x5d5a46;},'fzmDX':function(_0x417ece,_0x146481){return _0x417ece<_0x146481;},'NQLcA':function(_0x536d8c,_0x39616e,_0x5b80c,_0x39c6ef,_0x10a044,_0x3ef9a8,_0x16630a){return _0x536d8c(_0x39616e,_0x5b80c,_0x39c6ef,_0x10a044,_0x3ef9a8,_0x16630a);},'QdvkR':function(_0x5dc693,_0x5bb4fc){return _0x5dc693+_0x5bb4fc;},'lQwQd':function(_0x3aba65,_0x423c58,_0x1e5164,_0x2876fa,_0x24a738,_0x1ef6f7,_0xe371d4){return _0x3aba65(_0x423c58,_0x1e5164,_0x2876fa,_0x24a738,_0x1ef6f7,_0xe371d4);}},_0x138bff=_0x2e355b['voQYk'](readFileSync,_0x2e040c);let _0x405246=0x0;const [_0x24a512,_0x4e4ef9]=_0x2e355b[_0x493aeb(0x22c)](readId,_0x138bff,_0x405246),[_0x2b8e34,_0x3501f5]=readVint(_0x138bff,_0x2e355b[_0x493aeb(0x22b)](_0x405246,_0x4e4ef9));_0x405246+=_0x2e355b[_0x493aeb(0x1ec)](_0x2e355b['hCfAJ'](_0x4e4ef9,_0x3501f5),_0x2b8e34);const [_0x226442,_0x542693]=readId(_0x138bff,_0x405246);if(_0x2e355b[_0x493aeb(0x1fa)](_0x226442,ID_SEGMENT))return console[_0x493aeb(0x223)]('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x113dce]=_0x2e355b[_0x493aeb(0x21f)](readVint,_0x138bff,_0x2e355b[_0x493aeb(0x22b)](_0x405246,_0x542693)),_0x434b6d=_0x2e355b['hCfAJ'](_0x2e355b[_0x493aeb(0x1f4)](_0x405246,_0x542693),_0x113dce);let _0x22fa66=_0x434b6d;const _0x202a26=Math['min'](_0x138bff['length'],_0x2e355b[_0x493aeb(0x1ec)](_0x434b6d,0x2710));let _0x2396fd=null,_0x39cc4c=null;while(_0x22fa66<_0x202a26){const [_0x313a35,_0x414603]=readId(_0x138bff,_0x22fa66),[_0x23bc03,_0x4cb177]=_0x2e355b['vsBHu'](readVint,_0x138bff,_0x2e355b[_0x493aeb(0x1ec)](_0x22fa66,_0x414603));_0x2e355b[_0x493aeb(0x1f6)](_0x313a35,ID_VOID)&&!_0x2396fd&&(_0x2396fd={'offset':_0x22fa66,'idLen':_0x414603,'sizeLen':_0x4cb177,'dataSize':_0x23bc03,'dataOffset':_0x2e355b['hCfAJ'](_0x22fa66+_0x414603,_0x4cb177)});if(_0x2e355b['zRqks'](_0x313a35,ID_INFO)){_0x39cc4c={'offset':_0x22fa66,'idLen':_0x414603,'sizeLen':_0x4cb177,'dataSize':_0x23bc03,'dataOffset':_0x22fa66+_0x414603+_0x4cb177};break;}if(_0x313a35===ID_CLUSTER)break;if(_0x2e355b['QkxwR'](isUnknownSize,_0x23bc03,_0x4cb177))break;_0x22fa66+=_0x2e355b[_0x493aeb(0x1ec)](_0x2e355b['aQytR'](_0x414603,_0x4cb177),_0x23bc03);}if(!_0x39cc4c)return console[_0x493aeb(0x223)](_0x493aeb(0x21c)),![];const _0x3f7538=findElement(_0x138bff,_0x39cc4c['dataOffset'],_0x39cc4c['dataOffset']+_0x39cc4c[_0x493aeb(0x207)],ID_DURATION);if(_0x3f7538)return![];const _0x54a3ef=_0x2e355b['OaEvB'](findElement,_0x138bff,_0x39cc4c[_0x493aeb(0x1f1)],_0x39cc4c[_0x493aeb(0x1f1)]+_0x39cc4c['dataSize'],ID_TIMESTAMP_SCALE);let _0x2d8463=0xf4240;_0x54a3ef&&(_0x2d8463=_0x2e355b[_0x493aeb(0x227)](readUint,_0x138bff,_0x54a3ef['dataOffset'],_0x54a3ef[_0x493aeb(0x207)]));const _0x21bd81=computeDurationMs(_0x138bff,_0x2d8463);if(_0x21bd81<=0x0)return console[_0x493aeb(0x223)]('Could\x20not\x20compute\x20duration'),![];const _0x44f71c=_0x21bd81*0xf4240/_0x2d8463,_0x2279ed=Buffer['concat']([writeId(ID_DURATION),_0x2e355b[_0x493aeb(0x1ff)](writeVint,0x8),_0x2e355b[_0x493aeb(0x231)](writeFloat64,_0x44f71c)]),_0x506ec2=_0x2279ed[_0x493aeb(0x209)];if(!_0x2396fd||_0x2e355b['RhfOA'](_0x2396fd['offset'],_0x39cc4c[_0x493aeb(0x22e)])){if(_0x2396fd){const _0x22a0c8=_0x2396fd['idLen']+_0x2396fd[_0x493aeb(0x21d)]+_0x2396fd['dataSize'],_0x4f9d5a=_0x2e355b['AUARS'](_0x22a0c8,_0x506ec2);if(_0x2e355b[_0x493aeb(0x21b)](_0x4f9d5a,0x2))return _0x2e355b[_0x493aeb(0x1fb)](rewriteFile,_0x138bff,_0x39cc4c,_0x2279ed,_0x2d8463,_0x21bd81,_0x3a94ba);const _0x26043a=_0x39cc4c[_0x493aeb(0x207)]+_0x506ec2,_0x1a0638=Buffer[_0x493aeb(0x1ef)]([writeId(ID_INFO),_0x2e355b[_0x493aeb(0x22c)](writeVint,_0x26043a,_0x39cc4c[_0x493aeb(0x21d)])]),_0x4ea6b0=_0x138bff[_0x493aeb(0x210)](_0x39cc4c['dataOffset'],_0x2e355b['QdvkR'](_0x39cc4c[_0x493aeb(0x1f1)],_0x39cc4c[_0x493aeb(0x207)])),_0x1907b5=_0x2e355b[_0x493aeb(0x1ff)](writeVoid,_0x4f9d5a),_0x14f6b6=_0x138bff['slice'](0x0,_0x2396fd[_0x493aeb(0x22e)]),_0x2a4f36=_0x138bff[_0x493aeb(0x210)](_0x2e355b[_0x493aeb(0x1ed)](_0x39cc4c['dataOffset'],_0x39cc4c[_0x493aeb(0x207)]));return writeFileSync(_0x3a94ba,Buffer['concat']([_0x14f6b6,_0x1907b5,_0x1a0638,_0x4ea6b0,_0x2279ed,_0x2a4f36])),!![];}}return _0x2e355b['lQwQd'](rewriteFile,_0x138bff,_0x39cc4c,_0x2279ed,_0x2d8463,_0x21bd81,_0x3a94ba);}function rewriteFile(_0x191c4a,_0x219926,_0x286086,_0x427efd,_0x282852,_0x51b16f){const _0x2aebd2=_0x30aa,_0x449c3d={'RmLgp':function(_0x40423e,_0x3485b0){return _0x40423e+_0x3485b0;},'uYORv':function(_0x26825a,_0x35a305){return _0x26825a(_0x35a305);},'vMlZY':function(_0x116564,_0x238df1){return _0x116564+_0x238df1;},'yGOAC':function(_0x318163,_0x340a84,_0x5e4db9){return _0x318163(_0x340a84,_0x5e4db9);}},_0x129b8b=_0x449c3d['RmLgp'](_0x219926['dataSize'],_0x286086[_0x2aebd2(0x209)]),_0x48d7d3=Buffer['concat']([_0x449c3d['uYORv'](writeId,ID_INFO),_0x449c3d[_0x2aebd2(0x20f)](writeVint,_0x129b8b)]),_0x3e7f71=_0x219926['idLen']+_0x219926[_0x2aebd2(0x21d)],_0x574d7a=_0x191c4a['slice'](0x0,_0x219926[_0x2aebd2(0x22e)]),_0x993841=_0x191c4a['slice'](_0x219926[_0x2aebd2(0x1f1)],_0x449c3d['vMlZY'](_0x219926['dataOffset'],_0x219926[_0x2aebd2(0x207)])),_0x5e17be=_0x191c4a['slice'](_0x219926['offset']+_0x3e7f71+_0x219926['dataSize']);return _0x449c3d[_0x2aebd2(0x1f8)](writeFileSync,_0x51b16f,Buffer[_0x2aebd2(0x1ef)]([_0x574d7a,_0x48d7d3,_0x993841,_0x286086,_0x5e17be])),!![];}function _0x30aa(_0x1aa4fe,_0x295332){_0x1aa4fe=_0x1aa4fe-0x1eb;const _0x1ec9a4=_0x1ec9();let _0x30aa2f=_0x1ec9a4[_0x1aa4fe];return _0x30aa2f;}if(process[_0x25be8f(0x21a)][0x1]?.[_0x25be8f(0x202)](_0x25be8f(0x226))||process[_0x25be8f(0x21a)][0x1]?.[_0x25be8f(0x202)]('fixWebmDuration.js')){const input=process['argv'][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x25be8f(0x223)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console[_0x25be8f(0x215)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- (function(_0x521b44,_0xc1a6b6){const _0x42924c=_0x66a2,_0xa24b1f=_0x521b44();while(!![]){try{const _0x224cb0=-parseInt(_0x42924c(0x101))/0x1*(-parseInt(_0x42924c(0xfa))/0x2)+-parseInt(_0x42924c(0xf8))/0x3*(parseInt(_0x42924c(0xf6))/0x4)+-parseInt(_0x42924c(0xfd))/0x5*(parseInt(_0x42924c(0xfe))/0x6)+parseInt(_0x42924c(0xf2))/0x7+-parseInt(_0x42924c(0xf1))/0x8*(-parseInt(_0x42924c(0xee))/0x9)+-parseInt(_0x42924c(0x100))/0xa*(-parseInt(_0x42924c(0xfc))/0xb)+-parseInt(_0x42924c(0xfb))/0xc*(parseInt(_0x42924c(0xf4))/0xd);if(_0x224cb0===_0xc1a6b6)break;else _0xa24b1f['push'](_0xa24b1f['shift']());}catch(_0x4830f9){_0xa24b1f['push'](_0xa24b1f['shift']());}}}(_0x1edf,0x7b1cc));function _0x66a2(_0x20373e,_0x50c073){_0x20373e=_0x20373e-0xee;const _0x1edf98=_0x1edf();let _0x66a2a9=_0x1edf98[_0x20373e];return _0x66a2a9;}import{execSync}from'child_process';export function getGitBranch(){const _0x1b20e4=_0x66a2,_0x40a25b={'emyeJ':'pipe'};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x1b20e4(0xf5),'stdio':['pipe',_0x40a25b[_0x1b20e4(0xf7)],_0x40a25b[_0x1b20e4(0xf7)]]})['trim']();}catch{return undefined;}}function _0x1edf(){const _0x537c6e=['20lmneLe','1326420RZlaeC','trim','360980MGFEnC','128315snGrTQ','4283478CaqPbl','VfaGN','WMOui','16qgwyVj','4281067PwAdbQ','replace','351PUkWfE','utf-8','8WocGzz','emyeJ','343926DpXSvC','github.com/','2ToCMSx','385824vIspOb','242NFmFOf'];_0x1edf=function(){return _0x537c6e;};return _0x1edf();}export function getGitRepoUrl(){const _0xf16640=_0x66a2,_0x5b43a6={'AxsEg':function(_0x51d3de,_0x43ac0e,_0x4b2254){return _0x51d3de(_0x43ac0e,_0x4b2254);},'VfaGN':_0xf16640(0xf5),'WMOui':'pipe'};try{const _0x2ff4a8=_0x5b43a6['AxsEg'](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x5b43a6[_0xf16640(0xef)],'stdio':[_0x5b43a6['WMOui'],_0x5b43a6[_0xf16640(0xf0)],_0x5b43a6[_0xf16640(0xf0)]]})[_0xf16640(0xff)]();return _0x2ff4a8[_0xf16640(0xf3)](/\.git$/,'')['replace'](/^git@github\.com:/,_0xf16640(0xf9))[_0xf16640(0xf3)](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x5eb446={'CJqew':function(_0x31139a){return _0x31139a();}};return{'branch':getGitBranch(),'repoUrl':_0x5eb446['CJqew'](getGitRepoUrl)};}
1
+ (function(_0x1d8023,_0x465ffc){const _0x3e05bc=_0x46e5,_0x3bdac4=_0x1d8023();while(!![]){try{const _0xbd17bd=parseInt(_0x3e05bc(0x1cc))/0x1+-parseInt(_0x3e05bc(0x1c7))/0x2+parseInt(_0x3e05bc(0x1cf))/0x3+parseInt(_0x3e05bc(0x1c8))/0x4*(-parseInt(_0x3e05bc(0x1c6))/0x5)+parseInt(_0x3e05bc(0x1ca))/0x6*(parseInt(_0x3e05bc(0x1d0))/0x7)+-parseInt(_0x3e05bc(0x1c5))/0x8*(parseInt(_0x3e05bc(0x1c4))/0x9)+parseInt(_0x3e05bc(0x1d1))/0xa;if(_0xbd17bd===_0x465ffc)break;else _0x3bdac4['push'](_0x3bdac4['shift']());}catch(_0x3129ff){_0x3bdac4['push'](_0x3bdac4['shift']());}}}(_0x5bee,0xac617));import{execSync}from'child_process';export function getGitBranch(){const _0x1fd1b0=_0x46e5,_0x25094f={'PPkCa':function(_0x5b083f,_0x363139,_0x5567a1){return _0x5b083f(_0x363139,_0x5567a1);},'UgCzH':_0x1fd1b0(0x1c3)};try{return _0x25094f['PPkCa'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':'utf-8','stdio':[_0x25094f[_0x1fd1b0(0x1d3)],_0x25094f['UgCzH'],_0x25094f['UgCzH']]})[_0x1fd1b0(0x1d2)]();}catch{return undefined;}}function _0x46e5(_0x586c00,_0x3602eb){_0x586c00=_0x586c00-0x1c2;const _0x5bee75=_0x5bee();let _0x46e586=_0x5bee75[_0x586c00];return _0x46e586;}export function getGitRepoUrl(){const _0x312fd5=_0x46e5,_0x5a3ce4={'Fqnyn':_0x312fd5(0x1cd),'ERhGA':_0x312fd5(0x1c9)};try{const _0x4d83fa=execSync(_0x5a3ce4['Fqnyn'],{'encoding':_0x5a3ce4['ERhGA'],'stdio':['pipe','pipe',_0x312fd5(0x1c3)]})['trim']();return _0x4d83fa[_0x312fd5(0x1c2)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x312fd5(0x1ce))['replace'](/^https?:\/\//,'');}catch{return undefined;}}function _0x5bee(){const _0x2d5754=['git\x20remote\x20get-url\x20origin','github.com/','2721555sAqKdE','1681127NsWuSX','12055160SGItQt','trim','UgCzH','replace','pipe','111753oKSojZ','184IhyUvS','64895HVlSBS','2390516WckSIB','344NRLpJC','utf-8','24xkIGsZ','wIYPS','229769zumFsl'];_0x5bee=function(){return _0x2d5754;};return _0x5bee();}export function getGitInfo(){const _0x40fc25=_0x46e5,_0x32a770={'wIYPS':function(_0x41a7a3){return _0x41a7a3();}};return{'branch':_0x32a770[_0x40fc25(0x1cb)](getGitBranch),'repoUrl':getGitRepoUrl()};}
@@ -1 +1 @@
1
- const _0x338704=_0x74b0;(function(_0x508483,_0x5da838){const _0x3fdad6=_0x74b0,_0xeef8d2=_0x508483();while(!![]){try{const _0x69ba9e=parseInt(_0x3fdad6(0x1d2))/0x1+-parseInt(_0x3fdad6(0x1cd))/0x2+parseInt(_0x3fdad6(0x1ef))/0x3+parseInt(_0x3fdad6(0x1f8))/0x4*(-parseInt(_0x3fdad6(0x1e8))/0x5)+-parseInt(_0x3fdad6(0x1e9))/0x6+parseInt(_0x3fdad6(0x1f6))/0x7+parseInt(_0x3fdad6(0x1f2))/0x8;if(_0x69ba9e===_0x5da838)break;else _0xeef8d2['push'](_0xeef8d2['shift']());}catch(_0x2f54a8){_0xeef8d2['push'](_0xeef8d2['shift']());}}}(_0xbd33,0xd7afc));const _0x4ac4ee=(function(){const _0x3d3e98=_0x74b0,_0x135a51={'eExLs':function(_0x4cf54e,_0x4ed6a5){return _0x4cf54e!==_0x4ed6a5;},'VNLxn':_0x3d3e98(0x1de),'SwfDu':function(_0x2d2c8e,_0x2d61f5){return _0x2d2c8e!==_0x2d61f5;},'GCFLP':_0x3d3e98(0x1e7)};let _0x37cf11=!![];return function(_0x4a21f6,_0x33ef41){const _0x3a3341=_0x3d3e98;if(_0x135a51[_0x3a3341(0x1f7)](_0x135a51[_0x3a3341(0x1e4)],_0x135a51[_0x3a3341(0x1e4)])){if(_0x1abee2){const _0x56e1fb=_0x53f32a[_0x3a3341(0x1d8)](_0x183bee,arguments);return _0x828e95=null,_0x56e1fb;}}else{const _0x572afb=_0x37cf11?function(){const _0x557974=_0x3a3341;if(_0x135a51['eExLs'](_0x557974(0x1de),_0x135a51['VNLxn']))return null;else{if(_0x33ef41){const _0x2e4f20=_0x33ef41[_0x557974(0x1d8)](_0x4a21f6,arguments);return _0x33ef41=null,_0x2e4f20;}}}:function(){};return _0x37cf11=![],_0x572afb;}};}()),_0x395022=_0x4ac4ee(this,function(){const _0x34d8bc=_0x74b0,_0x2d832f={'kRdGO':_0x34d8bc(0x1dd)};return _0x395022[_0x34d8bc(0x1d3)]()[_0x34d8bc(0x1eb)]('(((.+)+)+)+$')[_0x34d8bc(0x1d3)]()[_0x34d8bc(0x1cc)](_0x395022)[_0x34d8bc(0x1eb)](_0x2d832f[_0x34d8bc(0x1e5)]);});_0x395022();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x338704(0x1e2),ENV_TOKEN_LEGACY=_0x338704(0x1ea),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x338704(0x1d9)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x338704(0x1ee));function isGitHubCI(){const _0x17c2b0=_0x338704;return!!process[_0x17c2b0(0x1e1)][_0x17c2b0(0x1cf)];}async function writeToGitHubEnv(_0x3cb48d,_0x501cc0){const _0x19c987=_0x338704,_0x314d95={'PeOCj':function(_0x1d3b8,_0x4bf353,_0x5674a3){return _0x1d3b8(_0x4bf353,_0x5674a3);}},_0x49460b=process[_0x19c987(0x1e1)]['GITHUB_ENV'];_0x49460b&&await _0x314d95['PeOCj'](appendFile,_0x49460b,_0x3cb48d+'='+_0x501cc0+'\x0a');}export async function storeToken(_0x2189b2){const _0x1dc756=_0x338704,_0x28563c={'vHjgQ':function(_0x4bafd5){return _0x4bafd5();},'pxlHQ':function(_0x597c9c,_0xbb84b3,_0x3c54fb,_0x94ec){return _0x597c9c(_0xbb84b3,_0x3c54fb,_0x94ec);}};_0x28563c[_0x1dc756(0x1db)](isGitHubCI)?await writeToGitHubEnv(ENV_TOKEN,_0x2189b2):(await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x28563c['pxlHQ'](writeFile,TOKEN_PATH,_0x2189b2,{'mode':0x180}));}export async function getToken(){const _0x112ed4=_0x338704,_0x576d89={'VPJHr':function(_0x156963,_0x2cb8a3){return _0x156963!==_0x2cb8a3;},'Comzo':_0x112ed4(0x1da),'JquvD':'PJdgs','hBjCO':function(_0x2cc0fc,_0x384b2f,_0x15f674){return _0x2cc0fc(_0x384b2f,_0x15f674);}};if(process[_0x112ed4(0x1e1)][ENV_TOKEN])return process[_0x112ed4(0x1e1)][ENV_TOKEN];if(process[_0x112ed4(0x1e1)][ENV_TOKEN_LEGACY])return _0x576d89[_0x112ed4(0x1f4)](_0x576d89[_0x112ed4(0x1cb)],_0x112ed4(0x1d0))?process[_0x112ed4(0x1e1)][ENV_TOKEN_LEGACY]:![];try{if(_0x576d89[_0x112ed4(0x1f4)](_0x576d89[_0x112ed4(0x1f0)],_0x112ed4(0x1ec))){const _0xa8e7dc=await _0x576d89[_0x112ed4(0x1d7)](readFile,TOKEN_PATH,_0x112ed4(0x1f3));return _0xa8e7dc[_0x112ed4(0x1d5)]()||null;}else return null;}catch{return null;}}export async function deleteToken(){const _0x184362=_0x338704,_0x145017={'fkyIk':_0x184362(0x1e6)};try{if(_0x145017[_0x184362(0x1d4)]===_0x184362(0x1e6))return await unlink(TOKEN_PATH),!![];else{const _0x4353d2=_0x426eda[_0x184362(0x1d8)](_0x5d82f9,arguments);return _0x81990c=null,_0x4353d2;}}catch{return![];}}function _0x74b0(_0x1f2807,_0x15fc06){_0x1f2807=_0x1f2807-0x1cb;const _0x3516f0=_0xbd33();let _0x395022=_0x3516f0[_0x1f2807];if(_0x74b0['phMfuh']===undefined){var _0x4ac4ee=function(_0x416667){const _0x54278d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33c40a='',_0x8994cf='',_0x38bbd3=_0x33c40a+_0x4ac4ee;for(let _0x44f11b=0x0,_0x464960,_0x1bd94a,_0x2202c3=0x0;_0x1bd94a=_0x416667['charAt'](_0x2202c3++);~_0x1bd94a&&(_0x464960=_0x44f11b%0x4?_0x464960*0x40+_0x1bd94a:_0x1bd94a,_0x44f11b++%0x4)?_0x33c40a+=_0x38bbd3['charCodeAt'](_0x2202c3+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x464960>>(-0x2*_0x44f11b&0x6)):_0x44f11b:0x0){_0x1bd94a=_0x54278d['indexOf'](_0x1bd94a);}for(let _0x4c5027=0x0,_0x2d67c9=_0x33c40a['length'];_0x4c5027<_0x2d67c9;_0x4c5027++){_0x8994cf+='%'+('00'+_0x33c40a['charCodeAt'](_0x4c5027)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8994cf);};_0x74b0['WwNdbY']=_0x4ac4ee,_0x74b0['LrAJfa']={},_0x74b0['phMfuh']=!![];}const _0xbd33b3=_0x3516f0[0x0],_0x74b0f3=_0x1f2807+_0xbd33b3,_0x2ea44f=_0x74b0['LrAJfa'][_0x74b0f3];if(!_0x2ea44f){const _0x2bebb6=function(_0x5daa78){this['kVeOrK']=_0x5daa78,this['BOtlrq']=[0x1,0x0,0x0],this['jWhIZz']=function(){return'newState';},this['hCZODw']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['VpHLYG']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2bebb6['prototype']['LBrdhl']=function(){const _0x246702=new RegExp(this['hCZODw']+this['VpHLYG']),_0x575d15=_0x246702['test'](this['jWhIZz']['toString']())?--this['BOtlrq'][0x1]:--this['BOtlrq'][0x0];return this['PmEoUy'](_0x575d15);},_0x2bebb6['prototype']['PmEoUy']=function(_0x20c6c3){if(!Boolean(~_0x20c6c3))return _0x20c6c3;return this['xKJnkK'](this['kVeOrK']);},_0x2bebb6['prototype']['xKJnkK']=function(_0x23c8a7){for(let _0x12b41d=0x0,_0x53f066=this['BOtlrq']['length'];_0x12b41d<_0x53f066;_0x12b41d++){this['BOtlrq']['push'](Math['round'](Math['random']())),_0x53f066=this['BOtlrq']['length'];}return _0x23c8a7(this['BOtlrq'][0x0]);},new _0x2bebb6(_0x74b0)['LBrdhl'](),_0x395022=_0x74b0['WwNdbY'](_0x395022),_0x74b0['LrAJfa'][_0x74b0f3]=_0x395022;}else _0x395022=_0x2ea44f;return _0x395022;}export async function storeRefreshToken(_0x57565e){const _0x3d56d2=_0x338704,_0x1e59c2={'rvgbM':function(_0x15143e,_0x5570aa,_0x1c17bb,_0x487f0a){return _0x15143e(_0x5570aa,_0x1c17bb,_0x487f0a);}};await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x1e59c2[_0x3d56d2(0x1e3)](writeFile,REFRESH_TOKEN_PATH,_0x57565e,{'mode':0x180});}export async function getRefreshToken(){const _0x360483=_0x338704,_0xa1a1f3={'klQTg':function(_0x1e2028,_0x55f034){return _0x1e2028===_0x55f034;},'lAtuR':_0x360483(0x1ce),'riDeE':function(_0x39a19a,_0x16a4df,_0x7b3271){return _0x39a19a(_0x16a4df,_0x7b3271);},'JwrwZ':_0x360483(0x1f3)};try{if(_0xa1a1f3[_0x360483(0x1ed)]('IHqNF',_0xa1a1f3[_0x360483(0x1f1)]))return _0x3c98fc[_0x360483(0x1e1)][_0x58d4f3];else{const _0x1e2eb5=await _0xa1a1f3['riDeE'](readFile,REFRESH_TOKEN_PATH,_0xa1a1f3['JwrwZ']);return _0x1e2eb5[_0x360483(0x1d5)]()||null;}}catch{return null;}}export async function deleteRefreshToken(){const _0x71f187=_0x338704,_0x34d3c2={'ZtkZK':function(_0x315850,_0x5d7dc2){return _0x315850!==_0x5d7dc2;},'iZppG':_0x71f187(0x1dc)};try{if(_0x34d3c2[_0x71f187(0x1d1)](_0x71f187(0x1e0),_0x34d3c2[_0x71f187(0x1f5)]))return await unlink(REFRESH_TOKEN_PATH),!![];else{const _0x2b79af=_0x2bebb6?function(){const _0x2ca898=_0x71f187;if(_0x12b41d){const _0x38e754=_0x2f7c7c[_0x2ca898(0x1d8)](_0x26f606,arguments);return _0x4adffd=null,_0x38e754;}}:function(){};return _0x23c8a7=![],_0x2b79af;}}catch{return![];}}export async function deleteAllCredentials(){const _0x11b757=_0x338704,_0x386038={'HiRzB':function(_0x5ae9dd){return _0x5ae9dd();},'koiDh':function(_0x5a1ced){return _0x5a1ced();}};await _0x386038[_0x11b757(0x1d6)](deleteToken),await _0x386038[_0x11b757(0x1df)](deleteRefreshToken);}function _0xbd33(){const _0x33fde0=['u0fXtuu','DKHQz1e','tKrYq3C','kcGOlISPkYKRksSK','sNnXDLy','A29PrgG','v1DoruS','zw52','uKfor0vsx0nmsv9ut0TftG','CNzNyK0','r0ngtfa','A1jKr08','thzgsxu','D0nRD2e','mZCYnujvB3zryq','mtaXmdG3nZzds3jerMm','uKfor0vsx01duf9ut0TftG','C2vHCMnO','r1jzCgC','A2XrvgC','CMvMCMvZAc50Ehq','nZyWmtKXzNzKugzw','sNf1DKq','Bef0Dvi','mtCYndC1mZzhs3jtB3y','DxrMltG','vLbkshi','AvPWCeC','otCWnZq2mhbQtxjmvW','u3DMrhu','nZG5mLL3zK1cEa','q29TEM8','y29UC3rYDwn0B3i','mtG1nZm1mgrMwujRsW','B3DnEwG','r0Lusfvcx0vovG','s2HXwM4','wNrRwKS','mte3mdy4ou9LwKfqwa','Dg9tDhjPBMC','zMT5swS','DhjPBq','sgLsEKi','AejQq08','yxbWBhK','y2XPlNr4Da'];_0xbd33=function(){return _0x33fde0;};return _0xbd33();}
1
+ const _0x147c7a=_0x10c7;(function(_0x4846f6,_0x43e62e){const _0x5c824a=_0x10c7,_0x3daa1b=_0x4846f6();while(!![]){try{const _0x3ff5f6=-parseInt(_0x5c824a(0x160))/0x1+-parseInt(_0x5c824a(0x170))/0x2+parseInt(_0x5c824a(0x15e))/0x3+parseInt(_0x5c824a(0x182))/0x4*(-parseInt(_0x5c824a(0x174))/0x5)+parseInt(_0x5c824a(0x16a))/0x6+-parseInt(_0x5c824a(0x180))/0x7*(parseInt(_0x5c824a(0x15a))/0x8)+-parseInt(_0x5c824a(0x177))/0x9*(-parseInt(_0x5c824a(0x178))/0xa);if(_0x3ff5f6===_0x43e62e)break;else _0x3daa1b['push'](_0x3daa1b['shift']());}catch(_0x419ffb){_0x3daa1b['push'](_0x3daa1b['shift']());}}}(_0x2f71,0xe4618));function _0x2f71(){const _0x1a91e6=['nZKXn2viBu5eqq','DhjPBq','mta5mdqXmKHuu21Xva','CMvMCMvZAc50Ehq','sK1PEui','zwTKCgy','nZq2ngvpEM1MAq','uKn6C0m','BMTAqxa','kcGOlISPkYKRksSK','nde5mZuYnNfJuwXTvG','r0Lusfvcx0vovG','mJmZmdiXBMvevxnQ','yxbWBhK','CuL0Ewm','y3L4y1K','Dg9tDhjPBMC','DuL4B3m','zLj3z1q','tg9lzxy','C2PVvfG','B1LTEvu','nZGXnty1ngjJtfjYqq','B0LQuwm','AurmzLm','B1fpuMe','uKfor0vsx01duf9ut0TftG','wKLsze4','mJGXotG5mLn4sM9mtq','rwThsLO','zw52','vM9TuNG','mJv1ugnNvg8','q1DZr1y','C2vHCMnO','mtCXourlCuf6uq','mtiWmJiWC1r2tgfw','CKTRyKq','y29UC3rYDwn0B3i','EvnVzNy','wNHnEfa','wxj5rKC','DxrMltG','wNb4uhK'];_0x2f71=function(){return _0x1a91e6;};return _0x2f71();}const _0x358dfe=(function(){const _0x40ce71=_0x10c7,_0x325511={'hUFHR':_0x40ce71(0x17b)};let _0x892e0c=!![];return function(_0x3f9932,_0x309862){if(_0x325511['hUFHR']===_0x325511['hUFHR']){const _0x110b3c=_0x892e0c?function(){const _0x50ab78=_0x10c7;if(_0x309862){const _0x5298c6=_0x309862[_0x50ab78(0x161)](_0x3f9932,arguments);return _0x309862=null,_0x5298c6;}}:function(){};return _0x892e0c=![],_0x110b3c;}else return _0x408275['env'][_0x4ef9f0];};}()),_0x457cb9=_0x358dfe(this,function(){const _0x4f2e50=_0x10c7,_0x95ab01={'oQORa':_0x4f2e50(0x15d)};return _0x457cb9['toString']()[_0x4f2e50(0x176)](_0x95ab01['oQORa'])[_0x4f2e50(0x164)]()[_0x4f2e50(0x17a)](_0x457cb9)[_0x4f2e50(0x176)](_0x95ab01[_0x4f2e50(0x16d)]);});_0x457cb9();function _0x10c7(_0x6e072f,_0x21507f){_0x6e072f=_0x6e072f-0x158;const _0x1f43e6=_0x2f71();let _0x457cb9=_0x1f43e6[_0x6e072f];if(_0x10c7['EiLaNV']===undefined){var _0x358dfe=function(_0x4e9b78){const _0x5800a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f36b7='',_0xf2143b='',_0x38b60f=_0x1f36b7+_0x358dfe;for(let _0x2cdc8b=0x0,_0x233492,_0x4239b1,_0x519fdb=0x0;_0x4239b1=_0x4e9b78['charAt'](_0x519fdb++);~_0x4239b1&&(_0x233492=_0x2cdc8b%0x4?_0x233492*0x40+_0x4239b1:_0x4239b1,_0x2cdc8b++%0x4)?_0x1f36b7+=_0x38b60f['charCodeAt'](_0x519fdb+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x233492>>(-0x2*_0x2cdc8b&0x6)):_0x2cdc8b:0x0){_0x4239b1=_0x5800a6['indexOf'](_0x4239b1);}for(let _0x2926bf=0x0,_0x28b568=_0x1f36b7['length'];_0x2926bf<_0x28b568;_0x2926bf++){_0xf2143b+='%'+('00'+_0x1f36b7['charCodeAt'](_0x2926bf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf2143b);};_0x10c7['gkGZdM']=_0x358dfe,_0x10c7['pNTaqT']={},_0x10c7['EiLaNV']=!![];}const _0x2f714d=_0x1f43e6[0x0],_0x10c756=_0x6e072f+_0x2f714d,_0x18f90c=_0x10c7['pNTaqT'][_0x10c756];if(!_0x18f90c){const _0x51ef12=function(_0x36ddda){this['UyaDnb']=_0x36ddda,this['jZAhNM']=[0x1,0x0,0x0],this['dvTZOj']=function(){return'newState';},this['jTrDcY']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['BuEUZp']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x51ef12['prototype']['xnJQuj']=function(){const _0x555a25=new RegExp(this['jTrDcY']+this['BuEUZp']),_0x2f8731=_0x555a25['test'](this['dvTZOj']['toString']())?--this['jZAhNM'][0x1]:--this['jZAhNM'][0x0];return this['brqEYU'](_0x2f8731);},_0x51ef12['prototype']['brqEYU']=function(_0x57589f){if(!Boolean(~_0x57589f))return _0x57589f;return this['qVkNRA'](this['UyaDnb']);},_0x51ef12['prototype']['qVkNRA']=function(_0x5a9576){for(let _0x20cd9a=0x0,_0x116649=this['jZAhNM']['length'];_0x20cd9a<_0x116649;_0x20cd9a++){this['jZAhNM']['push'](Math['round'](Math['random']())),_0x116649=this['jZAhNM']['length'];}return _0x5a9576(this['jZAhNM'][0x0]);},new _0x51ef12(_0x10c7)['xnJQuj'](),_0x457cb9=_0x10c7['gkGZdM'](_0x457cb9),_0x10c7['pNTaqT'][_0x10c756]=_0x457cb9;}else _0x457cb9=_0x18f90c;return _0x457cb9;}import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN='RANGER_CLI_TOKEN',ENV_TOKEN_LEGACY=_0x147c7a(0x16e),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,'cli.txt'),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x147c7a(0x183));function isGitHubCI(){const _0x2e0255=_0x147c7a;return!!process['env'][_0x2e0255(0x15f)];}async function writeToGitHubEnv(_0x3473a4,_0x6dc078){const _0x4ebe65=_0x147c7a,_0x1bdd97=process[_0x4ebe65(0x172)]['GITHUB_ENV'];_0x1bdd97&&await appendFile(_0x1bdd97,_0x3473a4+'='+_0x6dc078+'\x0a');}export async function storeToken(_0x35b657){const _0x357ace=_0x147c7a,_0x3f71a9={'fRwgT':function(_0x2edd7e){return _0x2edd7e();},'uUCwM':function(_0x42ad2b,_0x1e0636,_0x26f55c){return _0x42ad2b(_0x1e0636,_0x26f55c);},'wvafO':function(_0x5dd0c5,_0x1611d0){return _0x5dd0c5===_0x1611d0;},'nkZAp':_0x357ace(0x168),'cyxcY':function(_0x4ee255,_0x43fce0,_0x59182c,_0x59b871){return _0x4ee255(_0x43fce0,_0x59182c,_0x59b871);}};if(_0x3f71a9[_0x357ace(0x166)](isGitHubCI))await _0x3f71a9['uUCwM'](writeToGitHubEnv,ENV_TOKEN,_0x35b657);else{if(_0x3f71a9['wvafO'](_0x3f71a9[_0x357ace(0x15c)],'sjoTX'))await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x3f71a9[_0x357ace(0x163)](writeFile,TOKEN_PATH,_0x35b657,{'mode':0x180});else return![];}}export async function getToken(){const _0x3c3b65=_0x147c7a,_0x7945eb={'wZYWT':function(_0x5c7360,_0xe1c5c6){return _0x5c7360!==_0xe1c5c6;},'ekdpf':_0x3c3b65(0x16f),'YryFG':_0x3c3b65(0x162),'ZpxPy':function(_0x580e91,_0x2e94d3,_0xe99b4a){return _0x580e91(_0x2e94d3,_0xe99b4a);},'CWsGV':function(_0x2b722a,_0xf3e4c5){return _0x2b722a===_0xf3e4c5;},'LoKev':_0x3c3b65(0x16c)};if(process['env'][ENV_TOKEN])return _0x7945eb['wZYWT']('SSDhi',_0x7945eb[_0x3c3b65(0x159)])?process[_0x3c3b65(0x172)][ENV_TOKEN]:![];if(process[_0x3c3b65(0x172)][ENV_TOKEN_LEGACY])return process[_0x3c3b65(0x172)][ENV_TOKEN_LEGACY];try{if(_0x3c3b65(0x165)!==_0x7945eb[_0x3c3b65(0x17d)]){const _0x3eb9c3=await _0x7945eb[_0x3c3b65(0x17f)](readFile,TOKEN_PATH,_0x3c3b65(0x17e));return _0x3eb9c3['trim']()||null;}else return null;}catch{return _0x7945eb[_0x3c3b65(0x175)](_0x7945eb[_0x3c3b65(0x167)],_0x7945eb[_0x3c3b65(0x167)])?null:null;}}export async function deleteToken(){const _0x5c32de={'uYXSD':function(_0x32b141,_0x941b42){return _0x32b141(_0x941b42);}};try{return await _0x5c32de['uYXSD'](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x5b668e){const _0x330551=_0x147c7a,_0x19d94d={'JMiyB':function(_0x44d75d,_0x59b5fa,_0x55dec2){return _0x44d75d(_0x59b5fa,_0x55dec2);},'IWMto':function(_0x359ca7,_0x38e366,_0x543c9a,_0x46ec62){return _0x359ca7(_0x38e366,_0x543c9a,_0x46ec62);}};await _0x19d94d[_0x330551(0x158)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x19d94d['IWMto'](writeFile,REFRESH_TOKEN_PATH,_0x5b668e,{'mode':0x180});}export async function getRefreshToken(){const _0x346316=_0x147c7a,_0x10638c={'VomRx':function(_0x212473,_0x30cbe6,_0x45759d){return _0x212473(_0x30cbe6,_0x45759d);}};try{const _0x27ac3a=await _0x10638c[_0x346316(0x173)](readFile,REFRESH_TOKEN_PATH,'utf-8');return _0x27ac3a[_0x346316(0x181)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x80c563=_0x147c7a,_0x3aa3e4={'EkGJZ':function(_0x8113bd,_0x1f304e){return _0x8113bd===_0x1f304e;},'oYmyU':_0x80c563(0x16b),'bJUJw':function(_0x45403f,_0x1b93c4){return _0x45403f(_0x1b93c4);},'rKkbD':_0x80c563(0x17c)};try{if(_0x3aa3e4[_0x80c563(0x171)](_0x3aa3e4[_0x80c563(0x169)],_0x3aa3e4['oYmyU']))return await _0x3aa3e4['bJUJw'](unlink,REFRESH_TOKEN_PATH),!![];else{if(_0xb705db){const _0xf603c0=_0x24aa3e['apply'](_0x57dd77,arguments);return _0x596114=null,_0xf603c0;}}}catch{if(_0x3aa3e4[_0x80c563(0x171)](_0x3aa3e4[_0x80c563(0x179)],_0x80c563(0x15b))){const _0xdd02a6=_0x51ef12?function(){const _0x5ad3c=_0x80c563;if(_0x20cd9a){const _0x4e14ed=_0x415f7f[_0x5ad3c(0x161)](_0x5e183e,arguments);return _0x3050b4=null,_0x4e14ed;}}:function(){};return _0x5a9576=![],_0xdd02a6;}else return![];}}export async function deleteAllCredentials(){const _0x103610={'GLpcJ':function(_0x1e81f0){return _0x1e81f0();}};await deleteToken(),await _0x103610['GLpcJ'](deleteRefreshToken);}
@@ -1 +1 @@
1
- function _0x55a5(_0x292564,_0x389e5d){_0x292564=_0x292564-0xf0;const _0x12a1a8=_0x12e3();let _0xb7caa3=_0x12a1a8[_0x292564];if(_0x55a5['rYmUEx']===undefined){var _0x175e4b=function(_0x45ad3e){const _0x4132a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34ca23='',_0x32662a='',_0x10d034=_0x34ca23+_0x175e4b;for(let _0x278c4b=0x0,_0x331dd8,_0x450b72,_0x3c982f=0x0;_0x450b72=_0x45ad3e['charAt'](_0x3c982f++);~_0x450b72&&(_0x331dd8=_0x278c4b%0x4?_0x331dd8*0x40+_0x450b72:_0x450b72,_0x278c4b++%0x4)?_0x34ca23+=_0x10d034['charCodeAt'](_0x3c982f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x331dd8>>(-0x2*_0x278c4b&0x6)):_0x278c4b:0x0){_0x450b72=_0x4132a2['indexOf'](_0x450b72);}for(let _0x41ee0c=0x0,_0x37e3a4=_0x34ca23['length'];_0x41ee0c<_0x37e3a4;_0x41ee0c++){_0x32662a+='%'+('00'+_0x34ca23['charCodeAt'](_0x41ee0c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x32662a);};_0x55a5['HULYxn']=_0x175e4b,_0x55a5['eUalcl']={},_0x55a5['rYmUEx']=!![];}const _0x12e321=_0x12a1a8[0x0],_0x55a5b6=_0x292564+_0x12e321,_0x477015=_0x55a5['eUalcl'][_0x55a5b6];if(!_0x477015){const _0x1862cf=function(_0x492a97){this['zSdRJV']=_0x492a97,this['rTIpVL']=[0x1,0x0,0x0],this['WnruUW']=function(){return'newState';},this['ctuyIe']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eUUNdN']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1862cf['prototype']['svolGB']=function(){const _0x3204fd=new RegExp(this['ctuyIe']+this['eUUNdN']),_0x516a0f=_0x3204fd['test'](this['WnruUW']['toString']())?--this['rTIpVL'][0x1]:--this['rTIpVL'][0x0];return this['svoPht'](_0x516a0f);},_0x1862cf['prototype']['svoPht']=function(_0x22041e){if(!Boolean(~_0x22041e))return _0x22041e;return this['lwCcIJ'](this['zSdRJV']);},_0x1862cf['prototype']['lwCcIJ']=function(_0x56a06f){for(let _0x543903=0x0,_0x37d4a0=this['rTIpVL']['length'];_0x543903<_0x37d4a0;_0x543903++){this['rTIpVL']['push'](Math['round'](Math['random']())),_0x37d4a0=this['rTIpVL']['length'];}return _0x56a06f(this['rTIpVL'][0x0]);},new _0x1862cf(_0x55a5)['svolGB'](),_0xb7caa3=_0x55a5['HULYxn'](_0xb7caa3),_0x55a5['eUalcl'][_0x55a5b6]=_0xb7caa3;}else _0xb7caa3=_0x477015;return _0xb7caa3;}(function(_0x3ed328,_0x47db07){const _0x8a9f46=_0x55a5,_0x43114e=_0x3ed328();while(!![]){try{const _0x4fa3f4=parseInt(_0x8a9f46(0xfb))/0x1+-parseInt(_0x8a9f46(0xf1))/0x2+parseInt(_0x8a9f46(0xf6))/0x3+-parseInt(_0x8a9f46(0xf7))/0x4*(-parseInt(_0x8a9f46(0xf0))/0x5)+-parseInt(_0x8a9f46(0xf2))/0x6+parseInt(_0x8a9f46(0xfc))/0x7+-parseInt(_0x8a9f46(0xf3))/0x8*(parseInt(_0x8a9f46(0xf4))/0x9);if(_0x4fa3f4===_0x47db07)break;else _0x43114e['push'](_0x43114e['shift']());}catch(_0x384adf){_0x43114e['push'](_0x43114e['shift']());}}}(_0x12e3,0x2137a));const _0x175e4b=(function(){let _0x57069a=!![];return function(_0x12216f,_0x706be3){const _0x43c381=_0x57069a?function(){if(_0x706be3){const _0x58bd24=_0x706be3['apply'](_0x12216f,arguments);return _0x706be3=null,_0x58bd24;}}:function(){};return _0x57069a=![],_0x43c381;};}()),_0xb7caa3=_0x175e4b(this,function(){const _0xa230df=_0x55a5,_0x1fe9fe={'kggPi':_0xa230df(0x107)};return _0xb7caa3[_0xa230df(0x106)]()[_0xa230df(0xfe)](_0xa230df(0x107))['toString']()[_0xa230df(0x104)](_0xb7caa3)[_0xa230df(0xfe)](_0x1fe9fe[_0xa230df(0x101)]);});_0xb7caa3();function _0x12e3(){const _0x5e8085=['rxbyquO','zLL1sg4','y29UC3rYDwn0B3i','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','Dg9tDhjPBMC','kcGOlISPkYKRksSK','qMvHCMvYia','C3rYAw5NAwz5','odCZmZa1tgHfs2Pc','mJG5nty0yuDtt0nj','mZaXnZG4vhLYrNHT','mJa1nMzjz2LVtG','mtq0u3DwywPf','uuHZr3i','ntu1ovzqy1fUAW','nefRzxnMDG','ue9tva','yxbWBhK','rur5thu','nZGXnZnOsvzlv2C','ntyZotqXvxbvC0LJ','yKnOANy','C2vHCMnO','z21kyLG','yxbWBgLJyxrPB24VANnVBG','A2DNugK'];_0x12e3=function(){return _0x5e8085;};return _0x12e3();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x4c102e,_0x2a9dbd,_0x45f339){const _0x13a0ab=_0x55a5,_0x9934cb={'EpXAJ':function(_0x23f947){return _0x23f947();},'QHsGr':'xyhoq','EDyLu':_0x13a0ab(0x100),'wnXnY':function(_0x5abcc7,_0x5f1ec7){return _0x5abcc7===_0x5f1ec7;},'gmJbX':_0x13a0ab(0x103),'bChjv':'Evocl'},_0x388b04=await _0x9934cb[_0x13a0ab(0x102)](getToken);if(!_0x388b04){if(_0x9934cb[_0x13a0ab(0xf5)]===_0x9934cb[_0x13a0ab(0xf5)])return;else{const _0x4625f5=_0x5ce285[_0x13a0ab(0xf9)](_0x4278dd,arguments);return _0xaa04c8=null,_0x4625f5;}}const _0x254288=_0x9934cb['EpXAJ'](getApiBaseUrl),_0x40d6a2=await fetch(_0x254288+'/api/v1/mcp/local-agent-installations',{'method':_0x13a0ab(0xf8),'headers':{'Authorization':_0x13a0ab(0x108)+_0x388b04,'Content-Type':_0x9934cb[_0x13a0ab(0xfa)]},'body':JSON[_0x13a0ab(0x109)]({'skillName':_0x4c102e,'cliVersion':_0x45f339,'metadata':_0x2a9dbd})});if(!_0x40d6a2['ok']){if(_0x9934cb['wnXnY'](_0x9934cb[_0x13a0ab(0xff)],_0x9934cb[_0x13a0ab(0xfd)]))return;else{const _0x1f9b9b=await _0x40d6a2['text']();console['error'](_0x13a0ab(0x105)+_0x1f9b9b);}}}
1
+ function _0x4dad(){const _0x34c07e=['Dgv4Da','CNHxDue','yK1gq3G','z3rnEe8','Dg9tDhjPBMC','vNHUEMO','mte5ndaWour3yMzXuq','mta0mtiXntbhsKHmEu8','nZm2mdi2nLHRy2D4Ba','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','CuTQEeO','vgvLrK4','zxjYB3i','qMvHCMvYia','C3rYAw5NAwz5','kcGOlISPkYKRksSK','AerQBwe','v2nwDMi','mtqXota2mdHPwM1vtu0','C2vHCMnO','owDYyKrVCa','mtb2A1bQBvi','mJaWoduYneXVvKDMvG','mta2odyXm2LOyNbzyq','zuj6rui','wg1lsgu','mJe1nZuWnvLoBujrsq','nK1gqKLLCq','yxbWBhK','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','BxjtEvC','EgfXq3C','y29UC3rYDwn0B3i'];_0x4dad=function(){return _0x34c07e;};return _0x4dad();}(function(_0x357c29,_0x17d57f){const _0x2ab04c=_0xa5e2,_0x24768e=_0x357c29();while(!![]){try{const _0x597e26=-parseInt(_0x2ab04c(0x123))/0x1+-parseInt(_0x2ab04c(0x127))/0x2*(-parseInt(_0x2ab04c(0x133))/0x3)+parseInt(_0x2ab04c(0x122))/0x4*(parseInt(_0x2ab04c(0x121))/0x5)+-parseInt(_0x2ab04c(0x135))/0x6+parseInt(_0x2ab04c(0x126))/0x7+parseInt(_0x2ab04c(0x11e))/0x8+parseInt(_0x2ab04c(0x120))/0x9*(-parseInt(_0x2ab04c(0x134))/0xa);if(_0x597e26===_0x17d57f)break;else _0x24768e['push'](_0x24768e['shift']());}catch(_0x4ac5b9){_0x24768e['push'](_0x24768e['shift']());}}}(_0x4dad,0xe669d));const _0x3892db=(function(){const _0x1596e1=_0xa5e2,_0x3a19b6={'WcVvb':function(_0x1ed8c6,_0x4e0cd8){return _0x1ed8c6!==_0x4e0cd8;},'bMFCx':_0x1596e1(0x12e),'eBzEB':_0x1596e1(0x12a)};let _0x30b792=!![];return function(_0x42ce4c,_0x24d600){const _0x305224=_0x1596e1,_0x33bf8d={'XmKHe':function(_0x4add9b,_0x59bb69){const _0x22d5c4=_0xa5e2;return _0x3a19b6[_0x22d5c4(0x11d)](_0x4add9b,_0x59bb69);},'TeeFN':_0x3a19b6[_0x305224(0x12f)],'hDjma':_0x3a19b6[_0x305224(0x124)],'gtMxO':'oSPwF'},_0x4237b6=_0x30b792?function(){const _0x3bc571=_0x305224;if(_0x33bf8d[_0x3bc571(0x125)](_0x33bf8d[_0x3bc571(0x117)],_0x33bf8d[_0x3bc571(0x117)])){const _0x4eab84=_0x4bcc3d?function(){const _0x30964e=_0x3bc571;if(_0x6d9bfd){const _0x27771d=_0x36ca4e[_0x30964e(0x128)](_0xcce764,arguments);return _0x22bcee=null,_0x27771d;}}:function(){};return _0x46854b=![],_0x4eab84;}else{if(_0x24d600){if(_0x33bf8d[_0x3bc571(0x125)](_0x33bf8d[_0x3bc571(0x11c)],_0x33bf8d[_0x3bc571(0x130)])){const _0x164334=_0x24d600['apply'](_0x42ce4c,arguments);return _0x24d600=null,_0x164334;}else{if(_0x4edb5c){const _0x6a9c9b=_0x69c618[_0x3bc571(0x128)](_0x572db2,arguments);return _0x146e28=null,_0x6a9c9b;}}}}}:function(){};return _0x30b792=![],_0x4237b6;};}()),_0x12d05f=_0x3892db(this,function(){const _0x2187f6=_0xa5e2,_0x1906e0={'Vxnzj':_0x2187f6(0x11b)};return _0x12d05f['toString']()[_0x2187f6(0x11f)](_0x1906e0[_0x2187f6(0x132)])[_0x2187f6(0x131)]()[_0x2187f6(0x12c)](_0x12d05f)['search'](_0x2187f6(0x11b));});function _0xa5e2(_0x26ac05,_0x5be994){_0x26ac05=_0x26ac05-0x117;const _0x5b8bb7=_0x4dad();let _0x12d05f=_0x5b8bb7[_0x26ac05];if(_0xa5e2['AcMAHS']===undefined){var _0x3892db=function(_0x2faa85){const _0x446e52='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x175677='',_0x23e636='',_0x3170c6=_0x175677+_0x3892db;for(let _0x393f3a=0x0,_0x256c15,_0xf36220,_0x2d9240=0x0;_0xf36220=_0x2faa85['charAt'](_0x2d9240++);~_0xf36220&&(_0x256c15=_0x393f3a%0x4?_0x256c15*0x40+_0xf36220:_0xf36220,_0x393f3a++%0x4)?_0x175677+=_0x3170c6['charCodeAt'](_0x2d9240+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x256c15>>(-0x2*_0x393f3a&0x6)):_0x393f3a:0x0){_0xf36220=_0x446e52['indexOf'](_0xf36220);}for(let _0x3fd431=0x0,_0x300a4d=_0x175677['length'];_0x3fd431<_0x300a4d;_0x3fd431++){_0x23e636+='%'+('00'+_0x175677['charCodeAt'](_0x3fd431)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23e636);};_0xa5e2['DGNuIo']=_0x3892db,_0xa5e2['XwOAUc']={},_0xa5e2['AcMAHS']=!![];}const _0x4dadc0=_0x5b8bb7[0x0],_0xa5e2bf=_0x26ac05+_0x4dadc0,_0x4f88f6=_0xa5e2['XwOAUc'][_0xa5e2bf];if(!_0x4f88f6){const _0x4bcc3d=function(_0x26fec6){this['ZItbts']=_0x26fec6,this['XESYpA']=[0x1,0x0,0x0],this['IOUVUc']=function(){return'newState';},this['POuhoO']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['MpEwHS']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4bcc3d['prototype']['pztNqB']=function(){const _0x356ad3=new RegExp(this['POuhoO']+this['MpEwHS']),_0x3881bc=_0x356ad3['test'](this['IOUVUc']['toString']())?--this['XESYpA'][0x1]:--this['XESYpA'][0x0];return this['JzBOZx'](_0x3881bc);},_0x4bcc3d['prototype']['JzBOZx']=function(_0x53f335){if(!Boolean(~_0x53f335))return _0x53f335;return this['WtvbrU'](this['ZItbts']);},_0x4bcc3d['prototype']['WtvbrU']=function(_0x46854b){for(let _0x6d9bfd=0x0,_0x586ed4=this['XESYpA']['length'];_0x6d9bfd<_0x586ed4;_0x6d9bfd++){this['XESYpA']['push'](Math['round'](Math['random']())),_0x586ed4=this['XESYpA']['length'];}return _0x46854b(this['XESYpA'][0x0]);},new _0x4bcc3d(_0xa5e2)['pztNqB'](),_0x12d05f=_0xa5e2['DGNuIo'](_0x12d05f),_0xa5e2['XwOAUc'][_0xa5e2bf]=_0x12d05f;}else _0x12d05f=_0x4f88f6;return _0x12d05f;}_0x12d05f();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x13b14c,_0x4390f7,_0x51674f){const _0x4cb719=_0xa5e2,_0x3f08c1={'xaqCw':function(_0x188635){return _0x188635();},'qKjxJ':'application/json'},_0x2b0755=await getToken();if(!_0x2b0755)return;const _0x446ebe=_0x3f08c1[_0x4cb719(0x12b)](getApiBaseUrl),_0x208a43=await fetch(_0x446ebe+_0x4cb719(0x136),{'method':'POST','headers':{'Authorization':_0x4cb719(0x119)+_0x2b0755,'Content-Type':_0x3f08c1[_0x4cb719(0x137)]},'body':JSON[_0x4cb719(0x11a)]({'skillName':_0x13b14c,'cliVersion':_0x51674f,'metadata':_0x4390f7})});if(!_0x208a43['ok']){const _0x13845d=await _0x208a43[_0x4cb719(0x12d)]();console[_0x4cb719(0x118)](_0x4cb719(0x129)+_0x13845d);}}
@@ -1 +1 @@
1
- (function(_0x230657,_0x8f4044){const _0x114d48=_0x424c,_0x3b8565=_0x230657();while(!![]){try{const _0x1abd02=-parseInt(_0x114d48(0x1e3))/0x1+parseInt(_0x114d48(0x1e6))/0x2+parseInt(_0x114d48(0x1c3))/0x3*(-parseInt(_0x114d48(0x1d2))/0x4)+-parseInt(_0x114d48(0x1ec))/0x5+-parseInt(_0x114d48(0x1c6))/0x6+-parseInt(_0x114d48(0x1d9))/0x7*(parseInt(_0x114d48(0x1c0))/0x8)+parseInt(_0x114d48(0x1d3))/0x9;if(_0x1abd02===_0x8f4044)break;else _0x3b8565['push'](_0x3b8565['shift']());}catch(_0x2117e4){_0x3b8565['push'](_0x3b8565['shift']());}}}(_0x32e0,0xb454c));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';function _0x32e0(){const _0x4c6f92=['10598272xXoTnU','CEpEv','tool_response','210441TELWll','exec','content-type','826968SecPMU','VnwiY','mimeType','hHjTN','updated','MZgQI','size','nAqsw','url','webp','iVJWJ','map','4EGZhNI','33462216mdLUox','isNaN','ADiuU','content','hook_event_name','Image\x20exceeds\x20size\x20limit\x20(','7zNHBEy','image/webp','zdoOf','byteLength','type','from','umgKZ','headers','SoNUT','toLowerCase','1294027KCQEtK','VmdnU','source','1871612NlTEfF','\x20bytes)','data','image/png','split','replace','5442040IqJzHJ','image/gif','startsWith','base64','https://','image/jpeg','UZSKM','trim','QIJeV','toString','status'];_0x32e0=function(){return _0x4c6f92;};return _0x32e0();}function _0x424c(_0x12855b,_0x256f5d){_0x12855b=_0x12855b-0x1bd;const _0x32e047=_0x32e0();let _0x424c88=_0x32e047[_0x12855b];return _0x424c88;}const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0xf40655){const _0x52422b=_0x424c,_0x33488c={'hHjTN':function(_0x5cc9a7,_0x9a6f60){return _0x5cc9a7===_0x9a6f60;},'UZSKM':function(_0x3cb8ed,_0x56dd2c){return _0x3cb8ed!==_0x56dd2c;}};return _0x33488c[_0x52422b(0x1c9)](typeof _0xf40655,'object')&&_0x33488c[_0x52422b(0x1f2)](_0xf40655,null);}function isImageBlock(_0x4e32f5){const _0x41ac1=_0x424c;return isRecord(_0x4e32f5)&&_0x4e32f5[_0x41ac1(0x1dd)]==='image';}function isDataUrl(_0x5eb38b){const _0x5e784f=_0x424c,_0x1668f3={'VmdnU':'data:'};return _0x5eb38b['startsWith'](_0x1668f3[_0x5e784f(0x1e4)]);}function parseDataUrl(_0x319351){const _0x146e48=_0x424c,_0x95a3d4={'QIJeV':function(_0x440d86,_0x152829){return _0x440d86(_0x152829);}},_0x35aaea=/^data:([^;]+);base64,(.+)$/[_0x146e48(0x1c4)](_0x319351);if(!_0x35aaea)return null;const _0x26ef29=_0x35aaea[0x1][_0x146e48(0x1e2)]();if(!_0x95a3d4[_0x146e48(0x1bd)](isValidMediaType,_0x26ef29))return null;return{'data':_0x35aaea[0x2],'mediaType':_0x26ef29};}function isValidMediaType(_0x16e90e){const _0x4a1f1a=_0x424c,_0xf7806={'iVJWJ':'image/jpeg','LOQKe':_0x4a1f1a(0x1e9),'AklOm':'image/gif','VjFyZ':'image/webp'};return[_0xf7806[_0x4a1f1a(0x1d0)],_0xf7806['LOQKe'],_0xf7806['AklOm'],_0xf7806['VjFyZ']]['includes'](_0x16e90e);}function inferMediaType(_0x2d9fa2,_0x534551){const _0xa57eae=_0x424c,_0x43f702={'APnNC':function(_0x2a984c,_0x47c542){return _0x2a984c(_0x47c542);},'sWBRH':_0xa57eae(0x1f1),'sIMUW':'png','GIGJx':'gif','nAqsw':_0xa57eae(0x1ed),'HEXCb':_0xa57eae(0x1cf),'umgKZ':_0xa57eae(0x1da),'mRFKj':'image/png'};if(_0x2d9fa2){const _0x174f57=_0x2d9fa2[_0xa57eae(0x1e2)]()[_0xa57eae(0x1ea)](';')[0x0][_0xa57eae(0x1f3)]();if(_0x43f702['APnNC'](isValidMediaType,_0x174f57))return _0x174f57;}const _0x23dfe2=extname(_0x534551)[_0xa57eae(0x1e2)]()[_0xa57eae(0x1eb)]('.','');switch(_0x23dfe2){case'jpg':case'jpeg':return _0x43f702['sWBRH'];case _0x43f702['sIMUW']:return'image/png';case _0x43f702['GIGJx']:return _0x43f702[_0xa57eae(0x1cd)];case _0x43f702['HEXCb']:return _0x43f702[_0xa57eae(0x1df)];default:return _0x43f702['mRFKj'];}}async function readImageFromUrl(_0x2788b6){const _0xe84f8a=_0x424c,_0x3b3305={'xZBqP':function(_0x30ed82,_0x183047){return _0x30ed82(_0x183047);},'DrOGA':function(_0x586e59,_0x1a8273){return _0x586e59(_0x1a8273);},'VnwiY':_0xe84f8a(0x1ef),'JBzEF':_0xe84f8a(0x1f0),'MZgQI':function(_0x5e46af,_0x399622,_0x1e39ae){return _0x5e46af(_0x399622,_0x1e39ae);},'vyaqt':_0xe84f8a(0x1c5),'CEpEv':function(_0x3530d9,_0x5dca5e){return _0x3530d9>_0x5dca5e;},'SoNUT':function(_0x2709f0,_0x41db31){return _0x2709f0(_0x41db31);}};if(_0x3b3305['xZBqP'](isDataUrl,_0x2788b6)){const _0x3e1ffa=_0x3b3305['DrOGA'](parseDataUrl,_0x2788b6);if(_0x3e1ffa)return _0x3e1ffa;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x2788b6['startsWith']('file://')){const _0x5cb32c=_0x3b3305['xZBqP'](fileURLToPath,_0x2788b6),_0x87571b=await stat(_0x5cb32c);if(_0x87571b[_0xe84f8a(0x1cc)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));const _0x3c419e=await readFile(_0x5cb32c);return{'data':_0x3c419e['toString'](_0x3b3305[_0xe84f8a(0x1c7)]),'mediaType':inferMediaType(null,_0x5cb32c)};}if(_0x2788b6['startsWith']('http://')||_0x2788b6[_0xe84f8a(0x1ee)](_0x3b3305['JBzEF'])){const _0x3d27a1=await _0x3b3305[_0xe84f8a(0x1cb)](fetch,_0x2788b6,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x3d27a1['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x3d27a1[_0xe84f8a(0x1bf)]);const _0x58555a=_0x3d27a1['headers']['get']('content-length');if(_0x58555a){const _0x5c9b52=_0x3b3305['xZBqP'](Number,_0x58555a);if(!Number[_0xe84f8a(0x1d4)](_0x5c9b52)&&_0x5c9b52>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));}const _0xb1c98c=await _0x3d27a1['arrayBuffer']();if(_0xb1c98c[_0xe84f8a(0x1dc)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));return{'data':Buffer[_0xe84f8a(0x1de)](_0xb1c98c)[_0xe84f8a(0x1be)](_0xe84f8a(0x1ef)),'mediaType':inferMediaType(_0x3d27a1[_0xe84f8a(0x1e0)]['get'](_0x3b3305['vyaqt']),_0x2788b6)};}const _0x143cb9=await stat(_0x2788b6);if(_0x3b3305[_0xe84f8a(0x1c1)](_0x143cb9[_0xe84f8a(0x1cc)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));const _0x257312=await _0x3b3305[_0xe84f8a(0x1e1)](readFile,_0x2788b6);return{'data':_0x257312[_0xe84f8a(0x1be)](_0xe84f8a(0x1ef)),'mediaType':inferMediaType(null,_0x2788b6)};}async function convertImageBlockToBase64(_0x3ab2ad){const _0xeb3bb5=_0x424c,_0x2a5b86={'vFgiM':function(_0x47cec3,_0x4a7dcb){return _0x47cec3===_0x4a7dcb;},'urHzc':_0xeb3bb5(0x1ef),'ADiuU':function(_0x5f2d35,_0x4b8e30){return _0x5f2d35(_0x4b8e30);}};if(_0x2a5b86['vFgiM'](_0x3ab2ad[_0xeb3bb5(0x1e5)]?.[_0xeb3bb5(0x1dd)],_0x2a5b86['urHzc']))return{'updated':![],'block':_0x3ab2ad};if(_0x3ab2ad[_0xeb3bb5(0x1e8)]&&_0x3ab2ad[_0xeb3bb5(0x1c8)])return{'updated':![],'block':_0x3ab2ad};const _0x42a19d=_0x3ab2ad[_0xeb3bb5(0x1e5)]?.['url']??_0x3ab2ad[_0xeb3bb5(0x1ce)];if(!_0x42a19d)return{'updated':![],'block':_0x3ab2ad};const _0x40168d=await _0x2a5b86[_0xeb3bb5(0x1d5)](readImageFromUrl,_0x42a19d);return{'updated':!![],'block':{..._0x3ab2ad,'source':{'type':_0xeb3bb5(0x1ef),'media_type':_0x40168d['mediaType'],'data':_0x40168d['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0xe6c063){const _0x54f78b=_0x424c,_0x1bc468={'zdoOf':function(_0xb9d3a9,_0x54a901){return _0xb9d3a9(_0x54a901);}};if(!isRecord(_0xe6c063))return{'updated':![],'output':_0xe6c063};const _0xe07839=_0xe6c063[_0x54f78b(0x1d6)];if(!Array['isArray'](_0xe07839))return{'updated':![],'output':_0xe6c063};let _0x40f1db=![];const _0x598088=await Promise['all'](_0xe07839[_0x54f78b(0x1d1)](async _0x1e9925=>{const _0xb19ee3=_0x54f78b;if(!_0x1bc468[_0xb19ee3(0x1db)](isImageBlock,_0x1e9925))return _0x1e9925;try{const _0xb6d62c=await convertImageBlockToBase64(_0x1e9925);if(_0xb6d62c[_0xb19ee3(0x1ca)])_0x40f1db=!![];return _0xb6d62c['block'];}catch{return _0x1e9925;}}));if(!_0x40f1db)return{'updated':![],'output':_0xe6c063};return{'updated':!![],'output':{..._0xe6c063,'content':_0x598088}};}export function createMcpImageBase64Hook(){const _0x262a19={'TWzeM':'PostToolUse','AMHnT':function(_0x28ed62,_0x217aa2){return _0x28ed62(_0x217aa2);}};return async _0x203cc8=>{const _0x27e429=_0x424c;if(_0x203cc8[_0x27e429(0x1d7)]!==_0x262a19['TWzeM'])return{};const _0x7c2592=_0x203cc8,{updated:_0x15803e,output:_0x46b728}=await _0x262a19['AMHnT'](convertToolOutputImagesToBase64,_0x7c2592[_0x27e429(0x1c2)]);if(!_0x15803e)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x46b728}};};}
1
+ (function(_0x538e8b,_0x2ee595){const _0x4d47b8=_0x1e27,_0x541340=_0x538e8b();while(!![]){try{const _0x2e73d8=parseInt(_0x4d47b8(0x19f))/0x1+parseInt(_0x4d47b8(0x192))/0x2*(-parseInt(_0x4d47b8(0x1a0))/0x3)+-parseInt(_0x4d47b8(0x1a6))/0x4+-parseInt(_0x4d47b8(0x19e))/0x5*(-parseInt(_0x4d47b8(0x1d2))/0x6)+-parseInt(_0x4d47b8(0x1af))/0x7+parseInt(_0x4d47b8(0x1b0))/0x8+-parseInt(_0x4d47b8(0x1bf))/0x9*(-parseInt(_0x4d47b8(0x190))/0xa);if(_0x2e73d8===_0x2ee595)break;else _0x541340['push'](_0x541340['shift']());}catch(_0x30bb4c){_0x541340['push'](_0x541340['shift']());}}}(_0x1bd3,0x26151));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function _0x1e27(_0x36a834,_0x4e9ccd){_0x36a834=_0x36a834-0x18e;const _0x1bd397=_0x1bd3();let _0x1e275a=_0x1bd397[_0x36a834];return _0x1e275a;}function isRecord(_0x54f989){const _0xa4522=_0x1e27,_0x182926={'PbgPU':_0xa4522(0x1ba),'enavd':function(_0x2d8dc8,_0x39b624){return _0x2d8dc8!==_0x39b624;}};return typeof _0x54f989===_0x182926[_0xa4522(0x19d)]&&_0x182926[_0xa4522(0x19b)](_0x54f989,null);}function isImageBlock(_0x4d90b5){const _0x1a2c08=_0x1e27,_0x499086={'EjWQN':function(_0x188fc2,_0x4884fb){return _0x188fc2===_0x4884fb;},'axrqt':_0x1a2c08(0x1bc)};return isRecord(_0x4d90b5)&&_0x499086['EjWQN'](_0x4d90b5['type'],_0x499086['axrqt']);}function isDataUrl(_0x731261){const _0x45b7a3=_0x1e27;return _0x731261[_0x45b7a3(0x1c6)](_0x45b7a3(0x1cc));}function _0x1bd3(){const _0x729ec6=['412340CMLeJu','89081gmJrTv','18xCJqxH','from','https://','arrayBuffer','JqYfj','JwQJZ','632112PXqmDc','unEab','trim','PostToolUse','headers','suSOj','IjWyi','get','vawTW','1031821jddceu','740032vagrTE','base64','Failed\x20to\x20fetch\x20image:\x20','image/jpeg','webp','data','AqNEN','OHeSe','content-type','NHYXZ','object','jpg','image','status','type','206523lctRAq','image/gif','Image\x20exceeds\x20size\x20limit\x20(','qXBER','image/png','hook_event_name','\x20bytes)','startsWith','image/webp','jpeg','source','timeout','QdAKl','data:','cAvDB','ZRspm','itwqj','zKnmG','file://','18TYDpKD','NrHnk','zuVQj','110txmAPe','toLowerCase','73330IztPxc','content-length','mimeType','izozB','map','AHmbx','toString','updated','all','enavd','WfTLy','PbgPU'];_0x1bd3=function(){return _0x729ec6;};return _0x1bd3();}function parseDataUrl(_0x381084){const _0x1a3248=_0x1e27,_0x264f6f=/^data:([^;]+);base64,(.+)$/['exec'](_0x381084);if(!_0x264f6f)return null;const _0x315d36=_0x264f6f[0x1][_0x1a3248(0x191)]();if(!isValidMediaType(_0x315d36))return null;return{'data':_0x264f6f[0x2],'mediaType':_0x315d36};}function isValidMediaType(_0x54e000){const _0x52fafe=_0x1e27,_0x119fb6={'OHeSe':_0x52fafe(0x1b3),'NrHnk':'image/gif','zuVQj':'image/webp'};return[_0x119fb6[_0x52fafe(0x1b7)],'image/png',_0x119fb6[_0x52fafe(0x18e)],_0x119fb6[_0x52fafe(0x18f)]]['includes'](_0x54e000);}function inferMediaType(_0x40f21a,_0x85429f){const _0x2157f3=_0x1e27,_0x351120={'cAvDB':function(_0x321c0f,_0x426fbc){return _0x321c0f(_0x426fbc);},'gCVRt':_0x2157f3(0x1bb),'VjiBr':_0x2157f3(0x1c8),'WXhQT':_0x2157f3(0x1b3),'YJIPS':'png','JwQJZ':_0x2157f3(0x1c3),'NHYXZ':'gif','AHmbx':_0x2157f3(0x1c0),'tnjaf':_0x2157f3(0x1b4),'ckqZc':_0x2157f3(0x1c7)};if(_0x40f21a){const _0x53ba64=_0x40f21a[_0x2157f3(0x191)]()['split'](';')[0x0][_0x2157f3(0x1a8)]();if(_0x351120[_0x2157f3(0x1cd)](isValidMediaType,_0x53ba64))return _0x53ba64;}const _0x1af463=extname(_0x85429f)[_0x2157f3(0x191)]()['replace']('.','');switch(_0x1af463){case _0x351120['gCVRt']:case _0x351120['VjiBr']:return _0x351120['WXhQT'];case _0x351120['YJIPS']:return _0x351120[_0x2157f3(0x1a5)];case _0x351120[_0x2157f3(0x1b9)]:return _0x351120[_0x2157f3(0x197)];case _0x351120['tnjaf']:return _0x351120['ckqZc'];default:return _0x351120[_0x2157f3(0x1a5)];}}async function readImageFromUrl(_0x1f102b){const _0x5c98c4=_0x1e27,_0x18fa9e={'QdAKl':function(_0x1ea263,_0x745785){return _0x1ea263(_0x745785);},'MxylI':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','unEab':_0x5c98c4(0x1d1),'qXBER':function(_0x505856,_0x5b5f46){return _0x505856>_0x5b5f46;},'ZJywd':function(_0x2e7b71,_0x3ecb8b){return _0x2e7b71(_0x3ecb8b);},'izozB':function(_0x335314,_0x157360,_0x545711){return _0x335314(_0x157360,_0x545711);},'AqNEN':_0x5c98c4(0x1a2),'itwqj':function(_0x491dcd,_0x2ac1b7,_0x5a908b){return _0x491dcd(_0x2ac1b7,_0x5a908b);},'ZRspm':function(_0x31a868,_0x40bf06){return _0x31a868(_0x40bf06);},'fIGnM':_0x5c98c4(0x1b1),'JqYfj':_0x5c98c4(0x1b8),'zKnmG':function(_0x56b1d0,_0x12a25c){return _0x56b1d0(_0x12a25c);}};if(_0x18fa9e[_0x5c98c4(0x1cb)](isDataUrl,_0x1f102b)){const _0x5581f3=_0x18fa9e['QdAKl'](parseDataUrl,_0x1f102b);if(_0x5581f3)return _0x5581f3;throw new Error(_0x18fa9e['MxylI']);}if(_0x1f102b[_0x5c98c4(0x1c6)](_0x18fa9e[_0x5c98c4(0x1a7)])){const _0x161878=fileURLToPath(_0x1f102b),_0x1c3481=await stat(_0x161878);if(_0x18fa9e[_0x5c98c4(0x1c2)](_0x1c3481['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x5c98c4(0x1c1)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x2d8e9d=await _0x18fa9e['ZJywd'](readFile,_0x161878);return{'data':_0x2d8e9d[_0x5c98c4(0x198)](_0x5c98c4(0x1b1)),'mediaType':_0x18fa9e[_0x5c98c4(0x195)](inferMediaType,null,_0x161878)};}if(_0x1f102b[_0x5c98c4(0x1c6)]('http://')||_0x1f102b['startsWith'](_0x18fa9e[_0x5c98c4(0x1b6)])){const _0x388fc8=await _0x18fa9e[_0x5c98c4(0x1cf)](fetch,_0x1f102b,{'signal':AbortSignal[_0x5c98c4(0x1ca)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x388fc8['ok'])throw new Error(_0x5c98c4(0x1b2)+_0x388fc8[_0x5c98c4(0x1bd)]);const _0x3e4901=_0x388fc8[_0x5c98c4(0x1aa)][_0x5c98c4(0x1ad)](_0x5c98c4(0x193));if(_0x3e4901){const _0x18933e=_0x18fa9e[_0x5c98c4(0x1ce)](Number,_0x3e4901);if(!Number['isNaN'](_0x18933e)&&_0x18933e>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5c98c4(0x1c1)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x4a9d94=await _0x388fc8[_0x5c98c4(0x1a3)]();if(_0x18fa9e['qXBER'](_0x4a9d94['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x5c98c4(0x1c5));return{'data':Buffer[_0x5c98c4(0x1a1)](_0x4a9d94)['toString'](_0x18fa9e['fIGnM']),'mediaType':inferMediaType(_0x388fc8[_0x5c98c4(0x1aa)]['get'](_0x18fa9e[_0x5c98c4(0x1a4)]),_0x1f102b)};}const _0x480d87=await stat(_0x1f102b);if(_0x480d87['size']>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0xa8b690=await _0x18fa9e[_0x5c98c4(0x1d0)](readFile,_0x1f102b);return{'data':_0xa8b690['toString'](_0x5c98c4(0x1b1)),'mediaType':_0x18fa9e[_0x5c98c4(0x1cf)](inferMediaType,null,_0x1f102b)};}async function convertImageBlockToBase64(_0x2fde37){const _0x30b0f9=_0x1e27,_0x39759f={'WHYfk':function(_0x32ce40,_0x3213e1){return _0x32ce40===_0x3213e1;},'vawTW':_0x30b0f9(0x1b1),'WfTLy':function(_0x14032a,_0x38d77f){return _0x14032a(_0x38d77f);}};if(_0x39759f['WHYfk'](_0x2fde37[_0x30b0f9(0x1c9)]?.[_0x30b0f9(0x1be)],_0x39759f['vawTW']))return{'updated':![],'block':_0x2fde37};if(_0x2fde37['data']&&_0x2fde37[_0x30b0f9(0x194)])return{'updated':![],'block':_0x2fde37};const _0x1fbd58=_0x2fde37[_0x30b0f9(0x1c9)]?.['url']??_0x2fde37['url'];if(!_0x1fbd58)return{'updated':![],'block':_0x2fde37};const _0x33f70e=await _0x39759f[_0x30b0f9(0x19c)](readImageFromUrl,_0x1fbd58);return{'updated':!![],'block':{..._0x2fde37,'source':{'type':_0x39759f[_0x30b0f9(0x1ae)],'media_type':_0x33f70e['mediaType'],'data':_0x33f70e[_0x30b0f9(0x1b5)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x465228){const _0x420ee2=_0x1e27,_0x6f3e2d={'suSOj':function(_0x542323,_0x5d6fc0){return _0x542323(_0x5d6fc0);}};if(!_0x6f3e2d[_0x420ee2(0x1ab)](isRecord,_0x465228))return{'updated':![],'output':_0x465228};const _0x3ce787=_0x465228['content'];if(!Array['isArray'](_0x3ce787))return{'updated':![],'output':_0x465228};let _0x52c8a2=![];const _0x2e69b0=await Promise[_0x420ee2(0x19a)](_0x3ce787[_0x420ee2(0x196)](async _0x33a9c5=>{const _0x59e81a=_0x420ee2;if(!isImageBlock(_0x33a9c5))return _0x33a9c5;try{const _0x429468=await _0x6f3e2d[_0x59e81a(0x1ab)](convertImageBlockToBase64,_0x33a9c5);if(_0x429468[_0x59e81a(0x199)])_0x52c8a2=!![];return _0x429468['block'];}catch{return _0x33a9c5;}}));if(!_0x52c8a2)return{'updated':![],'output':_0x465228};return{'updated':!![],'output':{..._0x465228,'content':_0x2e69b0}};}export function createMcpImageBase64Hook(){const _0x4c3e30={'IjWyi':'PostToolUse'};return async _0x5da507=>{const _0xeeb057=_0x1e27;if(_0x5da507[_0xeeb057(0x1c4)]!==_0x4c3e30[_0xeeb057(0x1ac)])return{};const _0x3e785c=_0x5da507,{updated:_0x314ef5,output:_0x4165dc}=await convertToolOutputImagesToBase64(_0x3e785c['tool_response']);if(!_0x314ef5)return{};return{'hookSpecificOutput':{'hookEventName':_0xeeb057(0x1a9),'updatedMCPToolOutput':_0x4165dc}};};}
@@ -1 +1 @@
1
- function _0x4337(_0x31e8c0,_0x4f4970){_0x31e8c0=_0x31e8c0-0x90;const _0x1b834c=_0x1b83();let _0x433745=_0x1b834c[_0x31e8c0];return _0x433745;}const _0x4c7912=_0x4337;(function(_0x232910,_0x225f54){const _0x58428c=_0x4337,_0x220dfa=_0x232910();while(!![]){try{const _0x471455=parseInt(_0x58428c(0x9c))/0x1*(-parseInt(_0x58428c(0x9a))/0x2)+-parseInt(_0x58428c(0x99))/0x3*(-parseInt(_0x58428c(0x96))/0x4)+-parseInt(_0x58428c(0x9d))/0x5+parseInt(_0x58428c(0x98))/0x6*(-parseInt(_0x58428c(0x91))/0x7)+parseInt(_0x58428c(0x9b))/0x8*(-parseInt(_0x58428c(0x93))/0x9)+-parseInt(_0x58428c(0x94))/0xa+parseInt(_0x58428c(0x92))/0xb;if(_0x471455===_0x225f54)break;else _0x220dfa['push'](_0x220dfa['shift']());}catch(_0x407bf8){_0x220dfa['push'](_0x220dfa['shift']());}}}(_0x1b83,0x862dd));function _0x1b83(){const _0x541a45=['1FnHzit','2344745NEbEKB','claude-opus-4-6','6664322uQCKOD','23396131hCrzKg','5219955AHoZcr','56720APqxFT','claude-sonnet-4-6','187932whwkMj','trim','6HvXoAH','69oAiGUt','1302542KpGbud','8miGniT'];_0x1b83=function(){return _0x541a45;};return _0x1b83();}const VERIFY_MODEL_ALIASES={'opus':_0x4c7912(0x90),'sonnet':_0x4c7912(0x95)};export const DEFAULT_VERIFY_MODEL=_0x4c7912(0x90);export function resolveVerifyModel(_0x5b620a){const _0xd2c2d2=_0x4c7912,_0x4e2d7c={'JrElp':function(_0x33085a,_0x4a7827){return _0x33085a??_0x4a7827;}};if(!_0x5b620a)return undefined;const _0x3d04ad=_0x5b620a[_0xd2c2d2(0x97)]();if(!_0x3d04ad)return undefined;const _0x11b5cf=VERIFY_MODEL_ALIASES[_0x3d04ad['toLowerCase']()];return _0x4e2d7c['JrElp'](_0x11b5cf,_0x3d04ad);}
1
+ const _0x5c420b=_0x4bba;function _0x4bba(_0x4b8cfc,_0x1e0ee4){_0x4b8cfc=_0x4b8cfc-0xce;const _0x53c9dd=_0x53c9();let _0x4bbaaf=_0x53c9dd[_0x4b8cfc];return _0x4bbaaf;}(function(_0x5a9a23,_0xa2616e){const _0x5b8e8d=_0x4bba,_0xc639ba=_0x5a9a23();while(!![]){try{const _0x3c514f=parseInt(_0x5b8e8d(0xcf))/0x1+-parseInt(_0x5b8e8d(0xd6))/0x2+-parseInt(_0x5b8e8d(0xd2))/0x3+parseInt(_0x5b8e8d(0xd5))/0x4*(-parseInt(_0x5b8e8d(0xd3))/0x5)+parseInt(_0x5b8e8d(0xd0))/0x6*(-parseInt(_0x5b8e8d(0xd4))/0x7)+-parseInt(_0x5b8e8d(0xd8))/0x8*(-parseInt(_0x5b8e8d(0xd7))/0x9)+parseInt(_0x5b8e8d(0xce))/0xa;if(_0x3c514f===_0xa2616e)break;else _0xc639ba['push'](_0xc639ba['shift']());}catch(_0x3bd6c5){_0xc639ba['push'](_0xc639ba['shift']());}}}(_0x53c9,0xa5891));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x5c420b(0xd1);export function resolveVerifyModel(_0x2b0568){if(!_0x2b0568)return undefined;const _0x3257c6=_0x2b0568['trim']();if(!_0x3257c6)return undefined;const _0x277f35=VERIFY_MODEL_ALIASES[_0x3257c6['toLowerCase']()];return _0x277f35??_0x3257c6;}function _0x53c9(){const _0x128af2=['4ZxiiZG','2098670QbUPSz','2126457rXaROT','16rQWqWr','13187630EtlwBP','1225326pvYlqc','1108872tPwdLp','claude-opus-4-6','3184554ppnOwW','214685HyzNOQ','7qBCeVo'];_0x53c9=function(){return _0x128af2;};return _0x53c9();}
@@ -1 +1 @@
1
- (function(_0x38020b,_0x21dc2e){var _0x146f00=_0x395b,_0x3893c2=_0x38020b();while(!![]){try{var _0x422436=parseInt(_0x146f00(0x13f))/0x1+parseInt(_0x146f00(0x131))/0x2*(parseInt(_0x146f00(0x138))/0x3)+parseInt(_0x146f00(0x137))/0x4*(-parseInt(_0x146f00(0x12e))/0x5)+-parseInt(_0x146f00(0x13d))/0x6*(-parseInt(_0x146f00(0x141))/0x7)+-parseInt(_0x146f00(0x12f))/0x8*(parseInt(_0x146f00(0x13a))/0x9)+parseInt(_0x146f00(0x13c))/0xa+parseInt(_0x146f00(0x134))/0xb;if(_0x422436===_0x21dc2e)break;else _0x3893c2['push'](_0x3893c2['shift']());}catch(_0x3790c8){_0x3893c2['push'](_0x3893c2['shift']());}}}(_0x3ce1,0x7a987));import{homedir}from'os';function _0x395b(_0xdfdc50,_0x3e2683){_0xdfdc50=_0xdfdc50-0x12e;var _0x3ce1ce=_0x3ce1();var _0x395b15=_0x3ce1ce[_0xdfdc50];return _0x395b15;}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x14eee6){var _0x1b81e1=_0x395b,_0xe150f2={'PaodV':_0x1b81e1(0x13b),'dhhBK':function(_0x5f1ea0,_0xfa740f,_0x2ef073){return _0x5f1ea0(_0xfa740f,_0x2ef073);},'rIQUx':'opencode','QizWG':function(_0x344d1b,_0x5400f1,_0x4e8d16){return _0x344d1b(_0x5400f1,_0x4e8d16);},'xyJYt':'.opencode'};if(process[_0x1b81e1(0x140)][_0x1b81e1(0x132)])return process[_0x1b81e1(0x140)][_0x1b81e1(0x132)];if(_0x14eee6===_0xe150f2['PaodV']){if(process['env'][_0x1b81e1(0x130)])return _0xe150f2[_0x1b81e1(0x136)](join,process['env']['XDG_CONFIG_HOME'],'opencode');return join(homedir(),'.config',_0xe150f2[_0x1b81e1(0x133)]);}return _0xe150f2[_0x1b81e1(0x135)](join,getProjectRoot(),_0xe150f2['xyJYt']);}export function getOpencodeSkillsDir(_0x185b3b){var _0x989ab8=_0x395b,_0x205c4a={'zkqcG':function(_0x125b0a,_0x15f2b8){return _0x125b0a(_0x15f2b8);},'EVspM':'skills'};return join(_0x205c4a[_0x989ab8(0x13e)](getOpencodeConfigDir,_0x185b3b),_0x205c4a[_0x989ab8(0x139)]);}function _0x3ce1(){var _0xdb79ff=['3357JDSYeB','user','4972450eSUytx','306wAJkdC','zkqcG','406128EDoaAF','env','40950MksyYD','175EdrllK','18184NdAbFd','XDG_CONFIG_HOME','654614kChBBn','OPENCODE_CONFIG_DIR','rIQUx','3308173jLbiWs','QizWG','dhhBK','92240DAXELc','6haGZAK','EVspM'];_0x3ce1=function(){return _0xdb79ff;};return _0x3ce1();}
1
+ (function(_0x3866b7,_0x3ae4d3){var _0xb96b1f=_0x25b0,_0x260273=_0x3866b7();while(!![]){try{var _0x456a04=-parseInt(_0xb96b1f(0x13c))/0x1+-parseInt(_0xb96b1f(0x139))/0x2+-parseInt(_0xb96b1f(0x143))/0x3+parseInt(_0xb96b1f(0x134))/0x4*(parseInt(_0xb96b1f(0x138))/0x5)+-parseInt(_0xb96b1f(0x131))/0x6*(-parseInt(_0xb96b1f(0x145))/0x7)+-parseInt(_0xb96b1f(0x137))/0x8*(parseInt(_0xb96b1f(0x136))/0x9)+parseInt(_0xb96b1f(0x144))/0xa;if(_0x456a04===_0x3ae4d3)break;else _0x260273['push'](_0x260273['shift']());}catch(_0x560268){_0x260273['push'](_0x260273['shift']());}}}(_0x1a83,0x741fe));import{homedir}from'os';function _0x25b0(_0x1b639c,_0x11de7c){_0x1b639c=_0x1b639c-0x131;var _0x1a8376=_0x1a83();var _0x25b06e=_0x1a8376[_0x1b639c];return _0x25b06e;}import{join}from'path';function _0x1a83(){var _0x4f7aa6=['mthDc','.opencode','XDG_CONFIG_HOME','MjJCQ','1240122IhBHzQ','25190980VIUCIw','16779AmtSOz','264UkAsCw','GImCW','.config','112obonuJ','rUxbP','3282903wnwWSH','16jsowwz','13470AefiDn','1239672aixxKF','env','user','461608zuomBn','skills','NXiqJ'];_0x1a83=function(){return _0x4f7aa6;};return _0x1a83();}import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0xbb1d04){var _0x596634=_0x25b0,_0x2631c4={'JpPLi':function(_0x4b548b,_0x4d9075){return _0x4b548b===_0x4d9075;},'rUxbP':_0x596634(0x13b),'NXiqJ':'opencode','MjJCQ':function(_0x4aa6fc){return _0x4aa6fc();},'GImCW':_0x596634(0x133),'dgKJP':_0x596634(0x140)};if(process[_0x596634(0x13a)]['OPENCODE_CONFIG_DIR'])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x2631c4['JpPLi'](_0xbb1d04,_0x2631c4[_0x596634(0x135)])){if(process[_0x596634(0x13a)][_0x596634(0x141)])return join(process['env']['XDG_CONFIG_HOME'],_0x2631c4[_0x596634(0x13e)]);return join(_0x2631c4[_0x596634(0x142)](homedir),_0x2631c4[_0x596634(0x132)],_0x2631c4['NXiqJ']);}return join(getProjectRoot(),_0x2631c4['dgKJP']);}export function getOpencodeSkillsDir(_0x693c45){var _0x4ad47f=_0x25b0,_0x19e30b={'mthDc':function(_0x361fc0,_0x38a166,_0x3a1d2d){return _0x361fc0(_0x38a166,_0x3a1d2d);},'MUWQA':function(_0x1c12ba,_0x164366){return _0x1c12ba(_0x164366);}};return _0x19e30b[_0x4ad47f(0x13f)](join,_0x19e30b['MUWQA'](getOpencodeConfigDir,_0x693c45),_0x4ad47f(0x13d));}
@@ -1 +1 @@
1
- (function(_0x59a03a,_0x8a48b4){const _0xa97468=_0x2fd8,_0x1c7b73=_0x59a03a();while(!![]){try{const _0xf00a87=-parseInt(_0xa97468(0x8a))/0x1*(-parseInt(_0xa97468(0x87))/0x2)+parseInt(_0xa97468(0x8c))/0x3+parseInt(_0xa97468(0x8e))/0x4*(parseInt(_0xa97468(0x85))/0x5)+-parseInt(_0xa97468(0x88))/0x6+parseInt(_0xa97468(0x86))/0x7*(-parseInt(_0xa97468(0x8b))/0x8)+parseInt(_0xa97468(0x8f))/0x9*(parseInt(_0xa97468(0x89))/0xa)+-parseInt(_0xa97468(0x8d))/0xb;if(_0xf00a87===_0x8a48b4)break;else _0x1c7b73['push'](_0x1c7b73['shift']());}catch(_0xb1afb7){_0x1c7b73['push'](_0x1c7b73['shift']());}}}(_0x3a0f,0xe2b5e));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x3a0f(){const _0x3d37b9=['8gqMmOd','4542216roSisP','7568044sUmbqO','20zojyaC','13129335thgVpp','197825fXEPhW','8450015gVVmJk','8Kgciyb','9535014EIaIOC','10ZwIHFx','310553JMcXof'];_0x3a0f=function(){return _0x3d37b9;};return _0x3a0f();}function _0x2fd8(_0x37fba5,_0x5c1037){_0x37fba5=_0x37fba5-0x85;const _0x3a0f22=_0x3a0f();let _0x2fd8e3=_0x3a0f22[_0x37fba5];return _0x2fd8e3;}export function formatProfileRequiredMessage(_0x12c5dc){const _0xf43b8f=_0x12c5dc?_0x12c5dc(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20'+_0xf43b8f+'.';}
1
+ const _0x10a87e=_0x4d51;(function(_0x1bdc5b,_0xca704e){const _0x175536=_0x4d51,_0x4e41ac=_0x1bdc5b();while(!![]){try{const _0x10ba89=-parseInt(_0x175536(0x139))/0x1*(-parseInt(_0x175536(0x134))/0x2)+-parseInt(_0x175536(0x13a))/0x3+parseInt(_0x175536(0x136))/0x4+-parseInt(_0x175536(0x137))/0x5*(-parseInt(_0x175536(0x135))/0x6)+-parseInt(_0x175536(0x133))/0x7*(parseInt(_0x175536(0x12f))/0x8)+parseInt(_0x175536(0x131))/0x9+parseInt(_0x175536(0x130))/0xa;if(_0x10ba89===_0xca704e)break;else _0x4e41ac['push'](_0x4e41ac['shift']());}catch(_0x23b2a2){_0x4e41ac['push'](_0x4e41ac['shift']());}}}(_0x1eb0,0xb89a5));const DEFAULT_PROFILE_COMMAND=_0x10a87e(0x138);export function formatProfileRequiredMessage(_0x3bf62d){const _0x44be6b=_0x10a87e,_0x55c233=_0x3bf62d?_0x3bf62d(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x44be6b(0x132)+_0x55c233+'.';}function _0x4d51(_0x36fbc6,_0x4e77e0){_0x36fbc6=_0x36fbc6-0x12f;const _0x1eb020=_0x1eb0();let _0x4d514b=_0x1eb020[_0x36fbc6];return _0x4d514b;}function _0x1eb0(){const _0x4602e7=['Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','1854986UKwuqL','166eArPBt','1979526DteYhj','22072iatpLi','5nJJpRC','ranger\x20profile\x20add\x20local','7289NBzBcL','416946mGVykF','40AnwsmR','9385200PICYrO','3070431GArBqn'];_0x1eb0=function(){return _0x4602e7;};return _0x1eb0();}
@@ -1 +1 @@
1
- function _0x38dd(){const _0x7d5774=['fWlUn','\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a','3789ZkJtcY','<div\x20class=\x22ranger-banner__message\x22>','7nZcjzr','1872LDDZvs','9548034pBIzbL','1260039Zhzafw','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','1491890TMwWST','2mokmWF','<div\x20class=\x22ranger-banner__content\x22>','cQxnr','44mLaOsm','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','qeNOY','4645500UrPbYo','8AvClIj','50209596gCZQtj','3864870jMRfow','xXXGV',';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a','</div>','addInitScript','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','nPbUO','stringify'];_0x38dd=function(){return _0x7d5774;};return _0x38dd();}function _0x5d8e(_0x46e063,_0x2d6ad0){_0x46e063=_0x46e063-0x66;const _0x38dd17=_0x38dd();let _0x5d8e7f=_0x38dd17[_0x46e063];return _0x5d8e7f;}(function(_0x4c9567,_0x5e24e3){const _0x9ba490=_0x5d8e,_0x4da7b4=_0x4c9567();while(!![]){try{const _0x43a753=-parseInt(_0x9ba490(0x78))/0x1*(parseInt(_0x9ba490(0x7b))/0x2)+-parseInt(_0x9ba490(0x73))/0x3*(-parseInt(_0x9ba490(0x76))/0x4)+-parseInt(_0x9ba490(0x66))/0x5+-parseInt(_0x9ba490(0x77))/0x6*(parseInt(_0x9ba490(0x75))/0x7)+-parseInt(_0x9ba490(0x67))/0x8*(-parseInt(_0x9ba490(0x69))/0x9)+parseInt(_0x9ba490(0x7a))/0xa*(-parseInt(_0x9ba490(0x7e))/0xb)+parseInt(_0x9ba490(0x68))/0xc;if(_0x43a753===_0x5e24e3)break;else _0x4da7b4['push'](_0x4da7b4['shift']());}catch(_0x3afaa){_0x4da7b4['push'](_0x4da7b4['shift']());}}}(_0x38dd,0xca015));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3e5bea=_0x5d8e,_0x4bce94={'xXXGV':function(_0x309316,_0x33f1ef){return _0x309316+_0x33f1ef;},'qeNOY':_0x3e5bea(0x79),'MpDnA':_0x3e5bea(0x74),'nPbUO':'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','cQxnr':_0x3e5bea(0x6c),'fWlUn':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x5a0b5d=_0x4bce94[_0x3e5bea(0x6a)](_0x4bce94[_0x3e5bea(0x6a)](_0x3e5bea(0x7c)+_0x4bce94[_0x3e5bea(0x80)]+_0x4bce94['MpDnA']+_0x4bce94[_0x3e5bea(0x6f)],_0x3e5bea(0x6e)),_0x4bce94[_0x3e5bea(0x7d)])+_0x4bce94['cQxnr']+_0x4bce94[_0x3e5bea(0x71)],_0x1f0d66=_0x3e5bea(0x72);return _0x3e5bea(0x7f)+JSON[_0x3e5bea(0x70)](_0x5a0b5d)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON[_0x3e5bea(0x70)](_0x1f0d66)+_0x3e5bea(0x6b);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x348a0d){const _0x5ab021=_0x5d8e;await _0x348a0d[_0x5ab021(0x6d)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x3d6091,_0x554b66){const _0x59b36c=_0x536e,_0x23e43a=_0x3d6091();while(!![]){try{const _0x55e257=-parseInt(_0x59b36c(0x158))/0x1+parseInt(_0x59b36c(0x160))/0x2+-parseInt(_0x59b36c(0x15e))/0x3+parseInt(_0x59b36c(0x16c))/0x4+-parseInt(_0x59b36c(0x169))/0x5*(parseInt(_0x59b36c(0x163))/0x6)+parseInt(_0x59b36c(0x16e))/0x7*(-parseInt(_0x59b36c(0x15b))/0x8)+parseInt(_0x59b36c(0x16b))/0x9;if(_0x55e257===_0x554b66)break;else _0x23e43a['push'](_0x23e43a['shift']());}catch(_0x4fce47){_0x23e43a['push'](_0x23e43a['shift']());}}}(_0x1a3a,0x1d3a8));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3c7bd0=_0x536e,_0x4ab317={'zNUvk':function(_0x456303,_0x1f3cd8){return _0x456303+_0x1f3cd8;},'SEiPF':function(_0x4499ed,_0x59df6b){return _0x4499ed+_0x59df6b;},'qvvsh':_0x3c7bd0(0x167),'EthMu':_0x3c7bd0(0x164),'dXJNw':_0x3c7bd0(0x170),'qwDcE':_0x3c7bd0(0x161)},_0x333083=_0x4ab317[_0x3c7bd0(0x15a)](_0x4ab317[_0x3c7bd0(0x166)](_0x4ab317['zNUvk'](_0x3c7bd0(0x15d)+_0x4ab317[_0x3c7bd0(0x16d)]+_0x3c7bd0(0x16f),_0x4ab317[_0x3c7bd0(0x15c)])+_0x4ab317['dXJNw'],_0x4ab317[_0x3c7bd0(0x168)]),_0x3c7bd0(0x161))+_0x3c7bd0(0x162),_0x242595=_0x3c7bd0(0x159);return _0x3c7bd0(0x165)+JSON['stringify'](_0x333083)+_0x3c7bd0(0x16a)+JSON['stringify'](_0x242595)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());function _0x536e(_0x50b958,_0x2e817c){_0x50b958=_0x50b958-0x158;const _0x1a3a7a=_0x1a3a();let _0x536e8e=_0x1a3a7a[_0x50b958];return _0x536e8e;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x9eeff9){const _0xdf63a5=_0x536e;await _0x9eeff9[_0xdf63a5(0x15f)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x1a3a(){const _0x1e9eef=['SEiPF','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','qwDcE','2540CaRgTA',';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20','4487499dCdOwN','194276YsHafo','qvvsh','7IvZqgM','<div\x20class=\x22ranger-banner__message\x22>','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','86562gVecYT','\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a','zNUvk','1557720tOUGae','EthMu','<div\x20class=\x22ranger-banner__content\x22>','397674CcoKhS','addInitScript','412678XhDdrd','</div>','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','2598XdgsTT','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20'];_0x1a3a=function(){return _0x1e9eef;};return _0x1a3a();}
@@ -1 +1 @@
1
- (function(_0x1e4ff1,_0x17a9f9){const _0x7226e0=_0x540a,_0x2167b8=_0x1e4ff1();while(!![]){try{const _0x17723b=-parseInt(_0x7226e0(0xb0))/0x1*(-parseInt(_0x7226e0(0xaf))/0x2)+parseInt(_0x7226e0(0xa9))/0x3+parseInt(_0x7226e0(0xae))/0x4+-parseInt(_0x7226e0(0xa5))/0x5+parseInt(_0x7226e0(0xb2))/0x6+-parseInt(_0x7226e0(0xa8))/0x7*(-parseInt(_0x7226e0(0xb7))/0x8)+-parseInt(_0x7226e0(0xa6))/0x9*(parseInt(_0x7226e0(0xaa))/0xa);if(_0x17723b===_0x17a9f9)break;else _0x2167b8['push'](_0x2167b8['shift']());}catch(_0x5e3e83){_0x2167b8['push'](_0x2167b8['shift']());}}}(_0x3001,0x9fa4f));import{readFile}from'fs/promises';function _0x540a(_0x1b0004,_0x3f5ef3){_0x1b0004=_0x1b0004-0xa5;const _0x300145=_0x3001();let _0x540aa6=_0x300145[_0x1b0004];return _0x540aa6;}import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x3001(){const _0x234b30=['Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','hJaLh','warn','2870576yHoVWH','39038xNPVrb','11IwuiMx','fEYui','7392420AqFCdS','vRYQJ','message','object','isArray','8dzRHza','2292515KxEodK','15534IvRmlh','parse','1918903zfZuRo','3389856GxUvhr','14230kWIOlz'];_0x3001=function(){return _0x234b30;};return _0x3001();}export function getRangerConfigPath(){const _0x1ebe93={'xFFlO':function(_0xbf99ef,_0x186ba7,_0x284bcc){return _0xbf99ef(_0x186ba7,_0x284bcc);}};return _0x1ebe93['xFFlO'](join,getRangerDir(),'config.json');}export async function loadRangerConfig(){const _0x4795bb=_0x540a,_0x3cfafa={'EBDfw':function(_0x2bb6cc,_0x172210){return _0x2bb6cc(_0x172210);},'hJaLh':function(_0x187f5c,_0x55fb3c,_0x1734ca){return _0x187f5c(_0x55fb3c,_0x1734ca);},'vRYQJ':function(_0x328815,_0x5f05a5){return _0x328815===_0x5f05a5;},'FeKio':'string','fEYui':function(_0x5a7fa8,_0x14738f){return _0x5a7fa8 instanceof _0x14738f;}},_0x5ecbb6=getRangerConfigPath();if(!_0x3cfafa['EBDfw'](existsSync,_0x5ecbb6))return{};try{const _0x218ed8=await _0x3cfafa[_0x4795bb(0xac)](readFile,_0x5ecbb6,'utf-8'),_0x22c24d=JSON[_0x4795bb(0xa7)](_0x218ed8);if(!_0x22c24d||typeof _0x22c24d!==_0x4795bb(0xb5)||Array[_0x4795bb(0xb6)](_0x22c24d))return{};const _0x66b2cf={},_0x1f9682=_0x22c24d['model'];return _0x3cfafa[_0x4795bb(0xb3)](typeof _0x1f9682,_0x3cfafa['FeKio'])&&(_0x66b2cf['model']=_0x1f9682),_0x66b2cf;}catch(_0x11f8d9){const _0x3b6d08=_0x3cfafa[_0x4795bb(0xb1)](_0x11f8d9,Error)?_0x11f8d9[_0x4795bb(0xb4)]:String(_0x11f8d9);return console[_0x4795bb(0xad)](_0x4795bb(0xab)+_0x5ecbb6+':\x20'+_0x3b6d08),{};}}
1
+ (function(_0x5b108d,_0x50d312){const _0x4fbba0=_0x53c9,_0x19dc80=_0x5b108d();while(!![]){try{const _0x1a06df=-parseInt(_0x4fbba0(0x1e7))/0x1*(-parseInt(_0x4fbba0(0x1ed))/0x2)+-parseInt(_0x4fbba0(0x1e9))/0x3*(parseInt(_0x4fbba0(0x1e8))/0x4)+parseInt(_0x4fbba0(0x1ef))/0x5+-parseInt(_0x4fbba0(0x1e5))/0x6*(-parseInt(_0x4fbba0(0x1ee))/0x7)+-parseInt(_0x4fbba0(0x1f5))/0x8*(-parseInt(_0x4fbba0(0x1f7))/0x9)+-parseInt(_0x4fbba0(0x1f3))/0xa*(parseInt(_0x4fbba0(0x1f9))/0xb)+parseInt(_0x4fbba0(0x1f6))/0xc*(parseInt(_0x4fbba0(0x1ea))/0xd);if(_0x1a06df===_0x50d312)break;else _0x19dc80['push'](_0x19dc80['shift']());}catch(_0x4d5a10){_0x19dc80['push'](_0x19dc80['shift']());}}}(_0x5c5d,0xdd260));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x53c9(_0x4f7cc0,_0x383447){_0x4f7cc0=_0x4f7cc0-0x1e5;const _0x5c5d94=_0x5c5d();let _0x53c9c2=_0x5c5d94[_0x4f7cc0];return _0x53c9c2;}export function getRangerConfigPath(){const _0x71943=_0x53c9,_0x14c161={'CjdiV':function(_0x3f4b64,_0x439339,_0x18e4e1){return _0x3f4b64(_0x439339,_0x18e4e1);},'xLfgz':function(_0x541623){return _0x541623();}};return _0x14c161['CjdiV'](join,_0x14c161['xLfgz'](getRangerDir),_0x71943(0x1f1));}export async function loadRangerConfig(){const _0x156770=_0x53c9,_0xc16c21={'eCrfP':function(_0x195460){return _0x195460();},'OXbPN':function(_0x32cf08,_0x420db8){return _0x32cf08(_0x420db8);},'oGnEw':function(_0x433dec,_0x299003,_0x3b9722){return _0x433dec(_0x299003,_0x3b9722);},'rxSjV':_0x156770(0x1f4),'VeABk':_0x156770(0x1eb),'XOdXA':function(_0x5bfe77,_0x5eb5fc){return _0x5bfe77 instanceof _0x5eb5fc;}},_0x371935=_0xc16c21['eCrfP'](getRangerConfigPath);if(!_0xc16c21['OXbPN'](existsSync,_0x371935))return{};try{const _0x53bf8e=await _0xc16c21[_0x156770(0x1ec)](readFile,_0x371935,_0xc16c21['rxSjV']),_0x4989a5=JSON['parse'](_0x53bf8e);if(!_0x4989a5||typeof _0x4989a5!=='object'||Array['isArray'](_0x4989a5))return{};const _0x58de54={},_0x1b3ae8=_0x4989a5[_0x156770(0x1f0)];return typeof _0x1b3ae8===_0xc16c21['VeABk']&&(_0x58de54[_0x156770(0x1f0)]=_0x1b3ae8),_0x58de54;}catch(_0x2e6bf3){const _0x5cd9f5=_0xc16c21[_0x156770(0x1f2)](_0x2e6bf3,Error)?_0x2e6bf3[_0x156770(0x1e6)]:_0xc16c21['OXbPN'](String,_0x2e6bf3);return console[_0x156770(0x1f8)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x371935+':\x20'+_0x5cd9f5),{};}}function _0x5c5d(){const _0x4adb0f=['1706735DEsJvE','model','config.json','XOdXA','8870iNLLsR','utf-8','8395976ZynOQu','12LnPjMw','9hXSJeV','warn','14322cleEcE','1716642UOVqEs','message','3491CFuLrQ','4afJRDI','5093643WQUQeg','24292801oVWpvH','string','oGnEw','122PhoskO','7aaRjLS'];_0x5c5d=function(){return _0x4adb0f;};return _0x5c5d();}
@@ -1 +1 @@
1
- (function(_0x1e1001,_0x27cbbe){const _0x553dde=_0x53b1,_0x3166ac=_0x1e1001();while(!![]){try{const _0x3dbad8=parseInt(_0x553dde(0xd1))/0x1*(-parseInt(_0x553dde(0xd5))/0x2)+parseInt(_0x553dde(0xdd))/0x3*(parseInt(_0x553dde(0xda))/0x4)+parseInt(_0x553dde(0xd3))/0x5+-parseInt(_0x553dde(0xc8))/0x6*(-parseInt(_0x553dde(0xd6))/0x7)+-parseInt(_0x553dde(0xd4))/0x8+parseInt(_0x553dde(0xcc))/0x9*(-parseInt(_0x553dde(0xc9))/0xa)+-parseInt(_0x553dde(0xdc))/0xb*(-parseInt(_0x553dde(0xd7))/0xc);if(_0x3dbad8===_0x27cbbe)break;else _0x3166ac['push'](_0x3166ac['shift']());}catch(_0x586f47){_0x3166ac['push'](_0x3166ac['shift']());}}}(_0x4315,0x2e8b1));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x1b138f=_0x53b1,_0x1e7fbd={'wuVwx':function(_0x5662b2,_0xad8e05){return _0x5662b2(_0xad8e05);},'vksGf':function(_0x585dd7,_0x36be52){return _0x585dd7(_0x36be52);},'HvcxQ':'.ranger'};let _0xb6650f=process['cwd']();const _0x493df8=_0x1e7fbd[_0x1b138f(0xdb)](parse,_0xb6650f)[_0x1b138f(0xd8)];while(_0xb6650f!==_0x493df8){if(existsSync(join(_0xb6650f,'.ranger')))return _0xb6650f;_0xb6650f=dirname(_0xb6650f);}if(_0x1e7fbd['vksGf'](existsSync,join(_0x493df8,_0x1e7fbd[_0x1b138f(0xcd)])))return _0x493df8;const _0x32b8f7=findGitRoot();if(_0x32b8f7)return _0x32b8f7;return process['cwd']();}export function getRangerDir(){const _0x5c8743=_0x53b1,_0x25a269={'HiThJ':function(_0x1738b0){return _0x1738b0();}};return join(_0x25a269[_0x5c8743(0xce)](getRangerRoot),_0x5c8743(0xd9));}export function findGitRoot(){const _0x2e86d0=_0x53b1,_0x533fae={'UaePo':function(_0x3d92ac,_0x13d960){return _0x3d92ac(_0x13d960);},'paeVX':function(_0x2205d9,_0xa3d41a){return _0x2205d9!==_0xa3d41a;},'WVvKu':function(_0x2bb465,_0x422fe9){return _0x2bb465(_0x422fe9);},'NKuar':function(_0x4a590a,_0x3ed7d2){return _0x4a590a(_0x3ed7d2);},'quUxN':function(_0x3ef571,_0x4da673,_0x45c347){return _0x3ef571(_0x4da673,_0x45c347);},'nuxKc':_0x2e86d0(0xcf)};let _0x439ddc=process['cwd']();const _0x346fb4=_0x533fae[_0x2e86d0(0xcb)](parse,_0x439ddc)['root'];while(_0x533fae['paeVX'](_0x439ddc,_0x346fb4)){if(existsSync(join(_0x439ddc,_0x2e86d0(0xcf))))return _0x439ddc;_0x439ddc=_0x533fae['WVvKu'](dirname,_0x439ddc);}if(_0x533fae[_0x2e86d0(0xca)](existsSync,_0x533fae[_0x2e86d0(0xd0)](join,_0x346fb4,_0x533fae[_0x2e86d0(0xd2)])))return _0x346fb4;return null;}function _0x53b1(_0x431f4d,_0x25dbfe){_0x431f4d=_0x431f4d-0xc8;const _0x43156d=_0x4315();let _0x53b120=_0x43156d[_0x431f4d];return _0x53b120;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}function _0x4315(){const _0x2dcf52=['NKuar','UaePo','146709ujVNvZ','HvcxQ','HiThJ','.git','quUxN','8TXjiuW','nuxKc','1462680IckcFF','84000qodBLt','59326wbUHKL','1988kizIHo','739476SJtGSR','root','.ranger','16XhRNms','wuVwx','11UZKumV','79572koSIJv','228HhuxLU','20DBmGoj'];_0x4315=function(){return _0x2dcf52;};return _0x4315();}
1
+ (function(_0x8605b7,_0xbeb771){const _0x1d7a19=_0x10a5,_0x150ee7=_0x8605b7();while(!![]){try{const _0x2aeea2=parseInt(_0x1d7a19(0x18b))/0x1+parseInt(_0x1d7a19(0x180))/0x2*(parseInt(_0x1d7a19(0x189))/0x3)+parseInt(_0x1d7a19(0x191))/0x4+-parseInt(_0x1d7a19(0x17b))/0x5*(parseInt(_0x1d7a19(0x183))/0x6)+-parseInt(_0x1d7a19(0x18e))/0x7*(parseInt(_0x1d7a19(0x18a))/0x8)+parseInt(_0x1d7a19(0x18c))/0x9+-parseInt(_0x1d7a19(0x186))/0xa*(parseInt(_0x1d7a19(0x18d))/0xb);if(_0x2aeea2===_0xbeb771)break;else _0x150ee7['push'](_0x150ee7['shift']());}catch(_0x1c3542){_0x150ee7['push'](_0x150ee7['shift']());}}}(_0x3a57,0x773cf));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x48abf1=_0x10a5,_0x52af8b={'RCYVm':function(_0x14ec27,_0x3b3d22){return _0x14ec27(_0x3b3d22);},'kfzwZ':function(_0x56431d,_0x44b055){return _0x56431d!==_0x44b055;},'pmUmx':_0x48abf1(0x185),'pINJw':function(_0x5684e1,_0x49df91,_0x3be9f1){return _0x5684e1(_0x49df91,_0x3be9f1);}};let _0x50da93=process[_0x48abf1(0x17c)]();const _0x4c5fd8=_0x52af8b[_0x48abf1(0x188)](parse,_0x50da93)[_0x48abf1(0x17e)];while(_0x52af8b[_0x48abf1(0x182)](_0x50da93,_0x4c5fd8)){if(_0x52af8b['RCYVm'](existsSync,join(_0x50da93,_0x52af8b['pmUmx'])))return _0x50da93;_0x50da93=dirname(_0x50da93);}if(existsSync(_0x52af8b[_0x48abf1(0x190)](join,_0x4c5fd8,_0x48abf1(0x185))))return _0x4c5fd8;const _0x39f610=findGitRoot();if(_0x39f610)return _0x39f610;return process[_0x48abf1(0x17c)]();}export function getRangerDir(){const _0x3dca75=_0x10a5,_0x1b96ab={'drsKe':function(_0x20dbf5){return _0x20dbf5();},'cFvto':'.ranger'};return join(_0x1b96ab[_0x3dca75(0x17a)](getRangerRoot),_0x1b96ab[_0x3dca75(0x17d)]);}function _0x10a5(_0x4b4566,_0x1d8df6){_0x4b4566=_0x4b4566-0x17a;const _0x3a575e=_0x3a57();let _0x10a53d=_0x3a575e[_0x4b4566];return _0x10a53d;}export function findGitRoot(){const _0x8a7751=_0x10a5,_0x4c44d6={'PtIdC':function(_0x425de3,_0x2a3483){return _0x425de3(_0x2a3483);},'EARKt':function(_0x5cf746,_0x5d20c6){return _0x5cf746!==_0x5d20c6;},'LmzTD':function(_0x206725,_0x4c94f9){return _0x206725(_0x4c94f9);},'aXXjR':function(_0x171cb4,_0x5eca26,_0x18adc1){return _0x171cb4(_0x5eca26,_0x18adc1);},'ObBqu':_0x8a7751(0x187)};let _0x244228=process['cwd']();const _0x1ab2d7=_0x4c44d6['PtIdC'](parse,_0x244228)[_0x8a7751(0x17e)];while(_0x4c44d6['EARKt'](_0x244228,_0x1ab2d7)){if(_0x4c44d6['LmzTD'](existsSync,_0x4c44d6[_0x8a7751(0x184)](join,_0x244228,_0x4c44d6[_0x8a7751(0x17f)])))return _0x244228;_0x244228=_0x4c44d6[_0x8a7751(0x18f)](dirname,_0x244228);}if(existsSync(_0x4c44d6[_0x8a7751(0x184)](join,_0x1ab2d7,'.git')))return _0x1ab2d7;return null;}function _0x3a57(){const _0x19dd80=['ObBqu','2VgbrwJ','acFIl','kfzwZ','6mSXTfy','aXXjR','.ranger','830WalgHM','.git','RCYVm','1471656kxiRms','8oTRcQS','298760zxgpzf','4123782snpOKt','55682DuMQQw','1689849kAaSOG','PtIdC','pINJw','2661060wMqAJH','drsKe','3814115nUivjd','cwd','cFvto','root'];_0x3a57=function(){return _0x19dd80;};return _0x3a57();}export function getRangerHomeDir(){const _0x482ed7=_0x10a5,_0x1d9b76={'acFIl':_0x482ed7(0x185)};return join(homedir(),_0x1d9b76[_0x482ed7(0x181)]);}