browserstack-node-sdk 1.48.0 → 1.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a25_0x5f0d(_0x55684c,_0xaa9c1){const _0x2f8355=a25_0x2f83();return a25_0x5f0d=function(_0x5f0d32,_0x567edf){_0x5f0d32=_0x5f0d32-0x144;let _0xfb5ada=_0x2f8355[_0x5f0d32];return _0xfb5ada;},a25_0x5f0d(_0x55684c,_0xaa9c1);}function a25_0x2f83(){const _0xb0d12d=['yHiqI','qJfuO','TxQnT','zuCuy','lHUxi','1zFXRGI','describeCluster','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','Fvzza','VcLpB','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','apiVersion','KfgHa','EmMVo','cEidv','gxbXd','QzqRs','tvByD','dlfFw','yIEFd','GVLAu','iDoAE','ROgdJ','jlqZr','RpHzv','awsObj','ycaqp','EsEJz','gLXly','VWXnf','hVcmp','KKABA','SVOfj','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','mvMQM','WUGgt','kHYci','FnfyF','dCReO','gyyzS','wCets','UAaEX','wEIxQ','35256LzIRQi','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','QBojB','fetchSecurityGroups','baBaB','efHCe','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','fzxmg','Regions','sEDsZ','9270hugxIs','ksBIF','1179081cfsPWo','XiJya','then','fetchSubnets','QUNdB','EKS','779628UbiBMO','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','describeRegions','XgrEa','gOvWU','XeefT','qyudQ','identity','JqVIf','lvgYn','promise','kDdqd','ceCTm','361273bcBCCC','Lpnav','ChSLe','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','8KEUkHZ','fetchVPCs','omFlQ','LnQzc','vRAct','qpXQu','2016-11-15','uZNKR','2017-11-01','qDKnM','nRYOd','1133545smDQmA','woeXd','headBucket','ILOiQ','aePmO','PgJGG','HJtJV','PJZrZ','iqrne','describeVpcs','EC2','aylDi','isBucketPresent','describeSecurityGroups','bgRnZ','320448dLYMBu','uvwFZ','3NOsWST','error','issuer','Bucket:\x20','qyAcB','mluJX','BctDV','bIOJd','Fiwhg','aws-sdk','TPDtC','warn','wlUqP','rUVNV','oidc','DLeNf','345gDEabR','npXqt','40rSVzAt','catch','../config/logger','EAcLU','GZyDb','VxrFs','VLcsw','FSDTB','BgyWB','uJDTt','VqDBk','IUKaY','cluster','Ywcle','describeSubnets','iHfPG','xTqcr','zHYCj','JpTAk','PFttH','Bucket','BYRhr','tqqLJ','UlkQH','120dQMqwT','CAjFF','kwtri','Sarlz','UEyBN','name','BvtNe','jMyVg','uucqF','WMoey','uwgCs','gHNcY','info','TUaPO','FbrPZ','iFyRS','XysmY','GwYZG','mbslS','jhIyn','qjzyx','getAWSRegions','ZaFBL','NcAEr','VinVr','Blglo','VkmZK','YSLYd','LAoGs','CAgBi','AFQWm','ERUYt','region'];a25_0x2f83=function(){return _0xb0d12d;};return a25_0x2f83();}const a25_0x516171=a25_0x5f0d;(function(_0x2159c7,_0x5ebc3d){const _0x2c30f5=a25_0x5f0d,_0x1d51ab=_0x2159c7();while(!![]){try{const _0xaeaf03=parseInt(_0x2c30f5(0x1c0))/0x1*(parseInt(_0x2c30f5(0x1f8))/0x2)+parseInt(_0x2c30f5(0x170))/0x3*(-parseInt(_0x2c30f5(0x16e))/0x4)+-parseInt(_0x2c30f5(0x180))/0x5*(-parseInt(_0x2c30f5(0x1f0))/0x6)+parseInt(_0x2c30f5(0x15f))/0x7*(-parseInt(_0x2c30f5(0x154))/0x8)+parseInt(_0x2c30f5(0x1f2))/0x9+parseInt(_0x2c30f5(0x182))/0xa*(-parseInt(_0x2c30f5(0x150))/0xb)+-parseInt(_0x2c30f5(0x19a))/0xc*(parseInt(_0x2c30f5(0x1e6))/0xd);if(_0xaeaf03===_0x5ebc3d)break;else _0x1d51ab['push'](_0x1d51ab['shift']());}catch(_0x3124cf){_0x1d51ab['push'](_0x1d51ab['shift']());}}}(a25_0x2f83,0x37649));const awsSDK=require(a25_0x516171(0x179)),{logger}=require(a25_0x516171(0x184));exports[a25_0x516171(0x155)]=_0x27132d=>{const _0x39a785=a25_0x516171,_0x556f1b={'KKABA':function(_0x10ac95,_0x5366b4){return _0x10ac95(_0x5366b4);},'CMqbK':function(_0x1e73fd,_0x58ca24){return _0x1e73fd===_0x58ca24;},'nRYOd':'bowIK','UOpAj':function(_0x529d7c,_0x5a8862){return _0x529d7c===_0x5a8862;},'vPQPY':_0x39a785(0x19b),'XysmY':_0x39a785(0x1d7),'ZaFBL':function(_0xa6f083,_0x32dfa6){return _0xa6f083(_0x32dfa6);},'qyAcB':function(_0x3ec63f,_0x4387d8){return _0x3ec63f(_0x4387d8);},'VcLpB':_0x39a785(0x15a),'LnQzc':_0x39a785(0x15c),'XiJya':function(_0x61b385,_0x32548b){return _0x61b385!==_0x32548b;},'gHNcY':_0x39a785(0x14e),'uZNKR':_0x39a785(0x1a4)};return new Promise((_0xd07b8,_0x54cc19)=>{const _0x2fed65=_0x39a785,_0x59d464={'kwtri':function(_0x23171b,_0x57a288){const _0x586153=a25_0x5f0d;return _0x556f1b[_0x586153(0x174)](_0x23171b,_0x57a288);},'ksBIF':_0x556f1b['VcLpB'],'qDKnM':_0x556f1b[_0x2fed65(0x157)]};if(_0x556f1b[_0x2fed65(0x1f3)](_0x556f1b[_0x2fed65(0x1a5)],_0x556f1b[_0x2fed65(0x15b)])){const _0x61183e={};_0x61183e[_0x2fed65(0x1c6)]=_0x556f1b[_0x2fed65(0x1c4)],_0x61183e[_0x2fed65(0x1ba)]=_0x27132d;const _0x446bf3=new awsSDK[(_0x2fed65(0x169))](_0x61183e);_0x446bf3['describeVpcs']()[_0x2fed65(0x14d)]()[_0x2fed65(0x1f4)](_0x1fce69=>{const _0x4be937=_0x2fed65,_0x27cedd={'ycaqp':function(_0xfa598b,_0x3e1e64){const _0x331df1=a25_0x5f0d;return _0x556f1b[_0x331df1(0x1da)](_0xfa598b,_0x3e1e64);}};_0x556f1b['CMqbK'](_0x556f1b[_0x4be937(0x15e)],_0x556f1b[_0x4be937(0x15e)])?_0x556f1b[_0x4be937(0x1da)](_0xd07b8,_0x1fce69):_0x27cedd[_0x4be937(0x1d5)](_0x261b05,_0x2e8491);})[_0x2fed65(0x183)](_0x4b6d60=>{const _0x4ab6c3=_0x2fed65,_0x2116b6={'Lpnav':function(_0x42309c,_0x120d57){const _0x176c42=a25_0x5f0d;return _0x556f1b[_0x176c42(0x1da)](_0x42309c,_0x120d57);}};if(_0x556f1b['UOpAj'](_0x556f1b['vPQPY'],_0x556f1b[_0x4ab6c3(0x1aa)])){const _0x2e846e={'PgJGG':function(_0x874a76,_0xc7b296){const _0x1afbf7=_0x4ab6c3;return _0x59d464[_0x1afbf7(0x19c)](_0x874a76,_0xc7b296);}},_0x5afe93={};_0x5afe93[_0x4ab6c3(0x1c6)]=_0x59d464[_0x4ab6c3(0x1f1)],_0x5afe93[_0x4ab6c3(0x1ba)]=_0x34d6f2;const _0x5a9a81=new _0x5e4827[(_0x4ab6c3(0x169))](_0x5afe93);_0x5a9a81[_0x4ab6c3(0x190)]()[_0x4ab6c3(0x14d)]()[_0x4ab6c3(0x1f4)](_0x207648=>{const _0xd0b968=_0x4ab6c3;_0x2e846e[_0xd0b968(0x164)](_0x5955cc,_0x207648);})[_0x4ab6c3(0x183)](_0x4787c2=>{const _0x41d4c3=_0x4ab6c3;_0x3cfa23[_0x41d4c3(0x171)](_0x41d4c3(0x153)+_0x4787c2),_0x2116b6[_0x41d4c3(0x151)](_0x24953d,_0x4787c2);});}else logger['error'](_0x4ab6c3(0x1ec)+_0x4b6d60),_0x556f1b[_0x4ab6c3(0x1b0)](_0x54cc19,_0x4b6d60);});}else return new _0x242f03((_0x133851,_0x2de926)=>{const _0x2231b6=_0x2fed65,_0x4834e7={'GVLAu':function(_0x31e600,_0x1a5dbd){const _0x2c398b=a25_0x5f0d;return _0x59d464[_0x2c398b(0x19c)](_0x31e600,_0x1a5dbd);}},_0x491298={};_0x491298[_0x2231b6(0x1c6)]=_0x59d464[_0x2231b6(0x15d)];const _0x53734a=new _0x22fe82['EKS'](_0x491298),_0x4eca59={};_0x4eca59[_0x2231b6(0x19f)]=_0x4df0e9,_0x53734a[_0x2231b6(0x1c1)](_0x4eca59)[_0x2231b6(0x14d)]()[_0x2231b6(0x1f4)](_0xc5b42=>{const _0x18bea4=_0x2231b6;_0x4834e7[_0x18bea4(0x1cf)](_0x133851,_0xc5b42['cluster']['identity']['oidc'][_0x18bea4(0x172)]);})['catch'](_0x221e13=>{const _0x14c190=_0x2231b6;_0x22e941[_0x14c190(0x171)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x7d34d6+':\x20'+_0x221e13),_0x4834e7[_0x14c190(0x1cf)](_0x2de926,_0x221e13);});});});},exports[a25_0x516171(0x16b)]=_0x5afc15=>{const _0x585fca=a25_0x516171,_0x4db686={'ILOiQ':function(_0x3dc252,_0x47d056){return _0x3dc252(_0x47d056);},'GwYZG':function(_0x292661,_0x36bccf){return _0x292661===_0x36bccf;},'wEIxQ':'iOaZa','gxbXd':function(_0x363aa2,_0x3a4abe){return _0x363aa2(_0x3a4abe);},'DLeNf':function(_0x3773ca,_0x11d304){return _0x3773ca(_0x11d304);},'yHiqI':_0x585fca(0x15a),'TxQnT':'cjTar','ccyYc':_0x585fca(0x188),'BvtNe':_0x585fca(0x14c)},_0x33f0e6=new awsSDK['S3']();return new Promise((_0x4b0fd6,_0xf941d0)=>{const _0x21524f=_0x585fca,_0x181f58={'ceCTm':function(_0x63387c,_0x138986){return _0x4db686['ILOiQ'](_0x63387c,_0x138986);},'uucqF':function(_0x102087,_0x1c5302){const _0x2f49a5=a25_0x5f0d;return _0x4db686[_0x2f49a5(0x17f)](_0x102087,_0x1c5302);},'UAaEX':_0x4db686[_0x21524f(0x1bb)],'vokYO':function(_0x40e6af,_0x12a77f){const _0x1c8f78=_0x21524f;return _0x4db686[_0x1c8f78(0x1ab)](_0x40e6af,_0x12a77f);},'iDoAE':_0x4db686[_0x21524f(0x1bd)],'nlvyL':_0x4db686['ccyYc']};if(_0x4db686[_0x21524f(0x1ab)](_0x4db686[_0x21524f(0x1a0)],_0x4db686[_0x21524f(0x1a0)])){const _0x512f93={};_0x512f93[_0x21524f(0x196)]=_0x5afc15,_0x33f0e6[_0x21524f(0x161)](_0x512f93)['promise']()[_0x21524f(0x1f4)](_0x2487f3=>{const _0x3d4602=_0x21524f,_0x2c1559={'jMyVg':function(_0x187932,_0x51564f){const _0x4eda96=a25_0x5f0d;return _0x181f58[_0x4eda96(0x14f)](_0x187932,_0x51564f);},'wCets':function(_0x15003c,_0x411f36){const _0x4bf22=a25_0x5f0d;return _0x181f58[_0x4bf22(0x1a2)](_0x15003c,_0x411f36);},'Ywcle':_0x181f58[_0x3d4602(0x1e4)]};if(_0x181f58['vokYO'](_0x181f58[_0x3d4602(0x1d0)],_0x181f58['nlvyL'])){const _0x43a447={'YSLYd':function(_0xbe57d,_0x57d3f5){const _0x2e07a4=_0x3d4602;return _0x2c1559[_0x2e07a4(0x1a1)](_0xbe57d,_0x57d3f5);},'ERUYt':function(_0x177804,_0xb54fc){const _0x4f2f9c=_0x3d4602;return _0x2c1559[_0x4f2f9c(0x1e3)](_0x177804,_0xb54fc);},'QBojB':_0x2c1559[_0x3d4602(0x18f)]};return new _0x45be0e((_0x18fb95,_0x3598ce)=>{const _0x15033b=_0x3d4602,_0x492848={'thUcV':function(_0x5e3116,_0x3da3e4){const _0x4247cc=a25_0x5f0d;return _0x43a447[_0x4247cc(0x1b9)](_0x5e3116,_0x3da3e4);}},_0x4bce66={};_0x4bce66[_0x15033b(0x1c6)]=_0x43a447[_0x15033b(0x1e8)],_0x4bce66[_0x15033b(0x1ba)]=_0x15259a;const _0x17e008=new _0x403b1b['EC2'](_0x4bce66);_0x17e008['describeVpcs']()[_0x15033b(0x14d)]()[_0x15033b(0x1f4)](_0x17567c=>{_0x492848['thUcV'](_0x18fb95,_0x17567c);})[_0x15033b(0x183)](_0x33feb0=>{const _0x55b204=_0x15033b;_0x17ea3f[_0x55b204(0x171)](_0x55b204(0x1ec)+_0x33feb0),_0x43a447[_0x55b204(0x1b5)](_0x3598ce,_0x33feb0);});});}else logger[_0x3d4602(0x17b)]('Bucket:\x20'+_0x5afc15+_0x3d4602(0x1e7)),_0x181f58['uucqF'](_0x4b0fd6,!![]);})[_0x21524f(0x183)](()=>{const _0x368876=_0x21524f,_0x1c7024={'xTqcr':function(_0x53e97b,_0x413cdb){const _0x216142=a25_0x5f0d;return _0x4db686[_0x216142(0x162)](_0x53e97b,_0x413cdb);}};_0x4db686['GwYZG'](_0x4db686[_0x368876(0x1e5)],_0x4db686['wEIxQ'])?(logger['info']('Bucket:\x20'+_0x5afc15+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x4db686[_0x368876(0x1ca)](_0x4b0fd6,![])):_0x1c7024[_0x368876(0x192)](_0x33bd0e,_0x5ea961[_0x368876(0x1ee)]);});}else _0x1897b5[_0x21524f(0x171)](_0x21524f(0x1c2)+_0x2cc500),_0x4db686[_0x21524f(0x1ca)](_0x523b64,_0x5dd158);});},exports[a25_0x516171(0x1f5)]=_0x4a3c72=>{const _0x23bef0=a25_0x516171,_0x2be307={'qpXQu':function(_0x39c01c,_0x1cc14c){return _0x39c01c(_0x1cc14c);},'LAoGs':function(_0x1fcb06,_0x653cdf){return _0x1fcb06===_0x653cdf;},'ROgdJ':'fdeKG','VxrFs':'xLdIb','JqVIf':function(_0x303fe7,_0x580b23){return _0x303fe7(_0x580b23);},'uOTPC':function(_0x5bbed1,_0x255517){return _0x5bbed1(_0x255517);},'QUNdB':_0x23bef0(0x1ea),'aePmO':'rdNUD','mLyyt':function(_0x4544aa,_0x3f4bad){return _0x4544aa(_0x3f4bad);},'VqDBk':function(_0x1b1b2c,_0x243af1){return _0x1b1b2c(_0x243af1);},'dlfFw':function(_0x41d294,_0x395355){return _0x41d294!==_0x395355;},'XeefT':_0x23bef0(0x18a),'TASFc':'LkICM','Fvzza':_0x23bef0(0x15a)};return new Promise((_0x489fe2,_0x16853b)=>{const _0x4644d4=_0x23bef0;if(_0x2be307[_0x4644d4(0x1cd)](_0x2be307[_0x4644d4(0x148)],_0x2be307['TASFc'])){const _0x4ce804={};_0x4ce804['apiVersion']=_0x2be307[_0x4644d4(0x1c3)],_0x4ce804['region']=_0x4a3c72;const _0x5bccfb=new awsSDK[(_0x4644d4(0x169))](_0x4ce804);_0x5bccfb[_0x4644d4(0x190)]()[_0x4644d4(0x14d)]()[_0x4644d4(0x1f4)](_0x3540d9=>{const _0x53d289=_0x4644d4,_0x316c95={'CAgBi':function(_0x2b532f,_0xac7179){const _0x57e387=a25_0x5f0d;return _0x2be307[_0x57e387(0x159)](_0x2b532f,_0xac7179);}};_0x2be307['LAoGs'](_0x2be307[_0x53d289(0x1d1)],_0x2be307[_0x53d289(0x187)])?(_0x1bea9a['warn'](_0x53d289(0x173)+_0xa73b75+_0x53d289(0x1e7)),_0x316c95[_0x53d289(0x1b7)](_0x1f8ccc,!![])):_0x2be307[_0x53d289(0x14b)](_0x489fe2,_0x3540d9);})['catch'](_0x125465=>{const _0x4f4a0e=_0x4644d4,_0x20c487={'JpTAk':function(_0x433a9d,_0x2a0528){return _0x2be307['qpXQu'](_0x433a9d,_0x2a0528);},'TPDtC':function(_0x2a6b3c,_0x7f4df2){return _0x2be307['uOTPC'](_0x2a6b3c,_0x7f4df2);}};if(_0x2be307[_0x4f4a0e(0x1b6)](_0x2be307[_0x4f4a0e(0x1f6)],_0x2be307[_0x4f4a0e(0x163)])){const _0x6ab3fc={};_0x6ab3fc['Bucket']=_0x433dc4,_0x50c3ca[_0x4f4a0e(0x161)](_0x6ab3fc)[_0x4f4a0e(0x14d)]()['then'](_0x6baa7b=>{const _0x203f72=_0x4f4a0e;_0x50cc42[_0x203f72(0x17b)]('Bucket:\x20'+_0x375313+_0x203f72(0x1e7)),_0x20c487[_0x203f72(0x194)](_0x26a2f2,!![]);})[_0x4f4a0e(0x183)](()=>{const _0x5a4e27=_0x4f4a0e;_0x1ca57b[_0x5a4e27(0x1a6)](_0x5a4e27(0x173)+_0x382e63+_0x5a4e27(0x1dc)),_0x20c487[_0x5a4e27(0x17a)](_0x2be9f7,![]);});}else logger[_0x4f4a0e(0x171)](_0x4f4a0e(0x153)+_0x125465),_0x2be307['mLyyt'](_0x16853b,_0x125465);});}else _0x222fab[_0x4644d4(0x171)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0xd5f6e5+':\x20'+_0x523541),_0x2be307[_0x4644d4(0x18c)](_0x5a708f,_0xb30f0a);});},exports[a25_0x516171(0x1e9)]=_0x2c57e1=>{const _0x2ae982=a25_0x516171,_0x29cd3f={'uvwFZ':function(_0x20aa52,_0x1bcd18){return _0x20aa52(_0x1bcd18);},'WMoey':function(_0x1af021,_0x559ee5){return _0x1af021===_0x559ee5;},'efHCe':_0x2ae982(0x1d8),'Fiwhg':_0x2ae982(0x15a),'tqqLJ':'2017-11-01','PYTBP':_0x2ae982(0x1d2),'KfgHa':function(_0x52eaeb,_0x4e91da){return _0x52eaeb!==_0x4e91da;},'AFQWm':_0x2ae982(0x158),'bIOJd':_0x2ae982(0x193)};return new Promise((_0x583e8b,_0x46506a)=>{const _0x11829b=_0x2ae982,_0x1f6cfe={'uJDTt':function(_0x592420,_0x383c76){return _0x29cd3f['uvwFZ'](_0x592420,_0x383c76);},'Xujwc':_0x29cd3f[_0x11829b(0x198)],'XgrEa':function(_0x497f13,_0x1acf70){const _0x18b7b2=_0x11829b;return _0x29cd3f[_0x18b7b2(0x1a3)](_0x497f13,_0x1acf70);},'BctDV':_0x29cd3f['PYTBP']};if(_0x29cd3f[_0x11829b(0x1c7)](_0x29cd3f[_0x11829b(0x1b8)],_0x29cd3f[_0x11829b(0x177)])){const _0xd0109b={};_0xd0109b[_0x11829b(0x1c6)]=_0x29cd3f[_0x11829b(0x178)],_0xd0109b[_0x11829b(0x1ba)]=_0x2c57e1;const _0x364850=new awsSDK[(_0x11829b(0x169))](_0xd0109b);_0x364850[_0x11829b(0x16c)]()[_0x11829b(0x14d)]()['then'](_0x43247d=>{const _0x539e7e=_0x11829b,_0x2074d0={'Blglo':function(_0x22d287,_0x55ef63){return _0x29cd3f['uvwFZ'](_0x22d287,_0x55ef63);}};_0x29cd3f[_0x539e7e(0x1a3)](_0x29cd3f[_0x539e7e(0x1eb)],_0x29cd3f['efHCe'])?_0x29cd3f[_0x539e7e(0x16f)](_0x583e8b,_0x43247d):(_0x4ff6ce['error'](_0x539e7e(0x153)+_0x56277c),_0x2074d0[_0x539e7e(0x1b3)](_0x1d86ee,_0x5e8b27));})[_0x11829b(0x183)](_0x3298b1=>{const _0x58bee8=_0x11829b,_0x4022f1={'WUGgt':function(_0x9156cf,_0x4b6fd4){const _0x473712=a25_0x5f0d;return _0x1f6cfe[_0x473712(0x18b)](_0x9156cf,_0x4b6fd4);},'iqrne':_0x1f6cfe['Xujwc']};if(_0x1f6cfe[_0x58bee8(0x146)](_0x1f6cfe['BctDV'],_0x1f6cfe[_0x58bee8(0x176)]))logger[_0x58bee8(0x171)](_0x58bee8(0x144)+_0x3298b1),_0x1f6cfe[_0x58bee8(0x18b)](_0x46506a,_0x3298b1);else{const _0x42c6cd={};_0x42c6cd[_0x58bee8(0x1c6)]=_0x4022f1[_0x58bee8(0x167)];const _0x4874fc=new _0x3349eb['EKS'](_0x42c6cd),_0x1b7bd4={};_0x1b7bd4[_0x58bee8(0x19f)]=_0x4a8de9,_0x4874fc['describeCluster'](_0x1b7bd4)[_0x58bee8(0x14d)]()[_0x58bee8(0x1f4)](_0x478094=>{const _0x290544=_0x58bee8;_0x4022f1[_0x290544(0x1de)](_0x1974d7,_0x478094[_0x290544(0x18e)]['identity'][_0x290544(0x17e)][_0x290544(0x172)]);})[_0x58bee8(0x183)](_0x484a09=>{const _0x39e24c=_0x58bee8;_0xc74925[_0x39e24c(0x171)](_0x39e24c(0x1c5)+_0x161ba8+':\x20'+_0x484a09),_0x4022f1[_0x39e24c(0x1de)](_0x3308f0,_0x484a09);});}});}else{const _0x8c121e={'EAcLU':function(_0x21367c,_0x407f35){const _0x3fb3c3=_0x11829b;return _0x29cd3f[_0x3fb3c3(0x16f)](_0x21367c,_0x407f35);}},_0xa9978d={};_0xa9978d[_0x11829b(0x1c6)]=_0x29cd3f[_0x11829b(0x178)],_0xa9978d[_0x11829b(0x1ba)]=_0x2811b2;const _0x86f29d=new _0xc2285f[(_0x11829b(0x169))](_0xa9978d);_0x86f29d[_0x11829b(0x168)]()[_0x11829b(0x14d)]()[_0x11829b(0x1f4)](_0xeead83=>{const _0x2795b1=_0x11829b;_0x8c121e[_0x2795b1(0x185)](_0x476bad,_0xeead83);})[_0x11829b(0x183)](_0x4fe7d2=>{const _0x46ad04=_0x11829b;_0x57f8d8['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x4fe7d2),_0x1f6cfe[_0x46ad04(0x18b)](_0x20e33d,_0x4fe7d2);});}});},exports[a25_0x516171(0x1af)]=()=>{const _0x35436d=a25_0x516171,_0x454e3f={'kHYci':function(_0x55010b,_0x31ba17){return _0x55010b(_0x31ba17);},'EmMVo':function(_0x4e026a,_0x3c5935){return _0x4e026a(_0x3c5935);},'cEidv':function(_0x1da5ca,_0x3fdb83){return _0x1da5ca===_0x3fdb83;},'gyyzS':_0x35436d(0x1ef),'mbslS':function(_0x583d02,_0x1f00fe){return _0x583d02!==_0x1f00fe;},'HJtJV':function(_0x1569fd,_0x267a22){return _0x1569fd!==_0x267a22;},'iFyRS':_0x35436d(0x1b4),'wlUqP':'yPMUI','yIEFd':function(_0x54392e,_0x260e51){return _0x54392e(_0x260e51);},'ZMhWE':function(_0xa0d6ee,_0x281382){return _0xa0d6ee===_0x281382;},'snGTv':_0x35436d(0x16a),'IYcKU':_0x35436d(0x1ae),'omHTf':function(_0x24e5ec,_0x1ac842){return _0x24e5ec===_0x1ac842;},'PJZrZ':_0x35436d(0x1b1),'KYOzI':_0x35436d(0x197),'Wygfu':function(_0x201fe5,_0x37bc54){return _0x201fe5(_0x37bc54);},'npXqt':_0x35436d(0x15a),'rUVNV':function(_0x5049bc,_0x8b0291){return _0x5049bc(_0x8b0291);},'HLWsr':_0x35436d(0x1d3),'hVcmp':_0x35436d(0x1ad)};return new Promise((_0x4d5708,_0x531653)=>{const _0xdc4a3e=_0x35436d,_0x418057={'GZyDb':function(_0x5db189,_0x520d56){return _0x454e3f['Wygfu'](_0x5db189,_0x520d56);},'UlkQH':_0x454e3f[_0xdc4a3e(0x181)],'QzqRs':function(_0x39a0af,_0x5dd42d){const _0x59788f=_0xdc4a3e;return _0x454e3f[_0x59788f(0x17d)](_0x39a0af,_0x5dd42d);}};if(_0x454e3f[_0xdc4a3e(0x1c9)](_0x454e3f['HLWsr'],_0x454e3f[_0xdc4a3e(0x1d9)]))_0x454e3f[_0xdc4a3e(0x1df)](_0x4ca706,_0xf903b0);else{const _0x43b84b={};_0x43b84b[_0xdc4a3e(0x1c6)]=_0x454e3f['npXqt'];const _0x24eef7=new awsSDK[(_0xdc4a3e(0x169))](_0x43b84b);_0x24eef7[_0xdc4a3e(0x145)]()[_0xdc4a3e(0x14d)]()[_0xdc4a3e(0x1f4)]((_0x285b88,_0x1938dc)=>{const _0x5a9891=_0xdc4a3e,_0x4c3f2e={'ChSLe':function(_0xf33c8e,_0x17e54d){return _0x454e3f['EmMVo'](_0xf33c8e,_0x17e54d);}};if(_0x454e3f[_0x5a9891(0x1c9)](_0x454e3f['gyyzS'],_0x454e3f[_0x5a9891(0x1e2)])){if(_0x454e3f['mbslS'](_0x285b88,undefined)&&_0x454e3f[_0x5a9891(0x165)](_0x285b88[_0x5a9891(0x1ee)],undefined)){if(_0x454e3f[_0x5a9891(0x1ac)](_0x454e3f[_0x5a9891(0x1a9)],_0x454e3f[_0x5a9891(0x17c)]))_0x454e3f[_0x5a9891(0x1ce)](_0x4d5708,_0x285b88[_0x5a9891(0x1ee)]);else{const _0x2a8eb9={'FSDTB':function(_0x38bb22,_0x321c39){const _0x515b4b=_0x5a9891;return _0x418057[_0x515b4b(0x186)](_0x38bb22,_0x321c39);}},_0x4da827={};_0x4da827[_0x5a9891(0x1c6)]=_0x418057[_0x5a9891(0x199)],_0x4da827[_0x5a9891(0x1ba)]=_0x42d922;const _0x57702d=new _0x2992c9[(_0x5a9891(0x169))](_0x4da827);_0x57702d[_0x5a9891(0x16c)]()[_0x5a9891(0x14d)]()[_0x5a9891(0x1f4)](_0xb9ab1e=>{const _0x3aa601=_0x5a9891;_0x4c3f2e[_0x3aa601(0x152)](_0x2325d9,_0xb9ab1e);})[_0x5a9891(0x183)](_0x5cdf0b=>{const _0x4d8dda=_0x5a9891;_0x155d0c[_0x4d8dda(0x171)](_0x4d8dda(0x144)+_0x5cdf0b),_0x2a8eb9[_0x4d8dda(0x189)](_0x4de145,_0x5cdf0b);});}}else _0x454e3f['ZMhWE'](_0x454e3f['snGTv'],_0x454e3f['IYcKU'])?_0x418057['QzqRs'](_0x4e7873,_0x56746d[_0x5a9891(0x18e)]['identity'][_0x5a9891(0x17e)][_0x5a9891(0x172)]):_0x454e3f[_0x5a9891(0x1c8)](_0x4d5708,{});}else{const _0x565621={'oimID':function(_0x5bd22f,_0x116d5a){const _0x40f2b1=_0x5a9891;return _0x418057[_0x40f2b1(0x1cb)](_0x5bd22f,_0x116d5a);},'iHfPG':function(_0x4b2ec1,_0x19b3af){const _0x51b7d3=_0x5a9891;return _0x418057[_0x51b7d3(0x186)](_0x4b2ec1,_0x19b3af);}},_0x32081a=new _0x56b996['S3']();return new _0x445b10((_0x7ef40d,_0x1b8a14)=>{const _0x534872=_0x5a9891,_0xfb3bba={};_0xfb3bba[_0x534872(0x196)]=_0x4c38d3,_0x32081a[_0x534872(0x161)](_0xfb3bba)[_0x534872(0x14d)]()[_0x534872(0x1f4)](_0x5ccfa9=>{const _0x2dc7e8=_0x534872;_0x4d9cc7[_0x2dc7e8(0x17b)]('Bucket:\x20'+_0x5d1548+_0x2dc7e8(0x1e7)),_0x565621['oimID'](_0x7ef40d,!![]);})[_0x534872(0x183)](()=>{const _0x3d68f0=_0x534872;_0x232459[_0x3d68f0(0x1a6)](_0x3d68f0(0x173)+_0x2fee28+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x565621[_0x3d68f0(0x191)](_0x7ef40d,![]);});});}})[_0xdc4a3e(0x183)](_0x3097d4=>{const _0x921672=_0xdc4a3e,_0x287f76={'YDVEN':function(_0x3927d1,_0x3b3acc){return _0x454e3f['yIEFd'](_0x3927d1,_0x3b3acc);}};_0x454e3f['omHTf'](_0x454e3f[_0x921672(0x166)],_0x454e3f['KYOzI'])?_0x287f76['YDVEN'](_0x1b98b4,_0xf298de):(logger[_0x921672(0x171)](_0x921672(0x1c2)+_0x3097d4),_0x454e3f[_0x921672(0x1ce)](_0x531653,_0x3097d4));});}});},exports['getOidcUrl']=_0x41a29a=>{const _0x46ae70=a25_0x516171,_0x150e77={'uZCvm':function(_0x40d034,_0x2f4d4f){return _0x40d034(_0x2f4d4f);},'omFlQ':function(_0xfdc764,_0x34282a){return _0xfdc764(_0x34282a);},'FbrPZ':function(_0x5262f3,_0x31fff6){return _0x5262f3!==_0x31fff6;},'UEyBN':_0x46ae70(0x1a7),'Sarlz':'2016-11-15','woeXd':_0x46ae70(0x147),'PFttH':_0x46ae70(0x16d),'fzxmg':function(_0x1e6182,_0x58dd57){return _0x1e6182(_0x58dd57);},'qyudQ':function(_0x3d0ffc,_0x5f5c5c){return _0x3d0ffc===_0x5f5c5c;},'gygCB':_0x46ae70(0x1d6),'EIqYG':_0x46ae70(0x18d),'zuCuy':_0x46ae70(0x15c)};return new Promise((_0x270950,_0x136100)=>{const _0x5d7b1c=_0x46ae70,_0x334158={'rZvvN':function(_0x267995,_0xf9612b){const _0x552cd9=a25_0x5f0d;return _0x150e77[_0x552cd9(0x156)](_0x267995,_0xf9612b);},'SVOfj':_0x150e77[_0x5d7b1c(0x19d)],'OAAqX':function(_0xd06049,_0x521ad3){const _0x37528d=_0x5d7b1c;return _0x150e77[_0x37528d(0x1a8)](_0xd06049,_0x521ad3);},'LWEzU':_0x150e77[_0x5d7b1c(0x160)],'VinVr':_0x150e77[_0x5d7b1c(0x195)],'lHUxi':function(_0x57deaa,_0x4e6841){const _0x33ab98=_0x5d7b1c;return _0x150e77[_0x33ab98(0x1ed)](_0x57deaa,_0x4e6841);}};if(_0x150e77[_0x5d7b1c(0x149)](_0x150e77['gygCB'],_0x150e77['EIqYG']))_0x150e77['uZCvm'](_0x271a04,{});else{const _0x58a50c={};_0x58a50c[_0x5d7b1c(0x1c6)]=_0x150e77[_0x5d7b1c(0x1be)];const _0x13dd2d=new awsSDK[(_0x5d7b1c(0x1f7))](_0x58a50c),_0x455c5f={};_0x455c5f['name']=_0x41a29a,_0x13dd2d[_0x5d7b1c(0x1c1)](_0x455c5f)[_0x5d7b1c(0x14d)]()[_0x5d7b1c(0x1f4)](_0x4dc836=>{const _0x2299f1=_0x5d7b1c,_0x2921fc={'mvMQM':function(_0x5da011,_0x4c8aee){return _0x334158['rZvvN'](_0x5da011,_0x4c8aee);},'tvByD':function(_0x1c9d82,_0xe87769){return _0x334158['rZvvN'](_0x1c9d82,_0xe87769);},'qJfuO':_0x334158[_0x2299f1(0x1db)]};if(_0x334158['OAAqX'](_0x334158['LWEzU'],_0x334158[_0x2299f1(0x1b2)]))_0x334158[_0x2299f1(0x1bf)](_0x270950,_0x4dc836[_0x2299f1(0x18e)][_0x2299f1(0x14a)][_0x2299f1(0x17e)][_0x2299f1(0x172)]);else{const _0x2d0d2b={'zxBpK':function(_0x535607,_0x28307d){const _0x1f7b17=_0x2299f1;return _0x2921fc[_0x1f7b17(0x1dd)](_0x535607,_0x28307d);},'WpXEn':function(_0x336794,_0x1f959e){const _0x558845=_0x2299f1;return _0x2921fc[_0x558845(0x1cc)](_0x336794,_0x1f959e);},'dCReO':_0x2921fc[_0x2299f1(0x1bc)]};return new _0x11f3b((_0x3737d5,_0x2a6935)=>{const _0xc60754=_0x2299f1,_0x4e80d1={'mluJX':function(_0xbc613b,_0x513d04){return _0x2d0d2b['WpXEn'](_0xbc613b,_0x513d04);}},_0x5bee06={};_0x5bee06[_0xc60754(0x1c6)]=_0x2d0d2b[_0xc60754(0x1e1)],_0x5bee06[_0xc60754(0x1ba)]=_0x535033;const _0x207af5=new _0x5e1048[(_0xc60754(0x169))](_0x5bee06);_0x207af5[_0xc60754(0x16c)]()[_0xc60754(0x14d)]()[_0xc60754(0x1f4)](_0x1acfea=>{_0x2d0d2b['zxBpK'](_0x3737d5,_0x1acfea);})['catch'](_0x3cda4e=>{const _0xac5616=_0xc60754;_0x19fe7c[_0xac5616(0x171)](_0xac5616(0x144)+_0x3cda4e),_0x4e80d1[_0xac5616(0x175)](_0x2a6935,_0x3cda4e);});});}})[_0x5d7b1c(0x183)](_0x4cb26c=>{const _0x2fd3e6=_0x5d7b1c,_0x434a46={'FnfyF':function(_0x558862,_0x102127){const _0x2f67a7=a25_0x5f0d;return _0x150e77[_0x2f67a7(0x156)](_0x558862,_0x102127);}};_0x150e77['FbrPZ'](_0x150e77[_0x2fd3e6(0x19e)],_0x150e77[_0x2fd3e6(0x19e)])?(_0x414404[_0x2fd3e6(0x171)](_0x2fd3e6(0x1ec)+_0x13a903),_0x434a46[_0x2fd3e6(0x1e0)](_0x5cfffb,_0x844ff1)):(logger['error'](_0x2fd3e6(0x1c5)+_0x41a29a+':\x20'+_0x4cb26c),_0x150e77[_0x2fd3e6(0x156)](_0x136100,_0x4cb26c));});}});},exports[a25_0x516171(0x1d4)]=awsSDK;
|
|
1
|
+
function a25_0x3940(_0xe6153e,_0x14cda0){const _0x51f178=a25_0x51f1();return a25_0x3940=function(_0x3940ea,_0x3d5d84){_0x3940ea=_0x3940ea-0x1cc;let _0x212b3d=_0x51f178[_0x3940ea];return _0x212b3d;},a25_0x3940(_0xe6153e,_0x14cda0);}const a25_0x3c24c3=a25_0x3940;(function(_0x8c22ca,_0x5bdebc){const _0x2cc9bd=a25_0x3940,_0x168b84=_0x8c22ca();while(!![]){try{const _0x4c6c90=parseInt(_0x2cc9bd(0x1d0))/0x1+-parseInt(_0x2cc9bd(0x249))/0x2*(-parseInt(_0x2cc9bd(0x1d3))/0x3)+-parseInt(_0x2cc9bd(0x228))/0x4+parseInt(_0x2cc9bd(0x26c))/0x5+-parseInt(_0x2cc9bd(0x25a))/0x6+-parseInt(_0x2cc9bd(0x200))/0x7+parseInt(_0x2cc9bd(0x258))/0x8;if(_0x4c6c90===_0x5bdebc)break;else _0x168b84['push'](_0x168b84['shift']());}catch(_0x3b4f07){_0x168b84['push'](_0x168b84['shift']());}}}(a25_0x51f1,0x2fa43));const awsSDK=require(a25_0x3c24c3(0x225)),{logger}=require(a25_0x3c24c3(0x210));function a25_0x51f1(){const _0x54f3c1=['pWAZo','jEXCc','fetchSubnets','ahUkT','ofRll','PjHqD','vPiAB','vZdap','name','eJRlI','ejhas','zneSh','2761144NwfsSj','Ynklo','2168784WPrCdl','QxCoT','VGSQK','upZfY','zsRRC','uXLXJ','AgVbe','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','UfmlN','Bucket:\x20','JWzhI','MCkdP','dritQ','CGeHN','hBJKq','oZzuV','uJutm','kaEQO','835720UKnzeC','fyZjs','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','Mfyrf','ecBSh','Uokud','DImYN','FWvaw','describeSecurityGroups','jTLWd','wZtTw','srWdk','Pijzu','CdfoL','XzUaO','FsXRk','AUyhu','xViwz','describeSubnets','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','XVcoM','UGrez','oYLGy','euqbd','gFgnd','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','IlbVk','kJBOb','112585qMVfAe','ecQmy','XdoIR','21InNuqJ','DBiPz','GkLhP','cluster','geVBF','BxxVX','HBRvR','oBGzt','YOdbt','QMisp','usYWP','Srelh','hJrQY','oidc','CUwad','XXwzv','FkvhE','pgjWJ','eUthw','jdQUD','NNaoA','ikgfX','qscqy','apiVersion','HuGAX','EC2','fGBtU','QSDXf','sShdH','then','kqEDD','catch','JKmIx','IBPkd','PGLZD','fetchSecurityGroups','PLmOC','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','wLwed','identity','fVhfO','nJmoG','uoGmt','puUxM','getOidcUrl','2349382bsMCXL','gntzP','warn','odkfc','aauCc','QoAMW','mGsIm','EgIFH','EyHjM','rDBrt','OPxTv','bgqqU','GpEXn','YyMyw','isBucketPresent','awsObj','../config/logger','Regions','jLweU','KrfIJ','HBVfj','tCxux','DiAGX','PtESh','KRLKJ','sinaj','describeCluster','xTCJC','uwfLF','LMnIT','Xhlde','issuer','suScd','kAZxZ','PRfrP','uSxAY','BZXKN','aws-sdk','Bucket','eIWQp','289328HlipZu','region','edUXt','lTWKt','ZQrrN','ZKlpz','BuiJC','nMycU','JoPYV','yGnvm','2016-11-15','headBucket','WMFry','promise','Zbivz','fhCNa','EKS','error','NVXft','tdrfO','KnpJu','kGycy','describeVpcs','mCiHd','hGbwD','2017-11-01','voHCM','OVgZo','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','PesEj','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','iXKOf','ssxWi','97054PBnVwC','TMZEP','info'];a25_0x51f1=function(){return _0x54f3c1;};return a25_0x51f1();}exports['fetchVPCs']=_0x35fceb=>{const _0x5be8b2=a25_0x3c24c3,_0x9a5615={'usYWP':function(_0xa4272f,_0x2b0691){return _0xa4272f(_0x2b0691);},'kaEQO':'2016-11-15','eJRlI':function(_0x31cf2d,_0x579992){return _0x31cf2d===_0x579992;},'iXKOf':_0x5be8b2(0x264),'voHCM':_0x5be8b2(0x267),'EyHjM':function(_0x1a6c2e,_0x1fa08a){return _0x1a6c2e(_0x1fa08a);},'oQzWz':function(_0x3778b7,_0x3c252b){return _0x3778b7(_0x3c252b);},'Jhrlv':function(_0x2acd90,_0x9698b1){return _0x2acd90!==_0x9698b1;},'ssxWi':_0x5be8b2(0x22b),'BxxVX':function(_0x4ae950,_0x4d6aa6){return _0x4ae950(_0x4d6aa6);},'xTCJC':function(_0x246a9b,_0x5f3370){return _0x246a9b===_0x5f3370;},'OHcvM':_0x5be8b2(0x217),'yGnvm':_0x5be8b2(0x1e4)};return new Promise((_0xaaab0f,_0x26040e)=>{const _0xb9883e=_0x5be8b2,_0x573a55={'BuiJC':function(_0x2fe257,_0x350028){const _0x21171b=a25_0x3940;return _0x9a5615[_0x21171b(0x208)](_0x2fe257,_0x350028);},'uSxAY':function(_0x5e13fc,_0x5aa1f9){return _0x9a5615['oQzWz'](_0x5e13fc,_0x5aa1f9);},'vPiAB':function(_0x194483,_0x4fd5f6){return _0x9a5615['Jhrlv'](_0x194483,_0x4fd5f6);},'UGrez':_0x9a5615[_0xb9883e(0x248)],'BZXKN':function(_0x46eaba,_0x5e994d){const _0x4ca412=_0xb9883e;return _0x9a5615[_0x4ca412(0x1d8)](_0x46eaba,_0x5e994d);}};if(_0x9a5615[_0xb9883e(0x21b)](_0x9a5615['OHcvM'],_0x9a5615[_0xb9883e(0x231)]))_0x19472a['info']('Bucket:\x20'+_0x574d48+_0xb9883e(0x261)),_0x9a5615[_0xb9883e(0x1dd)](_0xf4a787,![]);else{const _0xba5d4a={};_0xba5d4a[_0xb9883e(0x1ea)]=_0x9a5615[_0xb9883e(0x26b)],_0xba5d4a[_0xb9883e(0x229)]=_0x35fceb;const _0x3657e2=new awsSDK[(_0xb9883e(0x1ec))](_0xba5d4a);_0x3657e2[_0xb9883e(0x23e)]()['promise']()['then'](_0x212b11=>{const _0x129572=_0xb9883e,_0x3d6649={};_0x3d6649[_0x129572(0x20c)]=_0x9a5615[_0x129572(0x26b)];const _0x24cbdb=_0x3d6649;if(_0x9a5615[_0x129572(0x255)](_0x9a5615[_0x129572(0x247)],_0x9a5615[_0x129572(0x242)])){const _0x30d3f0={'OPxTv':function(_0x1bc12e,_0x5898a9){const _0x1a9cfd=_0x129572;return _0x573a55[_0x1a9cfd(0x22e)](_0x1bc12e,_0x5898a9);},'JoPYV':function(_0x29caf0,_0xe8ec1e){return _0x573a55['BuiJC'](_0x29caf0,_0xe8ec1e);}};return new _0x2b4685((_0xa6d254,_0x1cd83e)=>{const _0x1e0abf=_0x129572,_0x57bdfa={};_0x57bdfa[_0x1e0abf(0x1ea)]=_0x24cbdb[_0x1e0abf(0x20c)],_0x57bdfa[_0x1e0abf(0x229)]=_0x207d2d;const _0x519320=new _0x445a88['EC2'](_0x57bdfa);_0x519320[_0x1e0abf(0x274)]()['promise']()[_0x1e0abf(0x1f0)](_0x43d371=>{const _0x470177=_0x1e0abf;_0x30d3f0[_0x470177(0x20a)](_0xa6d254,_0x43d371);})[_0x1e0abf(0x1f2)](_0xd2d3aa=>{const _0x27908a=_0x1e0abf;_0x2ffe4a['error'](_0x27908a(0x246)+_0xd2d3aa),_0x30d3f0[_0x27908a(0x230)](_0x1cd83e,_0xd2d3aa);});});}else _0x9a5615[_0x129572(0x208)](_0xaaab0f,_0x212b11);})['catch'](_0x1028ae=>{const _0x1748ff=_0xb9883e,_0x37ee3f={'geVBF':function(_0x31a26b,_0x47e80b){const _0x2ae128=a25_0x3940;return _0x573a55[_0x2ae128(0x223)](_0x31a26b,_0x47e80b);}};if(_0x573a55[_0x1748ff(0x252)](_0x573a55[_0x1748ff(0x281)],_0x573a55[_0x1748ff(0x281)])){const _0x43fdfd={'Xhlde':function(_0x2b6f63,_0x5bfcd3){const _0x75bd15=_0x1748ff;return _0x37ee3f[_0x75bd15(0x1d7)](_0x2b6f63,_0x5bfcd3);},'lRaiP':function(_0x103328,_0x8883a3){return _0x37ee3f['geVBF'](_0x103328,_0x8883a3);}},_0x13781e=new _0x4f5afd['S3']();return new _0x23ed94((_0x4aed1a,_0x10975e)=>{const _0x32ef35=_0x1748ff,_0x389130={};_0x389130['Bucket']=_0x301914,_0x13781e['headBucket'](_0x389130)[_0x32ef35(0x235)]()[_0x32ef35(0x1f0)](_0xf0e0df=>{const _0x2706ca=_0x32ef35;_0x335a5a[_0x2706ca(0x202)]('Bucket:\x20'+_0x4ba294+_0x2706ca(0x1f8)),_0x43fdfd[_0x2706ca(0x21e)](_0x4aed1a,!![]);})[_0x32ef35(0x1f2)](()=>{const _0x1c8c62=_0x32ef35;_0x43160f[_0x1c8c62(0x24b)](_0x1c8c62(0x263)+_0x3d1433+_0x1c8c62(0x261)),_0x43fdfd['lRaiP'](_0x4aed1a,![]);});});}else logger[_0x1748ff(0x239)](_0x1748ff(0x27f)+_0x1028ae),_0x573a55[_0x1748ff(0x224)](_0x26040e,_0x1028ae);});}});},exports[a25_0x3c24c3(0x20e)]=_0x3ffc20=>{const _0x2f2b6b=a25_0x3c24c3,_0x5a8de2={'ecQmy':function(_0x31879d,_0x2ee7be){return _0x31879d!==_0x2ee7be;},'HuGAX':function(_0xd08f3e,_0x521c18){return _0xd08f3e(_0x521c18);},'nJmoG':function(_0x3e9f06,_0x502227){return _0x3e9f06===_0x502227;},'KnpJu':'hUTsQ','jJQEu':_0x2f2b6b(0x27c),'oZzuV':function(_0x240aba,_0x23bfdd){return _0x240aba(_0x23bfdd);},'ofRll':_0x2f2b6b(0x232),'YyMyw':function(_0x3d991f,_0x3b4e38){return _0x3d991f!==_0x3b4e38;},'QoAMW':_0x2f2b6b(0x26a),'JKmIx':function(_0x3346ce,_0x84d109){return _0x3346ce(_0x84d109);},'upZfY':'wSEoT','EinkM':_0x2f2b6b(0x25e)},_0x336cc8=new awsSDK['S3']();return new Promise((_0x253cad,_0x1b5e1f)=>{const _0x11950a=_0x2f2b6b,_0x19ff34={'hGbwD':function(_0xed3653,_0x566d3d){const _0xf067a5=a25_0x3940;return _0x5a8de2[_0xf067a5(0x269)](_0xed3653,_0x566d3d);},'UfmlN':function(_0x3d6c37,_0x25d65b){const _0x364517=a25_0x3940;return _0x5a8de2[_0x364517(0x269)](_0x3d6c37,_0x25d65b);},'QxCoT':_0x5a8de2[_0x11950a(0x250)],'XVcoM':function(_0x2b35f6,_0x2d362d){const _0x444652=_0x11950a;return _0x5a8de2[_0x444652(0x20d)](_0x2b35f6,_0x2d362d);},'qscqy':_0x5a8de2[_0x11950a(0x205)],'oBGzt':function(_0x38cebe,_0x323e96){const _0x1b1373=_0x11950a;return _0x5a8de2[_0x1b1373(0x1f3)](_0x38cebe,_0x323e96);}};if(_0x5a8de2['nJmoG'](_0x5a8de2[_0x11950a(0x25d)],_0x5a8de2['EinkM']))_0xc3af11[_0x11950a(0x239)](_0x11950a(0x1cd)+_0xe33b1c),_0x19ff34[_0x11950a(0x240)](_0x4726fa,_0x3600c0);else{const _0x2b945d={};_0x2b945d[_0x11950a(0x226)]=_0x3ffc20,_0x336cc8[_0x11950a(0x233)](_0x2b945d)[_0x11950a(0x235)]()['then'](_0x317b06=>{const _0x3d24a7=_0x11950a,_0x2e4721={'dritQ':function(_0x1a7104,_0x30985c){const _0x912314=a25_0x3940;return _0x19ff34[_0x912314(0x262)](_0x1a7104,_0x30985c);},'oYLGy':_0x19ff34[_0x3d24a7(0x25b)]};if(_0x19ff34[_0x3d24a7(0x280)](_0x19ff34[_0x3d24a7(0x1e9)],_0x19ff34['qscqy'])){const _0x4ad6ce={'jRLcH':function(_0x1ae394,_0x400728){const _0x13b91d=_0x3d24a7;return _0x2e4721[_0x13b91d(0x266)](_0x1ae394,_0x400728);},'DXxOM':_0x2e4721[_0x3d24a7(0x282)]};return new _0x10697e((_0x529e5c,_0x21a102)=>{const _0x3f53fd=_0x3d24a7,_0xa4cb57={'LgAIC':function(_0xe67e20,_0x6b22bd){return _0x4ad6ce['jRLcH'](_0xe67e20,_0x6b22bd);}},_0x54dcf0={};_0x54dcf0[_0x3f53fd(0x1ea)]=_0x4ad6ce['DXxOM'],_0x54dcf0[_0x3f53fd(0x229)]=_0x3ffbe9;const _0x44fe08=new _0x499050[(_0x3f53fd(0x1ec))](_0x54dcf0);_0x44fe08[_0x3f53fd(0x23e)]()[_0x3f53fd(0x235)]()[_0x3f53fd(0x1f0)](_0x7c8cf9=>{_0xa4cb57['LgAIC'](_0x529e5c,_0x7c8cf9);})[_0x3f53fd(0x1f2)](_0x1c479d=>{const _0x14057d=_0x3f53fd;_0x129a1f['error'](_0x14057d(0x27f)+_0x1c479d),_0x4ad6ce['jRLcH'](_0x21a102,_0x1c479d);});});}else logger[_0x3d24a7(0x202)](_0x3d24a7(0x263)+_0x3ffc20+_0x3d24a7(0x1f8)),_0x19ff34[_0x3d24a7(0x1da)](_0x253cad,!![]);})[_0x11950a(0x1f2)](()=>{const _0x3a5e2a=_0x11950a,_0x45e158={'nHcin':function(_0x380da5,_0x2b000e){const _0x3a2b28=a25_0x3940;return _0x5a8de2[_0x3a2b28(0x1d1)](_0x380da5,_0x2b000e);},'CdfoL':function(_0x4c1d98,_0x54b7f9){const _0x24aa1a=a25_0x3940;return _0x5a8de2[_0x24aa1a(0x1d1)](_0x4c1d98,_0x54b7f9);},'zeric':function(_0x248b5f,_0x3fb711){const _0x2d94ab=a25_0x3940;return _0x5a8de2[_0x2d94ab(0x1eb)](_0x248b5f,_0x3fb711);},'HBVfj':function(_0x46261e,_0x555719){return _0x5a8de2['HuGAX'](_0x46261e,_0x555719);}};_0x5a8de2[_0x3a5e2a(0x1fc)](_0x5a8de2[_0x3a5e2a(0x23c)],_0x5a8de2['jJQEu'])?_0x45e158['nHcin'](_0x1985a8,_0x52bc70)&&_0x45e158[_0x3a5e2a(0x279)](_0x3e5a25['Regions'],_0xaad275)?_0x45e158['zeric'](_0xb7a2fc,_0x193a29[_0x3a5e2a(0x211)]):_0x45e158[_0x3a5e2a(0x214)](_0x388296,{}):(logger[_0x3a5e2a(0x24b)](_0x3a5e2a(0x263)+_0x3ffc20+_0x3a5e2a(0x261)),_0x5a8de2['HuGAX'](_0x253cad,![]));});}});},exports[a25_0x3c24c3(0x24e)]=_0x594569=>{const _0x3d86f8=a25_0x3c24c3,_0xc5494={'Hgqtr':function(_0x3dac9d,_0x442784){return _0x3dac9d(_0x442784);},'EgIFH':function(_0x4edd54,_0x4ca7d2){return _0x4edd54===_0x4ca7d2;},'Ynklo':_0x3d86f8(0x1dc),'NLGUP':_0x3d86f8(0x212),'IlbVk':function(_0xaa8bc1,_0x43bfda){return _0xaa8bc1(_0x43bfda);},'eIWQp':'2016-11-15','hJrQY':function(_0x4af039,_0x3fc19d){return _0x4af039(_0x3fc19d);},'FsXRk':'2017-11-01','PLmOC':function(_0x3e3e80,_0x4e837b){return _0x3e3e80(_0x4e837b);},'HBRvR':function(_0x2c9a09,_0x11dc1b){return _0x2c9a09!==_0x11dc1b;},'rDBrt':_0x3d86f8(0x1e3),'DBiPz':'LrBXL','REVKl':function(_0x3cf115,_0xf97939){return _0x3cf115!==_0xf97939;},'IBPkd':'GFKjO','Kvefo':'NolYf'};return new Promise((_0x3a4de9,_0x44addd)=>{const _0x3963f8=_0x3d86f8,_0x215aab={'sShdH':function(_0x4fdc1e,_0x369117){const _0x4c87b2=a25_0x3940;return _0xc5494[_0x4c87b2(0x1df)](_0x4fdc1e,_0x369117);},'fyZjs':_0xc5494[_0x3963f8(0x27b)],'tCxux':function(_0x2de8f2,_0x3ae1ab){const _0x210289=_0x3963f8;return _0xc5494[_0x210289(0x1f7)](_0x2de8f2,_0x3ae1ab);},'tdrfO':function(_0x4ec9af,_0x56c4b7){const _0x20088a=_0x3963f8;return _0xc5494[_0x20088a(0x1d9)](_0x4ec9af,_0x56c4b7);},'XXwzv':_0xc5494[_0x3963f8(0x209)],'puUxM':_0xc5494[_0x3963f8(0x1d4)]};if(_0xc5494['REVKl'](_0xc5494[_0x3963f8(0x1f4)],_0xc5494['Kvefo'])){const _0x229d6a={};_0x229d6a[_0x3963f8(0x1ea)]=_0xc5494[_0x3963f8(0x227)],_0x229d6a[_0x3963f8(0x229)]=_0x594569;const _0x3b4b65=new awsSDK['EC2'](_0x229d6a);_0x3b4b65['describeSubnets']()[_0x3963f8(0x235)]()[_0x3963f8(0x1f0)](_0x5324fc=>{const _0x4c3a4b=_0x3963f8,_0x4b41d8={'jTLWd':function(_0x30e77b,_0x274fbb){return _0xc5494['Hgqtr'](_0x30e77b,_0x274fbb);}};_0xc5494[_0x4c3a4b(0x207)](_0xc5494[_0x4c3a4b(0x259)],_0xc5494['NLGUP'])?_0x4b41d8[_0x4c3a4b(0x275)](_0xf9fe6a,{}):_0xc5494[_0x4c3a4b(0x1ce)](_0x3a4de9,_0x5324fc);})[_0x3963f8(0x1f2)](_0x3442e6=>{const _0x1bd6c0=_0x3963f8,_0x140071={'QSDXf':function(_0x59d5f9,_0x5d29f3){const _0x1e4a10=a25_0x3940;return _0x215aab[_0x1e4a10(0x215)](_0x59d5f9,_0x5d29f3);}};if(_0x215aab[_0x1bd6c0(0x23b)](_0x215aab[_0x1bd6c0(0x1e2)],_0x215aab[_0x1bd6c0(0x1fe)]))logger[_0x1bd6c0(0x239)](_0x1bd6c0(0x1cd)+_0x3442e6),_0x215aab[_0x1bd6c0(0x1ef)](_0x44addd,_0x3442e6);else{const _0x34e7cd={'XdoIR':function(_0x582b08,_0x407f7c){const _0x2302da=_0x1bd6c0;return _0x215aab[_0x2302da(0x1ef)](_0x582b08,_0x407f7c);}},_0x40d4cc={};_0x40d4cc[_0x1bd6c0(0x1ea)]=_0x215aab[_0x1bd6c0(0x26d)];const _0x46e6cf=new _0x55fe13['EKS'](_0x40d4cc),_0x5a0436={};_0x5a0436['name']=_0x48758f,_0x46e6cf[_0x1bd6c0(0x21a)](_0x5a0436)[_0x1bd6c0(0x235)]()['then'](_0x4c15cd=>{const _0x4a36e0=_0x1bd6c0;_0x34e7cd[_0x4a36e0(0x1d2)](_0x56a96a,_0x4c15cd['cluster'][_0x4a36e0(0x1fa)][_0x4a36e0(0x1e0)][_0x4a36e0(0x21f)]);})[_0x1bd6c0(0x1f2)](_0x140612=>{const _0x407dd9=_0x1bd6c0;_0x2c6c35[_0x407dd9(0x239)](_0x407dd9(0x26e)+_0x7aed36+':\x20'+_0x140612),_0x140071[_0x407dd9(0x1ee)](_0x3f80a9,_0x140612);});}});}else{const _0x2e982a={'tWtSs':function(_0x5b0032,_0x10df04){const _0x5966a1=_0x3963f8;return _0xc5494[_0x5966a1(0x1ce)](_0x5b0032,_0x10df04);}},_0x5b9ead={};_0x5b9ead['apiVersion']=_0xc5494[_0x3963f8(0x227)],_0x5b9ead[_0x3963f8(0x229)]=_0x393146;const _0x10ed4d=new _0x164c5e['EC2'](_0x5b9ead);_0x10ed4d[_0x3963f8(0x274)]()[_0x3963f8(0x235)]()[_0x3963f8(0x1f0)](_0x51f15f=>{const _0x404124=_0x3963f8;_0x215aab[_0x404124(0x1ef)](_0x538549,_0x51f15f);})[_0x3963f8(0x1f2)](_0x4e5923=>{const _0x3050d7=_0x3963f8;_0x1944aa[_0x3050d7(0x239)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x4e5923),_0x2e982a['tWtSs'](_0x568929,_0x4e5923);});}});},exports[a25_0x3c24c3(0x1f6)]=_0x6d941a=>{const _0x366518=a25_0x3c24c3,_0xcafc27={'Zbivz':function(_0x45580a,_0x45ccbe){return _0x45580a(_0x45ccbe);},'kGycy':'2016-11-15','KRLKJ':function(_0x1ea016,_0x45f700){return _0x1ea016(_0x45f700);},'fVhfO':function(_0x541fa4,_0x29e7a5){return _0x541fa4(_0x29e7a5);},'hBJKq':function(_0x5e3204,_0x39d73a){return _0x5e3204===_0x39d73a;},'Mfyrf':'tjvES','GkLhP':_0x366518(0x237),'nMycU':function(_0x140b5c,_0x462b96){return _0x140b5c!==_0x462b96;},'jdQUD':_0x366518(0x1e8),'GJSYL':_0x366518(0x221),'wLwed':function(_0x320732,_0x3695cd){return _0x320732===_0x3695cd;},'ahUkT':'EIOAu','QnyLs':'Pqrju'};return new Promise((_0x21b12e,_0x2da74b)=>{const _0x5738a1=_0x366518,_0xca3639={'rQgAf':function(_0x451cc2,_0x51df17){const _0x219c62=a25_0x3940;return _0xcafc27[_0x219c62(0x218)](_0x451cc2,_0x51df17);},'jEXCc':function(_0x371dd6,_0x5a2e1c){const _0x56a770=a25_0x3940;return _0xcafc27[_0x56a770(0x1fb)](_0x371dd6,_0x5a2e1c);},'Uokud':_0xcafc27[_0x5738a1(0x23d)],'ZYWtF':function(_0x4bcb4f,_0x4976d0){const _0x478018=_0x5738a1;return _0xcafc27[_0x478018(0x268)](_0x4bcb4f,_0x4976d0);},'MtJZA':_0xcafc27[_0x5738a1(0x26f)],'uoGmt':_0xcafc27[_0x5738a1(0x1d5)],'ZKlpz':function(_0x17386c,_0x282346){const _0x3b4e74=_0x5738a1;return _0xcafc27[_0x3b4e74(0x22f)](_0x17386c,_0x282346);},'sinaj':_0xcafc27[_0x5738a1(0x1e6)],'PjHqD':_0xcafc27['GJSYL']};if(_0xcafc27[_0x5738a1(0x1f9)](_0xcafc27[_0x5738a1(0x24f)],_0xcafc27['QnyLs'])){const _0x105eb2={'fGBtU':function(_0x420b2d,_0x23010f){const _0x2a9b5e=_0x5738a1;return _0xcafc27[_0x2a9b5e(0x236)](_0x420b2d,_0x23010f);}},_0x1994c0={};_0x1994c0['apiVersion']=_0xcafc27[_0x5738a1(0x23d)],_0x1994c0[_0x5738a1(0x229)]=_0x360d63;const _0x165061=new _0x3a888e[(_0x5738a1(0x1ec))](_0x1994c0);_0x165061[_0x5738a1(0x23e)]()['promise']()['then'](_0x1ffee5=>{const _0xcb00e1=_0x5738a1;_0x105eb2[_0xcb00e1(0x1ed)](_0x356691,_0x1ffee5);})[_0x5738a1(0x1f2)](_0x323971=>{const _0x42f33f=_0x5738a1;_0x36ba66[_0x42f33f(0x239)](_0x42f33f(0x27f)+_0x323971),_0xca3639['rQgAf'](_0x4811c4,_0x323971);});}else{const _0x50858b={};_0x50858b[_0x5738a1(0x1ea)]=_0xcafc27['kGycy'],_0x50858b['region']=_0x6d941a;const _0x355f14=new awsSDK[(_0x5738a1(0x1ec))](_0x50858b);_0x355f14['describeSecurityGroups']()['promise']()[_0x5738a1(0x1f0)](_0x4e878f=>{const _0x2c1fec=_0x5738a1,_0x5dc169={'DHQje':function(_0x9135eb,_0x35248b){const _0x1feebe=a25_0x3940;return _0xca3639[_0x1feebe(0x24d)](_0x9135eb,_0x35248b);},'bgqqU':function(_0x307361,_0x3cdd33){const _0x1ef07c=a25_0x3940;return _0xca3639[_0x1ef07c(0x24d)](_0x307361,_0x3cdd33);},'lFOQH':_0xca3639[_0x2c1fec(0x271)]};if(_0xca3639['ZYWtF'](_0xca3639['MtJZA'],_0xca3639[_0x2c1fec(0x1fd)])){const _0x5c3a10={'mEPSp':function(_0x53805f,_0x5a9efc){return _0x5dc169['DHQje'](_0x53805f,_0x5a9efc);},'sHepR':function(_0x2b2fcd,_0x48faab){const _0x83bc17=_0x2c1fec;return _0x5dc169[_0x83bc17(0x20b)](_0x2b2fcd,_0x48faab);}},_0x423f26={};_0x423f26[_0x2c1fec(0x1ea)]=_0x5dc169['lFOQH'],_0x423f26['region']=_0xab6b74;const _0x329b35=new _0x5a548e['EC2'](_0x423f26);_0x329b35['describeSubnets']()[_0x2c1fec(0x235)]()[_0x2c1fec(0x1f0)](_0x3e6781=>{_0x5c3a10['mEPSp'](_0x1f338b,_0x3e6781);})['catch'](_0x120c59=>{const _0x5793e3=_0x2c1fec;_0x4910e1[_0x5793e3(0x239)](_0x5793e3(0x1cd)+_0x120c59),_0x5c3a10['sHepR'](_0x4d6bcb,_0x120c59);});}else _0xca3639[_0x2c1fec(0x24d)](_0x21b12e,_0x4e878f);})['catch'](_0xd488f1=>{const _0x4807f4=_0x5738a1,_0x3eee07={'zneSh':function(_0x421edc,_0x455761){return _0xca3639['jEXCc'](_0x421edc,_0x455761);}};_0xca3639[_0x4807f4(0x22d)](_0xca3639[_0x4807f4(0x219)],_0xca3639[_0x4807f4(0x251)])?(logger[_0x4807f4(0x239)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0xd488f1),_0xca3639['jEXCc'](_0x2da74b,_0xd488f1)):(_0x39bcca[_0x4807f4(0x202)]('Bucket:\x20'+_0x5de79e+_0x4807f4(0x1f8)),_0x3eee07[_0x4807f4(0x257)](_0x4a979e,!![]));});}});},exports['getAWSRegions']=()=>{const _0x25d2aa=a25_0x3c24c3,_0x3389c3={'kqEDD':function(_0x30d660,_0x412c9a){return _0x30d660(_0x412c9a);},'ecBSh':function(_0x524c14,_0x8df6d3){return _0x524c14(_0x8df6d3);},'mGsIm':function(_0x48e5f2,_0x4e523d){return _0x48e5f2!==_0x4e523d;},'RFKpy':_0x25d2aa(0x1f5),'wZtTw':_0x25d2aa(0x272),'RGPyh':function(_0xf3d713,_0xe4b85f){return _0xf3d713!==_0xe4b85f;},'mqFrw':_0x25d2aa(0x278),'MCkdP':_0x25d2aa(0x216),'mCiHd':_0x25d2aa(0x1db),'uXLXJ':function(_0x21c14d,_0x58408d){return _0x21c14d(_0x58408d);},'aauCc':function(_0x449de8,_0x18922b){return _0x449de8!==_0x18922b;},'AgVbe':_0x25d2aa(0x1e5),'edUXt':'tUtmy','uwfLF':_0x25d2aa(0x241),'OVgZo':_0x25d2aa(0x232),'xViwz':function(_0x5ed95c,_0x30ce09){return _0x5ed95c===_0x30ce09;},'CUwad':_0x25d2aa(0x1de),'odkfc':_0x25d2aa(0x213)};return new Promise((_0x588576,_0x1b24f3)=>{const _0x78e37b=_0x25d2aa,_0x13c426={'FWvaw':_0x3389c3[_0x78e37b(0x21c)],'XzUaO':function(_0x5c54ec,_0xaf7334){const _0x39c9fe=_0x78e37b;return _0x3389c3[_0x39c9fe(0x270)](_0x5c54ec,_0xaf7334);},'pIrCz':_0x3389c3[_0x78e37b(0x243)]};if(_0x3389c3[_0x78e37b(0x27d)](_0x3389c3[_0x78e37b(0x1e1)],_0x3389c3[_0x78e37b(0x203)])){const _0x81e8dc={'GkOAx':function(_0x4c2596,_0x57764d){const _0x3d0cb2=_0x78e37b;return _0x3389c3[_0x3d0cb2(0x1f1)](_0x4c2596,_0x57764d);},'caVxI':function(_0x1f37f6,_0x27f972){const _0x353173=_0x78e37b;return _0x3389c3[_0x353173(0x1f1)](_0x1f37f6,_0x27f972);}};return new _0x1da9ca((_0x470d38,_0x43e452)=>{const _0x179016=_0x78e37b,_0x4c04e0={};_0x4c04e0[_0x179016(0x1ea)]=_0x13c426[_0x179016(0x273)];const _0x34223a=new _0x8f491d[(_0x179016(0x238))](_0x4c04e0),_0x285458={};_0x285458['name']=_0x4e70c4,_0x34223a[_0x179016(0x21a)](_0x285458)[_0x179016(0x235)]()['then'](_0x5c72ae=>{const _0x2603be=_0x179016;_0x81e8dc['GkOAx'](_0x470d38,_0x5c72ae[_0x2603be(0x1d6)][_0x2603be(0x1fa)][_0x2603be(0x1e0)][_0x2603be(0x21f)]);})[_0x179016(0x1f2)](_0x4dc9ef=>{const _0x6dfab6=_0x179016;_0x24e56f[_0x6dfab6(0x239)](_0x6dfab6(0x26e)+_0x5197f1+':\x20'+_0x4dc9ef),_0x81e8dc['caVxI'](_0x43e452,_0x4dc9ef);});});}else{const _0x42cdb5={};_0x42cdb5[_0x78e37b(0x1ea)]=_0x3389c3[_0x78e37b(0x243)];const _0x1a5d0e=new awsSDK[(_0x78e37b(0x1ec))](_0x42cdb5);_0x1a5d0e['describeRegions']()['promise']()[_0x78e37b(0x1f0)]((_0x1eb004,_0x3d6118)=>{const _0xd3bff7=_0x78e37b,_0x275873={'ZQrrN':function(_0x4fec50,_0x513243){const _0x1783a1=a25_0x3940;return _0x3389c3[_0x1783a1(0x270)](_0x4fec50,_0x513243);}};if(_0x3389c3[_0xd3bff7(0x206)](_0x3389c3['RFKpy'],_0x3389c3[_0xd3bff7(0x276)])){if(_0x3389c3[_0xd3bff7(0x206)](_0x1eb004,undefined)&&_0x3389c3['mGsIm'](_0x1eb004['Regions'],undefined))_0x3389c3['RGPyh'](_0x3389c3['mqFrw'],_0x3389c3[_0xd3bff7(0x265)])?_0x3389c3[_0xd3bff7(0x1f1)](_0x588576,_0x1eb004['Regions']):_0x275873['ZQrrN'](_0x2dcccb,_0x416a15[_0xd3bff7(0x211)]);else{if(_0x3389c3['RGPyh'](_0x3389c3['mCiHd'],_0x3389c3[_0xd3bff7(0x23f)])){const _0x32384e={'NVXft':function(_0x487cc9,_0x46b41f){const _0xc8c73b=_0xd3bff7;return _0x13c426[_0xc8c73b(0x27a)](_0x487cc9,_0x46b41f);},'euqbd':_0x13c426['pIrCz']};return new _0x5c4d95((_0x25cac1,_0x7c26a)=>{const _0x8e5dd7=_0xd3bff7,_0x500f16={};_0x500f16[_0x8e5dd7(0x1ea)]=_0x32384e[_0x8e5dd7(0x283)],_0x500f16['region']=_0x290e9a;const _0x4514bd=new _0x2a92d8[(_0x8e5dd7(0x1ec))](_0x500f16);_0x4514bd[_0x8e5dd7(0x27e)]()[_0x8e5dd7(0x235)]()[_0x8e5dd7(0x1f0)](_0x21455e=>{const _0x416645=_0x8e5dd7;_0x32384e[_0x416645(0x23a)](_0x25cac1,_0x21455e);})[_0x8e5dd7(0x1f2)](_0x176b1c=>{const _0x567594=_0x8e5dd7;_0x4d2cbc[_0x567594(0x239)](_0x567594(0x1cd)+_0x176b1c),_0x32384e['NVXft'](_0x7c26a,_0x176b1c);});});}else _0x3389c3[_0xd3bff7(0x25f)](_0x588576,{});}}else _0x31939e[_0xd3bff7(0x239)](_0xd3bff7(0x27f)+_0x3146b0),_0x275873[_0xd3bff7(0x22c)](_0x10b9c1,_0x978644);})[_0x78e37b(0x1f2)](_0x371055=>{const _0x2715d6=_0x78e37b;_0x3389c3[_0x2715d6(0x204)](_0x3389c3[_0x2715d6(0x260)],_0x3389c3[_0x2715d6(0x22a)])?(logger['error'](_0x2715d6(0x244)+_0x371055),_0x3389c3['uXLXJ'](_0x1b24f3,_0x371055)):_0x13c426['XzUaO'](_0x4a9a3a,_0x360efc);});}});},exports[a25_0x3c24c3(0x1ff)]=_0x503c7=>{const _0x9d25fe=a25_0x3c24c3,_0x56263b={'suScd':function(_0x1c7e5b,_0x2fc5dc){return _0x1c7e5b(_0x2fc5dc);},'kJBOb':function(_0x507341,_0x56ec34){return _0x507341!==_0x56ec34;},'ejhas':_0x9d25fe(0x21d),'TMZEP':_0x9d25fe(0x25c),'GGmbT':function(_0x4fcd75,_0x38ee18){return _0x4fcd75(_0x38ee18);},'WMFry':function(_0x454876,_0x3271a7){return _0x454876(_0x3271a7);},'PesEj':function(_0x46d8a7,_0x212a4d){return _0x46d8a7===_0x212a4d;},'NNaoA':_0x9d25fe(0x24c),'srWdk':function(_0x385fc9,_0x535b26){return _0x385fc9!==_0x535b26;},'PRfrP':_0x9d25fe(0x1cc),'OGvYV':_0x9d25fe(0x241)};return new Promise((_0x57e705,_0x5b1eab)=>{const _0x1414e9=_0x9d25fe;if(_0x56263b[_0x1414e9(0x277)](_0x56263b[_0x1414e9(0x222)],_0x56263b[_0x1414e9(0x222)])){const _0x2844ff={'KAoHd':function(_0x2b14c5,_0x2c8505){const _0xe262b5=_0x1414e9;return _0x56263b[_0xe262b5(0x220)](_0x2b14c5,_0x2c8505);},'gRjOA':function(_0x1a6820,_0x1617f3){const _0xc39050=_0x1414e9;return _0x56263b[_0xc39050(0x220)](_0x1a6820,_0x1617f3);}},_0x486b7c={};_0x486b7c['Bucket']=_0x531df6,_0x114c18[_0x1414e9(0x233)](_0x486b7c)[_0x1414e9(0x235)]()['then'](_0x1c949f=>{const _0x43a6bf=_0x1414e9;_0x32de23['warn'](_0x43a6bf(0x263)+_0xea6fa3+_0x43a6bf(0x1f8)),_0x2844ff['KAoHd'](_0x33cef4,!![]);})[_0x1414e9(0x1f2)](()=>{const _0x1f959d=_0x1414e9;_0xb837b8[_0x1f959d(0x24b)](_0x1f959d(0x263)+_0xd733a6+_0x1f959d(0x261)),_0x2844ff['gRjOA'](_0xaecebf,![]);});}else{const _0x53a3ad={};_0x53a3ad['apiVersion']=_0x56263b['OGvYV'];const _0x335987=new awsSDK['EKS'](_0x53a3ad),_0x541894={};_0x541894[_0x1414e9(0x254)]=_0x503c7,_0x335987[_0x1414e9(0x21a)](_0x541894)['promise']()['then'](_0xcd8940=>{const _0x5aeb67=_0x1414e9,_0x2d3533={'gntzP':function(_0xdeaa60,_0x4c0631){const _0x477cca=a25_0x3940;return _0x56263b[_0x477cca(0x220)](_0xdeaa60,_0x4c0631);}};_0x56263b[_0x5aeb67(0x1cf)](_0x56263b[_0x5aeb67(0x256)],_0x56263b[_0x5aeb67(0x24a)])?_0x56263b['GGmbT'](_0x57e705,_0xcd8940[_0x5aeb67(0x1d6)]['identity'][_0x5aeb67(0x1e0)][_0x5aeb67(0x21f)]):_0x2d3533[_0x5aeb67(0x201)](_0x4283f1,_0x147f11);})[_0x1414e9(0x1f2)](_0x346777=>{const _0x524adb=_0x1414e9,_0x4f81ea={'vZdap':function(_0xbbd044,_0x30e27c){const _0x24ca9e=a25_0x3940;return _0x56263b[_0x24ca9e(0x234)](_0xbbd044,_0x30e27c);}};_0x56263b[_0x524adb(0x245)](_0x56263b[_0x524adb(0x1e7)],_0x56263b[_0x524adb(0x1e7)])?(logger[_0x524adb(0x239)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x503c7+':\x20'+_0x346777),_0x56263b['GGmbT'](_0x5b1eab,_0x346777)):(_0x194cb8[_0x524adb(0x239)](_0x524adb(0x246)+_0x9dd558),_0x4f81ea[_0x524adb(0x253)](_0x2beacd,_0x2263b8));});}});},exports[a25_0x3c24c3(0x20f)]=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x16d7de=a26_0x59ce;(function(_0x58fc89,_0x6faa00){const _0x41386b=a26_0x59ce,_0x376d00=_0x58fc89();while(!![]){try{const _0x5c433e=parseInt(_0x41386b(0x169))/0x1*(parseInt(_0x41386b(0x16e))/0x2)+parseInt(_0x41386b(0x186))/0x3+-parseInt(_0x41386b(0x194))/0x4+-parseInt(_0x41386b(0x188))/0x5*(parseInt(_0x41386b(0x163))/0x6)+parseInt(_0x41386b(0x173))/0x7*(parseInt(_0x41386b(0x15d))/0x8)+-parseInt(_0x41386b(0x195))/0x9*(-parseInt(_0x41386b(0x193))/0xa)+parseInt(_0x41386b(0x18d))/0xb;if(_0x5c433e===_0x6faa00)break;else _0x376d00['push'](_0x376d00['shift']());}catch(_0x1dfa78){_0x376d00['push'](_0x376d00['shift']());}}}(a26_0x155d,0x3379f));function a26_0x59ce(_0x553d07,_0x140ff0){const _0x155da6=a26_0x155d();return a26_0x59ce=function(_0x59ce71,_0x234b7e){_0x59ce71=_0x59ce71-0x156;let _0x7eb9e7=_0x155da6[_0x59ce71];return _0x7eb9e7;},a26_0x59ce(_0x553d07,_0x140ff0);}const fs=require('fs'),path=require(a26_0x16d7de(0x18e)),yaml=require(a26_0x16d7de(0x18f)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require(a26_0x16d7de(0x192)),AWS=require(a26_0x16d7de(0x156))[a26_0x16d7de(0x161)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x16d7de(0x17c)),{logger}=require(a26_0x16d7de(0x17a));Promise[a26_0x16d7de(0x18a)](fs);const addAutoscalerTags=async(_0x30f091,_0x1f0371,_0x5d7ed4)=>{const _0x5de7ad=a26_0x16d7de;for(const _0xf01910 in _0x30f091[_0x5de7ad(0x165)]){_0x30f091['Resources'][_0xf01910][_0x5de7ad(0x15e)]&&_0x30f091[_0x5de7ad(0x165)][_0xf01910][_0x5de7ad(0x15e)][_0x5de7ad(0x15f)]&&_0x30f091['Resources'][_0xf01910]['Properties'][_0x5de7ad(0x15f)]['push'](..._0x5d7ed4);}};function a26_0x155d(){const _0x285a39=['valueOf','DELETE','CloudFormation','Value','LvPTd','templates','183240KPLidN','Properties','Tags','pmgah','awsObj','toString','39282Tlmiro','StackId','Resources','JlKeU','browserstack:cluster','IMcar','755Mzwhgw','readFileAsync','load','schema','Key','346zSpnfI','waitFor','createAutoscalerStack','CAPABILITY_NAMED_IAM','autoscaler-role-creation.yaml','56hSGdKN','Capabilities','promise','JaDcC','Parameters','apiVersion','join','../config/logger','2010-05-15','../config/constants','lnroy','createStack','TemplateBody','utf-8','push','OnFailure','kXtXf','stringify','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','833595UwUxqk','dUroY','135ssljPZ','NqSEz','promisifyAll','hIsYm','debug','1679942wKmXzu','path','js-yaml','StackName','ClusterName','bluebird','535170tAcWWT','1641372TBaCuG','9xqbTiP','./AWSUtils'];a26_0x155d=function(){return _0x285a39;};return a26_0x155d();}exports[a26_0x16d7de(0x170)]=async _0x42e8f4=>{const _0xea2d87=a26_0x16d7de,_0x45e7b3={'dUroY':_0xea2d87(0x167),'kXtXf':'browserstack:creationDate','Seiij':_0xea2d87(0x17b),'lnroy':_0xea2d87(0x15c),'NqSEz':_0xea2d87(0x172),'JaDcC':_0xea2d87(0x180),'pmgah':function(_0x2c910f,_0x5e27ce,_0xb4175c,_0x4725d9){return _0x2c910f(_0x5e27ce,_0xb4175c,_0x4725d9);},'JlKeU':_0xea2d87(0x158),'hIsYm':_0xea2d87(0x191),'IMcar':_0xea2d87(0x171),'LvPTd':_0xea2d87(0x185),'Hzcev':'stackCreateComplete'},_0x19db62=COMMON_HST_TAGS,_0x4e94a0={};_0x4e94a0[_0xea2d87(0x16d)]=_0x45e7b3[_0xea2d87(0x187)],_0x4e94a0[_0xea2d87(0x15a)]=_0x42e8f4,_0x19db62['push'](_0x4e94a0),_0x19db62[_0xea2d87(0x181)]({'Key':_0x45e7b3[_0xea2d87(0x183)],'Value':new Date()[_0xea2d87(0x157)]()[_0xea2d87(0x162)]()});const _0x277259={};_0x277259[_0xea2d87(0x178)]=_0x45e7b3['Seiij'];const _0x198cd7=new AWS[(_0xea2d87(0x159))](_0x277259),_0xc4c2f8=await fs[_0xea2d87(0x16a)](path[_0xea2d87(0x179)](__dirname,'..',_0x45e7b3[_0xea2d87(0x17d)],_0x45e7b3[_0xea2d87(0x189)]),_0x45e7b3[_0xea2d87(0x176)]),_0x438844={};_0x438844[_0xea2d87(0x16c)]=CLOUDFORMATION_SCHEMA;const _0x45a220=yaml[_0xea2d87(0x16b)](_0xc4c2f8,_0x438844);_0x45e7b3[_0xea2d87(0x160)](addAutoscalerTags,_0x45a220,_0x42e8f4,_0x19db62);const _0x22c442=JSON[_0xea2d87(0x184)](_0x45a220),_0x361394={};_0x361394[_0xea2d87(0x190)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x42e8f4,_0x361394[_0xea2d87(0x182)]=_0x45e7b3[_0xea2d87(0x166)],_0x361394[_0xea2d87(0x17f)]=_0x22c442,_0x361394[_0xea2d87(0x177)]=[{'ParameterKey':_0x45e7b3[_0xea2d87(0x18b)],'ParameterValue':_0x42e8f4}],_0x361394[_0xea2d87(0x174)]=[_0x45e7b3[_0xea2d87(0x168)]],_0x361394['Tags']=_0x19db62;const _0x2d44ee=_0x361394,_0x594de7=await _0x198cd7[_0xea2d87(0x17e)](_0x2d44ee)[_0xea2d87(0x175)]();logger[_0xea2d87(0x18c)](_0x45e7b3[_0xea2d87(0x15b)]);const _0x26769a={};return _0x26769a[_0xea2d87(0x190)]=_0x594de7[_0xea2d87(0x164)],_0x198cd7[_0xea2d87(0x16f)](_0x45e7b3['Hzcev'],_0x26769a)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x2fcb5f=a27_0x3f2e;function a27_0x2a3f(){const _0x28915=['value','oNuDh','ParameterKey','aws-eks-cluster-dep.yaml','piaWN','AicqV','iwqZe','lGpFV','sywiu','false','sEAJg','xUzwC','NodeInstanceType','xaEfB','gXktT','qMBHJ','ParameterValue','AwmYt','mdfpJ','efmjY','Subnet02Block','DELETE','TemplateBody','CloudFormation','FFhDI','36eOnLfH','5665625AhTftI','forEach','DependsOn','wQKrF','qzWbw','isyMA','../config/logger','s3-create.yaml','zbHpK','6274128ESZzfC','BvKFm','2010-05-15','NodeAutoScalingGroupDesiredSizeWindows','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','emElT','browserstack:cluster','TEQXu','DkiuW','yLxNB','DhwKY','CJhkT','DGnLC','createStack','tdjLT','5|0|2|4|3|1','sWZQL','load','VyxEZ','true','kVoYJ','Subnet','feHXN','zfIJe','1641NPrWsy','lZWzC','ami','RBrqL','CFTemplates','tsAmp','StackName','keys','zRfuY','YYehd','zQjHp','AWS::CloudFormation::Interface','path','Resources','lMHmP','RQaUp','RAsRV','QlYgr','NKKeR','s3Bucket','NGuHc','BbtYM','KqNro','onvJi','bluebird','js-yaml-cloudformation-schema','evQmD','VpcBlock','fsZcU','LKCDB','padStart','EKSCluster','ClusterAutoUpgrade','zzbBq','tDIbX','0|3|1|5|2|4','Key','-NodeGroup','NodeGroup','join','qwwDi','promisifyAll','ZPcLP','oJQNb','stackCreateComplete','./AWSUtils','16qEgaAj','nWrhn','Metadata','Ref','vcGzj','waitFor','JSukk','nrRYf','Tags','aZoNZ','JLdQh','valueOf','ASLtg','QipxZ','273414UJjudm','../config/constants','lTNvj','awsObj','MYxTm','bTsOv','skWRP','pvmev','PKoym','OnFailure','Subnets','kPKed','StackId','Subnet01Block','hShdJ','stringify','CMYTI','xltfQ','tQveZ','Value','wXCEW','promise','DFYrF','IsFqO','kWvFw','SubnetIds','instanceType','1512ybNAMP','NBoGg','S3BucketName','Parameters','OiAnQ','geegJ','zsKHe','ResourcesVpcConfig','-Windows-NodeGroup','js-yaml','VPMjX','schema','fKFLQ','TXgKf','dUGbq','qetzk','GFafm','UikPj','UsNPX','NodeGroupWindows','HxWnl','ztAkz','ParameterGroups','xCLDq','CClKF','1853652LVAChl','push','VPC','CqsfI','FoPpo','NodeImageId','wDFcY','ngEpQ','FfKgX','aEFUC','NodeGroupNameWindows','ElVAI','split','TfVrL','ZvJfw','EeKyv','NodeAutoScalingGroupMinSizeWindows','Subnet03Block','Subnet03','Rdccp','loUrE','TWZmU','readFileAsync','vpc-create.yaml','15107650wwoDWd','YOxcb','kZiPp','OHJgW','GKgJB','54792tYDbeI','browserstack:creationDate','createClusterStack','GUWmP','vpc-import.yaml','subnet-create.yaml','RfIdt','RvHIE','NodeAutoScalingGroupMinSize','PuYVV','flQzP','Properties','utf-8','FkfQV','apiVersion','vIYla'];a27_0x2a3f=function(){return _0x28915;};return a27_0x2a3f();}(function(_0x12f53e,_0xa9ef20){const _0x4a8aa9=a27_0x3f2e,_0x12381c=_0x12f53e();while(!![]){try{const _0x21d75b=parseInt(_0x4a8aa9(0xc0))/0x1*(-parseInt(_0x4a8aa9(0xee))/0x2)+parseInt(_0x4a8aa9(0xfc))/0x3*(parseInt(_0x4a8aa9(0x9e))/0x4)+-parseInt(_0x4a8aa9(0x9f))/0x5+-parseInt(_0x4a8aa9(0x130))/0x6+parseInt(_0x4a8aa9(0xa8))/0x7+parseInt(_0x4a8aa9(0x117))/0x8*(-parseInt(_0x4a8aa9(0x14d))/0x9)+parseInt(_0x4a8aa9(0x148))/0xa;if(_0x21d75b===_0xa9ef20)break;else _0x12381c['push'](_0x12381c['shift']());}catch(_0x1a4c3a){_0x12381c['push'](_0x12381c['shift']());}}}(a27_0x2a3f,0x97bac));function a27_0x3f2e(_0x47da91,_0x20954f){const _0x2a3f03=a27_0x2a3f();return a27_0x3f2e=function(_0x3f2e6e,_0x24b94c){_0x3f2e6e=_0x3f2e6e-0x93;let _0x2e2ca8=_0x2a3f03[_0x3f2e6e];return _0x2e2ca8;},a27_0x3f2e(_0x47da91,_0x20954f);}const fs=require('fs'),path=require(a27_0x2fcb5f(0xcc)),Promise=require(a27_0x2fcb5f(0xd8)),yaml=require(a27_0x2fcb5f(0x120)),{CLOUDFORMATION_SCHEMA}=require(a27_0x2fcb5f(0xd9)),AWS=require(a27_0x2fcb5f(0xed))[a27_0x2fcb5f(0xff)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x2fcb5f(0xfd)),{logger}=require(a27_0x2fcb5f(0xa5)),{isBucketPresent}=require('./AWSUtils');Promise[a27_0x2fcb5f(0xe9)](fs);const mergeTemplates=(_0x3e848b,_0x4e9235)=>{const _0x121a82=a27_0x2fcb5f,_0x95f64={'wDFcY':function(_0x356424,_0x1a6683){return _0x356424===_0x1a6683;},'vcGzj':_0x121a82(0x14b),'RQaUp':_0x121a82(0xea),'ASLtg':_0x121a82(0xe3),'zbHpK':function(_0x44c923,_0x4011e4){return _0x44c923(_0x4011e4);},'LKCDB':'Fn::Join','IsFqO':function(_0x4348f0,_0x459585){return _0x4348f0(_0x459585);},'onvJi':_0x121a82(0xcb),'vrAbT':function(_0x255118,_0x5c85b1){return _0x255118(_0x5c85b1);},'efmjY':function(_0x581f79,_0x11bd79){return _0x581f79!==_0x11bd79;},'CJhkT':_0x121a82(0x162),'zQjHp':_0x121a82(0x153)};Object['keys'](_0x4e9235)['forEach'](_0xbc875c=>{const _0x501a3e=_0x121a82,_0x35ffc8={'flQzP':function(_0x2b775b,_0x24079d){const _0x1f1058=a27_0x3f2e;return _0x95f64[_0x1f1058(0x136)](_0x2b775b,_0x24079d);},'PKoym':_0x95f64[_0x501a3e(0xf2)],'GPzcN':_0x95f64[_0x501a3e(0xcf)],'JLdQh':_0x95f64[_0x501a3e(0xfa)],'kZiPp':function(_0x3ea5a8,_0x13cc95){const _0x572359=_0x501a3e;return _0x95f64[_0x572359(0xa7)](_0x3ea5a8,_0x13cc95);},'isyMA':_0x95f64[_0x501a3e(0xdd)],'tdjLT':function(_0x2da5d1,_0x1bc713){const _0x4452c3=_0x501a3e;return _0x95f64[_0x4452c3(0x113)](_0x2da5d1,_0x1bc713);},'evQmD':_0x95f64[_0x501a3e(0xd7)],'YYehd':function(_0x5048f0,_0x14f0ef){return _0x95f64['vrAbT'](_0x5048f0,_0x14f0ef);}};if(_0x95f64[_0x501a3e(0x98)](_0x95f64[_0x501a3e(0xb3)],_0x95f64[_0x501a3e(0xca)])){var _0x4e28c1=_0x4e9235[_0xbc875c];Object[_0x501a3e(0xc7)](_0x4e28c1)[_0x501a3e(0xa0)](_0x55abb1=>{const _0x505308=_0x501a3e;_0x35ffc8[_0x505308(0x157)](_0x35ffc8[_0x505308(0x104)],_0x35ffc8['GPzcN'])?_0xea7b9[_0x1ebf98][_0xcae86]=_0x129618[_0x3b4cfd]:_0x3e848b[_0xbc875c][_0x55abb1]=_0x4e28c1[_0x55abb1];});}else{const _0x5a3ee3=_0x35ffc8[_0x501a3e(0xf8)][_0x501a3e(0x13c)]('|');let _0x579029=0x0;while(!![]){switch(_0x5a3ee3[_0x579029++]){case'0':_0x5bbfba['Resources'][_0x501a3e(0xdf)][_0x501a3e(0x158)]['ResourcesVpcConfig']['SubnetIds'][_0x501a3e(0x131)]({'Ref':'Subnet'+_0x35ffc8['kZiPp'](_0x3e57b8,_0x8098e6)[_0x501a3e(0xde)](0x2,'0')});continue;case'1':_0x3c4618[_0x501a3e(0xcd)]['NodeGroup'][_0x501a3e(0x158)]['Subnets'][_0x501a3e(0x131)]({'Ref':_0x501a3e(0xbd)+_0x35ffc8[_0x501a3e(0x14a)](_0x1470c7,_0xb16240)[_0x501a3e(0xde)](0x2,'0')});continue;case'2':_0x3f78db['Outputs'][_0x501a3e(0x115)][_0x501a3e(0x10f)][_0x35ffc8[_0x501a3e(0xa4)]][0x1][_0x501a3e(0x131)]({'Ref':'Subnet'+_0x35ffc8[_0x501a3e(0xb6)](_0x1b4b77,_0x58ea35)[_0x501a3e(0xde)](0x2,'0')});continue;case'3':_0x51183b[_0x501a3e(0xf0)][_0x35ffc8[_0x501a3e(0xda)]][_0x501a3e(0x12d)][0x0][_0x501a3e(0x11a)]['push']('Subnet'+_0x35ffc8[_0x501a3e(0xc9)](_0x2d1d1e,_0x17e84e)[_0x501a3e(0xde)](0x2,'0'));continue;case'4':_0x2b380e+=0x1;continue;case'5':_0x3401ad['Resources'][_0x501a3e(0x12a)]['Properties'][_0x501a3e(0x106)][_0x501a3e(0x131)]({'Ref':_0x501a3e(0xbd)+_0x35ffc8[_0x501a3e(0x14a)](_0x4ecb34,_0x19e58d)[_0x501a3e(0xde)](0x2,'0')});continue;}break;}}});},addVPCData=async(_0x5a33d8,_0x4466b5)=>{const _0x42edc0=a27_0x2fcb5f,_0x2738e8={'sywiu':function(_0x35b883,_0x4b6e2a){return _0x35b883(_0x4b6e2a);},'RvHIE':function(_0xac1f05,_0x51a27f){return _0xac1f05!==_0x51a27f;},'loUrE':_0x42edc0(0xef),'HxWnl':_0x42edc0(0x13e),'oJQNb':_0x42edc0(0xc4),'yLxNB':_0x42edc0(0x151),'BbtYM':'utf-8','FkfQV':function(_0x46d913,_0x284a7f,_0x3c3949){return _0x46d913(_0x284a7f,_0x3c3949);},'FFhDI':_0x42edc0(0xcb),'AwmYt':_0x42edc0(0x132),'qzWbw':function(_0x14e292,_0xaff5a2){return _0x14e292!==_0xaff5a2;},'EeKyv':_0x42edc0(0xd0),'Fmuhq':_0x42edc0(0x147),'feHXN':_0x42edc0(0xdb)};if(_0x4466b5){if(_0x2738e8[_0x42edc0(0x154)](_0x2738e8[_0x42edc0(0x144)],_0x2738e8[_0x42edc0(0x12b)])){const _0x5dda11=await fs['readFileAsync'](path[_0x42edc0(0xe7)](__dirname,'..',_0x2738e8[_0x42edc0(0xeb)],_0x2738e8[_0x42edc0(0xb1)]),_0x2738e8[_0x42edc0(0xd5)]),_0x267880={};_0x267880['schema']=CLOUDFORMATION_SCHEMA;const _0x5a467b=yaml[_0x42edc0(0xb9)](_0x5dda11,_0x267880);_0x2738e8[_0x42edc0(0x15a)](mergeTemplates,_0x5a33d8,_0x5a467b),_0x5a33d8[_0x42edc0(0xf0)][_0x2738e8[_0x42edc0(0x9d)]]['ParameterGroups'][0x0][_0x42edc0(0x11a)][_0x42edc0(0x131)](_0x2738e8[_0x42edc0(0x96)]);}else _0x2b691f[_0x1739d4['Key']]=_0x447338[_0x42edc0(0x10f)];}else{if(_0x2738e8[_0x42edc0(0xa3)](_0x2738e8[_0x42edc0(0x13f)],_0x2738e8['EeKyv'])){const _0x2561f6={'wXCEW':function(_0x8c6289,_0xc3e195){const _0x5302b3=_0x42edc0;return _0x2738e8[_0x5302b3(0x165)](_0x8c6289,_0xc3e195);}};let _0x33d8a4=0x1;_0x4c4cdf[_0x42edc0(0xa0)](_0x434265=>{const _0x563a6c=_0x42edc0;_0x2730f5[_0x563a6c(0x11a)][_0x563a6c(0x131)]({'ParameterKey':_0x563a6c(0xbd)+_0x2561f6[_0x563a6c(0x110)](_0x22fb32,_0x33d8a4)[_0x563a6c(0xde)](0x2,'0'),'ParameterValue':_0x434265[_0x563a6c(0x15d)]}),_0x33d8a4+=0x1;});}else{const _0x19bc7c=await fs['readFileAsync'](path[_0x42edc0(0xe7)](__dirname,'..',_0x2738e8['oJQNb'],_0x2738e8['Fmuhq']),_0x2738e8[_0x42edc0(0xd5)]),_0x4da6a5={};_0x4da6a5['schema']=CLOUDFORMATION_SCHEMA;const _0x15608f=yaml['load'](_0x19bc7c,_0x4da6a5);_0x2738e8['FkfQV'](mergeTemplates,_0x5a33d8,_0x15608f),_0x5a33d8[_0x42edc0(0xf0)][_0x2738e8[_0x42edc0(0x9d)]][_0x42edc0(0x12d)][0x0][_0x42edc0(0x11a)][_0x42edc0(0x131)](_0x2738e8[_0x42edc0(0xbe)]);}}},addS3Data=async _0x12d8e7=>{const _0x572d0d=a27_0x2fcb5f,_0x22cd5e={'tQveZ':_0x572d0d(0x132),'kPKed':'CFTemplates','DkiuW':_0x572d0d(0xa6),'CClKF':'utf-8','QlYgr':function(_0x1515cc,_0x279287){return _0x1515cc(_0x279287);},'bTsOv':function(_0x22c05b,_0x4ef37d){return _0x22c05b===_0x4ef37d;},'xUzwC':_0x572d0d(0x143),'UikPj':_0x572d0d(0x139),'MYxTm':function(_0x111f75,_0x43a60e,_0x17b2a7){return _0x111f75(_0x43a60e,_0x17b2a7);}},_0x16a302=await fs['readFileAsync'](path['join'](__dirname,'..',_0x22cd5e[_0x572d0d(0x107)],_0x22cd5e[_0x572d0d(0xb0)]),_0x22cd5e[_0x572d0d(0x12f)]),_0x4f6b36={};_0x4f6b36[_0x572d0d(0x122)]=CLOUDFORMATION_SCHEMA;const _0x7f7ba4=yaml['load'](_0x16a302,_0x4f6b36),_0x338e7d=await _0x22cd5e[_0x572d0d(0xd1)](isBucketPresent,global_registry[_0x572d0d(0xd3)]);if(_0x22cd5e['bTsOv'](_0x338e7d,![])){if(_0x22cd5e[_0x572d0d(0x101)](_0x22cd5e[_0x572d0d(0x168)],_0x22cd5e[_0x572d0d(0x128)])){const _0x1d820d={};_0x1d820d[_0x572d0d(0x15f)]=_0x22cd5e[_0x572d0d(0x10e)],_0x1d820d[_0x572d0d(0x95)]=_0x19a18a,_0x41493f[_0x572d0d(0x11a)]['push'](_0x1d820d);}else _0x22cd5e[_0x572d0d(0x100)](mergeTemplates,_0x12d8e7,_0x7f7ba4);}},addSubnetData=async(_0x47c529,_0x14253e)=>{const _0x4433ec=a27_0x2fcb5f,_0x1da1e2={'DhwKY':function(_0x1b0642,_0x56c105){return _0x1b0642!==_0x56c105;},'DFYrF':_0x4433ec(0xc3),'hAtVU':_0x4433ec(0x13b),'skWRP':_0x4433ec(0xb7),'TEQXu':_0x4433ec(0xcb),'GUWmP':function(_0x3563f4,_0x48440d){return _0x3563f4(_0x48440d);},'FfKgX':function(_0xea7df0,_0x5be4aa){return _0xea7df0(_0x5be4aa);},'NGuHc':'Fn::Join','qWvtI':function(_0x269a42,_0x25f5d6){return _0x269a42(_0x25f5d6);},'lTNvj':function(_0x1c6a1b,_0x33ef1d){return _0x1c6a1b(_0x33ef1d);},'dmebQ':function(_0x5dd644,_0x3072b0){return _0x5dd644!==_0x3072b0;},'zRfuY':_0x4433ec(0x127),'zfIJe':_0x4433ec(0xc4),'KqNro':'subnet-import.yaml','lGpFV':_0x4433ec(0x159),'lZWzC':function(_0xda88b3,_0x425c32,_0x23871b){return _0xda88b3(_0x425c32,_0x23871b);},'tsAmp':function(_0xa58f1f,_0x4e65ad){return _0xa58f1f===_0x4e65ad;},'PuYVV':_0x4433ec(0x11d),'CMYTI':_0x4433ec(0xe8),'fsZcU':_0x4433ec(0x152),'gXktT':'Subnet01','sWZQL':'Subnet02','TWZmU':_0x4433ec(0x142),'BvKFm':_0x4433ec(0x109),'ngEpQ':_0x4433ec(0x99),'CiMEb':_0x4433ec(0x141)};if(_0x14253e){if(_0x1da1e2['dmebQ'](_0x1da1e2[_0x4433ec(0xc8)],_0x1da1e2[_0x4433ec(0xc8)]))_0x53786f['keys'](_0x274e06)[_0x4433ec(0xa0)](_0x547cfc=>{const _0x37b3d0=_0x4433ec;var _0x3cfc60=_0x10f547[_0x547cfc];_0x47305c[_0x37b3d0(0xc7)](_0x3cfc60)[_0x37b3d0(0xa0)](_0x294a1a=>{_0x474179[_0x547cfc][_0x294a1a]=_0x3cfc60[_0x294a1a];});});else{const _0x283746=await fs['readFileAsync'](path[_0x4433ec(0xe7)](__dirname,'..',_0x1da1e2[_0x4433ec(0xbf)],_0x1da1e2[_0x4433ec(0xd6)]),_0x1da1e2[_0x4433ec(0x164)]),_0x5435b0={};_0x5435b0[_0x4433ec(0x122)]=CLOUDFORMATION_SCHEMA;const _0x111b79=yaml['load'](_0x283746,_0x5435b0);_0x1da1e2['lZWzC'](mergeTemplates,_0x47c529,_0x111b79);let _0x20092f=0x1;_0x14253e[_0x4433ec(0xa0)](_0x275b07=>{const _0x50e636=_0x4433ec;if(_0x1da1e2[_0x50e636(0xb2)](_0x1da1e2[_0x50e636(0x112)],_0x1da1e2['hAtVU'])){const _0x175a5e=_0x1da1e2[_0x50e636(0x102)][_0x50e636(0x13c)]('|');let _0x25d541=0x0;while(!![]){switch(_0x175a5e[_0x25d541++]){case'0':_0x47c529['Metadata'][_0x1da1e2[_0x50e636(0xaf)]][_0x50e636(0x12d)][0x0][_0x50e636(0x11a)][_0x50e636(0x131)](_0x50e636(0xbd)+_0x1da1e2[_0x50e636(0x150)](String,_0x20092f)['padStart'](0x2,'0'));continue;case'1':_0x20092f+=0x1;continue;case'2':_0x47c529['Resources']['NodeGroup'][_0x50e636(0x158)][_0x50e636(0x106)]['push']({'Ref':_0x50e636(0xbd)+_0x1da1e2[_0x50e636(0x138)](String,_0x20092f)[_0x50e636(0xde)](0x2,'0')});continue;case'3':_0x47c529['Outputs'][_0x50e636(0x115)][_0x50e636(0x10f)][_0x1da1e2[_0x50e636(0xd4)]][0x1][_0x50e636(0x131)]({'Ref':'Subnet'+_0x1da1e2['qWvtI'](String,_0x20092f)[_0x50e636(0xde)](0x2,'0')});continue;case'4':_0x47c529[_0x50e636(0xcd)][_0x50e636(0x12a)][_0x50e636(0x158)][_0x50e636(0x106)][_0x50e636(0x131)]({'Ref':_0x50e636(0xbd)+_0x1da1e2[_0x50e636(0xfe)](String,_0x20092f)['padStart'](0x2,'0')});continue;case'5':_0x47c529[_0x50e636(0xcd)][_0x50e636(0xdf)][_0x50e636(0x158)][_0x50e636(0x11e)]['SubnetIds'][_0x50e636(0x131)]({'Ref':'Subnet'+_0x1da1e2['qWvtI'](String,_0x20092f)['padStart'](0x2,'0')});continue;}break;}}else _0x3d2b53['Resources'][_0x5aaab7]['Properties'][_0x50e636(0xf6)][_0x50e636(0x131)](..._0x259e21);});}}else{if(_0x1da1e2[_0x4433ec(0xc5)](_0x1da1e2[_0x4433ec(0x156)],_0x1da1e2[_0x4433ec(0x10c)]))_0x58e69e['Resources'][_0x580e86][_0x4433ec(0x158)]&&_0x26c315['Resources'][_0x5ad3ca][_0x4433ec(0x158)][_0x4433ec(0xf6)]&&_0x423708['Resources'][_0x452ff0][_0x4433ec(0x158)][_0x4433ec(0xf6)][_0x4433ec(0x131)](..._0x30eede);else{const _0x27d6ac=await fs['readFileAsync'](path[_0x4433ec(0xe7)](__dirname,'..',_0x1da1e2[_0x4433ec(0xbf)],_0x1da1e2[_0x4433ec(0xdc)]),_0x1da1e2[_0x4433ec(0x164)]),_0xe21837={};_0xe21837['schema']=CLOUDFORMATION_SCHEMA;const _0x519003=yaml['load'](_0x27d6ac,_0xe21837);_0x1da1e2[_0x4433ec(0xc1)](mergeTemplates,_0x47c529,_0x519003),_0x47c529['Resources']['EKSCluster'][_0x4433ec(0xa1)]['push'](_0x1da1e2['gXktT'],_0x1da1e2['sWZQL'],_0x1da1e2[_0x4433ec(0x145)]);const _0x1ffc1c={};_0x1ffc1c[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0x93)];const _0x528f96={};_0x528f96[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0xb8)];const _0x19aa69={};_0x19aa69[_0x4433ec(0xf1)]=_0x1da1e2['TWZmU'],_0x47c529[_0x4433ec(0xcd)][_0x4433ec(0xdf)][_0x4433ec(0x158)][_0x4433ec(0x11e)][_0x4433ec(0x115)]=[_0x1ffc1c,_0x528f96,_0x19aa69],_0x47c529['Metadata'][_0x1da1e2[_0x4433ec(0xaf)]][_0x4433ec(0x12d)][0x0]['Parameters'][_0x4433ec(0x131)](_0x1da1e2[_0x4433ec(0xa9)],_0x1da1e2[_0x4433ec(0x137)],_0x1da1e2['CiMEb']);const _0x356344={};_0x356344['Ref']=_0x1da1e2['gXktT'];const _0x354c46={};_0x354c46[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0xb8)];const _0x370352={};_0x370352[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0x145)],_0x47c529[_0x4433ec(0xcd)][_0x4433ec(0xe6)][_0x4433ec(0x158)][_0x4433ec(0x106)]=[_0x356344,_0x354c46,_0x370352];const _0x4b17e2={};_0x4b17e2[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0x93)];const _0x58647f={};_0x58647f[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0xb8)];const _0x18823f={};_0x18823f[_0x4433ec(0xf1)]=_0x1da1e2[_0x4433ec(0x145)],_0x47c529[_0x4433ec(0xcd)][_0x4433ec(0x12a)][_0x4433ec(0x158)][_0x4433ec(0x106)]=[_0x4b17e2,_0x58647f,_0x18823f],_0x47c529['Outputs']['SubnetIds'][_0x4433ec(0x10f)][_0x1da1e2[_0x4433ec(0xd4)]][0x1]=[{'Ref':_0x1da1e2[_0x4433ec(0x93)]},{'Ref':_0x1da1e2[_0x4433ec(0xb8)]},{'Ref':_0x1da1e2['TWZmU']}];}}},addTags=async(_0x537d08,_0x34699f,_0x507c40)=>{const _0x1f6162=a27_0x2fcb5f,_0x32ec37={'geegJ':function(_0x68a359,_0x2049f7,_0x2c0496){return _0x68a359(_0x2049f7,_0x2c0496);},'HBXpw':function(_0x29b4ab,_0x13ba0b){return _0x29b4ab(_0x13ba0b);},'lMHmP':function(_0x3e7b50,_0xd4877e){return _0x3e7b50===_0xd4877e;},'pvmev':_0x1f6162(0x134),'ZdWLR':_0x1f6162(0x14c),'fKFLQ':function(_0x5bac2c,_0x21f3b0){return _0x5bac2c!==_0x21f3b0;},'xltfQ':'UpwlD','xaEfB':_0x1f6162(0x114),'JSukk':_0x1f6162(0xe6),'qetzk':_0x1f6162(0x12a)};for(const _0x343cbc in _0x537d08[_0x1f6162(0xcd)]){_0x32ec37[_0x1f6162(0x123)](_0x32ec37[_0x1f6162(0x10d)],_0x32ec37[_0x1f6162(0x10d)])?_0x32ec37[_0x1f6162(0x11c)](_0x25ed62,_0x53ff06,_0xc4301e):_0x537d08[_0x1f6162(0xcd)][_0x343cbc][_0x1f6162(0x158)]&&_0x537d08[_0x1f6162(0xcd)][_0x343cbc][_0x1f6162(0x158)][_0x1f6162(0xf6)]&&(_0x32ec37[_0x1f6162(0xce)](_0x32ec37['xaEfB'],_0x32ec37[_0x1f6162(0x16a)])?_0x537d08[_0x1f6162(0xcd)][_0x343cbc][_0x1f6162(0x158)][_0x1f6162(0xf6)][_0x1f6162(0x131)](..._0x507c40):(_0x371ce2[_0x1f6162(0x11a)][_0x1f6162(0x131)]({'ParameterKey':_0x1f6162(0xbd)+_0x32ec37['HBXpw'](_0x5dc5b6,_0x58a62f)[_0x1f6162(0xde)](0x2,'0'),'ParameterValue':_0x7496ac['value']}),_0x5becfb+=0x1));}const _0x2d2036={};_0x507c40[_0x1f6162(0xa0)](_0x250661=>{const _0x429e78=_0x1f6162;if(_0x32ec37[_0x429e78(0xce)](_0x32ec37[_0x429e78(0x103)],_0x32ec37['ZdWLR'])){var _0x217a31=_0x464b51[_0x18a9c3];_0x230672[_0x429e78(0xc7)](_0x217a31)['forEach'](_0x178e21=>{_0xd84ea0[_0x30649d][_0x178e21]=_0x217a31[_0x178e21];});}else _0x2d2036[_0x250661[_0x429e78(0xe4)]]=_0x250661['Value'];}),_0x537d08[_0x1f6162(0xcd)][_0x32ec37[_0x1f6162(0xf4)]][_0x1f6162(0x158)][_0x1f6162(0xf6)]=_0x2d2036,_0x537d08[_0x1f6162(0xcd)][_0x32ec37[_0x1f6162(0x126)]][_0x1f6162(0x158)][_0x1f6162(0xf6)]=_0x2d2036;};exports[a27_0x2fcb5f(0x14f)]=async(_0x529075,_0x2436de,_0x5235d5,_0x257627=null,_0x213e20=null,_0x133e91)=>{const _0x2c0c9b=a27_0x2fcb5f,_0xab209e={'DGnLC':_0x2c0c9b(0xe6),'hShdJ':_0x2c0c9b(0x12a),'kVoYJ':function(_0x4458b2,_0x551427){return _0x4458b2(_0x551427);},'qMBHJ':_0x2c0c9b(0xae),'iwqZe':_0x2c0c9b(0x14e),'emElT':_0x2c0c9b(0xaa),'VyxEZ':'CFTemplates','elPoU':_0x2c0c9b(0x160),'YOxcb':_0x2c0c9b(0x159),'OiAnQ':function(_0x567655,_0x4768b8,_0x176ebe){return _0x567655(_0x4768b8,_0x176ebe);},'DdQyP':function(_0x48ba3f,_0x1c1a1d,_0x7d944c){return _0x48ba3f(_0x1c1a1d,_0x7d944c);},'VUeDS':function(_0x49f6cd,_0xe62833,_0x51b539,_0x5650d9){return _0x49f6cd(_0xe62833,_0x51b539,_0x5650d9);},'wQKrF':_0x2c0c9b(0x9a),'jGmEl':'ClusterName','xCLDq':'NodeGroupName','CqsfI':_0x2c0c9b(0x155),'nrRYf':_0x2c0c9b(0x140),'oNuDh':_0x2c0c9b(0xab),'sEAJg':'NodeAutoScalingGroupMaxSize','ztAkz':_0x2c0c9b(0x135),'NKKeR':_0x2c0c9b(0x169),'tDIbX':_0x2c0c9b(0x119),'RUXFj':_0x2c0c9b(0x13a),'TXgKf':_0x2c0c9b(0xe0),'xGaTN':_0x2c0c9b(0xbb),'dUGbq':_0x2c0c9b(0x166),'TfVrL':'CAPABILITY_NAMED_IAM','mdfpJ':function(_0x425e8f,_0x2b4722){return _0x425e8f!=_0x2b4722;},'NBoGg':function(_0x768e5c,_0x4db800){return _0x768e5c!==_0x4db800;},'piaWN':function(_0x185e3f,_0x1017a6){return _0x185e3f===_0x1017a6;},'VPMjX':'rfkka','aZoNZ':_0x2c0c9b(0x132),'QipxZ':function(_0x349cae,_0x423c48){return _0x349cae!=_0x423c48;},'vIYla':function(_0x57823f,_0x1c44bf){return _0x57823f!==_0x1c44bf;},'UsNPX':_0x2c0c9b(0xac),'zzbBq':_0x2c0c9b(0xec)},_0x3545ae=COMMON_HST_TAGS,_0x4a7ae5={};_0x4a7ae5[_0x2c0c9b(0xe4)]=_0xab209e[_0x2c0c9b(0x94)],_0x4a7ae5[_0x2c0c9b(0x10f)]=_0x529075,_0x3545ae['push'](_0x4a7ae5),_0x3545ae['push']({'Key':_0xab209e[_0x2c0c9b(0x163)],'Value':new Date()[_0x2c0c9b(0xf9)]()['toString']()});const _0x6fa75d={};_0x6fa75d[_0x2c0c9b(0x15b)]=_0xab209e[_0x2c0c9b(0xad)];const _0x48bd2b=new AWS[(_0x2c0c9b(0x9c))](_0x6fa75d),_0x33f541=await fs[_0x2c0c9b(0x146)](path['join'](__dirname,'..',_0xab209e[_0x2c0c9b(0xba)],_0xab209e['elPoU']),_0xab209e[_0x2c0c9b(0x149)]),_0x16ed66={};_0x16ed66[_0x2c0c9b(0x122)]=CLOUDFORMATION_SCHEMA;const _0x240233=yaml[_0x2c0c9b(0xb9)](_0x33f541,_0x16ed66);await _0xab209e[_0x2c0c9b(0x11b)](addVPCData,_0x240233,_0x257627),await _0xab209e[_0x2c0c9b(0xbc)](addS3Data,_0x240233),await _0xab209e['DdQyP'](addSubnetData,_0x240233,_0x213e20),await _0xab209e['VUeDS'](addTags,_0x240233,_0x529075,_0x3545ae);const _0x130c9c=JSON[_0x2c0c9b(0x10b)](_0x240233),_0x5bec55={};_0x5bec55[_0x2c0c9b(0xc6)]=CLUSTER_DEP_STACK_NAME+'-'+_0x529075,_0x5bec55[_0x2c0c9b(0x105)]=_0xab209e[_0x2c0c9b(0xa2)],_0x5bec55[_0x2c0c9b(0x9b)]=_0x130c9c,_0x5bec55[_0x2c0c9b(0x11a)]=[{'ParameterKey':_0xab209e['jGmEl'],'ParameterValue':_0x529075},{'ParameterKey':_0xab209e[_0x2c0c9b(0x12e)],'ParameterValue':_0x529075+_0x2c0c9b(0xe5)},{'ParameterKey':_0xab209e[_0x2c0c9b(0x133)],'ParameterValue':''+_0x2436de},{'ParameterKey':_0xab209e[_0x2c0c9b(0xf5)],'ParameterValue':'0'},{'ParameterKey':_0xab209e[_0x2c0c9b(0x15e)],'ParameterValue':'1'},{'ParameterKey':_0xab209e[_0x2c0c9b(0x167)],'ParameterValue':''+_0x5235d5},{'ParameterKey':_0xab209e[_0x2c0c9b(0x12c)],'ParameterValue':global_registry[_0x2c0c9b(0xc2)]},{'ParameterKey':_0xab209e[_0x2c0c9b(0xd2)],'ParameterValue':global_registry[_0x2c0c9b(0x116)]},{'ParameterKey':_0xab209e[_0x2c0c9b(0xe2)],'ParameterValue':global_registry[_0x2c0c9b(0xd3)]},{'ParameterKey':_0xab209e['RUXFj'],'ParameterValue':_0x529075+_0x2c0c9b(0x11f)},{'ParameterKey':_0xab209e[_0x2c0c9b(0x124)],'ParameterValue':_0x133e91?_0xab209e['xGaTN']:_0xab209e[_0x2c0c9b(0x125)]}],_0x5bec55['Capabilities']=[_0xab209e[_0x2c0c9b(0x13d)]],_0x5bec55[_0x2c0c9b(0xf6)]=_0x3545ae;const _0x123f98=_0x5bec55;if(_0xab209e[_0x2c0c9b(0x97)](_0x257627,null)&&_0xab209e[_0x2c0c9b(0x118)](_0x257627,undefined)){if(_0xab209e[_0x2c0c9b(0x161)](_0xab209e[_0x2c0c9b(0x121)],_0xab209e[_0x2c0c9b(0x121)])){const _0xe81bae={};_0xe81bae[_0x2c0c9b(0x15f)]=_0xab209e[_0x2c0c9b(0xf7)],_0xe81bae[_0x2c0c9b(0x95)]=_0x257627,_0x123f98[_0x2c0c9b(0x11a)][_0x2c0c9b(0x131)](_0xe81bae);}else{for(const _0x404b7c in _0x3926d1[_0x2c0c9b(0xcd)]){_0x106c0e[_0x2c0c9b(0xcd)][_0x404b7c]['Properties']&&_0x1f5ff4[_0x2c0c9b(0xcd)][_0x404b7c][_0x2c0c9b(0x158)][_0x2c0c9b(0xf6)]&&_0x5703bc[_0x2c0c9b(0xcd)][_0x404b7c][_0x2c0c9b(0x158)]['Tags']['push'](..._0x4ecc8d);}const _0x251ad2={};_0x1d1b3c[_0x2c0c9b(0xa0)](_0x55122c=>{const _0xbf6834=_0x2c0c9b;_0x251ad2[_0x55122c[_0xbf6834(0xe4)]]=_0x55122c[_0xbf6834(0x10f)];}),_0x5938f1[_0x2c0c9b(0xcd)][_0xab209e[_0x2c0c9b(0xb4)]][_0x2c0c9b(0x158)][_0x2c0c9b(0xf6)]=_0x251ad2,_0x58af5f[_0x2c0c9b(0xcd)][_0xab209e[_0x2c0c9b(0x10a)]][_0x2c0c9b(0x158)]['Tags']=_0x251ad2;}}if(_0xab209e[_0x2c0c9b(0xfb)](_0x213e20,null)&&_0xab209e[_0x2c0c9b(0x15c)](_0x213e20,undefined)){let _0x37e6ca=0x1;_0x213e20[_0x2c0c9b(0xa0)](_0x447306=>{const _0x1c00fa=_0x2c0c9b;_0x123f98[_0x1c00fa(0x11a)][_0x1c00fa(0x131)]({'ParameterKey':_0x1c00fa(0xbd)+_0xab209e[_0x1c00fa(0xbc)](String,_0x37e6ca)[_0x1c00fa(0xde)](0x2,'0'),'ParameterValue':_0x447306[_0x1c00fa(0x15d)]}),_0x37e6ca+=0x1;});}const _0x5063c5=await _0x48bd2b[_0x2c0c9b(0xb5)](_0x123f98)[_0x2c0c9b(0x111)]();logger['debug'](_0xab209e[_0x2c0c9b(0x129)]);const _0x532740={};return _0x532740[_0x2c0c9b(0xc6)]=_0x5063c5[_0x2c0c9b(0x108)],_0x48bd2b[_0x2c0c9b(0xf3)](_0xab209e[_0x2c0c9b(0xe1)],_0x532740)['promise']();};
|
|
1
|
+
const a27_0x19f47e=a27_0x29a8;function a27_0x29a8(_0x47eb87,_0x56667a){const _0xc4ba54=a27_0xc4ba();return a27_0x29a8=function(_0x29a8db,_0x56572d){_0x29a8db=_0x29a8db-0xf3;let _0x4745d2=_0xc4ba54[_0x29a8db];return _0x4745d2;},a27_0x29a8(_0x47eb87,_0x56667a);}(function(_0x5dd0e7,_0x5e29a8){const _0x2d4cb1=a27_0x29a8,_0xdc6198=_0x5dd0e7();while(!![]){try{const _0x5f3558=-parseInt(_0x2d4cb1(0x12f))/0x1*(parseInt(_0x2d4cb1(0x174))/0x2)+parseInt(_0x2d4cb1(0x16d))/0x3*(parseInt(_0x2d4cb1(0x165))/0x4)+parseInt(_0x2d4cb1(0xff))/0x5+-parseInt(_0x2d4cb1(0x172))/0x6+parseInt(_0x2d4cb1(0x10f))/0x7+-parseInt(_0x2d4cb1(0x192))/0x8*(-parseInt(_0x2d4cb1(0x169))/0x9)+parseInt(_0x2d4cb1(0x164))/0xa*(-parseInt(_0x2d4cb1(0x117))/0xb);if(_0x5f3558===_0x5e29a8)break;else _0xdc6198['push'](_0xdc6198['shift']());}catch(_0x92ed14){_0xdc6198['push'](_0xdc6198['shift']());}}}(a27_0xc4ba,0xb9876));const fs=require('fs'),path=require('path'),Promise=require(a27_0x19f47e(0x17b)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x19f47e(0x134)),AWS=require(a27_0x19f47e(0x130))[a27_0x19f47e(0x106)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x19f47e(0x100)),{logger}=require(a27_0x19f47e(0x19b)),{isBucketPresent}=require('./AWSUtils');Promise[a27_0x19f47e(0x194)](fs);function a27_0xc4ba(){const _0x5394a6=['promisifyAll','prcZr','keys','QAWSq','vrERP','rjSnn','Subnet03','../config/logger','JTnbF','uerpD','LmwiF','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','yvQEy','VkBnh','Parameters','aKCDI','zrxyG','ResourcesVpcConfig','CloudFormation','utf-8','lDMIo','Resources','VXjqc','aws-eks-cluster-dep.yaml','RxKVK','ami','IbUmb','FaSMF','chBDp','gArzF','pkPfQ','CouSR','FFznU','OinlT','ionlZ','GHwkh','LUsnS','EutwP','value','TFduz','2320795SydquN','../config/constants','valueOf','EKSCluster','Properties','NodeGroupNameWindows','VOdiT','awsObj','NodeAutoScalingGroupMaxSize','stringify','uQCcS','Subnet02Block','frxSZ','qDCur','NICfZ','IsFBk','7270263NODGBI','Fn::Join','browserstack:cluster','CUuJM','rOpbU','Capabilities','vpc-create.yaml','QarKB','384747hfSsEB','PlkPO','pfduI','S3BucketName','aAjTk','aScTG','promise','GagKC','UUfcJ','SWHXZ','NodeInstanceType','VPC','NodeGroupWindows','Subnet01','Value','CAPABILITY_NAMED_IAM','ClusterName','Subnet03Block','stackCreateComplete','SubnetIds','OBuEA','NodeGroupName','Ekebf','jfPOT','86601HAqqUu','./AWSUtils','adQpK','DvxTt','IJElX','js-yaml-cloudformation-schema','fsQNv','symbe','padStart','BLbcC','eukJE','GlgTz','YWYLr','AWS::CloudFormation::Interface','jaDxy','Outputs','ZfIMQ','waitFor','-NodeGroup','OqDGG','schema','AKZyr','CWTPT','NodeAutoScalingGroupMinSizeWindows','DrHJr','fYCtD','ParameterKey','load','s3-create.yaml','JQwXy','NodeAutoScalingGroupMinSize','XPhBx','Subnet','EmFrQ','CYWGK','Subnets','kyDIa','Metadata','uNpne','NodeGroup','iLSZD','vJHFP','instanceType','gXlxA','Subnet01Block','join','zjcvJ','apiVersion','TemplateBody','ParameterGroups','pSDdE','Tags','OnFailure','270inGNRf','61172ExvvzH','s3Bucket','JTUmp','CFTemplates','12089943hGnBtg','aRKmx','forEach','Subnet02','108iiXDoE','veTjh','split','4|5|1|0|2|3','sLFAw','5477574iKGqgh','vpc-import.yaml','18eVAIKr','NygOe','oHAtj','true','WkHLu','PBAxr','StackName','bluebird','lRpPv','subnet-create.yaml','UEdJk','guIqH','Key','XAbAc','push','Ref','rjtQI','QkpYZ','zyYSZ','lGJHI','ParameterValue','jvFzu','TDDvu','IEoqX','JWPQu','ZNvlD','zrjKa','readFileAsync','fGCmf','GCrap','8Cztkoo','NQksh'];a27_0xc4ba=function(){return _0x5394a6;};return a27_0xc4ba();}const mergeTemplates=(_0x1e597b,_0x17a659)=>{const _0x54fe5d=a27_0x19f47e,_0x2d4cde={'ynjhQ':function(_0x17745b,_0x370160){return _0x17745b(_0x370160);},'chTIJ':function(_0x2c1da6,_0x503a18){return _0x2c1da6===_0x503a18;},'JTUmp':_0x54fe5d(0x10d),'CYWGK':function(_0x259f65,_0x4c9f2d){return _0x259f65!==_0x4c9f2d;},'aAjTk':_0x54fe5d(0x176),'OBuEA':_0x54fe5d(0x131)};Object[_0x54fe5d(0x196)](_0x17a659)[_0x54fe5d(0x16b)](_0x365a08=>{const _0x17b4bf=_0x54fe5d,_0x39242b={'YWYLr':function(_0x4210cd,_0x1400fb){return _0x2d4cde['chTIJ'](_0x4210cd,_0x1400fb);},'frxSZ':_0x2d4cde[_0x17b4bf(0x167)]};if(_0x2d4cde[_0x17b4bf(0x151)](_0x2d4cde[_0x17b4bf(0x11b)],_0x2d4cde[_0x17b4bf(0x12b)])){var _0x5dd7bf=_0x17a659[_0x365a08];Object[_0x17b4bf(0x196)](_0x5dd7bf)[_0x17b4bf(0x16b)](_0x266115=>{const _0x19a360=_0x17b4bf;_0x39242b[_0x19a360(0x13b)](_0x39242b[_0x19a360(0x10b)],_0x39242b[_0x19a360(0x10b)])?_0x1e597b[_0x365a08][_0x266115]=_0x5dd7bf[_0x266115]:_0x4721ec[_0x1b509e][_0x2a4890]=_0xdd40f[_0x27e2c6];});}else _0x507d19[_0x17b4bf(0x1a2)][_0x17b4bf(0x182)]({'ParameterKey':_0x17b4bf(0x14f)+_0x2d4cde['ynjhQ'](_0xf93245,_0x252a83)[_0x17b4bf(0x137)](0x2,'0'),'ParameterValue':_0x43ced8[_0x17b4bf(0xfd)]}),_0x34dada+=0x1;});},addVPCData=async(_0xd46ee7,_0x99f115)=>{const _0x46c640=a27_0x19f47e,_0x390f5e={'wxcPC':function(_0x50e704,_0xc79247){return _0x50e704===_0xc79247;},'PHFNL':'PYtbw','QAWSq':_0x46c640(0x168),'rjtQI':_0x46c640(0x173),'NQksh':_0x46c640(0x1a7),'FFznU':function(_0x2d6136,_0x4c5f42,_0x186477){return _0x2d6136(_0x4c5f42,_0x186477);},'VkBnh':_0x46c640(0x13c),'jfPOT':'VPC','OzIqg':function(_0xf9d857,_0x298a67){return _0xf9d857!==_0x298a67;},'fGCmf':'taMBK','GlgTz':_0x46c640(0x115),'NygOe':'VpcBlock'};if(_0x99f115){if(_0x390f5e['wxcPC'](_0x390f5e['PHFNL'],_0x390f5e['PHFNL'])){const _0x53d1ec=await fs[_0x46c640(0x18f)](path['join'](__dirname,'..',_0x390f5e['QAWSq'],_0x390f5e[_0x46c640(0x184)]),_0x390f5e[_0x46c640(0x193)]),_0x30e257={};_0x30e257[_0x46c640(0x143)]=CLOUDFORMATION_SCHEMA;const _0x4d9641=yaml[_0x46c640(0x14a)](_0x53d1ec,_0x30e257);_0x390f5e[_0x46c640(0xf7)](mergeTemplates,_0xd46ee7,_0x4d9641),_0xd46ee7[_0x46c640(0x154)][_0x390f5e[_0x46c640(0x1a1)]][_0x46c640(0x160)][0x0][_0x46c640(0x1a2)][_0x46c640(0x182)](_0x390f5e[_0x46c640(0x12e)]);}else _0x5a4b4f[_0x24cd47[_0x46c640(0x180)]]=_0x3228c9['Value'];}else{if(_0x390f5e['OzIqg'](_0x390f5e['fGCmf'],_0x390f5e[_0x46c640(0x190)]))_0xdd23cd[_0x46c640(0x1a9)][_0x5c4de5][_0x46c640(0x103)][_0x46c640(0x162)][_0x46c640(0x182)](..._0x57fa98);else{const _0x4e126d=await fs[_0x46c640(0x18f)](path[_0x46c640(0x15c)](__dirname,'..',_0x390f5e[_0x46c640(0x197)],_0x390f5e[_0x46c640(0x13a)]),_0x390f5e[_0x46c640(0x193)]),_0xf63310={};_0xf63310[_0x46c640(0x143)]=CLOUDFORMATION_SCHEMA;const _0x48b221=yaml[_0x46c640(0x14a)](_0x4e126d,_0xf63310);_0x390f5e[_0x46c640(0xf7)](mergeTemplates,_0xd46ee7,_0x48b221),_0xd46ee7['Metadata'][_0x390f5e['VkBnh']][_0x46c640(0x160)][0x0][_0x46c640(0x1a2)][_0x46c640(0x182)](_0x390f5e[_0x46c640(0x175)]);}}},addS3Data=async _0x51e58a=>{const _0x673116=a27_0x19f47e,_0x2329b1={'zyYSZ':_0x673116(0x122),'JQwXy':_0x673116(0x168),'PlkPO':_0x673116(0x14b),'ddwKm':_0x673116(0x1a7),'vOxbQ':function(_0x5a17db,_0x25aad6){return _0x5a17db(_0x25aad6);},'fsQNv':function(_0x4352b5,_0x142f5e){return _0x4352b5===_0x142f5e;},'GCrap':function(_0x24018e,_0x3b0fe3){return _0x24018e!==_0x3b0fe3;},'iLSZD':_0x673116(0x16e),'guIqH':_0x673116(0x158),'fYCtD':function(_0x455c6a,_0x7a0340,_0x385fd9){return _0x455c6a(_0x7a0340,_0x385fd9);}},_0x41a2c3=await fs[_0x673116(0x18f)](path[_0x673116(0x15c)](__dirname,'..',_0x2329b1[_0x673116(0x14c)],_0x2329b1[_0x673116(0x118)]),_0x2329b1['ddwKm']),_0x5b02ed={};_0x5b02ed[_0x673116(0x143)]=CLOUDFORMATION_SCHEMA;const _0x40939d=yaml[_0x673116(0x14a)](_0x41a2c3,_0x5b02ed),_0x2d2db0=await _0x2329b1['vOxbQ'](isBucketPresent,global_registry[_0x673116(0x166)]);if(_0x2329b1[_0x673116(0x135)](_0x2d2db0,![])){if(_0x2329b1[_0x673116(0x191)](_0x2329b1[_0x673116(0x157)],_0x2329b1[_0x673116(0x17f)]))_0x2329b1[_0x673116(0x148)](mergeTemplates,_0x51e58a,_0x40939d);else{const _0x1b5f97={};_0x1b5f97['ParameterKey']=_0x2329b1[_0x673116(0x186)],_0x1b5f97[_0x673116(0x188)]=_0x5de492,_0x1843dc[_0x673116(0x1a2)]['push'](_0x1b5f97);}}},addSubnetData=async(_0x534fe3,_0x5c36d9)=>{const _0x5aa74a=a27_0x19f47e,_0x140d6c={'jvFzu':'NodeGroup','MvoiI':'NodeGroupWindows','QkpYZ':function(_0x3c91b9,_0x2ab588){return _0x3c91b9!==_0x2ab588;},'rOpbU':_0x5aa74a(0x199),'aKCDI':'kPeLX','FRZCM':_0x5aa74a(0x170),'IsFBk':function(_0x1fea17,_0x4d08bb){return _0x1fea17(_0x4d08bb);},'LmwiF':function(_0x20f23f,_0x509302){return _0x20f23f(_0x509302);},'CouSR':_0x5aa74a(0x110),'pfduI':function(_0x470bc5,_0x50ae82){return _0x470bc5(_0x50ae82);},'SWHXZ':'AWS::CloudFormation::Interface','TFduz':function(_0x30b357,_0x574aac){return _0x30b357===_0x574aac;},'DrHJr':_0x5aa74a(0x171),'Cirek':_0x5aa74a(0x195),'jaDxy':_0x5aa74a(0x168),'chBDp':'subnet-import.yaml','zrjKa':_0x5aa74a(0x1a7),'lGJHI':function(_0x3702e8,_0x5713c1,_0x27ecf0){return _0x3702e8(_0x5713c1,_0x27ecf0);},'XPhBx':function(_0x4d63b1,_0x1f394e){return _0x4d63b1===_0x1f394e;},'zrxyG':'QafsB','TRXYZ':_0x5aa74a(0x17d),'IbUmb':_0x5aa74a(0x124),'aScTG':_0x5aa74a(0x16c),'DvxTt':_0x5aa74a(0x19a),'WnBgp':_0x5aa74a(0x15b),'TDDvu':_0x5aa74a(0x10a),'GagKC':_0x5aa74a(0x128)};if(_0x5c36d9){if(_0x140d6c[_0x5aa74a(0xfe)](_0x140d6c[_0x5aa74a(0x147)],_0x140d6c['Cirek']))_0x5dc442[_0x5aa74a(0x1a9)][_0x341189][_0x5aa74a(0x103)]&&_0x488143[_0x5aa74a(0x1a9)][_0x258646][_0x5aa74a(0x103)][_0x5aa74a(0x162)]&&_0x2b5741[_0x5aa74a(0x1a9)][_0x5a99ba][_0x5aa74a(0x103)]['Tags'][_0x5aa74a(0x182)](..._0x548593);else{const _0x52f7bf=await fs['readFileAsync'](path['join'](__dirname,'..',_0x140d6c[_0x5aa74a(0x13d)],_0x140d6c[_0x5aa74a(0xf3)]),_0x140d6c[_0x5aa74a(0x18e)]),_0x52835d={};_0x52835d[_0x5aa74a(0x143)]=CLOUDFORMATION_SCHEMA;const _0x13ab6b=yaml['load'](_0x52f7bf,_0x52835d);_0x140d6c['lGJHI'](mergeTemplates,_0x534fe3,_0x13ab6b);let _0x19fa81=0x1;_0x5c36d9[_0x5aa74a(0x16b)](_0x209c4a=>{const _0x183692=_0x5aa74a;if(_0x140d6c[_0x183692(0x185)](_0x140d6c[_0x183692(0x113)],_0x140d6c[_0x183692(0x1a3)])){const _0x243270=_0x140d6c['FRZCM']['split']('|');let _0x52e448=0x0;while(!![]){switch(_0x243270[_0x52e448++]){case'0':_0x534fe3[_0x183692(0x1a9)]['NodeGroupWindows'][_0x183692(0x103)][_0x183692(0x152)]['push']({'Ref':_0x183692(0x14f)+_0x140d6c[_0x183692(0x10e)](String,_0x19fa81)[_0x183692(0x137)](0x2,'0')});continue;case'1':_0x534fe3[_0x183692(0x1a9)][_0x183692(0x156)][_0x183692(0x103)][_0x183692(0x152)][_0x183692(0x182)]({'Ref':_0x183692(0x14f)+_0x140d6c[_0x183692(0x19e)](String,_0x19fa81)[_0x183692(0x137)](0x2,'0')});continue;case'2':_0x534fe3[_0x183692(0x13e)][_0x183692(0x12a)][_0x183692(0x125)][_0x140d6c['CouSR']][0x1][_0x183692(0x182)]({'Ref':_0x183692(0x14f)+_0x140d6c[_0x183692(0x19e)](String,_0x19fa81)[_0x183692(0x137)](0x2,'0')});continue;case'3':_0x19fa81+=0x1;continue;case'4':_0x534fe3['Resources'][_0x183692(0x102)][_0x183692(0x103)][_0x183692(0x1a5)][_0x183692(0x12a)][_0x183692(0x182)]({'Ref':_0x183692(0x14f)+_0x140d6c[_0x183692(0x119)](String,_0x19fa81)['padStart'](0x2,'0')});continue;case'5':_0x534fe3['Metadata'][_0x140d6c[_0x183692(0x120)]][_0x183692(0x160)][0x0][_0x183692(0x1a2)][_0x183692(0x182)]('Subnet'+_0x140d6c[_0x183692(0x19e)](String,_0x19fa81)[_0x183692(0x137)](0x2,'0'));continue;}break;}}else{for(const _0x3a3e13 in _0xaa7272['Resources']){_0x3f1578[_0x183692(0x1a9)][_0x3a3e13]['Properties']&&_0x354ab1[_0x183692(0x1a9)][_0x3a3e13][_0x183692(0x103)][_0x183692(0x162)]&&_0x5d2a9c[_0x183692(0x1a9)][_0x3a3e13][_0x183692(0x103)][_0x183692(0x162)][_0x183692(0x182)](..._0x522aaf);}const _0x222f08={};_0x267462[_0x183692(0x16b)](_0x3079d1=>{const _0x8db155=_0x183692;_0x222f08[_0x3079d1[_0x8db155(0x180)]]=_0x3079d1[_0x8db155(0x125)];}),_0x5e34fc[_0x183692(0x1a9)][_0x140d6c[_0x183692(0x189)]][_0x183692(0x103)][_0x183692(0x162)]=_0x222f08,_0x5b7c8b[_0x183692(0x1a9)][_0x140d6c['MvoiI']]['Properties']['Tags']=_0x222f08;}});}}else{if(_0x140d6c[_0x5aa74a(0x14e)](_0x140d6c[_0x5aa74a(0x1a4)],_0x140d6c[_0x5aa74a(0x1a4)])){const _0x259070=await fs[_0x5aa74a(0x18f)](path[_0x5aa74a(0x15c)](__dirname,'..',_0x140d6c['jaDxy'],_0x140d6c['TRXYZ']),_0x140d6c[_0x5aa74a(0x18e)]),_0x526f59={};_0x526f59[_0x5aa74a(0x143)]=CLOUDFORMATION_SCHEMA;const _0x5f5d9a=yaml['load'](_0x259070,_0x526f59);_0x140d6c[_0x5aa74a(0x187)](mergeTemplates,_0x534fe3,_0x5f5d9a),_0x534fe3[_0x5aa74a(0x1a9)][_0x5aa74a(0x102)]['DependsOn'][_0x5aa74a(0x182)](_0x140d6c[_0x5aa74a(0x1ae)],_0x140d6c[_0x5aa74a(0x11c)],_0x140d6c[_0x5aa74a(0x132)]);const _0x2c8c0e={};_0x2c8c0e[_0x5aa74a(0x183)]=_0x140d6c[_0x5aa74a(0x1ae)];const _0x23d734={};_0x23d734['Ref']=_0x140d6c[_0x5aa74a(0x11c)];const _0x5994de={};_0x5994de[_0x5aa74a(0x183)]=_0x140d6c['DvxTt'],_0x534fe3[_0x5aa74a(0x1a9)][_0x5aa74a(0x102)][_0x5aa74a(0x103)][_0x5aa74a(0x1a5)][_0x5aa74a(0x12a)]=[_0x2c8c0e,_0x23d734,_0x5994de],_0x534fe3[_0x5aa74a(0x154)][_0x140d6c['SWHXZ']][_0x5aa74a(0x160)][0x0]['Parameters'][_0x5aa74a(0x182)](_0x140d6c['WnBgp'],_0x140d6c[_0x5aa74a(0x18a)],_0x140d6c[_0x5aa74a(0x11e)]);const _0xa18497={};_0xa18497[_0x5aa74a(0x183)]=_0x140d6c['IbUmb'];const _0x4c2613={};_0x4c2613[_0x5aa74a(0x183)]=_0x140d6c[_0x5aa74a(0x11c)];const _0x2bc8a1={};_0x2bc8a1[_0x5aa74a(0x183)]=_0x140d6c[_0x5aa74a(0x132)],_0x534fe3['Resources']['NodeGroup'][_0x5aa74a(0x103)]['Subnets']=[_0xa18497,_0x4c2613,_0x2bc8a1];const _0x346126={};_0x346126['Ref']=_0x140d6c[_0x5aa74a(0x1ae)];const _0x151bec={};_0x151bec[_0x5aa74a(0x183)]=_0x140d6c['aScTG'];const _0x13f357={};_0x13f357[_0x5aa74a(0x183)]=_0x140d6c[_0x5aa74a(0x132)],_0x534fe3['Resources'][_0x5aa74a(0x123)]['Properties'][_0x5aa74a(0x152)]=[_0x346126,_0x151bec,_0x13f357],_0x534fe3[_0x5aa74a(0x13e)]['SubnetIds']['Value'][_0x140d6c[_0x5aa74a(0xf6)]][0x1]=[{'Ref':_0x140d6c[_0x5aa74a(0x1ae)]},{'Ref':_0x140d6c['aScTG']},{'Ref':_0x140d6c['DvxTt']}];}else{var _0x5c0eb2=_0x24e47b[_0x3da28d];_0x103718[_0x5aa74a(0x196)](_0x5c0eb2)['forEach'](_0x5db19d=>{_0x5b90a7[_0x39a332][_0x5db19d]=_0x5c0eb2[_0x5db19d];});}}},addTags=async(_0x29f83a,_0x2d8824,_0x47f516)=>{const _0x4b62f7=a27_0x19f47e,_0x5befc8={'kyDIa':function(_0x5baad2,_0x43a1b9,_0x229234){return _0x5baad2(_0x43a1b9,_0x229234);},'qPBte':function(_0x5883a5,_0x426e82){return _0x5883a5(_0x426e82);},'PBAxr':function(_0x250ce3,_0x278dac){return _0x250ce3!==_0x278dac;},'VOdiT':_0x4b62f7(0x109),'WkHLu':'hWGMn','vrERP':_0x4b62f7(0x17c),'IwkHt':function(_0x3e5d54,_0x58ed96){return _0x3e5d54===_0x58ed96;},'lDMIo':_0x4b62f7(0xfc),'UUfcJ':_0x4b62f7(0x136),'uerpD':'NodeGroup','Ekebf':_0x4b62f7(0x123)};for(const _0x2d285b in _0x29f83a[_0x4b62f7(0x1a9)]){_0x5befc8[_0x4b62f7(0x179)](_0x5befc8[_0x4b62f7(0x198)],_0x5befc8[_0x4b62f7(0x198)])?_0x5befc8[_0x4b62f7(0x153)](_0x484d1c,_0x3c8749,_0x19d747):_0x29f83a[_0x4b62f7(0x1a9)][_0x2d285b][_0x4b62f7(0x103)]&&_0x29f83a[_0x4b62f7(0x1a9)][_0x2d285b][_0x4b62f7(0x103)][_0x4b62f7(0x162)]&&(_0x5befc8['IwkHt'](_0x5befc8[_0x4b62f7(0x1a8)],_0x5befc8[_0x4b62f7(0x11f)])?_0x46db49[_0x4b62f7(0x196)](_0x5ddbc0)['forEach'](_0x304e24=>{var _0x20455e=_0x14cde6[_0x304e24];_0x484d9f['keys'](_0x20455e)['forEach'](_0x59bdbe=>{_0x1bd97f[_0x304e24][_0x59bdbe]=_0x20455e[_0x59bdbe];});}):_0x29f83a[_0x4b62f7(0x1a9)][_0x2d285b][_0x4b62f7(0x103)][_0x4b62f7(0x162)]['push'](..._0x47f516));}const _0x2111e9={};_0x47f516[_0x4b62f7(0x16b)](_0x2caa6a=>{const _0x22e47d=_0x4b62f7;if(_0x5befc8[_0x22e47d(0x179)](_0x5befc8[_0x22e47d(0x105)],_0x5befc8[_0x22e47d(0x178)]))_0x2111e9[_0x2caa6a[_0x22e47d(0x180)]]=_0x2caa6a[_0x22e47d(0x125)];else{const _0x5970e3={'MPaBD':function(_0x55bf8f,_0x5f1478){return _0x5befc8['qPBte'](_0x55bf8f,_0x5f1478);}};let _0x3afb08=0x1;_0x20f2fb['forEach'](_0x2d4c1e=>{const _0x48800f=_0x22e47d;_0x28e4fd[_0x48800f(0x1a2)][_0x48800f(0x182)]({'ParameterKey':_0x48800f(0x14f)+_0x5970e3['MPaBD'](_0xc60da3,_0x3afb08)[_0x48800f(0x137)](0x2,'0'),'ParameterValue':_0x2d4c1e[_0x48800f(0xfd)]}),_0x3afb08+=0x1;});}}),_0x29f83a[_0x4b62f7(0x1a9)][_0x5befc8[_0x4b62f7(0x19d)]][_0x4b62f7(0x103)]['Tags']=_0x2111e9,_0x29f83a['Resources'][_0x5befc8[_0x4b62f7(0x12d)]][_0x4b62f7(0x103)][_0x4b62f7(0x162)]=_0x2111e9;};exports['createClusterStack']=async(_0x1c8b08,_0x32fa5e,_0x4a6ca1,_0xa6f225=null,_0x305fc6=null,_0x517547)=>{const _0x10c351=a27_0x19f47e,_0x1b76f1={'gArzF':'1|2|4|3|5|0','FaSMF':function(_0x56d091,_0x594b22){return _0x56d091(_0x594b22);},'KhnvO':'AWS::CloudFormation::Interface','pSDdE':function(_0x33f6fe,_0x386db9){return _0x33f6fe(_0x386db9);},'ZNvlD':function(_0x52b54a,_0x165114){return _0x52b54a(_0x165114);},'XAbAc':_0x10c351(0x110),'uNpne':function(_0x158f41,_0x343e10){return _0x158f41(_0x343e10);},'aRKmx':_0x10c351(0x111),'ZfIMQ':'browserstack:creationDate','JWPQu':'2010-05-15','gXlxA':'CFTemplates','pkPfQ':_0x10c351(0x1ab),'IpoKt':'utf-8','qDCur':function(_0x3a18c2,_0x54670a,_0x2aecdb){return _0x3a18c2(_0x54670a,_0x2aecdb);},'yvQEy':function(_0x21c135,_0x4505dc){return _0x21c135(_0x4505dc);},'dfrhS':function(_0x1632ab,_0x297812,_0x6a2f23,_0x554071){return _0x1632ab(_0x297812,_0x6a2f23,_0x554071);},'GHwkh':'DELETE','BLbcC':_0x10c351(0x127),'OinlT':_0x10c351(0x12c),'OqDGG':_0x10c351(0x14d),'CWTPT':_0x10c351(0x146),'eukJE':'NodeAutoScalingGroupDesiredSizeWindows','JTnbF':_0x10c351(0x107),'VjybE':'NodeImageId','zjcvJ':_0x10c351(0x121),'UEdJk':_0x10c351(0x11a),'IJElX':_0x10c351(0x104),'VXjqc':'ClusterAutoUpgrade','QarKB':_0x10c351(0x177),'LUsnS':'false','IEoqX':_0x10c351(0x126),'temJF':function(_0xd12e1e,_0x48d24d){return _0xd12e1e!=_0x48d24d;},'yrdEa':function(_0x49e261,_0x2cd083){return _0x49e261!==_0x2cd083;},'AKZyr':function(_0x5783e5,_0x404ae9){return _0x5783e5===_0x404ae9;},'Tcepy':'QIguQ','EmFrQ':'QxGEV','ionlZ':_0x10c351(0x122),'CUuJM':function(_0x229606,_0x6e95fc){return _0x229606!==_0x6e95fc;},'RUEyu':_0x10c351(0x19f),'RxKVK':_0x10c351(0x129)},_0x3cd9fc=COMMON_HST_TAGS,_0x278451={};_0x278451[_0x10c351(0x180)]=_0x1b76f1[_0x10c351(0x16a)],_0x278451[_0x10c351(0x125)]=_0x1c8b08,_0x3cd9fc[_0x10c351(0x182)](_0x278451),_0x3cd9fc[_0x10c351(0x182)]({'Key':_0x1b76f1[_0x10c351(0x13f)],'Value':new Date()[_0x10c351(0x101)]()['toString']()});const _0x5db5d6={};_0x5db5d6[_0x10c351(0x15e)]=_0x1b76f1[_0x10c351(0x18c)];const _0x3a7e1b=new AWS[(_0x10c351(0x1a6))](_0x5db5d6),_0x2ed749=await fs[_0x10c351(0x18f)](path[_0x10c351(0x15c)](__dirname,'..',_0x1b76f1[_0x10c351(0x15a)],_0x1b76f1[_0x10c351(0xf5)]),_0x1b76f1['IpoKt']),_0x714437={};_0x714437[_0x10c351(0x143)]=CLOUDFORMATION_SCHEMA;const _0x59b370=yaml[_0x10c351(0x14a)](_0x2ed749,_0x714437);await _0x1b76f1[_0x10c351(0x10c)](addVPCData,_0x59b370,_0xa6f225),await _0x1b76f1[_0x10c351(0x1a0)](addS3Data,_0x59b370),await _0x1b76f1['qDCur'](addSubnetData,_0x59b370,_0x305fc6),await _0x1b76f1['dfrhS'](addTags,_0x59b370,_0x1c8b08,_0x3cd9fc);const _0x43f1b6=JSON[_0x10c351(0x108)](_0x59b370),_0x500826={};_0x500826['StackName']=CLUSTER_DEP_STACK_NAME+'-'+_0x1c8b08,_0x500826[_0x10c351(0x163)]=_0x1b76f1[_0x10c351(0xfa)],_0x500826[_0x10c351(0x15f)]=_0x43f1b6,_0x500826[_0x10c351(0x1a2)]=[{'ParameterKey':_0x1b76f1[_0x10c351(0x138)],'ParameterValue':_0x1c8b08},{'ParameterKey':_0x1b76f1[_0x10c351(0xf8)],'ParameterValue':_0x1c8b08+_0x10c351(0x141)},{'ParameterKey':_0x1b76f1[_0x10c351(0x142)],'ParameterValue':''+_0x32fa5e},{'ParameterKey':_0x1b76f1[_0x10c351(0x145)],'ParameterValue':'0'},{'ParameterKey':_0x1b76f1[_0x10c351(0x139)],'ParameterValue':'1'},{'ParameterKey':_0x1b76f1[_0x10c351(0x19c)],'ParameterValue':''+_0x4a6ca1},{'ParameterKey':_0x1b76f1['VjybE'],'ParameterValue':global_registry[_0x10c351(0x1ad)]},{'ParameterKey':_0x1b76f1[_0x10c351(0x15d)],'ParameterValue':global_registry[_0x10c351(0x159)]},{'ParameterKey':_0x1b76f1[_0x10c351(0x17e)],'ParameterValue':global_registry[_0x10c351(0x166)]},{'ParameterKey':_0x1b76f1[_0x10c351(0x133)],'ParameterValue':_0x1c8b08+'-Windows-NodeGroup'},{'ParameterKey':_0x1b76f1[_0x10c351(0x1aa)],'ParameterValue':_0x517547?_0x1b76f1[_0x10c351(0x116)]:_0x1b76f1[_0x10c351(0xfb)]}],_0x500826[_0x10c351(0x114)]=[_0x1b76f1[_0x10c351(0x18b)]],_0x500826[_0x10c351(0x162)]=_0x3cd9fc;const _0x165486=_0x500826;if(_0x1b76f1['temJF'](_0xa6f225,null)&&_0x1b76f1['yrdEa'](_0xa6f225,undefined)){if(_0x1b76f1[_0x10c351(0x144)](_0x1b76f1['Tcepy'],_0x1b76f1[_0x10c351(0x150)])){const _0x369813=_0x1b76f1[_0x10c351(0xf4)][_0x10c351(0x16f)]('|');let _0x235790=0x0;while(!![]){switch(_0x369813[_0x235790++]){case'0':_0x1d13f5+=0x1;continue;case'1':_0x1e7e31['Resources'][_0x10c351(0x102)][_0x10c351(0x103)]['ResourcesVpcConfig'][_0x10c351(0x12a)][_0x10c351(0x182)]({'Ref':_0x10c351(0x14f)+_0x1b76f1[_0x10c351(0x1af)](_0x438289,_0x36f96e)['padStart'](0x2,'0')});continue;case'2':_0xcd415c['Metadata'][_0x1b76f1['KhnvO']]['ParameterGroups'][0x0]['Parameters'][_0x10c351(0x182)](_0x10c351(0x14f)+_0x1b76f1[_0x10c351(0x161)](_0x8ca688,_0x4f5ae0)[_0x10c351(0x137)](0x2,'0'));continue;case'3':_0x2bcb13[_0x10c351(0x1a9)][_0x10c351(0x123)][_0x10c351(0x103)][_0x10c351(0x152)][_0x10c351(0x182)]({'Ref':_0x10c351(0x14f)+_0x1b76f1[_0x10c351(0x18d)](_0x22010c,_0x288502)['padStart'](0x2,'0')});continue;case'4':_0x333ddd[_0x10c351(0x1a9)][_0x10c351(0x156)]['Properties'][_0x10c351(0x152)][_0x10c351(0x182)]({'Ref':_0x10c351(0x14f)+_0x1b76f1['pSDdE'](_0x3c6e34,_0xfc8b7a)[_0x10c351(0x137)](0x2,'0')});continue;case'5':_0x28fca6[_0x10c351(0x13e)][_0x10c351(0x12a)][_0x10c351(0x125)][_0x1b76f1[_0x10c351(0x181)]][0x1][_0x10c351(0x182)]({'Ref':_0x10c351(0x14f)+_0x1b76f1[_0x10c351(0x155)](_0x19a5b5,_0x2d4a82)['padStart'](0x2,'0')});continue;}break;}}else{const _0x3e60aa={};_0x3e60aa[_0x10c351(0x149)]=_0x1b76f1[_0x10c351(0xf9)],_0x3e60aa[_0x10c351(0x188)]=_0xa6f225,_0x165486['Parameters'][_0x10c351(0x182)](_0x3e60aa);}}if(_0x1b76f1['temJF'](_0x305fc6,null)&&_0x1b76f1[_0x10c351(0x112)](_0x305fc6,undefined)){let _0x221496=0x1;_0x305fc6[_0x10c351(0x16b)](_0x4f044c=>{const _0x4a9aa9=_0x10c351;_0x165486[_0x4a9aa9(0x1a2)][_0x4a9aa9(0x182)]({'ParameterKey':'Subnet'+_0x1b76f1[_0x4a9aa9(0x18d)](String,_0x221496)['padStart'](0x2,'0'),'ParameterValue':_0x4f044c['value']}),_0x221496+=0x1;});}const _0x36a166=await _0x3a7e1b['createStack'](_0x165486)[_0x10c351(0x11d)]();logger['debug'](_0x1b76f1['RUEyu']);const _0x257fbf={};return _0x257fbf[_0x10c351(0x17a)]=_0x36a166['StackId'],_0x3a7e1b[_0x10c351(0x140)](_0x1b76f1[_0x10c351(0x1ac)],_0x257fbf)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0xf16e(){const _0x569b7b=['createHubHaStack','hub-ha.yaml','365756KCElvn','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','readFileAsync','promisifyAll','StackName','jESor','35270sfCrbl','2NJhpxP','join','waitFor','ClusterOIDCURL','CAPABILITY_NAMED_IAM','js-yaml-cloudformation-schema','promise','937104SHCmrN','Tags','Properties','BEkms','20gCgXOw','getOidcUrl','toString','nolYJ','28192AiifMJ','759deepLx','push','cJWKv','ekkkl','NDmcP','apiVersion','1805818gvUyAu','VpcId','zDsId','UwWzW','js-yaml','SDRsd','390786iczLrV','Key','Resources','split','CFTemplates','DELETE','faKGf','HbQiL','path','browserstack:creationDate','bluebird','TemplateBody','64133XGUfxk','3zFCAPJ','stringify','info','Capabilities','Parameters','load','414jeaSum','Bkide','browserstack:cluster','awsObj','CloudFormation','./AWSUtils','schema','BaseResourceName'];a28_0xf16e=function(){return _0x569b7b;};return a28_0xf16e();}const a28_0x24c0f6=a28_0x2190;(function(_0x120b46,_0xe41ab2){const _0x518c4b=a28_0x2190,_0x954b04=_0x120b46();while(!![]){try{const _0xd67282=-parseInt(_0x518c4b(0x11f))/0x1*(-parseInt(_0x518c4b(0xf7))/0x2)+-parseInt(_0x518c4b(0x120))/0x3*(-parseInt(_0x518c4b(0xf0))/0x4)+parseInt(_0x518c4b(0x102))/0x5*(-parseInt(_0x518c4b(0x113))/0x6)+parseInt(_0x518c4b(0x10d))/0x7+-parseInt(_0x518c4b(0x106))/0x8*(-parseInt(_0x518c4b(0x126))/0x9)+parseInt(_0x518c4b(0xf6))/0xa*(-parseInt(_0x518c4b(0x107))/0xb)+parseInt(_0x518c4b(0xfe))/0xc;if(_0xd67282===_0xe41ab2)break;else _0x954b04['push'](_0x954b04['shift']());}catch(_0x360536){_0x954b04['push'](_0x954b04['shift']());}}}(a28_0xf16e,0x2495f));const fs=require('fs'),path=require(a28_0x24c0f6(0x11b)),Promise=require(a28_0x24c0f6(0x11d)),yaml=require(a28_0x24c0f6(0x111)),{CLOUDFORMATION_SCHEMA}=require(a28_0x24c0f6(0xfc)),AWS=require(a28_0x24c0f6(0x12b))[a28_0x24c0f6(0x129)],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require('../config/logger');function a28_0x2190(_0x306888,_0x4806e5){const _0xf16e7c=a28_0xf16e();return a28_0x2190=function(_0x219099,_0x30e84c){_0x219099=_0x219099-0xec;let _0x8e032a=_0xf16e7c[_0x219099];return _0x8e032a;},a28_0x2190(_0x306888,_0x4806e5);}Promise[a28_0x24c0f6(0xf3)](fs);const addTags=async(_0x4603b1,_0xbdd040)=>{const _0x5f13db=a28_0x24c0f6;for(const _0x309113 in _0x4603b1['Resources']){_0x4603b1[_0x5f13db(0x115)][_0x309113][_0x5f13db(0x100)]&&_0x4603b1['Resources'][_0x309113][_0x5f13db(0x100)]['Tags']&&_0x4603b1[_0x5f13db(0x115)][_0x309113][_0x5f13db(0x100)][_0x5f13db(0xff)][_0x5f13db(0x108)](..._0xbdd040);}};exports[a28_0x24c0f6(0xee)]=async(_0x46a9fa,_0x52575c=null)=>{const _0x49daba=a28_0x24c0f6,_0x17f526={'BEkms':_0x49daba(0x128),'SDRsd':_0x49daba(0x11c),'jESor':'2010-05-15','NDmcP':_0x49daba(0x117),'cJWKv':_0x49daba(0xef),'Bkide':'utf-8','nolYJ':function(_0x5df818,_0x4eba5b,_0x165ab4){return _0x5df818(_0x4eba5b,_0x165ab4);},'UwWzW':'://','faKGf':_0x49daba(0x118),'ekkkl':_0x49daba(0x10e),'szxUZ':_0x49daba(0xed),'iMWoK':_0x49daba(0xfa),'zDsId':_0x49daba(0xfb),'IrXUm':_0x49daba(0xf1),'HbQiL':'stackCreateComplete'},_0x2a3169=COMMON_HST_TAGS,_0x3ff78f={};_0x3ff78f[_0x49daba(0x114)]=_0x17f526[_0x49daba(0x101)],_0x3ff78f['Value']=_0x46a9fa,_0x2a3169[_0x49daba(0x108)](_0x3ff78f),_0x2a3169[_0x49daba(0x108)]({'Key':_0x17f526[_0x49daba(0x112)],'Value':new Date()['valueOf']()[_0x49daba(0x104)]()});const _0x322388={};_0x322388[_0x49daba(0x10c)]=_0x17f526[_0x49daba(0xf5)];const _0xbbec67=new AWS[(_0x49daba(0x12a))](_0x322388),_0x1ea33c=await fs[_0x49daba(0xf2)](path[_0x49daba(0xf8)](__dirname,'..',_0x17f526[_0x49daba(0x10b)],_0x17f526[_0x49daba(0x109)]),_0x17f526[_0x49daba(0x127)]),_0x578f0f={};_0x578f0f[_0x49daba(0xec)]=CLOUDFORMATION_SCHEMA;const _0x43ad54=yaml[_0x49daba(0x125)](_0x1ea33c,_0x578f0f);await _0x17f526[_0x49daba(0x105)](addTags,_0x43ad54,_0x2a3169);const _0x692a23=JSON[_0x49daba(0x121)](_0x43ad54);let _0x4c35a5=await AWSUtils[_0x49daba(0x103)](_0x46a9fa);_0x4c35a5=_0x4c35a5[_0x49daba(0x116)](_0x17f526[_0x49daba(0x110)])[0x1];const _0x1d03d6={};_0x1d03d6[_0x49daba(0xf4)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x46a9fa+'-cf',_0x1d03d6['OnFailure']=_0x17f526[_0x49daba(0x119)],_0x1d03d6[_0x49daba(0x11e)]=_0x692a23,_0x1d03d6[_0x49daba(0x124)]=[{'ParameterKey':_0x17f526[_0x49daba(0x10a)],'ParameterValue':_0x52575c},{'ParameterKey':_0x17f526['szxUZ'],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x46a9fa},{'ParameterKey':_0x17f526['iMWoK'],'ParameterValue':_0x4c35a5}],_0x1d03d6[_0x49daba(0x123)]=[_0x17f526[_0x49daba(0x10f)]],_0x1d03d6[_0x49daba(0xff)]=_0x2a3169;const _0x3523a0=_0x1d03d6,_0x7261a1=await _0xbbec67['createStack'](_0x3523a0)[_0x49daba(0xfd)]();logger[_0x49daba(0x122)](_0x17f526['IrXUm']);const _0x226e1e={};return _0x226e1e[_0x49daba(0xf4)]=_0x7261a1['StackId'],_0xbbec67[_0x49daba(0xf9)](_0x17f526[_0x49daba(0x11a)],_0x226e1e)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x2e6a35=a29_0x3040;(function(_0x56011d,_0x401422){const _0x598ee6=a29_0x3040,_0x316442=_0x56011d();while(!![]){try{const _0x1fe422=-parseInt(_0x598ee6(0xe0))/0x1*(parseInt(_0x598ee6(0xe1))/0x2)+-parseInt(_0x598ee6(0xdb))/0x3+parseInt(_0x598ee6(0xdc))/0x4+parseInt(_0x598ee6(0xdd))/0x5+-parseInt(_0x598ee6(0xcf))/0x6*(-parseInt(_0x598ee6(0xce))/0x7)+-parseInt(_0x598ee6(0xe5))/0x8+-parseInt(_0x598ee6(0xd9))/0x9*(-parseInt(_0x598ee6(0xd6))/0xa);if(_0x1fe422===_0x401422)break;else _0x316442['push'](_0x316442['shift']());}catch(_0x1c4ec8){_0x316442['push'](_0x316442['shift']());}}}(a29_0x4525,0xdd45b));const fs=require('fs'),yaml=require('js-yaml'),Promise=require('bluebird'),{getDirForConfig}=require('./utilityMethods');function a29_0x4525(){const _0x4aec75=['ApiregistrationV1Api','existsSync','makeApiClient','RbacAuthorizationV1Api','SlRdg','7666760SRxFuj','getKubeConfigData','clusters','9pSzITy','loadFromString','4124649cKDKws','4992104ecwsla','4972060GWpcLv','IGtKP','NetworkingV1Api','706210cERImr','4VOIthh','promisifyAll','insecure-skip-tls-verify','StorageV1Api','6468656JZjvnU','KubeConfig','createK8sClient','14WTREux','4479306ZTVelC','load'];a29_0x4525=function(){return _0x4aec75;};return a29_0x4525();}function a29_0x3040(_0x10ddaa,_0x38f5d0){const _0x45250f=a29_0x4525();return a29_0x3040=function(_0x3040df,_0x346f64){_0x3040df=_0x3040df-0xcc;let _0x5f5517=_0x45250f[_0x3040df];return _0x5f5517;},a29_0x3040(_0x10ddaa,_0x38f5d0);}Promise[a29_0x2e6a35(0xe2)](fs),exports[a29_0x2e6a35(0xcd)]=async(_0x5433a3,_0x2c08ff)=>{const _0x39a36c=a29_0x2e6a35,_0x4c9ebf={'IGtKP':function(_0x4a3138){return _0x4a3138();},'mIPLO':_0x39a36c(0xe3),'SlRdg':'@kubernetes/client-node'},_0x53bf55=_0x4c9ebf[_0x39a36c(0xde)](getDirForConfig);!fs[_0x39a36c(0xd2)](_0x53bf55)&&fs['mkdirSync'](_0x53bf55);let _0x25169e=await _0x5433a3[_0x39a36c(0xd7)]();if(_0x2c08ff){const _0x1c676e=yaml[_0x39a36c(0xd0)](_0x25169e);_0x1c676e[_0x39a36c(0xd8)][0x0]['cluster'][_0x4c9ebf['mIPLO']]=!![],_0x25169e=yaml['dump'](_0x1c676e);}const _0x27ab35=await import(_0x4c9ebf[_0x39a36c(0xd5)]),_0x21208d=new _0x27ab35[(_0x39a36c(0xcc))]();_0x21208d[_0x39a36c(0xda)](_0x25169e);const _0x2f65dc=_0x21208d[_0x39a36c(0xd3)](_0x27ab35['CoreV1Api']),_0x3743ce=_0x21208d[_0x39a36c(0xd3)](_0x27ab35['AppsV1Api']),_0x108377=_0x21208d['makeApiClient'](_0x27ab35[_0x39a36c(0xdf)]),_0x142ad8=_0x21208d[_0x39a36c(0xd3)](_0x27ab35[_0x39a36c(0xd4)]),_0x352bc8=_0x21208d['makeApiClient'](_0x27ab35[_0x39a36c(0xd1)]),_0x1f6929=_0x21208d[_0x39a36c(0xd3)](_0x27ab35[_0x39a36c(0xe4)]);return[_0x2f65dc,_0x3743ce,_0x108377,_0x142ad8,_0x352bc8,_0x1f6929,_0x21208d];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a30_0x5820(_0x11130f,_0x2b5788){const _0x3948a4=a30_0x3948();return a30_0x5820=function(_0x582066,_0x353eb7){_0x582066=_0x582066-0x193;let _0x30b430=_0x3948a4[_0x582066];return _0x30b430;},a30_0x5820(_0x11130f,_0x2b5788);}const a30_0x19f474=a30_0x5820;function a30_0x3948(){const _0x4c6677=['No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','6fMVMYL','OutputKey','JhmYu','1008109PBzhWq','clusterRegion','nxWfx','MountTargets','1918805qcjsHf','MountTargetId','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','OutputValue','EFS\x20FileSystem\x20ID\x20found:\x20','4940739ULhNZi','aws-sdk','deleteMountTarget','EFS','\x20deleted\x20successfully','info','1338482gKMQCf','iDeQD','7427176hANDEr','Mount\x20target\x20','453972WvZCNZ','15wKxrWm','promise','984151QiOkNu','../config/constants','find'];a30_0x3948=function(){return _0x4c6677;};return a30_0x3948();}(function(_0x1e187c,_0x3e8fca){const _0x17f9fd=a30_0x5820,_0x140e3e=_0x1e187c();while(!![]){try{const _0xeec2e1=parseInt(_0x17f9fd(0x196))/0x1+parseInt(_0x17f9fd(0x1a5))/0x2+parseInt(_0x17f9fd(0x1aa))/0x3*(parseInt(_0x17f9fd(0x1a9))/0x4)+-parseInt(_0x17f9fd(0x19a))/0x5+parseInt(_0x17f9fd(0x193))/0x6*(parseInt(_0x17f9fd(0x1ac))/0x7)+-parseInt(_0x17f9fd(0x1a7))/0x8+-parseInt(_0x17f9fd(0x19f))/0x9;if(_0xeec2e1===_0x3e8fca)break;else _0x140e3e['push'](_0x140e3e['shift']());}catch(_0x1fe18a){_0x140e3e['push'](_0x140e3e['shift']());}}}(a30_0x3948,0x7fff7));const {logger}=require('../config/logger'),awsSDK=require(a30_0x19f474(0x1a0)),{global_registry}=require(a30_0x19f474(0x1ad));exports['deleteEFSMountTarget']=async _0x1dbe1f=>{const _0x41908c=a30_0x19f474,_0x12013a={};_0x12013a[_0x41908c(0x198)]=_0x41908c(0x1af),_0x12013a[_0x41908c(0x195)]=_0x41908c(0x19c),_0x12013a[_0x41908c(0x1a6)]='Error\x20deleting\x20EFS\x20mount\x20targets:';const _0xeadd4=_0x12013a;try{const _0xa46de={};_0xa46de['region']=global_registry[_0x41908c(0x197)];const _0x3ff9fd=new awsSDK[(_0x41908c(0x1a2))](_0xa46de),_0x461907=_0x1dbe1f[_0x41908c(0x1ae)](_0xae4535=>_0xae4535[_0x41908c(0x194)]==='EFSFileSystemId')?.[_0x41908c(0x19d)];if(_0x461907){logger[_0x41908c(0x1a4)](_0x41908c(0x19e)+_0x461907+'.\x20Deleting\x20mount\x20targets...');const _0x512c69={};_0x512c69['FileSystemId']=_0x461907;const _0x46fcc7=_0x512c69,_0x26e4bd=await _0x3ff9fd['describeMountTargets'](_0x46fcc7)[_0x41908c(0x1ab)]();if(_0x26e4bd)for(const _0x2a98f0 of _0x26e4bd[_0x41908c(0x199)]){const _0x1b919e={};_0x1b919e[_0x41908c(0x19b)]=_0x2a98f0[_0x41908c(0x19b)];const _0x484de4=_0x1b919e;await _0x3ff9fd[_0x41908c(0x1a1)](_0x484de4)['promise'](),logger[_0x41908c(0x1a4)](_0x41908c(0x1a8)+_0x2a98f0['MountTargetId']+_0x41908c(0x1a3));}else logger['info'](_0xeadd4[_0x41908c(0x198)]);}else logger[_0x41908c(0x1a4)](_0xeadd4[_0x41908c(0x195)]);}catch(_0x21c05f){logger['error'](_0xeadd4[_0x41908c(0x1a6)],_0x21c05f);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a31_0x3cc1(_0x143c8e,_0x481924){const _0x442e14=a31_0x442e();return a31_0x3cc1=function(_0x3cc1ee,_0x2b3357){_0x3cc1ee=_0x3cc1ee-0x1bf;let _0x4450e2=_0x442e14[_0x3cc1ee];return _0x4450e2;},a31_0x3cc1(_0x143c8e,_0x481924);}const a31_0x1caf01=a31_0x3cc1;(function(_0x1ff212,_0x38d898){const _0xccd5f4=a31_0x3cc1,_0x358678=_0x1ff212();while(!![]){try{const _0x367c12=parseInt(_0xccd5f4(0x1c7))/0x1*(parseInt(_0xccd5f4(0x1d1))/0x2)+parseInt(_0xccd5f4(0x1c1))/0x3+parseInt(_0xccd5f4(0x1cf))/0x4+parseInt(_0xccd5f4(0x1c9))/0x5*(-parseInt(_0xccd5f4(0x1cc))/0x6)+parseInt(_0xccd5f4(0x1ce))/0x7+parseInt(_0xccd5f4(0x1d5))/0x8+-parseInt(_0xccd5f4(0x1ca))/0x9;if(_0x367c12===_0x38d898)break;else _0x358678['push'](_0x358678['shift']());}catch(_0x34c61f){_0x358678['push'](_0x358678['shift']());}}}(a31_0x442e,0x323e1));function a31_0x442e(){const _0x107f62=['603960mpvXvf','awsObj','debug','waitFor','./AWSUtils','promise','100817fFnwyl','vDziK','10qmVIVj','3052548jGDoZP','deleteStack','719970oMLAru','deleteClusterStack','941577BPyXkC','199280iihxzK','StackName','2iKAfBz','../config/logger','stackDeleteComplete','apiVersion','2387896sDBcZh','EUNJi','afVpr'];a31_0x442e=function(){return _0x107f62;};return a31_0x442e();}const AWS=require(a31_0x1caf01(0x1c5))[a31_0x1caf01(0x1c2)],{logger}=require(a31_0x1caf01(0x1d2));exports[a31_0x1caf01(0x1cd)]=async _0x31cfcb=>{const _0x39f491=a31_0x1caf01,_0x5b8214={};_0x5b8214['afVpr']='2010-05-15',_0x5b8214[_0x39f491(0x1bf)]='Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete',_0x5b8214[_0x39f491(0x1c8)]=_0x39f491(0x1d3);const _0x2fcb32=_0x5b8214,_0xc6a317={};_0xc6a317[_0x39f491(0x1d4)]=_0x2fcb32[_0x39f491(0x1c0)];const _0x1b2d00=new AWS['CloudFormation'](_0xc6a317),_0x50eeed={};_0x50eeed[_0x39f491(0x1d0)]=_0x31cfcb;const _0x3e9d0d=_0x50eeed,_0x58c8c3=await _0x1b2d00[_0x39f491(0x1cb)](_0x3e9d0d)[_0x39f491(0x1c6)]();logger[_0x39f491(0x1c3)](_0x2fcb32[_0x39f491(0x1bf)]);const _0x9223f9={};return _0x9223f9[_0x39f491(0x1d0)]=_0x31cfcb,_0x1b2d00[_0x39f491(0x1c4)](_0x2fcb32[_0x39f491(0x1c8)],_0x9223f9)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a32_0x2be01e=a32_0x58da;function a32_0xb650(){const _0x50abbf=['StackName','5439432rvsuZC','promise','230944nQctOO','2010-05-15','5JaWtbq','describeStacks','./AWSUtils','7Uqnrdv','3276222GwIWyI','HDfHZ','5901219FGrjKD','7211760goxnVN','2knOcSu','../config/logger','1353975AROQaS','42137220cfjvTL','CloudFormation'];a32_0xb650=function(){return _0x50abbf;};return a32_0xb650();}(function(_0x1fa45d,_0x14130b){const _0x557aab=a32_0x58da,_0xe06ac8=_0x1fa45d();while(!![]){try{const _0x3c6874=parseInt(_0x557aab(0x193))/0x1+parseInt(_0x557aab(0x191))/0x2*(parseInt(_0x557aab(0x18d))/0x3)+-parseInt(_0x557aab(0x199))/0x4*(parseInt(_0x557aab(0x189))/0x5)+parseInt(_0x557aab(0x190))/0x6+-parseInt(_0x557aab(0x18c))/0x7*(-parseInt(_0x557aab(0x197))/0x8)+parseInt(_0x557aab(0x18f))/0x9+-parseInt(_0x557aab(0x194))/0xa;if(_0x3c6874===_0x14130b)break;else _0xe06ac8['push'](_0xe06ac8['shift']());}catch(_0x334030){_0xe06ac8['push'](_0xe06ac8['shift']());}}}(a32_0xb650,0xaddeb));const AWS=require(a32_0x2be01e(0x18b))['awsObj'],{logger}=require(a32_0x2be01e(0x192));function a32_0x58da(_0x507c12,_0x21e783){const _0xb650ed=a32_0xb650();return a32_0x58da=function(_0x58da52,_0x293b0f){_0x58da52=_0x58da52-0x188;let _0x499062=_0xb650ed[_0x58da52];return _0x499062;},a32_0x58da(_0x507c12,_0x21e783);}exports['describeClusterStack']=async _0x1c1f23=>{const _0x165b38=a32_0x2be01e,_0x15a5d8={};_0x15a5d8['HDfHZ']=_0x165b38(0x188);const _0x1d35ad=_0x15a5d8,_0x4f1eda={};_0x4f1eda['apiVersion']=_0x1d35ad[_0x165b38(0x18e)];const _0x506ade=new AWS[(_0x165b38(0x195))](_0x4f1eda),_0x2876b9={};_0x2876b9[_0x165b38(0x196)]=_0x1c1f23;const _0x2cf08f=_0x2876b9;return _0x506ade[_0x165b38(0x18a)](_0x2cf08f)[_0x165b38(0x198)]();};
|