@ranger-testing/ranger-cli 2.0.7 → 2.1.0

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 (62) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/setup/claude.js +1 -0
  25. package/build/commands/setup/opencode.js +1 -0
  26. package/build/commands/setupCi.js +1 -1
  27. package/build/commands/skillup.js +1 -1
  28. package/build/commands/start.js +1 -1
  29. package/build/commands/status.js +1 -1
  30. package/build/commands/update.js +1 -1
  31. package/build/commands/updateEnv.js +1 -1
  32. package/build/commands/useEnv.js +1 -1
  33. package/build/commands/utils/activeProfile.js +1 -1
  34. package/build/commands/utils/browserSessionsApi.js +1 -1
  35. package/build/commands/utils/claudeConfig.js +1 -1
  36. package/build/commands/utils/claudePlugin.js +1 -1
  37. package/build/commands/utils/crypto.js +1 -1
  38. package/build/commands/utils/desirePathLog.js +1 -1
  39. package/build/commands/utils/deviceAuth.js +1 -1
  40. package/build/commands/utils/environment.js +1 -1
  41. package/build/commands/utils/featureApi.js +1 -1
  42. package/build/commands/utils/featureReportGenerator.js +1 -1
  43. package/build/commands/utils/fixWebmDuration.js +1 -1
  44. package/build/commands/utils/git.js +1 -1
  45. package/build/commands/utils/keychain.js +1 -1
  46. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  47. package/build/commands/utils/opencodeConfig.js +1 -0
  48. package/build/commands/utils/profileMessages.js +1 -1
  49. package/build/commands/utils/profileSetupBanner.js +1 -1
  50. package/build/commands/utils/rangerRoot.js +1 -1
  51. package/build/commands/utils/reportGenerator.js +1 -1
  52. package/build/commands/utils/retry.js +1 -1
  53. package/build/commands/utils/sessionCache.js +1 -1
  54. package/build/commands/utils/settings.js +1 -1
  55. package/build/commands/utils/skillContent.js +1 -1
  56. package/build/commands/utils/skills.js +1 -1
  57. package/build/commands/utils/telemetry.js +1 -1
  58. package/build/commands/utils/userApi.js +1 -1
  59. package/build/commands/utils/version.js +1 -1
  60. package/build/commands/verifyFeature.js +1 -1
  61. package/build/commands/verifyInBrowser.js +1 -1
  62. package/package.json +1 -1
