browserstack-node-sdk 1.65.7 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) 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/generated/sdk-messages_pb.d.ts +118 -0
  41. package/generated/sdk-messages_pb.js +908 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +74 -0
  44. package/package.json +1 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/detox/a11ySetup.js +1 -0
  57. package/src/bin/detox/command.js +2 -0
  58. package/src/bin/detox/modifyDetoxConf.js +1 -0
  59. package/src/bin/detox/traEmitter.js +1 -0
  60. package/src/bin/integrations/command.js +1 -1
  61. package/src/bin/integrations/constants.js +1 -1
  62. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/jasmine/command.js +1 -1
  64. package/src/bin/jasmine/test.setup.js +1 -1
  65. package/src/bin/jasmine/testRunMap.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  71. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  72. package/src/bin/jest/jest.setup.js +1 -1
  73. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  74. package/src/bin/jest/test-observability/helper.js +1 -1
  75. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  76. package/src/bin/jest/test-observability/test-details.js +1 -1
  77. package/src/bin/jest/test.setup.js +1 -1
  78. package/src/bin/jest/test_before.setup.js +1 -1
  79. package/src/bin/launcher/launcher.js +1 -1
  80. package/src/bin/load/index.js +1 -1
  81. package/src/bin/load/loadErrors.js +1 -1
  82. package/src/bin/load/loadUtils.js +1 -1
  83. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  84. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  85. package/src/bin/mocha/command.js +1 -1
  86. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  87. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  88. package/src/bin/mocha/test.setup.js +1 -1
  89. package/src/bin/newman/command.js +1 -1
  90. package/src/bin/newman/helper.js +1 -1
  91. package/src/bin/newman/reporter/index.js +1 -1
  92. package/src/bin/newman/scriptRunner.js +1 -1
  93. package/src/bin/nightwatch/command.js +1 -1
  94. package/src/bin/node-generic/client.js +1 -1
  95. package/src/bin/playwright/accessibility-helper.js +1 -1
  96. package/src/bin/playwright/command.js +1 -1
  97. package/src/bin/playwright/globalSetup.js +1 -1
  98. package/src/bin/playwright/mock-process.js +1 -1
  99. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  100. package/src/bin/playwright/patches.js +1 -1
  101. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  102. package/src/bin/playwright/reporter/reporter.js +1 -1
  103. package/src/bin/playwright/reporter/test-details.js +1 -1
  104. package/src/bin/playwright/reporterArgs.js +1 -1
  105. package/src/bin/playwright/sessionDetails.js +1 -1
  106. package/src/bin/puppeteer/patches.js +1 -1
  107. package/src/bin/puppeteer/sessionDetails.js +1 -1
  108. package/src/bin/puppeteer/test.setup.js +1 -1
  109. package/src/bin/runner.js +1 -1
  110. package/src/bin/setup.js +1 -1
  111. package/src/bin/test-runner/index.js +1 -1
  112. package/src/bin/test-runner/runTest.js +1 -1
  113. package/src/bin/test-runner/testWorker.js +1 -1
  114. package/src/bin/testcafe/a11y-runner.js +1 -1
  115. package/src/bin/testcafe/command.js +1 -1
  116. package/src/bin/testcafe/reporter/index.js +1 -1
  117. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  118. package/src/bin/testcafe/session-registry.js +1 -1
  119. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  120. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  121. package/src/bin/testcafe/w3c-driver.js +1 -1
  122. package/src/bin/utils/apiUtilityMethods.js +1 -1
  123. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  124. package/src/bin/utils/constants.js +1 -1
  125. package/src/bin/utils/log4jsAppender.js +1 -1
  126. package/src/bin/utils/logPatcher.js +1 -1
  127. package/src/bin/utils/logReportingAPI.js +1 -1
  128. package/src/bin/utils/playwright-patcher.js +1 -1
  129. package/src/bin/utils/puppeteer-patcher.js +1 -1
  130. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  131. package/src/bin/utils/sharedUtils.js +1 -1
  132. package/src/bin/v2/TestInfo.js +1 -1
  133. package/src/bin/v2/browserstackCLI.js +1 -1
  134. package/src/bin/v2/cliUtils.js +1 -1
  135. package/src/bin/v2/customTagManager.js +1 -1
  136. package/src/bin/v2/eventDispatcher.js +1 -1
  137. package/src/bin/v2/framework/automationFramework.js +1 -1
  138. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  139. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  140. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  141. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  142. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  143. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  144. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  146. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testFramework.js +1 -1
  148. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  149. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  150. package/src/bin/v2/grpcClient.js +1 -1
  151. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  152. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  153. package/src/bin/v2/instances/trackedContext.js +1 -1
  154. package/src/bin/v2/instances/trackedInstance.js +1 -1
  155. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  156. package/src/bin/v2/modules/baseModule.js +1 -1
  157. package/src/bin/v2/modules/loadTestModule.js +1 -1
  158. package/src/bin/v2/modules/observabilityModule.js +1 -1
  159. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  160. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  161. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  162. package/src/bin/v2/modules/testhubModule.js +1 -1
  163. package/src/bin/v2/sdkErrorHandler.js +1 -1
  164. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  165. package/src/bin/v2/state/hookState.js +1 -1
  166. package/src/bin/v2/state/testFrameworkState.js +1 -1
  167. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  168. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  169. package/src/bin/v2/utils/jest-utils.js +1 -1
  170. package/src/bin/vanilla-js/command.js +1 -1
  171. package/src/browserStackSdk.js +1 -1
  172. package/src/detox-driver/a11y.js +574 -0
  173. package/src/detox-driver/allocationDriver.js +26 -0
  174. package/src/detox-driver/cloudPlatformAction.js +111 -0
  175. package/src/detox-driver/environment.js +253 -0
  176. package/src/detox-driver/expect.js +44 -0
  177. package/src/detox-driver/index.js +12 -0
  178. package/src/detox-driver/login-timeout-preload.js +25 -0
  179. package/src/detox-driver/runtimeDriver.js +351 -0
  180. package/src/detox-driver/session-reporter.js +41 -0
  181. package/src/detox-driver/tra-capture.js +81 -0
  182. package/src/helpers/BrowserStackSetup.js +1 -1
  183. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  184. package/src/helpers/accessibility-automation/constants.js +1 -1
  185. package/src/helpers/accessibility-automation/helper.js +1 -1
  186. package/src/helpers/accessibility-automation/scripts.js +1 -1
  187. package/src/helpers/ats/constants.js +1 -1
  188. package/src/helpers/ats/helper.js +1 -1
  189. package/src/helpers/caCertHelper.js +1 -1
  190. package/src/helpers/capsMapping.js +1 -1
  191. package/src/helpers/central-scanner/constants.js +1 -1
  192. package/src/helpers/central-scanner/helpers.js +1 -1
  193. package/src/helpers/classLogger.js +1 -1
  194. package/src/helpers/driverInitErrorReporter.js +1 -1
  195. package/src/helpers/globals.js +1 -1
  196. package/src/helpers/helper.js +1 -1
  197. package/src/helpers/logger.js +1 -1
  198. package/src/helpers/metadata.js +1 -1
  199. package/src/helpers/patchHelper.js +1 -1
  200. package/src/helpers/patchHelpers.js +1 -1
  201. package/src/helpers/percy/Percy.js +1 -1
  202. package/src/helpers/percy/PercyBinary.js +1 -1
  203. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  204. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  205. package/src/helpers/percy/PercySDK.js +1 -1
  206. package/src/helpers/percy/index.js +1 -1
  207. package/src/helpers/percy/utils.js +1 -1
  208. package/src/helpers/performance/constants.js +1 -1
  209. package/src/helpers/performance/performance-tester.js +1 -1
  210. package/src/helpers/playwright-helper.js +1 -1
  211. package/src/helpers/processHelper.js +1 -1
  212. package/src/helpers/puppeteer-helper.js +1 -1
  213. package/src/helpers/request-spy.js +1 -1
  214. package/src/helpers/setKeepAlive.js +1 -1
  215. package/src/helpers/stackFrameUtils.js +1 -1
  216. package/src/helpers/test-observability/constants.js +1 -1
  217. package/src/helpers/test-observability/error-handler.js +1 -1
  218. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  219. package/src/helpers/test-observability/sessionHandler.js +1 -1
  220. package/src/helpers/test-observability/utils.js +1 -1
  221. package/src/helpers/test-orchestration/constants.js +1 -1
  222. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  223. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  224. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  225. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  226. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  227. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  228. package/src/helpers/testhub/constants.js +1 -1
  229. package/src/helpers/testhub/testhubHandler.js +1 -1
  230. package/src/helpers/testhub/utils.js +1 -1
  231. package/src/helpers/utilities.js +1 -1
  232. package/src/helpers/w3cMapping.js +1 -1
  233. package/src/hubAllocationMethods.js +1 -1
  234. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a25_0x505109=a25_0x7eb9;(function(_0x3fd803,_0x33b517){const _0x2b838e=a25_0x7eb9,_0xb09ef9=_0x3fd803();while(!![]){try{const _0x3347e4=parseInt(_0x2b838e(0xd6))/0x1*(parseInt(_0x2b838e(0xb5))/0x2)+-parseInt(_0x2b838e(0xc2))/0x3*(-parseInt(_0x2b838e(0xd1))/0x4)+-parseInt(_0x2b838e(0xce))/0x5+-parseInt(_0x2b838e(0x84))/0x6+parseInt(_0x2b838e(0xa6))/0x7*(parseInt(_0x2b838e(0xa9))/0x8)+parseInt(_0x2b838e(0x9d))/0x9*(-parseInt(_0x2b838e(0xc3))/0xa)+parseInt(_0x2b838e(0xad))/0xb;if(_0x3347e4===_0x33b517)break;else _0xb09ef9['push'](_0xb09ef9['shift']());}catch(_0x31ab00){_0xb09ef9['push'](_0xb09ef9['shift']());}}}(a25_0x42a4,0x382ea));const {EC2Client,DescribeVpcsCommand,DescribeSubnetsCommand,DescribeSecurityGroupsCommand,DescribeRegionsCommand}=require(a25_0x505109(0x9c)),{S3Client,HeadBucketCommand}=require(a25_0x505109(0xa1)),{EKSClient,DescribeClusterCommand}=require(a25_0x505109(0xd2)),{logger}=require(a25_0x505109(0xc0)),{global_registry}=require(a25_0x505109(0xb2)),getAwsConfig=_0x1f6545=>{const _0x41d9b4=a25_0x505109,_0xa47da1={};_0xa47da1['ZknqG']=function(_0x2e298d,_0x513c1a){return _0x2e298d!==_0x513c1a;},_0xa47da1['qiJqW']=_0x41d9b4(0xcf),_0xa47da1[_0x41d9b4(0xaa)]='NGrJF',_0xa47da1['Kihzj']=_0x41d9b4(0x80),_0xa47da1[_0x41d9b4(0x90)]=_0x41d9b4(0xc9);const _0x35dcab=_0xa47da1,_0x21ebf5={},_0x2a110f=_0x1f6545||global_registry[_0x41d9b4(0xbd)];if(_0x2a110f){if(_0x35dcab['ZknqG'](_0x35dcab[_0x41d9b4(0xd3)],_0x35dcab[_0x41d9b4(0xaa)]))_0x21ebf5['region']=_0x2a110f;else{_0x3ae649[_0x41d9b4(0x88)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0xe4b3e2);throw _0x29c190;}}if(global_registry['cloudProviderAccessKey']&&global_registry[_0x41d9b4(0xa2)]){if(_0x35dcab[_0x41d9b4(0x83)](_0x35dcab[_0x41d9b4(0x9e)],_0x35dcab['ZRhFF'])){const _0x1e9858={};_0x1e9858[_0x41d9b4(0xc8)]=global_registry['cloudProviderAccessKey'],_0x1e9858[_0x41d9b4(0x93)]=global_registry[_0x41d9b4(0xa2)],_0x21ebf5[_0x41d9b4(0xb9)]=_0x1e9858;}else return _0x98e989[_0x41d9b4(0xba)](_0x41d9b4(0x85)+_0x54b19a+_0x41d9b4(0xa8)),![];}return _0x21ebf5;};function a25_0x42a4(){const _0x581714=['speAU','../config/logger','getOidcUrl','111BoBthW','42990YxpUDo','CRGPi','Bucket','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','ulfkX','accessKeyId','hqxdo','IIgWo','oidc','oRpjQ','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','981880iFSxGh','qFjaC','isBucketPresent','32200pozoRj','@aws-sdk/client-eks','qiJqW','Cntkk','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','40151UZeNZM','xHUId','MOKxm','IWAAY','stdvP','OkVHI','ZknqG','2202636pEsVqI','Bucket:\x20','UWKge','ojDfG','error','SDVfX','cluster','LJkhW','identity','fetchSubnets','KEico','JOIkH','ZRhFF','cloudProviderAccessKey','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','secretAccessKey','GNtSy','QGaeE','getAWSRegions','hIprJ','nNyNu','send','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','Regions','@aws-sdk/client-ec2','342KpfLgj','Kihzj','XwlRP','issuer','@aws-sdk/client-s3','cloudProviderSecretKey','CNWvt','getAwsConfig','oYiFx','443079gIEIpD','JXNsx','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','56TzrjIR','SrJbt','name','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','1493085IuMrfa','DvEBu','xQOII','exynL','IMxRf','../config/constants','region','TUFKz','4RMYSED','lJBOs','warn','rEDXA','credentials','info','NoCIU','GyWSR','clusterRegion','fkGre'];a25_0x42a4=function(){return _0x581714;};return a25_0x42a4();}function a25_0x7eb9(_0x13d630,_0x3718fd){const _0x42a4a5=a25_0x42a4();return a25_0x7eb9=function(_0x7eb991,_0x58c76d){_0x7eb991=_0x7eb991-0x80;let _0x1ce76f=_0x42a4a5[_0x7eb991];return _0x1ce76f;},a25_0x7eb9(_0x13d630,_0x3718fd);}exports[a25_0x505109(0xa4)]=getAwsConfig,exports['fetchVPCs']=async _0x23817b=>{const _0xa3f637=a25_0x505109,_0x5b0c18={'JXNsx':function(_0x264e55,_0x4670da){return _0x264e55(_0x4670da);},'exynL':function(_0x2b3143,_0x215a43){return _0x2b3143!==_0x215a43;},'IMxRf':_0xa3f637(0xbb),'MOKxm':_0xa3f637(0xb4),'xHUId':function(_0x5dbba7,_0x488b7a){return _0x5dbba7===_0x488b7a;},'CRGPi':'ARGoV','OkVHI':_0xa3f637(0xc7)},_0x440830=new EC2Client(_0x5b0c18[_0xa3f637(0xa7)](getAwsConfig,_0x23817b));try{if(_0x5b0c18[_0xa3f637(0xb0)](_0x5b0c18[_0xa3f637(0xb1)],_0x5b0c18[_0xa3f637(0xd8)]))return await _0x440830[_0xa3f637(0x99)](new DescribeVpcsCommand({}));else _0x28cbf1[_0xa3f637(0xb3)]=_0xb137da;}catch(_0x14a38b){if(_0x5b0c18[_0xa3f637(0xd7)](_0x5b0c18[_0xa3f637(0xc4)],_0x5b0c18[_0xa3f637(0x82)])){_0x273989[_0xa3f637(0x88)](_0xa3f637(0xc6)+_0x2a69e2);throw _0x4ab062;}else{logger[_0xa3f637(0x88)](_0xa3f637(0xac)+_0x14a38b);throw _0x14a38b;}}},exports[a25_0x505109(0xd0)]=async _0x16b570=>{const _0x2cbb99=a25_0x505109,_0x25d02e={'UWKge':function(_0x39fcb0){return _0x39fcb0();},'KEico':function(_0x4dbea3,_0x40302d){return _0x4dbea3!==_0x40302d;},'DvEBu':_0x2cbb99(0xca),'wUVjL':_0x2cbb99(0xaf),'hIprJ':function(_0x5bf478,_0x3282bc){return _0x5bf478!==_0x3282bc;},'hqXjz':_0x2cbb99(0xb8)},_0x43781b=new S3Client(_0x25d02e[_0x2cbb99(0x86)](getAwsConfig));try{if(_0x25d02e[_0x2cbb99(0x8e)](_0x25d02e[_0x2cbb99(0xae)],_0x25d02e['wUVjL'])){const _0x15b724={};return _0x15b724[_0x2cbb99(0xc5)]=_0x16b570,await _0x43781b['send'](new HeadBucketCommand(_0x15b724)),logger[_0x2cbb99(0xb7)](_0x2cbb99(0x85)+_0x16b570+_0x2cbb99(0x92)),!![];}else{_0x16a9bf[_0x2cbb99(0x88)](_0x2cbb99(0xcd)+_0x1241f2);throw _0x31ed3e;}}catch(_0x19564f){if(_0x25d02e[_0x2cbb99(0x97)](_0x25d02e['hqXjz'],_0x25d02e['hqXjz'])){const _0xba6f65={};_0xba6f65[_0x2cbb99(0xc8)]=_0x113424[_0x2cbb99(0x91)],_0xba6f65['secretAccessKey']=_0x1b3837[_0x2cbb99(0xa2)],_0x12bdee[_0x2cbb99(0xb9)]=_0xba6f65;}else return logger[_0x2cbb99(0xba)]('Bucket:\x20'+_0x16b570+_0x2cbb99(0xa8)),![];}},exports[a25_0x505109(0x8d)]=async _0x1beb14=>{const _0x5cee13=a25_0x505109,_0x4cfda2={'YcsLn':function(_0x7a0285,_0x5eeb16){return _0x7a0285(_0x5eeb16);},'oRpjQ':function(_0x5a31d6,_0x428c8d){return _0x5a31d6===_0x428c8d;},'stdvP':'OfMFU','DuYDs':function(_0x191efa,_0x23c7b3){return _0x191efa!==_0x23c7b3;},'XwlRP':_0x5cee13(0xb6)},_0x16b78f=new EC2Client(_0x4cfda2['YcsLn'](getAwsConfig,_0x1beb14));try{if(_0x4cfda2[_0x5cee13(0xcc)](_0x4cfda2[_0x5cee13(0x81)],_0x4cfda2[_0x5cee13(0x81)]))return await _0x16b78f[_0x5cee13(0x99)](new DescribeSubnetsCommand({}));else{_0x5ca0f5[_0x5cee13(0x88)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x478e77+':\x20'+_0xfefcd2);throw _0x1e0730;}}catch(_0x49169d){if(_0x4cfda2['DuYDs'](_0x4cfda2[_0x5cee13(0x9f)],_0x4cfda2[_0x5cee13(0x9f)])){_0x58122b[_0x5cee13(0x88)](_0x5cee13(0xd5)+_0x312b51);throw _0x33caac;}else{logger[_0x5cee13(0x88)](_0x5cee13(0xd5)+_0x49169d);throw _0x49169d;}}},exports['fetchSecurityGroups']=async _0x555260=>{const _0x203474=a25_0x505109,_0x401f98={'CNWvt':function(_0x2355b7,_0x588170){return _0x2355b7(_0x588170);},'fkGre':function(_0x12d942,_0x52f8c4){return _0x12d942===_0x52f8c4;},'GyWSR':_0x203474(0x98),'JOIkH':_0x203474(0x95),'LJkhW':_0x203474(0x89),'ojDfG':_0x203474(0xa5)},_0x2e4dd7=new EC2Client(_0x401f98[_0x203474(0xa3)](getAwsConfig,_0x555260));try{return _0x401f98[_0x203474(0xbe)](_0x401f98[_0x203474(0xbc)],_0x401f98[_0x203474(0x8f)])?_0x43bdf1[_0x203474(0x9b)]:await _0x2e4dd7[_0x203474(0x99)](new DescribeSecurityGroupsCommand({}));}catch(_0x5e085e){if(_0x401f98[_0x203474(0xbe)](_0x401f98[_0x203474(0x8b)],_0x401f98[_0x203474(0x87)])){const _0x5e5c99={},_0x1fe8c3=_0x57f006||_0x31384d[_0x203474(0xbd)];_0x1fe8c3&&(_0x5e5c99[_0x203474(0xb3)]=_0x1fe8c3);if(_0x1fbe19[_0x203474(0x91)]&&_0x24cdee['cloudProviderSecretKey']){const _0x165295={};_0x165295['accessKeyId']=_0x193d56[_0x203474(0x91)],_0x165295[_0x203474(0x93)]=_0x25951b['cloudProviderSecretKey'],_0x5e5c99[_0x203474(0xb9)]=_0x165295;}return _0x5e5c99;}else{logger['error'](_0x203474(0xcd)+_0x5e085e);throw _0x5e085e;}}},exports[a25_0x505109(0x96)]=async()=>{const _0x436842=a25_0x505109,_0x402c41={'nKSEu':function(_0x5d6fce){return _0x5d6fce();},'Cntkk':function(_0x40f1ba,_0x31b7bc){return _0x40f1ba!==_0x31b7bc;},'speAU':function(_0x5d1c63,_0x576cd1){return _0x5d1c63!==_0x576cd1;}},_0x4bd54c=new EC2Client(_0x402c41['nKSEu'](getAwsConfig));try{const _0x272b71=await _0x4bd54c[_0x436842(0x99)](new DescribeRegionsCommand({}));if(_0x402c41[_0x436842(0xd4)](_0x272b71,undefined)&&_0x402c41[_0x436842(0xbf)](_0x272b71[_0x436842(0x9b)],undefined))return _0x272b71['Regions'];return{};}catch(_0x1ba68e){logger[_0x436842(0x88)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1ba68e);throw _0x1ba68e;}},exports[a25_0x505109(0xc1)]=async _0x536995=>{const _0x5f1f89=a25_0x505109,_0x128594={'GNtSy':function(_0x401876){return _0x401876();}},_0x4cdee9=new EKSClient(_0x128594[_0x5f1f89(0x94)](getAwsConfig));try{const _0x4e08e5={};_0x4e08e5[_0x5f1f89(0xab)]=_0x536995;const _0x472f2e=await _0x4cdee9[_0x5f1f89(0x99)](new DescribeClusterCommand(_0x4e08e5));return _0x472f2e[_0x5f1f89(0x8a)][_0x5f1f89(0x8c)][_0x5f1f89(0xcb)][_0x5f1f89(0xa0)];}catch(_0xc7082a){logger[_0x5f1f89(0x88)](_0x5f1f89(0x9a)+_0x536995+':\x20'+_0xc7082a);throw _0xc7082a;}};
