@ranger-testing/ranger-cli 3.1.3-alpha.e1ca941-42 → 3.1.4-alpha.96fdd81-47

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 (86) 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/scenarioOriginCheck.js +1 -0
  71. package/build/commands/utils/sessionCache.js +1 -1
  72. package/build/commands/utils/settings.js +1 -1
  73. package/build/commands/utils/skillContent.js +1 -1
  74. package/build/commands/utils/skills.js +1 -1
  75. package/build/commands/utils/stitchWebmFiles.js +1 -1
  76. package/build/commands/utils/telemetry.js +1 -1
  77. package/build/commands/utils/tokenRefresh.js +1 -1
  78. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  79. package/build/commands/utils/tunnelClient.js +1 -1
  80. package/build/commands/utils/userApi.js +1 -1
  81. package/build/commands/utils/version.js +1 -1
  82. package/build/commands/verifyFeature.js +1 -1
  83. package/build/commands/verifyFeatureCli.js +1 -1
  84. package/build/commands/verifyFeatureNovaCli.js +1 -1
  85. package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
  86. package/package.json +3 -2
@@ -1 +1 @@
1
- (function(_0x50dbe1,_0x4ab528){const _0x5e9412=_0x2e0d,_0xfbf4f6=_0x50dbe1();while(!![]){try{const _0x154376=-parseInt(_0x5e9412(0x1e1))/0x1+-parseInt(_0x5e9412(0x196))/0x2+-parseInt(_0x5e9412(0x1b8))/0x3*(parseInt(_0x5e9412(0x1cd))/0x4)+-parseInt(_0x5e9412(0x1c4))/0x5+-parseInt(_0x5e9412(0x205))/0x6*(-parseInt(_0x5e9412(0x1bc))/0x7)+-parseInt(_0x5e9412(0x20d))/0x8+parseInt(_0x5e9412(0x1bf))/0x9;if(_0x154376===_0x4ab528)break;else _0xfbf4f6['push'](_0xfbf4f6['shift']());}catch(_0x48664f){_0xfbf4f6['push'](_0xfbf4f6['shift']());}}}(_0x5510,0x4e11f));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='act';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(_0xbbd596){const _0x5258fb=_0x2e0d,_0x264f73={'bndeG':function(_0xe8340c,_0x28caf7){return _0xe8340c(_0x28caf7);},'lgxDR':_0x5258fb(0x212)},_0x2eb060=_0x264f73[_0x5258fb(0x1a5)](createHash,'sha256')[_0x5258fb(0x1f2)](_0xbbd596)[_0x5258fb(0x1d1)](_0x264f73[_0x5258fb(0x1e0)])[_0x5258fb(0x22c)](0x0,0xc);return'rg-'+_0x2eb060;}export async function inspectNovaStorageStateFile(_0x12e031){const _0x363906=_0x2e0d,_0x4ec6b4={'vucvT':function(_0x454f05,_0x203ac6){return _0x454f05(_0x203ac6);},'werRF':function(_0x1eb183,_0x546ce6,_0x5d8832){return _0x1eb183(_0x546ce6,_0x5d8832);},'EsBXs':'utf-8','VPSsI':function(_0x335c87,_0x52df8f){return _0x335c87/_0x52df8f;},'iOsYJ':function(_0x1f0700,_0xcd830){return _0x1f0700 instanceof _0xcd830;}};try{const [_0xcc0174,_0x2f87b4]=await Promise[_0x363906(0x21f)]([_0x4ec6b4[_0x363906(0x1d5)](stat,_0x12e031),_0x4ec6b4['werRF'](readFile,_0x12e031,_0x4ec6b4[_0x363906(0x1c8)])]),_0x5be1fa={'path':_0x12e031,'exists':!![],'byteLength':Buffer[_0x363906(0x1c6)](_0x2f87b4),'sha256':createHash('sha256')[_0x363906(0x1f2)](_0x2f87b4)[_0x363906(0x1d1)]('hex')};try{const _0x2f2ae6=JSON['parse'](_0x2f87b4),_0x20b6af=_0x2f2ae6[_0x363906(0x1e8)]??[],_0x38ea5c=Math['floor'](_0x4ec6b4['VPSsI'](Date[_0x363906(0x1f0)](),0x3e8)),_0x462a9a=new Map();for(const _0x1aefa8 of _0x20b6af){const _0x5056d9=_0x462a9a[_0x363906(0x190)](_0x1aefa8[_0x363906(0x1c1)])??[];_0x5056d9[_0x363906(0x1ee)](_0x1aefa8[_0x363906(0x1e6)]),_0x462a9a['set'](_0x1aefa8[_0x363906(0x1c1)],_0x5056d9);}return{..._0x5be1fa,'byteLength':_0xcc0174[_0x363906(0x243)],'cookieCount':_0x20b6af['length'],'cookieDomains':[..._0x462a9a['entries']()]['sort'](([_0x20bcd2],[_0x197011])=>_0x20bcd2['localeCompare'](_0x197011))['map'](([_0x419eb3,_0x3768fd])=>({'domain':_0x419eb3,'count':_0x3768fd[_0x363906(0x222)],'names':_0x3768fd['sort']()[_0x363906(0x22c)](0x0,0x19)})),'httpOnlyCookieCount':_0x20b6af['filter'](_0x5ba1d3=>_0x5ba1d3['httpOnly'])['length'],'secureCookieCount':_0x20b6af[_0x363906(0x1fe)](_0x33c47c=>_0x33c47c['secure'])[_0x363906(0x222)],'sessionCookieCount':_0x20b6af[_0x363906(0x1fe)](_0xfc13f2=>_0xfc13f2[_0x363906(0x1b7)]===-0x1)[_0x363906(0x222)],'expiredCookieCount':_0x20b6af[_0x363906(0x1fe)](_0x416a44=>typeof _0x416a44['expires']===_0x363906(0x1a1)&&_0x416a44[_0x363906(0x1b7)]>0x0&&_0x416a44[_0x363906(0x1b7)]<_0x38ea5c)[_0x363906(0x222)],'originCount':_0x2f2ae6[_0x363906(0x246)]?.['length']??0x0,'origins':(_0x2f2ae6['origins']??[])['map'](_0x2a0091=>({'origin':_0x2a0091[_0x363906(0x1d8)],'localStorageCount':_0x2a0091[_0x363906(0x186)]?.['length']??0x0,'localStorageKeys':_0x2a0091['localStorage']?.[_0x363906(0x1a9)](_0x44048f=>_0x44048f[_0x363906(0x1e6)])[_0x363906(0x21d)]()[_0x363906(0x22c)](0x0,0x19)??[]}))};}catch(_0x2d416e){return{..._0x5be1fa,'byteLength':_0xcc0174['size'],'parseError':_0x4ec6b4[_0x363906(0x217)](_0x2d416e,Error)?_0x2d416e[_0x363906(0x247)]:_0x4ec6b4['vucvT'](String,_0x2d416e)};}}catch(_0x396b80){return{'path':_0x12e031,'exists':![],'readError':_0x396b80 instanceof Error?_0x396b80['message']:_0x4ec6b4['vucvT'](String,_0x396b80)};}}export async function inspectNovaProfileFiles(_0x4d7ab6){const _0x4e2723=_0x2e0d,_0xa3ffb6={'vVjVF':'Local\x20State','tzRAw':'Cookies','jpGoL':function(_0x28c1f0,_0x4e1906,_0x43b131,_0x2be730){return _0x28c1f0(_0x4e1906,_0x43b131,_0x2be730);},'EKeLA':_0x4e2723(0x1ad),'crYRh':function(_0x6ba545,_0x73e7ca,_0x43bfbf){return _0x6ba545(_0x73e7ca,_0x43bfbf);},'fhSvl':function(_0x5ee70d,_0x51a5a0){return _0x5ee70d(_0x51a5a0);},'apJdK':function(_0x1b6a60,_0xacba2b){return _0x1b6a60(_0xacba2b);},'MwvuC':function(_0x93641f,_0x59f13c){return _0x93641f(_0x59f13c);},'lKknj':function(_0x5f01d8,_0x3a8d57){return _0x5f01d8(_0x3a8d57);},'waUbY':function(_0x2ee413,_0x515c6e){return _0x2ee413(_0x515c6e);},'BXlRN':function(_0x194750,_0x4afcc9){return _0x194750(_0x4afcc9);},'ZmOEi':function(_0xf4c047,_0x3fcf0a){return _0xf4c047(_0x3fcf0a);},'xCkij':function(_0x7242e3,_0x4f8a01){return _0x7242e3(_0x4f8a01);}},_0x4086fd=join(_0x4d7ab6[_0x4e2723(0x1f4)],_0xa3ffb6[_0x4e2723(0x1e9)]),_0x4239a6=join(_0x4d7ab6['browserProfilePath'],'Preferences'),_0xfd7136=join(_0x4d7ab6['browserProfilePath'],_0xa3ffb6[_0x4e2723(0x1b0)]),_0x35303e=_0xa3ffb6[_0x4e2723(0x192)](join,_0x4d7ab6[_0x4e2723(0x1f8)],_0xa3ffb6[_0x4e2723(0x19c)],_0xa3ffb6[_0x4e2723(0x1b0)]),_0x5b2879=join(_0x4d7ab6['browserProfilePath'],'Local\x20Storage'),_0x304e80=_0xa3ffb6['crYRh'](join,_0x5b2879,'leveldb'),[_0x455330,_0x12f93a,_0x284f63,_0x3544b9,_0x20dfd8,_0x18ce6e,_0x19a68c,_0x31ed2d,_0x2883e3,_0x3fd385,_0x1f08cf]=await Promise[_0x4e2723(0x21f)]([_0xa3ffb6[_0x4e2723(0x207)](inspectPath,_0x4d7ab6['userDataDir']),_0xa3ffb6['apJdK'](inspectPath,_0x4d7ab6[_0x4e2723(0x1f8)]),_0xa3ffb6[_0x4e2723(0x1d9)](inspectPath,_0x4086fd),_0xa3ffb6[_0x4e2723(0x200)](inspectPath,_0x4239a6),_0xa3ffb6[_0x4e2723(0x200)](inspectPath,_0xfd7136),_0xa3ffb6['waUbY'](inspectPath,_0x35303e),inspectPath(_0x5b2879),_0xa3ffb6['BXlRN'](inspectPath,_0x304e80),_0xa3ffb6['ZmOEi'](listDir,_0x4d7ab6['userDataDir']),_0xa3ffb6[_0x4e2723(0x18b)](listDir,_0x4d7ab6[_0x4e2723(0x1f8)]),_0xa3ffb6['fhSvl'](listDir,_0x304e80)]);return{'userDataDir':_0x4d7ab6['userDataDir'],'browserProfilePath':_0x4d7ab6[_0x4e2723(0x1f8)],'rootEntries':_0x2883e3,'defaultEntries':_0x3fd385,'localStorageEntries':_0x1f08cf,'paths':{'userDataDir':_0x455330,'browserProfilePath':_0x12f93a,'localState':_0x284f63,'preferences':_0x3544b9,'cookies':_0x20dfd8,'networkCookies':_0x18ce6e,'localStorage':_0x19a68c,'levelDb':_0x31ed2d}};}async function inspectPath(_0x2c0c4c){const _0x4b2670=_0x2e0d,_0x2f3f1e={'puSCu':function(_0x3a6046,_0xfdce22){return _0x3a6046 instanceof _0xfdce22;}};try{const _0x272ad5=await stat(_0x2c0c4c);return{'path':_0x2c0c4c,'exists':!![],'isDirectory':_0x272ad5['isDirectory'](),'byteLength':_0x272ad5[_0x4b2670(0x242)]()?_0x272ad5[_0x4b2670(0x243)]:undefined,'mtimeMs':_0x272ad5['mtimeMs']};}catch(_0x562f0b){return{'path':_0x2c0c4c,'exists':![],'error':_0x2f3f1e['puSCu'](_0x562f0b,Error)?_0x562f0b['message']:String(_0x562f0b)};}}async function listDir(_0xf2a3a8){const _0x29d7dd=_0x2e0d;try{return(await readdir(_0xf2a3a8))['sort']()[_0x29d7dd(0x22c)](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x3a2f24,_0x4e9b95=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x31e8e0=_0x2e0d,_0x3ce854={'HvmSj':function(_0x37460c,_0x2de351){return _0x37460c>_0x2de351;},'KwBQg':function(_0x4dfe54,_0x4ab003){return _0x4dfe54+_0x4ab003;},'hYNHR':'...'};return _0x3ce854['HvmSj'](_0x3a2f24[_0x31e8e0(0x222)],_0x4e9b95)?_0x3ce854['KwBQg'](_0x3a2f24[_0x31e8e0(0x22c)](0x0,_0x4e9b95),_0x3ce854[_0x31e8e0(0x20b)]):_0x3a2f24;}function truncateOutput(_0x7a22ae,_0x556cfd=0x7d0){const _0x5c72c9=_0x2e0d,_0x55363c={'BklAp':function(_0x452328,_0xd8025c){return _0x452328>_0xd8025c;},'AaLNT':function(_0x2c628e,_0x17aec0){return _0x2c628e+_0x17aec0;},'ydzJg':'...'};return _0x55363c['BklAp'](_0x7a22ae['length'],_0x556cfd)?_0x55363c['AaLNT'](_0x7a22ae[_0x5c72c9(0x22c)](0x0,_0x556cfd),_0x55363c['ydzJg']):_0x7a22ae;}function getNovaActCliBinDirs(_0x5f10db){const _0x349814=_0x2e0d,_0x4887e6={'kYFCc':function(_0x1dc775){return _0x1dc775();},'qWQue':_0x349814(0x1ac)};return[_0x5f10db[_0x349814(0x1a3)],_0x4887e6[_0x349814(0x229)](homedir)+_0x349814(0x23d),'/opt/homebrew/bin',_0x4887e6[_0x349814(0x1ce)]]['filter'](_0x2d6fb8=>Boolean(_0x2d6fb8));}function buildPathWithNovaActCliBins(_0x36ed6d){const _0x531244=_0x2e0d,_0x41fa91=new Set(),_0x5db3f4=[...getNovaActCliBinDirs(_0x36ed6d),...(_0x36ed6d['PATH']??'')['split'](delimiter)][_0x531244(0x1fe)](_0x195475=>{const _0x363bb1=_0x531244;if(!_0x195475||_0x41fa91['has'](_0x195475))return![];return _0x41fa91[_0x363bb1(0x18d)](_0x195475),!![];});return _0x5db3f4['join'](delimiter);}export function applyNovaActCliPath(_0x4bb0fd){const _0xf25c3d=_0x2e0d;_0x4bb0fd[_0xf25c3d(0x195)]=buildPathWithNovaActCliBins(_0x4bb0fd);}function withNovaActCliPath(_0xe62e34){return{..._0xe62e34,'PATH':buildPathWithNovaActCliBins(_0xe62e34)};}function runBootstrapCommand(_0x502565){const _0xf0f075=_0x2e0d,_0x169a51={'PsHtb':function(_0x2a543d,_0x6736){return _0x2a543d??_0x6736;},'SpMnh':function(_0x377c81,_0x65373e){return _0x377c81(_0x65373e);},'qzaLA':function(_0x57ca60,_0x31b829){return _0x57ca60(_0x31b829);},'xfvXt':'SIGKILL','XkKCV':function(_0x12ae95,_0x548704){return _0x12ae95(_0x548704);},'YFFMy':function(_0x1ea186,_0x447fed,_0x897cbc,_0x266aae){return _0x1ea186(_0x447fed,_0x897cbc,_0x266aae);},'GyFGQ':_0xf0f075(0x1a8),'QWVcI':'pipe','qQEgX':'data','mVtVl':'error'},{command:_0x51fe5e,args:_0x6e98a0,env:_0x5055c3,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x502565;return new Promise((_0x5aeeba,_0x4ef870)=>{const _0x1a7354=_0xf0f075,_0x377764={'rSFOB':_0x169a51[_0x1a7354(0x1a4)],'IlywI':_0x1a7354(0x201),'HnKRA':function(_0x529225,_0x40f2e3){return _0x169a51['XkKCV'](_0x529225,_0x40f2e3);}},_0x3d0765=_0x169a51['YFFMy'](spawn,_0x51fe5e,_0x6e98a0,{'env':_0x5055c3,'stdio':[_0x169a51['GyFGQ'],_0x169a51[_0x1a7354(0x1d2)],_0x169a51[_0x1a7354(0x1d2)]]});let _0x35c7dd='',_0x57795f='',_0x2414d9=![];const _0x577216=setTimeout(()=>{const _0x22aec3=_0x1a7354;_0x2414d9=!![],_0x3d0765[_0x22aec3(0x1d4)](_0x377764[_0x22aec3(0x240)]),setTimeout(()=>{const _0x2dbc12=_0x22aec3;try{_0x3d0765[_0x2dbc12(0x1d4)](_0x377764[_0x2dbc12(0x1d6)]);}catch{}},0x3e8);},timeoutMs);_0x3d0765[_0x1a7354(0x1b5)]?.['on'](_0x169a51[_0x1a7354(0x22a)],_0x52e285=>{_0x35c7dd+=_0x52e285['toString']();}),_0x3d0765[_0x1a7354(0x1c5)]?.['on']('data',_0x234825=>{const _0x4a0445=_0x1a7354;_0x57795f+=_0x234825[_0x4a0445(0x23a)]();}),_0x3d0765['on'](_0x169a51[_0x1a7354(0x1f3)],_0x85a41f=>{_0x377764['HnKRA'](clearTimeout,_0x577216),_0x4ef870(_0x85a41f);}),_0x3d0765['on']('close',(_0x20f41a,_0xcc67c7)=>{const _0x3ad166=_0x1a7354;clearTimeout(_0x577216);if(_0x20f41a===0x0){_0x5aeeba({'stdout':_0x35c7dd,'stderr':_0x57795f});return;}const _0xcd4b62=_0x2414d9?'timed\x20out\x20after\x20'+timeoutMs+'ms':_0x3ad166(0x1df)+(_0x20f41a??'null')+'\x20signal='+_0x169a51['PsHtb'](_0xcc67c7,'null');_0x169a51['SpMnh'](_0x4ef870,new Error(_0x51fe5e+'\x20'+_0x6e98a0[_0x3ad166(0x214)]('\x20')+'\x20'+_0xcd4b62+_0x3ad166(0x1f7)+_0x169a51[_0x3ad166(0x1e4)](truncateOutput,_0x35c7dd)+'\x0astderr:\x20'+truncateOutput(_0x57795f)));});});}function runCommandAllowFailure(_0x499415){const _0x15a227={'sLiXN':function(_0x101005,_0x44ecf1){return _0x101005(_0x44ecf1);},'Jqkyw':function(_0x26c58f,_0x319be4){return _0x26c58f(_0x319be4);}},{command:_0x25d336,args:_0x3cfbbd,env:_0x43640d,timeoutMs:_0x312bfc}=_0x499415;return new Promise((_0x2ed301,_0x53493)=>{const _0xbf373a={'GWbDj':'SIGTERM','ICZBA':function(_0x5ec940,_0x6f393a){const _0x1094ed=_0x2e0d;return _0x15a227[_0x1094ed(0x18e)](_0x5ec940,_0x6f393a);}},_0x176a76=spawn(_0x25d336,_0x3cfbbd,{'env':_0x43640d,'stdio':['ignore','pipe','pipe']});let _0xe5886c='',_0x111179='',_0xe92719=![];const _0x1b1496=setTimeout(()=>{const _0x49c154=_0x2e0d,_0xb87a67={'bYXeK':_0x49c154(0x1c7)};_0xe92719=!![],_0x176a76['kill'](_0xbf373a['GWbDj']),setTimeout(()=>{const _0x16866d=_0x49c154;try{_0x176a76[_0x16866d(0x1d4)](_0xb87a67[_0x16866d(0x224)]);}catch{}},0x3e8);},_0x312bfc);_0x176a76['stdout']?.['on']('data',_0x488e65=>{_0xe5886c+=_0x488e65['toString']();}),_0x176a76['stderr']?.['on']('data',_0x5e2448=>{const _0x3db85b=_0x2e0d;_0x111179+=_0x5e2448[_0x3db85b(0x23a)]();}),_0x176a76['on']('error',_0x598bc2=>{const _0x2ae0a5=_0x2e0d;_0x15a227[_0x2ae0a5(0x20e)](clearTimeout,_0x1b1496),_0x15a227[_0x2ae0a5(0x20e)](_0x53493,_0x598bc2);}),_0x176a76['on']('close',(_0x1d0df7,_0xbb0b9d)=>{_0xbf373a['ICZBA'](clearTimeout,_0x1b1496),_0xbf373a['ICZBA'](_0x2ed301,{'code':_0x1d0df7,'signal':_0xbb0b9d,'stdout':_0xe5886c,'stderr':_0x111179,'timedOut':_0xe92719});});});}async function resolveActPath(_0x200d89){const _0x42e244=_0x2e0d,_0x38cb25={'Yxwen':function(_0x53c931,_0x487a3e){return _0x53c931(_0x487a3e);}},_0x1db334=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x200d89[_0x42e244(0x195)]??'')[_0x42e244(0x1b2)](delimiter)['filter'](Boolean)['map'](_0x2c53cc=>join(_0x2c53cc,NOVA_ACT_CLI_BINARY));for(const _0x54bdad of _0x1db334){try{return await _0x38cb25[_0x42e244(0x1c3)](access,_0x54bdad),_0x54bdad;}catch{}}return null;}async function checkNovaActCli(_0x391f32){const _0x3212b3=_0x2e0d,_0x25fdb7={'wvqCa':function(_0x1739de,_0x149305){return _0x1739de(_0x149305);}};try{return await _0x25fdb7[_0x3212b3(0x227)](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':[_0x3212b3(0x22f),'--help'],'env':_0x391f32,'timeoutMs':0x7530}),await _0x25fdb7['wvqCa'](resolveActPath,_0x391f32)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0xe1a5f4={}){const _0x290b86=_0x2e0d,_0x50204c={'FikAe':function(_0x3e98e6,_0x35650e){return _0x3e98e6(_0x35650e);},'VNJub':function(_0x4df758,_0x4392c2){return _0x4df758(_0x4392c2);},'SJvFG':function(_0x1fc6f5,_0x22c4be){return _0x1fc6f5(_0x22c4be);},'uUcah':'tool','FULip':_0x290b86(0x193)},_0x23b5c3=withNovaActCliPath(_0xe1a5f4[_0x290b86(0x238)]??process['env']),_0x24c1bf=await checkNovaActCli(_0x23b5c3);if(_0x24c1bf)return{'installed':![],'actPath':_0x24c1bf,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await _0x50204c['FikAe'](runBootstrapCommand,{'command':'uv','args':['--version'],'env':_0x23b5c3,'timeoutMs':0x7530});}catch(_0x440abb){throw new Error('nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`'+NOVA_ACT_CLI_BINARY+_0x290b86(0x1ab)+NOVA_ACT_CLI_UV_PACKAGE+'\x22\x0a'+(_0x440abb instanceof Error?_0x440abb['message']:_0x50204c[_0x290b86(0x1dd)](String,_0x440abb)));}const _0x38a672=await _0x50204c[_0x290b86(0x1ba)](runBootstrapCommand,{'command':'uv','args':[_0x50204c['uUcah'],_0x50204c[_0x290b86(0x188)],NOVA_ACT_CLI_UV_PACKAGE],'env':_0x23b5c3,'timeoutMs':_0xe1a5f4['timeoutMs']??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x1680a8=await _0x50204c[_0x290b86(0x1ba)](checkNovaActCli,_0x23b5c3);if(!_0x1680a8)throw new Error(_0x290b86(0x1bb)+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x290b86(0x197)+_0x50204c['FikAe'](getNovaActCliBinDirs,_0x23b5c3)['join'](',\x20')+_0x290b86(0x228)+truncateOutput(_0x38a672[_0x290b86(0x1b5)])+'\x0astderr:\x20'+truncateOutput(_0x38a672['stderr']));return{'installed':!![],'actPath':_0x1680a8,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x38a672['stdout'],'stderr':_0x38a672['stderr']};}function parseNovaActDoctorOutput(_0xf4b4e8){const _0x2403bc=_0x2e0d;try{return JSON[_0x2403bc(0x237)](_0xf4b4e8);}catch{return null;}}function buildNovaActCliPreflightError(_0x294d6c){const _0x39a1d3=_0x2e0d,_0x240a6c={'kNkuh':'null','Hegnc':function(_0x5f02d5,_0x2dcef6){return _0x5f02d5(_0x2dcef6);},'kYrLZ':'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>'},{checks:_0x5b7da5,stdout:_0x266e4f,stderr:_0x36a299,env:_0x228272,code:_0x1ca376,signal:_0x1a182e,timedOut:_0x3046ba}=_0x294d6c,_0x2487e7=_0x5b7da5['filter'](_0x85c4f4=>_0x85c4f4[_0x39a1d3(0x1e3)]===_0x39a1d3(0x218)),_0x433789=_0x2487e7[_0x39a1d3(0x222)]>0x0?_0x2487e7[_0x39a1d3(0x1a9)](_0x190a7d=>{const _0x5cf0a4=_0x39a1d3,_0x13bcb6=_0x190a7d[_0x5cf0a4(0x210)]?'\x20Fix:\x20'+_0x190a7d['fix']:'';return'-\x20'+_0x190a7d['name']+':\x20'+_0x190a7d[_0x5cf0a4(0x247)]+'.'+_0x13bcb6;})['join']('\x0a'):[_0x3046ba?_0x39a1d3(0x1aa):'act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code='+(_0x1ca376??'null')+'\x20signal='+(_0x1a182e??_0x240a6c['kNkuh']),_0x266e4f?_0x39a1d3(0x216)+truncateOutput(_0x266e4f):'',_0x36a299?'stderr:\x20'+_0x240a6c[_0x39a1d3(0x204)](truncateOutput,_0x36a299):''][_0x39a1d3(0x1fe)](Boolean)[_0x39a1d3(0x214)]('\x0a'),_0x161097=_0x228272[_0x39a1d3(0x1e5)]?.['trim'](),_0x1f1f9e=_0x161097?_0x39a1d3(0x22e)+_0x161097:_0x240a6c[_0x39a1d3(0x1c2)];return new Error(['Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.',_0x433789,_0x39a1d3(0x235),_0x1f1f9e][_0x39a1d3(0x214)]('\x0a'));}export async function preflightNovaActCli(_0x7c1661={}){const _0x10f0f9=_0x2e0d,_0x1c95e7={'TXjly':_0x10f0f9(0x22f),'vXedf':_0x10f0f9(0x241),'FZCIy':function(_0x58c9c8,_0x1a57dc){return _0x58c9c8(_0x1a57dc);},'nYXts':function(_0x793aaa,_0x4ede6e){return _0x793aaa!==_0x4ede6e;},'zRmyI':function(_0x40f1fe,_0x2901a2){return _0x40f1fe(_0x2901a2);}},_0x4fdd05=withNovaActCliPath(_0x7c1661[_0x10f0f9(0x238)]??process['env']),_0x2e5785=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':[_0x1c95e7[_0x10f0f9(0x1fa)],_0x1c95e7[_0x10f0f9(0x1ec)],_0x10f0f9(0x20c)],'env':_0x4fdd05,'timeoutMs':_0x7c1661[_0x10f0f9(0x18c)]??0x7530}),_0x48e6eb=_0x1c95e7[_0x10f0f9(0x1be)](parseNovaActDoctorOutput,_0x2e5785['stdout']),_0x4d6a8d=_0x48e6eb?.['data']?.[_0x10f0f9(0x1db)]??[],_0x5be740=_0x4d6a8d[_0x10f0f9(0x1a0)](_0x19a5db=>_0x19a5db['status']===_0x10f0f9(0x218));if(_0x1c95e7['nYXts'](_0x2e5785[_0x10f0f9(0x1fc)],0x0)||_0x2e5785['timedOut']||_0x5be740)throw _0x1c95e7['zRmyI'](buildNovaActCliPreflightError,{'checks':_0x4d6a8d,'stdout':_0x2e5785[_0x10f0f9(0x1b5)],'stderr':_0x2e5785[_0x10f0f9(0x1c5)],'env':_0x4fdd05,'code':_0x2e5785[_0x10f0f9(0x1fc)],'signal':_0x2e5785['signal'],'timedOut':_0x2e5785['timedOut']});return{'checks':_0x4d6a8d,'logDir':_0x48e6eb?.['log_dir']??_0x48e6eb?.['logDir']};}function getNovaActCliSubcommand(_0x5b680e){const _0x385e14=_0x2e0d,_0x520735={'QlCfJ':_0x385e14(0x18a)},[_0x4d774d=_0x385e14(0x22b),_0x940969]=_0x5b680e;return _0x4d774d===_0x520735[_0x385e14(0x230)]&&_0x940969?_0x4d774d+'\x20'+_0x940969:_0x4d774d;}function supportsBrowserSessionOptions(_0x51ca5b){const _0x3d4bbb=_0x2e0d,_0x30b828={'CCZLf':function(_0x51b2fe,_0x41d068){return _0x51b2fe===_0x41d068;},'sblxc':_0x3d4bbb(0x225)};return!(_0x30b828[_0x3d4bbb(0x19d)](_0x51ca5b[0x0],_0x3d4bbb(0x18a))&&(_0x51ca5b[0x1]===_0x3d4bbb(0x1bd)||_0x51ca5b[0x1]===_0x30b828['sblxc']));}function buildSharedArgs(_0x15cda5,_0x55c736){const _0x57ff6e=_0x2e0d,_0x178e2f={'jiunu':'--json','pTcwO':_0x57ff6e(0x1ed),'phPLQ':_0x57ff6e(0x1ff),'XcXbg':'--headed','lMGIc':'--executable-path','vnelA':'--cdp'},_0x50eb14=['--session-id',_0x15cda5['sessionId'],_0x178e2f[_0x57ff6e(0x199)]];if(supportsBrowserSessionOptions(_0x55c736)){_0x50eb14[_0x57ff6e(0x1ee)](_0x178e2f[_0x57ff6e(0x234)]),_0x50eb14['push'](_0x15cda5[_0x57ff6e(0x1d7)]?_0x178e2f['phPLQ']:_0x178e2f[_0x57ff6e(0x1c0)]);_0x15cda5['browserProfilePath']&&_0x50eb14[_0x57ff6e(0x1ee)]('--browser-profile-path',_0x15cda5[_0x57ff6e(0x1f8)]);_0x15cda5[_0x57ff6e(0x206)]&&_0x50eb14[_0x57ff6e(0x1ee)](_0x178e2f[_0x57ff6e(0x1fd)],_0x15cda5['executablePath']);_0x15cda5[_0x57ff6e(0x194)]&&_0x50eb14['push'](_0x178e2f['vnelA'],_0x15cda5[_0x57ff6e(0x194)]);for(const _0xe00f9a of _0x15cda5['launchArgs']??[]){_0x50eb14[_0x57ff6e(0x1ee)](_0x57ff6e(0x22d)+_0xe00f9a);}}return _0x50eb14;}export function buildNovaActCliInvocation(_0x800e54,_0x3cc7b5){const _0x365287=_0x2e0d,_0xb68afc={'vVmGf':function(_0x28fae9,_0x47fc82,_0x182490){return _0x28fae9(_0x47fc82,_0x182490);}},_0x48ac99=_0xb68afc['vVmGf'](buildSharedArgs,_0x800e54,_0x3cc7b5),_0x2dd2d8=[_0x365287(0x22f),..._0x3cc7b5,..._0x48ac99];return{'command':NOVA_ACT_CLI_BINARY,'args':_0x2dd2d8,'shellCommand':[NOVA_ACT_CLI_BINARY,_0x365287(0x22f),..._0x3cc7b5['map'](quoteShellArg),..._0x48ac99[_0x365287(0x1a9)](quoteShellArg)]['join']('\x20'),'subcommand':getNovaActCliSubcommand(_0x3cc7b5)};}export function buildNovaActCliCommandPrefix(){const _0x526f09=_0x2e0d;return NOVA_ACT_CLI_BINARY+_0x526f09(0x203);}export function buildNovaActCliBrowserWrapperPath(_0x585d37){const _0x55d26b=_0x2e0d,_0x2fbc3d={'jTZGO':'nova-act-browser'};return join(dirname(_0x585d37[_0x55d26b(0x1f4)]),_0x2fbc3d[_0x55d26b(0x187)]);}export async function writeNovaActCliBrowserWrapper(_0x2d80ed){const _0x111aef=_0x2e0d,_0x40cbde={'xLFob':function(_0x1acd4b,_0x2733cc,_0x59d068){return _0x1acd4b(_0x2733cc,_0x59d068);},'jCypU':_0x111aef(0x19a),'qdhZq':_0x111aef(0x18a),'TzhnM':function(_0x2f0171,_0x3918a0){return _0x2f0171(_0x3918a0);},'IrtHY':function(_0x48ac22,_0x33e9e3,_0x397993,_0x1e2880){return _0x48ac22(_0x33e9e3,_0x397993,_0x1e2880);},'pAYGC':function(_0x24c4a6,_0x330447){return _0x24c4a6(_0x330447);}},_0x418995=_0x2d80ed['browserCommandPath']??buildNovaActCliBrowserWrapperPath(_0x2d80ed),_0x268306=_0x40cbde[_0x111aef(0x19e)](buildSharedArgs,_0x2d80ed,[_0x40cbde['jCypU']])['map'](quoteShellArg)[_0x111aef(0x214)]('\x20'),_0x42ee98=_0x40cbde[_0x111aef(0x19e)](buildSharedArgs,_0x2d80ed,[_0x40cbde[_0x111aef(0x1fb)],'export'])['map'](quoteShellArg)['join']('\x20');return await _0x40cbde['xLFob'](mkdir,_0x40cbde['TzhnM'](dirname,_0x418995),{'recursive':!![]}),await mkdir(_0x2d80ed[_0x111aef(0x1f4)],{'recursive':!![]}),await _0x40cbde['IrtHY'](writeFile,_0x418995,'#!/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)+'\x20browser\x20\x22$@\x22\x20'+_0x42ee98+_0x111aef(0x232)+_0x40cbde[_0x111aef(0x1ca)](quoteShellArg,NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x268306+'\x0a','utf-8'),await chmod(_0x418995,0x1ed),_0x418995;}export function buildNovaActCliSharedOptionsSuffix(_0x569241,_0x2d3460=['execute']){return buildSharedArgs(_0x569241,_0x2d3460)['map'](quoteShellArg)['join']('\x20');}export async function runNovaActCliCommand(_0x2832a1){const _0xf7d4b1=_0x2e0d,_0x3b7c79={'TTiZz':_0xf7d4b1(0x201),'SjenQ':function(_0x1a7e6a,_0x257953){return _0x1a7e6a??_0x257953;},'WXtIe':function(_0x5bd547,_0x343c8b,_0x86d072,_0x261377){return _0x5bd547(_0x343c8b,_0x86d072,_0x261377);},'LkyYd':'ignore','fmVtK':'pipe','jsIAT':function(_0x287cc9,_0x1237df){return _0x287cc9>_0x1237df;},'GRxsd':function(_0x50e812,_0x25eca3,_0x3fa8b6){return _0x50e812(_0x25eca3,_0x3fa8b6);},'OCTQo':'error','xMGwv':function(_0x318ad7,_0x279141,_0x5062fe){return _0x318ad7(_0x279141,_0x5062fe);}};await _0x3b7c79[_0xf7d4b1(0x231)](mkdir,_0x2832a1['userDataDir'],{'recursive':!![]});const _0x27c627=_0x3b7c79['xMGwv'](buildNovaActCliInvocation,_0x2832a1,_0x2832a1[_0xf7d4b1(0x1a6)]);return new Promise((_0x1ec7b3,_0x43e86d)=>{const _0x226500=_0xf7d4b1,_0x15131b={'hNPnT':function(_0x493b83,_0xa5f439){return _0x493b83===_0xa5f439;},'GkFsS':function(_0x2f76ce,_0x380a80){return _0x3b7c79['SjenQ'](_0x2f76ce,_0x380a80);},'rBUIy':'null','RxjKi':function(_0x3a68c3,_0x19f841){return _0x3a68c3(_0x19f841);}},_0x4ec5e2=_0x3b7c79[_0x226500(0x1a7)](spawn,_0x27c627[_0x226500(0x1e7)],_0x27c627['args'],{'cwd':_0x2832a1[_0x226500(0x1da)],'env':_0x2832a1[_0x226500(0x238)],'stdio':[_0x3b7c79[_0x226500(0x1ea)],_0x3b7c79[_0x226500(0x1f9)],_0x226500(0x1b3)]});let _0x3794fe='',_0x1514c1='',_0x421cde=![];const _0x372d74=_0x2832a1['timeoutMs']&&_0x3b7c79['jsIAT'](_0x2832a1['timeoutMs'],0x0)?_0x3b7c79['GRxsd'](setTimeout,()=>{const _0x17daf8=_0x226500;_0x421cde=!![],_0x4ec5e2[_0x17daf8(0x1d4)](_0x3b7c79[_0x17daf8(0x1b6)]),setTimeout(()=>{const _0xf09f33=_0x17daf8;try{_0x4ec5e2[_0xf09f33(0x1d4)](_0xf09f33(0x1c7));}catch{}},0x3e8);},_0x2832a1['timeoutMs']):null;_0x4ec5e2['stdout']?.['on'](_0x226500(0x21c),_0x3c5200=>{const _0x89a1da=_0x226500;_0x3794fe+=_0x3c5200[_0x89a1da(0x23a)]();}),_0x4ec5e2['stderr']?.['on']('data',_0x5c6a79=>{const _0xdb8a7f=_0x226500;_0x1514c1+=_0x5c6a79[_0xdb8a7f(0x23a)]();}),_0x4ec5e2['on'](_0x3b7c79[_0x226500(0x21a)],_0x5b8bd2=>{if(_0x372d74)clearTimeout(_0x372d74);_0x43e86d(_0x5b8bd2);}),_0x4ec5e2['on'](_0x226500(0x225),(_0x16dd1a,_0x3af15e)=>{const _0xf75424=_0x226500;if(_0x372d74)clearTimeout(_0x372d74);if(_0x15131b['hNPnT'](_0x16dd1a,0x0)){_0x1ec7b3({'stdout':_0x3794fe,'stderr':_0x1514c1,'invocation':_0x27c627});return;}const _0x493f76=_0x421cde?'timed\x20out\x20after\x20'+_0x2832a1['timeoutMs']+'ms':_0xf75424(0x1df)+_0x15131b['GkFsS'](_0x16dd1a,_0x15131b['rBUIy'])+_0xf75424(0x21b)+_0x15131b['GkFsS'](_0x3af15e,_0xf75424(0x1cf));_0x43e86d(new Error('nova-act-cli\x20'+_0x27c627['subcommand']+'\x20'+_0x493f76+_0xf75424(0x1f7)+_0x15131b[_0xf75424(0x219)](truncateOutput,_0x3794fe)+'\x0astderr:\x20'+truncateOutput(_0x1514c1)));});});}export function parseNovaActCliCommand(_0x734adc){const _0x2791a1=_0x2e0d,_0x596525=_0x734adc[_0x2791a1(0x223)](/(?:^|\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 _0x596525?.[0x1]??null;}export function extractNovaActLogDir(_0x4916d6){const _0x141f58=_0x2e0d;try{const _0x487043=JSON['parse'](_0x4916d6),_0x441a36=[_0x487043[_0x141f58(0x23b)],_0x487043[_0x141f58(0x236)],_0x487043[_0x141f58(0x244)],_0x487043[_0x141f58(0x209)],_0x487043['log_dir']],_0x47ec7e=_0x441a36['find'](_0x5e4ddf=>typeof _0x5e4ddf===_0x141f58(0x23e)&&_0x5e4ddf['trim']()[_0x141f58(0x222)]>0x0);if(_0x47ec7e)return _0x47ec7e;}catch{}const _0xc6008=_0x4916d6[_0x141f58(0x223)](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0xc6008?.[0x1]??null;}export async function loadNovaActSessionExport(_0x584ac4){const _0x174fa9=_0x2e0d;try{return JSON[_0x174fa9(0x237)](await readFile(_0x584ac4,_0x174fa9(0x202)));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0x2fb262){const _0x82b505=_0x2e0d,_0x2df9cc={'ZKpCm':function(_0x11e074,_0x540419){return _0x11e074!==_0x540419;},'Nxlde':function(_0x4f8358,_0x40598a){return _0x4f8358+_0x40598a;},'AdHBF':function(_0x3e5fcc,_0x2230fd){return _0x3e5fcc/_0x2230fd;},'zDEGv':function(_0x4c5978,_0x13b2a9,_0x2d7d10){return _0x4c5978(_0x13b2a9,_0x2d7d10);},'nypwu':function(_0x1aa108,_0x4c5a59){return _0x1aa108(_0x4c5a59);},'caPph':'Default','DgqTR':function(_0x6aa4dd,_0x193032,_0x1eb90e){return _0x6aa4dd(_0x193032,_0x1eb90e);},'NAJJb':_0x82b505(0x1f6),'LgVaZ':'domcontentloaded','fJjka':function(_0xd1ee62,_0x2b3e34,_0x570b0c){return _0xd1ee62(_0x2b3e34,_0x570b0c);}},_0x1501a1=JSON['parse'](await _0x2df9cc[_0x82b505(0x20f)](readFile,_0x2fb262[_0x82b505(0x198)],'utf-8')),_0x53dd0e=await _0x2df9cc[_0x82b505(0x226)](inspectNovaStorageStateFile,_0x2fb262[_0x82b505(0x198)]);await _0x2df9cc[_0x82b505(0x20f)](mkdir,_0x2fb262['userDataDir'],{'recursive':!![]});const _0x2e540b=join(_0x2fb262['userDataDir'],_0x2df9cc['caPph']),_0x4eef9d=await inspectNovaProfileFiles({'userDataDir':_0x2fb262[_0x82b505(0x1f4)],'browserProfilePath':_0x2e540b}),{browser:_0x5d90c0,process:_0x1ffaf0}=await launchNovaHydrationBrowser({'userDataDir':_0x2fb262['userDataDir'],'browserProfilePath':_0x2e540b,'executablePath':_0x2fb262['executablePath'],'headless':_0x2fb262[_0x82b505(0x1d7)],'launchArgs':_0x2fb262['launchArgs']}),_0xa15fe3=_0x5d90c0[_0x82b505(0x239)]()[0x0];if(!_0xa15fe3){await _0x2df9cc['DgqTR'](closeNovaHydrationBrowser,_0x5d90c0,_0x1ffaf0);throw new Error(_0x2df9cc['NAJJb']);}let _0x51cfb9=0x0,_0x59f7a3=0x0;try{const _0x38d0f3=_0x1501a1[_0x82b505(0x1e8)]??[];if(_0x38d0f3['length']>0x0){const _0x3e73fa=_0x38d0f3['map'](_0x2bb077=>{const _0x3b11ea=_0x82b505;if(_0x2df9cc['ZKpCm'](_0x2bb077['expires'],-0x1))return _0x2bb077;return _0x59f7a3+=0x1,{..._0x2bb077,'expires':_0x2df9cc['Nxlde'](Math[_0x3b11ea(0x21e)](_0x2df9cc['AdHBF'](Date['now'](),0x3e8)),NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS)};});await _0xa15fe3['addCookies'](_0x3e73fa);}for(const _0x1a3f89 of _0x1501a1[_0x82b505(0x246)]??[]){if(!_0x1a3f89['localStorage']?.[_0x82b505(0x222)])continue;const _0x27df29=await _0xa15fe3['newPage']();await _0x27df29['goto'](_0x1a3f89[_0x82b505(0x1d8)],{'waitUntil':_0x2df9cc['LgVaZ'],'timeout':0x7530}),await _0x27df29['evaluate'](_0x8c6eb4=>{const _0x230059=_0x82b505;for(const _0x3941e6 of _0x8c6eb4){window['localStorage'][_0x230059(0x19b)](_0x3941e6['name'],_0x3941e6[_0x230059(0x215)]);}},_0x1a3f89['localStorage']),_0x51cfb9+=_0x1a3f89[_0x82b505(0x186)]['length'],await _0x27df29[_0x82b505(0x225)]();}if(_0x2fb262['baseUrl']){const _0x905ebd=await _0xa15fe3[_0x82b505(0x191)]();await _0x905ebd[_0x82b505(0x1ae)](_0x2fb262['baseUrl'],{'waitUntil':_0x2df9cc['LgVaZ'],'timeout':0x7530}),await _0x905ebd['close']();}await ensureChromeProfileShape(_0x2fb262[_0x82b505(0x1f4)],_0x2e540b);}finally{await _0x2df9cc['fJjka'](closeNovaHydrationBrowser,_0x5d90c0,_0x1ffaf0);}const _0x2ccc65=await inspectNovaProfileFiles({'userDataDir':_0x2fb262['userDataDir'],'browserProfilePath':_0x2e540b});return{'browserProfilePath':_0x2e540b,'cookieCount':_0x1501a1['cookies']?.['length']??0x0,'promotedSessionCookieCount':_0x59f7a3,'originCount':_0x1501a1[_0x82b505(0x246)]?.[_0x82b505(0x222)]??0x0,'localStorageEntryCount':_0x51cfb9,'storageStateDiagnostics':_0x53dd0e,'profileBefore':_0x4eef9d,'profileAfter':_0x2ccc65};}function _0x2e0d(_0x154049,_0x5b3c7a){_0x154049=_0x154049-0x186;const _0x551088=_0x5510();let _0x2e0d82=_0x551088[_0x154049];return _0x2e0d82;}async function launchNovaHydrationBrowser(_0x5c0c36){const _0x89fdbe=_0x2e0d,_0x42dd82={'rNxYX':function(_0x8b9122,_0xee3ee3,_0x59fb71){return _0x8b9122(_0xee3ee3,_0x59fb71);},'VDUBX':function(_0x1ad975){return _0x1ad975();},'LNirn':'--profile-directory=Default','aXCPQ':'--window-size=1280,720','kgSPP':_0x89fdbe(0x18f),'HlJXG':function(_0x1689d2,_0x20a816,_0x490fd2,_0x5e5f60){return _0x1689d2(_0x20a816,_0x490fd2,_0x5e5f60);},'jWbzH':'ignore','FLVFn':_0x89fdbe(0x1b3)};await _0x42dd82['rNxYX'](ensureChromeProfileShape,_0x5c0c36[_0x89fdbe(0x1f4)],_0x5c0c36[_0x89fdbe(0x1f8)]);const _0x208dd9=_0x5c0c36[_0x89fdbe(0x206)]??chromium[_0x89fdbe(0x206)](),_0x17d3b3=await _0x42dd82['VDUBX'](getAvailablePort),_0x4bd5b1=[_0x89fdbe(0x1e2)+_0x17d3b3,_0x89fdbe(0x211)+_0x5c0c36['userDataDir'],_0x42dd82[_0x89fdbe(0x1eb)],_0x42dd82['aXCPQ'],_0x89fdbe(0x1dc),_0x42dd82['kgSPP']];_0x5c0c36[_0x89fdbe(0x1d7)]&&_0x4bd5b1['push']('--headless=new');_0x4bd5b1['push'](..._0x5c0c36[_0x89fdbe(0x1f1)]??[]);const _0x201166=_0x42dd82['HlJXG'](spawn,_0x208dd9,_0x4bd5b1,{'stdio':[_0x42dd82['jWbzH'],_0x89fdbe(0x1b3),_0x42dd82['FLVFn']]});try{const _0x486816=await waitForCdpEndpoint(_0x201166,_0x17d3b3),_0x3e8b47=await chromium[_0x89fdbe(0x1c9)](_0x486816);return{'browser':_0x3e8b47,'process':_0x201166};}catch(_0x5ec44e){await terminateNovaHydrationBrowser(_0x201166);throw _0x5ec44e;}}async function closeNovaHydrationBrowser(_0x2b5b3c,_0x3be896){const _0x4cbfce=_0x2e0d,_0x11d542={'CHRNx':function(_0x3dad30,_0x170d2a){return _0x3dad30(_0x170d2a);}};try{await _0x2b5b3c[_0x4cbfce(0x225)]();}catch{await _0x11d542['CHRNx'](terminateNovaHydrationBrowser,_0x3be896);return;}const _0x4c6303=await waitForProcessExit(_0x3be896,0x1388);!_0x4c6303&&await terminateNovaHydrationBrowser(_0x3be896);}async function terminateNovaHydrationBrowser(_0x123346){const _0x2a7d21=_0x2e0d,_0x2f3e24={'YVBkW':'SIGTERM','AcXRx':function(_0x294374,_0x37fe41){return _0x294374===_0x37fe41;}};if(_0x123346['exitCode']!==null)return;try{_0x123346[_0x2a7d21(0x1d4)](_0x2f3e24[_0x2a7d21(0x245)]);}catch{}await waitForProcessExit(_0x123346,0x7d0);if(_0x2f3e24['AcXRx'](_0x123346['exitCode'],null)){try{_0x123346['kill'](_0x2a7d21(0x1c7));}catch{}await waitForProcessExit(_0x123346,0x7d0);}}async function waitForCdpEndpoint(_0x1ba914,_0x4e74ef){const _0x57db33=_0x2e0d,_0x1621d9={'xOGUp':function(_0x1afc2f,_0x53909b){return _0x1afc2f===_0x53909b;},'IcuYQ':function(_0x4e2e9e,_0x3dfa25){return _0x4e2e9e(_0x3dfa25);}},_0x25729=Date['now']();let _0x3175c4;while(Date[_0x57db33(0x1f0)]()-_0x25729<NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS){if(_0x1ba914[_0x57db33(0x1a2)]!==null)throw new Error('Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20'+_0x1ba914[_0x57db33(0x1a2)]);try{const _0x4a1e76=await fetch('http://127.0.0.1:'+_0x4e74ef+'/json/version');if(_0x4a1e76['ok']){const _0x135040=await _0x4a1e76['json']();if(_0x1621d9[_0x57db33(0x208)](typeof _0x135040[_0x57db33(0x213)],'string'))return _0x135040['webSocketDebuggerUrl'];}}catch(_0x6bc6eb){_0x3175c4=_0x6bc6eb;}await _0x1621d9[_0x57db33(0x1d0)](delay,0x64);}const _0x40edf9=_0x3175c4 instanceof Error?':\x20'+_0x3175c4[_0x57db33(0x247)]:'';throw new Error(_0x57db33(0x23c)+_0x40edf9);}async function getAvailablePort(){const _0x57b7df={'QuPpI':function(_0x12e378){return _0x12e378();},'eUTem':'error'};return new Promise((_0x3bba85,_0x4bb06c)=>{const _0xe0bcf=_0x2e0d,_0x2f28f8={'XUmXj':function(_0x35a5d5,_0x5a461e){return _0x35a5d5===_0x5a461e;},'FeJcH':_0xe0bcf(0x20a),'hbmhx':'Failed\x20to\x20allocate\x20hydration\x20browser\x20port'},_0xe80969=_0x57b7df[_0xe0bcf(0x1f5)](createServer);_0xe80969[_0xe0bcf(0x1af)](_0x57b7df['eUTem'],_0x4bb06c),_0xe80969[_0xe0bcf(0x221)](0x0,_0xe0bcf(0x23f),()=>{const _0xb9143a=_0xe80969['address']();_0xe80969['close'](_0x20af7b=>{const _0x2e6852=_0x2e0d;if(_0x20af7b){_0x4bb06c(_0x20af7b);return;}if(_0x2f28f8['XUmXj'](typeof _0xb9143a,_0x2f28f8[_0x2e6852(0x19f)])&&_0xb9143a?.['port']){_0x3bba85(_0xb9143a[_0x2e6852(0x1de)]);return;}_0x4bb06c(new Error(_0x2f28f8[_0x2e6852(0x1b9)]));});});});}async function waitForProcessExit(_0x463dae,_0x3b5ca2){const _0x4bda09=_0x2e0d,_0x131253={'VXOdW':function(_0x3011f2){return _0x3011f2();},'zVByb':function(_0x8bd7a7,_0x30a00c){return _0x8bd7a7(_0x30a00c);},'gIsrY':function(_0x5aaae1,_0x6f93c9,_0x46ca53){return _0x5aaae1(_0x6f93c9,_0x46ca53);},'KewNA':'exit','dFMGI':function(_0x54272b,_0x42ca32){return _0x54272b!==_0x42ca32;}};if(_0x131253[_0x4bda09(0x1ef)](_0x463dae[_0x4bda09(0x1a2)],null))return!![];return new Promise(_0x277059=>{const _0x3c79c4=_0x4bda09,_0x230f92={'IdpVm':function(_0x583eb6,_0x455eb2){return _0x583eb6(_0x455eb2);},'sQwhp':'exit'},_0x4ec988=_0x131253['gIsrY'](setTimeout,()=>{const _0x2dc3d3=_0x2e0d;_0x131253['VXOdW'](_0x24198b),_0x131253[_0x2dc3d3(0x220)](_0x277059,![]);},_0x3b5ca2),_0x2f4964=()=>{const _0x2f5a4b=_0x2e0d;_0x24198b(),_0x230f92[_0x2f5a4b(0x189)](_0x277059,!![]);},_0x24198b=()=>{const _0x55596b=_0x2e0d;clearTimeout(_0x4ec988),_0x463dae[_0x55596b(0x1cb)](_0x230f92[_0x55596b(0x1b4)],_0x2f4964);};_0x463dae['once'](_0x131253[_0x3c79c4(0x233)],_0x2f4964);});}async function delay(_0x13ea05){await new Promise(_0x508f25=>setTimeout(_0x508f25,_0x13ea05));}function _0x5510(){const _0x172cf7=['act\x20browser\x20doctor\x20--json\x20timed\x20out','`,\x20and\x20`uv`\x20is\x20not\x20available\x20to\x20install\x20it.\x0aInstall\x20uv,\x20or\x20run:\x20uv\x20tool\x20install\x20\x22','/usr/local/bin','Network','goto','once','tzRAw','ylcwX','split','pipe','sQwhp','stdout','TTiZz','expires','51KegAxK','hbmhx','SJvFG','Installed\x20','7777HSIeiJ','export','FZCIy','14143419VUWqbp','XcXbg','domain','kYrLZ','Yxwen','2330420vzRYZA','stderr','byteLength','SIGKILL','EsBXs','connectOverCDP','pAYGC','off','Local\x20State','81460xRcjEU','qWQue','null','IcuYQ','digest','QWVcI','Preferences','kill','vucvT','rSFOB','headless','origin','MwvuC','cwd','checks','--no-first-run','VNJub','port','exited\x20with\x20code=','lgxDR','176331YDDTAb','--remote-debugging-port=','status','qzaLA','AWS_PROFILE','name','command','cookies','vVjVF','LkyYd','LNirn','vXedf','--quiet','push','dFMGI','now','launchArgs','update','mVtVl','userDataDir','QuPpI','Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','\x0astdout:\x20','browserProfilePath','fmVtK','TXjly','qdhZq','code','lMGIc','filter','--headless','lKknj','SIGTERM','utf-8','\x20browser','Hegnc','1668QADCkj','executablePath','fhSvl','xOGUp','logDir','object','hYNHR','--json','524168DTppcR','sLiXN','zDEGv','fix','--user-data-dir=','hex','webSocketDebuggerUrl','join','value','stdout:\x20','iOsYJ','fail','RxjKi','OCTQo','\x20signal=','data','sort','floor','all','zVByb','listen','length','match','bYXeK','close','nypwu','wvqCa','\x20is\x20on\x20PATH.\x0astdout:\x20','kYFCc','qQEgX','unknown','slice','--launch-arg=','For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20','browser','QlCfJ','GRxsd','\x0afi\x0a\x0aexec\x20','KewNA','pTcwO','Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.','logsDirectory','parse','env','contexts','toString','logs_directory','Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP','/.local/bin','string','127.0.0.1','IlywI','doctor','isFile','size','logs_dir','YVBkW','origins','message','localStorage','jTZGO','FULip','IdpVm','session','xCkij','timeoutMs','add','Jqkyw','--remote-allow-origins=http://localhost','get','newPage','jpGoL','install','cdpEndpoint','PATH','1012866gxfJNm','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','storageStatePath','jiunu','execute','setItem','EKeLA','CCZLf','xLFob','FeJcH','some','number','exitCode','UV_TOOL_BIN_DIR','xfvXt','bndeG','commandArgs','WXtIe','ignore','map'];_0x5510=function(){return _0x172cf7;};return _0x5510();}async function ensureChromeProfileShape(_0x58b4c5,_0x2ca3eb){const _0xb5d2ba=_0x2e0d,_0x5dcf1d={'XyDOD':function(_0x3549cd,_0x31e9d1){return _0x3549cd(_0x31e9d1);},'ylcwX':_0xb5d2ba(0x1cc)};await mkdir(_0x2ca3eb,{'recursive':!![]}),await _0x5dcf1d['XyDOD'](ensureJsonFile,join(_0x58b4c5,_0x5dcf1d[_0xb5d2ba(0x1b1)])),await ensureJsonFile(join(_0x2ca3eb,_0xb5d2ba(0x1d3)));}async function ensureJsonFile(_0x199144){const _0x1594d9={'gQQxJ':function(_0x52a5da,_0x278a46){return _0x52a5da(_0x278a46);},'emEpy':function(_0x3c8a36,_0x406d24,_0x5d9931,_0x5c9dc3){return _0x3c8a36(_0x406d24,_0x5d9931,_0x5c9dc3);}};try{await _0x1594d9['gQQxJ'](access,_0x199144);}catch{await _0x1594d9['emEpy'](writeFile,_0x199144,'{}','utf-8');}}export function previewNovaActCliCommand(_0x41fd03){return truncatePreview(_0x41fd03);}
1
+ (function(_0x353601,_0x113854){const _0x1fc60c=_0x4c20,_0x2638ea=_0x353601();while(!![]){try{const _0xbe6a88=-parseInt(_0x1fc60c(0x183))/0x1+parseInt(_0x1fc60c(0x17a))/0x2+-parseInt(_0x1fc60c(0x1c3))/0x3+parseInt(_0x1fc60c(0x1cf))/0x4*(-parseInt(_0x1fc60c(0x168))/0x5)+-parseInt(_0x1fc60c(0x1e0))/0x6+parseInt(_0x1fc60c(0x1f5))/0x7+parseInt(_0x1fc60c(0x199))/0x8*(parseInt(_0x1fc60c(0x206))/0x9);if(_0xbe6a88===_0x113854)break;else _0x2638ea['push'](_0x2638ea['shift']());}catch(_0x589a54){_0x2638ea['push'](_0x2638ea['shift']());}}}(_0x1e91,0x8b031));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='act';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(_0x23376d){const _0x4b73da=_0x4c20,_0x1b23c4={'yAKbi':function(_0x40a4e1,_0x451a0c){return _0x40a4e1(_0x451a0c);}},_0xb36818=_0x1b23c4['yAKbi'](createHash,'sha256')['update'](_0x23376d)[_0x4b73da(0x177)]('hex')[_0x4b73da(0x1c4)](0x0,0xc);return'rg-'+_0xb36818;}export async function inspectNovaStorageStateFile(_0x565c0a){const _0x2f1b18=_0x4c20,_0x5e7838={'egxYp':function(_0x2049dc,_0x1d53ea){return _0x2049dc(_0x1d53ea);},'RgvMw':_0x2f1b18(0x14e),'EPkpO':function(_0xf14f74,_0x290e50){return _0xf14f74 instanceof _0x290e50;}};try{const [_0x5b629f,_0x18dae9]=await Promise[_0x2f1b18(0x1f3)]([stat(_0x565c0a),readFile(_0x565c0a,_0x2f1b18(0x195))]),_0x4194d8={'path':_0x565c0a,'exists':!![],'byteLength':Buffer[_0x2f1b18(0x16f)](_0x18dae9),'sha256':_0x5e7838[_0x2f1b18(0x1ca)](createHash,_0x5e7838['RgvMw'])[_0x2f1b18(0x15f)](_0x18dae9)[_0x2f1b18(0x177)](_0x2f1b18(0x153))};try{const _0x26f9a1=JSON['parse'](_0x18dae9),_0x28156a=_0x26f9a1[_0x2f1b18(0x185)]??[],_0x45c227=Math['floor'](Date['now']()/0x3e8),_0xd54296=new Map();for(const _0x2cab7f of _0x28156a){const _0xf578c2=_0xd54296[_0x2f1b18(0x1ac)](_0x2cab7f['domain'])??[];_0xf578c2[_0x2f1b18(0x164)](_0x2cab7f['name']),_0xd54296['set'](_0x2cab7f[_0x2f1b18(0x1c0)],_0xf578c2);}return{..._0x4194d8,'byteLength':_0x5b629f['size'],'cookieCount':_0x28156a[_0x2f1b18(0x18d)],'cookieDomains':[..._0xd54296[_0x2f1b18(0x17e)]()][_0x2f1b18(0x1de)](([_0x3ee86f],[_0x29b7ed])=>_0x3ee86f[_0x2f1b18(0x200)](_0x29b7ed))['map'](([_0x1030f5,_0x598888])=>({'domain':_0x1030f5,'count':_0x598888[_0x2f1b18(0x18d)],'names':_0x598888['sort']()['slice'](0x0,0x19)})),'httpOnlyCookieCount':_0x28156a[_0x2f1b18(0x1b3)](_0x260d25=>_0x260d25[_0x2f1b18(0x204)])['length'],'secureCookieCount':_0x28156a[_0x2f1b18(0x1b3)](_0x57cd7f=>_0x57cd7f[_0x2f1b18(0x17c)])[_0x2f1b18(0x18d)],'sessionCookieCount':_0x28156a[_0x2f1b18(0x1b3)](_0x3604aa=>_0x3604aa['expires']===-0x1)['length'],'expiredCookieCount':_0x28156a['filter'](_0x325f93=>typeof _0x325f93[_0x2f1b18(0x160)]===_0x2f1b18(0x172)&&_0x325f93[_0x2f1b18(0x160)]>0x0&&_0x325f93['expires']<_0x45c227)['length'],'originCount':_0x26f9a1[_0x2f1b18(0x1a9)]?.['length']??0x0,'origins':(_0x26f9a1['origins']??[])[_0x2f1b18(0x188)](_0x3e69c1=>({'origin':_0x3e69c1[_0x2f1b18(0x1a3)],'localStorageCount':_0x3e69c1[_0x2f1b18(0x142)]?.[_0x2f1b18(0x18d)]??0x0,'localStorageKeys':_0x3e69c1['localStorage']?.['map'](_0x283c84=>_0x283c84['name'])['sort']()[_0x2f1b18(0x1c4)](0x0,0x19)??[]}))};}catch(_0x654958){return{..._0x4194d8,'byteLength':_0x5b629f[_0x2f1b18(0x1cd)],'parseError':_0x654958 instanceof Error?_0x654958[_0x2f1b18(0x165)]:_0x5e7838['egxYp'](String,_0x654958)};}}catch(_0x9f6a4c){return{'path':_0x565c0a,'exists':![],'readError':_0x5e7838[_0x2f1b18(0x171)](_0x9f6a4c,Error)?_0x9f6a4c['message']:String(_0x9f6a4c)};}}export async function inspectNovaProfileFiles(_0x4494d0){const _0x410af1=_0x4c20,_0x524dec={'CGzbp':function(_0x4511c8,_0x7236ba,_0x252b45){return _0x4511c8(_0x7236ba,_0x252b45);},'rBEbM':'Local\x20State','uDvTN':function(_0xb10a80,_0x269937,_0x522790){return _0xb10a80(_0x269937,_0x522790);},'rKvej':function(_0x37a937,_0xeddcbb,_0x29fbf2,_0x4c8b99){return _0x37a937(_0xeddcbb,_0x29fbf2,_0x4c8b99);},'DNmJW':'Cookies','FOdji':_0x410af1(0x161),'MYAHx':_0x410af1(0x18b),'Vsmur':function(_0x4245c5,_0xcb603d){return _0x4245c5(_0xcb603d);},'wSrQo':function(_0x2f28f3,_0x2c73e5){return _0x2f28f3(_0x2c73e5);},'TpMfs':function(_0x210746,_0x2cda0d){return _0x210746(_0x2cda0d);}},_0x1d8338=_0x524dec['CGzbp'](join,_0x4494d0['userDataDir'],_0x524dec['rBEbM']),_0x315ba5=join(_0x4494d0['browserProfilePath'],_0x410af1(0x14a)),_0xed197f=_0x524dec['uDvTN'](join,_0x4494d0[_0x410af1(0x1d6)],_0x410af1(0x1a7)),_0x3e7695=_0x524dec[_0x410af1(0x187)](join,_0x4494d0['browserProfilePath'],'Network',_0x524dec['DNmJW']),_0x3416de=_0x524dec[_0x410af1(0x158)](join,_0x4494d0[_0x410af1(0x1d6)],_0x524dec[_0x410af1(0x154)]),_0x448c8f=_0x524dec[_0x410af1(0x1c7)](join,_0x3416de,_0x524dec[_0x410af1(0x1ae)]),[_0x1cc108,_0x2fadc2,_0xf86839,_0x47781e,_0x343435,_0x198d7a,_0x2001f0,_0x43ef9e,_0x2e6083,_0x1da94b,_0x2c3e61]=await Promise[_0x410af1(0x1f3)]([_0x524dec['Vsmur'](inspectPath,_0x4494d0[_0x410af1(0x1cb)]),inspectPath(_0x4494d0['browserProfilePath']),inspectPath(_0x1d8338),inspectPath(_0x315ba5),_0x524dec[_0x410af1(0x16a)](inspectPath,_0xed197f),inspectPath(_0x3e7695),_0x524dec[_0x410af1(0x181)](inspectPath,_0x3416de),inspectPath(_0x448c8f),_0x524dec[_0x410af1(0x15a)](listDir,_0x4494d0['userDataDir']),_0x524dec[_0x410af1(0x16a)](listDir,_0x4494d0[_0x410af1(0x1d6)]),listDir(_0x448c8f)]);return{'userDataDir':_0x4494d0[_0x410af1(0x1cb)],'browserProfilePath':_0x4494d0[_0x410af1(0x1d6)],'rootEntries':_0x2e6083,'defaultEntries':_0x1da94b,'localStorageEntries':_0x2c3e61,'paths':{'userDataDir':_0x1cc108,'browserProfilePath':_0x2fadc2,'localState':_0xf86839,'preferences':_0x47781e,'cookies':_0x343435,'networkCookies':_0x198d7a,'localStorage':_0x2001f0,'levelDb':_0x43ef9e}};}async function inspectPath(_0x72892b){const _0x421636=_0x4c20,_0x6d7775={'YRtDA':function(_0x29f419,_0x5c9f64){return _0x29f419(_0x5c9f64);}};try{const _0x1ab211=await stat(_0x72892b);return{'path':_0x72892b,'exists':!![],'isDirectory':_0x1ab211['isDirectory'](),'byteLength':_0x1ab211['isFile']()?_0x1ab211['size']:undefined,'mtimeMs':_0x1ab211[_0x421636(0x1a1)]};}catch(_0x3d67a3){return{'path':_0x72892b,'exists':![],'error':_0x3d67a3 instanceof Error?_0x3d67a3['message']:_0x6d7775[_0x421636(0x159)](String,_0x3d67a3)};}}async function listDir(_0xf81add){const _0x1865b7=_0x4c20,_0xd29fc1={'PQiRJ':function(_0x14b6b2,_0x372baf){return _0x14b6b2(_0x372baf);}};try{return(await _0xd29fc1[_0x1865b7(0x1f1)](readdir,_0xf81add))['sort']()['slice'](0x0,0x32);}catch{return undefined;}}function truncatePreview(_0x2c5aca,_0x4daffb=NOVA_ACT_CLI_PREVIEW_LIMIT){const _0x3ddeaa=_0x4c20,_0x301f9e={'EZjBY':function(_0x2d95e4,_0x3fe993){return _0x2d95e4>_0x3fe993;},'yPYuO':function(_0x16df58,_0x2155e2){return _0x16df58+_0x2155e2;}};return _0x301f9e['EZjBY'](_0x2c5aca[_0x3ddeaa(0x18d)],_0x4daffb)?_0x301f9e['yPYuO'](_0x2c5aca['slice'](0x0,_0x4daffb),_0x3ddeaa(0x1e8)):_0x2c5aca;}function truncateOutput(_0x157836,_0x339ab3=0x7d0){const _0x50581c=_0x4c20;return _0x157836[_0x50581c(0x18d)]>_0x339ab3?_0x157836['slice'](0x0,_0x339ab3)+_0x50581c(0x1e8):_0x157836;}function getNovaActCliBinDirs(_0x55545c){const _0x954422=_0x4c20,_0x259ff9={'scian':function(_0x539dd8){return _0x539dd8();},'qQsSr':'/usr/local/bin'};return[_0x55545c[_0x954422(0x197)],_0x259ff9[_0x954422(0x194)](homedir)+_0x954422(0x1fe),'/opt/homebrew/bin',_0x259ff9['qQsSr']]['filter'](_0x1721a4=>Boolean(_0x1721a4));}function buildPathWithNovaActCliBins(_0x3e992f){const _0x581876=_0x4c20,_0x337991=new Set(),_0xa3444a=[...getNovaActCliBinDirs(_0x3e992f),...(_0x3e992f[_0x581876(0x1b2)]??'')[_0x581876(0x14d)](delimiter)][_0x581876(0x1b3)](_0x3dcfe4=>{const _0x5dd1dc=_0x581876;if(!_0x3dcfe4||_0x337991['has'](_0x3dcfe4))return![];return _0x337991[_0x5dd1dc(0x13f)](_0x3dcfe4),!![];});return _0xa3444a[_0x581876(0x1f2)](delimiter);}export function applyNovaActCliPath(_0x5411f0){_0x5411f0['PATH']=buildPathWithNovaActCliBins(_0x5411f0);}function withNovaActCliPath(_0x13c06f){return{..._0x13c06f,'PATH':buildPathWithNovaActCliBins(_0x13c06f)};}function runBootstrapCommand(_0x20bf58){const _0x477f42=_0x4c20,_0x2cffdc={'pVQOG':'SIGKILL','llRql':function(_0x166256,_0x2a648a){return _0x166256===_0x2a648a;},'aHWre':function(_0x545111,_0x34cd24){return _0x545111??_0x34cd24;},'MgEUI':function(_0x29c138,_0xf708a5){return _0x29c138??_0xf708a5;},'VjGQd':'null','OZixH':function(_0x539fd5,_0x302aec){return _0x539fd5(_0x302aec);},'mxESo':function(_0x214e0e,_0x124f5c,_0x460101,_0x2c0a16){return _0x214e0e(_0x124f5c,_0x460101,_0x2c0a16);},'tuAIG':'pipe','BJQwp':function(_0x6484dc,_0x262cfb,_0x52479a){return _0x6484dc(_0x262cfb,_0x52479a);},'puOYx':_0x477f42(0x175),'rBwIG':_0x477f42(0x19c)},{command:_0x2edd13,args:_0x301b19,env:_0x94fc2e,timeoutMs:timeoutMs=NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}=_0x20bf58;return new Promise((_0x18e6c3,_0x1090be)=>{const _0x3015c9=_0x477f42,_0xd7b2cc={'btPrh':function(_0x5e2c71,_0x4a6beb){return _0x5e2c71(_0x4a6beb);},'aqaFw':function(_0x10c413,_0x54f462){return _0x2cffdc['llRql'](_0x10c413,_0x54f462);},'YWYJR':function(_0xb7ea56,_0x15f94b){return _0x2cffdc['aHWre'](_0xb7ea56,_0x15f94b);},'NDlFp':function(_0x379f64,_0x2e14db){const _0x58e008=_0x4c20;return _0x2cffdc[_0x58e008(0x145)](_0x379f64,_0x2e14db);},'CtmNu':_0x2cffdc[_0x3015c9(0x180)],'UqdLx':function(_0x124930,_0x10e435){const _0x400ed1=_0x3015c9;return _0x2cffdc[_0x400ed1(0x1f0)](_0x124930,_0x10e435);},'HyEHC':function(_0x238214,_0x5600b0){return _0x238214(_0x5600b0);}},_0x226329=_0x2cffdc['mxESo'](spawn,_0x2edd13,_0x301b19,{'env':_0x94fc2e,'stdio':['ignore',_0x2cffdc[_0x3015c9(0x201)],'pipe']});let _0x43be6e='',_0x58905a='',_0x528791=![];const _0x537b66=_0x2cffdc[_0x3015c9(0x1ea)](setTimeout,()=>{const _0x5185db=_0x3015c9,_0x4d8ea3={'wsqhq':_0x2cffdc['pVQOG']};_0x528791=!![],_0x226329[_0x5185db(0x1e3)]('SIGTERM'),setTimeout(()=>{const _0x4015de=_0x5185db;try{_0x226329[_0x4015de(0x1e3)](_0x4d8ea3['wsqhq']);}catch{}},0x3e8);},timeoutMs);_0x226329[_0x3015c9(0x16e)]?.['on'](_0x2cffdc[_0x3015c9(0x1af)],_0x3e7ce0=>{const _0x55113e=_0x3015c9;_0x43be6e+=_0x3e7ce0[_0x55113e(0x1d7)]();}),_0x226329['stderr']?.['on']('data',_0x22a32e=>{_0x58905a+=_0x22a32e['toString']();}),_0x226329['on'](_0x2cffdc[_0x3015c9(0x141)],_0x5976f9=>{const _0x1b5b55=_0x3015c9;clearTimeout(_0x537b66),_0xd7b2cc[_0x1b5b55(0x1d4)](_0x1090be,_0x5976f9);}),_0x226329['on'](_0x3015c9(0x167),(_0x3a0627,_0x5d1d1f)=>{const _0x4b72ef=_0x3015c9;clearTimeout(_0x537b66);if(_0xd7b2cc[_0x4b72ef(0x143)](_0x3a0627,0x0)){_0xd7b2cc[_0x4b72ef(0x1d4)](_0x18e6c3,{'stdout':_0x43be6e,'stderr':_0x58905a});return;}const _0x3b4408=_0x528791?_0x4b72ef(0x1e6)+timeoutMs+'ms':_0x4b72ef(0x193)+_0xd7b2cc['YWYJR'](_0x3a0627,'null')+_0x4b72ef(0x15e)+_0xd7b2cc['NDlFp'](_0x5d1d1f,_0xd7b2cc['CtmNu']);_0x1090be(new Error(_0x2edd13+'\x20'+_0x301b19['join']('\x20')+'\x20'+_0x3b4408+'\x0astdout:\x20'+_0xd7b2cc[_0x4b72ef(0x13b)](truncateOutput,_0x43be6e)+_0x4b72ef(0x18a)+_0xd7b2cc[_0x4b72ef(0x1da)](truncateOutput,_0x58905a)));});});}function runCommandAllowFailure(_0x4b4592){const _0x2e0fd7=_0x4c20,_0x33ea30={'JUxmr':function(_0x557961,_0x1bfccc){return _0x557961(_0x1bfccc);},'YGczP':function(_0xfb8788,_0x1d4108,_0x5447b2){return _0xfb8788(_0x1d4108,_0x5447b2);},'lXBhh':function(_0x58dd17,_0x4b0d62,_0x16ad85,_0x42858b){return _0x58dd17(_0x4b0d62,_0x16ad85,_0x42858b);},'bkKOo':_0x2e0fd7(0x1bf),'trGWU':'pipe','MMPrU':function(_0x263363,_0x170ad6,_0x29b620){return _0x263363(_0x170ad6,_0x29b620);},'ZRuXP':_0x2e0fd7(0x19c),'WafYk':_0x2e0fd7(0x167)},{command:_0x251371,args:_0xb430d6,env:_0x14113f,timeoutMs:_0x1d176d}=_0x4b4592;return new Promise((_0xbae8bc,_0x1a1151)=>{const _0x5ae6b3=_0x2e0fd7,_0x56607e={'MaPcm':function(_0x1d8b01,_0x130dd3,_0x44de45){return _0x33ea30['YGczP'](_0x1d8b01,_0x130dd3,_0x44de45);}},_0x1e320f=_0x33ea30[_0x5ae6b3(0x196)](spawn,_0x251371,_0xb430d6,{'env':_0x14113f,'stdio':[_0x33ea30[_0x5ae6b3(0x1c2)],'pipe',_0x33ea30[_0x5ae6b3(0x1ba)]]});let _0x549518='',_0x2df383='',_0xedf959=![];const _0x17dfce=_0x33ea30['MMPrU'](setTimeout,()=>{const _0x94001f=_0x5ae6b3;_0xedf959=!![],_0x1e320f[_0x94001f(0x1e3)](_0x94001f(0x14b)),_0x56607e[_0x94001f(0x14c)](setTimeout,()=>{const _0x2c2e82=_0x94001f;try{_0x1e320f[_0x2c2e82(0x1e3)]('SIGKILL');}catch{}},0x3e8);},_0x1d176d);_0x1e320f['stdout']?.['on'](_0x5ae6b3(0x175),_0x58a840=>{_0x549518+=_0x58a840['toString']();}),_0x1e320f['stderr']?.['on']('data',_0x2107bd=>{const _0x2a7d02=_0x5ae6b3;_0x2df383+=_0x2107bd[_0x2a7d02(0x1d7)]();}),_0x1e320f['on'](_0x33ea30[_0x5ae6b3(0x190)],_0x2e8ac4=>{clearTimeout(_0x17dfce),_0x1a1151(_0x2e8ac4);}),_0x1e320f['on'](_0x33ea30['WafYk'],(_0x44c26c,_0x1b9e28)=>{const _0x1d8fea=_0x5ae6b3;_0x33ea30[_0x1d8fea(0x163)](clearTimeout,_0x17dfce),_0xbae8bc({'code':_0x44c26c,'signal':_0x1b9e28,'stdout':_0x549518,'stderr':_0x2df383,'timedOut':_0xedf959});});});}async function resolveActPath(_0x2eb59d){const _0x4ce628=_0x4c20,_0x17cfe6={'IBZXq':function(_0x3bdf26,_0x5bb889){return _0x3bdf26(_0x5bb889);}},_0x181b7a=isAbsolute(NOVA_ACT_CLI_BINARY)?[NOVA_ACT_CLI_BINARY]:(_0x2eb59d[_0x4ce628(0x1b2)]??'')[_0x4ce628(0x14d)](delimiter)['filter'](Boolean)['map'](_0xf2a80=>join(_0xf2a80,NOVA_ACT_CLI_BINARY));for(const _0xd39317 of _0x181b7a){try{return await _0x17cfe6[_0x4ce628(0x1f9)](access,_0xd39317),_0xd39317;}catch{}}return null;}async function checkNovaActCli(_0x288af0){const _0x5f494f=_0x4c20,_0x1c058e={'MoXDT':function(_0x552180,_0x5d8f29){return _0x552180(_0x5d8f29);},'tZTxA':'--help'};try{return await _0x1c058e['MoXDT'](runBootstrapCommand,{'command':NOVA_ACT_CLI_BINARY,'args':['browser',_0x1c058e[_0x5f494f(0x1bb)]],'env':_0x288af0,'timeoutMs':0x7530}),await resolveActPath(_0x288af0)??NOVA_ACT_CLI_BINARY;}catch{return null;}}export async function ensureNovaActCliInstalled(_0x5eff51={}){const _0x3c0dd7=_0x4c20,_0xc9980d={'fdtvd':function(_0x4c7a13,_0x464873){return _0x4c7a13(_0x464873);},'YgSXf':_0x3c0dd7(0x1d8),'QfdnQ':_0x3c0dd7(0x1fa),'JMyrD':'install'},_0x813f41=_0xc9980d[_0x3c0dd7(0x1cc)](withNovaActCliPath,_0x5eff51[_0x3c0dd7(0x156)]??process[_0x3c0dd7(0x156)]),_0x3db0de=await checkNovaActCli(_0x813f41);if(_0x3db0de)return{'installed':![],'actPath':_0x3db0de,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':'','stderr':''};try{await runBootstrapCommand({'command':'uv','args':[_0xc9980d[_0x3c0dd7(0x192)]],'env':_0x813f41,'timeoutMs':0x7530});}catch(_0x326847){throw new Error('nova-act-cli\x20transport\x20requires\x20the\x20Nova\x20Act\x20CLI.\x20Ranger\x20could\x20not\x20find\x20`'+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'+(_0x326847 instanceof Error?_0x326847[_0x3c0dd7(0x165)]:String(_0x326847)));}const _0x21738a=await runBootstrapCommand({'command':'uv','args':[_0xc9980d['QfdnQ'],_0xc9980d['JMyrD'],NOVA_ACT_CLI_UV_PACKAGE],'env':_0x813f41,'timeoutMs':_0x5eff51[_0x3c0dd7(0x202)]??NOVA_ACT_BOOTSTRAP_TIMEOUT_MS}),_0x883ffe=await _0xc9980d[_0x3c0dd7(0x1cc)](checkNovaActCli,_0x813f41);if(!_0x883ffe)throw new Error('Installed\x20'+NOVA_ACT_CLI_UV_PACKAGE+',\x20but\x20`'+NOVA_ACT_CLI_BINARY+_0x3c0dd7(0x15c)+getNovaActCliBinDirs(_0x813f41)[_0x3c0dd7(0x1f2)](',\x20')+_0x3c0dd7(0x173)+truncateOutput(_0x21738a['stdout'])+'\x0astderr:\x20'+truncateOutput(_0x21738a[_0x3c0dd7(0x19e)]));return{'installed':!![],'actPath':_0x883ffe,'uvPackage':NOVA_ACT_CLI_UV_PACKAGE,'stdout':_0x21738a[_0x3c0dd7(0x16e)],'stderr':_0x21738a[_0x3c0dd7(0x19e)]};}function parseNovaActDoctorOutput(_0x9aaa82){const _0x5efdb2=_0x4c20;try{return JSON[_0x5efdb2(0x1ef)](_0x9aaa82);}catch{return null;}}function buildNovaActCliPreflightError(_0x1b19f4){const _0x5882c6=_0x4c20,_0x63ad70={'RDXAI':function(_0xaf0a0a,_0xfe59cf){return _0xaf0a0a>_0xfe59cf;},'gvwUd':'act\x20browser\x20doctor\x20--json\x20timed\x20out','eBroX':_0x5882c6(0x1f6),'KFSYl':'For\x20AWS\x20SSO,\x20set\x20AWS_PROFILE\x20and\x20run:\x20aws\x20sso\x20login\x20--profile\x20<profile>'},{checks:_0x16aca9,stdout:_0x1c71a9,stderr:_0x52162a,env:_0x5a8534,code:_0x41fb2b,signal:_0x27441d,timedOut:_0x27c9e2}=_0x1b19f4,_0x45d4e1=_0x16aca9[_0x5882c6(0x1b3)](_0x273049=>_0x273049[_0x5882c6(0x1d3)]==='fail'),_0x33187a=_0x63ad70['RDXAI'](_0x45d4e1['length'],0x0)?_0x45d4e1[_0x5882c6(0x188)](_0x4d75f6=>{const _0x38684e=_0x5882c6,_0x2ef7f7=_0x4d75f6[_0x38684e(0x14f)]?_0x38684e(0x1e4)+_0x4d75f6['fix']:'';return'-\x20'+_0x4d75f6[_0x38684e(0x1db)]+':\x20'+_0x4d75f6['message']+'.'+_0x2ef7f7;})['join']('\x0a'):[_0x27c9e2?_0x63ad70['gvwUd']:_0x5882c6(0x16c)+(_0x41fb2b??_0x63ad70[_0x5882c6(0x19a)])+'\x20signal='+(_0x27441d??_0x5882c6(0x1f6)),_0x1c71a9?'stdout:\x20'+truncateOutput(_0x1c71a9):'',_0x52162a?'stderr:\x20'+truncateOutput(_0x52162a):''][_0x5882c6(0x1b3)](Boolean)['join']('\x0a'),_0x43bb0a=_0x5a8534['AWS_PROFILE']?.['trim'](),_0x1fda08=_0x43bb0a?'For\x20AWS\x20SSO,\x20run:\x20aws\x20sso\x20login\x20--profile\x20'+_0x43bb0a:_0x63ad70[_0x5882c6(0x1e1)];return new Error([_0x5882c6(0x1c9),_0x33187a,_0x5882c6(0x1b6),_0x1fda08][_0x5882c6(0x1f2)]('\x0a'));}export async function preflightNovaActCli(_0x39904d={}){const _0x3e0264=_0x4c20,_0x4be13a={'qvrLU':function(_0x17e82d,_0x51d466){return _0x17e82d(_0x51d466);},'XCuOD':'doctor'},_0x452779=_0x4be13a[_0x3e0264(0x170)](withNovaActCliPath,_0x39904d['env']??process['env']),_0x3d4d56=await runCommandAllowFailure({'command':NOVA_ACT_CLI_BINARY,'args':[_0x3e0264(0x1f4),_0x4be13a[_0x3e0264(0x152)],_0x3e0264(0x1c8)],'env':_0x452779,'timeoutMs':_0x39904d['timeoutMs']??0x7530}),_0x2a7c1c=_0x4be13a[_0x3e0264(0x170)](parseNovaActDoctorOutput,_0x3d4d56[_0x3e0264(0x16e)]),_0x571e65=_0x2a7c1c?.[_0x3e0264(0x175)]?.['checks']??[],_0x221598=_0x571e65[_0x3e0264(0x1c5)](_0x34969b=>_0x34969b['status']===_0x3e0264(0x148));if(_0x3d4d56[_0x3e0264(0x1ce)]!==0x0||_0x3d4d56['timedOut']||_0x221598)throw _0x4be13a[_0x3e0264(0x170)](buildNovaActCliPreflightError,{'checks':_0x571e65,'stdout':_0x3d4d56['stdout'],'stderr':_0x3d4d56[_0x3e0264(0x19e)],'env':_0x452779,'code':_0x3d4d56[_0x3e0264(0x1ce)],'signal':_0x3d4d56[_0x3e0264(0x13d)],'timedOut':_0x3d4d56['timedOut']});return{'checks':_0x571e65,'logDir':_0x2a7c1c?.['log_dir']??_0x2a7c1c?.['logDir']};}function getNovaActCliSubcommand(_0x236c7b){const _0x3a8288=_0x4c20,_0x506a05={'rqRLN':_0x3a8288(0x178)},[_0x1eea3b='unknown',_0x5bf407]=_0x236c7b;return _0x1eea3b===_0x506a05['rqRLN']&&_0x5bf407?_0x1eea3b+'\x20'+_0x5bf407:_0x1eea3b;}function supportsBrowserSessionOptions(_0x29a188){const _0x2d2043=_0x4c20,_0x4b699b={'UyVRz':function(_0x3c2066,_0x43eb15){return _0x3c2066===_0x43eb15;},'yOJXe':function(_0x664fac,_0x14568e){return _0x664fac===_0x14568e;},'hGzHB':'export'};return!(_0x4b699b[_0x2d2043(0x1bd)](_0x29a188[0x0],_0x2d2043(0x178))&&(_0x4b699b['yOJXe'](_0x29a188[0x1],_0x4b699b[_0x2d2043(0x19f)])||_0x29a188[0x1]==='close'));}function buildSharedArgs(_0x219a13,_0x4ebc36){const _0x350f72=_0x4c20,_0x19deb6={'YTgak':function(_0x427ed0,_0x279e37){return _0x427ed0(_0x279e37);},'jwRyN':'--quiet','fPxpB':'--headless','sVIBV':'--executable-path','LmCUA':_0x350f72(0x1ff)},_0x2741f3=['--session-id',_0x219a13['sessionId'],_0x350f72(0x1c8)];if(_0x19deb6['YTgak'](supportsBrowserSessionOptions,_0x4ebc36)){_0x2741f3[_0x350f72(0x164)](_0x19deb6['jwRyN']),_0x2741f3['push'](_0x219a13[_0x350f72(0x179)]?_0x19deb6[_0x350f72(0x1b9)]:_0x350f72(0x191));_0x219a13[_0x350f72(0x1d6)]&&_0x2741f3[_0x350f72(0x164)]('--browser-profile-path',_0x219a13['browserProfilePath']);_0x219a13[_0x350f72(0x13c)]&&_0x2741f3[_0x350f72(0x164)](_0x19deb6[_0x350f72(0x144)],_0x219a13['executablePath']);_0x219a13['cdpEndpoint']&&_0x2741f3[_0x350f72(0x164)](_0x19deb6['LmCUA'],_0x219a13[_0x350f72(0x1e9)]);for(const _0xce30a5 of _0x219a13['launchArgs']??[]){_0x2741f3[_0x350f72(0x164)](_0x350f72(0x1f8)+_0xce30a5);}}return _0x2741f3;}export function buildNovaActCliInvocation(_0x508a44,_0x5460ee){const _0x3faa26=_0x4c20,_0x511040={'nwlOg':function(_0x3f5897,_0x226353,_0x458c43){return _0x3f5897(_0x226353,_0x458c43);},'uaQde':'browser'},_0x2b8468=_0x511040['nwlOg'](buildSharedArgs,_0x508a44,_0x5460ee),_0x4286a4=['browser',..._0x5460ee,..._0x2b8468];return{'command':NOVA_ACT_CLI_BINARY,'args':_0x4286a4,'shellCommand':[NOVA_ACT_CLI_BINARY,_0x511040['uaQde'],..._0x5460ee['map'](quoteShellArg),..._0x2b8468[_0x3faa26(0x188)](quoteShellArg)][_0x3faa26(0x1f2)]('\x20'),'subcommand':getNovaActCliSubcommand(_0x5460ee)};}export function buildNovaActCliCommandPrefix(){return NOVA_ACT_CLI_BINARY+'\x20browser';}export function buildNovaActCliBrowserWrapperPath(_0x4ecbdc){const _0x4d0045=_0x4c20,_0x112718={'xrItB':function(_0x18bbc0,_0x45dfb4,_0x3d86e4){return _0x18bbc0(_0x45dfb4,_0x3d86e4);},'OubrF':_0x4d0045(0x1d2)};return _0x112718[_0x4d0045(0x1b0)](join,dirname(_0x4ecbdc['userDataDir']),_0x112718[_0x4d0045(0x166)]);}export async function writeNovaActCliBrowserWrapper(_0x36f17d){const _0x4f145c=_0x4c20,_0xa53fcb={'KMRjG':'session','CRRwJ':'export','doaaw':function(_0x1e549c,_0x22d679){return _0x1e549c(_0x22d679);},'UDSTH':function(_0x4c3c9b,_0x4261e6,_0x117cc8){return _0x4c3c9b(_0x4261e6,_0x117cc8);}},_0xd0f0e0=_0x36f17d[_0x4f145c(0x17f)]??buildNovaActCliBrowserWrapperPath(_0x36f17d),_0x55a578=buildSharedArgs(_0x36f17d,[_0x4f145c(0x1e5)])['map'](quoteShellArg)[_0x4f145c(0x1f2)]('\x20'),_0x51d6f3=buildSharedArgs(_0x36f17d,[_0xa53fcb[_0x4f145c(0x1d5)],_0xa53fcb[_0x4f145c(0x182)]])['map'](quoteShellArg)[_0x4f145c(0x1f2)]('\x20');return await mkdir(_0xa53fcb[_0x4f145c(0x18e)](dirname,_0xd0f0e0),{'recursive':!![]}),await mkdir(_0x36f17d[_0x4f145c(0x1cb)],{'recursive':!![]}),await writeFile(_0xd0f0e0,_0x4f145c(0x1dc)+quoteShellArg(NOVA_ACT_CLI_BINARY)+'\x20browser\x20\x22$@\x22\x20'+_0x51d6f3+_0x4f145c(0x198)+quoteShellArg(NOVA_ACT_CLI_BINARY)+_0x4f145c(0x140)+_0x55a578+'\x0a',_0x4f145c(0x195)),await _0xa53fcb[_0x4f145c(0x1ad)](chmod,_0xd0f0e0,0x1ed),_0xd0f0e0;}export function buildNovaActCliSharedOptionsSuffix(_0x258a88,_0x508a1d=['execute']){return buildSharedArgs(_0x258a88,_0x508a1d)['map'](quoteShellArg)['join']('\x20');}export async function runNovaActCliCommand(_0x55ef6b){const _0x1ee496=_0x4c20,_0xbc3eea={'GlWYz':function(_0x3ce9ce,_0x5bbdae,_0x21d342){return _0x3ce9ce(_0x5bbdae,_0x21d342);},'rIoFR':function(_0x4d22d1,_0x70110){return _0x4d22d1(_0x70110);},'OHyMX':function(_0x9a5582,_0x3fc6e8){return _0x9a5582??_0x3fc6e8;},'WVldO':function(_0x5cebb1,_0x3c89da){return _0x5cebb1??_0x3c89da;},'KzJJa':'pipe','LuKNF':function(_0x2216f8,_0x4a0261){return _0x2216f8>_0x4a0261;},'cGjtz':_0x1ee496(0x175),'PGcqL':'error'};await mkdir(_0x55ef6b['userDataDir'],{'recursive':!![]});const _0x28b61d=_0xbc3eea['GlWYz'](buildNovaActCliInvocation,_0x55ef6b,_0x55ef6b['commandArgs']);return new Promise((_0x1ab734,_0x2794c9)=>{const _0x148fbd=_0x1ee496,_0x38f75e={'wEGWu':function(_0x12ddbe,_0x5c1aca){return _0xbc3eea['rIoFR'](_0x12ddbe,_0x5c1aca);},'tNjAJ':function(_0x442301,_0x1b688d){return _0xbc3eea['OHyMX'](_0x442301,_0x1b688d);},'rxifd':'null','oMYls':function(_0x225218,_0x33c96d){const _0x4e208b=_0x4c20;return _0xbc3eea[_0x4e208b(0x16b)](_0x225218,_0x33c96d);},'JNLEj':function(_0x204217,_0x2e4298){return _0x204217(_0x2e4298);}},_0x1ee970=spawn(_0x28b61d[_0x148fbd(0x1b8)],_0x28b61d[_0x148fbd(0x1e7)],{'cwd':_0x55ef6b[_0x148fbd(0x205)],'env':_0x55ef6b['env'],'stdio':[_0x148fbd(0x1bf),_0xbc3eea['KzJJa'],'pipe']});let _0x4ef048='',_0x148e05='',_0x9f970a=![];const _0x55be4a=_0x55ef6b['timeoutMs']&&_0xbc3eea[_0x148fbd(0x155)](_0x55ef6b[_0x148fbd(0x202)],0x0)?setTimeout(()=>{const _0x495ab3=_0x148fbd;_0x9f970a=!![],_0x1ee970[_0x495ab3(0x1e3)](_0x495ab3(0x14b)),_0xbc3eea[_0x495ab3(0x1b7)](setTimeout,()=>{try{_0x1ee970['kill']('SIGKILL');}catch{}},0x3e8);},_0x55ef6b['timeoutMs']):null;_0x1ee970['stdout']?.['on'](_0x148fbd(0x175),_0x199dcf=>{const _0x3fa428=_0x148fbd;_0x4ef048+=_0x199dcf[_0x3fa428(0x1d7)]();}),_0x1ee970['stderr']?.['on'](_0xbc3eea['cGjtz'],_0x268e3d=>{_0x148e05+=_0x268e3d['toString']();}),_0x1ee970['on'](_0xbc3eea['PGcqL'],_0x217263=>{if(_0x55be4a)clearTimeout(_0x55be4a);_0x2794c9(_0x217263);}),_0x1ee970['on']('close',(_0x38cb58,_0x24cdae)=>{const _0xbafa2a=_0x148fbd;if(_0x55be4a)_0x38f75e['wEGWu'](clearTimeout,_0x55be4a);if(_0x38cb58===0x0){_0x38f75e[_0xbafa2a(0x19b)](_0x1ab734,{'stdout':_0x4ef048,'stderr':_0x148e05,'invocation':_0x28b61d});return;}const _0x526579=_0x9f970a?'timed\x20out\x20after\x20'+_0x55ef6b[_0xbafa2a(0x202)]+'ms':'exited\x20with\x20code='+_0x38f75e['tNjAJ'](_0x38cb58,_0x38f75e['rxifd'])+'\x20signal='+_0x38f75e[_0xbafa2a(0x149)](_0x24cdae,_0x38f75e['rxifd']);_0x38f75e[_0xbafa2a(0x184)](_0x2794c9,new Error(_0xbafa2a(0x1eb)+_0x28b61d[_0xbafa2a(0x1ed)]+'\x20'+_0x526579+'\x0astdout:\x20'+truncateOutput(_0x4ef048)+_0xbafa2a(0x18a)+truncateOutput(_0x148e05)));});});}export function parseNovaActCliCommand(_0x14fdd2){const _0x124c2e=_0x4c20,_0x5395ba=_0x14fdd2[_0x124c2e(0x16d)](/(?:^|\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 _0x5395ba?.[0x1]??null;}export function extractNovaActLogDir(_0x4969a4){const _0x4ad6f1=_0x4c20;try{const _0x30dcb5=JSON['parse'](_0x4969a4),_0x3cfb27=[_0x30dcb5[_0x4ad6f1(0x1fd)],_0x30dcb5[_0x4ad6f1(0x17b)],_0x30dcb5['logs_dir'],_0x30dcb5['logDir'],_0x30dcb5[_0x4ad6f1(0x1aa)]],_0x45204b=_0x3cfb27[_0x4ad6f1(0x1dd)](_0x4c1b7b=>typeof _0x4c1b7b===_0x4ad6f1(0x147)&&_0x4c1b7b[_0x4ad6f1(0x1f7)]()['length']>0x0);if(_0x45204b)return _0x45204b;}catch{}const _0x4a2515=_0x4969a4['match'](/(?:logs_directory|logsDirectory|log_dir|logDir|logs dir|logs directory)[:=]\s*["']?([^\s"',}]+)/i);return _0x4a2515?.[0x1]??null;}export async function loadNovaActSessionExport(_0x24000b){const _0x5dafe2=_0x4c20,_0x4e95b6={'otkvv':function(_0x2da08a,_0x3393cf,_0x45a33d){return _0x2da08a(_0x3393cf,_0x45a33d);}};try{return JSON['parse'](await _0x4e95b6[_0x5dafe2(0x1fb)](readFile,_0x24000b,_0x5dafe2(0x195)));}catch{return null;}}export async function hydrateNovaProfileFromStorageState(_0x398d54){const _0x341790=_0x4c20,_0x547b50={'OPeYg':function(_0x4e4a9c,_0x3664ec,_0x45933a){return _0x4e4a9c(_0x3664ec,_0x45933a);},'kMLUI':'Nova\x20profile\x20hydration\x20browser\x20did\x20not\x20expose\x20a\x20context','zhPTI':_0x341790(0x18f),'tmQiv':function(_0x5b311d,_0x35ff95,_0x103ff6){return _0x5b311d(_0x35ff95,_0x103ff6);},'wjaZx':function(_0x1b60aa,_0x4d1fd6){return _0x1b60aa(_0x4d1fd6);}},_0x4a4f25=JSON[_0x341790(0x1ef)](await readFile(_0x398d54['storageStatePath'],'utf-8')),_0xe81121=await inspectNovaStorageStateFile(_0x398d54['storageStatePath']);await _0x547b50['OPeYg'](mkdir,_0x398d54['userDataDir'],{'recursive':!![]});const _0x12f435=join(_0x398d54[_0x341790(0x1cb)],_0x341790(0x17d)),_0x2ee785=await inspectNovaProfileFiles({'userDataDir':_0x398d54[_0x341790(0x1cb)],'browserProfilePath':_0x12f435}),{browser:_0x1a1957,process:_0x5984f2}=await launchNovaHydrationBrowser({'userDataDir':_0x398d54[_0x341790(0x1cb)],'browserProfilePath':_0x12f435,'executablePath':_0x398d54['executablePath'],'headless':_0x398d54[_0x341790(0x179)],'launchArgs':_0x398d54['launchArgs']}),_0x31b9e0=_0x1a1957['contexts']()[0x0];if(!_0x31b9e0){await _0x547b50['OPeYg'](closeNovaHydrationBrowser,_0x1a1957,_0x5984f2);throw new Error(_0x547b50[_0x341790(0x1ab)]);}let _0x3e8d83=0x0,_0x3f63f4=0x0;try{const _0x39e292=_0x4a4f25['cookies']??[];if(_0x39e292[_0x341790(0x18d)]>0x0){const _0x521bf9=_0x39e292['map'](_0x1d72bd=>{const _0x4fd4ac=_0x341790;if(_0x1d72bd['expires']!==-0x1)return _0x1d72bd;return _0x3f63f4+=0x1,{..._0x1d72bd,'expires':Math[_0x4fd4ac(0x1be)](Date[_0x4fd4ac(0x1df)]()/0x3e8)+NOVA_PROMOTED_SESSION_COOKIE_TTL_SECONDS};});await _0x31b9e0[_0x341790(0x1ee)](_0x521bf9);}for(const _0x2b951c of _0x4a4f25['origins']??[]){if(!_0x2b951c['localStorage']?.[_0x341790(0x18d)])continue;const _0x442899=await _0x31b9e0['newPage']();await _0x442899[_0x341790(0x150)](_0x2b951c[_0x341790(0x1a3)],{'waitUntil':_0x547b50['zhPTI'],'timeout':0x7530}),await _0x442899['evaluate'](_0x4eaeab=>{const _0x9aae00=_0x341790;for(const _0x2cb58f of _0x4eaeab){window[_0x9aae00(0x142)][_0x9aae00(0x1a0)](_0x2cb58f['name'],_0x2cb58f['value']);}},_0x2b951c[_0x341790(0x142)]),_0x3e8d83+=_0x2b951c[_0x341790(0x142)][_0x341790(0x18d)],await _0x442899[_0x341790(0x167)]();}if(_0x398d54['baseUrl']){const _0x5d68d3=await _0x31b9e0[_0x341790(0x13e)]();await _0x5d68d3['goto'](_0x398d54['baseUrl'],{'waitUntil':_0x547b50[_0x341790(0x162)],'timeout':0x7530}),await _0x5d68d3[_0x341790(0x167)]();}await _0x547b50['tmQiv'](ensureChromeProfileShape,_0x398d54['userDataDir'],_0x12f435);}finally{await closeNovaHydrationBrowser(_0x1a1957,_0x5984f2);}const _0x35e113=await _0x547b50[_0x341790(0x1c1)](inspectNovaProfileFiles,{'userDataDir':_0x398d54[_0x341790(0x1cb)],'browserProfilePath':_0x12f435});return{'browserProfilePath':_0x12f435,'cookieCount':_0x4a4f25['cookies']?.['length']??0x0,'promotedSessionCookieCount':_0x3f63f4,'originCount':_0x4a4f25['origins']?.[_0x341790(0x18d)]??0x0,'localStorageEntryCount':_0x3e8d83,'storageStateDiagnostics':_0xe81121,'profileBefore':_0x2ee785,'profileAfter':_0x35e113};}async function launchNovaHydrationBrowser(_0x522126){const _0xad65c1=_0x4c20,_0x4274a0={'IXAkc':function(_0x2d703a,_0x5276c8,_0x66a920){return _0x2d703a(_0x5276c8,_0x66a920);},'TrGcP':'--profile-directory=Default','nKgZr':'--window-size=1280,720','WiBnz':_0xad65c1(0x169),'Nptwn':_0xad65c1(0x1a5),'vQfpb':_0xad65c1(0x15d),'gvKml':function(_0x23b32e,_0x5d1abf,_0x44bf32,_0x168a77){return _0x23b32e(_0x5d1abf,_0x44bf32,_0x168a77);},'MSGvr':_0xad65c1(0x1bf),'Voyfn':'pipe','pKmiz':function(_0x968de2,_0x965c4a,_0x50b8e8){return _0x968de2(_0x965c4a,_0x50b8e8);},'ddGze':function(_0x365f50,_0xaebe5e){return _0x365f50(_0xaebe5e);}};await _0x4274a0[_0xad65c1(0x189)](ensureChromeProfileShape,_0x522126[_0xad65c1(0x1cb)],_0x522126['browserProfilePath']);const _0x2390ac=_0x522126[_0xad65c1(0x13c)]??chromium['executablePath'](),_0x2d109b=await getAvailablePort(),_0x1ccdd3=[_0xad65c1(0x1b1)+_0x2d109b,'--user-data-dir='+_0x522126['userDataDir'],_0x4274a0[_0xad65c1(0x1b4)],_0x4274a0[_0xad65c1(0x151)],_0x4274a0['WiBnz'],_0x4274a0[_0xad65c1(0x1e2)]];_0x522126[_0xad65c1(0x179)]&&_0x1ccdd3['push'](_0x4274a0[_0xad65c1(0x176)]);_0x1ccdd3['push'](..._0x522126[_0xad65c1(0x1d0)]??[]);const _0x5a5d09=_0x4274a0['gvKml'](spawn,_0x2390ac,_0x1ccdd3,{'stdio':[_0x4274a0[_0xad65c1(0x1a6)],_0x4274a0['Voyfn'],_0x4274a0['Voyfn']]});try{const _0x411321=await _0x4274a0['pKmiz'](waitForCdpEndpoint,_0x5a5d09,_0x2d109b),_0x571ae2=await chromium[_0xad65c1(0x146)](_0x411321);return{'browser':_0x571ae2,'process':_0x5a5d09};}catch(_0x25e09e){await _0x4274a0['ddGze'](terminateNovaHydrationBrowser,_0x5a5d09);throw _0x25e09e;}}async function closeNovaHydrationBrowser(_0x420b57,_0x3dfb58){try{await _0x420b57['close']();}catch{await terminateNovaHydrationBrowser(_0x3dfb58);return;}const _0x208c96=await waitForProcessExit(_0x3dfb58,0x1388);!_0x208c96&&await terminateNovaHydrationBrowser(_0x3dfb58);}async function terminateNovaHydrationBrowser(_0x4276c){const _0x22a45f=_0x4c20,_0x33a6d7={'OUzCs':function(_0x2283d0,_0x29f127){return _0x2283d0===_0x29f127;},'NzuAD':function(_0x3a7898,_0x161f80,_0x8cb21b){return _0x3a7898(_0x161f80,_0x8cb21b);}};if(_0x4276c[_0x22a45f(0x1c6)]!==null)return;try{_0x4276c['kill'](_0x22a45f(0x14b));}catch{}await waitForProcessExit(_0x4276c,0x7d0);if(_0x33a6d7[_0x22a45f(0x1ec)](_0x4276c[_0x22a45f(0x1c6)],null)){try{_0x4276c['kill'](_0x22a45f(0x1d1));}catch{}await _0x33a6d7['NzuAD'](waitForProcessExit,_0x4276c,0x7d0);}}async function waitForCdpEndpoint(_0x11034,_0x2ab684){const _0x3b79fd=_0x4c20,_0x479787={'pxeZs':function(_0x329f52,_0x36a76d){return _0x329f52===_0x36a76d;},'Hwzzw':function(_0x295125,_0x187d13){return _0x295125(_0x187d13);}},_0x11c9eb=Date[_0x3b79fd(0x1df)]();let _0x569206;while(Date[_0x3b79fd(0x1df)]()-_0x11c9eb<NOVA_PROFILE_HYDRATION_CDP_TIMEOUT_MS){if(_0x11034['exitCode']!==null)throw new Error(_0x3b79fd(0x1b5)+_0x11034['exitCode']);try{const _0x1e63c0=await fetch(_0x3b79fd(0x186)+_0x2ab684+_0x3b79fd(0x174));if(_0x1e63c0['ok']){const _0x1f5b38=await _0x1e63c0['json']();if(_0x479787['pxeZs'](typeof _0x1f5b38['webSocketDebuggerUrl'],'string'))return _0x1f5b38['webSocketDebuggerUrl'];}}catch(_0x267b35){_0x569206=_0x267b35;}await _0x479787[_0x3b79fd(0x15b)](delay,0x64);}const _0x5be372=_0x569206 instanceof Error?':\x20'+_0x569206[_0x3b79fd(0x165)]:'';throw new Error('Timed\x20out\x20waiting\x20for\x20hydration\x20browser\x20CDP'+_0x5be372);}async function getAvailablePort(){const _0x59d458={'jCBAn':'Failed\x20to\x20allocate\x20hydration\x20browser\x20port','zcAgi':'error'};return new Promise((_0x295bc2,_0x53c626)=>{const _0x12e074=_0x4c20,_0x59d608={'owCBv':function(_0x506914,_0x43f25f){return _0x506914(_0x43f25f);},'hqHSi':_0x59d458[_0x12e074(0x203)]},_0x339add=createServer();_0x339add[_0x12e074(0x19d)](_0x59d458['zcAgi'],_0x53c626),_0x339add[_0x12e074(0x18c)](0x0,'127.0.0.1',()=>{const _0x59afdb=_0x12e074,_0x4eae62={'aqBLt':function(_0x1cbe0c,_0x16dd78){return _0x1cbe0c===_0x16dd78;},'RbYkJ':function(_0x2642cf,_0x3ab447){return _0x59d608['owCBv'](_0x2642cf,_0x3ab447);},'TyHes':_0x59d608[_0x59afdb(0x1bc)]},_0x278ce6=_0x339add['address']();_0x339add['close'](_0x1b7557=>{const _0x17e364=_0x59afdb;if(_0x1b7557){_0x53c626(_0x1b7557);return;}if(_0x4eae62['aqBLt'](typeof _0x278ce6,'object')&&_0x278ce6?.[_0x17e364(0x157)]){_0x295bc2(_0x278ce6[_0x17e364(0x157)]);return;}_0x4eae62[_0x17e364(0x1fc)](_0x53c626,new Error(_0x4eae62[_0x17e364(0x1a4)]));});});});}async function waitForProcessExit(_0x1d76b6,_0x297b6b){const _0x5b03ca={'zxRYZ':function(_0x4a5ecb){return _0x4a5ecb();},'rNQwk':function(_0x44b7b9,_0x263839){return _0x44b7b9(_0x263839);},'XKcEw':function(_0x32e4c0,_0x5076a0){return _0x32e4c0(_0x5076a0);},'PfIZt':function(_0x95636f){return _0x95636f();},'tugib':'exit'};if(_0x1d76b6['exitCode']!==null)return!![];return new Promise(_0x3a49f1=>{const _0x53c67b=_0x4c20,_0x185373={'Pfewj':function(_0x4a8402){const _0x276e9a=_0x4c20;return _0x5b03ca[_0x276e9a(0x1a2)](_0x4a8402);},'agriB':function(_0x330cc2,_0x2915d1){return _0x5b03ca['rNQwk'](_0x330cc2,_0x2915d1);}},_0x394a1f=setTimeout(()=>{_0x5b03ca['zxRYZ'](_0x1801e2),_0x5b03ca['rNQwk'](_0x3a49f1,![]);},_0x297b6b),_0x1c32ed=()=>{_0x185373['Pfewj'](_0x1801e2),_0x185373['agriB'](_0x3a49f1,!![]);},_0x1801e2=()=>{_0x5b03ca['XKcEw'](clearTimeout,_0x394a1f),_0x1d76b6['off']('exit',_0x1c32ed);};_0x1d76b6[_0x53c67b(0x19d)](_0x5b03ca['tugib'],_0x1c32ed);});}function _0x4c20(_0x42b66e,_0x274e9b){_0x42b66e=_0x42b66e-0x13b;const _0x1e9158=_0x1e91();let _0x4c2064=_0x1e9158[_0x42b66e];return _0x4c2064;}function _0x1e91(){const _0x32737e=['--launch-arg=','IBZXq','tool','otkvv','RbYkJ','logs_directory','/.local/bin','--cdp','localeCompare','tuAIG','timeoutMs','jCBAn','httpOnly','cwd','25083JVsExQ','UqdLx','executablePath','signal','newPage','add','\x20browser\x20\x22$@\x22\x20','rBwIG','localStorage','aqaFw','sVIBV','MgEUI','connectOverCDP','string','fail','oMYls','Preferences','SIGTERM','MaPcm','split','sha256','fix','goto','nKgZr','XCuOD','hex','FOdji','LuKNF','env','port','CGzbp','YRtDA','Vsmur','Hwzzw','\x20browser\x20--help`\x20is\x20still\x20unavailable.\x20Ensure\x20','--headless=new','\x20signal=','update','expires','Local\x20Storage','zhPTI','JUxmr','push','message','OubrF','close','80570vVehBx','--no-first-run','wSrQo','WVldO','act\x20browser\x20doctor\x20--json\x20exited\x20with\x20code=','match','stdout','byteLength','qvrLU','EPkpO','number','\x20is\x20on\x20PATH.\x0astdout:\x20','/json/version','data','vQfpb','digest','session','headless','1454180ztlhKm','logsDirectory','secure','Default','entries','browserCommandPath','VjGQd','TpMfs','CRRwJ','129383CgwNlC','JNLEj','cookies','http://127.0.0.1:','rKvej','map','IXAkc','\x0astderr:\x20','leveldb','listen','length','doaaw','domcontentloaded','ZRuXP','--headed','YgSXf','exited\x20with\x20code=','scian','utf-8','lXBhh','UV_TOOL_BIN_DIR','\x0afi\x0a\x0aexec\x20','2768RcLSOU','eBroX','wEGWu','error','once','stderr','hGzHB','setItem','mtimeMs','PfIZt','origin','TyHes','--remote-allow-origins=http://localhost','MSGvr','Cookies','xdBqK','origins','log_dir','kMLUI','get','UDSTH','MYAHx','puOYx','xrItB','--remote-debugging-port=','PATH','filter','TrGcP','Hydration\x20browser\x20exited\x20before\x20CDP\x20became\x20available\x20with\x20code\x20','Configure\x20Nova\x20Act\x20with\x20NOVA_ACT_API_KEY,\x20run\x20act\x20browser\x20setup\x20--api-key\x20<key>,\x20or\x20configure\x20AWS\x20credentials.','GlWYz','command','fPxpB','trGWU','tZTxA','hqHSi','UyVRz','floor','ignore','domain','wjaZx','bkKOo','910308ngfwIL','slice','some','exitCode','uDvTN','--json','Nova\x20Act\x20CLI\x20preflight\x20failed,\x20so\x20Ranger\x20did\x20not\x20start\x20a\x20browser\x20session.','egxYp','userDataDir','fdtvd','size','code','208bUEAFh','launchArgs','SIGKILL','nova-act-browser','status','btPrh','KMRjG','browserProfilePath','toString','--version','TVdNc','HyEHC','name','#!/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','find','sort','now','4417818DKJmlz','KFSYl','Nptwn','kill','\x20Fix:\x20','execute','timed\x20out\x20after\x20','args','...','cdpEndpoint','BJQwp','nova-act-cli\x20','OUzCs','subcommand','addCookies','parse','OZixH','PQiRJ','join','all','browser','6195357XLTmql','null','trim'];_0x1e91=function(){return _0x32737e;};return _0x1e91();}async function delay(_0x318fcd){await new Promise(_0x592c47=>setTimeout(_0x592c47,_0x318fcd));}async function ensureChromeProfileShape(_0x25dccc,_0x39d634){const _0x1412d5=_0x4c20,_0x630031={'TVdNc':function(_0x15151d,_0x31917e,_0x5a92fa){return _0x15151d(_0x31917e,_0x5a92fa);},'IYgEH':function(_0x2fa54c,_0x247e79,_0x17e7f1){return _0x2fa54c(_0x247e79,_0x17e7f1);},'mDqNP':function(_0x23158f,_0x4165ff){return _0x23158f(_0x4165ff);}};await _0x630031['TVdNc'](mkdir,_0x39d634,{'recursive':!![]}),await ensureJsonFile(_0x630031['IYgEH'](join,_0x25dccc,'Local\x20State')),await _0x630031['mDqNP'](ensureJsonFile,_0x630031[_0x1412d5(0x1d9)](join,_0x39d634,_0x1412d5(0x14a)));}async function ensureJsonFile(_0x386a8e){const _0x231145=_0x4c20,_0x152bd4={'xdBqK':function(_0x3743a6,_0x1c42d0){return _0x3743a6(_0x1c42d0);},'PeMMX':function(_0x143526,_0x4aedb7,_0x29923a,_0x8d862a){return _0x143526(_0x4aedb7,_0x29923a,_0x8d862a);},'crYNy':'utf-8'};try{await _0x152bd4[_0x231145(0x1a8)](access,_0x386a8e);}catch{await _0x152bd4['PeMMX'](writeFile,_0x386a8e,'{}',_0x152bd4['crYNy']);}}export function previewNovaActCliCommand(_0x34b64a){return truncatePreview(_0x34b64a);}
@@ -1 +1 @@
1
- (function(_0x391155,_0x41b017){var _0x169845=_0x269e,_0x54dbea=_0x391155();while(!![]){try{var _0x39de82=parseInt(_0x169845(0x1ce))/0x1+parseInt(_0x169845(0x1cf))/0x2*(-parseInt(_0x169845(0x1c3))/0x3)+-parseInt(_0x169845(0x1c8))/0x4+parseInt(_0x169845(0x1cb))/0x5+parseInt(_0x169845(0x1c1))/0x6*(parseInt(_0x169845(0x1cd))/0x7)+parseInt(_0x169845(0x1cc))/0x8*(parseInt(_0x169845(0x1bf))/0x9)+-parseInt(_0x169845(0x1c7))/0xa*(parseInt(_0x169845(0x1bd))/0xb);if(_0x39de82===_0x41b017)break;else _0x54dbea['push'](_0x54dbea['shift']());}catch(_0x36244d){_0x54dbea['push'](_0x54dbea['shift']());}}}(_0x7f1a,0xa5c89));function _0x7f1a(){var _0x388dfc=['opencode','XDG_CONFIG_HOME','280795kyyKFp','844136XyZAOR','315HeOdZL','1159708soKIJa','22AuBLlj','3982CIiixg','xmOAu','9MgatCq','.opencode','179466sYoGsL','airbI','277026SKkTwX','.config','usThB','env','13010tvyccl','2006424vybvua'];_0x7f1a=function(){return _0x388dfc;};return _0x7f1a();}import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x269e(_0x32cce8,_0x1770ee){_0x32cce8=_0x32cce8-0x1bd;var _0x7f1a04=_0x7f1a();var _0x269e15=_0x7f1a04[_0x32cce8];return _0x269e15;}export function getOpencodeConfigDir(_0x1e136e){var _0x469b21=_0x269e,_0x5e8a0a={'usThB':function(_0x1c445e,_0x143ceb){return _0x1c445e===_0x143ceb;},'uLMiR':function(_0x1ba7b4,_0x576f0c,_0x4cafe9){return _0x1ba7b4(_0x576f0c,_0x4cafe9);},'zEXzu':function(_0x4eaad2,_0x566ad3,_0x6a5b26,_0x590ccb){return _0x4eaad2(_0x566ad3,_0x6a5b26,_0x590ccb);},'dpfcY':function(_0x5613a1){return _0x5613a1();},'JeoiD':_0x469b21(0x1c4),'xmOAu':function(_0x4aa4c8,_0x3faa4d,_0x216adc){return _0x4aa4c8(_0x3faa4d,_0x216adc);}};if(process['env']['OPENCODE_CONFIG_DIR'])return process[_0x469b21(0x1c6)]['OPENCODE_CONFIG_DIR'];if(_0x5e8a0a[_0x469b21(0x1c5)](_0x1e136e,'user')){if(process[_0x469b21(0x1c6)][_0x469b21(0x1ca)])return _0x5e8a0a['uLMiR'](join,process[_0x469b21(0x1c6)][_0x469b21(0x1ca)],'opencode');return _0x5e8a0a['zEXzu'](join,_0x5e8a0a['dpfcY'](homedir),_0x5e8a0a['JeoiD'],_0x469b21(0x1c9));}return _0x5e8a0a[_0x469b21(0x1be)](join,getProjectRoot(),_0x469b21(0x1c0));}export function getOpencodeSkillsDir(_0xdcb1e9){var _0x106e9f=_0x269e,_0x2bfb2a={'airbI':function(_0x32cb8f,_0x1974a2,_0x3842ec){return _0x32cb8f(_0x1974a2,_0x3842ec);},'bESih':'skills'};return _0x2bfb2a[_0x106e9f(0x1c2)](join,getOpencodeConfigDir(_0xdcb1e9),_0x2bfb2a['bESih']);}
1
+ (function(_0x261889,_0x28e64c){var _0x121b15=_0x29dd,_0x4de630=_0x261889();while(!![]){try{var _0x54cb07=-parseInt(_0x121b15(0xcb))/0x1+-parseInt(_0x121b15(0xc4))/0x2*(parseInt(_0x121b15(0xc2))/0x3)+-parseInt(_0x121b15(0xc8))/0x4+parseInt(_0x121b15(0xca))/0x5*(-parseInt(_0x121b15(0xc7))/0x6)+parseInt(_0x121b15(0xce))/0x7+parseInt(_0x121b15(0xd3))/0x8*(-parseInt(_0x121b15(0xc9))/0x9)+parseInt(_0x121b15(0xc3))/0xa;if(_0x54cb07===_0x28e64c)break;else _0x4de630['push'](_0x4de630['shift']());}catch(_0x3f4c30){_0x4de630['push'](_0x4de630['shift']());}}}(_0xb640,0xb2180));import{homedir}from'os';function _0xb640(){var _0x535635=['HYTuG','234usKIWk','24306450OevtZH','712JtlNBQ','skills','OPENCODE_CONFIG_DIR','180078SEeoTT','1069952NfbQbG','20763tKqsnd','115eoBadP','754501SadYHZ','.opencode','user','530565MzChzE','env','fPFpy','wgIVP','XzbYH','128sSJXmo','.config','opencode'];_0xb640=function(){return _0x535635;};return _0xb640();}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x103699){var _0x176a61=_0x29dd,_0x418c05={'XzbYH':_0x176a61(0xd5),'RrwQF':function(_0x998962,_0x5c51ff,_0x245d7a,_0x59cd9f){return _0x998962(_0x5c51ff,_0x245d7a,_0x59cd9f);},'vdBkD':function(_0x5d2832){return _0x5d2832();},'fPFpy':function(_0x1060f5,_0x3cef0b,_0x584d41){return _0x1060f5(_0x3cef0b,_0x584d41);},'HYTuG':function(_0x1a5926){return _0x1a5926();}};if(process['env'][_0x176a61(0xc6)])return process['env'][_0x176a61(0xc6)];if(_0x103699===_0x176a61(0xcd)){if(process[_0x176a61(0xcf)]['XDG_CONFIG_HOME'])return join(process['env']['XDG_CONFIG_HOME'],_0x418c05[_0x176a61(0xd2)]);return _0x418c05['RrwQF'](join,_0x418c05['vdBkD'](homedir),_0x176a61(0xd4),_0x418c05['XzbYH']);}return _0x418c05[_0x176a61(0xd0)](join,_0x418c05[_0x176a61(0xc1)](getProjectRoot),_0x176a61(0xcc));}function _0x29dd(_0xb6e285,_0x2e2855){_0xb6e285=_0xb6e285-0xc1;var _0xb64082=_0xb640();var _0x29dd92=_0xb64082[_0xb6e285];return _0x29dd92;}export function getOpencodeSkillsDir(_0x2e4101){var _0x400b21=_0x29dd,_0x4bc1d1={'wgIVP':function(_0x117470,_0x84ce44,_0x280e32){return _0x117470(_0x84ce44,_0x280e32);},'bOJol':_0x400b21(0xc5)};return _0x4bc1d1[_0x400b21(0xd1)](join,getOpencodeConfigDir(_0x2e4101),_0x4bc1d1['bOJol']);}
@@ -1 +1 @@
1
- function _0x459a(){const _0x5796b0=['string','1086bnQmxG','81414ugFabp','map','\x20must\x20be\x20a\x20string\x20or\x20number','968600FDCXhy','29948vYWXWu','51uIsZXv','searchParams','99539Dsaqjl','1211uqTvnS','410ohKSrg','310TVMccS','8316600IOLFHQ','variableName','304qzgOzw','status','No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','/organization/environment-variables','Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20','Organization\x20environment\x20variable\x20','886ABTZGQ','from','filter'];_0x459a=function(){return _0x5796b0;};return _0x459a();}(function(_0x1c6cd0,_0x53d508){const _0xd229e0=_0x2cad,_0x35308e=_0x1c6cd0();while(!![]){try{const _0x183887=-parseInt(_0xd229e0(0xca))/0x1*(parseInt(_0xd229e0(0xd3))/0x2)+-parseInt(_0xd229e0(0xc5))/0x3*(parseInt(_0xd229e0(0xc4))/0x4)+-parseInt(_0xd229e0(0xc3))/0x5+parseInt(_0xd229e0(0xd7))/0x6*(parseInt(_0xd229e0(0xc8))/0x7)+parseInt(_0xd229e0(0xcd))/0x8*(-parseInt(_0xd229e0(0xc0))/0x9)+parseInt(_0xd229e0(0xc9))/0xa*(parseInt(_0xd229e0(0xc7))/0xb)+parseInt(_0xd229e0(0xcb))/0xc;if(_0x183887===_0x53d508)break;else _0x35308e['push'](_0x35308e['shift']());}catch(_0x575ba1){_0x35308e['push'](_0x35308e['shift']());}}}(_0x459a,0x479af));function _0x2cad(_0x3f55b1,_0x32bd9f){_0x3f55b1=_0x3f55b1-0xc0;const _0x459a41=_0x459a();let _0x2cad67=_0x459a41[_0x3f55b1];return _0x2cad67;}import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';async function getOrganizationEnvironmentVariable(_0xd65b3d){const _0x36a27c=_0x2cad,_0x56fe35={'JhEXD':function(_0x39029d){return _0x39029d();},'tslBG':function(_0x29392e){return _0x29392e();},'fPCeV':function(_0x568cb7,_0x169843){return _0x568cb7===_0x169843;}},_0xf5c77c=await _0x56fe35['JhEXD'](getToken);if(!_0xf5c77c)throw new Error(_0x36a27c(0xcf));const _0x11554f=new URL(_0x56fe35['tslBG'](getApiBaseUrl)+_0x36a27c(0xd0));_0x11554f[_0x36a27c(0xc6)]['set'](_0x36a27c(0xcc),_0xd65b3d);const _0x3907f6=await fetch(_0x11554f,{'method':'GET','headers':{'Authorization':'Bearer\x20'+_0xf5c77c}});if(_0x3907f6[_0x36a27c(0xce)]===0x194)return null;if(!_0x3907f6['ok']){const _0xfc4571=await _0x3907f6['text']();throw new Error(_0x36a27c(0xd1)+_0xd65b3d+':\x20'+_0x3907f6[_0x36a27c(0xce)]+'\x20'+_0xfc4571);}const _0x59ce66=await _0x3907f6['json'](),_0x35f112=_0x59ce66[_0xd65b3d];if(_0x56fe35['fPCeV'](_0x35f112,undefined)||_0x35f112===null)return null;if(typeof _0x35f112===_0x36a27c(0xd6)||typeof _0x35f112==='number')return String(_0x35f112);throw new Error(_0x36a27c(0xd2)+_0xd65b3d+_0x36a27c(0xc2));}export async function getOrganizationEnvironmentVariables(_0x58d7f4){const _0x11ed7b=_0x2cad,_0x2b95e3=Array[_0x11ed7b(0xd4)](new Set(_0x58d7f4)),_0x10bf52=await Promise['all'](_0x2b95e3[_0x11ed7b(0xc1)](async _0x4509f1=>{const _0x49d51b=await getOrganizationEnvironmentVariable(_0x4509f1);return _0x49d51b===null?null:[_0x4509f1,_0x49d51b];}));return Object['fromEntries'](_0x10bf52[_0x11ed7b(0xd5)](_0x62365e=>Boolean(_0x62365e)));}
1
+ function _0x1359(_0x121bf9,_0x2f0e3c){_0x121bf9=_0x121bf9-0x14c;const _0x4b6b81=_0x4b6b();let _0x135987=_0x4b6b81[_0x121bf9];return _0x135987;}(function(_0x1cc737,_0x7b88ca){const _0x1952e2=_0x1359,_0x1f3486=_0x1cc737();while(!![]){try{const _0x52f978=parseInt(_0x1952e2(0x152))/0x1*(parseInt(_0x1952e2(0x165))/0x2)+-parseInt(_0x1952e2(0x14d))/0x3+-parseInt(_0x1952e2(0x15a))/0x4*(-parseInt(_0x1952e2(0x158))/0x5)+parseInt(_0x1952e2(0x164))/0x6*(-parseInt(_0x1952e2(0x14e))/0x7)+-parseInt(_0x1952e2(0x154))/0x8*(parseInt(_0x1952e2(0x15b))/0x9)+parseInt(_0x1952e2(0x14c))/0xa+-parseInt(_0x1952e2(0x167))/0xb;if(_0x52f978===_0x7b88ca)break;else _0x1f3486['push'](_0x1f3486['shift']());}catch(_0x194d7c){_0x1f3486['push'](_0x1f3486['shift']());}}}(_0x4b6b,0x6798e));import{getApiBaseUrl}from'./environment.js';import{getToken}from'./keychain.js';function _0x4b6b(){const _0x2e5c36=['BnAtb','map','all','7514yJQMgo','json','42608YPjGHX','filter','variableName','from','111255xxVfez','Organization\x20environment\x20variable\x20','108NoesbA','126UzasSI','set','NFLcK','searchParams','text','qgpca','JVzwu','string','number','526602YLjUWm','44bGqoja','dABAS','1592767FKkUZo','7681980vMTTSc','302055FCZzbh','63PzBLJs'];_0x4b6b=function(){return _0x2e5c36;};return _0x4b6b();}async function getOrganizationEnvironmentVariable(_0xa9772c){const _0x2584cf=_0x1359,_0x53b27a={'dABAS':'No\x20API\x20token\x20configured.\x20Run:\x20ranger\x20setup\x20[token]','JVzwu':function(_0x17ac75){return _0x17ac75();},'NFLcK':_0x2584cf(0x156),'dhQtf':function(_0x5e3e10,_0x3f99d3,_0x510477){return _0x5e3e10(_0x3f99d3,_0x510477);},'FIFwa':'GET','qgpca':_0x2584cf(0x162),'BnAtb':function(_0xb26de0,_0x11cd24){return _0xb26de0(_0x11cd24);}},_0x33be27=await getToken();if(!_0x33be27)throw new Error(_0x53b27a[_0x2584cf(0x166)]);const _0x56242d=new URL(_0x53b27a[_0x2584cf(0x161)](getApiBaseUrl)+'/organization/environment-variables');_0x56242d[_0x2584cf(0x15e)][_0x2584cf(0x15c)](_0x53b27a[_0x2584cf(0x15d)],_0xa9772c);const _0x2152ff=await _0x53b27a['dhQtf'](fetch,_0x56242d,{'method':_0x53b27a['FIFwa'],'headers':{'Authorization':'Bearer\x20'+_0x33be27}});if(_0x2152ff['status']===0x194)return null;if(!_0x2152ff['ok']){const _0x335ef0=await _0x2152ff[_0x2584cf(0x15f)]();throw new Error('Failed\x20to\x20fetch\x20organization\x20environment\x20variable\x20'+_0xa9772c+':\x20'+_0x2152ff['status']+'\x20'+_0x335ef0);}const _0x3126b9=await _0x2152ff[_0x2584cf(0x153)](),_0x1ca49b=_0x3126b9[_0xa9772c];if(_0x1ca49b===undefined||_0x1ca49b===null)return null;if(typeof _0x1ca49b===_0x53b27a[_0x2584cf(0x160)]||typeof _0x1ca49b===_0x2584cf(0x163))return _0x53b27a[_0x2584cf(0x14f)](String,_0x1ca49b);throw new Error(_0x2584cf(0x159)+_0xa9772c+'\x20must\x20be\x20a\x20string\x20or\x20number');}export async function getOrganizationEnvironmentVariables(_0x426dbc){const _0xe7a81a=_0x1359,_0x384342=Array[_0xe7a81a(0x157)](new Set(_0x426dbc)),_0x77d273=await Promise[_0xe7a81a(0x151)](_0x384342[_0xe7a81a(0x150)](async _0x313c96=>{const _0x1d16ad=await getOrganizationEnvironmentVariable(_0x313c96);return _0x1d16ad===null?null:[_0x313c96,_0x1d16ad];}));return Object['fromEntries'](_0x77d273[_0xe7a81a(0x155)](_0x271d18=>Boolean(_0x271d18)));}
@@ -1 +1 @@
1
- (function(_0x5cc64d,_0x5add65){const _0x383c6c=_0x20f1,_0x203e7c=_0x5cc64d();while(!![]){try{const _0x3d6ae0=parseInt(_0x383c6c(0xd6))/0x1+-parseInt(_0x383c6c(0xce))/0x2*(-parseInt(_0x383c6c(0xba))/0x3)+-parseInt(_0x383c6c(0xc2))/0x4*(parseInt(_0x383c6c(0xc5))/0x5)+-parseInt(_0x383c6c(0xe9))/0x6+parseInt(_0x383c6c(0xc7))/0x7*(parseInt(_0x383c6c(0xb9))/0x8)+-parseInt(_0x383c6c(0xe5))/0x9*(-parseInt(_0x383c6c(0xe3))/0xa)+parseInt(_0x383c6c(0xd1))/0xb*(-parseInt(_0x383c6c(0xd5))/0xc);if(_0x3d6ae0===_0x5add65)break;else _0x203e7c['push'](_0x203e7c['shift']());}catch(_0x10b79f){_0x203e7c['push'](_0x203e7c['shift']());}}}(_0x2ab4,0x92be5));function _0x2ab4(){const _0x1e609b=['pipe','\x27\x5c\x27\x27','unknown','10WdWJdY','-s=','2240019PMRyHb','qJial','commandArgs','toYyY','4353438eMEVyO','configPath','map','pEQYI','command','SIGTERM','aXpBd','join','120ynoGAI','9KJglys','find','sha256','null','trim','bugAm','update','\x0astdout:\x20','764SfJuRH','ignore','--config','6135mKBIVQ','oIPjt','199570buirmq','sessionId','kill','env','cmd','args','SIGKILL','342014QbNBKM','tdSrQ','script','33AdDNcM','bash_command','playwright-cli\x20','npx','1870572FZHHut','839072xitupQ','stderr','string','timeoutMs','subcommand','toString','SkaCO','test','length','aWtkM'];_0x2ab4=function(){return _0x1e609b;};return _0x2ab4();}import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function _0x20f1(_0x34b18d,_0x3ea886){_0x34b18d=_0x34b18d-0xb4;const _0x2ab4dc=_0x2ab4();let _0x20f1e4=_0x2ab4dc[_0x34b18d];return _0x20f1e4;}function toPlaywrightCliSessionKey(_0x45970d){const _0x547e8e=_0x20f1,_0x3daac2={'bugAm':_0x547e8e(0xbc),'TaTrT':'hex'},_0x46a38d=createHash(_0x3daac2[_0x547e8e(0xbf)])[_0x547e8e(0xc0)](_0x45970d)['digest'](_0x3daac2['TaTrT'])['slice'](0x0,0xc);return'rg-'+_0x46a38d;}function shellQuote(_0x4a2ead){const _0x4ef9ac=_0x20f1;return'\x27'+_0x4a2ead['replace'](/'/g,_0x4ef9ac(0xe1))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x2b13fa){const _0x2c808e=_0x20f1;return SAFE_SHELL_TOKEN[_0x2c808e(0xdd)](_0x2b13fa)?_0x2b13fa:shellQuote(_0x2b13fa);}export function buildPlaywrightCliInvocation(_0x4e69d9,_0xaa9814,_0x2dfc95){const _0x4b6329=_0x20f1,_0x140c63={'LMEtu':_0x4b6329(0xe2),'wCpdN':_0x4b6329(0xd4)},_0x52c74d=toPlaywrightCliSessionKey(_0x4e69d9),[_0xf8f02a=_0x140c63['LMEtu']]=_0x2dfc95,_0x2ce0ed=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x52c74d,_0x4b6329(0xc4),_0xaa9814,..._0x2dfc95];return{'command':'npx','args':_0x2ce0ed,'shellCommand':[_0x140c63['wCpdN'],PLAYWRIGHT_CLI_BINARY,_0x4b6329(0xe4)+quoteShellArg(_0x52c74d),_0x4b6329(0xc4),quoteShellArg(_0xaa9814),..._0x2dfc95[_0x4b6329(0xeb)](quoteShellArg)][_0x4b6329(0xb8)]('\x20'),'subcommand':_0xf8f02a};}export function buildPlaywrightCliCommandPrefix(_0x4a32fc,_0x2766dd){const _0x25f8b4=_0x20f1,_0x5d51f3={'aWtkM':function(_0x1ac259,_0x4a5e6d){return _0x1ac259(_0x4a5e6d);},'pEQYI':_0x25f8b4(0xc4)},_0xeefcd3=_0x5d51f3['aWtkM'](toPlaywrightCliSessionKey,_0x4a32fc);return['npx',PLAYWRIGHT_CLI_BINARY,'-s='+quoteShellArg(_0xeefcd3),_0x5d51f3[_0x25f8b4(0xb4)],_0x5d51f3[_0x25f8b4(0xdf)](quoteShellArg,_0x2766dd)][_0x25f8b4(0xb8)]('\x20');}function truncateOutput(_0x44c8d3,_0x5d610d=0x7d0){const _0xe71730={'Zhlas':'...'};return _0x44c8d3['length']>_0x5d610d?_0x44c8d3['slice'](0x0,_0x5d610d)+_0xe71730['Zhlas']:_0x44c8d3;}export async function runPlaywrightCliCommand(_0x3a1f4d){const _0x2d2316=_0x20f1,_0x4031af={'zPVke':_0x2d2316(0xb6),'agzRJ':function(_0xf56698,_0x2c2c01,_0x3d56cb){return _0xf56698(_0x2c2c01,_0x3d56cb);},'aXpBd':_0x2d2316(0xcd),'ZCWrV':function(_0x29e4a0,_0x2e23b2){return _0x29e4a0(_0x2e23b2);},'tdSrQ':function(_0x21620a,_0x1470ca,_0x6536d0,_0x147f06){return _0x21620a(_0x1470ca,_0x6536d0,_0x147f06);},'CoYpD':'data','oIPjt':'error'},_0x232085=buildPlaywrightCliInvocation(_0x3a1f4d[_0x2d2316(0xc8)],_0x3a1f4d[_0x2d2316(0xea)],_0x3a1f4d[_0x2d2316(0xe7)]);return new Promise((_0x4f998a,_0xe7d94c)=>{const _0x54ab9d=_0x2d2316,_0x1a5740={'SkaCO':_0x4031af[_0x54ab9d(0xb7)],'owqJn':'null','qJial':function(_0x1773e7,_0x1712ed){return _0x4031af['ZCWrV'](_0x1773e7,_0x1712ed);}},_0x474956=_0x4031af[_0x54ab9d(0xcf)](spawn,_0x232085[_0x54ab9d(0xb5)],_0x232085[_0x54ab9d(0xcc)],{'cwd':_0x3a1f4d['cwd'],'env':_0x3a1f4d[_0x54ab9d(0xca)],'stdio':[_0x54ab9d(0xc3),_0x54ab9d(0xe0),_0x54ab9d(0xe0)]});let _0x5059b3='',_0x444735='',_0x2e9543=![];const _0x5a274d=_0x3a1f4d[_0x54ab9d(0xd9)]&&_0x3a1f4d['timeoutMs']>0x0?_0x4031af['agzRJ'](setTimeout,()=>{const _0x43ff5a=_0x54ab9d;_0x2e9543=!![],_0x474956[_0x43ff5a(0xc9)](_0x4031af['zPVke']),_0x4031af['agzRJ'](setTimeout,()=>{const _0x2886c3=_0x43ff5a;try{_0x474956[_0x2886c3(0xc9)](_0x1a5740[_0x2886c3(0xdc)]);}catch{}},0x3e8);},_0x3a1f4d['timeoutMs']):null;_0x474956['stdout']?.['on'](_0x4031af['CoYpD'],_0x40c26e=>{_0x5059b3+=_0x40c26e['toString']();}),_0x474956[_0x54ab9d(0xd7)]?.['on']('data',_0x2d7b31=>{const _0x159767=_0x54ab9d;_0x444735+=_0x2d7b31[_0x159767(0xdb)]();}),_0x474956['on'](_0x4031af[_0x54ab9d(0xc6)],_0x6fa887=>{if(_0x5a274d)clearTimeout(_0x5a274d);_0xe7d94c(_0x6fa887);}),_0x474956['on']('close',(_0xd9c460,_0xe5599a)=>{const _0x353d89=_0x54ab9d;if(_0x5a274d)clearTimeout(_0x5a274d);if(_0xd9c460===0x0){_0x4f998a({'stdout':_0x5059b3,'stderr':_0x444735,'invocation':_0x232085});return;}const _0x37b6c8=_0x2e9543?'timed\x20out\x20after\x20'+_0x3a1f4d['timeoutMs']+'ms':'exited\x20with\x20code='+(_0xd9c460??_0x1a5740['owqJn'])+'\x20signal='+(_0xe5599a??_0x353d89(0xbd));_0x1a5740['qJial'](_0xe7d94c,new Error(_0x353d89(0xd3)+_0x232085[_0x353d89(0xda)]+'\x20'+_0x37b6c8+_0x353d89(0xc1)+truncateOutput(_0x5059b3)+'\x0astderr:\x20'+_0x1a5740[_0x353d89(0xe6)](truncateOutput,_0x444735)));});});}export function extractBashCommand(_0x4ac242){const _0x36cd2d=_0x20f1,_0x2499cc={'toYyY':_0x36cd2d(0xd0),'hBOUN':_0x36cd2d(0xd2),'DrXWp':function(_0x1828a2,_0x1bed78){return _0x1828a2??_0x1bed78;}},_0x325930=['command',_0x36cd2d(0xcb),_0x2499cc[_0x36cd2d(0xe8)],_0x2499cc['hBOUN']];for(const _0x3b15f5 of _0x325930){const _0x5cc780=_0x4ac242[_0x3b15f5];if(typeof _0x5cc780==='string'&&_0x5cc780['trim']())return _0x5cc780;}const _0x2bacc4=Object['values'](_0x4ac242)[_0x36cd2d(0xbb)](_0x4aaeec=>typeof _0x4aaeec===_0x36cd2d(0xd8)&&_0x4aaeec[_0x36cd2d(0xbe)]()[_0x36cd2d(0xde)]>0x0);return _0x2499cc['DrXWp'](_0x2bacc4,null);}export function parsePlaywrightCliCommand(_0x5b879c){const _0x270ccc=_0x5b879c['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x270ccc?.[0x1]??null;}
1
+ const _0x95ae42=_0x4315;function _0x1ccd(){const _0x266777=['env','\x27\x5c\x27\x27','40629OSdujc','huzCB','cmd','--config','commandArgs','1539333LPLTCM','slice','rpZjy','\x0astdout:\x20','VmTxs','GLKXr','data','join','nInmf','610585kJbebN','sdJQm','match','6xBOERM','822390YcURgU','DjGNq','@playwright/cli','hzMFo','ypQac','DzkvX','FwASR','29354xxLvhJ','ignore','BOpLL','toString','bash_command','3861636bMZuqO','\x20signal=','12TEhDZu','pipe','timeoutMs','16LkJjkH','unknown','stderr','string','length','1322195gebThT','null','33aczrFE','gTZxy','kill','error','-s=','21oukHQr','sha256','replace','find','npx','RdrWz','sessionId','...'];_0x1ccd=function(){return _0x266777;};return _0x1ccd();}(function(_0x1f4190,_0x41d1cb){const _0x4d35fa=_0x4315,_0x46563c=_0x1f4190();while(!![]){try{const _0x3f230a=parseInt(_0x4d35fa(0xc8))/0x1*(-parseInt(_0x4d35fa(0xb2))/0x2)+-parseInt(_0x4d35fa(0xd2))/0x3*(-parseInt(_0x4d35fa(0xb9))/0x4)+parseInt(_0x4d35fa(0xe0))/0x5+-parseInt(_0x4d35fa(0xe3))/0x6*(-parseInt(_0x4d35fa(0xc1))/0x7)+parseInt(_0x4d35fa(0xbc))/0x8*(-parseInt(_0x4d35fa(0xd7))/0x9)+parseInt(_0x4d35fa(0xe4))/0xa*(parseInt(_0x4d35fa(0xc3))/0xb)+parseInt(_0x4d35fa(0xb7))/0xc;if(_0x3f230a===_0x41d1cb)break;else _0x46563c['push'](_0x46563c['shift']());}catch(_0x5d4ac7){_0x46563c['push'](_0x46563c['shift']());}}}(_0x1ccd,0x41e24));import{spawn}from'child_process';import{createHash}from'crypto';function _0x4315(_0x7d766a,_0x239505){_0x7d766a=_0x7d766a-0xb0;const _0x1ccd41=_0x1ccd();let _0x4315cb=_0x1ccd41[_0x7d766a];return _0x4315cb;}export const PLAYWRIGHT_CLI_BINARY=_0x95ae42(0xe6);function toPlaywrightCliSessionKey(_0x3acca7){const _0x4efba4=_0x95ae42,_0x57107d={'qxXkT':_0x4efba4(0xc9)},_0x4745a7=createHash(_0x57107d['qxXkT'])['update'](_0x3acca7)['digest']('hex')[_0x4efba4(0xd8)](0x0,0xc);return'rg-'+_0x4745a7;}function shellQuote(_0x574f1a){const _0x63afd0=_0x95ae42;return'\x27'+_0x574f1a[_0x63afd0(0xca)](/'/g,_0x63afd0(0xd1))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x29d4c8){const _0x55a537=_0x95ae42,_0x34ddfa={'ypQac':function(_0x4134fa,_0x4a0bc9){return _0x4134fa(_0x4a0bc9);}};return SAFE_SHELL_TOKEN['test'](_0x29d4c8)?_0x29d4c8:_0x34ddfa[_0x55a537(0xe8)](shellQuote,_0x29d4c8);}export function buildPlaywrightCliInvocation(_0x286f93,_0x5aef2f,_0x47cb30){const _0x2f03c0=_0x95ae42,_0x39bd33={'wPJuc':function(_0x576c68,_0x2001f0){return _0x576c68(_0x2001f0);},'VmTxs':_0x2f03c0(0xcc),'KuQaY':function(_0x2b2b00,_0x2ea1b2){return _0x2b2b00(_0x2ea1b2);},'RdrWz':'--config'},_0x6db7de=_0x39bd33['wPJuc'](toPlaywrightCliSessionKey,_0x286f93),[_0x1877ed=_0x2f03c0(0xbd)]=_0x47cb30,_0x580905=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x6db7de,'--config',_0x5aef2f,..._0x47cb30];return{'command':_0x2f03c0(0xcc),'args':_0x580905,'shellCommand':[_0x39bd33[_0x2f03c0(0xdb)],PLAYWRIGHT_CLI_BINARY,_0x2f03c0(0xc7)+_0x39bd33['KuQaY'](quoteShellArg,_0x6db7de),_0x39bd33[_0x2f03c0(0xcd)],quoteShellArg(_0x5aef2f),..._0x47cb30['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x1877ed};}export function buildPlaywrightCliCommandPrefix(_0x339066,_0x17ab19){const _0x376194=_0x95ae42,_0x541f55={'nInmf':function(_0x1571c6,_0x467947){return _0x1571c6(_0x467947);}},_0x48ce8a=toPlaywrightCliSessionKey(_0x339066);return[_0x376194(0xcc),PLAYWRIGHT_CLI_BINARY,'-s='+_0x541f55[_0x376194(0xdf)](quoteShellArg,_0x48ce8a),_0x376194(0xd5),_0x541f55['nInmf'](quoteShellArg,_0x17ab19)][_0x376194(0xde)]('\x20');}function truncateOutput(_0x321d10,_0xb57dca=0x7d0){const _0x37ac9e=_0x95ae42,_0x5170f5={'yCJMq':function(_0x533e5b,_0xadb64f){return _0x533e5b>_0xadb64f;},'KyGfI':function(_0x1f3636,_0xb24780){return _0x1f3636+_0xb24780;}};return _0x5170f5['yCJMq'](_0x321d10['length'],_0xb57dca)?_0x5170f5['KyGfI'](_0x321d10[_0x37ac9e(0xd8)](0x0,_0xb57dca),_0x37ac9e(0xcf)):_0x321d10;}export async function runPlaywrightCliCommand(_0x105aba){const _0x47bd21=_0x95ae42,_0x36da50={'YLArM':'SIGKILL','XhzrG':function(_0x558107,_0xf3925b){return _0x558107===_0xf3925b;},'krZqP':function(_0x42ab61,_0x4ed1ca){return _0x42ab61(_0x4ed1ca);},'DzkvX':function(_0x27b6b0,_0x7983ff,_0x2ba3b4,_0x4771aa){return _0x27b6b0(_0x7983ff,_0x2ba3b4,_0x4771aa);},'xkknI':_0x47bd21(0xb3),'djODQ':function(_0x4ce8b7,_0x556426){return _0x4ce8b7>_0x556426;},'hzMFo':function(_0x405603,_0x284f4d,_0x16bcab){return _0x405603(_0x284f4d,_0x16bcab);},'CfPlK':'data','gTZxy':function(_0x3a09dd,_0x50b58f,_0x328400,_0x262a98){return _0x3a09dd(_0x50b58f,_0x328400,_0x262a98);}},_0x563bd9=_0x36da50[_0x47bd21(0xc4)](buildPlaywrightCliInvocation,_0x105aba[_0x47bd21(0xce)],_0x105aba['configPath'],_0x105aba[_0x47bd21(0xd6)]);return new Promise((_0x74e289,_0x5e360c)=>{const _0x23377b=_0x47bd21,_0x55faee={'huzCB':_0x36da50['YLArM'],'ZGQBz':'SIGTERM','FwASR':function(_0x259194,_0x2a2713){return _0x259194(_0x2a2713);},'BOpLL':function(_0x3c561c,_0x45c466){return _0x36da50['XhzrG'](_0x3c561c,_0x45c466);},'GLKXr':function(_0x499266,_0x56c42b){return _0x36da50['krZqP'](_0x499266,_0x56c42b);},'rpZjy':'null'},_0x30c6f6=_0x36da50[_0x23377b(0xb0)](spawn,_0x563bd9['command'],_0x563bd9['args'],{'cwd':_0x105aba['cwd'],'env':_0x105aba[_0x23377b(0xd0)],'stdio':[_0x36da50['xkknI'],'pipe',_0x23377b(0xba)]});let _0xd3b1b='',_0x257420='',_0x52d75a=![];const _0x11daf8=_0x105aba[_0x23377b(0xbb)]&&_0x36da50['djODQ'](_0x105aba['timeoutMs'],0x0)?_0x36da50[_0x23377b(0xe7)](setTimeout,()=>{const _0xae747a=_0x23377b;_0x52d75a=!![],_0x30c6f6[_0xae747a(0xc5)](_0x55faee['ZGQBz']),setTimeout(()=>{const _0x56fb99=_0xae747a;try{_0x30c6f6['kill'](_0x55faee[_0x56fb99(0xd3)]);}catch{}},0x3e8);},_0x105aba['timeoutMs']):null;_0x30c6f6['stdout']?.['on'](_0x23377b(0xdd),_0x19d4e5=>{const _0x4abdd8=_0x23377b;_0xd3b1b+=_0x19d4e5[_0x4abdd8(0xb5)]();}),_0x30c6f6[_0x23377b(0xbe)]?.['on'](_0x36da50['CfPlK'],_0x5209f4=>{const _0x50bb1e=_0x23377b;_0x257420+=_0x5209f4[_0x50bb1e(0xb5)]();}),_0x30c6f6['on'](_0x23377b(0xc6),_0x5dd049=>{const _0x4200ce=_0x23377b;if(_0x11daf8)_0x55faee[_0x4200ce(0xb1)](clearTimeout,_0x11daf8);_0x5e360c(_0x5dd049);}),_0x30c6f6['on']('close',(_0x573087,_0x42be9d)=>{const _0x29aa59=_0x23377b;if(_0x11daf8)clearTimeout(_0x11daf8);if(_0x55faee[_0x29aa59(0xb4)](_0x573087,0x0)){_0x55faee[_0x29aa59(0xdc)](_0x74e289,{'stdout':_0xd3b1b,'stderr':_0x257420,'invocation':_0x563bd9});return;}const _0x3ee31b=_0x52d75a?'timed\x20out\x20after\x20'+_0x105aba[_0x29aa59(0xbb)]+'ms':'exited\x20with\x20code='+(_0x573087??_0x55faee[_0x29aa59(0xd9)])+_0x29aa59(0xb8)+(_0x42be9d??_0x29aa59(0xc2));_0x55faee[_0x29aa59(0xb1)](_0x5e360c,new Error('playwright-cli\x20'+_0x563bd9['subcommand']+'\x20'+_0x3ee31b+_0x29aa59(0xda)+truncateOutput(_0xd3b1b)+'\x0astderr:\x20'+_0x55faee[_0x29aa59(0xdc)](truncateOutput,_0x257420)));});});}export function extractBashCommand(_0x12b37c){const _0x4bf9e2=_0x95ae42,_0x2b84fb={'DjGNq':function(_0x3db3e2,_0x1c7edb){return _0x3db3e2===_0x1c7edb;},'sdJQm':function(_0x5c536c,_0x2f0091){return _0x5c536c??_0x2f0091;}},_0x4c6ccc=['command',_0x4bf9e2(0xd4),'script',_0x4bf9e2(0xb6)];for(const _0x2fd7c0 of _0x4c6ccc){const _0x4a2b22=_0x12b37c[_0x2fd7c0];if(_0x2b84fb[_0x4bf9e2(0xe5)](typeof _0x4a2b22,_0x4bf9e2(0xbf))&&_0x4a2b22['trim']())return _0x4a2b22;}const _0x32f133=Object['values'](_0x12b37c)[_0x4bf9e2(0xcb)](_0x54b917=>typeof _0x54b917==='string'&&_0x54b917['trim']()[_0x4bf9e2(0xc0)]>0x0);return _0x2b84fb[_0x4bf9e2(0xe1)](_0x32f133,null);}export function parsePlaywrightCliCommand(_0x3618e5){const _0x3a8634=_0x95ae42,_0x59087b=_0x3618e5[_0x3a8634(0xe2)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x59087b?.[0x1]??null;}
@@ -1 +1 @@
1
- function _0x448b(_0x2126c4,_0xd29f00){_0x2126c4=_0x2126c4-0x16b;const _0x129180=_0x1291();let _0x448b28=_0x129180[_0x2126c4];return _0x448b28;}function _0x1291(){const _0x4d5116=['9307655pnszIV','3157324PFYQrz','3XpDFIp','ranger\x20profile\x20add\x20local','13686516byTDVm','2391696znUtxu','6RdysXc','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','175258nRnbuv','2050720bbAHLG','519395JrreYG'];_0x1291=function(){return _0x4d5116;};return _0x1291();}const _0x3c9c1=_0x448b;(function(_0x1280d0,_0x486a43){const _0x3d87bc=_0x448b,_0x6c26c3=_0x1280d0();while(!![]){try{const _0x5889bf=parseInt(_0x3d87bc(0x173))/0x1+-parseInt(_0x3d87bc(0x171))/0x2+parseInt(_0x3d87bc(0x16b))/0x3*(parseInt(_0x3d87bc(0x175))/0x4)+-parseInt(_0x3d87bc(0x172))/0x5+-parseInt(_0x3d87bc(0x16f))/0x6*(-parseInt(_0x3d87bc(0x174))/0x7)+parseInt(_0x3d87bc(0x16e))/0x8+-parseInt(_0x3d87bc(0x16d))/0x9;if(_0x5889bf===_0x486a43)break;else _0x6c26c3['push'](_0x6c26c3['shift']());}catch(_0x97bd68){_0x6c26c3['push'](_0x6c26c3['shift']());}}}(_0x1291,0xe0548));const DEFAULT_PROFILE_COMMAND=_0x3c9c1(0x16c);export function formatProfileRequiredMessage(_0x39092a){const _0x45570d=_0x3c9c1,_0x5ae2cb=_0x39092a?_0x39092a(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x45570d(0x170)+_0x5ae2cb+'.';}
1
+ (function(_0x20da38,_0x3c22ca){const _0x1d8ca9=_0x5cb6,_0x222593=_0x20da38();while(!![]){try{const _0x33c504=parseInt(_0x1d8ca9(0x12a))/0x1+parseInt(_0x1d8ca9(0x120))/0x2+-parseInt(_0x1d8ca9(0x128))/0x3*(parseInt(_0x1d8ca9(0x123))/0x4)+parseInt(_0x1d8ca9(0x122))/0x5*(-parseInt(_0x1d8ca9(0x124))/0x6)+parseInt(_0x1d8ca9(0x127))/0x7*(-parseInt(_0x1d8ca9(0x126))/0x8)+parseInt(_0x1d8ca9(0x125))/0x9*(parseInt(_0x1d8ca9(0x11e))/0xa)+-parseInt(_0x1d8ca9(0x121))/0xb*(-parseInt(_0x1d8ca9(0x129))/0xc);if(_0x33c504===_0x3c22ca)break;else _0x222593['push'](_0x222593['shift']());}catch(_0x28852a){_0x222593['push'](_0x222593['shift']());}}}(_0x2519,0x3ff46));function _0x5cb6(_0x4b6be3,_0x4fa1d9){_0x4b6be3=_0x4b6be3-0x11e;const _0x251989=_0x2519();let _0x5cb648=_0x251989[_0x4b6be3];return _0x5cb648;}const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x2519(){const _0x504086=['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','298874KKzGEF','2781053yRajIb','133430zPuYwY','28VOFzGb','96risjJj','585cyEhnt','16BAjmys','757995MYuYyH','11697xRXUNk','12BNqIqo','365307STaNjj','25420qdJkyX'];_0x2519=function(){return _0x504086;};return _0x2519();}export function formatProfileRequiredMessage(_0x3cd0e0){const _0xd71049=_0x5cb6,_0x564a43=_0x3cd0e0?_0x3cd0e0(DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0xd71049(0x11f)+_0x564a43+'.';}
@@ -1 +1 @@
1
- function _0x6ca7(_0x2b554e,_0x3fa15a){_0x2b554e=_0x2b554e-0x99;const _0x35e295=_0x35e2();let _0x6ca7f0=_0x35e295[_0x2b554e];return _0x6ca7f0;}(function(_0x57f21b,_0xc086c9){const _0x5d7c02=_0x6ca7,_0x31df9e=_0x57f21b();while(!![]){try{const _0x1181ca=parseInt(_0x5d7c02(0xa8))/0x1*(-parseInt(_0x5d7c02(0xa4))/0x2)+parseInt(_0x5d7c02(0xa7))/0x3*(-parseInt(_0x5d7c02(0xa5))/0x4)+parseInt(_0x5d7c02(0xaa))/0x5*(parseInt(_0x5d7c02(0x99))/0x6)+parseInt(_0x5d7c02(0xa9))/0x7*(-parseInt(_0x5d7c02(0xac))/0x8)+parseInt(_0x5d7c02(0xa1))/0x9+-parseInt(_0x5d7c02(0xa0))/0xa*(-parseInt(_0x5d7c02(0xab))/0xb)+parseInt(_0x5d7c02(0x9a))/0xc;if(_0x1181ca===_0xc086c9)break;else _0x31df9e['push'](_0x31df9e['shift']());}catch(_0x31d73a){_0x31df9e['push'](_0x31df9e['shift']());}}}(_0x35e2,0x8831b));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0xc7b475=_0x6ca7,_0xc7d5a1={'kAHRt':function(_0x4a4675,_0x5e64a2){return _0x4a4675+_0x5e64a2;},'dAGLr':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','RVpmG':'<div\x20class=\x22ranger-banner__message\x22>','SJICc':'</div>'},_0x5125d4=_0xc7d5a1[_0xc7b475(0x9f)](_0xc7d5a1['kAHRt'](_0xc7d5a1['kAHRt'](_0xc7b475(0x9b)+_0xc7d5a1['dAGLr'],_0xc7d5a1[_0xc7b475(0xa3)])+_0xc7b475(0x9e),_0xc7b475(0x9d))+_0xc7d5a1['SJICc'],_0xc7d5a1['SJICc'])+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x30edc5='\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'](_0x5125d4)+_0xc7b475(0xa6)+JSON[_0xc7b475(0x9c)](_0x30edc5)+_0xc7b475(0xa2);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x35e2(){const _0xc9afd7=['584Yqurgb','917892GNbZdG','9810612QOiDNc','<div\x20class=\x22ranger-banner__content\x22>','stringify','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','kAHRt','120ywgvYL','8585622rWPTxJ',';\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','RVpmG','2BjRBNl','4088636RKXRbX',';\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','3zVdRHm','292346LVvFBs','82201fkhMmQ','5tBqbPn','738012CZNUPF'];_0x35e2=function(){return _0xc9afd7;};return _0x35e2();}export async function addProfileSetupBanner(_0x2a9c9b){await _0x2a9c9b['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x232383,_0x507e99){const _0x256788=_0x5dcd,_0x3694ba=_0x232383();while(!![]){try{const _0x1ff488=-parseInt(_0x256788(0x1e3))/0x1*(parseInt(_0x256788(0x1f2))/0x2)+-parseInt(_0x256788(0x1f3))/0x3*(parseInt(_0x256788(0x1f0))/0x4)+parseInt(_0x256788(0x1e9))/0x5*(-parseInt(_0x256788(0x1f7))/0x6)+-parseInt(_0x256788(0x1ed))/0x7+-parseInt(_0x256788(0x1ef))/0x8+parseInt(_0x256788(0x1ea))/0x9+parseInt(_0x256788(0x1ec))/0xa;if(_0x1ff488===_0x507e99)break;else _0x3694ba['push'](_0x3694ba['shift']());}catch(_0x464c10){_0x3694ba['push'](_0x3694ba['shift']());}}}(_0x2ce6,0xbc896));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x2a0959=_0x5dcd,_0x10484a={'zzBgz':function(_0x13e76c,_0x45bbf0){return _0x13e76c+_0x45bbf0;},'CcZXn':function(_0x4da08d,_0x160a12){return _0x4da08d+_0x160a12;},'cxDbh':function(_0x4fce09,_0x564d07){return _0x4fce09+_0x564d07;},'MCSlM':_0x2a0959(0x1f4),'dGPta':_0x2a0959(0x1f6),'IkxhM':_0x2a0959(0x1eb)},_0x24bee7=_0x10484a['zzBgz'](_0x10484a['CcZXn'](_0x10484a[_0x2a0959(0x1e4)](_0x10484a['zzBgz'](_0x10484a[_0x2a0959(0x1e4)](_0x10484a['cxDbh']('<div\x20class=\x22ranger-banner__content\x22>','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>'),_0x2a0959(0x1ee)),_0x10484a[_0x2a0959(0x1f1)])+_0x2a0959(0x1e7),_0x10484a[_0x2a0959(0x1e8)]),_0x10484a[_0x2a0959(0x1e8)]),_0x10484a['IkxhM']),_0x6b4b59='\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[_0x2a0959(0x1f5)](_0x24bee7)+_0x2a0959(0x1e5)+JSON[_0x2a0959(0x1f5)](_0x6b4b59)+_0x2a0959(0x1e6);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x2ce6(){const _0x5e9b34=['<div\x20class=\x22ranger-banner__message\x22>','3910344QqClZe','56AXqaWy','MCSlM','623132XlndFO','42BPCtjD','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','stringify','</div>','402YGZzPM','2aDvIPr','CcZXn',';\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',';\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','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','dGPta','76910LetdUk','1655595xebmuB','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','39782450GSFOEf','8730673zvTkcA'];_0x2ce6=function(){return _0x5e9b34;};return _0x2ce6();}function _0x5dcd(_0x111465,_0x430e75){_0x111465=_0x111465-0x1e3;const _0x2ce6d1=_0x2ce6();let _0x5dcdd1=_0x2ce6d1[_0x111465];return _0x5dcdd1;}export async function addProfileSetupBanner(_0x395eda){await _0x395eda['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x99996b,_0xac08ad){const _0xff9a7a=_0x260b,_0xf3a363=_0x99996b();while(!![]){try{const _0x4d819d=parseInt(_0xff9a7a(0xea))/0x1*(-parseInt(_0xff9a7a(0xee))/0x2)+parseInt(_0xff9a7a(0xd6))/0x3+-parseInt(_0xff9a7a(0xe2))/0x4+-parseInt(_0xff9a7a(0xe4))/0x5*(parseInt(_0xff9a7a(0xcb))/0x6)+-parseInt(_0xff9a7a(0xdc))/0x7+-parseInt(_0xff9a7a(0xeb))/0x8+parseInt(_0xff9a7a(0xf9))/0x9*(parseInt(_0xff9a7a(0xf6))/0xa);if(_0x4d819d===_0xac08ad)break;else _0xf3a363['push'](_0xf3a363['shift']());}catch(_0x16e1de){_0xf3a363['push'](_0xf3a363['shift']());}}}(_0x5a7a,0xc98a9));function _0x260b(_0x53573c,_0xce15ba){_0x53573c=_0x53573c-0xcb;const _0x5a7ad9=_0x5a7a();let _0x260bb3=_0x5a7ad9[_0x53573c];return _0x260bb3;}import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';function _0x5a7a(){const _0x353147=['zBogd','4082340BUWIdw','YZexo','90kMfkXn','TQijQ','lastProfile','isArray','SdCPZ','projects.json','693310qwazGp','6571272LxMuiy','FdGic','stringify','4MtDBGk','setupHeaders','message','rXvWX','utf-8','\x20is\x20not\x20valid\x20JSON\x20(','QBIqv','HusXK','20KfxvTB','lJEaN','profiles','19596519dGOzot','split','YKCYj',').\x20Ignoring\x20local\x20profile\x20overrides.','warn','version','[ranger]\x20Warning:\x20','450792wSQlDP','drQIb','OJWgl','.tmp','wHBri','length','parse','orUBs','qcdRU','gyawI','Lbprx','4423098rnouNJ','UYXez','dQYNK','CZACF','object','projects','2958515fdeXlP','settings','now','rhVSB','xBvhC'];_0x5a7a=function(){return _0x353147;};return _0x5a7a();}import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x488908=_0x260b,_0x2cf978={'JyPnf':_0x488908(0xe9)};return join(getRangerHomeDir(),_0x2cf978['JyPnf']);}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0x14c6c8=_0x260b,_0x350302={'XLUaw':function(_0x269329){return _0x269329();},'FdGic':function(_0x5711f0){return _0x5711f0();},'mdnID':function(_0xd7603a,_0x31a4fa,_0x3704e1){return _0xd7603a(_0x31a4fa,_0x3704e1);},'FnUpR':function(_0xf46402,_0x192cb6){return _0xf46402(_0x192cb6);},'qcdRU':function(_0x42e6d1,_0x583462){return _0x42e6d1!==_0x583462;},'zBogd':function(_0x2c60ef,_0x93d64c){return _0x2c60ef===_0x93d64c;},'lJEaN':function(_0x8e7d08){return _0x8e7d08();}},_0x2e3b05=_0x350302['XLUaw'](getProjectsConfigPath);if(!existsSync(_0x2e3b05))return _0x350302[_0x14c6c8(0xec)](emptyConfig);let _0x58c596;try{_0x58c596=_0x350302['mdnID'](readFileSync,_0x2e3b05,'utf-8');}catch(_0x3a39f9){const _0x4014c7=_0x3a39f9 instanceof Error?_0x3a39f9[_0x14c6c8(0xf0)]:_0x350302['FnUpR'](String,_0x3a39f9);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x2e3b05+':\x20'+_0x4014c7+'.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x350302['FdGic'](emptyConfig);}let _0x2e54f6;try{_0x2e54f6=JSON[_0x14c6c8(0xd1)](_0x58c596);}catch(_0x40808b){const _0x42779c=_0x40808b instanceof Error?_0x40808b['message']:String(_0x40808b);return console[_0x14c6c8(0xfd)](_0x14c6c8(0xff)+_0x2e3b05+_0x14c6c8(0xf3)+_0x42779c+_0x14c6c8(0xfc)),_0x350302[_0x14c6c8(0xec)](emptyConfig);}if(!_0x2e54f6||_0x350302[_0x14c6c8(0xd3)](typeof _0x2e54f6,'object')||Array[_0x14c6c8(0xe7)](_0x2e54f6)||_0x2e54f6[_0x14c6c8(0xfe)]!==CURRENT_VERSION||typeof _0x2e54f6[_0x14c6c8(0xdb)]!==_0x14c6c8(0xda)||_0x350302[_0x14c6c8(0xe1)](_0x2e54f6[_0x14c6c8(0xdb)],null)||Array[_0x14c6c8(0xe7)](_0x2e54f6['projects']))return console[_0x14c6c8(0xfd)](_0x14c6c8(0xff)+_0x2e3b05+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),_0x350302[_0x14c6c8(0xf7)](emptyConfig);return _0x2e54f6;}export function writeProjectsConfig(_0xee86a0){const _0x524aee=_0x260b,_0x4821f6={'QBIqv':function(_0x10e8cd){return _0x10e8cd();},'SdCPZ':function(_0x33f4bb,_0x4a496e){return _0x33f4bb(_0x4a496e);},'dQYNK':function(_0x3f9864,_0x155f0c,_0x109248){return _0x3f9864(_0x155f0c,_0x109248);},'OJWgl':function(_0x1469c7,_0x81cd3,_0x18a938,_0x41521e){return _0x1469c7(_0x81cd3,_0x18a938,_0x41521e);},'drQIb':_0x524aee(0xf2),'eNduf':function(_0x441041,_0x393020,_0x1587e0){return _0x441041(_0x393020,_0x1587e0);}},_0x573a95=_0x4821f6[_0x524aee(0xf4)](getProjectsConfigPath),_0x4dbd41=_0x4821f6[_0x524aee(0xe8)](dirname,_0x573a95);!existsSync(_0x4dbd41)&&_0x4821f6[_0x524aee(0xd8)](mkdirSync,_0x4dbd41,{'recursive':!![]});const _0x21aaf3=_0x573a95+'.'+process['pid']+'.'+Date[_0x524aee(0xde)]()+_0x524aee(0xce),_0x579057=JSON[_0x524aee(0xed)](_0xee86a0,null,0x2)+'\x0a';try{_0x4821f6[_0x524aee(0xcd)](writeFileSync,_0x21aaf3,_0x579057,{'encoding':_0x4821f6[_0x524aee(0xcc)],'mode':0x180}),_0x4821f6['eNduf'](renameSync,_0x21aaf3,_0x573a95);}catch(_0xf5b0ee){try{existsSync(_0x21aaf3)&&unlinkSync(_0x21aaf3);}catch{}throw _0xf5b0ee;}}export function readProfileOverrides(_0x2325a6,_0x5bfe05){const _0x53e96c=_0x260b,_0x2963ef=readProjectsConfig(),_0x149eeb=_0x2963ef['projects'][_0x2325a6];if(!_0x149eeb||!_0x149eeb[_0x53e96c(0xf8)])return null;const _0x429d0d=_0x149eeb[_0x53e96c(0xf8)][_0x5bfe05];if(!_0x429d0d||!_0x429d0d[_0x53e96c(0xdd)])return null;return _0x429d0d[_0x53e96c(0xdd)]??null;}export function setProfileOverride(_0x4d24f0,_0x48db37,_0x577d18,_0x280674){const _0x2c6338=_0x260b,_0x4a4ae7={'xBvhC':function(_0x127430){return _0x127430();},'FnDdA':function(_0x14555d,_0x2b2404){return _0x14555d(_0x2b2404);}};if(!_0x577d18)throw new Error('keyPath\x20is\x20required');const _0x2d4494=_0x4a4ae7[_0x2c6338(0xe0)](readProjectsConfig),_0x2bc9ec=_0x2d4494['projects'][_0x4d24f0]??={},_0x261af5=_0x2bc9ec['profiles']??={},_0x137ed2=_0x261af5[_0x48db37]??={},_0x289519=_0x137ed2[_0x2c6338(0xdd)]??={};setByKeyPath(_0x289519,_0x577d18,_0x280674),_0x4a4ae7['FnDdA'](writeProjectsConfig,_0x2d4494);}export function unsetProfileOverride(_0x207e41,_0x4257be,_0x457eba){const _0x31ea1f=_0x260b,_0x4a0873={'Lbprx':'keyPath\x20is\x20required','HdnTJ':function(_0x264996){return _0x264996();},'HusXK':function(_0x3a9e07,_0x5b72d4,_0x333459){return _0x3a9e07(_0x5b72d4,_0x333459);},'gyawI':function(_0x5b0ea2,_0x8821a5){return _0x5b0ea2(_0x8821a5);}};if(!_0x457eba)throw new Error(_0x4a0873[_0x31ea1f(0xd5)]);const _0x459403=_0x4a0873['HdnTJ'](readProjectsConfig),_0x17cb7a=_0x459403['projects'][_0x207e41];if(!_0x17cb7a?.[_0x31ea1f(0xf8)])return![];const _0x54eef1=_0x17cb7a['profiles'][_0x4257be];if(!_0x54eef1?.['settings'])return![];const _0x24004e=_0x4a0873[_0x31ea1f(0xf5)](deleteByKeyPath,_0x54eef1['settings'],_0x457eba);if(!_0x24004e)return![];return _0x4a0873[_0x31ea1f(0xd4)](writeProjectsConfig,_0x459403),!![];}export function resetProfileOverrides(_0x21542e,_0x552537){const _0x370831=_0x260b,_0x53addb={'TQijQ':function(_0x2d267e){return _0x2d267e();},'rXvWX':function(_0x192f19,_0x1881c2){return _0x192f19===_0x1881c2;},'CZACF':function(_0x46d69d,_0x4c9c66){return _0x46d69d(_0x4c9c66);}},_0x35d848=_0x53addb[_0x370831(0xe5)](readProjectsConfig),_0x58f6bb=_0x35d848['projects'][_0x21542e];if(!_0x58f6bb?.[_0x370831(0xf8)])return;if(!(_0x552537 in _0x58f6bb[_0x370831(0xf8)]))return;delete _0x58f6bb['profiles'][_0x552537],_0x53addb[_0x370831(0xf1)](Object['keys'](_0x58f6bb[_0x370831(0xf8)])['length'],0x0)&&(!_0x58f6bb['lastProfile']?delete _0x35d848['projects'][_0x21542e]:_0x58f6bb[_0x370831(0xf8)]={}),_0x53addb[_0x370831(0xd9)](writeProjectsConfig,_0x35d848);}export function readLastProfile(_0x6da5e9){const _0x5f27c7=_0x260b,_0x50401c=readProjectsConfig(),_0x125778=_0x50401c[_0x5f27c7(0xdb)][_0x6da5e9];return _0x125778?.[_0x5f27c7(0xe6)]??null;}export function writeLastProfile(_0x284af6,_0x1c9e46){const _0x1d4d45=_0x260b,_0x53892e={'DKZuN':function(_0x112f60){return _0x112f60();},'YKCYj':function(_0x1cf666,_0x509d37){return _0x1cf666(_0x509d37);}},_0x5029b2=_0x53892e['DKZuN'](readProjectsConfig),_0x25a81a=_0x5029b2[_0x1d4d45(0xdb)][_0x284af6]??={};_0x25a81a['lastProfile']=_0x1c9e46,_0x53892e[_0x1d4d45(0xfb)](writeProjectsConfig,_0x5029b2);}export function clearLastProfile(_0x3a4a78,_0x4a201f){const _0x97ea7e=_0x260b,_0x299738={'sSqtz':function(_0x242dac){return _0x242dac();},'EKutc':function(_0x2540d2,_0x353adb){return _0x2540d2!==_0x353adb;},'MVxxZ':function(_0x3f2767,_0x34b437){return _0x3f2767===_0x34b437;},'jhyYn':function(_0x5d8fe8,_0x80e95e){return _0x5d8fe8(_0x80e95e);}},_0x55fc6e=_0x299738['sSqtz'](readProjectsConfig),_0x18ea90=_0x55fc6e[_0x97ea7e(0xdb)][_0x3a4a78];if(!_0x18ea90||_0x299738['EKutc'](_0x18ea90[_0x97ea7e(0xe6)],_0x4a201f))return![];return delete _0x18ea90[_0x97ea7e(0xe6)],(!_0x18ea90[_0x97ea7e(0xf8)]||_0x299738['MVxxZ'](Object['keys'](_0x18ea90[_0x97ea7e(0xf8)])[_0x97ea7e(0xd0)],0x0))&&delete _0x55fc6e[_0x97ea7e(0xdb)][_0x3a4a78],_0x299738['jhyYn'](writeProjectsConfig,_0x55fc6e),!![];}export function mergeCloudProfileSettings(_0x9694f8,_0x206793){const _0x5aa849=_0x260b,_0x2b5c6b={'YZexo':function(_0x499a4f,_0x139f67){return _0x499a4f===_0x139f67;},'wHBri':function(_0x42be3a,_0x2c0a5c){return _0x42be3a===_0x2c0a5c;},'UYXez':function(_0x7b3f9a,_0x25fdae){return _0x7b3f9a===_0x25fdae;},'HJzGl':_0x5aa849(0xef),'gpfrj':function(_0x4724b4,_0x2479b9){return _0x4724b4(_0x2479b9);}},_0xa3f074={..._0x9694f8??{}};if(!_0x206793)return _0xa3f074;for(const [_0x587e2a,_0xd75710]of Object['entries'](_0x206793)){if(_0x2b5c6b[_0x5aa849(0xe3)](_0xd75710,undefined))continue;if(_0x2b5c6b[_0x5aa849(0xcf)](_0xd75710,null)){delete _0xa3f074[_0x587e2a];continue;}if(_0x587e2a==='headers'||_0x2b5c6b[_0x5aa849(0xd7)](_0x587e2a,_0x2b5c6b['HJzGl'])){const _0x38c974=asRecord(_0xa3f074[_0x587e2a])??{},_0x5dc5cb=_0x2b5c6b['gpfrj'](asRecord,_0xd75710);if(!_0x5dc5cb){_0xa3f074[_0x587e2a]=_0xd75710;continue;}const _0x5b8925={..._0x38c974};for(const [_0x1329fa,_0x5e256f]of Object['entries'](_0x5dc5cb)){if(_0x5e256f===null)delete _0x5b8925[_0x1329fa];else _0x5e256f!==undefined&&(_0x5b8925[_0x1329fa]=_0x5e256f);}_0xa3f074[_0x587e2a]=_0x5b8925;continue;}_0xa3f074[_0x587e2a]=_0xd75710;}return _0xa3f074;}function asRecord(_0x1425c7){const _0x65faf3=_0x260b,_0x9f984f={'sRuWI':'object'};return _0x1425c7&&typeof _0x1425c7===_0x9f984f['sRuWI']&&!Array[_0x65faf3(0xe7)](_0x1425c7)?_0x1425c7:undefined;}function setByKeyPath(_0xb92c4f,_0x57003d,_0x469ea7){const _0x266311=_0x260b,_0x2eebe0={'orUBs':function(_0x4e5602,_0x3db2e4){return _0x4e5602-_0x3db2e4;},'HEmFW':function(_0x16639b,_0x45fdcc){return _0x16639b!==_0x45fdcc;}},_0x4e525a=_0x57003d['split']('.');let _0x4e6d0c=_0xb92c4f;for(let _0x312df3=0x0;_0x312df3<_0x2eebe0[_0x266311(0xd2)](_0x4e525a['length'],0x1);_0x312df3++){const _0x25b0ac=_0x4e525a[_0x312df3],_0x25ae5e=_0x4e6d0c[_0x25b0ac];(!_0x25ae5e||_0x2eebe0['HEmFW'](typeof _0x25ae5e,'object')||Array['isArray'](_0x25ae5e))&&(_0x4e6d0c[_0x25b0ac]={}),_0x4e6d0c=_0x4e6d0c[_0x25b0ac];}_0x4e6d0c[_0x4e525a[_0x4e525a[_0x266311(0xd0)]-0x1]]=_0x469ea7;}function deleteByKeyPath(_0xf9e22,_0x340c40){const _0x5afefe=_0x260b,_0x34f7f4={'WIYAs':function(_0x29af5a,_0x3a4c8d){return _0x29af5a<_0x3a4c8d;},'rhVSB':function(_0x505d79,_0x6dc06d){return _0x505d79 in _0x6dc06d;}},_0x34af02=_0x340c40[_0x5afefe(0xfa)]('.');let _0x2237c2=_0xf9e22;for(let _0x3f923e=0x0;_0x34f7f4['WIYAs'](_0x3f923e,_0x34af02['length']-0x1);_0x3f923e++){const _0x42bb49=_0x34af02[_0x3f923e],_0x2bcd55=_0x2237c2[_0x42bb49];if(!_0x2bcd55||typeof _0x2bcd55!==_0x5afefe(0xda)||Array[_0x5afefe(0xe7)](_0x2bcd55))return![];_0x2237c2=_0x2bcd55;}const _0x2b88c0=_0x34af02[_0x34af02['length']-0x1];if(!_0x34f7f4[_0x5afefe(0xdf)](_0x2b88c0,_0x2237c2))return![];return delete _0x2237c2[_0x2b88c0],!![];}
1
+ (function(_0x22a4f8,_0x462135){const _0x510670=_0x4af0,_0x3023a8=_0x22a4f8();while(!![]){try{const _0x4cebde=parseInt(_0x510670(0x1b5))/0x1+-parseInt(_0x510670(0x1d4))/0x2+-parseInt(_0x510670(0x1d9))/0x3*(parseInt(_0x510670(0x1b6))/0x4)+parseInt(_0x510670(0x1dc))/0x5*(parseInt(_0x510670(0x1bf))/0x6)+parseInt(_0x510670(0x1ce))/0x7+-parseInt(_0x510670(0x1c7))/0x8*(-parseInt(_0x510670(0x1cf))/0x9)+parseInt(_0x510670(0x1c0))/0xa;if(_0x4cebde===_0x462135)break;else _0x3023a8['push'](_0x3023a8['shift']());}catch(_0x93ec7a){_0x3023a8['push'](_0x3023a8['shift']());}}}(_0x102e,0x6a399));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;export function getProjectsConfigPath(){const _0x50e5a7=_0x4af0,_0x37554f={'aKxiz':function(_0x237fb1,_0x1108cc,_0x329e50){return _0x237fb1(_0x1108cc,_0x329e50);},'StjhL':function(_0x210092){return _0x210092();}};return _0x37554f[_0x50e5a7(0x1c9)](join,_0x37554f['StjhL'](getRangerHomeDir),_0x50e5a7(0x1c2));}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}function _0x102e(){const _0x249bca=['bnJRI','now','xrJes','parse','wXjhF','12luSHXZ','187540tTDADm','settings','projects.json','qdSdx','lastProfile','apwki','ekYgr','8mAPLUo','\x20is\x20not\x20valid\x20JSON\x20(','aKxiz','[ranger]\x20Warning:\x20','isArray','object','.tmp','5744508BqIjwr','1057896CIGfkP','keyPath\x20is\x20required','headers','VxjNs','stringify','1571650teCtNT','uhEEg','NhCiX','length','KybBQ','3kisJHs','entries','warn','1101425VgcDAI','utf-8','.\x20Ignoring\x20local\x20profile\x20overrides.','VTqwH','516273cFllug','2771452oWEFDk','projects','SSRmM','profiles'];_0x102e=function(){return _0x249bca;};return _0x102e();}export function readProjectsConfig(){const _0x185cfb=_0x4af0,_0x259225={'STRhy':function(_0xb50da7){return _0xb50da7();},'SpuQT':_0x185cfb(0x1dd),'VTqwH':function(_0x545b3d,_0x53bf31){return _0x545b3d(_0x53bf31);},'ekYgr':function(_0xe05f76,_0x279296){return _0xe05f76 instanceof _0x279296;},'AFTJl':function(_0x2f871c,_0x3fcc7d){return _0x2f871c!==_0x3fcc7d;}},_0x214045=_0x259225['STRhy'](getProjectsConfigPath);if(!existsSync(_0x214045))return emptyConfig();let _0x5f4a91;try{_0x5f4a91=readFileSync(_0x214045,_0x259225['SpuQT']);}catch(_0x44bc55){const _0x90386d=_0x44bc55 instanceof Error?_0x44bc55['message']:_0x259225[_0x185cfb(0x1df)](String,_0x44bc55);return console['warn']('[ranger]\x20Warning:\x20failed\x20to\x20read\x20'+_0x214045+':\x20'+_0x90386d+_0x185cfb(0x1de)),emptyConfig();}let _0x58d448;try{_0x58d448=JSON[_0x185cfb(0x1bd)](_0x5f4a91);}catch(_0x24a938){const _0x202e35=_0x259225[_0x185cfb(0x1c6)](_0x24a938,Error)?_0x24a938['message']:String(_0x24a938);return console['warn']('[ranger]\x20Warning:\x20'+_0x214045+_0x185cfb(0x1c8)+_0x202e35+').\x20Ignoring\x20local\x20profile\x20overrides.'),emptyConfig();}if(!_0x58d448||typeof _0x58d448!==_0x185cfb(0x1cc)||Array[_0x185cfb(0x1cb)](_0x58d448)||_0x259225['AFTJl'](_0x58d448['version'],CURRENT_VERSION)||typeof _0x58d448[_0x185cfb(0x1b7)]!==_0x185cfb(0x1cc)||_0x58d448[_0x185cfb(0x1b7)]===null||Array['isArray'](_0x58d448['projects']))return console[_0x185cfb(0x1db)](_0x185cfb(0x1ca)+_0x214045+'\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.'),emptyConfig();return _0x58d448;}export function writeProjectsConfig(_0x44e7ca){const _0x361e28=_0x4af0,_0x149844={'PknLt':function(_0x58eba9){return _0x58eba9();},'qdSdx':function(_0x31bf55,_0x5dda0f){return _0x31bf55(_0x5dda0f);},'zfmsl':function(_0x4b1a96,_0x273b6c){return _0x4b1a96(_0x273b6c);},'bnJRI':function(_0xcd5b81,_0xaf6877,_0x4abcd7){return _0xcd5b81(_0xaf6877,_0x4abcd7);},'wSsYZ':function(_0x45bdf1,_0x2a579f,_0x411a2d,_0x5fdf66){return _0x45bdf1(_0x2a579f,_0x411a2d,_0x5fdf66);},'pkYgX':_0x361e28(0x1dd),'XXuNy':function(_0x2c170e,_0x3014ce){return _0x2c170e(_0x3014ce);}},_0x2fae35=_0x149844['PknLt'](getProjectsConfigPath),_0xcb068a=_0x149844[_0x361e28(0x1c3)](dirname,_0x2fae35);!_0x149844['zfmsl'](existsSync,_0xcb068a)&&_0x149844['bnJRI'](mkdirSync,_0xcb068a,{'recursive':!![]});const _0x38bd63=_0x2fae35+'.'+process['pid']+'.'+Date[_0x361e28(0x1bb)]()+_0x361e28(0x1cd),_0x2f05dc=JSON[_0x361e28(0x1d3)](_0x44e7ca,null,0x2)+'\x0a';try{_0x149844['wSsYZ'](writeFileSync,_0x38bd63,_0x2f05dc,{'encoding':_0x149844['pkYgX'],'mode':0x180}),_0x149844[_0x361e28(0x1ba)](renameSync,_0x38bd63,_0x2fae35);}catch(_0x269795){try{existsSync(_0x38bd63)&&_0x149844['XXuNy'](unlinkSync,_0x38bd63);}catch{}throw _0x269795;}}export function readProfileOverrides(_0x137a2e,_0x584ebb){const _0x492234=_0x4af0,_0x435013=readProjectsConfig(),_0x3fbeeb=_0x435013[_0x492234(0x1b7)][_0x137a2e];if(!_0x3fbeeb||!_0x3fbeeb['profiles'])return null;const _0x1a2990=_0x3fbeeb[_0x492234(0x1b9)][_0x584ebb];if(!_0x1a2990||!_0x1a2990['settings'])return null;return _0x1a2990['settings']??null;}export function setProfileOverride(_0x421672,_0x5b27ed,_0x3138cd,_0x4acaa9){const _0x318f63=_0x4af0,_0x5371f9={'KybBQ':'keyPath\x20is\x20required','uhEEg':function(_0x1d4602){return _0x1d4602();}};if(!_0x3138cd)throw new Error(_0x5371f9[_0x318f63(0x1d8)]);const _0x3917c4=_0x5371f9[_0x318f63(0x1d5)](readProjectsConfig),_0xebe7c7=_0x3917c4['projects'][_0x421672]??={},_0x7754d3=_0xebe7c7['profiles']??={},_0x4aa84e=_0x7754d3[_0x5b27ed]??={},_0x2619d0=_0x4aa84e['settings']??={};setByKeyPath(_0x2619d0,_0x3138cd,_0x4acaa9),writeProjectsConfig(_0x3917c4);}export function unsetProfileOverride(_0x491f7f,_0x106118,_0x536ed1){const _0x4daa56=_0x4af0,_0x32406b={'GCAGw':_0x4daa56(0x1d0),'NhCiX':function(_0x2f045e,_0xff7c08){return _0x2f045e(_0xff7c08);}};if(!_0x536ed1)throw new Error(_0x32406b['GCAGw']);const _0x2be739=readProjectsConfig(),_0x31f650=_0x2be739['projects'][_0x491f7f];if(!_0x31f650?.[_0x4daa56(0x1b9)])return![];const _0x1ca0b7=_0x31f650[_0x4daa56(0x1b9)][_0x106118];if(!_0x1ca0b7?.['settings'])return![];const _0x4f783c=deleteByKeyPath(_0x1ca0b7[_0x4daa56(0x1c1)],_0x536ed1);if(!_0x4f783c)return![];return _0x32406b[_0x4daa56(0x1d6)](writeProjectsConfig,_0x2be739),!![];}export function resetProfileOverrides(_0x565d02,_0x137ba2){const _0x24139d=_0x4af0,_0x5a7313={'wXjhF':function(_0xa81cc7,_0x3a412f){return _0xa81cc7 in _0x3a412f;},'VxjNs':function(_0x491981,_0x36b6f2){return _0x491981===_0x36b6f2;}},_0x3e40cc=readProjectsConfig(),_0x9ba17a=_0x3e40cc['projects'][_0x565d02];if(!_0x9ba17a?.['profiles'])return;if(!_0x5a7313[_0x24139d(0x1be)](_0x137ba2,_0x9ba17a['profiles']))return;delete _0x9ba17a[_0x24139d(0x1b9)][_0x137ba2],_0x5a7313[_0x24139d(0x1d2)](Object['keys'](_0x9ba17a['profiles'])['length'],0x0)&&(!_0x9ba17a[_0x24139d(0x1c4)]?delete _0x3e40cc['projects'][_0x565d02]:_0x9ba17a[_0x24139d(0x1b9)]={}),writeProjectsConfig(_0x3e40cc);}export function readLastProfile(_0x1ce19e){const _0x310cfd=readProjectsConfig(),_0x531396=_0x310cfd['projects'][_0x1ce19e];return _0x531396?.['lastProfile']??null;}export function writeLastProfile(_0x1a6637,_0x3d4235){const _0x9b1c29=_0x4af0,_0x4c7c72={'xrJes':function(_0x5e4527){return _0x5e4527();},'apwki':function(_0x8975f7,_0x2dba3d){return _0x8975f7(_0x2dba3d);}},_0x313dac=_0x4c7c72[_0x9b1c29(0x1bc)](readProjectsConfig),_0x24811c=_0x313dac['projects'][_0x1a6637]??={};_0x24811c['lastProfile']=_0x3d4235,_0x4c7c72[_0x9b1c29(0x1c5)](writeProjectsConfig,_0x313dac);}export function clearLastProfile(_0x51fd41,_0x5d2065){const _0x49b170=_0x4af0,_0x58850a={'eXBZj':function(_0x4fa0e6,_0xe08f1){return _0x4fa0e6===_0xe08f1;}},_0x11ed3f=readProjectsConfig(),_0x6ed975=_0x11ed3f['projects'][_0x51fd41];if(!_0x6ed975||_0x6ed975[_0x49b170(0x1c4)]!==_0x5d2065)return![];return delete _0x6ed975['lastProfile'],(!_0x6ed975['profiles']||_0x58850a['eXBZj'](Object['keys'](_0x6ed975['profiles'])['length'],0x0))&&delete _0x11ed3f['projects'][_0x51fd41],writeProjectsConfig(_0x11ed3f),!![];}export function mergeCloudProfileSettings(_0x2f3680,_0x355420){const _0x14328e=_0x4af0,_0x3187e5={'SSRmM':function(_0x43a857,_0x5adb0c){return _0x43a857===_0x5adb0c;},'SCdmW':function(_0x532147,_0x13b012){return _0x532147===_0x13b012;}},_0x43cd56={..._0x2f3680??{}};if(!_0x355420)return _0x43cd56;for(const [_0x5445a0,_0xacac58]of Object[_0x14328e(0x1da)](_0x355420)){if(_0xacac58===undefined)continue;if(_0x3187e5[_0x14328e(0x1b8)](_0xacac58,null)){delete _0x43cd56[_0x5445a0];continue;}if(_0x3187e5['SCdmW'](_0x5445a0,_0x14328e(0x1d1))||_0x3187e5[_0x14328e(0x1b8)](_0x5445a0,'setupHeaders')){const _0x4acdc1=asRecord(_0x43cd56[_0x5445a0])??{},_0x275a9e=asRecord(_0xacac58);if(!_0x275a9e){_0x43cd56[_0x5445a0]=_0xacac58;continue;}const _0x20cd92={..._0x4acdc1};for(const [_0x256636,_0x214b51]of Object[_0x14328e(0x1da)](_0x275a9e)){if(_0x214b51===null)delete _0x20cd92[_0x256636];else _0x214b51!==undefined&&(_0x20cd92[_0x256636]=_0x214b51);}_0x43cd56[_0x5445a0]=_0x20cd92;continue;}_0x43cd56[_0x5445a0]=_0xacac58;}return _0x43cd56;}function _0x4af0(_0xa9b86c,_0x53e69a){_0xa9b86c=_0xa9b86c-0x1b5;const _0x102e7f=_0x102e();let _0x4af053=_0x102e7f[_0xa9b86c];return _0x4af053;}function asRecord(_0x10561e){const _0x105f5e=_0x4af0;return _0x10561e&&typeof _0x10561e===_0x105f5e(0x1cc)&&!Array[_0x105f5e(0x1cb)](_0x10561e)?_0x10561e:undefined;}function setByKeyPath(_0x2b1396,_0x4f3d4d,_0x52b452){const _0x1fbb2a=_0x4af0,_0x19980f={'NPuVY':function(_0x3542c9,_0x4c50f7){return _0x3542c9-_0x4c50f7;},'fpmDC':function(_0xd7ec1a,_0x531a56){return _0xd7ec1a!==_0x531a56;},'DPJas':function(_0x16cbaf,_0x38783d){return _0x16cbaf-_0x38783d;}},_0x58e5b9=_0x4f3d4d['split']('.');let _0x5b6aff=_0x2b1396;for(let _0x164377=0x0;_0x164377<_0x19980f['NPuVY'](_0x58e5b9[_0x1fbb2a(0x1d7)],0x1);_0x164377++){const _0xc81686=_0x58e5b9[_0x164377],_0x2b3cb5=_0x5b6aff[_0xc81686];(!_0x2b3cb5||_0x19980f['fpmDC'](typeof _0x2b3cb5,'object')||Array['isArray'](_0x2b3cb5))&&(_0x5b6aff[_0xc81686]={}),_0x5b6aff=_0x5b6aff[_0xc81686];}_0x5b6aff[_0x58e5b9[_0x19980f['DPJas'](_0x58e5b9[_0x1fbb2a(0x1d7)],0x1)]]=_0x52b452;}function deleteByKeyPath(_0x5ccf86,_0x417a1a){const _0xf3c90a=_0x4af0,_0x5899f7={'kYEJR':function(_0x2d6e46,_0x4abb87){return _0x2d6e46<_0x4abb87;},'pAzlE':_0xf3c90a(0x1cc)},_0x5426fb=_0x417a1a['split']('.');let _0x22db27=_0x5ccf86;for(let _0x50efdd=0x0;_0x5899f7['kYEJR'](_0x50efdd,_0x5426fb['length']-0x1);_0x50efdd++){const _0x74970f=_0x5426fb[_0x50efdd],_0x2c8eb0=_0x22db27[_0x74970f];if(!_0x2c8eb0||typeof _0x2c8eb0!==_0x5899f7['pAzlE']||Array['isArray'](_0x2c8eb0))return![];_0x22db27=_0x2c8eb0;}const _0x1e0c67=_0x5426fb[_0x5426fb['length']-0x1];if(!(_0x1e0c67 in _0x22db27))return![];return delete _0x22db27[_0x1e0c67],!![];}
@@ -1 +1 @@
1
- function _0x42e3(_0x167c30,_0x43ebfc){_0x167c30=_0x167c30-0x16e;const _0x1d2086=_0x1d20();let _0x42e337=_0x1d2086[_0x167c30];return _0x42e337;}(function(_0x52255a,_0x3dc151){const _0x5c4638=_0x42e3,_0x5c3e86=_0x52255a();while(!![]){try{const _0x1de7e5=parseInt(_0x5c4638(0x177))/0x1+-parseInt(_0x5c4638(0x174))/0x2*(parseInt(_0x5c4638(0x178))/0x3)+-parseInt(_0x5c4638(0x176))/0x4+-parseInt(_0x5c4638(0x183))/0x5*(parseInt(_0x5c4638(0x17e))/0x6)+-parseInt(_0x5c4638(0x170))/0x7+parseInt(_0x5c4638(0x181))/0x8+parseInt(_0x5c4638(0x182))/0x9;if(_0x1de7e5===_0x3dc151)break;else _0x5c3e86['push'](_0x5c3e86['shift']());}catch(_0x193f0b){_0x5c3e86['push'](_0x5c3e86['shift']());}}}(_0x1d20,0x8a701));function _0x1d20(){const _0x50d4ad=['uVVKt','object','3481163xrnpxn','string','model','LspQG','2WLKBpY','xBvKG','955068AzgGmD','787019OkLbSf','706461nkDTDx','SxJOV','yISFk','utf-8','message','parse','43842sBHzVo','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','isArray','5502416tJuxcO','2744226zWYegX','165mvgusV'];_0x1d20=function(){return _0x50d4ad;};return _0x1d20();}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x52b35c=_0x42e3,_0x295c88={'yISFk':function(_0x1189b4){return _0x1189b4();}};return join(_0x295c88[_0x52b35c(0x17a)](getRangerDir),'config.json');}export async function loadRangerConfig(){const _0x30ec0f=_0x42e3,_0x30d45f={'sFrSo':function(_0x227c15){return _0x227c15();},'RwuEl':function(_0x27bd72,_0x3c0ea3){return _0x27bd72(_0x3c0ea3);},'xBvKG':function(_0x54a9c5,_0x4de894,_0x49bc37){return _0x54a9c5(_0x4de894,_0x49bc37);},'SxJOV':_0x30ec0f(0x17b),'uVVKt':function(_0x24a958,_0x1fb6c3){return _0x24a958!==_0x1fb6c3;},'LspQG':_0x30ec0f(0x171)},_0x5e1a1b=_0x30d45f['sFrSo'](getRangerConfigPath);if(!_0x30d45f['RwuEl'](existsSync,_0x5e1a1b))return{};try{const _0x55e847=await _0x30d45f[_0x30ec0f(0x175)](readFile,_0x5e1a1b,_0x30d45f[_0x30ec0f(0x179)]),_0x35069e=JSON[_0x30ec0f(0x17d)](_0x55e847);if(!_0x35069e||_0x30d45f[_0x30ec0f(0x16e)](typeof _0x35069e,_0x30ec0f(0x16f))||Array[_0x30ec0f(0x180)](_0x35069e))return{};const _0x5d0624={},_0x27fd91=_0x35069e['model'];return typeof _0x27fd91===_0x30d45f[_0x30ec0f(0x173)]&&(_0x5d0624[_0x30ec0f(0x172)]=_0x27fd91),_0x5d0624;}catch(_0x270322){const _0x297429=_0x270322 instanceof Error?_0x270322[_0x30ec0f(0x17c)]:String(_0x270322);return console['warn'](_0x30ec0f(0x17f)+_0x5e1a1b+':\x20'+_0x297429),{};}}
1
+ (function(_0x2501dd,_0x4fa3ed){const _0x340036=_0x56ad,_0x190e24=_0x2501dd();while(!![]){try{const _0x3c257f=-parseInt(_0x340036(0x1ba))/0x1+parseInt(_0x340036(0x1bb))/0x2*(parseInt(_0x340036(0x1bc))/0x3)+parseInt(_0x340036(0x1b2))/0x4+-parseInt(_0x340036(0x1ae))/0x5+parseInt(_0x340036(0x1b8))/0x6*(-parseInt(_0x340036(0x1bd))/0x7)+parseInt(_0x340036(0x1b7))/0x8+-parseInt(_0x340036(0x1b3))/0x9;if(_0x3c257f===_0x4fa3ed)break;else _0x190e24['push'](_0x190e24['shift']());}catch(_0x2dd91d){_0x190e24['push'](_0x190e24['shift']());}}}(_0x5015,0x50430));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x56ad(_0x1f2c69,_0xcc7cc9){_0x1f2c69=_0x1f2c69-0x1ac;const _0x5015bd=_0x5015();let _0x56adb3=_0x5015bd[_0x1f2c69];return _0x56adb3;}export function getRangerConfigPath(){const _0xa34d1f=_0x56ad,_0x4da832={'YcCgg':function(_0x5aa759){return _0x5aa759();},'QJrvO':'config.json'};return join(_0x4da832[_0xa34d1f(0x1ad)](getRangerDir),_0x4da832[_0xa34d1f(0x1ac)]);}export async function loadRangerConfig(){const _0x5dd023=_0x56ad,_0x1f531f={'ExBfe':function(_0x214358){return _0x214358();},'CCAxs':'utf-8','zZaNR':function(_0x6db422,_0x184a8d){return _0x6db422===_0x184a8d;},'xgbLl':_0x5dd023(0x1af),'aiVXv':function(_0x3a3edb,_0x5c8c87){return _0x3a3edb instanceof _0x5c8c87;},'MhBxC':function(_0x4b1ccb,_0x155ce8){return _0x4b1ccb(_0x155ce8);}},_0x18798f=_0x1f531f[_0x5dd023(0x1b4)](getRangerConfigPath);if(!existsSync(_0x18798f))return{};try{const _0x428e2b=await readFile(_0x18798f,_0x1f531f[_0x5dd023(0x1b1)]),_0x1bb398=JSON[_0x5dd023(0x1b5)](_0x428e2b);if(!_0x1bb398||typeof _0x1bb398!=='object'||Array['isArray'](_0x1bb398))return{};const _0x337e06={},_0x28b9de=_0x1bb398['model'];return _0x1f531f['zZaNR'](typeof _0x28b9de,_0x1f531f['xgbLl'])&&(_0x337e06['model']=_0x28b9de),_0x337e06;}catch(_0x40e9f8){const _0x5b3dd2=_0x1f531f[_0x5dd023(0x1b9)](_0x40e9f8,Error)?_0x40e9f8[_0x5dd023(0x1b0)]:_0x1f531f['MhBxC'](String,_0x40e9f8);return console['warn'](_0x5dd023(0x1b6)+_0x18798f+':\x20'+_0x5b3dd2),{};}}function _0x5015(){const _0x134a92=['string','message','CCAxs','397276oNpbHg','169596UZhlLk','ExBfe','parse','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','2148968zjSzqC','600144kxrbgP','aiVXv','127872iWTyse','20djnBPT','140463mEWLfu','14HYAVJH','QJrvO','YcCgg','803170BFMJgE'];_0x5015=function(){return _0x134a92;};return _0x5015();}
@@ -1 +1 @@
1
- (function(_0xac8576,_0x4372b8){const _0x4be47e=_0x51d9,_0x49d747=_0xac8576();while(!![]){try{const _0x26e1fe=parseInt(_0x4be47e(0x12b))/0x1*(-parseInt(_0x4be47e(0x137))/0x2)+-parseInt(_0x4be47e(0x136))/0x3+parseInt(_0x4be47e(0x12e))/0x4+-parseInt(_0x4be47e(0x132))/0x5+-parseInt(_0x4be47e(0x135))/0x6*(-parseInt(_0x4be47e(0x134))/0x7)+-parseInt(_0x4be47e(0x133))/0x8+-parseInt(_0x4be47e(0x12a))/0x9*(-parseInt(_0x4be47e(0x13a))/0xa);if(_0x26e1fe===_0x4372b8)break;else _0x49d747['push'](_0x49d747['shift']());}catch(_0x50f345){_0x49d747['push'](_0x49d747['shift']());}}}(_0x1bd0,0xcd3d9));import{dirname,join,parse}from'path';function _0x1bd0(){const _0x5d8216=['2820123QnbWoX','734igcTql','HFeLs','EoWDN','120ybHqwx','cwd','KOiju','YxoWW','.ranger','2475072uIXkkn','2393QRouAF','root','.git','2276844LINiay','cWDoM','ursKg','AYVNT','6957555VRsGSd','6993144HJWlKW','28kOtidn','1582926HauGiH'];_0x1bd0=function(){return _0x5d8216;};return _0x1bd0();}import{existsSync}from'fs';function _0x51d9(_0x2efbef,_0x48bcba){_0x2efbef=_0x2efbef-0x12a;const _0x1bd0ed=_0x1bd0();let _0x51d96d=_0x1bd0ed[_0x2efbef];return _0x51d96d;}import{homedir}from'os';export function getRangerRoot(){const _0x144f89=_0x51d9,_0x203f09={'cWDoM':function(_0x2495ee,_0x430425){return _0x2495ee!==_0x430425;},'YxoWW':function(_0x5766c7,_0x2b5857){return _0x5766c7(_0x2b5857);},'KOiju':function(_0x4e011a,_0x3c8489,_0xd1c197){return _0x4e011a(_0x3c8489,_0xd1c197);},'EoWDN':function(_0x318dd3,_0x368e20){return _0x318dd3(_0x368e20);}};let _0x534dfe=process['cwd']();const _0x1c422a=parse(_0x534dfe)[_0x144f89(0x12c)];while(_0x203f09[_0x144f89(0x12f)](_0x534dfe,_0x1c422a)){if(_0x203f09[_0x144f89(0x13d)](existsSync,_0x203f09[_0x144f89(0x13c)](join,_0x534dfe,_0x144f89(0x13e))))return _0x534dfe;_0x534dfe=dirname(_0x534dfe);}if(_0x203f09[_0x144f89(0x139)](existsSync,join(_0x1c422a,_0x144f89(0x13e))))return _0x1c422a;const _0x314d5c=findGitRoot();if(_0x314d5c)return _0x314d5c;return process[_0x144f89(0x13b)]();}export function getRangerDir(){const _0xc5d299=_0x51d9,_0x4f286c={'ursKg':function(_0x182d53){return _0x182d53();},'AYVNT':_0xc5d299(0x13e)};return join(_0x4f286c[_0xc5d299(0x130)](getRangerRoot),_0x4f286c[_0xc5d299(0x131)]);}export function findGitRoot(){const _0x498202=_0x51d9,_0x29205={'oDJIl':function(_0x42e147,_0xe8a0c0){return _0x42e147(_0xe8a0c0);},'HFeLs':function(_0x2ee0e4,_0x44d0be){return _0x2ee0e4!==_0x44d0be;}};let _0x8b37e5=process['cwd']();const _0x879d90=_0x29205['oDJIl'](parse,_0x8b37e5)['root'];while(_0x29205[_0x498202(0x138)](_0x8b37e5,_0x879d90)){if(existsSync(join(_0x8b37e5,_0x498202(0x12d))))return _0x8b37e5;_0x8b37e5=_0x29205['oDJIl'](dirname,_0x8b37e5);}if(existsSync(join(_0x879d90,_0x498202(0x12d))))return _0x879d90;return null;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}
1
+ (function(_0x5b16b3,_0x3a1eac){const _0x34a875=_0x35ee,_0x4af7b9=_0x5b16b3();while(!![]){try{const _0x5b07bc=-parseInt(_0x34a875(0x89))/0x1*(-parseInt(_0x34a875(0x84))/0x2)+-parseInt(_0x34a875(0x85))/0x3+parseInt(_0x34a875(0x7c))/0x4*(-parseInt(_0x34a875(0x7b))/0x5)+-parseInt(_0x34a875(0x83))/0x6+-parseInt(_0x34a875(0x82))/0x7*(-parseInt(_0x34a875(0x7f))/0x8)+parseInt(_0x34a875(0x7d))/0x9+-parseInt(_0x34a875(0x79))/0xa*(-parseInt(_0x34a875(0x88))/0xb);if(_0x5b07bc===_0x3a1eac)break;else _0x4af7b9['push'](_0x4af7b9['shift']());}catch(_0x3cba11){_0x4af7b9['push'](_0x4af7b9['shift']());}}}(_0x49d2,0xbbc38));import{dirname,join,parse}from'path';function _0x35ee(_0x99c24,_0x575578){_0x99c24=_0x99c24-0x78;const _0x49d245=_0x49d2();let _0x35ee18=_0x49d245[_0x99c24];return _0x35ee18;}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0xadbcb4=_0x35ee,_0x371508={'meAzH':function(_0x555b88,_0x4ba76f){return _0x555b88(_0x4ba76f);},'uEIyy':function(_0x292626,_0x2f0ff8){return _0x292626(_0x2f0ff8);},'EyPON':function(_0x52fdf1,_0x5bc6ec,_0x162920){return _0x52fdf1(_0x5bc6ec,_0x162920);},'wJgSw':function(_0x2e0be9,_0x2e051f,_0x171528){return _0x2e0be9(_0x2e051f,_0x171528);},'kDwOq':function(_0x4d9dd0){return _0x4d9dd0();}};let _0x462c21=process['cwd']();const _0x4e9c68=_0x371508['meAzH'](parse,_0x462c21)['root'];while(_0x462c21!==_0x4e9c68){if(_0x371508['uEIyy'](existsSync,_0x371508['EyPON'](join,_0x462c21,'.ranger')))return _0x462c21;_0x462c21=dirname(_0x462c21);}if(existsSync(_0x371508[_0xadbcb4(0x78)](join,_0x4e9c68,_0xadbcb4(0x7a))))return _0x4e9c68;const _0x27cfcf=_0x371508['kDwOq'](findGitRoot);if(_0x27cfcf)return _0x27cfcf;return process[_0xadbcb4(0x86)]();}export function getRangerDir(){const _0x37f752={'ZEBKA':function(_0x3966dc,_0x32b1b5,_0x515cbe){return _0x3966dc(_0x32b1b5,_0x515cbe);},'snUjL':'.ranger'};return _0x37f752['ZEBKA'](join,getRangerRoot(),_0x37f752['snUjL']);}function _0x49d2(){const _0x5deb88=['3580545dVtUWi','cwd','NMUoh','198owtAKB','6ziCtJL','wJgSw','577470QFrzXS','.ranger','38635xiISns','116HgxjPF','3034773FNpJwV','root','635608VAZPIF','.git','hqrbP','42Opkvva','4189434oYHMjw','343856YcmJty'];_0x49d2=function(){return _0x5deb88;};return _0x49d2();}export function findGitRoot(){const _0x4c9323=_0x35ee,_0x3a7691={'hqrbP':function(_0x172c00,_0x5ac647){return _0x172c00!==_0x5ac647;},'VHDrn':function(_0x252526,_0x443e3d){return _0x252526(_0x443e3d);},'NMUoh':function(_0x2af43e,_0x2d992d){return _0x2af43e(_0x2d992d);}};let _0xa08f66=process[_0x4c9323(0x86)]();const _0x3db677=parse(_0xa08f66)[_0x4c9323(0x7e)];while(_0x3a7691[_0x4c9323(0x81)](_0xa08f66,_0x3db677)){if(existsSync(join(_0xa08f66,_0x4c9323(0x80))))return _0xa08f66;_0xa08f66=_0x3a7691['VHDrn'](dirname,_0xa08f66);}if(_0x3a7691[_0x4c9323(0x87)](existsSync,join(_0x3db677,_0x4c9323(0x80))))return _0x3db677;return null;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}
@@ -1 +1 @@
1
- const _0x2ae0a5=_0x1d59;(function(_0x36a363,_0x3be05a){const _0x959d6=_0x1d59,_0x44d8fe=_0x36a363();while(!![]){try{const _0x26b616=parseInt(_0x959d6(0x1ec))/0x1*(-parseInt(_0x959d6(0x1dd))/0x2)+-parseInt(_0x959d6(0x1d5))/0x3*(-parseInt(_0x959d6(0x1e7))/0x4)+parseInt(_0x959d6(0x1b6))/0x5*(parseInt(_0x959d6(0x1b8))/0x6)+parseInt(_0x959d6(0x1d2))/0x7+-parseInt(_0x959d6(0x1c9))/0x8+-parseInt(_0x959d6(0x1db))/0x9+parseInt(_0x959d6(0x1c3))/0xa*(parseInt(_0x959d6(0x1eb))/0xb);if(_0x26b616===_0x3be05a)break;else _0x44d8fe['push'](_0x44d8fe['shift']());}catch(_0x177b98){_0x44d8fe['push'](_0x44d8fe['shift']());}}}(_0x177c,0xaba68));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=_0x2ae0a5(0x1e1);export const RANGERWRIGHT_CLI_BINARY='rangerwright';function readPackageJson(_0x28a038){const _0x141ac4=_0x2ae0a5,_0x5d533f={'DYvpO':function(_0x862022,_0x355999){return _0x862022!==_0x355999;}},_0x2a1a2f=readFileSync(_0x28a038,_0x141ac4(0x1e0)),_0x3e23de=JSON['parse'](_0x2a1a2f);if(!_0x3e23de||_0x5d533f[_0x141ac4(0x1c1)](typeof _0x3e23de,'object'))return{};return _0x3e23de;}function _0x177c(){const _0x39830f=['...','bJhit','5006484GrozFO','null','nPvEE','3462BFXTlZ','\x20--json','close','bqEAn','\x0astderr:\x20','artifactDir','10358757hIFnnG','mbTob','658870GfERvV','Alzrk','data','utf-8','@ranger-testing/rangerwright','string','commandArgs','stderr','YVYwG','inVGh','1676Ftlhvc','YcRQj','unknown','assign','712822avyCdy','3DnkFgn','sessionId','uWyeP','subcommand','binaryPath','\x20binary','XXCKl','SIGTERM','kill','1835OuvHzr','env','7116mSQCOA','\x0astdout:\x20','toString','slice','socketPath','Ywywz','AbPhO','\x20signal=','fpaFr','DYvpO','match','310rNwOVD','PEauR','map','pipe','cwd','SIGKILL','6404032sihBsm','--json','timed\x20out\x20after\x20','timeoutMs','bin','sjpXY','UiZKt'];_0x177c=function(){return _0x39830f;};return _0x177c();}export function resolveRangerwrightCliBinary(){const _0x2e726d=_0x2ae0a5,_0x5ae259={'fpaFr':'package.json','inVGh':function(_0x513eb5,_0x4d8a22){return _0x513eb5(_0x4d8a22);},'Ywywz':function(_0x5d55de,_0x2c4965){return _0x5d55de===_0x2c4965;},'YVYwG':_0x2e726d(0x1e2),'LPQwN':function(_0x2bf0d7,_0x3f75a4,_0x254c95){return _0x2bf0d7(_0x3f75a4,_0x254c95);}},_0x37a2b3=createRequire(process['argv'][0x1]||join(process[_0x2e726d(0x1c7)](),_0x5ae259[_0x2e726d(0x1c0)])),_0x34b2c9=_0x37a2b3['resolve'](RANGERWRIGHT_CLI_PACKAGE+'/package.json'),_0x4515e1=dirname(_0x34b2c9),_0x4dc648=_0x5ae259[_0x2e726d(0x1e6)](readPackageJson,_0x34b2c9),_0x136b68=_0x5ae259[_0x2e726d(0x1bd)](typeof _0x4dc648[_0x2e726d(0x1cd)],_0x5ae259[_0x2e726d(0x1e5)])?_0x4dc648[_0x2e726d(0x1cd)]:_0x4dc648[_0x2e726d(0x1cd)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x136b68)throw new Error(RANGERWRIGHT_CLI_PACKAGE+'\x20does\x20not\x20expose\x20a\x20'+RANGERWRIGHT_CLI_BINARY+_0x2e726d(0x1b2));return _0x5ae259['LPQwN'](join,_0x4515e1,_0x136b68);}export function buildRangerwrightCliEnv(_0x5281a0){const _0x373624=_0x2ae0a5;return{'RANGERWRIGHT_SESSION':_0x5281a0[_0x373624(0x1ae)],'RANGERWRIGHT_CONFIG':_0x5281a0['configPath'],'RANGERWRIGHT_ARTIFACT_DIR':_0x5281a0[_0x373624(0x1da)],..._0x5281a0['socketPath']?{'RANGERWRIGHT_SOCKET_PATH':_0x5281a0[_0x373624(0x1bc)]}:{}};}function _0x1d59(_0x41e37c,_0x100492){_0x41e37c=_0x41e37c-0x1ae;const _0x177cde=_0x177c();let _0x1d5954=_0x177cde[_0x41e37c];return _0x1d5954;}export function applyRangerwrightCliEnv(_0x2175d4,_0x27dfe7){const _0x285854=_0x2ae0a5;Object[_0x285854(0x1ea)](_0x2175d4,buildRangerwrightCliEnv(_0x27dfe7));}export function buildRangerwrightCliCommandPrefix(_0x1fbaac=resolveRangerwrightCliBinary()){const _0x3ce106=_0x2ae0a5;return quoteShellArg(_0x1fbaac)+_0x3ce106(0x1d6);}function getRangerwrightSubcommand(_0x33a5c8){const _0x384750=_0x2ae0a5,_0x1b643f={'wOcBU':_0x384750(0x1e9)};return _0x33a5c8[0x0]??_0x1b643f['wOcBU'];}export function buildRangerwrightCliInvocation(_0x607b30,_0x3a8b14){const _0x4191bf=_0x2ae0a5,_0x357537={'YcRQj':function(_0x173ca4){return _0x173ca4();},'aZDJD':function(_0x2b8050,_0x5e2eff){return _0x2b8050(_0x5e2eff);},'uWyeP':'--json'},_0xcbd15b=_0x607b30[_0x4191bf(0x1b1)]??_0x357537[_0x4191bf(0x1e8)](resolveRangerwrightCliBinary),_0x51a24a=[_0x4191bf(0x1ca),..._0x3a8b14];return{'command':_0xcbd15b,'args':_0x51a24a,'shellCommand':[_0x357537['aZDJD'](quoteShellArg,_0xcbd15b),_0x357537[_0x4191bf(0x1af)],..._0x3a8b14[_0x4191bf(0x1c5)](quoteShellArg)]['join']('\x20'),'subcommand':getRangerwrightSubcommand(_0x3a8b14)};}function truncateOutput(_0x30b70d,_0x4e8e4f=0x7d0){const _0x25fee0=_0x2ae0a5;return _0x30b70d['length']>_0x4e8e4f?_0x30b70d[_0x25fee0(0x1bb)](0x0,_0x4e8e4f)+_0x25fee0(0x1d0):_0x30b70d;}export async function runRangerwrightCliCommand(_0x24aef4){const _0x2b648e=_0x2ae0a5,_0x423d6a={'PEauR':function(_0x190e58,_0x430055){return _0x190e58(_0x430055);},'UiZKt':_0x2b648e(0x1b4),'mbTob':function(_0xc0c069,_0x550cf0){return _0xc0c069(_0x550cf0);},'nonSm':function(_0x512cfd,_0x38b84f,_0x28e214,_0x409052){return _0x512cfd(_0x38b84f,_0x28e214,_0x409052);},'MXqVA':'ignore','bqEAn':'pipe','AbPhO':function(_0x5b0062,_0x407296){return _0x5b0062>_0x407296;},'sjpXY':function(_0x67704e,_0x250327,_0x5c2a83){return _0x67704e(_0x250327,_0x5c2a83);},'sElWl':'error','bJhit':_0x2b648e(0x1d7),'XRlzi':function(_0x382914,_0x1c9fce,_0x9e108b){return _0x382914(_0x1c9fce,_0x9e108b);},'XXCKl':function(_0x1affeb,_0x39f41e){return _0x1affeb(_0x39f41e);}},_0x34a39f=_0x423d6a['XRlzi'](buildRangerwrightCliInvocation,_0x24aef4,_0x24aef4[_0x2b648e(0x1e3)]),_0x12cf61={..._0x24aef4[_0x2b648e(0x1b7)]??process['env'],..._0x423d6a[_0x2b648e(0x1b3)](buildRangerwrightCliEnv,_0x24aef4)};return new Promise((_0x2434cf,_0x3a4ac7)=>{const _0x65ef0b=_0x2b648e,_0x2b68a1={'vTAZn':_0x65ef0b(0x1c8),'Alzrk':_0x423d6a[_0x65ef0b(0x1cf)],'DBPfS':function(_0x3ab67d,_0x35a5cf){const _0x24e92a=_0x65ef0b;return _0x423d6a[_0x24e92a(0x1dc)](_0x3ab67d,_0x35a5cf);},'nPvEE':_0x65ef0b(0x1d3),'npHmI':function(_0x28046c,_0x244883){const _0x4a1aa2=_0x65ef0b;return _0x423d6a[_0x4a1aa2(0x1c4)](_0x28046c,_0x244883);}},_0x4df8a7=_0x423d6a['nonSm'](spawn,_0x34a39f['command'],_0x34a39f['args'],{'cwd':_0x24aef4[_0x65ef0b(0x1c7)],'env':_0x12cf61,'stdio':[_0x423d6a['MXqVA'],_0x423d6a[_0x65ef0b(0x1d8)],_0x65ef0b(0x1c6)]});let _0x3c8e21='',_0x5b4b6f='',_0x12c7e9=![];const _0x32e924=_0x24aef4[_0x65ef0b(0x1cc)]&&_0x423d6a[_0x65ef0b(0x1be)](_0x24aef4[_0x65ef0b(0x1cc)],0x0)?_0x423d6a[_0x65ef0b(0x1ce)](setTimeout,()=>{const _0x54db19=_0x65ef0b;_0x12c7e9=!![],_0x4df8a7[_0x54db19(0x1b5)](_0x2b68a1[_0x54db19(0x1de)]),setTimeout(()=>{try{_0x4df8a7['kill'](_0x2b68a1['vTAZn']);}catch{}},0x3e8);},_0x24aef4[_0x65ef0b(0x1cc)]):null;_0x4df8a7['stdout']?.['on'](_0x65ef0b(0x1df),_0x1d38b1=>{_0x3c8e21+=_0x1d38b1['toString']();}),_0x4df8a7[_0x65ef0b(0x1e4)]?.['on'](_0x65ef0b(0x1df),_0x2b00f6=>{const _0x345cb9=_0x65ef0b;_0x5b4b6f+=_0x2b00f6[_0x345cb9(0x1ba)]();}),_0x4df8a7['on'](_0x423d6a['sElWl'],_0x546722=>{if(_0x32e924)clearTimeout(_0x32e924);_0x423d6a['PEauR'](_0x3a4ac7,_0x546722);}),_0x4df8a7['on'](_0x423d6a[_0x65ef0b(0x1d1)],(_0x4edf95,_0x25277b)=>{const _0x16f6d2=_0x65ef0b;if(_0x32e924)_0x2b68a1['DBPfS'](clearTimeout,_0x32e924);if(_0x4edf95===0x0){_0x2434cf({'stdout':_0x3c8e21,'stderr':_0x5b4b6f,'invocation':_0x34a39f});return;}const _0x4a55f8=_0x12c7e9?_0x16f6d2(0x1cb)+_0x24aef4['timeoutMs']+'ms':'exited\x20with\x20code='+(_0x4edf95??_0x2b68a1[_0x16f6d2(0x1d4)])+_0x16f6d2(0x1bf)+(_0x25277b??'null');_0x3a4ac7(new Error('rangerwright-cli\x20'+_0x34a39f[_0x16f6d2(0x1b0)]+'\x20'+_0x4a55f8+_0x16f6d2(0x1b9)+truncateOutput(_0x3c8e21)+_0x16f6d2(0x1d9)+_0x2b68a1['npHmI'](truncateOutput,_0x5b4b6f)));});});}export function parseRangerwrightCliCommand(_0x574bfc){const _0x1b8fad=_0x2ae0a5,_0x8ab84=_0x574bfc[_0x1b8fad(0x1c2)](/(?:^|\s)(?:"[^"]*rangerwright"|'[^']*rangerwright'|\S*rangerwright)(?:\s+--json)?\s+([a-z-]+)/);return _0x8ab84?.[0x1]??null;}
1
+ const _0xf3c017=_0x1cb1;(function(_0x11222d,_0x2ff238){const _0x59b335=_0x1cb1,_0x38dd36=_0x11222d();while(!![]){try{const _0x24a781=-parseInt(_0x59b335(0x140))/0x1+-parseInt(_0x59b335(0x137))/0x2+parseInt(_0x59b335(0x152))/0x3+parseInt(_0x59b335(0x14f))/0x4*(parseInt(_0x59b335(0x13b))/0x5)+-parseInt(_0x59b335(0x15b))/0x6+parseInt(_0x59b335(0x12b))/0x7*(-parseInt(_0x59b335(0x14e))/0x8)+parseInt(_0x59b335(0x12e))/0x9;if(_0x24a781===_0x2ff238)break;else _0x38dd36['push'](_0x38dd36['shift']());}catch(_0x5044ad){_0x38dd36['push'](_0x38dd36['shift']());}}}(_0x4508,0xaf3d1));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='@ranger-testing/rangerwright';export const RANGERWRIGHT_CLI_BINARY=_0xf3c017(0x134);function _0x1cb1(_0x1968b2,_0x3e8a22){_0x1968b2=_0x1968b2-0x11f;const _0x45080c=_0x4508();let _0x1cb134=_0x45080c[_0x1968b2];return _0x1cb134;}function readPackageJson(_0x49545a){const _0x1ad643=_0xf3c017,_0x1ba81e={'wzorT':function(_0x29d0e6,_0x9fea08,_0x551aaa){return _0x29d0e6(_0x9fea08,_0x551aaa);},'ESysz':function(_0x4bd5ef,_0x578843){return _0x4bd5ef!==_0x578843;},'gyBSK':'object'},_0x10c792=_0x1ba81e[_0x1ad643(0x147)](readFileSync,_0x49545a,'utf-8'),_0x3fb829=JSON[_0x1ad643(0x12d)](_0x10c792);if(!_0x3fb829||_0x1ba81e[_0x1ad643(0x120)](typeof _0x3fb829,_0x1ba81e[_0x1ad643(0x14a)]))return{};return _0x3fb829;}export function resolveRangerwrightCliBinary(){const _0x380872=_0xf3c017,_0x3fc919={'hfFen':function(_0x3ebabc,_0x32cc62){return _0x3ebabc(_0x32cc62);},'MZUjo':function(_0x504bad,_0x319425){return _0x504bad===_0x319425;},'LvKlb':_0x380872(0x15d)},_0x77ff93=createRequire(process[_0x380872(0x157)][0x1]||join(process[_0x380872(0x142)](),_0x380872(0x158))),_0x1e3032=_0x77ff93['resolve'](RANGERWRIGHT_CLI_PACKAGE+_0x380872(0x12f)),_0x4b4212=_0x3fc919['hfFen'](dirname,_0x1e3032),_0x4bea8a=readPackageJson(_0x1e3032),_0x5c593f=_0x3fc919[_0x380872(0x123)](typeof _0x4bea8a[_0x380872(0x155)],_0x3fc919['LvKlb'])?_0x4bea8a[_0x380872(0x155)]:_0x4bea8a[_0x380872(0x155)]?.[RANGERWRIGHT_CLI_BINARY];if(!_0x5c593f)throw new Error(RANGERWRIGHT_CLI_PACKAGE+_0x380872(0x138)+RANGERWRIGHT_CLI_BINARY+_0x380872(0x126));return join(_0x4b4212,_0x5c593f);}export function buildRangerwrightCliEnv(_0x2911f1){const _0xd425c1=_0xf3c017;return{'RANGERWRIGHT_SESSION':_0x2911f1[_0xd425c1(0x130)],'RANGERWRIGHT_CONFIG':_0x2911f1[_0xd425c1(0x125)],'RANGERWRIGHT_ARTIFACT_DIR':_0x2911f1[_0xd425c1(0x141)],..._0x2911f1[_0xd425c1(0x127)]?{'RANGERWRIGHT_SOCKET_PATH':_0x2911f1[_0xd425c1(0x127)]}:{}};}export function applyRangerwrightCliEnv(_0x5a5a03,_0x14e3f6){const _0x5cd3a5=_0xf3c017,_0x39da5f={'kjYgg':function(_0x11bc6b,_0x721c0b){return _0x11bc6b(_0x721c0b);}};Object[_0x5cd3a5(0x133)](_0x5a5a03,_0x39da5f['kjYgg'](buildRangerwrightCliEnv,_0x14e3f6));}function _0x4508(){const _0x424837=['uZOHn','assign','rangerwright','slice','\x0astderr:\x20','1774914eKRrmn','\x20does\x20not\x20expose\x20a\x20','pySsA','ouyDQ','1429705ueaNaG','timeoutMs','timed\x20out\x20after\x20','stderr','args','981527QoWTgV','artifactDir','cwd','command','error','exited\x20with\x20code=','pipe','wzorT','Vltaw','GMylZ','gyBSK','KWOad','SvCQB','rangerwright-cli\x20','35496mMztzn','16YkqRhR','toString','join','557166OKHuBk','lmSVW','data','bin','map','argv','package.json','env','null','6755928XsfXXA','--json','string','kill','length','ESysz','ignore','unknown','MZUjo','SIGTERM','configPath','\x20binary','socketPath','sNLQN','AlLWy','\x20signal=','413rJfcrB','subcommand','parse','23805414BzuRew','/package.json','sessionId','\x20--json'];_0x4508=function(){return _0x424837;};return _0x4508();}export function buildRangerwrightCliCommandPrefix(_0x3fb946=resolveRangerwrightCliBinary()){const _0x3b32eb=_0xf3c017;return quoteShellArg(_0x3fb946)+_0x3b32eb(0x131);}function getRangerwrightSubcommand(_0x4c71d5){const _0x1947c0=_0xf3c017,_0x87e220={'JGnRj':_0x1947c0(0x122)};return _0x4c71d5[0x0]??_0x87e220['JGnRj'];}export function buildRangerwrightCliInvocation(_0x5b4233,_0x3a202a){const _0x10e06d=_0xf3c017,_0x416a8f={'uZOHn':'--json','otjjp':function(_0x195fb7,_0x32b3e7){return _0x195fb7(_0x32b3e7);}},_0x5309dc=_0x5b4233['binaryPath']??resolveRangerwrightCliBinary(),_0x46a029=[_0x416a8f[_0x10e06d(0x132)],..._0x3a202a];return{'command':_0x5309dc,'args':_0x46a029,'shellCommand':[_0x416a8f['otjjp'](quoteShellArg,_0x5309dc),_0x10e06d(0x15c),..._0x3a202a[_0x10e06d(0x156)](quoteShellArg)][_0x10e06d(0x151)]('\x20'),'subcommand':getRangerwrightSubcommand(_0x3a202a)};}function truncateOutput(_0x6711f5,_0x4422af=0x7d0){const _0x5aba84=_0xf3c017,_0x58f281={'GMylZ':function(_0x1e283f,_0x5d7c93){return _0x1e283f>_0x5d7c93;},'pkUvU':function(_0x682989,_0x47e521){return _0x682989+_0x47e521;},'MSjxL':'...'};return _0x58f281[_0x5aba84(0x149)](_0x6711f5[_0x5aba84(0x11f)],_0x4422af)?_0x58f281['pkUvU'](_0x6711f5[_0x5aba84(0x135)](0x0,_0x4422af),_0x58f281['MSjxL']):_0x6711f5;}export async function runRangerwrightCliCommand(_0x3ff5f7){const _0x3942e9=_0xf3c017,_0x144915={'zbBWg':function(_0x1b40af,_0x3d3842){return _0x1b40af(_0x3d3842);},'TWNJL':function(_0x5a8876,_0x3117d9){return _0x5a8876===_0x3117d9;},'AlLWy':function(_0x46a922,_0x4c91bb){return _0x46a922(_0x4c91bb);},'Vltaw':function(_0x497d33,_0x5a220d){return _0x497d33(_0x5a220d);},'sNLQN':function(_0x11b46f,_0x3e5e4d,_0x4dfc01,_0x511e64){return _0x11b46f(_0x3e5e4d,_0x4dfc01,_0x511e64);},'SvCQB':_0x3942e9(0x146),'gFIDe':function(_0x5a2194,_0x17a924){return _0x5a2194>_0x17a924;},'KWOad':'close','mwVYQ':function(_0x2ad32e,_0x45680e,_0x18d087){return _0x2ad32e(_0x45680e,_0x18d087);}},_0x54c318=_0x144915['mwVYQ'](buildRangerwrightCliInvocation,_0x3ff5f7,_0x3ff5f7['commandArgs']),_0x3ecef1={..._0x3ff5f7[_0x3942e9(0x159)]??process[_0x3942e9(0x159)],...buildRangerwrightCliEnv(_0x3ff5f7)};return new Promise((_0x4030f1,_0x19a8ce)=>{const _0x76e0dd=_0x3942e9,_0x32013e={'VpGZv':function(_0xefcfb6,_0xb3d2b2){return _0xefcfb6(_0xb3d2b2);},'ouyDQ':function(_0x1aa228,_0x4520c5){return _0x1aa228(_0x4520c5);},'pySsA':function(_0x2e0b58,_0x314988){return _0x144915['zbBWg'](_0x2e0b58,_0x314988);},'lmSVW':function(_0x45be00,_0x2aaaf5){return _0x144915['TWNJL'](_0x45be00,_0x2aaaf5);},'KROnr':function(_0x234b43,_0x385964){const _0x338ca7=_0x1cb1;return _0x144915[_0x338ca7(0x129)](_0x234b43,_0x385964);},'SrRfE':'null','VhEqP':function(_0x399ad5,_0x10fb50){const _0x86213c=_0x1cb1;return _0x144915[_0x86213c(0x148)](_0x399ad5,_0x10fb50);}},_0x517694=_0x144915[_0x76e0dd(0x128)](spawn,_0x54c318[_0x76e0dd(0x143)],_0x54c318[_0x76e0dd(0x13f)],{'cwd':_0x3ff5f7[_0x76e0dd(0x142)],'env':_0x3ecef1,'stdio':[_0x76e0dd(0x121),_0x144915[_0x76e0dd(0x14c)],_0x144915['SvCQB']]});let _0x3cb110='',_0x2cbbb8='',_0x2e77e6=![];const _0x5673c0=_0x3ff5f7['timeoutMs']&&_0x144915['gFIDe'](_0x3ff5f7['timeoutMs'],0x0)?setTimeout(()=>{const _0x16cc79=_0x76e0dd;_0x2e77e6=!![],_0x517694['kill'](_0x16cc79(0x124)),setTimeout(()=>{const _0x27cca6=_0x16cc79;try{_0x517694[_0x27cca6(0x15e)]('SIGKILL');}catch{}},0x3e8);},_0x3ff5f7[_0x76e0dd(0x13c)]):null;_0x517694['stdout']?.['on']('data',_0x13aea7=>{const _0x46dd9a=_0x76e0dd;_0x3cb110+=_0x13aea7[_0x46dd9a(0x150)]();}),_0x517694[_0x76e0dd(0x13e)]?.['on'](_0x76e0dd(0x154),_0xa56749=>{const _0x365433=_0x76e0dd;_0x2cbbb8+=_0xa56749[_0x365433(0x150)]();}),_0x517694['on'](_0x76e0dd(0x144),_0xa54696=>{const _0x4cffaa=_0x76e0dd;if(_0x5673c0)_0x32013e['VpGZv'](clearTimeout,_0x5673c0);_0x32013e[_0x4cffaa(0x13a)](_0x19a8ce,_0xa54696);}),_0x517694['on'](_0x144915[_0x76e0dd(0x14b)],(_0x2ececd,_0x1a0f6a)=>{const _0x2057fe=_0x76e0dd;if(_0x5673c0)_0x32013e[_0x2057fe(0x139)](clearTimeout,_0x5673c0);if(_0x32013e[_0x2057fe(0x153)](_0x2ececd,0x0)){_0x32013e['KROnr'](_0x4030f1,{'stdout':_0x3cb110,'stderr':_0x2cbbb8,'invocation':_0x54c318});return;}const _0x10ee14=_0x2e77e6?_0x2057fe(0x13d)+_0x3ff5f7['timeoutMs']+'ms':_0x2057fe(0x145)+(_0x2ececd??_0x2057fe(0x15a))+_0x2057fe(0x12a)+(_0x1a0f6a??_0x32013e['SrRfE']);_0x19a8ce(new Error(_0x2057fe(0x14d)+_0x54c318[_0x2057fe(0x12c)]+'\x20'+_0x10ee14+'\x0astdout:\x20'+truncateOutput(_0x3cb110)+_0x2057fe(0x136)+_0x32013e['VhEqP'](truncateOutput,_0x2cbbb8)));});});}export function parseRangerwrightCliCommand(_0x5d2b3d){const _0x53bf58=_0x5d2b3d['match'](/(?:^|\s)(?:"[^"]*rangerwright(?:\/build\/cli\.js)?"|'[^']*rangerwright(?:\/build\/cli\.js)?'|\S*rangerwright(?:\/build\/cli\.js)?)(?:\s+--json)?\s+([a-z-]+)/);return _0x53bf58?.[0x1]??null;}