browserstack-node-sdk 1.27.1 → 1.27.3

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 (83) hide show
  1. package/ats/src/commands/configure.js +1 -1
  2. package/ats/src/commands/connect.js +1 -1
  3. package/ats/src/commands/connect_commands/grid.js +1 -1
  4. package/ats/src/commands/create.js +1 -1
  5. package/ats/src/commands/create_commands/grid.js +1 -1
  6. package/ats/src/commands/delete.js +1 -1
  7. package/ats/src/commands/delete_commands/grid.js +1 -1
  8. package/ats/src/commands/init.js +1 -1
  9. package/ats/src/commands/list.js +1 -1
  10. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  11. package/ats/src/commands/list_commands/grids.js +1 -1
  12. package/ats/src/config/constants.js +1 -1
  13. package/ats/src/config/logger.js +1 -1
  14. package/ats/src/index.js +1 -1
  15. package/ats/src/utils/AWSUtils.js +1 -1
  16. package/ats/src/utils/createAutoscalerStack.js +1 -1
  17. package/ats/src/utils/createClusterStack.js +1 -1
  18. package/ats/src/utils/createk8sClient.js +1 -1
  19. package/ats/src/utils/deleteStack.js +1 -1
  20. package/ats/src/utils/gridComponents.js +1 -1
  21. package/ats/src/utils/hstUtils.js +1 -1
  22. package/ats/src/utils/instrumentationUtils.js +1 -1
  23. package/ats/src/utils/userInput.js +1 -1
  24. package/ats/src/utils/utilityMethods.js +1 -1
  25. package/ats/src/utils/webSocketUtils.js +1 -1
  26. package/package.json +1 -1
  27. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  28. package/src/bin/codeceptjs/command.js +1 -1
  29. package/src/bin/cucumber-js/command.js +1 -1
  30. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  31. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  32. package/src/bin/cucumber-js/test.setup.js +1 -1
  33. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  34. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  35. package/src/bin/jest/command.js +1 -1
  36. package/src/bin/jest/customEnvironment.js +1 -1
  37. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  38. package/src/bin/jest/jest.setup.js +1 -1
  39. package/src/bin/jest/test_before.setup.js +1 -1
  40. package/src/bin/launcher/launcher.js +1 -1
  41. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  42. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  43. package/src/bin/mocha/command.js +1 -1
  44. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  45. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  46. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  47. package/src/bin/mocha/test.setup.js +1 -1
  48. package/src/bin/nightwatch/command.js +1 -1
  49. package/src/bin/playwright/accessibility-helper.js +1 -1
  50. package/src/bin/playwright/command.js +1 -1
  51. package/src/bin/playwright/globalSetup.js +1 -1
  52. package/src/bin/playwright/mock-process.js +1 -1
  53. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  54. package/src/bin/playwright/reporter/reporter.js +1 -1
  55. package/src/bin/playwright/reporter/test-details.js +1 -1
  56. package/src/bin/runner.js +1 -1
  57. package/src/bin/setup.js +1 -1
  58. package/src/bin/test-runner/index.js +1 -1
  59. package/src/bin/test-runner/runTest.js +1 -1
  60. package/src/bin/test-runner/testWorker.js +1 -1
  61. package/src/bin/utils/constants.js +1 -1
  62. package/src/bin/utils/log4jsAppender.js +1 -1
  63. package/src/bin/utils/logPatcher.js +1 -1
  64. package/src/bin/utils/logReportingAPI.js +1 -1
  65. package/src/bin/vanilla-js/command.js +1 -1
  66. package/src/helpers/BrowserStackSetup.js +1 -1
  67. package/src/helpers/accessibility-automation/constants.js +1 -1
  68. package/src/helpers/accessibility-automation/helper.js +1 -1
  69. package/src/helpers/capsMapping.js +1 -1
  70. package/src/helpers/helper.js +1 -1
  71. package/src/helpers/logger.js +1 -1
  72. package/src/helpers/patchHelpers.js +1 -1
  73. package/src/helpers/request-spy.js +1 -1
  74. package/src/helpers/setKeepAlive.js +1 -1
  75. package/src/helpers/test-observability/constants.js +1 -1
  76. package/src/helpers/test-observability/error-handler.js +1 -1
  77. package/src/helpers/test-observability/performance-tester.js +1 -1
  78. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  79. package/src/helpers/test-observability/sessionHandler.js +1 -1
  80. package/src/helpers/test-observability/utils.js +1 -1
  81. package/src/helpers/w3cMapping.js +1 -1
  82. package/src/hubAllocationMethods.js +1 -1
  83. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a7_0x1c6161=a7_0x53f8;(function(_0x4d2bc7,_0x5ea88b){const _0x4ed02d=a7_0x53f8,_0xbeed8f=_0x4d2bc7();while(!![]){try{const _0x3843fa=-parseInt(_0x4ed02d(0x1a4))/0x1*(-parseInt(_0x4ed02d(0x201))/0x2)+-parseInt(_0x4ed02d(0x1b2))/0x3*(parseInt(_0x4ed02d(0x1cf))/0x4)+-parseInt(_0x4ed02d(0x1eb))/0x5+-parseInt(_0x4ed02d(0x19f))/0x6+parseInt(_0x4ed02d(0x1d9))/0x7+parseInt(_0x4ed02d(0x1c1))/0x8*(parseInt(_0x4ed02d(0x1df))/0x9)+-parseInt(_0x4ed02d(0x1bb))/0xa*(parseInt(_0x4ed02d(0x1b1))/0xb);if(_0x3843fa===_0x5ea88b)break;else _0xbeed8f['push'](_0xbeed8f['shift']());}catch(_0x248dea){_0xbeed8f['push'](_0xbeed8f['shift']());}}}(a7_0x1b48,0x6b88a));function a7_0x1b48(){const _0x485b7e=['help','hoUIN','52xQlNyc','../utils/userInput','Initialise\x20the\x20BrowserStack\x20CLI\x20with\x20appropriate\x20credentials.','stack','util','MyFyo','hwsID','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','usage','Nvpvo','debug','vlZJY','CrHXz','1844205kPCYJT','114DINqYJ','YLcEA','writeFileSync','auftp','Wolqn','parse','QohVo','cFIvn','bstackAccesskey','30ewVGsL','NImrs','type','vJrEc','AtOcU','existsSync','216tNtZYW','sxZIY','IOyCv','Wrong\x20credentials\x20passed.\x20Please\x20try\x20again\x20with\x20correct\x20credentials!','password','statusCode','env','url','recommendCommands','uSwCC','SsYRK','argv','mjDsq','lGIJd','10228aBcFZP','init','hcwkx','zcDoL','handler','PRecq','username','readFileSync','OEepg','string','4998245cKQhIO','xnElC','../utils/utilityMethods','ERROR','qmHZx','unknown-error','230445dEicnS','builder','aUVni','mkdirSync','error','kMZQq','iiLwO','xUKPH','BzhNV','DkQFl','LIUam','sXdFa','706250fJhUqT','iIQBb','INFO','bstackUsername','uOfjH','description','BROWSERSTACK_USERNAME','desc','bstack-accesskey','options','exit','VHgIs','WRkQZ','CNqMr','fheQu','YqbKl','BROWSERSTACK_ACCESS_KEY','../config/logger','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','eNrGg','ZvRAi','command','11852hUhQHg','wzcwP','Qbtmu','method','GET','../config/constants','epilogue','promisify','TwTQL','wrong-creds','jNpSz','Browserstack','init-called','uuid','BrowserStack\x20username\x20and\x20password\x20neither\x20passed\x20in\x20command\x20line\x20arguments\x20nor\x20set\x20as\x20environment\x20variables.\x20Raising\x20a\x20prompt\x20to\x20get\x20the\x20details.','YHFTR','request','ebuKy','bstack-username','3190098QqHHxJ','strict','kzgwu'];a7_0x1b48=function(){return _0x485b7e;};return a7_0x1b48();}const fs=require('fs'),util=require(a7_0x1c6161(0x1a8)),request=require(a7_0x1c6161(0x19c)),{v4:uuidv4}=require(a7_0x1c6161(0x20e)),{logger}=require(a7_0x1c6161(0x1fc)),{inputBstackKeys}=require(a7_0x1c6161(0x1a5)),{BS_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a7_0x1c6161(0x206)),{getDirForConfig,getCredentialsPath}=require(a7_0x1c6161(0x1db)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils'),promisifiedRequest=util[a7_0x1c6161(0x208)](request);function a7_0x53f8(_0x4610c8,_0x430e06){const _0x1b486f=a7_0x1b48();return a7_0x53f8=function(_0x53f844,_0x216c54){_0x53f844=_0x53f844-0x19b;let _0x5aadb0=_0x1b486f[_0x53f844];return _0x5aadb0;},a7_0x53f8(_0x4610c8,_0x430e06);}exports[a7_0x1c6161(0x200)]='init',exports[a7_0x1c6161(0x1f2)]=a7_0x1c6161(0x1a6),exports[a7_0x1c6161(0x1e0)]=function(_0x47c597){const _0x50177f=a7_0x1c6161,_0x39f379={};_0x39f379[_0x50177f(0x1b5)]=_0x50177f(0x1ab),_0x39f379['WRkQZ']=_0x50177f(0x1d8),_0x39f379[_0x50177f(0x1b9)]=_0x50177f(0x1fd),_0x39f379['mzIqr']=_0x50177f(0x1a2);const _0x20f390=_0x39f379,_0x276846={};_0x276846[_0x50177f(0x1f0)]=_0x20f390[_0x50177f(0x1b5)],_0x276846[_0x50177f(0x1bd)]=_0x20f390[_0x50177f(0x1f7)];const _0x5bc02d={};_0x5bc02d[_0x50177f(0x1f0)]=_0x20f390[_0x50177f(0x1b9)],_0x5bc02d[_0x50177f(0x1bd)]=_0x20f390['WRkQZ'];const _0xd7454b={};return _0xd7454b[_0x50177f(0x19e)]=_0x276846,_0xd7454b[_0x50177f(0x1f3)]=_0x5bc02d,_0x47c597[_0x50177f(0x1ac)](HELP_HEADER_MESSAGE[_0x50177f(0x1d0)])[_0x50177f(0x207)](HELP_FOOTER_MESSAGE)[_0x50177f(0x1f4)](_0xd7454b)[_0x50177f(0x1c9)]()[_0x50177f(0x1a0)]()[_0x50177f(0x1a2)](_0x20f390['mzIqr'])['argv'];},exports[a7_0x1c6161(0x1d3)]=async function(_0xb073e0){const _0x1c0147=a7_0x1c6161,_0x2ad864={'vlZJY':_0x1c0147(0x1ab),'vJrEc':_0x1c0147(0x1d8),'eNrGg':'Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','PRecq':_0x1c0147(0x1a2),'kzgwu':function(_0xc60e6a){return _0xc60e6a();},'uSwCC':'utf-8','sXdFa':function(_0x229438,_0x3fbd31,_0x308962,_0x3a9577,_0x2db9dd,_0x514f99,_0x5b8bc4){return _0x229438(_0x3fbd31,_0x308962,_0x3a9577,_0x2db9dd,_0x514f99,_0x5b8bc4);},'wzcwP':_0x1c0147(0x20d),'qmHZx':function(_0x573fc3,_0x346388){return _0x573fc3===_0x346388;},'mjDsq':_0x1c0147(0x1e6),'jNpSz':function(_0xbc75e7,_0x52e539){return _0xbc75e7!==_0x52e539;},'hwsID':_0x1c0147(0x19b),'DkQFl':_0x1c0147(0x1a9),'SezHH':function(_0x597d53,_0x303efe){return _0x597d53===_0x303efe;},'Nvpvo':_0x1c0147(0x1f6),'SsYRK':_0x1c0147(0x1b0),'sxZIY':function(_0x1f88a5,_0x45146c){return _0x1f88a5!==_0x45146c;},'Wolqn':_0x1c0147(0x1b3),'Qbtmu':function(_0x583297,_0x109baf){return _0x583297===_0x109baf;},'iiLwO':_0x1c0147(0x1e4),'CNqMr':_0x1c0147(0x1ff),'MKGUq':_0x1c0147(0x20f),'xnElC':_0x1c0147(0x205),'ZnOGY':function(_0x3db4c9,_0x538176){return _0x3db4c9(_0x538176);},'BzhNV':function(_0x295090,_0x102cec){return _0x295090!==_0x102cec;},'QohVo':function(_0x238dc8,_0x46be25){return _0x238dc8===_0x46be25;},'uOfjH':function(_0x2aa1a4,_0x5681ea){return _0x2aa1a4!==_0x5681ea;},'TwTQL':_0x1c0147(0x1a3),'zcDoL':_0x1c0147(0x1d1),'aUVni':_0x1c0147(0x1bc),'tMIwQ':_0x1c0147(0x19d),'LIUam':function(_0x50e2c0){return _0x50e2c0();},'lGIJd':_0x1c0147(0x1d7),'AtOcU':_0x1c0147(0x1fa),'iIQBb':_0x1c0147(0x1c4),'VDELk':function(_0x2748f9,_0x52f949,_0x1fb513,_0x18a0b6,_0x51b5d9,_0x56971d,_0x10739c){return _0x2748f9(_0x52f949,_0x1fb513,_0x18a0b6,_0x51b5d9,_0x56971d,_0x10739c);},'fheQu':_0x1c0147(0x20a),'IOyCv':_0x1c0147(0x1de)};try{global_registry['requestId']=_0x2ad864['kzgwu'](uuidv4),_0x2ad864['sXdFa'](sendInstrumentationEvent,_0xb073e0,_0x2ad864[_0x1c0147(0x202)],messageTypes[_0x1c0147(0x1ed)],null,null,_0xb073e0);const _0x4c6e21=_0x2ad864[_0x1c0147(0x1a1)](getDirForConfig);!fs[_0x1c0147(0x1c0)](_0x4c6e21)&&(_0x2ad864[_0x1c0147(0x1dd)](_0x2ad864[_0x1c0147(0x1cd)],_0x2ad864['mjDsq'])?fs['mkdirSync'](_0x4c6e21):_0x1752de=!![]);let _0x2f2736,_0x330ecf;_0xb073e0[_0x1c0147(0x1ee)]&&(_0x2ad864[_0x1c0147(0x20b)](_0x2ad864[_0x1c0147(0x1aa)],_0x2ad864[_0x1c0147(0x1aa)])?_0x14c38f=_0x9b986e[_0x1c0147(0x1c7)][_0x1c0147(0x1f1)]:_0x2f2736=_0xb073e0[_0x1c0147(0x1ee)]);process[_0x1c0147(0x1c7)][_0x1c0147(0x1f1)]&&(_0x2ad864['jNpSz'](_0x2ad864['DkQFl'],_0x2ad864[_0x1c0147(0x1e8)])?_0x1774cc=_0x1267f6[_0x1c0147(0x1ee)]:_0x2f2736=process[_0x1c0147(0x1c7)]['BROWSERSTACK_USERNAME']);if(_0xb073e0[_0x1c0147(0x1ba)]){if(_0x2ad864['SezHH'](_0x2ad864[_0x1c0147(0x1ad)],_0x2ad864[_0x1c0147(0x1cb)])){const _0x216e21={};_0x216e21[_0x1c0147(0x1f0)]=_0x2ad864[_0x1c0147(0x1af)],_0x216e21[_0x1c0147(0x1bd)]=_0x2ad864[_0x1c0147(0x1be)];const _0x1ff3b4={};_0x1ff3b4[_0x1c0147(0x1f0)]=_0x2ad864[_0x1c0147(0x1fe)],_0x1ff3b4[_0x1c0147(0x1bd)]=_0x2ad864[_0x1c0147(0x1be)];const _0x126c23={};return _0x126c23[_0x1c0147(0x19e)]=_0x216e21,_0x126c23[_0x1c0147(0x1f3)]=_0x1ff3b4,_0x582cf2['usage'](_0x1c75e6[_0x1c0147(0x1d0)])[_0x1c0147(0x207)](_0x4cfabd)['options'](_0x126c23)[_0x1c0147(0x1c9)]()[_0x1c0147(0x1a0)]()['help'](_0x2ad864[_0x1c0147(0x1d4)])[_0x1c0147(0x1cc)];}else _0x330ecf=_0xb073e0[_0x1c0147(0x1ba)];}process[_0x1c0147(0x1c7)]['BROWSERSTACK_ACCESS_KEY']&&(_0x2ad864[_0x1c0147(0x1c2)](_0x2ad864['Wolqn'],_0x2ad864[_0x1c0147(0x1b6)])?_0x405a18[_0x1c0147(0x1e2)](_0x737af4):_0x330ecf=process[_0x1c0147(0x1c7)][_0x1c0147(0x1fb)]);if(_0x2ad864[_0x1c0147(0x1dd)](_0x2f2736,undefined)||_0x2ad864[_0x1c0147(0x203)](_0x330ecf,undefined)){if(_0x2ad864['jNpSz'](_0x2ad864[_0x1c0147(0x1e5)],_0x2ad864[_0x1c0147(0x1f8)])){logger[_0x1c0147(0x1ae)](_0x2ad864['MKGUq']);const [_0x539062,_0x28e91f]=await _0x2ad864['kzgwu'](inputBstackKeys);_0x2f2736=_0x539062,_0x330ecf=_0x28e91f;}else{let _0x5e2b08={};const _0x51da6c=_0x2ad864[_0x1c0147(0x1a1)](_0x873a67);_0x484e72[_0x1c0147(0x1c0)](_0x51da6c)&&(_0x5e2b08=_0x26f968['parse'](_0x5bf77b[_0x1c0147(0x1d6)](_0x51da6c,_0x2ad864[_0x1c0147(0x1ca)])));const _0x50eb80={};_0x50eb80[_0x1c0147(0x1d5)]=_0x4d2b8d,_0x50eb80[_0x1c0147(0x1c5)]=_0x5b8ec4,_0x5e2b08[_0x1c0147(0x20c)]=_0x50eb80,_0x298cd8[_0x1c0147(0x1b4)](_0x51da6c,_0x50a6ef['stringify'](_0x5e2b08)),_0x5b3059[_0x1c0147(0x1f5)](0x0);}}let _0x34b82a=![];const _0xb14bda={};_0xb14bda[_0x1c0147(0x1c8)]='https://'+_0x2f2736+':'+_0x330ecf+'@'+BS_API_URL+'/automate/plan.json',_0xb14bda[_0x1c0147(0x204)]=_0x2ad864[_0x1c0147(0x1da)];const _0x20dc86=_0xb14bda,_0x4a8b42=await _0x2ad864['ZnOGY'](promisifiedRequest,_0x20dc86);_0x2ad864['sxZIY'](_0x4a8b42,null)&&_0x2ad864[_0x1c0147(0x1e7)](_0x4a8b42,undefined)&&_0x2ad864[_0x1c0147(0x1b8)](_0x4a8b42[_0x1c0147(0x1c6)],0xc8)&&(_0x2ad864[_0x1c0147(0x1ef)](_0x2ad864[_0x1c0147(0x209)],_0x2ad864[_0x1c0147(0x1d2)])?_0x34b82a=!![]:_0x577fbf=_0x2cb3ab[_0x1c0147(0x1c7)][_0x1c0147(0x1fb)]);if(_0x34b82a){if(_0x2ad864[_0x1c0147(0x20b)](_0x2ad864[_0x1c0147(0x1e1)],_0x2ad864['tMIwQ'])){let _0x2bdcfb={};const _0x2e8076=_0x2ad864[_0x1c0147(0x1e9)](getCredentialsPath);fs[_0x1c0147(0x1c0)](_0x2e8076)&&(_0x2ad864[_0x1c0147(0x20b)](_0x2ad864[_0x1c0147(0x1ce)],_0x2ad864[_0x1c0147(0x1bf)])?_0x2bdcfb=JSON[_0x1c0147(0x1b7)](fs[_0x1c0147(0x1d6)](_0x2e8076,_0x2ad864[_0x1c0147(0x1ca)])):_0x10134f=_0x1db626[_0x1c0147(0x1b7)](_0x455dfd['readFileSync'](_0x319213,_0x2ad864['uSwCC'])));const _0x1be001={};_0x1be001[_0x1c0147(0x1d5)]=_0x2f2736,_0x1be001[_0x1c0147(0x1c5)]=_0x330ecf,_0x2bdcfb['Browserstack']=_0x1be001,fs[_0x1c0147(0x1b4)](_0x2e8076,JSON['stringify'](_0x2bdcfb)),process['exit'](0x0);}else _0x3b6ab6=_0x4e835e[_0x1c0147(0x1ba)];}else logger[_0x1c0147(0x1e3)](_0x2ad864[_0x1c0147(0x1ec)]),await _0x2ad864['VDELk'](sendInstrumentationEvent,_0xb073e0,_0x2ad864[_0x1c0147(0x202)],messageTypes[_0x1c0147(0x1dc)],_0x2ad864[_0x1c0147(0x1f9)],null,_0xb073e0),process[_0x1c0147(0x1f5)](0x1);}catch(_0x311962){logger[_0x1c0147(0x1e3)](_0x311962[_0x1c0147(0x1a7)]),await _0x2ad864[_0x1c0147(0x1ea)](sendInstrumentationEvent,_0xb073e0,_0x2ad864[_0x1c0147(0x202)],messageTypes[_0x1c0147(0x1dc)],_0x2ad864[_0x1c0147(0x1c3)],_0x311962,_0xb073e0),process[_0x1c0147(0x1f5)](0x1);}};
1
+ const a7_0x36dbb3=a7_0x342c;function a7_0x4d42(){const _0x170122=['Initialise\x20the\x20BrowserStack\x20CLI\x20with\x20appropriate\x20credentials.','command','BROWSERSTACK_ACCESS_KEY','Vendj','yLbzP','DbILi','exit','uuid','handler','error','bstack-accesskey','qyQlj','qFjMT','requestId','env','RKINs','https://','SshYc','parse','WQMGr','QyzuL','username','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','builder','stack','cBjsx','method','QortA','UQRia','../utils/userInput','Browserstack','bstackAccesskey','request','ERROR','oocyB','HDLQN','eOnxR','LrsTP','888EHVhsV','pUdyv','153162GbRytz','mkdirSync','INFO','utf-8','usage','FpEcL','dHuKz','DxCew','BPPYJ','305096xZNTiQ','wrong-creds','argv','writeFileSync','ZmATJ','bzJjQ','MxfGS','options','debug','517128WrbjTH','JPXCV','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','../utils/utilityMethods','zAgOF','stringify','recommendCommands','sQecS','unknown-error','BdyKC','PTHAr','existsSync','269961eZaYgV','BROWSERSTACK_USERNAME','612775NIFFRa','USWqP','TXMon','QVosu','strict','uZMoW','/automate/plan.json','type','iZuLE','rljiD','init-called','BYlVV','bstackUsername','ZFwAE','ZhwCb','epilogue','3NbzNzY','BMJkA','string','desc','init','GET','28593PmBdLV','YmhhF','aKJOU','description','bstack-username','help','1113252uqAAWD','statusCode','WsIYO','readFileSync','BhESR','IVwUY','util','../utils/instrumentationUtils','uSxsF','OrDVG','password'];a7_0x4d42=function(){return _0x170122;};return a7_0x4d42();}function a7_0x342c(_0x236b32,_0x509fa){const _0x4d42c3=a7_0x4d42();return a7_0x342c=function(_0x342cf8,_0x308883){_0x342cf8=_0x342cf8-0x165;let _0x2e344f=_0x4d42c3[_0x342cf8];return _0x2e344f;},a7_0x342c(_0x236b32,_0x509fa);}(function(_0x3afaf4,_0x4c3659){const _0x135b5c=a7_0x342c,_0x317399=_0x3afaf4();while(!![]){try{const _0x306f7f=parseInt(_0x135b5c(0x1af))/0x1+parseInt(_0x135b5c(0x19a))/0x2+parseInt(_0x135b5c(0x1c1))/0x3*(parseInt(_0x135b5c(0x1a3))/0x4)+parseInt(_0x135b5c(0x1b1))/0x5+-parseInt(_0x135b5c(0x191))/0x6+-parseInt(_0x135b5c(0x1cd))/0x7+-parseInt(_0x135b5c(0x18f))/0x8*(parseInt(_0x135b5c(0x1c7))/0x9);if(_0x306f7f===_0x4c3659)break;else _0x317399['push'](_0x317399['shift']());}catch(_0x506df6){_0x317399['push'](_0x317399['shift']());}}}(a7_0x4d42,0x217b0));const fs=require('fs'),util=require(a7_0x36dbb3(0x1d3)),request=require(a7_0x36dbb3(0x189)),{v4:uuidv4}=require(a7_0x36dbb3(0x170)),{logger}=require('../config/logger'),{inputBstackKeys}=require(a7_0x36dbb3(0x186)),{BS_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../config/constants'),{getDirForConfig,getCredentialsPath}=require(a7_0x36dbb3(0x1a6)),{sendInstrumentationEvent}=require(a7_0x36dbb3(0x165)),promisifiedRequest=util['promisify'](request);exports[a7_0x36dbb3(0x16a)]=a7_0x36dbb3(0x1c5),exports[a7_0x36dbb3(0x1c4)]=a7_0x36dbb3(0x169),exports[a7_0x36dbb3(0x180)]=function(_0x56e53e){const _0x1d7299=a7_0x36dbb3,_0x2043be={};_0x2043be[_0x1d7299(0x1b3)]=_0x1d7299(0x17f),_0x2043be[_0x1d7299(0x190)]=_0x1d7299(0x1c3),_0x2043be[_0x1d7299(0x18e)]=_0x1d7299(0x1a5),_0x2043be['BMJkA']=_0x1d7299(0x1cc);const _0x21986a=_0x2043be,_0x28081c={};_0x28081c[_0x1d7299(0x1ca)]=_0x21986a['TXMon'],_0x28081c[_0x1d7299(0x1b8)]=_0x21986a[_0x1d7299(0x190)];const _0x33824e={};_0x33824e['description']=_0x21986a[_0x1d7299(0x18e)],_0x33824e[_0x1d7299(0x1b8)]=_0x21986a[_0x1d7299(0x190)];const _0x2f3da1={};return _0x2f3da1[_0x1d7299(0x1cb)]=_0x28081c,_0x2f3da1[_0x1d7299(0x173)]=_0x33824e,_0x56e53e['usage'](HELP_HEADER_MESSAGE[_0x1d7299(0x1c5)])[_0x1d7299(0x1c0)](HELP_FOOTER_MESSAGE)[_0x1d7299(0x1a1)](_0x2f3da1)['recommendCommands']()['strict']()[_0x1d7299(0x1cc)](_0x21986a[_0x1d7299(0x1c2)])[_0x1d7299(0x19c)];},exports[a7_0x36dbb3(0x171)]=async function(_0x40587c){const _0x2c0f62=a7_0x36dbb3,_0x81ae78={'rljiD':'Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','BYlVV':_0x2c0f62(0x1c3),'WQMGr':_0x2c0f62(0x1a5),'BhESR':_0x2c0f62(0x1cc),'uZMoW':_0x2c0f62(0x194),'cBjsx':function(_0x509ade){return _0x509ade();},'QortA':function(_0x41af36){return _0x41af36();},'DxCew':function(_0x121f79,_0x4b2a72,_0x4f158d,_0x367216,_0x3f8b98,_0x267314,_0x39249a){return _0x121f79(_0x4b2a72,_0x4f158d,_0x367216,_0x3f8b98,_0x267314,_0x39249a);},'FpEcL':_0x2c0f62(0x1bb),'bzJjQ':function(_0x17d269,_0x41d229){return _0x17d269!==_0x41d229;},'IVwUY':_0x2c0f62(0x18b),'syFsc':'Ltcno','ZhwCb':function(_0x21789b,_0x49a701){return _0x21789b===_0x49a701;},'eOnxR':'eVQFx','ZmATJ':'VktTH','XHRGC':function(_0x4d7c46,_0x3312f1){return _0x4d7c46!==_0x3312f1;},'SshYc':_0x2c0f62(0x178),'dXPfM':'QWSeg','sQecS':_0x2c0f62(0x1be),'DbILi':function(_0x5f389f,_0x3201a2){return _0x5f389f!==_0x3201a2;},'QVosu':'DPKHo','uSxsF':'staEg','dHuKz':function(_0x1e907d,_0x21c2a5){return _0x1e907d===_0x21c2a5;},'BdyKC':function(_0x5870a1,_0x585dea){return _0x5870a1===_0x585dea;},'HDLQN':function(_0x11b6ac,_0x56c735){return _0x11b6ac!==_0x56c735;},'Vendj':_0x2c0f62(0x1c8),'qyQlj':_0x2c0f62(0x167),'USWqP':'BrowserStack\x20username\x20and\x20password\x20neither\x20passed\x20in\x20command\x20line\x20arguments\x20nor\x20set\x20as\x20environment\x20variables.\x20Raising\x20a\x20prompt\x20to\x20get\x20the\x20details.','iiJeR':_0x2c0f62(0x1c6),'xFPlL':function(_0x5e8ed2,_0x3572e8){return _0x5e8ed2(_0x3572e8);},'iZuLE':function(_0x2b0f06,_0x30dfdb){return _0x2b0f06!==_0x30dfdb;},'nlcZo':function(_0x258178,_0x48e115){return _0x258178===_0x48e115;},'SmXYQ':_0x2c0f62(0x16d),'zAgOF':_0x2c0f62(0x1cf),'UQRia':_0x2c0f62(0x17d),'aKJOU':function(_0x336f19,_0x5a7dc2){return _0x336f19!==_0x5a7dc2;},'JPXCV':'dEvBP','MxfGS':'Wrong\x20credentials\x20passed.\x20Please\x20try\x20again\x20with\x20correct\x20credentials!','PTHAr':function(_0x1b3ade,_0x5dd5b0,_0x211125,_0x347a41,_0x1597ff,_0x2390c8,_0x389a34){return _0x1b3ade(_0x5dd5b0,_0x211125,_0x347a41,_0x1597ff,_0x2390c8,_0x389a34);},'ADHnV':_0x2c0f62(0x19b),'qFjMT':function(_0x4756f9,_0x171f8b,_0x31aed2,_0x12571f,_0x4c71b8,_0xe7657f,_0xcd33ff){return _0x4756f9(_0x171f8b,_0x31aed2,_0x12571f,_0x4c71b8,_0xe7657f,_0xcd33ff);},'BPPYJ':_0x2c0f62(0x1ab)};try{global_registry[_0x2c0f62(0x176)]=_0x81ae78[_0x2c0f62(0x184)](uuidv4),_0x81ae78[_0x2c0f62(0x198)](sendInstrumentationEvent,_0x40587c,_0x81ae78[_0x2c0f62(0x196)],messageTypes[_0x2c0f62(0x193)],null,null,_0x40587c);const _0x1fcb44=_0x81ae78[_0x2c0f62(0x182)](getDirForConfig);!fs[_0x2c0f62(0x1ae)](_0x1fcb44)&&(_0x81ae78[_0x2c0f62(0x19f)](_0x81ae78[_0x2c0f62(0x1d2)],_0x81ae78['syFsc'])?fs[_0x2c0f62(0x192)](_0x1fcb44):_0x5c6149=_0x54dfb0[_0x2c0f62(0x177)][_0x2c0f62(0x16b)]);let _0x20e7f5,_0x279622;_0x40587c[_0x2c0f62(0x1bd)]&&(_0x81ae78[_0x2c0f62(0x1bf)](_0x81ae78[_0x2c0f62(0x18d)],_0x81ae78[_0x2c0f62(0x19e)])?_0x1cfd4d=_0x1a5571[_0x2c0f62(0x1bd)]:_0x20e7f5=_0x40587c['bstackUsername']);process[_0x2c0f62(0x177)][_0x2c0f62(0x1b0)]&&(_0x81ae78['XHRGC'](_0x81ae78[_0x2c0f62(0x17a)],_0x81ae78['dXPfM'])?_0x20e7f5=process[_0x2c0f62(0x177)][_0x2c0f62(0x1b0)]:_0x14432c=!![]);_0x40587c[_0x2c0f62(0x188)]&&(_0x81ae78[_0x2c0f62(0x1bf)](_0x81ae78['sQecS'],_0x81ae78[_0x2c0f62(0x1aa)])?_0x279622=_0x40587c[_0x2c0f62(0x188)]:_0x44b0bc[_0x2c0f62(0x192)](_0x1401e0));process['env'][_0x2c0f62(0x16b)]&&(_0x81ae78[_0x2c0f62(0x16e)](_0x81ae78[_0x2c0f62(0x1b4)],_0x81ae78[_0x2c0f62(0x166)])?_0x279622=process['env']['BROWSERSTACK_ACCESS_KEY']:_0x1fd2da=_0x2bd667[_0x2c0f62(0x188)]);if(_0x81ae78[_0x2c0f62(0x197)](_0x20e7f5,undefined)||_0x81ae78[_0x2c0f62(0x1ac)](_0x279622,undefined)){if(_0x81ae78[_0x2c0f62(0x18c)](_0x81ae78[_0x2c0f62(0x16c)],_0x81ae78[_0x2c0f62(0x174)])){logger[_0x2c0f62(0x1a2)](_0x81ae78[_0x2c0f62(0x1b2)]);const [_0x392d5d,_0x384d66]=await _0x81ae78['cBjsx'](inputBstackKeys);_0x20e7f5=_0x392d5d,_0x279622=_0x384d66;}else{const _0x3d6cce={};_0x3d6cce[_0x2c0f62(0x1ca)]=_0x81ae78[_0x2c0f62(0x1ba)],_0x3d6cce['type']=_0x81ae78['BYlVV'];const _0x137600={};_0x137600[_0x2c0f62(0x1ca)]=_0x81ae78[_0x2c0f62(0x17c)],_0x137600[_0x2c0f62(0x1b8)]=_0x81ae78[_0x2c0f62(0x1bc)];const _0x32ebe8={};return _0x32ebe8[_0x2c0f62(0x1cb)]=_0x3d6cce,_0x32ebe8[_0x2c0f62(0x173)]=_0x137600,_0x19bbc9[_0x2c0f62(0x195)](_0x4737f0['init'])[_0x2c0f62(0x1c0)](_0x1f720)[_0x2c0f62(0x1a1)](_0x32ebe8)[_0x2c0f62(0x1a9)]()[_0x2c0f62(0x1b5)]()[_0x2c0f62(0x1cc)](_0x81ae78[_0x2c0f62(0x1d1)])[_0x2c0f62(0x19c)];}}let _0x44a0e3=![];const _0x251c87={};_0x251c87['url']=_0x2c0f62(0x179)+_0x20e7f5+':'+_0x279622+'@'+BS_API_URL+_0x2c0f62(0x1b7),_0x251c87[_0x2c0f62(0x183)]=_0x81ae78['iiJeR'];const _0x133c76=_0x251c87,_0x501200=await _0x81ae78['xFPlL'](promisifiedRequest,_0x133c76);_0x81ae78['HDLQN'](_0x501200,null)&&_0x81ae78[_0x2c0f62(0x1b9)](_0x501200,undefined)&&_0x81ae78['nlcZo'](_0x501200[_0x2c0f62(0x1ce)],0xc8)&&(_0x81ae78[_0x2c0f62(0x16e)](_0x81ae78['SmXYQ'],_0x81ae78[_0x2c0f62(0x1a7)])?_0x44a0e3=!![]:_0x1520d6=_0xae2fe0[_0x2c0f62(0x17b)](_0x2147c2[_0x2c0f62(0x1d0)](_0x23de18,_0x81ae78[_0x2c0f62(0x1b6)])));if(_0x44a0e3){if(_0x81ae78['iZuLE'](_0x81ae78[_0x2c0f62(0x185)],_0x81ae78[_0x2c0f62(0x185)]))_0x208df6=_0xfa0ce6[_0x2c0f62(0x177)][_0x2c0f62(0x1b0)];else{let _0x368c66={};const _0x905cad=_0x81ae78[_0x2c0f62(0x184)](getCredentialsPath);if(fs[_0x2c0f62(0x1ae)](_0x905cad)){if(_0x81ae78[_0x2c0f62(0x1c9)](_0x81ae78[_0x2c0f62(0x1a4)],_0x81ae78[_0x2c0f62(0x1a4)])){let _0x28f792={};const _0x36693b=_0x81ae78['cBjsx'](_0x4d790f);_0x3ca688[_0x2c0f62(0x1ae)](_0x36693b)&&(_0x28f792=_0x150218[_0x2c0f62(0x17b)](_0x22e07b[_0x2c0f62(0x1d0)](_0x36693b,_0x81ae78['uZMoW'])));const _0x476064={};_0x476064[_0x2c0f62(0x17e)]=_0x4cf1fb,_0x476064[_0x2c0f62(0x168)]=_0x198c0e,_0x28f792[_0x2c0f62(0x187)]=_0x476064,_0x33b3a4[_0x2c0f62(0x19d)](_0x36693b,_0x1815ea[_0x2c0f62(0x1a8)](_0x28f792)),_0x1290f3[_0x2c0f62(0x16f)](0x0);}else _0x368c66=JSON[_0x2c0f62(0x17b)](fs[_0x2c0f62(0x1d0)](_0x905cad,_0x81ae78[_0x2c0f62(0x1b6)]));}const _0x3dba47={};_0x3dba47[_0x2c0f62(0x17e)]=_0x20e7f5,_0x3dba47[_0x2c0f62(0x168)]=_0x279622,_0x368c66['Browserstack']=_0x3dba47,fs[_0x2c0f62(0x19d)](_0x905cad,JSON[_0x2c0f62(0x1a8)](_0x368c66)),process[_0x2c0f62(0x16f)](0x0);}}else logger[_0x2c0f62(0x172)](_0x81ae78[_0x2c0f62(0x1a0)]),await _0x81ae78[_0x2c0f62(0x1ad)](sendInstrumentationEvent,_0x40587c,_0x81ae78['FpEcL'],messageTypes[_0x2c0f62(0x18a)],_0x81ae78['ADHnV'],null,_0x40587c),process['exit'](0x1);}catch(_0x46a83a){logger[_0x2c0f62(0x172)](_0x46a83a[_0x2c0f62(0x181)]),await _0x81ae78[_0x2c0f62(0x175)](sendInstrumentationEvent,_0x40587c,_0x81ae78[_0x2c0f62(0x196)],messageTypes[_0x2c0f62(0x18a)],_0x81ae78[_0x2c0f62(0x199)],_0x46a83a,_0x40587c),process[_0x2c0f62(0x16f)](0x1);}};
@@ -1 +1 @@
1
- const a8_0x588e5f=a8_0x4555;(function(_0x23e0c9,_0x3c33ec){const _0x101210=a8_0x4555,_0x3b60d0=_0x23e0c9();while(!![]){try{const _0x56628e=parseInt(_0x101210(0x96))/0x1*(parseInt(_0x101210(0x9f))/0x2)+-parseInt(_0x101210(0x99))/0x3+parseInt(_0x101210(0x9c))/0x4*(-parseInt(_0x101210(0x9a))/0x5)+-parseInt(_0x101210(0xab))/0x6+parseInt(_0x101210(0x97))/0x7*(parseInt(_0x101210(0x91))/0x8)+-parseInt(_0x101210(0xac))/0x9+-parseInt(_0x101210(0xad))/0xa*(-parseInt(_0x101210(0xa8))/0xb);if(_0x56628e===_0x3c33ec)break;else _0x3b60d0['push'](_0x3b60d0['shift']());}catch(_0x5c563d){_0x3b60d0['push'](_0x3b60d0['shift']());}}}(a8_0x4168,0x6eada));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x588e5f(0xa7));function a8_0x4555(_0x2bfdfa,_0x1ef3dd){const _0x4168e6=a8_0x4168();return a8_0x4555=function(_0x4555ee,_0x6bc8c6){_0x4555ee=_0x4555ee-0x91;let _0x1bb2ed=_0x4168e6[_0x4555ee];return _0x1bb2ed;},a8_0x4555(_0x2bfdfa,_0x1ef3dd);}exports[a8_0x588e5f(0x98)]=a8_0x588e5f(0xa3),exports[a8_0x588e5f(0xa9)]=a8_0x588e5f(0x9d),exports[a8_0x588e5f(0xa2)]=function(_0x1d3b67){const _0x8eb40=a8_0x588e5f,_0x18a373={};_0x18a373[_0x8eb40(0x9e)]=_0x8eb40(0xaa),_0x18a373[_0x8eb40(0xa0)]=_0x8eb40(0xa1);const _0x41040b=_0x18a373;return _0x1d3b67[_0x8eb40(0xa5)](_0x41040b[_0x8eb40(0x9e)])[_0x8eb40(0x93)]()[_0x8eb40(0x95)](HELP_HEADER_MESSAGE['list'][_0x8eb40(0xa4)])[_0x8eb40(0x94)](HELP_FOOTER_MESSAGE)[_0x8eb40(0x92)]()[_0x8eb40(0xa6)]()[_0x8eb40(0xa1)](_0x41040b[_0x8eb40(0xa0)]);},exports[a8_0x588e5f(0x9b)]=function(_0x39c1c8){};function a8_0x4168(){const _0x241a35=['help','builder','list','root','commandDir','strict','../config/constants','11MHPVvT','desc','list_commands','4789470pBEsJC','7341795IYzJBd','13863940xZlYVR','72ATscGu','recommendCommands','demandCommand','epilogue','usage','1fsQAmJ','673533fefpvk','command','1338111cusTxY','5YVtDSz','handler','1307524yYtfRO','List\x20down\x20the\x20Grid\x20resources.','hRhDy','1175782PcmATO','yRRGv'];a8_0x4168=function(){return _0x241a35;};return a8_0x4168();}
1
+ const a8_0x3507d2=a8_0x3f9c;function a8_0x28b6(){const _0x417536=['help','../config/constants','699350reCXHj','commandDir','usage','387435SNAjWs','2353580HMcRBg','4145720yGsYCa','epilogue','4152820liUJFm','waXgl','strict','list','rakTS','1418469JHTTGR','command','List\x20down\x20the\x20Grid\x20resources.','root','5Rcfjhw','list_commands','builder','2776146FFNcjO','recommendCommands'];a8_0x28b6=function(){return _0x417536;};return a8_0x28b6();}(function(_0x5d8c40,_0x2fdbfa){const _0xc7b080=a8_0x3f9c,_0x67cb6a=_0x5d8c40();while(!![]){try{const _0x47ea7a=parseInt(_0xc7b080(0xd7))/0x1+parseInt(_0xc7b080(0xd4))/0x2+-parseInt(_0xc7b080(0xe0))/0x3+-parseInt(_0xc7b080(0xd8))/0x4*(parseInt(_0xc7b080(0xcd))/0x5)+-parseInt(_0xc7b080(0xd0))/0x6+parseInt(_0xc7b080(0xdb))/0x7+parseInt(_0xc7b080(0xd9))/0x8;if(_0x47ea7a===_0x2fdbfa)break;else _0x67cb6a['push'](_0x67cb6a['shift']());}catch(_0x216a8b){_0x67cb6a['push'](_0x67cb6a['shift']());}}}(a8_0x28b6,0x4f444));function a8_0x3f9c(_0x5582df,_0x39fcc2){const _0x28b652=a8_0x28b6();return a8_0x3f9c=function(_0x3f9cf3,_0x225394){_0x3f9cf3=_0x3f9cf3-0xcd;let _0x53b1d4=_0x28b652[_0x3f9cf3];return _0x53b1d4;},a8_0x3f9c(_0x5582df,_0x39fcc2);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x3507d2(0xd3));exports[a8_0x3507d2(0xe1)]='list',exports['desc']=a8_0x3507d2(0xe2),exports[a8_0x3507d2(0xcf)]=function(_0x2a0c3e){const _0x11739d=a8_0x3507d2,_0x10b6f5={};_0x10b6f5[_0x11739d(0xdc)]=_0x11739d(0xce),_0x10b6f5[_0x11739d(0xdf)]='help';const _0x110f08=_0x10b6f5;return _0x2a0c3e[_0x11739d(0xd5)](_0x110f08[_0x11739d(0xdc)])['demandCommand']()[_0x11739d(0xd6)](HELP_HEADER_MESSAGE[_0x11739d(0xde)][_0x11739d(0xe3)])[_0x11739d(0xda)](HELP_FOOTER_MESSAGE)[_0x11739d(0xd1)]()[_0x11739d(0xdd)]()[_0x11739d(0xd2)](_0x110f08[_0x11739d(0xdf)]);},exports['handler']=function(_0x40133c){};
@@ -1 +1 @@
1
- const a9_0x1d6432=a9_0x1262;(function(_0x2451b0,_0x5923fe){const _0x572723=a9_0x1262,_0x1b3c7f=_0x2451b0();while(!![]){try{const _0x27d59c=parseInt(_0x572723(0x1ac))/0x1+parseInt(_0x572723(0x1b0))/0x2+parseInt(_0x572723(0x196))/0x3*(parseInt(_0x572723(0x1bb))/0x4)+parseInt(_0x572723(0x1a0))/0x5+parseInt(_0x572723(0x181))/0x6+parseInt(_0x572723(0x17d))/0x7*(-parseInt(_0x572723(0x190))/0x8)+-parseInt(_0x572723(0x185))/0x9*(parseInt(_0x572723(0x1c0))/0xa);if(_0x27d59c===_0x5923fe)break;else _0x1b3c7f['push'](_0x1b3c7f['shift']());}catch(_0x1e6b39){_0x1b3c7f['push'](_0x1b3c7f['shift']());}}}(a9_0x5e55,0x5b2d6));const fs=require('fs'),util=require(a9_0x1d6432(0x1ba)),request=require(a9_0x1d6432(0x178)),{table}=require(a9_0x1d6432(0x183)),{v4:uuidv4}=require(a9_0x1d6432(0x1c1)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../../config/constants'),{getCredentialsPath}=require(a9_0x1d6432(0x19e)),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util['promisify'](request);function a9_0x1262(_0x475d86,_0x1e7748){const _0x5e55c1=a9_0x5e55();return a9_0x1262=function(_0x126253,_0x1ca681){_0x126253=_0x126253-0x174;let _0x3bcb96=_0x5e55c1[_0x126253];return _0x3bcb96;},a9_0x1262(_0x475d86,_0x1e7748);}exports[a9_0x1d6432(0x1bc)]='grid-profiles',exports['desc']=a9_0x1d6432(0x195),exports[a9_0x1d6432(0x192)]=function(_0x91c005){const _0x3ce87e=a9_0x1d6432,_0x111ef8={};_0x111ef8[_0x3ce87e(0x179)]=_0x3ce87e(0x194),_0x111ef8['oQgRr']=_0x3ce87e(0x1b5),_0x111ef8['MyLCP']=_0x3ce87e(0x1a1);const _0x585ed2=_0x111ef8,_0x51b08d={};_0x51b08d['description']=_0x585ed2[_0x3ce87e(0x179)],_0x51b08d[_0x3ce87e(0x1c2)]=_0x585ed2['oQgRr'];const _0x592ede={};return _0x592ede[_0x3ce87e(0x1a6)]=_0x51b08d,_0x91c005[_0x3ce87e(0x1b2)](HELP_HEADER_MESSAGE['list']['gridProfile'])['epilogue'](HELP_FOOTER_MESSAGE)[_0x3ce87e(0x1af)](_0x592ede)[_0x3ce87e(0x1a1)](_0x585ed2['MyLCP'])[_0x3ce87e(0x18d)];},exports[a9_0x1d6432(0x17a)]=async function(_0x33bc45){const _0x5be28f=a9_0x1d6432,_0x763f3e={'Djrcp':function(_0x13f435){return _0x13f435();},'ViphB':_0x5be28f(0x191),'McRyM':function(_0x317282,_0xebb41e,_0x1b7a05,_0x4a0e69,_0x315a04,_0x6fbc39,_0xef2ea){return _0x317282(_0xebb41e,_0x1b7a05,_0x4a0e69,_0x315a04,_0x6fbc39,_0xef2ea);},'ktfUk':_0x5be28f(0x19c),'HcBND':_0x5be28f(0x17f),'PZNgd':function(_0x5b4c70,_0x8fe1ff,_0x1b6238,_0x2dba08,_0xacb268,_0x13d88d,_0x3e1608){return _0x5b4c70(_0x8fe1ff,_0x1b6238,_0x2dba08,_0xacb268,_0x13d88d,_0x3e1608);},'morfU':function(_0x1b7da7){return _0x1b7da7();},'NjfIU':_0x5be28f(0x1c3),'SpGFJ':function(_0x329aa0,_0x2957c3){return _0x329aa0(_0x2957c3);},'RIHDt':function(_0x592835,_0x34e003){return _0x592835!==_0x34e003;},'QVRAK':function(_0xcf7e6d,_0x455f5){return _0xcf7e6d===_0x455f5;},'UBMui':'\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','ZuLyT':_0x5be28f(0x175),'uAQgB':_0x5be28f(0x198),'UwFaC':_0x5be28f(0x1a3),'fKeGJ':_0x5be28f(0x1ab),'paaBd':'unauthorised','ZQJAP':_0x5be28f(0x18e),'xbMAv':function(_0x2c5d59,_0x2bcd90,_0xae1be4,_0xdfefad,_0x46f786,_0x21f5c9,_0x504858){return _0x2c5d59(_0x2bcd90,_0xae1be4,_0xdfefad,_0x46f786,_0x21f5c9,_0x504858);},'IxRcI':_0x5be28f(0x19d)};try{global_registry[_0x5be28f(0x1bd)]=_0x763f3e['Djrcp'](uuidv4);let _0xc07a1f=_0x5be28f(0x1ad)+AG_API_URL+'/packages/cli/get-grid-profiles';_0x33bc45[_0x5be28f(0x1b3)]&&(_0xc07a1f=_0x5be28f(0x1ad)+AG_API_URL+_0x5be28f(0x1a9));!fs[_0x5be28f(0x193)](_0x763f3e[_0x5be28f(0x174)](getCredentialsPath))&&(console['error'](_0x763f3e['ViphB']),await _0x763f3e[_0x5be28f(0x1c4)](sendInstrumentationEvent,_0x33bc45,_0x763f3e[_0x5be28f(0x187)],messageTypes['ERROR'],_0x763f3e['HcBND'],null,_0x33bc45),process[_0x5be28f(0x184)](0x1));_0x763f3e[_0x5be28f(0x1b7)](sendInstrumentationEvent,_0x33bc45,_0x763f3e[_0x5be28f(0x187)],messageTypes[_0x5be28f(0x197)],null,null,_0x33bc45);const _0x2c4042=JSON[_0x5be28f(0x18a)](fs['readFileSync'](_0x763f3e[_0x5be28f(0x188)](getCredentialsPath))),_0x199c37={};_0x199c37['username']=_0x2c4042[_0x5be28f(0x1a4)][_0x5be28f(0x182)],_0x199c37[_0x5be28f(0x18c)]=_0x2c4042['Browserstack']['password'];const _0x44effb={};_0x44effb[_0x5be28f(0x177)]=_0xc07a1f,_0x44effb['method']=_0x763f3e['NjfIU'],_0x44effb[_0x5be28f(0x189)]=_0x199c37;const _0x18eb05=_0x44effb;global_registry[_0x5be28f(0x199)]=_0x2c4042['Browserstack'][_0x5be28f(0x182)],global_registry['bstackAccesskey']=_0x2c4042[_0x5be28f(0x1a4)][_0x5be28f(0x18c)];const _0xde8e58=await _0x763f3e['SpGFJ'](promisifiedRequest,_0x18eb05);if(_0x763f3e[_0x5be28f(0x180)](_0xde8e58,null)&&_0x763f3e[_0x5be28f(0x180)](_0xde8e58,undefined)&&_0x763f3e[_0x5be28f(0x19a)](_0xde8e58[_0x5be28f(0x1aa)],0xc8)){const _0x35daf8=JSON[_0x5be28f(0x18a)](_0xde8e58[_0x5be28f(0x17b)]);console[_0x5be28f(0x1a8)](_0x763f3e[_0x5be28f(0x1ae)]);const _0x3844b9=[];_0x3844b9[_0x5be28f(0x17c)]([_0x763f3e[_0x5be28f(0x18b)],_0x763f3e[_0x5be28f(0x1b1)],_0x763f3e[_0x5be28f(0x176)],_0x763f3e[_0x5be28f(0x19b)]]),_0x35daf8[_0x5be28f(0x17e)](_0x1268d5=>{const _0x45fa3b=_0x5be28f;_0x3844b9[_0x45fa3b(0x17c)]([_0x1268d5[_0x45fa3b(0x18f)],_0x1268d5[_0x45fa3b(0x1b4)],_0x1268d5[_0x45fa3b(0x1a3)],_0x1268d5[_0x45fa3b(0x1ab)]]);}),console[_0x5be28f(0x1a8)](_0x763f3e[_0x5be28f(0x186)](table,_0x3844b9)),process[_0x5be28f(0x184)](0x0);}_0x763f3e[_0x5be28f(0x19a)](_0xde8e58[_0x5be28f(0x1aa)],0x191)&&(console[_0x5be28f(0x1a5)]('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x763f3e[_0x5be28f(0x1c4)](sendInstrumentationEvent,_0x33bc45,_0x763f3e[_0x5be28f(0x187)],messageTypes[_0x5be28f(0x1be)],_0x763f3e['paaBd'],null,_0x33bc45),process[_0x5be28f(0x184)](0x1)),console[_0x5be28f(0x1a5)](_0x5be28f(0x1b9)+JSON[_0x5be28f(0x1a7)](_0xde8e58)),await _0x763f3e[_0x5be28f(0x1c4)](sendInstrumentationEvent,_0x33bc45,_0x763f3e[_0x5be28f(0x187)],messageTypes[_0x5be28f(0x1be)],_0x763f3e[_0x5be28f(0x1b8)],_0xde8e58,_0x33bc45),process[_0x5be28f(0x184)](0x1);}catch(_0x40270e){console[_0x5be28f(0x1a5)](_0x5be28f(0x1bf)+_0x40270e[_0x5be28f(0x1a2)]),await _0x763f3e[_0x5be28f(0x19f)](sendInstrumentationEvent,_0x33bc45,_0x763f3e[_0x5be28f(0x187)],messageTypes[_0x5be28f(0x1be)],_0x763f3e[_0x5be28f(0x1b6)],_0x40270e,_0x33bc45),process[_0x5be28f(0x184)](0x1);}};function a9_0x5e55(){const _0x2c52ea=['Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','738807BpFvRB','INFO','cloud-provider','bstackUsername','QVRAK','fKeGJ','list-grid-profiles-called','unknown-error','../../utils/utilityMethods','xbMAv','2019355TpOBjr','help','stack','region','Browserstack','error','all-grid-profiles','stringify','log','/packages/cli/get-all-grid-profiles','statusCode','concurrency','451860QyFrYM','https://','UBMui','options','1476512NPAlQz','uAQgB','usage','allGridProfiles','cloudProvider','boolean','IxRcI','PZNgd','ZQJAP','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','util','8VNmUDg','command','requestId','ERROR','Failed\x20to\x20list\x20resources!\x20Error:\x20','380eyiddp','uuid','type','GET','McRyM','Djrcp','grid-profile-name','UwFaC','url','request','NQGXw','handler','body','push','931juhAgC','forEach','init-not-called','RIHDt','649434lSAVpA','username','table','exit','297549rMmoCm','SpGFJ','ktfUk','morfU','auth','parse','ZuLyT','password','argv','server-error','name','33984kwpmau','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','builder','existsSync'];a9_0x5e55=function(){return _0x2c52ea;};return a9_0x5e55();}
1
+ function a9_0x5ad1(){const _0x2545c1=['stack','SsIFr','EmFrR','concurrency','/packages/cli/get-all-grid-profiles','unknown-error','readFileSync','name','DvIWx','pRzQJ','XUoFD','5XwzVUg','bstackUsername','requestId','promisify','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','util','https://','4338340IpiZyh','command','7150472MCxuQN','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.','epilogue','password','builder','6QPEKuY','boolean','options','all-grid-profiles','YdUhv','help','allGridProfiles','WHdqm','18dlCbnC','/packages/cli/get-grid-profiles','AIzlm','Failed\x20to\x20list\x20resources!\x20Error:\x20','error','yVBok','body','method','username','FQbeM','jAWAw','../../config/constants','grid-profiles','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','XOvtb','YfEhK','server-error','unauthorised','region','6237180izQMXa','request','GET','2397015qyJXIy','gridProfile','KDBro','exit','4984024wizAoo','MjYJb','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','QEvmN','mfbZQ','INFO','list','description','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','594EbauDz','handler','log','auth','OrjRB','ERROR','GrRkr','stringify','wQsBa','lqaKd','488463ChsNle','init-not-called','cloud-provider','694220ywTvFo','usage','table','type','Browserstack','statusCode','parse','IeXip'];a9_0x5ad1=function(){return _0x2545c1;};return a9_0x5ad1();}const a9_0x3dcef1=a9_0x222f;(function(_0x3ad6ff,_0xaab643){const _0x3d693b=a9_0x222f,_0x8fea92=_0x3ad6ff();while(!![]){try{const _0x3e90b4=parseInt(_0x3d693b(0x149))/0x1*(parseInt(_0x3d693b(0x16d))/0x2)+parseInt(_0x3d693b(0x18b))/0x3+-parseInt(_0x3d693b(0x166))/0x4*(-parseInt(_0x3d693b(0x15f))/0x5)+-parseInt(_0x3d693b(0x188))/0x6+parseInt(_0x3d693b(0x168))/0x7+-parseInt(_0x3d693b(0x18f))/0x8*(-parseInt(_0x3d693b(0x175))/0x9)+-parseInt(_0x3d693b(0x14c))/0xa*(parseInt(_0x3d693b(0x13f))/0xb);if(_0x3e90b4===_0xaab643)break;else _0x8fea92['push'](_0x8fea92['shift']());}catch(_0x285eb0){_0x8fea92['push'](_0x8fea92['shift']());}}}(a9_0x5ad1,0xca303));const fs=require('fs'),util=require(a9_0x3dcef1(0x164)),request=require(a9_0x3dcef1(0x189)),{table}=require(a9_0x3dcef1(0x14e)),{v4:uuidv4}=require('uuid'),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x3dcef1(0x180)),{getCredentialsPath}=require('../../utils/utilityMethods'),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a9_0x3dcef1(0x162)](request);function a9_0x222f(_0x130128,_0x10327e){const _0x5ad1b2=a9_0x5ad1();return a9_0x222f=function(_0x222ff6,_0x357b04){_0x222ff6=_0x222ff6-0x13f;let _0x5216ba=_0x5ad1b2[_0x222ff6];return _0x5216ba;},a9_0x222f(_0x130128,_0x10327e);}exports[a9_0x3dcef1(0x167)]=a9_0x3dcef1(0x181),exports['desc']=a9_0x3dcef1(0x182),exports[a9_0x3dcef1(0x16c)]=function(_0x46b94c){const _0x2d4899=a9_0x3dcef1,_0x591b32={};_0x591b32[_0x2d4899(0x18d)]=_0x2d4899(0x169),_0x591b32[_0x2d4899(0x183)]=_0x2d4899(0x16e),_0x591b32[_0x2d4899(0x145)]=_0x2d4899(0x172);const _0x3add2b=_0x591b32,_0x52902c={};_0x52902c[_0x2d4899(0x196)]=_0x3add2b[_0x2d4899(0x18d)],_0x52902c[_0x2d4899(0x14f)]=_0x3add2b[_0x2d4899(0x183)];const _0x546183={};return _0x546183[_0x2d4899(0x170)]=_0x52902c,_0x46b94c[_0x2d4899(0x14d)](HELP_HEADER_MESSAGE[_0x2d4899(0x195)][_0x2d4899(0x18c)])[_0x2d4899(0x16a)](HELP_FOOTER_MESSAGE)[_0x2d4899(0x16f)](_0x546183)[_0x2d4899(0x172)](_0x3add2b[_0x2d4899(0x145)])['argv'];},exports[a9_0x3dcef1(0x140)]=async function(_0x51e782){const _0x18645a=a9_0x3dcef1,_0x2ff35e={'SsIFr':function(_0x58a344){return _0x58a344();},'XUoFD':_0x18645a(0x198),'yVBok':function(_0x5ef362,_0x1521fb,_0x43bdc9,_0x9fcf95,_0x3a3d5d,_0x579aa1,_0xc169be){return _0x5ef362(_0x1521fb,_0x43bdc9,_0x9fcf95,_0x3a3d5d,_0x579aa1,_0xc169be);},'YfEhK':'list-grid-profiles-called','AIzlm':_0x18645a(0x14a),'MjYJb':function(_0x1a479e,_0x4c9c12,_0x19fcd0,_0x30b69c,_0x217f9a,_0xfccb1b,_0x3312fb){return _0x1a479e(_0x4c9c12,_0x19fcd0,_0x30b69c,_0x217f9a,_0xfccb1b,_0x3312fb);},'jAWAw':_0x18645a(0x18a),'IeXip':function(_0x52fc43,_0x368abd){return _0x52fc43(_0x368abd);},'lqaKd':function(_0x5e514e,_0x4599a4){return _0x5e514e!==_0x4599a4;},'TEfgH':function(_0x9ad10,_0xf38d14){return _0x9ad10===_0xf38d14;},'WHdqm':_0x18645a(0x191),'DvIWx':'grid-profile-name','OrjRB':_0x18645a(0x14b),'YdUhv':_0x18645a(0x187),'FQbeM':_0x18645a(0x157),'wMNJB':function(_0x321e56,_0x3acbfe){return _0x321e56===_0x3acbfe;},'pRzQJ':function(_0x3fd6c9,_0xc835db,_0x4c26fc,_0x8e1ddb,_0xa1a933,_0x3ef8c3,_0x376100){return _0x3fd6c9(_0xc835db,_0x4c26fc,_0x8e1ddb,_0xa1a933,_0x3ef8c3,_0x376100);},'inIJH':_0x18645a(0x186),'wQsBa':function(_0x171e36,_0x35d903,_0x220b91,_0x58c8ef,_0x1a3835,_0x558233,_0x2412f0){return _0x171e36(_0x35d903,_0x220b91,_0x58c8ef,_0x1a3835,_0x558233,_0x2412f0);},'QEvmN':_0x18645a(0x185),'mfbZQ':function(_0x18f901,_0x5222e3,_0x155eca,_0x5625c3,_0x10687b,_0x509bfa,_0x2d8225){return _0x18f901(_0x5222e3,_0x155eca,_0x5625c3,_0x10687b,_0x509bfa,_0x2d8225);},'EmFrR':_0x18645a(0x159)};try{global_registry[_0x18645a(0x161)]=_0x2ff35e['SsIFr'](uuidv4);let _0x4833f7=_0x18645a(0x165)+AG_API_URL+_0x18645a(0x176);_0x51e782[_0x18645a(0x173)]&&(_0x4833f7=_0x18645a(0x165)+AG_API_URL+_0x18645a(0x158));!fs['existsSync'](_0x2ff35e[_0x18645a(0x155)](getCredentialsPath))&&(console[_0x18645a(0x179)](_0x2ff35e[_0x18645a(0x15e)]),await _0x2ff35e[_0x18645a(0x17a)](sendInstrumentationEvent,_0x51e782,_0x2ff35e[_0x18645a(0x184)],messageTypes[_0x18645a(0x144)],_0x2ff35e[_0x18645a(0x177)],null,_0x51e782),process[_0x18645a(0x18e)](0x1));_0x2ff35e[_0x18645a(0x190)](sendInstrumentationEvent,_0x51e782,_0x2ff35e[_0x18645a(0x184)],messageTypes[_0x18645a(0x194)],null,null,_0x51e782);const _0x1853dc=JSON['parse'](fs[_0x18645a(0x15a)](_0x2ff35e[_0x18645a(0x155)](getCredentialsPath))),_0x50ffcb={};_0x50ffcb['username']=_0x1853dc[_0x18645a(0x150)][_0x18645a(0x17d)],_0x50ffcb[_0x18645a(0x16b)]=_0x1853dc[_0x18645a(0x150)][_0x18645a(0x16b)];const _0x965b0f={};_0x965b0f['url']=_0x4833f7,_0x965b0f[_0x18645a(0x17c)]=_0x2ff35e[_0x18645a(0x17f)],_0x965b0f[_0x18645a(0x142)]=_0x50ffcb;const _0x4f47ed=_0x965b0f;global_registry[_0x18645a(0x160)]=_0x1853dc[_0x18645a(0x150)][_0x18645a(0x17d)],global_registry['bstackAccesskey']=_0x1853dc[_0x18645a(0x150)][_0x18645a(0x16b)];const _0x3f5c6d=await _0x2ff35e['IeXip'](promisifiedRequest,_0x4f47ed);if(_0x2ff35e['lqaKd'](_0x3f5c6d,null)&&_0x2ff35e[_0x18645a(0x148)](_0x3f5c6d,undefined)&&_0x2ff35e['TEfgH'](_0x3f5c6d[_0x18645a(0x151)],0xc8)){const _0xfb4519=JSON[_0x18645a(0x152)](_0x3f5c6d[_0x18645a(0x17b)]);console[_0x18645a(0x141)](_0x2ff35e[_0x18645a(0x174)]);const _0xe7e348=[];_0xe7e348['push']([_0x2ff35e[_0x18645a(0x15c)],_0x2ff35e[_0x18645a(0x143)],_0x2ff35e[_0x18645a(0x171)],_0x2ff35e[_0x18645a(0x17e)]]),_0xfb4519['forEach'](_0x396768=>{const _0xf17dfd=_0x18645a;_0xe7e348['push']([_0x396768[_0xf17dfd(0x15b)],_0x396768['cloudProvider'],_0x396768[_0xf17dfd(0x187)],_0x396768[_0xf17dfd(0x157)]]);}),console[_0x18645a(0x141)](_0x2ff35e[_0x18645a(0x153)](table,_0xe7e348)),process['exit'](0x0);}_0x2ff35e['wMNJB'](_0x3f5c6d[_0x18645a(0x151)],0x191)&&(console[_0x18645a(0x179)](_0x18645a(0x197)),await _0x2ff35e[_0x18645a(0x15d)](sendInstrumentationEvent,_0x51e782,_0x2ff35e[_0x18645a(0x184)],messageTypes[_0x18645a(0x144)],_0x2ff35e['inIJH'],null,_0x51e782),process[_0x18645a(0x18e)](0x1)),console[_0x18645a(0x179)](_0x18645a(0x163)+JSON[_0x18645a(0x146)](_0x3f5c6d)),await _0x2ff35e[_0x18645a(0x147)](sendInstrumentationEvent,_0x51e782,_0x2ff35e[_0x18645a(0x184)],messageTypes['ERROR'],_0x2ff35e[_0x18645a(0x192)],_0x3f5c6d,_0x51e782),process[_0x18645a(0x18e)](0x1);}catch(_0x719c1f){console[_0x18645a(0x179)](_0x18645a(0x178)+_0x719c1f[_0x18645a(0x154)]),await _0x2ff35e[_0x18645a(0x193)](sendInstrumentationEvent,_0x51e782,_0x2ff35e[_0x18645a(0x184)],messageTypes[_0x18645a(0x144)],_0x2ff35e[_0x18645a(0x156)],_0x719c1f,_0x51e782),process['exit'](0x1);}};
@@ -1 +1 @@
1
- function a10_0x3026(_0x236d65,_0x1772ae){const _0x9226ac=a10_0x9226();return a10_0x3026=function(_0x30267c,_0x185f12){_0x30267c=_0x30267c-0x153;let _0x3715ad=_0x9226ac[_0x30267c];return _0x3715ad;},a10_0x3026(_0x236d65,_0x1772ae);}const a10_0x14a198=a10_0x3026;(function(_0x9bfe77,_0x3ff465){const _0xb0389a=a10_0x3026,_0x412214=_0x9bfe77();while(!![]){try{const _0x44d5f4=parseInt(_0xb0389a(0x1aa))/0x1+-parseInt(_0xb0389a(0x165))/0x2+-parseInt(_0xb0389a(0x19e))/0x3+-parseInt(_0xb0389a(0x15a))/0x4+-parseInt(_0xb0389a(0x15d))/0x5*(-parseInt(_0xb0389a(0x18b))/0x6)+-parseInt(_0xb0389a(0x16a))/0x7+parseInt(_0xb0389a(0x188))/0x8*(parseInt(_0xb0389a(0x17b))/0x9);if(_0x44d5f4===_0x3ff465)break;else _0x412214['push'](_0x412214['shift']());}catch(_0x2fdc48){_0x412214['push'](_0x412214['shift']());}}}(a10_0x9226,0xd4a63));const fs=require('fs'),util=require(a10_0x14a198(0x166)),request=require(a10_0x14a198(0x156)),{table}=require(a10_0x14a198(0x195)),{v4:uuidv4}=require(a10_0x14a198(0x1a9)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x14a198(0x18c)),{getCredentialsPath}=require(a10_0x14a198(0x1a7)),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a10_0x14a198(0x18f)](request);function a10_0x9226(){const _0x2d345f=['desc','auth','3275VpOuaa','unknown-error','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','options','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','requestId','forEach','KTYbA','1203632HkbsDs','util','ypWEC','\x0aFound\x20the\x20following\x20grids:\x0a','list','8602741QrUtWX','unauthorised','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','grids','/packages/cli/get-all-grids','error','kEUsm','bstackAccesskey','running','JuzEQ','hYmes','LaDIL','help','GET','ypdvT','stack','kVOpG','3303YduWVF','exit','password','url','FJxrW','name','CxtVo','description','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','BWJDb','gSeDX','qkpFD','boolean','70216dVeZaK','JTTtA','grid-id','2178XJMoLN','../../config/constants','RhDiV','list-grids-called','promisify','existsSync','Browserstack','UaSpu','stringify','usage','table','username','readFileSync','argv','LkZPh','sZsMI','push','rDicO','grid','3182943CZUEES','init-not-called','command','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','clusterName','PtESm','/packages/cli/get-grids','body','parse','../../utils/utilityMethods','FRbJQ','uuid','1243970rIMKLM','ERROR','YAPOV','ihQBS','all-grids','https://','request','builder','log','xNIck','3760492FIkCfO'];a10_0x9226=function(){return _0x2d345f;};return a10_0x9226();}exports[a10_0x14a198(0x1a0)]=a10_0x14a198(0x16d),exports[a10_0x14a198(0x15b)]=a10_0x14a198(0x183),exports[a10_0x14a198(0x157)]=function(_0x565cc3){const _0x3eabba=a10_0x14a198,_0x5aa1ac={};_0x5aa1ac[_0x3eabba(0x167)]=_0x3eabba(0x161),_0x5aa1ac['hYmes']=_0x3eabba(0x187),_0x5aa1ac[_0x3eabba(0x192)]=_0x3eabba(0x176);const _0x2086f1=_0x5aa1ac,_0x224f48={};_0x224f48[_0x3eabba(0x182)]=_0x2086f1[_0x3eabba(0x167)],_0x224f48['type']=_0x2086f1[_0x3eabba(0x174)];const _0x2310fa={};return _0x2310fa[_0x3eabba(0x154)]=_0x224f48,_0x565cc3[_0x3eabba(0x194)](HELP_HEADER_MESSAGE[_0x3eabba(0x169)][_0x3eabba(0x19d)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x3eabba(0x160)](_0x2310fa)[_0x3eabba(0x176)](_0x2086f1[_0x3eabba(0x192)])[_0x3eabba(0x198)];},exports['handler']=async function(_0x4b2350){const _0x46ff75=a10_0x14a198,_0x170ad4={'CxtVo':function(_0x3980dc){return _0x3980dc();},'VZtoW':_0x46ff75(0x1a1),'kVOpG':function(_0x58c798,_0x535fe3,_0x2d8da5,_0x66622,_0x2e621c,_0x4ddda9,_0x2e42ee){return _0x58c798(_0x535fe3,_0x2d8da5,_0x66622,_0x2e621c,_0x4ddda9,_0x2e42ee);},'PtESm':_0x46ff75(0x18e),'qkpFD':_0x46ff75(0x19f),'KTYbA':_0x46ff75(0x177),'delov':function(_0x16b7ae,_0x2287a4,_0x7228e,_0x2efffe,_0x249bbe,_0x3d645c,_0x4ff1d9){return _0x16b7ae(_0x2287a4,_0x7228e,_0x2efffe,_0x249bbe,_0x3d645c,_0x4ff1d9);},'YAPOV':function(_0x2b140b,_0x1a604f){return _0x2b140b(_0x1a604f);},'sZsMI':function(_0x27e760,_0x59493f){return _0x27e760!==_0x59493f;},'BWJDb':function(_0x2c2787,_0x5a59d0){return _0x2c2787!==_0x5a59d0;},'LaDIL':function(_0x1095b3,_0xc5d06f){return _0x1095b3===_0xc5d06f;},'LkZPh':_0x46ff75(0x168),'LHYGj':_0x46ff75(0x18a),'FJxrW':'grid-name','RhDiV':'status','JTTtA':_0x46ff75(0x172),'xNIck':'queued','FRbJQ':'cluster-name','rDicO':function(_0x4e6e8f,_0x775b0d){return _0x4e6e8f(_0x775b0d);},'gSeDX':function(_0x43201c,_0x421b5d){return _0x43201c===_0x421b5d;},'ihQBS':_0x46ff75(0x16b),'ypdvT':function(_0x5bdf33,_0x1b2363,_0x567397,_0x259f11,_0x2ed324,_0x331e66,_0x43d152){return _0x5bdf33(_0x1b2363,_0x567397,_0x259f11,_0x2ed324,_0x331e66,_0x43d152);},'kEUsm':'server-error','RIRnt':function(_0xba148f,_0x1ca378,_0x5c9d7f,_0x1b1c6d,_0x14d1c0,_0x25612a,_0xbe2c2d){return _0xba148f(_0x1ca378,_0x5c9d7f,_0x1b1c6d,_0x14d1c0,_0x25612a,_0xbe2c2d);},'JuzEQ':_0x46ff75(0x15e)};try{global_registry[_0x46ff75(0x162)]=_0x170ad4[_0x46ff75(0x181)](uuidv4);!fs[_0x46ff75(0x190)](_0x170ad4[_0x46ff75(0x181)](getCredentialsPath))&&(console[_0x46ff75(0x16f)](_0x170ad4['VZtoW']),await _0x170ad4['kVOpG'](sendInstrumentationEvent,_0x4b2350,_0x170ad4[_0x46ff75(0x1a3)],messageTypes[_0x46ff75(0x1ab)],_0x170ad4[_0x46ff75(0x186)],null,_0x4b2350),process[_0x46ff75(0x17c)](0x1));const _0x2b9e4d=JSON[_0x46ff75(0x1a6)](fs[_0x46ff75(0x197)](_0x170ad4[_0x46ff75(0x181)](getCredentialsPath)));let _0x399fd3=_0x46ff75(0x155)+AG_API_URL+_0x46ff75(0x1a4);_0x4b2350['allGrids']&&(_0x399fd3=_0x46ff75(0x155)+AG_API_URL+_0x46ff75(0x16e));const _0x51d512={};_0x51d512['username']=_0x2b9e4d[_0x46ff75(0x191)][_0x46ff75(0x196)],_0x51d512[_0x46ff75(0x17d)]=_0x2b9e4d[_0x46ff75(0x191)][_0x46ff75(0x17d)];const _0x149818={};_0x149818[_0x46ff75(0x17e)]=_0x399fd3,_0x149818['method']=_0x170ad4[_0x46ff75(0x164)],_0x149818[_0x46ff75(0x15c)]=_0x51d512;const _0x395c0c=_0x149818;global_registry['bstackUsername']=_0x2b9e4d['Browserstack']['username'],global_registry[_0x46ff75(0x171)]=_0x2b9e4d['Browserstack'][_0x46ff75(0x17d)],_0x170ad4['delov'](sendInstrumentationEvent,_0x4b2350,_0x170ad4[_0x46ff75(0x1a3)],messageTypes['INFO'],null,null,_0x4b2350);const _0x1ba3a8=await _0x170ad4[_0x46ff75(0x1ac)](promisifiedRequest,_0x395c0c);if(_0x170ad4[_0x46ff75(0x19a)](_0x1ba3a8,null)&&_0x170ad4[_0x46ff75(0x184)](_0x1ba3a8,undefined)&&_0x170ad4[_0x46ff75(0x175)](_0x1ba3a8['statusCode'],0xc8)){const _0x5a8a99=JSON['parse'](_0x1ba3a8[_0x46ff75(0x1a5)]);console[_0x46ff75(0x158)](_0x170ad4[_0x46ff75(0x199)]);const _0x4ae6a6=[];_0x4ae6a6[_0x46ff75(0x19b)]([_0x170ad4['LHYGj'],_0x170ad4[_0x46ff75(0x17f)],_0x170ad4[_0x46ff75(0x18d)],_0x170ad4[_0x46ff75(0x189)],_0x170ad4[_0x46ff75(0x159)],_0x170ad4[_0x46ff75(0x1a8)]]),_0x5a8a99[_0x46ff75(0x163)](_0x27c5d9=>{const _0x24bfa3=_0x46ff75;_0x4ae6a6['push']([_0x27c5d9['id'],_0x27c5d9[_0x24bfa3(0x180)],_0x27c5d9['status'],_0x27c5d9['running'],_0x27c5d9['queued'],_0x27c5d9[_0x24bfa3(0x1a2)]]);}),console[_0x46ff75(0x158)](_0x170ad4[_0x46ff75(0x19c)](table,_0x4ae6a6)),process[_0x46ff75(0x17c)](0x0);}_0x170ad4[_0x46ff75(0x185)](_0x1ba3a8['statusCode'],0x191)&&(console[_0x46ff75(0x16f)](_0x46ff75(0x15f)),await _0x170ad4[_0x46ff75(0x17a)](sendInstrumentationEvent,_0x4b2350,_0x170ad4['PtESm'],messageTypes[_0x46ff75(0x1ab)],_0x170ad4[_0x46ff75(0x153)],null,_0x4b2350),process[_0x46ff75(0x17c)](0x1)),console[_0x46ff75(0x16f)](_0x46ff75(0x16c)+JSON[_0x46ff75(0x193)](_0x1ba3a8)),await _0x170ad4[_0x46ff75(0x178)](sendInstrumentationEvent,_0x4b2350,_0x170ad4['PtESm'],messageTypes[_0x46ff75(0x1ab)],_0x170ad4[_0x46ff75(0x170)],_0x1ba3a8,_0x4b2350),process[_0x46ff75(0x17c)](0x1);}catch(_0x5ef981){console[_0x46ff75(0x16f)]('Failed\x20to\x20list\x20resources!\x20Error:\x20'+_0x5ef981[_0x46ff75(0x179)]),await _0x170ad4['RIRnt'](sendInstrumentationEvent,_0x4b2350,_0x170ad4[_0x46ff75(0x1a3)],messageTypes[_0x46ff75(0x1ab)],_0x170ad4[_0x46ff75(0x173)],_0x5ef981,_0x4b2350),process[_0x46ff75(0x17c)](0x1);}};
1
+ function a10_0x568d(_0xa56827,_0x419e61){const _0x279081=a10_0x2790();return a10_0x568d=function(_0x568d68,_0xe6702e){_0x568d68=_0x568d68-0x180;let _0x502cd7=_0x279081[_0x568d68];return _0x502cd7;},a10_0x568d(_0xa56827,_0x419e61);}const a10_0x3565cf=a10_0x568d;function a10_0x2790(){const _0x3f3fa4=['GET','boolean','../../utils/utilityMethods','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','requestId','/packages/cli/get-grids','bstackAccesskey','95748sxyuCF','grid','builder','allGrids','rEwpo','forEach','name','readFileSync','stack','/packages/cli/get-all-grids','uuid','https://','request','help','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','77CUqPCI','table','\x0aFound\x20the\x20following\x20grids:\x0a','Vgupk','grid-name','parse','grid-id','tGTDD','list','ERROR','Browserstack','517110csijAp','../../utils/instrumentationUtils','11ybSjDj','bstackUsername','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','ZnwbY','server-error','BFPPa','unknown-error','auth','cluster-name','12618588qHNVqV','../../config/constants','existsSync','push','INFO','status','argv','util','eYydS','desc','UobHE','promisify','password','135LesxJJ','12442hruJmy','exit','rxLsV','gdEAM','sAlha','init-not-called','list-grids-called','226488NoHMMY','Failed\x20to\x20list\x20resources!\x20Error:\x20','body','grids','360EYbWeT','bmrrO','BunyM','fWLWD','10kAoWTr','121932swJsAs','stringify','queued','running','UBuhd','all-grids','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','281948ZcEMyB','url','statusCode','error','DgGpQ','log','username'];a10_0x2790=function(){return _0x3f3fa4;};return a10_0x2790();}(function(_0x4c4a86,_0x36aca2){const _0x405130=a10_0x568d,_0x4be310=_0x4c4a86();while(!![]){try{const _0x4883de=parseInt(_0x405130(0x18c))/0x1+parseInt(_0x405130(0x1cd))/0x2*(parseInt(_0x405130(0x180))/0x3)+parseInt(_0x405130(0x19a))/0x4*(parseInt(_0x405130(0x1cc))/0x5)+parseInt(_0x405130(0x1b4))/0x6+parseInt(_0x405130(0x1a9))/0x7*(-parseInt(_0x405130(0x1d4))/0x8)+-parseInt(_0x405130(0x185))/0x9*(-parseInt(_0x405130(0x184))/0xa)+parseInt(_0x405130(0x1b6))/0xb*(-parseInt(_0x405130(0x1bf))/0xc);if(_0x4883de===_0x36aca2)break;else _0x4be310['push'](_0x4be310['shift']());}catch(_0x11901f){_0x4be310['push'](_0x4be310['shift']());}}}(a10_0x2790,0x6478a));const fs=require('fs'),util=require(a10_0x3565cf(0x1c6)),request=require(a10_0x3565cf(0x1a6)),{table}=require(a10_0x3565cf(0x1aa)),{v4:uuidv4}=require(a10_0x3565cf(0x1a4)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x3565cf(0x1c0)),{getCredentialsPath}=require(a10_0x3565cf(0x195)),{sendInstrumentationEvent}=require(a10_0x3565cf(0x1b5)),promisifiedRequest=util[a10_0x3565cf(0x1ca)](request);exports['command']=a10_0x3565cf(0x1d7),exports[a10_0x3565cf(0x1c8)]='List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user',exports[a10_0x3565cf(0x19c)]=function(_0xadbfe6){const _0x4005c3=a10_0x3565cf,_0x2487f2={};_0x2487f2[_0x4005c3(0x1ac)]=_0x4005c3(0x1a8),_0x2487f2['UlhQO']=_0x4005c3(0x194),_0x2487f2[_0x4005c3(0x1cf)]=_0x4005c3(0x1a7);const _0x2804ad=_0x2487f2,_0x224053={};_0x224053['description']=_0x2804ad[_0x4005c3(0x1ac)],_0x224053['type']=_0x2804ad['UlhQO'];const _0x9dedb0={};return _0x9dedb0[_0x4005c3(0x18a)]=_0x224053,_0xadbfe6['usage'](HELP_HEADER_MESSAGE[_0x4005c3(0x1b1)][_0x4005c3(0x19b)])['epilogue'](HELP_FOOTER_MESSAGE)['options'](_0x9dedb0)[_0x4005c3(0x1a7)](_0x2804ad['rxLsV'])[_0x4005c3(0x1c5)];},exports['handler']=async function(_0x4f1bff){const _0x1fe232=a10_0x3565cf,_0x5ad647={'BFPPa':function(_0x345e0a){return _0x345e0a();},'tGTDD':function(_0x8f7985){return _0x8f7985();},'rEwpo':_0x1fe232(0x196),'lfNmG':function(_0x1f4af8,_0x36af3c,_0x4bf936,_0x137877,_0x309bf6,_0x49d9e3,_0xfd498){return _0x1f4af8(_0x36af3c,_0x4bf936,_0x137877,_0x309bf6,_0x49d9e3,_0xfd498);},'UobHE':_0x1fe232(0x1d3),'hOrKI':_0x1fe232(0x1d2),'CuUSh':_0x1fe232(0x193),'sAlha':function(_0x5629bd,_0xf0a096){return _0x5629bd(_0xf0a096);},'eYydS':function(_0x3ad2f7,_0x3331b8){return _0x3ad2f7!==_0x3331b8;},'ZnwbY':function(_0x241fde,_0xdd363b){return _0x241fde===_0xdd363b;},'JilBC':_0x1fe232(0x1ab),'UBuhd':_0x1fe232(0x1af),'fWLWD':_0x1fe232(0x1ad),'DgGpQ':_0x1fe232(0x1c4),'fELNK':_0x1fe232(0x188),'JBeHu':'queued','OCLvv':_0x1fe232(0x1be),'gdEAM':function(_0x1b3187,_0x2f5fc4,_0x527433,_0x8c912a,_0x1cdc65,_0x2b1111,_0x1699ac){return _0x1b3187(_0x2f5fc4,_0x527433,_0x8c912a,_0x1cdc65,_0x2b1111,_0x1699ac);},'bmrrO':'unauthorised','ceDqw':function(_0x4b84c0,_0x2ff374,_0x5b5e5a,_0x12cd22,_0x112616,_0x3f8ac2,_0xcf8511){return _0x4b84c0(_0x2ff374,_0x5b5e5a,_0x12cd22,_0x112616,_0x3f8ac2,_0xcf8511);},'BunyM':_0x1fe232(0x1ba),'GGZht':_0x1fe232(0x1bc)};try{global_registry[_0x1fe232(0x197)]=_0x5ad647[_0x1fe232(0x1bb)](uuidv4);!fs[_0x1fe232(0x1c1)](_0x5ad647[_0x1fe232(0x1b0)](getCredentialsPath))&&(console[_0x1fe232(0x18f)](_0x5ad647[_0x1fe232(0x19e)]),await _0x5ad647['lfNmG'](sendInstrumentationEvent,_0x4f1bff,_0x5ad647[_0x1fe232(0x1c9)],messageTypes[_0x1fe232(0x1b2)],_0x5ad647['hOrKI'],null,_0x4f1bff),process['exit'](0x1));const _0x27e8bb=JSON['parse'](fs[_0x1fe232(0x1a1)](_0x5ad647[_0x1fe232(0x1b0)](getCredentialsPath)));let _0x2b867a=_0x1fe232(0x1a5)+AG_API_URL+_0x1fe232(0x198);_0x4f1bff[_0x1fe232(0x19d)]&&(_0x2b867a=_0x1fe232(0x1a5)+AG_API_URL+_0x1fe232(0x1a3));const _0x4c2dd1={};_0x4c2dd1['username']=_0x27e8bb[_0x1fe232(0x1b3)][_0x1fe232(0x192)],_0x4c2dd1['password']=_0x27e8bb['Browserstack'][_0x1fe232(0x1cb)];const _0xd3b088={};_0xd3b088[_0x1fe232(0x18d)]=_0x2b867a,_0xd3b088['method']=_0x5ad647['CuUSh'],_0xd3b088[_0x1fe232(0x1bd)]=_0x4c2dd1;const _0x447d1e=_0xd3b088;global_registry[_0x1fe232(0x1b7)]=_0x27e8bb['Browserstack'][_0x1fe232(0x192)],global_registry[_0x1fe232(0x199)]=_0x27e8bb[_0x1fe232(0x1b3)]['password'],_0x5ad647['lfNmG'](sendInstrumentationEvent,_0x4f1bff,_0x5ad647[_0x1fe232(0x1c9)],messageTypes[_0x1fe232(0x1c3)],null,null,_0x4f1bff);const _0x378b84=await _0x5ad647[_0x1fe232(0x1d1)](promisifiedRequest,_0x447d1e);if(_0x5ad647[_0x1fe232(0x1c7)](_0x378b84,null)&&_0x5ad647[_0x1fe232(0x1c7)](_0x378b84,undefined)&&_0x5ad647[_0x1fe232(0x1b9)](_0x378b84[_0x1fe232(0x18e)],0xc8)){const _0x17a3e4=JSON[_0x1fe232(0x1ae)](_0x378b84[_0x1fe232(0x1d6)]);console[_0x1fe232(0x191)](_0x5ad647['JilBC']);const _0x16f998=[];_0x16f998[_0x1fe232(0x1c2)]([_0x5ad647[_0x1fe232(0x189)],_0x5ad647[_0x1fe232(0x183)],_0x5ad647[_0x1fe232(0x190)],_0x5ad647['fELNK'],_0x5ad647['JBeHu'],_0x5ad647['OCLvv']]),_0x17a3e4[_0x1fe232(0x19f)](_0xe9e043=>{const _0x52e8bc=_0x1fe232;_0x16f998[_0x52e8bc(0x1c2)]([_0xe9e043['id'],_0xe9e043[_0x52e8bc(0x1a0)],_0xe9e043[_0x52e8bc(0x1c4)],_0xe9e043['running'],_0xe9e043[_0x52e8bc(0x187)],_0xe9e043['clusterName']]);}),console[_0x1fe232(0x191)](_0x5ad647['sAlha'](table,_0x16f998)),process[_0x1fe232(0x1ce)](0x0);}_0x5ad647[_0x1fe232(0x1b9)](_0x378b84['statusCode'],0x191)&&(console[_0x1fe232(0x18f)](_0x1fe232(0x1b8)),await _0x5ad647[_0x1fe232(0x1d0)](sendInstrumentationEvent,_0x4f1bff,_0x5ad647['UobHE'],messageTypes['ERROR'],_0x5ad647[_0x1fe232(0x181)],null,_0x4f1bff),process[_0x1fe232(0x1ce)](0x1)),console[_0x1fe232(0x18f)](_0x1fe232(0x18b)+JSON[_0x1fe232(0x186)](_0x378b84)),await _0x5ad647['ceDqw'](sendInstrumentationEvent,_0x4f1bff,_0x5ad647['UobHE'],messageTypes[_0x1fe232(0x1b2)],_0x5ad647[_0x1fe232(0x182)],_0x378b84,_0x4f1bff),process[_0x1fe232(0x1ce)](0x1);}catch(_0x4c7604){console[_0x1fe232(0x18f)](_0x1fe232(0x1d5)+_0x4c7604[_0x1fe232(0x1a2)]),await _0x5ad647[_0x1fe232(0x1d0)](sendInstrumentationEvent,_0x4f1bff,_0x5ad647['UobHE'],messageTypes['ERROR'],_0x5ad647['GGZht'],_0x4c7604,_0x4f1bff),process[_0x1fe232(0x1ce)](0x1);}};
@@ -1 +1 @@
1
- var a11_0x1616c8=a11_0x2074;(function(_0x26310a,_0x24ba32){var _0x5879c6=a11_0x2074,_0x26ca28=_0x26310a();while(!![]){try{var _0x59874a=parseInt(_0x5879c6(0xbc))/0x1*(parseInt(_0x5879c6(0x6c))/0x2)+-parseInt(_0x5879c6(0xbb))/0x3*(parseInt(_0x5879c6(0x94))/0x4)+parseInt(_0x5879c6(0x81))/0x5*(parseInt(_0x5879c6(0xb0))/0x6)+-parseInt(_0x5879c6(0x7f))/0x7*(-parseInt(_0x5879c6(0x69))/0x8)+-parseInt(_0x5879c6(0x86))/0x9*(parseInt(_0x5879c6(0x8b))/0xa)+parseInt(_0x5879c6(0x72))/0xb+-parseInt(_0x5879c6(0x76))/0xc;if(_0x59874a===_0x24ba32)break;else _0x26ca28['push'](_0x26ca28['shift']());}catch(_0x35909c){_0x26ca28['push'](_0x26ca28['shift']());}}}(a11_0x48bd,0xb1f25),require(a11_0x1616c8(0x96))[a11_0x1616c8(0x8d)](),exports[a11_0x1616c8(0x68)]=process[a11_0x1616c8(0x8e)][a11_0x1616c8(0x68)]||a11_0x1616c8(0x70),exports['BS_API_URL']=process[a11_0x1616c8(0x8e)][a11_0x1616c8(0x9d)]||a11_0x1616c8(0x99),exports[a11_0x1616c8(0x73)]=process[a11_0x1616c8(0x8e)][a11_0x1616c8(0x73)]||a11_0x1616c8(0x6a),exports[a11_0x1616c8(0xb7)]=a11_0x1616c8(0xa3)+this[a11_0x1616c8(0x73)]+'/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>',exports[a11_0x1616c8(0xad)]=a11_0x1616c8(0x93),exports['IAM_USER_NAME']=a11_0x1616c8(0xb5),exports[a11_0x1616c8(0x67)]='high-scale-grid',exports[a11_0x1616c8(0x77)]=a11_0x1616c8(0x9e),exports[a11_0x1616c8(0x7c)]=a11_0x1616c8(0xb9),exports[a11_0x1616c8(0x91)]=a11_0x1616c8(0x6b));function a11_0x48bd(){var _0x1ea05f=['150lrzymd','89333jImGCq','messageTypes','log','LINK_MESSAGE','DEFAULT_GRID_NAME','DASHBOARD_ENDPOINT','2936OJEDCy','grid-api.browserstack.com','BSTACK-ATS-CLUSTER-AUTOSCALER','24JzIxMO','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','COMMON_HST_TAGS','BrowserStack-Automate-TurboScale','grid.browserstack.com','root','6889806OtcKli','AG_API_URL','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','./instanceTypes.json','20063712KavIxO','AWS','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','SUPPORTED_CLOUD_PROVIDERS','warning','UNKNOWN','CLUSTER_DEP_STACK_NAME','cliRunFinished','cliRunStarted','21413qCzakG','browserstack:managedBy','1738110ldCOkD','browserstack:service','WARNING','Value','SUCCESS','9TTfqrv','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','GRID_URL','unknown','10095940zHfExw','RESOURCES','config','env','configure','LOG','CLUSTER_AUTOSCALER_STACK_NAME','REDACTED','credentials','8464NRIYfA','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','dotenv','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','Key','api.browserstack.com','error','gridProfile','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','BS_API_URL','aws','success','delete','init','HELP_HEADER_MESSAGE','wss://','connect','info','HST_CLUSTER_TAGS','list','grid','BrowserStack','[REDACTED]','resourceInfo','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','CP_CONFIG_FILE','global_registry','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','12sCFWxk','CLI_RUN_STARTED','HELP_FOOTER_MESSAGE','create','NULL','BrowserStackIAMUser','gridUrl','WS_ENDPOINT','CLI_RUN_FINISHED','BSTACK-ATS-CLUSTER','WS_EVENTS'];a11_0x48bd=function(){return _0x1ea05f;};return a11_0x48bd();}var a11_0x16a975={};a11_0x16a975[a11_0x1616c8(0x98)]=a11_0x1616c8(0x80),a11_0x16a975['Value']=a11_0x1616c8(0xa9);var a11_0x48d124={};a11_0x48d124[a11_0x1616c8(0x98)]=a11_0x1616c8(0x82),a11_0x48d124[a11_0x1616c8(0x84)]=a11_0x1616c8(0x6f),exports[a11_0x1616c8(0x6e)]=[a11_0x16a975,a11_0x48d124];var a11_0x44b2d5={};a11_0x44b2d5[a11_0x1616c8(0x80)]=a11_0x1616c8(0xa9),a11_0x44b2d5[a11_0x1616c8(0x82)]='BrowserStack-Automate-TurboScale',exports[a11_0x1616c8(0xa6)]=a11_0x44b2d5,exports[a11_0x1616c8(0x79)]=[this[a11_0x1616c8(0x77)]];var a11_0x191aee={};a11_0x191aee[a11_0x1616c8(0x90)]=a11_0x1616c8(0x65),a11_0x191aee[a11_0x1616c8(0x8c)]=a11_0x1616c8(0xab),a11_0x191aee[a11_0x1616c8(0x89)]=a11_0x1616c8(0xb6),a11_0x191aee[a11_0x1616c8(0xb1)]=a11_0x1616c8(0x7e),a11_0x191aee[a11_0x1616c8(0xb8)]=a11_0x1616c8(0x7d),exports[a11_0x1616c8(0xba)]=a11_0x191aee,exports[a11_0x1616c8(0xae)]={},exports[a11_0x1616c8(0x66)]='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';var a11_0x12202f={};a11_0x12202f[a11_0x1616c8(0x71)]=a11_0x1616c8(0xac)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xa1)]=a11_0x1616c8(0x6d)+this['LINK_MESSAGE'],a11_0x12202f[a11_0x1616c8(0x8f)]=a11_0x1616c8(0x87)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xb3)]=a11_0x1616c8(0x78)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xa7)]={},a11_0x12202f[a11_0x1616c8(0xa0)]=a11_0x1616c8(0x74)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xa4)]=a11_0x1616c8(0x97)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xa7)]['root']=a11_0x1616c8(0x88)+this[a11_0x1616c8(0x66)],a11_0x12202f[a11_0x1616c8(0xa7)][a11_0x1616c8(0xa8)]=a11_0x1616c8(0xaf)+this['LINK_MESSAGE'],a11_0x12202f[a11_0x1616c8(0xa7)][a11_0x1616c8(0x9b)]=a11_0x1616c8(0x95)+this['LINK_MESSAGE'],exports[a11_0x1616c8(0xa2)]=a11_0x12202f,exports[a11_0x1616c8(0xb2)]=a11_0x1616c8(0x9c);var a11_0x331949={};function a11_0x2074(_0x36a88f,_0x574a98){var _0x48bde3=a11_0x48bd();return a11_0x2074=function(_0x2074f1,_0x4485df){_0x2074f1=_0x2074f1-0x65;var _0x57c375=_0x48bde3[_0x2074f1];return _0x57c375;},a11_0x2074(_0x36a88f,_0x574a98);}a11_0x331949[a11_0x1616c8(0x85)]=a11_0x1616c8(0x9f),a11_0x331949['ERROR']=a11_0x1616c8(0x9a),a11_0x331949['INFO']=a11_0x1616c8(0xa5),a11_0x331949[a11_0x1616c8(0x83)]=a11_0x1616c8(0x7a),a11_0x331949[a11_0x1616c8(0x7b)]=a11_0x1616c8(0x8a),a11_0x331949[a11_0x1616c8(0xb4)]=null,exports[a11_0x1616c8(0xbd)]=a11_0x331949,exports['CLI_ARGS_REGEX']=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x1616c8(0x92)]=a11_0x1616c8(0xaa),exports['AWS_INSTANCE_TYPE_LIST']=require(a11_0x1616c8(0x75));
1
+ var a11_0x52270a=a11_0x46f7;(function(_0x89988c,_0x2bad2f){var _0x48369b=a11_0x46f7,_0x15ba79=_0x89988c();while(!![]){try{var _0x526cdf=-parseInt(_0x48369b(0xfc))/0x1+-parseInt(_0x48369b(0xf6))/0x2*(parseInt(_0x48369b(0xf9))/0x3)+-parseInt(_0x48369b(0xee))/0x4*(-parseInt(_0x48369b(0xf8))/0x5)+-parseInt(_0x48369b(0x115))/0x6*(-parseInt(_0x48369b(0x12a))/0x7)+parseInt(_0x48369b(0x10b))/0x8*(parseInt(_0x48369b(0xec))/0x9)+-parseInt(_0x48369b(0xeb))/0xa+parseInt(_0x48369b(0x105))/0xb;if(_0x526cdf===_0x2bad2f)break;else _0x15ba79['push'](_0x15ba79['shift']());}catch(_0x283857){_0x15ba79['push'](_0x15ba79['shift']());}}}(a11_0x3915,0x6ce3d),require(a11_0x52270a(0xef))[a11_0x52270a(0x10a)](),exports[a11_0x52270a(0xff)]=process['env'][a11_0x52270a(0xff)]||a11_0x52270a(0x10e),exports[a11_0x52270a(0x138)]=process[a11_0x52270a(0x135)]['BS_API_URL']||a11_0x52270a(0x103),exports[a11_0x52270a(0x11e)]=process['env'][a11_0x52270a(0x11e)]||'grid-api.browserstack.com',exports[a11_0x52270a(0x128)]=a11_0x52270a(0x12e)+this['AG_API_URL']+a11_0x52270a(0x116),exports['CP_CONFIG_FILE']=a11_0x52270a(0x13a),exports['IAM_USER_NAME']=a11_0x52270a(0xe9),exports[a11_0x52270a(0xf5)]=a11_0x52270a(0x11d),exports['AWS']=a11_0x52270a(0xfb),exports[a11_0x52270a(0xfd)]=a11_0x52270a(0xf7),exports[a11_0x52270a(0x11c)]=a11_0x52270a(0xf2));var a11_0x10dbb7={};a11_0x10dbb7[a11_0x52270a(0x117)]=a11_0x52270a(0xfe),a11_0x10dbb7[a11_0x52270a(0x123)]=a11_0x52270a(0x126);var a11_0xceab5c={};function a11_0x3915(){var _0x86b348=['CLI_RUN_STARTED','Value','connect','success','BrowserStack','LOG','WS_ENDPOINT','LINK_MESSAGE','91ZRmCbf','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','error','wss://','delete','configure','global_registry','grid','RESOURCES','COMMON_HST_TAGS','env','HELP_FOOTER_MESSAGE','SUPPORTED_CLOUD_PROVIDERS','BS_API_URL','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','credentials','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','BrowserStackIAMUser','log','7148240KbKXMP','369XsIvNL','cliRunFinished','24FldXfI','dotenv','list','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','BSTACK-ATS-CLUSTER-AUTOSCALER','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','messageTypes','DEFAULT_GRID_NAME','226Bhpuaf','BSTACK-ATS-CLUSTER','210605rpVQTK','14229XtugbM','RAW_ARGS_REGEX','aws','788425PlJrSL','CLUSTER_DEP_STACK_NAME','browserstack:managedBy','DASHBOARD_ENDPOINT','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','WARNING','api.browserstack.com','BrowserStack-Automate-TurboScale','7427640cdRfeY','REDACTED','WS_EVENTS','init','warning','config','157448GhbGnq','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','info','grid.browserstack.com','GRID_URL','ERROR','AWS_INSTANCE_TYPE_LIST','browserstack:service','create','INFO','346308BsAOvx','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','Key','CLI_RUN_FINISHED','unknown','SUCCESS','gridProfile','CLUSTER_AUTOSCALER_STACK_NAME','high-scale-grid','AG_API_URL','[REDACTED]','HST_CLUSTER_TAGS','root'];a11_0x3915=function(){return _0x86b348;};return a11_0x3915();}a11_0xceab5c[a11_0x52270a(0x117)]=a11_0x52270a(0x112),a11_0xceab5c[a11_0x52270a(0x123)]=a11_0x52270a(0x104),exports[a11_0x52270a(0x134)]=[a11_0x10dbb7,a11_0xceab5c];var a11_0x414f5f={};a11_0x414f5f[a11_0x52270a(0xfe)]=a11_0x52270a(0x126),a11_0x414f5f[a11_0x52270a(0x112)]=a11_0x52270a(0x104),exports[a11_0x52270a(0x120)]=a11_0x414f5f,exports[a11_0x52270a(0x137)]=[this['AWS']];var a11_0x7d3865={};a11_0x7d3865[a11_0x52270a(0x127)]=a11_0x52270a(0xea),a11_0x7d3865[a11_0x52270a(0x133)]='resourceInfo',a11_0x7d3865[a11_0x52270a(0x10f)]='gridUrl',a11_0x7d3865[a11_0x52270a(0x122)]='cliRunStarted',a11_0x7d3865[a11_0x52270a(0x118)]=a11_0x52270a(0xed),exports[a11_0x52270a(0x107)]=a11_0x7d3865,exports[a11_0x52270a(0x131)]={},exports['LINK_MESSAGE']=a11_0x52270a(0x12c);var a11_0x147d81={};a11_0x147d81[a11_0x52270a(0x121)]=a11_0x52270a(0x139)+this[a11_0x52270a(0x129)],a11_0x147d81[a11_0x52270a(0x108)]=a11_0x52270a(0x10c)+this[a11_0x52270a(0x129)],a11_0x147d81[a11_0x52270a(0x130)]=a11_0x52270a(0xe8)+this[a11_0x52270a(0x129)],a11_0x147d81[a11_0x52270a(0x113)]=a11_0x52270a(0x100)+this[a11_0x52270a(0x129)],a11_0x147d81[a11_0x52270a(0xf0)]={},a11_0x147d81[a11_0x52270a(0x12f)]='\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.'+this[a11_0x52270a(0x129)],a11_0x147d81[a11_0x52270a(0x124)]=a11_0x52270a(0x101)+this['LINK_MESSAGE'],a11_0x147d81[a11_0x52270a(0xf0)][a11_0x52270a(0x121)]=a11_0x52270a(0xf1)+this['LINK_MESSAGE'],a11_0x147d81[a11_0x52270a(0xf0)][a11_0x52270a(0x132)]=a11_0x52270a(0xf3)+this['LINK_MESSAGE'],a11_0x147d81[a11_0x52270a(0xf0)][a11_0x52270a(0x11b)]='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.'+this[a11_0x52270a(0x129)],exports['HELP_HEADER_MESSAGE']=a11_0x147d81,exports[a11_0x52270a(0x136)]=a11_0x52270a(0x12b);var a11_0x58f6c4={};function a11_0x46f7(_0x43a3d2,_0x4d9ac8){var _0x3915cc=a11_0x3915();return a11_0x46f7=function(_0x46f779,_0x17ca9a){_0x46f779=_0x46f779-0xe8;var _0x1f0536=_0x3915cc[_0x46f779];return _0x1f0536;},a11_0x46f7(_0x43a3d2,_0x4d9ac8);}a11_0x58f6c4[a11_0x52270a(0x11a)]=a11_0x52270a(0x125),a11_0x58f6c4[a11_0x52270a(0x110)]=a11_0x52270a(0x12d),a11_0x58f6c4[a11_0x52270a(0x114)]=a11_0x52270a(0x10d),a11_0x58f6c4[a11_0x52270a(0x102)]=a11_0x52270a(0x109),a11_0x58f6c4['UNKNOWN']=a11_0x52270a(0x119),a11_0x58f6c4['NULL']=null,exports[a11_0x52270a(0xf4)]=a11_0x58f6c4,exports['CLI_ARGS_REGEX']=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a11_0x52270a(0xfa)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x52270a(0x106)]=a11_0x52270a(0x11f),exports[a11_0x52270a(0x111)]=require('./instanceTypes.json');
@@ -1 +1 @@
1
- const a12_0x337c5e=a12_0x9882;(function(_0x2a9039,_0x872762){const _0x47ac3c=a12_0x9882,_0x171351=_0x2a9039();while(!![]){try{const _0x256598=-parseInt(_0x47ac3c(0xa9))/0x1+parseInt(_0x47ac3c(0x95))/0x2+parseInt(_0x47ac3c(0xa3))/0x3*(-parseInt(_0x47ac3c(0x97))/0x4)+parseInt(_0x47ac3c(0xb2))/0x5*(-parseInt(_0x47ac3c(0xa5))/0x6)+parseInt(_0x47ac3c(0xa8))/0x7*(-parseInt(_0x47ac3c(0xa0))/0x8)+-parseInt(_0x47ac3c(0x9f))/0x9*(parseInt(_0x47ac3c(0x94))/0xa)+parseInt(_0x47ac3c(0xa1))/0xb*(parseInt(_0x47ac3c(0xb4))/0xc);if(_0x256598===_0x872762)break;else _0x171351['push'](_0x171351['shift']());}catch(_0x2bde91){_0x171351['push'](_0x171351['shift']());}}}(a12_0x43f8,0x66aaf));const winston=require(a12_0x337c5e(0xae)),fs=require('fs'),path=require(a12_0x337c5e(0xa7)),logDir=a12_0x337c5e(0xaa);!fs['existsSync'](logDir)&&fs[a12_0x337c5e(0x9e)](logDir);const a12_0x189182={};a12_0x189182[a12_0x337c5e(0x9c)]=a12_0x337c5e(0xab);const a12_0x1edbaa={};a12_0x1edbaa['level']=!![];const a12_0x287122={};a12_0x287122[a12_0x337c5e(0xb3)]=a12_0x337c5e(0x96),exports[a12_0x337c5e(0xb0)]=new winston[(a12_0x337c5e(0xa2))]({'format':winston[a12_0x337c5e(0x9c)][a12_0x337c5e(0x9b)](winston[a12_0x337c5e(0x9c)][a12_0x337c5e(0xad)](a12_0x189182),winston[a12_0x337c5e(0x9c)][a12_0x337c5e(0xa4)](a12_0x1edbaa),winston[a12_0x337c5e(0x9c)][a12_0x337c5e(0x92)](_0x354718=>_0x354718[a12_0x337c5e(0xad)]+a12_0x337c5e(0xac)+_0x354718[a12_0x337c5e(0xaf)]+':\x20'+_0x354718[a12_0x337c5e(0xb1)])),'transports':[new winston[(a12_0x337c5e(0x99))][(a12_0x337c5e(0x93))](a12_0x287122),new winston[(a12_0x337c5e(0x99))][(a12_0x337c5e(0x9d))]({'filename':path[a12_0x337c5e(0xa6)](logDir,a12_0x337c5e(0x9a)),'level':a12_0x337c5e(0x98)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x337c5e(0x99))][(a12_0x337c5e(0x9d))]({'filename':path[a12_0x337c5e(0xa6)](logDir,'usage.log'),'level':'debug'})]};function a12_0x9882(_0x30a546,_0x2f8bc2){const _0x43f8ee=a12_0x43f8();return a12_0x9882=function(_0x98826,_0x495a75){_0x98826=_0x98826-0x92;let _0x333f84=_0x43f8ee[_0x98826];return _0x333f84;},a12_0x9882(_0x30a546,_0x2f8bc2);}function a12_0x43f8(){const _0x43bc1c=['mkdirSync','79047rUBhzm','8nvCXPY','11xJbCeR','createLogger','33sVhwMv','colorize','6CQmsHu','join','path','3438883cTRqBZ','532197Fvhecf','log','YYYY-MM-DD\x20HH:mm:ss','\x20-\x20','timestamp','winston','level','logger','message','2572550TzPWRM','name','26864364NejqJj','printf','Console','10PmCdMX','75554aebnTi','console.info','112432xKCJbS','debug','transports','events.log','combine','format','File'];a12_0x43f8=function(){return _0x43bc1c;};return a12_0x43f8();}exports['fileLogger']=new winston[(a12_0x337c5e(0xa2))](winstonFileLoggerParams);
1
+ function a12_0x5620(){const _0x24d19d=['path','683OWarTA','File','6089930hzhKCr','name','transports','usage.log','logger','688rOfjzK','timestamp','console.info','createLogger','148902WUQbqh','printf','level','\x20-\x20','events.log','5243967iIHLxN','winston','format','4qhMIDw','1086ZEMixS','1533448LGygaB','Console','YYYY-MM-DD\x20HH:mm:ss','17890EgdNwA','existsSync','fileLogger','join','colorize','3547964vEajlf'];a12_0x5620=function(){return _0x24d19d;};return a12_0x5620();}const a12_0x482f50=a12_0x5ad0;(function(_0x83a6d0,_0x3a9c91){const _0x1b3dd6=a12_0x5ad0,_0x42402f=_0x83a6d0();while(!![]){try{const _0xdbf953=-parseInt(_0x1b3dd6(0x143))/0x1*(-parseInt(_0x1b3dd6(0x12b))/0x2)+parseInt(_0x1b3dd6(0x12f))/0x3*(parseInt(_0x1b3dd6(0x137))/0x4)+parseInt(_0x1b3dd6(0x13c))/0x5*(-parseInt(_0x1b3dd6(0x138))/0x6)+parseInt(_0x1b3dd6(0x141))/0x7+parseInt(_0x1b3dd6(0x139))/0x8+-parseInt(_0x1b3dd6(0x134))/0x9+parseInt(_0x1b3dd6(0x145))/0xa;if(_0xdbf953===_0x3a9c91)break;else _0x42402f['push'](_0x42402f['shift']());}catch(_0x492fe9){_0x42402f['push'](_0x42402f['shift']());}}}(a12_0x5620,0x58567));const winston=require(a12_0x482f50(0x135)),fs=require('fs'),path=require(a12_0x482f50(0x142)),logDir='log';!fs[a12_0x482f50(0x13d)](logDir)&&fs['mkdirSync'](logDir);const a12_0x52aaa9={};a12_0x52aaa9[a12_0x482f50(0x136)]=a12_0x482f50(0x13b);const a12_0x27618c={};a12_0x27618c[a12_0x482f50(0x131)]=!![];function a12_0x5ad0(_0x1dd8f2,_0x3dad88){const _0x5620a6=a12_0x5620();return a12_0x5ad0=function(_0x5ad0f1,_0x360dcf){_0x5ad0f1=_0x5ad0f1-0x12b;let _0x19da35=_0x5620a6[_0x5ad0f1];return _0x19da35;},a12_0x5ad0(_0x1dd8f2,_0x3dad88);}const a12_0x10e071={};a12_0x10e071[a12_0x482f50(0x146)]=a12_0x482f50(0x12d),exports[a12_0x482f50(0x149)]=new winston[(a12_0x482f50(0x12e))]({'format':winston[a12_0x482f50(0x136)]['combine'](winston['format'][a12_0x482f50(0x12c)](a12_0x52aaa9),winston['format'][a12_0x482f50(0x140)](a12_0x27618c),winston[a12_0x482f50(0x136)][a12_0x482f50(0x130)](_0x522c7a=>_0x522c7a[a12_0x482f50(0x12c)]+a12_0x482f50(0x132)+_0x522c7a['level']+':\x20'+_0x522c7a['message'])),'transports':[new winston[(a12_0x482f50(0x147))][(a12_0x482f50(0x13a))](a12_0x10e071),new winston[(a12_0x482f50(0x147))]['File']({'filename':path['join'](logDir,a12_0x482f50(0x133)),'level':'debug'})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x482f50(0x147))][(a12_0x482f50(0x144))]({'filename':path[a12_0x482f50(0x13f)](logDir,a12_0x482f50(0x148)),'level':'debug'})]};exports[a12_0x482f50(0x13e)]=new winston[(a12_0x482f50(0x12e))](winstonFileLoggerParams);
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a13_0x346286=a13_0x2a9e;(function(_0x158d6d,_0x5a60e4){const _0x558d46=a13_0x2a9e,_0x46c508=_0x158d6d();while(!![]){try{const _0x26e489=-parseInt(_0x558d46(0x19f))/0x1+-parseInt(_0x558d46(0x19b))/0x2*(parseInt(_0x558d46(0x19c))/0x3)+parseInt(_0x558d46(0x1a0))/0x4*(parseInt(_0x558d46(0x193))/0x5)+-parseInt(_0x558d46(0x199))/0x6*(-parseInt(_0x558d46(0x191))/0x7)+parseInt(_0x558d46(0x192))/0x8*(-parseInt(_0x558d46(0x19a))/0x9)+parseInt(_0x558d46(0x1a2))/0xa+-parseInt(_0x558d46(0x1a3))/0xb*(-parseInt(_0x558d46(0x197))/0xc);if(_0x26e489===_0x5a60e4)break;else _0x46c508['push'](_0x46c508['shift']());}catch(_0x180851){_0x46c508['push'](_0x46c508['shift']());}}}(a13_0x4441,0xeff42));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require('./config/constants');function a13_0x2a9e(_0x2210f5,_0x241f41){const _0x444121=a13_0x4441();return a13_0x2a9e=function(_0x2a9eb4,_0x2dc4e5){_0x2a9eb4=_0x2a9eb4-0x18f;let _0x384725=_0x444121[_0x2a9eb4];return _0x384725;},a13_0x2a9e(_0x2210f5,_0x241f41);}process[a13_0x346286(0x1a4)][a13_0x346286(0x198)]=0x1;function run(_0x3039a5){const _0x2ae5c2=a13_0x346286,_0x163b49={};_0x163b49['ndCnv']='commands',_0x163b49[_0x2ae5c2(0x190)]=_0x2ae5c2(0x18f);const _0x1aec07=_0x163b49;_0x3039a5[_0x2ae5c2(0x19e)](HELP_HEADER_MESSAGE[_0x2ae5c2(0x1a1)])[_0x2ae5c2(0x19d)](_0x1aec07[_0x2ae5c2(0x196)])[_0x2ae5c2(0x194)]()[_0x2ae5c2(0x18f)](_0x1aec07[_0x2ae5c2(0x190)])[_0x2ae5c2(0x195)](HELP_FOOTER_MESSAGE);}module['exports']=run;function a13_0x4441(){const _0xd18ba1=['3432ydQMUu','env','help','OKthE','14WHSzDZ','384FNWAJW','1080050NhJemR','demandCommand','epilogue','ndCnv','57912nFILDX','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','3053628UpwTRa','362619HOEGct','281684sOsqrZ','6GnEJOL','commandDir','usage','822434sOgAjz','24NbpmQq','root','2012880qSuqrs'];a13_0x4441=function(){return _0xd18ba1;};return a13_0x4441();}
2
+ 'use strict';const a13_0x28d146=a13_0x4c91;(function(_0x8d428a,_0x16f91b){const _0x23095d=a13_0x4c91,_0x24ed7f=_0x8d428a();while(!![]){try{const _0x2eb99d=-parseInt(_0x23095d(0x117))/0x1*(parseInt(_0x23095d(0x11e))/0x2)+parseInt(_0x23095d(0x11f))/0x3*(parseInt(_0x23095d(0x116))/0x4)+parseInt(_0x23095d(0x11c))/0x5*(-parseInt(_0x23095d(0x12a))/0x6)+parseInt(_0x23095d(0x12e))/0x7+-parseInt(_0x23095d(0x122))/0x8+-parseInt(_0x23095d(0x129))/0x9*(parseInt(_0x23095d(0x120))/0xa)+parseInt(_0x23095d(0x127))/0xb*(parseInt(_0x23095d(0x125))/0xc);if(_0x2eb99d===_0x16f91b)break;else _0x24ed7f['push'](_0x24ed7f['shift']());}catch(_0x1e5c82){_0x24ed7f['push'](_0x24ed7f['shift']());}}}(a13_0x399e,0x58b9a));function a13_0x4c91(_0x7759d0,_0x36ed0a){const _0x399e1e=a13_0x399e();return a13_0x4c91=function(_0x4c9133,_0x55101){_0x4c9133=_0x4c9133-0x116;let _0x32023f=_0x399e1e[_0x4c9133];return _0x32023f;},a13_0x4c91(_0x7759d0,_0x36ed0a);}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a13_0x28d146(0x11a));process[a13_0x28d146(0x12b)][a13_0x28d146(0x124)]=0x1;function run(_0x25edc0){const _0xf98a86=a13_0x28d146,_0x44a81a={};_0x44a81a[_0xf98a86(0x126)]=_0xf98a86(0x121),_0x44a81a[_0xf98a86(0x12c)]='help';const _0x2a1b8a=_0x44a81a;_0x25edc0[_0xf98a86(0x11d)](HELP_HEADER_MESSAGE[_0xf98a86(0x118)])[_0xf98a86(0x12d)](_0x2a1b8a['delBn'])[_0xf98a86(0x123)]()[_0xf98a86(0x119)](_0x2a1b8a[_0xf98a86(0x12c)])[_0xf98a86(0x128)](HELP_FOOTER_MESSAGE);}module[a13_0x28d146(0x11b)]=run;function a13_0x399e(){const _0x54b327=['env','BXhTd','commandDir','379281WMGROj','46300ArrXWF','73jYWLTJ','root','help','./config/constants','exports','80gkdYGo','usage','7294lXhZlX','33wGQdda','295110hBrodO','commands','1133536ETMqDc','demandCommand','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','24ztfGro','delBn','7440884XEWnJM','epilogue','81BMBHOw','186546biuLmU'];a13_0x399e=function(){return _0x54b327;};return a13_0x399e();}
@@ -1 +1 @@
1
- function a14_0x5caf(_0x225d67,_0x4b765a){const _0x5dea6a=a14_0x5dea();return a14_0x5caf=function(_0x5cafce,_0x4a06cc){_0x5cafce=_0x5cafce-0x7f;let _0xaa0cba=_0x5dea6a[_0x5cafce];return _0xaa0cba;},a14_0x5caf(_0x225d67,_0x4b765a);}const a14_0x1c73fc=a14_0x5caf;(function(_0x39088c,_0x1caf37){const _0x2efa88=a14_0x5caf,_0x384d43=_0x39088c();while(!![]){try{const _0x1cb4eb=parseInt(_0x2efa88(0x123))/0x1*(parseInt(_0x2efa88(0xd5))/0x2)+-parseInt(_0x2efa88(0xc6))/0x3+-parseInt(_0x2efa88(0x198))/0x4*(parseInt(_0x2efa88(0xe9))/0x5)+-parseInt(_0x2efa88(0x99))/0x6*(-parseInt(_0x2efa88(0xab))/0x7)+-parseInt(_0x2efa88(0xc7))/0x8*(parseInt(_0x2efa88(0x109))/0x9)+parseInt(_0x2efa88(0x17b))/0xa+parseInt(_0x2efa88(0x16c))/0xb;if(_0x1cb4eb===_0x1caf37)break;else _0x384d43['push'](_0x384d43['shift']());}catch(_0x4cf04c){_0x384d43['push'](_0x384d43['shift']());}}}(a14_0x5dea,0xe2f71));const fs=require('fs'),yaml=require(a14_0x1c73fc(0xa4)),path=require(a14_0x1c73fc(0x131)),awsSDK=require(a14_0x1c73fc(0x17a)),{AWS,global_registry}=require(a14_0x1c73fc(0x167)),{logger}=require('../config/logger');exports[a14_0x1c73fc(0x117)]=()=>{const _0x5d6914=a14_0x1c73fc,_0x43d74e={};_0x43d74e[_0x5d6914(0x97)]=function(_0x4d9d28,_0x2b88a0){return _0x4d9d28===_0x2b88a0;},_0x43d74e[_0x5d6914(0x162)]=_0x5d6914(0xf9);const _0x3c92a0=_0x43d74e;if(!this[_0x5d6914(0x164)]()){if(_0x3c92a0[_0x5d6914(0x97)](_0x3c92a0[_0x5d6914(0x162)],_0x3c92a0[_0x5d6914(0x162)]))this[_0x5d6914(0xdd)]();else return!![];}},exports['isClusterPresent']=async(_0x19093a,_0x28a789)=>{const _0x1c862a=a14_0x1c73fc,_0x30e6bc={'OrlMZ':function(_0xe7f3ed,_0x218487){return _0xe7f3ed(_0x218487);},'rbJbi':function(_0x518b98,_0x422cd4){return _0x518b98===_0x422cd4;},'tEvhJ':_0x1c862a(0x168)};if(_0x30e6bc['OrlMZ'](isAWS,_0x19093a)){if(_0x30e6bc[_0x1c862a(0xf8)](_0x30e6bc[_0x1c862a(0x196)],_0x30e6bc[_0x1c862a(0x196)]))return this[_0x1c862a(0x117)](),_0x30e6bc[_0x1c862a(0x9b)](checkAWSClusterCreated,_0x28a789);else _0x2dad30[_0x1c862a(0xb4)](_0x1c862a(0xe3)+_0x57545f+_0x1c862a(0x9a)+_0xb8ad04+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x30e6bc[_0x1c862a(0x9b)](_0x4e7414,![]);}},exports[a14_0x1c73fc(0xce)]=async _0x158ac0=>{const _0x2c9969=a14_0x1c73fc,_0x50daf0={};_0x50daf0['enNnJ']=_0x2c9969(0x8d);const _0x442b16=_0x50daf0,_0x301194={};_0x301194[_0x2c9969(0x12a)]=_0x442b16['enNnJ'];const _0x3bf815=new awsSDK[(_0x2c9969(0x10b))](_0x301194),_0x42f719={};return _0x42f719[_0x2c9969(0x137)]=_0x158ac0,_0x3bf815[_0x2c9969(0x98)](_0x42f719)[_0x2c9969(0x100)]();},exports['createAuthConfigMap']=async _0x31b50e=>{const _0x4a9046=a14_0x1c73fc,_0x29ccf5={};_0x29ccf5[_0x4a9046(0x13d)]=_0x4a9046(0x11a),_0x29ccf5['IeCgm']=_0x4a9046(0x180),_0x29ccf5[_0x4a9046(0x16b)]=_0x4a9046(0xa9),_0x29ccf5[_0x4a9046(0x15b)]=_0x4a9046(0xd9);const _0x41221c=_0x29ccf5,_0xbc2efd=await fs['readFileAsync'](path[_0x4a9046(0xba)](__dirname,'..',_0x41221c[_0x4a9046(0x13d)],_0x41221c[_0x4a9046(0x181)]),_0x41221c[_0x4a9046(0x16b)]),_0x1917d6=yaml['load'](_0xbc2efd);return _0x1917d6[_0x4a9046(0x159)][_0x4a9046(0xfe)]=_0x1917d6['data']['mapRoles']['replace'](_0x41221c[_0x4a9046(0x15b)],_0x31b50e),_0x1917d6;},exports[a14_0x1c73fc(0xcb)]=async(_0x38fa21,_0x53153b)=>{const _0x42a9d0=a14_0x1c73fc,_0x5a7cbd={};_0x5a7cbd[_0x42a9d0(0xf4)]='2017-11-01';const _0x2dde3f=_0x5a7cbd,_0x408528={};_0x408528['apiVersion']=_0x2dde3f[_0x42a9d0(0xf4)];const _0x40761d=new awsSDK[(_0x42a9d0(0x10b))](_0x408528),_0xefcf69={};return _0xefcf69['clusterName']=_0x38fa21,_0xefcf69['nodegroupName']=_0x53153b,_0x40761d[_0x42a9d0(0x151)](_0xefcf69)[_0x42a9d0(0x100)]();};const isAWS=_0x1c75ea=>{const _0x2b58fa=a14_0x1c73fc,_0x704081={'poaqe':function(_0x56e2e4,_0x3d2a0f){return _0x56e2e4(_0x3d2a0f);},'nrVyw':function(_0x3a721b,_0x539439){return _0x3a721b===_0x539439;},'QcBfE':function(_0x2c1e73,_0x38d222){return _0x2c1e73!==_0x38d222;},'PeLDy':_0x2b58fa(0xfd),'rflMS':_0x2b58fa(0x81)};if(_0x704081[_0x2b58fa(0x188)](_0x1c75ea,AWS)){if(_0x704081[_0x2b58fa(0xbd)](_0x704081[_0x2b58fa(0x92)],_0x704081[_0x2b58fa(0x147)]))return!![];else _0x704081['poaqe'](_0x1d61ee,_0x582893[_0x2b58fa(0x111)]);}return![];},checkAWSClusterCreated=_0x1f6d68=>{const _0x2dc6e4=a14_0x1c73fc,_0x9db344={'pFeJM':function(_0x3622fc,_0x4cdf84){return _0x3622fc(_0x4cdf84);},'sqAzN':function(_0x484cc6,_0x4a2b7b){return _0x484cc6!==_0x4a2b7b;},'gfhpp':_0x2dc6e4(0x177),'eqZWB':'XvSAZ','AqxHt':function(_0x319671,_0x5a6407){return _0x319671===_0x5a6407;},'oftGf':'EVqOp','lDNAG':function(_0x1ebd5a,_0x582652){return _0x1ebd5a!==_0x582652;},'mbgrC':_0x2dc6e4(0x8f),'GUkci':'2016-11-15','rTjmf':_0x2dc6e4(0x8d),'hPDPY':function(_0x935b64,_0x2c2ebc){return _0x935b64!==_0x2c2ebc;},'VacKd':_0x2dc6e4(0x150),'mEYAR':_0x2dc6e4(0x152)};return new Promise((_0x46dea5,_0x1e1e2c)=>{const _0x54646a=_0x2dc6e4,_0x2ba1fa={'UnEdE':function(_0x4d65be,_0x54aada){return _0x9db344['pFeJM'](_0x4d65be,_0x54aada);},'vqotX':_0x9db344['GUkci'],'PlVrv':_0x9db344['rTjmf']};if(_0x9db344[_0x54646a(0xfc)](_0x9db344[_0x54646a(0x149)],_0x9db344['mEYAR'])){const _0x3c3152={};_0x3c3152[_0x54646a(0x12a)]=_0x9db344[_0x54646a(0x107)];const _0x1ffce0=new awsSDK[(_0x54646a(0x10b))](_0x3c3152);_0x1ffce0[_0x54646a(0x14b)]()[_0x54646a(0x100)]()[_0x54646a(0x121)](_0x3ff937=>{const _0x19561f=_0x54646a,_0x2da211={'PBftH':function(_0x15ed7d,_0x3fb766){const _0x2f4347=a14_0x5caf;return _0x9db344[_0x2f4347(0x138)](_0x15ed7d,_0x3fb766);}};if(_0x9db344[_0x19561f(0x12b)](_0x9db344['gfhpp'],_0x9db344[_0x19561f(0x129)])){if(_0x3ff937[_0x19561f(0x15d)][_0x19561f(0xf6)](_0x1f6d68)){if(_0x9db344[_0x19561f(0x12c)](_0x9db344[_0x19561f(0xa3)],_0x9db344[_0x19561f(0xa3)]))_0x9db344[_0x19561f(0x138)](_0x46dea5,!![]);else{const _0x115fa8={'YUZvN':function(_0x51cc74,_0x2e072c){return _0x2ba1fa['UnEdE'](_0x51cc74,_0x2e072c);}},_0x672f54={};_0x672f54['apiVersion']=_0x2ba1fa['vqotX'],_0x672f54[_0x19561f(0xcf)]=_0x200f8f;const _0x35a0dc=new _0x3b5871[(_0x19561f(0x108))](_0x672f54);_0x35a0dc[_0x19561f(0x166)](_0x2c0b18)[_0x19561f(0x100)]()[_0x19561f(0x121)](_0x59467a=>{const _0x122f8a=_0x19561f;_0x2da211[_0x122f8a(0xda)](_0x3e5d3e,!![]);})[_0x19561f(0x195)](_0x278dbb=>{const _0xd2fd=_0x19561f;_0x358664['error'](_0xd2fd(0xe3)+_0x1839e0+'\x20in\x20region\x20'+_0x47848c+_0xd2fd(0x139)),_0x115fa8[_0xd2fd(0x10c)](_0x258ff7,![]);});}}_0x9db344[_0x19561f(0x138)](_0x46dea5,![]);}else _0x254003[_0x19561f(0xb4)]('Cannot\x20find\x20subnets\x20'+_0x54e483+_0x19561f(0x9a)+_0x291a41+_0x19561f(0xfa)+_0x415bac),_0x2da211['PBftH'](_0x4f2930,[![],[]]);})[_0x54646a(0x195)](_0x486bc4=>{const _0x2f581b=_0x54646a;if(_0x9db344[_0x2f581b(0x17e)](_0x9db344[_0x2f581b(0x95)],_0x9db344['mbgrC'])){const _0x54c5fd={'QmIIT':function(_0x1483e4,_0x2474c9){const _0x10e047=_0x2f581b;return _0x2ba1fa[_0x10e047(0xef)](_0x1483e4,_0x2474c9);}},_0x5bd834={};_0x5bd834['apiVersion']=_0x2ba1fa[_0x2f581b(0xe7)];const _0x354f29=new _0x5d04b6['EKS'](_0x5bd834);_0x354f29[_0x2f581b(0x14b)]()[_0x2f581b(0x100)]()[_0x2f581b(0x121)](_0x2ed94d=>{const _0x5729b3=_0x2f581b;_0x2ed94d[_0x5729b3(0x15d)]['includes'](_0x49e745)&&_0x54c5fd['QmIIT'](_0x2d5296,!![]),_0x54c5fd['QmIIT'](_0x3f2dd3,![]);})[_0x2f581b(0x195)](_0x4eabe1=>{const _0x2e507e=_0x2f581b;_0x53f7d1[_0x2e507e(0xb4)](_0x4eabe1),_0x54c5fd[_0x2e507e(0x102)](_0x357f7d,_0x4eabe1);});}else logger[_0x2f581b(0xb4)](_0x486bc4),_0x9db344[_0x2f581b(0x138)](_0x1e1e2c,_0x486bc4);});}else{const _0x3bb7f9={};_0x3bb7f9[_0x54646a(0x12a)]=_0x2ba1fa['PlVrv'];const _0x446132=new _0x1a0608[(_0x54646a(0x10b))](_0x3bb7f9),_0x147ca0={};return _0x147ca0[_0x54646a(0x137)]=_0x23325a,_0x446132[_0x54646a(0x98)](_0x147ca0)[_0x54646a(0x100)]();}});};exports[a14_0x1c73fc(0xb7)]=_0x17751a=>{const _0x1a1d1d=a14_0x1c73fc,_0x43c359={'sngIs':function(_0x509408,_0x296f3e){return _0x509408(_0x296f3e);},'hpyMR':_0x1a1d1d(0x14c),'NWuWN':function(_0x1c7ddc,_0x227ff1){return _0x1c7ddc===_0x227ff1;},'vrjWX':_0x1a1d1d(0x86),'AbptB':function(_0x4beab2,_0x990b61){return _0x4beab2(_0x990b61);},'shbsr':function(_0x2eb2b1,_0x16d0a4){return _0x2eb2b1!==_0x16d0a4;},'vttlU':_0x1a1d1d(0x192),'DDhIF':_0x1a1d1d(0xe4),'LQdjM':'HqOXj'};return new Promise((_0x4e57ca,_0x3f9219)=>{const _0x55bfb2=_0x1a1d1d,_0x1b64d8={'yeySf':function(_0x148a80,_0x23795b){const _0x1a59f2=a14_0x5caf;return _0x43c359[_0x1a59f2(0xf0)](_0x148a80,_0x23795b);},'TkIRz':_0x43c359[_0x55bfb2(0xdf)],'zIvGz':function(_0x4d15a7,_0x2a920a){const _0x3aee96=_0x55bfb2;return _0x43c359[_0x3aee96(0xe2)](_0x4d15a7,_0x2a920a);}};if(_0x43c359['shbsr'](_0x43c359[_0x55bfb2(0x186)],_0x43c359[_0x55bfb2(0x127)])){const _0x555abc={};_0x555abc[_0x55bfb2(0x12a)]=_0x43c359[_0x55bfb2(0xd7)],_0x555abc[_0x55bfb2(0xcf)]=_0x17751a;const _0x47130c=new awsSDK[(_0x55bfb2(0x108))](_0x555abc);_0x47130c[_0x55bfb2(0x166)]()[_0x55bfb2(0x100)]()[_0x55bfb2(0x121)](_0x320ff6=>{const _0x2cb276=_0x55bfb2;if(_0x1b64d8[_0x2cb276(0x142)](_0x1b64d8[_0x2cb276(0x11f)],_0x1b64d8[_0x2cb276(0x11f)]))return!![];else _0x1b64d8['zIvGz'](_0x4e57ca,_0x320ff6);})[_0x55bfb2(0x195)](_0x19a29b=>{const _0x59510b=_0x55bfb2,_0x5b7b63={'VdDjF':function(_0x37d4d1,_0x5c4a6a){const _0x2e5208=a14_0x5caf;return _0x43c359[_0x2e5208(0x187)](_0x37d4d1,_0x5c4a6a);},'lFGOf':_0x43c359[_0x59510b(0xd7)]};if(_0x43c359['NWuWN'](_0x43c359[_0x59510b(0x11e)],_0x43c359[_0x59510b(0x11e)]))logger[_0x59510b(0xb4)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x19a29b),_0x43c359[_0x59510b(0x187)](_0x3f9219,_0x19a29b);else{const _0x512f8e={'SFJlU':function(_0x4f61d7,_0x570c3e){return _0x5b7b63['VdDjF'](_0x4f61d7,_0x570c3e);},'WTcPG':_0x5b7b63[_0x59510b(0x105)]};return new _0x588cb0((_0x93b823,_0xdef9d5)=>{const _0x1a626a=_0x59510b,_0x12bbd2={'PGfbz':function(_0x18fa1c,_0x36f185){return _0x512f8e['SFJlU'](_0x18fa1c,_0x36f185);}},_0x4d9285={};_0x4d9285[_0x1a626a(0x12a)]=_0x512f8e['WTcPG'],_0x4d9285[_0x1a626a(0xcf)]=_0x1e7c75;const _0x550d1f=new _0x996edb[(_0x1a626a(0x108))](_0x4d9285);_0x550d1f[_0x1a626a(0x166)]()[_0x1a626a(0x100)]()['then'](_0x12b0e1=>{const _0x210019=_0x1a626a;_0x12bbd2[_0x210019(0xbc)](_0x93b823,_0x12b0e1);})[_0x1a626a(0x195)](_0x3e61d8=>{_0x4e9829['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x3e61d8),_0x512f8e['SFJlU'](_0xdef9d5,_0x3e61d8);});});}});}else _0x6db7ac[_0x55bfb2(0xb4)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x28605b),_0x43c359[_0x55bfb2(0xe2)](_0x35c5ad,_0x346153);});},exports['isVPCPresent']=(_0x3feaf5,_0x819858)=>{const _0x42cfa2=a14_0x1c73fc,_0x2eb31f={'XGUyc':function(_0x4885e5,_0x65e82b){return _0x4885e5===_0x65e82b;},'RKjYT':'syziZ','rRGQo':_0x42cfa2(0x185),'hVdty':function(_0x2c8e68,_0x417c6c){return _0x2c8e68(_0x417c6c);},'YSbcB':function(_0x27137b,_0x49998e){return _0x27137b(_0x49998e);},'YYDOd':function(_0x57beed,_0x25a696){return _0x57beed(_0x25a696);},'FfayZ':function(_0x140ed6,_0x4aed66){return _0x140ed6!==_0x4aed66;},'TPkrE':_0x42cfa2(0xec),'KRWlx':_0x42cfa2(0x16a),'DmzCq':function(_0x42f517,_0x587006){return _0x42f517(_0x587006);},'xBPBO':function(_0x2280a7,_0x20a4b0){return _0x2280a7===_0x20a4b0;},'noJnn':_0x42cfa2(0x178),'bebPZ':'2016-11-15'},_0x215d6b={};_0x215d6b[_0x42cfa2(0xd1)]=[_0x3feaf5];let _0x469c5e=_0x215d6b;return new Promise((_0x7a0329,_0x4bf06a)=>{const _0x43fe95=_0x42cfa2,_0x1cd4d5={'DPQpD':function(_0x1d6602,_0x481d44){const _0x2216f5=a14_0x5caf;return _0x2eb31f[_0x2216f5(0x18c)](_0x1d6602,_0x481d44);},'Bpaus':function(_0x325578,_0x34888e){return _0x2eb31f['YYDOd'](_0x325578,_0x34888e);},'kqoGz':function(_0x93b9cc,_0x16a75c){const _0x1892e4=a14_0x5caf;return _0x2eb31f[_0x1892e4(0x182)](_0x93b9cc,_0x16a75c);},'OjgNf':_0x2eb31f[_0x43fe95(0xdc)],'KLSJV':_0x2eb31f[_0x43fe95(0x170)],'OQIWO':function(_0x3b0e4c,_0x4dd79d){const _0x99b386=_0x43fe95;return _0x2eb31f[_0x99b386(0x13c)](_0x3b0e4c,_0x4dd79d);}};if(_0x2eb31f[_0x43fe95(0x9c)](_0x2eb31f[_0x43fe95(0xa6)],_0x2eb31f[_0x43fe95(0xa6)])){const _0x5d003b={};_0x5d003b[_0x43fe95(0x12a)]=_0x2eb31f[_0x43fe95(0x197)],_0x5d003b[_0x43fe95(0xcf)]=_0x819858;const _0x1a0946=new awsSDK[(_0x43fe95(0x108))](_0x5d003b);_0x1a0946[_0x43fe95(0x166)](_0x469c5e)[_0x43fe95(0x100)]()[_0x43fe95(0x121)](_0x52bdd8=>{const _0x5bd440=_0x43fe95;if(_0x2eb31f[_0x5bd440(0x132)](_0x2eb31f[_0x5bd440(0xa1)],_0x2eb31f[_0x5bd440(0xde)])){const _0x416074={'tbjoJ':function(_0x5fa660,_0x269fb0){const _0xde6dc=_0x5bd440;return _0x1cd4d5[_0xde6dc(0x12d)](_0x5fa660,_0x269fb0);},'nNXKR':function(_0x5f40cb,_0x2ab063){const _0x59d74a=_0x5bd440;return _0x1cd4d5[_0x59d74a(0x12d)](_0x5f40cb,_0x2ab063);}},_0x3ae65a=new _0x39e384['S3']();return new _0x16b0f0((_0x4ec0a8,_0xfa21b7)=>{const _0x442533=_0x5bd440,_0x29662e={};_0x29662e[_0x442533(0xa7)]=_0x3e8366,_0x3ae65a[_0x442533(0x10e)](_0x29662e)[_0x442533(0x100)]()[_0x442533(0x121)](_0x4007a4=>{const _0x2d4da1=_0x442533;_0xe4853e[_0x2d4da1(0x15f)](_0x2d4da1(0x8e)+_0x4d0cb7+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x416074['tbjoJ'](_0x4ec0a8,!![]);})['catch'](()=>{const _0x4c7b42=_0x442533;_0x2049c3[_0x4c7b42(0x140)]('Bucket:\x20'+_0x921781+_0x4c7b42(0x113)),_0x416074[_0x4c7b42(0xb9)](_0x4ec0a8,![]);});});}else _0x2eb31f[_0x5bd440(0x85)](_0x7a0329,!![]);})[_0x43fe95(0x195)](_0x1d2003=>{const _0x3e9565=_0x43fe95,_0x3e9ff8={'WDbff':function(_0xa8b7b2,_0x5a3fe3){const _0x49780c=a14_0x5caf;return _0x1cd4d5[_0x49780c(0x133)](_0xa8b7b2,_0x5a3fe3);}};_0x1cd4d5['kqoGz'](_0x1cd4d5[_0x3e9565(0xbb)],_0x1cd4d5[_0x3e9565(0x10a)])?(logger['error'](_0x3e9565(0xe3)+_0x3feaf5+'\x20in\x20region\x20'+_0x819858+_0x3e9565(0x139)),_0x1cd4d5['OQIWO'](_0x7a0329,![])):(_0x204be0[_0x3e9565(0x15d)][_0x3e9565(0xf6)](_0x43cad7)&&_0x3e9ff8[_0x3e9565(0x104)](_0x363081,!![]),_0x3e9ff8[_0x3e9565(0x104)](_0x4c36b6,![]));});}else{if(_0x2eb31f['XGUyc'](_0x2be930,_0x56c7c9))return!![];return![];}});},exports[a14_0x1c73fc(0x120)]=(_0x39286f,_0x293db7,_0x53d922)=>{const _0x4b84f4=a14_0x1c73fc,_0x3489d9={'jakXq':function(_0x383877,_0x47f02b){return _0x383877(_0x47f02b);},'REkiM':function(_0x578687,_0x53d4dc){return _0x578687===_0x53d4dc;},'EMZyJ':'naqUK','nBdKy':'GpYad','ccfBe':function(_0x6957b7,_0x315daf){return _0x6957b7!==_0x315daf;},'XpUQR':'nOrMx','LTMYP':_0x4b84f4(0x15e),'VRoul':'umnMq','rHnUA':_0x4b84f4(0x176),'jztID':'ZXVqB','wHTxH':'xvzrU','VsjKq':_0x4b84f4(0x165),'uulgO':_0x4b84f4(0x14c),'tycNR':_0x4b84f4(0xa0)},_0x351726={};_0x351726[_0x4b84f4(0x118)]=_0x3489d9[_0x4b84f4(0x14e)],_0x351726['Values']=[_0x293db7];const _0x4711b2={};_0x4711b2[_0x4b84f4(0xe5)]=[_0x351726];let _0x43ef1a=_0x4711b2;return new Promise((_0x57b152,_0x35a73e)=>{const _0x21472b=_0x4b84f4,_0x8ab078={'jxpqC':function(_0x1ff67e,_0x3f70c8){const _0x564769=a14_0x5caf;return _0x3489d9[_0x564769(0xbe)](_0x1ff67e,_0x3f70c8);},'dGcrR':function(_0x221f16,_0xd52e52){const _0xd68a37=a14_0x5caf;return _0x3489d9[_0xd68a37(0x13b)](_0x221f16,_0xd52e52);},'kGfwz':_0x3489d9[_0x21472b(0x16d)],'ktOWl':function(_0x59f41e,_0x52d6cf){const _0xc2ad7=_0x21472b;return _0x3489d9[_0xc2ad7(0x13b)](_0x59f41e,_0x52d6cf);},'sYMvw':_0x3489d9[_0x21472b(0xae)],'ZYQHd':function(_0x452ef6,_0x33a46e){const _0x176206=_0x21472b;return _0x3489d9[_0x176206(0x89)](_0x452ef6,_0x33a46e);},'vYQmb':_0x3489d9[_0x21472b(0x15c)],'ZcCEZ':_0x3489d9[_0x21472b(0x17c)],'rkkED':_0x3489d9[_0x21472b(0x18b)],'TWRTX':function(_0x45abad,_0x4dbe86){const _0x149a47=_0x21472b;return _0x3489d9[_0x149a47(0x89)](_0x45abad,_0x4dbe86);},'SsLQX':_0x3489d9[_0x21472b(0x13e)],'ILeoF':function(_0x18bb72,_0x129243){const _0x5d4366=_0x21472b;return _0x3489d9[_0x5d4366(0x13b)](_0x18bb72,_0x129243);},'PZmpI':_0x3489d9[_0x21472b(0xaa)],'VvhBu':_0x3489d9[_0x21472b(0x110)],'UUwbo':function(_0x1195be,_0x4c3e17){const _0x6e9ac1=_0x21472b;return _0x3489d9[_0x6e9ac1(0x13b)](_0x1195be,_0x4c3e17);}};if(_0x3489d9[_0x21472b(0xbe)](_0x3489d9['VsjKq'],_0x3489d9[_0x21472b(0x130)])){const _0x4f6846={};_0x4f6846['apiVersion']=_0x3489d9[_0x21472b(0x190)],_0x4f6846[_0x21472b(0xcf)]=_0x53d922;const _0x2d8cfe=new awsSDK['EC2'](_0x4f6846);_0x2d8cfe[_0x21472b(0x8b)](_0x43ef1a)[_0x21472b(0x100)]()[_0x21472b(0x121)](_0x1d3191=>{const _0x45d7f1=_0x21472b,_0x32e7ff={'QcbyU':function(_0x1b1fdd,_0xd2a7d2){return _0x8ab078['dGcrR'](_0x1b1fdd,_0xd2a7d2);},'QTZkw':function(_0x60edb3,_0x304dde){const _0xb18829=a14_0x5caf;return _0x8ab078[_0xb18829(0x18d)](_0x60edb3,_0x304dde);},'xgpCG':_0x8ab078['kGfwz'],'nlpHU':function(_0x3f88de,_0x4e1e52){const _0x33c93f=a14_0x5caf;return _0x8ab078[_0x33c93f(0x82)](_0x3f88de,_0x4e1e52);},'VFlxX':function(_0xde343e,_0x310225){return _0x8ab078['ktOWl'](_0xde343e,_0x310225);},'MlcFw':function(_0x5a5c1b,_0x425657){const _0x1e8f97=a14_0x5caf;return _0x8ab078[_0x1e8f97(0x18d)](_0x5a5c1b,_0x425657);},'EiXuH':_0x8ab078[_0x45d7f1(0xaf)],'cFWlb':function(_0x50b4a7,_0x34f9be){return _0x8ab078['ZYQHd'](_0x50b4a7,_0x34f9be);},'kQAiO':_0x8ab078[_0x45d7f1(0x141)],'vwkGq':_0x8ab078[_0x45d7f1(0x8c)],'mfKLn':_0x8ab078[_0x45d7f1(0x189)]};if(_0x8ab078[_0x45d7f1(0x16f)](_0x8ab078[_0x45d7f1(0x13a)],_0x8ab078[_0x45d7f1(0x13a)]))return _0x8ab078[_0x45d7f1(0x18d)](_0x1cfb76[_0x45d7f1(0x17f)],!![]);else{const _0x1cc365=[],_0x38d6c5=[];_0x1d3191[_0x45d7f1(0x12f)][_0x45d7f1(0xf3)](_0x1eaf15=>{const _0x236485=_0x45d7f1,_0x9e8c95={'Pwckv':function(_0x4de7ff,_0x492ae8){return _0x32e7ff['QcbyU'](_0x4de7ff,_0x492ae8);}};_0x32e7ff['QTZkw'](_0x32e7ff[_0x236485(0x119)],_0x32e7ff[_0x236485(0x119)])?_0x1cc365[_0x236485(0xb8)](_0x1eaf15['SubnetId']):(_0x3345eb[_0x236485(0x140)]('Bucket:\x20'+_0x79b061+_0x236485(0x113)),_0x9e8c95['Pwckv'](_0x19c842,![]));});const _0x358bfa=_0x39286f[_0x45d7f1(0x10d)](_0x4426c9=>{const _0x57932c=_0x45d7f1,_0x14b1e7={'GBLmI':function(_0x15df8c,_0x511eae){const _0x4da25f=a14_0x5caf;return _0x32e7ff[_0x4da25f(0x122)](_0x15df8c,_0x511eae);}};if(_0x32e7ff[_0x57932c(0x93)](_0x32e7ff[_0x57932c(0x17d)],_0x32e7ff['EiXuH'])){if(_0x1cc365[_0x57932c(0xf6)](_0x4426c9)){if(_0x32e7ff[_0x57932c(0xe8)](_0x32e7ff[_0x57932c(0xc9)],_0x32e7ff[_0x57932c(0xc9)]))_0x14c87b['warn'](_0x57932c(0x8e)+_0x4e4437+_0x57932c(0xa5)),_0x32e7ff[_0x57932c(0xff)](_0x249dde,!![]);else return!![];}else return _0x32e7ff['cFWlb'](_0x32e7ff[_0x57932c(0x161)],_0x32e7ff[_0x57932c(0x114)])?(_0x38d6c5[_0x57932c(0xb8)](_0x4426c9),![]):(this[_0x57932c(0x117)](),_0x14b1e7[_0x57932c(0x91)](_0x1708f,_0x197970));}else _0x1c8c50[_0x57932c(0xb4)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0xc9e965),_0x32e7ff[_0x57932c(0x122)](_0x452f17,_0x57be33);});_0x8ab078[_0x45d7f1(0xea)](_0x57b152,[_0x358bfa,_0x38d6c5]);}})[_0x21472b(0x195)](_0x15ecba=>{const _0x4e7c8b=_0x21472b;_0x8ab078[_0x4e7c8b(0x16e)](_0x8ab078[_0x4e7c8b(0xb1)],_0x8ab078['VvhBu'])?(logger[_0x4e7c8b(0xb4)](_0x4e7c8b(0xed)+_0x293db7+_0x4e7c8b(0x9a)+_0x53d922+_0x4e7c8b(0xfa)+_0x15ecba),_0x8ab078[_0x4e7c8b(0x124)](_0x57b152,[![],[]])):_0x8ab078[_0x4e7c8b(0x103)](_0x6d8fd3,{});});}else _0x37cc32['error'](_0x2b567c),_0x3489d9['jakXq'](_0x126c57,_0x3ff0c8);});},exports[a14_0x1c73fc(0x116)]=_0x4338a7=>{const _0x36c69f=a14_0x1c73fc,_0x13b9ef={'cAVgc':function(_0x1ff99c,_0x125471){return _0x1ff99c!==_0x125471;},'YDgjg':_0x36c69f(0x115),'blTCL':function(_0x3c8b2c,_0x1bace8){return _0x3c8b2c(_0x1bace8);},'wPdNE':'2016-11-15','JUjEj':function(_0x5df5cf,_0x3f4a24){return _0x5df5cf===_0x3f4a24;},'KTAGo':_0x36c69f(0x145),'udhcj':_0x36c69f(0x156),'ryZvW':function(_0x4970e3,_0x279938){return _0x4970e3(_0x279938);},'ialwG':_0x36c69f(0xf1),'iiZAk':_0x36c69f(0xc3)},_0x161938=new awsSDK['S3']();return new Promise((_0x34831f,_0x22b85b)=>{const _0x2c8806=_0x36c69f,_0x505c98={'HQnWw':function(_0x97563,_0x1590d1){const _0x12d9d0=a14_0x5caf;return _0x13b9ef[_0x12d9d0(0xe6)](_0x97563,_0x1590d1);}};if(_0x13b9ef[_0x2c8806(0x87)](_0x13b9ef['ialwG'],_0x13b9ef[_0x2c8806(0xd6)])){const _0x13a30e={};_0x13a30e['Bucket']=_0x4338a7,_0x161938[_0x2c8806(0x10e)](_0x13a30e)[_0x2c8806(0x100)]()[_0x2c8806(0x121)](_0x5aab48=>{const _0x291d1a=_0x2c8806;_0x13b9ef['cAVgc'](_0x13b9ef[_0x291d1a(0x9f)],_0x13b9ef[_0x291d1a(0x9f)])?_0x505c98[_0x291d1a(0x18f)](_0x3080c3,!![]):(logger['warn']('Bucket:\x20'+_0x4338a7+_0x291d1a(0xa5)),_0x13b9ef[_0x291d1a(0x125)](_0x34831f,!![]));})[_0x2c8806(0x195)](()=>{const _0x1738e0=_0x2c8806,_0x44399c={'DzfYf':function(_0x95a72e,_0x12002b){const _0x28127f=a14_0x5caf;return _0x13b9ef[_0x28127f(0x125)](_0x95a72e,_0x12002b);},'VybqI':_0x13b9ef[_0x1738e0(0xb6)]};if(_0x13b9ef[_0x1738e0(0x80)](_0x13b9ef['KTAGo'],_0x13b9ef[_0x1738e0(0x160)])){const _0x281ee9={};_0x281ee9[_0x1738e0(0x12a)]=_0x44399c[_0x1738e0(0x96)],_0x281ee9[_0x1738e0(0xcf)]=_0x17e898;const _0x46d931=new _0x2f6cdb[(_0x1738e0(0x108))](_0x281ee9);_0x46d931[_0x1738e0(0x166)]()[_0x1738e0(0x100)]()[_0x1738e0(0x121)](_0x2862e9=>{const _0x23808c=_0x1738e0;_0x44399c[_0x23808c(0xd4)](_0x42ecb4,_0x2862e9);})[_0x1738e0(0x195)](_0x462803=>{const _0x51b938=_0x1738e0;_0x5835b8[_0x51b938(0xb4)](_0x51b938(0xb2)+_0x462803),_0x44399c[_0x51b938(0xd4)](_0x5bea9b,_0x462803);});}else logger[_0x1738e0(0x140)](_0x1738e0(0x8e)+_0x4338a7+_0x1738e0(0x113)),_0x13b9ef[_0x1738e0(0x125)](_0x34831f,![]);});}else _0x3a7a4c['push'](_0x3cf62c[_0x2c8806(0x84)]);});},exports[a14_0x1c73fc(0xfb)]=_0x22306b=>{const _0x910766=a14_0x1c73fc,_0x2e8f9c={'ddijw':function(_0x4eb670,_0x514ce8){return _0x4eb670(_0x514ce8);},'HTaGo':_0x910766(0x14c),'gMxkG':function(_0x25aadf,_0x5966d6){return _0x25aadf===_0x5966d6;},'muTvB':_0x910766(0x12e),'ysmPk':_0x910766(0x173),'lVrcq':function(_0xfb3df0,_0x20821e){return _0xfb3df0(_0x20821e);},'xBsts':function(_0x4f08fb,_0x18834c){return _0x4f08fb!==_0x18834c;},'fwOAb':_0x910766(0x88),'ckSql':_0x910766(0x14a),'NdJhz':function(_0x9f882d,_0x14f54f){return _0x9f882d(_0x14f54f);},'kGJRp':'frgme','PMjwf':_0x910766(0xd8)};return new Promise((_0x28805f,_0x4ed6a5)=>{const _0x5778e3=_0x910766,_0x36eef6={'cvsVj':function(_0x350e0e,_0x2870c5){const _0x324660=a14_0x5caf;return _0x2e8f9c[_0x324660(0x191)](_0x350e0e,_0x2870c5);},'CsCEB':_0x2e8f9c[_0x5778e3(0x172)],'WmEDO':_0x2e8f9c['ckSql'],'wPOAi':function(_0x4e6e6e,_0x19875a){const _0xf0a0cb=_0x5778e3;return _0x2e8f9c[_0xf0a0cb(0x179)](_0x4e6e6e,_0x19875a);}};if(_0x2e8f9c[_0x5778e3(0xca)](_0x2e8f9c[_0x5778e3(0x134)],_0x2e8f9c['PMjwf']))_0x43c58b[_0x5778e3(0xb4)](_0x5778e3(0x194)+_0x3c0f08),_0x2e8f9c[_0x5778e3(0x169)](_0x833eaa,_0x1c7261);else{const _0x4a80fd={};_0x4a80fd['apiVersion']=_0x2e8f9c[_0x5778e3(0xee)],_0x4a80fd[_0x5778e3(0xcf)]=_0x22306b;const _0x5186c9=new awsSDK['EC2'](_0x4a80fd);_0x5186c9['describeSubnets']()[_0x5778e3(0x100)]()['then'](_0x2f3e64=>{const _0x19a6e9=_0x5778e3;_0x36eef6['cvsVj'](_0x36eef6[_0x19a6e9(0xeb)],_0x36eef6[_0x19a6e9(0xc2)])?_0x36eef6['wPOAi'](_0x28805f,_0x2f3e64):!this[_0x19a6e9(0x164)]()&&this[_0x19a6e9(0xdd)]();})[_0x5778e3(0x195)](_0x5ee2f0=>{const _0x53c8bb=_0x5778e3,_0x12c1fb={'ormRA':function(_0x1d0708,_0x4f7570){const _0x4e40e4=a14_0x5caf;return _0x2e8f9c[_0x4e40e4(0x169)](_0x1d0708,_0x4f7570);},'iddTQ':_0x2e8f9c[_0x53c8bb(0xee)]};if(_0x2e8f9c[_0x53c8bb(0xca)](_0x2e8f9c[_0x53c8bb(0x154)],_0x2e8f9c[_0x53c8bb(0x8a)])){const _0xbf8a32={};_0xbf8a32[_0x53c8bb(0x12a)]=_0x12c1fb[_0x53c8bb(0xf2)],_0xbf8a32['region']=_0x117ef7;const _0x143768=new _0x3f2551[(_0x53c8bb(0x108))](_0xbf8a32);_0x143768[_0x53c8bb(0x8b)]()[_0x53c8bb(0x100)]()['then'](_0x5d712d=>{const _0x2c7213=_0x53c8bb;_0x12c1fb[_0x2c7213(0x199)](_0x5c8bb7,_0x5d712d);})[_0x53c8bb(0x195)](_0x386f89=>{const _0x2ced9a=_0x53c8bb;_0x4152f3[_0x2ced9a(0xb4)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x386f89),_0x12c1fb[_0x2ced9a(0x199)](_0x2d16c8,_0x386f89);});}else logger[_0x53c8bb(0xb4)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x5ee2f0),_0x2e8f9c['lVrcq'](_0x4ed6a5,_0x5ee2f0);});}});},exports[a14_0x1c73fc(0x11d)]=_0x4bd438=>{const _0x3d3dc4=a14_0x1c73fc,_0x4d71ab={'uMFLk':function(_0x383d43,_0xeb4d6a){return _0x383d43(_0xeb4d6a);},'ovUFD':function(_0x540dbe,_0x39ee83){return _0x540dbe!==_0x39ee83;},'NcMMy':function(_0xdc68b4,_0x1e7335){return _0xdc68b4!==_0x1e7335;},'mFFGN':'dfFkX','vMCSi':function(_0x5bc2d4,_0x4c6dbd){return _0x5bc2d4!==_0x4c6dbd;},'YMIHJ':_0x3d3dc4(0xf7),'zZimd':_0x3d3dc4(0x10f),'laiKl':function(_0x50c58d,_0x5ec727){return _0x50c58d===_0x5ec727;},'UTaHm':_0x3d3dc4(0x112),'DClti':_0x3d3dc4(0x175),'kigzl':_0x3d3dc4(0x14c)};return new Promise((_0x2bf420,_0x525945)=>{const _0x3f0837=_0x3d3dc4,_0x1a485f={'NhDKd':function(_0x377268,_0x5adcbe){const _0x4b5eb8=a14_0x5caf;return _0x4d71ab[_0x4b5eb8(0x126)](_0x377268,_0x5adcbe);},'WBQwP':function(_0x4d7b89,_0x5a8ca4){return _0x4d71ab['ovUFD'](_0x4d7b89,_0x5a8ca4);},'YrUXb':function(_0xed537f,_0x2232ae){const _0x549ba8=a14_0x5caf;return _0x4d71ab[_0x549ba8(0xbf)](_0xed537f,_0x2232ae);},'ASLxV':_0x4d71ab[_0x3f0837(0x11b)],'umVnW':function(_0x7c4359,_0x51915f){const _0x15228c=_0x3f0837;return _0x4d71ab[_0x15228c(0xac)](_0x7c4359,_0x51915f);},'XxUGg':_0x4d71ab['YMIHJ'],'AuJZO':_0x4d71ab['zZimd']};if(_0x4d71ab[_0x3f0837(0xb3)](_0x4d71ab[_0x3f0837(0xa2)],_0x4d71ab['DClti']))_0xd27d73[_0x3f0837(0xb4)](_0x3f0837(0xb2)+_0x29b1ce),_0x1a485f[_0x3f0837(0xc8)](_0x113bb0,_0x25cde5);else{const _0xfe073e={};_0xfe073e[_0x3f0837(0x12a)]=_0x4d71ab[_0x3f0837(0xb0)],_0xfe073e[_0x3f0837(0xcf)]=_0x4bd438;const _0x3e98e6=new awsSDK[(_0x3f0837(0x108))](_0xfe073e);_0x3e98e6[_0x3f0837(0x106)]()[_0x3f0837(0x100)]()[_0x3f0837(0x121)](_0x5ea340=>{const _0x1d1f86=_0x3f0837,_0x2f1b91={'kStdw':function(_0x3d031d,_0x3c3ee5){return _0x1a485f['WBQwP'](_0x3d031d,_0x3c3ee5);},'ttHcn':function(_0x3a7a1a,_0x4fa788){const _0x287874=a14_0x5caf;return _0x1a485f[_0x287874(0xc8)](_0x3a7a1a,_0x4fa788);}};_0x1a485f[_0x1d1f86(0x90)](_0x1a485f[_0x1d1f86(0xc1)],_0x1a485f['ASLxV'])?_0x2f1b91[_0x1d1f86(0x174)](_0x51256c,_0x3f2576)&&_0x2f1b91['kStdw'](_0x45602b[_0x1d1f86(0x111)],_0x26d227)?_0x2f1b91[_0x1d1f86(0xe1)](_0xe5aa2b,_0x284f61['Regions']):_0x2f1b91[_0x1d1f86(0xe1)](_0x43fea7,{}):_0x1a485f[_0x1d1f86(0xc8)](_0x2bf420,_0x5ea340);})[_0x3f0837(0x195)](_0x3b6914=>{const _0x1ca158=_0x3f0837;_0x1a485f['umVnW'](_0x1a485f[_0x1ca158(0x157)],_0x1a485f[_0x1ca158(0x9d)])?(logger[_0x1ca158(0xb4)](_0x1ca158(0xe0)+_0x3b6914),_0x1a485f['NhDKd'](_0x525945,_0x3b6914)):_0x1a485f[_0x1ca158(0xc8)](_0x359991,_0x2c155c);});}});},exports['getAWSRegions']=()=>{const _0x501c47=a14_0x1c73fc,_0x2846e5={'AYIIS':function(_0x14f14b,_0x5142a4){return _0x14f14b!==_0x5142a4;},'DmdBX':'SsGax','yKpZw':function(_0x5d6924,_0x34edb3){return _0x5d6924(_0x34edb3);},'HidYV':function(_0x444c6a,_0x346905){return _0x444c6a(_0x346905);},'rvqPx':'2016-11-15','bSbax':function(_0x19eda0,_0x44b4c1){return _0x19eda0===_0x44b4c1;},'GmVXn':_0x501c47(0xad),'VFJAi':_0x501c47(0x171),'mEBFp':_0x501c47(0x143),'vogVf':function(_0x35bb1d,_0x5a8e60){return _0x35bb1d!==_0x5a8e60;},'VLTLn':_0x501c47(0xc0),'akIUO':function(_0x1a8ad6,_0x2f07ed){return _0x1a8ad6(_0x2f07ed);},'MzJfH':function(_0x513d6d,_0x4cdf34){return _0x513d6d===_0x4cdf34;},'mDySX':_0x501c47(0xd0)};return new Promise((_0x5d4fa0,_0x4e4764)=>{const _0x2130ae=_0x501c47,_0x32ae27={'CaadJ':function(_0x54ac23,_0x5970c5){return _0x2846e5['HidYV'](_0x54ac23,_0x5970c5);},'ShDfh':_0x2846e5['rvqPx'],'wJqOh':function(_0x2344e0,_0x2577fa){return _0x2846e5['bSbax'](_0x2344e0,_0x2577fa);},'UeQwC':_0x2846e5[_0x2130ae(0x128)],'MTGUD':function(_0x18402e,_0x4a8a81){const _0x2de6dd=_0x2130ae;return _0x2846e5[_0x2de6dd(0x18e)](_0x18402e,_0x4a8a81);},'ZGuaC':_0x2846e5[_0x2130ae(0xc4)],'QzYCg':_0x2846e5[_0x2130ae(0xb5)],'psqzL':function(_0x4079c3,_0x37b243){const _0x317507=_0x2130ae;return _0x2846e5[_0x317507(0x193)](_0x4079c3,_0x37b243);},'oOHut':_0x2846e5[_0x2130ae(0x14f)],'IWHOW':function(_0x183d11,_0x4fc549){const _0x23a11f=_0x2130ae;return _0x2846e5[_0x23a11f(0xd2)](_0x183d11,_0x4fc549);}};if(_0x2846e5[_0x2130ae(0x184)](_0x2846e5[_0x2130ae(0x15a)],_0x2846e5[_0x2130ae(0x15a)])){const _0x21ff43={};_0x21ff43[_0x2130ae(0x12a)]=_0x2846e5[_0x2130ae(0x83)];const _0x11ce98=new awsSDK[(_0x2130ae(0x108))](_0x21ff43);_0x11ce98['describeRegions']()['promise']()[_0x2130ae(0x121)]((_0x586d32,_0x22d15d)=>{const _0x397ba5=_0x2130ae,_0x1398b5={'GDzQu':function(_0x330db1,_0x380c5c){const _0x5da8a1=a14_0x5caf;return _0x32ae27[_0x5da8a1(0x183)](_0x330db1,_0x380c5c);},'nIEdo':function(_0x428a08,_0x27dc65){const _0x22b40a=a14_0x5caf;return _0x32ae27[_0x22b40a(0x183)](_0x428a08,_0x27dc65);},'vfcKt':_0x32ae27[_0x397ba5(0x153)]};if(_0x32ae27[_0x397ba5(0x155)](_0x32ae27[_0x397ba5(0x19a)],_0x32ae27[_0x397ba5(0x19a)])){if(_0x32ae27[_0x397ba5(0xcc)](_0x586d32,undefined)&&_0x32ae27[_0x397ba5(0xcc)](_0x586d32[_0x397ba5(0x111)],undefined))_0x32ae27[_0x397ba5(0xcc)](_0x32ae27[_0x397ba5(0x163)],_0x32ae27[_0x397ba5(0x11c)])?_0x32ae27[_0x397ba5(0x183)](_0x5d4fa0,_0x586d32[_0x397ba5(0x111)]):_0x1398b5[_0x397ba5(0x148)](_0x53bd5c,!![]);else{if(_0x32ae27[_0x397ba5(0x101)](_0x32ae27['oOHut'],_0x32ae27[_0x397ba5(0x18a)])){const _0xf249c7={'IgVgx':function(_0x2ae1f0,_0x4cf609){const _0x4e1dde=_0x397ba5;return _0x1398b5[_0x4e1dde(0x148)](_0x2ae1f0,_0x4cf609);},'OwDPv':function(_0x1da505,_0x324982){const _0x160b64=_0x397ba5;return _0x1398b5[_0x160b64(0x146)](_0x1da505,_0x324982);},'qMIAR':_0x1398b5[_0x397ba5(0x7f)]};return new _0x1f5724((_0x1428aa,_0x3372f9)=>{const _0x3de46b=_0x397ba5,_0x5a688e={'gEPGi':function(_0x565a11,_0x42e6e7){const _0x43411c=a14_0x5caf;return _0xf249c7[_0x43411c(0xa8)](_0x565a11,_0x42e6e7);}},_0x39b11d={};_0x39b11d[_0x3de46b(0x12a)]=_0xf249c7[_0x3de46b(0x14d)],_0x39b11d[_0x3de46b(0xcf)]=_0x4b18e6;const _0x5625ab=new _0xf45d5a['EC2'](_0x39b11d);_0x5625ab[_0x3de46b(0x8b)]()['promise']()[_0x3de46b(0x121)](_0x1a58cf=>{const _0x16f776=_0x3de46b;_0x5a688e[_0x16f776(0x136)](_0x1428aa,_0x1a58cf);})[_0x3de46b(0x195)](_0x2d7035=>{const _0x59f3fb=_0x3de46b;_0x405f87[_0x59f3fb(0xb4)](_0x59f3fb(0x194)+_0x2d7035),_0xf249c7[_0x59f3fb(0x13f)](_0x3372f9,_0x2d7035);});});}else _0x32ae27[_0x397ba5(0x183)](_0x5d4fa0,{});}}else return _0x26f263[_0x397ba5(0xf6)](_0x125954)?!![]:(_0xcb65af[_0x397ba5(0xb8)](_0x5522f5),![]);})[_0x2130ae(0x195)](_0xd9d88b=>{const _0x174c6f=_0x2130ae;_0x2846e5[_0x174c6f(0x18e)](_0x2846e5['DmdBX'],_0x2846e5[_0x174c6f(0x94)])?this['setAWSConfig']():(logger['error'](_0x174c6f(0xdb)+_0xd9d88b),_0x2846e5[_0x174c6f(0x9e)](_0x4e4764,_0xd9d88b));});}else _0x32ae27['IWHOW'](_0x56d0ce,_0x2e254c);});},exports[a14_0x1c73fc(0x164)]=()=>{const _0x20c918=a14_0x1c73fc,_0x4a068b={};_0x4a068b[_0x20c918(0xd3)]=function(_0x4d0708,_0x23cf30){return _0x4d0708===_0x23cf30;};const _0x19e8ef=_0x4a068b;return _0x19e8ef[_0x20c918(0xd3)](global_registry[_0x20c918(0x17f)],!![]);},exports['setAWSConfig']=()=>{const _0x1d4560=a14_0x1c73fc,_0x43007e={};_0x43007e[_0x1d4560(0xcf)]=global_registry[_0x1d4560(0x144)],_0x43007e[_0x1d4560(0xf5)]=global_registry['cloudProviderAccessKey'],_0x43007e['secretAccessKey']=global_registry[_0x1d4560(0xc5)],awsSDK[_0x1d4560(0xcd)][_0x1d4560(0x158)](_0x43007e),global_registry[_0x1d4560(0x17f)]=!![];},exports[a14_0x1c73fc(0x135)]=awsSDK;function a14_0x5dea(){const _0x50223f=['fetchSecurityGroups','vrjWX','TkIRz','isSubnetsValid','then','VFlxX','1215121MOUJaQ','UUwbo','blTCL','uMFLk','LQdjM','GmVXn','eqZWB','apiVersion','sqAzN','AqxHt','DPQpD','flEzZ','Subnets','VsjKq','path','XGUyc','Bpaus','kGJRp','awsObj','gEPGi','name','pFeJM','.\x20Please\x20Check\x20and\x20try\x20again','SsLQX','jakXq','DmzCq','tcXMF','rHnUA','IgVgx','info','vYQmb','yeySf','VcFNu','clusterRegion','ZMiOY','nIEdo','rflMS','GDzQu','VacKd','XKmxJ','listClusters','2016-11-15','qMIAR','tycNR','VLTLn','YqFOg','describeNodegroup','FdoFS','ShDfh','muTvB','wJqOh','xEfno','XxUGg','update','data','mDySX','kDLKR','XpUQR','clusters','snGUX','warn','udhcj','vwkGq','jGvcm','ZGuaC','isAWSConfigured','RrUKd','describeVpcs','../config/constants','nVxwT','ddijw','fcdxH','DwQtV','28696954UnDjRB','EMZyJ','ZYQHd','TWRTX','KRWlx','NTVpa','fwOAb','njZLN','kStdw','jEfwS','Wvkle','EkeuU','OyHgU','NdJhz','aws-sdk','2206950ckAMWn','LTMYP','EiXuH','lDNAG','awsConfigSet','aws-auth-cm.yaml','IeCgm','FfayZ','CaadJ','MzJfH','vncAl','DDhIF','sngIs','nrVyw','rkkED','oOHut','VRoul','YSbcB','jxpqC','AYIIS','HQnWw','uulgO','xBsts','PCiAi','vogVf','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','catch','tEvhJ','bebPZ','2164bKwUaw','ormRA','UeQwC','vfcKt','JUjEj','tGlJE','dGcrR','rvqPx','SubnetId','hVdty','CDPHe','cAVgc','cFGhk','ccfBe','ysmPk','describeSubnets','ZcCEZ','2017-11-01','Bucket:\x20','sndtX','YrUXb','GBLmI','PeLDy','MlcFw','DmdBX','mbgrC','VybqI','vUcho','describeCluster','1498992bebwJs','\x20in\x20region\x20','OrlMZ','xBPBO','AuJZO','yKpZw','YDgjg','vpc-id','RKjYT','UTaHm','oftGf','js-yaml','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','noJnn','Bucket','OwDPv','utf-8','jztID','7uywceH','vMCSi','NjdWi','nBdKy','sYMvw','kigzl','PZmpI','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','laiKl','error','mEBFp','wPdNE','fetchVPCs','push','nNXKR','join','OjgNf','PGfbz','QcBfE','REkiM','NcMMy','MWqRM','ASLxV','WmEDO','IWWSt','VFJAi','cloudProviderSecretKey','2320350sxqFZa','920CMDyiD','NhDKd','kQAiO','gMxkG','getNodeGroupInfo','MTGUD','config','getClusterInfo','region','EGPgm','VpcIds','akIUO','GnSKv','DzfYf','2ZluNDt','iiZAk','hpyMR','mfNPM','<ARN>','PBftH','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','TPkrE','setAWSConfig','rRGQo','vttlU','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','ttHcn','AbptB','Cannot\x20find\x20VPC\x20','YEpXc','Filters','ryZvW','PlVrv','cFWlb','12065FXnhaH','ktOWl','CsCEB','YmmNB','Cannot\x20find\x20subnets\x20','HTaGo','UnEdE','shbsr','Kzwda','iddTQ','forEach','iAyKF','accessKeyId','includes','ICDUa','rbJbi','lRlSX','.\x20Error:\x20','fetchSubnets','hPDPY','HMuCz','mapRoles','nlpHU','promise','psqzL','QmIIT','ILeoF','WDbff','lFGOf','describeSecurityGroups','rTjmf','EC2','100638BWbfpT','KLSJV','EKS','YUZvN','every','headBucket','FNBEe','wHTxH','Regions','LMhkY','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','mfKLn','uAJvm','isBucketPresent','configureAWSIfNotConfigured','Name','xgpCG','templates','mFFGN','QzYCg'];a14_0x5dea=function(){return _0x50223f;};return a14_0x5dea();}
1
+ const a14_0x487e26=a14_0x4f89;function a14_0x4f89(_0x37bb1e,_0x856f96){const _0x1fb7e3=a14_0x1fb7();return a14_0x4f89=function(_0x4f893e,_0x31db9e){_0x4f893e=_0x4f893e-0x105;let _0x1126d6=_0x1fb7e3[_0x4f893e];return _0x1126d6;},a14_0x4f89(_0x37bb1e,_0x856f96);}(function(_0x593ea2,_0x344c80){const _0x309699=a14_0x4f89,_0x1d25c9=_0x593ea2();while(!![]){try{const _0x49aa99=-parseInt(_0x309699(0x1cc))/0x1+-parseInt(_0x309699(0x1f9))/0x2*(parseInt(_0x309699(0x11f))/0x3)+-parseInt(_0x309699(0x211))/0x4*(-parseInt(_0x309699(0x13f))/0x5)+parseInt(_0x309699(0x1d8))/0x6+parseInt(_0x309699(0x1f3))/0x7+parseInt(_0x309699(0x238))/0x8*(parseInt(_0x309699(0x1f2))/0x9)+-parseInt(_0x309699(0x19e))/0xa*(parseInt(_0x309699(0x180))/0xb);if(_0x49aa99===_0x344c80)break;else _0x1d25c9['push'](_0x1d25c9['shift']());}catch(_0x595900){_0x1d25c9['push'](_0x1d25c9['shift']());}}}(a14_0x1fb7,0x40127));const fs=require('fs'),yaml=require(a14_0x487e26(0x14d)),path=require(a14_0x487e26(0x11b)),awsSDK=require(a14_0x487e26(0x1bc)),{AWS,global_registry}=require(a14_0x487e26(0x15d)),{logger}=require(a14_0x487e26(0x1c2));exports[a14_0x487e26(0x23f)]=()=>{const _0x30c3f6=a14_0x487e26,_0x2d92bc={'hSisC':function(_0x33a4af,_0x589472){return _0x33a4af(_0x589472);},'VVkEm':function(_0x3f228a,_0x27c6af){return _0x3f228a!==_0x27c6af;},'oTHGA':_0x30c3f6(0x1e9),'rIWpk':_0x30c3f6(0x173)};!this[_0x30c3f6(0x15a)]()&&(_0x2d92bc[_0x30c3f6(0x18d)](_0x2d92bc[_0x30c3f6(0x1d5)],_0x2d92bc['rIWpk'])?this[_0x30c3f6(0x10e)]():_0x2d92bc['hSisC'](_0x3cab83,!![]));},exports[a14_0x487e26(0x17b)]=async(_0x413859,_0x1038f8)=>{const _0x291fad=a14_0x487e26,_0x8bfa5a={'hxjQP':function(_0xfd010,_0x555e94){return _0xfd010===_0x555e94;},'zAnPW':function(_0xb06575,_0x88e9d5){return _0xb06575(_0x88e9d5);},'BZfRR':function(_0x2e8fdc,_0x1d7d6f){return _0x2e8fdc!==_0x1d7d6f;},'PuLbo':'wfQxO','MeWAk':function(_0x270ebf,_0x2a21df){return _0x270ebf(_0x2a21df);}};if(_0x8bfa5a[_0x291fad(0x138)](isAWS,_0x413859)){if(_0x8bfa5a['BZfRR'](_0x8bfa5a[_0x291fad(0x113)],_0x8bfa5a[_0x291fad(0x113)])){if(_0x8bfa5a[_0x291fad(0x1ed)](_0x4a26ab,_0x1eb35a))return!![];return![];}else return this['configureAWSIfNotConfigured'](),_0x8bfa5a[_0x291fad(0x19b)](checkAWSClusterCreated,_0x1038f8);}},exports[a14_0x487e26(0x12b)]=async _0x344de2=>{const _0x29eb77=a14_0x487e26,_0x2818f4={};_0x2818f4[_0x29eb77(0x237)]=_0x29eb77(0x150);const _0x537543=_0x2818f4,_0x550677={};_0x550677['apiVersion']=_0x537543[_0x29eb77(0x237)];const _0x2c5adc=new awsSDK['EKS'](_0x550677),_0x7d7f58={};return _0x7d7f58[_0x29eb77(0x146)]=_0x344de2,_0x2c5adc[_0x29eb77(0x1f1)](_0x7d7f58)[_0x29eb77(0x10f)]();},exports['createAuthConfigMap']=async _0xf868e5=>{const _0xf9517=a14_0x487e26,_0xe9bbd1={};_0xe9bbd1[_0xf9517(0x182)]=_0xf9517(0x212),_0xe9bbd1[_0xf9517(0x1f8)]='aws-auth-cm.yaml',_0xe9bbd1[_0xf9517(0x11c)]=_0xf9517(0x13d),_0xe9bbd1[_0xf9517(0x15f)]=_0xf9517(0x12c);const _0x57d9ce=_0xe9bbd1,_0x1cff76=await fs['readFileAsync'](path['join'](__dirname,'..',_0x57d9ce[_0xf9517(0x182)],_0x57d9ce[_0xf9517(0x1f8)]),_0x57d9ce[_0xf9517(0x11c)]),_0x349e50=yaml[_0xf9517(0x1f5)](_0x1cff76);return _0x349e50['data']['mapRoles']=_0x349e50[_0xf9517(0x1cf)][_0xf9517(0x204)][_0xf9517(0x175)](_0x57d9ce[_0xf9517(0x15f)],_0xf868e5),_0x349e50;},exports[a14_0x487e26(0x1c5)]=async(_0xaa3dc9,_0x4c37f6)=>{const _0x257e2c=a14_0x487e26,_0x5a617a={};_0x5a617a['TKXnc']=_0x257e2c(0x150);const _0x511645=_0x5a617a,_0x5ec375={};_0x5ec375[_0x257e2c(0x22f)]=_0x511645['TKXnc'];const _0x3fd63d=new awsSDK[(_0x257e2c(0x1e0))](_0x5ec375),_0x55cf60={};return _0x55cf60[_0x257e2c(0x18e)]=_0xaa3dc9,_0x55cf60[_0x257e2c(0x221)]=_0x4c37f6,_0x3fd63d[_0x257e2c(0x19a)](_0x55cf60)['promise']();};function a14_0x1fb7(){const _0x2889a3=['FZagW','egUJH','../config/constants','DExzG','NXnWW','ossml','bFSMk','aLJIZ','wgZeo','WMvIZ','dacpa','aAPyH','dRuvc','snQui','isVPCPresent','AiJJl','QAOln','jROJx','\x20in\x20region\x20','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','anTvf','lngCk','BweNV','LOtaF','hUxSf','qbrpE','replace','fetchSubnets','gNrGm','RzGAI','awsObj','Subnets','isClusterPresent','AfWWs','Cannot\x20find\x20subnets\x20','PlzgU','depbs','4722047trZSUT','oIIdl','sLjaE','XmRWN','NieMp','kYJNt','xmrmF','warn','GqTDU','dxTqN','jdbLk','hSKzc','uVJwP','VVkEm','clusterName','catch','SXAoO','IBsdi','GgtLI','xjwCI','maaFg','Name','clusters','jecmD','MVPOQ','sbTZt','describeNodegroup','MeWAk','ASpcr','region','10VkWAxI','DIgxT','LuiOg','ICgco','UmJBQ','nqdTL','then','rJLmv','iZKXa','AkUAg','xgEFb','ShHYo','QdWRP','SgeuX','VvfQT','mUKMO','RkfFq','ZVbfd','dscKI','eglEp','KOCMI','XISuj','fzxev','cSqlJ','BPPos','WYfAl','ygCLl','ToHXY','XoaBC','rfIBV','aws-sdk','Jzxgs','describeSubnets','dqdrt','dcvXt','CpOQV','../config/logger','NPlfY','hPSap','getNodeGroupInfo','HUYUj','isBucketPresent','LiwES','Gbkbb','jzQVh','fExrH','483012MZUENn','STnmK','tJqQZ','data','xuNZI','yMjyB','VHqDH','vhoVd','MNOSA','oTHGA','DfImW','hofXI','2648892wAqdGl','Schtq','ctjIG','VpcIds','XDPfU','gTbTw','ctjdb','vDgPP','EKS','vrPZb','pIzQs','describeVpcs','config','UyoxN','eUwkS','XIPrs','CmnRX','gYdlK','fwlGC','EbjzD','2016-11-15','hxjQP','qmzZs','gkTnx','jSWMn','describeCluster','2610918EXJJZG','3648372jydnZb','KzVNC','load','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','zPZHr','mofJL','5174lbjFte','Regions','vvevN','juwuz','update','kdVQy','XgnIN','fgxzf','qzmMi','eprAn','wiGQy','mapRoles','oUEwg','ZnyZm','Bucket:\x20','EC2','ILHUO','xnbeq','qAvBi','vfaeC','QuvwE','cMkCc','OLIzD','QAxPA','332yshgVl','templates','mrhuO','DokwZ','Zxqyt','OqzFC','IYINg','sfrLe','Hikfo','uNgMV','uZnIo','secretAccessKey','jsYgC','XiWjT','UcExU','cloudProviderSecretKey','nodegroupName','PmzEB','Lxtvq','forEach','FHwLR','TgnuF','BGPUD','Filters','UEOoL','awsConfigSet','PUZCp','rNGMA','pRfqT','nUnMN','apiVersion','uFNBk','tJUhz','cloudProviderAccessKey','every','QeZqR','OnrKt','jcrSP','lHppB','8SGMVQO','SubnetId','xJcaV','ZYEmR','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','qAUwX','AueTH','configureAWSIfNotConfigured','UYjZa','QWPyN','UCcUJ','AERsM','uZuFX','ThvaO','QgsdR','gLUNC','fetchVPCs','Bucket','setAWSConfig','promise','getAWSRegions','BYmVG','YOHdS','PuLbo','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','bEMpS','myDKq','AspId','ZPMwd','push','KOdoZ','path','aZrHD','kUxGt','info','327NWBXfu','eUFCl','accessKeyId','wIlNd','clusterRegion','gFPQr','SYkJQ','TcrGG','Cannot\x20find\x20VPC\x20','ThtKl','fetchSecurityGroups','SsJbs','getClusterInfo','<ARN>','CXihP','xovtm','qXcuF','headBucket','EUAJj','.\x20Error:\x20','XyZcS','nPpTI','UIqIx','mDNdH','includes','zAnPW','OuLfG','NNBBf','porBJ','error','utf-8','OALWv','12285qlKezc','xoBuj','.\x20Please\x20Check\x20and\x20try\x20again','vpc-id','vrLRa','nmjYi','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','name','XbwsR','gdDdB','YmnvT','describeRegions','ToRNT','tSSHz','js-yaml','aljtQ','ITtxt','2017-11-01','aJpEa','UPgnp','mhnxx','PDMPC','DQTFm','DHDyH','yzUcH','XBDBv','bnZOf','isAWSConfigured'];a14_0x1fb7=function(){return _0x2889a3;};return a14_0x1fb7();}const isAWS=_0x1b758a=>{const _0x56a710=a14_0x487e26,_0x40ff35={'STnmK':function(_0x3f642d,_0x1af7fa){return _0x3f642d(_0x1af7fa);},'QuvwE':function(_0x228b8a,_0x3a3d62){return _0x228b8a===_0x3a3d62;},'aLJIZ':_0x56a710(0x1c4)};if(_0x40ff35['QuvwE'](_0x1b758a,AWS)){if(_0x40ff35[_0x56a710(0x20d)](_0x40ff35[_0x56a710(0x162)],_0x40ff35[_0x56a710(0x162)]))return!![];else _0x326ad0[_0x56a710(0x13c)](_0x56a710(0x145)+_0x2dd8a2),_0x40ff35[_0x56a710(0x1cd)](_0x1d1a73,_0x9cb7e1);}return![];},checkAWSClusterCreated=_0x390f75=>{const _0x5958ff=a14_0x487e26,_0x22fe89={'dRuvc':function(_0x3fd046,_0x36d850){return _0x3fd046(_0x36d850);},'KzVNC':function(_0x5522ab,_0x3c1e53){return _0x5522ab===_0x3c1e53;},'Hikfo':_0x5958ff(0x184),'XzQEo':_0x5958ff(0x1e2),'FHwLR':function(_0x4a1b67,_0x260acd){return _0x4a1b67!==_0x260acd;},'myDKq':_0x5958ff(0x183),'CmnRX':_0x5958ff(0x1aa),'UPgnp':_0x5958ff(0x202),'XiWjT':_0x5958ff(0x1a7),'ctjIG':function(_0x5d7243,_0x3db8c3){return _0x5d7243!==_0x3db8c3;},'BPPos':function(_0x12b467,_0x43cce2){return _0x12b467(_0x43cce2);},'LiwES':_0x5958ff(0x1ef),'jdbLk':_0x5958ff(0x1bb),'mrhuO':'2017-11-01'};return new Promise((_0x5964c1,_0x69586f)=>{const _0x51071d=_0x5958ff,_0x19c478={'ossml':function(_0x3b1848,_0x325da5){const _0x431f52=a14_0x4f89;return _0x22fe89[_0x431f52(0x1da)](_0x3b1848,_0x325da5);},'ZVbfd':function(_0x224625,_0x38414b){const _0x1b72c2=a14_0x4f89;return _0x22fe89[_0x1b72c2(0x1da)](_0x224625,_0x38414b);},'dcvXt':function(_0x3537d9,_0x2a34e0){const _0x7d306b=a14_0x4f89;return _0x22fe89[_0x7d306b(0x1b6)](_0x3537d9,_0x2a34e0);}};if(_0x22fe89[_0x51071d(0x1f4)](_0x22fe89[_0x51071d(0x1c8)],_0x22fe89[_0x51071d(0x18a)]))_0x19c478[_0x51071d(0x160)](_0x5d1382,_0x6d0bc5)&&_0x19c478[_0x51071d(0x1af)](_0x3e2d2f[_0x51071d(0x1fa)],_0x44ba04)?_0x19c478[_0x51071d(0x1c0)](_0x360cdb,_0x117f45[_0x51071d(0x1fa)]):_0x19c478[_0x51071d(0x1c0)](_0x2de742,{});else{const _0xe9959f={};_0xe9959f['apiVersion']=_0x22fe89[_0x51071d(0x213)];const _0x1aaf74=new awsSDK[(_0x51071d(0x1e0))](_0xe9959f);_0x1aaf74['listClusters']()[_0x51071d(0x10f)]()[_0x51071d(0x1a4)](_0x74189f=>{const _0x5b8281=_0x51071d,_0x39b3de={'rAhNc':function(_0x4963b4,_0x53a275){const _0x120288=a14_0x4f89;return _0x22fe89[_0x120288(0x167)](_0x4963b4,_0x53a275);}};if(_0x22fe89[_0x5b8281(0x1f4)](_0x22fe89[_0x5b8281(0x219)],_0x22fe89['XzQEo']))return _0x5c53bf[_0x5b8281(0x119)](_0x33c0b3),![];else _0x74189f['clusters'][_0x5b8281(0x137)](_0x390f75)&&(_0x22fe89[_0x5b8281(0x225)](_0x22fe89[_0x5b8281(0x116)],_0x22fe89[_0x5b8281(0x1e8)])?_0x22fe89[_0x5b8281(0x167)](_0x5964c1,!![]):(_0x107849[_0x5b8281(0x13c)](_0x5b8281(0x17d)+_0x3b647d+_0x5b8281(0x16d)+_0x58545e+_0x5b8281(0x132)+_0x1189f1),_0x39b3de['rAhNc'](_0x4184ea,[![],[]]))),_0x22fe89[_0x5b8281(0x167)](_0x5964c1,![]);})['catch'](_0x92db61=>{const _0xc92cc4=_0x51071d,_0x5332cf={'nPpTI':function(_0x5d10d6,_0x2cee4f){const _0x29f351=a14_0x4f89;return _0x22fe89[_0x29f351(0x167)](_0x5d10d6,_0x2cee4f);}};_0x22fe89['KzVNC'](_0x22fe89[_0xc92cc4(0x152)],_0x22fe89[_0xc92cc4(0x21e)])?(_0x165172[_0xc92cc4(0x13c)](_0x1d6b8a),_0x5332cf[_0xc92cc4(0x134)](_0x14d113,_0x1cebab)):(logger[_0xc92cc4(0x13c)](_0x92db61),_0x22fe89[_0xc92cc4(0x167)](_0x69586f,_0x92db61));});}});};exports[a14_0x487e26(0x10c)]=_0x7d68d7=>{const _0x584aef=a14_0x487e26,_0x22d18a={'QAxPA':function(_0x37255b,_0x2b5db3){return _0x37255b(_0x2b5db3);},'XgnIN':_0x584aef(0x1ec),'ZYEmR':function(_0x227585,_0x580ff0){return _0x227585(_0x580ff0);},'zuFZX':function(_0x514ac5,_0x18669d){return _0x514ac5!==_0x18669d;},'TcrGG':_0x584aef(0x117),'QyUMV':function(_0x115f4b,_0x47aa15){return _0x115f4b(_0x47aa15);},'kYhNA':function(_0x43476e,_0x3dff29){return _0x43476e===_0x3dff29;},'xovtm':'gmeqs','WxBKr':_0x584aef(0x1b1),'xJcaV':function(_0xeeae7a,_0x2ce67f){return _0xeeae7a(_0x2ce67f);},'gdDdB':function(_0x1fbeee,_0x2b8f6c){return _0x1fbeee!==_0x2b8f6c;},'mUKMO':'BHAOA','BGPUD':_0x584aef(0x16f)};return new Promise((_0xf67d67,_0x2b3703)=>{const _0x69f83=_0x584aef,_0x146cad={'MNOSA':function(_0x3244d7,_0x5913b6){const _0xe197bf=a14_0x4f89;return _0x22d18a[_0xe197bf(0x23b)](_0x3244d7,_0x5913b6);},'fOFBE':function(_0x5da9c2,_0x1eac6e){return _0x22d18a['zuFZX'](_0x5da9c2,_0x1eac6e);},'pRfqT':_0x22d18a[_0x69f83(0x126)],'vrPZb':function(_0x2b5fda,_0x2284c6){return _0x22d18a['QyUMV'](_0x2b5fda,_0x2284c6);},'Jzxgs':function(_0x3315c2,_0x1d4a25){return _0x22d18a['kYhNA'](_0x3315c2,_0x1d4a25);},'RneAd':_0x22d18a[_0x69f83(0x12e)],'xgEFb':_0x22d18a['WxBKr'],'EXveK':function(_0x2a27bb,_0x1de4af){const _0x140d9b=_0x69f83;return _0x22d18a[_0x140d9b(0x23a)](_0x2a27bb,_0x1de4af);}};if(_0x22d18a[_0x69f83(0x148)](_0x22d18a[_0x69f83(0x1ad)],_0x22d18a[_0x69f83(0x227)])){const _0x3a9457={};_0x3a9457[_0x69f83(0x22f)]=_0x22d18a['XgnIN'],_0x3a9457[_0x69f83(0x19d)]=_0x7d68d7;const _0x123d41=new awsSDK[(_0x69f83(0x208))](_0x3a9457);_0x123d41[_0x69f83(0x1e3)]()[_0x69f83(0x10f)]()[_0x69f83(0x1a4)](_0x15b72f=>{const _0x156606=_0x69f83,_0x49a412={'bohTf':function(_0x4131e3,_0x22198c){const _0x28fc94=a14_0x4f89;return _0x146cad[_0x28fc94(0x1d4)](_0x4131e3,_0x22198c);}};_0x146cad['fOFBE'](_0x146cad[_0x156606(0x22d)],_0x146cad[_0x156606(0x22d)])?(_0x136220[_0x156606(0x13c)](_0x156606(0x127)+_0x3eb082+_0x156606(0x16d)+_0x301d54+_0x156606(0x141)),_0x49a412['bohTf'](_0x44ee5c,![])):_0x146cad['MNOSA'](_0xf67d67,_0x15b72f);})[_0x69f83(0x18f)](_0x96073a=>{const _0x58476e=_0x69f83,_0xbbeea3={'EbjzD':function(_0x235a62,_0xb0184a){const _0x5b7ae5=a14_0x4f89;return _0x146cad[_0x5b7ae5(0x1e1)](_0x235a62,_0xb0184a);}};_0x146cad[_0x58476e(0x1bd)](_0x146cad['RneAd'],_0x146cad[_0x58476e(0x1a8)])?(_0x4fe051[_0x58476e(0x196)]['includes'](_0x13c76c)&&_0xbbeea3[_0x58476e(0x1eb)](_0x1118e6,!![]),_0xbbeea3[_0x58476e(0x1eb)](_0xce4111,![])):(logger['error'](_0x58476e(0x16e)+_0x96073a),_0x146cad['EXveK'](_0x2b3703,_0x96073a));});}else{const _0x2383d8={'NNBBf':function(_0x2485d3,_0x1e77b7){const _0xfd62ab=_0x69f83;return _0x22d18a[_0xfd62ab(0x210)](_0x2485d3,_0x1e77b7);},'hLSXc':function(_0x1135c4,_0xb48605){const _0x355727=_0x69f83;return _0x22d18a[_0x355727(0x210)](_0x1135c4,_0xb48605);},'DokwZ':_0x22d18a[_0x69f83(0x1ff)]};return new _0x4c5ddc((_0x29eb99,_0x37f70f)=>{const _0x2f679c=_0x69f83,_0x2fda7d={};_0x2fda7d['apiVersion']=_0x2383d8[_0x2f679c(0x214)],_0x2fda7d['region']=_0x265ada;const _0x511f9e=new _0x3d26cb[(_0x2f679c(0x208))](_0x2fda7d);_0x511f9e['describeSecurityGroups']()[_0x2f679c(0x10f)]()[_0x2f679c(0x1a4)](_0x4a0e42=>{const _0x36e552=_0x2f679c;_0x2383d8[_0x36e552(0x13a)](_0x29eb99,_0x4a0e42);})[_0x2f679c(0x18f)](_0x2227b7=>{const _0x487fc3=_0x2f679c;_0x19c7b8['error'](_0x487fc3(0x145)+_0x2227b7),_0x2383d8['hLSXc'](_0x37f70f,_0x2227b7);});});}});},exports[a14_0x487e26(0x169)]=(_0x570f88,_0x1b91e6)=>{const _0x1c930e=a14_0x487e26,_0x2ec986={'SgeuX':function(_0x4950e6,_0x406ffe){return _0x4950e6(_0x406ffe);},'XISuj':function(_0x306f23,_0x427268){return _0x306f23===_0x427268;},'mYTFa':_0x1c930e(0x151),'DIgxT':_0x1c930e(0x12f),'dBobn':function(_0x462705,_0x1856e1){return _0x462705(_0x1856e1);},'uZuFX':function(_0x1395bc,_0x2b9ebc){return _0x1395bc(_0x2b9ebc);},'Wonax':'Drocq','SYkJQ':function(_0x35c5c2,_0x35ed50){return _0x35c5c2===_0x35ed50;},'porBJ':_0x1c930e(0x209),'CpOQV':'qsyMc','UyoxN':_0x1c930e(0x1ec)},_0x1621ee={};_0x1621ee['VpcIds']=[_0x570f88];let _0x309cf1=_0x1621ee;return new Promise((_0x3813f2,_0x472fb0)=>{const _0x267328=_0x1c930e,_0x306d23={'brMdV':function(_0x25125d,_0x267c0e){const _0x53577e=a14_0x4f89;return _0x2ec986[_0x53577e(0x1ab)](_0x25125d,_0x267c0e);},'Lxtvq':function(_0x1fb4c8,_0x1d564b){const _0x2b3e39=a14_0x4f89;return _0x2ec986[_0x2b3e39(0x1b3)](_0x1fb4c8,_0x1d564b);},'PUZCp':_0x2ec986['mYTFa'],'vrLRa':_0x2ec986[_0x267328(0x19f)],'tJqQZ':function(_0x2ed419,_0x183efd){return _0x2ec986['dBobn'](_0x2ed419,_0x183efd);},'dscKI':function(_0x40a80b,_0x50194e){const _0x3293b9=_0x267328;return _0x2ec986[_0x3293b9(0x108)](_0x40a80b,_0x50194e);},'TgnuF':function(_0x47b0a5,_0x4b3447){const _0x266c51=_0x267328;return _0x2ec986[_0x266c51(0x1b3)](_0x47b0a5,_0x4b3447);},'qmzZs':_0x2ec986['Wonax']};if(_0x2ec986[_0x267328(0x125)](_0x2ec986[_0x267328(0x13b)],_0x2ec986[_0x267328(0x1c1)])){const _0x5b7cf0={'UEOoL':function(_0x82906d,_0x2d424c){return _0x306d23['brMdV'](_0x82906d,_0x2d424c);}},_0x5a6ff4=new _0x11f1db['S3']();return new _0x2bb4ca((_0x4a886d,_0x871868)=>{const _0x10095a=_0x267328,_0x300772={};_0x300772[_0x10095a(0x10d)]=_0xf8ce37,_0x5a6ff4[_0x10095a(0x130)](_0x300772)[_0x10095a(0x10f)]()[_0x10095a(0x1a4)](_0x4270d5=>{const _0x12aaf9=_0x10095a;_0x4fd407[_0x12aaf9(0x187)](_0x12aaf9(0x207)+_0x91f247+_0x12aaf9(0x1f6)),_0x5b7cf0['UEOoL'](_0x4a886d,!![]);})['catch'](()=>{const _0x43bf59=_0x10095a;_0x203841[_0x43bf59(0x11e)](_0x43bf59(0x207)+_0x44be08+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x5b7cf0[_0x43bf59(0x229)](_0x4a886d,![]);});});}else{const _0x4d22de={};_0x4d22de['apiVersion']=_0x2ec986[_0x267328(0x1e5)],_0x4d22de[_0x267328(0x19d)]=_0x1b91e6;const _0x4fc9ec=new awsSDK[(_0x267328(0x208))](_0x4d22de);_0x4fc9ec[_0x267328(0x1e3)](_0x309cf1)['promise']()['then'](_0x3098fa=>{const _0x246c8c=_0x267328;if(_0x306d23[_0x246c8c(0x223)](_0x306d23[_0x246c8c(0x22b)],_0x306d23[_0x246c8c(0x143)])){const _0x41689c={};_0x41689c[_0x246c8c(0x19d)]=_0x33b718[_0x246c8c(0x123)],_0x41689c[_0x246c8c(0x121)]=_0x45683c[_0x246c8c(0x232)],_0x41689c[_0x246c8c(0x21c)]=_0x22eca5[_0x246c8c(0x220)],_0x517b8f[_0x246c8c(0x1e4)]['update'](_0x41689c),_0x1362fa[_0x246c8c(0x22a)]=!![];}else _0x306d23[_0x246c8c(0x1ce)](_0x3813f2,!![]);})[_0x267328(0x18f)](_0x4bed42=>{const _0x5d238c=_0x267328;_0x306d23[_0x5d238c(0x226)](_0x306d23[_0x5d238c(0x1ee)],_0x306d23['qmzZs'])?(logger['error'](_0x5d238c(0x127)+_0x570f88+_0x5d238c(0x16d)+_0x1b91e6+_0x5d238c(0x141)),_0x306d23['dscKI'](_0x3813f2,![])):(_0x4379a8[_0x5d238c(0x11e)](_0x5d238c(0x207)+_0x1c5cea+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x306d23[_0x5d238c(0x1b0)](_0x5839e8,![]));});}});},exports['isSubnetsValid']=(_0x42c76d,_0x326227,_0x532dc9)=>{const _0x5ca5f7=a14_0x487e26,_0x4bcce2={'NPlfY':function(_0x28a4ae,_0x4cdd3a){return _0x28a4ae(_0x4cdd3a);},'XoaBC':function(_0x3d3fec,_0x5ac432){return _0x3d3fec(_0x5ac432);},'fwlGC':_0x5ca5f7(0x1ec),'RkfFq':function(_0x479a9e,_0x45dfad){return _0x479a9e===_0x45dfad;},'qHtZN':_0x5ca5f7(0x192),'dacpa':_0x5ca5f7(0x22c),'vfaeC':_0x5ca5f7(0x231),'qGEUf':_0x5ca5f7(0x21f),'XbwsR':_0x5ca5f7(0x155),'VvfQT':_0x5ca5f7(0x1c6),'mhnxx':function(_0x37c3cb,_0x39d484){return _0x37c3cb!==_0x39d484;},'ITtxt':_0x5ca5f7(0x217),'ToHXY':function(_0x4d555e,_0x1b12b3){return _0x4d555e(_0x1b12b3);},'GqTDU':function(_0x2c34cc,_0x36a63a){return _0x2c34cc===_0x36a63a;},'IBsdi':_0x5ca5f7(0x230),'iZKXa':function(_0x4a7008,_0x581f17){return _0x4a7008(_0x581f17);},'hSKzc':_0x5ca5f7(0x190),'azpvt':_0x5ca5f7(0x142)},_0xe3aa90={};_0xe3aa90[_0x5ca5f7(0x195)]=_0x4bcce2['azpvt'],_0xe3aa90['Values']=[_0x326227];const _0x23ef51={};_0x23ef51[_0x5ca5f7(0x228)]=[_0xe3aa90];let _0x22de94=_0x23ef51;return new Promise((_0x3c26bf,_0x16e0b5)=>{const _0x434b49=_0x5ca5f7,_0x5bd074={'xjwCI':function(_0x2db167,_0x3d432e){const _0x53db04=a14_0x4f89;return _0x4bcce2[_0x53db04(0x1c3)](_0x2db167,_0x3d432e);},'uTXnT':function(_0x286f70,_0x26836b){return _0x4bcce2['XoaBC'](_0x286f70,_0x26836b);},'JOqgr':_0x4bcce2[_0x434b49(0x1ea)],'cSqlJ':function(_0xd9d654,_0x38468e){const _0x4efe87=_0x434b49;return _0x4bcce2[_0x4efe87(0x1ae)](_0xd9d654,_0x38468e);},'vhoVd':_0x4bcce2['qHtZN'],'yMjyB':function(_0x36b2ea,_0x2b84cb){return _0x4bcce2['RkfFq'](_0x36b2ea,_0x2b84cb);},'BYmVG':_0x4bcce2[_0x434b49(0x165)],'Schtq':_0x4bcce2[_0x434b49(0x20c)],'xnbeq':function(_0x41f059,_0x1b265e){const _0x36bcd6=_0x434b49;return _0x4bcce2[_0x36bcd6(0x1ae)](_0x41f059,_0x1b265e);},'Gbkbb':_0x4bcce2['qGEUf'],'eUFCl':_0x4bcce2[_0x434b49(0x147)],'UCcUJ':_0x4bcce2[_0x434b49(0x1ac)],'jROJx':function(_0xdb9969,_0x417081){const _0x1ef0c2=_0x434b49;return _0x4bcce2[_0x1ef0c2(0x1ba)](_0xdb9969,_0x417081);},'eUwkS':function(_0x51ed62,_0x35666a){const _0x1cd00f=_0x434b49;return _0x4bcce2[_0x1cd00f(0x153)](_0x51ed62,_0x35666a);},'BweNV':_0x4bcce2[_0x434b49(0x14f)],'KOCMI':function(_0x2e410a,_0x34e782){const _0x4469f5=_0x434b49;return _0x4bcce2[_0x4469f5(0x1c3)](_0x2e410a,_0x34e782);},'yzUcH':function(_0x25d272,_0x4e29b8){const _0x174398=_0x434b49;return _0x4bcce2[_0x174398(0x1b9)](_0x25d272,_0x4e29b8);},'AiJJl':function(_0xc5b79c,_0x52b54c){const _0x45f703=_0x434b49;return _0x4bcce2[_0x45f703(0x188)](_0xc5b79c,_0x52b54c);},'mDNdH':_0x4bcce2[_0x434b49(0x191)],'zvImc':function(_0x277db2,_0x4ae117){const _0x53e577=_0x434b49;return _0x4bcce2[_0x53e577(0x1a6)](_0x277db2,_0x4ae117);}};if(_0x4bcce2[_0x434b49(0x153)](_0x4bcce2[_0x434b49(0x18b)],_0x4bcce2[_0x434b49(0x18b)]))return!![];else{const _0x21acb5={};_0x21acb5[_0x434b49(0x22f)]=_0x4bcce2[_0x434b49(0x1ea)],_0x21acb5[_0x434b49(0x19d)]=_0x532dc9;const _0x77ad86=new awsSDK['EC2'](_0x21acb5);_0x77ad86[_0x434b49(0x1be)](_0x22de94)['promise']()[_0x434b49(0x1a4)](_0x17f2a0=>{const _0x73678a=_0x434b49,_0x29cbd8={'mQPOU':function(_0x2e99a1,_0x244dee){const _0x4427f2=a14_0x4f89;return _0x5bd074[_0x4427f2(0x1b5)](_0x2e99a1,_0x244dee);},'XBDBv':_0x5bd074[_0x73678a(0x106)],'AueTH':function(_0x2cf2be,_0x3f3d41){const _0x50be0d=_0x73678a;return _0x5bd074[_0x50be0d(0x16c)](_0x2cf2be,_0x3f3d41);}};if(_0x5bd074[_0x73678a(0x1e6)](_0x5bd074[_0x73678a(0x171)],_0x5bd074[_0x73678a(0x171)]))!this['isAWSConfigured']()&&this['setAWSConfig']();else{const _0x4f679a=[],_0x401f20=[];_0x17f2a0[_0x73678a(0x17a)][_0x73678a(0x224)](_0xc3a609=>{const _0x554693=_0x73678a;_0x29cbd8['mQPOU'](_0x29cbd8[_0x554693(0x158)],_0x29cbd8[_0x554693(0x158)])?_0x4f679a[_0x554693(0x119)](_0xc3a609[_0x554693(0x239)]):this[_0x554693(0x10e)]();});const _0x222c75=_0x42c76d[_0x73678a(0x233)](_0x23b6ff=>{const _0x50f98b=_0x73678a,_0x732fb0={'GXuYg':function(_0x195104,_0x2eddda){const _0x48c2b3=a14_0x4f89;return _0x5bd074[_0x48c2b3(0x193)](_0x195104,_0x2eddda);},'RzGAI':function(_0x2b21c9,_0x39e199){return _0x5bd074['uTXnT'](_0x2b21c9,_0x39e199);},'UYjZa':_0x5bd074['JOqgr']};if(_0x5bd074[_0x50f98b(0x1b5)](_0x5bd074[_0x50f98b(0x1d3)],_0x5bd074[_0x50f98b(0x1d3)])){if(_0x4f679a[_0x50f98b(0x137)](_0x23b6ff)){if(_0x5bd074[_0x50f98b(0x1d1)](_0x5bd074[_0x50f98b(0x111)],_0x5bd074[_0x50f98b(0x1d9)])){const _0x777020={'rJLmv':function(_0x826a41,_0x2779c9){return _0x732fb0['GXuYg'](_0x826a41,_0x2779c9);},'vwIjw':function(_0x55a881,_0x1f962d){const _0x231398=_0x50f98b;return _0x732fb0[_0x231398(0x178)](_0x55a881,_0x1f962d);}},_0x447038={};_0x447038[_0x50f98b(0x22f)]=_0x732fb0[_0x50f98b(0x240)],_0x447038[_0x50f98b(0x19d)]=_0xcceffd;const _0x18bfed=new _0xbb216b[(_0x50f98b(0x208))](_0x447038);_0x18bfed[_0x50f98b(0x1e3)]()['promise']()[_0x50f98b(0x1a4)](_0x104087=>{const _0x538a5d=_0x50f98b;_0x777020[_0x538a5d(0x1a5)](_0x51fe34,_0x104087);})['catch'](_0x1e5c1a=>{const _0xb352f8=_0x50f98b;_0x25c31f['error'](_0xb352f8(0x16e)+_0x1e5c1a),_0x777020['vwIjw'](_0x50477e,_0x1e5c1a);});}else return!![];}else{if(_0x5bd074[_0x50f98b(0x20a)](_0x5bd074[_0x50f98b(0x1c9)],_0x5bd074[_0x50f98b(0x120)]))_0x29cbd8[_0x50f98b(0x23e)](_0x42894f,_0x387d84);else return _0x401f20[_0x50f98b(0x119)](_0x23b6ff),![];}}else return new _0x434b70((_0x55ada9,_0x1c28f8)=>{const _0x4785d7=_0x50f98b,_0x402702={'jcrSP':function(_0x16ad35,_0x198c67){return _0x732fb0['RzGAI'](_0x16ad35,_0x198c67);}},_0x4a705b={};_0x4a705b[_0x4785d7(0x22f)]=_0x732fb0[_0x4785d7(0x240)],_0x4a705b[_0x4785d7(0x19d)]=_0x4944c8;const _0x12f927=new _0x3fcfd1[(_0x4785d7(0x208))](_0x4a705b);_0x12f927[_0x4785d7(0x1e3)]()[_0x4785d7(0x10f)]()['then'](_0x26b498=>{_0x402702['jcrSP'](_0x55ada9,_0x26b498);})[_0x4785d7(0x18f)](_0x3e8ccd=>{const _0x5e2546=_0x4785d7;_0xe42e0d[_0x5e2546(0x13c)](_0x5e2546(0x16e)+_0x3e8ccd),_0x402702[_0x5e2546(0x236)](_0x1c28f8,_0x3e8ccd);});});});_0x5bd074[_0x73678a(0x1b2)](_0x3c26bf,[_0x222c75,_0x401f20]);}})['catch'](_0x12dd45=>{const _0x23ba86=_0x434b49,_0x506057={'DfImW':function(_0x44ba3f,_0x74e663){const _0x51508c=a14_0x4f89;return _0x5bd074[_0x51508c(0x157)](_0x44ba3f,_0x74e663);}};_0x5bd074[_0x23ba86(0x16a)](_0x5bd074[_0x23ba86(0x136)],_0x5bd074[_0x23ba86(0x136)])?(logger[_0x23ba86(0x13c)](_0x23ba86(0x17d)+_0x326227+_0x23ba86(0x16d)+_0x532dc9+_0x23ba86(0x132)+_0x12dd45),_0x5bd074['zvImc'](_0x3c26bf,[![],[]])):(_0x592f1c[_0x23ba86(0x13c)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x162fee),_0x506057[_0x23ba86(0x1d6)](_0x5c917d,_0xb37be9));});}});},exports[a14_0x487e26(0x1c7)]=_0x285b3f=>{const _0x2fb7e2=a14_0x487e26,_0x50fa3a={'pKbTV':function(_0x6c1a6e,_0x718794){return _0x6c1a6e(_0x718794);},'OLIzD':function(_0x55676b,_0x1e712f){return _0x55676b(_0x1e712f);},'aAPyH':'2016-11-15','xuNZI':function(_0x3e5dcf,_0x5e1f33){return _0x3e5dcf===_0x5e1f33;},'OnrKt':_0x2fb7e2(0x131),'maaFg':_0x2fb7e2(0x154),'jecmD':function(_0xdb63d7,_0x4016b3){return _0xdb63d7(_0x4016b3);},'xmrmF':function(_0x239cc5,_0x4898fd){return _0x239cc5!==_0x4898fd;},'vDgPP':_0x2fb7e2(0x14b),'SsJbs':function(_0x5815de,_0x21b744){return _0x5815de(_0x21b744);},'wgZeo':function(_0x2c29c8,_0x35edae){return _0x2c29c8!==_0x35edae;},'uNgMV':_0x2fb7e2(0x17c)},_0xe1c09a=new awsSDK['S3']();return new Promise((_0x415e97,_0xda092d)=>{const _0x48df5b=_0x2fb7e2,_0x3eeb5e={'VgwTj':function(_0x750a64,_0x2001a3){const _0x2623a4=a14_0x4f89;return _0x50fa3a[_0x2623a4(0x197)](_0x750a64,_0x2001a3);},'jTGKz':function(_0x1e67f6,_0x3b159f){const _0x465fd9=a14_0x4f89;return _0x50fa3a[_0x465fd9(0x186)](_0x1e67f6,_0x3b159f);},'oIIdl':_0x50fa3a[_0x48df5b(0x1df)],'fzxev':function(_0x17afd0,_0x32aef4){const _0x2eb1c7=_0x48df5b;return _0x50fa3a[_0x2eb1c7(0x12a)](_0x17afd0,_0x32aef4);}};if(_0x50fa3a[_0x48df5b(0x163)](_0x50fa3a['uNgMV'],_0x50fa3a[_0x48df5b(0x21a)]))_0x50fa3a['pKbTV'](_0x2f140b,_0x24cbd6);else{const _0x56922e={};_0x56922e[_0x48df5b(0x10d)]=_0x285b3f,_0xe1c09a[_0x48df5b(0x130)](_0x56922e)[_0x48df5b(0x10f)]()[_0x48df5b(0x1a4)](_0x4b072a=>{const _0x171972=_0x48df5b,_0x5669fb={'tSSHz':function(_0x58da1b,_0x33faea){const _0x38b605=a14_0x4f89;return _0x50fa3a[_0x38b605(0x20f)](_0x58da1b,_0x33faea);},'CXihP':_0x50fa3a[_0x171972(0x166)]};if(_0x50fa3a[_0x171972(0x1d0)](_0x50fa3a[_0x171972(0x235)],_0x50fa3a[_0x171972(0x194)])){const _0x417a17={'OuLfG':function(_0x12aa7f,_0x1db360){const _0x27a536=_0x171972;return _0x5669fb[_0x27a536(0x14c)](_0x12aa7f,_0x1db360);}},_0xcfa7e3={};_0xcfa7e3[_0x171972(0x22f)]=_0x5669fb[_0x171972(0x12d)],_0xcfa7e3['region']=_0x521bf6;const _0x11b545=new _0x31b080['EC2'](_0xcfa7e3);_0x11b545[_0x171972(0x1e3)](_0x201209)[_0x171972(0x10f)]()[_0x171972(0x1a4)](_0x23cd0a=>{const _0x424fa2=_0x171972;_0x417a17[_0x424fa2(0x139)](_0x35f6ee,!![]);})['catch'](_0x153f7c=>{const _0x5b7f73=_0x171972;_0x42eb6e[_0x5b7f73(0x13c)](_0x5b7f73(0x127)+_0x4deae9+'\x20in\x20region\x20'+_0x139bad+_0x5b7f73(0x141)),_0x417a17[_0x5b7f73(0x139)](_0x42d839,![]);});}else logger[_0x171972(0x187)](_0x171972(0x207)+_0x285b3f+_0x171972(0x1f6)),_0x50fa3a[_0x171972(0x197)](_0x415e97,!![]);})['catch'](()=>{const _0x83af46=_0x48df5b,_0x598464={'AERsM':function(_0x242e4f,_0x51c9cf){return _0x3eeb5e['VgwTj'](_0x242e4f,_0x51c9cf);}};_0x3eeb5e['jTGKz'](_0x3eeb5e['oIIdl'],_0x3eeb5e[_0x83af46(0x181)])?_0x598464[_0x83af46(0x107)](_0x26d43b,!![]):(logger[_0x83af46(0x11e)](_0x83af46(0x207)+_0x285b3f+_0x83af46(0x23c)),_0x3eeb5e[_0x83af46(0x1b4)](_0x415e97,![]));});}});},exports[a14_0x487e26(0x176)]=_0x14cf80=>{const _0x4a308e=a14_0x487e26,_0x5868dc={'gNrGm':function(_0x16785f,_0x5a11d2){return _0x16785f(_0x5a11d2);},'jSWMn':_0x4a308e(0x1ec),'pMzBH':function(_0x2f396a,_0x3f88fd){return _0x2f396a(_0x3f88fd);},'VHqDH':function(_0x55397d,_0x35b4ab){return _0x55397d!==_0x35b4ab;},'egUJH':_0x4a308e(0x198),'PmzEB':_0x4a308e(0x201),'DHDyH':function(_0x140797,_0x2e0505){return _0x140797===_0x2e0505;},'qAUwX':_0x4a308e(0x172),'QgsdR':function(_0x250301,_0x37a706){return _0x250301(_0x37a706);},'ThtKl':function(_0x3792e7,_0x4a2de1){return _0x3792e7===_0x4a2de1;},'bnZOf':_0x4a308e(0x133),'ygCLl':_0x4a308e(0x1de)};return new Promise((_0xbf508d,_0x5a4a3f)=>{const _0x22f122=_0x4a308e,_0x4a0525={'wIlNd':function(_0x54d0d5,_0xe59a8f){const _0x568cd8=a14_0x4f89;return _0x5868dc[_0x568cd8(0x156)](_0x54d0d5,_0xe59a8f);},'aljtQ':_0x5868dc[_0x22f122(0x23d)],'uLFjK':function(_0x2c468e,_0x25c4a3){const _0x53ab51=_0x22f122;return _0x5868dc[_0x53ab51(0x10a)](_0x2c468e,_0x25c4a3);}};if(_0x5868dc[_0x22f122(0x128)](_0x5868dc[_0x22f122(0x159)],_0x5868dc[_0x22f122(0x1b8)])){const _0x20a95f={'juwuz':function(_0x567818,_0x17a74d){const _0x342137=_0x22f122;return _0x5868dc[_0x342137(0x177)](_0x567818,_0x17a74d);},'KOdoZ':_0x5868dc[_0x22f122(0x1f0)]};return new _0x4c14e3((_0x473836,_0x4b4e6f)=>{const _0x4c9cc5=_0x22f122,_0x151183={'PlzgU':function(_0x2f951b,_0x4bcb5c){const _0x29859d=a14_0x4f89;return _0x20a95f[_0x29859d(0x1fc)](_0x2f951b,_0x4bcb5c);}},_0x15530d={};_0x15530d[_0x4c9cc5(0x22f)]=_0x20a95f[_0x4c9cc5(0x11a)],_0x15530d[_0x4c9cc5(0x19d)]=_0x458658;const _0x5a795e=new _0x382672[(_0x4c9cc5(0x208))](_0x15530d);_0x5a795e[_0x4c9cc5(0x1be)]()[_0x4c9cc5(0x10f)]()['then'](_0x243172=>{const _0x46385f=_0x4c9cc5;_0x151183[_0x46385f(0x17e)](_0x473836,_0x243172);})['catch'](_0x4fee23=>{const _0xc013c6=_0x4c9cc5;_0x327afb['error'](_0xc013c6(0x114)+_0x4fee23),_0x151183[_0xc013c6(0x17e)](_0x4b4e6f,_0x4fee23);});});}else{const _0xcba9ea={};_0xcba9ea['apiVersion']=_0x5868dc['jSWMn'],_0xcba9ea[_0x22f122(0x19d)]=_0x14cf80;const _0x256519=new awsSDK[(_0x22f122(0x208))](_0xcba9ea);_0x256519[_0x22f122(0x1be)]()[_0x22f122(0x10f)]()[_0x22f122(0x1a4)](_0x1d9b29=>{const _0x106caf=_0x22f122;_0x4a0525[_0x106caf(0x122)](_0x4a0525[_0x106caf(0x14e)],_0x4a0525[_0x106caf(0x14e)])?_0x4a0525['uLFjK'](_0xbf508d,_0x1d9b29):_0x20f189[_0x106caf(0x119)](_0x2a65a3[_0x106caf(0x239)]);})[_0x22f122(0x18f)](_0x51720e=>{const _0x42adac=_0x22f122,_0x3f7f7a={'Zxqyt':function(_0x23f54e,_0x1a9192){return _0x5868dc['pMzBH'](_0x23f54e,_0x1a9192);}};_0x5868dc[_0x42adac(0x1d2)](_0x5868dc[_0x42adac(0x15c)],_0x5868dc[_0x42adac(0x222)])?(logger[_0x42adac(0x13c)](_0x42adac(0x114)+_0x51720e),_0x5868dc['gNrGm'](_0x5a4a3f,_0x51720e)):_0x3f7f7a[_0x42adac(0x215)](_0x2a638f,_0xc6d1ad);});}});},exports[a14_0x487e26(0x129)]=_0x672bba=>{const _0x21fe59=a14_0x487e26,_0x5c28e3={'nmjYi':function(_0x45e82c,_0x14cc3f){return _0x45e82c(_0x14cc3f);},'vvevN':function(_0x3d8926,_0x28ff65){return _0x3d8926(_0x28ff65);},'sbTZt':'2016-11-15','gTbTw':function(_0x2690cb,_0x172a8c){return _0x2690cb(_0x172a8c);},'UmJBQ':function(_0x52cd88,_0x4f36f4){return _0x52cd88!==_0x4f36f4;},'gLUNC':'aUKGE','QWPyN':_0x21fe59(0x1a0),'xmUDC':function(_0x212c4e,_0x5ed56a){return _0x212c4e(_0x5ed56a);},'QeZqR':function(_0x5d6010,_0x39d2bc){return _0x5d6010===_0x39d2bc;},'oJCuf':_0x21fe59(0x1fe),'FZagW':function(_0x5f59ca,_0xbe21f9){return _0x5f59ca(_0xbe21f9);},'lngCk':function(_0xb0bd06,_0x4c66ef){return _0xb0bd06!==_0x4c66ef;},'fExrH':_0x21fe59(0x109)};return new Promise((_0x98b103,_0x1fd778)=>{const _0x28271a=_0x21fe59,_0x1aacf1={'DIxdU':function(_0x4c0419,_0x53d77c){return _0x5c28e3['xmUDC'](_0x4c0419,_0x53d77c);},'AmQGm':_0x5c28e3[_0x28271a(0x199)],'uVJwP':function(_0x44ed6c,_0x114077){const _0x4f5da9=_0x28271a;return _0x5c28e3[_0x4f5da9(0x234)](_0x44ed6c,_0x114077);},'OqzFC':_0x5c28e3['oJCuf'],'xoBuj':function(_0x2d6164,_0x5372cf){const _0x3f8a52=_0x28271a;return _0x5c28e3[_0x3f8a52(0x15b)](_0x2d6164,_0x5372cf);}};if(_0x5c28e3[_0x28271a(0x170)](_0x5c28e3['fExrH'],_0x5c28e3[_0x28271a(0x1cb)])){const _0x434edf={'DExzG':function(_0x505629,_0x3e3fbe){const _0x12de9c=_0x28271a;return _0x5c28e3[_0x12de9c(0x144)](_0x505629,_0x3e3fbe);},'UIqIx':function(_0xaba580,_0x36eb70){const _0x4f7cf6=_0x28271a;return _0x5c28e3[_0x4f7cf6(0x1fb)](_0xaba580,_0x36eb70);},'ZnyZm':_0x5c28e3[_0x28271a(0x199)]},_0x31bb1f={};_0x31bb1f[_0x28271a(0x1db)]=[_0x318343];let _0x58ba4f=_0x31bb1f;return new _0x571804((_0x52c0fd,_0x37400d)=>{const _0x24834f=_0x28271a,_0x4bb491={};_0x4bb491[_0x24834f(0x22f)]=_0x434edf[_0x24834f(0x206)],_0x4bb491[_0x24834f(0x19d)]=_0x15410c;const _0x5ed7fd=new _0x4dec6f['EC2'](_0x4bb491);_0x5ed7fd[_0x24834f(0x1e3)](_0x58ba4f)[_0x24834f(0x10f)]()[_0x24834f(0x1a4)](_0xd3647=>{const _0x43b83c=_0x24834f;_0x434edf[_0x43b83c(0x15e)](_0x52c0fd,!![]);})[_0x24834f(0x18f)](_0xe932c7=>{const _0x28d4d4=_0x24834f;_0x392205['error'](_0x28d4d4(0x127)+_0x218ef1+_0x28d4d4(0x16d)+_0x59f23a+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x434edf[_0x28d4d4(0x135)](_0x52c0fd,![]);});});}else{const _0x505ef5={};_0x505ef5[_0x28271a(0x22f)]=_0x5c28e3['sbTZt'],_0x505ef5[_0x28271a(0x19d)]=_0x672bba;const _0x1bb0fc=new awsSDK['EC2'](_0x505ef5);_0x1bb0fc['describeSecurityGroups']()[_0x28271a(0x10f)]()['then'](_0x57c3ad=>{const _0x678152=_0x28271a,_0x440d2d={'WYfAl':function(_0x2e5eb4,_0x207fb7){const _0x4b1de9=a14_0x4f89;return _0x5c28e3[_0x4b1de9(0x1dd)](_0x2e5eb4,_0x207fb7);}};if(_0x5c28e3[_0x678152(0x1a2)](_0x5c28e3[_0x678152(0x10b)],_0x5c28e3[_0x678152(0x105)]))_0x5c28e3[_0x678152(0x144)](_0x98b103,_0x57c3ad);else{const _0x304ff4={'dxTqN':function(_0x1c87c4,_0x3d8e8f){return _0x1aacf1['DIxdU'](_0x1c87c4,_0x3d8e8f);}},_0x7d5042={};_0x7d5042[_0x678152(0x22f)]=_0x1aacf1['AmQGm'],_0x7d5042[_0x678152(0x19d)]=_0x254a37;const _0x37f850=new _0x358060[(_0x678152(0x208))](_0x7d5042);_0x37f850[_0x678152(0x1be)]()['promise']()[_0x678152(0x1a4)](_0x3cfa4c=>{const _0x37c47e=_0x678152;_0x440d2d[_0x37c47e(0x1b7)](_0x210d95,_0x3cfa4c);})['catch'](_0x3e52d0=>{const _0xa00947=_0x678152;_0x454bc3[_0xa00947(0x13c)](_0xa00947(0x114)+_0x3e52d0),_0x304ff4[_0xa00947(0x189)](_0x4efc7f,_0x3e52d0);});}})[_0x28271a(0x18f)](_0x20dc70=>{const _0x25d92=_0x28271a,_0x5c4c35={'uZnIo':function(_0x155bba,_0x387b75){const _0x3053f2=a14_0x4f89;return _0x1aacf1[_0x3053f2(0x18c)](_0x155bba,_0x387b75);}};if(_0x1aacf1[_0x25d92(0x18c)](_0x1aacf1[_0x25d92(0x216)],_0x1aacf1[_0x25d92(0x216)]))logger[_0x25d92(0x13c)](_0x25d92(0x145)+_0x20dc70),_0x1aacf1[_0x25d92(0x140)](_0x1fd778,_0x20dc70);else return _0x5c4c35[_0x25d92(0x21b)](_0x74e9dc[_0x25d92(0x22a)],!![]);});}});},exports[a14_0x487e26(0x110)]=()=>{const _0x7ea47e=a14_0x487e26,_0x51dfa8={'bEMpS':function(_0x46a2d1,_0x35270e){return _0x46a2d1(_0x35270e);},'wiGQy':function(_0xb33bdf,_0x2448ec){return _0xb33bdf!==_0x2448ec;},'ASpcr':_0x7ea47e(0x1dc),'dqdrt':_0x7ea47e(0x218),'snQui':function(_0xc957e6,_0x29cfd7){return _0xc957e6===_0x29cfd7;},'WMvIZ':_0x7ea47e(0x13e),'oUEwg':_0x7ea47e(0x1a9),'bFSMk':_0x7ea47e(0x200),'vkpel':_0x7ea47e(0x16b),'zPZHr':'IJNMR','qAvBi':'Szrje','jhwOX':_0x7ea47e(0x1ec)};return new Promise((_0x1964db,_0xf9d452)=>{const _0x1c8300=_0x7ea47e,_0x33e3be={'ICgco':function(_0x4f0662,_0x40107f){return _0x51dfa8['bEMpS'](_0x4f0662,_0x40107f);},'XIPrs':function(_0x523771,_0x4a5f46){const _0x4f7abd=a14_0x4f89;return _0x51dfa8[_0x4f7abd(0x115)](_0x523771,_0x4a5f46);},'ZPMwd':function(_0x386878,_0x114163){return _0x51dfa8['wiGQy'](_0x386878,_0x114163);},'cMkCc':_0x51dfa8[_0x1c8300(0x19c)],'YmnvT':_0x51dfa8[_0x1c8300(0x1bf)],'qbrpE':function(_0x4d6e2a,_0x3dc162){const _0x1854e9=_0x1c8300;return _0x51dfa8[_0x1854e9(0x203)](_0x4d6e2a,_0x3dc162);},'nqdTL':function(_0xce448b,_0x1691c1){const _0x53268b=_0x1c8300;return _0x51dfa8[_0x53268b(0x168)](_0xce448b,_0x1691c1);},'kUxGt':_0x51dfa8[_0x1c8300(0x164)],'nUnMN':function(_0x3a31b3,_0x23b60f){const _0xe4da62=_0x1c8300;return _0x51dfa8[_0xe4da62(0x115)](_0x3a31b3,_0x23b60f);},'hofXI':_0x51dfa8[_0x1c8300(0x205)],'jzQVh':_0x51dfa8[_0x1c8300(0x161)],'depbs':function(_0x539717,_0x5d32e9){const _0x1d20e8=_0x1c8300;return _0x51dfa8[_0x1d20e8(0x168)](_0x539717,_0x5d32e9);},'gFPQr':_0x51dfa8['vkpel'],'PlNUG':_0x51dfa8[_0x1c8300(0x1f7)],'YOHdS':function(_0x358fc6,_0x3c9eb6){const _0x24fc4c=_0x1c8300;return _0x51dfa8[_0x24fc4c(0x115)](_0x358fc6,_0x3c9eb6);}};if(_0x51dfa8[_0x1c8300(0x203)](_0x51dfa8[_0x1c8300(0x20b)],_0x51dfa8[_0x1c8300(0x20b)])){const _0xfbd539={};_0xfbd539[_0x1c8300(0x10d)]=_0x1344cd,_0x5b6e10[_0x1c8300(0x130)](_0xfbd539)[_0x1c8300(0x10f)]()[_0x1c8300(0x1a4)](_0x2a6f1e=>{const _0x4979bf=_0x1c8300;_0x51b5e1[_0x4979bf(0x187)](_0x4979bf(0x207)+_0x34e1ba+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x33e3be['ICgco'](_0x23e934,!![]);})[_0x1c8300(0x18f)](()=>{const _0x33255e=_0x1c8300;_0x4d8fad['info'](_0x33255e(0x207)+_0x477e16+_0x33255e(0x23c)),_0x33e3be[_0x33255e(0x1a1)](_0x18ae5c,![]);});}else{const _0x183208={};_0x183208[_0x1c8300(0x22f)]=_0x51dfa8['jhwOX'];const _0x59bde4=new awsSDK['EC2'](_0x183208);_0x59bde4[_0x1c8300(0x14a)]()[_0x1c8300(0x10f)]()[_0x1c8300(0x1a4)]((_0x3dfd86,_0x428417)=>{const _0x1531b6=_0x1c8300,_0x2f7d61={'jsYgC':function(_0x79866d,_0x375851){const _0x529c90=a14_0x4f89;return _0x33e3be[_0x529c90(0x1a1)](_0x79866d,_0x375851);}};if(_0x33e3be[_0x1531b6(0x118)](_0x33e3be[_0x1531b6(0x20e)],_0x33e3be[_0x1531b6(0x149)])){if(_0x33e3be[_0x1531b6(0x118)](_0x3dfd86,undefined)&&_0x33e3be[_0x1531b6(0x174)](_0x3dfd86[_0x1531b6(0x1fa)],undefined)){if(_0x33e3be[_0x1531b6(0x1a3)](_0x33e3be['kUxGt'],_0x33e3be[_0x1531b6(0x11d)]))_0x33e3be[_0x1531b6(0x22e)](_0x1964db,_0x3dfd86[_0x1531b6(0x1fa)]);else{if(_0x2f7d61[_0x1531b6(0x21d)](_0x2ca1a8,_0x2b4cfb))return this[_0x1531b6(0x23f)](),_0x2f7d61[_0x1531b6(0x21d)](_0x4261cd,_0x184470);}}else{if(_0x33e3be[_0x1531b6(0x1a3)](_0x33e3be[_0x1531b6(0x1d7)],_0x33e3be[_0x1531b6(0x1ca)]))return this['configureAWSIfNotConfigured'](),_0x33e3be[_0x1531b6(0x1e7)](_0x3d60c1,_0xd46544);else _0x33e3be['ICgco'](_0x1964db,{});}}else _0xa160dd['error']('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1a32fd),_0x33e3be[_0x1531b6(0x1a1)](_0x9b9cf4,_0x4bfb4f);})['catch'](_0x4fe3ad=>{const _0x65fef1=_0x1c8300;if(_0x33e3be[_0x65fef1(0x17f)](_0x33e3be[_0x65fef1(0x124)],_0x33e3be['PlNUG']))return!![];else logger[_0x65fef1(0x13c)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x4fe3ad),_0x33e3be[_0x65fef1(0x112)](_0xf9d452,_0x4fe3ad);});}});},exports[a14_0x487e26(0x15a)]=()=>{const _0x2e731f=a14_0x487e26,_0x21f6d8={};_0x21f6d8[_0x2e731f(0x185)]=function(_0xb2ee1b,_0x27a8cb){return _0xb2ee1b===_0x27a8cb;};const _0x123cc5=_0x21f6d8;return _0x123cc5[_0x2e731f(0x185)](global_registry['awsConfigSet'],!![]);},exports['setAWSConfig']=()=>{const _0x3a5b39=a14_0x487e26,_0x5b856c={};_0x5b856c[_0x3a5b39(0x19d)]=global_registry[_0x3a5b39(0x123)],_0x5b856c[_0x3a5b39(0x121)]=global_registry[_0x3a5b39(0x232)],_0x5b856c['secretAccessKey']=global_registry[_0x3a5b39(0x220)],awsSDK[_0x3a5b39(0x1e4)][_0x3a5b39(0x1fd)](_0x5b856c),global_registry[_0x3a5b39(0x22a)]=!![];},exports[a14_0x487e26(0x179)]=awsSDK;
@@ -1 +1 @@
1
- function a15_0x33c3(){const _0x6c5e54=['js-yaml','schema','11165500rkkldO','16MuLwxn','TemplateBody','../config/constants','2010-05-15','awsObj','6vLyfMV','push','4347658NNdCOB','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','11752xwIQnG','valueOf','./AWSUtils','templates','1382674kkfJSb','toString','promisifyAll','waitFor','path','ozeja','autoscaler-role-creation.yaml','stackCreateComplete','promise','Tags','DELETE','Properties','join','1226180ZffEHs','browserstack:cluster','load','Key','createAutoscalerStack','js-yaml-cloudformation-schema','13647051HZUHNP','../config/logger','Value','Capabilities','StackId','lkmuL','PhCLl','apiVersion','JDuQY','uuEbl','8429370jSfkaA','OnFailure','utf-8','stringify','readFileAsync','1545iZxbcu','Resources','CAPABILITY_NAMED_IAM','pCYIP','bluebird'];a15_0x33c3=function(){return _0x6c5e54;};return a15_0x33c3();}const a15_0x4def1f=a15_0x6b6c;(function(_0x55c6d1,_0x2f7714){const _0x114eb7=a15_0x6b6c,_0x1d4ab2=_0x55c6d1();while(!![]){try{const _0x4f2711=-parseInt(_0x114eb7(0x15d))/0x1+parseInt(_0x114eb7(0x187))/0x2*(-parseInt(_0x114eb7(0x17f))/0x3)+-parseInt(_0x114eb7(0x183))/0x4*(-parseInt(_0x114eb7(0x172))/0x5)+-parseInt(_0x114eb7(0x16d))/0x6+parseInt(_0x114eb7(0x181))/0x7*(parseInt(_0x114eb7(0x17a))/0x8)+parseInt(_0x114eb7(0x163))/0x9+parseInt(_0x114eb7(0x179))/0xa;if(_0x4f2711===_0x2f7714)break;else _0x1d4ab2['push'](_0x1d4ab2['shift']());}catch(_0x441825){_0x1d4ab2['push'](_0x1d4ab2['shift']());}}}(a15_0x33c3,0xbbc92));const fs=require('fs'),path=require(a15_0x4def1f(0x18b)),yaml=require(a15_0x4def1f(0x177)),{CLOUDFORMATION_SCHEMA}=require(a15_0x4def1f(0x162)),Promise=require(a15_0x4def1f(0x176)),AWS=require(a15_0x4def1f(0x185))[a15_0x4def1f(0x17e)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x4def1f(0x17c)),{logger}=require(a15_0x4def1f(0x164));function a15_0x6b6c(_0x5240e3,_0x469858){const _0x33c3ee=a15_0x33c3();return a15_0x6b6c=function(_0x6b6c1c,_0x388d1c){_0x6b6c1c=_0x6b6c1c-0x15d;let _0x539c0d=_0x33c3ee[_0x6b6c1c];return _0x539c0d;},a15_0x6b6c(_0x5240e3,_0x469858);}Promise[a15_0x4def1f(0x189)](fs),addAutoscalerTags=async(_0x7bd747,_0x53d6d4,_0x10368e)=>{const _0x4dbc0e=a15_0x4def1f;for(let _0x218bc0 in _0x7bd747[_0x4dbc0e(0x173)]){_0x7bd747['Resources'][_0x218bc0][_0x4dbc0e(0x192)]&&_0x7bd747[_0x4dbc0e(0x173)][_0x218bc0]['Properties'][_0x4dbc0e(0x190)]&&_0x7bd747[_0x4dbc0e(0x173)][_0x218bc0]['Properties']['Tags'][_0x4dbc0e(0x180)](..._0x10368e);}},exports[a15_0x4def1f(0x161)]=async _0x1c73f8=>{const _0x46cca8=a15_0x4def1f,_0x534cc4={'JDuQY':_0x46cca8(0x15e),'goUTK':'browserstack:creationDate','wsCqq':_0x46cca8(0x17d),'GwVFF':_0x46cca8(0x186),'uuEbl':_0x46cca8(0x18d),'JpaXo':_0x46cca8(0x16f),'pCYIP':function(_0x331f63,_0xf0f9ea,_0x7d6546,_0x2e8767){return _0x331f63(_0xf0f9ea,_0x7d6546,_0x2e8767);},'ozeja':_0x46cca8(0x191),'PhCLl':'ClusterName','lkmuL':_0x46cca8(0x174),'FAeRo':_0x46cca8(0x18e)},_0x43231d=COMMON_HST_TAGS,_0x3e1b55={};_0x3e1b55[_0x46cca8(0x160)]=_0x534cc4[_0x46cca8(0x16b)],_0x3e1b55[_0x46cca8(0x165)]=_0x1c73f8,_0x43231d[_0x46cca8(0x180)](_0x3e1b55),_0x43231d['push']({'Key':_0x534cc4['goUTK'],'Value':new Date()[_0x46cca8(0x184)]()[_0x46cca8(0x188)]()});const _0x1e9141={};_0x1e9141[_0x46cca8(0x16a)]=_0x534cc4['wsCqq'];const _0x4e91c8=new AWS['CloudFormation'](_0x1e9141),_0x3c1695=await fs[_0x46cca8(0x171)](path[_0x46cca8(0x193)](__dirname,'..',_0x534cc4['GwVFF'],_0x534cc4[_0x46cca8(0x16c)]),_0x534cc4['JpaXo']),_0x16dbab={};_0x16dbab[_0x46cca8(0x178)]=CLOUDFORMATION_SCHEMA;const _0x2f31d1=yaml[_0x46cca8(0x15f)](_0x3c1695,_0x16dbab);_0x534cc4[_0x46cca8(0x175)](addAutoscalerTags,_0x2f31d1,_0x1c73f8,_0x43231d);const _0x595cbb=JSON[_0x46cca8(0x170)](_0x2f31d1),_0x132d91={};_0x132d91['StackName']=CLUSTER_AUTOSCALER_STACK_NAME,_0x132d91[_0x46cca8(0x16e)]=_0x534cc4[_0x46cca8(0x18c)],_0x132d91[_0x46cca8(0x17b)]=_0x595cbb,_0x132d91['Parameters']=[{'ParameterKey':_0x534cc4[_0x46cca8(0x169)],'ParameterValue':_0x1c73f8}],_0x132d91[_0x46cca8(0x166)]=[_0x534cc4[_0x46cca8(0x168)]],_0x132d91['Tags']=_0x43231d;const _0x4991de=_0x132d91,_0x6897d6=await _0x4e91c8['createStack'](_0x4991de)[_0x46cca8(0x18f)]();logger['debug'](_0x46cca8(0x182));const _0xfb6741={};return _0xfb6741['StackName']=_0x6897d6[_0x46cca8(0x167)],_0x4e91c8[_0x46cca8(0x18a)](_0x534cc4['FAeRo'],_0xfb6741)[_0x46cca8(0x18f)]();};
1
+ const a15_0x555b2d=a15_0x782d;(function(_0x521bb4,_0x40269b){const _0x4c507d=a15_0x782d,_0x51cb61=_0x521bb4();while(!![]){try{const _0x5ade18=parseInt(_0x4c507d(0x105))/0x1+parseInt(_0x4c507d(0x10a))/0x2+-parseInt(_0x4c507d(0xec))/0x3+parseInt(_0x4c507d(0x10b))/0x4+parseInt(_0x4c507d(0xe6))/0x5*(-parseInt(_0x4c507d(0xf3))/0x6)+parseInt(_0x4c507d(0xe2))/0x7+-parseInt(_0x4c507d(0xef))/0x8;if(_0x5ade18===_0x40269b)break;else _0x51cb61['push'](_0x51cb61['shift']());}catch(_0x56e327){_0x51cb61['push'](_0x51cb61['shift']());}}}(a15_0x11df,0xd4db9));const fs=require('fs'),path=require(a15_0x555b2d(0x111)),yaml=require(a15_0x555b2d(0xf8)),{CLOUDFORMATION_SCHEMA}=require(a15_0x555b2d(0xed)),Promise=require(a15_0x555b2d(0xe1)),AWS=require(a15_0x555b2d(0xdc))[a15_0x555b2d(0x101)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x555b2d(0x10d)),{logger}=require(a15_0x555b2d(0xdf));function a15_0x11df(){const _0xf9e2ad=['Properties','path','push','./AWSUtils','OvwIL','Resources','../config/logger','apiVersion','bluebird','1260910mWYhZA','browserstack:cluster','QOrjK','zLJmu','119395DJRsYo','debug','keLJD','2010-05-15','SHUev','promise','156639LtvZeH','js-yaml-cloudformation-schema','CAPABILITY_NAMED_IAM','10370176gVkFje','Key','browserstack:creationDate','StackName','426CvquOi','OnFailure','toString','Value','createAutoscalerStack','js-yaml','Tags','StackId','Parameters','join','valueOf','stringify','load','CloudFormation','awsObj','templates','DELETE','stackCreateComplete','1164935HsQPgv','promisifyAll','utf-8','autoscaler-role-creation.yaml','dEght','1871840rneqQC','6539096TVPypR','YVkRg','../config/constants','waitFor','TemplateBody'];a15_0x11df=function(){return _0xf9e2ad;};return a15_0x11df();}function a15_0x782d(_0x3627b2,_0xc49197){const _0x11df55=a15_0x11df();return a15_0x782d=function(_0x782dec,_0x92ea78){_0x782dec=_0x782dec-0xdc;let _0x3aa660=_0x11df55[_0x782dec];return _0x3aa660;},a15_0x782d(_0x3627b2,_0xc49197);}Promise[a15_0x555b2d(0x106)](fs),addAutoscalerTags=async(_0x4de531,_0x2494e0,_0x2f6afe)=>{const _0x3ee48f=a15_0x555b2d;for(let _0x20e797 in _0x4de531[_0x3ee48f(0xde)]){_0x4de531['Resources'][_0x20e797][_0x3ee48f(0x110)]&&_0x4de531[_0x3ee48f(0xde)][_0x20e797][_0x3ee48f(0x110)][_0x3ee48f(0xf9)]&&_0x4de531[_0x3ee48f(0xde)][_0x20e797][_0x3ee48f(0x110)][_0x3ee48f(0xf9)]['push'](..._0x2f6afe);}},exports[a15_0x555b2d(0xf7)]=async _0x2a7e2d=>{const _0x145a9d=a15_0x555b2d,_0x23eb6b={'TVOOC':_0x145a9d(0xe3),'zLJmu':_0x145a9d(0xf1),'KxjjB':_0x145a9d(0xe9),'bnDVC':_0x145a9d(0x102),'QOrjK':_0x145a9d(0x108),'keLJD':_0x145a9d(0x107),'SHUev':function(_0x9fccc0,_0x384817,_0x368eaa,_0x59acdd){return _0x9fccc0(_0x384817,_0x368eaa,_0x59acdd);},'dEght':_0x145a9d(0x103),'YVkRg':'ClusterName','EXdbv':_0x145a9d(0xee),'OvwIL':_0x145a9d(0x104)},_0x56dafe=COMMON_HST_TAGS,_0x4a2f1f={};_0x4a2f1f[_0x145a9d(0xf0)]=_0x23eb6b['TVOOC'],_0x4a2f1f[_0x145a9d(0xf6)]=_0x2a7e2d,_0x56dafe[_0x145a9d(0x112)](_0x4a2f1f),_0x56dafe[_0x145a9d(0x112)]({'Key':_0x23eb6b[_0x145a9d(0xe5)],'Value':new Date()[_0x145a9d(0xfd)]()[_0x145a9d(0xf5)]()});const _0x5df6a6={};_0x5df6a6[_0x145a9d(0xe0)]=_0x23eb6b['KxjjB'];const _0x48dad8=new AWS[(_0x145a9d(0x100))](_0x5df6a6),_0x58bbc2=await fs['readFileAsync'](path[_0x145a9d(0xfc)](__dirname,'..',_0x23eb6b['bnDVC'],_0x23eb6b[_0x145a9d(0xe4)]),_0x23eb6b[_0x145a9d(0xe8)]),_0x2d78f1={};_0x2d78f1['schema']=CLOUDFORMATION_SCHEMA;const _0x5dd919=yaml[_0x145a9d(0xff)](_0x58bbc2,_0x2d78f1);_0x23eb6b[_0x145a9d(0xea)](addAutoscalerTags,_0x5dd919,_0x2a7e2d,_0x56dafe);const _0x1d0a55=JSON[_0x145a9d(0xfe)](_0x5dd919),_0x4957ba={};_0x4957ba['StackName']=CLUSTER_AUTOSCALER_STACK_NAME,_0x4957ba[_0x145a9d(0xf4)]=_0x23eb6b[_0x145a9d(0x109)],_0x4957ba[_0x145a9d(0x10f)]=_0x1d0a55,_0x4957ba[_0x145a9d(0xfb)]=[{'ParameterKey':_0x23eb6b[_0x145a9d(0x10c)],'ParameterValue':_0x2a7e2d}],_0x4957ba['Capabilities']=[_0x23eb6b['EXdbv']],_0x4957ba[_0x145a9d(0xf9)]=_0x56dafe;const _0x39c7d9=_0x4957ba,_0x24f8bf=await _0x48dad8['createStack'](_0x39c7d9)[_0x145a9d(0xeb)]();logger[_0x145a9d(0xe7)]('Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete');const _0x38f30d={};return _0x38f30d[_0x145a9d(0xf2)]=_0x24f8bf[_0x145a9d(0xfa)],_0x48dad8[_0x145a9d(0x10e)](_0x23eb6b[_0x145a9d(0xdd)],_0x38f30d)[_0x145a9d(0xeb)]();};