@ranger-testing/ranger-cli 2.5.3 → 2.5.4-alpha.1f7a251-7

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 (80) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/env.js +1 -1
  7. package/build/commands/feature.js +1 -1
  8. package/build/commands/hook.js +1 -1
  9. package/build/commands/hooks/autoPrompt.js +1 -1
  10. package/build/commands/hooks/disable.js +1 -1
  11. package/build/commands/hooks/enable.js +1 -1
  12. package/build/commands/hooks/exitPlanMode.js +1 -1
  13. package/build/commands/hooks/index.js +1 -1
  14. package/build/commands/hooks/output.js +1 -1
  15. package/build/commands/hooks/planReminder.js +1 -1
  16. package/build/commands/hooks/planStart.js +1 -1
  17. package/build/commands/hooks/postEdit.js +1 -1
  18. package/build/commands/hooks/preCompact.js +1 -1
  19. package/build/commands/hooks/sessionEnd.js +1 -1
  20. package/build/commands/hooks/sessionStart.js +1 -1
  21. package/build/commands/hooks/stopHook.js +1 -1
  22. package/build/commands/index.js +1 -1
  23. package/build/commands/login.js +1 -1
  24. package/build/commands/mcpBootstrap.js +1 -1
  25. package/build/commands/migrateProfile.js +1 -0
  26. package/build/commands/setup/claude.js +1 -1
  27. package/build/commands/setup/opencode.js +1 -1
  28. package/build/commands/setupCi.js +1 -1
  29. package/build/commands/skillup.js +1 -1
  30. package/build/commands/start.js +1 -1
  31. package/build/commands/status.js +1 -1
  32. package/build/commands/update.js +1 -1
  33. package/build/commands/updateEnv.js +1 -1
  34. package/build/commands/useEnv.js +1 -1
  35. package/build/commands/utils/activeProfile.js +1 -1
  36. package/build/commands/utils/agentEnv.js +1 -1
  37. package/build/commands/utils/browserSessionsApi.js +1 -1
  38. package/build/commands/utils/claudeConfig.js +1 -1
  39. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  40. package/build/commands/utils/claudePlugin.js +1 -1
  41. package/build/commands/utils/cloudProfile.js +1 -0
  42. package/build/commands/utils/cloudProfileSession.js +1 -0
  43. package/build/commands/utils/crypto.js +1 -1
  44. package/build/commands/utils/desirePathLog.js +1 -1
  45. package/build/commands/utils/deviceAuth.js +1 -1
  46. package/build/commands/utils/environment.js +1 -1
  47. package/build/commands/utils/featureApi.js +1 -1
  48. package/build/commands/utils/fixWebmDuration.js +1 -1
  49. package/build/commands/utils/gitTracked.js +1 -0
  50. package/build/commands/utils/keychain.js +1 -1
  51. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  52. package/build/commands/utils/matchAuthEnvironment.js +1 -0
  53. package/build/commands/utils/mcpImageBase64.js +1 -1
  54. package/build/commands/utils/model.js +1 -1
  55. package/build/commands/utils/opencodeConfig.js +1 -1
  56. package/build/commands/utils/playwrightCli.js +1 -1
  57. package/build/commands/utils/profileMessages.js +1 -1
  58. package/build/commands/utils/profileSetupBanner.js +1 -1
  59. package/build/commands/utils/projectsConfig.js +1 -0
  60. package/build/commands/utils/rangerConfig.js +1 -1
  61. package/build/commands/utils/rangerRoot.js +1 -1
  62. package/build/commands/utils/resolveProfileContext.js +1 -0
  63. package/build/commands/utils/resolveProfileUrl.js +1 -0
  64. package/build/commands/utils/retry.js +1 -1
  65. package/build/commands/utils/sessionCache.js +1 -1
  66. package/build/commands/utils/settings.js +1 -1
  67. package/build/commands/utils/skillContent.js +1 -1
  68. package/build/commands/utils/skills.js +1 -1
  69. package/build/commands/utils/stitchWebmFiles.js +1 -1
  70. package/build/commands/utils/telemetry.js +1 -1
  71. package/build/commands/utils/tokenRefresh.js +1 -1
  72. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  73. package/build/commands/utils/userApi.js +1 -1
  74. package/build/commands/utils/version.js +1 -1
  75. package/build/commands/verifyFeature.js +1 -1
  76. package/build/commands/verifyFeatureCli.js +1 -1
  77. package/build/skills/ranger/SKILL.md +18 -4
  78. package/build/skills/ranger/create.md +6 -0
  79. package/build/skills/ranger/verify.md +23 -3
  80. package/package.json +6 -2
