@ranger-testing/ranger-cli 2.4.7 → 2.5.1

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 (72) 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/agentEnv.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  38. package/build/commands/utils/claudePlugin.js +1 -1
  39. package/build/commands/utils/crypto.js +1 -1
  40. package/build/commands/utils/desirePathLog.js +1 -1
  41. package/build/commands/utils/deviceAuth.js +1 -1
  42. package/build/commands/utils/environment.js +1 -1
  43. package/build/commands/utils/featureApi.js +1 -1
  44. package/build/commands/utils/featureReportGenerator.js +1 -1
  45. package/build/commands/utils/fixWebmDuration.js +1 -1
  46. package/build/commands/utils/git.js +1 -1
  47. package/build/commands/utils/keychain.js +1 -1
  48. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  49. package/build/commands/utils/mcpImageBase64.js +1 -1
  50. package/build/commands/utils/model.js +1 -1
  51. package/build/commands/utils/opencodeConfig.js +1 -1
  52. package/build/commands/utils/playwrightCli.js +1 -1
  53. package/build/commands/utils/profileMessages.js +1 -1
  54. package/build/commands/utils/profileSetupBanner.js +1 -1
  55. package/build/commands/utils/rangerConfig.js +1 -1
  56. package/build/commands/utils/rangerRoot.js +1 -1
  57. package/build/commands/utils/reportGenerator.js +1 -1
  58. package/build/commands/utils/retry.js +1 -1
  59. package/build/commands/utils/sessionCache.js +1 -1
  60. package/build/commands/utils/settings.js +1 -1
  61. package/build/commands/utils/skillContent.js +1 -1
  62. package/build/commands/utils/skills.js +1 -1
  63. package/build/commands/utils/stitchWebmFiles.js +1 -1
  64. package/build/commands/utils/telemetry.js +1 -1
  65. package/build/commands/utils/tokenRefresh.js +1 -1
  66. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  67. package/build/commands/utils/userApi.js +1 -1
  68. package/build/commands/utils/version.js +1 -1
  69. package/build/commands/verifyFeature.js +1 -1
  70. package/build/commands/verifyFeatureCli.js +1 -1
  71. package/build/commands/verifyInBrowser.js +1 -1
  72. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x1b3f(){const _0xb768fe=['131432vegpKm','timed\x20out\x20after\x20','SIGKILL','pipe','command','--config','kill','1095798qLyQAg','data','commandArgs','JeZUa','bash_command','lfHLU','update','132330ytjUHZ','timeoutMs','RwgRq','toString','BJfCX','1015847MrDpvC','string','nMBuB','\x20signal=','digest','cmd','npx','30MQorin','values','playwright-cli\x20','783yftCdL','close','HONhG','-s=','oylyB','719914hRNYxr','\x0astderr:\x20','8120NkzNAl','exited\x20with\x20code=','\x0astdout:\x20','aeEkY','null','test','ignore','args','32CkgOTk','tevWr','script','find','2722260pLtzUO','pCLZa','stderr','JwRUI','BrYXX','sha256'];_0x1b3f=function(){return _0xb768fe;};return _0x1b3f();}(function(_0x38fe26,_0xaa00ee){const _0x163268=_0x2f8d,_0x7ae464=_0x38fe26();while(!![]){try{const _0x1221dd=-parseInt(_0x163268(0x134))/0x1+parseInt(_0x163268(0x120))/0x2+parseInt(_0x163268(0x13b))/0x3+-parseInt(_0x163268(0x122))/0x4*(parseInt(_0x163268(0x118))/0x5)+parseInt(_0x163268(0x12e))/0x6+parseInt(_0x163268(0x111))/0x7*(parseInt(_0x163268(0x12a))/0x8)+-parseInt(_0x163268(0x11b))/0x9*(parseInt(_0x163268(0x142))/0xa);if(_0x1221dd===_0xaa00ee)break;else _0x7ae464['push'](_0x7ae464['shift']());}catch(_0x379929){_0x7ae464['push'](_0x7ae464['shift']());}}}(_0x1b3f,0x71696));import{spawn}from'child_process';function _0x2f8d(_0x2e1ed7,_0x4141d9){_0x2e1ed7=_0x2e1ed7-0x111;const _0x1b3f68=_0x1b3f();let _0x2f8d3e=_0x1b3f68[_0x2e1ed7];return _0x2f8d3e;}import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x1a053b){const _0x2f2f54=_0x2f8d,_0x51b6d=createHash(_0x2f2f54(0x133))[_0x2f2f54(0x141)](_0x1a053b)[_0x2f2f54(0x115)]('hex')['slice'](0x0,0xc);return'rg-'+_0x51b6d;}function shellQuote(_0x37ee77){return'\x27'+_0x37ee77['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x272bee){const _0x17c3c9=_0x2f8d,_0x54dcda={'lOlOw':function(_0x256521,_0x5b32aa){return _0x256521(_0x5b32aa);}};return SAFE_SHELL_TOKEN[_0x17c3c9(0x127)](_0x272bee)?_0x272bee:_0x54dcda['lOlOw'](shellQuote,_0x272bee);}export function buildPlaywrightCliInvocation(_0x57063b,_0xfc5059,_0x4e8170){const _0x5db4db=_0x2f8d,_0x2d608c={'pCLZa':function(_0x56bb69,_0x20ec83){return _0x56bb69(_0x20ec83);},'aeEkY':'unknown','aIXye':_0x5db4db(0x117),'sWceF':_0x5db4db(0x139)},_0x294f2d=_0x2d608c[_0x5db4db(0x12f)](toPlaywrightCliSessionKey,_0x57063b),[_0x6e5ac7=_0x2d608c[_0x5db4db(0x125)]]=_0x4e8170,_0x3d4d68=[PLAYWRIGHT_CLI_BINARY,_0x5db4db(0x11e)+_0x294f2d,'--config',_0xfc5059,..._0x4e8170];return{'command':'npx','args':_0x3d4d68,'shellCommand':[_0x2d608c['aIXye'],PLAYWRIGHT_CLI_BINARY,_0x5db4db(0x11e)+quoteShellArg(_0x294f2d),_0x2d608c['sWceF'],_0x2d608c['pCLZa'](quoteShellArg,_0xfc5059),..._0x4e8170['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x6e5ac7};}export function buildPlaywrightCliCommandPrefix(_0x4a8096,_0xe85a9b){const _0x4e4cc8=_0x2f8d,_0x533c63={'zVLZZ':function(_0x55c0ac,_0x25df35){return _0x55c0ac(_0x25df35);},'chGph':_0x4e4cc8(0x117),'oylyB':function(_0x335322,_0x1e6fd7){return _0x335322(_0x1e6fd7);},'BJfCX':function(_0x199d8f,_0x261950){return _0x199d8f(_0x261950);}},_0x579364=_0x533c63['zVLZZ'](toPlaywrightCliSessionKey,_0x4a8096);return[_0x533c63['chGph'],PLAYWRIGHT_CLI_BINARY,'-s='+_0x533c63[_0x4e4cc8(0x11f)](quoteShellArg,_0x579364),_0x4e4cc8(0x139),_0x533c63[_0x4e4cc8(0x146)](quoteShellArg,_0xe85a9b)]['join']('\x20');}function truncateOutput(_0x482257,_0x5c763d=0x7d0){return _0x482257['length']>_0x5c763d?_0x482257['slice'](0x0,_0x5c763d)+'...':_0x482257;}export async function runPlaywrightCliCommand(_0x2a9fb1){const _0x2ad53c=_0x2f8d,_0x13c97d={'vIsmU':function(_0x336bd5,_0x2a28ce,_0x4ee76a){return _0x336bd5(_0x2a28ce,_0x4ee76a);},'fKcHo':function(_0x54b22f,_0x334298){return _0x54b22f??_0x334298;},'SYdEs':_0x2ad53c(0x128),'xvfbx':'pipe','LyVmV':'data','HONhG':'error','JwRUI':function(_0x1e13b9,_0x35b9cd,_0x5caf77,_0x52b0a7){return _0x1e13b9(_0x35b9cd,_0x5caf77,_0x52b0a7);}},_0x413c06=_0x13c97d[_0x2ad53c(0x131)](buildPlaywrightCliInvocation,_0x2a9fb1['sessionId'],_0x2a9fb1['configPath'],_0x2a9fb1[_0x2ad53c(0x13d)]);return new Promise((_0x3a9228,_0x2a22f0)=>{const _0x59df8f=_0x2ad53c,_0x2f36de={'lfHLU':_0x59df8f(0x136),'CjeDl':function(_0x414f5a,_0x565df9){return _0x414f5a===_0x565df9;},'nMBuB':function(_0xaae780,_0x39dbdb){return _0x13c97d['fKcHo'](_0xaae780,_0x39dbdb);},'tevWr':function(_0x2c4f5a,_0x4d9f8c){return _0x2c4f5a(_0x4d9f8c);}},_0x5a734a=spawn(_0x413c06[_0x59df8f(0x138)],_0x413c06[_0x59df8f(0x129)],{'cwd':_0x2a9fb1['cwd'],'env':_0x2a9fb1['env'],'stdio':[_0x13c97d['SYdEs'],_0x59df8f(0x137),_0x13c97d['xvfbx']]});let _0x3d41b9='',_0x4f182e='',_0x56682f=![];const _0x47aeb6=_0x2a9fb1[_0x59df8f(0x143)]&&_0x2a9fb1['timeoutMs']>0x0?setTimeout(()=>{_0x56682f=!![],_0x5a734a['kill']('SIGTERM'),_0x13c97d['vIsmU'](setTimeout,()=>{const _0x397353=_0x2f8d;try{_0x5a734a[_0x397353(0x13a)](_0x2f36de[_0x397353(0x140)]);}catch{}},0x3e8);},_0x2a9fb1[_0x59df8f(0x143)]):null;_0x5a734a['stdout']?.['on'](_0x13c97d['LyVmV'],_0x1dc02c=>{const _0x145a71=_0x59df8f;_0x3d41b9+=_0x1dc02c[_0x145a71(0x145)]();}),_0x5a734a[_0x59df8f(0x130)]?.['on'](_0x59df8f(0x13c),_0x43962f=>{const _0x5b8206=_0x59df8f;_0x4f182e+=_0x43962f[_0x5b8206(0x145)]();}),_0x5a734a['on'](_0x13c97d[_0x59df8f(0x11d)],_0x20e68a=>{if(_0x47aeb6)clearTimeout(_0x47aeb6);_0x2a22f0(_0x20e68a);}),_0x5a734a['on'](_0x59df8f(0x11c),(_0x423c81,_0x337c73)=>{const _0x51f326=_0x59df8f;if(_0x47aeb6)clearTimeout(_0x47aeb6);if(_0x2f36de['CjeDl'](_0x423c81,0x0)){_0x3a9228({'stdout':_0x3d41b9,'stderr':_0x4f182e,'invocation':_0x413c06});return;}const _0x52cc9d=_0x56682f?_0x51f326(0x135)+_0x2a9fb1[_0x51f326(0x143)]+'ms':_0x51f326(0x123)+_0x2f36de[_0x51f326(0x113)](_0x423c81,'null')+_0x51f326(0x114)+(_0x337c73??_0x51f326(0x126));_0x2f36de['tevWr'](_0x2a22f0,new Error(_0x51f326(0x11a)+_0x413c06['subcommand']+'\x20'+_0x52cc9d+_0x51f326(0x124)+_0x2f36de[_0x51f326(0x12b)](truncateOutput,_0x3d41b9)+_0x51f326(0x121)+truncateOutput(_0x4f182e)));});});}export function extractBashCommand(_0x236a60){const _0x20aa02=_0x2f8d,_0x3d20c1={'SWUIs':'command','JeZUa':_0x20aa02(0x116),'RwgRq':_0x20aa02(0x13f),'zzxcY':_0x20aa02(0x112),'BrYXX':function(_0x15a46d,_0x197776){return _0x15a46d??_0x197776;}},_0x21f91e=[_0x3d20c1['SWUIs'],_0x3d20c1[_0x20aa02(0x13e)],_0x20aa02(0x12c),_0x3d20c1[_0x20aa02(0x144)]];for(const _0xa45a5a of _0x21f91e){const _0x4474cd=_0x236a60[_0xa45a5a];if(typeof _0x4474cd===_0x3d20c1['zzxcY']&&_0x4474cd['trim']())return _0x4474cd;}const _0x350ea5=Object[_0x20aa02(0x119)](_0x236a60)[_0x20aa02(0x12d)](_0x400027=>typeof _0x400027===_0x20aa02(0x112)&&_0x400027['trim']()['length']>0x0);return _0x3d20c1[_0x20aa02(0x132)](_0x350ea5,null);}export function parsePlaywrightCliCommand(_0x425387){const _0x1aeee8=_0x425387['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x1aeee8?.[0x1]??null;}
1
+ const _0xa02688=_0x1d83;(function(_0x514380,_0xcb30f5){const _0x2dc569=_0x1d83,_0x1de4a3=_0x514380();while(!![]){try{const _0x3db824=parseInt(_0x2dc569(0x17d))/0x1+-parseInt(_0x2dc569(0x16c))/0x2+parseInt(_0x2dc569(0x164))/0x3+parseInt(_0x2dc569(0x171))/0x4*(parseInt(_0x2dc569(0x15d))/0x5)+parseInt(_0x2dc569(0x178))/0x6+-parseInt(_0x2dc569(0x153))/0x7+parseInt(_0x2dc569(0x160))/0x8;if(_0x3db824===_0xcb30f5)break;else _0x1de4a3['push'](_0x1de4a3['shift']());}catch(_0x4f4522){_0x1de4a3['push'](_0x1de4a3['shift']());}}}(_0x31b8,0x260ee));function _0x1d83(_0x2d3358,_0x3af105){_0x2d3358=_0x2d3358-0x14e;const _0x31b8c4=_0x31b8();let _0x1d83c6=_0x31b8c4[_0x2d3358];return _0x1d83c6;}import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY=_0xa02688(0x172);function toPlaywrightCliSessionKey(_0x2a6be0){const _0x3d9aa9=_0xa02688,_0x4e7235={'yPubu':_0x3d9aa9(0x151),'VrFKG':'hex'},_0x236661=createHash(_0x4e7235['yPubu'])[_0x3d9aa9(0x15f)](_0x2a6be0)['digest'](_0x4e7235['VrFKG'])[_0x3d9aa9(0x17e)](0x0,0xc);return'rg-'+_0x236661;}function shellQuote(_0x5a4049){return'\x27'+_0x5a4049['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}function _0x31b8(){const _0x49812a=['unknown','string','length','18444LoFPIS','CLCZS','script','data','join','map','sVuKW','sessionId','229370QIvgnA','dNKBd','hCWAv','pipe','timed\x20out\x20after\x20','844JIsBEG','@playwright/cli','null','stderr','toString','values','VaEmY','844848mxCFlX','uKwpb','INhnL','ignore','error','193347scqMAy','slice','trim','\x0astdout:\x20','ZrRxk','timeoutMs','nPTgN','sha256','find','1330049XlFmAp','command','commandArgs','configPath','kill','HmFfB','...','\x0astderr:\x20','--config','-s=','985QGOKnG','bash_command','update','629664EdsQth'];_0x31b8=function(){return _0x49812a;};return _0x31b8();}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x589dd9){return SAFE_SHELL_TOKEN['test'](_0x589dd9)?_0x589dd9:shellQuote(_0x589dd9);}export function buildPlaywrightCliInvocation(_0x124ed2,_0x37beda,_0x4496e1){const _0x13183d=_0xa02688,_0x522da5={'LOHxt':'npx','PIrIB':function(_0x31a5df,_0x2548bd){return _0x31a5df(_0x2548bd);},'HmFfB':function(_0x1a69ce,_0x271838){return _0x1a69ce(_0x271838);}},_0x1c48fb=toPlaywrightCliSessionKey(_0x124ed2),[_0x17d1e1=_0x13183d(0x161)]=_0x4496e1,_0x6d184f=[PLAYWRIGHT_CLI_BINARY,_0x13183d(0x15c)+_0x1c48fb,'--config',_0x37beda,..._0x4496e1];return{'command':'npx','args':_0x6d184f,'shellCommand':[_0x522da5['LOHxt'],PLAYWRIGHT_CLI_BINARY,_0x13183d(0x15c)+_0x522da5['PIrIB'](quoteShellArg,_0x1c48fb),'--config',_0x522da5[_0x13183d(0x158)](quoteShellArg,_0x37beda),..._0x4496e1[_0x13183d(0x169)](quoteShellArg)][_0x13183d(0x168)]('\x20'),'subcommand':_0x17d1e1};}export function buildPlaywrightCliCommandPrefix(_0xbb4bbf,_0x4e83fc){const _0x4e5cf9=_0xa02688,_0x1d9ad7={'sVuKW':function(_0x626917,_0x1178c0){return _0x626917(_0x1178c0);},'oZiuJ':'npx','xglYZ':_0x4e5cf9(0x15b)},_0x35d353=_0x1d9ad7[_0x4e5cf9(0x16a)](toPlaywrightCliSessionKey,_0xbb4bbf);return[_0x1d9ad7['oZiuJ'],PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x35d353),_0x1d9ad7['xglYZ'],quoteShellArg(_0x4e83fc)][_0x4e5cf9(0x168)]('\x20');}function truncateOutput(_0x28aa00,_0x353fc4=0x7d0){const _0x1e2bc9=_0xa02688,_0x18cbed={'dNKBd':function(_0x3d4053,_0x559568){return _0x3d4053>_0x559568;},'nPTgN':function(_0x28a35e,_0x3518cc){return _0x28a35e+_0x3518cc;}};return _0x18cbed[_0x1e2bc9(0x16d)](_0x28aa00['length'],_0x353fc4)?_0x18cbed[_0x1e2bc9(0x150)](_0x28aa00['slice'](0x0,_0x353fc4),_0x1e2bc9(0x159)):_0x28aa00;}export async function runPlaywrightCliCommand(_0x2aa5db){const _0x4fa281=_0xa02688,_0x41b876={'VaEmY':'SIGKILL','WGrPX':'SIGTERM','OAyjI':function(_0x28247b,_0x2e3433,_0x8ea836){return _0x28247b(_0x2e3433,_0x8ea836);},'ZrRxk':function(_0x8dc4e9,_0x725a22){return _0x8dc4e9(_0x725a22);},'uKwpb':function(_0x1517fb,_0x401252){return _0x1517fb(_0x401252);},'CLCZS':'null','eMMeU':_0x4fa281(0x17b),'hCWAv':_0x4fa281(0x16f)},_0x1281e5=buildPlaywrightCliInvocation(_0x2aa5db[_0x4fa281(0x16b)],_0x2aa5db[_0x4fa281(0x156)],_0x2aa5db[_0x4fa281(0x155)]);return new Promise((_0x351b68,_0x130ba6)=>{const _0x554d87=_0x4fa281,_0x29d616=spawn(_0x1281e5[_0x554d87(0x154)],_0x1281e5['args'],{'cwd':_0x2aa5db['cwd'],'env':_0x2aa5db['env'],'stdio':[_0x41b876['eMMeU'],_0x554d87(0x16f),_0x41b876[_0x554d87(0x16e)]]});let _0x23495c='',_0x48d039='',_0x3326ad=![];const _0x11ea56=_0x2aa5db['timeoutMs']&&_0x2aa5db[_0x554d87(0x14f)]>0x0?setTimeout(()=>{const _0x1f95c9=_0x554d87,_0x410f14={'IHqRR':_0x41b876[_0x1f95c9(0x177)]};_0x3326ad=!![],_0x29d616[_0x1f95c9(0x157)](_0x41b876['WGrPX']),_0x41b876['OAyjI'](setTimeout,()=>{try{_0x29d616['kill'](_0x410f14['IHqRR']);}catch{}},0x3e8);},_0x2aa5db[_0x554d87(0x14f)]):null;_0x29d616['stdout']?.['on']('data',_0x546777=>{_0x23495c+=_0x546777['toString']();}),_0x29d616[_0x554d87(0x174)]?.['on'](_0x554d87(0x167),_0x180f9d=>{const _0x39b2a7=_0x554d87;_0x48d039+=_0x180f9d[_0x39b2a7(0x175)]();}),_0x29d616['on'](_0x554d87(0x17c),_0x35e809=>{const _0x5c285f=_0x554d87;if(_0x11ea56)clearTimeout(_0x11ea56);_0x41b876[_0x5c285f(0x14e)](_0x130ba6,_0x35e809);}),_0x29d616['on']('close',(_0x361c7d,_0x584e0b)=>{const _0x35d298=_0x554d87;if(_0x11ea56)_0x41b876['uKwpb'](clearTimeout,_0x11ea56);if(_0x361c7d===0x0){_0x41b876[_0x35d298(0x179)](_0x351b68,{'stdout':_0x23495c,'stderr':_0x48d039,'invocation':_0x1281e5});return;}const _0x50f0c6=_0x3326ad?_0x35d298(0x170)+_0x2aa5db[_0x35d298(0x14f)]+'ms':'exited\x20with\x20code='+(_0x361c7d??_0x35d298(0x173))+'\x20signal='+(_0x584e0b??_0x41b876[_0x35d298(0x165)]);_0x130ba6(new Error('playwright-cli\x20'+_0x1281e5['subcommand']+'\x20'+_0x50f0c6+_0x35d298(0x180)+_0x41b876[_0x35d298(0x179)](truncateOutput,_0x23495c)+_0x35d298(0x15a)+truncateOutput(_0x48d039)));});});}export function extractBashCommand(_0x56ab21){const _0x3a53c6=_0xa02688,_0x567ab7={'INhnL':_0x3a53c6(0x166),'uKFBp':_0x3a53c6(0x15e),'PEHbF':function(_0xe593ae,_0x3c5604){return _0xe593ae===_0x3c5604;},'sTaYO':'string'},_0x36ed67=['command','cmd',_0x567ab7[_0x3a53c6(0x17a)],_0x567ab7['uKFBp']];for(const _0x425983 of _0x36ed67){const _0x3f6752=_0x56ab21[_0x425983];if(_0x567ab7['PEHbF'](typeof _0x3f6752,_0x567ab7['sTaYO'])&&_0x3f6752[_0x3a53c6(0x17f)]())return _0x3f6752;}const _0x184f6=Object[_0x3a53c6(0x176)](_0x56ab21)[_0x3a53c6(0x152)](_0xf948eb=>typeof _0xf948eb===_0x3a53c6(0x162)&&_0xf948eb[_0x3a53c6(0x17f)]()[_0x3a53c6(0x163)]>0x0);return _0x184f6??null;}export function parsePlaywrightCliCommand(_0x2c5197){const _0x129d0a=_0x2c5197['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x129d0a?.[0x1]??null;}
@@ -1 +1 @@
1
- function _0x5c68(_0x5b27a6,_0x3f0aea){_0x5b27a6=_0x5b27a6-0x109;const _0x14355d=_0x1435();let _0x5c68f7=_0x14355d[_0x5b27a6];return _0x5c68f7;}function _0x1435(){const _0x59ca58=['1287472fSsowz','Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20','16392LwFBWo','9yexkkv','ranger\x20profile\x20add\x20local','2941470qboPAF','140liWiqx','40065swuPns','4069595qlSFBW','3619THzRqx','724810YAzOXL','257070chzLVv'];_0x1435=function(){return _0x59ca58;};return _0x1435();}const _0x4fe616=_0x5c68;(function(_0x12e304,_0x51825a){const _0x101c5d=_0x5c68,_0x481022=_0x12e304();while(!![]){try{const _0x412edf=parseInt(_0x101c5d(0x10d))/0x1+parseInt(_0x101c5d(0x10e))/0x2+-parseInt(_0x101c5d(0x109))/0x3*(parseInt(_0x101c5d(0x114))/0x4)+parseInt(_0x101c5d(0x10a))/0x5+parseInt(_0x101c5d(0x113))/0x6+parseInt(_0x101c5d(0x10b))/0x7*(-parseInt(_0x101c5d(0x110))/0x8)+parseInt(_0x101c5d(0x111))/0x9*(-parseInt(_0x101c5d(0x10c))/0xa);if(_0x412edf===_0x51825a)break;else _0x481022['push'](_0x481022['shift']());}catch(_0x19e7a2){_0x481022['push'](_0x481022['shift']());}}}(_0x1435,0x93e23));const DEFAULT_PROFILE_COMMAND=_0x4fe616(0x112);export function formatProfileRequiredMessage(_0x58e38b){const _0x49e8b2=_0x4fe616,_0x1c9080=_0x58e38b?_0x58e38b(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x49e8b2(0x10f)+_0x1c9080+'.';}
1
+ (function(_0x24517e,_0x74bf37){const _0x186865=_0x4258,_0x5b76cb=_0x24517e();while(!![]){try{const _0x1c9fda=parseInt(_0x186865(0x183))/0x1+parseInt(_0x186865(0x189))/0x2*(-parseInt(_0x186865(0x18a))/0x3)+-parseInt(_0x186865(0x187))/0x4*(-parseInt(_0x186865(0x181))/0x5)+parseInt(_0x186865(0x180))/0x6+-parseInt(_0x186865(0x182))/0x7*(parseInt(_0x186865(0x188))/0x8)+-parseInt(_0x186865(0x186))/0x9*(parseInt(_0x186865(0x185))/0xa)+-parseInt(_0x186865(0x184))/0xb;if(_0x1c9fda===_0x74bf37)break;else _0x5b76cb['push'](_0x5b76cb['shift']());}catch(_0x1a0964){_0x5b76cb['push'](_0x5b76cb['shift']());}}}(_0x2a85,0xa90b0));function _0x4258(_0x2b3df3,_0x100aa8){_0x2b3df3=_0x2b3df3-0x180;const _0x2a8527=_0x2a85();let _0x425856=_0x2a8527[_0x2b3df3];return _0x425856;}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x2a85(){const _0xebe415=['10vLbCum','1799406yglCga','4ZBVBaK','1897296fZbSpt','357142msBmPt','3VcOxVA','2854050lqDnbr','5862305ExjgSk','21NgXCZK','1298513gpmipj','12806838lhnSeX'];_0x2a85=function(){return _0xebe415;};return _0x2a85();}export function formatProfileRequiredMessage(_0x522c20){const _0x8d534e=_0x522c20?_0x522c20(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20'+_0x8d534e+'.';}
@@ -1 +1 @@
1
- (function(_0x17053a,_0x1151a8){const _0x1d885e=_0x51b0,_0x405b23=_0x17053a();while(!![]){try{const _0x455509=parseInt(_0x1d885e(0xde))/0x1+parseInt(_0x1d885e(0xe1))/0x2+-parseInt(_0x1d885e(0xda))/0x3+parseInt(_0x1d885e(0xe3))/0x4+parseInt(_0x1d885e(0xdf))/0x5*(-parseInt(_0x1d885e(0xea))/0x6)+-parseInt(_0x1d885e(0xdb))/0x7*(parseInt(_0x1d885e(0xee))/0x8)+parseInt(_0x1d885e(0xe8))/0x9*(parseInt(_0x1d885e(0xed))/0xa);if(_0x455509===_0x1151a8)break;else _0x405b23['push'](_0x405b23['shift']());}catch(_0x47cbb7){_0x405b23['push'](_0x405b23['shift']());}}}(_0x424f,0xd19b1));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x531d09=_0x51b0,_0x1cd75e={'Wsyns':function(_0x5ad0f7,_0x1387a7){return _0x5ad0f7+_0x1387a7;},'TZZtP':_0x531d09(0xe7),'WwSdC':_0x531d09(0xe5),'ftISZ':'</div>'},_0x3440ed=_0x1cd75e[_0x531d09(0xec)]('<div\x20class=\x22ranger-banner__content\x22>'+_0x531d09(0xe2)+_0x1cd75e[_0x531d09(0xdc)],'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x1cd75e[_0x531d09(0xe4)]+'</div>'+_0x1cd75e[_0x531d09(0xdd)]+_0x531d09(0xe9),_0x20959a=_0x531d09(0xeb);return _0x531d09(0xe6)+JSON[_0x531d09(0xd9)](_0x3440ed)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON[_0x531d09(0xd9)](_0x20959a)+_0x531d09(0xe0);})());function _0x424f(){const _0x42e458=['1639442ETmngs','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','873688WulDgp','WwSdC','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','<div\x20class=\x22ranger-banner__message\x22>','9Rnpaxz','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','12COZhkJ','\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a','Wsyns','22644930JMYudy','32DmApdQ','stringify','1543077BCkuaB','2658425PXqEXN','TZZtP','ftISZ','1201180codBuU','4029530veUbqf',';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a'];_0x424f=function(){return _0x42e458;};return _0x424f();}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x51b0(_0x23af6f,_0x22f006){_0x23af6f=_0x23af6f-0xd9;const _0x424f7b=_0x424f();let _0x51b091=_0x424f7b[_0x23af6f];return _0x51b091;}export async function addProfileSetupBanner(_0x1bde48){await _0x1bde48['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x4f31ca,_0x42c80f){const _0x595659=_0x5629,_0x427e64=_0x4f31ca();while(!![]){try{const _0x1af4bf=parseInt(_0x595659(0xa3))/0x1+-parseInt(_0x595659(0xa6))/0x2+-parseInt(_0x595659(0xa4))/0x3+parseInt(_0x595659(0xac))/0x4*(parseInt(_0x595659(0xb1))/0x5)+-parseInt(_0x595659(0xae))/0x6+-parseInt(_0x595659(0xb2))/0x7+-parseInt(_0x595659(0xb3))/0x8*(-parseInt(_0x595659(0xa9))/0x9);if(_0x1af4bf===_0x42c80f)break;else _0x427e64['push'](_0x427e64['shift']());}catch(_0x4c47a9){_0x427e64['push'](_0x427e64['shift']());}}}(_0x49d4,0x9ea20));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x297b99=_0x5629,_0x32ed1a={'xxuHk':function(_0x1c7801,_0x372348){return _0x1c7801+_0x372348;},'OpKvY':function(_0x54e2cc,_0x538eed){return _0x54e2cc+_0x538eed;},'VXSJM':_0x297b99(0xa2),'SjTUV':'<div\x20class=\x22ranger-banner__message\x22>','StAWa':'</div>'},_0x3025c4=_0x32ed1a['xxuHk'](_0x32ed1a['OpKvY'](_0x32ed1a['VXSJM']+_0x297b99(0xa5)+_0x32ed1a[_0x297b99(0xb0)],_0x297b99(0xaf)),'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>')+_0x32ed1a[_0x297b99(0xad)]+_0x32ed1a[_0x297b99(0xad)]+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x17caf6=_0x297b99(0xa7);return _0x297b99(0xab)+JSON[_0x297b99(0xaa)](_0x3025c4)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON['stringify'](_0x17caf6)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());function _0x49d4(){const _0x49c245=['\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a','addInitScript','12276CyhHsa','stringify','\x0a(()\x20=>\x20{\x0a\x20\x20const\x20bannerId\x20=\x20\x27ranger-profile-setup-banner\x27;\x0a\x20\x20const\x20styleId\x20=\x20\x27ranger-profile-setup-banner-style\x27;\x0a\x20\x20const\x20dismissedKey\x20=\x20\x27rangerProfileBannerDismissed\x27;\x0a\x0a\x20\x20const\x20getStorage\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20window.sessionStorage;\x0a\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20null;\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20const\x20storage\x20=\x20getStorage();\x0a\x20\x20if\x20(storage\x20&&\x20storage.getItem(dismissedKey)\x20===\x20\x271\x27)\x20{\x0a\x20\x20\x20\x20return;\x0a\x20\x20}\x0a\x0a\x20\x20const\x20inject\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20if\x20(document.getElementById(bannerId))\x20return;\x0a\x0a\x20\x20\x20\x20const\x20banner\x20=\x20document.createElement(\x27div\x27);\x0a\x20\x20\x20\x20banner.id\x20=\x20bannerId;\x0a\x20\x20\x20\x20banner.setAttribute(\x27role\x27,\x20\x27region\x27);\x0a\x20\x20\x20\x20banner.setAttribute(\x27aria-label\x27,\x20\x27Ranger\x20profile\x20setup\x27);\x0a\x20\x20\x20\x20banner.innerHTML\x20=\x20','154796FUnHfA','StAWa','966930QHdPJI','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','SjTUV','115WuaEde','8163939XvGzjj','13696tbeFMc','<div\x20class=\x22ranger-banner__content\x22>','452969QJMQXX','2332206YiSfmQ','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','1847240BiyiuO'];_0x49d4=function(){return _0x49c245;};return _0x49d4();}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x5629(_0x18ffe1,_0x2320d1){_0x18ffe1=_0x18ffe1-0xa2;const _0x49d408=_0x49d4();let _0x5629dd=_0x49d408[_0x18ffe1];return _0x5629dd;}export async function addProfileSetupBanner(_0x31b644){const _0xc3d363=_0x5629;await _0x31b644[_0xc3d363(0xa8)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x5e379a,_0x1d2eb9){const _0x25b325=_0x3832,_0x25b381=_0x5e379a();while(!![]){try{const _0x1939ef=parseInt(_0x25b325(0xdf))/0x1+-parseInt(_0x25b325(0xe0))/0x2*(parseInt(_0x25b325(0xe1))/0x3)+parseInt(_0x25b325(0xe6))/0x4+parseInt(_0x25b325(0xde))/0x5+-parseInt(_0x25b325(0xe8))/0x6*(parseInt(_0x25b325(0xe5))/0x7)+parseInt(_0x25b325(0xea))/0x8*(parseInt(_0x25b325(0xec))/0x9)+-parseInt(_0x25b325(0xe4))/0xa;if(_0x1939ef===_0x1d2eb9)break;else _0x25b381['push'](_0x25b381['shift']());}catch(_0x24ed8e){_0x25b381['push'](_0x25b381['shift']());}}}(_0x3e17,0xb8a10));import{readFile}from'fs/promises';function _0x3e17(){const _0xa7b4a1=['1167233sGNscx','4394zmjTqq','1146erKZsK','object','model','17798730RlQdZH','2872597hWngiO','2850428LpBbNn','lMQdf','6ejUQSX','CdZtQ','1594744HEqcmb','string','36WuIDZJ','message','hlyzH','warn','5542630ZgabsZ'];_0x3e17=function(){return _0xa7b4a1;};return _0x3e17();}import{existsSync}from'fs';import{join}from'path';function _0x3832(_0x536ffe,_0x391b0b){_0x536ffe=_0x536ffe-0xde;const _0x3e17d5=_0x3e17();let _0x38329b=_0x3e17d5[_0x536ffe];return _0x38329b;}import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x42154c={'RRQBX':'config.json'};return join(getRangerDir(),_0x42154c['RRQBX']);}export async function loadRangerConfig(){const _0xbaff12=_0x3832,_0x59ec18={'CdZtQ':function(_0x4f115d,_0x5c9f84){return _0x4f115d(_0x5c9f84);},'dvTth':'utf-8','lSuEj':_0xbaff12(0xe2),'lMQdf':_0xbaff12(0xeb),'hlyzH':function(_0x4875c9,_0x2530d7){return _0x4875c9 instanceof _0x2530d7;}},_0x1df95d=getRangerConfigPath();if(!_0x59ec18[_0xbaff12(0xe9)](existsSync,_0x1df95d))return{};try{const _0x5ed0c6=await readFile(_0x1df95d,_0x59ec18['dvTth']),_0x317346=JSON['parse'](_0x5ed0c6);if(!_0x317346||typeof _0x317346!==_0x59ec18['lSuEj']||Array['isArray'](_0x317346))return{};const _0x346565={},_0x421bcf=_0x317346['model'];return typeof _0x421bcf===_0x59ec18[_0xbaff12(0xe7)]&&(_0x346565[_0xbaff12(0xe3)]=_0x421bcf),_0x346565;}catch(_0x2ff361){const _0x4927cd=_0x59ec18[_0xbaff12(0xee)](_0x2ff361,Error)?_0x2ff361[_0xbaff12(0xed)]:_0x59ec18['CdZtQ'](String,_0x2ff361);return console[_0xbaff12(0xef)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x1df95d+':\x20'+_0x4927cd),{};}}
1
+ (function(_0x170e65,_0x43c8dc){const _0x9c8f70=_0x19c2,_0x2e2179=_0x170e65();while(!![]){try{const _0x4c9947=-parseInt(_0x9c8f70(0x1b8))/0x1+parseInt(_0x9c8f70(0x1ac))/0x2+-parseInt(_0x9c8f70(0x1bb))/0x3*(parseInt(_0x9c8f70(0x1b1))/0x4)+parseInt(_0x9c8f70(0x1b9))/0x5*(-parseInt(_0x9c8f70(0x1ae))/0x6)+parseInt(_0x9c8f70(0x1b4))/0x7*(-parseInt(_0x9c8f70(0x1c1))/0x8)+parseInt(_0x9c8f70(0x1b2))/0x9*(parseInt(_0x9c8f70(0x1b6))/0xa)+parseInt(_0x9c8f70(0x1af))/0xb*(parseInt(_0x9c8f70(0x1c0))/0xc);if(_0x4c9947===_0x43c8dc)break;else _0x2e2179['push'](_0x2e2179['shift']());}catch(_0x25165e){_0x2e2179['push'](_0x2e2179['shift']());}}}(_0x3970,0xe23f6));function _0x3970(){const _0x3795df=['utf-8','11506831FnPfJN','warn','1210910FlUmSi','model','1475498qquSzu','815DvFNBQ','object','4395wJuWrX','dQASL','dySTb','message','config.json','23942448UoLjpK','8uXpWZO','yrlZz','2380312YhckeQ','parse','29478vYOltV','22KIMQVN','isArray','4548LCctXb','99oslXZB'];_0x3970=function(){return _0x3795df;};return _0x3970();}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x570d83=_0x19c2,_0x5890e6={'rIoQM':function(_0x5649b3){return _0x5649b3();}};return join(_0x5890e6['rIoQM'](getRangerDir),_0x570d83(0x1bf));}function _0x19c2(_0x2a430d,_0x284be6){_0x2a430d=_0x2a430d-0x1ac;const _0x397089=_0x3970();let _0x19c29e=_0x397089[_0x2a430d];return _0x19c29e;}export async function loadRangerConfig(){const _0x55da11=_0x19c2,_0x12844d={'kPdJX':function(_0x2707ee){return _0x2707ee();},'dQASL':function(_0x13590b,_0x3bf48c){return _0x13590b!==_0x3bf48c;},'yrlZz':_0x55da11(0x1ba),'dySTb':function(_0x1f5199,_0x52766a){return _0x1f5199===_0x52766a;}},_0x30a955=_0x12844d['kPdJX'](getRangerConfigPath);if(!existsSync(_0x30a955))return{};try{const _0x322ad7=await readFile(_0x30a955,_0x55da11(0x1b3)),_0xd49a3b=JSON[_0x55da11(0x1ad)](_0x322ad7);if(!_0xd49a3b||_0x12844d[_0x55da11(0x1bc)](typeof _0xd49a3b,_0x12844d[_0x55da11(0x1c2)])||Array[_0x55da11(0x1b0)](_0xd49a3b))return{};const _0x514309={},_0x4fa0fa=_0xd49a3b['model'];return _0x12844d[_0x55da11(0x1bd)](typeof _0x4fa0fa,'string')&&(_0x514309[_0x55da11(0x1b7)]=_0x4fa0fa),_0x514309;}catch(_0x10a583){const _0x3b70e5=_0x10a583 instanceof Error?_0x10a583[_0x55da11(0x1be)]:String(_0x10a583);return console[_0x55da11(0x1b5)]('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x30a955+':\x20'+_0x3b70e5),{};}}
@@ -1 +1 @@
1
- function _0x1f69(){const _0x40b647=['.ranger','203802duzfTK','446795MYRHSf','5552397maEkpb','1345256RsSNbJ','BQfOv','mrvhH','3croKzP','143mPPjRk','mFuVK','1563720iDlvaq','root','8kBfmxw','.git','64VHHogC','3338268dJDcNW','342078EWkTdd','cwd','33EgkhJz','56FeJJhP','elNmx','qNLHi'];_0x1f69=function(){return _0x40b647;};return _0x1f69();}(function(_0x18bf48,_0x40bbc5){const _0x3b6bf7=_0x4702,_0x3ebbbd=_0x18bf48();while(!![]){try{const _0x4f24bd=-parseInt(_0x3b6bf7(0x1a0))/0x1+parseInt(_0x3b6bf7(0x19d))/0x2*(-parseInt(_0x3b6bf7(0x1a3))/0x3)+-parseInt(_0x3b6bf7(0x1aa))/0x4*(parseInt(_0x3b6bf7(0x19e))/0x5)+-parseInt(_0x3b6bf7(0x1ac))/0x6*(parseInt(_0x3b6bf7(0x1af))/0x7)+-parseInt(_0x3b6bf7(0x1a8))/0x8*(-parseInt(_0x3b6bf7(0x19f))/0x9)+parseInt(_0x3b6bf7(0x1a6))/0xa*(parseInt(_0x3b6bf7(0x1ae))/0xb)+parseInt(_0x3b6bf7(0x1ab))/0xc*(parseInt(_0x3b6bf7(0x1a4))/0xd);if(_0x4f24bd===_0x40bbc5)break;else _0x3ebbbd['push'](_0x3ebbbd['shift']());}catch(_0xb95a7e){_0x3ebbbd['push'](_0x3ebbbd['shift']());}}}(_0x1f69,0xc6843));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x14c59c=_0x4702,_0x460ade={'mUpfc':function(_0x44c589,_0x5cca91){return _0x44c589(_0x5cca91);},'jzTUZ':_0x14c59c(0x19c),'VqSNE':function(_0xc280c,_0x380fbd){return _0xc280c(_0x380fbd);},'mOxiS':function(_0xd64f56,_0x462173,_0x5c018e){return _0xd64f56(_0x462173,_0x5c018e);}};let _0x55ed16=process['cwd']();const _0x1b676f=parse(_0x55ed16)[_0x14c59c(0x1a7)];while(_0x55ed16!==_0x1b676f){if(_0x460ade['mUpfc'](existsSync,join(_0x55ed16,_0x460ade['jzTUZ'])))return _0x55ed16;_0x55ed16=dirname(_0x55ed16);}if(_0x460ade['VqSNE'](existsSync,_0x460ade['mOxiS'](join,_0x1b676f,_0x460ade['jzTUZ'])))return _0x1b676f;const _0x2a7640=findGitRoot();if(_0x2a7640)return _0x2a7640;return process['cwd']();}function _0x4702(_0x146dd3,_0xb2956f){_0x146dd3=_0x146dd3-0x19c;const _0x1f6901=_0x1f69();let _0x470215=_0x1f6901[_0x146dd3];return _0x470215;}export function getRangerDir(){const _0x53c744=_0x4702,_0x819162={'mFuVK':function(_0x3ceee8,_0x2c36e5,_0x56af00){return _0x3ceee8(_0x2c36e5,_0x56af00);},'mrvhH':function(_0x1974c3){return _0x1974c3();},'qjbDb':_0x53c744(0x19c)};return _0x819162[_0x53c744(0x1a5)](join,_0x819162[_0x53c744(0x1a2)](getRangerRoot),_0x819162['qjbDb']);}export function findGitRoot(){const _0x5e9390=_0x4702,_0x33792c={'qNLHi':function(_0x12ca7f,_0x21f05d){return _0x12ca7f(_0x21f05d);},'xDkyo':function(_0x3af053,_0x37456c){return _0x3af053(_0x37456c);},'elNmx':_0x5e9390(0x1a9),'BQfOv':function(_0x3f0c6a,_0x2bfb77,_0x441963){return _0x3f0c6a(_0x2bfb77,_0x441963);}};let _0x582cd4=process[_0x5e9390(0x1ad)]();const _0x436e95=_0x33792c['qNLHi'](parse,_0x582cd4)['root'];while(_0x582cd4!==_0x436e95){if(_0x33792c['xDkyo'](existsSync,join(_0x582cd4,_0x33792c['elNmx'])))return _0x582cd4;_0x582cd4=dirname(_0x582cd4);}if(_0x33792c[_0x5e9390(0x1b1)](existsSync,_0x33792c[_0x5e9390(0x1a1)](join,_0x436e95,_0x33792c[_0x5e9390(0x1b0)])))return _0x436e95;return null;}export function getRangerHomeDir(){const _0x262c2b=_0x4702,_0x404226={'CRGhk':function(_0x10b678,_0x4c4d84,_0x338540){return _0x10b678(_0x4c4d84,_0x338540);},'iBkCA':function(_0x383b6c){return _0x383b6c();}};return _0x404226['CRGhk'](join,_0x404226['iBkCA'](homedir),_0x262c2b(0x19c));}
1
+ function _0x2fab(){const _0xf38434=['468vQicRK','39645OBXXcM','34328lOvJPF','523512akwDut','132FBFAWb','root','8MYZsuv','uFXcx','gmuEd','902684ZwekBp','.git','22nGFdSg','1525707rhOvQo','vdJnX','398790czTjYz','RjKbz','100odhYgj','rtFCH','IJBop','5153ULnPfm','XjUKS','.ranger'];_0x2fab=function(){return _0xf38434;};return _0x2fab();}(function(_0x494172,_0x4bd741){const _0x1daa4a=_0x5163,_0x12e189=_0x494172();while(!![]){try{const _0x46a208=-parseInt(_0x1daa4a(0x112))/0x1*(parseInt(_0x1daa4a(0x10a))/0x2)+-parseInt(_0x1daa4a(0x10b))/0x3+parseInt(_0x1daa4a(0x108))/0x4+parseInt(_0x1daa4a(0x100))/0x5*(parseInt(_0x1daa4a(0xff))/0x6)+parseInt(_0x1daa4a(0x101))/0x7*(-parseInt(_0x1daa4a(0x105))/0x8)+parseInt(_0x1daa4a(0x10d))/0x9*(-parseInt(_0x1daa4a(0x10f))/0xa)+parseInt(_0x1daa4a(0x102))/0xb*(parseInt(_0x1daa4a(0x103))/0xc);if(_0x46a208===_0x4bd741)break;else _0x12e189['push'](_0x12e189['shift']());}catch(_0x92d5dd){_0x12e189['push'](_0x12e189['shift']());}}}(_0x2fab,0x56855));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x5163(_0x184225,_0x520277){_0x184225=_0x184225-0xff;const _0x2fab0c=_0x2fab();let _0x516365=_0x2fab0c[_0x184225];return _0x516365;}import{homedir}from'os';export function getRangerRoot(){const _0x866094=_0x5163,_0x3f9f20={'RjKbz':function(_0x45e108,_0x19c05e){return _0x45e108(_0x19c05e);},'zianc':function(_0x17215a,_0x38ac4b){return _0x17215a!==_0x38ac4b;},'QKriO':function(_0x8089bf,_0x49caea){return _0x8089bf(_0x49caea);},'fDUiz':function(_0x3fa7b1,_0x5b6c89,_0x12893d){return _0x3fa7b1(_0x5b6c89,_0x12893d);},'XjUKS':'.ranger','rtFCH':function(_0x29623f,_0x2a3d5b){return _0x29623f(_0x2a3d5b);}};let _0x25fadd=process['cwd']();const _0x25e8e4=_0x3f9f20[_0x866094(0x10e)](parse,_0x25fadd)[_0x866094(0x104)];while(_0x3f9f20['zianc'](_0x25fadd,_0x25e8e4)){if(_0x3f9f20['QKriO'](existsSync,_0x3f9f20['fDUiz'](join,_0x25fadd,_0x3f9f20[_0x866094(0x113)])))return _0x25fadd;_0x25fadd=dirname(_0x25fadd);}if(_0x3f9f20[_0x866094(0x110)](existsSync,join(_0x25e8e4,_0x3f9f20['XjUKS'])))return _0x25e8e4;const _0x885cbf=findGitRoot();if(_0x885cbf)return _0x885cbf;return process['cwd']();}export function getRangerDir(){const _0x21de5b=_0x5163,_0x44a674={'vdJnX':function(_0xa00ac5){return _0xa00ac5();}};return join(_0x44a674[_0x21de5b(0x10c)](getRangerRoot),_0x21de5b(0x114));}export function findGitRoot(){const _0x17ff3e=_0x5163,_0x2e1623={'UooUb':function(_0xe51672,_0x3ca893){return _0xe51672(_0x3ca893);},'CPSEj':function(_0x4af735,_0x435c90){return _0x4af735(_0x435c90);},'IJBop':function(_0x36d229,_0x5a58ea){return _0x36d229(_0x5a58ea);},'essQb':'.git'};let _0x37218a=process['cwd']();const _0x3987a4=_0x2e1623['UooUb'](parse,_0x37218a)['root'];while(_0x37218a!==_0x3987a4){if(_0x2e1623['CPSEj'](existsSync,join(_0x37218a,_0x17ff3e(0x109))))return _0x37218a;_0x37218a=dirname(_0x37218a);}if(_0x2e1623[_0x17ff3e(0x111)](existsSync,join(_0x3987a4,_0x2e1623['essQb'])))return _0x3987a4;return null;}export function getRangerHomeDir(){const _0x45baf0=_0x5163,_0x29c98f={'uFXcx':function(_0x47230f,_0x4fb981,_0x187578){return _0x47230f(_0x4fb981,_0x187578);},'gmuEd':function(_0x1ae4a5){return _0x1ae4a5();}};return _0x29c98f[_0x45baf0(0x106)](join,_0x29c98f[_0x45baf0(0x107)](homedir),_0x45baf0(0x114));}
@@ -1 +1 @@
1
- (function(_0x273ae7,_0x1e8bf2){const _0x3f5c9e=_0x309b,_0x2d4044=_0x273ae7();while(!![]){try{const _0x2fc52c=-parseInt(_0x3f5c9e(0x1f6))/0x1*(-parseInt(_0x3f5c9e(0x1ed))/0x2)+-parseInt(_0x3f5c9e(0x1f2))/0x3*(parseInt(_0x3f5c9e(0x1ec))/0x4)+parseInt(_0x3f5c9e(0x1ee))/0x5*(parseInt(_0x3f5c9e(0x1f7))/0x6)+-parseInt(_0x3f5c9e(0x1f5))/0x7+parseInt(_0x3f5c9e(0x1e9))/0x8*(-parseInt(_0x3f5c9e(0x1ff))/0x9)+-parseInt(_0x3f5c9e(0x1e2))/0xa+parseInt(_0x3f5c9e(0x1df))/0xb;if(_0x2fc52c===_0x1e8bf2)break;else _0x2d4044['push'](_0x2d4044['shift']());}catch(_0x31ed40){_0x2d4044['push'](_0x2d4044['shift']());}}}(_0x33d6,0xe00f3));function _0x309b(_0x1fd268,_0xdfcd2f){_0x1fd268=_0x1fd268-0x1dd;const _0x33d6b2=_0x33d6();let _0x309b4b=_0x33d6b2[_0x1fd268];return _0x309b4b;}import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x28602a){const _0xfc6b6e=_0x309b,_0x5ef793={'VNniN':function(_0x5ce927,_0x2311c3,_0x24487a){return _0x5ce927(_0x2311c3,_0x24487a);}},_0x1f718a=[],_0x42e9ff=[];if(!existsSync(_0x28602a))return{'screenshots':_0x1f718a,'paths':_0x42e9ff};const _0x1f46de=await readdir(_0x28602a),_0x4436f2=_0x1f46de['filter'](_0x1db57=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x1db57))['sort']();for(const _0xb343a of _0x4436f2){const _0x2e870f=_0x5ef793[_0xfc6b6e(0x1f8)](join,_0x28602a,_0xb343a);_0x1f718a[_0xfc6b6e(0x1ea)]({'filename':_0xb343a,'path':_0x2e870f,'relativePath':'./'+_0xb343a}),_0x42e9ff[_0xfc6b6e(0x1ea)](_0x2e870f);}return{'screenshots':_0x1f718a,'paths':_0x42e9ff};}function getSeverityEmoji(_0x1210e9){const _0x5232c4=_0x309b,_0x5c966a={'YAjom':_0x5232c4(0x200)};switch(_0x1210e9){case _0x5232c4(0x1e3):return'🔴';case _0x5c966a['YAjom']:return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x3c7624){const _0xa88c98=_0x309b,_0x3aed4b=_0x3c7624['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x111b09=_0x3aed4b['replace'](/^\d+-/,'');return _0x111b09[_0xa88c98(0x1eb)]('-')[_0xa88c98(0x1fa)](_0x19e76c=>_0x19e76c[_0xa88c98(0x1f4)](0x0)[_0xa88c98(0x1de)]()+_0x19e76c[_0xa88c98(0x1e0)](0x1))['join']('\x20');}export function generateMarkdownReport(_0x413168){const _0x47148d=_0x309b,_0x5c7691={'YFqTH':function(_0x1e5459,_0x914395){return _0x1e5459>_0x914395;},'bdmdf':function(_0x86e88b,_0x32c4e3){return _0x86e88b(_0x32c4e3);}},{sessionId:_0x45a975,task:_0x584369,url:_0x573178,success:_0x2c46c3,summary:_0x51c1d2,issues:_0x483360,screenshots:_0x557176,durationMs:_0x63eeb1,traceViewerUrl:_0x5a423b}=_0x413168,_0x1c8717=new Date()['toISOString'](),_0x1852da=(_0x63eeb1/0x3e8)['toFixed'](0x1),_0x3bcf58=[];_0x3bcf58['push']('#\x20Verification\x20Report'),_0x3bcf58['push'](''),_0x3bcf58[_0x47148d(0x1ea)](_0x47148d(0x1fc)+_0x45a975+'`'),_0x3bcf58['push']('**Generated:**\x20'+_0x1c8717),_0x3bcf58['push']('**Duration:**\x20'+_0x1852da+'s'),_0x3bcf58['push'](''),_0x3bcf58[_0x47148d(0x1ea)]('##\x20Task'),_0x3bcf58[_0x47148d(0x1ea)](''),_0x3bcf58['push']('**URL:**\x20'+_0x573178),_0x3bcf58['push'](''),_0x3bcf58[_0x47148d(0x1ea)]('>\x20'+_0x584369),_0x3bcf58[_0x47148d(0x1ea)](''),_0x3bcf58['push'](_0x47148d(0x1e6)),_0x3bcf58['push']('');const _0x47f29a=_0x2c46c3?'✅':'❌';_0x3bcf58[_0x47148d(0x1ea)](_0x47148d(0x1e7)+_0x47f29a+'\x20'+(_0x2c46c3?_0x47148d(0x1ef):'ISSUES\x20FOUND')),_0x3bcf58['push'](''),_0x3bcf58['push']('###\x20Summary'),_0x3bcf58['push'](''),_0x3bcf58['push'](_0x51c1d2),_0x3bcf58[_0x47148d(0x1ea)]('');if(_0x483360&&_0x5c7691[_0x47148d(0x1f1)](_0x483360['length'],0x0)){_0x3bcf58['push'](_0x47148d(0x1dd)+_0x483360[_0x47148d(0x1f0)]+')'),_0x3bcf58[_0x47148d(0x1ea)]('');for(const _0x1a3bfd of _0x483360){const _0x3f3d4b=_0x5c7691['bdmdf'](getSeverityEmoji,_0x1a3bfd[_0x47148d(0x1e5)]);_0x3bcf58[_0x47148d(0x1ea)](_0x47148d(0x1e1)+_0x3f3d4b+'\x20['+_0x1a3bfd['severity']+_0x47148d(0x1fb)),_0x3bcf58['push'](''),_0x3bcf58['push'](_0x1a3bfd['description']),_0x3bcf58['push']('');if(_0x1a3bfd['screenshot']){const _0x36ba84=_0x1a3bfd[_0x47148d(0x1fe)],_0x1b515c=_0x557176[_0x47148d(0x1e4)](_0x27fcc5=>_0x27fcc5[_0x47148d(0x1f9)]===_0x36ba84||_0x27fcc5['filename'][_0x47148d(0x1f3)](_0x36ba84));_0x1b515c&&(_0x3bcf58['push']('**Screenshot:**'),_0x3bcf58[_0x47148d(0x1ea)](''),_0x3bcf58['push']('!['+_0x36ba84+']('+_0x1b515c[_0x47148d(0x1e8)]+')'),_0x3bcf58[_0x47148d(0x1ea)](''));}}}if(_0x5c7691['YFqTH'](_0x557176[_0x47148d(0x1f0)],0x0)){_0x3bcf58[_0x47148d(0x1ea)]('##\x20Screenshots\x20('+_0x557176['length']+')'),_0x3bcf58[_0x47148d(0x1ea)]('');for(const _0x3d2197 of _0x557176){const _0x40ae47=formatScreenshotCaption(_0x3d2197['filename']);_0x3bcf58['push']('###\x20'+_0x40ae47),_0x3bcf58['push'](''),_0x3bcf58[_0x47148d(0x1ea)]('!['+_0x3d2197['filename']+']('+_0x3d2197['relativePath']+')'),_0x3bcf58['push']('');}}return _0x5a423b&&(_0x3bcf58[_0x47148d(0x1ea)]('---'),_0x3bcf58[_0x47148d(0x1ea)](''),_0x3bcf58[_0x47148d(0x1ea)](_0x47148d(0x1fd)+_0x5a423b+')'),_0x3bcf58['push']('')),_0x3bcf58['join']('\x0a');}function _0x33d6(){const _0x1cc7cf=['###\x20Issues\x20Found\x20(','toUpperCase','17034501KaIjKA','slice','####\x20','17364820fOHyQS','BLOCKER','find','severity','##\x20Result','**Status:**\x20','relativePath','1123944NfrFxG','push','split','4DnnXTq','17614uBrZUd','5OCKiss','PASSED','length','YFqTH','1751214BmrCOL','includes','charAt','2867214SpDuAA','105THrUWL','10417290KJObwB','VNniN','filename','map',']\x20Issue','**Session:**\x20`','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','screenshot','36uTSGJr','MAJOR'];_0x33d6=function(){return _0x1cc7cf;};return _0x33d6();}
1
+ (function(_0x54657e,_0x27838f){const _0x464cd4=_0x15fa,_0xaa614d=_0x54657e();while(!![]){try{const _0x43d653=-parseInt(_0x464cd4(0x132))/0x1*(parseInt(_0x464cd4(0x14d))/0x2)+-parseInt(_0x464cd4(0x139))/0x3+-parseInt(_0x464cd4(0x143))/0x4*(parseInt(_0x464cd4(0x144))/0x5)+parseInt(_0x464cd4(0x14f))/0x6*(parseInt(_0x464cd4(0x14c))/0x7)+parseInt(_0x464cd4(0x13a))/0x8*(-parseInt(_0x464cd4(0x146))/0x9)+-parseInt(_0x464cd4(0x131))/0xa+parseInt(_0x464cd4(0x145))/0xb*(parseInt(_0x464cd4(0x136))/0xc);if(_0x43d653===_0x27838f)break;else _0xaa614d['push'](_0xaa614d['shift']());}catch(_0x41728f){_0xaa614d['push'](_0xaa614d['shift']());}}}(_0x395d,0x8a906));import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';function _0x395d(){const _0x567f6f=['10801380ejClRe','198178kjJEru','length','toFixed','join','26962296dZKXIo','sort','severity','2459184UuVZqv','1422760ytiQQf','map','**URL:**\x20','filename','ATTqE','description','replace',']\x20Issue','charAt','3908492dDSrdj','5gXxUfr','22gUhNhV','45rHdOMI','---','slice','toISOString','**Status:**\x20','push','19117LrXmSU','2NeMyXu','**Session:**\x20`','84ZoBEtT','ISSUES\x20FOUND','split','MAJOR','PASSED'];_0x395d=function(){return _0x567f6f;};return _0x395d();}function _0x15fa(_0xc8a86a,_0x147086){_0xc8a86a=_0xc8a86a-0x130;const _0x395d6e=_0x395d();let _0x15fa5d=_0x395d6e[_0xc8a86a];return _0x15fa5d;}export async function collectScreenshots(_0x5c1a9f){const _0x5c7c1a=_0x15fa,_0x26472d={'rMchd':function(_0x28ef4b,_0x25c290){return _0x28ef4b(_0x25c290);}},_0x500d5d=[],_0x55783a=[];if(!existsSync(_0x5c1a9f))return{'screenshots':_0x500d5d,'paths':_0x55783a};const _0x2f5171=await _0x26472d['rMchd'](readdir,_0x5c1a9f),_0x4bbcc6=_0x2f5171['filter'](_0x1c2dfd=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x1c2dfd))[_0x5c7c1a(0x137)]();for(const _0x23a440 of _0x4bbcc6){const _0x35deee=join(_0x5c1a9f,_0x23a440);_0x500d5d['push']({'filename':_0x23a440,'path':_0x35deee,'relativePath':'./'+_0x23a440}),_0x55783a['push'](_0x35deee);}return{'screenshots':_0x500d5d,'paths':_0x55783a};}function getSeverityEmoji(_0x12f966){const _0x95665c=_0x15fa;switch(_0x12f966){case'BLOCKER':return'🔴';case _0x95665c(0x152):return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x3292bd){const _0xfe01c4=_0x15fa,_0x4518de=_0x3292bd['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x2df0d3=_0x4518de[_0xfe01c4(0x140)](/^\d+-/,'');return _0x2df0d3[_0xfe01c4(0x151)]('-')[_0xfe01c4(0x13b)](_0x46cfd4=>_0x46cfd4[_0xfe01c4(0x142)](0x0)['toUpperCase']()+_0x46cfd4[_0xfe01c4(0x148)](0x1))[_0xfe01c4(0x135)]('\x20');}export function generateMarkdownReport(_0x3d359c){const _0x5b83e9=_0x15fa,_0x2d225b={'ATTqE':function(_0x20770f,_0x4b2602){return _0x20770f/_0x4b2602;},'EMIux':function(_0x3f139f,_0x36f331){return _0x3f139f>_0x36f331;},'VojsO':function(_0x4b5862,_0x258e44){return _0x4b5862(_0x258e44);}},{sessionId:_0x865971,task:_0x5a3999,url:_0xc02276,success:_0x381b74,summary:_0x368afa,issues:_0x4b62b0,screenshots:_0x4d1e3b,durationMs:_0x26cccd,traceViewerUrl:_0x9d977b}=_0x3d359c,_0x4c34d1=new Date()[_0x5b83e9(0x149)](),_0x1c9ce4=_0x2d225b[_0x5b83e9(0x13e)](_0x26cccd,0x3e8)[_0x5b83e9(0x134)](0x1),_0x1bd6f2=[];_0x1bd6f2[_0x5b83e9(0x14b)]('#\x20Verification\x20Report'),_0x1bd6f2['push'](''),_0x1bd6f2[_0x5b83e9(0x14b)](_0x5b83e9(0x14e)+_0x865971+'`'),_0x1bd6f2[_0x5b83e9(0x14b)]('**Generated:**\x20'+_0x4c34d1),_0x1bd6f2['push']('**Duration:**\x20'+_0x1c9ce4+'s'),_0x1bd6f2[_0x5b83e9(0x14b)](''),_0x1bd6f2['push']('##\x20Task'),_0x1bd6f2['push'](''),_0x1bd6f2['push'](_0x5b83e9(0x13c)+_0xc02276),_0x1bd6f2[_0x5b83e9(0x14b)](''),_0x1bd6f2['push']('>\x20'+_0x5a3999),_0x1bd6f2['push'](''),_0x1bd6f2[_0x5b83e9(0x14b)]('##\x20Result'),_0x1bd6f2['push']('');const _0x245a10=_0x381b74?'✅':'❌';_0x1bd6f2['push'](_0x5b83e9(0x14a)+_0x245a10+'\x20'+(_0x381b74?_0x5b83e9(0x130):_0x5b83e9(0x150))),_0x1bd6f2['push'](''),_0x1bd6f2[_0x5b83e9(0x14b)]('###\x20Summary'),_0x1bd6f2['push'](''),_0x1bd6f2[_0x5b83e9(0x14b)](_0x368afa),_0x1bd6f2['push']('');if(_0x4b62b0&&_0x2d225b['EMIux'](_0x4b62b0[_0x5b83e9(0x133)],0x0)){_0x1bd6f2['push']('###\x20Issues\x20Found\x20('+_0x4b62b0[_0x5b83e9(0x133)]+')'),_0x1bd6f2['push']('');for(const _0xedb560 of _0x4b62b0){const _0x393293=getSeverityEmoji(_0xedb560['severity']);_0x1bd6f2[_0x5b83e9(0x14b)]('####\x20'+_0x393293+'\x20['+_0xedb560[_0x5b83e9(0x138)]+_0x5b83e9(0x141)),_0x1bd6f2[_0x5b83e9(0x14b)](''),_0x1bd6f2['push'](_0xedb560[_0x5b83e9(0x13f)]),_0x1bd6f2[_0x5b83e9(0x14b)]('');if(_0xedb560['screenshot']){const _0x4fd941=_0xedb560['screenshot'],_0x34c066=_0x4d1e3b['find'](_0x51b2c4=>_0x51b2c4[_0x5b83e9(0x13d)]===_0x4fd941||_0x51b2c4['filename']['includes'](_0x4fd941));_0x34c066&&(_0x1bd6f2[_0x5b83e9(0x14b)]('**Screenshot:**'),_0x1bd6f2['push'](''),_0x1bd6f2['push']('!['+_0x4fd941+']('+_0x34c066['relativePath']+')'),_0x1bd6f2['push'](''));}}}if(_0x2d225b['EMIux'](_0x4d1e3b[_0x5b83e9(0x133)],0x0)){_0x1bd6f2[_0x5b83e9(0x14b)]('##\x20Screenshots\x20('+_0x4d1e3b['length']+')'),_0x1bd6f2['push']('');for(const _0x88c419 of _0x4d1e3b){const _0x48d74c=_0x2d225b['VojsO'](formatScreenshotCaption,_0x88c419[_0x5b83e9(0x13d)]);_0x1bd6f2[_0x5b83e9(0x14b)]('###\x20'+_0x48d74c),_0x1bd6f2['push'](''),_0x1bd6f2['push']('!['+_0x88c419['filename']+']('+_0x88c419['relativePath']+')'),_0x1bd6f2['push']('');}}return _0x9d977b&&(_0x1bd6f2[_0x5b83e9(0x14b)](_0x5b83e9(0x147)),_0x1bd6f2[_0x5b83e9(0x14b)](''),_0x1bd6f2[_0x5b83e9(0x14b)]('**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer]('+_0x9d977b+')'),_0x1bd6f2[_0x5b83e9(0x14b)]('')),_0x1bd6f2[_0x5b83e9(0x135)]('\x0a');}
@@ -1 +1 @@
1
- (function(_0xbddd87,_0x43419f){const _0x2c7cde=_0x25eb,_0x2f069a=_0xbddd87();while(!![]){try{const _0x4873b0=-parseInt(_0x2c7cde(0x1a2))/0x1+parseInt(_0x2c7cde(0x1ac))/0x2*(-parseInt(_0x2c7cde(0x1a8))/0x3)+-parseInt(_0x2c7cde(0x1a5))/0x4*(parseInt(_0x2c7cde(0x1a6))/0x5)+-parseInt(_0x2c7cde(0x1ad))/0x6*(parseInt(_0x2c7cde(0x1a4))/0x7)+parseInt(_0x2c7cde(0x1a3))/0x8+parseInt(_0x2c7cde(0x19f))/0x9+parseInt(_0x2c7cde(0x1ab))/0xa;if(_0x4873b0===_0x43419f)break;else _0x2f069a['push'](_0x2f069a['shift']());}catch(_0x92d9c3){_0x2f069a['push'](_0x2f069a['shift']());}}}(_0x338d,0x79a42));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x338d(){const _0x94afea=['3300384PJJZaP','6575219oJhqoo','663848kcUgSX','10KVfyIM','label','137523fEECVD','baseDelayMs','maxRetries','20353850iAOrkR','30QFYrCh','6DRtlzE','6740775BrrSXJ','error','pow','739810JIuTAh'];_0x338d=function(){return _0x94afea;};return _0x338d();}function _0x25eb(_0x84950a,_0x3f7a53){_0x84950a=_0x84950a-0x19f;const _0x338db9=_0x338d();let _0x25eb6c=_0x338db9[_0x84950a];return _0x25eb6c;}export async function withRetry(_0x4eaac2,_0x2219c2){const _0x1ae592=_0x25eb,_0x2571ab={'QKcsj':function(_0x34d333,_0x1f751c){return _0x34d333 instanceof _0x1f751c;},'FjlBH':function(_0x1e6c06,_0x3f5c88){return _0x1e6c06*_0x3f5c88;}},_0x1312d4=_0x2219c2?.[_0x1ae592(0x1aa)]??DEFAULT_MAX_RETRIES,_0xa84981=_0x2219c2?.[_0x1ae592(0x1a9)]??DEFAULT_BASE_DELAY_MS;let _0x390320;for(let _0x2c86f1=0x0;_0x2c86f1<=_0x1312d4;_0x2c86f1++){try{return await _0x4eaac2();}catch(_0x2c808d){_0x390320=_0x2571ab['QKcsj'](_0x2c808d,Error)?_0x2c808d:new Error(String(_0x2c808d));if(_0x2c86f1<_0x1312d4){const _0x46f05f=_0x2571ab['FjlBH'](_0xa84981,Math[_0x1ae592(0x1a1)](0x2,_0x2c86f1));_0x2219c2?.[_0x1ae592(0x1a7)]&&console[_0x1ae592(0x1a0)](_0x2219c2['label']+'\x20failed\x20(attempt\x20'+(_0x2c86f1+0x1)+'/'+(_0x1312d4+0x1)+'),\x20retrying\x20in\x20'+_0x46f05f+'ms...'),await new Promise(_0x34f210=>setTimeout(_0x34f210,_0x46f05f));}}}throw _0x390320;}
1
+ (function(_0x50704e,_0x4ef7d7){const _0x1c79ad=_0x29d8,_0x278126=_0x50704e();while(!![]){try{const _0x255fe4=parseInt(_0x1c79ad(0x104))/0x1+-parseInt(_0x1c79ad(0x10c))/0x2+-parseInt(_0x1c79ad(0x105))/0x3+-parseInt(_0x1c79ad(0x103))/0x4*(-parseInt(_0x1c79ad(0x10d))/0x5)+-parseInt(_0x1c79ad(0x10b))/0x6*(-parseInt(_0x1c79ad(0x109))/0x7)+-parseInt(_0x1c79ad(0x101))/0x8+parseInt(_0x1c79ad(0x107))/0x9;if(_0x255fe4===_0x4ef7d7)break;else _0x278126['push'](_0x278126['shift']());}catch(_0x1fe7f6){_0x278126['push'](_0x278126['shift']());}}}(_0x44fd,0x51cc3));function _0x29d8(_0x203d11,_0x2427de){_0x203d11=_0x203d11-0x100;const _0x44fd36=_0x44fd();let _0x29d864=_0x44fd36[_0x203d11];return _0x29d864;}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x44e984,_0x4b20fa){const _0x373866=_0x29d8,_0x1c02cd={'IdIgJ':function(_0x555ddf){return _0x555ddf();},'qPoHV':function(_0x429bd0,_0x3b62e8){return _0x429bd0(_0x3b62e8);},'HZKYe':function(_0x33ee76,_0x4fd467){return _0x33ee76*_0x4fd467;},'oRJCw':function(_0x3acf18,_0x591be5){return _0x3acf18+_0x591be5;}},_0xdf8d12=_0x4b20fa?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x3f7ca1=_0x4b20fa?.[_0x373866(0x108)]??DEFAULT_BASE_DELAY_MS;let _0x534517;for(let _0xbde9e5=0x0;_0xbde9e5<=_0xdf8d12;_0xbde9e5++){try{return await _0x1c02cd[_0x373866(0x100)](_0x44e984);}catch(_0x3d18c4){_0x534517=_0x3d18c4 instanceof Error?_0x3d18c4:new Error(_0x1c02cd[_0x373866(0x10e)](String,_0x3d18c4));if(_0xbde9e5<_0xdf8d12){const _0x49c908=_0x1c02cd[_0x373866(0x106)](_0x3f7ca1,Math[_0x373866(0x10a)](0x2,_0xbde9e5));_0x4b20fa?.['label']&&console['error'](_0x4b20fa['label']+'\x20failed\x20(attempt\x20'+_0x1c02cd['oRJCw'](_0xbde9e5,0x1)+'/'+(_0xdf8d12+0x1)+_0x373866(0x102)+_0x49c908+'ms...'),await new Promise(_0x1e981e=>setTimeout(_0x1e981e,_0x49c908));}}}throw _0x534517;}function _0x44fd(){const _0x4fdc3a=['baseDelayMs','686AgpJaO','pow','38604zcVWeF','1312844RdmvgF','26515koQNwK','qPoHV','IdIgJ','164296GkLoGH','),\x20retrying\x20in\x20','144FParWN','208475sYcXlK','1001691dEybkW','HZKYe','2843856zExWeN'];_0x44fd=function(){return _0x4fdc3a;};return _0x44fd();}
@@ -1 +1 @@
1
- const _0x13f291=_0x537d;(function(_0x155f18,_0xf1ad3d){const _0x566774=_0x537d,_0x51f18b=_0x155f18();while(!![]){try{const _0x414637=-parseInt(_0x566774(0x1cd))/0x1*(parseInt(_0x566774(0x1a3))/0x2)+-parseInt(_0x566774(0x1b1))/0x3+-parseInt(_0x566774(0x1aa))/0x4*(-parseInt(_0x566774(0x1c9))/0x5)+-parseInt(_0x566774(0x1a5))/0x6*(parseInt(_0x566774(0x1bf))/0x7)+parseInt(_0x566774(0x1b3))/0x8+parseInt(_0x566774(0x1c0))/0x9*(parseInt(_0x566774(0x1ca))/0xa)+parseInt(_0x566774(0x19f))/0xb;if(_0x414637===_0xf1ad3d)break;else _0x51f18b['push'](_0x51f18b['shift']());}catch(_0xc0d416){_0x51f18b['push'](_0x51f18b['shift']());}}}(_0x1189,0xed8c1));import*as _0x21dab3 from'fs';import*as _0x32b412 from'path';import*as _0x376289 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x32b412['join'](_0x376289['homedir'](),_0x13f291(0x1ad),_0x13f291(0x1a9));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x57d189=_0x13f291,_0x13b5d5={'dvYvJ':function(_0x19d1c0){return _0x19d1c0();}};try{if(_0x21dab3[_0x57d189(0x1c8)](CACHE_FILE)){const _0x32c29c=JSON['parse'](_0x21dab3[_0x57d189(0x1b5)](CACHE_FILE,_0x57d189(0x1d4)));return{'version':0x3,'sessions':_0x32c29c['sessions']||{},'branches':_0x32c29c['branches']||{},'lastEnabledSessionClearedAt':_0x32c29c[_0x57d189(0x1a8)]};}}catch{}return _0x13b5d5[_0x57d189(0x1ba)](createEmptyCache);}function saveCache(_0x24a321){const _0x4782b9=_0x13f291;try{const _0xaaf1f=_0x32b412[_0x4782b9(0x1b4)](CACHE_FILE);!_0x21dab3[_0x4782b9(0x1c8)](_0xaaf1f)&&_0x21dab3[_0x4782b9(0x1c7)](_0xaaf1f,{'recursive':!![]}),_0x21dab3[_0x4782b9(0x1d6)](CACHE_FILE,JSON[_0x4782b9(0x1b0)](_0x24a321,null,0x2));}catch{}}export function getCurrentBranch(){const _0x28d48d=_0x13f291,_0xcf7678={'GiFYl':function(_0x55bb65,_0x4f8826,_0x2e24fc){return _0x55bb65(_0x4f8826,_0x2e24fc);},'vwloa':_0x28d48d(0x1c2),'Vofnl':_0x28d48d(0x19e)};try{const _0x5c28a7=_0xcf7678['GiFYl'](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x28d48d(0x1d4),'stdio':[_0xcf7678['vwloa'],'pipe',_0xcf7678['vwloa']]})['trim']();if(!_0x5c28a7||_0x5c28a7===_0xcf7678[_0x28d48d(0x1be)])return null;return _0x5c28a7;}catch{return null;}}export function enableBranch(_0x11c7e3){const _0x276309={'zLRCq':function(_0x97ad28){return _0x97ad28();}},_0xfb0db0=_0x276309['zLRCq'](loadCache);_0xfb0db0['branches'][_0x11c7e3]=!![],saveCache(_0xfb0db0);}export function disableBranch(_0x81f6){const _0x15cb16=_0x13f291,_0x2d8c5={'pKUyn':function(_0x1979b3){return _0x1979b3();}},_0x1db695=_0x2d8c5[_0x15cb16(0x1b7)](loadCache);delete _0x1db695['branches'][_0x81f6],saveCache(_0x1db695);}export function isBranchEnabled(_0x16770b){const _0x164a31=_0x13f291,_0x888d85={'jiFvW':function(_0x316cd1,_0x2e447e){return _0x316cd1===_0x2e447e;}},_0x2cade4=loadCache();return _0x888d85['jiFvW'](_0x2cade4[_0x164a31(0x1ab)][_0x16770b],!![]);}function getOrCreateSession(_0x44260e,_0x2b7a47){const _0x1d088a=_0x13f291;return!_0x44260e['sessions'][_0x2b7a47]&&(_0x44260e[_0x1d088a(0x1d7)][_0x2b7a47]={}),_0x44260e[_0x1d088a(0x1d7)][_0x2b7a47];}export function enableSession(_0x930e08){const _0x486966=_0x13f291,_0x200ca9={'vcUuC':function(_0x140ae9){return _0x140ae9();},'ebtnI':function(_0x135402){return _0x135402();},'GQRCU':function(_0x4084d0,_0x68ffd0){return _0x4084d0!==_0x68ffd0;}},_0x521f4a=_0x200ca9[_0x486966(0x1a4)](loadCache),_0x400401=getOrCreateSession(_0x521f4a,_0x930e08);_0x400401[_0x486966(0x1ac)]=!![];const _0x1d76d4=_0x200ca9[_0x486966(0x1d3)](getCurrentBranch);_0x1d76d4&&_0x200ca9[_0x486966(0x1d5)](_0x1d76d4,'main')&&_0x1d76d4!==_0x486966(0x1bd)&&(_0x521f4a[_0x486966(0x1ab)][_0x1d76d4]=!![],_0x400401[_0x486966(0x1a7)]=_0x1d76d4),saveCache(_0x521f4a);}export function isSessionEnabled(_0x411eb0){const _0x2da45f=_0x13f291,_0x58f94c={'JGiaL':function(_0x589256){return _0x589256();},'FVmDH':function(_0x2abc60,_0x1b24bd){return _0x2abc60===_0x1b24bd;},'uEkzB':function(_0x5c84a4,_0x4cf6ed){return _0x5c84a4===_0x4cf6ed;},'GaVky':function(_0x6db4dc,_0xd7b831){return _0x6db4dc===_0xd7b831;},'DkHGn':function(_0x257a34,_0x3f1577){return _0x257a34===_0x3f1577;}},_0x54eb9f=loadCache(),_0x4529a6=_0x58f94c['JGiaL'](getCurrentBranch);if(!_0x4529a6||_0x4529a6===_0x2da45f(0x1b6)||_0x58f94c['FVmDH'](_0x4529a6,'master'))return _0x58f94c['uEkzB'](_0x54eb9f[_0x2da45f(0x1d7)][_0x411eb0]?.[_0x2da45f(0x1ac)],!![]);const _0x50f082=_0x58f94c[_0x2da45f(0x1a1)](_0x54eb9f[_0x2da45f(0x1ab)][_0x4529a6],!![]),_0x1c0fa6=_0x58f94c[_0x2da45f(0x1c4)](_0x54eb9f[_0x2da45f(0x1d7)][_0x411eb0]?.['enabled'],!![]);return _0x50f082||_0x1c0fa6;}export function disableSession(_0x381953){const _0xe70f2a=_0x13f291,_0x20623c={'tLvOP':function(_0x437111,_0x2e635a,_0x4bea54){return _0x437111(_0x2e635a,_0x4bea54);},'KVqtL':function(_0xdff9b5,_0x3e10fd){return _0xdff9b5(_0x3e10fd);}},_0x64e756=loadCache(),_0x1a586d=_0x20623c['tLvOP'](getOrCreateSession,_0x64e756,_0x381953);_0x1a586d[_0xe70f2a(0x1ac)]=![],_0x20623c['KVqtL'](saveCache,_0x64e756);}export function updateBranchTracking(_0x2b30ff){const _0x1a3136=_0x13f291,_0x37a7f5={'HvEgM':function(_0x3aa393){return _0x3aa393();},'GKVRE':function(_0x30cb88,_0x12b2b3){return _0x30cb88===_0x12b2b3;},'wXFPI':_0x1a3136(0x1bd)},_0xde89ad=_0x37a7f5[_0x1a3136(0x1af)](loadCache),_0x25d976=_0xde89ad['sessions'][_0x2b30ff];if(!_0x25d976?.[_0x1a3136(0x1ac)])return;const _0x10e1d3=_0x37a7f5[_0x1a3136(0x1af)](getCurrentBranch);if(!_0x10e1d3||_0x10e1d3==='main'||_0x37a7f5['GKVRE'](_0x10e1d3,_0x37a7f5['wXFPI']))return;_0x25d976[_0x1a3136(0x1a7)]!==_0x10e1d3&&(_0xde89ad['branches'][_0x10e1d3]=!![],_0x25d976['currentBranch']=_0x10e1d3,saveCache(_0xde89ad));}export function initBranchTracking(_0xf24bcd){const _0x54a650=_0x13f291,_0xe72b21={'uilsN':_0x54a650(0x1b6),'TTSSC':function(_0x40bee5,_0x4c9c51){return _0x40bee5===_0x4c9c51;},'NneXp':'master','rbKME':function(_0x4491d5,_0x5bd3b6){return _0x4491d5===_0x5bd3b6;},'Kfpug':function(_0x32ea2f,_0x1995a8){return _0x32ea2f(_0x1995a8);}},_0x2a7ef5=loadCache(),_0x50bab5=getCurrentBranch();if(!_0x50bab5||_0x50bab5===_0xe72b21[_0x54a650(0x1cf)]||_0xe72b21['TTSSC'](_0x50bab5,_0xe72b21['NneXp']))return;if(_0xe72b21['rbKME'](_0x2a7ef5['branches'][_0x50bab5],!![])){const _0x20c2ea=getOrCreateSession(_0x2a7ef5,_0xf24bcd);_0x20c2ea['enabled']=!![],_0x20c2ea['currentBranch']=_0x50bab5,_0xe72b21['Kfpug'](saveCache,_0x2a7ef5);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;function _0x1189(){const _0x5036bc=['pKUyn','HeWAZ','hvFxG','dvYvJ','lastPlanReminderAt','Kxzrc','master','Vofnl','28wwPFYP','63xfZbOn','now','pipe','PFLLz','DkHGn','weRXD','MzJkY','mkdirSync','existsSync','672155wUkCuJ','1479070UjyVgs','zJLYn','bvEJg','6eOBmEO','jweFy','uilsN','FWBQJ','prompted','FPXzn','ebtnI','utf-8','GQRCU','writeFileSync','sessions','registeredAt','HEAD','3160641momEGr','BQwRD','GaVky','LbLCG','93824FeNtWd','vcUuC','84654mGKQOg','featureId','currentBranch','lastEnabledSessionClearedAt','.ranger_cache.json','28cNQHIO','branches','enabled','.claude','AgbRA','HvEgM','stringify','4977714dDAVkA','clear','5651536WKNoWh','dirname','readFileSync','main'];_0x1189=function(){return _0x5036bc;};return _0x1189();}export function recordEnabledSessionCleared(_0x3ef578){const _0x524ed2=_0x13f291,_0xb0e9ac={'TWMJu':function(_0x54348d){return _0x54348d();}},_0x5aa8e4=_0xb0e9ac['TWMJu'](loadCache),_0x3a2391=_0x5aa8e4[_0x524ed2(0x1d7)][_0x3ef578];_0x3a2391?.['enabled']&&(_0x5aa8e4['lastEnabledSessionClearedAt']=Date[_0x524ed2(0x1c1)](),saveCache(_0x5aa8e4));}export function shouldAutoEnableAfterClear(_0x466d63){const _0x45e9ac=_0x13f291,_0x2e2450={'MzJkY':function(_0x408280,_0x5b1918){return _0x408280!==_0x5b1918;},'LbLCG':_0x45e9ac(0x1b2),'zAyNN':function(_0x341a8a,_0x4dd57d){return _0x341a8a<=_0x4dd57d;}};if(_0x2e2450[_0x45e9ac(0x1c6)](_0x466d63,_0x2e2450[_0x45e9ac(0x1a2)]))return![];const _0x5d278c=loadCache(),_0x351c94=_0x5d278c[_0x45e9ac(0x1a8)];if(!_0x351c94)return![];const _0x2568ec=Date['now']()-_0x351c94;return _0x2e2450['zAyNN'](_0x2568ec,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x54cc74){const _0x30ef6e=_0x13f291,_0x1063e3={'hvFxG':function(_0x182a76,_0x198e70){return _0x182a76!==_0x198e70;},'BQwRD':_0x30ef6e(0x1b6),'Kxzrc':_0x30ef6e(0x1bd),'IjNMe':function(_0x4f4b19,_0x3fe420){return _0x4f4b19(_0x3fe420);}},_0x1463f8=loadCache(),_0x2d5ae1=getOrCreateSession(_0x1463f8,_0x54cc74);_0x2d5ae1['enabled']=!![];const _0x4f2740=getCurrentBranch();_0x4f2740&&_0x1063e3[_0x30ef6e(0x1b9)](_0x4f2740,_0x1063e3[_0x30ef6e(0x1a0)])&&_0x4f2740!==_0x1063e3[_0x30ef6e(0x1bc)]&&(_0x2d5ae1['currentBranch']=_0x4f2740),delete _0x1463f8['lastEnabledSessionClearedAt'],_0x1063e3['IjNMe'](saveCache,_0x1463f8);}export function registerSession(_0x24d94e,_0x1eddfd){const _0x30b2db=_0x13f291,_0x2458a7={'YZcRI':function(_0x72945d,_0x546f6e,_0x5bb4dc){return _0x72945d(_0x546f6e,_0x5bb4dc);}},_0x15ba8d=loadCache(),_0x3d2ce2=_0x2458a7['YZcRI'](getOrCreateSession,_0x15ba8d,_0x24d94e);_0x3d2ce2['featureId']=_0x1eddfd,_0x3d2ce2[_0x30b2db(0x1d8)]=new Date()['toISOString'](),saveCache(_0x15ba8d);}function _0x537d(_0x21299f,_0x9cfb1c){_0x21299f=_0x21299f-0x19e;const _0x118967=_0x1189();let _0x537d33=_0x118967[_0x21299f];return _0x537d33;}export function getSessionEntry(_0x5926a7){const _0x1d1115=_0x13f291,_0x25e92f={'weRXD':function(_0x33dc1c){return _0x33dc1c();}},_0x41925c=_0x25e92f[_0x1d1115(0x1c5)](loadCache),_0x76a864=_0x41925c[_0x1d1115(0x1d7)][_0x5926a7];if(_0x76a864?.['featureId']&&_0x76a864?.[_0x1d1115(0x1d8)])return{'featureId':_0x76a864['featureId'],'registeredAt':_0x76a864['registeredAt']};return null;}export function unregisterSession(_0x2882f5){const _0x33e726=_0x13f291,_0x345a09={'PFLLz':function(_0x43c68,_0x295d0d){return _0x43c68(_0x295d0d);}},_0x363495=loadCache(),_0x3f0e1c=_0x363495[_0x33e726(0x1d7)][_0x2882f5];_0x3f0e1c&&(delete _0x3f0e1c[_0x33e726(0x1a6)],delete _0x3f0e1c[_0x33e726(0x1d8)],_0x345a09[_0x33e726(0x1c3)](saveCache,_0x363495));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x435736){const _0x3f45f3=_0x13f291,_0x46f19a={'XhTbA':function(_0xc7e2ba){return _0xc7e2ba();},'yTJNT':function(_0x2fcf23,_0x48b5d2,_0x5b2f99){return _0x2fcf23(_0x48b5d2,_0x5b2f99);},'nRsaj':function(_0xd388ca,_0x187a10){return _0xd388ca>=_0x187a10;}},_0x1d01e9=_0x46f19a['XhTbA'](loadCache),_0x4cb10a=_0x46f19a['yTJNT'](getOrCreateSession,_0x1d01e9,_0x435736),_0x487acb=_0x4cb10a[_0x3f45f3(0x1bb)]||0x0,_0x2769fd=Date['now']();if(_0x46f19a['nRsaj'](_0x2769fd-_0x487acb,PLAN_REMINDER_INTERVAL_MS))return _0x4cb10a['lastPlanReminderAt']=_0x2769fd,saveCache(_0x1d01e9),!![];return![];}export function shouldShowStopReminder(_0x2bb00c){const _0x324a71=_0x13f291,_0x2a0435={'AgbRA':function(_0x32e4b9){return _0x32e4b9();},'HeWAZ':function(_0x1280e7,_0x362fd4){return _0x1280e7>=_0x362fd4;},'FWBQJ':function(_0x13801c,_0x1ce762){return _0x13801c(_0x1ce762);}},_0x23301b=_0x2a0435[_0x324a71(0x1ae)](loadCache),_0x516659=getOrCreateSession(_0x23301b,_0x2bb00c),_0x171f54=_0x516659['lastStopReminderAt']||0x0,_0x3c4a43=Date[_0x324a71(0x1c1)]();if(_0x2a0435[_0x324a71(0x1b8)](_0x3c4a43-_0x171f54,STOP_REMINDER_INTERVAL_MS))return _0x516659['lastStopReminderAt']=_0x3c4a43,_0x2a0435[_0x324a71(0x1d0)](saveCache,_0x23301b),!![];return![];}export function hasSessionBeenPrompted(_0x3748c7){const _0x16101c=_0x13f291,_0x2fb9fd={'zJLYn':function(_0x45eed9){return _0x45eed9();},'FPXzn':function(_0x4d7b69,_0xe5b40d){return _0x4d7b69===_0xe5b40d;}},_0x149d1d=_0x2fb9fd[_0x16101c(0x1cb)](loadCache);return _0x2fb9fd[_0x16101c(0x1d2)](_0x149d1d[_0x16101c(0x1d7)][_0x3748c7]?.['prompted'],!![]);}export function markSessionPrompted(_0x96943){const _0x3b2c38=_0x13f291,_0x3df18a={'jweFy':function(_0x283d3f){return _0x283d3f();},'bvEJg':function(_0xefad7,_0x386918){return _0xefad7(_0x386918);}},_0x573095=_0x3df18a[_0x3b2c38(0x1ce)](loadCache),_0x5257d6=getOrCreateSession(_0x573095,_0x96943);_0x5257d6[_0x3b2c38(0x1d1)]=!![],_0x3df18a[_0x3b2c38(0x1cc)](saveCache,_0x573095);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x5d4704=_0x3d47;(function(_0x1520b6,_0x1bfbd3){const _0x26a199=_0x3d47,_0x383c13=_0x1520b6();while(!![]){try{const _0x2580f3=parseInt(_0x26a199(0x13d))/0x1*(parseInt(_0x26a199(0x166))/0x2)+parseInt(_0x26a199(0x152))/0x3+parseInt(_0x26a199(0x15f))/0x4*(parseInt(_0x26a199(0x13b))/0x5)+parseInt(_0x26a199(0x147))/0x6+parseInt(_0x26a199(0x15d))/0x7*(-parseInt(_0x26a199(0x169))/0x8)+parseInt(_0x26a199(0x146))/0x9+parseInt(_0x26a199(0x165))/0xa*(-parseInt(_0x26a199(0x156))/0xb);if(_0x2580f3===_0x1bfbd3)break;else _0x383c13['push'](_0x383c13['shift']());}catch(_0x389da6){_0x383c13['push'](_0x383c13['shift']());}}}(_0xda68,0x3d316));import*as _0x49ec3a from'fs';import*as _0x3a596b from'path';import*as _0x14f13d from'os';import{execSync}from'child_process';const CACHE_FILE=_0x3a596b[_0x5d4704(0x15e)](_0x14f13d['homedir'](),_0x5d4704(0x13c),_0x5d4704(0x15c));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x38e44f=_0x5d4704,_0x48fa5c={'tULmI':'utf-8','QGdGL':function(_0x2e47a0){return _0x2e47a0();}};try{if(_0x49ec3a[_0x38e44f(0x153)](CACHE_FILE)){const _0x5bdbd2=JSON['parse'](_0x49ec3a['readFileSync'](CACHE_FILE,_0x48fa5c['tULmI']));return{'version':0x3,'sessions':_0x5bdbd2[_0x38e44f(0x14b)]||{},'branches':_0x5bdbd2['branches']||{},'lastEnabledSessionClearedAt':_0x5bdbd2['lastEnabledSessionClearedAt']};}}catch{}return _0x48fa5c[_0x38e44f(0x167)](createEmptyCache);}function _0xda68(){const _0x456500=['1815228NUTZzX','QUDRg','htamr','pipe','sessions','xZGDF','lastStopReminderAt','wFpEq','featureId','lastEnabledSessionClearedAt','trim','689541DlBkXd','existsSync','prompted','pMVqU','11asKrOe','tyFFX','now','gCHYb','branches','FILof','.ranger_cache.json','999411QeZXMn','join','1268vBBiLW','main','utf-8','enabled','ZMUIC','gUYXF','8174980ZlLgkn','474766JISDlb','QGdGL','cThJk','16vOTKUf','1030fcwfsb','.claude','2kILgxm','CJegF','IlRbB','aveQN','rLYje','TIMff','git\x20rev-parse\x20--abbrev-ref\x20HEAD','zAFfS','master','2531133IKwGLy'];_0xda68=function(){return _0x456500;};return _0xda68();}function _0x3d47(_0x3930ac,_0x36b001){_0x3930ac=_0x3930ac-0x13b;const _0xda68aa=_0xda68();let _0x3d476c=_0xda68aa[_0x3930ac];return _0x3d476c;}function saveCache(_0xd7f610){try{const _0x2ae428=_0x3a596b['dirname'](CACHE_FILE);!_0x49ec3a['existsSync'](_0x2ae428)&&_0x49ec3a['mkdirSync'](_0x2ae428,{'recursive':!![]}),_0x49ec3a['writeFileSync'](CACHE_FILE,JSON['stringify'](_0xd7f610,null,0x2));}catch{}}export function getCurrentBranch(){const _0x5c5a8c=_0x5d4704,_0xdc092b={'tIOYa':_0x5c5a8c(0x161),'TIMff':_0x5c5a8c(0x14a),'elrXQ':'HEAD'};try{const _0x34b71e=execSync(_0x5c5a8c(0x143),{'encoding':_0xdc092b['tIOYa'],'stdio':[_0xdc092b[_0x5c5a8c(0x142)],_0xdc092b[_0x5c5a8c(0x142)],_0xdc092b['TIMff']]})[_0x5c5a8c(0x151)]();if(!_0x34b71e||_0x34b71e===_0xdc092b['elrXQ'])return null;return _0x34b71e;}catch{return null;}}export function enableBranch(_0x4f5be1){const _0x2276f8=_0x5d4704,_0x4b1947={'ZvvkH':function(_0x5e2b50,_0x223078){return _0x5e2b50(_0x223078);}},_0x52b94c=loadCache();_0x52b94c[_0x2276f8(0x15a)][_0x4f5be1]=!![],_0x4b1947['ZvvkH'](saveCache,_0x52b94c);}export function disableBranch(_0x103fda){const _0x29e715={'dtCWu':function(_0x57566d){return _0x57566d();},'DnGID':function(_0x425545,_0x2701bc){return _0x425545(_0x2701bc);}},_0x1597d6=_0x29e715['dtCWu'](loadCache);delete _0x1597d6['branches'][_0x103fda],_0x29e715['DnGID'](saveCache,_0x1597d6);}export function isBranchEnabled(_0x12775e){const _0x3db233=_0x5d4704,_0x3faa51={'jqAxL':function(_0x4dadac,_0x1625d1){return _0x4dadac===_0x1625d1;}},_0xbd9bbd=loadCache();return _0x3faa51['jqAxL'](_0xbd9bbd[_0x3db233(0x15a)][_0x12775e],!![]);}function getOrCreateSession(_0x34491a,_0x159739){const _0x151e69=_0x5d4704;return!_0x34491a['sessions'][_0x159739]&&(_0x34491a[_0x151e69(0x14b)][_0x159739]={}),_0x34491a['sessions'][_0x159739];}export function enableSession(_0xbd4c3c){const _0xb3ceb5=_0x5d4704,_0x51a3b5={'FILof':function(_0x33b3c4){return _0x33b3c4();},'aveQN':function(_0x4c2d83,_0x44cd87){return _0x4c2d83!==_0x44cd87;},'pMVqU':function(_0x13119b,_0x4fa549){return _0x13119b(_0x4fa549);}},_0x44a176=_0x51a3b5[_0xb3ceb5(0x15b)](loadCache),_0x2599f7=getOrCreateSession(_0x44a176,_0xbd4c3c);_0x2599f7[_0xb3ceb5(0x162)]=!![];const _0x16b107=_0x51a3b5['FILof'](getCurrentBranch);_0x16b107&&_0x51a3b5[_0xb3ceb5(0x140)](_0x16b107,'main')&&_0x51a3b5['aveQN'](_0x16b107,_0xb3ceb5(0x145))&&(_0x44a176[_0xb3ceb5(0x15a)][_0x16b107]=!![],_0x2599f7['currentBranch']=_0x16b107),_0x51a3b5[_0xb3ceb5(0x155)](saveCache,_0x44a176);}export function isSessionEnabled(_0x9ceef0){const _0x51e19f=_0x5d4704,_0x471518={'UjDUp':function(_0x4af69e,_0xbbfae9){return _0x4af69e===_0xbbfae9;},'QUDRg':'master','FIHuH':function(_0x24a151,_0x21e20c){return _0x24a151===_0x21e20c;},'xZGDF':function(_0x59a04b,_0x2da13e){return _0x59a04b||_0x2da13e;}},_0x2e0e42=loadCache(),_0x336cb7=getCurrentBranch();if(!_0x336cb7||_0x336cb7===_0x51e19f(0x160)||_0x471518['UjDUp'](_0x336cb7,_0x471518[_0x51e19f(0x148)]))return _0x2e0e42['sessions'][_0x9ceef0]?.['enabled']===!![];const _0x4c7af7=_0x2e0e42[_0x51e19f(0x15a)][_0x336cb7]===!![],_0x233f40=_0x471518['FIHuH'](_0x2e0e42['sessions'][_0x9ceef0]?.['enabled'],!![]);return _0x471518[_0x51e19f(0x14c)](_0x4c7af7,_0x233f40);}export function disableSession(_0x1e7002){const _0x147ddc=_0x5d4704,_0x1e3727=loadCache(),_0x2e4586=getOrCreateSession(_0x1e3727,_0x1e7002);_0x2e4586[_0x147ddc(0x162)]=![],saveCache(_0x1e3727);}export function updateBranchTracking(_0x39d199){const _0x1ac070=_0x5d4704,_0x10356d={'IlRbB':function(_0x118fbc){return _0x118fbc();},'tyFFX':function(_0x2ef187,_0x1bcebc){return _0x2ef187===_0x1bcebc;},'gCHYb':'main','rLYje':function(_0x485872,_0xaca9cb){return _0x485872(_0xaca9cb);}},_0x1da79e=_0x10356d[_0x1ac070(0x13f)](loadCache),_0xcee4c4=_0x1da79e['sessions'][_0x39d199];if(!_0xcee4c4?.[_0x1ac070(0x162)])return;const _0x350792=getCurrentBranch();if(!_0x350792||_0x10356d['tyFFX'](_0x350792,_0x10356d[_0x1ac070(0x159)])||_0x10356d[_0x1ac070(0x157)](_0x350792,'master'))return;_0xcee4c4['currentBranch']!==_0x350792&&(_0x1da79e[_0x1ac070(0x15a)][_0x350792]=!![],_0xcee4c4['currentBranch']=_0x350792,_0x10356d[_0x1ac070(0x141)](saveCache,_0x1da79e));}export function initBranchTracking(_0x125636){const _0x4b5a3d=_0x5d4704,_0x3318f0={'ctKJB':'main','vLmfs':'master','cThJk':function(_0x1e0d76,_0x2d40f2){return _0x1e0d76===_0x2d40f2;}},_0xa2f7a9=loadCache(),_0xeb5f8c=getCurrentBranch();if(!_0xeb5f8c||_0xeb5f8c===_0x3318f0['ctKJB']||_0xeb5f8c===_0x3318f0['vLmfs'])return;if(_0x3318f0[_0x4b5a3d(0x168)](_0xa2f7a9['branches'][_0xeb5f8c],!![])){const _0x44b5da=getOrCreateSession(_0xa2f7a9,_0x125636);_0x44b5da[_0x4b5a3d(0x162)]=!![],_0x44b5da['currentBranch']=_0xeb5f8c,saveCache(_0xa2f7a9);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x136593){const _0x1d6f5c=_0x5d4704,_0x322fdd={'ZMUIC':function(_0x45ee34){return _0x45ee34();}},_0x1bfbff=_0x322fdd[_0x1d6f5c(0x163)](loadCache),_0x302a2c=_0x1bfbff['sessions'][_0x136593];_0x302a2c?.[_0x1d6f5c(0x162)]&&(_0x1bfbff[_0x1d6f5c(0x150)]=Date['now'](),saveCache(_0x1bfbff));}export function shouldAutoEnableAfterClear(_0x251877){const _0x462033=_0x5d4704,_0x389946={'htamr':function(_0x3745de,_0x32769c){return _0x3745de-_0x32769c;},'RanES':function(_0x4b27c9,_0x4a93c2){return _0x4b27c9<=_0x4a93c2;}};if(_0x251877!=='clear')return![];const _0x1a6a7a=loadCache(),_0x3079eb=_0x1a6a7a[_0x462033(0x150)];if(!_0x3079eb)return![];const _0x5b21b8=_0x389946[_0x462033(0x149)](Date['now'](),_0x3079eb);return _0x389946['RanES'](_0x5b21b8,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0xc83e03){const _0x33a38c=_0x5d4704,_0x24c057={'TOYTo':function(_0x4e9e9a,_0x4b30e7){return _0x4e9e9a!==_0x4b30e7;},'pCZhx':function(_0x4eecdd,_0xc96173){return _0x4eecdd(_0xc96173);}},_0x31e9b7=loadCache(),_0x17526b=getOrCreateSession(_0x31e9b7,_0xc83e03);_0x17526b['enabled']=!![];const _0x140c5f=getCurrentBranch();_0x140c5f&&_0x24c057['TOYTo'](_0x140c5f,_0x33a38c(0x160))&&_0x140c5f!==_0x33a38c(0x145)&&(_0x17526b['currentBranch']=_0x140c5f),delete _0x31e9b7['lastEnabledSessionClearedAt'],_0x24c057['pCZhx'](saveCache,_0x31e9b7);}export function registerSession(_0x5ce388,_0xdf9758){const _0x5e7a8e={'HCHOe':function(_0x5c49cc){return _0x5c49cc();},'KnMQV':function(_0x39c056,_0x365afe){return _0x39c056(_0x365afe);}},_0x1d9839=_0x5e7a8e['HCHOe'](loadCache),_0x558ab1=getOrCreateSession(_0x1d9839,_0x5ce388);_0x558ab1['featureId']=_0xdf9758,_0x558ab1['registeredAt']=new Date()['toISOString'](),_0x5e7a8e['KnMQV'](saveCache,_0x1d9839);}export function getSessionEntry(_0x208acf){const _0x302f2f=_0x5d4704,_0x265056=loadCache(),_0x33f6b8=_0x265056['sessions'][_0x208acf];if(_0x33f6b8?.['featureId']&&_0x33f6b8?.['registeredAt'])return{'featureId':_0x33f6b8[_0x302f2f(0x14f)],'registeredAt':_0x33f6b8['registeredAt']};return null;}export function unregisterSession(_0x3b69e0){const _0x6b9cb0=_0x5d4704,_0x37326e={'FaaBJ':function(_0x56dda2){return _0x56dda2();},'CJegF':function(_0x5a0415,_0x5072ee){return _0x5a0415(_0x5072ee);}},_0x237509=_0x37326e['FaaBJ'](loadCache),_0x4a96e4=_0x237509[_0x6b9cb0(0x14b)][_0x3b69e0];_0x4a96e4&&(delete _0x4a96e4['featureId'],delete _0x4a96e4['registeredAt'],_0x37326e[_0x6b9cb0(0x13e)](saveCache,_0x237509));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8,STOP_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x183452){const _0x45ebf4=_0x5d4704,_0x2de09e={'gUYXF':function(_0x19c527){return _0x19c527();},'TOKoc':function(_0x4cb454,_0x22bf4e){return _0x4cb454>=_0x22bf4e;},'bloEg':function(_0x52834e,_0x243286){return _0x52834e(_0x243286);}},_0x56ffdb=_0x2de09e[_0x45ebf4(0x164)](loadCache),_0xe9df8f=getOrCreateSession(_0x56ffdb,_0x183452),_0x5983ae=_0xe9df8f['lastPlanReminderAt']||0x0,_0xbabb96=Date['now']();if(_0x2de09e['TOKoc'](_0xbabb96-_0x5983ae,PLAN_REMINDER_INTERVAL_MS))return _0xe9df8f['lastPlanReminderAt']=_0xbabb96,_0x2de09e['bloEg'](saveCache,_0x56ffdb),!![];return![];}export function shouldShowStopReminder(_0x2c6c0a){const _0x5eae3b=_0x5d4704,_0x58d0a9={'NwVBi':function(_0xf42f45,_0x531016){return _0xf42f45-_0x531016;},'zAFfS':function(_0x1405a5,_0x6088d5){return _0x1405a5(_0x6088d5);}},_0x1a4539=loadCache(),_0x29f7e1=getOrCreateSession(_0x1a4539,_0x2c6c0a),_0x1d6ebc=_0x29f7e1[_0x5eae3b(0x14d)]||0x0,_0x31f907=Date[_0x5eae3b(0x158)]();if(_0x58d0a9['NwVBi'](_0x31f907,_0x1d6ebc)>=STOP_REMINDER_INTERVAL_MS)return _0x29f7e1['lastStopReminderAt']=_0x31f907,_0x58d0a9[_0x5eae3b(0x144)](saveCache,_0x1a4539),!![];return![];}export function hasSessionBeenPrompted(_0x1ee6f1){const _0x1593cf=_0x5d4704,_0x17eb57={'wFpEq':function(_0x57253b){return _0x57253b();}},_0x25786d=_0x17eb57[_0x1593cf(0x14e)](loadCache);return _0x25786d['sessions'][_0x1ee6f1]?.[_0x1593cf(0x154)]===!![];}export function markSessionPrompted(_0xc1102){const _0x1dad25=loadCache(),_0x526e2c=getOrCreateSession(_0x1dad25,_0xc1102);_0x526e2c['prompted']=!![],saveCache(_0x1dad25);}export function getCacheFile(){return CACHE_FILE;}
@@ -1 +1 @@
1
- const _0x189951=_0x3cba;(function(_0x44af4f,_0x4d5f59){const _0x3f120a=_0x3cba,_0x51ae08=_0x44af4f();while(!![]){try{const _0x4567b5=parseInt(_0x3f120a(0x16d))/0x1+parseInt(_0x3f120a(0x123))/0x2+-parseInt(_0x3f120a(0x158))/0x3+parseInt(_0x3f120a(0x15b))/0x4+-parseInt(_0x3f120a(0x133))/0x5+parseInt(_0x3f120a(0x15d))/0x6*(parseInt(_0x3f120a(0x178))/0x7)+-parseInt(_0x3f120a(0x16b))/0x8;if(_0x4567b5===_0x4d5f59)break;else _0x51ae08['push'](_0x51ae08['shift']());}catch(_0x336153){_0x51ae08['push'](_0x51ae08['shift']());}}}(_0x16d8,0x99787));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';function _0x3cba(_0x1115e6,_0x138ae3){_0x1115e6=_0x1115e6-0x120;const _0x16d873=_0x16d8();let _0x3cbaf3=_0x16d873[_0x1115e6];return _0x3cbaf3;}import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x31ea4b){const _0x243d7e=_0x3cba,_0x55ae2a={'OOARp':function(_0x46589e){return _0x46589e();},'yJOMO':function(_0x28f496,_0x378b55,_0x2650ff,_0x531e57){return _0x28f496(_0x378b55,_0x2650ff,_0x531e57);},'jFuvy':'local','zyPxR':function(_0x16cac8,_0x32327d,_0x1c918e){return _0x16cac8(_0x32327d,_0x1c918e);},'nZjLO':function(_0x3d7b80,_0x36a3e3){return _0x3d7b80(_0x36a3e3);},'CfNqu':function(_0x88e735,_0x1e8721){return _0x88e735(_0x1e8721);},'AfMUy':function(_0x383f2f,_0x15e403){return _0x383f2f!==_0x15e403;},'cwwFa':function(_0x2b2628,_0x5e351c){return _0x2b2628!==_0x5e351c;},'nNKbm':function(_0x565bc5,_0x586b7a){return _0x565bc5(_0x586b7a);}},_0xa314c3=_0x55ae2a['OOARp'](getRangerDir),_0x203c8f=join(_0xa314c3,'ci',_0x31ea4b),_0xf1fead=_0x55ae2a['yJOMO'](join,_0xa314c3,_0x55ae2a[_0x243d7e(0x169)],_0x31ea4b),_0x2ceb55=join(_0xa314c3,_0x31ea4b),_0x2d713c=_0x55ae2a['zyPxR'](join,_0xa314c3,_0x243d7e(0x162)),_0x54c6f2=_0x55ae2a['zyPxR'](join,_0xa314c3,'ci');if(existsSync(_0x203c8f))return _0x203c8f;if(_0x55ae2a['nZjLO'](existsSync,_0xf1fead))return _0xf1fead;if(_0x55ae2a[_0x243d7e(0x13a)](existsSync,_0x2ceb55)&&(_0x55ae2a['AfMUy'](_0x2ceb55,_0x2d713c)&&_0x55ae2a[_0x243d7e(0x12d)](_0x2ceb55,_0x54c6f2)?!![]:_0x55ae2a['nNKbm'](hasLegacyProfileFiles,_0x2ceb55)))return _0x2ceb55;return _0xf1fead;}function _0x16d8(){const _0x28ce52=['7jkTtos','pySUT','--allow-running-insecure-content','\x20is\x20not\x20set','rTWGZ','--disable-setuid-sandbox','keys','allowInsecureLocalhost','install','settings.json','rQXdi','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','headless','ekjVH','header','wLyra','storageState','HYBnZ','catch','now','stringify','vision','launchOptions','args','286130zhRurc','rhDkP','.json','ranger-auth-','sdNNw','WzrMC','safeMode','ranger-config','JDJQV','length','cwwFa','xfoqB','clipboard-read','message','code','chromium','1845930MNOhVS','join','cdpEndpoint','location','none','auth.json','clipboard-write','CfNqu','browser','XbBNq','eiinA','ytVuH','path','wfmBy','--no-sandbox','Failed\x20to\x20decrypt\x20auth\x20state:\x20','LYeEx','UkJJB','hJHOh','gkUCA','uxtwB','QdjGa','XXvrr','entries','hAVfl','slwaK','storageStatePath','all','yIxMp','FkELL','mwbWs','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','tempAuthPath','extraHTTPHeaders','hkSaK','object','string','3557313FbXGKb','sessions','includes','3360244xziqAM','AQnUV','1439322iTkyIQ','setupHeader','Bkyff','contextOptions','boolean','local','cExnn','XYCUD','map','irksN','spqnP','userAgent','jFuvy','jygKq','2254072BEJkfQ','dmAKG','1242318woeBae','fromEntries','XYEzQ','vehKG','IdcTW','parse','filter','env','Navov','ENOENT','IWWsf'];_0x16d8=function(){return _0x28ce52;};return _0x16d8();}export function findExistingEnv(_0x396b89,_0x4206cf){const _0x599a00=_0x3cba,_0x182672={'fFlJV':'local','IdcTW':'legacy','WzrMC':function(_0x33ccff,_0x3c4ed5,_0x3d1354){return _0x33ccff(_0x3c4ed5,_0x3d1354);},'xfoqB':function(_0x15092f,_0xd3ceea,_0xcb5857,_0x11677c){return _0x15092f(_0xd3ceea,_0xcb5857,_0x11677c);},'rhDkP':function(_0xf91df4,_0x365548,_0xc32d90){return _0xf91df4(_0x365548,_0xc32d90);},'Navov':function(_0x17d5f8,_0x126ff3){return _0x17d5f8(_0x126ff3);},'spqnP':function(_0x12a38a,_0x217803){return _0x12a38a(_0x217803);}},_0x2652f5=getRangerDir(),_0x144023=_0x4206cf?.['locations']??['ci',_0x182672['fFlJV'],_0x182672[_0x599a00(0x171)]],_0x4e1e9c=_0x182672[_0x599a00(0x128)](join,_0x2652f5,_0x599a00(0x162)),_0x1f71bd=join(_0x2652f5,'ci'),_0x22a28b=[{'location':'ci','path':_0x182672[_0x599a00(0x12e)](join,_0x2652f5,'ci',_0x396b89)},{'location':_0x599a00(0x162),'path':join(_0x2652f5,_0x182672['fFlJV'],_0x396b89)},{'location':_0x182672[_0x599a00(0x171)],'path':_0x182672[_0x599a00(0x124)](join,_0x2652f5,_0x396b89)}];for(const _0x14f81b of _0x22a28b){if(_0x144023[_0x599a00(0x15a)](_0x14f81b[_0x599a00(0x136)])&&_0x182672[_0x599a00(0x175)](existsSync,_0x14f81b[_0x599a00(0x13f)])){if(_0x14f81b['location']===_0x182672[_0x599a00(0x171)]&&(_0x14f81b['path']===_0x4e1e9c||_0x14f81b[_0x599a00(0x13f)]===_0x1f71bd)&&!_0x182672[_0x599a00(0x167)](hasLegacyProfileFiles,_0x14f81b[_0x599a00(0x13f)]))continue;return{'path':_0x14f81b['path'],'location':_0x14f81b[_0x599a00(0x136)]};}}return null;}function hasLegacyProfileFiles(_0x46749a){const _0xf148ff=_0x3cba,_0x4fb54a={'sdNNw':function(_0x3fa8c0,_0x26dc1d){return _0x3fa8c0(_0x26dc1d);},'vehKG':function(_0x1da7ee,_0x29b922,_0x5702bb){return _0x1da7ee(_0x29b922,_0x5702bb);}};return existsSync(join(_0x46749a,'settings.json'))||existsSync(join(_0x46749a,_0xf148ff(0x138)))||_0x4fb54a[_0xf148ff(0x127)](existsSync,_0x4fb54a[_0xf148ff(0x170)](join,_0x46749a,'auth.json.enc'));}export function isEnvCi(_0x1d8291){const _0x59380d=_0x3cba,_0x3d94dc={'hkSaK':function(_0x5b07c6,_0x11a3f9,_0x2af6f2,_0x91a5d2){return _0x5b07c6(_0x11a3f9,_0x2af6f2,_0x91a5d2);},'XYCUD':function(_0x2b02b7){return _0x2b02b7();}};return existsSync(_0x3d94dc[_0x59380d(0x155)](join,_0x3d94dc[_0x59380d(0x164)](getRangerDir),'ci',_0x1d8291));}export async function cleanupTempFiles(_0x5ef9f6){const _0x115b3c=_0x3cba,_0x338ded={'GSyvH':function(_0x196b38,_0x4f596a){return _0x196b38!==_0x4f596a;}},_0x37fb58=[_0x5ef9f6[_0x115b3c(0x153)],_0x5ef9f6['configPath']]['filter'](Boolean);await Promise[_0x115b3c(0x14e)](_0x37fb58['map'](_0x11c24e=>unlink(_0x11c24e)[_0x115b3c(0x18a)](_0x12cc78=>{const _0x137f2d=_0x115b3c;_0x338ded['GSyvH'](_0x12cc78[_0x137f2d(0x131)],_0x137f2d(0x176))&&console['warn'](_0x137f2d(0x183)+_0x11c24e+':',_0x12cc78[_0x137f2d(0x130)]);})));}export function getSettingsPath(_0x3a9d54){const _0x5da744=_0x3cba,_0x57d57e={'gkUCA':_0x5da744(0x181)};return join(getEnvDir(_0x3a9d54),_0x57d57e[_0x5da744(0x146)]);}export async function loadSettings(_0x2e8319){const _0x414ba9=_0x3cba,_0x2aac76={'rQXdi':function(_0x40756e,_0xbe1d4){return _0x40756e(_0xbe1d4);},'ePdvP':function(_0x457c37,_0x23e994,_0x5ba473){return _0x457c37(_0x23e994,_0x5ba473);}},_0xeb52e6=_0x2aac76[_0x414ba9(0x182)](getSettingsPath,_0x2e8319);if(!_0x2aac76['rQXdi'](existsSync,_0xeb52e6))return{};try{const _0x317200=await _0x2aac76['ePdvP'](readFile,_0xeb52e6,'utf-8');return JSON[_0x414ba9(0x172)](_0x317200);}catch{return{};}}export async function saveSettings(_0x3f25f8,_0x9106c3){const _0x41f18f=_0x3cba,_0x29e709={'nACDg':function(_0x1ef463,_0x59b1b6){return _0x1ef463(_0x59b1b6);},'HVhAM':function(_0x2e4dc1,_0x574b69,_0x552bf9){return _0x2e4dc1(_0x574b69,_0x552bf9);}},_0x4aa25c=_0x29e709['nACDg'](getSettingsPath,_0x3f25f8),_0x551ce1=dirname(_0x4aa25c);!existsSync(_0x551ce1)&&await _0x29e709['HVhAM'](mkdir,_0x551ce1,{'recursive':!![]}),await writeFile(_0x4aa25c,JSON[_0x41f18f(0x18c)](_0x9106c3,null,0x2));}export function resolveEnvVars(_0xb4e84c){const _0x489703=_0x3cba,_0x34f06b={'exirg':_0x489703(0x157),'UEdQU':function(_0x266f65,_0x926594){return _0x266f65===_0x926594;},'XYEzQ':_0x489703(0x156)};if(typeof _0xb4e84c===_0x34f06b['exirg'])return _0xb4e84c['replace'](/\$\{(\w+)\}/g,(_0x32a7f2,_0x142607)=>{const _0xa1b213=_0x489703,_0x502585=process[_0xa1b213(0x174)][_0x142607];if(_0x502585===undefined)throw new Error('Environment\x20variable\x20'+_0x142607+_0xa1b213(0x17b));return _0x502585;});if(Array['isArray'](_0xb4e84c))return _0xb4e84c[_0x489703(0x165)](resolveEnvVars);if(_0xb4e84c&&_0x34f06b['UEdQU'](typeof _0xb4e84c,_0x34f06b[_0x489703(0x16f)]))return Object[_0x489703(0x16e)](Object['entries'](_0xb4e84c)[_0x489703(0x165)](([_0x3fdc50,_0x47cc43])=>[_0x3fdc50,resolveEnvVars(_0x47cc43)]));return _0xb4e84c;}const isRecord=_0x5d1b5e=>typeof _0x5d1b5e==='object'&&_0x5d1b5e!==null&&!Array['isArray'](_0x5d1b5e),asRecord=_0x2ac167=>isRecord(_0x2ac167)?_0x2ac167:undefined,mergeHeaders=(_0x3b2c9b,_0xfd50b5)=>{const _0x2bae79=_0x3cba,_0x57c02f={..._0x3b2c9b??{},..._0xfd50b5??{}};return Object[_0x2bae79(0x17e)](_0x57c02f)['length']?_0x57c02f:undefined;},SAFE_MODE_ARGS=['--disable-features=WebBluetooth'],ALLOW_LOCALHOST_ARGS=['--disable-web-security',_0x189951(0x17a),'--unsafely-treat-insecure-origin-as-secure=http://localhost','--allow-insecure-localhost'];export function buildBrowserOptionsFromSettings(_0x532e9e,_0x580b4a={}){const _0xc81cef=_0x189951,_0x3e2dd5={'QdjGa':_0xc81cef(0x161),'wfmBy':function(_0x169778,_0xa3d76){return _0x169778===_0xa3d76;},'mwbWs':_0xc81cef(0x157),'kclkZ':function(_0x1c5d6a,_0x3fbfb0){return _0x1c5d6a(_0x3fbfb0);}},_0x284a68=asRecord(_0x532e9e[_0xc81cef(0x13b)]),_0x19700a={...asRecord(_0x284a68?.[_0xc81cef(0x121)])??{}};typeof _0x580b4a['headless']===_0x3e2dd5[_0xc81cef(0x148)]&&(_0x19700a[_0xc81cef(0x184)]=_0x580b4a['headless']);if(_0x532e9e[_0xc81cef(0x129)]){const _0x4df390=_0x19700a[_0xc81cef(0x122)]??[],_0x3ca0b9=SAFE_MODE_ARGS[_0xc81cef(0x173)](_0x479cb9=>!_0x4df390['includes'](_0x479cb9));_0x19700a[_0xc81cef(0x122)]=[..._0x4df390,..._0x3ca0b9];}if(_0x532e9e[_0xc81cef(0x17f)]){const _0x5d6517=_0x19700a[_0xc81cef(0x122)]??[],_0x1a02e2=ALLOW_LOCALHOST_ARGS[_0xc81cef(0x173)](_0x29c33a=>!_0x5d6517['includes'](_0x29c33a));_0x19700a[_0xc81cef(0x122)]=[..._0x5d6517,..._0x1a02e2];}const _0xb0bf27={...asRecord(_0x284a68?.['contextOptions'])??{}};_0xb0bf27['ignoreHTTPSErrors']=!![];_0x3e2dd5[_0xc81cef(0x140)](typeof _0x532e9e[_0xc81cef(0x168)],_0x3e2dd5[_0xc81cef(0x151)])&&(_0xb0bf27[_0xc81cef(0x168)]=_0x532e9e['userAgent']);const _0x2652f9=mergeHeaders(_0x3e2dd5['kclkZ'](asRecord,_0xb0bf27['extraHTTPHeaders']),asRecord(_0x532e9e['headers']));return _0x2652f9?_0xb0bf27[_0xc81cef(0x154)]=_0x2652f9:delete _0xb0bf27['extraHTTPHeaders'],_0x580b4a[_0xc81cef(0x14d)]&&(_0xb0bf27['storageState']=_0x580b4a['storageStatePath']),{'launchOptions':_0x19700a,'contextOptions':_0xb0bf27};}export async function buildPlaywrightConfig(_0x60dbce,_0x64e606,_0x44aad3,_0x24a3de){const _0x109bb5=_0x189951,_0x3a4e48={'FkELL':function(_0x5f5b7d,_0x395255,_0x1eb573){return _0x5f5b7d(_0x395255,_0x1eb573);},'SxYAc':_0x109bb5(0x132),'YHMHa':'auth.json.enc','irksN':_0x109bb5(0x138),'skJmH':_0x109bb5(0x152),'Bkyff':function(_0x3ff94f){return _0x3ff94f();},'eiinA':function(_0x523127,_0x583fc0,_0x2160af){return _0x523127(_0x583fc0,_0x2160af);},'pySUT':function(_0x610e06,_0x5647d2){return _0x610e06(_0x5647d2);},'nCuKq':function(_0x292e69,_0x23ff40,_0x1f3e70,_0x46b244){return _0x292e69(_0x23ff40,_0x1f3e70,_0x46b244);},'XbBNq':_0x109bb5(0x159),'wLyra':'core','jygKq':'tabs','hPWZV':'pdf','rTWGZ':_0x109bb5(0x120),'XXvrr':function(_0x552792,_0x37965c){return _0x552792===_0x37965c;},'UkJJB':function(_0x324e36,_0x88a6d6,_0x242e73){return _0x324e36(_0x88a6d6,_0x242e73);}},_0x351254=getEnvDir(_0x64e606),_0x3d728b=join(_0x351254,_0x3a4e48['YHMHa']),_0x48380f=join(_0x351254,_0x3a4e48[_0x109bb5(0x166)]);let _0x706e62,_0x3630a0;if(existsSync(_0x3d728b))try{const _0x455206=await getToken();if(!_0x455206)throw new Error(_0x3a4e48['skJmH']);const _0x167361=await readFile(_0x3d728b),_0x1350ba=decrypt(_0x167361,_0x455206);_0x3630a0=_0x3a4e48['FkELL'](join,_0x3a4e48[_0x109bb5(0x15f)](tmpdir),'ranger-auth-'+Date['now']()+_0x109bb5(0x125)),await _0x3a4e48[_0x109bb5(0x13d)](writeFile,_0x3630a0,_0x1350ba),_0x706e62=_0x3630a0;}catch(_0x318fcd){const _0x2b60d6=_0x318fcd instanceof Error?_0x318fcd[_0x109bb5(0x130)]:_0x3a4e48[_0x109bb5(0x179)](String,_0x318fcd);throw new Error(_0x109bb5(0x142)+_0x2b60d6);}else existsSync(_0x48380f)&&(_0x706e62=_0x48380f);const _0x2be22b=_0x44aad3||randomUUID(),_0x157796=_0x3a4e48['nCuKq'](join,getRangerDir(),_0x3a4e48[_0x109bb5(0x13c)],_0x2be22b),_0x2350b4=_0x3a4e48['pySUT'](Boolean,_0x60dbce['cdpEndpoint']),_0x352dc9=_0x2350b4?{'browserName':_0x3a4e48['SxYAc'],'cdpEndpoint':_0x60dbce['cdpEndpoint']}:((()=>{const _0x3d5ce7=_0x109bb5,{launchOptions:_0x1103d7,contextOptions:_0x1c3008}=_0x3a4e48['FkELL'](buildBrowserOptionsFromSettings,_0x60dbce,{'headless':_0x24a3de?![]:_0x60dbce['headless']??!![],'storageStatePath':_0x706e62});if(process['getuid']?.()===0x0){const _0x6c0564=['--no-sandbox',_0x3d5ce7(0x17d)],_0x38a644=_0x1103d7[_0x3d5ce7(0x122)]??[],_0x40f576=_0x6c0564[_0x3d5ce7(0x173)](_0x33a4ca=>!_0x38a644['includes'](_0x33a4ca));_0x1103d7[_0x3d5ce7(0x122)]=[..._0x38a644,..._0x40f576];}return{'isolated':!![],'browserName':_0x3a4e48['SxYAc'],'launchOptions':_0x1103d7,'contextOptions':{..._0x1c3008,'permissions':['clipboard-read','clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x62bf6d={'name':_0x64e606,'browser':_0x352dc9,'capabilities':[_0x3a4e48[_0x109bb5(0x187)],_0x3a4e48[_0x109bb5(0x16a)],_0x109bb5(0x180),_0x3a4e48['hPWZV'],_0x3a4e48[_0x109bb5(0x17c)]],'imageResponses':'allow','saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x157796};if(!_0x2350b4){const _0x283550=_0x62bf6d['browser'],_0x3e17e4=_0x283550[_0x109bb5(0x160)];if(_0x3a4e48[_0x109bb5(0x149)](_0x3e17e4['userAgent'],undefined))delete _0x3e17e4['userAgent'];if(_0x3e17e4['storageState']===undefined)delete _0x3e17e4[_0x109bb5(0x188)];}const _0x2190fa=join(_0x3a4e48[_0x109bb5(0x15f)](tmpdir),'ranger-config');!existsSync(_0x2190fa)&&await mkdir(_0x2190fa,{'recursive':!![]});const _0x3c9d79=_0x3a4e48[_0x109bb5(0x144)](join,_0x2190fa,_0x64e606+'-'+Date[_0x109bb5(0x18b)]()+_0x109bb5(0x125));return await _0x3a4e48[_0x109bb5(0x150)](writeFile,_0x3c9d79,JSON[_0x109bb5(0x18c)](_0x62bf6d,null,0x2)),{'configPath':_0x3c9d79,'tempAuthPath':_0x3630a0};}export async function buildPlaywrightCliConfig(_0x5c35a,_0x94b603,_0x23b3fb,_0x2f6b77){const _0xc1082c=_0x189951,_0x4fac85={'yIxMp':function(_0x489533,_0x3bdeae,_0x9c559b){return _0x489533(_0x3bdeae,_0x9c559b);},'ytVuH':_0xc1082c(0x141),'ekjVH':_0xc1082c(0x132),'CGkDR':_0xc1082c(0x139),'OwSLt':'auth.json.enc','NjeYT':function(_0x4f09f7){return _0x4f09f7();},'ZeLoJ':function(_0x1359ec,_0x490125){return _0x1359ec(_0x490125);},'hAVfl':function(_0x4f5b93,_0x3da302,_0x842e1d){return _0x4f5b93(_0x3da302,_0x842e1d);},'eKcHc':function(_0x116438,_0x165d29){return _0x116438 instanceof _0x165d29;},'TjnYC':function(_0x455e28,_0x484a7c,_0x4e3a96,_0x10eb57){return _0x455e28(_0x484a7c,_0x4e3a96,_0x10eb57);},'HYBnZ':'file','SVkhZ':_0xc1082c(0x137),'uxtwB':function(_0x346431){return _0x346431();},'PBVGh':function(_0x2f4f5d,_0x1e2374){return _0x2f4f5d(_0x1e2374);},'JDJQV':function(_0x4a88f1,_0x1f9761,_0xdacaa7){return _0x4a88f1(_0x1f9761,_0xdacaa7);}},_0x47520f=getEnvDir(_0x94b603),_0x59b2be=_0x4fac85[_0xc1082c(0x14f)](join,_0x47520f,_0x4fac85['OwSLt']),_0x677364=_0x4fac85[_0xc1082c(0x14f)](join,_0x47520f,'auth.json');let _0x14af55,_0x184c79;if(existsSync(_0x59b2be))try{const _0x59f671=await _0x4fac85['NjeYT'](getToken);if(!_0x59f671)throw new Error(_0xc1082c(0x152));const _0x71e790=await _0x4fac85['ZeLoJ'](readFile,_0x59b2be),_0x24fac3=_0x4fac85['yIxMp'](decrypt,_0x71e790,_0x59f671);_0x184c79=_0x4fac85[_0xc1082c(0x14b)](join,tmpdir(),_0xc1082c(0x126)+Date[_0xc1082c(0x18b)]()+'.json'),await writeFile(_0x184c79,_0x24fac3),_0x14af55=_0x184c79;}catch(_0x160105){const _0x428ef1=_0x4fac85['eKcHc'](_0x160105,Error)?_0x160105['message']:String(_0x160105);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x428ef1);}else _0x4fac85['ZeLoJ'](existsSync,_0x677364)&&(_0x14af55=_0x677364);const _0x5995ea=_0x23b3fb||randomUUID(),_0x4d39cd=_0x4fac85['TjnYC'](join,getRangerDir(),'sessions',_0x5995ea),_0x1b4de2=Boolean(_0x5c35a[_0xc1082c(0x135)]),_0x4037e2=_0x1b4de2?{'browserName':'chromium','cdpEndpoint':_0x5c35a['cdpEndpoint']}:((()=>{const _0x3ce826=_0xc1082c,{launchOptions:_0x1f2112,contextOptions:_0x5aec1f}=_0x4fac85[_0x3ce826(0x14f)](buildBrowserOptionsFromSettings,_0x5c35a,{'headless':_0x2f6b77?![]:_0x5c35a['headless']??!![],'storageStatePath':_0x14af55});if(process['getuid']?.()===0x0){const _0x4cf98d=[_0x4fac85[_0x3ce826(0x13e)],'--disable-setuid-sandbox'],_0x21cb69=_0x1f2112[_0x3ce826(0x122)]??[],_0x2e1268=_0x4cf98d[_0x3ce826(0x173)](_0x25e1c2=>!_0x21cb69[_0x3ce826(0x15a)](_0x25e1c2));_0x1f2112[_0x3ce826(0x122)]=[..._0x21cb69,..._0x2e1268];}return{'isolated':!![],'browserName':_0x4fac85[_0x3ce826(0x185)],'launchOptions':_0x1f2112,'contextOptions':{..._0x5aec1f,'permissions':[_0x3ce826(0x12f),_0x4fac85['CGkDR']],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x1b4de2){const _0xabc8e8=_0x4037e2['contextOptions'];if(_0xabc8e8['userAgent']===undefined)delete _0xabc8e8[_0xc1082c(0x168)];if(_0xabc8e8['storageState']===undefined)delete _0xabc8e8['storageState'];}const _0x475756={'browser':_0x4037e2,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x4d39cd,'outputMode':_0x4fac85[_0xc1082c(0x189)],'codegen':_0x4fac85['SVkhZ']},_0x59850d=join(_0x4fac85[_0xc1082c(0x147)](tmpdir),_0xc1082c(0x12a));!_0x4fac85['PBVGh'](existsSync,_0x59850d)&&await mkdir(_0x59850d,{'recursive':!![]});const _0xcbb983=_0x4fac85[_0xc1082c(0x12b)](join,_0x59850d,_0x94b603+'-'+Date['now']()+'-cli.json');return await writeFile(_0xcbb983,JSON[_0xc1082c(0x18c)](_0x475756,null,0x2)),{'configPath':_0xcbb983,'tempAuthPath':_0x184c79};}export function getNestedValue(_0x517633,_0x1c7267){const _0x59dd30=_0x189951,_0x106ea3={'waqcW':function(_0x41b29a,_0x38e8f2){return _0x41b29a(_0x38e8f2);},'slwaK':function(_0x5b9894,_0x5a290b){return _0x5b9894===_0x5a290b;}},_0x31d144=_0x106ea3['waqcW'](parseKeyPath,_0x1c7267);let _0x7beed=_0x517633;for(const _0x43a04e of _0x31d144){if(_0x106ea3[_0x59dd30(0x14c)](_0x7beed,null)||_0x7beed===undefined||typeof _0x7beed!==_0x59dd30(0x156))return undefined;_0x7beed=_0x7beed[_0x43a04e];}return _0x7beed;}export function setNestedValue(_0x27919a,_0x597aa6,_0x482718){const _0x11b876=_0x189951,_0x15d8d9={'cExuO':function(_0x364412,_0x301ccd){return _0x364412(_0x301ccd);},'hJHOh':function(_0x2b863f,_0x51f753){return _0x2b863f<_0x51f753;},'dItrk':function(_0x110608,_0xa785f2){return _0x110608-_0xa785f2;},'AQnUV':function(_0x4a5a2c,_0x256b78){return _0x4a5a2c in _0x256b78;},'rVsOF':function(_0x3518fc,_0x33dd13){return _0x3518fc!==_0x33dd13;},'nLeWI':'object','KIWdc':function(_0x3396aa,_0xa37fa){return _0x3396aa-_0xa37fa;}},_0x14d87c=_0x15d8d9['cExuO'](parseKeyPath,_0x597aa6);let _0x26276b=_0x27919a;for(let _0x3e6130=0x0;_0x15d8d9[_0x11b876(0x145)](_0x3e6130,_0x15d8d9['dItrk'](_0x14d87c['length'],0x1));_0x3e6130++){const _0x25ecc4=_0x14d87c[_0x3e6130];(!_0x15d8d9[_0x11b876(0x15c)](_0x25ecc4,_0x26276b)||_0x15d8d9['rVsOF'](typeof _0x26276b[_0x25ecc4],_0x15d8d9['nLeWI']))&&(_0x26276b[_0x25ecc4]={}),_0x26276b=_0x26276b[_0x25ecc4];}_0x26276b[_0x14d87c[_0x15d8d9['KIWdc'](_0x14d87c['length'],0x1)]]=_0x482718;}export function deleteNestedValue(_0x4e3d59,_0x4483e0){const _0x31df1f=_0x189951,_0x5ed8da={'aZpju':function(_0x540198,_0x1b3e12){return _0x540198(_0x1b3e12);},'RGFao':function(_0x2bbdb9,_0x53ab48){return _0x2bbdb9<_0x53ab48;},'siWag':function(_0x5c02b9,_0x1fc6f9){return _0x5c02b9-_0x1fc6f9;},'cExnn':function(_0xfc88ad,_0x1a48c4){return _0xfc88ad===_0x1a48c4;},'OMZND':function(_0x260c54,_0x1372e){return _0x260c54!==_0x1372e;},'LYeEx':function(_0x37cfc2,_0x441fd4){return _0x37cfc2 in _0x441fd4;}},_0x16aecb=_0x5ed8da['aZpju'](parseKeyPath,_0x4483e0);let _0x2a1330=_0x4e3d59;for(let _0x351d8c=0x0;_0x5ed8da['RGFao'](_0x351d8c,_0x5ed8da['siWag'](_0x16aecb[_0x31df1f(0x12c)],0x1));_0x351d8c++){if(_0x5ed8da[_0x31df1f(0x163)](_0x2a1330,null)||_0x2a1330===undefined||_0x5ed8da['OMZND'](typeof _0x2a1330,_0x31df1f(0x156)))return![];_0x2a1330=_0x2a1330[_0x16aecb[_0x351d8c]];}if(_0x2a1330===null||_0x2a1330===undefined||typeof _0x2a1330!=='object')return![];const _0x598be7=_0x16aecb[_0x16aecb[_0x31df1f(0x12c)]-0x1];if(_0x5ed8da[_0x31df1f(0x143)](_0x598be7,_0x2a1330))return delete _0x2a1330[_0x598be7],!![];return![];}function parseKeyPath(_0x30a8bd){const _0x1b8fdd=_0x189951,_0x2f7ffa={'XIrUa':function(_0x1b11d7,_0x314ac8){return _0x1b11d7===_0x314ac8;},'BJHZO':_0x1b8fdd(0x186),'XkZeb':'setupHeaders'},_0x37b8c7=_0x30a8bd['split']('.');return _0x2f7ffa['XIrUa'](_0x37b8c7[0x0],_0x2f7ffa['BJHZO'])&&(_0x37b8c7[0x0]='headers'),_0x37b8c7[0x0]===_0x1b8fdd(0x15e)&&(_0x37b8c7[0x0]=_0x2f7ffa['XkZeb']),_0x37b8c7;}export function formatSettings(_0xfd019c,_0x221594=0x0){const _0x31bae9=_0x189951,_0x37bfeb={'IWWsf':function(_0x128211,_0x3c0062){return _0x128211===_0x3c0062;},'dmAKG':'object'},_0x4cd766=[],_0x477c32='\x20\x20'['repeat'](_0x221594);for(const [_0x6b6f50,_0x5ab870]of Object[_0x31bae9(0x14a)](_0xfd019c)){if(_0x37bfeb[_0x31bae9(0x177)](_0x5ab870,undefined))continue;if(typeof _0x5ab870===_0x37bfeb[_0x31bae9(0x16c)]&&_0x5ab870!==null){_0x4cd766['push'](''+_0x477c32+_0x6b6f50+':');for(const [_0xf0dfb0,_0x42aaa3]of Object[_0x31bae9(0x14a)](_0x5ab870)){_0x4cd766['push'](_0x477c32+'\x20\x20'+_0xf0dfb0+':\x20'+_0x42aaa3);}}else _0x4cd766['push'](''+_0x477c32+_0x6b6f50+':\x20'+_0x5ab870);}return _0x4cd766[_0x31bae9(0x134)]('\x0a');}
1
+ const _0x44d6f0=_0x33f6;function _0x5c68(){const _0x3d814d=['--disable-setuid-sandbox','utf-8','PCYAr','11awHDjO','UUbLw','XsIFD','sessions','file','3KJFLOF','pweVV','CjVGm','warn','178341BzeLWs','allowInsecureLocalhost','XGdLu','258993ltoJTp','UaWJT','.json','ZHyfn','TzABd','oFxxi','-cli.json','storageStatePath','yLqGS','stringify','BONWq','--disable-web-security','40zIeHnw','auth.json','entries','345214VKyReX','configPath','mCcfK','fHIwN','EXNsz','CmuyB','replace','object','mLOtu','YxpMI','repeat','yxUjQ','length','auth.json.enc','headless','welvA','parse','zWCRr','vision','launchOptions','userAgent','rangerDir','--disable-features=WebBluetooth','headers','path','Failed\x20to\x20clean\x20up\x20temp\x20file\x20','14945pJHjcR','cdpEndpoint','isArray','push','catch','oHNip','WhkSp','now','xOyvQ','args','storageState','LvWZk','rAAHt','YopFL','KkKuA','contextOptions','cYiUk','message','432lHqzQw','vosyc','--unsafely-treat-insecure-origin-as-secure=http://localhost','yYFke','UJnIx','328068SzFDQH','No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','browser','FBQZI','GXvGa','extraHTTPHeaders','legacy','nZFSn','QNDjR','map','QiTfv','getuid','env','othMU','boolean','YPtUe','ranger-config','8286700ooxoji','dpxwP','Tthwy','string','zVXTH','eSafq','tabs','kGnqe','--no-sandbox','IPFgX','chromium','header','allow','includes','184878JPOscJ','QPTLY','NiDgO','location','filter','SDNUG','--allow-insecure-localhost'];_0x5c68=function(){return _0x3d814d;};return _0x5c68();}function _0x33f6(_0x514e1e,_0x2f80e2){_0x514e1e=_0x514e1e-0x180;const _0x5c68cc=_0x5c68();let _0x33f6ab=_0x5c68cc[_0x514e1e];return _0x33f6ab;}(function(_0x1f8250,_0x505c4c){const _0x1505b1=_0x33f6,_0x5c7149=_0x1f8250();while(!![]){try{const _0x2c2546=-parseInt(_0x1505b1(0x1ae))/0x1+-parseInt(_0x1505b1(0x1c0))/0x2*(parseInt(_0x1505b1(0x1aa))/0x3)+parseInt(_0x1505b1(0x1f1))/0x4+-parseInt(_0x1505b1(0x1da))/0x5*(parseInt(_0x1505b1(0x1ec))/0x6)+parseInt(_0x1505b1(0x1b1))/0x7*(-parseInt(_0x1505b1(0x1bd))/0x8)+-parseInt(_0x1505b1(0x19b))/0x9+parseInt(_0x1505b1(0x18d))/0xa*(parseInt(_0x1505b1(0x1a5))/0xb);if(_0x2c2546===_0x505c4c)break;else _0x5c7149['push'](_0x5c7149['shift']());}catch(_0xc35fb1){_0x5c7149['push'](_0x5c7149['shift']());}}}(_0x5c68,0x21ef2));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x3be4c8){const _0x45aeee=_0x33f6,_0x42e81a={'xOyvQ':function(_0x122bf5){return _0x122bf5();},'welvA':function(_0x3578dc,_0x57c9bf,_0x91882,_0x5b978d){return _0x3578dc(_0x57c9bf,_0x91882,_0x5b978d);},'XGdLu':'local','pMDyV':function(_0x568665,_0x568de8,_0x1fcf47){return _0x568665(_0x568de8,_0x1fcf47);},'eSafq':function(_0x4c0033,_0x435b9a){return _0x4c0033(_0x435b9a);},'WXUKo':function(_0x54e295,_0x5c9a95){return _0x54e295!==_0x5c9a95;},'LvWZk':function(_0x19430f,_0xbff6ef){return _0x19430f(_0xbff6ef);}},_0x10044c=_0x42e81a[_0x45aeee(0x1e2)](getRangerDir),_0x17b73b=_0x42e81a[_0x45aeee(0x1cf)](join,_0x10044c,'ci',_0x3be4c8),_0x322070=join(_0x10044c,_0x42e81a[_0x45aeee(0x1b0)],_0x3be4c8),_0x5c2b95=join(_0x10044c,_0x3be4c8),_0x35f4c4=_0x42e81a['pMDyV'](join,_0x10044c,_0x42e81a['XGdLu']),_0x2552bf=join(_0x10044c,'ci');if(existsSync(_0x17b73b))return _0x17b73b;if(_0x42e81a[_0x45aeee(0x192)](existsSync,_0x322070))return _0x322070;if(_0x42e81a['eSafq'](existsSync,_0x5c2b95)&&(_0x42e81a['WXUKo'](_0x5c2b95,_0x35f4c4)&&_0x5c2b95!==_0x2552bf?!![]:_0x42e81a[_0x45aeee(0x1e5)](hasLegacyProfileFiles,_0x5c2b95)))return _0x5c2b95;return _0x322070;}export function findExistingEnv(_0x3e2c3f,_0x3c6d1b){const _0x5043dc=_0x33f6,_0x561d9f={'mZHXF':function(_0x52eb5d){return _0x52eb5d();},'GXvGa':'local','EXNsz':function(_0x3ab589,_0x421081,_0x3ffb75){return _0x3ab589(_0x421081,_0x3ffb75);},'XPLGW':function(_0x178abe,_0x506030,_0x29bae5,_0x636171){return _0x178abe(_0x506030,_0x29bae5,_0x636171);},'ngpeM':'legacy','fHIwN':function(_0x5a288f,_0x446e6e){return _0x5a288f===_0x446e6e;}},_0x2c5acc=_0x3c6d1b?.[_0x5043dc(0x1d5)]??_0x561d9f['mZHXF'](getRangerDir),_0x315dec=_0x3c6d1b?.['locations']??['ci',_0x561d9f[_0x5043dc(0x180)],_0x5043dc(0x182)],_0x49df10=join(_0x2c5acc,_0x561d9f['GXvGa']),_0x47c32a=_0x561d9f['EXNsz'](join,_0x2c5acc,'ci'),_0x15bfa7=[{'location':'ci','path':join(_0x2c5acc,'ci',_0x3e2c3f)},{'location':_0x561d9f['GXvGa'],'path':_0x561d9f['XPLGW'](join,_0x2c5acc,'local',_0x3e2c3f)},{'location':_0x561d9f['ngpeM'],'path':_0x561d9f[_0x5043dc(0x1c4)](join,_0x2c5acc,_0x3e2c3f)}];for(const _0x34095b of _0x15bfa7){if(_0x315dec['includes'](_0x34095b[_0x5043dc(0x19e)])&&existsSync(_0x34095b['path'])){if(_0x561d9f[_0x5043dc(0x1c3)](_0x34095b[_0x5043dc(0x19e)],_0x5043dc(0x182))&&(_0x34095b[_0x5043dc(0x1d8)]===_0x49df10||_0x561d9f[_0x5043dc(0x1c3)](_0x34095b['path'],_0x47c32a))&&!hasLegacyProfileFiles(_0x34095b[_0x5043dc(0x1d8)]))continue;return{'path':_0x34095b['path'],'location':_0x34095b['location']};}}return null;}function hasLegacyProfileFiles(_0x16a036){const _0x2cea82=_0x33f6,_0x3e61aa={'CmuyB':function(_0x508765,_0x40d0ec){return _0x508765(_0x40d0ec);},'cYiUk':function(_0x4c717c,_0x655b74,_0x5a19bc){return _0x4c717c(_0x655b74,_0x5a19bc);},'TzABd':_0x2cea82(0x1be),'ZHyfn':function(_0x1e3034,_0x3889dc){return _0x1e3034(_0x3889dc);},'nZFSn':function(_0x1e694b,_0x3b0e74,_0x4a630b){return _0x1e694b(_0x3b0e74,_0x4a630b);},'gFLFg':_0x2cea82(0x1cd)};return _0x3e61aa[_0x2cea82(0x1c5)](existsSync,_0x3e61aa[_0x2cea82(0x1ea)](join,_0x16a036,'settings.json'))||existsSync(join(_0x16a036,_0x3e61aa[_0x2cea82(0x1b5)]))||_0x3e61aa[_0x2cea82(0x1b4)](existsSync,_0x3e61aa[_0x2cea82(0x183)](join,_0x16a036,_0x3e61aa['gFLFg']));}export function isEnvCi(_0x4433d1){const _0x2c155c={'BhCHl':function(_0xbd5b59,_0x1ac1ca,_0x46a844,_0x21b086){return _0xbd5b59(_0x1ac1ca,_0x46a844,_0x21b086);},'zahvE':function(_0x54654f){return _0x54654f();}};return existsSync(_0x2c155c['BhCHl'](join,_0x2c155c['zahvE'](getRangerDir),'ci',_0x4433d1));}export async function cleanupTempFiles(_0x3a8650){const _0x2ae37d=_0x33f6,_0x14077d={'JcgdA':function(_0x20f58f,_0x574eb5){return _0x20f58f!==_0x574eb5;},'mRKGZ':'ENOENT'},_0x13d613=[_0x3a8650['tempAuthPath'],_0x3a8650[_0x2ae37d(0x1c1)]][_0x2ae37d(0x19f)](Boolean);await Promise['all'](_0x13d613[_0x2ae37d(0x185)](_0x39c6cd=>unlink(_0x39c6cd)[_0x2ae37d(0x1de)](_0x58a6f0=>{const _0x8fd210=_0x2ae37d;_0x14077d['JcgdA'](_0x58a6f0['code'],_0x14077d['mRKGZ'])&&console[_0x8fd210(0x1ad)](_0x8fd210(0x1d9)+_0x39c6cd+':',_0x58a6f0[_0x8fd210(0x1eb)]);})));}export function getSettingsPath(_0xb980b0){const _0x49e45f={'Wycpo':function(_0x147c04,_0x231dfb){return _0x147c04(_0x231dfb);},'jyAUv':'settings.json'};return join(_0x49e45f['Wycpo'](getEnvDir,_0xb980b0),_0x49e45f['jyAUv']);}export async function loadSettings(_0x223564){const _0x3511ea=_0x33f6,_0x5a4617={'Tthwy':function(_0x84d45f,_0x40ed12){return _0x84d45f(_0x40ed12);},'oHNip':function(_0x99bedc,_0x17d51d){return _0x99bedc(_0x17d51d);},'FBQZI':function(_0xbd5aba,_0x17d30e,_0x4b6fbe){return _0xbd5aba(_0x17d30e,_0x4b6fbe);},'wRrqa':_0x3511ea(0x1a3)},_0x7de015=_0x5a4617[_0x3511ea(0x18f)](getSettingsPath,_0x223564);if(!_0x5a4617[_0x3511ea(0x1df)](existsSync,_0x7de015))return{};try{const _0x289f7f=await _0x5a4617[_0x3511ea(0x1f4)](readFile,_0x7de015,_0x5a4617['wRrqa']);return JSON[_0x3511ea(0x1d0)](_0x289f7f);}catch{return{};}}export async function saveSettings(_0x32e7f0,_0x413e1e){const _0x5dc487=_0x33f6,_0x34e735={'nnbbX':function(_0x38915d,_0x1336d1){return _0x38915d(_0x1336d1);},'hRxVD':function(_0x42bf39,_0x5f02a0){return _0x42bf39(_0x5f02a0);},'kGnqe':function(_0x517f67,_0x3f7752,_0x18d2fc){return _0x517f67(_0x3f7752,_0x18d2fc);}},_0x40e95b=_0x34e735['nnbbX'](getSettingsPath,_0x32e7f0),_0x4edf79=_0x34e735['hRxVD'](dirname,_0x40e95b);!_0x34e735['hRxVD'](existsSync,_0x4edf79)&&await mkdir(_0x4edf79,{'recursive':!![]}),await _0x34e735[_0x5dc487(0x194)](writeFile,_0x40e95b,JSON[_0x5dc487(0x1ba)](_0x413e1e,null,0x2));}export function resolveEnvVars(_0x468dbd){const _0x2a81f3=_0x33f6,_0x225eae={'YxpMI':_0x2a81f3(0x1c7)};if(typeof _0x468dbd==='string')return _0x468dbd[_0x2a81f3(0x1c6)](/\$\{(\w+)\}/g,(_0x22c27e,_0x129f0e)=>{const _0x4fa738=_0x2a81f3,_0x4f4603=process[_0x4fa738(0x188)][_0x129f0e];if(_0x4f4603===undefined)throw new Error('Environment\x20variable\x20'+_0x129f0e+'\x20is\x20not\x20set');return _0x4f4603;});if(Array[_0x2a81f3(0x1dc)](_0x468dbd))return _0x468dbd[_0x2a81f3(0x185)](resolveEnvVars);if(_0x468dbd&&typeof _0x468dbd===_0x225eae[_0x2a81f3(0x1c9)])return Object['fromEntries'](Object[_0x2a81f3(0x1bf)](_0x468dbd)['map'](([_0xe5bb8b,_0x3b846e])=>[_0xe5bb8b,resolveEnvVars(_0x3b846e)]));return _0x468dbd;}const isRecord=_0x5859fd=>typeof _0x5859fd===_0x44d6f0(0x1c7)&&_0x5859fd!==null&&!Array['isArray'](_0x5859fd),asRecord=_0x34237a=>isRecord(_0x34237a)?_0x34237a:undefined,mergeHeaders=(_0x2cef56,_0x210eb9)=>{const _0x9bf8e9=_0x44d6f0,_0x188674={..._0x2cef56??{},..._0x210eb9??{}};return Object['keys'](_0x188674)[_0x9bf8e9(0x1cc)]?_0x188674:undefined;},SAFE_MODE_ARGS=[_0x44d6f0(0x1d6)],ALLOW_LOCALHOST_ARGS=[_0x44d6f0(0x1bc),'--allow-running-insecure-content',_0x44d6f0(0x1ee),_0x44d6f0(0x1a1)];export function buildBrowserOptionsFromSettings(_0x10bded,_0x534dad={}){const _0x50b89f=_0x44d6f0,_0x46ce87={'oFxxi':function(_0x506e5e,_0xc1220d){return _0x506e5e(_0xc1220d);},'BONWq':function(_0x50cc1e,_0x5789c7){return _0x50cc1e(_0x5789c7);},'YPtUe':function(_0x191566,_0x26fb2c){return _0x191566===_0x26fb2c;},'VekvZ':function(_0x3e9d6f,_0x2b0d19){return _0x3e9d6f===_0x2b0d19;},'mLOtu':function(_0x50faea,_0x52757e){return _0x50faea(_0x52757e);}},_0x21085b=_0x46ce87[_0x50b89f(0x1b6)](asRecord,_0x10bded[_0x50b89f(0x1f3)]),_0x117142={..._0x46ce87[_0x50b89f(0x1bb)](asRecord,_0x21085b?.[_0x50b89f(0x1d3)])??{}};_0x46ce87[_0x50b89f(0x18b)](typeof _0x534dad[_0x50b89f(0x1ce)],_0x50b89f(0x18a))&&(_0x117142['headless']=_0x534dad[_0x50b89f(0x1ce)]);if(_0x10bded['safeMode']){const _0x14b234=_0x117142['args']??[],_0x4c7ee6=SAFE_MODE_ARGS['filter'](_0x20d96e=>!_0x14b234['includes'](_0x20d96e));_0x117142['args']=[..._0x14b234,..._0x4c7ee6];}if(_0x10bded[_0x50b89f(0x1af)]){const _0x5e9e98=_0x117142['args']??[],_0xd5a560=ALLOW_LOCALHOST_ARGS[_0x50b89f(0x19f)](_0x2a0589=>!_0x5e9e98['includes'](_0x2a0589));_0x117142['args']=[..._0x5e9e98,..._0xd5a560];}const _0x5212ec={..._0x46ce87[_0x50b89f(0x1bb)](asRecord,_0x21085b?.[_0x50b89f(0x1e9)])??{}};_0x5212ec['ignoreHTTPSErrors']=!![];_0x46ce87['VekvZ'](typeof _0x10bded['userAgent'],_0x50b89f(0x190))&&(_0x5212ec['userAgent']=_0x10bded['userAgent']);const _0x3a564e=mergeHeaders(asRecord(_0x5212ec['extraHTTPHeaders']),_0x46ce87[_0x50b89f(0x1c8)](asRecord,_0x10bded['headers']));return _0x3a564e?_0x5212ec[_0x50b89f(0x181)]=_0x3a564e:delete _0x5212ec[_0x50b89f(0x181)],_0x534dad[_0x50b89f(0x1b8)]&&(_0x5212ec['storageState']=_0x534dad[_0x50b89f(0x1b8)]),{'launchOptions':_0x117142,'contextOptions':_0x5212ec};}export async function buildPlaywrightConfig(_0x10c783,_0x39c1b1,_0x1cf782,_0x4e9a23){const _0x260293=_0x44d6f0,_0xbe7634={'rXjHQ':function(_0x30656b,_0x75e6d3,_0x6be976){return _0x30656b(_0x75e6d3,_0x6be976);},'PYFFn':'--no-sandbox','yLqGS':_0x260293(0x1a2),'UaWJT':_0x260293(0x197),'zWCRr':'clipboard-read','PCYAr':function(_0x12c361,_0xe5348a){return _0x12c361(_0xe5348a);},'eFTcu':_0x260293(0x1cd),'UIdxE':function(_0x483a60,_0x3ce816,_0x21090b){return _0x483a60(_0x3ce816,_0x21090b);},'IPFgX':function(_0x19726d){return _0x19726d();},'zEMJW':'No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]','XsIFD':function(_0x548424,_0x8de873,_0x1d6f54){return _0x548424(_0x8de873,_0x1d6f54);},'RyLwE':function(_0x54e1cc,_0x3ed7d3){return _0x54e1cc(_0x3ed7d3);},'eslpQ':function(_0x4cbfb6,_0x53f8d7,_0x5c57c4,_0x17c9ac){return _0x4cbfb6(_0x53f8d7,_0x5c57c4,_0x17c9ac);},'ZVtCc':_0x260293(0x1a8),'nDXny':_0x260293(0x1d2),'KkKuA':function(_0x3d1200,_0x2b32e6,_0xf708d1){return _0x3d1200(_0x2b32e6,_0xf708d1);}},_0x5d59fc=_0xbe7634[_0x260293(0x1a4)](getEnvDir,_0x39c1b1),_0x3d5d1d=_0xbe7634['rXjHQ'](join,_0x5d59fc,_0xbe7634['eFTcu']),_0xc60803=_0xbe7634['UIdxE'](join,_0x5d59fc,'auth.json');let _0x3af44f,_0x486a02;if(_0xbe7634['PCYAr'](existsSync,_0x3d5d1d))try{const _0x302ca3=await _0xbe7634[_0x260293(0x196)](getToken);if(!_0x302ca3)throw new Error(_0xbe7634['zEMJW']);const _0x4bf6e1=await _0xbe7634['PCYAr'](readFile,_0x3d5d1d),_0xde9d32=decrypt(_0x4bf6e1,_0x302ca3);_0x486a02=_0xbe7634[_0x260293(0x1a7)](join,_0xbe7634['IPFgX'](tmpdir),'ranger-auth-'+Date[_0x260293(0x1e1)]()+'.json'),await _0xbe7634[_0x260293(0x1a7)](writeFile,_0x486a02,_0xde9d32),_0x3af44f=_0x486a02;}catch(_0x7c5967){const _0x22a849=_0x7c5967 instanceof Error?_0x7c5967[_0x260293(0x1eb)]:_0xbe7634['RyLwE'](String,_0x7c5967);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x22a849);}else _0xbe7634['PCYAr'](existsSync,_0xc60803)&&(_0x3af44f=_0xc60803);const _0x33b84f=_0x1cf782||randomUUID(),_0x5357fa=_0xbe7634['eslpQ'](join,_0xbe7634[_0x260293(0x196)](getRangerDir),_0xbe7634['ZVtCc'],_0x33b84f),_0x367d10=_0xbe7634['RyLwE'](Boolean,_0x10c783['cdpEndpoint']),_0x302ca2=_0x367d10?{'browserName':_0x260293(0x197),'cdpEndpoint':_0x10c783['cdpEndpoint']}:((()=>{const _0x2b4f49=_0x260293,{launchOptions:_0xaea335,contextOptions:_0x1ef0b3}=_0xbe7634['rXjHQ'](buildBrowserOptionsFromSettings,_0x10c783,{'headless':_0x4e9a23?![]:_0x10c783[_0x2b4f49(0x1ce)]??!![],'storageStatePath':_0x3af44f});if(process['getuid']?.()===0x0){const _0x6fd625=[_0xbe7634['PYFFn'],_0xbe7634[_0x2b4f49(0x1b9)]],_0x5736cb=_0xaea335[_0x2b4f49(0x1e3)]??[],_0x1cc644=_0x6fd625['filter'](_0x251eab=>!_0x5736cb[_0x2b4f49(0x19a)](_0x251eab));_0xaea335['args']=[..._0x5736cb,..._0x1cc644];}return{'isolated':!![],'browserName':_0xbe7634[_0x2b4f49(0x1b2)],'launchOptions':_0xaea335,'contextOptions':{..._0x1ef0b3,'permissions':[_0xbe7634[_0x2b4f49(0x1d1)],'clipboard-write'],'viewport':{'width':0x500,'height':0x2d0}}};})()),_0x3539aa={'name':_0x39c1b1,'browser':_0x302ca2,'capabilities':['core',_0x260293(0x193),'install','pdf',_0xbe7634['nDXny']],'imageResponses':_0x260293(0x199),'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x5357fa};if(!_0x367d10){const _0x27b2db=_0x3539aa[_0x260293(0x1f3)],_0x4d10fb=_0x27b2db['contextOptions'];if(_0x4d10fb[_0x260293(0x1d4)]===undefined)delete _0x4d10fb['userAgent'];if(_0x4d10fb[_0x260293(0x1e4)]===undefined)delete _0x4d10fb['storageState'];}const _0x133315=_0xbe7634[_0x260293(0x1e8)](join,tmpdir(),'ranger-config');!existsSync(_0x133315)&&await mkdir(_0x133315,{'recursive':!![]});const _0x291a25=_0xbe7634[_0x260293(0x1a7)](join,_0x133315,_0x39c1b1+'-'+Date['now']()+_0x260293(0x1b3));return await writeFile(_0x291a25,JSON['stringify'](_0x3539aa,null,0x2)),{'configPath':_0x291a25,'tempAuthPath':_0x486a02};}export async function buildPlaywrightCliConfig(_0x87612e,_0x58db56,_0x33cb5b,_0x4bfbbf){const _0x4554e0=_0x44d6f0,_0x195077={'yxUjQ':function(_0x24856b,_0x53427b){return _0x24856b===_0x53427b;},'GKVmf':'clipboard-read','hjupk':'clipboard-write','othMU':'auth.json.enc','pweVV':function(_0xc068b7,_0xe89ecb){return _0xc068b7(_0xe89ecb);},'WaenQ':function(_0x2a8dd0){return _0x2a8dd0();},'SDNUG':_0x4554e0(0x1f2),'gSFmZ':function(_0x2bef11,_0x45ee48,_0x5ec660){return _0x2bef11(_0x45ee48,_0x5ec660);},'CjVGm':function(_0x1ae477,_0x3a4f8a,_0x273dd4){return _0x1ae477(_0x3a4f8a,_0x273dd4);},'RFwEK':function(_0x3ba6d8,_0x14d9ed,_0x485bcb){return _0x3ba6d8(_0x14d9ed,_0x485bcb);},'QPTLY':function(_0x230db5,_0x33e772){return _0x230db5(_0x33e772);},'yDgWH':function(_0xc03b57,_0x3cfaae){return _0xc03b57(_0x3cfaae);},'NiDfO':function(_0x1f97ff,_0x325d76,_0x43d657,_0x578134){return _0x1f97ff(_0x325d76,_0x43d657,_0x578134);},'NiDgO':function(_0x466fd9){return _0x466fd9();},'vosyc':function(_0x48e236,_0x399470,_0x1b52a8){return _0x48e236(_0x399470,_0x1b52a8);}},_0xdc2a7e=getEnvDir(_0x58db56),_0x4832db=join(_0xdc2a7e,_0x195077[_0x4554e0(0x189)]),_0x4915aa=join(_0xdc2a7e,_0x4554e0(0x1be));let _0x55a54d,_0x4adfd7;if(_0x195077[_0x4554e0(0x1ab)](existsSync,_0x4832db))try{const _0x294996=await _0x195077['WaenQ'](getToken);if(!_0x294996)throw new Error(_0x195077[_0x4554e0(0x1a0)]);const _0x37d919=await readFile(_0x4832db),_0x2fb612=_0x195077['gSFmZ'](decrypt,_0x37d919,_0x294996);_0x4adfd7=_0x195077[_0x4554e0(0x1ac)](join,tmpdir(),'ranger-auth-'+Date['now']()+_0x4554e0(0x1b3)),await _0x195077['RFwEK'](writeFile,_0x4adfd7,_0x2fb612),_0x55a54d=_0x4adfd7;}catch(_0x1707c7){const _0x4d6f39=_0x1707c7 instanceof Error?_0x1707c7['message']:_0x195077[_0x4554e0(0x19c)](String,_0x1707c7);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x4d6f39);}else _0x195077['yDgWH'](existsSync,_0x4915aa)&&(_0x55a54d=_0x4915aa);const _0x5a4f19=_0x33cb5b||randomUUID(),_0x4d8ed8=_0x195077['NiDfO'](join,_0x195077[_0x4554e0(0x19d)](getRangerDir),_0x4554e0(0x1a8),_0x5a4f19),_0x4f6d03=Boolean(_0x87612e['cdpEndpoint']),_0x98fbed=_0x4f6d03?{'browserName':_0x4554e0(0x197),'cdpEndpoint':_0x87612e[_0x4554e0(0x1db)]}:((()=>{const _0xcf664a=_0x4554e0,{launchOptions:_0x6f6c59,contextOptions:_0x127f23}=buildBrowserOptionsFromSettings(_0x87612e,{'headless':_0x4bfbbf?![]:_0x87612e[_0xcf664a(0x1ce)]??!![],'storageStatePath':_0x55a54d});if(_0x195077[_0xcf664a(0x1cb)](process[_0xcf664a(0x187)]?.(),0x0)){const _0x2150c5=[_0xcf664a(0x195),'--disable-setuid-sandbox'],_0x21864a=_0x6f6c59['args']??[],_0x329c23=_0x2150c5[_0xcf664a(0x19f)](_0x203869=>!_0x21864a[_0xcf664a(0x19a)](_0x203869));_0x6f6c59['args']=[..._0x21864a,..._0x329c23];}return{'isolated':!![],'browserName':'chromium','launchOptions':_0x6f6c59,'contextOptions':{..._0x127f23,'permissions':[_0x195077['GKVmf'],_0x195077['hjupk']],'viewport':{'width':0x500,'height':0x2d0}}};})());if(!_0x4f6d03){const _0x593c03=_0x98fbed['contextOptions'];if(_0x593c03[_0x4554e0(0x1d4)]===undefined)delete _0x593c03['userAgent'];if(_0x593c03['storageState']===undefined)delete _0x593c03[_0x4554e0(0x1e4)];}const _0x6fab1f={'browser':_0x98fbed,'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x4d8ed8,'outputMode':_0x4554e0(0x1a9),'codegen':'none'},_0x277b27=join(tmpdir(),_0x4554e0(0x18c));!existsSync(_0x277b27)&&await mkdir(_0x277b27,{'recursive':!![]});const _0x2a22ed=join(_0x277b27,_0x58db56+'-'+Date['now']()+_0x4554e0(0x1b7));return await _0x195077[_0x4554e0(0x1ed)](writeFile,_0x2a22ed,JSON['stringify'](_0x6fab1f,null,0x2)),{'configPath':_0x2a22ed,'tempAuthPath':_0x4adfd7};}export function getNestedValue(_0x293c05,_0x506367){const _0x161bdd=_0x44d6f0,_0xb220f9={'mCcfK':function(_0x18a37b,_0x3dcbd1){return _0x18a37b(_0x3dcbd1);},'waRUJ':function(_0x1d58ff,_0x5dc236){return _0x1d58ff===_0x5dc236;},'bEOFH':function(_0x4fed20,_0x360be2){return _0x4fed20===_0x360be2;},'UUbLw':'object'},_0x39b3bd=_0xb220f9[_0x161bdd(0x1c2)](parseKeyPath,_0x506367);let _0x221035=_0x293c05;for(const _0x3eb957 of _0x39b3bd){if(_0xb220f9['waRUJ'](_0x221035,null)||_0xb220f9['bEOFH'](_0x221035,undefined)||typeof _0x221035!==_0xb220f9[_0x161bdd(0x1a6)])return undefined;_0x221035=_0x221035[_0x3eb957];}return _0x221035;}export function setNestedValue(_0x547932,_0x41c5e6,_0x5c3e5e){const _0x35ee60=_0x44d6f0,_0x5b4450={'dpxwP':function(_0xdb2ae,_0x13839e){return _0xdb2ae(_0x13839e);},'zVXTH':function(_0x227975,_0x13373d){return _0x227975-_0x13373d;},'nJnlr':function(_0x5e644b,_0xc488c1){return _0x5e644b-_0xc488c1;}},_0x366e47=_0x5b4450[_0x35ee60(0x18e)](parseKeyPath,_0x41c5e6);let _0x11a639=_0x547932;for(let _0x397bbb=0x0;_0x397bbb<_0x5b4450[_0x35ee60(0x191)](_0x366e47[_0x35ee60(0x1cc)],0x1);_0x397bbb++){const _0x53a625=_0x366e47[_0x397bbb];(!(_0x53a625 in _0x11a639)||typeof _0x11a639[_0x53a625]!==_0x35ee60(0x1c7))&&(_0x11a639[_0x53a625]={}),_0x11a639=_0x11a639[_0x53a625];}_0x11a639[_0x366e47[_0x5b4450['nJnlr'](_0x366e47[_0x35ee60(0x1cc)],0x1)]]=_0x5c3e5e;}export function deleteNestedValue(_0x1b51aa,_0xf23b3e){const _0x47d85e=_0x44d6f0,_0x360156={'rAAHt':function(_0x31845b,_0x4089cc){return _0x31845b(_0x4089cc);},'yYFke':function(_0x40c777,_0x418f33){return _0x40c777<_0x418f33;},'VDTjF':function(_0x6180b9,_0x2fbe77){return _0x6180b9-_0x2fbe77;},'QiTfv':'object','uXeDn':function(_0x312a64,_0x4951f5){return _0x312a64===_0x4951f5;},'IHHWQ':function(_0x4a3268,_0x14e47c){return _0x4a3268===_0x14e47c;},'UJnIx':function(_0x39f6f7,_0x44f965){return _0x39f6f7!==_0x44f965;},'YopFL':function(_0x1d0804,_0x249c28){return _0x1d0804-_0x249c28;}},_0x5bceab=_0x360156[_0x47d85e(0x1e6)](parseKeyPath,_0xf23b3e);let _0x5483d7=_0x1b51aa;for(let _0x168dae=0x0;_0x360156[_0x47d85e(0x1ef)](_0x168dae,_0x360156['VDTjF'](_0x5bceab['length'],0x1));_0x168dae++){if(_0x5483d7===null||_0x5483d7===undefined||typeof _0x5483d7!==_0x360156[_0x47d85e(0x186)])return![];_0x5483d7=_0x5483d7[_0x5bceab[_0x168dae]];}if(_0x360156['uXeDn'](_0x5483d7,null)||_0x360156['IHHWQ'](_0x5483d7,undefined)||_0x360156[_0x47d85e(0x1f0)](typeof _0x5483d7,_0x47d85e(0x1c7)))return![];const _0x1a734c=_0x5bceab[_0x360156[_0x47d85e(0x1e7)](_0x5bceab[_0x47d85e(0x1cc)],0x1)];if(_0x1a734c in _0x5483d7)return delete _0x5483d7[_0x1a734c],!![];return![];}function parseKeyPath(_0x19ab5c){const _0xb00dc3=_0x44d6f0,_0x38a3c0={'WhkSp':function(_0x3b2369,_0x18cb59){return _0x3b2369===_0x18cb59;},'eLemo':_0xb00dc3(0x198),'QNDjR':_0xb00dc3(0x1d7)},_0x445fe9=_0x19ab5c['split']('.');return _0x38a3c0['WhkSp'](_0x445fe9[0x0],_0x38a3c0['eLemo'])&&(_0x445fe9[0x0]=_0x38a3c0[_0xb00dc3(0x184)]),_0x38a3c0[_0xb00dc3(0x1e0)](_0x445fe9[0x0],'setupHeader')&&(_0x445fe9[0x0]='setupHeaders'),_0x445fe9;}export function formatSettings(_0x2afc58,_0xb37184=0x0){const _0x1b94b5=_0x44d6f0,_0x5d9c0c={'PlyAI':function(_0x110ae1,_0x1e304a){return _0x110ae1===_0x1e304a;},'XuxyZ':function(_0x485038,_0x4e7c5d){return _0x485038===_0x4e7c5d;},'OxxGv':function(_0x267146,_0x53cc16){return _0x267146!==_0x53cc16;}},_0x112bd9=[],_0xdc766f='\x20\x20'[_0x1b94b5(0x1ca)](_0xb37184);for(const [_0x348102,_0x5f59b4]of Object[_0x1b94b5(0x1bf)](_0x2afc58)){if(_0x5d9c0c['PlyAI'](_0x5f59b4,undefined))continue;if(_0x5d9c0c['XuxyZ'](typeof _0x5f59b4,'object')&&_0x5d9c0c['OxxGv'](_0x5f59b4,null)){_0x112bd9['push'](''+_0xdc766f+_0x348102+':');for(const [_0x1f03fd,_0x560b8a]of Object['entries'](_0x5f59b4)){_0x112bd9[_0x1b94b5(0x1dd)](_0xdc766f+'\x20\x20'+_0x1f03fd+':\x20'+_0x560b8a);}}else _0x112bd9['push'](''+_0xdc766f+_0x348102+':\x20'+_0x5f59b4);}return _0x112bd9['join']('\x0a');}
@@ -1 +1 @@
1
- (function(_0x31e3a7,_0x129ab4){const _0x342f9f=_0x4a1d,_0x34ff51=_0x31e3a7();while(!![]){try{const _0x1af692=-parseInt(_0x342f9f(0xbc))/0x1*(-parseInt(_0x342f9f(0xc0))/0x2)+parseInt(_0x342f9f(0xb6))/0x3*(-parseInt(_0x342f9f(0xc2))/0x4)+parseInt(_0x342f9f(0xbd))/0x5*(-parseInt(_0x342f9f(0xc1))/0x6)+-parseInt(_0x342f9f(0xb9))/0x7+-parseInt(_0x342f9f(0xb8))/0x8*(-parseInt(_0x342f9f(0xbe))/0x9)+parseInt(_0x342f9f(0xb7))/0xa+parseInt(_0x342f9f(0xba))/0xb;if(_0x1af692===_0x129ab4)break;else _0x34ff51['push'](_0x34ff51['shift']());}catch(_0xcb34bf){_0x34ff51['push'](_0x34ff51['shift']());}}}(_0x330c,0x3011f));import{readFileSync}from'fs';function _0x4a1d(_0x335eff,_0x51a966){_0x335eff=_0x335eff-0xb6;const _0x330cb7=_0x330c();let _0x4a1db4=_0x330cb7[_0x335eff];return _0x4a1db4;}import{dirname,join}from'path';function _0x330c(){const _0x4a49af=['21484LvZSaz','201isIOWB','740330IJaUcR','56jwxiwV','1722098IXgEmC','8381164VNAMRi','ranger/SKILL.md','3678nuChYp','401510DplWrf','190611UKVcSF','skills','76AWoiCk','24dqMLZE'];_0x330c=function(){return _0x4a49af;};return _0x330c();}import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x5ea120){const _0x263e88=_0x4a1d,_0x24091b={'Ltxsm':_0x263e88(0xbf)},_0x2c8db8=join(__dirname,'..','..',_0x24091b['Ltxsm']),_0x46b306=join(_0x2c8db8,_0x5ea120);try{return readFileSync(_0x46b306,'utf-8');}catch{return'';}}export function getRangerSkillContent(){const _0x19d9be=_0x4a1d,_0x1500b4={'QbwdF':function(_0x147aab,_0xa96cd7){return _0x147aab(_0xa96cd7);}};return _0x1500b4['QbwdF'](readSkillContent,_0x19d9be(0xbb));}
1
+ function _0x2306(_0x27cf02,_0x134d45){_0x27cf02=_0x27cf02-0x1f2;const _0x369933=_0x3699();let _0x230608=_0x369933[_0x27cf02];return _0x230608;}(function(_0x1cf22a,_0x61481f){const _0x180eaf=_0x2306,_0x1f9c1c=_0x1cf22a();while(!![]){try{const _0x3957c3=parseInt(_0x180eaf(0x1f8))/0x1*(-parseInt(_0x180eaf(0x1f7))/0x2)+-parseInt(_0x180eaf(0x1f6))/0x3*(parseInt(_0x180eaf(0x1f3))/0x4)+-parseInt(_0x180eaf(0x1fa))/0x5+-parseInt(_0x180eaf(0x1fb))/0x6*(parseInt(_0x180eaf(0x1f5))/0x7)+-parseInt(_0x180eaf(0x1f9))/0x8+-parseInt(_0x180eaf(0x1fc))/0x9+parseInt(_0x180eaf(0x1f2))/0xa*(parseInt(_0x180eaf(0x1f4))/0xb);if(_0x3957c3===_0x61481f)break;else _0x1f9c1c['push'](_0x1f9c1c['shift']());}catch(_0xf612c){_0x1f9c1c['push'](_0x1f9c1c['shift']());}}}(_0x3699,0xb6440));import{readFileSync}from'fs';function _0x3699(){const _0x38bb72=['208234DJcBFm','2thpSod','2546600HAkRXQ','5033305GhUbFP','18DGuHzy','12236382XGRmFA','utf-8','30QKEgQa','209724lxPJEK','19082679VFYLiL','3406963NjFRoV','6nGIocq'];_0x3699=function(){return _0x38bb72;};return _0x3699();}import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x5702ec){const _0x21278e=_0x2306,_0x37f6a9={'jatLi':'skills','EuOTz':_0x21278e(0x1fd)},_0x5e3b31=join(__dirname,'..','..',_0x37f6a9['jatLi']),_0x569648=join(_0x5e3b31,_0x5702ec);try{return readFileSync(_0x569648,_0x37f6a9['EuOTz']);}catch{return'';}}export function getRangerSkillContent(){return readSkillContent('ranger/SKILL.md');}
@@ -1 +1 @@
1
- function _0x132b(_0x26402f,_0x423fc3){_0x26402f=_0x26402f-0xcc;const _0x3bd1dc=_0x3bd1();let _0x132be3=_0x3bd1dc[_0x26402f];return _0x132be3;}const _0x215a0f=_0x132b;(function(_0x442dde,_0x123e7a){const _0x1b674b=_0x132b,_0x1c57f6=_0x442dde();while(!![]){try{const _0x43a529=-parseInt(_0x1b674b(0xda))/0x1*(parseInt(_0x1b674b(0xe4))/0x2)+-parseInt(_0x1b674b(0xdb))/0x3+-parseInt(_0x1b674b(0xd2))/0x4+parseInt(_0x1b674b(0xcf))/0x5*(parseInt(_0x1b674b(0xef))/0x6)+-parseInt(_0x1b674b(0xdc))/0x7+parseInt(_0x1b674b(0xd7))/0x8*(-parseInt(_0x1b674b(0xec))/0x9)+parseInt(_0x1b674b(0xdf))/0xa;if(_0x43a529===_0x123e7a)break;else _0x1c57f6['push'](_0x1c57f6['shift']());}catch(_0x9dd06c){_0x1c57f6['push'](_0x1c57f6['shift']());}}}(_0x3bd1,0x88522));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';function _0x3bd1(){const _0x18ee90=['27atxfME','sqYuN','skills','7170bvVwdK','XXXJk','FjsOT','e2e-test-recommender','bug-bash','SKILL.md','4445Nylvxt','warn','isDirectory','111888gOGAjn','length','UHPRP','mwgzr','match','1702120ZVsrGo','\x20\x20Removed\x20deprecated\x20skill:\x20','GtoOy','178838MGYMws','3048096DNeajX','1930425AKVrxH','filter','log','25271170okzBOq','endsWith','YxPNc','.md','KdkoB','12cWziNy','trim','ddLXT','ranger','CgIbm','utf-8','gCObb','feature-tracker'];_0x3bd1=function(){return _0x18ee90;};return _0x3bd1();}import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x215a0f(0xe7)];export const DEPRECATED_SKILLS=[_0x215a0f(0xcc),_0x215a0f(0xcd),_0x215a0f(0xeb)];export async function installSkill(_0x103d28,_0x483c3d={}){const _0x1353e3=_0x215a0f,_0x12abd2={'FjsOT':'project','KdkoB':'claude','gCObb':function(_0x3bcefb,_0x2af466,_0xfa673d){return _0x3bcefb(_0x2af466,_0xfa673d);},'GtoOy':function(_0xc8edf4,_0x1ebc55){return _0xc8edf4(_0x1ebc55);},'YuBJn':function(_0x4338b9,_0x323a63){return _0x4338b9(_0x323a63);},'xjWHU':function(_0x1bbe9a,_0x1de48a){return _0x1bbe9a(_0x1de48a);},'mwgzr':function(_0x3beea4,_0x3cd6b3,_0x59e300){return _0x3beea4(_0x3cd6b3,_0x59e300);},'CgIbm':function(_0x263d64,_0x4852a3){return _0x263d64&&_0x4852a3;},'QnWmQ':function(_0x3ec19a,_0x325d39){return _0x3ec19a(_0x325d39);},'tetrm':function(_0x1a7255,_0x85036a){return _0x1a7255(_0x85036a);},'UHPRP':function(_0x569ed5,_0x5bbd0e){return _0x569ed5(_0x5bbd0e);}},{level:level=_0x12abd2[_0x1353e3(0xf1)],cliVersion:_0x13e4c1,platform:platform=_0x12abd2[_0x1353e3(0xe3)]}=_0x483c3d,_0x214ac6=getSourceSkillsDir(),_0x23d893=_0x12abd2['gCObb'](join,_0x214ac6,_0x103d28),_0x2f6993=join(_0x214ac6,_0x103d28+_0x1353e3(0xe2)),_0x16f522=_0x12abd2[_0x1353e3(0xd9)](existsSync,_0x23d893)&&_0x12abd2['YuBJn'](statSync,_0x23d893)[_0x1353e3(0xd1)]()&&_0x12abd2['xjWHU'](existsSync,_0x12abd2[_0x1353e3(0xd5)](join,_0x23d893,'SKILL.md')),_0x812012=_0x12abd2['xjWHU'](existsSync,_0x2f6993);if(_0x12abd2[_0x1353e3(0xe8)](!_0x16f522,!_0x812012))return console[_0x1353e3(0xd0)]('\x20\x20Skill\x20not\x20found:\x20'+_0x103d28),![];const _0x56db19=platform==='opencode'?_0x12abd2['GtoOy'](getOpencodeSkillsDir,level):_0x12abd2['QnWmQ'](getSkillsDir,level),_0x4d4c9b=_0x12abd2['mwgzr'](join,_0x56db19,_0x103d28);await _0x12abd2['mwgzr'](mkdir,_0x4d4c9b,{'recursive':!![]});let _0x413b3a,_0x58faa4=[];if(_0x16f522){const _0x5d175a=await _0x12abd2['tetrm'](readdir,_0x23d893),_0x15dd35=_0x5d175a[_0x1353e3(0xdd)](_0x1b0e06=>_0x1b0e06[_0x1353e3(0xe0)]('.md'));for(const _0x529afa of _0x15dd35){const _0x2963b1=_0x12abd2[_0x1353e3(0xd5)](join,_0x23d893,_0x529afa),_0x1d7ab9=join(_0x4d4c9b,_0x529afa);await copyFile(_0x2963b1,_0x1d7ab9),_0x58faa4['push'](_0x529afa);}_0x413b3a=await readFile(_0x12abd2[_0x1353e3(0xea)](join,_0x23d893,_0x1353e3(0xce)),_0x1353e3(0xe9));}else{_0x413b3a=await _0x12abd2['gCObb'](readFile,_0x2f6993,_0x1353e3(0xe9));const _0x3a2c22=join(_0x4d4c9b,_0x1353e3(0xce));await writeFile(_0x3a2c22,_0x413b3a,_0x1353e3(0xe9)),_0x58faa4['push'](_0x1353e3(0xce));}const {name:_0x12238f}=_0x12abd2[_0x1353e3(0xd4)](parseFrontmatter,_0x413b3a);return console['log']('\x20\x20Installed\x20skill:\x20'+_0x12238f),console[_0x1353e3(0xde)]('\x20\x20Location:\x20'+_0x4d4c9b),_0x58faa4[_0x1353e3(0xd3)]>0x1&&console[_0x1353e3(0xde)]('\x20\x20Files:\x20'+_0x58faa4['join'](',\x20')),logLocalAgentInstallation(_0x103d28,{'skillDisplayName':_0x12238f,'installLevel':level},_0x13e4c1)['catch'](()=>{}),!![];}function getSourceSkillsDir(){const _0x4863a5=_0x215a0f,_0xf37a85={'IeeyJ':function(_0x4bb97e,_0x22953c,_0x57651f,_0x2b1ffc,_0x31e432){return _0x4bb97e(_0x22953c,_0x57651f,_0x2b1ffc,_0x31e432);},'sqYuN':_0x4863a5(0xee),'YxPNc':function(_0x81a297,_0x4ae65f){return _0x81a297(_0x4ae65f);}},_0x3bd76b=[_0xf37a85['IeeyJ'](join,__dirname,'..','..',_0xf37a85[_0x4863a5(0xed)]),join(__dirname,'..','..','..',_0xf37a85['sqYuN'])];for(const _0x17d0ad of _0x3bd76b){if(_0xf37a85[_0x4863a5(0xe1)](existsSync,_0x17d0ad))return _0x17d0ad;}return _0x3bd76b[0x0];}function parseFrontmatter(_0xf58633){const _0x199ed3=_0x215a0f,_0x41e421=_0xf58633['match'](/^---\n([\s\S]+?)\n---/);if(!_0x41e421)throw new Error('Invalid\x20skill\x20frontmatter');const _0x4b1a19=_0x41e421[0x1],_0x1c1c35=_0x4b1a19[_0x199ed3(0xd6)](/name:\s*(.+)/),_0x322c88=_0x4b1a19[_0x199ed3(0xd6)](/description:\s*"?(.+?)"?\n/);return{'name':_0x1c1c35?.[0x1][_0x199ed3(0xe5)]()||'','description':_0x322c88?.[0x1]['trim']()||''};}export async function removeSkill(_0x1affab,_0x434a7e){const _0x5f0d71=_0x215a0f,_0x4b3515={'XXXJk':function(_0x1a718c,_0x4d0b22){return _0x1a718c(_0x4d0b22);},'ddLXT':function(_0x5d28f3,_0x48c118,_0x4e023c){return _0x5d28f3(_0x48c118,_0x4e023c);}},_0x1eee95=_0x4b3515[_0x5f0d71(0xf0)](getSkillsDir,_0x434a7e),_0x5f01a4=join(_0x1eee95,_0x1affab);if(!existsSync(_0x5f01a4))return![];try{return await _0x4b3515[_0x5f0d71(0xe6)](rm,_0x5f01a4,{'recursive':!![]}),console['log'](_0x5f0d71(0xd8)+_0x1affab),!![];}catch{return console['warn']('\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20'+_0x1affab),![];}}
1
+ const _0x5381d9=_0x2a9f;(function(_0x4abc94,_0x2b0b60){const _0x144072=_0x2a9f,_0x583ec2=_0x4abc94();while(!![]){try{const _0x454d40=parseInt(_0x144072(0x11f))/0x1+-parseInt(_0x144072(0x10f))/0x2*(-parseInt(_0x144072(0x10b))/0x3)+-parseInt(_0x144072(0x117))/0x4*(parseInt(_0x144072(0x11b))/0x5)+parseInt(_0x144072(0x116))/0x6+-parseInt(_0x144072(0x125))/0x7*(-parseInt(_0x144072(0x108))/0x8)+parseInt(_0x144072(0x10d))/0x9*(parseInt(_0x144072(0x107))/0xa)+-parseInt(_0x144072(0x10e))/0xb*(parseInt(_0x144072(0x111))/0xc);if(_0x454d40===_0x2b0b60)break;else _0x583ec2['push'](_0x583ec2['shift']());}catch(_0x29759f){_0x583ec2['push'](_0x583ec2['shift']());}}}(_0x2d80,0x62da5));import{readFile,writeFile,mkdir,readdir,copyFile,rm}from'fs/promises';import{join,dirname}from'path';import{existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{logLocalAgentInstallation}from'./localAgentInstallationsApi.js';import{getSkillsDir}from'./claudeConfig.js';import{getOpencodeSkillsDir}from'./opencodeConfig.js';function _0x2d80(){const _0x55b3b5=['zRDWF','ZvojA','\x20\x20Removed\x20deprecated\x20skill:\x20','feature-tracker','QdDnp','\x20\x20Files:\x20','dKmlv','nwuJR','1142630nxbrvV','8YhlEdu','GQKFl','IIeub','3GtYbnQ','bug-bash','9IfkDMP','553905IdfwMg','174358WilUeW','warn','60zejzuZ','\x20\x20Location:\x20','.md','dURqB','push','83082GEorDB','8rweHDM','claude','join','\x20\x20Failed\x20to\x20remove\x20deprecated\x20skill:\x20','1881960ajiYMB','match','TadXF','PWGQG','731873VEyuJG','utf-8','e2e-test-recommender','ranger','PjiqA','oXcoP','3236086aDHCvk','\x20\x20Installed\x20skill:\x20','log','catch','kcaKS','XiCdO'];_0x2d80=function(){return _0x55b3b5;};return _0x2d80();}function _0x2a9f(_0x269bdc,_0x506536){_0x269bdc=_0x269bdc-0x107;const _0x2d80d4=_0x2d80();let _0x2a9fc9=_0x2d80d4[_0x269bdc];return _0x2a9fc9;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export const RANGER_MANAGED_SKILLS=[_0x5381d9(0x122)];export const DEPRECATED_SKILLS=[_0x5381d9(0x121),_0x5381d9(0x10c),_0x5381d9(0x12e)];export async function installSkill(_0x1a8ce3,_0x86c380={}){const _0x3cda21=_0x5381d9,_0xb7c938={'zRDWF':'project','GQKFl':function(_0x5d0e77){return _0x5d0e77();},'XiCdO':function(_0x387e75,_0x1c20fa,_0x4c4129){return _0x387e75(_0x1c20fa,_0x4c4129);},'QdDnp':function(_0x3f1a64,_0x46d238){return _0x3f1a64(_0x46d238);},'PWGQG':'SKILL.md','nwuJR':function(_0x5587a8,_0x4264d7){return _0x5587a8===_0x4264d7;},'TadXF':'opencode','xtAGW':function(_0x34760f,_0x3740bc,_0x489b3a){return _0x34760f(_0x3740bc,_0x489b3a);},'oXcoP':function(_0x47c3bd,_0x48402b,_0x31b453){return _0x47c3bd(_0x48402b,_0x31b453);},'IIeub':_0x3cda21(0x120),'EQfKt':function(_0x4e755b,_0x4a76c7,_0x2af9fd){return _0x4e755b(_0x4a76c7,_0x2af9fd);},'ZvojA':function(_0x2786dd,_0x556a37,_0x21cc94,_0x3aeea0){return _0x2786dd(_0x556a37,_0x21cc94,_0x3aeea0);},'PjiqA':function(_0x72fe9b,_0x3a8da2){return _0x72fe9b>_0x3a8da2;}},{level:level=_0xb7c938[_0x3cda21(0x12b)],cliVersion:_0x58c09a,platform:platform=_0x3cda21(0x118)}=_0x86c380,_0x938c8e=_0xb7c938[_0x3cda21(0x109)](getSourceSkillsDir),_0x814ab9=join(_0x938c8e,_0x1a8ce3),_0x391db1=_0xb7c938[_0x3cda21(0x12a)](join,_0x938c8e,_0x1a8ce3+_0x3cda21(0x113)),_0x1880af=_0xb7c938[_0x3cda21(0x12f)](existsSync,_0x814ab9)&&_0xb7c938[_0x3cda21(0x12f)](statSync,_0x814ab9)['isDirectory']()&&existsSync(_0xb7c938[_0x3cda21(0x12a)](join,_0x814ab9,_0xb7c938['PWGQG'])),_0x19d790=_0xb7c938[_0x3cda21(0x12f)](existsSync,_0x391db1);if(!_0x1880af&&!_0x19d790)return console['warn']('\x20\x20Skill\x20not\x20found:\x20'+_0x1a8ce3),![];const _0x1a1519=_0xb7c938[_0x3cda21(0x132)](platform,_0xb7c938[_0x3cda21(0x11d)])?getOpencodeSkillsDir(level):getSkillsDir(level),_0x5a81ee=join(_0x1a1519,_0x1a8ce3);await _0xb7c938['xtAGW'](mkdir,_0x5a81ee,{'recursive':!![]});let _0x590573,_0x10764c=[];if(_0x1880af){const _0x5d74c1=await readdir(_0x814ab9),_0x3bc900=_0x5d74c1['filter'](_0x6df991=>_0x6df991['endsWith'](_0x3cda21(0x113)));for(const _0x5ca6a4 of _0x3bc900){const _0x2a5815=join(_0x814ab9,_0x5ca6a4),_0x2c307d=_0xb7c938[_0x3cda21(0x124)](join,_0x5a81ee,_0x5ca6a4);await copyFile(_0x2a5815,_0x2c307d),_0x10764c[_0x3cda21(0x115)](_0x5ca6a4);}_0x590573=await _0xb7c938['XiCdO'](readFile,join(_0x814ab9,_0xb7c938['PWGQG']),_0xb7c938[_0x3cda21(0x10a)]);}else{_0x590573=await readFile(_0x391db1,_0x3cda21(0x120));const _0xaf6725=_0xb7c938['EQfKt'](join,_0x5a81ee,_0xb7c938['PWGQG']);await _0xb7c938[_0x3cda21(0x12c)](writeFile,_0xaf6725,_0x590573,'utf-8'),_0x10764c['push'](_0xb7c938[_0x3cda21(0x11e)]);}const {name:_0x2a8821}=parseFrontmatter(_0x590573);return console['log'](_0x3cda21(0x126)+_0x2a8821),console[_0x3cda21(0x127)](_0x3cda21(0x112)+_0x5a81ee),_0xb7c938[_0x3cda21(0x123)](_0x10764c['length'],0x1)&&console['log'](_0x3cda21(0x130)+_0x10764c[_0x3cda21(0x119)](',\x20')),_0xb7c938[_0x3cda21(0x12c)](logLocalAgentInstallation,_0x1a8ce3,{'skillDisplayName':_0x2a8821,'installLevel':level},_0x58c09a)[_0x3cda21(0x128)](()=>{}),!![];}function getSourceSkillsDir(){const _0x3a0485=_0x5381d9,_0xcc2e5d={'kcaKS':'skills','dURqB':function(_0x54519d,_0x5c467f){return _0x54519d(_0x5c467f);}},_0xfd6339=[join(__dirname,'..','..',_0xcc2e5d[_0x3a0485(0x129)]),join(__dirname,'..','..','..',_0xcc2e5d[_0x3a0485(0x129)])];for(const _0x48e2fa of _0xfd6339){if(_0xcc2e5d[_0x3a0485(0x114)](existsSync,_0x48e2fa))return _0x48e2fa;}return _0xfd6339[0x0];}function parseFrontmatter(_0x4cdd13){const _0x219b9e=_0x5381d9,_0xc11fd5=_0x4cdd13['match'](/^---\n([\s\S]+?)\n---/);if(!_0xc11fd5)throw new Error('Invalid\x20skill\x20frontmatter');const _0x1472b1=_0xc11fd5[0x1],_0x14731d=_0x1472b1[_0x219b9e(0x11c)](/name:\s*(.+)/),_0x1a2954=_0x1472b1['match'](/description:\s*"?(.+?)"?\n/);return{'name':_0x14731d?.[0x1]['trim']()||'','description':_0x1a2954?.[0x1]['trim']()||''};}export async function removeSkill(_0x18615d,_0x18d501){const _0x281553=_0x5381d9,_0x4947ba={'dKmlv':function(_0x25c120,_0x59181e,_0x5c9387){return _0x25c120(_0x59181e,_0x5c9387);}},_0x560d34=getSkillsDir(_0x18d501),_0x45c08c=_0x4947ba[_0x281553(0x131)](join,_0x560d34,_0x18615d);if(!existsSync(_0x45c08c))return![];try{return await rm(_0x45c08c,{'recursive':!![]}),console[_0x281553(0x127)](_0x281553(0x12d)+_0x18615d),!![];}catch{return console[_0x281553(0x110)](_0x281553(0x11a)+_0x18615d),![];}}