browserstack-node-sdk 1.34.56 → 1.35.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 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/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/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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a25_0x2a3e(_0x10bf3b,_0x4ff80f){const _0x5cc374=a25_0x5cc3();return a25_0x2a3e=function(_0x2a3efe,_0x460203){_0x2a3efe=_0x2a3efe-0xf4;let _0x1740a0=_0x5cc374[_0x2a3efe];return _0x1740a0;},a25_0x2a3e(_0x10bf3b,_0x4ff80f);}const a25_0x565080=a25_0x2a3e;(function(_0x20ff20,_0x3f4239){const _0x830952=a25_0x2a3e,_0x492701=_0x20ff20();while(!![]){try{const _0x27184b=parseInt(_0x830952(0x106))/0x1*(parseInt(_0x830952(0x18a))/0x2)+parseInt(_0x830952(0x19d))/0x3+parseInt(_0x830952(0x11b))/0x4*(-parseInt(_0x830952(0x11f))/0x5)+-parseInt(_0x830952(0x17b))/0x6+parseInt(_0x830952(0x136))/0x7+-parseInt(_0x830952(0x194))/0x8*(-parseInt(_0x830952(0x185))/0x9)+parseInt(_0x830952(0x170))/0xa*(-parseInt(_0x830952(0x14b))/0xb);if(_0x27184b===_0x3f4239)break;else _0x492701['push'](_0x492701['shift']());}catch(_0x396de3){_0x492701['push'](_0x492701['shift']());}}}(a25_0x5cc3,0x89c05));function a25_0x5cc3(){const _0x862db3=['oNhDV','getOidcUrl','headBucket','KLocd','XsZPp','RECSa','drVww','QQihk','IZlcG','awsObj','yhyYt','HpRyM','fetchSecurityGroups','tdodb','describeSubnets','YjqvF','VqAAT','JQeCI','WjmEj','645976wCJloG','XXLHL','MhABW','kjJGQ','10REltGT','fetchVPCs','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','jhXSv','uraEX','issuer','KMATc','fuGFu','Bucket','ZsIpF','biUCI','qIVuv','YPJPJ','Zmsuf','LEtgA','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','zgxqM','Wmvgr','dRqTJ','gMbSv','humVu','piQCa','VkBUo','1396703rVqzZq','ScYNu','catch','lPAOM','itRAF','Uuqwb','nOAkn','xihGO','CSBNt','promise','OaNyF','Bucket:\x20','xevXU','PSkMO','Qrzjb','WKwVi','GaIME','EeCEQ','identity','NgWmW','CMcQp','5148pvqkvy','iJuUH','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','info','lgeDO','DtVSu','XPLAN','tMfyd','kGwdz','BbrqI','bdJHA','HvlWj','nMAJJ','HYzwj','qHkou','XACnl','TuOaH','wbdxc','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','PvnjP','2017-11-01','rRygU','EDuwi','GkMBD','mXXRj','FcBKd','describeVpcs','LkGez','cluster','region','xBkoT','relzw','IHxVB','HwTos','EC2','XemYh','bhFMy','12370qQmrSF','tMtwT','GjrLz','then','GTSKw','EKS','jTfZd','QIvbM','KIYUY','gYDnL','cMyaM','5930988kUfPjW','OnsTa','Ejxlp','error','CZQss','XqnkH','NDuhm','xxxHn','describeRegions','2016-11-15','6435738YvQZVy','pmJDB','apiVersion','describeSecurityGroups','dzlAJ','2vWcQpN','warn','LMvjj','cZQcR','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','LjYJx','RdPnx','fwsjN','cidKX','CWAii','8hxkrmL','bwkqG','Flxlv','vvsaK','odYXR','wiqsk','rmtYc','aKSSF','describeCluster','2766612PAooay','oidc','RPHPO','Regions','kvKus','lQwms','xiyJH','CwYEb','JMAYG','OwKUm','BkfXa','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','kvebK','iHLXy','gRYOq','name','kEyVd','../config/logger','bABUL','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','vsbqF','617816cINxOh','cylek'];a25_0x5cc3=function(){return _0x862db3;};return a25_0x5cc3();}const awsSDK=require('aws-sdk'),{logger}=require(a25_0x565080(0x102));exports[a25_0x565080(0x120)]=_0xdf0c3b=>{const _0x4117a1=a25_0x565080,_0x5c68df={'NyzjO':function(_0x3f5ea3,_0x4a7b68){return _0x3f5ea3(_0x4a7b68);},'bdJHA':function(_0x2fcf14,_0x4c41a2){return _0x2fcf14(_0x4c41a2);},'xxSku':function(_0x585b24,_0xd3c8f9){return _0x585b24===_0xd3c8f9;},'GTSKw':'EBUyY','EeCEQ':'IpeoD','LMvjj':_0x4117a1(0x17d),'humVu':function(_0x62a70d,_0x2e84fa){return _0x62a70d(_0x2e84fa);},'drVww':function(_0x2c8e7e,_0xe6605e){return _0x2c8e7e!==_0xe6605e;},'gYDnL':_0x4117a1(0xf6),'xiyJH':'2016-11-15'};return new Promise((_0x39cd6f,_0x540e88)=>{const _0x1da9d0=_0x4117a1,_0x263e32={'HpRyM':function(_0xe37ead,_0x17c502){const _0x18d42f=a25_0x2a3e;return _0x5c68df[_0x18d42f(0x155)](_0xe37ead,_0x17c502);},'LjYJx':function(_0xaa5981,_0x57375c){return _0x5c68df['xxSku'](_0xaa5981,_0x57375c);},'OwKUm':_0x5c68df[_0x1da9d0(0x174)],'hEVEx':_0x5c68df[_0x1da9d0(0x147)],'BkfXa':_0x5c68df[_0x1da9d0(0x18c)],'cylek':function(_0x2d970e,_0xb8a2c){const _0x3d27b7=_0x1da9d0;return _0x5c68df[_0x3d27b7(0x133)](_0x2d970e,_0xb8a2c);}};if(_0x5c68df[_0x1da9d0(0x10e)](_0x5c68df[_0x1da9d0(0x179)],_0x5c68df[_0x1da9d0(0x179)]))_0x5c68df['NyzjO'](_0x3dc723,_0x479c25['Regions']);else{const _0x3092cc={};_0x3092cc[_0x1da9d0(0x187)]=_0x5c68df[_0x1da9d0(0xf7)],_0x3092cc[_0x1da9d0(0x168)]=_0xdf0c3b;const _0x27a092=new awsSDK['EC2'](_0x3092cc);_0x27a092['describeVpcs']()[_0x1da9d0(0x13f)]()['then'](_0x53fbe4=>{const _0x6623bf=_0x1da9d0;_0x263e32[_0x6623bf(0x18f)](_0x263e32[_0x6623bf(0xfa)],_0x263e32['hEVEx'])?(_0x5ad763[_0x6623bf(0x18b)]('Bucket:\x20'+_0x3b2909+_0x6623bf(0x18e)),_0x263e32[_0x6623bf(0x113)](_0x5eccea,!![])):_0x263e32['HpRyM'](_0x39cd6f,_0x53fbe4);})['catch'](_0x4c5a41=>{const _0x27e7ff=_0x1da9d0;_0x263e32[_0x27e7ff(0x18f)](_0x263e32[_0x27e7ff(0xfb)],_0x263e32[_0x27e7ff(0xfb)])?(logger[_0x27e7ff(0x17e)](_0x27e7ff(0xfc)+_0x4c5a41),_0x263e32[_0x27e7ff(0x107)](_0x540e88,_0x4c5a41)):(_0x47aa3f[_0x27e7ff(0x17e)](_0x27e7ff(0x15d)+_0x1a178d),_0x263e32[_0x27e7ff(0x113)](_0x4de37b,_0x2fe14a));});}});},exports['isBucketPresent']=_0x2cb9b2=>{const _0x365005=a25_0x565080,_0x164fca={'cidKX':function(_0x3a4c75,_0xf84335){return _0x3a4c75(_0xf84335);},'PSkMO':function(_0x243062,_0xc639ce){return _0x243062(_0xc639ce);},'BqRpl':_0x365005(0x184),'xsDYc':function(_0x1f8de0,_0x27a8f5){return _0x1f8de0!==_0x27a8f5;},'QQihk':'GQPcK','RECSa':'zQcMX','lgeDO':function(_0x484f4f,_0x396579){return _0x484f4f===_0x396579;},'NgWmW':_0x365005(0xf9),'RdPnx':_0x365005(0x139)},_0x272ccb=new awsSDK['S3']();return new Promise((_0x413da8,_0x17d49a)=>{const _0x459fab=_0x365005,_0x38c168={'Uuqwb':function(_0x1dad8f,_0x345ef4){const _0x4a3faa=a25_0x2a3e;return _0x164fca[_0x4a3faa(0x192)](_0x1dad8f,_0x345ef4);},'OoXRM':function(_0x26c114,_0x5eb81e){const _0x357082=a25_0x2a3e;return _0x164fca[_0x357082(0x14f)](_0x26c114,_0x5eb81e);},'kGwdz':_0x164fca[_0x459fab(0x149)]};if(_0x164fca[_0x459fab(0x14f)](_0x164fca[_0x459fab(0x190)],_0x164fca[_0x459fab(0x190)])){const _0x233cd9={};_0x233cd9['Bucket']=_0x2cb9b2,_0x272ccb[_0x459fab(0x10a)](_0x233cd9)[_0x459fab(0x13f)]()[_0x459fab(0x173)](_0x5d4096=>{const _0x3e93b1=_0x459fab,_0x39a854={'ScYNu':function(_0xe6f6e8,_0x3c8cdc){return _0x164fca['cidKX'](_0xe6f6e8,_0x3c8cdc);},'qHkou':function(_0x1ae8a9,_0x448514){const _0x129d74=a25_0x2a3e;return _0x164fca[_0x129d74(0x143)](_0x1ae8a9,_0x448514);},'kDTFO':_0x164fca['BqRpl']};if(_0x164fca['xsDYc'](_0x164fca[_0x3e93b1(0x10f)],_0x164fca[_0x3e93b1(0x10d)]))logger[_0x3e93b1(0x18b)](_0x3e93b1(0x141)+_0x2cb9b2+_0x3e93b1(0x18e)),_0x164fca[_0x3e93b1(0x143)](_0x413da8,!![]);else{const _0xa0824b={'TuOaH':function(_0x40ebee,_0x2817ec){const _0x45c2c0=_0x3e93b1;return _0x39a854[_0x45c2c0(0x137)](_0x40ebee,_0x2817ec);},'WjmEj':function(_0x1c3c45,_0x4cab97){const _0x58ef7c=_0x3e93b1;return _0x39a854[_0x58ef7c(0x159)](_0x1c3c45,_0x4cab97);}},_0x5addbb={};_0x5addbb[_0x3e93b1(0x187)]=_0x39a854['kDTFO'],_0x5addbb[_0x3e93b1(0x168)]=_0x5a359c;const _0x4d0656=new _0x22104f[(_0x3e93b1(0x16d))](_0x5addbb);_0x4d0656[_0x3e93b1(0x165)]()[_0x3e93b1(0x13f)]()[_0x3e93b1(0x173)](_0x4d0532=>{const _0x3ae17f=_0x3e93b1;_0xa0824b[_0x3ae17f(0x15b)](_0x34d96d,_0x4d0532);})[_0x3e93b1(0x138)](_0x225555=>{const _0x42865d=_0x3e93b1;_0x1443c4['error'](_0x42865d(0xfc)+_0x225555),_0xa0824b[_0x42865d(0x11a)](_0x59aa2a,_0x225555);});}})[_0x459fab(0x138)](()=>{const _0x9aa45a=_0x459fab,_0x51b36b={'YjqvF':function(_0xc524a,_0x1fc8a9){const _0x3d94f3=a25_0x2a3e;return _0x38c168[_0x3d94f3(0x13b)](_0xc524a,_0x1fc8a9);}};_0x38c168['OoXRM'](_0x38c168[_0x9aa45a(0x153)],_0x38c168[_0x9aa45a(0x153)])?(logger[_0x9aa45a(0x14e)]('Bucket:\x20'+_0x2cb9b2+_0x9aa45a(0x104)),_0x38c168['Uuqwb'](_0x413da8,![])):_0x51b36b[_0x9aa45a(0x117)](_0x5409d8,_0x45dc0f[_0x9aa45a(0x167)][_0x9aa45a(0x148)][_0x9aa45a(0x19e)]['issuer']);});}else _0x164fca[_0x459fab(0x192)](_0x5c2a16,_0x15629e);});},exports['fetchSubnets']=_0x20557d=>{const _0x3ce3cf=a25_0x565080,_0x4872dc={'HYzwj':function(_0x29328b,_0x192f0f){return _0x29328b(_0x192f0f);},'KMATc':function(_0x1d0b48,_0x3b6663){return _0x1d0b48===_0x3b6663;},'fwsjN':_0x3ce3cf(0xf8),'XVkFh':_0x3ce3cf(0x19a),'kvebK':'2016-11-15','MuaPE':function(_0x46451e,_0x2553cf){return _0x46451e(_0x2553cf);},'xBkoT':function(_0x2cb779,_0x506e16){return _0x2cb779!==_0x506e16;},'EvXxq':_0x3ce3cf(0x119),'pmJDB':function(_0x2db91a,_0x339b96){return _0x2db91a(_0x339b96);},'OaNyF':_0x3ce3cf(0x16a)};return new Promise((_0x544cc6,_0x26425c)=>{const _0x1b659e=_0x3ce3cf,_0x3493c3={'aKSSF':function(_0x302585,_0x35698e){return _0x4872dc['MuaPE'](_0x302585,_0x35698e);},'LkGez':function(_0x397425,_0x2ea2a0){const _0x26fa11=a25_0x2a3e;return _0x4872dc[_0x26fa11(0x169)](_0x397425,_0x2ea2a0);},'GjrLz':_0x4872dc['EvXxq'],'QIvbM':function(_0x2779ce,_0x4fe2fb){const _0x972dca=a25_0x2a3e;return _0x4872dc[_0x972dca(0x186)](_0x2779ce,_0x4fe2fb);}};if(_0x4872dc[_0x1b659e(0x125)](_0x4872dc[_0x1b659e(0x140)],_0x4872dc['OaNyF'])){const _0x55d2={};_0x55d2['apiVersion']=_0x4872dc[_0x1b659e(0xfd)],_0x55d2[_0x1b659e(0x168)]=_0x20557d;const _0x48f42c=new awsSDK[(_0x1b659e(0x16d))](_0x55d2);_0x48f42c[_0x1b659e(0x116)]()['promise']()[_0x1b659e(0x173)](_0x480d27=>{const _0x1b19cf=_0x1b659e,_0x259826={'VqAAT':function(_0x461e4f,_0x3b324e){const _0x1846b2=a25_0x2a3e;return _0x4872dc[_0x1846b2(0x158)](_0x461e4f,_0x3b324e);}};_0x4872dc['KMATc'](_0x4872dc[_0x1b19cf(0x191)],_0x4872dc['XVkFh'])?_0x259826[_0x1b19cf(0x118)](_0x4c4414,_0x2b6451):_0x4872dc[_0x1b19cf(0x158)](_0x544cc6,_0x480d27);})[_0x1b659e(0x138)](_0x306295=>{const _0x436f7e=_0x1b659e;_0x3493c3[_0x436f7e(0x166)](_0x3493c3['GjrLz'],_0x3493c3[_0x436f7e(0x172)])?_0x3493c3[_0x436f7e(0x19b)](_0x102f30,_0x4567e4):(logger['error'](_0x436f7e(0x15d)+_0x306295),_0x3493c3['QIvbM'](_0x26425c,_0x306295));});}else{const _0xf8906d={'YPJPJ':function(_0x3ca4dd,_0x4a7d32){return _0x4872dc['HYzwj'](_0x3ca4dd,_0x4a7d32);}},_0x4ef624={};_0x4ef624[_0x1b659e(0x187)]=_0x4872dc['kvebK'],_0x4ef624[_0x1b659e(0x168)]=_0x413603;const _0x5aa44d=new _0x57f81c['EC2'](_0x4ef624);_0x5aa44d[_0x1b659e(0x188)]()[_0x1b659e(0x13f)]()[_0x1b659e(0x173)](_0x24148b=>{const _0x392207=_0x1b659e;_0x3493c3[_0x392207(0x177)](_0x2dd1dc,_0x24148b);})['catch'](_0x22974e=>{const _0x2c937d=_0x1b659e;_0x40503a[_0x2c937d(0x17e)](_0x2c937d(0x121)+_0x22974e),_0xf8906d[_0x2c937d(0x12b)](_0x13b573,_0x22974e);});}});},exports[a25_0x565080(0x114)]=_0x17ab54=>{const _0x2dc919=a25_0x565080,_0x238182={'zgxqM':function(_0x5eb61c,_0x5c81ff){return _0x5eb61c(_0x5c81ff);},'XACnl':function(_0x56c7d8,_0x179ca1){return _0x56c7d8(_0x179ca1);},'XqnkH':function(_0x18dfdc,_0x1f1162){return _0x18dfdc===_0x1f1162;},'kjJGQ':_0x2dc919(0x12c),'dRqTJ':_0x2dc919(0x110),'bhFMy':_0x2dc919(0x130),'gRYOq':_0x2dc919(0x184),'xxxHn':function(_0x6a7ea4,_0x876b89){return _0x6a7ea4(_0x876b89);},'fuGFu':function(_0x2d02a6,_0x506f8b){return _0x2d02a6!==_0x506f8b;},'iJuUH':_0x2dc919(0x164),'ZaHvP':_0x2dc919(0x163)};return new Promise((_0x3b78b9,_0x1cb61a)=>{const _0x243368=_0x2dc919,_0x40d874={'wiqsk':_0x238182[_0x243368(0xff)],'wLFsO':function(_0x5bdd5f,_0x337f3c){const _0x492f03=_0x243368;return _0x238182[_0x492f03(0x182)](_0x5bdd5f,_0x337f3c);},'tdodb':function(_0x3017a9,_0x1d66a7){const _0xb4cf42=_0x243368;return _0x238182[_0xb4cf42(0x182)](_0x3017a9,_0x1d66a7);}};if(_0x238182[_0x243368(0x126)](_0x238182[_0x243368(0x14c)],_0x238182['ZaHvP'])){const _0x281ab5={};_0x281ab5[_0x243368(0x187)]=_0x238182[_0x243368(0xff)],_0x281ab5['region']=_0x17ab54;const _0x2522f2=new awsSDK['EC2'](_0x281ab5);_0x2522f2[_0x243368(0x188)]()['promise']()['then'](_0x406f13=>{const _0x4039dc=_0x243368,_0x474b77={'kvKus':function(_0x199aa5,_0x3ed3e5){const _0x297f07=a25_0x2a3e;return _0x238182[_0x297f07(0x12f)](_0x199aa5,_0x3ed3e5);},'KIYUY':function(_0x40da6a,_0x25b6e5){const _0x5cfd6b=a25_0x2a3e;return _0x238182[_0x5cfd6b(0x15a)](_0x40da6a,_0x25b6e5);}};if(_0x238182[_0x4039dc(0x180)](_0x238182[_0x4039dc(0x11e)],_0x238182[_0x4039dc(0x131)])){const _0x5bc4c0={};_0x5bc4c0[_0x4039dc(0x187)]=_0x40d874[_0x4039dc(0x199)],_0x5bc4c0[_0x4039dc(0x168)]=_0x46fa9d;const _0x28690b=new _0x5ea94d[(_0x4039dc(0x16d))](_0x5bc4c0);_0x28690b[_0x4039dc(0x116)]()[_0x4039dc(0x13f)]()['then'](_0x11e8f5=>{const _0x20d176=_0x4039dc;_0x474b77[_0x20d176(0xf5)](_0x2ab58b,_0x11e8f5);})[_0x4039dc(0x138)](_0x4c6de8=>{const _0xdd0234=_0x4039dc;_0x1e6215[_0xdd0234(0x17e)](_0xdd0234(0x15d)+_0x4c6de8),_0x474b77[_0xdd0234(0x178)](_0x4ee084,_0x4c6de8);});}else _0x238182[_0x4039dc(0x15a)](_0x3b78b9,_0x406f13);})[_0x243368(0x138)](_0x335af6=>{const _0x281da8=_0x243368;_0x238182[_0x281da8(0x180)](_0x238182[_0x281da8(0x16f)],_0x238182[_0x281da8(0x16f)])?(logger[_0x281da8(0x17e)](_0x281da8(0x121)+_0x335af6),_0x238182[_0x281da8(0x12f)](_0x1cb61a,_0x335af6)):(_0x2c70fa[_0x281da8(0x17e)](_0x281da8(0x14d)+_0x52b401),_0x40d874['wLFsO'](_0x47cf1e,_0x36d76a));});}else _0x25d258[_0x243368(0x14e)]('Bucket:\x20'+_0x42dc3e+_0x243368(0x104)),_0x40d874[_0x243368(0x115)](_0x454b00,![]);});},exports['getAWSRegions']=()=>{const _0x4d48f8=a25_0x565080,_0x4d6c07={'DtVSu':function(_0x5350cb,_0x26ed78){return _0x5350cb(_0x26ed78);},'tMtwT':_0x4d48f8(0x184),'nOAkn':function(_0x2efe89,_0x7f03e3){return _0x2efe89===_0x7f03e3;},'NwtJb':'qUAbP','tMfyd':_0x4d48f8(0x146),'MhABW':function(_0x20d91b,_0x231e51){return _0x20d91b!==_0x231e51;},'MvncH':_0x4d48f8(0x17a),'gdPiC':_0x4d48f8(0x16e),'vsbqF':function(_0x528ff4,_0x5a95b0){return _0x528ff4===_0x5a95b0;},'eMPqS':'LuBer','piQCa':_0x4d48f8(0x132),'WKwVi':'2017-11-01','BbrqI':function(_0x5c1a6a,_0x448c30){return _0x5c1a6a!==_0x448c30;},'odYXR':'GwTTX','CZQss':_0x4d48f8(0x10c),'OnsTa':function(_0xa423e9,_0x2d4f07){return _0xa423e9===_0x2d4f07;},'kEyVd':_0x4d48f8(0x144)};return new Promise((_0x50c4ab,_0x2c75ff)=>{const _0xfff683=_0x4d48f8,_0x5041c7={'CWAii':function(_0x1f2aec,_0x2705f4){const _0x2a7e18=a25_0x2a3e;return _0x4d6c07[_0x2a7e18(0x150)](_0x1f2aec,_0x2705f4);},'xihGO':_0x4d6c07['tMtwT'],'MhAzc':function(_0x367c30,_0x59bebd){return _0x4d6c07['DtVSu'](_0x367c30,_0x59bebd);},'biUCI':_0x4d6c07[_0xfff683(0x145)],'HwTos':function(_0x26a4cd,_0x3afb99){const _0x35f30=_0xfff683;return _0x4d6c07[_0x35f30(0x154)](_0x26a4cd,_0x3afb99);},'CSBNt':_0x4d6c07[_0xfff683(0x198)],'HvlWj':_0x4d6c07[_0xfff683(0x17f)],'fWqdm':function(_0x19a411,_0x3d4e5b){return _0x4d6c07['DtVSu'](_0x19a411,_0x3d4e5b);}};if(_0x4d6c07[_0xfff683(0x17c)](_0x4d6c07[_0xfff683(0x101)],_0x4d6c07[_0xfff683(0x101)])){const _0x182059={};_0x182059[_0xfff683(0x187)]=_0x4d6c07[_0xfff683(0x171)];const _0xa377b9=new awsSDK[(_0xfff683(0x16d))](_0x182059);_0xa377b9[_0xfff683(0x183)]()['promise']()[_0xfff683(0x173)]((_0x42495e,_0xa35069)=>{const _0x381a3b=_0xfff683,_0x40f973={'jTfZd':function(_0x4da279,_0x4abb55){return _0x4d6c07['DtVSu'](_0x4da279,_0x4abb55);},'KLocd':_0x4d6c07[_0x381a3b(0x171)]};if(_0x4d6c07[_0x381a3b(0x13c)](_0x4d6c07['NwtJb'],_0x4d6c07[_0x381a3b(0x152)])){const _0x1dc342={'CMcQp':function(_0x24a824,_0x494011){const _0x5cd695=_0x381a3b;return _0x5041c7[_0x5cd695(0x193)](_0x24a824,_0x494011);},'cXMlO':_0x5041c7[_0x381a3b(0x13d)]};return new _0x3f89ca((_0x43fe32,_0x2d9f0c)=>{const _0xc4bc7d=_0x381a3b,_0x64bb7c={};_0x64bb7c[_0xc4bc7d(0x187)]=_0x1dc342['cXMlO'],_0x64bb7c[_0xc4bc7d(0x168)]=_0x29c38f;const _0xfda806=new _0xf004d5[(_0xc4bc7d(0x16d))](_0x64bb7c);_0xfda806[_0xc4bc7d(0x116)]()['promise']()['then'](_0xecaed0=>{const _0x82b494=_0xc4bc7d;_0x1dc342[_0x82b494(0x14a)](_0x43fe32,_0xecaed0);})['catch'](_0x36b8f4=>{const _0xef96bf=_0xc4bc7d;_0x4d8960[_0xef96bf(0x17e)](_0xef96bf(0x15d)+_0x36b8f4),_0x1dc342['CMcQp'](_0x2d9f0c,_0x36b8f4);});});}else{if(_0x4d6c07[_0x381a3b(0x11d)](_0x42495e,undefined)&&_0x4d6c07[_0x381a3b(0x11d)](_0x42495e['Regions'],undefined)){if(_0x4d6c07['MhABW'](_0x4d6c07['MvncH'],_0x4d6c07['gdPiC']))_0x4d6c07['DtVSu'](_0x50c4ab,_0x42495e[_0x381a3b(0xf4)]);else{const _0x5d8261={'ZsIpF':function(_0x2d3776,_0x241f00){const _0x4c9da9=_0x381a3b;return _0x5041c7[_0x4c9da9(0x193)](_0x2d3776,_0x241f00);}};return new _0xbea364((_0x4203fe,_0x4f5c0b)=>{const _0x64d107=_0x381a3b,_0x199d4e={'eCMiy':function(_0x2d7918,_0x588d22){const _0x411bf9=a25_0x2a3e;return _0x40f973[_0x411bf9(0x176)](_0x2d7918,_0x588d22);}},_0x497b4e={};_0x497b4e[_0x64d107(0x187)]=_0x40f973[_0x64d107(0x10b)],_0x497b4e[_0x64d107(0x168)]=_0x1e6220;const _0x47cb5c=new _0x285924['EC2'](_0x497b4e);_0x47cb5c[_0x64d107(0x165)]()[_0x64d107(0x13f)]()[_0x64d107(0x173)](_0x12f6db=>{_0x199d4e['eCMiy'](_0x4203fe,_0x12f6db);})['catch'](_0x3a5178=>{const _0x5b951e=_0x64d107;_0x12fdf8['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x3a5178),_0x5d8261[_0x5b951e(0x128)](_0x4f5c0b,_0x3a5178);});});}}else _0x4d6c07[_0x381a3b(0x105)](_0x4d6c07['eMPqS'],_0x4d6c07[_0x381a3b(0x134)])?(_0x28a836[_0x381a3b(0x17e)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x4175d1),_0x5041c7['CWAii'](_0x463851,_0x234148)):_0x4d6c07[_0x381a3b(0x150)](_0x50c4ab,{});}})[_0xfff683(0x138)](_0x2320bb=>{const _0x4c894c=_0xfff683,_0x5abdaa={'iHLXy':function(_0x3faadb,_0x2c5291){return _0x5041c7['MhAzc'](_0x3faadb,_0x2c5291);},'gUqro':_0x5041c7[_0x4c894c(0x129)]};if(_0x5041c7[_0x4c894c(0x16c)](_0x5041c7[_0x4c894c(0x13e)],_0x5041c7[_0x4c894c(0x156)]))logger['error']('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x2320bb),_0x5041c7[_0x4c894c(0x193)](_0x2c75ff,_0x2320bb);else{const _0x19c9df={'rwVKN':function(_0x45d43d,_0x15b114){const _0x5bcfcf=_0x4c894c;return _0x5abdaa[_0x5bcfcf(0xfe)](_0x45d43d,_0x15b114);}};return new _0x5eac84((_0x17f8f5,_0x2b4364)=>{const _0x40563f=_0x4c894c,_0x4e665c={'hKIvI':function(_0x581c2f,_0x292ab6){return _0x5abdaa['iHLXy'](_0x581c2f,_0x292ab6);}},_0x9cebd3={};_0x9cebd3[_0x40563f(0x187)]=_0x5abdaa['gUqro'];const _0x36a381=new _0x3915b7[(_0x40563f(0x175))](_0x9cebd3),_0x345cec={};_0x345cec[_0x40563f(0x100)]=_0x491c79,_0x36a381[_0x40563f(0x19c)](_0x345cec)[_0x40563f(0x13f)]()[_0x40563f(0x173)](_0x3db6d9=>{const _0x2acc8e=_0x40563f;_0x19c9df['rwVKN'](_0x17f8f5,_0x3db6d9[_0x2acc8e(0x167)][_0x2acc8e(0x148)][_0x2acc8e(0x19e)][_0x2acc8e(0x124)]);})['catch'](_0x1a7e38=>{const _0x250a6c=_0x40563f;_0x1b0200[_0x250a6c(0x17e)](_0x250a6c(0x12e)+_0x1478ed+':\x20'+_0x1a7e38),_0x4e665c['hKIvI'](_0x2b4364,_0x1a7e38);});});}});}else{const _0x1d2e54={'XXLHL':function(_0x5e4025,_0x2658c9){return _0x5041c7['fWqdm'](_0x5e4025,_0x2658c9);}},_0x38e9ee={};_0x38e9ee[_0xfff683(0x127)]=_0x4a0cd6,_0x3d216f[_0xfff683(0x10a)](_0x38e9ee)[_0xfff683(0x13f)]()[_0xfff683(0x173)](_0x30192b=>{const _0x3c2e7b=_0xfff683;_0x1e64e9[_0x3c2e7b(0x18b)](_0x3c2e7b(0x141)+_0x27a76c+_0x3c2e7b(0x18e)),_0x1d2e54[_0x3c2e7b(0x11c)](_0x2b36e7,!![]);})[_0xfff683(0x138)](()=>{const _0x308e8f=_0xfff683;_0xf92923['info'](_0x308e8f(0x141)+_0x4d8dd4+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x1d2e54[_0x308e8f(0x11c)](_0x10d55d,![]);});}});},exports[a25_0x565080(0x109)]=_0x2fd43c=>{const _0x28e571=a25_0x565080,_0x2917a1={'wbdxc':function(_0x5a391d,_0x5908c5){return _0x5a391d===_0x5908c5;},'BLCxr':_0x28e571(0x103),'VGopK':_0x28e571(0x12a),'PvnjP':function(_0x4c787d,_0x3e9477){return _0x4c787d(_0x3e9477);},'IHxVB':_0x28e571(0x184),'EDuwi':function(_0x1b0c55,_0x4bbbcb){return _0x1b0c55(_0x4bbbcb);},'XPLAN':_0x28e571(0x15f),'VkBUo':function(_0x585fc7,_0x585576){return _0x585fc7!==_0x585576;},'fWDSB':_0x28e571(0x112),'gGTpO':_0x28e571(0x189),'FUuxG':function(_0x570922,_0x441ad5){return _0x570922!==_0x441ad5;},'uraEX':function(_0x5822b3,_0x5a397c){return _0x5822b3!==_0x5a397c;},'rRygU':_0x28e571(0x196)};return new Promise((_0x3f59c0,_0x453311)=>{const _0x52f68c=_0x28e571,_0x38dcdf={'RPHPO':function(_0x278e38,_0x2ee9d6){return _0x2917a1['PvnjP'](_0x278e38,_0x2ee9d6);},'tjAUl':_0x2917a1[_0x52f68c(0x16b)],'vvsaK':function(_0xee98ba,_0x4c8351){const _0x68606b=_0x52f68c;return _0x2917a1[_0x68606b(0x15e)](_0xee98ba,_0x4c8351);},'itRAF':function(_0x354364,_0x4ebcf1){const _0x5ce2b7=_0x52f68c;return _0x2917a1[_0x5ce2b7(0x161)](_0x354364,_0x4ebcf1);},'GkMBD':_0x2917a1[_0x52f68c(0x151)],'WAPgZ':function(_0x307d8d,_0x725666){const _0x46a848=_0x52f68c;return _0x2917a1[_0x46a848(0x135)](_0x307d8d,_0x725666);},'oNhDV':_0x2917a1['fWDSB'],'xGcVa':_0x2917a1['gGTpO'],'UppUh':function(_0x411c49,_0x3aef8d){const _0x30013f=_0x52f68c;return _0x2917a1[_0x30013f(0x135)](_0x411c49,_0x3aef8d);},'NDuhm':function(_0x104bc8,_0x3d6789){return _0x2917a1['FUuxG'](_0x104bc8,_0x3d6789);}};if(_0x2917a1[_0x52f68c(0x123)](_0x2917a1['rRygU'],_0x2917a1[_0x52f68c(0x160)])){const _0x35a0bb={'bwkqG':function(_0x5eb810,_0xc3ee1a){const _0x170486=_0x52f68c;return _0x38dcdf[_0x170486(0x19f)](_0x5eb810,_0xc3ee1a);},'nMAJJ':function(_0x463dbc,_0x2e8338){const _0x2ff69d=_0x52f68c;return _0x38dcdf[_0x2ff69d(0x19f)](_0x463dbc,_0x2e8338);},'cZQcR':_0x38dcdf['tjAUl']};return new _0x5c5195((_0x38d3b6,_0x328784)=>{const _0x50cb79=_0x52f68c,_0x552d9d={};_0x552d9d[_0x50cb79(0x187)]=_0x35a0bb[_0x50cb79(0x18d)],_0x552d9d[_0x50cb79(0x168)]=_0x406f9c;const _0x57a188=new _0x1b95b7[(_0x50cb79(0x16d))](_0x552d9d);_0x57a188[_0x50cb79(0x188)]()[_0x50cb79(0x13f)]()['then'](_0x3c31d2=>{const _0x4f1e9a=_0x50cb79;_0x35a0bb[_0x4f1e9a(0x195)](_0x38d3b6,_0x3c31d2);})[_0x50cb79(0x138)](_0x1fa442=>{const _0x242280=_0x50cb79;_0x105063['error'](_0x242280(0x121)+_0x1fa442),_0x35a0bb[_0x242280(0x157)](_0x328784,_0x1fa442);});});}else{const _0x5790d7={};_0x5790d7['apiVersion']=_0x2917a1['XPLAN'];const _0x422f8a=new awsSDK['EKS'](_0x5790d7),_0x591f8e={};_0x591f8e[_0x52f68c(0x100)]=_0x2fd43c,_0x422f8a[_0x52f68c(0x19c)](_0x591f8e)[_0x52f68c(0x13f)]()['then'](_0x315c76=>{const _0x512b5d=_0x52f68c,_0x3b7eb6={'mfpoe':function(_0x507f50,_0x131c1b){const _0x27cb48=a25_0x2a3e;return _0x38dcdf[_0x27cb48(0x197)](_0x507f50,_0x131c1b);},'xevXU':function(_0x101e6e,_0x4f134b){const _0x430f72=a25_0x2a3e;return _0x38dcdf[_0x430f72(0x13a)](_0x101e6e,_0x4f134b);},'LEtgA':_0x38dcdf[_0x512b5d(0x162)]};if(_0x38dcdf['WAPgZ'](_0x38dcdf[_0x512b5d(0x108)],_0x38dcdf['xGcVa']))_0x38dcdf['itRAF'](_0x3f59c0,_0x315c76[_0x512b5d(0x167)][_0x512b5d(0x148)][_0x512b5d(0x19e)]['issuer']);else{const _0x541eae={'jhXSv':function(_0x1ef4c2,_0x11fc04){const _0x575e30=_0x512b5d;return _0x3b7eb6[_0x575e30(0x142)](_0x1ef4c2,_0x11fc04);}},_0xa8ee89={};_0xa8ee89[_0x512b5d(0x187)]=_0x3b7eb6[_0x512b5d(0x12d)];const _0x4ead3e=new _0x3ddbd4[(_0x512b5d(0x175))](_0xa8ee89),_0x45f819={};_0x45f819[_0x512b5d(0x100)]=_0x5f054a,_0x4ead3e['describeCluster'](_0x45f819)['promise']()[_0x512b5d(0x173)](_0x4ac77c=>{const _0x3bed9e=_0x512b5d;_0x541eae[_0x3bed9e(0x122)](_0x5cefdc,_0x4ac77c[_0x3bed9e(0x167)]['identity']['oidc']['issuer']);})[_0x512b5d(0x138)](_0x1c29fe=>{_0x2148c7['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x21ebca+':\x20'+_0x1c29fe),_0x3b7eb6['mfpoe'](_0x73023f,_0x1c29fe);});}})[_0x52f68c(0x138)](_0x11650b=>{const _0x5d8893=_0x52f68c;_0x2917a1[_0x5d8893(0x15c)](_0x2917a1['BLCxr'],_0x2917a1['VGopK'])?_0x38dcdf['UppUh'](_0x3a5eea,_0x3d09b8)&&_0x38dcdf[_0x5d8893(0x181)](_0x3fc262[_0x5d8893(0xf4)],_0x5d308d)?_0x38dcdf['RPHPO'](_0x1d7b2c,_0x1ba935[_0x5d8893(0xf4)]):_0x38dcdf[_0x5d8893(0x19f)](_0x2bc984,{}):(logger['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x2fd43c+':\x20'+_0x11650b),_0x2917a1[_0x5d8893(0x15e)](_0x453311,_0x11650b));});}});},exports[a25_0x565080(0x111)]=awsSDK;
|
|
1
|
+
function a25_0x385f(){const _0x2d0762=['PaZWo','bUCwj','simqd','sHZnV','rmcJV','JgqFY','3887DzHWNi','jOPsl','aUmkR','zqcrJ','Xzaah','nHxpO','ImKKK','name','aIBTK','zrnpk','Regions','wiaqD','XiAmD','kLREs','MtWtt','warn','EXoNl','muDkr','frnvA','CAPyc','EXdet','xIFIC','describeCluster','iBeZr','PqMqZ','mXsaH','xTLKf','describeSecurityGroups','FINUk','RWkUP','252MYbnTk','axZIT','XWcUD','DjwWM','rZIzg','NMJtd','afCAT','info','EC2','721876bMpxst','ksKTg','kOhIh','2016-11-15','KJXPk','hrBCq','rCKuu','OAcdT','UaHlr','nlTos','mpdbx','jaFAP','EOJfj','aws-sdk','VpyrG','hsVwE','Zsrfn','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','rQUXe','aBBKV','region','SgUoc','then','tSZXt','dvfmm','HdLHs','219558UQAYZJ','GfCWd','MqCio','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','YMcZa','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','catch','623504bFuaeF','JppPd','dZaII','vQxDr','DUpXI','lvYjS','Bucket:\x20','WFrct','rgVXO','JByKK','smcQG','WxooF','LRRFM','fetchVPCs','oidc','RgSDi','mDyhO','LajYr','25040JkvLYA','20QrCMNA','NePkA','urfxl','RBByJ','TpkzW','78WIcKBN','TbyaW','wEMUB','xDsNM','EbMKP','1508382CqKFQZ','AiWHo','pHVxg','wBgcl','tnEsM','nibKw','UIWsf','EKS','DufOn','pOAVT','eAmiy','xtoEe','iNXLH','YCNGo','TVfqX','zkBbu','sTPrM','ihUeK','promise','describeVpcs','SDdtY','uXdUo','issuer','nRsot','buFGH','mnHLB','describeSubnets','tLjAe','apiVersion','1042072KpuDwm','TxRFH','fetchSubnets','gPrNQ','HPTFz','btTHd','GFlIn','isBucketPresent','pQCdZ','XeCvb','YQgJQ','JSxVZ','GUwfT','cluster','UZaBy','lKutI','HJTJI','vRNYT','identity','adqOM','XUNry','KOGme','lzTVC','headBucket','Bucket','gluxf','keCtG','HGXke','elILd','error','qCEcz','tdeXa','ZWrew','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','obMUc','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','kAcqY','PUOAp','xLDiL','osOBl','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','aclVX','mXFoZ','tmWkn','../config/logger','phVDN'];a25_0x385f=function(){return _0x2d0762;};return a25_0x385f();}const a25_0x38aa72=a25_0x4028;(function(_0x28cd1d,_0x350957){const _0x1aa108=a25_0x4028,_0x1c5cec=_0x28cd1d();while(!![]){try{const _0x4fbb48=-parseInt(_0x1aa108(0x1ee))/0x1*(-parseInt(_0x1aa108(0x24e))/0x2)+parseInt(_0x1aa108(0x22f))/0x3+-parseInt(_0x1aa108(0x215))/0x4+parseInt(_0x1aa108(0x248))/0x5*(-parseInt(_0x1aa108(0x20c))/0x6)+parseInt(_0x1aa108(0x236))/0x7+-parseInt(_0x1aa108(0x270))/0x8+parseInt(_0x1aa108(0x253))/0x9*(parseInt(_0x1aa108(0x249))/0xa);if(_0x4fbb48===_0x350957)break;else _0x1c5cec['push'](_0x1c5cec['shift']());}catch(_0x27cf0e){_0x1c5cec['push'](_0x1c5cec['shift']());}}}(a25_0x385f,0x1f3ef));function a25_0x4028(_0x5bfb22,_0x20e928){const _0x385fe0=a25_0x385f();return a25_0x4028=function(_0x4028b6,_0x172bef){_0x4028b6=_0x4028b6-0x1c1;let _0x4ef678=_0x385fe0[_0x4028b6];return _0x4ef678;},a25_0x4028(_0x5bfb22,_0x20e928);}const awsSDK=require(a25_0x38aa72(0x222)),{logger}=require(a25_0x38aa72(0x1e6));exports[a25_0x38aa72(0x243)]=_0x581b2f=>{const _0x5e37db=a25_0x38aa72,_0x1da19c={'LajYr':function(_0x2aca8f,_0xc257af){return _0x2aca8f!==_0xc257af;},'iNXLH':function(_0x49e9af,_0xf51006){return _0x49e9af(_0xf51006);},'EXdet':function(_0x2d36da,_0x5d2666){return _0x2d36da===_0x5d2666;},'wiaqD':_0x5e37db(0x1e4),'NePkA':function(_0x43405a,_0x15b967){return _0x43405a(_0x15b967);},'EbMKP':function(_0x4d30f8,_0x30261d){return _0x4d30f8!==_0x30261d;},'XiAmD':_0x5e37db(0x1d4),'vQxDr':_0x5e37db(0x1c9),'aUmkR':'2016-11-15'};return new Promise((_0x506009,_0x521eca)=>{const _0x3e6194=_0x5e37db,_0x17725b={'aclVX':function(_0x3997f4,_0x3c0179){const _0x40d451=a25_0x4028;return _0x1da19c[_0x40d451(0x25f)](_0x3997f4,_0x3c0179);},'gluxf':function(_0x1e4e5f,_0x57ad0b){const _0x48eb67=a25_0x4028;return _0x1da19c[_0x48eb67(0x25f)](_0x1e4e5f,_0x57ad0b);},'GfCWd':function(_0x1eca5a,_0x2e95f6){const _0x22e830=a25_0x4028;return _0x1da19c[_0x22e830(0x24a)](_0x1eca5a,_0x2e95f6);},'TVfqX':function(_0x4083d7,_0x3bb2b6){const _0xff9fba=a25_0x4028;return _0x1da19c[_0xff9fba(0x252)](_0x4083d7,_0x3bb2b6);},'nlTos':_0x1da19c[_0x3e6194(0x1fa)]};if(_0x1da19c[_0x3e6194(0x252)](_0x1da19c[_0x3e6194(0x239)],_0x1da19c[_0x3e6194(0x239)])){const _0x3fadd2={};_0x3fadd2[_0x3e6194(0x1d1)]=_0x49ba56,_0x57304c['headBucket'](_0x3fadd2)['promise']()[_0x3e6194(0x22b)](_0x304e1e=>{const _0x212844=_0x3e6194;_0x41d20b[_0x212844(0x1fd)](_0x212844(0x23c)+_0x4535d6+_0x212844(0x232)),_0x17725b[_0x212844(0x1e3)](_0x34ba4e,!![]);})[_0x3e6194(0x235)](()=>{const _0xc7dae0=_0x3e6194;_0x1887b0[_0xc7dae0(0x213)]('Bucket:\x20'+_0x2978bf+_0xc7dae0(0x1e1)),_0x17725b[_0xc7dae0(0x1d2)](_0x3dcd37,![]);});}else{const _0x3744c9={};_0x3744c9[_0x3e6194(0x26f)]=_0x1da19c[_0x3e6194(0x1f0)],_0x3744c9[_0x3e6194(0x229)]=_0x581b2f;const _0x229731=new awsSDK[(_0x3e6194(0x214))](_0x3744c9);_0x229731[_0x3e6194(0x266)]()[_0x3e6194(0x265)]()[_0x3e6194(0x22b)](_0x2bd199=>{const _0xf1131c=_0x3e6194,_0x281c86={'ihUeK':function(_0x3ad7f0,_0x512561){const _0x1c7ae9=a25_0x4028;return _0x1da19c[_0x1c7ae9(0x247)](_0x3ad7f0,_0x512561);},'RWkUP':function(_0x1d5f70,_0x1208bd){const _0x1eda82=a25_0x4028;return _0x1da19c[_0x1eda82(0x25f)](_0x1d5f70,_0x1208bd);}};_0x1da19c[_0xf1131c(0x202)](_0x1da19c[_0xf1131c(0x1f9)],_0x1da19c[_0xf1131c(0x1f9)])?_0x1da19c[_0xf1131c(0x25f)](_0x506009,_0x2bd199):_0x281c86[_0xf1131c(0x264)](_0x5339a8,_0x43ecf3)&&_0x281c86['ihUeK'](_0x1613f2['Regions'],_0xa55c7a)?_0x281c86[_0xf1131c(0x20b)](_0x3e3e9e,_0x44af05[_0xf1131c(0x1f8)]):_0x281c86[_0xf1131c(0x20b)](_0x38d507,{});})[_0x3e6194(0x235)](_0x1088b1=>{const _0x300972=_0x3e6194,_0x2ee9d9={'adqOM':function(_0x678967,_0x56bd77){const _0x4e2373=a25_0x4028;return _0x17725b[_0x4e2373(0x230)](_0x678967,_0x56bd77);}};_0x17725b[_0x300972(0x261)](_0x17725b[_0x300972(0x21e)],_0x17725b[_0x300972(0x21e)])?_0x2ee9d9[_0x300972(0x1cc)](_0x174f17,_0x38cdeb):(logger['error'](_0x300972(0x1dc)+_0x1088b1),_0x17725b[_0x300972(0x230)](_0x521eca,_0x1088b1));});}});},exports[a25_0x38aa72(0x277)]=_0x10c40f=>{const _0x3a04a0=a25_0x38aa72,_0x5f1e07={'DjwWM':function(_0x3f8ed2,_0x469998){return _0x3f8ed2(_0x469998);},'RgSDi':function(_0x1fedaa,_0x3ca02c){return _0x1fedaa!==_0x3ca02c;},'MtWtt':_0x3a04a0(0x1ef),'TpkzW':_0x3a04a0(0x1ca),'JgqFY':function(_0x46e80f,_0x5c80b0){return _0x46e80f(_0x5c80b0);},'RfYiE':_0x3a04a0(0x218),'UZaBy':function(_0x2d4048,_0x5d7fd8){return _0x2d4048===_0x5d7fd8;},'YMcZa':'HNgoX','NMJtd':function(_0x148627,_0x45c5fc){return _0x148627(_0x45c5fc);},'HdLHs':_0x3a04a0(0x225),'OVTED':'uINxc'},_0x52b5ff=new awsSDK['S3']();return new Promise((_0x78bde3,_0x12a2b5)=>{const _0x307da4=_0x3a04a0,_0x506390={'tLjAe':function(_0x21ebac,_0x4298e3){const _0x5b56b5=a25_0x4028;return _0x5f1e07[_0x5b56b5(0x20f)](_0x21ebac,_0x4298e3);},'ITBQJ':_0x5f1e07['RfYiE'],'RBByJ':function(_0x3e8545,_0x598242){const _0x3b323c=a25_0x4028;return _0x5f1e07[_0x3b323c(0x1c7)](_0x3e8545,_0x598242);},'bUCwj':_0x5f1e07[_0x307da4(0x233)],'wBgcl':function(_0x1d45e2,_0x356f81){const _0x64fe42=_0x307da4;return _0x5f1e07[_0x64fe42(0x211)](_0x1d45e2,_0x356f81);}};if(_0x5f1e07[_0x307da4(0x1c7)](_0x5f1e07[_0x307da4(0x22e)],_0x5f1e07['OVTED']))_0x483ab1[_0x307da4(0x213)](_0x307da4(0x23c)+_0x257541+_0x307da4(0x1e1)),_0x506390['tLjAe'](_0x50aaff,![]);else{const _0x16f180={};_0x16f180[_0x307da4(0x1d1)]=_0x10c40f,_0x52b5ff[_0x307da4(0x1d0)](_0x16f180)[_0x307da4(0x265)]()[_0x307da4(0x22b)](_0x44ba8f=>{const _0x2fe40f=_0x307da4,_0x1cf32c={'btTHd':function(_0xbab786,_0x4501c8){const _0x2188fe=a25_0x4028;return _0x5f1e07[_0x2188fe(0x20f)](_0xbab786,_0x4501c8);}};_0x5f1e07[_0x2fe40f(0x245)](_0x5f1e07[_0x2fe40f(0x1fc)],_0x5f1e07[_0x2fe40f(0x24d)])?(logger[_0x2fe40f(0x1fd)](_0x2fe40f(0x23c)+_0x10c40f+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x5f1e07[_0x2fe40f(0x1ed)](_0x78bde3,!![])):(_0x2e66ba[_0x2fe40f(0x1d6)](_0x2fe40f(0x226)+_0x220a0d),_0x1cf32c[_0x2fe40f(0x275)](_0x40ff7b,_0x3f46c5));})[_0x307da4(0x235)](()=>{const _0x3e888c=_0x307da4;if(_0x506390[_0x3e888c(0x24c)](_0x506390['bUCwj'],_0x506390[_0x3e888c(0x1e9)]))logger['info']('Bucket:\x20'+_0x10c40f+_0x3e888c(0x1e1)),_0x506390[_0x3e888c(0x256)](_0x78bde3,![]);else{const _0xea332c={'aIBTK':function(_0x1d54e6,_0x264f2a){const _0x407997=_0x3e888c;return _0x506390[_0x407997(0x26e)](_0x1d54e6,_0x264f2a);},'urfxl':function(_0x23076e,_0x569c35){const _0x4ba579=_0x3e888c;return _0x506390[_0x4ba579(0x26e)](_0x23076e,_0x569c35);}},_0x5e4bda={};_0x5e4bda[_0x3e888c(0x26f)]=_0x506390['ITBQJ'],_0x5e4bda[_0x3e888c(0x229)]=_0x1ab3cd;const _0x26ed11=new _0x574bfa[(_0x3e888c(0x214))](_0x5e4bda);_0x26ed11[_0x3e888c(0x26d)]()[_0x3e888c(0x265)]()[_0x3e888c(0x22b)](_0x241dea=>{const _0x514b35=_0x3e888c;_0xea332c[_0x514b35(0x1f6)](_0x19072e,_0x241dea);})[_0x3e888c(0x235)](_0x15b4d3=>{const _0x517927=_0x3e888c;_0x568519[_0x517927(0x1d6)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x15b4d3),_0xea332c[_0x517927(0x24b)](_0x5935e5,_0x15b4d3);});}});}});},exports[a25_0x38aa72(0x272)]=_0x201e96=>{const _0xff8dc7=a25_0x38aa72,_0x2f62e8={'tcWJN':function(_0x591313,_0x5e1453){return _0x591313===_0x5e1453;},'nHxpO':_0xff8dc7(0x1d5),'JSxVZ':function(_0x29a498,_0x59e8f4){return _0x29a498(_0x59e8f4);},'xLDiL':function(_0x53c211,_0x4e4977){return _0x53c211(_0x4e4977);},'ImKKK':_0xff8dc7(0x218),'DUpXI':function(_0x2c8bee,_0x24d3bf){return _0x2c8bee!==_0x24d3bf;},'XUNry':_0xff8dc7(0x21c),'sTPrM':function(_0x3199f5,_0xaf0e91){return _0x3199f5!==_0xaf0e91;},'KOGme':'WhkyE'};return new Promise((_0xee3793,_0x143d7d)=>{const _0x2299c0=_0xff8dc7,_0x24b19d={'EOJfj':function(_0x3549a8,_0x35081f){const _0x524450=a25_0x4028;return _0x2f62e8[_0x524450(0x1df)](_0x3549a8,_0x35081f);},'nibKw':function(_0x93d850,_0x3c95e3){return _0x2f62e8['xLDiL'](_0x93d850,_0x3c95e3);},'WxooF':_0x2f62e8[_0x2299c0(0x1f4)],'sNBYo':function(_0x5d06e8,_0x51a79b){const _0x4b5b9e=_0x2299c0;return _0x2f62e8[_0x4b5b9e(0x23a)](_0x5d06e8,_0x51a79b);},'JByKK':_0x2f62e8[_0x2299c0(0x1cd)]};if(_0x2f62e8[_0x2299c0(0x263)](_0x2f62e8[_0x2299c0(0x1ce)],_0x2f62e8[_0x2299c0(0x1ce)]))_0x24b19d[_0x2299c0(0x221)](_0x3e927d,{});else{const _0x555ad3={};_0x555ad3[_0x2299c0(0x26f)]=_0x2f62e8['ImKKK'],_0x555ad3[_0x2299c0(0x229)]=_0x201e96;const _0x4b99d3=new awsSDK[(_0x2299c0(0x214))](_0x555ad3);_0x4b99d3[_0x2299c0(0x26d)]()[_0x2299c0(0x265)]()[_0x2299c0(0x22b)](_0x58104e=>{const _0x11e430=_0x2299c0;if(_0x2f62e8['tcWJN'](_0x2f62e8['nHxpO'],_0x2f62e8[_0x11e430(0x1f3)]))_0x2f62e8[_0x11e430(0x1c4)](_0xee3793,_0x58104e);else{const _0x471672={'EWXEC':function(_0x3b2a6f,_0x2fc987){const _0x31c2c4=_0x11e430;return _0x24b19d[_0x31c2c4(0x258)](_0x3b2a6f,_0x2fc987);},'PUOAp':_0x24b19d[_0x11e430(0x241)]};return new _0x4c9516((_0x30c73b,_0x3786b5)=>{const _0xee3465=_0x11e430,_0x399e72={'kLREs':function(_0x4978d0,_0x2029b7){return _0x471672['EWXEC'](_0x4978d0,_0x2029b7);}},_0x1d897a={};_0x1d897a['apiVersion']=_0x471672[_0xee3465(0x1de)],_0x1d897a['region']=_0x5136cb;const _0x55d8e8=new _0x39efbd[(_0xee3465(0x214))](_0x1d897a);_0x55d8e8[_0xee3465(0x26d)]()[_0xee3465(0x265)]()[_0xee3465(0x22b)](_0xee3b8=>{const _0xb4ecff=_0xee3465;_0x399e72[_0xb4ecff(0x1fb)](_0x30c73b,_0xee3b8);})[_0xee3465(0x235)](_0x564813=>{const _0x3fa08b=_0xee3465;_0x3adff2[_0x3fa08b(0x1d6)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x564813),_0x399e72[_0x3fa08b(0x1fb)](_0x3786b5,_0x564813);});});}})[_0x2299c0(0x235)](_0x2c66d4=>{const _0x4c269c=_0x2299c0,_0x50b7b9={'JppPd':function(_0x110222,_0x3f714c){const _0x13e2a8=a25_0x4028;return _0x24b19d[_0x13e2a8(0x221)](_0x110222,_0x3f714c);},'SgUoc':_0x24b19d[_0x4c269c(0x241)]};if(_0x24b19d['sNBYo'](_0x24b19d[_0x4c269c(0x23f)],_0x24b19d[_0x4c269c(0x23f)])){const _0x30dfb7={'tdeXa':function(_0x361756,_0x368d0d){const _0x1daa57=_0x4c269c;return _0x50b7b9[_0x1daa57(0x237)](_0x361756,_0x368d0d);},'pHVxg':_0x50b7b9[_0x4c269c(0x22a)]};return new _0x2051a4((_0x2e7f88,_0x2fb089)=>{const _0x22d25b=_0x4c269c,_0x99aeba={};_0x99aeba[_0x22d25b(0x26f)]=_0x30dfb7[_0x22d25b(0x255)],_0x99aeba[_0x22d25b(0x229)]=_0x4f5df3;const _0x321c9f=new _0x2d4f5f[(_0x22d25b(0x214))](_0x99aeba);_0x321c9f[_0x22d25b(0x266)]()['promise']()[_0x22d25b(0x22b)](_0x3caa9b=>{const _0x3dadf6=_0x22d25b;_0x30dfb7[_0x3dadf6(0x1d8)](_0x2e7f88,_0x3caa9b);})['catch'](_0x508040=>{const _0x27fb25=_0x22d25b;_0x3d91ba[_0x27fb25(0x1d6)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x508040),_0x30dfb7[_0x27fb25(0x1d8)](_0x2fb089,_0x508040);});});}else logger[_0x4c269c(0x1d6)](_0x4c269c(0x226)+_0x2c66d4),_0x24b19d[_0x4c269c(0x221)](_0x143d7d,_0x2c66d4);});}});},exports['fetchSecurityGroups']=_0x4cab6d=>{const _0x27fe6a=a25_0x38aa72,_0x65ba0c={'pOAVT':function(_0x54e3cb,_0x44a207){return _0x54e3cb(_0x44a207);},'VuuIs':function(_0x3db7eb,_0x3f008b){return _0x3db7eb!==_0x3f008b;},'mnHLB':_0x27fe6a(0x227),'FINUk':_0x27fe6a(0x228),'MqCio':function(_0x526b2a,_0x3cb6bd){return _0x526b2a(_0x3cb6bd);},'sHZnV':function(_0x422caf,_0x20e543){return _0x422caf===_0x20e543;},'xDsNM':'fFdQd','wEMUB':function(_0x173bf2,_0xca2c88){return _0x173bf2(_0xca2c88);},'dvfmm':_0x27fe6a(0x1e5),'qCEcz':'qgyyl','obMUc':_0x27fe6a(0x218)};return new Promise((_0x5baad9,_0x2cdc00)=>{const _0x36c324=_0x27fe6a,_0x5d08e6={'iBeZr':function(_0x6aee39,_0x317c20){const _0x54fbfb=a25_0x4028;return _0x65ba0c[_0x54fbfb(0x231)](_0x6aee39,_0x317c20);},'rchnA':function(_0x2bc3c3,_0x667bf9){const _0x1fc10f=a25_0x4028;return _0x65ba0c[_0x1fc10f(0x1eb)](_0x2bc3c3,_0x667bf9);},'rCKuu':_0x65ba0c[_0x36c324(0x251)],'axZIT':function(_0xf68243,_0x5dd8b6){const _0x1329d5=_0x36c324;return _0x65ba0c[_0x1329d5(0x250)](_0xf68243,_0x5dd8b6);}};if(_0x65ba0c['sHZnV'](_0x65ba0c[_0x36c324(0x22d)],_0x65ba0c[_0x36c324(0x1d7)]))_0x32e54b[_0x36c324(0x1fd)](_0x36c324(0x23c)+_0x1a3c02+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x65ba0c[_0x36c324(0x25c)](_0x61f9f,!![]);else{const _0x307fb8={};_0x307fb8[_0x36c324(0x26f)]=_0x65ba0c[_0x36c324(0x1db)],_0x307fb8[_0x36c324(0x229)]=_0x4cab6d;const _0x5bf155=new awsSDK[(_0x36c324(0x214))](_0x307fb8);_0x5bf155[_0x36c324(0x209)]()[_0x36c324(0x265)]()[_0x36c324(0x22b)](_0x4f16fc=>{const _0x59b090=_0x36c324;_0x5d08e6['rchnA'](_0x5d08e6[_0x59b090(0x21b)],_0x5d08e6[_0x59b090(0x21b)])?_0x5d08e6[_0x59b090(0x20d)](_0x5baad9,_0x4f16fc):(_0xb1578b[_0x59b090(0x1d6)](_0x59b090(0x234)+_0x37a0fc),_0x5d08e6[_0x59b090(0x205)](_0xb3433,_0x35a78d));})['catch'](_0x49cc66=>{const _0x2fa721=_0x36c324,_0x26a451={'mpdbx':function(_0x1b59db,_0x3902ee){return _0x65ba0c['pOAVT'](_0x1b59db,_0x3902ee);}};_0x65ba0c['VuuIs'](_0x65ba0c[_0x2fa721(0x26c)],_0x65ba0c[_0x2fa721(0x20a)])?(logger[_0x2fa721(0x1d6)](_0x2fa721(0x1e2)+_0x49cc66),_0x65ba0c[_0x2fa721(0x25c)](_0x2cdc00,_0x49cc66)):_0x26a451[_0x2fa721(0x21f)](_0x3db8a0,_0x4af791);});}});},exports['getAWSRegions']=()=>{const _0x207212=a25_0x38aa72,_0x3e8784={'ULNbU':function(_0x2e7531,_0x4e62c4){return _0x2e7531(_0x4e62c4);},'EBHJL':function(_0x57abc4,_0x102755){return _0x57abc4!==_0x102755;},'Xvyzy':_0x207212(0x23b),'LRRFM':function(_0x5c8004,_0x5cd6fa){return _0x5c8004(_0x5cd6fa);},'mXsaH':function(_0x1b223e,_0x26fdd2){return _0x1b223e(_0x26fdd2);},'osOBl':function(_0x217d33,_0x47bfd1){return _0x217d33(_0x47bfd1);},'JyNte':_0x207212(0x218),'YCNGo':function(_0x1c6b21,_0x4d687d){return _0x1c6b21!==_0x4d687d;},'kOhIh':_0x207212(0x1ff),'simqd':function(_0x56432a,_0x5d898b){return _0x56432a===_0x5d898b;},'nBsYC':_0x207212(0x1f2),'XAtKZ':_0x207212(0x25b),'phVDN':_0x207212(0x21d),'EXoNl':_0x207212(0x1c5),'tnEsM':function(_0x1975de,_0x4dcbae){return _0x1975de===_0x4dcbae;},'keCtG':_0x207212(0x276)};return new Promise((_0x2381e9,_0x1218ce)=>{const _0x3eb92a=_0x207212,_0x35543b={'xTLKf':function(_0x5a8871,_0x1cee08){const _0x430e45=a25_0x4028;return _0x3e8784[_0x430e45(0x1e0)](_0x5a8871,_0x1cee08);},'KfQvl':_0x3e8784['JyNte'],'jaFAP':function(_0xd9f156,_0x190678){const _0x392459=a25_0x4028;return _0x3e8784[_0x392459(0x260)](_0xd9f156,_0x190678);},'SDdtY':_0x3e8784[_0x3eb92a(0x217)],'xtoEe':function(_0x29825b,_0x470df3){const _0x21e37d=_0x3eb92a;return _0x3e8784[_0x21e37d(0x1ea)](_0x29825b,_0x470df3);},'XWcUD':_0x3e8784['nBsYC'],'UIWsf':_0x3e8784['XAtKZ'],'tSZXt':function(_0x4f73cc,_0xcdd34f){const _0x1d6ca3=_0x3eb92a;return _0x3e8784[_0x1d6ca3(0x207)](_0x4f73cc,_0xcdd34f);},'PqMqZ':function(_0xea96c4,_0x26336e){return _0x3e8784['YCNGo'](_0xea96c4,_0x26336e);},'KJXPk':_0x3e8784[_0x3eb92a(0x1e7)],'HPTFz':_0x3e8784[_0x3eb92a(0x1fe)],'lKutI':function(_0xdaf55c,_0x27c872){const _0x216781=_0x3eb92a;return _0x3e8784[_0x216781(0x207)](_0xdaf55c,_0x27c872);}};if(_0x3e8784[_0x3eb92a(0x257)](_0x3e8784[_0x3eb92a(0x1d3)],_0x3e8784['keCtG'])){const _0x5271a6={};_0x5271a6[_0x3eb92a(0x26f)]=_0x3e8784['JyNte'];const _0x458d51=new awsSDK[(_0x3eb92a(0x214))](_0x5271a6);_0x458d51['describeRegions']()[_0x3eb92a(0x265)]()[_0x3eb92a(0x22b)]((_0x31aad1,_0x2918c8)=>{const _0x4d6266=_0x3eb92a,_0x202e1f={'tVzqF':function(_0x39ee16,_0x2467a0){const _0x536548=a25_0x4028;return _0x35543b[_0x536548(0x208)](_0x39ee16,_0x2467a0);},'xIFIC':function(_0x7d0f43,_0x2ae5b7){return _0x35543b['xTLKf'](_0x7d0f43,_0x2ae5b7);},'eRreA':_0x35543b['KfQvl']};if(_0x35543b[_0x4d6266(0x220)](_0x35543b[_0x4d6266(0x267)],_0x35543b[_0x4d6266(0x267)])){const _0x1d54bd={'hsVwE':function(_0x4d1d5a,_0x351018){return _0x202e1f['tVzqF'](_0x4d1d5a,_0x351018);},'TbyaW':function(_0x4b43dc,_0x3476f7){const _0x30eb6a=_0x4d6266;return _0x202e1f[_0x30eb6a(0x203)](_0x4b43dc,_0x3476f7);},'XeCvb':_0x202e1f['eRreA']};return new _0x3a034c((_0xca3013,_0x4a941d)=>{const _0x4676ee=_0x4d6266,_0x46abe6={};_0x46abe6['apiVersion']=_0x1d54bd[_0x4676ee(0x1c2)],_0x46abe6[_0x4676ee(0x229)]=_0x1ad063;const _0x247957=new _0x2c5122['EC2'](_0x46abe6);_0x247957[_0x4676ee(0x209)]()[_0x4676ee(0x265)]()[_0x4676ee(0x22b)](_0x2fc2bd=>{const _0x29ac51=_0x4676ee;_0x1d54bd[_0x29ac51(0x224)](_0xca3013,_0x2fc2bd);})[_0x4676ee(0x235)](_0x5a0a6d=>{const _0x23623e=_0x4676ee;_0xfe38a1[_0x23623e(0x1d6)](_0x23623e(0x1e2)+_0x5a0a6d),_0x1d54bd[_0x23623e(0x24f)](_0x4a941d,_0x5a0a6d);});});}else _0x35543b['jaFAP'](_0x31aad1,undefined)&&_0x35543b['jaFAP'](_0x31aad1[_0x4d6266(0x1f8)],undefined)?_0x35543b[_0x4d6266(0x25e)](_0x35543b[_0x4d6266(0x20e)],_0x35543b[_0x4d6266(0x259)])?_0x202e1f['tVzqF'](_0x96eef1,_0xd71276[_0x4d6266(0x1f8)]):_0x35543b[_0x4d6266(0x22c)](_0x2381e9,_0x31aad1[_0x4d6266(0x1f8)]):_0x35543b[_0x4d6266(0x206)](_0x35543b[_0x4d6266(0x219)],_0x35543b[_0x4d6266(0x274)])?_0x35543b[_0x4d6266(0x1c8)](_0x2381e9,{}):(_0x4f80c9['error'](_0x4d6266(0x1da)+_0x1389ef+':\x20'+_0x15a8c6),_0x35543b[_0x4d6266(0x208)](_0x7adba,_0x220e44));})[_0x3eb92a(0x235)](_0x1b9751=>{const _0x4d4b3b=_0x3eb92a,_0x27bb92={'buFGH':function(_0x5868d7,_0x42a1e3){return _0x3e8784['ULNbU'](_0x5868d7,_0x42a1e3);}};_0x3e8784['EBHJL'](_0x3e8784['Xvyzy'],_0x3e8784['Xvyzy'])?(_0x30aa35[_0x4d4b3b(0x1d6)](_0x4d4b3b(0x1dc)+_0x1bbc06),_0x27bb92[_0x4d4b3b(0x26b)](_0x14bfb9,_0x48bea8)):(logger['error'](_0x4d4b3b(0x234)+_0x1b9751),_0x3e8784[_0x4d4b3b(0x242)](_0x1218ce,_0x1b9751));});}else _0x3e8784['mXsaH'](_0x22bebe,_0xb79297);});},exports['getOidcUrl']=_0x4a29e5=>{const _0x460eb8=a25_0x38aa72,_0x3bd9cd={'VpyrG':function(_0x31ed29,_0x57d332){return _0x31ed29(_0x57d332);},'frnvA':_0x460eb8(0x218),'rmcJV':'2017-11-01','dZaII':function(_0x4568ad,_0x396d36){return _0x4568ad!==_0x396d36;},'zrnpk':_0x460eb8(0x1f1),'WFrct':function(_0x3d21e6,_0x57a3fc){return _0x3d21e6(_0x57a3fc);},'lzTVC':function(_0x5e6729,_0x43ea00){return _0x5e6729===_0x43ea00;},'FOMAR':_0x460eb8(0x21a),'YQgJQ':function(_0x3d9204,_0x472916){return _0x3d9204(_0x472916);},'PaZWo':function(_0x40c10b,_0x78b946){return _0x40c10b===_0x78b946;},'rgVXO':_0x460eb8(0x25d),'afCAT':_0x460eb8(0x210)};return new Promise((_0x4b0a6c,_0x6c2a7e)=>{const _0x5fa916=_0x460eb8,_0x2b72c3={'CAPyc':function(_0x2a99f2,_0x47b4da){const _0x5d90d2=a25_0x4028;return _0x3bd9cd[_0x5d90d2(0x23d)](_0x2a99f2,_0x47b4da);},'kAcqY':_0x3bd9cd['rmcJV'],'ksKTg':function(_0x5009df,_0x5c779b){const _0x3b9a33=a25_0x4028;return _0x3bd9cd[_0x3b9a33(0x1cf)](_0x5009df,_0x5c779b);},'TxRFH':_0x3bd9cd['FOMAR'],'nRsot':function(_0x1b6378,_0x4948bb){const _0x27c8e5=a25_0x4028;return _0x3bd9cd[_0x27c8e5(0x1c3)](_0x1b6378,_0x4948bb);}};if(_0x3bd9cd[_0x5fa916(0x1e8)](_0x3bd9cd[_0x5fa916(0x23e)],_0x3bd9cd[_0x5fa916(0x212)])){const _0x54612a={'AiWHo':function(_0x3cdeac,_0x320571){return _0x3bd9cd['VpyrG'](_0x3cdeac,_0x320571);}},_0x312b61={};_0x312b61[_0x5fa916(0x26f)]=_0x3bd9cd[_0x5fa916(0x200)],_0x312b61[_0x5fa916(0x229)]=_0x507943;const _0x5c147f=new _0x5f08c4[(_0x5fa916(0x214))](_0x312b61);_0x5c147f[_0x5fa916(0x209)]()['promise']()[_0x5fa916(0x22b)](_0x15cc67=>{const _0x530d27=_0x5fa916;_0x54612a[_0x530d27(0x254)](_0x4b2249,_0x15cc67);})[_0x5fa916(0x235)](_0x3bd028=>{const _0x4cc64a=_0x5fa916;_0x187a65['error'](_0x4cc64a(0x1e2)+_0x3bd028),_0x2b72c3[_0x4cc64a(0x201)](_0x586719,_0x3bd028);});}else{const _0x4d9b58={};_0x4d9b58[_0x5fa916(0x26f)]=_0x3bd9cd[_0x5fa916(0x1ec)];const _0x4ffd2f=new awsSDK[(_0x5fa916(0x25a))](_0x4d9b58),_0x2fd975={};_0x2fd975[_0x5fa916(0x1f5)]=_0x4a29e5,_0x4ffd2f['describeCluster'](_0x2fd975)[_0x5fa916(0x265)]()[_0x5fa916(0x22b)](_0x37d3cd=>{const _0x58c077=_0x5fa916,_0x5cb460={'zkBbu':function(_0x270c9e,_0x39c698){const _0x231160=a25_0x4028;return _0x3bd9cd[_0x231160(0x223)](_0x270c9e,_0x39c698);},'VlzsF':_0x3bd9cd[_0x58c077(0x1ec)]};if(_0x3bd9cd[_0x58c077(0x238)](_0x3bd9cd['zrnpk'],_0x3bd9cd[_0x58c077(0x1f7)])){const _0x42d49e={'smcQG':function(_0x22f0f6,_0x1097a6){const _0xe67bea=_0x58c077;return _0x5cb460[_0xe67bea(0x262)](_0x22f0f6,_0x1097a6);},'mDyhO':function(_0x257562,_0x3af435){const _0x45375b=_0x58c077;return _0x5cb460[_0x45375b(0x262)](_0x257562,_0x3af435);},'ZWrew':_0x5cb460['VlzsF']};return new _0x429a63((_0x76341c,_0x39d0b5)=>{const _0x52306f=_0x58c077,_0x3b7634={'uXdUo':function(_0x1d2b1f,_0x48bbc5){const _0x180f88=a25_0x4028;return _0x42d49e[_0x180f88(0x246)](_0x1d2b1f,_0x48bbc5);}},_0x5d2590={};_0x5d2590[_0x52306f(0x26f)]=_0x42d49e[_0x52306f(0x1d9)];const _0x1ccf98=new _0x45b541['EKS'](_0x5d2590),_0x3898df={};_0x3898df[_0x52306f(0x1f5)]=_0x2ded50,_0x1ccf98[_0x52306f(0x204)](_0x3898df)[_0x52306f(0x265)]()[_0x52306f(0x22b)](_0x1f8a0e=>{const _0x117f33=_0x52306f;_0x42d49e[_0x117f33(0x240)](_0x76341c,_0x1f8a0e[_0x117f33(0x1c6)]['identity'][_0x117f33(0x244)]['issuer']);})[_0x52306f(0x235)](_0x4e27b4=>{const _0xe80861=_0x52306f;_0x226fec[_0xe80861(0x1d6)](_0xe80861(0x1da)+_0x101da4+':\x20'+_0x4e27b4),_0x3b7634[_0xe80861(0x268)](_0x39d0b5,_0x4e27b4);});});}else _0x3bd9cd[_0x58c077(0x223)](_0x4b0a6c,_0x37d3cd['cluster']['identity'][_0x58c077(0x244)]['issuer']);})[_0x5fa916(0x235)](_0x504466=>{const _0x870ee3=_0x5fa916,_0x361182={'pQCdZ':function(_0x2c4a91,_0x2308ff){const _0x467401=a25_0x4028;return _0x2b72c3[_0x467401(0x201)](_0x2c4a91,_0x2308ff);}};if(_0x2b72c3[_0x870ee3(0x216)](_0x2b72c3[_0x870ee3(0x271)],_0x2b72c3[_0x870ee3(0x271)]))logger[_0x870ee3(0x1d6)](_0x870ee3(0x1da)+_0x4a29e5+':\x20'+_0x504466),_0x2b72c3[_0x870ee3(0x26a)](_0x6c2a7e,_0x504466);else{const _0x1c989c={'gPrNQ':function(_0xbd4533,_0x350e82){const _0x5b8f0a=_0x870ee3;return _0x2b72c3[_0x5b8f0a(0x201)](_0xbd4533,_0x350e82);}},_0x4d7c49={};_0x4d7c49[_0x870ee3(0x26f)]=_0x2b72c3[_0x870ee3(0x1dd)];const _0x1cff60=new _0x4881a6[(_0x870ee3(0x25a))](_0x4d7c49),_0x265dde={};_0x265dde['name']=_0x4e0c87,_0x1cff60[_0x870ee3(0x204)](_0x265dde)[_0x870ee3(0x265)]()[_0x870ee3(0x22b)](_0x55377a=>{const _0x2dcaba=_0x870ee3;_0x1c989c[_0x2dcaba(0x273)](_0x363150,_0x55377a[_0x2dcaba(0x1c6)][_0x2dcaba(0x1cb)][_0x2dcaba(0x244)][_0x2dcaba(0x269)]);})[_0x870ee3(0x235)](_0x455a60=>{const _0x4535ab=_0x870ee3;_0x4692e8[_0x4535ab(0x1d6)](_0x4535ab(0x1da)+_0xb7f23b+':\x20'+_0x455a60),_0x361182[_0x4535ab(0x1c1)](_0x3000d8,_0x455a60);});}});}});},exports['awsObj']=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x151720=a26_0x45ad;(function(_0x45f626,_0x5c7579){const _0xb51767=a26_0x45ad,_0x576c81=_0x45f626();while(!![]){try{const _0x347f03=-parseInt(_0xb51767(0x205))/0x1+parseInt(_0xb51767(0x1dd))/0x2+parseInt(_0xb51767(0x1f5))/0x3+parseInt(_0xb51767(0x1fc))/0x4*(-parseInt(_0xb51767(0x1da))/0x5)+-parseInt(_0xb51767(0x207))/0x6+parseInt(_0xb51767(0x20f))/0x7*(parseInt(_0xb51767(0x1e6))/0x8)+parseInt(_0xb51767(0x1fa))/0x9;if(_0x347f03===_0x5c7579)break;else _0x576c81['push'](_0x576c81['shift']());}catch(_0x4581fb){_0x576c81['push'](_0x576c81['shift']());}}}(a26_0x378c,0x4d4f8));const fs=require('fs'),path=require(a26_0x151720(0x1fd)),yaml=require(a26_0x151720(0x1ff)),{CLOUDFORMATION_SCHEMA}=require(a26_0x151720(0x1f2)),Promise=require(a26_0x151720(0x1fe)),AWS=require(a26_0x151720(0x201))[a26_0x151720(0x1df)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x151720(0x1db)),{logger}=require(a26_0x151720(0x1ea));function a26_0x378c(){const _0x1c2e82=['StackName','./AWSUtils','browserstack:creationDate','apiVersion','createStack','390833xLdTcT','utf-8','1051596DFXiIP','createAutoscalerStack','toString','CloudFormation','push','Tags','StackId','readFileAsync','7NfWzge','OXKZK','debug','3645jGefBQ','../config/constants','stackCreateComplete','293344CNERjm','PKYDr','awsObj','TDZxR','CAPABILITY_NAMED_IAM','join','2010-05-15','valueOf','XMozk','4014008KoHqbp','Parameters','autoscaler-role-creation.yaml','Value','../config/logger','TemplateBody','Properties','FKofj','DELETE','OnFailure','Resources','SgpwK','js-yaml-cloudformation-schema','nuqwJ','browserstack:cluster','881445mLYvDD','Capabilities','promise','hxKjf','BviEt','4884111gBDnUP','VIXwJ','3304bvrEWA','path','bluebird','js-yaml'];a26_0x378c=function(){return _0x1c2e82;};return a26_0x378c();}Promise['promisifyAll'](fs);function a26_0x45ad(_0x1ba3d3,_0x33dd40){const _0x378c12=a26_0x378c();return a26_0x45ad=function(_0x45ad67,_0xdc004c){_0x45ad67=_0x45ad67-0x1d9;let _0x322fe3=_0x378c12[_0x45ad67];return _0x322fe3;},a26_0x45ad(_0x1ba3d3,_0x33dd40);}const addAutoscalerTags=async(_0x1bc27b,_0x514782,_0x2a766c)=>{const _0x410182=a26_0x151720;for(const _0x48b567 in _0x1bc27b[_0x410182(0x1f0)]){_0x1bc27b[_0x410182(0x1f0)][_0x48b567][_0x410182(0x1ec)]&&_0x1bc27b[_0x410182(0x1f0)][_0x48b567][_0x410182(0x1ec)][_0x410182(0x20c)]&&_0x1bc27b['Resources'][_0x48b567][_0x410182(0x1ec)][_0x410182(0x20c)][_0x410182(0x20b)](..._0x2a766c);}};exports[a26_0x151720(0x208)]=async _0x441489=>{const _0x1a4587=a26_0x151720,_0x43287f={'nuqwJ':_0x1a4587(0x1f4),'BviEt':_0x1a4587(0x202),'PKYDr':_0x1a4587(0x1e3),'FKofj':'templates','SgpwK':_0x1a4587(0x1e8),'VIXwJ':_0x1a4587(0x206),'TEpel':function(_0x447698,_0x54203d,_0x4cc06c,_0x58a8bc){return _0x447698(_0x54203d,_0x4cc06c,_0x58a8bc);},'YxSWo':_0x1a4587(0x1ee),'hxKjf':'ClusterName','OXKZK':_0x1a4587(0x1e1),'TDZxR':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','XMozk':_0x1a4587(0x1dc)},_0x19a6b3=COMMON_HST_TAGS,_0x5b9d7a={};_0x5b9d7a['Key']=_0x43287f[_0x1a4587(0x1f3)],_0x5b9d7a[_0x1a4587(0x1e9)]=_0x441489,_0x19a6b3[_0x1a4587(0x20b)](_0x5b9d7a),_0x19a6b3[_0x1a4587(0x20b)]({'Key':_0x43287f[_0x1a4587(0x1f9)],'Value':new Date()[_0x1a4587(0x1e4)]()[_0x1a4587(0x209)]()});const _0x30a198={};_0x30a198[_0x1a4587(0x203)]=_0x43287f[_0x1a4587(0x1de)];const _0x5cd654=new AWS[(_0x1a4587(0x20a))](_0x30a198),_0x169f64=await fs[_0x1a4587(0x20e)](path[_0x1a4587(0x1e2)](__dirname,'..',_0x43287f[_0x1a4587(0x1ed)],_0x43287f[_0x1a4587(0x1f1)]),_0x43287f[_0x1a4587(0x1fb)]),_0x1af3a0={};_0x1af3a0['schema']=CLOUDFORMATION_SCHEMA;const _0x553910=yaml['load'](_0x169f64,_0x1af3a0);_0x43287f['TEpel'](addAutoscalerTags,_0x553910,_0x441489,_0x19a6b3);const _0xefd76a=JSON['stringify'](_0x553910),_0x33114e={};_0x33114e[_0x1a4587(0x200)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x441489,_0x33114e[_0x1a4587(0x1ef)]=_0x43287f['YxSWo'],_0x33114e[_0x1a4587(0x1eb)]=_0xefd76a,_0x33114e[_0x1a4587(0x1e7)]=[{'ParameterKey':_0x43287f[_0x1a4587(0x1f8)],'ParameterValue':_0x441489}],_0x33114e[_0x1a4587(0x1f6)]=[_0x43287f[_0x1a4587(0x210)]],_0x33114e[_0x1a4587(0x20c)]=_0x19a6b3;const _0x5be62c=_0x33114e,_0x3011f0=await _0x5cd654[_0x1a4587(0x204)](_0x5be62c)[_0x1a4587(0x1f7)]();logger[_0x1a4587(0x1d9)](_0x43287f[_0x1a4587(0x1e0)]);const _0x25891a={};return _0x25891a[_0x1a4587(0x200)]=_0x3011f0[_0x1a4587(0x20d)],_0x5cd654['waitFor'](_0x43287f[_0x1a4587(0x1e5)],_0x25891a)[_0x1a4587(0x1f7)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a27_0x2120(_0x58d93a,_0x2bca35){const _0x4730a3=a27_0x4730();return a27_0x2120=function(_0x2120cd,_0x14e7ab){_0x2120cd=_0x2120cd-0x105;let _0x52a441=_0x4730a3[_0x2120cd];return _0x52a441;},a27_0x2120(_0x58d93a,_0x2bca35);}const a27_0x2bb902=a27_0x2120;(function(_0x1b3c32,_0x12ccf3){const _0x520339=a27_0x2120,_0x5ddc7e=_0x1b3c32();while(!![]){try{const _0x42e470=-parseInt(_0x520339(0x12b))/0x1+-parseInt(_0x520339(0x11e))/0x2+-parseInt(_0x520339(0x13f))/0x3*(parseInt(_0x520339(0x157))/0x4)+-parseInt(_0x520339(0x18a))/0x5*(-parseInt(_0x520339(0x168))/0x6)+-parseInt(_0x520339(0x159))/0x7+parseInt(_0x520339(0x148))/0x8*(parseInt(_0x520339(0x176))/0x9)+parseInt(_0x520339(0x1c0))/0xa;if(_0x42e470===_0x12ccf3)break;else _0x5ddc7e['push'](_0x5ddc7e['shift']());}catch(_0x597928){_0x5ddc7e['push'](_0x5ddc7e['shift']());}}}(a27_0x4730,0x90605));const fs=require('fs'),path=require(a27_0x2bb902(0x1b5)),Promise=require(a27_0x2bb902(0x10c)),yaml=require(a27_0x2bb902(0x113)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),AWS=require(a27_0x2bb902(0x1a4))[a27_0x2bb902(0x1bf)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x2bb902(0x10e)),{logger}=require(a27_0x2bb902(0x138)),{isBucketPresent}=require(a27_0x2bb902(0x1a4));Promise[a27_0x2bb902(0x14b)](fs);const mergeTemplates=(_0x2adb6c,_0x136e41)=>{const _0x48877d=a27_0x2bb902,_0x19dbf8={'FxzWa':function(_0x20f9ec,_0x4c45c6){return _0x20f9ec(_0x4c45c6);},'pAaFU':function(_0x3e88d8,_0x1525ac,_0x1ba8e7){return _0x3e88d8(_0x1525ac,_0x1ba8e7);},'XwtGQ':function(_0x565ce1,_0x5926bb){return _0x565ce1!==_0x5926bb;},'gFfGV':_0x48877d(0x19a),'jAEYm':function(_0x3c5d30,_0x3f475a){return _0x3c5d30!==_0x3f475a;},'xTRFW':_0x48877d(0x182)};Object[_0x48877d(0x193)](_0x136e41)[_0x48877d(0x1b9)](_0x18cf95=>{const _0x5ec73d=_0x48877d,_0x4274c5={'RLQBL':function(_0x46401c,_0x41193b,_0x11e8c1){return _0x19dbf8['pAaFU'](_0x46401c,_0x41193b,_0x11e8c1);},'daDjR':function(_0x2f661f,_0x4f5b0c){const _0x26836=a27_0x2120;return _0x19dbf8[_0x26836(0x188)](_0x2f661f,_0x4f5b0c);},'exbNU':_0x19dbf8[_0x5ec73d(0x194)]};if(_0x19dbf8[_0x5ec73d(0x17f)](_0x19dbf8['xTRFW'],_0x19dbf8[_0x5ec73d(0x158)])){const _0x5317a5={'ABlOf':function(_0x572edf,_0x1e9b8c){const _0x44ea7f=_0x5ec73d;return _0x19dbf8[_0x44ea7f(0x128)](_0x572edf,_0x1e9b8c);}};let _0x4b364f=0x1;_0x47d996[_0x5ec73d(0x1b9)](_0x2a13c6=>{const _0x59ff12=_0x5ec73d;_0xb07282[_0x59ff12(0x12a)][_0x59ff12(0x195)]({'ParameterKey':_0x59ff12(0x1ba)+_0x5317a5[_0x59ff12(0x16b)](_0x53efd0,_0x4b364f)[_0x59ff12(0x1af)](0x2,'0'),'ParameterValue':_0x2a13c6[_0x59ff12(0x14c)]}),_0x4b364f+=0x1;});}else{var _0x28f791=_0x136e41[_0x18cf95];Object[_0x5ec73d(0x193)](_0x28f791)[_0x5ec73d(0x1b9)](_0x49c063=>{const _0x5b0d8d=_0x5ec73d,_0x5cf5fb={'XMrdi':function(_0x206728,_0x407b5b,_0xe766b3){const _0x5a3360=a27_0x2120;return _0x4274c5[_0x5a3360(0x172)](_0x206728,_0x407b5b,_0xe766b3);}};_0x4274c5['daDjR'](_0x4274c5['exbNU'],_0x4274c5[_0x5b0d8d(0x111)])?_0x5cf5fb[_0x5b0d8d(0x18c)](_0x691abd,_0x5e74ff,_0x2d3406):_0x2adb6c[_0x18cf95][_0x49c063]=_0x28f791[_0x49c063];});}});},addVPCData=async(_0x544bd7,_0x55aee1)=>{const _0x296217=a27_0x2bb902,_0x83138={'WZSvM':function(_0x562ffb,_0x1c1580){return _0x562ffb(_0x1c1580);},'futZh':function(_0x1aa46d,_0x25d371){return _0x1aa46d!==_0x25d371;},'tlPHa':'Kdozg','wvrWY':'CFTemplates','HlrFB':_0x296217(0x121),'Eahmo':'utf-8','rchxh':function(_0x195e4c,_0x333df0,_0x5de915){return _0x195e4c(_0x333df0,_0x5de915);},'SCXec':'AWS::CloudFormation::Interface','ULJww':'VPC','NTCYY':function(_0x3885ae,_0x2291a1){return _0x3885ae!==_0x2291a1;},'qoXYX':_0x296217(0x1b3),'mfsRQ':_0x296217(0x1ae),'CKbYt':_0x296217(0x197),'CdOFp':_0x296217(0x11b)};if(_0x55aee1){if(_0x83138[_0x296217(0x137)](_0x83138[_0x296217(0x132)],_0x83138[_0x296217(0x132)]))_0x51e394[_0x296217(0x12a)][_0x296217(0x195)]({'ParameterKey':_0x296217(0x1ba)+_0x83138[_0x296217(0x150)](_0x17b8da,_0x1bca49)['padStart'](0x2,'0'),'ParameterValue':_0x36bf2c[_0x296217(0x14c)]}),_0x3a976f+=0x1;else{const _0x31c21e=await fs[_0x296217(0x181)](path['join'](__dirname,'..',_0x83138['wvrWY'],_0x83138[_0x296217(0x19e)]),_0x83138['Eahmo']),_0x1508d3={};_0x1508d3[_0x296217(0x145)]=CLOUDFORMATION_SCHEMA;const _0x54f97a=yaml[_0x296217(0x186)](_0x31c21e,_0x1508d3);_0x83138[_0x296217(0x17e)](mergeTemplates,_0x544bd7,_0x54f97a),_0x544bd7[_0x296217(0x116)][_0x83138[_0x296217(0x107)]][_0x296217(0x1c7)][0x0]['Parameters'][_0x296217(0x195)](_0x83138[_0x296217(0x18b)]);}}else{if(_0x83138[_0x296217(0x1b0)](_0x83138['qoXYX'],_0x83138[_0x296217(0x167)])){const _0x1c66bf=await fs[_0x296217(0x181)](path[_0x296217(0x1ab)](__dirname,'..',_0x83138[_0x296217(0x152)],_0x83138[_0x296217(0x15f)]),_0x83138[_0x296217(0x119)]),_0x5df126={};_0x5df126[_0x296217(0x145)]=CLOUDFORMATION_SCHEMA;const _0x3fca6a=yaml[_0x296217(0x186)](_0x1c66bf,_0x5df126);_0x83138[_0x296217(0x17e)](mergeTemplates,_0x544bd7,_0x3fca6a),_0x544bd7[_0x296217(0x116)][_0x83138['SCXec']][_0x296217(0x1c7)][0x0][_0x296217(0x12a)][_0x296217(0x195)](_0x83138['CdOFp']);}else _0x593eab[_0x296217(0x1c6)][_0x57326b][_0x296217(0x13a)][_0x296217(0x177)][_0x296217(0x195)](..._0x1f5ffa);}},addS3Data=async _0x5b5c40=>{const _0x37e7fa=a27_0x2bb902,_0x2cce51={'NoHxO':_0x37e7fa(0x13d),'bOOTb':'CFTemplates','ywSCc':_0x37e7fa(0x1ad),'JUbiS':'utf-8','FtEYH':function(_0x3ee237,_0x9da044){return _0x3ee237(_0x9da044);},'kESYh':function(_0x4542fc,_0x29f3c6){return _0x4542fc===_0x29f3c6;},'JIXoe':function(_0x2bf3e7,_0x3bf2bc){return _0x2bf3e7!==_0x3bf2bc;},'XWAAf':_0x37e7fa(0x1bd),'SmfEx':_0x37e7fa(0x114),'bDzjk':function(_0x228de5,_0x1cc58b,_0x50d655){return _0x228de5(_0x1cc58b,_0x50d655);}},_0xf25d9=await fs['readFileAsync'](path[_0x37e7fa(0x1ab)](__dirname,'..',_0x2cce51[_0x37e7fa(0x166)],_0x2cce51[_0x37e7fa(0x165)]),_0x2cce51['JUbiS']),_0x373306={};_0x373306[_0x37e7fa(0x145)]=CLOUDFORMATION_SCHEMA;const _0x3c7925=yaml[_0x37e7fa(0x186)](_0xf25d9,_0x373306),_0x2d15ef=await _0x2cce51[_0x37e7fa(0x10f)](isBucketPresent,global_registry[_0x37e7fa(0x13b)]);if(_0x2cce51['kESYh'](_0x2d15ef,![])){if(_0x2cce51[_0x37e7fa(0x151)](_0x2cce51['XWAAf'],_0x2cce51[_0x37e7fa(0x17c)]))_0x2cce51[_0x37e7fa(0x16e)](mergeTemplates,_0x5b5c40,_0x3c7925);else{const _0x13ad05={};_0x13ad05[_0x37e7fa(0x174)]=_0x2cce51[_0x37e7fa(0x142)],_0x13ad05[_0x37e7fa(0x14a)]=_0x96335d,_0x424d1d[_0x37e7fa(0x12a)][_0x37e7fa(0x195)](_0x13ad05);}}},addSubnetData=async(_0x4ff526,_0xc304d)=>{const _0x529bba=a27_0x2bb902,_0x27070a={'jhyuv':'NodeGroup','gEMik':_0x529bba(0x11f),'ZWUrG':function(_0x2cc397,_0x16d722){return _0x2cc397!==_0x16d722;},'CqgeE':_0x529bba(0x1a0),'LXoiw':_0x529bba(0x1c4),'tZYTD':_0x529bba(0x139),'BClrT':function(_0xc3fc7e,_0x367d31){return _0xc3fc7e(_0x367d31);},'XoEXd':function(_0x5893bf,_0x52fed3){return _0x5893bf(_0x52fed3);},'YajKJ':_0x529bba(0x1a7),'jROAx':function(_0x1db2ef,_0x3232b8){return _0x1db2ef!==_0x3232b8;},'qwQvi':'ACfXd','cEQsI':_0x529bba(0x175),'jDOIn':'subnet-import.yaml','CCZRp':_0x529bba(0x108),'NGllx':function(_0x1d4b89,_0x19aec3,_0x3becb7){return _0x1d4b89(_0x19aec3,_0x3becb7);},'JOpJW':'BBybA','FMlMY':_0x529bba(0x1b7),'QHbQK':_0x529bba(0x185),'ggDgI':function(_0x2e7a9d,_0x436515,_0x1f35ae){return _0x2e7a9d(_0x436515,_0x1f35ae);},'CpAbt':_0x529bba(0x164),'UvBKJ':_0x529bba(0x133),'kkUcf':_0x529bba(0x117),'Uglpc':_0x529bba(0x125),'doNaV':_0x529bba(0x192),'JSNAG':_0x529bba(0x1b6)};if(_0xc304d){if(_0x27070a[_0x529bba(0x17d)](_0x27070a[_0x529bba(0x153)],_0x27070a[_0x529bba(0x153)]))_0x511ed1[_0x529bba(0x193)](_0x5f529d)[_0x529bba(0x1b9)](_0x500631=>{const _0x540997=_0x529bba;var _0x1d4da6=_0x1d5b24[_0x500631];_0x4c90fd[_0x540997(0x193)](_0x1d4da6)[_0x540997(0x1b9)](_0x541ac4=>{_0x58d64c[_0x500631][_0x541ac4]=_0x1d4da6[_0x541ac4];});});else{const _0x4f8eb9=await fs[_0x529bba(0x181)](path[_0x529bba(0x1ab)](__dirname,'..',_0x27070a[_0x529bba(0x11d)],_0x27070a[_0x529bba(0x19c)]),_0x27070a[_0x529bba(0x129)]),_0x321d30={};_0x321d30['schema']=CLOUDFORMATION_SCHEMA;const _0x1106ff=yaml['load'](_0x4f8eb9,_0x321d30);_0x27070a['NGllx'](mergeTemplates,_0x4ff526,_0x1106ff);let _0x43ef06=0x1;_0xc304d[_0x529bba(0x1b9)](_0x2e2df7=>{const _0x35edd7=_0x529bba,_0x1c336e={};_0x1c336e[_0x35edd7(0x1a9)]=_0x27070a['jhyuv'],_0x1c336e[_0x35edd7(0x1bb)]=_0x27070a[_0x35edd7(0x1a3)];const _0x1f0d25=_0x1c336e;if(_0x27070a[_0x35edd7(0x16a)](_0x27070a[_0x35edd7(0x1ac)],_0x27070a[_0x35edd7(0x1ac)])){for(const _0x6e85d7 in _0x5eca78[_0x35edd7(0x1c6)]){_0x72d4a4[_0x35edd7(0x1c6)][_0x6e85d7][_0x35edd7(0x13a)]&&_0x5eee80[_0x35edd7(0x1c6)][_0x6e85d7][_0x35edd7(0x13a)]['Tags']&&_0x4e2bef[_0x35edd7(0x1c6)][_0x6e85d7]['Properties'][_0x35edd7(0x177)][_0x35edd7(0x195)](..._0x1c2dcb);}const _0xebe790={};_0x312204[_0x35edd7(0x1b9)](_0x49db31=>{const _0x7002f0=_0x35edd7;_0xebe790[_0x49db31[_0x7002f0(0x1c1)]]=_0x49db31['Value'];}),_0x29d542[_0x35edd7(0x1c6)][_0x1f0d25[_0x35edd7(0x1a9)]]['Properties'][_0x35edd7(0x177)]=_0xebe790,_0x1a665b['Resources'][_0x1f0d25[_0x35edd7(0x1bb)]][_0x35edd7(0x13a)][_0x35edd7(0x177)]=_0xebe790;}else{const _0x5ece0a=_0x27070a[_0x35edd7(0x131)][_0x35edd7(0x12e)]('|');let _0x6712ef=0x0;while(!![]){switch(_0x5ece0a[_0x6712ef++]){case'0':_0x43ef06+=0x1;continue;case'1':_0x4ff526[_0x35edd7(0x116)][_0x27070a['tZYTD']][_0x35edd7(0x1c7)][0x0][_0x35edd7(0x12a)][_0x35edd7(0x195)]('Subnet'+_0x27070a[_0x35edd7(0x161)](String,_0x43ef06)[_0x35edd7(0x1af)](0x2,'0'));continue;case'2':_0x4ff526[_0x35edd7(0x1c6)][_0x35edd7(0x1c5)][_0x35edd7(0x13a)][_0x35edd7(0x196)]['SubnetIds'][_0x35edd7(0x195)]({'Ref':_0x35edd7(0x1ba)+_0x27070a['BClrT'](String,_0x43ef06)[_0x35edd7(0x1af)](0x2,'0')});continue;case'3':_0x4ff526[_0x35edd7(0x1c6)]['NodeGroup']['Properties'][_0x35edd7(0x122)][_0x35edd7(0x195)]({'Ref':_0x35edd7(0x1ba)+_0x27070a[_0x35edd7(0x161)](String,_0x43ef06)[_0x35edd7(0x1af)](0x2,'0')});continue;case'4':_0x4ff526[_0x35edd7(0x1c6)]['NodeGroupWindows']['Properties'][_0x35edd7(0x122)][_0x35edd7(0x195)]({'Ref':_0x35edd7(0x1ba)+_0x27070a[_0x35edd7(0x18d)](String,_0x43ef06)['padStart'](0x2,'0')});continue;case'5':_0x4ff526[_0x35edd7(0x14f)][_0x35edd7(0x1a5)][_0x35edd7(0x15c)][_0x27070a[_0x35edd7(0x1c8)]][0x1][_0x35edd7(0x195)]({'Ref':_0x35edd7(0x1ba)+_0x27070a[_0x35edd7(0x161)](String,_0x43ef06)[_0x35edd7(0x1af)](0x2,'0')});continue;}break;}}});}}else{if(_0x27070a[_0x529bba(0x16a)](_0x27070a[_0x529bba(0x189)],_0x27070a[_0x529bba(0x11c)])){const _0x1cbf00=await fs[_0x529bba(0x181)](path[_0x529bba(0x1ab)](__dirname,'..',_0x27070a['cEQsI'],_0x27070a[_0x529bba(0x147)]),_0x27070a['CCZRp']),_0x158a77={};_0x158a77[_0x529bba(0x145)]=CLOUDFORMATION_SCHEMA;const _0x287833=yaml[_0x529bba(0x186)](_0x1cbf00,_0x158a77);_0x27070a[_0x529bba(0x13e)](mergeTemplates,_0x4ff526,_0x287833),_0x4ff526[_0x529bba(0x1c6)][_0x529bba(0x1c5)]['DependsOn']['push'](_0x27070a[_0x529bba(0x144)],_0x27070a[_0x529bba(0x1c2)],_0x27070a[_0x529bba(0x1b1)]);const _0x4d7cc6={};_0x4d7cc6[_0x529bba(0x18f)]=_0x27070a[_0x529bba(0x144)];const _0xf54f2={};_0xf54f2['Ref']=_0x27070a[_0x529bba(0x1c2)];const _0x1d49f3={};_0x1d49f3['Ref']=_0x27070a[_0x529bba(0x1b1)],_0x4ff526['Resources'][_0x529bba(0x1c5)][_0x529bba(0x13a)][_0x529bba(0x196)][_0x529bba(0x1a5)]=[_0x4d7cc6,_0xf54f2,_0x1d49f3],_0x4ff526[_0x529bba(0x116)][_0x27070a['tZYTD']][_0x529bba(0x1c7)][0x0][_0x529bba(0x12a)][_0x529bba(0x195)](_0x27070a['Uglpc'],_0x27070a[_0x529bba(0x16f)],_0x27070a[_0x529bba(0x1a2)]);const _0x1d4761={};_0x1d4761[_0x529bba(0x18f)]=_0x27070a['CpAbt'];const _0x36bd0b={};_0x36bd0b['Ref']=_0x27070a['UvBKJ'];const _0x473871={};_0x473871['Ref']=_0x27070a[_0x529bba(0x1b1)],_0x4ff526[_0x529bba(0x1c6)][_0x529bba(0x160)][_0x529bba(0x13a)]['Subnets']=[_0x1d4761,_0x36bd0b,_0x473871];const _0x35e7d2={};_0x35e7d2[_0x529bba(0x18f)]=_0x27070a[_0x529bba(0x144)];const _0x1c40ad={};_0x1c40ad[_0x529bba(0x18f)]=_0x27070a['UvBKJ'];const _0x3a5655={};_0x3a5655['Ref']=_0x27070a[_0x529bba(0x1b1)],_0x4ff526[_0x529bba(0x1c6)]['NodeGroupWindows'][_0x529bba(0x13a)][_0x529bba(0x122)]=[_0x35e7d2,_0x1c40ad,_0x3a5655],_0x4ff526[_0x529bba(0x14f)][_0x529bba(0x1a5)][_0x529bba(0x15c)][_0x27070a['YajKJ']][0x1]=[{'Ref':_0x27070a[_0x529bba(0x144)]},{'Ref':_0x27070a[_0x529bba(0x1c2)]},{'Ref':_0x27070a[_0x529bba(0x1b1)]}];}else _0x2cf634[_0xe1c81c[_0x529bba(0x1c1)]]=_0x23bd1b[_0x529bba(0x15c)];}},addTags=async(_0x19c28f,_0x3a8dac,_0x25a419)=>{const _0x45655c=a27_0x2bb902,_0x340798={'mbiPK':'2|0|1|5|3|4','pgGku':_0x45655c(0x139),'wdsqY':function(_0x292d1c,_0x3fa7c5){return _0x292d1c(_0x3fa7c5);},'rfyiq':function(_0x2e8a27,_0x4e3af6){return _0x2e8a27(_0x4e3af6);},'gHGYT':_0x45655c(0x1a7),'bbxpc':function(_0x468893,_0x58dce4){return _0x468893!==_0x58dce4;},'eCiWH':_0x45655c(0x140),'ncpSB':function(_0x74611,_0x15039d){return _0x74611===_0x15039d;},'TbWZZ':'QLVvV','GQDXC':_0x45655c(0x190),'KTPab':function(_0x58f760,_0x1722e0){return _0x58f760!==_0x1722e0;},'ecxim':_0x45655c(0x149),'RUWCc':_0x45655c(0x160),'mYoNb':'NodeGroupWindows'};for(const _0x5c1fd0 in _0x19c28f['Resources']){if(_0x340798[_0x45655c(0x170)](_0x340798[_0x45655c(0x178)],_0x340798[_0x45655c(0x123)]))_0xccea85[_0x20795c][_0x3b2c54]=_0x2f62db[_0x2ea96d];else{if(_0x19c28f['Resources'][_0x5c1fd0][_0x45655c(0x13a)]&&_0x19c28f[_0x45655c(0x1c6)][_0x5c1fd0][_0x45655c(0x13a)][_0x45655c(0x177)]){if(_0x340798[_0x45655c(0x1b2)](_0x340798[_0x45655c(0x109)],_0x340798['ecxim'])){var _0x3ca5cf=_0x2e19fb[_0x852341];_0x1bc598[_0x45655c(0x193)](_0x3ca5cf)[_0x45655c(0x1b9)](_0x4c72ae=>{_0x4789d4[_0x2504c8][_0x4c72ae]=_0x3ca5cf[_0x4c72ae];});}else _0x19c28f['Resources'][_0x5c1fd0]['Properties']['Tags'][_0x45655c(0x195)](..._0x25a419);}}}const _0x21021c={};_0x25a419[_0x45655c(0x1b9)](_0x488dde=>{const _0x513f68=_0x45655c,_0xcd42d2={'xhZSe':_0x340798[_0x513f68(0x1be)],'eRQKC':_0x340798[_0x513f68(0x180)],'KqRur':function(_0x1e7231,_0x50e4b6){const _0x182da5=_0x513f68;return _0x340798[_0x182da5(0x169)](_0x1e7231,_0x50e4b6);},'PnqoT':function(_0x495a8a,_0x4e982b){return _0x340798['rfyiq'](_0x495a8a,_0x4e982b);},'ptEGo':_0x340798[_0x513f68(0x198)],'mDrPA':function(_0x17f4cd,_0x3069bf){const _0x15f0a6=_0x513f68;return _0x340798[_0x15f0a6(0x12c)](_0x17f4cd,_0x3069bf);}};if(_0x340798[_0x513f68(0x12f)](_0x340798[_0x513f68(0x126)],_0x340798['eCiWH'])){const _0x5ec382=_0xcd42d2[_0x513f68(0x12d)]['split']('|');let _0x1cfc0f=0x0;while(!![]){switch(_0x5ec382[_0x1cfc0f++]){case'0':_0x1bbaca[_0x513f68(0x116)][_0xcd42d2[_0x513f68(0x10d)]][_0x513f68(0x1c7)][0x0][_0x513f68(0x12a)]['push'](_0x513f68(0x1ba)+_0xcd42d2[_0x513f68(0x14d)](_0x4aa358,_0x458364)[_0x513f68(0x1af)](0x2,'0'));continue;case'1':_0x509398[_0x513f68(0x1c6)]['NodeGroup']['Properties'][_0x513f68(0x122)][_0x513f68(0x195)]({'Ref':_0x513f68(0x1ba)+_0xcd42d2['PnqoT'](_0x2a3925,_0x5caf59)[_0x513f68(0x1af)](0x2,'0')});continue;case'2':_0x2152b4['Resources'][_0x513f68(0x1c5)][_0x513f68(0x13a)][_0x513f68(0x196)][_0x513f68(0x1a5)][_0x513f68(0x195)]({'Ref':_0x513f68(0x1ba)+_0xcd42d2[_0x513f68(0x15d)](_0x299ef7,_0x1f6f41)[_0x513f68(0x1af)](0x2,'0')});continue;case'3':_0xb0ddec[_0x513f68(0x14f)][_0x513f68(0x1a5)]['Value'][_0xcd42d2['ptEGo']][0x1]['push']({'Ref':_0x513f68(0x1ba)+_0xcd42d2[_0x513f68(0x136)](_0x8d5692,_0x1cc4bf)[_0x513f68(0x1af)](0x2,'0')});continue;case'4':_0x88284f+=0x1;continue;case'5':_0x34f6c9[_0x513f68(0x1c6)][_0x513f68(0x11f)][_0x513f68(0x13a)]['Subnets'][_0x513f68(0x195)]({'Ref':_0x513f68(0x1ba)+_0xcd42d2[_0x513f68(0x15d)](_0x4b7419,_0x2e8275)[_0x513f68(0x1af)](0x2,'0')});continue;}break;}}else _0x21021c[_0x488dde[_0x513f68(0x1c1)]]=_0x488dde[_0x513f68(0x15c)];}),_0x19c28f[_0x45655c(0x1c6)][_0x340798[_0x45655c(0x173)]][_0x45655c(0x13a)][_0x45655c(0x177)]=_0x21021c,_0x19c28f[_0x45655c(0x1c6)][_0x340798[_0x45655c(0x143)]][_0x45655c(0x13a)][_0x45655c(0x177)]=_0x21021c;};function a27_0x4730(){const _0x5940c2=['DkwQk','EMbIg','Metadata','Subnet03','stackCreateComplete','Eahmo','SefIh','VpcBlock','FMlMY','cEQsI','280082nXeeHV','NodeGroupWindows','CAPABILITY_NAMED_IAM','vpc-import.yaml','Subnets','GQDXC','NodeGroupNameWindows','Subnet01Block','eCiWH','createStack','FxzWa','CCZRp','Parameters','833124fqeBrk','rfyiq','xhZSe','split','bbxpc','yWsBT','LXoiw','tlPHa','Subnet02','NodeAutoScalingGroupMinSize','apiVersion','mDrPA','futZh','../config/logger','AWS::CloudFormation::Interface','Properties','s3Bucket','ysgCb','VPC','ggDgI','17832kijZLr','zeGUS','uEQnz','NoHxO','mYoNb','CpAbt','schema','CloudFormation','QHbQK','16zdgbWt','aimTq','ParameterValue','promisifyAll','value','KqRur','browserstack:cluster','Outputs','WZSvM','JIXoe','wvrWY','qwQvi','promise','S3BucketName','qyTAM','720YlemKS','xTRFW','3907876FXPWNT','StackId','jUzZi','Value','PnqoT','JjSGZ','CKbYt','NodeGroup','BClrT','IsZeg','uyYiu','Subnet01','ywSCc','bOOTb','mfsRQ','1343418oKGqFn','wdsqY','ZWUrG','ABlOf','2010-05-15','xzvyO','bDzjk','doNaV','ncpSB','jGeSn','RLQBL','RUWCc','ParameterKey','CFTemplates','4068801MXRMPs','Tags','TbWZZ','NXJdS','TwHSq','KmVOD','SmfEx','jROAx','rchxh','jAEYm','pgGku','readFileAsync','UZvhD','TemplateBody','NodeAutoScalingGroupDesiredSizeWindows','subnet-create.yaml','load','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','XwtGQ','JOpJW','5XKOUDo','ULJww','XMrdi','XoEXd','UDhpf','Ref','AYZaB','BOXGS','Subnet02Block','keys','gFfGV','push','ResourcesVpcConfig','vpc-create.yaml','gHGYT','ami','BBrLt','fXCen','jDOIn','NodeImageId','HlrFB','aws-eks-cluster-dep.yaml','GiuAV','StackName','JSNAG','gEMik','./AWSUtils','SubnetIds','tmODr','Fn::Join','stringify','gdisU','NodeInstanceType','join','CqgeE','s3-create.yaml','rNsIR','padStart','NTCYY','kkUcf','KTPab','EqDVM','valueOf','path','Subnet03Block','uWYyy','GLNKv','forEach','Subnet','BQBRU','dRyjM','QqYjJ','mbiPK','awsObj','20646370lwpLfc','Key','UvBKJ','DELETE','2|1|3|4|5|0','EKSCluster','Resources','ParameterGroups','YajKJ','NodeAutoScalingGroupMinSizeWindows','GSYct','SCXec','utf-8','ecxim','PQBGG','NodeAutoScalingGroupMaxSize','bluebird','eRQKC','../config/constants','FtEYH','browserstack:creationDate','exbNU','ClusterName','js-yaml'];a27_0x4730=function(){return _0x5940c2;};return a27_0x4730();}exports['createClusterStack']=async(_0x1de666,_0x2c77bf,_0x33627c,_0x340af5=null,_0x4167d2=null)=>{const _0x40880b=a27_0x2bb902,_0x2f21ed={'EMbIg':function(_0x4b35bc,_0x538414){return _0x4b35bc(_0x538414);},'uyYiu':_0x40880b(0x14e),'jeVyg':_0x40880b(0x110),'weGXI':_0x40880b(0x16c),'tmODr':'CFTemplates','MdAjc':_0x40880b(0x19f),'dRyjM':_0x40880b(0x108),'wnwTT':function(_0x12dec2,_0x3448e1,_0x2dc6e4){return _0x12dec2(_0x3448e1,_0x2dc6e4);},'SefIh':function(_0x11effd,_0x1c6cb5){return _0x11effd(_0x1c6cb5);},'yWsBT':function(_0x488a8f,_0x190e0b,_0x4ddaaf,_0x599bd1){return _0x488a8f(_0x190e0b,_0x4ddaaf,_0x599bd1);},'NXJdS':_0x40880b(0x1c3),'fXCen':_0x40880b(0x112),'GLNKv':'NodeGroupName','cczgj':_0x40880b(0x134),'TwHSq':_0x40880b(0x105),'GSYct':_0x40880b(0x184),'qyTAM':_0x40880b(0x10b),'jGeSn':_0x40880b(0x19d),'IsZeg':_0x40880b(0x1aa),'UDhpf':_0x40880b(0x155),'jUzZi':_0x40880b(0x124),'ysgCb':_0x40880b(0x120),'PQBGG':function(_0x5074cd,_0xe6bc72){return _0x5074cd!=_0xe6bc72;},'HEwSB':function(_0x4c5129,_0x484722){return _0x4c5129!==_0x484722;},'IvgKo':function(_0xd4b2ba,_0x43edff){return _0xd4b2ba===_0x43edff;},'JjSGZ':'MdDXo','KmVOD':_0x40880b(0x13d),'xzvyO':function(_0x251ec6,_0x2dee7a){return _0x251ec6!==_0x2dee7a;},'uEQnz':_0x40880b(0x187),'BOXGS':_0x40880b(0x118)},_0x24fefc=COMMON_HST_TAGS,_0x2e57f0={};_0x2e57f0[_0x40880b(0x1c1)]=_0x2f21ed[_0x40880b(0x163)],_0x2e57f0[_0x40880b(0x15c)]=_0x1de666,_0x24fefc[_0x40880b(0x195)](_0x2e57f0),_0x24fefc[_0x40880b(0x195)]({'Key':_0x2f21ed['jeVyg'],'Value':new Date()[_0x40880b(0x1b4)]()['toString']()});const _0x2c24db={};_0x2c24db[_0x40880b(0x135)]=_0x2f21ed['weGXI'];const _0x3e39da=new AWS[(_0x40880b(0x146))](_0x2c24db),_0x4badde=await fs[_0x40880b(0x181)](path['join'](__dirname,'..',_0x2f21ed[_0x40880b(0x1a6)],_0x2f21ed['MdAjc']),_0x2f21ed[_0x40880b(0x1bc)]),_0x8f8f1b={};_0x8f8f1b['schema']=CLOUDFORMATION_SCHEMA;const _0x417893=yaml[_0x40880b(0x186)](_0x4badde,_0x8f8f1b);await _0x2f21ed['wnwTT'](addVPCData,_0x417893,_0x340af5),await _0x2f21ed[_0x40880b(0x11a)](addS3Data,_0x417893),await _0x2f21ed['wnwTT'](addSubnetData,_0x417893,_0x4167d2),await _0x2f21ed[_0x40880b(0x130)](addTags,_0x417893,_0x1de666,_0x24fefc);const _0x59823f=JSON[_0x40880b(0x1a8)](_0x417893),_0x186e2c={};_0x186e2c[_0x40880b(0x1a1)]=CLUSTER_DEP_STACK_NAME+'-'+_0x1de666,_0x186e2c['OnFailure']=_0x2f21ed[_0x40880b(0x179)],_0x186e2c[_0x40880b(0x183)]=_0x59823f,_0x186e2c[_0x40880b(0x12a)]=[{'ParameterKey':_0x2f21ed[_0x40880b(0x19b)],'ParameterValue':_0x1de666},{'ParameterKey':_0x2f21ed[_0x40880b(0x1b8)],'ParameterValue':_0x1de666+'-NodeGroup'},{'ParameterKey':_0x2f21ed['cczgj'],'ParameterValue':''+_0x2c77bf},{'ParameterKey':_0x2f21ed[_0x40880b(0x17a)],'ParameterValue':'0'},{'ParameterKey':_0x2f21ed[_0x40880b(0x106)],'ParameterValue':'1'},{'ParameterKey':_0x2f21ed[_0x40880b(0x156)],'ParameterValue':''+_0x33627c},{'ParameterKey':_0x2f21ed[_0x40880b(0x171)],'ParameterValue':global_registry[_0x40880b(0x199)]},{'ParameterKey':_0x2f21ed[_0x40880b(0x162)],'ParameterValue':global_registry['instanceType']},{'ParameterKey':_0x2f21ed[_0x40880b(0x18e)],'ParameterValue':global_registry['s3Bucket']},{'ParameterKey':_0x2f21ed[_0x40880b(0x15b)],'ParameterValue':_0x1de666+'-Windows-NodeGroup'}],_0x186e2c['Capabilities']=[_0x2f21ed[_0x40880b(0x13c)]],_0x186e2c[_0x40880b(0x177)]=_0x24fefc;const _0x17b451=_0x186e2c;if(_0x2f21ed['PQBGG'](_0x340af5,null)&&_0x2f21ed['HEwSB'](_0x340af5,undefined)){if(_0x2f21ed['IvgKo'](_0x2f21ed[_0x40880b(0x15e)],_0x2f21ed[_0x40880b(0x15e)])){const _0x134165={};_0x134165[_0x40880b(0x174)]=_0x2f21ed[_0x40880b(0x17b)],_0x134165[_0x40880b(0x14a)]=_0x340af5,_0x17b451['Parameters'][_0x40880b(0x195)](_0x134165);}else _0x4209ec[_0x40880b(0x1c6)][_0x2c30b2][_0x40880b(0x13a)]&&_0x207058[_0x40880b(0x1c6)][_0x343908]['Properties'][_0x40880b(0x177)]&&_0xe6578[_0x40880b(0x1c6)][_0xf2e782][_0x40880b(0x13a)][_0x40880b(0x177)][_0x40880b(0x195)](..._0x1b6cbb);}if(_0x2f21ed[_0x40880b(0x10a)](_0x4167d2,null)&&_0x2f21ed[_0x40880b(0x16d)](_0x4167d2,undefined)){let _0x2bd1f8=0x1;_0x4167d2[_0x40880b(0x1b9)](_0x6254b8=>{const _0x137f22=_0x40880b;_0x17b451['Parameters']['push']({'ParameterKey':'Subnet'+_0x2f21ed[_0x137f22(0x115)](String,_0x2bd1f8)['padStart'](0x2,'0'),'ParameterValue':_0x6254b8['value']}),_0x2bd1f8+=0x1;});}const _0x233593=await _0x3e39da[_0x40880b(0x127)](_0x17b451)[_0x40880b(0x154)]();logger['debug'](_0x2f21ed[_0x40880b(0x141)]);const _0x5f435c={};return _0x5f435c[_0x40880b(0x1a1)]=_0x233593[_0x40880b(0x15a)],_0x3e39da['waitFor'](_0x2f21ed[_0x40880b(0x191)],_0x5f435c)[_0x40880b(0x154)]();};
|
|
1
|
+
const a27_0x271d4b=a27_0x5cd9;function a27_0x5cd9(_0x51b93f,_0x1ff212){const _0x119a42=a27_0x119a();return a27_0x5cd9=function(_0x5cd90b,_0x24afe3){_0x5cd90b=_0x5cd90b-0x1a4;let _0x3bb5f3=_0x119a42[_0x5cd90b];return _0x3bb5f3;},a27_0x5cd9(_0x51b93f,_0x1ff212);}(function(_0xc0107c,_0xd84cec){const _0x635c1a=a27_0x5cd9,_0x4b20b8=_0xc0107c();while(!![]){try{const _0x286129=parseInt(_0x635c1a(0x236))/0x1+parseInt(_0x635c1a(0x23b))/0x2*(parseInt(_0x635c1a(0x1f1))/0x3)+parseInt(_0x635c1a(0x1c9))/0x4*(parseInt(_0x635c1a(0x1f4))/0x5)+-parseInt(_0x635c1a(0x203))/0x6*(parseInt(_0x635c1a(0x20a))/0x7)+parseInt(_0x635c1a(0x1e8))/0x8*(-parseInt(_0x635c1a(0x221))/0x9)+parseInt(_0x635c1a(0x1cd))/0xa+parseInt(_0x635c1a(0x1a4))/0xb*(parseInt(_0x635c1a(0x22b))/0xc);if(_0x286129===_0xd84cec)break;else _0x4b20b8['push'](_0x4b20b8['shift']());}catch(_0x4897e6){_0x4b20b8['push'](_0x4b20b8['shift']());}}}(a27_0x119a,0xbbbdc));const fs=require('fs'),path=require('path'),Promise=require(a27_0x271d4b(0x23f)),yaml=require(a27_0x271d4b(0x20b)),{CLOUDFORMATION_SCHEMA}=require(a27_0x271d4b(0x228)),AWS=require(a27_0x271d4b(0x1ad))[a27_0x271d4b(0x246)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x271d4b(0x214)),{logger}=require('../config/logger'),{isBucketPresent}=require(a27_0x271d4b(0x1ad));Promise['promisifyAll'](fs);const mergeTemplates=(_0x4aca8e,_0x49995c)=>{const _0x91c104=a27_0x271d4b,_0x1b3ccf={};_0x1b3ccf['hTalR']=function(_0x3b2e70,_0x1be400){return _0x3b2e70!==_0x1be400;},_0x1b3ccf[_0x91c104(0x1fc)]=_0x91c104(0x1f9),_0x1b3ccf[_0x91c104(0x1b5)]='wGZRL',_0x1b3ccf['RfGNU']=function(_0x56ae38,_0x3238a4){return _0x56ae38!==_0x3238a4;},_0x1b3ccf['toFBH']=_0x91c104(0x1dc);const _0x598fe7=_0x1b3ccf;Object[_0x91c104(0x1fd)](_0x49995c)[_0x91c104(0x22f)](_0x4fb21c=>{const _0x92b899=_0x91c104,_0x302b33={'OqHFq':function(_0x172c86,_0x4a48f2){const _0x38e395=a27_0x5cd9;return _0x598fe7[_0x38e395(0x248)](_0x172c86,_0x4a48f2);},'IGDHL':_0x598fe7[_0x92b899(0x1fc)],'CvBEq':_0x598fe7['XSaXx']};if(_0x598fe7['RfGNU'](_0x598fe7[_0x92b899(0x1df)],_0x598fe7[_0x92b899(0x1df)]))_0x5342fb[_0x92b899(0x1fd)](_0x455fb9)[_0x92b899(0x22f)](_0x5d8df3=>{const _0x1afcc2=_0x92b899;var _0x58e029=_0x1dddc0[_0x5d8df3];_0x296ef9[_0x1afcc2(0x1fd)](_0x58e029)[_0x1afcc2(0x22f)](_0x2db9cb=>{_0x27cff2[_0x5d8df3][_0x2db9cb]=_0x58e029[_0x2db9cb];});});else{var _0x1c0598=_0x49995c[_0x4fb21c];Object['keys'](_0x1c0598)['forEach'](_0x490f03=>{const _0x2b0e97=_0x92b899;if(_0x302b33[_0x2b0e97(0x22e)](_0x302b33[_0x2b0e97(0x1b4)],_0x302b33[_0x2b0e97(0x247)]))_0x4aca8e[_0x4fb21c][_0x490f03]=_0x1c0598[_0x490f03];else{var _0x26e1ee=_0x50bdfe[_0x1bfcf8];_0x48a1c7[_0x2b0e97(0x1fd)](_0x26e1ee)['forEach'](_0x1bee7f=>{_0x19699f[_0x1f8fb8][_0x1bee7f]=_0x26e1ee[_0x1bee7f];});}});}});},addVPCData=async(_0x43e5c0,_0x2edb5a)=>{const _0x417146=a27_0x271d4b,_0x157bda={'pkXbR':_0x417146(0x24f),'IjKXl':_0x417146(0x229),'trRec':function(_0x3e7c7b,_0x5a2008){return _0x3e7c7b(_0x5a2008);},'qfHdD':function(_0x1d70e4,_0xff5ff2){return _0x1d70e4!==_0xff5ff2;},'jAJaz':_0x417146(0x20d),'xZWCh':_0x417146(0x252),'AZpQV':_0x417146(0x215),'eFIxz':_0x417146(0x1c0),'FETdn':function(_0x24ae80,_0x602925,_0x424f29){return _0x24ae80(_0x602925,_0x424f29);},'UyXAb':_0x417146(0x1bd),'kHFxA':_0x417146(0x1a5),'TODWw':function(_0x33f91d,_0x29ae77){return _0x33f91d!==_0x29ae77;},'WIuwR':_0x417146(0x253),'cDclo':'KkoQL','VYlfi':_0x417146(0x1d9),'oSnWS':_0x417146(0x1a6)};if(_0x2edb5a){if(_0x157bda[_0x417146(0x1f5)](_0x157bda[_0x417146(0x241)],_0x157bda[_0x417146(0x241)])){for(const _0x4d998f in _0x510f61[_0x417146(0x207)]){_0x26c16e[_0x417146(0x207)][_0x4d998f][_0x417146(0x25c)]&&_0x294b84[_0x417146(0x207)][_0x4d998f]['Properties'][_0x417146(0x237)]&&_0x3a92c8[_0x417146(0x207)][_0x4d998f][_0x417146(0x25c)]['Tags'][_0x417146(0x250)](..._0xf6cb6f);}const _0x481aae={};_0x1ef099[_0x417146(0x22f)](_0x1b77f2=>{const _0x326f20=_0x417146;_0x481aae[_0x1b77f2[_0x326f20(0x255)]]=_0x1b77f2[_0x326f20(0x1bc)];}),_0x25fca1[_0x417146(0x207)][_0x157bda[_0x417146(0x20c)]][_0x417146(0x25c)]['Tags']=_0x481aae,_0x33938a[_0x417146(0x207)][_0x157bda[_0x417146(0x208)]][_0x417146(0x25c)][_0x417146(0x237)]=_0x481aae;}else{const _0x2264d7=await fs[_0x417146(0x1da)](path[_0x417146(0x233)](__dirname,'..',_0x157bda['xZWCh'],_0x157bda[_0x417146(0x25d)]),_0x157bda[_0x417146(0x220)]),_0x3de0e2={};_0x3de0e2['schema']=CLOUDFORMATION_SCHEMA;const _0x126cc5=yaml['load'](_0x2264d7,_0x3de0e2);_0x157bda[_0x417146(0x1ee)](mergeTemplates,_0x43e5c0,_0x126cc5),_0x43e5c0[_0x417146(0x243)][_0x157bda['UyXAb']][_0x417146(0x258)][0x0][_0x417146(0x24a)]['push'](_0x157bda[_0x417146(0x24d)]);}}else{if(_0x157bda['TODWw'](_0x157bda[_0x417146(0x1a8)],_0x157bda[_0x417146(0x25e)])){const _0x48e7be=await fs[_0x417146(0x1da)](path[_0x417146(0x233)](__dirname,'..',_0x157bda[_0x417146(0x1cf)],_0x157bda['VYlfi']),_0x157bda[_0x417146(0x220)]),_0x56d8b4={};_0x56d8b4['schema']=CLOUDFORMATION_SCHEMA;const _0x105f81=yaml[_0x417146(0x1e0)](_0x48e7be,_0x56d8b4);_0x157bda[_0x417146(0x1ee)](mergeTemplates,_0x43e5c0,_0x105f81),_0x43e5c0[_0x417146(0x243)][_0x157bda['UyXAb']]['ParameterGroups'][0x0]['Parameters'][_0x417146(0x250)](_0x157bda[_0x417146(0x218)]);}else{let _0x50a8ca=0x1;_0x1082ae[_0x417146(0x22f)](_0x3731e9=>{const _0x43a3e8=_0x417146;_0x22f75c[_0x43a3e8(0x24a)][_0x43a3e8(0x250)]({'ParameterKey':'Subnet'+_0x157bda[_0x43a3e8(0x225)](_0x42f4c5,_0x50a8ca)[_0x43a3e8(0x1c6)](0x2,'0'),'ParameterValue':_0x3731e9[_0x43a3e8(0x21d)]}),_0x50a8ca+=0x1;});}}},addS3Data=async _0x3f8569=>{const _0x34b9e7=a27_0x271d4b,_0x1e230c={'cskbH':function(_0x50330b,_0x326cef){return _0x50330b(_0x326cef);},'eELfd':_0x34b9e7(0x252),'HrctI':'s3-create.yaml','aFxSK':_0x34b9e7(0x1c0),'VWaGH':function(_0x1a566b,_0x3e9ba7){return _0x1a566b(_0x3e9ba7);},'aPyGr':function(_0x8b7bbb,_0x202b17){return _0x8b7bbb===_0x202b17;},'TLFaL':_0x34b9e7(0x1d5),'PJGos':_0x34b9e7(0x1db),'PwjgM':function(_0x341286,_0x4afee5,_0xc5a088){return _0x341286(_0x4afee5,_0xc5a088);}},_0x23464c=await fs[_0x34b9e7(0x1da)](path[_0x34b9e7(0x233)](__dirname,'..',_0x1e230c[_0x34b9e7(0x1b7)],_0x1e230c[_0x34b9e7(0x1b3)]),_0x1e230c[_0x34b9e7(0x1ff)]),_0x54e0f4={};_0x54e0f4['schema']=CLOUDFORMATION_SCHEMA;const _0x5d1e39=yaml[_0x34b9e7(0x1e0)](_0x23464c,_0x54e0f4),_0x4c13d5=await _0x1e230c[_0x34b9e7(0x1cc)](isBucketPresent,global_registry[_0x34b9e7(0x1a9)]);_0x1e230c[_0x34b9e7(0x1ce)](_0x4c13d5,![])&&(_0x1e230c[_0x34b9e7(0x1ce)](_0x1e230c[_0x34b9e7(0x227)],_0x1e230c[_0x34b9e7(0x1f2)])?(_0x3fabc5['Parameters'][_0x34b9e7(0x250)]({'ParameterKey':'Subnet'+_0x1e230c[_0x34b9e7(0x1bb)](_0x3156ba,_0x2af704)[_0x34b9e7(0x1c6)](0x2,'0'),'ParameterValue':_0x2e1341[_0x34b9e7(0x21d)]}),_0x5b376e+=0x1):_0x1e230c[_0x34b9e7(0x1b0)](mergeTemplates,_0x3f8569,_0x5d1e39));},addSubnetData=async(_0x4b6f89,_0x24370d)=>{const _0x18f598=a27_0x271d4b,_0x1c1cdf={'jcNKJ':function(_0x44e54c,_0x2bef9a){return _0x44e54c!==_0x2bef9a;},'OiXFg':'crmGc','yXhyr':'0|1|5|4|2|3','TgqYi':function(_0x2f50bb,_0xaf0563){return _0x2f50bb(_0xaf0563);},'SbJqh':_0x18f598(0x1bd),'aXPSy':function(_0x17a606,_0x393980){return _0x17a606(_0x393980);},'vBFoH':_0x18f598(0x1ac),'JDgbS':function(_0x3ce46b,_0x65e6d4){return _0x3ce46b(_0x65e6d4);},'KKnWk':function(_0x2520da,_0x33e8b9){return _0x2520da(_0x33e8b9);},'zqGie':function(_0x168bd5,_0x2fe68c){return _0x168bd5(_0x2fe68c);},'aXyfn':function(_0x1e22ef,_0x43405e){return _0x1e22ef===_0x43405e;},'jfbxo':_0x18f598(0x20e),'JVLUw':'CFTemplates','VMFIh':_0x18f598(0x1d2),'FAkWj':_0x18f598(0x1c0),'kBaux':function(_0x312912,_0x122b84,_0x2fddf2){return _0x312912(_0x122b84,_0x2fddf2);},'HMwzk':_0x18f598(0x1e9),'YkDCA':_0x18f598(0x259),'iidIt':'Subnet01','jfjBD':_0x18f598(0x1ae),'RroAp':_0x18f598(0x23a),'vSwkP':_0x18f598(0x231),'AMTqp':_0x18f598(0x1aa),'CeBDl':_0x18f598(0x1d8)};if(_0x24370d){if(_0x1c1cdf[_0x18f598(0x222)](_0x1c1cdf[_0x18f598(0x254)],_0x1c1cdf[_0x18f598(0x254)])){const _0xeca223=await fs['readFileAsync'](path[_0x18f598(0x233)](__dirname,'..',_0x1c1cdf[_0x18f598(0x1f0)],_0x1c1cdf['VMFIh']),_0x1c1cdf[_0x18f598(0x240)]),_0x5a56db={};_0x5a56db[_0x18f598(0x257)]=CLOUDFORMATION_SCHEMA;const _0x240164=yaml[_0x18f598(0x1e0)](_0xeca223,_0x5a56db);_0x1c1cdf[_0x18f598(0x1be)](mergeTemplates,_0x4b6f89,_0x240164);let _0x499254=0x1;_0x24370d[_0x18f598(0x22f)](_0x42e49c=>{const _0x137fa5=_0x18f598;if(_0x1c1cdf['jcNKJ'](_0x1c1cdf[_0x137fa5(0x224)],_0x1c1cdf[_0x137fa5(0x224)]))_0x19fbb7[_0x33f5b9[_0x137fa5(0x255)]]=_0x2c642b[_0x137fa5(0x1bc)];else{const _0x3ef827=_0x1c1cdf['yXhyr'][_0x137fa5(0x249)]('|');let _0x44a6f3=0x0;while(!![]){switch(_0x3ef827[_0x44a6f3++]){case'0':_0x4b6f89[_0x137fa5(0x207)][_0x137fa5(0x211)][_0x137fa5(0x25c)]['ResourcesVpcConfig'][_0x137fa5(0x1b2)][_0x137fa5(0x250)]({'Ref':_0x137fa5(0x1e3)+_0x1c1cdf[_0x137fa5(0x256)](String,_0x499254)[_0x137fa5(0x1c6)](0x2,'0')});continue;case'1':_0x4b6f89[_0x137fa5(0x243)][_0x1c1cdf[_0x137fa5(0x21b)]][_0x137fa5(0x258)][0x0][_0x137fa5(0x24a)][_0x137fa5(0x250)](_0x137fa5(0x1e3)+_0x1c1cdf[_0x137fa5(0x1ca)](String,_0x499254)[_0x137fa5(0x1c6)](0x2,'0'));continue;case'2':_0x4b6f89['Outputs']['SubnetIds'][_0x137fa5(0x1bc)][_0x1c1cdf['vBFoH']][0x1]['push']({'Ref':_0x137fa5(0x1e3)+_0x1c1cdf[_0x137fa5(0x1c8)](String,_0x499254)['padStart'](0x2,'0')});continue;case'3':_0x499254+=0x1;continue;case'4':_0x4b6f89[_0x137fa5(0x207)][_0x137fa5(0x229)]['Properties']['Subnets'][_0x137fa5(0x250)]({'Ref':_0x137fa5(0x1e3)+_0x1c1cdf[_0x137fa5(0x20f)](String,_0x499254)[_0x137fa5(0x1c6)](0x2,'0')});continue;case'5':_0x4b6f89['Resources']['NodeGroup'][_0x137fa5(0x25c)][_0x137fa5(0x1c2)][_0x137fa5(0x250)]({'Ref':'Subnet'+_0x1c1cdf[_0x137fa5(0x23d)](String,_0x499254)[_0x137fa5(0x1c6)](0x2,'0')});continue;}break;}}});}else _0x300df3[_0xc97c52][_0x207fb1]=_0x209d72[_0x302707];}else{if(_0x1c1cdf['jcNKJ'](_0x1c1cdf[_0x18f598(0x23e)],_0x1c1cdf[_0x18f598(0x23e)]))_0x3b781f[_0x18f598(0x207)][_0x1c5278][_0x18f598(0x25c)]&&_0x5c6e62[_0x18f598(0x207)][_0x384436][_0x18f598(0x25c)][_0x18f598(0x237)]&&_0x715eb4[_0x18f598(0x207)][_0x4c2204][_0x18f598(0x25c)]['Tags']['push'](..._0x31f89e);else{const _0x19642c=await fs[_0x18f598(0x1da)](path['join'](__dirname,'..',_0x1c1cdf[_0x18f598(0x1f0)],_0x1c1cdf['YkDCA']),_0x1c1cdf['FAkWj']),_0x3fb7f2={};_0x3fb7f2[_0x18f598(0x257)]=CLOUDFORMATION_SCHEMA;const _0x4e0451=yaml['load'](_0x19642c,_0x3fb7f2);_0x1c1cdf[_0x18f598(0x1be)](mergeTemplates,_0x4b6f89,_0x4e0451),_0x4b6f89[_0x18f598(0x207)][_0x18f598(0x211)][_0x18f598(0x24e)]['push'](_0x1c1cdf[_0x18f598(0x1e1)],_0x1c1cdf[_0x18f598(0x234)],_0x1c1cdf[_0x18f598(0x1e2)]);const _0x451ba3={};_0x451ba3['Ref']=_0x1c1cdf['iidIt'];const _0x34c4c4={};_0x34c4c4[_0x18f598(0x212)]=_0x1c1cdf[_0x18f598(0x234)];const _0x59fe62={};_0x59fe62[_0x18f598(0x212)]=_0x1c1cdf['RroAp'],_0x4b6f89['Resources']['EKSCluster']['Properties'][_0x18f598(0x24c)][_0x18f598(0x1b2)]=[_0x451ba3,_0x34c4c4,_0x59fe62],_0x4b6f89[_0x18f598(0x243)][_0x1c1cdf[_0x18f598(0x21b)]][_0x18f598(0x258)][0x0][_0x18f598(0x24a)][_0x18f598(0x250)](_0x1c1cdf[_0x18f598(0x1ef)],_0x1c1cdf[_0x18f598(0x1b8)],_0x1c1cdf['CeBDl']);const _0x3b2612={};_0x3b2612[_0x18f598(0x212)]=_0x1c1cdf[_0x18f598(0x1e1)];const _0x455ce2={};_0x455ce2[_0x18f598(0x212)]=_0x1c1cdf[_0x18f598(0x234)];const _0x579dc6={};_0x579dc6['Ref']=_0x1c1cdf['RroAp'],_0x4b6f89[_0x18f598(0x207)][_0x18f598(0x24f)][_0x18f598(0x25c)][_0x18f598(0x1c2)]=[_0x3b2612,_0x455ce2,_0x579dc6];const _0x535016={};_0x535016[_0x18f598(0x212)]=_0x1c1cdf[_0x18f598(0x1e1)];const _0x1cff4f={};_0x1cff4f[_0x18f598(0x212)]=_0x1c1cdf[_0x18f598(0x234)];const _0x2a42b7={};_0x2a42b7[_0x18f598(0x212)]=_0x1c1cdf['RroAp'],_0x4b6f89[_0x18f598(0x207)]['NodeGroupWindows'][_0x18f598(0x25c)]['Subnets']=[_0x535016,_0x1cff4f,_0x2a42b7],_0x4b6f89[_0x18f598(0x1b1)][_0x18f598(0x1b2)][_0x18f598(0x1bc)][_0x1c1cdf['vBFoH']][0x1]=[{'Ref':_0x1c1cdf[_0x18f598(0x1e1)]},{'Ref':_0x1c1cdf[_0x18f598(0x234)]},{'Ref':_0x1c1cdf['RroAp']}];}}},addTags=async(_0x11f836,_0x653ed7,_0x2b45b1)=>{const _0x231f9f=a27_0x271d4b,_0x2770b7={'ftlot':_0x231f9f(0x1d0),'ZFgsX':function(_0x384dae,_0x4af72f){return _0x384dae(_0x4af72f);},'OwGyv':function(_0x25619d,_0x23ce55){return _0x25619d(_0x23ce55);},'ickbP':_0x231f9f(0x1bd),'VLSUK':_0x231f9f(0x1ac),'BuoYB':function(_0x59ec3c,_0x3267d4,_0x5109b9){return _0x59ec3c(_0x3267d4,_0x5109b9);},'hnPdu':function(_0xda6f73,_0x29c251){return _0xda6f73===_0x29c251;},'CcAqO':'NUqii','hIqZS':'vErcx','fjXrz':_0x231f9f(0x1af),'bDKrS':function(_0x5262d2,_0x404413){return _0x5262d2!==_0x404413;},'IXELP':_0x231f9f(0x223),'cDOqv':_0x231f9f(0x1e5),'GYNNB':_0x231f9f(0x24f),'CuFYr':_0x231f9f(0x229)};for(const _0x3764bc in _0x11f836[_0x231f9f(0x207)]){if(_0x2770b7[_0x231f9f(0x21c)](_0x2770b7[_0x231f9f(0x21f)],_0x2770b7['fjXrz'])){if(_0x11f836[_0x231f9f(0x207)][_0x3764bc]['Properties']&&_0x11f836[_0x231f9f(0x207)][_0x3764bc][_0x231f9f(0x25c)][_0x231f9f(0x237)]){if(_0x2770b7[_0x231f9f(0x216)](_0x2770b7[_0x231f9f(0x1c3)],_0x2770b7[_0x231f9f(0x1ea)]))_0x11f836[_0x231f9f(0x207)][_0x3764bc]['Properties'][_0x231f9f(0x237)][_0x231f9f(0x250)](..._0x2b45b1);else{const _0x4c7ab6=_0x2770b7[_0x231f9f(0x1e7)][_0x231f9f(0x249)]('|');let _0x2074b9=0x0;while(!![]){switch(_0x4c7ab6[_0x2074b9++]){case'0':_0x528d1d[_0x231f9f(0x207)][_0x231f9f(0x229)][_0x231f9f(0x25c)]['Subnets'][_0x231f9f(0x250)]({'Ref':'Subnet'+_0x2770b7[_0x231f9f(0x1f7)](_0x409fc8,_0xf5dd0b)[_0x231f9f(0x1c6)](0x2,'0')});continue;case'1':_0x1fa92b[_0x231f9f(0x207)]['NodeGroup'][_0x231f9f(0x25c)]['Subnets']['push']({'Ref':_0x231f9f(0x1e3)+_0x2770b7[_0x231f9f(0x217)](_0x3e1c27,_0x2151c2)[_0x231f9f(0x1c6)](0x2,'0')});continue;case'2':_0x57b4f1+=0x1;continue;case'3':_0x43abad[_0x231f9f(0x243)][_0x2770b7[_0x231f9f(0x202)]]['ParameterGroups'][0x0][_0x231f9f(0x24a)][_0x231f9f(0x250)](_0x231f9f(0x1e3)+_0x2770b7[_0x231f9f(0x1f7)](_0x371540,_0x1fcb56)['padStart'](0x2,'0'));continue;case'4':_0x5be4aa['Outputs']['SubnetIds'][_0x231f9f(0x1bc)][_0x2770b7['VLSUK']][0x1][_0x231f9f(0x250)]({'Ref':_0x231f9f(0x1e3)+_0x2770b7[_0x231f9f(0x217)](_0x5ce695,_0x4bd359)[_0x231f9f(0x1c6)](0x2,'0')});continue;case'5':_0x551604[_0x231f9f(0x207)][_0x231f9f(0x211)][_0x231f9f(0x25c)][_0x231f9f(0x24c)][_0x231f9f(0x1b2)][_0x231f9f(0x250)]({'Ref':'Subnet'+_0x2770b7[_0x231f9f(0x1f7)](_0x39e048,_0x1ac9f7)['padStart'](0x2,'0')});continue;}break;}}}}else _0x2770b7['BuoYB'](_0x508d3d,_0x3a3b4b,_0x5ddc28);}const _0x4ea267={};_0x2b45b1[_0x231f9f(0x22f)](_0x337536=>{const _0x9181aa=_0x231f9f;_0x2770b7[_0x9181aa(0x21c)](_0x2770b7[_0x9181aa(0x1fa)],_0x2770b7[_0x9181aa(0x1b9)])?_0x2108ee[_0x9181aa(0x207)][_0x3cf263][_0x9181aa(0x25c)]['Tags'][_0x9181aa(0x250)](..._0x2378fd):_0x4ea267[_0x337536[_0x9181aa(0x255)]]=_0x337536[_0x9181aa(0x1bc)];}),_0x11f836['Resources'][_0x2770b7['GYNNB']][_0x231f9f(0x25c)][_0x231f9f(0x237)]=_0x4ea267,_0x11f836['Resources'][_0x2770b7[_0x231f9f(0x1d6)]][_0x231f9f(0x25c)][_0x231f9f(0x237)]=_0x4ea267;};function a27_0x119a(){const _0x561aeb=['ami','Properties','AZpQV','cDclo','1451219DsgWwD','VPC','VpcBlock','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','WIuwR','s3Bucket','Subnet02Block','UJpfX','Fn::Join','./AWSUtils','Subnet02','agXcw','PwjgM','Outputs','SubnetIds','HrctI','IGDHL','XSaXx','PssEd','eELfd','AMTqp','hIqZS','NodeInstanceType','cskbH','Value','AWS::CloudFormation::Interface','kBaux','ZDBla','utf-8','ZOjoy','Subnets','IXELP','NodeAutoScalingGroupDesiredSizeWindows','apiVersion','padStart','NodeAutoScalingGroupMinSize','JDgbS','14216uEQhBA','aXPSy','NodeAutoScalingGroupMinSizeWindows','VWaGH','1225280modgzz','aPyGr','xZWCh','5|3|1|0|4|2','browserstack:creationDate','subnet-import.yaml','StackId','ParameterKey','yYDOF','CuFYr','KtOPU','Subnet03Block','vpc-create.yaml','readFileAsync','XanRk','CGAIc','rtGVS','Capabilities','toFBH','load','iidIt','RroAp','Subnet','cSafH','kvpSP','NodeGroupNameWindows','ftlot','6762696pUcmhA','pcJWU','cDOqv','MfHcR','stackCreateComplete','RSmUS','FETdn','vSwkP','JVLUw','430857NZzMBV','PJGos','waitFor','305wjjEef','qfHdD','2010-05-15','ZFgsX','StackName','XPfdj','CcAqO','-NodeGroup','kYdlx','keys','valueOf','aFxSK','ParameterValue','createStack','ickbP','714060qcRLKv','debug','NodeGroupName','ARTHt','Resources','IjKXl','-Windows-NodeGroup','7zrNOrA','js-yaml','pkXbR','LcoSo','gUsgN','KKnWk','SPqjv','EKSCluster','Ref','zrMqI','../config/constants','vpc-import.yaml','bDKrS','OwGyv','oSnWS','instanceType','yKhlW','SbJqh','hnPdu','value','lRUHW','fjXrz','eFIxz','9ROeJiR','aXyfn','UsERb','OiXFg','trRec','NodeAutoScalingGroupMaxSize','TLFaL','js-yaml-cloudformation-schema','NodeGroupWindows','CAPABILITY_NAMED_IAM','84kdoEzz','Ivumz','kEgQr','OqHFq','forEach','createClusterStack','Subnet01Block','toString','join','jfjBD','tgrqO','326891sLWQVk','Tags','UxXfH','BUctp','Subnet03','2LnoIlC','EwMbB','zqGie','HMwzk','bluebird','FAkWj','jAJaz','ASAKJ','Metadata','LjivD','OnFailure','awsObj','CvBEq','hTalR','split','Parameters','S3BucketName','ResourcesVpcConfig','kHFxA','DependsOn','NodeGroup','push','NcCHL','CFTemplates','Trlgo','jfbxo','Key','TgqYi','schema','ParameterGroups','subnet-create.yaml','ClusterName'];a27_0x119a=function(){return _0x561aeb;};return a27_0x119a();}exports[a27_0x271d4b(0x230)]=async(_0x510281,_0x3a559a,_0x1fc212,_0x59c5f6=null,_0x1d9b4f=null)=>{const _0x36bb2f=a27_0x271d4b,_0x4ff004={'ZDBla':_0x36bb2f(0x1a5),'Ivumz':function(_0xec0bf4,_0x19c7fb){return _0xec0bf4(_0x19c7fb);},'zrMqI':'browserstack:cluster','KtOPU':_0x36bb2f(0x1d1),'UxXfH':_0x36bb2f(0x1f6),'SPqjv':_0x36bb2f(0x252),'UJpfX':'aws-eks-cluster-dep.yaml','WMIxw':_0x36bb2f(0x1c0),'xnKkC':function(_0x3373b9,_0x2f65c3,_0x42c482){return _0x3373b9(_0x2f65c3,_0x42c482);},'EwMbB':function(_0x39e9a8,_0x1d044c){return _0x39e9a8(_0x1d044c);},'tEFyV':function(_0x4737ee,_0x4f1a32,_0x3e685e,_0xc6ee84){return _0x4737ee(_0x4f1a32,_0x3e685e,_0xc6ee84);},'fVuYn':'DELETE','yKhlW':_0x36bb2f(0x25a),'hBuhR':_0x36bb2f(0x205),'ndnHD':_0x36bb2f(0x1c7),'KQkHh':_0x36bb2f(0x1cb),'zUyAK':_0x36bb2f(0x1c4),'MfHcR':_0x36bb2f(0x226),'BUctp':'NodeImageId','kEgQr':_0x36bb2f(0x1ba),'ZOjoy':_0x36bb2f(0x24b),'PssEd':_0x36bb2f(0x1e6),'NcCHL':_0x36bb2f(0x22a),'tgrqO':function(_0x40c421,_0x341010){return _0x40c421!=_0x341010;},'ASAKJ':function(_0x17a611,_0x1d5cb4){return _0x17a611!==_0x1d5cb4;},'rtGVS':function(_0x499282,_0x48fa72){return _0x499282!==_0x48fa72;},'cSafH':_0x36bb2f(0x244),'ARTHt':_0x36bb2f(0x21e),'RSmUS':_0x36bb2f(0x1a7),'TpMcW':_0x36bb2f(0x1ec)},_0x2d82d2=COMMON_HST_TAGS,_0x31376a={};_0x31376a[_0x36bb2f(0x255)]=_0x4ff004[_0x36bb2f(0x213)],_0x31376a['Value']=_0x510281,_0x2d82d2[_0x36bb2f(0x250)](_0x31376a),_0x2d82d2['push']({'Key':_0x4ff004[_0x36bb2f(0x1d7)],'Value':new Date()[_0x36bb2f(0x1fe)]()[_0x36bb2f(0x232)]()});const _0xa19e5c={};_0xa19e5c[_0x36bb2f(0x1c5)]=_0x4ff004[_0x36bb2f(0x238)];const _0x3d4d74=new AWS['CloudFormation'](_0xa19e5c),_0x4d6e83=await fs[_0x36bb2f(0x1da)](path[_0x36bb2f(0x233)](__dirname,'..',_0x4ff004[_0x36bb2f(0x210)],_0x4ff004[_0x36bb2f(0x1ab)]),_0x4ff004['WMIxw']),_0x47ee3b={};_0x47ee3b[_0x36bb2f(0x257)]=CLOUDFORMATION_SCHEMA;const _0x9bff27=yaml[_0x36bb2f(0x1e0)](_0x4d6e83,_0x47ee3b);await _0x4ff004['xnKkC'](addVPCData,_0x9bff27,_0x59c5f6),await _0x4ff004[_0x36bb2f(0x23c)](addS3Data,_0x9bff27),await _0x4ff004['xnKkC'](addSubnetData,_0x9bff27,_0x1d9b4f),await _0x4ff004['tEFyV'](addTags,_0x9bff27,_0x510281,_0x2d82d2);const _0x1c53dc=JSON['stringify'](_0x9bff27),_0x2f4c0f={};_0x2f4c0f[_0x36bb2f(0x1f8)]=CLUSTER_DEP_STACK_NAME+'-'+_0x510281,_0x2f4c0f[_0x36bb2f(0x245)]=_0x4ff004['fVuYn'],_0x2f4c0f['TemplateBody']=_0x1c53dc,_0x2f4c0f['Parameters']=[{'ParameterKey':_0x4ff004[_0x36bb2f(0x21a)],'ParameterValue':_0x510281},{'ParameterKey':_0x4ff004['hBuhR'],'ParameterValue':_0x510281+_0x36bb2f(0x1fb)},{'ParameterKey':_0x4ff004['ndnHD'],'ParameterValue':''+_0x3a559a},{'ParameterKey':_0x4ff004['KQkHh'],'ParameterValue':'0'},{'ParameterKey':_0x4ff004['zUyAK'],'ParameterValue':'1'},{'ParameterKey':_0x4ff004[_0x36bb2f(0x1eb)],'ParameterValue':''+_0x1fc212},{'ParameterKey':_0x4ff004[_0x36bb2f(0x239)],'ParameterValue':global_registry[_0x36bb2f(0x25b)]},{'ParameterKey':_0x4ff004[_0x36bb2f(0x22d)],'ParameterValue':global_registry[_0x36bb2f(0x219)]},{'ParameterKey':_0x4ff004[_0x36bb2f(0x1c1)],'ParameterValue':global_registry[_0x36bb2f(0x1a9)]},{'ParameterKey':_0x4ff004[_0x36bb2f(0x1b6)],'ParameterValue':_0x510281+_0x36bb2f(0x209)}],_0x2f4c0f[_0x36bb2f(0x1de)]=[_0x4ff004[_0x36bb2f(0x251)]],_0x2f4c0f[_0x36bb2f(0x237)]=_0x2d82d2;const _0x2a157a=_0x2f4c0f;if(_0x4ff004[_0x36bb2f(0x235)](_0x59c5f6,null)&&_0x4ff004[_0x36bb2f(0x242)](_0x59c5f6,undefined)){if(_0x4ff004[_0x36bb2f(0x1dd)](_0x4ff004[_0x36bb2f(0x1e4)],_0x4ff004[_0x36bb2f(0x206)])){const _0xd8faaf={};_0xd8faaf[_0x36bb2f(0x1d4)]=_0x4ff004[_0x36bb2f(0x1bf)],_0xd8faaf[_0x36bb2f(0x200)]=_0x59c5f6,_0x2a157a['Parameters'][_0x36bb2f(0x250)](_0xd8faaf);}else{const _0x1cdb2d={};_0x1cdb2d[_0x36bb2f(0x1d4)]=_0x4ff004[_0x36bb2f(0x1bf)],_0x1cdb2d['ParameterValue']=_0x1015f8,_0xd803df['Parameters'][_0x36bb2f(0x250)](_0x1cdb2d);}}if(_0x4ff004[_0x36bb2f(0x235)](_0x1d9b4f,null)&&_0x4ff004[_0x36bb2f(0x242)](_0x1d9b4f,undefined)){let _0x4f3911=0x1;_0x1d9b4f[_0x36bb2f(0x22f)](_0x41cc3a=>{const _0xc893f2=_0x36bb2f;_0x2a157a['Parameters']['push']({'ParameterKey':_0xc893f2(0x1e3)+_0x4ff004[_0xc893f2(0x22c)](String,_0x4f3911)[_0xc893f2(0x1c6)](0x2,'0'),'ParameterValue':_0x41cc3a[_0xc893f2(0x21d)]}),_0x4f3911+=0x1;});}const _0x395e6f=await _0x3d4d74[_0x36bb2f(0x201)](_0x2a157a)['promise']();logger[_0x36bb2f(0x204)](_0x4ff004[_0x36bb2f(0x1ed)]);const _0x4535de={};return _0x4535de[_0x36bb2f(0x1f8)]=_0x395e6f[_0x36bb2f(0x1d3)],_0x3d4d74[_0x36bb2f(0x1f3)](_0x4ff004['TpMcW'],_0x4535de)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0x5ce0(){const _0x2554bd=['xRxIh','VpcId','./AWSUtils','js-yaml-cloudformation-schema','lCVtv','5092bCacex','1711080axLETa','../config/logger','yoJvF','schema','DCrQT','StackName','2495gpjeKL','PYfHT','nPLlf','-cf','djgcl','DELETE','createHubHaStack','StackId','bluebird','CFTemplates','Properties','waitFor','Resources','Tags','CAPABILITY_NAMED_IAM','promisifyAll','4033216nUttuA','XqONA','valueOf','browserstack:cluster','promise','2373JRIMal','gqMRd','8941032tCmjyp','push','awsObj','AKjsx','readFileAsync','stringify','BsEQO','BaseResourceName','split','stackCreateComplete','Value','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','831918YmKRQW','aIACE','getOidcUrl','join','browserstack:creationDate','info','qVkjp','324RNRFVa','vLXro','429665nwEsNo','MbEIK','Parameters','Capabilities','../config/constants'];a28_0x5ce0=function(){return _0x2554bd;};return a28_0x5ce0();}function a28_0x22ac(_0xba8a11,_0x238df0){const _0x5ce09d=a28_0x5ce0();return a28_0x22ac=function(_0x22ac86,_0x3cae29){_0x22ac86=_0x22ac86-0x116;let _0x405758=_0x5ce09d[_0x22ac86];return _0x405758;},a28_0x22ac(_0xba8a11,_0x238df0);}const a28_0x1e302b=a28_0x22ac;(function(_0x1a217b,_0x286bb2){const _0x4cca9b=a28_0x22ac,_0x684e67=_0x1a217b();while(!![]){try{const _0x304824=parseInt(_0x4cca9b(0x14a))/0x1+-parseInt(_0x4cca9b(0x141))/0x2+parseInt(_0x4cca9b(0x118))/0x3+-parseInt(_0x4cca9b(0x117))/0x4*(parseInt(_0x4cca9b(0x11e))/0x5)+-parseInt(_0x4cca9b(0x148))/0x6*(parseInt(_0x4cca9b(0x133))/0x7)+-parseInt(_0x4cca9b(0x12e))/0x8+parseInt(_0x4cca9b(0x135))/0x9;if(_0x304824===_0x286bb2)break;else _0x684e67['push'](_0x684e67['shift']());}catch(_0x4a259){_0x684e67['push'](_0x684e67['shift']());}}}(a28_0x5ce0,0x667f5));const fs=require('fs'),path=require('path'),Promise=require(a28_0x1e302b(0x126)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a28_0x1e302b(0x152)),AWS=require(a28_0x1e302b(0x151))[a28_0x1e302b(0x137)],AWSUtils=require(a28_0x1e302b(0x151)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x1e302b(0x14e)),{logger}=require(a28_0x1e302b(0x119));Promise[a28_0x1e302b(0x12d)](fs);const addTags=async(_0x47fd6e,_0x4faeaf)=>{const _0x544627=a28_0x1e302b;for(const _0x2558f8 in _0x47fd6e['Resources']){_0x47fd6e[_0x544627(0x12a)][_0x2558f8][_0x544627(0x128)]&&_0x47fd6e[_0x544627(0x12a)][_0x2558f8][_0x544627(0x128)][_0x544627(0x12b)]&&_0x47fd6e[_0x544627(0x12a)][_0x2558f8][_0x544627(0x128)][_0x544627(0x12b)][_0x544627(0x136)](..._0x4faeaf);}};exports[a28_0x1e302b(0x124)]=async(_0x1e036a,_0x29ae4c=null)=>{const _0x5683fc=a28_0x1e302b,_0x428481={'qVkjp':_0x5683fc(0x131),'djgcl':_0x5683fc(0x145),'gqMRd':'2010-05-15','aIACE':_0x5683fc(0x127),'AKjsx':'hub-ha.yaml','XqONA':'utf-8','xRxIh':function(_0x1644b3,_0x1e1333,_0x5eb15b){return _0x1644b3(_0x1e1333,_0x5eb15b);},'yoJvF':'://','DCrQT':_0x5683fc(0x123),'lCVtv':_0x5683fc(0x150),'PYfHT':_0x5683fc(0x13c),'nPLlf':'ClusterOIDCURL','BsEQO':_0x5683fc(0x12c),'vLXro':_0x5683fc(0x140),'MbEIK':_0x5683fc(0x13e)},_0x3c8a5b=COMMON_HST_TAGS,_0x37ff28={};_0x37ff28['Key']=_0x428481[_0x5683fc(0x147)],_0x37ff28[_0x5683fc(0x13f)]=_0x1e036a,_0x3c8a5b['push'](_0x37ff28),_0x3c8a5b['push']({'Key':_0x428481[_0x5683fc(0x122)],'Value':new Date()[_0x5683fc(0x130)]()['toString']()});const _0x4d01e9={};_0x4d01e9['apiVersion']=_0x428481[_0x5683fc(0x134)];const _0xbd564=new AWS['CloudFormation'](_0x4d01e9),_0x5230c2=await fs[_0x5683fc(0x139)](path[_0x5683fc(0x144)](__dirname,'..',_0x428481[_0x5683fc(0x142)],_0x428481[_0x5683fc(0x138)]),_0x428481[_0x5683fc(0x12f)]),_0x144865={};_0x144865[_0x5683fc(0x11b)]=CLOUDFORMATION_SCHEMA;const _0x3781cc=yaml['load'](_0x5230c2,_0x144865);await _0x428481[_0x5683fc(0x14f)](addTags,_0x3781cc,_0x3c8a5b);const _0x4182ab=JSON[_0x5683fc(0x13a)](_0x3781cc);let _0x207894=await AWSUtils[_0x5683fc(0x143)](_0x1e036a);_0x207894=_0x207894[_0x5683fc(0x13d)](_0x428481[_0x5683fc(0x11a)])[0x1];const _0x3fb375={};_0x3fb375[_0x5683fc(0x11d)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x1e036a+_0x5683fc(0x121),_0x3fb375['OnFailure']=_0x428481[_0x5683fc(0x11c)],_0x3fb375['TemplateBody']=_0x4182ab,_0x3fb375[_0x5683fc(0x14c)]=[{'ParameterKey':_0x428481[_0x5683fc(0x116)],'ParameterValue':_0x29ae4c},{'ParameterKey':_0x428481[_0x5683fc(0x11f)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x1e036a},{'ParameterKey':_0x428481[_0x5683fc(0x120)],'ParameterValue':_0x207894}],_0x3fb375[_0x5683fc(0x14d)]=[_0x428481[_0x5683fc(0x13b)]],_0x3fb375[_0x5683fc(0x12b)]=_0x3c8a5b;const _0x2f6bc4=_0x3fb375,_0x5e53f6=await _0xbd564['createStack'](_0x2f6bc4)['promise']();logger[_0x5683fc(0x146)](_0x428481[_0x5683fc(0x149)]);const _0x168e18={};return _0x168e18[_0x5683fc(0x11d)]=_0x5e53f6[_0x5683fc(0x125)],_0xbd564[_0x5683fc(0x129)](_0x428481[_0x5683fc(0x14b)],_0x168e18)[_0x5683fc(0x132)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x49adc0=a29_0x3db5;function a29_0x534b(){const _0x35f65b=['./utilityMethods','getKubeConfigData','promisifyAll','mkdirSync','CoreV1Api','480jSSpIQ','35544DivRHX','2124rqRscY','createK8sClient','NetworkingV1Api','cluster','63077pHSYwr','bluebird','ApiregistrationV1Api','makeApiClient','loadFromString','4wiiBzT','1373752SIoImG','FJroj','@kubernetes/client-node','KubeConfig','120awUPdS','11dCcvXo','81qrEcxQ','5876FYniey','dump','RbacAuthorizationV1Api','22835USNrIU','pQHZw','4492572XoOuGI'];a29_0x534b=function(){return _0x35f65b;};return a29_0x534b();}function a29_0x3db5(_0x38982f,_0x5a30f2){const _0x534ba3=a29_0x534b();return a29_0x3db5=function(_0x3db530,_0x2eb138){_0x3db530=_0x3db530-0xba;let _0x3280a7=_0x534ba3[_0x3db530];return _0x3280a7;},a29_0x3db5(_0x38982f,_0x5a30f2);}(function(_0x5c7e92,_0x3a027c){const _0x1b6f8d=a29_0x3db5,_0x5f2621=_0x5c7e92();while(!![]){try{const _0x18813b=parseInt(_0x1b6f8d(0xbb))/0x1+-parseInt(_0x1b6f8d(0xcd))/0x2*(-parseInt(_0x1b6f8d(0xcc))/0x3)+parseInt(_0x1b6f8d(0xc5))/0x4*(parseInt(_0x1b6f8d(0xd0))/0x5)+-parseInt(_0x1b6f8d(0xca))/0x6*(parseInt(_0x1b6f8d(0xc0))/0x7)+-parseInt(_0x1b6f8d(0xc6))/0x8+parseInt(_0x1b6f8d(0xbc))/0x9*(parseInt(_0x1b6f8d(0xba))/0xa)+parseInt(_0x1b6f8d(0xcb))/0xb*(parseInt(_0x1b6f8d(0xd2))/0xc);if(_0x18813b===_0x3a027c)break;else _0x5f2621['push'](_0x5f2621['shift']());}catch(_0x45c5be){_0x5f2621['push'](_0x5f2621['shift']());}}}(a29_0x534b,0x25677));const fs=require('fs'),yaml=require('js-yaml'),Promise=require(a29_0x49adc0(0xc1)),{getDirForConfig}=require(a29_0x49adc0(0xd3));Promise[a29_0x49adc0(0xd5)](fs),exports[a29_0x49adc0(0xbd)]=async(_0x361ed7,_0x596dc5)=>{const _0x44edb3=a29_0x49adc0,_0x1bccf1={'FJroj':function(_0x32dde7){return _0x32dde7();},'Skora':'insecure-skip-tls-verify','pQHZw':_0x44edb3(0xc8)},_0x3c3c04=_0x1bccf1[_0x44edb3(0xc7)](getDirForConfig);!fs['existsSync'](_0x3c3c04)&&fs[_0x44edb3(0xd6)](_0x3c3c04);let _0x1e19e7=await _0x361ed7[_0x44edb3(0xd4)]();if(_0x596dc5){const _0x4957b8=yaml['load'](_0x1e19e7);_0x4957b8['clusters'][0x0][_0x44edb3(0xbf)][_0x1bccf1['Skora']]=!![],_0x1e19e7=yaml[_0x44edb3(0xce)](_0x4957b8);}const _0x383c74=await import(_0x1bccf1[_0x44edb3(0xd1)]),_0x35db41=new _0x383c74[(_0x44edb3(0xc9))]();_0x35db41[_0x44edb3(0xc4)](_0x1e19e7);const _0x2aa082=_0x35db41[_0x44edb3(0xc3)](_0x383c74[_0x44edb3(0xd7)]),_0x5d77a5=_0x35db41['makeApiClient'](_0x383c74['AppsV1Api']),_0x204f83=_0x35db41[_0x44edb3(0xc3)](_0x383c74[_0x44edb3(0xbe)]),_0x47ddbb=_0x35db41[_0x44edb3(0xc3)](_0x383c74[_0x44edb3(0xcf)]),_0x1631a4=_0x35db41['makeApiClient'](_0x383c74[_0x44edb3(0xc2)]),_0x5c5e14=_0x35db41[_0x44edb3(0xc3)](_0x383c74['StorageV1Api']);return[_0x2aa082,_0x5d77a5,_0x204f83,_0x47ddbb,_0x1631a4,_0x5c5e14,_0x35db41];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x2315a5=a30_0x5683;function a30_0x5683(_0x2b0851,_0x1a1484){const _0xdb6340=a30_0xdb63();return a30_0x5683=function(_0x5683cd,_0x32764d){_0x5683cd=_0x5683cd-0x70;let _0x16e0d1=_0xdb6340[_0x5683cd];return _0x16e0d1;},a30_0x5683(_0x2b0851,_0x1a1484);}(function(_0x441394,_0xa2e889){const _0x29ac36=a30_0x5683,_0x2f284e=_0x441394();while(!![]){try{const _0x9a8625=parseInt(_0x29ac36(0x89))/0x1*(parseInt(_0x29ac36(0x80))/0x2)+parseInt(_0x29ac36(0x70))/0x3+parseInt(_0x29ac36(0x8c))/0x4+parseInt(_0x29ac36(0x7c))/0x5+-parseInt(_0x29ac36(0x76))/0x6+-parseInt(_0x29ac36(0x8f))/0x7*(parseInt(_0x29ac36(0x78))/0x8)+parseInt(_0x29ac36(0x74))/0x9*(-parseInt(_0x29ac36(0x86))/0xa);if(_0x9a8625===_0xa2e889)break;else _0x2f284e['push'](_0x2f284e['shift']());}catch(_0x35e53f){_0x2f284e['push'](_0x2f284e['shift']());}}}(a30_0xdb63,0xef7b0));function a30_0xdb63(){const _0x34d5f3=['promise','7799238vHWTUb','duZoA','5035530FooUTV','UosFJ','392zyPOSy','OutputValue','describeMountTargets','\x20deleted\x20successfully','4711670okmYnE','Error\x20deleting\x20EFS\x20mount\x20targets:','info','MountTargets','2AEqcgR','OutputKey','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','find','../config/constants','error','20NUzFSZ','aws-sdk','clusterRegion','139221LoCbtp','Mount\x20target\x20','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','3065476YMhiPg','deleteEFSMountTarget','MountTargetId','1351eXhkYT','5144592zuAgAc','eEfzw','region'];a30_0xdb63=function(){return _0x34d5f3;};return a30_0xdb63();}const {logger}=require('../config/logger'),awsSDK=require(a30_0x2315a5(0x87)),{global_registry}=require(a30_0x2315a5(0x84));exports[a30_0x2315a5(0x8d)]=async _0xa9529=>{const _0x42ec1c=a30_0x2315a5,_0x1d7a90={};_0x1d7a90[_0x42ec1c(0x77)]=_0x42ec1c(0x82),_0x1d7a90['duZoA']=_0x42ec1c(0x8b),_0x1d7a90['eEfzw']=_0x42ec1c(0x7d);const _0x43e389=_0x1d7a90;try{const _0x3623ee={};_0x3623ee[_0x42ec1c(0x72)]=global_registry[_0x42ec1c(0x88)];const _0x308be4=new awsSDK['EFS'](_0x3623ee),_0xa1f002=_0xa9529[_0x42ec1c(0x83)](_0x14748c=>_0x14748c[_0x42ec1c(0x81)]==='EFSFileSystemId')?.[_0x42ec1c(0x79)];if(_0xa1f002){logger['info']('EFS\x20FileSystem\x20ID\x20found:\x20'+_0xa1f002+'.\x20Deleting\x20mount\x20targets...');const _0x521517={};_0x521517['FileSystemId']=_0xa1f002;const _0x88d549=_0x521517,_0xe1f9a3=await _0x308be4[_0x42ec1c(0x7a)](_0x88d549)[_0x42ec1c(0x73)]();if(_0xe1f9a3)for(const _0x3ef336 of _0xe1f9a3[_0x42ec1c(0x7f)]){const _0x550ee7={};_0x550ee7['MountTargetId']=_0x3ef336[_0x42ec1c(0x8e)];const _0x27c132=_0x550ee7;await _0x308be4['deleteMountTarget'](_0x27c132)[_0x42ec1c(0x73)](),logger['info'](_0x42ec1c(0x8a)+_0x3ef336[_0x42ec1c(0x8e)]+_0x42ec1c(0x7b));}else logger[_0x42ec1c(0x7e)](_0x43e389[_0x42ec1c(0x77)]);}else logger[_0x42ec1c(0x7e)](_0x43e389[_0x42ec1c(0x75)]);}catch(_0x553989){logger[_0x42ec1c(0x85)](_0x43e389[_0x42ec1c(0x71)],_0x553989);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a31_0x5ae776=a31_0x2bd7;function a31_0x2bd7(_0x1e1043,_0x34e6ef){const _0x5a04e7=a31_0x5a04();return a31_0x2bd7=function(_0x2bd72b,_0x59782d){_0x2bd72b=_0x2bd72b-0x144;let _0x1571ef=_0x5a04e7[_0x2bd72b];return _0x1571ef;},a31_0x2bd7(_0x1e1043,_0x34e6ef);}function a31_0x5a04(){const _0x2950d2=['uGDIa','5hHOVli','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','IqyEx','248ulnFIP','588732jAmxrI','28147iyfwqF','1052704aMcUXE','../config/logger','365200FrNpht','CloudFormation','oVXLK','./AWSUtils','deleteStack','waitFor','2010-05-15','promise','157334ugCSry','StackName','4510VsrjsK','1767438FrzmID','2979dIAVkz','debug'];a31_0x5a04=function(){return _0x2950d2;};return a31_0x5a04();}(function(_0x5ea842,_0x186dfe){const _0x2eebe1=a31_0x2bd7,_0x1424aa=_0x5ea842();while(!![]){try{const _0xd8260d=-parseInt(_0x2eebe1(0x14c))/0x1+parseInt(_0x2eebe1(0x144))/0x2+parseInt(_0x2eebe1(0x157))/0x3+parseInt(_0x2eebe1(0x159))/0x4+parseInt(_0x2eebe1(0x153))/0x5*(-parseInt(_0x2eebe1(0x14f))/0x6)+-parseInt(_0x2eebe1(0x158))/0x7*(-parseInt(_0x2eebe1(0x156))/0x8)+parseInt(_0x2eebe1(0x150))/0x9*(-parseInt(_0x2eebe1(0x14e))/0xa);if(_0xd8260d===_0x186dfe)break;else _0x1424aa['push'](_0x1424aa['shift']());}catch(_0x24835c){_0x1424aa['push'](_0x1424aa['shift']());}}}(a31_0x5a04,0x2866b));const AWS=require(a31_0x5ae776(0x147))['awsObj'],{logger}=require(a31_0x5ae776(0x15a));exports['deleteClusterStack']=async _0x4ce570=>{const _0x3aca6a=a31_0x5ae776,_0x22e098={};_0x22e098['IqyEx']=_0x3aca6a(0x14a),_0x22e098[_0x3aca6a(0x146)]=_0x3aca6a(0x154),_0x22e098[_0x3aca6a(0x152)]='stackDeleteComplete';const _0x5c54d1=_0x22e098,_0x21f613={};_0x21f613['apiVersion']=_0x5c54d1[_0x3aca6a(0x155)];const _0x366b58=new AWS[(_0x3aca6a(0x145))](_0x21f613),_0x56c007={};_0x56c007[_0x3aca6a(0x14d)]=_0x4ce570;const _0x25aeb2=_0x56c007,_0x4d4000=await _0x366b58[_0x3aca6a(0x148)](_0x25aeb2)[_0x3aca6a(0x14b)]();logger[_0x3aca6a(0x151)](_0x5c54d1[_0x3aca6a(0x146)]);const _0x316021={};return _0x316021[_0x3aca6a(0x14d)]=_0x4ce570,_0x366b58[_0x3aca6a(0x149)](_0x5c54d1[_0x3aca6a(0x152)],_0x316021)[_0x3aca6a(0x14b)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a32_0x5c5c6c=a32_0x2c94;function a32_0x2c94(_0x30c5fc,_0x1a4a9a){const _0x4c57bf=a32_0x4c57();return a32_0x2c94=function(_0x2c941f,_0x4f1a5b){_0x2c941f=_0x2c941f-0x70;let _0x2859eb=_0x4c57bf[_0x2c941f];return _0x2859eb;},a32_0x2c94(_0x30c5fc,_0x1a4a9a);}function a32_0x4c57(){const _0xbc9efa=['21Tgvmjq','655740igAPMf','./AWSUtils','10593912PDqSrh','625533oabFRL','2010-05-15','888952OynTHw','CloudFormation','../config/logger','2zOjOtx','1345bwDfxA','72Oidazi','69cwiYyG','74684ciJgZN','1351460fNiCnZ','fdXIB','describeStacks','3978lQFxWt','describeClusterStack'];a32_0x4c57=function(){return _0xbc9efa;};return a32_0x4c57();}(function(_0xed56e4,_0x4189fd){const _0x2c91cf=a32_0x2c94,_0x25177f=_0xed56e4();while(!![]){try{const _0x52c533=parseInt(_0x2c91cf(0x72))/0x1*(-parseInt(_0x2c91cf(0x77))/0x2)+-parseInt(_0x2c91cf(0x7a))/0x3*(parseInt(_0x2c91cf(0x7b))/0x4)+-parseInt(_0x2c91cf(0x78))/0x5*(parseInt(_0x2c91cf(0x7f))/0x6)+parseInt(_0x2c91cf(0x81))/0x7*(parseInt(_0x2c91cf(0x74))/0x8)+-parseInt(_0x2c91cf(0x79))/0x9*(-parseInt(_0x2c91cf(0x82))/0xa)+-parseInt(_0x2c91cf(0x7c))/0xb+parseInt(_0x2c91cf(0x71))/0xc;if(_0x52c533===_0x4189fd)break;else _0x25177f['push'](_0x25177f['shift']());}catch(_0x3127b6){_0x25177f['push'](_0x25177f['shift']());}}}(a32_0x4c57,0x5de5a));const AWS=require(a32_0x5c5c6c(0x70))['awsObj'],{logger}=require(a32_0x5c5c6c(0x76));exports[a32_0x5c5c6c(0x80)]=async _0x3da8f4=>{const _0x469684=a32_0x5c5c6c,_0x376136={};_0x376136[_0x469684(0x7d)]=_0x469684(0x73);const _0x5e3c05=_0x376136,_0x3f7e6b={};_0x3f7e6b['apiVersion']=_0x5e3c05['fdXIB'];const _0x1720cb=new AWS[(_0x469684(0x75))](_0x3f7e6b),_0x2ed105={};_0x2ed105['StackName']=_0x3da8f4;const _0x654d31=_0x2ed105;return _0x1720cb[_0x469684(0x7e)](_0x654d31)['promise']();};
|