browserstack-node-sdk 1.23.4 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) 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/constants.js +1 -0
  42. package/src/bin/mocha/accessibility-automation/helper.js +1 -0
  43. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  44. package/src/bin/mocha/command.js +1 -1
  45. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  46. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  47. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  48. package/src/bin/mocha/test.setup.js +1 -1
  49. package/src/bin/nightwatch/command.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/capsMapping.js +1 -1
  68. package/src/helpers/helper.js +1 -1
  69. package/src/helpers/logger.js +1 -1
  70. package/src/helpers/patchHelpers.js +1 -1
  71. package/src/helpers/request-spy.js +1 -1
  72. package/src/helpers/setKeepAlive.js +1 -1
  73. package/src/helpers/test-observability/constants.js +1 -1
  74. package/src/helpers/test-observability/error-handler.js +1 -1
  75. package/src/helpers/test-observability/performance-tester.js +1 -1
  76. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  77. package/src/helpers/test-observability/sessionHandler.js +1 -1
  78. package/src/helpers/test-observability/utils.js +1 -1
  79. package/src/helpers/w3cMapping.js +1 -1
  80. package/src/hubAllocationMethods.js +1 -1
  81. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a8_0x5bac(){const _0x57b03c=['list_commands','desc','help','1490694ZrbtjF','1291880FEHzbg','69qPcMSK','recommendCommands','23359250ihyiSz','handler','32KDusRG','command','List\x20down\x20the\x20Grid\x20resources.','FULdh','1550124cpZasu','epilogue','7oUUnEG','1390482Xzkeud','115348isBmTT','commandDir','demandCommand','list','ufxGO','usage','655170OxBOfG','strict','../config/constants','root'];a8_0x5bac=function(){return _0x57b03c;};return a8_0x5bac();}const a8_0x2978bd=a8_0x3232;function a8_0x3232(_0x484055,_0x24f1c9){const _0x5bac1f=a8_0x5bac();return a8_0x3232=function(_0x323212,_0x43d3f8){_0x323212=_0x323212-0x129;let _0x3e859c=_0x5bac1f[_0x323212];return _0x3e859c;},a8_0x3232(_0x484055,_0x24f1c9);}(function(_0x368864,_0x447b3c){const _0x446bff=a8_0x3232,_0x5a729d=_0x368864();while(!![]){try{const _0x452e39=parseInt(_0x446bff(0x142))/0x1+-parseInt(_0x446bff(0x138))/0x2+parseInt(_0x446bff(0x130))/0x3*(-parseInt(_0x446bff(0x13c))/0x4)+parseInt(_0x446bff(0x12f))/0x5+-parseInt(_0x446bff(0x12e))/0x6*(parseInt(_0x446bff(0x13a))/0x7)+-parseInt(_0x446bff(0x134))/0x8*(parseInt(_0x446bff(0x13b))/0x9)+parseInt(_0x446bff(0x132))/0xa;if(_0x452e39===_0x447b3c)break;else _0x5a729d['push'](_0x5a729d['shift']());}catch(_0x110f66){_0x5a729d['push'](_0x5a729d['shift']());}}}(a8_0x5bac,0xe6a4d));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x2978bd(0x129));exports[a8_0x2978bd(0x135)]=a8_0x2978bd(0x13f),exports[a8_0x2978bd(0x12c)]=a8_0x2978bd(0x136),exports['builder']=function(_0x349818){const _0x36ccf5=a8_0x2978bd,_0x212519={};_0x212519['FULdh']=_0x36ccf5(0x12b),_0x212519[_0x36ccf5(0x140)]=_0x36ccf5(0x12d);const _0x3ce14f=_0x212519;return _0x349818[_0x36ccf5(0x13d)](_0x3ce14f[_0x36ccf5(0x137)])[_0x36ccf5(0x13e)]()[_0x36ccf5(0x141)](HELP_HEADER_MESSAGE['list'][_0x36ccf5(0x12a)])[_0x36ccf5(0x139)](HELP_FOOTER_MESSAGE)[_0x36ccf5(0x131)]()[_0x36ccf5(0x143)]()['help'](_0x3ce14f[_0x36ccf5(0x140)]);},exports[a8_0x2978bd(0x133)]=function(_0x837550){};
