@ranger-testing/ranger-cli 2.0.6 → 2.0.7

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 (59) 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/setupCi.js +1 -1
  25. package/build/commands/skillup.js +1 -1
  26. package/build/commands/start.js +1 -1
  27. package/build/commands/status.js +1 -1
  28. package/build/commands/update.js +1 -1
  29. package/build/commands/updateEnv.js +1 -1
  30. package/build/commands/useEnv.js +1 -1
  31. package/build/commands/utils/activeProfile.js +1 -1
  32. package/build/commands/utils/browserSessionsApi.js +1 -1
  33. package/build/commands/utils/claudeConfig.js +1 -1
  34. package/build/commands/utils/claudePlugin.js +1 -1
  35. package/build/commands/utils/crypto.js +1 -1
  36. package/build/commands/utils/desirePathLog.js +1 -1
  37. package/build/commands/utils/deviceAuth.js +1 -1
  38. package/build/commands/utils/environment.js +1 -1
  39. package/build/commands/utils/featureApi.js +1 -1
  40. package/build/commands/utils/featureReportGenerator.js +1 -1
  41. package/build/commands/utils/fixWebmDuration.js +1 -0
  42. package/build/commands/utils/git.js +1 -1
  43. package/build/commands/utils/keychain.js +1 -1
  44. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  45. package/build/commands/utils/profileMessages.js +1 -1
  46. package/build/commands/utils/profileSetupBanner.js +1 -1
  47. package/build/commands/utils/rangerRoot.js +1 -1
  48. package/build/commands/utils/reportGenerator.js +1 -1
  49. package/build/commands/utils/retry.js +1 -1
  50. package/build/commands/utils/sessionCache.js +1 -1
  51. package/build/commands/utils/settings.js +1 -1
  52. package/build/commands/utils/skillContent.js +1 -1
  53. package/build/commands/utils/skills.js +1 -1
  54. package/build/commands/utils/telemetry.js +1 -1
  55. package/build/commands/utils/userApi.js +1 -1
  56. package/build/commands/utils/version.js +1 -1
  57. package/build/commands/verifyFeature.js +1 -1
  58. package/build/commands/verifyInBrowser.js +1 -1
  59. package/package.json +4 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x227e61=_0x2cd1;function _0x75ec(){const _0x5a5a50=['gsjlF','--task','iWgGD','DTekh','cELET','uwmmC','blocked','ranger\x20feature\x20resume','SsLpJ','TdJKB','KJiVJ','base-url','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','Ilpuh','aOGIM','lQcdX','obAqD','setup-ci\x20<token>','get-feedback\x20[id]','gHmdM','list\x20<profile>','show\x20[id]','kzdZr','zGndF','config\x20list','UBuAe','uNvKc','tLQWg','Scenario\x20description','ranger\x20feature\x20restore','vDoUQ','restore\x20<id>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','update','KlKYd','zxJPa','JlCFr','debug-outcome','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','euYUy','SIUpQ','argv','ranger\x20env\x20update','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20create','Restore\x20a\x20soft-deleted\x20feature\x20review','verified','ranger\x20feature\x20create','list','use\x20<env-name>','QoxNT','ydAyc','feature\x20get-feedback','qhdOb','nrvPc','usage','key','Name\x20of\x20the\x20profile\x20to\x20update','resume\x20[id]','UIQgE','ZucSW','log','error','ranger\x20feature\x20list','ranger\x20add-scenario','positional','skip-auth','NnOaH','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ranger\x20feature\x20show','SxYdL','limit','profile\x20ls','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','env\x20update','ranger\x20show','GwfeN','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','enable','Feature\x20review\x20ID','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','QPqhJ','ranger\x20config\x20unset','exitCode','WJewj','boolean','cRnKM','item','config\x20unset','add-scenario\x20<description>','yHkMr','JQMpJ','nyote','ranger\x20profile\x20ls','1615siqyqi','List\x20all\x20profiles','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','feature\x20add-checklist-item','pGaRR','ranger\x20config\x20get','ZbMHx','Manage\x20profile\x20configuration','create','jFiXG','config\x20set','NICdE','HdBvJ','QZYbD','message','scenario','xGIOi','exit','start','evaluation','Environment\x20name','edit-scenario\x20<description>','DGqTS','ncHkM','setup\x20[token]','Feature\x20review\x20ID\x20to\x20restore','oCLbQ','CMJsN','cONJb','ynDoY','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','cHNap','demandCommand','include-deleted','IONSM','KqJPJ','RyTYo','XmajP','string','qjTUK','--notes','unset\x20<env>\x20<key>','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','skip-chromium','checklist','feature\x20show','kXCds','.\x20[','FwWao','dwBHa','config','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','get\x20<env>\x20<key>','HbTpZ','vDLzp','scriptName','Feature\x20review\x20name','profile\x20update','clean','session-id','ranger\x20profile\x20config\x20list','create\x20<name>','token','ranger\x20profile\x20use','YobfB','OMPCI','pmEQI','YikDl','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ChkYV','myuQO','ranger\x20add\x20env','task','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Include\x20soft-deleted\x20feature\x20reviews','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','ranger\x20use','ranger\x20profile\x20encrypt-auth','ranger\x20profile\x20config\x20set','--profile','Config\x20key','value','ranger\x20profile\x20config\x20unset','seUrN','oqFlx','command','rcRwo','get\x20<profile>\x20<key>','230pdKSGa','notes','issues','AHsaL','1196DgoDeH','yrbFx','resume','3967048EsAquQ','feature\x20create','fnwti','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ranger\x20auth\x20encrypt','Profile\x20name','11985faeLTM','skillup','kTQle','login','CzqMb','CPqUr','mWngI','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','DBJgg','New\x20scenario\x20description','gbWnw','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','env','hook:disable','Skip\x20Chromium\x20browser\x20installation','You\x20must\x20specify\x20a\x20command','Number\x20of\x20feature\x20reviews\x20to\x20skip','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Name\x20of\x20the\x20environment\x20to\x20update','Gcheh','profile','ranger\x20restore','JKSwo','Get\x20a\x20config\x20value','qtAKS','status','set\x20<profile>\x20<key>\x20<value>','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','option','Documentation:\x0a','MVOgR','ranger\x20env\x20ls','array','partial','description','NghPq','kQqQa','LHCWd','number','Initialize\x20Ranger\x20in\x20your\x20project','uFteT','WDVyf','ctBxm','\x20\x20https://docs.ranger.net\x0a','list\x20<env>','\x20INCOMPLETE','ranger\x20start','bfAQd','bhOoB','rzEpz','offset','12878334gCEVBy','414264EHnPGS','rqSJN','NTKZM','Scenario\x20index\x20(1-based)','EHMsc','strictCommands','verify-feature','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20config\x20list','cwd','RKhti','983610pbnKuP','jJarm','eKexG','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','MOLoP','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','env\x20list','\x20BLOCKED','add\x20env\x20<env-name>','ranger\x20feature\x20get-feedback','McIMF','--checklist','CiPKR','Config\x20key\x20to\x20remove','profile-name','YOZtz','TUMVk','hook:enable','oNiAl','lADqg','ranger\x20feature\x20add-checklist-item','utVQi','uqPjl','Sloza','MMGaB','SZPNB','\x20PARTIAL','incomplete','qaVBC','profile\x20config\x20set','qjWqn','3255434KcSmWp','env-name','Reason:\x20','\x20FAILED','current-branch','bAElT','pJyDv','Episi','ranger\x20go','JsZZW','nqcZw','Pdwju','TDrXN','.ranger','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','KVoJb','tkxvS','VeNxO'];_0x75ec=function(){return _0x5a5a50;};return _0x75ec();}(function(_0x5a37a1,_0x135cb9){const _0x557298=_0x2cd1,_0xa1d33c=_0x5a37a1();while(!![]){try{const _0x31b791=-parseInt(_0x557298(0x1fc))/0x1+parseInt(_0x557298(0x1bb))/0x2*(parseInt(_0x557298(0x1c8))/0x3)+-parseInt(_0x557298(0x1bf))/0x4*(parseInt(_0x557298(0x163))/0x5)+-parseInt(_0x557298(0xd4))/0x6+-parseInt(_0x557298(0xf3))/0x7+-parseInt(_0x557298(0x1c2))/0x8+parseInt(_0x557298(0x1fb))/0x9;if(_0x31b791===_0x135cb9)break;else _0xa1d33c['push'](_0xa1d33c['shift']());}catch(_0xbe82b9){_0xa1d33c['push'](_0xa1d33c['shift']());}}}(_0x75ec,0x3e2a8));function _0x2cd1(_0x385c0,_0x51b612){_0x385c0=_0x385c0-0xcb;const _0x75ec4e=_0x75ec();let _0x2cd17a=_0x75ec4e[_0x385c0];return _0x2cd17a;}import _0x42c2f9 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x49af10=_0x2cd1,_0x33236a={'nqcZw':function(_0x2a5690,_0x301d33){return _0x2a5690(_0x301d33);},'oSDEh':function(_0x3523a7,_0x2eab8e){return _0x3523a7!==_0x2eab8e;},'GyUnj':function(_0x4d9d40,_0x5ae3f7){return _0x4d9d40(_0x5ae3f7);},'lADqg':function(_0x3efcf2,_0x214463,_0x43bd3b){return _0x3efcf2(_0x214463,_0x43bd3b);},'CMJsN':function(_0x3e67dc,_0x2ceab2){return _0x3e67dc(_0x2ceab2);}};let _0x5337a0=process[_0x49af10(0xd2)]();const _0x5d4137=_0x33236a[_0x49af10(0xfd)](parse,_0x5337a0)['root'];while(_0x33236a['oSDEh'](_0x5337a0,_0x5d4137)){if(_0x33236a['GyUnj'](existsSync,_0x33236a[_0x49af10(0xe7)](join,_0x5337a0,_0x49af10(0x100)))||_0x33236a[_0x49af10(0x17e)](existsSync,join(_0x5337a0,'.env')))return _0x5337a0;_0x5337a0=_0x33236a[_0x49af10(0xfd)](dirname,_0x5337a0);}return process['cwd']();}_0x42c2f9['config']({'path':join(findProjectRoot(),'.env')});import _0x3069d7 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x196719=>{const _0x52d6e1=_0x2cd1,_0xae9e0={'gHmdM':function(_0x1a0835){return _0x1a0835();}},_0x3157c6=_0xae9e0[_0x52d6e1(0x118)](getCurrentCollector);_0x3157c6&&await _0x3157c6['trackCommandError'](_0x196719),process[_0x52d6e1(0x158)]=0x1;});const rawArgs=process[_0x227e61(0x12e)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x20for\x20Claude\x20Code\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x227e61(0x1ae),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0xd44ccf,_0x45681c){const _0x1c2e97=_0x227e61;console[_0x1c2e97(0x143)]('\x0a'+_0xd44ccf+'\x20is\x20now\x20'+_0x45681c+'\x0a');}function argUsed(_0x3a5aac){return rawArgs['some'](_0x4a6413=>_0x4a6413===_0x3a5aac||_0x4a6413['startsWith'](_0x3a5aac+'='));}function warnFlagRenamed(_0x5350ce,_0x25260d,_0x571145){const _0x4c5b34=_0x227e61,_0x1177f8={'ChkYV':function(_0x4d7323,_0x11e7e9){return _0x4d7323(_0x11e7e9);}};_0x1177f8[_0x4c5b34(0x1a8)](argUsed,_0x25260d)&&warnRenamed(_0x5350ce+'\x20'+_0x25260d,_0x5350ce+'\x20'+_0x571145);}async function runGoCommand(_0x401465,_0x43aa35=![]){const _0x37fea7=_0x227e61,_0x1a85b={'IlWGu':'ranger\x20verify-feature','rPMPr':'ranger\x20go','rcRwo':'--env','fnwti':_0x37fea7(0x1b2),'SOxFx':function(_0xf8944e,_0x2f954f,_0x34fab3,_0x5f2d07){return _0xf8944e(_0x2f954f,_0x34fab3,_0x5f2d07);},'gsjlF':_0x37fea7(0x18b),'SRRCw':'--item','uLuuX':function(_0x4aa540,_0x3098ef){return _0x4aa540(_0x3098ef);},'cELET':'debug-outcome','UBuAe':function(_0x1cad34,_0x4f9b8e){return _0x1cad34===_0x4f9b8e;},'CdtvP':_0x37fea7(0x133),'vFsay':'\x20VERIFIED','AGChL':function(_0x574d18,_0x5c7aa9){return _0x574d18===_0x5c7aa9;},'AnOZb':'partial','YobfB':_0x37fea7(0xee),'wVFgN':_0x37fea7(0xdb),'VeNxO':'\x0aIssues:','ZbMHx':function(_0x1a6780,_0xa80d4a){return _0x1a6780===_0xa80d4a;}};_0x43aa35&&warnRenamed(_0x1a85b['IlWGu'],_0x1a85b['rPMPr']);warnFlagRenamed('ranger\x20go',_0x1a85b[_0x37fea7(0x1b9)],_0x1a85b[_0x37fea7(0x1c4)]),_0x1a85b['SOxFx'](warnFlagRenamed,_0x37fea7(0xfb),_0x37fea7(0x106),_0x1a85b[_0x37fea7(0x105)]),warnFlagRenamed('ranger\x20go',_0x1a85b['SRRCw'],'--scenario');const _0x277a94=await _0x1a85b['uLuuX'](verifyFeature,{'profile':_0x401465['profile']??_0x401465['env'],'notes':_0x401465[_0x37fea7(0x1bc)]??_0x401465[_0x37fea7(0x1ab)],'scenario':_0x401465[_0x37fea7(0x172)]??_0x401465['item'],'startPath':_0x401465['start-path'],'debugOutcome':_0x401465[_0x1a85b[_0x37fea7(0x109)]],'debugAddressComments':_0x401465['debug-address-comments']});console['log']('\x0a'+'='['repeat'](0x3c)),console[_0x37fea7(0x142)](_0x1a85b[_0x37fea7(0x11e)](_0x277a94['evaluation'],_0x1a85b['CdtvP'])?_0x1a85b['vFsay']:_0x277a94[_0x37fea7(0x176)]===_0x37fea7(0xef)?_0x37fea7(0x1f5):_0x1a85b['AGChL'](_0x277a94['evaluation'],_0x1a85b['AnOZb'])?_0x1a85b[_0x37fea7(0x1a3)]:_0x1a85b['UBuAe'](_0x277a94['evaluation'],_0x37fea7(0x10b))?_0x1a85b['wVFgN']:_0x37fea7(0xf6)),console[_0x37fea7(0x142)]('='['repeat'](0x3c)),console[_0x37fea7(0x142)]('Summary:\x20'+_0x277a94['summary']),console[_0x37fea7(0x142)]('Evaluation:\x20'+_0x277a94['evaluation']),console[_0x37fea7(0x142)](_0x37fea7(0xf5)+_0x277a94['evaluationReason']),_0x277a94[_0x37fea7(0x1bd)]?.['length']&&(console[_0x37fea7(0x142)](_0x1a85b[_0x37fea7(0x104)]),_0x277a94[_0x37fea7(0x1bd)]['forEach']((_0x27d703,_0x98a5bd)=>{const _0x428208=_0x37fea7;console['log']('\x0a'+(_0x98a5bd+0x1)+_0x428208(0x192)+_0x27d703['severity']+']\x20'+_0x27d703[_0x428208(0x1ea)]);})),process['exit'](_0x1a85b[_0x37fea7(0x169)](_0x277a94[_0x37fea7(0x176)],'verified')?0x0:0x1);}_0x3069d7(process['argv']['slice'](0x2))[_0x227e61(0x19a)]('ranger')[_0x227e61(0x13c)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command']('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x4ee163=>{const _0x565a50=_0x227e61,_0x376b6c={'jJarm':'name','McIMF':'string','iWgGD':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','aRAQQ':'checklist'};return _0x4ee163['positional'](_0x376b6c[_0x565a50(0xd5)],{'type':_0x376b6c[_0x565a50(0xde)],'description':_0x565a50(0x19b),'demandOption':!![]})['option'](_0x565a50(0x1ea),{'type':_0x376b6c['McIMF'],'alias':'d','description':'Feature\x20review\x20description'})[_0x565a50(0x1e4)](_0x565a50(0x172),{'type':'array','alias':'c','description':_0x376b6c[_0x565a50(0x107)]})[_0x565a50(0x1e4)](_0x376b6c['aRAQQ'],{'type':_0x565a50(0x1e8),'hidden':!![]});},async _0x2d2765=>{const _0x212e72=_0x227e61,_0x3863fd={'uDUuU':_0x212e72(0xdf),'kdoAB':function(_0x3c4db9,_0x1b7875,_0x1579a4){return _0x3c4db9(_0x1b7875,_0x1579a4);},'DTekh':_0x212e72(0x16b)};warnFlagRenamed('ranger\x20create',_0x3863fd['uDUuU'],'--scenario');const _0x79887f=_0x2d2765['scenario']||_0x2d2765['checklist'];await _0x3863fd['kdoAB'](withTelemetry,_0x3863fd[_0x212e72(0x108)],()=>featureCreate(_0x2d2765['name'],{'description':_0x2d2765['description'],'scenarios':_0x79887f}));})['command']('list','List\x20all\x20feature\x20reviews',_0x2f1355=>{const _0x528e2c=_0x227e61,_0x5be8ba={'SxYdL':'boolean','TdJKB':_0x528e2c(0x1ee),'QvjPn':_0x528e2c(0x1fa)};return _0x2f1355[_0x528e2c(0x1e4)](_0x528e2c(0xf7),{'type':_0x5be8ba[_0x528e2c(0x14b)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x528e2c(0x14c),{'type':_0x5be8ba[_0x528e2c(0x10e)],'alias':'l','description':_0x528e2c(0x1cf),'default':0xa})[_0x528e2c(0x1e4)](_0x5be8ba['QvjPn'],{'type':_0x528e2c(0x1ee),'alias':'o','description':_0x528e2c(0x1d8),'default':0x0})[_0x528e2c(0x1e4)](_0x528e2c(0x184),{'type':_0x528e2c(0x15a),'alias':'d','description':_0x528e2c(0x1ad),'default':![]});},async _0x5a3fd7=>{const _0x248129=_0x227e61,_0x18d9f7={'qUaKb':'list'};await withTelemetry(_0x18d9f7['qUaKb'],()=>featureList({'currentBranch':_0x5a3fd7[_0x248129(0xf7)],'limit':_0x5a3fd7['limit'],'offset':_0x5a3fd7[_0x248129(0x1fa)],'includeDeleted':_0x5a3fd7[_0x248129(0x184)]}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x15d822=>{const _0x4f92e2=_0x227e61,_0x4df011={'LmPdM':_0x4f92e2(0x189)};return _0x15d822['positional']('id',{'type':_0x4df011['LmPdM'],'description':'Feature\x20review\x20ID'});},async _0x18fb12=>{await withTelemetry('show',()=>featureShow(_0x18fb12['id']));})[_0x227e61(0x1b8)]('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x1dfd3e=>{const _0x11af1a=_0x227e61,_0x407372={'euYUy':'string','oNiAl':_0x11af1a(0xd0)};return _0x1dfd3e[_0x11af1a(0x146)]('id',{'type':_0x407372[_0x11af1a(0x12c)],'description':_0x407372[_0x11af1a(0xe6)]});},async _0x520dd4=>{const _0x4927b1=_0x227e61,_0x1e6757={'rzEpz':_0x4927b1(0x1c1)};await withTelemetry(_0x1e6757[_0x4927b1(0x1f9)],()=>featureResume(_0x520dd4['id']));})['command'](_0x227e61(0x15e),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x36a6d9=>{const _0x32cfec=_0x227e61,_0x1b7cd4={'MMGaB':_0x32cfec(0x1ea),'uFteT':'string','YikDl':_0x32cfec(0x121),'hWkVO':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x36a6d9['positional'](_0x1b7cd4[_0x32cfec(0xec)],{'type':_0x1b7cd4[_0x32cfec(0x1f0)],'description':_0x1b7cd4[_0x32cfec(0x1a6)],'demandOption':!![]})['option']('id',{'type':_0x1b7cd4[_0x32cfec(0x1f0)],'description':_0x1b7cd4['hWkVO']});},async _0x189082=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x189082['description'],_0x189082['id']));})['command'](_0x227e61(0x178),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x40cfd4=>{const _0x1bcf49=_0x227e61,_0x21de0b={'tnKsz':'description','LHqAH':_0x1bcf49(0x189),'jEEVY':_0x1bcf49(0x1d1),'Ilpuh':'scenario','Gcheh':'number','TdXDG':'Scenario\x20number\x20to\x20edit\x20(1-based)','FwWao':_0x1bcf49(0x125)};return _0x40cfd4['positional'](_0x21de0b['tnKsz'],{'type':_0x21de0b['LHqAH'],'description':_0x21de0b['jEEVY'],'demandOption':!![]})['option'](_0x21de0b[_0x1bcf49(0x112)],{'type':_0x21de0b[_0x1bcf49(0x1db)],'description':_0x21de0b['TdXDG'],'demandOption':!![]})['option']('id',{'type':_0x21de0b['LHqAH'],'description':_0x21de0b[_0x1bcf49(0x193)]});},async _0x3f61ab=>{const _0x2a6b12=_0x227e61,_0x56467c={'KqJPJ':'edit-scenario'};await withTelemetry(_0x56467c[_0x2a6b12(0x186)],()=>featureEditScenario(_0x3f61ab[_0x2a6b12(0x1ea)],{'id':_0x3f61ab['id'],'scenario':_0x3f61ab[_0x2a6b12(0x172)]}));})[_0x227e61(0x1b8)]('get-review\x20[id]',_0x227e61(0x12b),_0x28848f=>{const _0x309148=_0x227e61,_0x5ece3a={'utVQi':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x28848f[_0x309148(0x146)]('id',{'type':_0x309148(0x189),'description':_0x5ece3a[_0x309148(0xe9)]});},async _0x2e131c=>{const _0x37c18f={'muwlE':function(_0x987ed4,_0x119d0e,_0x40675a){return _0x987ed4(_0x119d0e,_0x40675a);}};await _0x37c18f['muwlE'](withTelemetry,'get-review',()=>featureGetReview(_0x2e131c['id']));})[_0x227e61(0x1b8)]('delete\x20[id]',_0x227e61(0x149),_0x127991=>{const _0x6e5178=_0x227e61,_0x3593dd={'OMPCI':_0x6e5178(0x189),'tkxvS':'Feature\x20review\x20ID'};return _0x127991['positional']('id',{'type':_0x3593dd[_0x6e5178(0x1a4)],'description':_0x3593dd[_0x6e5178(0x103)]});},async _0x3c9b11=>{await withTelemetry('delete',()=>featureDelete(_0x3c9b11['id']));})['command'](_0x227e61(0x124),_0x227e61(0x132),_0x23eeae=>{const _0x2b7b59=_0x227e61,_0x45c78f={'kzdZr':_0x2b7b59(0x17c)};return _0x23eeae['positional']('id',{'type':'string','description':_0x45c78f[_0x2b7b59(0x11b)],'demandOption':!![]});},async _0xabbc3b=>{const _0x5478ba=_0x227e61,_0x3bfdfa={'pGaRR':function(_0x22a969,_0x83286b,_0x351d9f){return _0x22a969(_0x83286b,_0x351d9f);},'cPTRP':'restore'};await _0x3bfdfa[_0x5478ba(0x167)](withTelemetry,_0x3bfdfa['cPTRP'],()=>featureRestore(_0xabbc3b['id']));})[_0x227e61(0x1b8)](_0x227e61(0x17b),_0x227e61(0x1ef),_0xdd12e4=>{const _0x54810d=_0x227e61,_0x4a21b5={'hlerL':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','RcpOj':_0x54810d(0x18e),'WJewj':_0x54810d(0x15a)};return _0xdd12e4[_0x54810d(0x146)]('token',{'type':_0x54810d(0x189),'description':_0x4a21b5['hlerL']})[_0x54810d(0x1e4)](_0x4a21b5['RcpOj'],{'type':_0x4a21b5[_0x54810d(0x159)],'description':_0x54810d(0x1d9),'default':![]});},async _0x29656f=>{const _0x4d5499=_0x227e61,_0x50b5c4={'yzlZX':function(_0xaefdcc,_0x2ccd00,_0x248da9){return _0xaefdcc(_0x2ccd00,_0x248da9);}};await _0x50b5c4['yzlZX'](withTelemetry,'start',_0x55b3c6=>start(_0x29656f['token'],{'skipChromium':_0x29656f[_0x4d5499(0x18e)]},_0x55b3c6));})['command'](_0x227e61(0x116),_0x227e61(0x152),_0x41d649=>{const _0x53535a=_0x227e61,_0x26a4c1={'qRMwZ':_0x53535a(0x189),'qhdOb':'Ranger\x20API\x20token','TTSeV':'profile','oCLbQ':_0x53535a(0x181),'xCGwV':_0x53535a(0x18e),'goglI':_0x53535a(0x15a)};return _0x41d649[_0x53535a(0x146)]('token',{'type':_0x26a4c1['qRMwZ'],'description':_0x26a4c1[_0x53535a(0x13a)],'demandOption':!![]})['option'](_0x26a4c1['TTSeV'],{'type':_0x53535a(0x189),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x53535a(0x110),{'type':_0x53535a(0x189),'description':_0x26a4c1[_0x53535a(0x17d)]})[_0x53535a(0x1e4)](_0x26a4c1['xCGwV'],{'type':_0x26a4c1['goglI'],'description':_0x53535a(0x1d6),'default':![]});},async _0x55d773=>{const _0x3902fc=_0x227e61,_0x59b642={'HbTpZ':function(_0x379074,_0xd253a5,_0x48143d){return _0x379074(_0xd253a5,_0x48143d);},'RKhti':'setup-ci'};await _0x59b642[_0x3902fc(0x198)](withTelemetry,_0x59b642[_0x3902fc(0xd3)],_0x5cc2b3=>setupCi(_0x55d773[_0x3902fc(0x1a1)],{'profile':_0x55d773['profile'],'baseUrl':_0x55d773[_0x3902fc(0x110)],'skipChromium':_0x55d773['skip-chromium']},_0x5cc2b3));})['command']('login',_0x227e61(0x1e3),()=>{},async()=>{const _0x194d8b=_0x227e61,_0x45c5e2={'pAnxd':function(_0x5bfad2,_0x4e1920,_0x5e4999){return _0x5bfad2(_0x4e1920,_0x5e4999);}};await _0x45c5e2['pAnxd'](withTelemetry,_0x194d8b(0x1cb),()=>login());})['command'](_0x227e61(0x1c9),'Install\x20Ranger\x20skills\x20for\x20Claude\x20Code',()=>{},async()=>{const _0x2fc1df=_0x227e61,_0x10240b={'JlCFr':_0x2fc1df(0x1c9)};await withTelemetry(_0x10240b[_0x2fc1df(0x129)],()=>skillup());})['command']('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x21cce1=_0x227e61,_0x40897a={'uqPjl':_0x21cce1(0x19d)};await withTelemetry(_0x40897a[_0x21cce1(0xea)],()=>clean());})[_0x227e61(0x1b8)](_0x227e61(0x1dc),'Manage\x20profiles',_0x5d113f=>{const _0x446629=_0x227e61,_0x595d9c={'JROnS':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','DKVFF':function(_0x217e1c,_0x52a595,_0x1c008e){return _0x217e1c(_0x52a595,_0x1c008e);},'LsoKI':'profile-name','KVoJb':'profile\x20use','VHesA':'profile\x20encrypt-auth','aOGIM':'string','nrvPc':_0x446629(0x13e),'NghPq':'profile','kQqQa':_0x446629(0xf1),'IGIDm':'key','qtAKS':'Config\x20key\x20to\x20remove','CzqMb':function(_0x1a7e64,_0x19b560,_0x41f546){return _0x1a7e64(_0x19b560,_0x41f546);},'cONJb':_0x446629(0x1e2),'CdunL':'Set\x20a\x20config\x20value','PoexQ':_0x446629(0x1ba),'lQcdX':_0x446629(0x119),'HdBvJ':'List\x20all\x20config\x20for\x20a\x20profile','XQBKh':'add\x20<profile-name>','QoxNT':'Add\x20profile\x20configuration','Episi':'use\x20<profile-name>','MFywR':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','gbWnw':'Update\x20authentication\x20for\x20an\x20existing\x20profile','SZPNB':_0x446629(0x195),'NTKZM':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x5d113f['usage'](PROFILE_HELP)['command'](_0x595d9c['XQBKh'],_0x595d9c[_0x446629(0x137)],_0x56df8b=>{const _0x5126e8=_0x446629;return _0x56df8b['positional'](_0x5126e8(0xe2),{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5126e8(0x15a),'description':_0x595d9c['JROnS'],'default':![]})['option'](_0x5126e8(0x147),{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x419f7e=>{const _0x21a016=_0x446629;await _0x595d9c['DKVFF'](withTelemetry,'profile\x20add',_0x388336=>addEnv(_0x419f7e['profile-name'],{'ci':_0x419f7e['ci'],'skipAuth':_0x419f7e[_0x21a016(0x147)]},_0x388336));})[_0x446629(0x1b8)](_0x595d9c[_0x446629(0xfa)],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0xd89677=>{const _0x4efd11=_0x446629;return _0xd89677['positional'](_0x595d9c['LsoKI'],{'type':_0x4efd11(0x189),'description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x1efe73=>{const _0xa01e3b=_0x446629;await withTelemetry(_0x595d9c[_0xa01e3b(0x102)],()=>useEnv(_0x1efe73['profile-name']));})[_0x446629(0x1b8)]('encrypt-auth\x20<profile>',_0x595d9c['MFywR'],_0x46907b=>{const _0x16c281=_0x446629;return _0x46907b[_0x16c281(0x146)](_0x16c281(0x1dc),{'type':_0x16c281(0x189),'description':'Profile\x20name','demandOption':!![]});},async _0x4d771d=>{const _0x245e1c=_0x446629;await withTelemetry(_0x595d9c['VHesA'],()=>authEncrypt(_0x4d771d[_0x245e1c(0x1dc)]));})['command']('ls',_0x446629(0x164),()=>{},async()=>{const _0x13e126=_0x446629;await withTelemetry(_0x13e126(0x14d),()=>envList());})['command']('update\x20<profile-name>',_0x595d9c[_0x446629(0x1d2)],_0x432e75=>{const _0x44d76c=_0x446629;return _0x432e75[_0x44d76c(0x146)](_0x595d9c['LsoKI'],{'type':_0x595d9c[_0x44d76c(0x113)],'description':_0x595d9c[_0x44d76c(0x13b)],'demandOption':!![]});},async _0x34608d=>{const _0xfeea25=_0x446629;await _0x595d9c['DKVFF'](withTelemetry,_0xfeea25(0x19c),_0x381d50=>updateEnv(_0x34608d['profile-name'],_0x381d50));})[_0x446629(0x1b8)](_0x595d9c[_0x446629(0xed)],_0x446629(0x16a),_0x13f8e3=>{const _0x17a034=_0x446629,_0x28f4ea={'qjWqn':_0x17a034(0x189),'DGqTS':'profile\x20config\x20get'};return _0x13f8e3[_0x17a034(0x13c)](PROFILE_CONFIG_HELP)[_0x17a034(0x1b8)](_0x595d9c[_0x17a034(0x17f)],_0x595d9c['CdunL'],_0xa85181=>{const _0x3cf9ef=_0x17a034;return _0xa85181['positional'](_0x595d9c[_0x3cf9ef(0x1eb)],{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})[_0x3cf9ef(0x146)]('value',{'type':_0x595d9c[_0x3cf9ef(0x113)],'description':'Config\x20value','demandOption':!![]});},async _0x10dab4=>{const _0x49fa8d=_0x17a034;await withTelemetry(_0x595d9c[_0x49fa8d(0x1ec)],()=>configSet(_0x10dab4[_0x49fa8d(0x1dc)],_0x10dab4[_0x49fa8d(0x13d)],_0x10dab4['value']));})[_0x17a034(0x1b8)](_0x595d9c['PoexQ'],_0x17a034(0x1df),_0x53b38b=>{const _0x541da2=_0x17a034;return _0x53b38b[_0x541da2(0x146)](_0x541da2(0x1dc),{'type':_0x28f4ea['qjWqn'],'description':_0x541da2(0x1c7),'demandOption':!![]})[_0x541da2(0x146)]('key',{'type':_0x28f4ea[_0x541da2(0xf2)],'description':'Config\x20key','demandOption':!![]});},async _0x16877b=>{const _0x522c36=_0x17a034;await withTelemetry(_0x28f4ea[_0x522c36(0x179)],()=>configGet(_0x16877b['profile'],_0x16877b['key']));})['command'](_0x595d9c[_0x17a034(0x114)],_0x595d9c[_0x17a034(0x16f)],_0x388736=>{const _0xea373d=_0x17a034;return _0x388736[_0xea373d(0x146)](_0xea373d(0x1dc),{'type':_0x28f4ea[_0xea373d(0xf2)],'description':_0xea373d(0x1c7),'demandOption':!![]});},async _0x1b89cf=>{await withTelemetry('profile\x20config\x20list',()=>configList(_0x1b89cf['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x1c99a0=>{const _0x24c457=_0x17a034;return _0x1c99a0['positional'](_0x595d9c['NghPq'],{'type':_0x24c457(0x189),'description':_0x24c457(0x1c7),'demandOption':!![]})['positional'](_0x595d9c['IGIDm'],{'type':_0x595d9c['aOGIM'],'description':_0x595d9c[_0x24c457(0x1e0)],'demandOption':!![]});},async _0x18b47e=>{const _0x5d13be=_0x17a034;await _0x595d9c[_0x5d13be(0x1cc)](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x18b47e['profile'],_0x18b47e['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x595d9c[_0x446629(0xcb)]);})[_0x227e61(0x1b8)](_0x227e61(0x1e1),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})['command'](_0x227e61(0x126),_0x227e61(0x101),()=>{},async()=>{const _0x499ab7=_0x227e61,_0x555119={'YOZtz':_0x499ab7(0x126)};await withTelemetry(_0x555119[_0x499ab7(0xe3)],()=>update());})['command']('go',_0x227e61(0x1d3),_0xe2ed8=>{const _0x32605b=_0x227e61,_0x9c6f25={'ncHkM':'profile','pmEQI':_0x32605b(0x189),'QXydp':_0x32605b(0x1ac),'bfAQd':'notes','MOLoP':'scenario','kTQle':'Scenario\x20index\x20(1-based)','NICdE':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','LgoVQ':_0x32605b(0x12a),'qaVBC':_0x32605b(0x133),'UNbDb':'partial','DTqpM':_0x32605b(0x10b),'BYvAV':'failed','ePAyQ':_0x32605b(0xef),'DBJgg':'debug-address-comments','JQMpJ':_0x32605b(0x15a),'MtvGR':_0x32605b(0x1d4),'oFqJd':'item'};return _0xe2ed8[_0x32605b(0x1e4)](_0x9c6f25[_0x32605b(0x17a)],{'type':_0x9c6f25['pmEQI'],'description':_0x9c6f25['QXydp']})['option'](_0x9c6f25[_0x32605b(0x1f7)],{'type':_0x9c6f25[_0x32605b(0x1a5)],'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})[_0x32605b(0x1e4)](_0x9c6f25[_0x32605b(0xd8)],{'type':_0x32605b(0x1ee),'description':_0x9c6f25[_0x32605b(0x1ca)]})['option']('start-path',{'type':_0x32605b(0x189),'description':_0x9c6f25[_0x32605b(0x16e)]})[_0x32605b(0x1e4)](_0x9c6f25['LgoVQ'],{'type':'string','hidden':!![],'choices':[_0x9c6f25[_0x32605b(0xf0)],_0x9c6f25['UNbDb'],_0x9c6f25['DTqpM'],_0x9c6f25['BYvAV'],_0x9c6f25['ePAyQ']]})['option'](_0x9c6f25[_0x32605b(0x1d0)],{'type':_0x9c6f25[_0x32605b(0x160)],'hidden':!![]})['option'](_0x9c6f25['MtvGR'],{'type':_0x32605b(0x189),'hidden':!![]})[_0x32605b(0x1e4)](_0x32605b(0x1ab),{'type':'string','hidden':!![]})[_0x32605b(0x1e4)](_0x9c6f25['oFqJd'],{'type':_0x32605b(0x1ee),'hidden':!![]});},async _0x35277c=>{await runGoCommand(_0x35277c);})['command']('auth',![],_0x5a32dd=>{const _0x2e2864=_0x227e61,_0x26d8ae={'Sloza':'profile','YHSoq':'string','aLuJg':function(_0x24607c,_0x190a43,_0x4f582d){return _0x24607c(_0x190a43,_0x4f582d);},'qyTWy':_0x2e2864(0x1c6)};return _0x5a32dd[_0x2e2864(0x1b8)]('encrypt\x20<profile>',![],_0x303ce3=>{const _0x39f512=_0x2e2864;return _0x303ce3['positional'](_0x26d8ae[_0x39f512(0xeb)],{'type':_0x26d8ae['YHSoq'],'description':'Profile\x20name','demandOption':!![]});},async _0x57f9a0=>{const _0x2f522e=_0x2e2864;_0x26d8ae['aLuJg'](warnRenamed,_0x26d8ae['qyTWy'],_0x2f522e(0x1b0)),await authEncrypt(_0x57f9a0['profile']);})[_0x2e2864(0x183)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x227e61(0x1b8)]('start\x20[token]',![],_0x21f763=>{const _0x8cd502=_0x227e61,_0x525edd={'SsLpJ':_0x8cd502(0x189),'PvQXc':_0x8cd502(0x18e),'kXbtq':'boolean'};return _0x21f763['positional']('token',{'type':_0x525edd[_0x8cd502(0x10d)],'description':_0x8cd502(0x130)})[_0x8cd502(0x1e4)](_0x525edd['PvQXc'],{'type':_0x525edd['kXbtq'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]});},async _0x1f9ba8=>{const _0x12cf38=_0x227e61,_0x41a20b={'XCzQO':'ranger\x20setup','ydAyc':function(_0x2b72e6,_0x1ce9f1,_0x15e70d){return _0x2b72e6(_0x1ce9f1,_0x15e70d);}};warnRenamed(_0x12cf38(0x1f6),_0x41a20b['XCzQO']),await _0x41a20b[_0x12cf38(0x138)](withTelemetry,_0x12cf38(0x175),_0x3c9044=>start(_0x1f9ba8[_0x12cf38(0x1a1)],{'skipChromium':_0x1f9ba8['skip-chromium']},_0x3c9044));})['command'](_0x227e61(0xcf),![],_0x3552f9=>{const _0x1e44bf=_0x227e61,_0x3dc6a7={'rqSJN':'string','pJyDv':_0x1e44bf(0x1ac),'zGndF':_0x1e44bf(0x18d),'xoadp':_0x1e44bf(0xcc),'zxJPa':'profile','bhOoB':_0x1e44bf(0x1bc),'OUvzP':'number','LHCWd':_0x1e44bf(0x12a),'eKexG':'verified','nQLRH':'incomplete'};return _0x3552f9['option'](_0x1e44bf(0x1d4),{'type':_0x3dc6a7[_0x1e44bf(0x1fd)],'description':_0x3dc6a7[_0x1e44bf(0xf9)]})[_0x1e44bf(0x1e4)]('task',{'type':'string','description':_0x3dc6a7[_0x1e44bf(0x11c)]})[_0x1e44bf(0x1e4)](_0x1e44bf(0x15c),{'type':'number','description':_0x3dc6a7['xoadp']})[_0x1e44bf(0x1e4)](_0x3dc6a7[_0x1e44bf(0x128)],{'type':_0x1e44bf(0x189),'hidden':!![]})['option'](_0x3dc6a7[_0x1e44bf(0x1f8)],{'type':_0x3dc6a7['rqSJN'],'hidden':!![]})[_0x1e44bf(0x1e4)](_0x1e44bf(0x172),{'type':_0x3dc6a7['OUvzP'],'hidden':!![]})['option']('start-path',{'type':_0x3dc6a7[_0x1e44bf(0x1fd)],'description':_0x1e44bf(0x1a7)})[_0x1e44bf(0x1e4)](_0x3dc6a7[_0x1e44bf(0x1ed)],{'type':_0x1e44bf(0x189),'hidden':!![],'choices':[_0x3dc6a7[_0x1e44bf(0xd6)],_0x1e44bf(0x1e9),'blocked','failed',_0x3dc6a7['nQLRH']]});},async _0x1d31b1=>{const _0x480eab={'xuogq':function(_0x533d68,_0x2b9605,_0x4c71d7){return _0x533d68(_0x2b9605,_0x4c71d7);}};await _0x480eab['xuogq'](runGoCommand,_0x1d31b1,!![]);})[_0x227e61(0x1b8)](_0x227e61(0xdc),![],_0x35e936=>{const _0x1899a8=_0x227e61,_0x200d74={'CiPKR':_0x1899a8(0x111),'bAElT':_0x1899a8(0x15a),'RyTYo':_0x1899a8(0xd9),'Jfwqg':_0x1899a8(0x1c5)};return _0x35e936[_0x1899a8(0x146)](_0x1899a8(0xf4),{'type':'string','description':_0x200d74[_0x1899a8(0xe0)],'demandOption':!![]})['option']('ci',{'type':_0x200d74[_0x1899a8(0xf8)],'description':_0x200d74[_0x1899a8(0x187)],'default':![]})['option']('skip-auth',{'type':_0x200d74['bAElT'],'description':_0x200d74['Jfwqg'],'default':![]});},async _0x43a237=>{const _0x5ef1f2=_0x227e61,_0x48e5c3={'YMoqN':function(_0x5d9971,_0x254737,_0x424ed4){return _0x5d9971(_0x254737,_0x424ed4);},'xGIOi':'add\x20env'};warnRenamed(_0x5ef1f2(0x1aa),'ranger\x20profile\x20add'),await _0x48e5c3['YMoqN'](withTelemetry,_0x48e5c3[_0x5ef1f2(0x173)],_0xec6f3f=>addEnv(_0x43a237['env-name'],{'ci':_0x43a237['ci'],'skipAuth':_0x43a237['skip-auth']},_0xec6f3f));})[_0x227e61(0x1b8)](_0x227e61(0x136),![],_0x4effa3=>{const _0x575dc5=_0x227e61,_0x4f06e7={'TDrXN':_0x575dc5(0x189)};return _0x4effa3[_0x575dc5(0x146)]('env-name',{'type':_0x4f06e7[_0x575dc5(0xff)],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0xfd3e5f=>{const _0x16f54c=_0x227e61,_0xa014e4={'EHMsc':function(_0x79e66d,_0x467ab9,_0x166cf9){return _0x79e66d(_0x467ab9,_0x166cf9);},'nwIeC':'use'};_0xa014e4[_0x16f54c(0xcd)](warnRenamed,_0x16f54c(0x1af),_0x16f54c(0x1a2)),await withTelemetry(_0xa014e4['nwIeC'],()=>useEnv(_0xfd3e5f[_0x16f54c(0xf4)]));})[_0x227e61(0x1b8)]('config',![],_0x151a98=>{const _0x172372=_0x227e61,_0xd09556={'Pdwju':'env','vDLzp':_0x172372(0x196),'byxgM':'value','obAqD':_0x172372(0x189),'seUrN':function(_0x5e8a38,_0xab333c,_0xfc6397){return _0x5e8a38(_0xab333c,_0xfc6397);},'KOJzA':_0x172372(0x16d),'KJiVJ':_0x172372(0x177),'UIQgE':'key','IONSM':function(_0xb5ac1e,_0x35b39f,_0x4021af){return _0xb5ac1e(_0x35b39f,_0x4021af);},'oqFlx':function(_0x22f4e3,_0x3004a0,_0x20e063){return _0x22f4e3(_0x3004a0,_0x20e063);},'PygEX':_0x172372(0xd1),'MeJvY':_0x172372(0x1b5),'MVOgR':'set\x20<env>\x20<key>\x20<value>','irQhx':_0x172372(0x18c),'JXzmh':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x151a98[_0x172372(0x1b8)](_0xd09556[_0x172372(0x1e6)],![],_0x2fe0ff=>{const _0x36ed9f=_0x172372;return _0x2fe0ff[_0x36ed9f(0x146)](_0xd09556[_0x36ed9f(0xfe)],{'type':'string','description':_0x36ed9f(0x177),'demandOption':!![]})[_0x36ed9f(0x146)]('key',{'type':'string','description':_0xd09556[_0x36ed9f(0x199)],'demandOption':!![]})['positional'](_0xd09556['byxgM'],{'type':_0xd09556[_0x36ed9f(0x115)],'description':'Config\x20value','demandOption':!![]});},async _0x4a2ab4=>{const _0x482887=_0x172372;_0xd09556[_0x482887(0x1b6)](warnRenamed,'ranger\x20config\x20set',_0x482887(0x1b1)),await _0xd09556[_0x482887(0x1b6)](withTelemetry,_0xd09556['KOJzA'],()=>configSet(_0x4a2ab4['env'],_0x4a2ab4['key'],_0x4a2ab4[_0x482887(0x1b4)]));})['command'](_0x172372(0x197),![],_0x3b9c13=>{const _0x4029be=_0x172372;return _0x3b9c13[_0x4029be(0x146)](_0xd09556[_0x4029be(0xfe)],{'type':_0x4029be(0x189),'description':_0xd09556[_0x4029be(0x10f)],'demandOption':!![]})[_0x4029be(0x146)](_0xd09556[_0x4029be(0x140)],{'type':_0xd09556[_0x4029be(0x115)],'description':_0x4029be(0x1b3),'demandOption':!![]});},async _0xe0981a=>{const _0x5410c0=_0x172372;warnRenamed(_0x5410c0(0x168),'ranger\x20profile\x20config\x20get'),await _0xd09556['IONSM'](withTelemetry,'config\x20get',()=>configGet(_0xe0981a[_0x5410c0(0x1d4)],_0xe0981a['key']));})[_0x172372(0x1b8)](_0x172372(0x1f4),![],_0x5d46a5=>{const _0x25a8e8=_0x172372;return _0x5d46a5[_0x25a8e8(0x146)](_0xd09556['Pdwju'],{'type':_0xd09556['obAqD'],'description':_0xd09556[_0x25a8e8(0x10f)],'demandOption':!![]});},async _0x5171e1=>{const _0x7616c4=_0x172372;_0xd09556[_0x7616c4(0x1b7)](warnRenamed,_0xd09556['PygEX'],_0x7616c4(0x19f)),await withTelemetry(_0x7616c4(0x11d),()=>configList(_0x5171e1[_0x7616c4(0x1d4)]));})[_0x172372(0x1b8)](_0xd09556['irQhx'],![],_0x2a055f=>{const _0x3a37e8=_0x172372;return _0x2a055f[_0x3a37e8(0x146)](_0xd09556[_0x3a37e8(0xfe)],{'type':_0xd09556[_0x3a37e8(0x115)],'description':'Environment\x20name','demandOption':!![]})[_0x3a37e8(0x146)](_0x3a37e8(0x13d),{'type':'string','description':_0x3a37e8(0xe1),'demandOption':!![]});},async _0x18917d=>{const _0x2ad24c=_0x172372;_0xd09556[_0x2ad24c(0x185)](warnRenamed,_0x2ad24c(0x157),_0xd09556['MeJvY']),await withTelemetry(_0x2ad24c(0x15d),()=>configUnset(_0x18917d['env'],_0x18917d[_0x2ad24c(0x13d)]));})['demandCommand'](0x1,_0xd09556['JXzmh']);})['command']('env',![],_0x2e35ee=>{const _0x7aed06=_0x227e61,_0x458490={'vDoUQ':function(_0x1b4d27,_0x4b02e0,_0x3ede29){return _0x1b4d27(_0x4b02e0,_0x3ede29);},'uwmmC':_0x7aed06(0x162),'kXCds':_0x7aed06(0xda),'QZYbD':'env-name','KlKYd':_0x7aed06(0x12f),'ZucSW':'ranger\x20profile\x20update','XIhhH':_0x7aed06(0x14f),'NnOaH':'update\x20<env-name>','yHkMr':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x2e35ee[_0x7aed06(0x1b8)]('ls',![],()=>{},async()=>{const _0x37015c=_0x7aed06;_0x458490[_0x37015c(0x123)](warnRenamed,_0x37015c(0x1e7),_0x458490[_0x37015c(0x10a)]),await _0x458490['vDoUQ'](withTelemetry,_0x458490[_0x37015c(0x191)],()=>envList());})[_0x7aed06(0x1b8)](_0x458490[_0x7aed06(0x148)],![],_0x575c60=>{const _0x318f47=_0x7aed06;return _0x575c60['positional'](_0x458490[_0x318f47(0x170)],{'type':_0x318f47(0x189),'description':_0x318f47(0x1da),'demandOption':!![]});},async _0x3dd9eb=>{const _0x1f9dc7=_0x7aed06;_0x458490[_0x1f9dc7(0x123)](warnRenamed,_0x458490[_0x1f9dc7(0x127)],_0x458490[_0x1f9dc7(0x141)]),await _0x458490[_0x1f9dc7(0x123)](withTelemetry,_0x458490['XIhhH'],_0x25555b=>updateEnv(_0x3dd9eb[_0x1f9dc7(0xf4)],_0x25555b));})[_0x7aed06(0x183)](0x1,_0x458490[_0x7aed06(0x15f)]);})[_0x227e61(0x1b8)]('feature',![],_0x42e9d4=>{const _0x26cc7a=_0x227e61,_0x1585f3={'JKSwo':'name','ctBxm':_0x26cc7a(0x1ea),'ynDoY':'string','eKzYG':'checklist','jBjlB':_0x26cc7a(0x1e8),'qjTUK':_0x26cc7a(0xd7),'FkQGp':_0x26cc7a(0x131),'LTKBe':'--scenario','myuQO':_0x26cc7a(0x1c3),'VwWKv':_0x26cc7a(0xf7),'ukxQX':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GhBpK':'offset','GwfeN':_0x26cc7a(0x1ee),'AHsaL':_0x26cc7a(0x1d8),'UnKsL':_0x26cc7a(0x184),'MswmK':_0x26cc7a(0x15a),'WDVyf':_0x26cc7a(0x1ad),'yrbFx':function(_0x5add5d,_0x23c053,_0x390a4f){return _0x5add5d(_0x23c053,_0x390a4f);},'uNvKc':_0x26cc7a(0x144),'GgECd':'ranger\x20list','eVpIH':function(_0x59d7a8,_0x149f81,_0xb99f07){return _0x59d7a8(_0x149f81,_0xb99f07);},'OKIGM':_0x26cc7a(0x14a),'pDGwZ':_0x26cc7a(0x150),'ttogZ':_0x26cc7a(0x190),'CPqUr':_0x26cc7a(0x10c),'QPqhJ':'feature\x20resume','cHNap':_0x26cc7a(0x121),'XmajP':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','oKjaa':_0x26cc7a(0xe8),'mWngI':_0x26cc7a(0x166),'kQLLb':_0x26cc7a(0xdd),'nyote':_0x26cc7a(0x139),'aDdYk':'feature\x20delete','biKPB':function(_0x2cef1b,_0x17e6d9,_0xef039c){return _0x2cef1b(_0x17e6d9,_0xef039c);},'mdrXD':'feature\x20restore','JsZZW':_0x26cc7a(0x11a),'fRqLW':'add-checklist-item\x20<description>','TUMVk':'delete\x20[id]'};return _0x42e9d4['command'](_0x26cc7a(0x1a0),![],_0x2baee8=>{const _0x247f10=_0x26cc7a;return _0x2baee8['positional'](_0x1585f3[_0x247f10(0x1de)],{'type':'string','description':_0x247f10(0x19b),'demandOption':!![]})['option'](_0x1585f3[_0x247f10(0x1f2)],{'type':_0x1585f3[_0x247f10(0x180)],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x1585f3['eKzYG'],{'type':_0x1585f3['jBjlB'],'alias':'c','description':_0x1585f3[_0x247f10(0x18a)]})['option']('scenario',{'type':_0x1585f3['jBjlB'],'hidden':!![]});},async _0x1565fa=>{const _0x48d3bf=_0x26cc7a;warnRenamed(_0x48d3bf(0x134),_0x1585f3['FkQGp']),warnFlagRenamed(_0x1585f3['FkQGp'],'--checklist',_0x1585f3['LTKBe']);const _0x42debc=_0x1565fa[_0x48d3bf(0x172)]||_0x1565fa[_0x48d3bf(0x18f)];await withTelemetry(_0x1585f3[_0x48d3bf(0x1a9)],()=>featureCreate(_0x1565fa['name'],{'description':_0x1565fa['description'],'scenarios':_0x42debc}));})[_0x26cc7a(0x1b8)](_0x26cc7a(0x135),![],_0x1f3654=>{const _0x1e9a37=_0x26cc7a;return _0x1f3654['option'](_0x1585f3['VwWKv'],{'type':'boolean','description':_0x1585f3['ukxQX']})[_0x1e9a37(0x1e4)]('limit',{'type':'number','alias':'l','description':_0x1e9a37(0x1cf),'default':0xa})['option'](_0x1585f3['GhBpK'],{'type':_0x1585f3[_0x1e9a37(0x151)],'alias':'o','description':_0x1585f3[_0x1e9a37(0x1be)],'default':0x0})[_0x1e9a37(0x1e4)](_0x1585f3['UnKsL'],{'type':_0x1585f3['MswmK'],'alias':'d','description':_0x1585f3[_0x1e9a37(0x1f1)],'default':![]});},async _0x14609d=>{const _0x14f992=_0x26cc7a;_0x1585f3['yrbFx'](warnRenamed,_0x1585f3[_0x14f992(0x11f)],_0x1585f3['GgECd']),await _0x1585f3['eVpIH'](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x14609d[_0x14f992(0xf7)],'limit':_0x14609d['limit'],'offset':_0x14609d['offset'],'includeDeleted':_0x14609d[_0x14f992(0x184)]}));})['command'](_0x1585f3[_0x26cc7a(0xfc)],![],_0x3bac68=>{const _0xcf083f=_0x26cc7a;return _0x3bac68[_0xcf083f(0x146)]('id',{'type':_0x1585f3[_0xcf083f(0x180)],'description':'Feature\x20review\x20ID'});},async _0x4e4250=>{const _0x2abe9f=_0x26cc7a;warnRenamed(_0x1585f3['OKIGM'],_0x1585f3['pDGwZ']),await _0x1585f3[_0x2abe9f(0x1c0)](withTelemetry,_0x1585f3['ttogZ'],()=>featureShow(_0x4e4250['id']));})['command'](_0x26cc7a(0x13f),![],_0x193cf0=>{const _0x98c5f6=_0x26cc7a;return _0x193cf0['positional']('id',{'type':_0x1585f3['ynDoY'],'description':_0x98c5f6(0xd0)});},async _0xdd2b43=>{const _0x204fed=_0x26cc7a;_0x1585f3['eVpIH'](warnRenamed,_0x1585f3[_0x204fed(0x1cd)],'ranger\x20resume'),await withTelemetry(_0x1585f3[_0x204fed(0x156)],()=>featureResume(_0xdd2b43['id']));})['command'](_0x1585f3['fRqLW'],![],_0x1061a5=>{const _0xbb9e97=_0x26cc7a;return _0x1061a5['positional']('description',{'type':'string','description':_0x1585f3[_0xbb9e97(0x182)],'demandOption':!![]})['option']('id',{'type':_0x1585f3['ynDoY'],'description':_0x1585f3[_0xbb9e97(0x188)]});},async _0x1600ec=>{const _0x41fcbb=_0x26cc7a;warnRenamed(_0x1585f3['oKjaa'],_0x41fcbb(0x145)),await withTelemetry(_0x1585f3[_0x41fcbb(0x1ce)],()=>featureAddScenario(_0x1600ec[_0x41fcbb(0x1ea)],_0x1600ec['id']));})[_0x26cc7a(0x1b8)](_0x26cc7a(0x117),![],_0x55ea8d=>{const _0x1230d7=_0x26cc7a;return _0x55ea8d[_0x1230d7(0x146)]('id',{'type':'string','description':_0x1230d7(0x125)});},async _0x56a8a8=>{const _0x2855f9=_0x26cc7a;warnRenamed(_0x1585f3['kQLLb'],'ranger\x20get-review'),await _0x1585f3['yrbFx'](withTelemetry,_0x1585f3[_0x2855f9(0x161)],()=>featureGetReview(_0x56a8a8['id']));})[_0x26cc7a(0x1b8)](_0x1585f3[_0x26cc7a(0xe4)],![],_0x3b8dae=>{const _0x3c8663=_0x26cc7a;return _0x3b8dae[_0x3c8663(0x146)]('id',{'type':_0x1585f3[_0x3c8663(0x180)],'description':_0x3c8663(0x154)});},async _0x22ff8d=>{_0x1585f3['eVpIH'](warnRenamed,'ranger\x20feature\x20delete','ranger\x20delete'),await withTelemetry(_0x1585f3['aDdYk'],()=>featureDelete(_0x22ff8d['id']));})[_0x26cc7a(0x1b8)](_0x26cc7a(0x124),![],_0x2e8d57=>{const _0x6b34a8=_0x26cc7a;return _0x2e8d57[_0x6b34a8(0x146)]('id',{'type':'string','description':_0x6b34a8(0x17c),'demandOption':!![]});},async _0x3a4705=>{const _0x5ac1c7=_0x26cc7a;_0x1585f3['biKPB'](warnRenamed,_0x5ac1c7(0x122),_0x5ac1c7(0x1dd)),await _0x1585f3[_0x5ac1c7(0x1c0)](withTelemetry,_0x1585f3['mdrXD'],()=>featureRestore(_0x3a4705['id']));})[_0x26cc7a(0x183)](0x1,_0x26cc7a(0x14e));})[_0x227e61(0x1b8)]('hook',![],_0x6fc311=>{const _0x589090=_0x227e61,_0x9f9f8b={'GnhLx':_0x589090(0x19e),'SIUpQ':function(_0x4ef526,_0x8cfd62,_0x1de79c){return _0x4ef526(_0x8cfd62,_0x1de79c);},'tLQWg':_0x589090(0x189),'cRnKM':_0x589090(0x1d5),'jFiXG':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x6fc311[_0x589090(0x1b8)](_0x589090(0x153),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x23b2d2=>{const _0x4c91ac=_0x589090;return _0x23b2d2[_0x4c91ac(0x1e4)](_0x9f9f8b['GnhLx'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x2c2839=>{const _0x547af8=_0x589090;await _0x9f9f8b[_0x547af8(0x12d)](withTelemetry,_0x547af8(0xe5),()=>hook(_0x547af8(0x153),_0x2c2839['session-id']));})[_0x589090(0x1b8)]('disable',_0x589090(0x155),_0x42433b=>{const _0x5056b4=_0x589090;return _0x42433b[_0x5056b4(0x1e4)]('session-id',{'type':_0x9f9f8b[_0x5056b4(0x120)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x112a29=>{const _0x33ba72=_0x589090;await withTelemetry(_0x9f9f8b[_0x33ba72(0x15b)],()=>hook('disable',_0x112a29['session-id']));})['option']('name',{'type':_0x589090(0x189),'description':_0x9f9f8b[_0x589090(0x16c)]})['option'](_0x9f9f8b['GnhLx'],{'type':_0x9f9f8b[_0x589090(0x120)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3ed297=>{const _0x2db4b9=_0x227e61,_0x32a662={'ZIewS':function(_0x14cd52,_0x419536,_0x295573){return _0x14cd52(_0x419536,_0x295573);}};_0x3ed297['name']&&await _0x32a662['ZIewS'](hook,_0x3ed297['name'],_0x3ed297[_0x2db4b9(0x19e)]);})[_0x227e61(0x183)](0x1,_0x227e61(0x1d7))[_0x227e61(0xce)]()['fail'](async(_0x3db529,_0x2b86de,_0x376de3)=>{const _0x13d165=_0x227e61,_0x5d4b22={'dwBHa':_0x13d165(0x165),'xMMpu':function(_0x516332,_0x269a78){return _0x516332||_0x269a78;}},_0x9ffc50=sanitizeArgs(process[_0x13d165(0x12e)]['slice'](0x2)),_0x4e645a=getErrorType(_0x3db529,_0x2b86de);if(_0x3db529&&_0x3db529['includes']('Unknown\x20command')){const _0x103242=process['argv'][0x2];console[_0x13d165(0x143)]('\x0aUnknown\x20command:\x20'+_0x103242),console['error'](_0x5d4b22[_0x13d165(0x194)]);}else{if(_0x3db529)console[_0x13d165(0x143)]('\x0a'+_0x3db529+'\x0a');else _0x2b86de&&console['error']('\x0aError:\x20'+_0x2b86de[_0x13d165(0x171)]+'\x0a');}await logDesirePath({'rawCommand':_0x9ffc50,'errorMessage':_0x3db529||_0x2b86de?.[_0x13d165(0x171)],'errorType':_0x4e645a});const _0xd748b1=getCurrentCollector();_0xd748b1&&await _0xd748b1['trackCommandError'](_0x2b86de||new Error(_0x5d4b22['xMMpu'](_0x3db529,'Unknown\x20error'))),process[_0x13d165(0x174)](0x1);})['epilogue'](_0x227e61(0x1e5)+_0x227e61(0x1f3)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias']('help','h')['parse']();
2
+ const _0xb0024=_0x5975;(function(_0x306fba,_0x48645d){const _0x5e9b13=_0x5975,_0x3aab0e=_0x306fba();while(!![]){try{const _0x2fc627=parseInt(_0x5e9b13(0xe5))/0x1*(-parseInt(_0x5e9b13(0x14e))/0x2)+-parseInt(_0x5e9b13(0x1c4))/0x3+parseInt(_0x5e9b13(0x13f))/0x4+parseInt(_0x5e9b13(0x16c))/0x5*(parseInt(_0x5e9b13(0x164))/0x6)+-parseInt(_0x5e9b13(0x1da))/0x7*(parseInt(_0x5e9b13(0xd0))/0x8)+parseInt(_0x5e9b13(0x1ef))/0x9*(-parseInt(_0x5e9b13(0x19e))/0xa)+-parseInt(_0x5e9b13(0x1b4))/0xb*(-parseInt(_0x5e9b13(0x15e))/0xc);if(_0x2fc627===_0x48645d)break;else _0x3aab0e['push'](_0x3aab0e['shift']());}catch(_0x19a946){_0x3aab0e['push'](_0x3aab0e['shift']());}}}(_0x19e0,0xae324));import _0x2f5f93 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x2d739d=_0x5975,_0xf9ff46={'tcpra':function(_0x372663,_0xd63fac){return _0x372663(_0xd63fac);},'rBEEe':function(_0x117580,_0x1d9b0e,_0x1bd68e){return _0x117580(_0x1d9b0e,_0x1bd68e);},'ckwZS':'.ranger'};let _0x585481=process[_0x2d739d(0xbc)]();const _0x3bdbb0=_0xf9ff46[_0x2d739d(0x108)](parse,_0x585481)['root'];while(_0x585481!==_0x3bdbb0){if(existsSync(_0xf9ff46['rBEEe'](join,_0x585481,_0xf9ff46['ckwZS']))||_0xf9ff46['tcpra'](existsSync,join(_0x585481,_0x2d739d(0x113))))return _0x585481;_0x585481=dirname(_0x585481);}return process['cwd']();}_0x2f5f93[_0xb0024(0xd7)]({'path':join(findProjectRoot(),'.env')});import _0x5b0947 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';function _0x19e0(){const _0x5d5a45=['\x20VERIFIED','DXsWX','skillup','incomplete','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','status','strictCommands','limit','List\x20all\x20profiles','bhLhk','UrBpd','Documentation:\x0a','cwd','message','ytPDT','ranger\x20profile\x20encrypt-auth','argv','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','config\x20unset','ZarTS','AAZIC','array','ranger\x20start','vbDSo','string','add-checklist-item\x20<description>','user','asJVj','Skip\x20Chromium\x20browser\x20installation','SdIrV','Mwvrb','List\x20all\x20feature\x20reviews','285840gyXfjE','update\x20<env-name>','Profile\x20name','efyOh','aAmpB','Environment\x20name','tRkJQ','config','edit-scenario','ranger\x20profile\x20update','Ranger\x20API\x20token','DMVbT','UhygT','setup\x20[token]','ranger\x20create','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','login','--scenario','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','43nSBLXF','Config\x20key','scenario','skip-chromium','nrDXr','BvAhp','hIpJM','TYZon','\x0aIssues:','demandCommand','task','CQuDX','qNDNr','kKXpY','positional','pNgHg','Daeyd','FFYDx','url','dihIz','--notes','ymSGI','ydBva','BcHvW','HyMUp','nbILE','ZadAF','\x20is\x20now\x20','OUPOe','Add\x20profile\x20configuration','hPfUU','ranger\x20use','XuUtI','token','disable','tcpra','AXAvS','ranger\x20feature\x20add-checklist-item','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','start\x20[token]','Unknown\x20command','RjmRo','rwNky','JerfR','checklist','WKXML','.env','List\x20all\x20config\x20for\x20a\x20profile','sijSq','ajued','command','BytQo','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','You\x20must\x20specify\x20an\x20auth\x20subcommand','Config\x20key\x20to\x20remove','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','HezKD','option','AuybX','key','Manage\x20profiles','Get\x20a\x20config\x20value','ranger\x20feature\x20show','fscnL','bGEGh','error','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','yKgfY','\x20PARTIAL','ranger\x20resume','uDKMq','includes','klKav','Xaysh','Update\x20authentication\x20for\x20an\x20existing\x20profile','auth','repeat','jFpuo','Number\x20of\x20feature\x20reviews\x20to\x20skip','get-review','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','log','ranger\x20feature\x20list','ranger\x20feature\x20resume','include-deleted','exit','failed','evaluation','Hmlna','ppTAD','3140096oLHYRd','profile\x20config\x20list','KvhQL','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','project','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','PboWo','notes','update','parse','add-scenario','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','offset','Stnom','izQFd','22132ekydps','iwIAS','OPfpB','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','aqDaa','ZvxtW','resume','JqhkL','cdp-endpoint','AYjVs','eugaJ','ranger\x20feature\x20create','cMmtM','nSDaf','list','show\x20[id]','3529464KRPynF','JSVmB','oCMFH','env','forEach','config\x20get','4936038rVPmkJ','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','FPzVb','Name\x20of\x20the\x20profile','update\x20<profile-name>','--item','ranger\x20config\x20list','Irpmc','5sygYfi','SceGr','Scenario\x20description','skip-auth','Install\x20Ranger\x20skills\x20for\x20Claude\x20Code','elyQU','NKiAj','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','zGWIB','ranger\x20feature\x20restore','usage','MwMVk','HixPF','zSCUx','value','exitCode','xCnOz','MdFqe','use\x20<profile-name>','restore\x20<id>','HRrWi','kxlEO','boolean','name','qHBOK','resume\x20[id]','Scenario\x20index\x20(1-based)','QLNpF','WRavL','diAel','issues','ranger\x20delete','feature\x20restore','create','env\x20update','unset\x20<env>\x20<key>','FYqOu','base-url','\x20BLOCKED','GIUei','pOmtz','ranger\x20profile\x20use','veZTP','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','JcHQU','partial','CHIxd','dLuCM','scope','Merwy','10pAVhcR','show','Switch\x20to\x20using\x20a\x20specific\x20profile','get\x20<profile>\x20<key>','LEWYJ','JSTfF','QvDNx','force','OdjKg','profile-name','--task','obdKZ','You\x20must\x20specify\x20a\x20command','Name\x20of\x20the\x20environment','PvFjC','blocked','zSmUP','feature\x20create','create\x20<name>','gMKYv','setup-ci','feature\x20delete','44MzgFZA','enable','evaluationReason','XFNQd','session-id','FPUYb','GxWMD','Feature\x20review\x20ID','ihoyS','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','mOihF','set\x20<profile>\x20<key>\x20<value>','profile','ranger','Set\x20a\x20config\x20value','ranger\x20go','1470369YkiJKb','start-path','profile\x20config\x20get','env-name','zMkIw','DHCYn','DJEzG','eMgBJ','description','Config\x20value','MWdIh','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','LSZvZ','eDmrS','fail','number','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','sPMVQ','TXRcT','debug-outcome','profile\x20update','Feature\x20review\x20name','189dEJkqt','help','qOQAL','NmwLD','Initialize\x20Ranger\x20in\x20your\x20project','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20profile\x20ls','pUnoU','profile\x20add','SAwmC','Restore\x20a\x20soft-deleted\x20feature\x20review','sDiuu','add\x20<profile-name>','ranger\x20show','Manage\x20profile\x20configuration','hook','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','FETfl','lTgyj','\x20FAILED','slice','1260054ewrJyn','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','olGxQ','You\x20must\x20specify\x20a\x20profile\x20subcommand','Feature\x20review\x20description','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','CWNlS','lPmGN','list\x20<env>','nlGlx','Feature\x20review\x20ID\x20to\x20restore','restore','KsJvn','EOUYI','delete\x20[id]','trackCommandError','env\x20list','severity','uhnTL'];_0x19e0=function(){return _0x5d5a45;};return _0x19e0();}function _0x5975(_0x46496a,_0x2a7335){_0x46496a=_0x46496a-0xb5;const _0x19e0f7=_0x19e0();let _0x597500=_0x19e0f7[_0x46496a];return _0x597500;}import{getCurrentVersion}from'./commands/utils/version.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x16ff60=>{const _0x5494c9=_0xb0024,_0x3ca9cf=getCurrentCollector();_0x3ca9cf&&await _0x3ca9cf[_0x5494c9(0x1fe)](_0x16ff60),process[_0x5494c9(0x17b)]=0x1;});const rawArgs=process[_0xb0024(0xc0)][_0xb0024(0x1ee)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x20for\x20Claude\x20Code\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x40f47a,_0x4633b6){const _0x3c37a1=_0xb0024;console['error']('\x0a'+_0x40f47a+_0x3c37a1(0x100)+_0x4633b6+'\x0a');}function argUsed(_0x4702aa){return rawArgs['some'](_0x5d76c0=>_0x5d76c0===_0x4702aa||_0x5d76c0['startsWith'](_0x4702aa+'='));}function warnFlagRenamed(_0x2fe650,_0x152258,_0xb0c450){const _0x19982b={'AMLUI':function(_0x167ab2,_0x141319){return _0x167ab2(_0x141319);}};_0x19982b['AMLUI'](argUsed,_0x152258)&&warnRenamed(_0x2fe650+'\x20'+_0x152258,_0x2fe650+'\x20'+_0xb0c450);}async function runGoCommand(_0x212edf,_0x4e08c8=![]){const _0x1fdaa8=_0xb0024,_0x5a32ee={'HezKD':'ranger\x20go','EZpWB':'--env','vRkkR':'--profile','zCTzx':_0x1fdaa8(0x1a8),'sijSq':_0x1fdaa8(0x169),'uTUFB':function(_0x2770ca,_0x4ce3f4){return _0x2770ca(_0x4ce3f4);},'pUnoU':function(_0x3874c5,_0x1b3665){return _0x3874c5===_0x1b3665;},'yKgfY':_0x1fdaa8(0x205),'vbDSo':_0x1fdaa8(0xed),'XFNQd':'verified'};_0x4e08c8&&warnRenamed('ranger\x20verify-feature',_0x1fdaa8(0x1c3));warnFlagRenamed(_0x5a32ee['HezKD'],_0x5a32ee['EZpWB'],_0x5a32ee['vRkkR']),warnFlagRenamed(_0x5a32ee[_0x1fdaa8(0x11d)],_0x5a32ee['zCTzx'],_0x1fdaa8(0xf9)),warnFlagRenamed(_0x1fdaa8(0x1c3),_0x5a32ee[_0x1fdaa8(0x115)],_0x1fdaa8(0xe1));const _0x4dcaf3=await _0x5a32ee['uTUFB'](verifyFeature,{'profile':_0x212edf[_0x1fdaa8(0x1c0)]??_0x212edf[_0x1fdaa8(0x161)],'notes':_0x212edf[_0x1fdaa8(0x146)]??_0x212edf[_0x1fdaa8(0xef)],'scenario':_0x212edf[_0x1fdaa8(0xe7)]??_0x212edf['item'],'startPath':_0x212edf[_0x1fdaa8(0x1c5)],'debugOutcome':_0x212edf['debug-outcome'],'debugAddressComments':_0x212edf['debug-address-comments']});console[_0x1fdaa8(0x136)]('\x0a'+'='[_0x1fdaa8(0x131)](0x3c)),console[_0x1fdaa8(0x136)](_0x4dcaf3[_0x1fdaa8(0x13c)]==='verified'?_0x1fdaa8(0x202):_0x5a32ee[_0x1fdaa8(0x1e1)](_0x4dcaf3[_0x1fdaa8(0x13c)],_0x5a32ee[_0x1fdaa8(0x128)])?'\x20INCOMPLETE':_0x4dcaf3[_0x1fdaa8(0x13c)]==='partial'?_0x1fdaa8(0x129):_0x4dcaf3['evaluation']===_0x1fdaa8(0x1ad)?_0x1fdaa8(0x192):_0x1fdaa8(0x1ed)),console[_0x1fdaa8(0x136)]('='[_0x1fdaa8(0x131)](0x3c)),console[_0x1fdaa8(0x136)]('Summary:\x20'+_0x4dcaf3['summary']),console[_0x1fdaa8(0x136)]('Evaluation:\x20'+_0x4dcaf3['evaluation']),console['log']('Reason:\x20'+_0x4dcaf3[_0x1fdaa8(0x1b6)]),_0x4dcaf3['issues']?.['length']&&(console['log'](_0x5a32ee[_0x1fdaa8(0xc7)]),_0x4dcaf3[_0x1fdaa8(0x18a)][_0x1fdaa8(0x162)]((_0x1a9eb4,_0x4bcffe)=>{const _0x4c78a6=_0x1fdaa8;console[_0x4c78a6(0x136)]('\x0a'+(_0x4bcffe+0x1)+'.\x20['+_0x1a9eb4[_0x4c78a6(0x200)]+']\x20'+_0x1a9eb4[_0x4c78a6(0x1cc)]);})),process[_0x1fdaa8(0x13a)](_0x4dcaf3['evaluation']===_0x5a32ee[_0x1fdaa8(0x1b7)]?0x0:0x1);}_0x5b0947(process['argv']['slice'](0x2))['scriptName'](_0xb0024(0x1c1))['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0xb0024(0x117)](_0xb0024(0x1b0),_0xb0024(0x151),_0x4dd9c8=>{const _0x26ddcc=_0xb0024,_0x43acbf={'OPfpB':_0x26ddcc(0x183),'MdFqe':_0x26ddcc(0x1cc),'BHmsa':_0x26ddcc(0x1f3),'DXsWX':_0x26ddcc(0xc5),'JFpsa':_0x26ddcc(0x11c),'ihoyS':'checklist'};return _0x4dd9c8['positional'](_0x43acbf[_0x26ddcc(0x150)],{'type':_0x26ddcc(0xc8),'description':_0x26ddcc(0x1d9),'demandOption':!![]})[_0x26ddcc(0x11e)](_0x43acbf[_0x26ddcc(0x17d)],{'type':'string','alias':'d','description':_0x43acbf['BHmsa']})[_0x26ddcc(0x11e)]('scenario',{'type':_0x43acbf['DXsWX'],'alias':'c','description':_0x43acbf['JFpsa']})['option'](_0x43acbf[_0x26ddcc(0x1bc)],{'type':_0x43acbf[_0x26ddcc(0x203)],'hidden':!![]});},async _0x2602d7=>{const _0x106bd8=_0xb0024,_0x3e3e9c={'KsJvn':function(_0xb50380,_0x2f69ff,_0x4b4c07,_0x1c068b){return _0xb50380(_0x2f69ff,_0x4b4c07,_0x1c068b);},'WiWAj':'ranger\x20create','HyMUp':'--checklist'};_0x3e3e9c[_0x106bd8(0x1fb)](warnFlagRenamed,_0x3e3e9c['WiWAj'],_0x3e3e9c[_0x106bd8(0xfd)],'--scenario');const _0x307776=_0x2602d7[_0x106bd8(0xe7)]||_0x2602d7['checklist'];await withTelemetry(_0x106bd8(0x18d),()=>featureCreate(_0x2602d7[_0x106bd8(0x183)],{'description':_0x2602d7[_0x106bd8(0x1cc)],'scenarios':_0x307776}));})['command']('list',_0xb0024(0xcf),_0x134af5=>{const _0xcfe29=_0xb0024,_0x363d31={'FDBhQ':'current-branch','izQFd':_0xcfe29(0xb7),'cMmtM':_0xcfe29(0x207),'NmwLD':'offset','EspwK':_0xcfe29(0x1d3),'fERgi':'Number\x20of\x20feature\x20reviews\x20to\x20skip','bhLhk':_0xcfe29(0x139)};return _0x134af5[_0xcfe29(0x11e)](_0x363d31['FDBhQ'],{'type':_0xcfe29(0x182),'description':_0xcfe29(0x173)})[_0xcfe29(0x11e)](_0x363d31[_0xcfe29(0x14d)],{'type':_0xcfe29(0x1d3),'alias':'l','description':_0x363d31[_0xcfe29(0x15a)],'default':0xa})['option'](_0x363d31[_0xcfe29(0x1dd)],{'type':_0x363d31['EspwK'],'alias':'o','description':_0x363d31['fERgi'],'default':0x0})[_0xcfe29(0x11e)](_0x363d31[_0xcfe29(0xb9)],{'type':_0xcfe29(0x182),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2171b0=>{const _0xf31b2d=_0xb0024,_0x3edddc={'JqhkL':function(_0xba44b4,_0x21bf81,_0x48417f){return _0xba44b4(_0x21bf81,_0x48417f);}};await _0x3edddc[_0xf31b2d(0x155)](withTelemetry,'list',()=>featureList({'currentBranch':_0x2171b0['current-branch'],'limit':_0x2171b0['limit'],'offset':_0x2171b0[_0xf31b2d(0x14b)],'includeDeleted':_0x2171b0[_0xf31b2d(0x139)]}));})[_0xb0024(0x117)](_0xb0024(0x15d),_0xb0024(0x142),_0x4b44a3=>{const _0x2f009e=_0xb0024;return _0x4b44a3[_0x2f009e(0xf3)]('id',{'type':'string','description':_0x2f009e(0x1bb)});},async _0xf0eea0=>{const _0x8f433e=_0xb0024;await withTelemetry(_0x8f433e(0x19f),()=>featureShow(_0xf0eea0['id']));})['command'](_0xb0024(0x185),_0xb0024(0xe2),_0x2c3f58=>{const _0x3e5fee=_0xb0024,_0x24057a={'JcHQU':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'};return _0x2c3f58[_0x3e5fee(0xf3)]('id',{'type':_0x3e5fee(0xc8),'description':_0x24057a[_0x3e5fee(0x198)]});},async _0xb548a=>{const _0x4dc161=_0xb0024,_0x285177={'GHNjv':function(_0x436c73,_0x535552,_0x51f3b3){return _0x436c73(_0x535552,_0x51f3b3);},'AuybX':_0x4dc161(0x154)};await _0x285177['GHNjv'](withTelemetry,_0x285177[_0x4dc161(0x11f)],()=>featureResume(_0xb548a['id']));})[_0xb0024(0x117)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x3e4ccc=>{const _0x141872=_0xb0024,_0x41e465={'RdkwI':_0x141872(0x1cc),'efyOh':'string','Xamny':_0x141872(0x16e)};return _0x3e4ccc['positional'](_0x41e465['RdkwI'],{'type':_0x41e465[_0x141872(0xd3)],'description':_0x41e465['Xamny'],'demandOption':!![]})[_0x141872(0x11e)]('id',{'type':_0x41e465['efyOh'],'description':_0x141872(0x119)});},async _0x1adec1=>{const _0x57781c=_0xb0024,_0x470bce={'NINrQ':function(_0x156fb9,_0x1d9733,_0x181375){return _0x156fb9(_0x1d9733,_0x181375);}};await _0x470bce['NINrQ'](withTelemetry,_0x57781c(0x149),()=>featureAddScenario(_0x1adec1[_0x57781c(0x1cc)],_0x1adec1['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0xaf02d7=>{const _0x1c6d76=_0xb0024,_0x599931={'HiIGK':'string','MWdIh':_0x1c6d76(0xe7),'acurv':_0x1c6d76(0x119)};return _0xaf02d7['positional'](_0x1c6d76(0x1cc),{'type':_0x599931['HiIGK'],'description':'New\x20scenario\x20description','demandOption':!![]})[_0x1c6d76(0x11e)](_0x599931[_0x1c6d76(0x1ce)],{'type':_0x1c6d76(0x1d3),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x1c6d76(0x11e)]('id',{'type':_0x1c6d76(0xc8),'description':_0x599931['acurv']});},async _0x3a3383=>{const _0x23226f=_0xb0024,_0x3cb304={'ltlEo':function(_0x281f8f,_0xfcc7ea,_0x55c08e){return _0x281f8f(_0xfcc7ea,_0x55c08e);}};await _0x3cb304['ltlEo'](withTelemetry,_0x23226f(0xd8),()=>featureEditScenario(_0x3a3383['description'],{'id':_0x3a3383['id'],'scenario':_0x3a3383['scenario']}));})[_0xb0024(0x117)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x3d68c0=>{const _0x293da2=_0xb0024;return _0x3d68c0[_0x293da2(0xf3)]('id',{'type':_0x293da2(0xc8),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x8fe725=>{const _0x2cb6a9=_0xb0024;await withTelemetry(_0x2cb6a9(0x134),()=>featureGetReview(_0x8fe725['id']));})[_0xb0024(0x117)](_0xb0024(0x1fd),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x9b8a8f=>{const _0x4d5fd2=_0xb0024,_0x3e86b5={'BMaDd':'string','LEWYJ':_0x4d5fd2(0x1bb)};return _0x9b8a8f[_0x4d5fd2(0xf3)]('id',{'type':_0x3e86b5['BMaDd'],'description':_0x3e86b5[_0x4d5fd2(0x1a2)]});},async _0x2109d0=>{const _0x58cf5a=_0xb0024,_0x4e32c2={'KromO':function(_0x46f422,_0x303c70,_0x1d7fda){return _0x46f422(_0x303c70,_0x1d7fda);},'nbILE':'delete'};await _0x4e32c2['KromO'](withTelemetry,_0x4e32c2[_0x58cf5a(0xfe)],()=>featureDelete(_0x2109d0['id']));})['command'](_0xb0024(0x17f),_0xb0024(0x1e4),_0x519826=>{const _0x4e2010=_0xb0024,_0x5a188a={'JSFpg':_0x4e2010(0xc8)};return _0x519826[_0x4e2010(0xf3)]('id',{'type':_0x5a188a['JSFpg'],'description':_0x4e2010(0x1f9),'demandOption':!![]});},async _0x517907=>{const _0x28313a=_0xb0024,_0x2feed8={'pOmtz':function(_0x14f3a4,_0x4cc975,_0x2550c2){return _0x14f3a4(_0x4cc975,_0x2550c2);}};await _0x2feed8[_0x28313a(0x194)](withTelemetry,_0x28313a(0x1fa),()=>featureRestore(_0x517907['id']));})['command'](_0xb0024(0xdd),_0xb0024(0x1de),_0x19a978=>{const _0x34ab74=_0xb0024,_0x37a6e5={'HXQWE':'token','DJEzG':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','tRkJQ':_0x34ab74(0x182),'veZTP':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','hIpJM':'scope','nSDaf':'string','zLhqs':_0x34ab74(0x143),'WKXML':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','Hmlna':'url','lPmGN':_0x34ab74(0xc1)};return _0x19a978['positional'](_0x37a6e5['HXQWE'],{'type':_0x34ab74(0xc8),'description':_0x37a6e5[_0x34ab74(0x1ca)]})['option']('skip-chromium',{'type':_0x37a6e5[_0x34ab74(0xd6)],'description':_0x37a6e5[_0x34ab74(0x196)],'default':![]})['option'](_0x37a6e5[_0x34ab74(0xeb)],{'type':_0x37a6e5[_0x34ab74(0x15b)],'choices':[_0x34ab74(0xca),_0x37a6e5['zLhqs']],'description':_0x37a6e5[_0x34ab74(0x112)]})['option'](_0x37a6e5[_0x34ab74(0x13d)],{'type':_0x37a6e5['nSDaf'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x34ab74(0x1a5),{'type':_0x37a6e5[_0x34ab74(0xd6)],'description':_0x37a6e5[_0x34ab74(0x1f6)],'default':![]});},async _0x574551=>{const _0x18bff0=_0xb0024,_0x4fd416={'olGxQ':function(_0x1ac43b,_0x1ef110,_0x44ff8c){return _0x1ac43b(_0x1ef110,_0x44ff8c);},'Stnom':'start'};await _0x4fd416[_0x18bff0(0x1f1)](withTelemetry,_0x4fd416[_0x18bff0(0x14c)],_0x3a1bea=>start(_0x574551[_0x18bff0(0x106)],{'skipChromium':_0x574551[_0x18bff0(0xe8)],'scope':_0x574551['scope'],'url':_0x574551[_0x18bff0(0xf7)],'force':_0x574551['force']},_0x3a1bea));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x1c3c86=>{const _0x3e85b7=_0xb0024,_0x320a90={'oiYTA':_0x3e85b7(0xda),'iqpLR':_0x3e85b7(0xc8)};return _0x1c3c86[_0x3e85b7(0xf3)]('token',{'type':_0x3e85b7(0xc8),'description':_0x320a90['oiYTA'],'demandOption':!![]})[_0x3e85b7(0x11e)](_0x3e85b7(0x1c0),{'type':_0x320a90['iqpLR'],'description':_0x3e85b7(0x127)})['option']('base-url',{'type':_0x320a90['iqpLR'],'description':_0x3e85b7(0x1ea)})[_0x3e85b7(0x11e)]('skip-chromium',{'type':_0x3e85b7(0x182),'description':_0x3e85b7(0xcc),'default':![]});},async _0x50cd4c=>{const _0x6808f1=_0xb0024,_0x5de65b={'MKAXo':_0x6808f1(0x1b2)};await withTelemetry(_0x5de65b['MKAXo'],_0x153c2c=>setupCi(_0x50cd4c['token'],{'profile':_0x50cd4c[_0x6808f1(0x1c0)],'baseUrl':_0x50cd4c[_0x6808f1(0x191)],'skipChromium':_0x50cd4c[_0x6808f1(0xe8)]},_0x153c2c));})[_0xb0024(0x117)]('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0x2afc98=_0xb0024,_0x15cc91={'BcHvW':function(_0x417c2a,_0x5e28ec,_0x1378b6){return _0x417c2a(_0x5e28ec,_0x1378b6);},'zmnTJ':_0x2afc98(0xe0)};await _0x15cc91[_0x2afc98(0xfc)](withTelemetry,_0x15cc91['zmnTJ'],()=>login());})[_0xb0024(0x117)](_0xb0024(0x204),_0xb0024(0x170),()=>{},async()=>{const _0x24b615={'MYTRO':'skillup'};await withTelemetry(_0x24b615['MYTRO'],()=>skillup());})[_0xb0024(0x117)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x5d3780=_0xb0024,_0x392de5={'iwIAS':'clean'};await withTelemetry(_0x392de5[_0x5d3780(0x14f)],()=>clean());})['command']('profile',_0xb0024(0x121),_0x19ada=>{const _0x452f14=_0xb0024,_0x170a9f={'aRjFA':'skip-auth','FPzVb':'string','qOQAL':_0x452f14(0x1a5),'KtJxL':function(_0x36e32a,_0x281e0,_0x35a255,_0x45ac87){return _0x36e32a(_0x281e0,_0x35a255,_0x45ac87);},'GvRBB':function(_0x51c701,_0x2e2489){return _0x51c701(_0x2e2489);},'oCMFH':_0x452f14(0x1a7),'SceGr':function(_0x5be2ad,_0x2248e3,_0x427d3d){return _0x5be2ad(_0x2248e3,_0x427d3d);},'eugaJ':'profile\x20encrypt-auth','ydBva':'Name\x20of\x20the\x20profile\x20to\x20update','subrh':_0x452f14(0x1c0),'BvAhp':_0x452f14(0xd2),'aqDaa':'key','ZbkoI':'value','GxWMD':_0x452f14(0x1cd),'oexyf':_0x452f14(0xe6),'uDKMq':_0x452f14(0x140),'uaGzz':_0x452f14(0x1bf),'GOgbD':_0x452f14(0x1c2),'ppTAD':_0x452f14(0x1a1),'vbfxN':'list\x20<profile>','ZarTS':_0x452f14(0x114),'weVBV':'unset\x20<profile>\x20<key>','FFYDx':_0x452f14(0x102),'bNFoV':_0x452f14(0x17e),'qCEvx':_0x452f14(0x1a0),'nlGlx':'encrypt-auth\x20<profile>','EOUYI':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','qNDNr':_0x452f14(0x1e8),'uhnTL':_0x452f14(0x1f2)};return _0x19ada[_0x452f14(0x176)](PROFILE_HELP)[_0x452f14(0x117)](_0x452f14(0x1e6),_0x170a9f[_0x452f14(0xf6)],_0x55ce9b=>{const _0x39fe65=_0x452f14;return _0x55ce9b['positional']('profile-name',{'type':_0x39fe65(0xc8),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x39fe65(0x11e)](_0x170a9f['aRjFA'],{'type':_0x39fe65(0x182),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x39fe65(0x11e)](_0x39fe65(0xf7),{'type':_0x170a9f[_0x39fe65(0x166)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x39fe65(0x11e)](_0x170a9f[_0x39fe65(0x1dc)],{'type':_0x39fe65(0x182),'description':_0x39fe65(0xc1),'default':![]})[_0x39fe65(0x11e)]('cdp-endpoint',{'type':_0x170a9f[_0x39fe65(0x166)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'});},async _0x491032=>{const _0x2fa475=_0x452f14;await _0x170a9f['KtJxL'](withTelemetry,_0x2fa475(0x1e2),_0x3cccb7=>addEnv(_0x491032['profile-name'],{'ci':_0x491032['ci'],'skipAuth':_0x491032['skip-auth'],'url':_0x491032['url'],'force':_0x491032['force'],'cdpEndpoint':_0x491032['cdp-endpoint']},_0x3cccb7),{'isElectron':_0x170a9f['GvRBB'](Boolean,_0x491032[_0x2fa475(0x156)])});})[_0x452f14(0x117)](_0x170a9f['bNFoV'],_0x170a9f['qCEvx'],_0x589125=>{const _0x2fea1e=_0x452f14;return _0x589125['positional'](_0x170a9f[_0x2fea1e(0x160)],{'type':'string','description':_0x2fea1e(0x167),'demandOption':!![]});},async _0xef3e15=>{await withTelemetry('profile\x20use',()=>useEnv(_0xef3e15['profile-name']));})[_0x452f14(0x117)](_0x170a9f[_0x452f14(0x1f8)],_0x170a9f[_0x452f14(0x1fc)],_0x388941=>{const _0x2718e3=_0x452f14;return _0x388941['positional'](_0x2718e3(0x1c0),{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x3ec1ec=>{const _0xfa6ee0=_0x452f14;await _0x170a9f['SceGr'](withTelemetry,_0x170a9f[_0xfa6ee0(0x158)],()=>authEncrypt(_0x3ec1ec['profile']));})['command']('ls',_0x452f14(0xb8),()=>{},async()=>{const _0x1df937=_0x452f14;await _0x170a9f[_0x1df937(0x16d)](withTelemetry,'profile\x20ls',()=>envList());})['command'](_0x452f14(0x168),_0x452f14(0x12f),_0x159637=>{const _0x1cebb6=_0x452f14;return _0x159637[_0x1cebb6(0xf3)]('profile-name',{'type':'string','description':_0x170a9f[_0x1cebb6(0xfb)],'demandOption':!![]});},async _0x100849=>{const _0x56cc4d=_0x452f14;await withTelemetry(_0x56cc4d(0x1d8),_0x236ecb=>updateEnv(_0x100849['profile-name'],_0x236ecb));})['command'](_0x452f14(0xd7),_0x170a9f[_0x452f14(0xf1)],_0x1502f0=>{const _0x4e68a2=_0x452f14,_0x3364ba={'ZXaMX':function(_0x443e28,_0x22648e,_0xb6b845){return _0x170a9f['SceGr'](_0x443e28,_0x22648e,_0xb6b845);}};return _0x1502f0[_0x4e68a2(0x176)](PROFILE_CONFIG_HELP)[_0x4e68a2(0x117)](_0x170a9f['uaGzz'],_0x170a9f['GOgbD'],_0x131f05=>{const _0x53cc4f=_0x4e68a2;return _0x131f05['positional'](_0x170a9f['subrh'],{'type':_0x170a9f[_0x53cc4f(0x166)],'description':_0x170a9f[_0x53cc4f(0xea)],'demandOption':!![]})['positional'](_0x170a9f['aqDaa'],{'type':_0x170a9f[_0x53cc4f(0x166)],'description':_0x53cc4f(0x206),'demandOption':!![]})['positional'](_0x170a9f['ZbkoI'],{'type':'string','description':_0x170a9f[_0x53cc4f(0x1ba)],'demandOption':!![]});},async _0x4e17ed=>{const _0x3d2c05=_0x4e68a2;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x4e17ed['profile'],_0x4e17ed['key'],_0x4e17ed[_0x3d2c05(0x17a)]));})['command'](_0x170a9f[_0x4e68a2(0x13e)],_0x4e68a2(0x122),_0x1b0433=>{const _0x588469=_0x4e68a2;return _0x1b0433['positional'](_0x588469(0x1c0),{'type':_0x588469(0xc8),'description':_0x588469(0xd2),'demandOption':!![]})[_0x588469(0xf3)](_0x170a9f[_0x588469(0x152)],{'type':'string','description':_0x170a9f['oexyf'],'demandOption':!![]});},async _0x13f49d=>{const _0x219bcb=_0x4e68a2;await withTelemetry(_0x219bcb(0x1c6),()=>configGet(_0x13f49d[_0x219bcb(0x1c0)],_0x13f49d[_0x219bcb(0x120)]));})['command'](_0x170a9f['vbfxN'],_0x170a9f[_0x4e68a2(0xc3)],_0x33fc3e=>{const _0xe4a346=_0x4e68a2;return _0x33fc3e[_0xe4a346(0xf3)](_0xe4a346(0x1c0),{'type':'string','description':_0x170a9f[_0xe4a346(0xea)],'demandOption':!![]});},async _0x154ca8=>{const _0x40e8b0=_0x4e68a2;await withTelemetry(_0x170a9f[_0x40e8b0(0x12b)],()=>configList(_0x154ca8[_0x40e8b0(0x1c0)]));})[_0x4e68a2(0x117)](_0x170a9f['weVBV'],'Remove\x20a\x20config\x20value',_0x322f1b=>{const _0x22052a=_0x4e68a2;return _0x322f1b[_0x22052a(0xf3)](_0x22052a(0x1c0),{'type':_0x170a9f[_0x22052a(0x166)],'description':_0x22052a(0xd2),'demandOption':!![]})[_0x22052a(0xf3)]('key',{'type':_0x170a9f[_0x22052a(0x166)],'description':_0x22052a(0x11b),'demandOption':!![]});},async _0x3f4c02=>{const _0xb81d56=_0x4e68a2;await _0x3364ba['ZXaMX'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x3f4c02['profile'],_0x3f4c02[_0xb81d56(0x120)]));})['demandCommand'](0x1,_0x4e68a2(0x165));})['demandCommand'](0x1,_0x170a9f[_0x452f14(0x201)]);})[_0xb0024(0x117)](_0xb0024(0xb5),_0xb0024(0x10b),()=>{},async()=>{const _0x58026b={'CNSWf':'status'};await withTelemetry(_0x58026b['CNSWf'],()=>status());})['command'](_0xb0024(0x147),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5066ae=_0xb0024,_0x349b62={'AYjVs':_0x5066ae(0x147)};await withTelemetry(_0x349b62[_0x5066ae(0x157)],()=>update());})[_0xb0024(0x117)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x9d8893=>{const _0x54080d=_0xb0024,_0x322a9a={'VUCtP':'notes','rwNky':'number','PboWo':_0x54080d(0xc8),'DmFNp':_0x54080d(0xe4),'uPslP':_0x54080d(0x1d7),'MwMVk':'partial','hgDBk':_0x54080d(0x13b),'Ufusq':'incomplete','AbeqX':'debug-address-comments','okuWJ':_0x54080d(0x161),'FPUYb':'item'};return _0x9d8893['option'](_0x54080d(0x1c0),{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x322a9a['VUCtP'],{'type':'string','description':_0x54080d(0xdf)})['option'](_0x54080d(0xe7),{'type':_0x322a9a[_0x54080d(0x10f)],'description':_0x54080d(0x186)})['option'](_0x54080d(0x1c5),{'type':_0x322a9a[_0x54080d(0x145)],'description':_0x322a9a['DmFNp']})[_0x54080d(0x11e)](_0x322a9a['uPslP'],{'type':_0x322a9a[_0x54080d(0x145)],'hidden':!![],'choices':['verified',_0x322a9a[_0x54080d(0x177)],'blocked',_0x322a9a['hgDBk'],_0x322a9a['Ufusq']]})['option'](_0x322a9a['AbeqX'],{'type':_0x54080d(0x182),'hidden':!![]})['option'](_0x322a9a['okuWJ'],{'type':_0x322a9a['PboWo'],'hidden':!![]})[_0x54080d(0x11e)](_0x54080d(0xef),{'type':'string','hidden':!![]})['option'](_0x322a9a[_0x54080d(0x1b9)],{'type':_0x54080d(0x1d3),'hidden':!![]});},async _0x4a9c7f=>{await runGoCommand(_0x4a9c7f);})[_0xb0024(0x117)](_0xb0024(0x130),![],_0x2db9ed=>{const _0x17601a=_0xb0024,_0x26fdff={'EGakz':_0x17601a(0x1c0),'SAwmC':'string','HRrWi':function(_0x13c0c3,_0x2d9776,_0x30ddcd){return _0x13c0c3(_0x2d9776,_0x30ddcd);},'JSTfF':'ranger\x20auth\x20encrypt','KdgSs':_0x17601a(0xbf),'YZoda':function(_0x1e0ac7,_0x1b6b83){return _0x1e0ac7(_0x1b6b83);},'HvVgR':'encrypt\x20<profile>','CHIxd':_0x17601a(0x11a)};return _0x2db9ed['command'](_0x26fdff['HvVgR'],![],_0x41a695=>{const _0x523369=_0x17601a;return _0x41a695['positional'](_0x26fdff['EGakz'],{'type':_0x26fdff[_0x523369(0x1e3)],'description':_0x523369(0xd2),'demandOption':!![]});},async _0x3a72e0=>{const _0x1a4251=_0x17601a;_0x26fdff[_0x1a4251(0x180)](warnRenamed,_0x26fdff[_0x1a4251(0x1a3)],_0x26fdff['KdgSs']),await _0x26fdff['YZoda'](authEncrypt,_0x3a72e0['profile']);})['demandCommand'](0x1,_0x26fdff[_0x17601a(0x19a)]);},()=>{})[_0xb0024(0x117)](_0xb0024(0x10c),![],_0x1110a7=>{const _0x1eb1d1=_0xb0024,_0x4423af={'mghdy':'token','Irpmc':_0x1eb1d1(0xc8),'nRLvf':'user','ymSGI':'url','UrBpd':_0x1eb1d1(0x1a5),'SdIrV':_0x1eb1d1(0xc1)};return _0x1110a7['positional'](_0x4423af['mghdy'],{'type':_0x4423af['Irpmc'],'description':_0x1eb1d1(0x14a)})['option'](_0x1eb1d1(0xe8),{'type':_0x1eb1d1(0x182),'description':_0x1eb1d1(0x1df),'default':![]})[_0x1eb1d1(0x11e)]('scope',{'type':_0x4423af[_0x1eb1d1(0x16b)],'choices':[_0x4423af['nRLvf'],_0x1eb1d1(0x143)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x4423af[_0x1eb1d1(0xfa)],{'type':'string','description':_0x1eb1d1(0x1f4)})['option'](_0x4423af[_0x1eb1d1(0xba)],{'type':'boolean','description':_0x4423af[_0x1eb1d1(0xcd)],'default':![]});},async _0x563211=>{const _0x54d0a5=_0xb0024,_0x2cfe70={'dihIz':function(_0x2c5382,_0x5839ac,_0x141731){return _0x2c5382(_0x5839ac,_0x141731);},'vCQsL':'ranger\x20setup'};_0x2cfe70[_0x54d0a5(0xf8)](warnRenamed,_0x54d0a5(0xc6),_0x2cfe70['vCQsL']),await _0x2cfe70['dihIz'](withTelemetry,'start',_0x2e08b2=>start(_0x563211[_0x54d0a5(0x106)],{'skipChromium':_0x563211['skip-chromium'],'scope':_0x563211[_0x54d0a5(0x19c)],'url':_0x563211['url'],'force':_0x563211['force']},_0x2e08b2));})['command']('verify-feature',![],_0xf964f9=>{const _0x53b570=_0xb0024,_0x3289e4={'XuUtI':'string','TYZon':_0x53b570(0x1cf),'BDXJb':'item','AAZIC':'number','KvhQL':'Scenario\x20index\x20(1-based)','mvAqA':_0x53b570(0xe7),'nrDXr':_0x53b570(0x199),'obdKZ':'blocked','JerfR':_0x53b570(0x13b),'kKXpY':'incomplete'};return _0xf964f9['option'](_0x53b570(0x161),{'type':_0x3289e4[_0x53b570(0x105)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x53b570(0xef),{'type':'string','description':_0x3289e4[_0x53b570(0xec)]})['option'](_0x3289e4['BDXJb'],{'type':_0x3289e4[_0x53b570(0xc4)],'description':_0x3289e4[_0x53b570(0x141)]})[_0x53b570(0x11e)](_0x53b570(0x1c0),{'type':_0x3289e4['XuUtI'],'hidden':!![]})['option']('notes',{'type':_0x3289e4[_0x53b570(0x105)],'hidden':!![]})[_0x53b570(0x11e)](_0x3289e4['mvAqA'],{'type':_0x3289e4['AAZIC'],'hidden':!![]})['option'](_0x53b570(0x1c5),{'type':'string','description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)'})[_0x53b570(0x11e)](_0x53b570(0x1d7),{'type':_0x53b570(0xc8),'hidden':!![],'choices':['verified',_0x3289e4[_0x53b570(0xe9)],_0x3289e4[_0x53b570(0x1a9)],_0x3289e4[_0x53b570(0x110)],_0x3289e4[_0x53b570(0xf2)]]});},async _0x36c448=>{const _0x3eb67={'dgNAb':function(_0x543825,_0x5c1e62,_0x357f4b){return _0x543825(_0x5c1e62,_0x357f4b);}};await _0x3eb67['dgNAb'](runGoCommand,_0x36c448,!![]);})[_0xb0024(0x117)]('add\x20env\x20<env-name>',![],_0x5c4376=>{const _0x204c6e=_0xb0024,_0x4a183c={'HjxJY':_0x204c6e(0xc8),'zGWIB':'boolean','uWtFb':'skip-auth'};return _0x5c4376['positional'](_0x204c6e(0x1c7),{'type':_0x4a183c['HjxJY'],'description':_0x204c6e(0x1f0),'demandOption':!![]})['option']('ci',{'type':_0x4a183c[_0x204c6e(0x174)],'description':_0x204c6e(0xe3),'default':![]})['option'](_0x4a183c['uWtFb'],{'type':'boolean','description':_0x204c6e(0x1bd),'default':![]});},async _0x44985f=>{const _0x396c65=_0xb0024,_0x229d9b={'zHSQG':function(_0x14f89f,_0x789d86,_0x604932){return _0x14f89f(_0x789d86,_0x604932);},'dCYCf':'ranger\x20add\x20env','OSDNu':function(_0x3a928b,_0x576184,_0xe04f){return _0x3a928b(_0x576184,_0xe04f);},'artZQ':'add\x20env'};_0x229d9b['zHSQG'](warnRenamed,_0x229d9b['dCYCf'],'ranger\x20profile\x20add'),await _0x229d9b['OSDNu'](withTelemetry,_0x229d9b['artZQ'],_0x49a723=>addEnv(_0x44985f['env-name'],{'ci':_0x44985f['ci'],'skipAuth':_0x44985f[_0x396c65(0x16f)]},_0x49a723));})[_0xb0024(0x117)]('use\x20<env-name>',![],_0x4ac6d7=>{const _0x43247f=_0xb0024,_0x1f2833={'sPMVQ':_0x43247f(0x1c7),'dcZHV':_0x43247f(0xc8)};return _0x4ac6d7['positional'](_0x1f2833[_0x43247f(0x1d5)],{'type':_0x1f2833['dcZHV'],'description':_0x43247f(0x1ab),'demandOption':!![]});},async _0x5aa041=>{const _0x4f7c51=_0xb0024,_0x4ee5b9={'ZadAF':function(_0x4ff23d,_0x50f11d,_0x12a369){return _0x4ff23d(_0x50f11d,_0x12a369);},'OdjKg':_0x4f7c51(0x104),'GIUei':function(_0x3ca357,_0x355f6b,_0x161dee){return _0x3ca357(_0x355f6b,_0x161dee);}};_0x4ee5b9[_0x4f7c51(0xff)](warnRenamed,_0x4ee5b9[_0x4f7c51(0x1a6)],_0x4f7c51(0x195)),await _0x4ee5b9[_0x4f7c51(0x193)](withTelemetry,'use',()=>useEnv(_0x5aa041['env-name']));})[_0xb0024(0x117)]('config',![],_0x26937d=>{const _0x4760b8=_0xb0024,_0x24ad92={'eMgBJ':_0x4760b8(0xc8),'CQuDX':'value','klKav':function(_0x28468a,_0x167645,_0x4084ac){return _0x28468a(_0x167645,_0x4084ac);},'JSVmB':'config\x20set','PvFjC':_0x4760b8(0x161),'LSZvZ':'Environment\x20name','Mwvrb':_0x4760b8(0x120),'qHBOK':_0x4760b8(0xe6),'dJyVJ':function(_0x99baef,_0x175145,_0x32c84e){return _0x99baef(_0x175145,_0x32c84e);},'FETfl':_0x4760b8(0x163),'GArFR':'ranger\x20profile\x20config\x20list','kxlEO':'ranger\x20config\x20unset','jFpuo':function(_0x1a27c7,_0x4b6076,_0x475f66){return _0x1a27c7(_0x4b6076,_0x475f66);},'zMkIw':_0x4760b8(0xc2),'gMKYv':'set\x20<env>\x20<key>\x20<value>','zSCUx':_0x4760b8(0x1f7),'UhygT':_0x4760b8(0x18f)};return _0x26937d[_0x4760b8(0x117)](_0x24ad92[_0x4760b8(0x1b1)],![],_0x350c38=>{const _0x48dc4e=_0x4760b8;return _0x350c38[_0x48dc4e(0xf3)](_0x48dc4e(0x161),{'type':_0x24ad92[_0x48dc4e(0x1cb)],'description':'Environment\x20name','demandOption':!![]})[_0x48dc4e(0xf3)](_0x48dc4e(0x120),{'type':_0x24ad92['eMgBJ'],'description':_0x48dc4e(0x206),'demandOption':!![]})['positional'](_0x24ad92[_0x48dc4e(0xf0)],{'type':_0x48dc4e(0xc8),'description':'Config\x20value','demandOption':!![]});},async _0x20ff4d=>{const _0x1a4803=_0x4760b8;_0x24ad92[_0x1a4803(0x12d)](warnRenamed,'ranger\x20config\x20set','ranger\x20profile\x20config\x20set'),await _0x24ad92[_0x1a4803(0x12d)](withTelemetry,_0x24ad92[_0x1a4803(0x15f)],()=>configSet(_0x20ff4d['env'],_0x20ff4d[_0x1a4803(0x120)],_0x20ff4d[_0x1a4803(0x17a)]));})[_0x4760b8(0x117)]('get\x20<env>\x20<key>',![],_0x41096a=>{const _0x5088cb=_0x4760b8;return _0x41096a['positional'](_0x24ad92[_0x5088cb(0x1ac)],{'type':'string','description':_0x24ad92[_0x5088cb(0x1d0)],'demandOption':!![]})[_0x5088cb(0xf3)](_0x24ad92['Mwvrb'],{'type':_0x24ad92['eMgBJ'],'description':_0x24ad92[_0x5088cb(0x184)],'demandOption':!![]});},async _0x41e461=>{const _0x3a11d6=_0x4760b8;warnRenamed('ranger\x20config\x20get','ranger\x20profile\x20config\x20get'),await _0x24ad92['dJyVJ'](withTelemetry,_0x24ad92[_0x3a11d6(0x1eb)],()=>configGet(_0x41e461['env'],_0x41e461[_0x3a11d6(0x120)]));})[_0x4760b8(0x117)](_0x24ad92[_0x4760b8(0x179)],![],_0x589f09=>{const _0x11ffe7=_0x4760b8;return _0x589f09[_0x11ffe7(0xf3)]('env',{'type':'string','description':_0x11ffe7(0xd5),'demandOption':!![]});},async _0x224956=>{const _0x4ab522=_0x4760b8;_0x24ad92[_0x4ab522(0x12d)](warnRenamed,_0x4ab522(0x16a),_0x24ad92['GArFR']),await withTelemetry('config\x20list',()=>configList(_0x224956['env']));})[_0x4760b8(0x117)](_0x24ad92[_0x4760b8(0xdc)],![],_0x772741=>{const _0x450139=_0x4760b8;return _0x772741['positional'](_0x24ad92['PvFjC'],{'type':_0x24ad92[_0x450139(0x1cb)],'description':_0x24ad92['LSZvZ'],'demandOption':!![]})[_0x450139(0xf3)](_0x24ad92[_0x450139(0xce)],{'type':_0x24ad92['eMgBJ'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3b2a19=>{const _0x9747bb=_0x4760b8;warnRenamed(_0x24ad92[_0x9747bb(0x181)],'ranger\x20profile\x20config\x20unset'),await _0x24ad92[_0x9747bb(0x132)](withTelemetry,_0x24ad92[_0x9747bb(0x1c8)],()=>configUnset(_0x3b2a19['env'],_0x3b2a19['key']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command']('env',![],_0x27e756=>{const _0x887e02=_0xb0024,_0x2e40b6={'AXAvS':function(_0x32fcf0,_0x1df0ba,_0x43b458){return _0x32fcf0(_0x1df0ba,_0x43b458);},'dLuCM':'ranger\x20env\x20ls','rYLkg':_0x887e02(0x1e0),'tTjnW':'env-name','FYqOu':_0x887e02(0xc8),'oUrgy':'ranger\x20env\x20update','Plwys':_0x887e02(0xd9),'rppyC':_0x887e02(0x18e),'DMVbT':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x27e756[_0x887e02(0x117)]('ls',![],()=>{},async()=>{const _0x30a556=_0x887e02;_0x2e40b6[_0x30a556(0x109)](warnRenamed,_0x2e40b6[_0x30a556(0x19b)],_0x2e40b6['rYLkg']),await withTelemetry(_0x30a556(0x1ff),()=>envList());})['command'](_0x887e02(0xd1),![],_0x2f513d=>{const _0x2a2ec3=_0x887e02;return _0x2f513d[_0x2a2ec3(0xf3)](_0x2e40b6['tTjnW'],{'type':_0x2e40b6[_0x2a2ec3(0x190)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x3de87e=>{const _0x16e495=_0x887e02;warnRenamed(_0x2e40b6['oUrgy'],_0x2e40b6['Plwys']),await withTelemetry(_0x2e40b6['rppyC'],_0x389147=>updateEnv(_0x3de87e[_0x16e495(0x1c7)],_0x389147));})[_0x887e02(0xee)](0x1,_0x2e40b6[_0x887e02(0xdb)]);})[_0xb0024(0x117)]('feature',![],_0x196d73=>{const _0x4dae38=_0xb0024,_0x122024={'sDiuu':'string','QvDNx':_0x4dae38(0x1d9),'diAel':_0x4dae38(0x1cc),'zSmUP':'Feature\x20review\x20description','ZvxtW':_0x4dae38(0xc5),'RhKVM':_0x4dae38(0x11c),'Xaysh':function(_0x2c9e6b,_0x11adbc,_0x16ade6){return _0x2c9e6b(_0x11adbc,_0x16ade6);},'QBFHi':function(_0x385e24,_0xfbb92b,_0x50632c,_0x24a03b){return _0x385e24(_0xfbb92b,_0x50632c,_0x24a03b);},'mOihF':'--checklist','ytPDT':_0x4dae38(0x1af),'elyQU':'current-branch','aAmpB':_0x4dae38(0x173),'CWNlS':_0x4dae38(0xb7),'Merwy':'number','DHCYn':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','QLNpF':'offset','lTgyj':_0x4dae38(0x133),'jRXWT':_0x4dae38(0x182),'NKiAj':'feature\x20list','Daeyd':function(_0x36c52e,_0x9f45bb,_0x3a3bcf){return _0x36c52e(_0x9f45bb,_0x3a3bcf);},'xCnOz':_0x4dae38(0x123),'HixPF':_0x4dae38(0x138),'tapSU':_0x4dae38(0x12a),'hPfUU':'Scenario\x20description','pNgHg':_0x4dae38(0x10a),'OUPOe':'feature\x20add-checklist-item','eDmrS':_0x4dae38(0x119),'EwewP':'ranger\x20feature\x20get-feedback','fqtyp':'Feature\x20review\x20ID','tZyGY':'ranger\x20feature\x20delete','SnYSn':_0x4dae38(0x1b3),'asJVj':_0x4dae38(0x1f9),'YjvOg':function(_0x423eda,_0x4f3de3,_0x563934){return _0x423eda(_0x4f3de3,_0x563934);},'fscnL':_0x4dae38(0x15c),'BytQo':_0x4dae38(0x185),'bGEGh':_0x4dae38(0x1fd),'YOApO':_0x4dae38(0x17f),'ajued':_0x4dae38(0x197)};return _0x196d73[_0x4dae38(0x117)](_0x4dae38(0x1b0),![],_0xb695df=>{const _0x371c99=_0x4dae38;return _0xb695df[_0x371c99(0xf3)]('name',{'type':_0x122024[_0x371c99(0x1e5)],'description':_0x122024[_0x371c99(0x1a4)],'demandOption':!![]})['option'](_0x122024[_0x371c99(0x189)],{'type':_0x371c99(0xc8),'alias':'d','description':_0x122024[_0x371c99(0x1ae)]})['option']('checklist',{'type':_0x122024[_0x371c99(0x153)],'alias':'c','description':_0x122024['RhKVM']})['option']('scenario',{'type':_0x371c99(0xc5),'hidden':!![]});},async _0x3002d9=>{const _0x29a6f2=_0x4dae38;_0x122024[_0x29a6f2(0x12e)](warnRenamed,_0x29a6f2(0x159),_0x29a6f2(0xde)),_0x122024['QBFHi'](warnFlagRenamed,_0x29a6f2(0xde),_0x122024[_0x29a6f2(0x1be)],_0x29a6f2(0xe1));const _0xc40d79=_0x3002d9[_0x29a6f2(0xe7)]||_0x3002d9[_0x29a6f2(0x111)];await withTelemetry(_0x122024[_0x29a6f2(0xbe)],()=>featureCreate(_0x3002d9[_0x29a6f2(0x183)],{'description':_0x3002d9['description'],'scenarios':_0xc40d79}));})[_0x4dae38(0x117)](_0x122024[_0x4dae38(0x124)],![],_0x17f840=>{const _0x3381fb=_0x4dae38;return _0x17f840['option'](_0x122024[_0x3381fb(0x171)],{'type':_0x3381fb(0x182),'description':_0x122024[_0x3381fb(0xd4)]})[_0x3381fb(0x11e)](_0x122024[_0x3381fb(0x1f5)],{'type':_0x122024[_0x3381fb(0x19d)],'alias':'l','description':_0x122024[_0x3381fb(0x1c9)],'default':0xa})[_0x3381fb(0x11e)](_0x122024[_0x3381fb(0x187)],{'type':'number','alias':'o','description':_0x122024[_0x3381fb(0x1ec)],'default':0x0})[_0x3381fb(0x11e)](_0x3381fb(0x139),{'type':_0x122024['jRXWT'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x68f49f=>{const _0xef65db=_0x4dae38;warnRenamed(_0xef65db(0x137),'ranger\x20list'),await _0x122024[_0xef65db(0x12e)](withTelemetry,_0x122024[_0xef65db(0x172)],()=>featureList({'currentBranch':_0x68f49f['current-branch'],'limit':_0x68f49f[_0xef65db(0xb7)],'offset':_0x68f49f['offset'],'includeDeleted':_0x68f49f['include-deleted']}));})[_0x4dae38(0x117)]('show\x20[id]',![],_0x38b4d2=>{const _0x5a37e5=_0x4dae38;return _0x38b4d2[_0x5a37e5(0xf3)]('id',{'type':_0x122024[_0x5a37e5(0x1e5)],'description':_0x5a37e5(0x1bb)});},async _0x53981a=>{const _0x453d72=_0x4dae38;_0x122024['Daeyd'](warnRenamed,_0x122024[_0x453d72(0x17c)],_0x453d72(0x1e7)),await withTelemetry('feature\x20show',()=>featureShow(_0x53981a['id']));})[_0x4dae38(0x117)](_0x122024[_0x4dae38(0x118)],![],_0x357c3d=>{return _0x357c3d['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x3dc884=>{const _0x38a906=_0x4dae38;_0x122024[_0x38a906(0xf5)](warnRenamed,_0x122024[_0x38a906(0x178)],_0x122024['tapSU']),await _0x122024[_0x38a906(0x12e)](withTelemetry,'feature\x20resume',()=>featureResume(_0x3dc884['id']));})[_0x4dae38(0x117)](_0x4dae38(0xc9),![],_0x2df7eb=>{const _0x3e1150=_0x4dae38;return _0x2df7eb['positional'](_0x3e1150(0x1cc),{'type':'string','description':_0x122024[_0x3e1150(0x103)],'demandOption':!![]})[_0x3e1150(0x11e)]('id',{'type':_0x3e1150(0xc8),'description':_0x3e1150(0x119)});},async _0x19affe=>{const _0x1703f5=_0x4dae38;warnRenamed(_0x122024[_0x1703f5(0xf4)],'ranger\x20add-scenario'),await withTelemetry(_0x122024[_0x1703f5(0x101)],()=>featureAddScenario(_0x19affe[_0x1703f5(0x1cc)],_0x19affe['id']));})['command']('get-feedback\x20[id]',![],_0x178e6a=>{const _0x46970c=_0x4dae38;return _0x178e6a['positional']('id',{'type':'string','description':_0x122024[_0x46970c(0x1d1)]});},async _0x12afbd=>{warnRenamed(_0x122024['EwewP'],'ranger\x20get-review'),await withTelemetry('feature\x20get-feedback',()=>featureGetReview(_0x12afbd['id']));})['command'](_0x122024[_0x4dae38(0x125)],![],_0x64b59b=>{const _0x1deccf=_0x4dae38;return _0x64b59b[_0x1deccf(0xf3)]('id',{'type':_0x122024['sDiuu'],'description':_0x122024['fqtyp']});},async _0x1b75ee=>{const _0x3e73bc=_0x4dae38;warnRenamed(_0x122024['tZyGY'],_0x3e73bc(0x18b)),await _0x122024[_0x3e73bc(0xf5)](withTelemetry,_0x122024['SnYSn'],()=>featureDelete(_0x1b75ee['id']));})[_0x4dae38(0x117)](_0x122024['YOApO'],![],_0x4f902d=>{const _0x206e03=_0x4dae38;return _0x4f902d[_0x206e03(0xf3)]('id',{'type':_0x122024[_0x206e03(0x1e5)],'description':_0x122024[_0x206e03(0xcb)],'demandOption':!![]});},async _0x361f27=>{const _0x58fb54=_0x4dae38;_0x122024['Daeyd'](warnRenamed,_0x58fb54(0x175),'ranger\x20restore'),await _0x122024['YjvOg'](withTelemetry,_0x58fb54(0x18c),()=>featureRestore(_0x361f27['id']));})['demandCommand'](0x1,_0x122024[_0x4dae38(0x116)]);})[_0xb0024(0x117)](_0xb0024(0x1e9),![],_0x4f44dd=>{const _0x50985d=_0xb0024,_0x5c08fe={'kcdBx':_0x50985d(0x1b8),'RjmRo':_0x50985d(0xc8),'WRavL':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','wdtMk':function(_0x166d71,_0x1083e6,_0x5cc0c7){return _0x166d71(_0x1083e6,_0x5cc0c7);},'AnrFh':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','kdmAo':_0x50985d(0x107),'rycMJ':_0x50985d(0x183)};return _0x4f44dd[_0x50985d(0x117)](_0x50985d(0x1b5),_0x5c08fe['AnrFh'],_0x1b77a5=>{const _0x4d5476=_0x50985d;return _0x1b77a5[_0x4d5476(0x11e)](_0x5c08fe['kcdBx'],{'type':_0x5c08fe[_0x4d5476(0x10e)],'description':_0x5c08fe[_0x4d5476(0x188)]});},async _0x58d2bb=>{const _0x3dbff6=_0x50985d;await _0x5c08fe['wdtMk'](withTelemetry,'hook:enable',()=>hook(_0x3dbff6(0x1b5),_0x58d2bb[_0x3dbff6(0x1b8)]));})[_0x50985d(0x117)](_0x5c08fe['kdmAo'],_0x50985d(0x135),_0x1dcea6=>{const _0x2134b5=_0x50985d;return _0x1dcea6[_0x2134b5(0x11e)](_0x5c08fe['kcdBx'],{'type':_0x5c08fe[_0x2134b5(0x10e)],'description':_0x5c08fe['WRavL']});},async _0x1c4254=>{const _0x567644=_0x50985d;await withTelemetry('hook:disable',()=>hook(_0x567644(0x107),_0x1c4254[_0x567644(0x1b8)]));})['option'](_0x5c08fe['rycMJ'],{'type':_0x5c08fe[_0x50985d(0x10e)],'description':_0x50985d(0x144)})['option']('session-id',{'type':_0x50985d(0xc8),'description':_0x5c08fe[_0x50985d(0x188)]});},async _0x5e3bfc=>{const _0x1b0a95=_0xb0024,_0x43bb75={'TXRcT':function(_0x355d94,_0x334472,_0x2fbd44){return _0x355d94(_0x334472,_0x2fbd44);},'xaXji':_0x1b0a95(0x1b8)};_0x5e3bfc['name']&&await _0x43bb75[_0x1b0a95(0x1d6)](hook,_0x5e3bfc['name'],_0x5e3bfc[_0x43bb75['xaXji']]);})['demandCommand'](0x1,_0xb0024(0x1aa))[_0xb0024(0xb6)]()[_0xb0024(0x1d2)](async(_0x252ef2,_0x479a61,_0xf233f4)=>{const _0x14e2c8=_0xb0024,_0x1612f8={'ykkTJ':function(_0x3b4faa,_0x436cd2){return _0x3b4faa(_0x436cd2);},'qCUPj':function(_0x25099e,_0xefdb5d){return _0x25099e||_0xefdb5d;}},_0x1de71d=_0x1612f8['ykkTJ'](sanitizeArgs,process[_0x14e2c8(0xc0)]['slice'](0x2)),_0x3a7697=getErrorType(_0x252ef2,_0x479a61);if(_0x252ef2&&_0x252ef2[_0x14e2c8(0x12c)](_0x14e2c8(0x10d))){const _0x49dd29=process['argv'][0x2];console[_0x14e2c8(0x126)]('\x0aUnknown\x20command:\x20'+_0x49dd29),console[_0x14e2c8(0x126)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x252ef2)console['error']('\x0a'+_0x252ef2+'\x0a');else _0x479a61&&console['error']('\x0aError:\x20'+_0x479a61['message']+'\x0a');}await logDesirePath({'rawCommand':_0x1de71d,'errorMessage':_0x252ef2||_0x479a61?.[_0x14e2c8(0xbd)],'errorType':_0x3a7697});const _0x5cfe23=getCurrentCollector();_0x5cfe23&&await _0x5cfe23[_0x14e2c8(0x1fe)](_0x479a61||new Error(_0x1612f8['qCUPj'](_0x252ef2,'Unknown\x20error'))),process[_0x14e2c8(0x13a)](0x1);})['epilogue'](_0xb0024(0xbb)+'\x20\x20https://docs.ranger.net\x0a'+_0xb0024(0x1d4))[_0xb0024(0x1db)]()['alias']('help','h')[_0xb0024(0x148)]();
@@ -1 +1 @@
1
- function _0x5b47(_0x179e3e,_0x385e8d){_0x179e3e=_0x179e3e-0x188;const _0x3c4c2c=_0x3c4c();let _0x5b47d1=_0x3c4c2c[_0x179e3e];return _0x5b47d1;}function _0x3c4c(){const _0x1938f2=['Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','Removed\x20existing\x20profile\x20at\x20','close','cRRAh','FGewY','✓\x20Auth\x20state\x20saved\x20to:\x20','fetch\x20failed','\x0a📋\x20Authentication\x20Setup','Enter\x20a\x20different\x20URL','10IwUheu','\x22\x20already\x20exists.\x20Overwrite?','GfEIL','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','abort','test','TypeError','plnkV','BjaNl','cOyFG','root\x20(.ranger/)','What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','jvgoh','What\x20would\x20you\x20like\x20to\x20do?','26376FOfkkH','vSUhN','path','IEKeS','input','\x20\x20\x20When\x20you\x20are\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.\x0a','Non-interactive\x20mode\x20detected.\x0aThe\x20\x22ranger\x20profile\x20add\x22\x20command\x20requires\x20interactive\x20browser\x20authentication\x20and\x20cannot\x20be\x20run\x20in\x20non-TTY\x20environments\x20(CI,\x20scripts,\x20Claude\x20Code).\x0aTo\x20configure\x20profiles\x20non-interactively:\x0a\x20\x201.\x20Run\x20\x22ranger\x20profile\x20add\x20<name>\x20--ci\x22\x20in\x20an\x20interactive\x20terminal\x20first\x0a\x20\x202.\x20Commit\x20the\x20encrypted\x20auth\x20file\x20(.ranger/ci/<profile>/auth.json.enc)\x20to\x20git\x0a\x20\x203.\x20Use\x20\x22ranger\x20setup\x20[token]\x22\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime','legacy','DGhBK','nSvTy','confirm','jGEWb','config_write','mIgeb','hqroS','\x0a\x20\x20Could\x20not\x20reach\x20','baseUrl','\x20\x20\x20Creating\x20it\x20in\x20','2OXabiE','retry','url_setup','browser_auth','error','1421945KoIHlL','launch','newPage','location','HTTP\x20','status','mvEkw','log','action','\x22\x20already\x20exists\x20in\x20','CEOPh','settings.json','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','561642LmTYbK','12719564GJgjqR','trackPhaseEnd','668318KJVrTp','146616TsWjVT','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','skNxd','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','\x0a\x20\x20Profile\x20\x22','Use\x20','HEAD','4552029dNGrRV','bxcCR','\x22\x20configured','overwrite','goto','urduY','use_suggestion','isProtocolError','cDZNZ','Yeuls','prompt','trackPhaseStart','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','30GHIzBd','123VKJayT','Iowsc','newContext','jaDRY','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'];_0x3c4c=function(){return _0x1938f2;};return _0x3c4c();}(function(_0x1e4ac,_0x5b23bc){const _0x3a8cb6=_0x5b47,_0x1b8054=_0x1e4ac();while(!![]){try{const _0x27b6e6=parseInt(_0x3a8cb6(0x1ce))/0x1*(-parseInt(_0x3a8cb6(0x1b8))/0x2)+parseInt(_0x3a8cb6(0x18a))/0x3*(parseInt(_0x3a8cb6(0x1a6))/0x4)+parseInt(_0x3a8cb6(0x189))/0x5*(-parseInt(_0x3a8cb6(0x1cb))/0x6)+-parseInt(_0x3a8cb6(0x1bd))/0x7+-parseInt(_0x3a8cb6(0x1cf))/0x8+parseInt(_0x3a8cb6(0x1d6))/0x9*(parseInt(_0x3a8cb6(0x198))/0xa)+parseInt(_0x3a8cb6(0x1cc))/0xb;if(_0x27b6e6===_0x5b23bc)break;else _0x1b8054['push'](_0x1b8054['shift']());}catch(_0x32dd4f){_0x1b8054['push'](_0x1b8054['shift']());}}}(_0x3c4c,0x7570d));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x448104 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x5a36e5){const _0x38cad2=_0x5b47,_0x285f69={'cOyFG':function(_0x12262c,_0x11f5a5,_0xc1a84c){return _0x12262c(_0x11f5a5,_0xc1a84c);},'mvEkw':'manual','cDZNZ':function(_0x26079b,_0x4e0365){return _0x26079b(_0x4e0365);},'nSvTy':function(_0x1f3651,_0x4449cb){return _0x1f3651<_0x4449cb;},'jGEWb':'Invalid\x20URL','MigMk':function(_0xb63160,_0x47fabc){return _0xb63160===_0x47fabc;}};try{const _0x235de1=new AbortController(),_0x4f9ef9=_0x285f69[_0x38cad2(0x1a1)](setTimeout,()=>_0x235de1[_0x38cad2(0x19c)](),0x1388),_0x275449=await _0x285f69['cOyFG'](fetch,_0x5a36e5,{'method':_0x38cad2(0x1d5),'signal':_0x235de1['signal'],'redirect':_0x285f69[_0x38cad2(0x1c3)]});_0x285f69[_0x38cad2(0x1de)](clearTimeout,_0x4f9ef9);if(_0x285f69[_0x38cad2(0x1af)](_0x275449[_0x38cad2(0x1c2)],0x190))return{'ok':!![]};return{'ok':![],'error':_0x38cad2(0x1c1)+_0x275449['status']};}catch(_0x1438a9){const _0x49cd2d=_0x1438a9,_0x50f299=_0x49cd2d['message']||_0x285f69[_0x38cad2(0x1de)](String,_0x1438a9),_0x171c79=_0x50f299['includes'](_0x285f69[_0x38cad2(0x1b1)])||_0x285f69['MigMk'](_0x49cd2d['name'],_0x38cad2(0x19e))||_0x50f299['includes'](_0x38cad2(0x195));return{'ok':![],'error':_0x50f299,'isProtocolError':_0x171c79};}}export async function addEnv(_0x4e7507,_0x321c0c={},_0x5ee040){const _0x717aab=_0x5b47,_0x4f6373={'KbeTb':function(_0x3f4430,_0xe86f3f,_0x5444ec,_0x309482){return _0x3f4430(_0xe86f3f,_0x5444ec,_0x309482);},'dXwDK':function(_0x5a28f1){return _0x5a28f1();},'WLSVc':function(_0x460072,_0x3bc6a7){return _0x460072(_0x3bc6a7);},'uJjjV':function(_0x536b4f,_0x5b12d5){return _0x536b4f===_0x5b12d5;},'BjaNl':_0x717aab(0x1d9),'RGLzm':function(_0x1e8b8c,_0x4fe824){return _0x1e8b8c===_0x4fe824;},'aRnoC':'shouldReplace','BPmLZ':'Aborted.','Iowsc':_0x717aab(0x1ca),'Yeuls':_0x717aab(0x1a3),'vSUhN':function(_0x58c905,_0x3959bf){return _0x58c905||_0x3959bf;},'NJKcP':'http://localhost:3000','Dmbqj':function(_0x270abf,_0x46e7c9){return _0x270abf(_0x46e7c9);},'AqpCI':'list','KrQbV':_0x717aab(0x1c5),'Frvus':_0x717aab(0x1a5),'FGewY':'use_suggestion','LgzzM':_0x717aab(0x197),'mIgeb':'continue','GfEIL':function(_0x5b4c30,_0x3c5e20){return _0x5b4c30===_0x3c5e20;},'JHifQ':_0x717aab(0x1ba),'jaDRY':function(_0xffb2e0,_0x29e5cc,_0x5ca005){return _0xffb2e0(_0x29e5cc,_0x5ca005);},'UoYVv':function(_0x1b43b7,_0x1dcceb){return _0x1b43b7(_0x1dcceb);},'DGhBK':'auth.json','cRRAh':_0x717aab(0x196),'RtwkV':function(_0x10b1a3,_0x4c6708){return _0x10b1a3(_0x4c6708);},'skNxd':'utf-8','TOiYn':'\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','CEOPh':function(_0x11ec6a,_0x541da3,_0x35887d){return _0x11ec6a(_0x541da3,_0x35887d);},'hqroS':_0x717aab(0x18e),'urduY':_0x717aab(0x1bb),'plnkV':_0x717aab(0x1b2),'jvgoh':_0x717aab(0x1c8),'KZqcX':function(_0x66c9cd,_0x31e32f,_0x13f942){return _0x66c9cd(_0x31e32f,_0x13f942);},'hkZkl':function(_0x11ac8d,_0x15a105){return _0x11ac8d(_0x15a105);},'IEKeS':_0x717aab(0x18f),'bxcCR':function(_0x20dffd,_0x2c66ce,_0x5dc2b1){return _0x20dffd(_0x2c66ce,_0x5dc2b1);}},_0x5e25f5=_0x321c0c['ci']??![],_0x816b98=_0x5e25f5?'ci':'local',_0x54ebed=_0x4f6373['KbeTb'](join,getRangerDir(),_0x816b98,_0x4e7507),_0xadf273=join(_0x4f6373['dXwDK'](getRangerDir),_0x816b98),_0x49f7f2=!_0x321c0c['skipAuth'],_0x56473f=process['stdin']['isTTY']&&process['stdout']['isTTY'];if(!_0x56473f&&_0x49f7f2)throw new Error(_0x717aab(0x1ac));const _0x5f3ea2=_0x4f6373['WLSVc'](findExistingEnv,_0x4e7507);let _0x22c9d5=null;if(_0x5f3ea2){if(_0x4f6373['uJjjV'](_0x5f3ea2[_0x717aab(0x1c0)],_0x816b98)){const {overwrite:_0x1f040a}=await _0x448104['prompt']([{'type':_0x717aab(0x1b0),'name':_0x4f6373[_0x717aab(0x1a0)],'message':'Profile\x20\x22'+_0x4e7507+_0x717aab(0x199),'default':![]}]);if(!_0x1f040a){console[_0x717aab(0x1c4)]('Aborted.');return;}_0x22c9d5=_0x5f3ea2;}else{const _0x36e6e5=_0x4f6373['RGLzm'](_0x5f3ea2[_0x717aab(0x1c0)],_0x717aab(0x1ad))?_0x717aab(0x1a2):_0x5f3ea2[_0x717aab(0x1c0)];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x4e7507+_0x717aab(0x1c6)+_0x36e6e5+':\x20'+_0x5f3ea2['path']),console['error'](_0x717aab(0x1b7)+_0x816b98+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x3a8588}=await _0x448104['prompt']([{'type':_0x717aab(0x1b0),'name':_0x4f6373['aRnoC'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x816b98+'?','default':![]}]);if(!_0x3a8588){console[_0x717aab(0x1c4)](_0x4f6373['BPmLZ']);return;}_0x22c9d5=_0x5f3ea2;}}_0x5ee040?.[_0x717aab(0x1e1)]('url_setup'),console['log']('\x0a🌐\x20Profile\x20Setup\x0a'),console['log'](_0x4f6373[_0x717aab(0x18b)]),console['log'](_0x717aab(0x1c9));let _0x426f2e='',_0x4201aa=![];while(!![]){const _0xc96152=await _0x448104[_0x717aab(0x1e0)]([{'type':_0x717aab(0x1aa),'name':'baseUrl','message':_0x4201aa?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':_0x4f6373[_0x717aab(0x1df)],'default':_0x4f6373[_0x717aab(0x1a7)](_0x426f2e,_0x4f6373['NJKcP'])}]);_0x426f2e=_0xc96152[_0x717aab(0x1b6)];const _0x5ca1fa=await _0x4f6373['Dmbqj'](checkUrlReachability,_0x426f2e);if(_0x5ca1fa['ok'])break;const _0x22e2ea=/^[a-zA-Z][\w+.-]*:\/\//[_0x717aab(0x19d)](_0x426f2e),_0x161714=_0x5ca1fa[_0x717aab(0x1dd)]&&!_0x22e2ea,_0x212452=_0x161714?'http://'+_0x426f2e:null;_0x4201aa=!![],console['log'](_0x717aab(0x1b5)+_0x426f2e+':\x20'+_0x5ca1fa[_0x717aab(0x1bc)]);_0x212452&&console['log']('\x20\x20Did\x20you\x20mean\x20'+_0x212452+'?');const {action:_0x26e89c}=await _0x448104['prompt']([{'type':_0x4f6373['AqpCI'],'name':_0x4f6373['KrQbV'],'message':_0x4f6373['Frvus'],'choices':[..._0x212452?[{'name':_0x717aab(0x1d4)+_0x212452,'value':_0x4f6373[_0x717aab(0x193)]}]:[],{'name':_0x4f6373['LgzzM'],'value':_0x717aab(0x1b9)},{'name':'Continue\x20anyway','value':_0x4f6373[_0x717aab(0x1b3)]}]}]);if(_0x4f6373[_0x717aab(0x19a)](_0x26e89c,_0x717aab(0x1dc))&&_0x212452){_0x426f2e=_0x212452;const _0xb9b8c2=await checkUrlReachability(_0x426f2e);if(_0xb9b8c2['ok'])break;console['log'](_0x717aab(0x188)+_0x426f2e+':\x20'+_0xb9b8c2['error']);}else{if(_0x26e89c==='continue')break;}}_0x5ee040?.[_0x717aab(0x1cd)](_0x4f6373['JHifQ']),await _0x4f6373[_0x717aab(0x18d)](mkdir,_0xadf273,{'recursive':!![]});const _0x488802=await _0x4f6373['UoYVv'](mkdtemp,join(_0xadf273,'.tmp-'+_0x4e7507+'-')),_0x2c2b09=join(_0x488802,_0x4f6373[_0x717aab(0x1ae)]);try{if(_0x49f7f2){_0x5ee040?.[_0x717aab(0x1e1)]('browser_auth'),console[_0x717aab(0x1c4)](_0x4f6373[_0x717aab(0x192)]),console['log']('\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.'),console['log'](_0x717aab(0x1ab)),await new Promise(_0x5ded84=>setTimeout(_0x5ded84,0xbb8));const _0x22a10b=await chromium[_0x717aab(0x1be)]({'headless':![]});try{const _0x2c9609=await _0x22a10b[_0x717aab(0x18c)]();await _0x4f6373['RtwkV'](addProfileSetupBanner,_0x2c9609);const _0x26bd4a=await _0x2c9609[_0x717aab(0x1bf)]();await _0x26bd4a[_0x717aab(0x1da)](_0x426f2e||'about:blank'),await new Promise(_0x4a514f=>{_0x26bd4a['on']('close',async()=>{try{console['log']('Saving\x20authentication\x20state...'),await _0x2c9609['storageState']({'path':_0x2c2b09});}catch{}_0x4a514f();});});}finally{await _0x22a10b[_0x717aab(0x191)]()['catch'](()=>{});}if(_0x5e25f5){const _0xa2ce58=await _0x4f6373['jaDRY'](readFile,_0x2c2b09,_0x4f6373[_0x717aab(0x1d1)]),_0x2b20f6=await getToken();if(!_0x2b20f6){console['error'](_0x4f6373['TOiYn']),await unlink(_0x2c2b09)['catch'](()=>{});throw new Error(_0x717aab(0x19b));}else{const _0x3590cf=encrypt(_0xa2ce58,_0x2b20f6);await _0x4f6373[_0x717aab(0x1c7)](writeFile,_0x2c2b09+'.enc',_0x3590cf),await unlink(_0x2c2b09),console[_0x717aab(0x1c4)](_0x717aab(0x1d2)+_0x2c2b09+'.enc'),console[_0x717aab(0x1c4)](_0x4f6373[_0x717aab(0x1b4)]),console[_0x717aab(0x1c4)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console['log'](_0x717aab(0x194)+_0x2c2b09);_0x5ee040?.[_0x717aab(0x1cd)](_0x4f6373[_0x717aab(0x1db)]);}_0x5ee040?.['trackPhaseStart'](_0x4f6373[_0x717aab(0x19f)]);const _0x1a213a={};_0x426f2e&&(_0x1a213a[_0x717aab(0x1b6)]=_0x426f2e);await _0x4f6373['CEOPh'](writeFile,join(_0x488802,_0x4f6373[_0x717aab(0x1a4)]),JSON['stringify'](_0x1a213a,null,0x2)),console[_0x717aab(0x1c4)]('✓\x20Created\x20settings:\x20'+_0x4f6373['KZqcX'](join,_0x54ebed,_0x4f6373[_0x717aab(0x1a4)]));if(_0x22c9d5?.['location']===_0x816b98){const _0x5519f0=_0x22c9d5[_0x717aab(0x1a8)]+'.backup-'+Date['now']();await rename(_0x22c9d5[_0x717aab(0x1a8)],_0x5519f0);try{await _0x4f6373[_0x717aab(0x18d)](rename,_0x488802,_0x54ebed);}catch(_0x269c45){await rename(_0x5519f0,_0x22c9d5[_0x717aab(0x1a8)]);throw _0x269c45;}try{await rm(_0x5519f0,{'recursive':!![]});}catch{console[_0x717aab(0x1c4)](_0x717aab(0x1d0)+_0x5519f0);}}else{await rename(_0x488802,_0x54ebed);if(_0x22c9d5)try{await rm(_0x22c9d5[_0x717aab(0x1a8)],{'recursive':!![]}),console[_0x717aab(0x1c4)](_0x717aab(0x190)+_0x22c9d5['path']);}catch{console[_0x717aab(0x1c4)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x22c9d5[_0x717aab(0x1a8)]);}}try{await _0x4f6373['hkZkl'](writeActiveProfileName,_0x4e7507),console[_0x717aab(0x1c4)]('\x20\x20Set\x20active\x20profile:\x20'+_0x4e7507);}catch{console['log'](_0x4f6373[_0x717aab(0x1a9)]);}_0x5ee040?.[_0x717aab(0x1cd)](_0x4f6373[_0x717aab(0x19f)]),console['log'](_0x717aab(0x1d3)+_0x4e7507+_0x717aab(0x1d8));}catch(_0x110c82){await _0x4f6373[_0x717aab(0x1d7)](rm,_0x488802,{'recursive':!![],'force':!![]});throw _0x110c82;}}
1
+ (function(_0x39d141,_0x1020b7){const _0x4c8b7b=_0x1701,_0x3406cf=_0x39d141();while(!![]){try{const _0x310797=parseInt(_0x4c8b7b(0x10e))/0x1+-parseInt(_0x4c8b7b(0xed))/0x2*(parseInt(_0x4c8b7b(0x12e))/0x3)+parseInt(_0x4c8b7b(0x13a))/0x4*(parseInt(_0x4c8b7b(0x117))/0x5)+parseInt(_0x4c8b7b(0xf6))/0x6+parseInt(_0x4c8b7b(0xee))/0x7*(parseInt(_0x4c8b7b(0x134))/0x8)+-parseInt(_0x4c8b7b(0x125))/0x9+-parseInt(_0x4c8b7b(0x144))/0xa;if(_0x310797===_0x1020b7)break;else _0x3406cf['push'](_0x3406cf['shift']());}catch(_0x1d6b7e){_0x3406cf['push'](_0x3406cf['shift']());}}}(_0x1091,0x1acb0));function _0x1701(_0x4e1555,_0x402f40){_0x4e1555=_0x4e1555-0xe8;const _0x10910c=_0x1091();let _0x1701e8=_0x10910c[_0x4e1555];return _0x1701e8;}import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x143fad from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getRangerDir}from'./utils/rangerRoot.js';function _0x1091(){const _0x545923=['--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','hAWXH','QelmK','431988iuJcBY','mPWSc','UfXYM','nJeZs','stdout','location','UQVVB','\x20\x20Set\x20active\x20profile:\x20','input','trackPhaseEnd','1849200LkiAey','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','Aborted.','giPbR','jUlvS','.tmp-','http://','browser_auth','stdin','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','newContext','2924OakiGg','1153873IfefKx','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','fetch\x20failed','force','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','trim','LwNxF','595818PJEEEj','Please\x20provide\x20--url\x20when\x20running\x20in\x20non-interactive\x20mode.\x0aMake\x20sure\x20the\x20service\x20is\x20running\x20on\x20that\x20port\x20before\x20retrying.\x0aExample:\x20ranger\x20profile\x20add\x20local\x20--url\x20http://localhost:3000','legacy','vyCnf','\x0a\x20\x20Profile\x20\x22','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','isElectron','list','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','TcKDZ','prompt','http://localhost:3000','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','\x20(continuing\x20with\x20--force)','local','\x22\x20already\x20exists\x20in\x20','Could\x20not\x20reach\x20','Delete\x20existing\x20and\x20create\x20new\x20in\x20','VRWwm','\x20\x20Did\x20you\x20mean\x20','IRKHs','ByjeW','\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','OzcTc','88464gqWPoz','GuAPC','path','IwekV','trackPhaseStart','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','url','now','baseUrl','5wXuwBj','LBsVe','action','IxbnE','cdpEndpoint','LZKEu','⚠\x20Could\x20not\x20reach\x20','YMckm','nudRM','.enc','\x22\x20already\x20exists.\x20Overwrite?','fwZzd','mkJaE','JiaHU','1322397ghcLPl','goto','log','oascq','error','auth.json','✓\x20Created\x20settings:\x20','status','url_setup','39MoeVGd','close','mTPer','\x22\x20configured','Use\x20','catch','8zbjyoP','TypeError','mxEHF'];_0x1091=function(){return _0x545923;};return _0x1091();}import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0x2a004c){const _0x5aef8d=_0x1701,_0x31a4cb={'fWqmk':'HEAD','AyimP':function(_0x204965,_0x456231){return _0x204965<_0x456231;},'IxbnE':function(_0x27060e,_0x46e8d5){return _0x27060e(_0x46e8d5);},'nudRM':_0x5aef8d(0x135)};try{const _0x39204a=new AbortController(),_0x57813a=setTimeout(()=>_0x39204a['abort'](),0x1388),_0x39fe85=await fetch(_0x2a004c,{'method':_0x31a4cb['fWqmk'],'signal':_0x39204a['signal'],'redirect':'manual'});clearTimeout(_0x57813a);if(_0x31a4cb['AyimP'](_0x39fe85['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x39fe85[_0x5aef8d(0x12c)]};}catch(_0x207da7){const _0x4d52d9=_0x207da7,_0x4136a7=_0x4d52d9['message']||_0x31a4cb[_0x5aef8d(0x11a)](String,_0x207da7),_0x2be2cb=_0x4136a7['includes']('Invalid\x20URL')||_0x4d52d9['name']===_0x31a4cb[_0x5aef8d(0x11f)]||_0x4136a7['includes'](_0x5aef8d(0xf0));return{'ok':![],'error':_0x4136a7,'isProtocolError':_0x2be2cb};}}export async function addEnv(_0x320b96,_0x59a037={},_0x47cf9c){const _0x9c0cd7=_0x1701,_0x2cf9cb={'VRWwm':function(_0x2dc734){return _0x2dc734();},'mPWSc':function(_0x592551,_0x448313,_0x219f07,_0x3a4499){return _0x592551(_0x448313,_0x219f07,_0x3a4499);},'LwNxF':function(_0x1105e1){return _0x1105e1();},'gkzQG':function(_0x43a02a,_0x55448c,_0x2241fe){return _0x43a02a(_0x55448c,_0x2241fe);},'oascq':function(_0x2c9eea,_0x202d5b){return _0x2c9eea!==_0x202d5b;},'giPbR':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','dDZlO':_0x9c0cd7(0x137),'xDPee':'confirm','ucjfv':'overwrite','NibwX':_0x9c0cd7(0xf8),'IwekV':_0x9c0cd7(0x12d),'mkJaE':'\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','jbyOD':'\x0a🌐\x20Profile\x20Setup\x0a','OzcTc':_0x9c0cd7(0x142),'UQVVB':_0x9c0cd7(0xf3),'PQyBI':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','UfXYM':function(_0x2ff4ae,_0x2b8111){return _0x2ff4ae||_0x2b8111;},'ByjeW':function(_0x12ec14,_0x3534a2){return _0x12ec14(_0x3534a2);},'txwHg':_0x9c0cd7(0x119),'EnFmw':'What\x20would\x20you\x20like\x20to\x20do?','YMckm':'continue','IRKHs':function(_0x349cab,_0x4e1424){return _0x349cab===_0x4e1424;},'nJeZs':function(_0x48f258,_0x4edbd0,_0x36833d){return _0x48f258(_0x4edbd0,_0x36833d);},'JiaHU':function(_0x4bf62d,_0x41159a,_0x564944){return _0x4bf62d(_0x41159a,_0x564944);},'kMcHU':_0x9c0cd7(0x12a),'jUlvS':_0x9c0cd7(0xe9),'LBsVe':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','XDfaY':_0x9c0cd7(0x10c),'GPhIz':'about:blank','LZKEu':'utf-8','vyCnf':_0x9c0cd7(0x113),'QelmK':_0x9c0cd7(0x145),'fwZzd':function(_0x49bfe9,_0x4eb730,_0x2619b5){return _0x49bfe9(_0x4eb730,_0x2619b5);},'gHmtB':function(_0x3f9109,_0x222651){return _0x3f9109+_0x222651;},'ONpkL':_0x9c0cd7(0x120),'hAWXH':_0x9c0cd7(0xfb),'ivdUM':_0x9c0cd7(0x102),'GuAPC':'config_write','mxEHF':'settings.json','widpb':function(_0x862f04,_0x2c3e3b){return _0x862f04===_0x2c3e3b;},'TcKDZ':function(_0x364696,_0x532cdc,_0x508f2e){return _0x364696(_0x532cdc,_0x508f2e);},'LZPFm':function(_0x5f1763,_0xdc467a,_0x559811){return _0x5f1763(_0xdc467a,_0x559811);},'jqjYF':function(_0x2c2292,_0x1ead44){return _0x2c2292(_0x1ead44);},'mTPer':'Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.'},_0x2d0464=_0x59a037['ci']??![],_0x4bd187=_0x2d0464?'ci':_0x9c0cd7(0x104),_0x2f4e3a=_0x2cf9cb[_0x9c0cd7(0x13b)](join,_0x2cf9cb[_0x9c0cd7(0xf5)](getRangerDir),_0x4bd187,_0x320b96),_0x1e7ce7=_0x2cf9cb['gkzQG'](join,_0x2cf9cb[_0x9c0cd7(0xf5)](getRangerDir),_0x4bd187);if(_0x2cf9cb[_0x9c0cd7(0x128)](_0x59a037['cdpEndpoint'],undefined)&&_0x59a037['cdpEndpoint'][_0x9c0cd7(0xf4)]()==='')throw new Error(_0x2cf9cb[_0x9c0cd7(0x147)]);if(_0x59a037['cdpEndpoint']&&_0x59a037[_0x9c0cd7(0x114)])throw new Error(_0x2cf9cb['dDZlO']);if(_0x59a037['cdpEndpoint']&&_0x59a037['ci'])throw new Error('--ci\x20and\x20--cdp-endpoint\x20cannot\x20be\x20used\x20together.\x20Electron/CDP\x20profiles\x20only\x20work\x20with\x20a\x20locally\x20running\x20app\x20and\x20are\x20not\x20supported\x20in\x20CI.');const _0x2e4304=Boolean(_0x59a037[_0x9c0cd7(0x11b)]),_0x51f660=!_0x59a037['skipAuth']&&!_0x2e4304,_0x34bd5d=process[_0x9c0cd7(0xea)]['isTTY']&&process[_0x9c0cd7(0x13e)]['isTTY'];if(!_0x34bd5d&&!_0x59a037['url']&&!_0x2e4304)throw new Error(_0x9c0cd7(0xf7));const _0x45a5dd=findExistingEnv(_0x320b96);let _0x47d948=null;if(_0x45a5dd){if(!_0x34bd5d)_0x47d948=_0x45a5dd;else{if(_0x45a5dd['location']===_0x4bd187){const {overwrite:_0x2f0f40}=await _0x143fad['prompt']([{'type':_0x2cf9cb['xDPee'],'name':_0x2cf9cb['ucjfv'],'message':'Profile\x20\x22'+_0x320b96+_0x9c0cd7(0x121),'default':![]}]);if(!_0x2f0f40){console[_0x9c0cd7(0x127)](_0x9c0cd7(0x146));return;}_0x47d948=_0x45a5dd;}else{const _0x2eda86=_0x45a5dd['location']===_0x2cf9cb['NibwX']?'root\x20(.ranger/)':_0x45a5dd[_0x9c0cd7(0x13f)];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x320b96+_0x9c0cd7(0x105)+_0x2eda86+':\x20'+_0x45a5dd[_0x9c0cd7(0x110)]),console[_0x9c0cd7(0x129)]('\x20\x20\x20Creating\x20it\x20in\x20'+_0x4bd187+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x4f9d13}=await _0x143fad['prompt']([{'type':'confirm','name':'shouldReplace','message':_0x9c0cd7(0x107)+_0x4bd187+'?','default':![]}]);if(!_0x4f9d13){console[_0x9c0cd7(0x127)]('Aborted.');return;}_0x47d948=_0x45a5dd;}}}_0x47cf9c?.['trackPhaseStart'](_0x2cf9cb[_0x9c0cd7(0x111)]);let _0x1794f6='';if(_0x2e4304)console['log'](_0x2cf9cb[_0x9c0cd7(0x123)]),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x59a037['cdpEndpoint']),console[_0x9c0cd7(0x127)]('\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a');else{if(_0x59a037[_0x9c0cd7(0x114)]){_0x1794f6=_0x59a037[_0x9c0cd7(0x114)];const _0x4d23bd=await checkUrlReachability(_0x1794f6);if(!_0x4d23bd['ok']&&!_0x59a037['force'])throw new Error(_0x9c0cd7(0x106)+_0x1794f6+':\x20'+_0x4d23bd[_0x9c0cd7(0x129)]+_0x9c0cd7(0xf2));!_0x4d23bd['ok']&&_0x59a037[_0x9c0cd7(0xf1)]&&console[_0x9c0cd7(0x127)](_0x9c0cd7(0x11d)+_0x1794f6+':\x20'+_0x4d23bd['error']+_0x9c0cd7(0x103));}else{console[_0x9c0cd7(0x127)](_0x2cf9cb['jbyOD']),console[_0x9c0cd7(0x127)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console[_0x9c0cd7(0x127)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x1f0013=![];while(!![]){const _0x327efa=await _0x143fad['prompt']([{'type':_0x2cf9cb[_0x9c0cd7(0x10d)],'name':'baseUrl','message':_0x1f0013?_0x2cf9cb[_0x9c0cd7(0x140)]:_0x2cf9cb['PQyBI'],'default':_0x2cf9cb['UfXYM'](_0x1794f6,_0x9c0cd7(0x101))}]);_0x1794f6=_0x327efa['baseUrl'];const _0x30aa22=await _0x2cf9cb[_0x9c0cd7(0x10b)](checkUrlReachability,_0x1794f6);if(_0x30aa22['ok'])break;const _0x35b926=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x1794f6),_0x140f4e=_0x30aa22['isProtocolError']&&!_0x35b926,_0x2c0a8a=_0x140f4e?_0x9c0cd7(0xe8)+_0x1794f6:null;_0x1f0013=!![],console[_0x9c0cd7(0x127)]('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x1794f6+':\x20'+_0x30aa22['error']);_0x2c0a8a&&console[_0x9c0cd7(0x127)](_0x9c0cd7(0x109)+_0x2c0a8a+'?');const {action:_0xbca668}=await _0x143fad[_0x9c0cd7(0x100)]([{'type':_0x9c0cd7(0xfd),'name':_0x2cf9cb['txwHg'],'message':_0x2cf9cb['EnFmw'],'choices':[..._0x2c0a8a?[{'name':_0x9c0cd7(0x132)+_0x2c0a8a,'value':'use_suggestion'}]:[],{'name':'Enter\x20a\x20different\x20URL','value':'retry'},{'name':'Continue\x20anyway','value':_0x2cf9cb[_0x9c0cd7(0x11e)]}]}]);if(_0x2cf9cb[_0x9c0cd7(0x10a)](_0xbca668,'use_suggestion')&&_0x2c0a8a){_0x1794f6=_0x2c0a8a;const _0x415a0b=await checkUrlReachability(_0x1794f6);if(_0x415a0b['ok'])break;console[_0x9c0cd7(0x127)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x1794f6+':\x20'+_0x415a0b['error']);}else{if(_0xbca668==='continue')break;}}}}_0x47cf9c?.[_0x9c0cd7(0x143)](_0x9c0cd7(0x12d)),await _0x2cf9cb[_0x9c0cd7(0x13d)](mkdir,_0x1e7ce7,{'recursive':!![]});const _0x4aa6d5=await mkdtemp(join(_0x1e7ce7,_0x9c0cd7(0x149)+_0x320b96+'-')),_0x15b3cc=_0x2cf9cb[_0x9c0cd7(0x124)](join,_0x4aa6d5,_0x2cf9cb['kMcHU']);try{if(_0x51f660){_0x47cf9c?.['trackPhaseStart'](_0x2cf9cb[_0x9c0cd7(0x148)]),console['log']('\x0a📋\x20Authentication\x20Setup'),console['log'](_0x2cf9cb[_0x9c0cd7(0x118)]),console[_0x9c0cd7(0x127)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x34bd5d?(console[_0x9c0cd7(0x127)](_0x2cf9cb['XDfaY']),console['log'](_0x9c0cd7(0xeb))):console['log']('');await new Promise(_0x4b92ff=>setTimeout(_0x4b92ff,0xbb8));const _0x4282cc=await chromium['launch']({'headless':![]});try{const _0xc4e2aa=await _0x4282cc[_0x9c0cd7(0xec)]();await _0x2cf9cb[_0x9c0cd7(0x10b)](addProfileSetupBanner,_0xc4e2aa);const _0x564c65=await _0xc4e2aa['newPage']();await _0x564c65[_0x9c0cd7(0x126)](_0x2cf9cb[_0x9c0cd7(0x13c)](_0x1794f6,_0x2cf9cb['GPhIz'])),await new Promise(_0x4116a3=>{const _0x357781=_0x9c0cd7,_0x37f949={'uKiga':function(_0x89d0db){return _0x2cf9cb['VRWwm'](_0x89d0db);}};_0x564c65['on'](_0x357781(0x12f),async()=>{try{console['log']('Saving\x20authentication\x20state...'),await _0xc4e2aa['storageState']({'path':_0x15b3cc});}catch{}_0x37f949['uKiga'](_0x4116a3);});});}finally{await _0x4282cc[_0x9c0cd7(0x12f)]()[_0x9c0cd7(0x133)](()=>{});}if(_0x2d0464){const _0x2b9496=await _0x2cf9cb['nJeZs'](readFile,_0x15b3cc,_0x2cf9cb[_0x9c0cd7(0x11c)]),_0x52ae50=await _0x2cf9cb[_0x9c0cd7(0x108)](getToken);if(!_0x52ae50){console['error'](_0x2cf9cb[_0x9c0cd7(0xf9)]),await unlink(_0x15b3cc)['catch'](()=>{});throw new Error(_0x2cf9cb[_0x9c0cd7(0x139)]);}else{const _0x35942c=_0x2cf9cb[_0x9c0cd7(0x122)](encrypt,_0x2b9496,_0x52ae50);await _0x2cf9cb['fwZzd'](writeFile,_0x2cf9cb['gHmtB'](_0x15b3cc,_0x2cf9cb['ONpkL']),_0x35942c),await unlink(_0x15b3cc),console[_0x9c0cd7(0x127)](_0x9c0cd7(0xfe)+_0x15b3cc+_0x9c0cd7(0x120)),console[_0x9c0cd7(0x127)](_0x2cf9cb[_0x9c0cd7(0x138)]),console['log'](_0x2cf9cb['ivdUM']);}}else console[_0x9c0cd7(0x127)]('✓\x20Auth\x20state\x20saved\x20to:\x20'+_0x15b3cc);_0x47cf9c?.[_0x9c0cd7(0x143)](_0x2cf9cb[_0x9c0cd7(0x148)]);}_0x47cf9c?.[_0x9c0cd7(0x112)](_0x2cf9cb[_0x9c0cd7(0x10f)]);const _0x382d73={};_0x1794f6&&(_0x382d73[_0x9c0cd7(0x116)]=_0x1794f6);_0x59a037['cdpEndpoint']&&(_0x382d73[_0x9c0cd7(0x11b)]=_0x59a037['cdpEndpoint'],_0x382d73[_0x9c0cd7(0xfc)]=!![]);await writeFile(_0x2cf9cb[_0x9c0cd7(0x13d)](join,_0x4aa6d5,'settings.json'),JSON['stringify'](_0x382d73,null,0x2)),console['log'](_0x9c0cd7(0x12b)+join(_0x2f4e3a,_0x2cf9cb[_0x9c0cd7(0x136)]));if(_0x2cf9cb['widpb'](_0x47d948?.['location'],_0x4bd187)){const _0x1491ca=_0x47d948[_0x9c0cd7(0x110)]+'.backup-'+Date[_0x9c0cd7(0x115)]();await _0x2cf9cb[_0x9c0cd7(0x124)](rename,_0x47d948[_0x9c0cd7(0x110)],_0x1491ca);try{await _0x2cf9cb[_0x9c0cd7(0xff)](rename,_0x4aa6d5,_0x2f4e3a);}catch(_0x6aebe6){await _0x2cf9cb['LZPFm'](rename,_0x1491ca,_0x47d948['path']);throw _0x6aebe6;}try{await rm(_0x1491ca,{'recursive':!![]});}catch{console['log'](_0x9c0cd7(0xef)+_0x1491ca);}}else{await rename(_0x4aa6d5,_0x2f4e3a);if(_0x47d948)try{await rm(_0x47d948['path'],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x47d948[_0x9c0cd7(0x110)]);}catch{console[_0x9c0cd7(0x127)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x47d948['path']);}}try{await _0x2cf9cb['jqjYF'](writeActiveProfileName,_0x320b96),console[_0x9c0cd7(0x127)](_0x9c0cd7(0x141)+_0x320b96);}catch{console['log'](_0x2cf9cb[_0x9c0cd7(0x130)]);}_0x47cf9c?.['trackPhaseEnd'](_0x2cf9cb[_0x9c0cd7(0x10f)]),console[_0x9c0cd7(0x127)](_0x9c0cd7(0xfa)+_0x320b96+_0x9c0cd7(0x131));}catch(_0x1dd11a){await rm(_0x4aa6d5,{'recursive':!![],'force':!![]});throw _0x1dd11a;}}
@@ -1 +1 @@
1
- (function(_0x23a7b5,_0x391ee3){const _0x3ecf6b=_0x5e81,_0x3ed4dc=_0x23a7b5();while(!![]){try{const _0x479278=-parseInt(_0x3ecf6b(0x192))/0x1+-parseInt(_0x3ecf6b(0x18c))/0x2*(parseInt(_0x3ecf6b(0x189))/0x3)+-parseInt(_0x3ecf6b(0x185))/0x4*(-parseInt(_0x3ecf6b(0x194))/0x5)+-parseInt(_0x3ecf6b(0x19b))/0x6*(parseInt(_0x3ecf6b(0x195))/0x7)+-parseInt(_0x3ecf6b(0x186))/0x8*(parseInt(_0x3ecf6b(0x184))/0x9)+parseInt(_0x3ecf6b(0x18b))/0xa*(-parseInt(_0x3ecf6b(0x191))/0xb)+parseInt(_0x3ecf6b(0x19a))/0xc*(parseInt(_0x3ecf6b(0x18a))/0xd);if(_0x479278===_0x391ee3)break;else _0x3ed4dc['push'](_0x3ed4dc['shift']());}catch(_0x4c57){_0x3ed4dc['push'](_0x3ed4dc['shift']());}}}(_0x231f,0xed5c0));function _0x5e81(_0x16cc33,_0xc2d33a){_0x16cc33=_0x16cc33-0x184;const _0x231f89=_0x231f();let _0x5e81eb=_0x231f89[_0x16cc33];return _0x5e81eb;}import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x231f(){const _0x3c5bdb=['.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','11KUNVnh','1874423JQHPvM','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','696020CmjLap','80213izqMxV','No\x20auth.json\x20found\x20at\x20','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','auth.json','RQMue','684fvtfPJ','60JOHRiZ','1989720TTzJBW','4pgKaDy','16ptxgUs','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','xsYGg','12UPskpb','980733XycObF','3554480rFQfvp','340248FwjDAv','GRREd','Profile\x20\x22','log'];_0x231f=function(){return _0x3c5bdb;};return _0x231f();}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x2aed24){const _0x457b9f=_0x5e81,_0x555a1b={'xsYGg':function(_0x29a401,_0xaa3365,_0x5a6335){return _0x29a401(_0xaa3365,_0x5a6335);},'LJSHV':function(_0x52cf78){return _0x52cf78();},'nOpIZ':_0x457b9f(0x193),'GRREd':'utf-8','RQMue':function(_0x157360,_0x4bbacf){return _0x157360(_0x4bbacf);}},_0x1347c8=getEnvDir(_0x2aed24),_0x5d1d60=_0x555a1b[_0x457b9f(0x188)](join,_0x1347c8,_0x457b9f(0x198)),_0x50cb53=_0x5d1d60+'.enc';if(!existsSync(_0x1347c8))throw new Error(_0x457b9f(0x18e)+_0x2aed24+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x2aed24);if(!existsSync(_0x5d1d60))throw new Error(_0x457b9f(0x196)+_0x5d1d60+_0x457b9f(0x190));const _0x124565=await _0x555a1b['LJSHV'](getToken);if(!_0x124565)throw new Error(_0x555a1b['nOpIZ']);const _0x52b120=await readFile(_0x5d1d60,_0x555a1b[_0x457b9f(0x18d)]),_0x26c5bc=_0x555a1b[_0x457b9f(0x188)](encrypt,_0x52b120,_0x124565);await writeFile(_0x50cb53,_0x26c5bc),console['log']('\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x50cb53),console['log'](_0x457b9f(0x197)),console[_0x457b9f(0x18f)](_0x457b9f(0x187)),_0x555a1b[_0x457b9f(0x199)](existsSync,_0x50cb53)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console[_0x457b9f(0x18f)]('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
1
+ (function(_0x5e0716,_0x1a5c98){const _0x2380fc=_0x432c,_0x2cf13e=_0x5e0716();while(!![]){try{const _0x8b4d71=parseInt(_0x2380fc(0x88))/0x1+parseInt(_0x2380fc(0x95))/0x2*(parseInt(_0x2380fc(0x92))/0x3)+-parseInt(_0x2380fc(0x96))/0x4+parseInt(_0x2380fc(0x93))/0x5+parseInt(_0x2380fc(0x84))/0x6*(parseInt(_0x2380fc(0x97))/0x7)+parseInt(_0x2380fc(0x8a))/0x8*(-parseInt(_0x2380fc(0x8c))/0x9)+-parseInt(_0x2380fc(0x89))/0xa;if(_0x8b4d71===_0x1a5c98)break;else _0x2cf13e['push'](_0x2cf13e['shift']());}catch(_0x1b0015){_0x2cf13e['push'](_0x2cf13e['shift']());}}}(_0x22c7,0xa6086));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x432c(_0x53cfd7,_0x2c530e){_0x53cfd7=_0x53cfd7-0x83;const _0x22c778=_0x22c7();let _0x432cbe=_0x22c778[_0x53cfd7];return _0x432cbe;}import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x4dd3d7){const _0x5131c2=_0x432c,_0x7549f9={'bUUbv':function(_0x148375,_0x531e97,_0x1fec85){return _0x148375(_0x531e97,_0x1fec85);},'gDgAb':function(_0x49a427,_0x22d8b9){return _0x49a427+_0x22d8b9;},'RNmOA':_0x5131c2(0x91),'eLpys':function(_0x88da94,_0x401c6e){return _0x88da94(_0x401c6e);},'IHEcn':function(_0x3e868d){return _0x3e868d();},'HBeFP':function(_0x46f0a0,_0xe3a2ba,_0x2d80e8){return _0x46f0a0(_0xe3a2ba,_0x2d80e8);},'anWzf':function(_0x301413,_0x4dfe54,_0x4733cd){return _0x301413(_0x4dfe54,_0x4733cd);},'ixhEx':function(_0x96b5b9,_0x5449d6,_0xaafeba){return _0x96b5b9(_0x5449d6,_0xaafeba);},'Enwkk':_0x5131c2(0x94)},_0x58a23e=getEnvDir(_0x4dd3d7),_0x3d58c5=_0x7549f9[_0x5131c2(0x87)](join,_0x58a23e,'auth.json'),_0x100840=_0x7549f9['gDgAb'](_0x3d58c5,_0x7549f9[_0x5131c2(0x90)]);if(!_0x7549f9[_0x5131c2(0x85)](existsSync,_0x58a23e))throw new Error(_0x5131c2(0x83)+_0x4dd3d7+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x4dd3d7);if(!_0x7549f9[_0x5131c2(0x85)](existsSync,_0x3d58c5))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x3d58c5+_0x5131c2(0x8b));const _0x55a0c6=await _0x7549f9['IHEcn'](getToken);if(!_0x55a0c6)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3d73df=await _0x7549f9['HBeFP'](readFile,_0x3d58c5,_0x5131c2(0x8e)),_0xe7fb=_0x7549f9['anWzf'](encrypt,_0x3d73df,_0x55a0c6);await _0x7549f9[_0x5131c2(0x8f)](writeFile,_0x100840,_0xe7fb),console['log'](_0x5131c2(0x86)+_0x100840),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x7549f9['Enwkk']),existsSync(_0x100840)&&(console[_0x5131c2(0x8d)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x5131c2(0x98)));}function _0x22c7(){const _0x4be605=['ixhEx','RNmOA','.enc','15969WJYHdZ','1156675VubWBS','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','102VSCSlg','2849520ZUeVUz','90671dXAnbx','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','Profile\x20\x22','606GtKQbU','eLpys','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','bUUbv','866163dgHJXt','5161930ndmyYL','9416Dhrtxn','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','5877UJVdMs','log','utf-8'];_0x22c7=function(){return _0x4be605;};return _0x22c7();}
@@ -1 +1 @@
1
- function _0x2d45(){const _0x5598bc=['NqHWt','8xwhWkD','sGDoq','feature-tracker','pipe','TMiHA','YQgcK','2369070unyVTg','sywya','project','close','uninstall','ranger','\x0a✅\x20Cleanup\x20complete!\x0a','✓\x20Removed\x20stored\x20credentials','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','✓\x20Removed\x20user\x20skill:\x20','win32','OnGjT','nZZSe','16025110qObzdy','1302017jVlFNZ','9AmuEHz','QWAeP','✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','1049778eSelFK','--scope','✓\x20Removed\x20project\x20skill:\x20','19470RcieeO','✓\x20Removed\x20trailhead\x20marketplace','4066064iuxeCj','error','claude','vEhnG','Thkfb','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','LGvSb','1145QSOzra','3225957tWeAVl','log'];_0x2d45=function(){return _0x5598bc;};return _0x2d45();}(function(_0x3805df,_0x512679){const _0x1db490=_0x1a14,_0x22a011=_0x3805df();while(!![]){try{const _0x46ebeb=-parseInt(_0x1db490(0xa9))/0x1+parseInt(_0x1db490(0x9b))/0x2+-parseInt(_0x1db490(0xad))/0x3*(-parseInt(_0x1db490(0xbd))/0x4)+parseInt(_0x1db490(0xb9))/0x5*(parseInt(_0x1db490(0xb0))/0x6)+parseInt(_0x1db490(0xba))/0x7+-parseInt(_0x1db490(0xb2))/0x8*(-parseInt(_0x1db490(0xaa))/0x9)+-parseInt(_0x1db490(0xa8))/0xa;if(_0x46ebeb===_0x512679)break;else _0x22a011['push'](_0x22a011['shift']());}catch(_0x2c8c31){_0x22a011['push'](_0x22a011['shift']());}}}(_0x2d45,0xa8f69));import{rm}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';import{getRangerDir}from'./utils/rangerRoot.js';function _0x1a14(_0x142849,_0x4497b2){_0x142849=_0x142849-0x99;const _0x2d45af=_0x2d45();let _0x1a1402=_0x2d45af[_0x142849];return _0x1a1402;}import{getCacheFile}from'./utils/sessionCache.js';async function uninstallClaudePlugin(_0x3cde91){const _0x234bc7=_0x1a14,_0x31de6f={'nZZSe':function(_0x189bdc,_0x5a25bb){return _0x189bdc(_0x5a25bb);},'kDZNW':function(_0x443499,_0x447898){return _0x443499(_0x447898);},'URaRf':'plugin','qHGyK':_0x234bc7(0xc0),'LGvSb':'win32','YQgcK':'close','OnGjT':_0x234bc7(0xb3)};return new Promise(_0x267bae=>{const _0x1de3ba=_0x234bc7,_0x3d733f={'GGxAB':function(_0x49316b,_0x40c5d8){return _0x31de6f['kDZNW'](_0x49316b,_0x40c5d8);}},_0x1ca4ff=[_0x31de6f['URaRf'],_0x1de3ba(0x9f),'ranger@trailhead'];_0x3cde91&&_0x1ca4ff['push'](_0x1de3ba(0xae),_0x3cde91);const _0x4ae385=spawn('claude',_0x1ca4ff,{'stdio':_0x31de6f['qHGyK'],'shell':process['platform']===_0x31de6f[_0x1de3ba(0xb8)]});_0x4ae385['on'](_0x31de6f[_0x1de3ba(0x9a)],_0x189400=>{const _0x5d9455=_0x1de3ba;_0x31de6f[_0x5d9455(0xa7)](_0x267bae,_0x189400===0x0);}),_0x4ae385['on'](_0x31de6f[_0x1de3ba(0xa6)],()=>{_0x3d733f['GGxAB'](_0x267bae,![]);});});}async function removeMarketplace(){const _0x3ec7f6=_0x1a14,_0x3ba164={'Thkfb':'marketplace','DHhyc':'trailhead','MvuWu':_0x3ec7f6(0xc0),'TMiHA':function(_0x1c4631,_0x4d75cb){return _0x1c4631===_0x4d75cb;},'QWAeP':_0x3ec7f6(0xa5)};return new Promise(_0xd04c9d=>{const _0x2c5021=_0x3ec7f6,_0x23c2ee=spawn(_0x2c5021(0xb4),['plugin',_0x3ba164[_0x2c5021(0xb6)],'remove',_0x3ba164['DHhyc']],{'stdio':_0x3ba164['MvuWu'],'shell':_0x3ba164[_0x2c5021(0x99)](process['platform'],_0x3ba164[_0x2c5021(0xab)])});_0x23c2ee['on'](_0x2c5021(0x9e),_0x52aa43=>{_0xd04c9d(_0x52aa43===0x0);}),_0x23c2ee['on']('error',()=>{_0xd04c9d(![]);});});}export async function clean(){const _0x302907=_0x1a14,_0x18c251={'txxml':_0x302907(0xa3),'sGDoq':function(_0x32ccc7){return _0x32ccc7();},'wZYzv':function(_0x3dc745,_0x4a537d){return _0x3dc745(_0x4a537d);},'NqHWt':'bug-bash','sywya':'e2e-test-recommender','vEhnG':function(_0x34417b,_0x3ed6aa,_0x38011e){return _0x34417b(_0x3ed6aa,_0x38011e);},'VbVjL':function(_0x25e1c5){return _0x25e1c5();},'daMip':function(_0x2aebdf,_0x2af59c,_0x55834b){return _0x2aebdf(_0x2af59c,_0x55834b);},'ifyFr':_0x302907(0xb7),'VwfjW':_0x302907(0xb1),'wUIQc':'Nothing\x20to\x20clean\x20up.\x0a'};console['log'](_0x18c251['txxml']);let _0x2728cf=![];try{await deleteAllCredentials(),console['log'](_0x302907(0xa2)),_0x2728cf=!![];}catch{}const _0x2b3da3=_0x18c251[_0x302907(0xbe)](getCacheFile);_0x18c251['wZYzv'](existsSync,_0x2b3da3)&&(await rm(_0x2b3da3),_0x2728cf=!![]);const _0x1253cb=getRangerDir();_0x18c251['wZYzv'](existsSync,_0x1253cb)&&(await rm(_0x1253cb,{'recursive':!![]}),console['log']('✓\x20Removed\x20.ranger/\x20directory'),_0x2728cf=!![]);const _0x549eda=[_0x302907(0xa0),_0x302907(0xbf),_0x18c251[_0x302907(0xbc)],_0x18c251[_0x302907(0x9c)]],_0x2be90c=getProjectSkillsDir();for(const _0x50d6d9 of _0x549eda){const _0x3f2ee7=_0x18c251[_0x302907(0xb5)](join,_0x2be90c,_0x50d6d9);existsSync(_0x3f2ee7)&&(await _0x18c251[_0x302907(0xb5)](rm,_0x3f2ee7,{'recursive':!![]}),console['log'](_0x302907(0xaf)+_0x50d6d9),_0x2728cf=!![]);}const _0xd8058c=_0x18c251['VbVjL'](getUserSkillsDir);for(const _0x41e0fd of _0x549eda){const _0x6a52af=_0x18c251[_0x302907(0xb5)](join,_0xd8058c,_0x41e0fd);existsSync(_0x6a52af)&&(await _0x18c251['daMip'](rm,_0x6a52af,{'recursive':!![]}),console['log'](_0x302907(0xa4)+_0x41e0fd),_0x2728cf=!![]);}const _0x33f98c=await uninstallClaudePlugin();_0x33f98c&&(console[_0x302907(0xbb)](_0x18c251['ifyFr']),_0x2728cf=!![]);const _0x2d95ce=await uninstallClaudePlugin(_0x302907(0x9d));_0x2d95ce&&(console['log'](_0x302907(0xac)),_0x2728cf=!![]);const _0x1f13e6=await removeMarketplace();_0x1f13e6&&(console[_0x302907(0xbb)](_0x18c251['VwfjW']),_0x2728cf=!![]),_0x2728cf?console['log'](_0x302907(0xa1)):console[_0x302907(0xbb)](_0x18c251['wUIQc']);}
1
+ function _0x77ba(_0x222f93,_0x5cf13){_0x222f93=_0x222f93-0x132;const _0x476ebf=_0x476e();let _0x77baa=_0x476ebf[_0x222f93];return _0x77baa;}(function(_0x29faed,_0x477202){const _0x1a4cd9=_0x77ba,_0x5a515e=_0x29faed();while(!![]){try{const _0x432f7f=parseInt(_0x1a4cd9(0x149))/0x1*(-parseInt(_0x1a4cd9(0x141))/0x2)+-parseInt(_0x1a4cd9(0x14a))/0x3*(-parseInt(_0x1a4cd9(0x14e))/0x4)+-parseInt(_0x1a4cd9(0x142))/0x5+parseInt(_0x1a4cd9(0x137))/0x6*(parseInt(_0x1a4cd9(0x148))/0x7)+-parseInt(_0x1a4cd9(0x138))/0x8*(parseInt(_0x1a4cd9(0x157))/0x9)+parseInt(_0x1a4cd9(0x143))/0xa*(-parseInt(_0x1a4cd9(0x14c))/0xb)+-parseInt(_0x1a4cd9(0x147))/0xc*(-parseInt(_0x1a4cd9(0x158))/0xd);if(_0x432f7f===_0x477202)break;else _0x5a515e['push'](_0x5a515e['shift']());}catch(_0x1c766e){_0x5a515e['push'](_0x5a515e['shift']());}}}(_0x476e,0xf06bc));import{rm}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';import{getProjectSkillsDir,getUserSkillsDir}from'./utils/claudeConfig.js';function _0x476e(){const _0x34548c=['aPZro','✓\x20Removed\x20project\x20skill:\x20','FIhSP','YXcNc','ZPzGO','BbfIS','72iHMsJi','911651fkljlg','uninstall','uafWM','SJDch','remove','HwXey','538152vYchJz','1498376wWYrnf','win32','KaYHW','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','marketplace','sVucw','platform','QUJOi','auPAf','40kPkTRY','7330370FGMUvJ','187550iMUuDT','FWPHm','VkfWg','dlxUT','816Vehvhd','133eeveJM','80887jXrSgL','1839975lqRbdR','feature-tracker','891iRAYdY','HtoEE','4uAmcup','QmLej','log'];_0x476e=function(){return _0x34548c;};return _0x476e();}import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';async function uninstallClaudePlugin(_0x58ee2f){const _0x2b8384=_0x77ba,_0x23c8b0={'HwXey':function(_0x2c1664,_0x4a7b86){return _0x2c1664(_0x4a7b86);},'jAhpO':function(_0x460ce5,_0x16113f){return _0x460ce5===_0x16113f;},'ZxuYr':_0x2b8384(0x132),'ZPzGO':'--scope','ckzfJ':function(_0x2f5ae2,_0x128cc0,_0xafdc18,_0x434ff3){return _0x2f5ae2(_0x128cc0,_0xafdc18,_0x434ff3);},'vUxbl':'claude','SJDch':function(_0x5779b8,_0x5d54ea){return _0x5779b8===_0x5d54ea;},'KaYHW':_0x2b8384(0x139)};return new Promise(_0x3842df=>{const _0x3faf5b=_0x2b8384,_0x19c594=['plugin',_0x23c8b0['ZxuYr'],'ranger@trailhead'];_0x58ee2f&&_0x19c594['push'](_0x23c8b0[_0x3faf5b(0x155)],_0x58ee2f);const _0x30d975=_0x23c8b0['ckzfJ'](spawn,_0x23c8b0['vUxbl'],_0x19c594,{'stdio':'pipe','shell':_0x23c8b0[_0x3faf5b(0x134)](process['platform'],_0x23c8b0[_0x3faf5b(0x13a)])});_0x30d975['on']('close',_0xba80ea=>{const _0x6551c3=_0x3faf5b;_0x23c8b0[_0x6551c3(0x136)](_0x3842df,_0x23c8b0['jAhpO'](_0xba80ea,0x0));}),_0x30d975['on']('error',()=>{_0x3842df(![]);});});}async function removeMarketplace(){const _0x1c0561=_0x77ba,_0x1fff7d={'sVucw':function(_0x1b5c0c,_0x3790ea){return _0x1b5c0c(_0x3790ea);},'xwGTG':function(_0x5a5307,_0x546a30,_0x47a3a0,_0x51a2c9){return _0x5a5307(_0x546a30,_0x47a3a0,_0x51a2c9);},'BbfIS':'claude','PPSAi':_0x1c0561(0x135),'QUJOi':function(_0x54eb31,_0x36ef69){return _0x54eb31===_0x36ef69;},'ZHium':_0x1c0561(0x139),'RlPwF':'close','VkfWg':'error'};return new Promise(_0x1f971c=>{const _0x59fe82=_0x1c0561,_0xf00cd={'QQyez':function(_0x19deea,_0x268447){return _0x19deea===_0x268447;},'aPZro':function(_0x1b1718,_0x505cd1){const _0x3fc1d7=_0x77ba;return _0x1fff7d[_0x3fc1d7(0x13d)](_0x1b1718,_0x505cd1);}},_0x2b14e4=_0x1fff7d['xwGTG'](spawn,_0x1fff7d[_0x59fe82(0x156)],['plugin',_0x59fe82(0x13c),_0x1fff7d['PPSAi'],'trailhead'],{'stdio':'pipe','shell':_0x1fff7d[_0x59fe82(0x13f)](process[_0x59fe82(0x13e)],_0x1fff7d['ZHium'])});_0x2b14e4['on'](_0x1fff7d['RlPwF'],_0x106bf3=>{_0x1f971c(_0xf00cd['QQyez'](_0x106bf3,0x0));}),_0x2b14e4['on'](_0x1fff7d[_0x59fe82(0x145)],()=>{const _0x3839a4=_0x59fe82;_0xf00cd[_0x3839a4(0x151)](_0x1f971c,![]);});});}export async function clean(){const _0x231440=_0x77ba,_0x693215={'FWPHm':'\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','EuPwU':'✓\x20Removed\x20stored\x20credentials','dlxUT':function(_0x244af1,_0x1926ee){return _0x244af1(_0x1926ee);},'FIhSP':function(_0x5b1935){return _0x5b1935();},'YDFmg':function(_0x5ecf4e,_0x32989c){return _0x5ecf4e(_0x32989c);},'uafWM':function(_0x36ac41,_0x2df61f,_0x28c279){return _0x36ac41(_0x2df61f,_0x28c279);},'juBxJ':'✓\x20Removed\x20.ranger/\x20directory','sPIJS':'ranger','BNfdW':function(_0x3f959b,_0x47b0fc,_0x22652d){return _0x3f959b(_0x47b0fc,_0x22652d);},'YXcNc':function(_0x194fb5,_0x54c60f,_0x143462){return _0x194fb5(_0x54c60f,_0x143462);},'wrTBC':_0x231440(0x13b),'auPAf':function(_0x46378d){return _0x46378d();},'mqPKA':'✓\x20Removed\x20trailhead\x20marketplace','QmLej':'\x0a✅\x20Cleanup\x20complete!\x0a','HtoEE':'Nothing\x20to\x20clean\x20up.\x0a'};console[_0x231440(0x150)](_0x693215[_0x231440(0x144)]);let _0x2479e2=![];try{await deleteAllCredentials(),console['log'](_0x693215['EuPwU']),_0x2479e2=!![];}catch{}const _0x492cbf=getCacheFile();_0x693215[_0x231440(0x146)](existsSync,_0x492cbf)&&(await rm(_0x492cbf),_0x2479e2=!![]);const _0x23d2cd=_0x693215['FIhSP'](getRangerDir);_0x693215['YDFmg'](existsSync,_0x23d2cd)&&(await _0x693215[_0x231440(0x133)](rm,_0x23d2cd,{'recursive':!![]}),console['log'](_0x693215['juBxJ']),_0x2479e2=!![]);const _0x24e566=[_0x693215['sPIJS'],_0x231440(0x14b),'bug-bash','e2e-test-recommender'],_0x2a967a=getProjectSkillsDir();for(const _0x5bd743 of _0x24e566){const _0x5450f8=_0x693215['BNfdW'](join,_0x2a967a,_0x5bd743);existsSync(_0x5450f8)&&(await rm(_0x5450f8,{'recursive':!![]}),console[_0x231440(0x150)](_0x231440(0x152)+_0x5bd743),_0x2479e2=!![]);}const _0x3717f4=_0x693215[_0x231440(0x153)](getUserSkillsDir);for(const _0x6c7090 of _0x24e566){const _0x5286e3=join(_0x3717f4,_0x6c7090);_0x693215['YDFmg'](existsSync,_0x5286e3)&&(await _0x693215[_0x231440(0x154)](rm,_0x5286e3,{'recursive':!![]}),console['log']('✓\x20Removed\x20user\x20skill:\x20'+_0x6c7090),_0x2479e2=!![]);}const _0x489fc5=await uninstallClaudePlugin();_0x489fc5&&(console['log'](_0x693215['wrTBC']),_0x2479e2=!![]);const _0x2e90cb=await uninstallClaudePlugin('project');_0x2e90cb&&(console['log']('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x2479e2=!![]);const _0x294c1d=await _0x693215[_0x231440(0x140)](removeMarketplace);_0x294c1d&&(console['log'](_0x693215['mqPKA']),_0x2479e2=!![]),_0x2479e2?console[_0x231440(0x150)](_0x693215[_0x231440(0x14f)]):console['log'](_0x693215[_0x231440(0x14d)]);}
@@ -1 +1 @@
1
- const _0x540680=_0x2059;(function(_0x3c289b,_0x327a9c){const _0x541180=_0x2059,_0x1cc13d=_0x3c289b();while(!![]){try{const _0x347e77=parseInt(_0x541180(0x98))/0x1+-parseInt(_0x541180(0x9d))/0x2*(parseInt(_0x541180(0x91))/0x3)+-parseInt(_0x541180(0x97))/0x4*(parseInt(_0x541180(0x92))/0x5)+parseInt(_0x541180(0x95))/0x6+parseInt(_0x541180(0xa4))/0x7+parseInt(_0x541180(0x99))/0x8*(-parseInt(_0x541180(0xa2))/0x9)+parseInt(_0x541180(0xa0))/0xa;if(_0x347e77===_0x327a9c)break;else _0x1cc13d['push'](_0x1cc13d['shift']());}catch(_0x1040cd){_0x1cc13d['push'](_0x1cc13d['shift']());}}}(_0xc94f,0xcc986));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x540680(0x94)];function parseValue(_0x173e6c,_0x289abe){const _0x2df054=_0x540680;if(BOOLEAN_KEYS[_0x2df054(0x9b)](_0x173e6c)){if(_0x289abe===_0x2df054(0x9e))return!![];if(_0x289abe===_0x2df054(0xa5))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x173e6c+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x289abe;}export async function configSet(_0x27997b,_0x2f727f,_0x15c36e){const _0x18f704=_0x540680,_0x45ef44={'zbyvY':function(_0x4d4875,_0xdd9526){return _0x4d4875(_0xdd9526);},'IKZfO':function(_0x4fe7e6,_0x56d9df,_0x5b4ed5){return _0x4fe7e6(_0x56d9df,_0x5b4ed5);}},_0x2a3311=getEnvDir(_0x27997b);if(!existsSync(_0x2a3311))throw new Error('Profile\x20\x22'+_0x27997b+'\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20'+_0x27997b);const _0x3d3238=await _0x45ef44[_0x18f704(0x9a)](loadSettings,_0x27997b),_0x331e41=parseValue(_0x2f727f,_0x15c36e);setNestedValue(_0x3d3238,_0x2f727f,_0x331e41),await _0x45ef44[_0x18f704(0x8f)](saveSettings,_0x27997b,_0x3d3238),console[_0x18f704(0x96)](_0x18f704(0x9f)+_0x2f727f+_0x18f704(0xa1)+_0x331e41);}export async function configGet(_0x5eaf0b,_0x3b4b93){const _0x48b9f1=_0x540680,_0x172786={'rqVIp':function(_0x77c1d6,_0x379a7e){return _0x77c1d6(_0x379a7e);},'LLTmS':function(_0x5a6d2f,_0xd10c05){return _0x5a6d2f(_0xd10c05);},'QTsVO':function(_0x235997,_0x3c77d1,_0x3ee500){return _0x235997(_0x3c77d1,_0x3ee500);},'SpRZb':'object'},_0x28a32d=_0x172786['rqVIp'](getEnvDir,_0x5eaf0b);if(!_0x172786['LLTmS'](existsSync,_0x28a32d))throw new Error('Profile\x20\x22'+_0x5eaf0b+_0x48b9f1(0x8c));const _0xf36d2=await loadSettings(_0x5eaf0b),_0x1baa37=_0x172786['QTsVO'](getNestedValue,_0xf36d2,_0x3b4b93);if(_0x1baa37===undefined)console[_0x48b9f1(0x96)]('(not\x20set)');else typeof _0x1baa37===_0x172786[_0x48b9f1(0x90)]?console['log'](JSON['stringify'](_0x1baa37,null,0x2)):console['log'](_0x1baa37);}export async function configList(_0x3c1b1c){const _0x404a62=_0x540680,_0x1a829e={'FQMoj':function(_0x41fcc0,_0x3fee3d){return _0x41fcc0(_0x3fee3d);},'ETPmI':function(_0x500b54,_0x55bc97){return _0x500b54(_0x55bc97);},'JSInS':function(_0x1bac86,_0x57199c){return _0x1bac86(_0x57199c);},'WyFeO':function(_0x597c7e,_0x342c08){return _0x597c7e(_0x342c08);}},_0x14f41d=getSettingsPath(_0x3c1b1c);if(!_0x1a829e['FQMoj'](existsSync,_0x14f41d)){const _0x77e593=_0x1a829e[_0x404a62(0xa3)](getEnvDir,_0x3c1b1c);if(!_0x1a829e['JSInS'](existsSync,_0x77e593))throw new Error(_0x404a62(0x8d)+_0x3c1b1c+'\x22\x20does\x20not\x20exist.');console['log'](_0x404a62(0x93)+_0x3c1b1c+'\x22');return;}const _0x525e17=await _0x1a829e['WyFeO'](loadSettings,_0x3c1b1c),_0x1ca68d=formatSettings(_0x525e17);!_0x1ca68d?console[_0x404a62(0x96)]('No\x20configuration\x20set\x20for\x20\x22'+_0x3c1b1c+'\x22'):console[_0x404a62(0x96)](_0x1ca68d);}function _0x2059(_0x2354c5,_0x45ce61){_0x2354c5=_0x2354c5-0x8c;const _0xc94ff0=_0xc94f();let _0x20597c=_0xc94ff0[_0x2354c5];return _0x20597c;}export async function configUnset(_0x56d374,_0x1515ca){const _0x428595=_0x540680,_0x320a1b={'fsxmW':function(_0x2bdd26,_0x462a1a){return _0x2bdd26(_0x462a1a);},'LknDW':function(_0xed8089,_0x5ee2a4){return _0xed8089(_0x5ee2a4);},'mmzTy':function(_0x55689b,_0x2a7ecc,_0x398a2d){return _0x55689b(_0x2a7ecc,_0x398a2d);}},_0x3a34bf=getEnvDir(_0x56d374);if(!_0x320a1b['fsxmW'](existsSync,_0x3a34bf))throw new Error(_0x428595(0x8d)+_0x56d374+'\x22\x20does\x20not\x20exist.');const _0x29ddfe=await _0x320a1b[_0x428595(0x8e)](loadSettings,_0x56d374),_0x2bb68e=deleteNestedValue(_0x29ddfe,_0x1515ca);_0x2bb68e?(await _0x320a1b['mmzTy'](saveSettings,_0x56d374,_0x29ddfe),console['log']('Removed\x20'+_0x1515ca)):console['log']('Key\x20\x22'+_0x1515ca+_0x428595(0x9c));}function _0xc94f(){const _0x4615cc=['2028664rBUgVw','479293IUuPIz','8KpuXcK','zbyvY','includes','\x22\x20not\x20found','4wksCqe','true','Set\x20','17453140eZyeGr','\x20=\x20','9013563YcHAmJ','ETPmI','3906322PMxEMB','false','\x22\x20does\x20not\x20exist.','Profile\x20\x22','LknDW','IKZfO','SpRZb','2066151RBMVYg','5apFyZI','No\x20configuration\x20set\x20for\x20\x22','headless','5648856ajcXLz','log'];_0xc94f=function(){return _0x4615cc;};return _0xc94f();}
1
+ (function(_0x2f4043,_0x6c6c0e){const _0x1bf2fc=_0x3bfd,_0x59aadf=_0x2f4043();while(!![]){try{const _0x2c2f62=parseInt(_0x1bf2fc(0x1af))/0x1*(parseInt(_0x1bf2fc(0x1bf))/0x2)+-parseInt(_0x1bf2fc(0x1a1))/0x3*(parseInt(_0x1bf2fc(0x1a8))/0x4)+-parseInt(_0x1bf2fc(0x1b3))/0x5+-parseInt(_0x1bf2fc(0x1b2))/0x6*(parseInt(_0x1bf2fc(0x1ba))/0x7)+parseInt(_0x1bf2fc(0x1ad))/0x8+-parseInt(_0x1bf2fc(0x1b8))/0x9*(-parseInt(_0x1bf2fc(0x1bd))/0xa)+parseInt(_0x1bf2fc(0x1be))/0xb;if(_0x2c2f62===_0x6c6c0e)break;else _0x59aadf['push'](_0x59aadf['shift']());}catch(_0x596968){_0x59aadf['push'](_0x59aadf['shift']());}}}(_0x4086,0x8d3a0));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';function _0x4086(){const _0x348fa5=['\x20=\x20','mVQyd','SazNQ','hGCKG','4408632jKuAvo','true','216754Uutvqk',':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22','Removed\x20','10074rSpett','1353540VOitBm','pyXcO','false','Set\x20','poUCh','1179KhKKhT','No\x20configuration\x20set\x20for\x20\x22','2149UIUIxO','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','igCJn','58010BDfdMV','5604995bdeBqH','4JPfXWh','dbQNw','3jrNfrK','\x22\x20not\x20found','BvcZi','object','Profile\x20\x22','\x22\x20does\x20not\x20exist.','log','3557752LCUggI'];_0x4086=function(){return _0x348fa5;};return _0x4086();}function _0x3bfd(_0x3b794a,_0x127c1b){_0x3b794a=_0x3b794a-0x1a0;const _0x40863c=_0x4086();let _0x3bfd24=_0x40863c[_0x3b794a];return _0x3bfd24;}const BOOLEAN_KEYS=['headless'];function parseValue(_0x231bde,_0x1d13a9){const _0x7fe4c1=_0x3bfd,_0x2d8d5d={'moZFL':function(_0x56bb51,_0x5ddec7){return _0x56bb51===_0x5ddec7;},'igCJn':_0x7fe4c1(0x1b5)};if(BOOLEAN_KEYS['includes'](_0x231bde)){if(_0x1d13a9===_0x7fe4c1(0x1ae))return!![];if(_0x2d8d5d['moZFL'](_0x1d13a9,_0x2d8d5d[_0x7fe4c1(0x1bc)]))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x231bde+_0x7fe4c1(0x1b0));}return _0x1d13a9;}export async function configSet(_0x19df88,_0xe59783,_0x162744){const _0x1f15cb=_0x3bfd,_0x2dc8ed={'dbQNw':function(_0x25aeae,_0x3175a9){return _0x25aeae(_0x3175a9);},'SazNQ':function(_0x13802d,_0x50a892,_0x3b165e){return _0x13802d(_0x50a892,_0x3b165e);},'YXDwv':function(_0x357b75,_0xac509e,_0x2e8054,_0x4525fb){return _0x357b75(_0xac509e,_0x2e8054,_0x4525fb);}},_0x572cad=_0x2dc8ed[_0x1f15cb(0x1a0)](getEnvDir,_0x19df88);if(!existsSync(_0x572cad))throw new Error(_0x1f15cb(0x1a5)+_0x19df88+_0x1f15cb(0x1bb)+_0x19df88);const _0x1c16c8=await loadSettings(_0x19df88),_0x4ec9b1=_0x2dc8ed['SazNQ'](parseValue,_0xe59783,_0x162744);_0x2dc8ed['YXDwv'](setNestedValue,_0x1c16c8,_0xe59783,_0x4ec9b1),await _0x2dc8ed[_0x1f15cb(0x1ab)](saveSettings,_0x19df88,_0x1c16c8),console['log'](_0x1f15cb(0x1b6)+_0xe59783+_0x1f15cb(0x1a9)+_0x4ec9b1);}export async function configGet(_0x169de7,_0x2c65fb){const _0x10e409=_0x3bfd,_0x1712f6={'hGCKG':function(_0x52cbd1,_0x18457b){return _0x52cbd1(_0x18457b);},'pyXcO':function(_0x51be59,_0x26b82e){return _0x51be59(_0x26b82e);},'mVQyd':function(_0xf40a08,_0xce6bd7,_0x1b688e){return _0xf40a08(_0xce6bd7,_0x1b688e);},'zVhsR':_0x10e409(0x1a4)},_0x2c29b4=_0x1712f6[_0x10e409(0x1ac)](getEnvDir,_0x169de7);if(!_0x1712f6[_0x10e409(0x1b4)](existsSync,_0x2c29b4))throw new Error(_0x10e409(0x1a5)+_0x169de7+'\x22\x20does\x20not\x20exist.');const _0x4b91fe=await loadSettings(_0x169de7),_0x24741f=_0x1712f6[_0x10e409(0x1aa)](getNestedValue,_0x4b91fe,_0x2c65fb);if(_0x24741f===undefined)console[_0x10e409(0x1a7)]('(not\x20set)');else typeof _0x24741f===_0x1712f6['zVhsR']?console[_0x10e409(0x1a7)](JSON['stringify'](_0x24741f,null,0x2)):console['log'](_0x24741f);}export async function configList(_0x34e6e1){const _0x238569=_0x3bfd,_0x3910be={'BvcZi':function(_0x45a8c8,_0x507a07){return _0x45a8c8(_0x507a07);}},_0x5f17ef=_0x3910be['BvcZi'](getSettingsPath,_0x34e6e1);if(!existsSync(_0x5f17ef)){const _0x29f5c3=getEnvDir(_0x34e6e1);if(!_0x3910be[_0x238569(0x1a3)](existsSync,_0x29f5c3))throw new Error(_0x238569(0x1a5)+_0x34e6e1+'\x22\x20does\x20not\x20exist.');console['log'](_0x238569(0x1b9)+_0x34e6e1+'\x22');return;}const _0x23763c=await _0x3910be['BvcZi'](loadSettings,_0x34e6e1),_0x3d4f68=formatSettings(_0x23763c);!_0x3d4f68?console['log'](_0x238569(0x1b9)+_0x34e6e1+'\x22'):console['log'](_0x3d4f68);}export async function configUnset(_0x69c9db,_0x53ec99){const _0x2e4761=_0x3bfd,_0xd0c10={'poUCh':function(_0xee73a6,_0x31b39b,_0x3a200d){return _0xee73a6(_0x31b39b,_0x3a200d);}},_0x226194=getEnvDir(_0x69c9db);if(!existsSync(_0x226194))throw new Error('Profile\x20\x22'+_0x69c9db+_0x2e4761(0x1a6));const _0x5c6fa1=await loadSettings(_0x69c9db),_0x33cf86=_0xd0c10[_0x2e4761(0x1b7)](deleteNestedValue,_0x5c6fa1,_0x53ec99);_0x33cf86?(await saveSettings(_0x69c9db,_0x5c6fa1),console['log'](_0x2e4761(0x1b1)+_0x53ec99)):console['log']('Key\x20\x22'+_0x53ec99+_0x2e4761(0x1a2));}
@@ -1 +1 @@
1
- const _0x2355c4=_0x1a95;(function(_0xa53e0b,_0x13b469){const _0x355f8e=_0x1a95,_0x33e483=_0xa53e0b();while(!![]){try{const _0x2be37f=parseInt(_0x355f8e(0xdf))/0x1*(parseInt(_0x355f8e(0xcf))/0x2)+-parseInt(_0x355f8e(0xc1))/0x3*(-parseInt(_0x355f8e(0xc0))/0x4)+parseInt(_0x355f8e(0xc8))/0x5+parseInt(_0x355f8e(0xdd))/0x6*(-parseInt(_0x355f8e(0xd5))/0x7)+-parseInt(_0x355f8e(0xd4))/0x8*(-parseInt(_0x355f8e(0xc2))/0x9)+parseInt(_0x355f8e(0xd7))/0xa+-parseInt(_0x355f8e(0xcd))/0xb*(parseInt(_0x355f8e(0xdb))/0xc);if(_0x2be37f===_0x13b469)break;else _0x33e483['push'](_0x33e483['shift']());}catch(_0x57796d){_0x33e483['push'](_0x33e483['shift']());}}}(_0x454f,0x98572));import{readdir,stat}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{getRangerDir}from'./utils/rangerRoot.js';import{loadSettings}from'./utils/settings.js';function _0x1a95(_0x38f848,_0x57dde7){_0x38f848=_0x38f848-0xbf;const _0x454f41=_0x454f();let _0x1a9503=_0x454f41[_0x38f848];return _0x1a9503;}import{readActiveProfileName}from'./utils/activeProfile.js';const NON_ENV_DIRS=[_0x2355c4(0xc5),'bug-bashes','reports',_0x2355c4(0xc7),'ci'];export async function getEnvNames(){const _0x1bcd19=_0x2355c4,_0x3afb42={'gzgvb':function(_0x2d186f){return _0x2d186f();},'hmlcm':function(_0x42276c,_0x32989e,_0x3668db){return _0x42276c(_0x32989e,_0x3668db);},'DFyVJ':function(_0x28ea36,_0x1915e6){return _0x28ea36(_0x1915e6);},'oAdWe':function(_0x4eead8,_0x23e3ee,_0x2e7910){return _0x4eead8(_0x23e3ee,_0x2e7910);},'zbwAv':function(_0x2e778b,_0x5a0644){return _0x2e778b(_0x5a0644);},'DpsPW':'local','wBdch':function(_0x5371e6,_0x3fe8d5,_0x94f55e){return _0x5371e6(_0x3fe8d5,_0x94f55e);},'dMFlY':function(_0x17f056,_0x53c99c){return _0x17f056(_0x53c99c);},'egbjx':function(_0x597922,_0x4545bf){return _0x597922(_0x4545bf);},'XvofR':function(_0x422793,_0x307194,_0x4b569f){return _0x422793(_0x307194,_0x4b569f);}},_0x594a74=_0x3afb42['gzgvb'](getRangerDir);if(!existsSync(_0x594a74))return{'envNames':[],'activeEnv':null,'envTypes':{}};const _0x4fc366=await _0x3afb42['gzgvb'](readActiveProfileName),_0x1d0fb9=[],_0x42a5d2={},_0x97cda0=_0x3afb42[_0x1bcd19(0xc9)](join,_0x594a74,'local');if(_0x3afb42['DFyVJ'](existsSync,_0x97cda0)){const _0x27d49f=await readdir(_0x97cda0);for(const _0x3a06d8 of _0x27d49f){const _0x2da9ec=_0x3afb42[_0x1bcd19(0xd8)](join,_0x97cda0,_0x3a06d8),_0x20633e=await _0x3afb42['zbwAv'](stat,_0x2da9ec);_0x20633e['isDirectory']()&&(_0x1d0fb9[_0x1bcd19(0xbf)](_0x3a06d8),_0x42a5d2[_0x3a06d8]=_0x3afb42[_0x1bcd19(0xd3)]);}}const _0x972319=_0x3afb42[_0x1bcd19(0xdc)](join,_0x594a74,'ci');if(_0x3afb42[_0x1bcd19(0xd2)](existsSync,_0x972319)){const _0x350d3e=await _0x3afb42[_0x1bcd19(0xcb)](readdir,_0x972319);for(const _0x36608d of _0x350d3e){const _0x223e7c=join(_0x972319,_0x36608d),_0x1a61e7=await stat(_0x223e7c);_0x1a61e7['isDirectory']()&&(_0x1d0fb9['push'](_0x36608d),_0x42a5d2[_0x36608d]='ci');}}const _0x33caaf=await readdir(_0x594a74);for(const _0x3bf370 of _0x33caaf){if(NON_ENV_DIRS['includes'](_0x3bf370))continue;if(_0x3bf370['startsWith']('.'))continue;if(_0x3bf370[_0x1bcd19(0xd6)]('.txt'))continue;const _0xaaa716=_0x3afb42[_0x1bcd19(0xd8)](join,_0x594a74,_0x3bf370),_0x367266=await stat(_0xaaa716);_0x367266[_0x1bcd19(0xcc)]()&&_0x3afb42[_0x1bcd19(0xd0)](existsSync,_0x3afb42['XvofR'](join,_0xaaa716,'settings.json'))&&(!_0x1d0fb9[_0x1bcd19(0xc3)](_0x3bf370)&&(_0x1d0fb9['push'](_0x3bf370),_0x42a5d2[_0x3bf370]=_0x1bcd19(0xda)));}return{'envNames':_0x1d0fb9,'activeEnv':_0x4fc366,'envTypes':_0x42a5d2};}export async function envList(){const _0x1ebd5f=_0x2355c4,_0x3cee61={'RqIDP':function(_0x4dcf2e){return _0x4dcf2e();},'MiuiO':_0x1ebd5f(0xd1),'pgjJf':function(_0x26883e,_0x2ea8f5){return _0x26883e===_0x2ea8f5;},'EBhCz':function(_0x4bc5e6,_0x21391c){return _0x4bc5e6(_0x21391c);},'AYSHM':function(_0x1ae525,_0x269daf){return _0x1ae525===_0x269daf;},'gaAGU':'legacy'},{envNames:_0x43e763,activeEnv:_0x605efd,envTypes:_0x35ee72}=await _0x3cee61[_0x1ebd5f(0xca)](getEnvNames);if(_0x43e763['length']===0x0){console['log'](_0x3cee61['MiuiO']),console[_0x1ebd5f(0xc6)]('Run:\x20ranger\x20profile\x20add\x20<profile-name>');return;}console['log']('\x0aProfiles:');for(const _0x1d88e9 of _0x43e763[_0x1ebd5f(0xc4)]()){const _0x55951a=_0x3cee61[_0x1ebd5f(0xce)](_0x1d88e9,_0x605efd),_0x216355=_0x35ee72[_0x1d88e9]||'local',_0x57d19c=await _0x3cee61['EBhCz'](loadSettings,_0x1d88e9),_0x40aab5=_0x3cee61['AYSHM'](_0x216355,_0x3cee61['gaAGU'])?'':'\x20['+_0x216355+']';console[_0x1ebd5f(0xc6)]('\x20\x20'+(_0x55951a?'*\x20':'\x20\x20')+_0x1d88e9+_0x40aab5),_0x57d19c[_0x1ebd5f(0xd9)]&&console[_0x1ebd5f(0xc6)](_0x1ebd5f(0xde)+_0x57d19c['baseUrl']),_0x57d19c['environmentDetails']&&console[_0x1ebd5f(0xc6)]('\x20\x20\x20\x20\x20\x20Details:\x20'+_0x57d19c['environmentDetails']);}_0x605efd&&console[_0x1ebd5f(0xc6)]('\x0a*\x20=\x20active\x20profile');}function _0x454f(){const _0x2354fe=['sort','sessions','log','local','26235kPFDvg','hmlcm','RqIDP','DFyVJ','isDirectory','11RVmMqk','pgjJf','4206hYBKbr','egbjx','\x0aNo\x20profiles\x20found.','dMFlY','DpsPW','56344FhoIRR','7oWPBKi','endsWith','3272170MOcrtC','oAdWe','baseUrl','legacy','10453764tLYWpN','wBdch','3849852ldzSKx','\x20\x20\x20\x20\x20\x20URL:\x20','334CMYMXl','push','4cChezQ','1615407rlDxZA','720KjhJdC','includes'];_0x454f=function(){return _0x2354fe;};return _0x454f();}
1
+ function _0x37eb(_0x3d39d1,_0x431246){_0x3d39d1=_0x3d39d1-0x1ad;const _0x48297b=_0x4829();let _0x37ebbd=_0x48297b[_0x3d39d1];return _0x37ebbd;}const _0x595bb2=_0x37eb;function _0x4829(){const _0x2f3bdc=['\x0aProfiles:','XOWeW','380308KJVilV','nMaeD','487784xhKiLH','479760qJqmla','dmgjM','environmentDetails','bug-bashes','.txt','pQYBA','isDirectory','push','eIvgO','local','892367WTPnTf','308195sCmFlc','940722ZFuLPe','\x20\x20\x20\x20\x20\x20Details:\x20','legacy','IhzZW','239157OMWzkQ','ywjcd','includes','cLHbY','5ImQxOU','JozlM','log','baseUrl','settings.json','88dQgPPl'];_0x4829=function(){return _0x2f3bdc;};return _0x4829();}(function(_0x43f830,_0x2ecd96){const _0x3a4873=_0x37eb,_0xcb3aa4=_0x43f830();while(!![]){try{const _0x39c8a1=-parseInt(_0x3a4873(0x1b5))/0x1+parseInt(_0x3a4873(0x1c6))/0x2+-parseInt(_0x3a4873(0x1c9))/0x3+-parseInt(_0x3a4873(0x1c8))/0x4+-parseInt(_0x3a4873(0x1be))/0x5*(-parseInt(_0x3a4873(0x1b6))/0x6)+parseInt(_0x3a4873(0x1b4))/0x7+parseInt(_0x3a4873(0x1c3))/0x8*(parseInt(_0x3a4873(0x1ba))/0x9);if(_0x39c8a1===_0x2ecd96)break;else _0xcb3aa4['push'](_0xcb3aa4['shift']());}catch(_0x56516d){_0xcb3aa4['push'](_0xcb3aa4['shift']());}}}(_0x4829,0x2b218));import{readdir,stat}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{getRangerDir}from'./utils/rangerRoot.js';import{loadSettings}from'./utils/settings.js';import{readActiveProfileName}from'./utils/activeProfile.js';const NON_ENV_DIRS=['sessions',_0x595bb2(0x1ad),'reports',_0x595bb2(0x1b3),'ci'];export async function getEnvNames(){const _0x57f034=_0x595bb2,_0x534fca={'ySLLn':function(_0x45c90f){return _0x45c90f();},'cLHbY':function(_0x22a404,_0x13f957){return _0x22a404(_0x13f957);},'YUdTz':function(_0x326620,_0x2475bf,_0xe14ee5){return _0x326620(_0x2475bf,_0xe14ee5);},'JozlM':function(_0x2e8cb3,_0x4c2388){return _0x2e8cb3(_0x4c2388);},'KwfUY':function(_0x30c7f7,_0x54e21,_0x21ebc6){return _0x30c7f7(_0x54e21,_0x21ebc6);},'nMaeD':function(_0x9f4327,_0x7ae24a){return _0x9f4327(_0x7ae24a);},'ywjcd':function(_0x24deae,_0x4c8092){return _0x24deae(_0x4c8092);},'dmgjM':function(_0x491e5e,_0x2b39d0){return _0x491e5e(_0x2b39d0);},'Leuxy':function(_0x38bb8c,_0x572dad,_0x4368a8){return _0x38bb8c(_0x572dad,_0x4368a8);},'lrEPY':_0x57f034(0x1b8)},_0x5f27db=_0x534fca['ySLLn'](getRangerDir);if(!_0x534fca[_0x57f034(0x1bd)](existsSync,_0x5f27db))return{'envNames':[],'activeEnv':null,'envTypes':{}};const _0x52591d=await readActiveProfileName(),_0x12b520=[],_0x364f1c={},_0x1a7715=_0x534fca['YUdTz'](join,_0x5f27db,_0x57f034(0x1b3));if(_0x534fca[_0x57f034(0x1bf)](existsSync,_0x1a7715)){const _0x4be1b6=await readdir(_0x1a7715);for(const _0xa16d9c of _0x4be1b6){const _0x5dcc75=_0x534fca['KwfUY'](join,_0x1a7715,_0xa16d9c),_0x3d0fee=await _0x534fca[_0x57f034(0x1bd)](stat,_0x5dcc75);_0x3d0fee['isDirectory']()&&(_0x12b520['push'](_0xa16d9c),_0x364f1c[_0xa16d9c]=_0x57f034(0x1b3));}}const _0x460bc2=join(_0x5f27db,'ci');if(_0x534fca[_0x57f034(0x1c7)](existsSync,_0x460bc2)){const _0x2dc7d4=await _0x534fca[_0x57f034(0x1c7)](readdir,_0x460bc2);for(const _0x192a84 of _0x2dc7d4){const _0x3b69b8=join(_0x460bc2,_0x192a84),_0x534c16=await _0x534fca[_0x57f034(0x1bb)](stat,_0x3b69b8);_0x534c16[_0x57f034(0x1b0)]()&&(_0x12b520[_0x57f034(0x1b1)](_0x192a84),_0x364f1c[_0x192a84]='ci');}}const _0x3cd289=await _0x534fca[_0x57f034(0x1ca)](readdir,_0x5f27db);for(const _0x27fc7b of _0x3cd289){if(NON_ENV_DIRS[_0x57f034(0x1bc)](_0x27fc7b))continue;if(_0x27fc7b['startsWith']('.'))continue;if(_0x27fc7b['endsWith'](_0x57f034(0x1ae)))continue;const _0x2faf0d=_0x534fca['Leuxy'](join,_0x5f27db,_0x27fc7b),_0x35c2a3=await stat(_0x2faf0d);_0x35c2a3['isDirectory']()&&_0x534fca[_0x57f034(0x1ca)](existsSync,_0x534fca['YUdTz'](join,_0x2faf0d,_0x57f034(0x1c2)))&&(!_0x12b520[_0x57f034(0x1bc)](_0x27fc7b)&&(_0x12b520['push'](_0x27fc7b),_0x364f1c[_0x27fc7b]=_0x534fca['lrEPY']));}return{'envNames':_0x12b520,'activeEnv':_0x52591d,'envTypes':_0x364f1c};}export async function envList(){const _0x4950b4=_0x595bb2,_0x343742={'BFedi':function(_0x267dc6,_0x63a072){return _0x267dc6===_0x63a072;},'iTbqB':'\x0aNo\x20profiles\x20found.','eIvgO':'Run:\x20ranger\x20profile\x20add\x20<profile-name>','XOWeW':_0x4950b4(0x1c4),'pQYBA':function(_0x1b31da,_0x2e5386){return _0x1b31da===_0x2e5386;},'tDWLN':_0x4950b4(0x1b3),'IhzZW':function(_0x151a4e,_0x76f2be){return _0x151a4e(_0x76f2be);}},{envNames:_0x581141,activeEnv:_0x22933e,envTypes:_0x3fa59c}=await getEnvNames();if(_0x343742['BFedi'](_0x581141['length'],0x0)){console['log'](_0x343742['iTbqB']),console[_0x4950b4(0x1c0)](_0x343742[_0x4950b4(0x1b2)]);return;}console['log'](_0x343742[_0x4950b4(0x1c5)]);for(const _0x1ea8c9 of _0x581141['sort']()){const _0x17066b=_0x343742[_0x4950b4(0x1af)](_0x1ea8c9,_0x22933e),_0x4da66c=_0x3fa59c[_0x1ea8c9]||_0x343742['tDWLN'],_0x33a713=await _0x343742[_0x4950b4(0x1b9)](loadSettings,_0x1ea8c9),_0x528abb=_0x343742[_0x4950b4(0x1af)](_0x4da66c,_0x4950b4(0x1b8))?'':'\x20['+_0x4da66c+']';console['log']('\x20\x20'+(_0x17066b?'*\x20':'\x20\x20')+_0x1ea8c9+_0x528abb),_0x33a713['baseUrl']&&console[_0x4950b4(0x1c0)]('\x20\x20\x20\x20\x20\x20URL:\x20'+_0x33a713[_0x4950b4(0x1c1)]),_0x33a713[_0x4950b4(0x1cb)]&&console[_0x4950b4(0x1c0)](_0x4950b4(0x1b7)+_0x33a713[_0x4950b4(0x1cb)]);}_0x22933e&&console['log']('\x0a*\x20=\x20active\x20profile');}