@@ -1 +1 @@
1
- function _0x3f52(){const _0x35fa4f=['vzArH','zMRkJ','18404LCiQuO','87USJQhx','Sbhpl','krELJ','lbsiY','bHHaq','MkWWy','lIzkH','indexOf','slice','uLsxt','8sxNOyR','ADYPR','SKJhD','YDSOH','PewYc','dataSize','252721PsHSQZ','MbgMt','endsWith','fLLgx','1305222CFGleQ','QuceH','RSunA','error','Could\x20not\x20compute\x20duration','Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>','701523sVYRLN','writeDoubleBE','pow','argv','251805yqBUhs','TbMUE','VXqsj','length','ndIIv','alloc','Fixed:\x20','zmNrQ','sizeLen','fixWebmDuration.js','idLen','log','OzTni','xbUph','cgVKt','offset','iMnkv','IcoFX','244716keXFIV','min','184034KQnUce','readInt16BE','from','uYhlS','concat','eniPO','FqZAF','sZWlf','pSbJe','dataOffset','eDLkE','DEgZn','HNBSm','wwNis','Could\x20not\x20find\x20Info\x20element','vDCpd'];_0x3f52=function(){return _0x35fa4f;};return _0x3f52();}const _0x546373=_0x636c;(function(_0x4e7e1d,_0x3d11fc){const _0x5b5749=_0x636c,_0x2aff15=_0x4e7e1d();while(!![]){try{const _0x33fd9d=-parseInt(_0x5b5749(0x13f))/0x1+parseInt(_0x5b5749(0x141))/0x2+parseInt(_0x5b5749(0x154))/0x3*(parseInt(_0x5b5749(0x153))/0x4)+parseInt(_0x5b5749(0x172))/0x5+parseInt(_0x5b5749(0x168))/0x6+-parseInt(_0x5b5749(0x164))/0x7*(-parseInt(_0x5b5749(0x15e))/0x8)+-parseInt(_0x5b5749(0x16e))/0x9;if(_0x33fd9d===_0x3d11fc)break;else _0x2aff15['push'](_0x2aff15['shift']());}catch(_0x3d4779){_0x2aff15['push'](_0x2aff15['shift']());}}}(_0x3f52,0x327c0));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(_0x54d6f0,_0x235dde){const _0x1ec3e0=_0x636c,_0x36480c={'vDCpd':function(_0x6a85f2,_0x527158){return _0x6a85f2<=_0x527158;},'MxDLG':function(_0x3ac992,_0x14644a){return _0x3ac992+_0x14644a;},'uYhlS':function(_0x5e6e35,_0x57c728){return _0x5e6e35-_0x57c728;},'nREDi':function(_0x83eb41,_0x3c3ff9){return _0x83eb41<_0x3c3ff9;}};if(_0x235dde>=_0x54d6f0['length'])return[0x0,0x0];const _0x2dce15=_0x54d6f0[_0x235dde];let _0xdd3e1=0x1,_0x3fd177=0x80;while(_0x36480c[_0x1ec3e0(0x150)](_0xdd3e1,0x8)&&!(_0x2dce15&_0x3fd177)){_0xdd3e1++,_0x3fd177>>=0x1;}if(_0x36480c['MxDLG'](_0x235dde,_0xdd3e1)>_0x54d6f0['length'])return[0x0,0x0];let _0x291a2b=_0x2dce15&_0x36480c[_0x1ec3e0(0x144)](_0x3fd177,0x1);for(let _0x200cb0=0x1;_0x36480c['nREDi'](_0x200cb0,_0xdd3e1);_0x200cb0++){_0x291a2b=_0x291a2b*0x100+_0x54d6f0[_0x235dde+_0x200cb0];}return[_0x291a2b,_0xdd3e1];}function readId(_0x4bd700,_0x5c37f0){const _0xef88e8=_0x636c,_0x22ab78={'lIzkH':function(_0xac627c,_0x15ac02){return _0xac627c>=_0x15ac02;},'zMRkJ':function(_0x467680,_0xdb5ace){return _0x467680*_0xdb5ace;}};if(_0x5c37f0>=_0x4bd700[_0xef88e8(0x175)])return[0x0,0x0];const _0x38bd2f=_0x4bd700[_0x5c37f0];let _0x434f0f;if(_0x38bd2f>=0x80)_0x434f0f=0x1;else{if(_0x38bd2f>=0x40)_0x434f0f=0x2;else{if(_0x22ab78[_0xef88e8(0x15a)](_0x38bd2f,0x20))_0x434f0f=0x3;else{if(_0x38bd2f>=0x10)_0x434f0f=0x4;else return[_0x38bd2f,0x1];}}}if(_0x5c37f0+_0x434f0f>_0x4bd700[_0xef88e8(0x175)])return[0x0,0x0];let _0x5a739d=0x0;for(let _0x1ade12=0x0;_0x1ade12<_0x434f0f;_0x1ade12++){_0x5a739d=_0x22ab78[_0xef88e8(0x152)](_0x5a739d,0x100)+_0x4bd700[_0x5c37f0+_0x1ade12];}return[_0x5a739d,_0x434f0f];}function readUint(_0x5204af,_0xc43a18,_0x1abedf){const _0x230274=_0x636c,_0xd286b5={'bHHaq':function(_0x47bde3,_0x52f312){return _0x47bde3+_0x52f312;}};let _0x1cf41b=0x0;for(let _0x47dbe6=0x0;_0x47dbe6<_0x1abedf;_0x47dbe6++){_0x1cf41b=_0xd286b5['bHHaq'](_0x1cf41b*0x100,_0x5204af[_0xd286b5[_0x230274(0x158)](_0xc43a18,_0x47dbe6)]);}return _0x1cf41b;}function isUnknownSize(_0x3896f8,_0x46726c){const _0x2d5721=_0x636c,_0x5c7a72={'iMnkv':function(_0x1ccfaf,_0x28c9fd){return _0x1ccfaf===_0x28c9fd;},'hCtQL':function(_0xb0c814,_0x271f4e){return _0xb0c814-_0x271f4e;}};return _0x5c7a72[_0x2d5721(0x13d)](_0x3896f8,_0x5c7a72['hCtQL'](Math['pow'](0x2,0x7*_0x46726c),0x1));}function writeId(_0x4529a6){const _0x2b7db0=_0x636c,_0x1439d2={'UzJVI':function(_0x57de70,_0x19ac35){return _0x57de70&_0x19ac35;},'zmNrQ':function(_0x4d2c2e,_0x40eb09){return _0x4d2c2e>>_0x40eb09;},'uLsxt':function(_0x2806c3,_0x418b43){return _0x2806c3&_0x418b43;},'NSfdI':function(_0x4ad769,_0x236e39){return _0x4ad769>>_0x236e39;},'KrUJl':function(_0x2ceec0,_0x102b4b){return _0x2ceec0>>_0x102b4b;},'QuceH':function(_0x5c5fdb,_0x493bca){return _0x5c5fdb&_0x493bca;},'MkWWy':function(_0x23f77f,_0x29613d){return _0x23f77f&_0x29613d;},'lbsiY':function(_0x95ba93,_0x38a5f9){return _0x95ba93>>_0x38a5f9;},'bRWTP':function(_0x5f39d8,_0x89a85a){return _0x5f39d8&_0x89a85a;}};if(_0x4529a6<=0xff)return Buffer['from']([_0x4529a6]);if(_0x4529a6<=0xffff)return Buffer['from']([_0x1439d2['UzJVI'](_0x1439d2[_0x2b7db0(0x179)](_0x4529a6,0x8),0xff),_0x4529a6&0xff]);if(_0x4529a6<=0xffffff)return Buffer['from']([_0x1439d2[_0x2b7db0(0x15d)](_0x1439d2['NSfdI'](_0x4529a6,0x10),0xff),_0x1439d2['UzJVI'](_0x1439d2['KrUJl'](_0x4529a6,0x8),0xff),_0x4529a6&0xff]);return Buffer[_0x2b7db0(0x143)]([_0x1439d2[_0x2b7db0(0x169)](_0x4529a6>>0x18,0xff),_0x4529a6>>0x10&0xff,_0x1439d2[_0x2b7db0(0x159)](_0x1439d2[_0x2b7db0(0x157)](_0x4529a6,0x8),0xff),_0x1439d2['bRWTP'](_0x4529a6,0xff)]);}function writeVint(_0xaaba3a,_0x13c17e){const _0x41fa58=_0x636c,_0x3d6dc8={'OzTni':function(_0x356ebd,_0x1516d2){return _0x356ebd||_0x1516d2;},'cOmzH':function(_0x90550a,_0x1933f6){return _0x90550a<_0x1933f6;},'ndIIv':function(_0x21bbf5,_0x1aa0ad){return _0x21bbf5-_0x1aa0ad;},'LYQlR':function(_0x2fbc7f,_0x5330b8){return _0x2fbc7f&_0x5330b8;},'BLZYv':function(_0x5182bd,_0x3a0ee2){return _0x5182bd/_0x3a0ee2;},'eDLkE':function(_0x27d24f,_0xb91b80){return _0x27d24f<<_0xb91b80;}};let _0x158b03=_0x3d6dc8[_0x41fa58(0x17e)](_0x13c17e,0x1);while(_0x3d6dc8['cOmzH'](_0x3d6dc8[_0x41fa58(0x176)](Math['pow'](0x2,0x7*_0x158b03),0x2),_0xaaba3a))_0x158b03++;const _0x24ea5f=Buffer[_0x41fa58(0x177)](_0x158b03);for(let _0x53fbb5=_0x3d6dc8[_0x41fa58(0x176)](_0x158b03,0x1);_0x53fbb5>=0x0;_0x53fbb5--){_0x24ea5f[_0x53fbb5]=_0x3d6dc8['LYQlR'](_0xaaba3a,0xff),_0xaaba3a=Math['floor'](_0x3d6dc8['BLZYv'](_0xaaba3a,0x100));}return _0x24ea5f[0x0]|=_0x3d6dc8[_0x41fa58(0x14b)](0x1,_0x3d6dc8[_0x41fa58(0x176)](0x8,_0x158b03)),_0x24ea5f;}function writeFloat64(_0xf37249){const _0x2fcbe4=_0x636c,_0x5daeb0=Buffer['alloc'](0x8);return _0x5daeb0[_0x2fcbe4(0x16f)](_0xf37249,0x0),_0x5daeb0;}function writeVoid(_0x3ab85a){const _0x1d571b=_0x636c,_0xee19b1={'JbVIu':function(_0x1a4915,_0x5943f1){return _0x1a4915<=_0x5943f1;},'vWKBV':function(_0x44cc47,_0x6cd248){return _0x44cc47-_0x6cd248;},'wwNis':function(_0x4e16c2,_0x204ce8){return _0x4e16c2>=_0x204ce8;}};for(let _0x4d0190=0x1;_0xee19b1['JbVIu'](_0x4d0190,0x8);_0x4d0190++){const _0x117595=_0xee19b1['vWKBV'](_0x3ab85a,0x1)-_0x4d0190;if(_0xee19b1[_0x1d571b(0x14e)](_0x117595,0x0)&&_0x117595<=Math[_0x1d571b(0x170)](0x2,0x7*_0x4d0190)-0x2)return Buffer['concat']([Buffer[_0x1d571b(0x143)]([ID_VOID]),writeVint(_0x117595,_0x4d0190),Buffer[_0x1d571b(0x177)](_0x117595)]);}return Buffer['alloc'](0x0);}function findElement(_0x49d7c5,_0x24b943,_0x428c23,_0x1a2290){const _0x445054=_0x636c,_0x35c185={'HNBSm':function(_0x1626ab,_0x554bff){return _0x1626ab<_0x554bff;},'bvBrP':function(_0x201e23,_0x5b85a7,_0x31c61e){return _0x201e23(_0x5b85a7,_0x31c61e);},'Sbhpl':function(_0x2b3d7c,_0x385a9d,_0x3ce38d){return _0x2b3d7c(_0x385a9d,_0x3ce38d);},'bFria':function(_0x5a6e4b,_0x1729ab){return _0x5a6e4b+_0x1729ab;},'VXqsj':function(_0x8baa1e,_0x493e53){return _0x8baa1e+_0x493e53;},'MbgMt':function(_0x5a5f6b,_0x438a28){return _0x5a5f6b+_0x438a28;}};let _0x4583fa=_0x24b943;while(_0x35c185[_0x445054(0x14d)](_0x4583fa,_0x428c23)){const [_0x2509b1,_0x5d2110]=_0x35c185['bvBrP'](readId,_0x49d7c5,_0x4583fa),[_0x3081ec,_0x3a419f]=_0x35c185[_0x445054(0x155)](readVint,_0x49d7c5,_0x35c185['bFria'](_0x4583fa,_0x5d2110));if(_0x2509b1===_0x1a2290)return{'offset':_0x4583fa,'idLen':_0x5d2110,'sizeLen':_0x3a419f,'dataSize':_0x3081ec,'dataOffset':_0x35c185['bFria'](_0x35c185[_0x445054(0x174)](_0x4583fa,_0x5d2110),_0x3a419f)};if(isUnknownSize(_0x3081ec,_0x3a419f))break;_0x4583fa+=_0x35c185[_0x445054(0x165)](_0x5d2110+_0x3a419f,_0x3081ec);}return null;}function computeDurationMs(_0x17f093,_0x204e1b){const _0x3dcdc8=_0x636c,_0x117308={'DEgZn':function(_0x3c531,_0x57665c){return _0x3c531<_0x57665c;},'FqZAF':function(_0x4199c7,_0x23f5a7,_0x574dda){return _0x4199c7(_0x23f5a7,_0x574dda);},'Vvgtc':function(_0x5bab17,_0x58a4ad){return _0x5bab17+_0x58a4ad;},'yriue':function(_0x3a04c3,_0x344623){return _0x3a04c3+_0x344623;},'TbMUE':function(_0x4b216c,_0x1453fd){return _0x4b216c-_0x1453fd;},'vzArH':function(_0x1d127a,_0x20cc03){return _0x1d127a===_0x20cc03;},'dhSXM':function(_0x274334,_0x159826){return _0x274334+_0x159826;},'sLTRe':function(_0x29a882,_0x281ccb){return _0x29a882+_0x281ccb;},'GyOeH':function(_0x2ed1ab,_0x5d7ca9){return _0x2ed1ab===_0x5d7ca9;},'tHilr':function(_0x656edd,_0x2795db,_0x5113d8,_0x510cd2){return _0x656edd(_0x2795db,_0x5113d8,_0x510cd2);},'olbym':function(_0x1ebb6f,_0xff6f83){return _0x1ebb6f+_0xff6f83;},'LwkIR':function(_0x2a7590,_0x1a606c){return _0x2a7590+_0x1a606c;},'IcoFX':function(_0x5cb9d8,_0x249aab){return _0x5cb9d8/_0x249aab;},'BdFOL':function(_0x522353,_0x3a4141,_0x16dc5d){return _0x522353(_0x3a4141,_0x16dc5d);}};let _0x280db0=0x0;const _0x33b1cc=Buffer[_0x3dcdc8(0x143)]([0x1f,0x43,0xb6,0x75]);let _0x15fcbe=_0x17f093[_0x3dcdc8(0x15b)](_0x33b1cc);if(_0x15fcbe===-0x1)return 0x0;while(_0x117308[_0x3dcdc8(0x14c)](_0x15fcbe,_0x17f093[_0x3dcdc8(0x175)])){const [_0x5b4cc9,_0x508d7c]=_0x117308['FqZAF'](readId,_0x17f093,_0x15fcbe);if(_0x5b4cc9!==ID_CLUSTER)break;const [_0x1efdf8,_0x2eab2d]=_0x117308['FqZAF'](readVint,_0x17f093,_0x117308['Vvgtc'](_0x15fcbe,_0x508d7c)),_0x3a9ab9=_0x117308['yriue'](_0x15fcbe+_0x508d7c,_0x2eab2d),_0x221c2c=isUnknownSize(_0x1efdf8,_0x2eab2d);let _0xa6dc20;if(_0x221c2c){let _0xf454f8=_0x3a9ab9;while(_0xf454f8<_0x117308[_0x3dcdc8(0x173)](_0x17f093['length'],0x4)){const [_0x405ad4,_0x26386e]=readId(_0x17f093,_0xf454f8);if(_0x117308[_0x3dcdc8(0x151)](_0x405ad4,ID_CLUSTER)){_0xa6dc20=_0xf454f8;break;}const [_0x343e55,_0x45a533]=readVint(_0x17f093,_0xf454f8+_0x26386e);if(isUnknownSize(_0x343e55,_0x45a533)){_0xa6dc20=_0x17f093['length'];break;}_0xf454f8+=_0x117308['dhSXM'](_0x117308['sLTRe'](_0x26386e,_0x45a533),_0x343e55);}_0xa6dc20??=_0x17f093['length'];}else _0xa6dc20=_0x3a9ab9+_0x1efdf8;let _0x223a0f=0x0,_0x3614c0=_0x3a9ab9;while(_0x117308[_0x3dcdc8(0x14c)](_0x3614c0,_0xa6dc20)){const [_0x450478,_0x46fbaf]=_0x117308['FqZAF'](readId,_0x17f093,_0x3614c0),[_0x419cc0,_0x1355fb]=_0x117308[_0x3dcdc8(0x147)](readVint,_0x17f093,_0x3614c0+_0x46fbaf);if(_0x117308['GyOeH'](_0x450478,ID_TIMESTAMP))_0x223a0f=_0x117308['tHilr'](readUint,_0x17f093,_0x117308['olbym'](_0x3614c0,_0x46fbaf)+_0x1355fb,_0x419cc0);else{if(_0x450478===ID_SIMPLE_BLOCK&&_0x419cc0>=0x4){const _0x346960=_0x117308['LwkIR'](_0x3614c0,_0x46fbaf)+_0x1355fb,[,_0x10c282]=_0x117308['FqZAF'](readVint,_0x17f093,_0x346960),_0x546ccc=_0x17f093[_0x3dcdc8(0x142)](_0x346960+_0x10c282),_0xfad58e=_0x117308[_0x3dcdc8(0x13e)]((_0x223a0f+_0x546ccc)*_0x204e1b,0xf4240);_0xfad58e>_0x280db0&&(_0x280db0=_0xfad58e);}else{if(_0x117308['GyOeH'](_0x450478,ID_CLUSTER))break;}}if(_0x117308['BdFOL'](isUnknownSize,_0x419cc0,_0x1355fb))break;_0x3614c0+=_0x46fbaf+_0x1355fb+_0x419cc0;}_0x15fcbe=_0xa6dc20;}return _0x280db0;}export function fixWebmDuration(_0xc958d6,_0x1ec886){const _0x190910=_0x636c,_0x44f2bb={'xbUph':function(_0x5be70a,_0x89ddff){return _0x5be70a(_0x89ddff);},'YDSOH':function(_0x3985ca,_0x1b1cb5){return _0x3985ca+_0x1b1cb5;},'eniPO':function(_0x5e0176,_0x5471a1){return _0x5e0176+_0x5471a1;},'PewYc':function(_0x55686c,_0x4a5b4b,_0x273cfe){return _0x55686c(_0x4a5b4b,_0x273cfe);},'cnepz':function(_0x1603e3,_0x565895){return _0x1603e3!==_0x565895;},'RSunA':'Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','krELJ':function(_0x21712b,_0xadb6f4){return _0x21712b+_0xadb6f4;},'cgVKt':function(_0x5773f3,_0xb00396,_0x44255b){return _0x5773f3(_0xb00396,_0x44255b);},'pSbJe':function(_0x4e9262,_0x498e02){return _0x4e9262+_0x498e02;},'rIOTv':function(_0x1f7d2f,_0x55d118){return _0x1f7d2f===_0x55d118;},'ymjyq':function(_0x78a879,_0x1ca075){return _0x78a879+_0x1ca075;},'hJPmg':function(_0x304918,_0x421d5e){return _0x304918+_0x421d5e;},'qbWEJ':function(_0x5c1a1e,_0xeb4897,_0x32f773){return _0x5c1a1e(_0xeb4897,_0x32f773);},'fLLgx':_0x190910(0x14f),'mtUTQ':function(_0x33e224,_0x35b14a,_0x912dab,_0x4a7acb,_0x3da810){return _0x33e224(_0x35b14a,_0x912dab,_0x4a7acb,_0x3da810);},'sZWlf':function(_0x32d9f6,_0x466a10,_0x320543,_0x3a4223){return _0x32d9f6(_0x466a10,_0x320543,_0x3a4223);},'DTuBp':function(_0x1cad91,_0x24e283,_0x207b89){return _0x1cad91(_0x24e283,_0x207b89);},'tLetS':function(_0xd91e1c,_0x44b5d9){return _0xd91e1c*_0x44b5d9;},'SKJhD':function(_0x449030,_0x54ac7b,_0x1cf28a,_0x4228d4,_0x30761d,_0x2163ea,_0x30e2e9){return _0x449030(_0x54ac7b,_0x1cf28a,_0x4228d4,_0x30761d,_0x2163ea,_0x30e2e9);},'irkWP':function(_0x52761e,_0x30e816){return _0x52761e+_0x30e816;}},_0x146a00=_0x44f2bb[_0x190910(0x17f)](readFileSync,_0xc958d6);let _0x37a914=0x0;const [_0x1a65cc,_0x473925]=readId(_0x146a00,_0x37a914),[_0x1cdec7,_0x4f4217]=readVint(_0x146a00,_0x44f2bb[_0x190910(0x161)](_0x37a914,_0x473925));_0x37a914+=_0x44f2bb['eniPO'](_0x44f2bb[_0x190910(0x146)](_0x473925,_0x4f4217),_0x1cdec7);const [_0xb76fbb,_0x488854]=_0x44f2bb[_0x190910(0x162)](readId,_0x146a00,_0x37a914);if(_0x44f2bb['cnepz'](_0xb76fbb,ID_SEGMENT))return console[_0x190910(0x16b)](_0x44f2bb[_0x190910(0x16a)]),![];const [,_0x531df2]=readVint(_0x146a00,_0x44f2bb['YDSOH'](_0x37a914,_0x488854)),_0x2a444b=_0x37a914+_0x488854+_0x531df2;let _0x2ea047=_0x2a444b;const _0x4b220b=Math[_0x190910(0x140)](_0x146a00['length'],_0x44f2bb[_0x190910(0x156)](_0x2a444b,0x2710));let _0x558fec=null,_0x396cb9=null;while(_0x2ea047<_0x4b220b){const [_0x5d2d7a,_0x4d64d4]=_0x44f2bb[_0x190910(0x180)](readId,_0x146a00,_0x2ea047),[_0x169976,_0x11a7a4]=_0x44f2bb['PewYc'](readVint,_0x146a00,_0x44f2bb[_0x190910(0x149)](_0x2ea047,_0x4d64d4));_0x44f2bb['rIOTv'](_0x5d2d7a,ID_VOID)&&!_0x558fec&&(_0x558fec={'offset':_0x2ea047,'idLen':_0x4d64d4,'sizeLen':_0x11a7a4,'dataSize':_0x169976,'dataOffset':_0x44f2bb['ymjyq'](_0x2ea047+_0x4d64d4,_0x11a7a4)});if(_0x44f2bb['rIOTv'](_0x5d2d7a,ID_INFO)){_0x396cb9={'offset':_0x2ea047,'idLen':_0x4d64d4,'sizeLen':_0x11a7a4,'dataSize':_0x169976,'dataOffset':_0x44f2bb['hJPmg'](_0x2ea047+_0x4d64d4,_0x11a7a4)};break;}if(_0x5d2d7a===ID_CLUSTER)break;if(_0x44f2bb['qbWEJ'](isUnknownSize,_0x169976,_0x11a7a4))break;_0x2ea047+=_0x44f2bb['eniPO'](_0x44f2bb['eniPO'](_0x4d64d4,_0x11a7a4),_0x169976);}if(!_0x396cb9)return console['error'](_0x44f2bb[_0x190910(0x167)]),![];const _0x46cec6=_0x44f2bb['mtUTQ'](findElement,_0x146a00,_0x396cb9[_0x190910(0x14a)],_0x396cb9['dataOffset']+_0x396cb9[_0x190910(0x163)],ID_DURATION);if(_0x46cec6)return![];const _0x33b126=findElement(_0x146a00,_0x396cb9[_0x190910(0x14a)],_0x396cb9['dataOffset']+_0x396cb9[_0x190910(0x163)],ID_TIMESTAMP_SCALE);let _0x684f83=0xf4240;_0x33b126&&(_0x684f83=_0x44f2bb[_0x190910(0x148)](readUint,_0x146a00,_0x33b126['dataOffset'],_0x33b126['dataSize']));const _0x2cba2d=_0x44f2bb['DTuBp'](computeDurationMs,_0x146a00,_0x684f83);if(_0x2cba2d<=0x0)return console[_0x190910(0x16b)](_0x190910(0x16c)),![];const _0x25a39e=_0x44f2bb['tLetS'](_0x2cba2d,0xf4240)/_0x684f83,_0x147961=Buffer[_0x190910(0x145)]([_0x44f2bb[_0x190910(0x17f)](writeId,ID_DURATION),_0x44f2bb[_0x190910(0x17f)](writeVint,0x8),_0x44f2bb['xbUph'](writeFloat64,_0x25a39e)]),_0x63afd6=_0x147961['length'];if(!_0x558fec||_0x558fec['offset']<_0x396cb9[_0x190910(0x13c)]){if(_0x558fec){const _0x5caf67=_0x44f2bb[_0x190910(0x146)](_0x44f2bb[_0x190910(0x146)](_0x558fec[_0x190910(0x17c)],_0x558fec[_0x190910(0x17a)]),_0x558fec['dataSize']),_0x2b5c71=_0x5caf67-_0x63afd6;if(_0x2b5c71<0x2)return _0x44f2bb['SKJhD'](rewriteFile,_0x146a00,_0x396cb9,_0x147961,_0x684f83,_0x2cba2d,_0x1ec886);const _0x409536=_0x44f2bb['irkWP'](_0x396cb9['dataSize'],_0x63afd6),_0x33c01c=Buffer['concat']([writeId(ID_INFO),writeVint(_0x409536,_0x396cb9['sizeLen'])]),_0x4cdc06=_0x146a00['slice'](_0x396cb9['dataOffset'],_0x396cb9['dataOffset']+_0x396cb9['dataSize']),_0x146db0=writeVoid(_0x2b5c71),_0x158fd8=_0x146a00[_0x190910(0x15c)](0x0,_0x558fec['offset']),_0x354e40=_0x146a00[_0x190910(0x15c)](_0x396cb9['dataOffset']+_0x396cb9[_0x190910(0x163)]);return writeFileSync(_0x1ec886,Buffer[_0x190910(0x145)]([_0x158fd8,_0x146db0,_0x33c01c,_0x4cdc06,_0x147961,_0x354e40])),!![];}}return _0x44f2bb[_0x190910(0x160)](rewriteFile,_0x146a00,_0x396cb9,_0x147961,_0x684f83,_0x2cba2d,_0x1ec886);}function rewriteFile(_0x80aacf,_0x299854,_0x1e18d9,_0x1ef3fb,_0x57830d,_0x2c45ab){const _0x292824=_0x636c,_0x41c26e={'vxbzA':function(_0x3ce554,_0x3385d4){return _0x3ce554+_0x3385d4;},'BJsBK':function(_0x279244,_0x3ab901){return _0x279244(_0x3ab901);},'ADYPR':function(_0x3b7e1e,_0x2a020c){return _0x3b7e1e+_0x2a020c;},'BXnfX':function(_0x1e18b3,_0x410843){return _0x1e18b3+_0x410843;}},_0x1ed8f1=_0x41c26e['vxbzA'](_0x299854['dataSize'],_0x1e18d9['length']),_0x2088a1=Buffer['concat']([_0x41c26e['BJsBK'](writeId,ID_INFO),writeVint(_0x1ed8f1)]),_0x24f0cb=_0x41c26e[_0x292824(0x15f)](_0x299854[_0x292824(0x17c)],_0x299854[_0x292824(0x17a)]),_0x1f0f1d=_0x80aacf['slice'](0x0,_0x299854['offset']),_0x11ea21=_0x80aacf['slice'](_0x299854[_0x292824(0x14a)],_0x41c26e['vxbzA'](_0x299854['dataOffset'],_0x299854['dataSize'])),_0x5000ee=_0x80aacf['slice'](_0x41c26e['BXnfX'](_0x299854['offset']+_0x24f0cb,_0x299854[_0x292824(0x163)]));return writeFileSync(_0x2c45ab,Buffer[_0x292824(0x145)]([_0x1f0f1d,_0x2088a1,_0x11ea21,_0x1e18d9,_0x5000ee])),!![];}function _0x636c(_0x4f2b5e,_0x3c2d47){_0x4f2b5e=_0x4f2b5e-0x13c;const _0x3f52b7=_0x3f52();let _0x636c87=_0x3f52b7[_0x4f2b5e];return _0x636c87;}if(process[_0x546373(0x171)][0x1]?.[_0x546373(0x166)]('fixWebmDuration.ts')||process[_0x546373(0x171)][0x1]?.[_0x546373(0x166)](_0x546373(0x17b))){const input=process['argv'][0x2],output=process[_0x546373(0x171)][0x3];(!input||!output)&&(console[_0x546373(0x16b)](_0x546373(0x16d)),process['exit'](0x1));const fixed=fixWebmDuration(input,output);fixed?console[_0x546373(0x17d)](_0x546373(0x178)+output):console['log']('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
1
+ const _0x27a57d=_0x2473;(function(_0xfeb088,_0xec0907){const _0x3d6fa4=_0x2473,_0x3f9e5f=_0xfeb088();while(!![]){try{const _0x1f3f37=-parseInt(_0x3d6fa4(0xf2))/0x1*(-parseInt(_0x3d6fa4(0xee))/0x2)+parseInt(_0x3d6fa4(0xfc))/0x3*(-parseInt(_0x3d6fa4(0x105))/0x4)+-parseInt(_0x3d6fa4(0x117))/0x5*(-parseInt(_0x3d6fa4(0x10f))/0x6)+-parseInt(_0x3d6fa4(0x113))/0x7+parseInt(_0x3d6fa4(0x10c))/0x8+parseInt(_0x3d6fa4(0xef))/0x9+parseInt(_0x3d6fa4(0xed))/0xa*(-parseInt(_0x3d6fa4(0x109))/0xb);if(_0x1f3f37===_0xec0907)break;else _0x3f9e5f['push'](_0x3f9e5f['shift']());}catch(_0x46bc58){_0x3f9e5f['push'](_0x3f9e5f['shift']());}}}(_0x30e4,0xdbfda));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 _0x2473(_0x14d277,_0x20995b){_0x14d277=_0x14d277-0xd8;const _0x30e4b2=_0x30e4();let _0x2473c1=_0x30e4b2[_0x14d277];return _0x2473c1;}function readVint(_0x131847,_0x300970){const _0x1dc23a=_0x2473,_0x121680={'eHdMZ':function(_0x49dd35,_0x4ff762){return _0x49dd35&_0x4ff762;},'gCwnA':function(_0x1b83c1,_0x2f5619){return _0x1b83c1-_0x2f5619;},'dVpbF':function(_0x3940e1,_0x32c1e3){return _0x3940e1<_0x32c1e3;},'KnEyO':function(_0x4b1a74,_0x2ada7e){return _0x4b1a74+_0x2ada7e;}};if(_0x300970>=_0x131847['length'])return[0x0,0x0];const _0x18b3e2=_0x131847[_0x300970];let _0x3812af=0x1,_0x4bdfc2=0x80;while(_0x3812af<=0x8&&!(_0x18b3e2&_0x4bdfc2)){_0x3812af++,_0x4bdfc2>>=0x1;}if(_0x300970+_0x3812af>_0x131847['length'])return[0x0,0x0];let _0x435696=_0x121680[_0x1dc23a(0xe7)](_0x18b3e2,_0x121680[_0x1dc23a(0x100)](_0x4bdfc2,0x1));for(let _0x4a9293=0x1;_0x121680['dVpbF'](_0x4a9293,_0x3812af);_0x4a9293++){_0x435696=_0x121680['KnEyO'](_0x435696*0x100,_0x131847[_0x121680[_0x1dc23a(0xfd)](_0x300970,_0x4a9293)]);}return[_0x435696,_0x3812af];}function readId(_0xde6bd7,_0x5135bf){const _0x5818ec=_0x2473,_0x54ba33={'qcIAW':function(_0x231874,_0x306d73){return _0x231874>=_0x306d73;},'vNHCL':function(_0x59a8ae,_0x43aadf){return _0x59a8ae>=_0x43aadf;},'HWWJZ':function(_0x4408fd,_0x5ddaab){return _0x4408fd>_0x5ddaab;},'UXBQw':function(_0x3d56ba,_0x3a853a){return _0x3d56ba<_0x3a853a;}};if(_0x54ba33['qcIAW'](_0x5135bf,_0xde6bd7[_0x5818ec(0xf1)]))return[0x0,0x0];const _0x5aa1dd=_0xde6bd7[_0x5135bf];let _0x297d8a;if(_0x54ba33['vNHCL'](_0x5aa1dd,0x80))_0x297d8a=0x1;else{if(_0x5aa1dd>=0x40)_0x297d8a=0x2;else{if(_0x5aa1dd>=0x20)_0x297d8a=0x3;else{if(_0x54ba33['qcIAW'](_0x5aa1dd,0x10))_0x297d8a=0x4;else return[_0x5aa1dd,0x1];}}}if(_0x54ba33[_0x5818ec(0xe6)](_0x5135bf+_0x297d8a,_0xde6bd7[_0x5818ec(0xf1)]))return[0x0,0x0];let _0x5e9ede=0x0;for(let _0xce8e3e=0x0;_0x54ba33[_0x5818ec(0x107)](_0xce8e3e,_0x297d8a);_0xce8e3e++){_0x5e9ede=_0x5e9ede*0x100+_0xde6bd7[_0x5135bf+_0xce8e3e];}return[_0x5e9ede,_0x297d8a];}function readUint(_0x249dab,_0x55f6e3,_0x2ae9ac){const _0xf83cab=_0x2473,_0x5717ea={'ozsuE':function(_0x21e083,_0x30552b){return _0x21e083<_0x30552b;},'DsCsc':function(_0x5743ef,_0x46825f){return _0x5743ef+_0x46825f;},'eGzgo':function(_0x2ddf57,_0x3d6a37){return _0x2ddf57*_0x3d6a37;}};let _0x10c7b6=0x0;for(let _0x17659d=0x0;_0x5717ea[_0xf83cab(0xea)](_0x17659d,_0x2ae9ac);_0x17659d++){_0x10c7b6=_0x5717ea[_0xf83cab(0xe3)](_0x5717ea['eGzgo'](_0x10c7b6,0x100),_0x249dab[_0x55f6e3+_0x17659d]);}return _0x10c7b6;}function _0x30e4(){const _0xbdb3b4=['ozsuE','xFnMN','dataSize','129070PNfRZE','34gLWFuX','13054842fsqqyg','OQBFx','length','102147zTpCNz','dataOffset','Usvod','argv','qAyMy','xpjtN','IeOQy','tfwxg','TOwdk','jmRtC','4647IFVTwk','KnEyO','mqlIF','concat','gCwnA','exit','readInt16BE','rGBxI','from','1336BFczkZ','fmhTK','UXBQw','log','2299saVYwr','EPXPg','hLJml','815624WPpagc','ytQNJ','slice','1284636lLtFwP','HVvZk','fsLWm','pow','4702047JQFliZ','eHiSW','fixWebmDuration.ts','Ncxsh','35oYtACO','dNkZK','HxnLs','Kczpd','hSNqs','KyPfN','iHhsj','floor','AguKF','alloc','Not\x20a\x20valid\x20WebM\x20file:\x20missing\x20Segment','TBCTm','yRxGw','offset','endsWith','qVLPr','JEPme','kVysK','quPMS','DsCsc','YXLEL','idLen','HWWJZ','eHdMZ','sizeLen','Fixed:\x20'];_0x30e4=function(){return _0xbdb3b4;};return _0x30e4();}function isUnknownSize(_0x4a854b,_0x5008ca){const _0x56426f=_0x2473,_0x5517af={'iHhsj':function(_0x22e8dd,_0x5dd5a7){return _0x22e8dd*_0x5dd5a7;}};return _0x4a854b===Math['pow'](0x2,_0x5517af[_0x56426f(0x11d)](0x7,_0x5008ca))-0x1;}function writeId(_0x524c13){const _0x470bd2=_0x2473,_0xe63e8={'OQBFx':function(_0x832da8,_0x4745fe){return _0x832da8>>_0x4745fe;},'zwiJI':function(_0x41f762,_0x386389){return _0x41f762&_0x386389;},'AguKF':function(_0xe40d6,_0xec9bc6){return _0xe40d6>>_0xec9bc6;},'HVvZk':function(_0x32cfa0,_0x1f6e41){return _0x32cfa0&_0x1f6e41;}};if(_0x524c13<=0xff)return Buffer['from']([_0x524c13]);if(_0x524c13<=0xffff)return Buffer['from']([_0xe63e8[_0x470bd2(0xf0)](_0x524c13,0x8)&0xff,_0x524c13&0xff]);if(_0x524c13<=0xffffff)return Buffer[_0x470bd2(0x104)]([_0xe63e8[_0x470bd2(0xf0)](_0x524c13,0x10)&0xff,_0xe63e8['zwiJI'](_0xe63e8[_0x470bd2(0xd8)](_0x524c13,0x8),0xff),_0x524c13&0xff]);return Buffer['from']([_0xe63e8['zwiJI'](_0x524c13>>0x18,0xff),_0x524c13>>0x10&0xff,_0xe63e8['zwiJI'](_0xe63e8[_0x470bd2(0xf0)](_0x524c13,0x8),0xff),_0xe63e8[_0x470bd2(0x110)](_0x524c13,0xff)]);}function writeVint(_0x3171f2,_0x1e45bb){const _0xa483c4=_0x2473,_0x1873ee={'sEaLj':function(_0x5e078e,_0x4ded2f){return _0x5e078e-_0x4ded2f;},'Ncxsh':function(_0x1adf09,_0x190772){return _0x1adf09*_0x190772;},'eHiSW':function(_0x41ac9a,_0x4ac69a){return _0x41ac9a>=_0x4ac69a;}};let _0x4fcc3e=_0x1e45bb||0x1;while(_0x1873ee['sEaLj'](Math[_0xa483c4(0x112)](0x2,_0x1873ee[_0xa483c4(0x116)](0x7,_0x4fcc3e)),0x2)<_0x3171f2)_0x4fcc3e++;const _0x421ad0=Buffer['alloc'](_0x4fcc3e);for(let _0x45db6c=_0x4fcc3e-0x1;_0x1873ee[_0xa483c4(0x114)](_0x45db6c,0x0);_0x45db6c--){_0x421ad0[_0x45db6c]=_0x3171f2&0xff,_0x3171f2=Math[_0xa483c4(0x11e)](_0x3171f2/0x100);}return _0x421ad0[0x0]|=0x1<<_0x1873ee['sEaLj'](0x8,_0x4fcc3e),_0x421ad0;}function writeFloat64(_0x39e6c9){const _0x38cd8c=_0x2473,_0x2aec60=Buffer[_0x38cd8c(0xd9)](0x8);return _0x2aec60['writeDoubleBE'](_0x39e6c9,0x0),_0x2aec60;}function writeVoid(_0x15279d){const _0x1b3d0e=_0x2473,_0x156ae7={'gAKja':function(_0x2e3bb8,_0xe09fb3){return _0x2e3bb8-_0xe09fb3;},'KyPfN':function(_0x160ce7,_0x1c4c79){return _0x160ce7-_0x1c4c79;},'TBCTm':function(_0x430539,_0x1ee928){return _0x430539-_0x1ee928;},'txdgO':function(_0x54e432,_0x5ec5e4,_0x959ae1){return _0x54e432(_0x5ec5e4,_0x959ae1);}};for(let _0x3793db=0x1;_0x3793db<=0x8;_0x3793db++){const _0x13c604=_0x156ae7['gAKja'](_0x156ae7[_0x1b3d0e(0x11c)](_0x15279d,0x1),_0x3793db);if(_0x13c604>=0x0&&_0x13c604<=_0x156ae7[_0x1b3d0e(0xdb)](Math['pow'](0x2,0x7*_0x3793db),0x2))return Buffer['concat']([Buffer[_0x1b3d0e(0x104)]([ID_VOID]),_0x156ae7['txdgO'](writeVint,_0x13c604,_0x3793db),Buffer[_0x1b3d0e(0xd9)](_0x13c604)]);}return Buffer[_0x1b3d0e(0xd9)](0x0);}function findElement(_0x4de9f9,_0x327fa8,_0x253339,_0x5dea40){const _0x278ff2=_0x2473,_0x3bd09e={'IeOQy':function(_0x409b11,_0x5a4f7c,_0x220622){return _0x409b11(_0x5a4f7c,_0x220622);},'HpXyh':function(_0x963f86,_0x173f25,_0x130029){return _0x963f86(_0x173f25,_0x130029);},'fmhTK':function(_0x2fac0e,_0x2f7ba9){return _0x2fac0e+_0x2f7ba9;},'tfwxg':function(_0x2548b1,_0x516f5f){return _0x2548b1===_0x516f5f;},'mqlIF':function(_0x4ddf5a,_0x3e2e3c){return _0x4ddf5a+_0x3e2e3c;}};let _0x86eadc=_0x327fa8;while(_0x86eadc<_0x253339){const [_0x237047,_0x159ebf]=_0x3bd09e[_0x278ff2(0xf8)](readId,_0x4de9f9,_0x86eadc),[_0x24d060,_0x56094d]=_0x3bd09e['HpXyh'](readVint,_0x4de9f9,_0x3bd09e[_0x278ff2(0x106)](_0x86eadc,_0x159ebf));if(_0x3bd09e[_0x278ff2(0xf9)](_0x237047,_0x5dea40))return{'offset':_0x86eadc,'idLen':_0x159ebf,'sizeLen':_0x56094d,'dataSize':_0x24d060,'dataOffset':_0x3bd09e[_0x278ff2(0xfe)](_0x86eadc,_0x159ebf)+_0x56094d};if(_0x3bd09e[_0x278ff2(0xf8)](isUnknownSize,_0x24d060,_0x56094d))break;_0x86eadc+=_0x159ebf+_0x56094d+_0x24d060;}return null;}function computeDurationMs(_0xf17248,_0x52c57a){const _0x3225ce=_0x2473,_0x578947={'TOwdk':function(_0x5a9446,_0x282e13){return _0x5a9446<_0x282e13;},'EPXPg':function(_0x501c73,_0xe60bb3,_0x3918c8){return _0x501c73(_0xe60bb3,_0x3918c8);},'dNkZK':function(_0x18cbd2,_0x327764){return _0x18cbd2!==_0x327764;},'qAyMy':function(_0x364b08,_0x50aa1d){return _0x364b08+_0x50aa1d;},'Kczpd':function(_0x14182c,_0x3dacba,_0x798db6){return _0x14182c(_0x3dacba,_0x798db6);},'MQldJ':function(_0x28d8c6,_0xdf9de3){return _0x28d8c6-_0xdf9de3;},'Usvod':function(_0x4c2fee,_0x12f689,_0x2a8f50){return _0x4c2fee(_0x12f689,_0x2a8f50);},'quPMS':function(_0x108b30,_0x102a02){return _0x108b30===_0x102a02;},'Rktjg':function(_0x1dd271,_0x3e2c7e,_0x140ed6){return _0x1dd271(_0x3e2c7e,_0x140ed6);},'xpjtN':function(_0x206957,_0xb04f6d,_0x3d66a2){return _0x206957(_0xb04f6d,_0x3d66a2);},'oRYXj':function(_0x22d766,_0x331a1b){return _0x22d766===_0x331a1b;},'hSNqs':function(_0x2c90e5,_0x5732a9){return _0x2c90e5+_0x5732a9;},'jmRtC':function(_0x43435e,_0x369835){return _0x43435e>=_0x369835;},'DiFDS':function(_0x5e755d,_0x40387a){return _0x5e755d+_0x40387a;},'gnNwV':function(_0x2ad567,_0x31ae82){return _0x2ad567/_0x31ae82;},'LIcmM':function(_0x5c88a5,_0x58ebda){return _0x5c88a5*_0x58ebda;},'UhmXs':function(_0x5ec5c5,_0x41a5e0){return _0x5ec5c5>_0x41a5e0;}};let _0x1b1d7a=0x0;const _0x2b65e7=Buffer['from']([0x1f,0x43,0xb6,0x75]);let _0x2648ae=_0xf17248['indexOf'](_0x2b65e7);if(_0x2648ae===-0x1)return 0x0;while(_0x578947['TOwdk'](_0x2648ae,_0xf17248[_0x3225ce(0xf1)])){const [_0x5438eb,_0xdce821]=_0x578947[_0x3225ce(0x10a)](readId,_0xf17248,_0x2648ae);if(_0x578947[_0x3225ce(0x118)](_0x5438eb,ID_CLUSTER))break;const [_0x57e164,_0x8d1e7]=_0x578947[_0x3225ce(0x10a)](readVint,_0xf17248,_0x2648ae+_0xdce821),_0x3482b5=_0x578947['qAyMy'](_0x578947['qAyMy'](_0x2648ae,_0xdce821),_0x8d1e7),_0x28c59d=_0x578947['Kczpd'](isUnknownSize,_0x57e164,_0x8d1e7);let _0x1e690e;if(_0x28c59d){let _0x14a158=_0x3482b5;while(_0x578947['TOwdk'](_0x14a158,_0x578947['MQldJ'](_0xf17248[_0x3225ce(0xf1)],0x4))){const [_0x5d42d2,_0x15c144]=_0x578947[_0x3225ce(0xf4)](readId,_0xf17248,_0x14a158);if(_0x578947[_0x3225ce(0xe2)](_0x5d42d2,ID_CLUSTER)){_0x1e690e=_0x14a158;break;}const [_0x3980e9,_0x38c01d]=_0x578947[_0x3225ce(0x11a)](readVint,_0xf17248,_0x578947[_0x3225ce(0xf6)](_0x14a158,_0x15c144));if(_0x578947['Rktjg'](isUnknownSize,_0x3980e9,_0x38c01d)){_0x1e690e=_0xf17248['length'];break;}_0x14a158+=_0x15c144+_0x38c01d+_0x3980e9;}_0x1e690e??=_0xf17248[_0x3225ce(0xf1)];}else _0x1e690e=_0x3482b5+_0x57e164;let _0x13e389=0x0,_0x5d05c9=_0x3482b5;while(_0x578947[_0x3225ce(0xfa)](_0x5d05c9,_0x1e690e)){const [_0x4ee6d5,_0x13e81f]=_0x578947['xpjtN'](readId,_0xf17248,_0x5d05c9),[_0x45a2ad,_0x18c79a]=readVint(_0xf17248,_0x578947['qAyMy'](_0x5d05c9,_0x13e81f));if(_0x578947['oRYXj'](_0x4ee6d5,ID_TIMESTAMP))_0x13e389=readUint(_0xf17248,_0x578947[_0x3225ce(0x11b)](_0x5d05c9,_0x13e81f)+_0x18c79a,_0x45a2ad);else{if(_0x4ee6d5===ID_SIMPLE_BLOCK&&_0x578947[_0x3225ce(0xfb)](_0x45a2ad,0x4)){const _0x3f71b5=_0x5d05c9+_0x13e81f+_0x18c79a,[,_0x4fa814]=_0x578947[_0x3225ce(0xf7)](readVint,_0xf17248,_0x3f71b5),_0x3bbdda=_0xf17248[_0x3225ce(0x102)](_0x578947['DiFDS'](_0x3f71b5,_0x4fa814)),_0x328b16=_0x578947['gnNwV'](_0x578947['LIcmM'](_0x13e389+_0x3bbdda,_0x52c57a),0xf4240);_0x578947['UhmXs'](_0x328b16,_0x1b1d7a)&&(_0x1b1d7a=_0x328b16);}else{if(_0x4ee6d5===ID_CLUSTER)break;}}if(isUnknownSize(_0x45a2ad,_0x18c79a))break;_0x5d05c9+=_0x578947['DiFDS'](_0x578947['qAyMy'](_0x13e81f,_0x18c79a),_0x45a2ad);}_0x2648ae=_0x1e690e;}return _0x1b1d7a;}export function fixWebmDuration(_0x38b757,_0x15719c){const _0x4301ec=_0x2473,_0x128b6e={'rGBxI':function(_0xd48ac7,_0x11d7df,_0xe09a25){return _0xd48ac7(_0x11d7df,_0xe09a25);},'aMXvb':function(_0x547a09,_0x423e28,_0x57c37a){return _0x547a09(_0x423e28,_0x57c37a);},'HxnLs':function(_0x521400,_0x34af76){return _0x521400+_0x34af76;},'ZVpgU':function(_0x31b7ff,_0x13f85e){return _0x31b7ff!==_0x13f85e;},'xFnMN':function(_0x5baf22,_0x3f53fd){return _0x5baf22+_0x3f53fd;},'JOpGr':function(_0x1c7282,_0x4c3c39){return _0x1c7282+_0x4c3c39;},'fsLWm':function(_0x2f14e6,_0x300438,_0xccf362){return _0x2f14e6(_0x300438,_0xccf362);},'YXLEL':function(_0x1f7141,_0x3d8936){return _0x1f7141===_0x3d8936;},'HGPKN':function(_0x3affc4,_0x2caedd){return _0x3affc4+_0x2caedd;},'kVysK':function(_0x111733,_0x13e0c2){return _0x111733+_0x13e0c2;},'yRxGw':function(_0x261bfa,_0x549df5,_0x1976f8,_0x46cd0e,_0xdd7c4e){return _0x261bfa(_0x549df5,_0x1976f8,_0x46cd0e,_0xdd7c4e);},'bKOcR':function(_0x2a26f9,_0x2d0046){return _0x2a26f9+_0x2d0046;},'JEPme':function(_0x47d08c,_0x1c0a1d,_0x115cb0,_0x3b702d){return _0x47d08c(_0x1c0a1d,_0x115cb0,_0x3b702d);},'pVexz':function(_0x2698dc,_0x3bcece){return _0x2698dc<=_0x3bcece;},'QqLHO':function(_0x158ecb,_0x16b022){return _0x158ecb/_0x16b022;},'imtTL':function(_0x2d5756,_0x1a6e1d){return _0x2d5756*_0x1a6e1d;},'ytQNJ':function(_0x489b8c,_0x54544a){return _0x489b8c(_0x54544a);},'cEdpH':function(_0x4b4d6f,_0x3a7da1){return _0x4b4d6f+_0x3a7da1;},'bcRTc':function(_0x1b1b88,_0x559294){return _0x1b1b88+_0x559294;},'KOuHF':function(_0x6f8f6d,_0x40ab2f){return _0x6f8f6d-_0x40ab2f;},'rtRpc':function(_0x23e504,_0x630e22,_0x48977c,_0x4f40ae,_0x181e1c,_0x10cd77,_0x3b9390){return _0x23e504(_0x630e22,_0x48977c,_0x4f40ae,_0x181e1c,_0x10cd77,_0x3b9390);},'CKbPr':function(_0x486eec,_0x5d3ef7){return _0x486eec+_0x5d3ef7;}},_0x17cf5a=readFileSync(_0x38b757);let _0x365d71=0x0;const [_0x10606f,_0x35919f]=_0x128b6e[_0x4301ec(0x103)](readId,_0x17cf5a,_0x365d71),[_0x27dc46,_0x530f81]=_0x128b6e['aMXvb'](readVint,_0x17cf5a,_0x365d71+_0x35919f);_0x365d71+=_0x128b6e['HxnLs'](_0x35919f,_0x530f81)+_0x27dc46;const [_0x4c9a1a,_0x5958c2]=readId(_0x17cf5a,_0x365d71);if(_0x128b6e['ZVpgU'](_0x4c9a1a,ID_SEGMENT))return console['error'](_0x4301ec(0xda)),![];const [,_0x261443]=readVint(_0x17cf5a,_0x128b6e[_0x4301ec(0xeb)](_0x365d71,_0x5958c2)),_0x124609=_0x128b6e['JOpGr'](_0x365d71+_0x5958c2,_0x261443);let _0x19c636=_0x124609;const _0x4dadbe=Math['min'](_0x17cf5a['length'],_0x128b6e[_0x4301ec(0x119)](_0x124609,0x2710));let _0xdb3efe=null,_0x53f8e2=null;while(_0x19c636<_0x4dadbe){const [_0x5b6465,_0x107c11]=_0x128b6e[_0x4301ec(0x111)](readId,_0x17cf5a,_0x19c636),[_0x137f6e,_0x326643]=readVint(_0x17cf5a,_0x19c636+_0x107c11);_0x128b6e[_0x4301ec(0xe4)](_0x5b6465,ID_VOID)&&!_0xdb3efe&&(_0xdb3efe={'offset':_0x19c636,'idLen':_0x107c11,'sizeLen':_0x326643,'dataSize':_0x137f6e,'dataOffset':_0x128b6e['HGPKN'](_0x128b6e[_0x4301ec(0xe1)](_0x19c636,_0x107c11),_0x326643)});if(_0x5b6465===ID_INFO){_0x53f8e2={'offset':_0x19c636,'idLen':_0x107c11,'sizeLen':_0x326643,'dataSize':_0x137f6e,'dataOffset':_0x128b6e['xFnMN'](_0x19c636,_0x107c11)+_0x326643};break;}if(_0x5b6465===ID_CLUSTER)break;if(_0x128b6e['rGBxI'](isUnknownSize,_0x137f6e,_0x326643))break;_0x19c636+=_0x107c11+_0x326643+_0x137f6e;}if(!_0x53f8e2)return console['error']('Could\x20not\x20find\x20Info\x20element'),![];const _0x2bbd04=findElement(_0x17cf5a,_0x53f8e2[_0x4301ec(0xf3)],_0x128b6e[_0x4301ec(0xe1)](_0x53f8e2['dataOffset'],_0x53f8e2['dataSize']),ID_DURATION);if(_0x2bbd04)return![];const _0x84dfc4=_0x128b6e[_0x4301ec(0xdc)](findElement,_0x17cf5a,_0x53f8e2['dataOffset'],_0x128b6e['bKOcR'](_0x53f8e2['dataOffset'],_0x53f8e2[_0x4301ec(0xec)]),ID_TIMESTAMP_SCALE);let _0x11cf5f=0xf4240;_0x84dfc4&&(_0x11cf5f=_0x128b6e[_0x4301ec(0xe0)](readUint,_0x17cf5a,_0x84dfc4[_0x4301ec(0xf3)],_0x84dfc4[_0x4301ec(0xec)]));const _0x32054b=computeDurationMs(_0x17cf5a,_0x11cf5f);if(_0x128b6e['pVexz'](_0x32054b,0x0))return console['error']('Could\x20not\x20compute\x20duration'),![];const _0x59a4bb=_0x128b6e['QqLHO'](_0x128b6e['imtTL'](_0x32054b,0xf4240),_0x11cf5f),_0x5a1e45=Buffer['concat']([writeId(ID_DURATION),writeVint(0x8),_0x128b6e[_0x4301ec(0x10d)](writeFloat64,_0x59a4bb)]),_0x47acd8=_0x5a1e45[_0x4301ec(0xf1)];if(!_0xdb3efe||_0xdb3efe['offset']<_0x53f8e2[_0x4301ec(0xdd)]){if(_0xdb3efe){const _0x2348d5=_0x128b6e['cEdpH'](_0x128b6e['bcRTc'](_0xdb3efe[_0x4301ec(0xe5)],_0xdb3efe['sizeLen']),_0xdb3efe['dataSize']),_0x313b8d=_0x128b6e['KOuHF'](_0x2348d5,_0x47acd8);if(_0x313b8d<0x2)return _0x128b6e['rtRpc'](rewriteFile,_0x17cf5a,_0x53f8e2,_0x5a1e45,_0x11cf5f,_0x32054b,_0x15719c);const _0x4206ee=_0x128b6e['CKbPr'](_0x53f8e2['dataSize'],_0x47acd8),_0x44d4ba=Buffer[_0x4301ec(0xff)]([writeId(ID_INFO),writeVint(_0x4206ee,_0x53f8e2['sizeLen'])]),_0x52fcdf=_0x17cf5a['slice'](_0x53f8e2['dataOffset'],_0x53f8e2[_0x4301ec(0xf3)]+_0x53f8e2[_0x4301ec(0xec)]),_0x45e198=writeVoid(_0x313b8d),_0x40666e=_0x17cf5a['slice'](0x0,_0xdb3efe[_0x4301ec(0xdd)]),_0x2fc4b3=_0x17cf5a['slice'](_0x128b6e['HxnLs'](_0x53f8e2['dataOffset'],_0x53f8e2['dataSize']));return writeFileSync(_0x15719c,Buffer[_0x4301ec(0xff)]([_0x40666e,_0x45e198,_0x44d4ba,_0x52fcdf,_0x5a1e45,_0x2fc4b3])),!![];}}return rewriteFile(_0x17cf5a,_0x53f8e2,_0x5a1e45,_0x11cf5f,_0x32054b,_0x15719c);}function rewriteFile(_0x4eb4cd,_0x344714,_0x19bb64,_0x56a61f,_0x2f81d4,_0x6d0dce){const _0x49c665=_0x2473,_0x536792={'hLJml':function(_0x46a178,_0x37ba62){return _0x46a178+_0x37ba62;},'qVLPr':function(_0x180780,_0x3cfa9d){return _0x180780(_0x3cfa9d);}},_0x45b33f=_0x536792[_0x49c665(0x10b)](_0x344714[_0x49c665(0xec)],_0x19bb64['length']),_0xe96a74=Buffer['concat']([_0x536792[_0x49c665(0xdf)](writeId,ID_INFO),_0x536792['qVLPr'](writeVint,_0x45b33f)]),_0xe7f737=_0x536792[_0x49c665(0x10b)](_0x344714['idLen'],_0x344714[_0x49c665(0xe8)]),_0x47ec9f=_0x4eb4cd['slice'](0x0,_0x344714['offset']),_0x3278a5=_0x4eb4cd[_0x49c665(0x10e)](_0x344714['dataOffset'],_0x344714[_0x49c665(0xf3)]+_0x344714[_0x49c665(0xec)]),_0x1a27ab=_0x4eb4cd['slice'](_0x536792['hLJml'](_0x344714[_0x49c665(0xdd)]+_0xe7f737,_0x344714['dataSize']));return writeFileSync(_0x6d0dce,Buffer['concat']([_0x47ec9f,_0xe96a74,_0x3278a5,_0x19bb64,_0x1a27ab])),!![];}if(process[_0x27a57d(0xf5)][0x1]?.[_0x27a57d(0xde)](_0x27a57d(0x115))||process['argv'][0x1]?.['endsWith']('fixWebmDuration.js')){const input=process[_0x27a57d(0xf5)][0x2],output=process[_0x27a57d(0xf5)][0x3];(!input||!output)&&(console['error']('Usage:\x20fixWebmDuration\x20<input.webm>\x20<output.webm>'),process[_0x27a57d(0x101)](0x1));const fixed=fixWebmDuration(input,output);fixed?console['log'](_0x27a57d(0xe9)+output):console[_0x27a57d(0x108)]('File\x20already\x20has\x20duration\x20or\x20could\x20not\x20be\x20fixed.');}
@@ -0,0 +1 @@
1
+ (function(_0x22d030,_0x5d3dfd){const _0x13c178=_0x33cc,_0x5ee21f=_0x22d030();while(!![]){try{const _0x1ec005=parseInt(_0x13c178(0xd1))/0x1+-parseInt(_0x13c178(0xcb))/0x2*(parseInt(_0x13c178(0xd0))/0x3)+parseInt(_0x13c178(0xcd))/0x4*(parseInt(_0x13c178(0xd8))/0x5)+parseInt(_0x13c178(0xce))/0x6*(parseInt(_0x13c178(0xca))/0x7)+-parseInt(_0x13c178(0xd2))/0x8+-parseInt(_0x13c178(0xd6))/0x9*(-parseInt(_0x13c178(0xcf))/0xa)+parseInt(_0x13c178(0xcc))/0xb*(parseInt(_0x13c178(0xd7))/0xc);if(_0x1ec005===_0x5d3dfd)break;else _0x5ee21f['push'](_0x5ee21f['shift']());}catch(_0x5f5c5f){_0x5ee21f['push'](_0x5ee21f['shift']());}}}(_0x3eec,0xcce94));import{execFile as _0x52e4df}from'child_process';import{promisify}from'util';const execFile=promisify(_0x52e4df);export async function isPathGitTracked(_0x5367d5){const _0x179148=_0x33cc,_0x119d32={'QoSWS':_0x179148(0xd4),'lKVRY':'ls-files','cqbkS':_0x179148(0xd3)};try{return await execFile(_0x119d32['QoSWS'],[_0x119d32[_0x179148(0xd5)],_0x119d32['cqbkS'],_0x5367d5],{'cwd':process['cwd']()}),!![];}catch{return![];}}function _0x33cc(_0x1d36ba,_0x8a60){_0x1d36ba=_0x1d36ba-0xca;const _0x3eec15=_0x3eec();let _0x33cc7c=_0x3eec15[_0x1d36ba];return _0x33cc7c;}function _0x3eec(){const _0x37ef40=['git','lKVRY','45iYLDng','11244GQCTfc','1433710mWANSA','7538587eUVCKz','38jnKWOg','7997lfjZVg','4PdFBlK','6SUssHd','214610wJJyFZ','173901IaNOTn','595447cceEzS','6455560vrPxND','--error-unmatch'];_0x3eec=function(){return _0x37ef40;};return _0x3eec();}
@@ -1 +1 @@
1
- const _0x46c28b=_0x3f5f;(function(_0xa9a605,_0x21f447){const _0x463700=_0x3f5f,_0x1ddbbb=_0xa9a605();while(!![]){try{const _0x3b16dc=parseInt(_0x463700(0x1d2))/0x1+-parseInt(_0x463700(0x1de))/0x2+-parseInt(_0x463700(0x208))/0x3+parseInt(_0x463700(0x1f4))/0x4*(parseInt(_0x463700(0x1c9))/0x5)+-parseInt(_0x463700(0x205))/0x6*(parseInt(_0x463700(0x1cc))/0x7)+parseInt(_0x463700(0x1e4))/0x8*(-parseInt(_0x463700(0x1f2))/0x9)+-parseInt(_0x463700(0x1ff))/0xa*(-parseInt(_0x463700(0x1ef))/0xb);if(_0x3b16dc===_0x21f447)break;else _0x1ddbbb['push'](_0x1ddbbb['shift']());}catch(_0x4b11ff){_0x1ddbbb['push'](_0x1ddbbb['shift']());}}}(_0x4060,0xba0a3));const _0x5af04c=(function(){let _0x15134a=!![];return function(_0x1679c7,_0x5d98ec){const _0x5c1f4d=_0x15134a?function(){const _0x4511cb=_0x3f5f;if(_0x5d98ec){const _0xce850e=_0x5d98ec[_0x4511cb(0x1ca)](_0x1679c7,arguments);return _0x5d98ec=null,_0xce850e;}}:function(){};return _0x15134a=![],_0x5c1f4d;};}()),_0x4ab59f=_0x5af04c(this,function(){const _0x3157fd=_0x3f5f,_0xc289cc={'jdkfb':_0x3157fd(0x1db)};return _0x4ab59f[_0x3157fd(0x201)]()[_0x3157fd(0x1d3)](_0xc289cc['jdkfb'])[_0x3157fd(0x201)]()[_0x3157fd(0x1e8)](_0x4ab59f)[_0x3157fd(0x1d3)](_0xc289cc[_0x3157fd(0x1d4)]);});_0x4ab59f();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x46c28b(0x1fa),ENV_TOKEN_LEGACY=_0x46c28b(0x1e9),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x46c28b(0x1d7)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,'refresh.txt');function isGitHubCI(){const _0x336560=_0x46c28b;return!!process['env'][_0x336560(0x1c7)];}async function writeToGitHubEnv(_0x3e3180,_0x5e3f51){const _0x43e35c=_0x46c28b,_0x261801={'VWQLU':function(_0x2aed89,_0x79a3c,_0x3e7e10){return _0x2aed89(_0x79a3c,_0x3e7e10);}},_0x4000b5=process[_0x43e35c(0x203)][_0x43e35c(0x1c7)];_0x4000b5&&await _0x261801[_0x43e35c(0x1cd)](appendFile,_0x4000b5,_0x3e3180+'='+_0x5e3f51+'\x0a');}export async function storeToken(_0x454f6a){const _0x2efe3c=_0x46c28b,_0x4fca3d={'ZhCyW':function(_0x190b99,_0x33e5a9,_0x4acb22){return _0x190b99(_0x33e5a9,_0x4acb22);},'wZqAM':function(_0x478fa3,_0x57b4c2,_0x10e965,_0x445147){return _0x478fa3(_0x57b4c2,_0x10e965,_0x445147);}};isGitHubCI()?await _0x4fca3d[_0x2efe3c(0x1ee)](writeToGitHubEnv,ENV_TOKEN,_0x454f6a):(await _0x4fca3d[_0x2efe3c(0x1ee)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x4fca3d[_0x2efe3c(0x1e2)](writeFile,TOKEN_PATH,_0x454f6a,{'mode':0x180}));}export async function getToken(){const _0x58b3e6=_0x46c28b,_0x24144b={'wcYMS':_0x58b3e6(0x1db),'iyttw':function(_0x18b2ed,_0x306d52){return _0x18b2ed instanceof _0x306d52;},'LceAR':function(_0x2d97b9,_0x52366b){return _0x2d97b9(_0x52366b);},'zWOGk':function(_0x3a4d36,_0x35100a){return _0x3a4d36+_0x35100a;},'qiant':_0x58b3e6(0x1dd),'gagsH':function(_0x43f8d2,_0x2cba32){return _0x43f8d2!==_0x2cba32;},'CFoPR':_0x58b3e6(0x1d6),'TtOBH':_0x58b3e6(0x204),'WTFOr':function(_0x53b2db,_0x58c883,_0x18120a){return _0x53b2db(_0x58c883,_0x18120a);},'WyaBc':'utf-8','ahmeP':function(_0x5d9748,_0x39d8f0){return _0x5d9748(_0x39d8f0);},'qOmdw':function(_0x114efe,_0x4ad6c5){return _0x114efe(_0x4ad6c5);},'UiPJG':'../mcpBootstrap.js','OekGn':function(_0xfa0eb0){return _0xfa0eb0();},'aCUTS':_0x58b3e6(0x1dc),'FsNyT':'Session\x20expired.\x20Re-authenticating\x20via\x20MCP\x20bootstrap...','wxfsG':_0x58b3e6(0x1e3)};if(process['env'][ENV_TOKEN])return _0x24144b['gagsH'](_0x24144b[_0x58b3e6(0x1ed)],'Lljqi')?process[_0x58b3e6(0x203)][ENV_TOKEN]:_0x34934c[_0x58b3e6(0x201)]()['search'](kkWtBN[_0x58b3e6(0x1c4)])[_0x58b3e6(0x201)]()[_0x58b3e6(0x1e8)](_0xfa9944)[_0x58b3e6(0x1d3)](kkWtBN[_0x58b3e6(0x1c4)]);if(process[_0x58b3e6(0x203)][ENV_TOKEN_LEGACY])return process[_0x58b3e6(0x203)][ENV_TOKEN_LEGACY];let _0x1511c3=null;try{if(_0x24144b[_0x58b3e6(0x1c8)](_0x58b3e6(0x1f6),_0x24144b[_0x58b3e6(0x1d1)]))_0x1511c3=(await _0x24144b['WTFOr'](readFile,TOKEN_PATH,_0x24144b[_0x58b3e6(0x206)]))[_0x58b3e6(0x1c5)]()||null;else return![];}catch{const _0xe64113=await tryRefreshToken();return _0xe64113;}if(!_0x1511c3)return null;const _0x1fb78d=await _0x24144b[_0x58b3e6(0x1e0)](checkTokenValid,_0x1511c3);if(_0x1fb78d)return _0x1511c3;const _0x4fc9fd=await _0x24144b['qOmdw'](tryPromoteRefreshToken,_0x1511c3);if(_0x4fc9fd)return _0x4fc9fd;const _0x9f9c54=await tryRefreshToken();if(_0x9f9c54)return _0x9f9c54;const {getMcpAuthOrigin:_0x5fba92,mcpBootstrap:_0x2b9b90}=await import(_0x24144b[_0x58b3e6(0x1f1)]),_0x21eefc=await _0x24144b['OekGn'](_0x5fba92);if(_0x21eefc)try{if(_0x24144b['aCUTS']!==_0x24144b[_0x58b3e6(0x1e6)]){const _0x508a6d=_0xec886f[_0x58b3e6(0x1ca)](_0x2e125c,arguments);return _0xb0e407=null,_0x508a6d;}else{console[_0x58b3e6(0x1cf)](_0x24144b[_0x58b3e6(0x1c0)]),await _0x24144b['OekGn'](_0x2b9b90);const _0x31d413=await tryRefreshToken();if(_0x31d413)return _0x31d413;}}catch(_0x5e98b4){if(_0x24144b['wxfsG']===_0x24144b[_0x58b3e6(0x1f9)]){const _0x199e10=_0x5e98b4 instanceof Error?_0x5e98b4[_0x58b3e6(0x200)]:String(_0x5e98b4);throw new Error(_0x24144b['zWOGk'](_0x58b3e6(0x1f0)+_0x199e10+'\x0a',_0x58b3e6(0x1dd)));}else{const _0x12419d=_0x24144b['iyttw'](_0x37d272,_0x291294)?_0x427867['message']:_0x24144b[_0x58b3e6(0x1fb)](_0x12839a,_0x23e7a4);throw new _0x3b78e3(_0x24144b[_0x58b3e6(0x1da)](_0x58b3e6(0x1f0)+_0x12419d+'\x0a',_0x24144b[_0x58b3e6(0x1bf)]));}}throw new Error(_0x58b3e6(0x1f7));}function _0x3f5f(_0xcb4388,_0xb3d2da){_0xcb4388=_0xcb4388-0x1bf;const _0x1f3ff6=_0x4060();let _0x4ab59f=_0x1f3ff6[_0xcb4388];if(_0x3f5f['mVJKqA']===undefined){var _0x5af04c=function(_0x481925){const _0x3a8a25='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5caa7c='',_0x3b885e='',_0x338dce=_0x5caa7c+_0x5af04c;for(let _0x52ef98=0x0,_0x25ed1b,_0x5a140a,_0x1b1528=0x0;_0x5a140a=_0x481925['charAt'](_0x1b1528++);~_0x5a140a&&(_0x25ed1b=_0x52ef98%0x4?_0x25ed1b*0x40+_0x5a140a:_0x5a140a,_0x52ef98++%0x4)?_0x5caa7c+=_0x338dce['charCodeAt'](_0x1b1528+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x25ed1b>>(-0x2*_0x52ef98&0x6)):_0x52ef98:0x0){_0x5a140a=_0x3a8a25['indexOf'](_0x5a140a);}for(let _0x494556=0x0,_0x1627af=_0x5caa7c['length'];_0x494556<_0x1627af;_0x494556++){_0x3b885e+='%'+('00'+_0x5caa7c['charCodeAt'](_0x494556)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3b885e);};_0x3f5f['rODJKA']=_0x5af04c,_0x3f5f['mqlOLh']={},_0x3f5f['mVJKqA']=!![];}const _0x406086=_0x1f3ff6[0x0],_0x3f5f7e=_0xcb4388+_0x406086,_0x59a561=_0x3f5f['mqlOLh'][_0x3f5f7e];if(!_0x59a561){const _0x489b4f=function(_0x3a929e){this['FDiEBF']=_0x3a929e,this['CfVyPo']=[0x1,0x0,0x0],this['HjRCdD']=function(){return'newState';},this['JCwqal']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['UzYWuI']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x489b4f['prototype']['OaJavm']=function(){const _0x1d12e4=new RegExp(this['JCwqal']+this['UzYWuI']),_0x35f40c=_0x1d12e4['test'](this['HjRCdD']['toString']())?--this['CfVyPo'][0x1]:--this['CfVyPo'][0x0];return this['rlPTBQ'](_0x35f40c);},_0x489b4f['prototype']['rlPTBQ']=function(_0x3dcb16){if(!Boolean(~_0x3dcb16))return _0x3dcb16;return this['WvDRuw'](this['FDiEBF']);},_0x489b4f['prototype']['WvDRuw']=function(_0x45e671){for(let _0x2de22f=0x0,_0x2c1d31=this['CfVyPo']['length'];_0x2de22f<_0x2c1d31;_0x2de22f++){this['CfVyPo']['push'](Math['round'](Math['random']())),_0x2c1d31=this['CfVyPo']['length'];}return _0x45e671(this['CfVyPo'][0x0]);},new _0x489b4f(_0x3f5f)['OaJavm'](),_0x4ab59f=_0x3f5f['rODJKA'](_0x4ab59f),_0x3f5f['mqlOLh'][_0x3f5f7e]=_0x4ab59f;}else _0x4ab59f=_0x59a561;return _0x4ab59f;}async function checkTokenValid(_0x516081){const _0x57654b=_0x46c28b,_0x23eab7={'CHQLN':function(_0xac0009,_0xea115e,_0x166373){return _0xac0009(_0xea115e,_0x166373);},'CPSCR':function(_0x46892f,_0x1a3380){return _0x46892f!==_0x1a3380;},'MzXDN':_0x57654b(0x1f5),'UjUwy':_0x57654b(0x1eb),'ZdrMQ':function(_0x3fc28b,_0x2e0860){return _0x3fc28b(_0x2e0860);}},_0x407df8=new AbortController(),_0x96bda2=_0x23eab7['CHQLN'](setTimeout,()=>_0x407df8[_0x57654b(0x1e1)](),0x1388);try{if(_0x23eab7[_0x57654b(0x1ec)](_0x23eab7[_0x57654b(0x1c2)],_0x57654b(0x1f5)))return _0x339571[_0x57654b(0x203)][_0x2ca983];else{const {getApiBaseUrl:_0x34cb59}=await import(_0x23eab7[_0x57654b(0x1f3)]),_0x284101=_0x34cb59(),_0x47f05c=await fetch(_0x284101+'/api/v1/mcp/me',{'method':_0x57654b(0x1df),'headers':{'Authorization':_0x57654b(0x1ce)+_0x516081},'signal':_0x407df8[_0x57654b(0x207)]});return _0x47f05c['ok'];}}catch{return!![];}finally{_0x23eab7[_0x57654b(0x1fc)](clearTimeout,_0x96bda2);}}async function tryRefreshToken(){const _0x370f7c=_0x46c28b,_0x570dc7={'vtQeN':_0x370f7c(0x1f8),'Chjqn':function(_0x4cfa11){return _0x4cfa11();}},{refreshCliToken:_0x532de7}=await import(_0x570dc7[_0x370f7c(0x1fe)]);return _0x570dc7[_0x370f7c(0x1cb)](_0x532de7);}async function tryPromoteRefreshToken(_0x3149ac){const _0x5cbd8b=_0x46c28b,_0x2192c8={'aWTsz':_0x5cbd8b(0x1f8)},{refreshPartnerCliToken:_0x2a34e4}=await import(_0x2192c8[_0x5cbd8b(0x1e7)]);return _0x2a34e4(_0x3149ac,{'persistRefreshToken':!![]});}export async function deleteToken(){const _0x7013e7=_0x46c28b,_0x12230d={'KRIYX':function(_0x5988d5,_0x3cfdbe){return _0x5988d5(_0x3cfdbe);}};try{return await _0x12230d[_0x7013e7(0x1c1)](unlink,TOKEN_PATH),!![];}catch{return![];}}export async function storeRefreshToken(_0x229fca){const _0x18881c={'wRMki':function(_0x3864d7,_0x24b2ea,_0x4a1330){return _0x3864d7(_0x24b2ea,_0x4a1330);},'kofCe':function(_0x49e97f,_0x4f39dd,_0x330003,_0x1a27f4){return _0x49e97f(_0x4f39dd,_0x330003,_0x1a27f4);}};await _0x18881c['wRMki'](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x18881c['kofCe'](writeFile,REFRESH_TOKEN_PATH,_0x229fca,{'mode':0x180});}export async function getRefreshToken(){const _0x25d523=_0x46c28b,_0x35c794={'AripC':_0x25d523(0x202),'eTzUG':function(_0xa7bab7,_0x14fb6b){return _0xa7bab7!==_0x14fb6b;},'TmMnt':_0x25d523(0x1ea)};try{const _0x5d52e7=await readFile(REFRESH_TOKEN_PATH,_0x35c794[_0x25d523(0x1fd)]);return _0x5d52e7['trim']()||null;}catch{if(_0x35c794['eTzUG'](_0x25d523(0x1ea),_0x35c794[_0x25d523(0x1d9)]))_0x34ed34(_0x425742);else return null;}}export async function deleteRefreshToken(){const _0x4f3709=_0x46c28b,_0x40ff04={'cFBYe':function(_0x51782b,_0x40cf5f){return _0x51782b(_0x40cf5f);},'FMwfR':function(_0x4f7b20,_0x5161a2){return _0x4f7b20!==_0x5161a2;},'QZnVX':_0x4f3709(0x1d0),'lwzpV':_0x4f3709(0x1d8)};try{return await _0x40ff04[_0x4f3709(0x1c6)](unlink,REFRESH_TOKEN_PATH),!![];}catch{if(_0x40ff04[_0x4f3709(0x1c3)](_0x40ff04['QZnVX'],_0x40ff04[_0x4f3709(0x1e5)]))return![];else{const _0x573201=_0x489b4f?function(){const _0x482238=_0x4f3709;if(_0x2de22f){const _0x1e08e0=_0x2142f5[_0x482238(0x1ca)](_0x401e11,arguments);return _0x7077f0=null,_0x1e08e0;}}:function(){};return _0x45e671=![],_0x573201;}}}export async function deleteAllCredentials(){const _0x5d45c6=_0x46c28b,_0x3d60b1={'aQYmU':function(_0x182b5b){return _0x182b5b();}};await _0x3d60b1[_0x5d45c6(0x1d5)](deleteToken),await deleteRefreshToken();}function _0x4060(){const _0x143f26=['y2XPlNr4Da','sxvkDfm','vg1nBNq','ELDpr2S','kcGOlISPkYKRksSK','uhr4BLK','uMuTyxv0Ag9YAxPLihrOzsbsyw5NzxiGtunqignVBM5Ly3rPB24SihrOzw4GCMv0CNKU','mtyXmdrnrfrqELi','r0vu','ywHTzva','ywjVCNq','D1PXqu0','u0DfD2i','mti4CLPVwKzp','BhD6Cfy','yunvvfm','yvDuC3O','y29UC3rYDwn0B3i','uKfor0vsx01duf9ut0TftG','zMrNsuq','lI9LBNzPCM9UBwvUDc5QCW','q1btq1i','q0zVufi','wMHdEvC','ntaZmZi3r3zvqw5g','tunqihjLlwf1DgHLBNrPy2f0Aw9UigzHAwXLzdOG','vwLqsKC','ndu2mJe5uMLxr2zR','vwPvD3K','nfzXB25lqq','DKPnChm','EwTituW','ww91CIbZzxnZAw9UigHHCYbLEhbPCMvKlIbqBgvHC2uGCNvUigbYyw5NzxiGBg9NAw5GihrVihjLlwf1DgHLBNrPy2f0zs4','lI90B2TLBLjLzNjLC2GUANm','D3HMC0C','uKfor0vsx0nmsv9ut0TftG','tgnLqvi','wMrYtve','qxjPCem','DNrrzu4','mZKWsxPsCwXH','BwvZC2fNzq','Dg9tDhjPBMC','DxrMltG','zw52','ENLPuKG','mty0ngTnEMvlAG','v3LHqMm','C2LNBMfS','mJiXmZKYmMXbD3nvsa','CwLHBNq','rNnoEvq','s1jjwvG','txPyre4','rK13zLi','D2nztvm','DhjPBq','y0zcwwu','r0Lusfvcx0vovG','z2fNC0G','nJu1mZe2nu14svnYvq','yxbWBhK','q2HQCw4','mJKYmZLeDNLxq20','vLDrtfu','qMvHCMvYia','Bg9N','DM5uEuO','vhrpqKG','mZy4ndqZre55z3rV','C2vHCMnO','AMrRzMi','yvfzBvu','yvHoEfm'];_0x4060=function(){return _0x143f26;};return _0x4060();}
1
+ const _0x1a1bf1=_0x272e;(function(_0x14c6f0,_0x5778a9){const _0x4ece96=_0x272e,_0x175db5=_0x14c6f0();while(!![]){try{const _0x541e1f=parseInt(_0x4ece96(0x187))/0x1+parseInt(_0x4ece96(0x15d))/0x2*(parseInt(_0x4ece96(0x138))/0x3)+-parseInt(_0x4ece96(0x160))/0x4+parseInt(_0x4ece96(0x153))/0x5*(parseInt(_0x4ece96(0x16e))/0x6)+-parseInt(_0x4ece96(0x14f))/0x7+parseInt(_0x4ece96(0x13e))/0x8*(-parseInt(_0x4ece96(0x175))/0x9)+parseInt(_0x4ece96(0x16b))/0xa*(-parseInt(_0x4ece96(0x149))/0xb);if(_0x541e1f===_0x5778a9)break;else _0x175db5['push'](_0x175db5['shift']());}catch(_0x1b0ddf){_0x175db5['push'](_0x175db5['shift']());}}}(_0x1d01,0x7a302));const _0x1d59e1=(function(){const _0x3e9470=_0x272e,_0x442cd7={'EJKen':function(_0xe101da,_0x4c8bc1){return _0xe101da!==_0x4c8bc1;},'TXdgN':_0x3e9470(0x17f),'GySWt':_0x3e9470(0x13b),'NWPjB':_0x3e9470(0x184),'EBTnw':function(_0x50e5b0,_0x3db4a9){return _0x50e5b0(_0x3db4a9);},'KnGlx':function(_0x53b6f5,_0x404360){return _0x53b6f5===_0x404360;},'UConC':_0x3e9470(0x151)};let _0x2ea9b9=!![];return function(_0x4b135f,_0x1ac5a7){const _0x9722d3=_0x3e9470,_0x116b3a={'RXHna':function(_0x17112b,_0x19d41f){const _0x278589=_0x272e;return _0x442cd7[_0x278589(0x17a)](_0x17112b,_0x19d41f);}};if(_0x442cd7[_0x9722d3(0x16d)](_0x9722d3(0x151),_0x442cd7[_0x9722d3(0x14e)])){const _0x13a9cc=_0x2ea9b9?function(){const _0x40b8fe=_0x9722d3;if(_0x442cd7['EJKen'](_0x442cd7[_0x40b8fe(0x162)],_0x442cd7['GySWt'])){if(_0x1ac5a7){if(_0x40b8fe(0x177)!==_0x442cd7[_0x40b8fe(0x13d)]){const _0x98f79=_0x1ac5a7[_0x40b8fe(0x16f)](_0x4b135f,arguments);return _0x1ac5a7=null,_0x98f79;}else return _0x5e7257['env'][_0x3064e3];}}else _0x116b3a[_0x40b8fe(0x148)](_0xe36832,_0xaf95ac);}:function(){};return _0x2ea9b9=![],_0x13a9cc;}else return!![];};}()),_0x29dc16=_0x1d59e1(this,function(){const _0x4e4db1=_0x272e,_0x2bf8c={'rPAAJ':_0x4e4db1(0x154)};return _0x29dc16['toString']()[_0x4e4db1(0x14c)](_0x2bf8c[_0x4e4db1(0x164)])['toString']()['constructor'](_0x29dc16)[_0x4e4db1(0x14c)](_0x2bf8c[_0x4e4db1(0x164)]);});_0x29dc16();import{appendFile,readFile,writeFile,mkdir,unlink}from'fs/promises';import{join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const ENV_TOKEN=_0x1a1bf1(0x172),ENV_TOKEN_LEGACY=_0x1a1bf1(0x13a),TOKEN_DIR=getRangerHomeDir(),TOKEN_PATH=join(TOKEN_DIR,_0x1a1bf1(0x15e)),REFRESH_TOKEN_PATH=join(TOKEN_DIR,_0x1a1bf1(0x18b));function isGitHubCI(){const _0x9b81a=_0x1a1bf1;return!!process['env'][_0x9b81a(0x15c)];}async function writeToGitHubEnv(_0x2f126c,_0x2153e7){const _0x3fec43=process['env']['GITHUB_ENV'];_0x3fec43&&await appendFile(_0x3fec43,_0x2f126c+'='+_0x2153e7+'\x0a');}export async function storeToken(_0x5d952f){const _0x5a8fcf=_0x1a1bf1,_0x54a69c={'SQkbv':function(_0x3c552d,_0x3c8a93){return _0x3c552d!==_0x3c8a93;},'PJKKg':_0x5a8fcf(0x190),'zjCxJ':function(_0xf18cac,_0xbecff8,_0x3485f2){return _0xf18cac(_0xbecff8,_0x3485f2);},'ZZVGx':function(_0x5d30db,_0x34baed,_0x51a716,_0x45d020){return _0x5d30db(_0x34baed,_0x51a716,_0x45d020);}};if(isGitHubCI()){if(_0x54a69c[_0x5a8fcf(0x185)](_0x54a69c['PJKKg'],_0x54a69c[_0x5a8fcf(0x179)])){const _0x435cda=_0x5c71c8?function(){const _0x8cd16b=_0x5a8fcf;if(_0x1afc0c){const _0x17e992=_0x2da7fc[_0x8cd16b(0x16f)](_0xeb50e6,arguments);return _0x20eddf=null,_0x17e992;}}:function(){};return _0x36f9d6=![],_0x435cda;}else await _0x54a69c[_0x5a8fcf(0x189)](writeToGitHubEnv,ENV_TOKEN,_0x5d952f);}else await mkdir(TOKEN_DIR,{'recursive':!![]}),await _0x54a69c['ZZVGx'](writeFile,TOKEN_PATH,_0x5d952f,{'mode':0x180});}export async function getToken(){const _0x440002=_0x1a1bf1,_0x52baca={'eMkmk':function(_0x3af58d,_0x8b9ecb){return _0x3af58d===_0x8b9ecb;},'bUhbT':'watco','tkXzN':function(_0x12547a,_0x1f82b8,_0x37990a){return _0x12547a(_0x1f82b8,_0x37990a);},'MCSYO':'utf-8','RudMN':function(_0xa777b5){return _0xa777b5();},'gFrlM':function(_0x54a388,_0x4e9a57){return _0x54a388(_0x4e9a57);},'NsHxn':function(_0x314614){return _0x314614();},'rTyCR':_0x440002(0x135),'HLUVg':'Session\x20expired.\x20Re-authenticating\x20via\x20MCP\x20bootstrap...','eaxki':function(_0x32f791){return _0x32f791();},'TkKxI':function(_0x16355b){return _0x16355b();},'LwNuT':function(_0x27c202,_0x1e8d6a){return _0x27c202 instanceof _0x1e8d6a;},'cQnku':function(_0x20cda4,_0x51a839){return _0x20cda4+_0x51a839;},'RhyFz':_0x440002(0x16a),'uEmFw':_0x440002(0x14a)};if(process[_0x440002(0x146)][ENV_TOKEN])return process['env'][ENV_TOKEN];if(process[_0x440002(0x146)][ENV_TOKEN_LEGACY])return process[_0x440002(0x146)][ENV_TOKEN_LEGACY];let _0x411e7e=null;try{if(_0x52baca[_0x440002(0x150)](_0x440002(0x142),_0x52baca[_0x440002(0x18c)])){if(_0xdca497){const _0x379f71=_0x90fba0[_0x440002(0x16f)](_0x35fb0c,arguments);return _0x1cbf58=null,_0x379f71;}}else _0x411e7e=(await _0x52baca[_0x440002(0x140)](readFile,TOKEN_PATH,_0x52baca[_0x440002(0x14b)]))[_0x440002(0x13f)]()||null;}catch{const _0x1352df=await _0x52baca[_0x440002(0x182)](tryRefreshToken);return _0x1352df;}if(!_0x411e7e)return null;const _0x5f2f91=await _0x52baca['gFrlM'](checkTokenValid,_0x411e7e);if(_0x5f2f91)return _0x411e7e;const _0x36c4bf=await tryPromoteRefreshToken(_0x411e7e);if(_0x36c4bf)return _0x36c4bf;const _0x14dde3=await _0x52baca[_0x440002(0x182)](tryRefreshToken);if(_0x14dde3)return _0x14dde3;const {getMcpAuthOrigin:_0x481bbf,mcpBootstrap:_0x4f4983}=await import(_0x440002(0x183)),_0x5dcf09=await _0x52baca[_0x440002(0x17b)](_0x481bbf);if(_0x5dcf09)try{if(_0x440002(0x135)!==_0x52baca[_0x440002(0x16c)])return!!_0xf0b35b[_0x440002(0x146)]['GITHUB_ENV'];else{console[_0x440002(0x169)](_0x52baca[_0x440002(0x176)]),await _0x52baca['eaxki'](_0x4f4983);const _0x3b1bdb=await _0x52baca[_0x440002(0x134)](tryRefreshToken);if(_0x3b1bdb)return _0x3b1bdb;}}catch(_0xeb14a4){const _0x4df8b5=_0x52baca[_0x440002(0x15b)](_0xeb14a4,Error)?_0xeb14a4[_0x440002(0x171)]:String(_0xeb14a4);throw new Error(_0x52baca[_0x440002(0x137)](_0x440002(0x166)+_0x4df8b5+'\x0a',_0x52baca[_0x440002(0x17c)]));}throw new Error(_0x52baca[_0x440002(0x161)]);}async function checkTokenValid(_0x13bb5c){const _0x7b66af=_0x1a1bf1,_0x3dcb2c={'glhJl':function(_0x3180b8,_0x529500,_0x791b4b){return _0x3180b8(_0x529500,_0x791b4b);},'zyfQe':function(_0x5dd948,_0x5635df){return _0x5dd948===_0x5635df;},'vfZRl':_0x7b66af(0x155),'JHMZV':function(_0x3ec8db){return _0x3ec8db();},'bLZrs':_0x7b66af(0x147),'BzzLY':'QaNNZ','AjPnm':function(_0x50ec9a,_0x28bf1a){return _0x50ec9a(_0x28bf1a);}},_0x7f4054=new AbortController(),_0x25e86f=_0x3dcb2c[_0x7b66af(0x167)](setTimeout,()=>_0x7f4054[_0x7b66af(0x18f)](),0x1388);try{if(_0x3dcb2c[_0x7b66af(0x18d)](_0x3dcb2c['vfZRl'],_0x3dcb2c[_0x7b66af(0x13c)])){const {getApiBaseUrl:_0x49b0c9}=await import(_0x7b66af(0x170)),_0x361fbd=_0x3dcb2c['JHMZV'](_0x49b0c9),_0x1f9f65=await _0x3dcb2c[_0x7b66af(0x167)](fetch,_0x361fbd+_0x7b66af(0x181),{'method':_0x3dcb2c[_0x7b66af(0x165)],'headers':{'Authorization':_0x7b66af(0x163)+_0x13bb5c},'signal':_0x7f4054['signal']});return _0x1f9f65['ok'];}else return null;}catch{return _0x3dcb2c['BzzLY']===_0x7b66af(0x178)?![]:!![];}finally{_0x3dcb2c['AjPnm'](clearTimeout,_0x25e86f);}}async function tryRefreshToken(){const _0x39e25e=_0x1a1bf1,_0x550fc4={'mirVy':_0x39e25e(0x174),'hqIka':function(_0x2ec932){return _0x2ec932();}},{refreshCliToken:_0x519ca7}=await import(_0x550fc4[_0x39e25e(0x145)]);return _0x550fc4['hqIka'](_0x519ca7);}async function tryPromoteRefreshToken(_0x5716e2){const _0x1c1e0e=_0x1a1bf1,_0xca0b64={'cndev':'./tokenRefresh.js','NbCIJ':function(_0x156e39,_0x210785,_0x2f323e){return _0x156e39(_0x210785,_0x2f323e);}},{refreshPartnerCliToken:_0xddba61}=await import(_0xca0b64['cndev']);return _0xca0b64[_0x1c1e0e(0x157)](_0xddba61,_0x5716e2,{'persistRefreshToken':!![]});}function _0x272e(_0x51b3df,_0x56a6c2){_0x51b3df=_0x51b3df-0x134;const _0x527caa=_0x1d01();let _0x29dc16=_0x527caa[_0x51b3df];if(_0x272e['yvkANU']===undefined){var _0x1d59e1=function(_0x581257){const _0x290430='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50cd9b='',_0x47bf47='',_0x562378=_0x50cd9b+_0x1d59e1;for(let _0x502eb0=0x0,_0x526e9a,_0x3b8a95,_0x5c351f=0x0;_0x3b8a95=_0x581257['charAt'](_0x5c351f++);~_0x3b8a95&&(_0x526e9a=_0x502eb0%0x4?_0x526e9a*0x40+_0x3b8a95:_0x3b8a95,_0x502eb0++%0x4)?_0x50cd9b+=_0x562378['charCodeAt'](_0x5c351f+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x526e9a>>(-0x2*_0x502eb0&0x6)):_0x502eb0:0x0){_0x3b8a95=_0x290430['indexOf'](_0x3b8a95);}for(let _0x39ce1d=0x0,_0x120ae0=_0x50cd9b['length'];_0x39ce1d<_0x120ae0;_0x39ce1d++){_0x47bf47+='%'+('00'+_0x50cd9b['charCodeAt'](_0x39ce1d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x47bf47);};_0x272e['iXjtUQ']=_0x1d59e1,_0x272e['RPPpxT']={},_0x272e['yvkANU']=!![];}const _0x1d01a6=_0x527caa[0x0],_0x272ee1=_0x51b3df+_0x1d01a6,_0x1192cc=_0x272e['RPPpxT'][_0x272ee1];if(!_0x1192cc){const _0x5c71c8=function(_0x53b4a9){this['FPPvmi']=_0x53b4a9,this['nSmNbD']=[0x1,0x0,0x0],this['SWIOOo']=function(){return'newState';},this['KsmCZa']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eCIhxR']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5c71c8['prototype']['lxzcKt']=function(){const _0x369a96=new RegExp(this['KsmCZa']+this['eCIhxR']),_0x322610=_0x369a96['test'](this['SWIOOo']['toString']())?--this['nSmNbD'][0x1]:--this['nSmNbD'][0x0];return this['HWphpP'](_0x322610);},_0x5c71c8['prototype']['HWphpP']=function(_0x59b6b5){if(!Boolean(~_0x59b6b5))return _0x59b6b5;return this['MKvWPs'](this['FPPvmi']);},_0x5c71c8['prototype']['MKvWPs']=function(_0x36f9d6){for(let _0x1afc0c=0x0,_0x2e4cec=this['nSmNbD']['length'];_0x1afc0c<_0x2e4cec;_0x1afc0c++){this['nSmNbD']['push'](Math['round'](Math['random']())),_0x2e4cec=this['nSmNbD']['length'];}return _0x36f9d6(this['nSmNbD'][0x0]);},new _0x5c71c8(_0x272e)['lxzcKt'](),_0x29dc16=_0x272e['iXjtUQ'](_0x29dc16),_0x272e['RPPpxT'][_0x272ee1]=_0x29dc16;}else _0x29dc16=_0x1192cc;return _0x29dc16;}export async function deleteToken(){const _0x433575=_0x1a1bf1,_0x565c6d={'Jxeme':_0x433575(0x14d),'aJiuM':function(_0x2479b6,_0x19b54b){return _0x2479b6(_0x19b54b);}};try{if(_0x433575(0x14d)===_0x565c6d[_0x433575(0x17d)])return await _0x565c6d[_0x433575(0x15a)](unlink,TOKEN_PATH),!![];else{const _0x380436=_0x25afa8[_0x433575(0x16f)](_0x476ac8,arguments);return _0x4f3e2e=null,_0x380436;}}catch{return![];}}export async function storeRefreshToken(_0x109da2){const _0x53e8d9=_0x1a1bf1,_0x5c7747={'bxuUM':function(_0xe7698b,_0x566b68,_0xb04e1d){return _0xe7698b(_0x566b68,_0xb04e1d);},'MuDDU':function(_0x313925,_0x4d93c3,_0x281e84,_0xfbae59){return _0x313925(_0x4d93c3,_0x281e84,_0xfbae59);}};await _0x5c7747[_0x53e8d9(0x159)](mkdir,TOKEN_DIR,{'recursive':!![]}),await _0x5c7747[_0x53e8d9(0x180)](writeFile,REFRESH_TOKEN_PATH,_0x109da2,{'mode':0x180});}export async function getRefreshToken(){const _0x352e87=_0x1a1bf1,_0x14266b={'SeCqT':_0x352e87(0x152),'fONic':function(_0x2b84ea,_0x488432,_0x2eade6){return _0x2b84ea(_0x488432,_0x2eade6);},'UyBBy':_0x352e87(0x18a),'iiZqT':function(_0x15ea24,_0x38cd53){return _0x15ea24!==_0x38cd53;},'BppEP':_0x352e87(0x141)};try{if(_0x14266b[_0x352e87(0x158)]!==_0x14266b['SeCqT'])return![];else{const _0x35fc1f=await _0x14266b[_0x352e87(0x136)](readFile,REFRESH_TOKEN_PATH,_0x14266b[_0x352e87(0x156)]);return _0x35fc1f[_0x352e87(0x13f)]()||null;}}catch{return _0x14266b[_0x352e87(0x144)](_0x14266b[_0x352e87(0x168)],_0x14266b[_0x352e87(0x168)])?_0x4d6de2[_0x352e87(0x146)][_0x5aec5a]:null;}}export async function deleteRefreshToken(){const _0x5a62f1=_0x1a1bf1,_0x59e8c4={'JxUMQ':_0x5a62f1(0x154),'bwQIb':function(_0x4616b2,_0x52c5ed){return _0x4616b2!==_0x52c5ed;},'pbDRg':_0x5a62f1(0x143),'lOPGT':function(_0x5950f3,_0x5a47fe){return _0x5950f3(_0x5a47fe);}};try{return _0x59e8c4[_0x5a62f1(0x18e)](_0x5a62f1(0x186),_0x59e8c4[_0x5a62f1(0x15f)])?(await _0x59e8c4[_0x5a62f1(0x188)](unlink,REFRESH_TOKEN_PATH),!![]):_0x162f0b[_0x5a62f1(0x173)]()[_0x5a62f1(0x14c)](_0x5a62f1(0x154))[_0x5a62f1(0x173)]()['constructor'](_0xd378b1)[_0x5a62f1(0x14c)](ePcycI[_0x5a62f1(0x17e)]);}catch{return![];}}function _0x1d01(){const _0x282509=['lI90B2TLBLjLzNjLC2GUANm','mtqXm0nKtLPxCG','seXvvMC','yunwsLm','u25TwNK','uePls2C','rujuBNC','tNniEg4','uMH5rNO','sNHLBwu','sNHvtve','sKPouK8','txverfu','l2fWAs92ms9Ty3aVBwu','uNvKtu4','lI4VBwnWqM9VDhn0CMfWlMPZ','s3DzzLy','u1fRyNy','CefYCwq','odq4mJe0rMvwsLPs','Be9qr1q','EMPdEeO','DxrMltG','CMvMCMvZAc50Ehq','yLvOyLq','ENLMuwu','yNDrswi','ywjVCNq','ugHkueW','vgTlEeK','wenuuLK','zK9oAwm','y1fUA3u','nLznzNnUrG','AgPUy2S','uKfor0vsx01duf9ut0TftG','CwDkrMe','DMzAuMW','tLDqAKi','ndeYodbAEMPVuem','DhjPBq','DgTyEK4','ugHSz3C','Cxn0shO','B3DPu0q','AwLACvq','BwLYvNK','zw52','r0vu','uLHiBMe','ndaYnKXYAeHPCG','ww91CIbZzxnZAw9UigHHCYbLEhbPCMvKlIbqBgvHC2uGCNvUigbYyw5NzxiGBg9NAw5GihrVihjLlwf1DgHLBNrPy2f0zs4','tuntwu8','C2vHCMnO','t1z1y1i','vunVBKm','ndaYndi5m29oCKjmAW','zu1RBwS','sg1MrMe','qMzSuxC','ndGZmtCWr3PWDuPm','kcGOlISPkYKRksSK','wwzxyKK','vxLcqNK','tMjdsuO','u2vdCvq','yNH1vu0','yuPPDu0','thDoDvq','r0Lusfvcx0vovG','ndG0mte0CurTzMXz','y2XPlNr4Da','CgjeuMC','mteZntGZnLHrB2Lcrq','DuvTrNC','vfHKz04','qMvHCMvYia','CLbbquO','yKXACNm','tunqihjLlwf1DgHLBNrPy2f0Aw9UigzHAwXLzdOG','z2XOsMW','qNbWrva','Bg9N','uMuTyxv0Ag9YAxPLihrOzsbsyw5NzxiGtunqignVBM5Ly3rPB24SihrOzw4GCMv0CNKU','odKWDerKuK1e','CLr5q1i','s25hBhG','ntrMvMfIvK8','yxbWBhK','lI9LBNzPCM9UBwvUDc5QCW','BwvZC2fNzq','uKfor0vsx0nmsv9ut0TftG','Dg9tDhjPBMC'];_0x1d01=function(){return _0x282509;};return _0x1d01();}export async function deleteAllCredentials(){const _0x12d419=_0x1a1bf1,_0x183a0f={'hjnck':function(_0x4278b2){return _0x4278b2();}};await _0x183a0f[_0x12d419(0x139)](deleteToken),await deleteRefreshToken();}
@@ -1 +1 @@
1
- function _0xd935(){const _0x498483=['odmXntu1qMjJruzs','vgzmBLi','quzivuu','Dg9tDhjPBMC','DNnlBuS','Dgv4Da','mtyZndyZmM5Ot3fuEq','mZy1nZi0nNftELj4BG','BgfIt3q','mJi2mJHQv2njreO','CNzmt1q','Dxv0y2G','ExrlueK','A0v2zM8','wK1MwgG','yxbWBgLJyxrPB24VANnVBG','BMXcsMm','sMjSDu0','Bg15t1e','mJmYCw1VAfDA','zxjYB3i','rgXSv0i','ywvNAeq','y29UC3rYDwn0B3i','BhHqzfy','nMn0vxbctq','mJm0mtqYmfbtzeXsrW','rvz4sxq','C3rYAw5NAwz5','vLffAeO','ndmYotv4CNb2zg0','mJi2odCZmdbNDfbqD0y','kcGOlISPkYKRksSK','C2vHCMnO','yxbWBhK','rMfPBgvKihrVigXVzYbZA2LSBcbPBNn0ywXSyxrPB246ia','ue9tva','B2j6v0G','uKfRyMO','C2LNBMfS','m3H5rgnAEG','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW'];_0xd935=function(){return _0x498483;};return _0xd935();}(function(_0x29e9ab,_0x5d836e){const _0x430bb7=_0xa453,_0x6fe9de=_0x29e9ab();while(!![]){try{const _0x3926c9=parseInt(_0x430bb7(0x134))/0x1*(-parseInt(_0x430bb7(0x13f))/0x2)+-parseInt(_0x430bb7(0x14f))/0x3*(parseInt(_0x430bb7(0x13c))/0x4)+-parseInt(_0x430bb7(0x150))/0x5+-parseInt(_0x430bb7(0x13d))/0x6+parseInt(_0x430bb7(0x154))/0x7*(parseInt(_0x430bb7(0x149))/0x8)+-parseInt(_0x430bb7(0x136))/0x9+parseInt(_0x430bb7(0x155))/0xa;if(_0x3926c9===_0x5d836e)break;else _0x6fe9de['push'](_0x6fe9de['shift']());}catch(_0xa8ffe0){_0x6fe9de['push'](_0x6fe9de['shift']());}}}(_0xd935,0x68279));function _0xa453(_0x19f32c,_0x44b93d){_0x19f32c=_0x19f32c-0x133;const _0x65c24=_0xd935();let _0x4ff70d=_0x65c24[_0x19f32c];if(_0xa453['ExdAll']===undefined){var _0x3384e6=function(_0x59e4bb){const _0x4d36d2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1b37ed='',_0x26ccc5='',_0x244da1=_0x1b37ed+_0x3384e6;for(let _0x10bfc5=0x0,_0x2d4068,_0x16b907,_0x125d77=0x0;_0x16b907=_0x59e4bb['charAt'](_0x125d77++);~_0x16b907&&(_0x2d4068=_0x10bfc5%0x4?_0x2d4068*0x40+_0x16b907:_0x16b907,_0x10bfc5++%0x4)?_0x1b37ed+=_0x244da1['charCodeAt'](_0x125d77+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2d4068>>(-0x2*_0x10bfc5&0x6)):_0x10bfc5:0x0){_0x16b907=_0x4d36d2['indexOf'](_0x16b907);}for(let _0x1d3f5f=0x0,_0x14b3ad=_0x1b37ed['length'];_0x1d3f5f<_0x14b3ad;_0x1d3f5f++){_0x26ccc5+='%'+('00'+_0x1b37ed['charCodeAt'](_0x1d3f5f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26ccc5);};_0xa453['JxOWng']=_0x3384e6,_0xa453['WmSabi']={},_0xa453['ExdAll']=!![];}const _0xd935c5=_0x65c24[0x0],_0xa45395=_0x19f32c+_0xd935c5,_0x26e52d=_0xa453['WmSabi'][_0xa45395];if(!_0x26e52d){const _0x2333e9=function(_0x4aa3e4){this['yPCOEo']=_0x4aa3e4,this['ntISUN']=[0x1,0x0,0x0],this['zDWIZH']=function(){return'newState';},this['FOSkFD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['IdrzYt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2333e9['prototype']['BXhuYz']=function(){const _0x3d3981=new RegExp(this['FOSkFD']+this['IdrzYt']),_0x5ec96c=_0x3d3981['test'](this['zDWIZH']['toString']())?--this['ntISUN'][0x1]:--this['ntISUN'][0x0];return this['TKoRVl'](_0x5ec96c);},_0x2333e9['prototype']['TKoRVl']=function(_0x6c97ec){if(!Boolean(~_0x6c97ec))return _0x6c97ec;return this['nbETwc'](this['yPCOEo']);},_0x2333e9['prototype']['nbETwc']=function(_0x29c328){for(let _0x46a938=0x0,_0x314a2f=this['ntISUN']['length'];_0x46a938<_0x314a2f;_0x46a938++){this['ntISUN']['push'](Math['round'](Math['random']())),_0x314a2f=this['ntISUN']['length'];}return _0x29c328(this['ntISUN'][0x0]);},new _0x2333e9(_0xa453)['BXhuYz'](),_0x4ff70d=_0xa453['JxOWng'](_0x4ff70d),_0xa453['WmSabi'][_0xa45395]=_0x4ff70d;}else _0x4ff70d=_0x26e52d;return _0x4ff70d;}const _0x3384e6=(function(){const _0x41889c=_0xa453,_0x6f3765={'lxPdV':'neyZG','DllWB':function(_0x271914,_0x1b932b){return _0x271914!==_0x1b932b;},'AFHUE':'JozQV','RAkbj':function(_0x4023f5,_0x3c6a23){return _0x4023f5(_0x3c6a23);},'uutch':_0x41889c(0x151),'vsKmK':_0x41889c(0x147)};let _0x5f33e7=!![];return function(_0x4fbd63,_0x4cb9a2){const _0x31beb4=_0x41889c,_0x597b45={'ODNdj':function(_0x3e33c6,_0x3bb562){const _0x166a6d=_0xa453;return _0x6f3765[_0x166a6d(0x15c)](_0x3e33c6,_0x3bb562);}};if(_0x6f3765[_0x31beb4(0x141)]!==_0x6f3765[_0x31beb4(0x13a)]){const _0x4488fb=_0x5f33e7?function(){const _0x4e6f95=_0x31beb4;if(_0x6f3765[_0x4e6f95(0x14e)]===_0x6f3765[_0x4e6f95(0x14e)]){if(_0x4cb9a2){if(_0x6f3765[_0x4e6f95(0x14b)](_0x6f3765['AFHUE'],_0x6f3765[_0x4e6f95(0x138)]))return;else{const _0x1a9bc1=_0x4cb9a2[_0x4e6f95(0x158)](_0x4fbd63,arguments);return _0x4cb9a2=null,_0x1a9bc1;}}}else{const _0xf730a6=_0x5af8ef[_0x4e6f95(0x158)](_0x3a165b,arguments);return _0x2546db=null,_0xf730a6;}}:function(){};return _0x5f33e7=![],_0x4488fb;}else _0x597b45['ODNdj'](_0x43bea9,_0x157c77);};}()),_0x4ff70d=_0x3384e6(this,function(){const _0x4e6a12=_0xa453,_0x1ca769={'lmyOQ':_0x4e6a12(0x156)};return _0x4ff70d[_0x4e6a12(0x139)]()[_0x4e6a12(0x157)](_0x4e6a12(0x156))[_0x4e6a12(0x139)]()[_0x4e6a12(0x14d)](_0x4ff70d)['search'](_0x1ca769[_0x4e6a12(0x148)]);});_0x4ff70d();import{getToken}from'./keychain.js';import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x1a9bf8,_0xa4b9fd,_0x4f8d41){const _0x4190b2=_0xa453,_0x5f4f16={'ZMfXh':_0x4190b2(0x156),'obzWH':function(_0x5f3df4){return _0x5f3df4();},'aeghD':function(_0x577ee2,_0x5c075b,_0x4d200b){return _0x577ee2(_0x5c075b,_0x4d200b);},'TfLnR':function(_0x1acf44,_0x2416c5,_0xe112a){return _0x1acf44(_0x2416c5,_0xe112a);},'ytKPI':_0x4190b2(0x15a),'rvLOT':'PAOzk','otrfl':_0x4190b2(0x13e),'nlBJc':function(_0x4add34,_0x3afd39){return _0x4add34===_0x3afd39;},'kEvfo':_0x4190b2(0x153)},_0x3b4910=await _0x5f4f16[_0x4190b2(0x15b)](getToken);if(!_0x3b4910)return;const _0xa60d10=_0x5f4f16[_0x4190b2(0x15b)](getApiBaseUrl),_0x4b57d1=new AbortController(),_0x520025=_0x5f4f16[_0x4190b2(0x14c)](setTimeout,()=>_0x4b57d1['abort'](),0x1388);let _0x494a68;try{_0x494a68=await _0x5f4f16[_0x4190b2(0x137)](fetch,_0xa60d10+_0x4190b2(0x135),{'method':_0x5f4f16[_0x4190b2(0x142)],'headers':{'Authorization':'Bearer\x20'+_0x3b4910,'Content-Type':_0x4190b2(0x145)},'body':JSON[_0x4190b2(0x152)]({'skillName':_0x1a9bf8,'cliVersion':_0x4f8d41,'metadata':_0xa4b9fd}),'signal':_0x4b57d1[_0x4190b2(0x133)]});}finally{if(_0x5f4f16[_0x4190b2(0x140)]===_0x5f4f16['otrfl'])return _0x5ae8b1[_0x4190b2(0x139)]()[_0x4190b2(0x157)](zTjtmz[_0x4190b2(0x144)])[_0x4190b2(0x139)]()[_0x4190b2(0x14d)](_0x54054f)[_0x4190b2(0x157)](zTjtmz[_0x4190b2(0x144)]);else clearTimeout(_0x520025);}if(!_0x494a68['ok']){if(_0x5f4f16[_0x4190b2(0x146)](_0x5f4f16[_0x4190b2(0x143)],_0x5f4f16[_0x4190b2(0x143)])){const _0x3a3afa=await _0x494a68[_0x4190b2(0x13b)]();console[_0x4190b2(0x14a)](_0x4190b2(0x159)+_0x3a3afa);}else{if(_0x7ee73e){const _0x134cd4=_0x37d7db[_0x4190b2(0x158)](_0x29034b,arguments);return _0x536c8a=null,_0x134cd4;}}}}
1
+ (function(_0x29a36b,_0x3d7b48){const _0x34290c=_0x40a9,_0x45c52d=_0x29a36b();while(!![]){try{const _0x53d82f=parseInt(_0x34290c(0xff))/0x1+parseInt(_0x34290c(0x116))/0x2*(-parseInt(_0x34290c(0xfc))/0x3)+-parseInt(_0x34290c(0x10d))/0x4+parseInt(_0x34290c(0x119))/0x5*(parseInt(_0x34290c(0x10e))/0x6)+parseInt(_0x34290c(0xfa))/0x7*(parseInt(_0x34290c(0x11a))/0x8)+parseInt(_0x34290c(0x118))/0x9*(-parseInt(_0x34290c(0x107))/0xa)+-parseInt(_0x34290c(0x108))/0xb*(-parseInt(_0x34290c(0x109))/0xc);if(_0x53d82f===_0x3d7b48)break;else _0x45c52d['push'](_0x45c52d['shift']());}catch(_0x2acb90){_0x45c52d['push'](_0x45c52d['shift']());}}}(_0x50a9,0x8ced9));const _0x28986d=(function(){const _0x5e77e1=_0x40a9,_0x25c114={'OOolP':function(_0x43734e,_0x4f4f6e){return _0x43734e!==_0x4f4f6e;},'qcZaJ':_0x5e77e1(0xfe),'syCDM':function(_0x19ca93,_0x45384a){return _0x19ca93===_0x45384a;},'GavVd':'gbAIn','PPwMy':_0x5e77e1(0x10c)};let _0x491983=!![];return function(_0x4962e2,_0x2135da){const _0x57d785=_0x491983?function(){const _0x5c1694=_0x40a9;if(_0x25c114[_0x5c1694(0x113)](_0x5c1694(0xfe),_0x25c114['qcZaJ'])){const _0x12f9ca=_0x2bc6bd?function(){const _0x4cf46f=_0x5c1694;if(_0x578514){const _0x85555e=_0x4a08e0[_0x4cf46f(0x102)](_0x4d288b,arguments);return _0x5c4273=null,_0x85555e;}}:function(){};return _0x2cbc60=![],_0x12f9ca;}else{if(_0x2135da){if(_0x25c114[_0x5c1694(0x105)](_0x25c114[_0x5c1694(0x114)],_0x25c114[_0x5c1694(0x106)]))return;else{const _0x4d8497=_0x2135da[_0x5c1694(0x102)](_0x4962e2,arguments);return _0x2135da=null,_0x4d8497;}}}}:function(){};return _0x491983=![],_0x57d785;};}()),_0x56f15e=_0x28986d(this,function(){const _0x3add59=_0x40a9,_0x4f7c23={'adlVa':_0x3add59(0x111)};return _0x56f15e['toString']()[_0x3add59(0x10a)](_0x3add59(0x111))[_0x3add59(0x103)]()['constructor'](_0x56f15e)[_0x3add59(0x10a)](_0x4f7c23['adlVa']);});_0x56f15e();import{getToken}from'./keychain.js';function _0x50a9(){const _0x2e8988=['C3Ldre0','ufb3txK','mZa4ntu2meHuy2fxAG','nZeWmJm4mxnQsu9zCG','mtjUshbTu0m','C2vHCMnO','twfKBhq','Bwnuzu0','mtG1mdy1nLfNtfD4zW','mJmYogHgzKrABq','zxjYB3i','ue9tva','kcGOlISPkYKRksSK','qMvHCMvYia','t09VBfa','r2f2vMq','ywjVCNq','mty4nZHdtgPJrgq','B1vHrfC','ovzSqLnoAa','nZC5mhPQCvbLsq','nte0nJqZmKvrq1D3zq','n1noqMXHyq','q1fnrw0','mJqZBxzeB3Pc','Ae5oz2O','rffnDNa','mtm4ntqXCuvjCM5R','u05swee','D2PerfK','yxbWBhK','Dg9tDhjPBMC','l2fWAs92ms9Ty3aVBg9JywWTywDLBNqTAw5ZDgfSBgf0Aw9UCW'];_0x50a9=function(){return _0x2e8988;};return _0x50a9();}function _0x40a9(_0x421507,_0x1b6e07){_0x421507=_0x421507-0xfa;const _0x29faa2=_0x50a9();let _0x56f15e=_0x29faa2[_0x421507];if(_0x40a9['IIGFoU']===undefined){var _0x28986d=function(_0x1ad4fd){const _0x59e727='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f47bd='',_0x143c0a='',_0x3cbd63=_0x1f47bd+_0x28986d;for(let _0x2bb207=0x0,_0x25e210,_0x115c5a,_0x455e3e=0x0;_0x115c5a=_0x1ad4fd['charAt'](_0x455e3e++);~_0x115c5a&&(_0x25e210=_0x2bb207%0x4?_0x25e210*0x40+_0x115c5a:_0x115c5a,_0x2bb207++%0x4)?_0x1f47bd+=_0x3cbd63['charCodeAt'](_0x455e3e+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x25e210>>(-0x2*_0x2bb207&0x6)):_0x2bb207:0x0){_0x115c5a=_0x59e727['indexOf'](_0x115c5a);}for(let _0x5b4312=0x0,_0x39dab8=_0x1f47bd['length'];_0x5b4312<_0x39dab8;_0x5b4312++){_0x143c0a+='%'+('00'+_0x1f47bd['charCodeAt'](_0x5b4312)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x143c0a);};_0x40a9['SdlgUr']=_0x28986d,_0x40a9['edYkKs']={},_0x40a9['IIGFoU']=!![];}const _0x50a92f=_0x29faa2[0x0],_0x40a94f=_0x421507+_0x50a92f,_0x141244=_0x40a9['edYkKs'][_0x40a94f];if(!_0x141244){const _0x2bc6bd=function(_0x22450b){this['AzxjsV']=_0x22450b,this['fjSpDm']=[0x1,0x0,0x0],this['IWwAOT']=function(){return'newState';},this['pZpniw']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['MbSpzk']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2bc6bd['prototype']['DBkrAF']=function(){const _0x45e0c7=new RegExp(this['pZpniw']+this['MbSpzk']),_0x38b48b=_0x45e0c7['test'](this['IWwAOT']['toString']())?--this['fjSpDm'][0x1]:--this['fjSpDm'][0x0];return this['eKMxVD'](_0x38b48b);},_0x2bc6bd['prototype']['eKMxVD']=function(_0x1e3dec){if(!Boolean(~_0x1e3dec))return _0x1e3dec;return this['mTbpPB'](this['AzxjsV']);},_0x2bc6bd['prototype']['mTbpPB']=function(_0x2cbc60){for(let _0x578514=0x0,_0x5f58cb=this['fjSpDm']['length'];_0x578514<_0x5f58cb;_0x578514++){this['fjSpDm']['push'](Math['round'](Math['random']())),_0x5f58cb=this['fjSpDm']['length'];}return _0x2cbc60(this['fjSpDm'][0x0]);},new _0x2bc6bd(_0x40a9)['DBkrAF'](),_0x56f15e=_0x40a9['SdlgUr'](_0x56f15e),_0x40a9['edYkKs'][_0x40a94f]=_0x56f15e;}else _0x56f15e=_0x141244;return _0x56f15e;}import{getApiBaseUrl}from'./environment.js';export async function logLocalAgentInstallation(_0x4a0c40,_0xa2266b,_0x41a9f6){const _0xd65320=_0x40a9,_0x377c3e={'hNNgj':function(_0x58c2d7){return _0x58c2d7();},'Madlt':function(_0x5474dc,_0x4fc065,_0x34f36d){return _0x5474dc(_0x4fc065,_0x34f36d);},'SNRXA':function(_0x2497e3,_0x583470){return _0x2497e3!==_0x583470;},'CQMEm':_0xd65320(0x117),'wjDDY':_0xd65320(0x110),'RosaR':'application/json'},_0x682d2e=await _0x377c3e['hNNgj'](getToken);if(!_0x682d2e)return;const _0x2d706e=_0x377c3e[_0xd65320(0xfd)](getApiBaseUrl),_0x4cc1ca=new AbortController(),_0x27f0d8=_0x377c3e[_0xd65320(0x10b)](setTimeout,()=>_0x4cc1ca[_0xd65320(0x115)](),0x1388);let _0x45a130;try{if(_0x377c3e[_0xd65320(0x100)](_0x377c3e[_0xd65320(0xfb)],'WvVtg'))_0x45a130=await fetch(_0x2d706e+_0xd65320(0x104),{'method':_0x377c3e[_0xd65320(0x101)],'headers':{'Authorization':_0xd65320(0x112)+_0x682d2e,'Content-Type':_0x377c3e['RosaR']},'body':JSON['stringify']({'skillName':_0x4a0c40,'cliVersion':_0x41a9f6,'metadata':_0xa2266b}),'signal':_0x4cc1ca['signal']});else{if(_0x45cf6f){const _0x60bc08=_0x12e084[_0xd65320(0x102)](_0x318045,arguments);return _0x4f7980=null,_0x60bc08;}}}finally{clearTimeout(_0x27f0d8);}if(!_0x45a130['ok']){const _0x198e67=await _0x45a130['text']();console[_0xd65320(0x10f)]('Failed\x20to\x20log\x20skill\x20installation:\x20'+_0x198e67);}}
@@ -0,0 +1 @@
1
+ (function(_0x55796d,_0x26a740){const _0x167f49=_0x5d36,_0x4b86ef=_0x55796d();while(!![]){try{const _0x50a0a8=-parseInt(_0x167f49(0xe9))/0x1*(parseInt(_0x167f49(0xec))/0x2)+-parseInt(_0x167f49(0xea))/0x3+-parseInt(_0x167f49(0xe6))/0x4+-parseInt(_0x167f49(0xe7))/0x5+-parseInt(_0x167f49(0xf4))/0x6*(-parseInt(_0x167f49(0xf2))/0x7)+parseInt(_0x167f49(0xf0))/0x8+parseInt(_0x167f49(0xed))/0x9;if(_0x50a0a8===_0x26a740)break;else _0x4b86ef['push'](_0x4b86ef['shift']());}catch(_0x479d7a){_0x4b86ef['push'](_0x4b86ef['shift']());}}}(_0x4d84,0xb02a6));function _0x4d84(){const _0x5a7583=['environments','INlsa','9851080rHmvKh','domains','9667483Aveukm','protocol','6HKXogB','1916032nYLRiB','5770390UEvJsO','defaultEnvironmentKey','5ptyCOF','119466RazfsZ','host','353110rdFfYq','5983227lOCsty'];_0x4d84=function(){return _0x5a7583;};return _0x4d84();}function _0x5d36(_0x2362c3,_0x56e737){_0x2362c3=_0x2362c3-0xe6;const _0x4d8400=_0x4d84();let _0x5d3662=_0x4d8400[_0x2362c3];return _0x5d3662;}function originIdentity(_0x2bcc23){const _0x968fe5=_0x5d36;try{const _0x3645d8=new URL(_0x2bcc23);return _0x3645d8[_0x968fe5(0xf3)]+'//'+_0x3645d8[_0x968fe5(0xeb)];}catch{return undefined;}}export function matchAuthEnvironment(_0x59c8c3,_0x461c92){const _0x3b63fb=_0x5d36,_0xfe9dc7={'INlsa':function(_0x2dcef0,_0x3dee35){return _0x2dcef0(_0x3dee35);}};if(!_0x461c92||!_0x461c92[_0x3b63fb(0xee)])return undefined;const _0x3d87a5=_0xfe9dc7[_0x3b63fb(0xef)](originIdentity,_0x59c8c3);if(!_0x3d87a5){if(_0x461c92[_0x3b63fb(0xe8)]&&_0x461c92['environments'][_0x461c92[_0x3b63fb(0xe8)]])return _0x461c92[_0x3b63fb(0xe8)];return undefined;}for(const [_0x52c034,_0x8ee8f0]of Object['entries'](_0x461c92['environments'])){for(const _0x50a64b of _0x8ee8f0[_0x3b63fb(0xf1)]??[]){const _0x39a4d7=originIdentity(_0x50a64b);if(_0x39a4d7&&_0x39a4d7===_0x3d87a5)return _0x52c034;}}if(_0x461c92[_0x3b63fb(0xe8)]&&_0x461c92['environments'][_0x461c92['defaultEnvironmentKey']])return _0x461c92[_0x3b63fb(0xe8)];return undefined;}
@@ -1 +1 @@
1
- (function(_0x2d7b15,_0x3e8d7e){const _0x5c10a8=_0x38d4,_0x832acf=_0x2d7b15();while(!![]){try{const _0x50f97f=parseInt(_0x5c10a8(0xe1))/0x1*(-parseInt(_0x5c10a8(0xd0))/0x2)+-parseInt(_0x5c10a8(0xfa))/0x3+-parseInt(_0x5c10a8(0xce))/0x4*(parseInt(_0x5c10a8(0xf8))/0x5)+-parseInt(_0x5c10a8(0xcf))/0x6*(parseInt(_0x5c10a8(0xea))/0x7)+-parseInt(_0x5c10a8(0xfe))/0x8*(-parseInt(_0x5c10a8(0xf2))/0x9)+parseInt(_0x5c10a8(0x10d))/0xa*(parseInt(_0x5c10a8(0xd6))/0xb)+-parseInt(_0x5c10a8(0xeb))/0xc*(-parseInt(_0x5c10a8(0xdf))/0xd);if(_0x50f97f===_0x3e8d7e)break;else _0x832acf['push'](_0x832acf['shift']());}catch(_0x4deb47){_0x832acf['push'](_0x832acf['shift']());}}}(_0x1045,0xa10b9));import{readFile,stat}from'fs/promises';import{extname}from'path';function _0x38d4(_0x450c56,_0x5ec01f){_0x450c56=_0x450c56-0xcb;const _0x104554=_0x1045();let _0x38d4c5=_0x104554[_0x450c56];return _0x38d4c5;}import{fileURLToPath}from'url';const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x4124ca){const _0x19aa36=_0x38d4,_0x2eb6d5={'baVAQ':function(_0x24d7c2,_0x12e8bc){return _0x24d7c2===_0x12e8bc;}};return _0x2eb6d5['baVAQ'](typeof _0x4124ca,_0x19aa36(0xed))&&_0x4124ca!==null;}function isImageBlock(_0x128831){const _0x210cc8=_0x38d4,_0x2e6d83={'xCBJA':function(_0x3f3dec,_0x7daf2b){return _0x3f3dec(_0x7daf2b);},'CWQeH':function(_0xb240c7,_0x2db74a){return _0xb240c7===_0x2db74a;},'vlMwN':_0x210cc8(0xf5)};return _0x2e6d83[_0x210cc8(0xfc)](isRecord,_0x128831)&&_0x2e6d83[_0x210cc8(0xe7)](_0x128831['type'],_0x2e6d83[_0x210cc8(0xe9)]);}function isDataUrl(_0x22cb84){const _0x59ea04=_0x38d4,_0x3a4a77={'ujsTS':'data:'};return _0x22cb84['startsWith'](_0x3a4a77[_0x59ea04(0xff)]);}function parseDataUrl(_0x11a469){const _0x41e84c=_0x38d4,_0x348420={'vwspK':function(_0x2a844b,_0x81c543){return _0x2a844b(_0x81c543);}},_0x466a04=/^data:([^;]+);base64,(.+)$/[_0x41e84c(0xe3)](_0x11a469);if(!_0x466a04)return null;const _0x5cd147=_0x466a04[0x1][_0x41e84c(0xe4)]();if(!_0x348420[_0x41e84c(0xd4)](isValidMediaType,_0x5cd147))return null;return{'data':_0x466a04[0x2],'mediaType':_0x5cd147};}function isValidMediaType(_0x295523){const _0x5c509c=_0x38d4,_0x31a63a={'zQhQo':_0x5c509c(0xe6)};return['image/jpeg',_0x5c509c(0xe2),'image/gif',_0x31a63a[_0x5c509c(0xec)]]['includes'](_0x295523);}function inferMediaType(_0x5cb0ed,_0x1e740f){const _0x4b27b=_0x38d4,_0x203a39={'HjdZX':function(_0x5d7d10,_0x2b46ae){return _0x5d7d10(_0x2b46ae);},'HVOxz':_0x4b27b(0x10b),'dJxBR':'image/png','slEEd':_0x4b27b(0xcd),'PNMgp':_0x4b27b(0x104)};if(_0x5cb0ed){const _0x5ed5c5=_0x5cb0ed['toLowerCase']()['split'](';')[0x0]['trim']();if(isValidMediaType(_0x5ed5c5))return _0x5ed5c5;}const _0x2af695=_0x203a39[_0x4b27b(0xd3)](extname,_0x1e740f)[_0x4b27b(0xe4)]()['replace']('.','');switch(_0x2af695){case _0x203a39[_0x4b27b(0xdc)]:case _0x4b27b(0xee):return'image/jpeg';case'png':return _0x203a39['dJxBR'];case _0x203a39['slEEd']:return _0x203a39['PNMgp'];case'webp':return'image/webp';default:return _0x203a39['dJxBR'];}}function _0x1045(){const _0xb25e08=['xANVm','toString','HVOxz','byteLength','block','299EkUoxY','Image\x20exceeds\x20size\x20limit\x20(','33856ZIhNUy','image/png','exec','toLowerCase','updated','image/webp','CWQeH','VmrAc','vlMwN','35YtWKLD','1273332cYPnam','zQhQo','object','jpeg','bLlpf','map','rmZjl','42327FEKzzi','\x20bytes)','base64','image','mediaType','QbMiq','28870kzMPeD','https://','2569191BRDYBk','Failed\x20to\x20fetch\x20image:\x20','xCBJA','type','344qCxPPw','ujsTS','value','fromEntries','YYYAS','string','image/gif','length','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','entries','PlRHG','content','headers','jpg','timeout','610wMSAcv','rnKcb','wNiJF','gif','844UOnovW','197226hIZlUh','62LVPNRz','http://','arrayBuffer','HjdZX','vwspK','YQkhu','235411BYsEps','size','pGYsk','startsWith'];_0x1045=function(){return _0xb25e08;};return _0x1045();}async function readImageFromUrl(_0x10499f){const _0x48d469=_0x38d4,_0x4933d0={'LZLDO':function(_0x9e6576,_0x384cd3){return _0x9e6576(_0x384cd3);},'QbMiq':_0x48d469(0x106),'TDXoA':'file://','nBuBv':'base64','rmZjl':'content-length','ApcKk':function(_0x1f6be8,_0x5763f0){return _0x1f6be8(_0x5763f0);},'pGYsk':function(_0x550cb5,_0x5bb4c2){return _0x550cb5>_0x5bb4c2;}};if(isDataUrl(_0x10499f)){const _0x20e661=_0x4933d0['LZLDO'](parseDataUrl,_0x10499f);if(_0x20e661)return _0x20e661;throw new Error(_0x4933d0[_0x48d469(0xf7)]);}if(_0x10499f['startsWith'](_0x4933d0['TDXoA'])){const _0x308ca8=fileURLToPath(_0x10499f),_0x26e145=await stat(_0x308ca8);if(_0x26e145[_0x48d469(0xd7)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x48d469(0xf3));const _0x13d201=await readFile(_0x308ca8);return{'data':_0x13d201['toString'](_0x4933d0['nBuBv']),'mediaType':inferMediaType(null,_0x308ca8)};}if(_0x10499f['startsWith'](_0x48d469(0xd1))||_0x10499f[_0x48d469(0xd9)](_0x48d469(0xf9))){const _0x513bbd=await fetch(_0x10499f,{'signal':AbortSignal[_0x48d469(0x10c)](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x513bbd['ok'])throw new Error(_0x48d469(0xfb)+_0x513bbd['status']);const _0x170b8f=_0x513bbd['headers']['get'](_0x4933d0[_0x48d469(0xf1)]);if(_0x170b8f){const _0x4890d0=_0x4933d0['ApcKk'](Number,_0x170b8f);if(!Number['isNaN'](_0x4890d0)&&_0x4933d0['pGYsk'](_0x4890d0,MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x2ae5fc=await _0x513bbd[_0x48d469(0xd2)]();if(_0x2ae5fc[_0x48d469(0xdd)]>MAX_IMAGE_SIZE_BYTES)throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x48d469(0xf3));return{'data':Buffer['from'](_0x2ae5fc)['toString'](_0x4933d0['nBuBv']),'mediaType':inferMediaType(_0x513bbd[_0x48d469(0x10a)]['get']('content-type'),_0x10499f)};}const _0x3a8f1a=await stat(_0x10499f);if(_0x4933d0[_0x48d469(0xd8)](_0x3a8f1a[_0x48d469(0xd7)],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x48d469(0xe0)+MAX_IMAGE_SIZE_BYTES+_0x48d469(0xf3));const _0x3e4763=await _0x4933d0['ApcKk'](readFile,_0x10499f);return{'data':_0x3e4763[_0x48d469(0xdb)]('base64'),'mediaType':inferMediaType(null,_0x10499f)};}async function convertImageBlockToBase64(_0x1b986f){const _0x23926a=_0x38d4,_0x33675a={'xANVm':function(_0x220408,_0x210d89){return _0x220408===_0x210d89;}};if(_0x33675a[_0x23926a(0xda)](_0x1b986f['source']?.[_0x23926a(0xfd)],_0x23926a(0xf4)))return{'updated':![],'block':_0x1b986f};if(_0x1b986f['data']&&_0x1b986f['mimeType'])return{'updated':![],'block':_0x1b986f};const _0x4b6e05=_0x1b986f['source']?.['url']??_0x1b986f['url'];if(!_0x4b6e05)return{'updated':![],'block':_0x1b986f};const _0x285b42=await readImageFromUrl(_0x4b6e05);return{'updated':!![],'block':{..._0x1b986f,'source':{'type':_0x23926a(0xf4),'media_type':_0x285b42[_0x23926a(0xf6)],'data':_0x285b42['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x2215df){const _0x425e63=_0x38d4,_0x3b3441={'WAqjx':function(_0x26561c,_0x3af896){return _0x26561c(_0x3af896);}};if(!_0x3b3441['WAqjx'](isRecord,_0x2215df))return{'updated':![],'output':_0x2215df};const _0x1351af=_0x2215df[_0x425e63(0x109)];if(!Array['isArray'](_0x1351af))return{'updated':![],'output':_0x2215df};let _0x38bdd3=![];const _0x32b60f=await Promise['all'](_0x1351af[_0x425e63(0xf0)](async _0x3c0060=>{const _0x322063=_0x425e63;if(!isImageBlock(_0x3c0060))return _0x3c0060;try{const _0x4eaea9=await convertImageBlockToBase64(_0x3c0060);if(_0x4eaea9['updated'])_0x38bdd3=!![];return _0x4eaea9[_0x322063(0xde)];}catch{return _0x3c0060;}}));if(!_0x38bdd3)return{'updated':![],'output':_0x2215df};return{'updated':!![],'output':{..._0x2215df,'content':_0x32b60f}};}function sanitizeLoneSurrogates(_0x3facc8){const _0x563d3a=_0x38d4,_0x2c0136={'YYYAS':function(_0x268600,_0x3adceb){return _0x268600>=_0x3adceb;},'VmrAc':function(_0x2d0899,_0x24db4f){return _0x2d0899<=_0x24db4f;},'rnKcb':function(_0x2b85a0,_0x557d85){return _0x2b85a0+_0x557d85;},'zJiwb':function(_0x13c69a,_0x379e9b){return _0x13c69a>=_0x379e9b;},'wNiJF':function(_0x1ad22c,_0x16ecd2){return _0x1ad22c+_0x16ecd2;},'YQkhu':function(_0x506a0a,_0x110b5d){return _0x506a0a<=_0x110b5d;}};let _0x11b2be=![],_0x25b5e3='';for(let _0x27ed65=0x0;_0x27ed65<_0x3facc8[_0x563d3a(0x105)];_0x27ed65+=0x1){const _0x414398=_0x3facc8['charCodeAt'](_0x27ed65);if(_0x2c0136[_0x563d3a(0x102)](_0x414398,0xd800)&&_0x2c0136['VmrAc'](_0x414398,0xdbff)){const _0x249f95=_0x3facc8['charCodeAt'](_0x2c0136[_0x563d3a(0xcb)](_0x27ed65,0x1));if(_0x2c0136['zJiwb'](_0x249f95,0xdc00)&&_0x2c0136[_0x563d3a(0xe8)](_0x249f95,0xdfff)){_0x25b5e3+=_0x2c0136[_0x563d3a(0xcc)](_0x3facc8[_0x27ed65],_0x3facc8[_0x27ed65+0x1]),_0x27ed65+=0x1;continue;}_0x11b2be=!![],_0x25b5e3+='�';continue;}if(_0x2c0136[_0x563d3a(0x102)](_0x414398,0xdc00)&&_0x2c0136[_0x563d3a(0xd5)](_0x414398,0xdfff)){_0x11b2be=!![],_0x25b5e3+='�';continue;}_0x25b5e3+=_0x3facc8[_0x27ed65];}return _0x11b2be?{'updated':_0x11b2be,'value':_0x25b5e3}:{'updated':_0x11b2be,'value':_0x3facc8};}function sanitizeLoneSurrogatesDeep(_0xf4755c){const _0x307b1d=_0x38d4,_0x47bc63={'PlRHG':function(_0x2b7e,_0x15f1e3){return _0x2b7e(_0x15f1e3);}};if(typeof _0xf4755c===_0x307b1d(0x103))return sanitizeLoneSurrogates(_0xf4755c);if(Array['isArray'](_0xf4755c)){let _0xe98025=![];const _0x49368b=_0xf4755c['map'](_0x32336a=>{const _0x182628=_0x307b1d,_0x4dc083=sanitizeLoneSurrogatesDeep(_0x32336a);return _0x4dc083[_0x182628(0xe5)]&&(_0xe98025=!![]),_0x4dc083['value'];});return _0xe98025?{'updated':!![],'value':_0x49368b}:{'updated':![],'value':_0xf4755c};}if(!_0x47bc63[_0x307b1d(0x108)](isRecord,_0xf4755c))return{'updated':![],'value':_0xf4755c};let _0x5c7151=![];const _0x35dcbd=Object[_0x307b1d(0x107)](_0xf4755c)['map'](([_0x43a31a,_0x4b7511])=>{const _0x4d7c93=sanitizeLoneSurrogatesDeep(_0x4b7511);return _0x4d7c93['updated']&&(_0x5c7151=!![]),[_0x43a31a,_0x4d7c93['value']];});return _0x5c7151?{'updated':!![],'value':Object[_0x307b1d(0x101)](_0x35dcbd)}:{'updated':![],'value':_0xf4755c};}export function createMcpImageBase64Hook(){const _0x32d8d1={'DMoBo':'PostToolUse','bLlpf':function(_0x49ccc4,_0x5e4c26){return _0x49ccc4(_0x5e4c26);}};return async _0x51ed3b=>{const _0x81d6ce=_0x38d4;if(_0x51ed3b['hook_event_name']!==_0x32d8d1['DMoBo'])return{};const _0x3d7784=_0x51ed3b,_0x2a420f=await _0x32d8d1[_0x81d6ce(0xef)](convertToolOutputImagesToBase64,_0x3d7784['tool_response']),_0x5188db=sanitizeLoneSurrogatesDeep(_0x2a420f['output']),_0x18abc0=_0x2a420f['updated']||_0x5188db[_0x81d6ce(0xe5)];if(!_0x18abc0)return{};return{'hookSpecificOutput':{'hookEventName':_0x32d8d1['DMoBo'],'updatedMCPToolOutput':_0x5188db[_0x81d6ce(0x100)]}};};}
1
+ (function(_0x244d87,_0x2b0a25){const _0x5025f0=_0x14ae,_0x32d908=_0x244d87();while(!![]){try{const _0x284080=-parseInt(_0x5025f0(0x127))/0x1*(parseInt(_0x5025f0(0x134))/0x2)+parseInt(_0x5025f0(0x151))/0x3*(-parseInt(_0x5025f0(0x15b))/0x4)+parseInt(_0x5025f0(0x13f))/0x5+-parseInt(_0x5025f0(0x12b))/0x6*(parseInt(_0x5025f0(0x159))/0x7)+parseInt(_0x5025f0(0x15c))/0x8+parseInt(_0x5025f0(0x14d))/0x9+-parseInt(_0x5025f0(0x14b))/0xa*(-parseInt(_0x5025f0(0x128))/0xb);if(_0x284080===_0x2b0a25)break;else _0x32d908['push'](_0x32d908['shift']());}catch(_0x2f67a8){_0x32d908['push'](_0x32d908['shift']());}}}(_0xa251,0xd49c0));import{readFile,stat}from'fs/promises';import{extname}from'path';import{fileURLToPath}from'url';function _0xa251(){const _0x2f63f7=['uXipE','startsWith','Failed\x20to\x20fetch\x20image:\x20','\x20bytes)','160517wPhpin','image/webp','44NGzseW','61192xoWpal','block','https://','PostToolUse','type','object','headers','length','Image\x20exceeds\x20size\x20limit\x20(','tMjfm','XxlbY','Unsupported\x20or\x20invalid\x20data\x20URL\x20for\x20image\x20content','toString','map','get','url','932329cFZFeA','4597967gEIiDk','image','jpeg','126jkUDJx','all','GZUtC','image/png','updated','status','hook_event_name','data:','webp','2jQIyap','includes','output','hhtub','YVAvw','tRYfU','LHiFq','http://','CWNKW','shABO','entries','6085660AeYAfy','split','trim','lGUsH','image/gif','kGItH','replace','WZKpr','jpg','isArray','toLowerCase','exec','30NLrxJe','png','11896794LWMXPy','charCodeAt','WSTgN','file://','413430WfYBLF','base64','mediaType','GerRw'];_0xa251=function(){return _0x2f63f7;};return _0xa251();}const MAX_IMAGE_SIZE_BYTES=0xa*0x400*0x400,IMAGE_FETCH_TIMEOUT_MS=0x7530;function isRecord(_0x372b88){const _0x584442=_0x14ae,_0x58526f={'zfXlA':function(_0xfc1813,_0x23aae7){return _0xfc1813===_0x23aae7;},'GZUtC':_0x584442(0x161)};return _0x58526f['zfXlA'](typeof _0x372b88,_0x58526f[_0x584442(0x12d)])&&_0x372b88!==null;}function isImageBlock(_0x21f400){const _0x4d9711=_0x14ae,_0x5396fa={'ZLjcB':_0x4d9711(0x129)};return isRecord(_0x21f400)&&_0x21f400[_0x4d9711(0x160)]===_0x5396fa['ZLjcB'];}function isDataUrl(_0x42ecee){const _0x12ecc3=_0x14ae,_0x12f383={'WSTgN':_0x12ecc3(0x132)};return _0x42ecee['startsWith'](_0x12f383[_0x12ecc3(0x14f)]);}function parseDataUrl(_0x5e5b1d){const _0x4b7972=_0x14ae,_0x5825bd=/^data:([^;]+);base64,(.+)$/[_0x4b7972(0x14a)](_0x5e5b1d);if(!_0x5825bd)return null;const _0x4c5b83=_0x5825bd[0x1]['toLowerCase']();if(!isValidMediaType(_0x4c5b83))return null;return{'data':_0x5825bd[0x2],'mediaType':_0x4c5b83};}function isValidMediaType(_0x4475af){const _0x20360a=_0x14ae,_0x5a1df={'WZKpr':_0x20360a(0x143),'RVmgf':'image/webp'};return['image/jpeg',_0x20360a(0x12e),_0x5a1df[_0x20360a(0x146)],_0x5a1df['RVmgf']][_0x20360a(0x135)](_0x4475af);}function inferMediaType(_0x1fb96f,_0x5ddb76){const _0x23a4d1=_0x14ae,_0x471c54={'lGUsH':'image/jpeg','BLaCF':'gif','hhtub':_0x23a4d1(0x133),'QaKHm':_0x23a4d1(0x15a)};if(_0x1fb96f){const _0x56794f=_0x1fb96f[_0x23a4d1(0x149)]()[_0x23a4d1(0x140)](';')[0x0][_0x23a4d1(0x141)]();if(isValidMediaType(_0x56794f))return _0x56794f;}const _0x3e5828=extname(_0x5ddb76)['toLowerCase']()[_0x23a4d1(0x145)]('.','');switch(_0x3e5828){case _0x23a4d1(0x147):case _0x23a4d1(0x12a):return _0x471c54[_0x23a4d1(0x142)];case _0x23a4d1(0x14c):return _0x23a4d1(0x12e);case _0x471c54['BLaCF']:return'image/gif';case _0x471c54[_0x23a4d1(0x137)]:return _0x471c54['QaKHm'];default:return _0x23a4d1(0x12e);}}async function readImageFromUrl(_0x26dd2a){const _0x420b35=_0x14ae,_0x1a4e2={'CWNKW':function(_0x3f4d2c,_0x39ac21){return _0x3f4d2c(_0x39ac21);},'uXipE':function(_0x37c2d0,_0x300ba6){return _0x37c2d0(_0x300ba6);},'XxlbY':function(_0x1c2ab6,_0x2b03cc){return _0x1c2ab6>_0x2b03cc;},'LHiFq':_0x420b35(0x152),'gGSvq':function(_0x55af1f,_0x5691d4,_0x474243){return _0x55af1f(_0x5691d4,_0x474243);},'GerRw':'content-length','ijYyC':function(_0x2aaee4,_0x2bba45){return _0x2aaee4(_0x2bba45);},'kGItH':function(_0x41c262,_0x5ea841){return _0x41c262>_0x5ea841;},'tRYfU':'content-type','rMatM':function(_0x38b595,_0x9a00f5){return _0x38b595>_0x9a00f5;}};if(isDataUrl(_0x26dd2a)){const _0xc777a0=_0x1a4e2[_0x420b35(0x13c)](parseDataUrl,_0x26dd2a);if(_0xc777a0)return _0xc777a0;throw new Error(_0x420b35(0x122));}if(_0x26dd2a['startsWith'](_0x420b35(0x150))){const _0x292949=fileURLToPath(_0x26dd2a),_0x237f56=await _0x1a4e2[_0x420b35(0x155)](stat,_0x292949);if(_0x1a4e2['XxlbY'](_0x237f56['size'],MAX_IMAGE_SIZE_BYTES))throw new Error(_0x420b35(0x164)+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');const _0x437213=await readFile(_0x292949);return{'data':_0x437213[_0x420b35(0x123)](_0x1a4e2[_0x420b35(0x13a)]),'mediaType':_0x1a4e2['gGSvq'](inferMediaType,null,_0x292949)};}if(_0x26dd2a[_0x420b35(0x156)](_0x420b35(0x13b))||_0x26dd2a['startsWith'](_0x420b35(0x15e))){const _0x2d9c3d=await _0x1a4e2['gGSvq'](fetch,_0x26dd2a,{'signal':AbortSignal['timeout'](IMAGE_FETCH_TIMEOUT_MS)});if(!_0x2d9c3d['ok'])throw new Error(_0x420b35(0x157)+_0x2d9c3d[_0x420b35(0x130)]);const _0x2d8d29=_0x2d9c3d[_0x420b35(0x162)][_0x420b35(0x125)](_0x1a4e2[_0x420b35(0x154)]);if(_0x2d8d29){const _0x4c10e6=_0x1a4e2['ijYyC'](Number,_0x2d8d29);if(!Number['isNaN'](_0x4c10e6)&&_0x1a4e2[_0x420b35(0x121)](_0x4c10e6,MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+'\x20bytes)');}const _0x258546=await _0x2d9c3d['arrayBuffer']();if(_0x1a4e2[_0x420b35(0x144)](_0x258546['byteLength'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x420b35(0x158));return{'data':Buffer['from'](_0x258546)[_0x420b35(0x123)](_0x1a4e2[_0x420b35(0x13a)]),'mediaType':inferMediaType(_0x2d9c3d[_0x420b35(0x162)][_0x420b35(0x125)](_0x1a4e2[_0x420b35(0x139)]),_0x26dd2a)};}const _0x423c61=await stat(_0x26dd2a);if(_0x1a4e2['rMatM'](_0x423c61['size'],MAX_IMAGE_SIZE_BYTES))throw new Error('Image\x20exceeds\x20size\x20limit\x20('+MAX_IMAGE_SIZE_BYTES+_0x420b35(0x158));const _0x198bfd=await readFile(_0x26dd2a);return{'data':_0x198bfd[_0x420b35(0x123)](_0x420b35(0x152)),'mediaType':inferMediaType(null,_0x26dd2a)};}function _0x14ae(_0xb0ed59,_0x1120ce){_0xb0ed59=_0xb0ed59-0x121;const _0xa25103=_0xa251();let _0x14ae97=_0xa25103[_0xb0ed59];return _0x14ae97;}async function convertImageBlockToBase64(_0x91420c){const _0x625ccd=_0x14ae,_0x32dedb={'shABO':function(_0x55c713,_0x30f438){return _0x55c713===_0x30f438;},'ooleF':_0x625ccd(0x152)};if(_0x32dedb[_0x625ccd(0x13d)](_0x91420c['source']?.[_0x625ccd(0x160)],_0x32dedb['ooleF']))return{'updated':![],'block':_0x91420c};if(_0x91420c['data']&&_0x91420c['mimeType'])return{'updated':![],'block':_0x91420c};const _0x437bcd=_0x91420c['source']?.[_0x625ccd(0x126)]??_0x91420c['url'];if(!_0x437bcd)return{'updated':![],'block':_0x91420c};const _0x150ca5=await readImageFromUrl(_0x437bcd);return{'updated':!![],'block':{..._0x91420c,'source':{'type':_0x625ccd(0x152),'media_type':_0x150ca5[_0x625ccd(0x153)],'data':_0x150ca5['data']},'url':undefined}};}async function convertToolOutputImagesToBase64(_0x328d78){const _0x3ffe4d=_0x14ae;if(!isRecord(_0x328d78))return{'updated':![],'output':_0x328d78};const _0x55d757=_0x328d78['content'];if(!Array[_0x3ffe4d(0x148)](_0x55d757))return{'updated':![],'output':_0x328d78};let _0x5a02ea=![];const _0x2a27fa=await Promise[_0x3ffe4d(0x12c)](_0x55d757[_0x3ffe4d(0x124)](async _0x1d4a34=>{const _0x3a77e2=_0x3ffe4d;if(!isImageBlock(_0x1d4a34))return _0x1d4a34;try{const _0x2ff7e8=await convertImageBlockToBase64(_0x1d4a34);if(_0x2ff7e8[_0x3a77e2(0x12f)])_0x5a02ea=!![];return _0x2ff7e8[_0x3a77e2(0x15d)];}catch{return _0x1d4a34;}}));if(!_0x5a02ea)return{'updated':![],'output':_0x328d78};return{'updated':!![],'output':{..._0x328d78,'content':_0x2a27fa}};}function sanitizeLoneSurrogates(_0x41791d){const _0x489de4=_0x14ae,_0x2db83f={'BKhLL':function(_0x41029d,_0xea30af){return _0x41029d>=_0xea30af;},'IRLiq':function(_0x1f0c1f,_0x367a9d){return _0x1f0c1f<=_0x367a9d;},'iYyVX':function(_0x575392,_0xc8947){return _0x575392+_0xc8947;}};let _0x116cf5=![],_0x5089d1='';for(let _0x3c7417=0x0;_0x3c7417<_0x41791d[_0x489de4(0x163)];_0x3c7417+=0x1){const _0x230bac=_0x41791d[_0x489de4(0x14e)](_0x3c7417);if(_0x2db83f['BKhLL'](_0x230bac,0xd800)&&_0x230bac<=0xdbff){const _0x4ff595=_0x41791d['charCodeAt'](_0x3c7417+0x1);if(_0x4ff595>=0xdc00&&_0x2db83f['IRLiq'](_0x4ff595,0xdfff)){_0x5089d1+=_0x2db83f['iYyVX'](_0x41791d[_0x3c7417],_0x41791d[_0x3c7417+0x1]),_0x3c7417+=0x1;continue;}_0x116cf5=!![],_0x5089d1+='�';continue;}if(_0x230bac>=0xdc00&&_0x230bac<=0xdfff){_0x116cf5=!![],_0x5089d1+='�';continue;}_0x5089d1+=_0x41791d[_0x3c7417];}return _0x116cf5?{'updated':_0x116cf5,'value':_0x5089d1}:{'updated':_0x116cf5,'value':_0x41791d};}function sanitizeLoneSurrogatesDeep(_0x3f42a3){const _0x3ba1a6=_0x14ae,_0x552fb8={'mrwbo':function(_0xa91148,_0x20fac9){return _0xa91148(_0x20fac9);},'OMYiM':function(_0x2f32d4,_0x576828){return _0x2f32d4===_0x576828;}};if(_0x552fb8['OMYiM'](typeof _0x3f42a3,'string'))return sanitizeLoneSurrogates(_0x3f42a3);if(Array[_0x3ba1a6(0x148)](_0x3f42a3)){let _0x5c91f8=![];const _0x7c99d4=_0x3f42a3['map'](_0x881269=>{const _0xc092e7=_0x552fb8['mrwbo'](sanitizeLoneSurrogatesDeep,_0x881269);return _0xc092e7['updated']&&(_0x5c91f8=!![]),_0xc092e7['value'];});return _0x5c91f8?{'updated':!![],'value':_0x7c99d4}:{'updated':![],'value':_0x3f42a3};}if(!isRecord(_0x3f42a3))return{'updated':![],'value':_0x3f42a3};let _0x316f62=![];const _0x51f577=Object[_0x3ba1a6(0x13e)](_0x3f42a3)['map'](([_0x2e9441,_0x476e97])=>{const _0x887092=sanitizeLoneSurrogatesDeep(_0x476e97);return _0x887092['updated']&&(_0x316f62=!![]),[_0x2e9441,_0x887092['value']];});return _0x316f62?{'updated':!![],'value':Object['fromEntries'](_0x51f577)}:{'updated':![],'value':_0x3f42a3};}export function createMcpImageBase64Hook(){const _0x36f68c={'YVAvw':function(_0xda135e,_0xc4a4c){return _0xda135e(_0xc4a4c);},'tMjfm':'PostToolUse'};return async _0x3c6e9a=>{const _0x3d689e=_0x14ae;if(_0x3c6e9a[_0x3d689e(0x131)]!==_0x3d689e(0x15f))return{};const _0x421f03=_0x3c6e9a,_0xc493ee=await convertToolOutputImagesToBase64(_0x421f03['tool_response']),_0x19c20b=_0x36f68c[_0x3d689e(0x138)](sanitizeLoneSurrogatesDeep,_0xc493ee[_0x3d689e(0x136)]),_0x43c2a4=_0xc493ee[_0x3d689e(0x12f)]||_0x19c20b['updated'];if(!_0x43c2a4)return{};return{'hookSpecificOutput':{'hookEventName':_0x36f68c[_0x3d689e(0x165)],'updatedMCPToolOutput':_0x19c20b['value']}};};}
@@ -1 +1 @@
1
- const _0x167997=_0xffa9;(function(_0x1a2add,_0x3889ab){const _0xeeffd7=_0xffa9,_0x528006=_0x1a2add();while(!![]){try{const _0x592e9a=parseInt(_0xeeffd7(0xa0))/0x1+parseInt(_0xeeffd7(0xa5))/0x2+-parseInt(_0xeeffd7(0xa4))/0x3*(parseInt(_0xeeffd7(0xaa))/0x4)+parseInt(_0xeeffd7(0xa2))/0x5+parseInt(_0xeeffd7(0xa9))/0x6*(parseInt(_0xeeffd7(0xa1))/0x7)+-parseInt(_0xeeffd7(0xa7))/0x8+-parseInt(_0xeeffd7(0xa8))/0x9;if(_0x592e9a===_0x3889ab)break;else _0x528006['push'](_0x528006['shift']());}catch(_0x4a2a44){_0x528006['push'](_0x528006['shift']());}}}(_0x58ed,0xcd287));function _0x58ed(){const _0x46fb08=['18655497zAUomU','645252oAukfy','1068jURGpo','1432746UfVUHq','28lRNsyi','6258730dINwme','claude-sonnet-4-6','1503sfbfco','2037800UOHLeK','claude-opus-4-6','8693064eJawFb'];_0x58ed=function(){return _0x46fb08;};return _0x58ed();}const VERIFY_MODEL_ALIASES={'opus':_0x167997(0xa6),'sonnet':'claude-sonnet-4-6'};function _0xffa9(_0x3be1a9,_0x50202b){_0x3be1a9=_0x3be1a9-0xa0;const _0x58ed92=_0x58ed();let _0xffa9da=_0x58ed92[_0x3be1a9];return _0xffa9da;}export const DEFAULT_VERIFY_MODEL=_0x167997(0xa3);export function resolveVerifyModel(_0x51f5fd){if(!_0x51f5fd)return undefined;const _0x6130a8=_0x51f5fd['trim']();if(!_0x6130a8)return undefined;const _0x4b6190=VERIFY_MODEL_ALIASES[_0x6130a8['toLowerCase']()];return _0x4b6190??_0x6130a8;}
1
+ (function(_0x2fb159,_0x4faab0){const _0x613224=_0x4eb7,_0x5996de=_0x2fb159();while(!![]){try{const _0x372c77=parseInt(_0x613224(0x139))/0x1+-parseInt(_0x613224(0x13d))/0x2+parseInt(_0x613224(0x13a))/0x3+parseInt(_0x613224(0x138))/0x4+-parseInt(_0x613224(0x13b))/0x5+-parseInt(_0x613224(0x137))/0x6+parseInt(_0x613224(0x13c))/0x7;if(_0x372c77===_0x4faab0)break;else _0x5996de['push'](_0x5996de['shift']());}catch(_0x54f279){_0x5996de['push'](_0x5996de['shift']());}}}(_0x3379,0x86045));function _0x3379(){const _0x3c838c=['951838aGpRJF','wVaCx','447420jyqlhD','826112rnrRch','79161pDgKPj','3032820tgaDzJ','5392755hicgIJ','6169408PgdaOx'];_0x3379=function(){return _0x3c838c;};return _0x3379();}const VERIFY_MODEL_ALIASES={'opus':'claude-opus-4-6','sonnet':'claude-sonnet-4-6'};function _0x4eb7(_0xae1d58,_0x3b6e77){_0xae1d58=_0xae1d58-0x137;const _0x3379fd=_0x3379();let _0x4eb701=_0x3379fd[_0xae1d58];return _0x4eb701;}export const DEFAULT_VERIFY_MODEL='claude-sonnet-4-6';export function resolveVerifyModel(_0x6fb3ad){const _0x391728=_0x4eb7,_0x16219b={'wVaCx':function(_0x2c1186,_0x2285c5){return _0x2c1186??_0x2285c5;}};if(!_0x6fb3ad)return undefined;const _0x154837=_0x6fb3ad['trim']();if(!_0x154837)return undefined;const _0x3467dc=VERIFY_MODEL_ALIASES[_0x154837['toLowerCase']()];return _0x16219b[_0x391728(0x13e)](_0x3467dc,_0x154837);}
@@ -1 +1 @@
1
- function _0x1a61(_0x2dfaed,_0x29f6e8){_0x2dfaed=_0x2dfaed-0x95;var _0xefe20d=_0xefe2();var _0x1a618a=_0xefe20d[_0x2dfaed];return _0x1a618a;}(function(_0x1a1672,_0x2aefaa){var _0xa86ddc=_0x1a61,_0x5ea954=_0x1a1672();while(!![]){try{var _0x131ec2=parseInt(_0xa86ddc(0xa1))/0x1*(-parseInt(_0xa86ddc(0x9c))/0x2)+-parseInt(_0xa86ddc(0xa0))/0x3+-parseInt(_0xa86ddc(0x9d))/0x4+-parseInt(_0xa86ddc(0xa2))/0x5+parseInt(_0xa86ddc(0x9b))/0x6+parseInt(_0xa86ddc(0x9e))/0x7*(-parseInt(_0xa86ddc(0x96))/0x8)+parseInt(_0xa86ddc(0x98))/0x9*(parseInt(_0xa86ddc(0xa3))/0xa);if(_0x131ec2===_0x2aefaa)break;else _0x5ea954['push'](_0x5ea954['shift']());}catch(_0x3743d0){_0x5ea954['push'](_0x5ea954['shift']());}}}(_0xefe2,0xe89de));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';export function getOpencodeConfigDir(_0x523e71){var _0x289339=_0x1a61,_0x4803ad={'QvdWy':function(_0x3e8dda,_0x20d898,_0x399e2d){return _0x3e8dda(_0x20d898,_0x399e2d);},'xOlZS':function(_0x432287){return _0x432287();},'GWynx':'.opencode'};if(process['env']['OPENCODE_CONFIG_DIR'])return process[_0x289339(0x9a)]['OPENCODE_CONFIG_DIR'];if(_0x523e71==='user'){if(process[_0x289339(0x9a)][_0x289339(0x9f)])return _0x4803ad[_0x289339(0x99)](join,process[_0x289339(0x9a)][_0x289339(0x9f)],'opencode');return join(homedir(),'.config','opencode');}return join(_0x4803ad[_0x289339(0x97)](getProjectRoot),_0x4803ad['GWynx']);}export function getOpencodeSkillsDir(_0x444157){var _0x160f61=_0x1a61,_0x11c97b={'VbRWm':function(_0x144721,_0x566a63){return _0x144721(_0x566a63);},'kDsGT':'skills'};return join(_0x11c97b['VbRWm'](getOpencodeConfigDir,_0x444157),_0x11c97b[_0x160f61(0x95)]);}function _0xefe2(){var _0x41ce18=['QvdWy','env','1761798JTjgPj','46FjvLBy','898888COimmm','9337622Lyfigp','XDG_CONFIG_HOME','2156769AdBgTi','76993MDOOlj','5580300wnVZBn','11647310KOggcH','kDsGT','8MuFyER','xOlZS','45LirSQL'];_0xefe2=function(){return _0x41ce18;};return _0xefe2();}
1
+ (function(_0x337ccf,_0x3fe40c){var _0x122beb=_0x1701,_0x583f0a=_0x337ccf();while(!![]){try{var _0x2760e8=parseInt(_0x122beb(0x1c5))/0x1*(-parseInt(_0x122beb(0x1d1))/0x2)+parseInt(_0x122beb(0x1cd))/0x3*(-parseInt(_0x122beb(0x1cf))/0x4)+parseInt(_0x122beb(0x1c7))/0x5*(parseInt(_0x122beb(0x1d0))/0x6)+parseInt(_0x122beb(0x1cb))/0x7*(-parseInt(_0x122beb(0x1c9))/0x8)+parseInt(_0x122beb(0x1d4))/0x9*(parseInt(_0x122beb(0x1d3))/0xa)+parseInt(_0x122beb(0x1c6))/0xb*(-parseInt(_0x122beb(0x1ca))/0xc)+parseInt(_0x122beb(0x1cc))/0xd;if(_0x2760e8===_0x3fe40c)break;else _0x583f0a['push'](_0x583f0a['shift']());}catch(_0x23dc02){_0x583f0a['push'](_0x583f0a['shift']());}}}(_0x5831,0x9347a));import{homedir}from'os';import{join}from'path';import{getProjectRoot}from'./claudeConfig.js';function _0x5831(){var _0x1abd51=['opencode','171dGrmPT','10515549ShVEde','334315BhgxYZ','XDG_CONFIG_HOME','7048YIyuTb','12sKrODm','4823OJMEmP','15980159fccTRE','3KeufMa','env','1633340TaqYQE','102BYsfos','8038DMQHmF','.opencode','230DJMeRO','350568MKWzHs','uJYlf'];_0x5831=function(){return _0x1abd51;};return _0x5831();}export function getOpencodeConfigDir(_0x221f7e){var _0x14e3d3=_0x1701,_0x4fbe21={'YBNxI':function(_0x973a7f,_0x5d8a1b,_0x55fa7c){return _0x973a7f(_0x5d8a1b,_0x55fa7c);},'JDYYb':function(_0xb692ab,_0x40890f,_0x38d2fe,_0x4711da){return _0xb692ab(_0x40890f,_0x38d2fe,_0x4711da);},'uJYlf':function(_0x59e5e7,_0x5bc8eb,_0x4aea92){return _0x59e5e7(_0x5bc8eb,_0x4aea92);}};if(process['env']['OPENCODE_CONFIG_DIR'])return process['env']['OPENCODE_CONFIG_DIR'];if(_0x221f7e==='user'){if(process['env'][_0x14e3d3(0x1c8)])return _0x4fbe21['YBNxI'](join,process[_0x14e3d3(0x1ce)]['XDG_CONFIG_HOME'],'opencode');return _0x4fbe21['JDYYb'](join,homedir(),'.config',_0x14e3d3(0x1c4));}return _0x4fbe21[_0x14e3d3(0x1d5)](join,getProjectRoot(),_0x14e3d3(0x1d2));}function _0x1701(_0x14639e,_0x257647){_0x14639e=_0x14639e-0x1c4;var _0x5831ee=_0x5831();var _0x170142=_0x5831ee[_0x14639e];return _0x170142;}export function getOpencodeSkillsDir(_0x477d63){var _0x81f1a6={'TSxJs':function(_0x2ef3bf,_0x51056b,_0x2c5837){return _0x2ef3bf(_0x51056b,_0x2c5837);},'IjHFG':function(_0xb436ef,_0x22a073){return _0xb436ef(_0x22a073);}};return _0x81f1a6['TSxJs'](join,_0x81f1a6['IjHFG'](getOpencodeConfigDir,_0x477d63),'skills');}
@@ -1 +1 @@
1
- const _0x47626b=_0x554b;function _0x554b(_0x1525ce,_0x3a6857){_0x1525ce=_0x1525ce-0x17f;const _0x52ea68=_0x52ea();let _0x554b07=_0x52ea68[_0x1525ce];return _0x554b07;}(function(_0x16ec94,_0x28fd53){const _0x2c67c5=_0x554b,_0x3f9ddd=_0x16ec94();while(!![]){try{const _0x11cb8d=-parseInt(_0x2c67c5(0x197))/0x1*(-parseInt(_0x2c67c5(0x182))/0x2)+-parseInt(_0x2c67c5(0x1b2))/0x3+parseInt(_0x2c67c5(0x1b5))/0x4+-parseInt(_0x2c67c5(0x18c))/0x5*(-parseInt(_0x2c67c5(0x193))/0x6)+parseInt(_0x2c67c5(0x196))/0x7+parseInt(_0x2c67c5(0x1b4))/0x8+-parseInt(_0x2c67c5(0x18d))/0x9;if(_0x11cb8d===_0x28fd53)break;else _0x3f9ddd['push'](_0x3f9ddd['shift']());}catch(_0x38237b){_0x3f9ddd['push'](_0x3f9ddd['shift']());}}}(_0x52ea,0xee920));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY=_0x47626b(0x181);function toPlaywrightCliSessionKey(_0x3c11e3){const _0x2ed47f=_0x47626b,_0x2fab5f={'LJmHG':'sha256','pamYv':_0x2ed47f(0x1b0)},_0x18632d=createHash(_0x2fab5f[_0x2ed47f(0x191)])[_0x2ed47f(0x190)](_0x3c11e3)[_0x2ed47f(0x17f)](_0x2fab5f[_0x2ed47f(0x1a2)])['slice'](0x0,0xc);return _0x2ed47f(0x18e)+_0x18632d;}function shellQuote(_0x3e6563){return'\x27'+_0x3e6563['replace'](/'/g,'\x27\x5c\x27\x27')+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;export function quoteShellArg(_0x2228dd){const _0x460de6={'lwqBn':function(_0x1b9cd7,_0x24de93){return _0x1b9cd7(_0x24de93);}};return SAFE_SHELL_TOKEN['test'](_0x2228dd)?_0x2228dd:_0x460de6['lwqBn'](shellQuote,_0x2228dd);}export function buildPlaywrightCliInvocation(_0x459802,_0x420020,_0x563b97){const _0x5e9083=_0x47626b,_0x4a769b={'CfRGw':function(_0x4db4e5,_0x33d892){return _0x4db4e5(_0x33d892);},'lVyBt':_0x5e9083(0x183),'VnFlO':function(_0x11b503,_0x80c266){return _0x11b503(_0x80c266);},'onlzN':_0x5e9083(0x194),'NMpMM':function(_0x46bfad,_0x4d6574){return _0x46bfad(_0x4d6574);}},_0x157612=_0x4a769b[_0x5e9083(0x18b)](toPlaywrightCliSessionKey,_0x459802),[_0x5efa2f=_0x4a769b['lVyBt']]=_0x563b97,_0x85bd88=[PLAYWRIGHT_CLI_BINARY,'-s='+_0x157612,_0x5e9083(0x194),_0x420020,..._0x563b97];return{'command':_0x5e9083(0x180),'args':_0x85bd88,'shellCommand':[_0x5e9083(0x180),PLAYWRIGHT_CLI_BINARY,'-s='+_0x4a769b['VnFlO'](quoteShellArg,_0x157612),_0x4a769b[_0x5e9083(0x1a6)],_0x4a769b['NMpMM'](quoteShellArg,_0x420020),..._0x563b97['map'](quoteShellArg)]['join']('\x20'),'subcommand':_0x5efa2f};}export function buildPlaywrightCliCommandPrefix(_0x3e397d,_0x211c27){const _0x5774d1=_0x47626b,_0x1a7744={'xHNNJ':_0x5774d1(0x180),'dXHyl':function(_0x2d4822,_0x57bf49){return _0x2d4822(_0x57bf49);},'MFlYV':'--config'},_0x1ab7b1=toPlaywrightCliSessionKey(_0x3e397d);return[_0x1a7744['xHNNJ'],PLAYWRIGHT_CLI_BINARY,_0x5774d1(0x1a0)+_0x1a7744[_0x5774d1(0x1ad)](quoteShellArg,_0x1ab7b1),_0x1a7744['MFlYV'],quoteShellArg(_0x211c27)][_0x5774d1(0x188)]('\x20');}function _0x52ea(){const _0x2b2704=['YUurz','kill','close','stdout','-s=','rQtqn','pamYv','toString','pipe','command','onlzN','AXRBm','slice','EaeQf','CdENH','values','stderr','dXHyl','trim','\x0astdout:\x20','hex','sessionId','1953516BAANZG','exited\x20with\x20code=','5407128nUMLEQ','762784JuKAmE','string','script','find','digest','npx','@playwright/cli','2vRZurO','unknown','DWCXJ','bash_command','null','subcommand','join','env','dIMJx','CfRGw','405tdpfox','23420232hCrHPo','rg-','cmd','update','LJmHG','wxUar','27036PhfBPF','--config','SIGKILL','9496186kEZlst','1642433OnGveS','timeoutMs','data','aAvFj','args'];_0x52ea=function(){return _0x2b2704;};return _0x52ea();}function truncateOutput(_0x361b1b,_0x4bb90e=0x7d0){const _0x298acb=_0x47626b,_0x2a2d12={'TtHON':function(_0x3c3ea8,_0xc25de3){return _0x3c3ea8>_0xc25de3;},'YpcGs':function(_0x1902a0,_0x1c1c62){return _0x1902a0+_0x1c1c62;},'cowwv':'...'};return _0x2a2d12['TtHON'](_0x361b1b['length'],_0x4bb90e)?_0x2a2d12['YpcGs'](_0x361b1b[_0x298acb(0x1a8)](0x0,_0x4bb90e),_0x2a2d12['cowwv']):_0x361b1b;}export async function runPlaywrightCliCommand(_0x534628){const _0x245ed1=_0x47626b,_0x45b610={'wxUar':function(_0x16e087,_0x2df891){return _0x16e087(_0x2df891);},'OXJGZ':function(_0x4a4219,_0xaadbe6){return _0x4a4219===_0xaadbe6;},'YUurz':function(_0x3b8c3c,_0xcde517){return _0x3b8c3c??_0xcde517;},'CdENH':_0x245ed1(0x186),'dIMJx':function(_0x109792,_0x5484a4){return _0x109792(_0x5484a4);},'aAvFj':function(_0x4468e7,_0x32e7d8){return _0x4468e7(_0x32e7d8);},'cVDly':'ignore','vTJHg':function(_0x1f8526,_0x4c45c8){return _0x1f8526>_0x4c45c8;},'rQtqn':_0x245ed1(0x199),'nCDju':'error'},_0x42f88c=buildPlaywrightCliInvocation(_0x534628[_0x245ed1(0x1b1)],_0x534628['configPath'],_0x534628['commandArgs']);return new Promise((_0x5adaaa,_0x477511)=>{const _0x5197a4=_0x245ed1,_0x524308={'DWCXJ':_0x5197a4(0x195),'JUAcM':function(_0xccec43,_0x1dad35){const _0x2c22ff=_0x5197a4;return _0x45b610[_0x2c22ff(0x192)](_0xccec43,_0x1dad35);}},_0xb7679a=spawn(_0x42f88c[_0x5197a4(0x1a5)],_0x42f88c[_0x5197a4(0x19b)],{'cwd':_0x534628['cwd'],'env':_0x534628[_0x5197a4(0x189)],'stdio':[_0x45b610['cVDly'],_0x5197a4(0x1a4),_0x5197a4(0x1a4)]});let _0x502931='',_0x2d7a9f='',_0x3601fa=![];const _0x39b09c=_0x534628['timeoutMs']&&_0x45b610['vTJHg'](_0x534628['timeoutMs'],0x0)?setTimeout(()=>{const _0x54e51d=_0x5197a4,_0x1dbc40={'wASCs':_0x524308[_0x54e51d(0x184)]};_0x3601fa=!![],_0xb7679a['kill']('SIGTERM'),setTimeout(()=>{const _0x50b2e1=_0x54e51d;try{_0xb7679a[_0x50b2e1(0x19d)](_0x1dbc40['wASCs']);}catch{}},0x3e8);},_0x534628[_0x5197a4(0x198)]):null;_0xb7679a[_0x5197a4(0x19f)]?.['on'](_0x45b610[_0x5197a4(0x1a1)],_0x540656=>{_0x502931+=_0x540656['toString']();}),_0xb7679a[_0x5197a4(0x1ac)]?.['on'](_0x5197a4(0x199),_0x52c3be=>{const _0x35f8ce=_0x5197a4;_0x2d7a9f+=_0x52c3be[_0x35f8ce(0x1a3)]();}),_0xb7679a['on'](_0x45b610['nCDju'],_0x4e9883=>{if(_0x39b09c)_0x524308['JUAcM'](clearTimeout,_0x39b09c);_0x477511(_0x4e9883);}),_0xb7679a['on'](_0x5197a4(0x19e),(_0x1731d7,_0x113673)=>{const _0x528019=_0x5197a4;if(_0x39b09c)_0x45b610[_0x528019(0x192)](clearTimeout,_0x39b09c);if(_0x45b610['OXJGZ'](_0x1731d7,0x0)){_0x5adaaa({'stdout':_0x502931,'stderr':_0x2d7a9f,'invocation':_0x42f88c});return;}const _0x1eef12=_0x3601fa?'timed\x20out\x20after\x20'+_0x534628['timeoutMs']+'ms':_0x528019(0x1b3)+_0x45b610['YUurz'](_0x1731d7,'null')+'\x20signal='+_0x45b610[_0x528019(0x19c)](_0x113673,_0x45b610[_0x528019(0x1aa)]);_0x45b610[_0x528019(0x18a)](_0x477511,new Error('playwright-cli\x20'+_0x42f88c[_0x528019(0x187)]+'\x20'+_0x1eef12+_0x528019(0x1af)+_0x45b610[_0x528019(0x19a)](truncateOutput,_0x502931)+'\x0astderr:\x20'+truncateOutput(_0x2d7a9f)));});});}export function extractBashCommand(_0x2239c6){const _0x471ba8=_0x47626b,_0x20991f={'eMJPg':_0x471ba8(0x1a5),'AXRBm':function(_0x28b9af,_0x46de69){return _0x28b9af===_0x46de69;},'EaeQf':function(_0x21479e,_0x59daef){return _0x21479e??_0x59daef;}},_0x16f894=[_0x20991f['eMJPg'],_0x471ba8(0x18f),_0x471ba8(0x1b7),_0x471ba8(0x185)];for(const _0x2d6ddd of _0x16f894){const _0x3c0d7b=_0x2239c6[_0x2d6ddd];if(_0x20991f[_0x471ba8(0x1a7)](typeof _0x3c0d7b,_0x471ba8(0x1b6))&&_0x3c0d7b['trim']())return _0x3c0d7b;}const _0x537ffb=Object[_0x471ba8(0x1ab)](_0x2239c6)[_0x471ba8(0x1b8)](_0x26dd32=>typeof _0x26dd32==='string'&&_0x26dd32[_0x471ba8(0x1ae)]()['length']>0x0);return _0x20991f[_0x471ba8(0x1a9)](_0x537ffb,null);}export function parsePlaywrightCliCommand(_0x39e2af){const _0x69c0ff=_0x39e2af['match'](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x69c0ff?.[0x1]??null;}
1
+ (function(_0x44a63a,_0x4e172d){const _0x56f243=_0x3f0b,_0x4133e3=_0x44a63a();while(!![]){try{const _0x41dcf6=parseInt(_0x56f243(0x16b))/0x1+parseInt(_0x56f243(0x170))/0x2+parseInt(_0x56f243(0x18a))/0x3+-parseInt(_0x56f243(0x168))/0x4*(parseInt(_0x56f243(0x17e))/0x5)+parseInt(_0x56f243(0x18b))/0x6+parseInt(_0x56f243(0x199))/0x7+-parseInt(_0x56f243(0x16e))/0x8;if(_0x41dcf6===_0x4e172d)break;else _0x4133e3['push'](_0x4133e3['shift']());}catch(_0x23bf79){_0x4133e3['push'](_0x4133e3['shift']());}}}(_0x432a,0x383d2));import{spawn}from'child_process';import{createHash}from'crypto';export const PLAYWRIGHT_CLI_BINARY='@playwright/cli';function toPlaywrightCliSessionKey(_0x13ede4){const _0x102ade=_0x3f0b,_0x422338={'GEqcb':_0x102ade(0x196)},_0x5abd6c=createHash(_0x422338[_0x102ade(0x16f)])['update'](_0x13ede4)[_0x102ade(0x16c)]('hex')['slice'](0x0,0xc);return'rg-'+_0x5abd6c;}function shellQuote(_0x41c538){const _0x2908fd=_0x3f0b;return'\x27'+_0x41c538['replace'](/'/g,_0x2908fd(0x16d))+'\x27';}const SAFE_SHELL_TOKEN=/^[A-Za-z0-9_./:@%+=,-]+$/;function _0x3f0b(_0x12675d,_0x167d9d){_0x12675d=_0x12675d-0x15f;const _0x432a67=_0x432a();let _0x3f0b31=_0x432a67[_0x12675d];return _0x3f0b31;}function _0x432a(){const _0x5933bb=['149235oHFpwv','kzbiF','lAmzU','gPRes','null','bpGxZ','lQtrC','args','join','length','unknown','JyEIE','284571diRuHG','237546KsrSMR','slice','kolIU','\x0astdout:\x20','IcDgX','\x0astderr:\x20','npx','env','NABZq','script','HxyLw','sha256','string','yWMnk','839678AzRjUC','stdout','dIAto','timed\x20out\x20after\x20','NZLqK','mVkMI','ignore','cmd','commandArgs','jnAKw','12jNawnW','error','toString','82284dYARuS','digest','\x27\x5c\x27\x27','2725480maZXvI','GEqcb','647788zMDHZK','trim','subcommand','configPath','close','BlMhW','playwright-cli\x20','map','-s=','stderr','test','command','pcafG','match'];_0x432a=function(){return _0x5933bb;};return _0x432a();}export function quoteShellArg(_0x3afbe6){const _0x56eaca=_0x3f0b;return SAFE_SHELL_TOKEN[_0x56eaca(0x17a)](_0x3afbe6)?_0x3afbe6:shellQuote(_0x3afbe6);}export function buildPlaywrightCliInvocation(_0xcbc8d0,_0x3cd85d,_0x327977){const _0x1d8499=_0x3f0b,_0x2273da={'gHvKx':function(_0x4e40c8,_0x165895){return _0x4e40c8(_0x165895);},'rPsoP':'--config','JyEIE':'npx'},_0x32a662=_0x2273da['gHvKx'](toPlaywrightCliSessionKey,_0xcbc8d0),[_0x2add25=_0x1d8499(0x188)]=_0x327977,_0x42c837=[PLAYWRIGHT_CLI_BINARY,_0x1d8499(0x178)+_0x32a662,_0x2273da['rPsoP'],_0x3cd85d,..._0x327977];return{'command':_0x2273da['JyEIE'],'args':_0x42c837,'shellCommand':[_0x2273da[_0x1d8499(0x189)],PLAYWRIGHT_CLI_BINARY,_0x1d8499(0x178)+quoteShellArg(_0x32a662),_0x2273da['rPsoP'],quoteShellArg(_0x3cd85d),..._0x327977[_0x1d8499(0x177)](quoteShellArg)][_0x1d8499(0x186)]('\x20'),'subcommand':_0x2add25};}export function buildPlaywrightCliCommandPrefix(_0x40b1cc,_0x30f1fd){const _0x403845=_0x3f0b,_0x92d106={'IcDgX':function(_0x4b3813,_0x2b67e3){return _0x4b3813(_0x2b67e3);},'jnAKw':_0x403845(0x191),'dzbjh':function(_0x316dab,_0x5127a6){return _0x316dab(_0x5127a6);},'yWMnk':'--config'},_0x151ed1=_0x92d106[_0x403845(0x18f)](toPlaywrightCliSessionKey,_0x40b1cc);return[_0x92d106[_0x403845(0x167)],PLAYWRIGHT_CLI_BINARY,_0x403845(0x178)+_0x92d106['dzbjh'](quoteShellArg,_0x151ed1),_0x92d106[_0x403845(0x198)],quoteShellArg(_0x30f1fd)]['join']('\x20');}function truncateOutput(_0x180632,_0x32de1f=0x7d0){const _0x45e2ad=_0x3f0b,_0x18f54a={'xVADM':function(_0x39e04e,_0x569381){return _0x39e04e+_0x569381;},'bpGxZ':'...'};return _0x180632[_0x45e2ad(0x187)]>_0x32de1f?_0x18f54a['xVADM'](_0x180632[_0x45e2ad(0x18c)](0x0,_0x32de1f),_0x18f54a[_0x45e2ad(0x183)]):_0x180632;}export async function runPlaywrightCliCommand(_0x5a7e5e){const _0x1a5770=_0x3f0b,_0x43a481={'peNzv':'SIGKILL','gPRes':'SIGTERM','etXGY':function(_0x46f240,_0x236404){return _0x46f240(_0x236404);},'lQtrC':function(_0x42d02f,_0x247054){return _0x42d02f??_0x247054;},'ilHQr':function(_0x5343fb,_0x37c33b,_0x4bbbc0,_0xd7024c){return _0x5343fb(_0x37c33b,_0x4bbbc0,_0xd7024c);},'HxyLw':_0x1a5770(0x164),'mVkMI':'pipe','dIAto':function(_0x592dba,_0x195b38,_0x3a0da5){return _0x592dba(_0x195b38,_0x3a0da5);},'NZLqK':'data'},_0x955323=buildPlaywrightCliInvocation(_0x5a7e5e['sessionId'],_0x5a7e5e[_0x1a5770(0x173)],_0x5a7e5e[_0x1a5770(0x166)]);return new Promise((_0x512eb1,_0x5ea743)=>{const _0x27fb45=_0x1a5770,_0x30265f={'EtPau':_0x43a481['peNzv'],'BlMhW':_0x43a481[_0x27fb45(0x181)],'GwRge':function(_0x413e65,_0xf957c8,_0xbfa191){return _0x413e65(_0xf957c8,_0xbfa191);},'NABZq':function(_0x16923a,_0x25c9c0){return _0x43a481['etXGY'](_0x16923a,_0x25c9c0);},'kzbiF':function(_0x202006,_0x2601ec){const _0x2b05e7=_0x27fb45;return _0x43a481[_0x2b05e7(0x184)](_0x202006,_0x2601ec);},'FnbGy':_0x27fb45(0x182),'PmGxv':function(_0x46e1bf,_0x244e54){return _0x46e1bf(_0x244e54);}},_0xa638cd=_0x43a481['ilHQr'](spawn,_0x955323[_0x27fb45(0x17b)],_0x955323[_0x27fb45(0x185)],{'cwd':_0x5a7e5e['cwd'],'env':_0x5a7e5e[_0x27fb45(0x192)],'stdio':[_0x43a481[_0x27fb45(0x195)],_0x43a481[_0x27fb45(0x163)],_0x43a481[_0x27fb45(0x163)]]});let _0x3d8f24='',_0x4af739='',_0x4bb6dc=![];const _0x3cf7f9=_0x5a7e5e['timeoutMs']&&_0x5a7e5e['timeoutMs']>0x0?_0x43a481[_0x27fb45(0x160)](setTimeout,()=>{const _0x4a1a0d=_0x27fb45,_0xb16253={'BndBF':_0x30265f['EtPau']};_0x4bb6dc=!![],_0xa638cd['kill'](_0x30265f[_0x4a1a0d(0x175)]),_0x30265f['GwRge'](setTimeout,()=>{try{_0xa638cd['kill'](_0xb16253['BndBF']);}catch{}},0x3e8);},_0x5a7e5e['timeoutMs']):null;_0xa638cd[_0x27fb45(0x15f)]?.['on']('data',_0x39ebe8=>{const _0x213a6f=_0x27fb45;_0x3d8f24+=_0x39ebe8[_0x213a6f(0x16a)]();}),_0xa638cd[_0x27fb45(0x179)]?.['on'](_0x43a481[_0x27fb45(0x162)],_0x1849e1=>{_0x4af739+=_0x1849e1['toString']();}),_0xa638cd['on'](_0x27fb45(0x169),_0x423ff6=>{if(_0x3cf7f9)clearTimeout(_0x3cf7f9);_0x5ea743(_0x423ff6);}),_0xa638cd['on'](_0x27fb45(0x174),(_0x3dce08,_0x1afc18)=>{const _0x177d82=_0x27fb45;if(_0x3cf7f9)_0x30265f[_0x177d82(0x193)](clearTimeout,_0x3cf7f9);if(_0x3dce08===0x0){_0x512eb1({'stdout':_0x3d8f24,'stderr':_0x4af739,'invocation':_0x955323});return;}const _0xc46710=_0x4bb6dc?_0x177d82(0x161)+_0x5a7e5e['timeoutMs']+'ms':'exited\x20with\x20code='+_0x30265f[_0x177d82(0x17f)](_0x3dce08,'null')+'\x20signal='+_0x30265f[_0x177d82(0x17f)](_0x1afc18,_0x30265f['FnbGy']);_0x30265f['PmGxv'](_0x5ea743,new Error(_0x177d82(0x176)+_0x955323[_0x177d82(0x172)]+'\x20'+_0xc46710+_0x177d82(0x18e)+truncateOutput(_0x3d8f24)+_0x177d82(0x190)+truncateOutput(_0x4af739)));});});}export function extractBashCommand(_0x6d3d62){const _0x368432=_0x3f0b,_0x5b7154={'lAmzU':_0x368432(0x165),'pcafG':'bash_command','kolIU':function(_0x550f83,_0x557277){return _0x550f83??_0x557277;}},_0xb98e40=['command',_0x5b7154[_0x368432(0x180)],_0x368432(0x194),_0x5b7154[_0x368432(0x17c)]];for(const _0x28d044 of _0xb98e40){const _0x48459e=_0x6d3d62[_0x28d044];if(typeof _0x48459e===_0x368432(0x197)&&_0x48459e[_0x368432(0x171)]())return _0x48459e;}const _0x363e5=Object['values'](_0x6d3d62)['find'](_0x4ff034=>typeof _0x4ff034==='string'&&_0x4ff034[_0x368432(0x171)]()[_0x368432(0x187)]>0x0);return _0x5b7154[_0x368432(0x18d)](_0x363e5,null);}export function parsePlaywrightCliCommand(_0x5ea2ac){const _0x5913a3=_0x3f0b,_0x269589=_0x5ea2ac[_0x5913a3(0x17d)](/(?:^|\s)(?:npx\s+)?(?:@playwright\/cli|playwright-cli)\s+(?:-s=\S+\s+)?(?:--config(?:=|\s+)(?:"[^"]+"|'[^']+'|\S+)\s+)?([a-z-]+)/);return _0x269589?.[0x1]??null;}
@@ -1 +1 @@
1
- const _0x44e812=_0x4628;function _0x4628(_0x29103a,_0x2d45f8){_0x29103a=_0x29103a-0x156;const _0x5bee4b=_0x5bee();let _0x462899=_0x5bee4b[_0x29103a];return _0x462899;}(function(_0x9ea120,_0x1157fb){const _0x153686=_0x4628,_0xf2b0dc=_0x9ea120();while(!![]){try{const _0x339d3d=-parseInt(_0x153686(0x156))/0x1+-parseInt(_0x153686(0x15b))/0x2+parseInt(_0x153686(0x158))/0x3*(-parseInt(_0x153686(0x15e))/0x4)+-parseInt(_0x153686(0x157))/0x5*(parseInt(_0x153686(0x163))/0x6)+-parseInt(_0x153686(0x15d))/0x7+-parseInt(_0x153686(0x15a))/0x8*(parseInt(_0x153686(0x162))/0x9)+parseInt(_0x153686(0x15c))/0xa*(parseInt(_0x153686(0x160))/0xb);if(_0x339d3d===_0x1157fb)break;else _0xf2b0dc['push'](_0xf2b0dc['shift']());}catch(_0x5ba368){_0xf2b0dc['push'](_0xf2b0dc['shift']());}}}(_0x5bee,0xb7fab));function _0x5bee(){const _0x6b49c9=['ranger\x20profile\x20add\x20local','9814648TlvzYt','2026042wsGfOT','110MmqIfa','3039841zTzvkR','524iQLSgN','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','4661833MIizxq','mnHFQ','9pCUhcB','30RZlXSB','561495rfnWMH','376060XuKDhM','6792lqfQWc'];_0x5bee=function(){return _0x6b49c9;};return _0x5bee();}const DEFAULT_PROFILE_COMMAND=_0x44e812(0x159);export function formatProfileRequiredMessage(_0x50812b){const _0x2dbbc3=_0x44e812,_0x98f7f5={'mnHFQ':function(_0x54a140,_0x42ce00){return _0x54a140(_0x42ce00);}},_0x4c67a6=_0x50812b?_0x98f7f5[_0x2dbbc3(0x161)](_0x50812b,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x2dbbc3(0x15f)+_0x4c67a6+'.';}
1
+ const _0x276a3d=_0x23d9;(function(_0x153fe4,_0x2e2468){const _0x33857e=_0x23d9,_0x10197b=_0x153fe4();while(!![]){try{const _0x325b74=parseInt(_0x33857e(0xef))/0x1*(parseInt(_0x33857e(0xf0))/0x2)+parseInt(_0x33857e(0xe9))/0x3+-parseInt(_0x33857e(0xe7))/0x4*(-parseInt(_0x33857e(0xf2))/0x5)+parseInt(_0x33857e(0xf1))/0x6*(parseInt(_0x33857e(0xee))/0x7)+-parseInt(_0x33857e(0xe8))/0x8+-parseInt(_0x33857e(0xec))/0x9*(parseInt(_0x33857e(0xea))/0xa)+-parseInt(_0x33857e(0xed))/0xb;if(_0x325b74===_0x2e2468)break;else _0x10197b['push'](_0x10197b['shift']());}catch(_0x10654e){_0x10197b['push'](_0x10197b['shift']());}}}(_0x1258,0x22c8d));function _0x1258(){const _0x12117a=['938940usKQKR','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','18ANSCsM','826903AaMtwQ','16597TERNrL','93986YxZDkN','6ngEskr','330LSVkgU','25VBvegc','ranger\x20profile\x20add\x20local','1808LOYZZV','1692696hJXGTp','607206LKdeIE'];_0x1258=function(){return _0x12117a;};return _0x1258();}const DEFAULT_PROFILE_COMMAND=_0x276a3d(0xf3);function _0x23d9(_0x579fff,_0xb80060){_0x579fff=_0x579fff-0xe7;const _0x1258fa=_0x1258();let _0x23d948=_0x1258fa[_0x579fff];return _0x23d948;}export function formatProfileRequiredMessage(_0x1c6e99){const _0x26dbf2=_0x276a3d,_0x31829d={'Aulkx':function(_0x3393df,_0x2e6fb1){return _0x3393df(_0x2e6fb1);}},_0x340b35=_0x1c6e99?_0x31829d['Aulkx'](_0x1c6e99,DEFAULT_PROFILE_COMMAND):DEFAULT_PROFILE_COMMAND;return _0x26dbf2(0xeb)+_0x340b35+'.';}
@@ -1 +1 @@
1
- (function(_0x3c9965,_0x4edba8){const _0x41f0d4=_0x4f41,_0x3d3408=_0x3c9965();while(!![]){try{const _0x187e8a=parseInt(_0x41f0d4(0x9f))/0x1*(parseInt(_0x41f0d4(0xa2))/0x2)+-parseInt(_0x41f0d4(0xaa))/0x3+-parseInt(_0x41f0d4(0xa8))/0x4*(parseInt(_0x41f0d4(0xa0))/0x5)+-parseInt(_0x41f0d4(0xa5))/0x6*(parseInt(_0x41f0d4(0xa4))/0x7)+parseInt(_0x41f0d4(0x95))/0x8+-parseInt(_0x41f0d4(0x9d))/0x9+-parseInt(_0x41f0d4(0x96))/0xa*(-parseInt(_0x41f0d4(0xa3))/0xb);if(_0x187e8a===_0x4edba8)break;else _0x3d3408['push'](_0x3d3408['shift']());}catch(_0x2fb587){_0x3d3408['push'](_0x3d3408['shift']());}}}(_0x7a43,0xecbbc));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x434fb6=_0x4f41,_0x255df4={'aXZHp':function(_0x59281c,_0x5e5fd3){return _0x59281c+_0x5e5fd3;},'MMoha':function(_0x520c0c,_0x5e9241){return _0x520c0c+_0x5e9241;},'GUVZA':function(_0x10bd7b,_0x338fae){return _0x10bd7b+_0x338fae;},'OGXbp':'<div\x20class=\x22ranger-banner__content\x22>','nMSXW':_0x434fb6(0xa7),'WRbnp':_0x434fb6(0x99),'wPvod':'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>'},_0xd48ae7=_0x255df4[_0x434fb6(0xa9)](_0x255df4[_0x434fb6(0x9b)](_0x255df4[_0x434fb6(0xa6)](_0x255df4[_0x434fb6(0x97)],_0x255df4[_0x434fb6(0x9e)]),'<div\x20class=\x22ranger-banner__message\x22>')+'<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>',_0x434fb6(0x9c))+_0x255df4[_0x434fb6(0xa1)]+_0x255df4['WRbnp']+_0x255df4[_0x434fb6(0x94)],_0x3a64a3='\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 _0x434fb6(0x9a)+JSON['stringify'](_0xd48ae7)+';\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[_0x434fb6(0x98)](_0x3a64a3)+';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a';})());function _0x4f41(_0x5598d1,_0x22d8c5){_0x5598d1=_0x5598d1-0x94;const _0x7a43e=_0x7a43();let _0x4f4176=_0x7a43e[_0x5598d1];return _0x4f4176;}export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x7a43(){const _0xdb4370=['WRbnp','2TKypbi','121omQQnQ','445718fOleyG','48zVRRqI','GUVZA','<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','612nSgFsb','aXZHp','1658289oZqtMz','wPvod','10259248NeNAQY','1682840chjuWW','OGXbp','stringify','</div>','\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','MMoha','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','9734265btIaWq','nMSXW','1269813hNqixt','42155KLJkei'];_0x7a43=function(){return _0xdb4370;};return _0x7a43();}export async function addProfileSetupBanner(_0x46e90c){await _0x46e90c['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}
1
+ (function(_0x1a61c1,_0x2e6ab4){const _0x2fdb01=_0x190a,_0x212a2a=_0x1a61c1();while(!![]){try{const _0xef8a4b=parseInt(_0x2fdb01(0x189))/0x1+parseInt(_0x2fdb01(0x194))/0x2+parseInt(_0x2fdb01(0x186))/0x3*(-parseInt(_0x2fdb01(0x190))/0x4)+parseInt(_0x2fdb01(0x187))/0x5+-parseInt(_0x2fdb01(0x191))/0x6+-parseInt(_0x2fdb01(0x193))/0x7+parseInt(_0x2fdb01(0x18d))/0x8;if(_0xef8a4b===_0x2e6ab4)break;else _0x212a2a['push'](_0x212a2a['shift']());}catch(_0x1e9086){_0x212a2a['push'](_0x212a2a['shift']());}}}(_0x2785,0xa68d5));const PROFILE_SETUP_BANNER_SCRIPT=((()=>{const _0x36affd=_0x190a,_0x51298f={'XAbQz':function(_0xb6bc8c,_0x37cdc3){return _0xb6bc8c+_0x37cdc3;},'DdQto':function(_0x47f968,_0x4ac8b8){return _0x47f968+_0x4ac8b8;},'NRPZH':'<div\x20class=\x22ranger-banner__heading\x22>Ranger\x20Feature\x20Review</div>','rhbTS':_0x36affd(0x192)},_0x148cd9=_0x51298f[_0x36affd(0x18c)](_0x51298f['DdQto'](_0x51298f['DdQto']('<div\x20class=\x22ranger-banner__content\x22>',_0x51298f[_0x36affd(0x18e)]),_0x51298f[_0x36affd(0x18b)])+_0x36affd(0x185)+_0x36affd(0x18f)+'</div>','</div>')+'<button\x20class=\x22ranger-banner__close\x22\x20type=\x22button\x22\x20aria-label=\x22Dismiss\x20banner\x22>X</button>',_0x12d92a=_0x36affd(0x18a);return _0x36affd(0x188)+JSON['stringify'](_0x148cd9)+_0x36affd(0x195)+JSON['stringify'](_0x12d92a)+_0x36affd(0x196);})());export function getProfileSetupBannerScript(){return PROFILE_SETUP_BANNER_SCRIPT;}function _0x190a(_0x4db620,_0x52ef13){_0x4db620=_0x4db620-0x185;const _0x27857a=_0x2785();let _0x190aed=_0x27857a[_0x4db620];return _0x190aed;}export async function addProfileSetupBanner(_0x7961e5){await _0x7961e5['addInitScript']({'content':PROFILE_SETUP_BANNER_SCRIPT});}function _0x2785(){const _0x2a9ec8=[';\x0a\x0a\x20\x20\x20\x20const\x20style\x20=\x20document.createElement(\x27style\x27);\x0a\x20\x20\x20\x20style.id\x20=\x20styleId;\x0a\x20\x20\x20\x20style.textContent\x20=\x20',';\x0a\x0a\x20\x20\x20\x20const\x20head\x20=\x20document.head\x20||\x20document.getElementsByTagName(\x27head\x27)[0];\x0a\x20\x20\x20\x20if\x20(head)\x20{\x0a\x20\x20\x20\x20\x20\x20head.appendChild(style);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20document.body.appendChild(banner);\x0a\x0a\x20\x20\x20\x20const\x20previousPaddingTop\x20=\x20document.body.style.paddingTop;\x0a\x20\x20\x20\x20const\x20updateOffset\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20height\x20=\x20banner.getBoundingClientRect().height;\x0a\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20height\x20+\x20\x27px\x27;\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20updateOffset();\x0a\x20\x20\x20\x20window.addEventListener(\x27resize\x27,\x20updateOffset);\x0a\x0a\x20\x20\x20\x20const\x20closeButton\x20=\x20banner.querySelector(\x27.ranger-banner__close\x27);\x0a\x20\x20\x20\x20if\x20(closeButton)\x20{\x0a\x20\x20\x20\x20\x20\x20closeButton.addEventListener(\x27click\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27resize\x27,\x20updateOffset);\x0a\x20\x20\x20\x20\x20\x20\x20\x20banner.remove();\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(style.parentNode)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style.parentNode.removeChild(style);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20document.body.style.paddingTop\x20=\x20previousPaddingTop;\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(storage)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20storage.setItem(dismissedKey,\x20\x271\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20}\x0a\x20\x20};\x0a\x0a\x20\x20if\x20(document.readyState\x20===\x20\x27loading\x27)\x20{\x0a\x20\x20\x20\x20document.addEventListener(\x27DOMContentLoaded\x27,\x20inject);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20inject();\x0a\x20\x20}\x0a})();\x0a','<span\x20class=\x22ranger-banner__title\x22>Profile\x20setup:</span>','2841aBcUWH','6478300zmULES','\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','671545cntRdt','\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','rhbTS','XAbQz','2633112TDhpxx','NRPZH','<span\x20class=\x22ranger-banner__text\x22>navigate\x20to\x20your\x20locally\x20running\x20app\x20and\x20log\x20in.\x20Close\x20the\x20browser\x20window\x20when\x20you\x20are\x20done.</span>','2692IPrPpX','1925784JpvfUq','<div\x20class=\x22ranger-banner__message\x22>','7442330GXtNpy','814676ESAPSW'];_0x2785=function(){return _0x2a9ec8;};return _0x2785();}
@@ -0,0 +1 @@
1
+ (function(_0x1401e9,_0x2f9f4f){const _0x4f19f0=_0x215a,_0x5bb568=_0x1401e9();while(!![]){try{const _0x4dd787=parseInt(_0x4f19f0(0xdf))/0x1+parseInt(_0x4f19f0(0xec))/0x2+-parseInt(_0x4f19f0(0xe3))/0x3*(-parseInt(_0x4f19f0(0xd7))/0x4)+parseInt(_0x4f19f0(0xf0))/0x5+-parseInt(_0x4f19f0(0xe4))/0x6+-parseInt(_0x4f19f0(0xf1))/0x7*(-parseInt(_0x4f19f0(0xce))/0x8)+-parseInt(_0x4f19f0(0xe1))/0x9*(parseInt(_0x4f19f0(0xd6))/0xa);if(_0x4dd787===_0x2f9f4f)break;else _0x5bb568['push'](_0x5bb568['shift']());}catch(_0x353136){_0x5bb568['push'](_0x5bb568['shift']());}}}(_0x1dcd,0xa3f0b));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'fs';import{unlinkSync}from'fs';import{dirname,join}from'path';import{getRangerHomeDir}from'./rangerRoot.js';const CURRENT_VERSION=0x1;function _0x215a(_0x43b986,_0x47e2df){_0x43b986=_0x43b986-0xcc;const _0x1dcd6b=_0x1dcd();let _0x215a99=_0x1dcd6b[_0x43b986];return _0x215a99;}export function getProjectsConfigPath(){const _0x47d3ad=_0x215a,_0x2c3cbc={'rGdGq':function(_0x406ebf,_0x4cb5e7,_0x2e3e86){return _0x406ebf(_0x4cb5e7,_0x2e3e86);},'BZRHC':function(_0x58c202){return _0x58c202();}};return _0x2c3cbc[_0x47d3ad(0xe5)](join,_0x2c3cbc[_0x47d3ad(0xe0)](getRangerHomeDir),_0x47d3ad(0xd1));}function emptyConfig(){return{'version':CURRENT_VERSION,'projects':{}};}export function readProjectsConfig(){const _0xbdc9b=_0x215a,_0x123551={'igxng':function(_0x427653,_0x3e333f){return _0x427653(_0x3e333f);},'OycJy':function(_0x2b2040,_0x5ce477){return _0x2b2040!==_0x5ce477;},'yzUBt':'object'},_0x2984fe=getProjectsConfigPath();if(!existsSync(_0x2984fe))return emptyConfig();let _0x1d58dd;try{_0x1d58dd=readFileSync(_0x2984fe,_0xbdc9b(0xe9));}catch(_0x362bac){const _0xd6faf2=_0x362bac instanceof Error?_0x362bac['message']:String(_0x362bac);return console['warn'](_0xbdc9b(0xd8)+_0x2984fe+':\x20'+_0xd6faf2+'.\x20Ignoring\x20local\x20profile\x20overrides.'),emptyConfig();}let _0x4b816f;try{_0x4b816f=JSON[_0xbdc9b(0xee)](_0x1d58dd);}catch(_0x756524){const _0xb3a9d2=_0x756524 instanceof Error?_0x756524['message']:_0x123551['igxng'](String,_0x756524);return console[_0xbdc9b(0xf3)](_0xbdc9b(0xd0)+_0x2984fe+'\x20is\x20not\x20valid\x20JSON\x20('+_0xb3a9d2+_0xbdc9b(0xcf)),emptyConfig();}if(!_0x4b816f||_0x123551[_0xbdc9b(0xe6)](typeof _0x4b816f,_0x123551['yzUBt'])||Array[_0xbdc9b(0xf2)](_0x4b816f)||_0x4b816f['version']!==CURRENT_VERSION||_0x123551['OycJy'](typeof _0x4b816f['projects'],_0xbdc9b(0xe2))||_0x4b816f['projects']===null||Array['isArray'](_0x4b816f[_0xbdc9b(0xd5)]))return console['warn']('[ranger]\x20Warning:\x20'+_0x2984fe+_0xbdc9b(0xd4)),emptyConfig();return _0x4b816f;}export function writeProjectsConfig(_0x389308){const _0x3375c4=_0x215a,_0x417e55={'VJfAl':function(_0x47abfe,_0xb464b1){return _0x47abfe(_0xb464b1);},'eLHlt':function(_0x1e7f26,_0x4c1b13,_0xe7e1d,_0x289683){return _0x1e7f26(_0x4c1b13,_0xe7e1d,_0x289683);}},_0x2667e8=getProjectsConfigPath(),_0x2fd7e9=dirname(_0x2667e8);!_0x417e55['VJfAl'](existsSync,_0x2fd7e9)&&mkdirSync(_0x2fd7e9,{'recursive':!![]});const _0x2afa17=_0x2667e8+'.'+process['pid']+'.'+Date['now']()+'.tmp',_0x45babb=JSON[_0x3375c4(0xdc)](_0x389308,null,0x2)+'\x0a';try{_0x417e55['eLHlt'](writeFileSync,_0x2afa17,_0x45babb,{'encoding':_0x3375c4(0xe9),'mode':0x180}),renameSync(_0x2afa17,_0x2667e8);}catch(_0x2c9a56){try{existsSync(_0x2afa17)&&unlinkSync(_0x2afa17);}catch{}throw _0x2c9a56;}}export function readProfileOverrides(_0x22552b,_0x10163f){const _0x3ca630=_0x215a,_0x4e2a22=readProjectsConfig(),_0x5eb754=_0x4e2a22['projects'][_0x22552b];if(!_0x5eb754||!_0x5eb754['profiles'])return null;const _0x41f6d9=_0x5eb754[_0x3ca630(0xd3)][_0x10163f];if(!_0x41f6d9||!_0x41f6d9[_0x3ca630(0xed)])return null;return _0x41f6d9[_0x3ca630(0xed)]??null;}export function setProfileOverride(_0x334106,_0x543a05,_0x55a902,_0x5a362d){const _0x4a9754=_0x215a,_0x46f95d={'pRYsW':function(_0x1f8526){return _0x1f8526();},'olkmr':function(_0x3b88e0,_0x3246ce,_0xf4c3c9,_0xc23cf1){return _0x3b88e0(_0x3246ce,_0xf4c3c9,_0xc23cf1);},'qfFic':function(_0x4f9428,_0x545ded){return _0x4f9428(_0x545ded);}};if(!_0x55a902)throw new Error(_0x4a9754(0xef));const _0xb9d839=_0x46f95d['pRYsW'](readProjectsConfig),_0x5789e0=_0xb9d839[_0x4a9754(0xd5)][_0x334106]??={},_0x309a35=_0x5789e0['profiles']??={},_0x1f80e5=_0x309a35[_0x543a05]??={},_0xa1ae7f=_0x1f80e5[_0x4a9754(0xed)]??={};_0x46f95d['olkmr'](setByKeyPath,_0xa1ae7f,_0x55a902,_0x5a362d),_0x46f95d['qfFic'](writeProjectsConfig,_0xb9d839);}export function unsetProfileOverride(_0x1b3c90,_0x12c57a,_0x523abc){const _0x349c8c=_0x215a,_0x4727ae={'OdtDL':_0x349c8c(0xef),'jOccX':function(_0x446c59,_0x280ff9,_0x5b1bf0){return _0x446c59(_0x280ff9,_0x5b1bf0);},'alOKh':function(_0xd08d05,_0x51799){return _0xd08d05(_0x51799);}};if(!_0x523abc)throw new Error(_0x4727ae['OdtDL']);const _0x9fab9=readProjectsConfig(),_0x3ca7ef=_0x9fab9[_0x349c8c(0xd5)][_0x1b3c90];if(!_0x3ca7ef?.['profiles'])return![];const _0x57bb88=_0x3ca7ef['profiles'][_0x12c57a];if(!_0x57bb88?.['settings'])return![];const _0x5a6a31=_0x4727ae[_0x349c8c(0xd2)](deleteByKeyPath,_0x57bb88['settings'],_0x523abc);if(!_0x5a6a31)return![];return _0x4727ae[_0x349c8c(0xeb)](writeProjectsConfig,_0x9fab9),!![];}export function resetProfileOverrides(_0x335080,_0x1741cb){const _0x54cf48=_0x215a,_0x4bc928={'SZOzE':function(_0x34423d,_0xf9a042){return _0x34423d in _0xf9a042;}},_0x3df9cf=readProjectsConfig(),_0x32fca4=_0x3df9cf['projects'][_0x335080];if(!_0x32fca4?.['profiles'])return;if(!_0x4bc928[_0x54cf48(0xdb)](_0x1741cb,_0x32fca4[_0x54cf48(0xd3)]))return;delete _0x32fca4['profiles'][_0x1741cb],Object['keys'](_0x32fca4[_0x54cf48(0xd3)])[_0x54cf48(0xd9)]===0x0&&delete _0x32fca4['profiles'],!_0x32fca4['profiles']&&delete _0x3df9cf[_0x54cf48(0xd5)][_0x335080],writeProjectsConfig(_0x3df9cf);}export function mergeCloudProfileSettings(_0x36c8b5,_0x44e946){const _0x5c6639=_0x215a,_0x4555e9={'TIHPT':function(_0x4899cd,_0x3f8390){return _0x4899cd===_0x3f8390;},'uzXgK':_0x5c6639(0xcc),'jSCAN':function(_0x25c4b4,_0x342a30){return _0x25c4b4===_0x342a30;},'DafYh':_0x5c6639(0xcd)},_0xf7c16a={..._0x36c8b5??{}};if(!_0x44e946)return _0xf7c16a;for(const [_0x4a6b5f,_0x2b02dd]of Object[_0x5c6639(0xea)](_0x44e946)){if(_0x2b02dd===undefined)continue;if(_0x2b02dd===null){delete _0xf7c16a[_0x4a6b5f];continue;}if(_0x4555e9['TIHPT'](_0x4a6b5f,_0x4555e9['uzXgK'])||_0x4555e9[_0x5c6639(0xdd)](_0x4a6b5f,_0x4555e9['DafYh'])){const _0x219dd8=asRecord(_0xf7c16a[_0x4a6b5f])??{},_0x5b30e9=asRecord(_0x2b02dd);if(!_0x5b30e9){_0xf7c16a[_0x4a6b5f]=_0x2b02dd;continue;}const _0x5d2527={..._0x219dd8};for(const [_0x45365b,_0x44e595]of Object['entries'](_0x5b30e9)){if(_0x44e595===null)delete _0x5d2527[_0x45365b];else _0x44e595!==undefined&&(_0x5d2527[_0x45365b]=_0x44e595);}_0xf7c16a[_0x4a6b5f]=_0x5d2527;continue;}_0xf7c16a[_0x4a6b5f]=_0x2b02dd;}return _0xf7c16a;}function asRecord(_0x5c7628){const _0x348ffe=_0x215a,_0x1b090c={'sOWMs':function(_0x16340c,_0x35f216){return _0x16340c===_0x35f216;},'OrBvV':_0x348ffe(0xe2)};return _0x5c7628&&_0x1b090c['sOWMs'](typeof _0x5c7628,_0x1b090c['OrBvV'])&&!Array[_0x348ffe(0xf2)](_0x5c7628)?_0x5c7628:undefined;}function setByKeyPath(_0x4b7122,_0x39e142,_0x1cb6d9){const _0x4282a3=_0x215a,_0x5bbdc3={'vZGSi':function(_0x409093,_0x16b559){return _0x409093-_0x16b559;}},_0x5dceca=_0x39e142[_0x4282a3(0xe8)]('.');let _0x4a524d=_0x4b7122;for(let _0x1001bc=0x0;_0x1001bc<_0x5dceca[_0x4282a3(0xd9)]-0x1;_0x1001bc++){const _0x1abc2b=_0x5dceca[_0x1001bc],_0x11d484=_0x4a524d[_0x1abc2b];(!_0x11d484||typeof _0x11d484!==_0x4282a3(0xe2)||Array['isArray'](_0x11d484))&&(_0x4a524d[_0x1abc2b]={}),_0x4a524d=_0x4a524d[_0x1abc2b];}_0x4a524d[_0x5dceca[_0x5bbdc3['vZGSi'](_0x5dceca[_0x4282a3(0xd9)],0x1)]]=_0x1cb6d9;}function deleteByKeyPath(_0x3e2cb8,_0x4f24fc){const _0x417c28=_0x215a,_0x3f5279={'tSFfa':function(_0xd4991d,_0x559f7c){return _0xd4991d<_0x559f7c;},'ySOAm':function(_0x943873,_0x2b349d){return _0x943873-_0x2b349d;},'UIzLI':function(_0x5dd6f2,_0x25258c){return _0x5dd6f2!==_0x25258c;},'uWVHg':function(_0x1cd6fd,_0x399073){return _0x1cd6fd-_0x399073;},'woJQW':function(_0x476bc6,_0x106989){return _0x476bc6 in _0x106989;}},_0x4a275f=_0x4f24fc[_0x417c28(0xe8)]('.');let _0x36ecb0=_0x3e2cb8;for(let _0x5322ec=0x0;_0x3f5279[_0x417c28(0xda)](_0x5322ec,_0x3f5279[_0x417c28(0xde)](_0x4a275f['length'],0x1));_0x5322ec++){const _0x29978c=_0x4a275f[_0x5322ec],_0x65b578=_0x36ecb0[_0x29978c];if(!_0x65b578||_0x3f5279['UIzLI'](typeof _0x65b578,_0x417c28(0xe2))||Array['isArray'](_0x65b578))return![];_0x36ecb0=_0x65b578;}const _0x52c7dd=_0x4a275f[_0x3f5279['uWVHg'](_0x4a275f['length'],0x1)];if(!_0x3f5279[_0x417c28(0xe7)](_0x52c7dd,_0x36ecb0))return![];return delete _0x36ecb0[_0x52c7dd],!![];}function _0x1dcd(){const _0x22b9ed=['settings','parse','keyPath\x20is\x20required','1724190VhJsFv','182YdkTEb','isArray','warn','headers','setupHeaders','213960KeWmff',').\x20Ignoring\x20local\x20profile\x20overrides.','[ranger]\x20Warning:\x20','projects.json','jOccX','profiles','\x20has\x20an\x20unexpected\x20shape.\x20Ignoring\x20local\x20profile\x20overrides.','projects','20ntDCqf','4GLWRyf','[ranger]\x20Warning:\x20failed\x20to\x20read\x20','length','tSFfa','SZOzE','stringify','jSCAN','ySOAm','1196096cfdGwE','BZRHC','11562039wXRBaZ','object','99933BYhXlY','759204VXVgTm','rGdGq','OycJy','woJQW','split','utf-8','entries','alOKh','2195520XGhKdo'];_0x1dcd=function(){return _0x22b9ed;};return _0x1dcd();}
@@ -1 +1 @@
1
- (function(_0x24afb5,_0x5be248){const _0x1b4640=_0x4ebb,_0x160198=_0x24afb5();while(!![]){try{const _0x316535=parseInt(_0x1b4640(0x1d5))/0x1*(parseInt(_0x1b4640(0x1da))/0x2)+-parseInt(_0x1b4640(0x1db))/0x3*(-parseInt(_0x1b4640(0x1d2))/0x4)+-parseInt(_0x1b4640(0x1e8))/0x5*(-parseInt(_0x1b4640(0x1dd))/0x6)+-parseInt(_0x1b4640(0x1de))/0x7*(-parseInt(_0x1b4640(0x1e0))/0x8)+-parseInt(_0x1b4640(0x1e7))/0x9*(parseInt(_0x1b4640(0x1d6))/0xa)+-parseInt(_0x1b4640(0x1e3))/0xb*(parseInt(_0x1b4640(0x1e6))/0xc)+-parseInt(_0x1b4640(0x1e1))/0xd;if(_0x316535===_0x5be248)break;else _0x160198['push'](_0x160198['shift']());}catch(_0x565f15){_0x160198['push'](_0x160198['shift']());}}}(_0x57ad,0x41784));import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';function _0x57ad(){const _0xeb3f34=['217184YTzQNh','BCxib','kPKUg','240fQaBbg','6705ZGmTHq','20ZOoabW','jXKMO','npOcs','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','208bBVIZa','object','XfEfC','473630yGxeMA','520DZFYsI','FSzkG','YBwXU','message','2IbJigz','5514GiLerU','model','729942tthTaW','3857CtxurW','isArray','4720qMtWjN','8828820BZpnUV','NSLff'];_0x57ad=function(){return _0xeb3f34;};return _0x57ad();}import{getRangerDir}from'./rangerRoot.js';function _0x4ebb(_0x369ab4,_0x27cce9){_0x369ab4=_0x369ab4-0x1d0;const _0x57ade2=_0x57ad();let _0x4ebb1b=_0x57ade2[_0x369ab4];return _0x4ebb1b;}export function getRangerConfigPath(){const _0x5db5b9=_0x4ebb,_0x101671={'FSzkG':function(_0x22895f,_0x292268,_0x36f693){return _0x22895f(_0x292268,_0x36f693);},'XfEfC':function(_0x859d49){return _0x859d49();},'OsVKa':'config.json'};return _0x101671[_0x5db5b9(0x1d7)](join,_0x101671[_0x5db5b9(0x1d4)](getRangerDir),_0x101671['OsVKa']);}export async function loadRangerConfig(){const _0x347460=_0x4ebb,_0x16fd52={'npOcs':function(_0xb41a41){return _0xb41a41();},'jXKMO':function(_0x158568,_0x3468d8){return _0x158568(_0x3468d8);},'YBwXU':function(_0x283190,_0x35d259,_0xb1fe9d){return _0x283190(_0x35d259,_0xb1fe9d);},'kPKUg':'utf-8','BCxib':function(_0x5dae33,_0x469613){return _0x5dae33!==_0x469613;},'IOmhi':'string','HVenO':function(_0x4602fe,_0x54b191){return _0x4602fe instanceof _0x54b191;},'NSLff':function(_0x49cf2b,_0x598c4c){return _0x49cf2b(_0x598c4c);}},_0xc0234b=_0x16fd52[_0x347460(0x1d0)](getRangerConfigPath);if(!_0x16fd52[_0x347460(0x1e9)](existsSync,_0xc0234b))return{};try{const _0x411511=await _0x16fd52[_0x347460(0x1d8)](readFile,_0xc0234b,_0x16fd52[_0x347460(0x1e5)]),_0x2e7f0a=JSON['parse'](_0x411511);if(!_0x2e7f0a||_0x16fd52[_0x347460(0x1e4)](typeof _0x2e7f0a,_0x347460(0x1d3))||Array[_0x347460(0x1df)](_0x2e7f0a))return{};const _0x176682={},_0x5e15c5=_0x2e7f0a[_0x347460(0x1dc)];return typeof _0x5e15c5===_0x16fd52['IOmhi']&&(_0x176682[_0x347460(0x1dc)]=_0x5e15c5),_0x176682;}catch(_0x556918){const _0x2172e8=_0x16fd52['HVenO'](_0x556918,Error)?_0x556918[_0x347460(0x1d9)]:_0x16fd52[_0x347460(0x1e2)](String,_0x556918);return console['warn'](_0x347460(0x1d1)+_0xc0234b+':\x20'+_0x2172e8),{};}}
1
+ (function(_0x207785,_0x1af6d7){const _0x4bf21d=_0x286c,_0x48c9e2=_0x207785();while(!![]){try{const _0x2ec6f4=parseInt(_0x4bf21d(0xe4))/0x1*(-parseInt(_0x4bf21d(0xe3))/0x2)+-parseInt(_0x4bf21d(0xe2))/0x3*(-parseInt(_0x4bf21d(0xeb))/0x4)+parseInt(_0x4bf21d(0xe1))/0x5*(parseInt(_0x4bf21d(0xe7))/0x6)+-parseInt(_0x4bf21d(0xef))/0x7+-parseInt(_0x4bf21d(0xee))/0x8+-parseInt(_0x4bf21d(0xe8))/0x9*(parseInt(_0x4bf21d(0xed))/0xa)+parseInt(_0x4bf21d(0xe9))/0xb;if(_0x2ec6f4===_0x1af6d7)break;else _0x48c9e2['push'](_0x48c9e2['shift']());}catch(_0x1bdfbd){_0x48c9e2['push'](_0x48c9e2['shift']());}}}(_0x17c1,0xad02e));function _0x17c1(){const _0x5447ba=['rdOOL','7830AqiemG','3oWPyhX','552fxRpHx','99feUozq','Failed\x20to\x20read\x20Ranger\x20config\x20at\x20','isArray','5388urIYuQ','93294Cuoyds','14121712BReLkA','warn','4455596vtziCg','parse','1000RuVsoJ','11337576CKdout','4299288dufXbO','JqpIO'];_0x17c1=function(){return _0x5447ba;};return _0x17c1();}import{readFile}from'fs/promises';import{existsSync}from'fs';import{join}from'path';import{getRangerDir}from'./rangerRoot.js';export function getRangerConfigPath(){const _0x36aca3=_0x286c,_0x264bf7={'JqpIO':function(_0x24a4d3){return _0x24a4d3();}};return join(_0x264bf7[_0x36aca3(0xdf)](getRangerDir),'config.json');}function _0x286c(_0x46833f,_0xea94a9){_0x46833f=_0x46833f-0xdf;const _0x17c17f=_0x17c1();let _0x286ce3=_0x17c17f[_0x46833f];return _0x286ce3;}export async function loadRangerConfig(){const _0x2cd4c7=_0x286c,_0x517951={'rdOOL':'utf-8','iBoGl':function(_0x27e0e5,_0x2fe40b){return _0x27e0e5===_0x2fe40b;},'XEUXn':'string','dgxSr':function(_0x5c8ad3,_0x201ecd){return _0x5c8ad3 instanceof _0x201ecd;}},_0x1a6ae3=getRangerConfigPath();if(!existsSync(_0x1a6ae3))return{};try{const _0x491d27=await readFile(_0x1a6ae3,_0x517951[_0x2cd4c7(0xe0)]),_0x46b3a7=JSON[_0x2cd4c7(0xec)](_0x491d27);if(!_0x46b3a7||typeof _0x46b3a7!=='object'||Array[_0x2cd4c7(0xe6)](_0x46b3a7))return{};const _0xb63a44={},_0x3f2f80=_0x46b3a7['model'];return _0x517951['iBoGl'](typeof _0x3f2f80,_0x517951['XEUXn'])&&(_0xb63a44['model']=_0x3f2f80),_0xb63a44;}catch(_0x3f537e){const _0x139ea2=_0x517951['dgxSr'](_0x3f537e,Error)?_0x3f537e['message']:String(_0x3f537e);return console[_0x2cd4c7(0xea)](_0x2cd4c7(0xe5)+_0x1a6ae3+':\x20'+_0x139ea2),{};}}
@@ -1 +1 @@
1
- (function(_0x575ef3,_0x3696f1){const _0x1c75f2=_0xedc9,_0x50af57=_0x575ef3();while(!![]){try{const _0x472ec1=-parseInt(_0x1c75f2(0xa4))/0x1*(-parseInt(_0x1c75f2(0xa3))/0x2)+-parseInt(_0x1c75f2(0xab))/0x3*(parseInt(_0x1c75f2(0xb0))/0x4)+-parseInt(_0x1c75f2(0xa5))/0x5*(-parseInt(_0x1c75f2(0xb6))/0x6)+parseInt(_0x1c75f2(0xb8))/0x7*(parseInt(_0x1c75f2(0xa6))/0x8)+parseInt(_0x1c75f2(0xac))/0x9*(-parseInt(_0x1c75f2(0xa1))/0xa)+parseInt(_0x1c75f2(0xb7))/0xb*(parseInt(_0x1c75f2(0xa7))/0xc)+parseInt(_0x1c75f2(0xa9))/0xd*(-parseInt(_0x1c75f2(0xaa))/0xe);if(_0x472ec1===_0x3696f1)break;else _0x50af57['push'](_0x50af57['shift']());}catch(_0x653341){_0x50af57['push'](_0x50af57['shift']());}}}(_0x8855,0x6bc1c));function _0xedc9(_0x40db86,_0x41b2d8){_0x40db86=_0x40db86-0xa1;const _0x8855d3=_0x8855();let _0xedc996=_0x8855d3[_0x40db86];return _0xedc996;}import{dirname,join,parse}from'path';import{existsSync}from'fs';import{homedir}from'os';export function getRangerRoot(){const _0x580292=_0xedc9,_0x1acc51={'vcTUa':'.ranger','jEVmG':function(_0x1626bf,_0x2429c9,_0x49d447){return _0x1626bf(_0x2429c9,_0x49d447);},'zmRmH':function(_0x27c22a){return _0x27c22a();}};let _0x265b8b=process[_0x580292(0xa2)]();const _0xbcb5d2=parse(_0x265b8b)['root'];while(_0x265b8b!==_0xbcb5d2){if(existsSync(join(_0x265b8b,_0x1acc51[_0x580292(0xad)])))return _0x265b8b;_0x265b8b=dirname(_0x265b8b);}if(existsSync(_0x1acc51[_0x580292(0xaf)](join,_0xbcb5d2,_0x1acc51[_0x580292(0xad)])))return _0xbcb5d2;const _0x1e3859=_0x1acc51['zmRmH'](findGitRoot);if(_0x1e3859)return _0x1e3859;return process[_0x580292(0xa2)]();}export function getRangerDir(){const _0x25183c=_0xedc9,_0x52b964={'SgHJe':function(_0xddd0b7,_0x3e8a26,_0x4cbf88){return _0xddd0b7(_0x3e8a26,_0x4cbf88);},'BCQYh':function(_0x31c86e){return _0x31c86e();},'UltTo':_0x25183c(0xb4)};return _0x52b964['SgHJe'](join,_0x52b964[_0x25183c(0xb3)](getRangerRoot),_0x52b964['UltTo']);}export function findGitRoot(){const _0x97272a=_0xedc9,_0x55482b={'TYCzN':function(_0x49c53f,_0x1788cb){return _0x49c53f!==_0x1788cb;},'pHePA':function(_0x754eee,_0xd95de2){return _0x754eee(_0xd95de2);},'Npsbd':function(_0x233db5,_0x51c8fc,_0xdc3196){return _0x233db5(_0x51c8fc,_0xdc3196);},'FSLfi':'.git'};let _0x308b2e=process[_0x97272a(0xa2)]();const _0xef2d41=parse(_0x308b2e)[_0x97272a(0xb1)];while(_0x55482b[_0x97272a(0xae)](_0x308b2e,_0xef2d41)){if(_0x55482b[_0x97272a(0xb5)](existsSync,_0x55482b[_0x97272a(0xa8)](join,_0x308b2e,'.git')))return _0x308b2e;_0x308b2e=dirname(_0x308b2e);}if(existsSync(join(_0xef2d41,_0x55482b[_0x97272a(0xb9)])))return _0xef2d41;return null;}function _0x8855(){const _0x1d77e8=['5173164JFGUVf','Npsbd','310297NxRfvs','462prBotq','3YyTsuL','27DaWkxD','vcTUa','TYCzN','jEVmG','1359388NCrpGW','root','anagL','BCQYh','.ranger','pHePA','6ObvCRA','11YANERC','189lYnEeR','FSLfi','324730icoSNN','cwd','3728qVJQrn','197wfIXpI','4275385mwnUGd','3832fdvTDH'];_0x8855=function(){return _0x1d77e8;};return _0x8855();}export function getRangerHomeDir(){const _0x5c2c6e=_0xedc9,_0x14ec09={'anagL':_0x5c2c6e(0xb4)};return join(homedir(),_0x14ec09[_0x5c2c6e(0xb2)]);}
1
+ (function(_0x13b8a1,_0xbdfb42){const _0x2173ec=_0x4d7c,_0xc0ae51=_0x13b8a1();while(!![]){try{const _0x27137d=parseInt(_0x2173ec(0x172))/0x1+-parseInt(_0x2173ec(0x175))/0x2+-parseInt(_0x2173ec(0x16c))/0x3*(-parseInt(_0x2173ec(0x170))/0x4)+parseInt(_0x2173ec(0x173))/0x5+parseInt(_0x2173ec(0x168))/0x6+parseInt(_0x2173ec(0x16f))/0x7*(-parseInt(_0x2173ec(0x16e))/0x8)+parseInt(_0x2173ec(0x16a))/0x9;if(_0x27137d===_0xbdfb42)break;else _0xc0ae51['push'](_0xc0ae51['shift']());}catch(_0x59fb4c){_0xc0ae51['push'](_0xc0ae51['shift']());}}}(_0x5132,0x186dd));import{dirname,join,parse}from'path';import{existsSync}from'fs';function _0x4d7c(_0x159172,_0x39a59f){_0x159172=_0x159172-0x167;const _0x5132a8=_0x5132();let _0x4d7c1f=_0x5132a8[_0x159172];return _0x4d7c1f;}import{homedir}from'os';export function getRangerRoot(){const _0x17e941=_0x4d7c,_0x217e2b={'IhONo':function(_0xa131a0,_0x5b1c2f){return _0xa131a0(_0x5b1c2f);},'gQalk':function(_0x103d6e,_0x420eae){return _0x103d6e!==_0x420eae;},'nhSQo':function(_0x1c8b09,_0x1d4589){return _0x1c8b09(_0x1d4589);},'rbEFK':function(_0x22b83c,_0x1edd87,_0xa066a1){return _0x22b83c(_0x1edd87,_0xa066a1);}};let _0x2fc3ca=process[_0x17e941(0x174)]();const _0x117f9a=_0x217e2b['IhONo'](parse,_0x2fc3ca)[_0x17e941(0x171)];while(_0x217e2b['gQalk'](_0x2fc3ca,_0x117f9a)){if(existsSync(join(_0x2fc3ca,'.ranger')))return _0x2fc3ca;_0x2fc3ca=_0x217e2b['nhSQo'](dirname,_0x2fc3ca);}if(existsSync(_0x217e2b[_0x17e941(0x16d)](join,_0x117f9a,'.ranger')))return _0x117f9a;const _0x5e88fc=findGitRoot();if(_0x5e88fc)return _0x5e88fc;return process['cwd']();}export function getRangerDir(){const _0x9b1c7b=_0x4d7c,_0x354963={'FXMjS':function(_0x4b52b3,_0x2cff24,_0xcaa3e7){return _0x4b52b3(_0x2cff24,_0xcaa3e7);},'QCOFQ':function(_0x1d8fb2){return _0x1d8fb2();}};return _0x354963['FXMjS'](join,_0x354963[_0x9b1c7b(0x169)](getRangerRoot),'.ranger');}function _0x5132(){const _0x5429c2=['rbEFK','990040YGnzKF','7yPmbeG','256048sGLzXU','root','42775lpWPmu','493255luBYqP','cwd','281102GzBKPZ','.git','.ranger','166164Kvhust','QCOFQ','605007wSADRl','TQZpz','6UwxHqo'];_0x5132=function(){return _0x5429c2;};return _0x5132();}export function findGitRoot(){const _0x20284a=_0x4d7c,_0x386551={'TQZpz':function(_0x35c7cc,_0x518b3b,_0x5890ee){return _0x35c7cc(_0x518b3b,_0x5890ee);},'MUfyh':_0x20284a(0x176)};let _0x2ce3d3=process[_0x20284a(0x174)]();const _0x21f360=parse(_0x2ce3d3)['root'];while(_0x2ce3d3!==_0x21f360){if(existsSync(_0x386551[_0x20284a(0x16b)](join,_0x2ce3d3,_0x20284a(0x176))))return _0x2ce3d3;_0x2ce3d3=dirname(_0x2ce3d3);}if(existsSync(join(_0x21f360,_0x386551['MUfyh'])))return _0x21f360;return null;}export function getRangerHomeDir(){const _0x21f873=_0x4d7c,_0x3a8dec={'qCfex':_0x21f873(0x167)};return join(homedir(),_0x3a8dec['qCfex']);}
@@ -0,0 +1 @@
1
+ (function(_0x3229b4,_0x8b56ee){const _0x12bc31=_0x398b,_0x1fe082=_0x3229b4();while(!![]){try{const _0x53931c=parseInt(_0x12bc31(0x194))/0x1*(parseInt(_0x12bc31(0x1a5))/0x2)+-parseInt(_0x12bc31(0x1a8))/0x3+-parseInt(_0x12bc31(0x1a1))/0x4+parseInt(_0x12bc31(0x1a0))/0x5*(-parseInt(_0x12bc31(0x19c))/0x6)+-parseInt(_0x12bc31(0x1a9))/0x7+-parseInt(_0x12bc31(0x1aa))/0x8*(-parseInt(_0x12bc31(0x192))/0x9)+parseInt(_0x12bc31(0x195))/0xa;if(_0x53931c===_0x8b56ee)break;else _0x1fe082['push'](_0x1fe082['shift']());}catch(_0x1830cb){_0x1fe082['push'](_0x1fe082['shift']());}}}(_0x2d26,0x57908));import{existsSync}from'fs';import _0x52aeaf from'inquirer';import{ApiError,fetchCloudProfile,listCloudProfiles,resolveAdHocProfile,resolveCloudProfileSession}from'./cloudProfile.js';function _0x2d26(){const _0x2e447f=['2397794woHYRs','60744OVGqFC','No\x20baseUrl\x20configured\x20for\x20profile\x20\x22','vUbLn','log','vPzmV','\x22\x20not\x20found\x20locally\x20or\x20in\x20the\x20cloud.\x0a','kxNPz','startPath','EXaov','name','\x22\x20exists\x20both\x20locally\x20and\x20in\x20the\x20cloud.\x20Which\x20one\x20should\x20be\x20used?','qLUjM','cdpEndpoint','source','envStartPath','VZOWW','RANGER_SESSION_STATE_PATH=','\x22\x20not\x20found.\x20Run:\x20ranger\x20profile\x20add\x20','profile','Okijv','585bCUcHG','ageXd','3133AUQqTU','4705710yObwje','authPath','xeHPX','cloud','\x0aUsing\x20the\x20only\x20cloud\x20profile\x20for\x20your\x20org:\x20','Profile\x20\x22','string','12vNbaDP','pZqxU','\x20\x20(pass\x20--profile\x20<name>\x20to\x20pin,\x20or\x20RANGER_TEST_USERNAME=...\x20to\x20materialize\x20a\x20new\x20one)','list','997420dnSpVr','821772jtINZK','\x20\x20Run\x20`ranger\x20profile\x20ls`\x20to\x20see\x20available\x20profiles,\x20or\x20','No\x20active\x20profile.\x20Run:\x20ranger\x20profile\x20use\x20<profile-name>','baseUrl','278hrhXih','domains','`ranger\x20profile\x20add`\x20to\x20create\x20one.','281958PJWOKF'];_0x2d26=function(){return _0x2e447f;};return _0x2d26();}import{isInteractive}from'./cloudProfileSession.js';import{mergeCloudProfileSettings,readProfileOverrides}from'./projectsConfig.js';import{readUrlEnvVars,resolveProfileUrl}from'./resolveProfileUrl.js';function _0x398b(_0x44098c,_0x15f238){_0x44098c=_0x44098c-0x18a;const _0x2d2662=_0x2d26();let _0x398b65=_0x2d2662[_0x44098c];return _0x398b65;}import{getEnvDir,loadSettings,resolveEnvVars}from'./settings.js';import{readActiveProfileName}from'./activeProfile.js';export async function resolveProfileContext(_0x284a8d){const _0x1bacc8=_0x398b,_0x51e398={'JmwGi':function(_0x1e7a37){return _0x1e7a37();},'AYEnr':_0x1bacc8(0x1a3),'VZOWW':function(_0x373df2,_0x595a79){return _0x373df2(_0x595a79);},'SunQn':function(_0x4b7778,_0xb1399c){return _0x4b7778 instanceof _0xb1399c;},'kxNPz':function(_0x1599b9,_0x4fa21f){return _0x1599b9&&_0x4fa21f;},'uogHD':_0x1bacc8(0x1a2),'iWjPj':_0x1bacc8(0x1a7),'Okijv':function(_0x3be492){return _0x3be492();},'qLUjM':_0x1bacc8(0x18b),'YODOe':'cloud','pZqxU':'Local\x20profile','UmSsG':'local','vPzmV':function(_0x3cec23,_0xd38f1e){return _0x3cec23===_0xd38f1e;},'ageXd':function(_0x5079f5,_0x55a399,_0x247f43){return _0x5079f5(_0x55a399,_0x247f43);},'vUbLn':'2|1|3|0|4','xeHPX':function(_0x3ece7f,_0x6f6a85){return _0x3ece7f(_0x6f6a85);},'dpLbl':function(_0x18d2d3,_0x5c84b5){return _0x18d2d3(_0x5c84b5);}},_0x1c97e6=_0x284a8d['profile'];let _0x59a2c1=_0x284a8d[_0x1bacc8(0x190)]??await _0x51e398['JmwGi'](readActiveProfileName),_0x14f0e4=null;if(!_0x59a2c1&&process['env']['RANGER_TEST_USERNAME']){const _0x182ca8=await resolveAdHocProfile();_0x182ca8&&(_0x59a2c1=_0x182ca8[_0x1bacc8(0x1b3)],_0x14f0e4=_0x182ca8[_0x1bacc8(0x190)]);}if(!_0x59a2c1)try{const _0x2e2666=await listCloudProfiles();if(_0x2e2666['length']===0x1){const _0x229015=_0x2e2666[0x0];_0x59a2c1=_0x229015[_0x1bacc8(0x1b3)],console[_0x1bacc8(0x1ad)](_0x1bacc8(0x199)+_0x229015[_0x1bacc8(0x1b3)]),console[_0x1bacc8(0x1ad)](_0x1bacc8(0x19e));}}catch{}if(!_0x59a2c1)throw new Error(_0x51e398['AYEnr']);const _0x196dad=getEnvDir(_0x59a2c1),_0x156216=_0x51e398['VZOWW'](existsSync,_0x196dad);let _0x46f084=_0x14f0e4,_0xbcc23a=![];if(!_0x46f084)try{_0x46f084=await _0x51e398['VZOWW'](fetchCloudProfile,_0x59a2c1);if(!_0x46f084)_0xbcc23a=!![];}catch(_0xd3c212){_0x51e398['SunQn'](_0xd3c212,ApiError)&&_0xd3c212['status']===0x194&&(_0xbcc23a=!![]);}if(_0x51e398[_0x1bacc8(0x1b0)](_0x1c97e6,_0xbcc23a)&&!_0x156216&&!_0x46f084)throw new Error(_0x1bacc8(0x19a)+_0x1c97e6+_0x1bacc8(0x1af)+_0x51e398['uogHD']+_0x51e398['iWjPj']);if(_0x46f084&&_0x156216){let _0x4a1c5c=!![];if(_0x51e398[_0x1bacc8(0x191)](isInteractive)){const {source:_0x1da01d}=await _0x52aeaf['prompt']([{'type':_0x1bacc8(0x19f),'name':_0x51e398[_0x1bacc8(0x1b5)],'message':_0x1bacc8(0x19a)+_0x59a2c1+_0x1bacc8(0x1b4),'choices':[{'name':'Cloud\x20profile\x20(recommended)','value':_0x51e398['YODOe']},{'name':_0x51e398[_0x1bacc8(0x19d)],'value':_0x51e398['UmSsG']}],'default':_0x1bacc8(0x198)}]);_0x4a1c5c=_0x51e398[_0x1bacc8(0x1ae)](_0x1da01d,_0x1bacc8(0x198));}if(!_0x4a1c5c)_0x46f084=null;}const _0x3868be=readProfileOverrides(process['cwd'](),_0x59a2c1);let _0x127586=null,_0x33a49a,_0x41a816,_0x2d1a3c,_0x25bdf9,_0x11e06d=null,_0x549938;const _0x194adb=expandOverrides(_0x3868be);if(_0x46f084){_0x127586=_0x46f084;const _0x572bca=_0x46f084['settings']??{},_0x4bc25d=_0x51e398[_0x1bacc8(0x193)](mergeCloudProfileSettings,_0x572bca,_0x3868be??undefined),_0x279ae9={..._0x46f084,'settings':_0x4bc25d},_0x35d9e6=process['env']['RANGER_SESSION_STATE_PATH'];if(_0x35d9e6){const _0x15d092=_0x51e398[_0x1bacc8(0x1ac)]['split']('|');let _0x1460fe=0x0;while(!![]){switch(_0x15d092[_0x1460fe++]){case'0':_0x2d1a3c=Boolean(_0x41a816[_0x1bacc8(0x18a)]);continue;case'1':_0x33a49a=_0x35d9e6;continue;case'2':if(!existsSync(_0x35d9e6))throw new Error(_0x1bacc8(0x18e)+_0x35d9e6+'\x20does\x20not\x20exist.');continue;case'3':_0x41a816=_0x51e398[_0x1bacc8(0x197)](resolveEnvVars,_0x4bc25d);continue;case'4':_0x11e06d={'baseUrl':expandString(_0x572bca['baseUrl']),'startPath':_0x51e398['VZOWW'](expandString,_0x572bca['startPath'])};continue;}break;}}else{const _0x5e0960=await resolveCloudProfileSession(_0x279ae9);_0x33a49a=_0x5e0960[_0x1bacc8(0x196)],_0x41a816=resolveEnvVars(_0x4bc25d),_0x2d1a3c=Boolean(_0x41a816[_0x1bacc8(0x18a)]),_0x11e06d={'baseUrl':_0x51e398[_0x1bacc8(0x18d)](expandString,_0x572bca['baseUrl']),'startPath':expandString(_0x572bca['startPath'])},_0x549938=_0x5e0960['resolvedEnv']?.[_0x1bacc8(0x1a6)]?.[0x0];}}else{if(!_0x156216)throw new Error(_0x1bacc8(0x19a)+_0x59a2c1+_0x1bacc8(0x18f)+_0x59a2c1);const _0x1fe07d=await _0x51e398['dpLbl'](loadSettings,_0x59a2c1);_0x41a816=resolveEnvVars(_0x1fe07d),_0x2d1a3c=Boolean(_0x41a816['cdpEndpoint']),_0x25bdf9=_0x41a816['baseUrl'];}const _0x1854ad=readUrlEnvVars(),_0x3cb0f9=resolveProfileUrl({'flagBaseUrl':_0x284a8d[_0x1bacc8(0x1a4)],'flagStartPath':_0x284a8d['startPath'],'envBaseUrl':_0x1854ad['envBaseUrl'],'envStartPath':_0x1854ad[_0x1bacc8(0x18c)],'localSettingsBaseUrl':_0x25bdf9,'projectOverrides':_0x194adb,'cloudSettings':_0x11e06d,'authEnvironmentDomain':_0x549938}),_0x3e28c3=_0x3cb0f9['url']??_0x3cb0f9[_0x1bacc8(0x1a4)];if(!_0x3e28c3&&!_0x2d1a3c)throw new Error(_0x1bacc8(0x1ab)+_0x59a2c1+'\x22.\x20Run:\x20ranger\x20profile\x20config\x20set\x20'+_0x59a2c1+'\x20baseUrl\x20<url>');return{'activeProfile':_0x59a2c1,'resolvedCloudProfile':_0x127586,'cloudAuthPath':_0x33a49a,'resolvedSettings':_0x41a816,'isCdpMode':_0x2d1a3c,'url':_0x3e28c3,'startPath':_0x3cb0f9['startPath']};}function expandString(_0x201297){const _0x231178={'HRMHq':function(_0x1a5e05,_0x556518){return _0x1a5e05!==_0x556518;}};if(_0x231178['HRMHq'](typeof _0x201297,'string'))return _0x201297;return resolveEnvVars(_0x201297);}function expandOverrides(_0x394925){const _0x2cdc67=_0x398b,_0x1aa447={'gBOvm':function(_0x44bc8a,_0x1f395c){return _0x44bc8a===_0x1f395c;},'KfkKM':function(_0x2dcbff,_0x2a3efc){return _0x2dcbff(_0x2a3efc);},'EXaov':function(_0x2d1e43,_0x36a474){return _0x2d1e43===_0x36a474;},'PNXha':function(_0x209027,_0x50d19f){return _0x209027(_0x50d19f);}};if(!_0x394925)return _0x394925;const _0x20b19a={..._0x394925};return _0x1aa447['gBOvm'](typeof _0x20b19a[_0x2cdc67(0x1a4)],_0x2cdc67(0x19b))&&(_0x20b19a['baseUrl']=_0x1aa447['KfkKM'](resolveEnvVars,_0x20b19a['baseUrl'])),_0x1aa447[_0x2cdc67(0x1b2)](typeof _0x20b19a[_0x2cdc67(0x1b1)],_0x2cdc67(0x19b))&&(_0x20b19a[_0x2cdc67(0x1b1)]=_0x1aa447['PNXha'](resolveEnvVars,_0x20b19a[_0x2cdc67(0x1b1)])),_0x20b19a;}