1
+ const a8_0x472df3=a8_0x3050;(function(_0x4f13b8,_0x3dc1f2){const _0x187712=a8_0x3050,_0xce1b69=_0x4f13b8();while(!![]){try{const _0x1c09a2=-parseInt(_0x187712(0x6a))/0x1+parseInt(_0x187712(0x64))/0x2*(-parseInt(_0x187712(0x76))/0x3)+-parseInt(_0x187712(0x6c))/0x4+-parseInt(_0x187712(0x7a))/0x5+-parseInt(_0x187712(0x6f))/0x6*(parseInt(_0x187712(0x75))/0x7)+parseInt(_0x187712(0x74))/0x8*(parseInt(_0x187712(0x78))/0x9)+-parseInt(_0x187712(0x66))/0xa*(-parseInt(_0x187712(0x67))/0xb);if(_0x1c09a2===_0x3dc1f2)break;else _0xce1b69['push'](_0xce1b69['shift']());}catch(_0x4f8bfd){_0xce1b69['push'](_0xce1b69['shift']());}}}(a8_0x49ed,0xe3087));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require('../config/constants');function a8_0x49ed(){const _0x1096a1=['IowhP','3017608yNugLH','epilogue','handler','1791648BzLkpv','command','desc','help','List\x20down\x20the\x20Grid\x20resources.','48iJfoMG','35MRJbmb','825843uhMQKI','list','1268073JadAbG','recommendCommands','8757030igIBhq','list_commands','2yYNdcR','commandDir','4670qHpvEx','114422PqBtou','PVGDD','builder','499060YfHkRy'];a8_0x49ed=function(){return _0x1096a1;};return a8_0x49ed();}function a8_0x3050(_0x329071,_0x305f7c){const _0x49ed7a=a8_0x49ed();return a8_0x3050=function(_0x30506d,_0x29b6db){_0x30506d=_0x30506d-0x64;let _0x108418=_0x49ed7a[_0x30506d];return _0x108418;},a8_0x3050(_0x329071,_0x305f7c);}exports[a8_0x472df3(0x70)]=a8_0x472df3(0x77),exports[a8_0x472df3(0x71)]=a8_0x472df3(0x73),exports[a8_0x472df3(0x69)]=function(_0x2f7878){const _0x4e5009=a8_0x472df3,_0x13043e={};_0x13043e['PVGDD']=_0x4e5009(0x7b),_0x13043e[_0x4e5009(0x6b)]='help';const _0x1a328b=_0x13043e;return _0x2f7878[_0x4e5009(0x65)](_0x1a328b[_0x4e5009(0x68)])['demandCommand']()['usage'](HELP_HEADER_MESSAGE[_0x4e5009(0x77)]['root'])[_0x4e5009(0x6d)](HELP_FOOTER_MESSAGE)[_0x4e5009(0x79)]()['strict']()[_0x4e5009(0x72)](_0x1a328b[_0x4e5009(0x6b)]);},exports[a8_0x472df3(0x6e)]=function(_0x147db8){};
@@ -1 +1 @@
1
- function a9_0x5401(){const _0x42f32f=['JaCUy','stringify','UHXZr','method','vsGoV','dvICV','stack','concurrency','username','requestId','url','BlXDB','../../config/constants','server-error','ElEvk','bstackAccesskey','cloud-provider','133861KcoTOl','command','kpliZ','log','CEKGb','builder','argv','existsSync','cloudProvider','vMqmg','epilogue','table','rSMWl','704707dihFub','qgHpX','../../utils/instrumentationUtils','WNUJX','gridProfile','hrHyv','HwbJE','init-not-called','util','eVuOw','LnWXB','push','uuid','description','boolean','Browserstack','ERROR','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','exit','Svjgk','region','1408hClOCF','usage','statusCode','handler','Wljli','tOqeu','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','all-grid-profiles','22815bQcdJM','type','TfqYm','781550iSPqlG','188dCUTRa','13668otFBih','/packages/cli/get-grid-profiles','parse','desc','5243400MgIKWJ','Failed\x20to\x20list\x20resources!\x20Error:\x20','fHODs','feQMm','unauthorised','auth','help','xoTNd','list-grid-profiles-called','list','promisify','SiKun','270qLetNo','5644345HtttFL','bstackUsername','password','grid-profile-name','grid-profiles','https://','gfesG','body','jrUqx','error','name'];a9_0x5401=function(){return _0x42f32f;};return a9_0x5401();}const a9_0x52e52b=a9_0x4cbb;(function(_0x3d90b9,_0x508e4b){const _0x1b1844=a9_0x4cbb,_0x5550cd=_0x3d90b9();while(!![]){try{const _0x23e94a=-parseInt(_0x1b1844(0x1f2))/0x1+-parseInt(_0x1b1844(0x1b6))/0x2+parseInt(_0x1b1844(0x1b8))/0x3*(-parseInt(_0x1b1844(0x1b7))/0x4)+parseInt(_0x1b1844(0x1c9))/0x5+-parseInt(_0x1b1844(0x1c8))/0x6*(-parseInt(_0x1b1844(0x1e5))/0x7)+-parseInt(_0x1b1844(0x207))/0x8*(parseInt(_0x1b1844(0x1b3))/0x9)+parseInt(_0x1b1844(0x1bc))/0xa;if(_0x23e94a===_0x508e4b)break;else _0x5550cd['push'](_0x5550cd['shift']());}catch(_0x1691f6){_0x5550cd['push'](_0x5550cd['shift']());}}}(a9_0x5401,0xb90d2));const fs=require('fs'),util=require(a9_0x52e52b(0x1fa)),request=require('request'),{table}=require(a9_0x52e52b(0x1f0)),{v4:uuidv4}=require(a9_0x52e52b(0x1fe)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x52e52b(0x1e0)),{getCredentialsPath}=require('../../utils/utilityMethods'),{sendInstrumentationEvent}=require(a9_0x52e52b(0x1f4)),promisifiedRequest=util[a9_0x52e52b(0x1c6)](request);function a9_0x4cbb(_0x3bc652,_0x38468a){const _0x54015a=a9_0x5401();return a9_0x4cbb=function(_0x4cbb1c,_0x6c9b2c){_0x4cbb1c=_0x4cbb1c-0x1b1;let _0x26e3fe=_0x54015a[_0x4cbb1c];return _0x26e3fe;},a9_0x4cbb(_0x3bc652,_0x38468a);}exports[a9_0x52e52b(0x1e6)]=a9_0x52e52b(0x1cd),exports[a9_0x52e52b(0x1bb)]=a9_0x52e52b(0x1b1),exports[a9_0x52e52b(0x1ea)]=function(_0x4cfaea){const _0x54396a=a9_0x52e52b,_0xa17267={};_0xa17267[_0x54396a(0x20c)]='Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.',_0xa17267[_0x54396a(0x1f5)]=_0x54396a(0x200),_0xa17267[_0x54396a(0x1bf)]=_0x54396a(0x1c2);const _0x285cca=_0xa17267,_0x2c70bc={};_0x2c70bc[_0x54396a(0x1ff)]=_0x285cca['tOqeu'],_0x2c70bc[_0x54396a(0x1b4)]=_0x285cca[_0x54396a(0x1f5)];const _0x5ee683={};return _0x5ee683[_0x54396a(0x1b2)]=_0x2c70bc,_0x4cfaea[_0x54396a(0x208)](HELP_HEADER_MESSAGE[_0x54396a(0x1c5)][_0x54396a(0x1f6)])[_0x54396a(0x1ef)](HELP_FOOTER_MESSAGE)['options'](_0x5ee683)[_0x54396a(0x1c2)](_0x285cca[_0x54396a(0x1bf)])[_0x54396a(0x1eb)];},exports[a9_0x52e52b(0x20a)]=async function(_0x52fcff){const _0x5e3a2c=a9_0x52e52b,_0x3caa86={'LnWXB':function(_0x84590e){return _0x84590e();},'xoTNd':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','CEKGb':function(_0x10bcae,_0x28d9fe,_0x460d1a,_0x15d01c,_0x30752d,_0xcf90b0,_0x40420e){return _0x10bcae(_0x28d9fe,_0x460d1a,_0x15d01c,_0x30752d,_0xcf90b0,_0x40420e);},'gfesG':_0x5e3a2c(0x1c4),'eVuOw':_0x5e3a2c(0x1f9),'kpliZ':function(_0x3d7bbb,_0x3f7946,_0x320979,_0x3b73b0,_0x7b9e53,_0x323b8e,_0xb226ec){return _0x3d7bbb(_0x3f7946,_0x320979,_0x3b73b0,_0x7b9e53,_0x323b8e,_0xb226ec);},'pExby':function(_0x566663){return _0x566663();},'qgHpX':'GET','vsGoV':function(_0x2523e6,_0x51df8a){return _0x2523e6(_0x51df8a);},'TfqYm':function(_0x14368d,_0x7d2c66){return _0x14368d!==_0x7d2c66;},'rSMWl':function(_0x51fd40,_0x2fa231){return _0x51fd40!==_0x2fa231;},'UHXZr':function(_0x541b04,_0x173dab){return _0x541b04===_0x173dab;},'ElEvk':_0x5e3a2c(0x203),'BlXDB':_0x5e3a2c(0x1cc),'Wljli':_0x5e3a2c(0x1e4),'hrHyv':_0x5e3a2c(0x206),'vMqmg':_0x5e3a2c(0x1db),'HwbJE':function(_0x49e8b5,_0x4c55d7){return _0x49e8b5(_0x4c55d7);},'uGBRa':function(_0x281ffd,_0x4b0485){return _0x281ffd===_0x4b0485;},'fHODs':function(_0x282a6a,_0x1ea2b1,_0x2918c8,_0x216664,_0x2563a9,_0xf2c58c,_0x5c98ef){return _0x282a6a(_0x1ea2b1,_0x2918c8,_0x216664,_0x2563a9,_0xf2c58c,_0x5c98ef);},'Svjgk':_0x5e3a2c(0x1c0),'dvICV':function(_0x5936df,_0x1fdd50,_0x545e57,_0x24d2c5,_0x303055,_0x3c051f,_0x5371bc){return _0x5936df(_0x1fdd50,_0x545e57,_0x24d2c5,_0x303055,_0x3c051f,_0x5371bc);},'SiKun':_0x5e3a2c(0x1e1),'jrUqx':function(_0x584e13,_0x39a6e9,_0x2bb377,_0x4d9986,_0x1418fd,_0x3a9411,_0x4a962e){return _0x584e13(_0x39a6e9,_0x2bb377,_0x4d9986,_0x1418fd,_0x3a9411,_0x4a962e);},'JaCUy':'unknown-error'};try{global_registry[_0x5e3a2c(0x1dd)]=_0x3caa86[_0x5e3a2c(0x1fc)](uuidv4);let _0x47ffbc=_0x5e3a2c(0x1ce)+AG_API_URL+_0x5e3a2c(0x1b9);_0x52fcff['allGridProfiles']&&(_0x47ffbc='https://'+AG_API_URL+'/packages/cli/get-all-grid-profiles');!fs[_0x5e3a2c(0x1ec)](_0x3caa86['LnWXB'](getCredentialsPath))&&(console['error'](_0x3caa86[_0x5e3a2c(0x1c3)]),await _0x3caa86[_0x5e3a2c(0x1e9)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes['ERROR'],_0x3caa86[_0x5e3a2c(0x1fb)],null,_0x52fcff),process['exit'](0x1));_0x3caa86[_0x5e3a2c(0x1e7)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes['INFO'],null,null,_0x52fcff);const _0x205344=JSON[_0x5e3a2c(0x1ba)](fs['readFileSync'](_0x3caa86['pExby'](getCredentialsPath))),_0x523472={};_0x523472['username']=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1dc)],_0x523472['password']=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1cb)];const _0x10dcac={};_0x10dcac[_0x5e3a2c(0x1de)]=_0x47ffbc,_0x10dcac[_0x5e3a2c(0x1d7)]=_0x3caa86[_0x5e3a2c(0x1f3)],_0x10dcac[_0x5e3a2c(0x1c1)]=_0x523472;const _0x56c23b=_0x10dcac;global_registry[_0x5e3a2c(0x1ca)]=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1dc)],global_registry[_0x5e3a2c(0x1e3)]=_0x205344['Browserstack'][_0x5e3a2c(0x1cb)];const _0x2e38ed=await _0x3caa86[_0x5e3a2c(0x1d8)](promisifiedRequest,_0x56c23b);if(_0x3caa86[_0x5e3a2c(0x1b5)](_0x2e38ed,null)&&_0x3caa86[_0x5e3a2c(0x1f1)](_0x2e38ed,undefined)&&_0x3caa86[_0x5e3a2c(0x1d6)](_0x2e38ed[_0x5e3a2c(0x209)],0xc8)){const _0x56ba2e=JSON[_0x5e3a2c(0x1ba)](_0x2e38ed[_0x5e3a2c(0x1d0)]);console[_0x5e3a2c(0x1e8)](_0x3caa86[_0x5e3a2c(0x1e2)]);const _0x284702=[];_0x284702[_0x5e3a2c(0x1fd)]([_0x3caa86[_0x5e3a2c(0x1df)],_0x3caa86[_0x5e3a2c(0x20b)],_0x3caa86[_0x5e3a2c(0x1f7)],_0x3caa86[_0x5e3a2c(0x1ee)]]),_0x56ba2e['forEach'](_0x2f5e23=>{const _0x220f00=_0x5e3a2c;_0x284702[_0x220f00(0x1fd)]([_0x2f5e23[_0x220f00(0x1d3)],_0x2f5e23[_0x220f00(0x1ed)],_0x2f5e23[_0x220f00(0x206)],_0x2f5e23['concurrency']]);}),console['log'](_0x3caa86[_0x5e3a2c(0x1f8)](table,_0x284702)),process[_0x5e3a2c(0x204)](0x0);}_0x3caa86['uGBRa'](_0x2e38ed[_0x5e3a2c(0x209)],0x191)&&(console['error']('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x3caa86[_0x5e3a2c(0x1be)](sendInstrumentationEvent,_0x52fcff,_0x3caa86['gfesG'],messageTypes['ERROR'],_0x3caa86[_0x5e3a2c(0x205)],null,_0x52fcff),process[_0x5e3a2c(0x204)](0x1)),console['error']('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON[_0x5e3a2c(0x1d5)](_0x2e38ed)),await _0x3caa86[_0x5e3a2c(0x1d9)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes[_0x5e3a2c(0x202)],_0x3caa86[_0x5e3a2c(0x1c7)],_0x2e38ed,_0x52fcff),process[_0x5e3a2c(0x204)](0x1);}catch(_0x20f8ed){console[_0x5e3a2c(0x1d2)](_0x5e3a2c(0x1bd)+_0x20f8ed[_0x5e3a2c(0x1da)]),await _0x3caa86[_0x5e3a2c(0x1d1)](sendInstrumentationEvent,_0x52fcff,_0x3caa86['gfesG'],messageTypes[_0x5e3a2c(0x202)],_0x3caa86[_0x5e3a2c(0x1d4)],_0x20f8ed,_0x52fcff),process[_0x5e3a2c(0x204)](0x1);}};
1
+ function a9_0x5d8b(){const _0x5223eb=['943328GEppVV','existsSync','name','server-error','cloudProvider','cloud-provider','command','https://','2239083vWLJAN','BmAuK','rPSfA','promisify','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.','password','nqhOG','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','517035CXTocO','/packages/cli/get-all-grid-profiles','region','DYtnB','24MdqTfd','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','type','bstackUsername','log','279832NWYkFR','LIcyF','options','idKae','forEach','vjfbP','argv','help','crjgd','url','evQTB','Failed\x20to\x20list\x20resources!\x20Error:\x20','statusCode','unknown-error','username','list','push','method','description','wukym','body','55146hxwKXT','readFileSync','ERROR','request','util','auth','MoXBU','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','XtYbB','tgwep','INFO','table','ioeif','error','325372roSsmV','exit','all-grid-profiles','28ocZmvs','stringify','concurrency','/packages/cli/get-grid-profiles','requestId','desc','Browserstack','parse','grid-profile-name','list-grid-profiles-called','HNiSD','703650mHgWeH','PoSmQ'];a9_0x5d8b=function(){return _0x5223eb;};return a9_0x5d8b();}function a9_0x324e(_0x47867b,_0x4f0877){const _0x5d8b81=a9_0x5d8b();return a9_0x324e=function(_0x324ece,_0x92c3e9){_0x324ece=_0x324ece-0xff;let _0x52d0dd=_0x5d8b81[_0x324ece];return _0x52d0dd;},a9_0x324e(_0x47867b,_0x4f0877);}const a9_0x46c229=a9_0x324e;(function(_0x1ed2f7,_0x5f520d){const _0x4f44f8=a9_0x324e,_0x92552d=_0x1ed2f7();while(!![]){try{const _0x1e3ea7=-parseInt(_0x4f44f8(0x100))/0x1+-parseInt(_0x4f44f8(0x123))/0x2+-parseInt(_0x4f44f8(0x131))/0x3+-parseInt(_0x4f44f8(0x126))/0x4*(-parseInt(_0x4f44f8(0x143))/0x5)+-parseInt(_0x4f44f8(0x147))/0x6*(parseInt(_0x4f44f8(0x115))/0x7)+parseInt(_0x4f44f8(0x133))/0x8+parseInt(_0x4f44f8(0x13b))/0x9;if(_0x1e3ea7===_0x5f520d)break;else _0x92552d['push'](_0x92552d['shift']());}catch(_0x3b5896){_0x92552d['push'](_0x92552d['shift']());}}}(a9_0x5d8b,0x5d414));const fs=require('fs'),util=require(a9_0x46c229(0x119)),request=require(a9_0x46c229(0x118)),{table}=require(a9_0x46c229(0x120)),{v4:uuidv4}=require('uuid'),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../../config/constants'),{getCredentialsPath}=require('../../utils/utilityMethods'),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a9_0x46c229(0x13e)](request);exports[a9_0x46c229(0x139)]='grid-profiles',exports[a9_0x46c229(0x12b)]='List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user',exports['builder']=function(_0x211abd){const _0x1c2e78=a9_0x46c229,_0x1894fc={};_0x1894fc[_0x1c2e78(0x11d)]=_0x1c2e78(0x13f),_0x1894fc['MoXBU']='boolean',_0x1894fc['szmXN']=_0x1c2e78(0x107);const _0x35544c=_0x1894fc,_0xc9f43={};_0xc9f43[_0x1c2e78(0x112)]=_0x35544c['XtYbB'],_0xc9f43[_0x1c2e78(0x149)]=_0x35544c[_0x1c2e78(0x11b)];const _0x21c726={};return _0x21c726[_0x1c2e78(0x125)]=_0xc9f43,_0x211abd['usage'](HELP_HEADER_MESSAGE[_0x1c2e78(0x10f)]['gridProfile'])['epilogue'](HELP_FOOTER_MESSAGE)[_0x1c2e78(0x102)](_0x21c726)['help'](_0x35544c['szmXN'])[_0x1c2e78(0x106)];},exports['handler']=async function(_0x4bf7da){const _0x273408=a9_0x46c229,_0x153eed={'cwqzQ':function(_0x783b40){return _0x783b40();},'nqhOG':function(_0xe919aa){return _0xe919aa();},'PoSmQ':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','DYtnB':function(_0x36a8f8,_0x15f4b6,_0x2c2553,_0x12b675,_0x441f1a,_0x274de8,_0x2e3697){return _0x36a8f8(_0x15f4b6,_0x2c2553,_0x12b675,_0x441f1a,_0x274de8,_0x2e3697);},'BmAuK':_0x273408(0x12f),'ioeif':'init-not-called','dQskI':'GET','rPSfA':function(_0x255f43,_0x152779){return _0x255f43(_0x152779);},'tgwep':function(_0x2d4d95,_0x48a5d4){return _0x2d4d95!==_0x48a5d4;},'hEAMz':function(_0x4fb3f3,_0x53d9fc){return _0x4fb3f3!==_0x53d9fc;},'idKae':function(_0x4b07be,_0x443fb8){return _0x4b07be===_0x443fb8;},'HNiSD':_0x273408(0x148),'NolLu':_0x273408(0x12e),'YUjcA':_0x273408(0x138),'vjfbP':_0x273408(0x145),'LIcyF':_0x273408(0x128),'wukym':function(_0xdb38b7,_0x1c6309,_0x282dbf,_0xf4c84c,_0x3f6350,_0x5b3b36,_0x555b4b){return _0xdb38b7(_0x1c6309,_0x282dbf,_0xf4c84c,_0x3f6350,_0x5b3b36,_0x555b4b);},'GQnYb':'unauthorised','crjgd':_0x273408(0x136),'evQTB':_0x273408(0x10d)};try{global_registry[_0x273408(0x12a)]=_0x153eed['cwqzQ'](uuidv4);let _0x537fde='https://'+AG_API_URL+_0x273408(0x129);_0x4bf7da['allGridProfiles']&&(_0x537fde=_0x273408(0x13a)+AG_API_URL+_0x273408(0x144));!fs[_0x273408(0x134)](_0x153eed[_0x273408(0x141)](getCredentialsPath))&&(console[_0x273408(0x122)](_0x153eed[_0x273408(0x132)]),await _0x153eed[_0x273408(0x146)](sendInstrumentationEvent,_0x4bf7da,_0x153eed['BmAuK'],messageTypes[_0x273408(0x117)],_0x153eed[_0x273408(0x121)],null,_0x4bf7da),process[_0x273408(0x124)](0x1));_0x153eed[_0x273408(0x146)](sendInstrumentationEvent,_0x4bf7da,_0x153eed['BmAuK'],messageTypes[_0x273408(0x11f)],null,null,_0x4bf7da);const _0x3d57f0=JSON[_0x273408(0x12d)](fs[_0x273408(0x116)](_0x153eed[_0x273408(0x141)](getCredentialsPath))),_0x3817d8={};_0x3817d8['username']=_0x3d57f0[_0x273408(0x12c)][_0x273408(0x10e)],_0x3817d8[_0x273408(0x140)]=_0x3d57f0[_0x273408(0x12c)]['password'];const _0x1cd308={};_0x1cd308[_0x273408(0x109)]=_0x537fde,_0x1cd308[_0x273408(0x111)]=_0x153eed['dQskI'],_0x1cd308[_0x273408(0x11a)]=_0x3817d8;const _0x2801d3=_0x1cd308;global_registry[_0x273408(0x14a)]=_0x3d57f0[_0x273408(0x12c)][_0x273408(0x10e)],global_registry['bstackAccesskey']=_0x3d57f0[_0x273408(0x12c)]['password'];const _0x38d61a=await _0x153eed[_0x273408(0x13d)](promisifiedRequest,_0x2801d3);if(_0x153eed[_0x273408(0x11e)](_0x38d61a,null)&&_0x153eed['hEAMz'](_0x38d61a,undefined)&&_0x153eed[_0x273408(0x103)](_0x38d61a[_0x273408(0x10c)],0xc8)){const _0x154f71=JSON['parse'](_0x38d61a[_0x273408(0x114)]);console[_0x273408(0xff)](_0x153eed[_0x273408(0x130)]);const _0x445386=[];_0x445386[_0x273408(0x110)]([_0x153eed['NolLu'],_0x153eed['YUjcA'],_0x153eed[_0x273408(0x105)],_0x153eed[_0x273408(0x101)]]),_0x154f71[_0x273408(0x104)](_0x27ebe7=>{const _0x49f687=_0x273408;_0x445386[_0x49f687(0x110)]([_0x27ebe7[_0x49f687(0x135)],_0x27ebe7[_0x49f687(0x137)],_0x27ebe7['region'],_0x27ebe7[_0x49f687(0x128)]]);}),console['log'](_0x153eed[_0x273408(0x13d)](table,_0x445386)),process[_0x273408(0x124)](0x0);}_0x153eed[_0x273408(0x103)](_0x38d61a[_0x273408(0x10c)],0x191)&&(console[_0x273408(0x122)](_0x273408(0x11c)),await _0x153eed['wukym'](sendInstrumentationEvent,_0x4bf7da,_0x153eed['BmAuK'],messageTypes[_0x273408(0x117)],_0x153eed['GQnYb'],null,_0x4bf7da),process[_0x273408(0x124)](0x1)),console[_0x273408(0x122)](_0x273408(0x142)+JSON[_0x273408(0x127)](_0x38d61a)),await _0x153eed[_0x273408(0x113)](sendInstrumentationEvent,_0x4bf7da,_0x153eed[_0x273408(0x13c)],messageTypes[_0x273408(0x117)],_0x153eed[_0x273408(0x108)],_0x38d61a,_0x4bf7da),process[_0x273408(0x124)](0x1);}catch(_0x1fa3d2){console[_0x273408(0x122)](_0x273408(0x10b)+_0x1fa3d2['stack']),await _0x153eed[_0x273408(0x113)](sendInstrumentationEvent,_0x4bf7da,_0x153eed['BmAuK'],messageTypes[_0x273408(0x117)],_0x153eed[_0x273408(0x10a)],_0x1fa3d2,_0x4bf7da),process['exit'](0x1);}};
@@ -1 +1 @@
1
- function a10_0x503d(){const _0xa4252e=['bLVSF','xSScF','yiipK','MZFiC','3240UIzRpS','grid-id','running','KmBti','grid-name','GET','RBQIR','ZvQYO','password','list-grids-called','clusterName','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','FhfuE','server-error','1050meVytw','3544NDDpAF','VThFQ','FCmgl','aGjKt','init-not-called','../../config/constants','\x0aFound\x20the\x20following\x20grids:\x0a','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','epilogue','CNBkR','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','2032feTpXJ','iCwDA','command','350603mhOjVn','37bejzHC','bstackUsername','forEach','util','975605yDzSri','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','table','vgqmX','TXrTk','description','grid','https://','exit','request','desc','unauthorised','name','../../utils/instrumentationUtils','options','Browserstack','tGJbF','log','status','cluster-name','queued','ERROR','handler','auth','type','../../utils/utilityMethods','all-grids','push','36nbcRZV','argv','list','5060lrwdkd','ycwbv','PSSPd','promisify','stringify','requestId','pKlNT','1302FVvmDl','kHldH','usage','url','builder','parse','error','uuid','username','statusCode','Hyaic','body','help','603qdNBho','146694EYKOVw'];a10_0x503d=function(){return _0xa4252e;};return a10_0x503d();}const a10_0x1d0a6a=a10_0x3ac5;(function(_0x29e084,_0x14d1f3){const _0x81b7b2=a10_0x3ac5,_0x14a586=_0x29e084();while(!![]){try{const _0x48b26b=-parseInt(_0x81b7b2(0x168))/0x1*(parseInt(_0x81b7b2(0x192))/0x2)+-parseInt(_0x81b7b2(0x19f))/0x3*(-parseInt(_0x81b7b2(0x164))/0x4)+parseInt(_0x81b7b2(0x16c))/0x5+-parseInt(_0x81b7b2(0x1a0))/0x6+-parseInt(_0x81b7b2(0x158))/0x7*(-parseInt(_0x81b7b2(0x159))/0x8)+parseInt(_0x81b7b2(0x14a))/0x9*(-parseInt(_0x81b7b2(0x18b))/0xa)+parseInt(_0x81b7b2(0x167))/0xb*(parseInt(_0x81b7b2(0x188))/0xc);if(_0x48b26b===_0x14d1f3)break;else _0x14a586['push'](_0x14a586['shift']());}catch(_0x236f97){_0x14a586['push'](_0x14a586['shift']());}}}(a10_0x503d,0x37cfa));const fs=require('fs'),util=require(a10_0x1d0a6a(0x16b)),request=require(a10_0x1d0a6a(0x175)),{table}=require(a10_0x1d0a6a(0x16e)),{v4:uuidv4}=require(a10_0x1d0a6a(0x199)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x1d0a6a(0x15e)),{getCredentialsPath}=require(a10_0x1d0a6a(0x185)),{sendInstrumentationEvent}=require(a10_0x1d0a6a(0x179)),promisifiedRequest=util[a10_0x1d0a6a(0x18e)](request);function a10_0x3ac5(_0x2a7c84,_0x3388b7){const _0x503d23=a10_0x503d();return a10_0x3ac5=function(_0x3ac52c,_0x13d4af){_0x3ac52c=_0x3ac52c-0x14a;let _0x3fa704=_0x503d23[_0x3ac52c];return _0x3fa704;},a10_0x3ac5(_0x2a7c84,_0x3388b7);}exports[a10_0x1d0a6a(0x166)]='grids',exports[a10_0x1d0a6a(0x176)]=a10_0x1d0a6a(0x163),exports[a10_0x1d0a6a(0x196)]=function(_0x56e310){const _0x41c782=a10_0x1d0a6a,_0x2561a9={};_0x2561a9[_0x41c782(0x15b)]=_0x41c782(0x16d),_0x2561a9[_0x41c782(0x1a2)]='boolean',_0x2561a9['KkrlO']=_0x41c782(0x19e);const _0x6f0c04=_0x2561a9,_0x1a7cb1={};_0x1a7cb1[_0x41c782(0x171)]=_0x6f0c04[_0x41c782(0x15b)],_0x1a7cb1[_0x41c782(0x184)]=_0x6f0c04[_0x41c782(0x1a2)];const _0x17a3de={};return _0x17a3de[_0x41c782(0x186)]=_0x1a7cb1,_0x56e310[_0x41c782(0x194)](HELP_HEADER_MESSAGE[_0x41c782(0x18a)][_0x41c782(0x172)])[_0x41c782(0x161)](HELP_FOOTER_MESSAGE)[_0x41c782(0x17a)](_0x17a3de)['help'](_0x6f0c04['KkrlO'])[_0x41c782(0x189)];},exports[a10_0x1d0a6a(0x182)]=async function(_0x5998f4){const _0x1f64ab=a10_0x1d0a6a,_0x2dbf94={'bLVSF':function(_0x1c2b90){return _0x1c2b90();},'ksmDl':function(_0x4cea0e){return _0x4cea0e();},'ZvQYO':_0x1f64ab(0x155),'tGJbF':function(_0x8c7bdc,_0x5c854d,_0x2712b8,_0x3b5b9a,_0x518743,_0x550e69,_0x392864){return _0x8c7bdc(_0x5c854d,_0x2712b8,_0x3b5b9a,_0x518743,_0x550e69,_0x392864);},'aGjKt':_0x1f64ab(0x153),'vgqmX':_0x1f64ab(0x15d),'TXrTk':function(_0xb847c1){return _0xb847c1();},'yiipK':_0x1f64ab(0x14f),'pKlNT':function(_0x3f383e,_0x1b712a,_0x2038e6,_0x58892d,_0x54bb28,_0x2852c2,_0x4ec432){return _0x3f383e(_0x1b712a,_0x2038e6,_0x58892d,_0x54bb28,_0x2852c2,_0x4ec432);},'MZFiC':function(_0x1b7de0,_0x5da946){return _0x1b7de0(_0x5da946);},'PSSPd':function(_0x3d4842,_0x548ebf){return _0x3d4842!==_0x548ebf;},'ssPHP':function(_0x59f02a,_0x3023fc){return _0x59f02a===_0x3023fc;},'iCwDA':_0x1f64ab(0x15f),'KmBti':_0x1f64ab(0x14b),'RBQIR':_0x1f64ab(0x14e),'WrVQF':'status','VThFQ':'running','FhfuE':_0x1f64ab(0x180),'Hyaic':_0x1f64ab(0x17f),'FxeyN':function(_0x395a0f,_0x5f2761){return _0x395a0f===_0x5f2761;},'DIflb':_0x1f64ab(0x177),'CNBkR':_0x1f64ab(0x157),'ycwbv':function(_0x459e0b,_0x301dd7,_0x13e1c8,_0x2f1542,_0x35372c,_0x368d2e,_0x5a582c){return _0x459e0b(_0x301dd7,_0x13e1c8,_0x2f1542,_0x35372c,_0x368d2e,_0x5a582c);},'kHldH':'unknown-error'};try{global_registry[_0x1f64ab(0x190)]=_0x2dbf94[_0x1f64ab(0x1a1)](uuidv4);!fs['existsSync'](_0x2dbf94['ksmDl'](getCredentialsPath))&&(console[_0x1f64ab(0x198)](_0x2dbf94[_0x1f64ab(0x151)]),await _0x2dbf94[_0x1f64ab(0x17c)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x16f)],null,_0x5998f4),process[_0x1f64ab(0x174)](0x1));const _0x5a1b9a=JSON[_0x1f64ab(0x197)](fs['readFileSync'](_0x2dbf94[_0x1f64ab(0x170)](getCredentialsPath)));let _0x4174cc=_0x1f64ab(0x173)+AG_API_URL+'/packages/cli/get-grids';_0x5998f4['allGrids']&&(_0x4174cc=_0x1f64ab(0x173)+AG_API_URL+'/packages/cli/get-all-grids');const _0xc38bf4={};_0xc38bf4[_0x1f64ab(0x19a)]=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x19a)],_0xc38bf4['password']=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x152)];const _0x47182b={};_0x47182b[_0x1f64ab(0x195)]=_0x4174cc,_0x47182b['method']=_0x2dbf94[_0x1f64ab(0x1a3)],_0x47182b[_0x1f64ab(0x183)]=_0xc38bf4;const _0x2e9429=_0x47182b;global_registry[_0x1f64ab(0x169)]=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x19a)],global_registry['bstackAccesskey']=_0x5a1b9a[_0x1f64ab(0x17b)]['password'],_0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes['INFO'],null,null,_0x5998f4);const _0x275f51=await _0x2dbf94['MZFiC'](promisifiedRequest,_0x2e9429);if(_0x2dbf94['PSSPd'](_0x275f51,null)&&_0x2dbf94[_0x1f64ab(0x18d)](_0x275f51,undefined)&&_0x2dbf94['ssPHP'](_0x275f51[_0x1f64ab(0x19b)],0xc8)){const _0x3f2a2f=JSON['parse'](_0x275f51[_0x1f64ab(0x19d)]);console[_0x1f64ab(0x17d)](_0x2dbf94[_0x1f64ab(0x165)]);const _0xa3844a=[];_0xa3844a[_0x1f64ab(0x187)]([_0x2dbf94[_0x1f64ab(0x14d)],_0x2dbf94[_0x1f64ab(0x150)],_0x2dbf94['WrVQF'],_0x2dbf94[_0x1f64ab(0x15a)],_0x2dbf94[_0x1f64ab(0x156)],_0x2dbf94[_0x1f64ab(0x19c)]]),_0x3f2a2f[_0x1f64ab(0x16a)](_0x476f37=>{const _0xb9eb0c=_0x1f64ab;_0xa3844a[_0xb9eb0c(0x187)]([_0x476f37['id'],_0x476f37[_0xb9eb0c(0x178)],_0x476f37[_0xb9eb0c(0x17e)],_0x476f37[_0xb9eb0c(0x14c)],_0x476f37[_0xb9eb0c(0x180)],_0x476f37[_0xb9eb0c(0x154)]]);}),console[_0x1f64ab(0x17d)](_0x2dbf94[_0x1f64ab(0x1a4)](table,_0xa3844a)),process[_0x1f64ab(0x174)](0x0);}_0x2dbf94['FxeyN'](_0x275f51[_0x1f64ab(0x19b)],0x191)&&(console[_0x1f64ab(0x198)]('Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94['DIflb'],null,_0x5998f4),process[_0x1f64ab(0x174)](0x1)),console[_0x1f64ab(0x198)](_0x1f64ab(0x160)+JSON[_0x1f64ab(0x18f)](_0x275f51)),await _0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x162)],_0x275f51,_0x5998f4),process[_0x1f64ab(0x174)](0x1);}catch(_0x253b36){console[_0x1f64ab(0x198)]('Failed\x20to\x20list\x20resources!\x20Error:\x20'+_0x253b36['stack']),await _0x2dbf94[_0x1f64ab(0x18c)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x193)],_0x253b36,_0x5998f4),process[_0x1f64ab(0x174)](0x1);}};
1
+ function a10_0xd690(_0x4f9cdb,_0x53b545){const _0x3e05bd=a10_0x3e05();return a10_0xd690=function(_0xd690ed,_0x306100){_0xd690ed=_0xd690ed-0x1d6;let _0x137d3b=_0x3e05bd[_0xd690ed];return _0x137d3b;},a10_0xd690(_0x4f9cdb,_0x53b545);}const a10_0x235558=a10_0xd690;function a10_0x3e05(){const _0x4015a0=['grids','SKLAQ','builder','INFO','/packages/cli/get-grids','password','zjBKq','cluster-name','NLDYh','312744FrzbeB','EHcef','2641282FOjLkQ','EBtoe','oBxOU','yHpXy','2980008qljbdn','GET','stringify','IfVPU','util','request','allGrids','all-grids','boolean','server-error','forEach','667503QqQzrp','sVUct','KwBCI','620593MuIuII','queued','readFileSync','2308648XZkUGC','aVbBX','running','JoWYG','stack','uVnQB','grid-id','HtEIg','status','command','27dlkXlZ','../../config/constants','uuid','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','usage','help','promisify','existsSync','method','hRrgE','error','log','3420520UTaWsV','Browserstack','requestId','/packages/cli/get-all-grids','ERROR','grid','clusterName','https://','auth','Failed\x20to\x20list\x20resources!\x20Error:\x20','exit','description','../../utils/utilityMethods','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','options','url','IMxJm','list','Fhbkd','name','statusCode','wmiOX','argv','4FGpJBj','grid-name','body','list-grids-called','aqyic','username'];a10_0x3e05=function(){return _0x4015a0;};return a10_0x3e05();}(function(_0x461b68,_0x3e01bc){const _0xba0474=a10_0xd690,_0xbe7ae=_0x461b68();while(!![]){try{const _0x11009b=parseInt(_0xba0474(0x21c))/0x1+parseInt(_0xba0474(0x1f9))/0x2*(-parseInt(_0xba0474(0x219))/0x3)+parseInt(_0xba0474(0x20e))/0x4+parseInt(_0xba0474(0x1e2))/0x5+parseInt(_0xba0474(0x208))/0x6+-parseInt(_0xba0474(0x20a))/0x7+parseInt(_0xba0474(0x21f))/0x8*(-parseInt(_0xba0474(0x1d6))/0x9);if(_0x11009b===_0x3e01bc)break;else _0xbe7ae['push'](_0xbe7ae['shift']());}catch(_0x378705){_0xbe7ae['push'](_0xbe7ae['shift']());}}}(a10_0x3e05,0x65038));const fs=require('fs'),util=require(a10_0x235558(0x212)),request=require(a10_0x235558(0x213)),{table}=require('table'),{v4:uuidv4}=require(a10_0x235558(0x1d8)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x235558(0x1d7)),{getCredentialsPath}=require(a10_0x235558(0x1ee)),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a10_0x235558(0x1dc)](request);exports[a10_0x235558(0x228)]=a10_0x235558(0x1ff),exports['desc']='List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user',exports[a10_0x235558(0x201)]=function(_0x882d02){const _0x37738d=a10_0x235558,_0x4ddbb1={};_0x4ddbb1[_0x37738d(0x20b)]='Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.',_0x4ddbb1[_0x37738d(0x21b)]=_0x37738d(0x216),_0x4ddbb1[_0x37738d(0x224)]=_0x37738d(0x1db);const _0x5e4f12=_0x4ddbb1,_0x46fb50={};_0x46fb50[_0x37738d(0x1ed)]=_0x5e4f12[_0x37738d(0x20b)],_0x46fb50['type']=_0x5e4f12['KwBCI'];const _0x3d3518={};return _0x3d3518[_0x37738d(0x215)]=_0x46fb50,_0x882d02[_0x37738d(0x1da)](HELP_HEADER_MESSAGE[_0x37738d(0x1f3)][_0x37738d(0x1e7)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x37738d(0x1f0)](_0x3d3518)[_0x37738d(0x1db)](_0x5e4f12[_0x37738d(0x224)])[_0x37738d(0x1f8)];},exports['handler']=async function(_0x580525){const _0xa34da1=a10_0x235558,_0x27844c={'oBxOU':function(_0x4a8a86){return _0x4a8a86();},'wmiOX':_0xa34da1(0x1d9),'sVUct':function(_0x32b7c4,_0x1f225b,_0x296ef6,_0x5cdac6,_0x71fa73,_0x1e82f7,_0xe0bc86){return _0x32b7c4(_0x1f225b,_0x296ef6,_0x5cdac6,_0x71fa73,_0x1e82f7,_0xe0bc86);},'aVbBX':_0xa34da1(0x1fc),'lzzII':'init-not-called','NLDYh':function(_0x157e01){return _0x157e01();},'zuNUT':_0xa34da1(0x20f),'IMxJm':function(_0x4afd9e,_0x8c96c,_0x4f0018,_0x2ae5ab,_0x4f05d5,_0x695192,_0x280586){return _0x4afd9e(_0x8c96c,_0x4f0018,_0x2ae5ab,_0x4f05d5,_0x695192,_0x280586);},'vXHMS':function(_0x578b93,_0x16eff2){return _0x578b93(_0x16eff2);},'yHpXy':function(_0x4a1b73,_0x1f89b3){return _0x4a1b73!==_0x1f89b3;},'zjBKq':function(_0x213b19,_0x4665){return _0x213b19===_0x4665;},'hRrgE':'\x0aFound\x20the\x20following\x20grids:\x0a','IfVPU':_0xa34da1(0x225),'hZzwI':_0xa34da1(0x1fa),'fjItC':_0xa34da1(0x227),'aqyic':_0xa34da1(0x221),'JoWYG':_0xa34da1(0x21d),'ZKVeW':_0xa34da1(0x206),'Fhbkd':function(_0x45eaf1,_0x25154b){return _0x45eaf1(_0x25154b);},'qjboG':function(_0x552f81,_0x18907a){return _0x552f81===_0x18907a;},'SKLAQ':function(_0x1d9d27,_0x129618,_0x2a9246,_0x13aecd,_0x16ca65,_0x40fc1c,_0x15330e){return _0x1d9d27(_0x129618,_0x2a9246,_0x13aecd,_0x16ca65,_0x40fc1c,_0x15330e);},'wmfzN':'unauthorised','EHcef':_0xa34da1(0x217),'HtEIg':'unknown-error'};try{global_registry[_0xa34da1(0x1e4)]=_0x27844c['oBxOU'](uuidv4);!fs[_0xa34da1(0x1dd)](_0x27844c[_0xa34da1(0x20c)](getCredentialsPath))&&(console['error'](_0x27844c[_0xa34da1(0x1f7)]),await _0x27844c[_0xa34da1(0x21a)](sendInstrumentationEvent,_0x580525,_0x27844c['aVbBX'],messageTypes[_0xa34da1(0x1e6)],_0x27844c['lzzII'],null,_0x580525),process['exit'](0x1));const _0x8b4bf7=JSON['parse'](fs[_0xa34da1(0x21e)](_0x27844c[_0xa34da1(0x207)](getCredentialsPath)));let _0x3b6ed5=_0xa34da1(0x1e9)+AG_API_URL+_0xa34da1(0x203);_0x580525[_0xa34da1(0x214)]&&(_0x3b6ed5=_0xa34da1(0x1e9)+AG_API_URL+_0xa34da1(0x1e5));const _0xc4a54={};_0xc4a54['username']=_0x8b4bf7[_0xa34da1(0x1e3)]['username'],_0xc4a54[_0xa34da1(0x204)]=_0x8b4bf7[_0xa34da1(0x1e3)][_0xa34da1(0x204)];const _0x2d22a7={};_0x2d22a7[_0xa34da1(0x1f1)]=_0x3b6ed5,_0x2d22a7[_0xa34da1(0x1de)]=_0x27844c['zuNUT'],_0x2d22a7[_0xa34da1(0x1ea)]=_0xc4a54;const _0x2584ad=_0x2d22a7;global_registry['bstackUsername']=_0x8b4bf7[_0xa34da1(0x1e3)][_0xa34da1(0x1fe)],global_registry['bstackAccesskey']=_0x8b4bf7[_0xa34da1(0x1e3)][_0xa34da1(0x204)],_0x27844c[_0xa34da1(0x1f2)](sendInstrumentationEvent,_0x580525,_0x27844c[_0xa34da1(0x220)],messageTypes[_0xa34da1(0x202)],null,null,_0x580525);const _0x512022=await _0x27844c['vXHMS'](promisifiedRequest,_0x2584ad);if(_0x27844c[_0xa34da1(0x20d)](_0x512022,null)&&_0x27844c['yHpXy'](_0x512022,undefined)&&_0x27844c[_0xa34da1(0x205)](_0x512022[_0xa34da1(0x1f6)],0xc8)){const _0xb0bcc0=JSON['parse'](_0x512022[_0xa34da1(0x1fb)]);console[_0xa34da1(0x1e1)](_0x27844c[_0xa34da1(0x1df)]);const _0x479361=[];_0x479361['push']([_0x27844c[_0xa34da1(0x211)],_0x27844c['hZzwI'],_0x27844c['fjItC'],_0x27844c[_0xa34da1(0x1fd)],_0x27844c[_0xa34da1(0x222)],_0x27844c['ZKVeW']]),_0xb0bcc0[_0xa34da1(0x218)](_0x47fca3=>{const _0x277fd3=_0xa34da1;_0x479361['push']([_0x47fca3['id'],_0x47fca3[_0x277fd3(0x1f5)],_0x47fca3['status'],_0x47fca3['running'],_0x47fca3[_0x277fd3(0x21d)],_0x47fca3[_0x277fd3(0x1e8)]]);}),console['log'](_0x27844c[_0xa34da1(0x1f4)](table,_0x479361)),process[_0xa34da1(0x1ec)](0x0);}_0x27844c['qjboG'](_0x512022[_0xa34da1(0x1f6)],0x191)&&(console[_0xa34da1(0x1e0)]('Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x27844c[_0xa34da1(0x200)](sendInstrumentationEvent,_0x580525,_0x27844c[_0xa34da1(0x220)],messageTypes[_0xa34da1(0x1e6)],_0x27844c['wmfzN'],null,_0x580525),process[_0xa34da1(0x1ec)](0x1)),console['error'](_0xa34da1(0x1ef)+JSON[_0xa34da1(0x210)](_0x512022)),await _0x27844c[_0xa34da1(0x1f2)](sendInstrumentationEvent,_0x580525,_0x27844c[_0xa34da1(0x220)],messageTypes[_0xa34da1(0x1e6)],_0x27844c[_0xa34da1(0x209)],_0x512022,_0x580525),process['exit'](0x1);}catch(_0x5e0879){console[_0xa34da1(0x1e0)](_0xa34da1(0x1eb)+_0x5e0879[_0xa34da1(0x223)]),await _0x27844c['SKLAQ'](sendInstrumentationEvent,_0x580525,_0x27844c['aVbBX'],messageTypes[_0xa34da1(0x1e6)],_0x27844c[_0xa34da1(0x226)],_0x5e0879,_0x580525),process[_0xa34da1(0x1ec)](0x1);}};
@@ -1 +1 @@
1
- var a11_0x162eac=a11_0x3d1b;function a11_0x3d1b(_0x49c559,_0x17fd34){var _0x2bfa77=a11_0x2bfa();return a11_0x3d1b=function(_0x3d1b75,_0x5b92b6){_0x3d1b75=_0x3d1b75-0x7f;var _0x351967=_0x2bfa77[_0x3d1b75];return _0x351967;},a11_0x3d1b(_0x49c559,_0x17fd34);}(function(_0x286cfc,_0x29805f){var _0x426624=a11_0x3d1b,_0x18e18f=_0x286cfc();while(!![]){try{var _0x38730e=parseInt(_0x426624(0xb4))/0x1*(parseInt(_0x426624(0xab))/0x2)+-parseInt(_0x426624(0x9d))/0x3+-parseInt(_0x426624(0xbb))/0x4*(parseInt(_0x426624(0xa3))/0x5)+-parseInt(_0x426624(0xc6))/0x6+-parseInt(_0x426624(0xaf))/0x7*(-parseInt(_0x426624(0xbf))/0x8)+parseInt(_0x426624(0x83))/0x9+parseInt(_0x426624(0x86))/0xa;if(_0x38730e===_0x29805f)break;else _0x18e18f['push'](_0x18e18f['shift']());}catch(_0x5096ec){_0x18e18f['push'](_0x18e18f['shift']());}}}(a11_0x2bfa,0xe60d3),require(a11_0x162eac(0x9a))[a11_0x162eac(0xad)](),exports['DASHBOARD_ENDPOINT']=process[a11_0x162eac(0x8d)][a11_0x162eac(0x97)]||a11_0x162eac(0xb0),exports['BS_API_URL']=process['env']['BS_API_URL']||a11_0x162eac(0xcd),exports[a11_0x162eac(0xcb)]=process[a11_0x162eac(0x8d)][a11_0x162eac(0xcb)]||a11_0x162eac(0xc1),exports[a11_0x162eac(0xc2)]='wss://'+this[a11_0x162eac(0xcb)]+a11_0x162eac(0xa9),exports[a11_0x162eac(0x95)]=a11_0x162eac(0xc3),exports['IAM_USER_NAME']=a11_0x162eac(0x96),exports[a11_0x162eac(0x85)]='high-scale-grid',exports[a11_0x162eac(0xa7)]=a11_0x162eac(0x8a),exports[a11_0x162eac(0xc9)]=a11_0x162eac(0xa2),exports['CLUSTER_AUTOSCALER_STACK_NAME']=a11_0x162eac(0xa5));var a11_0x4dca27={};function a11_0x2bfa(){var _0x42deb8=['list','dotenv','LOG','cliRunFinished','5018577DwwkYe','COMMON_HST_TAGS','BrowserStack','error','HST_CLUSTER_TAGS','BSTACK-ATS-CLUSTER','5tRCQWN','init','BSTACK-ATS-CLUSTER-AUTOSCALER','info','AWS','RESOURCES','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','CLI_RUN_STARTED','1341124KpkMds','CLI_RUN_FINISHED','config','messageTypes','14qIlOLN','grid.browserstack.com','SUCCESS','WS_EVENTS','GRID_URL','1uicwed','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','configure','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','gridUrl','CLI_ARGS_REGEX','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','1685104IyEjzD','HELP_FOOTER_MESSAGE','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','log','4274008oDSLGO','LINK_MESSAGE','grid-api.browserstack.com','WS_ENDPOINT','credentials','browserstack:service','connect','7497846DnaOza','resourceInfo','[REDACTED]','CLUSTER_DEP_STACK_NAME','HELP_HEADER_MESSAGE','AG_API_URL','BrowserStack-Automate-TurboScale','api.browserstack.com','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','AWS_INSTANCE_TYPE_LIST','6830001rYHfXt','SUPPORTED_CLOUD_PROVIDERS','DEFAULT_GRID_NAME','17881140glPqGc','REDACTED','cliRunStarted','success','aws','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','INFO','env','Value','Key','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','gridProfile','WARNING','unknown','global_registry','CP_CONFIG_FILE','BrowserStackIAMUser','DASHBOARD_ENDPOINT','browserstack:managedBy'];a11_0x2bfa=function(){return _0x42deb8;};return a11_0x2bfa();}a11_0x4dca27['Key']=a11_0x162eac(0x98),a11_0x4dca27[a11_0x162eac(0x8e)]=a11_0x162eac(0x9f);var a11_0x16c789={};a11_0x16c789[a11_0x162eac(0x8f)]='browserstack:service',a11_0x16c789[a11_0x162eac(0x8e)]=a11_0x162eac(0xcc),exports[a11_0x162eac(0x9e)]=[a11_0x4dca27,a11_0x16c789];var a11_0x2f0e45={};a11_0x2f0e45[a11_0x162eac(0x98)]='BrowserStack',a11_0x2f0e45[a11_0x162eac(0xc4)]=a11_0x162eac(0xcc),exports[a11_0x162eac(0xa1)]=a11_0x2f0e45,exports[a11_0x162eac(0x84)]=[this[a11_0x162eac(0xa7)]];var a11_0x3ad560={};a11_0x3ad560[a11_0x162eac(0x9b)]=a11_0x162eac(0xbe),a11_0x3ad560[a11_0x162eac(0xa8)]=a11_0x162eac(0xc7),a11_0x3ad560[a11_0x162eac(0xb3)]=a11_0x162eac(0xb8),a11_0x3ad560[a11_0x162eac(0xaa)]=a11_0x162eac(0x88),a11_0x3ad560[a11_0x162eac(0xac)]=a11_0x162eac(0x9c),exports[a11_0x162eac(0xb2)]=a11_0x3ad560,exports[a11_0x162eac(0x94)]={},exports['LINK_MESSAGE']=a11_0x162eac(0x80);var a11_0x55fcdf={};a11_0x55fcdf['root']='\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.'+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0xa4)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.'+this['LINK_MESSAGE'],a11_0x55fcdf[a11_0x162eac(0xb6)]=a11_0x162eac(0x90)+this['LINK_MESSAGE'],a11_0x55fcdf['create']=a11_0x162eac(0xb5)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]={},a11_0x55fcdf['delete']=a11_0x162eac(0xb7)+this['LINK_MESSAGE'],a11_0x55fcdf[a11_0x162eac(0xc5)]=a11_0x162eac(0xbd)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]['root']=a11_0x162eac(0x7f)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]['grid']=a11_0x162eac(0x81)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)][a11_0x162eac(0x91)]=a11_0x162eac(0x8b)+this['LINK_MESSAGE'],exports[a11_0x162eac(0xca)]=a11_0x55fcdf,exports[a11_0x162eac(0xbc)]=a11_0x162eac(0xba);var a11_0x124027={};a11_0x124027[a11_0x162eac(0xb1)]=a11_0x162eac(0x89),a11_0x124027['ERROR']=a11_0x162eac(0xa0),a11_0x124027[a11_0x162eac(0x8c)]=a11_0x162eac(0xa6),a11_0x124027[a11_0x162eac(0x92)]='warning',a11_0x124027['UNKNOWN']=a11_0x162eac(0x93),a11_0x124027['NULL']=null,exports[a11_0x162eac(0xae)]=a11_0x124027,exports[a11_0x162eac(0xb9)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x162eac(0x87)]=a11_0x162eac(0xc8),exports[a11_0x162eac(0x82)]=require('./instanceTypes.json');
1
+ var a11_0x18790d=a11_0xf1d2;(function(_0x27a9cd,_0x8bc6f){var _0x1d966c=a11_0xf1d2,_0xded0b0=_0x27a9cd();while(!![]){try{var _0x596b9d=parseInt(_0x1d966c(0x1fe))/0x1+-parseInt(_0x1d966c(0x1d4))/0x2+parseInt(_0x1d966c(0x1ec))/0x3*(parseInt(_0x1d966c(0x206))/0x4)+parseInt(_0x1d966c(0x1ea))/0x5+parseInt(_0x1d966c(0x20f))/0x6*(-parseInt(_0x1d966c(0x1dd))/0x7)+parseInt(_0x1d966c(0x1d5))/0x8*(-parseInt(_0x1d966c(0x205))/0x9)+parseInt(_0x1d966c(0x1fc))/0xa;if(_0x596b9d===_0x8bc6f)break;else _0xded0b0['push'](_0xded0b0['shift']());}catch(_0x271888){_0xded0b0['push'](_0xded0b0['shift']());}}}(a11_0x2293,0xdb016),require(a11_0x18790d(0x1d7))[a11_0x18790d(0x1ee)](),exports[a11_0x18790d(0x1f0)]=process[a11_0x18790d(0x1e3)][a11_0x18790d(0x1f0)]||a11_0x18790d(0x1d2),exports['BS_API_URL']=process['env'][a11_0x18790d(0x203)]||a11_0x18790d(0x1f9),exports['AG_API_URL']=process['env'][a11_0x18790d(0x20b)]||a11_0x18790d(0x1ef),exports[a11_0x18790d(0x1f1)]=a11_0x18790d(0x1d1)+this[a11_0x18790d(0x20b)]+a11_0x18790d(0x1ed),exports[a11_0x18790d(0x1fa)]=a11_0x18790d(0x1e1),exports['IAM_USER_NAME']='BrowserStackIAMUser',exports[a11_0x18790d(0x218)]=a11_0x18790d(0x1e8),exports[a11_0x18790d(0x200)]=a11_0x18790d(0x1db),exports[a11_0x18790d(0x1ff)]=a11_0x18790d(0x1df),exports[a11_0x18790d(0x1d9)]='BSTACK-ATS-CLUSTER-AUTOSCALER');var a11_0x191c58={};a11_0x191c58['Key']='browserstack:managedBy',a11_0x191c58['Value']=a11_0x18790d(0x1e0);function a11_0x2293(){var _0x2accfd=['messageTypes','wss://','grid.browserstack.com','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','2880228iUNXBo','11269096lSgzoN','Value','dotenv','NULL','CLUSTER_AUTOSCALER_STACK_NAME','Key','aws','UNKNOWN','73703PmyWTZ','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','BSTACK-ATS-CLUSTER','BrowserStack','credentials','global_registry','env','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','LINK_MESSAGE','log','grid','high-scale-grid','root','3806640fPIYGc','browserstack:service','6XvRtvg','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','config','grid-api.browserstack.com','DASHBOARD_ENDPOINT','WS_ENDPOINT','INFO','SUCCESS','BrowserStack-Automate-TurboScale','init','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','list','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','api.browserstack.com','CP_CONFIG_FILE','info','1237090PqsTDv','./instanceTypes.json','1744378KfhYhO','CLUSTER_DEP_STACK_NAME','AWS','COMMON_HST_TAGS','warning','BS_API_URL','HELP_FOOTER_MESSAGE','9SWLjJQ','3285664GSWuLY','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','error','LOG','AG_API_URL','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','SUPPORTED_CLOUD_PROVIDERS','300QTACkj','HELP_HEADER_MESSAGE','configure','success','CLI_RUN_FINISHED','CLI_ARGS_REGEX','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','CLI_RUN_STARTED','WARNING','DEFAULT_GRID_NAME','unknown','cliRunStarted','ERROR','[REDACTED]'];a11_0x2293=function(){return _0x2accfd;};return a11_0x2293();}var a11_0x2244c8={};a11_0x2244c8[a11_0x18790d(0x1da)]=a11_0x18790d(0x1eb),a11_0x2244c8[a11_0x18790d(0x1d6)]=a11_0x18790d(0x1f4),exports[a11_0x18790d(0x201)]=[a11_0x191c58,a11_0x2244c8];var a11_0x107a59={};a11_0x107a59['browserstack:managedBy']='BrowserStack',a11_0x107a59[a11_0x18790d(0x1eb)]=a11_0x18790d(0x1f4),exports['HST_CLUSTER_TAGS']=a11_0x107a59,exports[a11_0x18790d(0x20e)]=[this[a11_0x18790d(0x200)]];var a11_0x4c7da4={};a11_0x4c7da4[a11_0x18790d(0x20a)]=a11_0x18790d(0x1e6),a11_0x4c7da4['RESOURCES']='resourceInfo',a11_0x4c7da4['GRID_URL']='gridUrl',a11_0x4c7da4[a11_0x18790d(0x216)]=a11_0x18790d(0x21a),a11_0x4c7da4[a11_0x18790d(0x213)]='cliRunFinished',exports['WS_EVENTS']=a11_0x4c7da4,exports[a11_0x18790d(0x1e2)]={},exports[a11_0x18790d(0x1e5)]='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';var a11_0x4267cb={};a11_0x4267cb['root']=a11_0x18790d(0x208)+this[a11_0x18790d(0x1e5)],a11_0x4267cb[a11_0x18790d(0x1f5)]=a11_0x18790d(0x207)+this['LINK_MESSAGE'],a11_0x4267cb[a11_0x18790d(0x211)]=a11_0x18790d(0x20c)+this['LINK_MESSAGE'],a11_0x4267cb['create']=a11_0x18790d(0x1d3)+this['LINK_MESSAGE'],a11_0x4267cb[a11_0x18790d(0x1f7)]={},a11_0x4267cb['delete']=a11_0x18790d(0x20d)+this[a11_0x18790d(0x1e5)],a11_0x4267cb['connect']=a11_0x18790d(0x1f8)+this['LINK_MESSAGE'],a11_0x4267cb[a11_0x18790d(0x1f7)][a11_0x18790d(0x1e9)]=a11_0x18790d(0x1de)+this[a11_0x18790d(0x1e5)],a11_0x4267cb[a11_0x18790d(0x1f7)][a11_0x18790d(0x1e7)]=a11_0x18790d(0x1f6)+this['LINK_MESSAGE'],a11_0x4267cb[a11_0x18790d(0x1f7)]['gridProfile']=a11_0x18790d(0x215)+this['LINK_MESSAGE'],exports[a11_0x18790d(0x210)]=a11_0x4267cb,exports[a11_0x18790d(0x204)]=a11_0x18790d(0x1e4);var a11_0x5ced1b={};function a11_0xf1d2(_0x354168,_0x5e32e1){var _0x2293e6=a11_0x2293();return a11_0xf1d2=function(_0xf1d2ea,_0x4c7643){_0xf1d2ea=_0xf1d2ea-0x1d1;var _0x3c10d2=_0x2293e6[_0xf1d2ea];return _0x3c10d2;},a11_0xf1d2(_0x354168,_0x5e32e1);}a11_0x5ced1b[a11_0x18790d(0x1f3)]=a11_0x18790d(0x212),a11_0x5ced1b[a11_0x18790d(0x21b)]=a11_0x18790d(0x209),a11_0x5ced1b[a11_0x18790d(0x1f2)]=a11_0x18790d(0x1fb),a11_0x5ced1b[a11_0x18790d(0x217)]=a11_0x18790d(0x202),a11_0x5ced1b[a11_0x18790d(0x1dc)]=a11_0x18790d(0x219),a11_0x5ced1b[a11_0x18790d(0x1d8)]=null,exports[a11_0x18790d(0x21d)]=a11_0x5ced1b,exports[a11_0x18790d(0x214)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports['REDACTED']=a11_0x18790d(0x21c),exports['AWS_INSTANCE_TYPE_LIST']=require(a11_0x18790d(0x1fd));
@@ -1 +1 @@
1
- function a12_0x2293(_0x384411,_0x5189a1){const _0x51fa71=a12_0x51fa();return a12_0x2293=function(_0x229363,_0x164136){_0x229363=_0x229363-0xc9;let _0x210ba1=_0x51fa71[_0x229363];return _0x210ba1;},a12_0x2293(_0x384411,_0x5189a1);}const a12_0x3dcf59=a12_0x2293;(function(_0x375b8c,_0x2b76ca){const _0x3cb3d8=a12_0x2293,_0x3c32f9=_0x375b8c();while(!![]){try{const _0x407eb2=parseInt(_0x3cb3d8(0xca))/0x1*(-parseInt(_0x3cb3d8(0xcf))/0x2)+-parseInt(_0x3cb3d8(0xd0))/0x3*(-parseInt(_0x3cb3d8(0xc9))/0x4)+-parseInt(_0x3cb3d8(0xe0))/0x5+parseInt(_0x3cb3d8(0xe4))/0x6*(-parseInt(_0x3cb3d8(0xd5))/0x7)+-parseInt(_0x3cb3d8(0xdd))/0x8*(-parseInt(_0x3cb3d8(0xd8))/0x9)+-parseInt(_0x3cb3d8(0xd6))/0xa+-parseInt(_0x3cb3d8(0xda))/0xb*(-parseInt(_0x3cb3d8(0xdb))/0xc);if(_0x407eb2===_0x2b76ca)break;else _0x3c32f9['push'](_0x3c32f9['shift']());}catch(_0x347d3c){_0x3c32f9['push'](_0x3c32f9['shift']());}}}(a12_0x51fa,0x8de1f));const winston=require(a12_0x3dcf59(0xe3)),fs=require('fs'),path=require(a12_0x3dcf59(0xd7)),logDir=a12_0x3dcf59(0xe7);!fs[a12_0x3dcf59(0xcc)](logDir)&&fs[a12_0x3dcf59(0xe1)](logDir);function a12_0x51fa(){const _0x510ada=['1029ACpaLr','colorize','File','debug','timestamp','1449riOxYQ','1312840rANcGb','path','162873bHtzWO','format','62898MZuBlS','5508RHuTbY','createLogger','200dIHoxh','level','transports','4480380aiCnQI','mkdirSync','console.info','winston','32280nkUmPr','combine','join','log','\x20-\x20','events.log','44xiVMDr','1MnPGbn','fileLogger','existsSync','name','message','717178APKIXt'];a12_0x51fa=function(){return _0x510ada;};return a12_0x51fa();}const a12_0x2e8fed={};a12_0x2e8fed[a12_0x3dcf59(0xd9)]='YYYY-MM-DD\x20HH:mm:ss';const a12_0x986acc={};a12_0x986acc[a12_0x3dcf59(0xde)]=!![];const a12_0x2f5a6f={};a12_0x2f5a6f[a12_0x3dcf59(0xcd)]=a12_0x3dcf59(0xe2),exports['logger']=new winston[(a12_0x3dcf59(0xdc))]({'format':winston[a12_0x3dcf59(0xd9)][a12_0x3dcf59(0xe5)](winston['format'][a12_0x3dcf59(0xd4)](a12_0x2e8fed),winston['format'][a12_0x3dcf59(0xd1)](a12_0x986acc),winston[a12_0x3dcf59(0xd9)]['printf'](_0x39718e=>_0x39718e['timestamp']+a12_0x3dcf59(0xe8)+_0x39718e[a12_0x3dcf59(0xde)]+':\x20'+_0x39718e[a12_0x3dcf59(0xce)])),'transports':[new winston['transports']['Console'](a12_0x2f5a6f),new winston[(a12_0x3dcf59(0xdf))][(a12_0x3dcf59(0xd2))]({'filename':path[a12_0x3dcf59(0xe6)](logDir,a12_0x3dcf59(0xe9)),'level':a12_0x3dcf59(0xd3)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x3dcf59(0xdf))][(a12_0x3dcf59(0xd2))]({'filename':path['join'](logDir,'usage.log'),'level':a12_0x3dcf59(0xd3)})]};exports[a12_0x3dcf59(0xcb)]=new winston[(a12_0x3dcf59(0xdc))](winstonFileLoggerParams);
1
+ const a12_0x8adc30=a12_0x3cc4;function a12_0x3a4e(){const _0x57633a=['timestamp','join','58116LyFjSr','451422RnuVTo','level','3711085owtPie','YYYY-MM-DD\x20HH:mm:ss','debug','logger','\x20-\x20','combine','console.info','message','8AtzXuI','createLogger','format','244085Wfozbe','2240181Ralupb','3126090nHdwaJ','transports','161937CmtqQw','colorize','name','528inSHeq','usage.log','File','printf','Console','events.log','log'];a12_0x3a4e=function(){return _0x57633a;};return a12_0x3a4e();}(function(_0x3ed76f,_0x59ae66){const _0x3ccb7d=a12_0x3cc4,_0xd7d9e6=_0x3ed76f();while(!![]){try{const _0x3bf821=parseInt(_0x3ccb7d(0x1a5))/0x1+-parseInt(_0x3ccb7d(0x1a6))/0x2+-parseInt(_0x3ccb7d(0x196))/0x3+-parseInt(_0x3ccb7d(0x192))/0x4*(-parseInt(_0x3ccb7d(0x195))/0x5)+-parseInt(_0x3ccb7d(0x197))/0x6+parseInt(_0x3ccb7d(0x1a8))/0x7+parseInt(_0x3ccb7d(0x19c))/0x8*(parseInt(_0x3ccb7d(0x199))/0x9);if(_0x3bf821===_0x59ae66)break;else _0xd7d9e6['push'](_0xd7d9e6['shift']());}catch(_0x301cee){_0xd7d9e6['push'](_0xd7d9e6['shift']());}}}(a12_0x3a4e,0x5cc56));const winston=require('winston'),fs=require('fs'),path=require('path'),logDir=a12_0x8adc30(0x1a2);!fs['existsSync'](logDir)&&fs['mkdirSync'](logDir);const a12_0x5b3f66={};a12_0x5b3f66[a12_0x8adc30(0x194)]=a12_0x8adc30(0x1a9);function a12_0x3cc4(_0x318a8a,_0x488d12){const _0x3a4e29=a12_0x3a4e();return a12_0x3cc4=function(_0x3cc47f,_0x25fc9a){_0x3cc47f=_0x3cc47f-0x18f;let _0xf44f19=_0x3a4e29[_0x3cc47f];return _0xf44f19;},a12_0x3cc4(_0x318a8a,_0x488d12);}const a12_0x3e16e6={};a12_0x3e16e6['level']=!![];const a12_0x3d629a={};a12_0x3d629a[a12_0x8adc30(0x19b)]=a12_0x8adc30(0x190),exports[a12_0x8adc30(0x1ab)]=new winston[(a12_0x8adc30(0x193))]({'format':winston[a12_0x8adc30(0x194)][a12_0x8adc30(0x18f)](winston['format'][a12_0x8adc30(0x1a3)](a12_0x5b3f66),winston['format'][a12_0x8adc30(0x19a)](a12_0x3e16e6),winston['format'][a12_0x8adc30(0x19f)](_0x6e72eb=>_0x6e72eb['timestamp']+a12_0x8adc30(0x1ac)+_0x6e72eb[a12_0x8adc30(0x1a7)]+':\x20'+_0x6e72eb[a12_0x8adc30(0x191)])),'transports':[new winston[(a12_0x8adc30(0x198))][(a12_0x8adc30(0x1a0))](a12_0x3d629a),new winston[(a12_0x8adc30(0x198))][(a12_0x8adc30(0x19e))]({'filename':path[a12_0x8adc30(0x1a4)](logDir,a12_0x8adc30(0x1a1)),'level':'debug'})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x8adc30(0x198))]['File']({'filename':path[a12_0x8adc30(0x1a4)](logDir,a12_0x8adc30(0x19d)),'level':a12_0x8adc30(0x1aa)})]};exports['fileLogger']=new winston[(a12_0x8adc30(0x193))](winstonFileLoggerParams);
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a13_0x5586f4=a13_0x39b2;(function(_0x364e48,_0x466c88){const _0x2dad0d=a13_0x39b2,_0x10d360=_0x364e48();while(!![]){try{const _0x27d38a=-parseInt(_0x2dad0d(0x1af))/0x1+-parseInt(_0x2dad0d(0x1c0))/0x2*(-parseInt(_0x2dad0d(0x1b5))/0x3)+parseInt(_0x2dad0d(0x1bc))/0x4+-parseInt(_0x2dad0d(0x1b2))/0x5*(parseInt(_0x2dad0d(0x1b6))/0x6)+-parseInt(_0x2dad0d(0x1b7))/0x7+-parseInt(_0x2dad0d(0x1bf))/0x8*(-parseInt(_0x2dad0d(0x1bb))/0x9)+parseInt(_0x2dad0d(0x1bd))/0xa;if(_0x27d38a===_0x466c88)break;else _0x10d360['push'](_0x10d360['shift']());}catch(_0x418698){_0x10d360['push'](_0x10d360['shift']());}}}(a13_0x129b,0x9e770));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require('./config/constants');process[a13_0x5586f4(0x1b1)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function a13_0x39b2(_0x47f0c3,_0x349e73){const _0x129b52=a13_0x129b();return a13_0x39b2=function(_0x39b297,_0x281642){_0x39b297=_0x39b297-0x1ae;let _0x16c7ad=_0x129b52[_0x39b297];return _0x16c7ad;},a13_0x39b2(_0x47f0c3,_0x349e73);}function run(_0x25f127){const _0x68b6d3=a13_0x5586f4,_0x10b201={};_0x10b201[_0x68b6d3(0x1b3)]=_0x68b6d3(0x1ba),_0x10b201[_0x68b6d3(0x1b8)]='help';const _0xd8fd5c=_0x10b201;_0x25f127[_0x68b6d3(0x1ae)](HELP_HEADER_MESSAGE[_0x68b6d3(0x1b4)])['commandDir'](_0xd8fd5c[_0x68b6d3(0x1b3)])['demandCommand']()[_0x68b6d3(0x1b0)](_0xd8fd5c['kKMfk'])[_0x68b6d3(0x1be)](HELP_FOOTER_MESSAGE);}function a13_0x129b(){const _0x965fc4=['usage','72490IjpHIV','help','env','5hcbEYD','txDse','root','57sNvhCa','7190130WuJJaJ','5005077NiplPz','kKMfk','exports','commands','9TWKAjB','574984lNWdsA','20724490aTALQh','epilogue','1367328hqBJcS','26086avdabJ'];a13_0x129b=function(){return _0x965fc4;};return a13_0x129b();}module[a13_0x5586f4(0x1b9)]=run;
2
+ 'use strict';function a13_0x2d32(){const _0x1e0ca3=['help','3010nRsUOG','demandCommand','commandDir','3128020SgMUua','3135WpFgqT','2759949uvjDpL','exports','rtqpH','8ajaajZ','./config/constants','17023164ihMkMT','346lBpCNB','env','12KosaKf','2819wnjJmQ','117tNsGok','kCxAg','27505eaGWXh','15192siTzEa'];a13_0x2d32=function(){return _0x1e0ca3;};return a13_0x2d32();}function a13_0x374d(_0x108184,_0xf8a09b){const _0x2d324d=a13_0x2d32();return a13_0x374d=function(_0x374d3c,_0x359085){_0x374d3c=_0x374d3c-0x17b;let _0x333d66=_0x2d324d[_0x374d3c];return _0x333d66;},a13_0x374d(_0x108184,_0xf8a09b);}const a13_0x4b9e7d=a13_0x374d;(function(_0x40b839,_0x2f2feb){const _0x1b56df=a13_0x374d,_0xe74d3a=_0x40b839();while(!![]){try{const _0x3a41e6=-parseInt(_0x1b56df(0x17f))/0x1*(parseInt(_0x1b56df(0x17c))/0x2)+-parseInt(_0x1b56df(0x180))/0x3*(-parseInt(_0x1b56df(0x183))/0x4)+-parseInt(_0x1b56df(0x182))/0x5*(-parseInt(_0x1b56df(0x17e))/0x6)+-parseInt(_0x1b56df(0x188))/0x7+-parseInt(_0x1b56df(0x18d))/0x8*(parseInt(_0x1b56df(0x18a))/0x9)+-parseInt(_0x1b56df(0x185))/0xa*(parseInt(_0x1b56df(0x189))/0xb)+parseInt(_0x1b56df(0x17b))/0xc;if(_0x3a41e6===_0x2f2feb)break;else _0xe74d3a['push'](_0xe74d3a['shift']());}catch(_0x199201){_0xe74d3a['push'](_0xe74d3a['shift']());}}}(a13_0x2d32,0x3d368));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a13_0x4b9e7d(0x18e));process[a13_0x4b9e7d(0x17d)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function run(_0x5753d9){const _0x75c871=a13_0x4b9e7d,_0x1e3dba={};_0x1e3dba[_0x75c871(0x181)]='commands',_0x1e3dba[_0x75c871(0x18c)]='help';const _0x4e75c0=_0x1e3dba;_0x5753d9['usage'](HELP_HEADER_MESSAGE['root'])[_0x75c871(0x187)](_0x4e75c0[_0x75c871(0x181)])[_0x75c871(0x186)]()[_0x75c871(0x184)](_0x4e75c0['rtqpH'])['epilogue'](HELP_FOOTER_MESSAGE);}module[a13_0x4b9e7d(0x18b)]=run;
@@ -1 +1 @@
1
- const a14_0x4946d1=a14_0x4ae8;function a14_0x4ae8(_0x21314b,_0xf720a4){const _0x12edd8=a14_0x12ed();return a14_0x4ae8=function(_0x4ae8cb,_0xdc3a7c){_0x4ae8cb=_0x4ae8cb-0x70;let _0x270122=_0x12edd8[_0x4ae8cb];return _0x270122;},a14_0x4ae8(_0x21314b,_0xf720a4);}(function(_0x50e1ad,_0x2ee150){const _0x52bc8a=a14_0x4ae8,_0x1f4aa5=_0x50e1ad();while(!![]){try{const _0x15d6f8=parseInt(_0x52bc8a(0xaf))/0x1*(parseInt(_0x52bc8a(0xe3))/0x2)+-parseInt(_0x52bc8a(0xc8))/0x3*(-parseInt(_0x52bc8a(0xfc))/0x4)+parseInt(_0x52bc8a(0x142))/0x5*(-parseInt(_0x52bc8a(0x16a))/0x6)+-parseInt(_0x52bc8a(0x172))/0x7*(parseInt(_0x52bc8a(0x18a))/0x8)+-parseInt(_0x52bc8a(0x103))/0x9+parseInt(_0x52bc8a(0xf3))/0xa+parseInt(_0x52bc8a(0x121))/0xb;if(_0x15d6f8===_0x2ee150)break;else _0x1f4aa5['push'](_0x1f4aa5['shift']());}catch(_0x16ffd6){_0x1f4aa5['push'](_0x1f4aa5['shift']());}}}(a14_0x12ed,0x9c52d));const fs=require('fs'),yaml=require('js-yaml'),path=require(a14_0x4946d1(0xd7)),awsSDK=require(a14_0x4946d1(0xda)),{AWS,global_registry}=require(a14_0x4946d1(0x7f)),{logger}=require(a14_0x4946d1(0x15c));exports[a14_0x4946d1(0x102)]=()=>{const _0x110420=a14_0x4946d1,_0x1596db={'QxVPz':function(_0x4205c3,_0x4828ae){return _0x4205c3(_0x4828ae);},'Stsdr':function(_0x213c25,_0x10a98f){return _0x213c25===_0x10a98f;},'mNbZI':_0x110420(0x126)};!this['isAWSConfigured']()&&(_0x1596db[_0x110420(0x12f)](_0x1596db[_0x110420(0x181)],_0x1596db[_0x110420(0x181)])?this[_0x110420(0x158)]():_0x1596db[_0x110420(0x159)](_0x1d779c,!![]));},exports[a14_0x4946d1(0xa6)]=async(_0xcd4557,_0x421343)=>{const _0x272746=a14_0x4946d1,_0x4e85bd={'coGfh':function(_0x3f8108,_0xa57964){return _0x3f8108(_0xa57964);},'iFUVA':function(_0x43e77e,_0xb9a234){return _0x43e77e!==_0xb9a234;},'YnOUm':_0x272746(0x147),'JHMfe':_0x272746(0x18b)};if(_0x4e85bd[_0x272746(0x173)](isAWS,_0xcd4557))return _0x4e85bd[_0x272746(0xce)](_0x4e85bd['YnOUm'],_0x4e85bd[_0x272746(0xac)])?(this[_0x272746(0x102)](),_0x4e85bd['coGfh'](checkAWSClusterCreated,_0x421343)):_0x26f6ce[_0x272746(0xb5)](_0x263672)?!![]:(_0x2b939a[_0x272746(0x11c)](_0x2e19d7),![]);},exports['getClusterInfo']=async _0x17f5c4=>{const _0x2bf57a=a14_0x4946d1,_0x37621b={};_0x37621b[_0x2bf57a(0x14e)]='2017-11-01';const _0x372125=_0x37621b,_0x2c463c={};_0x2c463c[_0x2bf57a(0x9b)]=_0x372125[_0x2bf57a(0x14e)];const _0x1dfced=new awsSDK[(_0x2bf57a(0xe8))](_0x2c463c),_0x58e890={};return _0x58e890[_0x2bf57a(0xd8)]=_0x17f5c4,_0x1dfced[_0x2bf57a(0xcd)](_0x58e890)[_0x2bf57a(0x8f)]();},exports['createAuthConfigMap']=async _0x47856d=>{const _0x3334c2=a14_0x4946d1,_0x43a428={};_0x43a428[_0x3334c2(0x104)]=_0x3334c2(0x78),_0x43a428['PJomy']=_0x3334c2(0xdc),_0x43a428[_0x3334c2(0x14c)]=_0x3334c2(0x131),_0x43a428[_0x3334c2(0x85)]=_0x3334c2(0x70);const _0x2af571=_0x43a428,_0x140738=await fs[_0x3334c2(0x10f)](path['join'](__dirname,'..',_0x2af571['vmpXK'],_0x2af571[_0x3334c2(0x169)]),_0x2af571[_0x3334c2(0x14c)]),_0x30293b=yaml[_0x3334c2(0x79)](_0x140738);return _0x30293b[_0x3334c2(0xd5)][_0x3334c2(0x171)]=_0x30293b[_0x3334c2(0xd5)][_0x3334c2(0x171)]['replace'](_0x2af571[_0x3334c2(0x85)],_0x47856d),_0x30293b;},exports[a14_0x4946d1(0x88)]=async(_0x25df2b,_0x37a200)=>{const _0x32ca53=a14_0x4946d1,_0x1ec0a4={};_0x1ec0a4[_0x32ca53(0x176)]='2017-11-01';const _0x6c4f04=_0x1ec0a4,_0x49c4c7={};_0x49c4c7[_0x32ca53(0x9b)]=_0x6c4f04['atuzn'];const _0x28a4e0=new awsSDK[(_0x32ca53(0xe8))](_0x49c4c7),_0x1f1c14={};return _0x1f1c14[_0x32ca53(0xbe)]=_0x25df2b,_0x1f1c14[_0x32ca53(0x163)]=_0x37a200,_0x28a4e0[_0x32ca53(0xd6)](_0x1f1c14)[_0x32ca53(0x8f)]();};function a14_0x12ed(){const _0x13c883=['info','WwdkN','region','ZZNuU','jfDSa','RSXwi','hAMkL','UoBzD','Stsdr','WzLSs','utf-8','zlxua','getAWSRegions','HolOZ','hNsLx','TEJaU','tgllG','JBldN','Jduni','RcBvm','AfRaF','ljmcc','JsqGX','HFJUC','TUbFz','DElZc','listClusters','5bBArEn','kZXvJ','Bucket:\x20','PIpYi','fObJZ','uhTIx','aFKgN','ypjxx','XUFUI','aMxno','JYDCr','NwHQT','sGyvi','mIzMP','DkpoX','FBlbO','hBjGR','RlqHU','isVPCPresent','Name','povkP','jmPce','setAWSConfig','QxVPz','secretAccessKey','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','../config/logger','eUllz','fetchSecurityGroups','WqrZI','QDKxV','RiXfH','BQVZj','nodegroupName','PZqYL','QOqFy','mLcRd','YOpIU','fetchSubnets','PJomy','3520806LHxXGo','nlvml','IbSnm','eKsxU','owgYD','mTxyY','DPrxP','mapRoles','124040dBMgfU','coGfh','jzoIS','XzhQZ','atuzn','VZILq','siYbA','VaaNq','wbBiU','nrIhn','cntcK','fbALQ','gdjzL','update','YhhgC','mNbZI','eaTeQ','OyWrC','Mgijh','kXaTg','cloudProviderAccessKey','zKuZq','YkUXs','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','544oYUrEN','yPbNA','lkXSI','<ARN>','ofHGt','lymOH','headBucket','SYDcW','bPUfY','CiOJp','NKJfG','templates','load','Wqsvq','pDlVN','ETHVP','zHgXw','smnLF','../config/constants','WAINw','GqAjT','zGvea','lZCSO','MFaVR','PFgXM','fgTRD','tQBrJ','getNodeGroupInfo','GaaPt','SWcNu','lfvPz','MlDQa','awsConfigSet','aIUsK','promise','Cannot\x20find\x20subnets\x20','cxaQM','HRAdB','accessKeyId','HPRjb','NseiW','wuVba','hnOKl','LiDPd','mwYlL','aTKQk','apiVersion','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','dpMjJ','hWnzH','pHpes','kViit','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','zWLLK','oVVxd','catch','clusterRegion','isClusterPresent','xGEEj','dKhMf','Lmrpn','\x20in\x20region\x20','Ooqmt','JHMfe','Dmldl','IxiOn','1261642avBXUC','UQuyN','NmYgp','.\x20Error:\x20','dvMeY','cZxUY','includes','describeRegions','KMwFH','HSsYK','fXnyt','qqUEd','mozAM','NpFJC','goUes','clusterName','isAWSConfigured','IbHTM','ziNBw','gXpFo','iKlFE','SSiGs','qzBoa','ypLZo','IPZSj','63xmyheF','hxuMp','sVEcR','qQAeW','KIWbL','describeCluster','iFUVA','TTVuz','JLhmC','ONpQi','YQaIU','ZMNVf','xKXGV','data','describeNodegroup','path','name','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','aws-sdk','ridor','aws-auth-cm.yaml','VpcIds','2016-11-15','hvuav','NyqhU','sQBSm','EC2','2axKFjq','gHhpk','eKwdQ','zkZxZ','config','EKS','KOVlW','sTRWg','vpc-id','jGqTV','2017-11-01','Filters','YvpIS','isBucketPresent','error','DGwEt','666640aubuSx','XGfFD','kiaoZ','WIbKE','YFIHd','zPTDi','Values','AJpKN','fyMAB','173116EDQikK','clusters','then','RYkWb','describeSecurityGroups','ciXJA','configureAWSIfNotConfigured','2420406xhdxSM','vmpXK','LikEi','Ljetc','forEach','describeVpcs','TTwpr','aMbbx','Regions','vJzyP','awsObj','nLDEc','readFileAsync','EEAij','BeUwG','gJlRF','warn','SubnetId','cwweu','fdTGB','cBjaz','YrLHQ','jTXPr','describeSubnets','fPnVI','push','Bucket','Subnets','DAbeP','PUeLU','5102141rmdIwR','RsvWm','wZkXu','EfcaK','cloudProviderSecretKey','hTjQQ'];a14_0x12ed=function(){return _0x13c883;};return a14_0x12ed();}const isAWS=_0x1b6e86=>{const _0x5d8e2d=a14_0x4946d1,_0x5e67ce={'KjfOi':function(_0x841aa,_0x5c11c2){return _0x841aa(_0x5c11c2);},'GREHp':_0x5d8e2d(0xde),'UoBzD':function(_0x459197,_0x5962f2){return _0x459197===_0x5962f2;},'eUllz':function(_0x2b59b7,_0x571b33){return _0x2b59b7!==_0x571b33;},'VaaNq':_0x5d8e2d(0x8a)};if(_0x5e67ce[_0x5d8e2d(0x12e)](_0x1b6e86,AWS)){if(_0x5e67ce[_0x5d8e2d(0x15d)](_0x5e67ce[_0x5d8e2d(0x179)],_0x5e67ce[_0x5d8e2d(0x179)])){const _0x186ea2={'DkpoX':function(_0x148fb1,_0x5c6682){return _0x5e67ce['KjfOi'](_0x148fb1,_0x5c6682);},'XUFUI':_0x5e67ce['GREHp']};return new _0x3c9fed((_0x1099a4,_0x47b273)=>{const _0x4d1bc6=_0x5d8e2d,_0x49f48c={'dKhMf':function(_0x4801b4,_0x5f5cab){const _0x3638c7=a14_0x4ae8;return _0x186ea2[_0x3638c7(0x150)](_0x4801b4,_0x5f5cab);}},_0x1f8d3e={};_0x1f8d3e[_0x4d1bc6(0x9b)]=_0x186ea2[_0x4d1bc6(0x14a)],_0x1f8d3e[_0x4d1bc6(0x129)]=_0x5f17d;const _0x1fefc7=new _0x456ebb['EC2'](_0x1f8d3e);_0x1fefc7[_0x4d1bc6(0x100)]()['promise']()[_0x4d1bc6(0xfe)](_0x54c390=>{const _0x151f0c=_0x4d1bc6;_0x49f48c[_0x151f0c(0xa8)](_0x1099a4,_0x54c390);})[_0x4d1bc6(0xa4)](_0x2ac2d3=>{const _0x44bea7=_0x4d1bc6;_0x3aabef['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x2ac2d3),_0x49f48c[_0x44bea7(0xa8)](_0x47b273,_0x2ac2d3);});});}else return!![];}return![];},checkAWSClusterCreated=_0x65153c=>{const _0x5ca585=a14_0x4946d1,_0x53cccc={'LsFEO':function(_0x42c517,_0x25fd3a){return _0x42c517(_0x25fd3a);},'NmYgp':function(_0x126453,_0x2dad4){return _0x126453===_0x2dad4;},'gXpFo':_0x5ca585(0xe9),'BeUwG':function(_0x326423,_0x452db5){return _0x326423(_0x452db5);},'ciXJA':function(_0xade334,_0x58f637){return _0xade334!==_0x58f637;},'HolOZ':_0x5ca585(0xf2),'HRAdB':_0x5ca585(0x8b),'zkZxZ':_0x5ca585(0xde),'PIpYi':function(_0x3ea8f3,_0x3a8b0b){return _0x3ea8f3===_0x3a8b0b;},'mIzMP':_0x5ca585(0x15f),'qQAeW':_0x5ca585(0xed)};return new Promise((_0x26a552,_0x57e2fb)=>{const _0x215f80=_0x5ca585,_0x3cdf1b={'NVCDf':function(_0x2dd806,_0x40d8ba){const _0x3aedb1=a14_0x4ae8;return _0x53cccc[_0x3aedb1(0xb1)](_0x2dd806,_0x40d8ba);},'fyMAB':function(_0x5a26a0,_0x53594d){const _0x5bcf22=a14_0x4ae8;return _0x53cccc[_0x5bcf22(0x111)](_0x5a26a0,_0x53594d);},'lhpvo':function(_0x456150,_0x549560){const _0x3bbfc1=a14_0x4ae8;return _0x53cccc[_0x3bbfc1(0x101)](_0x456150,_0x549560);},'ypLZo':_0x53cccc[_0x215f80(0x134)],'aTKQk':function(_0x6f3b91,_0x38e84b){const _0x393124=_0x215f80;return _0x53cccc[_0x393124(0x101)](_0x6f3b91,_0x38e84b);},'DElZc':_0x53cccc[_0x215f80(0x92)],'fbALQ':function(_0xce676f,_0xe6488d){return _0x53cccc['LsFEO'](_0xce676f,_0xe6488d);},'EfcaK':_0x53cccc[_0x215f80(0xe6)],'kZXvJ':function(_0x3703cf,_0x5e0f59){return _0x53cccc['BeUwG'](_0x3703cf,_0x5e0f59);}};if(_0x53cccc[_0x215f80(0x145)](_0x53cccc[_0x215f80(0x14f)],_0x53cccc['mIzMP'])){const _0x5b0f32={};_0x5b0f32[_0x215f80(0x9b)]=_0x53cccc[_0x215f80(0xcb)];const _0x1290ca=new awsSDK[(_0x215f80(0xe8))](_0x5b0f32);_0x1290ca[_0x215f80(0x141)]()['promise']()['then'](_0x54e73e=>{const _0x4c3cc4=_0x215f80;if(_0x3cdf1b['lhpvo'](_0x3cdf1b[_0x4c3cc4(0xc6)],_0x3cdf1b['ypLZo'])){if(_0x3cdf1b['NVCDf'](_0x5afd58,_0x340a19))return!![];return![];}else _0x54e73e[_0x4c3cc4(0xfd)]['includes'](_0x65153c)&&(_0x3cdf1b[_0x4c3cc4(0x9a)](_0x3cdf1b[_0x4c3cc4(0x140)],_0x3cdf1b[_0x4c3cc4(0x140)])?_0x3cdf1b[_0x4c3cc4(0xfb)](_0x57bf41,!![]):_0x3cdf1b[_0x4c3cc4(0x17d)](_0x26a552,!![])),_0x3cdf1b[_0x4c3cc4(0xfb)](_0x26a552,![]);})[_0x215f80(0xa4)](_0x346473=>{const _0x15994c=_0x215f80,_0x4655d0={'NYdrA':function(_0x4b89da,_0xdbfcb3){return _0x53cccc['LsFEO'](_0x4b89da,_0xdbfcb3);}};if(_0x53cccc[_0x15994c(0xb1)](_0x53cccc['gXpFo'],_0x53cccc[_0x15994c(0xc2)]))logger[_0x15994c(0xf1)](_0x346473),_0x53cccc['BeUwG'](_0x57e2fb,_0x346473);else{const _0x1ae302={'NpFJC':function(_0x5c1696,_0x4bbca3){const _0x2de4b4=_0x15994c;return _0x3cdf1b[_0x2de4b4(0x17d)](_0x5c1696,_0x4bbca3);}},_0x5794f6={};_0x5794f6[_0x15994c(0x9b)]=_0x3cdf1b[_0x15994c(0x124)],_0x5794f6[_0x15994c(0x129)]=_0x16adc7;const _0x6d463d=new _0x1281e3[(_0x15994c(0xe2))](_0x5794f6);_0x6d463d[_0x15994c(0x108)](_0x15a9de)[_0x15994c(0x8f)]()['then'](_0xb14e57=>{const _0x505eae=_0x15994c;_0x1ae302[_0x505eae(0xbc)](_0x27ef28,!![]);})[_0x15994c(0xa4)](_0x3396ff=>{const _0x4e7326=_0x15994c;_0xc96bd1[_0x4e7326(0xf1)]('Cannot\x20find\x20VPC\x20'+_0x5fed76+'\x20in\x20region\x20'+_0x9a379a+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x4655d0['NYdrA'](_0x493dfe,![]);});}});}else _0x1ffdf8[_0x215f80(0xf1)](_0x215f80(0x90)+_0x397530+'\x20in\x20region\x20'+_0x1ba66b+_0x215f80(0xb2)+_0x3a8cd2),_0x3cdf1b[_0x215f80(0x143)](_0x610d8f,[![],[]]);});};exports['fetchVPCs']=_0x43c1b1=>{const _0x444ba6=a14_0x4946d1,_0x564a2b={'AmEYf':function(_0x1ea9df,_0x3eacad){return _0x1ea9df!==_0x3eacad;},'kViit':_0x444ba6(0x152),'cZxUY':function(_0xac33a3,_0x496dc3){return _0xac33a3(_0x496dc3);},'eaTeQ':function(_0xb1d39,_0xa1ce7e){return _0xb1d39!==_0xa1ce7e;},'qzBoa':'fjjBz','nLDEc':function(_0x2f4c29,_0x5ce31f){return _0x2f4c29(_0x5ce31f);},'tgllG':function(_0x15611e,_0x39f957){return _0x15611e(_0x39f957);},'onMne':function(_0x2ec899,_0xd26014){return _0x2ec899(_0xd26014);},'czgMj':function(_0xa4cccb,_0x1a4fac){return _0xa4cccb===_0x1a4fac;},'Mgijh':_0x444ba6(0xbd),'xjPXM':_0x444ba6(0xb8),'dpMjJ':_0x444ba6(0xde)};return new Promise((_0x5e3857,_0x34f95a)=>{const _0x107cf5=_0x444ba6,_0x5999da={'eKwdQ':function(_0x42e0e8,_0x1eedf5){const _0x34515b=a14_0x4ae8;return _0x564a2b[_0x34515b(0x137)](_0x42e0e8,_0x1eedf5);},'mKQOF':function(_0xb64b26,_0xec83d7){return _0x564a2b['onMne'](_0xb64b26,_0xec83d7);}};if(_0x564a2b['czgMj'](_0x564a2b[_0x107cf5(0x184)],_0x564a2b['xjPXM']))_0x4f6fcf[_0x107cf5(0xf1)](_0x107cf5(0x15b)+_0x5bf492),_0x5999da[_0x107cf5(0xe5)](_0x34f9ea,_0x631ae6);else{const _0x43b258={};_0x43b258['apiVersion']=_0x564a2b[_0x107cf5(0x9d)],_0x43b258[_0x107cf5(0x129)]=_0x43c1b1;const _0x3754e8=new awsSDK['EC2'](_0x43b258);_0x3754e8[_0x107cf5(0x108)]()['promise']()['then'](_0x5c8686=>{const _0x1e8b71=_0x107cf5;if(_0x564a2b['AmEYf'](_0x564a2b[_0x1e8b71(0xa0)],_0x564a2b[_0x1e8b71(0xa0)]))return _0x3f5a1c[_0x1e8b71(0x11c)](_0x28e1e3),![];else _0x564a2b[_0x1e8b71(0xb4)](_0x5e3857,_0x5c8686);})[_0x107cf5(0xa4)](_0x200a6c=>{const _0x3d79a8=_0x107cf5;_0x564a2b[_0x3d79a8(0x182)](_0x564a2b[_0x3d79a8(0xc5)],_0x564a2b[_0x3d79a8(0xc5)])?(_0x1ddc1f['clusters'][_0x3d79a8(0xb5)](_0x1b0a88)&&_0x5999da['eKwdQ'](_0x4a8fb8,!![]),_0x5999da['mKQOF'](_0x216b66,![])):(logger[_0x3d79a8(0xf1)](_0x3d79a8(0xd9)+_0x200a6c),_0x564a2b[_0x3d79a8(0x10e)](_0x34f95a,_0x200a6c));});}});},exports[a14_0x4946d1(0x154)]=(_0xd7359e,_0x5aebaf)=>{const _0x4f8c30=a14_0x4946d1,_0x30ebcf={'bPUfY':function(_0x240484,_0x13932b){return _0x240484(_0x13932b);},'fPnVI':function(_0x282d6a,_0x219478){return _0x282d6a===_0x219478;},'cwweu':'iAQJK','kXaTg':function(_0x38c23e,_0x54819e){return _0x38c23e(_0x54819e);},'NseiW':function(_0x1f4b5c,_0x2f62e1){return _0x1f4b5c===_0x2f62e1;},'ZMNVf':function(_0x1f0ae9,_0x2152bb){return _0x1f0ae9!==_0x2152bb;},'gdjzL':function(_0x4e4740,_0x307a72){return _0x4e4740===_0x307a72;},'ljmcc':'uSgQB','EEAij':_0x4f8c30(0x17b),'mozAM':_0x4f8c30(0x17a),'xEDPt':_0x4f8c30(0x174),'zGvea':_0x4f8c30(0xde)},_0x5bcb92={};_0x5bcb92[_0x4f8c30(0xdd)]=[_0xd7359e];let _0x138569=_0x5bcb92;return new Promise((_0x15fcaa,_0x32f52d)=>{const _0x2b3c88=_0x4f8c30,_0x5de8f5={'TTwpr':function(_0x340dfa,_0x158dc8){const _0x4eb9e2=a14_0x4ae8;return _0x30ebcf[_0x4eb9e2(0xd3)](_0x340dfa,_0x158dc8);},'cxaQM':function(_0x110c02,_0x3e45d7){return _0x30ebcf['ZMNVf'](_0x110c02,_0x3e45d7);},'nlvml':function(_0x56a06c,_0x24d7f2){const _0x3211e1=a14_0x4ae8;return _0x30ebcf[_0x3211e1(0x185)](_0x56a06c,_0x24d7f2);},'nloFu':function(_0x3d955f,_0x218043){const _0x50bedf=a14_0x4ae8;return _0x30ebcf[_0x50bedf(0x75)](_0x3d955f,_0x218043);},'LikEi':function(_0x485b66,_0x45f3f4){const _0x199a1b=a14_0x4ae8;return _0x30ebcf[_0x199a1b(0x17e)](_0x485b66,_0x45f3f4);},'FBlbO':_0x30ebcf[_0x2b3c88(0x13c)],'lEMDb':_0x30ebcf[_0x2b3c88(0x110)]};if(_0x30ebcf[_0x2b3c88(0xd3)](_0x30ebcf[_0x2b3c88(0xbb)],_0x30ebcf['xEDPt'])){const _0x365b1c={};_0x365b1c[_0x2b3c88(0x9b)]=_0x30ebcf[_0x2b3c88(0x82)],_0x365b1c['region']=_0x5aebaf;const _0x40ed83=new awsSDK[(_0x2b3c88(0xe2))](_0x365b1c);_0x40ed83['describeVpcs'](_0x138569)[_0x2b3c88(0x8f)]()[_0x2b3c88(0xfe)](_0x45b9f2=>{const _0x35eaf9=_0x2b3c88;_0x5de8f5[_0x35eaf9(0x105)](_0x5de8f5[_0x35eaf9(0x151)],_0x5de8f5['lEMDb'])?_0x5de8f5[_0x35eaf9(0x109)](_0x2fa724,_0x3d5816)&&_0x5de8f5[_0x35eaf9(0x91)](_0x10d596[_0x35eaf9(0x10b)],_0x5b8971)?_0x5de8f5[_0x35eaf9(0x16b)](_0x4c1da9,_0x4ee27d[_0x35eaf9(0x10b)]):_0x5de8f5['nloFu'](_0x3eba66,{}):_0x5de8f5[_0x35eaf9(0x16b)](_0x15fcaa,!![]);})[_0x2b3c88(0xa4)](_0x1635e8=>{const _0x3779e9=_0x2b3c88,_0x4213f4={'SSiGs':function(_0x29a716,_0xbce83e){const _0x28058f=a14_0x4ae8;return _0x30ebcf[_0x28058f(0x75)](_0x29a716,_0xbce83e);}};if(_0x30ebcf[_0x3779e9(0x11b)](_0x30ebcf[_0x3779e9(0x115)],_0x30ebcf[_0x3779e9(0x115)]))logger[_0x3779e9(0xf1)]('Cannot\x20find\x20VPC\x20'+_0xd7359e+_0x3779e9(0xaa)+_0x5aebaf+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x30ebcf[_0x3779e9(0x185)](_0x15fcaa,![]);else{const _0x2852a3=new _0x40d225['S3']();return new _0x540110((_0x39b027,_0x5c23cd)=>{const _0x48c7fe=_0x3779e9,_0x150593={'OyWrC':function(_0x509b9b,_0x4217cd){const _0x3b1dcf=a14_0x4ae8;return _0x4213f4[_0x3b1dcf(0xc4)](_0x509b9b,_0x4217cd);},'dSMoa':function(_0x539696,_0x149dcd){return _0x4213f4['SSiGs'](_0x539696,_0x149dcd);}},_0x476a7a={};_0x476a7a[_0x48c7fe(0x11d)]=_0x2ccedb,_0x2852a3['headBucket'](_0x476a7a)[_0x48c7fe(0x8f)]()['then'](_0x598727=>{const _0x4d1844=_0x48c7fe;_0x5b1497[_0x4d1844(0x113)](_0x4d1844(0x144)+_0x517498+_0x4d1844(0xa1)),_0x150593[_0x4d1844(0x183)](_0x39b027,!![]);})[_0x48c7fe(0xa4)](()=>{const _0x46b1cc=_0x48c7fe;_0x595a6b[_0x46b1cc(0x127)]('Bucket:\x20'+_0x38da74+_0x46b1cc(0x189)),_0x150593['dSMoa'](_0x39b027,![]);});});}});}else return _0x30ebcf[_0x2b3c88(0x95)](_0x1692a1[_0x2b3c88(0x8d)],!![]);});},exports['isSubnetsValid']=(_0x212a2d,_0x3728be,_0xd5d9ad)=>{const _0x14e26d=a14_0x4946d1,_0x5e1452={'YvpIS':function(_0x5af08f,_0x49532a){return _0x5af08f(_0x49532a);},'lZCSO':function(_0x3d3f53,_0x179c7f){return _0x3d3f53===_0x179c7f;},'tbHvn':_0x14e26d(0x97),'LluVe':_0x14e26d(0x156),'GaaPt':function(_0x36d66e,_0x5a5412){return _0x36d66e(_0x5a5412);},'xEDYN':function(_0x466067,_0x1b94d0){return _0x466067!==_0x1b94d0;},'owgYD':'kwsao','MFaVR':function(_0x295b96,_0x443a48){return _0x295b96!==_0x443a48;},'pHpes':'oyYvJ','DPrxP':_0x14e26d(0x148),'emKRt':'sXOHV','KMwFH':_0x14e26d(0x123),'geIdn':_0x14e26d(0x16d),'zPTDi':_0x14e26d(0x10a),'Lmrpn':function(_0x50c847,_0x34b048){return _0x50c847===_0x34b048;},'XzhQZ':_0x14e26d(0xd4),'WAINw':'qZkIO','RlqHU':_0x14e26d(0xde),'MlDQa':_0x14e26d(0xeb)},_0x1eaa78={};_0x1eaa78[_0x14e26d(0x155)]=_0x5e1452[_0x14e26d(0x8c)],_0x1eaa78[_0x14e26d(0xf9)]=[_0x3728be];const _0x2647b2={};_0x2647b2[_0x14e26d(0xee)]=[_0x1eaa78];let _0x3231a1=_0x2647b2;return new Promise((_0x49e006,_0x1ba745)=>{const _0xd1deae=_0x14e26d,_0x184a44={'dGzqM':function(_0x533284,_0x4cf8d9){return _0x5e1452['YvpIS'](_0x533284,_0x4cf8d9);},'nPIyf':function(_0x326903,_0x2b5144){const _0x5ea5a4=a14_0x4ae8;return _0x5e1452[_0x5ea5a4(0x89)](_0x326903,_0x2b5144);},'HPRjb':function(_0x2eee81,_0x2da526){return _0x5e1452['xEDYN'](_0x2eee81,_0x2da526);},'QOqFy':_0x5e1452[_0xd1deae(0x16e)],'CiOJp':function(_0x235cc1,_0x31ca86){const _0x161416=_0xd1deae;return _0x5e1452[_0x161416(0x84)](_0x235cc1,_0x31ca86);},'SYDcW':_0x5e1452[_0xd1deae(0x9f)],'qIocM':_0x5e1452[_0xd1deae(0x170)],'aIUsK':function(_0x150c5c,_0x1880fb){const _0x255d06=_0xd1deae;return _0x5e1452[_0x255d06(0x83)](_0x150c5c,_0x1880fb);},'TTVuz':_0x5e1452['emKRt'],'YrLHQ':function(_0x4f861a,_0x21cb01){const _0x33d989=_0xd1deae;return _0x5e1452[_0x33d989(0x89)](_0x4f861a,_0x21cb01);},'XGfFD':_0x5e1452[_0xd1deae(0xb7)],'twMOu':_0x5e1452['geIdn'],'kiaoZ':_0x5e1452[_0xd1deae(0xf8)]};if(_0x5e1452[_0xd1deae(0xa9)](_0x5e1452[_0xd1deae(0x175)],_0x5e1452[_0xd1deae(0x80)]))_0x1bb713[_0xd1deae(0xf1)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x4a8838),_0x184a44['dGzqM'](_0x49861f,_0x351629);else{const _0x59491a={};_0x59491a[_0xd1deae(0x9b)]=_0x5e1452[_0xd1deae(0x153)],_0x59491a[_0xd1deae(0x129)]=_0xd5d9ad;const _0x392487=new awsSDK[(_0xd1deae(0xe2))](_0x59491a);_0x392487[_0xd1deae(0x11a)](_0x3231a1)[_0xd1deae(0x8f)]()[_0xd1deae(0xfe)](_0x2e9f0b=>{const _0x4734e1=_0xd1deae,_0x176d5b={'GqAjT':function(_0xadc905,_0x474a64){return _0x184a44['YrLHQ'](_0xadc905,_0x474a64);},'fObJZ':function(_0x2c414b,_0x3835ca){const _0x1a24e7=a14_0x4ae8;return _0x184a44[_0x1a24e7(0x8e)](_0x2c414b,_0x3835ca);},'mLcRd':_0x184a44[_0x4734e1(0xf4)]};if(_0x184a44[_0x4734e1(0x76)](_0x184a44['twMOu'],_0x184a44[_0x4734e1(0xf5)])){const _0x597082=[],_0x31fdcd=[];_0x2e9f0b[_0x4734e1(0x11e)][_0x4734e1(0x107)](_0x2452b6=>{const _0x8ba6ef=_0x4734e1;_0x176d5b[_0x8ba6ef(0x146)](_0x176d5b[_0x8ba6ef(0x166)],_0x176d5b[_0x8ba6ef(0x166)])?_0x597082[_0x8ba6ef(0x11c)](_0x2452b6[_0x8ba6ef(0x114)]):(_0x260506[_0x8ba6ef(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x389a78),_0x176d5b[_0x8ba6ef(0x81)](_0x3900d8,_0x184bbd));});const _0x31250a=_0x212a2d['every'](_0x16874a=>{const _0x3ce6dc=_0x4734e1,_0x38bbf9={'cBjaz':function(_0x3d3d14,_0x3d497a){return _0x184a44['nPIyf'](_0x3d3d14,_0x3d497a);}};if(_0x184a44[_0x3ce6dc(0x94)](_0x184a44['QOqFy'],_0x184a44[_0x3ce6dc(0x165)])){const _0x856ee4={'zWLLK':function(_0xee834c,_0x3dfaca){const _0x15f092=_0x3ce6dc;return _0x38bbf9[_0x15f092(0x117)](_0xee834c,_0x3dfaca);}},_0x3e6953={};_0x3e6953[_0x3ce6dc(0x11d)]=_0x6c94c3,_0x29ed7f['headBucket'](_0x3e6953)[_0x3ce6dc(0x8f)]()[_0x3ce6dc(0xfe)](_0x4829f9=>{const _0x1eb059=_0x3ce6dc;_0x593a2d[_0x1eb059(0x113)]('Bucket:\x20'+_0xb0863c+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x856ee4[_0x1eb059(0xa2)](_0x68dce9,!![]);})[_0x3ce6dc(0xa4)](()=>{const _0x584a9b=_0x3ce6dc;_0x4182f8[_0x584a9b(0x127)](_0x584a9b(0x144)+_0x5f20f1+_0x584a9b(0x189)),_0x856ee4[_0x584a9b(0xa2)](_0x183fc4,![]);});}else{if(_0x597082[_0x3ce6dc(0xb5)](_0x16874a)){if(_0x184a44[_0x3ce6dc(0x76)](_0x184a44[_0x3ce6dc(0x74)],_0x184a44['qIocM']))return!![];else this[_0x3ce6dc(0x158)]();}else return _0x184a44[_0x3ce6dc(0x8e)](_0x184a44[_0x3ce6dc(0xcf)],_0x184a44['TTVuz'])?(_0x31fdcd[_0x3ce6dc(0x11c)](_0x16874a),![]):!![];}});_0x184a44[_0x4734e1(0x118)](_0x49e006,[_0x31250a,_0x31fdcd]);}else _0x176d5b['GqAjT'](_0x1118d5,_0x4ac1a1);})['catch'](_0x107f9f=>{const _0x308a84=_0xd1deae,_0x382a54={'VZILq':function(_0x28ea2c,_0x4f7bed){const _0x1f7fc3=a14_0x4ae8;return _0x5e1452[_0x1f7fc3(0xef)](_0x28ea2c,_0x4f7bed);}};_0x5e1452[_0x308a84(0x83)](_0x5e1452['tbHvn'],_0x5e1452['LluVe'])?(_0x54948c[_0x308a84(0x113)](_0x308a84(0x144)+_0x4390f2+_0x308a84(0xa1)),_0x382a54[_0x308a84(0x177)](_0x4b642e,!![])):(logger[_0x308a84(0xf1)](_0x308a84(0x90)+_0x3728be+_0x308a84(0xaa)+_0xd5d9ad+_0x308a84(0xb2)+_0x107f9f),_0x5e1452[_0x308a84(0x89)](_0x49e006,[![],[]]));});}});},exports[a14_0x4946d1(0xf0)]=_0x3862b=>{const _0x2716e8=a14_0x4946d1,_0x3cbe55={'Ljetc':_0x2716e8(0xed),'ZZNuU':function(_0x685d87,_0x2ee63d){return _0x685d87===_0x2ee63d;},'ridor':_0x2716e8(0xe4),'dOYYw':_0x2716e8(0xfa),'dDFyA':function(_0x1c1bd8,_0x468a12){return _0x1c1bd8(_0x468a12);},'HFJUC':'HnZuq','IbSnm':_0x2716e8(0xc1),'lymOH':function(_0x878863,_0x4d34ce){return _0x878863!==_0x4d34ce;},'IbHTM':'RwemL'},_0x332444=new awsSDK['S3']();return new Promise((_0x4e28e8,_0x4aa4b4)=>{const _0x5e45e6=_0x2716e8,_0x542ade={'WFeyN':_0x3cbe55[_0x5e45e6(0x106)],'RsvWm':function(_0x1116f5,_0x28ee98){const _0x2b9015=_0x5e45e6;return _0x3cbe55[_0x2b9015(0x12a)](_0x1116f5,_0x28ee98);},'IxiOn':_0x3cbe55[_0x5e45e6(0xdb)],'AfRaF':_0x3cbe55['dOYYw'],'TEJaU':function(_0x368e05,_0x110601){return _0x3cbe55['dDFyA'](_0x368e05,_0x110601);},'WIbKE':_0x3cbe55[_0x5e45e6(0x13e)],'ZXlja':_0x3cbe55[_0x5e45e6(0x16c)]};if(_0x3cbe55[_0x5e45e6(0x72)](_0x3cbe55['IbHTM'],_0x3cbe55[_0x5e45e6(0xc0)]))!this['isAWSConfigured']()&&this[_0x5e45e6(0x158)]();else{const _0x4c62dc={};_0x4c62dc[_0x5e45e6(0x11d)]=_0x3862b,_0x332444[_0x5e45e6(0x73)](_0x4c62dc)['promise']()[_0x5e45e6(0xfe)](_0x2cd6f4=>{const _0x1547ad=_0x5e45e6;if(_0x542ade[_0x1547ad(0x122)](_0x542ade[_0x1547ad(0xae)],_0x542ade[_0x1547ad(0x13b)])){const _0x2bd260={};_0x2bd260[_0x1547ad(0x9b)]=_0x542ade['WFeyN'];const _0x361536=new _0x3168bc[(_0x1547ad(0xe8))](_0x2bd260),_0x3599bd={};return _0x3599bd[_0x1547ad(0xbe)]=_0x553adb,_0x3599bd[_0x1547ad(0x163)]=_0x378f87,_0x361536[_0x1547ad(0xd6)](_0x3599bd)[_0x1547ad(0x8f)]();}else logger[_0x1547ad(0x113)](_0x1547ad(0x144)+_0x3862b+_0x1547ad(0xa1)),_0x542ade[_0x1547ad(0x136)](_0x4e28e8,!![]);})['catch'](()=>{const _0x2d1906=_0x5e45e6;_0x542ade['RsvWm'](_0x542ade[_0x2d1906(0xf6)],_0x542ade['ZXlja'])?_0x542ade['TEJaU'](_0xae2d27,_0x3344bc):(logger[_0x2d1906(0x127)](_0x2d1906(0x144)+_0x3862b+_0x2d1906(0x189)),_0x542ade[_0x2d1906(0x136)](_0x4e28e8,![]));});}});},exports[a14_0x4946d1(0x168)]=_0x5530b2=>{const _0x35d1ca=a14_0x4946d1,_0x37c3a3={'jmPce':function(_0x2e9c40,_0x5c77c1){return _0x2e9c40!==_0x5c77c1;},'fgTRD':'WCBUP','sTRWg':function(_0x2ec0b4,_0x38dcb8){return _0x2ec0b4(_0x38dcb8);},'qqUEd':function(_0x1b943c,_0x253372){return _0x1b943c(_0x253372);},'fXnyt':function(_0x5dfd40,_0x590807){return _0x5dfd40!==_0x590807;},'JsqGX':'hseMt','lkXSI':function(_0x370409,_0x43190f){return _0x370409(_0x43190f);},'Wqsvq':_0x35d1ca(0xde),'JBldN':function(_0x61654c,_0x29a70e){return _0x61654c===_0x29a70e;},'LiDPd':_0x35d1ca(0xa3)};return new Promise((_0x1a7686,_0x78a222)=>{const _0x4821ba=_0x35d1ca,_0x378dcf={'emwfw':function(_0x4eca69,_0x262394){const _0x24f5bd=a14_0x4ae8;return _0x37c3a3[_0x24f5bd(0x18c)](_0x4eca69,_0x262394);},'hWnzH':_0x37c3a3[_0x4821ba(0x7a)],'YhhgC':function(_0x1ad6fd,_0x5dabf1){const _0x2fe366=_0x4821ba;return _0x37c3a3[_0x2fe366(0xea)](_0x1ad6fd,_0x5dabf1);},'zMxKG':function(_0x18f135,_0x125a4a){const _0x1341af=_0x4821ba;return _0x37c3a3[_0x1341af(0x18c)](_0x18f135,_0x125a4a);}};if(_0x37c3a3[_0x4821ba(0x138)](_0x37c3a3[_0x4821ba(0x98)],_0x37c3a3['LiDPd'])){const _0x591362={};_0x591362[_0x4821ba(0x9b)]=_0x37c3a3[_0x4821ba(0x7a)],_0x591362[_0x4821ba(0x129)]=_0x5530b2;const _0x46ec7c=new awsSDK[(_0x4821ba(0xe2))](_0x591362);_0x46ec7c[_0x4821ba(0x11a)]()['promise']()['then'](_0x266e99=>{const _0x5f41da=_0x4821ba;if(_0x37c3a3[_0x5f41da(0x157)](_0x37c3a3[_0x5f41da(0x86)],_0x37c3a3[_0x5f41da(0x86)])){const _0x3e62d1={'Jduni':function(_0x3c5bdc,_0x5ca1bd){return _0x378dcf['emwfw'](_0x3c5bdc,_0x5ca1bd);},'phmTD':function(_0x262a61,_0x48a136){return _0x378dcf['emwfw'](_0x262a61,_0x48a136);}},_0x54d641={};_0x54d641[_0x5f41da(0x9b)]=_0x378dcf[_0x5f41da(0x9e)],_0x54d641['region']=_0x17d07f;const _0x13bf36=new _0x39a097[(_0x5f41da(0xe2))](_0x54d641);_0x13bf36[_0x5f41da(0x108)]()[_0x5f41da(0x8f)]()[_0x5f41da(0xfe)](_0x4cd06f=>{const _0x56c4f9=_0x5f41da;_0x3e62d1[_0x56c4f9(0x139)](_0x1eef06,_0x4cd06f);})[_0x5f41da(0xa4)](_0xb8ae9=>{const _0x11fd03=_0x5f41da;_0x35af2e[_0x11fd03(0xf1)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0xb8ae9),_0x3e62d1['phmTD'](_0x25950b,_0xb8ae9);});}else _0x37c3a3[_0x5f41da(0xea)](_0x1a7686,_0x266e99);})[_0x4821ba(0xa4)](_0x583949=>{const _0x120ce9=_0x4821ba,_0x232c20={'oWMuV':function(_0x57a2a1,_0x34b4c4){const _0x1a7a82=a14_0x4ae8;return _0x37c3a3[_0x1a7a82(0xba)](_0x57a2a1,_0x34b4c4);}};if(_0x37c3a3[_0x120ce9(0xb9)](_0x37c3a3[_0x120ce9(0x13d)],_0x37c3a3[_0x120ce9(0x13d)])){const _0x1f3ad5={'RSXwi':function(_0x131008,_0x14b1f2){const _0x4e3b1c=_0x120ce9;return _0x378dcf[_0x4e3b1c(0x180)](_0x131008,_0x14b1f2);}},_0x6accaf={};_0x6accaf[_0x120ce9(0x9b)]=_0x378dcf[_0x120ce9(0x9e)],_0x6accaf['region']=_0x25273d;const _0xecfda6=new _0x2c501c[(_0x120ce9(0xe2))](_0x6accaf);_0xecfda6[_0x120ce9(0x11a)]()[_0x120ce9(0x8f)]()[_0x120ce9(0xfe)](_0x3461f6=>{_0x232c20['oWMuV'](_0x3025b2,_0x3461f6);})[_0x120ce9(0xa4)](_0x54298b=>{const _0x374775=_0x120ce9;_0x188a22[_0x374775(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x54298b),_0x1f3ad5[_0x374775(0x12c)](_0x19baa1,_0x54298b);});}else logger[_0x120ce9(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x583949),_0x37c3a3[_0x120ce9(0xba)](_0x78a222,_0x583949);});}else _0x378dcf['zMxKG'](_0xddbff9,{});});},exports[a14_0x4946d1(0x15e)]=_0x3d6524=>{const _0x45e450=a14_0x4946d1,_0x136661={'jGqTV':function(_0x142c82,_0x417ee3){return _0x142c82===_0x417ee3;},'VsJDd':_0x45e450(0xdf),'gJlRF':_0x45e450(0x77),'fdTGB':function(_0x3af146,_0xae1e34){return _0x3af146(_0xae1e34);},'DAbeP':function(_0x16dddc,_0xbf31f5){return _0x16dddc===_0xbf31f5;},'ofHGt':_0x45e450(0x10c),'kzZZK':_0x45e450(0x135),'xigDW':function(_0x2289f4,_0x1edc13){return _0x2289f4(_0x1edc13);},'NyqhU':function(_0x1dec67,_0x3492c9){return _0x1dec67!==_0x3492c9;},'tQBrJ':_0x45e450(0xc9),'WwdkN':_0x45e450(0xc3),'wuVba':'2016-11-15'};return new Promise((_0x4fa8c3,_0x26d200)=>{const _0x2ede30=_0x45e450,_0x19341f={'bleAC':function(_0x83f258,_0x1d281c){return _0x136661['xigDW'](_0x83f258,_0x1d281c);}};if(_0x136661[_0x2ede30(0xe0)](_0x136661[_0x2ede30(0x87)],_0x136661[_0x2ede30(0x128)])){const _0x2fffd8={};_0x2fffd8[_0x2ede30(0x9b)]=_0x136661[_0x2ede30(0x96)],_0x2fffd8[_0x2ede30(0x129)]=_0x3d6524;const _0x5124cc=new awsSDK[(_0x2ede30(0xe2))](_0x2fffd8);_0x5124cc['describeSecurityGroups']()['promise']()['then'](_0x49f447=>{const _0x28af84=_0x2ede30;if(_0x136661[_0x28af84(0xec)](_0x136661['VsJDd'],_0x136661[_0x28af84(0x112)]))return!![];else _0x136661[_0x28af84(0x116)](_0x4fa8c3,_0x49f447);})[_0x2ede30(0xa4)](_0x141193=>{const _0x51f180=_0x2ede30;_0x136661[_0x51f180(0x11f)](_0x136661[_0x51f180(0x71)],_0x136661['kzZZK'])?_0x394d47[_0x51f180(0x11c)](_0x5efea6[_0x51f180(0x114)]):(logger[_0x51f180(0xf1)](_0x51f180(0x15b)+_0x141193),_0x136661[_0x51f180(0x116)](_0x26d200,_0x141193));});}else _0x5d28d5[_0x2ede30(0x127)]('Bucket:\x20'+_0x4b3db8+_0x2ede30(0x189)),_0x19341f['bleAC'](_0x12be5b,![]);});},exports[a14_0x4946d1(0x133)]=()=>{const _0x2860c8=a14_0x4946d1,_0x34cef4={'sQBSm':function(_0x24aa0b,_0x33f5fc){return _0x24aa0b(_0x33f5fc);},'XeKnj':function(_0x40ea83,_0x411c3e){return _0x40ea83(_0x411c3e);},'RYkWb':function(_0x4c108f,_0xf43054){return _0x4c108f===_0xf43054;},'YFIHd':'TRcXg','aMxno':_0x2860c8(0x187),'hdeJo':function(_0x5e1c26,_0x23f75e){return _0x5e1c26!==_0x23f75e;},'BbMpO':_0x2860c8(0x164),'QDKxV':'jQJpm','RcBvm':function(_0x2c11f8,_0x505373){return _0x2c11f8(_0x505373);},'YQaIU':function(_0x160f9d,_0x3dadf4){return _0x160f9d!==_0x3dadf4;},'Dmldl':_0x2860c8(0xcc),'YkUXs':function(_0x260cf3,_0x158fdc){return _0x260cf3(_0x158fdc);},'Ooqmt':_0x2860c8(0xed),'siYbA':_0x2860c8(0x7d),'ONpQi':'xrsdb','WRMZa':'ZWZOB','RiXfH':_0x2860c8(0x120),'ypjxx':_0x2860c8(0xde)};return new Promise((_0x33cfe7,_0x22dbf8)=>{const _0x403425=_0x2860c8,_0x12bc72={'NwHQT':function(_0x365bc3,_0x29b48d){const _0x4a67ad=a14_0x4ae8;return _0x34cef4[_0x4a67ad(0xe1)](_0x365bc3,_0x29b48d);},'ETHVP':function(_0x55df22,_0xddf546){return _0x34cef4['sQBSm'](_0x55df22,_0xddf546);},'lhpCD':function(_0x237b81,_0x1e3f21){return _0x34cef4['XeKnj'](_0x237b81,_0x1e3f21);},'jfDSa':function(_0x11899a,_0x87b634){const _0x1ba63b=a14_0x4ae8;return _0x34cef4[_0x1ba63b(0xff)](_0x11899a,_0x87b634);},'xGEEj':_0x34cef4[_0x403425(0xf7)],'mwYlL':_0x34cef4[_0x403425(0x14b)],'mTxyY':function(_0x320447,_0x1462c6){return _0x34cef4['hdeJo'](_0x320447,_0x1462c6);},'JLhmC':_0x34cef4['BbMpO'],'sVEcR':_0x34cef4[_0x403425(0x160)],'IPZSj':function(_0x27bea8,_0xea1738){const _0x3a7aff=_0x403425;return _0x34cef4[_0x3a7aff(0x13a)](_0x27bea8,_0xea1738);},'YOpIU':function(_0x1afbcb,_0x2212ef){const _0x4ac097=_0x403425;return _0x34cef4[_0x4ac097(0xd2)](_0x1afbcb,_0x2212ef);},'BQVZj':_0x34cef4[_0x403425(0xad)],'cntcK':function(_0x3b8de4,_0x1ec5ce){return _0x34cef4['XeKnj'](_0x3b8de4,_0x1ec5ce);},'hAMkL':function(_0x135844,_0x228d04){return _0x34cef4['YkUXs'](_0x135844,_0x228d04);},'dvMeY':_0x34cef4[_0x403425(0xab)],'TUbFz':function(_0x49ed40,_0x3b92f){const _0x40a8be=_0x403425;return _0x34cef4[_0x40a8be(0x188)](_0x49ed40,_0x3b92f);},'UQuyN':function(_0xdb04d6,_0x35a4b8){const _0x47922a=_0x403425;return _0x34cef4[_0x47922a(0xff)](_0xdb04d6,_0x35a4b8);},'pDlVN':_0x34cef4[_0x403425(0x178)],'WzLSs':_0x34cef4[_0x403425(0xd1)]};if(_0x34cef4['hdeJo'](_0x34cef4['WRMZa'],_0x34cef4[_0x403425(0x161)])){const _0x17a16d={};_0x17a16d[_0x403425(0x9b)]=_0x34cef4[_0x403425(0x149)];const _0x42e027=new awsSDK['EC2'](_0x17a16d);_0x42e027[_0x403425(0xb6)]()[_0x403425(0x8f)]()[_0x403425(0xfe)]((_0xb49a76,_0x324f76)=>{const _0x24fa7a=_0x403425;if(_0x12bc72[_0x24fa7a(0x12b)](_0x12bc72[_0x24fa7a(0xa7)],_0x12bc72[_0x24fa7a(0x99)]))_0x12bc72[_0x24fa7a(0x14d)](_0x94ea0b,_0x13bd7b[_0x24fa7a(0x10b)]);else{if(_0x12bc72[_0x24fa7a(0x16f)](_0xb49a76,undefined)&&_0x12bc72[_0x24fa7a(0x16f)](_0xb49a76['Regions'],undefined)){if(_0x12bc72[_0x24fa7a(0x12b)](_0x12bc72[_0x24fa7a(0xd0)],_0x12bc72[_0x24fa7a(0xca)])){const _0x223127={};_0x223127['region']=_0x16593e[_0x24fa7a(0xa5)],_0x223127[_0x24fa7a(0x93)]=_0x35d038[_0x24fa7a(0x186)],_0x223127[_0x24fa7a(0x15a)]=_0xc7666e[_0x24fa7a(0x125)],_0x3be44e['config'][_0x24fa7a(0x17f)](_0x223127),_0x30dbbb['awsConfigSet']=!![];}else _0x12bc72['IPZSj'](_0x33cfe7,_0xb49a76['Regions']);}else{if(_0x12bc72[_0x24fa7a(0x167)](_0x12bc72[_0x24fa7a(0x162)],_0x12bc72[_0x24fa7a(0x162)])){if(_0x12bc72[_0x24fa7a(0x7c)](_0x429fba,_0x3436f0))return this['configureAWSIfNotConfigured'](),_0x12bc72['lhpCD'](_0x54e321,_0x3ae239);}else _0x12bc72[_0x24fa7a(0x17c)](_0x33cfe7,{});}}})['catch'](_0x3b26f9=>{const _0x3d44a1=_0x403425,_0x4bb3cb={'smnLF':function(_0x547287,_0x13b85b){return _0x12bc72['TUbFz'](_0x547287,_0x13b85b);}};if(_0x12bc72[_0x3d44a1(0xb0)](_0x12bc72[_0x3d44a1(0x7b)],_0x12bc72[_0x3d44a1(0x130)])){const _0x35cd21={'zlxua':function(_0xfa080d,_0x29c4a7){const _0x209177=_0x3d44a1;return _0x12bc72[_0x209177(0x12d)](_0xfa080d,_0x29c4a7);}},_0x45bac4={};_0x45bac4['apiVersion']=_0x12bc72[_0x3d44a1(0xb3)];const _0x5f25fb=new _0x1e19d1[(_0x3d44a1(0xe8))](_0x45bac4);_0x5f25fb[_0x3d44a1(0x141)]()[_0x3d44a1(0x8f)]()[_0x3d44a1(0xfe)](_0x2b201d=>{const _0x292abc=_0x3d44a1;_0x2b201d[_0x292abc(0xfd)]['includes'](_0x43ccae)&&_0x35cd21[_0x292abc(0x132)](_0x20aa1e,!![]),_0x35cd21[_0x292abc(0x132)](_0xb3dd08,![]);})[_0x3d44a1(0xa4)](_0x35f82a=>{const _0x2fdd40=_0x3d44a1;_0x3b8319[_0x2fdd40(0xf1)](_0x35f82a),_0x4bb3cb[_0x2fdd40(0x7e)](_0x4bd6c4,_0x35f82a);});}else logger[_0x3d44a1(0xf1)](_0x3d44a1(0x9c)+_0x3b26f9),_0x12bc72[_0x3d44a1(0x13f)](_0x22dbf8,_0x3b26f9);});}else _0x23e063[_0x403425(0xf1)](_0x403425(0xd9)+_0x1bc695),_0x12bc72[_0x403425(0xc7)](_0xd3e5db,_0x2a437a);});},exports[a14_0x4946d1(0xbf)]=()=>{const _0x56d050=a14_0x4946d1,_0x5adb19={};_0x5adb19[_0x56d050(0x119)]=function(_0x36cdc7,_0x15d2d0){return _0x36cdc7===_0x15d2d0;};const _0x17a0af=_0x5adb19;return _0x17a0af[_0x56d050(0x119)](global_registry['awsConfigSet'],!![]);},exports[a14_0x4946d1(0x158)]=()=>{const _0x17c44b=a14_0x4946d1,_0x869de0={};_0x869de0[_0x17c44b(0x129)]=global_registry['clusterRegion'],_0x869de0[_0x17c44b(0x93)]=global_registry[_0x17c44b(0x186)],_0x869de0['secretAccessKey']=global_registry[_0x17c44b(0x125)],awsSDK[_0x17c44b(0xe7)][_0x17c44b(0x17f)](_0x869de0),global_registry[_0x17c44b(0x8d)]=!![];},exports[a14_0x4946d1(0x10d)]=awsSDK;
1
+ function a14_0xf32a(){const _0x3b36c2=['\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','rKISs','hhDUR','eDxaO','LrDIL','JJTrF','jgVsg','OongC','hWzRE','GyWno','EC2','gsDMl','EKS','VlsgC','LCyyw','Subnets','lYKKR','warn','MEhVT','apiVersion','aJpPg','DZFkV','WhhqT','DfFtM','LFfEv','iRBvt','qXAcG','config','ipQdj','describeRegions','ciHeL','krcnB','DxVMY','promise','XhBag','JiaSV','data','DQmGj','nodegroupName','VmmJP','QcbIN','NbqML','accessKeyId','ZayLI','Name','Regions','Kmxoq','OznaE','10823184NPCOWR','2017-11-01','pygMl','path','region','setAWSConfig','eCNBy','VfwaT','ywvVe','.\x20Please\x20Check\x20and\x20try\x20again','oIvdy','ITqgw','vdhxf','lYcMK','miEqi','XVVvM','JoSic','gxHRx','JzYAE','imknh','rxdOp','BpUad','doEux','fetchVPCs','SxziU','qAiIW','oaxvk','Bucket','awsConfigSet','ZlLKm','AtmOb','2092160DtJEcr','nJxwW','pJFMs','qKpQN','yTUuK','DjaIT','pRIKd','zyCOc','eEwID','tufWG','catch','describeSubnets','kDKTm','OQEln','lsVhp','pLElR','TrXNQ','LtRmu','uHsIZ','bWedx','ggtAL','VxEIC','secretAccessKey','bvpaL','AzUjm','JpDQb','wyuFX','FCqAV','5379003bZfRZZ','8636keyOgT','UmBnj','info','RxEXq','isVPCPresent','xocUJ','IFpTG','clusters','hvYYm','vKOQU','elsUX','pmJjV','HGwdq','Filters','HtRmM','name','utf-8','wBnnK','vpc-id','gTTts','../config/logger','QddiZ','hbiHt','ChnIb','SSXxR','bSfXo','iIwME','cytPY','lLMdO','zhoQH','describeCluster','aws-auth-cm.yaml','mnOEX','VsuhW','Cannot\x20find\x20subnets\x20','9188200VWFDpL','nZzwP','NiuuW','edmvU','HMQXg','IjVcx','VpcIds','ChLDl','clusterName','aWnJD','HAiVc','itHzk','pQrhY','AMYMv','JqJyS','rtgsE','GIbFk','jDXVU','vXUvq','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','gvvei','lcorv','SubnetId','configureAWSIfNotConfigured','NAhVB','uFryT','UndIq','WijTf','AKbex','skuiP','UnLHI','fetchSecurityGroups','tXoTr','IbiIH','yDVty','QUOVc','ssIRT','Values','mrwuv','awsObj','gJfBp','NYjIb','RviAX','yAWzm','719524htpsDF','headBucket','iNTUW','RpAEs','describeSecurityGroups','Cannot\x20find\x20VPC\x20','rkjMq','ptoxn','push','bArHI','DHpSH','qlZDi','fRimx','WYJYm','every','clusterRegion','isAWSConfigured','kahgW','rbaBC','vrzbm','kkCAn','aws-sdk','PVzfk','ODqmI','SoNEU','WNYHP','NSNwX','kHPDg','dLIBS','WLnaR','gbssv','ILIMD','VAewf','rVcDo','listClusters','qiwgz','isSubnetsValid','../config/constants','getClusterInfo','mlqFR','ZOsmE','HuFcG','Bucket:\x20','fetchSubnets','hIhCI','rBOks','BSIKQ','4563858xnEkkz','VrOiI','yMyDV','VwCkF','TOLzm','BIqrv','getNodeGroupInfo','KbyEB','EOsQm','then','435DMpqqi','createAuthConfigMap','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','ZlsaR','mapRoles','dOuVx','<ARN>','pZeUA','rhakW','eDPpf','wdEeH','VrgXD','ryuzJ','dDVtX','ukwqS','UffUj','fxcUq','LfsRw','describeNodegroup','MeDhm','cloudProviderSecretKey','PyWqv','apdXh','describeVpcs','\x20in\x20region\x20','EpLsL','Lneep','NRDnl','replace','AUcRH','ENxMW','QarHa','isBucketPresent','DaGhY','dTBgz','QiZtC','2016-11-15','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','includes','FzNmI','bfdze','vRPZz','error','sDqid','GSesV','Mrkab','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','RPXoD','AUQKk','.\x20Error:\x20','AlyoL','yAVqH'];a14_0xf32a=function(){return _0x3b36c2;};return a14_0xf32a();}const a14_0x392d2f=a14_0x3243;(function(_0x25bfe6,_0x1919e0){const _0x2b27cd=a14_0x3243,_0x2ec90f=_0x25bfe6();while(!![]){try{const _0x3dd828=-parseInt(_0x2b27cd(0x2e8))/0x1+-parseInt(_0x2b27cd(0x299))/0x2*(-parseInt(_0x2b27cd(0x1f9))/0x3)+parseInt(_0x2b27cd(0x27c))/0x4+parseInt(_0x2b27cd(0x2bc))/0x5+-parseInt(_0x2b27cd(0x1ef))/0x6+parseInt(_0x2b27cd(0x298))/0x7+-parseInt(_0x2b27cd(0x25d))/0x8;if(_0x3dd828===_0x1919e0)break;else _0x2ec90f['push'](_0x2ec90f['shift']());}catch(_0x5c2241){_0x2ec90f['push'](_0x2ec90f['shift']());}}}(a14_0xf32a,0xe122a));function a14_0x3243(_0x3f5976,_0x540c89){const _0xf32ad8=a14_0xf32a();return a14_0x3243=function(_0x324395,_0x39ecad){_0x324395=_0x324395-0x1df;let _0x18f6db=_0xf32ad8[_0x324395];return _0x18f6db;},a14_0x3243(_0x3f5976,_0x540c89);}const fs=require('fs'),yaml=require('js-yaml'),path=require(a14_0x392d2f(0x260)),awsSDK=require(a14_0x392d2f(0x2fd)),{AWS,global_registry}=require(a14_0x392d2f(0x1e5)),{logger}=require(a14_0x392d2f(0x2ad));exports[a14_0x392d2f(0x2d3)]=()=>{const _0x21240c=a14_0x392d2f,_0x7795ae={'VlsgC':function(_0x2a4da7,_0x505cc3){return _0x2a4da7(_0x505cc3);},'aJpPg':_0x21240c(0x25e),'OznaE':function(_0x11bed3,_0x230e17){return _0x11bed3!==_0x230e17;},'IbiIH':_0x21240c(0x209)};if(!this[_0x21240c(0x2f8)]()){if(_0x7795ae[_0x21240c(0x25c)](_0x7795ae[_0x21240c(0x2dd)],_0x7795ae['IbiIH'])){const _0x383ab2={'SSXxR':function(_0x1097e2,_0x1d054e){const _0x58add7=_0x21240c;return _0x7795ae[_0x58add7(0x23a)](_0x1097e2,_0x1d054e);}},_0x477e90={};_0x477e90['apiVersion']=_0x7795ae[_0x21240c(0x241)];const _0x583e28=new _0x29b91f[(_0x21240c(0x239))](_0x477e90);_0x583e28[_0x21240c(0x1e2)]()[_0x21240c(0x24e)]()['then'](_0x36571e=>{const _0x4de477=_0x21240c;_0x36571e[_0x4de477(0x2a0)][_0x4de477(0x21f)](_0x4d805e)&&_0x383ab2[_0x4de477(0x2b1)](_0x38717f,!![]),_0x383ab2[_0x4de477(0x2b1)](_0x40a5ff,![]);})['catch'](_0x1ab631=>{const _0x1d9393=_0x21240c;_0x416793[_0x1d9393(0x223)](_0x1ab631),_0x383ab2['SSXxR'](_0x54756e,_0x1ab631);});}else this[_0x21240c(0x262)]();}},exports['isClusterPresent']=async(_0x454f8b,_0x3ef252)=>{const _0x1addb6=a14_0x392d2f,_0x2ad36c={'xXxhj':function(_0x2bb8bd,_0x47bc4f){return _0x2bb8bd(_0x47bc4f);},'qfkxg':function(_0x1b8a44,_0x1a3490){return _0x1b8a44(_0x1a3490);},'ZlsaR':function(_0x11258b,_0x73d93d){return _0x11258b===_0x73d93d;},'RPXoD':_0x1addb6(0x1ec),'qKpQN':function(_0x501edc,_0x33dc49){return _0x501edc(_0x33dc49);}};if(_0x2ad36c['qfkxg'](isAWS,_0x454f8b)){if(_0x2ad36c[_0x1addb6(0x1fc)](_0x2ad36c[_0x1addb6(0x228)],_0x2ad36c[_0x1addb6(0x228)]))return this[_0x1addb6(0x2d3)](),_0x2ad36c[_0x1addb6(0x27f)](checkAWSClusterCreated,_0x3ef252);else{const _0x5a70d8={'TTytx':function(_0x28acad,_0x3bf0d8){return _0x2ad36c['xXxhj'](_0x28acad,_0x3bf0d8);}},_0x5aa5ff=new _0x316414['S3']();return new _0x374b40((_0x3cb0da,_0x1acb48)=>{const _0x5ce304=_0x1addb6,_0x300433={'nZzwP':function(_0x1eebc8,_0x1499e6){return _0x5a70d8['TTytx'](_0x1eebc8,_0x1499e6);}},_0x35154d={};_0x35154d[_0x5ce304(0x278)]=_0x4f66e9,_0x5aa5ff[_0x5ce304(0x2e9)](_0x35154d)['promise']()[_0x5ce304(0x1f8)](_0xc5db2=>{const _0x6a4ad=_0x5ce304;_0x35b227[_0x6a4ad(0x23e)](_0x6a4ad(0x1ea)+_0xeca09b+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x300433['nZzwP'](_0x3cb0da,!![]);})[_0x5ce304(0x286)](()=>{const _0x897c7f=_0x5ce304;_0x1795ca[_0x897c7f(0x29b)](_0x897c7f(0x1ea)+_0x3eac2b+_0x897c7f(0x22d)),_0x300433[_0x897c7f(0x2bd)](_0x3cb0da,![]);});});}}},exports[a14_0x392d2f(0x1e6)]=async _0x1494e1=>{const _0x51d2f6=a14_0x392d2f,_0x1766cd={};_0x1766cd[_0x51d2f6(0x26b)]=_0x51d2f6(0x25e);const _0x47be0b=_0x1766cd,_0x578f21={};_0x578f21[_0x51d2f6(0x240)]=_0x47be0b[_0x51d2f6(0x26b)];const _0x287ef3=new awsSDK[(_0x51d2f6(0x239))](_0x578f21),_0x50543f={};return _0x50543f[_0x51d2f6(0x2a8)]=_0x1494e1,_0x287ef3[_0x51d2f6(0x2b7)](_0x50543f)[_0x51d2f6(0x24e)]();},exports[a14_0x392d2f(0x1fa)]=async _0x1742cc=>{const _0x3d161e=a14_0x392d2f,_0x5863ea={};_0x5863ea[_0x3d161e(0x289)]='templates',_0x5863ea[_0x3d161e(0x247)]=_0x3d161e(0x2b8),_0x5863ea[_0x3d161e(0x2dc)]=_0x3d161e(0x2a9),_0x5863ea[_0x3d161e(0x236)]=_0x3d161e(0x1ff);const _0x356f8b=_0x5863ea,_0x3358cb=await fs['readFileAsync'](path['join'](__dirname,'..',_0x356f8b['OQEln'],_0x356f8b[_0x3d161e(0x247)]),_0x356f8b['tXoTr']),_0x172c47=yaml['load'](_0x3358cb);return _0x172c47[_0x3d161e(0x251)][_0x3d161e(0x1fd)]=_0x172c47[_0x3d161e(0x251)][_0x3d161e(0x1fd)][_0x3d161e(0x215)](_0x356f8b[_0x3d161e(0x236)],_0x1742cc),_0x172c47;},exports[a14_0x392d2f(0x1f5)]=async(_0x2fd573,_0x7d854)=>{const _0x236541=a14_0x392d2f,_0x142f57={};_0x142f57[_0x236541(0x2aa)]=_0x236541(0x25e);const _0x1dbd49=_0x142f57,_0x2596bd={};_0x2596bd[_0x236541(0x240)]=_0x1dbd49[_0x236541(0x2aa)];const _0x26a32e=new awsSDK['EKS'](_0x2596bd),_0x2e7278={};return _0x2e7278[_0x236541(0x2c4)]=_0x2fd573,_0x2e7278[_0x236541(0x253)]=_0x7d854,_0x26a32e['describeNodegroup'](_0x2e7278)[_0x236541(0x24e)]();};const isAWS=_0x50c81d=>{const _0x21bad0=a14_0x392d2f,_0x19ef89={};_0x19ef89['hhDUR']=_0x21bad0(0x25e),_0x19ef89[_0x21bad0(0x2e4)]=function(_0x245f13,_0x3ecd8a){return _0x245f13===_0x3ecd8a;},_0x19ef89[_0x21bad0(0x2ea)]=function(_0x4e09fa,_0x2aef23){return _0x4e09fa!==_0x2aef23;},_0x19ef89[_0x21bad0(0x207)]='JvXAp';const _0x5cd039=_0x19ef89;if(_0x5cd039[_0x21bad0(0x2e4)](_0x50c81d,AWS)){if(_0x5cd039['iNTUW'](_0x5cd039[_0x21bad0(0x207)],_0x5cd039[_0x21bad0(0x207)])){const _0x56523b={};_0x56523b[_0x21bad0(0x240)]=_0x5cd039[_0x21bad0(0x22f)];const _0x534e06=new _0x46f993[(_0x21bad0(0x239))](_0x56523b),_0x2e3d15={};return _0x2e3d15[_0x21bad0(0x2a8)]=_0x7725c9,_0x534e06['describeCluster'](_0x2e3d15)[_0x21bad0(0x24e)]();}else return!![];}return![];},checkAWSClusterCreated=_0x1a8cb4=>{const _0x4e8724=a14_0x392d2f,_0x8ba9eb={'iOqgC':function(_0x5db356,_0x5ec3de){return _0x5db356(_0x5ec3de);},'EOsQm':'2016-11-15','vRPZz':function(_0x2615c9,_0x62ddd4){return _0x2615c9(_0x62ddd4);},'iFSqh':function(_0x1b654a,_0x4f3a7c){return _0x1b654a!==_0x4f3a7c;},'IjVcx':_0x4e8724(0x23f),'rxdOp':function(_0x4f39fd,_0x2bedb5){return _0x4f39fd===_0x2bedb5;},'jgVsg':_0x4e8724(0x281),'apdXh':function(_0x513bcd,_0x411ca9){return _0x513bcd(_0x411ca9);},'WLnaR':'mOTxB','rbaBC':function(_0x7f358c,_0x1f96d9){return _0x7f358c(_0x1f96d9);},'elsUX':_0x4e8724(0x225),'mftrV':_0x4e8724(0x25e)};return new Promise((_0x1a8ec4,_0x51fa80)=>{const _0x322fb5=_0x4e8724,_0x18ae5f={'yAWzm':function(_0x49b542,_0x2a3b7e){const _0x2f6e40=a14_0x3243;return _0x8ba9eb[_0x2f6e40(0x20f)](_0x49b542,_0x2a3b7e);},'TOLzm':_0x8ba9eb[_0x322fb5(0x1f7)]};if(_0x8ba9eb['rxdOp'](_0x8ba9eb[_0x322fb5(0x2a3)],_0x8ba9eb[_0x322fb5(0x2a3)])){const _0x3577fe={};_0x3577fe['apiVersion']=_0x8ba9eb['mftrV'];const _0x54e33b=new awsSDK[(_0x322fb5(0x239))](_0x3577fe);_0x54e33b[_0x322fb5(0x1e2)]()[_0x322fb5(0x24e)]()[_0x322fb5(0x1f8)](_0x158a92=>{const _0xadd03c=_0x322fb5,_0x158197={'YAocF':function(_0x120ff1,_0x2ff78f){return _0x8ba9eb['iOqgC'](_0x120ff1,_0x2ff78f);},'pRRdC':_0x8ba9eb['EOsQm'],'pNHze':function(_0x1bac98,_0x48cbed){const _0x27b290=a14_0x3243;return _0x8ba9eb[_0x27b290(0x222)](_0x1bac98,_0x48cbed);}};if(_0x8ba9eb['iFSqh'](_0x8ba9eb['IjVcx'],_0x8ba9eb[_0xadd03c(0x2c1)])){const _0x45b089={'qiwgz':function(_0x338b32,_0x5348fc){return _0x158197['pNHze'](_0x338b32,_0x5348fc);}};return new _0x105f31((_0x4fba05,_0x5098b2)=>{const _0x28dedd=_0xadd03c,_0x4ee046={'JzYAE':function(_0x45ea5b,_0x12cf3b){return _0x158197['YAocF'](_0x45ea5b,_0x12cf3b);}},_0x34f5ff={};_0x34f5ff['apiVersion']=_0x158197['pRRdC'],_0x34f5ff['region']=_0x47bd14;const _0xde8143=new _0x344cde['EC2'](_0x34f5ff);_0xde8143[_0x28dedd(0x287)]()[_0x28dedd(0x24e)]()[_0x28dedd(0x1f8)](_0xa6d92b=>{const _0x106a1c=_0x28dedd;_0x4ee046[_0x106a1c(0x26f)](_0x4fba05,_0xa6d92b);})[_0x28dedd(0x286)](_0x5e54bd=>{const _0x474722=_0x28dedd;_0x2ec90e[_0x474722(0x223)](_0x474722(0x1fb)+_0x5e54bd),_0x45b089[_0x474722(0x1e3)](_0x5098b2,_0x5e54bd);});});}else _0x158a92[_0xadd03c(0x2a0)]['includes'](_0x1a8cb4)&&(_0x8ba9eb[_0xadd03c(0x271)](_0x8ba9eb[_0xadd03c(0x233)],_0x8ba9eb['jgVsg'])?_0x8ba9eb[_0xadd03c(0x222)](_0x1a8ec4,!![]):_0x30f2db[_0xadd03c(0x2f0)](_0x357514['SubnetId'])),_0x8ba9eb[_0xadd03c(0x222)](_0x1a8ec4,![]);})['catch'](_0x171494=>{const _0x4b6e18=_0x322fb5,_0x2e9472={'WNYHP':function(_0x3e5012,_0x5cd4d5){const _0x1d78c6=a14_0x3243;return _0x8ba9eb[_0x1d78c6(0x20f)](_0x3e5012,_0x5cd4d5);}};_0x8ba9eb[_0x4b6e18(0x271)](_0x8ba9eb['WLnaR'],_0x8ba9eb[_0x4b6e18(0x305)])?(logger[_0x4b6e18(0x223)](_0x171494),_0x8ba9eb[_0x4b6e18(0x2fa)](_0x51fa80,_0x171494)):(_0x487b1b[_0x4b6e18(0x223)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1ba8bd),_0x2e9472[_0x4b6e18(0x301)](_0x299a8b,_0x7de73e));});}else{const _0x102cd8={'AzUjm':function(_0x478e47,_0x8a3c16){const _0xa41d37=_0x322fb5;return _0x8ba9eb[_0xa41d37(0x222)](_0x478e47,_0x8a3c16);}};return new _0x2fbcd2((_0x304930,_0x47640d)=>{const _0x15af16=_0x322fb5,_0x13803e={'ILIMD':function(_0x5990ae,_0x1580cb){const _0x2f58b7=a14_0x3243;return _0x18ae5f[_0x2f58b7(0x2e7)](_0x5990ae,_0x1580cb);}},_0x3393fc={};_0x3393fc['apiVersion']=_0x18ae5f[_0x15af16(0x1f3)],_0x3393fc[_0x15af16(0x261)]=_0x1efed7;const _0x57497d=new _0x16d88e['EC2'](_0x3393fc);_0x57497d[_0x15af16(0x210)]()['promise']()['then'](_0x5e5cf7=>{const _0x52095f=_0x15af16;_0x102cd8[_0x52095f(0x294)](_0x304930,_0x5e5cf7);})['catch'](_0x1445c6=>{const _0x1b14a8=_0x15af16;_0x5eea24[_0x1b14a8(0x223)](_0x1b14a8(0x2cf)+_0x1445c6),_0x13803e[_0x1b14a8(0x1df)](_0x47640d,_0x1445c6);});});}});};exports[a14_0x392d2f(0x274)]=_0x23a77f=>{const _0x475728=a14_0x392d2f,_0x56ecca={'qlZDi':function(_0x3091bb,_0xee98d3){return _0x3091bb(_0xee98d3);},'ODqmI':function(_0xc31dbf,_0xa8c0ea){return _0xc31dbf===_0xa8c0ea;},'VsuhW':_0x475728(0x246),'Kmxoq':_0x475728(0x265),'vpHwy':function(_0x4df4f8,_0x5bd2b3){return _0x4df4f8(_0x5bd2b3);},'UndIq':function(_0x2b994c,_0x3cd246){return _0x2b994c(_0x3cd246);},'UzOfh':function(_0x179383,_0x1a1b2b){return _0x179383===_0x1a1b2b;},'HtRmM':'yxqOU','lCmYn':function(_0x3ef705,_0x3010de){return _0x3ef705(_0x3010de);},'ipQdj':function(_0x30c6,_0x280bb5){return _0x30c6!==_0x280bb5;},'lYcMK':'tAbuh','zhoQH':_0x475728(0x21d)};return new Promise((_0x3abc51,_0x49117a)=>{const _0xd1bee4=_0x475728,_0x24e310={'BpUad':function(_0x548a44,_0xb5b4c6){const _0xcbc657=a14_0x3243;return _0x56ecca[_0xcbc657(0x2d6)](_0x548a44,_0xb5b4c6);},'AUQKk':function(_0x26c548,_0x5e240a){const _0x39f587=a14_0x3243;return _0x56ecca[_0x39f587(0x2d6)](_0x26c548,_0x5e240a);},'pgGGE':function(_0x414987,_0xd2fe33){return _0x56ecca['UzOfh'](_0x414987,_0xd2fe33);},'QUOVc':_0x56ecca[_0xd1bee4(0x2a7)],'kHPDg':function(_0x48359c,_0x4b5591){return _0x56ecca['lCmYn'](_0x48359c,_0x4b5591);}};if(_0x56ecca[_0xd1bee4(0x249)](_0x56ecca['lYcMK'],_0x56ecca[_0xd1bee4(0x26a)]))_0x36e2e0[_0xd1bee4(0x223)](_0xd1bee4(0x2cf)+_0x55e01b),_0x56ecca[_0xd1bee4(0x2f3)](_0x546f5a,_0x4c6494);else{const _0x1e7239={};_0x1e7239[_0xd1bee4(0x240)]=_0x56ecca[_0xd1bee4(0x2b6)],_0x1e7239['region']=_0x23a77f;const _0x1eb7b4=new awsSDK[(_0xd1bee4(0x237))](_0x1e7239);_0x1eb7b4['describeVpcs']()['promise']()['then'](_0x2eef8e=>{const _0x2582f6=_0xd1bee4;_0x56ecca[_0x2582f6(0x2ff)](_0x56ecca[_0x2582f6(0x2ba)],_0x56ecca[_0x2582f6(0x25b)])?_0x24e310[_0x2582f6(0x272)](_0x329d23,_0x1299f1):_0x56ecca['vpHwy'](_0x3abc51,_0x2eef8e);})[_0xd1bee4(0x286)](_0x3b4a3d=>{const _0x3122c0=_0xd1bee4;if(_0x24e310['pgGGE'](_0x24e310[_0x3122c0(0x2df)],_0x24e310['QUOVc']))logger[_0x3122c0(0x223)](_0x3122c0(0x2cf)+_0x3b4a3d),_0x24e310[_0x3122c0(0x303)](_0x49117a,_0x3b4a3d);else{const _0x5dc869={'rkjMq':function(_0x32013f,_0x4485e5){const _0x119025=_0x3122c0;return _0x24e310[_0x119025(0x229)](_0x32013f,_0x4485e5);}},_0x586bde={};_0x586bde['Bucket']=_0x197177,_0x341d1c['headBucket'](_0x586bde)[_0x3122c0(0x24e)]()[_0x3122c0(0x1f8)](_0x5dd85e=>{const _0x17a49d=_0x3122c0;_0x38b2eb[_0x17a49d(0x23e)](_0x17a49d(0x1ea)+_0xde62af+_0x17a49d(0x227)),_0x5dc869[_0x17a49d(0x2ee)](_0x3b10d8,!![]);})[_0x3122c0(0x286)](()=>{const _0x68b06a=_0x3122c0;_0x283295[_0x68b06a(0x29b)](_0x68b06a(0x1ea)+_0x45a087+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x5dc869[_0x68b06a(0x2ee)](_0x43a455,![]);});}});}});},exports[a14_0x392d2f(0x29d)]=(_0x1aa5cd,_0x1a5d02)=>{const _0x4fe11e=a14_0x392d2f,_0x2ee63a={'AUcRH':function(_0x5c8cdd,_0x10f5b7){return _0x5c8cdd===_0x10f5b7;},'tufWG':_0x4fe11e(0x280),'BIqrv':function(_0x3ec0ad,_0xa4a148){return _0x3ec0ad(_0xa4a148);},'hWzRE':function(_0x119a82,_0xcdada6){return _0x119a82(_0xcdada6);},'XORHc':'wJUUo','GIbFk':function(_0x44a329,_0x3f172c){return _0x44a329(_0x3f172c);},'LtRmu':function(_0x1142ac,_0x69e688){return _0x1142ac!==_0x69e688;},'kkCAn':_0x4fe11e(0x250),'PYONY':_0x4fe11e(0x1e8),'DZFkV':_0x4fe11e(0x21d)},_0x2d69f3={};_0x2d69f3[_0x4fe11e(0x2c2)]=[_0x1aa5cd];let _0x375f6a=_0x2d69f3;return new Promise((_0x5e1fce,_0x521e6e)=>{const _0x45acc4=_0x4fe11e,_0x3e372a={'KbyEB':function(_0x461f9d,_0x1e062e){const _0x39232b=a14_0x3243;return _0x2ee63a[_0x39232b(0x235)](_0x461f9d,_0x1e062e);},'ChLDl':function(_0x4b2f51,_0x4e0b29){const _0x3dc31f=a14_0x3243;return _0x2ee63a[_0x3dc31f(0x216)](_0x4b2f51,_0x4e0b29);},'UmBnj':_0x2ee63a['XORHc'],'LfmVB':function(_0x23a41c,_0x4f1366){const _0x5931b3=a14_0x3243;return _0x2ee63a[_0x5931b3(0x2cc)](_0x23a41c,_0x4f1366);}};if(_0x2ee63a[_0x45acc4(0x28d)](_0x2ee63a[_0x45acc4(0x2fc)],_0x2ee63a['PYONY'])){const _0xd9383d={};_0xd9383d[_0x45acc4(0x240)]=_0x2ee63a[_0x45acc4(0x242)],_0xd9383d['region']=_0x1a5d02;const _0x508d15=new awsSDK['EC2'](_0xd9383d);_0x508d15[_0x45acc4(0x210)](_0x375f6a)[_0x45acc4(0x24e)]()[_0x45acc4(0x1f8)](_0x1848fe=>{const _0x316c06=_0x45acc4;if(_0x2ee63a[_0x316c06(0x216)](_0x2ee63a[_0x316c06(0x285)],_0x2ee63a[_0x316c06(0x285)]))_0x2ee63a[_0x316c06(0x1f4)](_0x5e1fce,!![]);else return _0x142975[_0x316c06(0x21f)](_0x5f0cef)?!![]:(_0x8d2bf1[_0x316c06(0x2f0)](_0x4241a3),![]);})[_0x45acc4(0x286)](_0xba7a40=>{const _0xe96724=_0x45acc4,_0xe82ab2={'RxEXq':function(_0xdb2075,_0x29f929){const _0x486f35=a14_0x3243;return _0x3e372a[_0x486f35(0x1f6)](_0xdb2075,_0x29f929);}};_0x3e372a[_0xe96724(0x2c3)](_0x3e372a[_0xe96724(0x29a)],_0x3e372a[_0xe96724(0x29a)])?(logger[_0xe96724(0x223)](_0xe96724(0x2ed)+_0x1aa5cd+'\x20in\x20region\x20'+_0x1a5d02+_0xe96724(0x266)),_0x3e372a['LfmVB'](_0x5e1fce,![])):_0xe82ab2[_0xe96724(0x29c)](_0x1b4051,_0x11bd1d[_0xe96724(0x25a)]);});}else _0x3e372a[_0x45acc4(0x1f6)](_0x4d1c86,{});});},exports[a14_0x392d2f(0x1e4)]=(_0x30fc87,_0x3263b5,_0x30b0d9)=>{const _0x2d28b4=a14_0x392d2f,_0x166920={'JJTrF':function(_0x3424ac,_0x5a5a3f){return _0x3424ac(_0x5a5a3f);},'doEux':function(_0x1af7e0,_0x36cdfb){return _0x1af7e0===_0x36cdfb;},'vXUvq':'MCPKN','dOuVx':function(_0x1b08ba,_0x3b297a){return _0x1b08ba!==_0x3b297a;},'bArHI':_0x2d28b4(0x28b),'DfFtM':_0x2d28b4(0x290),'EpLsL':function(_0x94410c,_0xa8930){return _0x94410c(_0xa8930);},'oaxvk':function(_0x34fc7b,_0x359f64){return _0x34fc7b===_0x359f64;},'eDxaO':'LEvuo','LCyyw':function(_0x81cc6e,_0x10cd54){return _0x81cc6e(_0x10cd54);},'bfdze':_0x2d28b4(0x21d),'pygMl':function(_0x1e314b,_0x42c4f3){return _0x1e314b!==_0x42c4f3;},'bSfXo':_0x2d28b4(0x201),'eEwID':_0x2d28b4(0x203),'rKISs':'BByku','VrOiI':_0x2d28b4(0x28a),'eCNBy':_0x2d28b4(0x204),'fRimx':'qmemd','YfOFD':_0x2d28b4(0x28e),'XOHuE':_0x2d28b4(0x2ab)},_0x5bf442={};_0x5bf442[_0x2d28b4(0x259)]=_0x166920['XOHuE'],_0x5bf442[_0x2d28b4(0x2e1)]=[_0x3263b5];const _0xa9e271={};_0xa9e271[_0x2d28b4(0x2a6)]=[_0x5bf442];let _0x4dbcfb=_0xa9e271;return new Promise((_0x7e695c,_0x349c8c)=>{const _0x5e9f12=_0x2d28b4,_0x1c2663={'ITqgw':function(_0x2f48a4,_0x54a444){const _0x2f536c=a14_0x3243;return _0x166920[_0x2f536c(0x232)](_0x2f48a4,_0x54a444);},'iIwME':_0x166920[_0x5e9f12(0x221)],'JpDQb':function(_0x365cb0,_0x4a7003){const _0x5dca2c=_0x5e9f12;return _0x166920[_0x5dca2c(0x25f)](_0x365cb0,_0x4a7003);},'TrXNQ':_0x166920[_0x5e9f12(0x2b2)],'WijTf':function(_0x23eb2f,_0x4779aa){return _0x166920['oaxvk'](_0x23eb2f,_0x4779aa);},'mlqFR':_0x166920[_0x5e9f12(0x284)],'hbiHt':_0x166920[_0x5e9f12(0x22e)],'ciHeL':function(_0x4d4720,_0x5ed498){const _0x221b1f=_0x5e9f12;return _0x166920[_0x221b1f(0x273)](_0x4d4720,_0x5ed498);},'mrwuv':_0x166920[_0x5e9f12(0x1f0)],'JaMaQ':_0x166920[_0x5e9f12(0x263)],'lcorv':function(_0x24669c,_0x267534){const _0x266823=_0x5e9f12;return _0x166920[_0x266823(0x23b)](_0x24669c,_0x267534);}};if(_0x166920[_0x5e9f12(0x1fe)](_0x166920[_0x5e9f12(0x2f4)],_0x166920['YfOFD'])){const _0x566400={};_0x566400[_0x5e9f12(0x240)]=_0x166920[_0x5e9f12(0x221)],_0x566400['region']=_0x30b0d9;const _0x3af8cc=new awsSDK[(_0x5e9f12(0x237))](_0x566400);_0x3af8cc[_0x5e9f12(0x287)](_0x4dbcfb)[_0x5e9f12(0x24e)]()[_0x5e9f12(0x1f8)](_0x39f707=>{const _0x294c3d=_0x5e9f12,_0x2c1290={'pRIKd':function(_0x39464d,_0x3698aa){const _0x1bc244=a14_0x3243;return _0x166920[_0x1bc244(0x232)](_0x39464d,_0x3698aa);},'qAiIW':function(_0x26f4b8,_0x461499){return _0x166920['doEux'](_0x26f4b8,_0x461499);},'gvvei':_0x166920[_0x294c3d(0x2ce)]};if(_0x166920['dOuVx'](_0x166920[_0x294c3d(0x2f1)],_0x166920[_0x294c3d(0x244)])){const _0xf21f95=[],_0x26ae41=[];_0x39f707[_0x294c3d(0x23c)]['forEach'](_0x228131=>{const _0x4df3c4=_0x294c3d,_0x4aa16c={'Kdraj':function(_0x2609fb,_0x2e2fa3){const _0x2d53dc=a14_0x3243;return _0x2c1290[_0x2d53dc(0x282)](_0x2609fb,_0x2e2fa3);}};_0x2c1290[_0x4df3c4(0x276)](_0x2c1290[_0x4df3c4(0x2d0)],_0x2c1290[_0x4df3c4(0x2d0)])?_0xf21f95[_0x4df3c4(0x2f0)](_0x228131[_0x4df3c4(0x2d2)]):(_0x1e6860[_0x4df3c4(0x223)](_0x4df3c4(0x21e)+_0x23e873),_0x4aa16c['Kdraj'](_0x10e9ef,_0x2e386e));});const _0x4bf5c8=_0x30fc87[_0x294c3d(0x2f6)](_0x3b7357=>{const _0x2ef4c8=_0x294c3d,_0x5efd79={'pmJjV':function(_0x59614b,_0x465f57){const _0x3eb2b1=a14_0x3243;return _0x1c2663[_0x3eb2b1(0x268)](_0x59614b,_0x465f57);},'wLFwP':_0x1c2663[_0x2ef4c8(0x2b3)],'yAVqH':function(_0xbd7e12,_0x28c63d){const _0x27b6ec=_0x2ef4c8;return _0x1c2663[_0x27b6ec(0x268)](_0xbd7e12,_0x28c63d);}};if(_0x1c2663[_0x2ef4c8(0x295)](_0x1c2663[_0x2ef4c8(0x28c)],_0x1c2663[_0x2ef4c8(0x28c)])){const _0x5e11f4={'PyWqv':function(_0x1285ff,_0x45f3a5){const _0x41c237=_0x2ef4c8;return _0x5efd79[_0x41c237(0x2a4)](_0x1285ff,_0x45f3a5);},'Mziza':_0x5efd79['wLFwP']};return new _0x58ad7b((_0x5a3f24,_0x10deff)=>{const _0xa19fa=_0x2ef4c8,_0x1f197e={'gmygz':function(_0x1e0b12,_0x1e7db1){const _0x17dacd=a14_0x3243;return _0x5e11f4[_0x17dacd(0x20e)](_0x1e0b12,_0x1e7db1);}},_0x517430={};_0x517430[_0xa19fa(0x240)]=_0x5e11f4['Mziza'],_0x517430[_0xa19fa(0x261)]=_0x2cf3ab;const _0x384b9e=new _0x3ed911['EC2'](_0x517430);_0x384b9e['describeSecurityGroups']()[_0xa19fa(0x24e)]()[_0xa19fa(0x1f8)](_0x25f150=>{const _0x13c43e=_0xa19fa;_0x5e11f4[_0x13c43e(0x20e)](_0x5a3f24,_0x25f150);})[_0xa19fa(0x286)](_0x4f41f1=>{const _0x28b620=_0xa19fa;_0x717aa4[_0x28b620(0x223)](_0x28b620(0x21e)+_0x4f41f1),_0x1f197e['gmygz'](_0x10deff,_0x4f41f1);});});}else{if(_0xf21f95['includes'](_0x3b7357)){if(_0x1c2663[_0x2ef4c8(0x2d7)](_0x1c2663[_0x2ef4c8(0x1e7)],_0x1c2663[_0x2ef4c8(0x2af)]))_0x5efd79[_0x2ef4c8(0x2a4)](_0x8af5b5,!![]);else return!![];}else{if(_0x1c2663[_0x2ef4c8(0x24b)](_0x1c2663[_0x2ef4c8(0x2e2)],_0x1c2663['JaMaQ'])){if(_0x5efd79[_0x2ef4c8(0x22c)](_0x3e48ba,_0x14b9e7))return this[_0x2ef4c8(0x2d3)](),_0x5efd79[_0x2ef4c8(0x22c)](_0x3eeac4,_0x7ef924);}else return _0x26ae41[_0x2ef4c8(0x2f0)](_0x3b7357),![];}}});_0x166920[_0x294c3d(0x212)](_0x7e695c,[_0x4bf5c8,_0x26ae41]);}else _0x1c2663[_0x294c3d(0x2d1)](_0x5e7420,_0x51d4ea);})[_0x5e9f12(0x286)](_0xca651b=>{const _0x3b51d2=_0x5e9f12,_0x5f3048={'UnLHI':function(_0x70cb6d,_0x3270ac){return _0x166920['JJTrF'](_0x70cb6d,_0x3270ac);}};_0x166920[_0x3b51d2(0x277)](_0x166920[_0x3b51d2(0x230)],_0x166920[_0x3b51d2(0x230)])?(logger[_0x3b51d2(0x223)](_0x3b51d2(0x2bb)+_0x3263b5+_0x3b51d2(0x211)+_0x30b0d9+_0x3b51d2(0x22a)+_0xca651b),_0x166920['LCyyw'](_0x7e695c,[![],[]])):_0x5f3048[_0x3b51d2(0x2da)](_0x452b2a,_0x115d22);});}else return this['configureAWSIfNotConfigured'](),_0x1c2663[_0x5e9f12(0x2d1)](_0x254e87,_0x2e0807);});},exports[a14_0x392d2f(0x219)]=_0x583498=>{const _0x138ed=a14_0x392d2f,_0x1ae336={'AKbex':function(_0x4789ee,_0x2b214d){return _0x4789ee!==_0x2b214d;},'AtmOb':function(_0x44bffb,_0x3815c3){return _0x44bffb(_0x3815c3);},'LrDIL':function(_0x1cfb86,_0x104811){return _0x1cfb86===_0x104811;},'jdnSY':_0x138ed(0x213),'rNDhA':_0x138ed(0x2c7),'pJFMs':function(_0x26850f,_0x3af659){return _0x26850f(_0x3af659);},'aWnJD':function(_0x5b7edd,_0x40bc81){return _0x5b7edd(_0x40bc81);},'sptdy':_0x138ed(0x2e5),'SxziU':_0x138ed(0x1e0),'OongC':function(_0x50e636,_0x108781){return _0x50e636(_0x108781);},'rBOks':function(_0x2b166e,_0x471270){return _0x2b166e(_0x471270);},'gZCyZ':_0x138ed(0x21d),'rVcDo':_0x138ed(0x2a5)},_0x316575=new awsSDK['S3']();return new Promise((_0x2fbb6f,_0x55fb17)=>{const _0x232c2f=_0x138ed,_0x2074c8={'LfsRw':function(_0x2c10cd,_0x19807c){const _0xcc1152=a14_0x3243;return _0x1ae336[_0xcc1152(0x2c5)](_0x2c10cd,_0x19807c);},'VfwaT':function(_0xd07cb2,_0x2243e7){const _0x419bdd=a14_0x3243;return _0x1ae336[_0x419bdd(0x2d8)](_0xd07cb2,_0x2243e7);},'lYKKR':_0x1ae336['sptdy'],'AMYMv':_0x1ae336[_0x232c2f(0x275)],'HUEOb':function(_0xa7d77b,_0x356a4d){const _0x2026fd=_0x232c2f;return _0x1ae336[_0x2026fd(0x234)](_0xa7d77b,_0x356a4d);},'SuPOA':function(_0x313ccc,_0x81d507){const _0x1b935b=_0x232c2f;return _0x1ae336[_0x1b935b(0x1ed)](_0x313ccc,_0x81d507);},'gxHRx':function(_0x194a2f,_0x216d35){const _0x55263e=_0x232c2f;return _0x1ae336[_0x55263e(0x1ed)](_0x194a2f,_0x216d35);},'mnOEX':_0x1ae336['gZCyZ']};if(_0x1ae336[_0x232c2f(0x231)](_0x1ae336['rVcDo'],_0x1ae336[_0x232c2f(0x1e1)])){const _0x5edf8e={};_0x5edf8e['Bucket']=_0x583498,_0x316575[_0x232c2f(0x2e9)](_0x5edf8e)[_0x232c2f(0x24e)]()[_0x232c2f(0x1f8)](_0x5031fc=>{const _0x4d2b78=_0x232c2f,_0x1487a4={'HuFcG':function(_0x55c0c9,_0x4ec2d2){const _0x3767ea=a14_0x3243;return _0x1ae336[_0x3767ea(0x2d8)](_0x55c0c9,_0x4ec2d2);},'NbqML':function(_0x501a43,_0x3b64ba){const _0x2a2e4e=a14_0x3243;return _0x1ae336[_0x2a2e4e(0x27b)](_0x501a43,_0x3b64ba);}};_0x1ae336[_0x4d2b78(0x231)](_0x1ae336['jdnSY'],_0x1ae336['rNDhA'])?_0x1487a4['HuFcG'](_0x6b771a,_0x444858)&&_0x1487a4[_0x4d2b78(0x1e9)](_0x61b7e0[_0x4d2b78(0x25a)],_0x4f3608)?_0x1487a4['NbqML'](_0x1b5d42,_0x40755d[_0x4d2b78(0x25a)]):_0x1487a4[_0x4d2b78(0x256)](_0x4c9a98,{}):(logger[_0x4d2b78(0x23e)](_0x4d2b78(0x1ea)+_0x583498+_0x4d2b78(0x227)),_0x1ae336[_0x4d2b78(0x27e)](_0x2fbb6f,!![]));})[_0x232c2f(0x286)](()=>{const _0x4e5121=_0x232c2f,_0x55704e={'ENxMW':function(_0x3ea01d,_0x30d9ac){const _0x3676f8=a14_0x3243;return _0x2074c8[_0x3676f8(0x20a)](_0x3ea01d,_0x30d9ac);}};_0x2074c8[_0x4e5121(0x264)](_0x2074c8[_0x4e5121(0x23d)],_0x2074c8[_0x4e5121(0x2c9)])?(logger[_0x4e5121(0x29b)](_0x4e5121(0x1ea)+_0x583498+_0x4e5121(0x22d)),_0x2074c8['HUEOb'](_0x2fbb6f,![])):(_0x150232[_0x4e5121(0x23e)](_0x4e5121(0x1ea)+_0x48eae5+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x55704e[_0x4e5121(0x217)](_0x25f9f2,!![]));});}else{const _0x531047={'gsDMl':function(_0x29791f,_0x2720a8){return _0x2074c8['SuPOA'](_0x29791f,_0x2720a8);},'uCcBr':function(_0x25936a,_0x5bbc3f){const _0x419a80=_0x232c2f;return _0x2074c8[_0x419a80(0x26e)](_0x25936a,_0x5bbc3f);}},_0x4b635a={};_0x4b635a['apiVersion']=_0x2074c8[_0x232c2f(0x2b9)],_0x4b635a[_0x232c2f(0x261)]=_0x577251;const _0x4bfa15=new _0x282ab8[(_0x232c2f(0x237))](_0x4b635a);_0x4bfa15[_0x232c2f(0x2ec)]()['promise']()['then'](_0x2d888a=>{const _0x2f4ef7=_0x232c2f;_0x531047[_0x2f4ef7(0x238)](_0x7bf8c5,_0x2d888a);})[_0x232c2f(0x286)](_0x2bbd24=>{const _0x49a78a=_0x232c2f;_0x3714bb[_0x49a78a(0x223)](_0x49a78a(0x21e)+_0x2bbd24),_0x531047['uCcBr'](_0x28b5fd,_0x2bbd24);});}});},exports[a14_0x392d2f(0x1eb)]=_0x2a5ce3=>{const _0x4b1066=a14_0x392d2f,_0x2488e5={'ZVfkW':function(_0x2cb56f,_0x173643){return _0x2cb56f(_0x173643);},'RpAEs':function(_0x42ca79,_0x3a1c05){return _0x42ca79===_0x3a1c05;},'DaGhY':_0x4b1066(0x254),'ptoxn':_0x4b1066(0x283),'FzNmI':function(_0x1814e7,_0x481c6e){return _0x1814e7(_0x481c6e);},'gTTts':'ChGSx','XhBag':_0x4b1066(0x267),'xQAiV':function(_0x3b1975,_0x5b4d02){return _0x3b1975!==_0x5b4d02;},'NSNwX':_0x4b1066(0x208),'KyRoY':_0x4b1066(0x21d)};return new Promise((_0x3c61c3,_0x676055)=>{const _0x5ed3c5=_0x4b1066,_0xab458e={'xGpCf':function(_0x3747e0,_0x14f22c){return _0x2488e5['ZVfkW'](_0x3747e0,_0x14f22c);},'FCqAV':function(_0x1f9181,_0xc7d314){const _0x391151=a14_0x3243;return _0x2488e5[_0x391151(0x2eb)](_0x1f9181,_0xc7d314);},'pZeUA':_0x2488e5[_0x5ed3c5(0x21a)],'KXYRH':_0x2488e5[_0x5ed3c5(0x2ef)],'dDVtX':function(_0x8290c4,_0x307668){return _0x2488e5['FzNmI'](_0x8290c4,_0x307668);},'VwCkF':_0x2488e5[_0x5ed3c5(0x2ac)],'ETwGm':_0x2488e5[_0x5ed3c5(0x24f)],'ZayLI':function(_0x56d63c,_0x2490db){const _0x3d97a=_0x5ed3c5;return _0x2488e5[_0x3d97a(0x220)](_0x56d63c,_0x2490db);}};if(_0x2488e5['xQAiV'](_0x2488e5[_0x5ed3c5(0x302)],_0x2488e5[_0x5ed3c5(0x302)]))_0x3e5a84[_0x5ed3c5(0x223)](_0x2fd22f),_0xab458e['xGpCf'](_0x2faf2b,_0x47c9fd);else{const _0x2aad6a={};_0x2aad6a[_0x5ed3c5(0x240)]=_0x2488e5['KyRoY'],_0x2aad6a['region']=_0x2a5ce3;const _0x17480=new awsSDK[(_0x5ed3c5(0x237))](_0x2aad6a);_0x17480[_0x5ed3c5(0x287)]()[_0x5ed3c5(0x24e)]()['then'](_0x2ba00b=>{const _0x3ab09f=_0x5ed3c5;_0xab458e['FCqAV'](_0xab458e[_0x3ab09f(0x200)],_0xab458e['KXYRH'])?!this[_0x3ab09f(0x2f8)]()&&this[_0x3ab09f(0x262)]():_0xab458e[_0x3ab09f(0x206)](_0x3c61c3,_0x2ba00b);})[_0x5ed3c5(0x286)](_0x4f509a=>{const _0x2a80ec=_0x5ed3c5;_0xab458e[_0x2a80ec(0x297)](_0xab458e[_0x2a80ec(0x1f2)],_0xab458e['ETwGm'])?this[_0x2a80ec(0x262)]():(logger[_0x2a80ec(0x223)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x4f509a),_0xab458e[_0x2a80ec(0x258)](_0x676055,_0x4f509a));});}});},exports[a14_0x392d2f(0x2db)]=_0x3d23a5=>{const _0x5e3a8e=a14_0x392d2f,_0x3d9ef6={'HAiVc':_0x5e3a8e(0x25e),'XVVvM':function(_0x3e4a4a,_0xf178f2){return _0x3e4a4a!==_0xf178f2;},'VxEIC':_0x5e3a8e(0x2d5),'yDVty':_0x5e3a8e(0x293),'WhhqT':function(_0x97ceee,_0x943347){return _0x97ceee(_0x943347);},'BSIKQ':function(_0x2597f9,_0x2ce459){return _0x2597f9(_0x2ce459);},'ryuzJ':_0x5e3a8e(0x21d),'TenUs':function(_0x13e425,_0x443416){return _0x13e425(_0x443416);},'gbssv':function(_0x55023c,_0x5317d1){return _0x55023c===_0x5317d1;},'jDXVU':_0x5e3a8e(0x24d),'pQrhY':function(_0x429d88,_0x44ae76){return _0x429d88!==_0x44ae76;},'RviAX':_0x5e3a8e(0x270)};return new Promise((_0x3f2d81,_0xf9332b)=>{const _0x1a6d0d=_0x5e3a8e,_0x3b0382={'GncjM':function(_0x154710,_0x28e29a){const _0x21e7ee=a14_0x3243;return _0x3d9ef6[_0x21e7ee(0x1ee)](_0x154710,_0x28e29a);},'vKOQU':_0x3d9ef6['ryuzJ'],'edmvU':function(_0x5bea3d,_0x4deb15){return _0x3d9ef6['TenUs'](_0x5bea3d,_0x4deb15);},'QiZtC':function(_0x104c60,_0x21142f){const _0x22eef0=a14_0x3243;return _0x3d9ef6[_0x22eef0(0x306)](_0x104c60,_0x21142f);},'wyuFX':_0x3d9ef6[_0x1a6d0d(0x2cd)],'NiuuW':function(_0x49196a,_0x24abc1){return _0x3d9ef6['TenUs'](_0x49196a,_0x24abc1);}};if(_0x3d9ef6[_0x1a6d0d(0x2c8)](_0x3d9ef6[_0x1a6d0d(0x2e6)],_0x3d9ef6['RviAX'])){const _0xbfc7a4={};_0xbfc7a4[_0x1a6d0d(0x240)]=_0x3d9ef6[_0x1a6d0d(0x2c6)];const _0x211ebc=new _0x44882c[(_0x1a6d0d(0x239))](_0xbfc7a4),_0xaffb7={};return _0xaffb7[_0x1a6d0d(0x2c4)]=_0x219427,_0xaffb7['nodegroupName']=_0xcdda4b,_0x211ebc[_0x1a6d0d(0x20b)](_0xaffb7)[_0x1a6d0d(0x24e)]();}else{const _0x2ad60f={};_0x2ad60f[_0x1a6d0d(0x240)]=_0x3d9ef6[_0x1a6d0d(0x205)],_0x2ad60f[_0x1a6d0d(0x261)]=_0x3d23a5;const _0x220b3f=new awsSDK['EC2'](_0x2ad60f);_0x220b3f[_0x1a6d0d(0x2ec)]()[_0x1a6d0d(0x24e)]()[_0x1a6d0d(0x1f8)](_0x159eb1=>{const _0x136742=_0x1a6d0d;if(_0x3d9ef6[_0x136742(0x26c)](_0x3d9ef6[_0x136742(0x291)],_0x3d9ef6[_0x136742(0x2de)]))_0x3d9ef6[_0x136742(0x243)](_0x3f2d81,_0x159eb1);else{const _0x212624={'vdhxf':function(_0x4270b8,_0x9c2925){return _0x3b0382['GncjM'](_0x4270b8,_0x9c2925);},'NAhVB':_0x3b0382[_0x136742(0x2a2)]},_0x5816df={};_0x5816df[_0x136742(0x2c2)]=[_0x3777fe];let _0x566448=_0x5816df;return new _0x5a9a19((_0x329ea0,_0x4198cc)=>{const _0xa9f788=_0x136742,_0x5c98aa={'dLIBS':function(_0x4820d5,_0x47c955){return _0x212624['vdhxf'](_0x4820d5,_0x47c955);}},_0x4ab9da={};_0x4ab9da[_0xa9f788(0x240)]=_0x212624[_0xa9f788(0x2d4)],_0x4ab9da['region']=_0x562e79;const _0x11a91e=new _0x6c1297[(_0xa9f788(0x237))](_0x4ab9da);_0x11a91e[_0xa9f788(0x210)](_0x566448)['promise']()['then'](_0x17c801=>{const _0x192394=_0xa9f788;_0x212624[_0x192394(0x269)](_0x329ea0,!![]);})[_0xa9f788(0x286)](_0x5de5df=>{const _0x2bee25=_0xa9f788;_0x29cdf5[_0x2bee25(0x223)](_0x2bee25(0x2ed)+_0x3c7a79+'\x20in\x20region\x20'+_0x43b9b7+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x5c98aa[_0x2bee25(0x304)](_0x329ea0,![]);});});}})[_0x1a6d0d(0x286)](_0x7f6c17=>{const _0x44d4cf=_0x1a6d0d;_0x3b0382[_0x44d4cf(0x21c)](_0x3b0382['wyuFX'],_0x3b0382[_0x44d4cf(0x296)])?(logger[_0x44d4cf(0x223)](_0x44d4cf(0x21e)+_0x7f6c17),_0x3b0382[_0x44d4cf(0x2be)](_0xf9332b,_0x7f6c17)):(_0x49ec0e[_0x44d4cf(0x223)]('Cannot\x20find\x20VPC\x20'+_0x411be9+_0x44d4cf(0x211)+_0x23ca17+_0x44d4cf(0x266)),_0x3b0382[_0x44d4cf(0x2bf)](_0x1c427c,![]));});}});},exports['getAWSRegions']=()=>{const _0x2d2c18=a14_0x392d2f,_0x19aae9={'kDKTm':function(_0x47503a,_0x5f2f41){return _0x47503a===_0x5f2f41;},'WYJYm':'DCUjC','ChnIb':function(_0x2fef18,_0x4d6eb0){return _0x2fef18(_0x4d6eb0);},'LFfEv':function(_0x3d647e,_0x192d7e){return _0x3d647e(_0x192d7e);},'sDqid':function(_0x523333,_0x4d9ad5){return _0x523333(_0x4d9ad5);},'krcnB':function(_0x41cb2f,_0x1cfdc3){return _0x41cb2f===_0x1cfdc3;},'nJxwW':_0x2d2c18(0x2cb),'lLMdO':'OUfbi','eDPpf':function(_0x542e06,_0x1b8e3b){return _0x542e06!==_0x1b8e3b;},'hvYYm':function(_0x283d58,_0x1149d1){return _0x283d58===_0x1149d1;},'kahgW':_0x2d2c18(0x2e0),'HMQXg':_0x2d2c18(0x2ca),'skuiP':_0x2d2c18(0x2f2),'yMyDV':function(_0x1d03a6,_0x1b5308){return _0x1d03a6!==_0x1b5308;},'SoNEU':'kzwMZ','JoSic':_0x2d2c18(0x21d)};return new Promise((_0x34dce2,_0x486469)=>{const _0x29ad7d=_0x2d2c18,_0x4b0cc6={'ZlLKm':function(_0xc8ad45,_0xc71478){const _0x19a7c6=a14_0x3243;return _0x19aae9[_0x19a7c6(0x2b0)](_0xc8ad45,_0xc71478);},'dTBgz':function(_0x1e52fb,_0x40f5ba){const _0x113fdd=a14_0x3243;return _0x19aae9[_0x113fdd(0x245)](_0x1e52fb,_0x40f5ba);},'QarHa':function(_0x49d419,_0x2beb28){const _0x1bf36e=a14_0x3243;return _0x19aae9[_0x1bf36e(0x224)](_0x49d419,_0x2beb28);},'vrzbm':function(_0x8ed054,_0x228e1){const _0x120dee=a14_0x3243;return _0x19aae9[_0x120dee(0x24c)](_0x8ed054,_0x228e1);},'QddiZ':_0x19aae9[_0x29ad7d(0x27d)],'bWedx':_0x19aae9[_0x29ad7d(0x2b5)],'PVzfk':function(_0x181e70,_0xb9fe3e){const _0x43bfd8=_0x29ad7d;return _0x19aae9[_0x43bfd8(0x202)](_0x181e70,_0xb9fe3e);},'IFpTG':function(_0x37946f,_0x1735a8){const _0x492927=_0x29ad7d;return _0x19aae9[_0x492927(0x202)](_0x37946f,_0x1735a8);},'Mrkab':function(_0x1b6866,_0x251b66){const _0x3ea4a7=_0x29ad7d;return _0x19aae9[_0x3ea4a7(0x2a1)](_0x1b6866,_0x251b66);},'DQmGj':_0x19aae9[_0x29ad7d(0x2f9)],'cytPY':_0x19aae9[_0x29ad7d(0x2c0)],'xocUJ':function(_0x5c2b71,_0x3a6ea8){const _0x2120d4=_0x29ad7d;return _0x19aae9[_0x2120d4(0x245)](_0x5c2b71,_0x3a6ea8);},'AlyoL':_0x19aae9[_0x29ad7d(0x2d9)]};if(_0x19aae9[_0x29ad7d(0x1f1)](_0x19aae9[_0x29ad7d(0x300)],_0x19aae9[_0x29ad7d(0x300)]))return _0x1d5ca2['push'](_0x2d457b),![];else{const _0x346d27={};_0x346d27['apiVersion']=_0x19aae9[_0x29ad7d(0x26d)];const _0x41a02a=new awsSDK[(_0x29ad7d(0x237))](_0x346d27);_0x41a02a[_0x29ad7d(0x24a)]()[_0x29ad7d(0x24e)]()['then']((_0x28ddd7,_0x3a9537)=>{const _0x3307e4=_0x29ad7d,_0x1070dc={'QcbIN':function(_0x5ef5ac,_0x1f669c){const _0x49121c=a14_0x3243;return _0x4b0cc6[_0x49121c(0x218)](_0x5ef5ac,_0x1f669c);},'uJgpZ':function(_0x47df53,_0x1a7c28){const _0x51cb6c=a14_0x3243;return _0x4b0cc6[_0x51cb6c(0x21b)](_0x47df53,_0x1a7c28);}};_0x4b0cc6[_0x3307e4(0x2fb)](_0x4b0cc6[_0x3307e4(0x2ae)],_0x4b0cc6[_0x3307e4(0x28f)])?(_0x136901[_0x3307e4(0x29b)](_0x3307e4(0x1ea)+_0x46a7e3+_0x3307e4(0x22d)),_0x4b0cc6[_0x3307e4(0x27a)](_0x5e150f,![])):_0x4b0cc6[_0x3307e4(0x2fe)](_0x28ddd7,undefined)&&_0x4b0cc6[_0x3307e4(0x29f)](_0x28ddd7[_0x3307e4(0x25a)],undefined)?_0x4b0cc6[_0x3307e4(0x226)](_0x4b0cc6[_0x3307e4(0x252)],_0x4b0cc6[_0x3307e4(0x2b4)])?(_0x259455[_0x3307e4(0x223)](_0x3307e4(0x1fb)+_0x502c7f),_0x4b0cc6['dTBgz'](_0x5de711,_0x10912d)):_0x4b0cc6[_0x3307e4(0x29e)](_0x34dce2,_0x28ddd7[_0x3307e4(0x25a)]):_0x4b0cc6['vrzbm'](_0x4b0cc6['AlyoL'],_0x4b0cc6[_0x3307e4(0x22b)])?_0x4b0cc6[_0x3307e4(0x218)](_0x34dce2,{}):(_0xaadc61[_0x3307e4(0x2a0)][_0x3307e4(0x21f)](_0xab591c)&&_0x1070dc[_0x3307e4(0x255)](_0xdb4ad3,!![]),_0x1070dc['uJgpZ'](_0x3d6763,![]));})[_0x29ad7d(0x286)](_0x5726df=>{const _0x1eff57=_0x29ad7d,_0x188abc={'MeDhm':function(_0x37818f,_0x44c582){const _0x208bfd=a14_0x3243;return _0x19aae9[_0x208bfd(0x288)](_0x37818f,_0x44c582);}};if(_0x19aae9[_0x1eff57(0x288)](_0x19aae9['WYJYm'],_0x19aae9[_0x1eff57(0x2f5)]))logger[_0x1eff57(0x223)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x5726df),_0x19aae9[_0x1eff57(0x2b0)](_0x486469,_0x5726df);else{if(_0x188abc[_0x1eff57(0x20c)](_0x125b94,_0x351dee))return!![];return![];}});}});},exports[a14_0x392d2f(0x2f8)]=()=>{const _0x13f8af=a14_0x392d2f,_0x9e4b54={};_0x9e4b54[_0x13f8af(0x214)]=function(_0x1e3e9d,_0x1adde3){return _0x1e3e9d===_0x1adde3;};const _0x30817d=_0x9e4b54;return _0x30817d[_0x13f8af(0x214)](global_registry[_0x13f8af(0x279)],!![]);},exports[a14_0x392d2f(0x262)]=()=>{const _0xc6ba9a=a14_0x392d2f,_0x2fc131={};_0x2fc131[_0xc6ba9a(0x261)]=global_registry[_0xc6ba9a(0x2f7)],_0x2fc131[_0xc6ba9a(0x257)]=global_registry['cloudProviderAccessKey'],_0x2fc131[_0xc6ba9a(0x292)]=global_registry[_0xc6ba9a(0x20d)],awsSDK[_0xc6ba9a(0x248)]['update'](_0x2fc131),global_registry[_0xc6ba9a(0x279)]=!![];},exports[a14_0x392d2f(0x2e3)]=awsSDK;
@@ -1 +1 @@
1
- const a15_0x2c55ff=a15_0x210d;function a15_0x1eb0(){const _0x54e57c=['1630092UAuZbS','8552710uqWlYw','../config/constants','rQuUu','13223041tuWuIQ','GCWxF','templates','9LHgqtK','14VKPwcC','250271FylkrY','createStack','EUtBx','KvHBH','promise','debug','CAPABILITY_NAMED_IAM','Properties','schema','bluebird','valueOf','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','QHCRe','Resources','js-yaml','path','CloudFormation','browserstack:cluster','browserstack:creationDate','WEeVb','17198OfRdES','42IqubNO','Tags','push','TyPXu','join','../config/logger','143bkkkeI','QuhBl','OnFailure','Key','createAutoscalerStack','TemplateBody','./AWSUtils','101CshSvQ','waitFor','2010-05-15','AcOSb','js-yaml-cloudformation-schema','Parameters','promisifyAll','ClusterName','144PSZbGG','292895tWiCFY','3pdJwoc','Capabilities','utf-8','Value','142812vvpBxZ','kVaqP'];a15_0x1eb0=function(){return _0x54e57c;};return a15_0x1eb0();}(function(_0x118ed0,_0x8108c1){const _0x1f6fd3=a15_0x210d,_0x216b02=_0x118ed0();while(!![]){try{const _0x2c849d=-parseInt(_0x1f6fd3(0x16c))/0x1*(parseInt(_0x1f6fd3(0x15e))/0x2)+parseInt(_0x1f6fd3(0x176))/0x3*(-parseInt(_0x1f6fd3(0x17c))/0x4)+parseInt(_0x1f6fd3(0x175))/0x5*(parseInt(_0x1f6fd3(0x15f))/0x6)+parseInt(_0x1f6fd3(0x14a))/0x7*(-parseInt(_0x1f6fd3(0x174))/0x8)+parseInt(_0x1f6fd3(0x148))/0x9*(parseInt(_0x1f6fd3(0x142))/0xa)+parseInt(_0x1f6fd3(0x165))/0xb*(parseInt(_0x1f6fd3(0x17a))/0xc)+-parseInt(_0x1f6fd3(0x145))/0xd*(-parseInt(_0x1f6fd3(0x149))/0xe);if(_0x2c849d===_0x8108c1)break;else _0x216b02['push'](_0x216b02['shift']());}catch(_0x27b01d){_0x216b02['push'](_0x216b02['shift']());}}}(a15_0x1eb0,0x7e5f2));const fs=require('fs'),path=require(a15_0x2c55ff(0x159)),yaml=require(a15_0x2c55ff(0x158)),{CLOUDFORMATION_SCHEMA}=require(a15_0x2c55ff(0x170)),Promise=require(a15_0x2c55ff(0x153)),AWS=require(a15_0x2c55ff(0x16b))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x2c55ff(0x143)),{logger}=require(a15_0x2c55ff(0x164));function a15_0x210d(_0x22ef0d,_0x1d60bd){const _0x1eb01d=a15_0x1eb0();return a15_0x210d=function(_0x210d53,_0xe021ac){_0x210d53=_0x210d53-0x142;let _0x37e2fe=_0x1eb01d[_0x210d53];return _0x37e2fe;},a15_0x210d(_0x22ef0d,_0x1d60bd);}Promise[a15_0x2c55ff(0x172)](fs),addAutoscalerTags=async(_0x24c21d,_0x30da6a,_0x1afc5e)=>{const _0x2736ad=a15_0x2c55ff;for(let _0xd2be68 in _0x24c21d[_0x2736ad(0x157)]){_0x24c21d['Resources'][_0xd2be68][_0x2736ad(0x151)]&&_0x24c21d[_0x2736ad(0x157)][_0xd2be68][_0x2736ad(0x151)][_0x2736ad(0x160)]&&_0x24c21d[_0x2736ad(0x157)][_0xd2be68][_0x2736ad(0x151)][_0x2736ad(0x160)]['push'](..._0x1afc5e);}},exports[a15_0x2c55ff(0x169)]=async _0x16b79a=>{const _0xb9491d=a15_0x2c55ff,_0x29837a={'rQuUu':_0xb9491d(0x15b),'GCWxF':_0xb9491d(0x15c),'QHCRe':_0xb9491d(0x16e),'EUtBx':_0xb9491d(0x147),'TyPXu':'autoscaler-role-creation.yaml','QuhBl':_0xb9491d(0x178),'WEeVb':function(_0x31a0d4,_0x58c5bf,_0x4bd16e,_0xb5c1a3){return _0x31a0d4(_0x58c5bf,_0x4bd16e,_0xb5c1a3);},'qaPFx':'DELETE','KvHBH':_0xb9491d(0x173),'AcOSb':_0xb9491d(0x150),'kVaqP':'stackCreateComplete'},_0x19c5d8=COMMON_HST_TAGS,_0x36a519={};_0x36a519[_0xb9491d(0x168)]=_0x29837a[_0xb9491d(0x144)],_0x36a519[_0xb9491d(0x179)]=_0x16b79a,_0x19c5d8[_0xb9491d(0x161)](_0x36a519),_0x19c5d8['push']({'Key':_0x29837a[_0xb9491d(0x146)],'Value':new Date()[_0xb9491d(0x154)]()['toString']()});const _0x48c2cb={};_0x48c2cb['apiVersion']=_0x29837a[_0xb9491d(0x156)];const _0x58c006=new AWS[(_0xb9491d(0x15a))](_0x48c2cb),_0x3abf8b=await fs['readFileAsync'](path[_0xb9491d(0x163)](__dirname,'..',_0x29837a[_0xb9491d(0x14c)],_0x29837a[_0xb9491d(0x162)]),_0x29837a[_0xb9491d(0x166)]),_0x38e94f={};_0x38e94f[_0xb9491d(0x152)]=CLOUDFORMATION_SCHEMA;const _0x50d972=yaml['load'](_0x3abf8b,_0x38e94f);_0x29837a[_0xb9491d(0x15d)](addAutoscalerTags,_0x50d972,_0x16b79a,_0x19c5d8);const _0x1574e3=JSON['stringify'](_0x50d972),_0x3984c6={};_0x3984c6['StackName']=CLUSTER_AUTOSCALER_STACK_NAME,_0x3984c6[_0xb9491d(0x167)]=_0x29837a['qaPFx'],_0x3984c6[_0xb9491d(0x16a)]=_0x1574e3,_0x3984c6[_0xb9491d(0x171)]=[{'ParameterKey':_0x29837a[_0xb9491d(0x14d)],'ParameterValue':_0x16b79a}],_0x3984c6[_0xb9491d(0x177)]=[_0x29837a[_0xb9491d(0x16f)]],_0x3984c6[_0xb9491d(0x160)]=_0x19c5d8;const _0x16846c=_0x3984c6,_0x591d2e=await _0x58c006[_0xb9491d(0x14b)](_0x16846c)['promise']();logger[_0xb9491d(0x14f)](_0xb9491d(0x155));const _0x2472d0={};return _0x2472d0['StackName']=_0x591d2e['StackId'],_0x58c006[_0xb9491d(0x16d)](_0x29837a[_0xb9491d(0x17b)],_0x2472d0)[_0xb9491d(0x14e)]();};
1
+ const a15_0x3b2d85=a15_0x7797;function a15_0x7797(_0x2d6330,_0x33645c){const _0x1c9ccd=a15_0x1c9c();return a15_0x7797=function(_0x7797a5,_0x3e2f3d){_0x7797a5=_0x7797a5-0x1d1;let _0x36e605=_0x1c9ccd[_0x7797a5];return _0x36e605;},a15_0x7797(_0x2d6330,_0x33645c);}(function(_0x4fd2f2,_0x560fae){const _0x52d5de=a15_0x7797,_0x29595d=_0x4fd2f2();while(!![]){try{const _0x4b18d0=-parseInt(_0x52d5de(0x1e0))/0x1+-parseInt(_0x52d5de(0x1e6))/0x2+parseInt(_0x52d5de(0x1e5))/0x3*(parseInt(_0x52d5de(0x1d4))/0x4)+parseInt(_0x52d5de(0x1da))/0x5+-parseInt(_0x52d5de(0x1ec))/0x6+parseInt(_0x52d5de(0x1d2))/0x7*(-parseInt(_0x52d5de(0x1f3))/0x8)+parseInt(_0x52d5de(0x1f7))/0x9;if(_0x4b18d0===_0x560fae)break;else _0x29595d['push'](_0x29595d['shift']());}catch(_0x2e08f6){_0x29595d['push'](_0x29595d['shift']());}}}(a15_0x1c9c,0xd7efc));function a15_0x1c9c(){const _0x11c111=['CloudFormation','push','OnFailure','620968GDMvNT','StackName','Resources','NzLSf','18862380gFPfKK','promise','ANBqa','toString','browserstack:cluster','14YsaQet','js-yaml-cloudformation-schema','524LBoCIi','AOIkc','schema','Properties','../config/constants','stringify','6838820FuKhMG','CAPABILITY_NAMED_IAM','utf-8','KSZaJ','waitFor','Capabilities','483711OgiSUb','HFMgS','browserstack:creationDate','TemplateBody','Tags','1191rphMOK','1522282xoIJqr','readFileAsync','path','createAutoscalerStack','debug','./AWSUtils','7386126TnRqXr','Value','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','bluebird'];a15_0x1c9c=function(){return _0x11c111;};return a15_0x1c9c();}const fs=require('fs'),path=require(a15_0x3b2d85(0x1e8)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a15_0x3b2d85(0x1d3)),Promise=require(a15_0x3b2d85(0x1ef)),AWS=require(a15_0x3b2d85(0x1eb))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x3b2d85(0x1d8)),{logger}=require('../config/logger');Promise['promisifyAll'](fs),addAutoscalerTags=async(_0x17f1d6,_0x2f6d55,_0x472675)=>{const _0x2a8e8c=a15_0x3b2d85;for(let _0x4418a0 in _0x17f1d6[_0x2a8e8c(0x1f5)]){_0x17f1d6['Resources'][_0x4418a0][_0x2a8e8c(0x1d7)]&&_0x17f1d6['Resources'][_0x4418a0][_0x2a8e8c(0x1d7)][_0x2a8e8c(0x1e4)]&&_0x17f1d6[_0x2a8e8c(0x1f5)][_0x4418a0][_0x2a8e8c(0x1d7)][_0x2a8e8c(0x1e4)][_0x2a8e8c(0x1f1)](..._0x472675);}},exports[a15_0x3b2d85(0x1e9)]=async _0x1c601d=>{const _0x2a05a6=a15_0x3b2d85,_0x57edf1={'AOIkc':_0x2a05a6(0x1d1),'TOkEv':_0x2a05a6(0x1e2),'PryQp':'2010-05-15','dsYsy':'templates','ANBqa':'autoscaler-role-creation.yaml','HFMgS':_0x2a05a6(0x1dc),'NzLSf':function(_0x4cbc28,_0x35bc52,_0x4fdf9e,_0x1f0db6){return _0x4cbc28(_0x35bc52,_0x4fdf9e,_0x1f0db6);},'FPZpC':'DELETE','KSZaJ':'ClusterName','CXTyc':_0x2a05a6(0x1db),'aFMyc':'stackCreateComplete'},_0x4198cf=COMMON_HST_TAGS,_0x433fe7={};_0x433fe7['Key']=_0x57edf1[_0x2a05a6(0x1d5)],_0x433fe7[_0x2a05a6(0x1ed)]=_0x1c601d,_0x4198cf[_0x2a05a6(0x1f1)](_0x433fe7),_0x4198cf[_0x2a05a6(0x1f1)]({'Key':_0x57edf1['TOkEv'],'Value':new Date()['valueOf']()[_0x2a05a6(0x1fa)]()});const _0x8aa28e={};_0x8aa28e['apiVersion']=_0x57edf1['PryQp'];const _0x1ff346=new AWS[(_0x2a05a6(0x1f0))](_0x8aa28e),_0x4f1e8a=await fs[_0x2a05a6(0x1e7)](path['join'](__dirname,'..',_0x57edf1['dsYsy'],_0x57edf1[_0x2a05a6(0x1f9)]),_0x57edf1[_0x2a05a6(0x1e1)]),_0x3d8181={};_0x3d8181[_0x2a05a6(0x1d6)]=CLOUDFORMATION_SCHEMA;const _0x89d232=yaml['load'](_0x4f1e8a,_0x3d8181);_0x57edf1[_0x2a05a6(0x1f6)](addAutoscalerTags,_0x89d232,_0x1c601d,_0x4198cf);const _0x1dc260=JSON[_0x2a05a6(0x1d9)](_0x89d232),_0x1ac6b7={};_0x1ac6b7[_0x2a05a6(0x1f4)]=CLUSTER_AUTOSCALER_STACK_NAME,_0x1ac6b7[_0x2a05a6(0x1f2)]=_0x57edf1['FPZpC'],_0x1ac6b7[_0x2a05a6(0x1e3)]=_0x1dc260,_0x1ac6b7['Parameters']=[{'ParameterKey':_0x57edf1[_0x2a05a6(0x1dd)],'ParameterValue':_0x1c601d}],_0x1ac6b7[_0x2a05a6(0x1df)]=[_0x57edf1['CXTyc']],_0x1ac6b7[_0x2a05a6(0x1e4)]=_0x4198cf;const _0x2f855e=_0x1ac6b7,_0x239893=await _0x1ff346['createStack'](_0x2f855e)['promise']();logger[_0x2a05a6(0x1ea)](_0x2a05a6(0x1ee));const _0x4a7f85={};return _0x4a7f85['StackName']=_0x239893['StackId'],_0x1ff346[_0x2a05a6(0x1de)](_0x57edf1['aFMyc'],_0x4a7f85)[_0x2a05a6(0x1f8)]();};