browserstack-node-sdk 1.36.6 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -66
- 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 -0
- 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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/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/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/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- 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
- package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x3551de=a25_0x179d;function a25_0x39f3(){const _0x5c09d2=['VHQBj','issuer','SuFeD','160JlxihJ','NxmeS','qSmri','12790vjxWNo','KhENf','XdJGB','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','HrKJg','aQGsq','gGwAz','ESgPs','describeRegions','tdeSl','YSsBI','Flnpd','uNrRC','OwOLI','BccwY','EbNCm','XuEpZ','6457pXhnZQ','BJFUL','wGHNl','FjgWa','bSPbH','oidc','YjnXw','catch','105Ubpwgd','jUfaY','sCnJY','1551285mtuYsD','aZvwP','GNltG','region','lHrPe','uQUnF','DQvCO','VudDI','qoOVu','EC2','BrBSP','147100YkHHjG','aws-sdk','identity','IJObg','FkafO','fetchSecurityGroups','MtLtC','describeVpcs','hgRAB','89765raoVzT','wnWob','hJmWB','zVHpq','WsKtU','XTYWx','CFtVh','QcVsI','rLSBQ','vmJdC','eRlst','2PwsuDP','pboBp','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','ZEWIs','clvnU','WMlQM','TBAOP','xKnPu','TUeAt','BlsCW','kKRHl','RCveJ','EsWiM','Bucket:\x20','Regions','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','GHafU','VYydL','name','BtRHt','awsObj','vHFuG','OtyBZ','ftwip','1908yWbEiQ','JghAT','error','ORXxs','info','ynNbi','aNecC','KFCQq','warn','uqOsN','headBucket','VLSJN','ewvaH','HlDIa','qQDfR','fDtuG','WJZCF','7ZDvppS','dqPZU','jvhHI','BbVmT','xpAgr','IEVCQ','GEqqr','mDBMW','emnQM','oCEoD','Oqowi','195474qDsMcb','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','sFotT','qRlrZ','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','fetchVPCs','2016-11-15','Bucket','describeSubnets','QfbFE','JUimz','DqRRI','wwDMr','xftjC','gOWMM','bIapW','CfYEL','MefVr','286029SZzBov','../config/logger','MzNXN','BOaQs','Icshl','QDYxG','juorE','getOidcUrl','mTaqg','pcwCz','dJdEV','557543QLkLig','ffnFW','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','OxnWq','ibAXq','PStbT','vSEld','2017-11-01','nnUGY','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','EKS','DxDCz','AyQXf','ibJsP','describeCluster','KlnLR','apiVersion','HUZeb','fYWyb','gAnZy','bARyV','getAWSRegions','cluster','DKicN','fIwwF','idTZg','promise','fEOlx','xKMyq','ArNrc','describeSecurityGroups','zehFr','aKmeK','HXZeM','kGWwv','then','wskmV'];a25_0x39f3=function(){return _0x5c09d2;};return a25_0x39f3();}(function(_0x31eede,_0x2904a1){const _0x36ee4f=a25_0x179d,_0x3ccd1f=_0x31eede();while(!![]){try{const _0x1259ba=-parseInt(_0x36ee4f(0x105))/0x1+parseInt(_0x36ee4f(0xb4))/0x2*(parseInt(_0x36ee4f(0x95))/0x3)+parseInt(_0x36ee4f(0xa0))/0x4*(-parseInt(_0x36ee4f(0x92))/0x5)+parseInt(_0x36ee4f(0xe8))/0x6*(parseInt(_0x36ee4f(0xdd))/0x7)+parseInt(_0x36ee4f(0x76))/0x8*(-parseInt(_0x36ee4f(0xfa))/0x9)+parseInt(_0x36ee4f(0x79))/0xa*(parseInt(_0x36ee4f(0x8a))/0xb)+-parseInt(_0x36ee4f(0xcc))/0xc*(-parseInt(_0x36ee4f(0xa9))/0xd);if(_0x1259ba===_0x2904a1)break;else _0x3ccd1f['push'](_0x3ccd1f['shift']());}catch(_0x1739fb){_0x3ccd1f['push'](_0x3ccd1f['shift']());}}}(a25_0x39f3,0x69b08));function a25_0x179d(_0x365b2c,_0x50c0da){const _0x39f376=a25_0x39f3();return a25_0x179d=function(_0x179d78,_0x127b01){_0x179d78=_0x179d78-0x64;let _0x529dc2=_0x39f376[_0x179d78];return _0x529dc2;},a25_0x179d(_0x365b2c,_0x50c0da);}const awsSDK=require(a25_0x3551de(0xa1)),{logger}=require(a25_0x3551de(0xfb));exports[a25_0x3551de(0xed)]=_0x59f615=>{const _0xdb71cc=a25_0x3551de,_0x104915={'ojXos':function(_0x5c5c73,_0x9ae110){return _0x5c5c73===_0x9ae110;},'kcbyH':_0xdb71cc(0x119),'OHfYT':_0xdb71cc(0x106),'sFotT':function(_0x122104,_0x59428f){return _0x122104(_0x59428f);},'VudDI':function(_0x44fd92,_0x3139ca){return _0x44fd92(_0x3139ca);},'kGWwv':function(_0x520800,_0x439238){return _0x520800(_0x439238);},'pcwCz':_0xdb71cc(0xee),'CFtVh':function(_0x2f8603,_0x2f88c7){return _0x2f8603!==_0x2f88c7;},'ibAXq':'AeaDK','FjgWa':_0xdb71cc(0xd8),'WsKtU':function(_0x167adb,_0x11d74e){return _0x167adb===_0x11d74e;},'YSsBI':_0xdb71cc(0xc0),'VLSJN':'MSwJL'};return new Promise((_0x44dbca,_0x46f3a7)=>{const _0x47bbf9=_0xdb71cc,_0x49beab={'dqPZU':function(_0x11e796,_0x582bea){const _0x590874=a25_0x179d;return _0x104915[_0x590874(0x9c)](_0x11e796,_0x582bea);},'HlDIa':function(_0x5749d4,_0x2eabe8){const _0x3fb5bc=a25_0x179d;return _0x104915[_0x3fb5bc(0x70)](_0x5749d4,_0x2eabe8);},'LXIsf':_0x104915[_0x47bbf9(0x103)],'mTaqg':function(_0xd9e009,_0x29832c){const _0x203153=_0x47bbf9;return _0x104915[_0x203153(0xaf)](_0xd9e009,_0x29832c);},'eRlst':_0x104915[_0x47bbf9(0x109)],'pLwVd':_0x104915[_0x47bbf9(0x8d)],'ArNrc':function(_0x5eb14d,_0x58494f){return _0x104915['kGWwv'](_0x5eb14d,_0x58494f);}};if(_0x104915[_0x47bbf9(0xad)](_0x104915[_0x47bbf9(0x83)],_0x104915[_0x47bbf9(0xd7)]))_0x571788['error'](_0x47bbf9(0xb6)+_0x349047),_0x49beab[_0x47bbf9(0xde)](_0x352090,_0x22769e);else{const _0x5f192f={};_0x5f192f[_0x47bbf9(0x115)]=_0x104915['pcwCz'],_0x5f192f[_0x47bbf9(0x98)]=_0x59f615;const _0x17b2bc=new awsSDK['EC2'](_0x5f192f);_0x17b2bc['describeVpcs']()[_0x47bbf9(0x68)]()[_0x47bbf9(0x71)](_0x2e4c6d=>{const _0x2eb42d=_0x47bbf9;_0x104915['ojXos'](_0x104915['kcbyH'],_0x104915['OHfYT'])?_0x49beab['dqPZU'](_0x428863,_0x37e0d7):_0x104915[_0x2eb42d(0xea)](_0x44dbca,_0x2e4c6d);})[_0x47bbf9(0x91)](_0x19e69f=>{const _0x5309da=_0x47bbf9,_0xb27de8={'JUimz':function(_0x2e4b50,_0x18e979){const _0x3d47ce=a25_0x179d;return _0x49beab[_0x3d47ce(0xd9)](_0x2e4b50,_0x18e979);},'BOaQs':_0x49beab['LXIsf']};if(_0x49beab[_0x5309da(0x102)](_0x49beab[_0x5309da(0xb3)],_0x49beab['pLwVd']))logger[_0x5309da(0xce)](_0x5309da(0x107)+_0x19e69f),_0x49beab[_0x5309da(0x6b)](_0x46f3a7,_0x19e69f);else{const _0x39c4a0={};_0x39c4a0['apiVersion']=_0xb27de8[_0x5309da(0xfd)],_0x39c4a0['region']=_0x3506b4;const _0x4c4ff8=new _0x1342b9[(_0x5309da(0x9e))](_0x39c4a0);_0x4c4ff8[_0x5309da(0xa7)]()['promise']()[_0x5309da(0x71)](_0x47aa4e=>{const _0x5d2767=_0x5309da;_0xb27de8[_0x5d2767(0xf2)](_0x548e06,_0x47aa4e);})['catch'](_0xe915e8=>{const _0x4f5818=_0x5309da;_0x1db769[_0x4f5818(0xce)](_0x4f5818(0x107)+_0xe915e8),_0xb27de8[_0x4f5818(0xf2)](_0x4898eb,_0xe915e8);});}});}});},exports['isBucketPresent']=_0x1ec283=>{const _0xa4167d=a25_0x3551de,_0x226a3e={'aZvwP':function(_0x59abeb,_0x2409b4){return _0x59abeb(_0x2409b4);},'grShX':_0xa4167d(0x10c),'fIwwF':function(_0x3ced3a,_0x37f7f3){return _0x3ced3a===_0x37f7f3;},'PStbT':'rzRwZ','OxnWq':function(_0x385979,_0x2050ff){return _0x385979(_0x2050ff);},'OyKyl':_0xa4167d(0xee),'dSOLo':function(_0x345d7b,_0x1afd00){return _0x345d7b===_0x1afd00;},'DIwSz':'lSAEC','HXZeM':_0xa4167d(0x116),'clvnU':function(_0x1e1e38,_0x3bfbe9){return _0x1e1e38!==_0x3bfbe9;},'TBAOP':function(_0xd3cc87,_0x2e830d){return _0xd3cc87(_0x2e830d);},'BlsCW':function(_0x46746a,_0x193a06){return _0x46746a(_0x193a06);},'UVOnc':function(_0x13d6e1,_0x423519){return _0x13d6e1(_0x423519);},'KFCQq':_0xa4167d(0xdc)},_0x2f5d80=new awsSDK['S3']();return new Promise((_0x138020,_0x15b27c)=>{const _0x170736=_0xa4167d,_0x186b3f={'hgRAB':function(_0x3d186f,_0x191eb6){const _0x13f948=a25_0x179d;return _0x226a3e[_0x13f948(0xb8)](_0x3d186f,_0x191eb6);},'qoOVu':function(_0x54ea18,_0x170b15){const _0x2b5bba=a25_0x179d;return _0x226a3e[_0x2b5bba(0xba)](_0x54ea18,_0x170b15);},'jUfaY':function(_0x4fbd48,_0xcf08c7){const _0x1a8631=a25_0x179d;return _0x226a3e[_0x1a8631(0xbd)](_0x4fbd48,_0xcf08c7);},'nhhBf':function(_0x2b5842,_0x3dbdf7){return _0x226a3e['UVOnc'](_0x2b5842,_0x3dbdf7);}};if(_0x226a3e[_0x170736(0xb8)](_0x226a3e[_0x170736(0xd3)],_0x226a3e[_0x170736(0xd3)]))_0x186b3f['hgRAB'](_0x1bad67,_0x3f11c2)&&_0x186b3f[_0x170736(0xa8)](_0x1b8fbe[_0x170736(0xc2)],_0x49e18c)?_0x186b3f[_0x170736(0x9d)](_0x5575b0,_0x43a6c4[_0x170736(0xc2)]):_0x186b3f[_0x170736(0x93)](_0x3a85e3,{});else{const _0x34f05c={};_0x34f05c[_0x170736(0xef)]=_0x1ec283,_0x2f5d80[_0x170736(0xd6)](_0x34f05c)['promise']()[_0x170736(0x71)](_0x3a9cc2=>{const _0x105d9b=_0x170736,_0x11a1f1={'QcVsI':function(_0x439cf0,_0x5d8d23){const _0x4886f8=a25_0x179d;return _0x226a3e[_0x4886f8(0x96)](_0x439cf0,_0x5d8d23);},'IJObg':_0x226a3e['grShX']};if(_0x226a3e[_0x105d9b(0x66)](_0x226a3e['PStbT'],_0x226a3e[_0x105d9b(0x10a)]))logger[_0x105d9b(0xd4)]('Bucket:\x20'+_0x1ec283+_0x105d9b(0x10e)),_0x226a3e[_0x105d9b(0x108)](_0x138020,!![]);else{const _0x5a505c={'rLSBQ':function(_0x4eac30,_0x1da199){const _0x1bdc8f=_0x105d9b;return _0x11a1f1[_0x1bdc8f(0xb0)](_0x4eac30,_0x1da199);}};return new _0x39b8e8((_0x17a61,_0x2f6ebf)=>{const _0x44d366=_0x105d9b,_0x287f36={'IEVCQ':function(_0x32f078,_0x4516c5){const _0x3507b3=a25_0x179d;return _0x11a1f1[_0x3507b3(0xb0)](_0x32f078,_0x4516c5);}},_0x1aaa59={};_0x1aaa59[_0x44d366(0x115)]=_0x11a1f1[_0x44d366(0xa3)];const _0x5b91b8=new _0x5b48e3[(_0x44d366(0x10f))](_0x1aaa59),_0xcfadcf={};_0xcfadcf[_0x44d366(0xc6)]=_0x239322,_0x5b91b8[_0x44d366(0x113)](_0xcfadcf)[_0x44d366(0x68)]()['then'](_0x2a7b62=>{const _0x520e5b=_0x44d366;_0x287f36[_0x520e5b(0xe2)](_0x17a61,_0x2a7b62[_0x520e5b(0x64)][_0x520e5b(0xa2)][_0x520e5b(0x8f)][_0x520e5b(0x74)]);})[_0x44d366(0x91)](_0x1c958b=>{const _0x5a4034=_0x44d366;_0x3fc27b['error'](_0x5a4034(0xc3)+_0x230663+':\x20'+_0x1c958b),_0x5a505c[_0x5a4034(0xb1)](_0x2f6ebf,_0x1c958b);});});}})['catch'](()=>{const _0x29feab=_0x170736,_0x14dc8b={'zehFr':function(_0x114602,_0x4c6ecb){const _0x43ea86=a25_0x179d;return _0x226a3e[_0x43ea86(0x108)](_0x114602,_0x4c6ecb);},'WMlQM':_0x226a3e['OyKyl']};if(_0x226a3e['dSOLo'](_0x226a3e['DIwSz'],_0x226a3e[_0x29feab(0x6f)])){const _0x446e8c={'NxmeS':function(_0x47e8a8,_0x3cfb88){return _0x186b3f['nhhBf'](_0x47e8a8,_0x3cfb88);}};return new _0x44f379((_0x1c6661,_0xb1198e)=>{const _0x3bd4b3=_0x29feab,_0x3469b3={'ynNbi':function(_0x3bb6b4,_0x88831a){const _0x4c6eda=a25_0x179d;return _0x14dc8b[_0x4c6eda(0x6d)](_0x3bb6b4,_0x88831a);}},_0x460f6d={};_0x460f6d['apiVersion']=_0x14dc8b[_0x3bd4b3(0xb9)],_0x460f6d['region']=_0x2103b0;const _0x13ab3c=new _0x47a5b7['EC2'](_0x460f6d);_0x13ab3c[_0x3bd4b3(0xf0)]()['promise']()[_0x3bd4b3(0x71)](_0x5a612b=>{const _0x21b19c=_0x3bd4b3;_0x3469b3[_0x21b19c(0xd1)](_0x1c6661,_0x5a612b);})['catch'](_0x324523=>{const _0x37e74b=_0x3bd4b3;_0x1bb315['error'](_0x37e74b(0xb6)+_0x324523),_0x446e8c[_0x37e74b(0x77)](_0xb1198e,_0x324523);});});}else logger[_0x29feab(0xd0)](_0x29feab(0xc1)+_0x1ec283+_0x29feab(0x7c)),_0x226a3e[_0x29feab(0x108)](_0x138020,![]);});}});},exports['fetchSubnets']=_0x367e69=>{const _0x5bbed5=a25_0x3551de,_0x246c91={'SuFeD':'2016-11-15','XuEpZ':function(_0x127ed3,_0x31f547){return _0x127ed3(_0x31f547);},'kKRHl':function(_0x3669c3,_0x257ec9){return _0x3669c3!==_0x257ec9;},'aNecC':'rYjdU','JqWNY':'OkwVh','FumPN':_0x5bbed5(0xb2),'HrKJg':function(_0x4e3cb1,_0x47f839){return _0x4e3cb1(_0x47f839);},'TdkkR':function(_0x2289cc,_0x208f29){return _0x2289cc!==_0x208f29;},'hJmWB':_0x5bbed5(0xf7),'BJFUL':_0x5bbed5(0xf1)};return new Promise((_0x5f1b83,_0x3e9467)=>{const _0x237039=_0x5bbed5,_0x1f2bda={'aKmeK':function(_0x5db104,_0x1e4bb3){const _0x2fdba5=a25_0x179d;return _0x246c91[_0x2fdba5(0x89)](_0x5db104,_0x1e4bb3);},'pboBp':function(_0x4f014c,_0x56db0b){const _0x150ae8=a25_0x179d;return _0x246c91[_0x150ae8(0xbe)](_0x4f014c,_0x56db0b);},'gOWMM':_0x246c91[_0x237039(0xd2)],'xKnPu':_0x246c91['JqWNY'],'ZEWIs':_0x246c91['FumPN'],'MzNXN':function(_0x1f92d2,_0xf9607b){const _0x4c5265=_0x237039;return _0x246c91[_0x4c5265(0x7d)](_0x1f92d2,_0xf9607b);}};if(_0x246c91['TdkkR'](_0x246c91[_0x237039(0xab)],_0x246c91[_0x237039(0x8b)])){const _0x41cc23={};_0x41cc23[_0x237039(0x115)]=_0x246c91[_0x237039(0x75)],_0x41cc23[_0x237039(0x98)]=_0x367e69;const _0x4e4f27=new awsSDK[(_0x237039(0x9e))](_0x41cc23);_0x4e4f27[_0x237039(0xf0)]()[_0x237039(0x68)]()['then'](_0x3cbfae=>{const _0x41ccca=_0x237039;_0x1f2bda[_0x41ccca(0xb5)](_0x1f2bda[_0x41ccca(0xf6)],_0x1f2bda[_0x41ccca(0xf6)])?(_0xdcb738[_0x41ccca(0xce)](_0x41ccca(0xe9)+_0x29ae59),_0x1f2bda[_0x41ccca(0x6e)](_0x437bcb,_0x375b4e)):_0x1f2bda[_0x41ccca(0x6e)](_0x5f1b83,_0x3cbfae);})[_0x237039(0x91)](_0x14b06b=>{const _0x347871=_0x237039;_0x1f2bda[_0x347871(0xb5)](_0x1f2bda[_0x347871(0xbb)],_0x1f2bda[_0x347871(0xb7)])?(logger['error'](_0x347871(0xb6)+_0x14b06b),_0x1f2bda[_0x347871(0xfc)](_0x3e9467,_0x14b06b)):(_0x19c5d2[_0x347871(0xd4)](_0x347871(0xc1)+_0x203823+_0x347871(0x10e)),_0x1f2bda[_0x347871(0x6e)](_0x4f10f9,!![]));});}else{const _0x1ee07f={};_0x1ee07f[_0x237039(0x115)]=_0x246c91[_0x237039(0x75)],_0x1ee07f[_0x237039(0x98)]=_0x27c164;const _0x10cb54=new _0x293b98[(_0x237039(0x9e))](_0x1ee07f);_0x10cb54['describeSubnets']()[_0x237039(0x68)]()[_0x237039(0x71)](_0xa37b67=>{_0x1f2bda['aKmeK'](_0x164a33,_0xa37b67);})[_0x237039(0x91)](_0x5b5704=>{const _0x4b3f12=_0x237039;_0x4c9057[_0x4b3f12(0xce)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x5b5704),_0x1f2bda['aKmeK'](_0xb696f0,_0x5b5704);});}});},exports[a25_0x3551de(0xa5)]=_0x1a108d=>{const _0x1f64a9=a25_0x3551de,_0x4ac8f6={'GEqqr':function(_0x424912,_0x1b0438){return _0x424912(_0x1b0438);},'idTZg':function(_0x33764c,_0x558f94){return _0x33764c===_0x558f94;},'emnQM':_0x1f64a9(0x112),'GSmpD':_0x1f64a9(0x90),'fDtuG':function(_0x58d924,_0x51312f){return _0x58d924(_0x51312f);},'juorE':function(_0x58857f,_0x1eacac){return _0x58857f(_0x1eacac);},'wskmV':_0x1f64a9(0xe4),'Flnpd':function(_0x58bc2d,_0x434327){return _0x58bc2d(_0x434327);},'lHrPe':function(_0x58045d,_0x52b264){return _0x58045d!==_0x52b264;},'MefVr':_0x1f64a9(0xaa),'BtRHt':_0x1f64a9(0xee)};return new Promise((_0x5f3b06,_0x2f2d13)=>{const _0x1e84ea=_0x1f64a9,_0x528955={'XdJGB':function(_0x565a37,_0x196002){const _0x3aa4ee=a25_0x179d;return _0x4ac8f6[_0x3aa4ee(0x100)](_0x565a37,_0x196002);},'KlnLR':function(_0x114dcb,_0x2f5ca4){return _0x4ac8f6['idTZg'](_0x114dcb,_0x2f5ca4);},'jvhHI':_0x4ac8f6[_0x1e84ea(0x72)],'wioDy':function(_0x5b48f7,_0x326250){const _0x4538c=_0x1e84ea;return _0x4ac8f6[_0x4538c(0x84)](_0x5b48f7,_0x326250);}};if(_0x4ac8f6[_0x1e84ea(0x99)](_0x4ac8f6[_0x1e84ea(0xf9)],_0x4ac8f6[_0x1e84ea(0xf9)]))_0x4ac8f6[_0x1e84ea(0xe3)](_0x5c6548,_0x463a98[_0x1e84ea(0x64)][_0x1e84ea(0xa2)][_0x1e84ea(0x8f)][_0x1e84ea(0x74)]);else{const _0x3b9173={};_0x3b9173[_0x1e84ea(0x115)]=_0x4ac8f6[_0x1e84ea(0xc7)],_0x3b9173[_0x1e84ea(0x98)]=_0x1a108d;const _0x36e7d4=new awsSDK[(_0x1e84ea(0x9e))](_0x3b9173);_0x36e7d4[_0x1e84ea(0x6c)]()[_0x1e84ea(0x68)]()[_0x1e84ea(0x71)](_0xcd5e7a=>{const _0x536f66=_0x1e84ea;_0x4ac8f6[_0x536f66(0x67)](_0x4ac8f6[_0x536f66(0xe5)],_0x4ac8f6['GSmpD'])?_0x528955['XdJGB'](_0x19208b,{}):_0x4ac8f6[_0x536f66(0xdb)](_0x5f3b06,_0xcd5e7a);})[_0x1e84ea(0x91)](_0x415740=>{const _0x2a824e=_0x1e84ea;_0x528955[_0x2a824e(0x114)](_0x528955[_0x2a824e(0xdf)],_0x528955['jvhHI'])?(logger[_0x2a824e(0xce)](_0x2a824e(0xec)+_0x415740),_0x528955['wioDy'](_0x2f2d13,_0x415740)):(_0x58d38e[_0x2a824e(0xce)](_0x2a824e(0x107)+_0x257a82),_0x528955[_0x2a824e(0x7b)](_0x2af517,_0x118f65));});}});},exports[a25_0x3551de(0x11a)]=()=>{const _0x1d722f=a25_0x3551de,_0x5ae408={'DKicN':function(_0xac1586,_0x1a30e5){return _0xac1586(_0x1a30e5);},'QDYxG':function(_0x3d2d65,_0x834dfa){return _0x3d2d65===_0x834dfa;},'TUeAt':_0x1d722f(0x8c),'fYWyb':_0x1d722f(0x97),'ZgWAR':function(_0x3bf942,_0x2d6a2a){return _0x3bf942!==_0x2d6a2a;},'OwOLI':function(_0xb4266c,_0x37e420){return _0xb4266c!==_0x37e420;},'Oqowi':_0x1d722f(0xe6),'wwDMr':function(_0x4e656d,_0x61b492){return _0x4e656d!==_0x61b492;},'gGwAz':_0x1d722f(0x82),'fjTCM':'ifEHY','AyQXf':function(_0x367567,_0x46ec10){return _0x367567(_0x46ec10);},'DqjcP':'2016-11-15','Icshl':_0x1d722f(0x118),'sCnJY':function(_0x18b970,_0x47e7e8){return _0x18b970!==_0x47e7e8;},'mBRGe':_0x1d722f(0xca),'BccwY':'OqbWO'};return new Promise((_0x5ef2e0,_0x39b88f)=>{const _0x59ae02=_0x1d722f,_0x415c7a={'qQDfR':function(_0x40de5d,_0x2fe830){const _0x4f7fda=a25_0x179d;return _0x5ae408[_0x4f7fda(0x65)](_0x40de5d,_0x2fe830);},'BrBSP':function(_0x290d46,_0xdeb1e8){return _0x5ae408['AyQXf'](_0x290d46,_0xdeb1e8);},'vSEld':_0x5ae408['DqjcP'],'uNrRC':function(_0x51670f,_0x278ee2){const _0x39f436=a25_0x179d;return _0x5ae408[_0x39f436(0xff)](_0x51670f,_0x278ee2);},'mZFVK':_0x5ae408[_0x59ae02(0xfe)]};if(_0x5ae408[_0x59ae02(0x94)](_0x5ae408['mBRGe'],_0x5ae408[_0x59ae02(0x87)])){const _0x53033d={};_0x53033d[_0x59ae02(0x115)]=_0x5ae408['DqjcP'];const _0x272c97=new awsSDK[(_0x59ae02(0x9e))](_0x53033d);_0x272c97[_0x59ae02(0x81)]()[_0x59ae02(0x68)]()[_0x59ae02(0x71)]((_0x4d4c5b,_0x26290f)=>{const _0x4df001=_0x59ae02,_0xd3478d={'fEOlx':function(_0x88d0c6,_0x568678){const _0x5a85a0=a25_0x179d;return _0x5ae408[_0x5a85a0(0x65)](_0x88d0c6,_0x568678);}};if(_0x5ae408[_0x4df001(0xff)](_0x5ae408[_0x4df001(0xbc)],_0x5ae408[_0x4df001(0x117)]))_0xd3478d[_0x4df001(0x69)](_0x35ce52,_0x25a1b8[_0x4df001(0xc2)]);else{if(_0x5ae408['ZgWAR'](_0x4d4c5b,undefined)&&_0x5ae408[_0x4df001(0x86)](_0x4d4c5b[_0x4df001(0xc2)],undefined))_0x5ae408[_0x4df001(0xff)](_0x5ae408[_0x4df001(0xe7)],_0x5ae408[_0x4df001(0xe7)])?_0x5ae408[_0x4df001(0x65)](_0x5ef2e0,_0x4d4c5b[_0x4df001(0xc2)]):(_0x4b080c[_0x4df001(0xd0)]('Bucket:\x20'+_0x7a7c6c+_0x4df001(0x7c)),_0x415c7a[_0x4df001(0xda)](_0x3d349b,![]));else{if(_0x5ae408[_0x4df001(0xf4)](_0x5ae408[_0x4df001(0x7f)],_0x5ae408['fjTCM']))_0x5ae408[_0x4df001(0x111)](_0x5ef2e0,{});else{const _0x29c95d={'RCveJ':function(_0x3f4bae,_0x342cb6){const _0x4a5411=_0x4df001;return _0x415c7a[_0x4a5411(0xda)](_0x3f4bae,_0x342cb6);},'VYydL':function(_0x147c10,_0x296464){const _0x449ab5=_0x4df001;return _0x415c7a[_0x449ab5(0x9f)](_0x147c10,_0x296464);},'xpAgr':_0x415c7a[_0x4df001(0x10b)]};return new _0x5b79ef((_0x3bcec3,_0x44fc9d)=>{const _0x41800e=_0x4df001,_0x99a73b={};_0x99a73b[_0x41800e(0x115)]=_0x29c95d[_0x41800e(0xe1)],_0x99a73b[_0x41800e(0x98)]=_0x4759dd;const _0x5e5ffe=new _0x1216c2[(_0x41800e(0x9e))](_0x99a73b);_0x5e5ffe[_0x41800e(0x6c)]()['promise']()[_0x41800e(0x71)](_0xc6fe99=>{const _0x13135a=_0x41800e;_0x29c95d[_0x13135a(0xbf)](_0x3bcec3,_0xc6fe99);})[_0x41800e(0x91)](_0x424e84=>{const _0x112899=_0x41800e;_0x3c6563['error'](_0x112899(0xec)+_0x424e84),_0x29c95d[_0x112899(0xc5)](_0x44fc9d,_0x424e84);});});}}}})['catch'](_0x1de728=>{const _0x3c2f6f=_0x59ae02;_0x415c7a[_0x3c2f6f(0x85)](_0x415c7a['mZFVK'],_0x415c7a['mZFVK'])?(logger[_0x3c2f6f(0xce)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1de728),_0x415c7a[_0x3c2f6f(0x9f)](_0x39b88f,_0x1de728)):(_0x3394e3[_0x3c2f6f(0xce)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x57a321),_0x415c7a['BrBSP'](_0x160017,_0x21bd17));});}else{const _0x5e0716={'ftwip':function(_0x6a7ae1,_0x410b1e){return _0x5ae408['AyQXf'](_0x6a7ae1,_0x410b1e);},'CfYEL':function(_0x2130af,_0x2ec8aa){const _0x416905=_0x59ae02;return _0x5ae408[_0x416905(0x65)](_0x2130af,_0x2ec8aa);}},_0x18cab5={};_0x18cab5[_0x59ae02(0xef)]=_0x320c17,_0x3c65d0[_0x59ae02(0xd6)](_0x18cab5)[_0x59ae02(0x68)]()[_0x59ae02(0x71)](_0x40a7ab=>{const _0xed700e=_0x59ae02;_0x2f6649['warn'](_0xed700e(0xc1)+_0x52a4b9+_0xed700e(0x10e)),_0x5e0716[_0xed700e(0xcb)](_0x36d37c,!![]);})['catch'](()=>{const _0x1088d0=_0x59ae02;_0x42f9dd['info']('Bucket:\x20'+_0x47e47f+_0x1088d0(0x7c)),_0x5e0716[_0x1088d0(0xf8)](_0x36dc69,![]);});}});},exports[a25_0x3551de(0x101)]=_0x3eaa2b=>{const _0x5c84e0=a25_0x3551de,_0x5d6b00={'uqOsN':function(_0x490347,_0x46e78b){return _0x490347(_0x46e78b);},'GHafU':_0x5c84e0(0xee),'FbjCW':function(_0x5be994,_0x251cde){return _0x5be994===_0x251cde;},'jyJXa':_0x5c84e0(0x6a),'aQGsq':_0x5c84e0(0x80),'zVHpq':function(_0x4c4878,_0x5394e1){return _0x4c4878(_0x5394e1);},'ORXxs':_0x5c84e0(0x10c),'BbVmT':function(_0x2e611a,_0x2abfe9){return _0x2e611a(_0x2abfe9);},'qRlrZ':function(_0x5e7e5f,_0x14d197){return _0x5e7e5f(_0x14d197);},'JghAT':function(_0x5c4c27,_0x291277){return _0x5c4c27!==_0x291277;},'bSPbH':'zkDXP','DqRRI':'cOEQQ','nnUGY':function(_0x53f53d,_0x433604){return _0x53f53d===_0x433604;},'VHQBj':_0x5c84e0(0x104)};return new Promise((_0x55e426,_0xd43ce8)=>{const _0x441515=_0x5c84e0,_0x5353fe={'FkafO':function(_0x2e64e0,_0x195c01){const _0x4826ef=a25_0x179d;return _0x5d6b00[_0x4826ef(0xe0)](_0x2e64e0,_0x195c01);},'DQvCO':function(_0x52ae39,_0x376c9c){const _0x4c1cb1=a25_0x179d;return _0x5d6b00[_0x4c1cb1(0xeb)](_0x52ae39,_0x376c9c);},'vHFuG':function(_0x44eb2,_0x2add4a){const _0x431b1a=a25_0x179d;return _0x5d6b00[_0x431b1a(0xcd)](_0x44eb2,_0x2add4a);},'qSmri':_0x5d6b00[_0x441515(0x8e)],'MtLtC':_0x5d6b00[_0x441515(0xf3)]};if(_0x5d6b00[_0x441515(0x10d)](_0x5d6b00['VHQBj'],_0x5d6b00[_0x441515(0x73)])){const _0x984a03={};_0x984a03['apiVersion']=_0x5d6b00[_0x441515(0xcf)];const _0x35a1a6=new awsSDK[(_0x441515(0x10f))](_0x984a03),_0xd767a={};_0xd767a[_0x441515(0xc6)]=_0x3eaa2b,_0x35a1a6['describeCluster'](_0xd767a)[_0x441515(0x68)]()['then'](_0x1c82d2=>{const _0x4993e2=_0x441515,_0x3314e5={'KhENf':function(_0x201910,_0x57619c){const _0xacc25d=a25_0x179d;return _0x5d6b00[_0xacc25d(0xd5)](_0x201910,_0x57619c);},'npVvI':_0x5d6b00[_0x4993e2(0xc4)]};if(_0x5d6b00['FbjCW'](_0x5d6b00['jyJXa'],_0x5d6b00[_0x4993e2(0x7e)])){const _0x15c3a9={'EbNCm':function(_0x193c1a,_0x4b59bb){const _0x113cf5=_0x4993e2;return _0x5353fe[_0x113cf5(0xa4)](_0x193c1a,_0x4b59bb);}};return new _0x5e2466((_0x4183e1,_0x2aeb7e)=>{const _0x513e34=_0x4993e2,_0x1f586b={'uQUnF':function(_0x497159,_0x599c01){const _0x31a874=a25_0x179d;return _0x3314e5[_0x31a874(0x7a)](_0x497159,_0x599c01);}},_0x3c5b14={};_0x3c5b14['apiVersion']=_0x3314e5['npVvI'],_0x3c5b14[_0x513e34(0x98)]=_0x4870ac;const _0x37ca6c=new _0x73bc4[(_0x513e34(0x9e))](_0x3c5b14);_0x37ca6c['describeVpcs']()[_0x513e34(0x68)]()[_0x513e34(0x71)](_0x4c1e24=>{const _0x1d7884=_0x513e34;_0x1f586b[_0x1d7884(0x9a)](_0x4183e1,_0x4c1e24);})[_0x513e34(0x91)](_0x5e6d96=>{const _0x920e29=_0x513e34;_0x2b74fb[_0x920e29(0xce)](_0x920e29(0x107)+_0x5e6d96),_0x15c3a9[_0x920e29(0x88)](_0x2aeb7e,_0x5e6d96);});});}else _0x5d6b00['zVHpq'](_0x55e426,_0x1c82d2['cluster'][_0x4993e2(0xa2)][_0x4993e2(0x8f)][_0x4993e2(0x74)]);})[_0x441515(0x91)](_0x1b9241=>{const _0x394783=_0x441515,_0x528561={'xftjC':function(_0x3c0b60,_0x24b041){const _0x1260ff=a25_0x179d;return _0x5353fe[_0x1260ff(0x9b)](_0x3c0b60,_0x24b041);}};if(_0x5353fe[_0x394783(0xc9)](_0x5353fe[_0x394783(0x78)],_0x5353fe[_0x394783(0xa6)]))logger['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x3eaa2b+':\x20'+_0x1b9241),_0x5353fe[_0x394783(0x9b)](_0xd43ce8,_0x1b9241);else{const _0x354324={'DxDCz':function(_0x38b42f,_0x43e36e){return _0x528561['xftjC'](_0x38b42f,_0x43e36e);}},_0x5330db=new _0x2d4f21['S3']();return new _0xdf1bcb((_0x25cb27,_0x33c106)=>{const _0x1a272f=_0x394783,_0x317e3e={'XTYWx':function(_0x2fe0ea,_0x6d76e5){const _0x5610dd=a25_0x179d;return _0x528561[_0x5610dd(0xf5)](_0x2fe0ea,_0x6d76e5);}},_0x48a01e={};_0x48a01e[_0x1a272f(0xef)]=_0x1e9e9e,_0x5330db[_0x1a272f(0xd6)](_0x48a01e)[_0x1a272f(0x68)]()['then'](_0x15256e=>{const _0x2d8c1a=_0x1a272f;_0x458472[_0x2d8c1a(0xd4)](_0x2d8c1a(0xc1)+_0x327421+_0x2d8c1a(0x10e)),_0x317e3e[_0x2d8c1a(0xae)](_0x25cb27,!![]);})[_0x1a272f(0x91)](()=>{const _0x58cb38=_0x1a272f;_0x3b2163[_0x58cb38(0xd0)](_0x58cb38(0xc1)+_0x7a526e+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x354324[_0x58cb38(0x110)](_0x25cb27,![]);});});}});}else{const _0x124bb3={'QnTWI':function(_0xd7fac6,_0x34cc94){const _0x44f0b1=_0x441515;return _0x5d6b00[_0x44f0b1(0xac)](_0xd7fac6,_0x34cc94);}},_0x398b6c={};_0x398b6c[_0x441515(0x115)]=_0x5d6b00[_0x441515(0xcf)];const _0x558b34=new _0x3fe4e6['EKS'](_0x398b6c),_0x2a7b2f={};_0x2a7b2f[_0x441515(0xc6)]=_0x5d5317,_0x558b34['describeCluster'](_0x2a7b2f)[_0x441515(0x68)]()[_0x441515(0x71)](_0x439b20=>{const _0x4663=_0x441515;_0x5353fe['DQvCO'](_0x3ac85b,_0x439b20[_0x4663(0x64)][_0x4663(0xa2)][_0x4663(0x8f)]['issuer']);})[_0x441515(0x91)](_0x142750=>{const _0x116fe=_0x441515;_0x3d4001['error'](_0x116fe(0xc3)+_0x1d8399+':\x20'+_0x142750),_0x124bb3['QnTWI'](_0x5e6162,_0x142750);});}});},exports[a25_0x3551de(0xc8)]=awsSDK;
|
|
1
|
+
const a25_0x523fe3=a25_0xdd62;(function(_0x1465c3,_0x4477aa){const _0x3162d5=a25_0xdd62,_0x553d1a=_0x1465c3();while(!![]){try{const _0x595718=-parseInt(_0x3162d5(0x21a))/0x1*(-parseInt(_0x3162d5(0x1c9))/0x2)+parseInt(_0x3162d5(0x1dd))/0x3+parseInt(_0x3162d5(0x1ea))/0x4*(parseInt(_0x3162d5(0x1d3))/0x5)+parseInt(_0x3162d5(0x1d8))/0x6*(-parseInt(_0x3162d5(0x18e))/0x7)+-parseInt(_0x3162d5(0x1bb))/0x8*(parseInt(_0x3162d5(0x1b3))/0x9)+parseInt(_0x3162d5(0x21e))/0xa+-parseInt(_0x3162d5(0x1e9))/0xb;if(_0x595718===_0x4477aa)break;else _0x553d1a['push'](_0x553d1a['shift']());}catch(_0x49e740){_0x553d1a['push'](_0x553d1a['shift']());}}}(a25_0x2deb,0xddfda));function a25_0xdd62(_0x4f9370,_0x2bbb3c){const _0x2debc3=a25_0x2deb();return a25_0xdd62=function(_0xdd6295,_0x1ba774){_0xdd6295=_0xdd6295-0x186;let _0x181716=_0x2debc3[_0xdd6295];return _0x181716;},a25_0xdd62(_0x4f9370,_0x2bbb3c);}const awsSDK=require(a25_0x523fe3(0x1bc)),{logger}=require(a25_0x523fe3(0x18d));exports[a25_0x523fe3(0x1eb)]=_0x4f31ed=>{const _0x1d0189=a25_0x523fe3,_0x2b1a51={'oLmLX':function(_0x25efa3,_0x2d3b5b){return _0x25efa3(_0x2d3b5b);},'ANhxH':function(_0x21e503,_0x13caee){return _0x21e503===_0x13caee;},'uClmF':_0x1d0189(0x1c4),'WVQCX':_0x1d0189(0x21b),'MSkyR':function(_0x4576b5,_0x21d3ac){return _0x4576b5(_0x21d3ac);},'PrisZ':function(_0x35af6b,_0x47ee1c){return _0x35af6b(_0x47ee1c);},'qtYkr':_0x1d0189(0x19e),'qHUkv':function(_0x29160f,_0x1ce6ea){return _0x29160f!==_0x1ce6ea;},'dcyng':_0x1d0189(0x212),'nzEuI':_0x1d0189(0x1d2),'tjcfi':_0x1d0189(0x1a3)};return new Promise((_0x4c9bd9,_0x3af9d0)=>{const _0xdd3ccf=_0x1d0189,_0x3af015={'ZuSVA':function(_0x394b62,_0x541134){return _0x2b1a51['PrisZ'](_0x394b62,_0x541134);},'wNvoY':_0x2b1a51['qtYkr'],'nRWbG':function(_0x1b6e97,_0x439160){const _0x27d8e0=a25_0xdd62;return _0x2b1a51[_0x27d8e0(0x1a8)](_0x1b6e97,_0x439160);},'XNgjB':_0x2b1a51[_0xdd3ccf(0x1e1)],'NJlGw':function(_0x3b8ce0,_0x5ab4a8){const _0x22cb65=_0xdd3ccf;return _0x2b1a51[_0x22cb65(0x1ad)](_0x3b8ce0,_0x5ab4a8);}};if(_0x2b1a51['qHUkv'](_0x2b1a51[_0xdd3ccf(0x1c3)],_0x2b1a51[_0xdd3ccf(0x1c3)]))return new _0x2ce653((_0x4cc367,_0x3a9768)=>{const _0x40e260=_0xdd3ccf,_0x1d6e41={'FkuKv':function(_0x339d72,_0x5a1dd7){const _0x2aa96b=a25_0xdd62;return _0x3af015[_0x2aa96b(0x220)](_0x339d72,_0x5a1dd7);},'dzOFv':function(_0x596196,_0x26a306){const _0x28c9ea=a25_0xdd62;return _0x3af015[_0x28c9ea(0x220)](_0x596196,_0x26a306);}},_0x228aa6={};_0x228aa6[_0x40e260(0x1f9)]=_0x3af015['wNvoY'];const _0x5a914c=new _0xeb11d9[(_0x40e260(0x224))](_0x228aa6),_0x495e62={};_0x495e62[_0x40e260(0x1c6)]=_0x100c19,_0x5a914c['describeCluster'](_0x495e62)['promise']()['then'](_0x559377=>{const _0x3f2c80=_0x40e260;_0x1d6e41[_0x3f2c80(0x215)](_0x4cc367,_0x559377[_0x3f2c80(0x1cf)][_0x3f2c80(0x1bf)][_0x3f2c80(0x1a5)]['issuer']);})[_0x40e260(0x197)](_0x2995d5=>{const _0x151856=_0x40e260;_0xe4cdd2['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x5453a5+':\x20'+_0x2995d5),_0x1d6e41[_0x151856(0x1d0)](_0x3a9768,_0x2995d5);});});else{const _0x19d7db={};_0x19d7db['apiVersion']=_0x2b1a51[_0xdd3ccf(0x225)],_0x19d7db[_0xdd3ccf(0x1ff)]=_0x4f31ed;const _0x1e317c=new awsSDK[(_0xdd3ccf(0x19f))](_0x19d7db);_0x1e317c[_0xdd3ccf(0x1ef)]()[_0xdd3ccf(0x21c)]()[_0xdd3ccf(0x1e5)](_0x80734=>{const _0x1a77ca=_0xdd3ccf;_0x3af015[_0x1a77ca(0x1f5)](_0x3af015['XNgjB'],_0x3af015[_0x1a77ca(0x18b)])?(_0x639904[_0x1a77ca(0x19d)](_0x1a77ca(0x193)+_0x3e6aab),_0x3af015[_0x1a77ca(0x220)](_0x36659b,_0x3eae86)):_0x3af015[_0x1a77ca(0x1ca)](_0x4c9bd9,_0x80734);})[_0xdd3ccf(0x197)](_0x1a2b5b=>{const _0x54c7c1=_0xdd3ccf,_0x35b18d={'EwUuh':function(_0x29237b,_0x5de4a6){const _0x1c5578=a25_0xdd62;return _0x2b1a51[_0x1c5578(0x1d5)](_0x29237b,_0x5de4a6);}};_0x2b1a51[_0x54c7c1(0x1ab)](_0x2b1a51[_0x54c7c1(0x1de)],_0x2b1a51[_0x54c7c1(0x1df)])?(_0x3247a2['error'](_0x54c7c1(0x205)+_0x2f569e),_0x35b18d[_0x54c7c1(0x1b5)](_0x3b014c,_0x2965d3)):(logger['error'](_0x54c7c1(0x20c)+_0x1a2b5b),_0x2b1a51[_0x54c7c1(0x1ad)](_0x3af9d0,_0x1a2b5b));});}});},exports[a25_0x523fe3(0x214)]=_0x4d1053=>{const _0x26f6db=a25_0x523fe3,_0x23fa84={'cIZej':function(_0x139846,_0x3e4d40){return _0x139846!==_0x3e4d40;},'UYXGq':function(_0x8ac4,_0xac2e26){return _0x8ac4(_0xac2e26);},'GuqBA':function(_0x2df23c,_0x1a3e57){return _0x2df23c(_0x1a3e57);},'izhtS':function(_0x3d935f,_0x26568e){return _0x3d935f!==_0x26568e;},'yHsKe':'wMmGm','WHCSn':_0x26f6db(0x1be),'kFDyh':function(_0x1e609e,_0x577365){return _0x1e609e===_0x577365;},'WiMUd':_0x26f6db(0x203),'aCukg':_0x26f6db(0x208)},_0x5d985c=new awsSDK['S3']();return new Promise((_0x1d8f0d,_0xefffc)=>{const _0x171eca=_0x26f6db,_0x54843c={'uLmAn':function(_0x430549,_0x37694d){const _0x4ed7df=a25_0xdd62;return _0x23fa84[_0x4ed7df(0x229)](_0x430549,_0x37694d);}};if(_0x23fa84[_0x171eca(0x1e2)](_0x23fa84['aCukg'],_0x23fa84[_0x171eca(0x1ed)])){const _0x47f1df={};_0x47f1df[_0x171eca(0x1d6)]=_0x4d1053,_0x5d985c[_0x171eca(0x1fa)](_0x47f1df)[_0x171eca(0x21c)]()[_0x171eca(0x1e5)](_0x5bb69=>{const _0x42baf8=_0x171eca,_0x4c2fd9={'sguwh':function(_0x16585b,_0x5565b9){const _0x807ed0=a25_0xdd62;return _0x23fa84[_0x807ed0(0x1e3)](_0x16585b,_0x5565b9);},'eugtv':function(_0x343485,_0x4d8ff7){const _0x393005=a25_0xdd62;return _0x23fa84[_0x393005(0x1fb)](_0x343485,_0x4d8ff7);},'qdGSt':function(_0x3475f5,_0x52b64e){const _0x719f69=a25_0xdd62;return _0x23fa84[_0x719f69(0x229)](_0x3475f5,_0x52b64e);}};_0x23fa84[_0x42baf8(0x207)](_0x23fa84['yHsKe'],_0x23fa84[_0x42baf8(0x19b)])?(logger[_0x42baf8(0x1cd)](_0x42baf8(0x1c8)+_0x4d1053+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x23fa84[_0x42baf8(0x1fb)](_0x1d8f0d,!![])):_0x4c2fd9[_0x42baf8(0x1e4)](_0x392810,_0x321df7)&&_0x4c2fd9['sguwh'](_0x26add9[_0x42baf8(0x1c2)],_0xe076a8)?_0x4c2fd9[_0x42baf8(0x1b6)](_0x54ead2,_0x45b281['Regions']):_0x4c2fd9[_0x42baf8(0x1f6)](_0x115e9d,{});})['catch'](()=>{const _0xac57e4=_0x171eca;_0x23fa84['kFDyh'](_0x23fa84[_0xac57e4(0x1cb)],_0x23fa84[_0xac57e4(0x1cb)])?(logger[_0xac57e4(0x1a7)]('Bucket:\x20'+_0x4d1053+_0xac57e4(0x1b0)),_0x23fa84['GuqBA'](_0x1d8f0d,![])):(_0x2fc88b[_0xac57e4(0x19d)](_0xac57e4(0x20c)+_0x5c6881),_0x54843c[_0xac57e4(0x1e0)](_0x33be17,_0xd806e));});}else _0x2954c1[_0x171eca(0x19d)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x6e0ae3),_0x23fa84[_0x171eca(0x1fb)](_0x2df1f7,_0x53c4ff);});},exports[a25_0x523fe3(0x1c5)]=_0x2d98f3=>{const _0x4a9804=a25_0x523fe3,_0x2841cb={'iPnqZ':function(_0x383daf,_0x4d20a1){return _0x383daf(_0x4d20a1);},'BWoCO':function(_0x499ff9,_0x2f22f2){return _0x499ff9===_0x2f22f2;},'cbBWy':'qeomC','BXHoU':function(_0x40ba35,_0x5aef29){return _0x40ba35(_0x5aef29);},'uATfy':function(_0x54e836,_0x1fa732){return _0x54e836(_0x1fa732);},'znXuI':function(_0x42f138,_0x4b43f1){return _0x42f138===_0x4b43f1;},'oXAqJ':_0x4a9804(0x1a1),'kExyj':function(_0x3da34f,_0x346977){return _0x3da34f(_0x346977);},'WOuKs':function(_0xaeb3a6,_0x5325cc){return _0xaeb3a6===_0x5325cc;},'klwfR':_0x4a9804(0x1e8),'RVoHB':_0x4a9804(0x1a3)};return new Promise((_0x1263a3,_0x1df23f)=>{const _0x330ccf=_0x4a9804;if(_0x2841cb[_0x330ccf(0x211)](_0x2841cb[_0x330ccf(0x1d9)],_0x2841cb[_0x330ccf(0x1d9)])){const _0x18098d={};_0x18098d[_0x330ccf(0x1f9)]=_0x2841cb['RVoHB'],_0x18098d[_0x330ccf(0x1ff)]=_0x2d98f3;const _0x69ba83=new awsSDK[(_0x330ccf(0x19f))](_0x18098d);_0x69ba83[_0x330ccf(0x1b7)]()['promise']()[_0x330ccf(0x1e5)](_0x3c3fa7=>{const _0xf1e7f=_0x330ccf,_0x4264c9={'MnrKS':function(_0x3c8036,_0x2f5329){const _0x52ed7c=a25_0xdd62;return _0x2841cb[_0x52ed7c(0x1f4)](_0x3c8036,_0x2f5329);}};if(_0x2841cb['BWoCO'](_0x2841cb[_0xf1e7f(0x1b8)],_0x2841cb[_0xf1e7f(0x1b8)]))_0x2841cb['BXHoU'](_0x1263a3,_0x3c3fa7);else{const _0x520bb4={'gJpae':function(_0x8cf347,_0x27e813){const _0x3be528=_0xf1e7f;return _0x4264c9[_0x3be528(0x1c7)](_0x8cf347,_0x27e813);}},_0x5dd973=new _0x17b927['S3']();return new _0x42f382((_0x71cc6d,_0x154a3b)=>{const _0x193d98=_0xf1e7f,_0xe790b9={'maVRL':function(_0xb72e21,_0x1f6b7f){const _0x8406e6=a25_0xdd62;return _0x4264c9[_0x8406e6(0x1c7)](_0xb72e21,_0x1f6b7f);}},_0x20c48e={};_0x20c48e[_0x193d98(0x1d6)]=_0x118ddd,_0x5dd973['headBucket'](_0x20c48e)[_0x193d98(0x21c)]()[_0x193d98(0x1e5)](_0xe8d352=>{const _0x450d1e=_0x193d98;_0x4a105d[_0x450d1e(0x1cd)](_0x450d1e(0x1c8)+_0x3df30f+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0xe790b9[_0x450d1e(0x19a)](_0x71cc6d,!![]);})[_0x193d98(0x197)](()=>{const _0x51d8f9=_0x193d98;_0x47861b['info']('Bucket:\x20'+_0x4600e0+_0x51d8f9(0x1b0)),_0x520bb4[_0x51d8f9(0x1a4)](_0x71cc6d,![]);});});}})[_0x330ccf(0x197)](_0x48c886=>{const _0x272872=_0x330ccf,_0x40f10d={'GQCpU':function(_0x12508e,_0x278fce){const _0x5d720e=a25_0xdd62;return _0x2841cb[_0x5d720e(0x1fc)](_0x12508e,_0x278fce);}};_0x2841cb[_0x272872(0x1b9)](_0x2841cb['oXAqJ'],_0x2841cb[_0x272872(0x20b)])?(logger['error'](_0x272872(0x205)+_0x48c886),_0x2841cb[_0x272872(0x189)](_0x1df23f,_0x48c886)):(_0x55337a[_0x272872(0x1a7)](_0x272872(0x1c8)+_0x2e2511+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x40f10d[_0x272872(0x195)](_0x168be8,![]));});}else _0x2841cb['kExyj'](_0x5adb9c,{});});},exports[a25_0x523fe3(0x204)]=_0x259824=>{const _0x700724=a25_0x523fe3,_0x12a3ed={'AHmYG':function(_0xbdc224,_0x28aa09){return _0xbdc224(_0x28aa09);},'cvKoV':function(_0x193497,_0x482957){return _0x193497(_0x482957);},'Xapqc':function(_0x40c73a,_0x1820ca){return _0x40c73a!==_0x1820ca;},'rAOlv':_0x700724(0x1ee),'aWNJn':function(_0x564735,_0x1e5053){return _0x564735===_0x1e5053;},'CyLNZ':_0x700724(0x1da),'vQPDf':function(_0xc1db17,_0x2db53c){return _0xc1db17!==_0x2db53c;},'Mjvch':_0x700724(0x1e6),'Rkixv':_0x700724(0x1a3)};return new Promise((_0x6b8cb8,_0x181f79)=>{const _0x6eb073=_0x700724;if(_0x12a3ed['vQPDf'](_0x12a3ed[_0x6eb073(0x1a6)],_0x12a3ed[_0x6eb073(0x1a6)]))_0x55d751[_0x6eb073(0x1cd)](_0x6eb073(0x1c8)+_0xd88631+_0x6eb073(0x1ba)),_0x12a3ed[_0x6eb073(0x223)](_0x1fc2bd,!![]);else{const _0x5652a2={};_0x5652a2[_0x6eb073(0x1f9)]=_0x12a3ed[_0x6eb073(0x1b1)],_0x5652a2['region']=_0x259824;const _0x78eddf=new awsSDK[(_0x6eb073(0x19f))](_0x5652a2);_0x78eddf[_0x6eb073(0x1ae)]()[_0x6eb073(0x21c)]()[_0x6eb073(0x1e5)](_0x11ac76=>{const _0x564859=_0x6eb073,_0x5919a5={'AIXvd':function(_0x2b0d7d,_0x363f02){const _0x30a030=a25_0xdd62;return _0x12a3ed[_0x30a030(0x20e)](_0x2b0d7d,_0x363f02);}};if(_0x12a3ed[_0x564859(0x217)](_0x12a3ed[_0x564859(0x200)],_0x12a3ed[_0x564859(0x200)])){const _0x85ce3d={'KxILK':function(_0x5ada2b,_0xb22d6){const _0x4ad632=_0x564859;return _0x5919a5[_0x4ad632(0x18a)](_0x5ada2b,_0xb22d6);}},_0x40e3cd={};_0x40e3cd[_0x564859(0x1d6)]=_0x4f9d68,_0x327bca[_0x564859(0x1fa)](_0x40e3cd)['promise']()[_0x564859(0x1e5)](_0x4a8332=>{const _0x37c54a=_0x564859;_0x35219a[_0x37c54a(0x1cd)](_0x37c54a(0x1c8)+_0x8190a8+_0x37c54a(0x1ba)),_0x5919a5['AIXvd'](_0x5d25eb,!![]);})[_0x564859(0x197)](()=>{const _0x3f4137=_0x564859;_0x3b3546[_0x3f4137(0x1a7)](_0x3f4137(0x1c8)+_0x35e1de+_0x3f4137(0x1b0)),_0x85ce3d[_0x3f4137(0x201)](_0x278bd2,![]);});}else _0x12a3ed[_0x564859(0x223)](_0x6b8cb8,_0x11ac76);})[_0x6eb073(0x197)](_0x40ae39=>{const _0x481154=_0x6eb073,_0x347b69={'cZVkl':function(_0x250bc0,_0x2e5137){return _0x12a3ed['cvKoV'](_0x250bc0,_0x2e5137);}};_0x12a3ed[_0x481154(0x1af)](_0x12a3ed['CyLNZ'],_0x12a3ed[_0x481154(0x196)])?(logger[_0x481154(0x19d)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x40ae39),_0x12a3ed[_0x481154(0x20e)](_0x181f79,_0x40ae39)):_0x347b69['cZVkl'](_0x2349b4,_0x1819e2);});}});},exports['getAWSRegions']=()=>{const _0x85c1ae=a25_0x523fe3,_0xa7c576={'SbEDT':_0x85c1ae(0x1a3),'kJsUv':function(_0x254660,_0x49ec08){return _0x254660(_0x49ec08);},'GfaCu':function(_0xe7de92,_0x5b0f05){return _0xe7de92===_0x5b0f05;},'JewQL':'pirKk','mrPEt':_0x85c1ae(0x1dc),'VOrkJ':function(_0x32f214,_0x350ec8){return _0x32f214!==_0x350ec8;},'fivNN':'ehZCN','QOVbL':_0x85c1ae(0x19c),'diMNv':function(_0xf527e8,_0x20e385){return _0xf527e8(_0x20e385);},'baeRs':_0x85c1ae(0x1ec),'zLxya':function(_0x337a61,_0x335d0b){return _0x337a61(_0x335d0b);},'cJZqn':function(_0x205155,_0x273b02){return _0x205155(_0x273b02);},'PbFbK':function(_0x479fe0,_0x1c2874){return _0x479fe0!==_0x1c2874;},'UmRXQ':_0x85c1ae(0x210),'jjFKJ':function(_0xda2cf2,_0x46af3c){return _0xda2cf2(_0x46af3c);},'YbSmW':function(_0x4412a8,_0x5fb794){return _0x4412a8(_0x5fb794);},'SucJa':_0x85c1ae(0x222),'qVUoX':_0x85c1ae(0x190)};return new Promise((_0x58681e,_0x45fff0)=>{const _0x6385ea=_0x85c1ae,_0x1621fc={'LRzVf':function(_0x95d563,_0x49f0bf){const _0x37687f=a25_0xdd62;return _0xa7c576[_0x37687f(0x1f1)](_0x95d563,_0x49f0bf);},'EZzqG':function(_0x500a93,_0x2b0c7a){const _0x11d349=a25_0xdd62;return _0xa7c576[_0x11d349(0x218)](_0x500a93,_0x2b0c7a);},'tTaqB':_0xa7c576['SbEDT']};if(_0xa7c576['GfaCu'](_0xa7c576[_0x6385ea(0x1d1)],_0xa7c576['qVUoX']))_0x1621fc[_0x6385ea(0x192)](_0x469593,_0x289937);else{const _0x585731={};_0x585731[_0x6385ea(0x1f9)]=_0xa7c576[_0x6385ea(0x1f7)];const _0xa3c5df=new awsSDK['EC2'](_0x585731);_0xa3c5df[_0x6385ea(0x1ac)]()[_0x6385ea(0x21c)]()[_0x6385ea(0x1e5)]((_0xaaa7fb,_0x360012)=>{const _0x540b50=_0x6385ea,_0x54eab5={'LxrgG':_0xa7c576[_0x540b50(0x1f7)],'ItMGf':function(_0x154dba,_0x2db6fa){const _0x240e6b=_0x540b50;return _0xa7c576[_0x240e6b(0x1f0)](_0x154dba,_0x2db6fa);},'nqsdi':function(_0xbf696d,_0x253cf7){const _0x8e9453=_0x540b50;return _0xa7c576[_0x8e9453(0x1f0)](_0xbf696d,_0x253cf7);}};if(_0xa7c576['GfaCu'](_0xa7c576[_0x540b50(0x202)],_0xa7c576[_0x540b50(0x219)])){const _0x58b1fa={'cNhkI':function(_0x370b03,_0x5b3e67){const _0xb78a40=_0x540b50;return _0x54eab5[_0xb78a40(0x188)](_0x370b03,_0x5b3e67);}};return new _0x54f9a3((_0x31f257,_0x29f97f)=>{const _0xf5928d=_0x540b50,_0x4284cb={};_0x4284cb[_0xf5928d(0x1f9)]=_0x54eab5['LxrgG'],_0x4284cb[_0xf5928d(0x1ff)]=_0x5a62e7;const _0xaf32cd=new _0x4a7b4f['EC2'](_0x4284cb);_0xaf32cd[_0xf5928d(0x1b7)]()['promise']()[_0xf5928d(0x1e5)](_0x495ccb=>{const _0x3431d5=_0xf5928d;_0x58b1fa[_0x3431d5(0x1c0)](_0x31f257,_0x495ccb);})['catch'](_0x31ca9d=>{const _0x328c2a=_0xf5928d;_0x1ec0f8[_0x328c2a(0x19d)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x31ca9d),_0x58b1fa[_0x328c2a(0x1c0)](_0x29f97f,_0x31ca9d);});});}else{if(_0xa7c576[_0x540b50(0x1f3)](_0xaaa7fb,undefined)&&_0xa7c576[_0x540b50(0x1f3)](_0xaaa7fb[_0x540b50(0x1c2)],undefined)){if(_0xa7c576[_0x540b50(0x1bd)](_0xa7c576['fivNN'],_0xa7c576['QOVbL'])){const _0x3aa634={'gGtNv':function(_0x36bda9,_0x56c65c){const _0x100210=_0x540b50;return _0x1621fc[_0x100210(0x18f)](_0x36bda9,_0x56c65c);}},_0xf298de={};_0xf298de['apiVersion']=_0x1621fc[_0x540b50(0x1ce)],_0xf298de[_0x540b50(0x1ff)]=_0x23fe1c;const _0x504765=new _0x13f451[(_0x540b50(0x19f))](_0xf298de);_0x504765[_0x540b50(0x1ef)]()[_0x540b50(0x21c)]()[_0x540b50(0x1e5)](_0x1985f9=>{const _0x5b7ef8=_0x540b50;_0x54eab5[_0x5b7ef8(0x188)](_0x42539e,_0x1985f9);})['catch'](_0x42813a=>{const _0x2083c9=_0x540b50;_0x36cec2['error'](_0x2083c9(0x20c)+_0x42813a),_0x3aa634[_0x2083c9(0x1f2)](_0x286ed7,_0x42813a);});}else _0xa7c576[_0x540b50(0x191)](_0x58681e,_0xaaa7fb[_0x540b50(0x1c2)]);}else{if(_0xa7c576[_0x540b50(0x1bd)](_0xa7c576[_0x540b50(0x1c1)],_0xa7c576[_0x540b50(0x1c1)]))_0xa7c576['zLxya'](_0x58681e,{});else{const _0x50f7fa={'jDldj':function(_0x26b7a8,_0x4e3815){const _0x3c2cb5=_0x540b50;return _0x54eab5[_0x3c2cb5(0x221)](_0x26b7a8,_0x4e3815);},'EdgvL':_0x54eab5[_0x540b50(0x1d4)]};return new _0x25098f((_0x36baac,_0x5866c4)=>{const _0x1851a5=_0x540b50,_0x41eec4={'eVXak':function(_0x2d80ea,_0x59ace0){const _0x190639=a25_0xdd62;return _0x50f7fa[_0x190639(0x198)](_0x2d80ea,_0x59ace0);}},_0x333af1={};_0x333af1[_0x1851a5(0x1f9)]=_0x50f7fa[_0x1851a5(0x216)],_0x333af1[_0x1851a5(0x1ff)]=_0xa4ffb2;const _0x536690=new _0x43673b['EC2'](_0x333af1);_0x536690[_0x1851a5(0x1ef)]()['promise']()['then'](_0x3d7765=>{const _0x5bae5c=_0x1851a5;_0x41eec4[_0x5bae5c(0x1e7)](_0x36baac,_0x3d7765);})[_0x1851a5(0x197)](_0x4aedfc=>{const _0x443890=_0x1851a5;_0x5805c5['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x4aedfc),_0x41eec4[_0x443890(0x1e7)](_0x5866c4,_0x4aedfc);});});}}}})['catch'](_0x113e5f=>{const _0x2f46e1=_0x6385ea,_0x47d32e={'OUXiX':function(_0xfff195,_0x33fe04){return _0xa7c576['cJZqn'](_0xfff195,_0x33fe04);}};_0xa7c576[_0x2f46e1(0x1b2)](_0xa7c576['UmRXQ'],_0xa7c576[_0x2f46e1(0x199)])?_0x47d32e[_0x2f46e1(0x1b4)](_0x26f189,_0x231366['cluster'][_0x2f46e1(0x1bf)][_0x2f46e1(0x1a5)][_0x2f46e1(0x187)]):(logger[_0x2f46e1(0x19d)](_0x2f46e1(0x194)+_0x113e5f),_0xa7c576[_0x2f46e1(0x1a9)](_0x45fff0,_0x113e5f));});}});},exports['getOidcUrl']=_0x35e7d4=>{const _0x2ce70a=a25_0x523fe3,_0x142362={'uHrVB':function(_0x4eceb0,_0x1fcabb){return _0x4eceb0(_0x1fcabb);},'jYGRX':_0x2ce70a(0x1a3),'DHidK':function(_0x300f6b,_0x43f5b9){return _0x300f6b===_0x43f5b9;},'hkwcC':_0x2ce70a(0x1a0),'JQPhD':'bOnCY','ioyNh':'zxdYi','XIeWg':_0x2ce70a(0x1fd),'PnFWL':_0x2ce70a(0x19e)};return new Promise((_0x22c8ac,_0xddf49d)=>{const _0x53f0be=_0x2ce70a,_0x52fe54={'aLJho':function(_0x4525ae,_0x18ec53){return _0x142362['uHrVB'](_0x4525ae,_0x18ec53);},'fsdcF':_0x142362['jYGRX'],'MwPqT':function(_0x42d5d3,_0x3bdf00){const _0x18cad3=a25_0xdd62;return _0x142362[_0x18cad3(0x226)](_0x42d5d3,_0x3bdf00);},'rfaKb':_0x142362[_0x53f0be(0x21d)],'DvTVi':_0x142362[_0x53f0be(0x1a2)],'mqjMV':_0x142362[_0x53f0be(0x21f)],'qISPb':function(_0x53cce4,_0x7cbb29){const _0x32020a=_0x53f0be;return _0x142362[_0x32020a(0x1d7)](_0x53cce4,_0x7cbb29);},'MsDoK':function(_0x2e4bbc,_0x36bed3){const _0x306b23=_0x53f0be;return _0x142362[_0x306b23(0x1d7)](_0x2e4bbc,_0x36bed3);},'YutwP':function(_0x2188e1,_0x3efb15){const _0x23410f=_0x53f0be;return _0x142362[_0x23410f(0x1d7)](_0x2188e1,_0x3efb15);}};if(_0x142362[_0x53f0be(0x226)](_0x142362[_0x53f0be(0x206)],_0x142362[_0x53f0be(0x206)])){const _0x13a5eb={};_0x13a5eb[_0x53f0be(0x1f9)]=_0x142362['PnFWL'];const _0x53e6e0=new awsSDK['EKS'](_0x13a5eb),_0x51c9ef={};_0x51c9ef[_0x53f0be(0x1c6)]=_0x35e7d4,_0x53e6e0['describeCluster'](_0x51c9ef)['promise']()[_0x53f0be(0x1e5)](_0x1b9510=>{const _0x161c2a=_0x53f0be,_0xc77f80={'vwYoq':function(_0x45f199,_0x446cfa){const _0x541961=a25_0xdd62;return _0x52fe54[_0x541961(0x209)](_0x45f199,_0x446cfa);},'ysWEc':_0x52fe54[_0x161c2a(0x20d)]};if(_0x52fe54[_0x161c2a(0x1fe)](_0x52fe54[_0x161c2a(0x227)],_0x52fe54[_0x161c2a(0x1cc)])){const _0x3536b3={'yLJzg':function(_0xa5573a,_0x4008af){const _0x5199bc=_0x161c2a;return _0xc77f80[_0x5199bc(0x1aa)](_0xa5573a,_0x4008af);}},_0xe89daf={};_0xe89daf['apiVersion']=_0xc77f80[_0x161c2a(0x18c)],_0xe89daf[_0x161c2a(0x1ff)]=_0x1415b9;const _0x7e2706=new _0x359558[(_0x161c2a(0x19f))](_0xe89daf);_0x7e2706[_0x161c2a(0x1ae)]()[_0x161c2a(0x21c)]()[_0x161c2a(0x1e5)](_0x2d3c5e=>{const _0x1828ee=_0x161c2a;_0x3536b3[_0x1828ee(0x228)](_0x79b295,_0x2d3c5e);})[_0x161c2a(0x197)](_0x2c153c=>{const _0x45be4a=_0x161c2a;_0x231585[_0x45be4a(0x19d)](_0x45be4a(0x193)+_0x2c153c),_0xc77f80[_0x45be4a(0x1aa)](_0x411e50,_0x2c153c);});}else _0x52fe54['aLJho'](_0x22c8ac,_0x1b9510['cluster'][_0x161c2a(0x1bf)][_0x161c2a(0x1a5)][_0x161c2a(0x187)]);})[_0x53f0be(0x197)](_0x56e94d=>{const _0x2c8abe=_0x53f0be,_0x25b700={'jnonD':function(_0x29a3d5,_0x45815e){const _0x531fe7=a25_0xdd62;return _0x52fe54[_0x531fe7(0x209)](_0x29a3d5,_0x45815e);}};_0x52fe54[_0x2c8abe(0x1fe)](_0x52fe54[_0x2c8abe(0x20f)],_0x52fe54[_0x2c8abe(0x20f)])?(logger[_0x2c8abe(0x19d)](_0x2c8abe(0x1f8)+_0x35e7d4+':\x20'+_0x56e94d),_0x52fe54[_0x2c8abe(0x213)](_0xddf49d,_0x56e94d)):_0x25b700[_0x2c8abe(0x20a)](_0x188623,_0x3b259e);});}else{const _0x40f932={};_0x40f932[_0x53f0be(0x1f9)]=_0x52fe54[_0x53f0be(0x20d)],_0x40f932[_0x53f0be(0x1ff)]=_0x27853b;const _0x277753=new _0x1a7a0b[(_0x53f0be(0x19f))](_0x40f932);_0x277753[_0x53f0be(0x1b7)]()[_0x53f0be(0x21c)]()['then'](_0x19e6be=>{_0x52fe54['MsDoK'](_0x181b9a,_0x19e6be);})[_0x53f0be(0x197)](_0xa477ba=>{const _0x4ff2db=_0x53f0be;_0x4f495d[_0x4ff2db(0x19d)](_0x4ff2db(0x205)+_0xa477ba),_0x52fe54[_0x4ff2db(0x186)](_0x3b00ce,_0xa477ba);});}});},exports[a25_0x523fe3(0x1db)]=awsSDK;function a25_0x2deb(){const _0x4a7738=['2016-11-15','gJpae','oidc','Mjvch','info','qHUkv','jjFKJ','vwYoq','ANhxH','describeRegions','MSkyR','describeSecurityGroups','aWNJn','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','Rkixv','PbFbK','2880QztLbB','OUXiX','EwUuh','eugtv','describeSubnets','cbBWy','znXuI','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','35328pJZTtC','aws-sdk','GfaCu','xsbEO','identity','cNhkI','baeRs','Regions','nzEuI','eHwxD','fetchSubnets','name','MnrKS','Bucket:\x20','2WzhBpA','NJlGw','WiMUd','DvTVi','warn','tTaqB','cluster','dzOFv','SucJa','gjcJZ','5nycAhc','LxrgG','oLmLX','Bucket','uHrVB','6IkucwE','klwfR','OEQmW','awsObj','FoPeE','2459436NSxgKc','uClmF','WVQCX','uLmAn','dcyng','kFDyh','cIZej','sguwh','then','TPYvu','eVXak','ueCxk','6321865MGGLaw','3202292CmGyYP','fetchVPCs','PziVV','aCukg','rJwOF','describeVpcs','kJsUv','zLxya','gGtNv','VOrkJ','iPnqZ','nRWbG','qdGSt','SbEDT','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','apiVersion','headBucket','UYXGq','uATfy','xjkef','MwPqT','region','rAOlv','KxILK','JewQL','mKGJI','fetchSecurityGroups','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','XIeWg','izhtS','tGiiZ','aLJho','jnonD','oXAqJ','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','fsdcF','cvKoV','mqjMV','IShdI','WOuKs','tTPiG','qISPb','isBucketPresent','FkuKv','EdgvL','Xapqc','YbSmW','mrPEt','1798639FoeCek','UXbAT','promise','hkwcC','8550560zxAVlL','ioyNh','ZuSVA','nqsdi','AEvOo','AHmYG','EKS','tjcfi','DHidK','rfaKb','yLJzg','GuqBA','YutwP','issuer','ItMGf','BXHoU','AIXvd','XNgjB','ysWEc','../config/logger','9638797SiOwPP','EZzqG','vzTxO','diMNv','LRzVf','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','GQCpU','CyLNZ','catch','jDldj','UmRXQ','maVRL','WHCSn','ifohV','error','2017-11-01','EC2','pwLnh','AponX','JQPhD'];a25_0x2deb=function(){return _0x4a7738;};return a25_0x2deb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a26_0x2de0(){const _0x47e7f9=['js-yaml','hMRPG','browserstack:cluster','7464573jrEKSi','9417617UXtxMe','Capabilities','autoscaler-role-creation.yaml','stringify','browserstack:creationDate','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','303342BDgTca','ClusterName','7727418ufbwDi','load','DELETE','bluebird','promise','CrsTP','createAutoscalerStack','Resources','templates','utf-8','576brtRCZ','wtnMQ','CAPABILITY_NAMED_IAM','29701ylUJMa','promisifyAll','Value','path','Properties','2010-05-15','debug','OnFailure','uNfED','RJCcL','schema','StackName','5685495hiJKMu','11KEaqbI','Tags','TYIJf','js-yaml-cloudformation-schema','fmjbW','waitFor','awsObj','createStack','4lFfDHl','../config/constants','TemplateBody','push','toString','210717vKsoKG','20mEXbCe','readFileAsync'];a26_0x2de0=function(){return _0x47e7f9;};return a26_0x2de0();}const a26_0x4d5e85=a26_0x4606;(function(_0x44f35c,_0x334e30){const _0x3a620f=a26_0x4606,_0x54fcd7=_0x44f35c();while(!![]){try{const _0x1fbfee=parseInt(_0x3a620f(0xdd))/0x1*(parseInt(_0x3a620f(0xc1))/0x2)+parseInt(_0x3a620f(0xea))/0x3*(-parseInt(_0x3a620f(0xe5))/0x4)+parseInt(_0x3a620f(0xdc))/0x5+-parseInt(_0x3a620f(0xc3))/0x6+parseInt(_0x3a620f(0xd0))/0x7*(parseInt(_0x3a620f(0xcd))/0x8)+parseInt(_0x3a620f(0xba))/0x9+-parseInt(_0x3a620f(0xeb))/0xa*(parseInt(_0x3a620f(0xbb))/0xb);if(_0x1fbfee===_0x334e30)break;else _0x54fcd7['push'](_0x54fcd7['shift']());}catch(_0x2fbcb4){_0x54fcd7['push'](_0x54fcd7['shift']());}}}(a26_0x2de0,0xd4631));const fs=require('fs'),path=require(a26_0x4d5e85(0xd3)),yaml=require(a26_0x4d5e85(0xb7)),{CLOUDFORMATION_SCHEMA}=require(a26_0x4d5e85(0xe0)),Promise=require(a26_0x4d5e85(0xc6)),AWS=require('./AWSUtils')[a26_0x4d5e85(0xe3)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x4d5e85(0xe6)),{logger}=require('../config/logger');Promise[a26_0x4d5e85(0xd1)](fs);function a26_0x4606(_0x3a3880,_0x4d5033){const _0x2de016=a26_0x2de0();return a26_0x4606=function(_0x4606c9,_0x43639b){_0x4606c9=_0x4606c9-0xb6;let _0x315cd2=_0x2de016[_0x4606c9];return _0x315cd2;},a26_0x4606(_0x3a3880,_0x4d5033);}const addAutoscalerTags=async(_0x1eafc,_0x5adb4f,_0x74f468)=>{const _0x27fba6=a26_0x4d5e85;for(const _0x4c6ebf in _0x1eafc[_0x27fba6(0xca)]){_0x1eafc[_0x27fba6(0xca)][_0x4c6ebf][_0x27fba6(0xd4)]&&_0x1eafc['Resources'][_0x4c6ebf][_0x27fba6(0xd4)][_0x27fba6(0xde)]&&_0x1eafc[_0x27fba6(0xca)][_0x4c6ebf]['Properties'][_0x27fba6(0xde)]['push'](..._0x74f468);}};exports[a26_0x4d5e85(0xc9)]=async _0xbb1980=>{const _0x2cd3c9=a26_0x4d5e85,_0x5f490b={'hMRPG':_0x2cd3c9(0xb9),'FExeB':_0x2cd3c9(0xbf),'klAOA':_0x2cd3c9(0xd5),'olHps':_0x2cd3c9(0xcb),'TYIJf':_0x2cd3c9(0xbd),'wtnMQ':_0x2cd3c9(0xcc),'DRYgp':function(_0x2448c9,_0x301cc1,_0x19615f,_0x462011){return _0x2448c9(_0x301cc1,_0x19615f,_0x462011);},'uNfED':_0x2cd3c9(0xc5),'tbGDG':_0x2cd3c9(0xc2),'RJCcL':_0x2cd3c9(0xcf),'CrsTP':_0x2cd3c9(0xc0),'fmjbW':'stackCreateComplete'},_0x195daa=COMMON_HST_TAGS,_0x1aba63={};_0x1aba63['Key']=_0x5f490b[_0x2cd3c9(0xb8)],_0x1aba63[_0x2cd3c9(0xd2)]=_0xbb1980,_0x195daa[_0x2cd3c9(0xe8)](_0x1aba63),_0x195daa[_0x2cd3c9(0xe8)]({'Key':_0x5f490b['FExeB'],'Value':new Date()['valueOf']()[_0x2cd3c9(0xe9)]()});const _0x354723={};_0x354723['apiVersion']=_0x5f490b['klAOA'];const _0x67cc04=new AWS['CloudFormation'](_0x354723),_0x207b95=await fs[_0x2cd3c9(0xb6)](path['join'](__dirname,'..',_0x5f490b['olHps'],_0x5f490b[_0x2cd3c9(0xdf)]),_0x5f490b[_0x2cd3c9(0xce)]),_0x2cee1a={};_0x2cee1a[_0x2cd3c9(0xda)]=CLOUDFORMATION_SCHEMA;const _0x1ea6a3=yaml[_0x2cd3c9(0xc4)](_0x207b95,_0x2cee1a);_0x5f490b['DRYgp'](addAutoscalerTags,_0x1ea6a3,_0xbb1980,_0x195daa);const _0x5d4e7b=JSON[_0x2cd3c9(0xbe)](_0x1ea6a3),_0x235905={};_0x235905[_0x2cd3c9(0xdb)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0xbb1980,_0x235905[_0x2cd3c9(0xd7)]=_0x5f490b[_0x2cd3c9(0xd8)],_0x235905[_0x2cd3c9(0xe7)]=_0x5d4e7b,_0x235905['Parameters']=[{'ParameterKey':_0x5f490b['tbGDG'],'ParameterValue':_0xbb1980}],_0x235905[_0x2cd3c9(0xbc)]=[_0x5f490b[_0x2cd3c9(0xd9)]],_0x235905[_0x2cd3c9(0xde)]=_0x195daa;const _0x3385ee=_0x235905,_0x187078=await _0x67cc04[_0x2cd3c9(0xe4)](_0x3385ee)[_0x2cd3c9(0xc7)]();logger[_0x2cd3c9(0xd6)](_0x5f490b[_0x2cd3c9(0xc8)]);const _0x1f6590={};return _0x1f6590[_0x2cd3c9(0xdb)]=_0x187078['StackId'],_0x67cc04[_0x2cd3c9(0xe2)](_0x5f490b[_0x2cd3c9(0xe1)],_0x1f6590)[_0x2cd3c9(0xc7)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x24eb28=a27_0x1570;function a27_0x1570(_0x22ac15,_0x2276fa){const _0x559782=a27_0x5597();return a27_0x1570=function(_0x1570e0,_0x3a4961){_0x1570e0=_0x1570e0-0x1da;let _0x9b6f91=_0x559782[_0x1570e0];return _0x9b6f91;},a27_0x1570(_0x22ac15,_0x2276fa);}(function(_0x5e028e,_0x122ff7){const _0x48f62e=a27_0x1570,_0x311425=_0x5e028e();while(!![]){try{const _0x2dfc85=-parseInt(_0x48f62e(0x25b))/0x1*(-parseInt(_0x48f62e(0x27d))/0x2)+parseInt(_0x48f62e(0x239))/0x3+parseInt(_0x48f62e(0x268))/0x4+-parseInt(_0x48f62e(0x208))/0x5+-parseInt(_0x48f62e(0x1dd))/0x6+parseInt(_0x48f62e(0x233))/0x7*(-parseInt(_0x48f62e(0x27f))/0x8)+parseInt(_0x48f62e(0x1ed))/0x9;if(_0x2dfc85===_0x122ff7)break;else _0x311425['push'](_0x311425['shift']());}catch(_0x5e0682){_0x311425['push'](_0x311425['shift']());}}}(a27_0x5597,0x9751a));const fs=require('fs'),path=require(a27_0x24eb28(0x234)),Promise=require(a27_0x24eb28(0x21e)),yaml=require(a27_0x24eb28(0x25e)),{CLOUDFORMATION_SCHEMA}=require(a27_0x24eb28(0x1dc)),AWS=require(a27_0x24eb28(0x215))[a27_0x24eb28(0x236)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x24eb28(0x250)),{logger}=require(a27_0x24eb28(0x21f)),{isBucketPresent}=require(a27_0x24eb28(0x215));function a27_0x5597(){const _0x2586fd=['js-yaml-cloudformation-schema','2801934xBlmqB','NodeAutoScalingGroupMaxSize','iAXak','GJUVU','TjLYV','ARHiS','Subnet01Block','pjWfk','Outputs','Key','Properties','3|5|1|0|2|4','NodeGroup','Qnwzx','subnet-create.yaml','xQxId','14354505iUELkZ','Metadata','TvfWY','OMEcM','WAMCU','NodeAutoScalingGroupDesiredSizeWindows','browserstack:cluster','Subnet','kllgm','false','LxKkX','waitFor','URIDc','toString','HTooC','ypPrv','ClusterName','Wouoq','LhQwH','OnFailure','CWWKS','EKSCluster','VxoYK','FRAGq','GGmCR','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','vpc-create.yaml','5500440NQhlzn','-Windows-NodeGroup','eRWgg','DELETE','UeHcQ','ParameterGroups','push','OMeCx','SeSIg','zCckT','KzyaR','Subnet02Block','wTVZI','./AWSUtils','JOPYj','ResourcesVpcConfig','Tags','YGBLp','StackId','mrnCq','yIUfZ','rfxZm','bluebird','../config/logger','createClusterStack','promise','tVhvw','fOzUk','VNLXP','dkYwB','Subnet01','split','dGevz','borso','Agsyv','rKDkw','QTnZL','keys','stackCreateComplete','forEach','ParameterKey','LmhjH','StackName','28kCwLpi','path','JxsIa','awsObj','padStart','browserstack:creationDate','752190PUhYSD','valueOf','jCBXA','HSJvt','NodeAutoScalingGroupMinSizeWindows','AWS::CloudFormation::Interface','-NodeGroup','SgTHi','tCgQd','ParameterValue','fkQbw','TWlVK','readFileAsync','UTYaF','5|3|1|0|2|4','LqAxw','CHryA','VPC','NodeImageId','Subnets','KDNLQ','dnDiv','vpc-import.yaml','../config/constants','stringify','DTVTy','qeJdx','HmbpJ','aklzL','SubnetIds','vkvrx','value','BMYkx','nQeFK','7cVLjEX','Value','Subnet02','js-yaml','s3Bucket','instanceType','RfJjb','apiVersion','vNFPJ','qZvSh','NRAZv','Resources','VpcBlock','3886840rbDVkb','debug','schema','SQFhS','eeYqP','vQnlT','gTADv','yuyum','fjQew','COBvE','NodeGroupWindows','AiYiu','join','CAPABILITY_NAMED_IAM','ceswf','utf-8','KAxXr','Capabilities','vAcdE','DependsOn','VMUfK','89036InNYxh','NodeAutoScalingGroupMinSize','1884264NqGDeD','eFkQu','Fn::Join','kOMVI','Ref','mjBNe','MhSmX','aws-eks-cluster-dep.yaml','CFTemplates','load','Subnet03Block','Subnet03','KOuGv','HtTNM','LQCuP','zOAom','tbrqs','NodeGroupName','JFkfo','bXuaW','Parameters'];a27_0x5597=function(){return _0x2586fd;};return a27_0x5597();}Promise['promisifyAll'](fs);const mergeTemplates=(_0x1443fe,_0x51d8b5)=>{const _0x50186f=a27_0x24eb28,_0x109508={'KDNLQ':function(_0x24a0e4,_0x9156c0){return _0x24a0e4!==_0x9156c0;},'jCBXA':_0x50186f(0x21b),'VxoYK':_0x50186f(0x24a),'wTVZI':function(_0x1a7df4,_0x45b4c5,_0x4e1800){return _0x1a7df4(_0x45b4c5,_0x4e1800);},'yuyum':_0x50186f(0x254),'Fspbv':_0x50186f(0x1f5)};Object[_0x50186f(0x22d)](_0x51d8b5)[_0x50186f(0x22f)](_0x156a52=>{const _0x463570=_0x50186f,_0x2267bd={'JOPYj':function(_0x3d3e31,_0x4b89bc,_0x35475d){const _0x10fdd6=a27_0x1570;return _0x109508[_0x10fdd6(0x214)](_0x3d3e31,_0x4b89bc,_0x35475d);}};if(_0x109508[_0x463570(0x24d)](_0x109508[_0x463570(0x26f)],_0x109508['Fspbv'])){var _0x3d1b75=_0x51d8b5[_0x156a52];Object['keys'](_0x3d1b75)['forEach'](_0x33a9d9=>{const _0x5d8e30=_0x463570;_0x109508[_0x5d8e30(0x24d)](_0x109508[_0x5d8e30(0x23b)],_0x109508[_0x5d8e30(0x23b)])?_0x2267bd[_0x5d8e30(0x216)](_0x1a1823,_0x20f0b2,_0x489720):_0x1443fe[_0x156a52][_0x33a9d9]=_0x3d1b75[_0x33a9d9];});}else{const _0x19fd91={};_0x19fd91[_0x463570(0x230)]=_0x109508[_0x463570(0x203)],_0x19fd91[_0x463570(0x242)]=_0x29365e,_0x1bbe81[_0x463570(0x1db)][_0x463570(0x20e)](_0x19fd91);}});},addVPCData=async(_0x8629a5,_0x7705c1)=>{const _0x43f1cf=a27_0x24eb28,_0x5cfd93={'LGZHE':_0x43f1cf(0x1e8),'iBbAD':function(_0x193e0a,_0x197702){return _0x193e0a(_0x197702);},'LQCuP':function(_0x255074,_0x2c7150){return _0x255074(_0x2c7150);},'eFkQu':_0x43f1cf(0x281),'HTooC':function(_0x5c312c,_0x21540c){return _0x5c312c(_0x21540c);},'dGevz':'AWS::CloudFormation::Interface','SgTHi':function(_0x429e73,_0x12b0f1){return _0x429e73!==_0x12b0f1;},'JFkfo':_0x43f1cf(0x1fc),'fOzUk':_0x43f1cf(0x287),'LzwGu':_0x43f1cf(0x24f),'borso':_0x43f1cf(0x277),'bXuaW':function(_0x4b1440,_0x1496b9,_0xe630bf){return _0x4b1440(_0x1496b9,_0xe630bf);},'qmMtW':'VPC','pjWfk':function(_0x11c7f7,_0x4fff5f){return _0x11c7f7===_0x4fff5f;},'zOAom':_0x43f1cf(0x224),'HtTNM':_0x43f1cf(0x205),'KzyaR':_0x43f1cf(0x207),'URIDc':_0x43f1cf(0x267)};if(_0x7705c1){if(_0x5cfd93[_0x43f1cf(0x240)](_0x5cfd93[_0x43f1cf(0x291)],_0x5cfd93[_0x43f1cf(0x291)])){var _0x10598f=_0x521c9d[_0x399bbf];_0x825c39[_0x43f1cf(0x22d)](_0x10598f)[_0x43f1cf(0x22f)](_0x5dbe1b=>{_0x292eda[_0x8649ac][_0x5dbe1b]=_0x10598f[_0x5dbe1b];});}else{const _0x2d18c1=await fs['readFileAsync'](path[_0x43f1cf(0x274)](__dirname,'..',_0x5cfd93[_0x43f1cf(0x223)],_0x5cfd93['LzwGu']),_0x5cfd93[_0x43f1cf(0x229)]),_0x1608a9={};_0x1608a9[_0x43f1cf(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x29b67f=yaml[_0x43f1cf(0x288)](_0x2d18c1,_0x1608a9);_0x5cfd93[_0x43f1cf(0x1da)](mergeTemplates,_0x8629a5,_0x29b67f),_0x8629a5[_0x43f1cf(0x1ee)][_0x5cfd93[_0x43f1cf(0x228)]]['ParameterGroups'][0x0][_0x43f1cf(0x1db)]['push'](_0x5cfd93['qmMtW']);}}else{if(_0x5cfd93[_0x43f1cf(0x1e4)](_0x5cfd93[_0x43f1cf(0x28e)],_0x5cfd93[_0x43f1cf(0x28c)])){const _0x5326eb=_0x5cfd93['LGZHE'][_0x43f1cf(0x227)]('|');let _0x149bc9=0x0;while(!![]){switch(_0x5326eb[_0x149bc9++]){case'0':_0x5bfe8b[_0x43f1cf(0x266)][_0x43f1cf(0x272)][_0x43f1cf(0x1e7)][_0x43f1cf(0x24c)][_0x43f1cf(0x20e)]({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93['iBbAD'](_0x1feb58,_0x2a6acd)[_0x43f1cf(0x237)](0x2,'0')});continue;case'1':_0x255e30[_0x43f1cf(0x266)][_0x43f1cf(0x1e9)][_0x43f1cf(0x1e7)][_0x43f1cf(0x24c)]['push']({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x28d)](_0x1ebd45,_0x443e6a)[_0x43f1cf(0x237)](0x2,'0')});continue;case'2':_0x58f834[_0x43f1cf(0x1e5)][_0x43f1cf(0x256)][_0x43f1cf(0x25c)][_0x5cfd93[_0x43f1cf(0x280)]][0x1][_0x43f1cf(0x20e)]({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x1fb)](_0x1cd316,_0x42b3af)[_0x43f1cf(0x237)](0x2,'0')});continue;case'3':_0x329c7d['Resources'][_0x43f1cf(0x202)]['Properties']['ResourcesVpcConfig'][_0x43f1cf(0x256)][_0x43f1cf(0x20e)]({'Ref':'Subnet'+_0x5cfd93['iBbAD'](_0x1eab20,_0x1d47a2)['padStart'](0x2,'0')});continue;case'4':_0x35815b+=0x1;continue;case'5':_0x514804[_0x43f1cf(0x1ee)][_0x5cfd93['dGevz']][_0x43f1cf(0x20d)][0x0][_0x43f1cf(0x1db)][_0x43f1cf(0x20e)](_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x28d)](_0x1b9c23,_0x2266f3)[_0x43f1cf(0x237)](0x2,'0'));continue;}break;}}else{const _0x5b0cac=await fs['readFileAsync'](path[_0x43f1cf(0x274)](__dirname,'..',_0x5cfd93['fOzUk'],_0x5cfd93[_0x43f1cf(0x212)]),_0x5cfd93['borso']),_0x33acbc={};_0x33acbc['schema']=CLOUDFORMATION_SCHEMA;const _0x2d42aa=yaml[_0x43f1cf(0x288)](_0x5b0cac,_0x33acbc);_0x5cfd93[_0x43f1cf(0x1da)](mergeTemplates,_0x8629a5,_0x2d42aa),_0x8629a5['Metadata'][_0x5cfd93[_0x43f1cf(0x228)]][_0x43f1cf(0x20d)][0x0]['Parameters']['push'](_0x5cfd93[_0x43f1cf(0x1f9)]);}}},addS3Data=async _0x18feb4=>{const _0x2153c5=a27_0x24eb28,_0x166bb6={'LmhjH':_0x2153c5(0x287),'YGBLp':'s3-create.yaml','SgGmq':'utf-8','tbrqs':function(_0x166691,_0x206daa){return _0x166691(_0x206daa);},'eSORZ':function(_0x2b5be7,_0x70ce79){return _0x2b5be7===_0x70ce79;},'qeJdx':function(_0xa1738c,_0x15646d){return _0xa1738c===_0x15646d;},'fkQbw':'Txcno','tCgQd':function(_0x370919,_0x52083d,_0x1dd989){return _0x370919(_0x52083d,_0x1dd989);}},_0x46a644=await fs['readFileAsync'](path[_0x2153c5(0x274)](__dirname,'..',_0x166bb6[_0x2153c5(0x231)],_0x166bb6[_0x2153c5(0x219)]),_0x166bb6['SgGmq']),_0xa523ad={};_0xa523ad[_0x2153c5(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x477dc0=yaml[_0x2153c5(0x288)](_0x46a644,_0xa523ad),_0x4f097f=await _0x166bb6[_0x2153c5(0x28f)](isBucketPresent,global_registry[_0x2153c5(0x25f)]);_0x166bb6['eSORZ'](_0x4f097f,![])&&(_0x166bb6[_0x2153c5(0x253)](_0x166bb6[_0x2153c5(0x243)],_0x166bb6[_0x2153c5(0x243)])?_0x166bb6[_0x2153c5(0x241)](mergeTemplates,_0x18feb4,_0x477dc0):_0x555d2a[_0x2153c5(0x266)][_0x8d6b6d][_0x2153c5(0x1e7)][_0x2153c5(0x218)]['push'](..._0xfa6677));},addSubnetData=async(_0x5645c9,_0x121830)=>{const _0x26bcab=a27_0x24eb28,_0x4ebb4c={'Agsyv':_0x26bcab(0x1e9),'QTnZL':_0x26bcab(0x272),'WAMCU':function(_0x3581f8,_0x21c128){return _0x3581f8===_0x21c128;},'rfxZm':_0x26bcab(0x1df),'tVhvw':_0x26bcab(0x247),'VMUfK':function(_0x7bfab,_0x531c40){return _0x7bfab(_0x531c40);},'AiYiu':function(_0xfe14a3,_0x250d28){return _0xfe14a3(_0x250d28);},'vQnlT':'Fn::Join','yIUfZ':function(_0xce110b,_0x530399){return _0xce110b(_0x530399);},'OMeCx':_0x26bcab(0x23e),'MhSmX':function(_0x1ceac9,_0x4d2dc6){return _0x1ceac9(_0x4d2dc6);},'vNFPJ':'gchTv','KAxXr':_0x26bcab(0x26e),'GJUVU':_0x26bcab(0x287),'NRAZv':'subnet-import.yaml','LhQwH':'utf-8','kOMVI':function(_0x645cf3,_0x283a76,_0x14475c){return _0x645cf3(_0x283a76,_0x14475c);},'ftfMK':function(_0x391779,_0x43f1e8){return _0x391779!==_0x43f1e8;},'aklzL':_0x26bcab(0x204),'vAcdE':_0x26bcab(0x1eb),'Qnwzx':_0x26bcab(0x226),'LxKkX':_0x26bcab(0x25d),'KOuGv':_0x26bcab(0x28a),'RfJjb':_0x26bcab(0x1e3),'SQFhS':_0x26bcab(0x213),'xTOiw':_0x26bcab(0x289)};if(_0x121830){if(_0x4ebb4c[_0x26bcab(0x1f1)](_0x4ebb4c[_0x26bcab(0x263)],_0x4ebb4c[_0x26bcab(0x278)]))_0x18c9a0['keys'](_0x504b6f)[_0x26bcab(0x22f)](_0x71223b=>{const _0x42b4fb=_0x26bcab;var _0x46bdea=_0x41e8b0[_0x71223b];_0xed2ff3[_0x42b4fb(0x22d)](_0x46bdea)[_0x42b4fb(0x22f)](_0x402c9c=>{_0x5c4660[_0x71223b][_0x402c9c]=_0x46bdea[_0x402c9c];});});else{const _0x57b0ce=await fs[_0x26bcab(0x245)](path['join'](__dirname,'..',_0x4ebb4c[_0x26bcab(0x1e0)],_0x4ebb4c[_0x26bcab(0x265)]),_0x4ebb4c[_0x26bcab(0x1ff)]),_0x6ad1d4={};_0x6ad1d4[_0x26bcab(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x21e5e3=yaml[_0x26bcab(0x288)](_0x57b0ce,_0x6ad1d4);_0x4ebb4c['kOMVI'](mergeTemplates,_0x5645c9,_0x21e5e3);let _0x33f228=0x1;_0x121830[_0x26bcab(0x22f)](_0x2365e9=>{const _0x3bf2f7=_0x26bcab;if(_0x4ebb4c[_0x3bf2f7(0x1f1)](_0x4ebb4c[_0x3bf2f7(0x21d)],_0x4ebb4c[_0x3bf2f7(0x21d)])){const _0x2d18c9=_0x4ebb4c[_0x3bf2f7(0x222)][_0x3bf2f7(0x227)]('|');let _0x57aa76=0x0;while(!![]){switch(_0x2d18c9[_0x57aa76++]){case'0':_0x5645c9[_0x3bf2f7(0x266)][_0x3bf2f7(0x272)][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x24c)][_0x3bf2f7(0x20e)]({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c[_0x3bf2f7(0x27c)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;case'1':_0x5645c9[_0x3bf2f7(0x266)][_0x3bf2f7(0x1e9)]['Properties']['Subnets'][_0x3bf2f7(0x20e)]({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c[_0x3bf2f7(0x273)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;case'2':_0x5645c9[_0x3bf2f7(0x1e5)][_0x3bf2f7(0x256)][_0x3bf2f7(0x25c)][_0x4ebb4c[_0x3bf2f7(0x26d)]][0x1]['push']({'Ref':'Subnet'+_0x4ebb4c[_0x3bf2f7(0x21c)](String,_0x33f228)['padStart'](0x2,'0')});continue;case'3':_0x5645c9[_0x3bf2f7(0x1ee)][_0x4ebb4c['OMeCx']][_0x3bf2f7(0x20d)][0x0][_0x3bf2f7(0x1db)][_0x3bf2f7(0x20e)]('Subnet'+_0x4ebb4c[_0x3bf2f7(0x285)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0'));continue;case'4':_0x33f228+=0x1;continue;case'5':_0x5645c9['Resources']['EKSCluster']['Properties'][_0x3bf2f7(0x217)]['SubnetIds']['push']({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c['MhSmX'](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;}break;}}else{for(const _0x114090 in _0x4844be[_0x3bf2f7(0x266)]){_0x471e4a['Resources'][_0x114090][_0x3bf2f7(0x1e7)]&&_0x2750d4[_0x3bf2f7(0x266)][_0x114090][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]&&_0x335a81[_0x3bf2f7(0x266)][_0x114090][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)][_0x3bf2f7(0x20e)](..._0x4da7ff);}const _0x2fc616={};_0x8b194b[_0x3bf2f7(0x22f)](_0x134ec9=>{const _0x18c554=_0x3bf2f7;_0x2fc616[_0x134ec9[_0x18c554(0x1e6)]]=_0x134ec9['Value'];}),_0x6af182[_0x3bf2f7(0x266)][_0x4ebb4c[_0x3bf2f7(0x22a)]][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]=_0x2fc616,_0x1f2c9a[_0x3bf2f7(0x266)][_0x4ebb4c[_0x3bf2f7(0x22c)]][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]=_0x2fc616;}});}}else{if(_0x4ebb4c['ftfMK'](_0x4ebb4c[_0x26bcab(0x255)],_0x4ebb4c[_0x26bcab(0x255)]))_0x13e1a5[_0x26bcab(0x266)][_0x2a2fa4][_0x26bcab(0x1e7)]&&_0x35a317[_0x26bcab(0x266)][_0x6752f7]['Properties'][_0x26bcab(0x218)]&&_0x16968a['Resources'][_0x445a88][_0x26bcab(0x1e7)][_0x26bcab(0x218)][_0x26bcab(0x20e)](..._0x2ead1e);else{const _0x1dec97=await fs[_0x26bcab(0x245)](path[_0x26bcab(0x274)](__dirname,'..',_0x4ebb4c[_0x26bcab(0x1e0)],_0x4ebb4c[_0x26bcab(0x27a)]),_0x4ebb4c[_0x26bcab(0x1ff)]),_0x41148e={};_0x41148e['schema']=CLOUDFORMATION_SCHEMA;const _0x4ecfea=yaml[_0x26bcab(0x288)](_0x1dec97,_0x41148e);_0x4ebb4c[_0x26bcab(0x282)](mergeTemplates,_0x5645c9,_0x4ecfea),_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x202)][_0x26bcab(0x27b)][_0x26bcab(0x20e)](_0x4ebb4c['Qnwzx'],_0x4ebb4c[_0x26bcab(0x1f7)],_0x4ebb4c[_0x26bcab(0x28b)]);const _0x1f0acc={};_0x1f0acc[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x4e6dea={};_0x4e6dea[_0x26bcab(0x283)]=_0x4ebb4c['LxKkX'];const _0x29ea97={};_0x29ea97[_0x26bcab(0x283)]=_0x4ebb4c['KOuGv'],_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x202)]['Properties']['ResourcesVpcConfig'][_0x26bcab(0x256)]=[_0x1f0acc,_0x4e6dea,_0x29ea97],_0x5645c9[_0x26bcab(0x1ee)][_0x4ebb4c[_0x26bcab(0x20f)]][_0x26bcab(0x20d)][0x0]['Parameters'][_0x26bcab(0x20e)](_0x4ebb4c[_0x26bcab(0x261)],_0x4ebb4c[_0x26bcab(0x26b)],_0x4ebb4c['xTOiw']);const _0x5be59d={};_0x5be59d['Ref']=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x206e61={};_0x206e61[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x1f7)];const _0x535c4e={};_0x535c4e[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x28b)],_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x1e9)][_0x26bcab(0x1e7)][_0x26bcab(0x24c)]=[_0x5be59d,_0x206e61,_0x535c4e];const _0x23981a={};_0x23981a['Ref']=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x49a75e={};_0x49a75e['Ref']=_0x4ebb4c[_0x26bcab(0x1f7)];const _0x48d555={};_0x48d555[_0x26bcab(0x283)]=_0x4ebb4c['KOuGv'],_0x5645c9[_0x26bcab(0x266)]['NodeGroupWindows']['Properties'][_0x26bcab(0x24c)]=[_0x23981a,_0x49a75e,_0x48d555],_0x5645c9[_0x26bcab(0x1e5)][_0x26bcab(0x256)][_0x26bcab(0x25c)][_0x4ebb4c[_0x26bcab(0x26d)]][0x1]=[{'Ref':_0x4ebb4c['Qnwzx']},{'Ref':_0x4ebb4c[_0x26bcab(0x1f7)]},{'Ref':_0x4ebb4c['KOuGv']}];}}},addTags=async(_0x205493,_0x853252,_0x1fa405)=>{const _0x2a1284=a27_0x24eb28,_0x399945={'TWlVK':function(_0x2d7533,_0x19ae69){return _0x2d7533(_0x19ae69);},'ceswf':function(_0x52d98d,_0x10593c){return _0x52d98d===_0x10593c;},'fjQew':_0x2a1284(0x1e2),'UeHcQ':function(_0x15777f,_0x306d91){return _0x15777f!==_0x306d91;},'dnDiv':_0x2a1284(0x284),'eRWgg':_0x2a1284(0x235),'oGPrS':_0x2a1284(0x1e9),'DTVTy':_0x2a1284(0x272)};for(const _0x2d96fe in _0x205493[_0x2a1284(0x266)]){if(_0x399945[_0x2a1284(0x20c)](_0x399945['dnDiv'],_0x399945[_0x2a1284(0x24e)])){let _0x3d2add=0x1;_0x24986c[_0x2a1284(0x22f)](_0x498586=>{const _0x40208f=_0x2a1284;_0x30d2e9[_0x40208f(0x1db)][_0x40208f(0x20e)]({'ParameterKey':_0x40208f(0x1f4)+_0x399945[_0x40208f(0x244)](_0x1da7e4,_0x3d2add)[_0x40208f(0x237)](0x2,'0'),'ParameterValue':_0x498586['value']}),_0x3d2add+=0x1;});}else _0x205493[_0x2a1284(0x266)][_0x2d96fe]['Properties']&&_0x205493[_0x2a1284(0x266)][_0x2d96fe]['Properties'][_0x2a1284(0x218)]&&(_0x399945['ceswf'](_0x399945[_0x2a1284(0x20a)],_0x399945['eRWgg'])?_0x205493[_0x2a1284(0x266)][_0x2d96fe][_0x2a1284(0x1e7)]['Tags'][_0x2a1284(0x20e)](..._0x1fa405):(_0x4769ce[_0x2a1284(0x1db)][_0x2a1284(0x20e)]({'ParameterKey':'Subnet'+_0x399945[_0x2a1284(0x244)](_0x137d14,_0x366567)['padStart'](0x2,'0'),'ParameterValue':_0x22e232[_0x2a1284(0x258)]}),_0x4f5bc0+=0x1));}const _0x14222f={};_0x1fa405['forEach'](_0x1bb06c=>{const _0x2123e2=_0x2a1284;_0x399945[_0x2123e2(0x276)](_0x399945['fjQew'],_0x399945[_0x2123e2(0x270)])?_0x14222f[_0x1bb06c[_0x2123e2(0x1e6)]]=_0x1bb06c[_0x2123e2(0x25c)]:_0x364a77[_0x1f0137[_0x2123e2(0x1e6)]]=_0x4a30ba['Value'];}),_0x205493['Resources'][_0x399945['oGPrS']][_0x2a1284(0x1e7)][_0x2a1284(0x218)]=_0x14222f,_0x205493[_0x2a1284(0x266)][_0x399945[_0x2a1284(0x252)]][_0x2a1284(0x1e7)]['Tags']=_0x14222f;};exports[a27_0x24eb28(0x220)]=async(_0x7dd184,_0x3000a6,_0x3ba613,_0x130e66=null,_0x404cd2=null,_0x36fc9b)=>{const _0x25b55e=a27_0x24eb28,_0x462a10={'ceKuB':function(_0x5461ce,_0x4eff99){return _0x5461ce(_0x4eff99);},'Wouoq':_0x25b55e(0x1f3),'nQeFK':_0x25b55e(0x238),'vkvrx':'2010-05-15','qZvSh':_0x25b55e(0x287),'xQxId':_0x25b55e(0x286),'TjLYV':'utf-8','SeSIg':function(_0x5bcdcd,_0x1766f6,_0x2a0af4){return _0x5bcdcd(_0x1766f6,_0x2a0af4);},'vEbXZ':function(_0x353d7e,_0x5e80d7){return _0x353d7e(_0x5e80d7);},'dXCoi':function(_0x137091,_0x14b022,_0x50842d,_0x1df21a){return _0x137091(_0x14b022,_0x50842d,_0x1df21a);},'pzuNk':_0x25b55e(0x20b),'eeYqP':_0x25b55e(0x1fd),'COBvE':_0x25b55e(0x290),'LqAxw':_0x25b55e(0x27e),'CHryA':_0x25b55e(0x23d),'gBGKR':_0x25b55e(0x1f2),'RNWOb':_0x25b55e(0x1de),'UTYaF':_0x25b55e(0x24b),'FUaIZ':'NodeInstanceType','WiBKr':'S3BucketName','dkYwB':'NodeGroupNameWindows','CiHDI':'ClusterAutoUpgrade','XLviw':'true','TvfWY':_0x25b55e(0x1f6),'BMYkx':_0x25b55e(0x275),'gfZkW':function(_0x522f2e,_0x1539e4){return _0x522f2e!=_0x1539e4;},'EpoUF':function(_0x19c063,_0x369757){return _0x19c063!==_0x369757;},'zCckT':function(_0x248e13,_0x14f60f){return _0x248e13!==_0x14f60f;},'kVdab':'ogwpH','CWWKS':_0x25b55e(0x22b),'OMEcM':'VPC','HSJvt':function(_0x2a7509,_0x26f5d0){return _0x2a7509!=_0x26f5d0;},'BLVGD':_0x25b55e(0x206),'nBqea':_0x25b55e(0x22e)},_0x1e1286=COMMON_HST_TAGS,_0x5c61c1={};_0x5c61c1['Key']=_0x462a10[_0x25b55e(0x1fe)],_0x5c61c1[_0x25b55e(0x25c)]=_0x7dd184,_0x1e1286[_0x25b55e(0x20e)](_0x5c61c1),_0x1e1286[_0x25b55e(0x20e)]({'Key':_0x462a10[_0x25b55e(0x25a)],'Value':new Date()[_0x25b55e(0x23a)]()[_0x25b55e(0x1fa)]()});const _0xecff88={};_0xecff88[_0x25b55e(0x262)]=_0x462a10[_0x25b55e(0x257)];const _0xbc9a7a=new AWS['CloudFormation'](_0xecff88),_0x52209e=await fs[_0x25b55e(0x245)](path[_0x25b55e(0x274)](__dirname,'..',_0x462a10[_0x25b55e(0x264)],_0x462a10[_0x25b55e(0x1ec)]),_0x462a10[_0x25b55e(0x1e1)]),_0x528f65={};_0x528f65[_0x25b55e(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x31f134=yaml[_0x25b55e(0x288)](_0x52209e,_0x528f65);await _0x462a10[_0x25b55e(0x210)](addVPCData,_0x31f134,_0x130e66),await _0x462a10['vEbXZ'](addS3Data,_0x31f134),await _0x462a10[_0x25b55e(0x210)](addSubnetData,_0x31f134,_0x404cd2),await _0x462a10['dXCoi'](addTags,_0x31f134,_0x7dd184,_0x1e1286);const _0xc495af=JSON[_0x25b55e(0x251)](_0x31f134),_0x29bf93={};_0x29bf93[_0x25b55e(0x232)]=CLUSTER_DEP_STACK_NAME+'-'+_0x7dd184,_0x29bf93[_0x25b55e(0x200)]=_0x462a10['pzuNk'],_0x29bf93['TemplateBody']=_0xc495af,_0x29bf93[_0x25b55e(0x1db)]=[{'ParameterKey':_0x462a10[_0x25b55e(0x26c)],'ParameterValue':_0x7dd184},{'ParameterKey':_0x462a10[_0x25b55e(0x271)],'ParameterValue':_0x7dd184+_0x25b55e(0x23f)},{'ParameterKey':_0x462a10[_0x25b55e(0x248)],'ParameterValue':''+_0x3000a6},{'ParameterKey':_0x462a10[_0x25b55e(0x249)],'ParameterValue':'0'},{'ParameterKey':_0x462a10['gBGKR'],'ParameterValue':'1'},{'ParameterKey':_0x462a10['RNWOb'],'ParameterValue':''+_0x3ba613},{'ParameterKey':_0x462a10[_0x25b55e(0x246)],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x462a10['FUaIZ'],'ParameterValue':global_registry[_0x25b55e(0x260)]},{'ParameterKey':_0x462a10['WiBKr'],'ParameterValue':global_registry[_0x25b55e(0x25f)]},{'ParameterKey':_0x462a10[_0x25b55e(0x225)],'ParameterValue':_0x7dd184+_0x25b55e(0x209)},{'ParameterKey':_0x462a10['CiHDI'],'ParameterValue':_0x36fc9b?_0x462a10['XLviw']:_0x462a10[_0x25b55e(0x1ef)]}],_0x29bf93[_0x25b55e(0x279)]=[_0x462a10[_0x25b55e(0x259)]],_0x29bf93[_0x25b55e(0x218)]=_0x1e1286;const _0x224ebe=_0x29bf93;if(_0x462a10['gfZkW'](_0x130e66,null)&&_0x462a10['EpoUF'](_0x130e66,undefined)){if(_0x462a10[_0x25b55e(0x211)](_0x462a10['kVdab'],_0x462a10[_0x25b55e(0x201)])){const _0x4ab0e1={};_0x4ab0e1[_0x25b55e(0x230)]=_0x462a10[_0x25b55e(0x1f0)],_0x4ab0e1[_0x25b55e(0x242)]=_0x130e66,_0x224ebe[_0x25b55e(0x1db)]['push'](_0x4ab0e1);}else _0x10e338[_0x4c85c7][_0x4a04c6]=_0x41ece6[_0xe59633];}if(_0x462a10[_0x25b55e(0x23c)](_0x404cd2,null)&&_0x462a10['EpoUF'](_0x404cd2,undefined)){let _0x56a5df=0x1;_0x404cd2['forEach'](_0x6af0a=>{const _0x5bf2b5=_0x25b55e;_0x224ebe[_0x5bf2b5(0x1db)]['push']({'ParameterKey':_0x5bf2b5(0x1f4)+_0x462a10['ceKuB'](String,_0x56a5df)[_0x5bf2b5(0x237)](0x2,'0'),'ParameterValue':_0x6af0a[_0x5bf2b5(0x258)]}),_0x56a5df+=0x1;});}const _0xee427a=await _0xbc9a7a['createStack'](_0x224ebe)[_0x25b55e(0x221)]();logger[_0x25b55e(0x269)](_0x462a10['BLVGD']);const _0x5997bc={};return _0x5997bc[_0x25b55e(0x232)]=_0xee427a[_0x25b55e(0x21a)],_0xbc9a7a[_0x25b55e(0x1f8)](_0x462a10['nBqea'],_0x5997bc)[_0x25b55e(0x221)]();};
|
|
1
|
+
function a27_0x9d94(_0x336773,_0x1e5459){const _0x241a50=a27_0x241a();return a27_0x9d94=function(_0x9d942b,_0x463088){_0x9d942b=_0x9d942b-0x17c;let _0x8634ad=_0x241a50[_0x9d942b];return _0x8634ad;},a27_0x9d94(_0x336773,_0x1e5459);}const a27_0x50c1b0=a27_0x9d94;(function(_0x305406,_0x34517f){const _0x5ea1ad=a27_0x9d94,_0xac73d2=_0x305406();while(!![]){try{const _0x268947=parseInt(_0x5ea1ad(0x1a1))/0x1*(parseInt(_0x5ea1ad(0x1b7))/0x2)+parseInt(_0x5ea1ad(0x222))/0x3+parseInt(_0x5ea1ad(0x1e2))/0x4+parseInt(_0x5ea1ad(0x1ce))/0x5+-parseInt(_0x5ea1ad(0x1f5))/0x6*(parseInt(_0x5ea1ad(0x21b))/0x7)+parseInt(_0x5ea1ad(0x1b0))/0x8*(-parseInt(_0x5ea1ad(0x18b))/0x9)+parseInt(_0x5ea1ad(0x1d9))/0xa*(-parseInt(_0x5ea1ad(0x189))/0xb);if(_0x268947===_0x34517f)break;else _0xac73d2['push'](_0xac73d2['shift']());}catch(_0x93b449){_0xac73d2['push'](_0xac73d2['shift']());}}}(a27_0x241a,0xdfef2));const fs=require('fs'),path=require(a27_0x50c1b0(0x1f7)),Promise=require(a27_0x50c1b0(0x1b9)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x50c1b0(0x213)),AWS=require(a27_0x50c1b0(0x1d1))['awsObj'],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require('../config/constants'),{logger}=require(a27_0x50c1b0(0x17e)),{isBucketPresent}=require(a27_0x50c1b0(0x1d1));Promise[a27_0x50c1b0(0x207)](fs);const mergeTemplates=(_0x4ab992,_0x2713b6)=>{const _0x31674a=a27_0x50c1b0,_0x42f418={};_0x42f418['oXeNo']=_0x31674a(0x1fc),_0x42f418[_0x31674a(0x214)]=_0x31674a(0x20c),_0x42f418[_0x31674a(0x1b4)]=function(_0x3f5d9f,_0x2a6dee){return _0x3f5d9f!==_0x2a6dee;},_0x42f418[_0x31674a(0x1a9)]=_0x31674a(0x1e4),_0x42f418[_0x31674a(0x20a)]='HXrFq',_0x42f418[_0x31674a(0x1ff)]='flgrF',_0x42f418[_0x31674a(0x225)]=_0x31674a(0x226);const _0x5e00d7=_0x42f418;Object['keys'](_0x2713b6)[_0x31674a(0x1a0)](_0x43f171=>{const _0x361de6=_0x31674a,_0x393676={'BhhDB':_0x5e00d7[_0x361de6(0x1ec)],'aQCMl':_0x5e00d7['unOCG'],'MWuzR':function(_0x593ee5,_0x3db872){return _0x5e00d7['PZOwz'](_0x593ee5,_0x3db872);},'huVsC':_0x5e00d7['WrGUV'],'OAltA':_0x5e00d7[_0x361de6(0x20a)]};if(_0x5e00d7[_0x361de6(0x1b4)](_0x5e00d7[_0x361de6(0x1ff)],_0x5e00d7[_0x361de6(0x225)])){var _0x4ff948=_0x2713b6[_0x43f171];Object[_0x361de6(0x1c5)](_0x4ff948)[_0x361de6(0x1a0)](_0x49ac07=>{const _0x38a597=_0x361de6;if(_0x393676[_0x38a597(0x1a7)](_0x393676['huVsC'],_0x393676['OAltA']))_0x4ab992[_0x43f171][_0x49ac07]=_0x4ff948[_0x49ac07];else{for(const _0x168cb2 in _0xcdfa51[_0x38a597(0x1bc)]){_0x3153c2[_0x38a597(0x1bc)][_0x168cb2][_0x38a597(0x1fa)]&&_0x421577[_0x38a597(0x1bc)][_0x168cb2][_0x38a597(0x1fa)]['Tags']&&_0x67f58b[_0x38a597(0x1bc)][_0x168cb2]['Properties'][_0x38a597(0x1d3)][_0x38a597(0x227)](..._0x9b75af);}const _0x16d556={};_0x4178b4[_0x38a597(0x1a0)](_0x445abb=>{const _0x32cdee=_0x38a597;_0x16d556[_0x445abb[_0x32cdee(0x17c)]]=_0x445abb['Value'];}),_0x310957[_0x38a597(0x1bc)][_0x393676[_0x38a597(0x1cc)]][_0x38a597(0x1fa)][_0x38a597(0x1d3)]=_0x16d556,_0x54f403[_0x38a597(0x1bc)][_0x393676[_0x38a597(0x229)]][_0x38a597(0x1fa)][_0x38a597(0x1d3)]=_0x16d556;}});}else _0x49e842[_0x35e90d[_0x361de6(0x17c)]]=_0x1bf874[_0x361de6(0x1f1)];});},addVPCData=async(_0x256c77,_0x2c05a2)=>{const _0x1f1a6d=a27_0x50c1b0,_0x3cf8ca={'GhGei':function(_0x32774d,_0x31462c){return _0x32774d(_0x31462c);},'FUpgT':_0x1f1a6d(0x1c1),'LZnJQ':function(_0x5700b9,_0x1fe306){return _0x5700b9(_0x1fe306);},'EJIeY':function(_0x161bb3,_0x15e2e3){return _0x161bb3(_0x15e2e3);},'GhssO':_0x1f1a6d(0x1e5),'GVGru':function(_0x2b769b,_0x174cf0){return _0x2b769b(_0x174cf0);},'Nqybw':_0x1f1a6d(0x198),'zglVt':function(_0x4458b3,_0x27c72b){return _0x4458b3!==_0x27c72b;},'WNscZ':'VcHuH','NTjpS':'CFTemplates','VRuIi':_0x1f1a6d(0x1cb),'yycOx':'utf-8','KAfJe':function(_0x1a3a52,_0xa0d3f6,_0x331fbf){return _0x1a3a52(_0xa0d3f6,_0x331fbf);},'bTfHG':_0x1f1a6d(0x1c6),'OmXjl':function(_0x1a4809,_0x41a5){return _0x1a4809===_0x41a5;},'zfNfM':'HBMCb','ukyKi':_0x1f1a6d(0x1c3),'VTnMl':'vpc-create.yaml','vGnLw':'VpcBlock'};if(_0x2c05a2){if(_0x3cf8ca['zglVt'](_0x3cf8ca['WNscZ'],_0x3cf8ca['WNscZ']))_0x413fea['Parameters'][_0x1f1a6d(0x227)]({'ParameterKey':_0x1f1a6d(0x20f)+_0x3cf8ca['GhGei'](_0x1bbf1f,_0xe32b12)[_0x1f1a6d(0x20e)](0x2,'0'),'ParameterValue':_0x13fc7f[_0x1f1a6d(0x1db)]}),_0x53e08b+=0x1;else{const _0x252758=await fs['readFileAsync'](path['join'](__dirname,'..',_0x3cf8ca[_0x1f1a6d(0x21c)],_0x3cf8ca[_0x1f1a6d(0x223)]),_0x3cf8ca[_0x1f1a6d(0x22a)]),_0x5e6699={};_0x5e6699['schema']=CLOUDFORMATION_SCHEMA;const _0x53019b=yaml[_0x1f1a6d(0x1a8)](_0x252758,_0x5e6699);_0x3cf8ca['KAfJe'](mergeTemplates,_0x256c77,_0x53019b),_0x256c77[_0x1f1a6d(0x217)][_0x3cf8ca['Nqybw']][_0x1f1a6d(0x1d0)][0x0][_0x1f1a6d(0x184)][_0x1f1a6d(0x227)](_0x3cf8ca[_0x1f1a6d(0x1ab)]);}}else{if(_0x3cf8ca['OmXjl'](_0x3cf8ca['zfNfM'],_0x3cf8ca[_0x1f1a6d(0x1e9)])){const _0x2580d5=_0x3cf8ca[_0x1f1a6d(0x18f)][_0x1f1a6d(0x22c)]('|');let _0x559323=0x0;while(!![]){switch(_0x2580d5[_0x559323++]){case'0':_0x3aa3bc[_0x1f1a6d(0x1bc)]['NodeGroupWindows'][_0x1f1a6d(0x1fa)][_0x1f1a6d(0x197)][_0x1f1a6d(0x227)]({'Ref':_0x1f1a6d(0x20f)+_0x3cf8ca[_0x1f1a6d(0x21d)](_0x58510e,_0x35868b)[_0x1f1a6d(0x20e)](0x2,'0')});continue;case'1':_0x43767b['Resources']['EKSCluster'][_0x1f1a6d(0x1fa)][_0x1f1a6d(0x1d7)][_0x1f1a6d(0x1ad)][_0x1f1a6d(0x227)]({'Ref':_0x1f1a6d(0x20f)+_0x3cf8ca[_0x1f1a6d(0x1e1)](_0x278c59,_0x483dac)[_0x1f1a6d(0x20e)](0x2,'0')});continue;case'2':_0x39f274[_0x1f1a6d(0x1ef)]['SubnetIds'][_0x1f1a6d(0x1f1)][_0x3cf8ca['GhssO']][0x1][_0x1f1a6d(0x227)]({'Ref':_0x1f1a6d(0x20f)+_0x3cf8ca[_0x1f1a6d(0x1e1)](_0x3059fb,_0x48291b)[_0x1f1a6d(0x20e)](0x2,'0')});continue;case'3':_0x26bd99[_0x1f1a6d(0x1bc)][_0x1f1a6d(0x1fc)][_0x1f1a6d(0x1fa)][_0x1f1a6d(0x197)]['push']({'Ref':_0x1f1a6d(0x20f)+_0x3cf8ca[_0x1f1a6d(0x1c8)](_0x4794d8,_0x2f4456)[_0x1f1a6d(0x20e)](0x2,'0')});continue;case'4':_0x5de392+=0x1;continue;case'5':_0x1704ce[_0x1f1a6d(0x217)][_0x3cf8ca[_0x1f1a6d(0x1c7)]]['ParameterGroups'][0x0][_0x1f1a6d(0x184)][_0x1f1a6d(0x227)](_0x1f1a6d(0x20f)+_0x3cf8ca[_0x1f1a6d(0x212)](_0x511042,_0x494213)[_0x1f1a6d(0x20e)](0x2,'0'));continue;}break;}}else{const _0x30fa49=await fs[_0x1f1a6d(0x200)](path[_0x1f1a6d(0x241)](__dirname,'..',_0x3cf8ca['NTjpS'],_0x3cf8ca[_0x1f1a6d(0x23f)]),_0x3cf8ca[_0x1f1a6d(0x22a)]),_0x571afb={};_0x571afb['schema']=CLOUDFORMATION_SCHEMA;const _0x498ed2=yaml[_0x1f1a6d(0x1a8)](_0x30fa49,_0x571afb);_0x3cf8ca[_0x1f1a6d(0x1b1)](mergeTemplates,_0x256c77,_0x498ed2),_0x256c77[_0x1f1a6d(0x217)][_0x3cf8ca[_0x1f1a6d(0x1c7)]]['ParameterGroups'][0x0]['Parameters'][_0x1f1a6d(0x227)](_0x3cf8ca[_0x1f1a6d(0x224)]);}}},addS3Data=async _0x2af77d=>{const _0x7d6004=a27_0x50c1b0,_0x105766={'WnqfK':_0x7d6004(0x204),'ycYQM':_0x7d6004(0x1a6),'TVhgO':_0x7d6004(0x192),'elLpz':function(_0x1bda28,_0x14ca97){return _0x1bda28(_0x14ca97);},'zCCUS':function(_0x21f41d,_0x980b21){return _0x21f41d===_0x980b21;},'mktdm':function(_0x33c17a,_0x24c815){return _0x33c17a!==_0x24c815;},'mwWrn':_0x7d6004(0x191),'NlEtW':_0x7d6004(0x181),'PuNvu':function(_0x451b51,_0x17af46,_0x1399c3){return _0x451b51(_0x17af46,_0x1399c3);}},_0x3d9f38=await fs[_0x7d6004(0x200)](path['join'](__dirname,'..',_0x105766[_0x7d6004(0x208)],_0x105766[_0x7d6004(0x1b3)]),_0x105766[_0x7d6004(0x1cd)]),_0x5f29f8={};_0x5f29f8[_0x7d6004(0x1c4)]=CLOUDFORMATION_SCHEMA;const _0x358c4c=yaml[_0x7d6004(0x1a8)](_0x3d9f38,_0x5f29f8),_0x1c9b6e=await _0x105766[_0x7d6004(0x218)](isBucketPresent,global_registry['s3Bucket']);_0x105766[_0x7d6004(0x1f4)](_0x1c9b6e,![])&&(_0x105766[_0x7d6004(0x1aa)](_0x105766[_0x7d6004(0x1ea)],_0x105766[_0x7d6004(0x1ca)])?_0x105766[_0x7d6004(0x211)](mergeTemplates,_0x2af77d,_0x358c4c):_0xaede3[_0x202944][_0x3a987b]=_0x187d43[_0x3f8396]);},addSubnetData=async(_0x5edf49,_0x3c3fea)=>{const _0x193415=a27_0x50c1b0,_0x1844e4={'ttyau':function(_0x1e6979,_0x42068c,_0x4e1894){return _0x1e6979(_0x42068c,_0x4e1894);},'iaEiD':function(_0x9d316f,_0x3c3c84){return _0x9d316f===_0x3c3c84;},'GXgUn':_0x193415(0x1bf),'wJDnR':_0x193415(0x188),'NErRB':_0x193415(0x1fb),'fvTVa':function(_0x49fe44,_0x4e8cf5){return _0x49fe44(_0x4e8cf5);},'nmmKF':_0x193415(0x198),'aDUSA':_0x193415(0x1e5),'WlwkA':function(_0x4c4654,_0xc7791c){return _0x4c4654(_0xc7791c);},'fXZdF':function(_0x1ce565,_0x2781bf){return _0x1ce565!==_0x2781bf;},'hsRvp':_0x193415(0x23d),'CZaGX':_0x193415(0x194),'dQukZ':'CFTemplates','wczSJ':_0x193415(0x206),'wIDMu':_0x193415(0x192),'sYVRc':function(_0x35205e,_0x51e8b3,_0x10ee08){return _0x35205e(_0x51e8b3,_0x10ee08);},'ySGJF':function(_0x1dc8dc,_0xee09c3){return _0x1dc8dc!==_0xee09c3;},'DZYvM':'qvtPJ','eQXgZ':_0x193415(0x1eb),'luUhF':_0x193415(0x237),'wZtEr':function(_0x22d14c,_0x2c04b4,_0x218fc8){return _0x22d14c(_0x2c04b4,_0x218fc8);},'ibhil':'Subnet01','ZyVpR':_0x193415(0x1af),'dmeQS':_0x193415(0x199),'VyviS':_0x193415(0x238),'mFirU':_0x193415(0x1e3),'jonLr':_0x193415(0x215)};if(_0x3c3fea){if(_0x1844e4[_0x193415(0x180)](_0x1844e4[_0x193415(0x1b5)],_0x1844e4['CZaGX'])){const _0x4575e8=await fs['readFileAsync'](path[_0x193415(0x241)](__dirname,'..',_0x1844e4[_0x193415(0x19c)],_0x1844e4[_0x193415(0x1da)]),_0x1844e4['wIDMu']),_0x2b2938={};_0x2b2938['schema']=CLOUDFORMATION_SCHEMA;const _0x104d2e=yaml[_0x193415(0x1a8)](_0x4575e8,_0x2b2938);_0x1844e4['sYVRc'](mergeTemplates,_0x5edf49,_0x104d2e);let _0x4bbb8e=0x1;_0x3c3fea[_0x193415(0x1a0)](_0xab8dfb=>{const _0x3294b0=_0x193415;if(_0x1844e4['iaEiD'](_0x1844e4[_0x3294b0(0x1c0)],_0x1844e4[_0x3294b0(0x1a3)]))_0x1844e4[_0x3294b0(0x1a5)](_0x1b2a76,_0x2e3240,_0x3c934f);else{const _0x5c4b7f=_0x1844e4[_0x3294b0(0x1bd)][_0x3294b0(0x22c)]('|');let _0x4dad41=0x0;while(!![]){switch(_0x5c4b7f[_0x4dad41++]){case'0':_0x5edf49[_0x3294b0(0x1bc)]['NodeGroupWindows']['Properties']['Subnets']['push']({'Ref':_0x3294b0(0x20f)+_0x1844e4[_0x3294b0(0x235)](String,_0x4bbb8e)[_0x3294b0(0x20e)](0x2,'0')});continue;case'1':_0x5edf49[_0x3294b0(0x1bc)]['NodeGroup'][_0x3294b0(0x1fa)][_0x3294b0(0x197)][_0x3294b0(0x227)]({'Ref':'Subnet'+_0x1844e4[_0x3294b0(0x235)](String,_0x4bbb8e)[_0x3294b0(0x20e)](0x2,'0')});continue;case'2':_0x5edf49[_0x3294b0(0x217)][_0x1844e4['nmmKF']][_0x3294b0(0x1d0)][0x0][_0x3294b0(0x184)][_0x3294b0(0x227)](_0x3294b0(0x20f)+_0x1844e4[_0x3294b0(0x235)](String,_0x4bbb8e)['padStart'](0x2,'0'));continue;case'3':_0x5edf49[_0x3294b0(0x1ef)][_0x3294b0(0x1ad)][_0x3294b0(0x1f1)][_0x1844e4[_0x3294b0(0x22e)]][0x1][_0x3294b0(0x227)]({'Ref':_0x3294b0(0x20f)+_0x1844e4['WlwkA'](String,_0x4bbb8e)[_0x3294b0(0x20e)](0x2,'0')});continue;case'4':_0x5edf49['Resources']['EKSCluster'][_0x3294b0(0x1fa)][_0x3294b0(0x1d7)]['SubnetIds'][_0x3294b0(0x227)]({'Ref':_0x3294b0(0x20f)+_0x1844e4[_0x3294b0(0x228)](String,_0x4bbb8e)[_0x3294b0(0x20e)](0x2,'0')});continue;case'5':_0x4bbb8e+=0x1;continue;}break;}}});}else _0x1d51cc['Resources'][_0x6c2264][_0x193415(0x1fa)]&&_0x344000[_0x193415(0x1bc)][_0x33adc5]['Properties'][_0x193415(0x1d3)]&&_0x25120f[_0x193415(0x1bc)][_0x38bec7]['Properties'][_0x193415(0x1d3)][_0x193415(0x227)](..._0x4858ff);}else{if(_0x1844e4[_0x193415(0x23b)](_0x1844e4['DZYvM'],_0x1844e4['eQXgZ'])){const _0x27cbc0=await fs[_0x193415(0x200)](path[_0x193415(0x241)](__dirname,'..',_0x1844e4[_0x193415(0x19c)],_0x1844e4[_0x193415(0x1e8)]),_0x1844e4[_0x193415(0x216)]),_0x3eafcf={};_0x3eafcf[_0x193415(0x1c4)]=CLOUDFORMATION_SCHEMA;const _0x4beee1=yaml['load'](_0x27cbc0,_0x3eafcf);_0x1844e4[_0x193415(0x21e)](mergeTemplates,_0x5edf49,_0x4beee1),_0x5edf49[_0x193415(0x1bc)][_0x193415(0x1dc)][_0x193415(0x1d5)][_0x193415(0x227)](_0x1844e4[_0x193415(0x18d)],_0x1844e4['ZyVpR'],_0x1844e4[_0x193415(0x22d)]);const _0x2a17de={};_0x2a17de[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x18d)];const _0x429d89={};_0x429d89[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x1d8)];const _0x4e2967={};_0x4e2967[_0x193415(0x1e6)]=_0x1844e4['dmeQS'],_0x5edf49['Resources']['EKSCluster'][_0x193415(0x1fa)][_0x193415(0x1d7)][_0x193415(0x1ad)]=[_0x2a17de,_0x429d89,_0x4e2967],_0x5edf49['Metadata'][_0x1844e4['nmmKF']][_0x193415(0x1d0)][0x0][_0x193415(0x184)][_0x193415(0x227)](_0x1844e4[_0x193415(0x1c2)],_0x1844e4[_0x193415(0x1de)],_0x1844e4[_0x193415(0x1cf)]);const _0x1711c5={};_0x1711c5[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x18d)];const _0x91a6cc={};_0x91a6cc['Ref']=_0x1844e4[_0x193415(0x1d8)];const _0x52b352={};_0x52b352[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x22d)],_0x5edf49[_0x193415(0x1bc)][_0x193415(0x1fc)][_0x193415(0x1fa)][_0x193415(0x197)]=[_0x1711c5,_0x91a6cc,_0x52b352];const _0x19a60d={};_0x19a60d[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x18d)];const _0x258492={};_0x258492[_0x193415(0x1e6)]=_0x1844e4[_0x193415(0x1d8)];const _0x4cbb8c={};_0x4cbb8c['Ref']=_0x1844e4[_0x193415(0x22d)],_0x5edf49[_0x193415(0x1bc)][_0x193415(0x20c)][_0x193415(0x1fa)][_0x193415(0x197)]=[_0x19a60d,_0x258492,_0x4cbb8c],_0x5edf49['Outputs'][_0x193415(0x1ad)][_0x193415(0x1f1)][_0x1844e4[_0x193415(0x22e)]][0x1]=[{'Ref':_0x1844e4['ibhil']},{'Ref':_0x1844e4['ZyVpR']},{'Ref':_0x1844e4[_0x193415(0x22d)]}];}else _0x2f17d1[_0x193415(0x1bc)][_0x5c1633]['Properties'][_0x193415(0x1d3)][_0x193415(0x227)](..._0x39ba9b);}},addTags=async(_0x34491d,_0x1347ba,_0x402a4a)=>{const _0xa3876c=a27_0x50c1b0,_0x18a4c0={'ZxNrR':function(_0x5d5bd4,_0x47a127){return _0x5d5bd4(_0x47a127);},'wzgGH':function(_0xfdbacc,_0x1cf0f8){return _0xfdbacc!==_0x1cf0f8;},'gsPAo':_0xa3876c(0x1f2),'mxKPG':_0xa3876c(0x20b),'olERm':function(_0x54d8d5,_0xaf9ee3){return _0x54d8d5===_0xaf9ee3;},'xyddy':'YCJwL','JZtkh':_0xa3876c(0x239),'VXZkg':function(_0x51bec4,_0x5231d4){return _0x51bec4===_0x5231d4;},'hhPpN':_0xa3876c(0x18a),'zBElH':_0xa3876c(0x1fc),'eJQtu':_0xa3876c(0x20c)};for(const _0x220ff4 in _0x34491d[_0xa3876c(0x1bc)]){if(_0x18a4c0[_0xa3876c(0x210)](_0x18a4c0[_0xa3876c(0x1fd)],_0x18a4c0[_0xa3876c(0x1f6)])){let _0x36627b=0x1;_0x1a1b10['forEach'](_0x2bd3a9=>{const _0x2b7a93=_0xa3876c;_0x4955dc[_0x2b7a93(0x184)]['push']({'ParameterKey':_0x2b7a93(0x20f)+_0x18a4c0[_0x2b7a93(0x220)](_0x5b5964,_0x36627b)['padStart'](0x2,'0'),'ParameterValue':_0x2bd3a9['value']}),_0x36627b+=0x1;});}else _0x34491d[_0xa3876c(0x1bc)][_0x220ff4][_0xa3876c(0x1fa)]&&_0x34491d['Resources'][_0x220ff4][_0xa3876c(0x1fa)]['Tags']&&(_0x18a4c0[_0xa3876c(0x1b6)](_0x18a4c0[_0xa3876c(0x1f9)],_0x18a4c0[_0xa3876c(0x1f9)])?_0x34491d[_0xa3876c(0x1bc)][_0x220ff4][_0xa3876c(0x1fa)]['Tags'][_0xa3876c(0x227)](..._0x402a4a):_0x458ca4[_0xa3876c(0x1c5)](_0x186db2)['forEach'](_0x183361=>{const _0x9b6fd0=_0xa3876c;var _0x50a1d1=_0x1432d6[_0x183361];_0x1c1fd9[_0x9b6fd0(0x1c5)](_0x50a1d1)['forEach'](_0x19372a=>{_0x5ad80f[_0x183361][_0x19372a]=_0x50a1d1[_0x19372a];});}));}const _0x3049a3={};_0x402a4a[_0xa3876c(0x1a0)](_0x2d5641=>{const _0x1b530a=_0xa3876c;if(_0x18a4c0[_0x1b530a(0x19d)](_0x18a4c0[_0x1b530a(0x185)],_0x18a4c0[_0x1b530a(0x23c)]))_0x3049a3[_0x2d5641[_0x1b530a(0x17c)]]=_0x2d5641[_0x1b530a(0x1f1)];else{var _0x4888c0=_0x35c57d[_0x1bb27d];_0x371282['keys'](_0x4888c0)[_0x1b530a(0x1a0)](_0x55e765=>{_0x218536[_0x4e0c2d][_0x55e765]=_0x4888c0[_0x55e765];});}}),_0x34491d[_0xa3876c(0x1bc)][_0x18a4c0[_0xa3876c(0x195)]][_0xa3876c(0x1fa)][_0xa3876c(0x1d3)]=_0x3049a3,_0x34491d[_0xa3876c(0x1bc)][_0x18a4c0[_0xa3876c(0x19a)]]['Properties'][_0xa3876c(0x1d3)]=_0x3049a3;};exports[a27_0x50c1b0(0x17f)]=async(_0x11ac11,_0x4d7d0b,_0x3cf371,_0x3eb89c=null,_0x5db374=null,_0x407869)=>{const _0x1c0aed=a27_0x50c1b0,_0x5745a5={'dGNmK':'VPC','UxlQb':function(_0x5cc426,_0x3c2f37){return _0x5cc426(_0x3c2f37);},'VLJvM':_0x1c0aed(0x1b8),'uZkZO':_0x1c0aed(0x21f),'JfLMJ':_0x1c0aed(0x1bb),'mennJ':'CFTemplates','PXSJM':'aws-eks-cluster-dep.yaml','mIBnz':_0x1c0aed(0x192),'BRYQX':function(_0x5c3f8a,_0x3abf27,_0x508967){return _0x5c3f8a(_0x3abf27,_0x508967);},'daYir':function(_0x4dfc90,_0x3794f3,_0x11683b,_0x11ea5b){return _0x4dfc90(_0x3794f3,_0x11683b,_0x11ea5b);},'IAGjO':'DELETE','clzoB':'ClusterName','XhbFu':_0x1c0aed(0x186),'DTaZj':'NodeAutoScalingGroupMinSize','EaOaC':'NodeAutoScalingGroupMinSizeWindows','ZasBm':_0x1c0aed(0x196),'CZmed':_0x1c0aed(0x1a2),'nCcNV':_0x1c0aed(0x23e),'XHKOO':_0x1c0aed(0x233),'ygOVs':_0x1c0aed(0x21a),'xKXwV':'NodeGroupNameWindows','SdLVc':_0x1c0aed(0x1b2),'UjXuF':'true','PCTdL':_0x1c0aed(0x1ee),'MtmEF':_0x1c0aed(0x1dd),'OinDa':function(_0x47d1f4,_0x1192cd){return _0x47d1f4!=_0x1192cd;},'NdFqM':function(_0x4b26ad,_0x516522){return _0x4b26ad!==_0x516522;},'wNYZC':function(_0x23895b,_0x1c516b){return _0x23895b===_0x1c516b;},'dVjbJ':'dFaVa','KyJze':'bXSzt','XuKTu':function(_0x4e5a87,_0x4ebbc3){return _0x4e5a87!==_0x4ebbc3;},'CwEyE':_0x1c0aed(0x1e7),'RzvmU':_0x1c0aed(0x209)},_0x27cc7f=COMMON_HST_TAGS,_0x2cbb8c={};_0x2cbb8c[_0x1c0aed(0x17c)]=_0x5745a5['VLJvM'],_0x2cbb8c['Value']=_0x11ac11,_0x27cc7f[_0x1c0aed(0x227)](_0x2cbb8c),_0x27cc7f['push']({'Key':_0x5745a5[_0x1c0aed(0x1e0)],'Value':new Date()[_0x1c0aed(0x236)]()[_0x1c0aed(0x201)]()});const _0x351852={};_0x351852[_0x1c0aed(0x232)]=_0x5745a5[_0x1c0aed(0x1ae)];const _0x1cebe4=new AWS[(_0x1c0aed(0x1fe))](_0x351852),_0x10a478=await fs['readFileAsync'](path['join'](__dirname,'..',_0x5745a5[_0x1c0aed(0x23a)],_0x5745a5[_0x1c0aed(0x240)]),_0x5745a5['mIBnz']),_0x520865={};_0x520865[_0x1c0aed(0x1c4)]=CLOUDFORMATION_SCHEMA;const _0x49cd30=yaml[_0x1c0aed(0x1a8)](_0x10a478,_0x520865);await _0x5745a5[_0x1c0aed(0x203)](addVPCData,_0x49cd30,_0x3eb89c),await _0x5745a5[_0x1c0aed(0x19f)](addS3Data,_0x49cd30),await _0x5745a5[_0x1c0aed(0x203)](addSubnetData,_0x49cd30,_0x5db374),await _0x5745a5[_0x1c0aed(0x1f3)](addTags,_0x49cd30,_0x11ac11,_0x27cc7f);const _0x3299cf=JSON[_0x1c0aed(0x17d)](_0x49cd30),_0x24eef9={};_0x24eef9[_0x1c0aed(0x193)]=CLUSTER_DEP_STACK_NAME+'-'+_0x11ac11,_0x24eef9[_0x1c0aed(0x202)]=_0x5745a5[_0x1c0aed(0x234)],_0x24eef9[_0x1c0aed(0x1ac)]=_0x3299cf,_0x24eef9[_0x1c0aed(0x184)]=[{'ParameterKey':_0x5745a5[_0x1c0aed(0x183)],'ParameterValue':_0x11ac11},{'ParameterKey':_0x5745a5[_0x1c0aed(0x1c9)],'ParameterValue':_0x11ac11+'-NodeGroup'},{'ParameterKey':_0x5745a5[_0x1c0aed(0x18e)],'ParameterValue':''+_0x4d7d0b},{'ParameterKey':_0x5745a5[_0x1c0aed(0x20d)],'ParameterValue':'0'},{'ParameterKey':_0x5745a5[_0x1c0aed(0x1df)],'ParameterValue':'1'},{'ParameterKey':_0x5745a5[_0x1c0aed(0x1f0)],'ParameterValue':''+_0x3cf371},{'ParameterKey':_0x5745a5['nCcNV'],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x5745a5['XHKOO'],'ParameterValue':global_registry[_0x1c0aed(0x1d4)]},{'ParameterKey':_0x5745a5['ygOVs'],'ParameterValue':global_registry[_0x1c0aed(0x230)]},{'ParameterKey':_0x5745a5[_0x1c0aed(0x219)],'ParameterValue':_0x11ac11+_0x1c0aed(0x1f8)},{'ParameterKey':_0x5745a5['SdLVc'],'ParameterValue':_0x407869?_0x5745a5[_0x1c0aed(0x221)]:_0x5745a5[_0x1c0aed(0x22b)]}],_0x24eef9[_0x1c0aed(0x205)]=[_0x5745a5[_0x1c0aed(0x182)]],_0x24eef9[_0x1c0aed(0x1d3)]=_0x27cc7f;const _0x5ee0fb=_0x24eef9;if(_0x5745a5[_0x1c0aed(0x19b)](_0x3eb89c,null)&&_0x5745a5[_0x1c0aed(0x1a4)](_0x3eb89c,undefined)){if(_0x5745a5[_0x1c0aed(0x231)](_0x5745a5[_0x1c0aed(0x22f)],_0x5745a5['KyJze'])){const _0x35f569={};_0x35f569[_0x1c0aed(0x1d6)]=_0x5745a5['dGNmK'],_0x35f569['ParameterValue']=_0x3f3e8c,_0x259d0b[_0x1c0aed(0x184)][_0x1c0aed(0x227)](_0x35f569);}else{const _0x378abb={};_0x378abb[_0x1c0aed(0x1d6)]=_0x5745a5[_0x1c0aed(0x1d2)],_0x378abb[_0x1c0aed(0x190)]=_0x3eb89c,_0x5ee0fb[_0x1c0aed(0x184)]['push'](_0x378abb);}}if(_0x5745a5['OinDa'](_0x5db374,null)&&_0x5745a5[_0x1c0aed(0x18c)](_0x5db374,undefined)){let _0x24e35a=0x1;_0x5db374[_0x1c0aed(0x1a0)](_0x2f6129=>{const _0x3f869f=_0x1c0aed;_0x5ee0fb['Parameters']['push']({'ParameterKey':_0x3f869f(0x20f)+_0x5745a5[_0x3f869f(0x19f)](String,_0x24e35a)[_0x3f869f(0x20e)](0x2,'0'),'ParameterValue':_0x2f6129[_0x3f869f(0x1db)]}),_0x24e35a+=0x1;});}const _0x460d5f=await _0x1cebe4['createStack'](_0x5ee0fb)['promise']();logger[_0x1c0aed(0x1be)](_0x5745a5[_0x1c0aed(0x1ed)]);const _0x2eba87={};return _0x2eba87['StackName']=_0x460d5f[_0x1c0aed(0x1ba)],_0x1cebe4['waitFor'](_0x5745a5[_0x1c0aed(0x19e)],_0x2eba87)[_0x1c0aed(0x187)]();};function a27_0x241a(){const _0x598d42=['Capabilities','subnet-import.yaml','promisifyAll','WnqfK','stackCreateComplete','AHvjF','SpHum','NodeGroupWindows','EaOaC','padStart','Subnet','olERm','PuNvu','GhGei','js-yaml-cloudformation-schema','unOCG','Subnet03Block','wIDMu','Metadata','elLpz','xKXwV','S3BucketName','14aBtnxb','NTjpS','LZnJQ','wZtEr','browserstack:creationDate','ZxNrR','UjXuF','4091247wjhqGp','VRuIi','vGnLw','XICYO','qTvwy','push','WlwkA','aQCMl','yycOx','PCTdL','split','dmeQS','aDUSA','dVjbJ','s3Bucket','wNYZC','apiVersion','NodeInstanceType','IAGjO','fvTVa','valueOf','subnet-create.yaml','Subnet01Block','tdXop','mennJ','ySGJF','mxKPG','Bkgqk','NodeImageId','VTnMl','PXSJM','join','Key','stringify','../config/logger','createClusterStack','fXZdF','byOZc','MtmEF','clzoB','Parameters','gsPAo','NodeGroupName','promise','ksrph','11kLxTIV','jVECS','1845mJyUvB','XuKTu','ibhil','DTaZj','FUpgT','ParameterValue','YXGTX','utf-8','StackName','lpxHe','zBElH','NodeAutoScalingGroupDesiredSizeWindows','Subnets','AWS::CloudFormation::Interface','Subnet03','eJQtu','OinDa','dQukZ','wzgGH','RzvmU','UxlQb','forEach','561898mcIWhg','NodeAutoScalingGroupMaxSize','wJDnR','NdFqM','ttyau','s3-create.yaml','MWuzR','load','WrGUV','mktdm','bTfHG','TemplateBody','SubnetIds','JfLMJ','Subnet02','42672cvqSzF','KAfJe','ClusterAutoUpgrade','ycYQM','PZOwz','hsRvp','VXZkg','4QAfZbB','browserstack:cluster','bluebird','StackId','2010-05-15','Resources','NErRB','debug','hbFdm','GXgUn','1|5|3|0|2|4','VyviS','uXyTh','schema','keys','VPC','Nqybw','GVGru','XhbFu','NlEtW','vpc-import.yaml','BhhDB','TVhgO','3463245SgisOn','jonLr','ParameterGroups','./AWSUtils','dGNmK','Tags','instanceType','DependsOn','ParameterKey','ResourcesVpcConfig','ZyVpR','12450160KcFcYg','wczSJ','value','EKSCluster','CAPABILITY_NAMED_IAM','mFirU','ZasBm','uZkZO','EJIeY','5607984lJWjra','Subnet02Block','aDyUV','Fn::Join','Ref','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','luUhF','ukyKi','mwWrn','YDIpX','oXeNo','CwEyE','false','Outputs','CZmed','Value','LXPZk','daYir','zCCUS','3979410ySwNHv','JZtkh','path','-Windows-NodeGroup','hhPpN','Properties','4|2|1|0|3|5','NodeGroup','xyddy','CloudFormation','FuEZc','readFileAsync','toString','OnFailure','BRYQX','CFTemplates'];a27_0x241a=function(){return _0x598d42;};return a27_0x241a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a28_0x3973(_0x3574ba,_0x4de2c2){const _0x10424a=a28_0x1042();return a28_0x3973=function(_0x39736f,_0x3304f4){_0x39736f=_0x39736f-0x8e;let _0x323b8a=_0x10424a[_0x39736f];return _0x323b8a;},a28_0x3973(_0x3574ba,_0x4de2c2);}const a28_0x2784f5=a28_0x3973;(function(_0x198329,_0x44ff61){const _0x4668d3=a28_0x3973,_0x4a7b0c=_0x198329();while(!![]){try{const _0x1f4729=parseInt(_0x4668d3(0xbb))/0x1*(-parseInt(_0x4668d3(0xcb))/0x2)+parseInt(_0x4668d3(0xab))/0x3*(parseInt(_0x4668d3(0xb6))/0x4)+parseInt(_0x4668d3(0xa9))/0x5*(-parseInt(_0x4668d3(0xbc))/0x6)+-parseInt(_0x4668d3(0xcc))/0x7*(-parseInt(_0x4668d3(0x8f))/0x8)+parseInt(_0x4668d3(0xbd))/0x9*(-parseInt(_0x4668d3(0xc1))/0xa)+-parseInt(_0x4668d3(0xca))/0xb*(parseInt(_0x4668d3(0xb2))/0xc)+parseInt(_0x4668d3(0x9e))/0xd;if(_0x1f4729===_0x44ff61)break;else _0x4a7b0c['push'](_0x4a7b0c['shift']());}catch(_0x5d18da){_0x4a7b0c['push'](_0x4a7b0c['shift']());}}}(a28_0x1042,0x25563));const fs=require('fs'),path=require(a28_0x2784f5(0xc3)),Promise=require(a28_0x2784f5(0x92)),yaml=require(a28_0x2784f5(0x9c)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),AWS=require('./AWSUtils')[a28_0x2784f5(0xbe)],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x2784f5(0xb0)),{logger}=require(a28_0x2784f5(0xa2));Promise[a28_0x2784f5(0xc0)](fs);const addTags=async(_0x2805bd,_0x3be203)=>{const _0x4242fa=a28_0x2784f5;for(const _0xa8f52 in _0x2805bd[_0x4242fa(0xad)]){_0x2805bd['Resources'][_0xa8f52]['Properties']&&_0x2805bd[_0x4242fa(0xad)][_0xa8f52]['Properties'][_0x4242fa(0x96)]&&_0x2805bd['Resources'][_0xa8f52][_0x4242fa(0x94)][_0x4242fa(0x96)][_0x4242fa(0xc4)](..._0x3be203);}};exports[a28_0x2784f5(0xbf)]=async(_0x5b1627,_0x3f5b4f=null)=>{const _0x4ee05c=a28_0x2784f5,_0x279c11={'gKupU':_0x4ee05c(0xb7),'AbKCJ':_0x4ee05c(0xc8),'zMqAF':_0x4ee05c(0x91),'jfRwU':_0x4ee05c(0xac),'sfOAm':_0x4ee05c(0x8e),'rLtbo':_0x4ee05c(0xa6),'jRIwT':function(_0x4c0d50,_0x16fa17,_0x8cfa11){return _0x4c0d50(_0x16fa17,_0x8cfa11);},'ZQGcr':_0x4ee05c(0x9f),'RNgeD':'DELETE','kqyXh':_0x4ee05c(0x9b),'DkGHY':_0x4ee05c(0xa3),'QvkgA':_0x4ee05c(0xaf),'aqbeG':_0x4ee05c(0x90),'lqaUR':_0x4ee05c(0xb5),'PwmeI':_0x4ee05c(0xb9)},_0x3fa084=COMMON_HST_TAGS,_0x51fac6={};_0x51fac6[_0x4ee05c(0x98)]=_0x279c11[_0x4ee05c(0x97)],_0x51fac6['Value']=_0x5b1627,_0x3fa084[_0x4ee05c(0xc4)](_0x51fac6),_0x3fa084['push']({'Key':_0x279c11[_0x4ee05c(0xa8)],'Value':new Date()['valueOf']()[_0x4ee05c(0xba)]()});const _0x38f364={};_0x38f364[_0x4ee05c(0xa5)]=_0x279c11['zMqAF'];const _0xedee5a=new AWS[(_0x4ee05c(0x95))](_0x38f364),_0x4fee0e=await fs[_0x4ee05c(0xa1)](path[_0x4ee05c(0xa0)](__dirname,'..',_0x279c11[_0x4ee05c(0xa7)],_0x279c11[_0x4ee05c(0x9d)]),_0x279c11[_0x4ee05c(0x93)]),_0x427607={};_0x427607[_0x4ee05c(0xa4)]=CLOUDFORMATION_SCHEMA;const _0x50cca7=yaml['load'](_0x4fee0e,_0x427607);await _0x279c11[_0x4ee05c(0xb3)](addTags,_0x50cca7,_0x3fa084);const _0x4bae76=JSON['stringify'](_0x50cca7);let _0x42a38c=await AWSUtils[_0x4ee05c(0x99)](_0x5b1627);_0x42a38c=_0x42a38c[_0x4ee05c(0xc5)](_0x279c11['ZQGcr'])[0x1];const _0x54465b={};_0x54465b[_0x4ee05c(0xc7)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x5b1627+_0x4ee05c(0xc6),_0x54465b[_0x4ee05c(0x9a)]=_0x279c11[_0x4ee05c(0xc2)],_0x54465b['TemplateBody']=_0x4bae76,_0x54465b['Parameters']=[{'ParameterKey':_0x279c11['kqyXh'],'ParameterValue':_0x3f5b4f},{'ParameterKey':_0x279c11[_0x4ee05c(0xaa)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x5b1627},{'ParameterKey':_0x279c11[_0x4ee05c(0xb4)],'ParameterValue':_0x42a38c}],_0x54465b[_0x4ee05c(0xcd)]=[_0x279c11[_0x4ee05c(0xae)]],_0x54465b[_0x4ee05c(0x96)]=_0x3fa084;const _0x1d3fe9=_0x54465b,_0x364da9=await _0xedee5a[_0x4ee05c(0xc9)](_0x1d3fe9)[_0x4ee05c(0xb1)]();logger['info'](_0x279c11[_0x4ee05c(0xb8)]);const _0x528349={};return _0x528349[_0x4ee05c(0xc7)]=_0x364da9['StackId'],_0xedee5a['waitFor'](_0x279c11['PwmeI'],_0x528349)[_0x4ee05c(0xb1)]();};function a28_0x1042(){const _0x15e00b=['sfOAm','10150153mdNspm','://','join','readFileAsync','../config/logger','BaseResourceName','schema','apiVersion','utf-8','jfRwU','AbKCJ','5nzLsKt','DkGHY','88629lfdROl','CFTemplates','Resources','aqbeG','ClusterOIDCURL','../config/constants','promise','3033228SbmFpA','jRIwT','QvkgA','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','8yfGcia','browserstack:cluster','lqaUR','stackCreateComplete','toString','1VWZQzE','1388598MGepgF','203913GRSuwv','awsObj','createHubHaStack','promisifyAll','130adeeYp','RNgeD','path','push','split','-cf','StackName','browserstack:creationDate','createStack','11tPURiD','268522wcnFDG','84nHkIkC','Capabilities','hub-ha.yaml','150712rWOgLj','CAPABILITY_NAMED_IAM','2010-05-15','bluebird','rLtbo','Properties','CloudFormation','Tags','gKupU','Key','getOidcUrl','OnFailure','VpcId','js-yaml'];a28_0x1042=function(){return _0x15e00b;};return a28_0x1042();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a29_0x57a2(_0x564a95,_0x4a37c3){const _0x2cb5c4=a29_0x2cb5();return a29_0x57a2=function(_0x57a226,_0x5f037c){_0x57a226=_0x57a226-0x1ec;let _0x3c03d7=_0x2cb5c4[_0x57a226];return _0x3c03d7;},a29_0x57a2(_0x564a95,_0x4a37c3);}const a29_0x380474=a29_0x57a2;(function(_0x36b0a3,_0x55a5f5){const _0x238809=a29_0x57a2,_0x454a89=_0x36b0a3();while(!![]){try{const _0x13c890=parseInt(_0x238809(0x200))/0x1*(parseInt(_0x238809(0x1ee))/0x2)+parseInt(_0x238809(0x1fa))/0x3+-parseInt(_0x238809(0x204))/0x4*(-parseInt(_0x238809(0x1f8))/0x5)+parseInt(_0x238809(0x205))/0x6*(-parseInt(_0x238809(0x1fe))/0x7)+parseInt(_0x238809(0x1f7))/0x8+-parseInt(_0x238809(0x206))/0x9*(parseInt(_0x238809(0x1fc))/0xa)+parseInt(_0x238809(0x1f5))/0xb;if(_0x13c890===_0x55a5f5)break;else _0x454a89['push'](_0x454a89['shift']());}catch(_0x32ba2d){_0x454a89['push'](_0x454a89['shift']());}}}(a29_0x2cb5,0x7f8ff));function a29_0x2cb5(){const _0x2807c7=['3915121ObYxKs','load','224759aoreyq','CoreV1Api','insecure-skip-tls-verify','KubeConfig','4ptEuXc','6FmHaWe','666QJXTEA','NetworkingV1Api','createK8sClient','loadFromString','cluster','./utilityMethods','2LNxZMe','StorageV1Api','existsSync','promisifyAll','mkdirSync','NYLlf','vewzQ','15456584jMVUZM','KgCAM','97712NGrcoe','1215035UagGrr','makeApiClient','344820dbPiqG','dump','124090zUekWi','ApiregistrationV1Api'];a29_0x2cb5=function(){return _0x2807c7;};return a29_0x2cb5();}const fs=require('fs'),yaml=require('js-yaml'),Promise=require('bluebird'),{getDirForConfig}=require(a29_0x380474(0x1ed));Promise[a29_0x380474(0x1f1)](fs),exports[a29_0x380474(0x208)]=async(_0x684339,_0x21b8df)=>{const _0x3b15d6=a29_0x380474,_0x41cf86={'NYLlf':function(_0x2fa237){return _0x2fa237();},'vewzQ':_0x3b15d6(0x202),'KgCAM':'@kubernetes/client-node'},_0x490f66=_0x41cf86[_0x3b15d6(0x1f3)](getDirForConfig);!fs[_0x3b15d6(0x1f0)](_0x490f66)&&fs[_0x3b15d6(0x1f2)](_0x490f66);let _0x1333d7=await _0x684339['getKubeConfigData']();if(_0x21b8df){const _0xe67629=yaml[_0x3b15d6(0x1ff)](_0x1333d7);_0xe67629['clusters'][0x0][_0x3b15d6(0x1ec)][_0x41cf86[_0x3b15d6(0x1f4)]]=!![],_0x1333d7=yaml[_0x3b15d6(0x1fb)](_0xe67629);}const _0x5bb7c7=await import(_0x41cf86[_0x3b15d6(0x1f6)]),_0x58e684=new _0x5bb7c7[(_0x3b15d6(0x203))]();_0x58e684[_0x3b15d6(0x209)](_0x1333d7);const _0x4d56bd=_0x58e684['makeApiClient'](_0x5bb7c7[_0x3b15d6(0x201)]),_0x4bac5b=_0x58e684[_0x3b15d6(0x1f9)](_0x5bb7c7['AppsV1Api']),_0x5e11b1=_0x58e684[_0x3b15d6(0x1f9)](_0x5bb7c7[_0x3b15d6(0x207)]),_0x4f51cf=_0x58e684[_0x3b15d6(0x1f9)](_0x5bb7c7['RbacAuthorizationV1Api']),_0x3e4453=_0x58e684[_0x3b15d6(0x1f9)](_0x5bb7c7[_0x3b15d6(0x1fd)]),_0x2fdbbb=_0x58e684[_0x3b15d6(0x1f9)](_0x5bb7c7[_0x3b15d6(0x1ef)]);return[_0x4d56bd,_0x4bac5b,_0x5e11b1,_0x4f51cf,_0x3e4453,_0x2fdbbb,_0x58e684];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a30_0x485e(){const _0x3dab3a=['error','122536bbUzBA','3401204szYuuX','35oJBWXK','AxjVN','142272LTXTHR','1201387Pfmawh','region','FileSystemId','OutputValue','EFS','\x20deleted\x20successfully','CbwaB','../config/logger','500kDCvPT','14492632qatUHt','aws-sdk','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','5kIMHVV','EFSFileSystemId','OutputKey','../config/constants','promise','Mount\x20target\x20','249RKhbdo','ZwxmL','6749082uYqyVt','deleteEFSMountTarget','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','MountTargetId','info','MountTargets','Error\x20deleting\x20EFS\x20mount\x20targets:','EFS\x20FileSystem\x20ID\x20found:\x20','10734zDxdAv','.\x20Deleting\x20mount\x20targets...'];a30_0x485e=function(){return _0x3dab3a;};return a30_0x485e();}const a30_0xf76f45=a30_0x3a42;(function(_0x19d3e2,_0x4eae0c){const _0x1b0201=a30_0x3a42,_0x144f53=_0x19d3e2();while(!![]){try{const _0x5ee5a6=-parseInt(_0x1b0201(0x11e))/0x1+-parseInt(_0x1b0201(0x13a))/0x2*(parseInt(_0x1b0201(0x130))/0x3)+parseInt(_0x1b0201(0x13e))/0x4*(-parseInt(_0x1b0201(0x12a))/0x5)+parseInt(_0x1b0201(0x132))/0x6+-parseInt(_0x1b0201(0x13f))/0x7*(parseInt(_0x1b0201(0x13d))/0x8)+-parseInt(_0x1b0201(0x141))/0x9*(-parseInt(_0x1b0201(0x126))/0xa)+parseInt(_0x1b0201(0x127))/0xb;if(_0x5ee5a6===_0x4eae0c)break;else _0x144f53['push'](_0x144f53['shift']());}catch(_0x40f982){_0x144f53['push'](_0x144f53['shift']());}}}(a30_0x485e,0xa0e51));function a30_0x3a42(_0x48df23,_0x213562){const _0x485e7c=a30_0x485e();return a30_0x3a42=function(_0x3a42ac,_0x3695dc){_0x3a42ac=_0x3a42ac-0x11e;let _0x31b1c0=_0x485e7c[_0x3a42ac];return _0x31b1c0;},a30_0x3a42(_0x48df23,_0x213562);}const {logger}=require(a30_0xf76f45(0x125)),awsSDK=require(a30_0xf76f45(0x128)),{global_registry}=require(a30_0xf76f45(0x12d));exports[a30_0xf76f45(0x133)]=async _0x5329ff=>{const _0x33fc7c=a30_0xf76f45,_0x12cd41={};_0x12cd41[_0x33fc7c(0x140)]=_0x33fc7c(0x129),_0x12cd41[_0x33fc7c(0x124)]=_0x33fc7c(0x134),_0x12cd41[_0x33fc7c(0x131)]=_0x33fc7c(0x138);const _0x2d162b=_0x12cd41;try{const _0x23c6bd={};_0x23c6bd[_0x33fc7c(0x11f)]=global_registry['clusterRegion'];const _0x5a527a=new awsSDK[(_0x33fc7c(0x122))](_0x23c6bd),_0x1813f6=_0x5329ff['find'](_0x1eb060=>_0x1eb060[_0x33fc7c(0x12c)]===_0x33fc7c(0x12b))?.[_0x33fc7c(0x121)];if(_0x1813f6){logger['info'](_0x33fc7c(0x139)+_0x1813f6+_0x33fc7c(0x13b));const _0x2bff98={};_0x2bff98[_0x33fc7c(0x120)]=_0x1813f6;const _0x4e9e48=_0x2bff98,_0x2be5e6=await _0x5a527a['describeMountTargets'](_0x4e9e48)[_0x33fc7c(0x12e)]();if(_0x2be5e6)for(const _0x522a3d of _0x2be5e6[_0x33fc7c(0x137)]){const _0x48350a={};_0x48350a[_0x33fc7c(0x135)]=_0x522a3d[_0x33fc7c(0x135)];const _0x419805=_0x48350a;await _0x5a527a['deleteMountTarget'](_0x419805)[_0x33fc7c(0x12e)](),logger[_0x33fc7c(0x136)](_0x33fc7c(0x12f)+_0x522a3d['MountTargetId']+_0x33fc7c(0x123));}else logger[_0x33fc7c(0x136)](_0x2d162b[_0x33fc7c(0x140)]);}else logger[_0x33fc7c(0x136)](_0x2d162b[_0x33fc7c(0x124)]);}catch(_0x2274b1){logger[_0x33fc7c(0x13c)](_0x2d162b[_0x33fc7c(0x131)],_0x2274b1);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x5061(_0x99b54c,_0x3425cc){const _0x361673=a31_0x3616();return a31_0x5061=function(_0x50613f,_0x5028f9){_0x50613f=_0x50613f-0x8b;let _0x561621=_0x361673[_0x50613f];return _0x561621;},a31_0x5061(_0x99b54c,_0x3425cc);}const a31_0x57a193=a31_0x5061;function a31_0x3616(){const _0x4b1136=['20KWByHH','CloudFormation','5091674rsffvx','awsObj','13qChXmy','apiVersion','9503131kTpzuw','4478392BVJVKp','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','BsQdB','deleteClusterStack','39yVgryK','deleteStack','debug','stackDeleteComplete','promise','2010-05-15','34430232BSnGYP','1644UFVTGc','12mgKQNT','xxPXL','waitFor','StackName','406372ucyCnF','27QKYmVY','2419435fBBboz','1965smAKUZ'];a31_0x3616=function(){return _0x4b1136;};return a31_0x3616();}(function(_0x184b53,_0x110321){const _0x3cf927=a31_0x5061,_0x401454=_0x184b53();while(!![]){try{const _0x52ef36=-parseInt(_0x3cf927(0x95))/0x1*(parseInt(_0x3cf927(0x8d))/0x2)+parseInt(_0x3cf927(0xa1))/0x3*(-parseInt(_0x3cf927(0x92))/0x4)+-parseInt(_0x3cf927(0x94))/0x5+parseInt(_0x3cf927(0x8e))/0x6*(parseInt(_0x3cf927(0x98))/0x7)+-parseInt(_0x3cf927(0x9d))/0x8*(parseInt(_0x3cf927(0x93))/0x9)+parseInt(_0x3cf927(0x96))/0xa*(parseInt(_0x3cf927(0x9c))/0xb)+-parseInt(_0x3cf927(0x8c))/0xc*(-parseInt(_0x3cf927(0x9a))/0xd);if(_0x52ef36===_0x110321)break;else _0x401454['push'](_0x401454['shift']());}catch(_0x3da8b9){_0x401454['push'](_0x401454['shift']());}}}(a31_0x3616,0xe88f9));const AWS=require('./AWSUtils')[a31_0x57a193(0x99)],{logger}=require('../config/logger');exports[a31_0x57a193(0xa0)]=async _0xf5ee9f=>{const _0x51ab50=a31_0x57a193,_0xf88106={};_0xf88106['OvqId']=_0x51ab50(0x8b),_0xf88106[_0x51ab50(0x8f)]=_0x51ab50(0x9e),_0xf88106[_0x51ab50(0x9f)]=_0x51ab50(0xa4);const _0x427fa9=_0xf88106,_0x31e4ff={};_0x31e4ff[_0x51ab50(0x9b)]=_0x427fa9['OvqId'];const _0xcd4330=new AWS[(_0x51ab50(0x97))](_0x31e4ff),_0xab0dd0={};_0xab0dd0[_0x51ab50(0x91)]=_0xf5ee9f;const _0x1b7f51=_0xab0dd0,_0x281670=await _0xcd4330[_0x51ab50(0xa2)](_0x1b7f51)[_0x51ab50(0xa5)]();logger[_0x51ab50(0xa3)](_0x427fa9[_0x51ab50(0x8f)]);const _0x3479fd={};return _0x3479fd[_0x51ab50(0x91)]=_0xf5ee9f,_0xcd4330[_0x51ab50(0x90)](_0x427fa9['BsQdB'],_0x3479fd)[_0x51ab50(0xa5)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a32_0x3909(){const _0x40c7ae=['5094EMlGuv','CloudFormation','promise','28zFooBq','1184392TBEebj','6arMPab','314512YZUhiy','2010-05-15','4793600WyVXDE','3729pbemTX','10955853gyWgfD','2845McMEGV','1366620ZtoSks','describeStacks','../config/logger','3890HnBiMD','awsObj','fJIpo'];a32_0x3909=function(){return _0x40c7ae;};return a32_0x3909();}const a32_0x1d348d=a32_0x281b;function a32_0x281b(_0x1ad3f3,_0x30ced3){const _0x3909dc=a32_0x3909();return a32_0x281b=function(_0x281b33,_0x47a674){_0x281b33=_0x281b33-0x13e;let _0x40163e=_0x3909dc[_0x281b33];return _0x40163e;},a32_0x281b(_0x1ad3f3,_0x30ced3);}(function(_0x5e48cd,_0x5cc82a){const _0x4942ae=a32_0x281b,_0x5c079b=_0x5e48cd();while(!![]){try{const _0x3b39ea=-parseInt(_0x4942ae(0x147))/0x1+parseInt(_0x4942ae(0x141))/0x2*(-parseInt(_0x4942ae(0x140))/0x3)+parseInt(_0x4942ae(0x143))/0x4+parseInt(_0x4942ae(0x146))/0x5*(parseInt(_0x4942ae(0x14d))/0x6)+-parseInt(_0x4942ae(0x13e))/0x7*(parseInt(_0x4942ae(0x13f))/0x8)+parseInt(_0x4942ae(0x145))/0x9+-parseInt(_0x4942ae(0x14a))/0xa*(-parseInt(_0x4942ae(0x144))/0xb);if(_0x3b39ea===_0x5cc82a)break;else _0x5c079b['push'](_0x5c079b['shift']());}catch(_0x1788f3){_0x5c079b['push'](_0x5c079b['shift']());}}}(a32_0x3909,0xb8e5d));const AWS=require('./AWSUtils')[a32_0x1d348d(0x14b)],{logger}=require(a32_0x1d348d(0x149));exports['describeClusterStack']=async _0x301426=>{const _0x3b412b=a32_0x1d348d,_0x238b1e={};_0x238b1e[_0x3b412b(0x14c)]=_0x3b412b(0x142);const _0x4d519e=_0x238b1e,_0x26f650={};_0x26f650['apiVersion']=_0x4d519e[_0x3b412b(0x14c)];const _0x35cf25=new AWS[(_0x3b412b(0x14e))](_0x26f650),_0x3158ff={};_0x3158ff['StackName']=_0x301426;const _0xbaeaf0=_0x3158ff;return _0x35cf25[_0x3b412b(0x148)](_0xbaeaf0)[_0x3b412b(0x14f)]();};
|