@ranger-testing/ranger-cli 3.1.1 → 3.1.2-alpha.b450a14-41

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 (85) 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/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/organizationEnvApi.js +1 -1
  60. package/build/commands/utils/playwrightCli.js +1 -1
  61. package/build/commands/utils/profileMessages.js +1 -1
  62. package/build/commands/utils/profileSetupBanner.js +1 -1
  63. package/build/commands/utils/projectsConfig.js +1 -1
  64. package/build/commands/utils/rangerConfig.js +1 -1
  65. package/build/commands/utils/rangerRoot.js +1 -1
  66. package/build/commands/utils/rangerwrightCli.js +1 -1
  67. package/build/commands/utils/resolveProfileContext.js +1 -1
  68. package/build/commands/utils/resolveProfileUrl.js +1 -1
  69. package/build/commands/utils/retry.js +1 -1
  70. package/build/commands/utils/sessionCache.js +1 -1
  71. package/build/commands/utils/settings.js +1 -1
  72. package/build/commands/utils/skillContent.js +1 -1
  73. package/build/commands/utils/skills.js +1 -1
  74. package/build/commands/utils/stitchWebmFiles.js +1 -1
  75. package/build/commands/utils/telemetry.js +1 -1
  76. package/build/commands/utils/tokenRefresh.js +1 -1
  77. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  78. package/build/commands/utils/tunnelClient.js +1 -1
  79. package/build/commands/utils/userApi.js +1 -1
  80. package/build/commands/utils/version.js +1 -1
  81. package/build/commands/verifyFeature.js +1 -1
  82. package/build/commands/verifyFeatureCli.js +1 -1
  83. package/build/commands/verifyFeatureNovaCli.js +1 -1
  84. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x9325e0=_0x52c7;(function(_0x22c8db,_0x2bef13){const _0x4943ce=_0x52c7,_0x37a76e=_0x22c8db();while(!![]){try{const _0x1b6680=-parseInt(_0x4943ce(0x27b))/0x1*(-parseInt(_0x4943ce(0x1f1))/0x2)+-parseInt(_0x4943ce(0x22a))/0x3*(parseInt(_0x4943ce(0x1d5))/0x4)+-parseInt(_0x4943ce(0x218))/0x5+-parseInt(_0x4943ce(0x25d))/0x6*(parseInt(_0x4943ce(0x1e4))/0x7)+parseInt(_0x4943ce(0x24a))/0x8+parseInt(_0x4943ce(0x20e))/0x9*(-parseInt(_0x4943ce(0x23e))/0xa)+parseInt(_0x4943ce(0x24f))/0xb*(parseInt(_0x4943ce(0x27c))/0xc);if(_0x1b6680===_0x2bef13)break;else _0x37a76e['push'](_0x37a76e['shift']());}catch(_0x5c007d){_0x37a76e['push'](_0x37a76e['shift']());}}}(_0x17e4,0xc70aa));import{spawn}from'child_process';import{createHash}from'crypto';import{access,chmod,mkdir,readFile,readdir,stat,writeFile}from'fs/promises';import{createServer}from'net';import{delimiter,dirname,isAbsolute,join}from'path';import{homedir}from'os';import{chromium}from'playwright';import{quoteShellArg}from'./playwrightCli.js';export const NOVA_ACT_CLI_BINARY=_0x9325e0(0x29f);export const NOVA_ACT_CLI_UV_PACKAGE='nova-act[cli]';const NOVA_ACT_CLI_PREVIEW_LIMIT=0xf0,NOVA_ACT_BOOTSTRAP_TIMEOUT_MS=0x2bf20,NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS=0x3a98,NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS=0x7*0x18*0x3c*0x3c;export function toNovaActCliSessionId(_0x17120d){const _0x23bacb=_0x9325e0,_0x2e238f={'mbkbw':function(_0x305724,_0x5745df){return _0x305724(_0x5745df);},'juAcc':_0x23bacb(0x1f3)},_0x3ee80f=_0x2e238f['mbkbw'](createHash,_0x2e238f[_0x23bacb(0x270)])[_0x23bacb(0x254)](_0x17120d)[_0x23bacb(0x274)]('hex')[_0x23bacb(0x23d)](0x0,0xc);return'rg-'+_0x3ee80f;}export async function inspectNovaStorageStateFile(_0x47815b){const _0x44b21b=_0x9325e0,_0x189dc1={'rZcpE':function(_0x35239d,_0xd25719){return _0x35239d(_0xd25719);},'WRSds':function(_0x4bde13,_0x4f2f1e,_0x5933d6){return _0x4bde13(_0x4f2f1e,_0x5933d6);},'kbDia':_0x44b21b(0x24e),'bdPqz':function(_0x4e6239,_0x4298b7){return _0x4e6239/_0x4298b7;},'SZSaJ':function(_0x38d8ce,_0x15b0d8){return _0x38d8ce instanceof _0x15b0d8;}};try{const [_0x40d59d,_0x2467f8]=await Promise['all']([_0x189dc1[_0x44b21b(0x22d)](stat,_0x47815b),_0x189dc1[_0x44b21b(0x226)](readFile,_0x47815b,_0x44b21b(0x29e))]),_0x379a29={'path':_0x47815b,'exists':!![],'byteLength':Buffer[_0x44b21b(0x243)](_0x2467f8),'sha256':_0x189dc1['rZcpE'](createHash,_0x44b21b(0x1f3))[_0x44b21b(0x254)](_0x2467f8)[_0x44b21b(0x274)](_0x189dc1['kbDia'])};try{const _0x4f519e=JSON[_0x44b21b(0x237)](_0x2467f8),_0x5c4034=_0x4f519e['cookies']??[],_0x1b60d0=Math['floor'](_0x189dc1['bdPqz'](Date[_0x44b21b(0x20f)](),0x3e8)),_0x2db3d0=new Map();for(const _0x6259ec of _0x5c4034){const _0x516672=_0x2db3d0['get'](_0x6259ec['domain'])??[];_0x516672['push'](_0x6259ec['name']),_0x2db3d0['set'](_0x6259ec[_0x44b21b(0x27d)],_0x516672);}return{..._0x379a29,'byteLength':_0x40d59d[_0x44b21b(0x1ee)],'cookieCount':_0x5c4034['length'],'cookieDomains':[..._0x2db3d0['entries']()]['sort'](([_0x39df8f],[_0x3f13c3])=>_0x39df8f['localeCompare'](_0x3f13c3))['map'](([_0x5dff1d,_0x16d8c8])=>({'domain':_0x5dff1d,'count':_0x16d8c8[_0x44b21b(0x289)],'names':_0x16d8c8['sort']()['slice'](0x0,0x19)})),'httpOnlyCookieCount':_0x5c4034[_0x44b21b(0x213)](_0x28e172=>_0x28e172[_0x44b21b(0x20c)])['length'],'secureCookieCount':_0x5c4034[_0x44b21b(0x213)](_0x20d5b6=>_0x20d5b6[_0x44b21b(0x1e2)])[_0x44b21b(0x289)],'sessionCookieCount':_0x5c4034[_0x44b21b(0x213)](_0x6d2b98=>_0x6d2b98[_0x44b21b(0x232)]===-0x1)['length'],'expiredCookieCount':_0x5c4034['filter'](_0x101b46=>typeof _0x101b46[_0x44b21b(0x232)]===_0x44b21b(0x208)&&_0x101b46['expires']>0x0&&_0x101b46['expires']<_0x1b60d0)[_0x44b21b(0x289)],'originCount':_0x4f519e['origins']?.[_0x44b21b(0x289)]??0x0,'origins':(_0x4f519e[_0x44b21b(0x250)]??[])['map'](_0x5f4f31=>({'origin':_0x5f4f31['origin'],'localStorageCount':_0x5f4f31[_0x44b21b(0x277)]?.[_0x44b21b(0x289)]??0x0,'localStorageKeys':_0x5f4f31[_0x44b21b(0x277)]?.['map'](_0x56c7cd=>_0x56c7cd[_0x44b21b(0x261)])[_0x44b21b(0x239)]()['slice'](0x0,0x19)??[]}))};}catch(_0x8c7f){return{..._0x379a29,'byteLength':_0x40d59d['size'],'parseError':_0x189dc1['SZSaJ'](_0x8c7f,Error)?_0x8c7f['message']:String(_0x8c7f)};}}catch(_0x120a32){return{'path':_0x47815b,'exists':![],'readError':_0x120a32 instanceof Error?_0x120a32['message']:_0x189dc1['rZcpE'](String,_0x120a32)};}}export async function inspectNovaProfileFiles(_0x5969cd){const _0xd2d7d7=_0x9325e0,_0x5bc3e7={'ovYka':function(_0x400058,_0x2a816a,_0x1f92c3){return _0x400058(_0x2a816a,_0x1f92c3);},'QKeJr':_0xd2d7d7(0x25a),'SVZKl':'Preferences','SUwcN':function(_0x56fabf,_0x4abe2c,_0x2d37cb,_0x429aee){return _0x56fabf(_0x4abe2c,_0x2d37cb,_0x429aee);},'jfKHr':_0xd2d7d7(0x24b),'hjIpd':function(_0x30a322,_0x3e7fe8){return _0x30a322(_0x3e7fe8);},'iAMTd':function(_0x1d01aa,_0x3a45ff){return _0x1d01aa(_0x3a45ff);},'CIKcf':function(_0x41c168,_0xf9d79a){return _0x41c168(_0xf9d79a);},'nIGdk':function(_0x4ca128,_0x1e8561){return _0x4ca128(_0x1e8561);},'mKpQd':function(_0x43848f,_0x5cfe51){return _0x43848f(_0x5cfe51);}},_0x38744c=_0x5bc3e7[_0xd2d7d7(0x216)](join,_0x5969cd['userDataDir'],_0x5bc3e7['QKeJr']),_0x2cab5e=join(_0x5969cd['browserProfilePath'],_0x5bc3e7['SVZKl']),_0x441a4f=_0x5bc3e7[_0xd2d7d7(0x216)](join,_0x5969cd['browserProfilePath'],_0xd2d7d7(0x28c)),_0x17d2c3=_0x5bc3e7[_0xd2d7d7(0x1fc)](join,_0x5969cd['browserProfilePath'],_0xd2d7d7(0x298),_0xd2d7d7(0x28c)),_0x1d55b2=join(_0x5969cd['browserProfilePath'],_0x5bc3e7['jfKHr']),_0xd5a3b2=_0x5bc3e7[_0xd2d7d7(0x216)](join,_0x1d55b2,'leveldb'),[_0x44a499,_0x33e99d,_0x4cb7af,_0x21f4b7,_0x386ecc,_0x2222eb,_0x247de7,_0x30156a,_0x3fbf89,_0x20e89e,_0x5885fe]=await Promise[_0xd2d7d7(0x1f6)]([inspectPath(_0x5969cd[_0xd2d7d7(0x276)]),inspectPath(_0x5969cd['browserProfilePath']),inspectPath(_0x38744c),_0x5bc3e7[_0xd2d7d7(0x1df)](inspectPath,_0x2cab5e),_0x5bc3e7['iAMTd'](inspectPath,_0x441a4f),inspectPath(_0x17d2c3),inspectPath(_0x1d55b2),_0x5bc3e7[_0xd2d7d7(0x222)](inspectPath,_0xd5a3b2),_0x5bc3e7[_0xd2d7d7(0x209)](listDir,_0x5969cd['userDataDir']),listDir(_0x5969cd[_0xd2d7d7(0x278)]),_0x5bc3e7['mKpQd'](listDir,_0xd5a3b2)]);return{'userDataDir':_0x5969cd[_0xd2d7d7(0x276)],'browserProfilePath':_0x5969cd['browserProfilePath'],'rootEntries':_0x3fbf89,'defaultEntries':_0x20e89e,'localStorageEntries':_0x5885fe,'paths':{'userDataDir':_0x44a499,'browserProfilePath':_0x33e99d,'localState':_0x4cb7af,'preferences':_0x21f4b7,'cookies':_0x386ecc,'networkCookies':_0x2222eb,'localStorage':_0x247de7,'levelDb':_0x30156a}};}async function inspectPath(_0x5e5210){const _0x1805b3=_0x9325e0,_0x53e549={'kzZbg':function(_0x4b78b2,_0x1d66c9){return _0x4b78b2(_0x1d66c9);}};try{const _0x1b357f=await stat(_0x5e5210);return{'path':_0x5e5210,'exists':!![],'isDirectory':_0x1b357f[_0x1805b3(0x26d)](),'byteLength':_0x1b357f['isFile']()?_0x1b357f['size']:undefined,'mtimeMs':_0x1b357f['mtimeMs']};}catch(_0x25adb5){return{'path':_0x5e5210,'exists':![],'error':_0x25adb5 instanceof Error?_0x25adb5['message']:_0x53e549[_0x1805b3(0x29b)](String,_0x25adb5)};}}async function listDir(_0x5422ce){const _0x3d8e60=_0x9325e0,_0xd21917={'cJmAW':function(_0xc2f5d,_0x11a49c){return _0xc2f5d(_0x11a49c);}};try{return(await _0xd21917[_0x3d8e60(0x28d)](readdir,_0x5422ce))['sort']()['slice'](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x4d1019,_0x101c0a=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x615d1c=_0x9325e0,_0x1888d2={'gQcVD':function(_0xdda15e,_0x3bef3f){return _0xdda15e+_0x3bef3f;},'KnGSS':'...'};return _0x4d1019[_0x615d1c(0x289)]>_0x101c0a?_0x1888d2['gQcVD'](_0x4d1019['slice'](0x0,_0x101c0a),_0x1888d2['KnGSS']):_0x4d1019;}function truncateOutput(_0x174a9d,_0x3d258d=0x7d0){const _0x40211f=_0x9325e0,_0x3647d2={'uNOqF':function(_0x2bf22f,_0x24ef53){return _0x2bf22f+_0x24ef53;}};return _0x174a9d['length']>_0x3d258d?_0x3647d2['uNOqF'](_0x174a9d[_0x40211f(0x23d)](0x0,_0x3d258d),'...'):_0x174a9d;}function getNovaActCliBinDirs(_0x103a9c){const _0x4fd54f=_0x9325e0,_0x175138={'BKjaf':_0x4fd54f(0x211),'aZBLE':_0x4fd54f(0x228)};return[_0x103a9c['UV_TOOL_BIN_DIR'],homedir()+_0x4fd54f(0x212),_0x175138['BKjaf'],_0x175138[_0x4fd54f(0x257)]][_0x4fd54f(0x213)](_0x5f295d=>Boolean(_0x5f295d));}function buildPathWithNovaActCliBins(_0x2e94bb){const _0x3c538c=_0x9325e0,_0x18c4c5={'ltsTg':function(_0x3ebf65,_0x4bc1d3){return _0x3ebf65(_0x4bc1d3);}},_0x5576b3=new Set(),_0x31edfd=[..._0x18c4c5[_0x3c538c(0x233)](getNovaActCliBinDirs,_0x2e94bb),...(_0x2e94bb[_0x3c538c(0x20d)]??'')['split'](delimiter)]['filter'](_0x31a03f=>{const _0x30abc0=_0x3c538c;if(!_0x31a03f||_0x5576b3['has'](_0x31a03f))return![];return _0x5576b3[_0x30abc0(0x238)](_0x31a03f),!![];});return _0x31edfd[_0x3c538c(0x1db)](delimiter);}export function applyNovaActCliPath(_0x416318){const _0x36c509=_0x9325e0,_0x2227c6={'pMeUU':function(_0xdd6b79,_0x4c7d6a){return _0xdd6b79(_0x4c7d6a);}};_0x416318[_0x36c509(0x20d)]=_0x2227c6['pMeUU'](buildPathWithNovaActCliBins,_0x416318);}function withNovaActCliPath(_0x4d8e6b){return{..._0x4d8e6b,'PATH':buildPathWithNovaActCliBins(_0x4d8e6b)};}function runBootstrapCommand(_0x3cb28d){const _0x50a3fb=_0x9325e0,_0x1dc131={'FGRXi':function(_0x146b8d,_0x773f41,_0x439966){return _0x146b8d(_0x773f41,_0x439966);},'PgXuO':function(_0xf2566a,_0x336259){return _0xf2566a===_0x336259;},'TEPiM':_0x50a3fb(0x1fd)},{command:_0x476f17,args:_0x334732,env:_0x2270f8,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x3cb28d;return new Promise((_0x5d5805,_0x36638d)=>{const _0x2729cd=_0x50a3fb,_0x3e6ea6={'ccHJR':function(_0x9d1f13,_0x247bab,_0x3dfc65){return _0x1dc131['FGRXi'](_0x9d1f13,_0x247bab,_0x3dfc65);},'ZRkxW':function(_0x807015,_0x22f2b0){return _0x807015(_0x22f2b0);},'KACHD':function(_0x12e370,_0x5aebab){return _0x12e370(_0x5aebab);},'NYeEh':function(_0x4abe39,_0x44f65e){const _0x460353=_0x52c7;return _0x1dc131[_0x460353(0x28f)](_0x4abe39,_0x44f65e);},'FWREL':function(_0x2f3399,_0x48913d){return _0x2f3399(_0x48913d);}},_0x2191e7=spawn(_0x476f17,_0x334732,{'env':_0x2270f8,'stdio':['ignore',_0x2729cd(0x1d8),_0x2729cd(0x1d8)]});let _0x5c1e11='',_0x4ffdc8='',_0x223f71=![];const _0x2b8680=setTimeout(()=>{const _0x5608f4=_0x2729cd;_0x223f71=!![],_0x2191e7[_0x5608f4(0x248)]('SIGTERM'),_0x3e6ea6['ccHJR'](setTimeout,()=>{const _0x544d03=_0x5608f4;try{_0x2191e7[_0x544d03(0x248)](_0x544d03(0x23b));}catch{}},0x3e8);},timeoutMs);_0x2191e7[_0x2729cd(0x1e8)]?.['on'](_0x2729cd(0x1fd),_0x161d5c=>{const _0xb47b2=_0x2729cd;_0x5c1e11+=_0x161d5c[_0xb47b2(0x27e)]();}),_0x2191e7[_0x2729cd(0x26f)]?.['on'](_0x1dc131[_0x2729cd(0x249)],_0x471fc3=>{_0x4ffdc8+=_0x471fc3['toString']();}),_0x2191e7['on']('error',_0x38eb78=>{_0x3e6ea6['ZRkxW'](clearTimeout,_0x2b8680),_0x3e6ea6['KACHD'](_0x36638d,_0x38eb78);}),_0x2191e7['on'](_0x2729cd(0x275),(_0x4f34eb,_0x4763ff)=>{const _0x39c508=_0x2729cd;clearTimeout(_0x2b8680);if(_0x3e6ea6['NYeEh'](_0x4f34eb,0x0)){_0x5d5805({'stdout':_0x5c1e11,'stderr':_0x4ffdc8});return;}const _0x2927d5=_0x223f71?_0x39c508(0x24c)+timeoutMs+'ms':'exited\x20with\x20code='+(_0x4f34eb??'null')+_0x39c508(0x1ed)+(_0x4763ff??'null');_0x36638d(new Error(_0x476f17+'\x20'+_0x334732['join']('\x20')+'\x20'+_0x2927d5+_0x39c508(0x1f4)+_0x3e6ea6[_0x39c508(0x21b)](truncateOutput,_0x5c1e11)+'\x0astderr:\x20'+truncateOutput(_0x4ffdc8)));});});}function runCommandAllowFailure(_0x2a236c){const _0x2c7bf7=_0x9325e0,_0x4b6dc6={'ilyQi':function(_0x11c3bb,_0x2fcdad){return _0x11c3bb(_0x2fcdad);},'vIddH':function(_0x38f615,_0x525c53){return _0x38f615(_0x525c53);},'NezDL':_0x2c7bf7(0x292),'SAUdu':function(_0x546306,_0x478f30,_0x19e95a){return _0x546306(_0x478f30,_0x19e95a);},'UKGxW':'ignore','VMFYB':_0x2c7bf7(0x1d8),'sghow':'data','rCdhP':_0x2c7bf7(0x240),'JADgE':_0x2c7bf7(0x275)},{command:_0x19d82d,args:_0x412da0,env:_0x4ff543,timeoutMs:_0x1a5d6a}=_0x2a236c;return new Promise((_0x215edd,_0x9f1f9b)=>{const _0x339c94=_0x2c7bf7,_0x38e295={'eidwt':'SIGKILL','FmKeC':_0x4b6dc6[_0x339c94(0x26b)],'uwpAy':function(_0x51c79d,_0x421702,_0x4cedf0){const _0x43463c=_0x339c94;return _0x4b6dc6[_0x43463c(0x1fa)](_0x51c79d,_0x421702,_0x4cedf0);},'gewYy':function(_0x4bf0f1,_0x47880f){return _0x4bf0f1(_0x47880f);}},_0x1bf455=spawn(_0x19d82d,_0x412da0,{'env':_0x4ff543,'stdio':[_0x4b6dc6['UKGxW'],_0x339c94(0x1d8),_0x4b6dc6[_0x339c94(0x241)]]});let _0x4da356='',_0x3903bd='',_0x187769=![];const _0x523f8a=setTimeout(()=>{const _0x25def9=_0x339c94;_0x187769=!![],_0x1bf455[_0x25def9(0x248)](_0x38e295['FmKeC']),_0x38e295[_0x25def9(0x21c)](setTimeout,()=>{const _0x356f96=_0x25def9;try{_0x1bf455[_0x356f96(0x248)](_0x38e295['eidwt']);}catch{}},0x3e8);},_0x1a5d6a);_0x1bf455[_0x339c94(0x1e8)]?.['on'](_0x4b6dc6[_0x339c94(0x22e)],_0x5815ce=>{_0x4da356+=_0x5815ce['toString']();}),_0x1bf455['stderr']?.['on'](_0x339c94(0x1fd),_0xda7f27=>{_0x3903bd+=_0xda7f27['toString']();}),_0x1bf455['on'](_0x4b6dc6[_0x339c94(0x1e3)],_0x3cc3cd=>{clearTimeout(_0x523f8a),_0x38e295['gewYy'](_0x9f1f9b,_0x3cc3cd);}),_0x1bf455['on'](_0x4b6dc6[_0x339c94(0x290)],(_0x2d067b,_0x244738)=>{const _0x51220d=_0x339c94;_0x4b6dc6[_0x51220d(0x204)](clearTimeout,_0x523f8a),_0x4b6dc6[_0x51220d(0x291)](_0x215edd,{'code':_0x2d067b,'signal':_0x244738,'stdout':_0x4da356,'stderr':_0x3903bd,'timedOut':_0x187769});});});}async function resolveActPath(_0x10c62d){const _0x1c59ee=_0x9325e0,_0x75388a={'XWZAe':function(_0x526b43,_0x1988cd){return _0x526b43(_0x1988cd);}},_0x35f7ff=_0x75388a['XWZAe'](isAbsolute,NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x10c62d[_0x1c59ee(0x20d)]??'')[_0x1c59ee(0x1ef)](delimiter)[_0x1c59ee(0x213)](Boolean)['map'](_0x4cc220=>join(_0x4cc220,NOVA_ACT_CLI_BINARY));for(const _0x1cb30d of _0x35f7ff){try{return await access(_0x1cb30d),_0x1cb30d;}catch{}}return null;}async function checkNovaActCli(_0x48e8ce){const _0x531dd2=_0x9325e0,_0x80223e={'qlEPx':function(_0x27780f,_0x4ae90a){return _0x27780f(_0x4ae90a);},'kphsb':_0x531dd2(0x1da),'RBUYE':_0x531dd2(0x234)};try{return await _0x80223e['qlEPx'](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':[_0x80223e[_0x531dd2(0x1f7)],_0x80223e['RBUYE']],'env':_0x48e8ce,'timeoutMs':0x7530}),await _0x80223e[_0x531dd2(0x1de)](resolveActPath,_0x48e8ce)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0x253e2a={}){const _0x564f6a=_0x9325e0,_0x3d7db4={'cXiKi':function(_0x36e3ae,_0x5711a9){return _0x36e3ae(_0x5711a9);},'crvOF':'install','pMxkc':function(_0x1e8913,_0x4067af){return _0x1e8913(_0x4067af);},'iJxDE':function(_0x38a91f,_0x384564){return _0x38a91f(_0x384564);}},_0x22223b=withNovaActCliPath(_0x253e2a['env']??process[_0x564f6a(0x246)]),_0x1d37c1=await checkNovaActCli(_0x22223b);if(_0x1d37c1)return{'installed':![],'actPath':_0x1d37c1,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await _0x3d7db4[_0x564f6a(0x284)](runBootstrapCommand,{'command':'uv','args':['--version'],'env':_0x22223b,'timeoutMs':0x7530});}catch(_0x4500a6){throw new Error(_0x564f6a(0x28e)+NOVA_ACT_CLI_BINARY+'`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22'+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x4500a6 instanceof Error?_0x4500a6[_0x564f6a(0x252)]:String(_0x4500a6)));}const _0x5113ea=await _0x3d7db4[_0x564f6a(0x284)](runBootstrapCommand,{'command':'uv','args':['tool',_0x3d7db4[_0x564f6a(0x287)],NOVA_ACT_CLI_UV_PACKAGE],'env':_0x22223b,'timeoutMs':_0x253e2a['timeoutMs']??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x54bcd7=await _0x3d7db4[_0x564f6a(0x288)](checkNovaActCli,_0x22223b);if(!_0x54bcd7)throw new Error(_0x564f6a(0x259)+NOVA_ACT_CLI_UV_PACKAGE+_0x564f6a(0x1e7)+NOVA_ACT_CLI_BINARY+_0x564f6a(0x202)+getNovaActCliBinDirs(_0x22223b)[_0x564f6a(0x1db)](',\x20')+_0x564f6a(0x242)+_0x3d7db4[_0x564f6a(0x21d)](truncateOutput,_0x5113ea[_0x564f6a(0x1e8)])+_0x564f6a(0x25e)+truncateOutput(_0x5113ea[_0x564f6a(0x26f)]));return{'installed':!![],'actPath':_0x54bcd7,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x5113ea[_0x564f6a(0x1e8)],'stderr':_0x5113ea[_0x564f6a(0x26f)]};}function parseNovaActDoctorOutput(_0x4cfecc){try{return JSON['parse'](_0x4cfecc);}catch{return null;}}function buildNovaActCliPreflightError(_0x49be60){const _0x113f77=_0x9325e0,_0x2aa0c1={'pEhch':function(_0x1ef4d4,_0x4f7f37){return _0x1ef4d4>_0x4f7f37;},'cLEXx':_0x113f77(0x296),'JYSpl':function(_0x131cd7,_0x9b6884){return _0x131cd7??_0x9b6884;},'DCMVH':function(_0x2305c2,_0x274b94){return _0x2305c2??_0x274b94;},'lUVRc':function(_0x3a21d4,_0x88f824){return _0x3a21d4(_0x88f824);}},{checks:_0x38ce8b,stdout:_0x3d3bbd,stderr:_0x1c4b61,env:_0x41a4c6,code:_0x296fdd,signal:_0x249431,timedOut:_0x3512b8}=_0x49be60,_0x3fb1f7=_0x38ce8b[_0x113f77(0x213)](_0x16de65=>_0x16de65[_0x113f77(0x293)]==='fail'),_0x51ae3e=_0x2aa0c1[_0x113f77(0x1f5)](_0x3fb1f7[_0x113f77(0x289)],0x0)?_0x3fb1f7['map'](_0x239c8d=>{const _0x29d951=_0x113f77,_0xe6f512=_0x239c8d[_0x29d951(0x20a)]?'\x20Fix:\x20'+_0x239c8d['fix']:'';return'-\x20'+_0x239c8d['name']+':\x20'+_0x239c8d[_0x29d951(0x252)]+'.'+_0xe6f512;})['join']('\x0a'):[_0x3512b8?_0x2aa0c1[_0x113f77(0x224)]:'act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code='+_0x2aa0c1['JYSpl'](_0x296fdd,'null')+_0x113f77(0x1ed)+_0x2aa0c1[_0x113f77(0x1eb)](_0x249431,_0x113f77(0x27f)),_0x3d3bbd?'stdout:\x20'+truncateOutput(_0x3d3bbd):'',_0x1c4b61?_0x113f77(0x260)+_0x2aa0c1['lUVRc'](truncateOutput,_0x1c4b61):'']['filter'](Boolean)['join']('\x0a'),_0x5eb3e6=_0x41a4c6['AWS_PROFILE']?.[_0x113f77(0x1f8)](),_0x2f805c=_0x5eb3e6?'For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20'+_0x5eb3e6:'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>';return new Error(['Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.',_0x51ae3e,'Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.',_0x2f805c]['join']('\x0a'));}export async function preflightNovaActCli(_0x5c8a16={}){const _0x1d011f=_0x9325e0,_0x3f03a2={'CSDwX':function(_0x767d24,_0x378985){return _0x767d24(_0x378985);},'ERAct':_0x1d011f(0x244),'bwupi':_0x1d011f(0x23c),'TgmKX':function(_0x2c7c6a,_0x40e572){return _0x2c7c6a(_0x40e572);}},_0x35fe7b=_0x3f03a2['CSDwX'](withNovaActCliPath,_0x5c8a16['env']??process['env']),_0x2b6e25=await _0x3f03a2['CSDwX'](runCommandAllowFailure,{'command':NOVA_ACT_CLI_BINARY,'args':[_0x1d011f(0x1da),_0x3f03a2[_0x1d011f(0x24d)],_0x3f03a2[_0x1d011f(0x299)]],'env':_0x35fe7b,'timeoutMs':_0x5c8a16['timeoutMs']??0x7530}),_0x207a98=_0x3f03a2['TgmKX'](parseNovaActDoctorOutput,_0x2b6e25[_0x1d011f(0x1e8)]),_0x39d94b=_0x207a98?.['data']?.['checks']??[],_0x39e4d1=_0x39d94b['some'](_0xfa7b9e=>_0xfa7b9e[_0x1d011f(0x293)]===_0x1d011f(0x225));if(_0x2b6e25['code']!==0x0||_0x2b6e25[_0x1d011f(0x28b)]||_0x39e4d1)throw buildNovaActCliPreflightError({'checks':_0x39d94b,'stdout':_0x2b6e25[_0x1d011f(0x1e8)],'stderr':_0x2b6e25[_0x1d011f(0x26f)],'env':_0x35fe7b,'code':_0x2b6e25['code'],'signal':_0x2b6e25['signal'],'timedOut':_0x2b6e25['timedOut']});return{'checks':_0x39d94b,'logDir':_0x207a98?.[_0x1d011f(0x1ec)]??_0x207a98?.[_0x1d011f(0x1e1)]};}function getNovaActCliSubcommand(_0x42bd41){const _0x265588=_0x9325e0,_0x475558={'AjzGa':function(_0x2629a8,_0xd10a61){return _0x2629a8===_0xd10a61;},'ZtGHe':'session'},[_0x377f67='unknown',_0x570f22]=_0x42bd41;return _0x475558['AjzGa'](_0x377f67,_0x475558[_0x265588(0x214)])&&_0x570f22?_0x377f67+'\x20'+_0x570f22:_0x377f67;}function supportsBrowserSessionOptions(_0x2e53e5){const _0x297424=_0x9325e0,_0x4a73ba={'ZHKDQ':function(_0x54f76b,_0x3f844b){return _0x54f76b===_0x3f844b;},'jnLfd':_0x297424(0x201),'CQsCj':'export','jsIfB':'close'};return!(_0x4a73ba[_0x297424(0x1d9)](_0x2e53e5[0x0],_0x4a73ba['jnLfd'])&&(_0x2e53e5[0x1]===_0x4a73ba['CQsCj']||_0x2e53e5[0x1]===_0x4a73ba['jsIfB']));}function buildSharedArgs(_0x2b7109,_0xb30855){const _0x2ad87b=_0x9325e0,_0x509e69={'cHtjY':function(_0xbede45,_0x55ff40){return _0xbede45(_0x55ff40);},'LIxUX':'--quiet','nHKun':'--headless','CaFSl':_0x2ad87b(0x25f),'MhFew':_0x2ad87b(0x1ff),'VeRaW':'--executable-path'},_0x42b15a=['--session-id',_0x2b7109['sessionId'],'--json'];if(_0x509e69[_0x2ad87b(0x229)](supportsBrowserSessionOptions,_0xb30855)){_0x42b15a[_0x2ad87b(0x273)](_0x509e69[_0x2ad87b(0x280)]),_0x42b15a['push'](_0x2b7109['headless']?_0x509e69[_0x2ad87b(0x258)]:_0x509e69[_0x2ad87b(0x203)]);_0x2b7109[_0x2ad87b(0x278)]&&_0x42b15a[_0x2ad87b(0x273)](_0x509e69['MhFew'],_0x2b7109[_0x2ad87b(0x278)]);_0x2b7109['executablePath']&&_0x42b15a['push'](_0x509e69[_0x2ad87b(0x297)],_0x2b7109[_0x2ad87b(0x268)]);_0x2b7109[_0x2ad87b(0x27a)]&&_0x42b15a[_0x2ad87b(0x273)]('--cdp',_0x2b7109[_0x2ad87b(0x27a)]);for(const _0x3ba405 of _0x2b7109['launchArgs']??[]){_0x42b15a[_0x2ad87b(0x273)]('--launch-arg='+_0x3ba405);}}return _0x42b15a;}export function buildNovaActCliInvocation(_0x5e7d3b,_0x22f5f7){const _0x3cb151=_0x9325e0,_0xfb6bb={'gBtUh':function(_0x1a9979,_0x1f29f9,_0xf663c2){return _0x1a9979(_0x1f29f9,_0xf663c2);},'qCzlL':_0x3cb151(0x1da),'kaTpo':function(_0x39bf9e,_0xb11b95){return _0x39bf9e(_0xb11b95);}},_0x59c652=_0xfb6bb['gBtUh'](buildSharedArgs,_0x5e7d3b,_0x22f5f7),_0x2ad4b2=['browser',..._0x22f5f7,..._0x59c652];return{'command':NOVA_ACT_CLI_BINARY,'args':_0x2ad4b2,'shellCommand':[NOVA_ACT_CLI_BINARY,_0xfb6bb['qCzlL'],..._0x22f5f7['map'](quoteShellArg),..._0x59c652[_0x3cb151(0x26a)](quoteShellArg)][_0x3cb151(0x1db)]('\x20'),'subcommand':_0xfb6bb[_0x3cb151(0x207)](getNovaActCliSubcommand,_0x22f5f7)};}export function buildNovaActCliCommandPrefix(){const _0x38dbb2=_0x9325e0;return NOVA_ACT_CLI_BINARY+_0x38dbb2(0x1dd);}export function buildNovaActCliBrowserWrapperPath(_0x594437){const _0x247d4b=_0x9325e0,_0x1c2eaa={'vMSFY':function(_0x3ddb61,_0x98540d,_0x469e1f){return _0x3ddb61(_0x98540d,_0x469e1f);},'iDXDa':function(_0x11cd4b,_0xef9b59){return _0x11cd4b(_0xef9b59);}};return _0x1c2eaa[_0x247d4b(0x282)](join,_0x1c2eaa[_0x247d4b(0x1e6)](dirname,_0x594437[_0x247d4b(0x276)]),'nova-act-browser');}export async function writeNovaActCliBrowserWrapper(_0x3a0026){const _0x35fd97=_0x9325e0,_0x4c54f4={'LuMFM':function(_0x23791e,_0x14955f,_0x9089b8){return _0x23791e(_0x14955f,_0x9089b8);},'XGTIl':function(_0x344367,_0x19c5e4){return _0x344367(_0x19c5e4);},'HiJGj':function(_0x5f26ef,_0x4b8f45,_0x87f56f){return _0x5f26ef(_0x4b8f45,_0x87f56f);}},_0x4a040d=_0x3a0026[_0x35fd97(0x1f0)]??buildNovaActCliBrowserWrapperPath(_0x3a0026),_0x5238d8=buildSharedArgs(_0x3a0026,[_0x35fd97(0x235)])[_0x35fd97(0x26a)](quoteShellArg)[_0x35fd97(0x1db)]('\x20'),_0x218113=buildSharedArgs(_0x3a0026,['session',_0x35fd97(0x21e)])[_0x35fd97(0x26a)](quoteShellArg)[_0x35fd97(0x1db)]('\x20');return await mkdir(dirname(_0x4a040d),{'recursive':!![]}),await _0x4c54f4[_0x35fd97(0x22f)](mkdir,_0x3a0026['userDataDir'],{'recursive':!![]}),await writeFile(_0x4a040d,'#!/usr/bin/env\x20bash\x0aset\x20-euo\x20pipefail\x0aif\x20[[\x20\x22${1:-}\x22\x20==\x20\x22session\x22\x20&&\x20(\x20\x22${2:-}\x22\x20==\x20\x22export\x22\x20||\x20\x22${2:-}\x22\x20==\x20\x22close\x22\x20)\x20]];\x20then\x0a\x20\x20exec\x20'+_0x4c54f4[_0x35fd97(0x215)](quoteShellArg,NOVA_ACT_CLI_BINARY)+_0x35fd97(0x206)+_0x218113+_0x35fd97(0x267)+quoteShellArg(NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x5238d8+'\x0a',_0x35fd97(0x29e)),await _0x4c54f4['HiJGj'](chmod,_0x4a040d,0x1ed),_0x4a040d;}export function buildNovaActCliSharedOptionsSuffix(_0x3e8d42,_0x29fd03=['execute']){const _0x47d828=_0x9325e0;return buildSharedArgs(_0x3e8d42,_0x29fd03)[_0x47d828(0x26a)](quoteShellArg)[_0x47d828(0x1db)]('\x20');}export async function runNovaActCliCommand(_0x4d77f4){const _0xb373db=_0x9325e0,_0x561073={'DvYVP':function(_0x1d207f,_0x3d44f9){return _0x1d207f(_0x3d44f9);},'TxHlq':function(_0x50f6c2,_0x1f3475){return _0x50f6c2===_0x1f3475;},'vJtHQ':'null','yHScM':function(_0x5636e9,_0x1408e1){return _0x5636e9(_0x1408e1);},'BrbKy':'SIGTERM','UqSYB':'ignore','HpOCw':_0xb373db(0x1d8),'zOKLT':function(_0x417ff0,_0x452b9e){return _0x417ff0>_0x452b9e;},'VvObU':'data','ZxwIp':'close','YiXPJ':function(_0x3b80c4,_0x2302c2,_0x4ac4c4){return _0x3b80c4(_0x2302c2,_0x4ac4c4);},'rxOFM':function(_0x85c1c4,_0x3060fd,_0x18d97d){return _0x85c1c4(_0x3060fd,_0x18d97d);}};await _0x561073['YiXPJ'](mkdir,_0x4d77f4[_0xb373db(0x276)],{'recursive':!![]});const _0x588054=_0x561073[_0xb373db(0x26e)](buildNovaActCliInvocation,_0x4d77f4,_0x4d77f4['commandArgs']);return new Promise((_0x423a0e,_0x221f73)=>{const _0x344539=_0xb373db,_0x30d0bb={'KywYW':_0x344539(0x23b),'pfrhc':_0x561073['BrbKy']},_0x2d55eb=spawn(_0x588054[_0x344539(0x21f)],_0x588054[_0x344539(0x23a)],{'cwd':_0x4d77f4['cwd'],'env':_0x4d77f4[_0x344539(0x246)],'stdio':[_0x561073['UqSYB'],_0x561073['HpOCw'],'pipe']});let _0x4671e5='',_0x557e59='',_0x4f208f=![];const _0x545e1e=_0x4d77f4[_0x344539(0x22c)]&&_0x561073[_0x344539(0x269)](_0x4d77f4['timeoutMs'],0x0)?setTimeout(()=>{const _0x342a01=_0x344539,_0x3e3047={'CgNcn':_0x30d0bb['KywYW']};_0x4f208f=!![],_0x2d55eb[_0x342a01(0x248)](_0x30d0bb[_0x342a01(0x1d4)]),setTimeout(()=>{const _0x1341ce=_0x342a01;try{_0x2d55eb[_0x1341ce(0x248)](_0x3e3047['CgNcn']);}catch{}},0x3e8);},_0x4d77f4[_0x344539(0x22c)]):null;_0x2d55eb['stdout']?.['on'](_0x561073['VvObU'],_0x2b48aa=>{const _0x59a3e2=_0x344539;_0x4671e5+=_0x2b48aa[_0x59a3e2(0x27e)]();}),_0x2d55eb[_0x344539(0x26f)]?.['on']('data',_0x11b1b8=>{_0x557e59+=_0x11b1b8['toString']();}),_0x2d55eb['on'](_0x344539(0x240),_0x3e42fc=>{if(_0x545e1e)_0x561073['DvYVP'](clearTimeout,_0x545e1e);_0x221f73(_0x3e42fc);}),_0x2d55eb['on'](_0x561073['ZxwIp'],(_0x1f8759,_0x4d9b53)=>{const _0x2405c3=_0x344539;if(_0x545e1e)clearTimeout(_0x545e1e);if(_0x561073[_0x2405c3(0x263)](_0x1f8759,0x0)){_0x423a0e({'stdout':_0x4671e5,'stderr':_0x557e59,'invocation':_0x588054});return;}const _0x4b0fa2=_0x4f208f?'timed\x20out\x20after\x20'+_0x4d77f4['timeoutMs']+'ms':_0x2405c3(0x265)+(_0x1f8759??_0x2405c3(0x27f))+'\x20signal='+(_0x4d9b53??_0x561073['vJtHQ']);_0x221f73(new Error('nova-act-cli\x20'+_0x588054[_0x2405c3(0x29c)]+'\x20'+_0x4b0fa2+_0x2405c3(0x1f4)+_0x561073['yHScM'](truncateOutput,_0x4671e5)+'\x0astderr:\x20'+truncateOutput(_0x557e59)));});});}export function parseNovaActCliCommand(_0x347335){const _0x5cc009=_0x9325e0,_0x46bea1=_0x347335[_0x5cc009(0x247)](/(?:^|\s)(?:(?:"[^"]*\/act"|'[^']*\/act'|\S*\/act|act)\s+browser|(?:"[^"]*\/nova-act-browser"|'[^']*\/nova-act-browser'|\S*\/nova-act-browser|nova-act-browser))\s+(session\s+[a-z-]+|[a-z][a-z-]*)\b/);return _0x46bea1?.[0x1]??null;}export function extractNovaActLogDir(_0x819667){const _0x166889=_0x9325e0;try{const _0x150431=JSON[_0x166889(0x237)](_0x819667),_0xcf12d1=[_0x150431['logs_directory'],_0x150431[_0x166889(0x26c)],_0x150431[_0x166889(0x251)],_0x150431[_0x166889(0x1e1)],_0x150431['log_dir']],_0x4811ef=_0xcf12d1[_0x166889(0x219)](_0x592421=>typeof _0x592421==='string'&&_0x592421[_0x166889(0x1f8)]()['length']>0x0);if(_0x4811ef)return _0x4811ef;}catch{}const _0x446299=_0x819667['match'](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0x446299?.[0x1]??null;}function _0x17e4(){const _0x4e4439=['toString','null','LIxUX','evaluate','vMSFY','QckAN','cXiKi','pOHSx','HNwog','crvOF','pMxkc','length','qKgXS','timedOut','Cookies','cJmAW','nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`','PgXuO','JADgE','vIddH','SIGTERM','status','goto','SRdhz','act\x20browser\x20doctor\x20--json\x20timed\x20out','VeRaW','Network','bwupi','isRbh','kzZbg','subcommand','exit','utf-8','act','pfrhc','16ksoXzQ','HOUjy','UidWN','pipe','ZHKDQ','browser','join','contexts','\x20browser','qlEPx','hjIpd','newPage','logDir','secure','rCdhP','7xsbyPG','Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','iDXDa',',\x20but\x20`','stdout','YawRu','setItem','DCMVH','log_dir','\x20signal=','size','split','browserCommandPath','3122074ZUWYWX','string','sha256','\x0astdout:\x20','pEhch','all','kphsb','trim','DepGO','SAUdu','fKKbs','SUwcN','data','Preferences','--browser-profile-path','once','session','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','CaFSl','ilyQi','--remote-debugging-port=','\x20browser\x20\x22$@\x22\x20','kaTpo','number','nIGdk','fix','SQPAf','httpOnly','PATH','479754ENBCPD','now','iCzoZ','/opt/homebrew/bin','/.local/bin','filter','ZtGHe','XGTIl','ovYka','origin','6653130eKoBqe','find','--profile-directory=Default','FWREL','uwpAy','iJxDE','export','command','baseUrl','--headless=new','CIKcf','cookies','cLEXx','fail','WRSds','127.0.0.1','/usr/local/bin','cHtjY','260421FZMofS','Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20','timeoutMs','rZcpE','sghow','LuMFM','iIFEj','phxvZ','expires','ltsTg','--help','execute','addCookies','parse','add','sort','args','SIGKILL','--json','slice','230UTiamE','UKcPL','error','VMFYB','\x20is\x20on\x20PATH.\x0astdout:\x20','byteLength','doctor','exitCode','env','match','kill','TEPiM','3617392lbrUIg','Local\x20Storage','timed\x20out\x20after\x20','ERAct','hex','7483773bsimIW','origins','logs_dir','message','--remote-allow-origins=http://localhost','update','launchArgs','UMnQE','aZBLE','nHKun','Installed\x20','Local\x20State','port','webSocketDebuggerUrl','6092502jyWZkW','\x0astderr:\x20','--headed','stderr:\x20','name','http://127.0.0.1:','TxHlq','json','exited\x20with\x20code=','WscNs','\x0afi\x0a\x0aexec\x20','executablePath','zOKLT','map','NezDL','logsDirectory','isDirectory','rxOFM','stderr','juAcc','ucdlQ','VpKce','push','digest','close','userDataDir','localStorage','browserProfilePath','ScDlK','cdpEndpoint','1VWFIJF','48LGLMTQ','domain'];_0x17e4=function(){return _0x4e4439;};return _0x17e4();}export async function loadNovaActSessionExport(_0x3b44d0){const _0x182c74=_0x9325e0;try{return JSON[_0x182c74(0x237)](await readFile(_0x3b44d0,'utf-8'));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0x567b03){const _0x5afee7=_0x9325e0,_0x17e082={'phxvZ':function(_0xb62122,_0x4150ea,_0x337921){return _0xb62122(_0x4150ea,_0x337921);},'QckAN':'utf-8','fvtpj':_0x5afee7(0x1e5),'nzWNw':'domcontentloaded','RizUS':function(_0x5e6484,_0x371240,_0x2e533a){return _0x5e6484(_0x371240,_0x2e533a);}},_0x26555d=JSON['parse'](await _0x17e082['phxvZ'](readFile,_0x567b03['storageStatePath'],_0x17e082[_0x5afee7(0x283)])),_0x8b3c70=await inspectNovaStorageStateFile(_0x567b03['storageStatePath']);await mkdir(_0x567b03[_0x5afee7(0x276)],{'recursive':!![]});const _0x2bbc9b=_0x17e082[_0x5afee7(0x231)](join,_0x567b03['userDataDir'],'Default'),_0x60b9b8=await inspectNovaProfileFiles({'userDataDir':_0x567b03[_0x5afee7(0x276)],'browserProfilePath':_0x2bbc9b}),{browser:_0x162861,process:_0x47cc03}=await launchNovaHydrationBrowser({'userDataDir':_0x567b03[_0x5afee7(0x276)],'browserProfilePath':_0x2bbc9b,'executablePath':_0x567b03['executablePath'],'headless':_0x567b03['headless'],'launchArgs':_0x567b03[_0x5afee7(0x255)]}),_0x43f01f=_0x162861[_0x5afee7(0x1dc)]()[0x0];if(!_0x43f01f){await _0x17e082[_0x5afee7(0x231)](closeNovaHydrationBrowser,_0x162861,_0x47cc03);throw new Error(_0x17e082['fvtpj']);}let _0x5b1ded=0x0,_0x4cafa6=0x0;try{const _0x23b015=_0x26555d[_0x5afee7(0x223)]??[];if(_0x23b015[_0x5afee7(0x289)]>0x0){const _0xf847c7=_0x23b015[_0x5afee7(0x26a)](_0x202b14=>{const _0x4f1e74=_0x5afee7;if(_0x202b14[_0x4f1e74(0x232)]!==-0x1)return _0x202b14;return _0x4cafa6+=0x1,{..._0x202b14,'expires':Math['floor'](Date['now']()/0x3e8)+NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS};});await _0x43f01f[_0x5afee7(0x236)](_0xf847c7);}for(const _0x330c5e of _0x26555d['origins']??[]){if(!_0x330c5e[_0x5afee7(0x277)]?.[_0x5afee7(0x289)])continue;const _0x4ee95a=await _0x43f01f['newPage']();await _0x4ee95a[_0x5afee7(0x294)](_0x330c5e[_0x5afee7(0x217)],{'waitUntil':'domcontentloaded','timeout':0x7530}),await _0x4ee95a[_0x5afee7(0x281)](_0x2895a6=>{const _0x5accb1=_0x5afee7;for(const _0xef286b of _0x2895a6){window['localStorage'][_0x5accb1(0x1ea)](_0xef286b['name'],_0xef286b['value']);}},_0x330c5e[_0x5afee7(0x277)]),_0x5b1ded+=_0x330c5e[_0x5afee7(0x277)][_0x5afee7(0x289)],await _0x4ee95a[_0x5afee7(0x275)]();}if(_0x567b03['baseUrl']){const _0x4f6f7f=await _0x43f01f[_0x5afee7(0x1e0)]();await _0x4f6f7f['goto'](_0x567b03[_0x5afee7(0x220)],{'waitUntil':_0x17e082['nzWNw'],'timeout':0x7530}),await _0x4f6f7f['close']();}await ensureChromeProfileShape(_0x567b03[_0x5afee7(0x276)],_0x2bbc9b);}finally{await _0x17e082['RizUS'](closeNovaHydrationBrowser,_0x162861,_0x47cc03);}const _0x55483b=await inspectNovaProfileFiles({'userDataDir':_0x567b03['userDataDir'],'browserProfilePath':_0x2bbc9b});return{'browserProfilePath':_0x2bbc9b,'cookieCount':_0x26555d['cookies']?.['length']??0x0,'promotedSessionCookieCount':_0x4cafa6,'originCount':_0x26555d['origins']?.['length']??0x0,'localStorageEntryCount':_0x5b1ded,'storageStateDiagnostics':_0x8b3c70,'profileBefore':_0x60b9b8,'profileAfter':_0x55483b};}function _0x52c7(_0x2ca407,_0x3e43e0){_0x2ca407=_0x2ca407-0x1d4;const _0x17e44a=_0x17e4();let _0x52c7e4=_0x17e44a[_0x2ca407];return _0x52c7e4;}async function launchNovaHydrationBrowser(_0x175e61){const _0x4b25bd=_0x9325e0,_0x20a783={'ScDlK':function(_0x72cfc,_0x266df9,_0xd535ef){return _0x72cfc(_0x266df9,_0xd535ef);},'vZybN':_0x4b25bd(0x21a),'UidWN':'ignore','isRbh':_0x4b25bd(0x1d8),'uxvGc':function(_0x2e3410,_0x37c8c7){return _0x2e3410(_0x37c8c7);}};await _0x20a783[_0x4b25bd(0x279)](ensureChromeProfileShape,_0x175e61['userDataDir'],_0x175e61[_0x4b25bd(0x278)]);const _0x3201e7=_0x175e61[_0x4b25bd(0x268)]??chromium[_0x4b25bd(0x268)](),_0x1e5ba8=await getAvailablePort(),_0x4ec084=[_0x4b25bd(0x205)+_0x1e5ba8,'--user-data-dir='+_0x175e61['userDataDir'],_0x20a783['vZybN'],'--window-size=1280,720','--no-first-run',_0x4b25bd(0x253)];_0x175e61['headless']&&_0x4ec084[_0x4b25bd(0x273)](_0x4b25bd(0x221));_0x4ec084[_0x4b25bd(0x273)](..._0x175e61[_0x4b25bd(0x255)]??[]);const _0x342f30=spawn(_0x3201e7,_0x4ec084,{'stdio':[_0x20a783[_0x4b25bd(0x1d7)],'pipe',_0x20a783[_0x4b25bd(0x29a)]]});try{const _0x170fe1=await _0x20a783['ScDlK'](waitForCdpEndpoint,_0x342f30,_0x1e5ba8),_0x2d452e=await chromium['connectOverCDP'](_0x170fe1);return{'browser':_0x2d452e,'process':_0x342f30};}catch(_0x1bb41c){await _0x20a783['uxvGc'](terminateNovaHydrationBrowser,_0x342f30);throw _0x1bb41c;}}async function closeNovaHydrationBrowser(_0x77aa36,_0x3aea86){try{await _0x77aa36['close']();}catch{await terminateNovaHydrationBrowser(_0x3aea86);return;}const _0x2b3e21=await waitForProcessExit(_0x3aea86,0x1388);!_0x2b3e21&&await terminateNovaHydrationBrowser(_0x3aea86);}async function terminateNovaHydrationBrowser(_0x13cd27){const _0x4bf44f=_0x9325e0,_0xe34107={'CFqJn':function(_0x5df7ca,_0x1a5682){return _0x5df7ca!==_0x1a5682;},'SRdhz':_0x4bf44f(0x292),'aWnHr':function(_0x41a54f,_0x586fb9,_0x7972d2){return _0x41a54f(_0x586fb9,_0x7972d2);},'iCzoZ':function(_0x1f6056,_0x772a51){return _0x1f6056===_0x772a51;},'kMacM':'SIGKILL'};if(_0xe34107['CFqJn'](_0x13cd27['exitCode'],null))return;try{_0x13cd27['kill'](_0xe34107[_0x4bf44f(0x295)]);}catch{}await _0xe34107['aWnHr'](waitForProcessExit,_0x13cd27,0x7d0);if(_0xe34107[_0x4bf44f(0x210)](_0x13cd27[_0x4bf44f(0x245)],null)){try{_0x13cd27[_0x4bf44f(0x248)](_0xe34107['kMacM']);}catch{}await waitForProcessExit(_0x13cd27,0x7d0);}}async function waitForCdpEndpoint(_0x443e7d,_0x1b2c92){const _0x27584b=_0x9325e0,_0x4a804e={'auTpN':function(_0x19f12a,_0x4a5f14){return _0x19f12a-_0x4a5f14;},'WscNs':function(_0x552c7a,_0x323e00){return _0x552c7a!==_0x323e00;},'iIFEj':_0x27584b(0x1f2),'HOUjy':function(_0xa5cf75,_0x52a18b){return _0xa5cf75 instanceof _0x52a18b;}},_0x442345=Date['now']();let _0x240bb6;while(_0x4a804e['auTpN'](Date['now'](),_0x442345)<NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS){if(_0x4a804e[_0x27584b(0x266)](_0x443e7d['exitCode'],null))throw new Error(_0x27584b(0x22b)+_0x443e7d['exitCode']);try{const _0x126d3f=await fetch(_0x27584b(0x262)+_0x1b2c92+'/json/version');if(_0x126d3f['ok']){const _0x1f9a8=await _0x126d3f[_0x27584b(0x264)]();if(typeof _0x1f9a8[_0x27584b(0x25c)]===_0x4a804e[_0x27584b(0x230)])return _0x1f9a8[_0x27584b(0x25c)];}}catch(_0x5c3b14){_0x240bb6=_0x5c3b14;}await delay(0x64);}const _0x221f8e=_0x4a804e[_0x27584b(0x1d6)](_0x240bb6,Error)?':\x20'+_0x240bb6[_0x27584b(0x252)]:'';throw new Error('Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP'+_0x221f8e);}async function getAvailablePort(){const _0xce466a=_0x9325e0,_0x53ae09={'SQPAf':function(_0x5914f5){return _0x5914f5();},'reYsv':_0xce466a(0x227)};return new Promise((_0x3f26e3,_0x2dcc3d)=>{const _0x25d239=_0xce466a,_0x47a5a7={'YawRu':function(_0xcb1019,_0x5bfe6f){return _0xcb1019===_0x5bfe6f;},'UKcPL':function(_0x355cb5,_0x27870f){return _0x355cb5(_0x27870f);}},_0x1ea043=_0x53ae09[_0x25d239(0x20b)](createServer);_0x1ea043['once']('error',_0x2dcc3d),_0x1ea043['listen'](0x0,_0x53ae09['reYsv'],()=>{const _0x193c36={'ucdlQ':function(_0x470d71,_0x3f5645){const _0x24a1d8=_0x52c7;return _0x47a5a7[_0x24a1d8(0x1e9)](_0x470d71,_0x3f5645);},'cGOBS':function(_0x309cf0,_0x5a9cb9){const _0x49ab1b=_0x52c7;return _0x47a5a7[_0x49ab1b(0x23f)](_0x309cf0,_0x5a9cb9);},'xTUdI':function(_0x431e42,_0x484337){return _0x431e42(_0x484337);}},_0x3924e8=_0x1ea043['address']();_0x1ea043['close'](_0x3408da=>{const _0xbd9828=_0x52c7;if(_0x3408da){_0x2dcc3d(_0x3408da);return;}if(_0x193c36[_0xbd9828(0x271)](typeof _0x3924e8,'object')&&_0x3924e8?.['port']){_0x193c36['cGOBS'](_0x3f26e3,_0x3924e8[_0xbd9828(0x25b)]);return;}_0x193c36['xTUdI'](_0x2dcc3d,new Error('Failed\x20to\x20allocate\x20hydration\x20browser\x20port'));});});});}async function waitForProcessExit(_0xaa6f7f,_0x1620e9){const _0x2bd2fd=_0x9325e0,_0x4f088={'qKgXS':function(_0x319aa4){return _0x319aa4();},'baPvS':function(_0x42f627,_0x2a754f){return _0x42f627(_0x2a754f);},'fKKbs':function(_0x3e09d0,_0x2ed474){return _0x3e09d0(_0x2ed474);},'UMnQE':function(_0xbbd31c,_0x349fe6,_0x21f8ad){return _0xbbd31c(_0x349fe6,_0x21f8ad);},'pOHSx':function(_0x113524,_0x560663){return _0x113524!==_0x560663;}};if(_0x4f088[_0x2bd2fd(0x285)](_0xaa6f7f[_0x2bd2fd(0x245)],null))return!![];return new Promise(_0x41dfe4=>{const _0x5c1e45=_0x2bd2fd,_0x5c1c63={'iGqHH':function(_0x446a03,_0x19f44d){return _0x446a03(_0x19f44d);},'iyIgE':function(_0x3520b1,_0x3efe48){const _0x31a0b8=_0x52c7;return _0x4f088[_0x31a0b8(0x1fb)](_0x3520b1,_0x3efe48);}},_0x4ad704=_0x4f088[_0x5c1e45(0x256)](setTimeout,()=>{const _0x363abe=_0x5c1e45;_0x4f088[_0x363abe(0x28a)](_0x16ac7d),_0x4f088['baPvS'](_0x41dfe4,![]);},_0x1620e9),_0x2c988e=()=>{_0x16ac7d(),_0x5c1c63['iGqHH'](_0x41dfe4,!![]);},_0x16ac7d=()=>{_0x5c1c63['iyIgE'](clearTimeout,_0x4ad704),_0xaa6f7f['off']('exit',_0x2c988e);};_0xaa6f7f[_0x5c1e45(0x200)](_0x5c1e45(0x29d),_0x2c988e);});}async function delay(_0x1d2ebd){await new Promise(_0x3f5145=>setTimeout(_0x3f5145,_0x1d2ebd));}async function ensureChromeProfileShape(_0x51d452,_0x374865){const _0x461461=_0x9325e0,_0x3160f0={'cYWkk':function(_0x4ad3d2,_0x11061a,_0x5a1fa3){return _0x4ad3d2(_0x11061a,_0x5a1fa3);},'VpKce':function(_0x57efb3,_0x2f0d4a){return _0x57efb3(_0x2f0d4a);},'DepGO':'Local\x20State'};await _0x3160f0['cYWkk'](mkdir,_0x374865,{'recursive':!![]}),await _0x3160f0[_0x461461(0x272)](ensureJsonFile,join(_0x51d452,_0x3160f0[_0x461461(0x1f9)])),await ensureJsonFile(join(_0x374865,_0x461461(0x1fe)));}async function ensureJsonFile(_0x2b9778){const _0x569ae8=_0x9325e0,_0x5d6dc4={'BzBld':function(_0x1c929a,_0x48edfd,_0x26d280,_0xc2c92){return _0x1c929a(_0x48edfd,_0x26d280,_0xc2c92);},'HNwog':'utf-8'};try{await access(_0x2b9778);}catch{await _0x5d6dc4['BzBld'](writeFile,_0x2b9778,'{}',_0x5d6dc4[_0x569ae8(0x286)]);}}export function previewNovaActCliCommand(_0x3a44aa){return truncatePreview(_0x3a44aa);}
1
+ const _0x2c26de=_0x5373;(function(_0x3e5be0,_0x35ff64){const _0x225457=_0x5373,_0x36db85=_0x3e5be0();while(!![]){try{const _0x54a50f=parseInt(_0x225457(0x133))/0x1+parseInt(_0x225457(0x16f))/0x2*(-parseInt(_0x225457(0x185))/0x3)+parseInt(_0x225457(0x10e))/0x4*(-parseInt(_0x225457(0x17a))/0x5)+parseInt(_0x225457(0x105))/0x6+-parseInt(_0x225457(0x119))/0x7+parseInt(_0x225457(0x13e))/0x8+-parseInt(_0x225457(0x128))/0x9*(-parseInt(_0x225457(0x169))/0xa);if(_0x54a50f===_0x35ff64)break;else _0x36db85['push'](_0x36db85['shift']());}catch(_0x5eabd3){_0x36db85['push'](_0x36db85['shift']());}}}(_0x47f2,0xb3adc));import{spawn}from'child_process';import{createHash}from'crypto';import{access,chmod,mkdir,readFile,readdir,stat,writeFile}from'fs/promises';import{createServer}from'net';import{delimiter,dirname,isAbsolute,join}from'path';import{homedir}from'os';import{chromium}from'playwright';import{quoteShellArg}from'./playwrightCli.js';function _0x5373(_0x51e8ce,_0x3d8aea){_0x51e8ce=_0x51e8ce-0xd9;const _0x47f280=_0x47f2();let _0x5373b1=_0x47f280[_0x51e8ce];return _0x5373b1;}export const NOVA_ACT_CLI_BINARY=_0x2c26de(0x170);function _0x47f2(){const _0x6660df=['map','session','code','ZNLVu','match','4073916YCrZPg','yTdtL','once','utf-8','bnHsT','pjQxt','sort','WpWPc','RPUex','XHYKC','json','BJKDp','BFtih','127.0.0.1','wqDPR','432891kpDEQg','zBYLY','dNNdG','install','userDataDir','sWKvl','contexts','toString','oFFls','size','cookies','509929IJVBUs','\x0astderr:\x20','mqhtk','GRPnl','uzfoR','origins','tdLUJ','timedOut','Muqzf','set','OQhaz','8762392BKERdL','RbfTj','parse','filter','kill','LSLOM','fix','data','entries','oQrEy','For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20','push','ZowuP','slice','rqwpl','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','stdout','iTUGy','message','nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`','stderr:\x20','FapuO','fxaMD','domain','nova-act-cli\x20','sha256','gGALj','commandArgs','--headless','Installed\x20','find','cdpEndpoint','timeoutMs','rg-','SWujV','SFUSv','bQDyf','ZxxLm','now','webSocketDebuggerUrl','digest','YHzzJ','--help','250BAJKyt','YUHuG','ICdwK','stdout:\x20','VjidG','baseUrl','978BGMdNv','act','error','uUMcr','BKJZp','oQeoh','addCookies','wOvwC','--version','add','storageStatePath','4933840igbdWi','ZmmQi','kzzlB','SIGTERM','Rkzsp','logs_directory','args','unknown','act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code=','MHtji','dKpYg','5835RvkPvk','qLCCM','connectOverCDP','domcontentloaded','isDirectory','AtoVw','XITwy','length','--json','wLLVq','origin','exitCode','--profile-directory=Default','vPeTC','qJhFi','name','IqntE','stderr','--user-data-dir=','dLWBX','setItem','ignore','exited\x20with\x20code=','export','...','\x20browser\x20\x22$@\x22\x20','Local\x20State','--launch-arg=','yPqtx','DWCnb','localeCompare','executablePath','update','mtimeMs','SkEkF','browserCommandPath','browserProfilePath','ZQrKJ','AWsAG','SIGKILL','hex','split','timed\x20out\x20after\x20','launchArgs','env','localStorage','JeWPC','null','IKkfp','string','fail','Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20','expires','status','logDir','GSunN','Preferences','--no-first-run','has','bypqP','PZFtW','bdARd','PATH','2688732uzCVZI','tWlIa','pipe','nova-act[cli]','join','RKPKm','Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP','close','KtNUk','4iVUoYl','exit','checks','log_dir','--browser-profile-path','newPage'];_0x47f2=function(){return _0x6660df;};return _0x47f2();}export const NOVA_ACT_CLI_UV_PACKAGE=_0x2c26de(0x108);const NOVA_ACT_CLI_PREVIEW_LIMIT=0xf0,NOVA_ACT_BOOTSTRAP_TIMEOUT_MS=0x2bf20,NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS=0x3a98,NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS=0x7*0x18*0x3c*0x3c;export function toNovaActCliSessionId(_0xf385e){const _0x35361b=_0x2c26de,_0x4d2f2e={'HXTts':_0x35361b(0xee)},_0x4aba9b=createHash(_0x35361b(0x157))[_0x35361b(0xe6)](_0xf385e)[_0x35361b(0x166)](_0x4d2f2e['HXTts'])[_0x35361b(0x14b)](0x0,0xc);return _0x35361b(0x15f)+_0x4aba9b;}export async function inspectNovaStorageStateFile(_0x3769bb){const _0x39fd6e=_0x2c26de,_0xf0f35d={'KfWUk':function(_0x2d21cc,_0x5b63b6){return _0x2d21cc(_0x5b63b6);},'KrIAq':_0x39fd6e(0x11c),'MHtji':_0x39fd6e(0x157),'PZFtW':function(_0x56cba8,_0x3681b3){return _0x56cba8 instanceof _0x3681b3;}};try{const [_0x3499b6,_0x4e450e]=await Promise['all']([_0xf0f35d['KfWUk'](stat,_0x3769bb),readFile(_0x3769bb,_0xf0f35d['KrIAq'])]),_0x40eeb8={'path':_0x3769bb,'exists':!![],'byteLength':Buffer['byteLength'](_0x4e450e),'sha256':createHash(_0xf0f35d[_0x39fd6e(0x183)])['update'](_0x4e450e)['digest'](_0x39fd6e(0xee))};try{const _0x51b08e=JSON['parse'](_0x4e450e),_0x34bf45=_0x51b08e[_0x39fd6e(0x132)]??[],_0x138baf=Math['floor'](Date[_0x39fd6e(0x164)]()/0x3e8),_0x4e5323=new Map();for(const _0x1a8c25 of _0x34bf45){const _0x199e78=_0x4e5323['get'](_0x1a8c25[_0x39fd6e(0x155)])??[];_0x199e78[_0x39fd6e(0x149)](_0x1a8c25['name']),_0x4e5323[_0x39fd6e(0x13c)](_0x1a8c25['domain'],_0x199e78);}return{..._0x40eeb8,'byteLength':_0x3499b6[_0x39fd6e(0x131)],'cookieCount':_0x34bf45['length'],'cookieDomains':[..._0x4e5323[_0x39fd6e(0x146)]()]['sort'](([_0xb20b69],[_0x3cae4e])=>_0xb20b69[_0x39fd6e(0xe4)](_0x3cae4e))['map'](([_0x2878bd,_0x1078be])=>({'domain':_0x2878bd,'count':_0x1078be[_0x39fd6e(0x18c)],'names':_0x1078be[_0x39fd6e(0x11f)]()[_0x39fd6e(0x14b)](0x0,0x19)})),'httpOnlyCookieCount':_0x34bf45['filter'](_0x41a8e8=>_0x41a8e8['httpOnly'])['length'],'secureCookieCount':_0x34bf45[_0x39fd6e(0x141)](_0x1fc8b3=>_0x1fc8b3['secure'])['length'],'sessionCookieCount':_0x34bf45['filter'](_0x3d9235=>_0x3d9235[_0x39fd6e(0xfa)]===-0x1)[_0x39fd6e(0x18c)],'expiredCookieCount':_0x34bf45['filter'](_0x2c7a35=>typeof _0x2c7a35['expires']==='number'&&_0x2c7a35['expires']>0x0&&_0x2c7a35['expires']<_0x138baf)[_0x39fd6e(0x18c)],'originCount':_0x51b08e[_0x39fd6e(0x138)]?.['length']??0x0,'origins':(_0x51b08e['origins']??[])['map'](_0x44e5ad=>({'origin':_0x44e5ad[_0x39fd6e(0x18f)],'localStorageCount':_0x44e5ad['localStorage']?.['length']??0x0,'localStorageKeys':_0x44e5ad['localStorage']?.[_0x39fd6e(0x114)](_0x2964d9=>_0x2964d9[_0x39fd6e(0x194)])[_0x39fd6e(0x11f)]()['slice'](0x0,0x19)??[]}))};}catch(_0x477a8f){return{..._0x40eeb8,'byteLength':_0x3499b6[_0x39fd6e(0x131)],'parseError':_0xf0f35d['PZFtW'](_0x477a8f,Error)?_0x477a8f[_0x39fd6e(0x150)]:String(_0x477a8f)};}}catch(_0x287a56){return{'path':_0x3769bb,'exists':![],'readError':_0xf0f35d[_0x39fd6e(0x102)](_0x287a56,Error)?_0x287a56[_0x39fd6e(0x150)]:_0xf0f35d['KfWUk'](String,_0x287a56)};}}export async function inspectNovaProfileFiles(_0x3fedc0){const _0x5d7862=_0x2c26de,_0xc12dc={'qFksg':function(_0x32a94c,_0x30332e,_0x430cc9){return _0x32a94c(_0x30332e,_0x430cc9);},'bJFOP':_0x5d7862(0xfe),'ZxxLm':'Cookies','uUMcr':function(_0x3b1605,_0x3134e6,_0x22e583,_0x4e2729){return _0x3b1605(_0x3134e6,_0x22e583,_0x4e2729);},'BKJZp':'Network','Muqzf':'Local\x20Storage','AuTka':function(_0x2931c1,_0x10afc6,_0x5a5fb3){return _0x2931c1(_0x10afc6,_0x5a5fb3);},'oFFls':'leveldb','cundn':function(_0x1d0822,_0xb75c63){return _0x1d0822(_0xb75c63);},'sBriJ':function(_0x13d977,_0x3d3329){return _0x13d977(_0x3d3329);},'iTUGy':function(_0x32b352,_0x564e16){return _0x32b352(_0x564e16);},'Rkzsp':function(_0x1a8b0c,_0x1e7b1c){return _0x1a8b0c(_0x1e7b1c);},'tWbvx':function(_0x5318f5,_0x1e4064){return _0x5318f5(_0x1e4064);}},_0x348316=_0xc12dc['qFksg'](join,_0x3fedc0[_0x5d7862(0x12c)],'Local\x20State'),_0x378d42=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc['bJFOP']),_0x2f895b=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x163)]),_0x407f12=_0xc12dc[_0x5d7862(0x172)](join,_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x173)],'Cookies'),_0x316ee2=join(_0x3fedc0[_0x5d7862(0xea)],_0xc12dc[_0x5d7862(0x13b)]),_0x24424e=_0xc12dc['AuTka'](join,_0x316ee2,_0xc12dc[_0x5d7862(0x130)]),[_0x43d82c,_0x10e00a,_0x36f47e,_0x173c47,_0x1044a4,_0x3cf66d,_0x1bfbd3,_0x3abe72,_0x472589,_0x31ebc2,_0x2cf784]=await Promise['all']([inspectPath(_0x3fedc0[_0x5d7862(0x12c)]),inspectPath(_0x3fedc0['browserProfilePath']),inspectPath(_0x348316),inspectPath(_0x378d42),_0xc12dc['cundn'](inspectPath,_0x2f895b),inspectPath(_0x407f12),_0xc12dc['sBriJ'](inspectPath,_0x316ee2),_0xc12dc[_0x5d7862(0x14f)](inspectPath,_0x24424e),_0xc12dc[_0x5d7862(0x17e)](listDir,_0x3fedc0['userDataDir']),listDir(_0x3fedc0['browserProfilePath']),_0xc12dc['tWbvx'](listDir,_0x24424e)]);return{'userDataDir':_0x3fedc0['userDataDir'],'browserProfilePath':_0x3fedc0[_0x5d7862(0xea)],'rootEntries':_0x472589,'defaultEntries':_0x31ebc2,'localStorageEntries':_0x2cf784,'paths':{'userDataDir':_0x43d82c,'browserProfilePath':_0x10e00a,'localState':_0x36f47e,'preferences':_0x173c47,'cookies':_0x1044a4,'networkCookies':_0x3cf66d,'localStorage':_0x1bfbd3,'levelDb':_0x3abe72}};}async function inspectPath(_0x7e310c){const _0x366287=_0x2c26de,_0x4a0f6b={'kZMfI':function(_0x1d14ff,_0x58871c){return _0x1d14ff(_0x58871c);}};try{const _0x5d45f4=await _0x4a0f6b['kZMfI'](stat,_0x7e310c);return{'path':_0x7e310c,'exists':!![],'isDirectory':_0x5d45f4[_0x366287(0x189)](),'byteLength':_0x5d45f4['isFile']()?_0x5d45f4['size']:undefined,'mtimeMs':_0x5d45f4[_0x366287(0xe7)]};}catch(_0x5aa0ed){return{'path':_0x7e310c,'exists':![],'error':_0x5aa0ed instanceof Error?_0x5aa0ed[_0x366287(0x150)]:String(_0x5aa0ed)};}}async function listDir(_0x17f06d){const _0x79e424=_0x2c26de,_0x5e5946={'YKRKQ':function(_0x519ee3,_0x3ec6f3){return _0x519ee3(_0x3ec6f3);}};try{return(await _0x5e5946['YKRKQ'](readdir,_0x17f06d))[_0x79e424(0x11f)]()[_0x79e424(0x14b)](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x49a714,_0x133657=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x1cb13c=_0x2c26de;return _0x49a714[_0x1cb13c(0x18c)]>_0x133657?_0x49a714[_0x1cb13c(0x14b)](0x0,_0x133657)+'...':_0x49a714;}function truncateOutput(_0x48886d,_0x55f961=0x7d0){const _0x1169f6=_0x2c26de,_0x110cb2={'ZowuP':function(_0x1b0857,_0x334929){return _0x1b0857>_0x334929;},'HZdUT':_0x1169f6(0xde)};return _0x110cb2[_0x1169f6(0x14a)](_0x48886d['length'],_0x55f961)?_0x48886d[_0x1169f6(0x14b)](0x0,_0x55f961)+_0x110cb2['HZdUT']:_0x48886d;}function getNovaActCliBinDirs(_0x93f026){const _0x3eb040=_0x2c26de,_0x4c8963={'wLLVq':'/opt/homebrew/bin'};return[_0x93f026['UV_TOOL_BIN_DIR'],homedir()+'/.local/bin',_0x4c8963[_0x3eb040(0x18e)],'/usr/local/bin'][_0x3eb040(0x141)](_0x4b91ef=>Boolean(_0x4b91ef));}function buildPathWithNovaActCliBins(_0x4495e9){const _0x77ab1c=_0x2c26de,_0x5602bc={'AEbnn':function(_0x2f11ff,_0x14861b){return _0x2f11ff(_0x14861b);}},_0x5ddcbc=new Set(),_0x63fcc2=[..._0x5602bc['AEbnn'](getNovaActCliBinDirs,_0x4495e9),...(_0x4495e9[_0x77ab1c(0x104)]??'')[_0x77ab1c(0xef)](delimiter)]['filter'](_0x4b92d3=>{const _0x38a4cf=_0x77ab1c;if(!_0x4b92d3||_0x5ddcbc[_0x38a4cf(0x100)](_0x4b92d3))return![];return _0x5ddcbc[_0x38a4cf(0x178)](_0x4b92d3),!![];});return _0x63fcc2['join'](delimiter);}export function applyNovaActCliPath(_0x2e3540){_0x2e3540['PATH']=buildPathWithNovaActCliBins(_0x2e3540);}function withNovaActCliPath(_0x549a15){return{..._0x549a15,'PATH':buildPathWithNovaActCliBins(_0x549a15)};}function runBootstrapCommand(_0x508802){const _0x325385={'dLWBX':function(_0x4eae61,_0x1e9487){return _0x4eae61===_0x1e9487;},'LSLOM':function(_0x1c6387,_0x39b60e){return _0x1c6387??_0x39b60e;},'RbfTj':function(_0x45a432,_0x2a80a6){return _0x45a432(_0x2a80a6);},'qlwHt':function(_0x165eda,_0x2f1d8e,_0x578da6){return _0x165eda(_0x2f1d8e,_0x578da6);},'bpDoJ':'data','hFCJb':'close'},{command:_0x2888b8,args:_0x51727e,env:_0x5705f2,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x508802;return new Promise((_0x18ef9b,_0x5b0164)=>{const _0x13f232=_0x5373,_0x28f83e={'sEUAI':'SIGKILL','UajJy':function(_0x4e503a,_0x4b8d85,_0x85bd9){return _0x4e503a(_0x4b8d85,_0x85bd9);}},_0x17895a=spawn(_0x2888b8,_0x51727e,{'env':_0x5705f2,'stdio':['ignore',_0x13f232(0x107),_0x13f232(0x107)]});let _0x60aaf4='',_0x15bf4d='',_0xc6815c=![];const _0x2e393b=_0x325385['qlwHt'](setTimeout,()=>{const _0x228f2b=_0x13f232;_0xc6815c=!![],_0x17895a['kill'](_0x228f2b(0x17d)),_0x28f83e['UajJy'](setTimeout,()=>{try{_0x17895a['kill'](_0x28f83e['sEUAI']);}catch{}},0x3e8);},timeoutMs);_0x17895a['stdout']?.['on'](_0x325385['bpDoJ'],_0x211c51=>{const _0x1391cb=_0x13f232;_0x60aaf4+=_0x211c51[_0x1391cb(0x12f)]();}),_0x17895a['stderr']?.['on'](_0x13f232(0x145),_0x5704d7=>{const _0x4b2c8a=_0x13f232;_0x15bf4d+=_0x5704d7[_0x4b2c8a(0x12f)]();}),_0x17895a['on'](_0x13f232(0x171),_0x3fbc21=>{clearTimeout(_0x2e393b),_0x5b0164(_0x3fbc21);}),_0x17895a['on'](_0x325385['hFCJb'],(_0x12639f,_0x3c8a1d)=>{const _0x548f8a=_0x13f232;clearTimeout(_0x2e393b);if(_0x325385[_0x548f8a(0xd9)](_0x12639f,0x0)){_0x18ef9b({'stdout':_0x60aaf4,'stderr':_0x15bf4d});return;}const _0x3534cf=_0xc6815c?_0x548f8a(0xf0)+timeoutMs+'ms':'exited\x20with\x20code='+_0x325385[_0x548f8a(0x143)](_0x12639f,'null')+'\x20signal='+(_0x3c8a1d??_0x548f8a(0xf5));_0x325385[_0x548f8a(0x13f)](_0x5b0164,new Error(_0x2888b8+'\x20'+_0x51727e[_0x548f8a(0x109)]('\x20')+'\x20'+_0x3534cf+'\x0astdout:\x20'+_0x325385[_0x548f8a(0x13f)](truncateOutput,_0x60aaf4)+_0x548f8a(0x134)+_0x325385['RbfTj'](truncateOutput,_0x15bf4d)));});});}function runCommandAllowFailure(_0x5a64b3){const _0x21a751=_0x2c26de,_0x1e379a={'FapuO':function(_0x1eb045,_0x3a7d39){return _0x1eb045(_0x3a7d39);},'rqwpl':_0x21a751(0xdb),'kzzlB':'pipe','AsGob':'error','JlHgA':'close'},{command:_0x1c040a,args:_0x478e7e,env:_0x54e3b4,timeoutMs:_0x2cabd3}=_0x5a64b3;return new Promise((_0x128fb8,_0x387e5e)=>{const _0x22e11c=_0x21a751,_0x2c420a={'uwTuD':function(_0x13acd9,_0x598c44){return _0x13acd9(_0x598c44);}},_0x1a12e0=spawn(_0x1c040a,_0x478e7e,{'env':_0x54e3b4,'stdio':[_0x1e379a[_0x22e11c(0x14c)],_0x1e379a[_0x22e11c(0x17c)],_0x1e379a[_0x22e11c(0x17c)]]});let _0x247c19='',_0x16117a='',_0x557bb1=![];const _0x2986db=setTimeout(()=>{const _0x1c4271=_0x22e11c;_0x557bb1=!![],_0x1a12e0['kill'](_0x1c4271(0x17d)),setTimeout(()=>{try{_0x1a12e0['kill']('SIGKILL');}catch{}},0x3e8);},_0x2cabd3);_0x1a12e0['stdout']?.['on'](_0x22e11c(0x145),_0x133779=>{_0x247c19+=_0x133779['toString']();}),_0x1a12e0['stderr']?.['on'](_0x22e11c(0x145),_0x1c482b=>{const _0x16bf4a=_0x22e11c;_0x16117a+=_0x1c482b[_0x16bf4a(0x12f)]();}),_0x1a12e0['on'](_0x1e379a['AsGob'],_0x1cc6de=>{const _0x542f56=_0x22e11c;_0x1e379a['FapuO'](clearTimeout,_0x2986db),_0x1e379a[_0x542f56(0x153)](_0x387e5e,_0x1cc6de);}),_0x1a12e0['on'](_0x1e379a['JlHgA'],(_0x295003,_0x5ad38f)=>{_0x2c420a['uwTuD'](clearTimeout,_0x2986db),_0x128fb8({'code':_0x295003,'signal':_0x5ad38f,'stdout':_0x247c19,'stderr':_0x16117a,'timedOut':_0x557bb1});});});}async function resolveActPath(_0x40695e){const _0x209f50=_0x2c26de,_0x29cae3={'bCFpl':function(_0x54997e,_0x5dc61e){return _0x54997e(_0x5dc61e);}},_0x4f6c99=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x40695e['PATH']??'')[_0x209f50(0xef)](delimiter)['filter'](Boolean)['map'](_0x11ec4c=>join(_0x11ec4c,NOVA_ACT_CLI_BINARY));for(const _0x537716 of _0x4f6c99){try{return await _0x29cae3['bCFpl'](access,_0x537716),_0x537716;}catch{}}return null;}async function checkNovaActCli(_0x4ce894){const _0x351bc4=_0x2c26de,_0xf356bf={'vPeTC':function(_0xa7c9c0,_0x2735f7){return _0xa7c9c0(_0x2735f7);},'kRgTp':_0x351bc4(0x168)};try{return await _0xf356bf[_0x351bc4(0x192)](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0xf356bf['kRgTp']],'env':_0x4ce894,'timeoutMs':0x7530}),await resolveActPath(_0x4ce894)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0x30150f={}){const _0x47f5db=_0x2c26de,_0x21c710={'tWlIa':function(_0x53f1cb,_0x156b47){return _0x53f1cb(_0x156b47);},'RKPKm':_0x47f5db(0x177),'ySGtl':function(_0x42c160,_0x3a7185){return _0x42c160 instanceof _0x3a7185;},'mqhtk':function(_0x19272d,_0x47fc87){return _0x19272d(_0x47fc87);},'AtoVw':function(_0x43c410,_0x5b0882){return _0x43c410(_0x5b0882);}},_0x1b14ad=_0x21c710['tWlIa'](withNovaActCliPath,_0x30150f['env']??process['env']),_0x42d3d5=await checkNovaActCli(_0x1b14ad);if(_0x42d3d5)return{'installed':![],'actPath':_0x42d3d5,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await _0x21c710[_0x47f5db(0x106)](runBootstrapCommand,{'command':'uv','args':[_0x21c710[_0x47f5db(0x10a)]],'env':_0x1b14ad,'timeoutMs':0x7530});}catch(_0x1a3628){throw new Error(_0x47f5db(0x151)+NOVA_ACT_CLI_BINARY+'`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22'+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x21c710['ySGtl'](_0x1a3628,Error)?_0x1a3628['message']:_0x21c710[_0x47f5db(0x106)](String,_0x1a3628)));}const _0x1564cf=await _0x21c710[_0x47f5db(0x135)](runBootstrapCommand,{'command':'uv','args':['tool',_0x47f5db(0x12b),NOVA_ACT_CLI_UV_PACKAGE],'env':_0x1b14ad,'timeoutMs':_0x30150f['timeoutMs']??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x212857=await _0x21c710['tWlIa'](checkNovaActCli,_0x1b14ad);if(!_0x212857)throw new Error(_0x47f5db(0x15b)+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x47f5db(0x14d)+_0x21c710['AtoVw'](getNovaActCliBinDirs,_0x1b14ad)[_0x47f5db(0x109)](',\x20')+'\x20is\x20on\x20PATH.\x0astdout:\x20'+_0x21c710[_0x47f5db(0x18a)](truncateOutput,_0x1564cf['stdout'])+_0x47f5db(0x134)+_0x21c710['tWlIa'](truncateOutput,_0x1564cf[_0x47f5db(0x196)]));return{'installed':!![],'actPath':_0x212857,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x1564cf[_0x47f5db(0x14e)],'stderr':_0x1564cf[_0x47f5db(0x196)]};}function parseNovaActDoctorOutput(_0x367b4a){try{return JSON['parse'](_0x367b4a);}catch{return null;}}function buildNovaActCliPreflightError(_0x5e4761){const _0x665ac=_0x2c26de,_0x21b963={'YUHuG':function(_0x338a7f,_0x58345f){return _0x338a7f??_0x58345f;},'sWKvl':'null','lJFfh':function(_0x7e998c,_0x346eae){return _0x7e998c(_0x346eae);},'oQeoh':function(_0x27ab55,_0x942eeb){return _0x27ab55(_0x942eeb);},'ZNLVu':'Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.','APPNy':'Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.'},{checks:_0x30a630,stdout:_0x3f0966,stderr:_0x23150f,env:_0x4f4d01,code:_0x1897dd,signal:_0x3f2614,timedOut:_0x48d624}=_0x5e4761,_0x4c2c0d=_0x30a630['filter'](_0x5f37e6=>_0x5f37e6[_0x665ac(0xfb)]===_0x665ac(0xf8)),_0x2dab2f=_0x4c2c0d['length']>0x0?_0x4c2c0d[_0x665ac(0x114)](_0x30d695=>{const _0x145dc6=_0x665ac,_0x3e6747=_0x30d695[_0x145dc6(0x144)]?'\x20Fix:\x20'+_0x30d695[_0x145dc6(0x144)]:'';return'-\x20'+_0x30d695[_0x145dc6(0x194)]+':\x20'+_0x30d695['message']+'.'+_0x3e6747;})[_0x665ac(0x109)]('\x0a'):[_0x48d624?'act\x20browser\x20doctor\x20--json\x20timed\x20out':_0x665ac(0x182)+_0x21b963[_0x665ac(0x16a)](_0x1897dd,_0x21b963[_0x665ac(0x12d)])+'\x20signal='+(_0x3f2614??_0x21b963[_0x665ac(0x12d)]),_0x3f0966?_0x665ac(0x16c)+_0x21b963['lJFfh'](truncateOutput,_0x3f0966):'',_0x23150f?_0x665ac(0x152)+_0x21b963[_0x665ac(0x174)](truncateOutput,_0x23150f):''][_0x665ac(0x141)](Boolean)['join']('\x0a'),_0x56473b=_0x4f4d01['AWS_PROFILE']?.['trim'](),_0x1e644a=_0x56473b?_0x665ac(0x148)+_0x56473b:'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>';return new Error([_0x21b963[_0x665ac(0x117)],_0x2dab2f,_0x21b963['APPNy'],_0x1e644a][_0x665ac(0x109)]('\x0a'));}export async function preflightNovaActCli(_0x116ea9={}){const _0x411499=_0x2c26de,_0x4c8123={'eiGtU':'doctor','jjRnP':'--json','SFUSv':function(_0x34591f,_0x10c5a9){return _0x34591f!==_0x10c5a9;},'cKCLL':function(_0x56a8bc,_0x2c39e5){return _0x56a8bc(_0x2c39e5);}},_0x2480af=withNovaActCliPath(_0x116ea9[_0x411499(0xf2)]??process['env']),_0x5630f2=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0x4c8123['eiGtU'],_0x4c8123['jjRnP']],'env':_0x2480af,'timeoutMs':_0x116ea9['timeoutMs']??0x7530}),_0x520542=parseNovaActDoctorOutput(_0x5630f2['stdout']),_0x4270b3=_0x520542?.['data']?.[_0x411499(0x110)]??[],_0x7fc39=_0x4270b3['some'](_0x207408=>_0x207408['status']==='fail');if(_0x4c8123[_0x411499(0x161)](_0x5630f2[_0x411499(0x116)],0x0)||_0x5630f2['timedOut']||_0x7fc39)throw _0x4c8123['cKCLL'](buildNovaActCliPreflightError,{'checks':_0x4270b3,'stdout':_0x5630f2['stdout'],'stderr':_0x5630f2[_0x411499(0x196)],'env':_0x2480af,'code':_0x5630f2['code'],'signal':_0x5630f2['signal'],'timedOut':_0x5630f2[_0x411499(0x13a)]});return{'checks':_0x4270b3,'logDir':_0x520542?.[_0x411499(0x111)]??_0x520542?.[_0x411499(0xfc)]};}function getNovaActCliSubcommand(_0x6c8747){const _0x53f29c=_0x2c26de,[_0x27391f=_0x53f29c(0x181),_0xb5cc82]=_0x6c8747;return _0x27391f===_0x53f29c(0x115)&&_0xb5cc82?_0x27391f+'\x20'+_0xb5cc82:_0x27391f;}function supportsBrowserSessionOptions(_0x5d9cff){const _0xee627a=_0x2c26de,_0x1ebe9a={'wqDPR':function(_0x2922cc,_0x1d068a){return _0x2922cc===_0x1d068a;},'ZykTh':function(_0xfca887,_0x4f4a39){return _0xfca887===_0x4f4a39;},'wwfek':'export','JeWPC':_0xee627a(0x10c)};return!(_0x1ebe9a[_0xee627a(0x127)](_0x5d9cff[0x0],'session')&&(_0x1ebe9a['ZykTh'](_0x5d9cff[0x1],_0x1ebe9a['wwfek'])||_0x5d9cff[0x1]===_0x1ebe9a[_0xee627a(0xf4)]));}function buildSharedArgs(_0x450e9c,_0xfd6aa0){const _0x5677ec=_0x2c26de,_0x2a8cd6={'mtoVE':'--session-id','bQDyf':_0x5677ec(0x18d),'OQhaz':function(_0x54493c,_0xefa942){return _0x54493c(_0xefa942);},'fxaMD':'--quiet','rqeMQ':'--headed','ONupY':'--cdp'},_0x595f=[_0x2a8cd6['mtoVE'],_0x450e9c['sessionId'],_0x2a8cd6[_0x5677ec(0x162)]];if(_0x2a8cd6[_0x5677ec(0x13d)](supportsBrowserSessionOptions,_0xfd6aa0)){_0x595f[_0x5677ec(0x149)](_0x2a8cd6[_0x5677ec(0x154)]),_0x595f['push'](_0x450e9c['headless']?_0x5677ec(0x15a):_0x2a8cd6['rqeMQ']);_0x450e9c[_0x5677ec(0xea)]&&_0x595f['push'](_0x5677ec(0x112),_0x450e9c[_0x5677ec(0xea)]);_0x450e9c[_0x5677ec(0xe5)]&&_0x595f[_0x5677ec(0x149)]('--executable-path',_0x450e9c[_0x5677ec(0xe5)]);_0x450e9c['cdpEndpoint']&&_0x595f['push'](_0x2a8cd6['ONupY'],_0x450e9c[_0x5677ec(0x15d)]);for(const _0x23640c of _0x450e9c[_0x5677ec(0xf1)]??[]){_0x595f['push'](_0x5677ec(0xe1)+_0x23640c);}}return _0x595f;}export function buildNovaActCliInvocation(_0x22b9b0,_0x5e89d4){const _0x55e04d=_0x2c26de,_0xdf0b49={'SWujV':function(_0x464b4b,_0x292b86,_0x22adfd){return _0x464b4b(_0x292b86,_0x22adfd);},'SkEkF':'browser'},_0x4fa471=_0xdf0b49[_0x55e04d(0x160)](buildSharedArgs,_0x22b9b0,_0x5e89d4),_0xf6edb9=[_0xdf0b49[_0x55e04d(0xe8)],..._0x5e89d4,..._0x4fa471];return{'command':NOVA_ACT_CLI_BINARY,'args':_0xf6edb9,'shellCommand':[NOVA_ACT_CLI_BINARY,_0xdf0b49[_0x55e04d(0xe8)],..._0x5e89d4['map'](quoteShellArg),..._0x4fa471[_0x55e04d(0x114)](quoteShellArg)]['join']('\x20'),'subcommand':getNovaActCliSubcommand(_0x5e89d4)};}export function buildNovaActCliCommandPrefix(){return NOVA_ACT_CLI_BINARY+'\x20browser';}export function buildNovaActCliBrowserWrapperPath(_0x75ac47){const _0x495d11=_0x2c26de,_0xd56914={'bnHsT':function(_0x4e7ce1,_0xe33c00,_0x531e37){return _0x4e7ce1(_0xe33c00,_0x531e37);},'WpWPc':'nova-act-browser'};return _0xd56914[_0x495d11(0x11d)](join,dirname(_0x75ac47[_0x495d11(0x12c)]),_0xd56914[_0x495d11(0x120)]);}export async function writeNovaActCliBrowserWrapper(_0x3b1a4f){const _0x2f3002=_0x2c26de,_0x472c23={'KtNUk':function(_0x28cafb,_0x5411c3,_0x3af4b1){return _0x28cafb(_0x5411c3,_0x3af4b1);},'qLCCM':_0x2f3002(0xdd),'zBYLY':function(_0x33547e,_0xffae27){return _0x33547e(_0xffae27);},'XITwy':function(_0x7fca43,_0x5ce338,_0x2527e9,_0x4124fb){return _0x7fca43(_0x5ce338,_0x2527e9,_0x4124fb);},'lnrqJ':function(_0x37c9e3,_0x1e0865){return _0x37c9e3(_0x1e0865);}},_0xbeb8a2=_0x3b1a4f[_0x2f3002(0xe9)]??buildNovaActCliBrowserWrapperPath(_0x3b1a4f),_0x3c7689=_0x472c23[_0x2f3002(0x10d)](buildSharedArgs,_0x3b1a4f,['execute'])['map'](quoteShellArg)['join']('\x20'),_0xb7375e=buildSharedArgs(_0x3b1a4f,[_0x2f3002(0x115),_0x472c23[_0x2f3002(0x186)]])[_0x2f3002(0x114)](quoteShellArg)['join']('\x20');return await mkdir(_0x472c23[_0x2f3002(0x129)](dirname,_0xbeb8a2),{'recursive':!![]}),await _0x472c23[_0x2f3002(0x10d)](mkdir,_0x3b1a4f['userDataDir'],{'recursive':!![]}),await _0x472c23[_0x2f3002(0x18b)](writeFile,_0xbeb8a2,'#!/usr/bin/env\x20bash\x0aset\x20-euo\x20pipefail\x0aif\x20[[\x20\x22${1:-}\x22\x20==\x20\x22session\x22\x20&&\x20(\x20\x22${2:-}\x22\x20==\x20\x22export\x22\x20||\x20\x22${2:-}\x22\x20==\x20\x22close\x22\x20)\x20]];\x20then\x0a\x20\x20exec\x20'+quoteShellArg(NOVA_ACT_CLI_BINARY)+_0x2f3002(0xdf)+_0xb7375e+'\x0afi\x0a\x0aexec\x20'+_0x472c23['lnrqJ'](quoteShellArg,NOVA_ACT_CLI_BINARY)+_0x2f3002(0xdf)+_0x3c7689+'\x0a','utf-8'),await chmod(_0xbeb8a2,0x1ed),_0xbeb8a2;}export function buildNovaActCliSharedOptionsSuffix(_0x11f2d2,_0x42d508=['execute']){const _0x370692=_0x2c26de,_0x1737b3={'ceXxf':function(_0x2f6279,_0x27337,_0x4997be){return _0x2f6279(_0x27337,_0x4997be);}};return _0x1737b3['ceXxf'](buildSharedArgs,_0x11f2d2,_0x42d508)[_0x370692(0x114)](quoteShellArg)['join']('\x20');}export async function runNovaActCliCommand(_0x5907a2){const _0x32f74b=_0x2c26de,_0x29aea2={'qbWae':function(_0x30e6ec,_0x2fa18b){return _0x30e6ec===_0x2fa18b;},'GSunN':function(_0x500b30,_0xd1f229){return _0x500b30??_0xd1f229;},'dLRit':'null','RHLrn':function(_0x17bd21,_0x696fb8){return _0x17bd21(_0x696fb8);},'zqvli':function(_0x3f9919,_0x1eb261,_0x4acd7f,_0xaa610b){return _0x3f9919(_0x1eb261,_0x4acd7f,_0xaa610b);},'yTdtL':_0x32f74b(0x107),'wOvwC':_0x32f74b(0x145),'mlnwm':_0x32f74b(0x10c),'EpJTM':function(_0x1efe61,_0x167a3e,_0x26b873){return _0x1efe61(_0x167a3e,_0x26b873);}};await _0x29aea2['EpJTM'](mkdir,_0x5907a2['userDataDir'],{'recursive':!![]});const _0x2c686f=buildNovaActCliInvocation(_0x5907a2,_0x5907a2[_0x32f74b(0x159)]);return new Promise((_0x1b6087,_0x5e43bc)=>{const _0x4ecf46=_0x32f74b,_0x8ea239={'bdARd':function(_0x4bbb30,_0x4fd16d){return _0x4bbb30(_0x4fd16d);}},_0x232cce=_0x29aea2['zqvli'](spawn,_0x2c686f['command'],_0x2c686f[_0x4ecf46(0x180)],{'cwd':_0x5907a2['cwd'],'env':_0x5907a2['env'],'stdio':[_0x4ecf46(0xdb),_0x29aea2[_0x4ecf46(0x11a)],_0x29aea2['yTdtL']]});let _0x3b0c38='',_0x20a17a='',_0x2a22af=![];const _0x492955=_0x5907a2[_0x4ecf46(0x15e)]&&_0x5907a2[_0x4ecf46(0x15e)]>0x0?setTimeout(()=>{const _0x37c624=_0x4ecf46,_0x59b75d={'uzfoR':'SIGKILL'};_0x2a22af=!![],_0x232cce[_0x37c624(0x142)](_0x37c624(0x17d)),setTimeout(()=>{const _0xd19489=_0x37c624;try{_0x232cce['kill'](_0x59b75d[_0xd19489(0x137)]);}catch{}},0x3e8);},_0x5907a2['timeoutMs']):null;_0x232cce[_0x4ecf46(0x14e)]?.['on'](_0x29aea2[_0x4ecf46(0x176)],_0x3e82d4=>{_0x3b0c38+=_0x3e82d4['toString']();}),_0x232cce[_0x4ecf46(0x196)]?.['on'](_0x29aea2['wOvwC'],_0x2c76b0=>{_0x20a17a+=_0x2c76b0['toString']();}),_0x232cce['on']('error',_0x358587=>{const _0x4d34cf=_0x4ecf46;if(_0x492955)_0x8ea239[_0x4d34cf(0x103)](clearTimeout,_0x492955);_0x8ea239['bdARd'](_0x5e43bc,_0x358587);}),_0x232cce['on'](_0x29aea2['mlnwm'],(_0x39e9c6,_0x297691)=>{const _0x11a370=_0x4ecf46;if(_0x492955)clearTimeout(_0x492955);if(_0x29aea2['qbWae'](_0x39e9c6,0x0)){_0x1b6087({'stdout':_0x3b0c38,'stderr':_0x20a17a,'invocation':_0x2c686f});return;}const _0x2b6a5f=_0x2a22af?'timed\x20out\x20after\x20'+_0x5907a2[_0x11a370(0x15e)]+'ms':_0x11a370(0xdc)+_0x29aea2[_0x11a370(0xfd)](_0x39e9c6,_0x29aea2['dLRit'])+'\x20signal='+_0x29aea2['GSunN'](_0x297691,_0x11a370(0xf5));_0x5e43bc(new Error(_0x11a370(0x156)+_0x2c686f['subcommand']+'\x20'+_0x2b6a5f+'\x0astdout:\x20'+truncateOutput(_0x3b0c38)+'\x0astderr:\x20'+_0x29aea2['RHLrn'](truncateOutput,_0x20a17a)));});});}export function parseNovaActCliCommand(_0x279230){const _0x25ebd2=_0x279230['match'](/(?:^|\s)(?:(?:"[^"]*\/act"|'[^']*\/act'|\S*\/act|act)\s+browser|(?:"[^"]*\/nova-act-browser"|'[^']*\/nova-act-browser'|\S*\/nova-act-browser|nova-act-browser))\s+(session\s+[a-z-]+|[a-z][a-z-]*)\b/);return _0x25ebd2?.[0x1]??null;}export function extractNovaActLogDir(_0x429e30){const _0x3c8251=_0x2c26de;try{const _0xfe6bc2=JSON[_0x3c8251(0x140)](_0x429e30),_0x2a4a36=[_0xfe6bc2[_0x3c8251(0x17f)],_0xfe6bc2['logsDirectory'],_0xfe6bc2['logs_dir'],_0xfe6bc2[_0x3c8251(0xfc)],_0xfe6bc2[_0x3c8251(0x111)]],_0x2d6443=_0x2a4a36[_0x3c8251(0x15c)](_0x523dfe=>typeof _0x523dfe===_0x3c8251(0xf7)&&_0x523dfe['trim']()['length']>0x0);if(_0x2d6443)return _0x2d6443;}catch{}const _0x13d137=_0x429e30[_0x3c8251(0x118)](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0x13d137?.[0x1]??null;}export async function loadNovaActSessionExport(_0x5da660){const _0x47f596=_0x2c26de,_0xac508d={'AWsAG':function(_0x9393d3,_0x1196be,_0x1c1995){return _0x9393d3(_0x1196be,_0x1c1995);}};try{return JSON['parse'](await _0xac508d[_0x47f596(0xec)](readFile,_0x5da660,'utf-8'));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0xb8aecd){const _0x10ff60=_0x2c26de,_0x56f054={'yPqtx':function(_0x586f6e,_0x4ee4f1){return _0x586f6e+_0x4ee4f1;},'LiMiJ':function(_0x35735e,_0x1e6623){return _0x35735e/_0x1e6623;},'BFtih':function(_0x6f5fcc,_0x3f40e4){return _0x6f5fcc(_0x3f40e4);},'dKpYg':function(_0x5b5c15,_0x48f5dd,_0x166527){return _0x5b5c15(_0x48f5dd,_0x166527);},'nRGOQ':function(_0xccdff7,_0x214433){return _0xccdff7(_0x214433);},'YHzzJ':'Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','IKkfp':function(_0x1573ac,_0x330da6){return _0x1573ac>_0x330da6;},'lKVBp':function(_0x4351ff,_0xd26fec,_0x1c3115){return _0x4351ff(_0xd26fec,_0x1c3115);}},_0x42f8ef=JSON[_0x10ff60(0x140)](await readFile(_0xb8aecd['storageStatePath'],'utf-8')),_0x464bad=await _0x56f054[_0x10ff60(0x125)](inspectNovaStorageStateFile,_0xb8aecd[_0x10ff60(0x179)]);await _0x56f054[_0x10ff60(0x184)](mkdir,_0xb8aecd['userDataDir'],{'recursive':!![]});const _0x27db6b=join(_0xb8aecd['userDataDir'],'Default'),_0x2ce4f1=await inspectNovaProfileFiles({'userDataDir':_0xb8aecd['userDataDir'],'browserProfilePath':_0x27db6b}),{browser:_0x3e6904,process:_0x2753eb}=await _0x56f054['nRGOQ'](launchNovaHydrationBrowser,{'userDataDir':_0xb8aecd[_0x10ff60(0x12c)],'browserProfilePath':_0x27db6b,'executablePath':_0xb8aecd[_0x10ff60(0xe5)],'headless':_0xb8aecd['headless'],'launchArgs':_0xb8aecd[_0x10ff60(0xf1)]}),_0x21fbc6=_0x3e6904[_0x10ff60(0x12e)]()[0x0];if(!_0x21fbc6){await closeNovaHydrationBrowser(_0x3e6904,_0x2753eb);throw new Error(_0x56f054[_0x10ff60(0x167)]);}let _0x220932=0x0,_0x146dd6=0x0;try{const _0x432e43=_0x42f8ef['cookies']??[];if(_0x56f054[_0x10ff60(0xf6)](_0x432e43[_0x10ff60(0x18c)],0x0)){const _0x30de41=_0x432e43[_0x10ff60(0x114)](_0x2ceb5a=>{const _0x33abec=_0x10ff60;if(_0x2ceb5a['expires']!==-0x1)return _0x2ceb5a;return _0x146dd6+=0x1,{..._0x2ceb5a,'expires':_0x56f054[_0x33abec(0xe2)](Math['floor'](_0x56f054['LiMiJ'](Date[_0x33abec(0x164)](),0x3e8)),NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS)};});await _0x21fbc6[_0x10ff60(0x175)](_0x30de41);}for(const _0x9620c2 of _0x42f8ef['origins']??[]){if(!_0x9620c2[_0x10ff60(0xf3)]?.[_0x10ff60(0x18c)])continue;const _0x723eb3=await _0x21fbc6[_0x10ff60(0x113)]();await _0x723eb3['goto'](_0x9620c2['origin'],{'waitUntil':_0x10ff60(0x188),'timeout':0x7530}),await _0x723eb3['evaluate'](_0x2de07e=>{const _0x284ec7=_0x10ff60;for(const _0x5add2a of _0x2de07e){window[_0x284ec7(0xf3)][_0x284ec7(0xda)](_0x5add2a['name'],_0x5add2a['value']);}},_0x9620c2[_0x10ff60(0xf3)]),_0x220932+=_0x9620c2[_0x10ff60(0xf3)][_0x10ff60(0x18c)],await _0x723eb3[_0x10ff60(0x10c)]();}if(_0xb8aecd[_0x10ff60(0x16e)]){const _0x88c238=await _0x21fbc6['newPage']();await _0x88c238['goto'](_0xb8aecd[_0x10ff60(0x16e)],{'waitUntil':_0x10ff60(0x188),'timeout':0x7530}),await _0x88c238['close']();}await ensureChromeProfileShape(_0xb8aecd[_0x10ff60(0x12c)],_0x27db6b);}finally{await _0x56f054['lKVBp'](closeNovaHydrationBrowser,_0x3e6904,_0x2753eb);}const _0x320d92=await _0x56f054[_0x10ff60(0x125)](inspectNovaProfileFiles,{'userDataDir':_0xb8aecd[_0x10ff60(0x12c)],'browserProfilePath':_0x27db6b});return{'browserProfilePath':_0x27db6b,'cookieCount':_0x42f8ef[_0x10ff60(0x132)]?.[_0x10ff60(0x18c)]??0x0,'promotedSessionCookieCount':_0x146dd6,'originCount':_0x42f8ef['origins']?.[_0x10ff60(0x18c)]??0x0,'localStorageEntryCount':_0x220932,'storageStateDiagnostics':_0x464bad,'profileBefore':_0x2ce4f1,'profileAfter':_0x320d92};}async function launchNovaHydrationBrowser(_0x19c2f){const _0x2e5b60=_0x2c26de,_0x51570d={'UZhZH':function(_0x2c84a5){return _0x2c84a5();},'BryFt':_0x2e5b60(0x191),'uTaIl':_0x2e5b60(0xff),'qJhFi':'--headless=new','kRcLK':'ignore','bsiaN':_0x2e5b60(0x107),'VjidG':function(_0x550b13,_0x45913f){return _0x550b13(_0x45913f);}};await ensureChromeProfileShape(_0x19c2f[_0x2e5b60(0x12c)],_0x19c2f[_0x2e5b60(0xea)]);const _0x1148c9=_0x19c2f['executablePath']??chromium[_0x2e5b60(0xe5)](),_0x34a0e7=await _0x51570d['UZhZH'](getAvailablePort),_0x2c45b5=['--remote-debugging-port='+_0x34a0e7,_0x2e5b60(0x197)+_0x19c2f[_0x2e5b60(0x12c)],_0x51570d['BryFt'],'--window-size=1280,720',_0x51570d['uTaIl'],'--remote-allow-origins=http://localhost'];_0x19c2f['headless']&&_0x2c45b5['push'](_0x51570d[_0x2e5b60(0x193)]);_0x2c45b5[_0x2e5b60(0x149)](..._0x19c2f[_0x2e5b60(0xf1)]??[]);const _0x1f135a=spawn(_0x1148c9,_0x2c45b5,{'stdio':[_0x51570d['kRcLK'],'pipe',_0x51570d['bsiaN']]});try{const _0x2362cc=await waitForCdpEndpoint(_0x1f135a,_0x34a0e7),_0x68433a=await chromium[_0x2e5b60(0x187)](_0x2362cc);return{'browser':_0x68433a,'process':_0x1f135a};}catch(_0x5ac5c5){await _0x51570d[_0x2e5b60(0x16d)](terminateNovaHydrationBrowser,_0x1f135a);throw _0x5ac5c5;}}async function closeNovaHydrationBrowser(_0x3ca0a5,_0x1fdc53){const _0xebaa37=_0x2c26de;try{await _0x3ca0a5[_0xebaa37(0x10c)]();}catch{await terminateNovaHydrationBrowser(_0x1fdc53);return;}const _0x2ae14f=await waitForProcessExit(_0x1fdc53,0x1388);!_0x2ae14f&&await terminateNovaHydrationBrowser(_0x1fdc53);}async function terminateNovaHydrationBrowser(_0x3fcc98){const _0x3f0875=_0x2c26de,_0xd28679={'RPUex':function(_0x5026c0,_0x38adb6){return _0x5026c0===_0x38adb6;}};if(_0x3fcc98['exitCode']!==null)return;try{_0x3fcc98[_0x3f0875(0x142)]('SIGTERM');}catch{}await waitForProcessExit(_0x3fcc98,0x7d0);if(_0xd28679[_0x3f0875(0x121)](_0x3fcc98['exitCode'],null)){try{_0x3fcc98['kill'](_0x3f0875(0xed));}catch{}await waitForProcessExit(_0x3fcc98,0x7d0);}}async function waitForCdpEndpoint(_0x2ec666,_0x14d956){const _0x18f467=_0x2c26de,_0x57c933={'VJrYa':function(_0x3325fc,_0x267319){return _0x3325fc<_0x267319;},'lDVCj':function(_0x2de315,_0x129584){return _0x2de315-_0x129584;},'GRPnl':function(_0x25b970,_0x4f0258){return _0x25b970(_0x4f0258);},'VgPCU':function(_0x4e47a7,_0x3ee4d6){return _0x4e47a7 instanceof _0x3ee4d6;}},_0x528917=Date[_0x18f467(0x164)]();let _0x2789f1;while(_0x57c933['VJrYa'](_0x57c933['lDVCj'](Date[_0x18f467(0x164)](),_0x528917),NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS)){if(_0x2ec666[_0x18f467(0x190)]!==null)throw new Error(_0x18f467(0xf9)+_0x2ec666['exitCode']);try{const _0x1f9916=await _0x57c933[_0x18f467(0x136)](fetch,'http://127.0.0.1:'+_0x14d956+'/json/version');if(_0x1f9916['ok']){const _0x30fe3f=await _0x1f9916[_0x18f467(0x123)]();if(typeof _0x30fe3f[_0x18f467(0x165)]===_0x18f467(0xf7))return _0x30fe3f[_0x18f467(0x165)];}}catch(_0x95e972){_0x2789f1=_0x95e972;}await delay(0x64);}const _0x4436de=_0x57c933['VgPCU'](_0x2789f1,Error)?':\x20'+_0x2789f1[_0x18f467(0x150)]:'';throw new Error(_0x18f467(0x10b)+_0x4436de);}async function getAvailablePort(){const _0x46266e=_0x2c26de,_0x518dbb={'WjPtB':function(_0x2b156f,_0xa0ffb3){return _0x2b156f(_0xa0ffb3);},'dZPch':'object','IqntE':'error','ZmmQi':_0x46266e(0x126)};return new Promise((_0xec68a,_0xabfc4c)=>{const _0x819c1f=_0x46266e,_0x375f99={'jpJaH':function(_0x570cab,_0x4c365e){return _0x518dbb['WjPtB'](_0x570cab,_0x4c365e);},'dNNdG':function(_0x59bfba,_0x5674a6){return _0x59bfba===_0x5674a6;},'bypqP':_0x518dbb['dZPch']},_0x52aa8b=createServer();_0x52aa8b[_0x819c1f(0x11b)](_0x518dbb[_0x819c1f(0x195)],_0xabfc4c),_0x52aa8b['listen'](0x0,_0x518dbb[_0x819c1f(0x17b)],()=>{const _0x1d9f14=_0x819c1f,_0x13eeb3=_0x52aa8b['address']();_0x52aa8b[_0x1d9f14(0x10c)](_0x672db=>{const _0x1d0516=_0x1d9f14;if(_0x672db){_0x375f99['jpJaH'](_0xabfc4c,_0x672db);return;}if(_0x375f99[_0x1d0516(0x12a)](typeof _0x13eeb3,_0x375f99[_0x1d0516(0x101)])&&_0x13eeb3?.['port']){_0x375f99['jpJaH'](_0xec68a,_0x13eeb3['port']);return;}_0x375f99['jpJaH'](_0xabfc4c,new Error('Failed\x20to\x20allocate\x20hydration\x20browser\x20port'));});});});}async function waitForProcessExit(_0x3f4046,_0x45d1d9){const _0x4f7970=_0x2c26de,_0x33e360={'tdLUJ':function(_0x145dff){return _0x145dff();},'ZQrKJ':function(_0x41d6c0,_0x233975){return _0x41d6c0(_0x233975);},'XHYKC':_0x4f7970(0x10f),'CmvXV':function(_0x111be3,_0x36a45f){return _0x111be3(_0x36a45f);},'ICdwK':function(_0x440c84,_0x107698,_0x5c5b76){return _0x440c84(_0x107698,_0x5c5b76);},'oQrEy':function(_0x34a87f,_0x4182ab){return _0x34a87f!==_0x4182ab;}};if(_0x33e360[_0x4f7970(0x147)](_0x3f4046[_0x4f7970(0x190)],null))return!![];return new Promise(_0xdb7834=>{const _0x582854=_0x4f7970,_0x5c3d89={'BJKDp':function(_0x4bee27){const _0x5a208e=_0x5373;return _0x33e360[_0x5a208e(0x139)](_0x4bee27);},'DWCnb':function(_0x21916d,_0x5b8404){return _0x33e360['CmvXV'](_0x21916d,_0x5b8404);}},_0x58cf4c=_0x33e360[_0x582854(0x16b)](setTimeout,()=>{const _0x239586=_0x582854;_0x5c3d89[_0x239586(0x124)](_0xf27809),_0x5c3d89[_0x239586(0xe3)](_0xdb7834,![]);},_0x45d1d9),_0x5c16aa=()=>{_0x33e360['tdLUJ'](_0xf27809),_0xdb7834(!![]);},_0xf27809=()=>{const _0x2a77bf=_0x582854;_0x33e360[_0x2a77bf(0xeb)](clearTimeout,_0x58cf4c),_0x3f4046['off'](_0x33e360[_0x2a77bf(0x122)],_0x5c16aa);};_0x3f4046[_0x582854(0x11b)](_0x582854(0x10f),_0x5c16aa);});}async function delay(_0x342cb6){await new Promise(_0x59e76c=>setTimeout(_0x59e76c,_0x342cb6));}async function ensureChromeProfileShape(_0x2454ec,_0x3a94df){const _0x5ecb4b=_0x2c26de,_0x18b294={'gGALj':function(_0x17bf44,_0x983c0a,_0x4c66e0){return _0x17bf44(_0x983c0a,_0x4c66e0);},'pjQxt':function(_0x203e8a,_0xffc7af,_0x22b4ef){return _0x203e8a(_0xffc7af,_0x22b4ef);}};await _0x18b294['gGALj'](mkdir,_0x3a94df,{'recursive':!![]}),await ensureJsonFile(_0x18b294[_0x5ecb4b(0x11e)](join,_0x2454ec,_0x5ecb4b(0xe0))),await ensureJsonFile(_0x18b294[_0x5ecb4b(0x158)](join,_0x3a94df,'Preferences'));}async function ensureJsonFile(_0x2ddd1e){const _0x35db54=_0x2c26de,_0x49ad28={'Dobui':function(_0x1b962a,_0x59d056){return _0x1b962a(_0x59d056);},'HKvTz':function(_0x2f26c4,_0x599c4b,_0x1b8012,_0x401a7b){return _0x2f26c4(_0x599c4b,_0x1b8012,_0x401a7b);},'IysFd':_0x35db54(0x11c)};try{await _0x49ad28['Dobui'](access,_0x2ddd1e);}catch{await _0x49ad28['HKvTz'](writeFile,_0x2ddd1e,'{}',_0x49ad28['IysFd']);}}export function previewNovaActCliCommand(_0x1c59c2){const _0x42b8b6={'Fwnvm':function(_0x303990,_0x46a3fb){return _0x303990(_0x46a3fb);}};return _0x42b8b6['Fwnvm'](truncatePreview,_0x1c59c2);}
@@ -1 +1 @@
1
- (function(_0x402f54,_0x122601){var _0x1242c8=_0x13ed,_0x33cdcb=_0x402f54();while(!![]){try{var _0x1207c2=parseInt(_0x1242c8(0xbf))/0x1+parseInt(_0x1242c8(0xc0))/0x2+-parseInt(_0x1242c8(0xc1))/0x3*(parseInt(_0x1242c8(0xc2))/0x4)+parseInt(_0x1242c8(0xb8))/0x5+-parseInt(_0x1242c8(0xbc))/0x6+parseInt(_0x1242c8(0xb9))/0x7*(-parseInt(_0x1242c8(0xba))/0x8)+-parseInt(_0x1242c8(0xb6))/0x9*(-parseInt(_0x1242c8(0xb2))/0xa);if(_0x1207c2===_0x122601)break;else _0x33cdcb['push'](_0x33cdcb['shift']());}catch(_0x4aa365){_0x33cdcb['push'](_0x33cdcb['shift']());}}}(_0x4891,0x7a133));import{homedir}from'os';import{join}from'path';function _0x13ed(_0x1b77fe,_0x1c402c){_0x1b77fe=_0x1b77fe-0xb1;var _0x48910d=_0x4891();var _0x13edc2=_0x48910d[_0x1b77fe];return _0x13edc2;}function _0x4891(){var _0x3c4181=['758728VZgEnE','XDG_CONFIG_HOME','10cUdxOM','wQNKC','opencode','OPENCODE_CONFIG_DIR','8791542VhWWtM','fmgwB','330295MaBiwA','6482fpAVRC','8264gNJXJc','env','950082nPuyOr','skills','JNbRO','410137wxJrlt','703144qvRAMQ','3xhzCtC'];_0x4891=function(){return _0x3c4181;};return _0x4891();}import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x3aef64){var _0x40fafd=_0x13ed,_0x332fae={'JNbRO':function(_0x515247,_0x48a4f1){return _0x515247===_0x48a4f1;},'fmgwB':function(_0x22dcbf,_0x4d3350,_0x548de4,_0x1d98ba){return _0x22dcbf(_0x4d3350,_0x548de4,_0x1d98ba);},'hyAQi':function(_0x3d395d){return _0x3d395d();},'XCbOO':function(_0x42480b,_0xfa46e1,_0x1e6de0){return _0x42480b(_0xfa46e1,_0x1e6de0);},'wQNKC':'.opencode'};if(process['env'][_0x40fafd(0xb5)])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x332fae[_0x40fafd(0xbe)](_0x3aef64,'user')){if(process[_0x40fafd(0xbb)][_0x40fafd(0xb1)])return join(process['env']['XDG_CONFIG_HOME'],_0x40fafd(0xb4));return _0x332fae[_0x40fafd(0xb7)](join,_0x332fae['hyAQi'](homedir),'.config',_0x40fafd(0xb4));}return _0x332fae['XCbOO'](join,_0x332fae['hyAQi'](getProjectRoot),_0x332fae[_0x40fafd(0xb3)]);}export function getOpencodeSkillsDir(_0x280e2b){var _0xfa9184=_0x13ed;return join(getOpencodeConfigDir(_0x280e2b),_0xfa9184(0xbd));}
1
+ (function(_0x4a23dd,_0x455a63){var _0x40854e=_0x2dcb,_0x57358e=_0x4a23dd();while(!![]){try{var _0x5cb65e=-parseInt(_0x40854e(0x15e))/0x1*(-parseInt(_0x40854e(0x155))/0x2)+parseInt(_0x40854e(0x14e))/0x3*(parseInt(_0x40854e(0x159))/0x4)+parseInt(_0x40854e(0x157))/0x5*(-parseInt(_0x40854e(0x152))/0x6)+parseInt(_0x40854e(0x15a))/0x7*(-parseInt(_0x40854e(0x158))/0x8)+parseInt(_0x40854e(0x151))/0x9+parseInt(_0x40854e(0x150))/0xa+-parseInt(_0x40854e(0x156))/0xb*(parseInt(_0x40854e(0x15b))/0xc);if(_0x5cb65e===_0x455a63)break;else _0x57358e['push'](_0x57358e['shift']());}catch(_0x333c95){_0x57358e['push'](_0x57358e['shift']());}}}(_0x3cbe,0x594d0));function _0x2dcb(_0x432549,_0x109a9b){_0x432549=_0x432549-0x14d;var _0x3cbec6=_0x3cbe();var _0x2dcb08=_0x3cbec6[_0x432549];return _0x2dcb08;}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x55808b){var _0x203022=_0x2dcb,_0x53cfab={'Nfywl':'user','zywjj':function(_0x4c460b){return _0x4c460b();},'vmKBw':_0x203022(0x15c)};if(process[_0x203022(0x14d)]['OPENCODE_CONFIG_DIR'])return process['env'][_0x203022(0x15d)];if(_0x55808b===_0x53cfab['Nfywl']){if(process['env'][_0x203022(0x160)])return join(process[_0x203022(0x14d)][_0x203022(0x160)],'opencode');return join(_0x53cfab['zywjj'](homedir),_0x203022(0x15f),_0x203022(0x154));}return join(getProjectRoot(),_0x53cfab[_0x203022(0x14f)]);}export function getOpencodeSkillsDir(_0x3660f3){var _0x47c60b=_0x2dcb,_0x3aecf0={'RBBTQ':function(_0x40ce50,_0x577a9c){return _0x40ce50(_0x577a9c);},'WCcLx':_0x47c60b(0x153)};return join(_0x3aecf0['RBBTQ'](getOpencodeConfigDir,_0x3660f3),_0x3aecf0['WCcLx']);}function _0x3cbe(){var _0x55edc0=['5358990uPVfRx','218538rdcazq','3354eODieX','skills','opencode','16oPtKoe','36509TYOvMN','2435XBPaYN','209320FMRTls','1656tujSpb','77uMmUNr','2316bZjEts','.opencode','OPENCODE_CONFIG_DIR','70973MoCMlM','.config','XDG_CONFIG_HOME','env','3177GbItxI','vmKBw'];_0x3cbe=function(){return _0x55edc0;};return _0x3cbe();}
@@ -1 +1 @@
1
- (function(_0x8ba408,_0x341fbf){const _0x4d62c7=_0x91b8,_0x288f98=_0x8ba408();while(!![]){try{const _0x556c30=-parseInt(_0x4d62c7(0x1cd))/0x1+parseInt(_0x4d62c7(0x1d0))/0x2+-parseInt(_0x4d62c7(0x1ce))/0x3+parseInt(_0x4d62c7(0x1c6))/0x4+-parseInt(_0x4d62c7(0x1cb))/0x5+parseInt(_0x4d62c7(0x1d4))/0x6*(-parseInt(_0x4d62c7(0x1db))/0x7)+parseInt(_0x4d62c7(0x1c9))/0x8;if(_0x556c30===_0x341fbf)break;else _0x288f98['push'](_0x288f98['shift']());}catch(_0x4e9132){_0x288f98['push'](_0x288f98['shift']());}}}(_0x3ccf,0xf1c53));import{getApiBaseUrl}from'./environment.js';function _0x91b8(_0x3b7612,_0x2cc509){_0x3b7612=_0x3b7612-0x1c6;const _0x3ccf75=_0x3ccf();let _0x91b846=_0x3ccf75[_0x3b7612];return _0x91b846;}function _0x3ccf(){const _0x4b02ad=['Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20','number','from','hAKJc','28vakhch','map','1430248tVgyEC','KVPOo','Jteyw','16244864ognOJf','fromEntries','5253475MAlamE','status','629396AxwWGU','1726200BaeRMD','all','3810536SSESiq','Organization\x20environment\x20variable\x20','text','string','1571484xyPgmj','variableName','UOXYW'];_0x3ccf=function(){return _0x4b02ad;};return _0x3ccf();}import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0x4e0294){const _0x3981ab=_0x91b8,_0x2358f8={'hAKJc':function(_0x560ad6){return _0x560ad6();},'tfYBw':'No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','KVPOo':function(_0x54b9de){return _0x54b9de();},'bUTkd':function(_0x5f5d44,_0x34b771,_0x1c8f0b){return _0x5f5d44(_0x34b771,_0x1c8f0b);},'UOXYW':function(_0x256a43,_0x49501f){return _0x256a43===_0x49501f;},'Qggkc':function(_0x14fab8,_0x33bb49){return _0x14fab8===_0x33bb49;},'Jteyw':function(_0x4121ab,_0x1adaac){return _0x4121ab===_0x1adaac;},'EBZqW':function(_0x517d4d,_0x29dbba){return _0x517d4d===_0x29dbba;}},_0x1cee65=await _0x2358f8[_0x3981ab(0x1da)](getToken);if(!_0x1cee65)throw new Error(_0x2358f8['tfYBw']);const _0x1ab0be=new URL(_0x2358f8[_0x3981ab(0x1c7)](getApiBaseUrl)+'/organization/environment-variables');_0x1ab0be['searchParams']['set'](_0x3981ab(0x1d5),_0x4e0294);const _0x371740=await _0x2358f8['bUTkd'](fetch,_0x1ab0be,{'method':'GET','headers':{'Authorization':'Bearer\x20'+_0x1cee65}});if(_0x371740[_0x3981ab(0x1cc)]===0x194)return null;if(!_0x371740['ok']){const _0x3b354a=await _0x371740[_0x3981ab(0x1d2)]();throw new Error(_0x3981ab(0x1d7)+_0x4e0294+':\x20'+_0x371740[_0x3981ab(0x1cc)]+'\x20'+_0x3b354a);}const _0x16ea0c=await _0x371740['json'](),_0x55e6b9=_0x16ea0c[_0x4e0294];if(_0x2358f8[_0x3981ab(0x1d6)](_0x55e6b9,undefined)||_0x2358f8['Qggkc'](_0x55e6b9,null))return null;if(_0x2358f8[_0x3981ab(0x1c8)](typeof _0x55e6b9,_0x3981ab(0x1d3))||_0x2358f8['EBZqW'](typeof _0x55e6b9,_0x3981ab(0x1d8)))return String(_0x55e6b9);throw new Error(_0x3981ab(0x1d1)+_0x4e0294+'\x20must\x20be\x20a\x20string\x20or\x20number');}export async function getOrganizationEnvironmentVariables(_0x4cf1d1){const _0x42cfe8=_0x91b8,_0x2c45e2=Array[_0x42cfe8(0x1d9)](new Set(_0x4cf1d1)),_0x15f601=await Promise[_0x42cfe8(0x1cf)](_0x2c45e2[_0x42cfe8(0x1dc)](async _0x47345f=>{const _0x22dd46=await getOrganizationEnvironmentVariable(_0x47345f);return _0x22dd46===null?null:[_0x47345f,_0x22dd46];}));return Object[_0x42cfe8(0x1ca)](_0x15f601['filter'](_0x230666=>Boolean(_0x230666)));}
1
+ (function(_0x5b8190,_0x364a24){const _0x29d1c8=_0x3acf,_0x8ebaac=_0x5b8190();while(!![]){try{const _0x445bac=-parseInt(_0x29d1c8(0x1b2))/0x1+-parseInt(_0x29d1c8(0x1b4))/0x2+parseInt(_0x29d1c8(0x1c0))/0x3*(-parseInt(_0x29d1c8(0x1aa))/0x4)+-parseInt(_0x29d1c8(0x1bb))/0x5*(parseInt(_0x29d1c8(0x1ba))/0x6)+-parseInt(_0x29d1c8(0x1b1))/0x7*(-parseInt(_0x29d1c8(0x1b8))/0x8)+-parseInt(_0x29d1c8(0x1b7))/0x9*(-parseInt(_0x29d1c8(0x1ad))/0xa)+-parseInt(_0x29d1c8(0x1bf))/0xb;if(_0x445bac===_0x364a24)break;else _0x8ebaac['push'](_0x8ebaac['shift']());}catch(_0x3bd0a1){_0x8ebaac['push'](_0x8ebaac['shift']());}}}(_0x4a21,0xf2660));import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';function _0x4a21(){const _0x5cc82e=['set','wiDCt','1442727iFrfNF','2532MzvfIh','map','pFzud','GET','\x20must\x20be\x20a\x20string\x20or\x20number','No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','1728OkZziu','json','variableName','290jRxNlf','searchParams','text','gHsul','14WSDHzA','104498jYwVgD','Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20','1471794sXiXEW','status','number','569133XdTlOA','3425816KnQVNo','JTOqW','2167818fLdNuN','5MjNUWO','KGIct'];_0x4a21=function(){return _0x5cc82e;};return _0x4a21();}async function getOrganizationEnvironmentVariable(_0x3b6cb4){const _0x5bb796=_0x3acf,_0x1fc83b={'Nnrrs':_0x5bb796(0x1a9),'NUunI':_0x5bb796(0x1ac),'htXRZ':function(_0x11f1e2,_0x261149,_0x9cf48d){return _0x11f1e2(_0x261149,_0x9cf48d);},'pFzud':_0x5bb796(0x1c3),'JTOqW':function(_0x172827,_0x580a27){return _0x172827===_0x580a27;},'VPGzh':'string','gHsul':_0x5bb796(0x1b6),'RIVhb':function(_0x2aa565,_0x471704){return _0x2aa565(_0x471704);}},_0x273796=await getToken();if(!_0x273796)throw new Error(_0x1fc83b['Nnrrs']);const _0x256888=new URL(getApiBaseUrl()+'/organization/environment-variables');_0x256888[_0x5bb796(0x1ae)][_0x5bb796(0x1bd)](_0x1fc83b['NUunI'],_0x3b6cb4);const _0x1d0031=await _0x1fc83b['htXRZ'](fetch,_0x256888,{'method':_0x1fc83b[_0x5bb796(0x1c2)],'headers':{'Authorization':'Bearer\x20'+_0x273796}});if(_0x1fc83b[_0x5bb796(0x1b9)](_0x1d0031['status'],0x194))return null;if(!_0x1d0031['ok']){const _0x15fb07=await _0x1d0031[_0x5bb796(0x1af)]();throw new Error(_0x5bb796(0x1b3)+_0x3b6cb4+':\x20'+_0x1d0031[_0x5bb796(0x1b5)]+'\x20'+_0x15fb07);}const _0x2326fb=await _0x1d0031[_0x5bb796(0x1ab)](),_0x4e0bbe=_0x2326fb[_0x3b6cb4];if(_0x4e0bbe===undefined||_0x4e0bbe===null)return null;if(typeof _0x4e0bbe===_0x1fc83b['VPGzh']||_0x1fc83b['JTOqW'](typeof _0x4e0bbe,_0x1fc83b[_0x5bb796(0x1b0)]))return _0x1fc83b['RIVhb'](String,_0x4e0bbe);throw new Error('Organization\x20environment\x20variable\x20'+_0x3b6cb4+_0x5bb796(0x1c4));}function _0x3acf(_0x52094d,_0x420fd3){_0x52094d=_0x52094d-0x1a9;const _0x4a2189=_0x4a21();let _0x3acfed=_0x4a2189[_0x52094d];return _0x3acfed;}export async function getOrganizationEnvironmentVariables(_0xe4872d){const _0x4ab93d=_0x3acf,_0x26be98={'KGIct':function(_0x42f514,_0x2c70d1){return _0x42f514(_0x2c70d1);},'wiDCt':function(_0x5a1b23,_0x189e6a){return _0x5a1b23===_0x189e6a;}},_0x56200b=Array['from'](new Set(_0xe4872d)),_0x503b18=await Promise['all'](_0x56200b[_0x4ab93d(0x1c1)](async _0x5e0acd=>{const _0xc03e06=_0x4ab93d,_0x2ba5dd=await _0x26be98[_0xc03e06(0x1bc)](getOrganizationEnvironmentVariable,_0x5e0acd);return _0x26be98[_0xc03e06(0x1be)](_0x2ba5dd,null)?null:[_0x5e0acd,_0x2ba5dd];}));return Object['fromEntries'](_0x503b18['filter'](_0x44bd05=>Boolean(_0x44bd05)));}
@@ -1 +1 @@
1
- (function(_0x394d69,_0x5348c4){const _0x4f7bda=_0x18b8,_0x3e2dbd=_0x394d69();while(!![]){try{const _0x544188=parseInt(_0x4f7bda(0x21f))/0x1*(-parseInt(_0x4f7bda(0x20a))/0x2)+parseInt(_0x4f7bda(0x1fe))/0x3+-parseInt(_0x4f7bda(0x1f6))/0x4*(parseInt(_0x4f7bda(0x210))/0x5)+-parseInt(_0x4f7bda(0x20c))/0x6+-parseInt(_0x4f7bda(0x21a))/0x7+parseInt(_0x4f7bda(0x1ef))/0x8*(-parseInt(_0x4f7bda(0x212))/0x9)+parseInt(_0x4f7bda(0x21b))/0xa*(parseInt(_0x4f7bda(0x209))/0xb);if(_0x544188===_0x5348c4)break;else _0x3e2dbd['push'](_0x3e2dbd['shift']());}catch(_0x16aa35){_0x3e2dbd['push'](_0x3e2dbd['shift']());}}}(_0x1e31,0x8e658));import{spawn}from'child_process';import{createHash}from'crypto';function _0x1e31(){const _0x1917d9=['6781974qrvhPP','--config','Cfcci','mhExa','90WrwWMf','find','9XlTrkI','stdout','match','pipe','qmxHM','timed\x20out\x20after\x20','cwd','data','7119322OEFuMP','227810EJxIWV','JjxRx','map','SIGKILL','370lgOgdp','values','\x0astdout:\x20','dvUwq','bash_command','stderr','error','args','394712LDzPNv','waWYO','kill','join','UkUzW','timeoutMs','exited\x20with\x20code=','159964LYzEjR','length','toString','VBkOb','sessionId','dxudO','slice','null','940806iNmsVG','digest','fHYkB','playwright-cli\x20','mhqAt','npx','SIGTERM','ZbnSp','\x20signal=','\x27\x5c\x27\x27','commandArgs','1936KUvzUS','4450BeGjlX','ZephL'];_0x1e31=function(){return _0x1917d9;};return _0x1e31();}export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x2003d7){const _0x253339=_0x18b8,_0x523c08={'eRzHr':function(_0x325e3e,_0x41ecde){return _0x325e3e(_0x41ecde);},'MTXDF':'hex'},_0x190ac2=_0x523c08['eRzHr'](createHash,'sha256')['update'](_0x2003d7)[_0x253339(0x1ff)](_0x523c08['MTXDF'])[_0x253339(0x1fc)](0x0,0xc);return'rg-'+_0x190ac2;}function shellQuote(_0x1376e7){const _0x3ea55e=_0x18b8;return'\x27'+_0x1376e7['replace'](/'/g,_0x3ea55e(0x207))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x1e7ece){return SAFE_SHELL_TOKEN['test'](_0x1e7ece)?_0x1e7ece:shellQuote(_0x1e7ece);}export function buildPlaywrightCliInvocation(_0x81e227,_0x3c8fdf,_0x2d4c8c){const _0x14a16b=_0x18b8,_0x48dd0c={'VBkOb':_0x14a16b(0x20d),'dvUwq':'npx'},_0x569eec=toPlaywrightCliSessionKey(_0x81e227),[_0x27a2e0='unknown']=_0x2d4c8c,_0x45dd03=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x569eec,_0x48dd0c[_0x14a16b(0x1f9)],_0x3c8fdf,..._0x2d4c8c];return{'command':_0x48dd0c[_0x14a16b(0x1ea)],'args':_0x45dd03,'shellCommand':[_0x14a16b(0x203),PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x569eec),'--config',quoteShellArg(_0x3c8fdf),..._0x2d4c8c[_0x14a16b(0x21d)](quoteShellArg)]['join']('\x20'),'subcommand':_0x27a2e0};}export function buildPlaywrightCliCommandPrefix(_0x1f9355,_0x25d891){const _0x2af935=_0x18b8,_0x34d952=toPlaywrightCliSessionKey(_0x1f9355);return['npx',PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0x34d952),'--config',quoteShellArg(_0x25d891)][_0x2af935(0x1f2)]('\x20');}function truncateOutput(_0x52d85c,_0x15d9cb=0x7d0){const _0x5e6738=_0x18b8,_0x577fed={'cHILq':function(_0x31b010,_0x38aeb1){return _0x31b010>_0x38aeb1;},'waWYO':function(_0x1a210a,_0x237f2f){return _0x1a210a+_0x237f2f;}};return _0x577fed['cHILq'](_0x52d85c[_0x5e6738(0x1f7)],_0x15d9cb)?_0x577fed[_0x5e6738(0x1f0)](_0x52d85c[_0x5e6738(0x1fc)](0x0,_0x15d9cb),'...'):_0x52d85c;}function _0x18b8(_0x4dca49,_0x33aa33){_0x4dca49=_0x4dca49-0x1ea;const _0x1e31ad=_0x1e31();let _0x18b81a=_0x1e31ad[_0x4dca49];return _0x18b81a;}export async function runPlaywrightCliCommand(_0x514b4e){const _0x1d3d6e=_0x18b8,_0x58aa23={'mhqAt':_0x1d3d6e(0x21e),'fHYkB':function(_0x45b4ac,_0x2f4302){return _0x45b4ac(_0x2f4302);},'ZephL':_0x1d3d6e(0x1fd),'poInE':'ignore','dxudO':_0x1d3d6e(0x215),'RJrQS':function(_0x48652e,_0x262c84,_0x2e5266){return _0x48652e(_0x262c84,_0x2e5266);},'mYVrl':_0x1d3d6e(0x219)},_0x32717b=buildPlaywrightCliInvocation(_0x514b4e[_0x1d3d6e(0x1fa)],_0x514b4e['configPath'],_0x514b4e[_0x1d3d6e(0x208)]);return new Promise((_0x8a8780,_0x409882)=>{const _0x3ad07c=_0x1d3d6e,_0x29241e={'JjxRx':_0x58aa23[_0x3ad07c(0x202)],'zgGpn':function(_0x4ced00,_0x58f2ab){return _0x4ced00(_0x58f2ab);},'UkUzW':function(_0x4faeac,_0x51186c){const _0x536bc5=_0x3ad07c;return _0x58aa23[_0x536bc5(0x200)](_0x4faeac,_0x51186c);},'IKBtN':function(_0x454095,_0x61d4f1){return _0x454095===_0x61d4f1;},'ZbnSp':function(_0x4c7c02,_0x3fad41){return _0x4c7c02??_0x3fad41;},'ujwYf':_0x58aa23[_0x3ad07c(0x20b)],'ZqdqQ':function(_0x4cbb18,_0x5d465e){return _0x58aa23['fHYkB'](_0x4cbb18,_0x5d465e);},'Cfcci':function(_0x578bf4,_0x319aec){return _0x578bf4(_0x319aec);},'ItaSX':function(_0x198a77,_0x17f721){const _0x571327=_0x3ad07c;return _0x58aa23[_0x571327(0x200)](_0x198a77,_0x17f721);}},_0x60bc0c=spawn(_0x32717b['command'],_0x32717b[_0x3ad07c(0x1ee)],{'cwd':_0x514b4e[_0x3ad07c(0x218)],'env':_0x514b4e['env'],'stdio':[_0x58aa23['poInE'],_0x58aa23[_0x3ad07c(0x1fb)],_0x3ad07c(0x215)]});let _0x34616c='',_0x143f9c='',_0xaee69a=![];const _0x1deb88=_0x514b4e[_0x3ad07c(0x1f4)]&&_0x514b4e[_0x3ad07c(0x1f4)]>0x0?_0x58aa23['RJrQS'](setTimeout,()=>{const _0x1d03f6=_0x3ad07c;_0xaee69a=!![],_0x60bc0c[_0x1d03f6(0x1f1)](_0x1d03f6(0x204)),setTimeout(()=>{const _0x5e20ce=_0x1d03f6;try{_0x60bc0c['kill'](_0x29241e[_0x5e20ce(0x21c)]);}catch{}},0x3e8);},_0x514b4e['timeoutMs']):null;_0x60bc0c[_0x3ad07c(0x213)]?.['on']('data',_0x456494=>{const _0x2e2fa6=_0x3ad07c;_0x34616c+=_0x456494[_0x2e2fa6(0x1f8)]();}),_0x60bc0c[_0x3ad07c(0x1ec)]?.['on'](_0x58aa23['mYVrl'],_0x3c5e20=>{const _0x34f7c3=_0x3ad07c;_0x143f9c+=_0x3c5e20[_0x34f7c3(0x1f8)]();}),_0x60bc0c['on'](_0x3ad07c(0x1ed),_0x2bfdb0=>{const _0x2514d2=_0x3ad07c;if(_0x1deb88)_0x29241e['zgGpn'](clearTimeout,_0x1deb88);_0x29241e[_0x2514d2(0x1f3)](_0x409882,_0x2bfdb0);}),_0x60bc0c['on']('close',(_0x18e1e4,_0x22d7f4)=>{const _0xd5cff1=_0x3ad07c;if(_0x1deb88)_0x29241e['zgGpn'](clearTimeout,_0x1deb88);if(_0x29241e['IKBtN'](_0x18e1e4,0x0)){_0x8a8780({'stdout':_0x34616c,'stderr':_0x143f9c,'invocation':_0x32717b});return;}const _0x395a7f=_0xaee69a?_0xd5cff1(0x217)+_0x514b4e['timeoutMs']+'ms':_0xd5cff1(0x1f5)+_0x29241e[_0xd5cff1(0x205)](_0x18e1e4,_0xd5cff1(0x1fd))+_0xd5cff1(0x206)+(_0x22d7f4??_0x29241e['ujwYf']);_0x29241e['ZqdqQ'](_0x409882,new Error(_0xd5cff1(0x201)+_0x32717b['subcommand']+'\x20'+_0x395a7f+_0xd5cff1(0x221)+_0x29241e[_0xd5cff1(0x20e)](truncateOutput,_0x34616c)+'\x0astderr:\x20'+_0x29241e['ItaSX'](truncateOutput,_0x143f9c)));});});}export function extractBashCommand(_0x546cae){const _0x324d02=_0x18b8,_0x19ad5b={'qmxHM':'command','VCJua':'cmd','mhExa':'script','DbYYY':function(_0x5c2f0b,_0x59412e){return _0x5c2f0b===_0x59412e;},'vIJtN':function(_0x5a879c,_0x68c956){return _0x5a879c??_0x68c956;}},_0x3a0e6b=[_0x19ad5b[_0x324d02(0x216)],_0x19ad5b['VCJua'],_0x19ad5b[_0x324d02(0x20f)],_0x324d02(0x1eb)];for(const _0xf9c5ef of _0x3a0e6b){const _0x23296a=_0x546cae[_0xf9c5ef];if(_0x19ad5b['DbYYY'](typeof _0x23296a,'string')&&_0x23296a['trim']())return _0x23296a;}const _0x11d1ba=Object[_0x324d02(0x220)](_0x546cae)[_0x324d02(0x211)](_0x2d2ea3=>typeof _0x2d2ea3==='string'&&_0x2d2ea3['trim']()[_0x324d02(0x1f7)]>0x0);return _0x19ad5b['vIJtN'](_0x11d1ba,null);}export function parsePlaywrightCliCommand(_0x4fe6e1){const _0x2bbf0f=_0x18b8,_0x4c8a07=_0x4fe6e1[_0x2bbf0f(0x214)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x4c8a07?.[0x1]??null;}
1
+ (function(_0x3a5cd6,_0x5a61f2){const _0x35454e=_0x5c0c,_0x301cc7=_0x3a5cd6();while(!![]){try{const _0x41ef9f=-parseInt(_0x35454e(0x1f7))/0x1*(-parseInt(_0x35454e(0x210))/0x2)+parseInt(_0x35454e(0x20b))/0x3*(parseInt(_0x35454e(0x1e5))/0x4)+-parseInt(_0x35454e(0x1e0))/0x5+-parseInt(_0x35454e(0x202))/0x6+-parseInt(_0x35454e(0x1f8))/0x7+parseInt(_0x35454e(0x206))/0x8*(parseInt(_0x35454e(0x1fa))/0x9)+parseInt(_0x35454e(0x20f))/0xa;if(_0x41ef9f===_0x5a61f2)break;else _0x301cc7['push'](_0x301cc7['shift']());}catch(_0x2624c0){_0x301cc7['push'](_0x301cc7['shift']());}}}(_0x4a33,0x8b291));import{spawn}from'child_process';import{createHash}from'crypto';function _0x5c0c(_0x11c3d3,_0x3c4c2c){_0x11c3d3=_0x11c3d3-0x1e0;const _0x4a3368=_0x4a33();let _0x5c0c10=_0x4a3368[_0x11c3d3];return _0x5c0c10;}function _0x4a33(){const _0x2c58e4=['slice','npx','KvclQ','...','sessionId','\x0astderr:\x20','485570pJLVjm','3334982QbIkvE','ignore','980937ndUyXz','find','SIGTERM','pipe','join','replace','toString','stdout','2523378YhImsq','bash_command','timeoutMs','iSYMC','56CUpgTb','fppqA','kill','MjeXD','\x20signal=','1246701dQVWhV','-s=','exited\x20with\x20code=','args','7584400eNwYPj','2tcThdf','length','--config','zrlCu','4777690CqHyQK','nVVIY','error','null','\x0astdout:\x20','4cIoZKz','zUTbx','trim','data','sha256','test','env','hEBaL','map','PFZjP','BykcH','\x27\x5c\x27\x27'];_0x4a33=function(){return _0x2c58e4;};return _0x4a33();}export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x4e4c5a){const _0x2b2861=_0x5c0c,_0x50def2={'fppqA':function(_0xe0d462,_0x955d14){return _0xe0d462(_0x955d14);},'PSJSN':_0x2b2861(0x1e9)},_0x35cf74=_0x50def2[_0x2b2861(0x207)](createHash,_0x50def2['PSJSN'])['update'](_0x4e4c5a)['digest']('hex')[_0x2b2861(0x1f1)](0x0,0xc);return'rg-'+_0x35cf74;}function shellQuote(_0x13a315){const _0x11415d=_0x5c0c;return'\x27'+_0x13a315[_0x11415d(0x1ff)](/'/g,_0x11415d(0x1f0))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x3bc458){const _0x19150b=_0x5c0c,_0x1a0c58={'NRsyn':function(_0x1f6d2b,_0x4fa17a){return _0x1f6d2b(_0x4fa17a);}};return SAFE_SHELL_TOKEN[_0x19150b(0x1ea)](_0x3bc458)?_0x3bc458:_0x1a0c58['NRsyn'](shellQuote,_0x3bc458);}export function buildPlaywrightCliInvocation(_0x31830d,_0x27e5fd,_0x568918){const _0x41324e=_0x5c0c,_0x42adac={'MjeXD':function(_0x327ace,_0x266367){return _0x327ace(_0x266367);},'VhiaL':_0x41324e(0x1f2),'OdtkO':'--config'},_0x362444=_0x42adac[_0x41324e(0x209)](toPlaywrightCliSessionKey,_0x31830d),[_0xb5dbb9='unknown']=_0x568918,_0x327a8d=[PLAYWRIGHT_CLI_BINARY,_0x41324e(0x20c)+_0x362444,'--config',_0x27e5fd,..._0x568918];return{'command':_0x42adac['VhiaL'],'args':_0x327a8d,'shellCommand':[_0x42adac['VhiaL'],PLAYWRIGHT_CLI_BINARY,_0x41324e(0x20c)+quoteShellArg(_0x362444),_0x42adac['OdtkO'],_0x42adac['MjeXD'](quoteShellArg,_0x27e5fd),..._0x568918[_0x41324e(0x1ed)](quoteShellArg)][_0x41324e(0x1fe)]('\x20'),'subcommand':_0xb5dbb9};}export function buildPlaywrightCliCommandPrefix(_0x3b0ac4,_0x29bcf0){const _0x253e71=_0x5c0c,_0x3c5253={'zUTbx':_0x253e71(0x212),'zRpki':function(_0x1b30c4,_0x1105a7){return _0x1b30c4(_0x1105a7);}},_0x1a22ef=toPlaywrightCliSessionKey(_0x3b0ac4);return[_0x253e71(0x1f2),PLAYWRIGHT_CLI_BINARY,_0x253e71(0x20c)+quoteShellArg(_0x1a22ef),_0x3c5253[_0x253e71(0x1e6)],_0x3c5253['zRpki'](quoteShellArg,_0x29bcf0)]['join']('\x20');}function truncateOutput(_0x4b8250,_0x2ad954=0x7d0){const _0x567a97=_0x5c0c;return _0x4b8250['length']>_0x2ad954?_0x4b8250['slice'](0x0,_0x2ad954)+_0x567a97(0x1f4):_0x4b8250;}export async function runPlaywrightCliCommand(_0x3c1324){const _0x4a1617=_0x5c0c,_0x3e335c={'AwSOo':function(_0x339abd,_0x39da26){return _0x339abd===_0x39da26;},'Wjziy':function(_0x3ff715,_0x52ddef){return _0x3ff715??_0x52ddef;},'KvclQ':function(_0x380274,_0x25033b,_0x2b3cbe,_0x4f5b6d){return _0x380274(_0x25033b,_0x2b3cbe,_0x4f5b6d);},'DhcMA':_0x4a1617(0x1f9),'PFZjP':'pipe','Yvnur':function(_0x4b2bbb,_0x2866ee){return _0x4b2bbb>_0x2866ee;},'zrlCu':_0x4a1617(0x1e8),'fYLSF':_0x4a1617(0x1e2),'ktVpP':'close'},_0x1b7197=_0x3e335c[_0x4a1617(0x1f3)](buildPlaywrightCliInvocation,_0x3c1324[_0x4a1617(0x1f5)],_0x3c1324['configPath'],_0x3c1324['commandArgs']);return new Promise((_0x2a9029,_0x4b5fb1)=>{const _0x4a6dcd=_0x4a1617,_0xbf9d55={'BykcH':function(_0x46307,_0x24f4f9){return _0x46307(_0x24f4f9);},'iSYMC':function(_0x1c582e,_0x58280c){return _0x3e335c['AwSOo'](_0x1c582e,_0x58280c);},'hEBaL':function(_0x3046ff,_0xed9891){return _0x3046ff(_0xed9891);},'SEqLJ':function(_0x5c93f7,_0x350f0f){return _0x3e335c['Wjziy'](_0x5c93f7,_0x350f0f);},'KdPqr':function(_0x58db7a,_0x13fa88){return _0x58db7a(_0x13fa88);}},_0x33cb2b=_0x3e335c['KvclQ'](spawn,_0x1b7197['command'],_0x1b7197[_0x4a6dcd(0x20e)],{'cwd':_0x3c1324['cwd'],'env':_0x3c1324[_0x4a6dcd(0x1eb)],'stdio':[_0x3e335c['DhcMA'],_0x3e335c[_0x4a6dcd(0x1ee)],_0x4a6dcd(0x1fd)]});let _0xd88c78='',_0x2b737a='',_0x15eeda=![];const _0xf5a4c3=_0x3c1324[_0x4a6dcd(0x204)]&&_0x3e335c['Yvnur'](_0x3c1324['timeoutMs'],0x0)?setTimeout(()=>{const _0x1e3a64=_0x4a6dcd;_0x15eeda=!![],_0x33cb2b[_0x1e3a64(0x208)](_0x1e3a64(0x1fc)),setTimeout(()=>{const _0x5927e8=_0x1e3a64;try{_0x33cb2b[_0x5927e8(0x208)]('SIGKILL');}catch{}},0x3e8);},_0x3c1324['timeoutMs']):null;_0x33cb2b[_0x4a6dcd(0x201)]?.['on'](_0x4a6dcd(0x1e8),_0x3ddbe3=>{const _0x4e2e9e=_0x4a6dcd;_0xd88c78+=_0x3ddbe3[_0x4e2e9e(0x200)]();}),_0x33cb2b['stderr']?.['on'](_0x3e335c[_0x4a6dcd(0x213)],_0x1fe06b=>{_0x2b737a+=_0x1fe06b['toString']();}),_0x33cb2b['on'](_0x3e335c['fYLSF'],_0x1160f5=>{const _0x4808d5=_0x4a6dcd;if(_0xf5a4c3)_0xbf9d55[_0x4808d5(0x1ef)](clearTimeout,_0xf5a4c3);_0x4b5fb1(_0x1160f5);}),_0x33cb2b['on'](_0x3e335c['ktVpP'],(_0x3c5684,_0x45b9b1)=>{const _0x3fe309=_0x4a6dcd;if(_0xf5a4c3)_0xbf9d55[_0x3fe309(0x1ef)](clearTimeout,_0xf5a4c3);if(_0xbf9d55[_0x3fe309(0x205)](_0x3c5684,0x0)){_0xbf9d55[_0x3fe309(0x1ec)](_0x2a9029,{'stdout':_0xd88c78,'stderr':_0x2b737a,'invocation':_0x1b7197});return;}const _0x45ef2f=_0x15eeda?'timed\x20out\x20after\x20'+_0x3c1324[_0x3fe309(0x204)]+'ms':_0x3fe309(0x20d)+_0xbf9d55['SEqLJ'](_0x3c5684,_0x3fe309(0x1e3))+_0x3fe309(0x20a)+(_0x45b9b1??'null');_0xbf9d55[_0x3fe309(0x1ef)](_0x4b5fb1,new Error('playwright-cli\x20'+_0x1b7197['subcommand']+'\x20'+_0x45ef2f+_0x3fe309(0x1e4)+truncateOutput(_0xd88c78)+_0x3fe309(0x1f6)+_0xbf9d55['KdPqr'](truncateOutput,_0x2b737a)));});});}export function extractBashCommand(_0x2db90c){const _0x3eb013=_0x5c0c,_0x20ee2d={'nVVIY':_0x3eb013(0x203)},_0x51148c=['command','cmd','script',_0x20ee2d[_0x3eb013(0x1e1)]];for(const _0x456031 of _0x51148c){const _0x4908be=_0x2db90c[_0x456031];if(typeof _0x4908be==='string'&&_0x4908be['trim']())return _0x4908be;}const _0x1caf56=Object['values'](_0x2db90c)[_0x3eb013(0x1fb)](_0x4943da=>typeof _0x4943da==='string'&&_0x4943da[_0x3eb013(0x1e7)]()[_0x3eb013(0x211)]>0x0);return _0x1caf56??null;}export function parsePlaywrightCliCommand(_0x1a394a){const _0x42a15b=_0x1a394a['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x42a15b?.[0x1]??null;}
@@ -1 +1 @@
1
- (function(_0x1df9f9,_0x2b17ca){const _0x1aaaf1=_0x5a5f,_0x225885=_0x1df9f9();while(!![]){try{const _0x557136=-parseInt(_0x1aaaf1(0x19b))/0x1*(-parseInt(_0x1aaaf1(0x197))/0x2)+-parseInt(_0x1aaaf1(0x19c))/0x3+parseInt(_0x1aaaf1(0x19a))/0x4+-parseInt(_0x1aaaf1(0x19d))/0x5+-parseInt(_0x1aaaf1(0x19f))/0x6+-parseInt(_0x1aaaf1(0x199))/0x7*(-parseInt(_0x1aaaf1(0x198))/0x8)+-parseInt(_0x1aaaf1(0x19e))/0x9;if(_0x557136===_0x2b17ca)break;else _0x225885['push'](_0x225885['shift']());}catch(_0x101248){_0x225885['push'](_0x225885['shift']());}}}(_0x5047,0xbe950));function _0x5a5f(_0x1ac53a,_0x3460aa){_0x1ac53a=_0x1ac53a-0x197;const _0x5047e6=_0x5047();let _0x5a5f1d=_0x5047e6[_0x1ac53a];return _0x5a5f1d;}function _0x5047(){const _0x2fe28d=['4935450szrutP','5764185OeRRow','5586630utBMWS','2qIyPXY','472zCCqbL','118321KqrLaH','4844192TDYIwi','1189569XBiZdH','175830hEnDhr'];_0x5047=function(){return _0x2fe28d;};return _0x5047();}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';export function formatProfileRequiredMessage(_0x57100b){const _0x250c1f=_0x57100b?_0x57100b(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'+_0x250c1f+'.';}
1
+ const _0x7d5475=_0x10ba;(function(_0x568817,_0x3f5153){const _0x38b39b=_0x10ba,_0x1a4556=_0x568817();while(!![]){try{const _0x17584e=parseInt(_0x38b39b(0x11b))/0x1*(parseInt(_0x38b39b(0x120))/0x2)+-parseInt(_0x38b39b(0x11c))/0x3*(parseInt(_0x38b39b(0x123))/0x4)+parseInt(_0x38b39b(0x122))/0x5*(parseInt(_0x38b39b(0x11d))/0x6)+parseInt(_0x38b39b(0x11a))/0x7*(-parseInt(_0x38b39b(0x117))/0x8)+parseInt(_0x38b39b(0x119))/0x9*(parseInt(_0x38b39b(0x118))/0xa)+parseInt(_0x38b39b(0x11e))/0xb*(parseInt(_0x38b39b(0x121))/0xc)+-parseInt(_0x38b39b(0x11f))/0xd;if(_0x17584e===_0x3f5153)break;else _0x1a4556['push'](_0x1a4556['shift']());}catch(_0x5270db){_0x1a4556['push'](_0x1a4556['shift']());}}}(_0x2348,0x90c11));const DEFAULT_PROFILE_COMMAND=_0x7d5475(0x116);export function formatProfileRequiredMessage(_0x1c3e0c){const _0x342cf9={'SZNWb':function(_0x313edc,_0x2803d5){return _0x313edc(_0x2803d5);}},_0x3d38ad=_0x1c3e0c?_0x342cf9['SZNWb'](_0x1c3e0c,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'+_0x3d38ad+'.';}function _0x10ba(_0x2e7afc,_0xf3d26b){_0x2e7afc=_0x2e7afc-0x116;const _0x2348ac=_0x2348();let _0x10ba15=_0x2348ac[_0x2e7afc];return _0x10ba15;}function _0x2348(){const _0x24e12d=['7NUdScg','2699871QVzyDo','6PSHVgH','418ZQumHK','6324240ztUPmx','184638rmwDfk','56424YIHsPw','2899850NvcVgI','4PEdphE','ranger\x20profile\x20add\x20local','680zNKdXc','20dzbUBB','4304457UmCTfg','31465nuaivS'];_0x2348=function(){return _0x24e12d;};return _0x2348();}
@@ -1 +1 @@
1
- function _0x5d15(_0x59fe01,_0x183028){_0x59fe01=_0x59fe01-0x1a6;const _0xce0e9b=_0xce0e();let _0x5d15f4=_0xce0e9b[_0x59fe01];return _0x5d15f4;}function _0xce0e(){const _0x33d23a=['VGqiY','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','1019520lhwAjO','5636kKQxWF','419890BMnqqI','50930MbRYBV','1060IWAwTk','391622IlQXyY','ypAZE','61011PEKeIN','\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','ptCKS','1459927KJYXOT','<div\x20class=\x22ranger-banner__content\x22>','<div\x20class=\x22ranger-banner__message\x22>','45MIGqkB',';\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','aiJQJ','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','6OhfCVn','16BVTCPJ'];_0xce0e=function(){return _0x33d23a;};return _0xce0e();}(function(_0xc7e23e,_0x431e04){const _0x47f2ce=_0x5d15,_0x5b7df3=_0xc7e23e();while(!![]){try{const _0x2e8cb2=parseInt(_0x47f2ce(0x1a9))/0x1+-parseInt(_0x47f2ce(0x1b6))/0x2*(parseInt(_0x47f2ce(0x1ab))/0x3)+parseInt(_0x47f2ce(0x1ba))/0x4*(-parseInt(_0x47f2ce(0x1a8))/0x5)+parseInt(_0x47f2ce(0x1b5))/0x6*(parseInt(_0x47f2ce(0x1ae))/0x7)+-parseInt(_0x47f2ce(0x1b9))/0x8+-parseInt(_0x47f2ce(0x1b1))/0x9*(-parseInt(_0x47f2ce(0x1a6))/0xa)+-parseInt(_0x47f2ce(0x1a7))/0xb;if(_0x2e8cb2===_0x431e04)break;else _0x5b7df3['push'](_0x5b7df3['shift']());}catch(_0x59e30f){_0x5b7df3['push'](_0x5b7df3['shift']());}}}(_0xce0e,0x34e4e));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x55966b=_0x5d15,_0x35151d={'ypAZE':function(_0x208808,_0x232360){return _0x208808+_0x232360;},'VGqiY':function(_0x88a8dd,_0x163cfa){return _0x88a8dd+_0x163cfa;},'ptCKS':_0x55966b(0x1af),'cljFu':_0x55966b(0x1b0),'aiJQJ':_0x55966b(0x1b8),'atXMD':'</div>'},_0x2c7675=_0x35151d[_0x55966b(0x1aa)](_0x35151d[_0x55966b(0x1b7)](_0x35151d[_0x55966b(0x1ad)],_0x55966b(0x1b4))+_0x35151d['cljFu']+_0x35151d[_0x55966b(0x1b3)],'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>')+'</div>'+_0x35151d['atXMD']+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x480453=_0x55966b(0x1ac);return'\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'+JSON['stringify'](_0x2c7675)+_0x55966b(0x1b2)+JSON['stringify'](_0x480453)+';\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';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x1f47da){await _0x1f47da['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x35802f,_0x28670e){const _0xd1bfd8=_0x1429,_0x303e8a=_0x35802f();while(!![]){try{const _0xc70444=-parseInt(_0xd1bfd8(0x143))/0x1+-parseInt(_0xd1bfd8(0x13e))/0x2+-parseInt(_0xd1bfd8(0x14a))/0x3*(-parseInt(_0xd1bfd8(0x144))/0x4)+-parseInt(_0xd1bfd8(0x13f))/0x5+-parseInt(_0xd1bfd8(0x13d))/0x6+-parseInt(_0xd1bfd8(0x146))/0x7+-parseInt(_0xd1bfd8(0x148))/0x8*(-parseInt(_0xd1bfd8(0x147))/0x9);if(_0xc70444===_0x28670e)break;else _0x303e8a['push'](_0x303e8a['shift']());}catch(_0x4021d0){_0x303e8a['push'](_0x303e8a['shift']());}}}(_0x1233,0x3d39d));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3ece64=_0x1429,_0x35406d={'FlNkS':function(_0x1ff3bc,_0x1895a5){return _0x1ff3bc+_0x1895a5;},'wphqn':function(_0x47acbe,_0x2ef5de){return _0x47acbe+_0x2ef5de;},'aXyOY':function(_0x46a1c4,_0x29f306){return _0x46a1c4+_0x29f306;},'TwdGg':'<div\x20class=\x22ranger-banner__content\x22>','CllEx':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','nEvNl':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','ojmpz':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x3f3266=_0x35406d['FlNkS'](_0x35406d['wphqn'](_0x35406d['aXyOY'](_0x35406d[_0x3ece64(0x14b)](_0x35406d['TwdGg']+_0x35406d['CllEx'],_0x3ece64(0x140)),'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>')+_0x35406d['nEvNl'],_0x3ece64(0x145)),_0x3ece64(0x145))+_0x35406d['ojmpz'],_0x3969de='\x0a#ranger-profile-setup-banner\x20{\x0a\x20\x20position:\x20fixed;\x0a\x20\x20top:\x200;\x0a\x20\x20left:\x200;\x0a\x20\x20right:\x200;\x0a\x20\x20z-index:\x202147483647;\x0a\x20\x20display:\x20flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20space-between;\x0a\x20\x20gap:\x2012px;\x0a\x20\x20padding:\x2010px\x2016px;\x0a\x20\x20background:\x20#EE9322;\x0a\x20\x20color:\x20#f9f6f6;\x0a\x20\x20font-family:\x20\x22Space\x20Grotesk\x22,\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20sans-serif;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.4;\x0a\x20\x20border-bottom:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.25);\x0a\x20\x20box-shadow:\x200\x202px\x206px\x20rgba(32,\x208,\x209,\x200.2);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__content\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-direction:\x20column;\x0a\x20\x20align-items:\x20flex-start;\x0a\x20\x20gap:\x204px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__heading\x20{\x0a\x20\x20font-weight:\x20700;\x0a\x20\x20letter-spacing:\x200.02em;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__message\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20flex-wrap:\x20wrap;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20gap:\x206px;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__title\x20{\x0a\x20\x20font-weight:\x20600;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20display:\x20inline-flex;\x0a\x20\x20align-items:\x20center;\x0a\x20\x20justify-content:\x20center;\x0a\x20\x20width:\x2028px;\x0a\x20\x20height:\x2028px;\x0a\x20\x20border-radius:\x206px;\x0a\x20\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.45);\x0a\x20\x20background:\x20transparent;\x0a\x20\x20color:\x20#fdf7f7;\x0a\x20\x20cursor:\x20pointer;\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201;\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:hover\x20{\x0a\x20\x20background:\x20rgba(255,\x20255,\x20255,\x200.18);\x0a}\x0a\x0a#ranger-profile-setup-banner\x20.ranger-banner__close:focus\x20{\x0a\x20\x20outline:\x202px\x20solid\x20#ffffff;\x0a\x20\x20outline-offset:\x202px;\x0a}\x0a\x0a@media\x20(max-width:\x20640px)\x20{\x0a\x20\x20#ranger-profile-setup-banner\x20{\x0a\x20\x20\x20\x20align-items:\x20flex-start;\x0a\x20\x20}\x0a\x0a\x20\x20#ranger-profile-setup-banner\x20.ranger-banner__close\x20{\x0a\x20\x20\x20\x20margin-top:\x202px;\x0a\x20\x20}\x0a}\x0a';return'\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'+JSON['stringify'](_0x3f3266)+_0x3ece64(0x142)+JSON['stringify'](_0x3969de)+_0x3ece64(0x141);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x1429(_0x1920cc,_0x7a8b1e){_0x1920cc=_0x1920cc-0x13d;const _0x123371=_0x1233();let _0x14299b=_0x123371[_0x1920cc];return _0x14299b;}function _0x1233(){const _0x388f1e=['addInitScript','3JpPTku','aXyOY','734382AtMixG','291270VQZRRB','545395HpxUOj','<div\x20class=\x22ranger-banner__message\x22>',';\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',';\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','122675CgKYQq','883132TJkymG','</div>','1405131MpDIFO','2979dbmzYe','17656TMrqVq'];_0x1233=function(){return _0x388f1e;};return _0x1233();}export async function addProfileSetupBanner(_0x15340d){const _0x2016b5=_0x1429;await _0x15340d[_0x2016b5(0x149)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0xfb546b,_0x55327d){const _0x1feef1=_0x4ce9,_0x3b830b=_0xfb546b();while(!![]){try{const _0x16debc=parseInt(_0x1feef1(0xed))/0x1+-parseInt(_0x1feef1(0xef))/0x2+parseInt(_0x1feef1(0xc9))/0x3*(-parseInt(_0x1feef1(0xf3))/0x4)+-parseInt(_0x1feef1(0xcd))/0x5*(-parseInt(_0x1feef1(0xe8))/0x6)+-parseInt(_0x1feef1(0xd6))/0x7+-parseInt(_0x1feef1(0xc8))/0x8+parseInt(_0x1feef1(0xdf))/0x9*(parseInt(_0x1feef1(0xce))/0xa);if(_0x16debc===_0x55327d)break;else _0x3b830b['push'](_0x3b830b['shift']());}catch(_0x543493){_0x3b830b['push'](_0x3b830b['shift']());}}}(_0x1b24,0x6d984));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';function _0x4ce9(_0x40e31a,_0x491ed9){_0x40e31a=_0x40e31a-0xc5;const _0x1b240c=_0x1b24();let _0x4ce95c=_0x1b240c[_0x40e31a];return _0x4ce95c;}import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x2244bf=_0x4ce9,_0xf94ecc={'MQLbc':function(_0x9aab7e){return _0x9aab7e();},'ZyQQq':'projects.json'};return join(_0xf94ecc[_0x2244bf(0xca)](getRangerHomeDir),_0xf94ecc['ZyQQq']);}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x4c2535=_0x4ce9,_0x1b4bad={'zJoPv':function(_0x164621){return _0x164621();},'EVoxj':function(_0x1d01b7){return _0x1d01b7();},'LPmca':function(_0x21b096,_0x327df7){return _0x21b096!==_0x327df7;},'OpfCn':_0x4c2535(0xcf),'CSPnD':function(_0x5ad804,_0x516b8b){return _0x5ad804!==_0x516b8b;}},_0x1012d8=getProjectsConfigPath();if(!existsSync(_0x1012d8))return _0x1b4bad[_0x4c2535(0xdb)](emptyConfig);let _0x230117;try{_0x230117=readFileSync(_0x1012d8,_0x4c2535(0xe1));}catch(_0x10a07e){const _0x35f800=_0x10a07e instanceof Error?_0x10a07e[_0x4c2535(0xd0)]:String(_0x10a07e);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x1012d8+':\x20'+_0x35f800+_0x4c2535(0xd2)),_0x1b4bad['EVoxj'](emptyConfig);}let _0x1587a2;try{_0x1587a2=JSON['parse'](_0x230117);}catch(_0x10a62c){const _0x1ffdf4=_0x10a62c instanceof Error?_0x10a62c['message']:String(_0x10a62c);return console['warn']('[ranger]\x20Warning:\x20'+_0x1012d8+_0x4c2535(0xe0)+_0x1ffdf4+_0x4c2535(0xf0)),_0x1b4bad[_0x4c2535(0xdb)](emptyConfig);}if(!_0x1587a2||_0x1b4bad[_0x4c2535(0xe9)](typeof _0x1587a2,_0x1b4bad['OpfCn'])||Array[_0x4c2535(0xda)](_0x1587a2)||_0x1587a2[_0x4c2535(0xe2)]!==CURRENT_VERSION||_0x1b4bad['CSPnD'](typeof _0x1587a2['projects'],_0x4c2535(0xcf))||_0x1587a2['projects']===null||Array[_0x4c2535(0xda)](_0x1587a2['projects']))return console['warn']('[ranger]\x20Warning:\x20'+_0x1012d8+_0x4c2535(0xf1)),emptyConfig();return _0x1587a2;}export function writeProjectsConfig(_0x38f20c){const _0x4a5746=_0x4ce9,_0x314d04={'pLpIL':function(_0xbc8d8c){return _0xbc8d8c();},'XyGhN':function(_0x5220d1,_0x46ea54){return _0x5220d1(_0x46ea54);},'miQtD':function(_0x34700f,_0x1a360c){return _0x34700f+_0x1a360c;},'RDsgN':function(_0xf67de2,_0x480d71,_0x1389f0,_0x324bfb){return _0xf67de2(_0x480d71,_0x1389f0,_0x324bfb);},'WTBVf':'utf-8','RvHKo':function(_0x2a1592,_0x49d75e,_0x33dbfa){return _0x2a1592(_0x49d75e,_0x33dbfa);},'wamdU':function(_0x1113ad,_0x1bf7c8){return _0x1113ad(_0x1bf7c8);}},_0x2485a1=_0x314d04[_0x4a5746(0xd8)](getProjectsConfigPath),_0x2b20f8=dirname(_0x2485a1);!_0x314d04[_0x4a5746(0xd9)](existsSync,_0x2b20f8)&&mkdirSync(_0x2b20f8,{'recursive':!![]});const _0x5ec8d0=_0x2485a1+'.'+process[_0x4a5746(0xd4)]+'.'+Date[_0x4a5746(0xe7)]()+'.tmp',_0x3cc501=_0x314d04['miQtD'](JSON[_0x4a5746(0xe5)](_0x38f20c,null,0x2),'\x0a');try{_0x314d04[_0x4a5746(0xee)](writeFileSync,_0x5ec8d0,_0x3cc501,{'encoding':_0x314d04['WTBVf'],'mode':0x180}),_0x314d04['RvHKo'](renameSync,_0x5ec8d0,_0x2485a1);}catch(_0x512aca){try{_0x314d04[_0x4a5746(0xec)](existsSync,_0x5ec8d0)&&unlinkSync(_0x5ec8d0);}catch{}throw _0x512aca;}}export function readProfileOverrides(_0x4303c4,_0x1eb000){const _0x4e8760=_0x4ce9,_0x10cd23=readProjectsConfig(),_0x2a29e1=_0x10cd23[_0x4e8760(0xcc)][_0x4303c4];if(!_0x2a29e1||!_0x2a29e1['profiles'])return null;const _0x18ac37=_0x2a29e1['profiles'][_0x1eb000];if(!_0x18ac37||!_0x18ac37[_0x4e8760(0xe6)])return null;return _0x18ac37['settings']??null;}export function setProfileOverride(_0xa2b5f8,_0x4f0d9d,_0x3a4871,_0x672f7e){const _0x36ca55=_0x4ce9,_0xd2605f={'KeSpu':'keyPath\x20is\x20required','RzUfg':function(_0x19d7ce){return _0x19d7ce();},'opwje':function(_0x22d79f,_0x4eed5a,_0x4325be,_0xcbaf1d){return _0x22d79f(_0x4eed5a,_0x4325be,_0xcbaf1d);},'gvtQg':function(_0x1ded3f,_0x2a8348){return _0x1ded3f(_0x2a8348);}};if(!_0x3a4871)throw new Error(_0xd2605f['KeSpu']);const _0x54a602=_0xd2605f[_0x36ca55(0xf4)](readProjectsConfig),_0x589a16=_0x54a602['projects'][_0xa2b5f8]??={},_0x524439=_0x589a16['profiles']??={},_0x62ff95=_0x524439[_0x4f0d9d]??={},_0x3dcec7=_0x62ff95['settings']??={};_0xd2605f[_0x36ca55(0xd7)](setByKeyPath,_0x3dcec7,_0x3a4871,_0x672f7e),_0xd2605f['gvtQg'](writeProjectsConfig,_0x54a602);}export function unsetProfileOverride(_0x3a922c,_0x5c0e16,_0x254306){const _0x1514ee=_0x4ce9;if(!_0x254306)throw new Error('keyPath\x20is\x20required');const _0xe6f125=readProjectsConfig(),_0x4acc58=_0xe6f125[_0x1514ee(0xcc)][_0x3a922c];if(!_0x4acc58?.['profiles'])return![];const _0x2b38a4=_0x4acc58[_0x1514ee(0xc7)][_0x5c0e16];if(!_0x2b38a4?.[_0x1514ee(0xe6)])return![];const _0x1652d5=deleteByKeyPath(_0x2b38a4['settings'],_0x254306);if(!_0x1652d5)return![];return writeProjectsConfig(_0xe6f125),!![];}export function resetProfileOverrides(_0x553d60,_0x20425e){const _0x3c2f3b=_0x4ce9,_0x28cc6a={'kzTFT':function(_0x1b02b0,_0x1f334e){return _0x1b02b0 in _0x1f334e;},'vnWYD':function(_0x196c2f,_0x126401){return _0x196c2f(_0x126401);}},_0x10e3a1=readProjectsConfig(),_0x24b5be=_0x10e3a1[_0x3c2f3b(0xcc)][_0x553d60];if(!_0x24b5be?.['profiles'])return;if(!_0x28cc6a[_0x3c2f3b(0xf2)](_0x20425e,_0x24b5be['profiles']))return;delete _0x24b5be['profiles'][_0x20425e],Object[_0x3c2f3b(0xe4)](_0x24b5be[_0x3c2f3b(0xc7)])['length']===0x0&&(!_0x24b5be['lastProfile']?delete _0x10e3a1['projects'][_0x553d60]:_0x24b5be[_0x3c2f3b(0xc7)]={}),_0x28cc6a[_0x3c2f3b(0xea)](writeProjectsConfig,_0x10e3a1);}export function readLastProfile(_0x2cda0f){const _0x223899=_0x4ce9,_0xa81f48={'amGyr':function(_0xf06fa7){return _0xf06fa7();}},_0x5aae42=_0xa81f48[_0x223899(0xc5)](readProjectsConfig),_0x19b6be=_0x5aae42['projects'][_0x2cda0f];return _0x19b6be?.[_0x223899(0xcb)]??null;}export function writeLastProfile(_0x175373,_0x98e368){const _0x5a9748=readProjectsConfig(),_0x388cb4=_0x5a9748['projects'][_0x175373]??={};_0x388cb4['lastProfile']=_0x98e368,writeProjectsConfig(_0x5a9748);}export function clearLastProfile(_0x4eea19,_0x9a6e4b){const _0xdadf50=_0x4ce9,_0x1cbdd5=readProjectsConfig(),_0x2303e8=_0x1cbdd5['projects'][_0x4eea19];if(!_0x2303e8||_0x2303e8[_0xdadf50(0xcb)]!==_0x9a6e4b)return![];return delete _0x2303e8[_0xdadf50(0xcb)],(!_0x2303e8[_0xdadf50(0xc7)]||Object['keys'](_0x2303e8['profiles'])['length']===0x0)&&delete _0x1cbdd5['projects'][_0x4eea19],writeProjectsConfig(_0x1cbdd5),!![];}export function mergeCloudProfileSettings(_0x3972c7,_0x28f220){const _0x504a2d=_0x4ce9,_0x541142={'LDife':function(_0x405b83,_0x5bac87){return _0x405b83??_0x5bac87;},'RcnEi':'headers','IihUg':function(_0x55020a,_0x4b12af){return _0x55020a===_0x4b12af;},'FSjVc':function(_0x2c4782,_0x2768fa){return _0x2c4782!==_0x2768fa;}},_0x1c23f0={..._0x541142[_0x504a2d(0xdc)](_0x3972c7,{})};if(!_0x28f220)return _0x1c23f0;for(const [_0x32743b,_0x111505]of Object['entries'](_0x28f220)){if(_0x111505===undefined)continue;if(_0x111505===null){delete _0x1c23f0[_0x32743b];continue;}if(_0x32743b===_0x541142[_0x504a2d(0xd5)]||_0x541142[_0x504a2d(0xd1)](_0x32743b,'setupHeaders')){const _0x5a8756=asRecord(_0x1c23f0[_0x32743b])??{},_0x23ae47=asRecord(_0x111505);if(!_0x23ae47){_0x1c23f0[_0x32743b]=_0x111505;continue;}const _0x35cd68={..._0x5a8756};for(const [_0x3ed5fc,_0x10fd6e]of Object[_0x504a2d(0xd3)](_0x23ae47)){if(_0x541142[_0x504a2d(0xd1)](_0x10fd6e,null))delete _0x35cd68[_0x3ed5fc];else _0x541142[_0x504a2d(0xdd)](_0x10fd6e,undefined)&&(_0x35cd68[_0x3ed5fc]=_0x10fd6e);}_0x1c23f0[_0x32743b]=_0x35cd68;continue;}_0x1c23f0[_0x32743b]=_0x111505;}return _0x1c23f0;}function asRecord(_0xf9bd25){const _0x351590=_0x4ce9,_0x5ad6b5={'ErIFk':'object'};return _0xf9bd25&&typeof _0xf9bd25===_0x5ad6b5[_0x351590(0xe3)]&&!Array['isArray'](_0xf9bd25)?_0xf9bd25:undefined;}function _0x1b24(){const _0x4d3c2d=['vnWYD','length','wamdU','496639vSxxvS','RDsgN','203540gZAYoP',').\x20Ignoring\x20local\x20profile\x20overrides.','\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.','kzTFT','18364UHwPvK','RzUfg','vkQfl','amGyr','rmoMa','profiles','452504dfiFFf','186muxDCI','MQLbc','lastProfile','projects','1206285NjmyFd','6553830SiEHca','object','message','IihUg','.\x20Ignoring\x20local\x20profile\x20overrides.','entries','pid','RcnEi','3509828FTXPPF','opwje','pLpIL','XyGhN','isArray','zJoPv','LDife','FSjVc','sfBcX','9shSEAB','\x20is\x20not\x20valid\x20JSON\x20(','utf-8','version','ErIFk','keys','stringify','settings','now','6frmOTc','LPmca'];_0x1b24=function(){return _0x4d3c2d;};return _0x1b24();}function setByKeyPath(_0xdd3c61,_0xa13c12,_0x31cbd0){const _0x2d9874=_0x4ce9,_0x44f2d9={'rmoMa':function(_0xa440a0,_0x380458){return _0xa440a0-_0x380458;}},_0xc86bfb=_0xa13c12['split']('.');let _0x59bef3=_0xdd3c61;for(let _0x363ef1=0x0;_0x363ef1<_0x44f2d9[_0x2d9874(0xc6)](_0xc86bfb['length'],0x1);_0x363ef1++){const _0x1f8995=_0xc86bfb[_0x363ef1],_0x3f33c6=_0x59bef3[_0x1f8995];(!_0x3f33c6||typeof _0x3f33c6!=='object'||Array[_0x2d9874(0xda)](_0x3f33c6))&&(_0x59bef3[_0x1f8995]={}),_0x59bef3=_0x59bef3[_0x1f8995];}_0x59bef3[_0xc86bfb[_0xc86bfb[_0x2d9874(0xeb)]-0x1]]=_0x31cbd0;}function deleteByKeyPath(_0x8ec21a,_0x4d2bee){const _0x2ad485=_0x4ce9,_0xf89070={'IuobW':function(_0x591f43,_0x3df3b0){return _0x591f43<_0x3df3b0;},'RVFNG':function(_0x5892d0,_0x31178b){return _0x5892d0!==_0x31178b;},'vkQfl':'object','sfBcX':function(_0x5272e6,_0x719e40){return _0x5272e6-_0x719e40;}},_0x587489=_0x4d2bee['split']('.');let _0x269254=_0x8ec21a;for(let _0x568d57=0x0;_0xf89070['IuobW'](_0x568d57,_0x587489['length']-0x1);_0x568d57++){const _0xf1884a=_0x587489[_0x568d57],_0x465f98=_0x269254[_0xf1884a];if(!_0x465f98||_0xf89070['RVFNG'](typeof _0x465f98,_0xf89070[_0x2ad485(0xf5)])||Array[_0x2ad485(0xda)](_0x465f98))return![];_0x269254=_0x465f98;}const _0x4f1146=_0x587489[_0xf89070[_0x2ad485(0xde)](_0x587489[_0x2ad485(0xeb)],0x1)];if(!(_0x4f1146 in _0x269254))return![];return delete _0x269254[_0x4f1146],!![];}
1
+ (function(_0x88be40,_0x1db442){const _0xfafd2b=_0x22bb,_0x2648d0=_0x88be40();while(!![]){try{const _0x56726a=parseInt(_0xfafd2b(0x17c))/0x1+parseInt(_0xfafd2b(0x177))/0x2*(parseInt(_0xfafd2b(0x18b))/0x3)+-parseInt(_0xfafd2b(0x174))/0x4*(parseInt(_0xfafd2b(0x169))/0x5)+-parseInt(_0xfafd2b(0x188))/0x6+-parseInt(_0xfafd2b(0x17a))/0x7+parseInt(_0xfafd2b(0x199))/0x8*(parseInt(_0xfafd2b(0x196))/0x9)+parseInt(_0xfafd2b(0x170))/0xa*(parseInt(_0xfafd2b(0x19a))/0xb);if(_0x56726a===_0x1db442)break;else _0x2648d0['push'](_0x2648d0['shift']());}catch(_0x3571fa){_0x2648d0['push'](_0x2648d0['shift']());}}}(_0xc1c5,0x81c9a));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';function _0x22bb(_0x514366,_0x1ad0f5){_0x514366=_0x514366-0x169;const _0xc1c5db=_0xc1c5();let _0x22bb16=_0xc1c5db[_0x514366];return _0x22bb16;}function _0xc1c5(){const _0x2eb532=['AJHwf','3OxUXMV','keys','split','CAqDm','lastProfile','now','object','entries','version','length','wfLDU','5121iAKPPF','message','projects','4744yMwyeX','2654839vLPftL','15nvfiZf','DgKWe','vpGzV','DfIJJ','UKDyH','[ranger]\x20Warning:\x20','wHvAL','50IRzqaS','isArray','rhlJU','ewiQz','1212212TuhrAK','keyPath\x20is\x20required','gUaRq','610556bakhzc','parse','warn','2871834hfVtYV','profiles','78905LhfAiV','pLqbv','OXmMJ','setupHeaders','stringify','AnIKJ','settings','.\x20Ignoring\x20local\x20profile\x20overrides.','SkDLu','projects.json','hauNb','\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.','463884EoYLAp','OSNnV'];_0xc1c5=function(){return _0x2eb532;};return _0xc1c5();}import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x5275ca=_0x22bb,_0x3e4c01={'ewiQz':function(_0x2e9a49){return _0x2e9a49();}};return join(_0x3e4c01[_0x5275ca(0x173)](getRangerHomeDir),_0x5275ca(0x185));}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x5494f5=_0x22bb,_0x2102b0={'CAqDm':function(_0x1c1320){return _0x1c1320();},'PxEXE':function(_0x3ccadd){return _0x3ccadd();},'tHbOK':function(_0x1d2814,_0x49c9d5,_0x2a5f34){return _0x1d2814(_0x49c9d5,_0x2a5f34);},'EqzRF':function(_0x4ca3b9,_0x86c1be){return _0x4ca3b9 instanceof _0x86c1be;},'aVxxA':function(_0x2334ba,_0x31a70c){return _0x2334ba(_0x31a70c);},'IfGVv':function(_0x502502,_0x3973a9){return _0x502502!==_0x3973a9;},'Noswq':_0x5494f5(0x191),'UKDyH':function(_0x7dc7f9,_0x23ed89){return _0x7dc7f9!==_0x23ed89;},'CUGrD':function(_0x3373c3,_0x2b825f){return _0x3373c3===_0x2b825f;}},_0x2cbcb1=_0x2102b0[_0x5494f5(0x18e)](getProjectsConfigPath);if(!existsSync(_0x2cbcb1))return _0x2102b0['PxEXE'](emptyConfig);let _0x20777f;try{_0x20777f=_0x2102b0['tHbOK'](readFileSync,_0x2cbcb1,'utf-8');}catch(_0x1a9bb1){const _0x4a1e33=_0x2102b0['EqzRF'](_0x1a9bb1,Error)?_0x1a9bb1['message']:_0x2102b0['aVxxA'](String,_0x1a9bb1);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x2cbcb1+':\x20'+_0x4a1e33+_0x5494f5(0x183)),emptyConfig();}let _0x11e663;try{_0x11e663=JSON[_0x5494f5(0x178)](_0x20777f);}catch(_0x31a452){const _0x27e328=_0x31a452 instanceof Error?_0x31a452[_0x5494f5(0x197)]:String(_0x31a452);return console['warn'](_0x5494f5(0x16e)+_0x2cbcb1+'\x20is\x20not\x20valid\x20JSON\x20('+_0x27e328+').\x20Ignoring\x20local\x20profile\x20overrides.'),emptyConfig();}if(!_0x11e663||_0x2102b0['IfGVv'](typeof _0x11e663,_0x2102b0['Noswq'])||Array['isArray'](_0x11e663)||_0x2102b0[_0x5494f5(0x16d)](_0x11e663[_0x5494f5(0x193)],CURRENT_VERSION)||typeof _0x11e663[_0x5494f5(0x198)]!==_0x2102b0['Noswq']||_0x2102b0['CUGrD'](_0x11e663[_0x5494f5(0x198)],null)||Array[_0x5494f5(0x171)](_0x11e663[_0x5494f5(0x198)]))return console[_0x5494f5(0x179)](_0x5494f5(0x16e)+_0x2cbcb1+_0x5494f5(0x187)),emptyConfig();return _0x11e663;}export function writeProjectsConfig(_0x91771){const _0x1102e3=_0x22bb,_0x30b366={'OPDnJ':function(_0x4553da,_0x3ed315){return _0x4553da(_0x3ed315);},'MCMMH':function(_0xc8d55,_0x47a613,_0x2c34a3){return _0xc8d55(_0x47a613,_0x2c34a3);},'RhUyh':function(_0x3d10fa,_0x365cc2){return _0x3d10fa+_0x365cc2;},'AtQTn':'utf-8','pLqbv':function(_0x455625,_0x4a0ab8){return _0x455625(_0x4a0ab8);}},_0x2c6169=getProjectsConfigPath(),_0x57cedd=_0x30b366['OPDnJ'](dirname,_0x2c6169);!existsSync(_0x57cedd)&&_0x30b366['MCMMH'](mkdirSync,_0x57cedd,{'recursive':!![]});const _0x3bbe55=_0x2c6169+'.'+process['pid']+'.'+Date[_0x1102e3(0x190)]()+'.tmp',_0x2a2d19=_0x30b366['RhUyh'](JSON[_0x1102e3(0x180)](_0x91771,null,0x2),'\x0a');try{writeFileSync(_0x3bbe55,_0x2a2d19,{'encoding':_0x30b366['AtQTn'],'mode':0x180}),renameSync(_0x3bbe55,_0x2c6169);}catch(_0x3afbb8){try{_0x30b366[_0x1102e3(0x17d)](existsSync,_0x3bbe55)&&_0x30b366['pLqbv'](unlinkSync,_0x3bbe55);}catch{}throw _0x3afbb8;}}export function readProfileOverrides(_0x21ee8a,_0x2c8ca1){const _0x498d16=_0x22bb,_0x1cdd50={'vpGzV':function(_0x1ac466){return _0x1ac466();}},_0x1b7bf6=_0x1cdd50[_0x498d16(0x16b)](readProjectsConfig),_0x49c75e=_0x1b7bf6['projects'][_0x21ee8a];if(!_0x49c75e||!_0x49c75e['profiles'])return null;const _0x59378f=_0x49c75e['profiles'][_0x2c8ca1];if(!_0x59378f||!_0x59378f['settings'])return null;return _0x59378f['settings']??null;}export function setProfileOverride(_0x104706,_0x4eee26,_0x2dfef3,_0x28747c){const _0x3fd496=_0x22bb,_0x2f5f2f={'OSNnV':function(_0x52514c){return _0x52514c();},'VyRYW':function(_0x221b69,_0x40b294){return _0x221b69(_0x40b294);}};if(!_0x2dfef3)throw new Error('keyPath\x20is\x20required');const _0x5544c5=_0x2f5f2f[_0x3fd496(0x189)](readProjectsConfig),_0x47e2c3=_0x5544c5[_0x3fd496(0x198)][_0x104706]??={},_0x1a8bd4=_0x47e2c3[_0x3fd496(0x17b)]??={},_0x4544dd=_0x1a8bd4[_0x4eee26]??={},_0x22422f=_0x4544dd[_0x3fd496(0x182)]??={};setByKeyPath(_0x22422f,_0x2dfef3,_0x28747c),_0x2f5f2f['VyRYW'](writeProjectsConfig,_0x5544c5);}export function unsetProfileOverride(_0x1eb9a5,_0x5c7888,_0x47c6cd){const _0x54fdd9=_0x22bb,_0x4cb5cc={'DzZLb':function(_0x2970cd){return _0x2970cd();},'rhlJU':function(_0x352b28,_0x5a6a71,_0x5eda4a){return _0x352b28(_0x5a6a71,_0x5eda4a);},'OXmMJ':function(_0x354f00,_0x380c30){return _0x354f00(_0x380c30);}};if(!_0x47c6cd)throw new Error(_0x54fdd9(0x175));const _0x326044=_0x4cb5cc['DzZLb'](readProjectsConfig),_0x113482=_0x326044[_0x54fdd9(0x198)][_0x1eb9a5];if(!_0x113482?.[_0x54fdd9(0x17b)])return![];const _0x4bfb80=_0x113482[_0x54fdd9(0x17b)][_0x5c7888];if(!_0x4bfb80?.['settings'])return![];const _0x47d549=_0x4cb5cc[_0x54fdd9(0x172)](deleteByKeyPath,_0x4bfb80['settings'],_0x47c6cd);if(!_0x47d549)return![];return _0x4cb5cc[_0x54fdd9(0x17e)](writeProjectsConfig,_0x326044),!![];}export function resetProfileOverrides(_0xb3bee9,_0x393d20){const _0xc46d52=_0x22bb,_0xa89b13={'bFAey':function(_0x46fa0f){return _0x46fa0f();},'AnIKJ':function(_0x261181,_0x5aa381){return _0x261181 in _0x5aa381;},'KgBmj':function(_0x331cc5,_0x3fab20){return _0x331cc5===_0x3fab20;},'MxIdf':function(_0x3ad610,_0x424315){return _0x3ad610(_0x424315);}},_0x340896=_0xa89b13['bFAey'](readProjectsConfig),_0x48d22e=_0x340896[_0xc46d52(0x198)][_0xb3bee9];if(!_0x48d22e?.['profiles'])return;if(!_0xa89b13[_0xc46d52(0x181)](_0x393d20,_0x48d22e['profiles']))return;delete _0x48d22e['profiles'][_0x393d20],_0xa89b13['KgBmj'](Object[_0xc46d52(0x18c)](_0x48d22e[_0xc46d52(0x17b)])['length'],0x0)&&(!_0x48d22e[_0xc46d52(0x18f)]?delete _0x340896[_0xc46d52(0x198)][_0xb3bee9]:_0x48d22e[_0xc46d52(0x17b)]={}),_0xa89b13['MxIdf'](writeProjectsConfig,_0x340896);}export function readLastProfile(_0x30da25){const _0x45bf64={'YzSks':function(_0x514590){return _0x514590();}},_0xde063d=_0x45bf64['YzSks'](readProjectsConfig),_0x35ab9b=_0xde063d['projects'][_0x30da25];return _0x35ab9b?.['lastProfile']??null;}export function writeLastProfile(_0x1a7ec2,_0x5ea43f){const _0x1c7d58=_0x22bb,_0x460d60=readProjectsConfig(),_0x4d2265=_0x460d60[_0x1c7d58(0x198)][_0x1a7ec2]??={};_0x4d2265[_0x1c7d58(0x18f)]=_0x5ea43f,writeProjectsConfig(_0x460d60);}export function clearLastProfile(_0x483759,_0x4aa365){const _0x1dd86a=_0x22bb,_0x3e512c={'WmgOi':function(_0x232346,_0x50b29f){return _0x232346(_0x50b29f);}},_0x5a7f85=readProjectsConfig(),_0xe2dff1=_0x5a7f85['projects'][_0x483759];if(!_0xe2dff1||_0xe2dff1[_0x1dd86a(0x18f)]!==_0x4aa365)return![];return delete _0xe2dff1['lastProfile'],(!_0xe2dff1[_0x1dd86a(0x17b)]||Object[_0x1dd86a(0x18c)](_0xe2dff1[_0x1dd86a(0x17b)])[_0x1dd86a(0x194)]===0x0)&&delete _0x5a7f85[_0x1dd86a(0x198)][_0x483759],_0x3e512c['WmgOi'](writeProjectsConfig,_0x5a7f85),!![];}export function mergeCloudProfileSettings(_0x5d6fc3,_0x1eaf5f){const _0x2e39ab=_0x22bb,_0x1d0d56={'Kezvw':function(_0x454361,_0x2ce40e){return _0x454361??_0x2ce40e;},'AJHwf':function(_0xaf2445,_0x39d4ea){return _0xaf2445===_0x39d4ea;},'wfLDU':function(_0x5d7972,_0x18e9cf){return _0x5d7972(_0x18e9cf);},'DfIJJ':function(_0x3f8b0d,_0x20e6b6){return _0x3f8b0d!==_0x20e6b6;}},_0x43fef4={..._0x1d0d56['Kezvw'](_0x5d6fc3,{})};if(!_0x1eaf5f)return _0x43fef4;for(const [_0x5cf2c9,_0x24c1bb]of Object[_0x2e39ab(0x192)](_0x1eaf5f)){if(_0x1d0d56[_0x2e39ab(0x18a)](_0x24c1bb,undefined))continue;if(_0x24c1bb===null){delete _0x43fef4[_0x5cf2c9];continue;}if(_0x1d0d56[_0x2e39ab(0x18a)](_0x5cf2c9,'headers')||_0x5cf2c9===_0x2e39ab(0x17f)){const _0xc28135=_0x1d0d56[_0x2e39ab(0x195)](asRecord,_0x43fef4[_0x5cf2c9])??{},_0x5a3224=_0x1d0d56[_0x2e39ab(0x195)](asRecord,_0x24c1bb);if(!_0x5a3224){_0x43fef4[_0x5cf2c9]=_0x24c1bb;continue;}const _0x42404e={..._0xc28135};for(const [_0x422953,_0xfa3933]of Object[_0x2e39ab(0x192)](_0x5a3224)){if(_0x1d0d56[_0x2e39ab(0x18a)](_0xfa3933,null))delete _0x42404e[_0x422953];else _0x1d0d56[_0x2e39ab(0x16c)](_0xfa3933,undefined)&&(_0x42404e[_0x422953]=_0xfa3933);}_0x43fef4[_0x5cf2c9]=_0x42404e;continue;}_0x43fef4[_0x5cf2c9]=_0x24c1bb;}return _0x43fef4;}function asRecord(_0x27c55f){const _0x3952e8=_0x22bb,_0x5e3ae0={'SkDLu':function(_0x4acdd1,_0x277717){return _0x4acdd1===_0x277717;}};return _0x27c55f&&_0x5e3ae0[_0x3952e8(0x184)](typeof _0x27c55f,'object')&&!Array[_0x3952e8(0x171)](_0x27c55f)?_0x27c55f:undefined;}function setByKeyPath(_0x13d541,_0x5078a7,_0x20871f){const _0x345ff=_0x22bb,_0x35253e={'DgKWe':function(_0x4659d3,_0x192ccc){return _0x4659d3<_0x192ccc;}},_0x9028cf=_0x5078a7[_0x345ff(0x18d)]('.');let _0x9f3ba=_0x13d541;for(let _0x5ab90e=0x0;_0x35253e[_0x345ff(0x16a)](_0x5ab90e,_0x9028cf['length']-0x1);_0x5ab90e++){const _0x3740aa=_0x9028cf[_0x5ab90e],_0x502597=_0x9f3ba[_0x3740aa];(!_0x502597||typeof _0x502597!=='object'||Array[_0x345ff(0x171)](_0x502597))&&(_0x9f3ba[_0x3740aa]={}),_0x9f3ba=_0x9f3ba[_0x3740aa];}_0x9f3ba[_0x9028cf[_0x9028cf[_0x345ff(0x194)]-0x1]]=_0x20871f;}function deleteByKeyPath(_0x405551,_0x3fecfe){const _0x55fd76=_0x22bb,_0x417f55={'wHvAL':function(_0x4c76f5,_0xac566e){return _0x4c76f5-_0xac566e;},'gUaRq':function(_0x25fc6a,_0x44400e){return _0x25fc6a-_0x44400e;},'hauNb':function(_0x487776,_0x95ec3c){return _0x487776 in _0x95ec3c;}},_0x42e575=_0x3fecfe[_0x55fd76(0x18d)]('.');let _0x11f686=_0x405551;for(let _0x49edb3=0x0;_0x49edb3<_0x417f55[_0x55fd76(0x16f)](_0x42e575[_0x55fd76(0x194)],0x1);_0x49edb3++){const _0x345d20=_0x42e575[_0x49edb3],_0x3a100a=_0x11f686[_0x345d20];if(!_0x3a100a||typeof _0x3a100a!==_0x55fd76(0x191)||Array['isArray'](_0x3a100a))return![];_0x11f686=_0x3a100a;}const _0x31fb55=_0x42e575[_0x417f55[_0x55fd76(0x176)](_0x42e575[_0x55fd76(0x194)],0x1)];if(!_0x417f55[_0x55fd76(0x186)](_0x31fb55,_0x11f686))return![];return delete _0x11f686[_0x31fb55],!![];}
@@ -1 +1 @@
1
- function _0x17bf(){const _0x58e498=['3vkSsrW','message','utf-8','object','710cPSPvn','618742kAbzeb','17543680qMgAEr','iVyxY','3228054UTuZHM','string','1359SFzYau','IuXxh','bQCTB','22576rGdicM','1939578yEOStA','47688vZWgvz','9361632gFAPyO'];_0x17bf=function(){return _0x58e498;};return _0x17bf();}(function(_0x5a0b89,_0x145d12){const _0x121c76=_0xf6e5,_0x1b9076=_0x5a0b89();while(!![]){try{const _0x391d8e=parseInt(_0x121c76(0x199))/0x1*(parseInt(_0x121c76(0x19e))/0x2)+-parseInt(_0x121c76(0x190))/0x3+-parseInt(_0x121c76(0x195))/0x4*(parseInt(_0x121c76(0x19d))/0x5)+parseInt(_0x121c76(0x196))/0x6+-parseInt(_0x121c76(0x198))/0x7+-parseInt(_0x121c76(0x197))/0x8*(-parseInt(_0x121c76(0x192))/0x9)+parseInt(_0x121c76(0x19f))/0xa;if(_0x391d8e===_0x145d12)break;else _0x1b9076['push'](_0x1b9076['shift']());}catch(_0x9cdaee){_0x1b9076['push'](_0x1b9076['shift']());}}}(_0x17bf,0xa8b45));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0xf6e5(_0x173d21,_0xefccfc){_0x173d21=_0x173d21-0x18f;const _0x17bfab=_0x17bf();let _0xf6e541=_0x17bfab[_0x173d21];return _0xf6e541;}export function getRangerConfigPath(){const _0x56703a=_0xf6e5,_0x2244cc={'iVyxY':function(_0x2ae97a){return _0x2ae97a();}};return join(_0x2244cc[_0x56703a(0x18f)](getRangerDir),'config.json');}export async function loadRangerConfig(){const _0x231203=_0xf6e5,_0x43c107={'IuXxh':function(_0x3ff0b8,_0x525007){return _0x3ff0b8!==_0x525007;},'bQCTB':_0x231203(0x19c),'sVfBS':_0x231203(0x191),'DLGbI':function(_0x4ee323,_0x39a367){return _0x4ee323 instanceof _0x39a367;}},_0x5df36e=getRangerConfigPath();if(!existsSync(_0x5df36e))return{};try{const _0x2717cd=await readFile(_0x5df36e,_0x231203(0x19b)),_0x94dcc=JSON['parse'](_0x2717cd);if(!_0x94dcc||_0x43c107[_0x231203(0x193)](typeof _0x94dcc,_0x43c107[_0x231203(0x194)])||Array['isArray'](_0x94dcc))return{};const _0x3c3e17={},_0x5b909e=_0x94dcc['model'];return typeof _0x5b909e===_0x43c107['sVfBS']&&(_0x3c3e17['model']=_0x5b909e),_0x3c3e17;}catch(_0x71bc03){const _0x571bd4=_0x43c107['DLGbI'](_0x71bc03,Error)?_0x71bc03[_0x231203(0x19a)]:String(_0x71bc03);return console['warn']('Failed\x20to\x20read\x20Ranger\x20config\x20at\x20'+_0x5df36e+':\x20'+_0x571bd4),{};}}
1
+ (function(_0x598c63,_0x2e07fd){const _0x3652c7=_0xc26e,_0xb223bb=_0x598c63();while(!![]){try{const _0x386fae=parseInt(_0x3652c7(0xfd))/0x1*(-parseInt(_0x3652c7(0xff))/0x2)+-parseInt(_0x3652c7(0x100))/0x3*(-parseInt(_0x3652c7(0x103))/0x4)+-parseInt(_0x3652c7(0xfc))/0x5+parseInt(_0x3652c7(0x104))/0x6*(-parseInt(_0x3652c7(0xfa))/0x7)+parseInt(_0x3652c7(0x107))/0x8*(-parseInt(_0x3652c7(0xfe))/0x9)+-parseInt(_0x3652c7(0xf8))/0xa+parseInt(_0x3652c7(0x10a))/0xb*(parseInt(_0x3652c7(0xf9))/0xc);if(_0x386fae===_0x2e07fd)break;else _0xb223bb['push'](_0xb223bb['shift']());}catch(_0x397af3){_0xb223bb['push'](_0xb223bb['shift']());}}}(_0x309b,0x4c264));import{readFile}from'fs/promises';function _0x309b(){const _0x550e51=['string','1382530IYkxMc','1VNJBpk','36klLroX','450382JkLoTW','156YQvUQe','config.json','TnVyS','28784YqYcms','372SHdznx','parse','JLRwy','574104DPwztR','mfuPB','message','449614KTnFyi','isArray','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','model','3276930HTgDwN','444UDBNCI','51730hoEcuM'];_0x309b=function(){return _0x550e51;};return _0x309b();}import{existsSync}from'fs';function _0xc26e(_0x210755,_0x429831){_0x210755=_0x210755-0xf6;const _0x309b00=_0x309b();let _0xc26e0f=_0x309b00[_0x210755];return _0xc26e0f;}import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x28a29f=_0xc26e;return join(getRangerDir(),_0x28a29f(0x101));}export async function loadRangerConfig(){const _0x2c7ebd=_0xc26e,_0x5993cd={'TeLpP':function(_0x3578fe){return _0x3578fe();},'mfuPB':function(_0x3218be,_0x40b21e,_0x1895d5){return _0x3218be(_0x40b21e,_0x1895d5);},'HsRzE':'utf-8','JLRwy':function(_0x5947f7,_0x461c36){return _0x5947f7!==_0x461c36;},'imfxW':'object','TnVyS':function(_0x1b330c,_0xcef08e){return _0x1b330c instanceof _0xcef08e;},'eEgDs':function(_0x47d092,_0x58deba){return _0x47d092(_0x58deba);}},_0x2edb47=_0x5993cd['TeLpP'](getRangerConfigPath);if(!existsSync(_0x2edb47))return{};try{const _0x10dbc2=await _0x5993cd[_0x2c7ebd(0x108)](readFile,_0x2edb47,_0x5993cd['HsRzE']),_0x17971b=JSON[_0x2c7ebd(0x105)](_0x10dbc2);if(!_0x17971b||_0x5993cd[_0x2c7ebd(0x106)](typeof _0x17971b,_0x5993cd['imfxW'])||Array[_0x2c7ebd(0x10b)](_0x17971b))return{};const _0x37180d={},_0x286cef=_0x17971b[_0x2c7ebd(0xf7)];return typeof _0x286cef===_0x2c7ebd(0xfb)&&(_0x37180d['model']=_0x286cef),_0x37180d;}catch(_0x9ffe2e){const _0x48cd45=_0x5993cd[_0x2c7ebd(0x102)](_0x9ffe2e,Error)?_0x9ffe2e[_0x2c7ebd(0x109)]:_0x5993cd['eEgDs'](String,_0x9ffe2e);return console['warn'](_0x2c7ebd(0xf6)+_0x2edb47+':\x20'+_0x48cd45),{};}}
@@ -1 +1 @@
1
- function _0x42bc(_0x1360e3,_0x350b60){_0x1360e3=_0x1360e3-0x190;const _0x307339=_0x3073();let _0x42bc87=_0x307339[_0x1360e3];return _0x42bc87;}function _0x3073(){const _0xfd2c5b=['FRtuS','3852044LLwbUg','700442yLAMlZ','JrXUs','.ranger','SJVSd','PRswd','.git','1lAOvYx','2354121skmNeM','177845suYlMz','1944MsxyTo','4743552DlVvSS','qgLMj','14983260UrcWnd','cwd','wgeTc','23319PQBMgN','hDUFb','276KJduKp'];_0x3073=function(){return _0xfd2c5b;};return _0x3073();}(function(_0x2eb267,_0x251fbd){const _0x105b01=_0x42bc,_0x38e9a9=_0x2eb267();while(!![]){try{const _0x4fdff3=-parseInt(_0x105b01(0x19e))/0x1*(-parseInt(_0x105b01(0x198))/0x2)+-parseInt(_0x105b01(0x1a2))/0x3+parseInt(_0x105b01(0x197))/0x4+-parseInt(_0x105b01(0x1a0))/0x5*(-parseInt(_0x105b01(0x195))/0x6)+parseInt(_0x105b01(0x19f))/0x7+-parseInt(_0x105b01(0x1a1))/0x8*(-parseInt(_0x105b01(0x193))/0x9)+-parseInt(_0x105b01(0x190))/0xa;if(_0x4fdff3===_0x251fbd)break;else _0x38e9a9['push'](_0x38e9a9['shift']());}catch(_0x251700){_0x38e9a9['push'](_0x38e9a9['shift']());}}}(_0x3073,0xcc0e4));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x4f107c=_0x42bc,_0x2ba0ae={'qgLMj':function(_0x3058ff,_0x224baf,_0x4dd32e){return _0x3058ff(_0x224baf,_0x4dd32e);},'FRtuS':_0x4f107c(0x19a)};let _0x9bf383=process[_0x4f107c(0x191)]();const _0x3b2468=parse(_0x9bf383)['root'];while(_0x9bf383!==_0x3b2468){if(existsSync(_0x2ba0ae['qgLMj'](join,_0x9bf383,_0x2ba0ae[_0x4f107c(0x196)])))return _0x9bf383;_0x9bf383=dirname(_0x9bf383);}if(existsSync(_0x2ba0ae[_0x4f107c(0x1a3)](join,_0x3b2468,_0x2ba0ae['FRtuS'])))return _0x3b2468;const _0x9984e9=findGitRoot();if(_0x9984e9)return _0x9984e9;return process[_0x4f107c(0x191)]();}export function getRangerDir(){const _0x5d2a1a=_0x42bc,_0x240993={'PnVnj':function(_0x36ffbf,_0x5333fe,_0x2a2a84){return _0x36ffbf(_0x5333fe,_0x2a2a84);},'hDUFb':function(_0x19161b){return _0x19161b();}};return _0x240993['PnVnj'](join,_0x240993[_0x5d2a1a(0x194)](getRangerRoot),'.ranger');}export function findGitRoot(){const _0x344a82=_0x42bc,_0xd2ff9b={'ZBhkC':function(_0x1f04ee,_0x6f5e6a){return _0x1f04ee!==_0x6f5e6a;},'VOsRY':function(_0x35aa07,_0x358500,_0x3f6da7){return _0x35aa07(_0x358500,_0x3f6da7);},'JrXUs':_0x344a82(0x19d),'SJVSd':function(_0x5065f1,_0x473401){return _0x5065f1(_0x473401);},'wgeTc':function(_0x136b0f,_0xe8e3a4){return _0x136b0f(_0xe8e3a4);}};let _0x33ebe7=process['cwd']();const _0x462e3f=parse(_0x33ebe7)['root'];while(_0xd2ff9b['ZBhkC'](_0x33ebe7,_0x462e3f)){if(existsSync(_0xd2ff9b['VOsRY'](join,_0x33ebe7,_0xd2ff9b[_0x344a82(0x199)])))return _0x33ebe7;_0x33ebe7=_0xd2ff9b[_0x344a82(0x19b)](dirname,_0x33ebe7);}if(_0xd2ff9b[_0x344a82(0x192)](existsSync,join(_0x462e3f,_0xd2ff9b[_0x344a82(0x199)])))return _0x462e3f;return null;}export function getRangerHomeDir(){const _0x9ce01f=_0x42bc,_0x1a822f={'jQsQH':function(_0x3b9930,_0xb14c63,_0x5deb39){return _0x3b9930(_0xb14c63,_0x5deb39);},'PRswd':'.ranger'};return _0x1a822f['jQsQH'](join,homedir(),_0x1a822f[_0x9ce01f(0x19c)]);}
1
+ (function(_0x12a918,_0x3063ac){const _0x4e28bf=_0x5bd4,_0x2ff309=_0x12a918();while(!![]){try{const _0x2af640=parseInt(_0x4e28bf(0x1aa))/0x1*(-parseInt(_0x4e28bf(0x1a2))/0x2)+parseInt(_0x4e28bf(0x19e))/0x3*(-parseInt(_0x4e28bf(0x194))/0x4)+-parseInt(_0x4e28bf(0x19c))/0x5*(parseInt(_0x4e28bf(0x19f))/0x6)+-parseInt(_0x4e28bf(0x192))/0x7*(parseInt(_0x4e28bf(0x193))/0x8)+parseInt(_0x4e28bf(0x19b))/0x9*(-parseInt(_0x4e28bf(0x1a7))/0xa)+parseInt(_0x4e28bf(0x1a6))/0xb*(-parseInt(_0x4e28bf(0x19a))/0xc)+-parseInt(_0x4e28bf(0x1a5))/0xd*(-parseInt(_0x4e28bf(0x1ab))/0xe);if(_0x2af640===_0x3063ac)break;else _0x2ff309['push'](_0x2ff309['shift']());}catch(_0x11492f){_0x2ff309['push'](_0x2ff309['shift']());}}}(_0x113e,0x74647));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x5b8edd=_0x5bd4,_0x6c1ca={'HVpzV':function(_0x3e20ff,_0x1345d7){return _0x3e20ff!==_0x1345d7;},'rLjLR':function(_0x24f089,_0x378944){return _0x24f089(_0x378944);},'dtUZj':'.ranger','fAeKa':function(_0x26f487,_0x45a44d){return _0x26f487(_0x45a44d);},'ACcKD':function(_0x5639bd,_0x56ab58,_0x5d5f5a){return _0x5639bd(_0x56ab58,_0x5d5f5a);}};let _0x5dc460=process['cwd']();const _0x4a30b4=parse(_0x5dc460)['root'];while(_0x6c1ca[_0x5b8edd(0x198)](_0x5dc460,_0x4a30b4)){if(_0x6c1ca['rLjLR'](existsSync,join(_0x5dc460,_0x6c1ca['dtUZj'])))return _0x5dc460;_0x5dc460=dirname(_0x5dc460);}if(_0x6c1ca['fAeKa'](existsSync,_0x6c1ca['ACcKD'](join,_0x4a30b4,_0x6c1ca[_0x5b8edd(0x195)])))return _0x4a30b4;const _0x94997e=findGitRoot();if(_0x94997e)return _0x94997e;return process['cwd']();}export function getRangerDir(){const _0x3cf0c9=_0x5bd4,_0x2ce966={'UXMhX':function(_0x5531df,_0x9dbea7,_0xf5e93c){return _0x5531df(_0x9dbea7,_0xf5e93c);},'DlVKr':function(_0x358118){return _0x358118();},'jVHAh':_0x3cf0c9(0x1a4)};return _0x2ce966[_0x3cf0c9(0x197)](join,_0x2ce966[_0x3cf0c9(0x1a9)](getRangerRoot),_0x2ce966[_0x3cf0c9(0x19d)]);}function _0x5bd4(_0x153447,_0x57cdd3){_0x153447=_0x153447-0x191;const _0x113e2b=_0x113e();let _0x5bd484=_0x113e2b[_0x153447];return _0x5bd484;}function _0x113e(){const _0x15722f=['jVHAh','3GeOaSg','7620zGswTi','.git','nfUwr','8570aKXtAk','vAwIg','.ranger','26OdmPih','384494FbTUuS','10fkiWAN','bAqBP','DlVKr','157LgvZkJ','18528594XYMCMJ','JhwhT','198135vwvybJ','8kmyXdt','1674168qcFhQI','dtUZj','SsFHW','UXMhX','HVpzV','WRPsT','12LbbBjo','8306487wTSSnt','365XAsTEw'];_0x113e=function(){return _0x15722f;};return _0x113e();}export function findGitRoot(){const _0xa3d103=_0x5bd4,_0x20d7c4={'SsFHW':function(_0x6192bb,_0x3af197){return _0x6192bb(_0x3af197);},'JhwhT':function(_0x3b9319,_0x4b84b9){return _0x3b9319!==_0x4b84b9;},'dFzSW':function(_0x5f2252,_0x5485c9,_0x82f6f9){return _0x5f2252(_0x5485c9,_0x82f6f9);},'vAwIg':_0xa3d103(0x1a0)};let _0x3dd44c=process['cwd']();const _0x2b9923=_0x20d7c4[_0xa3d103(0x196)](parse,_0x3dd44c)['root'];while(_0x20d7c4[_0xa3d103(0x191)](_0x3dd44c,_0x2b9923)){if(existsSync(_0x20d7c4['dFzSW'](join,_0x3dd44c,_0x20d7c4[_0xa3d103(0x1a3)])))return _0x3dd44c;_0x3dd44c=dirname(_0x3dd44c);}if(existsSync(join(_0x2b9923,_0x20d7c4['vAwIg'])))return _0x2b9923;return null;}export function getRangerHomeDir(){const _0xa7bff7=_0x5bd4,_0x20e788={'WRPsT':function(_0x3e5474,_0x5a398b,_0x4e4725){return _0x3e5474(_0x5a398b,_0x4e4725);},'bAqBP':function(_0x197002){return _0x197002();},'nfUwr':_0xa7bff7(0x1a4)};return _0x20e788[_0xa7bff7(0x199)](join,_0x20e788[_0xa7bff7(0x1a8)](homedir),_0x20e788[_0xa7bff7(0x1a1)]);}
@@ -1 +1 @@
1
- const _0xd351b6=_0x32b4;(function(_0x18f76d,_0x451376){const _0x3846ff=_0x32b4,_0x32512e=_0x18f76d();while(!![]){try{const _0xceda08=-parseInt(_0x3846ff(0x132))/0x1+parseInt(_0x3846ff(0x14e))/0x2+parseInt(_0x3846ff(0x14a))/0x3+-parseInt(_0x3846ff(0x13d))/0x4*(-parseInt(_0x3846ff(0x152))/0x5)+-parseInt(_0x3846ff(0x14c))/0x6+parseInt(_0x3846ff(0x15d))/0x7+parseInt(_0x3846ff(0x15b))/0x8*(-parseInt(_0x3846ff(0x141))/0x9);if(_0xceda08===_0x451376)break;else _0x32512e['push'](_0x32512e['shift']());}catch(_0x1c29e7){_0x32512e['push'](_0x32512e['shift']());}}}(_0x5751,0xcd2b7));function _0x32b4(_0x12c19a,_0x1f550b){_0x12c19a=_0x12c19a-0x12f;const _0x5751c6=_0x5751();let _0x32b464=_0x5751c6[_0x12c19a];return _0x32b464;}import{spawn}from'child_process';import{createRequire}from'module';import{dirname,join}from'path';import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE=_0xd351b6(0x15a);export const RANGERWRIGHT_CLI_BINARY=_0xd351b6(0x13e);function readPackageJson(_0x52b845){const _0x61bb8c=_0xd351b6,_0x51fa2b={'JSJbm':function(_0x1dd346,_0x32dc3e,_0xf45313){return _0x1dd346(_0x32dc3e,_0xf45313);}},_0x41ecd4=_0x51fa2b[_0x61bb8c(0x140)](readFileSync,_0x52b845,'utf-8'),_0x30e825=JSON['parse'](_0x41ecd4);if(!_0x30e825||typeof _0x30e825!=='object')return{};return _0x30e825;}export function resolveRangerwrightCliBinary(){const _0x24c41a=_0xd351b6,_0x3274be={'BJhuy':function(_0x567cd3,_0xc1c814){return _0x567cd3(_0xc1c814);},'UCcaS':function(_0x2ed788,_0x43a327){return _0x2ed788===_0x43a327;},'KarIY':'string'},_0x5c008a=_0x3274be['BJhuy'](createRequire,process[_0x24c41a(0x138)][0x1]||join(process[_0x24c41a(0x148)](),_0x24c41a(0x154))),_0x5c8280=_0x5c008a['resolve'](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x39d896=_0x3274be['BJhuy'](dirname,_0x5c8280),_0x433d83=readPackageJson(_0x5c8280),_0x2e3d42=_0x3274be[_0x24c41a(0x131)](typeof _0x433d83['bin'],_0x3274be['KarIY'])?_0x433d83[_0x24c41a(0x15c)]:_0x433d83[_0x24c41a(0x15c)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x2e3d42)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x24c41a(0x156)+RANGERWRIGHT_CLI_BINARY+_0x24c41a(0x14b));return join(_0x39d896,_0x2e3d42);}export function buildRangerwrightCliEnv(_0x33f368){const _0x484a50=_0xd351b6;return{'RANGERWRIGHT_SESSION':_0x33f368[_0x484a50(0x145)],'RANGERWRIGHT_CONFIG':_0x33f368['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x33f368[_0x484a50(0x150)],..._0x33f368['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x33f368['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x128873,_0x3e10eb){Object['assign'](_0x128873,buildRangerwrightCliEnv(_0x3e10eb));}export function buildRangerwrightCliCommandPrefix(_0x4eeba3=resolveRangerwrightCliBinary()){const _0x2649f1=_0xd351b6,_0x306a6c={'nstFr':function(_0x226edd,_0x551634){return _0x226edd(_0x551634);}};return _0x306a6c[_0x2649f1(0x146)](quoteShellArg,_0x4eeba3)+'\x20--json';}function getRangerwrightSubcommand(_0x5b14bf){const _0x4e9301=_0xd351b6,_0x3eea17={'yXExA':_0x4e9301(0x153)};return _0x5b14bf[0x0]??_0x3eea17[_0x4e9301(0x149)];}export function buildRangerwrightCliInvocation(_0x220624,_0x4282d5){const _0x34383c=_0xd351b6,_0x29995c={'QsrHh':function(_0x27e282,_0xa4b6dc){return _0x27e282(_0xa4b6dc);},'fYpwi':'--json'},_0x11caca=_0x220624[_0x34383c(0x136)]??resolveRangerwrightCliBinary(),_0x3a4d0a=['--json',..._0x4282d5];return{'command':_0x11caca,'args':_0x3a4d0a,'shellCommand':[_0x29995c['QsrHh'](quoteShellArg,_0x11caca),_0x29995c[_0x34383c(0x158)],..._0x4282d5['map'](quoteShellArg)][_0x34383c(0x130)]('\x20'),'subcommand':getRangerwrightSubcommand(_0x4282d5)};}function truncateOutput(_0x4a6c6f,_0x1997af=0x7d0){const _0x281ddd=_0xd351b6,_0x430a75={'WevMS':function(_0x757652,_0x306e65){return _0x757652+_0x306e65;}};return _0x4a6c6f[_0x281ddd(0x159)]>_0x1997af?_0x430a75['WevMS'](_0x4a6c6f['slice'](0x0,_0x1997af),'...'):_0x4a6c6f;}function _0x5751(){const _0x6e7ed5=['10779876uYNlfo','qJDan','args','null','sessionId','nstFr','\x0astdout:\x20','cwd','yXExA','4061910TYHCBb','\x20binary','3550806OYwYTP','stderr','542204Hwreoh','exited\x20with\x20code=','artifactDir','subcommand','1405335JXrMfb','unknown','package.json','qvtzM','\x20does\x20not\x20expose\x20a\x20','kill','fYpwi','length','@ranger-testing/rangerwright','8fyYAoy','bin','2779280lbVYAn','toString','join','UCcaS','797507DSDCDI','timed\x20out\x20after\x20','pipe','omicV','binaryPath','uSRSU','argv','IqtiP','\x20signal=','timeoutMs','command','20xhEZcL','rangerwright','bLtfE','JSJbm'];_0x5751=function(){return _0x6e7ed5;};return _0x5751();}export async function runRangerwrightCliCommand(_0x5cf317){const _0x39b505=_0xd351b6,_0x3644f1={'qqLFP':function(_0x38d1a1,_0xb650ce){return _0x38d1a1(_0xb650ce);},'CoDWv':function(_0x43532f,_0x1d9154){return _0x43532f??_0x1d9154;},'OwEDB':_0x39b505(0x144),'qvtzM':function(_0x50ac3e,_0x5a6b1a){return _0x50ac3e(_0x5a6b1a);},'bLtfE':function(_0x535e6f,_0x5a004b,_0x208cc2,_0x43e878){return _0x535e6f(_0x5a004b,_0x208cc2,_0x43e878);},'qJDan':_0x39b505(0x134),'omicV':function(_0xda1b09,_0x521dea){return _0xda1b09>_0x521dea;},'hNViS':'data','TqbpM':'error','tkoCh':'close','IqtiP':function(_0x388c2e,_0x3cafcb,_0x419ec2){return _0x388c2e(_0x3cafcb,_0x419ec2);}},_0x3c1fa5=_0x3644f1[_0x39b505(0x139)](buildRangerwrightCliInvocation,_0x5cf317,_0x5cf317['commandArgs']),_0x439203={..._0x5cf317['env']??process['env'],..._0x3644f1[_0x39b505(0x155)](buildRangerwrightCliEnv,_0x5cf317)};return new Promise((_0xecb48b,_0x565013)=>{const _0x2f9f4c=_0x39b505,_0x222642={'drkXB':'SIGKILL','uSRSU':'SIGTERM','tYmWG':function(_0x5b2bce,_0x1eae15){return _0x5b2bce(_0x1eae15);}},_0x363819=_0x3644f1[_0x2f9f4c(0x13f)](spawn,_0x3c1fa5[_0x2f9f4c(0x13c)],_0x3c1fa5[_0x2f9f4c(0x143)],{'cwd':_0x5cf317['cwd'],'env':_0x439203,'stdio':['ignore',_0x3644f1[_0x2f9f4c(0x142)],'pipe']});let _0x230996='',_0x1285ba='',_0x1ee7be=![];const _0x5b11dc=_0x5cf317['timeoutMs']&&_0x3644f1[_0x2f9f4c(0x135)](_0x5cf317[_0x2f9f4c(0x13b)],0x0)?setTimeout(()=>{const _0x313e08=_0x2f9f4c,_0x226459={'csxEX':_0x222642['drkXB']};_0x1ee7be=!![],_0x363819[_0x313e08(0x157)](_0x222642[_0x313e08(0x137)]),setTimeout(()=>{try{_0x363819['kill'](_0x226459['csxEX']);}catch{}},0x3e8);},_0x5cf317[_0x2f9f4c(0x13b)]):null;_0x363819['stdout']?.['on'](_0x3644f1['hNViS'],_0x138536=>{const _0x44fe27=_0x2f9f4c;_0x230996+=_0x138536[_0x44fe27(0x12f)]();}),_0x363819[_0x2f9f4c(0x14d)]?.['on'](_0x3644f1['hNViS'],_0xc62c53=>{const _0x565d92=_0x2f9f4c;_0x1285ba+=_0xc62c53[_0x565d92(0x12f)]();}),_0x363819['on'](_0x3644f1['TqbpM'],_0x31beec=>{if(_0x5b11dc)_0x222642['tYmWG'](clearTimeout,_0x5b11dc);_0x565013(_0x31beec);}),_0x363819['on'](_0x3644f1['tkoCh'],(_0x796246,_0x8a7b5e)=>{const _0x28b9c6=_0x2f9f4c;if(_0x5b11dc)_0x3644f1['qqLFP'](clearTimeout,_0x5b11dc);if(_0x796246===0x0){_0x3644f1['qqLFP'](_0xecb48b,{'stdout':_0x230996,'stderr':_0x1285ba,'invocation':_0x3c1fa5});return;}const _0x3cd497=_0x1ee7be?_0x28b9c6(0x133)+_0x5cf317['timeoutMs']+'ms':_0x28b9c6(0x14f)+_0x3644f1['CoDWv'](_0x796246,_0x3644f1['OwEDB'])+_0x28b9c6(0x13a)+(_0x8a7b5e??_0x3644f1['OwEDB']);_0x3644f1['qvtzM'](_0x565013,new Error('rangerwright-cli\x20'+_0x3c1fa5[_0x28b9c6(0x151)]+'\x20'+_0x3cd497+_0x28b9c6(0x147)+_0x3644f1['qqLFP'](truncateOutput,_0x230996)+'\x0astderr:\x20'+truncateOutput(_0x1285ba)));});});}export function parseRangerwrightCliCommand(_0x5f480f){const _0x1e6572=_0x5f480f['match'](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0x1e6572?.[0x1]??null;}
1
+ const _0x1f3704=_0xf903;(function(_0x53420e,_0x37014a){const _0x3f3bde=_0xf903,_0x26fe7e=_0x53420e();while(!![]){try{const _0x3c8d3c=parseInt(_0x3f3bde(0x1c8))/0x1*(parseInt(_0x3f3bde(0x1d2))/0x2)+parseInt(_0x3f3bde(0x1d4))/0x3+parseInt(_0x3f3bde(0x1c7))/0x4+-parseInt(_0x3f3bde(0x1e3))/0x5*(-parseInt(_0x3f3bde(0x1db))/0x6)+parseInt(_0x3f3bde(0x1c6))/0x7*(-parseInt(_0x3f3bde(0x1de))/0x8)+parseInt(_0x3f3bde(0x1d9))/0x9*(-parseInt(_0x3f3bde(0x1e1))/0xa)+-parseInt(_0x3f3bde(0x1c2))/0xb;if(_0x3c8d3c===_0x37014a)break;else _0x26fe7e['push'](_0x26fe7e['shift']());}catch(_0x25866){_0x26fe7e['push'](_0x26fe7e['shift']());}}}(_0x387e,0x45a39));import{spawn}from'child_process';function _0x387e(){const _0x180577=['469uQdXUE','591084bHUzSr','391532mwlgoS','close','artifactDir','SIGTERM','commandArgs','string','\x20does\x20not\x20expose\x20a\x20','\x0astderr:\x20','data','object','2WtKEoD','kill','1133919fyZgbV','argv','stdout','assign','null','14481AXDuON','command','1517952qJUHPX','bin','rangerwright','3856ODDalK','\x20binary','package.json','1930HdfrMN','XToAI','5RPgAeh','resolve','\x20--json','rangerwright-cli\x20','5964156aHYdeB','PfqDo','lOEPP','timeoutMs'];_0x387e=function(){return _0x180577;};return _0x387e();}import{createRequire}from'module';import{dirname,join}from'path';function _0xf903(_0x4a4c50,_0x22cdae){_0x4a4c50=_0x4a4c50-0x1bf;const _0x387e85=_0x387e();let _0xf90333=_0x387e85[_0x4a4c50];return _0xf90333;}import{readFileSync}from'fs';import{quoteShellArg}from'./playwrightCli.js';export const RANGERWRIGHT_CLI_PACKAGE='@ranger-testing/rangerwright';export const RANGERWRIGHT_CLI_BINARY=_0x1f3704(0x1dd);function readPackageJson(_0x1f9272){const _0x20abc8=_0x1f3704,_0x4aaac4=readFileSync(_0x1f9272,'utf-8'),_0x4bf764=JSON['parse'](_0x4aaac4);if(!_0x4bf764||typeof _0x4bf764!==_0x20abc8(0x1d1))return{};return _0x4bf764;}export function resolveRangerwrightCliBinary(){const _0x3514bb=_0x1f3704,_0x5c7f34={'JUNvZ':function(_0x59558d,_0x33a77f){return _0x59558d(_0x33a77f);},'WnalH':function(_0xdc1c55,_0x186add,_0x2b297d){return _0xdc1c55(_0x186add,_0x2b297d);}},_0x596e06=createRequire(process[_0x3514bb(0x1d5)][0x1]||join(process['cwd'](),_0x3514bb(0x1e0))),_0x2baf27=_0x596e06[_0x3514bb(0x1bf)](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x1e55df=dirname(_0x2baf27),_0x25eb68=_0x5c7f34['JUNvZ'](readPackageJson,_0x2baf27),_0x1f2685=typeof _0x25eb68['bin']===_0x3514bb(0x1cd)?_0x25eb68['bin']:_0x25eb68[_0x3514bb(0x1dc)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x1f2685)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x3514bb(0x1ce)+RANGERWRIGHT_CLI_BINARY+_0x3514bb(0x1df));return _0x5c7f34['WnalH'](join,_0x1e55df,_0x1f2685);}export function buildRangerwrightCliEnv(_0x485026){const _0x886d8a=_0x1f3704;return{'RANGERWRIGHT_SESSION':_0x485026['sessionId'],'RANGERWRIGHT_CONFIG':_0x485026['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x485026[_0x886d8a(0x1ca)],..._0x485026['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x485026['socketPath']}:{}};}export function applyRangerwrightCliEnv(_0x37d6f6,_0x193acb){const _0x17201b=_0x1f3704,_0x1ca2c6={'lbfrh':function(_0x5d4e70,_0x22f2ff){return _0x5d4e70(_0x22f2ff);}};Object[_0x17201b(0x1d7)](_0x37d6f6,_0x1ca2c6['lbfrh'](buildRangerwrightCliEnv,_0x193acb));}export function buildRangerwrightCliCommandPrefix(_0x35576a=resolveRangerwrightCliBinary()){const _0x4314f3=_0x1f3704;return quoteShellArg(_0x35576a)+_0x4314f3(0x1c0);}function getRangerwrightSubcommand(_0x17ff7a){return _0x17ff7a[0x0]??'unknown';}export function buildRangerwrightCliInvocation(_0x5e3529,_0x404d95){const _0x4b38f7={'wkZNU':function(_0x49f78d,_0x3122c3){return _0x49f78d(_0x3122c3);}},_0x173798=_0x5e3529['binaryPath']??resolveRangerwrightCliBinary(),_0x3d6e72=['--json',..._0x404d95];return{'command':_0x173798,'args':_0x3d6e72,'shellCommand':[quoteShellArg(_0x173798),'--json',..._0x404d95['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x4b38f7['wkZNU'](getRangerwrightSubcommand,_0x404d95)};}function truncateOutput(_0x34ecee,_0x14b189=0x7d0){return _0x34ecee['length']>_0x14b189?_0x34ecee['slice'](0x0,_0x14b189)+'...':_0x34ecee;}export async function runRangerwrightCliCommand(_0x22ee55){const _0xe17656=_0x1f3704,_0x4ecb65={'NqIpB':function(_0x2ff87a,_0x35052f,_0x404625,_0x211564){return _0x2ff87a(_0x35052f,_0x404625,_0x211564);},'kKsoD':'pipe','lOEPP':function(_0x73918c,_0x363b43){return _0x73918c>_0x363b43;},'PfqDo':function(_0xb73670,_0x389f72,_0x115bb6){return _0xb73670(_0x389f72,_0x115bb6);},'VshXf':_0xe17656(0x1c9),'pqwTc':function(_0x3cd351,_0x9d8b62){return _0x3cd351(_0x9d8b62);}},_0x2ec937=_0x4ecb65['PfqDo'](buildRangerwrightCliInvocation,_0x22ee55,_0x22ee55[_0xe17656(0x1cc)]),_0xe5a121={..._0x22ee55['env']??process['env'],..._0x4ecb65['pqwTc'](buildRangerwrightCliEnv,_0x22ee55)};return new Promise((_0x637f74,_0x14a721)=>{const _0x40f2b5=_0xe17656,_0x130d8e={'XToAI':function(_0x33db06,_0x1eb0de,_0x278e77){return _0x33db06(_0x1eb0de,_0x278e77);},'fMQic':function(_0x377e97,_0x596db5){return _0x377e97(_0x596db5);},'TfAAS':function(_0x352255,_0x28b2dc){return _0x352255===_0x28b2dc;},'abdAP':_0x40f2b5(0x1d8)},_0x191b1b=_0x4ecb65['NqIpB'](spawn,_0x2ec937[_0x40f2b5(0x1da)],_0x2ec937['args'],{'cwd':_0x22ee55['cwd'],'env':_0xe5a121,'stdio':['ignore','pipe',_0x4ecb65['kKsoD']]});let _0x3a3bc1='',_0x3e2dcf='',_0x17c3f8=![];const _0x49dc24=_0x22ee55['timeoutMs']&&_0x4ecb65[_0x40f2b5(0x1c4)](_0x22ee55['timeoutMs'],0x0)?_0x4ecb65[_0x40f2b5(0x1c3)](setTimeout,()=>{const _0x84a5fe=_0x40f2b5;_0x17c3f8=!![],_0x191b1b[_0x84a5fe(0x1d3)](_0x84a5fe(0x1cb)),_0x130d8e[_0x84a5fe(0x1e2)](setTimeout,()=>{const _0x3a1e7a=_0x84a5fe;try{_0x191b1b[_0x3a1e7a(0x1d3)]('SIGKILL');}catch{}},0x3e8);},_0x22ee55['timeoutMs']):null;_0x191b1b[_0x40f2b5(0x1d6)]?.['on'](_0x40f2b5(0x1d0),_0x122baa=>{_0x3a3bc1+=_0x122baa['toString']();}),_0x191b1b['stderr']?.['on'](_0x40f2b5(0x1d0),_0x35a10a=>{_0x3e2dcf+=_0x35a10a['toString']();}),_0x191b1b['on']('error',_0x21a14a=>{if(_0x49dc24)_0x130d8e['fMQic'](clearTimeout,_0x49dc24);_0x14a721(_0x21a14a);}),_0x191b1b['on'](_0x4ecb65['VshXf'],(_0x4c674d,_0x35c9f9)=>{const _0x17638b=_0x40f2b5;if(_0x49dc24)clearTimeout(_0x49dc24);if(_0x130d8e['TfAAS'](_0x4c674d,0x0)){_0x130d8e['fMQic'](_0x637f74,{'stdout':_0x3a3bc1,'stderr':_0x3e2dcf,'invocation':_0x2ec937});return;}const _0x12ffd3=_0x17c3f8?'timed\x20out\x20after\x20'+_0x22ee55[_0x17638b(0x1c5)]+'ms':'exited\x20with\x20code='+(_0x4c674d??_0x130d8e['abdAP'])+'\x20signal='+(_0x35c9f9??_0x130d8e['abdAP']);_0x14a721(new Error(_0x17638b(0x1c1)+_0x2ec937['subcommand']+'\x20'+_0x12ffd3+'\x0astdout:\x20'+_0x130d8e['fMQic'](truncateOutput,_0x3a3bc1)+_0x17638b(0x1cf)+truncateOutput(_0x3e2dcf)));});});}export function parseRangerwrightCliCommand(_0x1d59ae){const _0x3ab9fa=_0x1d59ae['match'](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0x3ab9fa?.[0x1]??null;}