browserstack-node-sdk 1.49.0 → 1.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a25_0x35d4(_0x1fbf94,_0x2bfeee){const _0x2859e7=a25_0x2859();return a25_0x35d4=function(_0x35d424,_0xf422a7){_0x35d424=_0x35d424-0x186;let _0x1f5c3b=_0x2859e7[_0x35d424];return _0x1f5c3b;},a25_0x35d4(_0x1fbf94,_0x2bfeee);}const a25_0x5d34a1=a25_0x35d4;function a25_0x2859(){const _0x3a02bd=['AqqVT','wwWYh','azPGz','PxsGZ','IhNML','NOjXw','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','iMqFh','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','olbUC','rTRNx','dhGUG','WgosJ','AyWlA','barzb','yUoSf','46025uweVHj','xaqOL','Pzlhm','yEIvd','6754167yVnnMC','UiSjg','describeVpcs','fLiJs','OcQzR','oYJSS','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','4567140ocXuNI','NXWkb','2427uUPaDK','ugzQh','error','TECTs','ihJnn','OWOMS','WeVjO','JFHFj','2016-11-15','tQTAD','cvXxS','nbLCy','jZBjm','XVWps','Regions','ygKdK','jjIoU','31352GqfzFR','warn','dUDfl','fetchSubnets','mQTqF','hWQGG','TjFhz','EC2','LRLLF','vZYNK','Spyxf','bmgwh','describeCluster','gLoAn','OjsBg','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','GyENf','tilhA','HEGAv','mccXQ','../config/logger','fxkWl','jGBXb','QUjGP','PSbRV','EKS','LmYdK','issuer','jOrrG','MybXi','AkzHo','apiVersion','HgHtx','VNDBQ','Bucket','dZtxP','kRElt','aws-sdk','AsBVZ','fetchVPCs','eDjCj','RtqZJ','DZXeU','wmbMS','cluster','gbXCR','region','describeRegions','HWPxH','DmBiu','eVDWt','iVwgf','pEghe','jBRri','UbQUT','syaPZ','lLsjD','1386LQxGur','VomoI','TTYQO','mtXTy','KHUOm','2017-11-01','jPCkH','uOiKZ','Ydcnf','oURct','nvjFH','QUMmM','AnccC','oxmKl','1482100CZpccG','fPAFh','WSwaS','iNOeb','getAWSRegions','FSlWG','hNGNA','yjPik','fLAiC','MlBGW','promise','AChCI','MEBkb','TGbOQ','TxyLl','DeloI','UosBp','JBfoE','sQkov','ELsCK','bsMws','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','vGuAk','TIhrh','cnCWT','kxyVG','FVAOg','JamuT','mqqnf','Rxgxl','identity','hwaWN','QMklT','gvOPW','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','oidc','JxqmN','VbmYB','oRZYN','Mwxxi','VbWWe','MrDsz','hBTxi','YSfZj','iyMYZ','IsPEa','YAoZY','jKwUc','SbIGC','27366970vOkGdC','getOidcUrl','Bucket:\x20','762Gdysbq','qtcrX','hoTFa','JskNJ','info','then','FNVEG','eAZpU','iRKrs','describeSubnets','KeOjH','XFvda','nejFg','AgKtk','XHRrd','22icmPWW','catch','DJtnD','HrOkD','ETtye','UVbBw','GnqTL','jycaM','qTnKr','NrDud','AnCOo','headBucket','name','qsWys','gXkUp','TPKsk','riFVU'];a25_0x2859=function(){return _0x3a02bd;};return a25_0x2859();}(function(_0x194e84,_0x8cf74a){const _0x19034d=a25_0x35d4,_0x1027c5=_0x194e84();while(!![]){try{const _0x11318b=-parseInt(_0x19034d(0x188))/0x1+-parseInt(_0x19034d(0x1cb))/0x2*(parseInt(_0x19034d(0x1fa))/0x3)+-parseInt(_0x19034d(0x1f8))/0x4+-parseInt(_0x19034d(0x1ed))/0x5*(-parseInt(_0x19034d(0x1bc))/0x6)+-parseInt(_0x19034d(0x1f1))/0x7+parseInt(_0x19034d(0x20b))/0x8*(parseInt(_0x19034d(0x244))/0x9)+parseInt(_0x19034d(0x1b9))/0xa;if(_0x11318b===_0x8cf74a)break;else _0x1027c5['push'](_0x1027c5['shift']());}catch(_0x242e32){_0x1027c5['push'](_0x1027c5['shift']());}}}(a25_0x2859,0xde8e9));const awsSDK=require(a25_0x5d34a1(0x230)),{logger}=require(a25_0x5d34a1(0x21f));exports[a25_0x5d34a1(0x232)]=_0x3c068e=>{const _0x1ebd38=a25_0x5d34a1,_0x4a7a60={'jZBjm':function(_0x1f46ed,_0x570da2){return _0x1f46ed(_0x570da2);},'JxqmN':function(_0x30cef6,_0x677c45){return _0x30cef6===_0x677c45;},'olbUC':_0x1ebd38(0x1dd),'HPzWP':_0x1ebd38(0x18a),'jGBXb':_0x1ebd38(0x202),'GxrCl':function(_0x1bc914,_0x3b0d01){return _0x1bc914(_0x3b0d01);},'TWZTu':function(_0x30801f,_0xd2447e){return _0x30801f!==_0xd2447e;},'niQdB':_0x1ebd38(0x22c),'ELsCK':_0x1ebd38(0x1f2),'LmYdK':function(_0x223d48,_0x3993c9){return _0x223d48(_0x3993c9);},'IALRd':function(_0x50daed,_0x2e8775){return _0x50daed===_0x2e8775;},'jjIoU':_0x1ebd38(0x1ff)};return new Promise((_0x7534e2,_0x2921e6)=>{const _0x2de6cc=_0x1ebd38,_0x47d5ab={'TGbOQ':function(_0x1dbf23,_0x392cb2){const _0x2efa58=a25_0x35d4;return _0x4a7a60[_0x2efa58(0x206)](_0x1dbf23,_0x392cb2);},'MybXi':function(_0x3ff9e1,_0x4af0c7){const _0x5d8368=a25_0x35d4;return _0x4a7a60[_0x5d8368(0x1ac)](_0x3ff9e1,_0x4af0c7);},'hBTxi':_0x4a7a60[_0x2de6cc(0x1e6)],'nvjFH':_0x4a7a60['HPzWP'],'yUoSf':_0x4a7a60[_0x2de6cc(0x221)],'cnCWT':function(_0x51c6f7,_0x5a781f){return _0x4a7a60['GxrCl'](_0x51c6f7,_0x5a781f);},'IhNML':function(_0x4456e1,_0x2fee21){return _0x4a7a60['TWZTu'](_0x4456e1,_0x2fee21);},'OjsBg':_0x4a7a60['niQdB'],'KOmTI':_0x4a7a60[_0x2de6cc(0x19b)],'YSfZj':function(_0x2cfd01,_0xdfe684){return _0x4a7a60['LmYdK'](_0x2cfd01,_0xdfe684);},'vZYNK':function(_0x1bc16a,_0x533eef){const _0x1f8f27=_0x2de6cc;return _0x4a7a60[_0x1f8f27(0x225)](_0x1bc16a,_0x533eef);}};if(_0x4a7a60['IALRd'](_0x4a7a60[_0x2de6cc(0x20a)],_0x4a7a60[_0x2de6cc(0x20a)])){const _0x4cdd14={};_0x4cdd14[_0x2de6cc(0x22a)]=_0x4a7a60[_0x2de6cc(0x221)],_0x4cdd14['region']=_0x3c068e;const _0x5df2b3=new awsSDK[(_0x2de6cc(0x212))](_0x4cdd14);_0x5df2b3['describeVpcs']()[_0x2de6cc(0x192)]()[_0x2de6cc(0x1c1)](_0x1ffaf7=>{const _0xa0b7e6=_0x2de6cc,_0x4a4d5d={'oxmKl':function(_0x538a67,_0x17ca5c){const _0x5965f0=a25_0x35d4;return _0x47d5ab[_0x5965f0(0x195)](_0x538a67,_0x17ca5c);}};_0x47d5ab[_0xa0b7e6(0x228)](_0x47d5ab[_0xa0b7e6(0x1b2)],_0x47d5ab[_0xa0b7e6(0x24e)])?(_0x5d46b4[_0xa0b7e6(0x1c0)]('Bucket:\x20'+_0x5f3cbb+_0xa0b7e6(0x1e5)),_0x4a4d5d[_0xa0b7e6(0x187)](_0x26a00e,![])):_0x47d5ab[_0xa0b7e6(0x195)](_0x7534e2,_0x1ffaf7);})[_0x2de6cc(0x1cc)](_0x10d088=>{const _0x3520cc=_0x2de6cc,_0x3c46fe={'bmgwh':function(_0x43e913,_0x4a4670){const _0x15c799=a25_0x35d4;return _0x47d5ab[_0x15c799(0x1a0)](_0x43e913,_0x4a4670);}};if(_0x47d5ab[_0x3520cc(0x1e0)](_0x47d5ab[_0x3520cc(0x219)],_0x47d5ab['KOmTI']))logger[_0x3520cc(0x1fc)](_0x3520cc(0x21a)+_0x10d088),_0x47d5ab[_0x3520cc(0x1b3)](_0x2921e6,_0x10d088);else{const _0x41e8c6={};_0x41e8c6[_0x3520cc(0x22a)]=_0x47d5ab[_0x3520cc(0x1ec)],_0x41e8c6[_0x3520cc(0x239)]=_0x3ae981;const _0x3dae65=new _0xf0b73a[(_0x3520cc(0x212))](_0x41e8c6);_0x3dae65['describeSubnets']()[_0x3520cc(0x192)]()[_0x3520cc(0x1c1)](_0x171923=>{_0x3c46fe['bmgwh'](_0x38d56c,_0x171923);})[_0x3520cc(0x1cc)](_0xdd7d2c=>{const _0x6c48f3=_0x3520cc;_0x1336bb[_0x6c48f3(0x1fc)](_0x6c48f3(0x1e4)+_0xdd7d2c),_0x3c46fe[_0x6c48f3(0x216)](_0x567c69,_0xdd7d2c);});}});}else{const _0xf9ee97={'lyOVL':function(_0x3e3b77,_0x262313){const _0x3d0b02=_0x2de6cc;return _0x47d5ab[_0x3d0b02(0x214)](_0x3e3b77,_0x262313);},'eDjCj':function(_0x2f2931,_0x4c3833){const _0xcbb301=_0x2de6cc;return _0x47d5ab[_0xcbb301(0x1b3)](_0x2f2931,_0x4c3833);},'XVWps':_0x47d5ab[_0x2de6cc(0x1ec)]};return new _0x20fa7b((_0x4e8bc6,_0xd86b6a)=>{const _0x410b6c=_0x2de6cc,_0x3e2d63={'YAoZY':function(_0x433f80,_0x10873c){const _0x2702da=a25_0x35d4;return _0xf9ee97[_0x2702da(0x233)](_0x433f80,_0x10873c);}},_0x42ca58={};_0x42ca58['apiVersion']=_0xf9ee97[_0x410b6c(0x207)],_0x42ca58[_0x410b6c(0x239)]=_0x41bd02;const _0x59439c=new _0x3505f9['EC2'](_0x42ca58);_0x59439c['describeVpcs']()[_0x410b6c(0x192)]()[_0x410b6c(0x1c1)](_0x54d65c=>{_0xf9ee97['lyOVL'](_0x4e8bc6,_0x54d65c);})[_0x410b6c(0x1cc)](_0x57674e=>{const _0x18eddf=_0x410b6c;_0x430e52[_0x18eddf(0x1fc)](_0x18eddf(0x21a)+_0x57674e),_0x3e2d63[_0x18eddf(0x1b6)](_0xd86b6a,_0x57674e);});});}});},exports['isBucketPresent']=_0x33f7e8=>{const _0xcd7456=a25_0x5d34a1,_0x5e4304={'vTbnN':function(_0x53a0df,_0x5afedc){return _0x53a0df===_0x5afedc;},'dhGUG':_0xcd7456(0x22e),'GVNtM':'cgmvE','mtXTy':function(_0x4d5d2d,_0x4199df){return _0x4d5d2d(_0x4199df);},'DeloI':function(_0x5cce17,_0x5a53dd){return _0x5cce17(_0x5a53dd);},'nejFg':function(_0x48ad5d,_0x565bb9){return _0x48ad5d(_0x565bb9);},'DmBiu':function(_0x4488b3,_0x3d85c7){return _0x4488b3===_0x3d85c7;},'JFHFj':'mJmxK','pEghe':function(_0x11f8f9,_0x43b674){return _0x11f8f9(_0x43b674);},'WuyBE':_0xcd7456(0x202),'OcQzR':function(_0x3c125a,_0x303d0f){return _0x3c125a!==_0x303d0f;},'XHRrd':'wmmuA','FVAOg':'McUWU'},_0x50605c=new awsSDK['S3']();return new Promise((_0x53e176,_0x190a06)=>{const _0x1ba3df=_0xcd7456,_0x1260e0={'KeOjH':function(_0x5361a1,_0x3e49d9){const _0x4d46e7=a25_0x35d4;return _0x5e4304[_0x4d46e7(0x197)](_0x5361a1,_0x3e49d9);},'FSlWG':function(_0x15c429,_0x280613){const _0x7edbe6=a25_0x35d4;return _0x5e4304[_0x7edbe6(0x1c8)](_0x15c429,_0x280613);},'TIhrh':function(_0x4f16a6,_0x2abb43){const _0x53ac9f=a25_0x35d4;return _0x5e4304[_0x53ac9f(0x23c)](_0x4f16a6,_0x2abb43);},'Pzlhm':_0x5e4304[_0x1ba3df(0x201)],'QUMmM':function(_0x8e46f0,_0x173017){const _0x55e939=_0x1ba3df;return _0x5e4304[_0x55e939(0x23f)](_0x8e46f0,_0x173017);},'HgHtx':_0x5e4304['WuyBE']};if(_0x5e4304[_0x1ba3df(0x1f5)](_0x5e4304[_0x1ba3df(0x1ca)],_0x5e4304[_0x1ba3df(0x1a2)])){const _0x22d472={};_0x22d472['Bucket']=_0x33f7e8,_0x50605c['headBucket'](_0x22d472)[_0x1ba3df(0x192)]()[_0x1ba3df(0x1c1)](_0x68461b=>{const _0x56a23f=_0x1ba3df;_0x5e4304['vTbnN'](_0x5e4304[_0x56a23f(0x1e8)],_0x5e4304['GVNtM'])?(_0x48ff41['warn']('Bucket:\x20'+_0x136870+_0x56a23f(0x19d)),_0x1260e0[_0x56a23f(0x1c6)](_0x5ecd98,!![])):(logger[_0x56a23f(0x20c)](_0x56a23f(0x1bb)+_0x33f7e8+_0x56a23f(0x19d)),_0x5e4304[_0x56a23f(0x247)](_0x53e176,!![]));})[_0x1ba3df(0x1cc)](()=>{const _0x283efd=_0x1ba3df;_0x1260e0[_0x283efd(0x19f)](_0x1260e0[_0x283efd(0x1ef)],_0x1260e0[_0x283efd(0x1ef)])?(logger[_0x283efd(0x1c0)](_0x283efd(0x1bb)+_0x33f7e8+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x1260e0[_0x283efd(0x18d)](_0x53e176,![])):_0x1260e0[_0x283efd(0x18d)](_0x2f4822,_0x5ace42['cluster'][_0x283efd(0x1a6)][_0x283efd(0x1ab)]['issuer']);});}else{const _0x269874={'hoTFa':function(_0x199515,_0xa4a00b){const _0x4d28d3=_0x1ba3df;return _0x1260e0[_0x4d28d3(0x24f)](_0x199515,_0xa4a00b);},'Rxgxl':_0x1260e0[_0x1ba3df(0x22b)]};return new _0x88d556((_0x2d8f4,_0x2b83de)=>{const _0x51f7c2=_0x1ba3df,_0x3c5b85={};_0x3c5b85[_0x51f7c2(0x22a)]=_0x269874[_0x51f7c2(0x1a5)],_0x3c5b85[_0x51f7c2(0x239)]=_0x4d148d;const _0x1a8469=new _0x41f196[(_0x51f7c2(0x212))](_0x3c5b85);_0x1a8469['describeSecurityGroups']()[_0x51f7c2(0x192)]()[_0x51f7c2(0x1c1)](_0x157c0b=>{const _0x5dde93=_0x51f7c2;_0x269874[_0x5dde93(0x1be)](_0x2d8f4,_0x157c0b);})[_0x51f7c2(0x1cc)](_0x373436=>{const _0x1cda5a=_0x51f7c2;_0x387126[_0x1cda5a(0x1fc)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x373436),_0x269874['hoTFa'](_0x2b83de,_0x373436);});});}});},exports[a25_0x5d34a1(0x20e)]=_0x2b9063=>{const _0x512205=a25_0x5d34a1,_0x5ce1db={'hNGNA':function(_0x56c2d9,_0x3ab904){return _0x56c2d9===_0x3ab904;},'TjFhz':_0x512205(0x1ce),'CrYWs':_0x512205(0x1db),'AChCI':function(_0x3405cd,_0x33f90d){return _0x3405cd(_0x33f90d);},'iRKrs':function(_0xfbdb,_0x56a67c){return _0xfbdb(_0x56a67c);},'DFUcF':function(_0xab3911,_0x58c1ad){return _0xab3911(_0x58c1ad);},'XFvda':_0x512205(0x249),'NXWkb':function(_0xe621c4,_0x579537){return _0xe621c4!==_0x579537;},'iVwgf':_0x512205(0x1b8),'UosBp':'fihKz','JBfoE':function(_0x3b54c0,_0x4f38e6){return _0x3b54c0===_0x4f38e6;},'vpgLV':_0x512205(0x20d),'YpAmJ':_0x512205(0x1cd),'ygKdK':_0x512205(0x202)};return new Promise((_0xadacac,_0x52ba05)=>{const _0x324ee0=_0x512205,_0x41be9f={'kRElt':function(_0x1f2448,_0x145981){const _0x30dba7=a25_0x35d4;return _0x5ce1db[_0x30dba7(0x1c4)](_0x1f2448,_0x145981);},'AnCOo':function(_0x298b58,_0x269c69){return _0x5ce1db['DFUcF'](_0x298b58,_0x269c69);},'uOiKZ':_0x5ce1db[_0x324ee0(0x1c7)],'gLoAn':function(_0x47e524,_0x5afaf8){const _0x19c95b=_0x324ee0;return _0x5ce1db[_0x19c95b(0x1f9)](_0x47e524,_0x5afaf8);},'vGuAk':_0x5ce1db[_0x324ee0(0x23e)],'QUjGP':_0x5ce1db[_0x324ee0(0x198)]};if(_0x5ce1db[_0x324ee0(0x199)](_0x5ce1db['vpgLV'],_0x5ce1db['YpAmJ']))_0xc9f0e6['error'](_0x324ee0(0x1e4)+_0x11e6c7),_0x41be9f[_0x324ee0(0x22f)](_0x579d8a,_0x3784f2);else{const _0x52df6a={};_0x52df6a[_0x324ee0(0x22a)]=_0x5ce1db[_0x324ee0(0x209)],_0x52df6a[_0x324ee0(0x239)]=_0x2b9063;const _0x2b5270=new awsSDK[(_0x324ee0(0x212))](_0x52df6a);_0x2b5270[_0x324ee0(0x1c5)]()['promise']()[_0x324ee0(0x1c1)](_0x54680c=>{const _0x56c2ad=_0x324ee0;_0x5ce1db[_0x56c2ad(0x18e)](_0x5ce1db[_0x56c2ad(0x211)],_0x5ce1db['CrYWs'])?_0x41be9f[_0x56c2ad(0x1d5)](_0x23fb55,_0x15c116):_0x5ce1db[_0x56c2ad(0x193)](_0xadacac,_0x54680c);})['catch'](_0x13ea90=>{const _0x3add56=_0x324ee0,_0x59ebcb={'UVbBw':function(_0x146891,_0x3b0538){return _0x41be9f['kRElt'](_0x146891,_0x3b0538);},'cvXxS':_0x41be9f[_0x3add56(0x24b)]};if(_0x41be9f[_0x3add56(0x218)](_0x41be9f[_0x3add56(0x19e)],_0x41be9f[_0x3add56(0x222)]))logger[_0x3add56(0x1fc)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x13ea90),_0x41be9f['kRElt'](_0x52ba05,_0x13ea90);else{const _0x2830b4={};_0x2830b4[_0x3add56(0x22a)]=_0x59ebcb[_0x3add56(0x204)];const _0x1b8197=new _0x5b60a1[(_0x3add56(0x224))](_0x2830b4),_0x255ebd={};_0x255ebd[_0x3add56(0x1d7)]=_0x2493f0,_0x1b8197[_0x3add56(0x217)](_0x255ebd)[_0x3add56(0x192)]()['then'](_0x303788=>{const _0x25daaa=_0x3add56;_0x59ebcb['UVbBw'](_0xfff9bd,_0x303788[_0x25daaa(0x237)][_0x25daaa(0x1a6)][_0x25daaa(0x1ab)][_0x25daaa(0x226)]);})['catch'](_0x12ba43=>{const _0x2b4f54=_0x3add56;_0x4a5a43[_0x2b4f54(0x1fc)](_0x2b4f54(0x1e2)+_0x16681d+':\x20'+_0x12ba43),_0x59ebcb[_0x2b4f54(0x1d0)](_0x3aaac6,_0x12ba43);});}});}});},exports['fetchSecurityGroups']=_0x488f1b=>{const _0x5efc36=a25_0x5d34a1,_0x7bda54={'gXkUp':function(_0x1c8bdf,_0x1027c3){return _0x1c8bdf(_0x1027c3);},'FNVEG':function(_0x532f3e,_0x1fa507){return _0x532f3e(_0x1fa507);},'MlBGW':function(_0x341f23,_0x2ce1ac){return _0x341f23===_0x2ce1ac;},'jKwUc':_0x5efc36(0x245),'TsSOp':_0x5efc36(0x190),'gbXCR':function(_0x494e91,_0x21d14a){return _0x494e91!==_0x21d14a;},'ETtye':_0x5efc36(0x21d),'bsVVv':_0x5efc36(0x246),'iMqFh':function(_0x31fdf7,_0xd97814){return _0x31fdf7(_0xd97814);},'kxyVG':function(_0x1737a5,_0x648bb3){return _0x1737a5(_0x648bb3);},'nbLCy':function(_0x1f9ab0,_0x4b0bdc){return _0x1f9ab0===_0x4b0bdc;},'uxIhJ':_0x5efc36(0x21c),'AsBVZ':_0x5efc36(0x203),'WeVjO':_0x5efc36(0x202)};return new Promise((_0x31c4dd,_0x4110f2)=>{const _0x570df6=_0x5efc36,_0x4d47a9={'azPGz':function(_0x4d76d6,_0x4fa29c){const _0x50d0fd=a25_0x35d4;return _0x7bda54[_0x50d0fd(0x1a1)](_0x4d76d6,_0x4fa29c);}};if(_0x7bda54[_0x570df6(0x205)](_0x7bda54['uxIhJ'],_0x7bda54[_0x570df6(0x231)]))_0x7bda54['gXkUp'](_0x54c1a8,_0xf96677['Regions']);else{const _0x39a7d4={};_0x39a7d4[_0x570df6(0x22a)]=_0x7bda54[_0x570df6(0x200)],_0x39a7d4[_0x570df6(0x239)]=_0x488f1b;const _0xbe0334=new awsSDK[(_0x570df6(0x212))](_0x39a7d4);_0xbe0334['describeSecurityGroups']()[_0x570df6(0x192)]()[_0x570df6(0x1c1)](_0x6aa691=>{const _0x3acced=_0x570df6,_0x11db96={'dDqws':function(_0x29e78a,_0x189d60){const _0x2ddad2=a25_0x35d4;return _0x7bda54[_0x2ddad2(0x1c2)](_0x29e78a,_0x189d60);}};if(_0x7bda54[_0x3acced(0x191)](_0x7bda54[_0x3acced(0x1b7)],_0x7bda54['TsSOp'])){const _0x1e5b2a={'TxyLl':function(_0x18d276,_0x2bc611){return _0x11db96['dDqws'](_0x18d276,_0x2bc611);}},_0x5601f2=new _0x3eb522['S3']();return new _0x54261f((_0x5e3358,_0x4b2a57)=>{const _0x4b10b1=_0x3acced,_0x3a8826={};_0x3a8826[_0x4b10b1(0x22d)]=_0x49a648,_0x5601f2[_0x4b10b1(0x1d6)](_0x3a8826)[_0x4b10b1(0x192)]()[_0x4b10b1(0x1c1)](_0x1892ac=>{const _0x3e9146=_0x4b10b1;_0x1c728f[_0x3e9146(0x20c)](_0x3e9146(0x1bb)+_0x1ebaa7+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x1e5b2a[_0x3e9146(0x196)](_0x5e3358,!![]);})['catch'](()=>{const _0x936b21=_0x4b10b1;_0x45e963[_0x936b21(0x1c0)](_0x936b21(0x1bb)+_0x4f52a8+_0x936b21(0x1e5)),_0x1e5b2a[_0x936b21(0x196)](_0x5e3358,![]);});});}else _0x7bda54[_0x3acced(0x1d9)](_0x31c4dd,_0x6aa691);})['catch'](_0x46c6db=>{const _0x2ca28e=_0x570df6;_0x7bda54[_0x2ca28e(0x238)](_0x7bda54[_0x2ca28e(0x1cf)],_0x7bda54['bsVVv'])?(logger[_0x2ca28e(0x1fc)](_0x2ca28e(0x1aa)+_0x46c6db),_0x7bda54[_0x2ca28e(0x1e3)](_0x4110f2,_0x46c6db)):(_0x2e3631[_0x2ca28e(0x1fc)](_0x2ca28e(0x1e2)+_0x5280be+':\x20'+_0x7fc60b),_0x4d47a9[_0x2ca28e(0x1de)](_0x244bcc,_0x256756));});}});},exports[a25_0x5d34a1(0x18c)]=()=>{const _0x2a24ee=a25_0x5d34a1,_0x50c68a={'AyWlA':function(_0x48608f,_0x57533b){return _0x48608f(_0x57533b);},'WgosJ':function(_0x120631,_0x40c58a){return _0x120631!==_0x40c58a;},'qTnKr':'YGazM','mQTqF':'YFraR','AqqVT':function(_0x58c699,_0x254ee7){return _0x58c699===_0x254ee7;},'Spyxf':'ofdpC','yEIvd':function(_0x427f47,_0x2871d8){return _0x427f47(_0x2871d8);},'AnccC':'rBfsA','bsMws':_0x2a24ee(0x18f),'VnHvT':function(_0x44336e,_0x2f33bc){return _0x44336e(_0x2f33bc);},'oURct':function(_0x3175ce,_0x2dd840){return _0x3175ce(_0x2dd840);},'eVDWt':_0x2a24ee(0x202),'GyENf':function(_0x330890,_0x5f3d0f){return _0x330890(_0x5f3d0f);},'LRLLF':_0x2a24ee(0x249),'sQkov':_0x2a24ee(0x1c3),'TECTs':_0x2a24ee(0x24a),'WBaBa':function(_0x22a112,_0x93de22){return _0x22a112===_0x93de22;},'xQiuz':_0x2a24ee(0x1d8),'fLiJs':_0x2a24ee(0x1ee)};return new Promise((_0x325b69,_0x5bf2b4)=>{const _0x131bc2=_0x2a24ee,_0x34ab57={'iyMYZ':function(_0x313f9b,_0x2cabab){const _0x459b08=a25_0x35d4;return _0x50c68a[_0x459b08(0x24d)](_0x313f9b,_0x2cabab);},'NrDud':function(_0x589917,_0x533260){const _0x5267e5=a25_0x35d4;return _0x50c68a[_0x5267e5(0x24d)](_0x589917,_0x533260);},'fxkWl':_0x50c68a[_0x131bc2(0x23d)],'oRZYN':function(_0x45aa7e,_0x152c36){const _0x20c22f=_0x131bc2;return _0x50c68a[_0x20c22f(0x1f0)](_0x45aa7e,_0x152c36);},'fPAFh':function(_0x1ec7e4,_0x177a8){const _0x9cb23b=_0x131bc2;return _0x50c68a[_0x9cb23b(0x21b)](_0x1ec7e4,_0x177a8);},'rTRNx':_0x50c68a[_0x131bc2(0x213)],'NOjXw':function(_0x27cce8,_0x67933c){const _0x2cf53d=_0x131bc2;return _0x50c68a[_0x2cf53d(0x1e9)](_0x27cce8,_0x67933c);},'TKUaK':_0x50c68a[_0x131bc2(0x19a)],'DZXeU':_0x50c68a[_0x131bc2(0x1fd)],'PSbRV':function(_0x117c03,_0x56a883){const _0x155bed=_0x131bc2;return _0x50c68a[_0x155bed(0x1ea)](_0x117c03,_0x56a883);}};if(_0x50c68a['WBaBa'](_0x50c68a['xQiuz'],_0x50c68a[_0x131bc2(0x1f4)])){const _0x63777e={'UbQUT':function(_0x327f57,_0x5f4049){const _0x4a72cf=_0x131bc2;return _0x34ab57[_0x4a72cf(0x1b4)](_0x327f57,_0x5f4049);},'IsPEa':function(_0x518a88,_0x17d259){const _0x3474d5=_0x131bc2;return _0x34ab57[_0x3474d5(0x1d4)](_0x518a88,_0x17d259);}},_0x2da1bc={};_0x2da1bc['apiVersion']=_0x34ab57[_0x131bc2(0x220)],_0x2da1bc[_0x131bc2(0x239)]=_0x633165;const _0x3c4fca=new _0x241ca8[(_0x131bc2(0x212))](_0x2da1bc);_0x3c4fca[_0x131bc2(0x1f3)]()[_0x131bc2(0x192)]()['then'](_0x4a78a9=>{const _0x1e4a42=_0x131bc2;_0x63777e[_0x1e4a42(0x241)](_0x137834,_0x4a78a9);})['catch'](_0x4eb267=>{const _0x4c94e0=_0x131bc2;_0x345496[_0x4c94e0(0x1fc)](_0x4c94e0(0x21a)+_0x4eb267),_0x63777e[_0x4c94e0(0x1b5)](_0x43e38f,_0x4eb267);});}else{const _0x6a3ec2={};_0x6a3ec2['apiVersion']=_0x50c68a[_0x131bc2(0x23d)];const _0x7c6428=new awsSDK[(_0x131bc2(0x212))](_0x6a3ec2);_0x7c6428[_0x131bc2(0x23a)]()[_0x131bc2(0x192)]()['then']((_0x2d6db0,_0x4b23ce)=>{const _0x39180f=_0x131bc2,_0x5a5f9a={'TPKsk':function(_0x56bd20,_0x27c3cb){return _0x50c68a['AyWlA'](_0x56bd20,_0x27c3cb);},'QMklT':function(_0x588631,_0x17e30e){const _0x452548=a25_0x35d4;return _0x50c68a[_0x452548(0x1ea)](_0x588631,_0x17e30e);}};if(_0x50c68a[_0x39180f(0x1e9)](_0x50c68a[_0x39180f(0x1d3)],_0x50c68a[_0x39180f(0x20f)])){if(_0x50c68a[_0x39180f(0x1e9)](_0x2d6db0,undefined)&&_0x50c68a[_0x39180f(0x1e9)](_0x2d6db0[_0x39180f(0x208)],undefined)){if(_0x50c68a[_0x39180f(0x1dc)](_0x50c68a[_0x39180f(0x215)],_0x50c68a[_0x39180f(0x215)]))_0x50c68a['yEIvd'](_0x325b69,_0x2d6db0['Regions']);else{const _0x2e2a1f={'jBRri':function(_0x42da4a,_0x185a1e){const _0x1061ff=_0x39180f;return _0x5a5f9a[_0x1061ff(0x1da)](_0x42da4a,_0x185a1e);}},_0x11ae58={};_0x11ae58['Bucket']=_0x28b95f,_0x68ad32[_0x39180f(0x1d6)](_0x11ae58)[_0x39180f(0x192)]()['then'](_0x2ae31f=>{const _0x3dfe33=_0x39180f;_0x1b468d[_0x3dfe33(0x20c)]('Bucket:\x20'+_0x3fea93+_0x3dfe33(0x19d)),_0x2e2a1f[_0x3dfe33(0x240)](_0xfb06fd,!![]);})[_0x39180f(0x1cc)](()=>{const _0xb496d0=_0x39180f;_0x59383a[_0xb496d0(0x1c0)](_0xb496d0(0x1bb)+_0x23cb02+_0xb496d0(0x1e5)),_0x2e2a1f[_0xb496d0(0x240)](_0x40f247,![]);});}}else _0x50c68a[_0x39180f(0x1dc)](_0x50c68a[_0x39180f(0x186)],_0x50c68a[_0x39180f(0x19c)])?_0x34ab57[_0x39180f(0x1ae)](_0x5471fb,_0x2bcba5):_0x50c68a['VnHvT'](_0x325b69,{});}else _0x5a5f9a[_0x39180f(0x1a8)](_0x5bd8d3,{});})[_0x131bc2(0x1cc)](_0x1e9b58=>{const _0x259e3b=_0x131bc2,_0x1673ad={'hWQGG':function(_0x9094bf,_0x283caf){return _0x34ab57['oRZYN'](_0x9094bf,_0x283caf);},'Mwxxi':function(_0x38224a,_0x57a2f6){const _0x179888=a25_0x35d4;return _0x34ab57[_0x179888(0x189)](_0x38224a,_0x57a2f6);},'ugzQh':_0x34ab57[_0x259e3b(0x1e7)]};if(_0x34ab57[_0x259e3b(0x1e1)](_0x34ab57['TKUaK'],_0x34ab57[_0x259e3b(0x235)]))logger[_0x259e3b(0x1fc)](_0x259e3b(0x1f7)+_0x1e9b58),_0x34ab57[_0x259e3b(0x223)](_0x5bf2b4,_0x1e9b58);else{const _0x579ec0={'xcDct':function(_0x530a70,_0x53a9c1){const _0x38708b=_0x259e3b;return _0x1673ad[_0x38708b(0x210)](_0x530a70,_0x53a9c1);},'AkzHo':function(_0x55d9ec,_0x506562){const _0x1dd5bb=_0x259e3b;return _0x1673ad[_0x1dd5bb(0x1af)](_0x55d9ec,_0x506562);},'barzb':_0x1673ad[_0x259e3b(0x1fb)]};return new _0x24f12d((_0xc80652,_0x2dde16)=>{const _0x1186dc=_0x259e3b,_0x1081b6={'KHUOm':function(_0x3a0be9,_0xf78e4c){const _0x29121f=a25_0x35d4;return _0x579ec0[_0x29121f(0x229)](_0x3a0be9,_0xf78e4c);}},_0x10d65a={};_0x10d65a['apiVersion']=_0x579ec0[_0x1186dc(0x1eb)];const _0x4a54d7=new _0x3c75a8[(_0x1186dc(0x224))](_0x10d65a),_0x8b36f={};_0x8b36f['name']=_0x29ef0f,_0x4a54d7[_0x1186dc(0x217)](_0x8b36f)[_0x1186dc(0x192)]()[_0x1186dc(0x1c1)](_0x3b6cef=>{const _0x1bb93b=_0x1186dc;_0x1081b6[_0x1bb93b(0x248)](_0xc80652,_0x3b6cef['cluster'][_0x1bb93b(0x1a6)][_0x1bb93b(0x1ab)]['issuer']);})['catch'](_0x35a656=>{const _0x446d2b=_0x1186dc;_0x402f99[_0x446d2b(0x1fc)](_0x446d2b(0x1e2)+_0x1fc366+':\x20'+_0x35a656),_0x579ec0['xcDct'](_0x2dde16,_0x35a656);});});}});}});},exports[a25_0x5d34a1(0x1ba)]=_0x5e9149=>{const _0x5a17d6=a25_0x5d34a1,_0x42e349={'iNOeb':function(_0x123df3,_0x231aea){return _0x123df3(_0x231aea);},'lLsjD':function(_0xd7a200,_0x4294fa){return _0xd7a200!==_0x4294fa;},'wmbMS':'iFAYJ','HWPxH':function(_0x127ad1,_0x3704b0){return _0x127ad1(_0x3704b0);},'jycaM':function(_0x9e5b19,_0x3610c9){return _0x9e5b19(_0x3610c9);},'oYJSS':_0x5a17d6(0x202),'mqqnf':function(_0x5d36c0,_0x13e48a){return _0x5d36c0(_0x13e48a);},'PxsGZ':function(_0x28a248,_0x225ee3){return _0x28a248(_0x225ee3);},'mccXQ':function(_0x41b62a,_0x1dbacf){return _0x41b62a===_0x1dbacf;},'hwaWN':'VvhKx','iLbAZ':_0x5a17d6(0x242),'VbWWe':'RLHWQ','JskNJ':_0x5a17d6(0x249)};return new Promise((_0x9dc0bb,_0x47ee09)=>{const _0x9b864d=_0x5a17d6,_0x55e77c={'MEBkb':function(_0x4a287a,_0x527241){const _0x22b917=a25_0x35d4;return _0x42e349[_0x22b917(0x1d2)](_0x4a287a,_0x527241);},'GnqTL':_0x42e349[_0x9b864d(0x1f6)],'RBhWJ':function(_0x3dd1bf,_0x536b32){const _0x72d86b=_0x9b864d;return _0x42e349[_0x72d86b(0x243)](_0x3dd1bf,_0x536b32);},'MrDsz':function(_0x161b46,_0x55c6b6){return _0x42e349['lLsjD'](_0x161b46,_0x55c6b6);},'jOrrG':function(_0x30ad1f,_0x3565d6){const _0x486ede=_0x9b864d;return _0x42e349[_0x486ede(0x1a4)](_0x30ad1f,_0x3565d6);},'VbmYB':function(_0x5ef043,_0x122f02){const _0x3e77e3=_0x9b864d;return _0x42e349[_0x3e77e3(0x1df)](_0x5ef043,_0x122f02);},'JamuT':function(_0x15a6e8,_0x14b73e){const _0x3019d7=_0x9b864d;return _0x42e349[_0x3019d7(0x21e)](_0x15a6e8,_0x14b73e);},'ihJnn':_0x42e349[_0x9b864d(0x1a7)],'Ydcnf':_0x42e349['iLbAZ'],'AgKtk':function(_0x4fb7f6,_0x14a244){const _0x1f214b=_0x9b864d;return _0x42e349[_0x1f214b(0x1df)](_0x4fb7f6,_0x14a244);}};if(_0x42e349[_0x9b864d(0x243)](_0x42e349['VbWWe'],_0x42e349[_0x9b864d(0x1b0)])){const _0xae3ee0={'gvOPW':function(_0x2a699d,_0x56adc6){const _0x4e670d=_0x9b864d;return _0x55e77c[_0x4e670d(0x194)](_0x2a699d,_0x56adc6);},'eTiSc':_0x55e77c[_0x9b864d(0x1d1)]};return new _0x56eba7((_0x2f9988,_0x4ec83e)=>{const _0x6b5e05=_0x9b864d,_0x1ff87d={'RtqZJ':function(_0x1d744c,_0x460fb6){const _0x5585b1=a25_0x35d4;return _0xae3ee0[_0x5585b1(0x1a9)](_0x1d744c,_0x460fb6);}},_0x19242f={};_0x19242f[_0x6b5e05(0x22a)]=_0xae3ee0['eTiSc'],_0x19242f['region']=_0x2be7e6;const _0x563ed8=new _0x10e413[(_0x6b5e05(0x212))](_0x19242f);_0x563ed8['describeSubnets']()['promise']()[_0x6b5e05(0x1c1)](_0x1dde00=>{const _0x52e65a=_0x6b5e05;_0x1ff87d[_0x52e65a(0x234)](_0x2f9988,_0x1dde00);})['catch'](_0x4e02c8=>{const _0x599ae2=_0x6b5e05;_0x3f53f3[_0x599ae2(0x1fc)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x4e02c8),_0xae3ee0[_0x599ae2(0x1a9)](_0x4ec83e,_0x4e02c8);});});}else{const _0xa20e39={};_0xa20e39[_0x9b864d(0x22a)]=_0x42e349[_0x9b864d(0x1bf)];const _0x4c4d69=new awsSDK[(_0x9b864d(0x224))](_0xa20e39),_0x5abdbb={};_0x5abdbb['name']=_0x5e9149,_0x4c4d69[_0x9b864d(0x217)](_0x5abdbb)[_0x9b864d(0x192)]()['then'](_0x14362b=>{const _0x16ed85=_0x9b864d,_0x10fe4e={'qtcrX':function(_0x476e38,_0x3ecc33){const _0x46daf6=a25_0x35d4;return _0x42e349[_0x46daf6(0x18b)](_0x476e38,_0x3ecc33);}};_0x42e349[_0x16ed85(0x243)](_0x42e349['wmbMS'],_0x42e349[_0x16ed85(0x236)])?_0x10fe4e[_0x16ed85(0x1bd)](_0xed3d68,_0x318d0d):_0x42e349[_0x16ed85(0x23b)](_0x9dc0bb,_0x14362b[_0x16ed85(0x237)]['identity']['oidc'][_0x16ed85(0x226)]);})['catch'](_0x397e93=>{const _0x2ab8d7=_0x9b864d;_0x55e77c[_0x2ab8d7(0x1a3)](_0x55e77c[_0x2ab8d7(0x1fe)],_0x55e77c[_0x2ab8d7(0x24c)])?_0x55e77c['RBhWJ'](_0x327956,_0x33c574)&&_0x55e77c[_0x2ab8d7(0x1b1)](_0x530f87['Regions'],_0x398bcf)?_0x55e77c[_0x2ab8d7(0x227)](_0x55f62c,_0x1faa42['Regions']):_0x55e77c[_0x2ab8d7(0x1ad)](_0x451abc,{}):(logger['error'](_0x2ab8d7(0x1e2)+_0x5e9149+':\x20'+_0x397e93),_0x55e77c[_0x2ab8d7(0x1c9)](_0x47ee09,_0x397e93));});}});},exports['awsObj']=awsSDK;
1
+ const a25_0x4ab8b1=a25_0x4cf9;(function(_0x4dc74a,_0x222ab8){const _0x4b463a=a25_0x4cf9,_0x3ade56=_0x4dc74a();while(!![]){try{const _0x259a00=-parseInt(_0x4b463a(0x188))/0x1+-parseInt(_0x4b463a(0x12d))/0x2*(parseInt(_0x4b463a(0x18d))/0x3)+parseInt(_0x4b463a(0x142))/0x4*(parseInt(_0x4b463a(0x135))/0x5)+-parseInt(_0x4b463a(0x19c))/0x6*(parseInt(_0x4b463a(0x148))/0x7)+parseInt(_0x4b463a(0x14b))/0x8*(parseInt(_0x4b463a(0x12f))/0x9)+-parseInt(_0x4b463a(0x1ba))/0xa+parseInt(_0x4b463a(0x15f))/0xb;if(_0x259a00===_0x222ab8)break;else _0x3ade56['push'](_0x3ade56['shift']());}catch(_0xdbbeb6){_0x3ade56['push'](_0x3ade56['shift']());}}}(a25_0x5599,0x9e972));function a25_0x4cf9(_0x134e9b,_0x5228b8){const _0x5599ff=a25_0x5599();return a25_0x4cf9=function(_0x4cf94d,_0xbf808d){_0x4cf94d=_0x4cf94d-0x12b;let _0x53cb9e=_0x5599ff[_0x4cf94d];return _0x53cb9e;},a25_0x4cf9(_0x134e9b,_0x5228b8);}const awsSDK=require(a25_0x4ab8b1(0x15a)),{logger}=require(a25_0x4ab8b1(0x150));function a25_0x5599(){const _0x35925a=['cluster','cWVoT','isBucketPresent','lqOuu','aws-sdk','GLJvF','ACEFy','zhcwf','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','23519320HTwPGr','describeSubnets','describeRegions','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','KVjOg','IMQBK','catch','SKFvg','bhEXw','uYiXu','TzmRi','efaxu','esNLB','gnyww','YSkAy','fKQax','nOKHd','kjKyt','sNEwb','IQDIw','PqFEe','hzgEQ','warn','WkLfC','Regions','tChJf','dLwwo','2017-11-01','GCbWD','oaNrZ','region','iPQyD','SGGNo','adKXV','dtiKo','XjrZA','QnOBi','VHFCR','fetchVPCs','SceQS','headBucket','962852PEeOJS','Wlxlz','awsObj','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','HJuez','182598zqtAhJ','Bucket:\x20','Zfxfl','WnBTY','ueUyR','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','MGlFN','WJnMe','mCcnd','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','wBxsw','UYXRO','XSvNz','hnmgs','2016-11-15','924DJFNQm','VhoXk','DfzaB','identity','pFFmI','RkXJR','describeCluster','promise','ojMxq','fkBpi','UQZeC','OvVDo','wPgMv','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','AyIGz','MpSGO','PWYXR','apiVersion','pMWwb','nopjK','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','zTGDo','jGQvJ','nSWrv','lCoZr','SEHlR','Bucket','jdtDi','SfNOV','uZqkW','8239130UqTqbM','kbxhV','cVqUB','XKNyT','describeVpcs','mqhdn','EC2','VRKzT','YxKzL','cLJGi','zCQkQ','uzCqV','MKVaN','ZGVSf','nmiyD','eRCpN','DfKlF','VzEIt','mHkDx','EKS','fIucA','fetchSubnets','aPBfS','sewlT','QOtvR','MrbJC','syShG','AlUFj','info','BkPcV','XkhSJ','MESLd','zDKSC','MVKRz','Pjzaq','then','EHjgv','fetchSecurityGroups','mqawe','26sDSAIH','vdUnY','9vMiwOn','LqFon','QYCgF','TFDbP','fHKYX','issuer','169870kErFNp','HMoVe','CqPsP','getAWSRegions','lIJOd','bmFcL','yUTor','XGNPX','TzeEI','zpdTU','PVUjC','krQVr','kJOUh','124YLVuGF','wcqrP','fHKHg','name','ftAnd','YZJXU','1799UNFPML','dfUZi','BPqxp','606984RPPPQe','error','pBGZJ','kCBPF','kIyBv','../config/logger','describeSecurityGroups','kTTbh','gyBfP','oidc','NpSYG'];a25_0x5599=function(){return _0x35925a;};return a25_0x5599();}exports[a25_0x4ab8b1(0x185)]=_0x2d4702=>{const _0x32a414=a25_0x4ab8b1,_0x21e892={'sewlT':function(_0x4e766e,_0x451f36){return _0x4e766e(_0x451f36);},'wBxsw':_0x32a414(0x17a),'GkWPj':function(_0xf8e86e,_0xf2b578){return _0xf8e86e===_0xf2b578;},'Zfxfl':_0x32a414(0x16c),'uZqkW':'bsPtR','XKNyT':function(_0x9fe4c6,_0x21d9c5){return _0x9fe4c6(_0x21d9c5);},'kCBPF':function(_0x909700,_0x5cc57f){return _0x909700(_0x5cc57f);},'ACEFy':function(_0x487ec7,_0x3d530b){return _0x487ec7!==_0x3d530b;},'VHFCR':_0x32a414(0x16e),'phtQe':function(_0x170c06,_0x933531){return _0x170c06(_0x933531);},'jIUOC':function(_0x341b3b,_0x576c27){return _0x341b3b!==_0x576c27;},'jdtDi':_0x32a414(0x199),'CbEJo':_0x32a414(0x19b)};return new Promise((_0x37ff9a,_0x1738df)=>{const _0x4ec18c=_0x32a414,_0x197091={'ayqeA':function(_0x2530a6,_0x5066b1){const _0x232eb0=a25_0x4cf9;return _0x21e892[_0x232eb0(0x14e)](_0x2530a6,_0x5066b1);},'wcqrP':function(_0x3b797e,_0x5b7401){return _0x21e892['kCBPF'](_0x3b797e,_0x5b7401);},'nSWrv':function(_0x10b726,_0x4f724e){const _0x27f65f=a25_0x4cf9;return _0x21e892[_0x27f65f(0x1bd)](_0x10b726,_0x4f724e);},'vdUnY':function(_0xdb1e8d,_0x5d2819){const _0x276bd6=a25_0x4cf9;return _0x21e892[_0x276bd6(0x15c)](_0xdb1e8d,_0x5d2819);},'NpSYG':_0x21e892[_0x4ec18c(0x184)],'UQZeC':function(_0x59e8f8,_0x3914a2){return _0x21e892['phtQe'](_0x59e8f8,_0x3914a2);}};if(_0x21e892['jIUOC'](_0x21e892['jdtDi'],_0x21e892[_0x4ec18c(0x1b7)])){const _0x4b3f6b={'UYXRO':function(_0x1b988e,_0x6549a){const _0x4beb7d=_0x4ec18c;return _0x21e892[_0x4beb7d(0x1d1)](_0x1b988e,_0x6549a);},'zDKSC':function(_0x2f48ce,_0x5db94c){return _0x21e892['sewlT'](_0x2f48ce,_0x5db94c);}},_0x57dc3c={};_0x57dc3c['apiVersion']=_0x21e892[_0x4ec18c(0x197)];const _0x3f77be=new _0x3a1af9['EKS'](_0x57dc3c),_0x4165eb={};_0x4165eb[_0x4ec18c(0x145)]=_0x59c4f1,_0x3f77be['describeCluster'](_0x4165eb)[_0x4ec18c(0x1a3)]()['then'](_0x4f5df4=>{const _0x5201aa=_0x4ec18c;_0x4b3f6b[_0x5201aa(0x198)](_0x1528bb,_0x4f5df4[_0x5201aa(0x156)][_0x5201aa(0x19f)][_0x5201aa(0x154)][_0x5201aa(0x134)]);})[_0x4ec18c(0x165)](_0x466524=>{const _0x2a6e58=_0x4ec18c;_0xd368df[_0x2a6e58(0x14c)](_0x2a6e58(0x1b0)+_0x725642+':\x20'+_0x466524),_0x4b3f6b[_0x2a6e58(0x1da)](_0x51598f,_0x466524);});}else{const _0x1d462f={};_0x1d462f[_0x4ec18c(0x1ad)]=_0x21e892['CbEJo'],_0x1d462f['region']=_0x2d4702;const _0x296884=new awsSDK[(_0x4ec18c(0x1c0))](_0x1d462f);_0x296884[_0x4ec18c(0x1be)]()[_0x4ec18c(0x1a3)]()[_0x4ec18c(0x1dd)](_0x49a1d8=>{const _0x1a7995=_0x4ec18c;if(_0x21e892['GkWPj'](_0x21e892[_0x1a7995(0x18f)],_0x21e892[_0x1a7995(0x1b9)])){const _0x2eac69={'nmiyD':function(_0x560e2d,_0x4d38e0){return _0x197091['ayqeA'](_0x560e2d,_0x4d38e0);},'dtiKo':function(_0x10ec1c,_0x3995b2){const _0x44ee66=_0x1a7995;return _0x197091[_0x44ee66(0x143)](_0x10ec1c,_0x3995b2);}},_0x30cf39=new _0x85ca1c['S3']();return new _0x573830((_0x199ad9,_0x1ad349)=>{const _0x560b26=_0x1a7995,_0x462693={'WkLfC':function(_0x4148c9,_0x1d2491){const _0x500dd3=a25_0x4cf9;return _0x2eac69[_0x500dd3(0x1c8)](_0x4148c9,_0x1d2491);},'VVzcq':function(_0x5032f6,_0x3b00c1){const _0x30448f=a25_0x4cf9;return _0x2eac69[_0x30448f(0x181)](_0x5032f6,_0x3b00c1);}},_0xb9616={};_0xb9616[_0x560b26(0x1b6)]=_0x403521,_0x30cf39[_0x560b26(0x187)](_0xb9616)['promise']()[_0x560b26(0x1dd)](_0x53ee12=>{const _0x5668b6=_0x560b26;_0x3cabd7[_0x5668b6(0x175)]('Bucket:\x20'+_0x78ced+_0x5668b6(0x18b)),_0x462693[_0x5668b6(0x176)](_0x199ad9,!![]);})['catch'](()=>{const _0x468bbb=_0x560b26;_0x11bfca[_0x468bbb(0x1d6)](_0x468bbb(0x18e)+_0x6d890f+_0x468bbb(0x196)),_0x462693['VVzcq'](_0x199ad9,![]);});});}else _0x21e892['XKNyT'](_0x37ff9a,_0x49a1d8);})['catch'](_0x1cbe23=>{const _0x1d9b00=_0x4ec18c;_0x197091[_0x1d9b00(0x12e)](_0x197091[_0x1d9b00(0x155)],_0x197091[_0x1d9b00(0x155)])?_0x197091[_0x1d9b00(0x1b3)](_0x300017,_0x118e28):(logger[_0x1d9b00(0x14c)](_0x1d9b00(0x162)+_0x1cbe23),_0x197091[_0x1d9b00(0x1a6)](_0x1738df,_0x1cbe23));});}});},exports[a25_0x4ab8b1(0x158)]=_0x1d032d=>{const _0x411e65=a25_0x4ab8b1,_0x412573={'lCoZr':function(_0x4fa941,_0x17b093){return _0x4fa941!==_0x17b093;},'EHjgv':_0x411e65(0x172),'CqPsP':function(_0x316dcf,_0x5cdd74){return _0x316dcf(_0x5cdd74);},'PVUjC':_0x411e65(0x13d),'RiOnB':_0x411e65(0x13e),'adKXV':function(_0x14acac,_0x16dca0){return _0x14acac(_0x16dca0);},'krQVr':function(_0xb7142f,_0x3f92d3){return _0xb7142f===_0x3f92d3;},'BPqxp':_0x411e65(0x1c2),'sNEwb':'Sldhm'},_0x162056=new awsSDK['S3']();return new Promise((_0x109588,_0x2db89b)=>{const _0x163642=_0x411e65,_0x3f43f7={'ftAnd':function(_0x1f4675,_0x3644c3){const _0x4ac66a=a25_0x4cf9;return _0x412573[_0x4ac66a(0x180)](_0x1f4675,_0x3644c3);},'efaxu':function(_0x3b8a06,_0x169ac3){return _0x412573['adKXV'](_0x3b8a06,_0x169ac3);}};if(_0x412573[_0x163642(0x140)](_0x412573[_0x163642(0x14a)],_0x412573[_0x163642(0x171)]))_0x59429e[_0x163642(0x14c)](_0x163642(0x15e)+_0x5a418f),_0x3f43f7[_0x163642(0x146)](_0x20003d,_0x5a3433);else{const _0x30e1f9={};_0x30e1f9['Bucket']=_0x1d032d,_0x162056[_0x163642(0x187)](_0x30e1f9)[_0x163642(0x1a3)]()['then'](_0x3f79e2=>{const _0x3027b7=_0x163642;_0x412573[_0x3027b7(0x1b4)](_0x412573[_0x3027b7(0x1de)],_0x412573[_0x3027b7(0x1de)])?(_0x52fd6b['error'](_0x3027b7(0x1b0)+_0x1c1d08+':\x20'+_0x3aa73d),_0x3f43f7[_0x3027b7(0x16a)](_0x517c55,_0xbffb6c)):(logger[_0x3027b7(0x175)]('Bucket:\x20'+_0x1d032d+_0x3027b7(0x18b)),_0x412573[_0x3027b7(0x137)](_0x109588,!![]));})[_0x163642(0x165)](()=>{const _0x409bd7=_0x163642,_0x256cfc={'QOtvR':function(_0x1b57b7,_0xb26945){return _0x412573['CqPsP'](_0x1b57b7,_0xb26945);}};_0x412573[_0x409bd7(0x1b4)](_0x412573[_0x409bd7(0x13f)],_0x412573['RiOnB'])?(logger['info']('Bucket:\x20'+_0x1d032d+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x412573[_0x409bd7(0x137)](_0x109588,![])):(_0x32b87a[_0x409bd7(0x14c)](_0x409bd7(0x1a9)+_0x6990a6),_0x256cfc[_0x409bd7(0x1d2)](_0x334bf3,_0x337ae1));});}});},exports[a25_0x4ab8b1(0x1cf)]=_0x50ad1f=>{const _0x112502=a25_0x4ab8b1,_0x9f830c={'KVjOg':function(_0x50ed12,_0x35a035){return _0x50ed12(_0x35a035);},'Wlxlz':function(_0x49b58a,_0x1c1c6c){return _0x49b58a===_0x1c1c6c;},'DfKlF':_0x112502(0x1c9),'PqFEe':function(_0x34a6a5,_0x54864d){return _0x34a6a5(_0x54864d);},'fIucA':function(_0x1802a9,_0x1f1dc9){return _0x1802a9!==_0x1f1dc9;},'ptgFX':_0x112502(0x159),'esNLB':_0x112502(0x1ac),'BkPcV':'2016-11-15','kTTbh':function(_0x555412,_0xdfb68b){return _0x555412===_0xdfb68b;},'dLwwo':_0x112502(0x191),'jtcky':_0x112502(0x1cc)};return new Promise((_0x1e4e23,_0x33443e)=>{const _0x5721b3=_0x112502,_0x4ca1b3={'cWVoT':function(_0x2638e4,_0x5dccdd){const _0x12298=a25_0x4cf9;return _0x9f830c[_0x12298(0x173)](_0x2638e4,_0x5dccdd);},'EnALY':function(_0x3d0de9,_0x1bf8e8){const _0x2749ca=a25_0x4cf9;return _0x9f830c[_0x2749ca(0x1ce)](_0x3d0de9,_0x1bf8e8);},'zCQkQ':_0x9f830c['ptgFX'],'tChJf':_0x9f830c[_0x5721b3(0x16b)],'nBbCw':_0x9f830c[_0x5721b3(0x1d7)]};if(_0x9f830c[_0x5721b3(0x152)](_0x9f830c[_0x5721b3(0x179)],_0x9f830c['jtcky']))_0x22137c[_0x5721b3(0x14c)](_0x5721b3(0x162)+_0x4c55f4),_0x9f830c[_0x5721b3(0x163)](_0x8d4ab0,_0x18c224);else{const _0x370ca5={};_0x370ca5['apiVersion']=_0x9f830c[_0x5721b3(0x1d7)],_0x370ca5['region']=_0x50ad1f;const _0x2c20b5=new awsSDK[(_0x5721b3(0x1c0))](_0x370ca5);_0x2c20b5['describeSubnets']()['promise']()['then'](_0x12d2bf=>{const _0x56020d=_0x5721b3,_0x4ce78c={'pMWwb':function(_0x4642fa,_0x335dde){const _0xfe1a5a=a25_0x4cf9;return _0x4ca1b3[_0xfe1a5a(0x157)](_0x4642fa,_0x335dde);}};_0x4ca1b3['EnALY'](_0x4ca1b3[_0x56020d(0x1c4)],_0x4ca1b3[_0x56020d(0x178)])?_0x4ca1b3[_0x56020d(0x157)](_0x1e4e23,_0x12d2bf):_0x4ce78c[_0x56020d(0x1ae)](_0x4744a1,{});})[_0x5721b3(0x165)](_0x3945d7=>{const _0x39866b=_0x5721b3;if(_0x9f830c[_0x39866b(0x189)](_0x9f830c[_0x39866b(0x1ca)],_0x9f830c[_0x39866b(0x1ca)]))logger[_0x39866b(0x14c)](_0x39866b(0x15e)+_0x3945d7),_0x9f830c[_0x39866b(0x163)](_0x33443e,_0x3945d7);else{const _0x46f6ef={'gyBfP':function(_0x360708,_0x12a161){return _0x4ca1b3['cWVoT'](_0x360708,_0x12a161);},'VRKzT':_0x4ca1b3['nBbCw']};return new _0x3243e0((_0xd8c61e,_0x464ed4)=>{const _0x51c10e=_0x39866b,_0x5c3eb2={'mqawe':function(_0x3e294d,_0xbf9591){const _0x25059f=a25_0x4cf9;return _0x46f6ef[_0x25059f(0x153)](_0x3e294d,_0xbf9591);}},_0x4a5f7d={};_0x4a5f7d[_0x51c10e(0x1ad)]=_0x46f6ef[_0x51c10e(0x1c1)],_0x4a5f7d['region']=_0x1de64e;const _0x33ca2d=new _0x4fe731[(_0x51c10e(0x1c0))](_0x4a5f7d);_0x33ca2d['describeSecurityGroups']()[_0x51c10e(0x1a3)]()[_0x51c10e(0x1dd)](_0x57376d=>{const _0x2ffb48=_0x51c10e;_0x46f6ef[_0x2ffb48(0x153)](_0xd8c61e,_0x57376d);})[_0x51c10e(0x165)](_0x64154e=>{const _0xb1653d=_0x51c10e;_0x46176b['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x64154e),_0x5c3eb2[_0xb1653d(0x12c)](_0x464ed4,_0x64154e);});});}});}});},exports[a25_0x4ab8b1(0x12b)]=_0x4e80cf=>{const _0x337d19=a25_0x4ab8b1,_0x58e289={'ZGVSf':function(_0x18e638,_0x2b587f){return _0x18e638!==_0x2b587f;},'Pjzaq':_0x337d19(0x1cb),'ObYSv':_0x337d19(0x17b),'bmFcL':function(_0x151798,_0x15076f){return _0x151798(_0x15076f);},'BfJTp':_0x337d19(0x17a),'DfzaB':function(_0x2bb845,_0x1dbe45){return _0x2bb845(_0x1dbe45);},'GBsmi':_0x337d19(0x19b),'SEHlR':'UlgDA','SKFvg':'maCZz'};return new Promise((_0x522532,_0x180714)=>{const _0x37df81=_0x337d19,_0x3eb7b1={'iPQyD':function(_0x25b706,_0x37391b){const _0x3f4682=a25_0x4cf9;return _0x58e289[_0x3f4682(0x13a)](_0x25b706,_0x37391b);},'WVLSE':_0x58e289['BfJTp'],'SfNOV':function(_0x2a0414,_0x3637d6){const _0xd4dfe2=a25_0x4cf9;return _0x58e289[_0xd4dfe2(0x19e)](_0x2a0414,_0x3637d6);},'HJuez':_0x58e289['GBsmi'],'MESLd':function(_0x56caed,_0x500ef){const _0x29afdc=a25_0x4cf9;return _0x58e289[_0x29afdc(0x1c7)](_0x56caed,_0x500ef);},'IMQBK':_0x58e289[_0x37df81(0x1b5)],'mqhdn':function(_0x3fb31e,_0x5182f3){const _0x236bbe=_0x37df81;return _0x58e289[_0x236bbe(0x13a)](_0x3fb31e,_0x5182f3);}};if(_0x58e289['ZGVSf'](_0x58e289[_0x37df81(0x166)],_0x58e289[_0x37df81(0x166)])){const _0x473df3={'ZacSU':function(_0x59a76d,_0x36d58f){const _0x4d76eb=_0x37df81;return _0x3eb7b1[_0x4d76eb(0x17e)](_0x59a76d,_0x36d58f);},'pBGZJ':function(_0x5cec2e,_0x4c8e12){const _0x267f91=_0x37df81;return _0x3eb7b1[_0x267f91(0x17e)](_0x5cec2e,_0x4c8e12);},'mCcnd':_0x3eb7b1['WVLSE']};return new _0x3412a0((_0x20a09d,_0x9549c5)=>{const _0x59e11f=_0x37df81,_0x4bb074={};_0x4bb074[_0x59e11f(0x1ad)]=_0x473df3[_0x59e11f(0x195)];const _0x1203db=new _0x568c62['EKS'](_0x4bb074),_0x2701a2={};_0x2701a2['name']=_0x1c7c31,_0x1203db[_0x59e11f(0x1a2)](_0x2701a2)[_0x59e11f(0x1a3)]()[_0x59e11f(0x1dd)](_0x4f1ede=>{const _0x52e858=_0x59e11f;_0x473df3['ZacSU'](_0x20a09d,_0x4f1ede['cluster'][_0x52e858(0x19f)][_0x52e858(0x154)][_0x52e858(0x134)]);})[_0x59e11f(0x165)](_0x3f033b=>{const _0x55320e=_0x59e11f;_0x549977[_0x55320e(0x14c)](_0x55320e(0x1b0)+_0x47c460+':\x20'+_0x3f033b),_0x473df3[_0x55320e(0x14d)](_0x9549c5,_0x3f033b);});});}else{const _0x50897b={};_0x50897b[_0x37df81(0x1ad)]=_0x58e289['GBsmi'],_0x50897b[_0x37df81(0x17d)]=_0x4e80cf;const _0x4d9c40=new awsSDK[(_0x37df81(0x1c0))](_0x50897b);_0x4d9c40[_0x37df81(0x151)]()['promise']()[_0x37df81(0x1dd)](_0x144d2e=>{const _0x384878=_0x37df81;if(_0x58e289[_0x384878(0x1c7)](_0x58e289[_0x384878(0x1dc)],_0x58e289['ObYSv']))_0x58e289['bmFcL'](_0x522532,_0x144d2e);else{const _0x14d9a4={'aPBfS':function(_0x2263d1,_0x30970d){return _0x3eb7b1['iPQyD'](_0x2263d1,_0x30970d);},'AyIGz':function(_0x43e66b,_0x36edf4){const _0xd50d46=_0x384878;return _0x3eb7b1[_0xd50d46(0x1b8)](_0x43e66b,_0x36edf4);},'QYCgF':_0x3eb7b1[_0x384878(0x18c)]};return new _0x40bc2d((_0x3ee212,_0x5d3417)=>{const _0x735f14=_0x384878,_0x162f80={};_0x162f80[_0x735f14(0x1ad)]=_0x14d9a4[_0x735f14(0x131)],_0x162f80[_0x735f14(0x17d)]=_0x2b5dbf;const _0x3c6cc3=new _0xb2cd9[(_0x735f14(0x1c0))](_0x162f80);_0x3c6cc3['describeSubnets']()['promise']()[_0x735f14(0x1dd)](_0x5452e7=>{const _0x1d67fd=_0x735f14;_0x14d9a4[_0x1d67fd(0x1d0)](_0x3ee212,_0x5452e7);})[_0x735f14(0x165)](_0x15cc54=>{const _0xf6f14=_0x735f14;_0xce5d82['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x15cc54),_0x14d9a4[_0xf6f14(0x1aa)](_0x5d3417,_0x15cc54);});});}})[_0x37df81(0x165)](_0x385b4e=>{const _0x121250=_0x37df81,_0x3826a6={'uzCqV':function(_0x47f631,_0x5a64ad){const _0x1a3ca6=a25_0x4cf9;return _0x3eb7b1[_0x1a3ca6(0x17e)](_0x47f631,_0x5a64ad);}};if(_0x3eb7b1[_0x121250(0x1d9)](_0x3eb7b1[_0x121250(0x164)],_0x3eb7b1['IMQBK'])){const _0x4f6e1b={'MKVaN':function(_0x2a255c,_0x205763){const _0x58b76a=_0x121250;return _0x3eb7b1[_0x58b76a(0x17e)](_0x2a255c,_0x205763);}},_0x462ef9={};_0x462ef9[_0x121250(0x1b6)]=_0x42eb9d,_0x26c18e['headBucket'](_0x462ef9)[_0x121250(0x1a3)]()['then'](_0x2cd4b7=>{const _0xc25da6=_0x121250;_0x4b3cdd[_0xc25da6(0x175)](_0xc25da6(0x18e)+_0x4d0bb7+_0xc25da6(0x18b)),_0x3826a6[_0xc25da6(0x1c5)](_0x22de95,!![]);})['catch'](()=>{const _0x154a62=_0x121250;_0x43f70c[_0x154a62(0x1d6)](_0x154a62(0x18e)+_0x1a2602+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x4f6e1b[_0x154a62(0x1c6)](_0x37fd41,![]);});}else logger[_0x121250(0x14c)](_0x121250(0x1a9)+_0x385b4e),_0x3eb7b1[_0x121250(0x1bf)](_0x180714,_0x385b4e);});}});},exports[a25_0x4ab8b1(0x138)]=()=>{const _0x1eb84d=a25_0x4ab8b1,_0x4860b6={'fHKYX':function(_0xaf716c,_0xc27871){return _0xaf716c(_0xc27871);},'fHKHg':function(_0x3d3830,_0x23bb11){return _0x3d3830!==_0x23bb11;},'XkhSJ':_0x1eb84d(0x14f),'YSkAy':_0x1eb84d(0x1a7),'zTGDo':function(_0x10986e,_0x453f9b){return _0x10986e===_0x453f9b;},'SGGNo':'cUOdA','hnmgs':_0x1eb84d(0x19d),'TzmRi':function(_0x10272f,_0x3dc56c){return _0x10272f===_0x3dc56c;},'MVKRz':_0x1eb84d(0x1d5),'WJnMe':_0x1eb84d(0x186),'MGlFN':_0x1eb84d(0x147),'vHKLR':function(_0x5deae0,_0x19cccf){return _0x5deae0(_0x19cccf);},'jGQvJ':function(_0x30fa6e,_0xc5ee53){return _0x30fa6e(_0xc5ee53);},'jrzUM':_0x1eb84d(0x19b),'cVqUB':'TQEYe','XGNPX':_0x1eb84d(0x1a5)};return new Promise((_0x1cb3c6,_0x28e620)=>{const _0x43b655=_0x1eb84d,_0x39c130={'RkXJR':function(_0x53bb0f,_0x1c4358){const _0x5d7a88=a25_0x4cf9;return _0x4860b6[_0x5d7a88(0x144)](_0x53bb0f,_0x1c4358);},'yUTor':function(_0xbdf49e,_0x56d068){return _0x4860b6['vHKLR'](_0xbdf49e,_0x56d068);},'XjrZA':function(_0xf3e2dd,_0x24cf10){const _0x1a7c4a=a25_0x4cf9;return _0x4860b6[_0x1a7c4a(0x1b2)](_0xf3e2dd,_0x24cf10);},'wPgMv':_0x4860b6['jrzUM']};if(_0x4860b6[_0x43b655(0x144)](_0x4860b6[_0x43b655(0x1bc)],_0x4860b6[_0x43b655(0x13c)])){const _0x44f76e={};_0x44f76e['apiVersion']=_0x4860b6['jrzUM'];const _0x2937f9=new awsSDK[(_0x43b655(0x1c0))](_0x44f76e);_0x2937f9[_0x43b655(0x161)]()[_0x43b655(0x1a3)]()[_0x43b655(0x1dd)]((_0x550e7a,_0xfb38e3)=>{const _0x4b1704=_0x43b655,_0x123aac={'syShG':function(_0x3102bf,_0x2cc4fb){const _0x58f2f5=a25_0x4cf9;return _0x4860b6[_0x58f2f5(0x133)](_0x3102bf,_0x2cc4fb);}};_0x4860b6['fHKHg'](_0x4860b6[_0x4b1704(0x1d8)],_0x4860b6[_0x4b1704(0x16d)])?_0x4860b6['fHKHg'](_0x550e7a,undefined)&&_0x4860b6['fHKHg'](_0x550e7a[_0x4b1704(0x177)],undefined)?_0x4860b6['zTGDo'](_0x4860b6[_0x4b1704(0x17f)],_0x4860b6[_0x4b1704(0x19a)])?(_0x3000b6[_0x4b1704(0x175)](_0x4b1704(0x18e)+_0x39ef2c+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x123aac[_0x4b1704(0x1d4)](_0x5d7cd5,!![])):_0x4860b6[_0x4b1704(0x133)](_0x1cb3c6,_0x550e7a[_0x4b1704(0x177)]):_0x4860b6[_0x4b1704(0x169)](_0x4860b6[_0x4b1704(0x1db)],_0x4860b6[_0x4b1704(0x194)])?_0x123aac[_0x4b1704(0x1d4)](_0x1355a2,_0x512bac[_0x4b1704(0x177)]):_0x4860b6[_0x4b1704(0x133)](_0x1cb3c6,{}):_0x39c130[_0x4b1704(0x1a1)](_0x16785f,_0x16becb)&&_0x39c130['RkXJR'](_0x4ba1ed[_0x4b1704(0x177)],_0x12f34d)?_0x39c130[_0x4b1704(0x13b)](_0x3c2782,_0x34e37b[_0x4b1704(0x177)]):_0x39c130[_0x4b1704(0x13b)](_0x1cbe22,{});})[_0x43b655(0x165)](_0x23ac0b=>{const _0x383ae7=_0x43b655;_0x4860b6[_0x383ae7(0x1b1)](_0x4860b6[_0x383ae7(0x193)],_0x4860b6['MGlFN'])?(logger[_0x383ae7(0x14c)](_0x383ae7(0x192)+_0x23ac0b),_0x4860b6[_0x383ae7(0x133)](_0x28e620,_0x23ac0b)):_0x39c130[_0x383ae7(0x13b)](_0x1cde39,_0xca73ee[_0x383ae7(0x156)][_0x383ae7(0x19f)][_0x383ae7(0x154)][_0x383ae7(0x134)]);});}else{const _0x2e690f={'nOKHd':function(_0x239c24,_0x3e75b0){const _0x2b4c19=_0x43b655;return _0x39c130[_0x2b4c19(0x182)](_0x239c24,_0x3e75b0);}},_0x5988c6={};_0x5988c6['apiVersion']=_0x39c130[_0x43b655(0x1a8)],_0x5988c6[_0x43b655(0x17d)]=_0x463668;const _0x314218=new _0x4493e2[(_0x43b655(0x1c0))](_0x5988c6);_0x314218[_0x43b655(0x160)]()['promise']()['then'](_0x3971ff=>{const _0x17e5f5=_0x43b655;_0x2e690f[_0x17e5f5(0x16f)](_0x311e4f,_0x3971ff);})[_0x43b655(0x165)](_0x4bb8bd=>{const _0x38e07f=_0x43b655;_0x24cccf[_0x38e07f(0x14c)](_0x38e07f(0x15e)+_0x4bb8bd),_0x39c130[_0x38e07f(0x182)](_0x3f93ba,_0x4bb8bd);});}});},exports['getOidcUrl']=_0x4a18e9=>{const _0x129bb0=a25_0x4ab8b1,_0x40524c={'HMoVe':function(_0x31f48a,_0x4abc51){return _0x31f48a(_0x4abc51);},'bwHdS':'2016-11-15','uYiXu':function(_0x32d1e9,_0x1d79c0){return _0x32d1e9===_0x1d79c0;},'kbxhV':_0x129bb0(0x1a0),'KtAfh':function(_0x1388c8,_0x4cf583){return _0x1388c8(_0x4cf583);},'QnOBi':function(_0x4438d4,_0x31be82){return _0x4438d4(_0x31be82);},'oaNrZ':function(_0x1f3845,_0x5f4f29){return _0x1f3845===_0x5f4f29;},'dfUZi':'ULGiT','TFDbP':'oSTZr','MrbJC':function(_0xea19f3,_0x15c27c){return _0xea19f3!==_0x15c27c;},'KfuqA':'yWsxi','bhEXw':'lScLA','ojMxq':_0x129bb0(0x17a)};return new Promise((_0x25b12c,_0x3bae87)=>{const _0x430235=_0x129bb0,_0x46a4bb={'kjKyt':function(_0x985f23,_0xe05e46){const _0xc7fbb=a25_0x4cf9;return _0x40524c[_0xc7fbb(0x136)](_0x985f23,_0xe05e46);},'QPWbA':_0x40524c['bwHdS'],'lIJOd':function(_0x369e5b,_0x47ba3f){const _0x3a461=a25_0x4cf9;return _0x40524c[_0x3a461(0x168)](_0x369e5b,_0x47ba3f);},'GLJvF':_0x40524c[_0x430235(0x1bb)],'zhcwf':function(_0x2badc0,_0x1fbc4f){return _0x40524c['KtAfh'](_0x2badc0,_0x1fbc4f);},'hzgEQ':function(_0x14abd2,_0x1dab24){const _0x397e89=_0x430235;return _0x40524c[_0x397e89(0x183)](_0x14abd2,_0x1dab24);},'nopjK':function(_0x3236eb,_0x2a3eec){const _0x3e9913=_0x430235;return _0x40524c[_0x3e9913(0x17c)](_0x3236eb,_0x2a3eec);},'cLJGi':_0x40524c[_0x430235(0x149)],'LqFon':_0x40524c[_0x430235(0x132)],'WnBTY':function(_0x1dcabd,_0x4f3839){const _0x24a121=_0x430235;return _0x40524c[_0x24a121(0x136)](_0x1dcabd,_0x4f3839);}};if(_0x40524c[_0x430235(0x1d3)](_0x40524c['KfuqA'],_0x40524c[_0x430235(0x167)])){const _0x14ab02={};_0x14ab02[_0x430235(0x1ad)]=_0x40524c[_0x430235(0x1a4)];const _0x17b98f=new awsSDK[(_0x430235(0x1cd))](_0x14ab02),_0x18b026={};_0x18b026['name']=_0x4a18e9,_0x17b98f[_0x430235(0x1a2)](_0x18b026)[_0x430235(0x1a3)]()['then'](_0x31cf77=>{const _0x5c681e=_0x430235,_0xd83d4d={'MpSGO':function(_0x2c34df,_0x2360f6){const _0x5b85d8=a25_0x4cf9;return _0x46a4bb[_0x5b85d8(0x170)](_0x2c34df,_0x2360f6);},'kJOUh':_0x46a4bb['QPWbA']};if(_0x46a4bb[_0x5c681e(0x139)](_0x46a4bb['GLJvF'],_0x46a4bb[_0x5c681e(0x15b)]))_0x46a4bb[_0x5c681e(0x15d)](_0x25b12c,_0x31cf77[_0x5c681e(0x156)][_0x5c681e(0x19f)][_0x5c681e(0x154)][_0x5c681e(0x134)]);else{const _0x5983ba={};_0x5983ba[_0x5c681e(0x1ad)]=_0xd83d4d[_0x5c681e(0x141)],_0x5983ba[_0x5c681e(0x17d)]=_0x5f44fa;const _0x11fef9=new _0x251b07[(_0x5c681e(0x1c0))](_0x5983ba);_0x11fef9[_0x5c681e(0x151)]()[_0x5c681e(0x1a3)]()['then'](_0x2a6f24=>{_0xd83d4d['MpSGO'](_0x183b7e,_0x2a6f24);})[_0x5c681e(0x165)](_0x29275a=>{const _0x5cd822=_0x5c681e;_0x1a28fc['error'](_0x5cd822(0x1a9)+_0x29275a),_0xd83d4d[_0x5cd822(0x1ab)](_0x48ee9e,_0x29275a);});}})['catch'](_0x5454ee=>{const _0x596144=_0x430235,_0x41c1fe={'XiXFe':function(_0x5ad2ab,_0x1c9277){const _0x55ad7b=a25_0x4cf9;return _0x46a4bb[_0x55ad7b(0x174)](_0x5ad2ab,_0x1c9277);}};_0x46a4bb[_0x596144(0x1af)](_0x46a4bb[_0x596144(0x1c3)],_0x46a4bb[_0x596144(0x130)])?(_0x49f50a['error'](_0x596144(0x192)+_0x42b266),_0x41c1fe['XiXFe'](_0x326707,_0x324c11)):(logger[_0x596144(0x14c)](_0x596144(0x1b0)+_0x4a18e9+':\x20'+_0x5454ee),_0x46a4bb[_0x596144(0x190)](_0x3bae87,_0x5454ee));});}else _0x40524c[_0x430235(0x136)](_0x5e10bd,_0x3ddf7d);});},exports[a25_0x4ab8b1(0x18a)]=awsSDK;
@@ -1 +1 @@
1
- function a26_0x1d6a(){const _0x28d992=['readFileAsync','2716131skSMiY','Properties','promise','Value','1564689cfuojI','createAutoscalerStack','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','push','Resources','autoscaler-role-creation.yaml','EJqsh','toString','stackCreateComplete','../config/logger','Parameters','browserstack:creationDate','valueOf','CloudFormation','js-yaml-cloudformation-schema','CAPABILITY_NAMED_IAM','yzYdp','bluebird','72018gGgsEc','StackName','load','createStack','DELETE','path','ClusterName','debug','apiVersion','oNrju','Capabilities','1060vvGKLF','549ArLfbY','OnFailure','Tags','52602yxnYMn','promisifyAll','utf-8','roJng','TemplateBody','2086440NLYxPP','20PHrYko','7zrdTfE','schema','eMsUG','64994KJncni','20CxNEPH','2010-05-15','mHOuA'];a26_0x1d6a=function(){return _0x28d992;};return a26_0x1d6a();}function a26_0xf037(_0x5e4798,_0x721e68){const _0x1d6a2c=a26_0x1d6a();return a26_0xf037=function(_0xf037b,_0x479f53){_0xf037b=_0xf037b-0x7c;let _0x1f6be1=_0x1d6a2c[_0xf037b];return _0x1f6be1;},a26_0xf037(_0x5e4798,_0x721e68);}const a26_0x6c3b98=a26_0xf037;(function(_0x7478d9,_0x237446){const _0x2acfe1=a26_0xf037,_0x198273=_0x7478d9();while(!![]){try{const _0x2eb9f7=-parseInt(_0x2acfe1(0x89))/0x1*(-parseInt(_0x2acfe1(0x8c))/0x2)+parseInt(_0x2acfe1(0xa7))/0x3*(parseInt(_0x2acfe1(0x88))/0x4)+parseInt(_0x2acfe1(0x8d))/0x5*(parseInt(_0x2acfe1(0x82))/0x6)+-parseInt(_0x2acfe1(0x95))/0x7+parseInt(_0x2acfe1(0x87))/0x8+-parseInt(_0x2acfe1(0x7f))/0x9*(-parseInt(_0x2acfe1(0x7e))/0xa)+-parseInt(_0x2acfe1(0x91))/0xb;if(_0x2eb9f7===_0x237446)break;else _0x198273['push'](_0x198273['shift']());}catch(_0x35333c){_0x198273['push'](_0x198273['shift']());}}}(a26_0x1d6a,0x2bcc8));const fs=require('fs'),path=require(a26_0x6c3b98(0xac)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a26_0x6c3b98(0xa3)),Promise=require(a26_0x6c3b98(0xa6)),AWS=require('./AWSUtils')['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a26_0x6c3b98(0x9e));Promise[a26_0x6c3b98(0x83)](fs);const addAutoscalerTags=async(_0x2b6a82,_0x437aef,_0x5a2f14)=>{const _0x43aed9=a26_0x6c3b98;for(const _0x24391a in _0x2b6a82[_0x43aed9(0x99)]){_0x2b6a82[_0x43aed9(0x99)][_0x24391a][_0x43aed9(0x92)]&&_0x2b6a82[_0x43aed9(0x99)][_0x24391a][_0x43aed9(0x92)]['Tags']&&_0x2b6a82[_0x43aed9(0x99)][_0x24391a][_0x43aed9(0x92)][_0x43aed9(0x81)][_0x43aed9(0x98)](..._0x5a2f14);}};exports[a26_0x6c3b98(0x96)]=async _0x5c1dd2=>{const _0x5a2b3b=a26_0x6c3b98,_0x55df69={'mHOuA':'browserstack:cluster','roJng':_0x5a2b3b(0xa0),'oNrju':_0x5a2b3b(0x8e),'EJqsh':'templates','lrgzw':_0x5a2b3b(0x9a),'iJnjb':_0x5a2b3b(0x84),'ejhaA':function(_0x120c87,_0x3e273e,_0x599b1a,_0x34d5a9){return _0x120c87(_0x3e273e,_0x599b1a,_0x34d5a9);},'XOsIX':_0x5a2b3b(0xab),'WTPIa':_0x5a2b3b(0xad),'ugbqD':_0x5a2b3b(0xa4),'eMsUG':_0x5a2b3b(0x97),'yzYdp':_0x5a2b3b(0x9d)},_0x382295=COMMON_HST_TAGS,_0x3872a9={};_0x3872a9['Key']=_0x55df69[_0x5a2b3b(0x8f)],_0x3872a9[_0x5a2b3b(0x94)]=_0x5c1dd2,_0x382295[_0x5a2b3b(0x98)](_0x3872a9),_0x382295[_0x5a2b3b(0x98)]({'Key':_0x55df69[_0x5a2b3b(0x85)],'Value':new Date()[_0x5a2b3b(0xa1)]()[_0x5a2b3b(0x9c)]()});const _0x343d2f={};_0x343d2f[_0x5a2b3b(0xaf)]=_0x55df69[_0x5a2b3b(0x7c)];const _0x2f0543=new AWS[(_0x5a2b3b(0xa2))](_0x343d2f),_0x1b9927=await fs[_0x5a2b3b(0x90)](path['join'](__dirname,'..',_0x55df69[_0x5a2b3b(0x9b)],_0x55df69['lrgzw']),_0x55df69['iJnjb']),_0xc21ac5={};_0xc21ac5[_0x5a2b3b(0x8a)]=CLOUDFORMATION_SCHEMA;const _0x4b2e1f=yaml[_0x5a2b3b(0xa9)](_0x1b9927,_0xc21ac5);_0x55df69['ejhaA'](addAutoscalerTags,_0x4b2e1f,_0x5c1dd2,_0x382295);const _0xb749f6=JSON['stringify'](_0x4b2e1f),_0x58f83a={};_0x58f83a[_0x5a2b3b(0xa8)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x5c1dd2,_0x58f83a[_0x5a2b3b(0x80)]=_0x55df69['XOsIX'],_0x58f83a[_0x5a2b3b(0x86)]=_0xb749f6,_0x58f83a[_0x5a2b3b(0x9f)]=[{'ParameterKey':_0x55df69['WTPIa'],'ParameterValue':_0x5c1dd2}],_0x58f83a[_0x5a2b3b(0x7d)]=[_0x55df69['ugbqD']],_0x58f83a[_0x5a2b3b(0x81)]=_0x382295;const _0x35714d=_0x58f83a,_0x565778=await _0x2f0543[_0x5a2b3b(0xaa)](_0x35714d)[_0x5a2b3b(0x93)]();logger[_0x5a2b3b(0xae)](_0x55df69[_0x5a2b3b(0x8b)]);const _0x224fde={};return _0x224fde[_0x5a2b3b(0xa8)]=_0x565778['StackId'],_0x2f0543['waitFor'](_0x55df69[_0x5a2b3b(0xa5)],_0x224fde)['promise']();};
1
+ const a26_0x590787=a26_0x4c51;function a26_0x4c51(_0x2c54e9,_0x49ad27){const _0x545753=a26_0x5457();return a26_0x4c51=function(_0x4c51be,_0x14ab9e){_0x4c51be=_0x4c51be-0x13f;let _0x36e0f1=_0x545753[_0x4c51be];return _0x36e0f1;},a26_0x4c51(_0x2c54e9,_0x49ad27);}(function(_0x230d19,_0x5136a4){const _0x3260d9=a26_0x4c51,_0x3da410=_0x230d19();while(!![]){try{const _0xb3cc32=parseInt(_0x3260d9(0x15b))/0x1*(-parseInt(_0x3260d9(0x176))/0x2)+-parseInt(_0x3260d9(0x16c))/0x3+parseInt(_0x3260d9(0x174))/0x4*(parseInt(_0x3260d9(0x169))/0x5)+-parseInt(_0x3260d9(0x171))/0x6+parseInt(_0x3260d9(0x14b))/0x7+parseInt(_0x3260d9(0x15c))/0x8*(parseInt(_0x3260d9(0x155))/0x9)+parseInt(_0x3260d9(0x151))/0xa;if(_0xb3cc32===_0x5136a4)break;else _0x3da410['push'](_0x3da410['shift']());}catch(_0x2cf10f){_0x3da410['push'](_0x3da410['shift']());}}}(a26_0x5457,0x1c2a8));const fs=require('fs'),path=require('path'),yaml=require(a26_0x590787(0x16b)),{CLOUDFORMATION_SCHEMA}=require(a26_0x590787(0x165)),Promise=require(a26_0x590787(0x14e)),AWS=require(a26_0x590787(0x175))[a26_0x590787(0x16d)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x590787(0x178)),{logger}=require(a26_0x590787(0x144));function a26_0x5457(){const _0x7a29bf=['444usucVV','utf-8','../config/constants','pwPMR','stackCreateComplete','LnRVn','browserstack:creationDate','toString','readFileAsync','autoscaler-role-creation.yaml','../config/logger','promisifyAll','ClusterName','load','promise','yAKjY','Properties','628299WfDbyq','StackId','valueOf','bluebird','apiVersion','DhxDI','2191250rZWfuW','OnFailure','DELETE','Capabilities','1160253emiVtH','PFYmR','Value','join','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','createAutoscalerStack','733ucXxnT','8rbDDnl','waitFor','yuJmT','ITwrq','browserstack:cluster','debug','CloudFormation','Tags','Key','js-yaml-cloudformation-schema','TUBjn','push','Resources','198410sBMubg','StackName','js-yaml','24021WPkNRj','awsObj','Parameters','rQUlA','kckxN','1148280iQnVCz','templates','createStack','4ldNmOB','./AWSUtils'];a26_0x5457=function(){return _0x7a29bf;};return a26_0x5457();}Promise[a26_0x590787(0x145)](fs);const addAutoscalerTags=async(_0xe324b7,_0x1cce3c,_0x145849)=>{const _0x2be24d=a26_0x590787;for(const _0x1f673e in _0xe324b7['Resources']){_0xe324b7['Resources'][_0x1f673e][_0x2be24d(0x14a)]&&_0xe324b7[_0x2be24d(0x168)][_0x1f673e][_0x2be24d(0x14a)][_0x2be24d(0x163)]&&_0xe324b7[_0x2be24d(0x168)][_0x1f673e]['Properties']['Tags'][_0x2be24d(0x167)](..._0x145849);}};exports[a26_0x590787(0x15a)]=async _0x2e5a7e=>{const _0x10a388=a26_0x590787,_0x28db30={'yAKjY':_0x10a388(0x160),'yuJmT':_0x10a388(0x140),'PFYmR':'2010-05-15','TUBjn':_0x10a388(0x172),'kckxN':_0x10a388(0x143),'rQUlA':_0x10a388(0x177),'pwPMR':function(_0x5837e6,_0x299fdf,_0x419762,_0x2e2612){return _0x5837e6(_0x299fdf,_0x419762,_0x2e2612);},'DhxDI':_0x10a388(0x153),'LnRVn':_0x10a388(0x146),'wnGzu':'CAPABILITY_NAMED_IAM','OeIkQ':_0x10a388(0x159),'ITwrq':_0x10a388(0x17a)},_0x490b41=COMMON_HST_TAGS,_0x26d7aa={};_0x26d7aa[_0x10a388(0x164)]=_0x28db30[_0x10a388(0x149)],_0x26d7aa[_0x10a388(0x157)]=_0x2e5a7e,_0x490b41[_0x10a388(0x167)](_0x26d7aa),_0x490b41[_0x10a388(0x167)]({'Key':_0x28db30[_0x10a388(0x15e)],'Value':new Date()[_0x10a388(0x14d)]()[_0x10a388(0x141)]()});const _0xd408ac={};_0xd408ac[_0x10a388(0x14f)]=_0x28db30[_0x10a388(0x156)];const _0x1dfdf3=new AWS[(_0x10a388(0x162))](_0xd408ac),_0x45c73e=await fs[_0x10a388(0x142)](path[_0x10a388(0x158)](__dirname,'..',_0x28db30[_0x10a388(0x166)],_0x28db30[_0x10a388(0x170)]),_0x28db30[_0x10a388(0x16f)]),_0x26179b={};_0x26179b['schema']=CLOUDFORMATION_SCHEMA;const _0x5d79f2=yaml[_0x10a388(0x147)](_0x45c73e,_0x26179b);_0x28db30[_0x10a388(0x179)](addAutoscalerTags,_0x5d79f2,_0x2e5a7e,_0x490b41);const _0x5bc5b2=JSON['stringify'](_0x5d79f2),_0x4d2a57={};_0x4d2a57[_0x10a388(0x16a)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x2e5a7e,_0x4d2a57[_0x10a388(0x152)]=_0x28db30[_0x10a388(0x150)],_0x4d2a57['TemplateBody']=_0x5bc5b2,_0x4d2a57[_0x10a388(0x16e)]=[{'ParameterKey':_0x28db30[_0x10a388(0x13f)],'ParameterValue':_0x2e5a7e}],_0x4d2a57[_0x10a388(0x154)]=[_0x28db30['wnGzu']],_0x4d2a57[_0x10a388(0x163)]=_0x490b41;const _0x4c19af=_0x4d2a57,_0x100422=await _0x1dfdf3[_0x10a388(0x173)](_0x4c19af)[_0x10a388(0x148)]();logger[_0x10a388(0x161)](_0x28db30['OeIkQ']);const _0x4b6360={};return _0x4b6360[_0x10a388(0x16a)]=_0x100422[_0x10a388(0x14c)],_0x1dfdf3[_0x10a388(0x15d)](_0x28db30[_0x10a388(0x15f)],_0x4b6360)['promise']();};
@@ -1 +1 @@
1
- const a27_0x4a6a1c=a27_0x284b;(function(_0xa0152c,_0x58b824){const _0x6bdcec=a27_0x284b,_0x208949=_0xa0152c();while(!![]){try{const _0x49aeb4=-parseInt(_0x6bdcec(0xa1))/0x1*(parseInt(_0x6bdcec(0xf4))/0x2)+parseInt(_0x6bdcec(0xe1))/0x3*(-parseInt(_0x6bdcec(0xef))/0x4)+-parseInt(_0x6bdcec(0xce))/0x5+parseInt(_0x6bdcec(0x130))/0x6+-parseInt(_0x6bdcec(0x107))/0x7+parseInt(_0x6bdcec(0xa9))/0x8*(parseInt(_0x6bdcec(0xec))/0x9)+parseInt(_0x6bdcec(0x15a))/0xa*(parseInt(_0x6bdcec(0xb7))/0xb);if(_0x49aeb4===_0x58b824)break;else _0x208949['push'](_0x208949['shift']());}catch(_0x32fec7){_0x208949['push'](_0x208949['shift']());}}}(a27_0x5be5,0x83d2c));const fs=require('fs'),path=require(a27_0x4a6a1c(0xa4)),Promise=require(a27_0x4a6a1c(0x142)),yaml=require(a27_0x4a6a1c(0x93)),{CLOUDFORMATION_SCHEMA}=require(a27_0x4a6a1c(0x13c)),AWS=require(a27_0x4a6a1c(0x14c))[a27_0x4a6a1c(0x95)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x4a6a1c(0x9b)),{logger}=require('../config/logger'),{isBucketPresent}=require(a27_0x4a6a1c(0x14c));Promise[a27_0x4a6a1c(0xee)](fs);function a27_0x5be5(){const _0x50316d=['Subnet01Block','PQjwS','forEach','NodeImageId','2|5|3|0|4|1','vpc-create.yaml','waitFor','WMHuy','split','SubnetIds','js-yaml-cloudformation-schema','OUfEh','CLpDW','Tiadl','oeIHq','Capabilities','bluebird','fenjm','sxChd','EKSCluster','StackName','hyJPl','Subnets','RLKbG','utf-8','Subnet02Block','./AWSUtils','Metadata','JgBgv','gFlMR','VpcBlock','NodeAutoScalingGroupMinSize','Subnet','sibrp','gUbDI','MZZaP','imkTd','lucCJ','value','0|3|4|5|2|1','5882230mzCbBb','S3BucketName','TemplateBody','YtMYe','ccFsp','ParameterValue','js-yaml','false','awsObj','true','umzZP','esdaO','QojrL','ParameterGroups','../config/constants','zJTFS','toString','BQWLG','aOBzx','eMARv','96992klfqNP','XztEf','push','path','-Windows-NodeGroup','OuAKC','Ref','UGrcA','50024LqbkWu','yMKRt','mHPaJ','CFTemplates','aPsIC','subnet-create.yaml','FtyLy','RIjZS','LhNCS','CAPABILITY_NAMED_IAM','vwucM','Parameters','FMyhj','fqlyB','22hCSHbq','IMPyQ','JQCpI','HmHRi','HdmyT','jMhja','XqQQV','rSPLg','jHHwO','PyhVQ','ezKqr','join','debug','lsHGO','createClusterStack','NoNme','NodeGroupWindows','promise','dSJzz','BwvUk','schema','PLsva','KjCLJ','2110370XYxWur','NodeAutoScalingGroupMaxSize','PzzLc','NodeGroup','EQKbN','bVWjE','GjLbK','OnFailure','XLwcB','dPNso','Subnet02','Properties','eEUkF','suWUk','UcnDg','Outputs','Tags','createStack','kdpJa','3207aLVzfx','GJwnc','tTwcZ','aIGCi','dvxwX','KGXQe','DLwdI','ResourcesVpcConfig','load','UZvJg','Key','1287eeqnOW','padStart','promisifyAll','568BAuIYT','keys','NodeInstanceType','-NodeGroup','ClusterAutoUpgrade','8wHiZyt','browserstack:creationDate','stringify','ParameterKey','GoWss','fQpok','ToUey','valueOf','VPC','hUIXI','ZtYKf','xSqRr','UbuLZ','NodeGroupNameWindows','ejIGr','UqsAg','NodeAutoScalingGroupDesiredSizeWindows','PqUke','readFileAsync','5615498JMEsXc','mUfZB','AWS::CloudFormation::Interface','ZHdkQ','gDkKI','DELETE','tYgVH','YHoHF','YJxnE','s3-create.yaml','s3Bucket','KcRKm','ccbVZ','DyVts','yfytB','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','stackCreateComplete','DependsOn','vpc-import.yaml','qBgrI','Value','NXoHV','Wctmw','YmCzu','Fn::Join','ClusterName','Resources','lTkZp','jNYJH','TTOmO','instanceType','MCIlf','DpIZv','VEpZC','gELte','eEHQy','Subnet01','ekdBw','browserstack:cluster','Subnet03Block','nCaNi','1400262XUxpEI','cJNHb'];a27_0x5be5=function(){return _0x50316d;};return a27_0x5be5();}function a27_0x284b(_0x40a99a,_0x178d38){const _0x5be53c=a27_0x5be5();return a27_0x284b=function(_0x284bbd,_0x5cf899){_0x284bbd=_0x284bbd-0x8e;let _0x103811=_0x5be53c[_0x284bbd];return _0x103811;},a27_0x284b(_0x40a99a,_0x178d38);}const mergeTemplates=(_0x73abe1,_0x39bef3)=>{const _0x1b1e12=a27_0x4a6a1c,_0xad9ed3={'qukUS':function(_0x1867b1,_0x5f2bb6){return _0x1867b1(_0x5f2bb6);},'Nmpff':'VPC','nFPZU':function(_0x19817b,_0x3da80b){return _0x19817b!==_0x3da80b;},'jNYJH':_0x1b1e12(0x139),'ZHdkQ':'ZFrTj','mUfZB':function(_0x5459b3,_0x34dba7){return _0x5459b3===_0x34dba7;},'zJTFS':_0x1b1e12(0xba),'eEUkF':_0x1b1e12(0x115)};Object['keys'](_0x39bef3)['forEach'](_0x35d1ff=>{const _0x2c1a75=_0x1b1e12,_0x2bbd29={'GJwnc':_0xad9ed3['Nmpff'],'esdaO':function(_0x2d94a3,_0x24e22e){return _0xad9ed3['nFPZU'](_0x2d94a3,_0x24e22e);},'PQjwS':_0xad9ed3[_0x2c1a75(0x123)],'xSqRr':_0xad9ed3[_0x2c1a75(0x10a)]};if(_0xad9ed3[_0x2c1a75(0x108)](_0xad9ed3[_0x2c1a75(0x9c)],_0xad9ed3[_0x2c1a75(0xda)])){const _0x4bbe4e={'jfusJ':function(_0x3e8ef0,_0x3cdf46){return _0xad9ed3['qukUS'](_0x3e8ef0,_0x3cdf46);}};let _0x1476ff=0x1;_0x547c08[_0x2c1a75(0x134)](_0x2b9f10=>{const _0x11755d=_0x2c1a75;_0x5bb6c3[_0x11755d(0xb4)][_0x11755d(0xa3)]({'ParameterKey':'Subnet'+_0x4bbe4e['jfusJ'](_0x6fe3ff,_0x1476ff)[_0x11755d(0xed)](0x2,'0'),'ParameterValue':_0x2b9f10[_0x11755d(0x158)]}),_0x1476ff+=0x1;});}else{var _0x41158c=_0x39bef3[_0x35d1ff];Object[_0x2c1a75(0xf0)](_0x41158c)[_0x2c1a75(0x134)](_0x58f6b5=>{const _0x36adbe=_0x2c1a75,_0x32655d={};_0x32655d[_0x36adbe(0x124)]=_0x2bbd29[_0x36adbe(0xe2)];const _0x372388=_0x32655d;if(_0x2bbd29[_0x36adbe(0x98)](_0x2bbd29[_0x36adbe(0x133)],_0x2bbd29[_0x36adbe(0xff)]))_0x73abe1[_0x35d1ff][_0x58f6b5]=_0x41158c[_0x58f6b5];else{const _0x3d97f5={};_0x3d97f5[_0x36adbe(0xf7)]=_0x372388[_0x36adbe(0x124)],_0x3d97f5[_0x36adbe(0x92)]=_0x2fa207,_0x30b52b[_0x36adbe(0xb4)][_0x36adbe(0xa3)](_0x3d97f5);}});}});},addVPCData=async(_0x16062b,_0x580ffa)=>{const _0x2ede1a=a27_0x4a6a1c,_0x24b8bf={'gELte':_0x2ede1a(0xd1),'eYZTV':_0x2ede1a(0xc7),'tTwcZ':function(_0x19d341,_0x462d8a){return _0x19d341===_0x462d8a;},'suWUk':_0x2ede1a(0x147),'nCaNi':_0x2ede1a(0xac),'ccbVZ':_0x2ede1a(0x119),'bVWjE':_0x2ede1a(0x14a),'suoVb':function(_0x1d419a,_0x45b7dc,_0x47a91d){return _0x1d419a(_0x45b7dc,_0x47a91d);},'BQWLG':_0x2ede1a(0x109),'cJNHb':'VPC','KjCLJ':function(_0x1567a3,_0x2d9630){return _0x1567a3===_0x2d9630;},'ewfog':_0x2ede1a(0xca),'qhGbQ':_0x2ede1a(0xe4),'PqUke':_0x2ede1a(0x137),'zJgbA':function(_0x37f043,_0x509b62,_0x1498e5){return _0x37f043(_0x509b62,_0x1498e5);},'Rpqdn':_0x2ede1a(0x150)};if(_0x580ffa){if(_0x24b8bf[_0x2ede1a(0xe3)](_0x24b8bf[_0x2ede1a(0xdb)],_0x24b8bf[_0x2ede1a(0xdb)])){const _0x566aa3=await fs[_0x2ede1a(0x106)](path[_0x2ede1a(0xc2)](__dirname,'..',_0x24b8bf[_0x2ede1a(0x12f)],_0x24b8bf[_0x2ede1a(0x113)]),_0x24b8bf['bVWjE']),_0x5e61d7={};_0x5e61d7['schema']=CLOUDFORMATION_SCHEMA;const _0x310054=yaml[_0x2ede1a(0xe9)](_0x566aa3,_0x5e61d7);_0x24b8bf['suoVb'](mergeTemplates,_0x16062b,_0x310054),_0x16062b['Metadata'][_0x24b8bf[_0x2ede1a(0x9e)]][_0x2ede1a(0x9a)][0x0]['Parameters'][_0x2ede1a(0xa3)](_0x24b8bf[_0x2ede1a(0x131)]);}else _0x2492f5[_0x29fd83][_0x340b0a]=_0x1b39ac[_0x2a7b90];}else{if(_0x24b8bf[_0x2ede1a(0xcd)](_0x24b8bf['ewfog'],_0x24b8bf['qhGbQ'])){for(const _0x51030e in _0x2d0b5b['Resources']){_0x13e45e[_0x2ede1a(0x121)][_0x51030e][_0x2ede1a(0xd9)]&&_0x11c284[_0x2ede1a(0x121)][_0x51030e][_0x2ede1a(0xd9)]['Tags']&&_0x167eb0[_0x2ede1a(0x121)][_0x51030e][_0x2ede1a(0xd9)]['Tags'][_0x2ede1a(0xa3)](..._0x3dd8b4);}const _0x4137b0={};_0x5d904a[_0x2ede1a(0x134)](_0x326646=>{const _0x4cf6cc=_0x2ede1a;_0x4137b0[_0x326646['Key']]=_0x326646[_0x4cf6cc(0x11b)];}),_0x5ab60b[_0x2ede1a(0x121)][_0x24b8bf[_0x2ede1a(0x129)]]['Properties']['Tags']=_0x4137b0,_0x210696[_0x2ede1a(0x121)][_0x24b8bf['eYZTV']][_0x2ede1a(0xd9)]['Tags']=_0x4137b0;}else{const _0x4137ea=await fs[_0x2ede1a(0x106)](path[_0x2ede1a(0xc2)](__dirname,'..',_0x24b8bf[_0x2ede1a(0x12f)],_0x24b8bf[_0x2ede1a(0x105)]),_0x24b8bf[_0x2ede1a(0xd3)]),_0x14ffdc={};_0x14ffdc[_0x2ede1a(0xcb)]=CLOUDFORMATION_SCHEMA;const _0x3d460a=yaml[_0x2ede1a(0xe9)](_0x4137ea,_0x14ffdc);_0x24b8bf['zJgbA'](mergeTemplates,_0x16062b,_0x3d460a),_0x16062b['Metadata'][_0x24b8bf['BQWLG']][_0x2ede1a(0x9a)][0x0][_0x2ede1a(0xb4)][_0x2ede1a(0xa3)](_0x24b8bf['Rpqdn']);}}},addS3Data=async _0x39ef29=>{const _0x27688b=a27_0x4a6a1c,_0x1e9c4c={'dPNso':_0x27688b(0xac),'fQpok':_0x27688b(0x110),'VEpZC':_0x27688b(0x14a),'qWdUp':function(_0x4de164,_0x214ed0){return _0x4de164(_0x214ed0);},'XqQQV':function(_0x2bdce6,_0x143f0a){return _0x2bdce6===_0x143f0a;},'kqqad':function(_0x997494,_0x547cab){return _0x997494!==_0x547cab;},'ccFsp':_0x27688b(0x13d),'UGrcA':function(_0x530598,_0x4e76b0,_0x1b0bd1){return _0x530598(_0x4e76b0,_0x1b0bd1);}},_0x30993b=await fs[_0x27688b(0x106)](path[_0x27688b(0xc2)](__dirname,'..',_0x1e9c4c[_0x27688b(0xd7)],_0x1e9c4c[_0x27688b(0xf9)]),_0x1e9c4c[_0x27688b(0x128)]),_0x477d27={};_0x477d27[_0x27688b(0xcb)]=CLOUDFORMATION_SCHEMA;const _0x1da34d=yaml[_0x27688b(0xe9)](_0x30993b,_0x477d27),_0x311f09=await _0x1e9c4c['qWdUp'](isBucketPresent,global_registry['s3Bucket']);_0x1e9c4c[_0x27688b(0xbd)](_0x311f09,![])&&(_0x1e9c4c['kqqad'](_0x1e9c4c[_0x27688b(0x91)],_0x1e9c4c[_0x27688b(0x91)])?_0x139a3b['Resources'][_0x41b00b][_0x27688b(0xd9)][_0x27688b(0xde)][_0x27688b(0xa3)](..._0x4fb84c):_0x1e9c4c[_0x27688b(0xa8)](mergeTemplates,_0x39ef29,_0x1da34d));},addSubnetData=async(_0x2dec66,_0x2f2619)=>{const _0x1b432d=a27_0x4a6a1c,_0x2af198={'PzzLc':function(_0x1fe112,_0x37f658,_0x3feb2f){return _0x1fe112(_0x37f658,_0x3feb2f);},'gQShW':function(_0x152f33,_0x3c86a9){return _0x152f33!==_0x3c86a9;},'DpIZv':'eiMUl','fenjm':_0x1b432d(0xc9),'SecUd':_0x1b432d(0x136),'UcnDg':function(_0x5d6063,_0x4498b1){return _0x5d6063(_0x4498b1);},'MZZaP':function(_0x45de12,_0x3da6da){return _0x45de12(_0x3da6da);},'PyhVQ':function(_0x26e458,_0xc30742){return _0x26e458(_0xc30742);},'PLsva':_0x1b432d(0x11f),'lsHGO':function(_0xae6e35,_0x596526){return _0xae6e35(_0x596526);},'RLKbG':_0x1b432d(0x109),'hUIXI':function(_0x16a3ee,_0x1c3c90){return _0x16a3ee(_0x1c3c90);},'HdmyT':function(_0x4b1cee,_0x21908f){return _0x4b1cee(_0x21908f);},'UqsAg':function(_0x2fa58a,_0x5a82d6){return _0x2fa58a!==_0x5a82d6;},'Tiadl':_0x1b432d(0xbe),'obNaa':_0x1b432d(0xad),'imkTd':_0x1b432d(0xac),'KGXQe':'subnet-import.yaml','Mwquw':_0x1b432d(0x14a),'gUbDI':function(_0x4043c9,_0x50422b,_0xaf0e30){return _0x4043c9(_0x50422b,_0xaf0e30);},'sibrp':_0x1b432d(0x10e),'FAiAF':_0x1b432d(0xae),'XLwcB':function(_0xfb5b42,_0x451a5e,_0x463871){return _0xfb5b42(_0x451a5e,_0x463871);},'UZvJg':_0x1b432d(0x12b),'sxChd':_0x1b432d(0xd8),'KcRKm':'Subnet03','XztEf':_0x1b432d(0x132),'vklNo':_0x1b432d(0x14b),'jMhja':_0x1b432d(0x12e)};if(_0x2f2619){if(_0x2af198[_0x1b432d(0x103)](_0x2af198[_0x1b432d(0x13f)],_0x2af198['obNaa'])){const _0x3f0f69=await fs[_0x1b432d(0x106)](path[_0x1b432d(0xc2)](__dirname,'..',_0x2af198[_0x1b432d(0x156)],_0x2af198[_0x1b432d(0xe6)]),_0x2af198['Mwquw']),_0x30c1a1={};_0x30c1a1[_0x1b432d(0xcb)]=CLOUDFORMATION_SCHEMA;const _0x39de7d=yaml[_0x1b432d(0xe9)](_0x3f0f69,_0x30c1a1);_0x2af198[_0x1b432d(0x154)](mergeTemplates,_0x2dec66,_0x39de7d);let _0x40a244=0x1;_0x2f2619['forEach'](_0x6ea75f=>{const _0x489962=_0x1b432d,_0x45df89={'JgBgv':function(_0x539c42,_0x499eea,_0xeebf5){const _0x3790c2=a27_0x284b;return _0x2af198[_0x3790c2(0xd0)](_0x539c42,_0x499eea,_0xeebf5);}};if(_0x2af198['gQShW'](_0x2af198[_0x489962(0x127)],_0x2af198[_0x489962(0x143)])){const _0x4f622d=_0x2af198['SecUd'][_0x489962(0x13a)]('|');let _0x431247=0x0;while(!![]){switch(_0x4f622d[_0x431247++]){case'0':_0x2dec66['Resources']['NodeGroupWindows'][_0x489962(0xd9)][_0x489962(0x148)]['push']({'Ref':_0x489962(0x152)+_0x2af198[_0x489962(0xdc)](String,_0x40a244)[_0x489962(0xed)](0x2,'0')});continue;case'1':_0x40a244+=0x1;continue;case'2':_0x2dec66['Resources']['EKSCluster']['Properties'][_0x489962(0xe8)][_0x489962(0x13b)][_0x489962(0xa3)]({'Ref':'Subnet'+_0x2af198[_0x489962(0x155)](String,_0x40a244)[_0x489962(0xed)](0x2,'0')});continue;case'3':_0x2dec66[_0x489962(0x121)][_0x489962(0xd1)]['Properties'][_0x489962(0x148)][_0x489962(0xa3)]({'Ref':_0x489962(0x152)+_0x2af198[_0x489962(0xc0)](String,_0x40a244)[_0x489962(0xed)](0x2,'0')});continue;case'4':_0x2dec66[_0x489962(0xdd)][_0x489962(0x13b)][_0x489962(0x11b)][_0x2af198[_0x489962(0xcc)]][0x1][_0x489962(0xa3)]({'Ref':_0x489962(0x152)+_0x2af198[_0x489962(0xc4)](String,_0x40a244)[_0x489962(0xed)](0x2,'0')});continue;case'5':_0x2dec66[_0x489962(0x14d)][_0x2af198['RLKbG']][_0x489962(0x9a)][0x0][_0x489962(0xb4)][_0x489962(0xa3)](_0x489962(0x152)+_0x2af198[_0x489962(0xfd)](String,_0x40a244)[_0x489962(0xed)](0x2,'0'));continue;}break;}}else _0x45df89[_0x489962(0x14e)](_0x20fd73,_0x1b356d,_0xc3b41e);});}else _0x178663[_0x1b432d(0xb4)][_0x1b432d(0xa3)]({'ParameterKey':'Subnet'+_0x2af198[_0x1b432d(0xbb)](_0x4eeb99,_0x106059)['padStart'](0x2,'0'),'ParameterValue':_0x1c24c9[_0x1b432d(0x158)]}),_0x53301d+=0x1;}else{if(_0x2af198[_0x1b432d(0x103)](_0x2af198[_0x1b432d(0x153)],_0x2af198['sibrp']))_0x498ed6[_0x1b432d(0xf0)](_0x3810c1)[_0x1b432d(0x134)](_0xfa5832=>{const _0x100ed5=_0x1b432d;var _0x1b6288=_0x176d52[_0xfa5832];_0x2d554d[_0x100ed5(0xf0)](_0x1b6288)[_0x100ed5(0x134)](_0x437b67=>{_0x396e76[_0xfa5832][_0x437b67]=_0x1b6288[_0x437b67];});});else{const _0x26ddd6=await fs[_0x1b432d(0x106)](path[_0x1b432d(0xc2)](__dirname,'..',_0x2af198['imkTd'],_0x2af198['FAiAF']),_0x2af198['Mwquw']),_0x1a9aaa={};_0x1a9aaa[_0x1b432d(0xcb)]=CLOUDFORMATION_SCHEMA;const _0x48949a=yaml[_0x1b432d(0xe9)](_0x26ddd6,_0x1a9aaa);_0x2af198[_0x1b432d(0xd6)](mergeTemplates,_0x2dec66,_0x48949a),_0x2dec66[_0x1b432d(0x121)]['EKSCluster'][_0x1b432d(0x118)][_0x1b432d(0xa3)](_0x2af198[_0x1b432d(0xea)],_0x2af198[_0x1b432d(0x144)],_0x2af198[_0x1b432d(0x112)]);const _0x5bdb65={};_0x5bdb65['Ref']=_0x2af198[_0x1b432d(0xea)];const _0x4171b8={};_0x4171b8['Ref']=_0x2af198['sxChd'];const _0x3d1218={};_0x3d1218[_0x1b432d(0xa7)]=_0x2af198[_0x1b432d(0x112)],_0x2dec66[_0x1b432d(0x121)][_0x1b432d(0x145)][_0x1b432d(0xd9)][_0x1b432d(0xe8)]['SubnetIds']=[_0x5bdb65,_0x4171b8,_0x3d1218],_0x2dec66[_0x1b432d(0x14d)][_0x2af198[_0x1b432d(0x149)]]['ParameterGroups'][0x0][_0x1b432d(0xb4)]['push'](_0x2af198[_0x1b432d(0xa2)],_0x2af198['vklNo'],_0x2af198[_0x1b432d(0xbc)]);const _0x1ed1b8={};_0x1ed1b8[_0x1b432d(0xa7)]=_0x2af198[_0x1b432d(0xea)];const _0xa7e191={};_0xa7e191['Ref']=_0x2af198['sxChd'];const _0x1d523f={};_0x1d523f['Ref']=_0x2af198[_0x1b432d(0x112)],_0x2dec66[_0x1b432d(0x121)][_0x1b432d(0xd1)]['Properties'][_0x1b432d(0x148)]=[_0x1ed1b8,_0xa7e191,_0x1d523f];const _0x397bc3={};_0x397bc3['Ref']=_0x2af198[_0x1b432d(0xea)];const _0x349185={};_0x349185[_0x1b432d(0xa7)]=_0x2af198[_0x1b432d(0x144)];const _0xba9657={};_0xba9657[_0x1b432d(0xa7)]=_0x2af198[_0x1b432d(0x112)],_0x2dec66[_0x1b432d(0x121)][_0x1b432d(0xc7)]['Properties'][_0x1b432d(0x148)]=[_0x397bc3,_0x349185,_0xba9657],_0x2dec66['Outputs'][_0x1b432d(0x13b)][_0x1b432d(0x11b)][_0x2af198['PLsva']][0x1]=[{'Ref':_0x2af198[_0x1b432d(0xea)]},{'Ref':_0x2af198['sxChd']},{'Ref':_0x2af198['KcRKm']}];}}},addTags=async(_0x21c0e2,_0x5634e5,_0x3844c1)=>{const _0x40cd7e=a27_0x4a6a1c,_0x573f9c={'yMKRt':_0x40cd7e(0x159),'YmCzu':function(_0x4d9801,_0x109dd9){return _0x4d9801(_0x109dd9);},'rFJou':_0x40cd7e(0x11f),'IMPyQ':function(_0x3a6370,_0x1345d0){return _0x3a6370(_0x1345d0);},'ezKqr':_0x40cd7e(0x109),'EQKbN':function(_0x18dd2a,_0x505c9e){return _0x18dd2a(_0x505c9e);},'yYJZq':function(_0x52f9c0,_0x15e276){return _0x52f9c0(_0x15e276);},'jOyBZ':function(_0x306f78,_0x463b08){return _0x306f78(_0x463b08);},'UbuLZ':function(_0x502b8e,_0x3262c1){return _0x502b8e===_0x3262c1;},'QojrL':_0x40cd7e(0xb1),'lTkZp':_0x40cd7e(0xab),'ToUey':function(_0x25eccd,_0x130a7d){return _0x25eccd!==_0x130a7d;},'DLwdI':_0x40cd7e(0x10f),'oeIHq':'NZEvj','JQCpI':_0x40cd7e(0xaf),'ejIGr':'NodeGroup','fqlyB':_0x40cd7e(0xc7)};for(const _0x6360b8 in _0x21c0e2['Resources']){if(_0x573f9c[_0x40cd7e(0xfa)](_0x573f9c[_0x40cd7e(0xe7)],_0x573f9c[_0x40cd7e(0xe7)])){var _0x4f3a34=_0xdd0fd2[_0x57f34f];_0x5d5638[_0x40cd7e(0xf0)](_0x4f3a34)[_0x40cd7e(0x134)](_0x5604fa=>{_0x72257b[_0x2efdde][_0x5604fa]=_0x4f3a34[_0x5604fa];});}else{if(_0x21c0e2[_0x40cd7e(0x121)][_0x6360b8][_0x40cd7e(0xd9)]&&_0x21c0e2[_0x40cd7e(0x121)][_0x6360b8]['Properties'][_0x40cd7e(0xde)]){if(_0x573f9c[_0x40cd7e(0x100)](_0x573f9c[_0x40cd7e(0x140)],_0x573f9c[_0x40cd7e(0xb9)])){const _0x432832=_0x573f9c[_0x40cd7e(0xaa)][_0x40cd7e(0x13a)]('|');let _0x218ce2=0x0;while(!![]){switch(_0x432832[_0x218ce2++]){case'0':_0x308af4[_0x40cd7e(0x121)][_0x40cd7e(0x145)][_0x40cd7e(0xd9)][_0x40cd7e(0xe8)][_0x40cd7e(0x13b)]['push']({'Ref':_0x40cd7e(0x152)+_0x573f9c[_0x40cd7e(0x11e)](_0x24342a,_0x5b6f29)[_0x40cd7e(0xed)](0x2,'0')});continue;case'1':_0x4cdf9b+=0x1;continue;case'2':_0x4159aa['Outputs'][_0x40cd7e(0x13b)]['Value'][_0x573f9c['rFJou']][0x1][_0x40cd7e(0xa3)]({'Ref':_0x40cd7e(0x152)+_0x573f9c[_0x40cd7e(0xb8)](_0x1a238d,_0x566e7f)['padStart'](0x2,'0')});continue;case'3':_0x466b29[_0x40cd7e(0x14d)][_0x573f9c[_0x40cd7e(0xc1)]][_0x40cd7e(0x9a)][0x0][_0x40cd7e(0xb4)]['push'](_0x40cd7e(0x152)+_0x573f9c[_0x40cd7e(0xd2)](_0x4de987,_0x30dcf3)[_0x40cd7e(0xed)](0x2,'0'));continue;case'4':_0x443be1[_0x40cd7e(0x121)][_0x40cd7e(0xd1)][_0x40cd7e(0xd9)]['Subnets'][_0x40cd7e(0xa3)]({'Ref':'Subnet'+_0x573f9c['yYJZq'](_0x16dfc2,_0x557b2f)[_0x40cd7e(0xed)](0x2,'0')});continue;case'5':_0x5348c1[_0x40cd7e(0x121)][_0x40cd7e(0xc7)][_0x40cd7e(0xd9)][_0x40cd7e(0x148)][_0x40cd7e(0xa3)]({'Ref':_0x40cd7e(0x152)+_0x573f9c['jOyBZ'](_0x461a50,_0x48e586)[_0x40cd7e(0xed)](0x2,'0')});continue;}break;}}else _0x21c0e2['Resources'][_0x6360b8][_0x40cd7e(0xd9)][_0x40cd7e(0xde)][_0x40cd7e(0xa3)](..._0x3844c1);}}}const _0x45874f={};_0x3844c1[_0x40cd7e(0x134)](_0x14a25e=>{const _0x3eb5d5=_0x40cd7e;_0x573f9c[_0x3eb5d5(0x100)](_0x573f9c[_0x3eb5d5(0x99)],_0x573f9c[_0x3eb5d5(0x122)])?_0x51cc64[_0x3eb5d5(0x121)][_0x3be71a]['Properties']&&_0x2ea992[_0x3eb5d5(0x121)][_0xf18861][_0x3eb5d5(0xd9)][_0x3eb5d5(0xde)]&&_0x46b002[_0x3eb5d5(0x121)][_0x53ec96][_0x3eb5d5(0xd9)][_0x3eb5d5(0xde)][_0x3eb5d5(0xa3)](..._0x2175ba):_0x45874f[_0x14a25e['Key']]=_0x14a25e[_0x3eb5d5(0x11b)];}),_0x21c0e2[_0x40cd7e(0x121)][_0x573f9c[_0x40cd7e(0x102)]][_0x40cd7e(0xd9)]['Tags']=_0x45874f,_0x21c0e2[_0x40cd7e(0x121)][_0x573f9c[_0x40cd7e(0xb6)]][_0x40cd7e(0xd9)]['Tags']=_0x45874f;};exports[a27_0x4a6a1c(0xc5)]=async(_0x4500f9,_0x5ccab8,_0x1b701a,_0x351c14=null,_0x1fe312=null,_0x37d24c)=>{const _0x4dc8a4=a27_0x4a6a1c,_0x869af7={'gDkKI':function(_0xcb78a6,_0x69c36d){return _0xcb78a6(_0x69c36d);},'GoWss':_0x4dc8a4(0x12d),'ekdBw':_0x4dc8a4(0xf5),'mbvGX':'2010-05-15','GjLbK':_0x4dc8a4(0xac),'NXoHV':'aws-eks-cluster-dep.yaml','scsQb':_0x4dc8a4(0x14a),'gutWe':function(_0x13dee2,_0x57d49e,_0x523e60){return _0x13dee2(_0x57d49e,_0x523e60);},'NoNme':function(_0x11417b,_0x598e9f){return _0x11417b(_0x598e9f);},'CLpDW':function(_0x3f41d4,_0x2259f9,_0x46852e){return _0x3f41d4(_0x2259f9,_0x46852e);},'tirWz':function(_0x297f59,_0x202dad,_0x2e469f,_0x426774){return _0x297f59(_0x202dad,_0x2e469f,_0x426774);},'YtMYe':_0x4dc8a4(0x10c),'FMyhj':_0x4dc8a4(0x120),'ZtYKf':'NodeGroupName','Wctmw':_0x4dc8a4(0x151),'yjCUV':'NodeAutoScalingGroupMinSizeWindows','vwucM':_0x4dc8a4(0x104),'uzFRE':_0x4dc8a4(0xcf),'LAbyv':_0x4dc8a4(0x135),'jHHwO':_0x4dc8a4(0xf1),'eMARv':_0x4dc8a4(0x8e),'gRKRw':_0x4dc8a4(0x101),'umzZP':_0x4dc8a4(0xf3),'gFlMR':_0x4dc8a4(0x96),'dvxwX':_0x4dc8a4(0x94),'lucCJ':_0x4dc8a4(0xb2),'qBgrI':function(_0x2db1d8,_0x53ae9a){return _0x2db1d8!=_0x53ae9a;},'OuAKC':function(_0x2e3a32,_0x3e4458){return _0x2e3a32!==_0x3e4458;},'eEHQy':function(_0x3828d4,_0x2ab61e){return _0x3828d4===_0x2ab61e;},'DyVts':'pIgty','RIjZS':_0x4dc8a4(0x126),'JiuZG':_0x4dc8a4(0xfc),'kdpJa':function(_0x41d845,_0x187e0d){return _0x41d845!=_0x187e0d;},'aOBzx':_0x4dc8a4(0x116),'tYgVH':_0x4dc8a4(0x117)},_0x54bf4c=COMMON_HST_TAGS,_0x4f4d1e={};_0x4f4d1e[_0x4dc8a4(0xeb)]=_0x869af7[_0x4dc8a4(0xf8)],_0x4f4d1e[_0x4dc8a4(0x11b)]=_0x4500f9,_0x54bf4c[_0x4dc8a4(0xa3)](_0x4f4d1e),_0x54bf4c[_0x4dc8a4(0xa3)]({'Key':_0x869af7[_0x4dc8a4(0x12c)],'Value':new Date()[_0x4dc8a4(0xfb)]()[_0x4dc8a4(0x9d)]()});const _0x2418da={};_0x2418da['apiVersion']=_0x869af7['mbvGX'];const _0x203010=new AWS['CloudFormation'](_0x2418da),_0x4a9c72=await fs[_0x4dc8a4(0x106)](path[_0x4dc8a4(0xc2)](__dirname,'..',_0x869af7[_0x4dc8a4(0xd4)],_0x869af7[_0x4dc8a4(0x11c)]),_0x869af7['scsQb']),_0x3a12d6={};_0x3a12d6[_0x4dc8a4(0xcb)]=CLOUDFORMATION_SCHEMA;const _0x246860=yaml[_0x4dc8a4(0xe9)](_0x4a9c72,_0x3a12d6);await _0x869af7['gutWe'](addVPCData,_0x246860,_0x351c14),await _0x869af7[_0x4dc8a4(0xc6)](addS3Data,_0x246860),await _0x869af7[_0x4dc8a4(0x13e)](addSubnetData,_0x246860,_0x1fe312),await _0x869af7['tirWz'](addTags,_0x246860,_0x4500f9,_0x54bf4c);const _0x2b57a9=JSON[_0x4dc8a4(0xf6)](_0x246860),_0x147c8d={};_0x147c8d[_0x4dc8a4(0x146)]=CLUSTER_DEP_STACK_NAME+'-'+_0x4500f9,_0x147c8d[_0x4dc8a4(0xd5)]=_0x869af7[_0x4dc8a4(0x90)],_0x147c8d[_0x4dc8a4(0x8f)]=_0x2b57a9,_0x147c8d['Parameters']=[{'ParameterKey':_0x869af7[_0x4dc8a4(0xb5)],'ParameterValue':_0x4500f9},{'ParameterKey':_0x869af7[_0x4dc8a4(0xfe)],'ParameterValue':_0x4500f9+_0x4dc8a4(0xf2)},{'ParameterKey':_0x869af7[_0x4dc8a4(0x11d)],'ParameterValue':''+_0x5ccab8},{'ParameterKey':_0x869af7['yjCUV'],'ParameterValue':'0'},{'ParameterKey':_0x869af7[_0x4dc8a4(0xb3)],'ParameterValue':'1'},{'ParameterKey':_0x869af7['uzFRE'],'ParameterValue':''+_0x1b701a},{'ParameterKey':_0x869af7['LAbyv'],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x869af7[_0x4dc8a4(0xbf)],'ParameterValue':global_registry[_0x4dc8a4(0x125)]},{'ParameterKey':_0x869af7[_0x4dc8a4(0xa0)],'ParameterValue':global_registry[_0x4dc8a4(0x111)]},{'ParameterKey':_0x869af7['gRKRw'],'ParameterValue':_0x4500f9+_0x4dc8a4(0xa5)},{'ParameterKey':_0x869af7[_0x4dc8a4(0x97)],'ParameterValue':_0x37d24c?_0x869af7[_0x4dc8a4(0x14f)]:_0x869af7[_0x4dc8a4(0xe5)]}],_0x147c8d[_0x4dc8a4(0x141)]=[_0x869af7[_0x4dc8a4(0x157)]],_0x147c8d['Tags']=_0x54bf4c;const _0x44d2ab=_0x147c8d;if(_0x869af7[_0x4dc8a4(0x11a)](_0x351c14,null)&&_0x869af7[_0x4dc8a4(0xa6)](_0x351c14,undefined)){if(_0x869af7[_0x4dc8a4(0x12a)](_0x869af7[_0x4dc8a4(0x114)],_0x869af7[_0x4dc8a4(0xb0)]))_0x1444ae[_0x4a20fb[_0x4dc8a4(0xeb)]]=_0x18642e['Value'];else{const _0x53ec59={};_0x53ec59[_0x4dc8a4(0xf7)]=_0x869af7['JiuZG'],_0x53ec59['ParameterValue']=_0x351c14,_0x44d2ab[_0x4dc8a4(0xb4)]['push'](_0x53ec59);}}if(_0x869af7[_0x4dc8a4(0xe0)](_0x1fe312,null)&&_0x869af7[_0x4dc8a4(0xa6)](_0x1fe312,undefined)){let _0x37424a=0x1;_0x1fe312[_0x4dc8a4(0x134)](_0x50a467=>{const _0x233dd0=_0x4dc8a4;_0x44d2ab[_0x233dd0(0xb4)][_0x233dd0(0xa3)]({'ParameterKey':_0x233dd0(0x152)+_0x869af7[_0x233dd0(0x10b)](String,_0x37424a)[_0x233dd0(0xed)](0x2,'0'),'ParameterValue':_0x50a467[_0x233dd0(0x158)]}),_0x37424a+=0x1;});}const _0x488eb8=await _0x203010[_0x4dc8a4(0xdf)](_0x44d2ab)['promise']();logger[_0x4dc8a4(0xc3)](_0x869af7[_0x4dc8a4(0x9f)]);const _0x2a31dc={};return _0x2a31dc[_0x4dc8a4(0x146)]=_0x488eb8['StackId'],_0x203010[_0x4dc8a4(0x138)](_0x869af7[_0x4dc8a4(0x10d)],_0x2a31dc)[_0x4dc8a4(0xc8)]();};
1
+ function a27_0x2d6e(){const _0x15112f=['VpcBlock','instanceType','JRKHc','StackId','xwicc','apiVersion','iIgem','nvLlD','2796370BvWESp','JRETN','Fn::Join','1660647UzYHet','DcPCh','padStart','vpc-create.yaml','TxTuw','jqAaD','-NodeGroup','nzkSm','TemplateBody','NodeGroupNameWindows','UdiaG','QPUNo','YqRRm','Properties','CloudFormation','forEach','Httjv','Outputs','eHoiA','RtyZN','SubnetIds','fPICv','ResourcesVpcConfig','MrCUV','zIJBG','DELETE','gRpOX','AWS::CloudFormation::Interface','MbNKd','CNJNg','zKRrS','nzPUj','Resources','Subnet','Capabilities','OnFailure','jkDuN','vMuog','LVKUU','EjibY','CLXhY','waitFor','537535pocCCs','AhXAI','9DjwZqI','Subnet02Block','CFTemplates','./AWSUtils','CEMKy','DJZcD','Ref','NodeAutoScalingGroupMaxSize','NodeGroup','stringify','WknPw','7yBghYx','IKTBB','xtIGd','oTZKQ','false','46486juxpZk','PWXRw','UBsUq','utf-8','sFhjA','PJYZA','iEDKc','push','NodeAutoScalingGroupMinSize','join','Key','elDkM','schema','8mJPOqE','ZnIEj','hMKCw','aEzZV','browserstack:creationDate','ami','KQNXO','split','js-yaml','nSyLW','rALwW','createClusterStack','4361800lQJKln','VPC','EKSCluster','StackName','bluebird','../config/logger','NdgXx','2940LXdFCT','readFileAsync','tgIqa','kHjxh','fzApb','YGRBx','awsObj','Slaap','keys','BmNDK','VkngR','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','uPxlY','aws-eks-cluster-dep.yaml','qUqNT','coIZy','Subnets','NodeGroupName','mdgyf','value','0|3|4|1|5|2','Value','ZHPcj','ParameterValue','path','ODnMQ','Parameters','browserstack:cluster','LWOkS','3024042rpijmQ','DependsOn','ClusterName','xISla','jbaSf','imamb','edqEv','js-yaml-cloudformation-schema','NodeImageId','viCrR','s3-create.yaml','ParameterKey','406447PfwKmK','Tags','Subnet03Block','uLZpo','UcBxe','XGuup','IkPdq','NodeGroupWindows','load','NodeAutoScalingGroupMinSizeWindows','CmgfR','S3BucketName','RBzCa','ClusterAutoUpgrade','NodeInstanceType','BXDBb','oGCtB','createStack','cacHh','dhBrC','ParameterGroups','2010-05-15','NodeAutoScalingGroupDesiredSizeWindows','gWRjc','Metadata','ltiMK','bXOyM','BvKtf','jWDmS','wWQco','promise','2nCSTyo','s3Bucket','valueOf','gyOHt','bAzlx','xfvZH','VhJto','iVfau','yanMB','dBaxq','nIBCJ','USdKW','subnet-import.yaml'];a27_0x2d6e=function(){return _0x15112f;};return a27_0x2d6e();}const a27_0xbbcde1=a27_0x19b1;function a27_0x19b1(_0x14d5f0,_0x5836f5){const _0x2d6e9c=a27_0x2d6e();return a27_0x19b1=function(_0x19b144,_0x15151e){_0x19b144=_0x19b144-0x108;let _0x1b99c0=_0x2d6e9c[_0x19b144];return _0x1b99c0;},a27_0x19b1(_0x14d5f0,_0x5836f5);}(function(_0x2c79ce,_0xde3bc1){const _0x25669d=a27_0x19b1,_0x845a69=_0x2c79ce();while(!![]){try{const _0x28fffa=-parseInt(_0x25669d(0x12b))/0x1*(-parseInt(_0x25669d(0x14a))/0x2)+parseInt(_0x25669d(0x162))/0x3+parseInt(_0x25669d(0x1ab))/0x4*(parseInt(_0x25669d(0x18c))/0x5)+-parseInt(_0x25669d(0x11f))/0x6*(-parseInt(_0x25669d(0x199))/0x7)+-parseInt(_0x25669d(0x1b7))/0x8+parseInt(_0x25669d(0x18e))/0x9*(parseInt(_0x25669d(0x15f))/0xa)+-parseInt(_0x25669d(0x19e))/0xb*(parseInt(_0x25669d(0x1be))/0xc);if(_0x28fffa===_0xde3bc1)break;else _0x845a69['push'](_0x845a69['shift']());}catch(_0xd442dd){_0x845a69['push'](_0x845a69['shift']());}}}(a27_0x2d6e,0x5c4cb));const fs=require('fs'),path=require(a27_0xbbcde1(0x11a)),Promise=require(a27_0xbbcde1(0x1bb)),yaml=require(a27_0xbbcde1(0x1b3)),{CLOUDFORMATION_SCHEMA}=require(a27_0xbbcde1(0x126)),AWS=require('./AWSUtils')[a27_0xbbcde1(0x108)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require('../config/constants'),{logger}=require(a27_0xbbcde1(0x1bc)),{isBucketPresent}=require(a27_0xbbcde1(0x191));Promise['promisifyAll'](fs);const mergeTemplates=(_0x1fe8be,_0x457fa9)=>{const _0x3f44a3=a27_0xbbcde1,_0x52b0f4={};_0x52b0f4[_0x3f44a3(0x181)]=function(_0x219b41,_0x30f48a){return _0x219b41!==_0x30f48a;},_0x52b0f4['UBsUq']='luXbe',_0x52b0f4['iEDKc']=function(_0x3cda8d,_0x435a0b){return _0x3cda8d===_0x435a0b;},_0x52b0f4[_0x3f44a3(0x151)]=_0x3f44a3(0x169);const _0x2ccc43=_0x52b0f4;Object[_0x3f44a3(0x10a)](_0x457fa9)['forEach'](_0x9105d9=>{const _0x5ac15d=_0x3f44a3;if(_0x2ccc43[_0x5ac15d(0x1a4)](_0x2ccc43[_0x5ac15d(0x151)],_0x2ccc43[_0x5ac15d(0x151)])){var _0x1ed8d1=_0x457fa9[_0x9105d9];Object[_0x5ac15d(0x10a)](_0x1ed8d1)[_0x5ac15d(0x171)](_0x57cd4b=>{const _0x2525f6=_0x5ac15d;_0x2ccc43[_0x2525f6(0x181)](_0x2ccc43[_0x2525f6(0x1a0)],_0x2ccc43[_0x2525f6(0x1a0)])?_0x28f2ad[_0x1c6c25[_0x2525f6(0x1a8)]]=_0x48ca6b['Value']:_0x1fe8be[_0x9105d9][_0x57cd4b]=_0x1ed8d1[_0x57cd4b];});}else _0x420cc4[_0x5ac15d(0x10a)](_0x2db9ad)[_0x5ac15d(0x171)](_0x1d78ad=>{const _0x514988=_0x5ac15d;var _0x45140d=_0x55b13d[_0x1d78ad];_0x3914dc[_0x514988(0x10a)](_0x45140d)[_0x514988(0x171)](_0x117d76=>{_0x19a7c1[_0x1d78ad][_0x117d76]=_0x45140d[_0x117d76];});});});},addVPCData=async(_0x261235,_0x3bba3d)=>{const _0x4ce258=a27_0xbbcde1,_0x8ba25b={'viCrR':_0x4ce258(0x196),'ODnMQ':_0x4ce258(0x132),'oGCtB':'4|1|0|2|5|3','dBaxq':function(_0x538ef6,_0x17c257){return _0x538ef6(_0x17c257);},'ltiMK':_0x4ce258(0x17d),'gWRjc':function(_0x398a21,_0x1cc721){return _0x398a21(_0x1cc721);},'ZnIEj':_0x4ce258(0x161),'BvKtf':function(_0x139663,_0x343b91){return _0x139663(_0x343b91);},'zpVQk':function(_0x131bfe,_0x42ec4b){return _0x131bfe===_0x42ec4b;},'gyOHt':'vJDIW','IkPdq':_0x4ce258(0x190),'DcPCh':'vpc-import.yaml','tgIqa':_0x4ce258(0x1a1),'KQNXO':function(_0x1b4544,_0x1c75f3,_0x299f3e){return _0x1b4544(_0x1c75f3,_0x299f3e);},'eHoiA':_0x4ce258(0x1b8),'vMuog':function(_0x26672d,_0x4db919){return _0x26672d===_0x4db919;},'qUqNT':_0x4ce258(0x1bd),'jqAaD':_0x4ce258(0x165),'nSyLW':function(_0x4928a5,_0x56b679,_0x538603){return _0x4928a5(_0x56b679,_0x538603);},'CNJNg':_0x4ce258(0x157)};if(_0x3bba3d){if(_0x8ba25b['zpVQk'](_0x8ba25b['gyOHt'],_0x8ba25b[_0x4ce258(0x14d)])){const _0x585d59=await fs[_0x4ce258(0x1bf)](path[_0x4ce258(0x1a7)](__dirname,'..',_0x8ba25b[_0x4ce258(0x131)],_0x8ba25b[_0x4ce258(0x163)]),_0x8ba25b['tgIqa']),_0x2ee46c={};_0x2ee46c[_0x4ce258(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x4e6aa0=yaml['load'](_0x585d59,_0x2ee46c);_0x8ba25b[_0x4ce258(0x1b1)](mergeTemplates,_0x261235,_0x4e6aa0),_0x261235['Metadata'][_0x8ba25b['ltiMK']]['ParameterGroups'][0x0][_0x4ce258(0x11c)][_0x4ce258(0x1a5)](_0x8ba25b[_0x4ce258(0x174)]);}else{for(const _0x223a38 in _0x2e3e6f['Resources']){_0x409617[_0x4ce258(0x182)][_0x223a38][_0x4ce258(0x16f)]&&_0x474f90[_0x4ce258(0x182)][_0x223a38]['Properties'][_0x4ce258(0x12c)]&&_0x28ee0f[_0x4ce258(0x182)][_0x223a38]['Properties'][_0x4ce258(0x12c)][_0x4ce258(0x1a5)](..._0x30bb6);}const _0x40f594={};_0x1f59d2[_0x4ce258(0x171)](_0x3e75ff=>{const _0x10c0b7=_0x4ce258;_0x40f594[_0x3e75ff['Key']]=_0x3e75ff[_0x10c0b7(0x117)];}),_0x49e1d5[_0x4ce258(0x182)][_0x8ba25b[_0x4ce258(0x128)]][_0x4ce258(0x16f)][_0x4ce258(0x12c)]=_0x40f594,_0x57e43d[_0x4ce258(0x182)][_0x8ba25b[_0x4ce258(0x11b)]][_0x4ce258(0x16f)][_0x4ce258(0x12c)]=_0x40f594;}}else{if(_0x8ba25b[_0x4ce258(0x187)](_0x8ba25b['qUqNT'],_0x8ba25b[_0x4ce258(0x110)])){const _0x4170ce=await fs[_0x4ce258(0x1bf)](path[_0x4ce258(0x1a7)](__dirname,'..',_0x8ba25b[_0x4ce258(0x131)],_0x8ba25b[_0x4ce258(0x167)]),_0x8ba25b[_0x4ce258(0x1c0)]),_0x562197={};_0x562197[_0x4ce258(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x4b07ae=yaml[_0x4ce258(0x133)](_0x4170ce,_0x562197);_0x8ba25b[_0x4ce258(0x1b4)](mergeTemplates,_0x261235,_0x4b07ae),_0x261235[_0x4ce258(0x143)][_0x8ba25b[_0x4ce258(0x144)]][_0x4ce258(0x13f)][0x0]['Parameters'][_0x4ce258(0x1a5)](_0x8ba25b[_0x4ce258(0x17f)]);}else{const _0x4248e3=_0x8ba25b[_0x4ce258(0x13b)]['split']('|');let _0x1b1c4a=0x0;while(!![]){switch(_0x4248e3[_0x1b1c4a++]){case'0':_0x319427[_0x4ce258(0x182)][_0x4ce258(0x196)][_0x4ce258(0x16f)]['Subnets'][_0x4ce258(0x1a5)]({'Ref':_0x4ce258(0x183)+_0x8ba25b[_0x4ce258(0x153)](_0x5a4a6c,_0x53bf21)[_0x4ce258(0x164)](0x2,'0')});continue;case'1':_0x48139a[_0x4ce258(0x143)][_0x8ba25b[_0x4ce258(0x144)]][_0x4ce258(0x13f)][0x0][_0x4ce258(0x11c)][_0x4ce258(0x1a5)](_0x4ce258(0x183)+_0x8ba25b[_0x4ce258(0x153)](_0x10421c,_0x535958)[_0x4ce258(0x164)](0x2,'0'));continue;case'2':_0x54ebe8[_0x4ce258(0x182)][_0x4ce258(0x132)][_0x4ce258(0x16f)][_0x4ce258(0x112)][_0x4ce258(0x1a5)]({'Ref':'Subnet'+_0x8ba25b[_0x4ce258(0x142)](_0x47f1c3,_0x29d7ee)[_0x4ce258(0x164)](0x2,'0')});continue;case'3':_0x23f0dd+=0x1;continue;case'4':_0x16e580[_0x4ce258(0x182)][_0x4ce258(0x1b9)]['Properties'][_0x4ce258(0x178)]['SubnetIds'][_0x4ce258(0x1a5)]({'Ref':_0x4ce258(0x183)+_0x8ba25b[_0x4ce258(0x153)](_0x3c0e94,_0x2c86c5)[_0x4ce258(0x164)](0x2,'0')});continue;case'5':_0x46fc75[_0x4ce258(0x173)]['SubnetIds'][_0x4ce258(0x117)][_0x8ba25b[_0x4ce258(0x1ac)]][0x1]['push']({'Ref':'Subnet'+_0x8ba25b[_0x4ce258(0x146)](_0x4364eb,_0xae02c0)[_0x4ce258(0x164)](0x2,'0')});continue;}break;}}}},addS3Data=async _0x49ec55=>{const _0x51b5e9=a27_0xbbcde1,_0x3e2c03={'edqEv':_0x51b5e9(0x190),'JWxLj':_0x51b5e9(0x129),'xtIGd':'utf-8','imamb':function(_0x4e2fcf,_0x5a6e19){return _0x4e2fcf(_0x5a6e19);},'WknPw':function(_0x5402ea,_0x9091a8){return _0x5402ea===_0x9091a8;},'MrCUV':_0x51b5e9(0x1ae),'elDkM':_0x51b5e9(0x10c),'YGRBx':function(_0x203e29,_0x551215,_0x2a4218){return _0x203e29(_0x551215,_0x2a4218);}},_0x3834c7=await fs[_0x51b5e9(0x1bf)](path[_0x51b5e9(0x1a7)](__dirname,'..',_0x3e2c03[_0x51b5e9(0x125)],_0x3e2c03['JWxLj']),_0x3e2c03[_0x51b5e9(0x19b)]),_0x52cc01={};_0x52cc01[_0x51b5e9(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x554055=yaml[_0x51b5e9(0x133)](_0x3834c7,_0x52cc01),_0x2aa886=await _0x3e2c03[_0x51b5e9(0x124)](isBucketPresent,global_registry['s3Bucket']);_0x3e2c03[_0x51b5e9(0x198)](_0x2aa886,![])&&(_0x3e2c03['WknPw'](_0x3e2c03[_0x51b5e9(0x179)],_0x3e2c03[_0x51b5e9(0x1a9)])?_0x495488[_0x51b5e9(0x182)][_0x28e6bc][_0x51b5e9(0x16f)][_0x51b5e9(0x12c)][_0x51b5e9(0x1a5)](..._0x425153):_0x3e2c03[_0x51b5e9(0x1c3)](mergeTemplates,_0x49ec55,_0x554055));},addSubnetData=async(_0x52543d,_0xf0240a)=>{const _0x53823f=a27_0xbbcde1,_0x4f424b={'Httjv':function(_0x1390d2,_0x2f472b){return _0x1390d2(_0x2f472b);},'bXOyM':_0x53823f(0x1b8),'zKRrS':function(_0x2a49c0,_0x4bf831){return _0x2a49c0!==_0x4bf831;},'Jfewe':_0x53823f(0x14e),'EjibY':_0x53823f(0x15b),'bZlJc':_0x53823f(0x116),'VhJto':_0x53823f(0x17d),'WEwUy':function(_0x191bd3,_0x528def){return _0x191bd3(_0x528def);},'RBzCa':function(_0x4e3156,_0x2dcba8){return _0x4e3156(_0x2dcba8);},'MFlkN':_0x53823f(0x161),'CLXhY':function(_0x284a7c,_0x334387){return _0x284a7c(_0x334387);},'fPICv':function(_0xaa165f,_0x3955a3){return _0xaa165f!==_0x3955a3;},'RtyZN':_0x53823f(0x19f),'JRETN':_0x53823f(0x190),'ZHPcj':_0x53823f(0x156),'sFhjA':_0x53823f(0x1a1),'PBpTK':function(_0x3fb398,_0x557092,_0x404103){return _0x3fb398(_0x557092,_0x404103);},'fzApb':'wLhlq','hMKCw':'subnet-create.yaml','OVZhi':function(_0x24f4c7,_0xaaaacc,_0x5440b0){return _0x24f4c7(_0xaaaacc,_0x5440b0);},'uPxlY':'Subnet01','nIBCJ':'Subnet02','wWQco':'Subnet03','jviAR':'Subnet01Block','yanMB':_0x53823f(0x18f),'ePNAU':_0x53823f(0x12d)};if(_0xf0240a){if(_0x4f424b[_0x53823f(0x177)](_0x4f424b['RtyZN'],_0x4f424b[_0x53823f(0x175)]))_0x1b3dcd['Parameters'][_0x53823f(0x1a5)]({'ParameterKey':'Subnet'+_0x4f424b[_0x53823f(0x172)](_0x30f6cf,_0x539df8)[_0x53823f(0x164)](0x2,'0'),'ParameterValue':_0xcfb6e0['value']}),_0x1ec678+=0x1;else{const _0x155a08=await fs[_0x53823f(0x1bf)](path[_0x53823f(0x1a7)](__dirname,'..',_0x4f424b[_0x53823f(0x160)],_0x4f424b[_0x53823f(0x118)]),_0x4f424b[_0x53823f(0x1a2)]),_0x15c635={};_0x15c635[_0x53823f(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x57968e=yaml['load'](_0x155a08,_0x15c635);_0x4f424b['PBpTK'](mergeTemplates,_0x52543d,_0x57968e);let _0x4878d5=0x1;_0xf0240a[_0x53823f(0x171)](_0x44be29=>{const _0x3333e5=_0x53823f,_0x185c9c={};_0x185c9c['USdKW']=_0x4f424b[_0x3333e5(0x145)];const _0x399aeb=_0x185c9c;if(_0x4f424b[_0x3333e5(0x180)](_0x4f424b['Jfewe'],_0x4f424b[_0x3333e5(0x189)])){const _0xe4e1eb=_0x4f424b['bZlJc'][_0x3333e5(0x1b2)]('|');let _0x5244be=0x0;while(!![]){switch(_0xe4e1eb[_0x5244be++]){case'0':_0x52543d[_0x3333e5(0x182)][_0x3333e5(0x1b9)][_0x3333e5(0x16f)]['ResourcesVpcConfig'][_0x3333e5(0x176)][_0x3333e5(0x1a5)]({'Ref':_0x3333e5(0x183)+_0x4f424b['Httjv'](String,_0x4878d5)[_0x3333e5(0x164)](0x2,'0')});continue;case'1':_0x52543d[_0x3333e5(0x182)][_0x3333e5(0x132)][_0x3333e5(0x16f)][_0x3333e5(0x112)][_0x3333e5(0x1a5)]({'Ref':_0x3333e5(0x183)+_0x4f424b[_0x3333e5(0x172)](String,_0x4878d5)[_0x3333e5(0x164)](0x2,'0')});continue;case'2':_0x4878d5+=0x1;continue;case'3':_0x52543d[_0x3333e5(0x143)][_0x4f424b[_0x3333e5(0x150)]][_0x3333e5(0x13f)][0x0][_0x3333e5(0x11c)][_0x3333e5(0x1a5)](_0x3333e5(0x183)+_0x4f424b['WEwUy'](String,_0x4878d5)['padStart'](0x2,'0'));continue;case'4':_0x52543d['Resources'][_0x3333e5(0x196)][_0x3333e5(0x16f)][_0x3333e5(0x112)][_0x3333e5(0x1a5)]({'Ref':_0x3333e5(0x183)+_0x4f424b['RBzCa'](String,_0x4878d5)[_0x3333e5(0x164)](0x2,'0')});continue;case'5':_0x52543d[_0x3333e5(0x173)][_0x3333e5(0x176)][_0x3333e5(0x117)][_0x4f424b['MFlkN']][0x1]['push']({'Ref':_0x3333e5(0x183)+_0x4f424b[_0x3333e5(0x137)](String,_0x4878d5)[_0x3333e5(0x164)](0x2,'0')});continue;}break;}}else{const _0x2c576e={};_0x2c576e[_0x3333e5(0x12a)]=_0x399aeb[_0x3333e5(0x155)],_0x2c576e[_0x3333e5(0x119)]=_0x235281,_0x551758[_0x3333e5(0x11c)][_0x3333e5(0x1a5)](_0x2c576e);}});}}else{if(_0x4f424b[_0x53823f(0x177)](_0x4f424b[_0x53823f(0x1c2)],_0x4f424b[_0x53823f(0x1c2)])){let _0x38254f=0x1;_0x4d027b['forEach'](_0x45a939=>{const _0xb655d5=_0x53823f;_0x4c625a[_0xb655d5(0x11c)][_0xb655d5(0x1a5)]({'ParameterKey':_0xb655d5(0x183)+_0x4f424b[_0xb655d5(0x18a)](_0x31411c,_0x38254f)[_0xb655d5(0x164)](0x2,'0'),'ParameterValue':_0x45a939[_0xb655d5(0x115)]}),_0x38254f+=0x1;});}else{const _0x3aa3cc=await fs['readFileAsync'](path['join'](__dirname,'..',_0x4f424b[_0x53823f(0x160)],_0x4f424b[_0x53823f(0x1ad)]),_0x4f424b[_0x53823f(0x1a2)]),_0x14c293={};_0x14c293[_0x53823f(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x41daa5=yaml[_0x53823f(0x133)](_0x3aa3cc,_0x14c293);_0x4f424b['OVZhi'](mergeTemplates,_0x52543d,_0x41daa5),_0x52543d[_0x53823f(0x182)][_0x53823f(0x1b9)][_0x53823f(0x120)]['push'](_0x4f424b['uPxlY'],_0x4f424b['nIBCJ'],_0x4f424b[_0x53823f(0x148)]);const _0x5aafd9={};_0x5aafd9[_0x53823f(0x194)]=_0x4f424b[_0x53823f(0x10e)];const _0x4125b3={};_0x4125b3['Ref']=_0x4f424b[_0x53823f(0x154)];const _0x19e008={};_0x19e008[_0x53823f(0x194)]=_0x4f424b['wWQco'],_0x52543d[_0x53823f(0x182)][_0x53823f(0x1b9)][_0x53823f(0x16f)][_0x53823f(0x178)][_0x53823f(0x176)]=[_0x5aafd9,_0x4125b3,_0x19e008],_0x52543d[_0x53823f(0x143)][_0x4f424b['VhJto']]['ParameterGroups'][0x0][_0x53823f(0x11c)][_0x53823f(0x1a5)](_0x4f424b['jviAR'],_0x4f424b[_0x53823f(0x152)],_0x4f424b['ePNAU']);const _0x1f7acb={};_0x1f7acb['Ref']=_0x4f424b['uPxlY'];const _0x53d6e9={};_0x53d6e9[_0x53823f(0x194)]=_0x4f424b[_0x53823f(0x154)];const _0x47c861={};_0x47c861[_0x53823f(0x194)]=_0x4f424b[_0x53823f(0x148)],_0x52543d[_0x53823f(0x182)][_0x53823f(0x196)][_0x53823f(0x16f)][_0x53823f(0x112)]=[_0x1f7acb,_0x53d6e9,_0x47c861];const _0x4085b5={};_0x4085b5['Ref']=_0x4f424b['uPxlY'];const _0x409321={};_0x409321[_0x53823f(0x194)]=_0x4f424b[_0x53823f(0x154)];const _0x235f24={};_0x235f24[_0x53823f(0x194)]=_0x4f424b[_0x53823f(0x148)],_0x52543d[_0x53823f(0x182)]['NodeGroupWindows'][_0x53823f(0x16f)][_0x53823f(0x112)]=[_0x4085b5,_0x409321,_0x235f24],_0x52543d['Outputs']['SubnetIds'][_0x53823f(0x117)][_0x4f424b['MFlkN']][0x1]=[{'Ref':_0x4f424b['uPxlY']},{'Ref':_0x4f424b['nIBCJ']},{'Ref':_0x4f424b[_0x53823f(0x148)]}];}}},addTags=async(_0x2f4255,_0x1a62f0,_0x22dfe5)=>{const _0x28a527=a27_0xbbcde1,_0x5e664f={'YqRRm':function(_0x555237,_0x3fa991,_0x15ba5a){return _0x555237(_0x3fa991,_0x15ba5a);},'QPUNo':function(_0x1ed942,_0x328ed0){return _0x1ed942!==_0x328ed0;},'UcBxe':_0x28a527(0x14f),'LWOkS':'bYUze','BXDBb':function(_0xec44a3,_0x40d9a9){return _0xec44a3===_0x40d9a9;},'cacHh':_0x28a527(0x122),'DJZcD':_0x28a527(0x196),'uLZpo':_0x28a527(0x132)};for(const _0x3ca2e3 in _0x2f4255[_0x28a527(0x182)]){if(_0x5e664f[_0x28a527(0x16d)](_0x5e664f['LWOkS'],_0x5e664f[_0x28a527(0x11e)])){var _0x609b6a=_0x4ff4ac[_0x3fe23f];_0x4de768[_0x28a527(0x10a)](_0x609b6a)[_0x28a527(0x171)](_0xa44d0e=>{_0x100120[_0x4b362c][_0xa44d0e]=_0x609b6a[_0xa44d0e];});}else _0x2f4255[_0x28a527(0x182)][_0x3ca2e3][_0x28a527(0x16f)]&&_0x2f4255[_0x28a527(0x182)][_0x3ca2e3]['Properties']['Tags']&&(_0x5e664f[_0x28a527(0x13a)](_0x5e664f[_0x28a527(0x13d)],_0x5e664f[_0x28a527(0x13d)])?_0x2f4255[_0x28a527(0x182)][_0x3ca2e3][_0x28a527(0x16f)][_0x28a527(0x12c)][_0x28a527(0x1a5)](..._0x22dfe5):_0x396586['Resources'][_0x3e3a24]['Properties']&&_0x41f395['Resources'][_0x5b994f][_0x28a527(0x16f)][_0x28a527(0x12c)]&&_0x4fc4df[_0x28a527(0x182)][_0x106fa7]['Properties']['Tags'][_0x28a527(0x1a5)](..._0x5d8956));}const _0x343850={};_0x22dfe5[_0x28a527(0x171)](_0x3f7ab6=>{const _0x280b41=_0x28a527,_0x1bd3f7={'thUkq':function(_0x3aa092,_0x1aa40f,_0x434770){const _0x22bed8=a27_0x19b1;return _0x5e664f[_0x22bed8(0x16e)](_0x3aa092,_0x1aa40f,_0x434770);}};_0x5e664f['QPUNo'](_0x5e664f[_0x280b41(0x12f)],_0x5e664f[_0x280b41(0x12f)])?_0x1bd3f7['thUkq'](_0x360a27,_0x2503c7,_0x1aa21b):_0x343850[_0x3f7ab6[_0x280b41(0x1a8)]]=_0x3f7ab6[_0x280b41(0x117)];}),_0x2f4255[_0x28a527(0x182)][_0x5e664f[_0x28a527(0x193)]][_0x28a527(0x16f)][_0x28a527(0x12c)]=_0x343850,_0x2f4255[_0x28a527(0x182)][_0x5e664f[_0x28a527(0x12e)]][_0x28a527(0x16f)][_0x28a527(0x12c)]=_0x343850;};exports[a27_0xbbcde1(0x1b6)]=async(_0x2e4db7,_0x398414,_0x191ff7,_0x58a961=null,_0x5a62e1=null,_0x335129)=>{const _0x501fec=a27_0xbbcde1,_0x49d8cf={'iIgem':function(_0xa3f9b6,_0x4ec29c){return _0xa3f9b6(_0x4ec29c);},'XWWJO':_0x501fec(0x11d),'eUmMb':_0x501fec(0x1af),'CmgfR':_0x501fec(0x140),'jbaSf':_0x501fec(0x190),'mdgyf':_0x501fec(0x10f),'VsGQk':_0x501fec(0x1a1),'kHjxh':function(_0x48e395,_0x3d0bb7,_0x4b180b){return _0x48e395(_0x3d0bb7,_0x4b180b);},'zhgDJ':function(_0x2376cb,_0x179f84,_0x36e86f,_0xe0867d){return _0x2376cb(_0x179f84,_0x36e86f,_0xe0867d);},'LVKUU':_0x501fec(0x17b),'MbNKd':_0x501fec(0x121),'coIZy':_0x501fec(0x113),'JRKHc':_0x501fec(0x1a6),'dhBrC':_0x501fec(0x134),'Slaap':_0x501fec(0x141),'LEQql':_0x501fec(0x195),'UdiaG':_0x501fec(0x127),'TxTuw':_0x501fec(0x139),'oTZKQ':_0x501fec(0x136),'fKvUf':_0x501fec(0x16b),'aTZgP':_0x501fec(0x138),'nvLlD':'true','XGuup':_0x501fec(0x19d),'gRpOX':'CAPABILITY_NAMED_IAM','PJYZA':function(_0x4c16a5,_0x57b403){return _0x4c16a5!=_0x57b403;},'IKTBB':function(_0x2bfde8,_0x79c354){return _0x2bfde8!==_0x79c354;},'TZtwZ':function(_0x5e7f7f,_0x23d7ee){return _0x5e7f7f===_0x23d7ee;},'rALwW':_0x501fec(0x10b),'CEMKy':_0x501fec(0x18d),'ubSsl':_0x501fec(0x1b8),'jWDmS':function(_0x533e33,_0x4a20b8){return _0x533e33!=_0x4a20b8;},'jkDuN':_0x501fec(0x10d),'zIJBG':'stackCreateComplete'},_0x5adffd=COMMON_HST_TAGS,_0x4f6ee6={};_0x4f6ee6['Key']=_0x49d8cf['XWWJO'],_0x4f6ee6['Value']=_0x2e4db7,_0x5adffd['push'](_0x4f6ee6),_0x5adffd[_0x501fec(0x1a5)]({'Key':_0x49d8cf['eUmMb'],'Value':new Date()[_0x501fec(0x14c)]()['toString']()});const _0xd4770b={};_0xd4770b[_0x501fec(0x15c)]=_0x49d8cf[_0x501fec(0x135)];const _0x59b03c=new AWS[(_0x501fec(0x170))](_0xd4770b),_0x103a02=await fs[_0x501fec(0x1bf)](path[_0x501fec(0x1a7)](__dirname,'..',_0x49d8cf[_0x501fec(0x123)],_0x49d8cf[_0x501fec(0x114)]),_0x49d8cf['VsGQk']),_0x22393c={};_0x22393c[_0x501fec(0x1aa)]=CLOUDFORMATION_SCHEMA;const _0x354f37=yaml[_0x501fec(0x133)](_0x103a02,_0x22393c);await _0x49d8cf[_0x501fec(0x1c1)](addVPCData,_0x354f37,_0x58a961),await _0x49d8cf[_0x501fec(0x15d)](addS3Data,_0x354f37),await _0x49d8cf[_0x501fec(0x1c1)](addSubnetData,_0x354f37,_0x5a62e1),await _0x49d8cf['zhgDJ'](addTags,_0x354f37,_0x2e4db7,_0x5adffd);const _0x20a7b1=JSON[_0x501fec(0x197)](_0x354f37),_0x1601e6={};_0x1601e6['StackName']=CLUSTER_DEP_STACK_NAME+'-'+_0x2e4db7,_0x1601e6[_0x501fec(0x185)]=_0x49d8cf[_0x501fec(0x188)],_0x1601e6[_0x501fec(0x16a)]=_0x20a7b1,_0x1601e6[_0x501fec(0x11c)]=[{'ParameterKey':_0x49d8cf[_0x501fec(0x17e)],'ParameterValue':_0x2e4db7},{'ParameterKey':_0x49d8cf[_0x501fec(0x111)],'ParameterValue':_0x2e4db7+_0x501fec(0x168)},{'ParameterKey':_0x49d8cf[_0x501fec(0x159)],'ParameterValue':''+_0x398414},{'ParameterKey':_0x49d8cf[_0x501fec(0x13e)],'ParameterValue':'0'},{'ParameterKey':_0x49d8cf[_0x501fec(0x109)],'ParameterValue':'1'},{'ParameterKey':_0x49d8cf['LEQql'],'ParameterValue':''+_0x191ff7},{'ParameterKey':_0x49d8cf[_0x501fec(0x16c)],'ParameterValue':global_registry[_0x501fec(0x1b0)]},{'ParameterKey':_0x49d8cf[_0x501fec(0x166)],'ParameterValue':global_registry[_0x501fec(0x158)]},{'ParameterKey':_0x49d8cf[_0x501fec(0x19c)],'ParameterValue':global_registry[_0x501fec(0x14b)]},{'ParameterKey':_0x49d8cf['fKvUf'],'ParameterValue':_0x2e4db7+'-Windows-NodeGroup'},{'ParameterKey':_0x49d8cf['aTZgP'],'ParameterValue':_0x335129?_0x49d8cf[_0x501fec(0x15e)]:_0x49d8cf[_0x501fec(0x130)]}],_0x1601e6[_0x501fec(0x184)]=[_0x49d8cf[_0x501fec(0x17c)]],_0x1601e6['Tags']=_0x5adffd;const _0x125dbb=_0x1601e6;if(_0x49d8cf[_0x501fec(0x1a3)](_0x58a961,null)&&_0x49d8cf[_0x501fec(0x19a)](_0x58a961,undefined)){if(_0x49d8cf['TZtwZ'](_0x49d8cf[_0x501fec(0x1b5)],_0x49d8cf[_0x501fec(0x192)]))_0x483990[_0xd218f5][_0x3776a7]=_0x5e597c[_0xf1a9e4];else{const _0x146c6c={};_0x146c6c[_0x501fec(0x12a)]=_0x49d8cf['ubSsl'],_0x146c6c[_0x501fec(0x119)]=_0x58a961,_0x125dbb[_0x501fec(0x11c)][_0x501fec(0x1a5)](_0x146c6c);}}if(_0x49d8cf[_0x501fec(0x147)](_0x5a62e1,null)&&_0x49d8cf[_0x501fec(0x19a)](_0x5a62e1,undefined)){let _0x2609aa=0x1;_0x5a62e1[_0x501fec(0x171)](_0x4307f=>{const _0x4f68b6=_0x501fec;_0x125dbb[_0x4f68b6(0x11c)][_0x4f68b6(0x1a5)]({'ParameterKey':_0x4f68b6(0x183)+_0x49d8cf[_0x4f68b6(0x15d)](String,_0x2609aa)[_0x4f68b6(0x164)](0x2,'0'),'ParameterValue':_0x4307f[_0x4f68b6(0x115)]}),_0x2609aa+=0x1;});}const _0x8d1246=await _0x59b03c[_0x501fec(0x13c)](_0x125dbb)[_0x501fec(0x149)]();logger['debug'](_0x49d8cf[_0x501fec(0x186)]);const _0x10d981={};return _0x10d981[_0x501fec(0x1ba)]=_0x8d1246[_0x501fec(0x15a)],_0x59b03c[_0x501fec(0x18b)](_0x49d8cf[_0x501fec(0x17a)],_0x10d981)[_0x501fec(0x149)]();};
@@ -1 +1 @@
1
- function a28_0x3c43(){const _0x11f7f3=['948950SEUTEn','-cf','toString','28rjIXnf','mUItJ','508552BUykxk','YWbOY','split','StackName','awsObj','Tags','AYEHs','browserstack:creationDate','6261654NQlXiz','CAPABILITY_NAMED_IAM','DELETE','CFTemplates','1114083fsqtAz','utf-8','DnzKM','stackCreateComplete','2010-05-15','21nUbcAs','js-yaml-cloudformation-schema','Key','glqfh','Value','apiVersion','322534Uycdst','../config/logger','IrihW','4866815ztgWBd','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','promise','://','Capabilities','MPOuk','promisifyAll','xOdmr','OnFailure','GKgVk','ojsAT','cXhWy','VpcId','./AWSUtils','4LxkVHx','push','Fxhfs','waitFor','BaseResourceName','path','ClusterOIDCURL','645490vvKAFo','TemplateBody','Properties','schema','StackId','Resources','join','valueOf','js-yaml'];a28_0x3c43=function(){return _0x11f7f3;};return a28_0x3c43();}function a28_0x1337(_0x46f9fb,_0x457393){const _0x3c436d=a28_0x3c43();return a28_0x1337=function(_0x13375a,_0x1241e6){_0x13375a=_0x13375a-0x80;let _0xd65598=_0x3c436d[_0x13375a];return _0xd65598;},a28_0x1337(_0x46f9fb,_0x457393);}const a28_0x1e9bc6=a28_0x1337;(function(_0x561423,_0x33d324){const _0xe52644=a28_0x1337,_0x5d0d5a=_0x561423();while(!![]){try{const _0x41c1e7=-parseInt(_0xe52644(0xbb))/0x1+-parseInt(_0xe52644(0xa3))/0x2*(-parseInt(_0xe52644(0x9d))/0x3)+-parseInt(_0xe52644(0xb4))/0x4*(-parseInt(_0xe52644(0xa6))/0x5)+-parseInt(_0xe52644(0x94))/0x6+parseInt(_0xe52644(0x8a))/0x7*(parseInt(_0xe52644(0x8c))/0x8)+-parseInt(_0xe52644(0x98))/0x9+parseInt(_0xe52644(0x87))/0xa;if(_0x41c1e7===_0x33d324)break;else _0x5d0d5a['push'](_0x5d0d5a['shift']());}catch(_0x512572){_0x5d0d5a['push'](_0x5d0d5a['shift']());}}}(a28_0x3c43,0x9be35));const fs=require('fs'),path=require(a28_0x1e9bc6(0xb9)),Promise=require('bluebird'),yaml=require(a28_0x1e9bc6(0x86)),{CLOUDFORMATION_SCHEMA}=require(a28_0x1e9bc6(0x9e)),AWS=require(a28_0x1e9bc6(0xb3))[a28_0x1e9bc6(0x90)],AWSUtils=require(a28_0x1e9bc6(0xb3)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a28_0x1e9bc6(0xa4));Promise[a28_0x1e9bc6(0xac)](fs);const addTags=async(_0x39d3a4,_0x3027cd)=>{const _0x14562f=a28_0x1e9bc6;for(const _0x33abdc in _0x39d3a4[_0x14562f(0x83)]){_0x39d3a4[_0x14562f(0x83)][_0x33abdc][_0x14562f(0x80)]&&_0x39d3a4[_0x14562f(0x83)][_0x33abdc][_0x14562f(0x80)][_0x14562f(0x91)]&&_0x39d3a4['Resources'][_0x33abdc][_0x14562f(0x80)]['Tags'][_0x14562f(0xb5)](..._0x3027cd);}};exports['createHubHaStack']=async(_0x33a307,_0x2c0a4e=null)=>{const _0xcddb0f=a28_0x1e9bc6,_0x37af18={'glqfh':'browserstack:cluster','AYEHs':_0xcddb0f(0x93),'MPOuk':_0xcddb0f(0x9c),'IrihW':_0xcddb0f(0x97),'YWbOY':'hub-ha.yaml','aQCmG':_0xcddb0f(0x99),'Fxhfs':function(_0x368ffa,_0x2734c8,_0x246e49){return _0x368ffa(_0x2734c8,_0x246e49);},'LnLQn':_0xcddb0f(0xa9),'cXhWy':_0xcddb0f(0x96),'GKgVk':_0xcddb0f(0xb2),'ojsAT':_0xcddb0f(0xb8),'oPSTg':_0xcddb0f(0xba),'xOdmr':_0xcddb0f(0x95),'DnzKM':_0xcddb0f(0xa7),'mUItJ':_0xcddb0f(0x9b)},_0x342644=COMMON_HST_TAGS,_0x1f421f={};_0x1f421f[_0xcddb0f(0x9f)]=_0x37af18[_0xcddb0f(0xa0)],_0x1f421f[_0xcddb0f(0xa1)]=_0x33a307,_0x342644[_0xcddb0f(0xb5)](_0x1f421f),_0x342644[_0xcddb0f(0xb5)]({'Key':_0x37af18[_0xcddb0f(0x92)],'Value':new Date()[_0xcddb0f(0x85)]()[_0xcddb0f(0x89)]()});const _0x9f0370={};_0x9f0370[_0xcddb0f(0xa2)]=_0x37af18[_0xcddb0f(0xab)];const _0x2fd40b=new AWS['CloudFormation'](_0x9f0370),_0x4650bc=await fs['readFileAsync'](path[_0xcddb0f(0x84)](__dirname,'..',_0x37af18[_0xcddb0f(0xa5)],_0x37af18[_0xcddb0f(0x8d)]),_0x37af18['aQCmG']),_0x1c6dc9={};_0x1c6dc9[_0xcddb0f(0x81)]=CLOUDFORMATION_SCHEMA;const _0x480f13=yaml['load'](_0x4650bc,_0x1c6dc9);await _0x37af18[_0xcddb0f(0xb6)](addTags,_0x480f13,_0x342644);const _0xbd13d6=JSON['stringify'](_0x480f13);let _0x4b2ff0=await AWSUtils['getOidcUrl'](_0x33a307);_0x4b2ff0=_0x4b2ff0[_0xcddb0f(0x8e)](_0x37af18['LnLQn'])[0x1];const _0x47ec64={};_0x47ec64[_0xcddb0f(0x8f)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x33a307+_0xcddb0f(0x88),_0x47ec64[_0xcddb0f(0xae)]=_0x37af18[_0xcddb0f(0xb1)],_0x47ec64[_0xcddb0f(0xbc)]=_0xbd13d6,_0x47ec64['Parameters']=[{'ParameterKey':_0x37af18[_0xcddb0f(0xaf)],'ParameterValue':_0x2c0a4e},{'ParameterKey':_0x37af18[_0xcddb0f(0xb0)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x33a307},{'ParameterKey':_0x37af18['oPSTg'],'ParameterValue':_0x4b2ff0}],_0x47ec64[_0xcddb0f(0xaa)]=[_0x37af18[_0xcddb0f(0xad)]],_0x47ec64[_0xcddb0f(0x91)]=_0x342644;const _0x536564=_0x47ec64,_0x16bc3e=await _0x2fd40b['createStack'](_0x536564)[_0xcddb0f(0xa8)]();logger['info'](_0x37af18[_0xcddb0f(0x9a)]);const _0x2bcbeb={};return _0x2bcbeb[_0xcddb0f(0x8f)]=_0x16bc3e[_0xcddb0f(0x82)],_0x2fd40b[_0xcddb0f(0xb7)](_0x37af18[_0xcddb0f(0x8b)],_0x2bcbeb)['promise']();};
1
+ const a28_0x4b0b6b=a28_0x563a;(function(_0x490d0e,_0x465dad){const _0x422984=a28_0x563a,_0x468c68=_0x490d0e();while(!![]){try{const _0x4c8827=-parseInt(_0x422984(0xe8))/0x1*(parseInt(_0x422984(0xbe))/0x2)+parseInt(_0x422984(0xd3))/0x3*(parseInt(_0x422984(0xe2))/0x4)+-parseInt(_0x422984(0xbf))/0x5+parseInt(_0x422984(0xc7))/0x6*(-parseInt(_0x422984(0xb9))/0x7)+-parseInt(_0x422984(0xd7))/0x8+parseInt(_0x422984(0xc0))/0x9+-parseInt(_0x422984(0xd9))/0xa*(-parseInt(_0x422984(0xd0))/0xb);if(_0x4c8827===_0x465dad)break;else _0x468c68['push'](_0x468c68['shift']());}catch(_0x4f2ca1){_0x468c68['push'](_0x468c68['shift']());}}}(a28_0x3e75,0x4c8e9));const fs=require('fs'),path=require(a28_0x4b0b6b(0xd4)),Promise=require('bluebird'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a28_0x4b0b6b(0xc6)),AWS=require(a28_0x4b0b6b(0xb8))['awsObj'],AWSUtils=require(a28_0x4b0b6b(0xb8)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x4b0b6b(0xc2)),{logger}=require('../config/logger');function a28_0x3e75(){const _0x2c55d8=['../config/constants','CloudFormation','Parameters','Capabilities','js-yaml-cloudformation-schema','2194896pxaZLP','push','browserstack:creationDate','promisifyAll','apiVersion','schema','Crvob','ClusterOIDCURL','JelRL','2277ThDDEc','eXMHL','BaseResourceName','5442ncSzQS','path','waitFor','promise','1742656YpIJZH','CFTemplates','42740xQAGYR','Properties','srFpS','toString','createHubHaStack','createStack','StackId','Value','load','1356rVbkiE','join','info','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','AUgAM','OnFailure','177779BarvlI','VpcId','valueOf','hGpWv','stackCreateComplete','Resources','StackName','rtkVI','-cf','Tags','hub-ha.yaml','2010-05-15','qiNdV','./AWSUtils','7jbdaYT','getOidcUrl','utf-8','STUUr','ydtSR','2ZGULOS','2560280yXxEiD','786564PSLrGm','browserstack:cluster'];a28_0x3e75=function(){return _0x2c55d8;};return a28_0x3e75();}function a28_0x563a(_0x120dfd,_0x5dbbf5){const _0x3e7566=a28_0x3e75();return a28_0x563a=function(_0x563af0,_0xb81163){_0x563af0=_0x563af0-0xb8;let _0x35c9ba=_0x3e7566[_0x563af0];return _0x35c9ba;},a28_0x563a(_0x120dfd,_0x5dbbf5);}Promise[a28_0x4b0b6b(0xca)](fs);const addTags=async(_0x7b9a9,_0x4f126a)=>{const _0x2a9d09=a28_0x4b0b6b;for(const _0x4977f7 in _0x7b9a9[_0x2a9d09(0xed)]){_0x7b9a9[_0x2a9d09(0xed)][_0x4977f7][_0x2a9d09(0xda)]&&_0x7b9a9['Resources'][_0x4977f7]['Properties'][_0x2a9d09(0xf1)]&&_0x7b9a9[_0x2a9d09(0xed)][_0x4977f7][_0x2a9d09(0xda)]['Tags']['push'](..._0x4f126a);}};exports[a28_0x4b0b6b(0xdd)]=async(_0x589790,_0x18b25b=null)=>{const _0x32edba=a28_0x4b0b6b,_0x77693f={'ydtSR':_0x32edba(0xc1),'eXMHL':_0x32edba(0xc9),'rtkVI':_0x32edba(0xf3),'STUUr':_0x32edba(0xd8),'hGpWv':_0x32edba(0xf2),'Crvob':_0x32edba(0xbb),'JelRL':function(_0x590df4,_0x3d1087,_0x121975){return _0x590df4(_0x3d1087,_0x121975);},'QrJEG':'://','FyMBs':'DELETE','srFpS':_0x32edba(0xe9),'kkFRA':_0x32edba(0xd2),'NqZJb':_0x32edba(0xce),'AUgAM':'CAPABILITY_NAMED_IAM','DZgVI':_0x32edba(0xe5),'qiNdV':_0x32edba(0xec)},_0x5a8a61=COMMON_HST_TAGS,_0x132e43={};_0x132e43['Key']=_0x77693f[_0x32edba(0xbd)],_0x132e43[_0x32edba(0xe0)]=_0x589790,_0x5a8a61[_0x32edba(0xc8)](_0x132e43),_0x5a8a61[_0x32edba(0xc8)]({'Key':_0x77693f[_0x32edba(0xd1)],'Value':new Date()[_0x32edba(0xea)]()[_0x32edba(0xdc)]()});const _0x2ae638={};_0x2ae638[_0x32edba(0xcb)]=_0x77693f[_0x32edba(0xef)];const _0x294df0=new AWS[(_0x32edba(0xc3))](_0x2ae638),_0x3a0412=await fs['readFileAsync'](path[_0x32edba(0xe3)](__dirname,'..',_0x77693f[_0x32edba(0xbc)],_0x77693f[_0x32edba(0xeb)]),_0x77693f[_0x32edba(0xcd)]),_0x59c469={};_0x59c469[_0x32edba(0xcc)]=CLOUDFORMATION_SCHEMA;const _0x4ef05b=yaml[_0x32edba(0xe1)](_0x3a0412,_0x59c469);await _0x77693f[_0x32edba(0xcf)](addTags,_0x4ef05b,_0x5a8a61);const _0x57d21c=JSON['stringify'](_0x4ef05b);let _0x4ddedb=await AWSUtils[_0x32edba(0xba)](_0x589790);_0x4ddedb=_0x4ddedb['split'](_0x77693f['QrJEG'])[0x1];const _0x57b269={};_0x57b269[_0x32edba(0xee)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x589790+_0x32edba(0xf0),_0x57b269[_0x32edba(0xe7)]=_0x77693f['FyMBs'],_0x57b269['TemplateBody']=_0x57d21c,_0x57b269[_0x32edba(0xc4)]=[{'ParameterKey':_0x77693f[_0x32edba(0xdb)],'ParameterValue':_0x18b25b},{'ParameterKey':_0x77693f['kkFRA'],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x589790},{'ParameterKey':_0x77693f['NqZJb'],'ParameterValue':_0x4ddedb}],_0x57b269[_0x32edba(0xc5)]=[_0x77693f[_0x32edba(0xe6)]],_0x57b269[_0x32edba(0xf1)]=_0x5a8a61;const _0x2ea713=_0x57b269,_0x46e091=await _0x294df0[_0x32edba(0xde)](_0x2ea713)[_0x32edba(0xd6)]();logger[_0x32edba(0xe4)](_0x77693f['DZgVI']);const _0x23e1f={};return _0x23e1f[_0x32edba(0xee)]=_0x46e091[_0x32edba(0xdf)],_0x294df0[_0x32edba(0xd5)](_0x77693f[_0x32edba(0xf4)],_0x23e1f)[_0x32edba(0xd6)]();};
@@ -1 +1 @@
1
- function a29_0x284a(_0x2f0155,_0x347355){const _0x3a2586=a29_0x3a25();return a29_0x284a=function(_0x284a79,_0x410c1f){_0x284a79=_0x284a79-0x153;let _0x238852=_0x3a2586[_0x284a79];return _0x238852;},a29_0x284a(_0x2f0155,_0x347355);}const a29_0x11f76f=a29_0x284a;(function(_0x3a8e3c,_0x30128a){const _0x1f9c59=a29_0x284a,_0x9b42c6=_0x3a8e3c();while(!![]){try{const _0x18df4f=parseInt(_0x1f9c59(0x156))/0x1+parseInt(_0x1f9c59(0x16c))/0x2*(-parseInt(_0x1f9c59(0x159))/0x3)+parseInt(_0x1f9c59(0x16a))/0x4*(parseInt(_0x1f9c59(0x155))/0x5)+parseInt(_0x1f9c59(0x16f))/0x6+parseInt(_0x1f9c59(0x164))/0x7+-parseInt(_0x1f9c59(0x167))/0x8*(parseInt(_0x1f9c59(0x16b))/0x9)+parseInt(_0x1f9c59(0x158))/0xa*(-parseInt(_0x1f9c59(0x168))/0xb);if(_0x18df4f===_0x30128a)break;else _0x9b42c6['push'](_0x9b42c6['shift']());}catch(_0x47f07f){_0x9b42c6['push'](_0x9b42c6['shift']());}}}(a29_0x3a25,0x65f7a));const fs=require('fs'),yaml=require(a29_0x11f76f(0x154)),Promise=require(a29_0x11f76f(0x162)),{getDirForConfig}=require(a29_0x11f76f(0x15d));Promise['promisifyAll'](fs),exports[a29_0x11f76f(0x172)]=async(_0x783262,_0x3e5f01)=>{const _0xaa61fc=a29_0x11f76f,_0x2517dc={'kVpAl':function(_0x2bda27){return _0x2bda27();},'xLCgL':'insecure-skip-tls-verify','JplTr':_0xaa61fc(0x15f)},_0x13da29=_0x2517dc[_0xaa61fc(0x169)](getDirForConfig);!fs[_0xaa61fc(0x15c)](_0x13da29)&&fs[_0xaa61fc(0x16e)](_0x13da29);let _0x16ec4a=await _0x783262[_0xaa61fc(0x165)]();if(_0x3e5f01){const _0x2419ad=yaml[_0xaa61fc(0x163)](_0x16ec4a);_0x2419ad[_0xaa61fc(0x15e)][0x0]['cluster'][_0x2517dc[_0xaa61fc(0x16d)]]=!![],_0x16ec4a=yaml[_0xaa61fc(0x157)](_0x2419ad);}const _0x4c1b4e=await import(_0x2517dc[_0xaa61fc(0x160)]),_0x419651=new _0x4c1b4e[(_0xaa61fc(0x161))]();_0x419651[_0xaa61fc(0x153)](_0x16ec4a);const _0x378ca6=_0x419651['makeApiClient'](_0x4c1b4e['CoreV1Api']),_0x1fefe8=_0x419651['makeApiClient'](_0x4c1b4e[_0xaa61fc(0x170)]),_0x143ecd=_0x419651[_0xaa61fc(0x171)](_0x4c1b4e[_0xaa61fc(0x15a)]),_0x302a59=_0x419651[_0xaa61fc(0x171)](_0x4c1b4e[_0xaa61fc(0x15b)]),_0x7ee690=_0x419651[_0xaa61fc(0x171)](_0x4c1b4e['ApiregistrationV1Api']),_0x237fa2=_0x419651[_0xaa61fc(0x171)](_0x4c1b4e[_0xaa61fc(0x166)]);return[_0x378ca6,_0x1fefe8,_0x143ecd,_0x302a59,_0x7ee690,_0x237fa2,_0x419651];};function a29_0x3a25(){const _0xa6a99=['329104tIsBqf','dump','20tjfBDX','919455QTnsth','NetworkingV1Api','RbacAuthorizationV1Api','existsSync','./utilityMethods','clusters','@kubernetes/client-node','JplTr','KubeConfig','bluebird','load','5275242qxktFR','getKubeConfigData','StorageV1Api','8rrrBcv','4575835ukGQtY','kVpAl','162832DdnFBW','741186bnrLRU','2luwbPi','xLCgL','mkdirSync','159318PDfxic','AppsV1Api','makeApiClient','createK8sClient','loadFromString','js-yaml','65CTysSl'];a29_0x3a25=function(){return _0xa6a99;};return a29_0x3a25();}
1
+ const a29_0x180f23=a29_0x4207;function a29_0x5357(){const _0x46d29d=['1761FyCpoJ','4011600qFAOsc','./utilityMethods','CoreV1Api','ikdoI','@kubernetes/client-node','load','createK8sClient','12ZtmiKq','loadFromString','127827ixtJji','8464704sArptr','getKubeConfigData','bluebird','3184fIlGBj','ISjtI','insecure-skip-tls-verify','ApiregistrationV1Api','1075559XyUYuT','18370132gCfTIa','NetworkingV1Api','existsSync','18960hmuMbK','mkdirSync','makeApiClient','2988EpBkOW','2yZELrV'];a29_0x5357=function(){return _0x46d29d;};return a29_0x5357();}(function(_0x704702,_0x169f6a){const _0x2a0729=a29_0x4207,_0x173a9d=_0x704702();while(!![]){try{const _0x2a50e5=parseInt(_0x2a0729(0x187))/0x1*(parseInt(_0x2a0729(0x174))/0x2)+-parseInt(_0x2a0729(0x175))/0x3*(-parseInt(_0x2a0729(0x183))/0x4)+-parseInt(_0x2a0729(0x176))/0x5+parseInt(_0x2a0729(0x17d))/0x6*(-parseInt(_0x2a0729(0x17f))/0x7)+-parseInt(_0x2a0729(0x180))/0x8+-parseInt(_0x2a0729(0x173))/0x9*(parseInt(_0x2a0729(0x18b))/0xa)+parseInt(_0x2a0729(0x188))/0xb;if(_0x2a50e5===_0x169f6a)break;else _0x173a9d['push'](_0x173a9d['shift']());}catch(_0x474770){_0x173a9d['push'](_0x173a9d['shift']());}}}(a29_0x5357,0xa7955));const fs=require('fs'),yaml=require('js-yaml'),Promise=require(a29_0x180f23(0x182)),{getDirForConfig}=require(a29_0x180f23(0x177));function a29_0x4207(_0x48e172,_0x538709){const _0x535740=a29_0x5357();return a29_0x4207=function(_0x420727,_0x37c182){_0x420727=_0x420727-0x172;let _0x134e2f=_0x535740[_0x420727];return _0x134e2f;},a29_0x4207(_0x48e172,_0x538709);}Promise['promisifyAll'](fs),exports[a29_0x180f23(0x17c)]=async(_0x449986,_0x34d596)=>{const _0x51732f=a29_0x180f23,_0x5be3c6={'ISjtI':function(_0x258e5c){return _0x258e5c();},'ikdoI':_0x51732f(0x185),'LJgpV':_0x51732f(0x17a)},_0x4053eb=_0x5be3c6[_0x51732f(0x184)](getDirForConfig);!fs[_0x51732f(0x18a)](_0x4053eb)&&fs[_0x51732f(0x18c)](_0x4053eb);let _0x4f960e=await _0x449986[_0x51732f(0x181)]();if(_0x34d596){const _0x294079=yaml[_0x51732f(0x17b)](_0x4f960e);_0x294079['clusters'][0x0]['cluster'][_0x5be3c6[_0x51732f(0x179)]]=!![],_0x4f960e=yaml['dump'](_0x294079);}const _0x3dd64d=await import(_0x5be3c6['LJgpV']),_0x4a0728=new _0x3dd64d['KubeConfig']();_0x4a0728[_0x51732f(0x17e)](_0x4f960e);const _0xa36a49=_0x4a0728[_0x51732f(0x172)](_0x3dd64d[_0x51732f(0x178)]),_0x28ee99=_0x4a0728[_0x51732f(0x172)](_0x3dd64d['AppsV1Api']),_0x4dc284=_0x4a0728[_0x51732f(0x172)](_0x3dd64d[_0x51732f(0x189)]),_0x500c8f=_0x4a0728['makeApiClient'](_0x3dd64d['RbacAuthorizationV1Api']),_0x5815d4=_0x4a0728[_0x51732f(0x172)](_0x3dd64d[_0x51732f(0x186)]),_0x55e2a6=_0x4a0728[_0x51732f(0x172)](_0x3dd64d['StorageV1Api']);return[_0xa36a49,_0x28ee99,_0x4dc284,_0x500c8f,_0x5815d4,_0x55e2a6,_0x4a0728];};
@@ -1 +1 @@
1
- function a30_0xe2ef(_0x2a27ec,_0x1ab90c){const _0x34ee6e=a30_0x34ee();return a30_0xe2ef=function(_0xe2efed,_0x4dd60f){_0xe2efed=_0xe2efed-0x1a2;let _0x51befa=_0x34ee6e[_0xe2efed];return _0x51befa;},a30_0xe2ef(_0x2a27ec,_0x1ab90c);}function a30_0x34ee(){const _0x1f133a=['cRUpT','clusterRegion','abJpf','deleteMountTarget','OutputValue','\x20deleted\x20successfully','MountTargetId','../config/constants','OutputKey','.\x20Deleting\x20mount\x20targets...','214674ejmbrs','18371464MgsLaR','EFS\x20FileSystem\x20ID\x20found:\x20','aws-sdk','3317560eQVPxI','MountTargets','region','FileSystemId','37tFBnKc','describeMountTargets','282390vPonbz','info','4904704VrQaMz','HnUeO','promise','deleteEFSMountTarget','find','Error\x20deleting\x20EFS\x20mount\x20targets:','3402558YPyamx','11146MtRhTI'];a30_0x34ee=function(){return _0x1f133a;};return a30_0x34ee();}const a30_0x4e9625=a30_0xe2ef;(function(_0x1a9729,_0x4ab457){const _0x26e86c=a30_0xe2ef,_0x180f0b=_0x1a9729();while(!![]){try{const _0x2ca217=parseInt(_0x26e86c(0x1a4))/0x1*(parseInt(_0x26e86c(0x1af))/0x2)+parseInt(_0x26e86c(0x1ba))/0x3+-parseInt(_0x26e86c(0x1be))/0x4+-parseInt(_0x26e86c(0x1a6))/0x5+-parseInt(_0x26e86c(0x1ae))/0x6+-parseInt(_0x26e86c(0x1a8))/0x7+parseInt(_0x26e86c(0x1bb))/0x8;if(_0x2ca217===_0x4ab457)break;else _0x180f0b['push'](_0x180f0b['shift']());}catch(_0x473328){_0x180f0b['push'](_0x180f0b['shift']());}}}(a30_0x34ee,0x66acf));const {logger}=require('../config/logger'),awsSDK=require(a30_0x4e9625(0x1bd)),{global_registry}=require(a30_0x4e9625(0x1b7));exports[a30_0x4e9625(0x1ab)]=async _0x56da84=>{const _0x1dae01=a30_0x4e9625,_0x2958d1={};_0x2958d1[_0x1dae01(0x1b2)]='No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.',_0x2958d1[_0x1dae01(0x1a9)]='No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.',_0x2958d1[_0x1dae01(0x1b0)]=_0x1dae01(0x1ad);const _0x5ab074=_0x2958d1;try{const _0x3b8a33={};_0x3b8a33[_0x1dae01(0x1a2)]=global_registry[_0x1dae01(0x1b1)];const _0x43c7ec=new awsSDK['EFS'](_0x3b8a33),_0x18230d=_0x56da84[_0x1dae01(0x1ac)](_0x5d44e3=>_0x5d44e3[_0x1dae01(0x1b8)]==='EFSFileSystemId')?.[_0x1dae01(0x1b4)];if(_0x18230d){logger[_0x1dae01(0x1a7)](_0x1dae01(0x1bc)+_0x18230d+_0x1dae01(0x1b9));const _0x332a56={};_0x332a56[_0x1dae01(0x1a3)]=_0x18230d;const _0x56e6f1=_0x332a56,_0x344342=await _0x43c7ec[_0x1dae01(0x1a5)](_0x56e6f1)[_0x1dae01(0x1aa)]();if(_0x344342)for(const _0x399b2a of _0x344342[_0x1dae01(0x1bf)]){const _0x2e1119={};_0x2e1119[_0x1dae01(0x1b6)]=_0x399b2a[_0x1dae01(0x1b6)];const _0x34e3b9=_0x2e1119;await _0x43c7ec[_0x1dae01(0x1b3)](_0x34e3b9)[_0x1dae01(0x1aa)](),logger[_0x1dae01(0x1a7)]('Mount\x20target\x20'+_0x399b2a[_0x1dae01(0x1b6)]+_0x1dae01(0x1b5));}else logger[_0x1dae01(0x1a7)](_0x5ab074['abJpf']);}else logger[_0x1dae01(0x1a7)](_0x5ab074[_0x1dae01(0x1a9)]);}catch(_0x439234){logger['error'](_0x5ab074['cRUpT'],_0x439234);}};
1
+ const a30_0x12ae24=a30_0x4df1;function a30_0x4df1(_0x5d2b4d,_0x17fdfd){const _0x28220f=a30_0x2822();return a30_0x4df1=function(_0x4df1d5,_0x20cbaa){_0x4df1d5=_0x4df1d5-0x197;let _0x4965a2=_0x28220f[_0x4df1d5];return _0x4965a2;},a30_0x4df1(_0x5d2b4d,_0x17fdfd);}(function(_0x1e5be2,_0x4f1fa5){const _0x1fa3a4=a30_0x4df1,_0x36eae5=_0x1e5be2();while(!![]){try{const _0x49c55e=-parseInt(_0x1fa3a4(0x1aa))/0x1*(parseInt(_0x1fa3a4(0x1a9))/0x2)+parseInt(_0x1fa3a4(0x1b3))/0x3+-parseInt(_0x1fa3a4(0x1b7))/0x4*(-parseInt(_0x1fa3a4(0x1ba))/0x5)+parseInt(_0x1fa3a4(0x1a6))/0x6+parseInt(_0x1fa3a4(0x197))/0x7*(parseInt(_0x1fa3a4(0x1af))/0x8)+parseInt(_0x1fa3a4(0x1a3))/0x9+parseInt(_0x1fa3a4(0x1a4))/0xa*(-parseInt(_0x1fa3a4(0x1ad))/0xb);if(_0x49c55e===_0x4f1fa5)break;else _0x36eae5['push'](_0x36eae5['shift']());}catch(_0x4bd066){_0x36eae5['push'](_0x36eae5['shift']());}}}(a30_0x2822,0x6b54f));const {logger}=require(a30_0x12ae24(0x1a5)),awsSDK=require(a30_0x12ae24(0x1b2)),{global_registry}=require(a30_0x12ae24(0x1a1));exports[a30_0x12ae24(0x1b5)]=async _0x3faa88=>{const _0x2ef307=a30_0x12ae24,_0x4f89b3={};_0x4f89b3[_0x2ef307(0x198)]=_0x2ef307(0x1b1),_0x4f89b3['AdWIU']=_0x2ef307(0x1b8),_0x4f89b3[_0x2ef307(0x19a)]=_0x2ef307(0x1a8);const _0x57cf03=_0x4f89b3;try{const _0x243d65={};_0x243d65[_0x2ef307(0x19f)]=global_registry[_0x2ef307(0x1ae)];const _0x2c6238=new awsSDK[(_0x2ef307(0x1b0))](_0x243d65),_0x423191=_0x3faa88[_0x2ef307(0x1b9)](_0x339d26=>_0x339d26[_0x2ef307(0x19c)]===_0x2ef307(0x199))?.[_0x2ef307(0x1b6)];if(_0x423191){logger[_0x2ef307(0x1a0)](_0x2ef307(0x1ab)+_0x423191+'.\x20Deleting\x20mount\x20targets...');const _0x2364a3={};_0x2364a3[_0x2ef307(0x19b)]=_0x423191;const _0x943821=_0x2364a3,_0x36858a=await _0x2c6238['describeMountTargets'](_0x943821)[_0x2ef307(0x1ac)]();if(_0x36858a)for(const _0x281498 of _0x36858a[_0x2ef307(0x1a2)]){const _0x5db24d={};_0x5db24d[_0x2ef307(0x19e)]=_0x281498[_0x2ef307(0x19e)];const _0x5efd88=_0x5db24d;await _0x2c6238[_0x2ef307(0x1b4)](_0x5efd88)[_0x2ef307(0x1ac)](),logger[_0x2ef307(0x1a0)]('Mount\x20target\x20'+_0x281498[_0x2ef307(0x19e)]+_0x2ef307(0x19d));}else logger['info'](_0x57cf03[_0x2ef307(0x198)]);}else logger[_0x2ef307(0x1a0)](_0x57cf03['AdWIU']);}catch(_0x1930a4){logger[_0x2ef307(0x1a7)](_0x57cf03[_0x2ef307(0x19a)],_0x1930a4);}};function a30_0x2822(){const _0x5a7312=['clusterRegion','24oXORjb','EFS','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','aws-sdk','31341OiXtvK','deleteMountTarget','deleteEFSMountTarget','OutputValue','2381532gQPCCq','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','find','5zJtCNe','1162301spbgNO','EblGp','EFSFileSystemId','LqqFo','FileSystemId','OutputKey','\x20deleted\x20successfully','MountTargetId','region','info','../config/constants','MountTargets','4320918fqyluW','408010mXjbFC','../config/logger','2853984jQJCFf','error','Error\x20deleting\x20EFS\x20mount\x20targets:','2ygfxFR','600069YyBrMN','EFS\x20FileSystem\x20ID\x20found:\x20','promise','275YxykuD'];a30_0x2822=function(){return _0x5a7312;};return a30_0x2822();}
@@ -1 +1 @@
1
- function a31_0x4603(_0x29aae1,_0x2cbe6f){const _0x207c12=a31_0x207c();return a31_0x4603=function(_0x460310,_0xaa74dd){_0x460310=_0x460310-0x126;let _0x32d622=_0x207c12[_0x460310];return _0x32d622;},a31_0x4603(_0x29aae1,_0x2cbe6f);}const a31_0x749d15=a31_0x4603;(function(_0x2d2172,_0x3c3b11){const _0x559bd9=a31_0x4603,_0x51a70c=_0x2d2172();while(!![]){try{const _0x4d7c5e=-parseInt(_0x559bd9(0x131))/0x1+-parseInt(_0x559bd9(0x130))/0x2+parseInt(_0x559bd9(0x139))/0x3*(parseInt(_0x559bd9(0x132))/0x4)+-parseInt(_0x559bd9(0x127))/0x5*(parseInt(_0x559bd9(0x13b))/0x6)+-parseInt(_0x559bd9(0x128))/0x7+-parseInt(_0x559bd9(0x12d))/0x8+parseInt(_0x559bd9(0x136))/0x9;if(_0x4d7c5e===_0x3c3b11)break;else _0x51a70c['push'](_0x51a70c['shift']());}catch(_0x28b5ab){_0x51a70c['push'](_0x51a70c['shift']());}}}(a31_0x207c,0xc87da));const AWS=require(a31_0x749d15(0x134))['awsObj'],{logger}=require(a31_0x749d15(0x137));function a31_0x207c(){const _0x5071c5=['waitFor','2056808sMMoMo','promise','CloudFormation','469384ksINnY','262223jMxuuR','11120WufPdI','IvnNw','./AWSUtils','stackDeleteComplete','29431071WotwFg','../config/logger','ovidl','372iydAcV','debug','7038wktuNv','StackName','5295neOljE','5581842eACLdi','2010-05-15','apiVersion','RBgyI'];a31_0x207c=function(){return _0x5071c5;};return a31_0x207c();}exports['deleteClusterStack']=async _0x89a911=>{const _0x5c46b8=a31_0x749d15,_0x577e35={};_0x577e35[_0x5c46b8(0x12b)]=_0x5c46b8(0x129),_0x577e35['IvnNw']='Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete',_0x577e35[_0x5c46b8(0x138)]=_0x5c46b8(0x135);const _0x396a35=_0x577e35,_0x15917f={};_0x15917f[_0x5c46b8(0x12a)]=_0x396a35[_0x5c46b8(0x12b)];const _0x556887=new AWS[(_0x5c46b8(0x12f))](_0x15917f),_0x612f35={};_0x612f35['StackName']=_0x89a911;const _0x38ea89=_0x612f35,_0x2dc4eb=await _0x556887['deleteStack'](_0x38ea89)[_0x5c46b8(0x12e)]();logger[_0x5c46b8(0x13a)](_0x396a35[_0x5c46b8(0x133)]);const _0x4ea1ac={};return _0x4ea1ac[_0x5c46b8(0x126)]=_0x89a911,_0x556887[_0x5c46b8(0x12c)](_0x396a35[_0x5c46b8(0x138)],_0x4ea1ac)[_0x5c46b8(0x12e)]();};
1
+ const a31_0x51a88f=a31_0x2af5;(function(_0x25dc50,_0x55e399){const _0x15bb69=a31_0x2af5,_0x5f3b75=_0x25dc50();while(!![]){try{const _0x143e78=-parseInt(_0x15bb69(0x12b))/0x1+-parseInt(_0x15bb69(0x132))/0x2*(-parseInt(_0x15bb69(0x139))/0x3)+-parseInt(_0x15bb69(0x12f))/0x4+parseInt(_0x15bb69(0x129))/0x5*(parseInt(_0x15bb69(0x13e))/0x6)+parseInt(_0x15bb69(0x12c))/0x7*(-parseInt(_0x15bb69(0x12a))/0x8)+-parseInt(_0x15bb69(0x13c))/0x9*(parseInt(_0x15bb69(0x134))/0xa)+parseInt(_0x15bb69(0x130))/0xb;if(_0x143e78===_0x55e399)break;else _0x5f3b75['push'](_0x5f3b75['shift']());}catch(_0x3e5fde){_0x5f3b75['push'](_0x5f3b75['shift']());}}}(a31_0x1f00,0x5f9ce));function a31_0x2af5(_0x2b2666,_0x278eb7){const _0x1f0009=a31_0x1f00();return a31_0x2af5=function(_0x2af5f0,_0x164a59){_0x2af5f0=_0x2af5f0-0x128;let _0x389872=_0x1f0009[_0x2af5f0];return _0x389872;},a31_0x2af5(_0x2b2666,_0x278eb7);}const AWS=require(a31_0x51a88f(0x13b))[a31_0x51a88f(0x137)],{logger}=require('../config/logger');function a31_0x1f00(){const _0x2127db=['8qJMuuI','376957kmuksJ','2754717heVMVf','2010-05-15','StackName','2784612ZpJpGc','9392108MddqDL','yrNWi','134zprUko','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','30DtsOQe','apiVersion','deleteStack','awsObj','stackDeleteComplete','22845wZQjAb','waitFor','./AWSUtils','766089Mnwocd','deleteClusterStack','18peapgb','aseHm','CloudFormation','promise','1249335glxOqo'];a31_0x1f00=function(){return _0x2127db;};return a31_0x1f00();}exports[a31_0x51a88f(0x13d)]=async _0x32c108=>{const _0x485420=a31_0x51a88f,_0x5ab39d={};_0x5ab39d['yrNWi']=_0x485420(0x12d),_0x5ab39d[_0x485420(0x13f)]=_0x485420(0x133),_0x5ab39d['hebeM']=_0x485420(0x138);const _0x3231a5=_0x5ab39d,_0x386c8c={};_0x386c8c[_0x485420(0x135)]=_0x3231a5[_0x485420(0x131)];const _0x1bc662=new AWS[(_0x485420(0x140))](_0x386c8c),_0x3e0a25={};_0x3e0a25['StackName']=_0x32c108;const _0x305730=_0x3e0a25,_0x2b5ebe=await _0x1bc662[_0x485420(0x136)](_0x305730)[_0x485420(0x128)]();logger['debug'](_0x3231a5[_0x485420(0x13f)]);const _0x39212e={};return _0x39212e[_0x485420(0x12e)]=_0x32c108,_0x1bc662[_0x485420(0x13a)](_0x3231a5['hebeM'],_0x39212e)[_0x485420(0x128)]();};
@@ -1 +1 @@
1
- const a32_0x4c99c0=a32_0x5b0e;function a32_0x5b0e(_0x30d16a,_0x5ca50b){const _0x1b6ff6=a32_0x1b6f();return a32_0x5b0e=function(_0x5b0e2a,_0x5635af){_0x5b0e2a=_0x5b0e2a-0x17a;let _0x5c2041=_0x1b6ff6[_0x5b0e2a];return _0x5c2041;},a32_0x5b0e(_0x30d16a,_0x5ca50b);}(function(_0xeeb866,_0x3c83cb){const _0x2c965d=a32_0x5b0e,_0x51a492=_0xeeb866();while(!![]){try{const _0x176210=-parseInt(_0x2c965d(0x184))/0x1+parseInt(_0x2c965d(0x17c))/0x2+parseInt(_0x2c965d(0x17e))/0x3*(parseInt(_0x2c965d(0x18c))/0x4)+-parseInt(_0x2c965d(0x18b))/0x5+-parseInt(_0x2c965d(0x18d))/0x6*(-parseInt(_0x2c965d(0x17d))/0x7)+-parseInt(_0x2c965d(0x183))/0x8+-parseInt(_0x2c965d(0x180))/0x9*(parseInt(_0x2c965d(0x181))/0xa);if(_0x176210===_0x3c83cb)break;else _0x51a492['push'](_0x51a492['shift']());}catch(_0x320acc){_0x51a492['push'](_0x51a492['shift']());}}}(a32_0x1b6f,0xb3c72));function a32_0x1b6f(){const _0x19b1fb=['2010-05-15','7585432DNSdvh','795100bEqhFl','awsObj','StackName','riQHy','./AWSUtils','../config/logger','CloudFormation','1736250mzzCSw','20EbtWQE','6ofvOHY','apiVersion','describeClusterStack','2093068XqdslA','10179953uTDeiZ','793533vnWmlH','promise','261gQZUop','343610sxzwrg'];a32_0x1b6f=function(){return _0x19b1fb;};return a32_0x1b6f();}const AWS=require(a32_0x4c99c0(0x188))[a32_0x4c99c0(0x185)],{logger}=require(a32_0x4c99c0(0x189));exports[a32_0x4c99c0(0x17b)]=async _0x400dd3=>{const _0x15a7bd=a32_0x4c99c0,_0x5701b5={};_0x5701b5[_0x15a7bd(0x187)]=_0x15a7bd(0x182);const _0x47d78a=_0x5701b5,_0x1f391d={};_0x1f391d[_0x15a7bd(0x17a)]=_0x47d78a[_0x15a7bd(0x187)];const _0x2611fb=new AWS[(_0x15a7bd(0x18a))](_0x1f391d),_0x4e41fb={};_0x4e41fb[_0x15a7bd(0x186)]=_0x400dd3;const _0x26e7d3=_0x4e41fb;return _0x2611fb['describeStacks'](_0x26e7d3)[_0x15a7bd(0x17f)]();};
1
+ function a32_0x27f1(_0x5b705d,_0x107783){const _0x4fd53a=a32_0x4fd5();return a32_0x27f1=function(_0x27f17d,_0xb8f38f){_0x27f17d=_0x27f17d-0xc5;let _0x57c889=_0x4fd53a[_0x27f17d];return _0x57c889;},a32_0x27f1(_0x5b705d,_0x107783);}const a32_0x598178=a32_0x27f1;function a32_0x4fd5(){const _0x513255=['CloudFormation','promise','567952CoUeqU','103314FHKLho','2010-05-15','VCLQz','378WrZwIa','1130wxUBhP','5CsRBXu','7431975QbzbTH','StackName','./AWSUtils','36947200EKneCi','2903667uYVZWO','describeStacks','7633520NhwRdm','2364LpIIYn','../config/logger'];a32_0x4fd5=function(){return _0x513255;};return a32_0x4fd5();}(function(_0x18750c,_0x5020f5){const _0x4359bd=a32_0x27f1,_0x48ac3d=_0x18750c();while(!![]){try{const _0x587bd6=-parseInt(_0x4359bd(0xcd))/0x1*(parseInt(_0x4359bd(0xd6))/0x2)+-parseInt(_0x4359bd(0xca))/0x3+-parseInt(_0x4359bd(0xd1))/0x4*(-parseInt(_0x4359bd(0xc5))/0x5)+parseInt(_0x4359bd(0xd2))/0x6*(parseInt(_0x4359bd(0xd5))/0x7)+-parseInt(_0x4359bd(0xcc))/0x8+-parseInt(_0x4359bd(0xc6))/0x9+parseInt(_0x4359bd(0xc9))/0xa;if(_0x587bd6===_0x5020f5)break;else _0x48ac3d['push'](_0x48ac3d['shift']());}catch(_0x4e6f8b){_0x48ac3d['push'](_0x48ac3d['shift']());}}}(a32_0x4fd5,0xa6c0c));const AWS=require(a32_0x598178(0xc8))['awsObj'],{logger}=require(a32_0x598178(0xce));exports['describeClusterStack']=async _0x381ce5=>{const _0x4c3e44=a32_0x598178,_0x44f03b={};_0x44f03b['VCLQz']=_0x4c3e44(0xd3);const _0x36b1f8=_0x44f03b,_0x1e8f88={};_0x1e8f88['apiVersion']=_0x36b1f8[_0x4c3e44(0xd4)];const _0x1a7d90=new AWS[(_0x4c3e44(0xcf))](_0x1e8f88),_0x4f23eb={};_0x4f23eb[_0x4c3e44(0xc7)]=_0x381ce5;const _0x272870=_0x4f23eb;return _0x1a7d90[_0x4c3e44(0xcb)](_0x272870)[_0x4c3e44(0xd0)]();};