@ranger-testing/ranger-cli 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -1
  25. package/build/commands/setup/opencode.js +1 -1
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/mcpImageBase64.js +1 -1
  48. package/build/commands/utils/model.js +1 -1
  49. package/build/commands/utils/opencodeConfig.js +1 -1
  50. package/build/commands/utils/profileMessages.js +1 -1
  51. package/build/commands/utils/profileSetupBanner.js +1 -1
  52. package/build/commands/utils/rangerConfig.js +1 -1
  53. package/build/commands/utils/rangerRoot.js +1 -1
  54. package/build/commands/utils/reportGenerator.js +1 -1
  55. package/build/commands/utils/retry.js +1 -1
  56. package/build/commands/utils/sessionCache.js +1 -1
  57. package/build/commands/utils/settings.js +1 -1
  58. package/build/commands/utils/skillContent.js +1 -1
  59. package/build/commands/utils/skills.js +1 -1
  60. package/build/commands/utils/telemetry.js +1 -1
  61. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/package.json +1 -1
package/build/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function _0x4b21(_0x43e835,_0x31c5ea){_0x43e835=_0x43e835-0x1b0;const _0xf581b=_0xf581();let _0x4b21a4=_0xf581b[_0x43e835];return _0x4b21a4;}const _0x30021c=_0x4b21;(function(_0x3e925f,_0x5369f2){const _0x4c570b=_0x4b21,_0x5e7d17=_0x3e925f();while(!![]){try{const _0x28a363=-parseInt(_0x4c570b(0x225))/0x1+parseInt(_0x4c570b(0x26f))/0x2*(parseInt(_0x4c570b(0x1eb))/0x3)+-parseInt(_0x4c570b(0x1e9))/0x4+parseInt(_0x4c570b(0x2f7))/0x5+-parseInt(_0x4c570b(0x252))/0x6*(parseInt(_0x4c570b(0x221))/0x7)+-parseInt(_0x4c570b(0x20d))/0x8+parseInt(_0x4c570b(0x280))/0x9*(parseInt(_0x4c570b(0x272))/0xa);if(_0x28a363===_0x5369f2)break;else _0x5e7d17['push'](_0x5e7d17['shift']());}catch(_0x5163aa){_0x5e7d17['push'](_0x5e7d17['shift']());}}}(_0xf581,0x5402b));import _0xa25af5 from'dotenv';function _0xf581(){const _0x390757=['enable','usage','CFGpk','--checklist','XTMZH','Install\x20skills\x20for\x20OpenCode','ranger\x20profile\x20update','UDaac','MTshV','limit','Initialize\x20Ranger\x20in\x20your\x20project','Scenario\x20description','ranger\x20delete','You\x20must\x20specify\x20a\x20config\x20subcommand','hwczf','Manage\x20profile\x20configuration','yRKyn','Name\x20of\x20the\x20environment','kOumK','update','TtRRi','feature\x20delete','eoZkQ','vpcrm','.\x20[','TRMLy','EOSIr','profile\x20use','rlaCA','failed','profile\x20add','verified','HieRP','ktaUo','--notes','cwd','ltdYc','llGZD','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','option','demandCommand','add\x20env\x20<env-name>','cQnxP','resume','xgKyw','mhARu','VnkIK','ranger\x20show','\x20FAILED','start\x20[token]','blocked','Unknown\x20command','ieBWl','ZnoGC','FDYrz','ePZeM','nDGLR','report','ranger\x20use','ibuuQ','gqbqM','LZfQa','Vwkfl','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','evaluation','MqxKA','status','NHVQK','value','DMleC','mSFhJ','token','ImgDH','Install\x20Ranger\x20skills','xNFet','add-checklist-item\x20<description>','ranger\x20resume','1684915NWwjCx','OaPXP','KbWML','Documentation:\x0a','Evaluation:\x20','edit-scenario','zStdk','incomplete','mzGsO','feature\x20get-feedback','unhandledRejection','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','partial','Albdc','boolean','current-branch','setup\x20[token]','IdDfl','Include\x20soft-deleted\x20feature\x20reviews','ptsyl','EFGbB','qiGwt','opencode','uNIUi','parse','ranger\x20restore','deMaZ','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','\x0aUnknown\x20command:\x20','juakS','Scenario\x20number\x20to\x20edit\x20(1-based)','skillup','FQbTM','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','dkBIr','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','start-path','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','disable','ranger\x20feature\x20add-checklist-item','iwHal','unset\x20<env>\x20<key>','dmUeL','ranger\x20profile\x20config\x20get','QSXNd','ranger\x20feature\x20list','profile\x20config\x20list','exclude-scenario','ranger\x20go','--task','WFVVt','profile\x20config\x20unset','riThU','add\x20env','project','strictCommands','skip-auth','show\x20[id]','ranger\x20feature\x20delete','task','argv','vpfwN','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','login','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','HkXDq','Set\x20a\x20config\x20value','Feature\x20review\x20description','tUMiz','list','Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)','RflVW','OfNCJ','item','mxSsJ','kvOOG','You\x20must\x20specify\x20an\x20auth\x20subcommand','iNXCe','ZtfKC','pCGTg','env\x20update','add-scenario','VjnQN','profile-name','1129580CFBblL','BhDHV','6wClkcd','kKmWe','hook:enable','Feature\x20review\x20ID\x20to\x20restore','ranger','Profile\x20name','SsbiD','ranger\x20env\x20ls','issues','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ranger\x20env\x20update','use','oHiQA','KKmXP','show','\x20INCOMPLETE','name','ranger\x20list','ranger\x20profile\x20config\x20set','feature\x20create','VsVQF','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','force','CtXoV','create\x20<name>','env','command','error','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20auth\x20encrypt','SGWfz','scope','help','exit','5289352YkzbMK','skip-chromium','encrypt\x20<profile>','ranger\x20verify-feature','profile\x20config\x20set','AeeYa','log','nIRwL','bbbei','uLGeB','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','notes','evaluationReason','bmXAS','Update\x20authentication\x20for\x20an\x20existing\x20profile','fcjoM','fbJLK','unXbK','pGmoX','\x20BLOCKED','4058565KHBBvH','create','icZOx','env-name','479061DAMBmb','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','XNtXr','FYIxP','url','pZjRI','config\x20get','HgMoX','description','qzyGc','ranger\x20feature\x20restore','xLgFS','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ygQqS','pqJiT','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','string','session-id','pwZJr','config\x20set','BqhfY','mjPaU','ranger\x20start','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','jOWaG','HNLjW','rsBQt','positional','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','mOCct','checklist','EponG','trackCommandError','HGYoa','LFkwv','List\x20all\x20profiles','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','config','ogpAk','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','config\x20list','Config\x20key\x20to\x20remove','6thBPnA','claude','PvlVr','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','delete\x20[id]','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','debug-address-comments','update\x20<env-name>','PIdOa','model','Config\x20key','scenario','RbKiF','number','OhTAO','Scenario\x20index\x20(1-based)','--scenario','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','profile','BCWim','user','Feature\x20review\x20ID','Name\x20of\x20the\x20profile\x20to\x20update','ranger\x20profile\x20config\x20list','olakc','update\x20<profile-name>','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','ranger\x20feature\x20create','308820QZuFIL','MNEah','jvPLp','28680zhZnDL','fgxBf','restore','Number\x20of\x20feature\x20reviews\x20to\x20skip','gtrJk','ranger\x20add\x20env','sNnit','yeGzQ','List\x20all\x20config\x20for\x20a\x20profile','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','include-deleted','ranger\x20profile\x20ls','SFGqb','setup-ci\x20<token>','5337TnAeqB','list\x20<env>','ranger\x20setup','QYtxK','cdp-endpoint','Remove\x20a\x20config\x20value','stpXS','restore\x20<id>','get-review','ranger\x20config\x20get','XqMiG','Reason:\x20','Add\x20profile\x20configuration','use\x20<profile-name>','BfUhJ','debug-outcome','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','QwcsM','key','gWYBU','array','Ranger\x20API\x20token','egqjK','Environment\x20name','use\x20<env-name>','length','Name\x20of\x20the\x20profile','feature\x20resume','UggcZ','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','feature\x20show','FUnHT','fROrG','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Vvxhl','JQQMD','KrDIU','Get\x20a\x20config\x20value','vXUuF','Restore\x20a\x20soft-deleted\x20feature\x20review','jRaeA','offset'];_0xf581=function(){return _0x390757;};return _0xf581();}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x39a21b=_0x4b21,_0x5ded30={'dhesf':function(_0x3655dd,_0x43a0cc){return _0x3655dd(_0x43a0cc);},'laYps':function(_0x421380,_0x1c7b1c){return _0x421380(_0x1c7b1c);}};let _0x34ec9f=process[_0x39a21b(0x2cd)]();const _0x31e8c8=parse(_0x34ec9f)['root'];while(_0x34ec9f!==_0x31e8c8){if(_0x5ded30['dhesf'](existsSync,join(_0x34ec9f,'.ranger'))||_0x5ded30['laYps'](existsSync,join(_0x34ec9f,'.env')))return _0x34ec9f;_0x34ec9f=dirname(_0x34ec9f);}return process['cwd']();}_0xa25af5[_0x30021c(0x24d)]({'path':join(findProjectRoot(),'.env')});import _0x2b2c43 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'](_0x30021c(0x301),async _0x5d36a4=>{const _0xe3901a=_0x30021c,_0x27553b={'riThU':function(_0x5e3551){return _0x5e3551();}},_0x4f0fc0=_0x27553b[_0xe3901a(0x1c9)](getCurrentCollector);_0x4f0fc0&&await _0x4f0fc0[_0xe3901a(0x248)](_0x5d36a4),process['exitCode']=0x1;});const rawArgs=process[_0x30021c(0x1d1)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\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.',PROFILE_HELP=_0x30021c(0x302),PROFILE_CONFIG_HELP=_0x30021c(0x1b8);function warnRenamed(_0x58d4c7,_0x4050de){console['error']('\x0a'+_0x58d4c7+'\x20is\x20now\x20'+_0x4050de+'\x0a');}function argUsed(_0xf45ae7){return rawArgs['some'](_0x11c328=>_0x11c328===_0xf45ae7||_0x11c328['startsWith'](_0xf45ae7+'='));}function warnFlagRenamed(_0x233971,_0x4910f3,_0x368f25){const _0xb61c30={'ZMUTu':function(_0x5c912e,_0x35b10){return _0x5c912e(_0x35b10);}};_0xb61c30['ZMUTu'](argUsed,_0x4910f3)&&warnRenamed(_0x233971+'\x20'+_0x4910f3,_0x233971+'\x20'+_0x368f25);}async function runGoCommand(_0x14676e,_0x4589fc=![]){const _0x4e8176=_0x30021c,_0x1e4e16={'IdDfl':function(_0x4833e0,_0x2594e7){return _0x4833e0+_0x2594e7;},'gtrJk':_0x4e8176(0x210),'mzGsO':_0x4e8176(0x1c5),'EdGst':function(_0x322c0a,_0x4416aa,_0x776c17,_0x337895){return _0x322c0a(_0x4416aa,_0x776c17,_0x337895);},'Forws':'--env','ktaUo':function(_0x39c437,_0x11bbbe,_0x372f06,_0x2748dc){return _0x39c437(_0x11bbbe,_0x372f06,_0x2748dc);},'eoZkQ':_0x4e8176(0x1c6),'gWYBU':_0x4e8176(0x2cc),'WFxIz':'--item','HGYoa':_0x4e8176(0x263),'IHDpG':function(_0x1035cd,_0x30fa42){return _0x1035cd??_0x30fa42;},'hxRjr':'flag','pDqaV':'config','Vvxhl':'default','PIdOa':_0x4e8176(0x259),'TojiK':function(_0x59067e,_0x5d6f7c){return _0x59067e+_0x5d6f7c;},'tROwk':function(_0x384c41,_0x3152fc){return _0x384c41===_0x3152fc;},'VuYeW':_0x4e8176(0x1fa),'FUnHT':'\x20PARTIAL','HNLjW':_0x4e8176(0x220),'AeeYa':_0x4e8176(0x2da),'llGZD':'verified'};_0x4589fc&&warnRenamed(_0x1e4e16[_0x4e8176(0x276)],_0x1e4e16['mzGsO']);_0x1e4e16['EdGst'](warnFlagRenamed,_0x1e4e16[_0x4e8176(0x2ff)],_0x1e4e16['Forws'],'--profile'),_0x1e4e16[_0x4e8176(0x2cb)](warnFlagRenamed,'ranger\x20go',_0x1e4e16[_0x4e8176(0x2c0)],_0x1e4e16[_0x4e8176(0x293)]),_0x1e4e16[_0x4e8176(0x2cb)](warnFlagRenamed,'ranger\x20go',_0x1e4e16['WFxIz'],_0x1e4e16[_0x4e8176(0x249)]);const _0x86edf8=await loadRangerConfig(),_0x424b6a=_0x14676e['model'],_0x5afbec=_0x86edf8['model'],_0x2f96e2=_0x1e4e16['IHDpG'](_0x424b6a,_0x5afbec),_0x1df11d=_0x424b6a?_0x1e4e16['hxRjr']:_0x5afbec?_0x1e4e16['pDqaV']:_0x1e4e16[_0x4e8176(0x2a2)],_0x36abe6=await verifyFeature({'profile':_0x14676e[_0x4e8176(0x265)]??_0x14676e['env'],'notes':_0x14676e['notes']??_0x14676e[_0x4e8176(0x1d0)],'scenario':_0x14676e['scenario']??_0x14676e[_0x4e8176(0x1de)],'startPath':_0x14676e['start-path'],'debugOutcome':_0x14676e['debug-outcome'],'debugAddressComments':_0x14676e[_0x1e4e16[_0x4e8176(0x25b)]],'verifyModel':_0x2f96e2,'verifyModelInput':_0x2f96e2,'verifyModelSource':_0x1df11d});console[_0x4e8176(0x213)](_0x1e4e16['TojiK']('\x0a','='['repeat'](0x3c))),console['log'](_0x36abe6['evaluation']==='verified'?'\x20VERIFIED':_0x1e4e16['tROwk'](_0x36abe6['evaluation'],'incomplete')?_0x1e4e16['VuYeW']:_0x36abe6[_0x4e8176(0x2ea)]==='partial'?_0x1e4e16[_0x4e8176(0x29f)]:_0x36abe6[_0x4e8176(0x2ea)]===_0x4e8176(0x2dc)?_0x1e4e16[_0x4e8176(0x241)]:_0x1e4e16[_0x4e8176(0x212)]),console[_0x4e8176(0x213)]('='['repeat'](0x3c)),console[_0x4e8176(0x213)]('Summary:\x20'+_0x36abe6['summary']),console['log'](_0x4e8176(0x2fb)+_0x36abe6[_0x4e8176(0x2ea)]),console[_0x4e8176(0x213)](_0x4e8176(0x28b)+_0x36abe6[_0x4e8176(0x219)]),_0x36abe6[_0x4e8176(0x1f3)]?.[_0x4e8176(0x299)]&&(console['log']('\x0aIssues:'),_0x36abe6[_0x4e8176(0x1f3)]['forEach']((_0x484d73,_0x1e0edf)=>{const _0x119519=_0x4e8176;console[_0x119519(0x213)]('\x0a'+_0x1e4e16[_0x119519(0x308)](_0x1e0edf,0x1)+_0x119519(0x2c2)+_0x484d73['severity']+']\x20'+_0x484d73['description']);})),process[_0x4e8176(0x20c)](_0x36abe6[_0x4e8176(0x2ea)]===_0x1e4e16[_0x4e8176(0x2cf)]?0x0:0x1);}_0x2b2c43(process['argv']['slice'](0x2))['scriptName'](_0x30021c(0x1ef))[_0x30021c(0x2ab)](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x30021c(0x205)](_0x30021c(0x203),_0x30021c(0x232),_0x5d6958=>{const _0x5cd206=_0x30021c,_0x777ea={'TtRRi':'string','jRaeA':'Feature\x20review\x20name','OfNCJ':_0x5cd206(0x1d8),'UqxRl':'scenario','ygQqS':_0x5cd206(0x294)};return _0x5d6958[_0x5cd206(0x243)](_0x5cd206(0x1fb),{'type':_0x777ea[_0x5cd206(0x2be)],'description':_0x777ea[_0x5cd206(0x2a8)],'demandOption':!![]})[_0x5cd206(0x2d1)](_0x5cd206(0x22e),{'type':_0x5cd206(0x237),'alias':'d','description':_0x777ea[_0x5cd206(0x1dd)]})['option'](_0x777ea['UqxRl'],{'type':_0x777ea[_0x5cd206(0x234)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('checklist',{'type':_0x777ea['ygQqS'],'hidden':!![]});},async _0x34ff68=>{const _0x3edf78=_0x30021c,_0x1e8e6b={'RNSGp':'ranger\x20create','CFGpk':'--scenario','mhARu':function(_0x59ac80,_0x554631,_0x2d2c65){return _0x59ac80(_0x554631,_0x2d2c65);},'vpfwN':_0x3edf78(0x222)};warnFlagRenamed(_0x1e8e6b['RNSGp'],_0x3edf78(0x2ad),_0x1e8e6b[_0x3edf78(0x2ac)]);const _0x14b460=_0x34ff68[_0x3edf78(0x25e)]||_0x34ff68[_0x3edf78(0x246)];await _0x1e8e6b[_0x3edf78(0x2d7)](withTelemetry,_0x1e8e6b[_0x3edf78(0x1d2)],()=>featureCreate(_0x34ff68['name'],{'description':_0x34ff68['description'],'scenarios':_0x14b460}));})['command']('list','List\x20all\x20feature\x20reviews',_0x2160ce=>{const _0x26eb60=_0x30021c,_0x4f14b6={'EFGbB':'current-branch','BCWim':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Nvhiw':'limit','vXUuF':_0x26eb60(0x236),'HgMoX':_0x26eb60(0x2a9),'kKmWe':_0x26eb60(0x260),'qiGwt':_0x26eb60(0x275),'QhbPe':_0x26eb60(0x27c),'Isdui':_0x26eb60(0x305)};return _0x2160ce[_0x26eb60(0x2d1)](_0x4f14b6[_0x26eb60(0x30b)],{'type':'boolean','description':_0x4f14b6[_0x26eb60(0x266)]})['option'](_0x4f14b6['Nvhiw'],{'type':'number','alias':'l','description':_0x4f14b6[_0x26eb60(0x2a6)],'default':0xa})[_0x26eb60(0x2d1)](_0x4f14b6[_0x26eb60(0x22d)],{'type':_0x4f14b6[_0x26eb60(0x1ec)],'alias':'o','description':_0x4f14b6[_0x26eb60(0x30c)],'default':0x0})[_0x26eb60(0x2d1)](_0x4f14b6['QhbPe'],{'type':_0x4f14b6['Isdui'],'alias':'d','description':_0x26eb60(0x309),'default':![]});},async _0x4ed397=>{const _0x1ec172=_0x30021c;await withTelemetry(_0x1ec172(0x1da),()=>featureList({'currentBranch':_0x4ed397[_0x1ec172(0x306)],'limit':_0x4ed397['limit'],'offset':_0x4ed397[_0x1ec172(0x2a9)],'includeDeleted':_0x4ed397[_0x1ec172(0x27c)]}));})[_0x30021c(0x205)](_0x30021c(0x1ce),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x20b2e8=>{const _0x90babe=_0x30021c,_0x788ca4={'meWBd':'string','gqbqM':_0x90babe(0x268)};return _0x20b2e8[_0x90babe(0x243)]('id',{'type':_0x788ca4['meWBd'],'description':_0x788ca4[_0x90babe(0x2e6)]});},async _0x1d41c1=>{const _0x20faf2=_0x30021c;await withTelemetry(_0x20faf2(0x1f9),()=>featureShow(_0x1d41c1['id']));})['command']('resume\x20[id]','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x235019=>{const _0xa2a50d=_0x30021c,_0x32331b={'ygSxp':_0xa2a50d(0x255)};return _0x235019['positional']('id',{'type':'string','description':_0x32331b['ygSxp']});},async _0x218f74=>{const _0x265e26=_0x30021c,_0x58e975={'wAXBv':function(_0x78d1b3,_0x536f5e,_0x5f1bac){return _0x78d1b3(_0x536f5e,_0x5f1bac);}};await _0x58e975['wAXBv'](withTelemetry,_0x265e26(0x2d5),()=>featureResume(_0x218f74['id']));})['command']('add-scenario\x20<description>',_0x30021c(0x244),_0x429804=>{const _0x48a50a=_0x30021c,_0x3112a9={'PILFG':_0x48a50a(0x22e),'qbIfS':_0x48a50a(0x237),'eEWSR':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x429804['positional'](_0x3112a9['PILFG'],{'type':'string','description':_0x48a50a(0x2b5),'demandOption':!![]})[_0x48a50a(0x2d1)]('id',{'type':_0x3112a9['qbIfS'],'description':_0x3112a9['eEWSR']});},async _0xf4418d=>{const _0x36fccb=_0x30021c,_0x432d59={'dmUeL':function(_0x6ffdef,_0x857564,_0x519a9f){return _0x6ffdef(_0x857564,_0x519a9f);}};await _0x432d59[_0x36fccb(0x1bf)](withTelemetry,_0x36fccb(0x1e6),()=>featureAddScenario(_0xf4418d[_0x36fccb(0x22e)],_0xf4418d['id']));})[_0x30021c(0x205)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x231674=>{const _0xaef63b=_0x30021c,_0x20abc1={'ImgDH':'string','bbbei':'New\x20scenario\x20description','BnWrI':_0xaef63b(0x25e),'leXEv':_0xaef63b(0x2e9)};return _0x231674[_0xaef63b(0x243)]('description',{'type':_0x20abc1[_0xaef63b(0x2f2)],'description':_0x20abc1[_0xaef63b(0x215)],'demandOption':!![]})[_0xaef63b(0x2d1)](_0x20abc1['BnWrI'],{'type':'number','description':_0xaef63b(0x1b3),'demandOption':!![]})[_0xaef63b(0x2d1)]('id',{'type':'string','description':_0x20abc1['leXEv']});},async _0x52e5ba=>{const _0x1362fc=_0x30021c,_0x14c2ed={'SsbiD':function(_0xce3b90,_0x597d77,_0x4f4640){return _0xce3b90(_0x597d77,_0x4f4640);}};await _0x14c2ed[_0x1362fc(0x1f1)](withTelemetry,_0x1362fc(0x2fc),()=>featureEditScenario(_0x52e5ba[_0x1362fc(0x22e)],{'id':_0x52e5ba['id'],'scenario':_0x52e5ba['scenario']}));})['command']('report\x20[id]',_0x30021c(0x290),_0x13b325=>{const _0x4e06ec=_0x30021c,_0x3b4f48={'unXbK':_0x4e06ec(0x1c4),'VsVQF':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'};return _0x13b325['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'})[_0x4e06ec(0x2d1)](_0x3b4f48[_0x4e06ec(0x21e)],{'type':_0x4e06ec(0x294),'description':_0x3b4f48[_0x4e06ec(0x1ff)]});},async _0xc7d5bb=>{const _0x3b24f9=_0x30021c,_0x49a072={'jjbKr':function(_0x473ef4,_0xcd7f51,_0x210b7d){return _0x473ef4(_0xcd7f51,_0x210b7d);}},_0x12e2b8=_0xc7d5bb['exclude-scenario'],_0x45b5df=_0x12e2b8?_0x12e2b8['map'](_0x3e701d=>Number(_0x3e701d)):undefined;await _0x49a072['jjbKr'](withTelemetry,_0x3b24f9(0x2e3),()=>featureReportPrDescription(_0xc7d5bb['id'],{'excludeScenarios':_0x45b5df}));})['command']('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x12e7a3=>{const _0x2360c8=_0x30021c,_0x58e7e9={'stpXS':_0x2360c8(0x237),'ZtfKC':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x12e7a3[_0x2360c8(0x243)]('id',{'type':_0x58e7e9[_0x2360c8(0x286)],'description':_0x58e7e9[_0x2360c8(0x1e3)]});},async _0x1e8029=>{const _0x1bccb3=_0x30021c,_0x4ab929={'KUjXQ':function(_0x44e59c,_0x4a656e,_0x1f90c1){return _0x44e59c(_0x4a656e,_0x1f90c1);}};await _0x4ab929['KUjXQ'](withTelemetry,_0x1bccb3(0x288),()=>featureGetReview(_0x1e8029['id']));})[_0x30021c(0x205)](_0x30021c(0x256),'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x4ea39b=>{const _0x50ba17=_0x30021c;return _0x4ea39b[_0x50ba17(0x243)]('id',{'type':_0x50ba17(0x237),'description':'Feature\x20review\x20ID'});},async _0x53e83a=>{const _0x5626e7={'FnhyL':function(_0x21badd,_0x2c543d,_0x59fa31){return _0x21badd(_0x2c543d,_0x59fa31);},'PRifO':'delete'};await _0x5626e7['FnhyL'](withTelemetry,_0x5626e7['PRifO'],()=>featureDelete(_0x53e83a['id']));})['command'](_0x30021c(0x287),_0x30021c(0x2a7),_0x41e91f=>{const _0x15e982=_0x30021c;return _0x41e91f[_0x15e982(0x243)]('id',{'type':'string','description':_0x15e982(0x1ee),'demandOption':!![]});},async _0x134df3=>{const _0x23c0f1=_0x30021c;await withTelemetry(_0x23c0f1(0x274),()=>featureRestore(_0x134df3['id']));})['command'](_0x30021c(0x307),_0x30021c(0x2b4),_0x14b4f8=>{const _0x469a41=_0x30021c,_0x5407c2={'VnkIK':_0x469a41(0x2f1),'EponG':_0x469a41(0x237),'OaPXP':'project','pCGTg':'url','SGWfz':_0x469a41(0x23f),'AVnBo':'boolean','cDRYb':_0x469a41(0x29d),'VCOHo':_0x469a41(0x1db)};return _0x14b4f8[_0x469a41(0x243)](_0x5407c2[_0x469a41(0x2d8)],{'type':_0x5407c2[_0x469a41(0x247)],'description':_0x469a41(0x1ba)})['option']('skip-chromium',{'type':_0x469a41(0x305),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('scope',{'type':_0x5407c2[_0x469a41(0x247)],'choices':['user',_0x5407c2[_0x469a41(0x2f8)]],'description':_0x469a41(0x2d0)})[_0x469a41(0x2d1)](_0x5407c2[_0x469a41(0x1e4)],{'type':_0x5407c2[_0x469a41(0x247)],'description':_0x5407c2[_0x469a41(0x209)]})['option'](_0x469a41(0x201),{'type':_0x5407c2['AVnBo'],'description':_0x5407c2['cDRYb'],'default':![]})['option']('opencode',{'type':'boolean','description':_0x5407c2['VCOHo'],'default':![]});},async _0x1d45cf=>{const _0x403780=_0x30021c,_0x5c420b={'fgxBf':'start'};await withTelemetry(_0x5c420b[_0x403780(0x273)],_0x2dfefb=>start(_0x1d45cf['token'],{'skipChromium':_0x1d45cf[_0x403780(0x20e)],'scope':_0x1d45cf['scope'],'url':_0x1d45cf['url'],'force':_0x1d45cf[_0x403780(0x201)],'opencode':_0x1d45cf[_0x403780(0x30d)]},_0x2dfefb));})['command'](_0x30021c(0x27f),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x37f6dc=>{const _0x48c51d=_0x30021c,_0x3080dd={'hwczf':'string','aWCuM':_0x48c51d(0x265),'fmEaE':_0x48c51d(0x1d5),'VcVwN':_0x48c51d(0x305)};return _0x37f6dc[_0x48c51d(0x243)]('token',{'type':_0x3080dd[_0x48c51d(0x2b8)],'description':_0x48c51d(0x295),'demandOption':!![]})['option'](_0x3080dd['aWCuM'],{'type':_0x48c51d(0x237),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x48c51d(0x2d1)]('base-url',{'type':_0x3080dd['hwczf'],'description':_0x3080dd['fmEaE']})[_0x48c51d(0x2d1)]('skip-chromium',{'type':_0x3080dd['VcVwN'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0xe5b9e6=>{const _0x2576e8=_0x30021c;await withTelemetry('setup-ci',_0x606436=>setupCi(_0xe5b9e6['token'],{'profile':_0xe5b9e6[_0x2576e8(0x265)],'baseUrl':_0xe5b9e6['base-url'],'skipChromium':_0xe5b9e6['skip-chromium']},_0x606436));})[_0x30021c(0x205)]('login',_0x30021c(0x1d3),()=>{},async()=>{const _0x46bc5f=_0x30021c,_0x1c819a={'mSFhJ':function(_0x5e0c77,_0x555ad1,_0x40643c){return _0x5e0c77(_0x555ad1,_0x40643c);},'ermSg':_0x46bc5f(0x1d4)};await _0x1c819a[_0x46bc5f(0x2f0)](withTelemetry,_0x1c819a['ermSg'],()=>login());})['command'](_0x30021c(0x1b4),_0x30021c(0x2f3),_0x2235ad=>{const _0xf2efe0=_0x30021c,_0x31001c={'kOumK':'opencode','jILpt':'boolean','kEnLS':_0xf2efe0(0x2af),'vpcrm':_0xf2efe0(0x237),'RoQXw':'project'};return _0x2235ad[_0xf2efe0(0x2d1)](_0x31001c[_0xf2efe0(0x2bc)],{'type':_0x31001c['jILpt'],'description':_0x31001c['kEnLS'],'default':![]})[_0xf2efe0(0x2d1)]('scope',{'type':_0x31001c[_0xf2efe0(0x2c1)],'choices':['user',_0x31001c['RoQXw']],'description':'Install\x20scope\x20for\x20skills'});},async _0x233d52=>{const _0x40cc9e=_0x30021c,_0x3666b2={'yeGzQ':function(_0x3ab88c,_0x5452fd){return _0x3ab88c(_0x5452fd);},'DMleC':function(_0x1acd42,_0x50940b,_0x5caff6){return _0x1acd42(_0x50940b,_0x5caff6);},'SFDHd':_0x40cc9e(0x1b4)},_0x2adeb8=_0x3666b2[_0x40cc9e(0x279)](Boolean,_0x233d52['opencode']);await _0x3666b2[_0x40cc9e(0x2ef)](withTelemetry,_0x3666b2['SFDHd'],()=>skillup({'autoInstall':_0x233d52[_0x40cc9e(0x20a)],'platform':_0x2adeb8?_0x40cc9e(0x30d):_0x40cc9e(0x253)}));})['command']('clean',_0x30021c(0x200),()=>{},async()=>{const _0x308c64=_0x30021c,_0x4c6d1f={'egqjK':function(_0x3146d6,_0x16d8ed,_0x12054e){return _0x3146d6(_0x16d8ed,_0x12054e);}};await _0x4c6d1f[_0x308c64(0x296)](withTelemetry,'clean',()=>clean());})['command']('profile','Manage\x20profiles',_0x4656a6=>{const _0x31cfa2=_0x30021c,_0x34ec56={'OFCwK':_0x31cfa2(0x1e8),'xuWzU':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','KrDIU':_0x31cfa2(0x24f),'FYIxP':_0x31cfa2(0x305),'tBuLh':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','ptsyl':_0x31cfa2(0x22a),'llSCM':_0x31cfa2(0x226),'cQnxP':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','DbXcI':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','XNtXr':_0x31cfa2(0x2c8),'fydvp':function(_0x3b94d8,_0x59b664){return _0x3b94d8(_0x59b664);},'OhTAO':_0x31cfa2(0x237),'ltdYc':_0x31cfa2(0x29a),'mSwGN':function(_0x57d035,_0x1838da,_0x469fd1){return _0x57d035(_0x1838da,_0x469fd1);},'jOWaG':_0x31cfa2(0x265),'UcMzS':function(_0x854b1e,_0xe41a95,_0x5d3515){return _0x854b1e(_0xe41a95,_0x5d3515);},'BqhfY':function(_0x1e9ebb,_0x1a9d9a,_0x47902c){return _0x1e9ebb(_0x1a9d9a,_0x47902c);},'RbKiF':'profile\x20update','xgKyw':'key','jnfBs':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','QwdmC':'value','xZfQm':'Profile\x20name','eHJhL':_0x31cfa2(0x251),'mFPcX':function(_0x8924d0,_0x26d5f3,_0x12db94){return _0x8924d0(_0x26d5f3,_0x12db94);},'rlaCA':'set\x20<profile>\x20<key>\x20<value>','bYjAr':'get\x20<profile>\x20<key>','LnUOR':_0x31cfa2(0x2a5),'BhDHV':_0x31cfa2(0x27a),'PNrqI':_0x31cfa2(0x285),'SFGqb':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','SGlLl':'add\x20<profile-name>','ibuuQ':_0x31cfa2(0x28c),'QJEdx':'Switch\x20to\x20using\x20a\x20specific\x20profile','bmVpl':'encrypt-auth\x20<profile>','rsBQt':_0x31cfa2(0x264),'QSXNd':_0x31cfa2(0x24b),'dukbb':_0x31cfa2(0x21b),'xHNks':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x4656a6[_0x31cfa2(0x2ab)](PROFILE_HELP)['command'](_0x34ec56['SGlLl'],_0x34ec56[_0x31cfa2(0x2e5)],_0x559414=>{const _0x1a9067=_0x31cfa2;return _0x559414['positional'](_0x34ec56['OFCwK'],{'type':'string','description':_0x34ec56['xuWzU'],'demandOption':!![]})['option']('ci',{'type':_0x1a9067(0x305),'description':_0x34ec56[_0x1a9067(0x2a4)],'default':![]})['option']('skip-auth',{'type':_0x34ec56[_0x1a9067(0x229)],'description':_0x34ec56['tBuLh'],'default':![]})[_0x1a9067(0x2d1)](_0x34ec56[_0x1a9067(0x30a)],{'type':'string','description':_0x34ec56['llSCM']})['option'](_0x1a9067(0x201),{'type':_0x34ec56['FYIxP'],'description':_0x34ec56[_0x1a9067(0x2d4)],'default':![]})[_0x1a9067(0x2d1)]('cdp-endpoint',{'type':_0x1a9067(0x237),'description':_0x34ec56['DbXcI']});},async _0x308d94=>{const _0x5ca02f=_0x31cfa2;await withTelemetry(_0x34ec56[_0x5ca02f(0x228)],_0x41684e=>addEnv(_0x308d94[_0x5ca02f(0x1e8)],{'ci':_0x308d94['ci'],'skipAuth':_0x308d94[_0x5ca02f(0x1cd)],'url':_0x308d94[_0x5ca02f(0x22a)],'force':_0x308d94[_0x5ca02f(0x201)],'cdpEndpoint':_0x308d94[_0x5ca02f(0x284)]},_0x41684e),{'isElectron':_0x34ec56['fydvp'](Boolean,_0x308d94[_0x5ca02f(0x284)])});})['command'](_0x31cfa2(0x28d),_0x34ec56['QJEdx'],_0x354588=>{const _0x18259a=_0x31cfa2;return _0x354588[_0x18259a(0x243)]('profile-name',{'type':_0x34ec56[_0x18259a(0x261)],'description':_0x34ec56[_0x18259a(0x2ce)],'demandOption':!![]});},async _0x33b93b=>{const _0x6954ba=_0x31cfa2;await _0x34ec56['mSwGN'](withTelemetry,_0x6954ba(0x2c5),()=>useEnv(_0x33b93b[_0x6954ba(0x1e8)]));})[_0x31cfa2(0x205)](_0x34ec56['bmVpl'],_0x34ec56[_0x31cfa2(0x242)],_0x54fe65=>{const _0x579817=_0x31cfa2;return _0x54fe65[_0x579817(0x243)](_0x34ec56[_0x579817(0x240)],{'type':_0x34ec56['OhTAO'],'description':_0x579817(0x1f0),'demandOption':!![]});},async _0x9dffa0=>{await _0x34ec56['mSwGN'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x9dffa0['profile']));})['command']('ls',_0x34ec56[_0x31cfa2(0x1c1)],()=>{},async()=>{await _0x34ec56['UcMzS'](withTelemetry,'profile\x20ls',()=>envList());})['command'](_0x31cfa2(0x26c),_0x34ec56['dukbb'],_0x38c643=>{const _0x287d5e=_0x31cfa2;return _0x38c643[_0x287d5e(0x243)](_0x287d5e(0x1e8),{'type':'string','description':_0x287d5e(0x269),'demandOption':!![]});},async _0x182805=>{const _0x15d3a4=_0x31cfa2;await _0x34ec56[_0x15d3a4(0x23b)](withTelemetry,_0x34ec56[_0x15d3a4(0x25f)],_0x7393ce=>updateEnv(_0x182805['profile-name'],_0x7393ce));})['command'](_0x31cfa2(0x24d),_0x31cfa2(0x2b9),_0x326529=>{const _0x26d872=_0x31cfa2,_0x18ff6c={'yRKyn':function(_0x1f24bc,_0x1f4ede,_0x16314e){return _0x34ec56['mFPcX'](_0x1f24bc,_0x1f4ede,_0x16314e);},'ogpAk':_0x26d872(0x211),'sSIcq':_0x34ec56[_0x26d872(0x2d6)],'EOSIr':_0x26d872(0x237),'QrsCK':_0x26d872(0x25d)};return _0x326529[_0x26d872(0x2ab)](PROFILE_CONFIG_HELP)[_0x26d872(0x205)](_0x34ec56[_0x26d872(0x2c6)],_0x26d872(0x1d7),_0x1ab219=>{const _0x54dc55=_0x26d872;return _0x1ab219[_0x54dc55(0x243)](_0x54dc55(0x265),{'type':'string','description':_0x54dc55(0x1f0),'demandOption':!![]})[_0x54dc55(0x243)](_0x34ec56[_0x54dc55(0x2d6)],{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['jnfBs'],'demandOption':!![]})['positional'](_0x34ec56['QwdmC'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x46bc94=>{const _0x1c71ec=_0x26d872;await _0x18ff6c[_0x1c71ec(0x2ba)](withTelemetry,_0x18ff6c[_0x1c71ec(0x24e)],()=>configSet(_0x46bc94['profile'],_0x46bc94[_0x1c71ec(0x292)],_0x46bc94[_0x1c71ec(0x2ee)]));})[_0x26d872(0x205)](_0x34ec56['bYjAr'],_0x34ec56['LnUOR'],_0x23e737=>{const _0x4d4318=_0x26d872;return _0x23e737['positional'](_0x4d4318(0x265),{'type':_0x4d4318(0x237),'description':_0x4d4318(0x1f0),'demandOption':!![]})['positional'](_0x18ff6c['sSIcq'],{'type':_0x18ff6c[_0x4d4318(0x2c4)],'description':_0x18ff6c['QrsCK'],'demandOption':!![]});},async _0x120d6a=>{const _0x346726=_0x26d872;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x120d6a[_0x346726(0x265)],_0x120d6a['key']));})['command']('list\x20<profile>',_0x34ec56[_0x26d872(0x1ea)],_0x3c13b7=>{const _0x40a0a1=_0x26d872;return _0x3c13b7['positional'](_0x40a0a1(0x265),{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['xZfQm'],'demandOption':!![]});},async _0x409cb6=>{const _0x1fe1df=_0x26d872;await withTelemetry(_0x1fe1df(0x1c3),()=>configList(_0x409cb6['profile']));})[_0x26d872(0x205)]('unset\x20<profile>\x20<key>',_0x34ec56['PNrqI'],_0x4399aa=>{const _0x56a1c7=_0x26d872;return _0x4399aa[_0x56a1c7(0x243)]('profile',{'type':'string','description':_0x56a1c7(0x1f0),'demandOption':!![]})[_0x56a1c7(0x243)]('key',{'type':_0x34ec56['OhTAO'],'description':_0x34ec56['eHJhL'],'demandOption':!![]});},async _0x4431fc=>{const _0x2c69c8=_0x26d872;await withTelemetry(_0x2c69c8(0x1c8),()=>configUnset(_0x4431fc[_0x2c69c8(0x265)],_0x4431fc[_0x2c69c8(0x292)]));})['demandCommand'](0x1,_0x34ec56[_0x26d872(0x27e)]);})[_0x31cfa2(0x2d2)](0x1,_0x34ec56['xHNks']);})['command'](_0x30021c(0x2ec),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x30021c(0x205)](_0x30021c(0x2bd),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x507b3e=_0x30021c;await withTelemetry(_0x507b3e(0x2bd),()=>update());})['command']('go',_0x30021c(0x1b6),_0x470781=>{const _0x456e3d=_0x30021c,_0x2684a7={'cDKAl':_0x456e3d(0x218),'Albdc':_0x456e3d(0x237),'tYUVi':_0x456e3d(0x258),'XTMZH':_0x456e3d(0x260),'FQbTM':_0x456e3d(0x262),'BfUhJ':'start-path','tUMiz':'model','AFgFf':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','uNIUi':'verified','TRMLy':_0x456e3d(0x303),'fcjoM':_0x456e3d(0x2c7),'ppUnL':_0x456e3d(0x2fe),'QYtxK':'debug-address-comments','mOCct':'boolean','juakS':_0x456e3d(0x204),'zdAAg':_0x456e3d(0x1d0)};return _0x470781['option'](_0x456e3d(0x265),{'type':_0x456e3d(0x237),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x456e3d(0x2d1)](_0x2684a7['cDKAl'],{'type':_0x2684a7['Albdc'],'description':_0x2684a7['tYUVi']})[_0x456e3d(0x2d1)](_0x456e3d(0x25e),{'type':_0x2684a7[_0x456e3d(0x2ae)],'description':_0x2684a7[_0x456e3d(0x1b5)]})['option'](_0x2684a7[_0x456e3d(0x28e)],{'type':_0x456e3d(0x237),'description':_0x456e3d(0x257)})['option'](_0x2684a7[_0x456e3d(0x1d9)],{'type':_0x456e3d(0x237),'description':_0x2684a7['AFgFf']})[_0x456e3d(0x2d1)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x2684a7[_0x456e3d(0x30e)],_0x2684a7[_0x456e3d(0x2c3)],_0x456e3d(0x2dc),_0x2684a7[_0x456e3d(0x21c)],_0x2684a7['ppUnL']]})[_0x456e3d(0x2d1)](_0x2684a7[_0x456e3d(0x283)],{'type':_0x2684a7[_0x456e3d(0x245)],'hidden':!![]})['option'](_0x2684a7[_0x456e3d(0x1b2)],{'type':_0x2684a7[_0x456e3d(0x304)],'hidden':!![]})[_0x456e3d(0x2d1)](_0x2684a7['zdAAg'],{'type':'string','hidden':!![]})['option'](_0x456e3d(0x1de),{'type':'number','hidden':!![]});},async _0x2d4cde=>{const _0x2b1a5b=_0x30021c,_0x4b4147={'xNFet':function(_0x273635,_0x4612fa){return _0x273635(_0x4612fa);}};await _0x4b4147[_0x2b1a5b(0x2f4)](runGoCommand,_0x2d4cde);})['command']('auth',![],_0x26f080=>{const _0x1c4672=_0x30021c,_0x4ef408={'NHVQK':'profile','ROMGN':'Profile\x20name','qbZbt':function(_0x5a22f1,_0x46c495,_0x501a91){return _0x5a22f1(_0x46c495,_0x501a91);},'xLgFS':_0x1c4672(0x208),'CtXoV':'ranger\x20profile\x20encrypt-auth'};return _0x26f080['command'](_0x1c4672(0x20f),![],_0x5b3c01=>{const _0x1014c6=_0x1c4672;return _0x5b3c01['positional'](_0x4ef408[_0x1014c6(0x2ed)],{'type':_0x1014c6(0x237),'description':_0x4ef408['ROMGN'],'demandOption':!![]});},async _0x170954=>{const _0x474fa3=_0x1c4672;_0x4ef408['qbZbt'](warnRenamed,_0x4ef408[_0x474fa3(0x231)],_0x4ef408[_0x474fa3(0x202)]),await authEncrypt(_0x170954[_0x474fa3(0x265)]);})['demandCommand'](0x1,_0x1c4672(0x1e1));},()=>{})['command'](_0x30021c(0x2db),![],_0x132339=>{const _0x60215c=_0x30021c,_0x74bfbd={'LiPLF':'string','hNoFs':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','olakc':'boolean','jvPLp':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','zOYfC':'force'};return _0x132339['positional'](_0x60215c(0x2f1),{'type':_0x74bfbd['LiPLF'],'description':_0x74bfbd['hNoFs']})[_0x60215c(0x2d1)](_0x60215c(0x20e),{'type':_0x74bfbd[_0x60215c(0x26b)],'description':_0x60215c(0x207),'default':![]})['option'](_0x60215c(0x20a),{'type':_0x74bfbd['LiPLF'],'choices':[_0x60215c(0x267),_0x60215c(0x1cb)],'description':_0x74bfbd[_0x60215c(0x271)]})[_0x60215c(0x2d1)]('url',{'type':_0x74bfbd['LiPLF'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x74bfbd['zOYfC'],{'type':_0x74bfbd[_0x60215c(0x26b)],'description':_0x60215c(0x29d),'default':![]});},async _0x4f6090=>{const _0x4ef505=_0x30021c,_0x278708={'fROrG':function(_0x3e1804,_0x38ba44,_0x10d2bf){return _0x3e1804(_0x38ba44,_0x10d2bf);},'iNXCe':_0x4ef505(0x23d),'ENKsL':_0x4ef505(0x282),'GqnKj':'start'};_0x278708[_0x4ef505(0x2a0)](warnRenamed,_0x278708[_0x4ef505(0x1e2)],_0x278708['ENKsL']),await withTelemetry(_0x278708['GqnKj'],_0xdef9c1=>start(_0x4f6090[_0x4ef505(0x2f1)],{'skipChromium':_0x4f6090[_0x4ef505(0x20e)],'scope':_0x4f6090[_0x4ef505(0x20a)],'url':_0x4f6090['url'],'force':_0x4f6090['force']},_0xdef9c1));})[_0x30021c(0x205)]('verify-feature',![],_0x555697=>{const _0x5b9167=_0x30021c,_0x47df7a={'nIRwL':_0x5b9167(0x237),'UzLJC':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','UDaac':'number','ePZeM':_0x5b9167(0x1b9),'ZnoGC':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','nDGLR':_0x5b9167(0x25c),'OGLAK':_0x5b9167(0x2c9),'PncgI':'partial'};return _0x555697[_0x5b9167(0x2d1)]('env',{'type':_0x5b9167(0x237),'description':_0x5b9167(0x1f4)})[_0x5b9167(0x2d1)](_0x5b9167(0x1d0),{'type':_0x47df7a['nIRwL'],'description':_0x47df7a['UzLJC']})[_0x5b9167(0x2d1)]('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':_0x47df7a[_0x5b9167(0x214)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x5b9167(0x218),{'type':_0x47df7a['nIRwL'],'hidden':!![]})['option']('scenario',{'type':_0x47df7a[_0x5b9167(0x2b1)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x47df7a[_0x5b9167(0x2e1)],{'type':_0x47df7a['nIRwL'],'description':_0x47df7a[_0x5b9167(0x2df)]})[_0x5b9167(0x2d1)](_0x47df7a[_0x5b9167(0x2e2)],{'type':_0x47df7a[_0x5b9167(0x214)],'hidden':!![]})[_0x5b9167(0x2d1)](_0x5b9167(0x28f),{'type':'string','hidden':!![],'choices':[_0x47df7a['OGLAK'],_0x47df7a['PncgI'],_0x5b9167(0x2dc),_0x5b9167(0x2c7),_0x5b9167(0x2fe)]});},async _0x1922e1=>{await runGoCommand(_0x1922e1,!![]);})[_0x30021c(0x205)](_0x30021c(0x2d3),![],_0x44adf0=>{const _0x56ebcd=_0x30021c,_0x5a1dc4={'DterG':_0x56ebcd(0x224),'dkBIr':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','UggcZ':_0x56ebcd(0x305),'cfxUH':_0x56ebcd(0x2a1)};return _0x44adf0['positional'](_0x5a1dc4['DterG'],{'type':_0x56ebcd(0x237),'description':_0x5a1dc4[_0x56ebcd(0x1b7)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x56ebcd(0x217),'default':![]})[_0x56ebcd(0x2d1)](_0x56ebcd(0x1cd),{'type':_0x5a1dc4[_0x56ebcd(0x29c)],'description':_0x5a1dc4['cfxUH'],'default':![]});},async _0x45175d=>{const _0x2b1911=_0x30021c,_0x51b090={'lNcLU':function(_0x1046cd,_0x3d819c,_0x2c81c3){return _0x1046cd(_0x3d819c,_0x2c81c3);},'HieRP':_0x2b1911(0x277),'deMaZ':function(_0x591276,_0x57f45d,_0x26f058){return _0x591276(_0x57f45d,_0x26f058);},'icZOx':_0x2b1911(0x1ca)};_0x51b090['lNcLU'](warnRenamed,_0x51b090[_0x2b1911(0x2ca)],'ranger\x20profile\x20add'),await _0x51b090[_0x2b1911(0x311)](withTelemetry,_0x51b090[_0x2b1911(0x223)],_0x1d8f27=>addEnv(_0x45175d[_0x2b1911(0x224)],{'ci':_0x45175d['ci'],'skipAuth':_0x45175d[_0x2b1911(0x1cd)]},_0x1d8f27));})['command'](_0x30021c(0x298),![],_0xa59289=>{const _0x2da342=_0x30021c,_0xc40cc={'MNEah':_0x2da342(0x2bb)};return _0xa59289['positional']('env-name',{'type':_0x2da342(0x237),'description':_0xc40cc[_0x2da342(0x270)],'demandOption':!![]});},async _0x237d4c=>{const _0x322c5b=_0x30021c,_0x5385cb={'ftQay':_0x322c5b(0x2e4),'HxymX':function(_0x382d6d,_0x417974,_0x4b7d31){return _0x382d6d(_0x417974,_0x4b7d31);},'ieBWl':_0x322c5b(0x1f6)};warnRenamed(_0x5385cb['ftQay'],'ranger\x20profile\x20use'),await _0x5385cb['HxymX'](withTelemetry,_0x5385cb[_0x322c5b(0x2de)],()=>useEnv(_0x237d4c[_0x322c5b(0x224)]));})['command'](_0x30021c(0x24d),![],_0x12d538=>{const _0x39469d=_0x30021c,_0x25fefd={'QwcsM':'env','VjnQN':'string','pqJiT':_0x39469d(0x292),'LFkwv':_0x39469d(0x26d),'GUMas':_0x39469d(0x1fd),'kvOOG':function(_0xbbff22,_0x480837,_0x36214f){return _0xbbff22(_0x480837,_0x36214f);},'RDkvg':_0x39469d(0x297),'JQQMD':function(_0x3a6a7c,_0x54e54c,_0x3e13bf){return _0x3a6a7c(_0x54e54c,_0x3e13bf);},'AJryw':_0x39469d(0x250),'nsvFE':function(_0x316c36,_0x192db6,_0x2a0514){return _0x316c36(_0x192db6,_0x2a0514);},'uLGeB':'ranger\x20config\x20unset','KbWML':'ranger\x20profile\x20config\x20unset','MQWYh':'set\x20<env>\x20<key>\x20<value>','HkXDq':_0x39469d(0x2b7)};return _0x12d538['command'](_0x25fefd['MQWYh'],![],_0x499468=>{const _0xf324e7=_0x39469d;return _0x499468['positional'](_0x25fefd['QwcsM'],{'type':_0x25fefd[_0xf324e7(0x1e7)],'description':_0xf324e7(0x297),'demandOption':!![]})['positional'](_0x25fefd['pqJiT'],{'type':_0x25fefd[_0xf324e7(0x1e7)],'description':_0x25fefd[_0xf324e7(0x24a)],'demandOption':!![]})[_0xf324e7(0x243)]('value',{'type':_0x25fefd['VjnQN'],'description':'Config\x20value','demandOption':!![]});},async _0x3554cc=>{const _0x319446=_0x39469d;warnRenamed('ranger\x20config\x20set',_0x25fefd['GUMas']),await _0x25fefd[_0x319446(0x1e0)](withTelemetry,_0x319446(0x23a),()=>configSet(_0x3554cc[_0x319446(0x204)],_0x3554cc['key'],_0x3554cc['value']));})[_0x39469d(0x205)]('get\x20<env>\x20<key>',![],_0x5b3b8c=>{const _0x51f397=_0x39469d;return _0x5b3b8c['positional'](_0x25fefd[_0x51f397(0x291)],{'type':_0x51f397(0x237),'description':_0x25fefd['RDkvg'],'demandOption':!![]})['positional'](_0x25fefd[_0x51f397(0x235)],{'type':_0x51f397(0x237),'description':_0x51f397(0x25d),'demandOption':!![]});},async _0x3cceff=>{const _0x4bd4c4=_0x39469d;_0x25fefd[_0x4bd4c4(0x2a3)](warnRenamed,_0x4bd4c4(0x289),_0x4bd4c4(0x1c0)),await _0x25fefd['JQQMD'](withTelemetry,_0x4bd4c4(0x22c),()=>configGet(_0x3cceff['env'],_0x3cceff['key']));})[_0x39469d(0x205)](_0x39469d(0x281),![],_0xa5518=>{const _0x354c7e=_0x39469d;return _0xa5518['positional'](_0x354c7e(0x204),{'type':_0x25fefd['VjnQN'],'description':_0x354c7e(0x297),'demandOption':!![]});},async _0x3702dd=>{const _0x21cd80=_0x39469d;warnRenamed('ranger\x20config\x20list',_0x21cd80(0x26a)),await _0x25fefd['JQQMD'](withTelemetry,_0x25fefd['AJryw'],()=>configList(_0x3702dd[_0x21cd80(0x204)]));})['command'](_0x39469d(0x1be),![],_0x4fa560=>{const _0x39a01c=_0x39469d;return _0x4fa560['positional'](_0x25fefd[_0x39a01c(0x291)],{'type':_0x25fefd['VjnQN'],'description':_0x25fefd['RDkvg'],'demandOption':!![]})[_0x39a01c(0x243)](_0x39a01c(0x292),{'type':_0x25fefd[_0x39a01c(0x1e7)],'description':_0x39a01c(0x251),'demandOption':!![]});},async _0x5e33b5=>{const _0x5ad9b3=_0x39469d;_0x25fefd['nsvFE'](warnRenamed,_0x25fefd[_0x5ad9b3(0x216)],_0x25fefd[_0x5ad9b3(0x2f9)]),await _0x25fefd[_0x5ad9b3(0x2a3)](withTelemetry,'config\x20unset',()=>configUnset(_0x5e33b5['env'],_0x5e33b5['key']));})[_0x39469d(0x2d2)](0x1,_0x25fefd[_0x39469d(0x1d6)]);})[_0x30021c(0x205)](_0x30021c(0x204),![],_0x2a20ec=>{const _0x5b5b44=_0x30021c,_0x2b3308={'BdEDA':_0x5b5b44(0x1f2),'hUtwP':function(_0x1fea0d,_0x3cf8ac,_0x172d7f){return _0x1fea0d(_0x3cf8ac,_0x172d7f);},'oHiQA':'Name\x20of\x20the\x20environment\x20to\x20update','bmXAS':function(_0x467892,_0x22bf10,_0x38628d){return _0x467892(_0x22bf10,_0x38628d);},'pwZJr':_0x5b5b44(0x25a),'sNnit':'You\x20must\x20specify\x20an\x20env\x20subcommand'};return _0x2a20ec['command']('ls',![],()=>{},async()=>{const _0x41b331=_0x5b5b44;warnRenamed(_0x2b3308['BdEDA'],_0x41b331(0x27d)),await _0x2b3308['hUtwP'](withTelemetry,'env\x20list',()=>envList());})['command'](_0x2b3308[_0x5b5b44(0x239)],![],_0x31dda2=>{const _0x1417ca=_0x5b5b44;return _0x31dda2['positional'](_0x1417ca(0x224),{'type':_0x1417ca(0x237),'description':_0x2b3308[_0x1417ca(0x1f7)],'demandOption':!![]});},async _0x2b45e2=>{const _0x17ee9=_0x5b5b44;_0x2b3308[_0x17ee9(0x21a)](warnRenamed,_0x17ee9(0x1f5),_0x17ee9(0x2b0)),await withTelemetry(_0x17ee9(0x1e5),_0x256d9a=>updateEnv(_0x2b45e2['env-name'],_0x256d9a));})['demandCommand'](0x1,_0x2b3308[_0x5b5b44(0x278)]);})[_0x30021c(0x205)]('feature',![],_0xcb3b9a=>{const _0x1b3907=_0x30021c,_0x4599ac={'XqMiG':'Feature\x20review\x20name','HVLeo':_0x1b3907(0x22e),'RflVW':_0x1b3907(0x294),'gomRE':_0x1b3907(0x1b0),'CpQze':'scenario','MqxKA':'ranger\x20create','KKmXP':_0x1b3907(0x1fe),'jwhOv':_0x1b3907(0x306),'FDYrz':'limit','mxSsJ':_0x1b3907(0x2a9),'uCUex':_0x1b3907(0x260),'WFVVt':function(_0x355250,_0x189c3c,_0x2427d4){return _0x355250(_0x189c3c,_0x2427d4);},'HUplF':_0x1b3907(0x2d9),'WvAsp':function(_0x4bfd51,_0x21d5bc,_0x24a488){return _0x4bfd51(_0x21d5bc,_0x24a488);},'Vwkfl':_0x1b3907(0x237),'MTshV':function(_0x302add,_0x225c6c,_0x412887){return _0x302add(_0x225c6c,_0x412887);},'LZfQa':_0x1b3907(0x29b),'pGmoX':_0x1b3907(0x2e9),'CcSGB':'ranger\x20add-scenario','aOFVc':'feature\x20add-checklist-item','qzyGc':function(_0x243d1a,_0x192a4b,_0x2fc02a){return _0x243d1a(_0x192a4b,_0x2fc02a);},'vblFM':_0x1b3907(0x300),'mjPaU':function(_0x395ebb,_0x5a0286,_0x37f170){return _0x395ebb(_0x5a0286,_0x37f170);},'iwHal':_0x1b3907(0x2b6),'YqAAK':_0x1b3907(0x230),'pZjRI':'feature\x20restore','sNIDl':'resume\x20[id]','qOzoi':_0x1b3907(0x2f5),'oDoJI':'get-feedback\x20[id]','kXCBq':'delete\x20[id]','CoDpy':_0x1b3907(0x27b)};return _0xcb3b9a['command'](_0x1b3907(0x203),![],_0x2ef3ae=>{const _0x29d5a3=_0x1b3907;return _0x2ef3ae[_0x29d5a3(0x243)]('name',{'type':'string','description':_0x4599ac[_0x29d5a3(0x28a)],'demandOption':!![]})[_0x29d5a3(0x2d1)](_0x4599ac['HVLeo'],{'type':'string','alias':'d','description':_0x29d5a3(0x1d8)})[_0x29d5a3(0x2d1)](_0x29d5a3(0x246),{'type':_0x4599ac[_0x29d5a3(0x1dc)],'alias':'c','description':_0x4599ac['gomRE']})[_0x29d5a3(0x2d1)](_0x4599ac['CpQze'],{'type':'array','hidden':!![]});},async _0x5e81cc=>{const _0x2d94cf=_0x1b3907;warnRenamed(_0x2d94cf(0x26e),_0x4599ac[_0x2d94cf(0x2eb)]),warnFlagRenamed(_0x4599ac[_0x2d94cf(0x2eb)],_0x2d94cf(0x2ad),_0x2d94cf(0x263));const _0x1da569=_0x5e81cc[_0x2d94cf(0x25e)]||_0x5e81cc['checklist'];await withTelemetry(_0x4599ac[_0x2d94cf(0x1f8)],()=>featureCreate(_0x5e81cc[_0x2d94cf(0x1fb)],{'description':_0x5e81cc['description'],'scenarios':_0x1da569}));})['command'](_0x1b3907(0x1da),![],_0x3db584=>{const _0x3415d4=_0x1b3907;return _0x3db584[_0x3415d4(0x2d1)](_0x4599ac['jwhOv'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x3415d4(0x2d1)](_0x4599ac[_0x3415d4(0x2e0)],{'type':_0x3415d4(0x260),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x4599ac[_0x3415d4(0x1df)],{'type':_0x4599ac['uCUex'],'alias':'o','description':_0x3415d4(0x275),'default':0x0})['option'](_0x3415d4(0x27c),{'type':_0x3415d4(0x305),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x23dc97=>{const _0x2d1301=_0x1b3907;_0x4599ac[_0x2d1301(0x1c7)](warnRenamed,_0x2d1301(0x1c2),_0x2d1301(0x1fc)),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x23dc97['current-branch'],'limit':_0x23dc97[_0x2d1301(0x2b3)],'offset':_0x23dc97[_0x2d1301(0x2a9)],'includeDeleted':_0x23dc97[_0x2d1301(0x27c)]}));})[_0x1b3907(0x205)]('show\x20[id]',![],_0x5b5e84=>{const _0x298cc5=_0x1b3907;return _0x5b5e84[_0x298cc5(0x243)]('id',{'type':_0x298cc5(0x237),'description':'Feature\x20review\x20ID'});},async _0x10c565=>{const _0x29c3ea=_0x1b3907;warnRenamed('ranger\x20feature\x20show',_0x4599ac['HUplF']),await _0x4599ac['WvAsp'](withTelemetry,_0x29c3ea(0x29e),()=>featureShow(_0x10c565['id']));})[_0x1b3907(0x205)](_0x4599ac['sNIDl'],![],_0x488003=>{const _0x2c8b11=_0x1b3907;return _0x488003[_0x2c8b11(0x243)]('id',{'type':_0x4599ac[_0x2c8b11(0x2e8)],'description':_0x2c8b11(0x255)});},async _0x50dc7c=>{const _0xe3f73a=_0x1b3907;_0x4599ac['WvAsp'](warnRenamed,'ranger\x20feature\x20resume',_0xe3f73a(0x2f6)),await _0x4599ac[_0xe3f73a(0x2b2)](withTelemetry,_0x4599ac[_0xe3f73a(0x2e7)],()=>featureResume(_0x50dc7c['id']));})['command'](_0x4599ac['qOzoi'],![],_0x367911=>{const _0x42bf97=_0x1b3907;return _0x367911['positional'](_0x4599ac['HVLeo'],{'type':'string','description':_0x42bf97(0x2b5),'demandOption':!![]})[_0x42bf97(0x2d1)]('id',{'type':_0x4599ac['Vwkfl'],'description':_0x4599ac[_0x42bf97(0x21f)]});},async _0x5bba1c=>{const _0x4f8352=_0x1b3907;warnRenamed(_0x4f8352(0x1bc),_0x4599ac['CcSGB']),await withTelemetry(_0x4599ac['aOFVc'],()=>featureAddScenario(_0x5bba1c[_0x4f8352(0x22e)],_0x5bba1c['id']));})[_0x1b3907(0x205)](_0x4599ac['oDoJI'],![],_0x480ff7=>{return _0x480ff7['positional']('id',{'type':_0x4599ac['Vwkfl'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xc5ce55=>{const _0x2ea6ae=_0x1b3907;warnRenamed('ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x4599ac[_0x2ea6ae(0x22f)](withTelemetry,_0x4599ac['vblFM'],()=>featureGetReview(_0xc5ce55['id']));})['command'](_0x4599ac['kXCBq'],![],_0x3d38b1=>{const _0xc2e75b=_0x1b3907;return _0x3d38b1[_0xc2e75b(0x243)]('id',{'type':_0xc2e75b(0x237),'description':_0xc2e75b(0x268)});},async _0x5ef227=>{const _0x4a1b3e=_0x1b3907;_0x4599ac[_0x4a1b3e(0x23c)](warnRenamed,_0x4a1b3e(0x1cf),_0x4599ac[_0x4a1b3e(0x1bd)]),await _0x4599ac[_0x4a1b3e(0x23c)](withTelemetry,_0x4a1b3e(0x2bf),()=>featureDelete(_0x5ef227['id']));})[_0x1b3907(0x205)](_0x1b3907(0x287),![],_0x8f841a=>{const _0x1cc08f=_0x1b3907;return _0x8f841a['positional']('id',{'type':_0x4599ac[_0x1cc08f(0x2e8)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x5d37ff=>{const _0x3dbc9b=_0x1b3907;warnRenamed(_0x4599ac['YqAAK'],_0x3dbc9b(0x310)),await withTelemetry(_0x4599ac[_0x3dbc9b(0x22b)],()=>featureRestore(_0x5d37ff['id']));})[_0x1b3907(0x2d2)](0x1,_0x4599ac['CoDpy']);})['command']('hook',![],_0x5b2c90=>{const _0x5f5bb8=_0x30021c,_0xaf5e94={'vyCWN':'session-id','alKVG':function(_0x1502a7,_0x23585c,_0x32323c){return _0x1502a7(_0x23585c,_0x32323c);},'yYyoN':_0x5f5bb8(0x2aa),'XSfoQ':_0x5f5bb8(0x227),'PvlVr':'disable','fbJLK':_0x5f5bb8(0x1fb),'KQKnx':_0x5f5bb8(0x24c)};return _0x5b2c90[_0x5f5bb8(0x205)](_0xaf5e94['yYyoN'],_0xaf5e94['XSfoQ'],_0x2e8d22=>{const _0x28428f=_0x5f5bb8;return _0x2e8d22[_0x28428f(0x2d1)](_0xaf5e94['vyCWN'],{'type':'string','description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1de68d=>{const _0x136b1f=_0x5f5bb8;await _0xaf5e94['alKVG'](withTelemetry,_0x136b1f(0x1ed),()=>hook(_0x136b1f(0x2aa),_0x1de68d[_0x136b1f(0x238)]));})['command'](_0xaf5e94[_0x5f5bb8(0x254)],_0x5f5bb8(0x233),_0x4d0b02=>{const _0x131f4a=_0x5f5bb8;return _0x4d0b02['option'](_0x131f4a(0x238),{'type':'string','description':_0x131f4a(0x24c)});},async _0x140389=>{const _0x130d17=_0x5f5bb8;await withTelemetry('hook:disable',()=>hook(_0x130d17(0x1bb),_0x140389['session-id']));})[_0x5f5bb8(0x2d1)](_0xaf5e94[_0x5f5bb8(0x21d)],{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x5f5bb8(0x2d1)](_0x5f5bb8(0x238),{'type':_0x5f5bb8(0x237),'description':_0xaf5e94['KQKnx']});},async _0x438f32=>{const _0x59dedc=_0x30021c;_0x438f32['name']&&await hook(_0x438f32[_0x59dedc(0x1fb)],_0x438f32['session-id']);})[_0x30021c(0x2d2)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x30021c(0x1cc)]()['fail'](async(_0x5846ff,_0x31cb96,_0x1342f2)=>{const _0x10bbbe=_0x30021c,_0x2b3452={'zStdk':_0x10bbbe(0x2dd),'lYixV':function(_0x46f077){return _0x46f077();}},_0x5cf0b7=sanitizeArgs(process['argv']['slice'](0x2)),_0xe2e01c=getErrorType(_0x5846ff,_0x31cb96);if(_0x5846ff&&_0x5846ff['includes'](_0x2b3452[_0x10bbbe(0x2fd)])){const _0x16e8a4=process[_0x10bbbe(0x1d1)][0x2];console[_0x10bbbe(0x206)](_0x10bbbe(0x1b1)+_0x16e8a4),console[_0x10bbbe(0x206)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x5846ff)console['error']('\x0a'+_0x5846ff+'\x0a');else _0x31cb96&&console[_0x10bbbe(0x206)]('\x0aError:\x20'+_0x31cb96['message']+'\x0a');}await logDesirePath({'rawCommand':_0x5cf0b7,'errorMessage':_0x5846ff||_0x31cb96?.['message'],'errorType':_0xe2e01c});const _0x3c95e1=_0x2b3452['lYixV'](getCurrentCollector);_0x3c95e1&&await _0x3c95e1[_0x10bbbe(0x248)](_0x31cb96||new Error(_0x5846ff||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x30021c(0x2fa)+'\x20\x20https://docs.ranger.net\x0a'+_0x30021c(0x23e))[_0x30021c(0x20b)]()['alias'](_0x30021c(0x20b),'h')[_0x30021c(0x30f)]();
2
+ const _0x204baf=_0x2852;(function(_0x4784c3,_0x3e1e89){const _0x4469b8=_0x2852,_0x316391=_0x4784c3();while(!![]){try{const _0x572602=parseInt(_0x4469b8(0x1ec))/0x1+-parseInt(_0x4469b8(0x156))/0x2*(parseInt(_0x4469b8(0x15c))/0x3)+-parseInt(_0x4469b8(0x14a))/0x4*(-parseInt(_0x4469b8(0x139))/0x5)+parseInt(_0x4469b8(0x1d1))/0x6*(parseInt(_0x4469b8(0x12b))/0x7)+parseInt(_0x4469b8(0x20a))/0x8*(parseInt(_0x4469b8(0x11e))/0x9)+parseInt(_0x4469b8(0x201))/0xa*(-parseInt(_0x4469b8(0x16b))/0xb)+-parseInt(_0x4469b8(0x1f1))/0xc*(parseInt(_0x4469b8(0x150))/0xd);if(_0x572602===_0x3e1e89)break;else _0x316391['push'](_0x316391['shift']());}catch(_0x3e0a14){_0x316391['push'](_0x316391['shift']());}}}(_0x1910,0xb6ce3));function _0x2852(_0x53bae6,_0x103ff2){_0x53bae6=_0x53bae6-0xbf;const _0x1910ed=_0x1910();let _0x28525a=_0x1910ed[_0x53bae6];return _0x28525a;}import _0x30e5ff from'dotenv';function _0x1910(){const _0x5d9b49=['FfvZU','force','eubeD','eQpJr','ranger\x20get-review','oBJFf','RFpwB','arBnI','Iewyo','bOwLM','HFrJI','Scenario\x20index\x20(1-based)','parse','clean','ranger\x20feature\x20show','positional','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','YGnlq','value','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Name\x20of\x20the\x20profile\x20to\x20update','jijwn','eiPsJ','ZgKdw','cdp-endpoint','snepU','length','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ejgTz','Install\x20scope\x20for\x20skills','HveIN','Manage\x20profiles','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','IJFVF','debug-outcome','KPqAy','some','fPloA','obNkH','tODOF','tnZbe','project','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Feature\x20review\x20ID\x20to\x20restore','ranger\x20feature\x20restore','JbHZI','command','BGbXm','sOide','FuMDK','Nzeuc','use','You\x20must\x20specify\x20a\x20config\x20subcommand','env','ranger\x20start','fAIJQ','profile\x20config\x20list','UMxbQ','tPLOi','Remove\x20a\x20config\x20value','AOKdd','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','zQuIB','list\x20<env>','sdhTN','New\x20scenario\x20description','partial','iIsGv','oxBpV','HxgKq','Config\x20value','114bloSaQ','number','profile\x20use','log','CygzS','profile\x20encrypt-auth','description','setup-ci\x20<token>','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','.env','user','MhNpt','ubhJT','ranger\x20use','--env','get\x20<profile>\x20<key>','hqRWt','includes','report','exclude-scenario','GaYHr','profile','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','model','Name\x20of\x20the\x20environment','lhSGS','MiJeU','497136ZDQGLz','debug-address-comments','Unknown\x20error','VNtyc','create\x20<name>','12dezvxd','Ranger\x20API\x20token','YCBTy','FeBhM','Include\x20soft-deleted\x20feature\x20reviews','ranger\x20config\x20list','exit','XDpwA','ranger\x20profile\x20ls','kUAHZ','create','tzpkB','MiZhA','strictCommands','CRxcr','LOTvp','225000hopWZR','GaunZ','current-branch','profile-name','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','base-url','sOtNg','ranger\x20restore','error','3034936CtpdKB','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','forEach','ranger','\x20PARTIAL','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','map','LTcGm','unset\x20<env>\x20<key>','xuZKu','pWTfl','niwyg','ltECc','Evpgc','cDWqw','--task','usExB','QTChI','Evaluation:\x20','Unknown\x20command','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','config\x20get','Feature\x20review\x20ID','get-feedback\x20[id]','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','scenario','vWvsC','qTIJn','LEMsm','dWDlq','List\x20all\x20profiles','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','YAeIZ','\x20BLOCKED','UCsYU','include-deleted','rKhAk','restore\x20<id>','AdbaE','ranger\x20env\x20update','Environment\x20name','Profile\x20name','add\x20env\x20<env-name>','verify-feature','issues','show','caTEH','set\x20<profile>\x20<key>\x20<value>','GPVmf','key','boolean','\x20VERIFIED','Nvzme','You\x20must\x20specify\x20an\x20env\x20subcommand','scriptName','DuFOG','profile\x20config\x20set','XTgmQ','token','BrhYM','disable','zqTYl','eLilL','nEXuB','.\x20[','ranger\x20add-scenario','blocked','feature\x20create','feature\x20restore','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1)','LXUsI','yExwv','profile\x20update','aeTeI','demandCommand','failed','WPECq','message','pxNMq','get\x20<env>\x20<key>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','You\x20must\x20specify\x20a\x20command','wZsiB','okaEU','status','AXWvI','cwd','ranger\x20profile\x20config\x20set','SkLwh','ranger\x20delete','\x0aIssues:','Name\x20of\x20the\x20environment\x20to\x20update','checklist','set\x20<env>\x20<key>\x20<value>','List\x20all\x20config\x20for\x20a\x20profile','cUWZJ','ZPiRH','setup\x20[token]','ranger\x20verify-feature','uFEOp','update','NcuXC','List\x20all\x20feature\x20reviews','--item','YximY','task','url','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','option','\x0aError:\x20','mevLE','PZzuj','NppYt','opencode','AAWxs','sbgrS','imgLl','MlWfX','NadgO','item','auth','array','lTKlP','ciSUt','gwtTw','llxsJ','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','config\x20set','18dMkYyo','Summary:\x20','KSKTt','DJOqE','ranger\x20show','show\x20[id]','tMhPe','RFqXI','zvPzR','MdXjL','zpPhK','KOkRO','rRuIo','41727GPONfS','\x20INCOMPLETE','profile\x20config\x20unset','profile\x20ls','JYXas','Install\x20Ranger\x20skills','gTJwq','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','CMwuR','--scenario','help','wcVxL','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','EqTeL','5LxCVmN','izyif','string','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','KWcFs','feature','ranger\x20resume','feature\x20list','SJMRs','IKvHo','incomplete','AjEYF','skip-chromium','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','xwqAS','ehVTB','4597324aLmrer','Wtxoi','NAVcJ','eCQNk','name','TzLqh','2253212sjSGHW','ijfAX','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','evaluation','qTeFR','ranger\x20create','385390zCNVGo','hook:disable','Config\x20key\x20to\x20remove','add-checklist-item\x20<description>','mxsZw','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','21evobWX','qpkbq','YdGPm','Jtlvy','wOaMQ','add-scenario','TmlfA','CtkcJ','Config\x20key','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Feature\x20review\x20name','uKqmP','Documentation:\x0a','gKEPL','offset','121wccDSj','ranger\x20go','skip-auth','repeat','LHgWO','usage','qnNck','argv','apShx','encrypt\x20<profile>','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','session-id','xBstA','feature\x20get-feedback','FHfYq','eXhKm','kBAAw','--notes','env-name','Restore\x20a\x20soft-deleted\x20feature\x20review','TlTfV','notes','scope','version','Add\x20profile\x20configuration','Get\x20a\x20config\x20value','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.','start','report\x20[id]','limit'];_0x1910=function(){return _0x5d9b49;};return _0x1910();}import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x2b8222=_0x2852,_0x16aeeb={'LUJub':function(_0xdcb0ae,_0x57331e){return _0xdcb0ae!==_0x57331e;},'mevLE':function(_0x403fe0,_0x1ded5b){return _0x403fe0(_0x1ded5b);},'xuZKu':function(_0x5d159a,_0x2fc854,_0x13a894){return _0x5d159a(_0x2fc854,_0x13a894);},'qpNkg':'.ranger','KPqAy':function(_0x1544f2,_0x3a4173){return _0x1544f2(_0x3a4173);}};let _0x528987=process[_0x2b8222(0xf4)]();const _0x295e8c=parse(_0x528987)['root'];while(_0x16aeeb['LUJub'](_0x528987,_0x295e8c)){if(_0x16aeeb[_0x2b8222(0x10c)](existsSync,_0x16aeeb[_0x2b8222(0x213)](join,_0x528987,_0x16aeeb['qpNkg']))||existsSync(join(_0x528987,_0x2b8222(0x1da))))return _0x528987;_0x528987=_0x16aeeb[_0x2b8222(0x1ac)](dirname,_0x528987);}return process['cwd']();}_0x30e5ff['config']({'path':join(findProjectRoot(),_0x204baf(0x1da))});import _0xd4106 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']('unhandledRejection',async _0x1c0aa5=>{const _0x285de0=getCurrentCollector();_0x285de0&&await _0x285de0['trackCommandError'](_0x1c0aa5),process['exitCode']=0x1;});const rawArgs=process[_0x204baf(0x172)]['slice'](0x2),TOP_LEVEL_HELP=_0x204baf(0x185),PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20(e.g.,\x20header.X-Test-Mode)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27';function warnRenamed(_0x583c5f,_0x16a9bb){const _0x3e75c0=_0x204baf;console[_0x3e75c0(0x209)]('\x0a'+_0x583c5f+'\x20is\x20now\x20'+_0x16a9bb+'\x0a');}function argUsed(_0x73a119){const _0x5de5a7=_0x204baf;return rawArgs[_0x5de5a7(0x1ad)](_0x3e8736=>_0x3e8736===_0x73a119||_0x3e8736['startsWith'](_0x73a119+'='));}function warnFlagRenamed(_0x13173c,_0x4e3cd3,_0x2cb807){const _0x5f2d3b=_0x204baf,_0x23b2a5={'PavzZ':function(_0xd11268,_0x1b0ed5){return _0xd11268(_0x1b0ed5);},'rRuIo':function(_0x5aafab,_0x2e822d,_0x5df26e){return _0x5aafab(_0x2e822d,_0x5df26e);}};_0x23b2a5['PavzZ'](argUsed,_0x4e3cd3)&&_0x23b2a5[_0x5f2d3b(0x12a)](warnRenamed,_0x13173c+'\x20'+_0x4e3cd3,_0x13173c+'\x20'+_0x2cb807);}async function runGoCommand(_0x462f81,_0x2c52ee=![]){const _0x5b7e24=_0x204baf,_0x5abd60={'qpkbq':function(_0x4856e3,_0x3310d8){return _0x4856e3+_0x3310d8;},'ZOBIS':_0x5b7e24(0x16c),'fcPaL':function(_0x20e487,_0x103408,_0x2765f8,_0x2488bc){return _0x20e487(_0x103408,_0x2765f8,_0x2488bc);},'RcmLx':_0x5b7e24(0x1df),'eXhKm':'--profile','imgLl':_0x5b7e24(0x17c),'cUWZJ':_0x5b7e24(0x134),'xIwpA':'debug-address-comments','MdXjL':function(_0x416eec,_0x4c2285){return _0x416eec+_0x4c2285;},'pxNMq':function(_0x368d7a,_0x5f0a84){return _0x368d7a===_0x5f0a84;},'pWTfl':'verified','FfvZU':'incomplete','KpvXs':'partial','hbojr':_0x5b7e24(0x20e),'GrgMN':function(_0x4cdba9,_0x2eec0c){return _0x4cdba9===_0x2eec0c;},'MhNpt':'blocked','ltECc':'\x20FAILED'};_0x2c52ee&&warnRenamed(_0x5b7e24(0x100),_0x5abd60['ZOBIS']);_0x5abd60['fcPaL'](warnFlagRenamed,_0x5abd60['ZOBIS'],_0x5abd60['RcmLx'],_0x5abd60[_0x5b7e24(0x17a)]),warnFlagRenamed(_0x5b7e24(0x16c),_0x5b7e24(0x219),_0x5abd60[_0x5b7e24(0x112)]),warnFlagRenamed('ranger\x20go',_0x5b7e24(0x105),_0x5abd60[_0x5b7e24(0xfd)]);const _0x2d09de=await loadRangerConfig(),_0x247746=_0x462f81[_0x5b7e24(0x1e8)],_0x279be0=_0x2d09de['model'],_0x1f6293=_0x247746??_0x279be0,_0x9173b2=_0x247746?'flag':_0x279be0?'config':'default',_0x266a38=await verifyFeature({'profile':_0x462f81['profile']??_0x462f81['env'],'notes':_0x462f81['notes']??_0x462f81['task'],'scenario':_0x462f81[_0x5b7e24(0x224)]??_0x462f81[_0x5b7e24(0x115)],'startPath':_0x462f81['start-path'],'debugOutcome':_0x462f81[_0x5b7e24(0x1ab)],'debugAddressComments':_0x462f81[_0x5abd60['xIwpA']],'verifyModel':_0x1f6293,'verifyModelInput':_0x1f6293,'verifyModelSource':_0x9173b2});console[_0x5b7e24(0x1d4)](_0x5abd60[_0x5b7e24(0x127)]('\x0a','='[_0x5b7e24(0x16e)](0x3c))),console[_0x5b7e24(0x1d4)](_0x5abd60[_0x5b7e24(0xec)](_0x266a38['evaluation'],_0x5abd60[_0x5b7e24(0x214)])?_0x5b7e24(0xd1):_0x266a38[_0x5b7e24(0x153)]===_0x5abd60[_0x5b7e24(0x189)]?_0x5b7e24(0x12c):_0x5abd60['pxNMq'](_0x266a38['evaluation'],_0x5abd60['KpvXs'])?_0x5abd60['hbojr']:_0x5abd60['GrgMN'](_0x266a38['evaluation'],_0x5abd60[_0x5b7e24(0x1dc)])?_0x5b7e24(0xbf):_0x5abd60[_0x5b7e24(0x216)]),console[_0x5b7e24(0x1d4)]('='['repeat'](0x3c)),console[_0x5b7e24(0x1d4)](_0x5b7e24(0x11f)+_0x266a38['summary']),console[_0x5b7e24(0x1d4)](_0x5b7e24(0x21c)+_0x266a38['evaluation']),console[_0x5b7e24(0x1d4)]('Reason:\x20'+_0x266a38['evaluationReason']),_0x266a38[_0x5b7e24(0xca)]?.[_0x5b7e24(0x1a3)]&&(console[_0x5b7e24(0x1d4)](_0x5b7e24(0xf8)),_0x266a38[_0x5b7e24(0xca)][_0x5b7e24(0x20c)]((_0xb13eee,_0x2f87ec)=>{const _0x38398d=_0x5b7e24;console[_0x38398d(0x1d4)]('\x0a'+_0x5abd60[_0x38398d(0x15d)](_0x2f87ec,0x1)+_0x38398d(0xde)+_0xb13eee['severity']+']\x20'+_0xb13eee[_0x38398d(0x1d7)]);})),process[_0x5b7e24(0x1f7)](_0x5abd60['GrgMN'](_0x266a38['evaluation'],_0x5abd60['pWTfl'])?0x0:0x1);}_0xd4106(process[_0x204baf(0x172)]['slice'](0x2))[_0x204baf(0xd4)](_0x204baf(0x20d))['usage'](TOP_LEVEL_HELP)[_0x204baf(0x182)](getCurrentVersion())['command']('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0xdabab6=>{const _0x320e32=_0x204baf,_0x3d1b25={'AdbaE':'name','vWvsC':'Feature\x20review\x20name','SkLwh':'description','Evpgc':_0x320e32(0x13b),'kIZrB':_0x320e32(0x224),'ubhJT':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','FHfYq':'checklist','OsWIU':'array'};return _0xdabab6['positional'](_0x3d1b25[_0x320e32(0xc4)],{'type':'string','description':_0x3d1b25[_0x320e32(0x225)],'demandOption':!![]})['option'](_0x3d1b25[_0x320e32(0xf6)],{'type':_0x3d1b25[_0x320e32(0x217)],'alias':'d','description':'Feature\x20review\x20description'})[_0x320e32(0x10a)](_0x3d1b25['kIZrB'],{'type':'array','alias':'c','description':_0x3d1b25[_0x320e32(0x1dd)]})['option'](_0x3d1b25[_0x320e32(0x179)],{'type':_0x3d1b25['OsWIU'],'hidden':!![]});},async _0x56e01c=>{const _0x429915=_0x204baf,_0x3176cb={'SJMRs':_0x429915(0x155),'VsbRR':'--checklist','obNkH':_0x429915(0x134),'jijwn':_0x429915(0x1fb)};warnFlagRenamed(_0x3176cb[_0x429915(0x142)],_0x3176cb['VsbRR'],_0x3176cb[_0x429915(0x1af)]);const _0x48fc7d=_0x56e01c[_0x429915(0x224)]||_0x56e01c[_0x429915(0xfa)];await withTelemetry(_0x3176cb[_0x429915(0x19e)],()=>featureCreate(_0x56e01c['name'],{'description':_0x56e01c[_0x429915(0x1d7)],'scenarios':_0x48fc7d}));})[_0x204baf(0x1b8)]('list',_0x204baf(0x104),_0x53b163=>{const _0x6636b9=_0x204baf,_0x26a23a={'mxsZw':_0x6636b9(0xd0),'nnidX':_0x6636b9(0x188),'NeZxs':_0x6636b9(0x1d2),'UhWOv':_0x6636b9(0x1e7),'ZPiRH':_0x6636b9(0x1f5)};return _0x53b163[_0x6636b9(0x10a)]('current-branch',{'type':_0x26a23a[_0x6636b9(0x15a)],'description':_0x6636b9(0x1a9)})[_0x6636b9(0x10a)](_0x26a23a['nnidX'],{'type':_0x26a23a['NeZxs'],'alias':'l','description':_0x26a23a['UhWOv'],'default':0xa})['option']('offset',{'type':'number','alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x6636b9(0x10a)]('include-deleted',{'type':_0x26a23a[_0x6636b9(0x15a)],'alias':'d','description':_0x26a23a[_0x6636b9(0xfe)],'default':![]});},async _0x350f98=>{const _0x4a5714=_0x204baf;await withTelemetry('list',()=>featureList({'currentBranch':_0x350f98['current-branch'],'limit':_0x350f98[_0x4a5714(0x188)],'offset':_0x350f98['offset'],'includeDeleted':_0x350f98['include-deleted']}));})[_0x204baf(0x1b8)](_0x204baf(0x123),_0x204baf(0x165),_0x47c250=>{const _0x4431cb=_0x204baf,_0x23c683={'eLilL':'string','EjORj':_0x4431cb(0x220)};return _0x47c250[_0x4431cb(0x198)]('id',{'type':_0x23c683[_0x4431cb(0xdc)],'description':_0x23c683['EjORj']});},async _0x542c37=>{const _0x228d06=_0x204baf,_0x54866f={'HveIN':_0x228d06(0xcb)};await withTelemetry(_0x54866f[_0x228d06(0x1a7)],()=>featureShow(_0x542c37['id']));})['command']('resume\x20[id]',_0x204baf(0xee),_0x40c511=>{const _0x523780=_0x204baf,_0x4e209a={'LHgWO':'string'};return _0x40c511['positional']('id',{'type':_0x4e209a[_0x523780(0x16f)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x542651=>{const _0x19e626={'fQuAQ':function(_0x5c48dd,_0x366d19,_0x12b298){return _0x5c48dd(_0x366d19,_0x12b298);}};await _0x19e626['fQuAQ'](withTelemetry,'resume',()=>featureResume(_0x542651['id']));})[_0x204baf(0x1b8)]('add-scenario\x20<description>',_0x204baf(0x19c),_0xc28400=>{const _0x3c81a7=_0x204baf,_0x1ab5c0={'xwqAS':'description','psJJh':_0x3c81a7(0x13b),'tPLOi':'Scenario\x20description','ADLyB':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0xc28400['positional'](_0x1ab5c0[_0x3c81a7(0x148)],{'type':_0x1ab5c0['psJJh'],'description':_0x1ab5c0[_0x3c81a7(0x1c4)],'demandOption':!![]})['option']('id',{'type':_0x1ab5c0['psJJh'],'description':_0x1ab5c0['ADLyB']});},async _0x4e7e2d=>{const _0x33ca27=_0x204baf,_0x887e6b={'UCsYU':_0x33ca27(0x161)};await withTelemetry(_0x887e6b[_0x33ca27(0xc0)],()=>featureAddScenario(_0x4e7e2d[_0x33ca27(0x1d7)],_0x4e7e2d['id']));})['command']('edit-scenario\x20<description>',_0x204baf(0x11c),_0x28045f=>{const _0xf648b0=_0x204baf,_0xc04087={'yjIPY':_0xf648b0(0x1d7),'fUBrY':_0xf648b0(0x1cb),'bifBh':'scenario','niDwo':'number','Nzeuc':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x28045f['positional'](_0xc04087['yjIPY'],{'type':'string','description':_0xc04087['fUBrY'],'demandOption':!![]})[_0xf648b0(0x10a)](_0xc04087['bifBh'],{'type':_0xc04087['niDwo'],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0xf648b0(0x10a)]('id',{'type':_0xf648b0(0x13b),'description':_0xc04087[_0xf648b0(0x1bc)]});},async _0x17403a=>{const _0xe5654c=_0x204baf,_0x458902={'JYXas':'edit-scenario'};await withTelemetry(_0x458902[_0xe5654c(0x12f)],()=>featureEditScenario(_0x17403a['description'],{'id':_0x17403a['id'],'scenario':_0x17403a[_0xe5654c(0x224)]}));})[_0x204baf(0x1b8)](_0x204baf(0x187),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x597d4e=>{const _0x3548d1=_0x204baf,_0x40cbb9={'FuMDK':'string','ibxze':'Feature\x20review\x20ID','MiZhA':_0x3548d1(0x1e4),'AmobE':'array'};return _0x597d4e['positional']('id',{'type':_0x40cbb9[_0x3548d1(0x1bb)],'description':_0x40cbb9['ibxze']})[_0x3548d1(0x10a)](_0x40cbb9[_0x3548d1(0x1fd)],{'type':_0x40cbb9['AmobE'],'description':_0x3548d1(0x1c7)});},async _0x50c759=>{const _0x30e0e8=_0x204baf,_0x12d69e={'QTChI':_0x30e0e8(0x1e3)},_0x2f1748=_0x50c759[_0x30e0e8(0x1e4)],_0x2cd266=_0x2f1748?_0x2f1748[_0x30e0e8(0x210)](_0x1fbe76=>Number(_0x1fbe76)):undefined;await withTelemetry(_0x12d69e[_0x30e0e8(0x21b)],()=>featureReportPrDescription(_0x50c759['id'],{'excludeScenarios':_0x2cd266}));})[_0x204baf(0x1b8)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x5605f2=>{const _0x11e9f3=_0x204baf,_0x5dde01={'ZCVrO':'string','yKuhv':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x5605f2[_0x11e9f3(0x198)]('id',{'type':_0x5dde01['ZCVrO'],'description':_0x5dde01['yKuhv']});},async _0x2889dc=>{const _0x356ea3={'VqWdN':function(_0xd09bc2,_0x47da9e,_0x3cffb7){return _0xd09bc2(_0x47da9e,_0x3cffb7);}};await _0x356ea3['VqWdN'](withTelemetry,'get-review',()=>featureGetReview(_0x2889dc['id']));})[_0x204baf(0x1b8)]('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x5e9e8f=>{const _0x508acc=_0x204baf,_0x341395={'qnNck':_0x508acc(0x13b)};return _0x5e9e8f[_0x508acc(0x198)]('id',{'type':_0x341395[_0x508acc(0x171)],'description':'Feature\x20review\x20ID'});},async _0x463d0f=>{const _0x2e055d={'Daggd':function(_0x2065ea,_0x18bfd9,_0xecf3d2){return _0x2065ea(_0x18bfd9,_0xecf3d2);},'EQdSJ':'delete'};await _0x2e055d['Daggd'](withTelemetry,_0x2e055d['EQdSJ'],()=>featureDelete(_0x463d0f['id']));})[_0x204baf(0x1b8)](_0x204baf(0xc3),_0x204baf(0x17e),_0x12de71=>{const _0x480cae=_0x204baf,_0x159b7a={'fPloA':'string'};return _0x12de71[_0x480cae(0x198)]('id',{'type':_0x159b7a[_0x480cae(0x1ae)],'description':_0x480cae(0x1b5),'demandOption':!![]});},async _0x312778=>{const _0x4aa936=_0x204baf,_0x4af2eb={'yExwv':function(_0x370844,_0x72d4bc,_0x3af6d9){return _0x370844(_0x72d4bc,_0x3af6d9);},'arBnI':'restore'};await _0x4af2eb[_0x4aa936(0xe5)](withTelemetry,_0x4af2eb[_0x4aa936(0x190)],()=>featureRestore(_0x312778['id']));})[_0x204baf(0x1b8)](_0x204baf(0xff),'Initialize\x20Ranger\x20in\x20your\x20project',_0x36817f=>{const _0x1510ae=_0x204baf,_0x5d79b8={'YCBTy':_0x1510ae(0xd8),'zQuIB':'string','Nvzme':_0x1510ae(0x146),'TmlfA':'boolean','CYFGQ':_0x1510ae(0x181),'snepU':'user','BZWyk':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','uFEOp':_0x1510ae(0x108),'wcVxL':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','WPECq':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','TSFmN':'Skip\x20Claude\x20Code\x20plugin\x20+\x20skills\x20install\x20(for\x20OpenCode\x20users)'};return _0x36817f[_0x1510ae(0x198)](_0x5d79b8[_0x1510ae(0x1f3)],{'type':_0x5d79b8[_0x1510ae(0x1c8)],'description':_0x1510ae(0x137)})[_0x1510ae(0x10a)](_0x5d79b8[_0x1510ae(0xd2)],{'type':_0x5d79b8[_0x1510ae(0x162)],'description':_0x1510ae(0x222),'default':![]})['option'](_0x5d79b8['CYFGQ'],{'type':_0x5d79b8[_0x1510ae(0x1c8)],'choices':[_0x5d79b8[_0x1510ae(0x1a2)],'project'],'description':_0x5d79b8['BZWyk']})[_0x1510ae(0x10a)](_0x5d79b8[_0x1510ae(0x101)],{'type':'string','description':_0x5d79b8[_0x1510ae(0x136)]})[_0x1510ae(0x10a)](_0x1510ae(0x18a),{'type':'boolean','description':_0x5d79b8[_0x1510ae(0xea)],'default':![]})[_0x1510ae(0x10a)]('opencode',{'type':'boolean','description':_0x5d79b8['TSFmN'],'default':![]});},async _0x20257d=>{const _0x190dd8=_0x204baf;await withTelemetry(_0x190dd8(0x186),_0x3dd946=>start(_0x20257d[_0x190dd8(0xd8)],{'skipChromium':_0x20257d['skip-chromium'],'scope':_0x20257d['scope'],'url':_0x20257d[_0x190dd8(0x108)],'force':_0x20257d['force'],'opencode':_0x20257d[_0x190dd8(0x10f)]},_0x3dd946));})['command'](_0x204baf(0x1d8),_0x204baf(0x20b),_0x3db014=>{const _0x39fffa=_0x204baf,_0x23bc03={'ppgBG':_0x39fffa(0x13b),'ifaqp':_0x39fffa(0x1f2),'sbgrS':_0x39fffa(0x1e6),'NIFdE':_0x39fffa(0x206),'eCQNk':_0x39fffa(0x175),'DuFOG':'skip-chromium','CMwuR':_0x39fffa(0xd0)};return _0x3db014[_0x39fffa(0x198)](_0x39fffa(0xd8),{'type':_0x23bc03['ppgBG'],'description':_0x23bc03['ifaqp'],'demandOption':!![]})[_0x39fffa(0x10a)](_0x23bc03[_0x39fffa(0x111)],{'type':_0x39fffa(0x13b),'description':_0x39fffa(0x1b4)})[_0x39fffa(0x10a)](_0x23bc03['NIFdE'],{'type':'string','description':_0x23bc03[_0x39fffa(0x14d)]})[_0x39fffa(0x10a)](_0x23bc03[_0x39fffa(0xd5)],{'type':_0x23bc03[_0x39fffa(0x133)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x59b14a=>{const _0x4e7b97=_0x204baf,_0x243c30={'YZkXQ':'setup-ci'};await withTelemetry(_0x243c30['YZkXQ'],_0x4a6b8a=>setupCi(_0x59b14a[_0x4e7b97(0xd8)],{'profile':_0x59b14a[_0x4e7b97(0x1e6)],'baseUrl':_0x59b14a[_0x4e7b97(0x206)],'skipChromium':_0x59b14a['skip-chromium']},_0x4a6b8a));})[_0x204baf(0x1b8)]('login',_0x204baf(0x109),()=>{},async()=>{const _0x197412={'hXdVx':function(_0x419a76,_0x1bed17,_0x4cc9ac){return _0x419a76(_0x1bed17,_0x4cc9ac);},'ZNWHG':'login'};await _0x197412['hXdVx'](withTelemetry,_0x197412['ZNWHG'],()=>login());})[_0x204baf(0x1b8)]('skillup',_0x204baf(0x130),_0x47437c=>{const _0x11943c=_0x204baf,_0x2554a8={'ChKgR':_0x11943c(0x10f),'aZicO':_0x11943c(0x13b),'gTJwq':_0x11943c(0x1b2)};return _0x47437c['option'](_0x2554a8['ChKgR'],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x11943c(0x10a)](_0x11943c(0x181),{'type':_0x2554a8['aZicO'],'choices':[_0x11943c(0x1db),_0x2554a8[_0x11943c(0x131)]],'description':_0x11943c(0x1a6)});},async _0x286ba6=>{const _0x2b98dc=_0x204baf,_0x56a7fb={'iLuyN':'skillup'},_0x21a54e=Boolean(_0x286ba6['opencode']);await withTelemetry(_0x56a7fb['iLuyN'],()=>skillup({'autoInstall':_0x286ba6[_0x2b98dc(0x181)],'platform':_0x21a54e?'opencode':'claude'}));})[_0x204baf(0x1b8)]('clean',_0x204baf(0x1b3),()=>{},async()=>{const _0x37cd09=_0x204baf,_0x124258={'NKhgo':function(_0x3d8b3b,_0x152db,_0x5bc30f){return _0x3d8b3b(_0x152db,_0x5bc30f);}};await _0x124258['NKhgo'](withTelemetry,_0x37cd09(0x196),()=>clean());})['command']('profile',_0x204baf(0x1a8),_0x50fa58=>{const _0x191eb9=_0x204baf,_0xda0fbf={'iIsGv':'profile-name','JbHZI':'string','rKhAk':_0x191eb9(0xd0),'usExB':_0x191eb9(0x21e),'CtkcJ':_0x191eb9(0x16d),'fAIJQ':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','eQpJr':'url','ZgKdw':_0x191eb9(0x22a),'MlWfX':_0x191eb9(0x199),'YximY':function(_0x5cf36c,_0x29b0f6,_0x59e59c,_0xcd4cc){return _0x5cf36c(_0x29b0f6,_0x59e59c,_0xcd4cc);},'VPTZT':_0x191eb9(0xc7),'IKvHo':function(_0x1a4412,_0x4c0410,_0x3247ab){return _0x1a4412(_0x4c0410,_0x3247ab);},'EAVga':_0x191eb9(0x1d6),'YGnlq':_0x191eb9(0x19d),'sGbiS':function(_0x437ce0,_0x5bd66d,_0x160310){return _0x437ce0(_0x5bd66d,_0x160310);},'KFQry':_0x191eb9(0xe6),'apShx':'key','dWDlq':'profile\x20config\x20get','TCJzB':'profile','cTGzR':_0x191eb9(0xcd),'UMxbQ':_0x191eb9(0x1e0),'eHFNC':_0x191eb9(0x184),'NzKYd':'list\x20<profile>','ecjUx':_0x191eb9(0xfc),'qTeFR':'add\x20<profile-name>','RhMFX':'use\x20<profile-name>','vKQcV':'Switch\x20to\x20using\x20a\x20specific\x20profile','tBMKd':'encrypt-auth\x20<profile>','gwtTw':'Update\x20authentication\x20for\x20an\x20existing\x20profile','yiSSM':'Manage\x20profile\x20configuration'};return _0x50fa58[_0x191eb9(0x170)](PROFILE_HELP)['command'](_0xda0fbf[_0x191eb9(0x154)],_0x191eb9(0x183),_0x3fc7e2=>{const _0x34ddc9=_0x191eb9;return _0x3fc7e2['positional'](_0xda0fbf[_0x34ddc9(0x1cd)],{'type':_0xda0fbf['JbHZI'],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x34ddc9(0x10a)]('ci',{'type':_0xda0fbf['rKhAk'],'description':_0xda0fbf[_0x34ddc9(0x21a)],'default':![]})['option'](_0xda0fbf[_0x34ddc9(0x163)],{'type':_0xda0fbf[_0x34ddc9(0xc2)],'description':_0xda0fbf[_0x34ddc9(0x1c1)],'default':![]})[_0x34ddc9(0x10a)](_0xda0fbf[_0x34ddc9(0x18c)],{'type':_0xda0fbf['JbHZI'],'description':_0xda0fbf[_0x34ddc9(0x1a0)]})[_0x34ddc9(0x10a)](_0x34ddc9(0x18a),{'type':'boolean','description':_0xda0fbf[_0x34ddc9(0x113)],'default':![]})['option']('cdp-endpoint',{'type':_0xda0fbf[_0x34ddc9(0x1b7)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'});},async _0x21f1cc=>{const _0x40ca6d=_0x191eb9;await _0xda0fbf[_0x40ca6d(0x106)](withTelemetry,'profile\x20add',_0x6bcb65=>addEnv(_0x21f1cc['profile-name'],{'ci':_0x21f1cc['ci'],'skipAuth':_0x21f1cc['skip-auth'],'url':_0x21f1cc[_0x40ca6d(0x108)],'force':_0x21f1cc['force'],'cdpEndpoint':_0x21f1cc[_0x40ca6d(0x1a1)]},_0x6bcb65),{'isElectron':Boolean(_0x21f1cc[_0x40ca6d(0x1a1)])});})['command'](_0xda0fbf['RhMFX'],_0xda0fbf['vKQcV'],_0x413731=>{const _0x58c296=_0x191eb9;return _0x413731[_0x58c296(0x198)]('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x259b00=>{const _0x302067=_0x191eb9;await withTelemetry(_0x302067(0x1d3),()=>useEnv(_0x259b00[_0x302067(0x204)]));})[_0x191eb9(0x1b8)](_0xda0fbf['tBMKd'],'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x5e46ef=>{return _0x5e46ef['positional']('profile',{'type':_0xda0fbf['JbHZI'],'description':_0xda0fbf['VPTZT'],'demandOption':!![]});},async _0x5dfd32=>{const _0x39fea5=_0x191eb9;await _0xda0fbf[_0x39fea5(0x143)](withTelemetry,_0xda0fbf['EAVga'],()=>authEncrypt(_0x5dfd32['profile']));})['command']('ls',_0x191eb9(0x229),()=>{},async()=>{const _0x5bc251=_0x191eb9;await _0xda0fbf['IKvHo'](withTelemetry,_0x5bc251(0x12e),()=>envList());})['command']('update\x20<profile-name>',_0xda0fbf[_0x191eb9(0x11a)],_0x379bda=>{const _0x533ba9=_0x191eb9;return _0x379bda[_0x533ba9(0x198)](_0xda0fbf[_0x533ba9(0x1cd)],{'type':'string','description':_0xda0fbf[_0x533ba9(0x19a)],'demandOption':!![]});},async _0x3345e5=>{await _0xda0fbf['sGbiS'](withTelemetry,_0xda0fbf['KFQry'],_0x47ea28=>updateEnv(_0x3345e5['profile-name'],_0x47ea28));})[_0x191eb9(0x1b8)]('config',_0xda0fbf['yiSSM'],_0x101515=>{const _0x3414c4=_0x191eb9,_0x27d086={'ejgTz':'string','LXUsI':_0x3414c4(0xd6),'MiJeU':_0x3414c4(0xcf),'ggpuN':'Config\x20key\x20to\x20remove','Jtlvy':function(_0x2c94e5,_0x3437e9,_0x3443bb){return _0x2c94e5(_0x3437e9,_0x3443bb);}};return _0x101515['usage'](PROFILE_CONFIG_HELP)['command'](_0xda0fbf['cTGzR'],'Set\x20a\x20config\x20value',_0x2ef957=>{const _0x2a1e7b=_0x3414c4;return _0x2ef957['positional'](_0x2a1e7b(0x1e6),{'type':'string','description':_0x2a1e7b(0xc7),'demandOption':!![]})['positional']('key',{'type':_0x27d086[_0x2a1e7b(0x1a5)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','demandOption':!![]})['positional'](_0x2a1e7b(0x19b),{'type':_0x27d086['ejgTz'],'description':_0x2a1e7b(0x1d0),'demandOption':!![]});},async _0x36ebb5=>{const _0x1a893c=_0x3414c4;await withTelemetry(_0x27d086[_0x1a893c(0xe4)],()=>configSet(_0x36ebb5[_0x1a893c(0x1e6)],_0x36ebb5[_0x1a893c(0xcf)],_0x36ebb5[_0x1a893c(0x19b)]));})[_0x3414c4(0x1b8)](_0xda0fbf[_0x3414c4(0x1c3)],_0xda0fbf['eHFNC'],_0x489e91=>{const _0x458a88=_0x3414c4;return _0x489e91['positional']('profile',{'type':_0xda0fbf['JbHZI'],'description':_0xda0fbf['VPTZT'],'demandOption':!![]})[_0x458a88(0x198)](_0xda0fbf[_0x458a88(0x173)],{'type':_0xda0fbf['JbHZI'],'description':_0x458a88(0x164),'demandOption':!![]});},async _0x4e64a7=>{const _0x14180a=_0x3414c4;await withTelemetry(_0xda0fbf[_0x14180a(0x228)],()=>configGet(_0x4e64a7[_0x14180a(0x1e6)],_0x4e64a7['key']));})[_0x3414c4(0x1b8)](_0xda0fbf['NzKYd'],_0xda0fbf['ecjUx'],_0x58d4d0=>{return _0x58d4d0['positional'](_0xda0fbf['TCJzB'],{'type':_0xda0fbf['JbHZI'],'description':'Profile\x20name','demandOption':!![]});},async _0xaff391=>{const _0x41a118=_0x3414c4;await _0xda0fbf['IKvHo'](withTelemetry,_0x41a118(0x1c2),()=>configList(_0xaff391[_0x41a118(0x1e6)]));})['command']('unset\x20<profile>\x20<key>',_0x3414c4(0x1c5),_0x3c4a0d=>{const _0x5e24e1=_0x3414c4;return _0x3c4a0d[_0x5e24e1(0x198)](_0x5e24e1(0x1e6),{'type':_0x5e24e1(0x13b),'description':'Profile\x20name','demandOption':!![]})[_0x5e24e1(0x198)](_0x27d086[_0x5e24e1(0x1eb)],{'type':'string','description':_0x27d086['ggpuN'],'demandOption':!![]});},async _0x3d37b2=>{const _0x12b7a0=_0x3414c4;await _0x27d086[_0x12b7a0(0x15f)](withTelemetry,_0x12b7a0(0x12d),()=>configUnset(_0x3d37b2['profile'],_0x3d37b2['key']));})[_0x3414c4(0xe8)](0x1,_0x3414c4(0x223));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x204baf(0xf2),_0x204baf(0x13d),()=>{},async()=>{const _0x339743=_0x204baf,_0x3f2bff={'eiPsJ':function(_0x5c0639,_0x2f54b9,_0x1704b5){return _0x5c0639(_0x2f54b9,_0x1704b5);},'aeTeI':_0x339743(0xf2)};await _0x3f2bff[_0x339743(0x19f)](withTelemetry,_0x3f2bff[_0x339743(0xe7)],()=>status());})[_0x204baf(0x1b8)](_0x204baf(0x102),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5ee3e5=_0x204baf,_0x419375={'FeBhM':function(_0x5f2702,_0x5a5c4c,_0x447f5f){return _0x5f2702(_0x5a5c4c,_0x447f5f);}};await _0x419375[_0x5ee3e5(0x1f4)](withTelemetry,_0x5ee3e5(0x102),()=>update());})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0xe378a4=>{const _0x2b191a=_0x204baf,_0x1be7b4={'YdGPm':_0x2b191a(0x1e6),'EqTeL':_0x2b191a(0x13b),'fQEKn':_0x2b191a(0x1a4),'niwyg':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','KWcFs':'scenario','Atxyb':_0x2b191a(0x1d2),'HFrJI':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','QQeIR':_0x2b191a(0x1cc),'tODOF':_0x2b191a(0x1ed),'DvqDn':'item'};return _0xe378a4['option'](_0x1be7b4[_0x2b191a(0x15e)],{'type':_0x1be7b4[_0x2b191a(0x138)],'description':_0x1be7b4['fQEKn']})['option']('notes',{'type':_0x2b191a(0x13b),'description':_0x1be7b4[_0x2b191a(0x215)]})[_0x2b191a(0x10a)](_0x1be7b4[_0x2b191a(0x13e)],{'type':_0x1be7b4['Atxyb'],'description':_0x2b191a(0x194)})['option']('start-path',{'type':_0x1be7b4['EqTeL'],'description':_0x1be7b4[_0x2b191a(0x193)]})['option'](_0x2b191a(0x1e8),{'type':_0x1be7b4['EqTeL'],'description':_0x2b191a(0xe3)})['option'](_0x2b191a(0x1ab),{'type':_0x1be7b4['EqTeL'],'hidden':!![],'choices':['verified',_0x1be7b4['QQeIR'],_0x2b191a(0xe0),_0x2b191a(0xe9),_0x2b191a(0x144)]})[_0x2b191a(0x10a)](_0x1be7b4[_0x2b191a(0x1b0)],{'type':_0x2b191a(0xd0),'hidden':!![]})[_0x2b191a(0x10a)]('env',{'type':_0x2b191a(0x13b),'hidden':!![]})[_0x2b191a(0x10a)](_0x2b191a(0x107),{'type':_0x1be7b4['EqTeL'],'hidden':!![]})[_0x2b191a(0x10a)](_0x1be7b4['DvqDn'],{'type':'number','hidden':!![]});},async _0x23f62e=>{const _0x2d88e2=_0x204baf,_0x231fe2={'wOaMQ':function(_0x3dfe4a,_0x3db87d){return _0x3dfe4a(_0x3db87d);}};await _0x231fe2[_0x2d88e2(0x160)](runGoCommand,_0x23f62e);})['command'](_0x204baf(0x116),![],_0x3c64a4=>{const _0x4e9d23=_0x204baf,_0x449441={'zvFau':'string','JQqnW':'ranger\x20auth\x20encrypt','LEMsm':'ranger\x20profile\x20encrypt-auth'};return _0x3c64a4['command'](_0x4e9d23(0x174),![],_0x54f14c=>{const _0x1e79d0=_0x4e9d23;return _0x54f14c[_0x1e79d0(0x198)]('profile',{'type':_0x449441['zvFau'],'description':'Profile\x20name','demandOption':!![]});},async _0x526a6a=>{const _0x453851=_0x4e9d23;warnRenamed(_0x449441['JQqnW'],_0x449441[_0x453851(0x227)]),await authEncrypt(_0x526a6a['profile']);})[_0x4e9d23(0xe8)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})['command']('start\x20[token]',![],_0xdb6d8b=>{const _0x449cb2=_0x204baf,_0x1c31fb={'Wtxoi':_0x449cb2(0x137),'PHDPn':_0x449cb2(0x146),'BdBFL':_0x449cb2(0x222),'VNtyc':'project','BlrWz':_0x449cb2(0x108),'MtFYA':_0x449cb2(0x18a),'ciSUt':_0x449cb2(0x199)};return _0xdb6d8b[_0x449cb2(0x198)](_0x449cb2(0xd8),{'type':_0x449cb2(0x13b),'description':_0x1c31fb[_0x449cb2(0x14b)]})[_0x449cb2(0x10a)](_0x1c31fb['PHDPn'],{'type':_0x449cb2(0xd0),'description':_0x1c31fb['BdBFL'],'default':![]})['option'](_0x449cb2(0x181),{'type':_0x449cb2(0x13b),'choices':[_0x449cb2(0x1db),_0x1c31fb[_0x449cb2(0x1ef)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option'](_0x1c31fb['BlrWz'],{'type':_0x449cb2(0x13b),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x1c31fb['MtFYA'],{'type':'boolean','description':_0x1c31fb[_0x449cb2(0x119)],'default':![]});},async _0x1a422f=>{const _0x241f0c=_0x204baf,_0x3b4aba={'hXGrY':function(_0x2724a8,_0x50829a,_0x4c8197){return _0x2724a8(_0x50829a,_0x4c8197);},'cDWqw':_0x241f0c(0x1c0),'RmVoQ':'ranger\x20setup','GrSmf':'start'};_0x3b4aba['hXGrY'](warnRenamed,_0x3b4aba[_0x241f0c(0x218)],_0x3b4aba['RmVoQ']),await withTelemetry(_0x3b4aba['GrSmf'],_0x47edf5=>start(_0x1a422f['token'],{'skipChromium':_0x1a422f['skip-chromium'],'scope':_0x1a422f[_0x241f0c(0x181)],'url':_0x1a422f[_0x241f0c(0x108)],'force':_0x1a422f['force']},_0x47edf5));})['command'](_0x204baf(0xc9),![],_0x955ad2=>{const _0x329498=_0x204baf,_0x262496={'PwJcP':_0x329498(0x1bf),'UebpM':_0x329498(0x107),'SuTaK':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','egvjr':_0x329498(0x115),'HxgKq':'Scenario\x20index\x20(1-based)','CygzS':_0x329498(0x180),'AXWvI':'scenario','Lrzvs':'number','PZzuj':'start-path','XpAKp':_0x329498(0x13b),'oxBpV':_0x329498(0x15b),'UjRTm':_0x329498(0x1ab),'QZvJP':'blocked','DQtFs':_0x329498(0xe9)};return _0x955ad2[_0x329498(0x10a)](_0x262496['PwJcP'],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x329498(0x10a)](_0x262496['UebpM'],{'type':_0x329498(0x13b),'description':_0x262496['SuTaK']})[_0x329498(0x10a)](_0x262496['egvjr'],{'type':'number','description':_0x262496[_0x329498(0x1cf)]})[_0x329498(0x10a)]('profile',{'type':'string','hidden':!![]})[_0x329498(0x10a)](_0x262496[_0x329498(0x1d5)],{'type':'string','hidden':!![]})[_0x329498(0x10a)](_0x262496[_0x329498(0xf3)],{'type':_0x262496['Lrzvs'],'hidden':!![]})[_0x329498(0x10a)](_0x262496[_0x329498(0x10d)],{'type':_0x262496['XpAKp'],'description':_0x262496[_0x329498(0x1ce)]})['option'](_0x329498(0x1e8),{'type':'string','hidden':!![]})['option'](_0x262496['UjRTm'],{'type':'string','hidden':!![],'choices':['verified','partial',_0x262496['QZvJP'],_0x262496['DQtFs'],'incomplete']});},async _0x357f07=>{const _0x7bb797={'bVBOq':function(_0x43658e,_0x5c497f,_0x2e179d){return _0x43658e(_0x5c497f,_0x2e179d);}};await _0x7bb797['bVBOq'](runGoCommand,_0x357f07,!![]);})[_0x204baf(0x1b8)](_0x204baf(0xc8),![],_0x2c6946=>{const _0xbed5d3=_0x204baf,_0x4bcf4c={'zpPhK':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','jkxMS':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','hqRWt':_0xbed5d3(0x16d),'BrhYM':'boolean','JIWaT':_0xbed5d3(0x13c)};return _0x2c6946[_0xbed5d3(0x198)]('env-name',{'type':_0xbed5d3(0x13b),'description':_0x4bcf4c[_0xbed5d3(0x128)],'demandOption':!![]})[_0xbed5d3(0x10a)]('ci',{'type':_0xbed5d3(0xd0),'description':_0x4bcf4c['jkxMS'],'default':![]})['option'](_0x4bcf4c[_0xbed5d3(0x1e1)],{'type':_0x4bcf4c[_0xbed5d3(0xd9)],'description':_0x4bcf4c['JIWaT'],'default':![]});},async _0x2c8640=>{const _0x3f5a61=_0x204baf,_0x334303={'tnZbe':function(_0x41b2ce,_0x4d50cc,_0x43d444){return _0x41b2ce(_0x4d50cc,_0x43d444);},'ColZR':'ranger\x20add\x20env','EIVuH':'ranger\x20profile\x20add','KSKTt':'add\x20env'};_0x334303[_0x3f5a61(0x1b1)](warnRenamed,_0x334303['ColZR'],_0x334303['EIVuH']),await _0x334303[_0x3f5a61(0x1b1)](withTelemetry,_0x334303[_0x3f5a61(0x120)],_0xa27c04=>addEnv(_0x2c8640['env-name'],{'ci':_0x2c8640['ci'],'skipAuth':_0x2c8640['skip-auth']},_0xa27c04));})[_0x204baf(0x1b8)]('use\x20<env-name>',![],_0x3f8fb3=>{const _0x3acd1c=_0x204baf,_0x45c0bd={'nSdiW':_0x3acd1c(0x17d)};return _0x3f8fb3['positional'](_0x45c0bd['nSdiW'],{'type':_0x3acd1c(0x13b),'description':_0x3acd1c(0x1e9),'demandOption':!![]});},async _0x1e07b8=>{const _0x2eb791=_0x204baf,_0x2735b2={'ZauAv':function(_0x1eed36,_0x549446,_0x1b4bcb){return _0x1eed36(_0x549446,_0x1b4bcb);}};warnRenamed(_0x2eb791(0x1de),'ranger\x20profile\x20use'),await _0x2735b2['ZauAv'](withTelemetry,_0x2eb791(0x1bd),()=>useEnv(_0x1e07b8['env-name']));})['command']('config',![],_0x1e7414=>{const _0x3ba494=_0x204baf,_0x203f64={'HWtYp':_0x3ba494(0x1bf),'RPhyt':_0x3ba494(0xcf),'lVSHp':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','bOwLM':'value','Iewyo':_0x3ba494(0x1d0),'caTEH':'ranger\x20config\x20set','NAVcJ':_0x3ba494(0xf5),'LTcGm':function(_0x99c8cf,_0x359848,_0x5f75e7){return _0x99c8cf(_0x359848,_0x5f75e7);},'LOTvp':_0x3ba494(0x11d),'LkiJA':'Config\x20key','RYgrb':function(_0x15b386,_0x378df4,_0x1ba12f){return _0x15b386(_0x378df4,_0x1ba12f);},'kBAAw':'ranger\x20profile\x20config\x20get','YAeIZ':_0x3ba494(0x21f),'tzpkB':_0x3ba494(0x13b),'sdhTN':_0x3ba494(0x1f6),'KuZZg':'config\x20list','RFpwB':'Environment\x20name','ijfAX':'ranger\x20config\x20unset','XTgmQ':'ranger\x20profile\x20config\x20unset','aQglQ':_0x3ba494(0xed),'oBJFf':_0x3ba494(0x1c9),'BGbXm':_0x3ba494(0x1be)};return _0x1e7414['command'](_0x3ba494(0xfb),![],_0x2adefc=>{const _0x55e8b8=_0x3ba494;return _0x2adefc[_0x55e8b8(0x198)](_0x203f64['HWtYp'],{'type':_0x55e8b8(0x13b),'description':'Environment\x20name','demandOption':!![]})['positional'](_0x203f64['RPhyt'],{'type':_0x55e8b8(0x13b),'description':_0x203f64['lVSHp'],'demandOption':!![]})['positional'](_0x203f64[_0x55e8b8(0x192)],{'type':_0x55e8b8(0x13b),'description':_0x203f64[_0x55e8b8(0x191)],'demandOption':!![]});},async _0xbad9b=>{const _0x2277e0=_0x3ba494;warnRenamed(_0x203f64[_0x2277e0(0xcc)],_0x203f64[_0x2277e0(0x14c)]),await _0x203f64[_0x2277e0(0x211)](withTelemetry,_0x203f64[_0x2277e0(0x200)],()=>configSet(_0xbad9b['env'],_0xbad9b[_0x2277e0(0xcf)],_0xbad9b[_0x2277e0(0x19b)]));})[_0x3ba494(0x1b8)](_0x203f64['aQglQ'],![],_0x36ba50=>{const _0x2e96b5=_0x3ba494;return _0x36ba50[_0x2e96b5(0x198)]('env',{'type':_0x2e96b5(0x13b),'description':_0x2e96b5(0xc6),'demandOption':!![]})['positional']('key',{'type':_0x2e96b5(0x13b),'description':_0x203f64['LkiJA'],'demandOption':!![]});},async _0x27fa52=>{const _0x254a35=_0x3ba494;_0x203f64['RYgrb'](warnRenamed,'ranger\x20config\x20get',_0x203f64[_0x254a35(0x17b)]),await _0x203f64['LTcGm'](withTelemetry,_0x203f64[_0x254a35(0x22b)],()=>configGet(_0x27fa52['env'],_0x27fa52['key']));})['command'](_0x203f64[_0x3ba494(0x18e)],![],_0x5c5ed3=>{const _0x3c78b1=_0x3ba494;return _0x5c5ed3[_0x3c78b1(0x198)]('env',{'type':_0x203f64['tzpkB'],'description':_0x3c78b1(0xc6),'demandOption':!![]});},async _0x379d38=>{const _0x3386e8=_0x3ba494;warnRenamed(_0x203f64[_0x3386e8(0x1ca)],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x203f64['KuZZg'],()=>configList(_0x379d38['env']));})['command'](_0x3ba494(0x212),![],_0xe2e5d0=>{const _0x588e10=_0x3ba494;return _0xe2e5d0[_0x588e10(0x198)](_0x588e10(0x1bf),{'type':_0x203f64['tzpkB'],'description':_0x203f64[_0x588e10(0x18f)],'demandOption':!![]})['positional'](_0x588e10(0xcf),{'type':_0x203f64[_0x588e10(0x1fc)],'description':_0x588e10(0x158),'demandOption':!![]});},async _0x30ec9c=>{const _0xbcab67=_0x3ba494;_0x203f64['LTcGm'](warnRenamed,_0x203f64[_0xbcab67(0x151)],_0x203f64[_0xbcab67(0xd7)]),await _0x203f64['RYgrb'](withTelemetry,'config\x20unset',()=>configUnset(_0x30ec9c['env'],_0x30ec9c['key']));})[_0x3ba494(0xe8)](0x1,_0x203f64[_0x3ba494(0x1b9)]);})[_0x204baf(0x1b8)](_0x204baf(0x1bf),![],_0x54debd=>{const _0x401cb0=_0x204baf,_0x3ef719={'AGmnn':'ranger\x20env\x20ls','xBstA':function(_0x167cb9,_0x2d725c,_0x30b7d3){return _0x167cb9(_0x2d725c,_0x30b7d3);},'GaYHr':'env\x20list','AjEYF':_0x401cb0(0x17d),'kUEXT':'string','TzLqh':function(_0x257f44,_0x3e4093,_0x203ca2){return _0x257f44(_0x3e4093,_0x203ca2);},'gKEPL':_0x401cb0(0xc5),'NadgO':'ranger\x20profile\x20update','izyif':'env\x20update','okaEU':_0x401cb0(0xd3)};return _0x54debd[_0x401cb0(0x1b8)]('ls',![],()=>{},async()=>{const _0x3c6ecb=_0x401cb0;warnRenamed(_0x3ef719['AGmnn'],_0x3c6ecb(0x1f9)),await _0x3ef719[_0x3c6ecb(0x177)](withTelemetry,_0x3ef719[_0x3c6ecb(0x1e5)],()=>envList());})[_0x401cb0(0x1b8)]('update\x20<env-name>',![],_0x52c56b=>{const _0x450701=_0x401cb0;return _0x52c56b['positional'](_0x3ef719[_0x450701(0x145)],{'type':_0x3ef719['kUEXT'],'description':_0x450701(0xf9),'demandOption':!![]});},async _0x5b2ee5=>{const _0x5ea17d=_0x401cb0;_0x3ef719[_0x5ea17d(0x14f)](warnRenamed,_0x3ef719[_0x5ea17d(0x169)],_0x3ef719[_0x5ea17d(0x114)]),await _0x3ef719[_0x5ea17d(0x14f)](withTelemetry,_0x3ef719[_0x5ea17d(0x13a)],_0x126818=>updateEnv(_0x5b2ee5[_0x5ea17d(0x17d)],_0x126818));})[_0x401cb0(0xe8)](0x1,_0x3ef719[_0x401cb0(0xf1)]);})['command'](_0x204baf(0x13f),![],_0x16a1c2=>{const _0x40950c=_0x204baf,_0x142806={'eubeD':'string','sOide':'Feature\x20review\x20description','AOKdd':'array','CRxcr':'ranger\x20feature\x20create','kUAHZ':function(_0x228d25,_0x11d177,_0x2337f0,_0x5e8165){return _0x228d25(_0x11d177,_0x2337f0,_0x5e8165);},'GaunZ':function(_0x40bec9,_0x2b3999,_0x110e81){return _0x40bec9(_0x2b3999,_0x110e81);},'GPVmf':_0x40950c(0xe1),'ZZRdM':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','tMhPe':_0x40950c(0x1d2),'PbKrM':_0x40950c(0x1e7),'AAWxs':_0x40950c(0x141),'nEXuB':_0x40950c(0x197),'rfUmr':_0x40950c(0x122),'zqTYl':_0x40950c(0x152),'UvOeB':function(_0x18cd75,_0x38a169,_0x1c347c){return _0x18cd75(_0x38a169,_0x1c347c);},'NALPE':'ranger\x20feature\x20resume','DgXXR':_0x40950c(0x140),'LaXap':_0x40950c(0x1d7),'GMhcM':'Scenario\x20description','TSrvx':'ranger\x20feature\x20add-checklist-item','KOkRO':_0x40950c(0xdf),'XDpwA':function(_0x248505,_0x1f3b53,_0x1510a9){return _0x248505(_0x1f3b53,_0x1510a9);},'GIcgj':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','uKqmP':_0x40950c(0x18d),'RFqXI':'ranger\x20feature\x20delete','FuhQn':function(_0x2473de,_0x49c13f,_0x1bd689){return _0x2473de(_0x49c13f,_0x1bd689);},'wZsiB':function(_0x5c7994,_0x418516,_0x4954b9){return _0x5c7994(_0x418516,_0x4954b9);},'XXQgl':_0x40950c(0x1b6),'IJFVF':_0x40950c(0xe2),'sOtNg':_0x40950c(0x1f0),'qTIJn':'list','lhSGS':_0x40950c(0x123),'xNJLi':'resume\x20[id]','pAvWT':'delete\x20[id]'};return _0x16a1c2[_0x40950c(0x1b8)](_0x142806[_0x40950c(0x207)],![],_0xdaf019=>{const _0x23d0e7=_0x40950c;return _0xdaf019['positional']('name',{'type':_0x142806[_0x23d0e7(0x18b)],'description':_0x23d0e7(0x166),'demandOption':!![]})[_0x23d0e7(0x10a)](_0x23d0e7(0x1d7),{'type':'string','alias':'d','description':_0x142806[_0x23d0e7(0x1ba)]})['option'](_0x23d0e7(0xfa),{'type':_0x23d0e7(0x117),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x23d0e7(0x224),{'type':_0x142806[_0x23d0e7(0x1c6)],'hidden':!![]});},async _0x1abc30=>{const _0x46b056=_0x40950c;warnRenamed(_0x142806[_0x46b056(0x1ff)],_0x46b056(0x155)),_0x142806[_0x46b056(0x1fa)](warnFlagRenamed,'ranger\x20create','--checklist','--scenario');const _0x42116d=_0x1abc30['scenario']||_0x1abc30[_0x46b056(0xfa)];await _0x142806['GaunZ'](withTelemetry,_0x142806[_0x46b056(0xce)],()=>featureCreate(_0x1abc30[_0x46b056(0x14e)],{'description':_0x1abc30['description'],'scenarios':_0x42116d}));})[_0x40950c(0x1b8)](_0x142806[_0x40950c(0x226)],![],_0x17b521=>{const _0x22a1c5=_0x40950c;return _0x17b521[_0x22a1c5(0x10a)](_0x22a1c5(0x203),{'type':_0x22a1c5(0xd0),'description':_0x142806['ZZRdM']})['option'](_0x22a1c5(0x188),{'type':_0x142806[_0x22a1c5(0x124)],'alias':'l','description':_0x142806['PbKrM'],'default':0xa})[_0x22a1c5(0x10a)]('offset',{'type':_0x142806['tMhPe'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':_0x22a1c5(0xd0),'alias':'d','description':_0x22a1c5(0x1f5),'default':![]});},async _0x169891=>{const _0x34fd51=_0x40950c;warnRenamed('ranger\x20feature\x20list','ranger\x20list'),await withTelemetry(_0x142806[_0x34fd51(0x110)],()=>featureList({'currentBranch':_0x169891[_0x34fd51(0x203)],'limit':_0x169891['limit'],'offset':_0x169891[_0x34fd51(0x16a)],'includeDeleted':_0x169891[_0x34fd51(0xc1)]}));})[_0x40950c(0x1b8)](_0x142806[_0x40950c(0x1ea)],![],_0x13b055=>{const _0x5e7c0c=_0x40950c;return _0x13b055['positional']('id',{'type':_0x142806[_0x5e7c0c(0x18b)],'description':'Feature\x20review\x20ID'});},async _0x497117=>{const _0x1966c7=_0x40950c;warnRenamed(_0x142806[_0x1966c7(0xdd)],_0x142806['rfUmr']),await withTelemetry('feature\x20show',()=>featureShow(_0x497117['id']));})['command'](_0x142806['xNJLi'],![],_0x247532=>{const _0x3502e3=_0x40950c;return _0x247532['positional']('id',{'type':_0x3502e3(0x13b),'description':_0x142806[_0x3502e3(0xdb)]});},async _0x33abf2=>{_0x142806['UvOeB'](warnRenamed,_0x142806['NALPE'],_0x142806['DgXXR']),await withTelemetry('feature\x20resume',()=>featureResume(_0x33abf2['id']));})['command'](_0x40950c(0x159),![],_0x13a010=>{const _0x25726c=_0x40950c;return _0x13a010[_0x25726c(0x198)](_0x142806['LaXap'],{'type':'string','description':_0x142806['GMhcM'],'demandOption':!![]})[_0x25726c(0x10a)]('id',{'type':_0x25726c(0x13b),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x1c45e6=>{const _0x536709=_0x40950c;_0x142806['UvOeB'](warnRenamed,_0x142806['TSrvx'],_0x142806[_0x536709(0x129)]),await _0x142806['XDpwA'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x1c45e6['description'],_0x1c45e6['id']));})[_0x40950c(0x1b8)](_0x40950c(0x221),![],_0x5c952a=>{const _0x318ebe=_0x40950c;return _0x5c952a[_0x318ebe(0x198)]('id',{'type':_0x142806[_0x318ebe(0x18b)],'description':_0x142806['GIcgj']});},async _0x33591b=>{const _0x4a0f61=_0x40950c;warnRenamed('ranger\x20feature\x20get-feedback',_0x142806[_0x4a0f61(0x167)]),await withTelemetry(_0x4a0f61(0x178),()=>featureGetReview(_0x33591b['id']));})['command'](_0x142806['pAvWT'],![],_0x5d6ed3=>{const _0x4bf65a=_0x40950c;return _0x5d6ed3['positional']('id',{'type':_0x142806[_0x4bf65a(0x18b)],'description':'Feature\x20review\x20ID'});},async _0x25bbe1=>{const _0x49dbd7=_0x40950c;_0x142806[_0x49dbd7(0x202)](warnRenamed,_0x142806[_0x49dbd7(0x125)],_0x49dbd7(0xf7)),await _0x142806['FuhQn'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x25bbe1['id']));})['command'](_0x40950c(0xc3),![],_0x32014c=>{const _0x213a46=_0x40950c;return _0x32014c[_0x213a46(0x198)]('id',{'type':_0x213a46(0x13b),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x1f429c=>{const _0x33e030=_0x40950c;_0x142806[_0x33e030(0xf0)](warnRenamed,_0x142806['XXQgl'],_0x33e030(0x208)),await _0x142806[_0x33e030(0x1f8)](withTelemetry,_0x142806[_0x33e030(0x1aa)],()=>featureRestore(_0x1f429c['id']));})[_0x40950c(0xe8)](0x1,_0x40950c(0x20f));})['command']('hook',![],_0x3f094d=>{const _0x2d3a9e=_0x204baf,_0x2fccad={'ehVTB':'session-id','zvPzR':_0x2d3a9e(0x205),'HxpkF':'string','YCTQU':function(_0x42702d,_0x2d5fce,_0x261ba7){return _0x42702d(_0x2d5fce,_0x261ba7);},'TlTfV':_0x2d3a9e(0x157),'yONIU':'enable','llxsJ':_0x2d3a9e(0xda),'Weybm':_0x2d3a9e(0x14e)};return _0x3f094d[_0x2d3a9e(0x1b8)](_0x2fccad['yONIU'],_0x2d3a9e(0x147),_0x3e40bc=>{const _0x46ef73=_0x2d3a9e;return _0x3e40bc[_0x46ef73(0x10a)](_0x2fccad['ehVTB'],{'type':'string','description':_0x2fccad[_0x46ef73(0x126)]});},async _0x529fb4=>{const _0x142eff=_0x2d3a9e;await withTelemetry('hook:enable',()=>hook('enable',_0x529fb4[_0x142eff(0x176)]));})['command'](_0x2fccad[_0x2d3a9e(0x11b)],_0x2d3a9e(0x132),_0x3c5d6e=>{const _0x2b9c80=_0x2d3a9e;return _0x3c5d6e['option'](_0x2fccad[_0x2b9c80(0x149)],{'type':_0x2fccad['HxpkF'],'description':_0x2fccad['zvPzR']});},async _0x5860af=>{const _0x6edf9b=_0x2d3a9e;await _0x2fccad['YCTQU'](withTelemetry,_0x2fccad[_0x6edf9b(0x17f)],()=>hook(_0x6edf9b(0xda),_0x5860af['session-id']));})['option'](_0x2fccad['Weybm'],{'type':_0x2d3a9e(0x13b),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x2d3a9e(0x10a)]('session-id',{'type':'string','description':_0x2fccad[_0x2d3a9e(0x126)]});},async _0x1e96db=>{const _0x4d6595=_0x204baf,_0x434a8b={'NcuXC':function(_0x3a7ccf,_0x21a294,_0x1647b6){return _0x3a7ccf(_0x21a294,_0x1647b6);}};_0x1e96db['name']&&await _0x434a8b[_0x4d6595(0x103)](hook,_0x1e96db[_0x4d6595(0x14e)],_0x1e96db['session-id']);})[_0x204baf(0xe8)](0x1,_0x204baf(0xef))[_0x204baf(0x1fe)]()['fail'](async(_0x134331,_0x43cc7c,_0x4025d6)=>{const _0x3ef60c=_0x204baf,_0x1b5dcc={'lehQE':_0x3ef60c(0x21d),'DJOqE':function(_0x30ef17,_0x36cc07){return _0x30ef17(_0x36cc07);},'lTKlP':function(_0x46de0e){return _0x46de0e();},'rnyCq':function(_0xce5e3d,_0x394e2a){return _0xce5e3d||_0x394e2a;},'NppYt':_0x3ef60c(0x1ee)},_0x418915=sanitizeArgs(process[_0x3ef60c(0x172)]['slice'](0x2)),_0x37a1b9=getErrorType(_0x134331,_0x43cc7c);if(_0x134331&&_0x134331[_0x3ef60c(0x1e2)](_0x1b5dcc['lehQE'])){const _0x2849d2=process['argv'][0x2];console[_0x3ef60c(0x209)]('\x0aUnknown\x20command:\x20'+_0x2849d2),console['error'](_0x3ef60c(0x1d9));}else{if(_0x134331)console['error']('\x0a'+_0x134331+'\x0a');else _0x43cc7c&&console[_0x3ef60c(0x209)](_0x3ef60c(0x10b)+_0x43cc7c[_0x3ef60c(0xeb)]+'\x0a');}await _0x1b5dcc[_0x3ef60c(0x121)](logDesirePath,{'rawCommand':_0x418915,'errorMessage':_0x134331||_0x43cc7c?.[_0x3ef60c(0xeb)],'errorType':_0x37a1b9});const _0x1d2947=_0x1b5dcc[_0x3ef60c(0x118)](getCurrentCollector);_0x1d2947&&await _0x1d2947['trackCommandError'](_0x43cc7c||new Error(_0x1b5dcc['rnyCq'](_0x134331,_0x1b5dcc[_0x3ef60c(0x10e)]))),process['exit'](0x1);})['epilogue'](_0x204baf(0x168)+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()['alias'](_0x204baf(0x135),'h')[_0x204baf(0x195)]();
@@ -1 +1 @@
1
- function _0xa47e(){const _0x286578=['about:blank','tYKMz','msrRK','Jnvom','KIYWq','gWjMW','UueUa','catch','What\x20would\x20you\x20like\x20to\x20do?','✓\x20Auth\x20state\x20saved\x20to:\x20','XHhiW','message','1805620MdVzYz','close','SvCWi','13iUCwvs','stringify','now','browser_auth','Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20','JVHyr','\x20would\x20shadow\x20the\x20existing\x20profile.','JMQcZ','cdpEndpoint','url_setup','name','DiNKw','isProtocolError','.backup-','url','Ciuiy','continue','CNcXc','\x20\x20Did\x20you\x20mean\x20','\x20(continuing\x20with\x20--force)','legacy','31443756eAOlGA','qSovG','cAvlc','164NZFOXd','\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.','trackPhaseEnd','Aborted.','abort','local','\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','isTTY','bUmzt','prompt','input','force','NJKTe','3gYPDYW','--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.','18UySNZF','skipAuth','overwrite','error','signal','uyORr','1846660nPeFxk','\x0a🌐\x20Profile\x20Setup\x0a','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','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','\x20\x20Set\x20active\x20profile:\x20','retry','Enter\x20a\x20different\x20URL','\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.','storageState','location','config_write','newContext','aJotX','.tmp-','\x22\x20already\x20exists.\x20Overwrite?','log','baseUrl','use_suggestion','\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.','9201xLkRrp','IiJHh','BrVan','HEAD','2288391xNxrzH','2729025QsgtuB','\x0a🔌\x20CDP\x20Profile\x20Setup\x0a','24REtwqp','JeSvw','1310hGBzWV','path','includes','✓\x20Encrypted\x20auth\x20saved\x20to:\x20','Use\x20','51854PsbDXC'];_0xa47e=function(){return _0x286578;};return _0xa47e();}(function(_0x1c8223,_0x276283){const _0x254d7d=_0x1756,_0x125ae9=_0x1c8223();while(!![]){try{const _0x16b05b=-parseInt(_0x254d7d(0x1cf))/0x1*(parseInt(_0x254d7d(0x205))/0x2)+parseInt(_0x254d7d(0x212))/0x3*(-parseInt(_0x254d7d(0x1bc))/0x4)+parseInt(_0x254d7d(0x1ea))/0x5+parseInt(_0x254d7d(0x214))/0x6*(-parseInt(_0x254d7d(0x1d3))/0x7)+-parseInt(_0x254d7d(0x1d6))/0x8*(parseInt(_0x254d7d(0x1d4))/0x9)+parseInt(_0x254d7d(0x1d8))/0xa*(parseInt(_0x254d7d(0x1dd))/0xb)+parseInt(_0x254d7d(0x202))/0xc*(parseInt(_0x254d7d(0x1ed))/0xd);if(_0x16b05b===_0x276283)break;else _0x125ae9['push'](_0x125ae9['shift']());}catch(_0x21d89d){_0x125ae9['push'](_0x125ae9['shift']());}}}(_0xa47e,0x7837a));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x1fd844 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(_0x596655){const _0x168e1c=_0x1756,_0x20911b={'LWAVi':'manual','NJKTe':function(_0x483463,_0x31528f){return _0x483463(_0x31528f);},'kCjiK':function(_0x383893,_0x3fd2ac){return _0x383893<_0x3fd2ac;},'hFlbH':'Invalid\x20URL','yinkp':function(_0x2df4f6,_0x362cf4){return _0x2df4f6===_0x362cf4;},'DYmCr':'fetch\x20failed'};try{const _0x316b20=new AbortController(),_0xaa5ecd=setTimeout(()=>_0x316b20[_0x168e1c(0x209)](),0x1388),_0x380c67=await fetch(_0x596655,{'method':_0x168e1c(0x1d2),'signal':_0x316b20[_0x168e1c(0x218)],'redirect':_0x20911b['LWAVi']});_0x20911b[_0x168e1c(0x211)](clearTimeout,_0xaa5ecd);if(_0x20911b['kCjiK'](_0x380c67['status'],0x190))return{'ok':!![]};return{'ok':![],'error':'HTTP\x20'+_0x380c67['status']};}catch(_0x15e2f2){const _0x5476ec=_0x15e2f2,_0x595ba4=_0x5476ec[_0x168e1c(0x1e9)]||String(_0x15e2f2),_0x1b6ec2=_0x595ba4[_0x168e1c(0x1da)](_0x20911b['hFlbH'])||_0x20911b['yinkp'](_0x5476ec[_0x168e1c(0x1f7)],'TypeError')||_0x595ba4[_0x168e1c(0x1da)](_0x20911b['DYmCr']);return{'ok':![],'error':_0x595ba4,'isProtocolError':_0x1b6ec2};}}function _0x1756(_0x4191e9,_0x189650){_0x4191e9=_0x4191e9-0x1bb;const _0xa47e5f=_0xa47e();let _0x175620=_0xa47e5f[_0x4191e9];return _0x175620;}export async function addEnv(_0x18f5fa,_0x3e4ddb={},_0x4ae4ee){const _0x41d850=_0x1756,_0x3c328b={'JeSvw':_0x41d850(0x1eb),'cMoOu':_0x41d850(0x20a),'CNcXc':function(_0x41371c,_0x50f750){return _0x41371c!==_0x50f750;},'Jnvom':function(_0x7b54eb,_0x368e85){return _0x7b54eb===_0x368e85;},'aJotX':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','JVHyr':'--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','BmWqr':_0x41d850(0x213),'HTZKa':'confirm','IiJHh':'root\x20(.ranger/)','WTMIc':'shouldReplace','Ciuiy':_0x41d850(0x208),'BrVan':_0x41d850(0x1f6),'YqLMr':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','wdlUP':'http://localhost:3000','SvCWi':'list','HqntQ':_0x41d850(0x1c2),'gWjMW':_0x41d850(0x1c1),'msrRK':function(_0x424ebf,_0x26c314){return _0x424ebf(_0x26c314);},'bUmzt':'\x0a📋\x20Authentication\x20Setup','EERCL':_0x41d850(0x20b),'cCdPV':'\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.','qVkZd':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','KaQaG':function(_0x15492c,_0x3da9e0){return _0x15492c(_0x3da9e0);},'uyORr':function(_0x2fd565,_0xb2b651){return _0x2fd565||_0xb2b651;},'foNGf':_0x41d850(0x1de),'XHhiW':'\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','UueUa':function(_0x5bd405,_0x1926de,_0x41eb3e){return _0x5bd405(_0x1926de,_0x41eb3e);},'DiNKw':function(_0x16edb,_0x1c9844){return _0x16edb(_0x1c9844);},'tYKMz':function(_0x4bfc0c,_0x40ef99,_0x253e49){return _0x4bfc0c(_0x40ef99,_0x253e49);},'qSovG':'settings.json','JMQcZ':function(_0x1ad77e,_0x1f5e28,_0xe1bea){return _0x1ad77e(_0x1f5e28,_0xe1bea);},'KIYWq':function(_0x4772b6,_0x319fd3,_0xb1af85){return _0x4772b6(_0x319fd3,_0xb1af85);},'cAvlc':function(_0x193d12,_0x2bdf54,_0x47571c){return _0x193d12(_0x2bdf54,_0x47571c);},'tGKPD':_0x41d850(0x1be),'zuXbT':_0x41d850(0x1c6)},_0x374cea=_0x3e4ddb['ci']??![],_0x5a5041=_0x374cea?'ci':_0x3c328b['cMoOu'],_0x5e01f4=join(getRangerDir(),_0x5a5041,_0x18f5fa),_0x263cc8=join(getRangerDir(),_0x5a5041);if(_0x3c328b[_0x41d850(0x1fe)](_0x3e4ddb[_0x41d850(0x1f5)],undefined)&&_0x3c328b['Jnvom'](_0x3e4ddb[_0x41d850(0x1f5)]['trim'](),''))throw new Error(_0x3c328b[_0x41d850(0x1c8)]);if(_0x3e4ddb[_0x41d850(0x1f5)]&&_0x3e4ddb['url'])throw new Error(_0x3c328b[_0x41d850(0x1f2)]);if(_0x3e4ddb['cdpEndpoint']&&_0x3e4ddb['ci'])throw new Error(_0x3c328b['BmWqr']);const _0x2b23da=Boolean(_0x3e4ddb['cdpEndpoint']),_0x4e8643=!_0x3e4ddb[_0x41d850(0x215)]&&!_0x2b23da,_0x307665=process['stdin'][_0x41d850(0x20c)]&&process['stdout']['isTTY'];if(!_0x307665&&!_0x3e4ddb[_0x41d850(0x1fb)]&&!_0x2b23da)throw new Error(_0x41d850(0x1bf));const _0x52935c=findExistingEnv(_0x18f5fa);let _0x5ca1da=null;if(_0x52935c){if(!_0x307665)_0x5ca1da=_0x52935c;else{if(_0x3c328b['Jnvom'](_0x52935c[_0x41d850(0x1c5)],_0x5a5041)){const {overwrite:_0xd3390}=await _0x1fd844[_0x41d850(0x20e)]([{'type':_0x3c328b['HTZKa'],'name':_0x41d850(0x216),'message':'Profile\x20\x22'+_0x18f5fa+_0x41d850(0x1ca),'default':![]}]);if(!_0xd3390){console[_0x41d850(0x1cb)]('Aborted.');return;}_0x5ca1da=_0x52935c;}else{const _0x34eb29=_0x3c328b[_0x41d850(0x1e1)](_0x52935c['location'],_0x41d850(0x201))?_0x3c328b[_0x41d850(0x1d0)]:_0x52935c['location'];console[_0x41d850(0x217)]('\x0a⚠️\x20\x20Profile\x20\x22'+_0x18f5fa+'\x22\x20already\x20exists\x20in\x20'+_0x34eb29+':\x20'+_0x52935c['path']),console['error']('\x20\x20\x20Creating\x20it\x20in\x20'+_0x5a5041+_0x41d850(0x1f3));const {shouldReplace:_0x2abf2d}=await _0x1fd844[_0x41d850(0x20e)]([{'type':'confirm','name':_0x3c328b['WTMIc'],'message':'Delete\x20existing\x20and\x20create\x20new\x20in\x20'+_0x5a5041+'?','default':![]}]);if(!_0x2abf2d){console['log'](_0x3c328b[_0x41d850(0x1fc)]);return;}_0x5ca1da=_0x52935c;}}}_0x4ae4ee?.['trackPhaseStart'](_0x3c328b[_0x41d850(0x1d1)]);let _0xd0c93f='';if(_0x2b23da)console['log'](_0x41d850(0x1d5)),console['log']('\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20'+_0x3e4ddb['cdpEndpoint']),console[_0x41d850(0x1cb)](_0x3c328b['YqLMr']);else{if(_0x3e4ddb['url']){_0xd0c93f=_0x3e4ddb['url'];const _0x1190a3=await checkUrlReachability(_0xd0c93f);if(!_0x1190a3['ok']&&!_0x3e4ddb[_0x41d850(0x210)])throw new Error('Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x1190a3['error']+_0x41d850(0x1c3));!_0x1190a3['ok']&&_0x3e4ddb['force']&&console['log']('⚠\x20Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x1190a3['error']+_0x41d850(0x200));}else{console[_0x41d850(0x1cb)](_0x41d850(0x1bd)),console[_0x41d850(0x1cb)](_0x41d850(0x206)),console['log']('\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a');let _0x5b4655=![];while(!![]){const _0x5d78a0=await _0x1fd844[_0x41d850(0x20e)]([{'type':_0x41d850(0x20f),'name':_0x41d850(0x1cc),'message':_0x5b4655?'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):':'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0xd0c93f||_0x3c328b['wdlUP']}]);_0xd0c93f=_0x5d78a0['baseUrl'];const _0x3cf116=await checkUrlReachability(_0xd0c93f);if(_0x3cf116['ok'])break;const _0x3fa5dd=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0xd0c93f),_0x5e374a=_0x3cf116[_0x41d850(0x1f9)]&&!_0x3fa5dd,_0x332a0d=_0x5e374a?'http://'+_0xd0c93f:null;_0x5b4655=!![],console['log']('\x0a\x20\x20Could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x3cf116['error']);_0x332a0d&&console['log'](_0x41d850(0x1ff)+_0x332a0d+'?');const {action:_0x184eeb}=await _0x1fd844['prompt']([{'type':_0x3c328b[_0x41d850(0x1ec)],'name':'action','message':_0x41d850(0x1e6),'choices':[..._0x332a0d?[{'name':_0x41d850(0x1dc)+_0x332a0d,'value':'use_suggestion'}]:[],{'name':_0x3c328b['HqntQ'],'value':_0x3c328b[_0x41d850(0x1e3)]},{'name':'Continue\x20anyway','value':_0x41d850(0x1fd)}]}]);if(_0x3c328b['Jnvom'](_0x184eeb,_0x41d850(0x1cd))&&_0x332a0d){_0xd0c93f=_0x332a0d;const _0x4ae839=await _0x3c328b[_0x41d850(0x1e0)](checkUrlReachability,_0xd0c93f);if(_0x4ae839['ok'])break;console['log']('\x0a\x20\x20Still\x20could\x20not\x20reach\x20'+_0xd0c93f+':\x20'+_0x4ae839[_0x41d850(0x217)]);}else{if(_0x184eeb===_0x41d850(0x1fd))break;}}}}_0x4ae4ee?.['trackPhaseEnd'](_0x3c328b[_0x41d850(0x1d1)]),await mkdir(_0x263cc8,{'recursive':!![]});const _0x2889a4=await mkdtemp(join(_0x263cc8,_0x41d850(0x1c9)+_0x18f5fa+'-')),_0x703351=join(_0x2889a4,'auth.json');try{if(_0x4e8643){_0x4ae4ee?.['trackPhaseStart'](_0x41d850(0x1f0)),console['log'](_0x3c328b[_0x41d850(0x20d)]),console['log'](_0x3c328b['EERCL']),console['log'](_0x3c328b['cCdPV']);!_0x307665?(console[_0x41d850(0x1cb)]('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console[_0x41d850(0x1cb)](_0x3c328b['qVkZd'])):console['log']('');await new Promise(_0x16f878=>setTimeout(_0x16f878,0xbb8));const _0x24cec5=await chromium['launch']({'headless':![]});try{const _0x2f63e1=await _0x24cec5[_0x41d850(0x1c7)]();await _0x3c328b['KaQaG'](addProfileSetupBanner,_0x2f63e1);const _0x119fd3=await _0x2f63e1['newPage']();await _0x119fd3['goto'](_0x3c328b[_0x41d850(0x1bb)](_0xd0c93f,_0x3c328b['foNGf'])),await new Promise(_0x378d0e=>{const _0x2648a1=_0x41d850;_0x119fd3['on'](_0x3c328b[_0x2648a1(0x1d7)],async()=>{const _0x3b4791=_0x2648a1;try{console['log']('Saving\x20authentication\x20state...'),await _0x2f63e1[_0x3b4791(0x1c4)]({'path':_0x703351});}catch{}_0x378d0e();});});}finally{await _0x24cec5[_0x41d850(0x1eb)]()[_0x41d850(0x1e5)](()=>{});}if(_0x374cea){const _0x2208a1=await readFile(_0x703351,'utf-8'),_0x17e603=await getToken();if(!_0x17e603){console['error'](_0x3c328b[_0x41d850(0x1e8)]),await unlink(_0x703351)['catch'](()=>{});throw new Error('Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.');}else{const _0x31e4a6=encrypt(_0x2208a1,_0x17e603);await _0x3c328b['UueUa'](writeFile,_0x703351+'.enc',_0x31e4a6),await _0x3c328b[_0x41d850(0x1f8)](unlink,_0x703351),console[_0x41d850(0x1cb)](_0x41d850(0x1db)+_0x703351+'.enc'),console[_0x41d850(0x1cb)]('\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'),console[_0x41d850(0x1cb)](_0x41d850(0x1ce));}}else console['log'](_0x41d850(0x1e7)+_0x703351);_0x4ae4ee?.['trackPhaseEnd']('browser_auth');}_0x4ae4ee?.['trackPhaseStart']('config_write');const _0x11a196={};_0xd0c93f&&(_0x11a196['baseUrl']=_0xd0c93f);_0x3e4ddb[_0x41d850(0x1f5)]&&(_0x11a196['cdpEndpoint']=_0x3e4ddb[_0x41d850(0x1f5)],_0x11a196['isElectron']=!![]);await _0x3c328b[_0x41d850(0x1df)](writeFile,join(_0x2889a4,_0x3c328b[_0x41d850(0x203)]),JSON[_0x41d850(0x1ee)](_0x11a196,null,0x2)),console[_0x41d850(0x1cb)]('✓\x20Created\x20settings:\x20'+_0x3c328b[_0x41d850(0x1f4)](join,_0x5e01f4,_0x3c328b[_0x41d850(0x203)]));if(_0x5ca1da?.[_0x41d850(0x1c5)]===_0x5a5041){const _0x1b9214=_0x5ca1da[_0x41d850(0x1d9)]+_0x41d850(0x1fa)+Date[_0x41d850(0x1ef)]();await _0x3c328b[_0x41d850(0x1e2)](rename,_0x5ca1da[_0x41d850(0x1d9)],_0x1b9214);try{await _0x3c328b[_0x41d850(0x204)](rename,_0x2889a4,_0x5e01f4);}catch(_0x1debf5){await _0x3c328b[_0x41d850(0x1f4)](rename,_0x1b9214,_0x5ca1da['path']);throw _0x1debf5;}try{await _0x3c328b[_0x41d850(0x1e4)](rm,_0x1b9214,{'recursive':!![]});}catch{console[_0x41d850(0x1cb)](_0x41d850(0x1f1)+_0x1b9214);}}else{await _0x3c328b[_0x41d850(0x1e2)](rename,_0x2889a4,_0x5e01f4);if(_0x5ca1da)try{await rm(_0x5ca1da[_0x41d850(0x1d9)],{'recursive':!![]}),console['log']('Removed\x20existing\x20profile\x20at\x20'+_0x5ca1da[_0x41d850(0x1d9)]);}catch{console[_0x41d850(0x1cb)]('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x5ca1da[_0x41d850(0x1d9)]);}}try{await writeActiveProfileName(_0x18f5fa),console['log'](_0x41d850(0x1c0)+_0x18f5fa);}catch{console[_0x41d850(0x1cb)](_0x3c328b['tGKPD']);}_0x4ae4ee?.[_0x41d850(0x207)](_0x3c328b['zuXbT']),console['log']('\x0a\x20\x20Profile\x20\x22'+_0x18f5fa+'\x22\x20configured');}catch(_0x770435){await _0x3c328b[_0x41d850(0x1e4)](rm,_0x2889a4,{'recursive':!![],'force':!![]});throw _0x770435;}}
1
+ (function(_0x16c23d,_0x185e83){const _0x39b859=_0x22c6,_0x59eb2b=_0x16c23d();while(!![]){try{const _0x9cb98a=parseInt(_0x39b859(0x174))/0x1+-parseInt(_0x39b859(0x170))/0x2+-parseInt(_0x39b859(0x193))/0x3+-parseInt(_0x39b859(0x176))/0x4*(parseInt(_0x39b859(0x15d))/0x5)+-parseInt(_0x39b859(0x18e))/0x6*(-parseInt(_0x39b859(0x14a))/0x7)+-parseInt(_0x39b859(0x16f))/0x8*(-parseInt(_0x39b859(0x177))/0x9)+parseInt(_0x39b859(0x140))/0xa*(-parseInt(_0x39b859(0x182))/0xb);if(_0x9cb98a===_0x185e83)break;else _0x59eb2b['push'](_0x59eb2b['shift']());}catch(_0x5354dd){_0x59eb2b['push'](_0x59eb2b['shift']());}}}(_0x39ca,0x9ee36));import{mkdir,writeFile,readFile,unlink,rm,mkdtemp,rename}from'fs/promises';import{join}from'path';import _0x4b5d05 from'inquirer';import{chromium}from'playwright';function _0x22c6(_0x459019,_0x3c2d9b){_0x459019=_0x459019-0x138;const _0x39cab3=_0x39ca();let _0x22c6d5=_0x39cab3[_0x459019];return _0x22c6d5;}function _0x39ca(){const _0x1efd4b=['trackPhaseEnd','\x22\x20configured','log','Missing\x20API\x20token;\x20aborting\x20CI\x20profile\x20creation.','42SFGbDj','http://localhost:3000','fetch\x20failed','GHGQM','\x0a\x20\x20Could\x20not\x20reach\x20','1505301oZHMto','browser_auth','Enter\x20a\x20different\x20URL','abort','HEAD','includes','feGQL','continue','use_suggestion','WokFo','skipAuth','legacy','prompt','HTTP\x20','70OXNQfp','\x20would\x20shadow\x20the\x20existing\x20profile.','trim','force','xGubA','utf-8','\x20\x20\x20Creating\x20it\x20in\x20','Use\x20','hlyHt','\x20\x20Could\x20not\x20encrypt:\x20No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','954751JUBOFR','path','OloPc','Aborted.','catch','✓\x20Auth\x20state\x20saved\x20to:\x20','\x0a\x20\x20Still\x20could\x20not\x20reach\x20','--url\x20and\x20--cdp-endpoint\x20are\x20mutually\x20exclusive.\x20Use\x20--url\x20for\x20web\x20apps\x20or\x20--cdp-endpoint\x20for\x20Electron/CDP\x20apps,\x20not\x20both.','\x20\x20Ranger\x20will\x20open\x20it\x20in\x20a\x20browser\x20so\x20you\x20can\x20log\x20in\x20and\x20save\x20your\x20session.\x0a','\x0a\x20\x20Profile\x20\x22','DUqFy','status','\x20\x20Did\x20you\x20mean\x20','stringify','PBytA','isTTY','confirm','stdin','error','4355oybdQq','root\x20(.ranger/)','BHXDg','cdpEndpoint','IXKpx','aCRYu','launch','zszTG','name','config_write','shouldReplace','http://','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.','--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.','CoDIe','Invalid\x20URL','url','local','8488dsLfxE','2068812aBZAXL','\x22\x20already\x20exists\x20in\x20','PxDmP','input','1031863XjnyHj','manual','2348cXdRmk','8649UkGLgK','JXmCZ','mCWho','TypeError','XHoxd','\x20\x20Configuring\x20Ranger\x20to\x20connect\x20to:\x20','goto','GnKXo','settings.json','Removed\x20existing\x20profile\x20at\x20','Warning:\x20Profile\x20created,\x20but\x20failed\x20to\x20mark\x20it\x20as\x20active.','483967kyeYQM','Delete\x20existing\x20and\x20create\x20new\x20in\x20','ViGkT','baseUrl','✓\x20Created\x20settings:\x20','\x0a📋\x20Authentication\x20Setup','ghSnW','.enc'];_0x39ca=function(){return _0x1efd4b;};return _0x39ca();}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(_0x1e741a){const _0x4d1df0=_0x22c6,_0x27659c={'IXKpx':function(_0x58c312,_0x3b24d2,_0x1e76ec){return _0x58c312(_0x3b24d2,_0x1e76ec);},'UEcVb':_0x4d1df0(0x175),'DUqFy':function(_0x35c596,_0x44d563){return _0x35c596(_0x44d563);},'nTBGu':function(_0x23804a,_0x302f35){return _0x23804a===_0x302f35;},'NqHLY':_0x4d1df0(0x17a)};try{const _0x416c42=new AbortController(),_0x130a33=setTimeout(()=>_0x416c42[_0x4d1df0(0x196)](),0x1388),_0x127954=await _0x27659c[_0x4d1df0(0x161)](fetch,_0x1e741a,{'method':_0x4d1df0(0x197),'signal':_0x416c42['signal'],'redirect':_0x27659c['UEcVb']});_0x27659c[_0x4d1df0(0x154)](clearTimeout,_0x130a33);if(_0x127954[_0x4d1df0(0x155)]<0x190)return{'ok':!![]};return{'ok':![],'error':_0x4d1df0(0x13f)+_0x127954['status']};}catch(_0x1dbae2){const _0x54d659=_0x1dbae2,_0x164d09=_0x54d659['message']||String(_0x1dbae2),_0x297172=_0x164d09['includes'](_0x4d1df0(0x16c))||_0x27659c['nTBGu'](_0x54d659[_0x4d1df0(0x165)],_0x27659c['NqHLY'])||_0x164d09[_0x4d1df0(0x198)](_0x4d1df0(0x190));return{'ok':![],'error':_0x164d09,'isProtocolError':_0x297172};}}export async function addEnv(_0x31fa94,_0x37a0b3={},_0x2e245e){const _0xa34f30=_0x22c6,_0x178c7a={'XHoxd':'Saving\x20authentication\x20state...','hlyHt':function(_0x3b309c){return _0x3b309c();},'CoDIe':'close','ghSnW':_0xa34f30(0x16e),'feGQL':function(_0x1927a2,_0x483029,_0x2c3c15,_0x18e772){return _0x1927a2(_0x483029,_0x2c3c15,_0x18e772);},'GnKXo':'--cdp-endpoint\x20must\x20not\x20be\x20empty.\x20Provide\x20the\x20CDP\x20URL,\x20e.g.\x20--cdp-endpoint\x20http://localhost:9222','mCWho':_0xa34f30(0x151),'GHGQM':function(_0x1fdc93,_0x4b605a){return _0x1fdc93(_0x4b605a);},'LqwyG':'overwrite','OOyRa':_0xa34f30(0x14d),'mMUwz':_0xa34f30(0x13d),'PBytA':_0xa34f30(0x15a),'OloPc':'\x20\x20Make\x20sure\x20your\x20Electron\x20app\x20(or\x20browser)\x20is\x20running\x20with\x20remote\x20debugging\x20enabled.\x0a','bnDvc':_0xa34f30(0x152),'oWbRD':'Enter\x20a\x20new\x20URL\x20(or\x20press\x20enter\x20to\x20keep\x20current):','ViGkT':_0xa34f30(0x18f),'hpzbJ':_0xa34f30(0x195),'XGcIE':'retry','BHXDg':'url_setup','eSiBQ':function(_0x32dd32,_0x5e9013,_0x518289){return _0x32dd32(_0x5e9013,_0x518289);},'JXmCZ':'\x20\x20\x20A\x20browser\x20will\x20open.\x20Please\x20log\x20in\x20to\x20the\x20profile\x20you\x20want\x20to\x20test\x20so\x20Ranger\x20can\x20access\x20it.','WokFo':'\x20\x20\x20If\x20you\x20are\x20an\x20agent,\x20background\x20this\x20process\x20and\x20let\x20your\x20user\x20know\x20they\x20need\x20to\x20complete\x20browser\x20authentication.\x0a','mQzAK':function(_0x3e0d9c,_0x3ae113){return _0x3e0d9c(_0x3ae113);},'xGubA':_0xa34f30(0x145),'duDUf':_0xa34f30(0x18d),'zszTG':function(_0x5d391e,_0x30c193,_0x1fa2c1){return _0x5d391e(_0x30c193,_0x1fa2c1);},'AeBqC':function(_0x272cf1,_0x29aa47,_0x510f45){return _0x272cf1(_0x29aa47,_0x510f45);},'aCRYu':'browser_auth','PxDmP':_0xa34f30(0x17f),'GSuxQ':function(_0x57b133,_0x56d3a3){return _0x57b133===_0x56d3a3;},'jIswL':_0xa34f30(0x181)},_0xb8ad96=_0x37a0b3['ci']??![],_0x1d4f87=_0xb8ad96?'ci':_0x178c7a[_0xa34f30(0x188)],_0x15a2ad=_0x178c7a[_0xa34f30(0x138)](join,getRangerDir(),_0x1d4f87,_0x31fa94),_0x488f38=join(getRangerDir(),_0x1d4f87);if(_0x37a0b3[_0xa34f30(0x160)]!==undefined&&_0x37a0b3['cdpEndpoint'][_0xa34f30(0x142)]()==='')throw new Error(_0x178c7a[_0xa34f30(0x17e)]);if(_0x37a0b3['cdpEndpoint']&&_0x37a0b3['url'])throw new Error(_0x178c7a[_0xa34f30(0x179)]);if(_0x37a0b3[_0xa34f30(0x160)]&&_0x37a0b3['ci'])throw new Error(_0xa34f30(0x16a));const _0x292ee9=Boolean(_0x37a0b3['cdpEndpoint']),_0x23d49a=!_0x37a0b3[_0xa34f30(0x13c)]&&!_0x292ee9,_0x2183a1=process[_0xa34f30(0x15b)][_0xa34f30(0x159)]&&process['stdout'][_0xa34f30(0x159)];if(!_0x2183a1&&!_0x37a0b3['url']&&!_0x292ee9)throw new Error('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');const _0x4a0752=_0x178c7a[_0xa34f30(0x191)](findExistingEnv,_0x31fa94);let _0x4d32ce=null;if(_0x4a0752){if(!_0x2183a1)_0x4d32ce=_0x4a0752;else{if(_0x4a0752['location']===_0x1d4f87){const {overwrite:_0x2f801a}=await _0x4b5d05['prompt']([{'type':'confirm','name':_0x178c7a['LqwyG'],'message':'Profile\x20\x22'+_0x31fa94+'\x22\x20already\x20exists.\x20Overwrite?','default':![]}]);if(!_0x2f801a){console[_0xa34f30(0x18c)](_0x178c7a['OOyRa']);return;}_0x4d32ce=_0x4a0752;}else{const _0xbecc5f=_0x4a0752['location']===_0x178c7a['mMUwz']?_0xa34f30(0x15e):_0x4a0752['location'];console[_0xa34f30(0x15c)]('\x0a⚠️\x20\x20Profile\x20\x22'+_0x31fa94+_0xa34f30(0x171)+_0xbecc5f+':\x20'+_0x4a0752[_0xa34f30(0x14b)]),console['error'](_0xa34f30(0x146)+_0x1d4f87+_0xa34f30(0x141));const {shouldReplace:_0x11d45e}=await _0x4b5d05[_0xa34f30(0x13e)]([{'type':_0x178c7a[_0xa34f30(0x158)],'name':_0xa34f30(0x167),'message':_0xa34f30(0x183)+_0x1d4f87+'?','default':![]}]);if(!_0x11d45e){console['log'](_0x178c7a['OOyRa']);return;}_0x4d32ce=_0x4a0752;}}}_0x2e245e?.['trackPhaseStart']('url_setup');let _0x21188f='';if(_0x292ee9)console[_0xa34f30(0x18c)]('\x0a🔌\x20CDP\x20Profile\x20Setup\x0a'),console['log'](_0xa34f30(0x17c)+_0x37a0b3['cdpEndpoint']),console['log'](_0x178c7a[_0xa34f30(0x14c)]);else{if(_0x37a0b3['url']){_0x21188f=_0x37a0b3[_0xa34f30(0x16d)];const _0x37fa04=await _0x178c7a[_0xa34f30(0x191)](checkUrlReachability,_0x21188f);if(!_0x37fa04['ok']&&!_0x37a0b3[_0xa34f30(0x143)])throw new Error('Could\x20not\x20reach\x20'+_0x21188f+':\x20'+_0x37fa04['error']+'\x0aMake\x20sure\x20your\x20app\x20is\x20running,\x20then\x20try\x20again.\x20To\x20skip\x20this\x20check,\x20pass\x20--force.');!_0x37fa04['ok']&&_0x37a0b3[_0xa34f30(0x143)]&&console[_0xa34f30(0x18c)]('⚠\x20Could\x20not\x20reach\x20'+_0x21188f+':\x20'+_0x37fa04[_0xa34f30(0x15c)]+'\x20(continuing\x20with\x20--force)');}else{console[_0xa34f30(0x18c)]('\x0a🌐\x20Profile\x20Setup\x0a'),console['log']('\x20\x20Make\x20sure\x20your\x20app\x20is\x20running\x20locally\x20before\x20continuing.'),console['log'](_0x178c7a['bnDvc']);let _0x55e3bf=![];while(!![]){const _0x3d1bb6=await _0x4b5d05['prompt']([{'type':_0xa34f30(0x173),'name':'baseUrl','message':_0x55e3bf?_0x178c7a['oWbRD']:'What\x20is\x20the\x20URL\x20of\x20your\x20running\x20app?','default':_0x21188f||_0x178c7a[_0xa34f30(0x184)]}]);_0x21188f=_0x3d1bb6[_0xa34f30(0x185)];const _0xb5295d=await _0x178c7a['GHGQM'](checkUrlReachability,_0x21188f);if(_0xb5295d['ok'])break;const _0x2605a8=/^[a-zA-Z][\w+.-]*:\/\//['test'](_0x21188f),_0x2b84dd=_0xb5295d['isProtocolError']&&!_0x2605a8,_0xf4ff4=_0x2b84dd?_0xa34f30(0x168)+_0x21188f:null;_0x55e3bf=!![],console[_0xa34f30(0x18c)](_0xa34f30(0x192)+_0x21188f+':\x20'+_0xb5295d[_0xa34f30(0x15c)]);_0xf4ff4&&console['log'](_0xa34f30(0x156)+_0xf4ff4+'?');const {action:_0x4a0d3b}=await _0x4b5d05[_0xa34f30(0x13e)]([{'type':'list','name':'action','message':'What\x20would\x20you\x20like\x20to\x20do?','choices':[..._0xf4ff4?[{'name':_0xa34f30(0x147)+_0xf4ff4,'value':_0xa34f30(0x13a)}]:[],{'name':_0x178c7a['hpzbJ'],'value':_0x178c7a['XGcIE']},{'name':'Continue\x20anyway','value':'continue'}]}]);if(_0x4a0d3b===_0xa34f30(0x13a)&&_0xf4ff4){_0x21188f=_0xf4ff4;const _0x2120ab=await _0x178c7a[_0xa34f30(0x191)](checkUrlReachability,_0x21188f);if(_0x2120ab['ok'])break;console['log'](_0xa34f30(0x150)+_0x21188f+':\x20'+_0x2120ab[_0xa34f30(0x15c)]);}else{if(_0x4a0d3b===_0xa34f30(0x139))break;}}}}_0x2e245e?.[_0xa34f30(0x18a)](_0x178c7a[_0xa34f30(0x15f)]),await _0x178c7a['eSiBQ'](mkdir,_0x488f38,{'recursive':!![]});const _0x208fd5=await mkdtemp(join(_0x488f38,'.tmp-'+_0x31fa94+'-')),_0x2fcc72=_0x178c7a['eSiBQ'](join,_0x208fd5,'auth.json');try{if(_0x23d49a){_0x2e245e?.['trackPhaseStart'](_0xa34f30(0x194)),console['log'](_0xa34f30(0x187)),console[_0xa34f30(0x18c)](_0x178c7a[_0xa34f30(0x178)]),console['log']('\x20\x20\x20When\x20done\x20logging\x20in,\x20close\x20the\x20browser\x20to\x20save\x20the\x20session.');!_0x2183a1?(console['log']('\x0a\x20\x20\x20⚠\x20This\x20step\x20requires\x20human\x20interaction\x20in\x20a\x20browser.'),console['log'](_0x178c7a[_0xa34f30(0x13b)])):console[_0xa34f30(0x18c)]('');await new Promise(_0x466d95=>setTimeout(_0x466d95,0xbb8));const _0x23cf42=await chromium[_0xa34f30(0x163)]({'headless':![]});try{const _0x195399=await _0x23cf42['newContext']();await _0x178c7a['mQzAK'](addProfileSetupBanner,_0x195399);const _0x56eb05=await _0x195399['newPage']();await _0x56eb05[_0xa34f30(0x17d)](_0x21188f||'about:blank'),await new Promise(_0x192309=>{const _0xd9b13f=_0xa34f30;_0x56eb05['on'](_0x178c7a[_0xd9b13f(0x16b)],async()=>{const _0x5dc2f2=_0xd9b13f;try{console['log'](_0x178c7a[_0x5dc2f2(0x17b)]),await _0x195399['storageState']({'path':_0x2fcc72});}catch{}_0x178c7a[_0x5dc2f2(0x148)](_0x192309);});});}finally{await _0x23cf42['close']()[_0xa34f30(0x14e)](()=>{});}if(_0xb8ad96){const _0x3df3e0=await readFile(_0x2fcc72,_0x178c7a[_0xa34f30(0x144)]),_0x377808=await _0x178c7a['hlyHt'](getToken);if(!_0x377808){console['error'](_0xa34f30(0x149)),await _0x178c7a[_0xa34f30(0x191)](unlink,_0x2fcc72)['catch'](()=>{});throw new Error(_0x178c7a['duDUf']);}else{const _0x2c1c34=_0x178c7a[_0xa34f30(0x164)](encrypt,_0x3df3e0,_0x377808);await _0x178c7a['AeBqC'](writeFile,_0x2fcc72+_0xa34f30(0x189),_0x2c1c34),await unlink(_0x2fcc72),console['log']('✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x2fcc72+_0xa34f30(0x189)),console['log'](_0xa34f30(0x169)),console[_0xa34f30(0x18c)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.');}}else console[_0xa34f30(0x18c)](_0xa34f30(0x14f)+_0x2fcc72);_0x2e245e?.['trackPhaseEnd'](_0x178c7a[_0xa34f30(0x162)]);}_0x2e245e?.['trackPhaseStart']('config_write');const _0x14828a={};_0x21188f&&(_0x14828a['baseUrl']=_0x21188f);_0x37a0b3[_0xa34f30(0x160)]&&(_0x14828a['cdpEndpoint']=_0x37a0b3['cdpEndpoint'],_0x14828a['isElectron']=!![]);await writeFile(_0x178c7a[_0xa34f30(0x164)](join,_0x208fd5,_0x178c7a[_0xa34f30(0x172)]),JSON[_0xa34f30(0x157)](_0x14828a,null,0x2)),console[_0xa34f30(0x18c)](_0xa34f30(0x186)+join(_0x15a2ad,'settings.json'));if(_0x178c7a['GSuxQ'](_0x4d32ce?.['location'],_0x1d4f87)){const _0x568772=_0x4d32ce[_0xa34f30(0x14b)]+'.backup-'+Date['now']();await _0x178c7a['AeBqC'](rename,_0x4d32ce[_0xa34f30(0x14b)],_0x568772);try{await rename(_0x208fd5,_0x15a2ad);}catch(_0x227df4){await rename(_0x568772,_0x4d32ce['path']);throw _0x227df4;}try{await _0x178c7a['zszTG'](rm,_0x568772,{'recursive':!![]});}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20backup\x20at\x20'+_0x568772);}}else{await _0x178c7a['AeBqC'](rename,_0x208fd5,_0x15a2ad);if(_0x4d32ce)try{await rm(_0x4d32ce[_0xa34f30(0x14b)],{'recursive':!![]}),console['log'](_0xa34f30(0x180)+_0x4d32ce[_0xa34f30(0x14b)]);}catch{console['log']('Warning:\x20Could\x20not\x20remove\x20old\x20profile\x20at\x20'+_0x4d32ce[_0xa34f30(0x14b)]);}}try{await writeActiveProfileName(_0x31fa94),console[_0xa34f30(0x18c)]('\x20\x20Set\x20active\x20profile:\x20'+_0x31fa94);}catch{console[_0xa34f30(0x18c)](_0x178c7a['jIswL']);}_0x2e245e?.['trackPhaseEnd'](_0xa34f30(0x166)),console[_0xa34f30(0x18c)](_0xa34f30(0x153)+_0x31fa94+_0xa34f30(0x18b));}catch(_0xb818e2){await rm(_0x208fd5,{'recursive':!![],'force':!![]});throw _0xb818e2;}}
@@ -1 +1 @@
1
- function _0x201a(){const _0x5888de=['\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','3pofPNz','log','bTQMb','269753FHobnA','206606lVuBOb','2772568knYRWF','2995410Cjxydh','auth.json','1035DlQEJK','\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','130730RXXczX','1273752cMvgvv','3413572AIEKhU','7SGfutM','Profile\x20\x22','\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'];_0x201a=function(){return _0x5888de;};return _0x201a();}(function(_0x5368e8,_0x53f4db){const _0x5536a1=_0x1179,_0x40eba2=_0x5368e8();while(!![]){try{const _0x100e91=parseInt(_0x5536a1(0x150))/0x1+-parseInt(_0x5536a1(0x151))/0x2*(-parseInt(_0x5536a1(0x15f))/0x3)+parseInt(_0x5536a1(0x15a))/0x4+parseInt(_0x5536a1(0x153))/0x5+-parseInt(_0x5536a1(0x159))/0x6+parseInt(_0x5536a1(0x15b))/0x7*(parseInt(_0x5536a1(0x152))/0x8)+parseInt(_0x5536a1(0x155))/0x9*(-parseInt(_0x5536a1(0x158))/0xa);if(_0x100e91===_0x53f4db)break;else _0x40eba2['push'](_0x40eba2['shift']());}catch(_0x50beed){_0x40eba2['push'](_0x40eba2['shift']());}}}(_0x201a,0x6f6df));import{readFile,writeFile}from'fs/promises';function _0x1179(_0x239e80,_0x381035){_0x239e80=_0x239e80-0x150;const _0x201ab7=_0x201a();let _0x1179e4=_0x201ab7[_0x239e80];return _0x1179e4;}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(_0x4e68eb){const _0x8556f7=_0x1179,_0x852715={'aPNMw':'.enc','bTQMb':function(_0x47ee0c,_0x14fe25){return _0x47ee0c(_0x14fe25);},'LCIMz':'utf-8','aeltR':function(_0x1e70b6,_0x2893c2,_0x3f6863){return _0x1e70b6(_0x2893c2,_0x3f6863);},'GEvhz':_0x8556f7(0x15d),'SzATL':'\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'},_0x234fcd=getEnvDir(_0x4e68eb),_0x192f3e=join(_0x234fcd,_0x8556f7(0x154)),_0x47778b=_0x192f3e+_0x852715['aPNMw'];if(!_0x852715[_0x8556f7(0x161)](existsSync,_0x234fcd))throw new Error(_0x8556f7(0x15c)+_0x4e68eb+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x4e68eb);if(!existsSync(_0x192f3e))throw new Error('No\x20auth.json\x20found\x20at\x20'+_0x192f3e+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x1e6410=await getToken();if(!_0x1e6410)throw new Error(_0x8556f7(0x157));const _0x57a1ea=await readFile(_0x192f3e,_0x852715['LCIMz']),_0x154379=_0x852715['aeltR'](encrypt,_0x57a1ea,_0x1e6410);await writeFile(_0x47778b,_0x154379),console[_0x8556f7(0x160)](_0x8556f7(0x156)+_0x47778b),console[_0x8556f7(0x160)](_0x852715['GEvhz']),console[_0x8556f7(0x160)](_0x852715['SzATL']),existsSync(_0x47778b)&&(console[_0x8556f7(0x160)]('\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.'),console['log'](_0x8556f7(0x15e)));}
1
+ (function(_0x2b8549,_0x3c5f43){const _0x4e43a9=_0x4043,_0x314e76=_0x2b8549();while(!![]){try{const _0x20fa15=parseInt(_0x4e43a9(0x1c6))/0x1*(parseInt(_0x4e43a9(0x1d6))/0x2)+parseInt(_0x4e43a9(0x1cc))/0x3*(-parseInt(_0x4e43a9(0x1c9))/0x4)+parseInt(_0x4e43a9(0x1cd))/0x5+parseInt(_0x4e43a9(0x1d8))/0x6+parseInt(_0x4e43a9(0x1d0))/0x7*(parseInt(_0x4e43a9(0x1d3))/0x8)+-parseInt(_0x4e43a9(0x1d7))/0x9+parseInt(_0x4e43a9(0x1d5))/0xa*(parseInt(_0x4e43a9(0x1d4))/0xb);if(_0x20fa15===_0x3c5f43)break;else _0x314e76['push'](_0x314e76['shift']());}catch(_0x34f682){_0x314e76['push'](_0x314e76['shift']());}}}(_0xce9a,0xa7c97));function _0x4043(_0x181a9a,_0x560d02){_0x181a9a=_0x181a9a-0x1c6;const _0xce9add=_0xce9a();let _0x4043a4=_0xce9add[_0x181a9a];return _0x4043a4;}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';function _0xce9a(){const _0x4bf5d0=['No\x20auth.json\x20found\x20at\x20','28sQAQlP','QrPwH','\x20\x20The\x20encrypted\x20auth.json.enc\x20can\x20be\x20committed.','527199PUMNwf','1840795XPvSZG','auth.json','log','3635345oJGQRt','\x0a\x20\x20The\x20plaintext\x20auth.json\x20is\x20gitignored\x20for\x20security.','utf-8','16ziuCsH','29557sOXkOn','640VUhvdQ','2mzVhSd','3542670XOUHPB','3015216IUHNgL','229683ZSuEps','DJNvp'];_0xce9a=function(){return _0x4bf5d0;};return _0xce9a();}import{getEnvDir}from'./utils/settings.js';export async function authEncrypt(_0x397fb5){const _0x9d90b=_0x4043,_0x5d876c={'FUpbv':function(_0x23bb5a,_0x26811d,_0x3b2e4b){return _0x23bb5a(_0x26811d,_0x3b2e4b);},'bhXbo':_0x9d90b(0x1ce),'meGVi':function(_0x871e78,_0x3357df){return _0x871e78+_0x3357df;},'DJNvp':function(_0x7d815,_0x3f49f8){return _0x7d815(_0x3f49f8);},'nlobu':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','QrPwH':'\x20\x20You\x20can\x20safely\x20commit\x20this\x20file\x20to\x20git.'},_0x1e74cf=getEnvDir(_0x397fb5),_0x11138d=_0x5d876c['FUpbv'](join,_0x1e74cf,_0x5d876c['bhXbo']),_0x37a645=_0x5d876c['meGVi'](_0x11138d,'.enc');if(!existsSync(_0x1e74cf))throw new Error('Profile\x20\x22'+_0x397fb5+'\x22\x20not\x20found.\x20Run\x20first:\x20ranger\x20profile\x20add\x20'+_0x397fb5);if(!_0x5d876c[_0x9d90b(0x1c7)](existsSync,_0x11138d))throw new Error(_0x9d90b(0x1c8)+_0x11138d+'.\x20Run\x20first:\x20ranger\x20profile\x20add\x20with\x20authentication,\x20or\x20ranger\x20profile\x20update');const _0x4cbee6=await getToken();if(!_0x4cbee6)throw new Error(_0x5d876c['nlobu']);const _0x3b5f59=await readFile(_0x11138d,_0x9d90b(0x1d2)),_0x1eb7a3=_0x5d876c['FUpbv'](encrypt,_0x3b5f59,_0x4cbee6);await writeFile(_0x37a645,_0x1eb7a3),console['log']('\x0a✓\x20Encrypted\x20auth\x20saved\x20to:\x20'+_0x37a645),console['log'](_0x5d876c[_0x9d90b(0x1ca)]),console[_0x9d90b(0x1cf)]('\x20\x20Run\x20ranger\x20setup\x20in\x20CI\x20to\x20decrypt\x20at\x20runtime.'),_0x5d876c[_0x9d90b(0x1c7)](existsSync,_0x37a645)&&(console[_0x9d90b(0x1cf)](_0x9d90b(0x1d1)),console[_0x9d90b(0x1cf)](_0x9d90b(0x1cb)));}
@@ -1 +1 @@
1
- const _0x1b166c=_0x3df4;(function(_0x5bd542,_0xd6301e){const _0x5e8005=_0x3df4,_0x9bb78b=_0x5bd542();while(!![]){try{const _0x2bdbaa=-parseInt(_0x5e8005(0xc0))/0x1*(parseInt(_0x5e8005(0xcf))/0x2)+-parseInt(_0x5e8005(0xa9))/0x3+-parseInt(_0x5e8005(0xae))/0x4+-parseInt(_0x5e8005(0xdc))/0x5*(-parseInt(_0x5e8005(0xc5))/0x6)+parseInt(_0x5e8005(0xb3))/0x7+parseInt(_0x5e8005(0xd1))/0x8*(parseInt(_0x5e8005(0xb0))/0x9)+-parseInt(_0x5e8005(0xb7))/0xa*(-parseInt(_0x5e8005(0xc8))/0xb);if(_0x2bdbaa===_0xd6301e)break;else _0x9bb78b['push'](_0x9bb78b['shift']());}catch(_0xaeb925){_0x9bb78b['push'](_0x9bb78b['shift']());}}}(_0x13a8,0xf1134));import{rm,readFile,writeFile}from'fs/promises';import{join}from'path';function _0x13a8(){const _0x4ed2c8=['claude','platform','e2e-test-recommender','10UgKCng','plugin','ixXxf','Nothing\x20to\x20clean\x20up.\x0a','CnZOC','4068324hbUjjB','ctCdD','rNCDO','1485PcAzNm','ELHEO','KpJWL','LvYAN','win32','trailhead','lfROS','39892ZHoZKc','pASoQ','384200JyKMcW','filter','project','user','--scope','bug-bash','sluvP','✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)','YRxAr','close','YWaPP','10ryQLRe','✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)','1542153nLzHJZ','✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','IKsXq','zCWnO','isArray','7132508UwFlyk','replace','63vwfLXz','\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','length','5493838nyHMef','utf-8','string','fWjjP','74590NqUsnC','log','✓\x20Removed\x20user\x20skill:\x20','IyGvm','ranger@trailhead','pipe'];_0x13a8=function(){return _0x4ed2c8;};return _0x13a8();}import{existsSync}from'fs';import{spawn}from'child_process';import{deleteAllCredentials}from'./utils/keychain.js';function _0x3df4(_0x239fae,_0x1a41b6){_0x239fae=_0x239fae-0xa8;const _0x13a8a0=_0x13a8();let _0x3df422=_0x13a8a0[_0x239fae];return _0x3df422;}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=['ranger','feature-tracker',_0x1b166c(0xd6),_0x1b166c(0xbf)],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x459632){const _0x39e476=_0x1b166c,_0x2d5750=_0x459632['replace'](/\/\*[\s\S]*?\*\//g,''),_0x365736=_0x2d5750['replace'](/^\s*\/\/.*$/gm,''),_0x4ca2b9=_0x365736[_0x39e476(0xaf)](/,\s*([}\]])/g,'$1');return JSON['parse'](_0x4ca2b9);}async function removeOpencodePluginConfig(_0x191c9a){const _0x43c63d=_0x1b166c,_0x3860b7={'YWaPP':function(_0x5c5c2c,_0x36b864){return _0x5c5c2c!==_0x36b864;},'iSCxv':_0x43c63d(0xb5),'KpJWL':function(_0x3f3cda,_0x5c3461){return _0x3f3cda===_0x5c3461;},'CnZOC':function(_0x5e1c6b,_0x3a2adf,_0x640a41){return _0x5e1c6b(_0x3a2adf,_0x640a41);},'ixXxf':function(_0x33de5a,_0x16ba21){return _0x33de5a+_0x16ba21;}};if(!existsSync(_0x191c9a))return![];let _0xcac010;try{const _0x28af1b=await readFile(_0x191c9a,_0x43c63d(0xb4));_0xcac010=parseJsonc(_0x28af1b);}catch{return![];}const _0x2d5e41=Array[_0x43c63d(0xad)](_0xcac010['plugin'])?_0xcac010[_0x43c63d(0xc1)]:[];if(_0x2d5e41[_0x43c63d(0xb2)]===0x0)return![];const _0x2d46ce=_0x2d5e41[_0x43c63d(0xd2)](_0x40bf7c=>{const _0x573ac9=_0x43c63d;if(_0x3860b7[_0x573ac9(0xdb)](typeof _0x40bf7c,_0x3860b7['iSCxv']))return!![];return _0x40bf7c!==opencodePluginName;});if(_0x3860b7[_0x43c63d(0xca)](_0x2d46ce['length'],_0x2d5e41['length']))return![];return _0x2d46ce['length']===0x0?delete _0xcac010['plugin']:_0xcac010[_0x43c63d(0xc1)]=_0x2d46ce,await _0x3860b7[_0x43c63d(0xc4)](writeFile,_0x191c9a,_0x3860b7[_0x43c63d(0xc2)](JSON['stringify'](_0xcac010,null,0x2),'\x0a')),!![];}async function uninstallClaudePlugin(_0x4529e1){const _0x3a9933=_0x1b166c,_0x36d1e9={'IyGvm':function(_0x4dd4d8,_0x13d904){return _0x4dd4d8(_0x13d904);},'lfROS':_0x3a9933(0xc1),'gguZW':'uninstall','eGqmy':_0x3a9933(0xbb),'WBOHK':_0x3a9933(0xd5),'NmLnc':function(_0x8661c1,_0x34aa7a,_0x5a5c22,_0x2bf5be){return _0x8661c1(_0x34aa7a,_0x5a5c22,_0x2bf5be);},'kTMaQ':'claude','hYKlS':function(_0xd3c047,_0x5cd94){return _0xd3c047===_0x5cd94;},'GFDgu':_0x3a9933(0xcc),'pASoQ':'error'};return new Promise(_0x3a899e=>{const _0x487c23=_0x3a9933,_0x45bad8={'lTPXL':function(_0x2e84c6,_0x382f14){const _0x3ab039=_0x3df4;return _0x36d1e9[_0x3ab039(0xba)](_0x2e84c6,_0x382f14);}},_0x2b8146=[_0x36d1e9[_0x487c23(0xce)],_0x36d1e9['gguZW'],_0x36d1e9['eGqmy']];_0x4529e1&&_0x2b8146['push'](_0x36d1e9['WBOHK'],_0x4529e1);const _0x5acc5a=_0x36d1e9['NmLnc'](spawn,_0x36d1e9['kTMaQ'],_0x2b8146,{'stdio':_0x487c23(0xbc),'shell':_0x36d1e9['hYKlS'](process[_0x487c23(0xbe)],_0x36d1e9['GFDgu'])});_0x5acc5a['on'](_0x487c23(0xda),_0x5b22b3=>{_0x3a899e(_0x5b22b3===0x0);}),_0x5acc5a['on'](_0x36d1e9[_0x487c23(0xd0)],()=>{_0x45bad8['lTPXL'](_0x3a899e,![]);});});}async function removeMarketplace(){const _0x3f2433=_0x1b166c,_0x42ef7d={'rNCDO':function(_0x4135c6,_0x1386bc){return _0x4135c6(_0x1386bc);},'VeqZB':_0x3f2433(0xbd),'nOcyG':'remove','fWjjP':_0x3f2433(0xcc),'zCWnO':'close'};return new Promise(_0x2e2343=>{const _0x279555=_0x3f2433,_0x19b6ef={'ctCdD':function(_0x45ef47,_0x21bf40){const _0x84f539=_0x3df4;return _0x42ef7d[_0x84f539(0xc7)](_0x45ef47,_0x21bf40);}},_0x375161=spawn(_0x42ef7d['VeqZB'],[_0x279555(0xc1),'marketplace',_0x42ef7d['nOcyG'],_0x279555(0xcd)],{'stdio':'pipe','shell':process['platform']===_0x42ef7d[_0x279555(0xb6)]});_0x375161['on'](_0x42ef7d[_0x279555(0xac)],_0x182646=>{const _0x5db552=_0x279555;_0x19b6ef[_0x5db552(0xc6)](_0x2e2343,_0x182646===0x0);}),_0x375161['on']('error',()=>{_0x2e2343(![]);});});}export async function clean(){const _0x2631a6=_0x1b166c,_0x3713a9={'ELHEO':function(_0x4dce78,_0x485664){return _0x4dce78(_0x485664);},'YRxAr':'✓\x20Removed\x20.ranger/\x20directory','IKsXq':function(_0x33a455){return _0x33a455();},'lteHd':function(_0x321d1d,_0x3eaef6,_0x1e2730){return _0x321d1d(_0x3eaef6,_0x1e2730);},'LvYAN':function(_0x2998cb){return _0x2998cb();},'yrGmG':function(_0x3c39d5,_0x4b6c11,_0xce35c){return _0x3c39d5(_0x4b6c11,_0xce35c);},'duoxU':function(_0x21ccf0,_0x194caa,_0x42ff35){return _0x21ccf0(_0x194caa,_0x42ff35);},'eqMFC':function(_0x543012,_0x1f998c){return _0x543012(_0x1f998c);},'VLcGF':function(_0x3a065a,_0x78c94e,_0x28c187){return _0x3a065a(_0x78c94e,_0x28c187);},'xMWJM':function(_0x431543,_0x5399ed){return _0x431543(_0x5399ed);},'sluvP':_0x2631a6(0xd8),'payoC':function(_0x8531e1,_0x4369df,_0x284715){return _0x8531e1(_0x4369df,_0x284715);},'tfovz':'opencode.json','rJQby':_0x2631a6(0xa8),'smtNM':'✓\x20Removed\x20trailhead\x20marketplace'};console[_0x2631a6(0xb8)](_0x2631a6(0xb1));let _0x21a741=![];try{await deleteAllCredentials(),console[_0x2631a6(0xb8)]('✓\x20Removed\x20stored\x20credentials'),_0x21a741=!![];}catch{}const _0x3a165c=getCacheFile();existsSync(_0x3a165c)&&(await _0x3713a9[_0x2631a6(0xc9)](rm,_0x3a165c),_0x21a741=!![]);const _0x4dc712=getRangerDir();_0x3713a9[_0x2631a6(0xc9)](existsSync,_0x4dc712)&&(await rm(_0x4dc712,{'recursive':!![]}),console[_0x2631a6(0xb8)](_0x3713a9[_0x2631a6(0xd9)]),_0x21a741=!![]);const _0x1b721f=_0x3713a9[_0x2631a6(0xab)](getProjectSkillsDir);for(const _0xa32479 of skillsToRemove){const _0x1ba04c=_0x3713a9['lteHd'](join,_0x1b721f,_0xa32479);existsSync(_0x1ba04c)&&(await _0x3713a9['lteHd'](rm,_0x1ba04c,{'recursive':!![]}),console[_0x2631a6(0xb8)]('✓\x20Removed\x20project\x20skill:\x20'+_0xa32479),_0x21a741=!![]);}const _0x2f2305=_0x3713a9[_0x2631a6(0xcb)](getUserSkillsDir);for(const _0x5c348a of skillsToRemove){const _0x425a48=_0x3713a9['yrGmG'](join,_0x2f2305,_0x5c348a);existsSync(_0x425a48)&&(await rm(_0x425a48,{'recursive':!![]}),console['log'](_0x2631a6(0xb9)+_0x5c348a),_0x21a741=!![]);}const _0x4b38aa=_0x3713a9['ELHEO'](getOpencodeSkillsDir,'project');for(const _0x4ee1c9 of skillsToRemove){const _0x10e9e9=join(_0x4b38aa,_0x4ee1c9);_0x3713a9['ELHEO'](existsSync,_0x10e9e9)&&(await _0x3713a9['duoxU'](rm,_0x10e9e9,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20project\x20skill:\x20'+_0x4ee1c9),_0x21a741=!![]);}const _0x10f8bb=_0x3713a9['eqMFC'](getOpencodeSkillsDir,_0x2631a6(0xd4));for(const _0x1841be of skillsToRemove){const _0x3a6f27=join(_0x10f8bb,_0x1841be);existsSync(_0x3a6f27)&&(await rm(_0x3a6f27,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x1841be),_0x21a741=!![]);}const _0x430084=_0x3713a9['VLcGF'](join,_0x3713a9['ELHEO'](getOpencodeConfigDir,_0x2631a6(0xd3)),'opencode.json');await _0x3713a9['xMWJM'](removeOpencodePluginConfig,_0x430084)&&(console[_0x2631a6(0xb8)](_0x3713a9[_0x2631a6(0xd7)]),_0x21a741=!![]);const _0x3b15ba=_0x3713a9['payoC'](join,getOpencodeConfigDir(_0x2631a6(0xd4)),_0x3713a9['tfovz']);await removeOpencodePluginConfig(_0x3b15ba)&&(console['log']('✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)'),_0x21a741=!![]);const _0x407c5c=await uninstallClaudePlugin();_0x407c5c&&(console['log'](_0x2631a6(0xaa)),_0x21a741=!![]);const _0x163a9e=await uninstallClaudePlugin('project');_0x163a9e&&(console['log'](_0x3713a9['rJQby']),_0x21a741=!![]);const _0x1ea8b7=await _0x3713a9['LvYAN'](removeMarketplace);_0x1ea8b7&&(console[_0x2631a6(0xb8)](_0x3713a9['smtNM']),_0x21a741=!![]),_0x21a741?console[_0x2631a6(0xb8)]('\x0a✅\x20Cleanup\x20complete!\x0a'):console['log'](_0x2631a6(0xc3));}
1
+ const _0x5d6bb8=_0xbf69;(function(_0x35165f,_0x4cb746){const _0x2e243c=_0xbf69,_0x4f2ca3=_0x35165f();while(!![]){try{const _0x590b76=-parseInt(_0x2e243c(0x142))/0x1*(parseInt(_0x2e243c(0x15c))/0x2)+-parseInt(_0x2e243c(0x147))/0x3+-parseInt(_0x2e243c(0x140))/0x4+-parseInt(_0x2e243c(0x154))/0x5+-parseInt(_0x2e243c(0x16d))/0x6+-parseInt(_0x2e243c(0x16b))/0x7+parseInt(_0x2e243c(0x166))/0x8;if(_0x590b76===_0x4cb746)break;else _0x4f2ca3['push'](_0x4f2ca3['shift']());}catch(_0x315105){_0x4f2ca3['push'](_0x4f2ca3['shift']());}}}(_0x5ab6,0x68727));import{rm,readFile,writeFile}from'fs/promises';function _0xbf69(_0x59088b,_0x1e5845){_0x59088b=_0x59088b-0x140;const _0x5ab660=_0x5ab6();let _0xbf69ba=_0x5ab660[_0x59088b];return _0xbf69ba;}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';function _0x5ab6(){const _0x4187b1=['oqqpw','xGNRP','✓\x20Removed\x20OpenCode\x20project\x20skill:\x20','nZdpa','2397879IvDaUO','user','uninstall','isArray','push','claude','plugin','✓\x20Removed\x20.ranger/\x20directory','yWMWV','replace','project','win32','ranger','1345625qMYQii','marketplace','ywizb','irnsq','NEyia','parse','XpFKI','rcRWc','1700630BrEytX','remove','error','filter','log','IwPOP','close','fjdxY','\x0a✅\x20Cleanup\x20complete!\x0a','✓\x20Removed\x20trailhead\x20marketplace','32068152LmjKtU','dfZUP','nmNdo','oERDB','awNWS','5929973cWffcQ','✓\x20Removed\x20stored\x20credentials','3797820qPmMqq','length','ApQzH','IfTRl','Vdcsz','opencode.json','YWueB','727448EsyhmI','platform','1adBMww'];_0x5ab6=function(){return _0x4187b1;};return _0x5ab6();}import{getOpencodeConfigDir,getOpencodeSkillsDir}from'./utils/opencodeConfig.js';const skillsToRemove=[_0x5d6bb8(0x153),'feature-tracker','bug-bash','e2e-test-recommender'],opencodePluginName='@ranger-testing/opencode-plugin';function parseJsonc(_0x2db35a){const _0x38aa49=_0x5d6bb8,_0x58f02f=_0x2db35a[_0x38aa49(0x150)](/\/\*[\s\S]*?\*\//g,''),_0x585e73=_0x58f02f['replace'](/^\s*\/\/.*$/gm,''),_0xb66c1c=_0x585e73[_0x38aa49(0x150)](/,\s*([}\]])/g,'$1');return JSON[_0x38aa49(0x159)](_0xb66c1c);}async function removeOpencodePluginConfig(_0xbcaa1c){const _0x1a7426=_0x5d6bb8,_0x297853={'uqUHu':function(_0x13a60a,_0x31b092){return _0x13a60a!==_0x31b092;},'rRzys':function(_0x241a11,_0x221ffb){return _0x241a11(_0x221ffb);},'YWueB':function(_0x18d31d,_0xd3c4f6,_0x23c7c0){return _0x18d31d(_0xd3c4f6,_0x23c7c0);},'czvOq':function(_0x8c1775,_0x4bb3bf){return _0x8c1775===_0x4bb3bf;},'nZdpa':function(_0x179821,_0x18d6d7){return _0x179821===_0x18d6d7;}};if(!_0x297853['rRzys'](existsSync,_0xbcaa1c))return![];let _0x5724e8;try{const _0x55f9ab=await _0x297853[_0x1a7426(0x173)](readFile,_0xbcaa1c,'utf-8');_0x5724e8=parseJsonc(_0x55f9ab);}catch{return![];}const _0xe6a141=Array[_0x1a7426(0x14a)](_0x5724e8[_0x1a7426(0x14d)])?_0x5724e8[_0x1a7426(0x14d)]:[];if(_0x297853['czvOq'](_0xe6a141['length'],0x0))return![];const _0x5e276c=_0xe6a141[_0x1a7426(0x15f)](_0x2acf34=>{if(_0x297853['uqUHu'](typeof _0x2acf34,'string'))return!![];return _0x297853['uqUHu'](_0x2acf34,opencodePluginName);});if(_0x5e276c['length']===_0xe6a141['length'])return![];return _0x297853[_0x1a7426(0x146)](_0x5e276c[_0x1a7426(0x16e)],0x0)?delete _0x5724e8['plugin']:_0x5724e8[_0x1a7426(0x14d)]=_0x5e276c,await _0x297853[_0x1a7426(0x173)](writeFile,_0xbcaa1c,JSON['stringify'](_0x5724e8,null,0x2)+'\x0a'),!![];}async function uninstallClaudePlugin(_0x4cf0da){const _0x2b557d=_0x5d6bb8,_0x4f9541={'pEwvq':function(_0x7e5fa4,_0x1b7bb9){return _0x7e5fa4(_0x1b7bb9);},'pncmO':_0x2b557d(0x149),'rcRWc':'ranger@trailhead','ywizb':'--scope','NEyia':function(_0x443ba6,_0x1d90cf,_0x49f918,_0x33e43d){return _0x443ba6(_0x1d90cf,_0x49f918,_0x33e43d);},'yWMWV':'pipe','aXimA':function(_0x5ab214,_0x5cdaaa){return _0x5ab214===_0x5cdaaa;}};return new Promise(_0x4c3bbc=>{const _0x3b8a70=_0x2b557d,_0x8c4545={'irnsq':function(_0x35b4a6,_0x477f3f){return _0x4f9541['pEwvq'](_0x35b4a6,_0x477f3f);}},_0x3995c7=['plugin',_0x4f9541['pncmO'],_0x4f9541[_0x3b8a70(0x15b)]];_0x4cf0da&&_0x3995c7[_0x3b8a70(0x14b)](_0x4f9541[_0x3b8a70(0x156)],_0x4cf0da);const _0x425d55=_0x4f9541[_0x3b8a70(0x158)](spawn,_0x3b8a70(0x14c),_0x3995c7,{'stdio':_0x4f9541[_0x3b8a70(0x14f)],'shell':_0x4f9541['aXimA'](process['platform'],'win32')});_0x425d55['on'](_0x3b8a70(0x162),_0x5e5773=>{const _0x5b4621=_0x3b8a70;_0x8c4545[_0x5b4621(0x157)](_0x4c3bbc,_0x5e5773===0x0);}),_0x425d55['on'](_0x3b8a70(0x15e),()=>{_0x4c3bbc(![]);});});}async function removeMarketplace(){const _0x2ed0e3=_0x5d6bb8,_0x347b53={'nmNdo':function(_0x34a9f4,_0x26e96c){return _0x34a9f4(_0x26e96c);},'onaFh':_0x2ed0e3(0x14c),'EKhel':_0x2ed0e3(0x155),'awNWS':_0x2ed0e3(0x15d)};return new Promise(_0x4e2ab7=>{const _0x4c8c26=_0x2ed0e3,_0x2ef4ff={'dRxMk':function(_0x37e295,_0x217e67){return _0x37e295===_0x217e67;}},_0x1e8daf=spawn(_0x347b53['onaFh'],['plugin',_0x347b53['EKhel'],_0x347b53[_0x4c8c26(0x16a)],'trailhead'],{'stdio':'pipe','shell':process[_0x4c8c26(0x141)]===_0x4c8c26(0x152)});_0x1e8daf['on']('close',_0x269969=>{_0x4e2ab7(_0x2ef4ff['dRxMk'](_0x269969,0x0));}),_0x1e8daf['on']('error',()=>{const _0x2d50a8=_0x4c8c26;_0x347b53[_0x2d50a8(0x168)](_0x4e2ab7,![]);});});}export async function clean(){const _0x54113e=_0x5d6bb8,_0x16bf14={'hooQU':'\x0a🧹\x20Cleaning\x20up\x20Ranger\x20artifacts...\x0a','dfZUP':function(_0x47fc78){return _0x47fc78();},'oqqpw':_0x54113e(0x16c),'qFNnv':function(_0x4aee6b,_0x1d7ed8){return _0x4aee6b(_0x1d7ed8);},'ApQzH':function(_0x178ea9){return _0x178ea9();},'xGNRP':function(_0x49198c,_0x150f2c,_0x1a917d){return _0x49198c(_0x150f2c,_0x1a917d);},'yUDWc':_0x54113e(0x14e),'jLPZN':function(_0xaf7e9){return _0xaf7e9();},'XpFKI':function(_0x2ed72c){return _0x2ed72c();},'eMGdH':_0x54113e(0x151),'fjdxY':function(_0x3b85a5,_0x1108a3){return _0x3b85a5(_0x1108a3);},'cpNmK':_0x54113e(0x148),'oERDB':function(_0x21bbda,_0xfc4061,_0x47bc8c){return _0x21bbda(_0xfc4061,_0x47bc8c);},'AgDub':function(_0x35526a,_0x59d8e0){return _0x35526a(_0x59d8e0);},'Vdcsz':_0x54113e(0x172),'YInvt':'✓\x20Removed\x20OpenCode\x20plugin\x20(user\x20config)','IwPOP':'✓\x20Uninstalled\x20Claude\x20plugin\x20(user\x20scope)','IfTRl':function(_0x4f72be){return _0x4f72be();},'qFHas':_0x54113e(0x164)};console['log'](_0x16bf14['hooQU']);let _0x4ae207=![];try{await _0x16bf14['dfZUP'](deleteAllCredentials),console['log'](_0x16bf14[_0x54113e(0x143)]),_0x4ae207=!![];}catch{}const _0x230603=_0x16bf14[_0x54113e(0x167)](getCacheFile);existsSync(_0x230603)&&(await _0x16bf14['qFNnv'](rm,_0x230603),_0x4ae207=!![]);const _0x5add56=_0x16bf14[_0x54113e(0x16f)](getRangerDir);existsSync(_0x5add56)&&(await _0x16bf14['xGNRP'](rm,_0x5add56,{'recursive':!![]}),console[_0x54113e(0x160)](_0x16bf14['yUDWc']),_0x4ae207=!![]);const _0x5b4853=_0x16bf14['jLPZN'](getProjectSkillsDir);for(const _0x1f0730 of skillsToRemove){const _0x14e797=_0x16bf14['xGNRP'](join,_0x5b4853,_0x1f0730);existsSync(_0x14e797)&&(await _0x16bf14[_0x54113e(0x144)](rm,_0x14e797,{'recursive':!![]}),console['log']('✓\x20Removed\x20project\x20skill:\x20'+_0x1f0730),_0x4ae207=!![]);}const _0x5370e1=_0x16bf14[_0x54113e(0x15a)](getUserSkillsDir);for(const _0x546dfa of skillsToRemove){const _0x5f5928=join(_0x5370e1,_0x546dfa);existsSync(_0x5f5928)&&(await rm(_0x5f5928,{'recursive':!![]}),console[_0x54113e(0x160)]('✓\x20Removed\x20user\x20skill:\x20'+_0x546dfa),_0x4ae207=!![]);}const _0x164b00=getOpencodeSkillsDir(_0x16bf14['eMGdH']);for(const _0x5b8328 of skillsToRemove){const _0x276763=_0x16bf14[_0x54113e(0x144)](join,_0x164b00,_0x5b8328);_0x16bf14['qFNnv'](existsSync,_0x276763)&&(await rm(_0x276763,{'recursive':!![]}),console['log'](_0x54113e(0x145)+_0x5b8328),_0x4ae207=!![]);}const _0x4773cb=_0x16bf14['fjdxY'](getOpencodeSkillsDir,_0x16bf14['cpNmK']);for(const _0x10fd08 of skillsToRemove){const _0x33269a=_0x16bf14[_0x54113e(0x169)](join,_0x4773cb,_0x10fd08);_0x16bf14[_0x54113e(0x163)](existsSync,_0x33269a)&&(await _0x16bf14['xGNRP'](rm,_0x33269a,{'recursive':!![]}),console['log']('✓\x20Removed\x20OpenCode\x20user\x20skill:\x20'+_0x10fd08),_0x4ae207=!![]);}const _0x4a70a2=_0x16bf14[_0x54113e(0x169)](join,_0x16bf14['AgDub'](getOpencodeConfigDir,_0x16bf14['eMGdH']),_0x16bf14[_0x54113e(0x171)]);await removeOpencodePluginConfig(_0x4a70a2)&&(console[_0x54113e(0x160)]('✓\x20Removed\x20OpenCode\x20plugin\x20(project\x20config)'),_0x4ae207=!![]);const _0x1fb963=join(getOpencodeConfigDir(_0x54113e(0x148)),_0x54113e(0x172));await removeOpencodePluginConfig(_0x1fb963)&&(console[_0x54113e(0x160)](_0x16bf14['YInvt']),_0x4ae207=!![]);const _0xa88d9e=await uninstallClaudePlugin();_0xa88d9e&&(console['log'](_0x16bf14[_0x54113e(0x161)]),_0x4ae207=!![]);const _0x118e5e=await uninstallClaudePlugin(_0x54113e(0x151));_0x118e5e&&(console['log']('✓\x20Uninstalled\x20Claude\x20plugin\x20(project\x20scope)'),_0x4ae207=!![]);const _0xf668d0=await _0x16bf14[_0x54113e(0x170)](removeMarketplace);_0xf668d0&&(console['log'](_0x54113e(0x165)),_0x4ae207=!![]),_0x4ae207?console['log'](_0x16bf14['qFHas']):console[_0x54113e(0x160)]('Nothing\x20to\x20clean\x20up.\x0a');}
@@ -1 +1 @@
1
- const _0x1408d2=_0xa9f1;function _0x482e(){const _0x27922f=['SjpiG','1852544FqyRtV','2514625xTisto','ZExih','true','No\x20configuration\x20set\x20for\x20\x22','bffyg','2SwGYAx','object','headless','GRalg','\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20','32591710aaYYkP','\x22\x20does\x20not\x20exist.','Kagjd','log','4745532FvPCfd','(not\x20set)','zLYwR','Removed\x20','5269544qIwTZd','329379EuyBHi','448506VFjhEK','false','7CXBmBu','Profile\x20\x22','18DfRAaf'];_0x482e=function(){return _0x27922f;};return _0x482e();}(function(_0x18c300,_0xa3c35b){const _0x200668=_0xa9f1,_0x30fa30=_0x18c300();while(!![]){try{const _0x48fe74=-parseInt(_0x200668(0x151))/0x1*(parseInt(_0x200668(0x143))/0x2)+-parseInt(_0x200668(0x152))/0x3+-parseInt(_0x200668(0x150))/0x4+parseInt(_0x200668(0x159))/0x5+parseInt(_0x200668(0x14c))/0x6*(-parseInt(_0x200668(0x154))/0x7)+parseInt(_0x200668(0x158))/0x8*(-parseInt(_0x200668(0x156))/0x9)+parseInt(_0x200668(0x148))/0xa;if(_0x48fe74===_0xa3c35b)break;else _0x30fa30['push'](_0x30fa30['shift']());}catch(_0x43f695){_0x30fa30['push'](_0x30fa30['shift']());}}}(_0x482e,0xadc5b));import{existsSync}from'fs';function _0xa9f1(_0x11cf03,_0x43c716){_0x11cf03=_0x11cf03-0x142;const _0x482e06=_0x482e();let _0xa9f14d=_0x482e06[_0x11cf03];return _0xa9f14d;}import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';const BOOLEAN_KEYS=[_0x1408d2(0x145)];function parseValue(_0x4224f4,_0x3ed08a){const _0x17fe22=_0x1408d2,_0x1afb00={'lwoNp':_0x17fe22(0x15b),'QgDuF':function(_0x19cdb6,_0x11457b){return _0x19cdb6===_0x11457b;}};if(BOOLEAN_KEYS['includes'](_0x4224f4)){if(_0x3ed08a===_0x1afb00['lwoNp'])return!![];if(_0x1afb00['QgDuF'](_0x3ed08a,_0x17fe22(0x153)))return![];throw new Error('Invalid\x20value\x20for\x20'+_0x4224f4+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x3ed08a;}export async function configSet(_0x33b51e,_0xdc8dcb,_0xb71611){const _0x570a33=_0x1408d2,_0x26d51c={'BCcaP':function(_0x42f89e,_0x1c5a58){return _0x42f89e(_0x1c5a58);},'bffyg':function(_0x343067,_0x2997a4){return _0x343067(_0x2997a4);},'SjpiG':function(_0x68e439,_0x13bac8,_0x1fd395,_0x5d16e6){return _0x68e439(_0x13bac8,_0x1fd395,_0x5d16e6);},'XoJfR':function(_0x126db1,_0x28fad7,_0x480fc0){return _0x126db1(_0x28fad7,_0x480fc0);}},_0x126734=_0x26d51c['BCcaP'](getEnvDir,_0x33b51e);if(!_0x26d51c[_0x570a33(0x142)](existsSync,_0x126734))throw new Error(_0x570a33(0x155)+_0x33b51e+_0x570a33(0x147)+_0x33b51e);const _0x27b00b=await loadSettings(_0x33b51e),_0x5a0ef5=parseValue(_0xdc8dcb,_0xb71611);_0x26d51c[_0x570a33(0x157)](setNestedValue,_0x27b00b,_0xdc8dcb,_0x5a0ef5),await _0x26d51c['XoJfR'](saveSettings,_0x33b51e,_0x27b00b),console['log']('Set\x20'+_0xdc8dcb+'\x20=\x20'+_0x5a0ef5);}export async function configGet(_0x4bf9a1,_0x5b9512){const _0x5922df=_0x1408d2,_0x2a52e2={'Kagjd':function(_0x96cab,_0x2838c8){return _0x96cab(_0x2838c8);},'ZExih':function(_0x26fedc,_0x28945c){return _0x26fedc===_0x28945c;}},_0x270355=_0x2a52e2[_0x5922df(0x14a)](getEnvDir,_0x4bf9a1);if(!_0x2a52e2[_0x5922df(0x14a)](existsSync,_0x270355))throw new Error('Profile\x20\x22'+_0x4bf9a1+'\x22\x20does\x20not\x20exist.');const _0x582bf5=await loadSettings(_0x4bf9a1),_0xd6bf51=getNestedValue(_0x582bf5,_0x5b9512);if(_0x2a52e2['ZExih'](_0xd6bf51,undefined))console[_0x5922df(0x14b)](_0x5922df(0x14d));else _0x2a52e2[_0x5922df(0x15a)](typeof _0xd6bf51,_0x5922df(0x144))?console['log'](JSON['stringify'](_0xd6bf51,null,0x2)):console['log'](_0xd6bf51);}export async function configList(_0x27bf24){const _0x338f38=_0x1408d2,_0xe74b67={'GRalg':function(_0x5c21d8,_0x4ed6ab){return _0x5c21d8(_0x4ed6ab);},'vaoVZ':function(_0x252fec,_0xe607bf){return _0x252fec(_0xe607bf);}},_0xad8e22=getSettingsPath(_0x27bf24);if(!existsSync(_0xad8e22)){const _0x24c91a=_0xe74b67[_0x338f38(0x146)](getEnvDir,_0x27bf24);if(!existsSync(_0x24c91a))throw new Error('Profile\x20\x22'+_0x27bf24+_0x338f38(0x149));console['log'](_0x338f38(0x15c)+_0x27bf24+'\x22');return;}const _0x3f9471=await _0xe74b67[_0x338f38(0x146)](loadSettings,_0x27bf24),_0x32ef69=_0xe74b67['vaoVZ'](formatSettings,_0x3f9471);!_0x32ef69?console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0x27bf24+'\x22'):console['log'](_0x32ef69);}export async function configUnset(_0x46bbc0,_0x2547ba){const _0x4de0b7=_0x1408d2,_0x2d302a={'LkbMl':function(_0x4f0024,_0x35d306){return _0x4f0024(_0x35d306);},'zLYwR':function(_0x33eaa1,_0x4a6b4d){return _0x33eaa1(_0x4a6b4d);},'gNWRx':function(_0x301e83,_0x3c0a78,_0x4c2555){return _0x301e83(_0x3c0a78,_0x4c2555);}},_0x1173d8=_0x2d302a['LkbMl'](getEnvDir,_0x46bbc0);if(!_0x2d302a[_0x4de0b7(0x14e)](existsSync,_0x1173d8))throw new Error('Profile\x20\x22'+_0x46bbc0+'\x22\x20does\x20not\x20exist.');const _0x1abb7b=await _0x2d302a['LkbMl'](loadSettings,_0x46bbc0),_0x4e1f91=_0x2d302a['gNWRx'](deleteNestedValue,_0x1abb7b,_0x2547ba);_0x4e1f91?(await saveSettings(_0x46bbc0,_0x1abb7b),console[_0x4de0b7(0x14b)](_0x4de0b7(0x14f)+_0x2547ba)):console['log']('Key\x20\x22'+_0x2547ba+'\x22\x20not\x20found');}
1
+ const _0x5710e4=_0x54b0;(function(_0x49fc50,_0x3e5f37){const _0x2eb817=_0x54b0,_0x3f5db9=_0x49fc50();while(!![]){try{const _0x278c88=-parseInt(_0x2eb817(0x13e))/0x1*(-parseInt(_0x2eb817(0x14a))/0x2)+-parseInt(_0x2eb817(0x14e))/0x3*(-parseInt(_0x2eb817(0x140))/0x4)+-parseInt(_0x2eb817(0x151))/0x5*(parseInt(_0x2eb817(0x157))/0x6)+parseInt(_0x2eb817(0x146))/0x7+-parseInt(_0x2eb817(0x152))/0x8*(-parseInt(_0x2eb817(0x147))/0x9)+parseInt(_0x2eb817(0x154))/0xa*(parseInt(_0x2eb817(0x14d))/0xb)+parseInt(_0x2eb817(0x143))/0xc*(-parseInt(_0x2eb817(0x14f))/0xd);if(_0x278c88===_0x3e5f37)break;else _0x3f5db9['push'](_0x3f5db9['shift']());}catch(_0x3e332b){_0x3f5db9['push'](_0x3f5db9['shift']());}}}(_0x30dc,0xb25d3));import{existsSync}from'fs';import{loadSettings,saveSettings,getNestedValue,setNestedValue,deleteNestedValue,formatSettings,getSettingsPath,getEnvDir}from'./utils/settings.js';function _0x54b0(_0x9ed0b8,_0x438d5f){_0x9ed0b8=_0x9ed0b8-0x13e;const _0x30dcc4=_0x30dc();let _0x54b0a8=_0x30dcc4[_0x9ed0b8];return _0x54b0a8;}const BOOLEAN_KEYS=[_0x5710e4(0x15a)];function parseValue(_0x11b619,_0x218f2e){const _0x4fe5bd=_0x5710e4,_0x332e92={'IkocH':function(_0x177e53,_0x58f475){return _0x177e53===_0x58f475;}};if(BOOLEAN_KEYS['includes'](_0x11b619)){if(_0x218f2e==='true')return!![];if(_0x332e92[_0x4fe5bd(0x14c)](_0x218f2e,'false'))return![];throw new Error(_0x4fe5bd(0x14b)+_0x11b619+':\x20expected\x20\x22true\x22\x20or\x20\x22false\x22');}return _0x218f2e;}export async function configSet(_0x9df30d,_0x1c758a,_0x1b4447){const _0x59e9d9=_0x5710e4,_0x38a2d0={'DCkRK':function(_0x4e1e49,_0x1270e3){return _0x4e1e49(_0x1270e3);},'kYSxK':function(_0x381643,_0x4145a6,_0x2ae788){return _0x381643(_0x4145a6,_0x2ae788);}},_0x51c7d7=_0x38a2d0['DCkRK'](getEnvDir,_0x9df30d);if(!_0x38a2d0['DCkRK'](existsSync,_0x51c7d7))throw new Error(_0x59e9d9(0x149)+_0x9df30d+'\x22\x20does\x20not\x20exist.\x20Run:\x20ranger\x20profile\x20add\x20'+_0x9df30d);const _0x2055bc=await _0x38a2d0[_0x59e9d9(0x153)](loadSettings,_0x9df30d),_0x2cb0dd=_0x38a2d0['kYSxK'](parseValue,_0x1c758a,_0x1b4447);setNestedValue(_0x2055bc,_0x1c758a,_0x2cb0dd),await saveSettings(_0x9df30d,_0x2055bc),console[_0x59e9d9(0x141)](_0x59e9d9(0x156)+_0x1c758a+_0x59e9d9(0x159)+_0x2cb0dd);}export async function configGet(_0x5a0427,_0x3691d4){const _0x74ebab=_0x5710e4,_0x403ace={'YbASl':function(_0x38adf6,_0x3f64a8){return _0x38adf6(_0x3f64a8);},'przKh':function(_0x21cd4f,_0x235c26){return _0x21cd4f(_0x235c26);},'Rvdgq':function(_0x5c472c,_0x57908f,_0x3af079){return _0x5c472c(_0x57908f,_0x3af079);},'hIJpk':function(_0x4e20fa,_0x48f023){return _0x4e20fa===_0x48f023;},'nrvBQ':_0x74ebab(0x144)},_0x19f3dd=getEnvDir(_0x5a0427);if(!_0x403ace[_0x74ebab(0x148)](existsSync,_0x19f3dd))throw new Error('Profile\x20\x22'+_0x5a0427+_0x74ebab(0x158));const _0xd14f6a=await _0x403ace[_0x74ebab(0x13f)](loadSettings,_0x5a0427),_0xbcc058=_0x403ace['Rvdgq'](getNestedValue,_0xd14f6a,_0x3691d4);if(_0x403ace['hIJpk'](_0xbcc058,undefined))console['log'](_0x74ebab(0x145));else typeof _0xbcc058===_0x403ace['nrvBQ']?console['log'](JSON['stringify'](_0xbcc058,null,0x2)):console[_0x74ebab(0x141)](_0xbcc058);}export async function configList(_0xf587f8){const _0x17f462=_0x5710e4,_0x101e0e={'dzUvz':function(_0x555513,_0xba125c){return _0x555513(_0xba125c);}},_0x22af87=getSettingsPath(_0xf587f8);if(!_0x101e0e[_0x17f462(0x142)](existsSync,_0x22af87)){const _0x528da3=getEnvDir(_0xf587f8);if(!existsSync(_0x528da3))throw new Error('Profile\x20\x22'+_0xf587f8+_0x17f462(0x158));console['log']('No\x20configuration\x20set\x20for\x20\x22'+_0xf587f8+'\x22');return;}const _0x548cfd=await loadSettings(_0xf587f8),_0x445a53=formatSettings(_0x548cfd);!_0x445a53?console[_0x17f462(0x141)](_0x17f462(0x155)+_0xf587f8+'\x22'):console[_0x17f462(0x141)](_0x445a53);}function _0x30dc(){const _0x5c0606=['24qYmIYF','log','dzUvz','1875708FYYpwS','object','(not\x20set)','398391bxQnaM','18dOVoEY','YbASl','Profile\x20\x22','31274KQQOEn','Invalid\x20value\x20for\x20','IkocH','3870757DtMcAV','590289MsqteX','169rOvrQY','Removed\x20','10GyuVTR','2281376fMuKyF','DCkRK','10SbRcGU','No\x20configuration\x20set\x20for\x20\x22','Set\x20','1381326OfNIMh','\x22\x20does\x20not\x20exist.','\x20=\x20','headless','68mqGmqs','przKh'];_0x30dc=function(){return _0x5c0606;};return _0x30dc();}export async function configUnset(_0x36abce,_0x70be0e){const _0x37ac2a=_0x5710e4,_0x2f5053={'axuvQ':function(_0x2f96f8,_0x4501f2){return _0x2f96f8(_0x4501f2);}},_0x316551=getEnvDir(_0x36abce);if(!existsSync(_0x316551))throw new Error('Profile\x20\x22'+_0x36abce+_0x37ac2a(0x158));const _0x197c02=await _0x2f5053['axuvQ'](loadSettings,_0x36abce),_0x905ed9=deleteNestedValue(_0x197c02,_0x70be0e);_0x905ed9?(await saveSettings(_0x36abce,_0x197c02),console['log'](_0x37ac2a(0x150)+_0x70be0e)):console['log']('Key\x20\x22'+_0x70be0e+'\x22\x20not\x20found');}