@ranger-testing/ranger-cli 2.1.7 → 2.1.8

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 -1
  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 +1 -1
@@ -1 +1 @@
1
- function _0x2c9d(_0x2a18a6,_0x357a63){_0x2a18a6=_0x2a18a6-0x1da;const _0x5a69eb=_0x5a69();let _0x2c9d7f=_0x5a69eb[_0x2a18a6];return _0x2c9d7f;}(function(_0x28490c,_0x1ffb5a){const _0x1cd30e=_0x2c9d,_0x21077e=_0x28490c();while(!![]){try{const _0xc3ce37=-parseInt(_0x1cd30e(0x216))/0x1*(-parseInt(_0x1cd30e(0x1df))/0x2)+parseInt(_0x1cd30e(0x1da))/0x3+parseInt(_0x1cd30e(0x205))/0x4+-parseInt(_0x1cd30e(0x20f))/0x5+-parseInt(_0x1cd30e(0x1e9))/0x6+-parseInt(_0x1cd30e(0x207))/0x7+-parseInt(_0x1cd30e(0x200))/0x8*(parseInt(_0x1cd30e(0x1ea))/0x9);if(_0xc3ce37===_0x1ffb5a)break;else _0x21077e['push'](_0x21077e['shift']());}catch(_0x46b8f1){_0x21077e['push'](_0x21077e['shift']());}}}(_0x5a69,0x7710c));export function buildTraceViewerUrl(_0x394cfe){const _0x16bdf7=encodeURIComponent(_0x394cfe);return'https://trace.playwright.dev/?trace='+_0x16bdf7;}function getStatusEmoji(_0x5df36f){const _0x1943c1=_0x2c9d,_0x166021={'OTJoh':'verified','fdXfy':_0x1943c1(0x213),'petfh':'in_progress'};switch(_0x5df36f){case _0x166021['OTJoh']:case _0x166021['fdXfy']:return'';case _0x1943c1(0x218):case _0x166021[_0x1943c1(0x1f3)]:return'🔄';case'incomplete':return'🟠';case _0x1943c1(0x1f1):return'🛑';case'closed':return'⛔';default:return'❓';}}function formatDuration(_0x28ea68){const _0x1f1d39=_0x2c9d,_0x5602de={'GCXwY':function(_0x2e8d25,_0x259ccc){return _0x2e8d25<_0x259ccc;}};if(_0x28ea68===null||_0x28ea68===undefined)return _0x1f1d39(0x1f7);if(_0x5602de[_0x1f1d39(0x204)](_0x28ea68,0x3e8))return _0x28ea68+'ms';const _0x504327=Math[_0x1f1d39(0x1f2)](_0x28ea68/0x3e8);if(_0x5602de['GCXwY'](_0x504327,0x3c))return _0x504327+'s';const _0x4d9f52=Math['floor'](_0x504327/0x3c),_0x431435=_0x504327%0x3c;return _0x4d9f52+'m\x20'+_0x431435+'s';}function _0x5a69(){const _0x197eed=['4691ZPdtAW','**Branch:**\x20','pending','length','gatHm','...','1114389lamjCX','iteration','verifiedAt','blockedReason','\x20verified)','386benjNb','createdAt','XPwLI','filter','currentSession','-\x20**Closed:**\x20','HgJax','-\x20**Summary:**\x20','closedAt','\x20|\x20','1794864QdTyAR','36EXdrmJ','-\x20**Reason:**\x20','push','verified','###\x20','-\x20**','ndWco','blocked','floor','petfh','No\x20Session','ENwZW','No\x20reason\x20provided','N/A','**:\x20','Unknown',':\x20Ready',':\x20In\x20Progress','##\x20Scenario\x20Progress\x20(','find','agentResponse','traceUrl','894328CgztEb','description','closed','join','GCXwY','635652ONDcNH','durationMs','219317ibfQYO','gitRepoUrl','##\x20Blocking\x20Issues','**Created:**\x20','gitBranch','blockedAt','short','xZgcy','852040COXFTX','sort','canceledReason','-\x20**Blocked:**\x20','completed','status','toLocaleDateString'];_0x5a69=function(){return _0x197eed;};return _0x5a69();}function formatDate(_0x1ba230){const _0x56202d=_0x2c9d,_0x3cd187={'ndWco':'N/A','TrAOt':_0x56202d(0x20d),'HgJax':'numeric'};if(!_0x1ba230)return _0x3cd187[_0x56202d(0x1f0)];return new Date(_0x1ba230)[_0x56202d(0x215)]('en-US',{'year':'numeric','month':_0x3cd187['TrAOt'],'day':_0x3cd187[_0x56202d(0x1e5)]});}export function generateFeatureReport(_0x41bda0){const _0x4c7719=_0x2c9d,_0x3c38={'jQedL':_0x4c7719(0x1f9),'PpOoa':'##\x20Description','gatHm':function(_0x353403,_0x5221cc){return _0x353403(_0x5221cc);},'ObKze':_0x4c7719(0x202),'ENwZW':'incomplete','AIKRk':function(_0x25267f,_0x3b158c){return _0x25267f(_0x3b158c);},'Hbcfr':function(_0x110e74,_0x4bb7ca){return _0x110e74>_0x4bb7ca;},'CojDb':'##\x20Blocking\x20Issues','XPwLI':function(_0x1a1e2c,_0x3633e1){return _0x1a1e2c>_0x3633e1;},'suaKz':'##\x20All\x20Verification\x20Sessions','xZgcy':function(_0x3dc369,_0x295436){return _0x3dc369+_0x295436;},'jwehD':_0x4c7719(0x21b),'tEioh':'N/A','rRnfV':function(_0x49a9fe,_0x9af22c){return _0x49a9fe===_0x9af22c;},'jyvGu':'completed'},{feature:_0x10966c,stats:_0x1d9bc9,checklistItems:_0x20f2d4,sessions:_0x1e3d8c}=_0x41bda0,_0x2508f7=[];_0x2508f7[_0x4c7719(0x1ec)]('#\x20Feature\x20Review\x20Report:\x20'+_0x10966c['name']),_0x2508f7[_0x4c7719(0x1ec)]('');let _0x128401,_0x4462fb;if(_0x10966c['completedAt'])_0x128401='Completed',_0x4462fb='✅';else{if(_0x10966c[_0x4c7719(0x1e3)]){const _0x12e436=_0x10966c['currentSession']['status'];switch(_0x12e436){case'ready':_0x128401='Session\x20'+_0x10966c[_0x4c7719(0x1e3)][_0x4c7719(0x1db)]+_0x4c7719(0x1fa),_0x4462fb='▶️';break;case'in_progress':_0x128401='Session\x20'+_0x10966c[_0x4c7719(0x1e3)][_0x4c7719(0x1db)]+_0x4c7719(0x1fb),_0x4462fb='🔄';break;case'completed':_0x128401='Session\x20'+_0x10966c[_0x4c7719(0x1e3)]['iteration']+':\x20Awaiting\x20Review',_0x4462fb='📊';break;default:_0x128401=_0x3c38['jQedL'],_0x4462fb='❓';}}else _0x128401=_0x4c7719(0x1f4),_0x4462fb='⬜';}_0x2508f7['push']('**Status:**\x20'+_0x4462fb+'\x20'+_0x128401),_0x2508f7['push'](_0x4c7719(0x20a)+formatDate(_0x10966c[_0x4c7719(0x1e0)]));_0x10966c['completedAt']&&_0x2508f7['push']('**Completed:**\x20'+formatDate(_0x10966c['completedAt']));_0x10966c['gitRepoUrl']&&_0x2508f7[_0x4c7719(0x1ec)]('**Repository:**\x20'+_0x10966c[_0x4c7719(0x208)]);_0x10966c[_0x4c7719(0x20b)]&&_0x2508f7['push'](_0x4c7719(0x217)+_0x10966c[_0x4c7719(0x20b)]);_0x2508f7['push']('');_0x10966c['description']&&(_0x2508f7[_0x4c7719(0x1ec)](_0x3c38['PpOoa']),_0x2508f7[_0x4c7719(0x1ec)](''),_0x2508f7[_0x4c7719(0x1ec)](_0x10966c[_0x4c7719(0x201)]),_0x2508f7[_0x4c7719(0x1ec)](''));const _0x24d97d=_0x20f2d4['filter'](_0x357bbd=>_0x357bbd['status']!==_0x4c7719(0x202)),_0x494a3c=_0x20f2d4[_0x4c7719(0x1e2)](_0x244b54=>_0x244b54[_0x4c7719(0x214)]===_0x4c7719(0x1ed))[_0x4c7719(0x219)];_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x1fc)+_0x494a3c+'/'+_0x24d97d['length']+_0x4c7719(0x1de)),_0x2508f7[_0x4c7719(0x1ec)]('');const _0x4c72da=[..._0x20f2d4][_0x4c7719(0x210)]((_0x52c42e,_0x241bd0)=>_0x52c42e['position']-_0x241bd0['position']);for(const _0x569c0b of _0x4c72da){const _0x2bdaa5=_0x3c38[_0x4c7719(0x21a)](getStatusEmoji,_0x569c0b[_0x4c7719(0x214)]),_0x192bf3=_0x569c0b['status']==='closed',_0x22f8c4=_0x192bf3?'~~':'',_0x73a775=_0x192bf3?'~~':'';_0x2508f7['push'](_0x4c7719(0x1ee)+_0x2bdaa5+'\x20'+_0x22f8c4+_0x569c0b[_0x4c7719(0x201)]+_0x73a775),_0x2508f7['push']('');_0x569c0b['status']==='verified'&&_0x569c0b[_0x4c7719(0x1dc)]&&_0x2508f7[_0x4c7719(0x1ec)]('-\x20**Verified:**\x20'+formatDate(_0x569c0b[_0x4c7719(0x1dc)]));_0x569c0b['status']===_0x4c7719(0x1f1)&&_0x569c0b[_0x4c7719(0x20c)]&&(_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x212)+formatDate(_0x569c0b[_0x4c7719(0x20c)])),_0x569c0b[_0x4c7719(0x1dd)]&&_0x2508f7[_0x4c7719(0x1ec)]('-\x20**Reason:**\x20'+_0x569c0b[_0x4c7719(0x1dd)]));_0x569c0b[_0x4c7719(0x214)]===_0x3c38['ObKze']&&_0x569c0b[_0x4c7719(0x1e7)]&&(_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x1e4)+formatDate(_0x569c0b['closedAt'])),_0x569c0b[_0x4c7719(0x211)]&&_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x1eb)+_0x569c0b['canceledReason']));_0x569c0b[_0x4c7719(0x214)]===_0x3c38[_0x4c7719(0x1f5)]&&_0x2508f7[_0x4c7719(0x1ec)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x569c0b['browserSessionId']){_0x2508f7['push']('-\x20**Session:**\x20'+_0x569c0b['browserSessionId']);const _0x3b9e12=_0x1e3d8c['find'](_0x31e644=>_0x31e644['id']===_0x569c0b['browserSessionId']);_0x3b9e12&&(_0x3b9e12['agentResponse']&&_0x2508f7['push'](_0x4c7719(0x1e6)+_0x3b9e12[_0x4c7719(0x1fe)]),_0x3b9e12['traceUrl']&&_0x2508f7['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x3c38['AIKRk'](buildTraceViewerUrl,_0x3b9e12[_0x4c7719(0x1ff)])+')'));}_0x2508f7['push']('');}const _0x1875f5=_0x20f2d4[_0x4c7719(0x1e2)](_0x4c56fd=>_0x4c56fd['status']==='blocked');if(_0x3c38['Hbcfr'](_0x1875f5['length'],0x0)){_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x209)),_0x2508f7['push']('');for(const _0x303c16 of _0x1875f5){_0x2508f7[_0x4c7719(0x1ec)](_0x4c7719(0x1ef)+_0x303c16['description']+_0x4c7719(0x1f8)+(_0x303c16['blockedReason']||_0x4c7719(0x1f6)));}_0x2508f7[_0x4c7719(0x1ec)]('');}else _0x2508f7['push'](_0x3c38['CojDb']),_0x2508f7['push'](''),_0x2508f7['push']('None'),_0x2508f7[_0x4c7719(0x1ec)]('');if(_0x3c38[_0x4c7719(0x1e1)](_0x1e3d8c[_0x4c7719(0x219)],0x0)){_0x2508f7['push'](_0x3c38['suaKz']),_0x2508f7['push'](''),_0x2508f7[_0x4c7719(0x1ec)]('|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|'),_0x2508f7[_0x4c7719(0x1ec)]('|---------|----------|--------|----------|------|');for(const _0x8399c4 of _0x1e3d8c){const _0x4e4d71=_0x8399c4['checklistItemId']?_0x20f2d4[_0x4c7719(0x1fd)](_0x69a5eb=>_0x69a5eb['id']===_0x8399c4['checklistItemId']):null,_0x5a9bce=_0x4e4d71?_0x3c38[_0x4c7719(0x20e)](_0x4e4d71['description']['substring'](0x0,0x1e),_0x3c38['XPwLI'](_0x4e4d71['description']['length'],0x1e)?_0x3c38['jwehD']:''):_0x3c38['tEioh'],_0x1bff98=_0x3c38['rRnfV'](_0x8399c4[_0x4c7719(0x214)],_0x3c38['jyvGu'])?'✅':_0x8399c4['status']==='failed'?'❌':'🔄';_0x2508f7['push']('|\x20'+_0x8399c4['id']+_0x4c7719(0x1e8)+_0x5a9bce+'\x20|\x20'+_0x1bff98+'\x20'+_0x8399c4['status']+'\x20|\x20'+formatDuration(_0x8399c4[_0x4c7719(0x206)])+_0x4c7719(0x1e8)+formatDate(_0x8399c4[_0x4c7719(0x1e0)])+'\x20|');}_0x2508f7[_0x4c7719(0x1ec)]('');}return _0x2508f7[_0x4c7719(0x203)]('\x0a');}
1
+ (function(_0x1b51ec,_0x27ae56){const _0x411367=_0x231d,_0x458652=_0x1b51ec();while(!![]){try{const _0x5d14d0=parseInt(_0x411367(0x15c))/0x1+parseInt(_0x411367(0x159))/0x2*(parseInt(_0x411367(0x16f))/0x3)+parseInt(_0x411367(0x191))/0x4*(parseInt(_0x411367(0x189))/0x5)+parseInt(_0x411367(0x17b))/0x6+-parseInt(_0x411367(0x179))/0x7*(parseInt(_0x411367(0x193))/0x8)+-parseInt(_0x411367(0x186))/0x9+-parseInt(_0x411367(0x162))/0xa;if(_0x5d14d0===_0x27ae56)break;else _0x458652['push'](_0x458652['shift']());}catch(_0x3bcbc7){_0x458652['push'](_0x458652['shift']());}}}(_0xedf4,0xce314));function _0xedf4(){const _0x29bd2f=['757307pUqzUO','push','position','##\x20All\x20Verification\x20Sessions','No\x20Session','traceUrl','6052950nlwYdT','completedAt','VcvSc','length','|---------|----------|--------|----------|------|','blockedReason','No\x20reason\x20provided','qghgF','-\x20**Summary:**\x20','##\x20Scenario\x20Progress\x20(','**Branch:**\x20','**Repository:**\x20','N/A','6690PdsqRI','iteration','filter','ICSSX','NbuCb','##\x20Blocking\x20Issues','https://trace.playwright.dev/?trace=','-\x20**Blocked:**\x20','QaNOx','cVgPT','123431beUIrY','jKOyQ','6745686aVExHw','-\x20**Closed:**\x20','QpuQL','-\x20**Trace:**\x20[View\x20in\x20Playwright](','durationMs','verified','mQFkP','description','\x20|\x20','YddCr','Session\x20','9229356pTMXEn','en-US','###\x20','165CrSqOO','\x20verified)','gNazK','in_progress','#\x20Feature\x20Review\x20Report:\x20',':\x20Ready','blockedAt','checklistItemId','4804DZPUqZ','wpTQr','128vRSayI','closedAt','NtYdw','-\x20**Reason:**\x20','blocked','incomplete','wucwH','##\x20Description','floor','**Completed:**\x20','FHPrI','closed','currentSession','FFkyv','-\x20**Session:**\x20','verifiedAt','FENJo','status','**Created:**\x20','toLocaleDateString','750TgnAcx','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','pending'];_0xedf4=function(){return _0x29bd2f;};return _0xedf4();}export function buildTraceViewerUrl(_0x132958){const _0x4d6394=_0x231d,_0x55db08=encodeURIComponent(_0x132958);return _0x4d6394(0x175)+_0x55db08;}function getStatusEmoji(_0x15749a){const _0x35b8aa=_0x231d,_0x452e42={'QpuQL':'in_progress','LXaOp':_0x35b8aa(0x198),'gHSVR':_0x35b8aa(0x150)};switch(_0x15749a){case'verified':case'completed':return'✅';case _0x35b8aa(0x15b):case _0x452e42[_0x35b8aa(0x17d)]:return'🔄';case _0x452e42['LXaOp']:return'🟠';case _0x35b8aa(0x197):return'🛑';case _0x452e42['gHSVR']:return'⛔';default:return'❓';}}function formatDuration(_0x12d981){const _0x30cf42=_0x231d,_0x3afd27={'ICSSX':function(_0x9f098,_0x1b613c){return _0x9f098===_0x1b613c;},'yTiEY':function(_0x5736b0,_0x4e1c1e){return _0x5736b0<_0x4e1c1e;},'NbuCb':function(_0x59d01a,_0x3385d3){return _0x59d01a/_0x3385d3;}};if(_0x12d981===null||_0x3afd27[_0x30cf42(0x172)](_0x12d981,undefined))return'N/A';if(_0x3afd27['yTiEY'](_0x12d981,0x3e8))return _0x12d981+'ms';const _0x8791c0=Math[_0x30cf42(0x19b)](_0x3afd27['NbuCb'](_0x12d981,0x3e8));if(_0x8791c0<0x3c)return _0x8791c0+'s';const _0x4d9ed2=Math['floor'](_0x3afd27[_0x30cf42(0x173)](_0x8791c0,0x3c)),_0x47ba4c=_0x8791c0%0x3c;return _0x4d9ed2+'m\x20'+_0x47ba4c+'s';}function _0x231d(_0x18ec51,_0x4c9729){_0x18ec51=_0x18ec51-0x14f;const _0xedf4a7=_0xedf4();let _0x231d27=_0xedf4a7[_0x18ec51];return _0x231d27;}function formatDate(_0x1c756e){const _0x191c69=_0x231d,_0xa49701={'FHPrI':'numeric'};if(!_0x1c756e)return'N/A';return new Date(_0x1c756e)[_0x191c69(0x158)](_0x191c69(0x187),{'year':'numeric','month':'short','day':_0xa49701[_0x191c69(0x14f)]});}export function generateFeatureReport(_0x2f764c){const _0x4201e5=_0x231d,_0x4af708={'fvUCn':'Completed','gNazK':'ready','ezlZP':_0x4201e5(0x18c),'cVgPT':'completed','qghgF':function(_0x3a1f1a,_0x223fac){return _0x3a1f1a(_0x223fac);},'QaNOx':_0x4201e5(0x19a),'cbOqS':'closed','wucwH':function(_0x19a0fc,_0x132439){return _0x19a0fc===_0x132439;},'VcvSc':'verified','NtYdw':function(_0x4e9b9c,_0xf798f2){return _0x4e9b9c===_0xf798f2;},'FFkyv':function(_0x94ebe9,_0x4461b8){return _0x94ebe9===_0x4461b8;},'FENJo':_0x4201e5(0x198),'ZKnPP':_0x4201e5(0x15f),'mQFkP':_0x4201e5(0x15a),'wpTQr':_0x4201e5(0x166),'jKOyQ':function(_0x20a4ff,_0x396eaa){return _0x20a4ff+_0x396eaa;},'pybzq':function(_0x3a2e44,_0x4e01b1){return _0x3a2e44>_0x4e01b1;},'YddCr':_0x4201e5(0x16e)},{feature:_0x1144ec,stats:_0x3d5c07,checklistItems:_0x41fc8e,sessions:_0x5577e3}=_0x2f764c,_0x265af3=[];_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x18d)+_0x1144ec['name']),_0x265af3[_0x4201e5(0x15d)]('');let _0x445dda,_0x55226f;if(_0x1144ec['completedAt'])_0x445dda=_0x4af708['fvUCn'],_0x55226f='✅';else{if(_0x1144ec[_0x4201e5(0x151)]){const _0x3ffbc4=_0x1144ec['currentSession'][_0x4201e5(0x156)];switch(_0x3ffbc4){case _0x4af708[_0x4201e5(0x18b)]:_0x445dda=_0x4201e5(0x185)+_0x1144ec['currentSession'][_0x4201e5(0x170)]+_0x4201e5(0x18e),_0x55226f='▶️';break;case _0x4af708['ezlZP']:_0x445dda=_0x4201e5(0x185)+_0x1144ec['currentSession']['iteration']+':\x20In\x20Progress',_0x55226f='🔄';break;case _0x4af708[_0x4201e5(0x178)]:_0x445dda='Session\x20'+_0x1144ec[_0x4201e5(0x151)][_0x4201e5(0x170)]+':\x20Awaiting\x20Review',_0x55226f='📊';break;default:_0x445dda='Unknown',_0x55226f='❓';}}else _0x445dda=_0x4201e5(0x160),_0x55226f='⬜';}_0x265af3[_0x4201e5(0x15d)]('**Status:**\x20'+_0x55226f+'\x20'+_0x445dda),_0x265af3['push'](_0x4201e5(0x157)+_0x4af708[_0x4201e5(0x169)](formatDate,_0x1144ec['createdAt']));_0x1144ec[_0x4201e5(0x163)]&&_0x265af3['push'](_0x4201e5(0x19c)+_0x4af708['qghgF'](formatDate,_0x1144ec['completedAt']));_0x1144ec['gitRepoUrl']&&_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x16d)+_0x1144ec['gitRepoUrl']);_0x1144ec['gitBranch']&&_0x265af3['push'](_0x4201e5(0x16c)+_0x1144ec['gitBranch']);_0x265af3[_0x4201e5(0x15d)]('');_0x1144ec[_0x4201e5(0x182)]&&(_0x265af3[_0x4201e5(0x15d)](_0x4af708[_0x4201e5(0x177)]),_0x265af3['push'](''),_0x265af3[_0x4201e5(0x15d)](_0x1144ec['description']),_0x265af3['push'](''));const _0x17058a=_0x41fc8e[_0x4201e5(0x171)](_0x4cd3ca=>_0x4cd3ca[_0x4201e5(0x156)]!==_0x4201e5(0x150)),_0x2971db=_0x41fc8e['filter'](_0x5bda19=>_0x5bda19['status']===_0x4201e5(0x180))[_0x4201e5(0x165)];_0x265af3['push'](_0x4201e5(0x16b)+_0x2971db+'/'+_0x17058a['length']+_0x4201e5(0x18a)),_0x265af3['push']('');const _0xf2a55a=[..._0x41fc8e]['sort']((_0x545903,_0x12cebe)=>_0x545903['position']-_0x12cebe[_0x4201e5(0x15e)]);for(const _0x57a9cf of _0xf2a55a){const _0x1e1e0f=getStatusEmoji(_0x57a9cf['status']),_0x522b2d=_0x57a9cf[_0x4201e5(0x156)]===_0x4af708['cbOqS'],_0x40452b=_0x522b2d?'~~':'',_0x427b07=_0x522b2d?'~~':'';_0x265af3['push'](_0x4201e5(0x188)+_0x1e1e0f+'\x20'+_0x40452b+_0x57a9cf['description']+_0x427b07),_0x265af3['push']('');_0x4af708['wucwH'](_0x57a9cf[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x164)])&&_0x57a9cf[_0x4201e5(0x154)]&&_0x265af3['push']('-\x20**Verified:**\x20'+formatDate(_0x57a9cf['verifiedAt']));_0x4af708[_0x4201e5(0x195)](_0x57a9cf['status'],_0x4201e5(0x197))&&_0x57a9cf[_0x4201e5(0x18f)]&&(_0x265af3['push'](_0x4201e5(0x176)+_0x4af708[_0x4201e5(0x169)](formatDate,_0x57a9cf['blockedAt'])),_0x57a9cf['blockedReason']&&_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x196)+_0x57a9cf[_0x4201e5(0x167)]));_0x4af708['FFkyv'](_0x57a9cf['status'],_0x4201e5(0x150))&&_0x57a9cf['closedAt']&&(_0x265af3['push'](_0x4201e5(0x17c)+formatDate(_0x57a9cf[_0x4201e5(0x194)])),_0x57a9cf['canceledReason']&&_0x265af3['push']('-\x20**Reason:**\x20'+_0x57a9cf['canceledReason']));_0x4af708['FFkyv'](_0x57a9cf[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x155)])&&_0x265af3[_0x4201e5(0x15d)]('-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work');if(_0x57a9cf['browserSessionId']){_0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x153)+_0x57a9cf['browserSessionId']);const _0x21a573=_0x5577e3['find'](_0x49e499=>_0x49e499['id']===_0x57a9cf['browserSessionId']);_0x21a573&&(_0x21a573['agentResponse']&&_0x265af3['push'](_0x4201e5(0x16a)+_0x21a573['agentResponse']),_0x21a573['traceUrl']&&_0x265af3['push'](_0x4201e5(0x17e)+_0x4af708['qghgF'](buildTraceViewerUrl,_0x21a573[_0x4201e5(0x161)])+')'));}_0x265af3['push']('');}const _0x4d8c7d=_0x41fc8e['filter'](_0x36d5df=>_0x36d5df['status']==='blocked');if(_0x4d8c7d['length']>0x0){_0x265af3['push']('##\x20Blocking\x20Issues'),_0x265af3[_0x4201e5(0x15d)]('');for(const _0x2dd4b6 of _0x4d8c7d){_0x265af3['push']('-\x20**'+_0x2dd4b6['description']+'**:\x20'+(_0x2dd4b6['blockedReason']||_0x4201e5(0x168)));}_0x265af3[_0x4201e5(0x15d)]('');}else _0x265af3[_0x4201e5(0x15d)](_0x4201e5(0x174)),_0x265af3[_0x4201e5(0x15d)](''),_0x265af3[_0x4201e5(0x15d)]('None'),_0x265af3['push']('');if(_0x5577e3['length']>0x0){_0x265af3[_0x4201e5(0x15d)](_0x4af708['ZKnPP']),_0x265af3[_0x4201e5(0x15d)](''),_0x265af3['push'](_0x4af708[_0x4201e5(0x181)]),_0x265af3['push'](_0x4af708[_0x4201e5(0x192)]);for(const _0x5d0d45 of _0x5577e3){const _0x314d92=_0x5d0d45[_0x4201e5(0x190)]?_0x41fc8e['find'](_0x3e1c3a=>_0x3e1c3a['id']===_0x5d0d45[_0x4201e5(0x190)]):null,_0x170eb2=_0x314d92?_0x4af708[_0x4201e5(0x17a)](_0x314d92[_0x4201e5(0x182)]['substring'](0x0,0x1e),_0x4af708['pybzq'](_0x314d92['description'][_0x4201e5(0x165)],0x1e)?'...':''):_0x4af708[_0x4201e5(0x184)],_0x49c574=_0x4af708[_0x4201e5(0x152)](_0x5d0d45[_0x4201e5(0x156)],_0x4af708[_0x4201e5(0x178)])?'✅':_0x4af708[_0x4201e5(0x199)](_0x5d0d45['status'],'failed')?'❌':'🔄';_0x265af3[_0x4201e5(0x15d)]('|\x20'+_0x5d0d45['id']+'\x20|\x20'+_0x170eb2+'\x20|\x20'+_0x49c574+'\x20'+_0x5d0d45[_0x4201e5(0x156)]+'\x20|\x20'+formatDuration(_0x5d0d45[_0x4201e5(0x17f)])+_0x4201e5(0x183)+formatDate(_0x5d0d45['createdAt'])+'\x20|');}_0x265af3['push']('');}return _0x265af3['join']('\x0a');}
@@ -1 +1 @@
1
- const _0xd29f6e=_0x3871;(function(_0x2c0f5,_0x4eb451){const _0x2b0cc3=_0x3871,_0x63060f=_0x2c0f5();while(!![]){try{const _0x388f56=-parseInt(_0x2b0cc3(0x1f4))/0x1*(-parseInt(_0x2b0cc3(0x20c))/0x2)+parseInt(_0x2b0cc3(0x21a))/0x3+-parseInt(_0x2b0cc3(0x21d))/0x4+parseInt(_0x2b0cc3(0x231))/0x5*(parseInt(_0x2b0cc3(0x208))/0x6)+parseInt(_0x2b0cc3(0x201))/0x7*(parseInt(_0x2b0cc3(0x1fe))/0x8)+-parseInt(_0x2b0cc3(0x217))/0x9+-parseInt(_0x2b0cc3(0x211))/0xa*(parseInt(_0x2b0cc3(0x20f))/0xb);if(_0x388f56===_0x4eb451)break;else _0x63060f['push'](_0x63060f['shift']());}catch(_0x577e4f){_0x63060f['push'](_0x63060f['shift']());}}}(_0x4dec,0xc80ad));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(_0x24a690,_0x845f05){const _0x49b3de=_0x3871,_0x56e89b={'lUKmw':function(_0x548034,_0x354e5d){return _0x548034>=_0x354e5d;},'xVMtk':function(_0x3ea83e,_0x25e998){return _0x3ea83e>_0x25e998;},'bEjLJ':function(_0x2c9a87,_0x15a98e){return _0x2c9a87+_0x15a98e;},'cgCRP':function(_0x1e00e6,_0x19ca34){return _0x1e00e6&_0x19ca34;}};if(_0x56e89b['lUKmw'](_0x845f05,_0x24a690['length']))return[0x0,0x0];const _0x199b08=_0x24a690[_0x845f05];let _0x3ee39e=0x1,_0x2e742d=0x80;while(_0x3ee39e<=0x8&&!(_0x199b08&_0x2e742d)){_0x3ee39e++,_0x2e742d>>=0x1;}if(_0x56e89b[_0x49b3de(0x203)](_0x56e89b['bEjLJ'](_0x845f05,_0x3ee39e),_0x24a690[_0x49b3de(0x1fb)]))return[0x0,0x0];let _0x2584f8=_0x56e89b['cgCRP'](_0x199b08,_0x2e742d-0x1);for(let _0x39c223=0x1;_0x39c223<_0x3ee39e;_0x39c223++){_0x2584f8=_0x2584f8*0x100+_0x24a690[_0x56e89b['bEjLJ'](_0x845f05,_0x39c223)];}return[_0x2584f8,_0x3ee39e];}function readId(_0x5650ab,_0x162ce7){const _0x579ec0=_0x3871,_0x39c28c={'SUXMW':function(_0x153f23,_0x7bff09){return _0x153f23>=_0x7bff09;},'OgkZJ':function(_0x3a0d2a,_0x207272){return _0x3a0d2a>=_0x207272;},'fVcgC':function(_0x266f73,_0x15ddea){return _0x266f73+_0x15ddea;},'XVBCd':function(_0x40d84b,_0x2483ea){return _0x40d84b<_0x2483ea;},'IriBt':function(_0x1e96fa,_0x124d96){return _0x1e96fa*_0x124d96;},'IKaDO':function(_0x5709ce,_0x5c1795){return _0x5709ce+_0x5c1795;}};if(_0x162ce7>=_0x5650ab[_0x579ec0(0x1fb)])return[0x0,0x0];const _0x1a6d12=_0x5650ab[_0x162ce7];let _0x52e3d8;if(_0x39c28c['SUXMW'](_0x1a6d12,0x80))_0x52e3d8=0x1;else{if(_0x39c28c[_0x579ec0(0x225)](_0x1a6d12,0x40))_0x52e3d8=0x2;else{if(_0x39c28c['SUXMW'](_0x1a6d12,0x20))_0x52e3d8=0x3;else{if(_0x1a6d12>=0x10)_0x52e3d8=0x4;else return[_0x1a6d12,0x1];}}}if(_0x39c28c[_0x579ec0(0x21e)](_0x162ce7,_0x52e3d8)>_0x5650ab['length'])return[0x0,0x0];let _0x25c90a=0x0;for(let _0x12e3b1=0x0;_0x39c28c[_0x579ec0(0x214)](_0x12e3b1,_0x52e3d8);_0x12e3b1++){_0x25c90a=_0x39c28c['IriBt'](_0x25c90a,0x100)+_0x5650ab[_0x39c28c['IKaDO'](_0x162ce7,_0x12e3b1)];}return[_0x25c90a,_0x52e3d8];}function readUint(_0x378f89,_0x57547f,_0x41126d){const _0x2879af=_0x3871,_0xc8befc={'XMWxo':function(_0x26edd0,_0x3544f4){return _0x26edd0+_0x3544f4;},'WvMrs':function(_0x1838d8,_0x4bdd3d){return _0x1838d8*_0x4bdd3d;}};let _0x337609=0x0;for(let _0x306b20=0x0;_0x306b20<_0x41126d;_0x306b20++){_0x337609=_0xc8befc[_0x2879af(0x1f7)](_0xc8befc['WvMrs'](_0x337609,0x100),_0x378f89[_0xc8befc[_0x2879af(0x1f7)](_0x57547f,_0x306b20)]);}return _0x337609;}function isUnknownSize(_0x5c7901,_0x9980a2){const _0x16edbd=_0x3871,_0x2d35eb={'PRyeH':function(_0x1513bb,_0x5f5817){return _0x1513bb===_0x5f5817;}};return _0x2d35eb[_0x16edbd(0x1fa)](_0x5c7901,Math[_0x16edbd(0x1f2)](0x2,0x7*_0x9980a2)-0x1);}function writeId(_0x4a89e4){const _0x59ff37=_0x3871,_0x27743d={'FJPFW':function(_0x5c3c8c,_0x10d139){return _0x5c3c8c<=_0x10d139;},'tJZRR':function(_0x4ef9c3,_0x4beebd){return _0x4ef9c3&_0x4beebd;},'Kdxpk':function(_0x3174b7,_0x1f8161){return _0x3174b7<=_0x1f8161;},'UMqmp':function(_0x3b1329,_0x400db5){return _0x3b1329>>_0x400db5;},'ikJhd':function(_0x2ec26e,_0x20c2a3){return _0x2ec26e>>_0x20c2a3;},'SvSBw':function(_0x59117a,_0x32949a){return _0x59117a&_0x32949a;}};if(_0x4a89e4<=0xff)return Buffer[_0x59ff37(0x20a)]([_0x4a89e4]);if(_0x27743d['FJPFW'](_0x4a89e4,0xffff))return Buffer['from']([_0x4a89e4>>0x8&0xff,_0x27743d['tJZRR'](_0x4a89e4,0xff)]);if(_0x27743d['Kdxpk'](_0x4a89e4,0xffffff))return Buffer[_0x59ff37(0x20a)]([_0x27743d[_0x59ff37(0x224)](_0x4a89e4,0x10)&0xff,_0x27743d[_0x59ff37(0x22c)](_0x27743d[_0x59ff37(0x1f9)](_0x4a89e4,0x8),0xff),_0x27743d['tJZRR'](_0x4a89e4,0xff)]);return Buffer['from']([_0x27743d['tJZRR'](_0x27743d[_0x59ff37(0x1f9)](_0x4a89e4,0x18),0xff),_0x27743d['tJZRR'](_0x27743d[_0x59ff37(0x224)](_0x4a89e4,0x10),0xff),_0x27743d['SvSBw'](_0x4a89e4>>0x8,0xff),_0x4a89e4&0xff]);}function writeVint(_0x4fc9eb,_0x778436){const _0x44db45=_0x3871,_0x1e5267={'ZBZRa':function(_0x13eea4,_0x59376a){return _0x13eea4<_0x59376a;},'AcOSj':function(_0x46c40d,_0x243109){return _0x46c40d-_0x243109;},'taOcx':function(_0x536a42,_0x341262){return _0x536a42-_0x341262;},'ilTKk':function(_0xc41dd9,_0x17f9cf){return _0xc41dd9>=_0x17f9cf;},'YTjWk':function(_0x23f57f,_0x3ff27f){return _0x23f57f<<_0x3ff27f;}};let _0x529a4c=_0x778436||0x1;while(_0x1e5267[_0x44db45(0x1ff)](_0x1e5267[_0x44db45(0x21f)](Math[_0x44db45(0x1f2)](0x2,0x7*_0x529a4c),0x2),_0x4fc9eb))_0x529a4c++;const _0x398b94=Buffer[_0x44db45(0x219)](_0x529a4c);for(let _0xe312f9=_0x1e5267['taOcx'](_0x529a4c,0x1);_0x1e5267['ilTKk'](_0xe312f9,0x0);_0xe312f9--){_0x398b94[_0xe312f9]=_0x4fc9eb&0xff,_0x4fc9eb=Math[_0x44db45(0x22d)](_0x4fc9eb/0x100);}return _0x398b94[0x0]|=_0x1e5267[_0x44db45(0x22f)](0x1,0x8-_0x529a4c),_0x398b94;}function _0x3871(_0x3a3784,_0x5e8247){_0x3a3784=_0x3a3784-0x1f1;const _0x4dec60=_0x4dec();let _0x3871ce=_0x4dec60[_0x3a3784];return _0x3871ce;}function _0x4dec(){const _0x2546ee=['rmhjP','495KOfiiQ','vHxPa','147230nrDcZO','log','fWOIL','XVBCd','zlfNF','VTflW','7117578vthjZJ','tuDWw','alloc','2911698sywLMJ','YSdlH','fixWebmDuration.js','2178188AfQOgn','fVcgC','AcOSj','eTMJy','UhsxU','jFmyP','fixWebmDuration.ts','UMqmp','OgkZJ','FwYXC','gumRB','dataSize','gAQUt','pdQNM','dataOffset','tJZRR','floor','idLen','YTjWk','concat','625lBMFEo','JeLAw','pow','writeDoubleBE','92681DhAMOx','argv','offset','XMWxo','Fixed:\x20','ikJhd','PRyeH','length','endsWith','IYsQX','104bqKuOC','ZBZRa','kTeYp','348551BqMBHx','OOYSo','xVMtk','error','slice','cCBJJ','KMTPC','4188AFDOpB','Could\x20not\x20find\x20Info\x20element','from','AgwtK','24NldZMj','sizeLen'];_0x4dec=function(){return _0x2546ee;};return _0x4dec();}function writeFloat64(_0x4bc440){const _0x255825=_0x3871,_0x574339=Buffer[_0x255825(0x219)](0x8);return _0x574339[_0x255825(0x1f3)](_0x4bc440,0x0),_0x574339;}function writeVoid(_0x4d4bed){const _0x498cc5=_0x3871,_0x411edd={'IYsQX':function(_0x1be8fd,_0xd68c7e){return _0x1be8fd-_0xd68c7e;},'SLeFy':function(_0x259fb7,_0x1482b6){return _0x259fb7-_0x1482b6;},'YSdlH':function(_0x3fe906,_0x58f68f){return _0x3fe906-_0x58f68f;},'ojKIo':function(_0x2bff15,_0x112c08,_0x20f64a){return _0x2bff15(_0x112c08,_0x20f64a);}};for(let _0x15dedc=0x1;_0x15dedc<=0x8;_0x15dedc++){const _0x18b5fb=_0x411edd[_0x498cc5(0x1fd)](_0x411edd['SLeFy'](_0x4d4bed,0x1),_0x15dedc);if(_0x18b5fb>=0x0&&_0x18b5fb<=_0x411edd[_0x498cc5(0x21b)](Math[_0x498cc5(0x1f2)](0x2,0x7*_0x15dedc),0x2))return Buffer['concat']([Buffer['from']([ID_VOID]),_0x411edd['ojKIo'](writeVint,_0x18b5fb,_0x15dedc),Buffer[_0x498cc5(0x219)](_0x18b5fb)]);}return Buffer['alloc'](0x0);}function findElement(_0x57345d,_0x20c68a,_0x2140e5,_0x2aedfc){const _0xe9d971=_0x3871,_0x5cd003={'oqcmw':function(_0x3a596f,_0x2e9260){return _0x3a596f<_0x2e9260;},'fWOIL':function(_0x2d3383,_0x5c3acf,_0x597a65){return _0x2d3383(_0x5c3acf,_0x597a65);},'oKUwe':function(_0x161041,_0xc99c20){return _0x161041===_0xc99c20;},'pgmct':function(_0x55b3af,_0xf72bd9){return _0x55b3af+_0xf72bd9;},'JWEpa':function(_0x1b434f,_0x37fad5){return _0x1b434f+_0x37fad5;},'XtdoO':function(_0x1131fe,_0xf05115,_0x1e3d6f){return _0x1131fe(_0xf05115,_0x1e3d6f);},'jFmyP':function(_0x393cfc,_0x503b1f){return _0x393cfc+_0x503b1f;}};let _0x1d1dd6=_0x20c68a;while(_0x5cd003['oqcmw'](_0x1d1dd6,_0x2140e5)){const [_0x18df05,_0x38ae0a]=readId(_0x57345d,_0x1d1dd6),[_0x2d7328,_0x3e5d7d]=_0x5cd003[_0xe9d971(0x213)](readVint,_0x57345d,_0x1d1dd6+_0x38ae0a);if(_0x5cd003['oKUwe'](_0x18df05,_0x2aedfc))return{'offset':_0x1d1dd6,'idLen':_0x38ae0a,'sizeLen':_0x3e5d7d,'dataSize':_0x2d7328,'dataOffset':_0x5cd003['pgmct'](_0x5cd003['JWEpa'](_0x1d1dd6,_0x38ae0a),_0x3e5d7d)};if(_0x5cd003['XtdoO'](isUnknownSize,_0x2d7328,_0x3e5d7d))break;_0x1d1dd6+=_0x5cd003[_0xe9d971(0x222)](_0x38ae0a,_0x3e5d7d)+_0x2d7328;}return null;}function computeDurationMs(_0x288d2b,_0x5f3354){const _0x5e8046=_0x3871,_0x109430={'BWUiM':function(_0x451939,_0x13ca62){return _0x451939===_0x13ca62;},'JeLAw':function(_0x4ab81b,_0x45c292,_0x3334cb){return _0x4ab81b(_0x45c292,_0x3334cb);},'ilyyq':function(_0x3d89a4,_0x4271f8,_0x4c5c32){return _0x3d89a4(_0x4271f8,_0x4c5c32);},'vLvPt':function(_0x3e9d33,_0x599a37){return _0x3e9d33<_0x599a37;},'gAQUt':function(_0x572f54,_0x1d9ba1,_0x270422){return _0x572f54(_0x1d9ba1,_0x270422);},'UhsxU':function(_0x589929,_0x552058){return _0x589929+_0x552058;},'OOYSo':function(_0x39f091,_0x48e7bf){return _0x39f091+_0x48e7bf;},'iogcY':function(_0x363dd1,_0x52f0c5){return _0x363dd1===_0x52f0c5;},'FtdlN':function(_0x234e3f,_0x1c472e){return _0x234e3f>=_0x1c472e;},'NlkaX':function(_0xd2bb42,_0x4484e2){return _0xd2bb42/_0x4484e2;},'gumRB':function(_0x9efc70,_0x58101c){return _0x9efc70*_0x58101c;},'kTeYp':function(_0xb61849,_0x57b4da){return _0xb61849>_0x57b4da;},'pdQNM':function(_0x133725,_0x19d298,_0x528275){return _0x133725(_0x19d298,_0x528275);},'WVjnK':function(_0x43a0e9,_0x1aa692){return _0x43a0e9+_0x1aa692;}};let _0x3e2d4e=0x0;const _0x1d5a4d=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x51e6e7=_0x288d2b['indexOf'](_0x1d5a4d);if(_0x109430['BWUiM'](_0x51e6e7,-0x1))return 0x0;while(_0x51e6e7<_0x288d2b['length']){const [_0x6cdce2,_0x23d7c7]=readId(_0x288d2b,_0x51e6e7);if(_0x6cdce2!==ID_CLUSTER)break;const [_0x478566,_0x538f99]=readVint(_0x288d2b,_0x51e6e7+_0x23d7c7),_0x59761f=_0x51e6e7+_0x23d7c7+_0x538f99,_0x58cded=_0x109430[_0x5e8046(0x1f1)](isUnknownSize,_0x478566,_0x538f99);let _0x3d4d6f;if(_0x58cded){let _0x2579e4=_0x59761f;while(_0x2579e4<_0x288d2b[_0x5e8046(0x1fb)]-0x4){const [_0x38eabf,_0x5e28be]=_0x109430['ilyyq'](readId,_0x288d2b,_0x2579e4);if(_0x38eabf===ID_CLUSTER){_0x3d4d6f=_0x2579e4;break;}const [_0x4d1215,_0x319e76]=_0x109430[_0x5e8046(0x1f1)](readVint,_0x288d2b,_0x2579e4+_0x5e28be);if(_0x109430['ilyyq'](isUnknownSize,_0x4d1215,_0x319e76)){_0x3d4d6f=_0x288d2b[_0x5e8046(0x1fb)];break;}_0x2579e4+=_0x5e28be+_0x319e76+_0x4d1215;}_0x3d4d6f??=_0x288d2b[_0x5e8046(0x1fb)];}else _0x3d4d6f=_0x59761f+_0x478566;let _0x464247=0x0,_0x7548ea=_0x59761f;while(_0x109430['vLvPt'](_0x7548ea,_0x3d4d6f)){const [_0x227d2d,_0x48e80f]=_0x109430[_0x5e8046(0x229)](readId,_0x288d2b,_0x7548ea),[_0x497e0e,_0x57009b]=readVint(_0x288d2b,_0x109430['UhsxU'](_0x7548ea,_0x48e80f));if(_0x227d2d===ID_TIMESTAMP)_0x464247=readUint(_0x288d2b,_0x109430[_0x5e8046(0x221)](_0x109430[_0x5e8046(0x202)](_0x7548ea,_0x48e80f),_0x57009b),_0x497e0e);else{if(_0x109430['iogcY'](_0x227d2d,ID_SIMPLE_BLOCK)&&_0x109430['FtdlN'](_0x497e0e,0x4)){const _0x3b5a61=_0x7548ea+_0x48e80f+_0x57009b,[,_0x186502]=_0x109430['ilyyq'](readVint,_0x288d2b,_0x3b5a61),_0x3411d8=_0x288d2b['readInt16BE'](_0x3b5a61+_0x186502),_0x29117b=_0x109430['NlkaX'](_0x109430[_0x5e8046(0x227)](_0x109430['UhsxU'](_0x464247,_0x3411d8),_0x5f3354),0xf4240);_0x109430[_0x5e8046(0x200)](_0x29117b,_0x3e2d4e)&&(_0x3e2d4e=_0x29117b);}else{if(_0x227d2d===ID_CLUSTER)break;}}if(_0x109430[_0x5e8046(0x22a)](isUnknownSize,_0x497e0e,_0x57009b))break;_0x7548ea+=_0x109430['OOYSo'](_0x109430['WVjnK'](_0x48e80f,_0x57009b),_0x497e0e);}_0x51e6e7=_0x3d4d6f;}return _0x3e2d4e;}export function fixWebmDuration(_0x22096d,_0x20ae89){const _0x4de240=_0x3871,_0x1185a4={'wLOrM':function(_0x399ffe,_0x30b654){return _0x399ffe+_0x30b654;},'VTflW':function(_0x4b2160,_0x131330){return _0x4b2160+_0x131330;},'AgwtK':function(_0x5ddf63,_0x16285f,_0x54fa68){return _0x5ddf63(_0x16285f,_0x54fa68);},'wGGnt':function(_0x3213f3,_0xb6e4dc){return _0x3213f3!==_0xb6e4dc;},'zlfNF':function(_0x5f6bca,_0x327cf8){return _0x5f6bca+_0x327cf8;},'oStkz':function(_0xc62098,_0x24094d,_0x33bfd5){return _0xc62098(_0x24094d,_0x33bfd5);},'tuDWw':function(_0x4df073,_0x1a5e29){return _0x4df073+_0x1a5e29;},'FwYXC':function(_0x19d64d,_0x43da2d){return _0x19d64d+_0x43da2d;},'AtIzC':function(_0x150f04,_0x3da5a3){return _0x150f04+_0x3da5a3;},'ffEVF':function(_0xb8811f,_0xfd9ab1){return _0xb8811f+_0xfd9ab1;},'QbFuC':function(_0x5ccc39,_0x439658){return _0x5ccc39===_0x439658;},'GiOWL':function(_0x59d5c3,_0x35f355){return _0x59d5c3+_0x35f355;},'cCBJJ':function(_0xd00dc8,_0x152b0c){return _0xd00dc8+_0x152b0c;},'KzKLP':_0x4de240(0x209),'UlMZY':function(_0x3b7fc5,_0xceab0){return _0x3b7fc5/_0xceab0;},'izqFd':function(_0x37d91e,_0x133e3f){return _0x37d91e(_0x133e3f);},'ezpsO':function(_0x27cd04,_0x426f95){return _0x27cd04<_0x426f95;},'rmhjP':function(_0x460665,_0x76b826){return _0x460665(_0x76b826);},'vHxPa':function(_0x31bc05,_0x43eb3a,_0x1a7a16){return _0x31bc05(_0x43eb3a,_0x1a7a16);}},_0x3b7c74=readFileSync(_0x22096d);let _0x562dcd=0x0;const [_0x6aeaff,_0xfff849]=readId(_0x3b7c74,_0x562dcd),[_0x46aca7,_0x4cc87b]=readVint(_0x3b7c74,_0x562dcd+_0xfff849);_0x562dcd+=_0x1185a4['wLOrM'](_0x1185a4[_0x4de240(0x216)](_0xfff849,_0x4cc87b),_0x46aca7);const [_0x161509,_0x3d31d2]=_0x1185a4['AgwtK'](readId,_0x3b7c74,_0x562dcd);if(_0x1185a4['wGGnt'](_0x161509,ID_SEGMENT))return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x41345b]=readVint(_0x3b7c74,_0x1185a4[_0x4de240(0x215)](_0x562dcd,_0x3d31d2)),_0x536815=_0x562dcd+_0x3d31d2+_0x41345b;let _0x790973=_0x536815;const _0x3bc8ab=Math['min'](_0x3b7c74[_0x4de240(0x1fb)],_0x536815+0x2710);let _0xe7e32=null,_0xd01183=null;while(_0x790973<_0x3bc8ab){const [_0x4739ac,_0x3ff6c9]=_0x1185a4[_0x4de240(0x20b)](readId,_0x3b7c74,_0x790973),[_0x36ca0b,_0x3be6fc]=_0x1185a4['oStkz'](readVint,_0x3b7c74,_0x1185a4[_0x4de240(0x218)](_0x790973,_0x3ff6c9));_0x4739ac===ID_VOID&&!_0xe7e32&&(_0xe7e32={'offset':_0x790973,'idLen':_0x3ff6c9,'sizeLen':_0x3be6fc,'dataSize':_0x36ca0b,'dataOffset':_0x1185a4[_0x4de240(0x226)](_0x1185a4['AtIzC'](_0x790973,_0x3ff6c9),_0x3be6fc)});if(_0x4739ac===ID_INFO){_0xd01183={'offset':_0x790973,'idLen':_0x3ff6c9,'sizeLen':_0x3be6fc,'dataSize':_0x36ca0b,'dataOffset':_0x1185a4['ffEVF'](_0x790973+_0x3ff6c9,_0x3be6fc)};break;}if(_0x1185a4['QbFuC'](_0x4739ac,ID_CLUSTER))break;if(isUnknownSize(_0x36ca0b,_0x3be6fc))break;_0x790973+=_0x1185a4['GiOWL'](_0x1185a4[_0x4de240(0x206)](_0x3ff6c9,_0x3be6fc),_0x36ca0b);}if(!_0xd01183)return console['error'](_0x1185a4['KzKLP']),![];const _0x3a5b73=findElement(_0x3b7c74,_0xd01183[_0x4de240(0x22b)],_0x1185a4[_0x4de240(0x215)](_0xd01183[_0x4de240(0x22b)],_0xd01183[_0x4de240(0x228)]),ID_DURATION);if(_0x3a5b73)return![];const _0x2e7825=findElement(_0x3b7c74,_0xd01183[_0x4de240(0x22b)],_0xd01183[_0x4de240(0x22b)]+_0xd01183[_0x4de240(0x228)],ID_TIMESTAMP_SCALE);let _0x407fe9=0xf4240;_0x2e7825&&(_0x407fe9=readUint(_0x3b7c74,_0x2e7825['dataOffset'],_0x2e7825[_0x4de240(0x228)]));const _0x2ac13d=computeDurationMs(_0x3b7c74,_0x407fe9);if(_0x2ac13d<=0x0)return console[_0x4de240(0x204)]('Could\x20not\x20compute\x20duration'),![];const _0xa2af16=_0x1185a4['UlMZY'](_0x2ac13d*0xf4240,_0x407fe9),_0x3490cd=Buffer[_0x4de240(0x230)]([writeId(ID_DURATION),_0x1185a4['izqFd'](writeVint,0x8),writeFloat64(_0xa2af16)]),_0xdb2fe8=_0x3490cd[_0x4de240(0x1fb)];if(!_0xe7e32||_0xe7e32[_0x4de240(0x1f6)]<_0xd01183['offset']){if(_0xe7e32){const _0x2b1f79=_0x1185a4['FwYXC'](_0x1185a4['FwYXC'](_0xe7e32[_0x4de240(0x22e)],_0xe7e32['sizeLen']),_0xe7e32['dataSize']),_0x317f68=_0x2b1f79-_0xdb2fe8;if(_0x1185a4['ezpsO'](_0x317f68,0x2))return rewriteFile(_0x3b7c74,_0xd01183,_0x3490cd,_0x407fe9,_0x2ac13d,_0x20ae89);const _0x43d7bb=_0xd01183['dataSize']+_0xdb2fe8,_0x308315=Buffer['concat']([_0x1185a4[_0x4de240(0x20e)](writeId,ID_INFO),writeVint(_0x43d7bb,_0xd01183[_0x4de240(0x20d)])]),_0x2fcf59=_0x3b7c74[_0x4de240(0x205)](_0xd01183[_0x4de240(0x22b)],_0x1185a4['tuDWw'](_0xd01183['dataOffset'],_0xd01183[_0x4de240(0x228)])),_0x134afe=_0x1185a4['izqFd'](writeVoid,_0x317f68),_0x27a115=_0x3b7c74['slice'](0x0,_0xe7e32[_0x4de240(0x1f6)]),_0x34b665=_0x3b7c74['slice'](_0xd01183[_0x4de240(0x22b)]+_0xd01183[_0x4de240(0x228)]);return _0x1185a4[_0x4de240(0x210)](writeFileSync,_0x20ae89,Buffer['concat']([_0x27a115,_0x134afe,_0x308315,_0x2fcf59,_0x3490cd,_0x34b665])),!![];}}return rewriteFile(_0x3b7c74,_0xd01183,_0x3490cd,_0x407fe9,_0x2ac13d,_0x20ae89);}function rewriteFile(_0x2d3bc7,_0xcb43af,_0xd26638,_0x2d22da,_0x580cbd,_0x11f49a){const _0x19a3d1=_0x3871,_0x5bf5a3={'KMTPC':function(_0x5e73cd,_0x318873){return _0x5e73cd(_0x318873);},'YoMZR':function(_0x48dfee,_0x364676){return _0x48dfee(_0x364676);},'eTMJy':function(_0x3dd34a,_0x394246){return _0x3dd34a+_0x394246;}},_0x4510b4=_0xcb43af[_0x19a3d1(0x228)]+_0xd26638['length'],_0x3b7a53=Buffer['concat']([_0x5bf5a3[_0x19a3d1(0x207)](writeId,ID_INFO),_0x5bf5a3['YoMZR'](writeVint,_0x4510b4)]),_0x2094b9=_0xcb43af['idLen']+_0xcb43af[_0x19a3d1(0x20d)],_0x45f84a=_0x2d3bc7['slice'](0x0,_0xcb43af['offset']),_0x417e3e=_0x2d3bc7[_0x19a3d1(0x205)](_0xcb43af[_0x19a3d1(0x22b)],_0x5bf5a3[_0x19a3d1(0x220)](_0xcb43af['dataOffset'],_0xcb43af['dataSize'])),_0x404638=_0x2d3bc7[_0x19a3d1(0x205)](_0xcb43af['offset']+_0x2094b9+_0xcb43af['dataSize']);return writeFileSync(_0x11f49a,Buffer[_0x19a3d1(0x230)]([_0x45f84a,_0x3b7a53,_0x417e3e,_0xd26638,_0x404638])),!![];}if(process[_0xd29f6e(0x1f5)][0x1]?.['endsWith'](_0xd29f6e(0x223))||process[_0xd29f6e(0x1f5)][0x1]?.[_0xd29f6e(0x1fc)](_0xd29f6e(0x21c))){const input=process[_0xd29f6e(0x1f5)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0xd29f6e(0x204)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0xd29f6e(0x212)](_0xd29f6e(0x1f8)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x11e1ec=_0x3753;(function(_0x147b40,_0x325b4b){const _0x291315=_0x3753,_0x752173=_0x147b40();while(!![]){try{const _0x1935b1=parseInt(_0x291315(0x170))/0x1+parseInt(_0x291315(0x145))/0x2*(-parseInt(_0x291315(0x16d))/0x3)+-parseInt(_0x291315(0x17d))/0x4*(-parseInt(_0x291315(0x180))/0x5)+parseInt(_0x291315(0x14c))/0x6+-parseInt(_0x291315(0x168))/0x7+-parseInt(_0x291315(0x14f))/0x8*(-parseInt(_0x291315(0x151))/0x9)+-parseInt(_0x291315(0x173))/0xa;if(_0x1935b1===_0x325b4b)break;else _0x752173['push'](_0x752173['shift']());}catch(_0x5e0740){_0x752173['push'](_0x752173['shift']());}}}(_0x4428,0xaf7ed));import{readFileSync,writeFileSync}from'fs';function _0x3753(_0x24a8ac,_0x1d8316){_0x24a8ac=_0x24a8ac-0x145;const _0x44285c=_0x4428();let _0x375341=_0x44285c[_0x24a8ac];return _0x375341;}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(_0x2cb846,_0x10cdeb){const _0x43b1af=_0x3753,_0x17995a={'EZqDx':function(_0xb8513b,_0x42a07a){return _0xb8513b&_0x42a07a;},'yqExo':function(_0x33d5a5,_0x59b4a0){return _0x33d5a5+_0x59b4a0;}};if(_0x10cdeb>=_0x2cb846[_0x43b1af(0x158)])return[0x0,0x0];const _0x429cdd=_0x2cb846[_0x10cdeb];let _0x52b270=0x1,_0x57f433=0x80;while(_0x52b270<=0x8&&!_0x17995a['EZqDx'](_0x429cdd,_0x57f433)){_0x52b270++,_0x57f433>>=0x1;}if(_0x10cdeb+_0x52b270>_0x2cb846['length'])return[0x0,0x0];let _0x1f8410=_0x429cdd&_0x57f433-0x1;for(let _0x439a8d=0x1;_0x439a8d<_0x52b270;_0x439a8d++){_0x1f8410=_0x1f8410*0x100+_0x2cb846[_0x17995a['yqExo'](_0x10cdeb,_0x439a8d)];}return[_0x1f8410,_0x52b270];}function readId(_0x2782bf,_0xe88d24){const _0xab287d=_0x3753,_0x3250a4={'gmDkW':function(_0x2810a6,_0x24784a){return _0x2810a6>=_0x24784a;},'emDFg':function(_0x40772d,_0x482045){return _0x40772d<_0x482045;},'fhVtA':function(_0x4f88f3,_0xee613f){return _0x4f88f3+_0xee613f;}};if(_0xe88d24>=_0x2782bf[_0xab287d(0x158)])return[0x0,0x0];const _0x452349=_0x2782bf[_0xe88d24];let _0x17e794;if(_0x3250a4[_0xab287d(0x16b)](_0x452349,0x80))_0x17e794=0x1;else{if(_0x452349>=0x40)_0x17e794=0x2;else{if(_0x452349>=0x20)_0x17e794=0x3;else{if(_0x452349>=0x10)_0x17e794=0x4;else return[_0x452349,0x1];}}}if(_0xe88d24+_0x17e794>_0x2782bf['length'])return[0x0,0x0];let _0x1cfb27=0x0;for(let _0x58c38c=0x0;_0x3250a4[_0xab287d(0x176)](_0x58c38c,_0x17e794);_0x58c38c++){_0x1cfb27=_0x3250a4[_0xab287d(0x175)](_0x1cfb27*0x100,_0x2782bf[_0x3250a4[_0xab287d(0x175)](_0xe88d24,_0x58c38c)]);}return[_0x1cfb27,_0x17e794];}function readUint(_0x42a4c8,_0x301f3f,_0x3e863c){const _0x29f4a0=_0x3753,_0x3f2f02={'GvTcI':function(_0x5c9c53,_0x384241){return _0x5c9c53+_0x384241;},'NNPdP':function(_0x7ee6e5,_0x3df648){return _0x7ee6e5*_0x3df648;}};let _0x323f93=0x0;for(let _0x30a7a3=0x0;_0x30a7a3<_0x3e863c;_0x30a7a3++){_0x323f93=_0x3f2f02[_0x29f4a0(0x150)](_0x3f2f02['NNPdP'](_0x323f93,0x100),_0x42a4c8[_0x301f3f+_0x30a7a3]);}return _0x323f93;}function isUnknownSize(_0x2ceec5,_0x18d9f0){const _0xb98f1f=_0x3753,_0x29dcc3={'slKHg':function(_0x1af1f6,_0x15241b){return _0x1af1f6*_0x15241b;}};return _0x2ceec5===Math['pow'](0x2,_0x29dcc3[_0xb98f1f(0x147)](0x7,_0x18d9f0))-0x1;}function writeId(_0x533032){const _0xfe1a2d=_0x3753,_0x34baa9={'KMnVd':function(_0x1bcbc3,_0x15cdcc){return _0x1bcbc3<=_0x15cdcc;},'iGzyu':function(_0x109bef,_0x351af5){return _0x109bef>>_0x351af5;},'Srdzq':function(_0x4dd9f1,_0x273224){return _0x4dd9f1>>_0x273224;},'PyEVs':function(_0x552989,_0x5f76a0){return _0x552989&_0x5f76a0;},'thoHN':function(_0x3375aa,_0x1cb00d){return _0x3375aa>>_0x1cb00d;},'cuemC':function(_0x2ff186,_0x556f73){return _0x2ff186&_0x556f73;}};if(_0x34baa9[_0xfe1a2d(0x155)](_0x533032,0xff))return Buffer[_0xfe1a2d(0x152)]([_0x533032]);if(_0x34baa9[_0xfe1a2d(0x155)](_0x533032,0xffff))return Buffer['from']([_0x34baa9[_0xfe1a2d(0x148)](_0x533032,0x8)&0xff,_0x533032&0xff]);if(_0x533032<=0xffffff)return Buffer[_0xfe1a2d(0x152)]([_0x34baa9['Srdzq'](_0x533032,0x10)&0xff,_0x34baa9[_0xfe1a2d(0x15b)](_0x533032>>0x8,0xff),_0x533032&0xff]);return Buffer[_0xfe1a2d(0x152)]([_0x533032>>0x18&0xff,_0x34baa9[_0xfe1a2d(0x15b)](_0x34baa9['thoHN'](_0x533032,0x10),0xff),_0x34baa9['cuemC'](_0x533032>>0x8,0xff),_0x533032&0xff]);}function writeVint(_0x294789,_0x5819c1){const _0xaf8048=_0x3753,_0x5eb583={'JlZxE':function(_0x547280,_0xc552d2){return _0x547280||_0xc552d2;},'SYJxH':function(_0x14f647,_0x447ebd){return _0x14f647-_0x447ebd;},'pdudS':function(_0x5494db,_0x3b1d73){return _0x5494db*_0x3b1d73;},'EAsAz':function(_0x85ef1b,_0x4e49a1){return _0x85ef1b<<_0x4e49a1;}};let _0x250f4b=_0x5eb583[_0xaf8048(0x153)](_0x5819c1,0x1);while(_0x5eb583['SYJxH'](Math['pow'](0x2,_0x5eb583[_0xaf8048(0x15e)](0x7,_0x250f4b)),0x2)<_0x294789)_0x250f4b++;const _0x51efe4=Buffer[_0xaf8048(0x14b)](_0x250f4b);for(let _0x10dd83=_0x250f4b-0x1;_0x10dd83>=0x0;_0x10dd83--){_0x51efe4[_0x10dd83]=_0x294789&0xff,_0x294789=Math['floor'](_0x294789/0x100);}return _0x51efe4[0x0]|=_0x5eb583['EAsAz'](0x1,_0x5eb583['SYJxH'](0x8,_0x250f4b)),_0x51efe4;}function writeFloat64(_0x3ff9a2){const _0x3a3186=Buffer['alloc'](0x8);return _0x3a3186['writeDoubleBE'](_0x3ff9a2,0x0),_0x3a3186;}function writeVoid(_0x7ba46c){const _0x14e447=_0x3753,_0x1aed7f={'skMbb':function(_0x473181,_0x4796bc){return _0x473181<=_0x4796bc;},'HmsOR':function(_0x5e4614,_0x1ecf64){return _0x5e4614>=_0x1ecf64;},'lOZJO':function(_0x6b62b7,_0x617368){return _0x6b62b7<=_0x617368;},'smwOw':function(_0x190947,_0x19b0da){return _0x190947-_0x19b0da;}};for(let _0x52d8e5=0x1;_0x1aed7f['skMbb'](_0x52d8e5,0x8);_0x52d8e5++){const _0x5ce02f=_0x7ba46c-0x1-_0x52d8e5;if(_0x1aed7f['HmsOR'](_0x5ce02f,0x0)&&_0x1aed7f[_0x14e447(0x17b)](_0x5ce02f,_0x1aed7f['smwOw'](Math['pow'](0x2,0x7*_0x52d8e5),0x2)))return Buffer[_0x14e447(0x161)]([Buffer[_0x14e447(0x152)]([ID_VOID]),writeVint(_0x5ce02f,_0x52d8e5),Buffer[_0x14e447(0x14b)](_0x5ce02f)]);}return Buffer['alloc'](0x0);}function findElement(_0x10a62a,_0xbf6e36,_0x5ac7aa,_0x1d2ee7){const _0x5ceb3a=_0x3753,_0x456357={'gatsB':function(_0x2e8c03,_0x5e6ccb){return _0x2e8c03<_0x5e6ccb;},'IXykr':function(_0xfb4e2b,_0x5c9c20,_0x1fa2cd){return _0xfb4e2b(_0x5c9c20,_0x1fa2cd);},'vgcZY':function(_0x2aa4a6,_0x4dd1ce,_0x2f6511){return _0x2aa4a6(_0x4dd1ce,_0x2f6511);},'dwfGT':function(_0x5d2a57,_0x4f2cb5){return _0x5d2a57===_0x4f2cb5;},'tGZas':function(_0x4a9be7,_0x282bd9){return _0x4a9be7+_0x282bd9;},'fnjKL':function(_0x342ba4,_0x96a06e){return _0x342ba4+_0x96a06e;},'TlOrt':function(_0x1da356,_0x3c221f,_0x182de2){return _0x1da356(_0x3c221f,_0x182de2);}};let _0x2d58a2=_0xbf6e36;while(_0x456357['gatsB'](_0x2d58a2,_0x5ac7aa)){const [_0x142cfc,_0x37da06]=_0x456357['IXykr'](readId,_0x10a62a,_0x2d58a2),[_0x2da0e4,_0x3f5a71]=_0x456357[_0x5ceb3a(0x17e)](readVint,_0x10a62a,_0x2d58a2+_0x37da06);if(_0x456357[_0x5ceb3a(0x16f)](_0x142cfc,_0x1d2ee7))return{'offset':_0x2d58a2,'idLen':_0x37da06,'sizeLen':_0x3f5a71,'dataSize':_0x2da0e4,'dataOffset':_0x456357[_0x5ceb3a(0x164)](_0x456357['fnjKL'](_0x2d58a2,_0x37da06),_0x3f5a71)};if(_0x456357[_0x5ceb3a(0x14d)](isUnknownSize,_0x2da0e4,_0x3f5a71))break;_0x2d58a2+=_0x456357[_0x5ceb3a(0x164)](_0x37da06,_0x3f5a71)+_0x2da0e4;}return null;}function computeDurationMs(_0x58b594,_0x129acc){const _0x364739=_0x3753,_0x3734f8={'lGeGE':function(_0x310efa,_0x3646b2,_0x17a30d){return _0x310efa(_0x3646b2,_0x17a30d);},'qIMKt':function(_0x59eebf,_0x181d65){return _0x59eebf!==_0x181d65;},'jtunS':function(_0x353d8a,_0x2b39b0){return _0x353d8a+_0x2b39b0;},'pNUip':function(_0x57d798,_0x2b5a96){return _0x57d798+_0x2b5a96;},'MNLWM':function(_0x198f95,_0x3ba6f8){return _0x198f95===_0x3ba6f8;},'uhAgI':function(_0x39100d,_0x563c6a,_0x186fe9){return _0x39100d(_0x563c6a,_0x186fe9);},'EowSa':function(_0xc52729,_0xbc615){return _0xc52729+_0xbc615;},'jRupQ':function(_0x7f49b3,_0x139ba3,_0x2498b5){return _0x7f49b3(_0x139ba3,_0x2498b5);},'rQFFr':function(_0x19a5d7,_0x4b7ed3){return _0x19a5d7+_0x4b7ed3;},'DhNfg':function(_0x564fc0,_0x1ac362){return _0x564fc0+_0x1ac362;},'JDfOE':function(_0x19ebca,_0x2e9923){return _0x19ebca+_0x2e9923;}};let _0x5e59ec=0x0;const _0x330921=Buffer[_0x364739(0x152)]([0x1f,0x43,0xb6,0x75]);let _0xac4082=_0x58b594['indexOf'](_0x330921);if(_0xac4082===-0x1)return 0x0;while(_0xac4082<_0x58b594['length']){const [_0x507559,_0x27d4a6]=_0x3734f8[_0x364739(0x174)](readId,_0x58b594,_0xac4082);if(_0x3734f8[_0x364739(0x14a)](_0x507559,ID_CLUSTER))break;const [_0x16ff92,_0x16d783]=readVint(_0x58b594,_0x3734f8[_0x364739(0x15c)](_0xac4082,_0x27d4a6)),_0x240e08=_0x3734f8['pNUip'](_0xac4082+_0x27d4a6,_0x16d783),_0x3d46f5=isUnknownSize(_0x16ff92,_0x16d783);let _0x25f6be;if(_0x3d46f5){let _0x52fe92=_0x240e08;while(_0x52fe92<_0x58b594['length']-0x4){const [_0x482306,_0x409c46]=_0x3734f8['lGeGE'](readId,_0x58b594,_0x52fe92);if(_0x3734f8[_0x364739(0x165)](_0x482306,ID_CLUSTER)){_0x25f6be=_0x52fe92;break;}const [_0x698ebb,_0x1549af]=_0x3734f8['uhAgI'](readVint,_0x58b594,_0x52fe92+_0x409c46);if(isUnknownSize(_0x698ebb,_0x1549af)){_0x25f6be=_0x58b594[_0x364739(0x158)];break;}_0x52fe92+=_0x3734f8['jtunS'](_0x3734f8['pNUip'](_0x409c46,_0x1549af),_0x698ebb);}_0x25f6be??=_0x58b594['length'];}else _0x25f6be=_0x3734f8['EowSa'](_0x240e08,_0x16ff92);let _0x29d1e3=0x0,_0x2aef45=_0x240e08;while(_0x2aef45<_0x25f6be){const [_0xe209af,_0x4a2e3c]=readId(_0x58b594,_0x2aef45),[_0x233858,_0x2fae89]=_0x3734f8['jRupQ'](readVint,_0x58b594,_0x3734f8[_0x364739(0x166)](_0x2aef45,_0x4a2e3c));if(_0x3734f8['MNLWM'](_0xe209af,ID_TIMESTAMP))_0x29d1e3=readUint(_0x58b594,_0x3734f8[_0x364739(0x179)](_0x2aef45,_0x4a2e3c)+_0x2fae89,_0x233858);else{if(_0xe209af===ID_SIMPLE_BLOCK&&_0x233858>=0x4){const _0x5d3fd3=_0x3734f8['DhNfg'](_0x3734f8['JDfOE'](_0x2aef45,_0x4a2e3c),_0x2fae89),[,_0x2f2997]=readVint(_0x58b594,_0x5d3fd3),_0x2f3743=_0x58b594[_0x364739(0x167)](_0x3734f8[_0x364739(0x162)](_0x5d3fd3,_0x2f2997)),_0x5023a=(_0x29d1e3+_0x2f3743)*_0x129acc/0xf4240;_0x5023a>_0x5e59ec&&(_0x5e59ec=_0x5023a);}else{if(_0xe209af===ID_CLUSTER)break;}}if(isUnknownSize(_0x233858,_0x2fae89))break;_0x2aef45+=_0x4a2e3c+_0x2fae89+_0x233858;}_0xac4082=_0x25f6be;}return _0x5e59ec;}export function fixWebmDuration(_0x119f0f,_0xe51951){const _0x315d9a=_0x3753,_0xec5169={'rKUzd':function(_0x3bc059,_0x383656){return _0x3bc059(_0x383656);},'VWuaU':function(_0x1e17f5,_0x3491d3,_0x1b927e){return _0x1e17f5(_0x3491d3,_0x1b927e);},'xNffn':'Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','RcyWY':function(_0x21c4a1,_0x2d120a,_0x5c1b02){return _0x21c4a1(_0x2d120a,_0x5c1b02);},'GAndW':function(_0x3eaf75,_0x1a3975){return _0x3eaf75+_0x1a3975;},'drWSq':function(_0x5c7a7d,_0x5cc164){return _0x5c7a7d<_0x5cc164;},'DUUGt':function(_0x291b59,_0x30173e){return _0x291b59<=_0x30173e;},'OLqGh':function(_0x339c64,_0x5dbaec){return _0x339c64/_0x5dbaec;},'nPKtZ':function(_0x35ce75,_0x48526e){return _0x35ce75*_0x48526e;},'IWXkO':function(_0x2d622d,_0x187741){return _0x2d622d+_0x187741;},'duhKG':function(_0x448cd8,_0x28ead8){return _0x448cd8+_0x28ead8;},'eQkOH':function(_0x16ed7a,_0x3f8a61){return _0x16ed7a(_0x3f8a61);},'cGRup':function(_0x280e90,_0x164ba5){return _0x280e90+_0x164ba5;},'GebYV':function(_0x3b3ba6,_0x4f43c2){return _0x3b3ba6+_0x4f43c2;}},_0x3c4236=_0xec5169['rKUzd'](readFileSync,_0x119f0f);let _0x286504=0x0;const [_0x449393,_0x143bc1]=readId(_0x3c4236,_0x286504),[_0xd5bd00,_0x35e9a8]=readVint(_0x3c4236,_0x286504+_0x143bc1);_0x286504+=_0x143bc1+_0x35e9a8+_0xd5bd00;const [_0x28a16e,_0x52a1e2]=_0xec5169[_0x315d9a(0x16e)](readId,_0x3c4236,_0x286504);if(_0x28a16e!==ID_SEGMENT)return console[_0x315d9a(0x181)](_0xec5169[_0x315d9a(0x15f)]),![];const [,_0x3059e4]=_0xec5169['RcyWY'](readVint,_0x3c4236,_0x286504+_0x52a1e2),_0x4244c6=_0xec5169['GAndW'](_0x286504+_0x52a1e2,_0x3059e4);let _0x5c33b5=_0x4244c6;const _0x2fbff7=Math['min'](_0x3c4236[_0x315d9a(0x158)],_0x4244c6+0x2710);let _0x52b9e6=null,_0x3680d5=null;while(_0xec5169['drWSq'](_0x5c33b5,_0x2fbff7)){const [_0x1c2682,_0xa4473d]=_0xec5169[_0x315d9a(0x16a)](readId,_0x3c4236,_0x5c33b5),[_0x369571,_0x11449c]=readVint(_0x3c4236,_0x5c33b5+_0xa4473d);_0x1c2682===ID_VOID&&!_0x52b9e6&&(_0x52b9e6={'offset':_0x5c33b5,'idLen':_0xa4473d,'sizeLen':_0x11449c,'dataSize':_0x369571,'dataOffset':_0x5c33b5+_0xa4473d+_0x11449c});if(_0x1c2682===ID_INFO){_0x3680d5={'offset':_0x5c33b5,'idLen':_0xa4473d,'sizeLen':_0x11449c,'dataSize':_0x369571,'dataOffset':_0xec5169[_0x315d9a(0x178)](_0xec5169['GAndW'](_0x5c33b5,_0xa4473d),_0x11449c)};break;}if(_0x1c2682===ID_CLUSTER)break;if(isUnknownSize(_0x369571,_0x11449c))break;_0x5c33b5+=_0xec5169[_0x315d9a(0x178)](_0xa4473d,_0x11449c)+_0x369571;}if(!_0x3680d5)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x2d0471=findElement(_0x3c4236,_0x3680d5[_0x315d9a(0x146)],_0x3680d5['dataOffset']+_0x3680d5[_0x315d9a(0x169)],ID_DURATION);if(_0x2d0471)return![];const _0x184f76=findElement(_0x3c4236,_0x3680d5[_0x315d9a(0x146)],_0xec5169[_0x315d9a(0x178)](_0x3680d5['dataOffset'],_0x3680d5[_0x315d9a(0x169)]),ID_TIMESTAMP_SCALE);let _0xdca20b=0xf4240;_0x184f76&&(_0xdca20b=readUint(_0x3c4236,_0x184f76['dataOffset'],_0x184f76[_0x315d9a(0x169)]));const _0x3d0d08=_0xec5169[_0x315d9a(0x16e)](computeDurationMs,_0x3c4236,_0xdca20b);if(_0xec5169[_0x315d9a(0x15d)](_0x3d0d08,0x0))return console[_0x315d9a(0x181)]('Could\x20not\x20compute\x20duration'),![];const _0x4dba79=_0xec5169[_0x315d9a(0x157)](_0xec5169[_0x315d9a(0x17c)](_0x3d0d08,0xf4240),_0xdca20b),_0x3cf596=Buffer[_0x315d9a(0x161)]([writeId(ID_DURATION),_0xec5169[_0x315d9a(0x156)](writeVint,0x8),writeFloat64(_0x4dba79)]),_0x52e5da=_0x3cf596[_0x315d9a(0x158)];if(!_0x52b9e6||_0x52b9e6[_0x315d9a(0x17a)]<_0x3680d5[_0x315d9a(0x17a)]){if(_0x52b9e6){const _0x2f36b2=_0xec5169['IWXkO'](_0x52b9e6[_0x315d9a(0x16c)],_0x52b9e6['sizeLen'])+_0x52b9e6[_0x315d9a(0x169)],_0x50b03a=_0x2f36b2-_0x52e5da;if(_0xec5169[_0x315d9a(0x177)](_0x50b03a,0x2))return rewriteFile(_0x3c4236,_0x3680d5,_0x3cf596,_0xdca20b,_0x3d0d08,_0xe51951);const _0x1dcb1e=_0xec5169[_0x315d9a(0x154)](_0x3680d5[_0x315d9a(0x169)],_0x52e5da),_0x20ae8f=Buffer[_0x315d9a(0x161)]([_0xec5169[_0x315d9a(0x15a)](writeId,ID_INFO),writeVint(_0x1dcb1e,_0x3680d5['sizeLen'])]),_0x30d499=_0x3c4236['slice'](_0x3680d5['dataOffset'],_0xec5169['cGRup'](_0x3680d5['dataOffset'],_0x3680d5[_0x315d9a(0x169)])),_0x269bd9=writeVoid(_0x50b03a),_0x40f9fd=_0x3c4236['slice'](0x0,_0x52b9e6['offset']),_0x346d41=_0x3c4236['slice'](_0xec5169[_0x315d9a(0x163)](_0x3680d5[_0x315d9a(0x146)],_0x3680d5['dataSize']));return _0xec5169['VWuaU'](writeFileSync,_0xe51951,Buffer['concat']([_0x40f9fd,_0x269bd9,_0x20ae8f,_0x30d499,_0x3cf596,_0x346d41])),!![];}}return rewriteFile(_0x3c4236,_0x3680d5,_0x3cf596,_0xdca20b,_0x3d0d08,_0xe51951);}function _0x4428(){const _0x436123=['MNLWM','EowSa','readInt16BE','1100253qdCAtZ','dataSize','RcyWY','gmDkW','idLen','9lUgBVp','VWuaU','dwfGT','1315360Hvmmls','slice','fixWebmDuration.js','23923770FLajVj','lGeGE','fhVtA','emDFg','drWSq','GAndW','rQFFr','offset','lOZJO','nPKtZ','64tgeMOd','vgcZY','joxiB','444790RlxCdz','error','fixWebmDuration.ts','556602yesoaR','dataOffset','slKHg','iGzyu','EdNrm','qIMKt','alloc','2188506xhQTYO','TlOrt','argv','8pWBjdk','GvTcI','8998641LxXvvj','from','JlZxE','duhKG','KMnVd','rKUzd','OLqGh','length','log','eQkOH','PyEVs','jtunS','DUUGt','pdudS','xNffn','gfWKy','concat','DhNfg','GebYV','tGZas'];_0x4428=function(){return _0x436123;};return _0x4428();}function rewriteFile(_0x224428,_0x16d469,_0x196bc4,_0x5c7b94,_0x3ba4c5,_0x16ef1c){const _0x26a5a3=_0x3753,_0x208a55={'joxiB':function(_0x28fbab,_0x16ada6){return _0x28fbab+_0x16ada6;},'dxats':function(_0x45a556,_0x25b615){return _0x45a556(_0x25b615);},'lDIkO':function(_0x519b6f,_0x37ea8a){return _0x519b6f+_0x37ea8a;},'EdNrm':function(_0x38be7a,_0x47cc42){return _0x38be7a+_0x47cc42;},'gfWKy':function(_0x381ad1,_0x114770,_0x469d04){return _0x381ad1(_0x114770,_0x469d04);}},_0x161869=_0x208a55[_0x26a5a3(0x17f)](_0x16d469['dataSize'],_0x196bc4[_0x26a5a3(0x158)]),_0x356d25=Buffer['concat']([_0x208a55['dxats'](writeId,ID_INFO),_0x208a55['dxats'](writeVint,_0x161869)]),_0x32c4d7=_0x16d469['idLen']+_0x16d469['sizeLen'],_0x2b2490=_0x224428[_0x26a5a3(0x171)](0x0,_0x16d469[_0x26a5a3(0x17a)]),_0x2b3333=_0x224428['slice'](_0x16d469['dataOffset'],_0x16d469['dataOffset']+_0x16d469['dataSize']),_0x1784e4=_0x224428[_0x26a5a3(0x171)](_0x208a55['lDIkO'](_0x208a55[_0x26a5a3(0x149)](_0x16d469[_0x26a5a3(0x17a)],_0x32c4d7),_0x16d469[_0x26a5a3(0x169)]));return _0x208a55[_0x26a5a3(0x160)](writeFileSync,_0x16ef1c,Buffer[_0x26a5a3(0x161)]([_0x2b2490,_0x356d25,_0x2b3333,_0x196bc4,_0x1784e4])),!![];}if(process[_0x11e1ec(0x14e)][0x1]?.['endsWith'](_0x11e1ec(0x182))||process[_0x11e1ec(0x14e)][0x1]?.['endsWith'](_0x11e1ec(0x172))){const input=process['argv'][0x2],output=process[_0x11e1ec(0x14e)][0x3];(!input||!output)&&(console[_0x11e1ec(0x181)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log']('Fixed:\x20'+output):console[_0x11e1ec(0x159)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- (function(_0x382adf,_0x2a49a0){const _0x9e6901=_0x56fc,_0x3d5512=_0x382adf();while(!![]){try{const _0x22e3e3=-parseInt(_0x9e6901(0xf8))/0x1+-parseInt(_0x9e6901(0xfc))/0x2+-parseInt(_0x9e6901(0xfa))/0x3+-parseInt(_0x9e6901(0x101))/0x4+-parseInt(_0x9e6901(0xff))/0x5+-parseInt(_0x9e6901(0xfd))/0x6+parseInt(_0x9e6901(0xf3))/0x7*(parseInt(_0x9e6901(0xf6))/0x8);if(_0x22e3e3===_0x2a49a0)break;else _0x3d5512['push'](_0x3d5512['shift']());}catch(_0x2e2fd6){_0x3d5512['push'](_0x3d5512['shift']());}}}(_0x1f6d,0xd0fb3));import{execSync}from'child_process';function _0x56fc(_0x28d2dc,_0x45b5db){_0x28d2dc=_0x28d2dc-0xf2;const _0x1f6db5=_0x1f6d();let _0x56fc64=_0x1f6db5[_0x28d2dc];return _0x56fc64;}export function getGitBranch(){const _0x41b828=_0x56fc,_0x41882f={'gRTih':function(_0x41381c,_0x3859ce,_0x39ff51){return _0x41381c(_0x3859ce,_0x39ff51);},'Xlcsz':_0x41b828(0xfb)};try{return _0x41882f[_0x41b828(0x100)](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x41882f['Xlcsz'],'stdio':['pipe','pipe','pipe']})[_0x41b828(0xf7)]();}catch{return undefined;}}function _0x1f6d(){const _0x455f7a=['pipe','112bgmWIh','trim','1147195qrbWqR','github.com/','681366NCZfLk','utf-8','1792272WQBpAg','1930818icZStp','LDuOp','4108920bNkjvc','gRTih','4483084SDcqDD','replace','2695399mBlXMZ','eqxSA'];_0x1f6d=function(){return _0x455f7a;};return _0x1f6d();}export function getGitRepoUrl(){const _0x49d73f=_0x56fc,_0x239b68={'UnYUc':'git\x20remote\x20get-url\x20origin','eqxSA':'utf-8','LDuOp':_0x49d73f(0xf5)};try{const _0x5db144=execSync(_0x239b68['UnYUc'],{'encoding':_0x239b68[_0x49d73f(0xf4)],'stdio':[_0x239b68[_0x49d73f(0xfe)],_0x49d73f(0xf5),_0x239b68['LDuOp']]})['trim']();return _0x5db144[_0x49d73f(0xf2)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x49d73f(0xf9))[_0x49d73f(0xf2)](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x3cf0f1={'VhZzN':function(_0x232186){return _0x232186();}};return{'branch':_0x3cf0f1['VhZzN'](getGitBranch),'repoUrl':getGitRepoUrl()};}
1
+ (function(_0x383354,_0x56bde2){const _0x58b0ed=_0x5ae8,_0x12d8b8=_0x383354();while(!![]){try{const _0x3de2cb=parseInt(_0x58b0ed(0x1e4))/0x1*(parseInt(_0x58b0ed(0x1e2))/0x2)+-parseInt(_0x58b0ed(0x1db))/0x3*(parseInt(_0x58b0ed(0x1eb))/0x4)+-parseInt(_0x58b0ed(0x1e1))/0x5+parseInt(_0x58b0ed(0x1ed))/0x6*(-parseInt(_0x58b0ed(0x1e9))/0x7)+-parseInt(_0x58b0ed(0x1e3))/0x8+parseInt(_0x58b0ed(0x1e7))/0x9*(parseInt(_0x58b0ed(0x1e8))/0xa)+-parseInt(_0x58b0ed(0x1e0))/0xb*(-parseInt(_0x58b0ed(0x1ea))/0xc);if(_0x3de2cb===_0x56bde2)break;else _0x12d8b8['push'](_0x12d8b8['shift']());}catch(_0x4e0df2){_0x12d8b8['push'](_0x12d8b8['shift']());}}}(_0x4096,0x3a76e));function _0x4096(){const _0x1e30aa=['git\x20rev-parse\x20--abbrev-ref\x20HEAD','kfyUn','33pUTNKI','1188630ZpUzJG','148646wjDCZu','44592ymeiJW','1WpLzNy','ITMbF','trim','828uZEadu','36680senmkR','3229779CGbGwn','2137656zeDRdT','8dBQkQR','replace','6ZNjzZN','pipe','3039uBuiOU','utf-8','xamSJ'];_0x4096=function(){return _0x1e30aa;};return _0x4096();}import{execSync}from'child_process';export function getGitBranch(){const _0x82fb9=_0x5ae8,_0x366331={'ybhwT':_0x82fb9(0x1de),'qdqKO':_0x82fb9(0x1dc),'MELrX':'pipe'};try{return execSync(_0x366331['ybhwT'],{'encoding':_0x366331['qdqKO'],'stdio':[_0x366331['MELrX'],_0x366331['MELrX'],_0x82fb9(0x1da)]})['trim']();}catch{return undefined;}}export function getGitRepoUrl(){const _0x53f697=_0x5ae8,_0x36a836={'kfyUn':function(_0x2bcd33,_0x5d760c,_0x547321){return _0x2bcd33(_0x5d760c,_0x547321);},'CigHY':_0x53f697(0x1dc),'ITMbF':_0x53f697(0x1da),'xamSJ':'github.com/'};try{const _0xd46d01=_0x36a836[_0x53f697(0x1df)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x36a836['CigHY'],'stdio':[_0x36a836[_0x53f697(0x1e5)],_0x53f697(0x1da),_0x36a836['ITMbF']]})[_0x53f697(0x1e6)]();return _0xd46d01[_0x53f697(0x1ec)](/\.git$/,'')[_0x53f697(0x1ec)](/^git@github\.com:/,_0x36a836[_0x53f697(0x1dd)])[_0x53f697(0x1ec)](/^https?:\/\//,'');}catch{return undefined;}}function _0x5ae8(_0x40e7dc,_0x36ada3){_0x40e7dc=_0x40e7dc-0x1da;const _0x4096d0=_0x4096();let _0x5ae881=_0x4096d0[_0x40e7dc];return _0x5ae881;}export function getGitInfo(){const _0x461bd4={'boXqy':function(_0x2b4801){return _0x2b4801();}};return{'branch':_0x461bd4['boXqy'](getGitBranch),'repoUrl':getGitRepoUrl()};}
@@ -1 +1 @@
1
- const _0x398e8c=_0x48d0;(function(_0xac2e99,_0x3c15ed){const _0x2440a2=_0x48d0,_0x4b05f4=_0xac2e99();while(!![]){try{const _0x4570d0=parseInt(_0x2440a2(0x141))/0x1*(-parseInt(_0x2440a2(0x13f))/0x2)+parseInt(_0x2440a2(0x155))/0x3*(-parseInt(_0x2440a2(0x147))/0x4)+-parseInt(_0x2440a2(0x15e))/0x5+-parseInt(_0x2440a2(0x153))/0x6+parseInt(_0x2440a2(0x145))/0x7+-parseInt(_0x2440a2(0x142))/0x8*(parseInt(_0x2440a2(0x139))/0x9)+parseInt(_0x2440a2(0x168))/0xa;if(_0x4570d0===_0x3c15ed)break;else _0x4b05f4['push'](_0x4b05f4['shift']());}catch(_0x338ddf){_0x4b05f4['push'](_0x4b05f4['shift']());}}}(_0x4ff7,0xd2c88));const _0x25af1d=(function(){const _0x177e31=_0x48d0,_0x94cc5f={'gtdkH':function(_0x3bd738,_0x21bc76){return _0x3bd738!==_0x21bc76;},'TQVNr':_0x177e31(0x138),'WjaPO':_0x177e31(0x14d),'qExgn':_0x177e31(0x160)};let _0x1c43da=!![];return function(_0x1984cb,_0x1f2de1){const _0x2d06e0=_0x177e31,_0x5694d4={'iipAc':function(_0x41e565,_0x17e62f){const _0x5dbdf6=_0x48d0;return _0x94cc5f[_0x5dbdf6(0x164)](_0x41e565,_0x17e62f);},'VHCBe':_0x94cc5f[_0x2d06e0(0x144)]};if(_0x94cc5f[_0x2d06e0(0x167)]===_0x94cc5f[_0x2d06e0(0x15d)]){const _0x9b2dc8=_0x1cf4c7[_0x2d06e0(0x16a)](_0xc559de,arguments);return _0x486668=null,_0x9b2dc8;}else{const _0x35746e=_0x1c43da?function(){const _0x1795ad=_0x2d06e0;if(_0x5694d4[_0x1795ad(0x15a)](_0x5694d4[_0x1795ad(0x140)],_0x5694d4[_0x1795ad(0x140)]))return![];else{if(_0x1f2de1){const _0x3fbf95=_0x1f2de1[_0x1795ad(0x16a)](_0x1984cb,arguments);return _0x1f2de1=null,_0x3fbf95;}}}:function(){};return _0x1c43da=![],_0x35746e;}};}()),_0x4908e7=_0x25af1d(this,function(){const _0x2c63ed=_0x48d0,_0xd304b3={'WTNfO':_0x2c63ed(0x149)};return _0x4908e7['toString']()[_0x2c63ed(0x14e)](_0x2c63ed(0x149))[_0x2c63ed(0x157)]()[_0x2c63ed(0x151)](_0x4908e7)[_0x2c63ed(0x14e)](_0xd304b3[_0x2c63ed(0x137)]);});_0x4908e7();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';function _0x4ff7(){const _0x31d12c=['sNDHA3e','v2PHue8','mZa0ndiXndbWrw5pAKW','tLDXBeC','yxbWBhK','v1rozK8','uuPTuw8','mtqYndDwtgDfCwe','Cvj4sLe','EKvMue4','BKHrvei','BLLbCMm','zw52','nZbmD1PWA3y','vKHdqMu','mZK5ndrPC2Pot0e','mZe4ngLzC3rVAq','CgLYAM8','vffwtNi','odK0ndi3ohP2Ae1Juq','B0LhveO','otaZodrmrwvoDwC','wuv0DM8','kcGOlISPkYKRksSK','Cu1Pugu','uM96uKO','t3zPA3i','A0LSqM4','C2vHCMnO','DhjPBq','Dufftgy','y29UC3rYDwn0B3i','vgrOzLK','mti4mdeYneXyuMjTwa','yvveEwO','mtiZv1b6rhfM','rNHqCMi','Dg9tDhjPBMC','DfnrvwW','DxrMltG','AwLWqwm','v3LZtgq','vKDwB3C','Cuv4z24','mtq1mZy4mfjIzLPmAq','q0nKEuK','q1jPA1m','r0Lusfvcx0vovG','uKfor0vsx0nmsv9ut0TftG','CMvMCMvZAc50Ehq','z3rKA0G','zNjTBhi'];_0x4ff7=function(){return _0x31d12c;};return _0x4ff7();}import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x398e8c(0x162),ENV_TOKEN_LEGACY='RANGER_MCP_TOKEN',TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,'cli.txt'),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x398e8c(0x163));function isGitHubCI(){const _0x205ffe=_0x398e8c;return!!process[_0x205ffe(0x13e)][_0x205ffe(0x161)];}async function writeToGitHubEnv(_0x1a7c54,_0x38f60b){const _0x6ebdb=_0x398e8c,_0x119239={'NWqlG':'XoXCe'},_0x567fc0=process[_0x6ebdb(0x13e)][_0x6ebdb(0x161)];if(_0x567fc0){if(_0x119239[_0x6ebdb(0x169)]!==_0x119239[_0x6ebdb(0x169)])return _0x19677a['env'][_0x8ecc8c];else await appendFile(_0x567fc0,_0x1a7c54+'='+_0x38f60b+'\x0a');}}function _0x48d0(_0x288821,_0x3bfcde){_0x288821=_0x288821-0x137;const _0x5ba5ae=_0x4ff7();let _0x4908e7=_0x5ba5ae[_0x288821];if(_0x48d0['kAHFzI']===undefined){var _0x25af1d=function(_0x5adba9){const _0x35c3cc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5dea86='',_0x2ef7ce='',_0x316892=_0x5dea86+_0x25af1d;for(let _0x48ed67=0x0,_0x3cd451,_0x1b7732,_0x98149b=0x0;_0x1b7732=_0x5adba9['charAt'](_0x98149b++);~_0x1b7732&&(_0x3cd451=_0x48ed67%0x4?_0x3cd451*0x40+_0x1b7732:_0x1b7732,_0x48ed67++%0x4)?_0x5dea86+=_0x316892['charCodeAt'](_0x98149b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3cd451>>(-0x2*_0x48ed67&0x6)):_0x48ed67:0x0){_0x1b7732=_0x35c3cc['indexOf'](_0x1b7732);}for(let _0x5717b1=0x0,_0x2da7f8=_0x5dea86['length'];_0x5717b1<_0x2da7f8;_0x5717b1++){_0x2ef7ce+='%'+('00'+_0x5dea86['charCodeAt'](_0x5717b1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2ef7ce);};_0x48d0['XmWvTv']=_0x25af1d,_0x48d0['dPNjYP']={},_0x48d0['kAHFzI']=!![];}const _0x4ff7b4=_0x5ba5ae[0x0],_0x48d02c=_0x288821+_0x4ff7b4,_0x2eabeb=_0x48d0['dPNjYP'][_0x48d02c];if(!_0x2eabeb){const _0x5a9667=function(_0x385b14){this['CRFoSr']=_0x385b14,this['YHnUQf']=[0x1,0x0,0x0],this['epNcvl']=function(){return'newState';},this['OVxKUk']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['OJAwvS']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5a9667['prototype']['CUEqVj']=function(){const _0x581f5e=new RegExp(this['OVxKUk']+this['OJAwvS']),_0x441548=_0x581f5e['test'](this['epNcvl']['toString']())?--this['YHnUQf'][0x1]:--this['YHnUQf'][0x0];return this['AcKotl'](_0x441548);},_0x5a9667['prototype']['AcKotl']=function(_0x2de255){if(!Boolean(~_0x2de255))return _0x2de255;return this['UZyhFt'](this['CRFoSr']);},_0x5a9667['prototype']['UZyhFt']=function(_0x250344){for(let _0x1b4ca3=0x0,_0x4650fe=this['YHnUQf']['length'];_0x1b4ca3<_0x4650fe;_0x1b4ca3++){this['YHnUQf']['push'](Math['round'](Math['random']())),_0x4650fe=this['YHnUQf']['length'];}return _0x250344(this['YHnUQf'][0x0]);},new _0x5a9667(_0x48d0)['CUEqVj'](),_0x4908e7=_0x48d0['XmWvTv'](_0x4908e7),_0x48d0['dPNjYP'][_0x48d02c]=_0x4908e7;}else _0x4908e7=_0x2eabeb;return _0x4908e7;}export async function storeToken(_0x397694){const _0x51cd0b=_0x398e8c,_0x2a7e64={'IyThJ':function(_0x3139d5){return _0x3139d5();},'uAELf':function(_0x55d3a5,_0x4a0067){return _0x55d3a5===_0x4a0067;},'qRxJQ':_0x51cd0b(0x152),'Jwakq':function(_0x43bc9e,_0x3630fc,_0x977f9f){return _0x43bc9e(_0x3630fc,_0x977f9f);},'rFPOw':function(_0x1c3103,_0x2e6e92,_0x5a9af5,_0x492cbc){return _0x1c3103(_0x2e6e92,_0x5a9af5,_0x492cbc);}};if(_0x2a7e64['IyThJ'](isGitHubCI)){if(_0x2a7e64[_0x51cd0b(0x150)](_0x51cd0b(0x152),_0x2a7e64[_0x51cd0b(0x13a)]))await writeToGitHubEnv(ENV_TOKEN,_0x397694);else{if(_0x48013e){const _0x575d6e=_0x42305f['apply'](_0x168053,arguments);return _0x1602da=null,_0x575d6e;}}}else await _0x2a7e64[_0x51cd0b(0x166)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x2a7e64['rFPOw'](writeFile,TOKEN_PATH,_0x397694,{'mode':0x180});}export async function getToken(){const _0x2bfe45=_0x398e8c,_0x14846c={'Ovikr':function(_0x359006,_0x487e5e){return _0x359006===_0x487e5e;},'rwrOh':_0x2bfe45(0x13d),'FxPrb':'dzxHV','CCdyI':function(_0xbda458,_0x4072a1,_0x4856ca){return _0xbda458(_0x4072a1,_0x4856ca);},'YEtvo':'utf-8','RozRJ':function(_0xe38fee,_0x119c65){return _0xe38fee!==_0x119c65;},'WysLd':_0x2bfe45(0x143)};if(process[_0x2bfe45(0x13e)][ENV_TOKEN])return process[_0x2bfe45(0x13e)][ENV_TOKEN];if(process[_0x2bfe45(0x13e)][ENV_TOKEN_LEGACY])return process[_0x2bfe45(0x13e)][ENV_TOKEN_LEGACY];try{if(_0x14846c[_0x2bfe45(0x14c)](_0x14846c['rwrOh'],_0x14846c[_0x2bfe45(0x156)]))return![];else{const _0x125d1a=await _0x14846c[_0x2bfe45(0x15f)](readFile,TOKEN_PATH,_0x14846c[_0x2bfe45(0x148)]);return _0x125d1a[_0x2bfe45(0x14f)]()||null;}}catch{return _0x14846c[_0x2bfe45(0x14b)](_0x2bfe45(0x146),_0x14846c[_0x2bfe45(0x15b)])?null:_0xa44dce[_0x2bfe45(0x13e)][_0x5305b2];}}export async function deleteToken(){const _0x2d8c39=_0x398e8c,_0xdad613={'nHQTB':function(_0x2d1dae,_0x50bb06){return _0x2d1dae(_0x50bb06);}};try{return await _0xdad613[_0x2d8c39(0x13c)](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x1c2dc2){const _0x34026d={'UvbLu':function(_0x1af5a3,_0x3a5b0a,_0x32508a){return _0x1af5a3(_0x3a5b0a,_0x32508a);},'anJwm':function(_0x4f8b55,_0x430c8d,_0x4cc13f,_0x4d44e9){return _0x4f8b55(_0x430c8d,_0x4cc13f,_0x4d44e9);}};await _0x34026d['UvbLu'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x34026d['anJwm'](writeFile,REFRESH_TOKEN_PATH,_0x1c2dc2,{'mode':0x180});}export async function getRefreshToken(){const _0x494bbd=_0x398e8c,_0x255115={'gTReP':function(_0x1ac9af,_0x3d3122,_0x5eac78){return _0x1ac9af(_0x3d3122,_0x5eac78);},'OZQfa':_0x494bbd(0x159)};try{const _0x2dd2f1=await _0x255115['gTReP'](readFile,REFRESH_TOKEN_PATH,_0x255115['OZQfa']);return _0x2dd2f1[_0x494bbd(0x14f)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x558b8e=_0x398e8c,_0x57074a={'zEfPN':'(((.+)+)+)+$','VGVow':function(_0x2007b3,_0x39611d){return _0x2007b3(_0x39611d);},'tSQUl':_0x558b8e(0x14a),'HtdDp':_0x558b8e(0x165)};try{return await _0x57074a[_0x558b8e(0x15c)](unlink,REFRESH_TOKEN_PATH),!![];}catch{return _0x57074a[_0x558b8e(0x158)]===_0x57074a['HtdDp']?_0x4a77b2[_0x558b8e(0x157)]()[_0x558b8e(0x14e)](pzxHxj[_0x558b8e(0x13b)])[_0x558b8e(0x157)]()[_0x558b8e(0x151)](_0x115e13)[_0x558b8e(0x14e)](_0x558b8e(0x149)):![];}}export async function deleteAllCredentials(){const _0x15a393=_0x398e8c,_0x4d1e8d={'aUDyj':function(_0x5d7b75){return _0x5d7b75();}};await deleteToken(),await _0x4d1e8d[_0x15a393(0x154)](deleteRefreshToken);}
1
+ const _0x58d9ca=_0x3863;(function(_0x1c0b6c,_0x558eca){const _0x161f98=_0x3863,_0x1d070a=_0x1c0b6c();while(!![]){try{const _0x5145e8=parseInt(_0x161f98(0x20a))/0x1+-parseInt(_0x161f98(0x1f1))/0x2*(parseInt(_0x161f98(0x1ff))/0x3)+-parseInt(_0x161f98(0x203))/0x4*(parseInt(_0x161f98(0x1f2))/0x5)+-parseInt(_0x161f98(0x204))/0x6*(-parseInt(_0x161f98(0x215))/0x7)+parseInt(_0x161f98(0x208))/0x8+-parseInt(_0x161f98(0x206))/0x9+-parseInt(_0x161f98(0x1fe))/0xa*(-parseInt(_0x161f98(0x202))/0xb);if(_0x5145e8===_0x558eca)break;else _0x1d070a['push'](_0x1d070a['shift']());}catch(_0x1d7430){_0x1d070a['push'](_0x1d070a['shift']());}}}(_0x2396,0x89d0c));const _0x4779ea=(function(){let _0xfbbc69=!![];return function(_0x18ab1c,_0x5c0abb){const _0x4e4835=_0xfbbc69?function(){const _0x2e1b29=_0x3863;if(_0x5c0abb){const _0x3f9c95=_0x5c0abb[_0x2e1b29(0x1f4)](_0x18ab1c,arguments);return _0x5c0abb=null,_0x3f9c95;}}:function(){};return _0xfbbc69=![],_0x4e4835;};}()),_0x5863b0=_0x4779ea(this,function(){const _0x2c1daa=_0x3863,_0x329407={'ERAXU':_0x2c1daa(0x1f9)};return _0x5863b0['toString']()[_0x2c1daa(0x219)](_0x329407['ERAXU'])['toString']()[_0x2c1daa(0x21d)](_0x5863b0)['search'](_0x329407[_0x2c1daa(0x211)]);});_0x5863b0();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';function _0x2396(){const _0x3734af=['kcGOlISPkYKRksSK','wu1wuMS','yLjAqvi','q2jeveu','tKPsswO','otm5ndbKs3rVBvi','mJDqB3D4teC','uKfor0vsx01duf9ut0TftG','CwPUAMy','mZyZEw9ADvfx','ntK2tKLMAwvo','nJmXmZuWDu9SBLPk','CMvMCMvZAc50Ehq','mZaZmdG0mhros0n4wG','y2jxCeS','nteZndGWvMnoEKrW','zvL6que','mteWoti4nw9zuLLxwa','s0foAe8','DfvLDuu','EhvsqLO','uKfor0vsx0nmsv9ut0TftG','B3H6ELu','s3HSAe8','rvjbwfu','yKHIEMm','zMfusMO','r0Lusfvcx0vovG','ndjLDhn2EK0','z2nLCKe','AfnbCNe','zwP4Exm','C2vHCMnO','BuTbuLK','DvvMBxO','rgPuCu8','y29UC3rYDwn0B3i','v1LzB2y','ody5ndjir0fNDwC','mJC1otvvu1r1DLu','zw52','yxbWBhK','wMPruMe','y2XPlNr4Da','DxrMltG','Dg9tDhjPBMC'];_0x2396=function(){return _0x3734af;};return _0x2396();}const ENV_TOKEN=_0x58d9ca(0x20e),ENV_TOKEN_LEGACY=_0x58d9ca(0x200),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x58d9ca(0x1f6)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x58d9ca(0x205));function isGitHubCI(){const _0x7b07c4=_0x58d9ca;return!!process['env'][_0x7b07c4(0x214)];}async function writeToGitHubEnv(_0x10aecf,_0x145f37){const _0x584014=_0x58d9ca,_0x9c2f53={'cbWpK':_0x584014(0x20c),'fDcDK':function(_0x544a51,_0x1d4574,_0x428ea9){return _0x544a51(_0x1d4574,_0x428ea9);}},_0xbe45d9=process[_0x584014(0x1f3)][_0x584014(0x214)];if(_0xbe45d9){if(_0x9c2f53[_0x584014(0x207)]===_0x584014(0x1fc))return![];else await _0x9c2f53['fDcDK'](appendFile,_0xbe45d9,_0x10aecf+'='+_0x145f37+'\x0a');}}export async function storeToken(_0xf62368){const _0x49d78a=_0x58d9ca,_0x5bdf6c={'NJRIj':function(_0x1a89d4){return _0x1a89d4();},'uUfmz':function(_0x1592b8,_0x2748f4){return _0x1592b8===_0x2748f4;},'eYzAA':'XxdBE','gcerA':'gkMHO','oxzzU':function(_0x55e12d,_0x356c06,_0x16e8c3){return _0x55e12d(_0x356c06,_0x16e8c3);},'NOKQj':function(_0x54beac,_0x43b795,_0x1f74f6){return _0x54beac(_0x43b795,_0x1f74f6);},'ejxys':function(_0xb4bfe0,_0x30b45,_0x95b5e8,_0x57a9e1){return _0xb4bfe0(_0x30b45,_0x95b5e8,_0x57a9e1);}};if(_0x5bdf6c[_0x49d78a(0x1fd)](isGitHubCI)){if(_0x5bdf6c[_0x49d78a(0x21b)](_0x5bdf6c[_0x49d78a(0x209)],_0x5bdf6c[_0x49d78a(0x216)]))return![];else await _0x5bdf6c[_0x49d78a(0x20f)](writeToGitHubEnv,ENV_TOKEN,_0xf62368);}else await _0x5bdf6c['NOKQj'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x5bdf6c[_0x49d78a(0x218)](writeFile,TOKEN_PATH,_0xf62368,{'mode':0x180});}export async function getToken(){const _0x2872bd=_0x58d9ca,_0x279ee2={'bHbzc':_0x2872bd(0x1f7)};if(process[_0x2872bd(0x1f3)][ENV_TOKEN])return process['env'][ENV_TOKEN];if(process[_0x2872bd(0x1f3)][ENV_TOKEN_LEGACY])return process[_0x2872bd(0x1f3)][ENV_TOKEN_LEGACY];try{const _0x4ce163=await readFile(TOKEN_PATH,_0x279ee2[_0x2872bd(0x212)]);return _0x4ce163['trim']()||null;}catch{return null;}}export async function deleteToken(){const _0x4f3ee3=_0x58d9ca,_0x477826={'mKARY':'(((.+)+)+)+$','WYYof':function(_0x5f3dbf,_0x520398){return _0x5f3dbf===_0x520398;},'YMVRk':_0x4f3ee3(0x1f5),'hSArq':function(_0x2e7011,_0x29b1bc){return _0x2e7011(_0x29b1bc);},'DjTqO':'CRyCC','qjnjf':'zixJO'};try{if(_0x477826[_0x4f3ee3(0x21e)](_0x477826[_0x4f3ee3(0x1fa)],'zMxUG')){const _0x337a90=_0x4f3734['apply'](_0x5867af,arguments);return _0x3ea77b=null,_0x337a90;}else return await _0x477826[_0x4f3ee3(0x217)](unlink,TOKEN_PATH),!![];}catch{return _0x477826[_0x4f3ee3(0x21c)]!==_0x477826[_0x4f3ee3(0x201)]?![]:_0xde45a7[_0x4f3ee3(0x1f8)]()[_0x4f3ee3(0x219)](aYxZDw[_0x4f3ee3(0x21a)])[_0x4f3ee3(0x1f8)]()[_0x4f3ee3(0x21d)](_0x503bbb)[_0x4f3ee3(0x219)](aYxZDw[_0x4f3ee3(0x21a)]);}}export async function storeRefreshToken(_0xbe8e88){const _0x415f73=_0x58d9ca,_0x17b1b0={'bRZAR':function(_0x32c579,_0x4d7b31,_0x337dfb){return _0x32c579(_0x4d7b31,_0x337dfb);},'faTJj':function(_0x5e6bf5,_0xaf6dd6,_0x4c3943,_0x3cbb1e){return _0x5e6bf5(_0xaf6dd6,_0x4c3943,_0x3cbb1e);}};await _0x17b1b0[_0x415f73(0x1fb)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x17b1b0[_0x415f73(0x213)](writeFile,REFRESH_TOKEN_PATH,_0xbe8e88,{'mode':0x180});}function _0x3863(_0x38d2a5,_0x731eba){_0x38d2a5=_0x38d2a5-0x1f1;const _0x3eead8=_0x2396();let _0x5863b0=_0x3eead8[_0x38d2a5];if(_0x3863['WhNkHL']===undefined){var _0x4779ea=function(_0x532035){const _0x4899fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26acc6='',_0x5ac74a='',_0x3a09f3=_0x26acc6+_0x4779ea;for(let _0x3a2299=0x0,_0x3e72d9,_0x3cb6c8,_0x3bba8d=0x0;_0x3cb6c8=_0x532035['charAt'](_0x3bba8d++);~_0x3cb6c8&&(_0x3e72d9=_0x3a2299%0x4?_0x3e72d9*0x40+_0x3cb6c8:_0x3cb6c8,_0x3a2299++%0x4)?_0x26acc6+=_0x3a09f3['charCodeAt'](_0x3bba8d+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3e72d9>>(-0x2*_0x3a2299&0x6)):_0x3a2299:0x0){_0x3cb6c8=_0x4899fb['indexOf'](_0x3cb6c8);}for(let _0x390f70=0x0,_0x505b15=_0x26acc6['length'];_0x390f70<_0x505b15;_0x390f70++){_0x5ac74a+='%'+('00'+_0x26acc6['charCodeAt'](_0x390f70)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ac74a);};_0x3863['ShSnYM']=_0x4779ea,_0x3863['kNVrjq']={},_0x3863['WhNkHL']=!![];}const _0x2396f7=_0x3eead8[0x0],_0x38630c=_0x38d2a5+_0x2396f7,_0x10dbcc=_0x3863['kNVrjq'][_0x38630c];if(!_0x10dbcc){const _0x3c6b89=function(_0x558ee5){this['nsBrmw']=_0x558ee5,this['YWjQgN']=[0x1,0x0,0x0],this['fTtGfq']=function(){return'newState';},this['VCwXCQ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['LYjyCr']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3c6b89['prototype']['QZnRok']=function(){const _0x30cf49=new RegExp(this['VCwXCQ']+this['LYjyCr']),_0x52ba62=_0x30cf49['test'](this['fTtGfq']['toString']())?--this['YWjQgN'][0x1]:--this['YWjQgN'][0x0];return this['OZOyPg'](_0x52ba62);},_0x3c6b89['prototype']['OZOyPg']=function(_0x3c94d5){if(!Boolean(~_0x3c94d5))return _0x3c94d5;return this['qPeAPx'](this['nsBrmw']);},_0x3c6b89['prototype']['qPeAPx']=function(_0x3211e2){for(let _0x354aeb=0x0,_0x4b3667=this['YWjQgN']['length'];_0x354aeb<_0x4b3667;_0x354aeb++){this['YWjQgN']['push'](Math['round'](Math['random']())),_0x4b3667=this['YWjQgN']['length'];}return _0x3211e2(this['YWjQgN'][0x0]);},new _0x3c6b89(_0x3863)['QZnRok'](),_0x5863b0=_0x3863['ShSnYM'](_0x5863b0),_0x3863['kNVrjq'][_0x38630c]=_0x5863b0;}else _0x5863b0=_0x10dbcc;return _0x5863b0;}export async function getRefreshToken(){const _0x220b6a=_0x58d9ca,_0x43c102={'KxlhO':function(_0x1b1ea5,_0x4a7e21,_0x3d863b){return _0x1b1ea5(_0x4a7e21,_0x3d863b);},'xuRBZ':'utf-8'};try{const _0xe61948=await _0x43c102[_0x220b6a(0x210)](readFile,REFRESH_TOKEN_PATH,_0x43c102[_0x220b6a(0x20d)]);return _0xe61948['trim']()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x11b6a6=_0x58d9ca,_0x5852a9={'KANhO':'aLZwQ','kOoOB':function(_0x2dda5a,_0x22c2fc){return _0x2dda5a(_0x22c2fc);}};try{return _0x5852a9['KANhO']===_0x5852a9[_0x11b6a6(0x20b)]?(await _0x5852a9['kOoOB'](unlink,REFRESH_TOKEN_PATH),!![]):null;}catch{return![];}}export async function deleteAllCredentials(){await deleteToken(),await deleteRefreshToken();}
@@ -1 +1 @@
1
- (function(_0x316fbe,_0x521d8d){const _0x168b37=_0x1f30,_0x16da88=_0x316fbe();while(!![]){try{const _0x2658e5=parseInt(_0x168b37(0x164))/0x1*(-parseInt(_0x168b37(0x16b))/0x2)+-parseInt(_0x168b37(0x179))/0x3+-parseInt(_0x168b37(0x17b))/0x4*(-parseInt(_0x168b37(0x177))/0x5)+-parseInt(_0x168b37(0x172))/0x6+-parseInt(_0x168b37(0x166))/0x7*(-parseInt(_0x168b37(0x173))/0x8)+-parseInt(_0x168b37(0x17c))/0x9*(parseInt(_0x168b37(0x180))/0xa)+-parseInt(_0x168b37(0x167))/0xb*(-parseInt(_0x168b37(0x17e))/0xc);if(_0x2658e5===_0x521d8d)break;else _0x16da88['push'](_0x16da88['shift']());}catch(_0x337284){_0x16da88['push'](_0x16da88['shift']());}}}(_0x26ac,0xed10f));const _0x66b5f4=(function(){const _0x3dea45=_0x1f30,_0x5840da={'uYZVK':_0x3dea45(0x168)};let _0x1cd8df=!![];return function(_0x110f8a,_0x96c22b){const _0x5caeba=_0x3dea45,_0x11f858={'xhCFz':function(_0x13d194,_0x54b093){return _0x13d194!==_0x54b093;},'eQlwV':_0x5caeba(0x16d),'bTjeJ':_0x5840da['uYZVK']},_0x1a41ba=_0x1cd8df?function(){const _0x47757b=_0x5caeba;if(_0x96c22b){if(_0x11f858[_0x47757b(0x175)](_0x11f858['eQlwV'],_0x11f858['bTjeJ'])){const _0xd968ab=_0x96c22b[_0x47757b(0x16c)](_0x110f8a,arguments);return _0x96c22b=null,_0xd968ab;}else{const _0x486883=_0x2c7891?function(){const _0x31e1c6=_0x47757b;if(_0x3a9dbb){const _0x359ac3=_0x4179e5[_0x31e1c6(0x16c)](_0x37b634,arguments);return _0x1e8731=null,_0x359ac3;}}:function(){};return _0x21b412=![],_0x486883;}}}:function(){};return _0x1cd8df=![],_0x1a41ba;};}()),_0x402bd8=_0x66b5f4(this,function(){const _0x3ccb18=_0x1f30,_0x374355={'TXvjg':_0x3ccb18(0x170)};return _0x402bd8['toString']()[_0x3ccb18(0x17f)](_0x374355['TXvjg'])[_0x3ccb18(0x17a)]()['constructor'](_0x402bd8)[_0x3ccb18(0x17f)](_0x374355[_0x3ccb18(0x174)]);});_0x402bd8();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x50ddf1,_0x4561af,_0x1064f5){const _0x4031c9=_0x1f30,_0x4c8020={'IFudT':function(_0x37ca88){return _0x37ca88();},'lphUI':_0x4031c9(0x176),'QEOwa':'FWHOS'},_0x36f0c8=await _0x4c8020[_0x4031c9(0x169)](getToken);if(!_0x36f0c8)return;const _0x57f42c=_0x4c8020[_0x4031c9(0x169)](getApiBaseUrl),_0x55d353=await fetch(_0x57f42c+_0x4031c9(0x16e),{'method':'POST','headers':{'Authorization':_0x4031c9(0x171)+_0x36f0c8,'Content-Type':_0x4c8020[_0x4031c9(0x16f)]},'body':JSON[_0x4031c9(0x178)]({'skillName':_0x50ddf1,'cliVersion':_0x1064f5,'metadata':_0x4561af})});if(!_0x55d353['ok']){if(_0x4c8020[_0x4031c9(0x165)]!==_0x4c8020[_0x4031c9(0x165)])return;else{const _0x3f2fe6=await _0x55d353[_0x4031c9(0x17d)]();console['error'](_0x4031c9(0x16a)+_0x3f2fe6);}}}function _0x1f30(_0x4513de,_0x388dab){_0x4513de=_0x4513de-0x164;const _0x573746=_0x26ac();let _0x402bd8=_0x573746[_0x4513de];if(_0x1f30['XsRyUA']===undefined){var _0x66b5f4=function(_0x461c8d){const _0x5e2b3a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x222312='',_0xa7812e='',_0x18cd0f=_0x222312+_0x66b5f4;for(let _0x50b7a=0x0,_0x514d43,_0x2804aa,_0x48cb5f=0x0;_0x2804aa=_0x461c8d['charAt'](_0x48cb5f++);~_0x2804aa&&(_0x514d43=_0x50b7a%0x4?_0x514d43*0x40+_0x2804aa:_0x2804aa,_0x50b7a++%0x4)?_0x222312+=_0x18cd0f['charCodeAt'](_0x48cb5f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x514d43>>(-0x2*_0x50b7a&0x6)):_0x50b7a:0x0){_0x2804aa=_0x5e2b3a['indexOf'](_0x2804aa);}for(let _0xbd840e=0x0,_0x4ccabb=_0x222312['length'];_0xbd840e<_0x4ccabb;_0xbd840e++){_0xa7812e+='%'+('00'+_0x222312['charCodeAt'](_0xbd840e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa7812e);};_0x1f30['dSBkHs']=_0x66b5f4,_0x1f30['kRBniS']={},_0x1f30['XsRyUA']=!![];}const _0x26acfa=_0x573746[0x0],_0x1f3031=_0x4513de+_0x26acfa,_0x92c2e0=_0x1f30['kRBniS'][_0x1f3031];if(!_0x92c2e0){const _0x2c7891=function(_0x464929){this['GIUqIb']=_0x464929,this['wOqrFr']=[0x1,0x0,0x0],this['kzVMoO']=function(){return'newState';},this['kamxuP']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ODAcek']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2c7891['prototype']['gHjHlx']=function(){const _0x15a73f=new RegExp(this['kamxuP']+this['ODAcek']),_0x11d7eb=_0x15a73f['test'](this['kzVMoO']['toString']())?--this['wOqrFr'][0x1]:--this['wOqrFr'][0x0];return this['sUJOjY'](_0x11d7eb);},_0x2c7891['prototype']['sUJOjY']=function(_0x1fb4f5){if(!Boolean(~_0x1fb4f5))return _0x1fb4f5;return this['RlQmkC'](this['GIUqIb']);},_0x2c7891['prototype']['RlQmkC']=function(_0x21b412){for(let _0x3a9dbb=0x0,_0xd626e9=this['wOqrFr']['length'];_0x3a9dbb<_0xd626e9;_0x3a9dbb++){this['wOqrFr']['push'](Math['round'](Math['random']())),_0xd626e9=this['wOqrFr']['length'];}return _0x21b412(this['wOqrFr'][0x0]);},new _0x2c7891(_0x1f30)['gHjHlx'](),_0x402bd8=_0x1f30['dSBkHs'](_0x402bd8),_0x1f30['kRBniS'][_0x1f3031]=_0x402bd8;}else _0x402bd8=_0x92c2e0;return _0x402bd8;}function _0x26ac(){const _0x20a7ba=['y0zZseK','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','BhbOvuK','kcGOlISPkYKRksSK','qMvHCMvYia','mtaZnJaYotzhCg9fweK','mtm2mdCYt2TdsgTP','vfH2AMC','EgHdrNO','yxbWBgLJyxrPB24VANnVBG','nw1KEK9dCa','C3rYAw5NAwz5','mtK5nJuWmfzWDLfAAa','Dg9tDhjPBMC','ndyYmZG0nhrJs2vgDG','mte3uwP3Cvr5','Dgv4Da','mta0mdaXotz1vervC1e','C2vHCMnO','mJq3mZyWvMTHvK51','mJi1ndfbv1vfC3u','uuvpD2e','mJe3BMfdr29m','ndrbDejSEe4','vgv1z3y','suz1zfq','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','mtmWt3bKzw9q','yxbWBhK'];_0x26ac=function(){return _0x20a7ba;};return _0x26ac();}
1
+ (function(_0x9f2730,_0xdf88f5){const _0x4ef3cc=_0x1008,_0x39364c=_0x9f2730();while(!![]){try{const _0x4add64=parseInt(_0x4ef3cc(0x131))/0x1+-parseInt(_0x4ef3cc(0x120))/0x2*(-parseInt(_0x4ef3cc(0x12f))/0x3)+parseInt(_0x4ef3cc(0x11e))/0x4*(parseInt(_0x4ef3cc(0x122))/0x5)+-parseInt(_0x4ef3cc(0x12a))/0x6*(-parseInt(_0x4ef3cc(0x111))/0x7)+parseInt(_0x4ef3cc(0x125))/0x8*(-parseInt(_0x4ef3cc(0x116))/0x9)+-parseInt(_0x4ef3cc(0x11a))/0xa*(-parseInt(_0x4ef3cc(0x117))/0xb)+-parseInt(_0x4ef3cc(0x11b))/0xc;if(_0x4add64===_0xdf88f5)break;else _0x39364c['push'](_0x39364c['shift']());}catch(_0x5c20a8){_0x39364c['push'](_0x39364c['shift']());}}}(_0x58ad,0xeea6d));const _0x5f126d=(function(){const _0x54fe34=_0x1008,_0x4554df={'WcqkY':function(_0x2e397d,_0x87e818){return _0x2e397d===_0x87e818;},'rEhSf':_0x54fe34(0x12b)};let _0x1a67c9=!![];return function(_0x5c1c71,_0x1981b4){const _0x1ca955=_0x54fe34;if(_0x4554df[_0x1ca955(0x11f)]('osjzj',_0x4554df[_0x1ca955(0x121)])){const _0x20f733=_0x1a67c9?function(){const _0x2a1a22=_0x1ca955;if(_0x1981b4){const _0x5f37d7=_0x1981b4[_0x2a1a22(0x119)](_0x5c1c71,arguments);return _0x1981b4=null,_0x5f37d7;}}:function(){};return _0x1a67c9=![],_0x20f733;}else{const _0x5acc71=_0x41f0ea?function(){const _0x4a3a23=_0x1ca955;if(_0x3bb0d3){const _0x54e4f2=_0x4aae8a[_0x4a3a23(0x119)](_0x1a4430,arguments);return _0x402638=null,_0x54e4f2;}}:function(){};return _0x5046fa=![],_0x5acc71;}};}()),_0x2ca9ba=_0x5f126d(this,function(){const _0x2fc2ab=_0x1008,_0x2e1393={'nHlbb':_0x2fc2ab(0x115)};return _0x2ca9ba['toString']()[_0x2fc2ab(0x113)](_0x2e1393['nHlbb'])[_0x2fc2ab(0x112)]()['constructor'](_0x2ca9ba)[_0x2fc2ab(0x113)](_0x2e1393['nHlbb']);});function _0x1008(_0x51dac4,_0x586a4b){_0x51dac4=_0x51dac4-0x10f;const _0x50a0cd=_0x58ad();let _0x2ca9ba=_0x50a0cd[_0x51dac4];if(_0x1008['rRzaeg']===undefined){var _0x5f126d=function(_0x3d4427){const _0xe8e45d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xac8a3f='',_0x53f320='',_0x5f000e=_0xac8a3f+_0x5f126d;for(let _0x22f837=0x0,_0x1dfb9b,_0x517880,_0x1eab27=0x0;_0x517880=_0x3d4427['charAt'](_0x1eab27++);~_0x517880&&(_0x1dfb9b=_0x22f837%0x4?_0x1dfb9b*0x40+_0x517880:_0x517880,_0x22f837++%0x4)?_0xac8a3f+=_0x5f000e['charCodeAt'](_0x1eab27+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1dfb9b>>(-0x2*_0x22f837&0x6)):_0x22f837:0x0){_0x517880=_0xe8e45d['indexOf'](_0x517880);}for(let _0x3377d6=0x0,_0xbed36=_0xac8a3f['length'];_0x3377d6<_0xbed36;_0x3377d6++){_0x53f320+='%'+('00'+_0xac8a3f['charCodeAt'](_0x3377d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x53f320);};_0x1008['XAPMTO']=_0x5f126d,_0x1008['dRQFco']={},_0x1008['rRzaeg']=!![];}const _0x58ad51=_0x50a0cd[0x0],_0x10082f=_0x51dac4+_0x58ad51,_0x47a8c2=_0x1008['dRQFco'][_0x10082f];if(!_0x47a8c2){const _0x41f0ea=function(_0x13ff88){this['XPYddK']=_0x13ff88,this['zwSLQb']=[0x1,0x0,0x0],this['iICXrA']=function(){return'newState';},this['wZnKJp']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['rUwcjq']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x41f0ea['prototype']['acsrBW']=function(){const _0x21e5d8=new RegExp(this['wZnKJp']+this['rUwcjq']),_0x4c7c2e=_0x21e5d8['test'](this['iICXrA']['toString']())?--this['zwSLQb'][0x1]:--this['zwSLQb'][0x0];return this['MNYiPY'](_0x4c7c2e);},_0x41f0ea['prototype']['MNYiPY']=function(_0x4751b3){if(!Boolean(~_0x4751b3))return _0x4751b3;return this['mmSznm'](this['XPYddK']);},_0x41f0ea['prototype']['mmSznm']=function(_0x5046fa){for(let _0x3bb0d3=0x0,_0x29ce77=this['zwSLQb']['length'];_0x3bb0d3<_0x29ce77;_0x3bb0d3++){this['zwSLQb']['push'](Math['round'](Math['random']())),_0x29ce77=this['zwSLQb']['length'];}return _0x5046fa(this['zwSLQb'][0x0]);},new _0x41f0ea(_0x1008)['acsrBW'](),_0x2ca9ba=_0x1008['XAPMTO'](_0x2ca9ba),_0x1008['dRQFco'][_0x10082f]=_0x2ca9ba;}else _0x2ca9ba=_0x47a8c2;return _0x2ca9ba;}_0x2ca9ba();function _0x58ad(){const _0x814bbe=['AvjRtxO','otu4mJyXzND3Bgr6','C3rYAw5NAwz5','yxbWBgLJyxrPB24VANnVBG','ve9uvey','mta5ovfPrLrwBa','Dg9tDhjPBMC','C2vHCMnO','uu5Hr1C','kcGOlISPkYKRksSK','mteWoda5ofrjs1zduG','nJa1v2HZyvDq','s1zYsKC','yxbWBhK','mtm0nZb5u1zjyxG','ntm0nde0otzMCLHWrvO','Dgv4Da','ue9tva','mZC2A1PRuKXN','v2nXA1K','mJGZnhDzAMXhva','CKvOu2y','mtaXntGWC09Lr2fS','zxjYB3i','tM5YCKe','mJryAuTsr2S','t0TSyM0','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','shLWCuu','ndqWmZrVq0votK8','B3nQEMO','z0j5Bva','y29UC3rYDwn0B3i','qMvHCMvYia','mZyXmLvAywLdva'];_0x58ad=function(){return _0x814bbe;};return _0x58ad();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x44803d,_0x8c97ba,_0x2e2d8c){const _0x4fa4b5=_0x1008,_0x512a23={'TOTTF':_0x4fa4b5(0x115),'lnwhI':'KeemL','NnrrA':function(_0x2edaf4){return _0x2edaf4();},'HypqE':function(_0x4317e6,_0x15d951,_0x4798ad){return _0x4317e6(_0x15d951,_0x4798ad);},'QNaGW':_0x4fa4b5(0x11d),'iRkMz':function(_0x12b9c8,_0x5783e4){return _0x12b9c8!==_0x5783e4;},'OKlbm':_0x4fa4b5(0x12c)},_0x52c5f8=await getToken();if(!_0x52c5f8){if(_0x512a23['lnwhI']===_0x4fa4b5(0x118))return;else return;}const _0x337260=_0x512a23[_0x4fa4b5(0x124)](getApiBaseUrl),_0x57fd1c=await _0x512a23[_0x4fa4b5(0x129)](fetch,_0x337260+_0x4fa4b5(0x128),{'method':_0x512a23[_0x4fa4b5(0x114)],'headers':{'Authorization':_0x4fa4b5(0x12e)+_0x52c5f8,'Content-Type':_0x4fa4b5(0x10f)},'body':JSON[_0x4fa4b5(0x132)]({'skillName':_0x44803d,'cliVersion':_0x2e2d8c,'metadata':_0x8c97ba})});if(!_0x57fd1c['ok']){if(_0x512a23[_0x4fa4b5(0x130)](_0x512a23[_0x4fa4b5(0x126)],_0x512a23[_0x4fa4b5(0x126)]))return _0x5a1121[_0x4fa4b5(0x112)]()[_0x4fa4b5(0x113)](_0x4fa4b5(0x115))[_0x4fa4b5(0x112)]()[_0x4fa4b5(0x12d)](_0x5ebfb7)[_0x4fa4b5(0x113)](oQWPXR[_0x4fa4b5(0x110)]);else{const _0x43ada8=await _0x57fd1c[_0x4fa4b5(0x11c)]();console[_0x4fa4b5(0x123)](_0x4fa4b5(0x127)+_0x43ada8);}}}
@@ -1 +1 @@
1
- (function(_0x55bc28,_0x5ee648){const _0x54ccc8=_0x5db4,_0x316d1a=_0x55bc28();while(!![]){try{const _0x427f89=parseInt(_0x54ccc8(0xcc))/0x1*(parseInt(_0x54ccc8(0xc7))/0x2)+-parseInt(_0x54ccc8(0xb5))/0x3*(parseInt(_0x54ccc8(0xc2))/0x4)+parseInt(_0x54ccc8(0xa3))/0x5+-parseInt(_0x54ccc8(0xc3))/0x6+-parseInt(_0x54ccc8(0xcb))/0x7*(-parseInt(_0x54ccc8(0xc0))/0x8)+parseInt(_0x54ccc8(0xc8))/0x9*(parseInt(_0x54ccc8(0xaa))/0xa)+-parseInt(_0x54ccc8(0xba))/0xb;if(_0x427f89===_0x5ee648)break;else _0x316d1a['push'](_0x316d1a['shift']());}catch(_0x277ece){_0x316d1a['push'](_0x316d1a['shift']());}}}(_0x36ce,0x32fb5));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 isRecord(_0xb7c711){return typeof _0xb7c711==='object'&&_0xb7c711!==null;}function isImageBlock(_0x19e531){return isRecord(_0x19e531)&&_0x19e531['type']==='image';}function isDataUrl(_0xccfdec){const _0x5a31ea=_0x5db4;return _0xccfdec['startsWith'](_0x5a31ea(0xa9));}function _0x36ce(){const _0x4c7b2e=['4lyJMks','png','chLPD','907765oMgGvL','CfbzL','dQOqh','trim','pzdWQ','replace','data:','10410mRiHdk','headers','gcnPS','xvZTb','split','size','toString','includes','exec','status','content-length','162KdFRLX','mPSRD','cDcCG','content','Image\x20exceeds\x20size\x20limit\x20(','4032589hIZWfp','base64','source','http://','kgrio','all','1015984fJDtQg','PostToolUse','7208qFCUDP','1817676DgMQdq','data','image/webp','https://','61342ONoXFQ','3609hnTUAm','\x20bytes)','updated','14GpQxDN'];_0x36ce=function(){return _0x4c7b2e;};return _0x36ce();}function parseDataUrl(_0x26e669){const _0x3dc62f=_0x5db4,_0x225209={'mPSRD':function(_0x28216d,_0x58e733){return _0x28216d(_0x58e733);}},_0x399863=/^data:([^;]+);base64,(.+)$/[_0x3dc62f(0xb2)](_0x26e669);if(!_0x399863)return null;const _0x285853=_0x399863[0x1]['toLowerCase']();if(!_0x225209[_0x3dc62f(0xb6)](isValidMediaType,_0x285853))return null;return{'data':_0x399863[0x2],'mediaType':_0x285853};}function isValidMediaType(_0x22b2ec){const _0x29e0fb=_0x5db4,_0x3372e8={'CfbzL':'image/png','fLDrd':_0x29e0fb(0xc5)};return['image/jpeg',_0x3372e8[_0x29e0fb(0xa4)],'image/gif',_0x3372e8['fLDrd']][_0x29e0fb(0xb1)](_0x22b2ec);}function inferMediaType(_0x5643bc,_0x12b7fc){const _0x59703e=_0x5db4,_0x354ea6={'KgWQd':'jpeg','kgrio':'image/jpeg','chLPD':'image/gif','pzdWQ':'webp','PYBxM':_0x59703e(0xc5)};if(_0x5643bc){const _0x553841=_0x5643bc['toLowerCase']()[_0x59703e(0xae)](';')[0x0][_0x59703e(0xa6)]();if(isValidMediaType(_0x553841))return _0x553841;}const _0x54765f=extname(_0x12b7fc)['toLowerCase']()[_0x59703e(0xa8)]('.','');switch(_0x54765f){case'jpg':case _0x354ea6['KgWQd']:return _0x354ea6[_0x59703e(0xbe)];case _0x59703e(0xcd):return'image/png';case'gif':return _0x354ea6[_0x59703e(0xa2)];case _0x354ea6[_0x59703e(0xa7)]:return _0x354ea6['PYBxM'];default:return'image/png';}}function _0x5db4(_0x3c9106,_0x5e875d){_0x3c9106=_0x3c9106-0xa2;const _0x36ce03=_0x36ce();let _0x5db42b=_0x36ce03[_0x3c9106];return _0x5db42b;}async function readImageFromUrl(_0x13e1ed){const _0x188a82=_0x5db4,_0x158a1f={'dQOqh':function(_0x189ff2,_0x125976){return _0x189ff2(_0x125976);},'Nibue':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','gcnPS':function(_0x4f899c,_0x44a8cb){return _0x4f899c>_0x44a8cb;},'cDcCG':function(_0x15ccce,_0xcad47c,_0x16debd){return _0x15ccce(_0xcad47c,_0x16debd);},'BQImO':_0x188a82(0xbd),'xvZTb':function(_0x131130,_0x285658){return _0x131130(_0x285658);}};if(_0x158a1f[_0x188a82(0xa5)](isDataUrl,_0x13e1ed)){const _0x286523=parseDataUrl(_0x13e1ed);if(_0x286523)return _0x286523;throw new Error(_0x158a1f['Nibue']);}if(_0x13e1ed['startsWith']('file://')){const _0x52733c=fileURLToPath(_0x13e1ed),_0x36bffd=await stat(_0x52733c);if(_0x158a1f[_0x188a82(0xac)](_0x36bffd['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x188a82(0xc9));const _0x4be479=await readFile(_0x52733c);return{'data':_0x4be479[_0x188a82(0xb0)](_0x188a82(0xbb)),'mediaType':_0x158a1f[_0x188a82(0xb7)](inferMediaType,null,_0x52733c)};}if(_0x13e1ed['startsWith'](_0x158a1f['BQImO'])||_0x13e1ed['startsWith'](_0x188a82(0xc6))){const _0x465776=await fetch(_0x13e1ed,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x465776['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x465776[_0x188a82(0xb3)]);const _0x52b296=_0x465776[_0x188a82(0xab)]['get'](_0x188a82(0xb4));if(_0x52b296){const _0x5d8621=_0x158a1f['dQOqh'](Number,_0x52b296);if(!Number['isNaN'](_0x5d8621)&&_0x5d8621>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x188a82(0xb9)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x2c3c9b=await _0x465776['arrayBuffer']();if(_0x158a1f[_0x188a82(0xac)](_0x2c3c9b['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x188a82(0xc9));return{'data':Buffer['from'](_0x2c3c9b)['toString']('base64'),'mediaType':inferMediaType(_0x465776[_0x188a82(0xab)]['get']('content-type'),_0x13e1ed)};}const _0x3d1f33=await _0x158a1f[_0x188a82(0xad)](stat,_0x13e1ed);if(_0x3d1f33[_0x188a82(0xaf)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x45cd97=await readFile(_0x13e1ed);return{'data':_0x45cd97[_0x188a82(0xb0)](_0x188a82(0xbb)),'mediaType':_0x158a1f['cDcCG'](inferMediaType,null,_0x13e1ed)};}async function convertImageBlockToBase64(_0x290fdb){const _0x5390ca=_0x5db4,_0x443277={'xZUVQ':function(_0x568bf8,_0xb1d4d6){return _0x568bf8(_0xb1d4d6);},'XYbMw':_0x5390ca(0xbb)};if(_0x290fdb['source']?.['type']===_0x5390ca(0xbb))return{'updated':![],'block':_0x290fdb};if(_0x290fdb[_0x5390ca(0xc4)]&&_0x290fdb['mimeType'])return{'updated':![],'block':_0x290fdb};const _0x51e772=_0x290fdb[_0x5390ca(0xbc)]?.['url']??_0x290fdb['url'];if(!_0x51e772)return{'updated':![],'block':_0x290fdb};const _0xf2a505=await _0x443277['xZUVQ'](readImageFromUrl,_0x51e772);return{'updated':!![],'block':{..._0x290fdb,'source':{'type':_0x443277['XYbMw'],'media_type':_0xf2a505['mediaType'],'data':_0xf2a505['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x118466){const _0x196330=_0x5db4,_0x36c892={'dEEEk':function(_0x3f8a7a,_0x25a31e){return _0x3f8a7a(_0x25a31e);}};if(!isRecord(_0x118466))return{'updated':![],'output':_0x118466};const _0x48a3d2=_0x118466[_0x196330(0xb8)];if(!Array['isArray'](_0x48a3d2))return{'updated':![],'output':_0x118466};let _0x4b61c4=![];const _0x555a81=await Promise[_0x196330(0xbf)](_0x48a3d2['map'](async _0x4175ca=>{const _0x15b3fa=_0x196330;if(!isImageBlock(_0x4175ca))return _0x4175ca;try{const _0x508ba7=await _0x36c892['dEEEk'](convertImageBlockToBase64,_0x4175ca);if(_0x508ba7[_0x15b3fa(0xca)])_0x4b61c4=!![];return _0x508ba7['block'];}catch{return _0x4175ca;}}));if(!_0x4b61c4)return{'updated':![],'output':_0x118466};return{'updated':!![],'output':{..._0x118466,'content':_0x555a81}};}export function createMcpImageBase64Hook(){const _0x3e212b={'CgZRp':function(_0x315e36,_0x5d5e7c){return _0x315e36!==_0x5d5e7c;},'WxDIJ':function(_0xc203e8,_0x27ab9e){return _0xc203e8(_0x27ab9e);}};return async _0x245b2a=>{const _0x5bcb93=_0x5db4;if(_0x3e212b['CgZRp'](_0x245b2a['hook_event_name'],'PostToolUse'))return{};const _0x570e06=_0x245b2a,{updated:_0x3631c1,output:_0x488fbe}=await _0x3e212b['WxDIJ'](convertToolOutputImagesToBase64,_0x570e06['tool_response']);if(!_0x3631c1)return{};return{'hookSpecificOutput':{'hookEventName':_0x5bcb93(0xc1),'updatedMCPToolOutput':_0x488fbe}};};}
1
+ function _0x5313(){const _0x59b6f8=['288486GhFsOC','jpg','image/webp','CZNXa','4NyBCRi','19622AAGkrU','exec','Failed\x20to\x20fetch\x20image:\x20','IWuaP','headers','nlMHn','size','data','43mdjsOB','all','PsERg','146792CORWTp','377037NxJNYv','jpeg','image/png','EVQDH','isArray','JjkyR','type','mediaType','KkIvM','url','toLowerCase','OThiN','content','GlNGG','\x20bytes)','15koyUCy','image/jpeg','trim','2612372gxhnCz','10119813YVCfjy','startsWith','5063250mfleTx','afndB','object','gif','byteLength','updated','toString','18jKPpWS','http://','aGYFy','source','Image\x20exceeds\x20size\x20limit\x20('];_0x5313=function(){return _0x59b6f8;};return _0x5313();}(function(_0xb83054,_0x7aa122){const _0x29f135=_0x376a,_0x5c176e=_0xb83054();while(!![]){try{const _0xd51730=parseInt(_0x29f135(0x109))/0x1*(parseInt(_0x29f135(0x101))/0x2)+-parseInt(_0x29f135(0xdb))/0x3*(-parseInt(_0x29f135(0x100))/0x4)+parseInt(_0x29f135(0xea))/0x5*(-parseInt(_0x29f135(0xfc))/0x6)+parseInt(_0x29f135(0xed))/0x7+parseInt(_0x29f135(0xda))/0x8*(parseInt(_0x29f135(0xf7))/0x9)+parseInt(_0x29f135(0xf0))/0xa+-parseInt(_0x29f135(0xee))/0xb;if(_0xd51730===_0x7aa122)break;else _0x5c176e['push'](_0x5c176e['shift']());}catch(_0x56befc){_0x5c176e['push'](_0x5c176e['shift']());}}}(_0x5313,0x618b9));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 isRecord(_0x105fd5){const _0x348d30=_0x376a,_0x446119={'Xxgyu':function(_0x92d18c,_0x1b8f45){return _0x92d18c!==_0x1b8f45;}};return typeof _0x105fd5===_0x348d30(0xf2)&&_0x446119['Xxgyu'](_0x105fd5,null);}function isImageBlock(_0x586d78){const _0xa399cb=_0x376a,_0x3b47b0={'IWuaP':function(_0x33fa9f,_0x198141){return _0x33fa9f(_0x198141);}};return _0x3b47b0[_0xa399cb(0x104)](isRecord,_0x586d78)&&_0x586d78[_0xa399cb(0xe1)]==='image';}function isDataUrl(_0x18ccd9){const _0x37d53f=_0x376a,_0x5f1ea7={'OThiN':'data:'};return _0x18ccd9['startsWith'](_0x5f1ea7[_0x37d53f(0xe6)]);}function parseDataUrl(_0x544b88){const _0x221b0e=_0x376a,_0x324270={'TcTNn':function(_0x36e541,_0x552a8a){return _0x36e541(_0x552a8a);}},_0x21bf28=/^data:([^;]+);base64,(.+)$/[_0x221b0e(0x102)](_0x544b88);if(!_0x21bf28)return null;const _0x594c39=_0x21bf28[0x1][_0x221b0e(0xe5)]();if(!_0x324270['TcTNn'](isValidMediaType,_0x594c39))return null;return{'data':_0x21bf28[0x2],'mediaType':_0x594c39};}function isValidMediaType(_0x2665dd){const _0x40cc6b=_0x376a,_0x113bc0={'EVQDH':'image/jpeg','adzYb':_0x40cc6b(0xfe)};return[_0x113bc0[_0x40cc6b(0xde)],_0x40cc6b(0xdd),'image/gif',_0x113bc0['adzYb']]['includes'](_0x2665dd);}function inferMediaType(_0x23d921,_0x235723){const _0x464968=_0x376a,_0x5ec109={'OJhne':function(_0x1609fe,_0x1160fc){return _0x1609fe(_0x1160fc);},'PnkRg':function(_0x141b60,_0xa95185){return _0x141b60(_0xa95185);},'KkIvM':_0x464968(0xfd),'XwEfc':_0x464968(0xdc)};if(_0x23d921){const _0x2da2fc=_0x23d921[_0x464968(0xe5)]()['split'](';')[0x0][_0x464968(0xec)]();if(_0x5ec109['OJhne'](isValidMediaType,_0x2da2fc))return _0x2da2fc;}const _0x338e38=_0x5ec109['PnkRg'](extname,_0x235723)[_0x464968(0xe5)]()['replace']('.','');switch(_0x338e38){case _0x5ec109[_0x464968(0xe3)]:case _0x5ec109['XwEfc']:return _0x464968(0xeb);case'png':return _0x464968(0xdd);case _0x464968(0xf3):return'image/gif';case'webp':return'image/webp';default:return'image/png';}}async function readImageFromUrl(_0x3cd203){const _0x5f866b=_0x376a,_0x33f56c={'qGLNx':function(_0x58e319,_0x501b1f){return _0x58e319(_0x501b1f);},'JjkyR':'Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','afndB':function(_0x4c8c0f,_0x5d07f0){return _0x4c8c0f(_0x5d07f0);},'GlNGG':'base64','oXYay':_0x5f866b(0xf8),'PPDqS':'https://','aGYFy':function(_0xa9e7e8,_0x364c81,_0x1afef3){return _0xa9e7e8(_0x364c81,_0x1afef3);},'qVOUa':'content-length','nlMHn':function(_0x32223e,_0x567f27){return _0x32223e(_0x567f27);},'NkmYg':function(_0x13fdb1,_0x515611){return _0x13fdb1>_0x515611;}};if(isDataUrl(_0x3cd203)){const _0xae8a0e=_0x33f56c['qGLNx'](parseDataUrl,_0x3cd203);if(_0xae8a0e)return _0xae8a0e;throw new Error(_0x33f56c[_0x5f866b(0xe0)]);}if(_0x3cd203['startsWith']('file://')){const _0x45f398=fileURLToPath(_0x3cd203),_0x6bdf32=await _0x33f56c['qGLNx'](stat,_0x45f398);if(_0x6bdf32[_0x5f866b(0x107)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+_0x5f866b(0xe9));const _0x139a4f=await _0x33f56c[_0x5f866b(0xf1)](readFile,_0x45f398);return{'data':_0x139a4f[_0x5f866b(0xf6)](_0x33f56c[_0x5f866b(0xe8)]),'mediaType':inferMediaType(null,_0x45f398)};}if(_0x3cd203['startsWith'](_0x33f56c['oXYay'])||_0x3cd203[_0x5f866b(0xef)](_0x33f56c['PPDqS'])){const _0x366c26=await _0x33f56c[_0x5f866b(0xf9)](fetch,_0x3cd203,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x366c26['ok'])throw new Error(_0x5f866b(0x103)+_0x366c26['status']);const _0xfd0e21=_0x366c26[_0x5f866b(0x105)]['get'](_0x33f56c['qVOUa']);if(_0xfd0e21){const _0x19d54b=_0x33f56c[_0x5f866b(0x106)](Number,_0xfd0e21);if(!Number['isNaN'](_0x19d54b)&&_0x19d54b>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x5f866b(0xe9));}const _0xd9e6da=await _0x366c26['arrayBuffer']();if(_0x33f56c['NkmYg'](_0xd9e6da[_0x5f866b(0xf4)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0xd9e6da)[_0x5f866b(0xf6)](_0x33f56c['GlNGG']),'mediaType':inferMediaType(_0x366c26[_0x5f866b(0x105)]['get']('content-type'),_0x3cd203)};}const _0x2d60bc=await stat(_0x3cd203);if(_0x2d60bc['size']>MAX_IMAGE_SIZE_BYTES)throw new Error(_0x5f866b(0xfb)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x43dea5=await _0x33f56c['nlMHn'](readFile,_0x3cd203);return{'data':_0x43dea5['toString'](_0x33f56c['GlNGG']),'mediaType':inferMediaType(null,_0x3cd203)};}function _0x376a(_0x47798b,_0x2d21a0){_0x47798b=_0x47798b-0xd9;const _0x531381=_0x5313();let _0x376a51=_0x531381[_0x47798b];return _0x376a51;}async function convertImageBlockToBase64(_0x3c3ad0){const _0x2e1e64=_0x376a;if(_0x3c3ad0[_0x2e1e64(0xfa)]?.['type']==='base64')return{'updated':![],'block':_0x3c3ad0};if(_0x3c3ad0[_0x2e1e64(0x108)]&&_0x3c3ad0['mimeType'])return{'updated':![],'block':_0x3c3ad0};const _0x1cda11=_0x3c3ad0['source']?.['url']??_0x3c3ad0[_0x2e1e64(0xe4)];if(!_0x1cda11)return{'updated':![],'block':_0x3c3ad0};const _0x1dd366=await readImageFromUrl(_0x1cda11);return{'updated':!![],'block':{..._0x3c3ad0,'source':{'type':'base64','media_type':_0x1dd366[_0x2e1e64(0xe2)],'data':_0x1dd366[_0x2e1e64(0x108)]},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x238cd1){const _0x38bea0=_0x376a,_0x165c30={'CZNXa':function(_0x5a8c60,_0x75f3d7){return _0x5a8c60(_0x75f3d7);},'AeJts':function(_0x130320,_0x198202){return _0x130320(_0x198202);}};if(!_0x165c30['AeJts'](isRecord,_0x238cd1))return{'updated':![],'output':_0x238cd1};const _0x457e5d=_0x238cd1[_0x38bea0(0xe7)];if(!Array[_0x38bea0(0xdf)](_0x457e5d))return{'updated':![],'output':_0x238cd1};let _0x425ac2=![];const _0x1c4dde=await Promise[_0x38bea0(0x10a)](_0x457e5d['map'](async _0x128acb=>{const _0x1c27fd=_0x38bea0;if(!_0x165c30[_0x1c27fd(0xff)](isImageBlock,_0x128acb))return _0x128acb;try{const _0x24933f=await convertImageBlockToBase64(_0x128acb);if(_0x24933f[_0x1c27fd(0xf5)])_0x425ac2=!![];return _0x24933f['block'];}catch{return _0x128acb;}}));if(!_0x425ac2)return{'updated':![],'output':_0x238cd1};return{'updated':!![],'output':{..._0x238cd1,'content':_0x1c4dde}};}export function createMcpImageBase64Hook(){const _0x4dfa4e={'SvdFX':function(_0x459124,_0xfaf649){return _0x459124!==_0xfaf649;},'PsERg':'PostToolUse'};return async _0x2a9e36=>{const _0x261423=_0x376a;if(_0x4dfa4e['SvdFX'](_0x2a9e36['hook_event_name'],_0x4dfa4e['PsERg']))return{};const _0x279b6e=_0x2a9e36,{updated:_0x3e06b6,output:_0x139e86}=await convertToolOutputImagesToBase64(_0x279b6e['tool_response']);if(!_0x3e06b6)return{};return{'hookSpecificOutput':{'hookEventName':_0x4dfa4e[_0x261423(0xd9)],'updatedMCPToolOutput':_0x139e86}};};}
@@ -1 +1 @@
1
- const _0x403b40=_0x9b89;function _0x3f1a(){const _0x1b3689=['15234LHFujd','claude-opus-4-6','2515185yBCnpF','2041614QczKDs','708974CidYBW','8234048iWpBqY','3692072dPbQpo','2786LuuJSs','12669363UUGrUn','2XTLrzz'];_0x3f1a=function(){return _0x1b3689;};return _0x3f1a();}(function(_0x5890fd,_0x3652ff){const _0x3302e3=_0x9b89,_0x4a2834=_0x5890fd();while(!![]){try{const _0x4e34f0=parseInt(_0x3302e3(0xb0))/0x1+parseInt(_0x3302e3(0xb5))/0x2*(parseInt(_0x3302e3(0xb9))/0x3)+-parseInt(_0x3302e3(0xb2))/0x4+-parseInt(_0x3302e3(0xb8))/0x5+-parseInt(_0x3302e3(0xb6))/0x6*(-parseInt(_0x3302e3(0xb3))/0x7)+parseInt(_0x3302e3(0xb1))/0x8+-parseInt(_0x3302e3(0xb4))/0x9;if(_0x4e34f0===_0x3652ff)break;else _0x4a2834['push'](_0x4a2834['shift']());}catch(_0xcf86ef){_0x4a2834['push'](_0x4a2834['shift']());}}}(_0x3f1a,0x91648));const VERIFY_MODEL_ALIASES={'opus':_0x403b40(0xb7),'sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x403b40(0xb7);function _0x9b89(_0x3335f7,_0x5ba8e7){_0x3335f7=_0x3335f7-0xb0;const _0x3f1aaa=_0x3f1a();let _0x9b8919=_0x3f1aaa[_0x3335f7];return _0x9b8919;}export function resolveVerifyModel(_0x2dfcf9){if(!_0x2dfcf9)return undefined;const _0x57ad55=_0x2dfcf9['trim']();if(!_0x57ad55)return undefined;const _0x5938e6=VERIFY_MODEL_ALIASES[_0x57ad55['toLowerCase']()];return _0x5938e6??_0x57ad55;}
1
+ const _0x66f664=_0x2204;(function(_0x505c25,_0x5c50b6){const _0x3e84f4=_0x2204,_0x3a53b4=_0x505c25();while(!![]){try{const _0x29aea0=parseInt(_0x3e84f4(0x6f))/0x1+-parseInt(_0x3e84f4(0x71))/0x2*(parseInt(_0x3e84f4(0x6e))/0x3)+-parseInt(_0x3e84f4(0x6a))/0x4+-parseInt(_0x3e84f4(0x6c))/0x5+parseInt(_0x3e84f4(0x6d))/0x6+parseInt(_0x3e84f4(0x70))/0x7+parseInt(_0x3e84f4(0x6b))/0x8*(parseInt(_0x3e84f4(0x72))/0x9);if(_0x29aea0===_0x5c50b6)break;else _0x3a53b4['push'](_0x3a53b4['shift']());}catch(_0x4a5582){_0x3a53b4['push'](_0x3a53b4['shift']());}}}(_0xeac3,0x56eef));const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':'claude-sonnet-4-6'};export const DEFAULT_VERIFY_MODEL=_0x66f664(0x73);function _0x2204(_0x32dee6,_0x30fce9){_0x32dee6=_0x32dee6-0x6a;const _0xeac3c5=_0xeac3();let _0x2204de=_0xeac3c5[_0x32dee6];return _0x2204de;}function _0xeac3(){const _0x3a9ec3=['514994qvWwGL','175196BHbnEm','530092ZkxXxr','27rwPTxE','claude-opus-4-6','2097360cxiFmL','3581416jUFdGh','2759990UGpWnS','476736jpghsg','6qSTrCB'];_0xeac3=function(){return _0x3a9ec3;};return _0xeac3();}export function resolveVerifyModel(_0x553e09){if(!_0x553e09)return undefined;const _0x29e33e=_0x553e09['trim']();if(!_0x29e33e)return undefined;const _0x150fcc=VERIFY_MODEL_ALIASES[_0x29e33e['toLowerCase']()];return _0x150fcc??_0x29e33e;}
@@ -1 +1 @@
1
- (function(_0x1efdb4,_0x204606){var _0xb26ea2=_0x1e97,_0x2aaf57=_0x1efdb4();while(!![]){try{var _0xd36900=-parseInt(_0xb26ea2(0x11f))/0x1*(parseInt(_0xb26ea2(0x11d))/0x2)+-parseInt(_0xb26ea2(0x127))/0x3*(parseInt(_0xb26ea2(0x12e))/0x4)+parseInt(_0xb26ea2(0x124))/0x5+parseInt(_0xb26ea2(0x120))/0x6+-parseInt(_0xb26ea2(0x12b))/0x7*(parseInt(_0xb26ea2(0x122))/0x8)+parseInt(_0xb26ea2(0x11e))/0x9*(parseInt(_0xb26ea2(0x12f))/0xa)+parseInt(_0xb26ea2(0x126))/0xb;if(_0xd36900===_0x204606)break;else _0x2aaf57['push'](_0x2aaf57['shift']());}catch(_0x1ecd1c){_0x2aaf57['push'](_0x2aaf57['shift']());}}}(_0x5df3,0x9767b));function _0x1e97(_0x3a8f11,_0x3757be){_0x3a8f11=_0x3a8f11-0x11d;var _0x5df391=_0x5df3();var _0x1e978a=_0x5df391[_0x3a8f11];return _0x1e978a;}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x5df3(){var _0x6879e7=['1860996hhbtez','OPENCODE_CONFIG_DIR','8IWwAiY','opencode','768605PNDSry','YNJfw','17388778hKtuqj','612GdcwVk','LSlTC','env','user','4861731PVuVnE','rmHaG','.config','6772iMyGBs','321220BeeErB','38bsqcLn','108aWQnZM','40531JpORjX'];_0x5df3=function(){return _0x6879e7;};return _0x5df3();}export function getOpencodeConfigDir(_0x4b968d){var _0xd497e=_0x1e97,_0xd97e1d={'ShTTA':function(_0x778e1e,_0x14b6b8,_0x2a5499){return _0x778e1e(_0x14b6b8,_0x2a5499);},'LSlTC':_0xd497e(0x123),'YNJfw':function(_0x4ba031,_0x3298a4,_0x421d59,_0x13abca){return _0x4ba031(_0x3298a4,_0x421d59,_0x13abca);},'nFLvg':function(_0x1f05f2){return _0x1f05f2();},'gQzyb':'.opencode'};if(process['env'][_0xd497e(0x121)])return process['env'][_0xd497e(0x121)];if(_0x4b968d===_0xd497e(0x12a)){if(process['env']['XDG_CONFIG_HOME'])return _0xd97e1d['ShTTA'](join,process[_0xd497e(0x129)]['XDG_CONFIG_HOME'],_0xd97e1d[_0xd497e(0x128)]);return _0xd97e1d[_0xd497e(0x125)](join,_0xd97e1d['nFLvg'](homedir),_0xd497e(0x12d),'opencode');}return join(getProjectRoot(),_0xd97e1d['gQzyb']);}export function getOpencodeSkillsDir(_0xd85adb){var _0x38d685=_0x1e97,_0x5250b1={'ZFYPw':function(_0x549be7,_0xee8633,_0x2135c5){return _0x549be7(_0xee8633,_0x2135c5);},'rmHaG':'skills'};return _0x5250b1['ZFYPw'](join,getOpencodeConfigDir(_0xd85adb),_0x5250b1[_0x38d685(0x12c)]);}
1
+ (function(_0x5cc614,_0x5f03b2){var _0x30044e=_0x4466,_0x35f420=_0x5cc614();while(!![]){try{var _0x3c9b3a=parseInt(_0x30044e(0xb9))/0x1+-parseInt(_0x30044e(0xc8))/0x2*(parseInt(_0x30044e(0xbf))/0x3)+-parseInt(_0x30044e(0xbb))/0x4+parseInt(_0x30044e(0xc6))/0x5+-parseInt(_0x30044e(0xba))/0x6+parseInt(_0x30044e(0xc4))/0x7+parseInt(_0x30044e(0xc0))/0x8;if(_0x3c9b3a===_0x5f03b2)break;else _0x35f420['push'](_0x35f420['shift']());}catch(_0x1fb51a){_0x35f420['push'](_0x35f420['shift']());}}}(_0x2c7a,0xbdd6b));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x4466(_0x3b154d,_0x19872f){_0x3b154d=_0x3b154d-0xb9;var _0x2c7ad9=_0x2c7a();var _0x446679=_0x2c7ad9[_0x3b154d];return _0x446679;}function _0x2c7a(){var _0x32243d=['OPENCODE_CONFIG_DIR','4455066FnzEhJ','env','432295dzojyV','RijQg','2bqJKJG','OmSOB','user','1223996ZYmYqF','3139080ImbriQ','617008vVmbYC','NJHvQ','opencode','XDG_CONFIG_HOME','3587808neXZBJ','5632432QnghlA','skills','LFdcF'];_0x2c7a=function(){return _0x32243d;};return _0x2c7a();}export function getOpencodeConfigDir(_0x24a23c){var _0x2babc7=_0x4466,_0x2f7897={'OmSOB':function(_0x3ec4af,_0x4983d3){return _0x3ec4af===_0x4983d3;},'LFdcF':'.config','RijQg':function(_0x2a2baf,_0x338b94,_0x3eba2b){return _0x2a2baf(_0x338b94,_0x3eba2b);},'iRTrz':'.opencode'};if(process['env']['OPENCODE_CONFIG_DIR'])return process['env'][_0x2babc7(0xc3)];if(_0x2f7897[_0x2babc7(0xc9)](_0x24a23c,_0x2babc7(0xca))){if(process['env'][_0x2babc7(0xbe)])return join(process[_0x2babc7(0xc5)]['XDG_CONFIG_HOME'],_0x2babc7(0xbd));return join(homedir(),_0x2f7897[_0x2babc7(0xc2)],_0x2babc7(0xbd));}return _0x2f7897[_0x2babc7(0xc7)](join,getProjectRoot(),_0x2f7897['iRTrz']);}export function getOpencodeSkillsDir(_0x4f174a){var _0x16513b=_0x4466,_0x101054={'NJHvQ':function(_0x349ff1,_0x54404d){return _0x349ff1(_0x54404d);}};return join(_0x101054[_0x16513b(0xbc)](getOpencodeConfigDir,_0x4f174a),_0x16513b(0xc1));}
@@ -1 +1 @@
1
- const _0x1bedce=_0x46cf;(function(_0x52f617,_0x836df7){const _0x56ac01=_0x46cf,_0xc337cb=_0x52f617();while(!![]){try{const _0x594d06=-parseInt(_0x56ac01(0x14b))/0x1*(-parseInt(_0x56ac01(0x13e))/0x2)+parseInt(_0x56ac01(0x148))/0x3*(-parseInt(_0x56ac01(0x149))/0x4)+parseInt(_0x56ac01(0x147))/0x5*(-parseInt(_0x56ac01(0x141))/0x6)+-parseInt(_0x56ac01(0x140))/0x7*(-parseInt(_0x56ac01(0x144))/0x8)+-parseInt(_0x56ac01(0x142))/0x9*(parseInt(_0x56ac01(0x145))/0xa)+-parseInt(_0x56ac01(0x13f))/0xb+parseInt(_0x56ac01(0x146))/0xc;if(_0x594d06===_0x836df7)break;else _0xc337cb['push'](_0xc337cb['shift']());}catch(_0x135630){_0xc337cb['push'](_0xc337cb['shift']());}}}(_0x2104,0xb3914));function _0x2104(){const _0x584046=['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','279176QpNTqE','5965690LxFUvF','18868872teXwUW','24425Esppzc','75XbUWLE','32276pFYERs','ranger\x20profile\x20add\x20local','9bjocdt','198698IAossK','7789342FmViKe','147RbqRqP','1176eXweMI','9DLXYuW'];_0x2104=function(){return _0x584046;};return _0x2104();}function _0x46cf(_0xecb18,_0x570071){_0xecb18=_0xecb18-0x13e;const _0x210423=_0x2104();let _0x46cf99=_0x210423[_0xecb18];return _0x46cf99;}const DEFAULT_PROFILE_COMMAND=_0x1bedce(0x14a);export function formatProfileRequiredMessage(_0x333a5d){const _0x337cbc=_0x1bedce,_0x34416a={'yYEmQ':function(_0x5cb7d5,_0x56128e){return _0x5cb7d5(_0x56128e);}},_0x30a313=_0x333a5d?_0x34416a['yYEmQ'](_0x333a5d,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x337cbc(0x143)+_0x30a313+'.';}
1
+ function _0x39a4(_0x11741e,_0x36d866){_0x11741e=_0x11741e-0xd0;const _0x1468e3=_0x1468();let _0x39a416=_0x1468e3[_0x11741e];return _0x39a416;}const _0x14a1e2=_0x39a4;function _0x1468(){const _0x3852eb=['260SYMphd','130554GeGRnD','10NoXojW','2351476AwwWTt','19985BNyiqh','ranger\x20profile\x20add\x20local','2911755YOJjGv','140568bcxtcU','576zzMqSX','1040862RQIalg','8dPYsxn','520165MPUIyl'];_0x1468=function(){return _0x3852eb;};return _0x1468();}(function(_0x53f61f,_0x5204c2){const _0x114423=_0x39a4,_0xa9bd7d=_0x53f61f();while(!![]){try{const _0x597b42=-parseInt(_0x114423(0xd5))/0x1+parseInt(_0x114423(0xd4))/0x2*(-parseInt(_0x114423(0xd1))/0x3)+parseInt(_0x114423(0xd9))/0x4+-parseInt(_0x114423(0xd8))/0x5*(parseInt(_0x114423(0xd3))/0x6)+parseInt(_0x114423(0xda))/0x7*(parseInt(_0x114423(0xd2))/0x8)+parseInt(_0x114423(0xd7))/0x9*(parseInt(_0x114423(0xd6))/0xa)+parseInt(_0x114423(0xd0))/0xb;if(_0x597b42===_0x5204c2)break;else _0xa9bd7d['push'](_0xa9bd7d['shift']());}catch(_0x254f1b){_0xa9bd7d['push'](_0xa9bd7d['shift']());}}}(_0x1468,0x5cf4b));const DEFAULT_PROFILE_COMMAND=_0x14a1e2(0xdb);export function formatProfileRequiredMessage(_0x56f675){const _0x34ad58=_0x56f675?_0x56f675(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'+_0x34ad58+'.';}
@@ -1 +1 @@
1
- (function(_0x430165,_0x22c67e){const _0x38edb5=_0x1a5d,_0x312a44=_0x430165();while(!![]){try{const _0x51d522=parseInt(_0x38edb5(0x195))/0x1*(parseInt(_0x38edb5(0x196))/0x2)+parseInt(_0x38edb5(0x191))/0x3*(-parseInt(_0x38edb5(0x187))/0x4)+parseInt(_0x38edb5(0x190))/0x5+-parseInt(_0x38edb5(0x186))/0x6*(-parseInt(_0x38edb5(0x18c))/0x7)+-parseInt(_0x38edb5(0x18f))/0x8+-parseInt(_0x38edb5(0x199))/0x9+parseInt(_0x38edb5(0x198))/0xa;if(_0x51d522===_0x22c67e)break;else _0x312a44['push'](_0x312a44['shift']());}catch(_0x4c2537){_0x312a44['push'](_0x312a44['shift']());}}}(_0x5762,0xd9892));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x1e5863=_0x1a5d,_0x13429f={'xasNh':function(_0x57bccb,_0x5c15fa){return _0x57bccb+_0x5c15fa;},'Kooyx':function(_0x5c4d95,_0x4200f5){return _0x5c4d95+_0x4200f5;},'aGOSL':function(_0x4000f4,_0x3f5760){return _0x4000f4+_0x3f5760;},'BUPJn':'<div\x20class=\x22ranger-banner__content\x22>','gEzJh':'<div\x20class=\x22ranger-banner__message\x22>','ivUcz':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','JGeMu':_0x1e5863(0x18b)},_0x241767=_0x13429f[_0x1e5863(0x18d)](_0x13429f['xasNh'](_0x13429f['Kooyx'](_0x13429f[_0x1e5863(0x188)](_0x13429f[_0x1e5863(0x193)](_0x13429f[_0x1e5863(0x19b)]+_0x1e5863(0x192)+_0x13429f['gEzJh'],'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>'),_0x13429f[_0x1e5863(0x197)]),'</div>'),_0x1e5863(0x189)),_0x13429f[_0x1e5863(0x18a)]),_0x24edb8=_0x1e5863(0x18e);return'\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'+JSON[_0x1e5863(0x19c)](_0x241767)+_0x1e5863(0x19d)+JSON['stringify'](_0x24edb8)+_0x1e5863(0x19a);})());function _0x5762(){const _0x5bed7a=['Kooyx','addInitScript','5172pxvzXr','384aHPWop','ivUcz','25345260pSOahQ','13827645EDAxkS',';\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','BUPJn','stringify',';\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','774RVHUvT','1072OkoYEa','aGOSL','</div>','JGeMu','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','1575OTrBPn','xasNh','\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','8645568kJRbQZ','1991540GPFeWR','5001gUZGFR','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>'];_0x5762=function(){return _0x5bed7a;};return _0x5762();}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1a5d(_0x50f854,_0x18f576){_0x50f854=_0x50f854-0x186;const _0x57627b=_0x5762();let _0x1a5da8=_0x57627b[_0x50f854];return _0x1a5da8;}export async function addProfileSetupBanner(_0x33849d){const _0x4b9277=_0x1a5d;await _0x33849d[_0x4b9277(0x194)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ function _0x2bc7(_0x1fce7b,_0x9fecee){_0x1fce7b=_0x1fce7b-0x183;const _0x51225c=_0x5122();let _0x2bc7b0=_0x51225c[_0x1fce7b];return _0x2bc7b0;}(function(_0x7aa8ef,_0x2b84f1){const _0x2dedfe=_0x2bc7,_0x2a625f=_0x7aa8ef();while(!![]){try{const _0x2f3f7f=-parseInt(_0x2dedfe(0x18d))/0x1+-parseInt(_0x2dedfe(0x18e))/0x2+parseInt(_0x2dedfe(0x188))/0x3+parseInt(_0x2dedfe(0x184))/0x4+-parseInt(_0x2dedfe(0x190))/0x5+parseInt(_0x2dedfe(0x193))/0x6*(-parseInt(_0x2dedfe(0x185))/0x7)+parseInt(_0x2dedfe(0x186))/0x8;if(_0x2f3f7f===_0x2b84f1)break;else _0x2a625f['push'](_0x2a625f['shift']());}catch(_0x336e27){_0x2a625f['push'](_0x2a625f['shift']());}}}(_0x5122,0x80b60));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x17f00b=_0x2bc7,_0x3803b5={'JJmyL':function(_0x3b0050,_0x3bb40a){return _0x3b0050+_0x3bb40a;},'Krjek':function(_0xaeba25,_0x9c3a6){return _0xaeba25+_0x9c3a6;},'gzWax':'<div\x20class=\x22ranger-banner__content\x22>','THSow':_0x17f00b(0x18c),'bdKaO':'</div>'},_0x385309=_0x3803b5['JJmyL'](_0x3803b5[_0x17f00b(0x195)](_0x3803b5[_0x17f00b(0x195)](_0x3803b5[_0x17f00b(0x189)](_0x3803b5[_0x17f00b(0x194)],_0x17f00b(0x18f)),_0x3803b5['THSow']),'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x17f00b(0x192),_0x3803b5['bdKaO'])+'</div>'+_0x17f00b(0x183),_0x5169ff=_0x17f00b(0x18b);return _0x17f00b(0x18a)+JSON['stringify'](_0x385309)+';\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['stringify'](_0x5169ff)+_0x17f00b(0x191);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x1180d4){const _0x56fe6b=_0x2bc7;await _0x1180d4[_0x56fe6b(0x187)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x5122(){const _0x4dccca=['<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','188502ZdyxUW','gzWax','JJmyL','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','2743156NjAUfx','203RUCPKY','10919520dquSQY','addInitScript','2202597fIMGSX','Krjek','\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','\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','<div\x20class=\x22ranger-banner__message\x22>','294744WSuKbw','1756286CyghqK','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','868740zsbFJD',';\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'];_0x5122=function(){return _0x4dccca;};return _0x5122();}
@@ -1 +1 @@
1
- (function(_0x3a1d39,_0x2b90a9){const _0x73edda=_0x48ef,_0x37539f=_0x3a1d39();while(!![]){try{const _0x3ea19f=-parseInt(_0x73edda(0x7c))/0x1+parseInt(_0x73edda(0x89))/0x2+parseInt(_0x73edda(0x87))/0x3+-parseInt(_0x73edda(0x7a))/0x4+parseInt(_0x73edda(0x83))/0x5+parseInt(_0x73edda(0x81))/0x6+parseInt(_0x73edda(0x85))/0x7*(-parseInt(_0x73edda(0x82))/0x8);if(_0x3ea19f===_0x2b90a9)break;else _0x37539f['push'](_0x37539f['shift']());}catch(_0xe79301){_0x37539f['push'](_0x37539f['shift']());}}}(_0x1367,0x7f2b0));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x48ef(_0x559cca,_0x1ede62){_0x559cca=_0x559cca-0x7a;const _0x136734=_0x1367();let _0x48ef7d=_0x136734[_0x559cca];return _0x48ef7d;}import{getRangerDir}from'./rangerRoot.js';function _0x1367(){const _0x23c312=['message','2695062lfaTIG','755200zWTbUu','2345645KDUFot','string','35zOusyC','PgBPP','1168326kRADzw','cxUty','1365604hGfVli','model','parse','961808tLWuKL','ufZtY','757218XFcjlp','mSUaH','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','warn'];_0x1367=function(){return _0x23c312;};return _0x1367();}export function getRangerConfigPath(){const _0x30f87a=_0x48ef,_0xac828b={'mSUaH':function(_0x4c1e10,_0x43ae45,_0x34f0c3){return _0x4c1e10(_0x43ae45,_0x34f0c3);},'DLfKa':function(_0xfd78fa){return _0xfd78fa();},'cxUty':'config.json'};return _0xac828b[_0x30f87a(0x7d)](join,_0xac828b['DLfKa'](getRangerDir),_0xac828b[_0x30f87a(0x88)]);}export async function loadRangerConfig(){const _0x858777=_0x48ef,_0x204b30={'atsFt':function(_0x4330ef){return _0x4330ef();},'ufZtY':'utf-8','PgBPP':function(_0x4f2e10,_0x1f3bbd){return _0x4f2e10!==_0x1f3bbd;},'Klalc':_0x858777(0x84),'KUgjY':function(_0x58a3b5,_0x3f9715){return _0x58a3b5 instanceof _0x3f9715;}},_0x3d07c4=_0x204b30['atsFt'](getRangerConfigPath);if(!existsSync(_0x3d07c4))return{};try{const _0x1f79a2=await readFile(_0x3d07c4,_0x204b30[_0x858777(0x7b)]),_0x2c2980=JSON[_0x858777(0x8b)](_0x1f79a2);if(!_0x2c2980||_0x204b30[_0x858777(0x86)](typeof _0x2c2980,'object')||Array['isArray'](_0x2c2980))return{};const _0x487560={},_0xed1975=_0x2c2980[_0x858777(0x8a)];return typeof _0xed1975===_0x204b30['Klalc']&&(_0x487560[_0x858777(0x8a)]=_0xed1975),_0x487560;}catch(_0x28c7aa){const _0x107ed6=_0x204b30['KUgjY'](_0x28c7aa,Error)?_0x28c7aa[_0x858777(0x80)]:String(_0x28c7aa);return console[_0x858777(0x7f)](_0x858777(0x7e)+_0x3d07c4+':\x20'+_0x107ed6),{};}}
1
+ (function(_0x40d5a3,_0x40d1b2){const _0x10e0ba=_0x1cfc,_0x2fa293=_0x40d5a3();while(!![]){try{const _0x15b38f=-parseInt(_0x10e0ba(0x1c5))/0x1*(parseInt(_0x10e0ba(0x1bf))/0x2)+-parseInt(_0x10e0ba(0x1b7))/0x3*(parseInt(_0x10e0ba(0x1c1))/0x4)+-parseInt(_0x10e0ba(0x1ba))/0x5+-parseInt(_0x10e0ba(0x1b6))/0x6+parseInt(_0x10e0ba(0x1be))/0x7+-parseInt(_0x10e0ba(0x1bd))/0x8+-parseInt(_0x10e0ba(0x1b5))/0x9*(-parseInt(_0x10e0ba(0x1bc))/0xa);if(_0x15b38f===_0x40d1b2)break;else _0x2fa293['push'](_0x2fa293['shift']());}catch(_0x429f51){_0x2fa293['push'](_0x2fa293['shift']());}}}(_0x3f5b,0x4bcee));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x309439=_0x1cfc,_0x1f0b8b={'oaXji':function(_0x358513,_0x3267d1,_0x548679){return _0x358513(_0x3267d1,_0x548679);},'HABPI':function(_0x178c62){return _0x178c62();},'NiKnC':'config.json'};return _0x1f0b8b['oaXji'](join,_0x1f0b8b['HABPI'](getRangerDir),_0x1f0b8b[_0x309439(0x1bb)]);}export async function loadRangerConfig(){const _0x189a78=_0x1cfc,_0x311a0b={'DpCFK':function(_0x3d2355){return _0x3d2355();},'oaEDL':'utf-8','EXwby':function(_0x516dd1,_0x4ce872){return _0x516dd1!==_0x4ce872;},'pQqNL':_0x189a78(0x1c4),'GyEzB':'string','zFetG':function(_0x2f39e5,_0xbc722b){return _0x2f39e5 instanceof _0xbc722b;}},_0x18e9b7=_0x311a0b['DpCFK'](getRangerConfigPath);if(!existsSync(_0x18e9b7))return{};try{const _0x40ef0b=await readFile(_0x18e9b7,_0x311a0b[_0x189a78(0x1c3)]),_0x5d99ba=JSON[_0x189a78(0x1c2)](_0x40ef0b);if(!_0x5d99ba||_0x311a0b['EXwby'](typeof _0x5d99ba,_0x311a0b[_0x189a78(0x1b8)])||Array['isArray'](_0x5d99ba))return{};const _0x549c22={},_0x182974=_0x5d99ba['model'];return typeof _0x182974===_0x311a0b['GyEzB']&&(_0x549c22['model']=_0x182974),_0x549c22;}catch(_0xed6723){const _0x58b971=_0x311a0b['zFetG'](_0xed6723,Error)?_0xed6723[_0x189a78(0x1c0)]:String(_0xed6723);return console[_0x189a78(0x1b9)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x18e9b7+':\x20'+_0x58b971),{};}}function _0x1cfc(_0x4371eb,_0x500690){_0x4371eb=_0x4371eb-0x1b5;const _0x3f5b0d=_0x3f5b();let _0x1cfce7=_0x3f5b0d[_0x4371eb];return _0x1cfce7;}function _0x3f5b(){const _0x2e00e5=['NiKnC','10ocQMiz','1547472dAwGmV','2830604KYxpRN','2MyLxLs','message','1027688IUZHUR','parse','oaEDL','object','184658dsmWsM','7950141ycVudy','1780896JpTfpn','3cQndUW','pQqNL','warn','226905bpYSqU'];_0x3f5b=function(){return _0x2e00e5;};return _0x3f5b();}
@@ -1 +1 @@
1
- (function(_0x221290,_0x3585da){const _0x1975d7=_0x44e5,_0x21cc0f=_0x221290();while(!![]){try{const _0x984c18=parseInt(_0x1975d7(0xc7))/0x1+parseInt(_0x1975d7(0xca))/0x2+parseInt(_0x1975d7(0xd5))/0x3*(-parseInt(_0x1975d7(0xd0))/0x4)+-parseInt(_0x1975d7(0xce))/0x5+-parseInt(_0x1975d7(0xc9))/0x6*(parseInt(_0x1975d7(0xd3))/0x7)+-parseInt(_0x1975d7(0xd2))/0x8*(parseInt(_0x1975d7(0xd1))/0x9)+parseInt(_0x1975d7(0xcb))/0xa;if(_0x984c18===_0x3585da)break;else _0x21cc0f['push'](_0x21cc0f['shift']());}catch(_0x154ef7){_0x21cc0f['push'](_0x21cc0f['shift']());}}}(_0x439b,0xa8aa9));import{dirname,join,parse}from'path';function _0x44e5(_0x58709e,_0x52f92d){_0x58709e=_0x58709e-0xc6;const _0x439b04=_0x439b();let _0x44e588=_0x439b04[_0x58709e];return _0x44e588;}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x5e357b=_0x44e5,_0x432a52={'VkIRz':function(_0x310456,_0x116311){return _0x310456(_0x116311);},'tPsrf':function(_0x2a7867,_0x485d4a){return _0x2a7867!==_0x485d4a;},'uFvbq':function(_0xc9098c,_0x10a374){return _0xc9098c(_0x10a374);},'rbObg':function(_0x5ae3b3,_0x56547d,_0x3dcf6a){return _0x5ae3b3(_0x56547d,_0x3dcf6a);},'zgTQP':_0x5e357b(0xc8),'XaeVh':function(_0x301866,_0x852108){return _0x301866(_0x852108);},'yuOTl':function(_0x4d692d){return _0x4d692d();}};let _0x4d84b5=process[_0x5e357b(0xd4)]();const _0x3ba7dd=_0x432a52[_0x5e357b(0xc6)](parse,_0x4d84b5)[_0x5e357b(0xd6)];while(_0x432a52['tPsrf'](_0x4d84b5,_0x3ba7dd)){if(_0x432a52['uFvbq'](existsSync,_0x432a52['rbObg'](join,_0x4d84b5,_0x432a52[_0x5e357b(0xcf)])))return _0x4d84b5;_0x4d84b5=dirname(_0x4d84b5);}if(_0x432a52['XaeVh'](existsSync,join(_0x3ba7dd,_0x432a52[_0x5e357b(0xcf)])))return _0x3ba7dd;const _0x43ee3a=_0x432a52['yuOTl'](findGitRoot);if(_0x43ee3a)return _0x43ee3a;return process[_0x5e357b(0xd4)]();}function _0x439b(){const _0x19011a=['cwd','136548DULNFj','root','VkIRz','474374ONJUbs','.ranger','468cXveOj','1719810hmELJG','5093140kaqyxS','GrdSD','yeGty','1782980UKCUFS','zgTQP','4iQUboc','53595AYyMSV','448enhBJl','37436tBojXM'];_0x439b=function(){return _0x19011a;};return _0x439b();}export function getRangerDir(){const _0x1072b2={'JjXZc':function(_0x415e6c,_0x1fab70,_0x2d971c){return _0x415e6c(_0x1fab70,_0x2d971c);},'uRuTF':'.ranger'};return _0x1072b2['JjXZc'](join,getRangerRoot(),_0x1072b2['uRuTF']);}export function findGitRoot(){const _0x50f2d5=_0x44e5,_0xa42ac2={'GrdSD':function(_0x538395,_0x52a1b8){return _0x538395(_0x52a1b8);}};let _0x3dc514=process['cwd']();const _0x3c6f66=_0xa42ac2[_0x50f2d5(0xcc)](parse,_0x3dc514)['root'];while(_0x3dc514!==_0x3c6f66){if(existsSync(join(_0x3dc514,'.git')))return _0x3dc514;_0x3dc514=_0xa42ac2[_0x50f2d5(0xcc)](dirname,_0x3dc514);}if(existsSync(join(_0x3c6f66,'.git')))return _0x3c6f66;return null;}export function getRangerHomeDir(){const _0x266058=_0x44e5,_0x1e79cb={'jsxbt':function(_0x1f2c04,_0x2cc3e7,_0x1c0ac5){return _0x1f2c04(_0x2cc3e7,_0x1c0ac5);},'yeGty':'.ranger'};return _0x1e79cb['jsxbt'](join,homedir(),_0x1e79cb[_0x266058(0xcd)]);}
1
+ function _0x3904(){const _0x5811a0=['.ranger','77ajFzMX','40BtnOMg','qEVMF','295923HzFmbV','439404LBnEMd','4XkLYgW','43608eIggoG','2310VTBbZW','422256bKNRCV','tqbgE','91819bsFraF','2945268tWmrTJ','10vyqDvw','42IFqjBK','root','cwd'];_0x3904=function(){return _0x5811a0;};return _0x3904();}(function(_0x1efbfc,_0x5abf57){const _0x20a15c=_0xe7f8,_0xe2e6c1=_0x1efbfc();while(!![]){try{const _0x14058e=parseInt(_0x20a15c(0xfb))/0x1+parseInt(_0x20a15c(0xfe))/0x2+parseInt(_0x20a15c(0x100))/0x3*(-parseInt(_0x20a15c(0xfd))/0x4)+parseInt(_0x20a15c(0xff))/0x5*(parseInt(_0x20a15c(0x105))/0x6)+parseInt(_0x20a15c(0x102))/0x7*(parseInt(_0x20a15c(0xf9))/0x8)+-parseInt(_0x20a15c(0x103))/0x9*(parseInt(_0x20a15c(0x104))/0xa)+-parseInt(_0x20a15c(0x109))/0xb*(-parseInt(_0x20a15c(0xfc))/0xc);if(_0x14058e===_0x5abf57)break;else _0xe2e6c1['push'](_0xe2e6c1['shift']());}catch(_0x2de173){_0xe2e6c1['push'](_0xe2e6c1['shift']());}}}(_0x3904,0x2ab0d));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0xe7f8(_0x2c0757,_0x4ddf1b){_0x2c0757=_0x2c0757-0xf9;const _0x39049=_0x3904();let _0xe7f837=_0x39049[_0x2c0757];return _0xe7f837;}import{homedir}from'os';export function getRangerRoot(){const _0x8d6d14=_0xe7f8,_0x2423df={'gDDsP':function(_0x46835c,_0x1ba96d){return _0x46835c(_0x1ba96d);},'qEVMF':function(_0x5a7685,_0x363b51,_0x255df3){return _0x5a7685(_0x363b51,_0x255df3);}};let _0x523c12=process['cwd']();const _0xccbe03=parse(_0x523c12)[_0x8d6d14(0x106)];while(_0x523c12!==_0xccbe03){if(_0x2423df['gDDsP'](existsSync,_0x2423df[_0x8d6d14(0xfa)](join,_0x523c12,_0x8d6d14(0x108))))return _0x523c12;_0x523c12=dirname(_0x523c12);}if(existsSync(join(_0xccbe03,'.ranger')))return _0xccbe03;const _0x4ee580=findGitRoot();if(_0x4ee580)return _0x4ee580;return process[_0x8d6d14(0x107)]();}export function getRangerDir(){const _0x54ae93=_0xe7f8;return join(getRangerRoot(),_0x54ae93(0x108));}export function findGitRoot(){const _0x4ffa4f=_0xe7f8,_0x1bae5e={'jRVdt':function(_0x5e9f39,_0x11fb35){return _0x5e9f39(_0x11fb35);},'tqbgE':'.git'};let _0x5a7342=process[_0x4ffa4f(0x107)]();const _0x293217=_0x1bae5e['jRVdt'](parse,_0x5a7342)['root'];while(_0x5a7342!==_0x293217){if(existsSync(join(_0x5a7342,_0x1bae5e[_0x4ffa4f(0x101)])))return _0x5a7342;_0x5a7342=_0x1bae5e['jRVdt'](dirname,_0x5a7342);}if(existsSync(join(_0x293217,_0x1bae5e['tqbgE'])))return _0x293217;return null;}export function getRangerHomeDir(){const _0x3cd9c1=_0xe7f8,_0xa447d8={'AJsRp':function(_0x44f86d,_0x54fc5c,_0x2863eb){return _0x44f86d(_0x54fc5c,_0x2863eb);},'OqwEL':function(_0xb49788){return _0xb49788();},'jdKOO':_0x3cd9c1(0x108)};return _0xa447d8['AJsRp'](join,_0xa447d8['OqwEL'](homedir),_0xa447d8['jdKOO']);}