@ranger-testing/ranger-cli 2.0.7 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +10 -1
  2. package/build/cli.js +1 -1
  3. package/build/commands/addEnv.js +1 -1
  4. package/build/commands/authEncrypt.js +1 -1
  5. package/build/commands/clean.js +1 -1
  6. package/build/commands/config.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/setup/claude.js +1 -0
  26. package/build/commands/setup/opencode.js +1 -0
  27. package/build/commands/setupCi.js +1 -1
  28. package/build/commands/skillup.js +1 -1
  29. package/build/commands/start.js +1 -1
  30. package/build/commands/status.js +1 -1
  31. package/build/commands/update.js +1 -1
  32. package/build/commands/updateEnv.js +1 -1
  33. package/build/commands/useEnv.js +1 -1
  34. package/build/commands/utils/activeProfile.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -0
  49. package/build/commands/utils/model.js +1 -0
  50. package/build/commands/utils/opencodeConfig.js +1 -0
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -0
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/userApi.js +1 -1
  63. package/build/commands/utils/version.js +1 -1
  64. package/build/commands/verifyFeature.js +1 -1
  65. package/build/commands/verifyInBrowser.js +1 -1
  66. package/build/skills/ranger/SKILL.md +16 -14
  67. 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 _0x5e75e4=_0x56d3;function _0x2171(){const _0x2d6f95=['jEFkw','idLen','nlRGn','KVNzj','QNCYG','sizeLen','99258YemSxP','qlrdD','gHYQE','XZsIF','TWYPN','UxaZf','KeQzO','length','9PrZlyv','FaOxn','NxTBv','PbIDc','qMiJR','mrErs','trOZp','SpoCd','sBuhZ','ZUNyz','from','kjlNQ','uATld','tjQZx','concat','20008JAdIWG','QzDTq','YdbqP','QfRgK','mWwWh','Fixed:\x20','exit','VfeYG','gkkcE','KtQZB','wBMkA','rQtXV','IRrxX','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','argv','111QEOcxT','509720TWQCKU','sMRSj','log','indexOf','fixWebmDuration.js','UtMCx','pow','dataSize','min','dataOffset','KgpoR','YbAGg','958304KGgSdz','OBgRi','mwVwh','21kxPOPo','36883QMnBfK','slice','alloc','172700iUdpOC','790mIHwoS','error','432996tJeAcQ','fixWebmDuration.ts'];_0x2171=function(){return _0x2d6f95;};return _0x2171();}(function(_0x23e3a1,_0x45c10b){const _0x2176f3=_0x56d3,_0x1f4aef=_0x23e3a1();while(!![]){try{const _0x54865c=parseInt(_0x2176f3(0x1bf))/0x1+-parseInt(_0x2176f3(0x1ca))/0x2+parseInt(_0x2176f3(0x1f0))/0x3*(parseInt(_0x2176f3(0x1e1))/0x4)+-parseInt(_0x2176f3(0x1f1))/0x5+-parseInt(_0x2176f3(0x1c2))/0x6*(parseInt(_0x2176f3(0x1bb))/0x7)+parseInt(_0x2176f3(0x1b8))/0x8*(-parseInt(_0x2176f3(0x1d2))/0x9)+-parseInt(_0x2176f3(0x1c0))/0xa*(-parseInt(_0x2176f3(0x1bc))/0xb);if(_0x54865c===_0x45c10b)break;else _0x1f4aef['push'](_0x1f4aef['shift']());}catch(_0x133b30){_0x1f4aef['push'](_0x1f4aef['shift']());}}}(_0x2171,0x20e92));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(_0x5e7c35,_0x1046ae){const _0x5a2180=_0x56d3,_0x5e69d6={'FaOxn':function(_0xe2f875,_0x24eccb){return _0xe2f875+_0x24eccb;},'HzLPM':function(_0x4c478c,_0xc6d39d){return _0x4c478c&_0xc6d39d;},'KtQZB':function(_0x395775,_0x8b7a8){return _0x395775+_0x8b7a8;}};if(_0x1046ae>=_0x5e7c35['length'])return[0x0,0x0];const _0x37158a=_0x5e7c35[_0x1046ae];let _0xf0e94a=0x1,_0x160abc=0x80;while(_0xf0e94a<=0x8&&!(_0x37158a&_0x160abc)){_0xf0e94a++,_0x160abc>>=0x1;}if(_0x5e69d6[_0x5a2180(0x1d3)](_0x1046ae,_0xf0e94a)>_0x5e7c35['length'])return[0x0,0x0];let _0x23b042=_0x5e69d6['HzLPM'](_0x37158a,_0x160abc-0x1);for(let _0x2de830=0x1;_0x2de830<_0xf0e94a;_0x2de830++){_0x23b042=_0x5e69d6[_0x5a2180(0x1ea)](_0x23b042*0x100,_0x5e7c35[_0x5e69d6['KtQZB'](_0x1046ae,_0x2de830)]);}return[_0x23b042,_0xf0e94a];}function readId(_0x5357cb,_0x3a84f3){const _0x404547=_0x56d3,_0x100a05={'UVhnm':function(_0x4eabea,_0x4e8c89){return _0x4eabea+_0x4e8c89;},'PbIDc':function(_0x4cf213,_0x2792db){return _0x4cf213+_0x2792db;}};if(_0x3a84f3>=_0x5357cb['length'])return[0x0,0x0];const _0x54f63c=_0x5357cb[_0x3a84f3];let _0x5dafee;if(_0x54f63c>=0x80)_0x5dafee=0x1;else{if(_0x54f63c>=0x40)_0x5dafee=0x2;else{if(_0x54f63c>=0x20)_0x5dafee=0x3;else{if(_0x54f63c>=0x10)_0x5dafee=0x4;else return[_0x54f63c,0x1];}}}if(_0x100a05['UVhnm'](_0x3a84f3,_0x5dafee)>_0x5357cb['length'])return[0x0,0x0];let _0x2893b8=0x0;for(let _0x4583bc=0x0;_0x4583bc<_0x5dafee;_0x4583bc++){_0x2893b8=_0x2893b8*0x100+_0x5357cb[_0x100a05[_0x404547(0x1d5)](_0x3a84f3,_0x4583bc)];}return[_0x2893b8,_0x5dafee];}function readUint(_0x2c7175,_0x335f10,_0xb44ad7){const _0x32085e=_0x56d3,_0x3d1540={'sMRSj':function(_0x4ac301,_0x158e6e){return _0x4ac301<_0x158e6e;},'AmurD':function(_0x1e3c7a,_0x28114a){return _0x1e3c7a+_0x28114a;}};let _0x5d22c8=0x0;for(let _0x2b6a6=0x0;_0x3d1540[_0x32085e(0x1f2)](_0x2b6a6,_0xb44ad7);_0x2b6a6++){_0x5d22c8=_0x5d22c8*0x100+_0x2c7175[_0x3d1540['AmurD'](_0x335f10,_0x2b6a6)];}return _0x5d22c8;}function isUnknownSize(_0x4dd474,_0x767e2){const _0x4554b7=_0x56d3;return _0x4dd474===Math[_0x4554b7(0x1f7)](0x2,0x7*_0x767e2)-0x1;}function writeId(_0x1a14c1){const _0x4c0b08=_0x56d3,_0x4c55e5={'YdbqP':function(_0x2b855a,_0x5580ca){return _0x2b855a<=_0x5580ca;},'UxaZf':function(_0x3b21aa,_0x155a8d){return _0x3b21aa&_0x155a8d;},'lYksu':function(_0x595326,_0x33735c){return _0x595326>>_0x33735c;}};if(_0x4c55e5[_0x4c0b08(0x1e3)](_0x1a14c1,0xff))return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1]);if(_0x1a14c1<=0xffff)return Buffer['from']([_0x1a14c1>>0x8&0xff,_0x4c55e5['UxaZf'](_0x1a14c1,0xff)]);if(_0x4c55e5['YdbqP'](_0x1a14c1,0xffffff))return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1>>0x10&0xff,_0x1a14c1>>0x8&0xff,_0x1a14c1&0xff]);return Buffer[_0x4c0b08(0x1dc)]([_0x1a14c1>>0x18&0xff,_0x4c55e5[_0x4c0b08(0x1cf)](_0x4c55e5['lYksu'](_0x1a14c1,0x10),0xff),_0x4c55e5[_0x4c0b08(0x1cf)](_0x1a14c1>>0x8,0xff),_0x4c55e5['UxaZf'](_0x1a14c1,0xff)]);}function writeVint(_0x32541e,_0x5e0313){const _0x5ca498=_0x56d3,_0x12d2ac={'mtUpP':function(_0x33d8ad,_0x214514){return _0x33d8ad-_0x214514;},'okJCb':function(_0x2ad450,_0x406fd3){return _0x2ad450&_0x406fd3;},'KVNzj':function(_0x42d287,_0x4eef04){return _0x42d287/_0x4eef04;},'iIJTi':function(_0x1f6ec2,_0xd8e83d){return _0x1f6ec2<<_0xd8e83d;}};let _0x22b8bd=_0x5e0313||0x1;while(_0x12d2ac['mtUpP'](Math['pow'](0x2,0x7*_0x22b8bd),0x2)<_0x32541e)_0x22b8bd++;const _0x58deed=Buffer[_0x5ca498(0x1be)](_0x22b8bd);for(let _0x5670e0=_0x22b8bd-0x1;_0x5670e0>=0x0;_0x5670e0--){_0x58deed[_0x5670e0]=_0x12d2ac['okJCb'](_0x32541e,0xff),_0x32541e=Math['floor'](_0x12d2ac[_0x5ca498(0x1c7)](_0x32541e,0x100));}return _0x58deed[0x0]|=_0x12d2ac['iIJTi'](0x1,0x8-_0x22b8bd),_0x58deed;}function writeFloat64(_0x333ef4){const _0xca9a6=_0x56d3,_0x45f528=Buffer[_0xca9a6(0x1be)](0x8);return _0x45f528['writeDoubleBE'](_0x333ef4,0x0),_0x45f528;}function writeVoid(_0x5961c4){const _0x315926=_0x56d3,_0x20df0b={'YTKfO':function(_0x23b378,_0x5a6809){return _0x23b378<=_0x5a6809;},'DflcO':function(_0x38f621,_0x4a29e4){return _0x38f621-_0x4a29e4;},'nlRGn':function(_0x2a6abc,_0x505db8,_0x256c0f){return _0x2a6abc(_0x505db8,_0x256c0f);}};for(let _0x52531f=0x1;_0x20df0b['YTKfO'](_0x52531f,0x8);_0x52531f++){const _0x467b7e=_0x20df0b['DflcO'](_0x5961c4-0x1,_0x52531f);if(_0x467b7e>=0x0&&_0x20df0b['YTKfO'](_0x467b7e,Math[_0x315926(0x1f7)](0x2,0x7*_0x52531f)-0x2))return Buffer[_0x315926(0x1e0)]([Buffer[_0x315926(0x1dc)]([ID_VOID]),_0x20df0b[_0x315926(0x1c6)](writeVint,_0x467b7e,_0x52531f),Buffer[_0x315926(0x1be)](_0x467b7e)]);}return Buffer['alloc'](0x0);}function findElement(_0x3492f3,_0x8c7efb,_0x424488,_0x188b21){const _0x54e659=_0x56d3,_0x587fec={'VJBtw':function(_0x71272b,_0x4482cd,_0x5b150c){return _0x71272b(_0x4482cd,_0x5b150c);},'tjQZx':function(_0x180b19,_0x5e2c4e,_0x96d836){return _0x180b19(_0x5e2c4e,_0x96d836);},'KgpoR':function(_0x18fb42,_0x698e4d){return _0x18fb42+_0x698e4d;},'ZlThG':function(_0x4e67cc,_0x2ca148){return _0x4e67cc===_0x2ca148;},'OBgRi':function(_0x2a8134,_0xdaf8,_0x2a3864){return _0x2a8134(_0xdaf8,_0x2a3864);},'hMVBn':function(_0x206e39,_0x25fb48){return _0x206e39+_0x25fb48;}};let _0x2bc6be=_0x8c7efb;while(_0x2bc6be<_0x424488){const [_0x476653,_0x47a382]=_0x587fec['VJBtw'](readId,_0x3492f3,_0x2bc6be),[_0x514b3a,_0x686b7d]=_0x587fec[_0x54e659(0x1df)](readVint,_0x3492f3,_0x587fec[_0x54e659(0x1fb)](_0x2bc6be,_0x47a382));if(_0x587fec['ZlThG'](_0x476653,_0x188b21))return{'offset':_0x2bc6be,'idLen':_0x47a382,'sizeLen':_0x686b7d,'dataSize':_0x514b3a,'dataOffset':_0x587fec[_0x54e659(0x1fb)](_0x2bc6be+_0x47a382,_0x686b7d)};if(_0x587fec[_0x54e659(0x1b9)](isUnknownSize,_0x514b3a,_0x686b7d))break;_0x2bc6be+=_0x587fec['hMVBn'](_0x47a382,_0x686b7d)+_0x514b3a;}return null;}function computeDurationMs(_0x216bb4,_0x38839a){const _0x2ca2a4=_0x56d3,_0x48a276={'NxTBv':function(_0x1f6d54,_0x30a6af){return _0x1f6d54===_0x30a6af;},'QfRgK':function(_0x546096,_0x1baaf0,_0x424f68){return _0x546096(_0x1baaf0,_0x424f68);},'trOZp':function(_0x27716c,_0x46cc93){return _0x27716c!==_0x46cc93;},'bHnep':function(_0x27285e,_0xc81f60){return _0x27285e+_0xc81f60;},'fgFKi':function(_0x6dbbfb,_0x349b05){return _0x6dbbfb+_0x349b05;},'gHYQE':function(_0x14ea44,_0x5ebe13,_0x289270){return _0x14ea44(_0x5ebe13,_0x289270);},'UtMCx':function(_0x5727ea,_0x977510){return _0x5727ea-_0x977510;},'XZsIF':function(_0x4ae1cd,_0xc63bd4,_0x56f7f4){return _0x4ae1cd(_0xc63bd4,_0x56f7f4);},'TWYPN':function(_0x3c34b3,_0x33d934){return _0x3c34b3+_0x33d934;},'ZQkRn':function(_0x34f5bb,_0x91dd0c){return _0x34f5bb+_0x91dd0c;},'ZUNyz':function(_0x3042ec,_0x48f70b){return _0x3042ec+_0x48f70b;},'QzDTq':function(_0x13e3cd,_0x9565bb,_0x27e808,_0x38889e){return _0x13e3cd(_0x9565bb,_0x27e808,_0x38889e);},'mWwWh':function(_0x3b4999,_0x2c6a72){return _0x3b4999===_0x2c6a72;},'APdSf':function(_0x15a8c5,_0x4d12db){return _0x15a8c5>_0x4d12db;},'uATld':function(_0x2d3575,_0x10082d){return _0x2d3575===_0x10082d;},'FCHOt':function(_0x3e8e9b,_0x4aa408){return _0x3e8e9b+_0x4aa408;},'SqVal':function(_0x17178c,_0x561bf6){return _0x17178c+_0x561bf6;}};let _0x2d43b9=0x0;const _0x62aeed=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x1c8c6b=_0x216bb4[_0x2ca2a4(0x1f4)](_0x62aeed);if(_0x48a276['NxTBv'](_0x1c8c6b,-0x1))return 0x0;while(_0x1c8c6b<_0x216bb4['length']){const [_0x38e902,_0x248f1c]=_0x48a276['QfRgK'](readId,_0x216bb4,_0x1c8c6b);if(_0x48a276[_0x2ca2a4(0x1d8)](_0x38e902,ID_CLUSTER))break;const [_0xc9394c,_0x5f366f]=readVint(_0x216bb4,_0x48a276['bHnep'](_0x1c8c6b,_0x248f1c)),_0x66c6ad=_0x48a276['fgFKi'](_0x48a276['fgFKi'](_0x1c8c6b,_0x248f1c),_0x5f366f),_0x125748=_0x48a276['gHYQE'](isUnknownSize,_0xc9394c,_0x5f366f);let _0x241117;if(_0x125748){let _0x32cfe3=_0x66c6ad;while(_0x32cfe3<_0x48a276[_0x2ca2a4(0x1f6)](_0x216bb4[_0x2ca2a4(0x1d1)],0x4)){const [_0x47637f,_0x4ffcfd]=readId(_0x216bb4,_0x32cfe3);if(_0x47637f===ID_CLUSTER){_0x241117=_0x32cfe3;break;}const [_0x5b1f32,_0x30974e]=_0x48a276[_0x2ca2a4(0x1cd)](readVint,_0x216bb4,_0x48a276[_0x2ca2a4(0x1ce)](_0x32cfe3,_0x4ffcfd));if(_0x48a276[_0x2ca2a4(0x1e4)](isUnknownSize,_0x5b1f32,_0x30974e)){_0x241117=_0x216bb4['length'];break;}_0x32cfe3+=_0x48a276['fgFKi'](_0x4ffcfd+_0x30974e,_0x5b1f32);}_0x241117??=_0x216bb4['length'];}else _0x241117=_0x48a276['ZQkRn'](_0x66c6ad,_0xc9394c);let _0x4d394b=0x0,_0x4981fd=_0x66c6ad;while(_0x4981fd<_0x241117){const [_0x32ed10,_0x277a48]=readId(_0x216bb4,_0x4981fd),[_0x10f046,_0x51fd21]=_0x48a276[_0x2ca2a4(0x1cc)](readVint,_0x216bb4,_0x48a276[_0x2ca2a4(0x1db)](_0x4981fd,_0x277a48));if(_0x48a276[_0x2ca2a4(0x1d4)](_0x32ed10,ID_TIMESTAMP))_0x4d394b=_0x48a276[_0x2ca2a4(0x1e2)](readUint,_0x216bb4,_0x48a276['ZUNyz'](_0x4981fd,_0x277a48)+_0x51fd21,_0x10f046);else{if(_0x48a276[_0x2ca2a4(0x1e5)](_0x32ed10,ID_SIMPLE_BLOCK)&&_0x10f046>=0x4){const _0x53e814=_0x48a276['ZUNyz'](_0x48a276['ZQkRn'](_0x4981fd,_0x277a48),_0x51fd21),[,_0x323746]=readVint(_0x216bb4,_0x53e814),_0x43f6d2=_0x216bb4['readInt16BE'](_0x53e814+_0x323746),_0x4d0b95=_0x48a276['bHnep'](_0x4d394b,_0x43f6d2)*_0x38839a/0xf4240;_0x48a276['APdSf'](_0x4d0b95,_0x2d43b9)&&(_0x2d43b9=_0x4d0b95);}else{if(_0x48a276[_0x2ca2a4(0x1de)](_0x32ed10,ID_CLUSTER))break;}}if(isUnknownSize(_0x10f046,_0x51fd21))break;_0x4981fd+=_0x48a276['FCHOt'](_0x48a276['SqVal'](_0x277a48,_0x51fd21),_0x10f046);}_0x1c8c6b=_0x241117;}return _0x2d43b9;}function _0x56d3(_0x292603,_0x155c8a){_0x292603=_0x292603-0x1b8;const _0x217141=_0x2171();let _0x56d345=_0x217141[_0x292603];return _0x56d345;}export function fixWebmDuration(_0x5a640d,_0x2e3037){const _0x36ddb9=_0x56d3,_0x46ccaa={'qMiJR':function(_0x3b8ce9,_0x12c7ad){return _0x3b8ce9(_0x12c7ad);},'SpoCd':function(_0x4ae2d4,_0xafc586,_0x3dcdc0){return _0x4ae2d4(_0xafc586,_0x3dcdc0);},'kjlNQ':function(_0x12afcf,_0x118389){return _0x12afcf+_0x118389;},'rQtXV':function(_0x260298,_0x4dbfa4){return _0x260298===_0x4dbfa4;},'KeQzO':function(_0x1e97fe,_0x3195e6){return _0x1e97fe+_0x3195e6;},'YbAGg':function(_0xf98fde,_0x12333d){return _0xf98fde+_0x12333d;},'mrErs':'Could\x20not\x20find\x20Info\x20element','wBMkA':function(_0x1f439b,_0x1a2c31,_0xcc1b9a,_0x763ade,_0x2c8fc3){return _0x1f439b(_0x1a2c31,_0xcc1b9a,_0x763ade,_0x2c8fc3);},'jlkuG':function(_0x3c4ba6,_0x485b16,_0x17a2fd,_0x454704,_0x28e38f){return _0x3c4ba6(_0x485b16,_0x17a2fd,_0x454704,_0x28e38f);},'gkkcE':function(_0x27f0ac,_0x507b9d,_0x12adc8,_0x46106f){return _0x27f0ac(_0x507b9d,_0x12adc8,_0x46106f);},'hHMEe':function(_0xfeb26c,_0x26d061,_0x538945){return _0xfeb26c(_0x26d061,_0x538945);},'IRrxX':function(_0x2a869e,_0x176a21){return _0x2a869e<=_0x176a21;},'RoXGb':'Could\x20not\x20compute\x20duration','ULLax':function(_0x25c844,_0x2f1f96){return _0x25c844(_0x2f1f96);},'qlrdD':function(_0x1652d5,_0x3d870f){return _0x1652d5(_0x3d870f);},'QNCYG':function(_0x466b36,_0x5beeb4){return _0x466b36+_0x5beeb4;},'jEFkw':function(_0x49c4ad,_0x3d3600){return _0x49c4ad+_0x3d3600;},'VfeYG':function(_0x1f4471,_0x30ab0e){return _0x1f4471-_0x30ab0e;},'JAnHT':function(_0xeb5195,_0x355850){return _0xeb5195<_0x355850;},'rvsvo':function(_0x29c166,_0x345947){return _0x29c166+_0x345947;}},_0x138e13=_0x46ccaa[_0x36ddb9(0x1d6)](readFileSync,_0x5a640d);let _0x1290c6=0x0;const [_0x75e149,_0x374791]=_0x46ccaa['SpoCd'](readId,_0x138e13,_0x1290c6),[_0x7dd076,_0x39c7ee]=readVint(_0x138e13,_0x46ccaa[_0x36ddb9(0x1dd)](_0x1290c6,_0x374791));_0x1290c6+=_0x46ccaa[_0x36ddb9(0x1dd)](_0x374791,_0x39c7ee)+_0x7dd076;const [_0x164d69,_0x5768af]=_0x46ccaa[_0x36ddb9(0x1d9)](readId,_0x138e13,_0x1290c6);if(_0x164d69!==ID_SEGMENT)return console[_0x36ddb9(0x1c1)](_0x36ddb9(0x1ee)),![];const [,_0x3ec628]=readVint(_0x138e13,_0x1290c6+_0x5768af),_0x5e2d31=_0x1290c6+_0x5768af+_0x3ec628;let _0x146aa6=_0x5e2d31;const _0x186fce=Math[_0x36ddb9(0x1f9)](_0x138e13[_0x36ddb9(0x1d1)],_0x46ccaa['kjlNQ'](_0x5e2d31,0x2710));let _0x1ee09f=null,_0x42b4ee=null;while(_0x146aa6<_0x186fce){const [_0x9456d5,_0x2d22b1]=readId(_0x138e13,_0x146aa6),[_0x3aeda4,_0x2a9ed3]=readVint(_0x138e13,_0x146aa6+_0x2d22b1);_0x9456d5===ID_VOID&&!_0x1ee09f&&(_0x1ee09f={'offset':_0x146aa6,'idLen':_0x2d22b1,'sizeLen':_0x2a9ed3,'dataSize':_0x3aeda4,'dataOffset':_0x46ccaa['kjlNQ'](_0x146aa6+_0x2d22b1,_0x2a9ed3)});if(_0x46ccaa['rQtXV'](_0x9456d5,ID_INFO)){_0x42b4ee={'offset':_0x146aa6,'idLen':_0x2d22b1,'sizeLen':_0x2a9ed3,'dataSize':_0x3aeda4,'dataOffset':_0x46ccaa[_0x36ddb9(0x1d0)](_0x46ccaa[_0x36ddb9(0x1fc)](_0x146aa6,_0x2d22b1),_0x2a9ed3)};break;}if(_0x46ccaa[_0x36ddb9(0x1ec)](_0x9456d5,ID_CLUSTER))break;if(_0x46ccaa[_0x36ddb9(0x1d9)](isUnknownSize,_0x3aeda4,_0x2a9ed3))break;_0x146aa6+=_0x2d22b1+_0x2a9ed3+_0x3aeda4;}if(!_0x42b4ee)return console[_0x36ddb9(0x1c1)](_0x46ccaa[_0x36ddb9(0x1d7)]),![];const _0x4565a8=_0x46ccaa[_0x36ddb9(0x1eb)](findElement,_0x138e13,_0x42b4ee[_0x36ddb9(0x1fa)],_0x46ccaa['YbAGg'](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']),ID_DURATION);if(_0x4565a8)return![];const _0x21604f=_0x46ccaa['jlkuG'](findElement,_0x138e13,_0x42b4ee['dataOffset'],_0x46ccaa[_0x36ddb9(0x1dd)](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']),ID_TIMESTAMP_SCALE);let _0x4504b8=0xf4240;_0x21604f&&(_0x4504b8=_0x46ccaa[_0x36ddb9(0x1e9)](readUint,_0x138e13,_0x21604f['dataOffset'],_0x21604f[_0x36ddb9(0x1f8)]));const _0x163c63=_0x46ccaa['hHMEe'](computeDurationMs,_0x138e13,_0x4504b8);if(_0x46ccaa[_0x36ddb9(0x1ed)](_0x163c63,0x0))return console['error'](_0x46ccaa['RoXGb']),![];const _0x2558a9=_0x163c63*0xf4240/_0x4504b8,_0x28de11=Buffer[_0x36ddb9(0x1e0)]([_0x46ccaa['ULLax'](writeId,ID_DURATION),_0x46ccaa[_0x36ddb9(0x1cb)](writeVint,0x8),_0x46ccaa['ULLax'](writeFloat64,_0x2558a9)]),_0x42d0c2=_0x28de11[_0x36ddb9(0x1d1)];if(!_0x1ee09f||_0x1ee09f['offset']<_0x42b4ee['offset']){if(_0x1ee09f){const _0x38deca=_0x46ccaa[_0x36ddb9(0x1c8)](_0x46ccaa[_0x36ddb9(0x1c4)](_0x1ee09f[_0x36ddb9(0x1c5)],_0x1ee09f[_0x36ddb9(0x1c9)]),_0x1ee09f['dataSize']),_0xd1861d=_0x46ccaa[_0x36ddb9(0x1e8)](_0x38deca,_0x42d0c2);if(_0x46ccaa['JAnHT'](_0xd1861d,0x2))return rewriteFile(_0x138e13,_0x42b4ee,_0x28de11,_0x4504b8,_0x163c63,_0x2e3037);const _0x1a1d24=_0x46ccaa[_0x36ddb9(0x1dd)](_0x42b4ee['dataSize'],_0x42d0c2),_0x2c2e44=Buffer[_0x36ddb9(0x1e0)]([_0x46ccaa[_0x36ddb9(0x1cb)](writeId,ID_INFO),writeVint(_0x1a1d24,_0x42b4ee[_0x36ddb9(0x1c9)])]),_0x3844b2=_0x138e13[_0x36ddb9(0x1bd)](_0x42b4ee[_0x36ddb9(0x1fa)],_0x46ccaa['YbAGg'](_0x42b4ee[_0x36ddb9(0x1fa)],_0x42b4ee[_0x36ddb9(0x1f8)])),_0x24e038=writeVoid(_0xd1861d),_0xf804e1=_0x138e13['slice'](0x0,_0x1ee09f['offset']),_0x459f1b=_0x138e13[_0x36ddb9(0x1bd)](_0x46ccaa['rvsvo'](_0x42b4ee['dataOffset'],_0x42b4ee['dataSize']));return _0x46ccaa['hHMEe'](writeFileSync,_0x2e3037,Buffer[_0x36ddb9(0x1e0)]([_0xf804e1,_0x24e038,_0x2c2e44,_0x3844b2,_0x28de11,_0x459f1b])),!![];}}return rewriteFile(_0x138e13,_0x42b4ee,_0x28de11,_0x4504b8,_0x163c63,_0x2e3037);}function rewriteFile(_0x533c23,_0x20ef3b,_0x1c2e64,_0x271969,_0x2dbf51,_0x590a47){const _0xef7633=_0x56d3,_0x3e99fb={'mwVwh':function(_0x19d31e,_0x23d21f){return _0x19d31e(_0x23d21f);},'sBuhZ':function(_0x3634b9,_0x40a694){return _0x3634b9+_0x40a694;},'BWNNU':function(_0x4cc919,_0xbd73b5,_0x322b15){return _0x4cc919(_0xbd73b5,_0x322b15);}},_0x306fb8=_0x20ef3b[_0xef7633(0x1f8)]+_0x1c2e64['length'],_0x457029=Buffer[_0xef7633(0x1e0)]([writeId(ID_INFO),_0x3e99fb[_0xef7633(0x1ba)](writeVint,_0x306fb8)]),_0x234dde=_0x3e99fb[_0xef7633(0x1da)](_0x20ef3b['idLen'],_0x20ef3b[_0xef7633(0x1c9)]),_0x27a2d3=_0x533c23[_0xef7633(0x1bd)](0x0,_0x20ef3b['offset']),_0x481e4e=_0x533c23['slice'](_0x20ef3b['dataOffset'],_0x3e99fb['sBuhZ'](_0x20ef3b[_0xef7633(0x1fa)],_0x20ef3b['dataSize'])),_0xadf9c5=_0x533c23['slice'](_0x3e99fb['sBuhZ'](_0x20ef3b['offset']+_0x234dde,_0x20ef3b[_0xef7633(0x1f8)]));return _0x3e99fb['BWNNU'](writeFileSync,_0x590a47,Buffer['concat']([_0x27a2d3,_0x457029,_0x481e4e,_0x1c2e64,_0xadf9c5])),!![];}if(process['argv'][0x1]?.['endsWith'](_0x5e75e4(0x1c3))||process[_0x5e75e4(0x1ef)][0x1]?.['endsWith'](_0x5e75e4(0x1f5))){const input=process[_0x5e75e4(0x1ef)][0x2],output=process['argv'][0x3];(!input||!output)&&(console[_0x5e75e4(0x1c1)]('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process[_0x5e75e4(0x1e7)](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x5e75e4(0x1f3)](_0x5e75e4(0x1e6)+output):console[_0x5e75e4(0x1f3)]('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(_0x521b44,_0xc1a6b6){const _0x42924c=_0x66a2,_0xa24b1f=_0x521b44();while(!![]){try{const _0x224cb0=-parseInt(_0x42924c(0x101))/0x1*(-parseInt(_0x42924c(0xfa))/0x2)+-parseInt(_0x42924c(0xf8))/0x3*(parseInt(_0x42924c(0xf6))/0x4)+-parseInt(_0x42924c(0xfd))/0x5*(parseInt(_0x42924c(0xfe))/0x6)+parseInt(_0x42924c(0xf2))/0x7+-parseInt(_0x42924c(0xf1))/0x8*(-parseInt(_0x42924c(0xee))/0x9)+-parseInt(_0x42924c(0x100))/0xa*(-parseInt(_0x42924c(0xfc))/0xb)+-parseInt(_0x42924c(0xfb))/0xc*(parseInt(_0x42924c(0xf4))/0xd);if(_0x224cb0===_0xc1a6b6)break;else _0xa24b1f['push'](_0xa24b1f['shift']());}catch(_0x4830f9){_0xa24b1f['push'](_0xa24b1f['shift']());}}}(_0x1edf,0x7b1cc));function _0x66a2(_0x20373e,_0x50c073){_0x20373e=_0x20373e-0xee;const _0x1edf98=_0x1edf();let _0x66a2a9=_0x1edf98[_0x20373e];return _0x66a2a9;}import{execSync}from'child_process';export function getGitBranch(){const _0x1b20e4=_0x66a2,_0x40a25b={'emyeJ':'pipe'};try{return execSync('git\x20rev-parse\x20--abbrev-ref\x20HEAD',{'encoding':_0x1b20e4(0xf5),'stdio':['pipe',_0x40a25b[_0x1b20e4(0xf7)],_0x40a25b[_0x1b20e4(0xf7)]]})['trim']();}catch{return undefined;}}function _0x1edf(){const _0x537c6e=['20lmneLe','1326420RZlaeC','trim','360980MGFEnC','128315snGrTQ','4283478CaqPbl','VfaGN','WMOui','16qgwyVj','4281067PwAdbQ','replace','351PUkWfE','utf-8','8WocGzz','emyeJ','343926DpXSvC','github.com/','2ToCMSx','385824vIspOb','242NFmFOf'];_0x1edf=function(){return _0x537c6e;};return _0x1edf();}export function getGitRepoUrl(){const _0xf16640=_0x66a2,_0x5b43a6={'AxsEg':function(_0x51d3de,_0x43ac0e,_0x4b2254){return _0x51d3de(_0x43ac0e,_0x4b2254);},'VfaGN':_0xf16640(0xf5),'WMOui':'pipe'};try{const _0x2ff4a8=_0x5b43a6['AxsEg'](execSync,'git\x20remote\x20get-url\x20origin',{'encoding':_0x5b43a6[_0xf16640(0xef)],'stdio':[_0x5b43a6['WMOui'],_0x5b43a6[_0xf16640(0xf0)],_0x5b43a6[_0xf16640(0xf0)]]})[_0xf16640(0xff)]();return _0x2ff4a8[_0xf16640(0xf3)](/\.git$/,'')['replace'](/^git@github\.com:/,_0xf16640(0xf9))[_0xf16640(0xf3)](/^https?:\/\//,'');}catch{return undefined;}}export function getGitInfo(){const _0x5eb446={'CJqew':function(_0x31139a){return _0x31139a();}};return{'branch':getGitBranch(),'repoUrl':_0x5eb446['CJqew'](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 _0x338704=_0x74b0;(function(_0x508483,_0x5da838){const _0x3fdad6=_0x74b0,_0xeef8d2=_0x508483();while(!![]){try{const _0x69ba9e=parseInt(_0x3fdad6(0x1d2))/0x1+-parseInt(_0x3fdad6(0x1cd))/0x2+parseInt(_0x3fdad6(0x1ef))/0x3+parseInt(_0x3fdad6(0x1f8))/0x4*(-parseInt(_0x3fdad6(0x1e8))/0x5)+-parseInt(_0x3fdad6(0x1e9))/0x6+parseInt(_0x3fdad6(0x1f6))/0x7+parseInt(_0x3fdad6(0x1f2))/0x8;if(_0x69ba9e===_0x5da838)break;else _0xeef8d2['push'](_0xeef8d2['shift']());}catch(_0x2f54a8){_0xeef8d2['push'](_0xeef8d2['shift']());}}}(_0xbd33,0xd7afc));const _0x4ac4ee=(function(){const _0x3d3e98=_0x74b0,_0x135a51={'eExLs':function(_0x4cf54e,_0x4ed6a5){return _0x4cf54e!==_0x4ed6a5;},'VNLxn':_0x3d3e98(0x1de),'SwfDu':function(_0x2d2c8e,_0x2d61f5){return _0x2d2c8e!==_0x2d61f5;},'GCFLP':_0x3d3e98(0x1e7)};let _0x37cf11=!![];return function(_0x4a21f6,_0x33ef41){const _0x3a3341=_0x3d3e98;if(_0x135a51[_0x3a3341(0x1f7)](_0x135a51[_0x3a3341(0x1e4)],_0x135a51[_0x3a3341(0x1e4)])){if(_0x1abee2){const _0x56e1fb=_0x53f32a[_0x3a3341(0x1d8)](_0x183bee,arguments);return _0x828e95=null,_0x56e1fb;}}else{const _0x572afb=_0x37cf11?function(){const _0x557974=_0x3a3341;if(_0x135a51['eExLs'](_0x557974(0x1de),_0x135a51['VNLxn']))return null;else{if(_0x33ef41){const _0x2e4f20=_0x33ef41[_0x557974(0x1d8)](_0x4a21f6,arguments);return _0x33ef41=null,_0x2e4f20;}}}:function(){};return _0x37cf11=![],_0x572afb;}};}()),_0x395022=_0x4ac4ee(this,function(){const _0x34d8bc=_0x74b0,_0x2d832f={'kRdGO':_0x34d8bc(0x1dd)};return _0x395022[_0x34d8bc(0x1d3)]()[_0x34d8bc(0x1eb)]('(((.+)+)+)+$')[_0x34d8bc(0x1d3)]()[_0x34d8bc(0x1cc)](_0x395022)[_0x34d8bc(0x1eb)](_0x2d832f[_0x34d8bc(0x1e5)]);});_0x395022();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x338704(0x1e2),ENV_TOKEN_LEGACY=_0x338704(0x1ea),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x338704(0x1d9)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x338704(0x1ee));function isGitHubCI(){const _0x17c2b0=_0x338704;return!!process[_0x17c2b0(0x1e1)][_0x17c2b0(0x1cf)];}async function writeToGitHubEnv(_0x3cb48d,_0x501cc0){const _0x19c987=_0x338704,_0x314d95={'PeOCj':function(_0x1d3b8,_0x4bf353,_0x5674a3){return _0x1d3b8(_0x4bf353,_0x5674a3);}},_0x49460b=process[_0x19c987(0x1e1)]['GITHUB_ENV'];_0x49460b&&await _0x314d95['PeOCj'](appendFile,_0x49460b,_0x3cb48d+'='+_0x501cc0+'\x0a');}export async function storeToken(_0x2189b2){const _0x1dc756=_0x338704,_0x28563c={'vHjgQ':function(_0x4bafd5){return _0x4bafd5();},'pxlHQ':function(_0x597c9c,_0xbb84b3,_0x3c54fb,_0x94ec){return _0x597c9c(_0xbb84b3,_0x3c54fb,_0x94ec);}};_0x28563c[_0x1dc756(0x1db)](isGitHubCI)?await writeToGitHubEnv(ENV_TOKEN,_0x2189b2):(await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x28563c['pxlHQ'](writeFile,TOKEN_PATH,_0x2189b2,{'mode':0x180}));}export async function getToken(){const _0x112ed4=_0x338704,_0x576d89={'VPJHr':function(_0x156963,_0x2cb8a3){return _0x156963!==_0x2cb8a3;},'Comzo':_0x112ed4(0x1da),'JquvD':'PJdgs','hBjCO':function(_0x2cc0fc,_0x384b2f,_0x15f674){return _0x2cc0fc(_0x384b2f,_0x15f674);}};if(process[_0x112ed4(0x1e1)][ENV_TOKEN])return process[_0x112ed4(0x1e1)][ENV_TOKEN];if(process[_0x112ed4(0x1e1)][ENV_TOKEN_LEGACY])return _0x576d89[_0x112ed4(0x1f4)](_0x576d89[_0x112ed4(0x1cb)],_0x112ed4(0x1d0))?process[_0x112ed4(0x1e1)][ENV_TOKEN_LEGACY]:![];try{if(_0x576d89[_0x112ed4(0x1f4)](_0x576d89[_0x112ed4(0x1f0)],_0x112ed4(0x1ec))){const _0xa8e7dc=await _0x576d89[_0x112ed4(0x1d7)](readFile,TOKEN_PATH,_0x112ed4(0x1f3));return _0xa8e7dc[_0x112ed4(0x1d5)]()||null;}else return null;}catch{return null;}}export async function deleteToken(){const _0x184362=_0x338704,_0x145017={'fkyIk':_0x184362(0x1e6)};try{if(_0x145017[_0x184362(0x1d4)]===_0x184362(0x1e6))return await unlink(TOKEN_PATH),!![];else{const _0x4353d2=_0x426eda[_0x184362(0x1d8)](_0x5d82f9,arguments);return _0x81990c=null,_0x4353d2;}}catch{return![];}}function _0x74b0(_0x1f2807,_0x15fc06){_0x1f2807=_0x1f2807-0x1cb;const _0x3516f0=_0xbd33();let _0x395022=_0x3516f0[_0x1f2807];if(_0x74b0['phMfuh']===undefined){var _0x4ac4ee=function(_0x416667){const _0x54278d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33c40a='',_0x8994cf='',_0x38bbd3=_0x33c40a+_0x4ac4ee;for(let _0x44f11b=0x0,_0x464960,_0x1bd94a,_0x2202c3=0x0;_0x1bd94a=_0x416667['charAt'](_0x2202c3++);~_0x1bd94a&&(_0x464960=_0x44f11b%0x4?_0x464960*0x40+_0x1bd94a:_0x1bd94a,_0x44f11b++%0x4)?_0x33c40a+=_0x38bbd3['charCodeAt'](_0x2202c3+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x464960>>(-0x2*_0x44f11b&0x6)):_0x44f11b:0x0){_0x1bd94a=_0x54278d['indexOf'](_0x1bd94a);}for(let _0x4c5027=0x0,_0x2d67c9=_0x33c40a['length'];_0x4c5027<_0x2d67c9;_0x4c5027++){_0x8994cf+='%'+('00'+_0x33c40a['charCodeAt'](_0x4c5027)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8994cf);};_0x74b0['WwNdbY']=_0x4ac4ee,_0x74b0['LrAJfa']={},_0x74b0['phMfuh']=!![];}const _0xbd33b3=_0x3516f0[0x0],_0x74b0f3=_0x1f2807+_0xbd33b3,_0x2ea44f=_0x74b0['LrAJfa'][_0x74b0f3];if(!_0x2ea44f){const _0x2bebb6=function(_0x5daa78){this['kVeOrK']=_0x5daa78,this['BOtlrq']=[0x1,0x0,0x0],this['jWhIZz']=function(){return'newState';},this['hCZODw']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['VpHLYG']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2bebb6['prototype']['LBrdhl']=function(){const _0x246702=new RegExp(this['hCZODw']+this['VpHLYG']),_0x575d15=_0x246702['test'](this['jWhIZz']['toString']())?--this['BOtlrq'][0x1]:--this['BOtlrq'][0x0];return this['PmEoUy'](_0x575d15);},_0x2bebb6['prototype']['PmEoUy']=function(_0x20c6c3){if(!Boolean(~_0x20c6c3))return _0x20c6c3;return this['xKJnkK'](this['kVeOrK']);},_0x2bebb6['prototype']['xKJnkK']=function(_0x23c8a7){for(let _0x12b41d=0x0,_0x53f066=this['BOtlrq']['length'];_0x12b41d<_0x53f066;_0x12b41d++){this['BOtlrq']['push'](Math['round'](Math['random']())),_0x53f066=this['BOtlrq']['length'];}return _0x23c8a7(this['BOtlrq'][0x0]);},new _0x2bebb6(_0x74b0)['LBrdhl'](),_0x395022=_0x74b0['WwNdbY'](_0x395022),_0x74b0['LrAJfa'][_0x74b0f3]=_0x395022;}else _0x395022=_0x2ea44f;return _0x395022;}export async function storeRefreshToken(_0x57565e){const _0x3d56d2=_0x338704,_0x1e59c2={'rvgbM':function(_0x15143e,_0x5570aa,_0x1c17bb,_0x487f0a){return _0x15143e(_0x5570aa,_0x1c17bb,_0x487f0a);}};await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x1e59c2[_0x3d56d2(0x1e3)](writeFile,REFRESH_TOKEN_PATH,_0x57565e,{'mode':0x180});}export async function getRefreshToken(){const _0x360483=_0x338704,_0xa1a1f3={'klQTg':function(_0x1e2028,_0x55f034){return _0x1e2028===_0x55f034;},'lAtuR':_0x360483(0x1ce),'riDeE':function(_0x39a19a,_0x16a4df,_0x7b3271){return _0x39a19a(_0x16a4df,_0x7b3271);},'JwrwZ':_0x360483(0x1f3)};try{if(_0xa1a1f3[_0x360483(0x1ed)]('IHqNF',_0xa1a1f3[_0x360483(0x1f1)]))return _0x3c98fc[_0x360483(0x1e1)][_0x58d4f3];else{const _0x1e2eb5=await _0xa1a1f3['riDeE'](readFile,REFRESH_TOKEN_PATH,_0xa1a1f3['JwrwZ']);return _0x1e2eb5[_0x360483(0x1d5)]()||null;}}catch{return null;}}export async function deleteRefreshToken(){const _0x71f187=_0x338704,_0x34d3c2={'ZtkZK':function(_0x315850,_0x5d7dc2){return _0x315850!==_0x5d7dc2;},'iZppG':_0x71f187(0x1dc)};try{if(_0x34d3c2[_0x71f187(0x1d1)](_0x71f187(0x1e0),_0x34d3c2[_0x71f187(0x1f5)]))return await unlink(REFRESH_TOKEN_PATH),!![];else{const _0x2b79af=_0x2bebb6?function(){const _0x2ca898=_0x71f187;if(_0x12b41d){const _0x38e754=_0x2f7c7c[_0x2ca898(0x1d8)](_0x26f606,arguments);return _0x4adffd=null,_0x38e754;}}:function(){};return _0x23c8a7=![],_0x2b79af;}}catch{return![];}}export async function deleteAllCredentials(){const _0x11b757=_0x338704,_0x386038={'HiRzB':function(_0x5ae9dd){return _0x5ae9dd();},'koiDh':function(_0x5a1ced){return _0x5a1ced();}};await _0x386038[_0x11b757(0x1d6)](deleteToken),await _0x386038[_0x11b757(0x1df)](deleteRefreshToken);}function _0xbd33(){const _0x33fde0=['u0fXtuu','DKHQz1e','tKrYq3C','kcGOlISPkYKRksSK','sNnXDLy','A29PrgG','v1DoruS','zw52','uKfor0vsx0nmsv9ut0TftG','CNzNyK0','r0ngtfa','A1jKr08','thzgsxu','D0nRD2e','mZCYnujvB3zryq','mtaXmdG3nZzds3jerMm','uKfor0vsx01duf9ut0TftG','C2vHCMnO','r1jzCgC','A2XrvgC','CMvMCMvZAc50Ehq','nZyWmtKXzNzKugzw','sNf1DKq','Bef0Dvi','mtCYndC1mZzhs3jtB3y','DxrMltG','vLbkshi','AvPWCeC','otCWnZq2mhbQtxjmvW','u3DMrhu','nZG5mLL3zK1cEa','q29TEM8','y29UC3rYDwn0B3i','mtG1nZm1mgrMwujRsW','B3DnEwG','r0Lusfvcx0vovG','s2HXwM4','wNrRwKS','mte3mdy4ou9LwKfqwa','Dg9tDhjPBMC','zMT5swS','DhjPBq','sgLsEKi','AejQq08','yxbWBhK','y2XPlNr4Da'];_0xbd33=function(){return _0x33fde0;};return _0xbd33();}
@@ -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 _0x55a5(_0x292564,_0x389e5d){_0x292564=_0x292564-0xf0;const _0x12a1a8=_0x12e3();let _0xb7caa3=_0x12a1a8[_0x292564];if(_0x55a5['rYmUEx']===undefined){var _0x175e4b=function(_0x45ad3e){const _0x4132a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34ca23='',_0x32662a='',_0x10d034=_0x34ca23+_0x175e4b;for(let _0x278c4b=0x0,_0x331dd8,_0x450b72,_0x3c982f=0x0;_0x450b72=_0x45ad3e['charAt'](_0x3c982f++);~_0x450b72&&(_0x331dd8=_0x278c4b%0x4?_0x331dd8*0x40+_0x450b72:_0x450b72,_0x278c4b++%0x4)?_0x34ca23+=_0x10d034['charCodeAt'](_0x3c982f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x331dd8>>(-0x2*_0x278c4b&0x6)):_0x278c4b:0x0){_0x450b72=_0x4132a2['indexOf'](_0x450b72);}for(let _0x41ee0c=0x0,_0x37e3a4=_0x34ca23['length'];_0x41ee0c<_0x37e3a4;_0x41ee0c++){_0x32662a+='%'+('00'+_0x34ca23['charCodeAt'](_0x41ee0c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x32662a);};_0x55a5['HULYxn']=_0x175e4b,_0x55a5['eUalcl']={},_0x55a5['rYmUEx']=!![];}const _0x12e321=_0x12a1a8[0x0],_0x55a5b6=_0x292564+_0x12e321,_0x477015=_0x55a5['eUalcl'][_0x55a5b6];if(!_0x477015){const _0x1862cf=function(_0x492a97){this['zSdRJV']=_0x492a97,this['rTIpVL']=[0x1,0x0,0x0],this['WnruUW']=function(){return'newState';},this['ctuyIe']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eUUNdN']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1862cf['prototype']['svolGB']=function(){const _0x3204fd=new RegExp(this['ctuyIe']+this['eUUNdN']),_0x516a0f=_0x3204fd['test'](this['WnruUW']['toString']())?--this['rTIpVL'][0x1]:--this['rTIpVL'][0x0];return this['svoPht'](_0x516a0f);},_0x1862cf['prototype']['svoPht']=function(_0x22041e){if(!Boolean(~_0x22041e))return _0x22041e;return this['lwCcIJ'](this['zSdRJV']);},_0x1862cf['prototype']['lwCcIJ']=function(_0x56a06f){for(let _0x543903=0x0,_0x37d4a0=this['rTIpVL']['length'];_0x543903<_0x37d4a0;_0x543903++){this['rTIpVL']['push'](Math['round'](Math['random']())),_0x37d4a0=this['rTIpVL']['length'];}return _0x56a06f(this['rTIpVL'][0x0]);},new _0x1862cf(_0x55a5)['svolGB'](),_0xb7caa3=_0x55a5['HULYxn'](_0xb7caa3),_0x55a5['eUalcl'][_0x55a5b6]=_0xb7caa3;}else _0xb7caa3=_0x477015;return _0xb7caa3;}(function(_0x3ed328,_0x47db07){const _0x8a9f46=_0x55a5,_0x43114e=_0x3ed328();while(!![]){try{const _0x4fa3f4=parseInt(_0x8a9f46(0xfb))/0x1+-parseInt(_0x8a9f46(0xf1))/0x2+parseInt(_0x8a9f46(0xf6))/0x3+-parseInt(_0x8a9f46(0xf7))/0x4*(-parseInt(_0x8a9f46(0xf0))/0x5)+-parseInt(_0x8a9f46(0xf2))/0x6+parseInt(_0x8a9f46(0xfc))/0x7+-parseInt(_0x8a9f46(0xf3))/0x8*(parseInt(_0x8a9f46(0xf4))/0x9);if(_0x4fa3f4===_0x47db07)break;else _0x43114e['push'](_0x43114e['shift']());}catch(_0x384adf){_0x43114e['push'](_0x43114e['shift']());}}}(_0x12e3,0x2137a));const _0x175e4b=(function(){let _0x57069a=!![];return function(_0x12216f,_0x706be3){const _0x43c381=_0x57069a?function(){if(_0x706be3){const _0x58bd24=_0x706be3['apply'](_0x12216f,arguments);return _0x706be3=null,_0x58bd24;}}:function(){};return _0x57069a=![],_0x43c381;};}()),_0xb7caa3=_0x175e4b(this,function(){const _0xa230df=_0x55a5,_0x1fe9fe={'kggPi':_0xa230df(0x107)};return _0xb7caa3[_0xa230df(0x106)]()[_0xa230df(0xfe)](_0xa230df(0x107))['toString']()[_0xa230df(0x104)](_0xb7caa3)[_0xa230df(0xfe)](_0x1fe9fe[_0xa230df(0x101)]);});_0xb7caa3();function _0x12e3(){const _0x5e8085=['rxbyquO','zLL1sg4','y29UC3rYDwn0B3i','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','Dg9tDhjPBMC','kcGOlISPkYKRksSK','qMvHCMvYia','C3rYAw5NAwz5','odCZmZa1tgHfs2Pc','mJG5nty0yuDtt0nj','mZaXnZG4vhLYrNHT','mJa1nMzjz2LVtG','mtq0u3DwywPf','uuHZr3i','ntu1ovzqy1fUAW','nefRzxnMDG','ue9tva','yxbWBhK','rur5thu','nZGXnZnOsvzlv2C','ntyZotqXvxbvC0LJ','yKnOANy','C2vHCMnO','z21kyLG','yxbWBgLJyxrPB24VANnVBG','A2DNugK'];_0x12e3=function(){return _0x5e8085;};return _0x12e3();}import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x4c102e,_0x2a9dbd,_0x45f339){const _0x13a0ab=_0x55a5,_0x9934cb={'EpXAJ':function(_0x23f947){return _0x23f947();},'QHsGr':'xyhoq','EDyLu':_0x13a0ab(0x100),'wnXnY':function(_0x5abcc7,_0x5f1ec7){return _0x5abcc7===_0x5f1ec7;},'gmJbX':_0x13a0ab(0x103),'bChjv':'Evocl'},_0x388b04=await _0x9934cb[_0x13a0ab(0x102)](getToken);if(!_0x388b04){if(_0x9934cb[_0x13a0ab(0xf5)]===_0x9934cb[_0x13a0ab(0xf5)])return;else{const _0x4625f5=_0x5ce285[_0x13a0ab(0xf9)](_0x4278dd,arguments);return _0xaa04c8=null,_0x4625f5;}}const _0x254288=_0x9934cb['EpXAJ'](getApiBaseUrl),_0x40d6a2=await fetch(_0x254288+'/api/v1/mcp/local-agent-installations',{'method':_0x13a0ab(0xf8),'headers':{'Authorization':_0x13a0ab(0x108)+_0x388b04,'Content-Type':_0x9934cb[_0x13a0ab(0xfa)]},'body':JSON[_0x13a0ab(0x109)]({'skillName':_0x4c102e,'cliVersion':_0x45f339,'metadata':_0x2a9dbd})});if(!_0x40d6a2['ok']){if(_0x9934cb['wnXnY'](_0x9934cb[_0x13a0ab(0xff)],_0x9934cb[_0x13a0ab(0xfd)]))return;else{const _0x1f9b9b=await _0x40d6a2['text']();console['error'](_0x13a0ab(0x105)+_0x1f9b9b);}}}
@@ -0,0 +1 @@
1
+ (function(_0x230657,_0x8f4044){const _0x114d48=_0x424c,_0x3b8565=_0x230657();while(!![]){try{const _0x1abd02=-parseInt(_0x114d48(0x1e3))/0x1+parseInt(_0x114d48(0x1e6))/0x2+parseInt(_0x114d48(0x1c3))/0x3*(-parseInt(_0x114d48(0x1d2))/0x4)+-parseInt(_0x114d48(0x1ec))/0x5+-parseInt(_0x114d48(0x1c6))/0x6+-parseInt(_0x114d48(0x1d9))/0x7*(parseInt(_0x114d48(0x1c0))/0x8)+parseInt(_0x114d48(0x1d3))/0x9;if(_0x1abd02===_0x8f4044)break;else _0x3b8565['push'](_0x3b8565['shift']());}catch(_0x2117e4){_0x3b8565['push'](_0x3b8565['shift']());}}}(_0x32e0,0xb454c));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';function _0x32e0(){const _0x4c6f92=['10598272xXoTnU','CEpEv','tool_response','210441TELWll','exec','content-type','826968SecPMU','VnwiY','mimeType','hHjTN','updated','MZgQI','size','nAqsw','url','webp','iVJWJ','map','4EGZhNI','33462216mdLUox','isNaN','ADiuU','content','hook_event_name','Image\x20exceeds\x20size\x20limit\x20(','7zNHBEy','image/webp','zdoOf','byteLength','type','from','umgKZ','headers','SoNUT','toLowerCase','1294027KCQEtK','VmdnU','source','1871612NlTEfF','\x20bytes)','data','image/png','split','replace','5442040IqJzHJ','image/gif','startsWith','base64','https://','image/jpeg','UZSKM','trim','QIJeV','toString','status'];_0x32e0=function(){return _0x4c6f92;};return _0x32e0();}function _0x424c(_0x12855b,_0x256f5d){_0x12855b=_0x12855b-0x1bd;const _0x32e047=_0x32e0();let _0x424c88=_0x32e047[_0x12855b];return _0x424c88;}const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0xf40655){const _0x52422b=_0x424c,_0x33488c={'hHjTN':function(_0x5cc9a7,_0x9a6f60){return _0x5cc9a7===_0x9a6f60;},'UZSKM':function(_0x3cb8ed,_0x56dd2c){return _0x3cb8ed!==_0x56dd2c;}};return _0x33488c[_0x52422b(0x1c9)](typeof _0xf40655,'object')&&_0x33488c[_0x52422b(0x1f2)](_0xf40655,null);}function isImageBlock(_0x4e32f5){const _0x41ac1=_0x424c;return isRecord(_0x4e32f5)&&_0x4e32f5[_0x41ac1(0x1dd)]==='image';}function isDataUrl(_0x5eb38b){const _0x5e784f=_0x424c,_0x1668f3={'VmdnU':'data:'};return _0x5eb38b['startsWith'](_0x1668f3[_0x5e784f(0x1e4)]);}function parseDataUrl(_0x319351){const _0x146e48=_0x424c,_0x95a3d4={'QIJeV':function(_0x440d86,_0x152829){return _0x440d86(_0x152829);}},_0x35aaea=/^data:([^;]+);base64,(.+)$/[_0x146e48(0x1c4)](_0x319351);if(!_0x35aaea)return null;const _0x26ef29=_0x35aaea[0x1][_0x146e48(0x1e2)]();if(!_0x95a3d4[_0x146e48(0x1bd)](isValidMediaType,_0x26ef29))return null;return{'data':_0x35aaea[0x2],'mediaType':_0x26ef29};}function isValidMediaType(_0x16e90e){const _0x4a1f1a=_0x424c,_0xf7806={'iVJWJ':'image/jpeg','LOQKe':_0x4a1f1a(0x1e9),'AklOm':'image/gif','VjFyZ':'image/webp'};return[_0xf7806[_0x4a1f1a(0x1d0)],_0xf7806['LOQKe'],_0xf7806['AklOm'],_0xf7806['VjFyZ']]['includes'](_0x16e90e);}function inferMediaType(_0x2d9fa2,_0x534551){const _0xa57eae=_0x424c,_0x43f702={'APnNC':function(_0x2a984c,_0x47c542){return _0x2a984c(_0x47c542);},'sWBRH':_0xa57eae(0x1f1),'sIMUW':'png','GIGJx':'gif','nAqsw':_0xa57eae(0x1ed),'HEXCb':_0xa57eae(0x1cf),'umgKZ':_0xa57eae(0x1da),'mRFKj':'image/png'};if(_0x2d9fa2){const _0x174f57=_0x2d9fa2[_0xa57eae(0x1e2)]()[_0xa57eae(0x1ea)](';')[0x0][_0xa57eae(0x1f3)]();if(_0x43f702['APnNC'](isValidMediaType,_0x174f57))return _0x174f57;}const _0x23dfe2=extname(_0x534551)[_0xa57eae(0x1e2)]()[_0xa57eae(0x1eb)]('.','');switch(_0x23dfe2){case'jpg':case'jpeg':return _0x43f702['sWBRH'];case _0x43f702['sIMUW']:return'image/png';case _0x43f702['GIGJx']:return _0x43f702[_0xa57eae(0x1cd)];case _0x43f702['HEXCb']:return _0x43f702[_0xa57eae(0x1df)];default:return _0x43f702['mRFKj'];}}async function readImageFromUrl(_0x2788b6){const _0xe84f8a=_0x424c,_0x3b3305={'xZBqP':function(_0x30ed82,_0x183047){return _0x30ed82(_0x183047);},'DrOGA':function(_0x586e59,_0x1a8273){return _0x586e59(_0x1a8273);},'VnwiY':_0xe84f8a(0x1ef),'JBzEF':_0xe84f8a(0x1f0),'MZgQI':function(_0x5e46af,_0x399622,_0x1e39ae){return _0x5e46af(_0x399622,_0x1e39ae);},'vyaqt':_0xe84f8a(0x1c5),'CEpEv':function(_0x3530d9,_0x5dca5e){return _0x3530d9>_0x5dca5e;},'SoNUT':function(_0x2709f0,_0x41db31){return _0x2709f0(_0x41db31);}};if(_0x3b3305['xZBqP'](isDataUrl,_0x2788b6)){const _0x3e1ffa=_0x3b3305['DrOGA'](parseDataUrl,_0x2788b6);if(_0x3e1ffa)return _0x3e1ffa;throw new Error('Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content');}if(_0x2788b6['startsWith']('file://')){const _0x5cb32c=_0x3b3305['xZBqP'](fileURLToPath,_0x2788b6),_0x87571b=await stat(_0x5cb32c);if(_0x87571b[_0xe84f8a(0x1cc)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));const _0x3c419e=await readFile(_0x5cb32c);return{'data':_0x3c419e['toString'](_0x3b3305[_0xe84f8a(0x1c7)]),'mediaType':inferMediaType(null,_0x5cb32c)};}if(_0x2788b6['startsWith']('http://')||_0x2788b6[_0xe84f8a(0x1ee)](_0x3b3305['JBzEF'])){const _0x3d27a1=await _0x3b3305[_0xe84f8a(0x1cb)](fetch,_0x2788b6,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x3d27a1['ok'])throw new Error('Failed\x20to\x20fetch\x20image:\x20'+_0x3d27a1[_0xe84f8a(0x1bf)]);const _0x58555a=_0x3d27a1['headers']['get']('content-length');if(_0x58555a){const _0x5c9b52=_0x3b3305['xZBqP'](Number,_0x58555a);if(!Number[_0xe84f8a(0x1d4)](_0x5c9b52)&&_0x5c9b52>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));}const _0xb1c98c=await _0x3d27a1['arrayBuffer']();if(_0xb1c98c[_0xe84f8a(0x1dc)]>MAX_IMAGE_SIZE_BYTES)throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));return{'data':Buffer[_0xe84f8a(0x1de)](_0xb1c98c)[_0xe84f8a(0x1be)](_0xe84f8a(0x1ef)),'mediaType':inferMediaType(_0x3d27a1[_0xe84f8a(0x1e0)]['get'](_0x3b3305['vyaqt']),_0x2788b6)};}const _0x143cb9=await stat(_0x2788b6);if(_0x3b3305[_0xe84f8a(0x1c1)](_0x143cb9[_0xe84f8a(0x1cc)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0xe84f8a(0x1d8)+MAX_IMAGE_SIZE_BYTES+_0xe84f8a(0x1e7));const _0x257312=await _0x3b3305[_0xe84f8a(0x1e1)](readFile,_0x2788b6);return{'data':_0x257312[_0xe84f8a(0x1be)](_0xe84f8a(0x1ef)),'mediaType':inferMediaType(null,_0x2788b6)};}async function convertImageBlockToBase64(_0x3ab2ad){const _0xeb3bb5=_0x424c,_0x2a5b86={'vFgiM':function(_0x47cec3,_0x4a7dcb){return _0x47cec3===_0x4a7dcb;},'urHzc':_0xeb3bb5(0x1ef),'ADiuU':function(_0x5f2d35,_0x4b8e30){return _0x5f2d35(_0x4b8e30);}};if(_0x2a5b86['vFgiM'](_0x3ab2ad[_0xeb3bb5(0x1e5)]?.[_0xeb3bb5(0x1dd)],_0x2a5b86['urHzc']))return{'updated':![],'block':_0x3ab2ad};if(_0x3ab2ad[_0xeb3bb5(0x1e8)]&&_0x3ab2ad[_0xeb3bb5(0x1c8)])return{'updated':![],'block':_0x3ab2ad};const _0x42a19d=_0x3ab2ad[_0xeb3bb5(0x1e5)]?.['url']??_0x3ab2ad[_0xeb3bb5(0x1ce)];if(!_0x42a19d)return{'updated':![],'block':_0x3ab2ad};const _0x40168d=await _0x2a5b86[_0xeb3bb5(0x1d5)](readImageFromUrl,_0x42a19d);return{'updated':!![],'block':{..._0x3ab2ad,'source':{'type':_0xeb3bb5(0x1ef),'media_type':_0x40168d['mediaType'],'data':_0x40168d['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0xe6c063){const _0x54f78b=_0x424c,_0x1bc468={'zdoOf':function(_0xb9d3a9,_0x54a901){return _0xb9d3a9(_0x54a901);}};if(!isRecord(_0xe6c063))return{'updated':![],'output':_0xe6c063};const _0xe07839=_0xe6c063[_0x54f78b(0x1d6)];if(!Array['isArray'](_0xe07839))return{'updated':![],'output':_0xe6c063};let _0x40f1db=![];const _0x598088=await Promise['all'](_0xe07839[_0x54f78b(0x1d1)](async _0x1e9925=>{const _0xb19ee3=_0x54f78b;if(!_0x1bc468[_0xb19ee3(0x1db)](isImageBlock,_0x1e9925))return _0x1e9925;try{const _0xb6d62c=await convertImageBlockToBase64(_0x1e9925);if(_0xb6d62c[_0xb19ee3(0x1ca)])_0x40f1db=!![];return _0xb6d62c['block'];}catch{return _0x1e9925;}}));if(!_0x40f1db)return{'updated':![],'output':_0xe6c063};return{'updated':!![],'output':{..._0xe6c063,'content':_0x598088}};}export function createMcpImageBase64Hook(){const _0x262a19={'TWzeM':'PostToolUse','AMHnT':function(_0x28ed62,_0x217aa2){return _0x28ed62(_0x217aa2);}};return async _0x203cc8=>{const _0x27e429=_0x424c;if(_0x203cc8[_0x27e429(0x1d7)]!==_0x262a19['TWzeM'])return{};const _0x7c2592=_0x203cc8,{updated:_0x15803e,output:_0x46b728}=await _0x262a19['AMHnT'](convertToolOutputImagesToBase64,_0x7c2592[_0x27e429(0x1c2)]);if(!_0x15803e)return{};return{'hookSpecificOutput':{'hookEventName':'PostToolUse','updatedMCPToolOutput':_0x46b728}};};}
@@ -0,0 +1 @@
1
+ function _0x4337(_0x31e8c0,_0x4f4970){_0x31e8c0=_0x31e8c0-0x90;const _0x1b834c=_0x1b83();let _0x433745=_0x1b834c[_0x31e8c0];return _0x433745;}const _0x4c7912=_0x4337;(function(_0x232910,_0x225f54){const _0x58428c=_0x4337,_0x220dfa=_0x232910();while(!![]){try{const _0x471455=parseInt(_0x58428c(0x9c))/0x1*(-parseInt(_0x58428c(0x9a))/0x2)+-parseInt(_0x58428c(0x99))/0x3*(-parseInt(_0x58428c(0x96))/0x4)+-parseInt(_0x58428c(0x9d))/0x5+parseInt(_0x58428c(0x98))/0x6*(-parseInt(_0x58428c(0x91))/0x7)+parseInt(_0x58428c(0x9b))/0x8*(-parseInt(_0x58428c(0x93))/0x9)+-parseInt(_0x58428c(0x94))/0xa+parseInt(_0x58428c(0x92))/0xb;if(_0x471455===_0x225f54)break;else _0x220dfa['push'](_0x220dfa['shift']());}catch(_0x407bf8){_0x220dfa['push'](_0x220dfa['shift']());}}}(_0x1b83,0x862dd));function _0x1b83(){const _0x541a45=['1FnHzit','2344745NEbEKB','claude-opus-4-6','6664322uQCKOD','23396131hCrzKg','5219955AHoZcr','56720APqxFT','claude-sonnet-4-6','187932whwkMj','trim','6HvXoAH','69oAiGUt','1302542KpGbud','8miGniT'];_0x1b83=function(){return _0x541a45;};return _0x1b83();}const VERIFY_MODEL_ALIASES={'opus':_0x4c7912(0x90),'sonnet':_0x4c7912(0x95)};export const DEFAULT_VERIFY_MODEL=_0x4c7912(0x90);export function resolveVerifyModel(_0x5b620a){const _0xd2c2d2=_0x4c7912,_0x4e2d7c={'JrElp':function(_0x33085a,_0x4a7827){return _0x33085a??_0x4a7827;}};if(!_0x5b620a)return undefined;const _0x3d04ad=_0x5b620a[_0xd2c2d2(0x97)]();if(!_0x3d04ad)return undefined;const _0x11b5cf=VERIFY_MODEL_ALIASES[_0x3d04ad['toLowerCase']()];return _0x4e2d7c['JrElp'](_0x11b5cf,_0x3d04ad);}
@@ -0,0 +1 @@
1
+ (function(_0x38020b,_0x21dc2e){var _0x146f00=_0x395b,_0x3893c2=_0x38020b();while(!![]){try{var _0x422436=parseInt(_0x146f00(0x13f))/0x1+parseInt(_0x146f00(0x131))/0x2*(parseInt(_0x146f00(0x138))/0x3)+parseInt(_0x146f00(0x137))/0x4*(-parseInt(_0x146f00(0x12e))/0x5)+-parseInt(_0x146f00(0x13d))/0x6*(-parseInt(_0x146f00(0x141))/0x7)+-parseInt(_0x146f00(0x12f))/0x8*(parseInt(_0x146f00(0x13a))/0x9)+parseInt(_0x146f00(0x13c))/0xa+parseInt(_0x146f00(0x134))/0xb;if(_0x422436===_0x21dc2e)break;else _0x3893c2['push'](_0x3893c2['shift']());}catch(_0x3790c8){_0x3893c2['push'](_0x3893c2['shift']());}}}(_0x3ce1,0x7a987));import{homedir}from'os';function _0x395b(_0xdfdc50,_0x3e2683){_0xdfdc50=_0xdfdc50-0x12e;var _0x3ce1ce=_0x3ce1();var _0x395b15=_0x3ce1ce[_0xdfdc50];return _0x395b15;}import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x14eee6){var _0x1b81e1=_0x395b,_0xe150f2={'PaodV':_0x1b81e1(0x13b),'dhhBK':function(_0x5f1ea0,_0xfa740f,_0x2ef073){return _0x5f1ea0(_0xfa740f,_0x2ef073);},'rIQUx':'opencode','QizWG':function(_0x344d1b,_0x5400f1,_0x4e8d16){return _0x344d1b(_0x5400f1,_0x4e8d16);},'xyJYt':'.opencode'};if(process[_0x1b81e1(0x140)][_0x1b81e1(0x132)])return process[_0x1b81e1(0x140)][_0x1b81e1(0x132)];if(_0x14eee6===_0xe150f2['PaodV']){if(process['env'][_0x1b81e1(0x130)])return _0xe150f2[_0x1b81e1(0x136)](join,process['env']['XDG_CONFIG_HOME'],'opencode');return join(homedir(),'.config',_0xe150f2[_0x1b81e1(0x133)]);}return _0xe150f2[_0x1b81e1(0x135)](join,getProjectRoot(),_0xe150f2['xyJYt']);}export function getOpencodeSkillsDir(_0x185b3b){var _0x989ab8=_0x395b,_0x205c4a={'zkqcG':function(_0x125b0a,_0x15f2b8){return _0x125b0a(_0x15f2b8);},'EVspM':'skills'};return join(_0x205c4a[_0x989ab8(0x13e)](getOpencodeConfigDir,_0x185b3b),_0x205c4a[_0x989ab8(0x139)]);}function _0x3ce1(){var _0xdb79ff=['3357JDSYeB','user','4972450eSUytx','306wAJkdC','zkqcG','406128EDoaAF','env','40950MksyYD','175EdrllK','18184NdAbFd','XDG_CONFIG_HOME','654614kChBBn','OPENCODE_CONFIG_DIR','rIQUx','3308173jLbiWs','QizWG','dhhBK','92240DAXELc','6haGZAK','EVspM'];_0x3ce1=function(){return _0xdb79ff;};return _0x3ce1();}
@@ -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
+ (function(_0x59a03a,_0x8a48b4){const _0xa97468=_0x2fd8,_0x1c7b73=_0x59a03a();while(!![]){try{const _0xf00a87=-parseInt(_0xa97468(0x8a))/0x1*(-parseInt(_0xa97468(0x87))/0x2)+parseInt(_0xa97468(0x8c))/0x3+parseInt(_0xa97468(0x8e))/0x4*(parseInt(_0xa97468(0x85))/0x5)+-parseInt(_0xa97468(0x88))/0x6+parseInt(_0xa97468(0x86))/0x7*(-parseInt(_0xa97468(0x8b))/0x8)+parseInt(_0xa97468(0x8f))/0x9*(parseInt(_0xa97468(0x89))/0xa)+-parseInt(_0xa97468(0x8d))/0xb;if(_0xf00a87===_0x8a48b4)break;else _0x1c7b73['push'](_0x1c7b73['shift']());}catch(_0xb1afb7){_0x1c7b73['push'](_0x1c7b73['shift']());}}}(_0x3a0f,0xe2b5e));const DEFAULT_PROFILE_COMMAND='ranger\x20profile\x20add\x20local';function _0x3a0f(){const _0x3d37b9=['8gqMmOd','4542216roSisP','7568044sUmbqO','20zojyaC','13129335thgVpp','197825fXEPhW','8450015gVVmJk','8Kgciyb','9535014EIaIOC','10ZwIHFx','310553JMcXof'];_0x3a0f=function(){return _0x3d37b9;};return _0x3a0f();}function _0x2fd8(_0x37fba5,_0x5c1037){_0x37fba5=_0x37fba5-0x85;const _0x3a0f22=_0x3a0f();let _0x2fd8e3=_0x3a0f22[_0x37fba5];return _0x2fd8e3;}export function formatProfileRequiredMessage(_0x12c5dc){const _0xf43b8f=_0x12c5dc?_0x12c5dc(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'+_0xf43b8f+'.';}
@@ -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 _0x38dd(){const _0x7d5774=['fWlUn','\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','3789ZkJtcY','<div\x20class=\x22ranger-banner__message\x22>','7nZcjzr','1872LDDZvs','9548034pBIzbL','1260039Zhzafw','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','1491890TMwWST','2mokmWF','<div\x20class=\x22ranger-banner__content\x22>','cQxnr','44mLaOsm','\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','qeNOY','4645500UrPbYo','8AvClIj','50209596gCZQtj','3864870jMRfow','xXXGV',';\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','</div>','addInitScript','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','nPbUO','stringify'];_0x38dd=function(){return _0x7d5774;};return _0x38dd();}function _0x5d8e(_0x46e063,_0x2d6ad0){_0x46e063=_0x46e063-0x66;const _0x38dd17=_0x38dd();let _0x5d8e7f=_0x38dd17[_0x46e063];return _0x5d8e7f;}(function(_0x4c9567,_0x5e24e3){const _0x9ba490=_0x5d8e,_0x4da7b4=_0x4c9567();while(!![]){try{const _0x43a753=-parseInt(_0x9ba490(0x78))/0x1*(parseInt(_0x9ba490(0x7b))/0x2)+-parseInt(_0x9ba490(0x73))/0x3*(-parseInt(_0x9ba490(0x76))/0x4)+-parseInt(_0x9ba490(0x66))/0x5+-parseInt(_0x9ba490(0x77))/0x6*(parseInt(_0x9ba490(0x75))/0x7)+-parseInt(_0x9ba490(0x67))/0x8*(-parseInt(_0x9ba490(0x69))/0x9)+parseInt(_0x9ba490(0x7a))/0xa*(-parseInt(_0x9ba490(0x7e))/0xb)+parseInt(_0x9ba490(0x68))/0xc;if(_0x43a753===_0x5e24e3)break;else _0x4da7b4['push'](_0x4da7b4['shift']());}catch(_0x3afaa){_0x4da7b4['push'](_0x4da7b4['shift']());}}}(_0x38dd,0xca015));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x3e5bea=_0x5d8e,_0x4bce94={'xXXGV':function(_0x309316,_0x33f1ef){return _0x309316+_0x33f1ef;},'qeNOY':_0x3e5bea(0x79),'MpDnA':_0x3e5bea(0x74),'nPbUO':'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','cQxnr':_0x3e5bea(0x6c),'fWlUn':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0x5a0b5d=_0x4bce94[_0x3e5bea(0x6a)](_0x4bce94[_0x3e5bea(0x6a)](_0x3e5bea(0x7c)+_0x4bce94[_0x3e5bea(0x80)]+_0x4bce94['MpDnA']+_0x4bce94[_0x3e5bea(0x6f)],_0x3e5bea(0x6e)),_0x4bce94[_0x3e5bea(0x7d)])+_0x4bce94['cQxnr']+_0x4bce94[_0x3e5bea(0x71)],_0x1f0d66=_0x3e5bea(0x72);return _0x3e5bea(0x7f)+JSON[_0x3e5bea(0x70)](_0x5a0b5d)+';\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[_0x3e5bea(0x70)](_0x1f0d66)+_0x3e5bea(0x6b);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}export async function addProfileSetupBanner(_0x348a0d){const _0x5ab021=_0x5d8e;await _0x348a0d[_0x5ab021(0x6d)]({'content':PROFILE_SETUP_BANNER_SCRIPT});}
@@ -0,0 +1 @@
1
+ (function(_0x1e4ff1,_0x17a9f9){const _0x7226e0=_0x540a,_0x2167b8=_0x1e4ff1();while(!![]){try{const _0x17723b=-parseInt(_0x7226e0(0xb0))/0x1*(-parseInt(_0x7226e0(0xaf))/0x2)+parseInt(_0x7226e0(0xa9))/0x3+parseInt(_0x7226e0(0xae))/0x4+-parseInt(_0x7226e0(0xa5))/0x5+parseInt(_0x7226e0(0xb2))/0x6+-parseInt(_0x7226e0(0xa8))/0x7*(-parseInt(_0x7226e0(0xb7))/0x8)+-parseInt(_0x7226e0(0xa6))/0x9*(parseInt(_0x7226e0(0xaa))/0xa);if(_0x17723b===_0x17a9f9)break;else _0x2167b8['push'](_0x2167b8['shift']());}catch(_0x5e3e83){_0x2167b8['push'](_0x2167b8['shift']());}}}(_0x3001,0x9fa4f));import{readFile}from'fs/promises';function _0x540a(_0x1b0004,_0x3f5ef3){_0x1b0004=_0x1b0004-0xa5;const _0x300145=_0x3001();let _0x540aa6=_0x300145[_0x1b0004];return _0x540aa6;}import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';function _0x3001(){const _0x234b30=['Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','hJaLh','warn','2870576yHoVWH','39038xNPVrb','11IwuiMx','fEYui','7392420AqFCdS','vRYQJ','message','object','isArray','8dzRHza','2292515KxEodK','15534IvRmlh','parse','1918903zfZuRo','3389856GxUvhr','14230kWIOlz'];_0x3001=function(){return _0x234b30;};return _0x3001();}export function getRangerConfigPath(){const _0x1ebe93={'xFFlO':function(_0xbf99ef,_0x186ba7,_0x284bcc){return _0xbf99ef(_0x186ba7,_0x284bcc);}};return _0x1ebe93['xFFlO'](join,getRangerDir(),'config.json');}export async function loadRangerConfig(){const _0x4795bb=_0x540a,_0x3cfafa={'EBDfw':function(_0x2bb6cc,_0x172210){return _0x2bb6cc(_0x172210);},'hJaLh':function(_0x187f5c,_0x55fb3c,_0x1734ca){return _0x187f5c(_0x55fb3c,_0x1734ca);},'vRYQJ':function(_0x328815,_0x5f05a5){return _0x328815===_0x5f05a5;},'FeKio':'string','fEYui':function(_0x5a7fa8,_0x14738f){return _0x5a7fa8 instanceof _0x14738f;}},_0x5ecbb6=getRangerConfigPath();if(!_0x3cfafa['EBDfw'](existsSync,_0x5ecbb6))return{};try{const _0x218ed8=await _0x3cfafa[_0x4795bb(0xac)](readFile,_0x5ecbb6,'utf-8'),_0x22c24d=JSON[_0x4795bb(0xa7)](_0x218ed8);if(!_0x22c24d||typeof _0x22c24d!==_0x4795bb(0xb5)||Array[_0x4795bb(0xb6)](_0x22c24d))return{};const _0x66b2cf={},_0x1f9682=_0x22c24d['model'];return _0x3cfafa[_0x4795bb(0xb3)](typeof _0x1f9682,_0x3cfafa['FeKio'])&&(_0x66b2cf['model']=_0x1f9682),_0x66b2cf;}catch(_0x11f8d9){const _0x3b6d08=_0x3cfafa[_0x4795bb(0xb1)](_0x11f8d9,Error)?_0x11f8d9[_0x4795bb(0xb4)]:String(_0x11f8d9);return console[_0x4795bb(0xad)](_0x4795bb(0xab)+_0x5ecbb6+':\x20'+_0x3b6d08),{};}}
@@ -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(_0x1e1001,_0x27cbbe){const _0x553dde=_0x53b1,_0x3166ac=_0x1e1001();while(!![]){try{const _0x3dbad8=parseInt(_0x553dde(0xd1))/0x1*(-parseInt(_0x553dde(0xd5))/0x2)+parseInt(_0x553dde(0xdd))/0x3*(parseInt(_0x553dde(0xda))/0x4)+parseInt(_0x553dde(0xd3))/0x5+-parseInt(_0x553dde(0xc8))/0x6*(-parseInt(_0x553dde(0xd6))/0x7)+-parseInt(_0x553dde(0xd4))/0x8+parseInt(_0x553dde(0xcc))/0x9*(-parseInt(_0x553dde(0xc9))/0xa)+-parseInt(_0x553dde(0xdc))/0xb*(-parseInt(_0x553dde(0xd7))/0xc);if(_0x3dbad8===_0x27cbbe)break;else _0x3166ac['push'](_0x3166ac['shift']());}catch(_0x586f47){_0x3166ac['push'](_0x3166ac['shift']());}}}(_0x4315,0x2e8b1));import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x1b138f=_0x53b1,_0x1e7fbd={'wuVwx':function(_0x5662b2,_0xad8e05){return _0x5662b2(_0xad8e05);},'vksGf':function(_0x585dd7,_0x36be52){return _0x585dd7(_0x36be52);},'HvcxQ':'.ranger'};let _0xb6650f=process['cwd']();const _0x493df8=_0x1e7fbd[_0x1b138f(0xdb)](parse,_0xb6650f)[_0x1b138f(0xd8)];while(_0xb6650f!==_0x493df8){if(existsSync(join(_0xb6650f,'.ranger')))return _0xb6650f;_0xb6650f=dirname(_0xb6650f);}if(_0x1e7fbd['vksGf'](existsSync,join(_0x493df8,_0x1e7fbd[_0x1b138f(0xcd)])))return _0x493df8;const _0x32b8f7=findGitRoot();if(_0x32b8f7)return _0x32b8f7;return process['cwd']();}export function getRangerDir(){const _0x5c8743=_0x53b1,_0x25a269={'HiThJ':function(_0x1738b0){return _0x1738b0();}};return join(_0x25a269[_0x5c8743(0xce)](getRangerRoot),_0x5c8743(0xd9));}export function findGitRoot(){const _0x2e86d0=_0x53b1,_0x533fae={'UaePo':function(_0x3d92ac,_0x13d960){return _0x3d92ac(_0x13d960);},'paeVX':function(_0x2205d9,_0xa3d41a){return _0x2205d9!==_0xa3d41a;},'WVvKu':function(_0x2bb465,_0x422fe9){return _0x2bb465(_0x422fe9);},'NKuar':function(_0x4a590a,_0x3ed7d2){return _0x4a590a(_0x3ed7d2);},'quUxN':function(_0x3ef571,_0x4da673,_0x45c347){return _0x3ef571(_0x4da673,_0x45c347);},'nuxKc':_0x2e86d0(0xcf)};let _0x439ddc=process['cwd']();const _0x346fb4=_0x533fae[_0x2e86d0(0xcb)](parse,_0x439ddc)['root'];while(_0x533fae['paeVX'](_0x439ddc,_0x346fb4)){if(existsSync(join(_0x439ddc,_0x2e86d0(0xcf))))return _0x439ddc;_0x439ddc=_0x533fae['WVvKu'](dirname,_0x439ddc);}if(_0x533fae[_0x2e86d0(0xca)](existsSync,_0x533fae[_0x2e86d0(0xd0)](join,_0x346fb4,_0x533fae[_0x2e86d0(0xd2)])))return _0x346fb4;return null;}function _0x53b1(_0x431f4d,_0x25dbfe){_0x431f4d=_0x431f4d-0xc8;const _0x43156d=_0x4315();let _0x53b120=_0x43156d[_0x431f4d];return _0x53b120;}export function getRangerHomeDir(){return join(homedir(),'.ranger');}function _0x4315(){const _0x2dcf52=['NKuar','UaePo','146709ujVNvZ','HvcxQ','HiThJ','.git','quUxN','8TXjiuW','nuxKc','1462680IckcFF','84000qodBLt','59326wbUHKL','1988kizIHo','739476SJtGSR','root','.ranger','16XhRNms','wuVwx','11UZKumV','79572koSIJv','228HhuxLU','20DBmGoj'];_0x4315=function(){return _0x2dcf52;};return _0x4315();}
@@ -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(_0x17215b,_0x4a4e50){const _0x66fdcd=_0x59e0,_0x326188=_0x17215b();while(!![]){try{const _0x2e1b8a=-parseInt(_0x66fdcd(0x16d))/0x1*(parseInt(_0x66fdcd(0x165))/0x2)+-parseInt(_0x66fdcd(0x156))/0x3*(-parseInt(_0x66fdcd(0x15c))/0x4)+-parseInt(_0x66fdcd(0x162))/0x5*(-parseInt(_0x66fdcd(0x15f))/0x6)+parseInt(_0x66fdcd(0x154))/0x7*(-parseInt(_0x66fdcd(0x14e))/0x8)+-parseInt(_0x66fdcd(0x167))/0x9+parseInt(_0x66fdcd(0x159))/0xa+parseInt(_0x66fdcd(0x168))/0xb*(-parseInt(_0x66fdcd(0x163))/0xc);if(_0x2e1b8a===_0x4a4e50)break;else _0x326188['push'](_0x326188['shift']());}catch(_0x3ce2af){_0x326188['push'](_0x326188['shift']());}}}(_0x5097,0xaf6fb));import{readdir}from'fs/promises';import{join}from'path';function _0x59e0(_0x562aa8,_0x3ed6f8){_0x562aa8=_0x562aa8-0x149;const _0x5097fc=_0x5097();let _0x59e0a5=_0x5097fc[_0x562aa8];return _0x59e0a5;}import{existsSync}from'fs';export async function collectScreenshots(_0x242f48){const _0x28c7b7=_0x59e0,_0x39883d=[],_0x424eae=[];if(!existsSync(_0x242f48))return{'screenshots':_0x39883d,'paths':_0x424eae};const _0x29fbf8=await readdir(_0x242f48),_0x366ec4=_0x29fbf8[_0x28c7b7(0x14a)](_0x2cf548=>/\.(png|jpg|jpeg|gif|webp)$/i['test'](_0x2cf548))['sort']();for(const _0x991803 of _0x366ec4){const _0xfcd9c2=join(_0x242f48,_0x991803);_0x39883d['push']({'filename':_0x991803,'path':_0xfcd9c2,'relativePath':'./'+_0x991803}),_0x424eae['push'](_0xfcd9c2);}return{'screenshots':_0x39883d,'paths':_0x424eae};}function getSeverityEmoji(_0x275bb2){const _0x463607=_0x59e0,_0x4b4fbd={'ToAHP':'BLOCKER'};switch(_0x275bb2){case _0x4b4fbd['ToAHP']:return'🔴';case _0x463607(0x166):return'🟠';default:return'⚪';}}function formatScreenshotCaption(_0x5f5a93){const _0x1ab54e=_0x59e0,_0x13294f=_0x5f5a93['replace'](/\.(png|jpg|jpeg|gif|webp)$/i,''),_0x4a2332=_0x13294f['replace'](/^\d+-/,'');return _0x4a2332['split']('-')[_0x1ab54e(0x150)](_0x645463=>_0x645463['charAt'](0x0)['toUpperCase']()+_0x645463[_0x1ab54e(0x160)](0x1))[_0x1ab54e(0x151)]('\x20');}function _0x5097(){const _0x7fc9c=['toFixed','19ViCbCj','---','filter','filename','**Status:**\x20','fawfi','488qhtPCe','##\x20Result','map','join','##\x20Task','##\x20Screenshots\x20(','74914PcBGzT','length','15711ouZXeY','apFai','#\x20Verification\x20Report','7222090VtiOIo','PASSED','description','1084HsBNEO','**Session:**\x20`','ISSUES\x20FOUND','1019142iqIBDV','slice','####\x20','15Sorypr','142836JReoev','push','102740KQnSLL','MAJOR','696699suCJho','209oPOGYz','**Duration:**\x20','severity','screenshot'];_0x5097=function(){return _0x7fc9c;};return _0x5097();}export function generateMarkdownReport(_0x1ed226){const _0x5af4ff=_0x59e0,_0x386ad4={'fawfi':function(_0x4ff409,_0x543312){return _0x4ff409/_0x543312;},'CmggX':_0x5af4ff(0x15a),'apFai':function(_0x206a30,_0x1443ec){return _0x206a30>_0x1443ec;},'hQVUR':function(_0x1840aa,_0x395b4d){return _0x1840aa>_0x395b4d;}},{sessionId:_0x2c5065,task:_0x3c2c1d,url:_0x598e18,success:_0xcb534,summary:_0x3e7fe1,issues:_0x3a6a51,screenshots:_0xacb3b0,durationMs:_0x37e8c5,traceViewerUrl:_0x2ff4ce}=_0x1ed226,_0x4344ba=new Date()['toISOString'](),_0x5e2676=_0x386ad4[_0x5af4ff(0x14d)](_0x37e8c5,0x3e8)[_0x5af4ff(0x16c)](0x1),_0x5c14c1=[];_0x5c14c1[_0x5af4ff(0x164)](_0x5af4ff(0x158)),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1['push'](_0x5af4ff(0x15d)+_0x2c5065+'`'),_0x5c14c1[_0x5af4ff(0x164)]('**Generated:**\x20'+_0x4344ba),_0x5c14c1['push'](_0x5af4ff(0x169)+_0x5e2676+'s'),_0x5c14c1['push'](''),_0x5c14c1['push'](_0x5af4ff(0x152)),_0x5c14c1['push'](''),_0x5c14c1['push']('**URL:**\x20'+_0x598e18),_0x5c14c1['push'](''),_0x5c14c1[_0x5af4ff(0x164)]('>\x20'+_0x3c2c1d),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1[_0x5af4ff(0x164)](_0x5af4ff(0x14f)),_0x5c14c1['push']('');const _0x5d2669=_0xcb534?'✅':'❌';_0x5c14c1['push'](_0x5af4ff(0x14c)+_0x5d2669+'\x20'+(_0xcb534?_0x386ad4['CmggX']:_0x5af4ff(0x15e))),_0x5c14c1['push'](''),_0x5c14c1[_0x5af4ff(0x164)]('###\x20Summary'),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1[_0x5af4ff(0x164)](_0x3e7fe1),_0x5c14c1[_0x5af4ff(0x164)]('');if(_0x3a6a51&&_0x386ad4[_0x5af4ff(0x157)](_0x3a6a51[_0x5af4ff(0x155)],0x0)){_0x5c14c1[_0x5af4ff(0x164)]('###\x20Issues\x20Found\x20('+_0x3a6a51[_0x5af4ff(0x155)]+')'),_0x5c14c1[_0x5af4ff(0x164)]('');for(const _0x473ca4 of _0x3a6a51){const _0x1548ca=getSeverityEmoji(_0x473ca4['severity']);_0x5c14c1[_0x5af4ff(0x164)](_0x5af4ff(0x161)+_0x1548ca+'\x20['+_0x473ca4[_0x5af4ff(0x16a)]+']\x20Issue'),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1['push'](_0x473ca4[_0x5af4ff(0x15b)]),_0x5c14c1[_0x5af4ff(0x164)]('');if(_0x473ca4['screenshot']){const _0x594e4d=_0x473ca4[_0x5af4ff(0x16b)],_0x3ea730=_0xacb3b0['find'](_0x227b5f=>_0x227b5f['filename']===_0x594e4d||_0x227b5f['filename']['includes'](_0x594e4d));_0x3ea730&&(_0x5c14c1['push']('**Screenshot:**'),_0x5c14c1['push'](''),_0x5c14c1['push']('!['+_0x594e4d+']('+_0x3ea730['relativePath']+')'),_0x5c14c1[_0x5af4ff(0x164)](''));}}}if(_0x386ad4['hQVUR'](_0xacb3b0['length'],0x0)){_0x5c14c1['push'](_0x5af4ff(0x153)+_0xacb3b0[_0x5af4ff(0x155)]+')'),_0x5c14c1['push']('');for(const _0x405b64 of _0xacb3b0){const _0x93bfe9=formatScreenshotCaption(_0x405b64['filename']);_0x5c14c1[_0x5af4ff(0x164)]('###\x20'+_0x93bfe9),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1['push']('!['+_0x405b64[_0x5af4ff(0x14b)]+']('+_0x405b64['relativePath']+')'),_0x5c14c1[_0x5af4ff(0x164)]('');}}return _0x2ff4ce&&(_0x5c14c1[_0x5af4ff(0x164)](_0x5af4ff(0x149)),_0x5c14c1[_0x5af4ff(0x164)](''),_0x5c14c1[_0x5af4ff(0x164)]('**Full\x20Trace:**\x20[View\x20in\x20Playwright\x20Trace\x20Viewer]('+_0x2ff4ce+')'),_0x5c14c1[_0x5af4ff(0x164)]('')),_0x5c14c1[_0x5af4ff(0x151)]('\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 _0x56e9(_0x483b20,_0x14ce18){_0x483b20=_0x483b20-0x158;const _0x381878=_0x3818();let _0x56e957=_0x381878[_0x483b20];return _0x56e957;}(function(_0x1dd333,_0x48797a){const _0x4ba383=_0x56e9,_0x1c860d=_0x1dd333();while(!![]){try{const _0x591355=-parseInt(_0x4ba383(0x15d))/0x1+parseInt(_0x4ba383(0x15b))/0x2*(-parseInt(_0x4ba383(0x160))/0x3)+-parseInt(_0x4ba383(0x159))/0x4*(parseInt(_0x4ba383(0x165))/0x5)+parseInt(_0x4ba383(0x162))/0x6*(parseInt(_0x4ba383(0x15a))/0x7)+parseInt(_0x4ba383(0x166))/0x8+parseInt(_0x4ba383(0x15f))/0x9+-parseInt(_0x4ba383(0x163))/0xa*(-parseInt(_0x4ba383(0x161))/0xb);if(_0x591355===_0x48797a)break;else _0x1c860d['push'](_0x1c860d['shift']());}catch(_0x50d9de){_0x1c860d['push'](_0x1c860d['shift']());}}}(_0x3818,0x9cf84));const DEFAULT_MAX_RETRIES=0x3,DEFAULT_BASE_DELAY_MS=0x1f4;function _0x3818(){const _0x263a01=['4707SyjsuS','33dKTvNi','282eFPFNs','4790150xdxquh','label','2395zkVKaj','7563472qdYhWs','wvZHf','ms...','pow','752tsmfIL','31493uYPfoO','1070zDIrqy','maxRetries','1135757VSWdqG','),\x20retrying\x20in\x20','1028160NIOels'];_0x3818=function(){return _0x263a01;};return _0x3818();}export async function withRetry(_0xd4765,_0xb1aab0){const _0x3d4ec2=_0x56e9,_0x45a60d={'wvZHf':function(_0x1709d8,_0x173e89){return _0x1709d8 instanceof _0x173e89;},'DJVGc':function(_0x5323fd,_0x3008f1){return _0x5323fd*_0x3008f1;}},_0x1aeedb=_0xb1aab0?.[_0x3d4ec2(0x15c)]??DEFAULT_MAX_RETRIES,_0x5a33bc=_0xb1aab0?.['baseDelayMs']??DEFAULT_BASE_DELAY_MS;let _0x1fb90b;for(let _0x526e1e=0x0;_0x526e1e<=_0x1aeedb;_0x526e1e++){try{return await _0xd4765();}catch(_0x96e69f){_0x1fb90b=_0x45a60d[_0x3d4ec2(0x167)](_0x96e69f,Error)?_0x96e69f:new Error(String(_0x96e69f));if(_0x526e1e<_0x1aeedb){const _0x15d09e=_0x45a60d['DJVGc'](_0x5a33bc,Math[_0x3d4ec2(0x158)](0x2,_0x526e1e));_0xb1aab0?.['label']&&console['error'](_0xb1aab0[_0x3d4ec2(0x164)]+'\x20failed\x20(attempt\x20'+(_0x526e1e+0x1)+'/'+(_0x1aeedb+0x1)+_0x3d4ec2(0x15e)+_0x15d09e+_0x3d4ec2(0x168)),await new Promise(_0x5731f7=>setTimeout(_0x5731f7,_0x15d09e));}}}throw _0x1fb90b;}
@@ -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 _0x3b8885=_0x4873;(function(_0x4c416a,_0x123cbb){const _0x32bcc0=_0x4873,_0x3b3d0b=_0x4c416a();while(!![]){try{const _0xf871fe=parseInt(_0x32bcc0(0x1c6))/0x1*(parseInt(_0x32bcc0(0x1df))/0x2)+parseInt(_0x32bcc0(0x1d7))/0x3+parseInt(_0x32bcc0(0x1e8))/0x4*(-parseInt(_0x32bcc0(0x1d6))/0x5)+parseInt(_0x32bcc0(0x1dd))/0x6*(-parseInt(_0x32bcc0(0x1e9))/0x7)+-parseInt(_0x32bcc0(0x1da))/0x8+-parseInt(_0x32bcc0(0x1f0))/0x9*(-parseInt(_0x32bcc0(0x1db))/0xa)+parseInt(_0x32bcc0(0x1ed))/0xb;if(_0xf871fe===_0x123cbb)break;else _0x3b3d0b['push'](_0x3b3d0b['shift']());}catch(_0x5dc490){_0x3b3d0b['push'](_0x3b3d0b['shift']());}}}(_0x1782,0x472a9));import*as _0x35318d from'fs';import*as _0x9f684 from'path';import*as _0x310575 from'os';import{execSync}from'child_process';const CACHE_FILE=_0x9f684[_0x3b8885(0x1e3)](_0x310575[_0x3b8885(0x1c9)](),_0x3b8885(0x1ce),_0x3b8885(0x1cc));function createEmptyCache(){return{'version':0x3,'sessions':{},'branches':{}};}function loadCache(){const _0x351eeb=_0x3b8885;try{if(_0x35318d['existsSync'](CACHE_FILE)){const _0x561bb7=JSON['parse'](_0x35318d['readFileSync'](CACHE_FILE,_0x351eeb(0x1e5)));return{'version':0x3,'sessions':_0x561bb7['sessions']||{},'branches':_0x561bb7[_0x351eeb(0x1d1)]||{},'lastEnabledSessionClearedAt':_0x561bb7['lastEnabledSessionClearedAt']};}}catch{}return createEmptyCache();}function saveCache(_0x511281){const _0x2cacb6=_0x3b8885;try{const _0x229173=_0x9f684[_0x2cacb6(0x1c0)](CACHE_FILE);!_0x35318d[_0x2cacb6(0x1f2)](_0x229173)&&_0x35318d['mkdirSync'](_0x229173,{'recursive':!![]}),_0x35318d[_0x2cacb6(0x1c1)](CACHE_FILE,JSON[_0x2cacb6(0x1e7)](_0x511281,null,0x2));}catch{}}export function getCurrentBranch(){const _0x180cea=_0x3b8885,_0x39b3d6={'bZAMd':'git\x20rev-parse\x20--abbrev-ref\x20HEAD','WxwCM':'utf-8','TVNDU':'pipe','ROZmf':function(_0x4d8be3,_0x41cf12){return _0x4d8be3===_0x41cf12;},'CaWNH':'HEAD'};try{const _0x232533=execSync(_0x39b3d6[_0x180cea(0x1ef)],{'encoding':_0x39b3d6['WxwCM'],'stdio':[_0x39b3d6[_0x180cea(0x1f1)],_0x39b3d6['TVNDU'],'pipe']})[_0x180cea(0x1ec)]();if(!_0x232533||_0x39b3d6['ROZmf'](_0x232533,_0x39b3d6['CaWNH']))return null;return _0x232533;}catch{return null;}}export function enableBranch(_0x1b2f83){const _0x205559=_0x3b8885,_0x3bc00c={'ZaHfB':function(_0x1c3016){return _0x1c3016();}},_0x48986b=_0x3bc00c['ZaHfB'](loadCache);_0x48986b[_0x205559(0x1d1)][_0x1b2f83]=!![],saveCache(_0x48986b);}function _0x1782(){const _0x481827=['dTPVA','refOP','DUIJB','join','gMgbJ','utf-8','lastEnabledSessionClearedAt','stringify','140sfSxOZ','7728cSOtVv','currentBranch','toISOString','trim','578611Ejwrhu','UOVmJ','bZAMd','4038957JpJxYk','TVNDU','existsSync','dirname','writeFileSync','now','VROhY','prompted','CpXOE','82eckKpc','WBBcB','Zaogj','homedir','lastPlanReminderAt','sessions','.ranger_cache.json','xWwgI','.claude','registeredAt','ufRnZ','branches','eCokG','master','CMMdF','enabled','32555gJpYjx','1453677btRdIV','clear','miOMv','3564760MsEheA','10sBIgNp','WsVam','2532LRqoVk','main','10852JsgOIy'];_0x1782=function(){return _0x481827;};return _0x1782();}export function disableBranch(_0x5742b3){const _0x386d1a=_0x3b8885,_0x1aeb00={'refOP':function(_0x1adac0){return _0x1adac0();},'JnxZi':function(_0x3f446c,_0x11a6fe){return _0x3f446c(_0x11a6fe);}},_0x2cdaa0=_0x1aeb00[_0x386d1a(0x1e1)](loadCache);delete _0x2cdaa0[_0x386d1a(0x1d1)][_0x5742b3],_0x1aeb00['JnxZi'](saveCache,_0x2cdaa0);}export function isBranchEnabled(_0x2d359f){const _0x75c790=_0x3b8885,_0x382f99={'dTPVA':function(_0x57a13b,_0x37c8db){return _0x57a13b===_0x37c8db;}},_0x16a75c=loadCache();return _0x382f99[_0x75c790(0x1e0)](_0x16a75c['branches'][_0x2d359f],!![]);}function getOrCreateSession(_0x571f93,_0x471fbb){const _0x10e2a8=_0x3b8885;return!_0x571f93[_0x10e2a8(0x1cb)][_0x471fbb]&&(_0x571f93[_0x10e2a8(0x1cb)][_0x471fbb]={}),_0x571f93[_0x10e2a8(0x1cb)][_0x471fbb];}export function enableSession(_0x24d0e3){const _0x3c5505=_0x3b8885,_0x4a83a5={'VROhY':function(_0x2fdab2){return _0x2fdab2();},'Zaogj':function(_0x5726d2,_0x54259c){return _0x5726d2!==_0x54259c;},'RcAIh':'master'},_0x25eb70=_0x4a83a5[_0x3c5505(0x1c3)](loadCache),_0x45217e=getOrCreateSession(_0x25eb70,_0x24d0e3);_0x45217e[_0x3c5505(0x1d5)]=!![];const _0x22f336=getCurrentBranch();_0x22f336&&_0x4a83a5[_0x3c5505(0x1c8)](_0x22f336,_0x3c5505(0x1de))&&_0x22f336!==_0x4a83a5['RcAIh']&&(_0x25eb70['branches'][_0x22f336]=!![],_0x45217e[_0x3c5505(0x1ea)]=_0x22f336),saveCache(_0x25eb70);}export function isSessionEnabled(_0x49da35){const _0x21e5b1=_0x3b8885,_0x5a46dc={'qEtyf':function(_0x59f292,_0x593201){return _0x59f292===_0x593201;}},_0x43dd21=loadCache(),_0x128177=getCurrentBranch();if(!_0x128177||_0x128177===_0x21e5b1(0x1de)||_0x5a46dc['qEtyf'](_0x128177,_0x21e5b1(0x1d3)))return _0x43dd21[_0x21e5b1(0x1cb)][_0x49da35]?.[_0x21e5b1(0x1d5)]===!![];const _0x437b92=_0x43dd21[_0x21e5b1(0x1d1)][_0x128177]===!![],_0x10c5b4=_0x5a46dc['qEtyf'](_0x43dd21['sessions'][_0x49da35]?.['enabled'],!![]);return _0x437b92||_0x10c5b4;}export function disableSession(_0x47e429){const _0x2a0902={'mxfFP':function(_0x48fb0f,_0x5cc3a5,_0x4831cf){return _0x48fb0f(_0x5cc3a5,_0x4831cf);}},_0xe64db2=loadCache(),_0x411d94=_0x2a0902['mxfFP'](getOrCreateSession,_0xe64db2,_0x47e429);_0x411d94['enabled']=![],saveCache(_0xe64db2);}export function updateBranchTracking(_0x1c4535){const _0x304beb=_0x3b8885,_0x10158e={'sRDhJ':function(_0x45df8f){return _0x45df8f();},'eCokG':'main','WBBcB':function(_0x453672,_0x192aff){return _0x453672!==_0x192aff;}},_0x6cbc67=_0x10158e['sRDhJ'](loadCache),_0x10fccd=_0x6cbc67[_0x304beb(0x1cb)][_0x1c4535];if(!_0x10fccd?.['enabled'])return;const _0x9eef9b=getCurrentBranch();if(!_0x9eef9b||_0x9eef9b===_0x10158e[_0x304beb(0x1d2)]||_0x9eef9b===_0x304beb(0x1d3))return;_0x10158e[_0x304beb(0x1c7)](_0x10fccd[_0x304beb(0x1ea)],_0x9eef9b)&&(_0x6cbc67['branches'][_0x9eef9b]=!![],_0x10fccd['currentBranch']=_0x9eef9b,saveCache(_0x6cbc67));}export function initBranchTracking(_0x504ffe){const _0x382a07=_0x3b8885,_0x38c87e={'ufRnZ':function(_0x59381f){return _0x59381f();},'mwTCg':'main','CcmfH':function(_0xbd0e63,_0x58c700){return _0xbd0e63===_0x58c700;},'wsadO':'master','xWwgI':function(_0x259bc1,_0x558165,_0x23be03){return _0x259bc1(_0x558165,_0x23be03);}},_0xeb7901=_0x38c87e[_0x382a07(0x1d0)](loadCache),_0x1e9246=getCurrentBranch();if(!_0x1e9246||_0x1e9246===_0x38c87e['mwTCg']||_0x38c87e['CcmfH'](_0x1e9246,_0x38c87e['wsadO']))return;if(_0xeb7901['branches'][_0x1e9246]===!![]){const _0x21d62e=_0x38c87e[_0x382a07(0x1cd)](getOrCreateSession,_0xeb7901,_0x504ffe);_0x21d62e[_0x382a07(0x1d5)]=!![],_0x21d62e['currentBranch']=_0x1e9246,saveCache(_0xeb7901);}}const CLEAR_AUTO_ENABLE_WINDOW_MS=0x1388;export function recordEnabledSessionCleared(_0x117d5a){const _0x54b241=_0x3b8885,_0x12c637={'HxrzU':function(_0x2fcb8b){return _0x2fcb8b();},'CGSGJ':function(_0x38d212,_0x522141){return _0x38d212(_0x522141);}},_0x439d98=_0x12c637['HxrzU'](loadCache),_0x3cddf2=_0x439d98['sessions'][_0x117d5a];_0x3cddf2?.[_0x54b241(0x1d5)]&&(_0x439d98[_0x54b241(0x1e6)]=Date[_0x54b241(0x1c2)](),_0x12c637['CGSGJ'](saveCache,_0x439d98));}export function shouldAutoEnableAfterClear(_0x1b78df){const _0x44acbb=_0x3b8885,_0x173a55={'oHRbv':function(_0x4a1c1f,_0x1334d9){return _0x4a1c1f!==_0x1334d9;},'WsVam':function(_0x3bfdae,_0x40c833){return _0x3bfdae-_0x40c833;},'gMgbJ':function(_0x29e038,_0xcaa6a6){return _0x29e038<=_0xcaa6a6;}};if(_0x173a55['oHRbv'](_0x1b78df,_0x44acbb(0x1d8)))return![];const _0x5f096e=loadCache(),_0x5f5255=_0x5f096e['lastEnabledSessionClearedAt'];if(!_0x5f5255)return![];const _0x43dff8=_0x173a55[_0x44acbb(0x1dc)](Date[_0x44acbb(0x1c2)](),_0x5f5255);return _0x173a55[_0x44acbb(0x1e4)](_0x43dff8,CLEAR_AUTO_ENABLE_WINDOW_MS);}export function autoEnableAfterClear(_0x528b28){const _0x3f0b31=_0x3b8885,_0x241130={'miOMv':function(_0x5afc17){return _0x5afc17();},'XVGTj':function(_0x1dde5f,_0x418337){return _0x1dde5f!==_0x418337;},'CMMdF':'main','ArnoM':'master'},_0x2b57f5=_0x241130[_0x3f0b31(0x1d9)](loadCache),_0x4e5d44=getOrCreateSession(_0x2b57f5,_0x528b28);_0x4e5d44[_0x3f0b31(0x1d5)]=!![];const _0x4d9d19=getCurrentBranch();_0x4d9d19&&_0x241130['XVGTj'](_0x4d9d19,_0x241130[_0x3f0b31(0x1d4)])&&_0x241130['XVGTj'](_0x4d9d19,_0x241130['ArnoM'])&&(_0x4e5d44['currentBranch']=_0x4d9d19),delete _0x2b57f5[_0x3f0b31(0x1e6)],saveCache(_0x2b57f5);}export function registerSession(_0x398c62,_0x41ffbd){const _0x3981a3=_0x3b8885,_0x362df1={'TbgEK':function(_0x4cbba0){return _0x4cbba0();},'PYSWz':function(_0x1e4b65,_0x273d12,_0x156d47){return _0x1e4b65(_0x273d12,_0x156d47);},'uPrgl':function(_0x298776,_0x46c876){return _0x298776(_0x46c876);}},_0x2f38e3=_0x362df1['TbgEK'](loadCache),_0x5140ae=_0x362df1['PYSWz'](getOrCreateSession,_0x2f38e3,_0x398c62);_0x5140ae['featureId']=_0x41ffbd,_0x5140ae[_0x3981a3(0x1cf)]=new Date()[_0x3981a3(0x1eb)](),_0x362df1['uPrgl'](saveCache,_0x2f38e3);}export function getSessionEntry(_0x270c19){const _0x2b6188=_0x3b8885,_0x526103={'DUIJB':function(_0x5903d8){return _0x5903d8();}},_0x4eaaed=_0x526103[_0x2b6188(0x1e2)](loadCache),_0x30c4f0=_0x4eaaed[_0x2b6188(0x1cb)][_0x270c19];if(_0x30c4f0?.['featureId']&&_0x30c4f0?.[_0x2b6188(0x1cf)])return{'featureId':_0x30c4f0['featureId'],'registeredAt':_0x30c4f0[_0x2b6188(0x1cf)]};return null;}function _0x4873(_0x2bdd76,_0x55a40f){_0x2bdd76=_0x2bdd76-0x1c0;const _0x178291=_0x1782();let _0x487331=_0x178291[_0x2bdd76];return _0x487331;}export function unregisterSession(_0x4f4f09){const _0x5df50e={'ACYKx':function(_0x34de8e){return _0x34de8e();}},_0x20955e=_0x5df50e['ACYKx'](loadCache),_0x25acbc=_0x20955e['sessions'][_0x4f4f09];_0x25acbc&&(delete _0x25acbc['featureId'],delete _0x25acbc['registeredAt'],saveCache(_0x20955e));}const PLAN_REMINDER_INTERVAL_MS=0x5*0x3c*0x3e8;export function shouldShowPlanReminder(_0x471fa2){const _0x42a98c=_0x3b8885,_0x4a6ef7={'CpXOE':function(_0x189505){return _0x189505();}},_0x452284=_0x4a6ef7[_0x42a98c(0x1c5)](loadCache),_0xa6347e=getOrCreateSession(_0x452284,_0x471fa2),_0x34f3ae=_0xa6347e['lastPlanReminderAt']||0x0,_0xa73b9=Date[_0x42a98c(0x1c2)]();if(_0xa73b9-_0x34f3ae>=PLAN_REMINDER_INTERVAL_MS)return _0xa6347e[_0x42a98c(0x1ca)]=_0xa73b9,saveCache(_0x452284),!![];return![];}export function hasSessionBeenPrompted(_0x1ed6e8){const _0x11c680=_0x3b8885,_0x3aa370=loadCache();return _0x3aa370['sessions'][_0x1ed6e8]?.[_0x11c680(0x1c4)]===!![];}export function markSessionPrompted(_0xa9f4fb){const _0x328e15=_0x3b8885,_0x3c049e={'UOVmJ':function(_0x2ad8c4,_0x298e91){return _0x2ad8c4(_0x298e91);}},_0x3b9bc0=loadCache(),_0x10cefc=getOrCreateSession(_0x3b9bc0,_0xa9f4fb);_0x10cefc['prompted']=!![],_0x3c049e[_0x328e15(0x1ee)](saveCache,_0x3b9bc0);}export function getCacheFile(){return CACHE_FILE;}