@@ -1 +1 @@
1
- const _0x577e25=_0x4731;(function(_0x26b20f,_0x3b0d61){const _0x54f64e=_0x4731,_0x3757b6=_0x26b20f();while(!![]){try{const _0x48c4fb=parseInt(_0x54f64e(0x1e0))/0x1+-parseInt(_0x54f64e(0x1cc))/0x2*(-parseInt(_0x54f64e(0x1ae))/0x3)+-parseInt(_0x54f64e(0x1d1))/0x4+parseInt(_0x54f64e(0x1bc))/0x5+parseInt(_0x54f64e(0x1dd))/0x6*(parseInt(_0x54f64e(0x1d7))/0x7)+parseInt(_0x54f64e(0x1df))/0x8+parseInt(_0x54f64e(0x1de))/0x9*(-parseInt(_0x54f64e(0x1c4))/0xa);if(_0x48c4fb===_0x3b0d61)break;else _0x3757b6['push'](_0x3757b6['shift']());}catch(_0x4e8e53){_0x3757b6['push'](_0x3757b6['shift']());}}}(_0x380d,0x90cd6));function _0x380d(){const _0x1504de=['OGYrk','nKudh','YRLOR','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','ByFZS','endsWith','hyCNI','JZTzs','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','gqBuS','850690CgaVnD','gxOmH','MiiEQ','sizeLen','length','error','fixWebmDuration.js','Could\x20not\x20compute\x20duration','10VZdyuU','pJPdS','concat','dataSize','FMbVB','pFQDo','GNPQf','min','128bzcyPd','fOehI','CLnCw','zrCXI','slice','4022872SwSndH','alloc','offset','from','log','IHRQU','7vaXEsG','fgfxF','IBXQX','WHqKz','idLen','xfCBP','4935366iBYhMO','2996982wKNWvw','2352432WgWWNM','70801MXXEyw','ImzPz','dataOffset','NLRwG','IbSyK','fLatK','tSVJk','APrcT','Fixed:\x20','fixWebmDuration.ts','DGINX','argv','pow','oOZji','LZWRH','GLmwH','HEfLz','26919fGwxGx','gviIs','fuRhd','USEvr'];_0x380d=function(){return _0x1504de;};return _0x380d();}import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x48b23c,_0x3b7751){const _0x150a0e=_0x4731,_0x3053b8={'SXGHn':function(_0x125a21,_0x380ed3){return _0x125a21>=_0x380ed3;},'ByFZS':function(_0x3b3f6,_0x1b41ed){return _0x3b3f6<=_0x1b41ed;},'hyCNI':function(_0x147fad,_0x4c8991){return _0x147fad>_0x4c8991;},'FMbVB':function(_0x16477b,_0x3e2222){return _0x16477b+_0x3e2222;},'rRGpH':function(_0x46cc8e,_0x5dd1c2){return _0x46cc8e&_0x5dd1c2;},'tSVJk':function(_0x4b7e19,_0x4b9b32){return _0x4b7e19<_0x4b9b32;},'BbFhw':function(_0x1f5b9a,_0x11b36f){return _0x1f5b9a+_0x11b36f;},'USEvr':function(_0xc6a37e,_0x2649dc){return _0xc6a37e*_0x2649dc;}};if(_0x3053b8['SXGHn'](_0x3b7751,_0x48b23c[_0x150a0e(0x1c0)]))return[0x0,0x0];const _0x3063a7=_0x48b23c[_0x3b7751];let _0x3417db=0x1,_0x33c269=0x80;while(_0x3053b8[_0x150a0e(0x1b6)](_0x3417db,0x8)&&!(_0x3063a7&_0x33c269)){_0x3417db++,_0x33c269>>=0x1;}if(_0x3053b8[_0x150a0e(0x1b8)](_0x3053b8[_0x150a0e(0x1c8)](_0x3b7751,_0x3417db),_0x48b23c['length']))return[0x0,0x0];let _0x36892c=_0x3053b8['rRGpH'](_0x3063a7,_0x33c269-0x1);for(let _0x3dcb93=0x1;_0x3053b8[_0x150a0e(0x1e6)](_0x3dcb93,_0x3417db);_0x3dcb93++){_0x36892c=_0x3053b8['BbFhw'](_0x3053b8[_0x150a0e(0x1b1)](_0x36892c,0x100),_0x48b23c[_0x3b7751+_0x3dcb93]);}return[_0x36892c,_0x3417db];}function readId(_0x2fe53e,_0x428282){const _0x2e3e71={'jEVKl':function(_0x4973b3,_0x2dba7c){return _0x4973b3>=_0x2dba7c;},'RwPMZ':function(_0x37302e,_0x287945){return _0x37302e>_0x287945;},'DHXbu':function(_0x19edf7,_0x24d53c){return _0x19edf7+_0x24d53c;},'etvkz':function(_0x7aaf64,_0x4ed27a){return _0x7aaf64+_0x4ed27a;}};if(_0x428282>=_0x2fe53e['length'])return[0x0,0x0];const _0x593096=_0x2fe53e[_0x428282];let _0x16595d;if(_0x593096>=0x80)_0x16595d=0x1;else{if(_0x2e3e71['jEVKl'](_0x593096,0x40))_0x16595d=0x2;else{if(_0x593096>=0x20)_0x16595d=0x3;else{if(_0x593096>=0x10)_0x16595d=0x4;else return[_0x593096,0x1];}}}if(_0x2e3e71['RwPMZ'](_0x428282+_0x16595d,_0x2fe53e['length']))return[0x0,0x0];let _0x1a7576=0x0;for(let _0x1579eb=0x0;_0x1579eb<_0x16595d;_0x1579eb++){_0x1a7576=_0x2e3e71['DHXbu'](_0x1a7576*0x100,_0x2fe53e[_0x2e3e71['etvkz'](_0x428282,_0x1579eb)]);}return[_0x1a7576,_0x16595d];}function readUint(_0x569a2c,_0x36f3af,_0x3ee189){const _0x30e62e={'oNWPL':function(_0x309291,_0x25f32c){return _0x309291+_0x25f32c;}};let _0x36c1ba=0x0;for(let _0x3e93dc=0x0;_0x3e93dc<_0x3ee189;_0x3e93dc++){_0x36c1ba=_0x30e62e['oNWPL'](_0x36c1ba*0x100,_0x569a2c[_0x36f3af+_0x3e93dc]);}return _0x36c1ba;}function isUnknownSize(_0x365ccf,_0x219176){const _0x25e7a2=_0x4731;return _0x365ccf===Math[_0x25e7a2(0x1a9)](0x2,0x7*_0x219176)-0x1;}function writeId(_0x254e62){const _0x57ac81=_0x4731,_0x31397c={'fOehI':function(_0x428c43,_0x4488b6){return _0x428c43<=_0x4488b6;},'Lwjam':function(_0x196255,_0x29c355){return _0x196255&_0x29c355;},'fPafP':function(_0x497497,_0x4a3825){return _0x497497>>_0x4a3825;},'FcyEb':function(_0x16c915,_0x4cf4a2){return _0x16c915&_0x4cf4a2;},'HEfLz':function(_0x59c480,_0x5c4b2f){return _0x59c480>>_0x5c4b2f;},'LjtRY':function(_0x258f03,_0x1626de){return _0x258f03&_0x1626de;},'CPPIE':function(_0x26e24c,_0x1d8c9a){return _0x26e24c&_0x1d8c9a;},'fgfxF':function(_0x11e648,_0x332867){return _0x11e648>>_0x332867;}};if(_0x254e62<=0xff)return Buffer['from']([_0x254e62]);if(_0x31397c[_0x57ac81(0x1cd)](_0x254e62,0xffff))return Buffer[_0x57ac81(0x1d4)]([_0x31397c['Lwjam'](_0x31397c['fPafP'](_0x254e62,0x8),0xff),_0x31397c['Lwjam'](_0x254e62,0xff)]);if(_0x254e62<=0xffffff)return Buffer[_0x57ac81(0x1d4)]([_0x31397c['FcyEb'](_0x254e62>>0x10,0xff),_0x31397c[_0x57ac81(0x1ad)](_0x254e62,0x8)&0xff,_0x31397c['LjtRY'](_0x254e62,0xff)]);return Buffer['from']([_0x31397c['FcyEb'](_0x254e62>>0x18,0xff),_0x31397c['CPPIE'](_0x31397c['fPafP'](_0x254e62,0x10),0xff),_0x31397c[_0x57ac81(0x1d8)](_0x254e62,0x8)&0xff,_0x254e62&0xff]);}function writeVint(_0x33a172,_0x3eb430){const _0x50118e=_0x4731,_0x47ba23={'oOZji':function(_0x3885b1,_0x4cd608){return _0x3885b1||_0x4cd608;},'soaXS':function(_0x1461de,_0x262a93){return _0x1461de<_0x262a93;},'ImzPz':function(_0x4af130,_0x1b6d72){return _0x4af130>=_0x1b6d72;},'svyMc':function(_0x45f6e9,_0x14b253){return _0x45f6e9<<_0x14b253;}};let _0x59fa19=_0x47ba23[_0x50118e(0x1aa)](_0x3eb430,0x1);while(_0x47ba23['soaXS'](Math[_0x50118e(0x1a9)](0x2,0x7*_0x59fa19)-0x2,_0x33a172))_0x59fa19++;const _0x585be7=Buffer['alloc'](_0x59fa19);for(let _0x49e11f=_0x59fa19-0x1;_0x47ba23[_0x50118e(0x1e1)](_0x49e11f,0x0);_0x49e11f--){_0x585be7[_0x49e11f]=_0x33a172&0xff,_0x33a172=Math['floor'](_0x33a172/0x100);}return _0x585be7[0x0]|=_0x47ba23['svyMc'](0x1,0x8-_0x59fa19),_0x585be7;}function writeFloat64(_0x539389){const _0x42927d=Buffer['alloc'](0x8);return _0x42927d['writeDoubleBE'](_0x539389,0x0),_0x42927d;}function writeVoid(_0x3d026b){const _0x5d6ef0=_0x4731,_0x12be24={'fLatK':function(_0x9b7d22,_0x42d014){return _0x9b7d22-_0x42d014;},'pJPdS':function(_0x3c582c,_0x36a23f,_0x3d6546){return _0x3c582c(_0x36a23f,_0x3d6546);}};for(let _0x3eff04=0x1;_0x3eff04<=0x8;_0x3eff04++){const _0x3aea82=_0x12be24[_0x5d6ef0(0x1e5)](_0x3d026b-0x1,_0x3eff04);if(_0x3aea82>=0x0&&_0x3aea82<=Math['pow'](0x2,0x7*_0x3eff04)-0x2)return Buffer['concat']([Buffer[_0x5d6ef0(0x1d4)]([ID_VOID]),_0x12be24[_0x5d6ef0(0x1c5)](writeVint,_0x3aea82,_0x3eff04),Buffer['alloc'](_0x3aea82)]);}return Buffer[_0x5d6ef0(0x1d2)](0x0);}function findElement(_0x4313f9,_0x2ae040,_0x1f7989,_0x31fef8){const _0x40d8e5=_0x4731,_0xa0015e={'UFajy':function(_0x295f23,_0x1f7de0){return _0x295f23<_0x1f7de0;},'IbSyK':function(_0x366c87,_0x3cb063,_0x557535){return _0x366c87(_0x3cb063,_0x557535);},'AoaUN':function(_0x4cbcb7,_0x33bad6,_0x4997f8){return _0x4cbcb7(_0x33bad6,_0x4997f8);},'lYwvT':function(_0x42106b,_0x2c013e){return _0x42106b===_0x2c013e;}};let _0x343ddd=_0x2ae040;while(_0xa0015e['UFajy'](_0x343ddd,_0x1f7989)){const [_0x11b772,_0x48b2bc]=_0xa0015e[_0x40d8e5(0x1e4)](readId,_0x4313f9,_0x343ddd),[_0x489928,_0x2149ff]=_0xa0015e['AoaUN'](readVint,_0x4313f9,_0x343ddd+_0x48b2bc);if(_0xa0015e['lYwvT'](_0x11b772,_0x31fef8))return{'offset':_0x343ddd,'idLen':_0x48b2bc,'sizeLen':_0x2149ff,'dataSize':_0x489928,'dataOffset':_0x343ddd+_0x48b2bc+_0x2149ff};if(_0xa0015e['IbSyK'](isUnknownSize,_0x489928,_0x2149ff))break;_0x343ddd+=_0x48b2bc+_0x2149ff+_0x489928;}return null;}function computeDurationMs(_0x3530d9,_0x4f7305){const _0x1992d9=_0x4731,_0x570209={'iteva':function(_0x1ec429,_0x2c6870){return _0x1ec429<_0x2c6870;},'xfCBP':function(_0x38036c,_0x34a1c7){return _0x38036c!==_0x34a1c7;},'DGINX':function(_0x4593e8,_0x333a0f){return _0x4593e8+_0x333a0f;},'awBMo':function(_0x29a4de,_0x58d749){return _0x29a4de-_0x58d749;},'gxOmH':function(_0xd8e32c,_0x128333){return _0xd8e32c===_0x128333;},'NLRwG':function(_0x4b0dd7,_0x4e7b6c){return _0x4b0dd7+_0x4e7b6c;},'OUlpp':function(_0x155150,_0x89db5b,_0x4f5d44){return _0x155150(_0x89db5b,_0x4f5d44);},'fuRhd':function(_0x44202c,_0x4e871e){return _0x44202c+_0x4e871e;},'QVzRg':function(_0x20ce10,_0x5bab59,_0x5bbc06,_0x1b28ea){return _0x20ce10(_0x5bab59,_0x5bbc06,_0x1b28ea);},'aeBbP':function(_0x5994ab,_0x3a45cc){return _0x5994ab/_0x3a45cc;},'JZTzs':function(_0x38ae67,_0x1bbbce){return _0x38ae67*_0x1bbbce;},'IHRQU':function(_0x37c39f,_0x3d9746){return _0x37c39f+_0x3d9746;},'Lbyfg':function(_0x8abbe,_0x3d44e1){return _0x8abbe+_0x3d44e1;},'IBXQX':function(_0x329e8d,_0xb37d39){return _0x329e8d+_0xb37d39;}};let _0x3575fb=0x0;const _0x177000=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x4a8210=_0x3530d9['indexOf'](_0x177000);if(_0x4a8210===-0x1)return 0x0;while(_0x570209['iteva'](_0x4a8210,_0x3530d9[_0x1992d9(0x1c0)])){const [_0x1171e9,_0x4bd294]=readId(_0x3530d9,_0x4a8210);if(_0x570209[_0x1992d9(0x1dc)](_0x1171e9,ID_CLUSTER))break;const [_0x3ff8be,_0x23e120]=readVint(_0x3530d9,_0x4a8210+_0x4bd294),_0x23c782=_0x570209[_0x1992d9(0x1ea)](_0x4a8210+_0x4bd294,_0x23e120),_0x2fa12b=isUnknownSize(_0x3ff8be,_0x23e120);let _0x1ab364;if(_0x2fa12b){let _0x5bba75=_0x23c782;while(_0x5bba75<_0x570209['awBMo'](_0x3530d9['length'],0x4)){const [_0xde8f91,_0x24b1c7]=readId(_0x3530d9,_0x5bba75);if(_0x570209[_0x1992d9(0x1bd)](_0xde8f91,ID_CLUSTER)){_0x1ab364=_0x5bba75;break;}const [_0x1cd505,_0xb842cd]=readVint(_0x3530d9,_0x5bba75+_0x24b1c7);if(isUnknownSize(_0x1cd505,_0xb842cd)){_0x1ab364=_0x3530d9['length'];break;}_0x5bba75+=_0x570209[_0x1992d9(0x1e3)](_0x24b1c7,_0xb842cd)+_0x1cd505;}_0x1ab364??=_0x3530d9['length'];}else _0x1ab364=_0x23c782+_0x3ff8be;let _0x4f0dc0=0x0,_0x272320=_0x23c782;while(_0x570209['iteva'](_0x272320,_0x1ab364)){const [_0x276b69,_0x2ce3b8]=_0x570209['OUlpp'](readId,_0x3530d9,_0x272320),[_0x57c0c9,_0x215e38]=_0x570209['OUlpp'](readVint,_0x3530d9,_0x570209[_0x1992d9(0x1b0)](_0x272320,_0x2ce3b8));if(_0x276b69===ID_TIMESTAMP)_0x4f0dc0=_0x570209['QVzRg'](readUint,_0x3530d9,_0x570209['DGINX'](_0x272320,_0x2ce3b8)+_0x215e38,_0x57c0c9);else{if(_0x276b69===ID_SIMPLE_BLOCK&&_0x57c0c9>=0x4){const _0x1b241d=_0x570209[_0x1992d9(0x1ea)](_0x272320,_0x2ce3b8)+_0x215e38,[,_0x4dbc1d]=_0x570209['OUlpp'](readVint,_0x3530d9,_0x1b241d),_0x14aaa6=_0x3530d9['readInt16BE'](_0x1b241d+_0x4dbc1d),_0x32e590=_0x570209['aeBbP'](_0x570209[_0x1992d9(0x1b9)](_0x570209[_0x1992d9(0x1d6)](_0x4f0dc0,_0x14aaa6),_0x4f7305),0xf4240);_0x32e590>_0x3575fb&&(_0x3575fb=_0x32e590);}else{if(_0x276b69===ID_CLUSTER)break;}}if(isUnknownSize(_0x57c0c9,_0x215e38))break;_0x272320+=_0x570209['Lbyfg'](_0x570209[_0x1992d9(0x1d9)](_0x2ce3b8,_0x215e38),_0x57c0c9);}_0x4a8210=_0x1ab364;}return _0x3575fb;}export function fixWebmDuration(_0x3e9c63,_0xfc2e2){const _0x3a2256=_0x4731,_0x3d69a7={'IYgzE':function(_0x514ec8,_0x238b31){return _0x514ec8(_0x238b31);},'zrCXI':function(_0x382639,_0xa63397){return _0x382639+_0xa63397;},'GNPQf':function(_0x3afc8e,_0x49f953){return _0x3afc8e!==_0x49f953;},'gqBuS':function(_0x5b92ab,_0x50a41b,_0x9916f){return _0x5b92ab(_0x50a41b,_0x9916f);},'AoJxq':function(_0x3fc18d,_0xcfe5b5){return _0x3fc18d+_0xcfe5b5;},'pFQDo':function(_0x252b18,_0x612ff5){return _0x252b18+_0x612ff5;},'nKudh':function(_0x24d398,_0x372052){return _0x24d398===_0x372052;},'MiiEQ':function(_0x519d26,_0xa98c73){return _0x519d26===_0xa98c73;},'CLnCw':function(_0x500e79,_0x178b4f){return _0x500e79+_0x178b4f;},'GLmwH':function(_0x4503d4,_0x2a7d5){return _0x4503d4===_0x2a7d5;},'uuzQO':'Could\x20not\x20find\x20Info\x20element','PnHFL':function(_0x5ade47,_0x5bfbe7,_0x36ca94,_0x247a4b,_0x367bfe){return _0x5ade47(_0x5bfbe7,_0x36ca94,_0x247a4b,_0x367bfe);},'LZWRH':function(_0x13e703,_0x34ea65){return _0x13e703<=_0x34ea65;},'dhvDe':_0x3a2256(0x1c3),'bhVRv':function(_0x2560eb,_0x21876c){return _0x2560eb/_0x21876c;},'YRLOR':function(_0x2c66fc,_0x690752){return _0x2c66fc(_0x690752);},'APrcT':function(_0x34161d,_0x14c0f2){return _0x34161d-_0x14c0f2;},'WHqKz':function(_0x188af0,_0x3d5efe){return _0x188af0<_0x3d5efe;},'tNsaG':function(_0x5bab77,_0x2584b1,_0x210eec,_0x1b0099,_0x219bda,_0x4fdbc7,_0x27cf83){return _0x5bab77(_0x2584b1,_0x210eec,_0x1b0099,_0x219bda,_0x4fdbc7,_0x27cf83);},'OGYrk':function(_0x50cbba,_0x47e4e7,_0x38c797){return _0x50cbba(_0x47e4e7,_0x38c797);},'gviIs':function(_0x4641cc,_0x1d1804){return _0x4641cc(_0x1d1804);},'hxFux':function(_0x31cc68,_0x3eb4ae,_0x4018cb){return _0x31cc68(_0x3eb4ae,_0x4018cb);}},_0x5b3503=_0x3d69a7['IYgzE'](readFileSync,_0x3e9c63);let _0x3063b8=0x0;const [_0x5ba079,_0x213992]=readId(_0x5b3503,_0x3063b8),[_0x5a5fa3,_0x4bc490]=readVint(_0x5b3503,_0x3d69a7[_0x3a2256(0x1cf)](_0x3063b8,_0x213992));_0x3063b8+=_0x213992+_0x4bc490+_0x5a5fa3;const [_0x534c31,_0x2dfab8]=readId(_0x5b3503,_0x3063b8);if(_0x3d69a7[_0x3a2256(0x1ca)](_0x534c31,ID_SEGMENT))return console[_0x3a2256(0x1c1)](_0x3a2256(0x1ba)),![];const [,_0x44ba10]=_0x3d69a7['gqBuS'](readVint,_0x5b3503,_0x3063b8+_0x2dfab8),_0x490604=_0x3d69a7['AoJxq'](_0x3d69a7['zrCXI'](_0x3063b8,_0x2dfab8),_0x44ba10);let _0x300bdb=_0x490604;const _0xde6137=Math[_0x3a2256(0x1cb)](_0x5b3503[_0x3a2256(0x1c0)],_0x3d69a7[_0x3a2256(0x1c9)](_0x490604,0x2710));let _0x407023=null,_0x241887=null;while(_0x300bdb<_0xde6137){const [_0x4857dd,_0x7a482]=readId(_0x5b3503,_0x300bdb),[_0x318209,_0x304ce2]=readVint(_0x5b3503,_0x300bdb+_0x7a482);_0x3d69a7[_0x3a2256(0x1b3)](_0x4857dd,ID_VOID)&&!_0x407023&&(_0x407023={'offset':_0x300bdb,'idLen':_0x7a482,'sizeLen':_0x304ce2,'dataSize':_0x318209,'dataOffset':_0x3d69a7['pFQDo'](_0x300bdb+_0x7a482,_0x304ce2)});if(_0x3d69a7[_0x3a2256(0x1be)](_0x4857dd,ID_INFO)){_0x241887={'offset':_0x300bdb,'idLen':_0x7a482,'sizeLen':_0x304ce2,'dataSize':_0x318209,'dataOffset':_0x3d69a7[_0x3a2256(0x1ce)](_0x300bdb,_0x7a482)+_0x304ce2};break;}if(_0x3d69a7[_0x3a2256(0x1ac)](_0x4857dd,ID_CLUSTER))break;if(_0x3d69a7[_0x3a2256(0x1bb)](isUnknownSize,_0x318209,_0x304ce2))break;_0x300bdb+=_0x3d69a7['CLnCw'](_0x7a482,_0x304ce2)+_0x318209;}if(!_0x241887)return console['error'](_0x3d69a7['uuzQO']),![];const _0x252220=_0x3d69a7['PnHFL'](findElement,_0x5b3503,_0x241887['dataOffset'],_0x241887['dataOffset']+_0x241887[_0x3a2256(0x1c7)],ID_DURATION);if(_0x252220)return![];const _0x15ec35=findElement(_0x5b3503,_0x241887[_0x3a2256(0x1e2)],_0x241887['dataOffset']+_0x241887['dataSize'],ID_TIMESTAMP_SCALE);let _0x2f3449=0xf4240;_0x15ec35&&(_0x2f3449=readUint(_0x5b3503,_0x15ec35[_0x3a2256(0x1e2)],_0x15ec35[_0x3a2256(0x1c7)]));const _0x4b2003=computeDurationMs(_0x5b3503,_0x2f3449);if(_0x3d69a7[_0x3a2256(0x1ab)](_0x4b2003,0x0))return console['error'](_0x3d69a7['dhvDe']),![];const _0xb216be=_0x3d69a7['bhVRv'](_0x4b2003*0xf4240,_0x2f3449),_0x3de4a3=Buffer['concat']([writeId(ID_DURATION),writeVint(0x8),_0x3d69a7[_0x3a2256(0x1b4)](writeFloat64,_0xb216be)]),_0x16cb52=_0x3de4a3[_0x3a2256(0x1c0)];if(!_0x407023||_0x407023['offset']<_0x241887['offset']){if(_0x407023){const _0x11efd7=_0x407023[_0x3a2256(0x1db)]+_0x407023[_0x3a2256(0x1bf)]+_0x407023['dataSize'],_0x3cc65e=_0x3d69a7[_0x3a2256(0x1e7)](_0x11efd7,_0x16cb52);if(_0x3d69a7[_0x3a2256(0x1da)](_0x3cc65e,0x2))return _0x3d69a7['tNsaG'](rewriteFile,_0x5b3503,_0x241887,_0x3de4a3,_0x2f3449,_0x4b2003,_0xfc2e2);const _0x4ddf1d=_0x3d69a7[_0x3a2256(0x1cf)](_0x241887[_0x3a2256(0x1c7)],_0x16cb52),_0x4fe651=Buffer['concat']([writeId(ID_INFO),_0x3d69a7[_0x3a2256(0x1b2)](writeVint,_0x4ddf1d,_0x241887[_0x3a2256(0x1bf)])]),_0x3ba57e=_0x5b3503['slice'](_0x241887[_0x3a2256(0x1e2)],_0x241887[_0x3a2256(0x1e2)]+_0x241887['dataSize']),_0x31feb6=_0x3d69a7[_0x3a2256(0x1af)](writeVoid,_0x3cc65e),_0x5162e8=_0x5b3503[_0x3a2256(0x1d0)](0x0,_0x407023['offset']),_0x19d4f1=_0x5b3503[_0x3a2256(0x1d0)](_0x241887[_0x3a2256(0x1e2)]+_0x241887[_0x3a2256(0x1c7)]);return _0x3d69a7['hxFux'](writeFileSync,_0xfc2e2,Buffer[_0x3a2256(0x1c6)]([_0x5162e8,_0x31feb6,_0x4fe651,_0x3ba57e,_0x3de4a3,_0x19d4f1])),!![];}}return _0x3d69a7['tNsaG'](rewriteFile,_0x5b3503,_0x241887,_0x3de4a3,_0x2f3449,_0x4b2003,_0xfc2e2);}function _0x4731(_0x1ce77a,_0x2164df){_0x1ce77a=_0x1ce77a-0x1a9;const _0x380dd8=_0x380d();let _0x47316c=_0x380dd8[_0x1ce77a];return _0x47316c;}function rewriteFile(_0x4341be,_0x222a6c,_0x26ad4d,_0x314f07,_0x172393,_0x22c381){const _0x56a8ad=_0x4731,_0x7e0ed4={'kQEIL':function(_0x357695,_0x42eb91){return _0x357695+_0x42eb91;},'uuAeR':function(_0x341b98,_0x5de1d6){return _0x341b98+_0x5de1d6;}},_0x7ab1de=_0x7e0ed4['kQEIL'](_0x222a6c[_0x56a8ad(0x1c7)],_0x26ad4d[_0x56a8ad(0x1c0)]),_0x3cd49b=Buffer['concat']([writeId(ID_INFO),writeVint(_0x7ab1de)]),_0xa1bbc8=_0x222a6c['idLen']+_0x222a6c['sizeLen'],_0x519ba5=_0x4341be['slice'](0x0,_0x222a6c[_0x56a8ad(0x1d3)]),_0x502365=_0x4341be['slice'](_0x222a6c[_0x56a8ad(0x1e2)],_0x7e0ed4['kQEIL'](_0x222a6c['dataOffset'],_0x222a6c['dataSize'])),_0x161b2f=_0x4341be['slice'](_0x7e0ed4['uuAeR'](_0x222a6c[_0x56a8ad(0x1d3)]+_0xa1bbc8,_0x222a6c[_0x56a8ad(0x1c7)]));return writeFileSync(_0x22c381,Buffer[_0x56a8ad(0x1c6)]([_0x519ba5,_0x3cd49b,_0x502365,_0x26ad4d,_0x161b2f])),!![];}if(process[_0x577e25(0x1eb)][0x1]?.[_0x577e25(0x1b7)](_0x577e25(0x1e9))||process['argv'][0x1]?.[_0x577e25(0x1b7)](_0x577e25(0x1c2))){const input=process[_0x577e25(0x1eb)][0x2],output=process[_0x577e25(0x1eb)][0x3];(!input||!output)&&(console[_0x577e25(0x1c1)](_0x577e25(0x1b5)),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x577e25(0x1d5)](_0x577e25(0x1e8)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x174867=_0x56e3;(function(_0x3f70a6,_0x2620e1){const _0x4788df=_0x56e3,_0x388197=_0x3f70a6();while(!![]){try{const _0x33bd96=-parseInt(_0x4788df(0x162))/0x1+parseInt(_0x4788df(0x16d))/0x2+-parseInt(_0x4788df(0x13b))/0x3+-parseInt(_0x4788df(0x140))/0x4+-parseInt(_0x4788df(0x15f))/0x5*(parseInt(_0x4788df(0x158))/0x6)+-parseInt(_0x4788df(0x148))/0x7+-parseInt(_0x4788df(0x16a))/0x8*(-parseInt(_0x4788df(0x141))/0x9);if(_0x33bd96===_0x2620e1)break;else _0x388197['push'](_0x388197['shift']());}catch(_0x4b972c){_0x388197['push'](_0x388197['shift']());}}}(_0x49b2,0x7d869));import{readFileSync,writeFileSync}from'fs';const ID_SEGMENT=0x18538067,ID_INFO=0x1549a966,ID_TIMESTAMP_SCALE=0x2ad7b1,ID_DURATION=0x4489,ID_VOID=0xec,ID_CLUSTER=0x1f43b675,ID_TIMESTAMP=0xe7,ID_SIMPLE_BLOCK=0xa3;function readVint(_0x1a6a07,_0x319f47){const _0x13017e=_0x56e3,_0x88f931={'rKtDn':function(_0x57eb75,_0x28cac2){return _0x57eb75<=_0x28cac2;},'xRfzj':function(_0xe78d59,_0x2f1d2f){return _0xe78d59>_0x2f1d2f;},'UjAGY':function(_0x41aa4b,_0x4213af){return _0x41aa4b+_0x4213af;},'dkZOf':function(_0x52e5fc,_0x51e5cb){return _0x52e5fc&_0x51e5cb;},'FDCaR':function(_0x50a740,_0xa51d31){return _0x50a740-_0xa51d31;},'LrWbV':function(_0x2057a9,_0x2da48c){return _0x2057a9<_0x2da48c;},'YvvSJ':function(_0x2e6596,_0x22aea1){return _0x2e6596+_0x22aea1;}};if(_0x319f47>=_0x1a6a07[_0x13017e(0x154)])return[0x0,0x0];const _0x452b10=_0x1a6a07[_0x319f47];let _0xdfcf4e=0x1,_0x500d0c=0x80;while(_0x88f931['rKtDn'](_0xdfcf4e,0x8)&&!(_0x452b10&_0x500d0c)){_0xdfcf4e++,_0x500d0c>>=0x1;}if(_0x88f931['xRfzj'](_0x88f931['UjAGY'](_0x319f47,_0xdfcf4e),_0x1a6a07[_0x13017e(0x154)]))return[0x0,0x0];let _0x2e6593=_0x88f931[_0x13017e(0x139)](_0x452b10,_0x88f931['FDCaR'](_0x500d0c,0x1));for(let _0x220bc3=0x1;_0x88f931[_0x13017e(0x133)](_0x220bc3,_0xdfcf4e);_0x220bc3++){_0x2e6593=_0x2e6593*0x100+_0x1a6a07[_0x88f931['YvvSJ'](_0x319f47,_0x220bc3)];}return[_0x2e6593,_0xdfcf4e];}function readId(_0xd925ae,_0x18f3ef){const _0x2251f9=_0x56e3,_0x15a0ce={'MhgeQ':function(_0x2a0b58,_0xdb6068){return _0x2a0b58>=_0xdb6068;},'jQiJE':function(_0x16fab2,_0x32e9c8){return _0x16fab2+_0x32e9c8;},'iaFkW':function(_0x2a1f9a,_0x174c31){return _0x2a1f9a+_0x174c31;}};if(_0x15a0ce[_0x2251f9(0x137)](_0x18f3ef,_0xd925ae['length']))return[0x0,0x0];const _0x324c65=_0xd925ae[_0x18f3ef];let _0x919bcc;if(_0x15a0ce['MhgeQ'](_0x324c65,0x80))_0x919bcc=0x1;else{if(_0x15a0ce['MhgeQ'](_0x324c65,0x40))_0x919bcc=0x2;else{if(_0x324c65>=0x20)_0x919bcc=0x3;else{if(_0x324c65>=0x10)_0x919bcc=0x4;else return[_0x324c65,0x1];}}}if(_0x18f3ef+_0x919bcc>_0xd925ae[_0x2251f9(0x154)])return[0x0,0x0];let _0x1f12d2=0x0;for(let _0x4c3171=0x0;_0x4c3171<_0x919bcc;_0x4c3171++){_0x1f12d2=_0x15a0ce['jQiJE'](_0x1f12d2*0x100,_0xd925ae[_0x15a0ce['iaFkW'](_0x18f3ef,_0x4c3171)]);}return[_0x1f12d2,_0x919bcc];}function readUint(_0x50e07b,_0x12ee17,_0x40561d){const _0x465c40=_0x56e3,_0x5084af={'GeylA':function(_0x1c7b58,_0x5aa22a){return _0x1c7b58<_0x5aa22a;},'FvxOg':function(_0x582956,_0x3c7f74){return _0x582956+_0x3c7f74;}};let _0x54c910=0x0;for(let _0x45ae2b=0x0;_0x5084af['GeylA'](_0x45ae2b,_0x40561d);_0x45ae2b++){_0x54c910=_0x5084af['FvxOg'](_0x54c910*0x100,_0x50e07b[_0x5084af[_0x465c40(0x13f)](_0x12ee17,_0x45ae2b)]);}return _0x54c910;}function _0x56e3(_0x4de9a0,_0x570f3c){_0x4de9a0=_0x4de9a0-0x12a;const _0x49b2f0=_0x49b2();let _0x56e33f=_0x49b2f0[_0x4de9a0];return _0x56e33f;}function isUnknownSize(_0x193e0e,_0x327720){const _0x2413cf=_0x56e3,_0x3426bc={'sIVFF':function(_0x3ebe87,_0x18f70c){return _0x3ebe87===_0x18f70c;},'xXLPA':function(_0x1fe134,_0xb1ebe0){return _0x1fe134-_0xb1ebe0;},'VyYTk':function(_0x29bed4,_0x5672a6){return _0x29bed4*_0x5672a6;}};return _0x3426bc[_0x2413cf(0x161)](_0x193e0e,_0x3426bc['xXLPA'](Math[_0x2413cf(0x12b)](0x2,_0x3426bc[_0x2413cf(0x15c)](0x7,_0x327720)),0x1));}function writeId(_0x33f2e7){const _0x54d6ea=_0x56e3,_0x554955={'iWzte':function(_0x6261cd,_0x954c99){return _0x6261cd<=_0x954c99;},'hwtcy':function(_0x101f64,_0x41d150){return _0x101f64&_0x41d150;},'ZVKfg':function(_0x6c0ce9,_0x47cc29){return _0x6c0ce9&_0x47cc29;},'MSZVa':function(_0x567d34,_0x12e900){return _0x567d34&_0x12e900;}};if(_0x33f2e7<=0xff)return Buffer['from']([_0x33f2e7]);if(_0x554955[_0x54d6ea(0x16e)](_0x33f2e7,0xffff))return Buffer['from']([_0x33f2e7>>0x8&0xff,_0x554955['hwtcy'](_0x33f2e7,0xff)]);if(_0x33f2e7<=0xffffff)return Buffer['from']([_0x33f2e7>>0x10&0xff,_0x554955['hwtcy'](_0x33f2e7>>0x8,0xff),_0x554955['ZVKfg'](_0x33f2e7,0xff)]);return Buffer['from']([_0x554955['MSZVa'](_0x33f2e7>>0x18,0xff),_0x33f2e7>>0x10&0xff,_0x33f2e7>>0x8&0xff,_0x33f2e7&0xff]);}function writeVint(_0x189020,_0x3bbdde){const _0x1a8257=_0x56e3,_0x128d56={'GQOWP':function(_0x5257c0,_0xd0a046){return _0x5257c0||_0xd0a046;},'DNrSL':function(_0x3f7e71,_0x56b8f7){return _0x3f7e71-_0x56b8f7;},'npwhp':function(_0x3b625a,_0x2f7d08){return _0x3b625a*_0x2f7d08;},'kDoBF':function(_0x36e7ad,_0x3fb02c){return _0x36e7ad-_0x3fb02c;},'bWafg':function(_0x1fa6b3,_0x3519d8){return _0x1fa6b3&_0x3519d8;},'lksMW':function(_0x70e712,_0x154dd9){return _0x70e712/_0x154dd9;},'nCEjL':function(_0x25e2ad,_0x29459e){return _0x25e2ad<<_0x29459e;}};let _0x411309=_0x128d56['GQOWP'](_0x3bbdde,0x1);while(_0x128d56['DNrSL'](Math[_0x1a8257(0x12b)](0x2,_0x128d56[_0x1a8257(0x16b)](0x7,_0x411309)),0x2)<_0x189020)_0x411309++;const _0x4e7b87=Buffer['alloc'](_0x411309);for(let _0x2c5b93=_0x128d56['kDoBF'](_0x411309,0x1);_0x2c5b93>=0x0;_0x2c5b93--){_0x4e7b87[_0x2c5b93]=_0x128d56['bWafg'](_0x189020,0xff),_0x189020=Math[_0x1a8257(0x166)](_0x128d56['lksMW'](_0x189020,0x100));}return _0x4e7b87[0x0]|=_0x128d56[_0x1a8257(0x130)](0x1,0x8-_0x411309),_0x4e7b87;}function writeFloat64(_0x144ce2){const _0x4ae396=_0x56e3,_0x1b6646=Buffer[_0x4ae396(0x131)](0x8);return _0x1b6646[_0x4ae396(0x156)](_0x144ce2,0x0),_0x1b6646;}function _0x49b2(){const _0x5b0b9f=['concat','pow','sizeLen','nyxOC','fSoiS','dZnWr','nCEjL','alloc','ZvbtX','LrWbV','NdDqd','nWixQ','aMVer','MhgeQ','Could\x20not\x20compute\x20duration','dkZOf','MejSF','3069207MiCNWy','zPAho','JdsZd','oOVKz','FvxOg','885480MePvcu','3997683JRDdBs','exit','dataOffset','Gmxcd','readInt16BE','hhLpN','VEznt','2542141eGADEM','endsWith','RAxpS','KxKor','log','indexOf','RNNLV','slice','Fixed:\x20','SPQhj','kYUBj','hnaie','length','UbjNo','writeDoubleBE','offset','1121154IKaZKq','iLdhu','error','liQvi','VyYTk','GtQLU','Could\x20not\x20find\x20Info\x20element','15OHrJvU','from','sIVFF','503283pGRqFi','argv','dataSize','meWHI','floor','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','BxvqC','MlLCC','56gRgeJJ','npwhp','ZYbLX','152612jUbJsB','iWzte','bPbhw'];_0x49b2=function(){return _0x5b0b9f;};return _0x49b2();}function writeVoid(_0x84b5a5){const _0x4afc7e=_0x56e3,_0x89d02a={'oRmOY':function(_0x106d26,_0xf5108a){return _0x106d26-_0xf5108a;},'lbszE':function(_0x3c1267,_0x4d0e45){return _0x3c1267<=_0x4d0e45;},'aMVer':function(_0x260807,_0xed76be){return _0x260807*_0xed76be;}};for(let _0x48c256=0x1;_0x48c256<=0x8;_0x48c256++){const _0xc407be=_0x89d02a['oRmOY'](_0x84b5a5-0x1,_0x48c256);if(_0xc407be>=0x0&&_0x89d02a['lbszE'](_0xc407be,Math['pow'](0x2,_0x89d02a[_0x4afc7e(0x136)](0x7,_0x48c256))-0x2))return Buffer['concat']([Buffer[_0x4afc7e(0x160)]([ID_VOID]),writeVint(_0xc407be,_0x48c256),Buffer['alloc'](_0xc407be)]);}return Buffer[_0x4afc7e(0x131)](0x0);}function findElement(_0xbba380,_0x33e1c5,_0x1049cf,_0x22d8b9){const _0x14242c=_0x56e3,_0x190053={'PpcRS':function(_0x1341ff,_0x5a3d4c){return _0x1341ff<_0x5a3d4c;},'liQvi':function(_0x396706,_0xf6f0ca,_0x54ff0a){return _0x396706(_0xf6f0ca,_0x54ff0a);},'JdsZd':function(_0x4803ea,_0x142dae){return _0x4803ea===_0x142dae;},'ZYbLX':function(_0x4ce076,_0x220112){return _0x4ce076+_0x220112;}};let _0x4473cb=_0x33e1c5;while(_0x190053['PpcRS'](_0x4473cb,_0x1049cf)){const [_0x3d1d14,_0x3de58f]=_0x190053[_0x14242c(0x15b)](readId,_0xbba380,_0x4473cb),[_0x5eb097,_0x89a44b]=readVint(_0xbba380,_0x4473cb+_0x3de58f);if(_0x190053[_0x14242c(0x13d)](_0x3d1d14,_0x22d8b9))return{'offset':_0x4473cb,'idLen':_0x3de58f,'sizeLen':_0x89a44b,'dataSize':_0x5eb097,'dataOffset':_0x190053[_0x14242c(0x16c)](_0x4473cb,_0x3de58f)+_0x89a44b};if(isUnknownSize(_0x5eb097,_0x89a44b))break;_0x4473cb+=_0x3de58f+_0x89a44b+_0x5eb097;}return null;}function computeDurationMs(_0x45a2fe,_0x486c9c){const _0x1a075c=_0x56e3,_0x40469e={'meWHI':function(_0x40c22a,_0x249cd4,_0x28767f){return _0x40c22a(_0x249cd4,_0x28767f);},'Gmxcd':function(_0x3218db,_0x234ee8){return _0x3218db+_0x234ee8;},'KxKor':function(_0x15f5d3,_0xc9c6dc,_0x48f102){return _0x15f5d3(_0xc9c6dc,_0x48f102);},'iLdhu':function(_0x1e1243,_0x167833){return _0x1e1243===_0x167833;},'UbjNo':function(_0x15f902,_0x48af92,_0x198d7b){return _0x15f902(_0x48af92,_0x198d7b);},'RNNLV':function(_0x5f2b08,_0xf7b3c3,_0x576a04){return _0x5f2b08(_0xf7b3c3,_0x576a04);},'bPbhw':function(_0x400b3c,_0x446975){return _0x400b3c+_0x446975;},'kYUBj':function(_0x2c1248,_0x359722){return _0x2c1248+_0x359722;},'iuPid':function(_0x2d4a84,_0x3f6f10){return _0x2d4a84<_0x3f6f10;},'apCvk':function(_0x294940,_0x40144c,_0x3a251e){return _0x294940(_0x40144c,_0x3a251e);},'VCxpr':function(_0x2b1ffc,_0x2f701b){return _0x2b1ffc>=_0x2f701b;},'rdowb':function(_0x27d554,_0x2d53d1){return _0x27d554+_0x2d53d1;},'hnaie':function(_0x28bbf9,_0x28d1a9){return _0x28bbf9*_0x28d1a9;},'GtQLU':function(_0x4f00e1,_0x20752d,_0x26a1f2){return _0x4f00e1(_0x20752d,_0x26a1f2);}};let _0x35a04a=0x0;const _0x1f2f66=Buffer[_0x1a075c(0x160)]([0x1f,0x43,0xb6,0x75]);let _0x59d85e=_0x45a2fe[_0x1a075c(0x14d)](_0x1f2f66);if(_0x59d85e===-0x1)return 0x0;while(_0x59d85e<_0x45a2fe['length']){const [_0x391a1f,_0x1c222c]=_0x40469e[_0x1a075c(0x165)](readId,_0x45a2fe,_0x59d85e);if(_0x391a1f!==ID_CLUSTER)break;const [_0x590286,_0x3c3c3a]=readVint(_0x45a2fe,_0x40469e['Gmxcd'](_0x59d85e,_0x1c222c)),_0xfa8f3a=_0x59d85e+_0x1c222c+_0x3c3c3a,_0x943f4e=_0x40469e[_0x1a075c(0x14b)](isUnknownSize,_0x590286,_0x3c3c3a);let _0x1e0020;if(_0x943f4e){let _0x7fc76f=_0xfa8f3a;while(_0x7fc76f<_0x45a2fe[_0x1a075c(0x154)]-0x4){const [_0x1b3a26,_0x5950dd]=readId(_0x45a2fe,_0x7fc76f);if(_0x40469e[_0x1a075c(0x159)](_0x1b3a26,ID_CLUSTER)){_0x1e0020=_0x7fc76f;break;}const [_0x19e919,_0x5c321b]=_0x40469e[_0x1a075c(0x155)](readVint,_0x45a2fe,_0x40469e[_0x1a075c(0x144)](_0x7fc76f,_0x5950dd));if(_0x40469e[_0x1a075c(0x14e)](isUnknownSize,_0x19e919,_0x5c321b)){_0x1e0020=_0x45a2fe['length'];break;}_0x7fc76f+=_0x40469e['Gmxcd'](_0x40469e['bPbhw'](_0x5950dd,_0x5c321b),_0x19e919);}_0x1e0020??=_0x45a2fe[_0x1a075c(0x154)];}else _0x1e0020=_0x40469e[_0x1a075c(0x152)](_0xfa8f3a,_0x590286);let _0x359149=0x0,_0x15f9ce=_0xfa8f3a;while(_0x40469e['iuPid'](_0x15f9ce,_0x1e0020)){const [_0x133988,_0x55046c]=readId(_0x45a2fe,_0x15f9ce),[_0xe8815,_0x102ac8]=_0x40469e['apCvk'](readVint,_0x45a2fe,_0x15f9ce+_0x55046c);if(_0x40469e['iLdhu'](_0x133988,ID_TIMESTAMP))_0x359149=readUint(_0x45a2fe,_0x40469e[_0x1a075c(0x144)](_0x15f9ce+_0x55046c,_0x102ac8),_0xe8815);else{if(_0x133988===ID_SIMPLE_BLOCK&&_0x40469e['VCxpr'](_0xe8815,0x4)){const _0x299cc7=_0x40469e['Gmxcd'](_0x15f9ce+_0x55046c,_0x102ac8),[,_0x378d80]=readVint(_0x45a2fe,_0x299cc7),_0x31e4bb=_0x45a2fe[_0x1a075c(0x145)](_0x40469e['rdowb'](_0x299cc7,_0x378d80)),_0x482f27=_0x40469e[_0x1a075c(0x153)](_0x40469e[_0x1a075c(0x16f)](_0x359149,_0x31e4bb),_0x486c9c)/0xf4240;_0x482f27>_0x35a04a&&(_0x35a04a=_0x482f27);}else{if(_0x133988===ID_CLUSTER)break;}}if(_0x40469e[_0x1a075c(0x15d)](isUnknownSize,_0xe8815,_0x102ac8))break;_0x15f9ce+=_0x55046c+_0x102ac8+_0xe8815;}_0x59d85e=_0x1e0020;}return _0x35a04a;}export function fixWebmDuration(_0x1907d1,_0x589328){const _0x1a1f22=_0x56e3,_0x5c3682={'nxlNO':function(_0x53e69d,_0x2eace9){return _0x53e69d(_0x2eace9);},'NdDqd':function(_0x42696d,_0x4ac311,_0x13e1d5){return _0x42696d(_0x4ac311,_0x13e1d5);},'GrDjl':function(_0x3e4476,_0x5e6a42){return _0x3e4476!==_0x5e6a42;},'oOVKz':function(_0x231c6c,_0x3dd0c8){return _0x231c6c+_0x3dd0c8;},'QQWTi':function(_0x243039,_0x3ea40a){return _0x243039+_0x3ea40a;},'SCwTK':function(_0x3e19bb,_0x30d4ac){return _0x3e19bb===_0x30d4ac;},'tPpxz':function(_0x448443,_0x3ad315){return _0x448443+_0x3ad315;},'FbSko':function(_0x38f9a5,_0x27ac3f){return _0x38f9a5===_0x27ac3f;},'dZnWr':function(_0x35d29a,_0x12f513){return _0x35d29a+_0x12f513;},'ZvbtX':function(_0x3ae31f,_0x3a2862){return _0x3ae31f+_0x3a2862;},'VEznt':function(_0x22cdb1,_0x4e8716,_0x4f2ac4,_0xb21699,_0x3e2bc2){return _0x22cdb1(_0x4e8716,_0x4f2ac4,_0xb21699,_0x3e2bc2);},'DPCBw':function(_0x13cbda,_0x3bc746){return _0x13cbda<=_0x3bc746;},'vusYI':_0x1a1f22(0x138),'BxvqC':function(_0x47dd73,_0x361885){return _0x47dd73/_0x361885;},'fSoiS':function(_0x2f7b7f,_0x2585fe){return _0x2f7b7f*_0x2585fe;},'nyxOC':function(_0x5a64f8,_0x540c62){return _0x5a64f8(_0x540c62);},'nWixQ':function(_0x449bd8,_0x42eae0){return _0x449bd8(_0x42eae0);},'RAxpS':function(_0x52e2de,_0x472fe7){return _0x52e2de<_0x472fe7;},'DeRRX':function(_0x5df86f,_0x38c0b6){return _0x5df86f+_0x38c0b6;},'MejSF':function(_0x54a210,_0x5115dc){return _0x54a210(_0x5115dc);},'MlLCC':function(_0x141dcc,_0x1c12f6,_0x56e5b1){return _0x141dcc(_0x1c12f6,_0x56e5b1);},'hhLpN':function(_0x1390e5,_0x286e91,_0x4f8d9b,_0x595bbd,_0x53beba,_0x505ea7,_0x1c897e){return _0x1390e5(_0x286e91,_0x4f8d9b,_0x595bbd,_0x53beba,_0x505ea7,_0x1c897e);}},_0x3e046e=_0x5c3682['nxlNO'](readFileSync,_0x1907d1);let _0x40f3c6=0x0;const [_0x4e692d,_0x434d2c]=_0x5c3682[_0x1a1f22(0x134)](readId,_0x3e046e,_0x40f3c6),[_0x487b00,_0x50148f]=readVint(_0x3e046e,_0x40f3c6+_0x434d2c);_0x40f3c6+=_0x434d2c+_0x50148f+_0x487b00;const [_0x33f0b2,_0x3554c7]=_0x5c3682['NdDqd'](readId,_0x3e046e,_0x40f3c6);if(_0x5c3682['GrDjl'](_0x33f0b2,ID_SEGMENT))return console['error'](_0x1a1f22(0x167)),![];const [,_0xf82911]=_0x5c3682['NdDqd'](readVint,_0x3e046e,_0x5c3682[_0x1a1f22(0x13e)](_0x40f3c6,_0x3554c7)),_0x3d6022=_0x5c3682['oOVKz'](_0x40f3c6,_0x3554c7)+_0xf82911;let _0x3d91ea=_0x3d6022;const _0x2fd089=Math['min'](_0x3e046e['length'],_0x5c3682['QQWTi'](_0x3d6022,0x2710));let _0x539b63=null,_0x1e9099=null;while(_0x3d91ea<_0x2fd089){const [_0x843220,_0x338390]=readId(_0x3e046e,_0x3d91ea),[_0x1b4119,_0x54f637]=readVint(_0x3e046e,_0x3d91ea+_0x338390);_0x5c3682['SCwTK'](_0x843220,ID_VOID)&&!_0x539b63&&(_0x539b63={'offset':_0x3d91ea,'idLen':_0x338390,'sizeLen':_0x54f637,'dataSize':_0x1b4119,'dataOffset':_0x5c3682['tPpxz'](_0x3d91ea+_0x338390,_0x54f637)});if(_0x5c3682['FbSko'](_0x843220,ID_INFO)){_0x1e9099={'offset':_0x3d91ea,'idLen':_0x338390,'sizeLen':_0x54f637,'dataSize':_0x1b4119,'dataOffset':_0x5c3682['oOVKz'](_0x5c3682[_0x1a1f22(0x12f)](_0x3d91ea,_0x338390),_0x54f637)};break;}if(_0x5c3682['FbSko'](_0x843220,ID_CLUSTER))break;if(isUnknownSize(_0x1b4119,_0x54f637))break;_0x3d91ea+=_0x338390+_0x54f637+_0x1b4119;}if(!_0x1e9099)return console[_0x1a1f22(0x15a)](_0x1a1f22(0x15e)),![];const _0x21f270=findElement(_0x3e046e,_0x1e9099[_0x1a1f22(0x143)],_0x5c3682[_0x1a1f22(0x132)](_0x1e9099[_0x1a1f22(0x143)],_0x1e9099['dataSize']),ID_DURATION);if(_0x21f270)return![];const _0x2dbe93=_0x5c3682[_0x1a1f22(0x147)](findElement,_0x3e046e,_0x1e9099['dataOffset'],_0x1e9099['dataOffset']+_0x1e9099[_0x1a1f22(0x164)],ID_TIMESTAMP_SCALE);let _0x4e34d6=0xf4240;_0x2dbe93&&(_0x4e34d6=readUint(_0x3e046e,_0x2dbe93[_0x1a1f22(0x143)],_0x2dbe93['dataSize']));const _0x57429a=computeDurationMs(_0x3e046e,_0x4e34d6);if(_0x5c3682['DPCBw'](_0x57429a,0x0))return console[_0x1a1f22(0x15a)](_0x5c3682['vusYI']),![];const _0x2e39d3=_0x5c3682[_0x1a1f22(0x168)](_0x5c3682[_0x1a1f22(0x12e)](_0x57429a,0xf4240),_0x4e34d6),_0x7c4ca8=Buffer[_0x1a1f22(0x12a)]([_0x5c3682[_0x1a1f22(0x12d)](writeId,ID_DURATION),_0x5c3682[_0x1a1f22(0x135)](writeVint,0x8),writeFloat64(_0x2e39d3)]),_0x1ff2c8=_0x7c4ca8['length'];if(!_0x539b63||_0x5c3682[_0x1a1f22(0x14a)](_0x539b63[_0x1a1f22(0x157)],_0x1e9099['offset'])){if(_0x539b63){const _0x5ef638=_0x5c3682['DeRRX'](_0x5c3682[_0x1a1f22(0x13e)](_0x539b63['idLen'],_0x539b63[_0x1a1f22(0x12c)]),_0x539b63[_0x1a1f22(0x164)]),_0xfc67fc=_0x5ef638-_0x1ff2c8;if(_0xfc67fc<0x2)return rewriteFile(_0x3e046e,_0x1e9099,_0x7c4ca8,_0x4e34d6,_0x57429a,_0x589328);const _0x1106e6=_0x5c3682['dZnWr'](_0x1e9099[_0x1a1f22(0x164)],_0x1ff2c8),_0x536b13=Buffer[_0x1a1f22(0x12a)]([_0x5c3682[_0x1a1f22(0x13a)](writeId,ID_INFO),_0x5c3682[_0x1a1f22(0x169)](writeVint,_0x1106e6,_0x1e9099['sizeLen'])]),_0x17fd53=_0x3e046e['slice'](_0x1e9099[_0x1a1f22(0x143)],_0x1e9099[_0x1a1f22(0x143)]+_0x1e9099['dataSize']),_0x414af9=writeVoid(_0xfc67fc),_0x57c49a=_0x3e046e['slice'](0x0,_0x539b63[_0x1a1f22(0x157)]),_0x3955e8=_0x3e046e['slice'](_0x1e9099[_0x1a1f22(0x143)]+_0x1e9099[_0x1a1f22(0x164)]);return writeFileSync(_0x589328,Buffer['concat']([_0x57c49a,_0x414af9,_0x536b13,_0x17fd53,_0x7c4ca8,_0x3955e8])),!![];}}return _0x5c3682[_0x1a1f22(0x146)](rewriteFile,_0x3e046e,_0x1e9099,_0x7c4ca8,_0x4e34d6,_0x57429a,_0x589328);}function rewriteFile(_0x52c91b,_0x8d0ee2,_0x470225,_0x32503b,_0x4eda08,_0x2acf6c){const _0x35cf90=_0x56e3,_0x62ed81={'SPQhj':function(_0x4fc1b9,_0x5af2cf){return _0x4fc1b9+_0x5af2cf;},'zPAho':function(_0x3ae964,_0x24e9be){return _0x3ae964(_0x24e9be);},'bFjHG':function(_0x52f4b7,_0x4ea598){return _0x52f4b7(_0x4ea598);}},_0x331e3c=_0x62ed81[_0x35cf90(0x151)](_0x8d0ee2['dataSize'],_0x470225['length']),_0x5a9418=Buffer['concat']([_0x62ed81[_0x35cf90(0x13c)](writeId,ID_INFO),_0x62ed81['bFjHG'](writeVint,_0x331e3c)]),_0x25aae6=_0x8d0ee2['idLen']+_0x8d0ee2['sizeLen'],_0x355d94=_0x52c91b['slice'](0x0,_0x8d0ee2['offset']),_0x17d296=_0x52c91b['slice'](_0x8d0ee2[_0x35cf90(0x143)],_0x8d0ee2['dataOffset']+_0x8d0ee2[_0x35cf90(0x164)]),_0x35fda1=_0x52c91b[_0x35cf90(0x14f)](_0x62ed81[_0x35cf90(0x151)](_0x8d0ee2['offset'],_0x25aae6)+_0x8d0ee2['dataSize']);return writeFileSync(_0x2acf6c,Buffer['concat']([_0x355d94,_0x5a9418,_0x17d296,_0x470225,_0x35fda1])),!![];}if(process[_0x174867(0x163)][0x1]?.['endsWith']('fixWebmDuration.ts')||process[_0x174867(0x163)][0x1]?.[_0x174867(0x149)]('fixWebmDuration.js')){const input=process[_0x174867(0x163)][0x2],output=process[_0x174867(0x163)][0x3];(!input||!output)&&(console['error']('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process[_0x174867(0x142)](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x174867(0x14c)](_0x174867(0x150)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -1 +1 @@
1
- (function(_0x4686e7,_0x580347){const _0x59edc6=_0x3b34,_0x25df38=_0x4686e7();while(!![]){try{const _0x32b7ef=parseInt(_0x59edc6(0x12c))/0x1+-parseInt(_0x59edc6(0x131))/0x2+parseInt(_0x59edc6(0x138))/0x3+parseInt(_0x59edc6(0x12f))/0x4*(parseInt(_0x59edc6(0x133))/0x5)+-parseInt(_0x59edc6(0x130))/0x6+-parseInt(_0x59edc6(0x13a))/0x7+parseInt(_0x59edc6(0x136))/0x8*(parseInt(_0x59edc6(0x135))/0x9);if(_0x32b7ef===_0x580347)break;else _0x25df38['push'](_0x25df38['shift']());}catch(_0x436eda){_0x25df38['push'](_0x25df38['shift']());}}}(_0x3a4e,0x2051d));import{execSync}from'child_process';function _0x3a4e(){const _0x42302d=['194632fsyqVr','pipe','232224hAGBhX','uwVfs','886760pDqudr','116514kGuypC','hOFQR','ojqzX','3900pejxLH','1387806HRayDf','171060VUdJsC','github.com/','1335MyuNMv','utf-8','45xFdMcj'];_0x3a4e=function(){return _0x42302d;};return _0x3a4e();}export function getGitBranch(){const _0x37941a=_0x3b34,_0x258d2a={'uwVfs':_0x37941a(0x134),'ojqzX':_0x37941a(0x137)};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x258d2a[_0x37941a(0x139)],'stdio':[_0x258d2a[_0x37941a(0x12e)],_0x258d2a['ojqzX'],_0x37941a(0x137)]})['trim']();}catch{return undefined;}}function _0x3b34(_0x2d9c07,_0x149087){_0x2d9c07=_0x2d9c07-0x12c;const _0x3a4eda=_0x3a4e();let _0x3b349c=_0x3a4eda[_0x2d9c07];return _0x3b349c;}export function getGitRepoUrl(){const _0x364b3c=_0x3b34,_0x35d5d8={'hOFQR':function(_0xb903f1,_0x591292,_0x15e3ab){return _0xb903f1(_0x591292,_0x15e3ab);},'LSowi':'git\x20remote\x20get-url\x20origin'};try{const _0x4feee7=_0x35d5d8[_0x364b3c(0x12d)](execSync,_0x35d5d8['LSowi'],{'encoding':_0x364b3c(0x134),'stdio':[_0x364b3c(0x137),_0x364b3c(0x137),'pipe']})['trim']();return _0x4feee7['replace'](/\.git$/,'')['replace'](/^git@github\.com:/,_0x364b3c(0x132))['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){return{'branch':getGitBranch(),'repoUrl':getGitRepoUrl()};}
1
+ function _0x3f52(){const _0x328024=['replace','27020LvMjLw','22160367wrhLBO','AmNjQ','4689366JOuYBX','7390173ybAwjP','kcFYj','pipe','trim','10HRUjdD','1551867NpeEnM','3278872dYKsGX','7728eGiVCr','nOjEW','14ttIRNe','5waqTdC'];_0x3f52=function(){return _0x328024;};return _0x3f52();}function _0x427c(_0x23a534,_0x5ae76b){_0x23a534=_0x23a534-0xb9;const _0x3f52e0=_0x3f52();let _0x427ca9=_0x3f52e0[_0x23a534];return _0x427ca9;}(function(_0x38bcfd,_0x63d6b5){const _0x31effe=_0x427c,_0x5ec79c=_0x38bcfd();while(!![]){try{const _0x38bb6e=parseInt(_0x31effe(0xc0))/0x1*(parseInt(_0x31effe(0xc2))/0x2)+parseInt(_0x31effe(0xbe))/0x3+parseInt(_0x31effe(0xc5))/0x4+-parseInt(_0x31effe(0xc3))/0x5*(parseInt(_0x31effe(0xc8))/0x6)+-parseInt(_0x31effe(0xb9))/0x7+-parseInt(_0x31effe(0xbf))/0x8+-parseInt(_0x31effe(0xc6))/0x9*(-parseInt(_0x31effe(0xbd))/0xa);if(_0x38bb6e===_0x63d6b5)break;else _0x5ec79c['push'](_0x5ec79c['shift']());}catch(_0x2b9b42){_0x5ec79c['push'](_0x5ec79c['shift']());}}}(_0x3f52,0xc1a9c));import{execSync}from'child_process';export function getGitBranch(){const _0x5b4f60=_0x427c,_0x835e54={'kcFYj':function(_0x5b75b6,_0x2996c2,_0x2a51a2){return _0x5b75b6(_0x2996c2,_0x2a51a2);},'MepLC':'utf-8'};try{return _0x835e54[_0x5b4f60(0xba)](execSync,'git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x835e54['MepLC'],'stdio':['pipe','pipe',_0x5b4f60(0xbb)]})[_0x5b4f60(0xbc)]();}catch{return undefined;}}export function getGitRepoUrl(){const _0x9734e5=_0x427c,_0x10612b={'AmNjQ':function(_0x16221d,_0x2ebce3,_0x41d9a7){return _0x16221d(_0x2ebce3,_0x41d9a7);},'XvMBq':'utf-8','kuGQx':'pipe','WfzDl':'github.com/'};try{const _0x1bc2a0=_0x10612b[_0x9734e5(0xc7)](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x10612b['XvMBq'],'stdio':[_0x9734e5(0xbb),_0x10612b['kuGQx'],_0x10612b['kuGQx']]})[_0x9734e5(0xbc)]();return _0x1bc2a0[_0x9734e5(0xc4)](/\.git$/,'')['replace'](/^git@github\.com:/,_0x10612b['WfzDl'])['replace'](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x3aa1c4=_0x427c,_0x5246d={'XENhn':function(_0xb8e36c){return _0xb8e36c();},'nOjEW':function(_0x278304){return _0x278304();}};return{'branch':_0x5246d['XENhn'](getGitBranch),'repoUrl':_0x5246d[_0x3aa1c4(0xc1)](getGitRepoUrl)};}
@@ -1 +1 @@
1
- const _0x49c7c9=_0x2a90;(function(_0xb2a235,_0x30e67a){const _0xb6704a=_0x2a90,_0x17b961=_0xb2a235();while(!![]){try{const _0x3edb7d=parseInt(_0xb6704a(0xc0))/0x1+parseInt(_0xb6704a(0xbc))/0x2*(-parseInt(_0xb6704a(0xa4))/0x3)+parseInt(_0xb6704a(0xac))/0x4*(parseInt(_0xb6704a(0xaa))/0x5)+parseInt(_0xb6704a(0xaf))/0x6+-parseInt(_0xb6704a(0xb0))/0x7*(parseInt(_0xb6704a(0xb8))/0x8)+parseInt(_0xb6704a(0xcc))/0x9+-parseInt(_0xb6704a(0xb6))/0xa*(parseInt(_0xb6704a(0xab))/0xb);if(_0x3edb7d===_0x30e67a)break;else _0x17b961['push'](_0x17b961['shift']());}catch(_0xc4a6c7){_0x17b961['push'](_0x17b961['shift']());}}}(_0x5e48,0x1ced6));const _0xeddcd2=(function(){const _0x43806d=_0x2a90,_0x57a4fa={'XbIgB':function(_0x45f165,_0x4b5d6b){return _0x45f165===_0x4b5d6b;},'QXTsd':'URbyj','omYbA':_0x43806d(0xc4)};let _0x479cdc=!![];return function(_0x8ea037,_0x456518){const _0x426ca3=_0x479cdc?function(){const _0x5e7c63=_0x2a90;if(_0x57a4fa['XbIgB'](_0x57a4fa[_0x5e7c63(0xcd)],_0x57a4fa['omYbA']))return _0x290892[_0x5e7c63(0xad)][_0x7dc336];else{if(_0x456518){const _0x4191e1=_0x456518[_0x5e7c63(0xd0)](_0x8ea037,arguments);return _0x456518=null,_0x4191e1;}}}:function(){};return _0x479cdc=![],_0x426ca3;};}()),_0x263d03=_0xeddcd2(this,function(){const _0x420cf3=_0x2a90,_0x1f9c4b={'cbVZj':_0x420cf3(0xbd)};return _0x263d03['toString']()[_0x420cf3(0xa9)](_0x1f9c4b[_0x420cf3(0xbe)])[_0x420cf3(0xc1)]()[_0x420cf3(0xcb)](_0x263d03)[_0x420cf3(0xa9)](_0x1f9c4b[_0x420cf3(0xbe)]);});_0x263d03();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN='RANGER_CLI_TOKEN',ENV_TOKEN_LEGACY='RANGER_MCP_TOKEN',TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x49c7c9(0xb2)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,'refresh.txt');function isGitHubCI(){const _0x1fcbc6=_0x49c7c9;return!!process[_0x1fcbc6(0xad)][_0x1fcbc6(0xc5)];}function _0x2a90(_0x4d7965,_0x259acb){_0x4d7965=_0x4d7965-0xa3;const _0x28ab04=_0x5e48();let _0x263d03=_0x28ab04[_0x4d7965];if(_0x2a90['IvfQXy']===undefined){var _0xeddcd2=function(_0x304e8f){const _0x23deb8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26e5a6='',_0x198e4f='',_0x2bfc32=_0x26e5a6+_0xeddcd2;for(let _0x246fe1=0x0,_0x28a0cb,_0x56c62d,_0x144941=0x0;_0x56c62d=_0x304e8f['charAt'](_0x144941++);~_0x56c62d&&(_0x28a0cb=_0x246fe1%0x4?_0x28a0cb*0x40+_0x56c62d:_0x56c62d,_0x246fe1++%0x4)?_0x26e5a6+=_0x2bfc32['charCodeAt'](_0x144941+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x28a0cb>>(-0x2*_0x246fe1&0x6)):_0x246fe1:0x0){_0x56c62d=_0x23deb8['indexOf'](_0x56c62d);}for(let _0x5cb3f4=0x0,_0x18e17d=_0x26e5a6['length'];_0x5cb3f4<_0x18e17d;_0x5cb3f4++){_0x198e4f+='%'+('00'+_0x26e5a6['charCodeAt'](_0x5cb3f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x198e4f);};_0x2a90['jzwvLj']=_0xeddcd2,_0x2a90['mTQUUa']={},_0x2a90['IvfQXy']=!![];}const _0x5e485a=_0x28ab04[0x0],_0x2a905a=_0x4d7965+_0x5e485a,_0x2cae94=_0x2a90['mTQUUa'][_0x2a905a];if(!_0x2cae94){const _0x5a44f1=function(_0x5c9196){this['KyBNnm']=_0x5c9196,this['XxZzfJ']=[0x1,0x0,0x0],this['HRZogB']=function(){return'newState';},this['HvaSMu']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['PjVYOm']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5a44f1['prototype']['ZyckyY']=function(){const _0x237e43=new RegExp(this['HvaSMu']+this['PjVYOm']),_0x4ded2f=_0x237e43['test'](this['HRZogB']['toString']())?--this['XxZzfJ'][0x1]:--this['XxZzfJ'][0x0];return this['lEvoFx'](_0x4ded2f);},_0x5a44f1['prototype']['lEvoFx']=function(_0x389093){if(!Boolean(~_0x389093))return _0x389093;return this['IAASdW'](this['KyBNnm']);},_0x5a44f1['prototype']['IAASdW']=function(_0x50eb75){for(let _0x3305b4=0x0,_0x1a1ea5=this['XxZzfJ']['length'];_0x3305b4<_0x1a1ea5;_0x3305b4++){this['XxZzfJ']['push'](Math['round'](Math['random']())),_0x1a1ea5=this['XxZzfJ']['length'];}return _0x50eb75(this['XxZzfJ'][0x0]);},new _0x5a44f1(_0x2a90)['ZyckyY'](),_0x263d03=_0x2a90['jzwvLj'](_0x263d03),_0x2a90['mTQUUa'][_0x2a905a]=_0x263d03;}else _0x263d03=_0x2cae94;return _0x263d03;}function _0x5e48(){const _0x126438=['wgjTAMm','v1vTzgK','z29Suuu','v0j6qM8','y29UC3rYDwn0B3i','mtu5nJeXnevqvLnOuq','uvHuC2q','zKDNu3m','ANfMuK0','yxbWBhK','s25Hq3q','otyWmdzrAvPoAwS','CK1TDhi','zuTwzwO','EKvjBuG','ywnqq2m','C2vHCMnO','ndq1oda1vhPmqunz','ode3m3L4quHTDa','ognNDxvjrq','zw52','EgXTChm','mtmXnde3ngjhC0HbEa','mJGZntDUve5KENy','CND2wve','y2XPlNr4Da','zfDWzhG','DxrMltG','whDIELi','ndCXmfPmCLLAtW','DhjPBq','mJGWwxD1sxHi','s1nTv2u','sMXer0G','qMjzAhm','oePquKnTtW','kcGOlISPkYKRksSK','y2jwwMO','q0zyDey','mtyZntm1DhP3Cw1Z','Dg9tDhjPBMC','wgHOuey','DKjtrfC','B0rmD0i','r0Lusfvcx0vovG','sMPtr1C'];_0x5e48=function(){return _0x126438;};return _0x5e48();}async function writeToGitHubEnv(_0x4d0110,_0x2f3e63){const _0x23647d=_0x49c7c9,_0x4d00ba={'MeXZU':_0x23647d(0xb9),'vfvwP':function(_0x589e9d,_0x13ac44,_0x2ee4d2){return _0x589e9d(_0x13ac44,_0x2ee4d2);}},_0x21aa4c=process[_0x23647d(0xad)][_0x23647d(0xc5)];if(_0x21aa4c){if(_0x23647d(0xb9)===_0x4d00ba['MeXZU'])await _0x4d00ba['vfvwP'](appendFile,_0x21aa4c,_0x4d0110+'='+_0x2f3e63+'\x0a');else{const _0x236c7b=_0xcf5a0a['apply'](_0x41e017,arguments);return _0x347ce1=null,_0x236c7b;}}}export async function storeToken(_0x205c5c){const _0x2ef10d=_0x49c7c9,_0x171d4d={'eKVej':function(_0xea4ef5,_0x49c92d,_0x5ee653){return _0xea4ef5(_0x49c92d,_0x5ee653);},'XhhPF':function(_0x5c5e68,_0x53625a,_0x3d2bc0,_0x2897c4){return _0x5c5e68(_0x53625a,_0x3d2bc0,_0x2897c4);}};isGitHubCI()?await _0x171d4d['eKVej'](writeToGitHubEnv,ENV_TOKEN,_0x205c5c):(await _0x171d4d[_0x2ef10d(0xa6)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x171d4d[_0x2ef10d(0xc2)](writeFile,TOKEN_PATH,_0x205c5c,{'mode':0x180}));}export async function getToken(){const _0x4189b3=_0x49c7c9,_0x5bace6={'JjSGW':function(_0x38894f,_0x192e22){return _0x38894f!==_0x192e22;},'MprBE':_0x4189b3(0xb3),'WUmdi':_0x4189b3(0xa3),'XwbzR':_0x4189b3(0xb4)};if(process['env'][ENV_TOKEN])return _0x5bace6[_0x4189b3(0xc6)](_0x5bace6['MprBE'],_0x5bace6[_0x4189b3(0xc8)])?process['env'][ENV_TOKEN]:![];if(process[_0x4189b3(0xad)][ENV_TOKEN_LEGACY])return process[_0x4189b3(0xad)][ENV_TOKEN_LEGACY];try{const _0xda5052=await readFile(TOKEN_PATH,_0x5bace6[_0x4189b3(0xb5)]);return _0xda5052[_0x4189b3(0xb7)]()||null;}catch{return null;}}export async function deleteToken(){const _0x49afa0=_0x49c7c9,_0x1dd7f7={'acPCc':function(_0x2d73bf,_0x40eee9){return _0x2d73bf===_0x40eee9;},'jqfRM':_0x49afa0(0xce),'Xbmjc':function(_0x3942ac,_0x11cc2a){return _0x3942ac(_0x11cc2a);}};try{return _0x1dd7f7[_0x49afa0(0xa8)](_0x49afa0(0xb1),_0x1dd7f7[_0x49afa0(0xcf)])?![]:(await _0x1dd7f7[_0x49afa0(0xc7)](unlink,TOKEN_PATH),!![]);}catch{return![];}}export async function storeRefreshToken(_0x4f00ce){const _0x3683f8={'nKHZh':function(_0x4a056e,_0x1685f7,_0x1c09dd){return _0x4a056e(_0x1685f7,_0x1c09dd);},'aQmqD':function(_0xa6b5bf,_0x29e493,_0x1c720f,_0x3208cb){return _0xa6b5bf(_0x29e493,_0x1c720f,_0x3208cb);}};await _0x3683f8['nKHZh'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x3683f8['aQmqD'](writeFile,REFRESH_TOKEN_PATH,_0x4f00ce,{'mode':0x180});}export async function getRefreshToken(){const _0x36abca=_0x49c7c9,_0x4f45f5={'golQE':function(_0x225892,_0xcf38da,_0x6800cc){return _0x225892(_0xcf38da,_0x6800cc);}};try{const _0x483f92=await _0x4f45f5[_0x36abca(0xc9)](readFile,REFRESH_TOKEN_PATH,_0x36abca(0xb4));return _0x483f92[_0x36abca(0xb7)]()||null;}catch{return null;}}export async function deleteRefreshToken(){const _0x54ae84=_0x49c7c9,_0x38a883={'vBSDW':function(_0x5667b7,_0x12202a){return _0x5667b7===_0x12202a;},'WBzBo':_0x54ae84(0xba),'HVvzc':function(_0x1cf3ec,_0x47c430){return _0x1cf3ec!==_0x47c430;},'xlmps':_0x54ae84(0xa7),'rMmtr':_0x54ae84(0xbf)};try{return _0x38a883[_0x54ae84(0xc3)](_0x38a883['WBzBo'],_0x38a883[_0x54ae84(0xca)])?(await unlink(REFRESH_TOKEN_PATH),!![]):null;}catch{return _0x38a883['HVvzc'](_0x38a883[_0x54ae84(0xae)],_0x38a883[_0x54ae84(0xa5)])?![]:_0x4f14aa[_0x54ae84(0xad)][_0x1dd2e4];}}export async function deleteAllCredentials(){const _0x288515=_0x49c7c9,_0x52c8d7={'BbYhs':function(_0x1ec03c){return _0x1ec03c();}};await _0x52c8d7[_0x288515(0xbb)](deleteToken),await _0x52c8d7[_0x288515(0xbb)](deleteRefreshToken);}
1
+ const _0x1a0a70=_0x5042;(function(_0x549933,_0x47d540){const _0x2208a7=_0x5042,_0x81c136=_0x549933();while(!![]){try{const _0x4b1a08=-parseInt(_0x2208a7(0x154))/0x1+-parseInt(_0x2208a7(0x141))/0x2*(parseInt(_0x2208a7(0x161))/0x3)+parseInt(_0x2208a7(0x15d))/0x4+parseInt(_0x2208a7(0x14e))/0x5*(-parseInt(_0x2208a7(0x137))/0x6)+parseInt(_0x2208a7(0x135))/0x7+-parseInt(_0x2208a7(0x139))/0x8+parseInt(_0x2208a7(0x148))/0x9;if(_0x4b1a08===_0x47d540)break;else _0x81c136['push'](_0x81c136['shift']());}catch(_0x3a76ef){_0x81c136['push'](_0x81c136['shift']());}}}(_0x484d,0x305b7));const _0x24a258=(function(){const _0x436c24=_0x5042,_0x215bb3={'vTGPI':function(_0xb220a,_0x254aea){return _0xb220a!==_0x254aea;},'MQZgD':_0x436c24(0x13c),'EbtgB':_0x436c24(0x133)};let _0x19a365=!![];return function(_0x4c3885,_0x2566e9){const _0x2ceb42=_0x19a365?function(){const _0x360429=_0x5042;if(_0x2566e9){if(_0x215bb3[_0x360429(0x13b)](_0x215bb3['MQZgD'],_0x215bb3[_0x360429(0x149)])){const _0x2d4f58=_0x2566e9[_0x360429(0x13f)](_0x4c3885,arguments);return _0x2566e9=null,_0x2d4f58;}else return!!_0x3d7764[_0x360429(0x159)][_0x360429(0x151)];}}:function(){};return _0x19a365=![],_0x2ceb42;};}()),_0x4d2790=_0x24a258(this,function(){const _0xdfd3b=_0x5042,_0x4230c5={'oOVjA':_0xdfd3b(0x160)};return _0x4d2790[_0xdfd3b(0x145)]()[_0xdfd3b(0x158)](_0x4230c5[_0xdfd3b(0x147)])[_0xdfd3b(0x145)]()[_0xdfd3b(0x15e)](_0x4d2790)[_0xdfd3b(0x158)](_0x4230c5[_0xdfd3b(0x147)]);});function _0x5042(_0x45239c,_0x45ef59){_0x45239c=_0x45239c-0x133;const _0x38e403=_0x484d();let _0x4d2790=_0x38e403[_0x45239c];if(_0x5042['orwzGr']===undefined){var _0x24a258=function(_0x454d41){const _0x26c3ff='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53b8fa='',_0x5aa54f='',_0x1b2853=_0x53b8fa+_0x24a258;for(let _0x430d9e=0x0,_0x28bf15,_0x435bd6,_0x4ae409=0x0;_0x435bd6=_0x454d41['charAt'](_0x4ae409++);~_0x435bd6&&(_0x28bf15=_0x430d9e%0x4?_0x28bf15*0x40+_0x435bd6:_0x435bd6,_0x430d9e++%0x4)?_0x53b8fa+=_0x1b2853['charCodeAt'](_0x4ae409+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x28bf15>>(-0x2*_0x430d9e&0x6)):_0x430d9e:0x0){_0x435bd6=_0x26c3ff['indexOf'](_0x435bd6);}for(let _0x559ee2=0x0,_0x284440=_0x53b8fa['length'];_0x559ee2<_0x284440;_0x559ee2++){_0x5aa54f+='%'+('00'+_0x53b8fa['charCodeAt'](_0x559ee2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5aa54f);};_0x5042['xYQHPO']=_0x24a258,_0x5042['jbyzwE']={},_0x5042['orwzGr']=!![];}const _0x484d02=_0x38e403[0x0],_0x5042d6=_0x45239c+_0x484d02,_0x30f4d7=_0x5042['jbyzwE'][_0x5042d6];if(!_0x30f4d7){const _0x18465f=function(_0x595fd6){this['KdPOFn']=_0x595fd6,this['ccabwD']=[0x1,0x0,0x0],this['zyltke']=function(){return'newState';},this['hAYQjJ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['pngGiB']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x18465f['prototype']['zpPJGX']=function(){const _0x30b85e=new RegExp(this['hAYQjJ']+this['pngGiB']),_0x18e75a=_0x30b85e['test'](this['zyltke']['toString']())?--this['ccabwD'][0x1]:--this['ccabwD'][0x0];return this['mMHOBr'](_0x18e75a);},_0x18465f['prototype']['mMHOBr']=function(_0x562344){if(!Boolean(~_0x562344))return _0x562344;return this['lCFTBv'](this['KdPOFn']);},_0x18465f['prototype']['lCFTBv']=function(_0x5fb46){for(let _0x3445a2=0x0,_0x444a5c=this['ccabwD']['length'];_0x3445a2<_0x444a5c;_0x3445a2++){this['ccabwD']['push'](Math['round'](Math['random']())),_0x444a5c=this['ccabwD']['length'];}return _0x5fb46(this['ccabwD'][0x0]);},new _0x18465f(_0x5042)['zpPJGX'](),_0x4d2790=_0x5042['xYQHPO'](_0x4d2790),_0x5042['jbyzwE'][_0x5042d6]=_0x4d2790;}else _0x4d2790=_0x30f4d7;return _0x4d2790;}_0x4d2790();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN='RANGER_CLI_TOKEN',ENV_TOKEN_LEGACY=_0x1a0a70(0x14b),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x1a0a70(0x13d)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x1a0a70(0x140));function isGitHubCI(){const _0x102d50=_0x1a0a70;return!!process[_0x102d50(0x159)][_0x102d50(0x151)];}async function writeToGitHubEnv(_0x2bd1b0,_0x4313f8){const _0x419bbc=_0x1a0a70,_0x5d8d6a={'ZMeOA':function(_0x24fd3e,_0x2c0cf9,_0x10c71a){return _0x24fd3e(_0x2c0cf9,_0x10c71a);}},_0x3fff9a=process[_0x419bbc(0x159)][_0x419bbc(0x151)];_0x3fff9a&&await _0x5d8d6a[_0x419bbc(0x153)](appendFile,_0x3fff9a,_0x2bd1b0+'='+_0x4313f8+'\x0a');}export async function storeToken(_0x4cee72){const _0x9aeb65=_0x1a0a70,_0x36d240={'aWnqP':function(_0x50f349,_0x5e3636,_0x168037){return _0x50f349(_0x5e3636,_0x168037);},'uKEOO':function(_0x3569f0,_0x3ed61a,_0x3fa1e2){return _0x3569f0(_0x3ed61a,_0x3fa1e2);},'BYGCY':function(_0x2b10fd,_0x19a929,_0xeb1ecc,_0x411de4){return _0x2b10fd(_0x19a929,_0xeb1ecc,_0x411de4);}};isGitHubCI()?await _0x36d240['aWnqP'](writeToGitHubEnv,ENV_TOKEN,_0x4cee72):(await _0x36d240[_0x9aeb65(0x155)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x36d240[_0x9aeb65(0x14d)](writeFile,TOKEN_PATH,_0x4cee72,{'mode':0x180}));}export async function getToken(){const _0x1f9208=_0x1a0a70,_0x373a6f={'FtTct':function(_0x44693e,_0x13944b){return _0x44693e===_0x13944b;},'hQKnQ':_0x1f9208(0x156),'PTOFQ':function(_0x3b7ca1,_0x4a11d3,_0x347447){return _0x3b7ca1(_0x4a11d3,_0x347447);},'uoNzE':_0x1f9208(0x157)};if(process['env'][ENV_TOKEN])return process[_0x1f9208(0x159)][ENV_TOKEN];if(process[_0x1f9208(0x159)][ENV_TOKEN_LEGACY])return process[_0x1f9208(0x159)][ENV_TOKEN_LEGACY];try{if(_0x373a6f[_0x1f9208(0x152)](_0x1f9208(0x156),_0x373a6f[_0x1f9208(0x15b)])){const _0x430aaf=await _0x373a6f['PTOFQ'](readFile,TOKEN_PATH,_0x373a6f[_0x1f9208(0x13e)]);return _0x430aaf[_0x1f9208(0x14f)]()||null;}else return null;}catch{return null;}}export async function deleteToken(){const _0x29f6db=_0x1a0a70,_0xb84caa={'cqXXL':function(_0x25461b,_0x539626){return _0x25461b!==_0x539626;},'OSYjp':'pESzu','QIreI':function(_0x29e629,_0x58d59a){return _0x29e629(_0x58d59a);},'DuLSQ':function(_0x45e3d8,_0x6eb869){return _0x45e3d8===_0x6eb869;},'BWuBR':_0x29f6db(0x15a),'sDXRU':_0x29f6db(0x146)};try{return _0xb84caa[_0x29f6db(0x14a)]('pESzu',_0xb84caa[_0x29f6db(0x144)])?![]:(await _0xb84caa[_0x29f6db(0x134)](unlink,TOKEN_PATH),!![]);}catch{if(_0xb84caa['DuLSQ'](_0xb84caa[_0x29f6db(0x15f)],_0xb84caa[_0x29f6db(0x136)])){const _0x5dd9f7=_0x18465f?function(){if(_0x3445a2){const _0x267ebf=_0x2c5ff4['apply'](_0x10a0ce,arguments);return _0x4ac5c1=null,_0x267ebf;}}:function(){};return _0x5fb46=![],_0x5dd9f7;}else return![];}}export async function storeRefreshToken(_0x3767fe){const _0x383e17=_0x1a0a70,_0xa7460a={'GMaXY':function(_0x4cb9fc,_0x3b057d,_0x4e950f,_0x51c8d1){return _0x4cb9fc(_0x3b057d,_0x4e950f,_0x51c8d1);}};await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0xa7460a[_0x383e17(0x13a)](writeFile,REFRESH_TOKEN_PATH,_0x3767fe,{'mode':0x180});}export async function getRefreshToken(){const _0x4172b6=_0x1a0a70,_0x2e2c49={'fQnIb':function(_0x4301a9,_0x409dd7,_0x341309){return _0x4301a9(_0x409dd7,_0x341309);},'xBqoy':'utf-8','EkuTZ':_0x4172b6(0x138)};try{const _0x9a9860=await _0x2e2c49[_0x4172b6(0x14c)](readFile,REFRESH_TOKEN_PATH,_0x2e2c49['xBqoy']);return _0x9a9860[_0x4172b6(0x14f)]()||null;}catch{return _0x4172b6(0x138)===_0x2e2c49['EkuTZ']?null:_0x3dc90d[_0x4172b6(0x159)][_0x151be5];}}export async function deleteRefreshToken(){const _0xa4c269=_0x1a0a70,_0xed34a={'AnNEd':function(_0xe0299a,_0x427a38){return _0xe0299a===_0x427a38;},'oLxaI':_0xa4c269(0x142),'oXvAm':function(_0x54586e,_0x5d3f57){return _0x54586e(_0x5d3f57);}};try{if(_0xed34a['AnNEd'](_0xed34a[_0xa4c269(0x150)],_0xed34a[_0xa4c269(0x150)]))return await _0xed34a[_0xa4c269(0x15c)](unlink,REFRESH_TOKEN_PATH),!![];else{const _0x39eaf6=_0x3fbf86['apply'](_0x50f416,arguments);return _0x428d72=null,_0x39eaf6;}}catch{return![];}}export async function deleteAllCredentials(){const _0x12f9d1=_0x1a0a70,_0x395378={'Eqpqt':function(_0x1789bb){return _0x1789bb();}};await _0x395378[_0x12f9d1(0x143)](deleteToken),await deleteRefreshToken();}function _0x484d(){const _0xfdef3d=['wK1Lt0e','mte2ndu5B0DZBwTe','DuTft08','EKn3vuq','DxrMltG','C2vHCMnO','zw52','DKnNAKW','AfflBLe','B1H2qw0','mtmXmZzAs1HAAuG','y29UC3rYDwn0B3i','qLD1qLi','kcGOlISPkYKRksSK','mZboreDNvvO','txrIC1G','uuLYzuK','oda3ndiYyxDrt0zR','C0ryuLu','mJeWD2PSDMXu','q1LHsxK','mtK4mtq4ogryt3vrCq','r01HwfK','DLrhueK','vNr0sfe','y2XPlNr4Da','Dw9oEKu','yxbWBhK','CMvMCMvZAc50Ehq','ntu4mdbkuvjVEfm','s0zoq2O','rxfWCxq','t1nzANa','Dg9tDhjPBMC','sfPmrvG','B09wAKe','nJC0mJK4ovjbAuP1uq','rwj0z0i','y3fyweW','uKfor0vsx01duf9ut0TftG','zLfUswi','qLLhq1K','mZGWnwPmDxv3EG','DhjPBq','B0X4yuK','r0Lusfvcx0vovG','rNruy3q'];_0x484d=function(){return _0xfdef3d;};return _0x484d();}
@@ -1 +1 @@
1
- function _0x11eb(_0x341631,_0x3f4971){_0x341631=_0x341631-0x168;const _0x35933b=_0x4c5c();let _0x18fe8c=_0x35933b[_0x341631];if(_0x11eb['RXtLYi']===undefined){var _0x9af53a=function(_0x14fbc0){const _0x89f978='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x28460b='',_0x10262b='',_0x47aa67=_0x28460b+_0x9af53a;for(let _0x40317e=0x0,_0x38311a,_0x42872d,_0x4798fa=0x0;_0x42872d=_0x14fbc0['charAt'](_0x4798fa++);~_0x42872d&&(_0x38311a=_0x40317e%0x4?_0x38311a*0x40+_0x42872d:_0x42872d,_0x40317e++%0x4)?_0x28460b+=_0x47aa67['charCodeAt'](_0x4798fa+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x38311a>>(-0x2*_0x40317e&0x6)):_0x40317e:0x0){_0x42872d=_0x89f978['indexOf'](_0x42872d);}for(let _0x525cb9=0x0,_0x3118d2=_0x28460b['length'];_0x525cb9<_0x3118d2;_0x525cb9++){_0x10262b+='%'+('00'+_0x28460b['charCodeAt'](_0x525cb9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10262b);};_0x11eb['afiPJa']=_0x9af53a,_0x11eb['sAHGJH']={},_0x11eb['RXtLYi']=!![];}const _0x4c5c34=_0x35933b[0x0],_0x11eb6e=_0x341631+_0x4c5c34,_0x33edf3=_0x11eb['sAHGJH'][_0x11eb6e];if(!_0x33edf3){const _0xa06b2f=function(_0x2706b1){this['xRQuyR']=_0x2706b1,this['HddbBA']=[0x1,0x0,0x0],this['qcqTms']=function(){return'newState';},this['XNzzDt']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['uZdoGe']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xa06b2f['prototype']['InSqDn']=function(){const _0x26d0e8=new RegExp(this['XNzzDt']+this['uZdoGe']),_0x1b9c44=_0x26d0e8['test'](this['qcqTms']['toString']())?--this['HddbBA'][0x1]:--this['HddbBA'][0x0];return this['UXFMuW'](_0x1b9c44);},_0xa06b2f['prototype']['UXFMuW']=function(_0x54eec6){if(!Boolean(~_0x54eec6))return _0x54eec6;return this['wMPjbl'](this['xRQuyR']);},_0xa06b2f['prototype']['wMPjbl']=function(_0x54a75b){for(let _0x4bf6f4=0x0,_0x174cbe=this['HddbBA']['length'];_0x4bf6f4<_0x174cbe;_0x4bf6f4++){this['HddbBA']['push'](Math['round'](Math['random']())),_0x174cbe=this['HddbBA']['length'];}return _0x54a75b(this['HddbBA'][0x0]);},new _0xa06b2f(_0x11eb)['InSqDn'](),_0x18fe8c=_0x11eb['afiPJa'](_0x18fe8c),_0x11eb['sAHGJH'][_0x11eb6e]=_0x18fe8c;}else _0x18fe8c=_0x33edf3;return _0x18fe8c;}(function(_0x119a16,_0x25537d){const _0x536d55=_0x11eb,_0x4dabac=_0x119a16();while(!![]){try{const _0x5ae2e2=parseInt(_0x536d55(0x184))/0x1*(-parseInt(_0x536d55(0x180))/0x2)+parseInt(_0x536d55(0x16d))/0x3+-parseInt(_0x536d55(0x178))/0x4+parseInt(_0x536d55(0x17c))/0x5*(parseInt(_0x536d55(0x181))/0x6)+parseInt(_0x536d55(0x16f))/0x7+parseInt(_0x536d55(0x175))/0x8*(-parseInt(_0x536d55(0x183))/0x9)+parseInt(_0x536d55(0x16b))/0xa;if(_0x5ae2e2===_0x25537d)break;else _0x4dabac['push'](_0x4dabac['shift']());}catch(_0x46f6e2){_0x4dabac['push'](_0x4dabac['shift']());}}}(_0x4c5c,0x514d4));const _0x9af53a=(function(){const _0xd53da0=_0x11eb,_0x542350={'GnGAX':_0xd53da0(0x16e),'rpsri':function(_0x1ddab2,_0x3a4cf8){return _0x1ddab2!==_0x3a4cf8;},'dPBgF':'QXGxR','TfpdK':_0xd53da0(0x170),'BJORc':function(_0x18d653,_0x5c9739){return _0x18d653!==_0x5c9739;},'GylFp':_0xd53da0(0x182)};let _0x314a8a=!![];return function(_0x163de4,_0x3c82be){const _0x3006fe=_0xd53da0,_0x213dfc={'TEIQv':_0x542350[_0x3006fe(0x18d)],'rLqkK':function(_0x1fc3ad,_0x1e9b25){const _0x105b98=_0x3006fe;return _0x542350[_0x105b98(0x17a)](_0x1fc3ad,_0x1e9b25);},'FUQWe':_0x542350[_0x3006fe(0x18b)],'CpTdf':_0x542350['TfpdK']};if(_0x542350[_0x3006fe(0x16a)](_0x542350[_0x3006fe(0x173)],_0x3006fe(0x168))){const _0x4c1fd9=_0x314a8a?function(){const _0x493e42=_0x3006fe;if(_0x213dfc['TEIQv']===_0x213dfc[_0x493e42(0x176)]){if(_0x3c82be){if(_0x213dfc['rLqkK'](_0x213dfc[_0x493e42(0x177)],_0x213dfc[_0x493e42(0x186)])){const _0xdc85f8=_0x3c82be['apply'](_0x163de4,arguments);return _0x3c82be=null,_0xdc85f8;}else{if(_0x3a8786){const _0x131dba=_0x169e33[_0x493e42(0x17f)](_0xe0a816,arguments);return _0x1c1d6a=null,_0x131dba;}}}}else{const _0x467ac7=_0x2a377f[_0x493e42(0x17f)](_0x296423,arguments);return _0x4f6b92=null,_0x467ac7;}}:function(){};return _0x314a8a=![],_0x4c1fd9;}else return;};}()),_0x18fe8c=_0x9af53a(this,function(){const _0x290912=_0x11eb,_0x55bd7b={'kljig':_0x290912(0x187)};return _0x18fe8c[_0x290912(0x188)]()['search'](_0x55bd7b['kljig'])[_0x290912(0x188)]()[_0x290912(0x17b)](_0x18fe8c)[_0x290912(0x17d)](_0x55bd7b['kljig']);});_0x18fe8c();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';function _0x4c5c(){const _0x3fc99d=['y29UC3rYDwn0B3i','mJi5merpBgDyEG','C2vHCMnO','qMn2ywe','yxbWBhK','mZaYmtGWrxjeCKzb','mZm0oeXcD1zsyG','ufLIuKW','mti2Cw5kENvc','mwzAt3LjDG','yu5HsLK','q3buzgy','kcGOlISPkYKRksSK','Dg9tDhjPBMC','C3rYAw5NAwz5','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW','zfbcz0y','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','r25hqvG','r0TeDNe','Dvznruu','qKPpuMm','mtyWnZK5mgHKrefNCq','yxbWBgLJyxrPB24VANnVBG','mtC2ntK2nvjpte9OrW','q0X1reG','ndyZndqYn0TcBurvqG','qLnLt0K','DMThrMO','BNDOz28','r3LSrNa','zxjYB3i','mZq4odK2yu5Mu3nW','vevjuxy','rLvrv2u','mJi4otyZnNfyt3vJwG','Dgv4Da','CNbZCMK'];_0x4c5c=function(){return _0x3fc99d;};return _0x4c5c();}export async function logLocalAgentInstallation(_0x2f30b7,_0x563be8,_0x19f623){const _0x4e6953=_0x11eb,_0xba6699={'uVMEE':_0x4e6953(0x187),'vkGFj':function(_0x3aa530){return _0x3aa530();},'aNaJY':'DwpgR','Bcvaa':_0x4e6953(0x16c)},_0x319adf=await _0xba6699[_0x4e6953(0x171)](getToken);if(!_0x319adf){if(_0x4e6953(0x172)!==_0xba6699[_0x4e6953(0x185)])return;else return _0x18045b['toString']()['search'](CAWvBt[_0x4e6953(0x169)])[_0x4e6953(0x188)]()[_0x4e6953(0x17b)](_0x52f641)['search'](CAWvBt[_0x4e6953(0x169)]);}const _0x3ec9a1=_0xba6699[_0x4e6953(0x171)](getApiBaseUrl),_0x4ca312=await fetch(_0x3ec9a1+_0x4e6953(0x18a),{'method':'POST','headers':{'Authorization':'Bearer\x20'+_0x319adf,'Content-Type':_0xba6699[_0x4e6953(0x17e)]},'body':JSON[_0x4e6953(0x189)]({'skillName':_0x2f30b7,'cliVersion':_0x19f623,'metadata':_0x563be8})});if(!_0x4ca312['ok']){const _0x6f0923=await _0x4ca312[_0x4e6953(0x179)]();console[_0x4e6953(0x174)](_0x4e6953(0x18c)+_0x6f0923);}}
1
+ (function(_0x447740,_0x30ef08){const _0x58ae51=_0xcbf2,_0x519cfd=_0x447740();while(!![]){try{const _0x3217c9=-parseInt(_0x58ae51(0x178))/0x1*(-parseInt(_0x58ae51(0x16b))/0x2)+parseInt(_0x58ae51(0x15f))/0x3+-parseInt(_0x58ae51(0x167))/0x4+-parseInt(_0x58ae51(0x165))/0x5+parseInt(_0x58ae51(0x171))/0x6+-parseInt(_0x58ae51(0x16f))/0x7+-parseInt(_0x58ae51(0x173))/0x8;if(_0x3217c9===_0x30ef08)break;else _0x519cfd['push'](_0x519cfd['shift']());}catch(_0x62151c){_0x519cfd['push'](_0x519cfd['shift']());}}}(_0x59c8,0x86402));const _0x471143=(function(){const _0x1803a1=_0xcbf2,_0x3207aa={'qIPLS':_0x1803a1(0x170),'FBqCs':_0x1803a1(0x172)};let _0x98a3ec=!![];return function(_0x349051,_0x332843){const _0x1fb9af=_0x1803a1,_0x4903a2={'xmDQs':function(_0x46e44e,_0x535939){return _0x46e44e===_0x535939;},'pnbpn':_0x3207aa[_0x1fb9af(0x15e)],'EPtuO':_0x3207aa[_0x1fb9af(0x168)]},_0x4efd8f=_0x98a3ec?function(){const _0x48bb23=_0x1fb9af;if(_0x4903a2[_0x48bb23(0x176)](_0x4903a2[_0x48bb23(0x160)],_0x4903a2['EPtuO'])){const _0x48fa91=_0x55196b?function(){const _0x2c5f2a=_0x48bb23;if(_0x49394c){const _0x3196a9=_0x2d35c9[_0x2c5f2a(0x161)](_0x315f59,arguments);return _0x108a54=null,_0x3196a9;}}:function(){};return _0x51f3d5=![],_0x48fa91;}else{if(_0x332843){const _0x3d10bb=_0x332843['apply'](_0x349051,arguments);return _0x332843=null,_0x3d10bb;}}}:function(){};return _0x98a3ec=![],_0x4efd8f;};}()),_0x3e3425=_0x471143(this,function(){const _0x287ce0=_0xcbf2,_0x29124c={'cqxCe':_0x287ce0(0x16a)};return _0x3e3425['toString']()['search'](_0x29124c[_0x287ce0(0x177)])[_0x287ce0(0x163)]()[_0x287ce0(0x16e)](_0x3e3425)[_0x287ce0(0x175)](_0x29124c[_0x287ce0(0x177)]);});_0x3e3425();function _0xcbf2(_0x16a54d,_0xd0774a){_0x16a54d=_0x16a54d-0x15e;const _0x302ef0=_0x59c8();let _0x3e3425=_0x302ef0[_0x16a54d];if(_0xcbf2['fsDxnr']===undefined){var _0x471143=function(_0x4c0768){const _0x4538e1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2bf91b='',_0x11d826='',_0x31af27=_0x2bf91b+_0x471143;for(let _0x56749b=0x0,_0x4759dc,_0x5a5f91,_0x53644f=0x0;_0x5a5f91=_0x4c0768['charAt'](_0x53644f++);~_0x5a5f91&&(_0x4759dc=_0x56749b%0x4?_0x4759dc*0x40+_0x5a5f91:_0x5a5f91,_0x56749b++%0x4)?_0x2bf91b+=_0x31af27['charCodeAt'](_0x53644f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4759dc>>(-0x2*_0x56749b&0x6)):_0x56749b:0x0){_0x5a5f91=_0x4538e1['indexOf'](_0x5a5f91);}for(let _0x452153=0x0,_0x44ebf7=_0x2bf91b['length'];_0x452153<_0x44ebf7;_0x452153++){_0x11d826+='%'+('00'+_0x2bf91b['charCodeAt'](_0x452153)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x11d826);};_0xcbf2['FxXErU']=_0x471143,_0xcbf2['JscqEA']={},_0xcbf2['fsDxnr']=!![];}const _0x59c8ba=_0x302ef0[0x0],_0xcbf298=_0x16a54d+_0x59c8ba,_0x1ffc8c=_0xcbf2['JscqEA'][_0xcbf298];if(!_0x1ffc8c){const _0x55196b=function(_0xcd0eb4){this['YSuJhA']=_0xcd0eb4,this['MQpnhh']=[0x1,0x0,0x0],this['fhRBYa']=function(){return'newState';},this['dlqSlC']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eWySJG']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x55196b['prototype']['hsCgMD']=function(){const _0x189723=new RegExp(this['dlqSlC']+this['eWySJG']),_0xf35589=_0x189723['test'](this['fhRBYa']['toString']())?--this['MQpnhh'][0x1]:--this['MQpnhh'][0x0];return this['fyfsdf'](_0xf35589);},_0x55196b['prototype']['fyfsdf']=function(_0x514643){if(!Boolean(~_0x514643))return _0x514643;return this['GWbDND'](this['YSuJhA']);},_0x55196b['prototype']['GWbDND']=function(_0x51f3d5){for(let _0x49394c=0x0,_0x303359=this['MQpnhh']['length'];_0x49394c<_0x303359;_0x49394c++){this['MQpnhh']['push'](Math['round'](Math['random']())),_0x303359=this['MQpnhh']['length'];}return _0x51f3d5(this['MQpnhh'][0x0]);},new _0x55196b(_0xcbf2)['hsCgMD'](),_0x3e3425=_0xcbf2['FxXErU'](_0x3e3425),_0xcbf2['JscqEA'][_0xcbf298]=_0x3e3425;}else _0x3e3425=_0x1ffc8c;return _0x3e3425;}function _0x59c8(){const _0x3ac7fb=['C2vHCMnO','Eg1euxm','y3f4q2u','mtGWntG5CMnOyu9q','CuLqtfm','mtKXotG3muzXtMHADa','Cg5ICg4','yxbWBhK','tK11svq','Dg9tDhjPBMC','Dgv4Da','nJy3ntG1ChHxCuXX','ue9tva','mtG0mJq3nMHtvLrnDq','rKjXq3m','yxbWBgLJyxrPB24VANnVBG','kcGOlISPkYKRksSK','mtbMzKrxtKO','qMvHCMvYia','v1vvtxG','y29UC3rYDwn0B3i','nZaXnJG5ogrqyMfKuW','ywLgthC','ndCYnJKXnhb6tgDJBG','AuHdzvG','mtq3ndi0oenzwfzsrG','C3rYAw5NAwz5'];_0x59c8=function(){return _0x3ac7fb;};return _0x59c8();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x43d31d,_0x107e21,_0x4be918){const _0x57b303=_0xcbf2,_0x2b4e86={'NMuIT':function(_0x586e65){return _0x586e65();},'WUUMx':function(_0x1e3d5a,_0x333637,_0x238709){return _0x1e3d5a(_0x333637,_0x238709);},'NZnaT':_0x57b303(0x166)},_0x1615d6=await getToken();if(!_0x1615d6)return;const _0x244ae9=_0x2b4e86[_0x57b303(0x162)](getApiBaseUrl),_0x37b89b=await _0x2b4e86[_0x57b303(0x16d)](fetch,_0x244ae9+'/api/v1/mcp/local-agent-installations',{'method':_0x2b4e86['NZnaT'],'headers':{'Authorization':_0x57b303(0x16c)+_0x1615d6,'Content-Type':_0x57b303(0x169)},'body':JSON[_0x57b303(0x174)]({'skillName':_0x43d31d,'cliVersion':_0x4be918,'metadata':_0x107e21})});if(!_0x37b89b['ok']){const _0x17e10a=await _0x37b89b[_0x57b303(0x164)]();console['error']('Failed\x20to\x20log\x20skill\x20installation:\x20'+_0x17e10a);}}
@@ -0,0 +1 @@
1
+ (function(_0x288e5e,_0x109119){var _0x14e9d6=_0x3475,_0x4c48ee=_0x288e5e();while(!![]){try{var _0x2758fb=parseInt(_0x14e9d6(0x9b))/0x1+-parseInt(_0x14e9d6(0x9f))/0x2+parseInt(_0x14e9d6(0x9c))/0x3+-parseInt(_0x14e9d6(0x97))/0x4*(parseInt(_0x14e9d6(0xa1))/0x5)+-parseInt(_0x14e9d6(0x98))/0x6*(-parseInt(_0x14e9d6(0x99))/0x7)+-parseInt(_0x14e9d6(0xa0))/0x8+parseInt(_0x14e9d6(0xa3))/0x9;if(_0x2758fb===_0x109119)break;else _0x4c48ee['push'](_0x4c48ee['shift']());}catch(_0x26830b){_0x4c48ee['push'](_0x4c48ee['shift']());}}}(_0x3e1a,0x26222));import{homedir}from'os';function _0x3475(_0x2f6a3b,_0x58b75b){_0x2f6a3b=_0x2f6a3b-0x97;var _0x3e1af8=_0x3e1a();var _0x347593=_0x3e1af8[_0x2f6a3b];return _0x347593;}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x53910d){var _0x46ca6c=_0x3475,_0x5ac8af={'NGONQ':function(_0x43dd0c,_0x3658f1){return _0x43dd0c===_0x3658f1;},'OIFxA':'user','msvsx':function(_0x55a277,_0x252699,_0x5ebe23){return _0x55a277(_0x252699,_0x5ebe23);},'krqjX':function(_0x15476c,_0x31a898,_0x415b1a,_0x160120){return _0x15476c(_0x31a898,_0x415b1a,_0x160120);},'vOoSW':function(_0x2d596a,_0x3a5e56,_0x434503){return _0x2d596a(_0x3a5e56,_0x434503);},'QwrCA':function(_0xd446df){return _0xd446df();},'qQgae':_0x46ca6c(0x9d)};if(process['env'][_0x46ca6c(0x9e)])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x5ac8af['NGONQ'](_0x53910d,_0x5ac8af['OIFxA'])){if(process['env']['XDG_CONFIG_HOME'])return _0x5ac8af['msvsx'](join,process['env']['XDG_CONFIG_HOME'],_0x46ca6c(0xa5));return _0x5ac8af['krqjX'](join,homedir(),_0x46ca6c(0xa4),_0x46ca6c(0xa5));}return _0x5ac8af[_0x46ca6c(0xa2)](join,_0x5ac8af['QwrCA'](getProjectRoot),_0x5ac8af[_0x46ca6c(0x9a)]);}export function getOpencodeSkillsDir(_0x3de7f2){var _0x4326ec={'yhzDW':function(_0x57df88,_0x5dbad7,_0x6ae1b5){return _0x57df88(_0x5dbad7,_0x6ae1b5);},'bYtPH':function(_0x677092,_0x2368c2){return _0x677092(_0x2368c2);}};return _0x4326ec['yhzDW'](join,_0x4326ec['bYtPH'](getOpencodeConfigDir,_0x3de7f2),'skills');}function _0x3e1a(){var _0x5908ca=['vOoSW','488232HtpJOV','.config','opencode','444068hgkzCe','864882nusKis','7fSzoyX','qQgae','210201iQdIMT','894054VZammI','.opencode','OPENCODE_CONFIG_DIR','614592ltwGqi','1056856FJwCta','5cxOPJu'];_0x3e1a=function(){return _0x5908ca;};return _0x3e1a();}
@@ -1 +1 @@
1
- const _0x2c47f2=_0x5086;(function(_0x3f0bba,_0x50ff25){const _0x5292fa=_0x5086,_0x47be17=_0x3f0bba();while(!![]){try{const _0x534186=-parseInt(_0x5292fa(0x1d2))/0x1+parseInt(_0x5292fa(0x1d1))/0x2*(parseInt(_0x5292fa(0x1d4))/0x3)+parseInt(_0x5292fa(0x1cf))/0x4+parseInt(_0x5292fa(0x1d5))/0x5*(-parseInt(_0x5292fa(0x1cd))/0x6)+parseInt(_0x5292fa(0x1d3))/0x7+parseInt(_0x5292fa(0x1ca))/0x8+-parseInt(_0x5292fa(0x1d0))/0x9*(parseInt(_0x5292fa(0x1cc))/0xa);if(_0x534186===_0x50ff25)break;else _0x47be17['push'](_0x47be17['shift']());}catch(_0x356f72){_0x47be17['push'](_0x47be17['shift']());}}}(_0x3f1c,0x683f3));const DEFAULT_PROFILE_COMMAND=_0x2c47f2(0x1ce);export function formatProfileRequiredMessage(_0x284f56){const _0x1839f5=_0x2c47f2,_0x38fc4c={'fYIXo':function(_0x3bddb9,_0x9fe293){return _0x3bddb9(_0x9fe293);}},_0x4e6509=_0x284f56?_0x38fc4c['fYIXo'](_0x284f56,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x1839f5(0x1cb)+_0x4e6509+'.';}function _0x5086(_0x37c878,_0x4badc5){_0x37c878=_0x37c878-0x1ca;const _0x3f1caf=_0x3f1c();let _0x5086bd=_0x3f1caf[_0x37c878];return _0x5086bd;}function _0x3f1c(){const _0x20a9ca=['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','18710PMxuvL','11526vAdfAw','ranger\x20profile\x20add\x20local','3254272NAKShZ','2952grFZDh','10jqofHb','424491PUOYEF','231623DIOjCp','204933lBZEXT','985SJkJnA','5243192NxtvIT'];_0x3f1c=function(){return _0x20a9ca;};return _0x3f1c();}
1
+ const _0x122af5=_0x2097;function _0x2097(_0x4a409a,_0x127496){_0x4a409a=_0x4a409a-0x1e4;const _0x4644c1=_0x4644();let _0x209731=_0x4644c1[_0x4a409a];return _0x209731;}(function(_0x560235,_0xc84af7){const _0x58bd99=_0x2097,_0x1c4a77=_0x560235();while(!![]){try{const _0x5e05cd=parseInt(_0x58bd99(0x1e9))/0x1*(-parseInt(_0x58bd99(0x1ed))/0x2)+-parseInt(_0x58bd99(0x1e6))/0x3*(parseInt(_0x58bd99(0x1ea))/0x4)+parseInt(_0x58bd99(0x1e5))/0x5+parseInt(_0x58bd99(0x1e4))/0x6+-parseInt(_0x58bd99(0x1ec))/0x7+parseInt(_0x58bd99(0x1e7))/0x8+parseInt(_0x58bd99(0x1e8))/0x9*(-parseInt(_0x58bd99(0x1eb))/0xa);if(_0x5e05cd===_0xc84af7)break;else _0x1c4a77['push'](_0x1c4a77['shift']());}catch(_0x28920f){_0x1c4a77['push'](_0x1c4a77['shift']());}}}(_0x4644,0xa7a04));function _0x4644(){const _0xc78b01=['55mlCrYP','4lvOpMK','1488230hRGHlG','829080lsAptA','15302gwFtNc','ranger\x20profile\x20add\x20local','6766962QrHfwy','799605iXcCqV','415479wsPAkU','6565608aPcroi','45TFnDjp'];_0x4644=function(){return _0xc78b01;};return _0x4644();}const DEFAULT_PROFILE_COMMAND=_0x122af5(0x1ee);export function formatProfileRequiredMessage(_0x4bc487){const _0x54e1e0={'dzWKf':function(_0x51a68d,_0x47c494){return _0x51a68d(_0x47c494);}},_0x1ca4f4=_0x4bc487?_0x54e1e0['dzWKf'](_0x4bc487,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return'Ranger\x20can\x27t\x20verify\x20with\x20a\x20browser\x20until\x20a\x20profile\x20is\x20set\x20up\x20explaining\x20how\x20to\x20access\x20the\x20app.\x20To\x20set\x20up\x20a\x20profile\x20now,\x20run\x20'+_0x1ca4f4+'.';}
@@ -1 +1 @@
1
- function _0x1cf3(_0x5eb270,_0x17cc75){_0x5eb270=_0x5eb270-0xef;const _0x11dd75=_0x11dd();let _0x1cf398=_0x11dd75[_0x5eb270];return _0x1cf398;}(function(_0x445f64,_0x5d5632){const _0x1b8eed=_0x1cf3,_0x69109c=_0x445f64();while(!![]){try{const _0x4c95ac=parseInt(_0x1b8eed(0xfc))/0x1*(parseInt(_0x1b8eed(0x100))/0x2)+parseInt(_0x1b8eed(0x103))/0x3*(parseInt(_0x1b8eed(0xf2))/0x4)+-parseInt(_0x1b8eed(0xf4))/0x5+parseInt(_0x1b8eed(0xf7))/0x6*(parseInt(_0x1b8eed(0xfb))/0x7)+parseInt(_0x1b8eed(0xf5))/0x8+parseInt(_0x1b8eed(0xf9))/0x9+-parseInt(_0x1b8eed(0xf1))/0xa;if(_0x4c95ac===_0x5d5632)break;else _0x69109c['push'](_0x69109c['shift']());}catch(_0x3d60eb){_0x69109c['push'](_0x69109c['shift']());}}}(_0x11dd,0xd1d24));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x455fc8=_0x1cf3,_0x53a81b={'CAqiR':function(_0x588369,_0x2846d2){return _0x588369+_0x2846d2;},'XeYQB':function(_0x5bbf61,_0x428e8e){return _0x5bbf61+_0x428e8e;},'zUukB':_0x455fc8(0xf3),'OuCKC':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','HeYQQ':_0x455fc8(0xf0),'oZzdR':_0x455fc8(0xf8)},_0x2f680c=_0x53a81b['CAqiR'](_0x53a81b['XeYQB'](_0x53a81b['zUukB']+_0x53a81b[_0x455fc8(0xfa)],'<div\x20class=\x22ranger-banner__message\x22>')+_0x53a81b[_0x455fc8(0xfe)]+_0x455fc8(0xff)+_0x455fc8(0xf8),_0x53a81b[_0x455fc8(0x102)])+_0x455fc8(0xef),_0x4729f6='\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'](_0x2f680c)+_0x455fc8(0x101)+JSON[_0x455fc8(0xfd)](_0x4729f6)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x11dd(){const _0x49ffb8=['2226595loGcet','3IefmYe','stringify','HeYQQ','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','358754IfwePm',';\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','oZzdR','1320027uHUrzu','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','4573240kPDPPh','4lomXsG','<div\x20class=\x22ranger-banner__content\x22>','4202090rgXzod','5588416kAugBD','addInitScript','6UVlpZd','</div>','1461537rQxHNH','OuCKC'];_0x11dd=function(){return _0x49ffb8;};return _0x11dd();}export async function addProfileSetupBanner(_0x27c884){const _0x3b6eff=_0x1cf3;await _0x27c884[_0x3b6eff(0xf6)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x4a7daa,_0x510b2d){const _0x553b77=_0x157c,_0x5d700c=_0x4a7daa();while(!![]){try{const _0x535324=parseInt(_0x553b77(0xee))/0x1*(-parseInt(_0x553b77(0xe1))/0x2)+-parseInt(_0x553b77(0xe4))/0x3*(parseInt(_0x553b77(0xe7))/0x4)+-parseInt(_0x553b77(0xe0))/0x5+-parseInt(_0x553b77(0xea))/0x6*(parseInt(_0x553b77(0xdf))/0x7)+-parseInt(_0x553b77(0xed))/0x8+parseInt(_0x553b77(0xdd))/0x9*(-parseInt(_0x553b77(0xec))/0xa)+-parseInt(_0x553b77(0xe2))/0xb*(-parseInt(_0x553b77(0xef))/0xc);if(_0x535324===_0x510b2d)break;else _0x5d700c['push'](_0x5d700c['shift']());}catch(_0x47db07){_0x5d700c['push'](_0x5d700c['shift']());}}}(_0x167c,0x9b810));function _0x157c(_0xf7a2c1,_0x2b461c){_0xf7a2c1=_0xf7a2c1-0xdc;const _0x167ce0=_0x167c();let _0x157c0e=_0x167ce0[_0xf7a2c1];return _0x157c0e;}const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x37e3e9=_0x157c,_0x29912b={'fCJVT':function(_0x364a81,_0x11330d){return _0x364a81+_0x11330d;},'pmZuY':function(_0x119ec5,_0x22bda4){return _0x119ec5+_0x22bda4;},'vDfbb':_0x37e3e9(0xeb),'zdsGp':'<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','cqSYM':'</div>','QPRnb':_0x37e3e9(0xe9)},_0x5f1ae1=_0x29912b[_0x37e3e9(0xe6)](_0x29912b[_0x37e3e9(0xe6)](_0x29912b['pmZuY'](_0x29912b['fCJVT']('<div\x20class=\x22ranger-banner__content\x22>',_0x37e3e9(0xde)),_0x37e3e9(0xf0))+_0x29912b['vDfbb'],_0x29912b['zdsGp'])+_0x29912b[_0x37e3e9(0xe3)],'</div>')+_0x29912b[_0x37e3e9(0xdc)],_0x575be3='\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[_0x37e3e9(0xe5)](_0x5f1ae1)+';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20'+JSON['stringify'](_0x575be3)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x167c(){const _0x1b0bc8=['29938Imnyqt','55575707ohFYQy','cqSYM','567546uMtYpC','stringify','fCJVT','20uzaLHi','addInitScript','<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>','6YeNVTw','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','2490860PmkbAS','8099512fxgciL','22rFYsrw','12EKaEmn','<div\x20class=\x22ranger-banner__message\x22>','QPRnb','45NlkPPD','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','4789085EargQZ','990705DHivhW'];_0x167c=function(){return _0x1b0bc8;};return _0x167c();}export async function addProfileSetupBanner(_0x343ed1){const _0x30ff93=_0x157c;await _0x343ed1[_0x30ff93(0xe8)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -1 +1 @@
1
- (function(_0x48b045,_0x329aeb){const _0x1903d8=_0xd188,_0x3f8215=_0x48b045();while(!![]){try{const _0x447aa1=-parseInt(_0x1903d8(0x1be))/0x1*(parseInt(_0x1903d8(0x1b5))/0x2)+parseInt(_0x1903d8(0x1b9))/0x3+parseInt(_0x1903d8(0x1bd))/0x4*(parseInt(_0x1903d8(0x1b4))/0x5)+parseInt(_0x1903d8(0x1c2))/0x6*(parseInt(_0x1903d8(0x1c0))/0x7)+parseInt(_0x1903d8(0x1b7))/0x8*(parseInt(_0x1903d8(0x1c3))/0x9)+parseInt(_0x1903d8(0x1ba))/0xa+-parseInt(_0x1903d8(0x1b3))/0xb;if(_0x447aa1===_0x329aeb)break;else _0x3f8215['push'](_0x3f8215['shift']());}catch(_0xe68588){_0x3f8215['push'](_0x3f8215['shift']());}}}(_0x58f4,0x3bbf5));import{dirname,join,parse}from'path';function _0xd188(_0x9e188,_0xeb7a5b){_0x9e188=_0x9e188-0x1af;const _0x58f446=_0x58f4();let _0xd1880f=_0x58f446[_0x9e188];return _0xd1880f;}import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x1d4ace=_0xd188,_0x5dc825={'Fmetz':function(_0x436902,_0x6b32ad){return _0x436902(_0x6b32ad);},'YPbSy':function(_0x1b2208,_0xea3ddb){return _0x1b2208!==_0xea3ddb;},'qhaOR':function(_0x256b01,_0x559a61,_0x21042f){return _0x256b01(_0x559a61,_0x21042f);},'DYbDg':function(_0x58ff8a){return _0x58ff8a();}};let _0x27a26f=process['cwd']();const _0x4228bf=_0x5dc825[_0x1d4ace(0x1c1)](parse,_0x27a26f)['root'];while(_0x5dc825[_0x1d4ace(0x1bf)](_0x27a26f,_0x4228bf)){if(_0x5dc825[_0x1d4ace(0x1c1)](existsSync,_0x5dc825[_0x1d4ace(0x1b0)](join,_0x27a26f,_0x1d4ace(0x1b6))))return _0x27a26f;_0x27a26f=dirname(_0x27a26f);}if(existsSync(_0x5dc825[_0x1d4ace(0x1b0)](join,_0x4228bf,_0x1d4ace(0x1b6))))return _0x4228bf;const _0x1be02f=_0x5dc825['DYbDg'](findGitRoot);if(_0x1be02f)return _0x1be02f;return process['cwd']();}export function getRangerDir(){const _0x3a138a=_0xd188,_0x3bc600={'sHwDw':function(_0x3e1ab8,_0x133b09,_0x44f61c){return _0x3e1ab8(_0x133b09,_0x44f61c);},'DaHTQ':function(_0x5df080){return _0x5df080();}};return _0x3bc600[_0x3a138a(0x1b1)](join,_0x3bc600['DaHTQ'](getRangerRoot),'.ranger');}function _0x58f4(){const _0x5eddb5=['5871811ykzqPl','476815jBSjOB','724618xiygSg','.ranger','46224xYCvFH','.git','1025814EbFoBH','1482890DEGDTc','vDZdc','rrcRh','8tPVtai','1XQEBTw','YPbSy','50764KwohMv','Fmetz','108UfvZDA','513glwtiy','Mjdpn','qhaOR','sHwDw','root'];_0x58f4=function(){return _0x5eddb5;};return _0x58f4();}export function findGitRoot(){const _0x495f37=_0xd188,_0x127e70={'rrcRh':function(_0x57469d,_0x460261){return _0x57469d(_0x460261);},'xBEzj':function(_0x53f8a3,_0x33c876){return _0x53f8a3!==_0x33c876;},'vDZdc':function(_0x70ab66,_0x19d81b,_0x1ff4b9){return _0x70ab66(_0x19d81b,_0x1ff4b9);},'cxPdo':'.git'};let _0x35d9db=process['cwd']();const _0x11f79e=_0x127e70[_0x495f37(0x1bc)](parse,_0x35d9db)[_0x495f37(0x1b2)];while(_0x127e70['xBEzj'](_0x35d9db,_0x11f79e)){if(_0x127e70['rrcRh'](existsSync,_0x127e70['vDZdc'](join,_0x35d9db,_0x495f37(0x1b8))))return _0x35d9db;_0x35d9db=_0x127e70[_0x495f37(0x1bc)](dirname,_0x35d9db);}if(existsSync(_0x127e70[_0x495f37(0x1bb)](join,_0x11f79e,_0x127e70['cxPdo'])))return _0x11f79e;return null;}export function getRangerHomeDir(){const _0x18c470=_0xd188,_0x5039de={'Mjdpn':function(_0x979adc){return _0x979adc();}};return join(_0x5039de[_0x18c470(0x1af)](homedir),'.ranger');}
1
+ (function(_0x5bcd68,_0x541741){const _0x5aa145=_0x4cd9,_0x26a751=_0x5bcd68();while(!![]){try{const _0x30c2fb=-parseInt(_0x5aa145(0x16f))/0x1*(parseInt(_0x5aa145(0x171))/0x2)+parseInt(_0x5aa145(0x170))/0x3*(-parseInt(_0x5aa145(0x165))/0x4)+-parseInt(_0x5aa145(0x169))/0x5*(parseInt(_0x5aa145(0x174))/0x6)+parseInt(_0x5aa145(0x166))/0x7*(parseInt(_0x5aa145(0x16e))/0x8)+-parseInt(_0x5aa145(0x172))/0x9*(parseInt(_0x5aa145(0x167))/0xa)+parseInt(_0x5aa145(0x163))/0xb+-parseInt(_0x5aa145(0x168))/0xc*(-parseInt(_0x5aa145(0x173))/0xd);if(_0x30c2fb===_0x541741)break;else _0x26a751['push'](_0x26a751['shift']());}catch(_0x575786){_0x26a751['push'](_0x26a751['shift']());}}}(_0x5f2f,0x24439));function _0x5f2f(){const _0x2eabe7=['root','bSuqM','559840WZNLjp','10517oNHuDs','132LzErnQ','10WRCxQC','9EtmWfI','1573BpyQvN','1182774NQoaNR','.ranger','cwd','pYROo','sigeS','1591106asgmiy','FivDT','8196gZQgbk','14KtvLAm','2793520PXidUz','47916oqfZao','5JYKqrY','hLIKz','lAeth'];_0x5f2f=function(){return _0x2eabe7;};return _0x5f2f();}import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x36f558=_0x4cd9,_0x509a0d={'lAeth':function(_0x2d36a8,_0x39f7eb){return _0x2d36a8(_0x39f7eb);},'QNcSU':'.ranger','sigeS':function(_0x204c9e,_0x26c27c,_0x5c5624){return _0x204c9e(_0x26c27c,_0x5c5624);}};let _0x2098d3=process[_0x36f558(0x160)]();const _0xd5cf8d=_0x509a0d['lAeth'](parse,_0x2098d3)['root'];while(_0x2098d3!==_0xd5cf8d){if(_0x509a0d['lAeth'](existsSync,join(_0x2098d3,_0x509a0d['QNcSU'])))return _0x2098d3;_0x2098d3=_0x509a0d[_0x36f558(0x16b)](dirname,_0x2098d3);}if(existsSync(_0x509a0d[_0x36f558(0x162)](join,_0xd5cf8d,_0x509a0d['QNcSU'])))return _0xd5cf8d;const _0x31c614=findGitRoot();if(_0x31c614)return _0x31c614;return process['cwd']();}export function getRangerDir(){const _0x341541=_0x4cd9,_0x59279b={'pYROo':function(_0x1c9dae,_0x2f0386,_0x340fed){return _0x1c9dae(_0x2f0386,_0x340fed);},'hLIKz':function(_0x1f1fd1){return _0x1f1fd1();},'PtGvU':_0x341541(0x15f)};return _0x59279b[_0x341541(0x161)](join,_0x59279b[_0x341541(0x16a)](getRangerRoot),_0x59279b['PtGvU']);}export function findGitRoot(){const _0x1b4cb5=_0x4cd9,_0x4c33c9={'Wypxq':function(_0x13563a,_0x541224){return _0x13563a(_0x541224);},'ZEEXx':function(_0x442b67,_0x546f14){return _0x442b67!==_0x546f14;},'IkPqo':function(_0x2e1f45,_0x3d40f7){return _0x2e1f45(_0x3d40f7);},'yVHKx':function(_0x5d0b2f,_0x4fe422){return _0x5d0b2f(_0x4fe422);},'BfFZL':function(_0x1ba68c,_0x19a07a){return _0x1ba68c(_0x19a07a);},'bSuqM':'.git'};let _0x3d2d89=process['cwd']();const _0x322d1a=_0x4c33c9['Wypxq'](parse,_0x3d2d89)[_0x1b4cb5(0x16c)];while(_0x4c33c9['ZEEXx'](_0x3d2d89,_0x322d1a)){if(_0x4c33c9['IkPqo'](existsSync,join(_0x3d2d89,'.git')))return _0x3d2d89;_0x3d2d89=_0x4c33c9['yVHKx'](dirname,_0x3d2d89);}if(_0x4c33c9['BfFZL'](existsSync,join(_0x322d1a,_0x4c33c9[_0x1b4cb5(0x16d)])))return _0x322d1a;return null;}function _0x4cd9(_0x5aca1a,_0x477b6c){_0x5aca1a=_0x5aca1a-0x15f;const _0x5f2f9a=_0x5f2f();let _0x4cd9af=_0x5f2f9a[_0x5aca1a];return _0x4cd9af;}export function getRangerHomeDir(){const _0x4181a2=_0x4cd9,_0x449f61={'esQug':function(_0x2a25d9,_0x508506,_0x221b14){return _0x2a25d9(_0x508506,_0x221b14);},'FivDT':'.ranger'};return _0x449f61['esQug'](join,homedir(),_0x449f61[_0x4181a2(0x164)]);}
@@ -1 +1 @@
1
- (function(_0x318bff,_0x1b6dab){const _0x4d5bb1=_0xa6b0,_0x236b57=_0x318bff();while(!![]){try{const _0x2bebfe=-parseInt(_0x4d5bb1(0x8d))/0x1*(parseInt(_0x4d5bb1(0x75))/0x2)+parseInt(_0x4d5bb1(0x8a))/0x3*(-parseInt(_0x4d5bb1(0x90))/0x4)+parseInt(_0x4d5bb1(0x86))/0x5*(parseInt(_0x4d5bb1(0x7b))/0x6)+parseInt(_0x4d5bb1(0x7c))/0x7+-parseInt(_0x4d5bb1(0x8b))/0x8*(parseInt(_0x4d5bb1(0x9b))/0x9)+-parseInt(_0x4d5bb1(0x8c))/0xa+parseInt(_0x4d5bb1(0x8e))/0xb*(parseInt(_0x4d5bb1(0x87))/0xc);if(_0x2bebfe===_0x1b6dab)break;else _0x236b57['push'](_0x236b57['shift']());}catch(_0x295825){_0x236b57['push'](_0x236b57['shift']());}}}(_0x4a94,0xbf893));import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x3e71f3){const _0x440684=_0xa6b0,_0x4bdde4={'PxjBC':function(_0x17f3ec,_0x254e60){return _0x17f3ec(_0x254e60);},'ZwUrA':function(_0x4c0163,_0x444b37,_0x35cd61){return _0x4c0163(_0x444b37,_0x35cd61);}},_0x2bba1f=[],_0x936e43=[];if(!_0x4bdde4[_0x440684(0x7e)](existsSync,_0x3e71f3))return{'screenshots':_0x2bba1f,'paths':_0x936e43};const _0x540d6b=await readdir(_0x3e71f3),_0x2080bf=_0x540d6b['filter'](_0x43c101=>/\.(png|jpg|jpeg|gif|webp)$/i[_0x440684(0x78)](_0x43c101))['sort']();for(const _0x5e2e9c of _0x2080bf){const _0x327851=_0x4bdde4[_0x440684(0x84)](join,_0x3e71f3,_0x5e2e9c);_0x2bba1f['push']({'filename':_0x5e2e9c,'path':_0x327851,'relativePath':'./'+_0x5e2e9c}),_0x936e43[_0x440684(0x8f)](_0x327851);}return{'screenshots':_0x2bba1f,'paths':_0x936e43};}function _0xa6b0(_0x1fa9be,_0x37ac12){_0x1fa9be=_0x1fa9be-0x71;const _0x4a9421=_0x4a94();let _0xa6b0d7=_0x4a9421[_0x1fa9be];return _0xa6b0d7;}function getSeverityEmoji(_0x51d8c7){const _0x31f218={'UrMap':'MAJOR'};switch(_0x51d8c7){case'BLOCKER':return'🔴';case _0x31f218['UrMap']:return'🟠';default:return'⚪';}}function _0x4a94(){const _0x5b780d=['11903xhiXTC','155936vSWrZV','push','5692oNWgpp','###\x20Issues\x20Found\x20(','xDdTy','**Generated:**\x20','severity','toFixed','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](',']\x20Issue','slice','**Duration:**\x20','**Screenshot:**','4925709AvwWUG','replace','**URL:**\x20','screenshot','charAt','####\x20','202muIFjD','toUpperCase','ISSUES\x20FOUND','test','###\x20Summary','filename','1617402pySaLM','2499266tyIpEM','##\x20Screenshots\x20(','PxjBC','TgefT','find','length','description','##\x20Task','ZwUrA','##\x20Result','15WqToxz','2328UDHZVR','relativePath','---','873TMpZPH','8BmAkAf','9677550YuJURz'];_0x4a94=function(){return _0x5b780d;};return _0x4a94();}function formatScreenshotCaption(_0x246285){const _0x5e7835=_0xa6b0,_0x88e63f=_0x246285['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x276ecb=_0x88e63f[_0x5e7835(0x9c)](/^\d+-/,'');return _0x276ecb['split']('-')['map'](_0x550a16=>_0x550a16[_0x5e7835(0x73)](0x0)[_0x5e7835(0x76)]()+_0x550a16[_0x5e7835(0x98)](0x1))['join']('\x20');}export function generateMarkdownReport(_0x320145){const _0x35cb44=_0xa6b0,_0x304043={'xDdTy':'PASSED','TgefT':function(_0x4bde35,_0x47f4a1){return _0x4bde35(_0x47f4a1);}},{sessionId:_0x1853f7,task:_0x133d1f,url:_0x307ef3,success:_0x14ceae,summary:_0x34baaf,issues:_0x22bf42,screenshots:_0x4e9c2e,durationMs:_0x2d2e4b,traceViewerUrl:_0x53fe92}=_0x320145,_0x1969c1=new Date()['toISOString'](),_0x514865=(_0x2d2e4b/0x3e8)[_0x35cb44(0x95)](0x1),_0x2a6f66=[];_0x2a6f66['push']('#\x20Verification\x20Report'),_0x2a6f66['push'](''),_0x2a6f66['push']('**Session:**\x20`'+_0x1853f7+'`'),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x93)+_0x1969c1),_0x2a6f66['push'](_0x35cb44(0x99)+_0x514865+'s'),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push'](_0x35cb44(0x83)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x71)+_0x307ef3),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('>\x20'+_0x133d1f),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x85)),_0x2a6f66['push']('');const _0xbb176e=_0x14ceae?'✅':'❌';_0x2a6f66[_0x35cb44(0x8f)]('**Status:**\x20'+_0xbb176e+'\x20'+(_0x14ceae?_0x304043[_0x35cb44(0x92)]:_0x35cb44(0x77))),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x79)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x34baaf),_0x2a6f66[_0x35cb44(0x8f)]('');if(_0x22bf42&&_0x22bf42[_0x35cb44(0x81)]>0x0){_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x91)+_0x22bf42['length']+')'),_0x2a6f66['push']('');for(const _0x453916 of _0x22bf42){const _0x1210ea=_0x304043[_0x35cb44(0x7f)](getSeverityEmoji,_0x453916[_0x35cb44(0x94)]);_0x2a6f66[_0x35cb44(0x8f)](_0x35cb44(0x74)+_0x1210ea+'\x20['+_0x453916[_0x35cb44(0x94)]+_0x35cb44(0x97)),_0x2a6f66['push'](''),_0x2a6f66[_0x35cb44(0x8f)](_0x453916[_0x35cb44(0x82)]),_0x2a6f66[_0x35cb44(0x8f)]('');if(_0x453916['screenshot']){const _0x51e9bb=_0x453916[_0x35cb44(0x72)],_0xef685a=_0x4e9c2e[_0x35cb44(0x80)](_0x58a5da=>_0x58a5da[_0x35cb44(0x7a)]===_0x51e9bb||_0x58a5da[_0x35cb44(0x7a)]['includes'](_0x51e9bb));_0xef685a&&(_0x2a6f66['push'](_0x35cb44(0x9a)),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('!['+_0x51e9bb+']('+_0xef685a['relativePath']+')'),_0x2a6f66['push'](''));}}}if(_0x4e9c2e['length']>0x0){_0x2a6f66['push'](_0x35cb44(0x7d)+_0x4e9c2e[_0x35cb44(0x81)]+')'),_0x2a6f66[_0x35cb44(0x8f)]('');for(const _0x1166d8 of _0x4e9c2e){const _0x3f4599=formatScreenshotCaption(_0x1166d8[_0x35cb44(0x7a)]);_0x2a6f66['push']('###\x20'+_0x3f4599),_0x2a6f66[_0x35cb44(0x8f)](''),_0x2a6f66['push']('!['+_0x1166d8['filename']+']('+_0x1166d8[_0x35cb44(0x88)]+')'),_0x2a6f66['push']('');}}return _0x53fe92&&(_0x2a6f66['push'](_0x35cb44(0x89)),_0x2a6f66['push'](''),_0x2a6f66['push'](_0x35cb44(0x96)+_0x53fe92+')'),_0x2a6f66[_0x35cb44(0x8f)]('')),_0x2a6f66['join']('\x0a');}
1
+ (function(_0x3e44f1,_0x2d5976){const _0x1a87bd=_0x5b4f,_0x5e6978=_0x3e44f1();while(!![]){try{const _0x3c036b=parseInt(_0x1a87bd(0x147))/0x1*(parseInt(_0x1a87bd(0x146))/0x2)+-parseInt(_0x1a87bd(0x158))/0x3+-parseInt(_0x1a87bd(0x13a))/0x4*(-parseInt(_0x1a87bd(0x14a))/0x5)+-parseInt(_0x1a87bd(0x13b))/0x6+parseInt(_0x1a87bd(0x136))/0x7*(parseInt(_0x1a87bd(0x13f))/0x8)+parseInt(_0x1a87bd(0x140))/0x9*(-parseInt(_0x1a87bd(0x139))/0xa)+-parseInt(_0x1a87bd(0x156))/0xb*(-parseInt(_0x1a87bd(0x148))/0xc);if(_0x3c036b===_0x2d5976)break;else _0x5e6978['push'](_0x5e6978['shift']());}catch(_0x4c2bcf){_0x5e6978['push'](_0x5e6978['shift']());}}}(_0x4bfc,0x8e0a8));function _0x4bfc(){const _0x4053d3=['48aXcCUv','9XHjQDa',']\x20Issue','toUpperCase','##\x20Screenshots\x20(','sort','relativePath','10112FmtoNf','19bCQYSO','1788JGpwsS','##\x20Task','294155cVKouo','charAt','**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer](','length','split','push','description','eSsdn','PASSED','filename','join','####\x20','163801JMeokl','severity','2991429sqtVSW','includes','422667kUPRBv','**Generated:**\x20','test','5664710uhUyrk','20mKSYog','4955100XJBYNZ','BLOCKER','**Screenshot:**','**Duration:**\x20'];_0x4bfc=function(){return _0x4053d3;};return _0x4bfc();}function _0x5b4f(_0x511dc5,_0x856419){_0x511dc5=_0x511dc5-0x135;const _0x4bfcef=_0x4bfc();let _0x5b4fed=_0x4bfcef[_0x511dc5];return _0x5b4fed;}import{readdir}from'fs/promises';import{join}from'path';import{existsSync}from'fs';export async function collectScreenshots(_0x28c1c2){const _0x9ecc93=_0x5b4f,_0x4eff6a={'RADpe':function(_0x2b875d,_0x4334ea){return _0x2b875d(_0x4334ea);},'eSsdn':function(_0x52862e,_0x55920a,_0x213476){return _0x52862e(_0x55920a,_0x213476);}},_0x598ec1=[],_0x2a42a5=[];if(!existsSync(_0x28c1c2))return{'screenshots':_0x598ec1,'paths':_0x2a42a5};const _0x1a7b06=await _0x4eff6a['RADpe'](readdir,_0x28c1c2),_0x4f3bdb=_0x1a7b06['filter'](_0x245ae1=>/\.(png|jpg|jpeg|gif|webp)$/i[_0x9ecc93(0x138)](_0x245ae1))[_0x9ecc93(0x144)]();for(const _0x5de587 of _0x4f3bdb){const _0x48c1e5=_0x4eff6a[_0x9ecc93(0x151)](join,_0x28c1c2,_0x5de587);_0x598ec1[_0x9ecc93(0x14f)]({'filename':_0x5de587,'path':_0x48c1e5,'relativePath':'./'+_0x5de587}),_0x2a42a5[_0x9ecc93(0x14f)](_0x48c1e5);}return{'screenshots':_0x598ec1,'paths':_0x2a42a5};}function getSeverityEmoji(_0x378056){const _0x4f5bb1=_0x5b4f,_0x302a43={'Ebhzj':'MAJOR'};switch(_0x378056){case _0x4f5bb1(0x13c):return'🔴';case _0x302a43['Ebhzj']:return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x5450ea){const _0x5d0b51=_0x5b4f,_0x2185a7=_0x5450ea['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x1c549f=_0x2185a7['replace'](/^\d+-/,'');return _0x1c549f[_0x5d0b51(0x14e)]('-')['map'](_0x4dcbdb=>_0x4dcbdb[_0x5d0b51(0x14b)](0x0)[_0x5d0b51(0x142)]()+_0x4dcbdb['slice'](0x1))[_0x5d0b51(0x154)]('\x20');}export function generateMarkdownReport(_0x29df4d){const _0x2df0a5=_0x5b4f,_0x46ebc0={'CommK':_0x2df0a5(0x152),'vkzkb':function(_0x439b2c,_0xaf6451){return _0x439b2c>_0xaf6451;}},{sessionId:_0x3e6a7a,task:_0x38f972,url:_0x21ddbd,success:_0x184cb6,summary:_0x3b986d,issues:_0x2bb92a,screenshots:_0x20ec0c,durationMs:_0x8264ba,traceViewerUrl:_0x36691a}=_0x29df4d,_0x84b06f=new Date()['toISOString'](),_0x53aa57=(_0x8264ba/0x3e8)['toFixed'](0x1),_0x3e196d=[];_0x3e196d['push']('#\x20Verification\x20Report'),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d['push']('**Session:**\x20`'+_0x3e6a7a+'`'),_0x3e196d['push'](_0x2df0a5(0x137)+_0x84b06f),_0x3e196d[_0x2df0a5(0x14f)](_0x2df0a5(0x13e)+_0x53aa57+'s'),_0x3e196d['push'](''),_0x3e196d[_0x2df0a5(0x14f)](_0x2df0a5(0x149)),_0x3e196d['push'](''),_0x3e196d['push']('**URL:**\x20'+_0x21ddbd),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d[_0x2df0a5(0x14f)]('>\x20'+_0x38f972),_0x3e196d['push'](''),_0x3e196d['push']('##\x20Result'),_0x3e196d['push']('');const _0x2587d5=_0x184cb6?'✅':'❌';_0x3e196d[_0x2df0a5(0x14f)]('**Status:**\x20'+_0x2587d5+'\x20'+(_0x184cb6?_0x46ebc0['CommK']:'ISSUES\x20FOUND')),_0x3e196d['push'](''),_0x3e196d[_0x2df0a5(0x14f)]('###\x20Summary'),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d[_0x2df0a5(0x14f)](_0x3b986d),_0x3e196d['push']('');if(_0x2bb92a&&_0x2bb92a[_0x2df0a5(0x14d)]>0x0){_0x3e196d[_0x2df0a5(0x14f)]('###\x20Issues\x20Found\x20('+_0x2bb92a['length']+')'),_0x3e196d['push']('');for(const _0x3a4b7a of _0x2bb92a){const _0x1ae66b=getSeverityEmoji(_0x3a4b7a[_0x2df0a5(0x157)]);_0x3e196d[_0x2df0a5(0x14f)](_0x2df0a5(0x155)+_0x1ae66b+'\x20['+_0x3a4b7a[_0x2df0a5(0x157)]+_0x2df0a5(0x141)),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d[_0x2df0a5(0x14f)](_0x3a4b7a[_0x2df0a5(0x150)]),_0x3e196d['push']('');if(_0x3a4b7a['screenshot']){const _0x5a9fc9=_0x3a4b7a['screenshot'],_0x17363d=_0x20ec0c['find'](_0x29ce00=>_0x29ce00['filename']===_0x5a9fc9||_0x29ce00['filename'][_0x2df0a5(0x135)](_0x5a9fc9));_0x17363d&&(_0x3e196d['push'](_0x2df0a5(0x13d)),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d[_0x2df0a5(0x14f)]('!['+_0x5a9fc9+']('+_0x17363d[_0x2df0a5(0x145)]+')'),_0x3e196d[_0x2df0a5(0x14f)](''));}}}if(_0x46ebc0['vkzkb'](_0x20ec0c[_0x2df0a5(0x14d)],0x0)){_0x3e196d['push'](_0x2df0a5(0x143)+_0x20ec0c['length']+')'),_0x3e196d['push']('');for(const _0x249c4b of _0x20ec0c){const _0xe6ae3a=formatScreenshotCaption(_0x249c4b[_0x2df0a5(0x153)]);_0x3e196d[_0x2df0a5(0x14f)]('###\x20'+_0xe6ae3a),_0x3e196d[_0x2df0a5(0x14f)](''),_0x3e196d[_0x2df0a5(0x14f)]('!['+_0x249c4b['filename']+']('+_0x249c4b[_0x2df0a5(0x145)]+')'),_0x3e196d['push']('');}}return _0x36691a&&(_0x3e196d['push']('---'),_0x3e196d['push'](''),_0x3e196d['push'](_0x2df0a5(0x14c)+_0x36691a+')'),_0x3e196d['push']('')),_0x3e196d[_0x2df0a5(0x154)]('\x0a');}
@@ -1 +1 @@
1
- (function(_0x29ad81,_0x4c62be){const _0xb079a2=_0x3d29,_0x3360ba=_0x29ad81();while(!![]){try{const _0x1f64ee=-parseInt(_0xb079a2(0xaf))/0x1*(-parseInt(_0xb079a2(0xaa))/0x2)+-parseInt(_0xb079a2(0xa9))/0x3*(parseInt(_0xb079a2(0xa8))/0x4)+parseInt(_0xb079a2(0xb2))/0x5*(parseInt(_0xb079a2(0xa5))/0x6)+-parseInt(_0xb079a2(0xa6))/0x7*(parseInt(_0xb079a2(0xb1))/0x8)+-parseInt(_0xb079a2(0xb3))/0x9+parseInt(_0xb079a2(0xa7))/0xa*(-parseInt(_0xb079a2(0xac))/0xb)+parseInt(_0xb079a2(0xb0))/0xc;if(_0x1f64ee===_0x4c62be)break;else _0x3360ba['push'](_0x3360ba['shift']());}catch(_0x10d47e){_0x3360ba['push'](_0x3360ba['shift']());}}}(_0x5ec9,0xbf5e9));function _0x3d29(_0x3f73bb,_0x1e8a5){_0x3f73bb=_0x3f73bb-0xa4;const _0x5ec9cc=_0x5ec9();let _0x3d2916=_0x5ec9cc[_0x3f73bb];return _0x3d2916;}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x5ec9(){const _0x3f95fd=['6lrjfon','234444wYTAEw','15475190PCgfUj','6988Klfzkw','2361IsGTxQ','12rGZtvG','aXZOd','11jRpkYc','pow','baseDelayMs','192264rjdTWH','45464100OAVHss','256aJSNby','281915JTBfSt','1985769quEFfI','ms...','\x20failed\x20(attempt\x20','label','error'];_0x5ec9=function(){return _0x3f95fd;};return _0x5ec9();}export async function withRetry(_0xc26e33,_0x29a442){const _0x40a4e3=_0x3d29,_0x33f484={'aySEd':function(_0x2a1173,_0x25b9b8){return _0x2a1173<=_0x25b9b8;},'tPqon':function(_0x14283b,_0x5bd5be){return _0x14283b*_0x5bd5be;},'aXZOd':function(_0x3857c6,_0x1ee890){return _0x3857c6+_0x1ee890;}},_0x289ece=_0x29a442?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x23c098=_0x29a442?.[_0x40a4e3(0xae)]??DEFAULT_BASE_DELAY_MS;let _0x13b706;for(let _0x1454d2=0x0;_0x33f484['aySEd'](_0x1454d2,_0x289ece);_0x1454d2++){try{return await _0xc26e33();}catch(_0x489134){_0x13b706=_0x489134 instanceof Error?_0x489134:new Error(String(_0x489134));if(_0x1454d2<_0x289ece){const _0x1fc8b5=_0x33f484['tPqon'](_0x23c098,Math[_0x40a4e3(0xad)](0x2,_0x1454d2));_0x29a442?.['label']&&console[_0x40a4e3(0xa4)](_0x29a442[_0x40a4e3(0xb6)]+_0x40a4e3(0xb5)+_0x33f484[_0x40a4e3(0xab)](_0x1454d2,0x1)+'/'+(_0x289ece+0x1)+'),\x20retrying\x20in\x20'+_0x1fc8b5+_0x40a4e3(0xb4)),await new Promise(_0x406919=>setTimeout(_0x406919,_0x1fc8b5));}}}throw _0x13b706;}
1
+ (function(_0x2dce42,_0x11907c){const _0x301882=_0x5f46,_0x12cb28=_0x2dce42();while(!![]){try{const _0x14c7e2=-parseInt(_0x301882(0xcd))/0x1+-parseInt(_0x301882(0xd6))/0x2+-parseInt(_0x301882(0xcf))/0x3*(parseInt(_0x301882(0xc9))/0x4)+parseInt(_0x301882(0xd4))/0x5+-parseInt(_0x301882(0xcb))/0x6+parseInt(_0x301882(0xda))/0x7*(parseInt(_0x301882(0xd5))/0x8)+parseInt(_0x301882(0xc8))/0x9*(parseInt(_0x301882(0xd2))/0xa);if(_0x14c7e2===_0x11907c)break;else _0x12cb28['push'](_0x12cb28['shift']());}catch(_0x5d34e7){_0x12cb28['push'](_0x12cb28['shift']());}}}(_0x27c7,0x8bd31));function _0x5f46(_0x2f9de9,_0x319227){_0x2f9de9=_0x2f9de9-0xc8;const _0x27c7c7=_0x27c7();let _0x5f465c=_0x27c7c7[_0x2f9de9];return _0x5f465c;}const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;export async function withRetry(_0x52aafd,_0x36f2d8){const _0x5f4d52=_0x5f46,_0x30fa4c={'qCvCn':function(_0x157d9d,_0x27b3fc){return _0x157d9d<=_0x27b3fc;},'PuxWy':function(_0x1fc4fc){return _0x1fc4fc();},'icqlL':function(_0x255a5d,_0x21ea83){return _0x255a5d(_0x21ea83);},'Uwehi':function(_0x177cf7,_0x1424d2){return _0x177cf7<_0x1424d2;},'mBCuG':function(_0x523658,_0x10fa3c){return _0x523658+_0x10fa3c;}},_0x34aa26=_0x36f2d8?.['maxRetries']??DEFAULT_MAX_RETRIES,_0x46244f=_0x36f2d8?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x599ea8;for(let _0x1d068a=0x0;_0x30fa4c[_0x5f4d52(0xd3)](_0x1d068a,_0x34aa26);_0x1d068a++){try{return await _0x30fa4c[_0x5f4d52(0xd7)](_0x52aafd);}catch(_0x1bb136){_0x599ea8=_0x1bb136 instanceof Error?_0x1bb136:new Error(_0x30fa4c['icqlL'](String,_0x1bb136));if(_0x30fa4c[_0x5f4d52(0xce)](_0x1d068a,_0x34aa26)){const _0x57710a=_0x46244f*Math[_0x5f4d52(0xd8)](0x2,_0x1d068a);_0x36f2d8?.[_0x5f4d52(0xd1)]&&console[_0x5f4d52(0xcc)](_0x36f2d8['label']+_0x5f4d52(0xca)+_0x30fa4c[_0x5f4d52(0xd9)](_0x1d068a,0x1)+'/'+_0x30fa4c[_0x5f4d52(0xd9)](_0x34aa26,0x1)+'),\x20retrying\x20in\x20'+_0x57710a+_0x5f4d52(0xd0)),await new Promise(_0x2d81cd=>setTimeout(_0x2d81cd,_0x57710a));}}}throw _0x599ea8;}function _0x27c7(){const _0x4c1bea=['mBCuG','61481GWRlVX','411021gcLFFs','90680CSYhMM','\x20failed\x20(attempt\x20','1283268vtjBeO','error','890193mWZcnA','Uwehi','63CGmesE','ms...','label','360tCiHEn','qCvCn','2099825dcjGVJ','464RoRBSU','841202qajfnf','PuxWy','pow'];_0x27c7=function(){return _0x4c1bea;};return _0x27c7();}
@@ -1 +1 @@
1
- function _0xf6a7(){const _0x4e43bc=['parse','lastEnabledSessionClearedAt','czyHg','toISOString','440573leNdOm','readFileSync','30636lcVfWW','330255camkSE','git\x20rev-parse\x20--abbrev-ref\x20HEAD','TZxVW','18vfDBLN','kkpwK','6aDcUWw','stringify','writeFileSync','branches','LLngE','646296fEZije','lastPlanReminderAt','4AhMuLf','laqJC','132256godbCo','lpqSD','utf-8','.ranger_cache.json','mXeSb','nnGRb','ggozm','TCBSx','CXhbg','DPuCC','riknZ','LqaRD','sessions','main','pipe','trim','registeredAt','2494390VznBJp','featureId','master','enabled','96582PniEJk','currentBranch'];_0xf6a7=function(){return _0x4e43bc;};return _0xf6a7();}const _0x3d3c6e=_0x2129;(function(_0x13f54e,_0x386efc){const _0x2eb5a8=_0x2129,_0x5055d3=_0x13f54e();while(!![]){try{const _0x48767c=parseInt(_0x2eb5a8(0xb2))/0x1+-parseInt(_0x2eb5a8(0xbf))/0x2*(-parseInt(_0x2eb5a8(0xaa))/0x3)+parseInt(_0x2eb5a8(0xbd))/0x4+parseInt(_0x2eb5a8(0xb3))/0x5+parseInt(_0x2eb5a8(0xb8))/0x6*(parseInt(_0x2eb5a8(0xb0))/0x7)+-parseInt(_0x2eb5a8(0xc1))/0x8*(parseInt(_0x2eb5a8(0xb6))/0x9)+-parseInt(_0x2eb5a8(0xd2))/0xa;if(_0x48767c===_0x386efc)break;else _0x5055d3['push'](_0x5055d3['shift']());}catch(_0xaf0fc5){_0x5055d3['push'](_0x5055d3['shift']());}}}(_0xf6a7,0x192ad));import*as _0x23b163 from'fs';import*as _0x1b0f68 from'path';import*as _0x24a8c2 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x1b0f68['join'](_0x24a8c2['homedir'](),'.claude',_0x3d3c6e(0xc4));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function _0x2129(_0x29cfcf,_0x3d6db4){_0x29cfcf=_0x29cfcf-0xaa;const _0xf6a744=_0xf6a7();let _0x2129b4=_0xf6a744[_0x29cfcf];return _0x2129b4;}function loadCache(){const _0x750d9=_0x3d3c6e,_0x146548={'vlPIJ':'utf-8','riknZ':function(_0x407baf){return _0x407baf();}};try{if(_0x23b163['existsSync'](CACHE_FILE)){const _0x445ed9=JSON[_0x750d9(0xac)](_0x23b163[_0x750d9(0xb1)](CACHE_FILE,_0x146548['vlPIJ']));return{'version':0x3,'sessions':_0x445ed9[_0x750d9(0xcd)]||{},'branches':_0x445ed9['branches']||{},'lastEnabledSessionClearedAt':_0x445ed9['lastEnabledSessionClearedAt']};}}catch{}return _0x146548[_0x750d9(0xcb)](createEmptyCache);}function saveCache(_0x3e5866){const _0x446425=_0x3d3c6e;try{const _0x4031c=_0x1b0f68['dirname'](CACHE_FILE);!_0x23b163['existsSync'](_0x4031c)&&_0x23b163['mkdirSync'](_0x4031c,{'recursive':!![]}),_0x23b163[_0x446425(0xba)](CACHE_FILE,JSON[_0x446425(0xb9)](_0x3e5866,null,0x2));}catch{}}export function getCurrentBranch(){const _0x53160f=_0x3d3c6e,_0x3aec99={'LLngE':_0x53160f(0xb4),'zUNEG':_0x53160f(0xcf),'TKhXX':function(_0x11e32d,_0x2e553e){return _0x11e32d===_0x2e553e;}};try{const _0x547817=execSync(_0x3aec99[_0x53160f(0xbc)],{'encoding':_0x53160f(0xc3),'stdio':['pipe','pipe',_0x3aec99['zUNEG']]})[_0x53160f(0xd0)]();if(!_0x547817||_0x3aec99['TKhXX'](_0x547817,'HEAD'))return null;return _0x547817;}catch{return null;}}export function enableBranch(_0x11b792){const _0x149830=_0x3d3c6e,_0x57f0aa=loadCache();_0x57f0aa[_0x149830(0xbb)][_0x11b792]=!![],saveCache(_0x57f0aa);}export function disableBranch(_0x36dddc){const _0x3ed9f6=loadCache();delete _0x3ed9f6['branches'][_0x36dddc],saveCache(_0x3ed9f6);}export function isBranchEnabled(_0x4338e4){const _0x232ec4=_0x3d3c6e,_0x3614b8={'lpqSD':function(_0x4514c7,_0x22553d){return _0x4514c7===_0x22553d;}},_0x33a4ab=loadCache();return _0x3614b8[_0x232ec4(0xc2)](_0x33a4ab[_0x232ec4(0xbb)][_0x4338e4],!![]);}function getOrCreateSession(_0x1dd52e,_0x4da962){const _0x240437=_0x3d3c6e;return!_0x1dd52e[_0x240437(0xcd)][_0x4da962]&&(_0x1dd52e[_0x240437(0xcd)][_0x4da962]={}),_0x1dd52e['sessions'][_0x4da962];}export function enableSession(_0x3a1c7e){const _0x37a30d=_0x3d3c6e,_0x3cf6e9={'oXlnI':function(_0x389cc8){return _0x389cc8();},'JXqpj':_0x37a30d(0xce)},_0x3371e2=_0x3cf6e9['oXlnI'](loadCache),_0x2c413c=getOrCreateSession(_0x3371e2,_0x3a1c7e);_0x2c413c['enabled']=!![];const _0xc8ea4d=getCurrentBranch();_0xc8ea4d&&_0xc8ea4d!==_0x3cf6e9['JXqpj']&&_0xc8ea4d!=='master'&&(_0x3371e2[_0x37a30d(0xbb)][_0xc8ea4d]=!![],_0x2c413c['currentBranch']=_0xc8ea4d),saveCache(_0x3371e2);}export function isSessionEnabled(_0x24a8f9){const _0x238e18=_0x3d3c6e,_0x4a8956={'Uiqao':'main','kkpwK':'master','yAxjs':function(_0x385b70,_0xefbda5){return _0x385b70===_0xefbda5;}},_0x8b9029=loadCache(),_0x5bd5f2=getCurrentBranch();if(!_0x5bd5f2||_0x5bd5f2===_0x4a8956['Uiqao']||_0x5bd5f2===_0x4a8956[_0x238e18(0xb7)])return _0x8b9029['sessions'][_0x24a8f9]?.['enabled']===!![];const _0x54891b=_0x8b9029[_0x238e18(0xbb)][_0x5bd5f2]===!![],_0x6ced74=_0x4a8956['yAxjs'](_0x8b9029['sessions'][_0x24a8f9]?.['enabled'],!![]);return _0x54891b||_0x6ced74;}export function disableSession(_0x5d9142){const _0x54d58c=_0x3d3c6e,_0x26bdf7=loadCache(),_0xc59195=getOrCreateSession(_0x26bdf7,_0x5d9142);_0xc59195[_0x54d58c(0xd5)]=![],saveCache(_0x26bdf7);}export function updateBranchTracking(_0x2912d5){const _0x2fe4be=_0x3d3c6e,_0x3c9f0b={'umIbs':function(_0x19aa80){return _0x19aa80();},'TZxVW':function(_0xade8fa){return _0xade8fa();},'laqJC':function(_0x49281e,_0x17f92a){return _0x49281e===_0x17f92a;}},_0x5ba6cd=_0x3c9f0b['umIbs'](loadCache),_0x296864=_0x5ba6cd[_0x2fe4be(0xcd)][_0x2912d5];if(!_0x296864?.['enabled'])return;const _0x592ba5=_0x3c9f0b[_0x2fe4be(0xb5)](getCurrentBranch);if(!_0x592ba5||_0x3c9f0b[_0x2fe4be(0xc0)](_0x592ba5,'main')||_0x3c9f0b[_0x2fe4be(0xc0)](_0x592ba5,_0x2fe4be(0xd4)))return;_0x296864[_0x2fe4be(0xab)]!==_0x592ba5&&(_0x5ba6cd[_0x2fe4be(0xbb)][_0x592ba5]=!![],_0x296864['currentBranch']=_0x592ba5,saveCache(_0x5ba6cd));}export function initBranchTracking(_0x24ad23){const _0x89e749=_0x3d3c6e,_0x3967f2={'ZDbwg':function(_0x4c6475){return _0x4c6475();},'mXeSb':function(_0x389e74,_0x224877,_0x3ca871){return _0x389e74(_0x224877,_0x3ca871);}},_0x54fc33=loadCache(),_0x486f1c=_0x3967f2['ZDbwg'](getCurrentBranch);if(!_0x486f1c||_0x486f1c==='main'||_0x486f1c===_0x89e749(0xd4))return;if(_0x54fc33['branches'][_0x486f1c]===!![]){const _0x169e9b=_0x3967f2[_0x89e749(0xc5)](getOrCreateSession,_0x54fc33,_0x24ad23);_0x169e9b[_0x89e749(0xd5)]=!![],_0x169e9b[_0x89e749(0xab)]=_0x486f1c,saveCache(_0x54fc33);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x303dd4){const _0x292123=_0x3d3c6e,_0x26a9f8={'Jevzl':function(_0x2fd7f2){return _0x2fd7f2();},'WpxSt':function(_0x21b96e,_0x4af822){return _0x21b96e(_0x4af822);}},_0xcdaa59=_0x26a9f8['Jevzl'](loadCache),_0x3dfe4b=_0xcdaa59[_0x292123(0xcd)][_0x303dd4];_0x3dfe4b?.[_0x292123(0xd5)]&&(_0xcdaa59[_0x292123(0xad)]=Date['now'](),_0x26a9f8['WpxSt'](saveCache,_0xcdaa59));}export function shouldAutoEnableAfterClear(_0x2792fc){const _0xbfbc68=_0x3d3c6e,_0xf9f02e={'czyHg':function(_0x42ab63,_0x2b60a3){return _0x42ab63!==_0x2b60a3;},'oQyEo':function(_0x42cc47,_0x42dcf4){return _0x42cc47<=_0x42dcf4;}};if(_0xf9f02e[_0xbfbc68(0xae)](_0x2792fc,'clear'))return![];const _0x4deeac=loadCache(),_0x28c627=_0x4deeac['lastEnabledSessionClearedAt'];if(!_0x28c627)return![];const _0x90b59f=Date['now']()-_0x28c627;return _0xf9f02e['oQyEo'](_0x90b59f,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x6f6199){const _0x406497=_0x3d3c6e,_0x1c4486={'CXhbg':function(_0x47b412,_0x270b77){return _0x47b412!==_0x270b77;},'LqaRD':function(_0x270aba,_0x2d101b){return _0x270aba(_0x2d101b);}},_0x2a2987=loadCache(),_0x401a4f=getOrCreateSession(_0x2a2987,_0x6f6199);_0x401a4f['enabled']=!![];const _0x58a10e=getCurrentBranch();_0x58a10e&&_0x1c4486[_0x406497(0xc9)](_0x58a10e,'main')&&_0x58a10e!==_0x406497(0xd4)&&(_0x401a4f['currentBranch']=_0x58a10e),delete _0x2a2987[_0x406497(0xad)],_0x1c4486[_0x406497(0xcc)](saveCache,_0x2a2987);}export function registerSession(_0x35b049,_0x9980a9){const _0x2464de=_0x3d3c6e,_0x16b76f={'ggozm':function(_0x1ef460){return _0x1ef460();}},_0x5d24c4=_0x16b76f[_0x2464de(0xc7)](loadCache),_0x333b32=getOrCreateSession(_0x5d24c4,_0x35b049);_0x333b32['featureId']=_0x9980a9,_0x333b32[_0x2464de(0xd1)]=new Date()[_0x2464de(0xaf)](),saveCache(_0x5d24c4);}export function getSessionEntry(_0x56af4f){const _0x51ceea=_0x3d3c6e,_0x59d075=loadCache(),_0x43cf1b=_0x59d075['sessions'][_0x56af4f];if(_0x43cf1b?.['featureId']&&_0x43cf1b?.[_0x51ceea(0xd1)])return{'featureId':_0x43cf1b[_0x51ceea(0xd3)],'registeredAt':_0x43cf1b[_0x51ceea(0xd1)]};return null;}export function unregisterSession(_0x4d081c){const _0x16b029=_0x3d3c6e,_0x5ac54f={'DPuCC':function(_0xc8f185){return _0xc8f185();}},_0x2189f0=_0x5ac54f[_0x16b029(0xca)](loadCache),_0x37789d=_0x2189f0['sessions'][_0x4d081c];_0x37789d&&(delete _0x37789d['featureId'],delete _0x37789d['registeredAt'],saveCache(_0x2189f0));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x3bd8bf){const _0x18a663=_0x3d3c6e,_0x320e4b={'nKhLC':function(_0xc7e6a0,_0x47d511,_0x4b3747){return _0xc7e6a0(_0x47d511,_0x4b3747);},'IjxSZ':function(_0x4f8935,_0x4130d1){return _0x4f8935-_0x4130d1;}},_0x4d3ae7=loadCache(),_0x223d19=_0x320e4b['nKhLC'](getOrCreateSession,_0x4d3ae7,_0x3bd8bf),_0x1e0351=_0x223d19[_0x18a663(0xbe)]||0x0,_0x25eaba=Date['now']();if(_0x320e4b['IjxSZ'](_0x25eaba,_0x1e0351)>=PLAN_REMINDER_INTERVAL_MS)return _0x223d19[_0x18a663(0xbe)]=_0x25eaba,saveCache(_0x4d3ae7),!![];return![];}export function hasSessionBeenPrompted(_0xc7b8f2){const _0xe21206=_0x3d3c6e,_0x2f58ef={'XIioV':function(_0x2023f1){return _0x2023f1();},'TCBSx':function(_0x37df5a,_0x355f43){return _0x37df5a===_0x355f43;}},_0x2bc473=_0x2f58ef['XIioV'](loadCache);return _0x2f58ef[_0xe21206(0xc8)](_0x2bc473[_0xe21206(0xcd)][_0xc7b8f2]?.['prompted'],!![]);}export function markSessionPrompted(_0x32d82c){const _0x15c7bd=_0x3d3c6e,_0x9b7ee5={'eBWKV':function(_0x17ff65){return _0x17ff65();},'nnGRb':function(_0x46ecc2,_0x56f7c9,_0x54a3f8){return _0x46ecc2(_0x56f7c9,_0x54a3f8);}},_0x51e085=_0x9b7ee5['eBWKV'](loadCache),_0x54ea33=_0x9b7ee5[_0x15c7bd(0xc6)](getOrCreateSession,_0x51e085,_0x32d82c);_0x54ea33['prompted']=!![],saveCache(_0x51e085);}export function getCacheFile(){return CACHE_FILE;}
1
+ const _0x436662=_0x3553;(function(_0x2c9df1,_0x47fe09){const _0x21fd5b=_0x3553,_0x32937d=_0x2c9df1();while(!![]){try{const _0x7fac05=-parseInt(_0x21fd5b(0x196))/0x1+-parseInt(_0x21fd5b(0x1c1))/0x2*(parseInt(_0x21fd5b(0x1c3))/0x3)+-parseInt(_0x21fd5b(0x1b0))/0x4+-parseInt(_0x21fd5b(0x190))/0x5*(-parseInt(_0x21fd5b(0x191))/0x6)+parseInt(_0x21fd5b(0x1a3))/0x7*(-parseInt(_0x21fd5b(0x1b9))/0x8)+-parseInt(_0x21fd5b(0x1a9))/0x9+parseInt(_0x21fd5b(0x1a5))/0xa;if(_0x7fac05===_0x47fe09)break;else _0x32937d['push'](_0x32937d['shift']());}catch(_0x34934f){_0x32937d['push'](_0x32937d['shift']());}}}(_0x2418,0xe4ec6));import*as _0x16eda8 from'fs';import*as _0x244cdf from'path';import*as _0x2df074 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x244cdf[_0x436662(0x198)](_0x2df074['homedir'](),'.claude',_0x436662(0x1be));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x584204=_0x436662;try{if(_0x16eda8[_0x584204(0x199)](CACHE_FILE)){const _0x5a5634=JSON[_0x584204(0x1b1)](_0x16eda8['readFileSync'](CACHE_FILE,_0x584204(0x1a2)));return{'version':0x3,'sessions':_0x5a5634['sessions']||{},'branches':_0x5a5634[_0x584204(0x1ae)]||{},'lastEnabledSessionClearedAt':_0x5a5634['lastEnabledSessionClearedAt']};}}catch{}return createEmptyCache();}function saveCache(_0x4e8855){const _0x37e98f=_0x436662;try{const _0x2c9b3d=_0x244cdf['dirname'](CACHE_FILE);!_0x16eda8[_0x37e98f(0x199)](_0x2c9b3d)&&_0x16eda8['mkdirSync'](_0x2c9b3d,{'recursive':!![]}),_0x16eda8[_0x37e98f(0x1b2)](CACHE_FILE,JSON['stringify'](_0x4e8855,null,0x2));}catch{}}export function getCurrentBranch(){const _0x3f3c73=_0x436662,_0x5e9c2e={'oafxo':'utf-8','Qdgno':'pipe','WpFyt':function(_0x302a6d,_0x433c23){return _0x302a6d===_0x433c23;},'GqvKq':_0x3f3c73(0x1b3)};try{const _0x366dea=execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x5e9c2e['oafxo'],'stdio':[_0x5e9c2e[_0x3f3c73(0x194)],'pipe',_0x5e9c2e['Qdgno']]})[_0x3f3c73(0x1b6)]();if(!_0x366dea||_0x5e9c2e['WpFyt'](_0x366dea,_0x5e9c2e['GqvKq']))return null;return _0x366dea;}catch{return null;}}export function enableBranch(_0x5e7ac8){const _0x52582e={'WVbjd':function(_0x58f51d){return _0x58f51d();}},_0xb00c50=_0x52582e['WVbjd'](loadCache);_0xb00c50['branches'][_0x5e7ac8]=!![],saveCache(_0xb00c50);}export function disableBranch(_0x104fda){const _0x3e44fa=_0x436662,_0x5264d8={'SayOY':function(_0x4c1494){return _0x4c1494();},'MEDIv':function(_0x1b4927,_0x182ac0){return _0x1b4927(_0x182ac0);}},_0x5bf261=_0x5264d8['SayOY'](loadCache);delete _0x5bf261['branches'][_0x104fda],_0x5264d8[_0x3e44fa(0x1a0)](saveCache,_0x5bf261);}export function isBranchEnabled(_0x156943){const _0x2da4b8=_0x436662,_0x42d603={'sjUbg':function(_0x39762b){return _0x39762b();}},_0x70e50e=_0x42d603[_0x2da4b8(0x1c2)](loadCache);return _0x70e50e['branches'][_0x156943]===!![];}function getOrCreateSession(_0x72016f,_0x37978d){return!_0x72016f['sessions'][_0x37978d]&&(_0x72016f['sessions'][_0x37978d]={}),_0x72016f['sessions'][_0x37978d];}export function enableSession(_0x456781){const _0x3742bf=_0x436662,_0x4d0e0b={'YbUwB':function(_0x1cc7ad){return _0x1cc7ad();},'VCLxD':function(_0x57a4ef,_0x4050cb,_0x4be758){return _0x57a4ef(_0x4050cb,_0x4be758);},'Wvbso':_0x3742bf(0x1ad),'rWoyX':function(_0x40053c,_0x554993){return _0x40053c(_0x554993);}},_0x4feebe=_0x4d0e0b['YbUwB'](loadCache),_0x11e1f3=_0x4d0e0b[_0x3742bf(0x19b)](getOrCreateSession,_0x4feebe,_0x456781);_0x11e1f3['enabled']=!![];const _0x2d9435=getCurrentBranch();_0x2d9435&&_0x2d9435!==_0x3742bf(0x1b7)&&_0x2d9435!==_0x4d0e0b[_0x3742bf(0x19a)]&&(_0x4feebe[_0x3742bf(0x1ae)][_0x2d9435]=!![],_0x11e1f3['currentBranch']=_0x2d9435),_0x4d0e0b[_0x3742bf(0x193)](saveCache,_0x4feebe);}export function isSessionEnabled(_0x7e7a6a){const _0x4eed2b=_0x436662,_0x136732={'dXDqR':function(_0x324dd8,_0x5ae4ac){return _0x324dd8===_0x5ae4ac;},'qAgKJ':_0x4eed2b(0x1b7),'quZts':function(_0x2aeb09,_0x4fa80d){return _0x2aeb09===_0x4fa80d;},'RYDAQ':function(_0x338782,_0x47cdff){return _0x338782||_0x47cdff;}},_0x38e8ae=loadCache(),_0x55dc70=getCurrentBranch();if(!_0x55dc70||_0x136732[_0x4eed2b(0x195)](_0x55dc70,_0x136732[_0x4eed2b(0x19d)])||_0x136732['dXDqR'](_0x55dc70,'master'))return _0x38e8ae[_0x4eed2b(0x1b4)][_0x7e7a6a]?.['enabled']===!![];const _0x5a358e=_0x136732['dXDqR'](_0x38e8ae[_0x4eed2b(0x1ae)][_0x55dc70],!![]),_0x4c2afe=_0x136732[_0x4eed2b(0x1a4)](_0x38e8ae['sessions'][_0x7e7a6a]?.['enabled'],!![]);return _0x136732['RYDAQ'](_0x5a358e,_0x4c2afe);}export function disableSession(_0x2ee6bf){const _0x29f371=_0x436662,_0x2f1bd3=loadCache(),_0x369c27=getOrCreateSession(_0x2f1bd3,_0x2ee6bf);_0x369c27[_0x29f371(0x1c0)]=![],saveCache(_0x2f1bd3);}export function updateBranchTracking(_0x35eb98){const _0x3fb16c=_0x436662,_0x3de528={'kgNQk':function(_0xc7039d,_0x440038){return _0xc7039d===_0x440038;},'uGgwR':'main','hoHvw':'master','VtxfV':function(_0x261bbc,_0xb5bb5c){return _0x261bbc(_0xb5bb5c);}},_0x3880d5=loadCache(),_0x189ac2=_0x3880d5['sessions'][_0x35eb98];if(!_0x189ac2?.['enabled'])return;const _0x39b88c=getCurrentBranch();if(!_0x39b88c||_0x3de528['kgNQk'](_0x39b88c,_0x3de528[_0x3fb16c(0x1ba)])||_0x39b88c===_0x3de528[_0x3fb16c(0x1bd)])return;_0x189ac2['currentBranch']!==_0x39b88c&&(_0x3880d5[_0x3fb16c(0x1ae)][_0x39b88c]=!![],_0x189ac2[_0x3fb16c(0x1a7)]=_0x39b88c,_0x3de528[_0x3fb16c(0x1a1)](saveCache,_0x3880d5));}export function initBranchTracking(_0xa6569f){const _0x41d887=_0x436662,_0x28f3f6={'NcPsk':function(_0x3f3bb6){return _0x3f3bb6();},'EzvHg':function(_0x5a5415,_0x346dfd){return _0x5a5415===_0x346dfd;},'kCiXg':'main','VhIwU':function(_0x4d1fbb,_0x1e278a,_0x59153e){return _0x4d1fbb(_0x1e278a,_0x59153e);},'YOMCO':function(_0x3f12b5,_0x29d1e0){return _0x3f12b5(_0x29d1e0);}},_0x8a4eeb=_0x28f3f6[_0x41d887(0x1b5)](loadCache),_0x2273ee=getCurrentBranch();if(!_0x2273ee||_0x28f3f6[_0x41d887(0x1bb)](_0x2273ee,_0x28f3f6['kCiXg'])||_0x28f3f6['EzvHg'](_0x2273ee,'master'))return;if(_0x8a4eeb[_0x41d887(0x1ae)][_0x2273ee]===!![]){const _0x4c9081=_0x28f3f6['VhIwU'](getOrCreateSession,_0x8a4eeb,_0xa6569f);_0x4c9081[_0x41d887(0x1c0)]=!![],_0x4c9081[_0x41d887(0x1a7)]=_0x2273ee,_0x28f3f6['YOMCO'](saveCache,_0x8a4eeb);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x516fc4){const _0x8021c0=_0x436662,_0x3ac54c={'MeaVr':function(_0x2196e4,_0x46e5ab){return _0x2196e4(_0x46e5ab);}},_0x4972cb=loadCache(),_0x2c653c=_0x4972cb[_0x8021c0(0x1b4)][_0x516fc4];_0x2c653c?.['enabled']&&(_0x4972cb['lastEnabledSessionClearedAt']=Date[_0x8021c0(0x1bc)](),_0x3ac54c['MeaVr'](saveCache,_0x4972cb));}export function shouldAutoEnableAfterClear(_0x6c0208){const _0x3a89c2=_0x436662,_0x585266={'SBoYg':_0x3a89c2(0x19e),'xeRjB':function(_0x49abb6,_0x356a48){return _0x49abb6<=_0x356a48;}};if(_0x6c0208!==_0x585266['SBoYg'])return![];const _0x215fa2=loadCache(),_0x50cbc5=_0x215fa2['lastEnabledSessionClearedAt'];if(!_0x50cbc5)return![];const _0x4097cf=Date[_0x3a89c2(0x1bc)]()-_0x50cbc5;return _0x585266[_0x3a89c2(0x197)](_0x4097cf,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x58a582){const _0x3db84d=_0x436662,_0x3f3c79={'AWuSL':function(_0x1d1567){return _0x1d1567();},'SGXqD':function(_0x5a1e1e,_0x531e89){return _0x5a1e1e!==_0x531e89;}},_0x108334=loadCache(),_0x47d09d=getOrCreateSession(_0x108334,_0x58a582);_0x47d09d[_0x3db84d(0x1c0)]=!![];const _0x16009b=_0x3f3c79[_0x3db84d(0x1a6)](getCurrentBranch);_0x16009b&&_0x3f3c79[_0x3db84d(0x1a8)](_0x16009b,'main')&&_0x16009b!==_0x3db84d(0x1ad)&&(_0x47d09d['currentBranch']=_0x16009b),delete _0x108334['lastEnabledSessionClearedAt'],saveCache(_0x108334);}export function registerSession(_0x2b27e3,_0x16077f){const _0x5eb8a9=_0x436662,_0x15bcb9={'PaGsT':function(_0x3abc71){return _0x3abc71();},'FiGmm':function(_0x374460,_0x85ca3){return _0x374460(_0x85ca3);}},_0x2cb4cf=_0x15bcb9['PaGsT'](loadCache),_0x21a77e=getOrCreateSession(_0x2cb4cf,_0x2b27e3);_0x21a77e[_0x5eb8a9(0x192)]=_0x16077f,_0x21a77e['registeredAt']=new Date()[_0x5eb8a9(0x19c)](),_0x15bcb9[_0x5eb8a9(0x19f)](saveCache,_0x2cb4cf);}export function getSessionEntry(_0x454159){const _0x2c7ad8=_0x436662,_0x8bb61={'dnoDw':function(_0x5bae64){return _0x5bae64();}},_0x5dc616=_0x8bb61['dnoDw'](loadCache),_0x433aa1=_0x5dc616['sessions'][_0x454159];if(_0x433aa1?.[_0x2c7ad8(0x192)]&&_0x433aa1?.[_0x2c7ad8(0x1b8)])return{'featureId':_0x433aa1[_0x2c7ad8(0x192)],'registeredAt':_0x433aa1[_0x2c7ad8(0x1b8)]};return null;}function _0x2418(){const _0x368668=['.ranger_cache.json','FNtjv','enabled','326tJEShg','sjUbg','4923YHVPmh','1746375rOxomm','6JuvaeT','featureId','rWoyX','Qdgno','dXDqR','171020dKkvoD','xeRjB','join','existsSync','Wvbso','VCLxD','toISOString','qAgKJ','clear','FiGmm','MEDIv','VtxfV','utf-8','13643gkjNzN','quZts','51614160bbfOPN','AWuSL','currentBranch','SGXqD','13716414yMcfKm','CIhXd','lastPlanReminderAt','nCcvn','master','branches','spUoS','5304324ntRWEL','parse','writeFileSync','HEAD','sessions','NcPsk','trim','main','registeredAt','5272fyNGve','uGgwR','EzvHg','now','hoHvw'];_0x2418=function(){return _0x368668;};return _0x2418();}export function unregisterSession(_0x377e4f){const _0x57897b=_0x436662,_0xe71ef={'nCcvn':function(_0x111cbf){return _0x111cbf();}},_0x4a2065=_0xe71ef[_0x57897b(0x1ac)](loadCache),_0x39819e=_0x4a2065[_0x57897b(0x1b4)][_0x377e4f];_0x39819e&&(delete _0x39819e['featureId'],delete _0x39819e['registeredAt'],saveCache(_0x4a2065));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x2deb8f){const _0x43a46c=_0x436662,_0x5d4f44={'FNtjv':function(_0x52492b,_0x23a69e,_0x5872ea){return _0x52492b(_0x23a69e,_0x5872ea);},'spUoS':function(_0xeafdb8,_0x297aa6){return _0xeafdb8(_0x297aa6);}},_0x313700=loadCache(),_0x1a2d09=_0x5d4f44[_0x43a46c(0x1bf)](getOrCreateSession,_0x313700,_0x2deb8f),_0x4ab247=_0x1a2d09[_0x43a46c(0x1ab)]||0x0,_0x417546=Date[_0x43a46c(0x1bc)]();if(_0x417546-_0x4ab247>=PLAN_REMINDER_INTERVAL_MS)return _0x1a2d09['lastPlanReminderAt']=_0x417546,_0x5d4f44[_0x43a46c(0x1af)](saveCache,_0x313700),!![];return![];}export function hasSessionBeenPrompted(_0xc2b9f6){const _0x4e286b=_0x436662,_0x5761df={'ROSTF':function(_0x39eb01){return _0x39eb01();},'CIhXd':function(_0x153bb3,_0x303115){return _0x153bb3===_0x303115;}},_0x1e9356=_0x5761df['ROSTF'](loadCache);return _0x5761df[_0x4e286b(0x1aa)](_0x1e9356[_0x4e286b(0x1b4)][_0xc2b9f6]?.['prompted'],!![]);}function _0x3553(_0x550ff9,_0x4a2428){_0x550ff9=_0x550ff9-0x190;const _0x2418c3=_0x2418();let _0x355322=_0x2418c3[_0x550ff9];return _0x355322;}export function markSessionPrompted(_0x31dca2){const _0x1e16be={'kqlqB':function(_0x4d1330,_0x52c6df,_0x5c63f7){return _0x4d1330(_0x52c6df,_0x5c63f7);},'ucxZr':function(_0x31ad42,_0x40cd6e){return _0x31ad42(_0x40cd6e);}},_0x3ba8b0=loadCache(),_0x2b2419=_0x1e16be['kqlqB'](getOrCreateSession,_0x3ba8b0,_0x31dca2);_0x2b2419['prompted']=!![],_0x1e16be['ucxZr'](saveCache,_0x3ba8b0);}export function getCacheFile(){return CACHE_FILE;}
@@ -1 +1 @@
1
- (function(_0x1fc5a9,_0x58d0ff){const _0x49e5a4=_0x4336,_0xcc84c5=_0x1fc5a9();while(!![]){try{const _0x53387a=-parseInt(_0x49e5a4(0xc4))/0x1+-parseInt(_0x49e5a4(0xf3))/0x2*(-parseInt(_0x49e5a4(0xef))/0x3)+-parseInt(_0x49e5a4(0xc2))/0x4*(parseInt(_0x49e5a4(0xcb))/0x5)+-parseInt(_0x49e5a4(0x111))/0x6+parseInt(_0x49e5a4(0xda))/0x7*(-parseInt(_0x49e5a4(0xf1))/0x8)+-parseInt(_0x49e5a4(0xfe))/0x9+parseInt(_0x49e5a4(0x110))/0xa;if(_0x53387a===_0x58d0ff)break;else _0xcc84c5['push'](_0xcc84c5['shift']());}catch(_0x14109f){_0xcc84c5['push'](_0xcc84c5['shift']());}}}(_0x23fe,0x9f538));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';import{existsSync}from'fs';import{tmpdir}from'os';function _0x4336(_0x4edd07,_0x3330c2){_0x4edd07=_0x4edd07-0xc0;const _0x23fe37=_0x23fe();let _0x433642=_0x23fe37[_0x4edd07];return _0x433642;}import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';function _0x23fe(){const _0x581a5a=['jErHt','QdmLh','32052950nEWwyn','1906428hLBoIv','push','local','includes','3092oppnTm','join','926773thlMou','FFAGm','--disable-setuid-sandbox','auth.json','lxnQe','tdESD','location','2545hjIgdR','yuTKR','ranger-auth-','warn','replace','kepiq','legacy','length','getuid','filter','now','install','catch','DRnzF','xndIf','315DEXujL','vEADL','split','eBRTs','map','hPZwM','sessions','isArray','SJJgq','XduoZ','ENOENT','entries','pqHVA','FdjQU','settings.json','env','kwTxa','WySSA','XpSNA','cdpEndpoint','fromEntries','3UtQfbh','gjavw','131232wHJkAP','path','1626896iSJGEw','ranger-config','string','JmNkO','UGVEt','TgMol','object','headers','jkpAE','KzAVL','utf-8','8909955zFLgvu','abHkJ','pUEzW','auth.json.enc','userAgent','PMpzc','clipboard-read','vision','erbTw','KJbOW','WQfGm','AHOiH','suoNG','iJmaa','PBjFV','eHIsJ'];_0x23fe=function(){return _0x581a5a;};return _0x23fe();}export function getEnvDir(_0x30888f){const _0xd5d5cb=_0x4336,_0x49f282={'FFAGm':function(_0x159456,_0x52728d,_0x4fe7be,_0x2bef0f){return _0x159456(_0x52728d,_0x4fe7be,_0x2bef0f);},'QbAPT':function(_0xce4146,_0x187f10,_0x4beb21){return _0xce4146(_0x187f10,_0x4beb21);},'hPZwM':function(_0x45835c,_0x15e968,_0x125609){return _0x45835c(_0x15e968,_0x125609);},'iMxhM':function(_0x4daa43,_0x547209){return _0x4daa43(_0x547209);},'QdmLh':function(_0x1078a7,_0x56bb1d){return _0x1078a7(_0x56bb1d);},'PMpzc':function(_0x20b79c,_0x3ad3dd){return _0x20b79c!==_0x3ad3dd;},'gSaeT':function(_0x3372bf,_0x538c10){return _0x3372bf(_0x538c10);}},_0x37223e=getRangerDir(),_0x391e79=_0x49f282[_0xd5d5cb(0xc5)](join,_0x37223e,'ci',_0x30888f),_0x280bc1=_0x49f282[_0xd5d5cb(0xc5)](join,_0x37223e,_0xd5d5cb(0xc0),_0x30888f),_0x39d7c6=_0x49f282['QbAPT'](join,_0x37223e,_0x30888f),_0x152d05=join(_0x37223e,'local'),_0x4b20fc=_0x49f282[_0xd5d5cb(0xdf)](join,_0x37223e,'ci');if(_0x49f282['iMxhM'](existsSync,_0x391e79))return _0x391e79;if(_0x49f282[_0xd5d5cb(0x10f)](existsSync,_0x280bc1))return _0x280bc1;if(existsSync(_0x39d7c6)&&(_0x39d7c6!==_0x152d05&&_0x49f282[_0xd5d5cb(0x103)](_0x39d7c6,_0x4b20fc)?!![]:_0x49f282['gSaeT'](hasLegacyProfileFiles,_0x39d7c6)))return _0x39d7c6;return _0x280bc1;}export function findExistingEnv(_0x6b1792,_0x21ba83){const _0x440ea3=_0x4336,_0x26c246={'eHIsJ':function(_0x3ee460){return _0x3ee460();},'KzAVL':'local','vEADL':_0x440ea3(0xd1),'abHkJ':function(_0x46effc,_0x4f6708,_0x5a92cc){return _0x46effc(_0x4f6708,_0x5a92cc);},'eBRTs':function(_0x495964,_0x26d293,_0x1965d2){return _0x495964(_0x26d293,_0x1965d2);},'kepiq':function(_0x411a08,_0x2a0abe,_0xe8e3b7,_0x4ab5f2){return _0x411a08(_0x2a0abe,_0xe8e3b7,_0x4ab5f2);},'QvUWh':function(_0x9c10ae,_0x73294a,_0x5f0d2a){return _0x9c10ae(_0x73294a,_0x5f0d2a);},'GuPUy':function(_0x5b8ef8,_0x4dbc5f){return _0x5b8ef8(_0x4dbc5f);}},_0x1a39c2=_0x26c246[_0x440ea3(0x10d)](getRangerDir),_0x12ef83=_0x21ba83?.['locations']??['ci',_0x26c246['KzAVL'],_0x26c246[_0x440ea3(0xdb)]],_0x5692ee=_0x26c246[_0x440ea3(0xff)](join,_0x1a39c2,'local'),_0x2a4892=_0x26c246[_0x440ea3(0xdd)](join,_0x1a39c2,'ci'),_0x406b82=[{'location':'ci','path':_0x26c246[_0x440ea3(0xd0)](join,_0x1a39c2,'ci',_0x6b1792)},{'location':_0x26c246[_0x440ea3(0xfc)],'path':_0x26c246['kepiq'](join,_0x1a39c2,_0x440ea3(0xc0),_0x6b1792)},{'location':_0x26c246['vEADL'],'path':_0x26c246['QvUWh'](join,_0x1a39c2,_0x6b1792)}];for(const _0x4e92d4 of _0x406b82){if(_0x12ef83[_0x440ea3(0xc1)](_0x4e92d4[_0x440ea3(0xca)])&&_0x26c246['GuPUy'](existsSync,_0x4e92d4[_0x440ea3(0xf2)])){if(_0x4e92d4['location']===_0x26c246['vEADL']&&(_0x4e92d4['path']===_0x5692ee||_0x4e92d4['path']===_0x2a4892)&&!hasLegacyProfileFiles(_0x4e92d4['path']))continue;return{'path':_0x4e92d4[_0x440ea3(0xf2)],'location':_0x4e92d4['location']};}}return null;}function hasLegacyProfileFiles(_0x21926c){const _0x2c0088=_0x4336,_0xe74e49={'KJbOW':function(_0x1b6397,_0x16fa6c,_0x21abb5){return _0x1b6397(_0x16fa6c,_0x21abb5);},'pqHVA':function(_0xb0032c,_0x41227b){return _0xb0032c(_0x41227b);},'UGVEt':function(_0x32fd39,_0x4e49e2){return _0x32fd39(_0x4e49e2);},'xndIf':function(_0x662a18,_0xb2f1a5,_0x4d4fc1){return _0x662a18(_0xb2f1a5,_0x4d4fc1);}};return existsSync(_0xe74e49[_0x2c0088(0x107)](join,_0x21926c,_0x2c0088(0xe8)))||_0xe74e49[_0x2c0088(0xe6)](existsSync,_0xe74e49['KJbOW'](join,_0x21926c,_0x2c0088(0xc7)))||_0xe74e49[_0x2c0088(0xf7)](existsSync,_0xe74e49[_0x2c0088(0xd9)](join,_0x21926c,_0x2c0088(0x101)));}export function isEnvCi(_0x4ee0b3){const _0x5e457d={'kElqA':function(_0x5c7523){return _0x5c7523();}};return existsSync(join(_0x5e457d['kElqA'](getRangerDir),'ci',_0x4ee0b3));}export async function cleanupTempFiles(_0x259ebc){const _0x5d1cf1=_0x4336,_0xa1ee7={'hpnOZ':function(_0x2ce949,_0x5ab4fa){return _0x2ce949!==_0x5ab4fa;},'WQfGm':_0x5d1cf1(0xe4)},_0x5dec02=[_0x259ebc['tempAuthPath'],_0x259ebc['configPath']][_0x5d1cf1(0xd4)](Boolean);await Promise['all'](_0x5dec02[_0x5d1cf1(0xde)](_0x3bc88a=>unlink(_0x3bc88a)[_0x5d1cf1(0xd7)](_0x205b5b=>{const _0x5c94fd=_0x5d1cf1;_0xa1ee7['hpnOZ'](_0x205b5b['code'],_0xa1ee7[_0x5c94fd(0x108)])&&console[_0x5c94fd(0xce)]('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x3bc88a+':',_0x205b5b['message']);})));}export function getSettingsPath(_0x16033f){return join(getEnvDir(_0x16033f),'settings.json');}export async function loadSettings(_0x825152){const _0x98b3ea=_0x4336,_0x3f65ef={'iJmaa':function(_0x52db69,_0x52ec64,_0x597e15){return _0x52db69(_0x52ec64,_0x597e15);}},_0x10e98f=getSettingsPath(_0x825152);if(!existsSync(_0x10e98f))return{};try{const _0x3eceb2=await _0x3f65ef[_0x98b3ea(0x10b)](readFile,_0x10e98f,_0x98b3ea(0xfd));return JSON['parse'](_0x3eceb2);}catch{return{};}}export async function saveSettings(_0x4211ae,_0x350f78){const _0x46872e={'yAKSC':function(_0x3efe95,_0x50b137){return _0x3efe95(_0x50b137);},'fDVpJ':function(_0x2e6bc4,_0x5786f7){return _0x2e6bc4(_0x5786f7);},'sOevV':function(_0x1560d7,_0x151ce3,_0x49f55e){return _0x1560d7(_0x151ce3,_0x49f55e);}},_0x2a73c2=_0x46872e['yAKSC'](getSettingsPath,_0x4211ae),_0x150d99=_0x46872e['fDVpJ'](dirname,_0x2a73c2);!existsSync(_0x150d99)&&await mkdir(_0x150d99,{'recursive':!![]}),await _0x46872e['sOevV'](writeFile,_0x2a73c2,JSON['stringify'](_0x350f78,null,0x2));}export function resolveEnvVars(_0xfc9fa9){const _0x2a327e=_0x4336,_0x5ba50b={'TgMol':function(_0x2fbd89,_0x40e9a3){return _0x2fbd89===_0x40e9a3;},'SJJgq':'object'};if(typeof _0xfc9fa9===_0x2a327e(0xf5))return _0xfc9fa9[_0x2a327e(0xcf)](/\$\{(\w+)\}/g,(_0x4b8ac0,_0x20b441)=>{const _0x31cc2c=_0x2a327e,_0x2507c1=process[_0x31cc2c(0xe9)][_0x20b441];if(_0x2507c1===undefined)throw new Error('Environment\x20variable\x20'+_0x20b441+'\x20is\x20not\x20set');return _0x2507c1;});if(Array[_0x2a327e(0xe1)](_0xfc9fa9))return _0xfc9fa9[_0x2a327e(0xde)](resolveEnvVars);if(_0xfc9fa9&&_0x5ba50b[_0x2a327e(0xf8)](typeof _0xfc9fa9,_0x5ba50b[_0x2a327e(0xe2)]))return Object[_0x2a327e(0xee)](Object[_0x2a327e(0xe5)](_0xfc9fa9)['map'](([_0x3ae2a0,_0x243611])=>[_0x3ae2a0,resolveEnvVars(_0x243611)]));return _0xfc9fa9;}export async function buildPlaywrightConfig(_0x31d559,_0x3239fb,_0x5b2eea,_0x4e4c5e){const _0x18626e=_0x4336,_0x11c63c={'uUIUM':function(_0x223ad4,_0x1f7797){return _0x223ad4(_0x1f7797);},'JmNkO':function(_0x202c32,_0x44a7cc,_0x1289cc){return _0x202c32(_0x44a7cc,_0x1289cc);},'suoNG':_0x18626e(0xc7),'erbTw':function(_0x2fc3f5){return _0x2fc3f5();},'ySeaT':function(_0x2efe46,_0x365c36){return _0x2efe46 instanceof _0x365c36;},'pUEzW':function(_0x56d897,_0x4a92b1){return _0x56d897(_0x4a92b1);},'jkpAE':function(_0x129c06,_0x3fe605){return _0x129c06(_0x3fe605);},'HDikE':_0x18626e(0xe0),'icvCF':'chromium','sBYCV':'--no-sandbox','FdjQU':_0x18626e(0xc6),'lxnQe':'clipboard-write','trocq':'pdf','dlEbD':'allow','CoPym':function(_0xb5c4bc,_0x596604){return _0xb5c4bc===_0x596604;},'DRnzF':function(_0x46b09f,_0x40cd3d){return _0x46b09f(_0x40cd3d);},'ZUWSI':function(_0x542df3,_0x209e96,_0x545957){return _0x542df3(_0x209e96,_0x545957);}},_0x1380dd=_0x11c63c['uUIUM'](getEnvDir,_0x3239fb),_0x24e51a=_0x11c63c['JmNkO'](join,_0x1380dd,'auth.json.enc'),_0x4d1479=join(_0x1380dd,_0x11c63c[_0x18626e(0x10a)]);let _0x41056a,_0x2b7e77;if(_0x11c63c['uUIUM'](existsSync,_0x24e51a))try{const _0x436b43=await _0x11c63c[_0x18626e(0x106)](getToken);if(!_0x436b43)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x3b6341=await readFile(_0x24e51a),_0xa16a5=decrypt(_0x3b6341,_0x436b43);_0x2b7e77=_0x11c63c[_0x18626e(0xf6)](join,tmpdir(),_0x18626e(0xcd)+Date['now']()+'.json'),await writeFile(_0x2b7e77,_0xa16a5),_0x41056a=_0x2b7e77;}catch(_0x29eaff){const _0x487fd2=_0x11c63c['ySeaT'](_0x29eaff,Error)?_0x29eaff['message']:_0x11c63c[_0x18626e(0x100)](String,_0x29eaff);throw new Error('Failed\x20to\x20decrypt\x20auth\x20state:\x20'+_0x487fd2);}else _0x11c63c[_0x18626e(0xfb)](existsSync,_0x4d1479)&&(_0x41056a=_0x4d1479);const _0x2e6c66=_0x5b2eea||_0x11c63c[_0x18626e(0x106)](randomUUID),_0x160967=join(getRangerDir(),_0x11c63c['HDikE'],_0x2e6c66),_0x17c9a3=Boolean(_0x31d559[_0x18626e(0xed)]),_0x48046d=_0x17c9a3?{'browserName':_0x11c63c['icvCF'],'cdpEndpoint':_0x31d559[_0x18626e(0xed)]}:{'isolated':!![],'browserName':'chromium','launchOptions':{'headless':_0x4e4c5e?![]:_0x31d559['headless']??!![],...process[_0x18626e(0xd3)]?.()===0x0&&{'args':[_0x11c63c['sBYCV'],_0x11c63c[_0x18626e(0xe7)]]}},'contextOptions':{'permissions':[_0x18626e(0x104),_0x11c63c[_0x18626e(0xc8)]],'userAgent':_0x31d559['userAgent']||undefined,'extraHTTPHeaders':_0x31d559[_0x18626e(0xfa)]||{},'storageState':_0x41056a,'viewport':{'width':0x500,'height':0x2d0}}},_0x4c12cc={'name':_0x3239fb,'browser':_0x48046d,'capabilities':['core','tabs',_0x18626e(0xd6),_0x11c63c['trocq'],_0x18626e(0x105)],'imageResponses':_0x11c63c['dlEbD'],'saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x160967};if(!_0x17c9a3){const _0x27535a=_0x4c12cc['browser'],_0x2d4eda=_0x27535a['contextOptions'];if(_0x11c63c['CoPym'](_0x2d4eda[_0x18626e(0x102)],undefined))delete _0x2d4eda[_0x18626e(0x102)];if(_0x11c63c['CoPym'](_0x2d4eda['storageState'],undefined))delete _0x2d4eda['storageState'];}const _0xf77d0c=_0x11c63c[_0x18626e(0xf6)](join,tmpdir(),_0x18626e(0xf4));!_0x11c63c[_0x18626e(0xd8)](existsSync,_0xf77d0c)&&await _0x11c63c['ZUWSI'](mkdir,_0xf77d0c,{'recursive':!![]});const _0x3a0082=_0x11c63c[_0x18626e(0xf6)](join,_0xf77d0c,_0x3239fb+'-'+Date[_0x18626e(0xd5)]()+'.json');return await _0x11c63c['JmNkO'](writeFile,_0x3a0082,JSON['stringify'](_0x4c12cc,null,0x2)),{'configPath':_0x3a0082,'tempAuthPath':_0x2b7e77};}export function getNestedValue(_0x326498,_0x14dd39){const _0x11fa1e=_0x4336,_0x4f36b4={'HPtwQ':function(_0x4c6597,_0x5dc37a){return _0x4c6597(_0x5dc37a);},'XduoZ':function(_0x1866c5,_0xb7717e){return _0x1866c5!==_0xb7717e;},'tdESD':_0x11fa1e(0xf9)},_0x1dcb81=_0x4f36b4['HPtwQ'](parseKeyPath,_0x14dd39);let _0x21c7db=_0x326498;for(const _0x1175c3 of _0x1dcb81){if(_0x21c7db===null||_0x21c7db===undefined||_0x4f36b4[_0x11fa1e(0xe3)](typeof _0x21c7db,_0x4f36b4[_0x11fa1e(0xc9)]))return undefined;_0x21c7db=_0x21c7db[_0x1175c3];}return _0x21c7db;}export function setNestedValue(_0x5faa70,_0x308fa5,_0x760317){const _0x6c46ea=_0x4336,_0x30948c={'lsVMm':function(_0x4a6ec8,_0x5e6a80){return _0x4a6ec8(_0x5e6a80);},'haYsc':function(_0x593f4c,_0x269f10){return _0x593f4c<_0x269f10;},'jErHt':function(_0x358b93,_0x310aee){return _0x358b93 in _0x310aee;},'kwTxa':function(_0x1746b7,_0x53f06a){return _0x1746b7!==_0x53f06a;},'yuTKR':function(_0x36a356,_0x5965bd){return _0x36a356-_0x5965bd;}},_0x1150c5=_0x30948c['lsVMm'](parseKeyPath,_0x308fa5);let _0x2c30e3=_0x5faa70;for(let _0x4ba33=0x0;_0x30948c['haYsc'](_0x4ba33,_0x1150c5[_0x6c46ea(0xd2)]-0x1);_0x4ba33++){const _0x50af9d=_0x1150c5[_0x4ba33];(!_0x30948c[_0x6c46ea(0x10e)](_0x50af9d,_0x2c30e3)||_0x30948c[_0x6c46ea(0xea)](typeof _0x2c30e3[_0x50af9d],'object'))&&(_0x2c30e3[_0x50af9d]={}),_0x2c30e3=_0x2c30e3[_0x50af9d];}_0x2c30e3[_0x1150c5[_0x30948c[_0x6c46ea(0xcc)](_0x1150c5['length'],0x1)]]=_0x760317;}export function deleteNestedValue(_0x51e20b,_0x50324f){const _0x2169c6=_0x4336,_0x11d6d3={'bdhFw':function(_0x555e4f,_0x11032d){return _0x555e4f(_0x11032d);},'enjDD':function(_0x2f0345,_0x295868){return _0x2f0345<_0x295868;},'uzNZH':function(_0x38e310,_0x262d41){return _0x38e310===_0x262d41;},'jFUoB':function(_0x1de5ce,_0x1de9d2){return _0x1de5ce!==_0x1de9d2;},'WySSA':'object','gjavw':function(_0x4078ed,_0x1f267b){return _0x4078ed in _0x1f267b;}},_0x79dfd0=_0x11d6d3['bdhFw'](parseKeyPath,_0x50324f);let _0x7d48a4=_0x51e20b;for(let _0x5f363a=0x0;_0x11d6d3['enjDD'](_0x5f363a,_0x79dfd0['length']-0x1);_0x5f363a++){if(_0x11d6d3['uzNZH'](_0x7d48a4,null)||_0x7d48a4===undefined||_0x11d6d3['jFUoB'](typeof _0x7d48a4,_0x2169c6(0xf9)))return![];_0x7d48a4=_0x7d48a4[_0x79dfd0[_0x5f363a]];}if(_0x11d6d3['uzNZH'](_0x7d48a4,null)||_0x7d48a4===undefined||typeof _0x7d48a4!==_0x11d6d3[_0x2169c6(0xeb)])return![];const _0x31a601=_0x79dfd0[_0x79dfd0['length']-0x1];if(_0x11d6d3[_0x2169c6(0xf0)](_0x31a601,_0x7d48a4))return delete _0x7d48a4[_0x31a601],!![];return![];}function parseKeyPath(_0x4fc4b4){const _0x1011f9=_0x4336,_0xa0ccd3={'PBjFV':'headers'},_0x36f2be=_0x4fc4b4[_0x1011f9(0xdc)]('.');return _0x36f2be[0x0]==='header'&&(_0x36f2be[0x0]=_0xa0ccd3[_0x1011f9(0x10c)]),_0x36f2be;}export function formatSettings(_0x47c1c0,_0x352d69=0x0){const _0x25d508=_0x4336,_0xf84476={'XpSNA':function(_0x48deeb,_0x358d44){return _0x48deeb===_0x358d44;},'gpkuA':function(_0x6daa1e,_0x256700){return _0x6daa1e===_0x256700;},'AHOiH':function(_0x5d6bef,_0x4d5e68){return _0x5d6bef!==_0x4d5e68;}},_0x576089=[],_0x59a5a9='\x20\x20'['repeat'](_0x352d69);for(const [_0x45ad3d,_0x10389d]of Object[_0x25d508(0xe5)](_0x47c1c0)){if(_0xf84476[_0x25d508(0xec)](_0x10389d,undefined))continue;if(_0xf84476['gpkuA'](typeof _0x10389d,_0x25d508(0xf9))&&_0xf84476[_0x25d508(0x109)](_0x10389d,null)){_0x576089[_0x25d508(0x112)](''+_0x59a5a9+_0x45ad3d+':');for(const [_0x279180,_0xd15add]of Object['entries'](_0x10389d)){_0x576089['push'](_0x59a5a9+'\x20\x20'+_0x279180+':\x20'+_0xd15add);}}else _0x576089[_0x25d508(0x112)](''+_0x59a5a9+_0x45ad3d+':\x20'+_0x10389d);}return _0x576089[_0x25d508(0xc3)]('\x0a');}
1
+ (function(_0x4cd0a2,_0x6612ca){const _0x54dbe8=_0x2b39,_0x4375e3=_0x4cd0a2();while(!![]){try{const _0x5d8935=-parseInt(_0x54dbe8(0x1cc))/0x1+-parseInt(_0x54dbe8(0x1bc))/0x2+-parseInt(_0x54dbe8(0x1ba))/0x3*(-parseInt(_0x54dbe8(0x199))/0x4)+-parseInt(_0x54dbe8(0x1b2))/0x5+parseInt(_0x54dbe8(0x1bd))/0x6+-parseInt(_0x54dbe8(0x1c9))/0x7+parseInt(_0x54dbe8(0x19e))/0x8;if(_0x5d8935===_0x6612ca)break;else _0x4375e3['push'](_0x4375e3['shift']());}catch(_0x383276){_0x4375e3['push'](_0x4375e3['shift']());}}}(_0xbfbf,0x75460));import{readFile,writeFile,mkdir,unlink}from'fs/promises';import{join,dirname}from'path';function _0x2b39(_0x57d274,_0x339277){_0x57d274=_0x57d274-0x17f;const _0xbfbf1=_0xbfbf();let _0x2b3919=_0xbfbf1[_0x57d274];return _0x2b3919;}import{existsSync}from'fs';import{tmpdir}from'os';import{randomUUID}from'crypto';import{decrypt}from'./crypto.js';import{getToken}from'./keychain.js';import{getRangerDir}from'./rangerRoot.js';export function getEnvDir(_0x4b8f61){const _0xb7b6a=_0x2b39,_0x31ae27={'LiWQy':function(_0x996a08){return _0x996a08();},'PeFVw':function(_0x472d88,_0xb323db,_0x29e301,_0x547060){return _0x472d88(_0xb323db,_0x29e301,_0x547060);},'oLZPd':'local','FeNJf':function(_0x2efa7d,_0x286c23,_0x2dcdd0){return _0x2efa7d(_0x286c23,_0x2dcdd0);},'rdIns':function(_0x5e925c,_0x4d7201){return _0x5e925c(_0x4d7201);},'jebly':function(_0x41ac57,_0x34cc14){return _0x41ac57(_0x34cc14);}},_0x6a53e7=_0x31ae27['LiWQy'](getRangerDir),_0x1de89a=_0x31ae27[_0xb7b6a(0x1c5)](join,_0x6a53e7,'ci',_0x4b8f61),_0x37f052=join(_0x6a53e7,_0xb7b6a(0x193),_0x4b8f61),_0x4b29f2=join(_0x6a53e7,_0x4b8f61),_0x33c0ce=join(_0x6a53e7,_0x31ae27[_0xb7b6a(0x18f)]),_0x9ad2b7=_0x31ae27['FeNJf'](join,_0x6a53e7,'ci');if(_0x31ae27[_0xb7b6a(0x198)](existsSync,_0x1de89a))return _0x1de89a;if(existsSync(_0x37f052))return _0x37f052;if(existsSync(_0x4b29f2)&&(_0x4b29f2!==_0x33c0ce&&_0x4b29f2!==_0x9ad2b7?!![]:_0x31ae27['jebly'](hasLegacyProfileFiles,_0x4b29f2)))return _0x4b29f2;return _0x37f052;}export function findExistingEnv(_0x2044d3,_0x2473c6){const _0x32c144=_0x2b39,_0xcd94b5={'cJzmC':function(_0x20d559){return _0x20d559();},'dBVOO':'legacy','dHLEw':function(_0x4fe366,_0x161e81,_0x5c6a2){return _0x4fe366(_0x161e81,_0x5c6a2);},'yJuWt':function(_0xae8fea,_0x19f34d){return _0xae8fea===_0x19f34d;},'dQZQz':function(_0x1c64d3,_0x29f930){return _0x1c64d3(_0x29f930);}},_0x4ac946=_0xcd94b5[_0x32c144(0x19d)](getRangerDir),_0x5689b7=_0x2473c6?.[_0x32c144(0x1b7)]??['ci',_0x32c144(0x193),_0xcd94b5['dBVOO']],_0x488d89=_0xcd94b5['dHLEw'](join,_0x4ac946,_0x32c144(0x193)),_0x3a7136=join(_0x4ac946,'ci'),_0xc5202=[{'location':'ci','path':join(_0x4ac946,'ci',_0x2044d3)},{'location':_0x32c144(0x193),'path':join(_0x4ac946,_0x32c144(0x193),_0x2044d3)},{'location':_0x32c144(0x182),'path':_0xcd94b5['dHLEw'](join,_0x4ac946,_0x2044d3)}];for(const _0x311f4b of _0xc5202){if(_0x5689b7[_0x32c144(0x1c3)](_0x311f4b[_0x32c144(0x1ca)])&&existsSync(_0x311f4b[_0x32c144(0x1c1)])){if(_0xcd94b5[_0x32c144(0x1a2)](_0x311f4b['location'],'legacy')&&(_0x311f4b['path']===_0x488d89||_0x311f4b['path']===_0x3a7136)&&!_0xcd94b5['dQZQz'](hasLegacyProfileFiles,_0x311f4b['path']))continue;return{'path':_0x311f4b[_0x32c144(0x1c1)],'location':_0x311f4b[_0x32c144(0x1ca)]};}}return null;}function hasLegacyProfileFiles(_0x3ed036){const _0x47b98a=_0x2b39,_0x306477={'OWGDv':function(_0x5531d3,_0x43166f){return _0x5531d3(_0x43166f);},'ObMJs':function(_0x57c16f,_0x342405,_0x5d8a7d){return _0x57c16f(_0x342405,_0x5d8a7d);},'XzsqO':function(_0x565e05,_0x45cb94){return _0x565e05(_0x45cb94);},'rYzwk':function(_0x3842dd,_0x437f79){return _0x3842dd(_0x437f79);},'eKjsk':_0x47b98a(0x1b4)};return _0x306477[_0x47b98a(0x1a3)](existsSync,_0x306477['ObMJs'](join,_0x3ed036,'settings.json'))||_0x306477[_0x47b98a(0x1c4)](existsSync,_0x306477['ObMJs'](join,_0x3ed036,_0x47b98a(0x1cb)))||_0x306477[_0x47b98a(0x1ac)](existsSync,_0x306477['ObMJs'](join,_0x3ed036,_0x306477['eKjsk']));}export function isEnvCi(_0x54b514){const _0x22ee65=_0x2b39,_0x2ce504={'WdBBx':function(_0x3a3f19,_0x3ff006){return _0x3a3f19(_0x3ff006);},'lRmdw':function(_0x460ca2,_0x1dbc4e,_0x148d04,_0x153e3a){return _0x460ca2(_0x1dbc4e,_0x148d04,_0x153e3a);},'hTOkF':function(_0xa36b27){return _0xa36b27();}};return _0x2ce504[_0x22ee65(0x19b)](existsSync,_0x2ce504['lRmdw'](join,_0x2ce504['hTOkF'](getRangerDir),'ci',_0x54b514));}export async function cleanupTempFiles(_0xd76836){const _0x46dd2b=_0x2b39,_0x3d2412={'Bpuwh':function(_0x1bf368,_0x6cc8a2){return _0x1bf368!==_0x6cc8a2;}},_0x3f55a0=[_0xd76836['tempAuthPath'],_0xd76836[_0x46dd2b(0x1c0)]][_0x46dd2b(0x191)](Boolean);await Promise[_0x46dd2b(0x1a0)](_0x3f55a0[_0x46dd2b(0x1b1)](_0x17dda2=>unlink(_0x17dda2)['catch'](_0x462ae5=>{const _0x343395=_0x46dd2b;_0x3d2412[_0x343395(0x196)](_0x462ae5[_0x343395(0x1ae)],'ENOENT')&&console[_0x343395(0x1c7)]('Failed\x20to\x20clean\x20up\x20temp\x20file\x20'+_0x17dda2+':',_0x462ae5[_0x343395(0x194)]);})));}export function getSettingsPath(_0x15bd6f){const _0x3a94e7=_0x2b39;return join(getEnvDir(_0x15bd6f),_0x3a94e7(0x1b8));}export async function loadSettings(_0x2ca51d){const _0x4cc8e9=_0x2b39,_0x3f4bfb={'MNcil':function(_0x1fee95,_0x4d2eb6){return _0x1fee95(_0x4d2eb6);},'UnxFb':function(_0x2d7b10,_0x502018,_0x520804){return _0x2d7b10(_0x502018,_0x520804);},'lRZMJ':_0x4cc8e9(0x1ab)},_0x3e1d79=getSettingsPath(_0x2ca51d);if(!_0x3f4bfb[_0x4cc8e9(0x1be)](existsSync,_0x3e1d79))return{};try{const _0x191418=await _0x3f4bfb['UnxFb'](readFile,_0x3e1d79,_0x3f4bfb[_0x4cc8e9(0x18e)]);return JSON['parse'](_0x191418);}catch{return{};}}export async function saveSettings(_0x43f5eb,_0x8517cb){const _0x359094={'UktSR':function(_0x24b92b,_0x348d84){return _0x24b92b(_0x348d84);},'vgxVi':function(_0x560a58,_0x1214fc,_0x8bf098){return _0x560a58(_0x1214fc,_0x8bf098);},'mDhnM':function(_0x2f8080,_0x10cde9,_0x370b53){return _0x2f8080(_0x10cde9,_0x370b53);}},_0x569277=_0x359094['UktSR'](getSettingsPath,_0x43f5eb),_0x83207d=dirname(_0x569277);!existsSync(_0x83207d)&&await _0x359094['vgxVi'](mkdir,_0x83207d,{'recursive':!![]}),await _0x359094['mDhnM'](writeFile,_0x569277,JSON['stringify'](_0x8517cb,null,0x2));}export function resolveEnvVars(_0x515b28){const _0x113bb4=_0x2b39,_0x1c7d39={'drtvl':function(_0xf1c414,_0x2f83c4){return _0xf1c414===_0x2f83c4;},'BTLfY':_0x113bb4(0x18d)};if(typeof _0x515b28===_0x1c7d39['BTLfY'])return _0x515b28[_0x113bb4(0x1c2)](/\$\{(\w+)\}/g,(_0xf9a21a,_0x520617)=>{const _0x3b5ea7=_0x113bb4,_0x2d797a=process[_0x3b5ea7(0x186)][_0x520617];if(_0x1c7d39[_0x3b5ea7(0x1bb)](_0x2d797a,undefined))throw new Error('Environment\x20variable\x20'+_0x520617+'\x20is\x20not\x20set');return _0x2d797a;});if(Array['isArray'](_0x515b28))return _0x515b28[_0x113bb4(0x1b1)](resolveEnvVars);if(_0x515b28&&typeof _0x515b28===_0x113bb4(0x188))return Object['fromEntries'](Object['entries'](_0x515b28)['map'](([_0x59733e,_0x2d78f5])=>[_0x59733e,resolveEnvVars(_0x2d78f5)]));return _0x515b28;}export async function buildPlaywrightConfig(_0x5f3582,_0x5ebd62,_0x14f725,_0x15a4b2){const _0x4bffed=_0x2b39,_0xeb3ddf={'trYsA':function(_0x558d3e,_0x3de534){return _0x558d3e(_0x3de534);},'HwQIS':function(_0x112777,_0x24641d,_0xb2ffef){return _0x112777(_0x24641d,_0xb2ffef);},'RQVVt':function(_0x2e399b){return _0x2e399b();},'byZzJ':function(_0x2e1c1e,_0x4c8e21){return _0x2e1c1e(_0x4c8e21);},'jzgdn':function(_0x2f392c,_0x610ae2){return _0x2f392c(_0x610ae2);},'FLWuF':function(_0x43faa4){return _0x43faa4();},'JkSkw':function(_0x196f2d,_0x30fda0,_0x42db5a,_0x2d8d1b){return _0x196f2d(_0x30fda0,_0x42db5a,_0x2d8d1b);},'sXbBF':'sessions','aCdPa':function(_0x488df8,_0x10fe31){return _0x488df8(_0x10fe31);},'rmYBD':_0x4bffed(0x187),'QEMur':'clipboard-read','DVOoQ':'vision','DHpql':function(_0x1658d1,_0x234fee){return _0x1658d1===_0x234fee;},'qZede':function(_0x9dde61,_0xe90dde,_0x302613){return _0x9dde61(_0xe90dde,_0x302613);},'oppGK':function(_0x2f2236){return _0x2f2236();},'OndDk':function(_0x137d85,_0x2240cf,_0x33e29c){return _0x137d85(_0x2240cf,_0x33e29c);}},_0x471461=_0xeb3ddf['trYsA'](getEnvDir,_0x5ebd62),_0x5766f9=_0xeb3ddf[_0x4bffed(0x1af)](join,_0x471461,'auth.json.enc'),_0x20c0d1=join(_0x471461,'auth.json');let _0x448bef,_0x1ca129;if(existsSync(_0x5766f9))try{const _0x4bf143=await _0xeb3ddf[_0x4bffed(0x1a9)](getToken);if(!_0x4bf143)throw new Error('No\x20API\x20token\x20found.\x20Run:\x20ranger\x20setup\x20[token]');const _0x254524=await _0xeb3ddf[_0x4bffed(0x180)](readFile,_0x5766f9),_0x501dfa=decrypt(_0x254524,_0x4bf143);_0x1ca129=join(tmpdir(),_0x4bffed(0x1a8)+Date['now']()+_0x4bffed(0x1aa)),await writeFile(_0x1ca129,_0x501dfa),_0x448bef=_0x1ca129;}catch(_0x1795e0){const _0x4af332=_0x1795e0 instanceof Error?_0x1795e0['message']:_0xeb3ddf['byZzJ'](String,_0x1795e0);throw new Error(_0x4bffed(0x1a5)+_0x4af332);}else _0xeb3ddf[_0x4bffed(0x19a)](existsSync,_0x20c0d1)&&(_0x448bef=_0x20c0d1);const _0x228618=_0x14f725||_0xeb3ddf[_0x4bffed(0x184)](randomUUID),_0x1c6c3a=_0xeb3ddf[_0x4bffed(0x1c8)](join,getRangerDir(),_0xeb3ddf[_0x4bffed(0x18c)],_0x228618),_0x449c2f=_0xeb3ddf[_0x4bffed(0x1b9)](Boolean,_0x5f3582['cdpEndpoint']),_0x450923=_0x449c2f?{'browserName':'chromium','cdpEndpoint':_0x5f3582['cdpEndpoint']}:{'isolated':!![],'browserName':_0x4bffed(0x1ad),'launchOptions':{'headless':_0x15a4b2?![]:_0x5f3582['headless']??!![],...process['getuid']?.()===0x0&&{'args':[_0xeb3ddf[_0x4bffed(0x1bf)],_0x4bffed(0x1b0)]}},'contextOptions':{'permissions':[_0xeb3ddf['QEMur'],_0x4bffed(0x1b5)],'userAgent':_0x5f3582[_0x4bffed(0x185)]||undefined,'extraHTTPHeaders':_0x5f3582['headers']||{},'storageState':_0x448bef,'viewport':{'width':0x500,'height':0x2d0}}},_0x93b170={'name':_0x5ebd62,'browser':_0x450923,'capabilities':['core',_0x4bffed(0x183),'install','pdf',_0xeb3ddf[_0x4bffed(0x1c6)]],'imageResponses':'allow','saveTrace':!![],'saveVideo':{'width':0x500,'height':0x2d0},'outputDir':_0x1c6c3a};if(!_0x449c2f){const _0x1fbd3e=_0x93b170[_0x4bffed(0x1a4)],_0x46ab40=_0x1fbd3e[_0x4bffed(0x1a1)];if(_0xeb3ddf[_0x4bffed(0x190)](_0x46ab40[_0x4bffed(0x185)],undefined))delete _0x46ab40['userAgent'];if(_0x46ab40[_0x4bffed(0x18a)]===undefined)delete _0x46ab40[_0x4bffed(0x18a)];}const _0x387d69=_0xeb3ddf['qZede'](join,_0xeb3ddf[_0x4bffed(0x189)](tmpdir),_0x4bffed(0x18b));!existsSync(_0x387d69)&&await _0xeb3ddf['HwQIS'](mkdir,_0x387d69,{'recursive':!![]});const _0x4c6aaf=_0xeb3ddf[_0x4bffed(0x1af)](join,_0x387d69,_0x5ebd62+'-'+Date[_0x4bffed(0x1a6)]()+_0x4bffed(0x1aa));return await _0xeb3ddf[_0x4bffed(0x181)](writeFile,_0x4c6aaf,JSON['stringify'](_0x93b170,null,0x2)),{'configPath':_0x4c6aaf,'tempAuthPath':_0x1ca129};}export function getNestedValue(_0x500ccf,_0xab9b33){const _0x2b6181=_0x2b39,_0x5123b5={'vECCo':function(_0x109590,_0x23ae33){return _0x109590(_0x23ae33);},'FPUbD':function(_0x4ab6f2,_0x10a72d){return _0x4ab6f2===_0x10a72d;},'wyOOD':function(_0x57d8e9,_0x33a4f7){return _0x57d8e9!==_0x33a4f7;}},_0x59388e=_0x5123b5['vECCo'](parseKeyPath,_0xab9b33);let _0x15d1c2=_0x500ccf;for(const _0x3073a8 of _0x59388e){if(_0x5123b5['FPUbD'](_0x15d1c2,null)||_0x15d1c2===undefined||_0x5123b5['wyOOD'](typeof _0x15d1c2,_0x2b6181(0x188)))return undefined;_0x15d1c2=_0x15d1c2[_0x3073a8];}return _0x15d1c2;}export function setNestedValue(_0x335690,_0x30199d,_0xab9ba6){const _0x43c226=_0x2b39,_0x5cb48e={'vNvie':'object'},_0xc48e17=parseKeyPath(_0x30199d);let _0x4d7637=_0x335690;for(let _0x213daa=0x0;_0x213daa<_0xc48e17[_0x43c226(0x195)]-0x1;_0x213daa++){const _0x3e4d8c=_0xc48e17[_0x213daa];(!(_0x3e4d8c in _0x4d7637)||typeof _0x4d7637[_0x3e4d8c]!==_0x5cb48e[_0x43c226(0x19c)])&&(_0x4d7637[_0x3e4d8c]={}),_0x4d7637=_0x4d7637[_0x3e4d8c];}_0x4d7637[_0xc48e17[_0xc48e17[_0x43c226(0x195)]-0x1]]=_0xab9ba6;}export function deleteNestedValue(_0x1ac4d1,_0x5a66a8){const _0x2c1f57=_0x2b39,_0x243ec3={'pXOQn':function(_0x1416c4,_0xd7981f){return _0x1416c4(_0xd7981f);},'eUoAg':function(_0x2ce4c2,_0x319cea){return _0x2ce4c2===_0x319cea;},'sNoYV':_0x2c1f57(0x188),'oHtYs':function(_0x28b4eb,_0x1669e8){return _0x28b4eb-_0x1669e8;},'CwdZD':function(_0x257d41,_0x5cb8a2){return _0x257d41 in _0x5cb8a2;}},_0x6495b=_0x243ec3['pXOQn'](parseKeyPath,_0x5a66a8);let _0x5e74db=_0x1ac4d1;for(let _0x50206f=0x0;_0x50206f<_0x6495b[_0x2c1f57(0x195)]-0x1;_0x50206f++){if(_0x5e74db===null||_0x243ec3[_0x2c1f57(0x17f)](_0x5e74db,undefined)||typeof _0x5e74db!=='object')return![];_0x5e74db=_0x5e74db[_0x6495b[_0x50206f]];}if(_0x5e74db===null||_0x5e74db===undefined||typeof _0x5e74db!==_0x243ec3['sNoYV'])return![];const _0x36e982=_0x6495b[_0x243ec3[_0x2c1f57(0x1b3)](_0x6495b['length'],0x1)];if(_0x243ec3['CwdZD'](_0x36e982,_0x5e74db))return delete _0x5e74db[_0x36e982],!![];return![];}function parseKeyPath(_0x5735a6){const _0x11e2bd=_0x2b39,_0x345662={'mSrMx':_0x11e2bd(0x1b6)},_0x265050=_0x5735a6[_0x11e2bd(0x197)]('.');return _0x265050[0x0]==='header'&&(_0x265050[0x0]=_0x345662['mSrMx']),_0x265050;}function _0xbfbf(){const _0xcebd51=['utf-8','rYzwk','chromium','code','HwQIS','--disable-setuid-sandbox','map','4574610MKoAce','oHtYs','auth.json.enc','clipboard-write','headers','locations','settings.json','aCdPa','6228NSPtwx','drtvl','1774044GzXuCT','3979296IaElCe','MNcil','rmYBD','configPath','path','replace','includes','XzsqO','PeFVw','DVOoQ','warn','JkSkw','4585602ORqldl','location','auth.json','339754ZhjPyi','eUoAg','trYsA','OndDk','legacy','tabs','FLWuF','userAgent','env','--no-sandbox','object','oppGK','storageState','ranger-config','sXbBF','string','lRZMJ','oLZPd','DHpql','filter','repeat','local','message','length','Bpuwh','split','rdIns','212bJhhlM','jzgdn','WdBBx','vNvie','cJzmC','20031136bFYmpS','push','all','contextOptions','yJuWt','OWGDv','browser','Failed\x20to\x20decrypt\x20auth\x20state:\x20','now','entries','ranger-auth-','RQVVt','.json'];_0xbfbf=function(){return _0xcebd51;};return _0xbfbf();}export function formatSettings(_0x2d9e92,_0x65f956=0x0){const _0x570aba=_0x2b39,_0x475ec6={'rEeDe':function(_0x15abbc,_0xe84fc6){return _0x15abbc===_0xe84fc6;}},_0x1e0e25=[],_0xd5dba9='\x20\x20'[_0x570aba(0x192)](_0x65f956);for(const [_0x2cb2ba,_0x4f043d]of Object['entries'](_0x2d9e92)){if(_0x475ec6['rEeDe'](_0x4f043d,undefined))continue;if(typeof _0x4f043d===_0x570aba(0x188)&&_0x4f043d!==null){_0x1e0e25[_0x570aba(0x19f)](''+_0xd5dba9+_0x2cb2ba+':');for(const [_0x26c37e,_0x80d9af]of Object[_0x570aba(0x1a7)](_0x4f043d)){_0x1e0e25['push'](_0xd5dba9+'\x20\x20'+_0x26c37e+':\x20'+_0x80d9af);}}else _0x1e0e25[_0x570aba(0x19f)](''+_0xd5dba9+_0x2cb2ba+':\x20'+_0x4f043d);}return _0x1e0e25['join']('\x0a');}
@@ -1 +1 @@
1
- (function(_0x4485c4,_0x5a933d){const _0x43c894=_0x5616,_0x5b64ce=_0x4485c4();while(!![]){try{const _0xdc5d95=parseInt(_0x43c894(0xca))/0x1+-parseInt(_0x43c894(0xcf))/0x2*(parseInt(_0x43c894(0xc4))/0x3)+-parseInt(_0x43c894(0xc9))/0x4+-parseInt(_0x43c894(0xd0))/0x5+parseInt(_0x43c894(0xcb))/0x6+parseInt(_0x43c894(0xcd))/0x7*(-parseInt(_0x43c894(0xc7))/0x8)+parseInt(_0x43c894(0xc5))/0x9;if(_0xdc5d95===_0x5a933d)break;else _0x5b64ce['push'](_0x5b64ce['shift']());}catch(_0xcb9bcf){_0x5b64ce['push'](_0x5b64ce['shift']());}}}(_0x409f,0xf3517));import{readFileSync}from'fs';function _0x409f(){const _0x1f7114=['5924349GKMxTk','47334726lbJSDY','pxjFt','44024SLtKTO','HbURV','4605532uJHgfy','1239396BsyyKS','2684946iLRLge','utf-8','1267XQAXEJ','FaREB','2ELhkWd','9137305jJvrkv','UwXfp'];_0x409f=function(){return _0x1f7114;};return _0x409f();}import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);export function readSkillContent(_0x190bb6){const _0x36d3e2=_0x5616,_0x3a5c85={'FaREB':function(_0x67dda4,_0x44b2b3,_0x3da4fe,_0x2b49a6,_0x5ea624){return _0x67dda4(_0x44b2b3,_0x3da4fe,_0x2b49a6,_0x5ea624);},'pxjFt':'skills','UwXfp':function(_0x2391cd,_0x408453,_0xa26952){return _0x2391cd(_0x408453,_0xa26952);}},_0x29ff8a=_0x3a5c85[_0x36d3e2(0xce)](join,__dirname,'..','..',_0x3a5c85[_0x36d3e2(0xc6)]),_0x2968fd=join(_0x29ff8a,_0x190bb6);try{return _0x3a5c85[_0x36d3e2(0xd1)](readFileSync,_0x2968fd,_0x36d3e2(0xcc));}catch{return'';}}function _0x5616(_0x46a53b,_0x1c3c11){_0x46a53b=_0x46a53b-0xc4;const _0x409f51=_0x409f();let _0x5616ba=_0x409f51[_0x46a53b];return _0x5616ba;}export function getRangerSkillContent(){const _0x1fcf87=_0x5616,_0x298580={'HbURV':'ranger/SKILL.md'};return readSkillContent(_0x298580[_0x1fcf87(0xc8)]);}
1
+ (function(_0x27cdbc,_0x5e554f){const _0x5730bc=_0x4d90,_0x2326cb=_0x27cdbc();while(!![]){try{const _0xd31816=-parseInt(_0x5730bc(0x11c))/0x1+-parseInt(_0x5730bc(0x11b))/0x2*(parseInt(_0x5730bc(0x117))/0x3)+-parseInt(_0x5730bc(0x11e))/0x4*(parseInt(_0x5730bc(0x116))/0x5)+parseInt(_0x5730bc(0x11f))/0x6+parseInt(_0x5730bc(0x121))/0x7*(-parseInt(_0x5730bc(0x114))/0x8)+parseInt(_0x5730bc(0x11a))/0x9*(parseInt(_0x5730bc(0x115))/0xa)+-parseInt(_0x5730bc(0x120))/0xb*(-parseInt(_0x5730bc(0x119))/0xc);if(_0xd31816===_0x5e554f)break;else _0x2326cb['push'](_0x2326cb['shift']());}catch(_0x2d93a5){_0x2326cb['push'](_0x2326cb['shift']());}}}(_0x51ec,0xc4205));import{readFileSync}from'fs';import{dirname,join}from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function _0x51ec(){const _0x5a5c7f=['778451MGNMZL','skills','628NuWALA','8695536sFarkQ','13269751BRYEXJ','7VpvapK','ranger/SKILL.md','731704ClhDCl','2010aaoyVd','25845DTTwoT','2232PbeYJI','utf-8','12wJVsjP','6543qhgNvb','852IjwuDo'];_0x51ec=function(){return _0x5a5c7f;};return _0x51ec();}export function readSkillContent(_0x5f9a3){const _0x62ead7=_0x4d90,_0x12c6e0={'XfWmq':function(_0x5db179,_0xf39fc0,_0x2a040b,_0x4b3a28,_0x1da865){return _0x5db179(_0xf39fc0,_0x2a040b,_0x4b3a28,_0x1da865);},'sDtXr':function(_0x8ee585,_0x493863,_0x33a65b){return _0x8ee585(_0x493863,_0x33a65b);},'DSNdh':_0x62ead7(0x118)},_0x296224=_0x12c6e0['XfWmq'](join,__dirname,'..','..',_0x62ead7(0x11d)),_0x4d0bb6=join(_0x296224,_0x5f9a3);try{return _0x12c6e0['sDtXr'](readFileSync,_0x4d0bb6,_0x12c6e0['DSNdh']);}catch{return'';}}function _0x4d90(_0x501028,_0x5290ea){_0x501028=_0x501028-0x114;const _0x51ec0d=_0x51ec();let _0x4d9047=_0x51ec0d[_0x501028];return _0x4d9047;}export function getRangerSkillContent(){const _0x352b08=_0x4d90;return readSkillContent(_0x352b08(0x122));}