@ranger-testing/ranger-cli 2.2.1 → 2.2.2

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 (67) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/stitchWebmFiles.js +1 -1
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  63. package/build/commands/utils/userApi.js +1 -1
  64. package/build/commands/utils/version.js +1 -1
  65. package/build/commands/verifyFeature.js +1 -1
  66. package/build/commands/verifyInBrowser.js +1 -1
  67. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x420c1b=_0x4a8a;(function(_0x2c9359,_0x48f500){const _0x5a59ee=_0x4a8a,_0x3680c3=_0x2c9359();while(!![]){try{const _0x2b503a=parseInt(_0x5a59ee(0x247))/0x1*(-parseInt(_0x5a59ee(0x1cb))/0x2)+-parseInt(_0x5a59ee(0x28d))/0x3+-parseInt(_0x5a59ee(0x26a))/0x4*(parseInt(_0x5a59ee(0x2a2))/0x5)+-parseInt(_0x5a59ee(0x227))/0x6*(parseInt(_0x5a59ee(0x1d4))/0x7)+parseInt(_0x5a59ee(0x2a1))/0x8*(parseInt(_0x5a59ee(0x24d))/0x9)+-parseInt(_0x5a59ee(0x2bb))/0xa+parseInt(_0x5a59ee(0x270))/0xb;if(_0x2b503a===_0x48f500)break;else _0x3680c3['push'](_0x3680c3['shift']());}catch(_0x303d5c){_0x3680c3['push'](_0x3680c3['shift']());}}}(_0x8e37,0x44c3e));import _0x59113a from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x222865=_0x4a8a,_0x570a7d={'WFaNG':function(_0x463ca7,_0x29ef13){return _0x463ca7!==_0x29ef13;},'zaEwA':function(_0xb8d699,_0x35f7d6,_0x1d6de3){return _0xb8d699(_0x35f7d6,_0x1d6de3);},'AYBCZ':'.ranger'};let _0x370fb6=process[_0x222865(0x2c3)]();const _0x302a1b=parse(_0x370fb6)[_0x222865(0x2c4)];while(_0x570a7d['WFaNG'](_0x370fb6,_0x302a1b)){if(existsSync(_0x570a7d[_0x222865(0x225)](join,_0x370fb6,_0x570a7d['AYBCZ']))||existsSync(join(_0x370fb6,'.env')))return _0x370fb6;_0x370fb6=dirname(_0x370fb6);}return process[_0x222865(0x2c3)]();}_0x59113a[_0x420c1b(0x236)]({'path':join(findProjectRoot(),_0x420c1b(0x1a5))});import _0x2cd5f7 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{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,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'](_0x420c1b(0x2a3),async _0x4ac6a0=>{const _0x3d39c5=getCurrentCollector();_0x3d39c5&&await _0x3d39c5['trackCommandError'](_0x4ac6a0),process['exitCode']=0x1;});const rawArgs=process['argv'][_0x420c1b(0x2cb)](0x2),TOP_LEVEL_HELP=_0x420c1b(0x27c),PROFILE_HELP=_0x420c1b(0x24c),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 _0x8e37(){const _0x2e4934=['ranger\x20feature\x20create','gDJCO','678188yaJaAa','efVbk','CSQPO','JOBXQ','WuxPr','wyenW','16266030WOBUeR','Install\x20Ranger\x20skills','Usfav','ranger\x20config\x20set','profile-name','ranger\x20verify-feature','wQvyy','lztQT','current-branch','hook:disable','project','ranger\x20config\x20list','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\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\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\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.','SVZHK','zYVqh','UKZqQ','env-name','Name\x20of\x20the\x20profile\x20to\x20update','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','You\x20must\x20specify\x20a\x20profile\x20subcommand','AzaYU','ranger\x20feature\x20add-checklist-item','qiskI','oonKU','exit','NlAoC','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','cdp-endpoint','positional','1632060PfxrDk','option','qfhSc','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Twvrz','add\x20<profile-name>','yftZH','afIDh','force','skip-chromium','tlwFq','BeQMo','TWnXt','url','config\x20get','severity','RQHTZ','ranger\x20config\x20get','KHqpr','WcKII','9528SlnEWu','5MTirgR','unhandledRejection','ranger\x20env\x20update','ranger\x20setup','adirE','ranger\x20start','syBWF','name','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','kEJqs','setup-ci\x20<token>','ranger\x20profile\x20encrypt-auth','\x0aIssues:','DEXrp','--profile','hWUTw','skip-auth','delete\x20[id]','env\x20list','use\x20<env-name>','ranger\x20profile\x20config\x20set','\x20VERIFIED','OmJRW','qjCCb','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','850490DNQtzV','BleXq','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','Scenario\x20number\x20to\x20edit\x20(1-based)','notes','Scenario\x20description','ceanM','ivZQc','cwd','root','AOPwO','blocked','\x20FAILED','XKPny','incomplete','\x20is\x20now\x20','slice','message','IIRKJ','OPZPr','iuxer','oumJm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Config\x20value','key','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','wqdzt','CAxFK','kayHt','some','zUdyo','jLsof','scriptName','jiUZa','BVIls','Initialize\x20Ranger\x20in\x20your\x20project','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','get-review\x20[id]','LlJGw','Feature\x20review\x20ID','Btpbz','Documentation:\x0a','XLwzV','QLgZc','feature\x20get-feedback','crPPP','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','CiGbv','xYwRz','list\x20<profile>','debug-address-comments','.env','CCWtb','token','WHYga','Unknown\x20command','ranger\x20auth\x20encrypt','pMcDQ','start-path','profile','PtkgF','model','offset','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','\x0aUnknown\x20command:\x20','Skip\x20Chromium\x20browser\x20installation','evaluation','ranger\x20list','\x20\x20https://docs.ranger.net\x0a','profile\x20config\x20set','SHVBW','setup\x20[token]','hook','EJYvK','edit-scenario\x20<description>','repeat','profile\x20config\x20list','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NzSai','--scenario','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','lxBLj','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','limit','issues','pqRok','include-deleted','LIUVx','Unknown\x20error','2632yYwmYl','show\x20[id]','pIAuN','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','ulFkU','restore\x20<id>','MOSVd','demandCommand','feature\x20delete','481957iqHfqI','usage','CZXsc','JMpnb','Profile\x20name','miSwr','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','ranger\x20feature\x20resume','zJWtT','ALdaE','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','update','profile\x20encrypt-auth','KQXOl','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','forEach','Get\x20a\x20config\x20value','xIHnL','ranger\x20profile\x20update','OZAZs','string','TUUnN','IJRqv','knSGx','profile\x20use','checklist','ZeHzd','EGJdL','session-id','CSEyo','--item','profile\x20config\x20unset','Feature\x20review\x20name','aXRvO','jzVEv','base-url','json','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','QeTcO','scenario','qgSFa','task','get\x20<env>\x20<key>','You\x20must\x20specify\x20a\x20command','epilogue','boolean','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','RAYYd','TXEmN','RGobq','value','fesam','trackCommandError','TJCPk','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','resume','description','Ranger\x20API\x20token','opencode','bDeIO','Muvou','Feature\x20review\x20description','array','add-checklist-item\x20<description>','log','QymeM','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','env','KXsHW','SBVGi','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','enable','FeMzR','claude','error','Install\x20scope\x20for\x20skills','scope','YPfXs','ranger\x20add-scenario','encrypt-auth\x20<profile>','zaEwA','debug-outcome','36tKDlea','Name\x20of\x20the\x20environment','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','cnnPm','create\x20<name>','config\x20unset','kcJJd','OkhRC','Config\x20key\x20to\x20remove','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','Hoarb','eZtWf','Scenario\x20index\x20(1-based)','WgyRH','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','config','Qxykj','ranger\x20feature\x20list','encrypt\x20<profile>','YODVf','skillup','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','Name\x20of\x20the\x20profile','NWfuP','ranger\x20config\x20unset','DHKQT','Manage\x20profiles','partial','unset\x20<profile>\x20<key>','miBoS','yWTxX','ranger\x20feature\x20delete','302ILZYQO','status','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','update\x20<env-name>','YWevK','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','3114lcJxLS','eWHSt','command','setup-ci','zSfsm','start','set\x20<profile>\x20<key>\x20<value>','lYBKD','List\x20all\x20profiles','InLpf','number','kGKbR','hZnFn','list','CQpoB','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','includes','ranger\x20add\x20env','OMwoT','List\x20all\x20feature\x20reviews','Number\x20of\x20feature\x20reviews\x20to\x20skip','Remove\x20a\x20config\x20value','ranger\x20profile\x20config\x20get','feature\x20restore','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','profile\x20ls'];_0x8e37=function(){return _0x2e4934;};return _0x8e37();}function _0x4a8a(_0x2b6ca6,_0x16b621){_0x2b6ca6=_0x2b6ca6-0x184;const _0x8e37c4=_0x8e37();let _0x4a8ab9=_0x8e37c4[_0x2b6ca6];return _0x4a8ab9;}function warnRenamed(_0xde0018,_0x59f0c7){const _0x51e123=_0x420c1b;console['error']('\x0a'+_0xde0018+_0x51e123(0x2ca)+_0x59f0c7+'\x0a');}function argUsed(_0x2399c3){const _0x10b338=_0x420c1b;return rawArgs[_0x10b338(0x18f)](_0x342048=>_0x342048===_0x2399c3||_0x342048['startsWith'](_0x2399c3+'='));}function warnFlagRenamed(_0x5bed96,_0x1cb548,_0x474100){const _0x1d9cf5={'cmQTj':function(_0x208af9,_0x3b3012,_0x57ba00){return _0x208af9(_0x3b3012,_0x57ba00);}};argUsed(_0x1cb548)&&_0x1d9cf5['cmQTj'](warnRenamed,_0x5bed96+'\x20'+_0x1cb548,_0x5bed96+'\x20'+_0x474100);}async function runGoCommand(_0x40282b,_0xc0305a=![]){const _0x369628=_0x420c1b,_0x42478d={'XKPny':function(_0x25e495,_0x3b69cb){return _0x25e495+_0x3b69cb;},'BVIls':_0x369628(0x275),'KQXOl':'ranger\x20go','MiIXr':function(_0x8111d3,_0x45b616,_0x333813,_0x31adab){return _0x8111d3(_0x45b616,_0x333813,_0x31adab);},'bDeIO':'--env','BleXq':function(_0x4a4a81,_0x56391f,_0x5db2ae,_0x1ebe57){return _0x4a4a81(_0x56391f,_0x5db2ae,_0x1ebe57);},'ALdaE':'--task','masyK':_0x369628(0x1f3),'XEAfW':'flag','IJOVo':'default','euzuk':'start-path','CiGbv':'verified','CSEyo':_0x369628(0x2b7),'NzSai':function(_0x15b2e6,_0x2726bf){return _0x15b2e6===_0x2726bf;},'jLsof':'\x20INCOMPLETE','rfaFf':_0x369628(0x242),'KsNGh':'\x20PARTIAL','YcllH':_0x369628(0x2c7),'DOQMD':_0x369628(0x2ae),'FeMzR':function(_0x31d6b9,_0x589bb2){return _0x31d6b9===_0x589bb2;}};_0xc0305a&&warnRenamed(_0x42478d[_0x369628(0x194)],_0x42478d[_0x369628(0x1e2)]);_0x42478d['MiIXr'](warnFlagRenamed,'ranger\x20go',_0x42478d[_0x369628(0x210)],_0x369628(0x2b0)),_0x42478d[_0x369628(0x2bc)](warnFlagRenamed,_0x42478d['KQXOl'],_0x42478d[_0x369628(0x1dd)],'--notes'),warnFlagRenamed('ranger\x20go',_0x42478d['masyK'],'--scenario');const _0x2a6641=await loadRangerConfig(),_0x11c238=_0x40282b['model'],_0x814939=_0x2a6641[_0x369628(0x1af)],_0x2f577b=_0x11c238??_0x814939,_0x54d4ab=_0x11c238?_0x42478d['XEAfW']:_0x814939?_0x369628(0x236):_0x42478d['IJOVo'],_0x57a881=await verifyFeature({'featureId':_0x40282b['feature'],'profile':_0x40282b[_0x369628(0x1ad)]??_0x40282b['env'],'notes':_0x40282b['notes']??_0x40282b[_0x369628(0x1fe)],'scenario':_0x40282b[_0x369628(0x1fc)]??_0x40282b['item'],'startPath':_0x40282b[_0x42478d['euzuk']],'debugOutcome':_0x40282b[_0x369628(0x226)],'debugAddressComments':_0x40282b[_0x369628(0x1a4)],'headed':_0x40282b['headed'],'verifyModel':_0x2f577b,'verifyModelInput':_0x2f577b,'verifyModelSource':_0x54d4ab});console['log']('\x0a'+'='[_0x369628(0x1bd)](0x3c)),console['log'](_0x57a881['evaluation']===_0x42478d[_0x369628(0x1a1)]?_0x42478d[_0x369628(0x1f2)]:_0x42478d[_0x369628(0x1c0)](_0x57a881[_0x369628(0x1b4)],'incomplete')?_0x42478d[_0x369628(0x191)]:_0x57a881[_0x369628(0x1b4)]===_0x42478d['rfaFf']?_0x42478d['KsNGh']:_0x57a881['evaluation']===_0x369628(0x2c6)?'\x20BLOCKED':_0x42478d['YcllH']),console['log']('='[_0x369628(0x1bd)](0x3c)),console['log']('Summary:\x20'+_0x57a881['summary']),console['log']('Evaluation:\x20'+_0x57a881[_0x369628(0x1b4)]),console[_0x369628(0x215)]('Reason:\x20'+_0x57a881['evaluationReason']),_0x57a881[_0x369628(0x1c6)]?.['length']&&(console[_0x369628(0x215)](_0x42478d['DOQMD']),_0x57a881['issues'][_0x369628(0x1e4)]((_0x2cdf70,_0x20848a)=>{const _0xf21c84=_0x369628;console[_0xf21c84(0x215)]('\x0a'+_0x42478d[_0xf21c84(0x2c8)](_0x20848a,0x1)+'.\x20['+_0x2cdf70[_0xf21c84(0x29c)]+']\x20'+_0x2cdf70[_0xf21c84(0x20d)]);})),process['exit'](_0x42478d[_0x369628(0x21d)](_0x57a881[_0x369628(0x1b4)],'verified')?0x0:0x1);}_0x2cd5f7(process['argv']['slice'](0x2))[_0x420c1b(0x192)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x420c1b(0x24f)](_0x420c1b(0x22b),_0x420c1b(0x249),_0x17cbde=>{const _0x3831e8=_0x420c1b,_0x3de01e={'oumJm':_0x3831e8(0x20d),'iGONN':'string','crPPP':_0x3831e8(0x212),'TrojL':'scenario','miBoS':_0x3831e8(0x213),'EJYvK':_0x3831e8(0x235),'kcJJd':_0x3831e8(0x1ee)};return _0x17cbde['positional']('name',{'type':_0x3831e8(0x1e9),'description':'Feature\x20review\x20name','demandOption':!![]})[_0x3831e8(0x28e)](_0x3de01e[_0x3831e8(0x187)],{'type':_0x3de01e['iGONN'],'alias':'d','description':_0x3de01e[_0x3831e8(0x19f)]})['option'](_0x3de01e['TrojL'],{'type':_0x3de01e[_0x3831e8(0x244)],'alias':'c','description':_0x3de01e[_0x3831e8(0x1bb)]})[_0x3831e8(0x28e)](_0x3de01e[_0x3831e8(0x22d)],{'type':_0x3de01e['miBoS'],'hidden':!![]});},async _0x1d6aee=>{const _0x12ad71=_0x420c1b,_0x4effe9={'HLDGp':function(_0x3d29b5,_0x322967,_0x5dfddb,_0x255e4d){return _0x3d29b5(_0x322967,_0x5dfddb,_0x255e4d);},'SHVBW':'ranger\x20create'};_0x4effe9['HLDGp'](warnFlagRenamed,_0x4effe9[_0x12ad71(0x1b8)],'--checklist',_0x12ad71(0x1c1));const _0x2d18c2=_0x1d6aee[_0x12ad71(0x1fc)]||_0x1d6aee[_0x12ad71(0x1ee)];await withTelemetry('create',()=>featureCreate(_0x1d6aee['name'],{'description':_0x1d6aee['description'],'scenarios':_0x2d18c2}));})['command'](_0x420c1b(0x25a),_0x420c1b(0x261),_0x397088=>{const _0x281d52=_0x420c1b,_0x3176e1={'OPZPr':'current-branch','pxQFQ':'boolean','rSzEN':_0x281d52(0x1c4),'MWNpV':_0x281d52(0x257),'oAPMj':_0x281d52(0x2aa),'pIAuN':_0x281d52(0x1c8),'Muvou':'Include\x20soft-deleted\x20feature\x20reviews'};return _0x397088['option'](_0x3176e1[_0x281d52(0x185)],{'type':_0x3176e1['pxQFQ'],'description':_0x3176e1['rSzEN']})['option'](_0x281d52(0x1c5),{'type':_0x3176e1['MWNpV'],'alias':'l','description':_0x3176e1['oAPMj'],'default':0xa})[_0x281d52(0x28e)](_0x281d52(0x1b0),{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x3176e1[_0x281d52(0x1cd)],{'type':'boolean','alias':'d','description':_0x3176e1[_0x281d52(0x211)],'default':![]});},async _0x2721ec=>{const _0x514957=_0x420c1b,_0x4d959d={'ksWGn':function(_0x4c360d,_0x48deac,_0x38f14f){return _0x4c360d(_0x48deac,_0x38f14f);}};await _0x4d959d['ksWGn'](withTelemetry,'list',()=>featureList({'currentBranch':_0x2721ec['current-branch'],'limit':_0x2721ec[_0x514957(0x1c5)],'offset':_0x2721ec['offset'],'includeDeleted':_0x2721ec['include-deleted']}));})['command'](_0x420c1b(0x1cc),_0x420c1b(0x1df),_0x11a266=>{const _0x1b5ac4=_0x420c1b;return _0x11a266['positional']('id',{'type':_0x1b5ac4(0x1e9),'description':_0x1b5ac4(0x199)});},async _0x511efc=>{const _0x5757d5={'Igboz':function(_0x31a331,_0x3310e3,_0x3bae91){return _0x31a331(_0x3310e3,_0x3bae91);}};await _0x5757d5['Igboz'](withTelemetry,'show',()=>featureShow(_0x511efc['id']));})['command']('resume\x20[id]',_0x420c1b(0x1da),_0x47b0e7=>{const _0xd44754=_0x420c1b;return _0x47b0e7['positional']('id',{'type':_0xd44754(0x1e9),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x15d8bc=>{const _0x33bbdd=_0x420c1b,_0x34e623={'aIMHM':_0x33bbdd(0x20c)};await withTelemetry(_0x34e623['aIMHM'],()=>featureResume(_0x15d8bc['id']));})[_0x420c1b(0x24f)]('add-scenario\x20<description>',_0x420c1b(0x21b),_0x9d3206=>{const _0x475820=_0x420c1b,_0x2bed9b={'Ftglm':'description','jzVEv':_0x475820(0x2c0),'GGXeo':'string'};return _0x9d3206['positional'](_0x2bed9b['Ftglm'],{'type':_0x475820(0x1e9),'description':_0x2bed9b[_0x475820(0x1f7)],'demandOption':!![]})[_0x475820(0x28e)]('id',{'type':_0x2bed9b['GGXeo'],'description':_0x475820(0x217)});},async _0x1add2c=>{const _0x3ada8b={'HnGnm':function(_0x1264e5,_0x5aea63,_0x48f575){return _0x1264e5(_0x5aea63,_0x48f575);},'JHmhp':'add-scenario'};await _0x3ada8b['HnGnm'](withTelemetry,_0x3ada8b['JHmhp'],()=>featureAddScenario(_0x1add2c['description'],_0x1add2c['id']));})['command'](_0x420c1b(0x1bc),_0x420c1b(0x23c),_0x2c82b9=>{const _0x3282d8=_0x420c1b,_0x41a5f1={'XLwzV':'description','CAxFK':_0x3282d8(0x257),'sSNPm':'string','wQvyy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x2c82b9['positional'](_0x41a5f1[_0x3282d8(0x19c)],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})[_0x3282d8(0x28e)](_0x3282d8(0x1fc),{'type':_0x41a5f1[_0x3282d8(0x18d)],'description':_0x3282d8(0x2be),'demandOption':!![]})['option']('id',{'type':_0x41a5f1['sSNPm'],'description':_0x41a5f1[_0x3282d8(0x276)]});},async _0x539528=>{const _0x59aec6=_0x420c1b;await withTelemetry('edit-scenario',()=>featureEditScenario(_0x539528[_0x59aec6(0x20d)],{'id':_0x539528['id'],'scenario':_0x539528[_0x59aec6(0x1fc)]}));})['command']('report\x20[id]',_0x420c1b(0x1e3),_0x51e780=>{const _0x5c3a59=_0x420c1b,_0x1e5aee={'JhBHb':'exclude-scenario','NpBts':'array','RGobq':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x51e780['positional']('id',{'type':_0x5c3a59(0x1e9),'description':_0x5c3a59(0x199)})['option'](_0x1e5aee['JhBHb'],{'type':_0x1e5aee['NpBts'],'description':_0x1e5aee[_0x5c3a59(0x206)]})['option'](_0x5c3a59(0x1f9),{'type':_0x5c3a59(0x202),'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x86fee6=>{const _0x1d508a=_0x86fee6['exclude-scenario'],_0x1f05a5=_0x1d508a?_0x1d508a['map'](_0x4c69dc=>Number(_0x4c69dc)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x86fee6['id'],{'excludeScenarios':_0x1f05a5,'json':_0x86fee6['json']}));})[_0x420c1b(0x24f)](_0x420c1b(0x197),_0x420c1b(0x2ba),_0x45a2c6=>{const _0x43e709={'UTlDK':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x45a2c6['positional']('id',{'type':'string','description':_0x43e709['UTlDK']});},async _0x3d3d81=>{const _0x565845={'YuGLT':'get-review'};await withTelemetry(_0x565845['YuGLT'],()=>featureGetReview(_0x3d3d81['id']));})['command'](_0x420c1b(0x2b3),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3a04cd=>{const _0x480d48=_0x420c1b;return _0x3a04cd[_0x480d48(0x28c)]('id',{'type':_0x480d48(0x1e9),'description':_0x480d48(0x199)});},async _0x3a4f06=>{const _0x33b895=_0x420c1b,_0x590c0c={'KXsHW':function(_0x25ad15,_0x11cac3,_0x16e377){return _0x25ad15(_0x11cac3,_0x16e377);}};await _0x590c0c[_0x33b895(0x219)](withTelemetry,'delete',()=>featureDelete(_0x3a4f06['id']));})['command'](_0x420c1b(0x1d0),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0xea58c5=>{const _0x484174=_0x420c1b;return _0xea58c5[_0x484174(0x28c)]('id',{'type':_0x484174(0x1e9),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1f4b8f=>{await withTelemetry('restore',()=>featureRestore(_0x1f4b8f['id']));})[_0x420c1b(0x24f)](_0x420c1b(0x1b9),_0x420c1b(0x195),_0x5c176d=>{const _0x5ab980=_0x420c1b,_0x160ebf={'NPjQq':_0x5ab980(0x296),'adirE':'boolean','PtkgF':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','xaQAe':'scope','qouVF':'string','kUJNz':'user','imZDE':_0x5ab980(0x27a),'OplTo':_0x5ab980(0x266),'tlwFq':_0x5ab980(0x1fa),'eWHSt':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NKxaz':_0x5ab980(0x20f),'oQZMJ':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)'};return _0x5c176d['positional']('token',{'type':'string','description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x5ab980(0x28e)](_0x160ebf['NPjQq'],{'type':_0x160ebf['adirE'],'description':_0x160ebf[_0x5ab980(0x1ae)],'default':![]})[_0x5ab980(0x28e)](_0x160ebf['xaQAe'],{'type':_0x160ebf['qouVF'],'choices':[_0x160ebf['kUJNz'],_0x160ebf['imZDE']],'description':_0x160ebf['OplTo']})[_0x5ab980(0x28e)](_0x5ab980(0x29a),{'type':_0x5ab980(0x1e9),'description':_0x160ebf[_0x5ab980(0x297)]})[_0x5ab980(0x28e)]('force',{'type':_0x160ebf[_0x5ab980(0x2a6)],'description':_0x160ebf[_0x5ab980(0x24e)],'default':![]})['option'](_0x160ebf['NKxaz'],{'type':'boolean','description':_0x160ebf['oQZMJ'],'default':![]});},async _0x4159fe=>{const _0x37ed85=_0x420c1b,_0x2035b9={'nszIO':function(_0xe55ed4,_0x3c5062,_0x384d76){return _0xe55ed4(_0x3c5062,_0x384d76);}};await _0x2035b9['nszIO'](withTelemetry,_0x37ed85(0x252),_0x1aecad=>start(_0x4159fe[_0x37ed85(0x1a7)],{'skipChromium':_0x4159fe['skip-chromium'],'scope':_0x4159fe['scope'],'url':_0x4159fe['url'],'force':_0x4159fe[_0x37ed85(0x295)],'opencode':_0x4159fe[_0x37ed85(0x20f)]},_0x1aecad));})['command'](_0x420c1b(0x2ac),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x3cfc06=>{const _0x492957=_0x420c1b,_0x4e1b9a={'PdUvB':'token','OMwoT':_0x492957(0x20e),'koQso':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ZkJWD':'base-url','WgyRH':_0x492957(0x1de),'Qxykj':_0x492957(0x296),'xYwRz':_0x492957(0x202),'Ihzsn':_0x492957(0x1b3)};return _0x3cfc06['positional'](_0x4e1b9a['PdUvB'],{'type':_0x492957(0x1e9),'description':_0x4e1b9a[_0x492957(0x260)],'demandOption':!![]})[_0x492957(0x28e)]('profile',{'type':'string','description':_0x4e1b9a['koQso']})[_0x492957(0x28e)](_0x4e1b9a['ZkJWD'],{'type':'string','description':_0x4e1b9a[_0x492957(0x234)]})['option'](_0x4e1b9a[_0x492957(0x237)],{'type':_0x4e1b9a[_0x492957(0x1a2)],'description':_0x4e1b9a['Ihzsn'],'default':![]});},async _0x6b008f=>{const _0x20ea01=_0x420c1b;await withTelemetry(_0x20ea01(0x250),_0x58801a=>setupCi(_0x6b008f[_0x20ea01(0x1a7)],{'profile':_0x6b008f[_0x20ea01(0x1ad)],'baseUrl':_0x6b008f[_0x20ea01(0x1f8)],'skipChromium':_0x6b008f[_0x20ea01(0x296)]},_0x58801a));})['command']('login',_0x420c1b(0x1b1),()=>{},async()=>{const _0x655e1f={'XaevC':function(_0x3e9ba1,_0x3c571d,_0x378cc1){return _0x3e9ba1(_0x3c571d,_0x378cc1);},'yYtBu':'login'};await _0x655e1f['XaevC'](withTelemetry,_0x655e1f['yYtBu'],()=>login());})[_0x420c1b(0x24f)]('skillup',_0x420c1b(0x271),_0x1bbab6=>{const _0x9039f=_0x420c1b,_0xa4f65a={'wyenW':'Install\x20skills\x20for\x20OpenCode','QcMVv':'string','OmJRW':'user','UKZqQ':'project','baash':_0x9039f(0x220)};return _0x1bbab6[_0x9039f(0x28e)]('opencode',{'type':'boolean','description':_0xa4f65a[_0x9039f(0x26f)],'default':![]})['option']('scope',{'type':_0xa4f65a['QcMVv'],'choices':[_0xa4f65a[_0x9039f(0x2b8)],_0xa4f65a[_0x9039f(0x27f)]],'description':_0xa4f65a['baash']});},async _0x1b744b=>{const _0x10870c=_0x420c1b,_0x190adf={'gDJCO':function(_0x525924,_0x32d802){return _0x525924(_0x32d802);},'TXEmN':_0x10870c(0x23b)},_0x5058fb=_0x190adf[_0x10870c(0x269)](Boolean,_0x1b744b['opencode']);await withTelemetry(_0x190adf[_0x10870c(0x205)],()=>skillup({'autoInstall':_0x1b744b['scope'],'platform':_0x5058fb?_0x10870c(0x20f):_0x10870c(0x21e)}));})[_0x420c1b(0x24f)]('clean',_0x420c1b(0x1c2),()=>{},async()=>{const _0xd423f0=_0x420c1b,_0x3d8760={'DEXrp':function(_0x4af42c,_0x1dad61,_0x48c4c9){return _0x4af42c(_0x1dad61,_0x48c4c9);}};await _0x3d8760[_0xd423f0(0x2af)](withTelemetry,'clean',()=>clean());})['command']('profile',_0x420c1b(0x241),_0x4fbfe1=>{const _0x3806ed=_0x420c1b,_0x3a42af={'kGKbR':_0x3806ed(0x1e9),'qgSFa':_0x3806ed(0x202),'yftZH':_0x3806ed(0x2b2),'sdchX':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','qiskI':'url','OVWOg':_0x3806ed(0x1bf),'BMhbq':_0x3806ed(0x188),'AMEIJ':'profile\x20add','nfZJy':function(_0x594ac6,_0x413499){return _0x594ac6(_0x413499);},'QeTcO':_0x3806ed(0x274),'AAdBI':_0x3806ed(0x23d),'AOPwO':function(_0x36f789,_0x7d5395,_0x255248){return _0x36f789(_0x7d5395,_0x255248);},'fesam':_0x3806ed(0x1ad),'GaEpn':function(_0x4b1c65,_0x11bf01,_0x1d465d){return _0x4b1c65(_0x11bf01,_0x1d465d);},'PLPOC':'key','YODVf':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','EmxUD':_0x3806ed(0x207),'KHqpr':'Config\x20value','KBDyf':_0x3806ed(0x253),'njZZx':'List\x20all\x20config\x20for\x20a\x20profile','gOcyo':_0x3806ed(0x263),'zYVqh':_0x3806ed(0x292),'JOBXQ':'use\x20<profile-name>','YPfXs':'Switch\x20to\x20using\x20a\x20specific\x20profile','nUWdl':_0x3806ed(0x25d),'aXRvO':_0x3806ed(0x255),'miSwr':'update\x20<profile-name>','LfnJm':'Manage\x20profile\x20configuration'};return _0x4fbfe1[_0x3806ed(0x1d5)](PROFILE_HELP)[_0x3806ed(0x24f)](_0x3a42af[_0x3806ed(0x27e)],'Add\x20profile\x20configuration',_0x340f7b=>{const _0x21099b=_0x3806ed;return _0x340f7b[_0x21099b(0x28c)](_0x21099b(0x274),{'type':_0x3a42af[_0x21099b(0x258)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x3a42af[_0x21099b(0x1fd)],'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x3a42af[_0x21099b(0x293)],{'type':_0x3a42af[_0x21099b(0x1fd)],'description':_0x3a42af['sdchX'],'default':![]})[_0x21099b(0x28e)](_0x3a42af[_0x21099b(0x286)],{'type':_0x3a42af[_0x21099b(0x258)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})[_0x21099b(0x28e)]('force',{'type':'boolean','description':_0x3a42af['OVWOg'],'default':![]})[_0x21099b(0x28e)]('cdp-endpoint',{'type':_0x3a42af['kGKbR'],'description':_0x3a42af['BMhbq']});},async _0x10b84c=>{const _0x3828b7=_0x3806ed;await withTelemetry(_0x3a42af['AMEIJ'],_0x847d7a=>addEnv(_0x10b84c['profile-name'],{'ci':_0x10b84c['ci'],'skipAuth':_0x10b84c[_0x3828b7(0x2b2)],'url':_0x10b84c['url'],'force':_0x10b84c['force'],'cdpEndpoint':_0x10b84c[_0x3828b7(0x28b)]},_0x847d7a),{'isElectron':_0x3a42af['nfZJy'](Boolean,_0x10b84c['cdp-endpoint'])});})['command'](_0x3a42af[_0x3806ed(0x26d)],_0x3a42af[_0x3806ed(0x222)],_0x2130f7=>{const _0x1b9579=_0x3806ed;return _0x2130f7['positional'](_0x3a42af[_0x1b9579(0x1fb)],{'type':_0x3a42af[_0x1b9579(0x258)],'description':_0x3a42af['AAdBI'],'demandOption':!![]});},async _0x21113f=>{const _0x4d2faa=_0x3806ed;await _0x3a42af[_0x4d2faa(0x2c5)](withTelemetry,_0x4d2faa(0x1ed),()=>useEnv(_0x21113f[_0x4d2faa(0x274)]));})[_0x3806ed(0x24f)](_0x3806ed(0x224),_0x3a42af['nUWdl'],_0x3cd43b=>{const _0xeba7cc=_0x3806ed;return _0x3cd43b['positional'](_0x3a42af[_0xeba7cc(0x208)],{'type':_0x3a42af['kGKbR'],'description':'Profile\x20name','demandOption':!![]});},async _0x30e68f=>{const _0x5b0a2d=_0x3806ed;await _0x3a42af[_0x5b0a2d(0x2c5)](withTelemetry,_0x5b0a2d(0x1e1),()=>authEncrypt(_0x30e68f['profile']));})[_0x3806ed(0x24f)]('ls',_0x3a42af[_0x3806ed(0x1f6)],()=>{},async()=>{const _0x52f372=_0x3806ed;await _0x3a42af['GaEpn'](withTelemetry,_0x52f372(0x267),()=>envList());})['command'](_0x3a42af[_0x3806ed(0x1d9)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x17c0b5=>{const _0x47dc8c=_0x3806ed;return _0x17c0b5[_0x47dc8c(0x28c)](_0x3a42af[_0x47dc8c(0x1fb)],{'type':_0x47dc8c(0x1e9),'description':_0x47dc8c(0x281),'demandOption':!![]});},async _0x464e62=>{const _0x589a37=_0x3806ed;await withTelemetry('profile\x20update',_0x2af137=>updateEnv(_0x464e62[_0x589a37(0x274)],_0x2af137));})['command'](_0x3806ed(0x236),_0x3a42af['LfnJm'],_0x1992ed=>{const _0x5dbc41=_0x3806ed,_0x32f120={'RQHTZ':_0x3a42af[_0x5dbc41(0x208)],'ObQoq':_0x3a42af[_0x5dbc41(0x23a)],'bwoMm':_0x3a42af['EmxUD'],'kEJqs':_0x3a42af[_0x5dbc41(0x29f)],'OAVsn':_0x5dbc41(0x1be)};return _0x1992ed[_0x5dbc41(0x1d5)](PROFILE_CONFIG_HELP)[_0x5dbc41(0x24f)](_0x3a42af['KBDyf'],'Set\x20a\x20config\x20value',_0xbe2677=>{const _0x2c343d=_0x5dbc41;return _0xbe2677[_0x2c343d(0x28c)](_0x32f120['RQHTZ'],{'type':_0x2c343d(0x1e9),'description':_0x2c343d(0x1d8),'demandOption':!![]})['positional']('key',{'type':'string','description':_0x32f120['ObQoq'],'demandOption':!![]})['positional'](_0x32f120['bwoMm'],{'type':'string','description':_0x32f120[_0x2c343d(0x2ab)],'demandOption':!![]});},async _0x5158aa=>{const _0x2d4b52=_0x5dbc41;await withTelemetry(_0x2d4b52(0x1b7),()=>configSet(_0x5158aa[_0x2d4b52(0x1ad)],_0x5158aa['key'],_0x5158aa['value']));})[_0x5dbc41(0x24f)]('get\x20<profile>\x20<key>',_0x5dbc41(0x1e5),_0x361959=>{const _0x264d66=_0x5dbc41;return _0x361959['positional'](_0x3a42af[_0x264d66(0x208)],{'type':_0x3a42af['kGKbR'],'description':'Profile\x20name','demandOption':!![]})[_0x264d66(0x28c)](_0x3a42af['PLPOC'],{'type':_0x3a42af[_0x264d66(0x258)],'description':'Config\x20key','demandOption':!![]});},async _0x14a7f0=>{const _0x59ae82=_0x5dbc41;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x14a7f0[_0x59ae82(0x1ad)],_0x14a7f0['key']));})['command'](_0x5dbc41(0x1a3),_0x3a42af['njZZx'],_0x4fc241=>{const _0x3ada99=_0x5dbc41;return _0x4fc241[_0x3ada99(0x28c)](_0x32f120[_0x3ada99(0x29d)],{'type':_0x3ada99(0x1e9),'description':'Profile\x20name','demandOption':!![]});},async _0x36b666=>{const _0x434075=_0x5dbc41;await withTelemetry(_0x32f120['OAVsn'],()=>configList(_0x36b666[_0x434075(0x1ad)]));})['command'](_0x5dbc41(0x243),_0x3a42af['gOcyo'],_0x261d42=>{const _0x1badc7=_0x5dbc41;return _0x261d42['positional'](_0x3a42af[_0x1badc7(0x208)],{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional'](_0x1badc7(0x18a),{'type':'string','description':_0x1badc7(0x22f),'demandOption':!![]});},async _0x131fbf=>{const _0x12f8dd=_0x5dbc41;await withTelemetry(_0x12f8dd(0x1f4),()=>configUnset(_0x131fbf['profile'],_0x131fbf[_0x12f8dd(0x18a)]));})['demandCommand'](0x1,_0x5dbc41(0x1ce));})['demandCommand'](0x1,_0x3806ed(0x283));})[_0x420c1b(0x24f)]('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x2b36bd=_0x420c1b,_0x356928={'eGfPh':function(_0x5938ed,_0x4752f5,_0x363546){return _0x5938ed(_0x4752f5,_0x363546);},'dhnKU':_0x2b36bd(0x248)};await _0x356928['eGfPh'](withTelemetry,_0x356928['dhnKU'],()=>status());})['command']('update',_0x420c1b(0x196),()=>{},async()=>{const _0x3410a1=_0x420c1b;await withTelemetry(_0x3410a1(0x1e0),()=>update());})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x209369=>{const _0x30c3c2=_0x420c1b,_0x12df4f={'LlJGw':_0x30c3c2(0x1ad),'kayHt':_0x30c3c2(0x1e9),'MCeAy':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','NlAoC':'scenario','pKvZu':'Scenario\x20index\x20(1-based)','NWfuP':'start-path','pMcDQ':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','LIUVx':'headed','oonKU':'debug-outcome','MGDiO':'verified','qKjsQ':'blocked','KkNlu':'failed','PGzhQ':_0x30c3c2(0x2c9),'HDhRz':'item'};return _0x209369['option']('feature',{'type':_0x30c3c2(0x1e9),'description':'Optional\x20feature\x20ID'})['option'](_0x12df4f[_0x30c3c2(0x198)],{'type':_0x12df4f[_0x30c3c2(0x18e)],'description':_0x12df4f['MCeAy']})['option']('notes',{'type':_0x30c3c2(0x1e9),'description':_0x30c3c2(0x229)})[_0x30c3c2(0x28e)](_0x12df4f[_0x30c3c2(0x289)],{'type':_0x30c3c2(0x257),'description':_0x12df4f['pKvZu']})['option'](_0x12df4f[_0x30c3c2(0x23e)],{'type':'string','description':_0x30c3c2(0x1a0)})[_0x30c3c2(0x28e)](_0x30c3c2(0x1af),{'type':_0x30c3c2(0x1e9),'description':_0x12df4f[_0x30c3c2(0x1ab)]})['option'](_0x12df4f[_0x30c3c2(0x1c9)],{'type':'boolean','description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x30c3c2(0x28e)](_0x12df4f[_0x30c3c2(0x287)],{'type':_0x30c3c2(0x1e9),'hidden':!![],'choices':[_0x12df4f['MGDiO'],'partial',_0x12df4f['qKjsQ'],_0x12df4f['KkNlu'],_0x12df4f['PGzhQ']]})['option']('debug-address-comments',{'type':_0x30c3c2(0x202),'hidden':!![]})[_0x30c3c2(0x28e)]('env',{'type':'string','hidden':!![]})['option']('task',{'type':'string','hidden':!![]})['option'](_0x12df4f['HDhRz'],{'type':_0x30c3c2(0x257),'hidden':!![]});},async _0x2ccc32=>{const _0x1d4950=_0x420c1b,_0x1ee5ac={'cnnPm':function(_0x2eb978,_0x57c292){return _0x2eb978(_0x57c292);}};await _0x1ee5ac[_0x1d4950(0x22a)](runGoCommand,_0x2ccc32);})['command']('auth',![],_0x318ab3=>{const _0x323c02=_0x420c1b,_0x16a2f4={'lxBLj':'profile','IJRqv':function(_0x2f2842,_0x258caa,_0x555aba){return _0x2f2842(_0x258caa,_0x555aba);}};return _0x318ab3['command'](_0x323c02(0x239),![],_0x58a2a8=>{const _0x277927=_0x323c02;return _0x58a2a8[_0x277927(0x28c)](_0x16a2f4[_0x277927(0x1c3)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x5647c5=>{const _0x24ec32=_0x323c02;_0x16a2f4[_0x24ec32(0x1eb)](warnRenamed,_0x24ec32(0x1aa),_0x24ec32(0x2ad)),await authEncrypt(_0x5647c5[_0x24ec32(0x1ad)]);})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command']('start\x20[token]',![],_0x20263d=>{const _0x28e8d2=_0x420c1b,_0x41c766={'nhYXH':_0x28e8d2(0x1a7),'zUdyo':'string','TJCPk':_0x28e8d2(0x25c),'TTsiG':'skip-chromium','IIRKJ':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','OkhRC':_0x28e8d2(0x221),'OGxdC':'url','fjTDK':_0x28e8d2(0x295),'qjCCb':'boolean'};return _0x20263d[_0x28e8d2(0x28c)](_0x41c766['nhYXH'],{'type':_0x41c766[_0x28e8d2(0x190)],'description':_0x41c766[_0x28e8d2(0x20a)]})[_0x28e8d2(0x28e)](_0x41c766['TTsiG'],{'type':'boolean','description':_0x41c766[_0x28e8d2(0x184)],'default':![]})['option'](_0x41c766[_0x28e8d2(0x22e)],{'type':_0x41c766['zUdyo'],'choices':['user',_0x28e8d2(0x27a)],'description':_0x28e8d2(0x266)})['option'](_0x41c766['OGxdC'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x41c766['fjTDK'],{'type':_0x41c766[_0x28e8d2(0x2b9)],'description':_0x28e8d2(0x1bf),'default':![]});},async _0x5697b8=>{const _0x487a2b=_0x420c1b;warnRenamed(_0x487a2b(0x2a7),_0x487a2b(0x2a5)),await withTelemetry('start',_0x4613ce=>start(_0x5697b8['token'],{'skipChromium':_0x5697b8[_0x487a2b(0x296)],'scope':_0x5697b8['scope'],'url':_0x5697b8[_0x487a2b(0x29a)],'force':_0x5697b8[_0x487a2b(0x295)]},_0x4613ce));})['command']('verify-feature',![],_0x3800b=>{const _0x190238=_0x420c1b,_0x162f28={'PVlYL':_0x190238(0x203),'obENP':_0x190238(0x257),'UXJZf':_0x190238(0x1e9),'lYBKD':'partial','MOSVd':_0x190238(0x2c6),'xFJxv':_0x190238(0x2c9)};return _0x3800b['option'](_0x190238(0x218),{'type':_0x190238(0x1e9),'description':_0x190238(0x230)})[_0x190238(0x28e)](_0x190238(0x1fe),{'type':_0x190238(0x1e9),'description':_0x162f28['PVlYL']})['option']('item',{'type':_0x162f28['obENP'],'description':_0x190238(0x233)})[_0x190238(0x28e)]('profile',{'type':_0x190238(0x1e9),'hidden':!![]})['option'](_0x190238(0x2bf),{'type':_0x190238(0x1e9),'hidden':!![]})['option']('scenario',{'type':'number','hidden':!![]})['option'](_0x190238(0x1ac),{'type':'string','description':_0x190238(0x1a0)})['option'](_0x190238(0x1af),{'type':_0x162f28['UXJZf'],'hidden':!![]})['option']('headed',{'type':_0x190238(0x202),'hidden':!![],'default':![]})[_0x190238(0x28e)](_0x190238(0x226),{'type':_0x190238(0x1e9),'hidden':!![],'choices':['verified',_0x162f28[_0x190238(0x254)],_0x162f28[_0x190238(0x1d1)],'failed',_0x162f28['xFJxv']]});},async _0x1ff3be=>{const _0x566001=_0x420c1b,_0x500f35={'wqdzt':function(_0x456e29,_0x773f48,_0xdf168b){return _0x456e29(_0x773f48,_0xdf168b);}};await _0x500f35[_0x566001(0x18c)](runGoCommand,_0x1ff3be,!![]);})['command']('add\x20env\x20<env-name>',![],_0x2ad758=>{const _0x141ed5=_0x420c1b,_0x4a87ef={'QYNpB':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','hZnFn':'boolean','JMpnb':_0x141ed5(0x2b2),'xJAyq':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x2ad758[_0x141ed5(0x28c)]('env-name',{'type':'string','description':_0x4a87ef['QYNpB'],'demandOption':!![]})[_0x141ed5(0x28e)]('ci',{'type':_0x4a87ef[_0x141ed5(0x259)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x4a87ef[_0x141ed5(0x1d7)],{'type':_0x4a87ef[_0x141ed5(0x259)],'description':_0x4a87ef['xJAyq'],'default':![]});},async _0x36fabb=>{const _0x11ee6a=_0x420c1b,_0x1dd92a={'BWOCF':_0x11ee6a(0x25f),'BeQMo':'ranger\x20profile\x20add'};warnRenamed(_0x1dd92a['BWOCF'],_0x1dd92a[_0x11ee6a(0x298)]),await withTelemetry('add\x20env',_0x21a551=>addEnv(_0x36fabb['env-name'],{'ci':_0x36fabb['ci'],'skipAuth':_0x36fabb['skip-auth']},_0x21a551));})['command'](_0x420c1b(0x2b5),![],_0x431342=>{const _0x1468b5=_0x420c1b,_0x3d4408={'EGJdL':_0x1468b5(0x280)};return _0x431342[_0x1468b5(0x28c)](_0x3d4408[_0x1468b5(0x1f0)],{'type':'string','description':_0x1468b5(0x228),'demandOption':!![]});},async _0x56d792=>{const _0x2b1f72={'VXeUK':'use'};warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry(_0x2b1f72['VXeUK'],()=>useEnv(_0x56d792['env-name']));})[_0x420c1b(0x24f)]('config',![],_0x6887ec=>{const _0xb802e6=_0x420c1b,_0x299caf={'qfhSc':_0xb802e6(0x218),'QymeM':'Environment\x20name','Btpbz':'key','ivZQc':'string','TWnXt':function(_0xaea0f4,_0x55ce17,_0x1ec269){return _0xaea0f4(_0x55ce17,_0x1ec269);},'ZeHzd':_0xb802e6(0x2b6),'Hoarb':'config\x20set','FOAtV':_0xb802e6(0x29e),'zSfsm':_0xb802e6(0x29b),'iuxer':function(_0x117168,_0x3b19ec,_0x42b82d){return _0x117168(_0x3b19ec,_0x42b82d);},'wVENR':_0xb802e6(0x27b),'lztQT':function(_0xf39c40,_0x3b86fc,_0x4f5206){return _0xf39c40(_0x3b86fc,_0x4f5206);},'CZXsc':'config\x20list','YWevK':_0xb802e6(0x22f),'JyROc':function(_0x24b79d,_0x4883ed,_0x3f961b){return _0x24b79d(_0x4883ed,_0x3f961b);},'MHssZ':'ranger\x20profile\x20config\x20unset','eNpJB':_0xb802e6(0x1ff),'WuxPr':'unset\x20<env>\x20<key>','LzWXP':'You\x20must\x20specify\x20a\x20config\x20subcommand'};return _0x6887ec[_0xb802e6(0x24f)]('set\x20<env>\x20<key>\x20<value>',![],_0x27b5c6=>{const _0x59df52=_0xb802e6;return _0x27b5c6[_0x59df52(0x28c)](_0x299caf[_0x59df52(0x28f)],{'type':'string','description':_0x299caf[_0x59df52(0x216)],'demandOption':!![]})[_0x59df52(0x28c)](_0x299caf[_0x59df52(0x19a)],{'type':'string','description':_0x59df52(0x2bd),'demandOption':!![]})[_0x59df52(0x28c)](_0x59df52(0x207),{'type':_0x299caf['ivZQc'],'description':_0x59df52(0x189),'demandOption':!![]});},async _0x34df3b=>{const _0x45e427=_0xb802e6;_0x299caf['TWnXt'](warnRenamed,_0x45e427(0x273),_0x299caf[_0x45e427(0x1ef)]),await withTelemetry(_0x299caf[_0x45e427(0x231)],()=>configSet(_0x34df3b['env'],_0x34df3b['key'],_0x34df3b['value']));})['command'](_0x299caf['eNpJB'],![],_0x1a05e4=>{const _0xc1a350=_0xb802e6;return _0x1a05e4[_0xc1a350(0x28c)]('env',{'type':_0x299caf[_0xc1a350(0x2c2)],'description':'Environment\x20name','demandOption':!![]})[_0xc1a350(0x28c)]('key',{'type':_0x299caf[_0xc1a350(0x2c2)],'description':'Config\x20key','demandOption':!![]});},async _0x430bd6=>{const _0x3b8d30=_0xb802e6;_0x299caf[_0x3b8d30(0x299)](warnRenamed,_0x299caf['FOAtV'],_0x3b8d30(0x264)),await withTelemetry(_0x299caf[_0x3b8d30(0x251)],()=>configGet(_0x430bd6['env'],_0x430bd6[_0x3b8d30(0x18a)]));})['command']('list\x20<env>',![],_0x50c218=>{const _0x5255f0=_0xb802e6;return _0x50c218['positional']('env',{'type':_0x299caf[_0x5255f0(0x2c2)],'description':'Environment\x20name','demandOption':!![]});},async _0xfb847f=>{const _0x1aa7ee=_0xb802e6;_0x299caf[_0x1aa7ee(0x186)](warnRenamed,_0x299caf['wVENR'],'ranger\x20profile\x20config\x20list'),await _0x299caf[_0x1aa7ee(0x277)](withTelemetry,_0x299caf[_0x1aa7ee(0x1d6)],()=>configList(_0xfb847f[_0x1aa7ee(0x218)]));})[_0xb802e6(0x24f)](_0x299caf[_0xb802e6(0x26e)],![],_0x1f6eea=>{const _0x58ec7b=_0xb802e6;return _0x1f6eea['positional']('env',{'type':_0x299caf[_0x58ec7b(0x2c2)],'description':_0x299caf['QymeM'],'demandOption':!![]})['positional'](_0x299caf['Btpbz'],{'type':_0x299caf[_0x58ec7b(0x2c2)],'description':_0x299caf[_0x58ec7b(0x24b)],'demandOption':!![]});},async _0x598102=>{const _0x20a0f3=_0xb802e6;_0x299caf['JyROc'](warnRenamed,_0x20a0f3(0x23f),_0x299caf['MHssZ']),await withTelemetry(_0x20a0f3(0x22c),()=>configUnset(_0x598102['env'],_0x598102['key']));})['demandCommand'](0x1,_0x299caf['LzWXP']);})['command'](_0x420c1b(0x218),![],_0x24d8d2=>{const _0x501607=_0x420c1b,_0x2c8e82={'BoZPr':function(_0x1142bd,_0x2e562e,_0x5aebaa){return _0x1142bd(_0x2e562e,_0x5aebaa);},'jiUZa':'ranger\x20env\x20ls','efVbk':_0x501607(0x1e9),'ZHCWz':_0x501607(0x1e7),'SVZHK':'env\x20update','kTlYq':_0x501607(0x24a)};return _0x24d8d2[_0x501607(0x24f)]('ls',![],()=>{},async()=>{const _0x58de89=_0x501607;_0x2c8e82['BoZPr'](warnRenamed,_0x2c8e82[_0x58de89(0x193)],'ranger\x20profile\x20ls'),await withTelemetry(_0x58de89(0x2b4),()=>envList());})[_0x501607(0x24f)](_0x2c8e82['kTlYq'],![],_0x486b37=>{const _0x1ffa16=_0x501607;return _0x486b37['positional']('env-name',{'type':_0x2c8e82[_0x1ffa16(0x26b)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x10ef82=>{const _0x50f43a=_0x501607;_0x2c8e82['BoZPr'](warnRenamed,_0x50f43a(0x2a4),_0x2c8e82['ZHCWz']),await withTelemetry(_0x2c8e82[_0x50f43a(0x27d)],_0xc1454f=>updateEnv(_0x10ef82[_0x50f43a(0x280)],_0xc1454f));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x420c1b(0x24f)]('feature',![],_0xbbeeae=>{const _0x4e339f=_0x420c1b,_0x20fb0c={'bdyZi':_0x4e339f(0x1f5),'WcKII':_0x4e339f(0x20d),'ulwny':_0x4e339f(0x1e9),'Twvrz':'checklist','InLpf':_0x4e339f(0x213),'QLgZc':function(_0x4006a6,_0x2c5db8,_0x283a35){return _0x4006a6(_0x2c5db8,_0x283a35);},'dPcRr':'ranger\x20create','AbvEv':_0x4e339f(0x1c1),'afIDh':function(_0x2fd8d1,_0xe05049,_0x5501da){return _0x2fd8d1(_0xe05049,_0x5501da);},'eZtWf':_0x4e339f(0x278),'zJWtT':_0x4e339f(0x202),'BUzTN':_0x4e339f(0x1c4),'OZAZs':_0x4e339f(0x257),'JIhCY':_0x4e339f(0x1b0),'yWTxX':_0x4e339f(0x238),'ZPaEJ':_0x4e339f(0x1b5),'tMiOq':'ranger\x20feature\x20show','CCWtb':function(_0x5e4b34,_0x5ce16b,_0x476723){return _0x5e4b34(_0x5ce16b,_0x476723);},'RADeb':_0x4e339f(0x290),'qApJY':'feature\x20resume','ulFkU':_0x4e339f(0x2c0),'SBVGi':function(_0x15b594,_0x285d92,_0x5d03e6){return _0x15b594(_0x285d92,_0x5d03e6);},'xIHnL':_0x4e339f(0x285),'pqRok':_0x4e339f(0x199),'BvEbe':function(_0x594764,_0x549ed0,_0x38f005){return _0x594764(_0x549ed0,_0x38f005);},'XSUmv':function(_0x5b274c,_0x148086,_0x2bc9b6){return _0x5b274c(_0x148086,_0x2bc9b6);},'CSQPO':_0x4e339f(0x22b),'UtyWD':'list','iyYfS':_0x4e339f(0x1d0),'ceanM':_0x4e339f(0x282)};return _0xbbeeae['command'](_0x20fb0c[_0x4e339f(0x26c)],![],_0x3abbb1=>{const _0x4bc351=_0x4e339f;return _0x3abbb1[_0x4bc351(0x28c)]('name',{'type':'string','description':_0x20fb0c['bdyZi'],'demandOption':!![]})[_0x4bc351(0x28e)](_0x20fb0c[_0x4bc351(0x2a0)],{'type':_0x20fb0c['ulwny'],'alias':'d','description':_0x4bc351(0x212)})[_0x4bc351(0x28e)](_0x20fb0c[_0x4bc351(0x291)],{'type':_0x20fb0c['InLpf'],'alias':'c','description':_0x4bc351(0x235)})['option'](_0x4bc351(0x1fc),{'type':_0x20fb0c[_0x4bc351(0x256)],'hidden':!![]});},async _0x51268d=>{const _0x466645=_0x4e339f;_0x20fb0c[_0x466645(0x19d)](warnRenamed,_0x466645(0x268),_0x20fb0c['dPcRr']),warnFlagRenamed(_0x20fb0c['dPcRr'],'--checklist',_0x20fb0c['AbvEv']);const _0x2880c0=_0x51268d['scenario']||_0x51268d[_0x466645(0x1ee)];await _0x20fb0c[_0x466645(0x294)](withTelemetry,'feature\x20create',()=>featureCreate(_0x51268d['name'],{'description':_0x51268d[_0x466645(0x20d)],'scenarios':_0x2880c0}));})['command'](_0x20fb0c['UtyWD'],![],_0x35b488=>{const _0x56ae54=_0x4e339f;return _0x35b488['option'](_0x20fb0c[_0x56ae54(0x232)],{'type':_0x20fb0c[_0x56ae54(0x1dc)],'description':_0x20fb0c['BUzTN']})['option']('limit',{'type':_0x20fb0c[_0x56ae54(0x1e8)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x20fb0c['JIhCY'],{'type':_0x20fb0c['OZAZs'],'alias':'o','description':_0x56ae54(0x262),'default':0x0})['option']('include-deleted',{'type':_0x20fb0c['zJWtT'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x35364d=>{const _0x319ce8=_0x4e339f;warnRenamed(_0x20fb0c[_0x319ce8(0x245)],_0x20fb0c['ZPaEJ']),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x35364d[_0x319ce8(0x278)],'limit':_0x35364d[_0x319ce8(0x1c5)],'offset':_0x35364d[_0x319ce8(0x1b0)],'includeDeleted':_0x35364d[_0x319ce8(0x1c8)]}));})[_0x4e339f(0x24f)]('show\x20[id]',![],_0x795924=>{const _0x2fd81d=_0x4e339f;return _0x795924[_0x2fd81d(0x28c)]('id',{'type':_0x2fd81d(0x1e9),'description':_0x2fd81d(0x199)});},async _0x5890de=>{warnRenamed(_0x20fb0c['tMiOq'],'ranger\x20show'),await _0x20fb0c['CCWtb'](withTelemetry,'feature\x20show',()=>featureShow(_0x5890de['id']));})['command']('resume\x20[id]',![],_0x39b0e0=>{const _0x253b1a=_0x4e339f;return _0x39b0e0[_0x253b1a(0x28c)]('id',{'type':_0x253b1a(0x1e9),'description':_0x20fb0c['RADeb']});},async _0x38d63e=>{const _0x5d43bd=_0x4e339f;_0x20fb0c[_0x5d43bd(0x1a6)](warnRenamed,_0x5d43bd(0x1db),'ranger\x20resume'),await withTelemetry(_0x20fb0c['qApJY'],()=>featureResume(_0x38d63e['id']));})[_0x4e339f(0x24f)](_0x4e339f(0x214),![],_0x154276=>{const _0x58b95c=_0x4e339f;return _0x154276['positional']('description',{'type':_0x20fb0c['ulwny'],'description':_0x20fb0c[_0x58b95c(0x1cf)],'demandOption':!![]})[_0x58b95c(0x28e)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x21d41e=>{const _0x4b4889=_0x4e339f;_0x20fb0c[_0x4b4889(0x21a)](warnRenamed,_0x20fb0c[_0x4b4889(0x1e6)],_0x4b4889(0x223)),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x21d41e['description'],_0x21d41e['id']));})['command']('get-feedback\x20[id]',![],_0x2a1cd1=>{const _0x17d04a=_0x4e339f;return _0x2a1cd1[_0x17d04a(0x28c)]('id',{'type':_0x17d04a(0x1e9),'description':_0x17d04a(0x217)});},async _0x25f957=>{const _0x18c7eb=_0x4e339f;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await withTelemetry(_0x18c7eb(0x19e),()=>featureGetReview(_0x25f957['id']));})['command'](_0x4e339f(0x2b3),![],_0x373990=>{const _0x48f2e6=_0x4e339f;return _0x373990['positional']('id',{'type':'string','description':_0x20fb0c[_0x48f2e6(0x1c7)]});},async _0x59618c=>{const _0x4acf4d=_0x4e339f;warnRenamed(_0x4acf4d(0x246),'ranger\x20delete'),await _0x20fb0c['BvEbe'](withTelemetry,_0x4acf4d(0x1d3),()=>featureDelete(_0x59618c['id']));})['command'](_0x20fb0c['iyYfS'],![],_0xb6225a=>{const _0x154989=_0x4e339f;return _0xb6225a[_0x154989(0x28c)]('id',{'type':_0x154989(0x1e9),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x116889=>{const _0x4f41ea=_0x4e339f;_0x20fb0c['XSUmv'](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0x4f41ea(0x265),()=>featureRestore(_0x116889['id']));})['demandCommand'](0x1,_0x20fb0c[_0x4e339f(0x2c1)]);})['command'](_0x420c1b(0x1ba),![],_0x1e6bdf=>{const _0x207b58=_0x420c1b,_0x597a5e={'uJyaB':_0x207b58(0x1e9),'CQpoB':'hook:enable','TUUnN':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zebCL':function(_0x304013,_0x2d16a4,_0x49858a){return _0x304013(_0x2d16a4,_0x49858a);},'Usfav':_0x207b58(0x279),'HTnkL':_0x207b58(0x21c),'WHYga':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','syBWF':_0x207b58(0x2a9),'hWUTw':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'};return _0x1e6bdf['command'](_0x597a5e['HTnkL'],_0x207b58(0x20b),_0x325d99=>{const _0x3e43e4=_0x207b58;return _0x325d99['option']('session-id',{'type':_0x597a5e['uJyaB'],'description':_0x3e43e4(0x28a)});},async _0xefb351=>{const _0x5c9c23=_0x207b58;await withTelemetry(_0x597a5e[_0x5c9c23(0x25b)],()=>hook('enable',_0xefb351[_0x5c9c23(0x1f1)]));})['command']('disable',_0x597a5e[_0x207b58(0x1a8)],_0x1a080c=>{const _0x18026b=_0x207b58;return _0x1a080c['option']('session-id',{'type':_0x18026b(0x1e9),'description':_0x597a5e['TUUnN']});},async _0x580852=>{const _0x2e3e1e=_0x207b58;await _0x597a5e['zebCL'](withTelemetry,_0x597a5e[_0x2e3e1e(0x272)],()=>hook('disable',_0x580852['session-id']));})[_0x207b58(0x28e)](_0x597a5e[_0x207b58(0x2a8)],{'type':_0x207b58(0x1e9),'description':_0x597a5e[_0x207b58(0x2b1)]})[_0x207b58(0x28e)](_0x207b58(0x1f1),{'type':'string','description':_0x597a5e[_0x207b58(0x1ea)]});},async _0x455b69=>{_0x455b69['name']&&await hook(_0x455b69['name'],_0x455b69['session-id']);})[_0x420c1b(0x1d2)](0x1,_0x420c1b(0x200))['strictCommands']()['fail'](async(_0x5b3396,_0x52d198,_0x593e75)=>{const _0x19dfe9=_0x420c1b,_0x137408={'AzaYU':function(_0x2d1a1e,_0x25c8fb,_0x4acca4){return _0x2d1a1e(_0x25c8fb,_0x4acca4);},'DHKQT':_0x19dfe9(0x1a9),'RAYYd':function(_0x54c6e2){return _0x54c6e2();},'nhJVe':function(_0x8e5e64,_0x56b5b0){return _0x8e5e64||_0x56b5b0;},'knSGx':_0x19dfe9(0x1ca)},_0x4b29c3=sanitizeArgs(process['argv'][_0x19dfe9(0x2cb)](0x2)),_0x1cf856=_0x137408[_0x19dfe9(0x284)](getErrorType,_0x5b3396,_0x52d198);if(_0x5b3396&&_0x5b3396[_0x19dfe9(0x25e)](_0x137408[_0x19dfe9(0x240)])){const _0x3e73f4=process['argv'][0x2];console[_0x19dfe9(0x21f)](_0x19dfe9(0x1b2)+_0x3e73f4),console[_0x19dfe9(0x21f)](_0x19dfe9(0x18b));}else{if(_0x5b3396)console[_0x19dfe9(0x21f)]('\x0a'+_0x5b3396+'\x0a');else _0x52d198&&console['error']('\x0aError:\x20'+_0x52d198[_0x19dfe9(0x2cc)]+'\x0a');}await logDesirePath({'rawCommand':_0x4b29c3,'errorMessage':_0x5b3396||_0x52d198?.[_0x19dfe9(0x2cc)],'errorType':_0x1cf856});const _0x318483=_0x137408[_0x19dfe9(0x204)](getCurrentCollector);_0x318483&&await _0x318483[_0x19dfe9(0x209)](_0x52d198||new Error(_0x137408['nhJVe'](_0x5b3396,_0x137408[_0x19dfe9(0x1ec)]))),process[_0x19dfe9(0x288)](0x1);})[_0x420c1b(0x201)](_0x420c1b(0x19b)+_0x420c1b(0x1b6)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias']('help','h')['parse']();
2
+ const _0x448d53=_0x572d;(function(_0x14dc67,_0x58a5d7){const _0x232ccd=_0x572d,_0x33b501=_0x14dc67();while(!![]){try{const _0x40e9c2=-parseInt(_0x232ccd(0xe8))/0x1+parseInt(_0x232ccd(0x1b4))/0x2+-parseInt(_0x232ccd(0x168))/0x3+parseInt(_0x232ccd(0x1e8))/0x4+-parseInt(_0x232ccd(0xfe))/0x5*(-parseInt(_0x232ccd(0x16e))/0x6)+parseInt(_0x232ccd(0x1ce))/0x7*(-parseInt(_0x232ccd(0x1cb))/0x8)+-parseInt(_0x232ccd(0x14d))/0x9;if(_0x40e9c2===_0x58a5d7)break;else _0x33b501['push'](_0x33b501['shift']());}catch(_0x8aa524){_0x33b501['push'](_0x33b501['shift']());}}}(_0x324e,0x7a0cf));function _0x572d(_0x469936,_0x17f839){_0x469936=_0x469936-0xa2;const _0x324e2a=_0x324e();let _0x572d4d=_0x324e2a[_0x469936];return _0x572d4d;}import _0x1d593c from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x333372=_0x572d,_0x44abf5={'hXodB':function(_0x60eb8d,_0x4d566d){return _0x60eb8d(_0x4d566d);},'AmyeU':function(_0x5aa655,_0x39e368){return _0x5aa655!==_0x39e368;},'Yzbhw':function(_0x44bb45,_0x184b08,_0x35cf85){return _0x44bb45(_0x184b08,_0x35cf85);},'EEPxs':_0x333372(0x172),'gJQQV':function(_0x16ca47,_0x1869ae,_0x3a3c52){return _0x16ca47(_0x1869ae,_0x3a3c52);}};let _0x50bfc7=process[_0x333372(0x145)]();const _0x309374=_0x44abf5['hXodB'](parse,_0x50bfc7)[_0x333372(0x182)];while(_0x44abf5[_0x333372(0x189)](_0x50bfc7,_0x309374)){if(_0x44abf5['hXodB'](existsSync,_0x44abf5[_0x333372(0xd4)](join,_0x50bfc7,_0x44abf5[_0x333372(0xb4)]))||existsSync(_0x44abf5[_0x333372(0xcf)](join,_0x50bfc7,'.env')))return _0x50bfc7;_0x50bfc7=_0x44abf5['hXodB'](dirname,_0x50bfc7);}return process['cwd']();}_0x1d593c[_0x448d53(0xaa)]({'path':join(findProjectRoot(),'.env')});import _0x7e284 from'yargs/yargs';function _0x324e(){const _0x5f284b=['Enable\x20Ranger\x20hooks\x20for\x20this\x20session','add-scenario\x20<description>','Scenario\x20number\x20to\x20edit\x20(1-based)','uGhts','BLhTI','dbgRh','AmyeU','IrkDs','neOGy','profile\x20add','restore\x20<id>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','gYMol','key','feature\x20delete','issues','token','number','Environment\x20name','name','positional','arJPr','checklist','list\x20<profile>','profile\x20encrypt-auth','ANhSu','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','partial','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hcouN','ranger\x20feature\x20create','MXuVx','oRwdI','kLabr','project','ranger\x20profile\x20config\x20set','ZPJls','model','qVfzD','string','vlwwW','nynpk','ranger\x20feature\x20show','auWvW','headed','env','gOucP','Initialize\x20Ranger\x20in\x20your\x20project','list','816152mbfhim','lfwns','env\x20update','feature\x20add-checklist-item','Feature\x20review\x20ID\x20to\x20restore','dELeB','XBqWP','repeat','dVbha','Install\x20Ranger\x20skills','value','use\x20<profile-name>','JaaGJ','jZkEh','Name\x20of\x20the\x20profile\x20to\x20update','phdQV','ranger\x20profile\x20config\x20list','setup-ci\x20<token>','ranger\x20profile\x20ls','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20create','cdp-endpoint','Install\x20skills\x20for\x20OpenCode','843032eJKjBV','Config\x20value','--checklist','7sIMUZx','wDSEf','YJOUR','Name\x20of\x20the\x20environment','verified','uhKut','create\x20<name>','vevIW','nhODV','current-branch','update\x20<env-name>','ARBlZ','MIVWa','Twenp','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20feature\x20delete','Scenario\x20description','Switch\x20to\x20using\x20a\x20specific\x20profile','APBuB','GFpoT','Config\x20key','uAsnx','SFVcE','help','ranger\x20restore','3469364fsGRXg','LTGSa','command','ranger\x20profile\x20config\x20get','LPzMi','evaluationReason','OYqaD','batgv','exit','start','aoRKT','Documentation:\x0a','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20verify-feature','ranger\x20env\x20ls','List\x20all\x20feature\x20reviews','Manage\x20profile\x20configuration','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','ZlOBl','jyVBS','error','skillup','irtkl','get-feedback\x20[id]','array','profile\x20config\x20list','WCJws','iYQWX','WwFNE','bACVY','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','scope','feature\x20get-feedback','config','PfCwB','evaluation','some','\x0aError:\x20','RbVdK','ranger\x20start','kFkva','demandCommand','Include\x20soft-deleted\x20feature\x20reviews','EEPxs','rBybU','scenario','kQzCd','exitCode','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','item','EAGTK','profile','jiSoj','ranger\x20profile\x20update','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','cdBlm','xGwSe','add-checklist-item\x20<description>','Scenario\x20index\x20(1-based)','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','PRigz','QfhVs','base-url','eoRTf','--scenario','DVQCm','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','add-scenario','RSJSq','Summary:\x20','gJQQV','add\x20env','dElfZ','SgcQw','oFejQ','Yzbhw','failed','incomplete','ranger\x20add\x20env','severity','bvqfV','exclude-scenario','mDUmZ','mzAcs','map','GMJef','New\x20scenario\x20description','klaNe','You\x20must\x20specify\x20a\x20config\x20subcommand','skip-auth','.\x20[','include-deleted','xuGzG','ranger\x20delete','allow-insecure-localhost','418682dKaDYK','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','xjpPR','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','tKAyY','ranger\x20profile\x20add','ieUbe','ycHAx','List\x20all\x20profiles','start-path','NrQUX','verify-feature','feature\x20show','disable','Feature\x20review\x20description','profile-name','RqpJf','Sqbzk','XDvGY','ranger\x20config\x20list','default','oIbfb','15QMlPQV','session-id','IImPa','vcfdC','zqRaY','usage','lzTwN','ccvVi','iTTas','HluqK','kSiDn','rdRMx','task','Number\x20of\x20feature\x20reviews\x20to\x20skip','get\x20<profile>\x20<key>','Utshm','force','fCRJB','config\x20unset','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','login','TQtQy','JfwQd','pVKIW','\x20is\x20now\x20','qSZQr','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Vnfiq','YJfwI','limit','update','ranger\x20config\x20get','riHUL','pWjDo','gfZQc','Install\x20scope\x20for\x20skills','Update\x20authentication\x20for\x20an\x20existing\x20profile','zuSba','message','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','epilogue','strictCommands','hook','Profile\x20name','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','GgjFr','argv','skip-chromium','profile\x20update','debug-outcome','start\x20[token]','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','wussg','\x0aIssues:','bkPxH','status','JpMQK','RBqAd','MqXsa','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','restore','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','length','json','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','AaxVe','Feature\x20review\x20name','ranger\x20feature\x20add-checklist-item','blocked','cwd','TBTOB','set\x20<env>\x20<key>\x20<value>','wmESq','resume','kwGRC','jBlEi','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','5754843dHxhIA','vwREu','url','GlRqZ','CoWDV','ranger\x20go','startsWith','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','rmbyG','bJAXt','unset\x20<profile>\x20<key>','xllog','log','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\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\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\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.','flag','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','profile\x20ls','dklFE','aFhfH','feature','trackCommandError','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\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\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\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27','boolean','description','brKAJ','list\x20<env>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','637101ARukMz','Feature\x20review\x20ID','\x20INCOMPLETE','ranger','enable','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','1200714diDAqD','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','GwBke','dgura','.ranger','ZfsPZ','unset\x20<env>\x20<key>','Skip\x20Chromium\x20browser\x20installation','ZjAGc','ranger\x20config\x20set','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','opencode','get\x20<env>\x20<key>','nFatP','user','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Rulrf','YbvSk','nyzqb','option','root'];_0x324e=function(){return _0x5f284b;};return _0x324e();}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{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,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 _0x433516=>{const _0x2878fd=_0x448d53,_0x13f3fe={'BlmlK':function(_0x5ca130){return _0x5ca130();}},_0x104d27=_0x13f3fe['BlmlK'](getCurrentCollector);_0x104d27&&await _0x104d27[_0x2878fd(0x161)](_0x433516),process[_0x2878fd(0xb8)]=0x1;});const rawArgs=process[_0x448d53(0x12d)]['slice'](0x2),TOP_LEVEL_HELP=_0x448d53(0x15a),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=_0x448d53(0x162);function warnRenamed(_0x5b564e,_0x586f97){const _0x32611f=_0x448d53;console['error']('\x0a'+_0x5b564e+_0x32611f(0x116)+_0x586f97+'\x0a');}function argUsed(_0x2e1fce){const _0x3f6f3d=_0x448d53;return rawArgs[_0x3f6f3d(0xad)](_0x586a73=>_0x586a73===_0x2e1fce||_0x586a73[_0x3f6f3d(0x153)](_0x2e1fce+'='));}function warnFlagRenamed(_0x34fb01,_0xd360ab,_0x506992){const _0x44cbde=_0x448d53,_0x107e7c={'DlQBY':function(_0x33a2ea,_0x2fe22a){return _0x33a2ea(_0x2fe22a);},'MXuVx':function(_0x4227dd,_0xcc7f48,_0x301261){return _0x4227dd(_0xcc7f48,_0x301261);}};_0x107e7c['DlQBY'](argUsed,_0xd360ab)&&_0x107e7c[_0x44cbde(0x1a2)](warnRenamed,_0x34fb01+'\x20'+_0xd360ab,_0x34fb01+'\x20'+_0x506992);}async function runGoCommand(_0x7db2e6,_0x5782d9=![]){const _0x325d54=_0x448d53,_0x4fccde={'RbVdK':function(_0x2fe678,_0x240b44,_0x452334){return _0x2fe678(_0x240b44,_0x452334);},'oGqrq':_0x325d54(0x1f5),'OYqaD':'ranger\x20go','LTGSa':'--env','bJAXt':'--profile','Vnfiq':'--notes','zvseo':'--item','riHUL':'--scenario','ocxSM':function(_0x232861,_0x10fb8c){return _0x232861(_0x10fb8c);},'rmbyG':_0x325d54(0xf1),'iYQWX':_0x325d54(0x130),'vwREu':'debug-address-comments','gxInK':function(_0x44bea8,_0x1ab84c){return _0x44bea8+_0x1ab84c;},'JYTzw':_0x325d54(0x1d2),'yrEtL':function(_0x5d4ce7,_0x1445f7){return _0x5d4ce7===_0x1445f7;},'YJfwI':_0x325d54(0x16a),'uGhts':'\x20PARTIAL','jeXCm':'\x20FAILED','HxTLp':_0x325d54(0x135)};_0x5782d9&&_0x4fccde[_0x325d54(0xaf)](warnRenamed,_0x4fccde['oGqrq'],_0x325d54(0x152));warnFlagRenamed(_0x4fccde[_0x325d54(0x1ee)],_0x4fccde[_0x325d54(0x1e9)],_0x4fccde[_0x325d54(0x156)]),warnFlagRenamed('ranger\x20go','--task',_0x4fccde[_0x325d54(0x119)]),warnFlagRenamed(_0x4fccde['OYqaD'],_0x4fccde['zvseo'],_0x4fccde[_0x325d54(0x11e)]);const _0x31aa2f=await loadRangerConfig(),_0x1b8bfe=_0x7db2e6[_0x325d54(0x1a8)],_0x196140=_0x31aa2f['model'],_0x41ea8c=_0x1b8bfe??_0x196140,_0x43885f=_0x1b8bfe?_0x325d54(0x15b):_0x196140?'config':_0x325d54(0xfc),_0x2ad48c=await _0x4fccde['ocxSM'](verifyFeature,{'featureId':_0x7db2e6['feature'],'profile':_0x7db2e6['profile']??_0x7db2e6['env'],'notes':_0x7db2e6['notes']??_0x7db2e6[_0x325d54(0x10a)],'scenario':_0x7db2e6[_0x325d54(0xb6)]??_0x7db2e6[_0x325d54(0xba)],'startPath':_0x7db2e6[_0x4fccde[_0x325d54(0x155)]],'debugOutcome':_0x7db2e6[_0x4fccde[_0x325d54(0xa4)]],'debugAddressComments':_0x7db2e6[_0x4fccde[_0x325d54(0x14e)]],'headed':_0x7db2e6['headed'],'verifyModel':_0x41ea8c,'verifyModelInput':_0x41ea8c,'verifyModelSource':_0x43885f});console['log'](_0x4fccde['gxInK']('\x0a','='[_0x325d54(0x1bb)](0x3c))),console['log'](_0x2ad48c[_0x325d54(0xac)]===_0x4fccde['JYTzw']?'\x20VERIFIED':_0x4fccde['yrEtL'](_0x2ad48c['evaluation'],_0x325d54(0xd6))?_0x4fccde[_0x325d54(0x11a)]:_0x2ad48c['evaluation']==='partial'?_0x4fccde[_0x325d54(0x186)]:_0x2ad48c[_0x325d54(0xac)]===_0x325d54(0x144)?'\x20BLOCKED':_0x4fccde['jeXCm']),console[_0x325d54(0x159)]('='['repeat'](0x3c)),console[_0x325d54(0x159)](_0x325d54(0xce)+_0x2ad48c['summary']),console[_0x325d54(0x159)]('Evaluation:\x20'+_0x2ad48c[_0x325d54(0xac)]),console[_0x325d54(0x159)]('Reason:\x20'+_0x2ad48c[_0x325d54(0x1ed)]),_0x2ad48c[_0x325d54(0x192)]?.[_0x325d54(0x13e)]&&(console[_0x325d54(0x159)](_0x4fccde['HxTLp']),_0x2ad48c['issues']['forEach']((_0x4b4cec,_0x1efa14)=>{const _0x30b1f6=_0x325d54;console['log']('\x0a'+(_0x1efa14+0x1)+_0x30b1f6(0xe3)+_0x4b4cec[_0x30b1f6(0xd8)]+']\x20'+_0x4b4cec[_0x30b1f6(0x164)]);})),process['exit'](_0x4fccde['yrEtL'](_0x2ad48c[_0x325d54(0xac)],_0x325d54(0x1d2))?0x0:0x1);}_0x7e284(process[_0x448d53(0x12d)]['slice'](0x2))['scriptName'](_0x448d53(0x16b))[_0x448d53(0x103)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x448d53(0x1d4),_0x448d53(0x111),_0x4010ab=>{const _0x4a7c84=_0x448d53,_0x42dd97={'Rulrf':'description','qSZQr':_0x4a7c84(0x1aa),'ePTly':_0x4a7c84(0xb6),'kQzCd':_0x4a7c84(0xa7)};return _0x4010ab['positional'](_0x4a7c84(0x196),{'type':_0x4a7c84(0x1aa),'description':_0x4a7c84(0x142),'demandOption':!![]})['option'](_0x42dd97[_0x4a7c84(0x17e)],{'type':_0x42dd97[_0x4a7c84(0x117)],'alias':'d','description':_0x4a7c84(0xf6)})['option'](_0x42dd97['ePTly'],{'type':'array','alias':'c','description':_0x42dd97[_0x4a7c84(0xb7)]})[_0x4a7c84(0x181)]('checklist',{'type':_0x4a7c84(0x200),'hidden':!![]});},async _0x59cd2d=>{const _0x59e6d7=_0x448d53,_0x2ed26f={'fdIHu':function(_0x5d7fb8,_0x149093,_0x2cc999,_0x56f2f2){return _0x5d7fb8(_0x149093,_0x2cc999,_0x56f2f2);},'RBqAd':'--scenario','AyVQr':function(_0x514527,_0x3058ac,_0x1a4b54){return _0x514527(_0x3058ac,_0x1a4b54);},'tAIpp':'create'};_0x2ed26f['fdIHu'](warnFlagRenamed,_0x59e6d7(0x1c8),'--checklist',_0x2ed26f[_0x59e6d7(0x139)]);const _0x450a3d=_0x59cd2d['scenario']||_0x59cd2d[_0x59e6d7(0x199)];await _0x2ed26f['AyVQr'](withTelemetry,_0x2ed26f['tAIpp'],()=>featureCreate(_0x59cd2d['name'],{'description':_0x59cd2d['description'],'scenarios':_0x450a3d}));})[_0x448d53(0x1ea)](_0x448d53(0x1b3),_0x448d53(0x1f7),_0xf3cc62=>{const _0x3414aa=_0x448d53,_0x309ba5={'TQtQy':'current-branch','ZjAGc':_0x3414aa(0x163),'fCRJB':_0x3414aa(0x12b),'JuRwa':_0x3414aa(0x11b),'NfFJL':_0x3414aa(0xb9),'jvGUf':_0x3414aa(0x10b),'MIVWa':'include-deleted','dgura':_0x3414aa(0xb3)};return _0xf3cc62[_0x3414aa(0x181)](_0x309ba5[_0x3414aa(0x113)],{'type':_0x309ba5[_0x3414aa(0x176)],'description':_0x309ba5[_0x3414aa(0x10f)]})['option'](_0x309ba5['JuRwa'],{'type':'number','alias':'l','description':_0x309ba5['NfFJL'],'default':0xa})[_0x3414aa(0x181)]('offset',{'type':'number','alias':'o','description':_0x309ba5['jvGUf'],'default':0x0})['option'](_0x309ba5[_0x3414aa(0x1da)],{'type':_0x309ba5['ZjAGc'],'alias':'d','description':_0x309ba5[_0x3414aa(0x171)],'default':![]});},async _0x5ed578=>{const _0x333200=_0x448d53,_0x505c3a={'kdrbO':function(_0xa7eb0f,_0x42322f,_0x2f0b9d){return _0xa7eb0f(_0x42322f,_0x2f0b9d);},'lgnpx':_0x333200(0x1b3)};await _0x505c3a['kdrbO'](withTelemetry,_0x505c3a['lgnpx'],()=>featureList({'currentBranch':_0x5ed578[_0x333200(0x1d7)],'limit':_0x5ed578['limit'],'offset':_0x5ed578['offset'],'includeDeleted':_0x5ed578[_0x333200(0xe4)]}));})[_0x448d53(0x1ea)]('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4ed88e=>{const _0x5835eb=_0x448d53,_0x2c541b={'YpcHq':'string','ChlHP':'Feature\x20review\x20ID'};return _0x4ed88e[_0x5835eb(0x197)]('id',{'type':_0x2c541b['YpcHq'],'description':_0x2c541b['ChlHP']});},async _0x386b0e=>{await withTelemetry('show',()=>featureShow(_0x386b0e['id']));})['command']('resume\x20[id]',_0x448d53(0x167),_0x37740a=>{const _0x30fd43=_0x448d53,_0x18db1e={'HCUHT':_0x30fd43(0x1aa)};return _0x37740a[_0x30fd43(0x197)]('id',{'type':_0x18db1e['HCUHT'],'description':_0x30fd43(0x154)});},async _0x137877=>{const _0x24c8c4=_0x448d53,_0x49d292={'AgZhC':_0x24c8c4(0x149)};await withTelemetry(_0x49d292['AgZhC'],()=>featureResume(_0x137877['id']));})[_0x448d53(0x1ea)](_0x448d53(0x184),_0x448d53(0x1f4),_0x42b789=>{const _0xcdf28f=_0x448d53,_0xd67a72={'IrkDs':_0xcdf28f(0x164),'KlXci':_0xcdf28f(0x1aa),'nbFVq':_0xcdf28f(0x1df)};return _0x42b789['positional'](_0xd67a72[_0xcdf28f(0x18a)],{'type':_0xd67a72['KlXci'],'description':_0xd67a72['nbFVq'],'demandOption':!![]})[_0xcdf28f(0x181)]('id',{'type':_0xd67a72['KlXci'],'description':_0xcdf28f(0x12a)});},async _0x33bc8d=>{const _0x3b67fe=_0x448d53,_0xc2fcae={'nyzqb':_0x3b67fe(0xcc)};await withTelemetry(_0xc2fcae[_0x3b67fe(0x180)],()=>featureAddScenario(_0x33bc8d['description'],_0x33bc8d['id']));})[_0x448d53(0x1ea)]('edit-scenario\x20<description>',_0x448d53(0x133),_0x5ba5b5=>{const _0x6f3a3c=_0x448d53,_0x5ef84b={'CgBZV':_0x6f3a3c(0x1aa),'IltBC':_0x6f3a3c(0xdf)};return _0x5ba5b5['positional']('description',{'type':_0x5ef84b['CgBZV'],'description':_0x5ef84b['IltBC'],'demandOption':!![]})[_0x6f3a3c(0x181)](_0x6f3a3c(0xb6),{'type':'number','description':_0x6f3a3c(0x185),'demandOption':!![]})[_0x6f3a3c(0x181)]('id',{'type':_0x5ef84b['CgBZV'],'description':_0x6f3a3c(0x12a)});},async _0x130553=>{const _0x19a7bf=_0x448d53,_0xf93268={'eoRTf':'edit-scenario'};await withTelemetry(_0xf93268[_0x19a7bf(0xc8)],()=>featureEditScenario(_0x130553['description'],{'id':_0x130553['id'],'scenario':_0x130553['scenario']}));})['command']('report\x20[id]',_0x448d53(0x14c),_0x28992d=>{const _0x4b6c79=_0x448d53,_0x5656ce={'GDukk':_0x4b6c79(0x1aa),'MqXsa':_0x4b6c79(0x200),'Utshm':_0x4b6c79(0xcb),'LPzMi':'json','xsRaV':_0x4b6c79(0x163)};return _0x28992d[_0x4b6c79(0x197)]('id',{'type':_0x5656ce['GDukk'],'description':_0x4b6c79(0x169)})[_0x4b6c79(0x181)](_0x4b6c79(0xda),{'type':_0x5656ce[_0x4b6c79(0x13a)],'description':_0x5656ce[_0x4b6c79(0x10d)]})[_0x4b6c79(0x181)](_0x5656ce[_0x4b6c79(0x1ec)],{'type':_0x5656ce['xsRaV'],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x5d569f=>{const _0xb37c26=_0x448d53,_0x363609=_0x5d569f[_0xb37c26(0xda)],_0x2286cf=_0x363609?_0x363609[_0xb37c26(0xdd)](_0x38f883=>Number(_0x38f883)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x5d569f['id'],{'excludeScenarios':_0x2286cf,'json':_0x5d569f[_0xb37c26(0x13f)]}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0xc7af38=>{const _0xb0a3b2=_0x448d53,_0x1ec28a={'yePIu':_0xb0a3b2(0x1aa)};return _0xc7af38[_0xb0a3b2(0x197)]('id',{'type':_0x1ec28a['yePIu'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x2d221e=>{const _0x895926=_0x448d53,_0x16f9c1={'zqRaY':function(_0x201520,_0x1827b1,_0x467f58){return _0x201520(_0x1827b1,_0x467f58);},'lzTwN':'get-review'};await _0x16f9c1[_0x895926(0x102)](withTelemetry,_0x16f9c1[_0x895926(0x104)],()=>featureGetReview(_0x2d221e['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x164ab2=>{const _0x4c6532=_0x448d53,_0x5c7572={'xPDGI':'string','blkqi':'Feature\x20review\x20ID'};return _0x164ab2[_0x4c6532(0x197)]('id',{'type':_0x5c7572['xPDGI'],'description':_0x5c7572['blkqi']});},async _0xb45c92=>{const _0x44acb3=_0x448d53,_0x3b0c1f={'xGwSe':function(_0x420e54,_0x261d9a,_0x56955a){return _0x420e54(_0x261d9a,_0x56955a);},'vlwwW':'delete'};await _0x3b0c1f[_0x44acb3(0xc1)](withTelemetry,_0x3b0c1f[_0x44acb3(0x1ab)],()=>featureDelete(_0xb45c92['id']));})['command'](_0x448d53(0x18d),'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x176668=>{const _0x1b2255=_0x448d53,_0x2fd086={'ukvGa':_0x1b2255(0x1aa),'Dxwdj':_0x1b2255(0x1b8)};return _0x176668['positional']('id',{'type':_0x2fd086['ukvGa'],'description':_0x2fd086['Dxwdj'],'demandOption':!![]});},async _0x23ef8a=>{const _0x112fb2=_0x448d53,_0x1bac93={'YIwLz':function(_0x517170,_0x23f52c,_0xf256f){return _0x517170(_0x23f52c,_0xf256f);},'MQCMn':_0x112fb2(0x13c)};await _0x1bac93['YIwLz'](withTelemetry,_0x1bac93['MQCMn'],()=>featureRestore(_0x23ef8a['id']));})['command']('setup\x20[token]',_0x448d53(0x1b2),_0x52fd7e=>{const _0x31e9a8=_0x448d53,_0x28fb7e={'JfwQd':_0x31e9a8(0x163),'gYMol':_0x31e9a8(0x1dd),'mgURX':'scope','jBlEi':_0x31e9a8(0x14f),'lOBpe':_0x31e9a8(0x1dc),'gOucP':'opencode','RSJSq':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','neOGy':'allow-insecure-localhost','quXVs':_0x31e9a8(0x132)};return _0x52fd7e['positional'](_0x31e9a8(0x193),{'type':'string','description':_0x31e9a8(0x18e)})[_0x31e9a8(0x181)](_0x31e9a8(0x12e),{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e[_0x31e9a8(0x18f)],'default':![]})['option'](_0x28fb7e['mgURX'],{'type':'string','choices':[_0x31e9a8(0x17c),'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x14b)],{'type':_0x31e9a8(0x1aa),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x31e9a8(0x181)](_0x31e9a8(0x10e),{'type':_0x31e9a8(0x163),'description':_0x28fb7e['lOBpe'],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x1b1)],{'type':'boolean','description':_0x28fb7e[_0x31e9a8(0xcd)],'default':![]})[_0x31e9a8(0x181)](_0x28fb7e[_0x31e9a8(0x18b)],{'type':_0x28fb7e[_0x31e9a8(0x114)],'description':_0x28fb7e['quXVs'],'default':![]});},async _0x15feec=>{const _0x347202=_0x448d53,_0x209840={'jjlwb':function(_0x121252,_0x2bff18,_0x24d4ba){return _0x121252(_0x2bff18,_0x24d4ba);}};await _0x209840['jjlwb'](withTelemetry,_0x347202(0x1f1),_0x198600=>start(_0x15feec[_0x347202(0x193)],{'skipChromium':_0x15feec[_0x347202(0x12e)],'scope':_0x15feec[_0x347202(0xa8)],'url':_0x15feec['url'],'force':_0x15feec['force'],'opencode':_0x15feec['opencode'],'allowInsecureLocalhost':_0x15feec['allow-insecure-localhost']},_0x198600));})['command'](_0x448d53(0x1c5),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x4facaf=>{const _0x48c63a=_0x448d53,_0x33e34a={'YJOUR':'token','gfZQc':'string','HlbPi':'Ranger\x20API\x20token','pVKIW':_0x48c63a(0xbc),'DVQCm':'base-url','iGbYN':'skip-chromium','jyVBS':'boolean','Cciya':_0x48c63a(0x175)};return _0x4facaf[_0x48c63a(0x197)](_0x33e34a[_0x48c63a(0x1d0)],{'type':_0x33e34a[_0x48c63a(0x120)],'description':_0x33e34a['HlbPi'],'demandOption':!![]})['option'](_0x33e34a[_0x48c63a(0x115)],{'type':_0x48c63a(0x1aa),'description':_0x48c63a(0x118)})['option'](_0x33e34a[_0x48c63a(0xca)],{'type':_0x33e34a['gfZQc'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x48c63a(0x181)](_0x33e34a['iGbYN'],{'type':_0x33e34a[_0x48c63a(0x1fb)],'description':_0x33e34a['Cciya'],'default':![]});},async _0x2cf0a7=>{const _0x325f82=_0x448d53,_0x202fc8={'XdJTw':function(_0x24b24c,_0x8e6265,_0x290c26){return _0x24b24c(_0x8e6265,_0x290c26);},'brwUt':'setup-ci'};await _0x202fc8['XdJTw'](withTelemetry,_0x202fc8['brwUt'],_0x21eda5=>setupCi(_0x2cf0a7[_0x325f82(0x193)],{'profile':_0x2cf0a7[_0x325f82(0xbc)],'baseUrl':_0x2cf0a7[_0x325f82(0xc7)],'skipChromium':_0x2cf0a7['skip-chromium']},_0x21eda5));})['command']('login',_0x448d53(0x19d),()=>{},async()=>{const _0x5dd1af=_0x448d53,_0x1c193a={'oRwdI':function(_0x4ed021,_0x52f868,_0x4f03fb){return _0x4ed021(_0x52f868,_0x4f03fb);}};await _0x1c193a[_0x5dd1af(0x1a3)](withTelemetry,_0x5dd1af(0x112),()=>login());})['command'](_0x448d53(0x1fd),_0x448d53(0x1bd),_0x49438c=>{const _0x515e38=_0x448d53,_0x86cddc={'vevIW':'boolean'};return _0x49438c[_0x515e38(0x181)](_0x515e38(0x179),{'type':_0x86cddc[_0x515e38(0x1d5)],'description':_0x515e38(0x1ca),'default':![]})[_0x515e38(0x181)](_0x515e38(0xa8),{'type':'string','choices':['user',_0x515e38(0x1a5)],'description':_0x515e38(0x121)});},async _0x1944f2=>{const _0x21e6dc=_0x448d53,_0x5ed538={'nhODV':function(_0x2b2771,_0x32ea8a){return _0x2b2771(_0x32ea8a);},'kwGRC':'skillup'},_0x4204f9=_0x5ed538[_0x21e6dc(0x1d6)](Boolean,_0x1944f2['opencode']);await withTelemetry(_0x5ed538[_0x21e6dc(0x14a)],()=>skillup({'autoInstall':_0x1944f2['scope'],'platform':_0x4204f9?_0x21e6dc(0x179):'claude'}));})['command']('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x28188d={'nkavC':'clean'};await withTelemetry(_0x28188d['nkavC'],()=>clean());})[_0x448d53(0x1ea)]('profile','Manage\x20profiles',_0x3f867b=>{const _0xd8da87=_0x448d53,_0x7cb856={'nFatP':_0xd8da87(0x13d),'RqpJf':'boolean','LpXXK':_0xd8da87(0xe2),'dVbha':_0xd8da87(0x10e),'CBDVQ':_0xd8da87(0x1dc),'KuyPg':_0xd8da87(0xe7),'tnWDV':'cdp-endpoint','uAsnx':_0xd8da87(0xf7),'NrQUX':'Name\x20of\x20the\x20profile','tKAyY':function(_0x5134b3,_0x2c86c5,_0x1128d1){return _0x5134b3(_0x2c86c5,_0x1128d1);},'XDvGY':_0xd8da87(0x1aa),'wmESq':function(_0x555898,_0x4a9468,_0x1bdf0b){return _0x555898(_0x4a9468,_0x1bdf0b);},'XvKcB':'profile','dbgRh':'profile\x20config\x20set','ZfsPZ':'profile\x20config\x20get','AaxVe':'Profile\x20name','uhKut':'Config\x20key\x20to\x20remove','JaaGJ':'Set\x20a\x20config\x20value','LPfLG':_0xd8da87(0x19a),'ekHEJ':'Remove\x20a\x20config\x20value','IImPa':'add\x20<profile-name>','vcfdC':'Add\x20profile\x20configuration','xVzIc':_0xd8da87(0x1bf),'Sqbzk':'update\x20<profile-name>','GlRqZ':_0xd8da87(0xaa),'ZPJls':_0xd8da87(0x1f8),'IMoLZ':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x3f867b['usage'](PROFILE_HELP)[_0xd8da87(0x1ea)](_0x7cb856[_0xd8da87(0x100)],_0x7cb856[_0xd8da87(0x101)],_0x40e0a4=>{const _0x400cff=_0xd8da87;return _0x40e0a4['positional']('profile-name',{'type':_0x400cff(0x1aa),'description':_0x7cb856[_0x400cff(0x17b)],'demandOption':!![]})[_0x400cff(0x181)]('ci',{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x16d),'default':![]})[_0x400cff(0x181)](_0x7cb856['LpXXK'],{'type':_0x400cff(0x163),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x400cff(0x181)](_0x400cff(0x14f),{'type':'string','description':_0x400cff(0xbf)})[_0x400cff(0x181)](_0x7cb856[_0x400cff(0x1bc)],{'type':_0x7cb856[_0x400cff(0xf8)],'description':_0x7cb856['CBDVQ'],'default':![]})['option'](_0x400cff(0x1c9),{'type':_0x400cff(0x1aa),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x400cff(0x181)](_0x7cb856['KuyPg'],{'type':_0x7cb856['RqpJf'],'description':_0x400cff(0x132),'default':![]});},async _0x13a20a=>{const _0x3cf6b5=_0xd8da87;await withTelemetry(_0x3cf6b5(0x18c),_0x144881=>addEnv(_0x13a20a['profile-name'],{'ci':_0x13a20a['ci'],'skipAuth':_0x13a20a[_0x3cf6b5(0xe2)],'url':_0x13a20a['url'],'force':_0x13a20a['force'],'cdpEndpoint':_0x13a20a[_0x3cf6b5(0x1c9)],'allowInsecureLocalhost':_0x13a20a[_0x3cf6b5(0xe7)]},_0x144881),{'isElectron':Boolean(_0x13a20a[_0x7cb856['tnWDV']])});})[_0xd8da87(0x1ea)](_0x7cb856['xVzIc'],_0xd8da87(0x1e0),_0x430214=>{const _0x4241ae=_0xd8da87;return _0x430214['positional'](_0x7cb856[_0x4241ae(0x1e4)],{'type':'string','description':_0x7cb856[_0x4241ae(0xf2)],'demandOption':!![]});},async _0x214798=>{const _0x52cdc8=_0xd8da87;await _0x7cb856[_0x52cdc8(0xec)](withTelemetry,'profile\x20use',()=>useEnv(_0x214798['profile-name']));})[_0xd8da87(0x1ea)]('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x582fd1=>{return _0x582fd1['positional']('profile',{'type':_0x7cb856['XDvGY'],'description':'Profile\x20name','demandOption':!![]});},async _0x22f793=>{const _0x234b9e=_0xd8da87;await _0x7cb856[_0x234b9e(0x148)](withTelemetry,_0x234b9e(0x19b),()=>authEncrypt(_0x22f793['profile']));})['command']('ls',_0xd8da87(0xf0),()=>{},async()=>{const _0x4e8898=_0xd8da87;await _0x7cb856[_0x4e8898(0xec)](withTelemetry,_0x4e8898(0x15d),()=>envList());})['command'](_0x7cb856[_0xd8da87(0xf9)],_0xd8da87(0x122),_0x2b414d=>{const _0x48b98d=_0xd8da87;return _0x2b414d[_0x48b98d(0x197)](_0x7cb856[_0x48b98d(0x1e4)],{'type':_0x48b98d(0x1aa),'description':_0x48b98d(0x1c2),'demandOption':!![]})[_0x48b98d(0x181)](_0x48b98d(0xe7),{'type':'boolean','description':_0x48b98d(0x132)});},async _0x1f4cc4=>{const _0x1444f7=_0xd8da87;await _0x7cb856['tKAyY'](withTelemetry,_0x1444f7(0x12f),_0x367018=>updateEnv(_0x1f4cc4['profile-name'],_0x367018,{'allowInsecureLocalhost':_0x1f4cc4[_0x1444f7(0xe7)]}));})['command'](_0x7cb856[_0xd8da87(0x150)],_0x7cb856[_0xd8da87(0x1a7)],_0x279a24=>{const _0x41d79c=_0xd8da87,_0x325b15={'oxosa':_0x41d79c(0x129),'rdRMx':_0x7cb856['XDvGY'],'lwZBz':'Config\x20key','mDUmZ':function(_0xbe3ecf,_0x4f0e59,_0x4c408b){return _0xbe3ecf(_0x4f0e59,_0x4c408b);},'tqzAi':_0x41d79c(0xa2)};return _0x279a24[_0x41d79c(0x103)](PROFILE_CONFIG_HELP)[_0x41d79c(0x1ea)]('set\x20<profile>\x20<key>\x20<value>',_0x7cb856[_0x41d79c(0x1c0)],_0x3b0604=>{const _0x58e057=_0x41d79c;return _0x3b0604[_0x58e057(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x58e057(0xfa)],'description':'Profile\x20name','demandOption':!![]})[_0x58e057(0x197)]('key',{'type':_0x58e057(0x1aa),'description':_0x58e057(0x13b),'demandOption':!![]})['positional'](_0x58e057(0x1be),{'type':_0x7cb856['XDvGY'],'description':'Config\x20value','demandOption':!![]});},async _0x3db3c0=>{const _0x471b21=_0x41d79c;await withTelemetry(_0x7cb856[_0x471b21(0x188)],()=>configSet(_0x3db3c0[_0x471b21(0xbc)],_0x3db3c0['key'],_0x3db3c0[_0x471b21(0x1be)]));})[_0x41d79c(0x1ea)](_0x41d79c(0x10c),'Get\x20a\x20config\x20value',_0x2bd60c=>{const _0x4ba496=_0x41d79c;return _0x2bd60c[_0x4ba496(0x197)](_0x4ba496(0xbc),{'type':'string','description':_0x325b15['oxosa'],'demandOption':!![]})['positional']('key',{'type':_0x325b15[_0x4ba496(0x109)],'description':_0x325b15['lwZBz'],'demandOption':!![]});},async _0x232380=>{const _0xc0654b=_0x41d79c;await withTelemetry(_0x7cb856[_0xc0654b(0x173)],()=>configGet(_0x232380['profile'],_0x232380['key']));})['command'](_0x7cb856['LPfLG'],_0x41d79c(0x1c7),_0x4697bf=>{const _0x1dae4b=_0x41d79c;return _0x4697bf['positional'](_0x1dae4b(0xbc),{'type':_0x1dae4b(0x1aa),'description':_0x7cb856[_0x1dae4b(0x141)],'demandOption':!![]});},async _0x94e41b=>{const _0xfd09fb=_0x41d79c;await _0x325b15[_0xfd09fb(0xdb)](withTelemetry,_0x325b15['tqzAi'],()=>configList(_0x94e41b['profile']));})['command'](_0x41d79c(0x157),_0x7cb856['ekHEJ'],_0x1c330e=>{const _0x3a6ce5=_0x41d79c;return _0x1c330e[_0x3a6ce5(0x197)](_0x7cb856['XvKcB'],{'type':_0x7cb856[_0x3a6ce5(0xfa)],'description':_0x7cb856[_0x3a6ce5(0x141)],'demandOption':!![]})['positional']('key',{'type':_0x7cb856['XDvGY'],'description':_0x7cb856[_0x3a6ce5(0x1d3)],'demandOption':!![]});},async _0x2ca72e=>{const _0x353eeb=_0x41d79c;await _0x7cb856['wmESq'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x2ca72e[_0x353eeb(0xbc)],_0x2ca72e[_0x353eeb(0x190)]));})['demandCommand'](0x1,_0x41d79c(0x17d));})['demandCommand'](0x1,_0x7cb856['IMoLZ']);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x26429c=_0x448d53;await withTelemetry(_0x26429c(0x137),()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x2649b2=_0x448d53,_0x2b3f73={'HluqK':_0x2649b2(0x11c)};await withTelemetry(_0x2b3f73[_0x2649b2(0x107)],()=>update());})[_0x448d53(0x1ea)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3b039e=>{const _0x2feb16=_0x448d53,_0x48d6cd={'jZkEh':_0x2feb16(0xbc),'wDSEf':'string','YvuBt':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','MpboK':_0x2feb16(0x15c),'zuSba':'number','qVfzD':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','iTTas':_0x2feb16(0x1a8),'oopfE':_0x2feb16(0x1af),'aXmFM':_0x2feb16(0x163),'etFyr':_0x2feb16(0x130),'YbvSk':'debug-address-comments','MloTM':'env','PRigz':_0x2feb16(0x10a)};return _0x3b039e['option'](_0x2feb16(0x160),{'type':'string','description':'Optional\x20feature\x20ID'})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x1c1)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':_0x48d6cd['YvuBt']})['option']('notes',{'type':_0x48d6cd['wDSEf'],'description':_0x48d6cd['MpboK']})['option']('scenario',{'type':_0x48d6cd[_0x2feb16(0x123)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x2feb16(0xf1),{'type':'string','description':_0x48d6cd[_0x2feb16(0x1a9)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x106)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)'})['option'](_0x48d6cd['oopfE'],{'type':_0x48d6cd['aXmFM'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x48d6cd['etFyr'],{'type':_0x48d6cd['wDSEf'],'hidden':!![],'choices':[_0x2feb16(0x1d2),_0x2feb16(0x19e),'blocked',_0x2feb16(0xd5),_0x2feb16(0xd6)]})[_0x2feb16(0x181)](_0x48d6cd[_0x2feb16(0x17f)],{'type':_0x2feb16(0x163),'hidden':!![]})['option'](_0x48d6cd['MloTM'],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option'](_0x48d6cd[_0x2feb16(0xc5)],{'type':_0x48d6cd[_0x2feb16(0x1cf)],'hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x3dc081=>{await runGoCommand(_0x3dc081);})[_0x448d53(0x1ea)]('auth',![],_0x239286=>{const _0x98fbf2=_0x448d53,_0x4ad108={'BLhTI':_0x98fbf2(0xbc),'EAGTK':_0x98fbf2(0x1aa),'OCgBI':function(_0x2d84b7,_0x24178a,_0x157763){return _0x2d84b7(_0x24178a,_0x157763);},'rWVQh':function(_0x11b7eb,_0x3328af){return _0x11b7eb(_0x3328af);},'nynpk':'You\x20must\x20specify\x20an\x20auth\x20subcommand'};return _0x239286[_0x98fbf2(0x1ea)]('encrypt\x20<profile>',![],_0x4538cb=>{const _0x3e54e3=_0x98fbf2;return _0x4538cb['positional'](_0x4ad108[_0x3e54e3(0x187)],{'type':_0x4ad108[_0x3e54e3(0xbb)],'description':_0x3e54e3(0x129),'demandOption':!![]});},async _0x18ceaf=>{_0x4ad108['OCgBI'](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x4ad108['rWVQh'](authEncrypt,_0x18ceaf['profile']);})['demandCommand'](0x1,_0x4ad108[_0x98fbf2(0x1ac)]);},()=>{})[_0x448d53(0x1ea)](_0x448d53(0x131),![],_0x39767d=>{const _0x4c858c=_0x448d53,_0x506192={'cdBlm':'token','Twenp':_0x4c858c(0x1aa),'GwBke':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ANhSu':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','GMJef':'scope','CoWDV':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','RySyn':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','APBuB':'force'};return _0x39767d[_0x4c858c(0x197)](_0x506192[_0x4c858c(0xc0)],{'type':_0x506192[_0x4c858c(0x1db)],'description':_0x506192[_0x4c858c(0x170)]})['option'](_0x4c858c(0x12e),{'type':_0x4c858c(0x163),'description':_0x506192[_0x4c858c(0x19c)],'default':![]})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0xde)],{'type':_0x506192[_0x4c858c(0x1db)],'choices':['user','project'],'description':_0x506192[_0x4c858c(0x151)]})['option'](_0x4c858c(0x14f),{'type':_0x4c858c(0x1aa),'description':_0x506192['RySyn']})[_0x4c858c(0x181)](_0x506192[_0x4c858c(0x1e1)],{'type':_0x4c858c(0x163),'description':_0x4c858c(0x1dc),'default':![]});},async _0xf2b185=>{const _0xa25658=_0x448d53,_0x2b4d43={'DEwmE':function(_0x5ea83e,_0x5e7e0c,_0x5e0c25){return _0x5ea83e(_0x5e7e0c,_0x5e0c25);},'eVeuY':_0xa25658(0xb0),'GgjFr':'start'};_0x2b4d43['DEwmE'](warnRenamed,_0x2b4d43['eVeuY'],'ranger\x20setup'),await withTelemetry(_0x2b4d43[_0xa25658(0x12c)],_0x217b13=>start(_0xf2b185[_0xa25658(0x193)],{'skipChromium':_0xf2b185['skip-chromium'],'scope':_0xf2b185['scope'],'url':_0xf2b185['url'],'force':_0xf2b185['force']},_0x217b13));})[_0x448d53(0x1ea)](_0x448d53(0xf3),![],_0x29b63d=>{const _0x2f10e1=_0x448d53,_0x5965ce={'rwqfm':_0x2f10e1(0x1b0),'TBTOB':'string','WCJws':'task','TPaIy':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','irtkl':_0x2f10e1(0xba),'kSiDn':_0x2f10e1(0xc3),'EAKrp':'profile','kLabr':'scenario','yrhXu':_0x2f10e1(0x194),'lbdcN':'start-path','kXFyW':_0x2f10e1(0x1f9),'dELeB':_0x2f10e1(0x1a8),'ieUbe':_0x2f10e1(0x1af),'RfgsH':'boolean','YHbHe':'debug-outcome','RgEyq':_0x2f10e1(0xd6)};return _0x29b63d[_0x2f10e1(0x181)](_0x5965ce['rwqfm'],{'type':_0x5965ce['TBTOB'],'description':_0x2f10e1(0x16f)})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0xa3)],{'type':'string','description':_0x5965ce['TPaIy']})[_0x2f10e1(0x181)](_0x5965ce[_0x2f10e1(0x1fe)],{'type':'number','description':_0x5965ce[_0x2f10e1(0x108)]})[_0x2f10e1(0x181)](_0x5965ce['EAKrp'],{'type':_0x2f10e1(0x1aa),'hidden':!![]})[_0x2f10e1(0x181)]('notes',{'type':_0x5965ce[_0x2f10e1(0x146)],'hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0x1a4)],{'type':_0x5965ce['yrhXu'],'hidden':!![]})['option'](_0x5965ce['lbdcN'],{'type':'string','description':_0x5965ce['kXFyW']})['option'](_0x5965ce[_0x2f10e1(0x1b9)],{'type':'string','hidden':!![]})['option'](_0x5965ce[_0x2f10e1(0xee)],{'type':_0x5965ce['RfgsH'],'hidden':!![],'default':![]})[_0x2f10e1(0x181)](_0x5965ce['YHbHe'],{'type':_0x2f10e1(0x1aa),'hidden':!![],'choices':[_0x2f10e1(0x1d2),_0x2f10e1(0x19e),_0x2f10e1(0x144),_0x2f10e1(0xd5),_0x5965ce['RgEyq']]});},async _0x1ccc01=>{await runGoCommand(_0x1ccc01,!![]);})['command']('add\x20env\x20<env-name>',![],_0x10d0f5=>{const _0x5a5c24=_0x448d53,_0x366959={'GFpoT':_0x5a5c24(0x163),'pTARV':_0x5a5c24(0x19f),'aoRKT':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x10d0f5[_0x5a5c24(0x197)]('env-name',{'type':_0x5a5c24(0x1aa),'description':_0x5a5c24(0xc4),'demandOption':!![]})['option']('ci',{'type':_0x366959[_0x5a5c24(0x1e2)],'description':_0x366959['pTARV'],'default':![]})['option']('skip-auth',{'type':_0x5a5c24(0x163),'description':_0x366959[_0x5a5c24(0x1f2)],'default':![]});},async _0x59e199=>{const _0x552947=_0x448d53,_0x56dcd1={'auWvW':function(_0x2d4b24,_0x11294b,_0x27f023){return _0x2d4b24(_0x11294b,_0x27f023);},'UsoWm':_0x552947(0xed)};_0x56dcd1[_0x552947(0x1ae)](warnRenamed,_0x552947(0xd7),_0x56dcd1['UsoWm']),await _0x56dcd1[_0x552947(0x1ae)](withTelemetry,_0x552947(0xd0),_0x47a689=>addEnv(_0x59e199['env-name'],{'ci':_0x59e199['ci'],'skipAuth':_0x59e199['skip-auth']},_0x47a689));})['command']('use\x20<env-name>',![],_0x2b2aad=>{const _0x449036=_0x448d53,_0x5697b1={'EUUcd':'env-name','QfhVs':_0x449036(0x1d1)};return _0x2b2aad[_0x449036(0x197)](_0x5697b1['EUUcd'],{'type':_0x449036(0x1aa),'description':_0x5697b1[_0x449036(0xc6)],'demandOption':!![]});},async _0x55f25b=>{warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry('use',()=>useEnv(_0x55f25b['env-name']));})[_0x448d53(0x1ea)]('config',![],_0x3b1bba=>{const _0x53866a=_0x448d53,_0x59bb85={'SgcQw':'string','zsgOe':_0x53866a(0x1cc),'ZlOBl':_0x53866a(0x177),'zYWAq':_0x53866a(0x1a6),'mBoVS':function(_0x226830,_0x474228,_0x45e28f){return _0x226830(_0x474228,_0x45e28f);},'nYAjD':'config\x20set','klaNe':_0x53866a(0x1b0),'xjpPR':_0x53866a(0x190),'xuGzG':function(_0x493d51,_0x3cc798,_0x352c84){return _0x493d51(_0x3cc798,_0x352c84);},'ukrYX':'config\x20get','PfCwB':_0x53866a(0x195),'bvqfV':function(_0x335961,_0x4da979,_0x5508e7){return _0x335961(_0x4da979,_0x5508e7);},'rBybU':function(_0x58a008,_0x2d70a7,_0x166826){return _0x58a008(_0x2d70a7,_0x166826);},'phdQV':'ranger\x20config\x20unset','eaAZN':_0x53866a(0x147),'UAKmF':_0x53866a(0x166),'xllog':_0x53866a(0xe1)};return _0x3b1bba['command'](_0x59bb85['eaAZN'],![],_0xb5dbbc=>{const _0xd23f03=_0x53866a;return _0xb5dbbc['positional']('env',{'type':'string','description':'Environment\x20name','demandOption':!![]})['positional'](_0xd23f03(0x190),{'type':_0x59bb85[_0xd23f03(0xd2)],'description':_0xd23f03(0x13b),'demandOption':!![]})['positional'](_0xd23f03(0x1be),{'type':'string','description':_0x59bb85['zsgOe'],'demandOption':!![]});},async _0x364862=>{const _0xf23ab6=_0x53866a;warnRenamed(_0x59bb85[_0xf23ab6(0x1fa)],_0x59bb85['zYWAq']),await _0x59bb85['mBoVS'](withTelemetry,_0x59bb85['nYAjD'],()=>configSet(_0x364862[_0xf23ab6(0x1b0)],_0x364862['key'],_0x364862['value']));})['command'](_0x53866a(0x17a),![],_0x455df4=>{const _0x1f088c=_0x53866a;return _0x455df4['positional'](_0x59bb85[_0x1f088c(0xe0)],{'type':_0x59bb85[_0x1f088c(0xd2)],'description':_0x1f088c(0x195),'demandOption':!![]})['positional'](_0x59bb85[_0x1f088c(0xea)],{'type':_0x1f088c(0x1aa),'description':_0x1f088c(0x1e3),'demandOption':!![]});},async _0x37ad23=>{const _0x31e555=_0x53866a;_0x59bb85[_0x31e555(0xe5)](warnRenamed,_0x31e555(0x11d),_0x31e555(0x1eb)),await withTelemetry(_0x59bb85['ukrYX'],()=>configGet(_0x37ad23[_0x31e555(0x1b0)],_0x37ad23['key']));})['command'](_0x59bb85['UAKmF'],![],_0x2c69fe=>{const _0x3383e0=_0x53866a;return _0x2c69fe['positional'](_0x3383e0(0x1b0),{'type':'string','description':_0x59bb85[_0x3383e0(0xab)],'demandOption':!![]});},async _0x4ade36=>{const _0x2d97ef=_0x53866a;_0x59bb85[_0x2d97ef(0xd9)](warnRenamed,_0x2d97ef(0xfb),_0x2d97ef(0x1c4)),await withTelemetry('config\x20list',()=>configList(_0x4ade36[_0x2d97ef(0x1b0)]));})[_0x53866a(0x1ea)](_0x53866a(0x174),![],_0x23e1cc=>{const _0x5f3789=_0x53866a;return _0x23e1cc['positional'](_0x5f3789(0x1b0),{'type':_0x5f3789(0x1aa),'description':_0x5f3789(0x195),'demandOption':!![]})[_0x5f3789(0x197)](_0x59bb85['xjpPR'],{'type':_0x59bb85['SgcQw'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0xcb52f1=>{const _0x26cb89=_0x53866a;_0x59bb85[_0x26cb89(0xb5)](warnRenamed,_0x59bb85[_0x26cb89(0x1c3)],'ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x26cb89(0x110),()=>configUnset(_0xcb52f1['env'],_0xcb52f1[_0x26cb89(0x190)]));})[_0x53866a(0xb2)](0x1,_0x59bb85[_0x53866a(0x158)]);})['command']('env',![],_0x3d8cfd=>{const _0x3a6f9d=_0x448d53,_0x535d3f={'aFhfH':_0x3a6f9d(0x1f6),'vjSwQ':_0x3a6f9d(0x1c6),'lfnZm':_0x3a6f9d(0xbe)};return _0x3d8cfd[_0x3a6f9d(0x1ea)]('ls',![],()=>{},async()=>{const _0x10a77e=_0x3a6f9d;warnRenamed(_0x535d3f[_0x10a77e(0x15f)],_0x535d3f['vjSwQ']),await withTelemetry('env\x20list',()=>envList());})[_0x3a6f9d(0x1ea)](_0x3a6f9d(0x1d8),![],_0x17818c=>{return _0x17818c['positional']('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x55f746=>{const _0x11af18=_0x3a6f9d;warnRenamed('ranger\x20env\x20update',_0x535d3f['lfnZm']),await withTelemetry(_0x11af18(0x1b6),_0xfde18d=>updateEnv(_0x55f746['env-name'],_0xfde18d));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})[_0x448d53(0x1ea)](_0x448d53(0x160),![],_0x22333f=>{const _0x361f1a=_0x448d53,_0x405e44={'fUeQr':_0x361f1a(0x196),'ccvVi':_0x361f1a(0x1aa),'dklFE':_0x361f1a(0x142),'eflje':_0x361f1a(0x164),'rIAIs':_0x361f1a(0xf6),'wncRA':'checklist','kAtss':_0x361f1a(0x200),'mzAcs':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','kFkva':_0x361f1a(0xb6),'batgv':function(_0x1dd8f8,_0xe93dc,_0x588b50){return _0x1dd8f8(_0xe93dc,_0x588b50);},'MxhrQ':function(_0x558690,_0x39e050,_0x27ad95,_0x424547){return _0x558690(_0x39e050,_0x27ad95,_0x424547);},'hcouN':'ranger\x20create','oFejQ':_0x361f1a(0x1cd),'dElfZ':_0x361f1a(0xc9),'RVgzZ':_0x361f1a(0x163),'ZooqF':_0x361f1a(0x11b),'lfwns':_0x361f1a(0x194),'YNPzl':_0x361f1a(0xe4),'ARBlZ':function(_0x3b33f3,_0x4cf229,_0x303bf9){return _0x3b33f3(_0x4cf229,_0x303bf9);},'kjdCN':'feature\x20list','tuJOi':function(_0x5d4fec,_0x207d49,_0x5f4cff){return _0x5d4fec(_0x207d49,_0x5f4cff);},'ikcxH':_0x361f1a(0x1ad),'lBzMF':'ranger\x20resume','JpMQK':'feature\x20resume','gAIBy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','SFVcE':_0x361f1a(0x143),'ycHAx':_0x361f1a(0x1de),'bACVY':_0x361f1a(0xe6),'YwJCF':function(_0x1d5360,_0x584da0,_0x23e868){return _0x1d5360(_0x584da0,_0x23e868);},'wussg':'Feature\x20review\x20ID\x20to\x20restore','jiSoj':_0x361f1a(0x1e7),'YwNbD':function(_0x439271,_0x39acd8,_0x457b05){return _0x439271(_0x39acd8,_0x457b05);},'pWjDo':'feature\x20restore','dTGVC':_0x361f1a(0x1d4),'KReLs':_0x361f1a(0x1ff)};return _0x22333f[_0x361f1a(0x1ea)](_0x405e44['dTGVC'],![],_0x38c0a2=>{const _0x5d2bb4=_0x361f1a;return _0x38c0a2[_0x5d2bb4(0x197)](_0x405e44['fUeQr'],{'type':_0x405e44['ccvVi'],'description':_0x405e44[_0x5d2bb4(0x15e)],'demandOption':!![]})['option'](_0x405e44['eflje'],{'type':_0x405e44[_0x5d2bb4(0x105)],'alias':'d','description':_0x405e44['rIAIs']})[_0x5d2bb4(0x181)](_0x405e44['wncRA'],{'type':_0x405e44['kAtss'],'alias':'c','description':_0x405e44[_0x5d2bb4(0xdc)]})[_0x5d2bb4(0x181)](_0x405e44[_0x5d2bb4(0xb1)],{'type':'array','hidden':!![]});},async _0x689277=>{const _0x8db050=_0x361f1a;_0x405e44[_0x8db050(0x1ef)](warnRenamed,_0x8db050(0x1a1),_0x8db050(0x1c8)),_0x405e44['MxhrQ'](warnFlagRenamed,_0x405e44[_0x8db050(0x1a0)],_0x405e44[_0x8db050(0xd3)],_0x405e44[_0x8db050(0xd1)]);const _0x56a484=_0x689277[_0x8db050(0xb6)]||_0x689277[_0x8db050(0x199)];await withTelemetry('feature\x20create',()=>featureCreate(_0x689277[_0x8db050(0x196)],{'description':_0x689277['description'],'scenarios':_0x56a484}));})[_0x361f1a(0x1ea)]('list',![],_0x23201d=>{const _0x24b5b5=_0x361f1a;return _0x23201d[_0x24b5b5(0x181)](_0x24b5b5(0x1d7),{'type':_0x405e44['RVgzZ'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x405e44['ZooqF'],{'type':_0x405e44[_0x24b5b5(0x1b5)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option']('offset',{'type':_0x405e44['lfwns'],'alias':'o','description':_0x24b5b5(0x10b),'default':0x0})[_0x24b5b5(0x181)](_0x405e44['YNPzl'],{'type':_0x24b5b5(0x163),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x30aac6=>{const _0x5c640d=_0x361f1a;_0x405e44[_0x5c640d(0x1d9)](warnRenamed,'ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x405e44['kjdCN'],()=>featureList({'currentBranch':_0x30aac6['current-branch'],'limit':_0x30aac6[_0x5c640d(0x11b)],'offset':_0x30aac6['offset'],'includeDeleted':_0x30aac6[_0x5c640d(0xe4)]}));})[_0x361f1a(0x1ea)]('show\x20[id]',![],_0x244c95=>{const _0x30870b=_0x361f1a;return _0x244c95['positional']('id',{'type':_0x405e44[_0x30870b(0x105)],'description':_0x30870b(0x169)});},async _0x3ddb50=>{const _0xd494f8=_0x361f1a;_0x405e44['tuJOi'](warnRenamed,_0x405e44['ikcxH'],'ranger\x20show'),await _0x405e44['batgv'](withTelemetry,_0xd494f8(0xf4),()=>featureShow(_0x3ddb50['id']));})['command']('resume\x20[id]',![],_0x456368=>{const _0xc46393=_0x361f1a;return _0x456368['positional']('id',{'type':_0x405e44['ccvVi'],'description':_0xc46393(0x154)});},async _0x4500c6=>{const _0x18faba=_0x361f1a;warnRenamed('ranger\x20feature\x20resume',_0x405e44['lBzMF']),await _0x405e44[_0x18faba(0x1ef)](withTelemetry,_0x405e44[_0x18faba(0x138)],()=>featureResume(_0x4500c6['id']));})[_0x361f1a(0x1ea)](_0x361f1a(0xc2),![],_0x1411a1=>{const _0x433650=_0x361f1a;return _0x1411a1[_0x433650(0x197)](_0x405e44['eflje'],{'type':_0x405e44[_0x433650(0x105)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x405e44['gAIBy']});},async _0x1baa9f=>{const _0x3804fd=_0x361f1a;warnRenamed(_0x405e44[_0x3804fd(0x1e5)],'ranger\x20add-scenario'),await withTelemetry(_0x3804fd(0x1b7),()=>featureAddScenario(_0x1baa9f[_0x3804fd(0x164)],_0x1baa9f['id']));})['command'](_0x405e44['KReLs'],![],_0x3f8b8f=>{const _0x255960=_0x361f1a;return _0x3f8b8f['positional']('id',{'type':_0x255960(0x1aa),'description':_0x405e44['gAIBy']});},async _0x446a94=>{const _0x4f9948=_0x361f1a;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x405e44[_0x4f9948(0x1ef)](withTelemetry,_0x4f9948(0xa9),()=>featureGetReview(_0x446a94['id']));})['command']('delete\x20[id]',![],_0x5f2468=>{const _0x46b1c2=_0x361f1a;return _0x5f2468['positional']('id',{'type':_0x405e44[_0x46b1c2(0x105)],'description':_0x46b1c2(0x169)});},async _0x46d4fe=>{const _0x59905b=_0x361f1a;warnRenamed(_0x405e44[_0x59905b(0xef)],_0x405e44[_0x59905b(0xa6)]),await _0x405e44['YwJCF'](withTelemetry,_0x59905b(0x191),()=>featureDelete(_0x46d4fe['id']));})['command'](_0x361f1a(0x18d),![],_0xae1716=>{const _0x46e3f6=_0x361f1a;return _0xae1716['positional']('id',{'type':_0x46e3f6(0x1aa),'description':_0x405e44[_0x46e3f6(0x134)],'demandOption':!![]});},async _0x1d6dec=>{const _0xc199ea=_0x361f1a;warnRenamed('ranger\x20feature\x20restore',_0x405e44[_0xc199ea(0xbd)]),await _0x405e44['YwNbD'](withTelemetry,_0x405e44[_0xc199ea(0x11f)],()=>featureRestore(_0x1d6dec['id']));})['demandCommand'](0x1,_0x361f1a(0xeb));})[_0x448d53(0x1ea)](_0x448d53(0x128),![],_0x5cad55=>{const _0x940d68=_0x448d53,_0x51eeb1={'cJLlr':_0x940d68(0xff),'arJPr':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','oIbfb':'string','ZHWaS':function(_0x73d04,_0x561752,_0x243807){return _0x73d04(_0x561752,_0x243807);},'brKAJ':_0x940d68(0x125)};return _0x5cad55[_0x940d68(0x1ea)](_0x940d68(0x16c),_0x940d68(0x183),_0x1004a0=>{const _0x1ac7c1=_0x940d68;return _0x1004a0[_0x1ac7c1(0x181)](_0x51eeb1['cJLlr'],{'type':'string','description':_0x51eeb1[_0x1ac7c1(0x198)]});},async _0xf0db8d=>{await withTelemetry('hook:enable',()=>hook('enable',_0xf0db8d['session-id']));})[_0x940d68(0x1ea)](_0x940d68(0xf5),_0x940d68(0xe9),_0x2e5274=>{const _0x36d337=_0x940d68;return _0x2e5274[_0x36d337(0x181)]('session-id',{'type':_0x51eeb1[_0x36d337(0xfd)],'description':_0x36d337(0x140)});},async _0x5d3d98=>{await _0x51eeb1['ZHWaS'](withTelemetry,'hook:disable',()=>hook('disable',_0x5d3d98['session-id']));})['option'](_0x940d68(0x196),{'type':_0x940d68(0x1aa),'description':_0x51eeb1[_0x940d68(0x165)]})['option']('session-id',{'type':'string','description':_0x51eeb1['arJPr']});},async _0x38c929=>{const _0x1d9d33=_0x448d53,_0x23fdd2={'XBqWP':function(_0x5ccd2c,_0x4b209c,_0xc7ba26){return _0x5ccd2c(_0x4b209c,_0xc7ba26);}};_0x38c929['name']&&await _0x23fdd2[_0x1d9d33(0x1ba)](hook,_0x38c929[_0x1d9d33(0x196)],_0x38c929[_0x1d9d33(0xff)]);})[_0x448d53(0xb2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x448d53(0x127)]()['fail'](async(_0x471e1f,_0x48696e,_0x4e9e97)=>{const _0x3e7c67=_0x448d53,_0x37d386={'bkPxH':function(_0xc1975,_0x4a5fd8){return _0xc1975(_0x4a5fd8);},'QPFFx':function(_0x248821,_0x2564db,_0x500693){return _0x248821(_0x2564db,_0x500693);},'NMOpw':function(_0x5e2b37){return _0x5e2b37();},'WwFNE':function(_0x81e4ac,_0x4afe61){return _0x81e4ac||_0x4afe61;}},_0x447476=_0x37d386[_0x3e7c67(0x136)](sanitizeArgs,process[_0x3e7c67(0x12d)]['slice'](0x2)),_0x189b08=_0x37d386['QPFFx'](getErrorType,_0x471e1f,_0x48696e);if(_0x471e1f&&_0x471e1f['includes']('Unknown\x20command')){const _0x4d443e=process['argv'][0x2];console[_0x3e7c67(0x1fc)]('\x0aUnknown\x20command:\x20'+_0x4d443e),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x471e1f)console['error']('\x0a'+_0x471e1f+'\x0a');else _0x48696e&&console[_0x3e7c67(0x1fc)](_0x3e7c67(0xae)+_0x48696e['message']+'\x0a');}await logDesirePath({'rawCommand':_0x447476,'errorMessage':_0x471e1f||_0x48696e?.[_0x3e7c67(0x124)],'errorType':_0x189b08});const _0x29dac0=_0x37d386['NMOpw'](getCurrentCollector);_0x29dac0&&await _0x29dac0[_0x3e7c67(0x161)](_0x48696e||new Error(_0x37d386[_0x3e7c67(0xa5)](_0x471e1f,'Unknown\x20error'))),process[_0x3e7c67(0x1f0)](0x1);})[_0x448d53(0x126)](_0x448d53(0x1f3)+'\x20\x20https://docs.ranger.net\x0a'+_0x448d53(0x178))['help']()['alias'](_0x448d53(0x1e6),'h')['parse']();
@@ -1 +1 @@
1
- (function(_0x20251b,_0x306128){const _0x480bed=_0x28f3,_0x4250ec=_0x20251b();while(!![]){try{const _0x426bf1=parseInt(_0x480bed(0x190))/0x1*(-parseInt(_0x480bed(0x18b))/0x2)+parseInt(_0x480bed(0x157))/0x3*(parseInt(_0x480bed(0x170))/0x4)+parseInt(_0x480bed(0x148))/0x5*(parseInt(_0x480bed(0x13f))/0x6)+parseInt(_0x480bed(0x144))/0x7*(-parseInt(_0x480bed(0x14c))/0x8)+parseInt(_0x480bed(0x14d))/0x9*(parseInt(_0x480bed(0x172))/0xa)+parseInt(_0x480bed(0x15a))/0xb+parseInt(_0x480bed(0x154))/0xc*(-parseInt(_0x480bed(0x133))/0xd);if(_0x426bf1===_0x306128)break;else _0x4250ec['push'](_0x4250ec['shift']());}catch(_0x274025){_0x4250ec['push'](_0x4250ec['shift']());}}}(_0x256d,0x45362));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0xee9dc1 from'inquirer';import{chromium}from'playwright';import{findExistingEnv}from'./utils/settings.js';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';function _0x28f3(_0x4e9ea5,_0x450c24){_0x4e9ea5=_0x4e9ea5-0x12a;const _0x256d44=_0x256d();let _0x28f38a=_0x256d44[_0x4e9ea5];return _0x28f38a;}function _0x256d(){const _0x2c536b=['fwMQu','97320zIqOvv','cbrvp','--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.','prompt','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','error','use_suggestion','IfmPT','TnIdG','newPage','local','\x20(continuing\x20with\x20--force)','trackPhaseEnd','\x0a⚠️\x20\x20Profile\x20\x22','\x20\x20Set\x20active\x20profile:\x20','WVITA','location','url','test','manual','OaVOc','confirm','cdpEndpoint','What\x20would\x20you\x20like\x20to\x20do?','78zOkaFM','TlFPc','\x20would\x20shadow\x20the\x20existing\x20profile.','input','SWVdW','13401JRVwUr','hfbnV','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','pTDIq','root\x20(.ranger/)','VSiqg','uCDGu','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','MUHGt','status','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','UUrJd','path','2680106dTihcr','What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','zGnst','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','Saving\x20authentication\x20state...','\x0a\x20\x20Could\x20not\x20reach\x20','isTTY','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','.enc','name','goto','186tuqzKz','ZwmKF','Profile\x20\x22','JEvTQ','settings.json','26831NXeFaT','about:blank','stringify','lCZhu','71035zdYDiS','Aborted.','xyKZY','JOuPI','416YSwGMM','9LTZCcg','hcvGE','NOycF','\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','baseUrl','.backup-','aAGvr','12aZnIAC','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','bSNqP','45wwrGNc','skipAuth','signal','2664893xKpyXz','ipmFF','fpjVR','log','mGFmq','Hwown','klwip','http://localhost:3000','Use\x20','overwrite','qvrhr','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','config_write','\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','Invalid\x20URL','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','trim','HTTP\x20','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','✓\x20Auth\x20state\x20saved\x20to:\x20','launch','138452uNvVzT'];_0x256d=function(){return _0x2c536b;};return _0x256d();}import{getRangerDir}from'./utils/rangerRoot.js';import{writeActiveProfileName}from'./utils/activeProfile.js';import{addProfileSetupBanner}from'./utils/profileSetupBanner.js';async function checkUrlReachability(_0xf054a6){const _0x13bf5d=_0x28f3,_0x4e6447={'bSNqP':function(_0x2cdc68,_0x2ca9c1,_0x42c798){return _0x2cdc68(_0x2ca9c1,_0x42c798);},'CwLGk':'HEAD','cbrvp':function(_0x24edbb,_0x34d9f3){return _0x24edbb(_0x34d9f3);},'TnIdG':function(_0xbf3a1e,_0x442748){return _0xbf3a1e<_0x442748;},'UmjUV':function(_0x25f624,_0x42ebdb){return _0x25f624(_0x42ebdb);},'aAGvr':_0x13bf5d(0x168)};try{const _0x2fb5b2=new AbortController(),_0x3f681a=setTimeout(()=>_0x2fb5b2['abort'](),0x1388),_0x412349=await _0x4e6447[_0x13bf5d(0x156)](fetch,_0xf054a6,{'method':_0x4e6447['CwLGk'],'signal':_0x2fb5b2[_0x13bf5d(0x159)],'redirect':_0x13bf5d(0x186)});_0x4e6447[_0x13bf5d(0x173)](clearTimeout,_0x3f681a);if(_0x4e6447[_0x13bf5d(0x17b)](_0x412349['status'],0x190))return{'ok':!![]};return{'ok':![],'error':_0x13bf5d(0x16b)+_0x412349[_0x13bf5d(0x12f)]};}catch(_0x21bf72){const _0x5eee9a=_0x21bf72,_0x4b4805=_0x5eee9a['message']||_0x4e6447['UmjUV'](String,_0x21bf72),_0x103bab=_0x4b4805['includes'](_0x4e6447[_0x13bf5d(0x153)])||_0x5eee9a[_0x13bf5d(0x13d)]==='TypeError'||_0x4b4805['includes']('fetch\x20failed');return{'ok':![],'error':_0x4b4805,'isProtocolError':_0x103bab};}}export async function addEnv(_0x253327,_0x33912e={},_0x2e7bc4){const _0x214ba7=_0x28f3,_0x434102={'vPsKO':'close','YjuKx':_0x214ba7(0x17d),'ipmFF':function(_0x559fcd){return _0x559fcd();},'JOuPI':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','sReAd':_0x214ba7(0x177),'gmWEy':_0x214ba7(0x174),'BlktC':'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','Hwown':function(_0x5e21b0,_0x5f0c93){return _0x5e21b0===_0x5f0c93;},'ZxaRV':_0x214ba7(0x163),'SWVdW':_0x214ba7(0x149),'ZwmKF':_0x214ba7(0x188),'UUrJd':'url_setup','CbrtP':_0x214ba7(0x18e),'OaVOc':'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','lCZhu':function(_0x19417f,_0x12c064){return _0x19417f||_0x12c064;},'plGkF':_0x214ba7(0x18a),'hfbnV':'Continue\x20anyway','oKZMS':'continue','TlFPc':function(_0x219814,_0x3a80dd){return _0x219814===_0x3a80dd;},'qvrhr':function(_0x391ef0,_0x34668a,_0x388ad7){return _0x391ef0(_0x34668a,_0x388ad7);},'MUHGt':function(_0x138b90,_0x7548bc,_0x29db3e){return _0x138b90(_0x7548bc,_0x29db3e);},'jknSM':'auth.json','fwMQu':'\x0a📋\x20Authentication\x20Setup','VTReQ':_0x214ba7(0x176),'frOnk':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','fpjVR':_0x214ba7(0x167),'VSiqg':function(_0x248b97,_0x4e1686){return _0x248b97(_0x4e1686);},'RbjBT':function(_0x118ac5,_0x36605e,_0x3ed4a0){return _0x118ac5(_0x36605e,_0x3ed4a0);},'TUlhi':_0x214ba7(0x136),'WVITA':function(_0x563e14,_0x5d4754,_0x1c2a89){return _0x563e14(_0x5d4754,_0x1c2a89);},'zGnst':_0x214ba7(0x13c),'NOycF':_0x214ba7(0x165),'klwip':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','hcvGE':'browser_auth','uCDGu':'config_write','mGFmq':function(_0x149a9a,_0xf67715,_0x20b6e8){return _0x149a9a(_0xf67715,_0x20b6e8);},'BMTkI':function(_0x3ea5a6,_0x372d79){return _0x3ea5a6===_0x372d79;},'xyKZY':function(_0x1df97f,_0x58a26f,_0xba5fd6){return _0x1df97f(_0x58a26f,_0xba5fd6);},'pTDIq':function(_0x117122,_0xd91332,_0x44b073){return _0x117122(_0xd91332,_0x44b073);},'hWeJJ':_0x214ba7(0x137)},_0x55f646=_0x33912e['ci']??![],_0x1e5fb3=_0x55f646?'ci':_0x434102['YjuKx'],_0x52feee=join(_0x434102[_0x214ba7(0x15b)](getRangerDir),_0x1e5fb3,_0x253327),_0x1d8e4e=join(getRangerDir(),_0x1e5fb3);if(_0x33912e['cdpEndpoint']!==undefined&&_0x33912e['cdpEndpoint'][_0x214ba7(0x16a)]()==='')throw new Error(_0x434102[_0x214ba7(0x14b)]);if(_0x33912e[_0x214ba7(0x189)]&&_0x33912e[_0x214ba7(0x184)])throw new Error(_0x434102['sReAd']);if(_0x33912e[_0x214ba7(0x189)]&&_0x33912e['ci'])throw new Error(_0x434102['gmWEy']);const _0x33935e=Boolean(_0x33912e[_0x214ba7(0x189)]),_0x381087=!_0x33912e[_0x214ba7(0x158)]&&!_0x33935e,_0xa173c2=process['stdin'][_0x214ba7(0x13a)]&&process['stdout'][_0x214ba7(0x13a)];if(!_0xa173c2&&!_0x33912e['url']&&!_0x33935e)throw new Error(_0x434102['BlktC']);const _0xb3d52f=findExistingEnv(_0x253327);let _0x5baad4=null;if(_0xb3d52f){if(!_0xa173c2)_0x5baad4=_0xb3d52f;else{if(_0x434102[_0x214ba7(0x15f)](_0xb3d52f['location'],_0x1e5fb3)){const {overwrite:_0x242486}=await _0xee9dc1['prompt']([{'type':'confirm','name':_0x434102['ZxaRV'],'message':_0x214ba7(0x141)+_0x253327+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x242486){console['log'](_0x434102['SWVdW']);return;}_0x5baad4=_0xb3d52f;}else{const _0x1e193c=_0x434102[_0x214ba7(0x15f)](_0xb3d52f['location'],'legacy')?_0x214ba7(0x12a):_0xb3d52f['location'];console[_0x214ba7(0x178)](_0x214ba7(0x180)+_0x253327+'\x22\x20already\x20exists\x20in\x20'+_0x1e193c+':\x20'+_0xb3d52f[_0x214ba7(0x132)]),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x1e5fb3+_0x214ba7(0x18d));const {shouldReplace:_0x3facc9}=await _0xee9dc1['prompt']([{'type':_0x434102[_0x214ba7(0x140)],'name':'shouldReplace','message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x1e5fb3+'?','default':![]}]);if(!_0x3facc9){console['log'](_0x434102[_0x214ba7(0x18f)]);return;}_0x5baad4=_0xb3d52f;}}}_0x2e7bc4?.['trackPhaseStart'](_0x434102['UUrJd']);let _0x8537cc='';if(_0x33935e)console['log'](_0x214ba7(0x155)),console['log'](_0x214ba7(0x12d)+_0x33912e[_0x214ba7(0x189)]),console[_0x214ba7(0x15d)](_0x214ba7(0x169));else{if(_0x33912e[_0x214ba7(0x184)]){_0x8537cc=_0x33912e['url'];const _0x23a5e5=await checkUrlReachability(_0x8537cc);if(!_0x23a5e5['ok']&&!_0x33912e['force'])throw new Error('Could\x20not\x20reach\x20'+_0x8537cc+':\x20'+_0x23a5e5['error']+_0x214ba7(0x192));!_0x23a5e5['ok']&&_0x33912e['force']&&console[_0x214ba7(0x15d)]('⚠\x20Could\x20not\x20reach\x20'+_0x8537cc+':\x20'+_0x23a5e5['error']+_0x214ba7(0x17e));}else{console['log']('\x0a🌐\x20Profile\x20Setup\x0a'),console[_0x214ba7(0x15d)]('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console[_0x214ba7(0x15d)](_0x214ba7(0x16d));let _0x3c0ac4=![];while(!![]){const _0x3cdef4=await _0xee9dc1[_0x214ba7(0x175)]([{'type':_0x434102['CbrtP'],'name':'baseUrl','message':_0x3c0ac4?_0x434102[_0x214ba7(0x187)]:_0x214ba7(0x134),'default':_0x434102[_0x214ba7(0x147)](_0x8537cc,_0x214ba7(0x161))}]);_0x8537cc=_0x3cdef4[_0x214ba7(0x151)];const _0x1833b7=await checkUrlReachability(_0x8537cc);if(_0x1833b7['ok'])break;const _0x1b3ef7=/^[a-zA-Z][\w+.-]*:\/\//[_0x214ba7(0x185)](_0x8537cc),_0x16df11=_0x1833b7['isProtocolError']&&!_0x1b3ef7,_0x36abce=_0x16df11?'http://'+_0x8537cc:null;_0x3c0ac4=!![],console['log'](_0x214ba7(0x139)+_0x8537cc+':\x20'+_0x1833b7['error']);_0x36abce&&console['log']('\x20\x20Did\x20you\x20mean\x20'+_0x36abce+'?');const {action:_0x5a0aa4}=await _0xee9dc1['prompt']([{'type':'list','name':'action','message':_0x434102['plGkF'],'choices':[..._0x36abce?[{'name':_0x214ba7(0x162)+_0x36abce,'value':_0x214ba7(0x179)}]:[],{'name':'Enter\x20a\x20different\x20URL','value':'retry'},{'name':_0x434102[_0x214ba7(0x191)],'value':_0x434102['oKZMS']}]}]);if(_0x434102[_0x214ba7(0x18c)](_0x5a0aa4,'use_suggestion')&&_0x36abce){_0x8537cc=_0x36abce;const _0x4d4eec=await checkUrlReachability(_0x8537cc);if(_0x4d4eec['ok'])break;console[_0x214ba7(0x15d)](_0x214ba7(0x130)+_0x8537cc+':\x20'+_0x4d4eec[_0x214ba7(0x178)]);}else{if(_0x434102['TlFPc'](_0x5a0aa4,_0x434102['oKZMS']))break;}}}}_0x2e7bc4?.[_0x214ba7(0x17f)](_0x434102[_0x214ba7(0x131)]),await _0x434102[_0x214ba7(0x164)](mkdir,_0x1d8e4e,{'recursive':!![]});const _0x372008=await mkdtemp(_0x434102[_0x214ba7(0x12e)](join,_0x1d8e4e,'.tmp-'+_0x253327+'-')),_0xcdb5f8=join(_0x372008,_0x434102['jknSM']);try{if(_0x381087){_0x2e7bc4?.['trackPhaseStart']('browser_auth'),console['log'](_0x434102[_0x214ba7(0x171)]),console['log'](_0x434102['VTReQ']),console['log'](_0x434102['frOnk']);!_0xa173c2?(console[_0x214ba7(0x15d)](_0x434102[_0x214ba7(0x15c)]),console['log'](_0x214ba7(0x150))):console['log']('');await new Promise(_0x53749d=>setTimeout(_0x53749d,0xbb8));const _0x7954e9=await chromium[_0x214ba7(0x16f)]({'headless':![]});try{const _0x4e1d37=await _0x7954e9['newContext']();await _0x434102[_0x214ba7(0x12b)](addProfileSetupBanner,_0x4e1d37);const _0x31d0f1=await _0x4e1d37[_0x214ba7(0x17c)]();await _0x31d0f1[_0x214ba7(0x13e)](_0x434102['lCZhu'](_0x8537cc,_0x214ba7(0x145))),await new Promise(_0x4744bc=>{const _0x56124b=_0x214ba7,_0x1cc7c7={'IfmPT':_0x56124b(0x138),'JEvTQ':function(_0x5aaa39){return _0x5aaa39();}};_0x31d0f1['on'](_0x434102['vPsKO'],async()=>{const _0x4707d7=_0x56124b;try{console[_0x4707d7(0x15d)](_0x1cc7c7[_0x4707d7(0x17a)]),await _0x4e1d37['storageState']({'path':_0xcdb5f8});}catch{}_0x1cc7c7[_0x4707d7(0x142)](_0x4744bc);});});}finally{await _0x7954e9['close']()['catch'](()=>{});}if(_0x55f646){const _0x4a7121=await _0x434102['RbjBT'](readFile,_0xcdb5f8,'utf-8'),_0x544fda=await getToken();if(!_0x544fda){console[_0x214ba7(0x178)](_0x214ba7(0x13b)),await unlink(_0xcdb5f8)['catch'](()=>{});throw new Error(_0x434102['TUlhi']);}else{const _0x170a51=encrypt(_0x4a7121,_0x544fda);await _0x434102[_0x214ba7(0x182)](writeFile,_0xcdb5f8+_0x434102[_0x214ba7(0x135)],_0x170a51),await unlink(_0xcdb5f8),console['log']('✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0xcdb5f8+_0x214ba7(0x13c)),console['log'](_0x434102[_0x214ba7(0x14f)]),console[_0x214ba7(0x15d)](_0x434102[_0x214ba7(0x160)]);}}else console['log'](_0x214ba7(0x16e)+_0xcdb5f8);_0x2e7bc4?.['trackPhaseEnd'](_0x434102[_0x214ba7(0x14e)]);}_0x2e7bc4?.['trackPhaseStart'](_0x434102[_0x214ba7(0x12c)]);const _0x4da024={};_0x8537cc&&(_0x4da024['baseUrl']=_0x8537cc);_0x33912e['cdpEndpoint']&&(_0x4da024['cdpEndpoint']=_0x33912e[_0x214ba7(0x189)],_0x4da024['isElectron']=!![]);await _0x434102['qvrhr'](writeFile,join(_0x372008,'settings.json'),JSON[_0x214ba7(0x146)](_0x4da024,null,0x2)),console[_0x214ba7(0x15d)]('✓\x20Created\x20settings:\x20'+_0x434102[_0x214ba7(0x15e)](join,_0x52feee,_0x214ba7(0x143)));if(_0x434102['BMTkI'](_0x5baad4?.[_0x214ba7(0x183)],_0x1e5fb3)){const _0x32e118=_0x5baad4['path']+_0x214ba7(0x152)+Date['now']();await rename(_0x5baad4[_0x214ba7(0x132)],_0x32e118);try{await rename(_0x372008,_0x52feee);}catch(_0x3f583c){await _0x434102[_0x214ba7(0x182)](rename,_0x32e118,_0x5baad4[_0x214ba7(0x132)]);throw _0x3f583c;}try{await _0x434102[_0x214ba7(0x14a)](rm,_0x32e118,{'recursive':!![]});}catch{console['log'](_0x214ba7(0x16c)+_0x32e118);}}else{await rename(_0x372008,_0x52feee);if(_0x5baad4)try{await _0x434102[_0x214ba7(0x193)](rm,_0x5baad4['path'],{'recursive':!![]}),console[_0x214ba7(0x15d)]('Removed\x20existing\x20profile\x20at\x20'+_0x5baad4[_0x214ba7(0x132)]);}catch{console[_0x214ba7(0x15d)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x5baad4[_0x214ba7(0x132)]);}}try{await writeActiveProfileName(_0x253327),console[_0x214ba7(0x15d)](_0x214ba7(0x181)+_0x253327);}catch{console['log'](_0x434102['hWeJJ']);}_0x2e7bc4?.[_0x214ba7(0x17f)](_0x214ba7(0x166)),console[_0x214ba7(0x15d)]('\x0a\x20\x20Profile\x20\x22'+_0x253327+'\x22\x20configured');}catch(_0x32baea){await rm(_0x372008,{'recursive':!![],'force':!![]});throw _0x32baea;}}
1
+ function _0x4302(){const _0x3be283=['uYlBV','60QrFwku','ZBYvp','iWivC','587436TvmQCO','config_write','Saving\x20authentication\x20state...','fbpzK','launch','pGCMW','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','url','GGFgF','MFDuq','Removed\x20existing\x20profile\x20at\x20','http://localhost:3000','goto','Use\x20','input','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','isTTY','10544ScRmnm','prompt','error','url_setup','trackPhaseStart','Enter\x20a\x20different\x20URL','16971670kSNUjG','about:blank','baseUrl','--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','use_suggestion','UQqwy','What\x20would\x20you\x20like\x20to\x20do?','HYWNM','jlQou','TRUgH','TypeError','action','includes','RiYwi','ljMsc','fetch\x20failed','force','FuLbB','abort','\x20\x20Did\x20you\x20mean\x20','catch','\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','location','4781HZqLGu','Continue\x20anyway','HEAD','path','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','close','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','fMgLw','skipAuth','confirm','storageState','.enc','manual','✓\x20Auth\x20state\x20saved\x20to:\x20','signal','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','EawNs','name','5201244dYyVqs','vAFDr','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','stringify','cdpEndpoint','trim','\x0a🌐\x20Profile\x20Setup\x0a','ExEPO','log','NXNDt','shouldReplace','status','continue','ZxxMe','KIZsO','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','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','Delete\x20existing\x20and\x20create\x20new\x20in\x20','list','278555hcWadZ','94170WrsQPN','message','12qtOfZt','841959ALSkcD'];_0x4302=function(){return _0x3be283;};return _0x4302();}function _0x5035(_0xf309f6,_0x276b7e){_0xf309f6=_0xf309f6-0x160;const _0x4302d8=_0x4302();let _0x5035b6=_0x4302d8[_0xf309f6];return _0x5035b6;}(function(_0x14f176,_0x219e82){const _0x115dd7=_0x5035,_0x2048f3=_0x14f176();while(!![]){try{const _0x95f38=parseInt(_0x115dd7(0x18c))/0x1+-parseInt(_0x115dd7(0x191))/0x2*(parseInt(_0x115dd7(0x18b))/0x3)+-parseInt(_0x115dd7(0x18e))/0x4*(-parseInt(_0x115dd7(0x188))/0x5)+-parseInt(_0x115dd7(0x189))/0x6+-parseInt(_0x115dd7(0x162))/0x7*(parseInt(_0x115dd7(0x1a2))/0x8)+-parseInt(_0x115dd7(0x175))/0x9+parseInt(_0x115dd7(0x1a8))/0xa;if(_0x95f38===_0x219e82)break;else _0x2048f3['push'](_0x2048f3['shift']());}catch(_0x1b152a){_0x2048f3['push'](_0x2048f3['shift']());}}}(_0x4302,0xac642));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x2b8bc9 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(_0x3ad08d){const _0x1ccaa0=_0x5035,_0x5961e9={'ISdYZ':function(_0xa4b5bb,_0x4201e5,_0x1443a0){return _0xa4b5bb(_0x4201e5,_0x1443a0);},'UQqwy':'Invalid\x20URL','RUmMi':_0x1ccaa0(0x1b7)};try{const _0x4ffce9=new AbortController(),_0x7259e4=setTimeout(()=>_0x4ffce9[_0x1ccaa0(0x1ba)](),0x1388),_0x3ed1d0=await _0x5961e9['ISdYZ'](fetch,_0x3ad08d,{'method':_0x1ccaa0(0x164),'signal':_0x4ffce9[_0x1ccaa0(0x171)],'redirect':_0x1ccaa0(0x16f)});clearTimeout(_0x7259e4);if(_0x3ed1d0['status']<0x190)return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x3ed1d0[_0x1ccaa0(0x180)]};}catch(_0x3e6af3){const _0x116ab7=_0x3e6af3,_0x153acc=_0x116ab7[_0x1ccaa0(0x18a)]||String(_0x3e6af3),_0x3a5b40=_0x153acc[_0x1ccaa0(0x1b4)](_0x5961e9[_0x1ccaa0(0x1ad)])||_0x116ab7[_0x1ccaa0(0x174)]===_0x1ccaa0(0x1b2)||_0x153acc['includes'](_0x5961e9['RUmMi']);return{'ok':![],'error':_0x153acc,'isProtocolError':_0x3a5b40};}}export async function addEnv(_0x33eaf3,_0x13eae7={},_0x3e0627){const _0x2cfa41=_0x5035,_0x3e9762={'eHPLP':'close','jlQou':'local','QFbUv':function(_0x483e7d,_0x2fbdb1,_0x4fd269){return _0x483e7d(_0x2fbdb1,_0x4fd269);},'wBKun':function(_0x581fc8){return _0x581fc8();},'RiYwi':function(_0x1a8bd2,_0x4c32f0){return _0x1a8bd2===_0x4c32f0;},'ZBYvp':_0x2cfa41(0x1ab),'ZYwlg':_0x2cfa41(0x172),'fMgLw':'--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.','ViiSE':function(_0x2052f9,_0x121dbb){return _0x2052f9(_0x121dbb);},'ExEPO':_0x2cfa41(0x16c),'NXNDt':'Aborted.','GGFgF':function(_0x56444b,_0x2a1b0a){return _0x56444b===_0x2a1b0a;},'eVrsU':'legacy','zQDan':'root\x20(.ranger/)','EawNs':_0x2cfa41(0x1a5),'TRUgH':_0x2cfa41(0x160),'xUlLl':function(_0x4adc89,_0xcef231){return _0x4adc89(_0xcef231);},'fbpzK':_0x2cfa41(0x17b),'DEWoj':function(_0x12a1f2,_0x403f39){return _0x12a1f2||_0x403f39;},'kNNYA':_0x2cfa41(0x187),'TNUSC':_0x2cfa41(0x1ae),'jgSkU':_0x2cfa41(0x1ac),'uYlBV':_0x2cfa41(0x1a7),'OKjKf':'retry','bOutI':_0x2cfa41(0x181),'yDdve':function(_0x8d0aec,_0x1d22c4){return _0x8d0aec===_0x1d22c4;},'KIZsO':'auth.json','FuLbB':'browser_auth','WovuR':'\x0a📋\x20Authentication\x20Setup','XNKlr':'\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.','HkLsR':function(_0x3a4818,_0x2dd691){return _0x3a4818(_0x2dd691);},'JYmLY':_0x2cfa41(0x1a9),'ZxxMe':function(_0x2f1819,_0x3affcc,_0x282db2){return _0x2f1819(_0x3affcc,_0x282db2);},'iWivC':function(_0x48efda){return _0x48efda();},'MFDuq':'Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','GsWlh':function(_0x46848d,_0x4d5c65,_0x26f67f){return _0x46848d(_0x4d5c65,_0x26f67f);},'OARXT':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','vAFDr':_0x2cfa41(0x192),'ljMsc':'settings.json','HYWNM':function(_0x3decad,_0x5722b5){return _0x3decad===_0x5722b5;},'ornFG':function(_0xf40de6,_0x31b862,_0x3b2c74){return _0xf40de6(_0x31b862,_0x3b2c74);},'XuLYA':function(_0x2fdb34,_0x4babb3,_0x5ee986){return _0x2fdb34(_0x4babb3,_0x5ee986);},'pGCMW':function(_0x1e626d,_0x1dea4e,_0x1f1c2d){return _0x1e626d(_0x1dea4e,_0x1f1c2d);},'lFWDX':function(_0x4a6290,_0x3f85a4,_0x360ff3){return _0x4a6290(_0x3f85a4,_0x360ff3);}},_0x1db608=_0x13eae7['ci']??![],_0x24a737=_0x1db608?'ci':_0x3e9762[_0x2cfa41(0x1b0)],_0x378513=join(getRangerDir(),_0x24a737,_0x33eaf3),_0xf4b512=_0x3e9762['QFbUv'](join,_0x3e9762['wBKun'](getRangerDir),_0x24a737);if(_0x13eae7['cdpEndpoint']!==undefined&&_0x3e9762[_0x2cfa41(0x1b5)](_0x13eae7['cdpEndpoint'][_0x2cfa41(0x17a)](),''))throw new Error(_0x3e9762[_0x2cfa41(0x18f)]);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7[_0x2cfa41(0x198)])throw new Error(_0x3e9762['ZYwlg']);if(_0x13eae7[_0x2cfa41(0x179)]&&_0x13eae7['ci'])throw new Error(_0x3e9762[_0x2cfa41(0x16a)]);const _0x5c6fb2=Boolean(_0x13eae7['cdpEndpoint']),_0x1b0de1=!_0x13eae7[_0x2cfa41(0x16b)]&&!_0x5c6fb2,_0x22cd73=process['stdin'][_0x2cfa41(0x1a1)]&&process['stdout']['isTTY'];if(!_0x22cd73&&!_0x13eae7['url']&&!_0x5c6fb2)throw new Error(_0x2cfa41(0x184));const _0x267b8e=_0x3e9762['ViiSE'](findExistingEnv,_0x33eaf3);let _0x1dc155=null;if(_0x267b8e){if(!_0x22cd73)_0x1dc155=_0x267b8e;else{if(_0x267b8e['location']===_0x24a737){const {overwrite:_0x341ab4}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':'overwrite','message':'Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x341ab4){console['log'](_0x3e9762['NXNDt']);return;}_0x1dc155=_0x267b8e;}else{const _0x2a7e4e=_0x3e9762[_0x2cfa41(0x199)](_0x267b8e[_0x2cfa41(0x161)],_0x3e9762['eVrsU'])?_0x3e9762['zQDan']:_0x267b8e['location'];console['error']('\x0a⚠️\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20already\x20exists\x20in\x20'+_0x2a7e4e+':\x20'+_0x267b8e['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x24a737+'\x20would\x20shadow\x20the\x20existing\x20profile.');const {shouldReplace:_0x540712}=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x3e9762[_0x2cfa41(0x17c)],'name':_0x2cfa41(0x17f),'message':_0x2cfa41(0x186)+_0x24a737+'?','default':![]}]);if(!_0x540712){console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x17e)]);return;}_0x1dc155=_0x267b8e;}}}_0x3e0627?.[_0x2cfa41(0x1a6)](_0x3e9762['EawNs']);let _0x552099='';if(_0x5c6fb2)console[_0x2cfa41(0x17d)]('\x0a🔌\x20CDP\x20Profile\x20Setup\x0a'),console[_0x2cfa41(0x17d)](_0x2cfa41(0x197)+_0x13eae7['cdpEndpoint']),console[_0x2cfa41(0x17d)](_0x3e9762[_0x2cfa41(0x1b1)]);else{if(_0x13eae7[_0x2cfa41(0x198)]){_0x552099=_0x13eae7[_0x2cfa41(0x198)];const _0x536a5e=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(!_0x536a5e['ok']&&!_0x13eae7['force'])throw new Error('Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e['error']+_0x2cfa41(0x185));!_0x536a5e['ok']&&_0x13eae7[_0x2cfa41(0x1b8)]&&console['log']('⚠\x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x536a5e[_0x2cfa41(0x1a4)]+'\x20(continuing\x20with\x20--force)');}else{console['log'](_0x3e9762[_0x2cfa41(0x194)]),console['log'](_0x2cfa41(0x166)),console[_0x2cfa41(0x17d)]('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x3764a4=![];while(!![]){const _0x23878e=await _0x2b8bc9[_0x2cfa41(0x1a3)]([{'type':_0x2cfa41(0x19f),'name':_0x2cfa41(0x1aa),'message':_0x3764a4?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x3e9762['DEWoj'](_0x552099,_0x2cfa41(0x19c))}]);_0x552099=_0x23878e['baseUrl'];const _0x33bf63=await _0x3e9762['xUlLl'](checkUrlReachability,_0x552099);if(_0x33bf63['ok'])break;const _0x5a1d3b=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x552099),_0x56d4d8=_0x33bf63['isProtocolError']&&!_0x5a1d3b,_0x6be548=_0x56d4d8?'http://'+_0x552099:null;_0x3764a4=!![],console[_0x2cfa41(0x17d)]('\x0a\x20\x20Could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x33bf63[_0x2cfa41(0x1a4)]);_0x6be548&&console['log'](_0x2cfa41(0x1bb)+_0x6be548+'?');const {action:_0x385abf}=await _0x2b8bc9['prompt']([{'type':_0x3e9762['kNNYA'],'name':_0x2cfa41(0x1b3),'message':_0x3e9762['TNUSC'],'choices':[..._0x6be548?[{'name':_0x2cfa41(0x19e)+_0x6be548,'value':_0x3e9762['jgSkU']}]:[],{'name':_0x3e9762[_0x2cfa41(0x18d)],'value':_0x3e9762['OKjKf']},{'name':_0x2cfa41(0x163),'value':_0x3e9762['bOutI']}]}]);if(_0x385abf===_0x2cfa41(0x1ac)&&_0x6be548){_0x552099=_0x6be548;const _0x5707bd=await checkUrlReachability(_0x552099);if(_0x5707bd['ok'])break;console[_0x2cfa41(0x17d)]('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0x552099+':\x20'+_0x5707bd['error']);}else{if(_0x3e9762['yDdve'](_0x385abf,_0x2cfa41(0x181)))break;}}}}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x173)]),await mkdir(_0xf4b512,{'recursive':!![]});const _0xf1b48a=await mkdtemp(join(_0xf4b512,'.tmp-'+_0x33eaf3+'-')),_0x143508=_0x3e9762['QFbUv'](join,_0xf1b48a,_0x3e9762[_0x2cfa41(0x183)]);try{if(_0x1b0de1){_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x1b9)]),console['log'](_0x3e9762['WovuR']),console[_0x2cfa41(0x17d)](_0x2cfa41(0x167)),console[_0x2cfa41(0x17d)]('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x22cd73?(console['log'](_0x3e9762['XNKlr']),console['log']('\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a')):console[_0x2cfa41(0x17d)]('');await new Promise(_0xf039fb=>setTimeout(_0xf039fb,0xbb8));const _0x5aace5=await chromium[_0x2cfa41(0x195)]({'headless':![]});try{const _0x101781=await _0x5aace5['newContext']();await _0x3e9762['HkLsR'](addProfileSetupBanner,_0x101781);const _0x14fa30=await _0x101781['newPage']();await _0x14fa30[_0x2cfa41(0x19d)](_0x3e9762['DEWoj'](_0x552099,_0x3e9762['JYmLY'])),await new Promise(_0x4890e9=>{const _0x65ad14=_0x2cfa41,_0xd72de9={'ZJeOf':_0x65ad14(0x193)};_0x14fa30['on'](_0x3e9762['eHPLP'],async()=>{const _0x206a61=_0x65ad14;try{console[_0x206a61(0x17d)](_0xd72de9['ZJeOf']),await _0x101781[_0x206a61(0x16d)]({'path':_0x143508});}catch{}_0x4890e9();});});}finally{await _0x5aace5[_0x2cfa41(0x168)]()[_0x2cfa41(0x1bc)](()=>{});}if(_0x1db608){const _0x7ae6c3=await _0x3e9762[_0x2cfa41(0x182)](readFile,_0x143508,'utf-8'),_0x55387a=await _0x3e9762[_0x2cfa41(0x190)](getToken);if(!_0x55387a){console['error'](_0x2cfa41(0x1a0)),await unlink(_0x143508)['catch'](()=>{});throw new Error(_0x3e9762[_0x2cfa41(0x19a)]);}else{const _0x10d458=encrypt(_0x7ae6c3,_0x55387a);await _0x3e9762['GsWlh'](writeFile,_0x143508+_0x2cfa41(0x16e),_0x10d458),await unlink(_0x143508),console['log'](_0x2cfa41(0x169)+_0x143508+_0x2cfa41(0x16e)),console['log']('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x3e9762['OARXT']);}}else console[_0x2cfa41(0x17d)](_0x2cfa41(0x170)+_0x143508);_0x3e0627?.['trackPhaseEnd']('browser_auth');}_0x3e0627?.['trackPhaseStart'](_0x3e9762[_0x2cfa41(0x176)]);const _0x4d4f5c={};_0x552099&&(_0x4d4f5c['baseUrl']=_0x552099);_0x13eae7[_0x2cfa41(0x179)]&&(_0x4d4f5c['cdpEndpoint']=_0x13eae7['cdpEndpoint'],_0x4d4f5c['isElectron']=!![]);_0x13eae7['allowInsecureLocalhost']&&(_0x4d4f5c['allowInsecureLocalhost']=!![]);await writeFile(join(_0xf1b48a,_0x3e9762[_0x2cfa41(0x1b6)]),JSON[_0x2cfa41(0x178)](_0x4d4f5c,null,0x2)),console['log']('✓\x20Created\x20settings:\x20'+join(_0x378513,_0x3e9762[_0x2cfa41(0x1b6)]));if(_0x3e9762[_0x2cfa41(0x1af)](_0x1dc155?.['location'],_0x24a737)){const _0x4ff324=_0x1dc155[_0x2cfa41(0x165)]+'.backup-'+Date['now']();await _0x3e9762['ornFG'](rename,_0x1dc155[_0x2cfa41(0x165)],_0x4ff324);try{await rename(_0xf1b48a,_0x378513);}catch(_0x1908ec){await rename(_0x4ff324,_0x1dc155['path']);throw _0x1908ec;}try{await rm(_0x4ff324,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x4ff324);}}else{await _0x3e9762['XuLYA'](rename,_0xf1b48a,_0x378513);if(_0x1dc155)try{await _0x3e9762[_0x2cfa41(0x196)](rm,_0x1dc155['path'],{'recursive':!![]}),console['log'](_0x2cfa41(0x19b)+_0x1dc155[_0x2cfa41(0x165)]);}catch{console[_0x2cfa41(0x17d)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x1dc155['path']);}}try{await writeActiveProfileName(_0x33eaf3),console[_0x2cfa41(0x17d)]('\x20\x20Set\x20active\x20profile:\x20'+_0x33eaf3);}catch{console[_0x2cfa41(0x17d)](_0x2cfa41(0x177));}_0x3e0627?.['trackPhaseEnd'](_0x3e9762[_0x2cfa41(0x176)]),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x33eaf3+'\x22\x20configured');}catch(_0x26bffa){await _0x3e9762['lFWDX'](rm,_0xf1b48a,{'recursive':!![],'force':!![]});throw _0x26bffa;}}
@@ -1 +1 @@
1
- (function(_0x3ce45a,_0x1f4f89){const _0x1c975e=_0x4f3b,_0x12eeca=_0x3ce45a();while(!![]){try{const _0x1d644c=parseInt(_0x1c975e(0x11c))/0x1+-parseInt(_0x1c975e(0x114))/0x2*(-parseInt(_0x1c975e(0x111))/0x3)+parseInt(_0x1c975e(0x11d))/0x4+-parseInt(_0x1c975e(0x115))/0x5*(-parseInt(_0x1c975e(0x10c))/0x6)+parseInt(_0x1c975e(0x113))/0x7+-parseInt(_0x1c975e(0x10d))/0x8*(parseInt(_0x1c975e(0x119))/0x9)+-parseInt(_0x1c975e(0x10b))/0xa;if(_0x1d644c===_0x1f4f89)break;else _0x12eeca['push'](_0x12eeca['shift']());}catch(_0x5ee5b3){_0x12eeca['push'](_0x12eeca['shift']());}}}(_0x2670,0xc7702));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';function _0x2670(){const _0x49c639=['5554308hoTeSD','auth.json','No\x20auth.json\x20found\x20at\x20','Wnllk','20126330Tdavyv','13206wfDDfU','8NwpuSu','qqrVR','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','.enc','63PwlVtk','utf-8','2864302FavwYE','66986qVMlpe','560dSfRwP','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','aClBQ','MnNoL','5796963HouCal','log','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','726010qLXHjs'];_0x2670=function(){return _0x49c639;};return _0x2670();}function _0x4f3b(_0x42fd1c,_0x29a550){_0x42fd1c=_0x42fd1c-0x10b;const _0x2670d5=_0x2670();let _0x4f3b33=_0x2670d5[_0x42fd1c];return _0x4f3b33;}import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x3f0b28){const _0x1ff5a1=_0x4f3b,_0x4c94fc={'TykGj':function(_0x2bad2e,_0x3d84c1){return _0x2bad2e(_0x3d84c1);},'aClBQ':function(_0x3a344e,_0x7d8f66,_0x18fedb){return _0x3a344e(_0x7d8f66,_0x18fedb);},'MnNoL':function(_0x42d321,_0xd73194){return _0x42d321+_0xd73194;},'mluqj':function(_0x27fbd7,_0x420f77){return _0x27fbd7(_0x420f77);},'qEJqM':function(_0xf9179f){return _0xf9179f();},'qqrVR':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','fDMFU':function(_0x47d15a,_0x286bd6,_0xff8af7){return _0x47d15a(_0x286bd6,_0xff8af7);},'Wnllk':_0x1ff5a1(0x10f),'GvVur':_0x1ff5a1(0x11b)},_0x5a31eb=_0x4c94fc['TykGj'](getEnvDir,_0x3f0b28),_0xd889d=_0x4c94fc[_0x1ff5a1(0x117)](join,_0x5a31eb,_0x1ff5a1(0x11e)),_0x4a9264=_0x4c94fc[_0x1ff5a1(0x118)](_0xd889d,_0x1ff5a1(0x110));if(!_0x4c94fc['mluqj'](existsSync,_0x5a31eb))throw new Error('Profile\x20\x22'+_0x3f0b28+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x3f0b28);if(!existsSync(_0xd889d))throw new Error(_0x1ff5a1(0x11f)+_0xd889d+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x588d4f=await _0x4c94fc['qEJqM'](getToken);if(!_0x588d4f)throw new Error(_0x4c94fc[_0x1ff5a1(0x10e)]);const _0x5ed941=await _0x4c94fc[_0x1ff5a1(0x117)](readFile,_0xd889d,_0x1ff5a1(0x112)),_0xbd0742=_0x4c94fc['fDMFU'](encrypt,_0x5ed941,_0x588d4f);await writeFile(_0x4a9264,_0xbd0742),console[_0x1ff5a1(0x11a)](_0x1ff5a1(0x116)+_0x4a9264),console[_0x1ff5a1(0x11a)](_0x4c94fc[_0x1ff5a1(0x120)]),console[_0x1ff5a1(0x11a)](_0x4c94fc['GvVur']),_0x4c94fc['mluqj'](existsSync,_0x4a9264)&&(console['log']('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log']('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
1
+ function _0x36f7(){const _0x2a9594=['4401955oVKGmY','738KChOTb','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','21196wzwVuM','9422651htnifD','1066830uFVhIO','.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update','jBxvR','log','5864duvMaz','FestS','8FUIwWh','90ipAhPC','auth.json','7875725TAvLQf','XzUPW','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','111JwUVyN','.enc','393129WdXWav'];_0x36f7=function(){return _0x2a9594;};return _0x36f7();}function _0x14ff(_0x27128a,_0x27cf65){_0x27128a=_0x27128a-0x12b;const _0x36f739=_0x36f7();let _0x14ffbd=_0x36f739[_0x27128a];return _0x14ffbd;}(function(_0x299f0a,_0x4eaa69){const _0x52d717=_0x14ff,_0xe7e4df=_0x299f0a();while(!![]){try{const _0x55e1d8=-parseInt(_0x52d717(0x13c))/0x1*(-parseInt(_0x52d717(0x134))/0x2)+parseInt(_0x52d717(0x12c))/0x3*(-parseInt(_0x52d717(0x12e))/0x4)+parseInt(_0x52d717(0x12b))/0x5+-parseInt(_0x52d717(0x130))/0x6+parseInt(_0x52d717(0x12f))/0x7*(parseInt(_0x52d717(0x136))/0x8)+parseInt(_0x52d717(0x13e))/0x9*(parseInt(_0x52d717(0x137))/0xa)+-parseInt(_0x52d717(0x139))/0xb;if(_0x55e1d8===_0x4eaa69)break;else _0xe7e4df['push'](_0xe7e4df['shift']());}catch(_0xcfbeb6){_0xe7e4df['push'](_0xe7e4df['shift']());}}}(_0x36f7,0xb68d3));import{readFile,writeFile}from'fs/promises';import{join}from'path';import{existsSync}from'fs';import{encrypt}from'./utils/crypto.js';import{getToken}from'./utils/keychain.js';import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x3fa87f){const _0x1e0d30=_0x14ff,_0x235deb={'XzUPW':_0x1e0d30(0x138),'nxvrH':_0x1e0d30(0x13d),'oRxNS':function(_0x5afe89,_0x5c2bd5){return _0x5afe89(_0x5c2bd5);},'FestS':function(_0x50eb0f,_0x5cabed,_0x47b1ad){return _0x50eb0f(_0x5cabed,_0x47b1ad);},'exKYK':'utf-8','yQdDA':_0x1e0d30(0x12d),'jBxvR':function(_0x5fe1cb,_0x19140f){return _0x5fe1cb(_0x19140f);}},_0x5a40d2=getEnvDir(_0x3fa87f),_0x39a01e=join(_0x5a40d2,_0x235deb[_0x1e0d30(0x13a)]),_0x29dc3e=_0x39a01e+_0x235deb['nxvrH'];if(!_0x235deb['oRxNS'](existsSync,_0x5a40d2))throw new Error('Profile\x20\x22'+_0x3fa87f+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x3fa87f);if(!existsSync(_0x39a01e))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x39a01e+_0x1e0d30(0x131));const _0x529c1a=await getToken();if(!_0x529c1a)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x58b117=await _0x235deb['FestS'](readFile,_0x39a01e,_0x235deb['exKYK']),_0x43ab7f=_0x235deb[_0x1e0d30(0x135)](encrypt,_0x58b117,_0x529c1a);await writeFile(_0x29dc3e,_0x43ab7f),console['log']('\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x29dc3e),console[_0x1e0d30(0x133)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console['log'](_0x235deb['yQdDA']),_0x235deb[_0x1e0d30(0x132)](existsSync,_0x29dc3e)&&(console[_0x1e0d30(0x133)](_0x1e0d30(0x13b)),console[_0x1e0d30(0x133)]('\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.'));}
@@ -1 +1 @@
1
- const _0x47d0c5=_0x111e;(function(_0x2fb18f,_0x521402){const _0x45b3d5=_0x111e,_0x726a4f=_0x2fb18f();while(!![]){try{const _0x418b34=-parseInt(_0x45b3d5(0xd9))/0x1*(parseInt(_0x45b3d5(0xcf))/0x2)+-parseInt(_0x45b3d5(0xb0))/0x3+parseInt(_0x45b3d5(0xe4))/0x4*(-parseInt(_0x45b3d5(0xc5))/0x5)+parseInt(_0x45b3d5(0xda))/0x6*(parseInt(_0x45b3d5(0xd4))/0x7)+-parseInt(_0x45b3d5(0xc3))/0x8*(-parseInt(_0x45b3d5(0xdf))/0x9)+parseInt(_0x45b3d5(0xc6))/0xa*(-parseInt(_0x45b3d5(0xd0))/0xb)+parseInt(_0x45b3d5(0xc9))/0xc;if(_0x418b34===_0x521402)break;else _0x726a4f['push'](_0x726a4f['shift']());}catch(_0x35a641){_0x726a4f['push'](_0x726a4f['shift']());}}}(_0x4996,0xa2583));import{rm,readFile,writeFile}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 _0x111e(_0x1aa4be,_0x33ddd1){_0x1aa4be=_0x1aa4be-0xaf;const _0x499630=_0x4996();let _0x111e47=_0x499630[_0x1aa4be];return _0x111e47;}import{getRangerDir}from'./utils/rangerRoot.js';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=['ranger','feature-tracker','bug-bash',_0x47d0c5(0xe5)],opencodePluginName=_0x47d0c5(0xb6);function _0x4996(){const _0x45dd1d=['✓\x20Removed\x20trailhead\x20marketplace','116553NsoprG','✓\x20Removed\x20user\x20skill:\x20','Fktqy','length','uninstall','vkFuP','@ranger-testing/opencode-plugin','parse','stringify','claude','tPWnE','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','NUbBs','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','isArray','yQsrE','user','error','NWmjg','1941736cGrerv','KCOQe','100faJjWB','6564070sVDBhJ','close','BCIuQ','33738180nSlqRp','marketplace','remove','plugin','efZYI','uudsz','58eFDayF','22wlANTb','✓\x20Removed\x20OpenCode\x20project\x20skill:\x20','project','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','20993tqyEAV','dBpaO','mvoYR','rijyR','Nothing\x20to\x20clean\x20up.\x0a','33643GZYDGv','564XzQRff','✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','filter','✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','gCOLm','18HzkZyV','nKIuQ','--scope','voNsl','McEIC','117316oFiTfN','e2e-test-recommender','log','VhxXu'];_0x4996=function(){return _0x45dd1d;};return _0x4996();}function parseJsonc(_0x41711a){const _0x2147c3=_0x47d0c5,_0x47916f=_0x41711a['replace'](/\/\*[\s\S]*?\*\//g,''),_0x2b4d3e=_0x47916f['replace'](/^\s*\/\/.*$/gm,''),_0x120fa8=_0x2b4d3e['replace'](/,\s*([}\]])/g,'$1');return JSON[_0x2147c3(0xb7)](_0x120fa8);}async function removeOpencodePluginConfig(_0x1b8703){const _0x378d85=_0x47d0c5,_0x495180={'JKxwe':function(_0x1e5b17,_0x5d4a9c){return _0x1e5b17!==_0x5d4a9c;},'LHkLp':function(_0x439843,_0x422568){return _0x439843(_0x422568);},'CxyjQ':'utf-8','efZYI':function(_0x5d240e,_0x952ea2){return _0x5d240e(_0x952ea2);},'BCIuQ':function(_0x276dec,_0x519dde){return _0x276dec===_0x519dde;},'NWmjg':function(_0x3f672e,_0x560c4f){return _0x3f672e+_0x560c4f;}};if(!_0x495180['LHkLp'](existsSync,_0x1b8703))return![];let _0x11408a;try{const _0xaad0f3=await readFile(_0x1b8703,_0x495180['CxyjQ']);_0x11408a=_0x495180[_0x378d85(0xcd)](parseJsonc,_0xaad0f3);}catch{return![];}const _0x3aab75=Array[_0x378d85(0xbe)](_0x11408a[_0x378d85(0xcc)])?_0x11408a['plugin']:[];if(_0x495180[_0x378d85(0xc8)](_0x3aab75[_0x378d85(0xb3)],0x0))return![];const _0x1992d7=_0x3aab75[_0x378d85(0xdc)](_0x4453c8=>{if(_0x495180['JKxwe'](typeof _0x4453c8,'string'))return!![];return _0x495180['JKxwe'](_0x4453c8,opencodePluginName);});if(_0x495180[_0x378d85(0xc8)](_0x1992d7[_0x378d85(0xb3)],_0x3aab75['length']))return![];return _0x1992d7[_0x378d85(0xb3)]===0x0?delete _0x11408a['plugin']:_0x11408a['plugin']=_0x1992d7,await writeFile(_0x1b8703,_0x495180[_0x378d85(0xc2)](JSON[_0x378d85(0xb8)](_0x11408a,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x57e6a0){const _0x1fab63=_0x47d0c5,_0x31ec46={'RquDa':_0x1fab63(0xb4),'nKIuQ':_0x1fab63(0xe1),'yQsrE':'claude','voNsl':'pipe','Fktqy':function(_0x1e8821,_0xf3bf68){return _0x1e8821===_0xf3bf68;},'TQinG':_0x1fab63(0xc7)};return new Promise(_0x3dd63d=>{const _0x1fc128=_0x1fab63,_0x4c3dc0={'NEGMk':function(_0x12a53d,_0x81850a){return _0x12a53d(_0x81850a);}},_0x35d515=[_0x1fc128(0xcc),_0x31ec46['RquDa'],'ranger@trailhead'];_0x57e6a0&&_0x35d515['push'](_0x31ec46[_0x1fc128(0xe0)],_0x57e6a0);const _0x5bc69d=spawn(_0x31ec46[_0x1fc128(0xbf)],_0x35d515,{'stdio':_0x31ec46[_0x1fc128(0xe2)],'shell':_0x31ec46[_0x1fc128(0xb2)](process['platform'],'win32')});_0x5bc69d['on'](_0x31ec46['TQinG'],_0xc18ec9=>{_0x4c3dc0['NEGMk'](_0x3dd63d,_0xc18ec9===0x0);}),_0x5bc69d['on'](_0x1fc128(0xc1),()=>{_0x3dd63d(![]);});});}async function removeMarketplace(){const _0x479850=_0x47d0c5,_0x510419={'rijyR':_0x479850(0xb9),'McEIC':'plugin','dBpaO':'trailhead'};return new Promise(_0xadc5e3=>{const _0x225e42=_0x479850,_0x363643={'ldfZt':function(_0x50175e,_0x54d0e6){return _0x50175e(_0x54d0e6);}},_0x29d240=spawn(_0x510419[_0x225e42(0xd7)],[_0x510419[_0x225e42(0xe3)],_0x225e42(0xca),_0x225e42(0xcb),_0x510419[_0x225e42(0xd5)]],{'stdio':'pipe','shell':process['platform']==='win32'});_0x29d240['on'](_0x225e42(0xc7),_0x280361=>{_0x363643['ldfZt'](_0xadc5e3,_0x280361===0x0);}),_0x29d240['on'](_0x225e42(0xc1),()=>{_0x363643['ldfZt'](_0xadc5e3,![]);});});}export async function clean(){const _0x137e6e=_0x47d0c5,_0x5ea507={'EXpql':function(_0x409e8e){return _0x409e8e();},'QlmwH':'✓\x20Removed\x20stored\x20credentials','tPWnE':function(_0x5c4e76,_0x13a191){return _0x5c4e76(_0x13a191);},'bbMfR':function(_0x517b0c,_0x43da1f,_0x4b77a7){return _0x517b0c(_0x43da1f,_0x4b77a7);},'gCOLm':function(_0x30d628){return _0x30d628();},'hnjYm':function(_0x5374dc,_0x51fcf1,_0x4a9dff){return _0x5374dc(_0x51fcf1,_0x4a9dff);},'aAuvE':function(_0x55f8b9,_0x3c7286){return _0x55f8b9(_0x3c7286);},'uudsz':function(_0x42b161,_0x2584cb){return _0x42b161(_0x2584cb);},'zAttw':function(_0xd41b17,_0x4c7d3e){return _0xd41b17(_0x4c7d3e);},'PNUVK':function(_0x562d1b,_0x1fbfd9){return _0x562d1b(_0x1fbfd9);},'ytiTZ':'user','vkFuP':function(_0x16760b,_0x694295,_0x37330a){return _0x16760b(_0x694295,_0x37330a);},'mvoYR':function(_0x1ebb28,_0x29a227){return _0x1ebb28(_0x29a227);},'cIdvn':_0x137e6e(0xd2),'VhxXu':'opencode.json','NUbBs':function(_0x2c5991,_0xfd8eb4){return _0x2c5991(_0xfd8eb4);},'KCOQe':_0x137e6e(0xd3),'hrmZO':function(_0x1a9077){return _0x1a9077();},'SkOad':_0x137e6e(0xbd),'rVwGR':function(_0x1fb16d){return _0x1fb16d();},'JMPRX':_0x137e6e(0xaf),'otXie':_0x137e6e(0xd8)};console['log'](_0x137e6e(0xbb));let _0x2011c9=![];try{await _0x5ea507['EXpql'](deleteAllCredentials),console[_0x137e6e(0xe6)](_0x5ea507['QlmwH']),_0x2011c9=!![];}catch{}const _0x5b6d78=getCacheFile();_0x5ea507['tPWnE'](existsSync,_0x5b6d78)&&(await rm(_0x5b6d78),_0x2011c9=!![]);const _0xe1fb12=getRangerDir();existsSync(_0xe1fb12)&&(await _0x5ea507['bbMfR'](rm,_0xe1fb12,{'recursive':!![]}),console[_0x137e6e(0xe6)]('✓\x20Removed\x20.ranger/\x20directory'),_0x2011c9=!![]);const _0x476a1b=_0x5ea507[_0x137e6e(0xde)](getProjectSkillsDir);for(const _0x31aed1 of skillsToRemove){const _0x323e3b=_0x5ea507['hnjYm'](join,_0x476a1b,_0x31aed1);_0x5ea507['aAuvE'](existsSync,_0x323e3b)&&(await rm(_0x323e3b,{'recursive':!![]}),console['log']('✓\x20Removed\x20project\x20skill:\x20'+_0x31aed1),_0x2011c9=!![]);}const _0x3390c5=_0x5ea507[_0x137e6e(0xde)](getUserSkillsDir);for(const _0x4fd3ec of skillsToRemove){const _0x277e65=join(_0x3390c5,_0x4fd3ec);existsSync(_0x277e65)&&(await rm(_0x277e65,{'recursive':!![]}),console[_0x137e6e(0xe6)](_0x137e6e(0xb1)+_0x4fd3ec),_0x2011c9=!![]);}const _0x3a86c1=_0x5ea507[_0x137e6e(0xce)](getOpencodeSkillsDir,'project');for(const _0x2467ff of skillsToRemove){const _0x304113=join(_0x3a86c1,_0x2467ff);_0x5ea507['zAttw'](existsSync,_0x304113)&&(await rm(_0x304113,{'recursive':!![]}),console[_0x137e6e(0xe6)](_0x137e6e(0xd1)+_0x2467ff),_0x2011c9=!![]);}const _0x1d6555=_0x5ea507['PNUVK'](getOpencodeSkillsDir,_0x5ea507['ytiTZ']);for(const _0x1b5581 of skillsToRemove){const _0x15c3fd=_0x5ea507[_0x137e6e(0xb5)](join,_0x1d6555,_0x1b5581);_0x5ea507[_0x137e6e(0xd6)](existsSync,_0x15c3fd)&&(await _0x5ea507[_0x137e6e(0xb5)](rm,_0x15c3fd,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x1b5581),_0x2011c9=!![]);}const _0x575a68=join(_0x5ea507[_0x137e6e(0xba)](getOpencodeConfigDir,_0x5ea507['cIdvn']),_0x5ea507[_0x137e6e(0xe7)]);await _0x5ea507[_0x137e6e(0xbc)](removeOpencodePluginConfig,_0x575a68)&&(console['log'](_0x137e6e(0xdb)),_0x2011c9=!![]);const _0x4c1402=join(getOpencodeConfigDir(_0x137e6e(0xc0)),_0x5ea507[_0x137e6e(0xe7)]);await removeOpencodePluginConfig(_0x4c1402)&&(console[_0x137e6e(0xe6)](_0x5ea507[_0x137e6e(0xc4)]),_0x2011c9=!![]);const _0x2ec6d4=await _0x5ea507['hrmZO'](uninstallClaudePlugin);_0x2ec6d4&&(console[_0x137e6e(0xe6)](_0x5ea507['SkOad']),_0x2011c9=!![]);const _0x324329=await uninstallClaudePlugin(_0x137e6e(0xd2));_0x324329&&(console[_0x137e6e(0xe6)](_0x137e6e(0xdd)),_0x2011c9=!![]);const _0x42591e=await _0x5ea507['rVwGR'](removeMarketplace);_0x42591e&&(console[_0x137e6e(0xe6)](_0x5ea507['JMPRX']),_0x2011c9=!![]),_0x2011c9?console[_0x137e6e(0xe6)]('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0x5ea507['otXie']);}
1
+ const _0x27186f=_0x11e5;(function(_0x505891,_0x240db9){const _0x329841=_0x11e5,_0x27b5b4=_0x505891();while(!![]){try{const _0x373539=parseInt(_0x329841(0xf9))/0x1+parseInt(_0x329841(0x114))/0x2*(parseInt(_0x329841(0xf6))/0x3)+parseInt(_0x329841(0x113))/0x4*(parseInt(_0x329841(0x11b))/0x5)+parseInt(_0x329841(0x11e))/0x6+-parseInt(_0x329841(0x111))/0x7+parseInt(_0x329841(0xf1))/0x8*(-parseInt(_0x329841(0x108))/0x9)+-parseInt(_0x329841(0x106))/0xa;if(_0x373539===_0x240db9)break;else _0x27b5b4['push'](_0x27b5b4['shift']());}catch(_0x120dc0){_0x27b5b4['push'](_0x27b5b4['shift']());}}}(_0x3c21,0x5de4c));import{rm,readFile,writeFile}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';import{getCacheFile}from'./utils/sessionCache.js';import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x27186f(0x11c),_0x27186f(0x102),_0x27186f(0x11f),'e2e-test-recommender'],opencodePluginName='@ranger-testing/opencode-plugin';function _0x3c21(){const _0x483ae2=['LMQrb','ObFdW','error','azVFR','ZACqG','platform','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','IjhhR','win32','8hwBaCj','BCYRG','tSXrm','uVLal','fkTrV','3nLQDqW','REXOV','✓\x20Removed\x20.ranger/\x20directory','368386oiOBQz','remove','ranger@trailhead','✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','project','parse','plugin','marketplace','ITqdX','feature-tracker','gnDGc','UGRqo','length','8088480ZqTDRx','isArray','4542183RWntfb','uninstall','filter','string','sqRnQ','close','IUTTZ','tNBZl','pILKX','18620LCFLAy','✓\x20Removed\x20trailhead\x20marketplace','5068weuPfu','1310412aqtLOo','claude','✓\x20Removed\x20project\x20skill:\x20','log','opencode.json','stringify','ywjKG','2435ucuNxF','ranger','dmVtK','360972UOFSUU','bug-bash','replace','NtAlR','alohU','✓\x20Removed\x20stored\x20credentials','Nothing\x20to\x20clean\x20up.\x0a','TqYwe'];_0x3c21=function(){return _0x483ae2;};return _0x3c21();}function parseJsonc(_0x470d2f){const _0xba98e5=_0x27186f,_0x1b0e3a=_0x470d2f['replace'](/\/\*[\s\S]*?\*\//g,''),_0x8c1fcd=_0x1b0e3a[_0xba98e5(0x120)](/^\s*\/\/.*$/gm,''),_0x58771f=_0x8c1fcd[_0xba98e5(0x120)](/,\s*([}\]])/g,'$1');return JSON[_0xba98e5(0xfe)](_0x58771f);}async function removeOpencodePluginConfig(_0xf82f69){const _0x2d19db=_0x27186f,_0x4a1c90={'aEPkw':_0x2d19db(0x10b),'dmVtK':function(_0x578322,_0x42fec7){return _0x578322!==_0x42fec7;},'lASoF':function(_0x3025da,_0x4b820d,_0x473754){return _0x3025da(_0x4b820d,_0x473754);},'uVLal':function(_0x464770,_0x54d70e){return _0x464770(_0x54d70e);},'UGRqo':function(_0x27bcf9,_0x5c0fd5){return _0x27bcf9+_0x5c0fd5;}};if(!existsSync(_0xf82f69))return![];let _0x22a0a4;try{const _0x2e785c=await _0x4a1c90['lASoF'](readFile,_0xf82f69,'utf-8');_0x22a0a4=_0x4a1c90[_0x2d19db(0xf4)](parseJsonc,_0x2e785c);}catch{return![];}const _0x3065e1=Array[_0x2d19db(0x107)](_0x22a0a4['plugin'])?_0x22a0a4['plugin']:[];if(_0x3065e1[_0x2d19db(0x105)]===0x0)return![];const _0x353e1d=_0x3065e1[_0x2d19db(0x10a)](_0x19260d=>{const _0x5674e2=_0x2d19db;if(typeof _0x19260d!==_0x4a1c90['aEPkw'])return!![];return _0x4a1c90[_0x5674e2(0x11d)](_0x19260d,opencodePluginName);});if(_0x353e1d['length']===_0x3065e1['length'])return![];return _0x353e1d['length']===0x0?delete _0x22a0a4[_0x2d19db(0xff)]:_0x22a0a4[_0x2d19db(0xff)]=_0x353e1d,await writeFile(_0xf82f69,_0x4a1c90[_0x2d19db(0x104)](JSON[_0x2d19db(0x119)](_0x22a0a4,null,0x2),'\x0a')),!![];}function _0x11e5(_0x8af988,_0x2f0c84){_0x8af988=_0x8af988-0xea;const _0x3c21b8=_0x3c21();let _0x11e50a=_0x3c21b8[_0x8af988];return _0x11e50a;}async function uninstallClaudePlugin(_0x2710eb){const _0x58b169=_0x27186f,_0x17c4cd={'tSXrm':'plugin','NCjFZ':_0x58b169(0xfb),'ITqdX':'--scope','tqysg':function(_0x1dd9b8,_0x1299e1,_0x29dc32,_0x2c51c9){return _0x1dd9b8(_0x1299e1,_0x29dc32,_0x2c51c9);},'NncIr':_0x58b169(0x115),'eUPYw':'pipe','VHSng':_0x58b169(0xea)};return new Promise(_0x363ab0=>{const _0x368ab0=_0x58b169,_0x25cce8=[_0x17c4cd[_0x368ab0(0xf3)],_0x368ab0(0x109),_0x17c4cd['NCjFZ']];_0x2710eb&&_0x25cce8['push'](_0x17c4cd[_0x368ab0(0x101)],_0x2710eb);const _0x2353ae=_0x17c4cd['tqysg'](spawn,_0x17c4cd['NncIr'],_0x25cce8,{'stdio':_0x17c4cd['eUPYw'],'shell':process[_0x368ab0(0xed)]===_0x368ab0(0xf0)});_0x2353ae['on'](_0x368ab0(0x10d),_0x56c442=>{_0x363ab0(_0x56c442===0x0);}),_0x2353ae['on'](_0x17c4cd['VHSng'],()=>{_0x363ab0(![]);});});}async function removeMarketplace(){const _0x2f331e=_0x27186f,_0x4aebaf={'OSGQQ':function(_0x2c9ed7,_0x1a82f5,_0x3e5f9e,_0x74b622){return _0x2c9ed7(_0x1a82f5,_0x3e5f9e,_0x74b622);},'tNBZl':'plugin','pILKX':_0x2f331e(0xfa),'rqorm':'trailhead','HBvgG':'pipe','CafnA':function(_0xfc5935,_0x5ed5d6){return _0xfc5935===_0x5ed5d6;},'vOAZk':_0x2f331e(0xf0),'gnDGc':_0x2f331e(0xea)};return new Promise(_0x31b38f=>{const _0x15f506=_0x2f331e,_0x1a4e35={'dWNrT':function(_0x2c897f,_0x19dc1b){return _0x2c897f(_0x19dc1b);}},_0x338715=_0x4aebaf['OSGQQ'](spawn,_0x15f506(0x115),[_0x4aebaf[_0x15f506(0x10f)],_0x15f506(0x100),_0x4aebaf[_0x15f506(0x110)],_0x4aebaf['rqorm']],{'stdio':_0x4aebaf['HBvgG'],'shell':_0x4aebaf['CafnA'](process['platform'],_0x4aebaf['vOAZk'])});_0x338715['on'](_0x15f506(0x10d),_0x2c11c7=>{_0x1a4e35['dWNrT'](_0x31b38f,_0x2c11c7===0x0);}),_0x338715['on'](_0x4aebaf[_0x15f506(0x103)],()=>{_0x1a4e35['dWNrT'](_0x31b38f,![]);});});}export async function clean(){const _0x3521d8=_0x27186f,_0x569751={'fkTrV':function(_0x103d51){return _0x103d51();},'ywjKG':function(_0x531afb){return _0x531afb();},'sqRnQ':function(_0x1de318,_0x26f324){return _0x1de318(_0x26f324);},'ZACqG':function(_0xa79298,_0xd2935c,_0x1d7fc0){return _0xa79298(_0xd2935c,_0x1d7fc0);},'alohU':_0x3521d8(0xf8),'IjhhR':function(_0x5bcea5,_0xf3d110,_0x57f912){return _0x5bcea5(_0xf3d110,_0x57f912);},'ObFdW':function(_0x31e55b,_0x3b76a0,_0x3c05b0){return _0x31e55b(_0x3b76a0,_0x3c05b0);},'SiXun':function(_0x70842){return _0x70842();},'NtAlR':function(_0x12af0f,_0x3e95d2,_0x4ad525){return _0x12af0f(_0x3e95d2,_0x4ad525);},'LMQrb':function(_0x305f0b,_0x4dec52){return _0x305f0b(_0x4dec52);},'BCYRG':_0x3521d8(0xfd),'gAasY':function(_0x18210d,_0x3ac57d,_0x54045b){return _0x18210d(_0x3ac57d,_0x54045b);},'azVFR':'user','iaSzm':function(_0x346164,_0x25167f){return _0x346164(_0x25167f);},'TqYwe':_0x3521d8(0x118),'KaWZv':function(_0x15f0b3,_0x4c83c7){return _0x15f0b3(_0x4c83c7);},'IUTTZ':function(_0x142ab8){return _0x142ab8();},'NzEgZ':_0x3521d8(0x112),'REXOV':_0x3521d8(0x124)};console[_0x3521d8(0x117)](_0x3521d8(0xee));let _0x447d0d=![];try{await _0x569751[_0x3521d8(0xf5)](deleteAllCredentials),console[_0x3521d8(0x117)](_0x3521d8(0x123)),_0x447d0d=!![];}catch{}const _0x415c9c=_0x569751[_0x3521d8(0x11a)](getCacheFile);existsSync(_0x415c9c)&&(await rm(_0x415c9c),_0x447d0d=!![]);const _0x40ddb1=getRangerDir();_0x569751[_0x3521d8(0x10c)](existsSync,_0x40ddb1)&&(await _0x569751[_0x3521d8(0xec)](rm,_0x40ddb1,{'recursive':!![]}),console[_0x3521d8(0x117)](_0x569751[_0x3521d8(0x122)]),_0x447d0d=!![]);const _0x231aa2=getProjectSkillsDir();for(const _0x8333f9 of skillsToRemove){const _0xbdc19f=_0x569751[_0x3521d8(0xef)](join,_0x231aa2,_0x8333f9);existsSync(_0xbdc19f)&&(await _0x569751[_0x3521d8(0x127)](rm,_0xbdc19f,{'recursive':!![]}),console[_0x3521d8(0x117)](_0x3521d8(0x116)+_0x8333f9),_0x447d0d=!![]);}const _0x84091=_0x569751['SiXun'](getUserSkillsDir);for(const _0x3c1390 of skillsToRemove){const _0x31853d=_0x569751['ZACqG'](join,_0x84091,_0x3c1390);_0x569751[_0x3521d8(0x10c)](existsSync,_0x31853d)&&(await _0x569751[_0x3521d8(0x121)](rm,_0x31853d,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20user\x20skill:\x20'+_0x3c1390),_0x447d0d=!![]);}const _0x4d7923=_0x569751[_0x3521d8(0x126)](getOpencodeSkillsDir,_0x569751[_0x3521d8(0xf2)]);for(const _0x4427e7 of skillsToRemove){const _0x578978=_0x569751['NtAlR'](join,_0x4d7923,_0x4427e7);existsSync(_0x578978)&&(await _0x569751['gAasY'](rm,_0x578978,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x4427e7),_0x447d0d=!![]);}const _0xa2bde2=getOpencodeSkillsDir(_0x569751[_0x3521d8(0xeb)]);for(const _0x12f81d of skillsToRemove){const _0x7b06c2=join(_0xa2bde2,_0x12f81d);_0x569751['LMQrb'](existsSync,_0x7b06c2)&&(await rm(_0x7b06c2,{'recursive':!![]}),console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x12f81d),_0x447d0d=!![]);}const _0x56a302=join(_0x569751['iaSzm'](getOpencodeConfigDir,_0x569751[_0x3521d8(0xf2)]),_0x569751[_0x3521d8(0x125)]);await removeOpencodePluginConfig(_0x56a302)&&(console[_0x3521d8(0x117)]('✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x447d0d=!![]);const _0x5c0058=join(getOpencodeConfigDir(_0x569751['azVFR']),_0x569751[_0x3521d8(0x125)]);await _0x569751['KaWZv'](removeOpencodePluginConfig,_0x5c0058)&&(console[_0x3521d8(0x117)](_0x3521d8(0xfc)),_0x447d0d=!![]);const _0x51b3e1=await _0x569751[_0x3521d8(0x10e)](uninstallClaudePlugin);_0x51b3e1&&(console[_0x3521d8(0x117)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)'),_0x447d0d=!![]);const _0xb1d362=await uninstallClaudePlugin('project');_0xb1d362&&(console[_0x3521d8(0x117)]('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x447d0d=!![]);const _0x512e16=await _0x569751['ywjKG'](removeMarketplace);_0x512e16&&(console['log'](_0x569751['NzEgZ']),_0x447d0d=!![]),_0x447d0d?console['log']('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0x569751[_0x3521d8(0xf7)]);}
@@ -1 +1 @@
1
- const _0x58f20a=_0x20ee;(function(_0x17e604,_0x56f559){const _0x3cd90f=_0x20ee,_0xe62efa=_0x17e604();while(!![]){try{const _0xf4a692=parseInt(_0x3cd90f(0xf0))/0x1+-parseInt(_0x3cd90f(0x104))/0x2+parseInt(_0x3cd90f(0xf3))/0x3+parseInt(_0x3cd90f(0xf9))/0x4+parseInt(_0x3cd90f(0x105))/0x5+-parseInt(_0x3cd90f(0x107))/0x6*(-parseInt(_0x3cd90f(0xef))/0x7)+parseInt(_0x3cd90f(0xf8))/0x8*(-parseInt(_0x3cd90f(0xf4))/0x9);if(_0xf4a692===_0x56f559)break;else _0xe62efa['push'](_0xe62efa['shift']());}catch(_0x2866b4){_0xe62efa['push'](_0xe62efa['shift']());}}}(_0x2174,0x4ec80));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x58f20a(0x108)];function parseValue(_0x13b78b,_0x7ec7e1){const _0x31deb9=_0x58f20a,_0x2da583={'UccKT':_0x31deb9(0xf6)};if(BOOLEAN_KEYS[_0x31deb9(0xed)](_0x13b78b)){if(_0x7ec7e1===_0x31deb9(0xf5))return!![];if(_0x7ec7e1===_0x2da583[_0x31deb9(0x100)])return![];throw new Error(_0x31deb9(0x101)+_0x13b78b+_0x31deb9(0xfb));}return _0x7ec7e1;}export async function configSet(_0xeda95b,_0x29a4b4,_0x11d578){const _0x48dc30=_0x58f20a,_0x1a7c92={'brEGq':function(_0x3925c4,_0x24b191,_0x381a62){return _0x3925c4(_0x24b191,_0x381a62);},'ukJUO':function(_0x1dfabf,_0x1711a1,_0x5e32a3,_0x128f68){return _0x1dfabf(_0x1711a1,_0x5e32a3,_0x128f68);}},_0x190705=getEnvDir(_0xeda95b);if(!existsSync(_0x190705))throw new Error(_0x48dc30(0xfd)+_0xeda95b+'\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20'+_0xeda95b);const _0x15543a=await loadSettings(_0xeda95b),_0x389f22=_0x1a7c92[_0x48dc30(0xfe)](parseValue,_0x29a4b4,_0x11d578);_0x1a7c92['ukJUO'](setNestedValue,_0x15543a,_0x29a4b4,_0x389f22),await saveSettings(_0xeda95b,_0x15543a),console[_0x48dc30(0xec)]('Set\x20'+_0x29a4b4+_0x48dc30(0xee)+_0x389f22);}export async function configGet(_0x47288f,_0xb14f83){const _0x571048=_0x58f20a,_0x1c7806={'xqqhC':function(_0x46e56f,_0x531138){return _0x46e56f(_0x531138);},'nTERg':function(_0x58c87a,_0x197aa2){return _0x58c87a===_0x197aa2;},'GhQZh':_0x571048(0xfa)},_0x32dce6=getEnvDir(_0x47288f);if(!_0x1c7806[_0x571048(0xf7)](existsSync,_0x32dce6))throw new Error(_0x571048(0xfd)+_0x47288f+'\x22\x20does\x20not\x20exist.');const _0x155531=await loadSettings(_0x47288f),_0x2ec4cf=getNestedValue(_0x155531,_0xb14f83);if(_0x2ec4cf===undefined)console[_0x571048(0xec)](_0x571048(0xfc));else _0x1c7806['nTERg'](typeof _0x2ec4cf,_0x1c7806['GhQZh'])?console['log'](JSON['stringify'](_0x2ec4cf,null,0x2)):console[_0x571048(0xec)](_0x2ec4cf);}function _0x20ee(_0x1a3d4e,_0xc0124c){_0x1a3d4e=_0x1a3d4e-0xec;const _0x2174e7=_0x2174();let _0x20eec4=_0x2174e7[_0x1a3d4e];return _0x20eec4;}function _0x2174(){const _0x4c6bb0=['pZdXU','849798weUNne','1777615KQLIrE','Key\x20\x22','30eAlxuG','headless','No\x20configuration\x20set\x20for\x20\x22','log','includes','\x20=\x20','723933pnzGPG','251200dxosyb','\x22\x20does\x20not\x20exist.','oSIPc','658833KMsLnT','9968184uKDiUq','true','false','xqqhC','8Ixegqz','2046936qxmBlX','object',':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22','(not\x20set)','Profile\x20\x22','brEGq','Removed\x20','UccKT','Invalid\x20value\x20for\x20','\x22\x20not\x20found'];_0x2174=function(){return _0x4c6bb0;};return _0x2174();}export async function configList(_0x356c58){const _0xfaa863=_0x58f20a,_0x170bbe={'oSIPc':function(_0x14c428,_0x2461cb){return _0x14c428(_0x2461cb);}},_0x5b07e4=getSettingsPath(_0x356c58);if(!_0x170bbe[_0xfaa863(0xf2)](existsSync,_0x5b07e4)){const _0x421397=_0x170bbe[_0xfaa863(0xf2)](getEnvDir,_0x356c58);if(!existsSync(_0x421397))throw new Error(_0xfaa863(0xfd)+_0x356c58+'\x22\x20does\x20not\x20exist.');console[_0xfaa863(0xec)](_0xfaa863(0x109)+_0x356c58+'\x22');return;}const _0x32c79d=await loadSettings(_0x356c58),_0x57529e=_0x170bbe[_0xfaa863(0xf2)](formatSettings,_0x32c79d);!_0x57529e?console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x356c58+'\x22'):console['log'](_0x57529e);}export async function configUnset(_0x598d47,_0x51cf0a){const _0x20d1d6=_0x58f20a,_0x295f34={'pZdXU':function(_0x448c48,_0x6b2464,_0xd63cb3){return _0x448c48(_0x6b2464,_0xd63cb3);}},_0x37f7fc=getEnvDir(_0x598d47);if(!existsSync(_0x37f7fc))throw new Error(_0x20d1d6(0xfd)+_0x598d47+_0x20d1d6(0xf1));const _0x1c38b1=await loadSettings(_0x598d47),_0x54df0a=deleteNestedValue(_0x1c38b1,_0x51cf0a);_0x54df0a?(await _0x295f34[_0x20d1d6(0x103)](saveSettings,_0x598d47,_0x1c38b1),console[_0x20d1d6(0xec)](_0x20d1d6(0xff)+_0x51cf0a)):console['log'](_0x20d1d6(0x106)+_0x51cf0a+_0x20d1d6(0x102));}
1
+ (function(_0x2d7e11,_0xd5f2db){const _0x20cdc4=_0x3503,_0x370df7=_0x2d7e11();while(!![]){try{const _0x24106e=-parseInt(_0x20cdc4(0x87))/0x1+-parseInt(_0x20cdc4(0x8b))/0x2+-parseInt(_0x20cdc4(0x83))/0x3*(-parseInt(_0x20cdc4(0x85))/0x4)+-parseInt(_0x20cdc4(0x88))/0x5+parseInt(_0x20cdc4(0x7d))/0x6*(-parseInt(_0x20cdc4(0x90))/0x7)+parseInt(_0x20cdc4(0x82))/0x8+parseInt(_0x20cdc4(0x84))/0x9;if(_0x24106e===_0xd5f2db)break;else _0x370df7['push'](_0x370df7['shift']());}catch(_0x182a16){_0x370df7['push'](_0x370df7['shift']());}}}(_0x3600,0x2ea3f));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=['headless','allowInsecureLocalhost'];function _0x3503(_0x424c8d,_0x585ec9){_0x424c8d=_0x424c8d-0x7b;const _0x360081=_0x3600();let _0x3503f0=_0x360081[_0x424c8d];return _0x3503f0;}function parseValue(_0x3edf98,_0x46c25c){const _0xa17c48=_0x3503,_0x12edca={'YqPMN':'false'};if(BOOLEAN_KEYS[_0xa17c48(0x89)](_0x3edf98)){if(_0x46c25c===_0xa17c48(0x7e))return!![];if(_0x46c25c===_0x12edca[_0xa17c48(0x81)])return![];throw new Error('Invalid\x20value\x20for\x20'+_0x3edf98+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x46c25c;}export async function configSet(_0x1b9483,_0x561061,_0xe45793){const _0x4f17ed=_0x3503,_0x372c39={'RmOXz':function(_0x1ea0c9,_0x1eb4ab){return _0x1ea0c9(_0x1eb4ab);},'LtQkb':function(_0x109182,_0x374356){return _0x109182(_0x374356);},'FFUZK':function(_0x2ebfa0,_0x33c5f7,_0x4ee0ff){return _0x2ebfa0(_0x33c5f7,_0x4ee0ff);},'mXPPX':function(_0x36487f,_0x20c214,_0x455222){return _0x36487f(_0x20c214,_0x455222);}},_0x40a4=_0x372c39[_0x4f17ed(0x7f)](getEnvDir,_0x1b9483);if(!existsSync(_0x40a4))throw new Error('Profile\x20\x22'+_0x1b9483+_0x4f17ed(0x92)+_0x1b9483);const _0x5c5e8a=await _0x372c39['LtQkb'](loadSettings,_0x1b9483),_0x809ef2=_0x372c39['FFUZK'](parseValue,_0x561061,_0xe45793);setNestedValue(_0x5c5e8a,_0x561061,_0x809ef2),await _0x372c39['mXPPX'](saveSettings,_0x1b9483,_0x5c5e8a),console['log'](_0x4f17ed(0x7b)+_0x561061+'\x20=\x20'+_0x809ef2);}function _0x3600(){const _0x456a43=['193016JMBAbB','936735WEcpyh','includes','Profile\x20\x22','13670miwfyO','gqgET','Key\x20\x22','(not\x20set)','\x22\x20not\x20found','816774dmftrs','HNNwE','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','log','stringify','FATSx','TtVzy','\x22\x20does\x20not\x20exist.','Set\x20','Hmzfg','18xNFvgm','true','RmOXz','Removed\x20','YqPMN','4168Eqcwrk','141DKLlVW','5698494LfJEGH','25072ZEDwCU','No\x20configuration\x20set\x20for\x20\x22'];_0x3600=function(){return _0x456a43;};return _0x3600();}export async function configGet(_0x463368,_0x53a911){const _0x3d7960=_0x3503,_0x21063d={'TtVzy':function(_0x37d149,_0x4f7dcf){return _0x37d149(_0x4f7dcf);},'wmKQG':function(_0x1b5214,_0x352e62){return _0x1b5214(_0x352e62);},'Hmzfg':function(_0x1c8eb2,_0x12373d,_0x5ab9bf){return _0x1c8eb2(_0x12373d,_0x5ab9bf);},'mKwFS':function(_0xa15d1e,_0x4f00b4){return _0xa15d1e===_0x4f00b4;}},_0x15b5c1=_0x21063d[_0x3d7960(0x96)](getEnvDir,_0x463368);if(!_0x21063d['wmKQG'](existsSync,_0x15b5c1))throw new Error(_0x3d7960(0x8a)+_0x463368+_0x3d7960(0x97));const _0x579766=await loadSettings(_0x463368),_0x43dd02=_0x21063d[_0x3d7960(0x7c)](getNestedValue,_0x579766,_0x53a911);if(_0x43dd02===undefined)console['log'](_0x3d7960(0x8e));else _0x21063d['mKwFS'](typeof _0x43dd02,'object')?console[_0x3d7960(0x93)](JSON[_0x3d7960(0x94)](_0x43dd02,null,0x2)):console[_0x3d7960(0x93)](_0x43dd02);}export async function configList(_0x556824){const _0x892860=_0x3503,_0x368ccd={'FATSx':function(_0x19e47f,_0x1d37b6){return _0x19e47f(_0x1d37b6);},'gqgET':function(_0x19d162,_0x2655b7){return _0x19d162(_0x2655b7);}},_0x25ad4d=getSettingsPath(_0x556824);if(!existsSync(_0x25ad4d)){const _0x270f3d=getEnvDir(_0x556824);if(!_0x368ccd[_0x892860(0x95)](existsSync,_0x270f3d))throw new Error(_0x892860(0x8a)+_0x556824+_0x892860(0x97));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x556824+'\x22');return;}const _0x3b5dd7=await _0x368ccd[_0x892860(0x8c)](loadSettings,_0x556824),_0x48957d=formatSettings(_0x3b5dd7);!_0x48957d?console['log'](_0x892860(0x86)+_0x556824+'\x22'):console['log'](_0x48957d);}export async function configUnset(_0xb518ee,_0x1be3c8){const _0x1630e0=_0x3503,_0xdb7806={'kvKmR':function(_0x2183ca,_0x276228){return _0x2183ca(_0x276228);},'HNNwE':function(_0x5f13c0,_0x14fb08,_0x2a704d){return _0x5f13c0(_0x14fb08,_0x2a704d);}},_0x334647=_0xdb7806['kvKmR'](getEnvDir,_0xb518ee);if(!existsSync(_0x334647))throw new Error(_0x1630e0(0x8a)+_0xb518ee+_0x1630e0(0x97));const _0x474415=await loadSettings(_0xb518ee),_0x135948=_0xdb7806['HNNwE'](deleteNestedValue,_0x474415,_0x1be3c8);_0x135948?(await _0xdb7806[_0x1630e0(0x91)](saveSettings,_0xb518ee,_0x474415),console['log'](_0x1630e0(0x80)+_0x1be3c8)):console['log'](_0x1630e0(0x8d)+_0x1be3c8+_0x1630e0(0x8f));}