1
+ const a25_0x3aa96b=a25_0x3977;(function(_0x1355cf,_0x3ca5ec){const _0x2a1b49=a25_0x3977,_0xd4cd6f=_0x1355cf();while(!![]){try{const _0x53d768=parseInt(_0x2a1b49(0x193))/0x1*(parseInt(_0x2a1b49(0x1a7))/0x2)+-parseInt(_0x2a1b49(0x1cd))/0x3+parseInt(_0x2a1b49(0x1af))/0x4+parseInt(_0x2a1b49(0x1bc))/0x5*(-parseInt(_0x2a1b49(0x1be))/0x6)+parseInt(_0x2a1b49(0x1c2))/0x7*(parseInt(_0x2a1b49(0x1a4))/0x8)+-parseInt(_0x2a1b49(0x197))/0x9+parseInt(_0x2a1b49(0x185))/0xa*(parseInt(_0x2a1b49(0x19d))/0xb);if(_0x53d768===_0x3ca5ec)break;else _0xd4cd6f['push'](_0xd4cd6f['shift']());}catch(_0x1fe900){_0xd4cd6f['push'](_0xd4cd6f['shift']());}}}(a25_0x2998,0x6db61));const {EC2Client,DescribeVpcsCommand,DescribeSubnetsCommand,DescribeSecurityGroupsCommand,DescribeRegionsCommand}=require(a25_0x3aa96b(0x192)),{S3Client,HeadBucketCommand}=require(a25_0x3aa96b(0x18d)),{EKSClient,DescribeClusterCommand}=require('@aws-sdk/client-eks'),{logger}=require(a25_0x3aa96b(0x1a6)),{global_registry}=require('../config/constants'),getAwsConfig=_0x1e43d0=>{const _0x4d85d9=a25_0x3aa96b,_0x3f1d44={};_0x3f1d44[_0x4d85d9(0x19e)]=function(_0x580370,_0x5398fd){return _0x580370===_0x5398fd;},_0x3f1d44[_0x4d85d9(0x1c3)]='IXmVA',_0x3f1d44[_0x4d85d9(0x1b8)]='OfzxU',_0x3f1d44[_0x4d85d9(0x1c5)]=function(_0x9ecde4,_0x5d9eb5){return _0x9ecde4!==_0x5d9eb5;},_0x3f1d44[_0x4d85d9(0x1c7)]='gJbiG',_0x3f1d44[_0x4d85d9(0x17f)]=_0x4d85d9(0x180);const _0x1aed3d=_0x3f1d44,_0x5098d3={},_0x42fda2=_0x1e43d0||global_registry[_0x4d85d9(0x1c1)];if(_0x42fda2){if(_0x1aed3d['wBMjc'](_0x1aed3d[_0x4d85d9(0x1c3)],_0x1aed3d[_0x4d85d9(0x1b8)]))return _0x2953bf[_0x4d85d9(0x1aa)](_0x4d85d9(0x182)+_0x12fa7e+_0x4d85d9(0x1cf)),![];else _0x5098d3[_0x4d85d9(0x186)]=_0x42fda2;}if(global_registry[_0x4d85d9(0x1c6)]&&global_registry[_0x4d85d9(0x1ce)]){if(_0x1aed3d[_0x4d85d9(0x1c5)](_0x1aed3d[_0x4d85d9(0x1c7)],_0x1aed3d['SmPWn'])){const _0x1e01d1={};_0x1e01d1['accessKeyId']=global_registry[_0x4d85d9(0x1c6)],_0x1e01d1[_0x4d85d9(0x189)]=global_registry[_0x4d85d9(0x1ce)],_0x5098d3[_0x4d85d9(0x183)]=_0x1e01d1;}else{const _0x3a89f9={};_0x3a89f9[_0x4d85d9(0x1c0)]=_0x49f62c[_0x4d85d9(0x1c6)],_0x3a89f9[_0x4d85d9(0x189)]=_0x29a62f[_0x4d85d9(0x1ce)],_0x4b513b[_0x4d85d9(0x183)]=_0x3a89f9;}}return _0x5098d3;};function a25_0x3977(_0x167de4,_0x58f6bd){const _0x2998b7=a25_0x2998();return a25_0x3977=function(_0x3977a0,_0x139ffa){_0x3977a0=_0x3977a0-0x17e;let _0x1c5d04=_0x2998b7[_0x3977a0];return _0x1c5d04;},a25_0x3977(_0x167de4,_0x58f6bd);}exports[a25_0x3aa96b(0x18c)]=getAwsConfig,exports[a25_0x3aa96b(0x198)]=async _0x57b2cb=>{const _0x1bb6d8=a25_0x3aa96b,_0x906e19={'hxjrC':function(_0x4fcad5,_0x54f14c){return _0x4fcad5(_0x54f14c);},'JtgaD':function(_0x4d627f,_0x1d8769){return _0x4d627f!==_0x1d8769;},'mtVCo':_0x1bb6d8(0x194),'jrnCB':function(_0x174f97,_0x2ca1cb){return _0x174f97!==_0x2ca1cb;},'ZSgRK':'biqkA','aRXZR':_0x1bb6d8(0x1bf)},_0x1f54bb=new EC2Client(_0x906e19[_0x1bb6d8(0x1bd)](getAwsConfig,_0x57b2cb));try{return _0x906e19['JtgaD'](_0x906e19[_0x1bb6d8(0x187)],_0x906e19[_0x1bb6d8(0x187)])?_0x5b03c0[_0x1bb6d8(0x1b2)]:await _0x1f54bb[_0x1bb6d8(0x190)](new DescribeVpcsCommand({}));}catch(_0x1b6030){if(_0x906e19['jrnCB'](_0x906e19[_0x1bb6d8(0x18a)],_0x906e19[_0x1bb6d8(0x1b9)])){logger[_0x1bb6d8(0x1c4)](_0x1bb6d8(0x1ae)+_0x1b6030);throw _0x1b6030;}else{_0x423bc1[_0x1bb6d8(0x1c4)](_0x1bb6d8(0x191)+_0x37fdbf);throw _0x23f27c;}}},exports[a25_0x3aa96b(0x1a1)]=async _0x14b338=>{const _0x482b28=a25_0x3aa96b,_0x54947c={'Cyrdr':function(_0x4675c8){return _0x4675c8();},'OlCvI':function(_0x2535a9,_0x59c459){return _0x2535a9!==_0x59c459;},'heuwB':_0x482b28(0x1b0),'rTQPi':'Qdlra','ZvsPA':function(_0xab059f,_0x41d4ba){return _0xab059f!==_0x41d4ba;},'mXjzI':_0x482b28(0x1c8),'ZoKxL':_0x482b28(0x1ac)},_0x2e1af0=new S3Client(_0x54947c[_0x482b28(0x19a)](getAwsConfig));try{if(_0x54947c['OlCvI'](_0x54947c[_0x482b28(0x1cb)],_0x54947c[_0x482b28(0x1a9)])){const _0x31a0b9={};return _0x31a0b9['Bucket']=_0x14b338,await _0x2e1af0[_0x482b28(0x190)](new HeadBucketCommand(_0x31a0b9)),logger[_0x482b28(0x17e)](_0x482b28(0x182)+_0x14b338+_0x482b28(0x1a8)),!![];}else{_0x1cd232[_0x482b28(0x1c4)](_0x482b28(0x1ae)+_0x435117);throw _0x5a785d;}}catch(_0x1ea066){if(_0x54947c[_0x482b28(0x188)](_0x54947c[_0x482b28(0x19f)],_0x54947c[_0x482b28(0x1b7)]))return logger[_0x482b28(0x1aa)]('Bucket:\x20'+_0x14b338+_0x482b28(0x1cf)),![];else{_0x13d8e5[_0x482b28(0x1c4)](_0x482b28(0x1a2)+_0x25fbae);throw _0x3f6ec7;}}},exports[a25_0x3aa96b(0x1b1)]=async _0x1829cd=>{const _0x5476a9=a25_0x3aa96b,_0x35ef84={'CdweH':function(_0x357cbc,_0x4677cb){return _0x357cbc(_0x4677cb);},'laSNQ':function(_0x5032c7,_0xfb9b96){return _0x5032c7===_0xfb9b96;},'ULicj':_0x5476a9(0x1bb),'VHdQX':function(_0x28d662,_0x5d3fc0){return _0x28d662===_0x5d3fc0;},'kIMkL':_0x5476a9(0x1ab)},_0x4d846a=new EC2Client(_0x35ef84[_0x5476a9(0x1b6)](getAwsConfig,_0x1829cd));try{if(_0x35ef84[_0x5476a9(0x19b)](_0x35ef84['ULicj'],_0x35ef84[_0x5476a9(0x18e)]))return await _0x4d846a[_0x5476a9(0x190)](new DescribeSubnetsCommand({}));else{_0x1888c7['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x24c71a+':\x20'+_0x270e4f);throw _0x5fcbc0;}}catch(_0x10234e){if(_0x35ef84[_0x5476a9(0x181)](_0x35ef84[_0x5476a9(0x1cc)],_0x35ef84['kIMkL'])){logger[_0x5476a9(0x1c4)](_0x5476a9(0x191)+_0x10234e);throw _0x10234e;}else{_0x43cc35['error'](_0x5476a9(0x1b5)+_0x5f2dc2);throw _0x1dec51;}}},exports['fetchSecurityGroups']=async _0x476199=>{const _0x2d37f3=a25_0x3aa96b,_0x5e5438={'tmjhs':function(_0x1e0ec9,_0x1c46f1){return _0x1e0ec9(_0x1c46f1);},'sYTKf':function(_0x14a6d0,_0x23df3c){return _0x14a6d0===_0x23df3c;},'SjfiL':_0x2d37f3(0x199),'YbypT':_0x2d37f3(0x19c),'PQTaj':'MVMgO'},_0x428338=new EC2Client(_0x5e5438[_0x2d37f3(0x18f)](getAwsConfig,_0x476199));try{if(_0x5e5438[_0x2d37f3(0x1ad)](_0x5e5438['SjfiL'],_0x5e5438['YbypT']))_0x26045c[_0x2d37f3(0x186)]=_0x413d2d;else return await _0x428338[_0x2d37f3(0x190)](new DescribeSecurityGroupsCommand({}));}catch(_0xcd2087){if(_0x5e5438[_0x2d37f3(0x1ad)](_0x5e5438[_0x2d37f3(0x1a5)],_0x5e5438[_0x2d37f3(0x1a5)])){logger['error'](_0x2d37f3(0x1b5)+_0xcd2087);throw _0xcd2087;}else{const _0x49661a={},_0x3fcf4b=_0xc8f86e||_0x4f1a91[_0x2d37f3(0x1c1)];_0x3fcf4b&&(_0x49661a[_0x2d37f3(0x186)]=_0x3fcf4b);if(_0x24be18['cloudProviderAccessKey']&&_0x3413df[_0x2d37f3(0x1ce)]){const _0xf00570={};_0xf00570[_0x2d37f3(0x1c0)]=_0x3c6436[_0x2d37f3(0x1c6)],_0xf00570[_0x2d37f3(0x189)]=_0x2c8c4f[_0x2d37f3(0x1ce)],_0x49661a[_0x2d37f3(0x183)]=_0xf00570;}return _0x49661a;}}},exports[a25_0x3aa96b(0x1b3)]=async()=>{const _0x17f826=a25_0x3aa96b,_0x36a3d3={'fkpaq':function(_0xa43658){return _0xa43658();},'shjKw':function(_0x283f6d,_0x10c1e8){return _0x283f6d!==_0x10c1e8;}},_0x14a969=new EC2Client(_0x36a3d3[_0x17f826(0x1ba)](getAwsConfig));try{const _0x3f7715=await _0x14a969[_0x17f826(0x190)](new DescribeRegionsCommand({}));if(_0x36a3d3[_0x17f826(0x1a3)](_0x3f7715,undefined)&&_0x36a3d3[_0x17f826(0x1a3)](_0x3f7715[_0x17f826(0x1b2)],undefined))return _0x3f7715['Regions'];return{};}catch(_0xab7d9a){logger[_0x17f826(0x1c4)](_0x17f826(0x1a2)+_0xab7d9a);throw _0xab7d9a;}},exports[a25_0x3aa96b(0x196)]=async _0x539558=>{const _0x32af50=a25_0x3aa96b,_0x2243ae={'JgCxF':function(_0x3afb0c){return _0x3afb0c();}},_0x437829=new EKSClient(_0x2243ae[_0x32af50(0x184)](getAwsConfig));try{const _0x36e4a0={};_0x36e4a0[_0x32af50(0x1a0)]=_0x539558;const _0x59597b=await _0x437829['send'](new DescribeClusterCommand(_0x36e4a0));return _0x59597b[_0x32af50(0x1c9)][_0x32af50(0x1ca)][_0x32af50(0x18b)][_0x32af50(0x195)];}catch(_0x19ed43){logger[_0x32af50(0x1c4)](_0x32af50(0x1b4)+_0x539558+':\x20'+_0x19ed43);throw _0x19ed43;}};function a25_0x2998(){const _0x5674c7=['Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','871300EQbUpt','KAEju','fetchSubnets','Regions','getAWSRegions','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','CdweH','ZoKxL','QaXhU','aRXZR','fkpaq','oueyI','5IPmvXO','hxjrC','2787294wfxWDB','rTvuN','accessKeyId','clusterRegion','413iXNTyF','QUZTq','error','zEQVi','cloudProviderAccessKey','nrRuW','qXnTK','cluster','identity','heuwB','kIMkL','1659825YUKhUO','cloudProviderSecretKey','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','warn','SmPWn','WMDrC','VHdQX','Bucket:\x20','credentials','JgCxF','20RlRUEH','region','mtVCo','ZvsPA','secretAccessKey','ZSgRK','oidc','getAwsConfig','@aws-sdk/client-s3','ULicj','tmjhs','send','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','@aws-sdk/client-ec2','1zArSCv','xsFDG','issuer','getOidcUrl','6879528MfiyBY','fetchVPCs','pwAdw','Cyrdr','laSNQ','tngUh','6967576HXxPOh','wBMjc','mXjzI','name','isBucketPresent','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','shjKw','19400ZBMBhF','PQTaj','../config/logger','1207722hYeeJA','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','rTQPi','info','HamKD','QKJII','sYTKf'];a25_0x2998=function(){return _0x5674c7;};return a25_0x2998();}
@@ -1 +1 @@
1
- const a26_0x117e85=a26_0x176a;(function(_0x1ae3c4,_0x1a03c9){const _0x4a0618=a26_0x176a,_0x3d86f5=_0x1ae3c4();while(!![]){try{const _0x1d7520=parseInt(_0x4a0618(0x1f7))/0x1*(-parseInt(_0x4a0618(0x1fe))/0x2)+parseInt(_0x4a0618(0x1ed))/0x3+parseInt(_0x4a0618(0x1e1))/0x4+parseInt(_0x4a0618(0x1dd))/0x5+-parseInt(_0x4a0618(0x207))/0x6*(parseInt(_0x4a0618(0x1f8))/0x7)+-parseInt(_0x4a0618(0x209))/0x8+parseInt(_0x4a0618(0x1e4))/0x9*(parseInt(_0x4a0618(0x1d9))/0xa);if(_0x1d7520===_0x1a03c9)break;else _0x3d86f5['push'](_0x3d86f5['shift']());}catch(_0x28aace){_0x3d86f5['push'](_0x3d86f5['shift']());}}}(a26_0x86f8,0xefef2));function a26_0x86f8(){const _0x2a3aef=['load','readFileAsync','valueOf','VPjDt','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','browserstack:creationDate','Parameters','eGfsD','2066631tdKRSS','TemplateBody','../config/constants','DELETE','Capabilities','shHKp','join','apKWE','send','../config/logger','1205KDxJkG','14jdyfCG','ClusterName','Resources','NwooG','Tags','./AWSUtils','2978BViFPY','NoKCF','path','StackName','js-yaml-cloudformation-schema','debug','browserstack:cluster','@aws-sdk/client-cloudformation','nfbvi','443838VkOrJE','Properties','2648912TFfBRC','50tFQSni','utf-8','FSzVy','pjzbO','5132585AgtMoo','toString','bluebird','llbEp','1291064TLucgz','maxWaitTime','schema','2192247vdjnfm'];a26_0x86f8=function(){return _0x2a3aef;};return a26_0x86f8();}const fs=require('fs'),path=require(a26_0x117e85(0x200)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a26_0x117e85(0x202)),Promise=require(a26_0x117e85(0x1df)),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require(a26_0x117e85(0x205)),{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x117e85(0x1ef)),{logger}=require(a26_0x117e85(0x1f6)),{getAwsConfig}=require(a26_0x117e85(0x1fd));Promise['promisifyAll'](fs);function a26_0x176a(_0x57d915,_0x19b725){const _0x86f893=a26_0x86f8();return a26_0x176a=function(_0x176a34,_0x103295){_0x176a34=_0x176a34-0x1d9;let _0x45c95f=_0x86f893[_0x176a34];return _0x45c95f;},a26_0x176a(_0x57d915,_0x19b725);}const addAutoscalerTags=async(_0x5935ca,_0x16ae04,_0xfda57e)=>{const _0x31074f=a26_0x117e85;for(const _0x5f35cf in _0x5935ca[_0x31074f(0x1fa)]){_0x5935ca[_0x31074f(0x1fa)][_0x5f35cf][_0x31074f(0x208)]&&_0x5935ca[_0x31074f(0x1fa)][_0x5f35cf]['Properties'][_0x31074f(0x1fc)]&&_0x5935ca[_0x31074f(0x1fa)][_0x5f35cf][_0x31074f(0x208)][_0x31074f(0x1fc)]['push'](..._0xfda57e);}};exports['createAutoscalerStack']=async _0x3d25af=>{const _0x43db99=a26_0x117e85,_0x1614d3={'llbEp':_0x43db99(0x204),'NoKCF':_0x43db99(0x1ea),'JZRzf':function(_0x54dcf4){return _0x54dcf4();},'shHKp':'templates','VPjDt':'autoscaler-role-creation.yaml','NwooG':_0x43db99(0x1da),'yLrmQ':function(_0x1be8f6,_0x5100d0,_0x2b3d21,_0x2b2ba5){return _0x1be8f6(_0x5100d0,_0x2b3d21,_0x2b2ba5);},'eGfsD':_0x43db99(0x1f0),'apKWE':_0x43db99(0x1f9),'FSzVy':'CAPABILITY_NAMED_IAM','pjzbO':_0x43db99(0x1e9),'nfbvi':function(_0x5c0187,_0x3cd68a,_0x529383){return _0x5c0187(_0x3cd68a,_0x529383);}},_0x3c8bbb=COMMON_HST_TAGS,_0x371a11={};_0x371a11['Key']=_0x1614d3[_0x43db99(0x1e0)],_0x371a11['Value']=_0x3d25af,_0x3c8bbb['push'](_0x371a11),_0x3c8bbb['push']({'Key':_0x1614d3[_0x43db99(0x1ff)],'Value':new Date()[_0x43db99(0x1e7)]()[_0x43db99(0x1de)]()});const _0x593d5f=new CloudFormationClient(_0x1614d3['JZRzf'](getAwsConfig)),_0x3fef40=await fs[_0x43db99(0x1e6)](path[_0x43db99(0x1f3)](__dirname,'..',_0x1614d3[_0x43db99(0x1f2)],_0x1614d3[_0x43db99(0x1e8)]),_0x1614d3[_0x43db99(0x1fb)]),_0x5d3616={};_0x5d3616[_0x43db99(0x1e3)]=CLOUDFORMATION_SCHEMA;const _0x4c0523=yaml[_0x43db99(0x1e5)](_0x3fef40,_0x5d3616);_0x1614d3['yLrmQ'](addAutoscalerTags,_0x4c0523,_0x3d25af,_0x3c8bbb);const _0x1451b8=JSON['stringify'](_0x4c0523),_0x5d7e82={};_0x5d7e82[_0x43db99(0x201)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x3d25af,_0x5d7e82['OnFailure']=_0x1614d3[_0x43db99(0x1ec)],_0x5d7e82[_0x43db99(0x1ee)]=_0x1451b8,_0x5d7e82[_0x43db99(0x1eb)]=[{'ParameterKey':_0x1614d3[_0x43db99(0x1f4)],'ParameterValue':_0x3d25af}],_0x5d7e82[_0x43db99(0x1f1)]=[_0x1614d3[_0x43db99(0x1db)]],_0x5d7e82[_0x43db99(0x1fc)]=_0x3c8bbb;const _0x245585=_0x5d7e82,{StackId:_0xac8fac}=await _0x593d5f['send'](new CreateStackCommand(_0x245585));logger[_0x43db99(0x203)](_0x1614d3[_0x43db99(0x1dc)]);const _0x539e61={};_0x539e61['client']=_0x593d5f,_0x539e61[_0x43db99(0x1e2)]=0x708;const _0x517e9b={};_0x517e9b[_0x43db99(0x201)]=_0xac8fac,await _0x1614d3[_0x43db99(0x206)](waitUntilStackCreateComplete,_0x539e61,_0x517e9b);const _0x1a2abc={};return _0x1a2abc[_0x43db99(0x201)]=_0xac8fac,_0x593d5f[_0x43db99(0x1f5)](new DescribeStacksCommand(_0x1a2abc));};
1
+ const a26_0x13019d=a26_0x4519;(function(_0x430030,_0x40d2b5){const _0x3fb0ed=a26_0x4519,_0x1e1fbc=_0x430030();while(!![]){try{const _0x2f9a9a=parseInt(_0x3fb0ed(0x115))/0x1+parseInt(_0x3fb0ed(0x114))/0x2+-parseInt(_0x3fb0ed(0x13c))/0x3+parseInt(_0x3fb0ed(0x136))/0x4+parseInt(_0x3fb0ed(0x116))/0x5*(parseInt(_0x3fb0ed(0x117))/0x6)+parseInt(_0x3fb0ed(0x134))/0x7*(parseInt(_0x3fb0ed(0x13b))/0x8)+-parseInt(_0x3fb0ed(0x126))/0x9*(parseInt(_0x3fb0ed(0x111))/0xa);if(_0x2f9a9a===_0x40d2b5)break;else _0x1e1fbc['push'](_0x1e1fbc['shift']());}catch(_0x100a75){_0x1e1fbc['push'](_0x1e1fbc['shift']());}}}(a26_0x2932,0xa5d38));const fs=require('fs'),path=require('path'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require(a26_0x13019d(0x11f)),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require(a26_0x13019d(0x130)),{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x13019d(0x11d)),{logger}=require(a26_0x13019d(0x139)),{getAwsConfig}=require(a26_0x13019d(0x11e));function a26_0x4519(_0x427f9b,_0x170bbf){const _0x2932b6=a26_0x2932();return a26_0x4519=function(_0x4519a5,_0x646ff5){_0x4519a5=_0x4519a5-0x110;let _0x120d55=_0x2932b6[_0x4519a5];return _0x120d55;},a26_0x4519(_0x427f9b,_0x170bbf);}Promise[a26_0x13019d(0x125)](fs);function a26_0x2932(){const _0x13494a=['ClusterName','maxWaitTime','browserstack:cluster','Tags','StackName','promisifyAll','2878173WfIhoz','svXyu','push','Key','templates','client','IbMLW','valueOf','stringify','toString','@aws-sdk/client-cloudformation','lHZTW','createAutoscalerStack','hnWBi','1499092OsLKdx','NWJky','1747344TmJfIi','qOdvP','GTUaq','../config/logger','KnfXz','16ygfoZp','3373566zJvQXU','Capabilities','CAPABILITY_NAMED_IAM','TemplateBody','CyLxA','join','Value','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','50CHCaPQ','autoscaler-role-creation.yaml','WFQhI','1098298Imucnj','747963zJPYiJ','6202355vTiuAV','6EVWjZj','OnFailure','debug','Resources','send','Properties','../config/constants','./AWSUtils','bluebird'];a26_0x2932=function(){return _0x13494a;};return a26_0x2932();}const addAutoscalerTags=async(_0x10bada,_0x46e006,_0x2b5bed)=>{const _0xccca3=a26_0x13019d;for(const _0x1d1b57 in _0x10bada[_0xccca3(0x11a)]){_0x10bada[_0xccca3(0x11a)][_0x1d1b57][_0xccca3(0x11c)]&&_0x10bada[_0xccca3(0x11a)][_0x1d1b57][_0xccca3(0x11c)][_0xccca3(0x123)]&&_0x10bada['Resources'][_0x1d1b57]['Properties'][_0xccca3(0x123)]['push'](..._0x2b5bed);}};exports[a26_0x13019d(0x132)]=async _0x420ed2=>{const _0x4b17fe=a26_0x13019d,_0xaa26e5={'qOdvP':_0x4b17fe(0x122),'hnWBi':'browserstack:creationDate','NWJky':function(_0x4e7c90){return _0x4e7c90();},'lHZTW':_0x4b17fe(0x12a),'IdsVz':_0x4b17fe(0x112),'WFQhI':'utf-8','IbMLW':function(_0x339e9a,_0x482e6e,_0x341901,_0x99e1a9){return _0x339e9a(_0x482e6e,_0x341901,_0x99e1a9);},'KnfXz':'DELETE','GTUaq':_0x4b17fe(0x120),'IBgLm':_0x4b17fe(0x13e),'CyLxA':_0x4b17fe(0x110),'svXyu':function(_0x23290a,_0x3448a7,_0x36637b){return _0x23290a(_0x3448a7,_0x36637b);}},_0x26949b=COMMON_HST_TAGS,_0x4cddc5={};_0x4cddc5[_0x4b17fe(0x129)]=_0xaa26e5[_0x4b17fe(0x137)],_0x4cddc5[_0x4b17fe(0x142)]=_0x420ed2,_0x26949b[_0x4b17fe(0x128)](_0x4cddc5),_0x26949b[_0x4b17fe(0x128)]({'Key':_0xaa26e5[_0x4b17fe(0x133)],'Value':new Date()[_0x4b17fe(0x12d)]()[_0x4b17fe(0x12f)]()});const _0x581d8d=new CloudFormationClient(_0xaa26e5[_0x4b17fe(0x135)](getAwsConfig)),_0x50bc42=await fs['readFileAsync'](path[_0x4b17fe(0x141)](__dirname,'..',_0xaa26e5[_0x4b17fe(0x131)],_0xaa26e5['IdsVz']),_0xaa26e5[_0x4b17fe(0x113)]),_0x5cbfc8={};_0x5cbfc8['schema']=CLOUDFORMATION_SCHEMA;const _0x8f39ff=yaml['load'](_0x50bc42,_0x5cbfc8);_0xaa26e5[_0x4b17fe(0x12c)](addAutoscalerTags,_0x8f39ff,_0x420ed2,_0x26949b);const _0x44c166=JSON[_0x4b17fe(0x12e)](_0x8f39ff),_0x58e325={};_0x58e325[_0x4b17fe(0x124)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x420ed2,_0x58e325[_0x4b17fe(0x118)]=_0xaa26e5[_0x4b17fe(0x13a)],_0x58e325[_0x4b17fe(0x13f)]=_0x44c166,_0x58e325['Parameters']=[{'ParameterKey':_0xaa26e5[_0x4b17fe(0x138)],'ParameterValue':_0x420ed2}],_0x58e325[_0x4b17fe(0x13d)]=[_0xaa26e5['IBgLm']],_0x58e325[_0x4b17fe(0x123)]=_0x26949b;const _0x14d11e=_0x58e325,{StackId:_0x551fe2}=await _0x581d8d[_0x4b17fe(0x11b)](new CreateStackCommand(_0x14d11e));logger[_0x4b17fe(0x119)](_0xaa26e5[_0x4b17fe(0x140)]);const _0x2acc15={};_0x2acc15[_0x4b17fe(0x12b)]=_0x581d8d,_0x2acc15[_0x4b17fe(0x121)]=0x708;const _0x33fe1c={};_0x33fe1c[_0x4b17fe(0x124)]=_0x551fe2,await _0xaa26e5[_0x4b17fe(0x127)](waitUntilStackCreateComplete,_0x2acc15,_0x33fe1c);const _0x41c036={};return _0x41c036[_0x4b17fe(0x124)]=_0x551fe2,_0x581d8d['send'](new DescribeStacksCommand(_0x41c036));};
@@ -1 +1 @@
1
- const a27_0x24449c=a27_0x1dfb;(function(_0x1c102f,_0x30816f){const _0x2b5cbe=a27_0x1dfb,_0x4ebf07=_0x1c102f();while(!![]){try{const _0x3c6dae=parseInt(_0x2b5cbe(0xfc))/0x1*(-parseInt(_0x2b5cbe(0xf3))/0x2)+parseInt(_0x2b5cbe(0xd0))/0x3+parseInt(_0x2b5cbe(0x155))/0x4*(parseInt(_0x2b5cbe(0x119))/0x5)+parseInt(_0x2b5cbe(0xea))/0x6+-parseInt(_0x2b5cbe(0x120))/0x7*(-parseInt(_0x2b5cbe(0x16f))/0x8)+parseInt(_0x2b5cbe(0x154))/0x9+-parseInt(_0x2b5cbe(0x166))/0xa;if(_0x3c6dae===_0x30816f)break;else _0x4ebf07['push'](_0x4ebf07['shift']());}catch(_0x39f416){_0x4ebf07['push'](_0x4ebf07['shift']());}}}(a27_0x241b,0x6bcba));function a27_0x241b(){const _0x261e63=['Resources','DependsOn','ObxTi','forEach','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','createClusterStack','spGCo','valueOf','KMmJo','tGTtq','tyUuc','621549LKMmns','322108yREMTw','CFTemplates','PXFKy','UgwGm','push','VPC','iUEmB','value','Subnet01Block','LiusN','xLZMF','Outputs','lPhTy','Subnet02','Tags','ZrNwa','ParameterValue','11312890uauHBd','StackName','vBXkf','true','CAPABILITY_NAMED_IAM','RlDXC','mqrLd','OIaYg','0|4|1|2|3|5','201104iRblTq','wrsRL','lRDlC','ADElo','KTNuh','../config/logger','OTZwD','keys','QpfBS','AyZxe','xmVDL','Parameters','split','aws-eks-cluster-dep.yaml','yPbJN','kcNDV','ootHT','ami','GuyNX','Subnet03Block','toString','oxdSe','ResourcesVpcConfig','Wvumw','hyzew','2521269BRjxCW','NodeGroupWindows','PPiaq','./AWSUtils','emDbC','VtCRL','iZkcO','NodeGroupNameWindows','join','zevkL','instanceType','load','Subnet','ParameterGroups','readFileAsync','ePqYi','EOqkf','Capabilities','bLsgm','geWiq','-Windows-NodeGroup','aWpvO','mzKBV','ScIOD','xaqku','S3BucketName','2669004MwqYgY','s3Bucket','TemplateBody','rWSzS','Key','WIqpe','zCYWb','kvXzL','yWTLB','4AIpgfN','OnFailure','QDCGk','oItTQ','kVsua','NodeGroupName','NodeInstanceType','padStart','lONZz','225213VASWAw','ClusterAutoUpgrade','DELETE','SubnetIds','wqKgb','Subnet02Block','maxWaitTime','YQewE','kTlPI','aDUwo','CEcbS','JkICR','KKPQm','PsSci','zGBwF','ParameterKey','Subnets','NodeAutoScalingGroupMinSizeWindows','VpcBlock','Ref','NodeGroup','JuKli','utf-8','xmVtr','VoQmJ','KQHgH','bsTgw','XRCVB','rrdYz','15hCysYJ','Properties','@aws-sdk/client-cloudformation','gNrNv','UxAJr','ogmlP','Rqsdt','119BZouyl','browserstack:cluster','SSPzE','schema','debug','yqSMl','evscE','qRhij','client','promisifyAll','vpc-import.yaml','bRbvq','send','HXcIn','XXeok','HnXPj','0|2|5|4|3|1','ePwrP','vYuZI','GjyVG','pUfZA','wiOcu','Value','ZtCLB','lBhPZ','dKgZN','Subnet01','qBvZX','Fn::Join','LnIKX','xuBUs','path','NodeAutoScalingGroupMaxSize','browserstack:creationDate','bevKJ','Metadata','dTgxL','VxIgs','JaDTD','EKSCluster','Rduul'];a27_0x241b=function(){return _0x261e63;};return a27_0x241b();}function a27_0x1dfb(_0x41eebb,_0x248a04){const _0x241bfb=a27_0x241b();return a27_0x1dfb=function(_0x1dfbb6,_0x4e3bde){_0x1dfbb6=_0x1dfbb6-0xc2;let _0x1271a0=_0x241bfb[_0x1dfbb6];return _0x1271a0;},a27_0x1dfb(_0x41eebb,_0x248a04);}const fs=require('fs'),path=require(a27_0x24449c(0x13f)),Promise=require('bluebird'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require(a27_0x24449c(0x11b)),{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require('../config/constants'),{logger}=require(a27_0x24449c(0x174)),{isBucketPresent,getAwsConfig}=require(a27_0x24449c(0xd3));Promise[a27_0x24449c(0x129)](fs);const mergeTemplates=(_0xd26a7e,_0x5b101d)=>{const _0x21ff16=a27_0x24449c,_0x30e881={'dTgxL':function(_0x550f98,_0xf410c0){return _0x550f98!==_0xf410c0;},'OTZwD':_0x21ff16(0x145),'ZrNwa':function(_0x522cc6,_0x31ca07){return _0x522cc6(_0x31ca07);},'GjyVG':_0x21ff16(0xf0),'lRDlC':_0x21ff16(0xe7)};Object[_0x21ff16(0x176)](_0x5b101d)['forEach'](_0x435e6f=>{const _0x474f22=_0x21ff16,_0x1bf61d={'YjaUI':function(_0x3c916a,_0x37abaa){const _0x3549bb=a27_0x1dfb;return _0x30e881[_0x3549bb(0x164)](_0x3c916a,_0x37abaa);}};if(_0x30e881['dTgxL'](_0x30e881[_0x474f22(0x133)],_0x30e881[_0x474f22(0x171)])){var _0x4dbb9e=_0x5b101d[_0x435e6f];Object[_0x474f22(0x176)](_0x4dbb9e)[_0x474f22(0x14c)](_0x44edc0=>{const _0x42a0b4=_0x474f22;_0x30e881[_0x42a0b4(0x144)](_0x30e881[_0x42a0b4(0x175)],_0x30e881[_0x42a0b4(0x175)])?(_0x5d6eba[_0x42a0b4(0xc2)]['push']({'ParameterKey':'Subnet'+_0x1bf61d['YjaUI'](_0x4bf500,_0x21bbb4)['padStart'](0x2,'0'),'ParameterValue':_0x51838c['value']}),_0x5b8618+=0x1):_0xd26a7e[_0x435e6f][_0x44edc0]=_0x4dbb9e[_0x44edc0];});}else _0x5cb951['keys'](_0x214a1e)[_0x474f22(0x14c)](_0x5167e9=>{const _0x51d9a0=_0x474f22;var _0x4190fa=_0x2a7798[_0x5167e9];_0x43f084['keys'](_0x4190fa)[_0x51d9a0(0x14c)](_0x46b5ad=>{_0x4a9c44[_0x5167e9][_0x46b5ad]=_0x4190fa[_0x46b5ad];});});});},addVPCData=async(_0x49c517,_0x476b72)=>{const _0x279104=a27_0x24449c,_0x4ee447={'IJNPV':_0x279104(0x15a),'kcNDV':_0x279104(0x110),'oxdSe':_0x279104(0xd1),'KKPQm':function(_0x350a8c,_0x3c54f9){return _0x350a8c!==_0x3c54f9;},'lPhTy':'MWEcO','XXeok':'CFTemplates','dEblC':_0x279104(0x12a),'GuyNX':_0x279104(0x112),'ObxTi':function(_0x5312e8,_0x398c6a,_0x3dabb5){return _0x5312e8(_0x398c6a,_0x3dabb5);},'oItTQ':'AWS::CloudFormation::Interface','lBhPZ':'JROnm','ecBqs':'vpc-create.yaml','iZkcO':function(_0x515afe,_0x55aa19,_0x51b6b8){return _0x515afe(_0x55aa19,_0x51b6b8);},'YAZBb':_0x279104(0x10e)};if(_0x476b72){if(_0x4ee447[_0x279104(0x108)](_0x4ee447[_0x279104(0x161)],_0x4ee447[_0x279104(0x161)])){const _0xff2f90={};_0xff2f90[_0x279104(0x10b)]=_0x4ee447['IJNPV'],_0xff2f90[_0x279104(0x165)]=_0x20cdf2,_0x3a238a['Parameters'][_0x279104(0x159)](_0xff2f90);}else{const _0x4ad5da=await fs['readFileAsync'](path['join'](__dirname,'..',_0x4ee447[_0x279104(0x12e)],_0x4ee447['dEblC']),_0x4ee447['GuyNX']),_0x34f689={};_0x34f689['schema']=CLOUDFORMATION_SCHEMA;const _0x5be4f2=yaml['load'](_0x4ad5da,_0x34f689);_0x4ee447[_0x279104(0x14b)](mergeTemplates,_0x49c517,_0x5be4f2),_0x49c517['Metadata'][_0x4ee447[_0x279104(0xf6)]][_0x279104(0xdd)][0x0]['Parameters'][_0x279104(0x159)](_0x4ee447['IJNPV']);}}else{if(_0x4ee447['KKPQm'](_0x4ee447[_0x279104(0x138)],_0x4ee447['lBhPZ'])){for(const _0x33bf25 in _0x1e8cfe['Resources']){_0x5133b0[_0x279104(0x149)][_0x33bf25][_0x279104(0x11a)]&&_0x565e21[_0x279104(0x149)][_0x33bf25]['Properties'][_0x279104(0x163)]&&_0x5ca46c[_0x279104(0x149)][_0x33bf25][_0x279104(0x11a)][_0x279104(0x163)]['push'](..._0x37951e);}const _0x38171e={};_0xdc0dab[_0x279104(0x14c)](_0x85cce2=>{const _0x201aac=_0x279104;_0x38171e[_0x85cce2[_0x201aac(0xee)]]=_0x85cce2[_0x201aac(0x136)];}),_0x4c5cc0[_0x279104(0x149)][_0x4ee447[_0x279104(0xc6)]]['Properties']['Tags']=_0x38171e,_0x13786f['Resources'][_0x4ee447[_0x279104(0xcc)]][_0x279104(0x11a)]['Tags']=_0x38171e;}else{const _0x355932=await fs[_0x279104(0xde)](path[_0x279104(0xd8)](__dirname,'..',_0x4ee447['XXeok'],_0x4ee447['ecBqs']),_0x4ee447[_0x279104(0xc9)]),_0x51852c={};_0x51852c['schema']=CLOUDFORMATION_SCHEMA;const _0x5d83ff=yaml[_0x279104(0xdb)](_0x355932,_0x51852c);_0x4ee447[_0x279104(0xd6)](mergeTemplates,_0x49c517,_0x5d83ff),_0x49c517[_0x279104(0x143)][_0x4ee447[_0x279104(0xf6)]][_0x279104(0xdd)][0x0]['Parameters'][_0x279104(0x159)](_0x4ee447['YAZBb']);}}},addS3Data=async _0x595637=>{const _0x2cff86=a27_0x24449c,_0x47bbb0={'yqSMl':function(_0x57294d,_0x2a2826){return _0x57294d(_0x2a2826);},'BIEBw':_0x2cff86(0x156),'mzKBV':'s3-create.yaml','spGCo':_0x2cff86(0x112),'xaqku':function(_0x474f58,_0xd58bb5){return _0x474f58===_0xd58bb5;},'yWTLB':_0x2cff86(0x16d),'ADElo':function(_0x49e5eb,_0x1a26f5,_0x5b86ff){return _0x49e5eb(_0x1a26f5,_0x5b86ff);}},_0x540780=await fs[_0x2cff86(0xde)](path[_0x2cff86(0xd8)](__dirname,'..',_0x47bbb0['BIEBw'],_0x47bbb0[_0x2cff86(0xe6)]),_0x47bbb0[_0x2cff86(0x14f)]),_0x4c6271={};_0x4c6271[_0x2cff86(0x123)]=CLOUDFORMATION_SCHEMA;const _0x689635=yaml[_0x2cff86(0xdb)](_0x540780,_0x4c6271),_0x561ace=await _0x47bbb0[_0x2cff86(0x125)](isBucketPresent,global_registry[_0x2cff86(0xeb)]);if(_0x47bbb0['xaqku'](_0x561ace,![])){if(_0x47bbb0[_0x2cff86(0xe8)](_0x47bbb0[_0x2cff86(0xf2)],_0x47bbb0[_0x2cff86(0xf2)]))_0x47bbb0[_0x2cff86(0x172)](mergeTemplates,_0x595637,_0x689635);else{let _0x4fa35c=0x1;_0x4345e4['forEach'](_0xe6c15d=>{const _0x1c29bb=_0x2cff86;_0x5b16eb['Parameters'][_0x1c29bb(0x159)]({'ParameterKey':'Subnet'+_0x47bbb0['yqSMl'](_0x3ef53a,_0x4fa35c)['padStart'](0x2,'0'),'ParameterValue':_0xe6c15d[_0x1c29bb(0x15c)]}),_0x4fa35c+=0x1;});}}},addSubnetData=async(_0x354564,_0x23918a)=>{const _0x170e8c=a27_0x24449c,_0x1aff8c={'hyzew':_0x170e8c(0x16e),'yPbJN':function(_0x35bc81,_0x59570d){return _0x35bc81(_0x59570d);},'JkICR':function(_0x327526,_0x321420){return _0x327526(_0x321420);},'Wvumw':function(_0x55bbcf,_0x4afde7){return _0x55bbcf(_0x4afde7);},'WQvIO':_0x170e8c(0x13c),'HXcIn':'AWS::CloudFormation::Interface','dKgZN':function(_0x418aaa,_0x3af8ed){return _0x418aaa!==_0x3af8ed;},'ZeWqx':_0x170e8c(0x151),'QDCGk':_0x170e8c(0x170),'aDUwo':_0x170e8c(0x130),'mqrLd':function(_0xd2e9c2,_0x336af6){return _0xd2e9c2(_0x336af6);},'rrdYz':function(_0x1bf804,_0x20b0ec){return _0x1bf804(_0x20b0ec);},'zTyXg':function(_0x15f189,_0x41314b){return _0x15f189(_0x41314b);},'ePqYi':function(_0x4f88ee,_0xa2ea4c){return _0x4f88ee(_0xa2ea4c);},'UrBmf':function(_0x3e13ae,_0x29c38b){return _0x3e13ae===_0x29c38b;},'qBvZX':'anFNx','RlDXC':_0x170e8c(0x15f),'evscE':_0x170e8c(0x156),'kVsua':'subnet-import.yaml','LnIKX':_0x170e8c(0x112),'WIqpe':function(_0x38533f,_0x24881f,_0x20b7f7){return _0x38533f(_0x24881f,_0x20b7f7);},'xuBUs':'qwkvM','ogmlP':_0x170e8c(0x142),'yQFxn':'subnet-create.yaml','KTNuh':_0x170e8c(0x13a),'kTlPI':_0x170e8c(0x162),'zGBwF':'Subnet03','vYuZI':_0x170e8c(0x15d),'sejgZ':_0x170e8c(0x101),'aWpvO':_0x170e8c(0xca)};if(_0x23918a){if(_0x1aff8c['UrBmf'](_0x1aff8c[_0x170e8c(0x13b)],_0x1aff8c[_0x170e8c(0x16b)])){const _0x5e8c0e=_0x1aff8c[_0x170e8c(0xcf)][_0x170e8c(0xc3)]('|');let _0xcb9f51=0x0;while(!![]){switch(_0x5e8c0e[_0xcb9f51++]){case'0':_0x52341d['Resources'][_0x170e8c(0x147)][_0x170e8c(0x11a)][_0x170e8c(0xcd)][_0x170e8c(0xff)][_0x170e8c(0x159)]({'Ref':_0x170e8c(0xdc)+_0x1aff8c[_0x170e8c(0xc5)](_0x209b7d,_0x48580e)['padStart'](0x2,'0')});continue;case'1':_0x42fd9f[_0x170e8c(0x149)][_0x170e8c(0x110)]['Properties'][_0x170e8c(0x10c)][_0x170e8c(0x159)]({'Ref':_0x170e8c(0xdc)+_0x1aff8c[_0x170e8c(0x107)](_0x411248,_0x7798f9)[_0x170e8c(0xfa)](0x2,'0')});continue;case'2':_0x206009[_0x170e8c(0x149)]['NodeGroupWindows']['Properties']['Subnets'][_0x170e8c(0x159)]({'Ref':_0x170e8c(0xdc)+_0x1aff8c[_0x170e8c(0xce)](_0x176cf8,_0x7bd3e9)['padStart'](0x2,'0')});continue;case'3':_0x5db7fa[_0x170e8c(0x160)][_0x170e8c(0xff)][_0x170e8c(0x136)][_0x1aff8c['WQvIO']][0x1][_0x170e8c(0x159)]({'Ref':_0x170e8c(0xdc)+_0x1aff8c[_0x170e8c(0xce)](_0x53918a,_0x30face)['padStart'](0x2,'0')});continue;case'4':_0x400f92[_0x170e8c(0x143)][_0x1aff8c[_0x170e8c(0x12d)]]['ParameterGroups'][0x0][_0x170e8c(0xc2)]['push']('Subnet'+_0x1aff8c[_0x170e8c(0xce)](_0x2ac99c,_0x40be88)[_0x170e8c(0xfa)](0x2,'0'));continue;case'5':_0x1d6f56+=0x1;continue;}break;}}else{const _0x33fdeb=await fs[_0x170e8c(0xde)](path[_0x170e8c(0xd8)](__dirname,'..',_0x1aff8c[_0x170e8c(0x126)],_0x1aff8c[_0x170e8c(0xf7)]),_0x1aff8c['LnIKX']),_0x295ca0={};_0x295ca0[_0x170e8c(0x123)]=CLOUDFORMATION_SCHEMA;const _0x4ba9f8=yaml['load'](_0x33fdeb,_0x295ca0);_0x1aff8c[_0x170e8c(0xef)](mergeTemplates,_0x354564,_0x4ba9f8);let _0x3f3e7c=0x1;_0x23918a[_0x170e8c(0x14c)](_0xc26f6c=>{const _0x4ebf58=_0x170e8c;if(_0x1aff8c[_0x4ebf58(0x139)](_0x1aff8c['ZeWqx'],_0x1aff8c[_0x4ebf58(0xf5)])){const _0x5df53a=_0x1aff8c[_0x4ebf58(0x105)]['split']('|');let _0x30f163=0x0;while(!![]){switch(_0x5df53a[_0x30f163++]){case'0':_0x354564[_0x4ebf58(0x149)][_0x4ebf58(0x147)][_0x4ebf58(0x11a)][_0x4ebf58(0xcd)][_0x4ebf58(0xff)][_0x4ebf58(0x159)]({'Ref':_0x4ebf58(0xdc)+_0x1aff8c[_0x4ebf58(0xce)](String,_0x3f3e7c)['padStart'](0x2,'0')});continue;case'1':_0x3f3e7c+=0x1;continue;case'2':_0x354564[_0x4ebf58(0x143)][_0x1aff8c[_0x4ebf58(0x12d)]][_0x4ebf58(0xdd)][0x0][_0x4ebf58(0xc2)][_0x4ebf58(0x159)]('Subnet'+_0x1aff8c[_0x4ebf58(0x16c)](String,_0x3f3e7c)[_0x4ebf58(0xfa)](0x2,'0'));continue;case'3':_0x354564['Outputs'][_0x4ebf58(0xff)][_0x4ebf58(0x136)][_0x1aff8c['WQvIO']][0x1][_0x4ebf58(0x159)]({'Ref':'Subnet'+_0x1aff8c[_0x4ebf58(0x118)](String,_0x3f3e7c)[_0x4ebf58(0xfa)](0x2,'0')});continue;case'4':_0x354564['Resources'][_0x4ebf58(0xd1)][_0x4ebf58(0x11a)][_0x4ebf58(0x10c)][_0x4ebf58(0x159)]({'Ref':'Subnet'+_0x1aff8c['zTyXg'](String,_0x3f3e7c)[_0x4ebf58(0xfa)](0x2,'0')});continue;case'5':_0x354564[_0x4ebf58(0x149)]['NodeGroup'][_0x4ebf58(0x11a)]['Subnets']['push']({'Ref':_0x4ebf58(0xdc)+_0x1aff8c[_0x4ebf58(0xdf)](String,_0x3f3e7c)[_0x4ebf58(0xfa)](0x2,'0')});continue;}break;}}else _0x306ece[_0x4ebf58(0x149)][_0x541dd9][_0x4ebf58(0x11a)]&&_0x283b80[_0x4ebf58(0x149)][_0x283bc8][_0x4ebf58(0x11a)]['Tags']&&_0x5f4b8e[_0x4ebf58(0x149)][_0x14a95e][_0x4ebf58(0x11a)][_0x4ebf58(0x163)][_0x4ebf58(0x159)](..._0x4fd6b2);});}}else{if(_0x1aff8c['UrBmf'](_0x1aff8c[_0x170e8c(0x13e)],_0x1aff8c[_0x170e8c(0x11e)]))_0x83d05c[_0xeada9e[_0x170e8c(0xee)]]=_0x11333a[_0x170e8c(0x136)];else{const _0x49c177=await fs[_0x170e8c(0xde)](path['join'](__dirname,'..',_0x1aff8c[_0x170e8c(0x126)],_0x1aff8c['yQFxn']),_0x1aff8c[_0x170e8c(0x13d)]),_0xd609b2={};_0xd609b2[_0x170e8c(0x123)]=CLOUDFORMATION_SCHEMA;const _0x59d217=yaml['load'](_0x49c177,_0xd609b2);_0x1aff8c['WIqpe'](mergeTemplates,_0x354564,_0x59d217),_0x354564['Resources']['EKSCluster'][_0x170e8c(0x14a)][_0x170e8c(0x159)](_0x1aff8c[_0x170e8c(0x173)],_0x1aff8c[_0x170e8c(0x104)],_0x1aff8c[_0x170e8c(0x10a)]);const _0x47c69d={};_0x47c69d[_0x170e8c(0x10f)]=_0x1aff8c['KTNuh'];const _0x411230={};_0x411230['Ref']=_0x1aff8c[_0x170e8c(0x104)];const _0x27cc71={};_0x27cc71[_0x170e8c(0x10f)]=_0x1aff8c[_0x170e8c(0x10a)],_0x354564[_0x170e8c(0x149)][_0x170e8c(0x147)]['Properties']['ResourcesVpcConfig']['SubnetIds']=[_0x47c69d,_0x411230,_0x27cc71],_0x354564[_0x170e8c(0x143)][_0x1aff8c[_0x170e8c(0x12d)]][_0x170e8c(0xdd)][0x0][_0x170e8c(0xc2)]['push'](_0x1aff8c[_0x170e8c(0x132)],_0x1aff8c['sejgZ'],_0x1aff8c[_0x170e8c(0xe5)]);const _0x11c4bd={};_0x11c4bd[_0x170e8c(0x10f)]=_0x1aff8c[_0x170e8c(0x173)];const _0x13ae02={};_0x13ae02[_0x170e8c(0x10f)]=_0x1aff8c['kTlPI'];const _0x5f58f8={};_0x5f58f8['Ref']=_0x1aff8c[_0x170e8c(0x10a)],_0x354564['Resources'][_0x170e8c(0x110)][_0x170e8c(0x11a)][_0x170e8c(0x10c)]=[_0x11c4bd,_0x13ae02,_0x5f58f8];const _0x99b5df={};_0x99b5df['Ref']=_0x1aff8c[_0x170e8c(0x173)];const _0x3a27f4={};_0x3a27f4[_0x170e8c(0x10f)]=_0x1aff8c[_0x170e8c(0x104)];const _0x540cde={};_0x540cde['Ref']=_0x1aff8c[_0x170e8c(0x10a)],_0x354564['Resources'][_0x170e8c(0xd1)]['Properties']['Subnets']=[_0x99b5df,_0x3a27f4,_0x540cde],_0x354564[_0x170e8c(0x160)][_0x170e8c(0xff)][_0x170e8c(0x136)][_0x1aff8c['WQvIO']][0x1]=[{'Ref':_0x1aff8c[_0x170e8c(0x173)]},{'Ref':_0x1aff8c[_0x170e8c(0x104)]},{'Ref':_0x1aff8c[_0x170e8c(0x10a)]}];}}},addTags=async(_0x3fe4a6,_0x4bf8fc,_0x406038)=>{const _0x26dd05=a27_0x24449c,_0x211404={'YQewE':function(_0x380c50,_0x2fd6c5,_0x53ae03){return _0x380c50(_0x2fd6c5,_0x53ae03);},'tyUuc':function(_0x4aa868,_0x5e31a9){return _0x4aa868!==_0x5e31a9;},'bsTgw':_0x26dd05(0x111),'xjsMV':function(_0x3d25de,_0x2bb42d){return _0x3d25de===_0x2bb42d;},'Rqsdt':_0x26dd05(0xe3),'wiOcu':_0x26dd05(0x157),'QpfBS':function(_0x3b93cf,_0xfe3061){return _0x3b93cf===_0xfe3061;},'ootHT':_0x26dd05(0x113),'vBXkf':_0x26dd05(0xe0),'HnXPj':_0x26dd05(0x110),'PPiaq':_0x26dd05(0xd1)};for(const _0x5aaa0f in _0x3fe4a6[_0x26dd05(0x149)]){if(_0x211404['xjsMV'](_0x211404[_0x26dd05(0x11f)],_0x211404[_0x26dd05(0x135)]))_0x25847a[_0x26dd05(0x149)][_0x4f2e7b]['Properties'][_0x26dd05(0x163)]['push'](..._0x129451);else{if(_0x3fe4a6['Resources'][_0x5aaa0f][_0x26dd05(0x11a)]&&_0x3fe4a6[_0x26dd05(0x149)][_0x5aaa0f]['Properties']['Tags']){if(_0x211404[_0x26dd05(0x177)](_0x211404[_0x26dd05(0xc7)],_0x211404[_0x26dd05(0x168)])){var _0x40d02d=_0x5951ae[_0x436a64];_0x57046b[_0x26dd05(0x176)](_0x40d02d)[_0x26dd05(0x14c)](_0x11775f=>{_0x3b1d80[_0x307c45][_0x11775f]=_0x40d02d[_0x11775f];});}else _0x3fe4a6[_0x26dd05(0x149)][_0x5aaa0f][_0x26dd05(0x11a)][_0x26dd05(0x163)]['push'](..._0x406038);}}}const _0x30c103={};_0x406038[_0x26dd05(0x14c)](_0x36f59a=>{const _0x47b4c6=_0x26dd05;_0x211404[_0x47b4c6(0x153)](_0x211404[_0x47b4c6(0x116)],_0x211404['bsTgw'])?_0x211404[_0x47b4c6(0x103)](_0x5c3be6,_0x3bce1a,_0x55ce6f):_0x30c103[_0x36f59a[_0x47b4c6(0xee)]]=_0x36f59a['Value'];}),_0x3fe4a6['Resources'][_0x211404[_0x26dd05(0x12f)]]['Properties']['Tags']=_0x30c103,_0x3fe4a6['Resources'][_0x211404[_0x26dd05(0xd2)]][_0x26dd05(0x11a)][_0x26dd05(0x163)]=_0x30c103;};exports[a27_0x24449c(0x14e)]=async(_0x23b05f,_0x2ac85f,_0x5acf24,_0x224734=null,_0x4329b5=null,_0x39f3dc)=>{const _0x2fbecf=a27_0x24449c,_0x272463={'AyZxe':function(_0x5e67fc,_0x5401b9){return _0x5e67fc(_0x5401b9);},'qRhij':_0x2fbecf(0x121),'VtCRL':_0x2fbecf(0x141),'emDbC':function(_0x207400){return _0x207400();},'SSPzE':_0x2fbecf(0x156),'UkCxf':_0x2fbecf(0xc4),'xmVDL':_0x2fbecf(0x112),'UxAJr':function(_0x84e2a5,_0x218b7f,_0x501d5b){return _0x84e2a5(_0x218b7f,_0x501d5b);},'rWSzS':function(_0x362c34,_0x3307ab){return _0x362c34(_0x3307ab);},'kvXzL':function(_0x38c5d3,_0x20cf6d,_0x50483a){return _0x38c5d3(_0x20cf6d,_0x50483a);},'SHNff':function(_0x132ab7,_0x3eb384,_0x167363,_0x133ee){return _0x132ab7(_0x3eb384,_0x167363,_0x133ee);},'LiusN':_0x2fbecf(0xfe),'zevkL':'ClusterName','gNrNv':_0x2fbecf(0xf8),'Rduul':'NodeAutoScalingGroupMinSize','ZtCLB':_0x2fbecf(0x10d),'OXchl':'NodeAutoScalingGroupDesiredSizeWindows','NSOoc':_0x2fbecf(0x140),'iUEmB':'NodeImageId','tGTtq':_0x2fbecf(0xf9),'bRbvq':_0x2fbecf(0xe9),'wqKgb':_0x2fbecf(0xd7),'ePwrP':_0x2fbecf(0xfd),'UgwGm':_0x2fbecf(0x169),'CEcbS':'false','pUfZA':_0x2fbecf(0x16a),'VoQmJ':function(_0x27e446,_0x438970){return _0x27e446!=_0x438970;},'JaDTD':function(_0x7c646e,_0x58f25d){return _0x7c646e!==_0x58f25d;},'KQHgH':_0x2fbecf(0x109),'bLsgm':_0x2fbecf(0x15a),'XRCVB':_0x2fbecf(0x14d),'lONZz':function(_0x3c62a5,_0x33bd3a,_0x4b54b7){return _0x3c62a5(_0x33bd3a,_0x4b54b7);}},_0x4287e7=COMMON_HST_TAGS,_0xe17b0b={};_0xe17b0b[_0x2fbecf(0xee)]=_0x272463[_0x2fbecf(0x127)],_0xe17b0b['Value']=_0x23b05f,_0x4287e7[_0x2fbecf(0x159)](_0xe17b0b),_0x4287e7['push']({'Key':_0x272463[_0x2fbecf(0xd5)],'Value':new Date()[_0x2fbecf(0x150)]()[_0x2fbecf(0xcb)]()});const _0x16712e=new CloudFormationClient(_0x272463[_0x2fbecf(0xd4)](getAwsConfig)),_0x20d785=await fs[_0x2fbecf(0xde)](path['join'](__dirname,'..',_0x272463[_0x2fbecf(0x122)],_0x272463['UkCxf']),_0x272463[_0x2fbecf(0x179)]),_0x48fd12={};_0x48fd12[_0x2fbecf(0x123)]=CLOUDFORMATION_SCHEMA;const _0x1766ca=yaml[_0x2fbecf(0xdb)](_0x20d785,_0x48fd12);await _0x272463[_0x2fbecf(0x11d)](addVPCData,_0x1766ca,_0x224734),await _0x272463[_0x2fbecf(0xed)](addS3Data,_0x1766ca),await _0x272463[_0x2fbecf(0xf1)](addSubnetData,_0x1766ca,_0x4329b5),await _0x272463['SHNff'](addTags,_0x1766ca,_0x23b05f,_0x4287e7);const _0x18f20e=JSON['stringify'](_0x1766ca),_0x22651c={};_0x22651c['StackName']=CLUSTER_DEP_STACK_NAME+'-'+_0x23b05f,_0x22651c[_0x2fbecf(0xf4)]=_0x272463[_0x2fbecf(0x15e)],_0x22651c[_0x2fbecf(0xec)]=_0x18f20e,_0x22651c[_0x2fbecf(0xc2)]=[{'ParameterKey':_0x272463[_0x2fbecf(0xd9)],'ParameterValue':_0x23b05f},{'ParameterKey':_0x272463[_0x2fbecf(0x11c)],'ParameterValue':_0x23b05f+'-NodeGroup'},{'ParameterKey':_0x272463[_0x2fbecf(0x148)],'ParameterValue':''+_0x2ac85f},{'ParameterKey':_0x272463[_0x2fbecf(0x137)],'ParameterValue':'0'},{'ParameterKey':_0x272463['OXchl'],'ParameterValue':'1'},{'ParameterKey':_0x272463['NSOoc'],'ParameterValue':''+_0x5acf24},{'ParameterKey':_0x272463[_0x2fbecf(0x15b)],'ParameterValue':global_registry[_0x2fbecf(0xc8)]},{'ParameterKey':_0x272463[_0x2fbecf(0x152)],'ParameterValue':global_registry[_0x2fbecf(0xda)]},{'ParameterKey':_0x272463[_0x2fbecf(0x12b)],'ParameterValue':global_registry[_0x2fbecf(0xeb)]},{'ParameterKey':_0x272463[_0x2fbecf(0x100)],'ParameterValue':_0x23b05f+_0x2fbecf(0xe4)},{'ParameterKey':_0x272463[_0x2fbecf(0x131)],'ParameterValue':_0x39f3dc?_0x272463[_0x2fbecf(0x158)]:_0x272463[_0x2fbecf(0x106)]}],_0x22651c[_0x2fbecf(0xe1)]=[_0x272463[_0x2fbecf(0x134)]],_0x22651c[_0x2fbecf(0x163)]=_0x4287e7;const _0x4b7f38=_0x22651c;if(_0x272463['VoQmJ'](_0x224734,null)&&_0x272463[_0x2fbecf(0x146)](_0x224734,undefined)){if(_0x272463[_0x2fbecf(0x146)](_0x272463[_0x2fbecf(0x115)],_0x272463[_0x2fbecf(0x115)]))_0x38e71d[_0x27d449][_0x5432ec]=_0x51b253[_0x5aab9f];else{const _0x2e8d90={};_0x2e8d90[_0x2fbecf(0x10b)]=_0x272463[_0x2fbecf(0xe2)],_0x2e8d90[_0x2fbecf(0x165)]=_0x224734,_0x4b7f38[_0x2fbecf(0xc2)][_0x2fbecf(0x159)](_0x2e8d90);}}if(_0x272463[_0x2fbecf(0x114)](_0x4329b5,null)&&_0x272463[_0x2fbecf(0x146)](_0x4329b5,undefined)){let _0x17ae80=0x1;_0x4329b5[_0x2fbecf(0x14c)](_0x3a2e78=>{const _0x43de6f=_0x2fbecf;_0x4b7f38['Parameters'][_0x43de6f(0x159)]({'ParameterKey':_0x43de6f(0xdc)+_0x272463[_0x43de6f(0x178)](String,_0x17ae80)[_0x43de6f(0xfa)](0x2,'0'),'ParameterValue':_0x3a2e78[_0x43de6f(0x15c)]}),_0x17ae80+=0x1;});}const {StackId:_0xfcabf0}=await _0x16712e[_0x2fbecf(0x12c)](new CreateStackCommand(_0x4b7f38));logger[_0x2fbecf(0x124)](_0x272463[_0x2fbecf(0x117)]);const _0x3c38e0={};_0x3c38e0[_0x2fbecf(0x128)]=_0x16712e,_0x3c38e0[_0x2fbecf(0x102)]=0x708;const _0x49fe9a={};_0x49fe9a[_0x2fbecf(0x167)]=_0xfcabf0,await _0x272463[_0x2fbecf(0xfb)](waitUntilStackCreateComplete,_0x3c38e0,_0x49fe9a);const _0x28fb17={};return _0x28fb17[_0x2fbecf(0x167)]=_0xfcabf0,_0x16712e[_0x2fbecf(0x12c)](new DescribeStacksCommand(_0x28fb17));};
1
+ function a27_0x5e0f(_0xc28b9d,_0x8966d3){const _0x4a50dc=a27_0x4a50();return a27_0x5e0f=function(_0x5e0fb1,_0x3333f8){_0x5e0fb1=_0x5e0fb1-0x74;let _0x2ef5f0=_0x4a50dc[_0x5e0fb1];return _0x2ef5f0;},a27_0x5e0f(_0xc28b9d,_0x8966d3);}function a27_0x4a50(){const _0x1ae6a3=['gciav','PYqkh','JNFeP','LndLi','join','jJCUL','dbvOR','SAnod','4934943flSMha','ParameterGroups','GUeSr','NodeImageId','rrbOe','ZhDYM','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','KAQAs','zWkVm','ClusterAutoUpgrade','s3-create.yaml','qfBHZ','iuhCk','iwUFo','Metadata','CTOPB','DyWEp','cntkR','VpcBlock','Subnet','Fn::Join','pLxTG','js-yaml-cloudformation-schema','bGwGX','Subnet03','alTin','js-yaml','toString','qwaYP','mFiwV','HjWwd','NodeGroupNameWindows','DELETE','2QysbSV','load','instanceType','DLTpA','qeOus','padStart','mTNJV','WjskU','YUojt','YOQDu','puFcf','s3Bucket','NodeGroupName','Subnet03Block','488IswMgT','QVdnJ','NodeGroup','TZKiZ','JblMJ','teBfp','6486tRAhge','ParameterValue','lmgIA','thjgY','JPAjF','ResourcesVpcConfig','../config/constants','@aws-sdk/client-cloudformation','Parameters','2593320puaogy','S3BucketName','Subnet02Block','readFileAsync','Subnet01Block','vXLOy','StackName','635GpJrgf','GekCq','value','vpc-import.yaml','SPIVZ','15644020fjLozy','vSYhK','TwQnF','DependsOn','KXlLM','subnet-create.yaml','Tags','send','IJZup','HqsPk','push','Subnet02','Subnet01','Value','ZElrl','aws-eks-cluster-dep.yaml','Gjxhm','dghAG','auvQP','1458708BloLOg','qGZfb','NodeAutoScalingGroupMinSizeWindows','utjqH','true','dasVo','AWS::CloudFormation::Interface','client','ParameterKey','browserstack:creationDate','forEach','TUNhO','NodeGroupWindows','subnet-import.yaml','Key','skBnA','DNruv','vPDQM','UlADp','valueOf','vpc-create.yaml','OnFailure','FXaXS','PJxRf','VSTwP','EEZZm','VPC','split','toBsA','GcXdY','AdIbp','Ref','ClusterName','schema','jICJU','kzOxJ','KOcPe','WroZA','eIAYF','Resources','osMxQ','AHBtk','QMDZP','RsxLM','./AWSUtils','QqGas','fyPjk','dbXiy','tOeuT','yIiQP','HoMCv','sNqGc','NodeAutoScalingGroupDesiredSizeWindows','yCBMy','VgetK','keys','EJNmG','lTBbQ','329717dYanlb','EKSCluster','Properties','xcYHV','SubnetIds','Subnets','uodDn','CPNGP','-NodeGroup','aCpNN','NSJlx','4|2|3|1|5|0','3633FylySx','utf-8','zbFaT','ZfTXm','IUOWP','bluebird','gFvYb','XDYtu','browserstack:cluster','CFTemplates','stringify','maxWaitTime','wzCjO','Outputs','ZRYau','-Windows-NodeGroup','CAPABILITY_NAMED_IAM','Hjzfb','TemplateBody'];a27_0x4a50=function(){return _0x1ae6a3;};return a27_0x4a50();}const a27_0x1cb60f=a27_0x5e0f;(function(_0x254a71,_0x34fcfb){const _0x34e8b8=a27_0x5e0f,_0x42aece=_0x254a71();while(!![]){try{const _0x5938a8=-parseInt(_0x34e8b8(0x100))/0x1*(parseInt(_0x34e8b8(0x8a))/0x2)+parseInt(_0x34e8b8(0xc6))/0x3+-parseInt(_0x34e8b8(0x98))/0x4*(-parseInt(_0x34e8b8(0xae))/0x5)+-parseInt(_0x34e8b8(0x9e))/0x6*(parseInt(_0x34e8b8(0x10c))/0x7)+-parseInt(_0x34e8b8(0xa7))/0x8+-parseInt(_0x34e8b8(0x127))/0x9+parseInt(_0x34e8b8(0xb3))/0xa;if(_0x5938a8===_0x34fcfb)break;else _0x42aece['push'](_0x42aece['shift']());}catch(_0x31289d){_0x42aece['push'](_0x42aece['shift']());}}}(a27_0x4a50,0x49f24));const fs=require('fs'),path=require('path'),Promise=require(a27_0x1cb60f(0x111)),yaml=require(a27_0x1cb60f(0x83)),{CLOUDFORMATION_SCHEMA}=require(a27_0x1cb60f(0x7f)),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require(a27_0x1cb60f(0xa5)),{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x1cb60f(0xa4)),{logger}=require('../config/logger'),{isBucketPresent,getAwsConfig}=require(a27_0x1cb60f(0xf2));Promise['promisifyAll'](fs);const mergeTemplates=(_0x17399b,_0x1428cb)=>{const _0x21a3f8=a27_0x1cb60f,_0xa36801={};_0xa36801[_0x21a3f8(0xf4)]=function(_0xea8e71,_0x15b543){return _0xea8e71===_0x15b543;},_0xa36801[_0x21a3f8(0xac)]=_0x21a3f8(0x90),_0xa36801[_0x21a3f8(0x11a)]='VPC',_0xa36801['DNruv']=function(_0x4b1818,_0x3d86d1){return _0x4b1818===_0x3d86d1;},_0xa36801['Hjzfb']=_0x21a3f8(0xd8);const _0x3db6f0=_0xa36801;Object[_0x21a3f8(0xfd)](_0x1428cb)[_0x21a3f8(0xd0)](_0x9f06f0=>{const _0x40e8ac=_0x21a3f8,_0x16b289={'GUeSr':function(_0x8c98c,_0x37368c){const _0x2fc459=a27_0x5e0f;return _0x3db6f0[_0x2fc459(0xf4)](_0x8c98c,_0x37368c);},'SPIVZ':_0x3db6f0[_0x40e8ac(0xac)],'TwQnF':_0x3db6f0[_0x40e8ac(0x11a)]};if(_0x3db6f0[_0x40e8ac(0xd6)](_0x3db6f0[_0x40e8ac(0x11d)],_0x3db6f0[_0x40e8ac(0x11d)])){var _0x1f09a3=_0x1428cb[_0x9f06f0];Object[_0x40e8ac(0xfd)](_0x1f09a3)['forEach'](_0x2df78e=>{const _0x5cb67b=_0x40e8ac;_0x16b289[_0x5cb67b(0x129)](_0x16b289[_0x5cb67b(0xb2)],_0x16b289[_0x5cb67b(0xb2)])?_0x17399b[_0x9f06f0][_0x2df78e]=_0x1f09a3[_0x2df78e]:_0x442d81[_0x5cb67b(0xfd)](_0x5631a1)[_0x5cb67b(0xd0)](_0x259615=>{var _0x1102c0=_0x53cc1e[_0x259615];_0x550ad6['keys'](_0x1102c0)['forEach'](_0x17831f=>{_0x287244[_0x259615][_0x17831f]=_0x1102c0[_0x17831f];});});});}else{const _0x158b12={};_0x158b12[_0x40e8ac(0xce)]=_0x16b289[_0x40e8ac(0xb5)],_0x158b12[_0x40e8ac(0x9f)]=_0x163450,_0x2dfee6['Parameters'][_0x40e8ac(0xbd)](_0x158b12);}});},addVPCData=async(_0x32d44b,_0x545339)=>{const _0x1ac4e5=a27_0x1cb60f,_0x46ae6c={'TUNhO':_0x1ac4e5(0x10b),'IUOWP':function(_0x738ea,_0x80b57e){return _0x738ea(_0x80b57e);},'PYqkh':_0x1ac4e5(0xcc),'sNqGc':function(_0x1a2486,_0x55d2f8){return _0x1a2486(_0x55d2f8);},'HjWwd':_0x1ac4e5(0x7d),'JHaBe':function(_0x1394a7,_0x15d398){return _0x1394a7(_0x15d398);},'dbvOR':function(_0x297a88,_0xaa90b4){return _0x297a88===_0xaa90b4;},'kzOxJ':_0x1ac4e5(0x9d),'LndLi':_0x1ac4e5(0x115),'ojtXf':_0x1ac4e5(0xb1),'VgetK':'utf-8','OiCtB':function(_0x5a55b9,_0xb5b74a,_0x1ddd62){return _0x5a55b9(_0xb5b74a,_0x1ddd62);},'zVqOU':_0x1ac4e5(0xe0),'ECTkB':function(_0x3699f1,_0xef10fd){return _0x3699f1!==_0xef10fd;},'bGwGX':_0x1ac4e5(0xe8),'rcxJp':_0x1ac4e5(0x79),'mFiwV':_0x1ac4e5(0xda),'alTin':function(_0x19d0e3,_0x2f5c20,_0x2e9d4a){return _0x19d0e3(_0x2f5c20,_0x2e9d4a);},'uEzdR':_0x1ac4e5(0x7b)};if(_0x545339){if(_0x46ae6c[_0x1ac4e5(0x125)](_0x46ae6c[_0x1ac4e5(0xe9)],_0x46ae6c['kzOxJ'])){const _0x59f6fb=await fs[_0x1ac4e5(0xaa)](path['join'](__dirname,'..',_0x46ae6c['LndLi'],_0x46ae6c['ojtXf']),_0x46ae6c[_0x1ac4e5(0xfc)]),_0x2a800b={};_0x2a800b[_0x1ac4e5(0xe7)]=CLOUDFORMATION_SCHEMA;const _0x1b2386=yaml[_0x1ac4e5(0x8b)](_0x59f6fb,_0x2a800b);_0x46ae6c['OiCtB'](mergeTemplates,_0x32d44b,_0x1b2386),_0x32d44b[_0x1ac4e5(0x77)][_0x46ae6c['PYqkh']][_0x1ac4e5(0x128)][0x0][_0x1ac4e5(0xa6)][_0x1ac4e5(0xbd)](_0x46ae6c['zVqOU']);}else{const _0x10fe48=_0x46ae6c[_0x1ac4e5(0xd1)]['split']('|');let _0x130925=0x0;while(!![]){switch(_0x10fe48[_0x130925++]){case'0':_0x4381cb+=0x1;continue;case'1':_0x19e062[_0x1ac4e5(0xed)][_0x1ac4e5(0xd2)]['Properties'][_0x1ac4e5(0x105)]['push']({'Ref':'Subnet'+_0x46ae6c[_0x1ac4e5(0x110)](_0x5ba397,_0x2d209d)['padStart'](0x2,'0')});continue;case'2':_0x195ec7[_0x1ac4e5(0x77)][_0x46ae6c[_0x1ac4e5(0x120)]][_0x1ac4e5(0x128)][0x0][_0x1ac4e5(0xa6)][_0x1ac4e5(0xbd)](_0x1ac4e5(0x7c)+_0x46ae6c[_0x1ac4e5(0xf9)](_0xc6e7e4,_0xd10ba9)[_0x1ac4e5(0x8f)](0x2,'0'));continue;case'3':_0x747e1b[_0x1ac4e5(0xed)][_0x1ac4e5(0x9a)][_0x1ac4e5(0x102)][_0x1ac4e5(0x105)][_0x1ac4e5(0xbd)]({'Ref':'Subnet'+_0x46ae6c['sNqGc'](_0x4065d4,_0x2b7e9e)[_0x1ac4e5(0x8f)](0x2,'0')});continue;case'4':_0x423b53[_0x1ac4e5(0xed)][_0x1ac4e5(0x101)][_0x1ac4e5(0x102)][_0x1ac4e5(0xa3)][_0x1ac4e5(0x104)]['push']({'Ref':_0x1ac4e5(0x7c)+_0x46ae6c[_0x1ac4e5(0x110)](_0x2d9fa0,_0x18421a)[_0x1ac4e5(0x8f)](0x2,'0')});continue;case'5':_0x268b10[_0x1ac4e5(0x119)][_0x1ac4e5(0x104)]['Value'][_0x46ae6c[_0x1ac4e5(0x87)]][0x1]['push']({'Ref':_0x1ac4e5(0x7c)+_0x46ae6c['JHaBe'](_0x2a324d,_0x1f4313)[_0x1ac4e5(0x8f)](0x2,'0')});continue;}break;}}}else{if(_0x46ae6c['ECTkB'](_0x46ae6c[_0x1ac4e5(0x80)],_0x46ae6c['rcxJp'])){const _0x10f93d=await fs['readFileAsync'](path[_0x1ac4e5(0x123)](__dirname,'..',_0x46ae6c[_0x1ac4e5(0x122)],_0x46ae6c[_0x1ac4e5(0x86)]),_0x46ae6c['VgetK']),_0x55ca73={};_0x55ca73['schema']=CLOUDFORMATION_SCHEMA;const _0x1123a4=yaml[_0x1ac4e5(0x8b)](_0x10f93d,_0x55ca73);_0x46ae6c[_0x1ac4e5(0x82)](mergeTemplates,_0x32d44b,_0x1123a4),_0x32d44b[_0x1ac4e5(0x77)][_0x46ae6c['PYqkh']][_0x1ac4e5(0x128)][0x0]['Parameters'][_0x1ac4e5(0xbd)](_0x46ae6c['uEzdR']);}else{let _0x364ced=0x1;_0x266534[_0x1ac4e5(0xd0)](_0xf99209=>{const _0x3c8c4f=_0x1ac4e5;_0x73a269[_0x3c8c4f(0xa6)][_0x3c8c4f(0xbd)]({'ParameterKey':'Subnet'+_0x46ae6c[_0x3c8c4f(0x110)](_0x43cfd8,_0x364ced)[_0x3c8c4f(0x8f)](0x2,'0'),'ParameterValue':_0xf99209[_0x3c8c4f(0xb0)]}),_0x364ced+=0x1;});}}},addS3Data=async _0x13445d=>{const _0x10e5e2=a27_0x1cb60f,_0x44a7b4={'UCwew':_0x10e5e2(0x115),'iwUFo':_0x10e5e2(0x131),'aGnKv':'utf-8','CgXCm':function(_0x1abee2,_0x58641f){return _0x1abee2(_0x58641f);},'GcXdY':function(_0x16d8f7,_0x324a01){return _0x16d8f7===_0x324a01;},'vSYhK':function(_0x55738a,_0x5b98d6){return _0x55738a!==_0x5b98d6;},'utjqH':_0x10e5e2(0x10f),'ShCXf':function(_0x54afe4,_0x5e6835,_0x48ac23){return _0x54afe4(_0x5e6835,_0x48ac23);}},_0x179f33=await fs['readFileAsync'](path['join'](__dirname,'..',_0x44a7b4['UCwew'],_0x44a7b4[_0x10e5e2(0x76)]),_0x44a7b4['aGnKv']),_0x3c8785={};_0x3c8785['schema']=CLOUDFORMATION_SCHEMA;const _0x15195e=yaml[_0x10e5e2(0x8b)](_0x179f33,_0x3c8785),_0x46582a=await _0x44a7b4['CgXCm'](isBucketPresent,global_registry[_0x10e5e2(0x95)]);_0x44a7b4[_0x10e5e2(0xe3)](_0x46582a,![])&&(_0x44a7b4[_0x10e5e2(0xb4)](_0x44a7b4[_0x10e5e2(0xc9)],_0x44a7b4[_0x10e5e2(0xc9)])?_0x357ab3[_0x251384['Key']]=_0x4f9fb1[_0x10e5e2(0xc0)]:_0x44a7b4['ShCXf'](mergeTemplates,_0x13445d,_0x15195e));},addSubnetData=async(_0x8c84fb,_0x7a1aa9)=>{const _0x1d98da=a27_0x1cb60f,_0x47fe8c={'thjgY':function(_0x336e3a,_0x1a5c41,_0x11a30a){return _0x336e3a(_0x1a5c41,_0x11a30a);},'JPAjF':function(_0x3ccb61,_0xba8a20){return _0x3ccb61(_0xba8a20);},'eIAYF':function(_0x54c93b,_0x5ef325){return _0x54c93b===_0x5ef325;},'XDYtu':_0x1d98da(0xf3),'zbFaT':'4|5|1|3|2|0','JblMJ':function(_0x42134b,_0x20d6b3){return _0x42134b(_0x20d6b3);},'qwaYP':'Fn::Join','IJZup':function(_0x3a46b5,_0x4c5d3f){return _0x3a46b5(_0x4c5d3f);},'EEZZm':function(_0x351e16,_0x2c248a){return _0x351e16(_0x2c248a);},'CPNGP':'AWS::CloudFormation::Interface','gaQqG':function(_0xf3a7f1,_0x2fa36a){return _0xf3a7f1===_0x2fa36a;},'LbJlU':_0x1d98da(0x121),'dasVo':'wKeVf','dghAG':_0x1d98da(0x115),'JBgyn':_0x1d98da(0xd3),'VSTwP':_0x1d98da(0x10d),'lTBbQ':function(_0x40a5ad,_0x67b0fe){return _0x40a5ad===_0x67b0fe;},'HoMCv':_0x1d98da(0xd5),'FXaXS':_0x1d98da(0xfe),'TZKiZ':_0x1d98da(0xb8),'wabWS':function(_0xa5e150,_0x345100,_0x58eeae){return _0xa5e150(_0x345100,_0x58eeae);},'dbXiy':_0x1d98da(0xbf),'QVdnJ':_0x1d98da(0xbe),'lmgIA':_0x1d98da(0x81),'Ophfm':_0x1d98da(0xab),'osMxQ':_0x1d98da(0xa9),'YOQDu':_0x1d98da(0x97)};if(_0x7a1aa9){if(_0x47fe8c['gaQqG'](_0x47fe8c['LbJlU'],_0x47fe8c[_0x1d98da(0xcb)]))_0x47fe8c[_0x1d98da(0xa1)](_0x4015e3,_0x32a50c,_0x2f3161);else{const _0x178039=await fs[_0x1d98da(0xaa)](path[_0x1d98da(0x123)](__dirname,'..',_0x47fe8c[_0x1d98da(0xc4)],_0x47fe8c['JBgyn']),_0x47fe8c[_0x1d98da(0xde)]),_0xcff170={};_0xcff170[_0x1d98da(0xe7)]=CLOUDFORMATION_SCHEMA;const _0x282cdc=yaml['load'](_0x178039,_0xcff170);_0x47fe8c['thjgY'](mergeTemplates,_0x8c84fb,_0x282cdc);let _0x34ef23=0x1;_0x7a1aa9[_0x1d98da(0xd0)](_0x4d15f7=>{const _0x51c9e8=_0x1d98da;if(_0x47fe8c[_0x51c9e8(0xec)](_0x47fe8c[_0x51c9e8(0x113)],_0x47fe8c[_0x51c9e8(0x113)])){const _0x3ee68f=_0x47fe8c[_0x51c9e8(0x10e)][_0x51c9e8(0xe1)]('|');let _0x46f1b0=0x0;while(!![]){switch(_0x3ee68f[_0x46f1b0++]){case'0':_0x34ef23+=0x1;continue;case'1':_0x8c84fb[_0x51c9e8(0xed)]['NodeGroup'][_0x51c9e8(0x102)][_0x51c9e8(0x105)][_0x51c9e8(0xbd)]({'Ref':_0x51c9e8(0x7c)+_0x47fe8c[_0x51c9e8(0x9c)](String,_0x34ef23)[_0x51c9e8(0x8f)](0x2,'0')});continue;case'2':_0x8c84fb['Outputs'][_0x51c9e8(0x104)][_0x51c9e8(0xc0)][_0x47fe8c[_0x51c9e8(0x85)]][0x1][_0x51c9e8(0xbd)]({'Ref':_0x51c9e8(0x7c)+_0x47fe8c[_0x51c9e8(0xbb)](String,_0x34ef23)[_0x51c9e8(0x8f)](0x2,'0')});continue;case'3':_0x8c84fb[_0x51c9e8(0xed)][_0x51c9e8(0xd2)][_0x51c9e8(0x102)][_0x51c9e8(0x105)][_0x51c9e8(0xbd)]({'Ref':'Subnet'+_0x47fe8c[_0x51c9e8(0xdf)](String,_0x34ef23)['padStart'](0x2,'0')});continue;case'4':_0x8c84fb[_0x51c9e8(0xed)]['EKSCluster'][_0x51c9e8(0x102)][_0x51c9e8(0xa3)][_0x51c9e8(0x104)][_0x51c9e8(0xbd)]({'Ref':_0x51c9e8(0x7c)+_0x47fe8c['IJZup'](String,_0x34ef23)['padStart'](0x2,'0')});continue;case'5':_0x8c84fb['Metadata'][_0x47fe8c[_0x51c9e8(0x107)]][_0x51c9e8(0x128)][0x0][_0x51c9e8(0xa6)][_0x51c9e8(0xbd)](_0x51c9e8(0x7c)+_0x47fe8c[_0x51c9e8(0xa2)](String,_0x34ef23)[_0x51c9e8(0x8f)](0x2,'0'));continue;}break;}}else _0x251fa9['Parameters'][_0x51c9e8(0xbd)]({'ParameterKey':_0x51c9e8(0x7c)+_0x47fe8c[_0x51c9e8(0xa2)](_0x97c962,_0x5a37a5)[_0x51c9e8(0x8f)](0x2,'0'),'ParameterValue':_0x56aa0e[_0x51c9e8(0xb0)]}),_0x1f8e9d+=0x1;});}}else{if(_0x47fe8c[_0x1d98da(0xff)](_0x47fe8c[_0x1d98da(0xf8)],_0x47fe8c[_0x1d98da(0xdc)]))_0x2bc265[_0x50cd04][_0x2422a1]=_0x4f0335[_0x3c9e29];else{const _0x2e1c7b=await fs['readFileAsync'](path[_0x1d98da(0x123)](__dirname,'..',_0x47fe8c['dghAG'],_0x47fe8c[_0x1d98da(0x9b)]),_0x47fe8c[_0x1d98da(0xde)]),_0x4b3c4f={};_0x4b3c4f[_0x1d98da(0xe7)]=CLOUDFORMATION_SCHEMA;const _0x6977d9=yaml[_0x1d98da(0x8b)](_0x2e1c7b,_0x4b3c4f);_0x47fe8c['wabWS'](mergeTemplates,_0x8c84fb,_0x6977d9),_0x8c84fb['Resources'][_0x1d98da(0x101)][_0x1d98da(0xb6)][_0x1d98da(0xbd)](_0x47fe8c[_0x1d98da(0xf5)],_0x47fe8c[_0x1d98da(0x99)],_0x47fe8c[_0x1d98da(0xa0)]);const _0x2a8f12={};_0x2a8f12[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0xf5)];const _0x5aba9c={};_0x5aba9c[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0x99)];const _0x1bc3b7={};_0x1bc3b7['Ref']=_0x47fe8c[_0x1d98da(0xa0)],_0x8c84fb[_0x1d98da(0xed)][_0x1d98da(0x101)]['Properties'][_0x1d98da(0xa3)][_0x1d98da(0x104)]=[_0x2a8f12,_0x5aba9c,_0x1bc3b7],_0x8c84fb['Metadata'][_0x47fe8c[_0x1d98da(0x107)]][_0x1d98da(0x128)][0x0]['Parameters'][_0x1d98da(0xbd)](_0x47fe8c['Ophfm'],_0x47fe8c[_0x1d98da(0xee)],_0x47fe8c[_0x1d98da(0x93)]);const _0x59549a={};_0x59549a[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0xf5)];const _0x2e97f1={};_0x2e97f1[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0x99)];const _0x2a6b2b={};_0x2a6b2b[_0x1d98da(0xe5)]=_0x47fe8c['lmgIA'],_0x8c84fb[_0x1d98da(0xed)][_0x1d98da(0x9a)]['Properties'][_0x1d98da(0x105)]=[_0x59549a,_0x2e97f1,_0x2a6b2b];const _0x322281={};_0x322281['Ref']=_0x47fe8c[_0x1d98da(0xf5)];const _0x21f8b5={};_0x21f8b5[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0x99)];const _0x5f0e91={};_0x5f0e91[_0x1d98da(0xe5)]=_0x47fe8c[_0x1d98da(0xa0)],_0x8c84fb[_0x1d98da(0xed)]['NodeGroupWindows']['Properties'][_0x1d98da(0x105)]=[_0x322281,_0x21f8b5,_0x5f0e91],_0x8c84fb[_0x1d98da(0x119)]['SubnetIds'][_0x1d98da(0xc0)][_0x47fe8c['qwaYP']][0x1]=[{'Ref':_0x47fe8c[_0x1d98da(0xf5)]},{'Ref':_0x47fe8c['QVdnJ']},{'Ref':_0x47fe8c['lmgIA']}];}}},addTags=async(_0x1458c7,_0xb9dafa,_0x2731fc)=>{const _0x29a4ba=a27_0x1cb60f,_0x574b3b={};_0x574b3b['YUojt']='NodeGroup',_0x574b3b[_0x29a4ba(0x7e)]=_0x29a4ba(0xd2),_0x574b3b[_0x29a4ba(0xc5)]=function(_0x44936c,_0x54abc3){return _0x44936c===_0x54abc3;},_0x574b3b['rrbOe']=_0x29a4ba(0xf0),_0x574b3b['tOeuT']=_0x29a4ba(0x75),_0x574b3b['gciav']=_0x29a4ba(0xef),_0x574b3b[_0x29a4ba(0x112)]=_0x29a4ba(0xd7),_0x574b3b[_0x29a4ba(0x126)]=function(_0xa00184,_0x397244){return _0xa00184===_0x397244;},_0x574b3b['AdIbp']='jlnbe',_0x574b3b['iyzIp']='Donze';const _0x143dae=_0x574b3b;for(const _0x304e88 in _0x1458c7['Resources']){_0x143dae['auvQP'](_0x143dae[_0x29a4ba(0x11f)],_0x143dae['gFvYb'])?_0x202a7e[_0x29a4ba(0xed)][_0x1f965e]['Properties'][_0x29a4ba(0xb9)][_0x29a4ba(0xbd)](..._0x58f064):_0x1458c7['Resources'][_0x304e88][_0x29a4ba(0x102)]&&_0x1458c7[_0x29a4ba(0xed)][_0x304e88][_0x29a4ba(0x102)]['Tags']&&(_0x143dae['SAnod'](_0x143dae[_0x29a4ba(0xe4)],_0x143dae['iyzIp'])?_0x45bebb['Resources'][_0x41b54c][_0x29a4ba(0x102)]&&_0x8fdd72['Resources'][_0x165d14][_0x29a4ba(0x102)][_0x29a4ba(0xb9)]&&_0x51eedd[_0x29a4ba(0xed)][_0x3be2c8][_0x29a4ba(0x102)][_0x29a4ba(0xb9)][_0x29a4ba(0xbd)](..._0x73bdfa):_0x1458c7[_0x29a4ba(0xed)][_0x304e88][_0x29a4ba(0x102)][_0x29a4ba(0xb9)][_0x29a4ba(0xbd)](..._0x2731fc));}const _0x43b0d6={};_0x2731fc['forEach'](_0xc7cfc1=>{const _0x32c0fb=_0x29a4ba,_0xc72d7b={};_0xc72d7b[_0x32c0fb(0x10a)]=_0x143dae[_0x32c0fb(0x92)],_0xc72d7b['yIiQP']=_0x143dae[_0x32c0fb(0x7e)];const _0x597639=_0xc72d7b;if(_0x143dae['auvQP'](_0x143dae[_0x32c0fb(0x12b)],_0x143dae[_0x32c0fb(0xf6)])){for(const _0x35db48 in _0x41f640[_0x32c0fb(0xed)]){_0x21b7da['Resources'][_0x35db48]['Properties']&&_0x1404c3[_0x32c0fb(0xed)][_0x35db48]['Properties'][_0x32c0fb(0xb9)]&&_0x3478b6[_0x32c0fb(0xed)][_0x35db48][_0x32c0fb(0x102)][_0x32c0fb(0xb9)]['push'](..._0x48de4f);}const _0x309627={};_0x47dfe8['forEach'](_0x367d7e=>{const _0x9eb7e6=_0x32c0fb;_0x309627[_0x367d7e[_0x9eb7e6(0xd4)]]=_0x367d7e['Value'];}),_0x2c9be0[_0x32c0fb(0xed)][_0x597639['NSJlx']][_0x32c0fb(0x102)][_0x32c0fb(0xb9)]=_0x309627,_0x2b7ece['Resources'][_0x597639[_0x32c0fb(0xf7)]][_0x32c0fb(0x102)][_0x32c0fb(0xb9)]=_0x309627;}else _0x43b0d6[_0xc7cfc1[_0x32c0fb(0xd4)]]=_0xc7cfc1['Value'];}),_0x1458c7[_0x29a4ba(0xed)][_0x143dae['YUojt']][_0x29a4ba(0x102)]['Tags']=_0x43b0d6,_0x1458c7[_0x29a4ba(0xed)][_0x143dae[_0x29a4ba(0x7e)]][_0x29a4ba(0x102)][_0x29a4ba(0xb9)]=_0x43b0d6;};exports['createClusterStack']=async(_0x54c945,_0x42271d,_0x4f46a4,_0x5358f1=null,_0x5e5c79=null,_0x5e2ec5)=>{const _0xca1bbb=a27_0x1cb60f,_0x7cb0e3={'zWkVm':function(_0x45c85e,_0x3df7ac){return _0x45c85e(_0x3df7ac);},'zkjJO':_0xca1bbb(0x114),'wzCjO':_0xca1bbb(0xcf),'rYFgd':function(_0x10a109){return _0x10a109();},'aCpNN':_0xca1bbb(0x115),'puFcf':_0xca1bbb(0xc2),'PSObA':_0xca1bbb(0x10d),'cntkR':function(_0x30c3ae,_0x2abf6d,_0x136b44){return _0x30c3ae(_0x2abf6d,_0x136b44);},'toBsA':function(_0x48a505,_0x11325b,_0x3b9833){return _0x48a505(_0x11325b,_0x3b9833);},'CTOPB':function(_0x57a9f9,_0x4612d3,_0x4c5b2e,_0x488f6c){return _0x57a9f9(_0x4612d3,_0x4c5b2e,_0x488f6c);},'ZElrl':_0xca1bbb(0x89),'qGZfb':_0xca1bbb(0xe6),'PJxRf':_0xca1bbb(0x96),'cYbvm':'NodeAutoScalingGroupMinSize','KXlLM':_0xca1bbb(0xc8),'WroZA':_0xca1bbb(0xfa),'qfBHZ':'NodeAutoScalingGroupMaxSize','xCajq':_0xca1bbb(0x12a),'Gjxhm':'NodeInstanceType','RsxLM':_0xca1bbb(0xa8),'izEjw':_0xca1bbb(0x88),'WjskU':_0xca1bbb(0x130),'KOcPe':_0xca1bbb(0xca),'QugTq':'false','FSxLI':_0xca1bbb(0x11c),'DLTpA':function(_0x376267,_0x47468c){return _0x376267!=_0x47468c;},'xcYHV':function(_0x57d189,_0x3ff6a3){return _0x57d189!==_0x3ff6a3;},'ZhDYM':function(_0x20b3a6,_0x58e127){return _0x20b3a6!==_0x58e127;},'KAQAs':_0xca1bbb(0x124),'HqsPk':'AIfks','uodDn':_0xca1bbb(0xe0),'yCBMy':function(_0x47c193,_0x492c9a){return _0x47c193!=_0x492c9a;},'qeOus':function(_0x464303,_0x88ddc7){return _0x464303!==_0x88ddc7;},'GekCq':_0xca1bbb(0x12d)},_0x1898f9=COMMON_HST_TAGS,_0x589285={};_0x589285[_0xca1bbb(0xd4)]=_0x7cb0e3['zkjJO'],_0x589285[_0xca1bbb(0xc0)]=_0x54c945,_0x1898f9[_0xca1bbb(0xbd)](_0x589285),_0x1898f9[_0xca1bbb(0xbd)]({'Key':_0x7cb0e3[_0xca1bbb(0x118)],'Value':new Date()[_0xca1bbb(0xd9)]()[_0xca1bbb(0x84)]()});const _0x5ec572=new CloudFormationClient(_0x7cb0e3['rYFgd'](getAwsConfig)),_0x15e949=await fs['readFileAsync'](path['join'](__dirname,'..',_0x7cb0e3[_0xca1bbb(0x109)],_0x7cb0e3[_0xca1bbb(0x94)]),_0x7cb0e3['PSObA']),_0x6602ab={};_0x6602ab[_0xca1bbb(0xe7)]=CLOUDFORMATION_SCHEMA;const _0x47cc02=yaml[_0xca1bbb(0x8b)](_0x15e949,_0x6602ab);await _0x7cb0e3[_0xca1bbb(0x7a)](addVPCData,_0x47cc02,_0x5358f1),await _0x7cb0e3['zWkVm'](addS3Data,_0x47cc02),await _0x7cb0e3[_0xca1bbb(0xe2)](addSubnetData,_0x47cc02,_0x5e5c79),await _0x7cb0e3[_0xca1bbb(0x78)](addTags,_0x47cc02,_0x54c945,_0x1898f9);const _0x4fa211=JSON[_0xca1bbb(0x116)](_0x47cc02),_0x371f3f={};_0x371f3f[_0xca1bbb(0xad)]=CLUSTER_DEP_STACK_NAME+'-'+_0x54c945,_0x371f3f[_0xca1bbb(0xdb)]=_0x7cb0e3[_0xca1bbb(0xc1)],_0x371f3f[_0xca1bbb(0x11e)]=_0x4fa211,_0x371f3f[_0xca1bbb(0xa6)]=[{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xc7)],'ParameterValue':_0x54c945},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xdd)],'ParameterValue':_0x54c945+_0xca1bbb(0x108)},{'ParameterKey':_0x7cb0e3['cYbvm'],'ParameterValue':''+_0x42271d},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xb7)],'ParameterValue':'0'},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xeb)],'ParameterValue':'1'},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0x74)],'ParameterValue':''+_0x4f46a4},{'ParameterKey':_0x7cb0e3['xCajq'],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xc3)],'ParameterValue':global_registry[_0xca1bbb(0x8c)]},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0xf1)],'ParameterValue':global_registry[_0xca1bbb(0x95)]},{'ParameterKey':_0x7cb0e3['izEjw'],'ParameterValue':_0x54c945+_0xca1bbb(0x11b)},{'ParameterKey':_0x7cb0e3[_0xca1bbb(0x91)],'ParameterValue':_0x5e2ec5?_0x7cb0e3[_0xca1bbb(0xea)]:_0x7cb0e3['QugTq']}],_0x371f3f['Capabilities']=[_0x7cb0e3['FSxLI']],_0x371f3f[_0xca1bbb(0xb9)]=_0x1898f9;const _0x12ab6d=_0x371f3f;if(_0x7cb0e3[_0xca1bbb(0x8d)](_0x5358f1,null)&&_0x7cb0e3[_0xca1bbb(0x103)](_0x5358f1,undefined)){if(_0x7cb0e3[_0xca1bbb(0x12c)](_0x7cb0e3[_0xca1bbb(0x12e)],_0x7cb0e3[_0xca1bbb(0xbc)])){const _0x22d88b={};_0x22d88b['ParameterKey']=_0x7cb0e3[_0xca1bbb(0x106)],_0x22d88b[_0xca1bbb(0x9f)]=_0x5358f1,_0x12ab6d[_0xca1bbb(0xa6)][_0xca1bbb(0xbd)](_0x22d88b);}else{var _0x5c49a7=_0x587e6c[_0x221a50];_0xc09c8f[_0xca1bbb(0xfd)](_0x5c49a7)[_0xca1bbb(0xd0)](_0x387832=>{_0x3d2cf2[_0x3fb5e7][_0x387832]=_0x5c49a7[_0x387832];});}}if(_0x7cb0e3[_0xca1bbb(0xfb)](_0x5e5c79,null)&&_0x7cb0e3[_0xca1bbb(0x8e)](_0x5e5c79,undefined)){let _0xa6894a=0x1;_0x5e5c79[_0xca1bbb(0xd0)](_0x29607c=>{const _0x757505=_0xca1bbb;_0x12ab6d[_0x757505(0xa6)][_0x757505(0xbd)]({'ParameterKey':_0x757505(0x7c)+_0x7cb0e3[_0x757505(0x12f)](String,_0xa6894a)[_0x757505(0x8f)](0x2,'0'),'ParameterValue':_0x29607c[_0x757505(0xb0)]}),_0xa6894a+=0x1;});}const {StackId:_0x40242d}=await _0x5ec572[_0xca1bbb(0xba)](new CreateStackCommand(_0x12ab6d));logger['debug'](_0x7cb0e3[_0xca1bbb(0xaf)]);const _0x4b07d7={};_0x4b07d7[_0xca1bbb(0xcd)]=_0x5ec572,_0x4b07d7[_0xca1bbb(0x117)]=0x708;const _0x4241a9={};_0x4241a9[_0xca1bbb(0xad)]=_0x40242d,await _0x7cb0e3[_0xca1bbb(0x7a)](waitUntilStackCreateComplete,_0x4b07d7,_0x4241a9);const _0x4e7fce={};return _0x4e7fce[_0xca1bbb(0xad)]=_0x40242d,_0x5ec572[_0xca1bbb(0xba)](new DescribeStacksCommand(_0x4e7fce));};
@@ -1 +1 @@
1
- function a28_0x2ba9(){const _0x523f7b=['../config/logger','load','getOidcUrl','AKSYP','5581786zdoFCr','488952jJDgbA','OnFailure','4taujNG','GdkHM','hub-ha.yaml','Key','ClusterOIDCURL','2360COJqKD','browserstack:cluster','8899kalkQf','maxWaitTime','Capabilities','js-yaml-cloudformation-schema','OXVbW','client','browserstack:creationDate','js-yaml','Parameters','-cf','promisifyAll','ynxKr','rWNSy','path','@aws-sdk/client-cloudformation','3BTdukG','getAwsConfig','readFileAsync','valueOf','VwgPt','Resources','2730988nVVxLT','caHIY','Properties','StackName','send','VpcId','push','750165GagbNC','schema','split','../config/constants','Tags','://','494844CiLpVi','ZJomP','599273vGrsSJ','./AWSUtils','9qnmgmf','stringify','Value'];a28_0x2ba9=function(){return _0x523f7b;};return a28_0x2ba9();}const a28_0xc08c26=a28_0x41ea;function a28_0x41ea(_0x45c0e4,_0xc87f7c){const _0x2ba9bd=a28_0x2ba9();return a28_0x41ea=function(_0x41ea0e,_0x7b03c5){_0x41ea0e=_0x41ea0e-0x18c;let _0x38c15b=_0x2ba9bd[_0x41ea0e];return _0x38c15b;},a28_0x41ea(_0x45c0e4,_0xc87f7c);}(function(_0x4f8c1e,_0x3f4134){const _0x806ede=a28_0x41ea,_0x534e6d=_0x4f8c1e();while(!![]){try{const _0x32fac9=-parseInt(_0x806ede(0x198))/0x1*(parseInt(_0x806ede(0x1a4))/0x2)+parseInt(_0x806ede(0x1ba))/0x3*(parseInt(_0x806ede(0x1c0))/0x4)+parseInt(_0x806ede(0x190))/0x5+-parseInt(_0x806ede(0x196))/0x6+parseInt(_0x806ede(0x1a1))/0x7+-parseInt(_0x806ede(0x1a2))/0x8*(-parseInt(_0x806ede(0x19a))/0x9)+-parseInt(_0x806ede(0x1a9))/0xa*(-parseInt(_0x806ede(0x1ab))/0xb);if(_0x32fac9===_0x3f4134)break;else _0x534e6d['push'](_0x534e6d['shift']());}catch(_0x57330c){_0x534e6d['push'](_0x534e6d['shift']());}}}(a28_0x2ba9,0x92c71));const fs=require('fs'),path=require(a28_0xc08c26(0x1b8)),Promise=require('bluebird'),yaml=require(a28_0xc08c26(0x1b2)),{CLOUDFORMATION_SCHEMA}=require(a28_0xc08c26(0x1ae)),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require(a28_0xc08c26(0x1b9)),AWSUtils=require(a28_0xc08c26(0x199)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0xc08c26(0x193)),{logger}=require(a28_0xc08c26(0x19d));Promise[a28_0xc08c26(0x1b5)](fs);const addTags=async(_0x51ed,_0x59a98)=>{const _0xbe971b=a28_0xc08c26;for(const _0xb54dd4 in _0x51ed[_0xbe971b(0x1bf)]){_0x51ed[_0xbe971b(0x1bf)][_0xb54dd4][_0xbe971b(0x1c2)]&&_0x51ed[_0xbe971b(0x1bf)][_0xb54dd4][_0xbe971b(0x1c2)]['Tags']&&_0x51ed[_0xbe971b(0x1bf)][_0xb54dd4][_0xbe971b(0x1c2)][_0xbe971b(0x194)]['push'](..._0x59a98);}};exports['createHubHaStack']=async(_0x401401,_0x3fdf07=null)=>{const _0x25578f=a28_0xc08c26,_0x244ce5={'ynxKr':_0x25578f(0x1aa),'QGXNA':_0x25578f(0x1b1),'IUHbd':'CFTemplates','STfBm':_0x25578f(0x1a6),'ZJomP':'utf-8','rWNSy':function(_0xe1e845,_0x3e75f2,_0x2d7d9f){return _0xe1e845(_0x3e75f2,_0x2d7d9f);},'OXVbW':_0x25578f(0x195),'oQvgo':'DELETE','bDEfs':_0x25578f(0x18e),'VwgPt':'BaseResourceName','caHIY':_0x25578f(0x1a8),'AKSYP':'CAPABILITY_NAMED_IAM','GdkHM':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete'},_0x1380ff=COMMON_HST_TAGS,_0x486067={};_0x486067[_0x25578f(0x1a7)]=_0x244ce5[_0x25578f(0x1b6)],_0x486067[_0x25578f(0x19c)]=_0x401401,_0x1380ff[_0x25578f(0x18f)](_0x486067),_0x1380ff[_0x25578f(0x18f)]({'Key':_0x244ce5['QGXNA'],'Value':new Date()[_0x25578f(0x1bd)]()['toString']()});const _0x54667c=new CloudFormationClient(AWSUtils[_0x25578f(0x1bb)]()),_0x4d5b98=await fs[_0x25578f(0x1bc)](path['join'](__dirname,'..',_0x244ce5['IUHbd'],_0x244ce5['STfBm']),_0x244ce5[_0x25578f(0x197)]),_0x4c6bd4={};_0x4c6bd4[_0x25578f(0x191)]=CLOUDFORMATION_SCHEMA;const _0x195134=yaml[_0x25578f(0x19e)](_0x4d5b98,_0x4c6bd4);await _0x244ce5[_0x25578f(0x1b7)](addTags,_0x195134,_0x1380ff);const _0x35d814=JSON[_0x25578f(0x19b)](_0x195134);let _0x29e0b1=await AWSUtils[_0x25578f(0x19f)](_0x401401);_0x29e0b1=_0x29e0b1[_0x25578f(0x192)](_0x244ce5[_0x25578f(0x1af)])[0x1];const _0x58db3a={};_0x58db3a[_0x25578f(0x18c)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x401401+_0x25578f(0x1b4),_0x58db3a[_0x25578f(0x1a3)]=_0x244ce5['oQvgo'],_0x58db3a['TemplateBody']=_0x35d814,_0x58db3a[_0x25578f(0x1b3)]=[{'ParameterKey':_0x244ce5['bDEfs'],'ParameterValue':_0x3fdf07},{'ParameterKey':_0x244ce5[_0x25578f(0x1be)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x401401},{'ParameterKey':_0x244ce5[_0x25578f(0x1c1)],'ParameterValue':_0x29e0b1}],_0x58db3a[_0x25578f(0x1ad)]=[_0x244ce5[_0x25578f(0x1a0)]],_0x58db3a[_0x25578f(0x194)]=_0x1380ff;const _0x132180=_0x58db3a,{StackId:_0x45cede}=await _0x54667c[_0x25578f(0x18d)](new CreateStackCommand(_0x132180));logger['info'](_0x244ce5[_0x25578f(0x1a5)]);const _0x90f686={};_0x90f686[_0x25578f(0x1b0)]=_0x54667c,_0x90f686[_0x25578f(0x1ac)]=0x708;const _0x79ccce={};_0x79ccce[_0x25578f(0x18c)]=_0x45cede,await _0x244ce5[_0x25578f(0x1b7)](waitUntilStackCreateComplete,_0x90f686,_0x79ccce);const _0x48b55e={};return _0x48b55e[_0x25578f(0x18c)]=_0x45cede,_0x54667c['send'](new DescribeStacksCommand(_0x48b55e));};
1
+ const a28_0x48cca7=a28_0xa40a;function a28_0xa40a(_0x1570c6,_0x17a6e1){const _0x219515=a28_0x2195();return a28_0xa40a=function(_0xa40a36,_0x3bb3c1){_0xa40a36=_0xa40a36-0x1c2;let _0x5295b2=_0x219515[_0xa40a36];return _0x5295b2;},a28_0xa40a(_0x1570c6,_0x17a6e1);}(function(_0x43c2ea,_0x27de25){const _0x7b0eb2=a28_0xa40a,_0x25575d=_0x43c2ea();while(!![]){try{const _0x1ece0c=parseInt(_0x7b0eb2(0x1f3))/0x1*(parseInt(_0x7b0eb2(0x1d9))/0x2)+parseInt(_0x7b0eb2(0x1dc))/0x3+-parseInt(_0x7b0eb2(0x1d2))/0x4*(-parseInt(_0x7b0eb2(0x1c7))/0x5)+-parseInt(_0x7b0eb2(0x1c4))/0x6*(parseInt(_0x7b0eb2(0x1ec))/0x7)+parseInt(_0x7b0eb2(0x1f4))/0x8+-parseInt(_0x7b0eb2(0x1f9))/0x9+-parseInt(_0x7b0eb2(0x1c9))/0xa;if(_0x1ece0c===_0x27de25)break;else _0x25575d['push'](_0x25575d['shift']());}catch(_0xf76e51){_0x25575d['push'](_0x25575d['shift']());}}}(a28_0x2195,0xefce1));const fs=require('fs'),path=require('path'),Promise=require(a28_0x48cca7(0x1ef)),yaml=require(a28_0x48cca7(0x1d6)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),{CloudFormationClient,CreateStackCommand,DescribeStacksCommand,waitUntilStackCreateComplete}=require('@aws-sdk/client-cloudformation'),AWSUtils=require(a28_0x48cca7(0x1cb)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x48cca7(0x1d0)),{logger}=require('../config/logger');Promise[a28_0x48cca7(0x1e6)](fs);function a28_0x2195(){const _0x8cb803=['../config/constants','Properties','514516VgURZp','QKtlq','maxWaitTime','TemplateBody','js-yaml','jsYJM','GLuBc','2768198CrOTKw','client','browserstack:creationDate','2001684GKkEzf','-cf','send','utf-8','load','kLGur','Resources','StackName','uCJnC','getAwsConfig','promisifyAll','ClusterOIDCURL','push','SXUEX','Vddph','createHubHaStack','1498rgzjrm','Key','readFileAsync','bluebird','whort','ixaiu','VpcId','1zTCvgh','13078928ThFzFZ','valueOf','Value','BaseResourceName','toString','14330016KcyLNE','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','DELETE','NVZlb','18114TJLUKD','axnBg','join','55JkMjsj','WWHRf','18805810UobYSW','getOidcUrl','./AWSUtils','CFTemplates','info','stringify','Tags'];a28_0x2195=function(){return _0x8cb803;};return a28_0x2195();}const addTags=async(_0x5366bf,_0x19e75a)=>{const _0x1f268e=a28_0x48cca7;for(const _0x413362 in _0x5366bf[_0x1f268e(0x1e2)]){_0x5366bf[_0x1f268e(0x1e2)][_0x413362]['Properties']&&_0x5366bf[_0x1f268e(0x1e2)][_0x413362][_0x1f268e(0x1d1)][_0x1f268e(0x1cf)]&&_0x5366bf[_0x1f268e(0x1e2)][_0x413362]['Properties'][_0x1f268e(0x1cf)][_0x1f268e(0x1e8)](..._0x19e75a);}};exports[a28_0x48cca7(0x1eb)]=async(_0x4ba388,_0x117ab9=null)=>{const _0xd2b321=a28_0x48cca7,_0x267217={'SXUEX':'browserstack:cluster','ixaiu':_0xd2b321(0x1db),'jsYJM':_0xd2b321(0x1cc),'kLGur':'hub-ha.yaml','uCJnC':_0xd2b321(0x1df),'Vddph':function(_0x52c72f,_0x3a1172,_0x49dc04){return _0x52c72f(_0x3a1172,_0x49dc04);},'gnEZG':'://','WWHRf':_0xd2b321(0x1c2),'GLuBc':_0xd2b321(0x1f2),'NVZlb':_0xd2b321(0x1f7),'wTTsd':_0xd2b321(0x1e7),'QKtlq':'CAPABILITY_NAMED_IAM','whort':_0xd2b321(0x1fa),'axnBg':function(_0x9260f,_0x203252,_0x5e456b){return _0x9260f(_0x203252,_0x5e456b);}},_0x1a0554=COMMON_HST_TAGS,_0x316b07={};_0x316b07[_0xd2b321(0x1ed)]=_0x267217[_0xd2b321(0x1e9)],_0x316b07[_0xd2b321(0x1f6)]=_0x4ba388,_0x1a0554[_0xd2b321(0x1e8)](_0x316b07),_0x1a0554[_0xd2b321(0x1e8)]({'Key':_0x267217[_0xd2b321(0x1f1)],'Value':new Date()[_0xd2b321(0x1f5)]()[_0xd2b321(0x1f8)]()});const _0x12556b=new CloudFormationClient(AWSUtils[_0xd2b321(0x1e5)]()),_0x400528=await fs[_0xd2b321(0x1ee)](path[_0xd2b321(0x1c6)](__dirname,'..',_0x267217[_0xd2b321(0x1d7)],_0x267217[_0xd2b321(0x1e1)]),_0x267217[_0xd2b321(0x1e4)]),_0x37939f={};_0x37939f['schema']=CLOUDFORMATION_SCHEMA;const _0x1dcd6e=yaml[_0xd2b321(0x1e0)](_0x400528,_0x37939f);await _0x267217[_0xd2b321(0x1ea)](addTags,_0x1dcd6e,_0x1a0554);const _0x1fa98=JSON[_0xd2b321(0x1ce)](_0x1dcd6e);let _0x59194e=await AWSUtils[_0xd2b321(0x1ca)](_0x4ba388);_0x59194e=_0x59194e['split'](_0x267217['gnEZG'])[0x1];const _0x299835={};_0x299835[_0xd2b321(0x1e3)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x4ba388+_0xd2b321(0x1dd),_0x299835['OnFailure']=_0x267217[_0xd2b321(0x1c8)],_0x299835[_0xd2b321(0x1d5)]=_0x1fa98,_0x299835['Parameters']=[{'ParameterKey':_0x267217[_0xd2b321(0x1d8)],'ParameterValue':_0x117ab9},{'ParameterKey':_0x267217[_0xd2b321(0x1c3)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x4ba388},{'ParameterKey':_0x267217['wTTsd'],'ParameterValue':_0x59194e}],_0x299835['Capabilities']=[_0x267217[_0xd2b321(0x1d3)]],_0x299835[_0xd2b321(0x1cf)]=_0x1a0554;const _0x1e0c09=_0x299835,{StackId:_0x1cfbaa}=await _0x12556b[_0xd2b321(0x1de)](new CreateStackCommand(_0x1e0c09));logger[_0xd2b321(0x1cd)](_0x267217[_0xd2b321(0x1f0)]);const _0x1b0e35={};_0x1b0e35[_0xd2b321(0x1da)]=_0x12556b,_0x1b0e35[_0xd2b321(0x1d4)]=0x708;const _0x24ad1d={};_0x24ad1d[_0xd2b321(0x1e3)]=_0x1cfbaa,await _0x267217[_0xd2b321(0x1c5)](waitUntilStackCreateComplete,_0x1b0e35,_0x24ad1d);const _0xb49b38={};return _0xb49b38[_0xd2b321(0x1e3)]=_0x1cfbaa,_0x12556b[_0xd2b321(0x1de)](new DescribeStacksCommand(_0xb49b38));};
@@ -1 +1 @@
1
- const a29_0x55a23a=a29_0x2d70;(function(_0x506dcd,_0x332455){const _0x5367eb=a29_0x2d70,_0x12ec2f=_0x506dcd();while(!![]){try{const _0x1b4800=parseInt(_0x5367eb(0x196))/0x1*(parseInt(_0x5367eb(0x1a8))/0x2)+parseInt(_0x5367eb(0x1a5))/0x3*(parseInt(_0x5367eb(0x1a2))/0x4)+parseInt(_0x5367eb(0x19a))/0x5+-parseInt(_0x5367eb(0x1a3))/0x6+-parseInt(_0x5367eb(0x19d))/0x7*(parseInt(_0x5367eb(0x1ab))/0x8)+parseInt(_0x5367eb(0x1aa))/0x9*(parseInt(_0x5367eb(0x1ad))/0xa)+-parseInt(_0x5367eb(0x1a6))/0xb;if(_0x1b4800===_0x332455)break;else _0x12ec2f['push'](_0x12ec2f['shift']());}catch(_0x1b6515){_0x12ec2f['push'](_0x12ec2f['shift']());}}}(a29_0x559d,0x41a37));function a29_0x559d(){const _0x19e0cf=['11341605iZSYfD','AppsV1Api','194938GeFUYZ','RbacAuthorizationV1Api','1949724UkicJg','32mBtnlr','CoreV1Api','20UsWBOl','makeApiClient','GJqEO','bluebird','cluster','load','kDxqo','3NBBVQo','ApiregistrationV1Api','existsSync','@kubernetes/client-node','1611050ifavMF','StorageV1Api','./utilityMethods','119630AnTsfq','getKubeConfigData','KubeConfig','GugwX','mkdirSync','2089436IMbUfE','1211868tnIlQM','clusters','3nZoXPj'];a29_0x559d=function(){return _0x19e0cf;};return a29_0x559d();}function a29_0x2d70(_0x2211f0,_0x48aa7c){const _0x559d1e=a29_0x559d();return a29_0x2d70=function(_0x2d7097,_0x4c12fd){_0x2d7097=_0x2d7097-0x196;let _0x290cfb=_0x559d1e[_0x2d7097];return _0x290cfb;},a29_0x2d70(_0x2211f0,_0x48aa7c);}const fs=require('fs'),yaml=require('js-yaml'),Promise=require(a29_0x55a23a(0x1b0)),{getDirForConfig}=require(a29_0x55a23a(0x19c));Promise['promisifyAll'](fs),exports['createK8sClient']=async(_0x1a9f70,_0x177c31)=>{const _0x4d4122=a29_0x55a23a,_0x5a4b9e={'kDxqo':function(_0x5278e2){return _0x5278e2();},'GugwX':'insecure-skip-tls-verify','GJqEO':_0x4d4122(0x199)},_0x53ddc4=_0x5a4b9e[_0x4d4122(0x1b3)](getDirForConfig);!fs[_0x4d4122(0x198)](_0x53ddc4)&&fs[_0x4d4122(0x1a1)](_0x53ddc4);let _0x1265e9=await _0x1a9f70[_0x4d4122(0x19e)]();if(_0x177c31){const _0x15d795=yaml[_0x4d4122(0x1b2)](_0x1265e9);_0x15d795[_0x4d4122(0x1a4)][0x0][_0x4d4122(0x1b1)][_0x5a4b9e[_0x4d4122(0x1a0)]]=!![],_0x1265e9=yaml['dump'](_0x15d795);}const _0x1a6156=await import(_0x5a4b9e[_0x4d4122(0x1af)]),_0x230ade=new _0x1a6156[(_0x4d4122(0x19f))]();_0x230ade['loadFromString'](_0x1265e9);const _0x31cc9e=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156[_0x4d4122(0x1ac)]),_0x3af898=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156[_0x4d4122(0x1a7)]),_0x1e4ab3=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156['NetworkingV1Api']),_0x1890a9=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156[_0x4d4122(0x1a9)]),_0x48e401=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156[_0x4d4122(0x197)]),_0x360f6f=_0x230ade[_0x4d4122(0x1ae)](_0x1a6156[_0x4d4122(0x19b)]);return[_0x31cc9e,_0x3af898,_0x1e4ab3,_0x1890a9,_0x48e401,_0x360f6f,_0x230ade];};
1
+ const a29_0x521dd1=a29_0x5443;(function(_0x536671,_0x35326a){const _0x44d497=a29_0x5443,_0x2e2a10=_0x536671();while(!![]){try{const _0x128316=-parseInt(_0x44d497(0x1ad))/0x1+parseInt(_0x44d497(0x1bb))/0x2+parseInt(_0x44d497(0x1b1))/0x3*(-parseInt(_0x44d497(0x1aa))/0x4)+-parseInt(_0x44d497(0x1b5))/0x5+parseInt(_0x44d497(0x1ae))/0x6*(-parseInt(_0x44d497(0x1be))/0x7)+-parseInt(_0x44d497(0x1af))/0x8*(parseInt(_0x44d497(0x1b6))/0x9)+parseInt(_0x44d497(0x1b8))/0xa;if(_0x128316===_0x35326a)break;else _0x2e2a10['push'](_0x2e2a10['shift']());}catch(_0x87defa){_0x2e2a10['push'](_0x2e2a10['shift']());}}}(a29_0x5b7d,0x4db8b));const fs=require('fs'),yaml=require(a29_0x521dd1(0x1bd)),Promise=require(a29_0x521dd1(0x1c2)),{getDirForConfig}=require(a29_0x521dd1(0x1ba));function a29_0x5443(_0x3cb092,_0x2a1ea4){const _0x5b7d66=a29_0x5b7d();return a29_0x5443=function(_0x544327,_0x496da9){_0x544327=_0x544327-0x1a5;let _0x3395c4=_0x5b7d66[_0x544327];return _0x3395c4;},a29_0x5443(_0x3cb092,_0x2a1ea4);}function a29_0x5b7d(){const _0x49fed7=['9294GeMcCR','17648fnJRzg','pvkkm','10869xxbACH','createK8sClient','ApiregistrationV1Api','existsSync','370985kqhibk','2358HEqAyJ','loadFromString','16257860IRrQQC','@kubernetes/client-node','./utilityMethods','289528ESXnZm','mkdirSync','js-yaml','161mGdcdq','NetworkingV1Api','KubeConfig','cluster','bluebird','AppsV1Api','dump','ixPUI','insecure-skip-tls-verify','makeApiClient','616ACPmun','load','clusters','206465RejwYY'];a29_0x5b7d=function(){return _0x49fed7;};return a29_0x5b7d();}Promise['promisifyAll'](fs),exports[a29_0x521dd1(0x1b2)]=async(_0x2cc95f,_0x587998)=>{const _0x3224f3=a29_0x521dd1,_0x101e3a={'pvkkm':function(_0x16d168){return _0x16d168();},'hqgyA':_0x3224f3(0x1a8),'ixPUI':_0x3224f3(0x1b9)},_0x53668f=_0x101e3a[_0x3224f3(0x1b0)](getDirForConfig);!fs[_0x3224f3(0x1b4)](_0x53668f)&&fs[_0x3224f3(0x1bc)](_0x53668f);let _0x84cb8d=await _0x2cc95f['getKubeConfigData']();if(_0x587998){const _0x2ad064=yaml[_0x3224f3(0x1ab)](_0x84cb8d);_0x2ad064[_0x3224f3(0x1ac)][0x0][_0x3224f3(0x1c1)][_0x101e3a['hqgyA']]=!![],_0x84cb8d=yaml[_0x3224f3(0x1a6)](_0x2ad064);}const _0xa68edb=await import(_0x101e3a[_0x3224f3(0x1a7)]),_0x4760a4=new _0xa68edb[(_0x3224f3(0x1c0))]();_0x4760a4[_0x3224f3(0x1b7)](_0x84cb8d);const _0xcec3e7=_0x4760a4[_0x3224f3(0x1a9)](_0xa68edb['CoreV1Api']),_0x4ec5f3=_0x4760a4[_0x3224f3(0x1a9)](_0xa68edb[_0x3224f3(0x1a5)]),_0xc7b589=_0x4760a4['makeApiClient'](_0xa68edb[_0x3224f3(0x1bf)]),_0x302b51=_0x4760a4['makeApiClient'](_0xa68edb['RbacAuthorizationV1Api']),_0xcb3758=_0x4760a4[_0x3224f3(0x1a9)](_0xa68edb[_0x3224f3(0x1b3)]),_0x3f0716=_0x4760a4[_0x3224f3(0x1a9)](_0xa68edb['StorageV1Api']);return[_0xcec3e7,_0x4ec5f3,_0xc7b589,_0x302b51,_0xcb3758,_0x3f0716,_0x4760a4];};
@@ -1 +1 @@
1
- function a30_0x789c(_0x220c49,_0x44b093){const _0x3e6bf9=a30_0x3e6b();return a30_0x789c=function(_0x789cc9,_0x19d285){_0x789cc9=_0x789cc9-0xfb;let _0x37c77b=_0x3e6bf9[_0x789cc9];return _0x37c77b;},a30_0x789c(_0x220c49,_0x44b093);}const a30_0x506a72=a30_0x789c;(function(_0x2bc8a,_0x4d7704){const _0x2f5449=a30_0x789c,_0xbe28a6=_0x2bc8a();while(!![]){try{const _0x4ce937=-parseInt(_0x2f5449(0xfb))/0x1*(parseInt(_0x2f5449(0x102))/0x2)+parseInt(_0x2f5449(0x10f))/0x3+-parseInt(_0x2f5449(0x116))/0x4*(-parseInt(_0x2f5449(0xfc))/0x5)+-parseInt(_0x2f5449(0x103))/0x6*(parseInt(_0x2f5449(0x113))/0x7)+parseInt(_0x2f5449(0x117))/0x8*(parseInt(_0x2f5449(0x105))/0x9)+-parseInt(_0x2f5449(0x104))/0xa*(-parseInt(_0x2f5449(0x10e))/0xb)+parseInt(_0x2f5449(0x106))/0xc;if(_0x4ce937===_0x4d7704)break;else _0xbe28a6['push'](_0xbe28a6['shift']());}catch(_0x77d102){_0xbe28a6['push'](_0xbe28a6['shift']());}}}(a30_0x3e6b,0xc6712));function a30_0x3e6b(){const _0x4141f4=['@aws-sdk/client-efs','find','97961LnqrzN','1801410WKKwng','send','FileSystemId','OutputKey','MountTargetId','Error\x20deleting\x20EFS\x20mount\x20targets:','26wpMWuB','22518ZOLNwr','12024650vfpgoh','171aVdNGi','47712EgnMpN','Mount\x20target\x20','info','clusterRegion','EFS\x20FileSystem\x20ID\x20found:\x20','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','OutputValue','deleteEFSMountTarget','11MFQbFq','199857WHUCpl','GDQxg','error','rkHPk','994bxeCLu','\x20deleted\x20successfully','ocsPK','8lgkHwT','263416SOmfMk','../config/constants'];a30_0x3e6b=function(){return _0x4141f4;};return a30_0x3e6b();}const {EFSClient,DescribeMountTargetsCommand,DeleteMountTargetCommand}=require(a30_0x506a72(0x119)),{logger}=require('../config/logger'),{global_registry}=require(a30_0x506a72(0x118)),{getAwsConfig}=require('./AWSUtils');exports[a30_0x506a72(0x10d)]=async _0x137d41=>{const _0x3c7d89=a30_0x506a72,_0x58cb18={'ocsPK':function(_0x40f49a,_0x3c1e4d){return _0x40f49a(_0x3c1e4d);},'GDQxg':_0x3c7d89(0x10b),'oopzO':'No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','rkHPk':_0x3c7d89(0x101)};try{const _0x15a56a=new EFSClient(_0x58cb18[_0x3c7d89(0x115)](getAwsConfig,global_registry[_0x3c7d89(0x109)])),_0x4d3176=_0x137d41[_0x3c7d89(0x11a)](_0x88978d=>_0x88978d[_0x3c7d89(0xff)]==='EFSFileSystemId')?.[_0x3c7d89(0x10c)];if(_0x4d3176){logger[_0x3c7d89(0x108)](_0x3c7d89(0x10a)+_0x4d3176+'.\x20Deleting\x20mount\x20targets...');const _0x7afb57={};_0x7afb57[_0x3c7d89(0xfe)]=_0x4d3176;const _0xf02a72=await _0x15a56a[_0x3c7d89(0xfd)](new DescribeMountTargetsCommand(_0x7afb57));if(_0xf02a72)for(const _0x4db8d3 of _0xf02a72['MountTargets']){const _0x46d134={};_0x46d134[_0x3c7d89(0x100)]=_0x4db8d3[_0x3c7d89(0x100)],await _0x15a56a['send'](new DeleteMountTargetCommand(_0x46d134)),logger[_0x3c7d89(0x108)](_0x3c7d89(0x107)+_0x4db8d3[_0x3c7d89(0x100)]+_0x3c7d89(0x114));}else logger['info'](_0x58cb18[_0x3c7d89(0x110)]);}else logger[_0x3c7d89(0x108)](_0x58cb18['oopzO']);}catch(_0x57bb47){logger[_0x3c7d89(0x111)](_0x58cb18[_0x3c7d89(0x112)],_0x57bb47);}};
1
+ function a30_0x537f(){const _0x116fdb=['44BNxOQS','5kOAWgB','138056nrSWpb','clusterRegion','OutputValue','find','aOYDH','3050916xkVtwC','@aws-sdk/client-efs','2634569HXPJcq','error','626876cMnWag','../config/logger','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','MountTargetId','deleteEFSMountTarget','2317880UXXLhw','Mount\x20target\x20','EFS\x20FileSystem\x20ID\x20found:\x20','Error\x20deleting\x20EFS\x20mount\x20targets:','\x20deleted\x20successfully','./AWSUtils','IhjKV','4IyoUsE','../config/constants','8uoganY','EFSFileSystemId','1492419ZuwktO','.\x20Deleting\x20mount\x20targets...','FileSystemId','info','YPChg','5498676pUpGFz','send'];a30_0x537f=function(){return _0x116fdb;};return a30_0x537f();}const a30_0x272aac=a30_0x5bb5;(function(_0x507f07,_0x3fb842){const _0x469f9b=a30_0x5bb5,_0xf89ec8=_0x507f07();while(!![]){try{const _0xac404d=parseInt(_0x469f9b(0x154))/0x1*(parseInt(_0x469f9b(0x161))/0x2)+-parseInt(_0x469f9b(0x158))/0x3+parseInt(_0x469f9b(0x16a))/0x4+-parseInt(_0x469f9b(0x160))/0x5*(parseInt(_0x469f9b(0x166))/0x6)+parseInt(_0x469f9b(0x168))/0x7*(-parseInt(_0x469f9b(0x156))/0x8)+parseInt(_0x469f9b(0x15d))/0x9+parseInt(_0x469f9b(0x16f))/0xa*(parseInt(_0x469f9b(0x15f))/0xb);if(_0xac404d===_0x3fb842)break;else _0xf89ec8['push'](_0xf89ec8['shift']());}catch(_0x34912b){_0xf89ec8['push'](_0xf89ec8['shift']());}}}(a30_0x537f,0x8fb4d));const {EFSClient,DescribeMountTargetsCommand,DeleteMountTargetCommand}=require(a30_0x272aac(0x167)),{logger}=require(a30_0x272aac(0x16b)),{global_registry}=require(a30_0x272aac(0x155)),{getAwsConfig}=require(a30_0x272aac(0x152));function a30_0x5bb5(_0x42493c,_0x70c993){const _0x537f63=a30_0x537f();return a30_0x5bb5=function(_0x5bb56b,_0x3090e6){_0x5bb56b=_0x5bb56b-0x14f;let _0x2f7676=_0x537f63[_0x5bb56b];return _0x2f7676;},a30_0x5bb5(_0x42493c,_0x70c993);}exports[a30_0x272aac(0x16e)]=async _0x4fd0bc=>{const _0x1fbf98=a30_0x272aac,_0x33eaad={'oTPMg':function(_0x1ff48d,_0x3a8be7){return _0x1ff48d(_0x3a8be7);},'YPChg':_0x1fbf98(0x16c),'IhjKV':'No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','aOYDH':_0x1fbf98(0x150)};try{const _0x5dc371=new EFSClient(_0x33eaad['oTPMg'](getAwsConfig,global_registry[_0x1fbf98(0x162)])),_0x4b5322=_0x4fd0bc[_0x1fbf98(0x164)](_0x1b30ab=>_0x1b30ab['OutputKey']===_0x1fbf98(0x157))?.[_0x1fbf98(0x163)];if(_0x4b5322){logger[_0x1fbf98(0x15b)](_0x1fbf98(0x14f)+_0x4b5322+_0x1fbf98(0x159));const _0x5a909c={};_0x5a909c[_0x1fbf98(0x15a)]=_0x4b5322;const _0x40b3b1=await _0x5dc371[_0x1fbf98(0x15e)](new DescribeMountTargetsCommand(_0x5a909c));if(_0x40b3b1)for(const _0xf0e69 of _0x40b3b1['MountTargets']){const _0x7e0e60={};_0x7e0e60['MountTargetId']=_0xf0e69[_0x1fbf98(0x16d)],await _0x5dc371['send'](new DeleteMountTargetCommand(_0x7e0e60)),logger[_0x1fbf98(0x15b)](_0x1fbf98(0x170)+_0xf0e69['MountTargetId']+_0x1fbf98(0x151));}else logger[_0x1fbf98(0x15b)](_0x33eaad[_0x1fbf98(0x15c)]);}else logger['info'](_0x33eaad[_0x1fbf98(0x153)]);}catch(_0x18c019){logger[_0x1fbf98(0x169)](_0x33eaad[_0x1fbf98(0x165)],_0x18c019);}};
@@ -1 +1 @@
1
- function a31_0x5b29(_0x421a02,_0x319a30){const _0x4484c6=a31_0x4484();return a31_0x5b29=function(_0x5b2996,_0x571061){_0x5b2996=_0x5b2996-0x162;let _0x4906c7=_0x4484c6[_0x5b2996];return _0x4906c7;},a31_0x5b29(_0x421a02,_0x319a30);}const a31_0x3ba141=a31_0x5b29;(function(_0x2c6cf6,_0x3dc854){const _0x3d7429=a31_0x5b29,_0xe08456=_0x2c6cf6();while(!![]){try{const _0x53af97=parseInt(_0x3d7429(0x16c))/0x1*(parseInt(_0x3d7429(0x174))/0x2)+-parseInt(_0x3d7429(0x166))/0x3*(-parseInt(_0x3d7429(0x167))/0x4)+-parseInt(_0x3d7429(0x165))/0x5+-parseInt(_0x3d7429(0x170))/0x6*(parseInt(_0x3d7429(0x168))/0x7)+parseInt(_0x3d7429(0x175))/0x8*(parseInt(_0x3d7429(0x163))/0x9)+parseInt(_0x3d7429(0x172))/0xa*(-parseInt(_0x3d7429(0x171))/0xb)+parseInt(_0x3d7429(0x164))/0xc;if(_0x53af97===_0x3dc854)break;else _0xe08456['push'](_0xe08456['shift']());}catch(_0x20efc6){_0xe08456['push'](_0xe08456['shift']());}}}(a31_0x4484,0xb9717));const {CloudFormationClient,DeleteStackCommand,waitUntilStackDeleteComplete}=require('@aws-sdk/client-cloudformation'),{logger}=require('../config/logger'),{getAwsConfig}=require(a31_0x3ba141(0x16f));function a31_0x4484(){const _0x34dccd=['7WVnHSV','debug','kGNvz','client','269xKSDZt','qiZmQ','maxWaitTime','./AWSUtils','3217602bXGfBb','33OxKUFG','3009330XeaaPE','deleteClusterStack','7946vQkORW','8QvrJDH','SgcjQ','StackName','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','1454994BhHxac','11194284JBHTma','5184985KQotGI','6OpTcUC','2144756gwsaVx'];a31_0x4484=function(){return _0x34dccd;};return a31_0x4484();}exports[a31_0x3ba141(0x173)]=async _0xf95046=>{const _0x1df177=a31_0x3ba141,_0x3a8a76={'SgcjQ':function(_0x1e445f){return _0x1e445f();},'qiZmQ':_0x1df177(0x162),'kGNvz':function(_0x1679f8,_0x8cefef,_0x29a360){return _0x1679f8(_0x8cefef,_0x29a360);}},_0x22dd42=new CloudFormationClient(_0x3a8a76[_0x1df177(0x176)](getAwsConfig)),_0x51850f={};_0x51850f[_0x1df177(0x177)]=_0xf95046,await _0x22dd42['send'](new DeleteStackCommand(_0x51850f)),logger[_0x1df177(0x169)](_0x3a8a76[_0x1df177(0x16d)]);const _0x41993e={};_0x41993e[_0x1df177(0x16b)]=_0x22dd42,_0x41993e[_0x1df177(0x16e)]=0x708;const _0x39254d={};return _0x39254d[_0x1df177(0x177)]=_0xf95046,_0x3a8a76[_0x1df177(0x16a)](waitUntilStackDeleteComplete,_0x41993e,_0x39254d);};
1
+ const a31_0x5be621=a31_0x4343;(function(_0x2c40f2,_0x1f54e0){const _0x1e5d3c=a31_0x4343,_0x4fcab2=_0x2c40f2();while(!![]){try{const _0x387523=-parseInt(_0x1e5d3c(0x1be))/0x1*(parseInt(_0x1e5d3c(0x1ba))/0x2)+parseInt(_0x1e5d3c(0x1b0))/0x3*(-parseInt(_0x1e5d3c(0x1ae))/0x4)+parseInt(_0x1e5d3c(0x1c0))/0x5+parseInt(_0x1e5d3c(0x1c3))/0x6*(parseInt(_0x1e5d3c(0x1b9))/0x7)+parseInt(_0x1e5d3c(0x1c1))/0x8+parseInt(_0x1e5d3c(0x1b4))/0x9+parseInt(_0x1e5d3c(0x1c2))/0xa*(-parseInt(_0x1e5d3c(0x1bd))/0xb);if(_0x387523===_0x1f54e0)break;else _0x4fcab2['push'](_0x4fcab2['shift']());}catch(_0x444fc0){_0x4fcab2['push'](_0x4fcab2['shift']());}}}(a31_0x2d18,0xb15a8));function a31_0x2d18(){const _0x5d2543=['321614UconSr','debug','5213445UQFXFQ','4019672JLaVpt','10JivSIZ','11262KFOWXt','4MLOIku','send','2981175CLadBE','client','hGIFO','deleteClusterStack','11703681wIagRE','ZmEeB','maxWaitTime','./AWSUtils','StackName','4263orlbQf','8JzQaNV','@aws-sdk/client-cloudformation','VbrQw','10802319sGKIhr'];a31_0x2d18=function(){return _0x5d2543;};return a31_0x2d18();}const {CloudFormationClient,DeleteStackCommand,waitUntilStackDeleteComplete}=require(a31_0x5be621(0x1bb)),{logger}=require('../config/logger'),{getAwsConfig}=require(a31_0x5be621(0x1b7));function a31_0x4343(_0x3b6bf9,_0x151197){const _0x2d1844=a31_0x2d18();return a31_0x4343=function(_0x43432a,_0x4302f3){_0x43432a=_0x43432a-0x1ae;let _0x7c96ab=_0x2d1844[_0x43432a];return _0x7c96ab;},a31_0x4343(_0x3b6bf9,_0x151197);}exports[a31_0x5be621(0x1b3)]=async _0x4c56c0=>{const _0xaa00a3=a31_0x5be621,_0x527332={'hGIFO':function(_0x20ee42){return _0x20ee42();},'ZmEeB':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','VbrQw':function(_0x4de4c3,_0x33b39b,_0x21476c){return _0x4de4c3(_0x33b39b,_0x21476c);}},_0x564f1e=new CloudFormationClient(_0x527332[_0xaa00a3(0x1b2)](getAwsConfig)),_0x44b393={};_0x44b393['StackName']=_0x4c56c0,await _0x564f1e[_0xaa00a3(0x1af)](new DeleteStackCommand(_0x44b393)),logger[_0xaa00a3(0x1bf)](_0x527332[_0xaa00a3(0x1b5)]);const _0x619c6c={};_0x619c6c[_0xaa00a3(0x1b1)]=_0x564f1e,_0x619c6c[_0xaa00a3(0x1b6)]=0x708;const _0x1c744b={};return _0x1c744b[_0xaa00a3(0x1b8)]=_0x4c56c0,_0x527332[_0xaa00a3(0x1bc)](waitUntilStackDeleteComplete,_0x619c6c,_0x1c744b);};
@@ -1 +1 @@
1
- function a32_0x29ac(){const _0xb0498e=['@aws-sdk/client-cloudformation','206946KzMyvC','1449804VwFMmT','641250XAyPoM','describeClusterStack','StackName','60KNDOfm','./AWSUtils','oqNLE','645066wTyMNn','6qmPBUh','8cQxgBZ','18244MgIqoM','2826005dDrFzw','66UIGgjq','4074158nrGNuN','13EPVEwq','send','2bwMRrT'];a32_0x29ac=function(){return _0xb0498e;};return a32_0x29ac();}const a32_0x430712=a32_0x30cd;function a32_0x30cd(_0x36c5d7,_0x3e81eb){const _0x29ac25=a32_0x29ac();return a32_0x30cd=function(_0x30cd7f,_0x511ebb){_0x30cd7f=_0x30cd7f-0x98;let _0x4a7feb=_0x29ac25[_0x30cd7f];return _0x4a7feb;},a32_0x30cd(_0x36c5d7,_0x3e81eb);}(function(_0x2923e9,_0x5adfbc){const _0x68112d=a32_0x30cd,_0x5db5d4=_0x2923e9();while(!![]){try{const _0x1f1e23=-parseInt(_0x68112d(0x9c))/0x1*(parseInt(_0x68112d(0x9a))/0x2)+-parseInt(_0x68112d(0xa9))/0x3*(parseInt(_0x68112d(0xa7))/0x4)+parseInt(_0x68112d(0x9e))/0x5*(parseInt(_0x68112d(0xa5))/0x6)+parseInt(_0x68112d(0xa8))/0x7*(-parseInt(_0x68112d(0xa6))/0x8)+parseInt(_0x68112d(0xa4))/0x9*(parseInt(_0x68112d(0xa1))/0xa)+parseInt(_0x68112d(0xaa))/0xb+parseInt(_0x68112d(0x9d))/0xc*(parseInt(_0x68112d(0x98))/0xd);if(_0x1f1e23===_0x5adfbc)break;else _0x5db5d4['push'](_0x5db5d4['shift']());}catch(_0x3323a8){_0x5db5d4['push'](_0x5db5d4['shift']());}}}(a32_0x29ac,0x52a36));const {CloudFormationClient,DescribeStacksCommand}=require(a32_0x430712(0x9b)),{getAwsConfig}=require(a32_0x430712(0xa2));exports[a32_0x430712(0x9f)]=async _0x1be76a=>{const _0x351705=a32_0x430712,_0x43852a={'oqNLE':function(_0xbe51f8){return _0xbe51f8();}},_0x1f83b9=new CloudFormationClient(_0x43852a[_0x351705(0xa3)](getAwsConfig)),_0x1a2f13={};return _0x1a2f13[_0x351705(0xa0)]=_0x1be76a,_0x1f83b9[_0x351705(0x99)](new DescribeStacksCommand(_0x1a2f13));};
1
+ function a32_0x349e(_0x2aa736,_0x23b495){const _0x37854f=a32_0x3785();return a32_0x349e=function(_0x349e73,_0xd1ddbb){_0x349e73=_0x349e73-0x109;let _0x2b4c3b=_0x37854f[_0x349e73];return _0x2b4c3b;},a32_0x349e(_0x2aa736,_0x23b495);}const a32_0x39f812=a32_0x349e;(function(_0x2817ec,_0xa494e9){const _0x377e58=a32_0x349e,_0x1011b7=_0x2817ec();while(!![]){try{const _0x3c2579=parseInt(_0x377e58(0x10a))/0x1+parseInt(_0x377e58(0x10c))/0x2+-parseInt(_0x377e58(0x10b))/0x3+parseInt(_0x377e58(0x113))/0x4*(parseInt(_0x377e58(0x115))/0x5)+-parseInt(_0x377e58(0x111))/0x6+-parseInt(_0x377e58(0x109))/0x7*(parseInt(_0x377e58(0x10f))/0x8)+parseInt(_0x377e58(0x10d))/0x9;if(_0x3c2579===_0xa494e9)break;else _0x1011b7['push'](_0x1011b7['shift']());}catch(_0x488f63){_0x1011b7['push'](_0x1011b7['shift']());}}}(a32_0x3785,0xb08f0));const {CloudFormationClient,DescribeStacksCommand}=require('@aws-sdk/client-cloudformation'),{getAwsConfig}=require(a32_0x39f812(0x114));function a32_0x3785(){const _0x12078e=['4317765WhXEfJ','1349848cNiHrT','24817428eKgMmo','send','24fmIizz','describeClusterStack','4178592HsFkpe','fBNGs','8VbaOPY','./AWSUtils','329540RZLalu','1773177AAoCnJ','54572MZQbhR'];a32_0x3785=function(){return _0x12078e;};return a32_0x3785();}exports[a32_0x39f812(0x110)]=async _0x1247a3=>{const _0x4904c4=a32_0x39f812,_0x1b68b2={'fBNGs':function(_0x30f5d5){return _0x30f5d5();}},_0x45ad45=new CloudFormationClient(_0x1b68b2[_0x4904c4(0x112)](getAwsConfig)),_0x84cf4d={};return _0x84cf4d['StackName']=_0x1247a3,_0x45ad45[_0x4904c4(0x10e)](new DescribeStacksCommand(_0x84cf4d));};