@ranger-testing/ranger-cli 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -0
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +3 -2
@@ -1 +1 @@
1
- (function(_0x50da4b,_0x34acfc){const _0xf849ca=_0x44c3,_0x3bf0fe=_0x50da4b();while(!![]){try{const _0x2d8ff5=parseInt(_0xf849ca(0x1d1))/0x1+parseInt(_0xf849ca(0x1d5))/0x2+parseInt(_0xf849ca(0x1ee))/0x3*(parseInt(_0xf849ca(0x1c1))/0x4)+-parseInt(_0xf849ca(0x1c6))/0x5*(parseInt(_0xf849ca(0x1da))/0x6)+-parseInt(_0xf849ca(0x1a6))/0x7*(parseInt(_0xf849ca(0x1de))/0x8)+-parseInt(_0xf849ca(0x1cd))/0x9*(parseInt(_0xf849ca(0x1d4))/0xa)+parseInt(_0xf849ca(0x1aa))/0xb;if(_0x2d8ff5===_0x34acfc)break;else _0x3bf0fe['push'](_0x3bf0fe['shift']());}catch(_0xd2093f){_0x3bf0fe['push'](_0x3bf0fe['shift']());}}}(_0xdd93,0x7ed0d));function _0x44c3(_0x2bb757,_0x36f6ec){_0x2bb757=_0x2bb757-0x1a6;const _0xdd932d=_0xdd93();let _0x44c38e=_0xdd932d[_0x2bb757];return _0x44c38e;}export function buildTraceViewerUrl(_0x447e86){const _0xc4429b=encodeURIComponent(_0x447e86);return'https://trace.playwright.dev/?trace='+_0xc4429b;}function getStatusEmoji(_0x161f02){const _0xb79707=_0x44c3,_0x2aac88={'QPudy':'completed','swqsp':_0xb79707(0x1b7),'SiNgD':_0xb79707(0x1f4),'rxTCf':'closed'};switch(_0x161f02){case _0xb79707(0x1b2):case _0x2aac88[_0xb79707(0x1b3)]:return'✅';case _0xb79707(0x1db):case _0x2aac88['swqsp']:return'🔄';case _0xb79707(0x1b9):return'🟠';case _0x2aac88['SiNgD']:return'🛑';case _0x2aac88['rxTCf']:return'⛔';default:return'❓';}}function _0xdd93(){const _0x7433fc=['-\x20**','ready','verified','QPudy','xceCv','**Branch:**\x20','gBYoO','in_progress','**:\x20','incomplete','gitRepoUrl',':\x20Ready','tKYzO','zCPuH','wrVev','...','-\x20**Session:**\x20','8lfDZAP','Session\x20',':\x20Awaiting\x20Review','Completed','find','10830eEHXJK','RRsvL','description','-\x20**Blocked:**\x20','JQgev','##\x20Blocking\x20Issues','length','45oKLwHf','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','canceledReason','N/A','124516FtjOhp','-\x20**Closed:**\x20','closedAt','2063810cjNMko','1307854fNxRZw','completedAt','**Created:**\x20','zbmLb','en-US','2202bbeHGS','pending','floor','blockedAt','72kzYMLi','currentSession','None','ZFGCF','RetZs','\x20|\x20','ywxpr','pwiBw','No\x20Session','verifiedAt','position','checklistItemId','numeric','deDdu','iteration','browserSessionId','579399zKgmej','cybJb','YhbFx','sSpXZ','agentResponse','No\x20reason\x20provided','blocked','short','560280SFJyao','status','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','gitBranch','20921065QpPtvs','###\x20','closed','blockedReason','push','-\x20**Summary:**\x20'];_0xdd93=function(){return _0x7433fc;};return _0xdd93();}function formatDuration(_0x2f23f7){const _0x3d042f=_0x44c3,_0x155e0f={'zbmLb':function(_0x395e5d,_0x2d55ba){return _0x395e5d===_0x2d55ba;},'fKnzP':_0x3d042f(0x1d0),'cMSmi':function(_0x1fc71a,_0x24405d){return _0x1fc71a<_0x24405d;},'JQgev':function(_0x3ba596,_0x4b4178){return _0x3ba596/_0x4b4178;},'zCPuH':function(_0xdcc90b,_0x5e4ec7){return _0xdcc90b%_0x5e4ec7;}};if(_0x155e0f[_0x3d042f(0x1d8)](_0x2f23f7,null)||_0x2f23f7===undefined)return _0x155e0f['fKnzP'];if(_0x155e0f['cMSmi'](_0x2f23f7,0x3e8))return _0x2f23f7+'ms';const _0x59e728=Math[_0x3d042f(0x1dc)](_0x155e0f[_0x3d042f(0x1ca)](_0x2f23f7,0x3e8));if(_0x59e728<0x3c)return _0x59e728+'s';const _0x104d71=Math['floor'](_0x155e0f['JQgev'](_0x59e728,0x3c)),_0x471a29=_0x155e0f[_0x3d042f(0x1bd)](_0x59e728,0x3c);return _0x104d71+'m\x20'+_0x471a29+'s';}function formatDate(_0x13fd63){const _0x13edfe=_0x44c3,_0x50747d={'OhTGL':'N/A','wrVev':_0x13edfe(0x1ea)};if(!_0x13fd63)return _0x50747d['OhTGL'];return new Date(_0x13fd63)['toLocaleDateString'](_0x13edfe(0x1d9),{'year':_0x50747d[_0x13edfe(0x1be)],'month':_0x13edfe(0x1f5),'day':_0x50747d[_0x13edfe(0x1be)]});}export function generateFeatureReport(_0x316107){const _0x541d1e=_0x44c3,_0x2ca18a={'xffvu':_0x541d1e(0x1c4),'gBYoO':'completed','hOqqP':_0x541d1e(0x1e6),'RetZs':function(_0x4af913,_0x8d9328){return _0x4af913(_0x8d9328);},'SyzQT':'##\x20Description','YhbFx':function(_0x41f226,_0x3ba5b7){return _0x41f226===_0x3ba5b7;},'zBGDb':'verified','RRsvL':'blocked','ZFGCF':function(_0x192607,_0x486dfa){return _0x192607(_0x486dfa);},'BCmjo':function(_0x494040,_0xa77bc8){return _0x494040===_0xa77bc8;},'cybJb':_0x541d1e(0x1ac),'tKYzO':function(_0x5391cb,_0x57a422){return _0x5391cb(_0x57a422);},'deDdu':_0x541d1e(0x1cb),'StnlM':_0x541d1e(0x1f3),'KtRCw':_0x541d1e(0x1e0),'pwiBw':function(_0x259c0e,_0x33789e){return _0x259c0e>_0x33789e;},'xceCv':_0x541d1e(0x1a8),'ywxpr':'|---------|----------|--------|----------|------|','qKWbo':_0x541d1e(0x1bf),'sSpXZ':'N/A','ysXfo':'failed'},{feature:_0x2be6b2,stats:_0x2c62b1,checklistItems:_0x1252cc,sessions:_0x533793}=_0x316107,_0x3e0d05=[];_0x3e0d05['push']('#\x20Feature\x20Review\x20Report:\x20'+_0x2be6b2['name']),_0x3e0d05[_0x541d1e(0x1ae)]('');let _0x249f41,_0x475906;if(_0x2be6b2[_0x541d1e(0x1d6)])_0x249f41=_0x2ca18a['xffvu'],_0x475906='✅';else{if(_0x2be6b2['currentSession']){const _0x1ca4d9=_0x2be6b2[_0x541d1e(0x1df)][_0x541d1e(0x1a7)];switch(_0x1ca4d9){case _0x541d1e(0x1b1):_0x249f41='Session\x20'+_0x2be6b2['currentSession']['iteration']+_0x541d1e(0x1bb),_0x475906='▶️';break;case _0x541d1e(0x1b7):_0x249f41=_0x541d1e(0x1c2)+_0x2be6b2['currentSession'][_0x541d1e(0x1ec)]+':\x20In\x20Progress',_0x475906='🔄';break;case _0x2ca18a[_0x541d1e(0x1b6)]:_0x249f41=_0x541d1e(0x1c2)+_0x2be6b2['currentSession']['iteration']+_0x541d1e(0x1c3),_0x475906='📊';break;default:_0x249f41='Unknown',_0x475906='❓';}}else _0x249f41=_0x2ca18a['hOqqP'],_0x475906='⬜';}_0x3e0d05['push']('**Status:**\x20'+_0x475906+'\x20'+_0x249f41),_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1d7)+_0x2ca18a[_0x541d1e(0x1e2)](formatDate,_0x2be6b2['createdAt']));_0x2be6b2['completedAt']&&_0x3e0d05[_0x541d1e(0x1ae)]('**Completed:**\x20'+_0x2ca18a[_0x541d1e(0x1e2)](formatDate,_0x2be6b2[_0x541d1e(0x1d6)]));_0x2be6b2['gitRepoUrl']&&_0x3e0d05['push']('**Repository:**\x20'+_0x2be6b2[_0x541d1e(0x1ba)]);_0x2be6b2[_0x541d1e(0x1a9)]&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1b5)+_0x2be6b2['gitBranch']);_0x3e0d05['push']('');_0x2be6b2['description']&&(_0x3e0d05['push'](_0x2ca18a['SyzQT']),_0x3e0d05['push'](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2be6b2['description']),_0x3e0d05[_0x541d1e(0x1ae)](''));const _0xbc4ab9=_0x1252cc['filter'](_0x4dbfeb=>_0x4dbfeb[_0x541d1e(0x1a7)]!=='closed'),_0x4a3e65=_0x1252cc['filter'](_0xd3d3c0=>_0xd3d3c0['status']===_0x541d1e(0x1b2))[_0x541d1e(0x1cc)];_0x3e0d05['push']('##\x20Scenario\x20Progress\x20('+_0x4a3e65+'/'+_0xbc4ab9['length']+'\x20verified)'),_0x3e0d05['push']('');const _0x339bdf=[..._0x1252cc]['sort']((_0x2b53ef,_0x3a5a13)=>_0x2b53ef[_0x541d1e(0x1e8)]-_0x3a5a13['position']);for(const _0x12849e of _0x339bdf){const _0x1d3fa2=getStatusEmoji(_0x12849e['status']),_0x438c22=_0x2ca18a[_0x541d1e(0x1f0)](_0x12849e['status'],_0x541d1e(0x1ac)),_0x55beb3=_0x438c22?'~~':'',_0x57ff25=_0x438c22?'~~':'';_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1ab)+_0x1d3fa2+'\x20'+_0x55beb3+_0x12849e[_0x541d1e(0x1c8)]+_0x57ff25),_0x3e0d05[_0x541d1e(0x1ae)]('');_0x12849e[_0x541d1e(0x1a7)]===_0x2ca18a['zBGDb']&&_0x12849e[_0x541d1e(0x1e7)]&&_0x3e0d05['push']('-\x20**Verified:**\x20'+formatDate(_0x12849e[_0x541d1e(0x1e7)]));_0x12849e[_0x541d1e(0x1a7)]===_0x2ca18a[_0x541d1e(0x1c7)]&&_0x12849e[_0x541d1e(0x1dd)]&&(_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1c9)+_0x2ca18a[_0x541d1e(0x1e1)](formatDate,_0x12849e[_0x541d1e(0x1dd)])),_0x12849e[_0x541d1e(0x1ad)]&&_0x3e0d05[_0x541d1e(0x1ae)]('-\x20**Reason:**\x20'+_0x12849e['blockedReason']));_0x2ca18a['BCmjo'](_0x12849e['status'],_0x2ca18a[_0x541d1e(0x1ef)])&&_0x12849e['closedAt']&&(_0x3e0d05['push'](_0x541d1e(0x1d2)+_0x2ca18a[_0x541d1e(0x1bc)](formatDate,_0x12849e[_0x541d1e(0x1d3)])),_0x12849e[_0x541d1e(0x1cf)]&&_0x3e0d05['push']('-\x20**Reason:**\x20'+_0x12849e[_0x541d1e(0x1cf)]));_0x12849e[_0x541d1e(0x1a7)]===_0x541d1e(0x1b9)&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1ce));if(_0x12849e['browserSessionId']){_0x3e0d05['push'](_0x541d1e(0x1c0)+_0x12849e[_0x541d1e(0x1ed)]);const _0x7c0032=_0x533793[_0x541d1e(0x1c5)](_0x3368c4=>_0x3368c4['id']===_0x12849e[_0x541d1e(0x1ed)]);_0x7c0032&&(_0x7c0032[_0x541d1e(0x1f2)]&&_0x3e0d05[_0x541d1e(0x1ae)](_0x541d1e(0x1af)+_0x7c0032[_0x541d1e(0x1f2)]),_0x7c0032['traceUrl']&&_0x3e0d05['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+_0x2ca18a[_0x541d1e(0x1e1)](buildTraceViewerUrl,_0x7c0032['traceUrl'])+')'));}_0x3e0d05[_0x541d1e(0x1ae)]('');}const _0x1134a9=_0x1252cc['filter'](_0x77b6bf=>_0x77b6bf['status']===_0x541d1e(0x1f4));if(_0x1134a9[_0x541d1e(0x1cc)]>0x0){_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1eb)]),_0x3e0d05['push']('');for(const _0x4c4ccf of _0x1134a9){_0x3e0d05['push'](_0x541d1e(0x1b0)+_0x4c4ccf['description']+_0x541d1e(0x1b8)+(_0x4c4ccf['blockedReason']||_0x2ca18a['StnlM']));}_0x3e0d05[_0x541d1e(0x1ae)]('');}else _0x3e0d05['push'](_0x2ca18a['deDdu']),_0x3e0d05[_0x541d1e(0x1ae)](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a['KtRCw']),_0x3e0d05['push']('');if(_0x2ca18a[_0x541d1e(0x1e5)](_0x533793['length'],0x0)){_0x3e0d05[_0x541d1e(0x1ae)]('##\x20All\x20Verification\x20Sessions'),_0x3e0d05['push'](''),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1b4)]),_0x3e0d05[_0x541d1e(0x1ae)](_0x2ca18a[_0x541d1e(0x1e4)]);for(const _0x198e46 of _0x533793){const _0xc64e70=_0x198e46[_0x541d1e(0x1e9)]?_0x1252cc[_0x541d1e(0x1c5)](_0x57dee8=>_0x57dee8['id']===_0x198e46['checklistItemId']):null,_0x1a9fc7=_0xc64e70?_0xc64e70[_0x541d1e(0x1c8)]['substring'](0x0,0x1e)+(_0xc64e70['description'][_0x541d1e(0x1cc)]>0x1e?_0x2ca18a['qKWbo']:''):_0x2ca18a[_0x541d1e(0x1f1)],_0x2715d9=_0x198e46[_0x541d1e(0x1a7)]==='completed'?'✅':_0x198e46[_0x541d1e(0x1a7)]===_0x2ca18a['ysXfo']?'❌':'🔄';_0x3e0d05['push']('|\x20'+_0x198e46['id']+_0x541d1e(0x1e3)+_0x1a9fc7+_0x541d1e(0x1e3)+_0x2715d9+'\x20'+_0x198e46['status']+_0x541d1e(0x1e3)+formatDuration(_0x198e46['durationMs'])+_0x541d1e(0x1e3)+formatDate(_0x198e46['createdAt'])+'\x20|');}_0x3e0d05[_0x541d1e(0x1ae)]('');}return _0x3e0d05['join']('\x0a');}
1
+ (function(_0x4e3d2f,_0x4fbbc1){const _0x54473d=_0x19e8,_0xcb25a2=_0x4e3d2f();while(!![]){try{const _0x5b87f6=parseInt(_0x54473d(0x184))/0x1+parseInt(_0x54473d(0x199))/0x2*(-parseInt(_0x54473d(0x1a0))/0x3)+-parseInt(_0x54473d(0x190))/0x4*(parseInt(_0x54473d(0x19b))/0x5)+-parseInt(_0x54473d(0x19a))/0x6*(parseInt(_0x54473d(0x16e))/0x7)+-parseInt(_0x54473d(0x195))/0x8*(-parseInt(_0x54473d(0x18f))/0x9)+parseInt(_0x54473d(0x17d))/0xa*(parseInt(_0x54473d(0x18c))/0xb)+parseInt(_0x54473d(0x192))/0xc*(-parseInt(_0x54473d(0x177))/0xd);if(_0x5b87f6===_0x4fbbc1)break;else _0xcb25a2['push'](_0xcb25a2['shift']());}catch(_0x3c4c13){_0xcb25a2['push'](_0xcb25a2['shift']());}}}(_0x44e2,0x4c10c));export function buildTraceViewerUrl(_0x5e1194){const _0x44edb3={'AmOMv':function(_0x1475fa,_0x1439b4){return _0x1475fa(_0x1439b4);}},_0x1922f8=_0x44edb3['AmOMv'](encodeURIComponent,_0x5e1194);return'https://trace.playwright.dev/?trace='+_0x1922f8;}function _0x19e8(_0x4fcfd8,_0x578f30){_0x4fcfd8=_0x4fcfd8-0x167;const _0x44e2a3=_0x44e2();let _0x19e829=_0x44e2a3[_0x4fcfd8];return _0x19e829;}function getStatusEmoji(_0x4db2b2){const _0x18d617=_0x19e8,_0xc1761={'gDCNf':'completed','hKEzH':_0x18d617(0x1a5),'eYyRb':_0x18d617(0x181),'vmybC':'blocked','IUUPP':'closed'};switch(_0x4db2b2){case'verified':case _0xc1761['gDCNf']:return'✅';case _0x18d617(0x16b):case _0xc1761['hKEzH']:return'🔄';case _0xc1761[_0x18d617(0x1ac)]:return'🟠';case _0xc1761['vmybC']:return'🛑';case _0xc1761['IUUPP']:return'⛔';default:return'❓';}}function _0x44e2(){const _0x255eac=['552EQSPGh','CViIq','gitBranch','8VEzKYM','Unknown','**Status:**\x20','UaaDN','292564deRMdx','246444naoqbH','272105CNrMcM','blockedReason','find','short','-\x20**Status:**\x20Incomplete\x20-\x20requires\x20further\x20work','3BNeKzT','CHVDu','\x20|\x20','YOdFI','YpQHx','in_progress','toLocaleDateString','No\x20reason\x20provided','MZBmv','Completed',':\x20Ready','iteration','eYyRb','##\x20All\x20Verification\x20Sessions','cADWM','en-US','hqNKE','fGYmy','push','|\x20Session\x20|\x20Scenario\x20|\x20Status\x20|\x20Duration\x20|\x20Date\x20|','completed','status','Session\x20','pending','sort','-\x20**Session:**\x20','91hOoeFM','omthQ','No\x20Session','substring','numeric','floor','gitRepoUrl','verified','agentResponse','14573ltHJop','None','N/A','ready','filter','completedAt','10fSzTTz','#\x20Feature\x20Review\x20Report:\x20','join','zLuiE','incomplete','position','canceledReason','575778aIBCaN','length','currentSession','-\x20**Summary:**\x20','description','blocked','browserSessionId',':\x20Awaiting\x20Review','2187878exXCYL','closed','name','2908071Ptgynk','4IbUzQf','**Completed:**\x20'];_0x44e2=function(){return _0x255eac;};return _0x44e2();}function formatDuration(_0x37bfe7){const _0x45c3fb=_0x19e8,_0x4d0945={'mopIF':function(_0x3e6fe4,_0x4f0cbb){return _0x3e6fe4===_0x4f0cbb;},'LNGnC':'N/A','fGYmy':function(_0x15977f,_0xfd71ad){return _0x15977f/_0xfd71ad;},'CViIq':function(_0x43af13,_0xfd04c4){return _0x43af13<_0xfd04c4;},'kiTqP':function(_0x4f085c,_0x3fcd42){return _0x4f085c%_0x3fcd42;}};if(_0x4d0945['mopIF'](_0x37bfe7,null)||_0x37bfe7===undefined)return _0x4d0945['LNGnC'];if(_0x37bfe7<0x3e8)return _0x37bfe7+'ms';const _0x42a564=Math[_0x45c3fb(0x173)](_0x4d0945['fGYmy'](_0x37bfe7,0x3e8));if(_0x4d0945[_0x45c3fb(0x193)](_0x42a564,0x3c))return _0x42a564+'s';const _0x15ff76=Math['floor'](_0x4d0945[_0x45c3fb(0x1b1)](_0x42a564,0x3c)),_0x207ae5=_0x4d0945['kiTqP'](_0x42a564,0x3c);return _0x15ff76+'m\x20'+_0x207ae5+'s';}function formatDate(_0x4f8115){const _0x5c0d95=_0x19e8,_0x85cdcf={'RXNIv':_0x5c0d95(0x179),'EGgdO':_0x5c0d95(0x1af),'UaaDN':_0x5c0d95(0x19e)};if(!_0x4f8115)return _0x85cdcf['RXNIv'];return new Date(_0x4f8115)[_0x5c0d95(0x1a6)](_0x85cdcf['EGgdO'],{'year':_0x5c0d95(0x172),'month':_0x85cdcf[_0x5c0d95(0x198)],'day':'numeric'});}export function generateFeatureReport(_0x475321){const _0x17ab1f=_0x19e8,_0x2ace24={'QoITP':_0x17ab1f(0x17a),'poHNU':'in_progress','hqNKE':_0x17ab1f(0x196),'DaEHt':_0x17ab1f(0x170),'QLaqv':function(_0x6c45ec,_0x54de89){return _0x6c45ec(_0x54de89);},'CHVDu':function(_0x4e52dc,_0x481025){return _0x4e52dc(_0x481025);},'zLuiE':function(_0x1e11e7,_0x3f4cbe){return _0x1e11e7===_0x3f4cbe;},'YpQHx':function(_0x38cd9e,_0xfde05c){return _0x38cd9e===_0xfde05c;},'zWhIT':_0x17ab1f(0x175),'oYBjT':_0x17ab1f(0x189),'mLdSn':'incomplete','omthQ':'##\x20Blocking\x20Issues','cADWM':_0x17ab1f(0x178),'YOdFI':_0x17ab1f(0x1ad),'lRhHs':_0x17ab1f(0x167),'MZBmv':'|---------|----------|--------|----------|------|','ChApx':function(_0x19168a,_0x2d4df4){return _0x19168a+_0x2d4df4;},'bUBPg':function(_0x12d724,_0x549cb4){return _0x12d724>_0x549cb4;}},{feature:_0x3dbf1f,stats:_0x3ca935,checklistItems:_0x5ddee3,sessions:_0x27ca1a}=_0x475321,_0x38f570=[];_0x38f570['push'](_0x17ab1f(0x17e)+_0x3dbf1f[_0x17ab1f(0x18e)]),_0x38f570[_0x17ab1f(0x1b2)]('');let _0x24114f,_0x447077;if(_0x3dbf1f[_0x17ab1f(0x17c)])_0x24114f=_0x17ab1f(0x1a9),_0x447077='✅';else{if(_0x3dbf1f['currentSession']){const _0x31099f=_0x3dbf1f[_0x17ab1f(0x186)]['status'];switch(_0x31099f){case _0x2ace24['QoITP']:_0x24114f='Session\x20'+_0x3dbf1f['currentSession']['iteration']+_0x17ab1f(0x1aa),_0x447077='▶️';break;case _0x2ace24['poHNU']:_0x24114f=_0x17ab1f(0x16a)+_0x3dbf1f[_0x17ab1f(0x186)]['iteration']+':\x20In\x20Progress',_0x447077='🔄';break;case _0x17ab1f(0x168):_0x24114f=_0x17ab1f(0x16a)+_0x3dbf1f['currentSession'][_0x17ab1f(0x1ab)]+_0x17ab1f(0x18b),_0x447077='📊';break;default:_0x24114f=_0x2ace24[_0x17ab1f(0x1b0)],_0x447077='❓';}}else _0x24114f=_0x2ace24['DaEHt'],_0x447077='⬜';}_0x38f570[_0x17ab1f(0x1b2)](_0x17ab1f(0x197)+_0x447077+'\x20'+_0x24114f),_0x38f570['push']('**Created:**\x20'+formatDate(_0x3dbf1f['createdAt']));_0x3dbf1f[_0x17ab1f(0x17c)]&&_0x38f570['push'](_0x17ab1f(0x191)+_0x2ace24['QLaqv'](formatDate,_0x3dbf1f[_0x17ab1f(0x17c)]));_0x3dbf1f[_0x17ab1f(0x174)]&&_0x38f570[_0x17ab1f(0x1b2)]('**Repository:**\x20'+_0x3dbf1f['gitRepoUrl']);_0x3dbf1f['gitBranch']&&_0x38f570[_0x17ab1f(0x1b2)]('**Branch:**\x20'+_0x3dbf1f[_0x17ab1f(0x194)]);_0x38f570[_0x17ab1f(0x1b2)]('');_0x3dbf1f['description']&&(_0x38f570['push']('##\x20Description'),_0x38f570['push'](''),_0x38f570[_0x17ab1f(0x1b2)](_0x3dbf1f[_0x17ab1f(0x188)]),_0x38f570[_0x17ab1f(0x1b2)](''));const _0x5baf99=_0x5ddee3['filter'](_0x41fa75=>_0x41fa75['status']!==_0x17ab1f(0x18d)),_0x28bab0=_0x5ddee3['filter'](_0x15da4d=>_0x15da4d['status']===_0x17ab1f(0x175))[_0x17ab1f(0x185)];_0x38f570['push']('##\x20Scenario\x20Progress\x20('+_0x28bab0+'/'+_0x5baf99[_0x17ab1f(0x185)]+'\x20verified)'),_0x38f570[_0x17ab1f(0x1b2)]('');const _0xda46d=[..._0x5ddee3][_0x17ab1f(0x16c)]((_0x588534,_0x3a6f44)=>_0x588534[_0x17ab1f(0x182)]-_0x3a6f44['position']);for(const _0x170808 of _0xda46d){const _0x4f388e=_0x2ace24[_0x17ab1f(0x1a1)](getStatusEmoji,_0x170808['status']),_0x3d096e=_0x2ace24[_0x17ab1f(0x180)](_0x170808[_0x17ab1f(0x169)],'closed'),_0x39eb20=_0x3d096e?'~~':'',_0x566e37=_0x3d096e?'~~':'';_0x38f570[_0x17ab1f(0x1b2)]('###\x20'+_0x4f388e+'\x20'+_0x39eb20+_0x170808['description']+_0x566e37),_0x38f570[_0x17ab1f(0x1b2)]('');_0x2ace24[_0x17ab1f(0x1a4)](_0x170808['status'],_0x2ace24['zWhIT'])&&_0x170808['verifiedAt']&&_0x38f570['push']('-\x20**Verified:**\x20'+formatDate(_0x170808['verifiedAt']));_0x2ace24[_0x17ab1f(0x1a4)](_0x170808[_0x17ab1f(0x169)],_0x2ace24['oYBjT'])&&_0x170808['blockedAt']&&(_0x38f570['push']('-\x20**Blocked:**\x20'+_0x2ace24['QLaqv'](formatDate,_0x170808['blockedAt'])),_0x170808['blockedReason']&&_0x38f570[_0x17ab1f(0x1b2)]('-\x20**Reason:**\x20'+_0x170808['blockedReason']));_0x170808['status']===_0x17ab1f(0x18d)&&_0x170808['closedAt']&&(_0x38f570['push']('-\x20**Closed:**\x20'+formatDate(_0x170808['closedAt'])),_0x170808[_0x17ab1f(0x183)]&&_0x38f570[_0x17ab1f(0x1b2)]('-\x20**Reason:**\x20'+_0x170808[_0x17ab1f(0x183)]));_0x2ace24['zLuiE'](_0x170808['status'],_0x2ace24['mLdSn'])&&_0x38f570[_0x17ab1f(0x1b2)](_0x17ab1f(0x19f));if(_0x170808[_0x17ab1f(0x18a)]){_0x38f570[_0x17ab1f(0x1b2)](_0x17ab1f(0x16d)+_0x170808[_0x17ab1f(0x18a)]);const _0x3bff1e=_0x27ca1a[_0x17ab1f(0x19d)](_0x1a738a=>_0x1a738a['id']===_0x170808[_0x17ab1f(0x18a)]);_0x3bff1e&&(_0x3bff1e[_0x17ab1f(0x176)]&&_0x38f570[_0x17ab1f(0x1b2)](_0x17ab1f(0x187)+_0x3bff1e['agentResponse']),_0x3bff1e['traceUrl']&&_0x38f570['push']('-\x20**Trace:**\x20[View\x20in\x20Playwright]('+buildTraceViewerUrl(_0x3bff1e['traceUrl'])+')'));}_0x38f570[_0x17ab1f(0x1b2)]('');}const _0x22e3e1=_0x5ddee3[_0x17ab1f(0x17b)](_0x4a07d9=>_0x4a07d9[_0x17ab1f(0x169)]==='blocked');if(_0x22e3e1[_0x17ab1f(0x185)]>0x0){_0x38f570['push'](_0x2ace24[_0x17ab1f(0x16f)]),_0x38f570['push']('');for(const _0x1e7277 of _0x22e3e1){_0x38f570[_0x17ab1f(0x1b2)]('-\x20**'+_0x1e7277[_0x17ab1f(0x188)]+'**:\x20'+(_0x1e7277[_0x17ab1f(0x19c)]||_0x17ab1f(0x1a7)));}_0x38f570['push']('');}else _0x38f570[_0x17ab1f(0x1b2)]('##\x20Blocking\x20Issues'),_0x38f570[_0x17ab1f(0x1b2)](''),_0x38f570[_0x17ab1f(0x1b2)](_0x2ace24[_0x17ab1f(0x1ae)]),_0x38f570[_0x17ab1f(0x1b2)]('');if(_0x27ca1a['length']>0x0){_0x38f570['push'](_0x2ace24[_0x17ab1f(0x1a3)]),_0x38f570[_0x17ab1f(0x1b2)](''),_0x38f570['push'](_0x2ace24['lRhHs']),_0x38f570[_0x17ab1f(0x1b2)](_0x2ace24[_0x17ab1f(0x1a8)]);for(const _0x3ff349 of _0x27ca1a){const _0x2aa1ba=_0x3ff349['checklistItemId']?_0x5ddee3['find'](_0x4d9a91=>_0x4d9a91['id']===_0x3ff349['checklistItemId']):null,_0x1bf3fc=_0x2aa1ba?_0x2ace24['ChApx'](_0x2aa1ba['description'][_0x17ab1f(0x171)](0x0,0x1e),_0x2ace24['bUBPg'](_0x2aa1ba['description'][_0x17ab1f(0x185)],0x1e)?'...':''):'N/A',_0x27ddbe=_0x3ff349['status']===_0x17ab1f(0x168)?'✅':_0x3ff349[_0x17ab1f(0x169)]==='failed'?'❌':'🔄';_0x38f570[_0x17ab1f(0x1b2)]('|\x20'+_0x3ff349['id']+'\x20|\x20'+_0x1bf3fc+'\x20|\x20'+_0x27ddbe+'\x20'+_0x3ff349['status']+_0x17ab1f(0x1a2)+formatDuration(_0x3ff349['durationMs'])+'\x20|\x20'+_0x2ace24['CHVDu'](formatDate,_0x3ff349['createdAt'])+'\x20|');}_0x38f570[_0x17ab1f(0x1b2)]('');}return _0x38f570[_0x17ab1f(0x17f)]('\x0a');}
@@ -1 +1 @@
1
- const _0x44b5c2=_0x2042;(function(_0x379e78,_0x45cd73){const _0x2c9806=_0x2042,_0x5d045e=_0x379e78();while(!![]){try{const _0x4f27f1=-parseInt(_0x2c9806(0xf6))/0x1*(-parseInt(_0x2c9806(0x104))/0x2)+parseInt(_0x2c9806(0x112))/0x3*(parseInt(_0x2c9806(0xee))/0x4)+parseInt(_0x2c9806(0xf4))/0x5*(-parseInt(_0x2c9806(0xf3))/0x6)+-parseInt(_0x2c9806(0x10a))/0x7+-parseInt(_0x2c9806(0xe5))/0x8+-parseInt(_0x2c9806(0xf9))/0x9+parseInt(_0x2c9806(0x107))/0xa*(parseInt(_0x2c9806(0x113))/0xb);if(_0x4f27f1===_0x45cd73)break;else _0x5d045e['push'](_0x5d045e['shift']());}catch(_0x23ba19){_0x5d045e['push'](_0x5d045e['shift']());}}}(_0x3eaa,0xa17bb));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(_0x29df0a,_0xbb8f2a){const _0x5c8268=_0x2042,_0x46cf29={'VkiIh':function(_0x46e3b5,_0xe3ebe1){return _0x46e3b5>=_0xe3ebe1;},'RYrCk':function(_0x9971cb,_0x49ec9a){return _0x9971cb<=_0x49ec9a;},'FweIE':function(_0x445b10,_0x1c5e4e){return _0x445b10>_0x1c5e4e;},'HZeuY':function(_0x33b227,_0x46935d){return _0x33b227&_0x46935d;},'fvSww':function(_0x1c16a8,_0x534090){return _0x1c16a8+_0x534090;}};if(_0x46cf29['VkiIh'](_0xbb8f2a,_0x29df0a['length']))return[0x0,0x0];const _0x21fa42=_0x29df0a[_0xbb8f2a];let _0x511bfd=0x1,_0x1eaf58=0x80;while(_0x46cf29['RYrCk'](_0x511bfd,0x8)&&!(_0x21fa42&_0x1eaf58)){_0x511bfd++,_0x1eaf58>>=0x1;}if(_0x46cf29[_0x5c8268(0x10c)](_0xbb8f2a+_0x511bfd,_0x29df0a[_0x5c8268(0xe6)]))return[0x0,0x0];let _0x146fc9=_0x46cf29[_0x5c8268(0xeb)](_0x21fa42,_0x1eaf58-0x1);for(let _0x22cfc4=0x1;_0x22cfc4<_0x511bfd;_0x22cfc4++){_0x146fc9=_0x46cf29['fvSww'](_0x146fc9*0x100,_0x29df0a[_0xbb8f2a+_0x22cfc4]);}return[_0x146fc9,_0x511bfd];}function readId(_0x102940,_0x1d51b1){const _0x14f103=_0x2042,_0x356eb3={'ejpqQ':function(_0xe77b6,_0x13afff){return _0xe77b6>=_0x13afff;},'XDWww':function(_0x1c72bc,_0x3de393){return _0x1c72bc>=_0x3de393;},'pGqkK':function(_0x308bb9,_0x7cf2e5){return _0x308bb9+_0x7cf2e5;}};if(_0x1d51b1>=_0x102940['length'])return[0x0,0x0];const _0x156c3b=_0x102940[_0x1d51b1];let _0x46ff76;if(_0x356eb3['ejpqQ'](_0x156c3b,0x80))_0x46ff76=0x1;else{if(_0x156c3b>=0x40)_0x46ff76=0x2;else{if(_0x356eb3['XDWww'](_0x156c3b,0x20))_0x46ff76=0x3;else{if(_0x156c3b>=0x10)_0x46ff76=0x4;else return[_0x156c3b,0x1];}}}if(_0x356eb3[_0x14f103(0x110)](_0x1d51b1,_0x46ff76)>_0x102940['length'])return[0x0,0x0];let _0x5cfe6e=0x0;for(let _0x3c6d25=0x0;_0x3c6d25<_0x46ff76;_0x3c6d25++){_0x5cfe6e=_0x5cfe6e*0x100+_0x102940[_0x356eb3[_0x14f103(0x110)](_0x1d51b1,_0x3c6d25)];}return[_0x5cfe6e,_0x46ff76];}function readUint(_0x6020dc,_0x4d7b25,_0x571489){const _0x551b89=_0x2042,_0x4f911d={'SQvAT':function(_0x46c58c,_0x4078f8){return _0x46c58c<_0x4078f8;},'UszAT':function(_0x1de4dd,_0x2417e9){return _0x1de4dd+_0x2417e9;}};let _0x531af7=0x0;for(let _0x558767=0x0;_0x4f911d[_0x551b89(0x11e)](_0x558767,_0x571489);_0x558767++){_0x531af7=_0x4f911d[_0x551b89(0xfc)](_0x531af7*0x100,_0x6020dc[_0x4f911d['UszAT'](_0x4d7b25,_0x558767)]);}return _0x531af7;}function isUnknownSize(_0x34d762,_0x5c2491){const _0x3b874a=_0x2042,_0x1f394c={'ankHQ':function(_0x228530,_0x4fe820){return _0x228530===_0x4fe820;},'kACRD':function(_0x4693db,_0x77c5db){return _0x4693db-_0x77c5db;}};return _0x1f394c['ankHQ'](_0x34d762,_0x1f394c[_0x3b874a(0xec)](Math[_0x3b874a(0x109)](0x2,0x7*_0x5c2491),0x1));}function writeId(_0x2660f0){const _0x17995b=_0x2042,_0x4c1725={'zpFox':function(_0x4ac44b,_0x15ec78){return _0x4ac44b<=_0x15ec78;},'qFKNk':function(_0x29329d,_0x26eced){return _0x29329d>>_0x26eced;},'KecLN':function(_0x1a3ac1,_0x5620a2){return _0x1a3ac1&_0x5620a2;},'KzCMP':function(_0x24091d,_0x5e6494){return _0x24091d<=_0x5e6494;},'mSPVV':function(_0xd3ee8e,_0x3060d3){return _0xd3ee8e&_0x3060d3;}};if(_0x2660f0<=0xff)return Buffer['from']([_0x2660f0]);if(_0x4c1725[_0x17995b(0xe9)](_0x2660f0,0xffff))return Buffer[_0x17995b(0xf5)]([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x8)&0xff,_0x4c1725[_0x17995b(0x120)](_0x2660f0,0xff)]);if(_0x4c1725['KzCMP'](_0x2660f0,0xffffff))return Buffer['from']([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x10)&0xff,_0x4c1725[_0x17995b(0x120)](_0x2660f0>>0x8,0xff),_0x4c1725[_0x17995b(0x120)](_0x2660f0,0xff)]);return Buffer[_0x17995b(0xf5)]([_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x18)&0xff,_0x4c1725['mSPVV'](_0x4c1725[_0x17995b(0x108)](_0x2660f0,0x10),0xff),_0x2660f0>>0x8&0xff,_0x2660f0&0xff]);}function writeVint(_0x385b99,_0x50da74){const _0x421325=_0x2042,_0x5b4090={'qJBPD':function(_0x294e7c,_0x5f58c7){return _0x294e7c<_0x5f58c7;},'Fyykt':function(_0x50e0af,_0x512458){return _0x50e0af-_0x512458;},'lQwmS':function(_0x44bb09,_0x2bc106){return _0x44bb09*_0x2bc106;},'hzYDo':function(_0x3dd8b3,_0x98ebf1){return _0x3dd8b3&_0x98ebf1;}};let _0x54c4ff=_0x50da74||0x1;while(_0x5b4090[_0x421325(0x11a)](_0x5b4090['Fyykt'](Math[_0x421325(0x109)](0x2,_0x5b4090['lQwmS'](0x7,_0x54c4ff)),0x2),_0x385b99))_0x54c4ff++;const _0x357a0b=Buffer['alloc'](_0x54c4ff);for(let _0x521886=_0x54c4ff-0x1;_0x521886>=0x0;_0x521886--){_0x357a0b[_0x521886]=_0x5b4090[_0x421325(0xf8)](_0x385b99,0xff),_0x385b99=Math[_0x421325(0xe8)](_0x385b99/0x100);}return _0x357a0b[0x0]|=0x1<<0x8-_0x54c4ff,_0x357a0b;}function writeFloat64(_0x389ee7){const _0x1171b0=_0x2042,_0x9345a7=Buffer[_0x1171b0(0x105)](0x8);return _0x9345a7['writeDoubleBE'](_0x389ee7,0x0),_0x9345a7;}function writeVoid(_0x18918c){const _0x1d0ba1=_0x2042,_0x2f4156={'BEhgh':function(_0x3f9cc1,_0x29564d){return _0x3f9cc1-_0x29564d;},'NEaHG':function(_0x6d1013,_0x1d2e24){return _0x6d1013<=_0x1d2e24;}};for(let _0x5d6375=0x1;_0x5d6375<=0x8;_0x5d6375++){const _0x4f13e7=_0x2f4156['BEhgh'](_0x18918c,0x1)-_0x5d6375;if(_0x4f13e7>=0x0&&_0x2f4156['NEaHG'](_0x4f13e7,Math[_0x1d0ba1(0x109)](0x2,0x7*_0x5d6375)-0x2))return Buffer['concat']([Buffer[_0x1d0ba1(0xf5)]([ID_VOID]),writeVint(_0x4f13e7,_0x5d6375),Buffer[_0x1d0ba1(0x105)](_0x4f13e7)]);}return Buffer[_0x1d0ba1(0x105)](0x0);}function findElement(_0x828c61,_0x46b9b0,_0x4c74a6,_0x5a34f6){const _0xee9ae2=_0x2042,_0x4ac52c={'AEJcJ':function(_0x3e793a,_0x38289a,_0x3ed005){return _0x3e793a(_0x38289a,_0x3ed005);},'WOnSa':function(_0x1d59e1,_0x2580c9){return _0x1d59e1+_0x2580c9;},'ZdJhv':function(_0x1d5164,_0x527106){return _0x1d5164===_0x527106;},'ttphn':function(_0x5de3c8,_0x30bd29){return _0x5de3c8+_0x30bd29;},'naLbu':function(_0x525066,_0x30efb9,_0x27c962){return _0x525066(_0x30efb9,_0x27c962);}};let _0x2608bb=_0x46b9b0;while(_0x2608bb<_0x4c74a6){const [_0x4119eb,_0x3aa910]=readId(_0x828c61,_0x2608bb),[_0x76a296,_0x1f87c7]=_0x4ac52c[_0xee9ae2(0xfe)](readVint,_0x828c61,_0x4ac52c[_0xee9ae2(0xfa)](_0x2608bb,_0x3aa910));if(_0x4ac52c[_0xee9ae2(0xe7)](_0x4119eb,_0x5a34f6))return{'offset':_0x2608bb,'idLen':_0x3aa910,'sizeLen':_0x1f87c7,'dataSize':_0x76a296,'dataOffset':_0x4ac52c[_0xee9ae2(0xfa)](_0x4ac52c[_0xee9ae2(0x103)](_0x2608bb,_0x3aa910),_0x1f87c7)};if(_0x4ac52c['naLbu'](isUnknownSize,_0x76a296,_0x1f87c7))break;_0x2608bb+=_0x4ac52c['ttphn'](_0x3aa910,_0x1f87c7)+_0x76a296;}return null;}function computeDurationMs(_0x53c894,_0x940e14){const _0x3cc96d=_0x2042,_0x4a2ddd={'dFVPR':function(_0x452148,_0x220ec5,_0x558818){return _0x452148(_0x220ec5,_0x558818);},'sJojv':function(_0x276e2c,_0x1e0f94){return _0x276e2c!==_0x1e0f94;},'clxqQ':function(_0x59be1e,_0x145d57,_0x532668){return _0x59be1e(_0x145d57,_0x532668);},'WwZuj':function(_0x4b2101,_0x2e774e){return _0x4b2101<_0x2e774e;},'atzYf':function(_0x327015,_0x577d98){return _0x327015-_0x577d98;},'eVSOA':function(_0x440185,_0x2f1033,_0x2f2d0a){return _0x440185(_0x2f1033,_0x2f2d0a);},'DDfol':function(_0x120dc7,_0x26ec76){return _0x120dc7+_0x26ec76;},'OyxiX':function(_0x12f405,_0x3c6103){return _0x12f405+_0x3c6103;},'UVtgr':function(_0x51cc01,_0x230206,_0x527d6d){return _0x51cc01(_0x230206,_0x527d6d);},'udAqm':function(_0x2f1a34,_0x43910f){return _0x2f1a34===_0x43910f;},'FHurJ':function(_0x165efd,_0x5cc247){return _0x165efd===_0x5cc247;},'AdPMg':function(_0x8ec825,_0x387fb){return _0x8ec825/_0x387fb;},'ILZGd':function(_0x13f022,_0x92724b){return _0x13f022+_0x92724b;},'wjOXN':function(_0x1aad6c,_0x509441){return _0x1aad6c>_0x509441;}};let _0x46eb57=0x0;const _0x39f620=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x47be9f=_0x53c894[_0x3cc96d(0x116)](_0x39f620);if(_0x47be9f===-0x1)return 0x0;while(_0x47be9f<_0x53c894['length']){const [_0x14226f,_0x99abf]=_0x4a2ddd[_0x3cc96d(0x124)](readId,_0x53c894,_0x47be9f);if(_0x4a2ddd['sJojv'](_0x14226f,ID_CLUSTER))break;const [_0xb316f7,_0x453cce]=_0x4a2ddd['clxqQ'](readVint,_0x53c894,_0x47be9f+_0x99abf),_0x1cc839=_0x47be9f+_0x99abf+_0x453cce,_0x1689e3=isUnknownSize(_0xb316f7,_0x453cce);let _0x387899;if(_0x1689e3){let _0x51b419=_0x1cc839;while(_0x4a2ddd['WwZuj'](_0x51b419,_0x4a2ddd[_0x3cc96d(0xf2)](_0x53c894[_0x3cc96d(0xe6)],0x4))){const [_0x3c1415,_0x47a999]=_0x4a2ddd[_0x3cc96d(0x10b)](readId,_0x53c894,_0x51b419);if(_0x3c1415===ID_CLUSTER){_0x387899=_0x51b419;break;}const [_0x25caeb,_0x467189]=_0x4a2ddd['eVSOA'](readVint,_0x53c894,_0x4a2ddd['DDfol'](_0x51b419,_0x47a999));if(_0x4a2ddd[_0x3cc96d(0xed)](isUnknownSize,_0x25caeb,_0x467189)){_0x387899=_0x53c894[_0x3cc96d(0xe6)];break;}_0x51b419+=_0x4a2ddd['OyxiX'](_0x47a999,_0x467189)+_0x25caeb;}_0x387899??=_0x53c894[_0x3cc96d(0xe6)];}else _0x387899=_0x1cc839+_0xb316f7;let _0x3c1b75=0x0,_0x295f59=_0x1cc839;while(_0x4a2ddd['WwZuj'](_0x295f59,_0x387899)){const [_0x15a2c8,_0x25c6de]=_0x4a2ddd[_0x3cc96d(0xfd)](readId,_0x53c894,_0x295f59),[_0x2947ce,_0x24292b]=_0x4a2ddd['dFVPR'](readVint,_0x53c894,_0x295f59+_0x25c6de);if(_0x4a2ddd[_0x3cc96d(0x111)](_0x15a2c8,ID_TIMESTAMP))_0x3c1b75=readUint(_0x53c894,_0x295f59+_0x25c6de+_0x24292b,_0x2947ce);else{if(_0x4a2ddd['FHurJ'](_0x15a2c8,ID_SIMPLE_BLOCK)&&_0x2947ce>=0x4){const _0x5edbab=_0x295f59+_0x25c6de+_0x24292b,[,_0x1c6f3c]=readVint(_0x53c894,_0x5edbab),_0x11fb0a=_0x53c894[_0x3cc96d(0x121)](_0x5edbab+_0x1c6f3c),_0x5caa4e=_0x4a2ddd['AdPMg'](_0x4a2ddd['ILZGd'](_0x3c1b75,_0x11fb0a)*_0x940e14,0xf4240);_0x4a2ddd['wjOXN'](_0x5caa4e,_0x46eb57)&&(_0x46eb57=_0x5caa4e);}else{if(_0x15a2c8===ID_CLUSTER)break;}}if(isUnknownSize(_0x2947ce,_0x24292b))break;_0x295f59+=_0x25c6de+_0x24292b+_0x2947ce;}_0x47be9f=_0x387899;}return _0x46eb57;}function _0x3eaa(){const _0x5a59db=['alloc','error','970jiyfGG','qFKNk','pow','224042yZgwMY','clxqQ','FweIE','tmAHf','concat','GvWPs','pGqkK','udAqm','3CsIexi','10241dHGPsK','Lhjcj','oAoTH','indexOf','min','xQkhE','slice','qJBPD','SbLAS','log','ZTwLB','SQvAT','offset','KecLN','readInt16BE','idLen','iXwrt','dFVPR','704456zhaJAz','length','ZdJhv','floor','zpFox','Fixed:\x20','HZeuY','kACRD','eVSOA','3543948NDfjkJ','kNbsS','FgKnf','LtvAq','atzYf','318LPCLaZ','101275tSspdI','from','621DNYtgA','AKhth','hzYDo','888615WnjjIO','WOnSa','dataSize','UszAT','UVtgr','AEJcJ','argv','JACVF','dataOffset','JgLBr','ttphn','3148oaLyJh'];_0x3eaa=function(){return _0x5a59db;};return _0x3eaa();}export function fixWebmDuration(_0x1a057a,_0x334536){const _0x196095=_0x2042,_0x3843ef={'Lhjcj':function(_0x1c193b,_0x21ce83){return _0x1c193b(_0x21ce83);},'ZTwLB':function(_0xe4b58d,_0x2f0bfb){return _0xe4b58d+_0x2f0bfb;},'onThi':function(_0x55e93d,_0x3f64fa){return _0x55e93d+_0x3f64fa;},'tmAHf':function(_0x46ba58,_0x3a83e1,_0x322505){return _0x46ba58(_0x3a83e1,_0x322505);},'iXwrt':function(_0x44c0a2,_0x4326b4){return _0x44c0a2+_0x4326b4;},'FgKnf':function(_0x378a68,_0x268b76,_0x2802e6){return _0x378a68(_0x268b76,_0x2802e6);},'xQkhE':function(_0x272ab6,_0x44d4c2){return _0x272ab6+_0x44d4c2;},'SbLAS':function(_0x5cb5f0,_0x5992){return _0x5cb5f0+_0x5992;},'GvWPs':function(_0xe28d63,_0x16b7df,_0x318e0f,_0x499e6d,_0x5d87bd){return _0xe28d63(_0x16b7df,_0x318e0f,_0x499e6d,_0x5d87bd);},'gIMZi':function(_0x4d90c0,_0xb86cac){return _0x4d90c0<=_0xb86cac;},'oAoTH':function(_0x3e29b2,_0x1fba8b){return _0x3e29b2/_0x1fba8b;},'SGCHv':function(_0x23cc11,_0x3a4b75){return _0x23cc11*_0x3a4b75;},'LtvAq':function(_0x32547f,_0x18e8d7){return _0x32547f(_0x18e8d7);},'kNbsS':function(_0x538b29,_0x5e5914){return _0x538b29+_0x5e5914;},'ttTAu':function(_0xf6819c,_0x310c20){return _0xf6819c-_0x310c20;},'JxZIQ':function(_0x1c9ba6,_0x4e36f9,_0x4f51df,_0x264ee0,_0x2b4af8,_0x2f2b38,_0x10cd96){return _0x1c9ba6(_0x4e36f9,_0x4f51df,_0x264ee0,_0x2b4af8,_0x2f2b38,_0x10cd96);},'JACVF':function(_0xe350e6,_0xbd9936){return _0xe350e6(_0xbd9936);},'bcQYi':function(_0x59535f,_0x5bb149,_0x19e599){return _0x59535f(_0x5bb149,_0x19e599);}},_0x58323d=_0x3843ef[_0x196095(0x114)](readFileSync,_0x1a057a);let _0x595983=0x0;const [_0x3a1b0d,_0x2ac1ab]=readId(_0x58323d,_0x595983),[_0x1f3147,_0x4ebe1e]=readVint(_0x58323d,_0x3843ef[_0x196095(0x11d)](_0x595983,_0x2ac1ab));_0x595983+=_0x3843ef['onThi'](_0x2ac1ab,_0x4ebe1e)+_0x1f3147;const [_0x1cdc11,_0x5a90e2]=_0x3843ef[_0x196095(0x10d)](readId,_0x58323d,_0x595983);if(_0x1cdc11!==ID_SEGMENT)return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x25a00e]=readVint(_0x58323d,_0x3843ef[_0x196095(0x11d)](_0x595983,_0x5a90e2)),_0x3af99f=_0x3843ef['onThi'](_0x595983+_0x5a90e2,_0x25a00e);let _0x140b92=_0x3af99f;const _0x456000=Math[_0x196095(0x117)](_0x58323d['length'],_0x3843ef[_0x196095(0x123)](_0x3af99f,0x2710));let _0x3a802f=null,_0x358e57=null;while(_0x140b92<_0x456000){const [_0x5db98f,_0x50abb5]=readId(_0x58323d,_0x140b92),[_0x5356ce,_0x1fa576]=_0x3843ef[_0x196095(0xf0)](readVint,_0x58323d,_0x140b92+_0x50abb5);_0x5db98f===ID_VOID&&!_0x3a802f&&(_0x3a802f={'offset':_0x140b92,'idLen':_0x50abb5,'sizeLen':_0x1fa576,'dataSize':_0x5356ce,'dataOffset':_0x140b92+_0x50abb5+_0x1fa576});if(_0x5db98f===ID_INFO){_0x358e57={'offset':_0x140b92,'idLen':_0x50abb5,'sizeLen':_0x1fa576,'dataSize':_0x5356ce,'dataOffset':_0x140b92+_0x50abb5+_0x1fa576};break;}if(_0x5db98f===ID_CLUSTER)break;if(isUnknownSize(_0x5356ce,_0x1fa576))break;_0x140b92+=_0x3843ef[_0x196095(0x118)](_0x3843ef[_0x196095(0x11b)](_0x50abb5,_0x1fa576),_0x5356ce);}if(!_0x358e57)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x5f4bd0=findElement(_0x58323d,_0x358e57['dataOffset'],_0x358e57['dataOffset']+_0x358e57['dataSize'],ID_DURATION);if(_0x5f4bd0)return![];const _0x5819f7=_0x3843ef[_0x196095(0x10f)](findElement,_0x58323d,_0x358e57['dataOffset'],_0x358e57['dataOffset']+_0x358e57[_0x196095(0xfb)],ID_TIMESTAMP_SCALE);let _0x544989=0xf4240;_0x5819f7&&(_0x544989=readUint(_0x58323d,_0x5819f7['dataOffset'],_0x5819f7[_0x196095(0xfb)]));const _0x512b7a=computeDurationMs(_0x58323d,_0x544989);if(_0x3843ef['gIMZi'](_0x512b7a,0x0))return console[_0x196095(0x106)]('Could\x20not\x20compute\x20duration'),![];const _0x1dc4cb=_0x3843ef[_0x196095(0x115)](_0x3843ef['SGCHv'](_0x512b7a,0xf4240),_0x544989),_0x3fc7b5=Buffer[_0x196095(0x10e)]([writeId(ID_DURATION),_0x3843ef[_0x196095(0xf1)](writeVint,0x8),writeFloat64(_0x1dc4cb)]),_0x58dfef=_0x3fc7b5['length'];if(!_0x3a802f||_0x3a802f['offset']<_0x358e57[_0x196095(0x11f)]){if(_0x3a802f){const _0x567543=_0x3843ef[_0x196095(0xef)](_0x3a802f[_0x196095(0x122)]+_0x3a802f['sizeLen'],_0x3a802f[_0x196095(0xfb)]),_0xdc72e6=_0x3843ef['ttTAu'](_0x567543,_0x58dfef);if(_0xdc72e6<0x2)return _0x3843ef['JxZIQ'](rewriteFile,_0x58323d,_0x358e57,_0x3fc7b5,_0x544989,_0x512b7a,_0x334536);const _0x4a6e5e=_0x358e57['dataSize']+_0x58dfef,_0x4c2df1=Buffer['concat']([_0x3843ef[_0x196095(0x100)](writeId,ID_INFO),_0x3843ef['bcQYi'](writeVint,_0x4a6e5e,_0x358e57['sizeLen'])]),_0xd36474=_0x58323d[_0x196095(0x119)](_0x358e57['dataOffset'],_0x358e57[_0x196095(0x101)]+_0x358e57['dataSize']),_0x59f4ef=writeVoid(_0xdc72e6),_0x5279e8=_0x58323d[_0x196095(0x119)](0x0,_0x3a802f['offset']),_0x4bc420=_0x58323d[_0x196095(0x119)](_0x358e57[_0x196095(0x101)]+_0x358e57['dataSize']);return writeFileSync(_0x334536,Buffer['concat']([_0x5279e8,_0x59f4ef,_0x4c2df1,_0xd36474,_0x3fc7b5,_0x4bc420])),!![];}}return rewriteFile(_0x58323d,_0x358e57,_0x3fc7b5,_0x544989,_0x512b7a,_0x334536);}function _0x2042(_0x5cfe0f,_0x247a74){_0x5cfe0f=_0x5cfe0f-0xe5;const _0x3eaab9=_0x3eaa();let _0x20427f=_0x3eaab9[_0x5cfe0f];return _0x20427f;}function rewriteFile(_0x25e4a0,_0x1862f1,_0x4c325e,_0x29fc6a,_0x25159b,_0x30664e){const _0x55be3e=_0x2042,_0x103797={'AKhth':function(_0x1cf439,_0x3f4719){return _0x1cf439+_0x3f4719;},'JgLBr':function(_0x4c34ce,_0x4f82fa){return _0x4c34ce(_0x4f82fa);},'KGuWI':function(_0x19e2d7,_0xf59637){return _0x19e2d7+_0xf59637;},'Axdrl':function(_0x28599e,_0x260bf3){return _0x28599e+_0x260bf3;},'ZGAsJ':function(_0xfb2379,_0x2fffb8){return _0xfb2379+_0x2fffb8;}},_0x32d051=_0x103797[_0x55be3e(0xf7)](_0x1862f1[_0x55be3e(0xfb)],_0x4c325e[_0x55be3e(0xe6)]),_0x4712fb=Buffer[_0x55be3e(0x10e)]([_0x103797[_0x55be3e(0x102)](writeId,ID_INFO),_0x103797['JgLBr'](writeVint,_0x32d051)]),_0x4ee9b4=_0x1862f1[_0x55be3e(0x122)]+_0x1862f1['sizeLen'],_0x19d337=_0x25e4a0[_0x55be3e(0x119)](0x0,_0x1862f1[_0x55be3e(0x11f)]),_0x36d5f4=_0x25e4a0[_0x55be3e(0x119)](_0x1862f1[_0x55be3e(0x101)],_0x103797['KGuWI'](_0x1862f1['dataOffset'],_0x1862f1['dataSize'])),_0x11bdde=_0x25e4a0['slice'](_0x103797['Axdrl'](_0x103797['ZGAsJ'](_0x1862f1['offset'],_0x4ee9b4),_0x1862f1['dataSize']));return writeFileSync(_0x30664e,Buffer['concat']([_0x19d337,_0x4712fb,_0x36d5f4,_0x4c325e,_0x11bdde])),!![];}if(process[_0x44b5c2(0xff)][0x1]?.['endsWith']('fixWebmDuration.ts')||process[_0x44b5c2(0xff)][0x1]?.['endsWith']('fixWebmDuration.js')){const input=process['argv'][0x2],output=process[_0x44b5c2(0xff)][0x3];(!input||!output)&&(console[_0x44b5c2(0x106)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log'](_0x44b5c2(0xea)+output):console[_0x44b5c2(0x11c)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x42c604=_0x12f6;(function(_0x21392a,_0x522cbc){const _0x4a1625=_0x12f6,_0x36e6e6=_0x21392a();while(!![]){try{const _0x41c289=parseInt(_0x4a1625(0x1d6))/0x1*(-parseInt(_0x4a1625(0x1f1))/0x2)+parseInt(_0x4a1625(0x1bc))/0x3*(parseInt(_0x4a1625(0x1f3))/0x4)+parseInt(_0x4a1625(0x1c1))/0x5*(parseInt(_0x4a1625(0x1ec))/0x6)+-parseInt(_0x4a1625(0x1e2))/0x7+parseInt(_0x4a1625(0x1e8))/0x8+parseInt(_0x4a1625(0x1cd))/0x9+-parseInt(_0x4a1625(0x1e3))/0xa*(parseInt(_0x4a1625(0x1d8))/0xb);if(_0x41c289===_0x522cbc)break;else _0x36e6e6['push'](_0x36e6e6['shift']());}catch(_0x25c04a){_0x36e6e6['push'](_0x36e6e6['shift']());}}}(_0x4d3e,0xb3765));import{readFileSync,writeFileSync}from'fs';function _0x12f6(_0x137097,_0x37650f){_0x137097=_0x137097-0x1bb;const _0x4d3ea4=_0x4d3e();let _0x12f647=_0x4d3ea4[_0x137097];return _0x12f647;}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(_0x2d132d,_0x2c4a80){const _0x1c5af8=_0x12f6,_0x375ebc={'vVjCR':function(_0x2724e9,_0x1fc683){return _0x2724e9>=_0x1fc683;},'tTexL':function(_0x42eee0,_0x1c44d5){return _0x42eee0<=_0x1c44d5;},'WNIsv':function(_0x2d4ea5,_0x187b24){return _0x2d4ea5+_0x187b24;}};if(_0x375ebc[_0x1c5af8(0x1ce)](_0x2c4a80,_0x2d132d['length']))return[0x0,0x0];const _0x52f7f2=_0x2d132d[_0x2c4a80];let _0x21edd6=0x1,_0x584278=0x80;while(_0x375ebc['tTexL'](_0x21edd6,0x8)&&!(_0x52f7f2&_0x584278)){_0x21edd6++,_0x584278>>=0x1;}if(_0x375ebc[_0x1c5af8(0x1ea)](_0x2c4a80,_0x21edd6)>_0x2d132d[_0x1c5af8(0x1cb)])return[0x0,0x0];let _0x5d8ba3=_0x52f7f2&_0x584278-0x1;for(let _0xe2fa07=0x1;_0xe2fa07<_0x21edd6;_0xe2fa07++){_0x5d8ba3=_0x375ebc[_0x1c5af8(0x1ea)](_0x5d8ba3*0x100,_0x2d132d[_0x2c4a80+_0xe2fa07]);}return[_0x5d8ba3,_0x21edd6];}function readId(_0x1d80bc,_0x581350){const _0x2d5891=_0x12f6,_0xbe6469={'bQcji':function(_0x44d847,_0x172671){return _0x44d847>=_0x172671;},'jSHhx':function(_0x1ea275,_0x390611){return _0x1ea275>_0x390611;},'hBhas':function(_0x26cb7c,_0x5044ea){return _0x26cb7c+_0x5044ea;},'GYCPd':function(_0x58299c,_0x861324){return _0x58299c<_0x861324;},'UJWUs':function(_0x13f233,_0x3e4551){return _0x13f233+_0x3e4551;}};if(_0xbe6469[_0x2d5891(0x1df)](_0x581350,_0x1d80bc['length']))return[0x0,0x0];const _0xfcabeb=_0x1d80bc[_0x581350];let _0x14d2ce;if(_0xbe6469['bQcji'](_0xfcabeb,0x80))_0x14d2ce=0x1;else{if(_0xfcabeb>=0x40)_0x14d2ce=0x2;else{if(_0xfcabeb>=0x20)_0x14d2ce=0x3;else{if(_0xfcabeb>=0x10)_0x14d2ce=0x4;else return[_0xfcabeb,0x1];}}}if(_0xbe6469['jSHhx'](_0xbe6469[_0x2d5891(0x1c6)](_0x581350,_0x14d2ce),_0x1d80bc[_0x2d5891(0x1cb)]))return[0x0,0x0];let _0x52a00e=0x0;for(let _0xc5b488=0x0;_0xbe6469['GYCPd'](_0xc5b488,_0x14d2ce);_0xc5b488++){_0x52a00e=_0xbe6469[_0x2d5891(0x1c6)](_0x52a00e*0x100,_0x1d80bc[_0xbe6469[_0x2d5891(0x1c0)](_0x581350,_0xc5b488)]);}return[_0x52a00e,_0x14d2ce];}function readUint(_0x43ef7d,_0x20fee3,_0x32bb04){const _0x518b33={'hhMTU':function(_0x4598c9,_0x314e6f){return _0x4598c9+_0x314e6f;}};let _0x17b7e9=0x0;for(let _0x1c6e9d=0x0;_0x1c6e9d<_0x32bb04;_0x1c6e9d++){_0x17b7e9=_0x17b7e9*0x100+_0x43ef7d[_0x518b33['hhMTU'](_0x20fee3,_0x1c6e9d)];}return _0x17b7e9;}function isUnknownSize(_0x591753,_0x4bf746){const _0x1ae83a={'NnWij':function(_0x5d107c,_0x2504f9){return _0x5d107c===_0x2504f9;}};return _0x1ae83a['NnWij'](_0x591753,Math['pow'](0x2,0x7*_0x4bf746)-0x1);}function writeId(_0x5b2267){const _0xf5b5cf=_0x12f6,_0x3a1501={'bxeTm':function(_0xdf554a,_0x5bb375){return _0xdf554a<=_0x5bb375;},'XNFla':function(_0x582c22,_0x59819b){return _0x582c22&_0x59819b;},'NsLaH':function(_0x1c9553,_0x128e0e){return _0x1c9553>>_0x128e0e;},'CVoTM':function(_0x4598ef,_0x1f386d){return _0x4598ef&_0x1f386d;},'fnYIF':function(_0x4bfdc2,_0x520472){return _0x4bfdc2>>_0x520472;},'ALsNX':function(_0x4a5693,_0x30d697){return _0x4a5693>>_0x30d697;}};if(_0x5b2267<=0xff)return Buffer[_0xf5b5cf(0x1c2)]([_0x5b2267]);if(_0x3a1501['bxeTm'](_0x5b2267,0xffff))return Buffer['from']([_0x5b2267>>0x8&0xff,_0x3a1501[_0xf5b5cf(0x1db)](_0x5b2267,0xff)]);if(_0x5b2267<=0xffffff)return Buffer['from']([_0x5b2267>>0x10&0xff,_0x3a1501[_0xf5b5cf(0x1da)](_0x5b2267,0x8)&0xff,_0x3a1501['CVoTM'](_0x5b2267,0xff)]);return Buffer[_0xf5b5cf(0x1c2)]([_0x3a1501[_0xf5b5cf(0x1db)](_0x3a1501[_0xf5b5cf(0x1da)](_0x5b2267,0x18),0xff),_0x3a1501['fnYIF'](_0x5b2267,0x10)&0xff,_0x3a1501['CVoTM'](_0x3a1501[_0xf5b5cf(0x1f5)](_0x5b2267,0x8),0xff),_0x3a1501['XNFla'](_0x5b2267,0xff)]);}function writeVint(_0x204d79,_0x228c15){const _0x53bf7a=_0x12f6,_0x39e93c={'QOfkW':function(_0x416043,_0x28a05f){return _0x416043||_0x28a05f;},'CCJer':function(_0xc77e64,_0xeb14cb){return _0xc77e64<_0xeb14cb;},'fAqpv':function(_0x559985,_0x3887f8){return _0x559985*_0x3887f8;},'gNnHH':function(_0x11d5d7,_0x5cb349){return _0x11d5d7>=_0x5cb349;},'etgdf':function(_0x374795,_0x2948a3){return _0x374795/_0x2948a3;}};let _0x589772=_0x39e93c['QOfkW'](_0x228c15,0x1);while(_0x39e93c['CCJer'](Math['pow'](0x2,_0x39e93c['fAqpv'](0x7,_0x589772))-0x2,_0x204d79))_0x589772++;const _0x189905=Buffer[_0x53bf7a(0x1e7)](_0x589772);for(let _0x3727ea=_0x589772-0x1;_0x39e93c['gNnHH'](_0x3727ea,0x0);_0x3727ea--){_0x189905[_0x3727ea]=_0x204d79&0xff,_0x204d79=Math['floor'](_0x39e93c[_0x53bf7a(0x1f2)](_0x204d79,0x100));}return _0x189905[0x0]|=0x1<<0x8-_0x589772,_0x189905;}function _0x4d3e(){const _0x4c93e3=['pJxno','sizeLen','qooAX','argv','length','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','1291752dMoEmI','vVjCR','dataSize','dTtDL','cNDUb','ldUWv','exit','BSOxE','mhUkP','50200CCspDe','SxqhW','1197592KQduKk','HBfdc','NsLaH','XNFla','CMUAd','Could\x20not\x20compute\x20duration','HJJWv','bQcji','Qalpe','idLen','3563315nCtPjK','10DtCkJJ','slice','jBfGE','gioDm','alloc','6693608ZbIfyJ','DgWwm','WNIsv','eksrV','654vxNBNC','log','fixWebmDuration.ts','concat','dataOffset','52zfUgWZ','etgdf','2856hFEOoi','indexOf','ALsNX','Fixed:\x20','5064eUVgDf','hXJhT','WoAHT','writeDoubleBE','UJWUs','21685qzPMRC','from','HHMEy','readInt16BE','kRFEL','hBhas'];_0x4d3e=function(){return _0x4c93e3;};return _0x4d3e();}function writeFloat64(_0x139dcb){const _0x1a6e4c=_0x12f6,_0xff266c=Buffer['alloc'](0x8);return _0xff266c[_0x1a6e4c(0x1bf)](_0x139dcb,0x0),_0xff266c;}function writeVoid(_0x520cfd){const _0x4ec9ac=_0x12f6,_0xaab99e={'fRfEK':function(_0xfb9225,_0x38fd41){return _0xfb9225<=_0x38fd41;},'jumAm':function(_0x1ce7a3,_0x43d17f){return _0x1ce7a3-_0x43d17f;},'Epyme':function(_0xb295af,_0x48a23f){return _0xb295af*_0x48a23f;},'tJTqg':function(_0x2370b2,_0x288e6a,_0x328893){return _0x2370b2(_0x288e6a,_0x328893);}};for(let _0x2dc257=0x1;_0xaab99e['fRfEK'](_0x2dc257,0x8);_0x2dc257++){const _0x5da51a=_0xaab99e['jumAm'](_0x520cfd-0x1,_0x2dc257);if(_0x5da51a>=0x0&&_0x5da51a<=Math['pow'](0x2,_0xaab99e['Epyme'](0x7,_0x2dc257))-0x2)return Buffer[_0x4ec9ac(0x1ef)]([Buffer['from']([ID_VOID]),_0xaab99e['tJTqg'](writeVint,_0x5da51a,_0x2dc257),Buffer['alloc'](_0x5da51a)]);}return Buffer['alloc'](0x0);}function findElement(_0x3235c9,_0x58d9b8,_0x4df896,_0x587b38){const _0xf2ea03=_0x12f6,_0x4e0916={'kigdn':function(_0xd2140e,_0x11edc6,_0x157a0f){return _0xd2140e(_0x11edc6,_0x157a0f);},'eksrV':function(_0x222f40,_0x216cf8){return _0x222f40+_0x216cf8;},'gpZmP':function(_0x82696e,_0xa2c0a8){return _0x82696e+_0xa2c0a8;}};let _0x3d6ad9=_0x58d9b8;while(_0x3d6ad9<_0x4df896){const [_0x29d438,_0x16f0be]=_0x4e0916['kigdn'](readId,_0x3235c9,_0x3d6ad9),[_0x477d3e,_0x4b1381]=readVint(_0x3235c9,_0x4e0916[_0xf2ea03(0x1eb)](_0x3d6ad9,_0x16f0be));if(_0x29d438===_0x587b38)return{'offset':_0x3d6ad9,'idLen':_0x16f0be,'sizeLen':_0x4b1381,'dataSize':_0x477d3e,'dataOffset':_0x4e0916['gpZmP'](_0x3d6ad9+_0x16f0be,_0x4b1381)};if(isUnknownSize(_0x477d3e,_0x4b1381))break;_0x3d6ad9+=_0x16f0be+_0x4b1381+_0x477d3e;}return null;}function computeDurationMs(_0xa2254c,_0x4f2947){const _0x4c86ea=_0x12f6,_0x4697e5={'WoAHT':function(_0x287a9b,_0x6bba3e){return _0x287a9b===_0x6bba3e;},'dprGs':function(_0x1e32bc,_0x4a357a,_0x13e03f){return _0x1e32bc(_0x4a357a,_0x13e03f);},'DbYTq':function(_0x27fb5b,_0x1d564c,_0x3df327){return _0x27fb5b(_0x1d564c,_0x3df327);},'ylfaX':function(_0x3d3c91,_0x501013){return _0x3d3c91+_0x501013;},'RiMwi':function(_0x3ccc11,_0x342ec8){return _0x3ccc11+_0x342ec8;},'HHMEy':function(_0x4db202,_0x185f39,_0x54f596){return _0x4db202(_0x185f39,_0x54f596);},'tzfYc':function(_0x478435,_0x95e4e4){return _0x478435-_0x95e4e4;},'tfSSv':function(_0x482828,_0x193a79,_0x4a1d09){return _0x482828(_0x193a79,_0x4a1d09);},'ldsWd':function(_0x5c7cf5,_0x13e423){return _0x5c7cf5===_0x13e423;},'ofmop':function(_0x5f083d,_0x54bb06,_0x260e52,_0x54d33a){return _0x5f083d(_0x54bb06,_0x260e52,_0x54d33a);},'HJJWv':function(_0x59cd26,_0x3bbe28){return _0x59cd26+_0x3bbe28;},'cNDUb':function(_0x4fa7fe,_0x3b31ee,_0x4d0e42){return _0x4fa7fe(_0x3b31ee,_0x4d0e42);},'gioDm':function(_0x3d287b,_0x10101d,_0x43eeb6){return _0x3d287b(_0x10101d,_0x43eeb6);},'kRFEL':function(_0x4b1858,_0x49f22b){return _0x4b1858+_0x49f22b;}};let _0x16bc3a=0x0;const _0x2663bd=Buffer[_0x4c86ea(0x1c2)]([0x1f,0x43,0xb6,0x75]);let _0x1051ef=_0xa2254c[_0x4c86ea(0x1f4)](_0x2663bd);if(_0x4697e5[_0x4c86ea(0x1be)](_0x1051ef,-0x1))return 0x0;while(_0x1051ef<_0xa2254c['length']){const [_0x5ab47e,_0xc8b147]=_0x4697e5['dprGs'](readId,_0xa2254c,_0x1051ef);if(_0x5ab47e!==ID_CLUSTER)break;const [_0x35218c,_0x3ad309]=_0x4697e5['DbYTq'](readVint,_0xa2254c,_0x4697e5['ylfaX'](_0x1051ef,_0xc8b147)),_0x1a55f8=_0x4697e5['RiMwi'](_0x1051ef+_0xc8b147,_0x3ad309),_0x52f403=_0x4697e5[_0x4c86ea(0x1c3)](isUnknownSize,_0x35218c,_0x3ad309);let _0x5ad875;if(_0x52f403){let _0xb6f835=_0x1a55f8;while(_0xb6f835<_0x4697e5['tzfYc'](_0xa2254c['length'],0x4)){const [_0xf133b9,_0x24bc5b]=readId(_0xa2254c,_0xb6f835);if(_0x4697e5['WoAHT'](_0xf133b9,ID_CLUSTER)){_0x5ad875=_0xb6f835;break;}const [_0x101dda,_0x490fa9]=readVint(_0xa2254c,_0xb6f835+_0x24bc5b);if(_0x4697e5[_0x4c86ea(0x1c3)](isUnknownSize,_0x101dda,_0x490fa9)){_0x5ad875=_0xa2254c[_0x4c86ea(0x1cb)];break;}_0xb6f835+=_0x24bc5b+_0x490fa9+_0x101dda;}_0x5ad875??=_0xa2254c['length'];}else _0x5ad875=_0x1a55f8+_0x35218c;let _0x5826ff=0x0,_0x589a52=_0x1a55f8;while(_0x589a52<_0x5ad875){const [_0x51d8f4,_0x1ec10f]=_0x4697e5['tfSSv'](readId,_0xa2254c,_0x589a52),[_0x37b6f6,_0x181828]=_0x4697e5['dprGs'](readVint,_0xa2254c,_0x4697e5['RiMwi'](_0x589a52,_0x1ec10f));if(_0x4697e5['ldsWd'](_0x51d8f4,ID_TIMESTAMP))_0x5826ff=_0x4697e5['ofmop'](readUint,_0xa2254c,_0x589a52+_0x1ec10f+_0x181828,_0x37b6f6);else{if(_0x51d8f4===ID_SIMPLE_BLOCK&&_0x37b6f6>=0x4){const _0xb0d6c7=_0x4697e5['ylfaX'](_0x4697e5[_0x4c86ea(0x1de)](_0x589a52,_0x1ec10f),_0x181828),[,_0x55ffd6]=_0x4697e5[_0x4c86ea(0x1d1)](readVint,_0xa2254c,_0xb0d6c7),_0x29714a=_0xa2254c[_0x4c86ea(0x1c4)](_0x4697e5['RiMwi'](_0xb0d6c7,_0x55ffd6)),_0x39e304=(_0x5826ff+_0x29714a)*_0x4f2947/0xf4240;_0x39e304>_0x16bc3a&&(_0x16bc3a=_0x39e304);}else{if(_0x51d8f4===ID_CLUSTER)break;}}if(_0x4697e5[_0x4c86ea(0x1e6)](isUnknownSize,_0x37b6f6,_0x181828))break;_0x589a52+=_0x4697e5[_0x4c86ea(0x1c5)](_0x1ec10f,_0x181828)+_0x37b6f6;}_0x1051ef=_0x5ad875;}return _0x16bc3a;}export function fixWebmDuration(_0x303dcb,_0x3deeec){const _0x24b2e8=_0x12f6,_0xbd1612={'BSOxE':function(_0x568e91,_0x24bd31,_0x304c4c){return _0x568e91(_0x24bd31,_0x304c4c);},'CIUss':function(_0x5b4cf8,_0x5e7b19){return _0x5b4cf8+_0x5e7b19;},'qooAX':function(_0x545ade,_0x2ffd26){return _0x545ade+_0x2ffd26;},'CMUAd':function(_0x5913bb,_0x19b0cd){return _0x5913bb!==_0x19b0cd;},'CopBG':function(_0x49d16,_0x2bb6b3,_0x87a539){return _0x49d16(_0x2bb6b3,_0x87a539);},'jBfGE':function(_0x381085,_0x3194f0){return _0x381085+_0x3194f0;},'iEXYE':function(_0x33da60,_0x2a697b){return _0x33da60+_0x2a697b;},'DuivV':function(_0x831dcc,_0x27a2d1){return _0x831dcc+_0x27a2d1;},'SxqhW':function(_0x5116e6,_0x51c6ed){return _0x5116e6<_0x51c6ed;},'TWJNu':function(_0x23d4b5,_0x4e41b0){return _0x23d4b5===_0x4e41b0;},'pJxno':function(_0x49fab4,_0x23eb44){return _0x49fab4+_0x23eb44;},'tomNb':'Could\x20not\x20find\x20Info\x20element','KHvmv':function(_0xcf39b7,_0x4b18a7,_0xcf257a,_0x1d32ad,_0x2ac79d){return _0xcf39b7(_0x4b18a7,_0xcf257a,_0x1d32ad,_0x2ac79d);},'Qalpe':function(_0x443764,_0xb28222,_0x59f450,_0x15eb78){return _0x443764(_0xb28222,_0x59f450,_0x15eb78);},'dXFnA':function(_0x4f8c50,_0x2321de){return _0x4f8c50<=_0x2321de;},'ZDoKJ':_0x24b2e8(0x1dd),'HBfdc':function(_0x4585f8,_0x19600a){return _0x4585f8/_0x19600a;},'Xqvlc':function(_0x30c323,_0x35d33e){return _0x30c323(_0x35d33e);},'ldUWv':function(_0x3b29ba,_0x514626){return _0x3b29ba(_0x514626);},'kxKSQ':function(_0x540345,_0x524591){return _0x540345+_0x524591;},'DgWwm':function(_0x16fd53,_0xe42981,_0x28d61d,_0xdd7346,_0x37eb1e,_0x5045cc,_0x1d6bd4){return _0x16fd53(_0xe42981,_0x28d61d,_0xdd7346,_0x37eb1e,_0x5045cc,_0x1d6bd4);},'dTtDL':function(_0x4ff2cc,_0x11d8f8){return _0x4ff2cc+_0x11d8f8;},'hXJhT':function(_0x157a2b,_0xb1d156,_0x28589b){return _0x157a2b(_0xb1d156,_0x28589b);}},_0x665ded=readFileSync(_0x303dcb);let _0x2e206e=0x0;const [_0x17e2b3,_0x578b70]=_0xbd1612['BSOxE'](readId,_0x665ded,_0x2e206e),[_0x1f4ff8,_0x471170]=_0xbd1612['BSOxE'](readVint,_0x665ded,_0x2e206e+_0x578b70);_0x2e206e+=_0xbd1612['CIUss'](_0xbd1612['qooAX'](_0x578b70,_0x471170),_0x1f4ff8);const [_0x25447b,_0x23976a]=readId(_0x665ded,_0x2e206e);if(_0xbd1612[_0x24b2e8(0x1dc)](_0x25447b,ID_SEGMENT))return console['error']('Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment'),![];const [,_0x28786e]=_0xbd1612['CopBG'](readVint,_0x665ded,_0xbd1612[_0x24b2e8(0x1e5)](_0x2e206e,_0x23976a)),_0x539cad=_0xbd1612['iEXYE'](_0x2e206e+_0x23976a,_0x28786e);let _0x399f1a=_0x539cad;const _0x750a2d=Math['min'](_0x665ded['length'],_0xbd1612['DuivV'](_0x539cad,0x2710));let _0x338036=null,_0x289051=null;while(_0xbd1612['SxqhW'](_0x399f1a,_0x750a2d)){const [_0x2c0e89,_0x49e938]=readId(_0x665ded,_0x399f1a),[_0x45056f,_0x13daf2]=_0xbd1612['CopBG'](readVint,_0x665ded,_0x399f1a+_0x49e938);_0x2c0e89===ID_VOID&&!_0x338036&&(_0x338036={'offset':_0x399f1a,'idLen':_0x49e938,'sizeLen':_0x13daf2,'dataSize':_0x45056f,'dataOffset':_0x399f1a+_0x49e938+_0x13daf2});if(_0xbd1612['TWJNu'](_0x2c0e89,ID_INFO)){_0x289051={'offset':_0x399f1a,'idLen':_0x49e938,'sizeLen':_0x13daf2,'dataSize':_0x45056f,'dataOffset':_0xbd1612[_0x24b2e8(0x1c7)](_0xbd1612[_0x24b2e8(0x1c9)](_0x399f1a,_0x49e938),_0x13daf2)};break;}if(_0x2c0e89===ID_CLUSTER)break;if(_0xbd1612[_0x24b2e8(0x1d4)](isUnknownSize,_0x45056f,_0x13daf2))break;_0x399f1a+=_0xbd1612['jBfGE'](_0xbd1612['qooAX'](_0x49e938,_0x13daf2),_0x45056f);}if(!_0x289051)return console['error'](_0xbd1612['tomNb']),![];const _0xf9830e=_0xbd1612['KHvmv'](findElement,_0x665ded,_0x289051[_0x24b2e8(0x1f0)],_0x289051[_0x24b2e8(0x1f0)]+_0x289051[_0x24b2e8(0x1cf)],ID_DURATION);if(_0xf9830e)return![];const _0xe92dd6=findElement(_0x665ded,_0x289051[_0x24b2e8(0x1f0)],_0x289051[_0x24b2e8(0x1f0)]+_0x289051[_0x24b2e8(0x1cf)],ID_TIMESTAMP_SCALE);let _0x3ea389=0xf4240;_0xe92dd6&&(_0x3ea389=_0xbd1612[_0x24b2e8(0x1e0)](readUint,_0x665ded,_0xe92dd6['dataOffset'],_0xe92dd6['dataSize']));const _0x1dfcd2=computeDurationMs(_0x665ded,_0x3ea389);if(_0xbd1612['dXFnA'](_0x1dfcd2,0x0))return console['error'](_0xbd1612['ZDoKJ']),![];const _0x45a56d=_0xbd1612[_0x24b2e8(0x1d9)](_0x1dfcd2*0xf4240,_0x3ea389),_0x38a632=Buffer[_0x24b2e8(0x1ef)]([_0xbd1612['Xqvlc'](writeId,ID_DURATION),_0xbd1612[_0x24b2e8(0x1d2)](writeVint,0x8),writeFloat64(_0x45a56d)]),_0x161cb9=_0x38a632['length'];if(!_0x338036||_0x338036['offset']<_0x289051['offset']){if(_0x338036){const _0x257d3f=_0xbd1612['kxKSQ'](_0x338036['idLen']+_0x338036[_0x24b2e8(0x1c8)],_0x338036[_0x24b2e8(0x1cf)]),_0x2ddecc=_0x257d3f-_0x161cb9;if(_0xbd1612[_0x24b2e8(0x1d7)](_0x2ddecc,0x2))return _0xbd1612['DgWwm'](rewriteFile,_0x665ded,_0x289051,_0x38a632,_0x3ea389,_0x1dfcd2,_0x3deeec);const _0x379950=_0x289051[_0x24b2e8(0x1cf)]+_0x161cb9,_0x2ba612=Buffer[_0x24b2e8(0x1ef)]([_0xbd1612['ldUWv'](writeId,ID_INFO),_0xbd1612['CopBG'](writeVint,_0x379950,_0x289051[_0x24b2e8(0x1c8)])]),_0x18e4a5=_0x665ded[_0x24b2e8(0x1e4)](_0x289051[_0x24b2e8(0x1f0)],_0x289051['dataOffset']+_0x289051['dataSize']),_0x5a823a=writeVoid(_0x2ddecc),_0x450548=_0x665ded['slice'](0x0,_0x338036['offset']),_0x105f8b=_0x665ded[_0x24b2e8(0x1e4)](_0xbd1612[_0x24b2e8(0x1d0)](_0x289051['dataOffset'],_0x289051[_0x24b2e8(0x1cf)]));return _0xbd1612[_0x24b2e8(0x1bd)](writeFileSync,_0x3deeec,Buffer['concat']([_0x450548,_0x5a823a,_0x2ba612,_0x18e4a5,_0x38a632,_0x105f8b])),!![];}}return _0xbd1612[_0x24b2e8(0x1e9)](rewriteFile,_0x665ded,_0x289051,_0x38a632,_0x3ea389,_0x1dfcd2,_0x3deeec);}function rewriteFile(_0x68d844,_0x47a900,_0xf7944a,_0x23cb1b,_0x23552b,_0x55e34a){const _0x3cdd4e=_0x12f6,_0x349010={'mhUkP':function(_0x468da5,_0x382bd0){return _0x468da5+_0x382bd0;}},_0x5baa06=_0x349010['mhUkP'](_0x47a900[_0x3cdd4e(0x1cf)],_0xf7944a[_0x3cdd4e(0x1cb)]),_0x12a2eb=Buffer['concat']([writeId(ID_INFO),writeVint(_0x5baa06)]),_0x5c4bda=_0x47a900[_0x3cdd4e(0x1e1)]+_0x47a900[_0x3cdd4e(0x1c8)],_0x4f18c7=_0x68d844['slice'](0x0,_0x47a900['offset']),_0x1e24a9=_0x68d844[_0x3cdd4e(0x1e4)](_0x47a900[_0x3cdd4e(0x1f0)],_0x47a900['dataOffset']+_0x47a900['dataSize']),_0x2ef14f=_0x68d844[_0x3cdd4e(0x1e4)](_0x349010[_0x3cdd4e(0x1d5)](_0x47a900['offset']+_0x5c4bda,_0x47a900['dataSize']));return writeFileSync(_0x55e34a,Buffer['concat']([_0x4f18c7,_0x12a2eb,_0x1e24a9,_0xf7944a,_0x2ef14f])),!![];}if(process['argv'][0x1]?.['endsWith'](_0x42c604(0x1ee))||process['argv'][0x1]?.['endsWith']('fixWebmDuration.js')){const input=process[_0x42c604(0x1ca)][0x2],output=process['argv'][0x3];(!input||!output)&&(console['error'](_0x42c604(0x1cc)),process[_0x42c604(0x1d3)](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x42c604(0x1ed)](_0x42c604(0x1bb)+output):console[_0x42c604(0x1ed)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- function _0x3ce4(_0x287706,_0x1b2773){_0x287706=_0x287706-0x1bd;const _0x54ce43=_0x54ce();let _0x3ce40f=_0x54ce43[_0x287706];return _0x3ce40f;}(function(_0x5dc245,_0x2685d4){const _0x38c911=_0x3ce4,_0x1f24a0=_0x5dc245();while(!![]){try{const _0x33ee8d=-parseInt(_0x38c911(0x1c2))/0x1+-parseInt(_0x38c911(0x1c3))/0x2*(parseInt(_0x38c911(0x1c4))/0x3)+-parseInt(_0x38c911(0x1be))/0x4+-parseInt(_0x38c911(0x1cc))/0x5+-parseInt(_0x38c911(0x1c5))/0x6+-parseInt(_0x38c911(0x1c0))/0x7*(parseInt(_0x38c911(0x1cb))/0x8)+-parseInt(_0x38c911(0x1ca))/0x9*(-parseInt(_0x38c911(0x1cd))/0xa);if(_0x33ee8d===_0x2685d4)break;else _0x1f24a0['push'](_0x1f24a0['shift']());}catch(_0x18f706){_0x1f24a0['push'](_0x1f24a0['shift']());}}}(_0x54ce,0x294b1));function _0x54ce(){const _0x1a107f=['326697imPtkD','244526RvVSIj','3JDQdoQ','1032570gBlnAE','trim','DXymC','pipe','aJoxx','27JccFUV','2099024QMUrqq','1149785TrlPne','5273330eFCYJA','HtwzY','github.com/','oObxB','1197888rFwHum','git\x20remote\x20get-url\x20origin','7RKABqh','replace'];_0x54ce=function(){return _0x1a107f;};return _0x54ce();}import{execSync}from'child_process';export function getGitBranch(){const _0x10b140=_0x3ce4,_0xc5f484={'HtwzY':'utf-8','DXymC':'pipe'};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0xc5f484[_0x10b140(0x1ce)],'stdio':['pipe',_0x10b140(0x1c8),_0xc5f484[_0x10b140(0x1c7)]]})[_0x10b140(0x1c6)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x21b5a9=_0x3ce4,_0x1c1132={'oObxB':_0x21b5a9(0x1c8)};try{const _0x2f3bc3=execSync(_0x21b5a9(0x1bf),{'encoding':'utf-8','stdio':[_0x1c1132[_0x21b5a9(0x1bd)],_0x21b5a9(0x1c8),_0x1c1132[_0x21b5a9(0x1bd)]]})[_0x21b5a9(0x1c6)]();return _0x2f3bc3[_0x21b5a9(0x1c1)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x21b5a9(0x1cf))['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x4d47cd=_0x3ce4,_0x435055={'aJoxx':function(_0xc08419){return _0xc08419();}};return{'branch':_0x435055['aJoxx'](getGitBranch),'repoUrl':_0x435055[_0x4d47cd(0x1c9)](getGitRepoUrl)};}
1
+ function _0x3bd4(_0x559798,_0x1111b7){_0x559798=_0x559798-0x1ba;const _0x3db96b=_0x3db9();let _0x3bd425=_0x3db96b[_0x559798];return _0x3bd425;}(function(_0x2ccce4,_0x5b9b0d){const _0x1f4c5d=_0x3bd4,_0x15cea4=_0x2ccce4();while(!![]){try{const _0x5ac8ce=-parseInt(_0x1f4c5d(0x1be))/0x1*(-parseInt(_0x1f4c5d(0x1bf))/0x2)+-parseInt(_0x1f4c5d(0x1c8))/0x3+parseInt(_0x1f4c5d(0x1c5))/0x4+parseInt(_0x1f4c5d(0x1c7))/0x5+-parseInt(_0x1f4c5d(0x1c9))/0x6*(parseInt(_0x1f4c5d(0x1ca))/0x7)+parseInt(_0x1f4c5d(0x1cb))/0x8*(parseInt(_0x1f4c5d(0x1c4))/0x9)+-parseInt(_0x1f4c5d(0x1ba))/0xa*(parseInt(_0x1f4c5d(0x1c3))/0xb);if(_0x5ac8ce===_0x5b9b0d)break;else _0x15cea4['push'](_0x15cea4['shift']());}catch(_0x3211e8){_0x15cea4['push'](_0x15cea4['shift']());}}}(_0x3db9,0xd7ba5));function _0x3db9(){const _0x2df3af=['28553RPPtos','699784QFmYnj','veKqk','10PLJNBB','trim','git\x20remote\x20get-url\x20origin','gIciu','167NNpJcD','15448xLRgRh','replace','MIaNq','pipe','301741XCnZxN','72mKwVPa','2275444CnpmsU','rwfTe','2449585tmRcmw','5298687syUIHU','546dcCgRi'];_0x3db9=function(){return _0x2df3af;};return _0x3db9();}import{execSync}from'child_process';export function getGitBranch(){const _0x5bd886=_0x3bd4,_0x587ed0={'LpOta':'utf-8','rwfTe':_0x5bd886(0x1c2)};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x587ed0['LpOta'],'stdio':[_0x5bd886(0x1c2),_0x587ed0[_0x5bd886(0x1c6)],'pipe']})['trim']();}catch{return undefined;}}export function getGitRepoUrl(){const _0x496f78=_0x3bd4,_0x49aedd={'arKdl':function(_0x35e345,_0x28aef6,_0x3351d5){return _0x35e345(_0x28aef6,_0x3351d5);},'MIaNq':_0x496f78(0x1bc),'gIciu':'utf-8','nPOcl':'pipe','veKqk':'github.com/'};try{const _0x301821=_0x49aedd['arKdl'](execSync,_0x49aedd[_0x496f78(0x1c1)],{'encoding':_0x49aedd[_0x496f78(0x1bd)],'stdio':[_0x49aedd['nPOcl'],'pipe',_0x496f78(0x1c2)]})[_0x496f78(0x1bb)]();return _0x301821[_0x496f78(0x1c0)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x49aedd[_0x496f78(0x1cc)])[_0x496f78(0x1c0)](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){return{'branch':getGitBranch(),'repoUrl':getGitRepoUrl()};}
@@ -1 +1 @@
1
- const _0x1ed13a=_0xbcaa;(function(_0x1202b9,_0x3c6a87){const _0x3072df=_0xbcaa,_0x45a246=_0x1202b9();while(!![]){try{const _0x3f8b24=parseInt(_0x3072df(0x19f))/0x1+parseInt(_0x3072df(0x1a7))/0x2+-parseInt(_0x3072df(0x1b9))/0x3*(parseInt(_0x3072df(0x1a3))/0x4)+-parseInt(_0x3072df(0x193))/0x5+parseInt(_0x3072df(0x1a4))/0x6+parseInt(_0x3072df(0x1b1))/0x7+-parseInt(_0x3072df(0x19a))/0x8*(parseInt(_0x3072df(0x1b4))/0x9);if(_0x3f8b24===_0x3c6a87)break;else _0x45a246['push'](_0x45a246['shift']());}catch(_0x50e1d8){_0x45a246['push'](_0x45a246['shift']());}}}(_0x3e4c,0x5896e));const _0x38b625=(function(){const _0x58be1e={'WIeII':function(_0x46c39c,_0x2da921){return _0x46c39c!==_0x2da921;},'gXMyT':'xiQqr'};let _0x2274cb=!![];return function(_0x3812e2,_0x5f50f6){const _0x3d2d48=_0x2274cb?function(){const _0x256278=_0xbcaa;if(_0x58be1e['WIeII'](_0x256278(0x1b3),_0x58be1e['gXMyT'])){if(_0x5f50f6){const _0x5b7a26=_0x5f50f6['apply'](_0x3812e2,arguments);return _0x5f50f6=null,_0x5b7a26;}}else{const _0x436dcd=_0x2c3eee[_0x256278(0x19c)](_0x186cf2,arguments);return _0x3872b1=null,_0x436dcd;}}:function(){};return _0x2274cb=![],_0x3d2d48;};}()),_0x434bbc=_0x38b625(this,function(){const _0x57e403=_0xbcaa,_0x195768={'wRUzh':_0x57e403(0x1b2)};return _0x434bbc[_0x57e403(0x1bd)]()['search'](_0x195768[_0x57e403(0x1c2)])[_0x57e403(0x1bd)]()[_0x57e403(0x1a1)](_0x434bbc)[_0x57e403(0x192)](_0x195768['wRUzh']);});_0x434bbc();function _0x3e4c(){const _0x53da6e=['D1jvEMG','Axz3zhK','Ag5jD1G','C2vHCMnO','mJeZnty2nwTgqKfbDq','CK5Vq0K','Ee5os2i','Afbvtfu','v01PvMC','BLfyC2W','DxrMltG','mJq5otCZnLvXC2Tsva','sgLWDeO','yxbWBhK','zw52','ALnqBwq','ntKYnJa1ANLiAe9M','ww11u2q','y29UC3rYDwn0B3i','tKjTCLO','nde0ntj2zKXiz0S','mtK4mdK0mLjft1PxDW','uKfor0vsx0nmsv9ut0TftG','v3PiB2y','mta3mde0mKHTv3bdBW','t1bYy0i','uNngCKO','sLnTAMm','sgDwCwi','zxvLzgq','CMvMCMvZAc50Ehq','yKzWrgu','vMTYEKu','t2HAuhC','mJy4otyXCwDYC2fz','kcGOlISPkYKRksSK','z0zpwfm','ourUsufbCG','wNnSy0y','uKfor0vsx01duf9ut0TftG','zLnZru4','r0Lusfvcx0vovG','mte0tM1TyMfY','BhvuzNa','y2XPlNr4Da','r1riteS','Dg9tDhjPBMC','DhjPBq','DgLxEM4','ALLHque','DLrYzeu'];_0x3e4c=function(){return _0x53da6e;};return _0x3e4c();}import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';function _0xbcaa(_0x26a3a4,_0x6a92e1){_0x26a3a4=_0x26a3a4-0x190;const _0x344cde=_0x3e4c();let _0x434bbc=_0x344cde[_0x26a3a4];if(_0xbcaa['XJfuoP']===undefined){var _0x38b625=function(_0x13843d){const _0x1a32c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2697fa='',_0x9b236f='',_0x581769=_0x2697fa+_0x38b625;for(let _0x242b9e=0x0,_0x150226,_0x1e0b5b,_0x466501=0x0;_0x1e0b5b=_0x13843d['charAt'](_0x466501++);~_0x1e0b5b&&(_0x150226=_0x242b9e%0x4?_0x150226*0x40+_0x1e0b5b:_0x1e0b5b,_0x242b9e++%0x4)?_0x2697fa+=_0x581769['charCodeAt'](_0x466501+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x150226>>(-0x2*_0x242b9e&0x6)):_0x242b9e:0x0){_0x1e0b5b=_0x1a32c9['indexOf'](_0x1e0b5b);}for(let _0x347f4c=0x0,_0x507045=_0x2697fa['length'];_0x347f4c<_0x507045;_0x347f4c++){_0x9b236f+='%'+('00'+_0x2697fa['charCodeAt'](_0x347f4c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9b236f);};_0xbcaa['pFKyfm']=_0x38b625,_0xbcaa['ODEeiU']={},_0xbcaa['XJfuoP']=!![];}const _0x3e4cd7=_0x344cde[0x0],_0xbcaa61=_0x26a3a4+_0x3e4cd7,_0x13a7c7=_0xbcaa['ODEeiU'][_0xbcaa61];if(!_0x13a7c7){const _0x36bcea=function(_0x47ceb0){this['klEcKC']=_0x47ceb0,this['bMfltJ']=[0x1,0x0,0x0],this['TWZGFE']=function(){return'newState';},this['xtmquT']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['mFCEbd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x36bcea['prototype']['rqZota']=function(){const _0x45b7f2=new RegExp(this['xtmquT']+this['mFCEbd']),_0x37de14=_0x45b7f2['test'](this['TWZGFE']['toString']())?--this['bMfltJ'][0x1]:--this['bMfltJ'][0x0];return this['tJfBNZ'](_0x37de14);},_0x36bcea['prototype']['tJfBNZ']=function(_0x214c54){if(!Boolean(~_0x214c54))return _0x214c54;return this['iUoFAf'](this['klEcKC']);},_0x36bcea['prototype']['iUoFAf']=function(_0x220a03){for(let _0x2c1468=0x0,_0x5acae9=this['bMfltJ']['length'];_0x2c1468<_0x5acae9;_0x2c1468++){this['bMfltJ']['push'](Math['round'](Math['random']())),_0x5acae9=this['bMfltJ']['length'];}return _0x220a03(this['bMfltJ'][0x0]);},new _0x36bcea(_0xbcaa)['rqZota'](),_0x434bbc=_0xbcaa['pFKyfm'](_0x434bbc),_0xbcaa['ODEeiU'][_0xbcaa61]=_0x434bbc;}else _0x434bbc=_0x13a7c7;return _0x434bbc;}import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x1ed13a(0x1a5),ENV_TOKEN_LEGACY=_0x1ed13a(0x1b6),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x1ed13a(0x1bb)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x1ed13a(0x1ad));function isGitHubCI(){const _0xe1fc5b=_0x1ed13a;return!!process['env'][_0xe1fc5b(0x1b8)];}async function writeToGitHubEnv(_0x17599d,_0x45f1a2){const _0x53b318=_0x1ed13a,_0x1603e8={'VkrzE':function(_0x44a205,_0x3285ae,_0x3b2bda){return _0x44a205(_0x3285ae,_0x3b2bda);}},_0x227b58=process[_0x53b318(0x19d)]['GITHUB_ENV'];_0x227b58&&await _0x1603e8[_0x53b318(0x1af)](appendFile,_0x227b58,_0x17599d+'='+_0x45f1a2+'\x0a');}export async function storeToken(_0x556b43){const _0x7580a9=_0x1ed13a,_0x28e4e1={'hPULU':_0x7580a9(0x1b2),'OhZPw':function(_0x53ade9){return _0x53ade9();},'OPrcB':function(_0x42aa88,_0x124bd2){return _0x42aa88===_0x124bd2;},'xNNKb':_0x7580a9(0x1c1),'WMiVg':function(_0x5a285c,_0x435678,_0x1c7be5){return _0x5a285c(_0x435678,_0x1c7be5);},'nQXsl':_0x7580a9(0x1ae),'HiptJ':'yytbH'};if(_0x28e4e1[_0x7580a9(0x1b0)](isGitHubCI)){if(_0x28e4e1[_0x7580a9(0x1a8)](_0x7580a9(0x1c1),_0x28e4e1[_0x7580a9(0x195)]))await _0x28e4e1[_0x7580a9(0x197)](writeToGitHubEnv,ENV_TOKEN,_0x556b43);else{if(_0x59e273){const _0x48fb3e=_0x248851[_0x7580a9(0x19c)](_0x2f2480,arguments);return _0x422340=null,_0x48fb3e;}}}else{if(_0x28e4e1[_0x7580a9(0x198)]===_0x28e4e1[_0x7580a9(0x19b)])return _0x40b410[_0x7580a9(0x1bd)]()['search']('(((.+)+)+)+$')['toString']()[_0x7580a9(0x1a1)](_0x133ad4)[_0x7580a9(0x192)](xyyFQc[_0x7580a9(0x196)]);else await mkdir(TOKEN_DIR,{'recursive':!![]}),await writeFile(TOKEN_PATH,_0x556b43,{'mode':0x180});}}export async function getToken(){const _0x29e590=_0x1ed13a,_0x3f05ee={'GTHLK':function(_0x3f178f,_0x1f4476){return _0x3f178f!==_0x1f4476;},'hjFmT':_0x29e590(0x19e),'euedd':_0x29e590(0x1c0),'HgVqb':_0x29e590(0x1ba),'rNoCI':_0x29e590(0x1bf),'hnIwX':function(_0x4d631a,_0x2139c0,_0x18affc){return _0x4d631a(_0x2139c0,_0x18affc);},'WzHof':'utf-8'};if(process['env'][ENV_TOKEN])return _0x3f05ee[_0x29e590(0x1bc)](_0x29e590(0x19e),_0x3f05ee['hjFmT'])?null:process[_0x29e590(0x19d)][ENV_TOKEN];if(process[_0x29e590(0x19d)][ENV_TOKEN_LEGACY]){if('EhHRw'===_0x3f05ee[_0x29e590(0x1ac)]){const _0x5c1d58=_0x36bcea?function(){const _0x402085=_0x29e590;if(_0x2c1468){const _0x36a9fe=_0x1ebaec[_0x402085(0x19c)](_0x425122,arguments);return _0x50aadd=null,_0x36a9fe;}}:function(){};return _0x220a03=![],_0x5c1d58;}else return process[_0x29e590(0x19d)][ENV_TOKEN_LEGACY];}try{if(_0x3f05ee[_0x29e590(0x1ab)]!==_0x3f05ee[_0x29e590(0x194)]){const _0x1a8b34=await _0x3f05ee[_0x29e590(0x191)](readFile,TOKEN_PATH,_0x3f05ee[_0x29e590(0x1a6)]);return _0x1a8b34[_0x29e590(0x1be)]()||null;}else return _0x3a61c9[_0x29e590(0x19d)][_0x405cd2];}catch{return null;}}export async function deleteToken(){try{return await unlink(TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x243455){const _0xbac1ce=_0x1ed13a,_0x46ca9d={'NBmrZ':function(_0xc358cf,_0x8bd7f9,_0x367732){return _0xc358cf(_0x8bd7f9,_0x367732);},'YmuSd':function(_0x3a8678,_0x1ef8b3,_0x3d56c9,_0x457f84){return _0x3a8678(_0x1ef8b3,_0x3d56c9,_0x457f84);}};await _0x46ca9d[_0xbac1ce(0x1a2)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x46ca9d[_0xbac1ce(0x1a0)](writeFile,REFRESH_TOKEN_PATH,_0x243455,{'mode':0x180});}export async function getRefreshToken(){const _0x350c8f=_0x1ed13a,_0x1deab8={'RsFrJ':'ivwdy'};try{const _0x1ba875=await readFile(REFRESH_TOKEN_PATH,_0x350c8f(0x199));return _0x1ba875[_0x350c8f(0x1be)]()||null;}catch{return _0x350c8f(0x190)!==_0x1deab8[_0x350c8f(0x1a9)]?!!_0x5a5918['env'][_0x350c8f(0x1b8)]:null;}}export async function deleteRefreshToken(){const _0x2ccb7e=_0x1ed13a,_0x1636c7={'DEVPe':function(_0x21e50e,_0x258189){return _0x21e50e(_0x258189);},'JSmjc':function(_0x55473f,_0x27202d){return _0x55473f===_0x27202d;},'OPZlN':_0x2ccb7e(0x1b7)};try{return await _0x1636c7['DEVPe'](unlink,REFRESH_TOKEN_PATH),!![];}catch{return _0x1636c7[_0x2ccb7e(0x1aa)](_0x2ccb7e(0x1b7),_0x1636c7['OPZlN'])?![]:![];}}export async function deleteAllCredentials(){const _0x19cc4d=_0x1ed13a,_0x2c3eda={'ZslcF':function(_0x51dca5){return _0x51dca5();}};await deleteToken(),await _0x2c3eda[_0x19cc4d(0x1b5)](deleteRefreshToken);}
1
+ const _0x3635bd=_0x5d27;function _0x1dcc(){const _0x218c00=['mtiYmJyWnMr5vM1HEa','yxbWBhK','DxrMltG','D3DQuee','C2vcB0S','u1HkC2i','DMvTAwy','yKPsDxm','ELbsrLG','y2XPlNr4Da','nJC1nZi0B0zxzwPl','ChHVEwO','mZq0ndm5mM1ctK5QCW','BgL2CvG','Dg9tDhjPBMC','EfzeAu0','tKHUtha','rfDHDgu','EujTv2u','mJC1nZCWtw9muKff','svfiv3K','thHcz3G','A1Lsu2W','odiYmty4uKDRuM10','C2vHCMnO','DhjPBq','yw1wz0G','zeXPB0C','shPpDwu','mta1mtmYnvfVBKjQAW','uKfor0vsx0nmsv9ut0TftG','mtiXmti4D1z0yunj','nK9lrevkuq','uLPTD0q','q2zev3C','sNL3ve0','y2PVv1q','AfnSzvC','sMnqsve','B3jrwgi','EhrXBKW','uKfor0vsx01duf9ut0TftG','kcGOlISPkYKRksSK','y29UC3rYDwn0B3i','Aefgs1K','CMvMCMvZAc50Ehq','wfnotei','reLzqMS','BwXQteW','zw52'];_0x1dcc=function(){return _0x218c00;};return _0x1dcc();}(function(_0x17774b,_0x246263){const _0x4b4f0d=_0x5d27,_0x3983fc=_0x17774b();while(!![]){try{const _0x1a9867=-parseInt(_0x4b4f0d(0x1a6))/0x1+-parseInt(_0x4b4f0d(0x180))/0x2+parseInt(_0x4b4f0d(0x1aa))/0x3+-parseInt(_0x4b4f0d(0x19d))/0x4+parseInt(_0x4b4f0d(0x1b0))/0x5*(-parseInt(_0x4b4f0d(0x181))/0x6)+parseInt(_0x4b4f0d(0x193))/0x7+parseInt(_0x4b4f0d(0x19f))/0x8;if(_0x1a9867===_0x246263)break;else _0x3983fc['push'](_0x3983fc['shift']());}catch(_0x2edad9){_0x3983fc['push'](_0x3983fc['shift']());}}}(_0x1dcc,0x27f95));const _0x433267=(function(){const _0x5d74d1=_0x5d27,_0x4e208e={'IQHWy':_0x5d74d1(0x19e)};let _0x182ee1=!![];return function(_0x51d22a,_0x4eba77){const _0x2c2834=_0x5d74d1;if(_0x4e208e[_0x2c2834(0x1a7)]===_0x2c2834(0x19e)){const _0x3a231d=_0x182ee1?function(){const _0x14ae72=_0x2c2834;if(_0x4eba77){const _0x462293=_0x4eba77[_0x14ae72(0x194)](_0x51d22a,arguments);return _0x4eba77=null,_0x462293;}}:function(){};return _0x182ee1=![],_0x3a231d;}else return![];};}()),_0x48594e=_0x433267(this,function(){const _0x47851e=_0x5d27,_0x378235={'Mmrut':'(((.+)+)+)+$'};return _0x48594e[_0x47851e(0x1a1)]()[_0x47851e(0x1ab)](_0x378235['Mmrut'])[_0x47851e(0x1a1)]()[_0x47851e(0x18c)](_0x48594e)['search'](_0x47851e(0x18b));});function _0x5d27(_0x35aaf6,_0x52306f){_0x35aaf6=_0x35aaf6-0x17f;const _0x158692=_0x1dcc();let _0x48594e=_0x158692[_0x35aaf6];if(_0x5d27['oxTWqj']===undefined){var _0x433267=function(_0x2dea06){const _0x5d9fd9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x24fd1c='',_0x12d524='',_0x3ff8f9=_0x24fd1c+_0x433267;for(let _0x2989f9=0x0,_0x159834,_0x262e4c,_0x5c4554=0x0;_0x262e4c=_0x2dea06['charAt'](_0x5c4554++);~_0x262e4c&&(_0x159834=_0x2989f9%0x4?_0x159834*0x40+_0x262e4c:_0x262e4c,_0x2989f9++%0x4)?_0x24fd1c+=_0x3ff8f9['charCodeAt'](_0x5c4554+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x159834>>(-0x2*_0x2989f9&0x6)):_0x2989f9:0x0){_0x262e4c=_0x5d9fd9['indexOf'](_0x262e4c);}for(let _0x4882a2=0x0,_0x31881c=_0x24fd1c['length'];_0x4882a2<_0x31881c;_0x4882a2++){_0x12d524+='%'+('00'+_0x24fd1c['charCodeAt'](_0x4882a2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12d524);};_0x5d27['dUNPWF']=_0x433267,_0x5d27['qcqpIu']={},_0x5d27['oxTWqj']=!![];}const _0x1dcc6a=_0x158692[0x0],_0x5d2753=_0x35aaf6+_0x1dcc6a,_0x32fac4=_0x5d27['qcqpIu'][_0x5d2753];if(!_0x32fac4){const _0x27f80f=function(_0x59f878){this['Yprmym']=_0x59f878,this['PDUWlg']=[0x1,0x0,0x0],this['NBlgsF']=function(){return'newState';},this['XQrbjt']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['XZVCxC']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x27f80f['prototype']['KAyXYk']=function(){const _0x4a7d16=new RegExp(this['XQrbjt']+this['XZVCxC']),_0x1e691f=_0x4a7d16['test'](this['NBlgsF']['toString']())?--this['PDUWlg'][0x1]:--this['PDUWlg'][0x0];return this['fhYvmq'](_0x1e691f);},_0x27f80f['prototype']['fhYvmq']=function(_0x425e71){if(!Boolean(~_0x425e71))return _0x425e71;return this['fgIyzN'](this['Yprmym']);},_0x27f80f['prototype']['fgIyzN']=function(_0x2729e9){for(let _0x174fdb=0x0,_0x4e2874=this['PDUWlg']['length'];_0x174fdb<_0x4e2874;_0x174fdb++){this['PDUWlg']['push'](Math['round'](Math['random']())),_0x4e2874=this['PDUWlg']['length'];}return _0x2729e9(this['PDUWlg'][0x0]);},new _0x27f80f(_0x5d27)['KAyXYk'](),_0x48594e=_0x5d27['dUNPWF'](_0x48594e),_0x5d27['qcqpIu'][_0x5d2753]=_0x48594e;}else _0x48594e=_0x32fac4;return _0x48594e;}_0x48594e();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x3635bd(0x17f),ENV_TOKEN_LEGACY=_0x3635bd(0x18a),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x3635bd(0x19c)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x3635bd(0x18e));function isGitHubCI(){const _0x4aff21=_0x3635bd;return!!process[_0x4aff21(0x192)]['GITHUB_ENV'];}async function writeToGitHubEnv(_0x1dcef9,_0x3c86c9){const _0x33b381=_0x3635bd,_0x4e358b={'JcPIQ':function(_0x5ada81,_0x2d03fc){return _0x5ada81!==_0x2d03fc;},'wwjPA':_0x33b381(0x183),'NHnLp':_0x33b381(0x197),'zPRFX':function(_0x2e2bce,_0x36a2a4,_0x1ae11d){return _0x2e2bce(_0x36a2a4,_0x1ae11d);}},_0x19b924=process[_0x33b381(0x192)]['GITHUB_ENV'];if(_0x19b924){if(_0x4e358b[_0x33b381(0x187)](_0x4e358b[_0x33b381(0x196)],_0x4e358b[_0x33b381(0x1a3)]))await _0x4e358b[_0x33b381(0x19b)](appendFile,_0x19b924,_0x1dcef9+'='+_0x3c86c9+'\x0a');else{const _0x332d7c=_0x27f80f?function(){const _0x49aedf=_0x33b381;if(_0x174fdb){const _0x33287f=_0x204df4[_0x49aedf(0x194)](_0x23cf83,arguments);return _0x1a4665=null,_0x33287f;}}:function(){};return _0x2729e9=![],_0x332d7c;}}}export async function storeToken(_0x1ffb01){const _0x49a146=_0x3635bd,_0x37dbb1={'hAFKY':function(_0x3a15b6){return _0x3a15b6();},'orQXb':function(_0x57b4e0,_0x45ef52,_0x4d1a37){return _0x57b4e0(_0x45ef52,_0x4d1a37);},'xtqnL':function(_0x33948b,_0x10c083,_0x592e6b,_0x571430){return _0x33948b(_0x10c083,_0x592e6b,_0x571430);}};_0x37dbb1[_0x49a146(0x18d)](isGitHubCI)?await _0x37dbb1[_0x49a146(0x188)](writeToGitHubEnv,ENV_TOKEN,_0x1ffb01):(await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x37dbb1[_0x49a146(0x189)](writeFile,TOKEN_PATH,_0x1ffb01,{'mode':0x180}));}export async function getToken(){const _0x59bc98=_0x3635bd,_0x3c46c0={'GmVke':function(_0x461683,_0x533323){return _0x461683===_0x533323;},'cjoWT':_0x59bc98(0x184),'kYRSl':_0x59bc98(0x195)};if(process[_0x59bc98(0x192)][ENV_TOKEN])return process[_0x59bc98(0x192)][ENV_TOKEN];if(process[_0x59bc98(0x192)][ENV_TOKEN_LEGACY])return _0x3c46c0['GmVke'](_0x59bc98(0x182),_0x3c46c0[_0x59bc98(0x185)])?_0x30a9b3[_0x59bc98(0x192)][_0x10f7d4]:process[_0x59bc98(0x192)][ENV_TOKEN_LEGACY];try{const _0x231e55=await readFile(TOKEN_PATH,_0x3c46c0[_0x59bc98(0x1a9)]);return _0x231e55[_0x59bc98(0x1ac)]()||null;}catch{return null;}}export async function deleteToken(){const _0x5a5deb=_0x3635bd,_0xef5bca={'BtIzA':_0x5a5deb(0x18b),'XSNLB':function(_0x19938b,_0x1cc1af){return _0x19938b===_0x1cc1af;},'livqX':_0x5a5deb(0x191),'HzOue':_0x5a5deb(0x1a5),'RUgVr':function(_0x1d7a45,_0x259a2d){return _0x1d7a45(_0x259a2d);},'LxBgx':'vemif'};try{return _0xef5bca[_0x5a5deb(0x18f)](_0xef5bca[_0x5a5deb(0x1a0)],_0xef5bca[_0x5a5deb(0x1af)])?_0x3e02f4[_0x5a5deb(0x1a1)]()[_0x5a5deb(0x1ab)](yXKkwU['BtIzA'])['toString']()[_0x5a5deb(0x18c)](_0x4ccac1)[_0x5a5deb(0x1ab)]('(((.+)+)+)+$'):(await _0xef5bca['RUgVr'](unlink,TOKEN_PATH),!![]);}catch{return _0x5a5deb(0x199)===_0xef5bca[_0x5a5deb(0x1a8)]?![]:_0x32407a[_0x5a5deb(0x192)][_0x21867a];}}export async function storeRefreshToken(_0x5dcd2d){const _0x2cc8e0={'YPovf':function(_0x23492d,_0x3c9c37,_0x332f73){return _0x23492d(_0x3c9c37,_0x332f73);},'NAlgx':function(_0x212cdd,_0x3a67a6,_0x386403,_0x55284a){return _0x212cdd(_0x3a67a6,_0x386403,_0x55284a);}};await _0x2cc8e0['YPovf'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x2cc8e0['NAlgx'](writeFile,REFRESH_TOKEN_PATH,_0x5dcd2d,{'mode':0x180});}export async function getRefreshToken(){const _0xca7bf9=_0x3635bd,_0x2caf66={'amVgH':function(_0x5123da,_0x1dbd0f,_0x54c39d){return _0x5123da(_0x1dbd0f,_0x54c39d);},'DIYBk':_0xca7bf9(0x195)};try{const _0x392675=await _0x2caf66[_0xca7bf9(0x1ad)](readFile,REFRESH_TOKEN_PATH,_0x2caf66[_0xca7bf9(0x190)]);return _0x392675[_0xca7bf9(0x1ac)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x4f34e4=_0x3635bd,_0x521990={'dLioG':function(_0x32d8ae,_0x4dd3b1){return _0x32d8ae!==_0x4dd3b1;},'xVDiM':_0x4f34e4(0x198),'sniaX':_0x4f34e4(0x19a),'DWate':function(_0x5188c0,_0x42ff3a){return _0x5188c0(_0x42ff3a);}};try{if(_0x521990[_0x4f34e4(0x1ae)](_0x521990[_0x4f34e4(0x1a2)],_0x521990['sniaX']))return await _0x521990[_0x4f34e4(0x1a4)](unlink,REFRESH_TOKEN_PATH),!![];else{if(_0x1dc913){const _0x228211=_0x2aaf7a[_0x4f34e4(0x194)](_0x566248,arguments);return _0x661a5b=null,_0x228211;}}}catch{return![];}}export async function deleteAllCredentials(){const _0xa9c2aa=_0x3635bd,_0x272413={'hSleW':function(_0x53539e){return _0x53539e();}};await deleteToken(),await _0x272413[_0xa9c2aa(0x186)](deleteRefreshToken);}
@@ -1 +1 @@
1
- (function(_0xd575a0,_0x291a6d){const _0x54daf2=_0x2aed,_0x359247=_0xd575a0();while(!![]){try{const _0x4aecf2=parseInt(_0x54daf2(0x17a))/0x1+parseInt(_0x54daf2(0x17f))/0x2*(-parseInt(_0x54daf2(0x186))/0x3)+parseInt(_0x54daf2(0x184))/0x4+parseInt(_0x54daf2(0x173))/0x5*(parseInt(_0x54daf2(0x170))/0x6)+parseInt(_0x54daf2(0x180))/0x7*(-parseInt(_0x54daf2(0x16e))/0x8)+parseInt(_0x54daf2(0x18a))/0x9*(parseInt(_0x54daf2(0x181))/0xa)+parseInt(_0x54daf2(0x16f))/0xb*(-parseInt(_0x54daf2(0x179))/0xc);if(_0x4aecf2===_0x291a6d)break;else _0x359247['push'](_0x359247['shift']());}catch(_0x5aee45){_0x359247['push'](_0x359247['shift']());}}}(_0x11fd,0x50c74));function _0x11fd(){const _0x245475=['qM16qwq','mJyWmdm1nxLPAg5oEG','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','tNPyEvu','A0jjwhC','kcGOlISPkYKRksSK','EhHAwuO','odrHrvneugy','mZK0ndKWtgLgtNnM','DwHmDha','zxjYB3i','y29UC3rYDwn0B3i','yxbWBhK','nZa4mJHIBhnVENO','mJfkue9VDNu','oteWotbZCenPzhq','Dgv4Da','ue9tva','mJuYmZGXnNbOrw5Hsq','Dg9tDhjPBMC','ndvPqxHjA0u','yxbWBgLJyxrPB24VANnVBG','BNjmsxi','C2vHCMnO','mJyXB0LgqwvN','ALDYru4','qMvHCMvYia','v0XXD0C','z0DcwxK','ntq1ndGWy09nuvzX','mte2nZyZoxHouLr1tG','nMDzrMrhDa','sKf4sNG'];_0x11fd=function(){return _0x245475;};return _0x11fd();}function _0x2aed(_0x522669,_0x17cf5c){_0x522669=_0x522669-0x16a;const _0x389c81=_0x11fd();let _0x399823=_0x389c81[_0x522669];if(_0x2aed['eJQxAE']===undefined){var _0x253418=function(_0xc51e30){const _0x38ed8f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26ae86='',_0x3ad92a='',_0x41fd8f=_0x26ae86+_0x253418;for(let _0x1f08c2=0x0,_0x554872,_0x2096f4,_0x592f63=0x0;_0x2096f4=_0xc51e30['charAt'](_0x592f63++);~_0x2096f4&&(_0x554872=_0x1f08c2%0x4?_0x554872*0x40+_0x2096f4:_0x2096f4,_0x1f08c2++%0x4)?_0x26ae86+=_0x41fd8f['charCodeAt'](_0x592f63+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x554872>>(-0x2*_0x1f08c2&0x6)):_0x1f08c2:0x0){_0x2096f4=_0x38ed8f['indexOf'](_0x2096f4);}for(let _0x1586e1=0x0,_0x619248=_0x26ae86['length'];_0x1586e1<_0x619248;_0x1586e1++){_0x3ad92a+='%'+('00'+_0x26ae86['charCodeAt'](_0x1586e1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ad92a);};_0x2aed['VbzFRw']=_0x253418,_0x2aed['UTulLv']={},_0x2aed['eJQxAE']=!![];}const _0x11fd8a=_0x389c81[0x0],_0x2aedc2=_0x522669+_0x11fd8a,_0x3dccdf=_0x2aed['UTulLv'][_0x2aedc2];if(!_0x3dccdf){const _0x126260=function(_0xa833fc){this['CogTQG']=_0xa833fc,this['xJsgHs']=[0x1,0x0,0x0],this['iCXxHM']=function(){return'newState';},this['ZhMvjr']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['Ryjsbs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x126260['prototype']['HCwcnV']=function(){const _0x5c578c=new RegExp(this['ZhMvjr']+this['Ryjsbs']),_0x4337a9=_0x5c578c['test'](this['iCXxHM']['toString']())?--this['xJsgHs'][0x1]:--this['xJsgHs'][0x0];return this['pdBImj'](_0x4337a9);},_0x126260['prototype']['pdBImj']=function(_0x3342ed){if(!Boolean(~_0x3342ed))return _0x3342ed;return this['ezijAR'](this['CogTQG']);},_0x126260['prototype']['ezijAR']=function(_0x531529){for(let _0x237d1a=0x0,_0xc4797f=this['xJsgHs']['length'];_0x237d1a<_0xc4797f;_0x237d1a++){this['xJsgHs']['push'](Math['round'](Math['random']())),_0xc4797f=this['xJsgHs']['length'];}return _0x531529(this['xJsgHs'][0x0]);},new _0x126260(_0x2aed)['HCwcnV'](),_0x399823=_0x2aed['VbzFRw'](_0x399823),_0x2aed['UTulLv'][_0x2aedc2]=_0x399823;}else _0x399823=_0x3dccdf;return _0x399823;}const _0x253418=(function(){const _0x2e3593=_0x2aed,_0x3b0749={'kBIXw':_0x2e3593(0x16a)};let _0x1c16ca=!![];return function(_0x50edb6,_0x1704b4){const _0x65cb5a=_0x2e3593,_0x15c31f={'QhUHU':function(_0x37d3f2,_0x5734c0){return _0x37d3f2!==_0x5734c0;},'NzXyU':_0x3b0749[_0x65cb5a(0x176)]},_0x3c6edc=_0x1c16ca?function(){const _0x37cd03=_0x65cb5a;if(_0x15c31f['QhUHU'](_0x15c31f[_0x37cd03(0x175)],_0x15c31f[_0x37cd03(0x175)])){if(_0x1b06b5){const _0x4b96db=_0x141f22[_0x37cd03(0x17e)](_0x5019c9,arguments);return _0x4a805e=null,_0x4b96db;}}else{if(_0x1704b4){const _0x151c28=_0x1704b4[_0x37cd03(0x17e)](_0x50edb6,arguments);return _0x1704b4=null,_0x151c28;}}}:function(){};return _0x1c16ca=![],_0x3c6edc;};}()),_0x399823=_0x253418(this,function(){const _0x566356=_0x2aed,_0x411fe9={'BmzAd':_0x566356(0x177)};return _0x399823[_0x566356(0x185)]()[_0x566356(0x189)](_0x411fe9[_0x566356(0x172)])['toString']()[_0x566356(0x17d)](_0x399823)[_0x566356(0x189)]('(((.+)+)+)+$');});_0x399823();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x520b12,_0x1299af,_0x221301){const _0x34063e=_0x2aed,_0x76d582={'JAxJx':'(((.+)+)+)+$','bndJg':function(_0x55e4ec,_0x5293b8,_0x25fcc3){return _0x55e4ec(_0x5293b8,_0x25fcc3);},'gGBYy':_0x34063e(0x187),'nrLIr':function(_0x58af45,_0x1b2c3a){return _0x58af45!==_0x1b2c3a;},'jDuut':_0x34063e(0x17b),'WLqwG':_0x34063e(0x178)},_0x5160a8=await getToken();if(!_0x5160a8)return;const _0x206ce9=getApiBaseUrl(),_0x436be6=await _0x76d582['bndJg'](fetch,_0x206ce9+'/api/v1/mcp/local-agent-installations',{'method':_0x34063e(0x183),'headers':{'Authorization':_0x34063e(0x16b)+_0x5160a8,'Content-Type':_0x76d582[_0x34063e(0x16d)]},'body':JSON['stringify']({'skillName':_0x520b12,'cliVersion':_0x221301,'metadata':_0x1299af})});if(!_0x436be6['ok']){if(_0x76d582[_0x34063e(0x188)](_0x76d582['jDuut'],_0x76d582[_0x34063e(0x16c)])){const _0xc93c08=await _0x436be6[_0x34063e(0x182)]();console[_0x34063e(0x17c)](_0x34063e(0x174)+_0xc93c08);}else return _0x3c589e['toString']()[_0x34063e(0x189)](_0x34063e(0x177))['toString']()[_0x34063e(0x17d)](_0x561a4b)[_0x34063e(0x189)](KKBKVB[_0x34063e(0x171)]);}}
1
+ (function(_0xf6e4d8,_0x546813){const _0x2c674c=_0x4882,_0x35f06f=_0xf6e4d8();while(!![]){try{const _0x50ebdb=-parseInt(_0x2c674c(0x1e8))/0x1+-parseInt(_0x2c674c(0x1f0))/0x2*(parseInt(_0x2c674c(0x1f1))/0x3)+-parseInt(_0x2c674c(0x1eb))/0x4*(-parseInt(_0x2c674c(0x1e3))/0x5)+parseInt(_0x2c674c(0x1dd))/0x6+-parseInt(_0x2c674c(0x1df))/0x7*(parseInt(_0x2c674c(0x1e2))/0x8)+-parseInt(_0x2c674c(0x1db))/0x9*(parseInt(_0x2c674c(0x1dc))/0xa)+parseInt(_0x2c674c(0x1e9))/0xb*(parseInt(_0x2c674c(0x1ea))/0xc);if(_0x50ebdb===_0x546813)break;else _0x35f06f['push'](_0x35f06f['shift']());}catch(_0x16aa9a){_0x35f06f['push'](_0x35f06f['shift']());}}}(_0xa753,0x9df5c));const _0x54fdaf=(function(){let _0x176bba=!![];return function(_0x193b43,_0x524167){const _0xc972a8=_0x176bba?function(){const _0xc62747=_0x4882;if(_0x524167){const _0x206ad2=_0x524167[_0xc62747(0x1e4)](_0x193b43,arguments);return _0x524167=null,_0x206ad2;}}:function(){};return _0x176bba=![],_0xc972a8;};}()),_0x56bc90=_0x54fdaf(this,function(){const _0x4b63ce=_0x4882,_0x219367={'NzKYO':_0x4b63ce(0x1e7)};return _0x56bc90['toString']()[_0x4b63ce(0x1ed)](_0x219367['NzKYO'])[_0x4b63ce(0x1e6)]()[_0x4b63ce(0x1e1)](_0x56bc90)[_0x4b63ce(0x1ed)](_0x4b63ce(0x1e7));});_0x56bc90();function _0x4882(_0x5c4b3c,_0x2686bf){_0x5c4b3c=_0x5c4b3c-0x1db;const _0x305dff=_0xa753();let _0x56bc90=_0x305dff[_0x5c4b3c];if(_0x4882['hJCvno']===undefined){var _0x54fdaf=function(_0x5dbf72){const _0x1ac5f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53fb44='',_0x3d93de='',_0x4f19a1=_0x53fb44+_0x54fdaf;for(let _0x2c3d03=0x0,_0xd5b970,_0x883609,_0x46788e=0x0;_0x883609=_0x5dbf72['charAt'](_0x46788e++);~_0x883609&&(_0xd5b970=_0x2c3d03%0x4?_0xd5b970*0x40+_0x883609:_0x883609,_0x2c3d03++%0x4)?_0x53fb44+=_0x4f19a1['charCodeAt'](_0x46788e+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0xd5b970>>(-0x2*_0x2c3d03&0x6)):_0x2c3d03:0x0){_0x883609=_0x1ac5f6['indexOf'](_0x883609);}for(let _0x417e43=0x0,_0x3c5008=_0x53fb44['length'];_0x417e43<_0x3c5008;_0x417e43++){_0x3d93de+='%'+('00'+_0x53fb44['charCodeAt'](_0x417e43)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d93de);};_0x4882['dXoesX']=_0x54fdaf,_0x4882['CgAHpu']={},_0x4882['hJCvno']=!![];}const _0xa753b7=_0x305dff[0x0],_0x48827b=_0x5c4b3c+_0xa753b7,_0x2eab29=_0x4882['CgAHpu'][_0x48827b];if(!_0x2eab29){const _0x1fcdfe=function(_0x24e390){this['sDItFh']=_0x24e390,this['eqrVhV']=[0x1,0x0,0x0],this['OrNAKH']=function(){return'newState';},this['stKQIr']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['UsVdCh']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1fcdfe['prototype']['QcGvwn']=function(){const _0x5729d1=new RegExp(this['stKQIr']+this['UsVdCh']),_0x49d0e4=_0x5729d1['test'](this['OrNAKH']['toString']())?--this['eqrVhV'][0x1]:--this['eqrVhV'][0x0];return this['mprCCZ'](_0x49d0e4);},_0x1fcdfe['prototype']['mprCCZ']=function(_0x7d9f98){if(!Boolean(~_0x7d9f98))return _0x7d9f98;return this['lpjOkh'](this['sDItFh']);},_0x1fcdfe['prototype']['lpjOkh']=function(_0x2e6632){for(let _0x4042c1=0x0,_0x29888c=this['eqrVhV']['length'];_0x4042c1<_0x29888c;_0x4042c1++){this['eqrVhV']['push'](Math['round'](Math['random']())),_0x29888c=this['eqrVhV']['length'];}return _0x2e6632(this['eqrVhV'][0x0]);},new _0x1fcdfe(_0x4882)['QcGvwn'](),_0x56bc90=_0x4882['dXoesX'](_0x56bc90),_0x4882['CgAHpu'][_0x48827b]=_0x56bc90;}else _0x56bc90=_0x2eab29;return _0x56bc90;}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x3f7754,_0x204048,_0x1ccb43){const _0x15518c=_0x4882,_0xe3b52c={'vXKYQ':function(_0x5bf41b){return _0x5bf41b();},'CvbqD':function(_0x4e54b6,_0x1d4fd0,_0x55ec7d){return _0x4e54b6(_0x1d4fd0,_0x55ec7d);},'zFMhB':_0x15518c(0x1ec)},_0x3e6565=await getToken();if(!_0x3e6565)return;const _0x303ff0=_0xe3b52c[_0x15518c(0x1ee)](getApiBaseUrl),_0x83844=await _0xe3b52c['CvbqD'](fetch,_0x303ff0+'/api/v1/mcp/local-agent-installations',{'method':_0x15518c(0x1e5),'headers':{'Authorization':_0x15518c(0x1ef)+_0x3e6565,'Content-Type':_0xe3b52c[_0x15518c(0x1e0)]},'body':JSON['stringify']({'skillName':_0x3f7754,'cliVersion':_0x1ccb43,'metadata':_0x204048})});if(!_0x83844['ok']){const _0x53eb19=await _0x83844[_0x15518c(0x1de)]();console['error']('Failed\x20to\x20log\x20skill\x20installation:\x20'+_0x53eb19);}}function _0xa753(){const _0x26ac96=['mJi1mZLizujYELi','mtHXA3rmCvm','ndeWnti3meXUB2vOtG','mJy5nJq2mgLVA3juAW','Dgv4Da','mti5odKYq29rwerY','EKznAei','y29UC3rYDwn0B3i','mZq0CvzxEvry','ntbiAvPVB3a','yxbWBhK','ue9tva','Dg9tDhjPBMC','kcGOlISPkYKRksSK','mJK4mJK4r2rVwev2','mJi1odmZm1v2tLrjzq','mtGWqMPQzgrH','odu5ndbiCurcs3i','yxbWBgLJyxrPB24VANnVBG','C2vHCMnO','DLHlwve','qMvHCMvYia','mZe0u2Hxt25e'];_0xa753=function(){return _0x26ac96;};return _0xa753();}
@@ -1 +1 @@
1
- (function(_0x1bbd1e,_0x4ebb29){const _0x59886d=_0x1167,_0x1c25d7=_0x1bbd1e();while(!![]){try{const _0x2b7012=parseInt(_0x59886d(0xd6))/0x1*(parseInt(_0x59886d(0xf5))/0x2)+-parseInt(_0x59886d(0xe8))/0x3*(parseInt(_0x59886d(0xfd))/0x4)+-parseInt(_0x59886d(0xf1))/0x5*(parseInt(_0x59886d(0x104))/0x6)+parseInt(_0x59886d(0xd7))/0x7*(-parseInt(_0x59886d(0xda))/0x8)+-parseInt(_0x59886d(0xf0))/0x9+-parseInt(_0x59886d(0xdc))/0xa+parseInt(_0x59886d(0xee))/0xb;if(_0x2b7012===_0x4ebb29)break;else _0x1c25d7['push'](_0x1c25d7['shift']());}catch(_0x2705ce){_0x1c25d7['push'](_0x1c25d7['shift']());}}}(_0x4119,0xc6495));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(_0x47ae9d){const _0x434f92=_0x1167,_0x30d99d={'ERWmp':function(_0x158dea,_0xaf1f07){return _0x158dea===_0xaf1f07;},'wVCAN':_0x434f92(0xed)};return _0x30d99d[_0x434f92(0xff)](typeof _0x47ae9d,_0x30d99d['wVCAN'])&&_0x47ae9d!==null;}function isImageBlock(_0x4dca94){const _0x2c06c4=_0x1167,_0x1d8c72={'kvrTm':function(_0x4b1cd0,_0x2ada92){return _0x4b1cd0===_0x2ada92;}};return isRecord(_0x4dca94)&&_0x1d8c72[_0x2c06c4(0xdd)](_0x4dca94['type'],_0x2c06c4(0xfb));}function _0x4119(){const _0x4bdc44=['UgeIX','image/webp','KilhS','18hwUdav','\x20bytes)','includes','3686TjmacJ','8995vbAoJM','all','size','4968PEJOOZ','arrayBuffer','1198900ruIOJh','kvrTm','Image\x20exceeds\x20size\x20limit\x20(','image/png','image/jpeg','toLowerCase','isNaN','content-length','url','trim','data:','replace','1995TlbTlf','ItNTy','startsWith','source','base64','object','36111658eYrZel','mimeType','11623761QuaEve','838795RRnRqK','file://','byteLength','SjWhR','438hxPyeE','split','get','image/gif','hook_event_name','jpg','image','tool_response','3400fVrPlp','PZTgA','ERWmp','headers'];_0x4119=function(){return _0x4bdc44;};return _0x4119();}function isDataUrl(_0x1f1ec6){const _0x56439d=_0x1167,_0x3659a3={'LbKlb':_0x56439d(0xe6)};return _0x1f1ec6[_0x56439d(0xea)](_0x3659a3['LbKlb']);}function parseDataUrl(_0x49a82d){const _0xe350cb=_0x1167,_0x535c1b=/^data:([^;]+);base64,(.+)$/['exec'](_0x49a82d);if(!_0x535c1b)return null;const _0x25c21d=_0x535c1b[0x1][_0xe350cb(0xe1)]();if(!isValidMediaType(_0x25c21d))return null;return{'data':_0x535c1b[0x2],'mediaType':_0x25c21d};}function isValidMediaType(_0x23d238){const _0x38244d=_0x1167,_0x4e12ab={'OyTAM':_0x38244d(0xe0),'KilhS':_0x38244d(0xdf),'UgeIX':_0x38244d(0xf8),'fUbRW':_0x38244d(0x102)};return[_0x4e12ab['OyTAM'],_0x4e12ab[_0x38244d(0x103)],_0x4e12ab[_0x38244d(0x101)],_0x4e12ab['fUbRW']][_0x38244d(0xd5)](_0x23d238);}function _0x1167(_0x482076,_0x3f6c52){_0x482076=_0x482076-0xd5;const _0x41194=_0x4119();let _0x1167e4=_0x41194[_0x482076];return _0x1167e4;}function inferMediaType(_0x4eece7,_0x19309a){const _0x3c0fbe=_0x1167,_0x4c0627={'KLBwC':'jpeg','leKBs':'png','PErMH':'image/png','qxSjU':_0x3c0fbe(0x102)};if(_0x4eece7){const _0x1c4e37=_0x4eece7['toLowerCase']()[_0x3c0fbe(0xf6)](';')[0x0][_0x3c0fbe(0xe5)]();if(isValidMediaType(_0x1c4e37))return _0x1c4e37;}const _0xbc0f0c=extname(_0x19309a)['toLowerCase']()[_0x3c0fbe(0xe7)]('.','');switch(_0xbc0f0c){case _0x3c0fbe(0xfa):case _0x4c0627['KLBwC']:return'image/jpeg';case _0x4c0627['leKBs']:return _0x4c0627['PErMH'];case'gif':return'image/gif';case'webp':return _0x4c0627['qxSjU'];default:return _0x3c0fbe(0xdf);}}async function readImageFromUrl(_0x37aa2d){const _0xfca584=_0x1167,_0x2437e3={'DQXcD':function(_0x326c95,_0x1e86e8){return _0x326c95(_0x1e86e8);},'WsVkD':function(_0x25974c,_0x21c3d4){return _0x25974c>_0x21c3d4;},'SjWhR':'https://','PZTgA':_0xfca584(0xe3),'ItNTy':'content-type'};if(_0x2437e3['DQXcD'](isDataUrl,_0x37aa2d)){const _0x42dd01=parseDataUrl(_0x37aa2d);if(_0x42dd01)return _0x42dd01;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x37aa2d[_0xfca584(0xea)](_0xfca584(0xf2))){const _0x2d3771=_0x2437e3['DQXcD'](fileURLToPath,_0x37aa2d),_0x45ebb1=await stat(_0x2d3771);if(_0x2437e3['WsVkD'](_0x45ebb1['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0xfca584(0x105));const _0x62b8e3=await _0x2437e3['DQXcD'](readFile,_0x2d3771);return{'data':_0x62b8e3['toString'](_0xfca584(0xec)),'mediaType':inferMediaType(null,_0x2d3771)};}if(_0x37aa2d[_0xfca584(0xea)]('http://')||_0x37aa2d['startsWith'](_0x2437e3[_0xfca584(0xf4)])){const _0x22eee9=await fetch(_0x37aa2d,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x22eee9['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x22eee9['status']);const _0x33fc38=_0x22eee9['headers'][_0xfca584(0xf7)](_0x2437e3[_0xfca584(0xfe)]);if(_0x33fc38){const _0x4ca57d=Number(_0x33fc38);if(!Number[_0xfca584(0xe2)](_0x4ca57d)&&_0x4ca57d>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0xfca584(0x105));}const _0x42a39e=await _0x22eee9[_0xfca584(0xdb)]();if(_0x42a39e[_0xfca584(0xf3)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xfca584(0xde)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer['from'](_0x42a39e)['toString']('base64'),'mediaType':inferMediaType(_0x22eee9[_0xfca584(0x100)]['get'](_0x2437e3[_0xfca584(0xe9)]),_0x37aa2d)};}const _0x5ea592=await stat(_0x37aa2d);if(_0x5ea592[_0xfca584(0xd9)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xfca584(0xde)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x339b55=await readFile(_0x37aa2d);return{'data':_0x339b55['toString']('base64'),'mediaType':inferMediaType(null,_0x37aa2d)};}async function convertImageBlockToBase64(_0x2fbcaa){const _0x5c5b75=_0x1167,_0x2c9282={'butGI':function(_0x4fc9d5,_0x161b9e){return _0x4fc9d5(_0x161b9e);}};if(_0x2fbcaa[_0x5c5b75(0xeb)]?.['type']==='base64')return{'updated':![],'block':_0x2fbcaa};if(_0x2fbcaa['data']&&_0x2fbcaa[_0x5c5b75(0xef)])return{'updated':![],'block':_0x2fbcaa};const _0x48f5de=_0x2fbcaa['source']?.[_0x5c5b75(0xe4)]??_0x2fbcaa['url'];if(!_0x48f5de)return{'updated':![],'block':_0x2fbcaa};const _0x5e99ab=await _0x2c9282['butGI'](readImageFromUrl,_0x48f5de);return{'updated':!![],'block':{..._0x2fbcaa,'source':{'type':'base64','media_type':_0x5e99ab['mediaType'],'data':_0x5e99ab['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x45aeb8){const _0x29edce=_0x1167;if(!isRecord(_0x45aeb8))return{'updated':![],'output':_0x45aeb8};const _0x38de4b=_0x45aeb8['content'];if(!Array['isArray'](_0x38de4b))return{'updated':![],'output':_0x45aeb8};let _0x1521be=![];const _0x5f2e80=await Promise[_0x29edce(0xd8)](_0x38de4b['map'](async _0x3d5915=>{if(!isImageBlock(_0x3d5915))return _0x3d5915;try{const _0x4186c1=await convertImageBlockToBase64(_0x3d5915);if(_0x4186c1['updated'])_0x1521be=!![];return _0x4186c1['block'];}catch{return _0x3d5915;}}));if(!_0x1521be)return{'updated':![],'output':_0x45aeb8};return{'updated':!![],'output':{..._0x45aeb8,'content':_0x5f2e80}};}export function createMcpImageBase64Hook(){const _0xd718e5={'otimQ':function(_0x534b6d,_0x1e4497){return _0x534b6d(_0x1e4497);}};return async _0x37d40a=>{const _0x46fc99=_0x1167;if(_0x37d40a[_0x46fc99(0xf9)]!=='PostToolUse')return{};const _0x5c3341=_0x37d40a,{updated:_0x5ddbd3,output:_0x57e433}=await _0xd718e5['otimQ'](convertToolOutputImagesToBase64,_0x5c3341[_0x46fc99(0xfc)]);if(!_0x5ddbd3)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x57e433}};};}
1
+ (function(_0x46eb38,_0x3c7e9b){const _0x4407cf=_0x3d29,_0x3afc1e=_0x46eb38();while(!![]){try{const _0x4d98f1=parseInt(_0x4407cf(0x152))/0x1*(-parseInt(_0x4407cf(0x13c))/0x2)+parseInt(_0x4407cf(0x134))/0x3+parseInt(_0x4407cf(0x14a))/0x4+-parseInt(_0x4407cf(0x138))/0x5+-parseInt(_0x4407cf(0x133))/0x6+parseInt(_0x4407cf(0x14e))/0x7*(-parseInt(_0x4407cf(0x120))/0x8)+parseInt(_0x4407cf(0x125))/0x9;if(_0x4d98f1===_0x3c7e9b)break;else _0x3afc1e['push'](_0x3afc1e['shift']());}catch(_0x322928){_0x3afc1e['push'](_0x3afc1e['shift']());}}}(_0x501f,0x42b91));import{readFile,stat}from'fs/promises';import{extname}from'path';function _0x3d29(_0x1e72a8,_0x560ebe){_0x1e72a8=_0x1e72a8-0x11f;const _0x501f69=_0x501f();let _0x3d2935=_0x501f69[_0x1e72a8];return _0x3d2935;}import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x1d3920){const _0x3b1372={'paDyI':'object','QHmQT':function(_0x5c9e3a,_0x571570){return _0x5c9e3a!==_0x571570;}};return typeof _0x1d3920===_0x3b1372['paDyI']&&_0x3b1372['QHmQT'](_0x1d3920,null);}function isImageBlock(_0x5eeb46){const _0x4fd33f=_0x3d29,_0x4fbecd={'pdMXB':function(_0x542fc1,_0x4b84cd){return _0x542fc1(_0x4b84cd);},'XuJyn':'image'};return _0x4fbecd['pdMXB'](isRecord,_0x5eeb46)&&_0x5eeb46['type']===_0x4fbecd[_0x4fd33f(0x11f)];}function _0x501f(){const _0x25e4a4=['3530925GqxEsU','includes','Failed\x20to\x20fetch\x20image:\x20','zhelj','VgsQW','VTHnW','base64','isNaN','url','hxfEU','from','fyekw','https://','gif','62814nPCjyb','300306hzaWnc','mediaType','qcAMN','webp','650095UvScVf','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','split','updated','2baQjTu','http://','toLowerCase','replace','image/webp','CLfxA','\x20bytes)','sRPpx','type','timeout','exec','startsWith','block','status','2097004ondVtP','mKVsp','icEdb','data','21BsfPog','UYXsZ','Image\x20exceeds\x20size\x20limit\x20(','yFKsI','364846OmbJAv','XuJyn','634792wdjUCJ','MITOE','file://','headers','toString'];_0x501f=function(){return _0x25e4a4;};return _0x501f();}function isDataUrl(_0x4d29ed){const _0x3e75ba=_0x3d29;return _0x4d29ed[_0x3e75ba(0x147)]('data:');}function parseDataUrl(_0x4c913d){const _0x271468=_0x3d29,_0x7a19f1={'mKVsp':function(_0x394fed,_0xf96380){return _0x394fed(_0xf96380);}},_0x150548=/^data:([^;]+);base64,(.+)$/[_0x271468(0x146)](_0x4c913d);if(!_0x150548)return null;const _0x60b125=_0x150548[0x1][_0x271468(0x13e)]();if(!_0x7a19f1[_0x271468(0x14b)](isValidMediaType,_0x60b125))return null;return{'data':_0x150548[0x2],'mediaType':_0x60b125};}function isValidMediaType(_0x4bde11){const _0x3776f4=_0x3d29,_0x18a955={'icEdb':'image/jpeg','fyekw':'image/gif','sFTiJ':'image/webp'};return[_0x18a955[_0x3776f4(0x14c)],'image/png',_0x18a955[_0x3776f4(0x130)],_0x18a955['sFTiJ']][_0x3776f4(0x126)](_0x4bde11);}function inferMediaType(_0x130330,_0x3a0697){const _0x2771f4=_0x3d29,_0x247e92={'TbQnE':'jpeg','VgsQW':'image/jpeg','VTHnW':'png','QYXUb':'image/gif'};if(_0x130330){const _0x2fb475=_0x130330['toLowerCase']()[_0x2771f4(0x13a)](';')[0x0]['trim']();if(isValidMediaType(_0x2fb475))return _0x2fb475;}const _0x22a7bc=extname(_0x3a0697)[_0x2771f4(0x13e)]()[_0x2771f4(0x13f)]('.','');switch(_0x22a7bc){case'jpg':case _0x247e92['TbQnE']:return _0x247e92[_0x2771f4(0x129)];case _0x247e92[_0x2771f4(0x12a)]:return'image/png';case _0x2771f4(0x132):return _0x247e92['QYXUb'];case _0x2771f4(0x137):return _0x2771f4(0x140);default:return'image/png';}}async function readImageFromUrl(_0x2f8bda){const _0x3c5287=_0x3d29,_0x32b7ff={'modlo':function(_0x5d7edc,_0x2b2809){return _0x5d7edc(_0x2b2809);},'yFKsI':function(_0x31c9cf,_0x95856b){return _0x31c9cf(_0x95856b);},'hxfEU':function(_0x4456a2,_0x3f9e5a){return _0x4456a2>_0x3f9e5a;},'MITOE':function(_0x342d15,_0x51cc1c){return _0x342d15(_0x51cc1c);},'zhelj':function(_0x4518d4,_0x5692ea,_0xe3f6fc){return _0x4518d4(_0x5692ea,_0xe3f6fc);},'ECkKe':_0x3c5287(0x131),'ZHvAx':function(_0x5a15a2,_0x1b4d91){return _0x5a15a2(_0x1b4d91);},'yBJJU':function(_0x401136,_0x33b82d){return _0x401136>_0x33b82d;},'yEbyR':function(_0x35b753,_0x4d1072){return _0x35b753>_0x4d1072;},'CLfxA':function(_0x4071b6,_0x509ba5,_0x2ad0c3){return _0x4071b6(_0x509ba5,_0x2ad0c3);},'ZXoKO':'content-type','qcAMN':function(_0xb4967,_0x1e2469){return _0xb4967(_0x1e2469);},'ymxDa':_0x3c5287(0x12b)};if(isDataUrl(_0x2f8bda)){const _0xd1d8d7=_0x32b7ff['modlo'](parseDataUrl,_0x2f8bda);if(_0xd1d8d7)return _0xd1d8d7;throw new Error(_0x3c5287(0x139));}if(_0x2f8bda[_0x3c5287(0x147)](_0x3c5287(0x122))){const _0x293f1c=fileURLToPath(_0x2f8bda),_0x3ed997=await _0x32b7ff[_0x3c5287(0x151)](stat,_0x293f1c);if(_0x32b7ff[_0x3c5287(0x12e)](_0x3ed997['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x3c5287(0x150)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x59278c=await _0x32b7ff[_0x3c5287(0x121)](readFile,_0x293f1c);return{'data':_0x59278c[_0x3c5287(0x124)](_0x3c5287(0x12b)),'mediaType':_0x32b7ff[_0x3c5287(0x128)](inferMediaType,null,_0x293f1c)};}if(_0x2f8bda[_0x3c5287(0x147)](_0x3c5287(0x13d))||_0x2f8bda[_0x3c5287(0x147)](_0x32b7ff['ECkKe'])){const _0x20e764=await _0x32b7ff['zhelj'](fetch,_0x2f8bda,{'signal':AbortSignal[_0x3c5287(0x145)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x20e764['ok'])throw new Error(_0x3c5287(0x127)+_0x20e764[_0x3c5287(0x149)]);const _0x526502=_0x20e764[_0x3c5287(0x123)]['get']('content-length');if(_0x526502){const _0x2b7824=_0x32b7ff['ZHvAx'](Number,_0x526502);if(!Number[_0x3c5287(0x12c)](_0x2b7824)&&_0x32b7ff['yBJJU'](_0x2b7824,MAX_IMAGE_SIZE_BYTES))throw new Error(_0x3c5287(0x150)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x155971=await _0x20e764['arrayBuffer']();if(_0x32b7ff['yEbyR'](_0x155971['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');return{'data':Buffer[_0x3c5287(0x12f)](_0x155971)['toString']('base64'),'mediaType':_0x32b7ff[_0x3c5287(0x141)](inferMediaType,_0x20e764['headers']['get'](_0x32b7ff['ZXoKO']),_0x2f8bda)};}const _0x3359e4=await _0x32b7ff[_0x3c5287(0x136)](stat,_0x2f8bda);if(_0x32b7ff['hxfEU'](_0x3359e4['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x3c5287(0x142));const _0x620ec=await _0x32b7ff['modlo'](readFile,_0x2f8bda);return{'data':_0x620ec[_0x3c5287(0x124)](_0x32b7ff['ymxDa']),'mediaType':_0x32b7ff['CLfxA'](inferMediaType,null,_0x2f8bda)};}async function convertImageBlockToBase64(_0x220186){const _0x5c8fcd=_0x3d29,_0x1eec09={'sRPpx':_0x5c8fcd(0x12b)};if(_0x220186['source']?.[_0x5c8fcd(0x144)]===_0x1eec09[_0x5c8fcd(0x143)])return{'updated':![],'block':_0x220186};if(_0x220186[_0x5c8fcd(0x14d)]&&_0x220186['mimeType'])return{'updated':![],'block':_0x220186};const _0x2eb70e=_0x220186['source']?.[_0x5c8fcd(0x12d)]??_0x220186['url'];if(!_0x2eb70e)return{'updated':![],'block':_0x220186};const _0x4ed37f=await readImageFromUrl(_0x2eb70e);return{'updated':!![],'block':{..._0x220186,'source':{'type':_0x5c8fcd(0x12b),'media_type':_0x4ed37f[_0x5c8fcd(0x135)],'data':_0x4ed37f['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x231577){const _0xe7fda6={'DYLLj':function(_0x325741,_0x210b54){return _0x325741(_0x210b54);}};if(!isRecord(_0x231577))return{'updated':![],'output':_0x231577};const _0x26d4a0=_0x231577['content'];if(!Array['isArray'](_0x26d4a0))return{'updated':![],'output':_0x231577};let _0x41b0dd=![];const _0x5485c9=await Promise['all'](_0x26d4a0['map'](async _0x2856d0=>{const _0x45973a=_0x3d29;if(!isImageBlock(_0x2856d0))return _0x2856d0;try{const _0x4772dc=await _0xe7fda6['DYLLj'](convertImageBlockToBase64,_0x2856d0);if(_0x4772dc[_0x45973a(0x13b)])_0x41b0dd=!![];return _0x4772dc[_0x45973a(0x148)];}catch{return _0x2856d0;}}));if(!_0x41b0dd)return{'updated':![],'output':_0x231577};return{'updated':!![],'output':{..._0x231577,'content':_0x5485c9}};}export function createMcpImageBase64Hook(){const _0x2a83d6={'UYXsZ':'PostToolUse'};return async _0x28db23=>{const _0x1304c9=_0x3d29;if(_0x28db23['hook_event_name']!==_0x2a83d6[_0x1304c9(0x14f)])return{};const _0x529ea2=_0x28db23,{updated:_0x3b7a40,output:_0x9fac5b}=await convertToolOutputImagesToBase64(_0x529ea2['tool_response']);if(!_0x3b7a40)return{};return{'hookSpecificOutput':{'hookEventName':_0x2a83d6['UYXsZ'],'updatedMCPToolOutput':_0x9fac5b}};};}
@@ -1 +1 @@
1
- const _0x51838f=_0x1881;(function(_0x240a15,_0x4f1629){const _0x1a5821=_0x1881,_0x49c4dc=_0x240a15();while(!![]){try{const _0x5dff60=-parseInt(_0x1a5821(0x134))/0x1*(-parseInt(_0x1a5821(0x130))/0x2)+-parseInt(_0x1a5821(0x131))/0x3+parseInt(_0x1a5821(0x12e))/0x4*(-parseInt(_0x1a5821(0x137))/0x5)+-parseInt(_0x1a5821(0x133))/0x6*(-parseInt(_0x1a5821(0x132))/0x7)+-parseInt(_0x1a5821(0x138))/0x8+parseInt(_0x1a5821(0x135))/0x9*(-parseInt(_0x1a5821(0x136))/0xa)+parseInt(_0x1a5821(0x12c))/0xb*(parseInt(_0x1a5821(0x12a))/0xc);if(_0x5dff60===_0x4f1629)break;else _0x49c4dc['push'](_0x49c4dc['shift']());}catch(_0x262e63){_0x49c4dc['push'](_0x49c4dc['shift']());}}}(_0x15f5,0x974df));function _0x1881(_0x279741,_0x1c9434){_0x279741=_0x279741-0x12a;const _0x15f55e=_0x15f5();let _0x188181=_0x15f55e[_0x279741];return _0x188181;}function _0x15f5(){const _0x4c892f=['claude-opus-4-6','148yIieBQ','toLowerCase','2ddWnwd','351543GSOKtr','392kLZkny','68568ygayee','501137NsWWgZ','5812083yNwilz','10htkdtK','125050djamNr','4649736izNwmB','12SfbWIi','claude-sonnet-4-6','19230123qiWVNz'];_0x15f5=function(){return _0x4c892f;};return _0x15f5();}const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':_0x51838f(0x12b)};export const DEFAULT_VERIFY_MODEL=_0x51838f(0x12d);export function resolveVerifyModel(_0x235626){const _0x22e23a=_0x51838f;if(!_0x235626)return undefined;const _0x5f5a27=_0x235626['trim']();if(!_0x5f5a27)return undefined;const _0x140395=VERIFY_MODEL_ALIASES[_0x5f5a27[_0x22e23a(0x12f)]()];return _0x140395??_0x5f5a27;}
1
+ const _0x3a2b82=_0x1575;(function(_0x54e114,_0x1f75ad){const _0x1bc90=_0x1575,_0x1fc9e5=_0x54e114();while(!![]){try{const _0x1cd14d=-parseInt(_0x1bc90(0x180))/0x1+-parseInt(_0x1bc90(0x183))/0x2+-parseInt(_0x1bc90(0x187))/0x3*(parseInt(_0x1bc90(0x18b))/0x4)+-parseInt(_0x1bc90(0x18a))/0x5*(-parseInt(_0x1bc90(0x186))/0x6)+-parseInt(_0x1bc90(0x185))/0x7+parseInt(_0x1bc90(0x182))/0x8+parseInt(_0x1bc90(0x17f))/0x9;if(_0x1cd14d===_0x1f75ad)break;else _0x1fc9e5['push'](_0x1fc9e5['shift']());}catch(_0x5ae05a){_0x1fc9e5['push'](_0x1fc9e5['shift']());}}}(_0xcd55,0xd2a86));const VERIFY_MODEL_ALIASES={'opus':_0x3a2b82(0x188),'sonnet':_0x3a2b82(0x181)};function _0xcd55(){const _0x1f26a3=['3nWuOiI','claude-opus-4-6','quYqh','885TQJNEW','1065264CnNQyO','31843530ZeDaWc','1201293mOdpJN','claude-sonnet-4-6','2424064WbmdUm','2928506gslHge','toLowerCase','3043600HRetLs','13164UqkqYq'];_0xcd55=function(){return _0x1f26a3;};return _0xcd55();}function _0x1575(_0x5bdcfa,_0xfe2d4f){_0x5bdcfa=_0x5bdcfa-0x17f;const _0xcd55a5=_0xcd55();let _0x15755a=_0xcd55a5[_0x5bdcfa];return _0x15755a;}export const DEFAULT_VERIFY_MODEL='claude-opus-4-6';export function resolveVerifyModel(_0x4b68aa){const _0x18af1c=_0x3a2b82,_0x2abada={'quYqh':function(_0x32cfa8,_0x2f4757){return _0x32cfa8??_0x2f4757;}};if(!_0x4b68aa)return undefined;const _0x544b5b=_0x4b68aa['trim']();if(!_0x544b5b)return undefined;const _0x1de175=VERIFY_MODEL_ALIASES[_0x544b5b[_0x18af1c(0x184)]()];return _0x2abada[_0x18af1c(0x189)](_0x1de175,_0x544b5b);}
@@ -1 +1 @@
1
- (function(_0x2ac67b,_0x437d5d){var _0x13dfb=_0x10ae,_0x5c536c=_0x2ac67b();while(!![]){try{var _0x3fb8a5=-parseInt(_0x13dfb(0x1a0))/0x1+parseInt(_0x13dfb(0x1a3))/0x2*(parseInt(_0x13dfb(0x1a8))/0x3)+-parseInt(_0x13dfb(0x1a9))/0x4*(parseInt(_0x13dfb(0x19e))/0x5)+-parseInt(_0x13dfb(0x1a7))/0x6+-parseInt(_0x13dfb(0x1aa))/0x7+parseInt(_0x13dfb(0x1a4))/0x8*(-parseInt(_0x13dfb(0x1a2))/0x9)+parseInt(_0x13dfb(0x1ae))/0xa*(parseInt(_0x13dfb(0x1a6))/0xb);if(_0x3fb8a5===_0x437d5d)break;else _0x5c536c['push'](_0x5c536c['shift']());}catch(_0x32cf6d){_0x5c536c['push'](_0x5c536c['shift']());}}}(_0x27ee,0xc0b3b));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x27ee(){var _0x573a02=['1921772aDgtHZ','10979969yKMkJT','.config','DkfYh','ediKv','10HWPyQy','OPENCODE_CONFIG_DIR','XDG_CONFIG_HOME','5hBlAVj','env','1165044zLQVHR','skills','18uDGtnY','1402GVVaYb','1307848sjljtC','opencode','53645262IZkDDR','3775422sqQztw','354RZKBBf'];_0x27ee=function(){return _0x573a02;};return _0x27ee();}export function getOpencodeConfigDir(_0x5cdcab){var _0x5d5d05=_0x10ae,_0x48add2={'hdVum':function(_0x1d1a8a,_0x4539d2){return _0x1d1a8a===_0x4539d2;},'ediKv':'user','BrCdK':function(_0x5a6825,_0x200a23,_0x2a1efa){return _0x5a6825(_0x200a23,_0x2a1efa);},'kRMQP':function(_0x46fed1,_0x38b72f,_0x2a4a1b,_0x5a190b){return _0x46fed1(_0x38b72f,_0x2a4a1b,_0x5a190b);},'DkfYh':_0x5d5d05(0x1ab),'AVciW':function(_0x1bc670){return _0x1bc670();},'oVsoh':'.opencode'};if(process['env'][_0x5d5d05(0x1af)])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x48add2['hdVum'](_0x5cdcab,_0x48add2[_0x5d5d05(0x1ad)])){if(process[_0x5d5d05(0x19f)]['XDG_CONFIG_HOME'])return _0x48add2['BrCdK'](join,process['env'][_0x5d5d05(0x1b0)],'opencode');return _0x48add2['kRMQP'](join,homedir(),_0x48add2[_0x5d5d05(0x1ac)],_0x5d5d05(0x1a5));}return join(_0x48add2['AVciW'](getProjectRoot),_0x48add2['oVsoh']);}function _0x10ae(_0x1032aa,_0x3ec509){_0x1032aa=_0x1032aa-0x19e;var _0x27ee1f=_0x27ee();var _0x10ae83=_0x27ee1f[_0x1032aa];return _0x10ae83;}export function getOpencodeSkillsDir(_0x1c3fb9){var _0x247d5a=_0x10ae,_0x46df63={'vtwbb':function(_0x541049,_0x4cb836,_0xe044e2){return _0x541049(_0x4cb836,_0xe044e2);},'GvWdE':function(_0x324b4b,_0x133f29){return _0x324b4b(_0x133f29);},'gJFYX':_0x247d5a(0x1a1)};return _0x46df63['vtwbb'](join,_0x46df63['GvWdE'](getOpencodeConfigDir,_0x1c3fb9),_0x46df63['gJFYX']);}
1
+ (function(_0x4c83f3,_0x5536f4){var _0x5a233b=_0xff12,_0x527636=_0x4c83f3();while(!![]){try{var _0x2a9ebd=parseInt(_0x5a233b(0x1f3))/0x1+-parseInt(_0x5a233b(0x1f4))/0x2*(parseInt(_0x5a233b(0x1fa))/0x3)+parseInt(_0x5a233b(0x201))/0x4+parseInt(_0x5a233b(0x1f8))/0x5+parseInt(_0x5a233b(0x205))/0x6*(-parseInt(_0x5a233b(0x1fd))/0x7)+-parseInt(_0x5a233b(0x200))/0x8*(parseInt(_0x5a233b(0x1f5))/0x9)+parseInt(_0x5a233b(0x207))/0xa*(-parseInt(_0x5a233b(0x203))/0xb);if(_0x2a9ebd===_0x5536f4)break;else _0x527636['push'](_0x527636['shift']());}catch(_0x221a6a){_0x527636['push'](_0x527636['shift']());}}}(_0x16bb,0x2a3ed));function _0x16bb(){var _0x3cebe1=['724423eGAClP','TlKuD','opencode','31576RKkoDs','1255664uUBmzV','env','891935VNiMQL','JcYfr','12oPfJGj','MvaJr','30QtsZMc','ehWek','119577wnkYpc','116962zUkwgD','45zBUBdh','ddris','.config','1339965aCNJIs','XDG_CONFIG_HOME','3giyWRs','IqEzQ','OPENCODE_CONFIG_DIR'];_0x16bb=function(){return _0x3cebe1;};return _0x16bb();}function _0xff12(_0x2f2c5c,_0x1d6538){_0x2f2c5c=_0x2f2c5c-0x1f3;var _0x16bb1d=_0x16bb();var _0xff1201=_0x16bb1d[_0x2f2c5c];return _0xff1201;}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x41adc7){var _0x25277c=_0xff12,_0x560f6f={'NNJyS':function(_0x322088,_0x3fad42){return _0x322088===_0x3fad42;},'ddris':'user','PCsaX':function(_0x11440e,_0x155925,_0x5ce2b2){return _0x11440e(_0x155925,_0x5ce2b2);},'jVJle':'opencode','IqEzQ':function(_0x3d4962,_0x2d5ca6,_0x46b23d,_0x94dd41){return _0x3d4962(_0x2d5ca6,_0x46b23d,_0x94dd41);},'TlKuD':function(_0x1a3e82){return _0x1a3e82();},'QYDvM':_0x25277c(0x1f7),'JcYfr':'.opencode'};if(process[_0x25277c(0x202)][_0x25277c(0x1fc)])return process['env'][_0x25277c(0x1fc)];if(_0x560f6f['NNJyS'](_0x41adc7,_0x560f6f[_0x25277c(0x1f6)])){if(process[_0x25277c(0x202)][_0x25277c(0x1f9)])return _0x560f6f['PCsaX'](join,process[_0x25277c(0x202)][_0x25277c(0x1f9)],_0x560f6f['jVJle']);return _0x560f6f[_0x25277c(0x1fb)](join,_0x560f6f[_0x25277c(0x1fe)](homedir),_0x560f6f['QYDvM'],_0x25277c(0x1ff));}return join(getProjectRoot(),_0x560f6f[_0x25277c(0x204)]);}export function getOpencodeSkillsDir(_0x3f3857){var _0xffb08b=_0xff12,_0x242124={'ehWek':function(_0x142fed,_0x59d7bb,_0x264fb9){return _0x142fed(_0x59d7bb,_0x264fb9);},'MvaJr':function(_0x9c1ca3,_0x483f39){return _0x9c1ca3(_0x483f39);}};return _0x242124[_0xffb08b(0x208)](join,_0x242124[_0xffb08b(0x206)](getOpencodeConfigDir,_0x3f3857),'skills');}
@@ -1 +1 @@
1
- (function(_0x5cc271,_0x66c7cb){const _0x2cca4e=_0x4596,_0x1fbd4b=_0x5cc271();while(!![]){try{const _0x3b2b04=-parseInt(_0x2cca4e(0x118))/0x1*(-parseInt(_0x2cca4e(0x119))/0x2)+parseInt(_0x2cca4e(0x11d))/0x3*(-parseInt(_0x2cca4e(0x120))/0x4)+-parseInt(_0x2cca4e(0x122))/0x5+parseInt(_0x2cca4e(0x11a))/0x6+-parseInt(_0x2cca4e(0x11f))/0x7+-parseInt(_0x2cca4e(0x11e))/0x8*(-parseInt(_0x2cca4e(0x11b))/0x9)+parseInt(_0x2cca4e(0x11c))/0xa*(parseInt(_0x2cca4e(0x121))/0xb);if(_0x3b2b04===_0x66c7cb)break;else _0x1fbd4b['push'](_0x1fbd4b['shift']());}catch(_0x198083){_0x1fbd4b['push'](_0x1fbd4b['shift']());}}}(_0x4d20,0x9f3d2));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x22c057){const _0x200734={'NXrFF':function(_0x1abb43,_0x424085){return _0x1abb43(_0x424085);}},_0x34b85a=_0x22c057?_0x200734['NXrFF'](_0x22c057,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'+_0x34b85a+'.';}function _0x4596(_0x50b586,_0x4f9e82){_0x50b586=_0x50b586-0x118;const _0x4d2011=_0x4d20();let _0x4596dc=_0x4d2011[_0x50b586];return _0x4596dc;}function _0x4d20(){const _0x4e4bea=['1700392nkNPdE','2476810IddHmh','4wSEPgo','946cuEwvP','1954140CUUcJF','401027AFHvOp','2KGgNoN','2408142tfLrLK','9pjeEXx','59620gMRqmp','392295CCPbdX'];_0x4d20=function(){return _0x4e4bea;};return _0x4d20();}
1
+ const _0x33f538=_0x1de8;(function(_0x2bb8b1,_0x534e28){const _0x164ddb=_0x1de8,_0x16f182=_0x2bb8b1();while(!![]){try{const _0x527f2b=-parseInt(_0x164ddb(0xeb))/0x1*(-parseInt(_0x164ddb(0xea))/0x2)+parseInt(_0x164ddb(0xe5))/0x3*(parseInt(_0x164ddb(0xe3))/0x4)+parseInt(_0x164ddb(0xe6))/0x5*(-parseInt(_0x164ddb(0xf0))/0x6)+parseInt(_0x164ddb(0xe7))/0x7*(parseInt(_0x164ddb(0xed))/0x8)+-parseInt(_0x164ddb(0xec))/0x9+-parseInt(_0x164ddb(0xf1))/0xa*(parseInt(_0x164ddb(0xe8))/0xb)+parseInt(_0x164ddb(0xe9))/0xc*(parseInt(_0x164ddb(0xe4))/0xd);if(_0x527f2b===_0x534e28)break;else _0x16f182['push'](_0x16f182['shift']());}catch(_0x5d47dd){_0x16f182['push'](_0x16f182['shift']());}}}(_0x4251,0x5304d));const DEFAULT_PROFILE_COMMAND=_0x33f538(0xef);function _0x1de8(_0x281bb8,_0x266ef4){_0x281bb8=_0x281bb8-0xe2;const _0x42516d=_0x4251();let _0x1de838=_0x42516d[_0x281bb8];return _0x1de838;}export function formatProfileRequiredMessage(_0x29576c){const _0x4e4754=_0x33f538,_0x362b99={'tqUVd':function(_0x4acaac,_0x35f047){return _0x4acaac(_0x35f047);}},_0x19e7d4=_0x29576c?_0x362b99[_0x4e4754(0xe2)](_0x29576c,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x4e4754(0xee)+_0x19e7d4+'.';}function _0x4251(){const _0x238de9=['4PBMFyf','481637QZrOTh','1400772zEsanh','888120zpnpQP','2996zRTNDG','1675333hRwPlK','72ITupMB','110qDrWTm','5573vUNVFN','1846170aadMmO','592ohOdkg','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','ranger\x20profile\x20add\x20local','6lJSayI','20UOlPis','tqUVd'];_0x4251=function(){return _0x238de9;};return _0x4251();}
@@ -1 +1 @@
1
- (function(_0x4596a0,_0x28e750){const _0x3aa96c=_0x9813,_0x393d87=_0x4596a0();while(!![]){try{const _0x4b35b9=-parseInt(_0x3aa96c(0xa2))/0x1*(-parseInt(_0x3aa96c(0xab))/0x2)+-parseInt(_0x3aa96c(0xa5))/0x3+-parseInt(_0x3aa96c(0x9e))/0x4+parseInt(_0x3aa96c(0xae))/0x5*(parseInt(_0x3aa96c(0xa4))/0x6)+-parseInt(_0x3aa96c(0xa0))/0x7*(parseInt(_0x3aa96c(0xa9))/0x8)+parseInt(_0x3aa96c(0xac))/0x9+parseInt(_0x3aa96c(0xa1))/0xa;if(_0x4b35b9===_0x28e750)break;else _0x393d87['push'](_0x393d87['shift']());}catch(_0x8efcef){_0x393d87['push'](_0x393d87['shift']());}}}(_0x1b28,0xe790d));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0xa70a9=_0x9813,_0x30e4dc={'obfWo':function(_0x569f76,_0x455564){return _0x569f76+_0x455564;},'DHeOa':function(_0x3aad0d,_0x4a52c3){return _0x3aad0d+_0x4a52c3;},'FyBws':_0xa70a9(0x9c),'TzAis':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','tBmqo':_0xa70a9(0x9b)},_0x20c9f8=_0x30e4dc['obfWo'](_0x30e4dc['obfWo'](_0x30e4dc[_0xa70a9(0xa8)]('<div\x20class=\x22ranger-banner__content\x22>',_0x30e4dc['FyBws'])+_0xa70a9(0xaa)+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>'+_0x30e4dc['TzAis'],_0x30e4dc[_0xa70a9(0xa7)])+_0xa70a9(0x9b),'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'),_0xf08525=_0xa70a9(0xa6);return _0xa70a9(0x9f)+JSON[_0xa70a9(0xa3)](_0x20c9f8)+_0xa70a9(0xad)+JSON['stringify'](_0xf08525)+_0xa70a9(0x9d);})());function _0x9813(_0x43933c,_0x3ef3d0){_0x43933c=_0x43933c-0x9b;const _0x1b28f6=_0x1b28();let _0x98139c=_0x1b28f6[_0x43933c];return _0x98139c;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1b28(){const _0x35bba0=['\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','tBmqo','DHeOa','5480xOvDKh','<div\x20class=\x22ranger-banner__message\x22>','2lVrskd','1389141qanUZl',';\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','10PBCSIA','</div>','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>',';\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','3617924hbCqgV','\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','8890qiwCkE','4292930DyQcHi','1836599dcEeum','stringify','1845618KKqQrn','937569rAtuIL'];_0x1b28=function(){return _0x35bba0;};return _0x1b28();}export async function addProfileSetupBanner(_0x6ec4b1){await _0x6ec4b1['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x1ff9ff,_0x4b2797){const _0x2f9300=_0x29aa,_0x4feee3=_0x1ff9ff();while(!![]){try{const _0x434e5e=parseInt(_0x2f9300(0xfd))/0x1+parseInt(_0x2f9300(0xe6))/0x2+-parseInt(_0x2f9300(0xed))/0x3+parseInt(_0x2f9300(0xf3))/0x4*(parseInt(_0x2f9300(0xee))/0x5)+parseInt(_0x2f9300(0xe7))/0x6*(parseInt(_0x2f9300(0xf6))/0x7)+parseInt(_0x2f9300(0xec))/0x8*(-parseInt(_0x2f9300(0xf0))/0x9)+-parseInt(_0x2f9300(0xf8))/0xa;if(_0x434e5e===_0x4b2797)break;else _0x4feee3['push'](_0x4feee3['shift']());}catch(_0x491ccf){_0x4feee3['push'](_0x4feee3['shift']());}}}(_0x4262,0x65293));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x824734=_0x29aa,_0x2072c9={'hUzfp':function(_0x268200,_0x242d7e){return _0x268200+_0x242d7e;},'XgAVM':function(_0x198b3f,_0x2f9555){return _0x198b3f+_0x2f9555;},'FRDhC':function(_0x250f70,_0x362217){return _0x250f70+_0x362217;},'hnTZa':_0x824734(0xf4),'oMonE':_0x824734(0xf9),'dGsIT':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x3c0801=_0x2072c9[_0x824734(0xfb)](_0x2072c9['XgAVM'](_0x2072c9[_0x824734(0xe8)](_0x2072c9['hnTZa']+_0x824734(0xf2),_0x824734(0xf7))+_0x2072c9['oMonE']+_0x824734(0xf5),_0x824734(0xfc))+_0x824734(0xfc),_0x2072c9[_0x824734(0xf1)]),_0x4a3790='\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';return _0x824734(0xe9)+JSON[_0x824734(0xfa)](_0x3c0801)+_0x824734(0xea)+JSON[_0x824734(0xfa)](_0x4a3790)+_0x824734(0xef);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x4262(){const _0x4fac88=['stringify','hUzfp','</div>','296313yaMEbM','1527646knfQmj','6uyxGqv','FRDhC','\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\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','addInitScript','8wbLHPe','627321BEcuMI','2966465lIaNwJ',';\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','6182523VuByiz','dGsIT','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','4IafljN','<div\x20class=\x22ranger-banner__content\x22>','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','1615607dvbGej','<div\x20class=\x22ranger-banner__message\x22>','5738210xbpvaV','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>'];_0x4262=function(){return _0x4fac88;};return _0x4262();}function _0x29aa(_0x3055e3,_0x455952){_0x3055e3=_0x3055e3-0xe6;const _0x42621b=_0x4262();let _0x29aaac=_0x42621b[_0x3055e3];return _0x29aaac;}export async function addProfileSetupBanner(_0xc4024c){const _0x57c57e=_0x29aa;await _0xc4024c[_0x57c57e(0xeb)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x5bae36,_0x2d9aea){const _0x35dc4c=_0x58d9,_0x42167e=_0x5bae36();while(!![]){try{const _0x5880b2=parseInt(_0x35dc4c(0xbb))/0x1*(parseInt(_0x35dc4c(0xb5))/0x2)+-parseInt(_0x35dc4c(0xb0))/0x3+parseInt(_0x35dc4c(0xb9))/0x4*(-parseInt(_0x35dc4c(0xb4))/0x5)+parseInt(_0x35dc4c(0xaf))/0x6*(parseInt(_0x35dc4c(0xab))/0x7)+-parseInt(_0x35dc4c(0xac))/0x8+parseInt(_0x35dc4c(0xae))/0x9*(parseInt(_0x35dc4c(0xb2))/0xa)+parseInt(_0x35dc4c(0xad))/0xb;if(_0x5880b2===_0x2d9aea)break;else _0x42167e['push'](_0x42167e['shift']());}catch(_0x503043){_0x42167e['push'](_0x42167e['shift']());}}}(_0x106c,0x67109));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x106c(){const _0x3bf377=['10uKYTYU','5816713yXSHiZ','3825712xxeIum','2338171KJERMb','18JRvNTo','6Lccqzo','2417121tsdJfR','qVvRR','2428620Cobhom','utf-8','65660UIkeTb','101026DrzCgD','object','config.json','model','100OcMZel','isArray'];_0x106c=function(){return _0x3bf377;};return _0x106c();}import{getRangerDir}from'./rangerRoot.js';function _0x58d9(_0x5e031d,_0x488f25){_0x5e031d=_0x5e031d-0xab;const _0x106c1a=_0x106c();let _0x58d931=_0x106c1a[_0x5e031d];return _0x58d931;}export function getRangerConfigPath(){const _0x16b1c9=_0x58d9,_0xab909c={'TZlxT':function(_0x4cae67,_0x21cb5a,_0x423e2d){return _0x4cae67(_0x21cb5a,_0x423e2d);}};return _0xab909c['TZlxT'](join,getRangerDir(),_0x16b1c9(0xb7));}export async function loadRangerConfig(){const _0x51e05f=_0x58d9,_0xcd4db7={'qVvRR':function(_0x51da6a,_0x171e00,_0x1ba253){return _0x51da6a(_0x171e00,_0x1ba253);},'Dotog':_0x51e05f(0xb3),'egbLQ':'string','XqmKO':function(_0x3889f5,_0x4c945a){return _0x3889f5(_0x4c945a);}},_0x509710=getRangerConfigPath();if(!existsSync(_0x509710))return{};try{const _0x2a0778=await _0xcd4db7[_0x51e05f(0xb1)](readFile,_0x509710,_0xcd4db7['Dotog']),_0x262325=JSON['parse'](_0x2a0778);if(!_0x262325||typeof _0x262325!==_0x51e05f(0xb6)||Array[_0x51e05f(0xba)](_0x262325))return{};const _0x19a020={},_0x359ff8=_0x262325['model'];return typeof _0x359ff8===_0xcd4db7['egbLQ']&&(_0x19a020[_0x51e05f(0xb8)]=_0x359ff8),_0x19a020;}catch(_0x5715fd){const _0x3b80b3=_0x5715fd instanceof Error?_0x5715fd['message']:_0xcd4db7['XqmKO'](String,_0x5715fd);return console['warn']('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x509710+':\x20'+_0x3b80b3),{};}}
1
+ (function(_0x5ca4f6,_0x46e42a){const _0x1794db=_0x1848,_0x2e5561=_0x5ca4f6();while(!![]){try{const _0x2ca416=parseInt(_0x1794db(0x177))/0x1+parseInt(_0x1794db(0x180))/0x2+-parseInt(_0x1794db(0x17d))/0x3*(-parseInt(_0x1794db(0x176))/0x4)+-parseInt(_0x1794db(0x175))/0x5*(-parseInt(_0x1794db(0x172))/0x6)+-parseInt(_0x1794db(0x170))/0x7+-parseInt(_0x1794db(0x171))/0x8+parseInt(_0x1794db(0x17a))/0x9*(parseInt(_0x1794db(0x17e))/0xa);if(_0x2ca416===_0x46e42a)break;else _0x2e5561['push'](_0x2e5561['shift']());}catch(_0xc7f1f8){_0x2e5561['push'](_0x2e5561['shift']());}}}(_0x2efe,0x61c1b));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x1848(_0xd9ce12,_0x294896){_0xd9ce12=_0xd9ce12-0x170;const _0x2efe80=_0x2efe();let _0x1848c1=_0x2efe80[_0xd9ce12];return _0x1848c1;}import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x33f09b=_0x1848,_0x25269c={'IWmVq':function(_0x2c429f){return _0x2c429f();}};return join(_0x25269c['IWmVq'](getRangerDir),_0x33f09b(0x17c));}export async function loadRangerConfig(){const _0x38c538=_0x1848,_0x43bb44={'GJooB':function(_0x2542a5,_0x1b0428){return _0x2542a5===_0x1b0428;},'WuLuf':function(_0x55663b,_0x2274a9){return _0x55663b(_0x2274a9);}},_0x2f740a=getRangerConfigPath();if(!existsSync(_0x2f740a))return{};try{const _0x2db3a3=await readFile(_0x2f740a,_0x38c538(0x174)),_0x84832=JSON[_0x38c538(0x178)](_0x2db3a3);if(!_0x84832||typeof _0x84832!==_0x38c538(0x17b)||Array['isArray'](_0x84832))return{};const _0x842ad1={},_0x1acb5c=_0x84832[_0x38c538(0x17f)];return _0x43bb44['GJooB'](typeof _0x1acb5c,'string')&&(_0x842ad1[_0x38c538(0x17f)]=_0x1acb5c),_0x842ad1;}catch(_0x3f70d3){const _0x45dbc1=_0x3f70d3 instanceof Error?_0x3f70d3[_0x38c538(0x179)]:_0x43bb44[_0x38c538(0x173)](String,_0x3f70d3);return console['warn']('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x2f740a+':\x20'+_0x45dbc1),{};}}function _0x2efe(){const _0x322229=['81vRIqDs','10NoABAf','model','992120NEYTrj','5226816WaGfci','1362184YTWOGw','6CJpANN','WuLuf','utf-8','40570qdUfaB','44xAjOjI','461864MyHyNM','parse','message','3159333rBYPox','object','config.json'];_0x2efe=function(){return _0x322229;};return _0x2efe();}
@@ -1 +1 @@
1
- (function(_0xee6cac,_0x560629){const _0x416941=_0x2b61,_0x538dbd=_0xee6cac();while(!![]){try{const _0x349b56=parseInt(_0x416941(0x6c))/0x1*(-parseInt(_0x416941(0x77))/0x2)+-parseInt(_0x416941(0x75))/0x3+parseInt(_0x416941(0x74))/0x4+-parseInt(_0x416941(0x6f))/0x5*(parseInt(_0x416941(0x70))/0x6)+-parseInt(_0x416941(0x6d))/0x7+parseInt(_0x416941(0x7b))/0x8*(-parseInt(_0x416941(0x72))/0x9)+-parseInt(_0x416941(0x6b))/0xa*(-parseInt(_0x416941(0x6e))/0xb);if(_0x349b56===_0x560629)break;else _0x538dbd['push'](_0x538dbd['shift']());}catch(_0x392c3c){_0x538dbd['push'](_0x538dbd['shift']());}}}(_0x377f,0xc4daa));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x2b61(_0xbc5054,_0x3caa97){_0xbc5054=_0xbc5054-0x6b;const _0x377f8b=_0x377f();let _0x2b6198=_0x377f8b[_0xbc5054];return _0x2b6198;}import{homedir}from'os';function _0x377f(){const _0x4f0197=['1129918ksnDZW','.ranger','root','PTiyV','56jkIhVr','5252450PQUVUR','2WVyZtG','1352736SkeezX','55HUwdFD','5NgkVRZ','7446372PQUKbL','ZSZeJ','63603gNeTZT','WYnDS','6184304vvUovX','2256870pDsnYD','cwd'];_0x377f=function(){return _0x4f0197;};return _0x377f();}export function getRangerRoot(){const _0x16b016=_0x2b61,_0x46c2ca={'ZSZeJ':function(_0x26c1eb,_0x22570a){return _0x26c1eb(_0x22570a);},'BTSvD':function(_0x3f7268,_0x45551f,_0x4323b2){return _0x3f7268(_0x45551f,_0x4323b2);},'KuVyx':function(_0xa3acb0){return _0xa3acb0();}};let _0x305204=process['cwd']();const _0x239b6e=parse(_0x305204)['root'];while(_0x305204!==_0x239b6e){if(existsSync(join(_0x305204,'.ranger')))return _0x305204;_0x305204=dirname(_0x305204);}if(_0x46c2ca[_0x16b016(0x71)](existsSync,_0x46c2ca['BTSvD'](join,_0x239b6e,_0x16b016(0x78))))return _0x239b6e;const _0x1b2cd5=_0x46c2ca['KuVyx'](findGitRoot);if(_0x1b2cd5)return _0x1b2cd5;return process[_0x16b016(0x76)]();}export function getRangerDir(){const _0x2bef69=_0x2b61,_0x1fa82f={'sTrzR':function(_0xe73f0c){return _0xe73f0c();}};return join(_0x1fa82f['sTrzR'](getRangerRoot),_0x2bef69(0x78));}export function findGitRoot(){const _0x33da76=_0x2b61,_0x301f4e={'PTiyV':function(_0x1be9cb,_0x228d76){return _0x1be9cb(_0x228d76);},'WYnDS':function(_0x3a1230,_0x4f86e8){return _0x3a1230!==_0x4f86e8;}};let _0x35e271=process['cwd']();const _0x5f4f6c=_0x301f4e[_0x33da76(0x7a)](parse,_0x35e271)[_0x33da76(0x79)];while(_0x301f4e[_0x33da76(0x73)](_0x35e271,_0x5f4f6c)){if(_0x301f4e[_0x33da76(0x7a)](existsSync,join(_0x35e271,'.git')))return _0x35e271;_0x35e271=dirname(_0x35e271);}if(_0x301f4e[_0x33da76(0x7a)](existsSync,join(_0x5f4f6c,'.git')))return _0x5f4f6c;return null;}export function getRangerHomeDir(){const _0x2bb2a0=_0x2b61;return join(homedir(),_0x2bb2a0(0x78));}
1
+ (function(_0x1d0640,_0x88b358){const _0x1dd25f=_0x6167,_0x1b482d=_0x1d0640();while(!![]){try{const _0x576fdc=-parseInt(_0x1dd25f(0xb8))/0x1*(-parseInt(_0x1dd25f(0xb9))/0x2)+parseInt(_0x1dd25f(0xba))/0x3+parseInt(_0x1dd25f(0xc1))/0x4*(parseInt(_0x1dd25f(0xc3))/0x5)+-parseInt(_0x1dd25f(0xc7))/0x6*(parseInt(_0x1dd25f(0xbe))/0x7)+parseInt(_0x1dd25f(0xc4))/0x8+parseInt(_0x1dd25f(0xbf))/0x9*(-parseInt(_0x1dd25f(0xbc))/0xa)+parseInt(_0x1dd25f(0xc8))/0xb;if(_0x576fdc===_0x88b358)break;else _0x1b482d['push'](_0x1b482d['shift']());}catch(_0x2a946c){_0x1b482d['push'](_0x1b482d['shift']());}}}(_0xf3e4,0x7ccb5));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x6167(_0x3fe497,_0x4eae76){_0x3fe497=_0x3fe497-0xb7;const _0xf3e450=_0xf3e4();let _0x616750=_0xf3e450[_0x3fe497];return _0x616750;}import{homedir}from'os';export function getRangerRoot(){const _0x121cf9=_0x6167,_0x44474d={'xzBPn':function(_0x24b72b,_0x411781){return _0x24b72b(_0x411781);},'VHjHL':'.ranger','WFFBi':function(_0x208ffe,_0x2651f1){return _0x208ffe(_0x2651f1);},'lQZDG':function(_0x1b9e0f,_0x36b172,_0x1c18cd){return _0x1b9e0f(_0x36b172,_0x1c18cd);},'tqoeK':function(_0x305efe){return _0x305efe();}};let _0x10aa3d=process['cwd']();const _0x4d43e5=parse(_0x10aa3d)['root'];while(_0x10aa3d!==_0x4d43e5){if(_0x44474d['xzBPn'](existsSync,join(_0x10aa3d,_0x44474d[_0x121cf9(0xc5)])))return _0x10aa3d;_0x10aa3d=_0x44474d[_0x121cf9(0xc2)](dirname,_0x10aa3d);}if(existsSync(_0x44474d['lQZDG'](join,_0x4d43e5,_0x44474d[_0x121cf9(0xc5)])))return _0x4d43e5;const _0xe5975a=_0x44474d[_0x121cf9(0xc9)](findGitRoot);if(_0xe5975a)return _0xe5975a;return process[_0x121cf9(0xc0)]();}export function getRangerDir(){const _0x3e135e={'fyKhh':function(_0x4e605a){return _0x4e605a();}};return join(_0x3e135e['fyKhh'](getRangerRoot),'.ranger');}export function findGitRoot(){const _0x411598=_0x6167,_0x2b4c95={'nergk':function(_0x41ce4f,_0x210b76){return _0x41ce4f!==_0x210b76;},'YTXln':function(_0x3dc503,_0x23225e,_0x3b1a6b){return _0x3dc503(_0x23225e,_0x3b1a6b);},'ykbzh':_0x411598(0xc6),'NwWYY':function(_0x32524c,_0x3f12e5){return _0x32524c(_0x3f12e5);}};let _0x5c745=process['cwd']();const _0x486fcf=parse(_0x5c745)[_0x411598(0xbd)];while(_0x2b4c95['nergk'](_0x5c745,_0x486fcf)){if(existsSync(_0x2b4c95[_0x411598(0xbb)](join,_0x5c745,_0x2b4c95['ykbzh'])))return _0x5c745;_0x5c745=_0x2b4c95[_0x411598(0xb7)](dirname,_0x5c745);}if(existsSync(join(_0x486fcf,'.git')))return _0x486fcf;return null;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}function _0xf3e4(){const _0x4a0cb9=['6MhLWyV','3947042xToBIu','tqoeK','NwWYY','6971zRIFXc','64EbCYVo','273438IopVpI','YTXln','210OBhsQL','root','681387pzhfIG','409518TxKmSv','cwd','564DRrChQ','WFFBi','25945CgYLYR','1274808uRRiut','VHjHL','.git'];_0xf3e4=function(){return _0x4a0cb9;};return _0xf3e4();}