browserstack-node-sdk 1.35.10 → 1.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/CFTemplates/aws-eks-cluster-dep.yaml +13 -1
- 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/templates/azureresources/akscluster.json +9 -1
- package/ats/src/templates/gcpresources/gkecluster.json +6 -2
- 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
|
-
const
|
|
1
|
+
function a19_0x3bd6(_0x505941,_0x2b1e0f){const _0x208674=a19_0x2086();return a19_0x3bd6=function(_0x3bd6d0,_0xe33c98){_0x3bd6d0=_0x3bd6d0-0xbf;let _0x2ae8e1=_0x208674[_0x3bd6d0];return _0x2ae8e1;},a19_0x3bd6(_0x505941,_0x2b1e0f);}function a19_0x2086(){const _0x4b909c=['message','invalid-grid-id','epilogue','server-error','name','readFileSync','reconnecting-websocket','statusCode','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','info','grid-id','replace','Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20start','Grid\x20started','bstackAccesskey','string','skip-tls-cert-verify','18VwIHln','region','../../utils/webSocketUtils','stack','error','help','wWExS','clusterName','type','IpArR','JfRyZ','connectionTimeout','sjuCY','Pass\x20the\x20ID\x20of\x20the\x20existing\x20Automation\x20grid\x20you\x20want\x20to\x20start.','WebSocket','sQvTO','ERROR','VRwoE','LfcDh','10QDHNOv','clusterRegion','grid','body','170HZbqnq','fqGSQ','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','../../utils/gridComponents','1223382RXIGxW','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','description','../../config/logger','Unable\x20to\x20start\x20the\x20Grid!\x20Error:\x20','INFO','2YONsPx','unauthorised','747CowVoN','Adding\x20Websocket\x20listeners','../../utils/instrumentationUtils','gridId','FbhHr','cloudProvider','RVMgI','parse','13chPvuh','gjHzy','handler','../../cloudproviders/utils','JzUar','Browserstack','exit','debug','scZGs','rwGUQ','jsDJv','124172UuJUdP','KOFvW','1217880chTDNX','75845eLWpOL','nPafD','2798940bxLmtH','stringify','pManH','password','options','AKvGe','builder','bstackUsername','DwngC','start','init-not-called','start-grid-called','addListeners','Starting\x20grid\x20','boolean','Skip\x20insecure\x20cert\x20verification.','username','hxXkD','<PasswordPlaceholder>','desc','899408glsYmC','7vAyYer','QbnUF','PNMPU'];a19_0x2086=function(){return _0x4b909c;};return a19_0x2086();}const a19_0x1ac660=a19_0x3bd6;(function(_0x1eff9e,_0x4dd50b){const _0x2801eb=a19_0x3bd6,_0x42412c=_0x1eff9e();while(!![]){try{const _0x5a0c00=parseInt(_0x2801eb(0xbf))/0x1*(-parseInt(_0x2801eb(0x121))/0x2)+parseInt(_0x2801eb(0x100))/0x3*(parseInt(_0x2801eb(0xd2))/0x4)+parseInt(_0x2801eb(0x113))/0x5*(parseInt(_0x2801eb(0x11b))/0x6)+parseInt(_0x2801eb(0xec))/0x7*(-parseInt(_0x2801eb(0xeb))/0x8)+-parseInt(_0x2801eb(0xd4))/0x9+-parseInt(_0x2801eb(0x117))/0xa*(-parseInt(_0x2801eb(0xd5))/0xb)+parseInt(_0x2801eb(0xd7))/0xc*(-parseInt(_0x2801eb(0xc7))/0xd);if(_0x5a0c00===_0x4dd50b)break;else _0x42412c['push'](_0x42412c['shift']());}catch(_0x5d9639){_0x42412c['push'](_0x42412c['shift']());}}}(a19_0x2086,0x38099));const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a19_0x1ac660(0xf5)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require('../../config/constants'),{logger}=require(a19_0x1ac660(0x11e)),{getCredentialsPath,getGridDetails}=require('../../utils/utilityMethods'),{scaleUpHubDeployment}=require(a19_0x1ac660(0x11a)),{sendInstrumentationEvent}=require(a19_0x1ac660(0xc1)),webSocketUtils=require(a19_0x1ac660(0x102)),{createK8sClient}=require('../../utils/createk8sClient'),{getCloudProviderObject}=require(a19_0x1ac660(0xca));exports['command']=a19_0x1ac660(0x115),exports[a19_0x1ac660(0xea)]='Start\x20an\x20existing\x20Automation\x20grid.',exports[a19_0x1ac660(0xdd)]=function(_0x26010a){const _0x36f504=a19_0x1ac660,_0x3f3574={};_0x3f3574[_0x36f504(0xd1)]=_0x36f504(0x10d),_0x3f3574[_0x36f504(0xd3)]=_0x36f504(0xfe),_0x3f3574[_0x36f504(0xdc)]=_0x36f504(0xe6),_0x3f3574['pManH']=_0x36f504(0xe5),_0x3f3574[_0x36f504(0xc5)]='help';const _0xe01cd=_0x3f3574,_0xa79dc6={};_0xa79dc6[_0x36f504(0x11d)]=_0xe01cd[_0x36f504(0xd1)],_0xa79dc6[_0x36f504(0x108)]=_0xe01cd[_0x36f504(0xd3)];const _0x5d5cce={};_0x5d5cce[_0x36f504(0x11d)]=_0xe01cd[_0x36f504(0xdc)],_0x5d5cce['type']=_0xe01cd[_0x36f504(0xd9)],_0x5d5cce['default']=![];const _0x53670a={};return _0x53670a[_0x36f504(0xf9)]=_0xa79dc6,_0x53670a[_0x36f504(0xff)]=_0x5d5cce,_0x26010a['usage'](HELP_HEADER_MESSAGE[_0x36f504(0xe0)])[_0x36f504(0xf1)](HELP_FOOTER_MESSAGE)[_0x36f504(0xdb)](_0x53670a)[_0x36f504(0x105)](_0xe01cd[_0x36f504(0xc5)])['argv'];},exports[a19_0x1ac660(0xc9)]=async function(_0x1cca56){const _0x52d7ff=a19_0x1ac660,_0x1c833e={'PNMPU':_0x52d7ff(0xfb),'IpArR':function(_0x26ae46){return _0x26ae46();},'sjuCY':_0x52d7ff(0x119),'JzUar':function(_0xa68fbc,_0x37fb65,_0x4f5cb5,_0x2bae29,_0x47715a,_0x5f10b0,_0x2e13d6){return _0xa68fbc(_0x37fb65,_0x4f5cb5,_0x2bae29,_0x47715a,_0x5f10b0,_0x2e13d6);},'fqGSQ':_0x52d7ff(0xe2),'FbhHr':_0x52d7ff(0xe1),'QbnUF':function(_0x1de101,_0x2fa43b,_0x58365c,_0xec2f71,_0x245628,_0x133e46,_0x5b2796){return _0x1de101(_0x2fa43b,_0x58365c,_0xec2f71,_0x245628,_0x133e46,_0x5b2796);},'rwGUQ':'<UsernamePlaceholder>','jOVkH':_0x52d7ff(0xe9),'JCZBN':_0x52d7ff(0xc0),'JfRyZ':function(_0x182c54,_0x4bb610,_0x5f4795,_0x544bd9){return _0x182c54(_0x4bb610,_0x5f4795,_0x544bd9);},'wWExS':function(_0x54ed3e,_0x1ca920,_0x3d5759){return _0x54ed3e(_0x1ca920,_0x3d5759);},'hxXkD':_0x52d7ff(0xfc),'LfcDh':function(_0x40fbe5,_0x41af8f){return _0x40fbe5===_0x41af8f;},'DwngC':_0x52d7ff(0x11c),'VRwoE':function(_0x2b328a,_0x44a47b,_0x36e58e,_0x407fa4,_0x1b3475,_0xafbe75,_0x244f95){return _0x2b328a(_0x44a47b,_0x36e58e,_0x407fa4,_0x1b3475,_0xafbe75,_0x244f95);},'sQvTO':_0x52d7ff(0x122),'nPafD':function(_0x2b8011,_0x268b91,_0x19be53,_0x750752,_0x2fac89,_0x1c9414,_0x243a22){return _0x2b8011(_0x268b91,_0x19be53,_0x750752,_0x2fac89,_0x1c9414,_0x243a22);},'scZGs':_0x52d7ff(0xf0),'gjHzy':_0x52d7ff(0xf2)};let _0x762478;try{!_0x1cca56['gridId']&&(logger[_0x52d7ff(0x104)](_0x1c833e[_0x52d7ff(0xee)]),process[_0x52d7ff(0xcd)](0x1));!fs['existsSync'](_0x1c833e[_0x52d7ff(0x109)](getCredentialsPath))&&(logger[_0x52d7ff(0x104)](_0x1c833e[_0x52d7ff(0x10c)]),await _0x1c833e[_0x52d7ff(0xcb)](sendInstrumentationEvent,_0x1cca56,_0x1c833e[_0x52d7ff(0x118)],messageTypes[_0x52d7ff(0x110)],_0x1c833e[_0x52d7ff(0xc3)],null,_0x1cca56),process[_0x52d7ff(0xcd)](0x1));logger[_0x52d7ff(0xf8)](_0x52d7ff(0xe4)+_0x1cca56[_0x52d7ff(0xc2)]),await _0x1c833e[_0x52d7ff(0xed)](sendInstrumentationEvent,_0x1cca56,_0x1c833e['fqGSQ'],messageTypes[_0x52d7ff(0x120)],null,null,_0x1cca56);const _0x30eb12=JSON[_0x52d7ff(0xc6)](fs[_0x52d7ff(0xf4)](_0x1c833e[_0x52d7ff(0x109)](getCredentialsPath)));global_registry[_0x52d7ff(0xde)]=_0x30eb12['Browserstack'][_0x52d7ff(0xe7)],global_registry[_0x52d7ff(0xfd)]=_0x30eb12[_0x52d7ff(0xcc)][_0x52d7ff(0xda)];const _0x1ed903=WS_ENDPOINT[_0x52d7ff(0xfa)](_0x1c833e[_0x52d7ff(0xd0)],_0x30eb12['Browserstack'][_0x52d7ff(0xe7)])['replace'](_0x1c833e['jOVkH'],_0x30eb12['Browserstack'][_0x52d7ff(0xda)]),_0x4548dc={};_0x4548dc[_0x52d7ff(0x10e)]=ws,_0x4548dc[_0x52d7ff(0x10b)]=0x36ee80,_0x762478=new ReconnectingWebSocket(_0x1ed903,[],_0x4548dc),logger[_0x52d7ff(0xce)](_0x1c833e['JCZBN']),webSocketUtils[_0x52d7ff(0xe3)](_0x762478,_0x1cca56['user'],_0x1cca56['password']);const [_0x2b162b,_0x1f181e]=await _0x1c833e[_0x52d7ff(0x10a)](getGridDetails,_0x30eb12['Browserstack']['username'],_0x30eb12[_0x52d7ff(0xcc)][_0x52d7ff(0xda)],_0x1cca56[_0x52d7ff(0xc2)]);if(_0x1f181e){const _0x3e1387=_0x1f181e[_0x52d7ff(0xf8)];global_registry[_0x52d7ff(0xc4)]=_0x3e1387[_0x52d7ff(0xc4)],global_registry[_0x52d7ff(0x114)]=_0x3e1387[_0x52d7ff(0x101)],global_registry[_0x52d7ff(0x107)]=_0x3e1387[_0x52d7ff(0x107)];const _0x505e68=await _0x1c833e[_0x52d7ff(0xcb)](getCloudProviderObject,_0x3e1387[_0x52d7ff(0xc4)],_0x3e1387[_0x52d7ff(0x107)],_0x3e1387['name'],_0x762478,webSocketUtils,_0x1cca56),[_0x1bbf4a,_0x27aabb,_0x3d7a7c,_0x77f88e,_0x28802a,_0x345958]=await _0x1c833e[_0x52d7ff(0x106)](createK8sClient,_0x505e68,_0x1cca56['skipTlsCertVerify']);await _0x1c833e[_0x52d7ff(0x106)](scaleUpHubDeployment,_0x27aabb,_0x3e1387[_0x52d7ff(0xf3)]),logger[_0x52d7ff(0xf8)](_0x1c833e[_0x52d7ff(0xe8)]),process[_0x52d7ff(0xcd)](0x0);}_0x1c833e[_0x52d7ff(0x112)](_0x2b162b[_0x52d7ff(0xf6)],0x191)&&(logger['error'](_0x1c833e[_0x52d7ff(0xdf)]),await _0x1c833e[_0x52d7ff(0x111)](sendInstrumentationEvent,_0x1cca56,_0x1c833e[_0x52d7ff(0x118)],messageTypes['ERROR'],_0x1c833e[_0x52d7ff(0x10f)],null,_0x1cca56),process[_0x52d7ff(0xcd)](0x1)),_0x1c833e['LfcDh'](_0x2b162b[_0x52d7ff(0xf6)],0x190)&&(logger['error'](JSON[_0x52d7ff(0xc6)](_0x2b162b[_0x52d7ff(0x116)])[_0x52d7ff(0xef)]),await _0x1c833e[_0x52d7ff(0xd6)](sendInstrumentationEvent,_0x1cca56,_0x1c833e['fqGSQ'],messageTypes[_0x52d7ff(0x110)],_0x1c833e[_0x52d7ff(0xcf)],null,_0x1cca56),process[_0x52d7ff(0xcd)](0x1)),logger[_0x52d7ff(0x104)](_0x52d7ff(0xf7)+JSON['stringify'](_0x2b162b)),await _0x1c833e[_0x52d7ff(0x111)](sendInstrumentationEvent,_0x1cca56,_0x1c833e[_0x52d7ff(0x118)],messageTypes[_0x52d7ff(0x110)],_0x1c833e[_0x52d7ff(0xc8)],_0x2b162b,_0x1cca56),process[_0x52d7ff(0xcd)](0x1);}catch(_0x14f8f1){const _0x44a426=_0x52d7ff(0x11f)+_0x14f8f1+'\x20\x0a'+JSON[_0x52d7ff(0xd8)](_0x14f8f1[_0x52d7ff(0x103)])+'\x20';logger[_0x52d7ff(0x104)](_0x44a426),process[_0x52d7ff(0xcd)](0x1);}};
|
package/ats/src/commands/stop.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x4118eb=a20_0x430d;(function(_0x315b2d,_0x1242ac){const _0x380cd5=a20_0x430d,_0x50ba8e=_0x315b2d();while(!![]){try{const _0x17d2e5=parseInt(_0x380cd5(0x191))/0x1+-parseInt(_0x380cd5(0x186))/0x2*(-parseInt(_0x380cd5(0x184))/0x3)+-parseInt(_0x380cd5(0x18b))/0x4*(-parseInt(_0x380cd5(0x188))/0x5)+parseInt(_0x380cd5(0x185))/0x6*(parseInt(_0x380cd5(0x183))/0x7)+-parseInt(_0x380cd5(0x196))/0x8+parseInt(_0x380cd5(0x18e))/0x9*(-parseInt(_0x380cd5(0x198))/0xa)+-parseInt(_0x380cd5(0x192))/0xb*(-parseInt(_0x380cd5(0x181))/0xc);if(_0x17d2e5===_0x1242ac)break;else _0x50ba8e['push'](_0x50ba8e['shift']());}catch(_0x1be8bf){_0x50ba8e['push'](_0x50ba8e['shift']());}}}(a20_0x4f55,0x27f07));function a20_0x430d(_0x38af74,_0x52fdbc){const _0x4f5529=a20_0x4f55();return a20_0x430d=function(_0x430d27,_0x9f22d7){_0x430d27=_0x430d27-0x180;let _0x2efbf0=_0x4f5529[_0x430d27];return _0x2efbf0;},a20_0x430d(_0x38af74,_0x52fdbc);}function a20_0x4f55(){const _0x20317f=['4156cLTKbs','473vsTvpE','epilogue','strict','demandCommand','1566784BUpBNd','JzlIA','321350YXxRVU','OjdyC','81516JuzFqk','Stop\x20a\x20running\x20Automation\x20grid.','7931kApVhH','24747kHQayA','270EgVnrp','10DamLjf','../config/constants','15445uBzPbl','help','commandDir','4CotCOy','handler','stop','9wHbRjM','builder','usage'];a20_0x4f55=function(){return _0x20317f;};return a20_0x4f55();}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a20_0x4118eb(0x187));exports['command']='stop',exports['desc']=a20_0x4118eb(0x182),exports[a20_0x4118eb(0x18f)]=function(_0x2aac0a){const _0x1424eb=a20_0x4118eb,_0x3c50bf={};_0x3c50bf[_0x1424eb(0x180)]='stop_commands',_0x3c50bf[_0x1424eb(0x197)]='help';const _0x246c4b=_0x3c50bf;return _0x2aac0a[_0x1424eb(0x190)](HELP_HEADER_MESSAGE[_0x1424eb(0x18d)])[_0x1424eb(0x193)](HELP_FOOTER_MESSAGE)[_0x1424eb(0x18a)](_0x246c4b['OjdyC'])[_0x1424eb(0x195)]()['recommendCommands']()[_0x1424eb(0x194)]()[_0x1424eb(0x189)](_0x246c4b['JzlIA']);},exports[a20_0x4118eb(0x18c)]=function(_0x3051bf){};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x16d6b8=a21_0x488e;function a21_0x9a97(){const _0x4e06b9=['jVYJO','223544zERlCA','replace','parse','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','skipTlsCertVerify','existsSync','error','options','cloudProvider','skip-tls-cert-verify','Stopping\x20grid\x20','GiILi','string','VonyX','Adding\x20Websocket\x20listeners','../../utils/utilityMethods','clusterName','grid','init-not-called','ERROR','471079vKRfiE','gridId','sJrFB','15YRJpZa','clusterRegion','username','Grid\x20stoppped.','<UsernamePlaceholder>','statusCode','DXDOk','description','stringify','invalid-grid-id','debug','JaZhr','Skip\x20insecure\x20cert\x20verification.','pYqaO','teeUC','default','Unable\x20to\x20stop\x20the\x20Grid!\x20Error:\x20','9540720Zgkjhq','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','EmqJx','reconnecting-websocket','../../config/constants','152898uIDZgw','exit','1201268NFpQQE','body','AvBzp','ULnpS','info','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','user','rtTxW','kUWAy','argv','WebSocket','Pass\x20the\x20ID\x20of\x20the\x20running\x20Automation\x20grid\x20you\x20want\x20to\x20stop.','dQgvG','handler','qmbro','bstackUsername','name','command','<PasswordPlaceholder>','server-error','usage','grid-id','stack','builder','help','hPtPm','jUumQ','178520vbyxJE','../../utils/gridComponents','type','iEAqc','desc','3nQuAyl','INFO','../../utils/createk8sClient','readFileSync','442182IavOVl','password','../../utils/instrumentationUtils','Browserstack','../../cloudproviders/utils','36bfTVku','stop-grid-called'];a21_0x9a97=function(){return _0x4e06b9;};return a21_0x9a97();}(function(_0x4703ef,_0x3151e0){const _0x1aabc1=a21_0x488e,_0x50c7a5=_0x4703ef();while(!![]){try{const _0x217fa1=-parseInt(_0x1aabc1(0xaf))/0x1+parseInt(_0x1aabc1(0xed))/0x2*(parseInt(_0x1aabc1(0xb4))/0x3)+-parseInt(_0x1aabc1(0xef))/0x4+parseInt(_0x1aabc1(0xd7))/0x5*(-parseInt(_0x1aabc1(0xb8))/0x6)+-parseInt(_0x1aabc1(0xd4))/0x7+-parseInt(_0x1aabc1(0xc0))/0x8*(parseInt(_0x1aabc1(0xbd))/0x9)+parseInt(_0x1aabc1(0xe8))/0xa;if(_0x217fa1===_0x3151e0)break;else _0x50c7a5['push'](_0x50c7a5['shift']());}catch(_0x1beda9){_0x50c7a5['push'](_0x50c7a5['shift']());}}}(a21_0x9a97,0x24fe4));const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a21_0x16d6b8(0xeb)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require(a21_0x16d6b8(0xec)),{logger}=require('../../config/logger'),{getCredentialsPath,getGridDetails}=require(a21_0x16d6b8(0xcf)),{scaleDownHubDeployment}=require(a21_0x16d6b8(0xb0)),{sendInstrumentationEvent}=require(a21_0x16d6b8(0xba)),webSocketUtils=require('../../utils/webSocketUtils'),{createK8sClient}=require(a21_0x16d6b8(0xb6)),{getCloudProviderObject}=require(a21_0x16d6b8(0xbc));function a21_0x488e(_0xe31723,_0x5c9388){const _0x9a9707=a21_0x9a97();return a21_0x488e=function(_0x488e3e,_0x2a19e8){_0x488e3e=_0x488e3e-0x9f;let _0x6d050d=_0x9a9707[_0x488e3e];return _0x6d050d;},a21_0x488e(_0xe31723,_0x5c9388);}exports[a21_0x16d6b8(0xa5)]=a21_0x16d6b8(0xd1),exports[a21_0x16d6b8(0xb3)]='Stop\x20a\x20running\x20Automation\x20grid.',exports[a21_0x16d6b8(0xab)]=function(_0x5d6c34){const _0x5a40a7=a21_0x16d6b8,_0xda36ea={};_0xda36ea[_0x5a40a7(0xf2)]=_0x5a40a7(0x9f),_0xda36ea[_0x5a40a7(0xa0)]=_0x5a40a7(0xcc),_0xda36ea[_0x5a40a7(0xad)]=_0x5a40a7(0xe3),_0xda36ea['rtTxW']='boolean',_0xda36ea[_0x5a40a7(0xe2)]='help';const _0x16ee9d=_0xda36ea,_0x429124={};_0x429124[_0x5a40a7(0xde)]=_0x16ee9d['ULnpS'],_0x429124[_0x5a40a7(0xb1)]=_0x16ee9d[_0x5a40a7(0xa0)];const _0x87d45d={};_0x87d45d['description']=_0x16ee9d[_0x5a40a7(0xad)],_0x87d45d[_0x5a40a7(0xb1)]=_0x16ee9d[_0x5a40a7(0xf6)],_0x87d45d[_0x5a40a7(0xe6)]=![];const _0x11c640={};return _0x11c640[_0x5a40a7(0xa9)]=_0x429124,_0x11c640[_0x5a40a7(0xc9)]=_0x87d45d,_0x5d6c34[_0x5a40a7(0xa8)](HELP_HEADER_MESSAGE['stop'])['epilogue'](HELP_FOOTER_MESSAGE)[_0x5a40a7(0xc7)](_0x11c640)[_0x5a40a7(0xac)](_0x16ee9d[_0x5a40a7(0xe2)])[_0x5a40a7(0xf8)];},exports[a21_0x16d6b8(0xa1)]=async function(_0x2b6e59){const _0x4f1329=a21_0x16d6b8,_0x185083={'qmbro':'Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20stop','fKMxq':function(_0x4d87fa){return _0x4d87fa();},'pYqaO':_0x4f1329(0xf4),'uQiMt':function(_0x17cc37,_0x53e001,_0xe7b338,_0x19c95c,_0x398125,_0x37a533,_0x93e03a){return _0x17cc37(_0x53e001,_0xe7b338,_0x19c95c,_0x398125,_0x37a533,_0x93e03a);},'jUumQ':_0x4f1329(0xbe),'sJrFB':_0x4f1329(0xd2),'GiILi':function(_0xfa8819,_0x5ba3cb,_0xb98e76,_0x67326a,_0x1f0161,_0xc5de0a,_0x203b69){return _0xfa8819(_0x5ba3cb,_0xb98e76,_0x67326a,_0x1f0161,_0xc5de0a,_0x203b69);},'irzNC':_0x4f1329(0xdb),'AUzJV':_0x4f1329(0xa6),'LFUaW':_0x4f1329(0xce),'AvBzp':function(_0x420d46,_0x25bba4,_0x1fbc60,_0x2afe99){return _0x420d46(_0x25bba4,_0x1fbc60,_0x2afe99);},'jVYJO':function(_0x3a5148,_0x1b42d9,_0x503e2f){return _0x3a5148(_0x1b42d9,_0x503e2f);},'kUWAy':_0x4f1329(0xda),'iEAqc':function(_0x41cd4d,_0x4c052e){return _0x41cd4d===_0x4c052e;},'PEfus':_0x4f1329(0xc3),'KrgUI':function(_0x4d21c0,_0x51e7d9,_0xf60905,_0x449cfc,_0x591485,_0x1ba455,_0x157747){return _0x4d21c0(_0x51e7d9,_0xf60905,_0x449cfc,_0x591485,_0x1ba455,_0x157747);},'VonyX':'unauthorised','EmqJx':_0x4f1329(0xe0),'teeUC':function(_0x4342d5,_0x434ace,_0x32529e,_0x2fe21e,_0x1f806a,_0x526fc9,_0x1273ad){return _0x4342d5(_0x434ace,_0x32529e,_0x2fe21e,_0x1f806a,_0x526fc9,_0x1273ad);},'DXDOk':_0x4f1329(0xa7)};let _0x1ed276;try{!_0x2b6e59[_0x4f1329(0xd5)]&&(logger[_0x4f1329(0xc6)](_0x185083[_0x4f1329(0xa2)]),process[_0x4f1329(0xee)](0x1));!fs[_0x4f1329(0xc5)](_0x185083['fKMxq'](getCredentialsPath))&&(logger[_0x4f1329(0xc6)](_0x185083[_0x4f1329(0xe4)]),await _0x185083['uQiMt'](sendInstrumentationEvent,_0x2b6e59,_0x185083[_0x4f1329(0xae)],messageTypes[_0x4f1329(0xd3)],_0x185083[_0x4f1329(0xd6)],null,_0x2b6e59),process[_0x4f1329(0xee)](0x1));logger[_0x4f1329(0xf3)](_0x4f1329(0xca)+_0x2b6e59[_0x4f1329(0xd5)]),await _0x185083[_0x4f1329(0xcb)](sendInstrumentationEvent,_0x2b6e59,_0x185083[_0x4f1329(0xae)],messageTypes[_0x4f1329(0xb5)],null,null,_0x2b6e59);const _0x40e922=JSON[_0x4f1329(0xc2)](fs[_0x4f1329(0xb7)](_0x185083['fKMxq'](getCredentialsPath)));global_registry[_0x4f1329(0xa3)]=_0x40e922[_0x4f1329(0xbb)][_0x4f1329(0xd9)],global_registry['bstackAccesskey']=_0x40e922['Browserstack'][_0x4f1329(0xb9)];const _0x4f7da5=WS_ENDPOINT[_0x4f1329(0xc1)](_0x185083['irzNC'],_0x40e922[_0x4f1329(0xbb)]['username'])[_0x4f1329(0xc1)](_0x185083['AUzJV'],_0x40e922[_0x4f1329(0xbb)][_0x4f1329(0xb9)]),_0x279574={};_0x279574[_0x4f1329(0xf9)]=ws,_0x279574['connectionTimeout']=0x36ee80,_0x1ed276=new ReconnectingWebSocket(_0x4f7da5,[],_0x279574),logger[_0x4f1329(0xe1)](_0x185083['LFUaW']),webSocketUtils['addListeners'](_0x1ed276,_0x2b6e59[_0x4f1329(0xf5)],_0x2b6e59[_0x4f1329(0xb9)]);const [_0x400174,_0xa3c6d6]=await _0x185083[_0x4f1329(0xf1)](getGridDetails,_0x40e922['Browserstack'][_0x4f1329(0xd9)],_0x40e922[_0x4f1329(0xbb)][_0x4f1329(0xb9)],_0x2b6e59[_0x4f1329(0xd5)]);if(_0xa3c6d6){const _0x3547a0=_0xa3c6d6['info'];global_registry[_0x4f1329(0xc8)]=_0x3547a0[_0x4f1329(0xc8)],global_registry[_0x4f1329(0xd8)]=_0x3547a0['region'],global_registry[_0x4f1329(0xd0)]=_0x3547a0['clusterName'];const _0x465c5e=await _0x185083['uQiMt'](getCloudProviderObject,_0x3547a0[_0x4f1329(0xc8)],_0x3547a0[_0x4f1329(0xd0)],_0x3547a0[_0x4f1329(0xa4)],_0x1ed276,webSocketUtils,_0x2b6e59),[_0x1bb006,_0x21a2fb,_0x3b1e47,_0x18ee80,_0x38898a,_0x4b719f]=await _0x185083[_0x4f1329(0xbf)](createK8sClient,_0x465c5e,_0x2b6e59[_0x4f1329(0xc4)]);await _0x185083[_0x4f1329(0xbf)](scaleDownHubDeployment,_0x21a2fb,_0x3547a0['name']),logger[_0x4f1329(0xf3)](_0x185083[_0x4f1329(0xf7)]),process[_0x4f1329(0xee)](0x0);}_0x185083[_0x4f1329(0xb2)](_0x400174[_0x4f1329(0xdc)],0x191)&&(logger['error'](_0x185083['PEfus']),await _0x185083['KrgUI'](sendInstrumentationEvent,_0x2b6e59,_0x185083[_0x4f1329(0xae)],messageTypes[_0x4f1329(0xd3)],_0x185083[_0x4f1329(0xcd)],null,_0x2b6e59),process[_0x4f1329(0xee)](0x1)),_0x185083[_0x4f1329(0xb2)](_0x400174[_0x4f1329(0xdc)],0x190)&&(logger[_0x4f1329(0xc6)](JSON[_0x4f1329(0xc2)](_0x400174[_0x4f1329(0xf0)])['message']),await _0x185083[_0x4f1329(0xcb)](sendInstrumentationEvent,_0x2b6e59,_0x185083[_0x4f1329(0xae)],messageTypes[_0x4f1329(0xd3)],_0x185083[_0x4f1329(0xea)],null,_0x2b6e59),process['exit'](0x1)),logger['error'](_0x4f1329(0xe9)+JSON[_0x4f1329(0xdf)](_0x400174)),await _0x185083[_0x4f1329(0xe5)](sendInstrumentationEvent,_0x2b6e59,_0x185083['jUumQ'],messageTypes[_0x4f1329(0xd3)],_0x185083[_0x4f1329(0xdd)],_0x400174,_0x2b6e59),process[_0x4f1329(0xee)](0x1);}catch(_0x42c06f){const _0x2432ff=_0x4f1329(0xe7)+_0x42c06f+'\x20\x0a'+JSON[_0x4f1329(0xdf)](_0x42c06f[_0x4f1329(0xaa)])+'\x20';logger['error'](_0x2432ff),process[_0x4f1329(0xee)](0x1);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1d4f43=a22_0x2716;(function(_0x5186e0,_0x51cd98){const _0x2f52e4=a22_0x2716,_0x4e2297=_0x5186e0();while(!![]){try{const _0x2b90dc=-parseInt(_0x2f52e4(0x1cc))/0x1+-parseInt(_0x2f52e4(0x1b7))/0x2+-parseInt(_0x2f52e4(0x1db))/0x3+-parseInt(_0x2f52e4(0x209))/0x4+-parseInt(_0x2f52e4(0x1ea))/0x5*(-parseInt(_0x2f52e4(0x1c7))/0x6)+-parseInt(_0x2f52e4(0x1e2))/0x7+parseInt(_0x2f52e4(0x1bb))/0x8*(parseInt(_0x2f52e4(0x1c8))/0x9);if(_0x2b90dc===_0x51cd98)break;else _0x4e2297['push'](_0x4e2297['shift']());}catch(_0x57d0b2){_0x4e2297['push'](_0x4e2297['shift']());}}}(a22_0x2896,0x98359),require(a22_0x1d4f43(0x1c6))[a22_0x1d4f43(0x20b)](),exports[a22_0x1d4f43(0x213)]=process[a22_0x1d4f43(0x202)][a22_0x1d4f43(0x213)]||a22_0x1d4f43(0x1d9),exports['BS_API_URL']=process[a22_0x1d4f43(0x202)]['BS_API_URL']||'api.browserstack.com',exports[a22_0x1d4f43(0x1f7)]=process['env'][a22_0x1d4f43(0x1f7)]||'grid-api.browserstack.com',exports[a22_0x1d4f43(0x1f9)]=a22_0x1d4f43(0x1f5)+this[a22_0x1d4f43(0x1f7)]+'/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>',exports['CP_CONFIG_FILE']='credentials',exports['IAM_USER_NAME']=a22_0x1d4f43(0x1eb),exports[a22_0x1d4f43(0x214)]=a22_0x1d4f43(0x1df),exports[a22_0x1d4f43(0x1f4)]='aws',exports[a22_0x1d4f43(0x1cd)]=a22_0x1d4f43(0x1ec),exports[a22_0x1d4f43(0x1d8)]=a22_0x1d4f43(0x21a),exports['CLUSTER_HUB_HA_STACK_NAME']=a22_0x1d4f43(0x1d0),exports[a22_0x1d4f43(0x217)]=a22_0x1d4f43(0x1e8),exports['AZURE']=a22_0x1d4f43(0x212),exports[a22_0x1d4f43(0x1fa)]=a22_0x1d4f43(0x1d5),exports['ALL_SUPPORTED_CLOUD_PROVIDERS']=[this[a22_0x1d4f43(0x1f4)],this[a22_0x1d4f43(0x208)],this[a22_0x1d4f43(0x1fa)]]);const a22_0x556a16={};function a22_0x2716(_0xaadc,_0x25f57c){const _0x289612=a22_0x2896();return a22_0x2716=function(_0x27161c,_0x2e9e1f){_0x27161c=_0x27161c-0x1b7;let _0x270486=_0x289612[_0x27161c];return _0x270486;},a22_0x2716(_0xaadc,_0x25f57c);}a22_0x556a16[a22_0x1d4f43(0x1e1)]=a22_0x1d4f43(0x201),a22_0x556a16[a22_0x1d4f43(0x1dc)]='BrowserStack';const a22_0x501f5e={};a22_0x501f5e[a22_0x1d4f43(0x1e1)]=a22_0x1d4f43(0x1e4),a22_0x501f5e[a22_0x1d4f43(0x1dc)]=a22_0x1d4f43(0x1e7);const common_hst_tags_list=[a22_0x556a16,a22_0x501f5e];if(process['env'][a22_0x1d4f43(0x207)]){const parsedTags=process['env'][a22_0x1d4f43(0x207)][a22_0x1d4f43(0x1da)](',');parsedTags[a22_0x1d4f43(0x210)](_0x3688e8=>{const _0x2772b4=a22_0x1d4f43,_0x435c86=_0x3688e8[_0x2772b4(0x1da)](':'),_0x709d57={};_0x709d57[_0x2772b4(0x1e1)]=_0x435c86[0x0],_0x709d57[_0x2772b4(0x1dc)]=_0x435c86[0x1],common_hst_tags_list[_0x2772b4(0x20f)](_0x709d57);});}exports[a22_0x1d4f43(0x1e5)]=common_hst_tags_list;const a22_0x624f57={};a22_0x624f57[a22_0x1d4f43(0x201)]=a22_0x1d4f43(0x1f6),a22_0x624f57[a22_0x1d4f43(0x1e4)]=a22_0x1d4f43(0x1e7),exports[a22_0x1d4f43(0x20d)]=a22_0x624f57,exports[a22_0x1d4f43(0x1f2)]=[this[a22_0x1d4f43(0x1f4)]];const a22_0x51a942={};a22_0x51a942['LOG']='log',a22_0x51a942[a22_0x1d4f43(0x1fe)]=a22_0x1d4f43(0x206),a22_0x51a942[a22_0x1d4f43(0x1c5)]=a22_0x1d4f43(0x216),a22_0x51a942[a22_0x1d4f43(0x1f8)]=a22_0x1d4f43(0x1c3),a22_0x51a942[a22_0x1d4f43(0x1ba)]=a22_0x1d4f43(0x215),exports[a22_0x1d4f43(0x1bc)]=a22_0x51a942,exports[a22_0x1d4f43(0x1f1)]={},exports['LINK_MESSAGE']=a22_0x1d4f43(0x200);const a22_0x2dae2f={};a22_0x2dae2f['root']=a22_0x1d4f43(0x1dd)+this['LINK_MESSAGE'],a22_0x2dae2f[a22_0x1d4f43(0x1d4)]=a22_0x1d4f43(0x1bf)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f[a22_0x1d4f43(0x1ee)]=a22_0x1d4f43(0x1b8)+this['LINK_MESSAGE'],a22_0x2dae2f[a22_0x1d4f43(0x1d1)]=a22_0x1d4f43(0x205)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f[a22_0x1d4f43(0x1ef)]={},a22_0x2dae2f['delete']=a22_0x1d4f43(0x1d7)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f['connect']='\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.'+this[a22_0x1d4f43(0x203)],a22_0x2dae2f['start']='\x0aThis\x20will\x20start\x20an\x20existing\x20Automation\x20grid.'+this[a22_0x1d4f43(0x203)],a22_0x2dae2f['stop']=a22_0x1d4f43(0x1fb)+this['LINK_MESSAGE'],a22_0x2dae2f[a22_0x1d4f43(0x20a)]=a22_0x1d4f43(0x1c1)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f[a22_0x1d4f43(0x1ef)][a22_0x1d4f43(0x1c9)]=a22_0x1d4f43(0x1e9)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f[a22_0x1d4f43(0x1ef)][a22_0x1d4f43(0x1ed)]=a22_0x1d4f43(0x1ff)+this[a22_0x1d4f43(0x203)],a22_0x2dae2f[a22_0x1d4f43(0x1ef)][a22_0x1d4f43(0x1f3)]=a22_0x1d4f43(0x1de)+this[a22_0x1d4f43(0x203)],exports[a22_0x1d4f43(0x1b9)]=a22_0x2dae2f,exports[a22_0x1d4f43(0x218)]=a22_0x1d4f43(0x1d6);function a22_0x2896(){const _0x35112e=['TRIAL_GRID_URL','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','warning','\x0aThis\x20will\x20check\x20the\x20pre-requisites\x20for\x20setting\x20up\x20Automation\x20grid.','DEFAULT_CLUSTER_DETAILS','cliRunStarted','RAW_ARGS_REGEX','GRID_URL','dotenv','96glJByZ','5437017wEOWHo','root','SUCCESS','CLI_ARGS_REGEX','348829aAWZls','CLUSTER_DEP_STACK_NAME','REGION','INFO','BSTACK-ATS-CLUSTER-HUB-HA','create','CLUSTER','pre-check','init','gcp','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20TurboScale.','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','CLUSTER_AUTOSCALER_STACK_NAME','grid.browserstack.com','split','1776666dtbhrV','Value','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','high-scale-grid','unknown','Key','6370336ecmDsF','WARNING','browserstack:service','COMMON_HST_TAGS','CLOUD_PROVIDER','BrowserStack-Automate-TurboScale','browserstack-turboscale-grid','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20TurboScale.','291405dWltSL','BrowserStackIAMUser','BSTACK-ATS-CLUSTER','grid','configure','list','success','global_registry','SUPPORTED_CLOUD_PROVIDERS','gridProfile','AWS','wss://','BrowserStack','AG_API_URL','CLI_RUN_STARTED','WS_ENDPOINT','GCP','\x0aThis\x20will\x20stop\x20a\x20running\x20Automation\x20grid.','info','error','RESOURCES','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','browserstack:managedBy','env','LINK_MESSAGE','high-scale-grid-cluster','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','resourceInfo','TURBOSCALE_CUSTOM_TAGS','AZURE','1866760pMSfUS','pre_check','config','UNKNOWN','HST_CLUSTER_TAGS','us-east-1','push','forEach','https://nroujxly-hub.browserstack-ats.com/wd/hub/status','azure','DASHBOARD_ENDPOINT','DEFAULT_GRID_NAME','cliRunFinished','gridUrl','TURBOSCALE_DEPLOYMENT','HELP_FOOTER_MESSAGE','NULL','BSTACK-ATS-CLUSTER-AUTOSCALER','Failed\x20to\x20fetch\x20grid\x20profile\x20from\x20the\x20server','815420BVqiqi','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','HELP_HEADER_MESSAGE','CLI_RUN_FINISHED','32usJgRf','WS_EVENTS','ERROR'];a22_0x2896=function(){return _0x35112e;};return a22_0x2896();}const a22_0x226190={};a22_0x226190[a22_0x1d4f43(0x1ca)]=a22_0x1d4f43(0x1f0),a22_0x226190[a22_0x1d4f43(0x1bd)]=a22_0x1d4f43(0x1fd),a22_0x226190[a22_0x1d4f43(0x1cf)]=a22_0x1d4f43(0x1fc),a22_0x226190[a22_0x1d4f43(0x1e3)]=a22_0x1d4f43(0x1c0),a22_0x226190[a22_0x1d4f43(0x20c)]=a22_0x1d4f43(0x1e0),a22_0x226190[a22_0x1d4f43(0x219)]=null,exports['messageTypes']=a22_0x226190,exports[a22_0x1d4f43(0x1cb)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a22_0x1d4f43(0x1c4)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports['REDACTED']='[REDACTED]';const a22_0x424403={};a22_0x424403['grid-profile']=a22_0x1d4f43(0x21b);const a22_0x44dd2c={};a22_0x44dd2c[a22_0x1d4f43(0x1d3)]=a22_0x424403,exports['MessageDescription']=a22_0x44dd2c,exports[a22_0x1d4f43(0x1be)]=a22_0x1d4f43(0x211);const a22_0x541a1b={};a22_0x541a1b[a22_0x1d4f43(0x1d2)]=a22_0x1d4f43(0x204),a22_0x541a1b[a22_0x1d4f43(0x1e6)]='aws',a22_0x541a1b[a22_0x1d4f43(0x1ce)]=a22_0x1d4f43(0x20e),exports[a22_0x1d4f43(0x1c2)]=a22_0x541a1b;
|
package/ats/src/config/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x250590=a23_0x5b6c;(function(_0x11b83d,_0x7c2804){const _0x552ed0=a23_0x5b6c,_0x465649=_0x11b83d();while(!![]){try{const _0x1e7c9e=parseInt(_0x552ed0(0x14a))/0x1+parseInt(_0x552ed0(0x15e))/0x2+-parseInt(_0x552ed0(0x144))/0x3+parseInt(_0x552ed0(0x152))/0x4+parseInt(_0x552ed0(0x15d))/0x5*(-parseInt(_0x552ed0(0x158))/0x6)+parseInt(_0x552ed0(0x159))/0x7*(parseInt(_0x552ed0(0x156))/0x8)+parseInt(_0x552ed0(0x14d))/0x9;if(_0x1e7c9e===_0x7c2804)break;else _0x465649['push'](_0x465649['shift']());}catch(_0x22ad77){_0x465649['push'](_0x465649['shift']());}}}(a23_0xcc31,0x43b7a));const winston=require('winston'),fs=require('fs'),path=require(a23_0x250590(0x157)),logDir='log';!fs[a23_0x250590(0x151)](logDir)&&fs['mkdirSync'](logDir);function a23_0xcc31(){const _0x47f891=['printf','createLogger','24184QSelmS','path','1548eCEZJs','826RRcQMe','YYYY-MM-DD\x20HH:mm:ss','\x20-\x20','level','3710DChDPW','461536VhxmuF','transports','join','1639197jHbHvF','Console','usage.log','timestamp','File','events.log','201353orpkWy','message','format','1169127PXCiBn','debug','logger','fileLogger','existsSync','385868SdgIra','name'];a23_0xcc31=function(){return _0x47f891;};return a23_0xcc31();}const a23_0x4b3c99={};a23_0x4b3c99['format']=a23_0x250590(0x15a);const a23_0x15d4fb={};function a23_0x5b6c(_0x55184f,_0x4d488d){const _0xcc3193=a23_0xcc31();return a23_0x5b6c=function(_0x5b6c5d,_0x43996d){_0x5b6c5d=_0x5b6c5d-0x142;let _0x8bbc92=_0xcc3193[_0x5b6c5d];return _0x8bbc92;},a23_0x5b6c(_0x55184f,_0x4d488d);}a23_0x15d4fb['level']=!![];const a23_0x5895bf={};a23_0x5895bf[a23_0x250590(0x153)]='console.info',exports[a23_0x250590(0x14f)]=new winston[(a23_0x250590(0x155))]({'format':winston[a23_0x250590(0x14c)]['combine'](winston[a23_0x250590(0x14c)]['timestamp'](a23_0x4b3c99),winston[a23_0x250590(0x14c)]['colorize'](a23_0x15d4fb),winston[a23_0x250590(0x14c)][a23_0x250590(0x154)](_0x2556f4=>_0x2556f4[a23_0x250590(0x147)]+a23_0x250590(0x15b)+_0x2556f4[a23_0x250590(0x15c)]+':\x20'+_0x2556f4[a23_0x250590(0x14b)])),'transports':[new winston[(a23_0x250590(0x142))][(a23_0x250590(0x145))](a23_0x5895bf),new winston[(a23_0x250590(0x142))][(a23_0x250590(0x148))]({'filename':path[a23_0x250590(0x143)](logDir,a23_0x250590(0x149)),'level':a23_0x250590(0x14e)})]});const winstonFileLoggerParams={'transports':[new winston[(a23_0x250590(0x142))][(a23_0x250590(0x148))]({'filename':path['join'](logDir,a23_0x250590(0x146)),'level':a23_0x250590(0x14e)})]};exports[a23_0x250590(0x150)]=new winston[(a23_0x250590(0x155))](winstonFileLoggerParams);
|
package/ats/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a24_0x45a6ce=a24_0x5022;function a24_0x5022(_0x429825,_0x5eb9e8){const _0x11daa6=a24_0x11da();return a24_0x5022=function(_0x502239,_0x43fcab){_0x502239=_0x502239-0xba;let _0x2055cc=_0x11daa6[_0x502239];return _0x2055cc;},a24_0x5022(_0x429825,_0x5eb9e8);}(function(_0x2d0ea9,_0x345a7f){const _0x2bc45c=a24_0x5022,_0x2d349b=_0x2d0ea9();while(!![]){try{const _0x714ff9=parseInt(_0x2bc45c(0xc6))/0x1+-parseInt(_0x2bc45c(0xbe))/0x2*(parseInt(_0x2bc45c(0xbb))/0x3)+-parseInt(_0x2bc45c(0xc2))/0x4*(parseInt(_0x2bc45c(0xbf))/0x5)+parseInt(_0x2bc45c(0xbc))/0x6+-parseInt(_0x2bc45c(0xc3))/0x7+parseInt(_0x2bc45c(0xcb))/0x8+parseInt(_0x2bc45c(0xbd))/0x9*(parseInt(_0x2bc45c(0xba))/0xa);if(_0x714ff9===_0x345a7f)break;else _0x2d349b['push'](_0x2d349b['shift']());}catch(_0x5270df){_0x2d349b['push'](_0x2d349b['shift']());}}}(a24_0x11da,0x303f5));function a24_0x11da(){const _0x27680b=['604744SGNkwU','./config/constants','demandCommand','2840230UIbxAR','18294tuHoQW','1093242rISupi','9UeACyp','68KELsry','25zULacQ','uUNTB','help','35092rEfHVG','2611595qeHNPB','usage','commands','280080GGkvnj','DuKTI','epilogue','commandDir','exports'];a24_0x11da=function(){return _0x27680b;};return a24_0x11da();}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a24_0x45a6ce(0xcc));process['env']['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function run(_0x363f8e){const _0x282b79=a24_0x45a6ce,_0x2a80ca={};_0x2a80ca[_0x282b79(0xc0)]=_0x282b79(0xc5),_0x2a80ca[_0x282b79(0xc7)]=_0x282b79(0xc1);const _0x2dcb5b=_0x2a80ca;_0x363f8e[_0x282b79(0xc4)](HELP_HEADER_MESSAGE['root'])[_0x282b79(0xc9)](_0x2dcb5b[_0x282b79(0xc0)])[_0x282b79(0xcd)]()[_0x282b79(0xc1)](_0x2dcb5b['DuKTI'])[_0x282b79(0xc8)](HELP_FOOTER_MESSAGE);}module[a24_0x45a6ce(0xca)]=run;
|
|
@@ -55,6 +55,14 @@
|
|
|
55
55
|
"metadata": {
|
|
56
56
|
"description": "Minimum num of nodes running in a node pool"
|
|
57
57
|
}
|
|
58
|
+
},
|
|
59
|
+
"clusterAutoUpgrade": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"allowedValues": ["true", "false"],
|
|
62
|
+
"defaultValue": "false",
|
|
63
|
+
"metadata": {
|
|
64
|
+
"description": "Enable auto-upgrade for AKS cluster (stable channel if true, none if false)"
|
|
65
|
+
}
|
|
58
66
|
}
|
|
59
67
|
},
|
|
60
68
|
"resources": [
|
|
@@ -139,7 +147,7 @@
|
|
|
139
147
|
"networkPlugin": "azure"
|
|
140
148
|
},
|
|
141
149
|
"autoUpgradeProfile": {
|
|
142
|
-
"upgradeChannel": "none"
|
|
150
|
+
"upgradeChannel": "[if(equals(parameters('clusterAutoUpgrade'), 'true'), 'stable', 'none')]"
|
|
143
151
|
},
|
|
144
152
|
"disableLocalAccounts": false,
|
|
145
153
|
"aadProfile": {
|
|
@@ -43,7 +43,9 @@
|
|
|
43
43
|
"maxNodeCount": 2,
|
|
44
44
|
"locationPolicy": "BALANCED"
|
|
45
45
|
},
|
|
46
|
-
"management": {
|
|
46
|
+
"management": {
|
|
47
|
+
"autoUpgrade": false
|
|
48
|
+
},
|
|
47
49
|
"networkConfig": {},
|
|
48
50
|
"upgradeSettings": {
|
|
49
51
|
"maxSurge": 1,
|
|
@@ -79,7 +81,9 @@
|
|
|
79
81
|
"maxNodeCount": 2,
|
|
80
82
|
"locationPolicy": "BALANCED"
|
|
81
83
|
},
|
|
82
|
-
"management": {
|
|
84
|
+
"management": {
|
|
85
|
+
"autoUpgrade": false
|
|
86
|
+
},
|
|
83
87
|
"networkConfig": {},
|
|
84
88
|
"upgradeSettings": {
|
|
85
89
|
"maxSurge": 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x1a1f69=a25_0x5b2e;(function(_0x233a42,_0x2e60ff){const _0x3af439=a25_0x5b2e,_0x75b28d=_0x233a42();while(!![]){try{const _0x402e3e=parseInt(_0x3af439(0x221))/0x1+parseInt(_0x3af439(0x218))/0x2*(-parseInt(_0x3af439(0x1e4))/0x3)+parseInt(_0x3af439(0x230))/0x4*(parseInt(_0x3af439(0x1cc))/0x5)+parseInt(_0x3af439(0x1b8))/0x6*(-parseInt(_0x3af439(0x209))/0x7)+-parseInt(_0x3af439(0x1d7))/0x8*(-parseInt(_0x3af439(0x214))/0x9)+parseInt(_0x3af439(0x215))/0xa+-parseInt(_0x3af439(0x20c))/0xb*(parseInt(_0x3af439(0x217))/0xc);if(_0x402e3e===_0x2e60ff)break;else _0x75b28d['push'](_0x75b28d['shift']());}catch(_0x54d519){_0x75b28d['push'](_0x75b28d['shift']());}}}(a25_0x1c80,0xe403e));function a25_0x1c80(){const _0x2ea5b9=['ldPfK','oTyYE','hFeoE','EC2','OquMF','bUByN','oZgdu','phfbE','WHRlx','iBnnP','headBucket','VpAeh','btxpg','iFQUj','NiFap','name','LJnTv','cHrpM','zspHn','Bucket:\x20','TOCpl','KzAyi','MUSKx','dkyPs','region','gVbTZ','DyvZf','BYUBh','dhplq','TZJrw','iGmwU','BXyRK','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','wvwKn','fMLKq','pemVN','2016-11-15','VtPiG','AhEKX','wdYIA','QoTdW','SkCho','describeRegions','NFPid','18EweUtf','gOocb','cWlog','piHfU','cluster','zsxyl','yIkBi','wJbMV','sqkHd','apiVersion','gPozh','teyYS','BGDMq','TOeOu','jmXnD','BbZoP','oxcQn','myiwZ','CwbDa','jWpkF','64820HELJCa','wSnMN','PvcGn','ijkmi','info','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','EuaqQ','Regions','pOAQe','GNGds','xydgj','12088NOkVVq','aqWxC','then','YOqFC','iZFMv','fetchSecurityGroups','mGTOJ','dnWnb','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','BFPQX','describeVpcs','CybXs','HRsbA','348666pzLKuS','TYvht','promise','error','2017-11-01','BXSlz','FdSqI','ymJpy','EKS','HPkgb','IraUY','EqbsR','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','SZXAY','LsOtb','JIwVE','QKwXg','KvNMF','fvyjI','bqwiv','describeCluster','HItvA','vANET','Bucket','getOidcUrl','catch','gwNjz','xJVPL','NPgNs','XaEyf','oxVJr','iSKYd','LQwHT','BBknq','ybTlr','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','lpHIv','2058119jZtoHL','hQUmJ','TJCSp','8171119PbWPBP','NMGqJ','pdPQk','describeSubnets','mZbpF','SCSIH','wXPuf','fMWAB','9729wAOLzj','1629440qkSlBv','teOMP','12wiEvMX','4nVfMGo','vzyTA','OlfKX','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','aws-sdk','identity','fetchSubnets','describeSecurityGroups','wfSao','48567tiYcRj','isBucketPresent','LNDDA','hDdea','LVOLC','tqSbR','UrVVQ','jszqr','ASjmr','pLWHB','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','warn','oidc','CPktl','tcocO','292ljQKmq','DhLVe','SMxbF','../config/logger','getAWSRegions','yntoT','UxmPS','issuer'];a25_0x1c80=function(){return _0x2ea5b9;};return a25_0x1c80();}const awsSDK=require(a25_0x1a1f69(0x21c)),{logger}=require(a25_0x1a1f69(0x233));function a25_0x5b2e(_0x2a610e,_0x5b3e5a){const _0x1c80c1=a25_0x1c80();return a25_0x5b2e=function(_0x5b2e4a,_0x33e995){_0x5b2e4a=_0x5b2e4a-0x1a9;let _0x2f02c0=_0x1c80c1[_0x5b2e4a];return _0x2f02c0;},a25_0x5b2e(_0x2a610e,_0x5b3e5a);}exports['fetchVPCs']=_0x176a30=>{const _0x28c7a6=a25_0x1a1f69,_0x4637f8={'tqSbR':function(_0x32d14e,_0x513d16){return _0x32d14e(_0x513d16);},'mGTOJ':function(_0x1e2d1d,_0x11ca77){return _0x1e2d1d!==_0x11ca77;},'CrnNM':_0x28c7a6(0x24e),'oTyYE':'hSHyL','NiFap':_0x28c7a6(0x220),'BXSlz':_0x28c7a6(0x1bb),'OquMF':_0x28c7a6(0x1b0),'wJbMV':function(_0x472f85,_0x1de0a8){return _0x472f85===_0x1de0a8;},'OlfKX':_0x28c7a6(0x225),'iSKYd':'hZzXZ'};return new Promise((_0x6933b8,_0x4853af)=>{const _0x2eb7af=_0x28c7a6,_0x20d0ea={'NPgNs':function(_0x3ce8de,_0x36cdd2){const _0x40e907=a25_0x5b2e;return _0x4637f8[_0x40e907(0x226)](_0x3ce8de,_0x36cdd2);},'SMxbF':function(_0x9f72e1,_0x262ae2){const _0x8b3582=a25_0x5b2e;return _0x4637f8[_0x8b3582(0x226)](_0x9f72e1,_0x262ae2);},'pLWHB':function(_0x4a5c15,_0x13d501){const _0x397478=a25_0x5b2e;return _0x4637f8[_0x397478(0x1dd)](_0x4a5c15,_0x13d501);},'BxjRM':_0x4637f8[_0x2eb7af(0x246)],'BBknq':_0x4637f8[_0x2eb7af(0x1e9)],'gVbTZ':_0x4637f8['OquMF']};if(_0x4637f8[_0x2eb7af(0x1bf)](_0x4637f8[_0x2eb7af(0x21a)],_0x4637f8[_0x2eb7af(0x203)]))_0x204905['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x233486),_0x20d0ea[_0x2eb7af(0x200)](_0x5072c8,_0x55d02c);else{const _0xce64b4={};_0xce64b4[_0x2eb7af(0x1c1)]=_0x4637f8[_0x2eb7af(0x23c)],_0xce64b4[_0x2eb7af(0x250)]=_0x176a30;const _0x57df66=new awsSDK[(_0x2eb7af(0x23b))](_0xce64b4);_0x57df66[_0x2eb7af(0x1e1)]()[_0x2eb7af(0x1e6)]()['then'](_0x2bf530=>{const _0xece269=_0x2eb7af,_0x435e64={'aqWxC':function(_0x48a456,_0x919eb3){const _0x4b10c1=a25_0x5b2e;return _0x20d0ea[_0x4b10c1(0x232)](_0x48a456,_0x919eb3);}};if(_0x20d0ea[_0xece269(0x22a)](_0x20d0ea['BxjRM'],_0x20d0ea[_0xece269(0x205)]))_0x20d0ea[_0xece269(0x200)](_0x6933b8,_0x2bf530);else{const _0x2b459f={'IraUY':function(_0x368a24,_0x489932){const _0x56f463=_0xece269;return _0x20d0ea[_0x56f463(0x200)](_0x368a24,_0x489932);}},_0x395a07=new _0x1f2f73['S3']();return new _0x22cf2b((_0x5a343e,_0x203232)=>{const _0x4c330b=_0xece269,_0x3ea5cf={'VyaIq':function(_0x213886,_0x374a97){const _0x56c30f=a25_0x5b2e;return _0x435e64[_0x56c30f(0x1d8)](_0x213886,_0x374a97);}},_0x3a380a={};_0x3a380a[_0x4c330b(0x1fb)]=_0x3a5f54,_0x395a07[_0x4c330b(0x242)](_0x3a380a)['promise']()[_0x4c330b(0x1d9)](_0x4200af=>{const _0x50d77b=_0x4c330b;_0x3970c5['warn'](_0x50d77b(0x24b)+_0x22229e+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x3ea5cf['VyaIq'](_0x5a343e,!![]);})['catch'](()=>{const _0x5483a4=_0x4c330b;_0x28063f[_0x5483a4(0x1d0)](_0x5483a4(0x24b)+_0x4abe90+_0x5483a4(0x1ac)),_0x2b459f[_0x5483a4(0x1ee)](_0x5a343e,![]);});});}})[_0x2eb7af(0x1fd)](_0x5d30e7=>{const _0x3a6ebd=_0x2eb7af,_0x524cda={'ybTlr':function(_0x226b5b,_0x170e65){const _0x4f4126=a25_0x5b2e;return _0x4637f8[_0x4f4126(0x226)](_0x226b5b,_0x170e65);}};if(_0x4637f8[_0x3a6ebd(0x1dd)](_0x4637f8['CrnNM'],_0x4637f8[_0x3a6ebd(0x239)]))logger[_0x3a6ebd(0x1e7)](_0x3a6ebd(0x1d1)+_0x5d30e7),_0x4637f8[_0x3a6ebd(0x226)](_0x4853af,_0x5d30e7);else{const _0x3585a8={'TOCpl':function(_0x1e3c1e,_0x437b56){return _0x20d0ea['SMxbF'](_0x1e3c1e,_0x437b56);}},_0x14c648={};_0x14c648[_0x3a6ebd(0x1c1)]=_0x20d0ea[_0x3a6ebd(0x251)],_0x14c648[_0x3a6ebd(0x250)]=_0x3e5320;const _0x40dbf2=new _0x39df4b[(_0x3a6ebd(0x23b))](_0x14c648);_0x40dbf2[_0x3a6ebd(0x20f)]()[_0x3a6ebd(0x1e6)]()[_0x3a6ebd(0x1d9)](_0x30022b=>{const _0x4105fb=_0x3a6ebd;_0x524cda[_0x4105fb(0x206)](_0x504b57,_0x30022b);})[_0x3a6ebd(0x1fd)](_0x35c9da=>{const _0x407556=_0x3a6ebd;_0x3ab4e6[_0x407556(0x1e7)](_0x407556(0x1df)+_0x35c9da),_0x3585a8[_0x407556(0x24c)](_0x3e71ae,_0x35c9da);});}});}});},exports[a25_0x1a1f69(0x222)]=_0x34c597=>{const _0x4c36ad=a25_0x1a1f69,_0x1b58ed={'fvyjI':function(_0xcdc57a,_0x279440){return _0xcdc57a===_0x279440;},'iZFMv':_0x4c36ad(0x211),'jWpkF':'xObTP','xJVPL':function(_0x145869,_0x8b1bf5){return _0x145869(_0x8b1bf5);},'vzyTA':function(_0x5988d1,_0x120c78){return _0x5988d1(_0x120c78);},'UxmPS':_0x4c36ad(0x1b0),'HRsbA':'vgrER','BXyRK':_0x4c36ad(0x1da)},_0x321100=new awsSDK['S3']();return new Promise((_0x538282,_0x24f03e)=>{const _0x3b2085=_0x4c36ad,_0x2d9222={'PvcGn':function(_0x5a692a,_0x39c004){return _0x1b58ed['vzyTA'](_0x5a692a,_0x39c004);},'TJCSp':_0x1b58ed[_0x3b2085(0x236)],'MCDgJ':function(_0xf5e112,_0x2fad71){const _0x4f8be2=_0x3b2085;return _0x1b58ed[_0x4f8be2(0x1f6)](_0xf5e112,_0x2fad71);},'zsxyl':_0x1b58ed[_0x3b2085(0x1e3)],'gwNjz':function(_0x171c28,_0x57ddc7){const _0x2bb28b=_0x3b2085;return _0x1b58ed[_0x2bb28b(0x219)](_0x171c28,_0x57ddc7);}};if(_0x1b58ed['fvyjI'](_0x1b58ed[_0x3b2085(0x1ab)],_0x1b58ed['BXyRK'])){const _0x19665c={};_0x19665c['Bucket']=_0x34c597,_0x321100[_0x3b2085(0x242)](_0x19665c)['promise']()['then'](_0x2c05f3=>{const _0x2a7a82=_0x3b2085;_0x1b58ed[_0x2a7a82(0x1f6)](_0x1b58ed[_0x2a7a82(0x1db)],_0x1b58ed[_0x2a7a82(0x1cb)])?(_0x2f18fb['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x82eab1),_0x2d9222[_0x2a7a82(0x1ce)](_0x49c4e4,_0x1e67ad)):(logger[_0x2a7a82(0x22c)]('Bucket:\x20'+_0x34c597+_0x2a7a82(0x22b)),_0x1b58ed[_0x2a7a82(0x1ff)](_0x538282,!![]));})['catch'](()=>{const _0x3680ac=_0x3b2085,_0x18d224={'ldPfK':function(_0x2d99aa,_0x14301d){const _0x161d8d=a25_0x5b2e;return _0x2d9222[_0x161d8d(0x1ce)](_0x2d99aa,_0x14301d);},'krZel':_0x2d9222[_0x3680ac(0x20b)]};if(_0x2d9222['MCDgJ'](_0x2d9222[_0x3680ac(0x1bd)],_0x2d9222[_0x3680ac(0x1bd)]))logger[_0x3680ac(0x1d0)](_0x3680ac(0x24b)+_0x34c597+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x2d9222[_0x3680ac(0x1fe)](_0x538282,![]);else{const _0x1d495b={'vANET':function(_0x31ddd8,_0x59b130){return _0x18d224['ldPfK'](_0x31ddd8,_0x59b130);},'OIGKI':function(_0x5db33c,_0x1a299a){const _0x58aa72=_0x3680ac;return _0x18d224[_0x58aa72(0x238)](_0x5db33c,_0x1a299a);},'XaEyf':_0x18d224['krZel']};return new _0xaf4789((_0x148c84,_0xb570c4)=>{const _0x483a29=_0x3680ac,_0x497eea={'sCFXB':function(_0x2ed7aa,_0x5c9cdd){return _0x1d495b['OIGKI'](_0x2ed7aa,_0x5c9cdd);}},_0x46a2ff={};_0x46a2ff[_0x483a29(0x1c1)]=_0x1d495b[_0x483a29(0x201)],_0x46a2ff[_0x483a29(0x250)]=_0x337c1b;const _0x2cd8f2=new _0x4d4b90[(_0x483a29(0x23b))](_0x46a2ff);_0x2cd8f2[_0x483a29(0x1e1)]()[_0x483a29(0x1e6)]()[_0x483a29(0x1d9)](_0x13dbc0=>{const _0x11ffd9=_0x483a29;_0x1d495b[_0x11ffd9(0x1fa)](_0x148c84,_0x13dbc0);})['catch'](_0x7d0f25=>{const _0x3be170=_0x483a29;_0x43e3b0['error'](_0x3be170(0x1d1)+_0x7d0f25),_0x497eea['sCFXB'](_0xb570c4,_0x7d0f25);});});}});}else _0x3c17be[_0x3b2085(0x1e7)](_0x3b2085(0x1f0)+_0x3eb989+':\x20'+_0x1c7306),_0x1b58ed['vzyTA'](_0x3728c7,_0x3f91e8);});},exports[a25_0x1a1f69(0x21e)]=_0x484cfb=>{const _0x312bb6=a25_0x1a1f69,_0x166ffc={'cHrpM':function(_0x48752a,_0x2c40c4){return _0x48752a!==_0x2c40c4;},'jftBl':_0x312bb6(0x1c2),'QoTdW':_0x312bb6(0x216),'hQUmJ':function(_0x34f031,_0x248f01){return _0x34f031(_0x248f01);},'vXIXI':function(_0x2f7b04,_0x495170){return _0x2f7b04(_0x495170);},'qdBYd':function(_0x4a1326,_0x4d6ea5){return _0x4a1326(_0x4d6ea5);},'dhplq':function(_0x52a0c4,_0x4ecb70){return _0x52a0c4===_0x4ecb70;},'iBnnP':_0x312bb6(0x240),'JKwbQ':_0x312bb6(0x252),'BFPQX':_0x312bb6(0x1b0)};return new Promise((_0x33681c,_0xfe4146)=>{const _0x462edb=_0x312bb6,_0x28aa10={'dkyPs':function(_0x3db5f7,_0xc3be0a){return _0x166ffc['vXIXI'](_0x3db5f7,_0xc3be0a);},'tcocO':function(_0x440f44,_0x304b45){return _0x166ffc['qdBYd'](_0x440f44,_0x304b45);},'ymJpy':function(_0x5b9c13,_0x503277){const _0x58f909=a25_0x5b2e;return _0x166ffc[_0x58f909(0x254)](_0x5b9c13,_0x503277);},'iFQUj':_0x166ffc[_0x462edb(0x241)]};if(_0x166ffc['cHrpM'](_0x166ffc['JKwbQ'],_0x166ffc['JKwbQ']))_0x5123c2[_0x462edb(0x22c)](_0x462edb(0x24b)+_0x4423a2+_0x462edb(0x22b)),_0x28aa10[_0x462edb(0x24f)](_0x239b05,!![]);else{const _0x40cb1f={};_0x40cb1f[_0x462edb(0x1c1)]=_0x166ffc[_0x462edb(0x1e0)],_0x40cb1f[_0x462edb(0x250)]=_0x484cfb;const _0x33bbd1=new awsSDK[(_0x462edb(0x23b))](_0x40cb1f);_0x33bbd1[_0x462edb(0x20f)]()[_0x462edb(0x1e6)]()[_0x462edb(0x1d9)](_0x20ab8f=>{const _0x786f5c=_0x462edb;_0x166ffc[_0x786f5c(0x249)](_0x166ffc['jftBl'],_0x166ffc[_0x786f5c(0x1b4)])?_0x166ffc[_0x786f5c(0x20a)](_0x33681c,_0x20ab8f):_0x28aa10[_0x786f5c(0x24f)](_0x41eed5,_0x2bc961);})['catch'](_0x15d97e=>{const _0xa076b4=_0x462edb,_0x181b49={'zMqRV':function(_0x2d6425,_0x272dc2){const _0x5d8b6a=a25_0x5b2e;return _0x28aa10[_0x5d8b6a(0x22f)](_0x2d6425,_0x272dc2);}};_0x28aa10[_0xa076b4(0x1eb)](_0x28aa10[_0xa076b4(0x245)],_0x28aa10[_0xa076b4(0x245)])?(logger[_0xa076b4(0x1e7)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x15d97e),_0x28aa10['dkyPs'](_0xfe4146,_0x15d97e)):_0x181b49['zMqRV'](_0x1267a7,_0xa4a6d3[_0xa076b4(0x1d3)]);});}});},exports[a25_0x1a1f69(0x1dc)]=_0x218ddd=>{const _0x1d7be4=a25_0x1a1f69,_0x59fd00={'LsOtb':function(_0x5119e9,_0x4a35e8){return _0x5119e9(_0x4a35e8);},'SkCho':function(_0x1b0eb7,_0x50a767){return _0x1b0eb7===_0x50a767;},'NMGqJ':_0x1d7be4(0x1cf),'bqwiv':function(_0x216ca6,_0x28a2d3){return _0x216ca6(_0x28a2d3);},'SWrBW':function(_0x13176f,_0x129757){return _0x13176f!==_0x129757;},'JIwVE':_0x1d7be4(0x23d),'BGDMq':function(_0x5d4488,_0x3264ae){return _0x5d4488(_0x3264ae);},'KzAyi':function(_0x13c947,_0x4ce47e){return _0x13c947(_0x4ce47e);},'GMbWY':function(_0x203f08,_0x20ea25){return _0x203f08===_0x20ea25;},'CybXs':_0x1d7be4(0x227),'RnhnQ':_0x1d7be4(0x1b0)};return new Promise((_0xecfbc8,_0x7f6b80)=>{const _0x4b83c8=_0x1d7be4,_0x51fc09={'btxpg':function(_0x16d165,_0x482580){const _0x3dc556=a25_0x5b2e;return _0x59fd00[_0x3dc556(0x1f2)](_0x16d165,_0x482580);},'NFPid':function(_0x54fa47,_0x55ea17){const _0x1c593c=a25_0x5b2e;return _0x59fd00[_0x1c593c(0x1b5)](_0x54fa47,_0x55ea17);},'iGmwU':_0x59fd00[_0x4b83c8(0x20d)],'fMWAB':function(_0x256aa2,_0x56b0bc){const _0x5cbcab=_0x4b83c8;return _0x59fd00[_0x5cbcab(0x1f7)](_0x256aa2,_0x56b0bc);},'gIfPC':function(_0x202f21,_0x3abe97){const _0x51bea8=_0x4b83c8;return _0x59fd00[_0x51bea8(0x1f2)](_0x202f21,_0x3abe97);},'SZXAY':function(_0x500cee,_0x2be51b){return _0x59fd00['SWrBW'](_0x500cee,_0x2be51b);},'HItvA':_0x59fd00[_0x4b83c8(0x1f3)],'LNDDA':function(_0x16ffe2,_0x5b5f9d){const _0x1a7d9f=_0x4b83c8;return _0x59fd00[_0x1a7d9f(0x1c4)](_0x16ffe2,_0x5b5f9d);},'TYvht':function(_0x524b6a,_0x5d0350){const _0x4f16c4=_0x4b83c8;return _0x59fd00[_0x4f16c4(0x24d)](_0x524b6a,_0x5d0350);}};if(_0x59fd00['GMbWY'](_0x59fd00['CybXs'],_0x59fd00[_0x4b83c8(0x1e2)])){const _0x1fd4ad={};_0x1fd4ad[_0x4b83c8(0x1c1)]=_0x59fd00['RnhnQ'],_0x1fd4ad[_0x4b83c8(0x250)]=_0x218ddd;const _0x3bb219=new awsSDK[(_0x4b83c8(0x23b))](_0x1fd4ad);_0x3bb219['describeSecurityGroups']()[_0x4b83c8(0x1e6)]()[_0x4b83c8(0x1d9)](_0x41f2d0=>{const _0x196b70=_0x4b83c8;_0x51fc09[_0x196b70(0x1b7)](_0x51fc09[_0x196b70(0x1aa)],_0x51fc09[_0x196b70(0x1aa)])?_0x51fc09[_0x196b70(0x213)](_0xecfbc8,_0x41f2d0):(_0x153091[_0x196b70(0x1d0)](_0x196b70(0x24b)+_0x5cb601+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x51fc09[_0x196b70(0x244)](_0x2706b1,![]));})[_0x4b83c8(0x1fd)](_0x2d7a93=>{const _0x3bb075=_0x4b83c8;_0x51fc09[_0x3bb075(0x1f1)](_0x51fc09[_0x3bb075(0x1f9)],_0x51fc09['HItvA'])?_0x51fc09['gIfPC'](_0xf43035,{}):(logger['error'](_0x3bb075(0x207)+_0x2d7a93),_0x51fc09[_0x3bb075(0x223)](_0x7f6b80,_0x2d7a93));});}else _0x51fc09[_0x4b83c8(0x1e5)](_0x20497f,_0x224df8[_0x4b83c8(0x1bc)][_0x4b83c8(0x21d)][_0x4b83c8(0x22d)][_0x4b83c8(0x237)]);});},exports[a25_0x1a1f69(0x234)]=()=>{const _0x26ba0c=a25_0x1a1f69,_0x39ac2a={'IJVWY':function(_0x1cccc5,_0x17ca40){return _0x1cccc5(_0x17ca40);},'ASjmr':'2016-11-15','wvwKn':function(_0x167998,_0x361051){return _0x167998(_0x361051);},'dIvyV':function(_0x36f6bf,_0x575908){return _0x36f6bf(_0x575908);},'TOeOu':function(_0x57bf5b,_0x41e078){return _0x57bf5b===_0x41e078;},'pemVN':_0x26ba0c(0x1ea),'QKwXg':function(_0x37d340,_0x56225b){return _0x37d340!==_0x56225b;},'oZgdu':_0x26ba0c(0x24a),'pdPQk':function(_0x127235,_0x6d8cb5){return _0x127235(_0x6d8cb5);},'cWlog':'rEfxP','oxcQn':_0x26ba0c(0x202),'EuaqQ':_0x26ba0c(0x1d6),'ycFJx':function(_0x5bb4a4,_0x3c4d9f){return _0x5bb4a4(_0x3c4d9f);},'hFeoE':function(_0x32db18,_0x29bfbb){return _0x32db18(_0x29bfbb);},'phfbE':function(_0x2338d0,_0x19e664){return _0x2338d0!==_0x19e664;},'lpHIv':_0x26ba0c(0x212)};return new Promise((_0x1dc3c8,_0x27790a)=>{const _0x42a797=_0x26ba0c,_0x57da56={'KvNMF':function(_0x4dfb14,_0x1d9bdd){const _0x3b665c=a25_0x5b2e;return _0x39ac2a[_0x3b665c(0x23a)](_0x4dfb14,_0x1d9bdd);},'LQwHT':function(_0x190d21,_0x217a1c){const _0x1dc5d6=a25_0x5b2e;return _0x39ac2a[_0x1dc5d6(0x1f4)](_0x190d21,_0x217a1c);}};if(_0x39ac2a[_0x42a797(0x23f)](_0x39ac2a[_0x42a797(0x208)],_0x39ac2a[_0x42a797(0x208)])){const _0x1c84b9={'UpYmX':function(_0x6de675,_0x55628a){return _0x39ac2a['IJVWY'](_0x6de675,_0x55628a);}},_0x250021={};_0x250021['apiVersion']=_0x39ac2a['ASjmr'],_0x250021[_0x42a797(0x250)]=_0x986d75;const _0x2f7d35=new _0x409d44[(_0x42a797(0x23b))](_0x250021);_0x2f7d35[_0x42a797(0x1e1)]()[_0x42a797(0x1e6)]()[_0x42a797(0x1d9)](_0x2c1807=>{const _0x3e36ac=_0x42a797;_0x57da56[_0x3e36ac(0x1f5)](_0x73357c,_0x2c1807);})[_0x42a797(0x1fd)](_0x1e6a1c=>{const _0x4a7066=_0x42a797;_0x231efc[_0x4a7066(0x1e7)](_0x4a7066(0x1d1)+_0x1e6a1c),_0x1c84b9['UpYmX'](_0xceabb0,_0x1e6a1c);});}else{const _0x226a7a={};_0x226a7a['apiVersion']=_0x39ac2a['ASjmr'];const _0x32c476=new awsSDK['EC2'](_0x226a7a);_0x32c476[_0x42a797(0x1b6)]()[_0x42a797(0x1e6)]()['then']((_0x50517f,_0x4ff1f9)=>{const _0x500761=_0x42a797,_0x2c8253={'LDYgX':function(_0x406d09,_0x10a08f){const _0x2a4cf0=a25_0x5b2e;return _0x39ac2a[_0x2a4cf0(0x1ad)](_0x406d09,_0x10a08f);},'VpAeh':_0x39ac2a[_0x500761(0x229)],'BbZoP':function(_0x4c477b,_0x4b227c){return _0x39ac2a['dIvyV'](_0x4c477b,_0x4b227c);}};if(_0x39ac2a[_0x500761(0x1c5)](_0x39ac2a['pemVN'],_0x39ac2a[_0x500761(0x1af)])){if(_0x39ac2a['QKwXg'](_0x50517f,undefined)&&_0x39ac2a[_0x500761(0x1f4)](_0x50517f[_0x500761(0x1d3)],undefined)){if(_0x39ac2a[_0x500761(0x1c5)](_0x39ac2a[_0x500761(0x23e)],_0x39ac2a[_0x500761(0x23e)]))_0x39ac2a[_0x500761(0x20e)](_0x1dc3c8,_0x50517f[_0x500761(0x1d3)]);else{const _0xf8609={'DhLVe':function(_0x4913f8,_0x18be3e){return _0x2c8253['BbZoP'](_0x4913f8,_0x18be3e);}};return new _0xdd47c7((_0x150823,_0x4d0123)=>{const _0x10220=_0x500761,_0x102b19={'jszqr':function(_0x4460f4,_0x33a432){return _0x2c8253['LDYgX'](_0x4460f4,_0x33a432);}},_0x2ba001={};_0x2ba001[_0x10220(0x1c1)]=_0x2c8253[_0x10220(0x243)],_0x2ba001[_0x10220(0x250)]=_0x43db7e;const _0x3153ef=new _0x2de898['EC2'](_0x2ba001);_0x3153ef[_0x10220(0x20f)]()['promise']()[_0x10220(0x1d9)](_0x3b1416=>{const _0x2dab99=_0x10220;_0xf8609[_0x2dab99(0x231)](_0x150823,_0x3b1416);})['catch'](_0x3fb5da=>{const _0x32e461=_0x10220;_0x21aebc[_0x32e461(0x1e7)](_0x32e461(0x1df)+_0x3fb5da),_0x102b19[_0x32e461(0x228)](_0x4d0123,_0x3fb5da);});});}}else _0x39ac2a[_0x500761(0x1c5)](_0x39ac2a[_0x500761(0x1ba)],_0x39ac2a[_0x500761(0x1ba)])?_0x39ac2a[_0x500761(0x1ad)](_0x1dc3c8,{}):(_0xca3bfb[_0x500761(0x1e7)](_0x500761(0x21b)+_0x4671a6),_0x57da56[_0x500761(0x1f5)](_0x19c27a,_0x456a55));}else _0x2c8253[_0x500761(0x1c7)](_0x78c62,_0x1845c8);})[_0x42a797(0x1fd)](_0x438097=>{const _0x3b910d=_0x42a797;_0x39ac2a[_0x3b910d(0x1c5)](_0x39ac2a[_0x3b910d(0x1c8)],_0x39ac2a[_0x3b910d(0x1d2)])?_0x57da56[_0x3b910d(0x204)](_0x38d814,_0x41b75d)&&_0x57da56[_0x3b910d(0x204)](_0x1869bc['Regions'],_0x4c2261)?_0x57da56[_0x3b910d(0x1f5)](_0x3c83ae,_0x31c68f[_0x3b910d(0x1d3)]):_0x57da56[_0x3b910d(0x1f5)](_0x906be0,{}):(logger[_0x3b910d(0x1e7)](_0x3b910d(0x21b)+_0x438097),_0x39ac2a['ycFJx'](_0x27790a,_0x438097));});}});},exports[a25_0x1a1f69(0x1fc)]=_0x3d1bd7=>{const _0x1504b6=a25_0x1a1f69,_0xeeffb7={'BYUBh':function(_0x2235fe,_0x58c7d8){return _0x2235fe===_0x58c7d8;},'CwbDa':_0x1504b6(0x1c0),'fMLKq':function(_0x305d80,_0x442f92){return _0x305d80(_0x442f92);},'dnWnb':function(_0xbe5ccf,_0x5bd1fd){return _0xbe5ccf(_0x5bd1fd);},'HPkgb':_0x1504b6(0x1b0),'teyYS':_0x1504b6(0x1a9),'myiwZ':_0x1504b6(0x1c6),'LJnTv':_0x1504b6(0x1e8),'YgClo':function(_0x285c34,_0x3b9ed8){return _0x285c34!==_0x3b9ed8;},'wYdHB':_0x1504b6(0x1ef),'wdYIA':_0x1504b6(0x1d5)};return new Promise((_0x259c96,_0x2e78da)=>{const _0x10d421=_0x1504b6,_0x9255f7={'gOocb':function(_0xa333ff,_0x235942){const _0x3ee7fc=a25_0x5b2e;return _0xeeffb7[_0x3ee7fc(0x1de)](_0xa333ff,_0x235942);},'VtPiG':_0xeeffb7[_0x10d421(0x1ed)],'xIGkT':function(_0x158aee,_0x34d30e){const _0x14cb8e=_0x10d421;return _0xeeffb7[_0x14cb8e(0x253)](_0x158aee,_0x34d30e);},'yntoT':_0xeeffb7[_0x10d421(0x1c3)],'wSnMN':_0xeeffb7[_0x10d421(0x1c9)],'hDdea':function(_0x4b7c04,_0x3679cb){const _0x3e877e=_0x10d421;return _0xeeffb7[_0x3e877e(0x1ae)](_0x4b7c04,_0x3679cb);},'pOAQe':function(_0x140ee7,_0x586b99){return _0xeeffb7['fMLKq'](_0x140ee7,_0x586b99);},'nBXyt':_0xeeffb7[_0x10d421(0x248)]};if(_0xeeffb7['YgClo'](_0xeeffb7['wYdHB'],_0xeeffb7[_0x10d421(0x1b3)])){const _0x263867={};_0x263867[_0x10d421(0x1c1)]=_0xeeffb7[_0x10d421(0x248)];const _0x174c5e=new awsSDK['EKS'](_0x263867),_0x224bf2={};_0x224bf2[_0x10d421(0x247)]=_0x3d1bd7,_0x174c5e[_0x10d421(0x1f8)](_0x224bf2)[_0x10d421(0x1e6)]()[_0x10d421(0x1d9)](_0x2e11fc=>{const _0x281db9=_0x10d421;if(_0x9255f7['xIGkT'](_0x9255f7[_0x281db9(0x235)],_0x9255f7[_0x281db9(0x1cd)])){const _0x3884f6={'CPktl':function(_0x1387af,_0x5c85d2){const _0x4f082f=_0x281db9;return _0x9255f7[_0x4f082f(0x1b9)](_0x1387af,_0x5c85d2);}},_0x2f5f7e={};_0x2f5f7e[_0x281db9(0x1c1)]=_0x9255f7[_0x281db9(0x1b1)],_0x2f5f7e[_0x281db9(0x250)]=_0x45cefc;const _0xa9173=new _0x50225c[(_0x281db9(0x23b))](_0x2f5f7e);_0xa9173[_0x281db9(0x21f)]()[_0x281db9(0x1e6)]()[_0x281db9(0x1d9)](_0x24e4ad=>{_0x3884f6['CPktl'](_0x32c652,_0x24e4ad);})[_0x281db9(0x1fd)](_0x9f800e=>{const _0xd6235e=_0x281db9;_0xe0351d[_0xd6235e(0x1e7)](_0xd6235e(0x207)+_0x9f800e),_0x3884f6[_0xd6235e(0x22e)](_0x14a5dc,_0x9f800e);});}else _0x9255f7[_0x281db9(0x224)](_0x259c96,_0x2e11fc[_0x281db9(0x1bc)]['identity']['oidc'][_0x281db9(0x237)]);})['catch'](_0x88c174=>{const _0x4eaa11=_0x10d421;if(_0xeeffb7['BYUBh'](_0xeeffb7[_0x4eaa11(0x1ca)],_0xeeffb7[_0x4eaa11(0x1ca)]))logger[_0x4eaa11(0x1e7)](_0x4eaa11(0x1f0)+_0x3d1bd7+':\x20'+_0x88c174),_0xeeffb7[_0x4eaa11(0x1ae)](_0x2e78da,_0x88c174);else{const _0x205104={'CtijM':function(_0x24d7ac,_0x3530b0){const _0x506350=_0x4eaa11;return _0x9255f7[_0x506350(0x1d4)](_0x24d7ac,_0x3530b0);},'tXFnv':_0x9255f7[_0x4eaa11(0x1b1)]};return new _0x57e173((_0x47bbec,_0x28f323)=>{const _0x45f650=_0x4eaa11,_0xb4412={'mZbpF':function(_0x57a241,_0x434867){return _0x205104['CtijM'](_0x57a241,_0x434867);}},_0x462d81={};_0x462d81[_0x45f650(0x1c1)]=_0x205104['tXFnv'],_0x462d81[_0x45f650(0x250)]=_0x30d5c6;const _0x51e05d=new _0x421c6b[(_0x45f650(0x23b))](_0x462d81);_0x51e05d[_0x45f650(0x21f)]()['promise']()['then'](_0x5b790d=>{const _0x4c5f4e=_0x45f650;_0xb4412[_0x4c5f4e(0x210)](_0x47bbec,_0x5b790d);})[_0x45f650(0x1fd)](_0x373de9=>{const _0x4c237f=_0x45f650;_0x2bc475['error'](_0x4c237f(0x207)+_0x373de9),_0xb4412[_0x4c237f(0x210)](_0x28f323,_0x373de9);});});}});}else{const _0x76a92a={'AhEKX':function(_0x3480b7,_0x493079){const _0x2fe2b9=_0x10d421;return _0x9255f7[_0x2fe2b9(0x1b9)](_0x3480b7,_0x493079);},'yIkBi':function(_0x1ad828,_0x114546){const _0x377538=_0x10d421;return _0x9255f7[_0x377538(0x1d4)](_0x1ad828,_0x114546);}},_0x4fcbbb={};_0x4fcbbb[_0x10d421(0x1c1)]=_0x9255f7['nBXyt'];const _0x3007f3=new _0x108d0c[(_0x10d421(0x1ec))](_0x4fcbbb),_0x7bc6cc={};_0x7bc6cc[_0x10d421(0x247)]=_0x2d52f3,_0x3007f3['describeCluster'](_0x7bc6cc)[_0x10d421(0x1e6)]()[_0x10d421(0x1d9)](_0x104df4=>{const _0x402772=_0x10d421;_0x76a92a[_0x402772(0x1b2)](_0xfac970,_0x104df4[_0x402772(0x1bc)][_0x402772(0x21d)][_0x402772(0x22d)][_0x402772(0x237)]);})[_0x10d421(0x1fd)](_0x2c5cd=>{const _0x35522c=_0x10d421;_0x194906['error'](_0x35522c(0x1f0)+_0x2c3e0e+':\x20'+_0x2c5cd),_0x76a92a[_0x35522c(0x1be)](_0x11cd42,_0x2c5cd);});}});},exports['awsObj']=awsSDK;
|
|
1
|
+
const a25_0x89ab67=a25_0x659d;(function(_0xf8c8e9,_0x210946){const _0x4787d8=a25_0x659d,_0x2d8b3d=_0xf8c8e9();while(!![]){try{const _0x5c3957=-parseInt(_0x4787d8(0x1bc))/0x1*(-parseInt(_0x4787d8(0x218))/0x2)+parseInt(_0x4787d8(0x1b4))/0x3+parseInt(_0x4787d8(0x1fc))/0x4*(-parseInt(_0x4787d8(0x1d2))/0x5)+parseInt(_0x4787d8(0x1fe))/0x6*(-parseInt(_0x4787d8(0x205))/0x7)+parseInt(_0x4787d8(0x17e))/0x8*(-parseInt(_0x4787d8(0x196))/0x9)+-parseInt(_0x4787d8(0x21d))/0xa+parseInt(_0x4787d8(0x197))/0xb*(parseInt(_0x4787d8(0x1d7))/0xc);if(_0x5c3957===_0x210946)break;else _0x2d8b3d['push'](_0x2d8b3d['shift']());}catch(_0x182199){_0x2d8b3d['push'](_0x2d8b3d['shift']());}}}(a25_0x7e3c,0x8ae03));const awsSDK=require('aws-sdk'),{logger}=require(a25_0x89ab67(0x1f6));exports[a25_0x89ab67(0x1c3)]=_0x59c564=>{const _0x36ba17=a25_0x89ab67,_0x5187c9={'LXfuC':function(_0x51f653,_0x5267b8){return _0x51f653!==_0x5267b8;},'NCvXT':function(_0x288456,_0x2669b5){return _0x288456!==_0x2669b5;},'OWYpR':function(_0x3efc74,_0x1ef6f4){return _0x3efc74(_0x1ef6f4);},'hLkYL':function(_0x21b3e4,_0x1d3947){return _0x21b3e4(_0x1d3947);},'GmWiq':function(_0x14712c,_0x50550c){return _0x14712c!==_0x50550c;},'MiRwE':_0x36ba17(0x1fa),'GBPii':'rkDkl','RmAKx':function(_0x4585a3,_0x5d7f07){return _0x4585a3(_0x5d7f07);},'EJyiK':_0x36ba17(0x204),'IInnJ':_0x36ba17(0x1af),'cDYbl':function(_0xa6fdcb,_0x1e53ba){return _0xa6fdcb(_0x1e53ba);},'aiXdN':'jwCrU','RuPXS':_0x36ba17(0x1c0)};return new Promise((_0x2d42b5,_0x375917)=>{const _0x581f52=_0x36ba17,_0x232b64={'qHshT':function(_0x27d67d,_0x1e1474){const _0x56192e=a25_0x659d;return _0x5187c9[_0x56192e(0x20a)](_0x27d67d,_0x1e1474);},'ylhzM':function(_0x44778e,_0x385288){return _0x5187c9['LXfuC'](_0x44778e,_0x385288);},'zLHpL':_0x5187c9[_0x581f52(0x17d)],'pMGFy':_0x5187c9['IInnJ'],'jgXcv':function(_0x2da78e,_0x244733){const _0x45f312=_0x581f52;return _0x5187c9[_0x45f312(0x1bf)](_0x2da78e,_0x244733);}};if(_0x5187c9['NCvXT'](_0x5187c9['aiXdN'],_0x5187c9[_0x581f52(0x1a0)]))_0x5187c9[_0x581f52(0x21e)](_0xe83341,_0x490154)&&_0x5187c9[_0x581f52(0x190)](_0x185c34['Regions'],_0x1cf936)?_0x5187c9[_0x581f52(0x192)](_0x90e301,_0x5c9593['Regions']):_0x5187c9['hLkYL'](_0x150248,{});else{const _0x2087b9={};_0x2087b9['apiVersion']=_0x5187c9['RuPXS'],_0x2087b9[_0x581f52(0x202)]=_0x59c564;const _0x42101e=new awsSDK[(_0x581f52(0x1b7))](_0x2087b9);_0x42101e[_0x581f52(0x191)]()[_0x581f52(0x21a)]()[_0x581f52(0x176)](_0x1f36f9=>{const _0xb401b3=_0x581f52;_0x232b64[_0xb401b3(0x1de)](_0x232b64['zLHpL'],_0x232b64['pMGFy'])?_0x232b64[_0xb401b3(0x1a1)](_0x2d42b5,_0x1f36f9):_0x232b64[_0xb401b3(0x20f)](_0x4ece8b,_0x5d11dd['cluster'][_0xb401b3(0x177)][_0xb401b3(0x178)]['issuer']);})[_0x581f52(0x1ba)](_0x153aec=>{const _0x28b8d7=_0x581f52;_0x5187c9[_0x28b8d7(0x1fb)](_0x5187c9[_0x28b8d7(0x1d1)],_0x5187c9[_0x28b8d7(0x1b8)])?(logger[_0x28b8d7(0x19b)](_0x28b8d7(0x1c1)+_0x153aec),_0x5187c9['hLkYL'](_0x375917,_0x153aec)):(_0x574d9d[_0x28b8d7(0x19b)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1c4654),_0x232b64[_0x28b8d7(0x20f)](_0x47df0d,_0x492485));});}});},exports[a25_0x89ab67(0x1bd)]=_0x46eb48=>{const _0x443097=a25_0x89ab67,_0x5283a0={'JAhoN':function(_0x500182,_0xb2029){return _0x500182(_0xb2029);},'DWAVs':_0x443097(0x1c0),'pSIiQ':function(_0x58dcf5,_0x4c6346){return _0x58dcf5===_0x4c6346;},'GCKBU':_0x443097(0x1f8),'TzCai':function(_0x49df8a,_0x534b02){return _0x49df8a(_0x534b02);},'oyOQC':function(_0x3b0353,_0x4f2b6a){return _0x3b0353(_0x4f2b6a);},'cnZqn':function(_0x40ec04,_0x533c50){return _0x40ec04(_0x533c50);},'fhuYO':_0x443097(0x189),'tZDBF':_0x443097(0x1db),'lhYgK':function(_0x3de449,_0x27fa9e){return _0x3de449(_0x27fa9e);},'mjfpf':function(_0x5a5ec7,_0x39b71f){return _0x5a5ec7(_0x39b71f);},'gnFxM':function(_0x5b5e08,_0x323e0b){return _0x5b5e08===_0x323e0b;},'AlwNf':_0x443097(0x1eb),'ECmGA':'GSHOM'},_0x2c65db=new awsSDK['S3']();return new Promise((_0x32150e,_0x2dd102)=>{const _0x4c876d=_0x443097,_0x259986={'ilJel':function(_0x39826d,_0x5f11cd){const _0x38a4f8=a25_0x659d;return _0x5283a0[_0x38a4f8(0x1d3)](_0x39826d,_0x5f11cd);},'ldrWS':function(_0x2c8daf,_0x1f7e10){const _0xdecf97=a25_0x659d;return _0x5283a0[_0xdecf97(0x1e3)](_0x2c8daf,_0x1f7e10);},'PRcKM':function(_0x1c7e24,_0x3b040d){const _0x14c4d2=a25_0x659d;return _0x5283a0[_0x14c4d2(0x180)](_0x1c7e24,_0x3b040d);},'oXfdo':_0x5283a0[_0x4c876d(0x1bb)],'uVheF':_0x5283a0[_0x4c876d(0x1e4)],'wulWH':function(_0x6cc2e3,_0x15e1bc){const _0x584f3c=_0x4c876d;return _0x5283a0[_0x584f3c(0x17a)](_0x6cc2e3,_0x15e1bc);},'ZQNUS':function(_0x2fa82b,_0x148e03){const _0x5a98f5=_0x4c876d;return _0x5283a0[_0x5a98f5(0x1b1)](_0x2fa82b,_0x148e03);}};if(_0x5283a0['gnFxM'](_0x5283a0[_0x4c876d(0x208)],_0x5283a0[_0x4c876d(0x195)])){const _0x5b9136={'CTqlV':function(_0x241c77,_0x17d670){const _0x570a8c=_0x4c876d;return _0x5283a0[_0x570a8c(0x1da)](_0x241c77,_0x17d670);}},_0xa428c6={};_0xa428c6['apiVersion']=_0x5283a0['DWAVs'],_0xa428c6[_0x4c876d(0x202)]=_0x49c2eb;const _0x4d0b2b=new _0x2eb6da[(_0x4c876d(0x1b7))](_0xa428c6);_0x4d0b2b[_0x4c876d(0x191)]()['promise']()[_0x4c876d(0x176)](_0xd9c6df=>{const _0x1f1c35=_0x4c876d;_0x5b9136[_0x1f1c35(0x21c)](_0x41645a,_0xd9c6df);})[_0x4c876d(0x1ba)](_0x27831a=>{const _0xc1d3c6=_0x4c876d;_0x3e2a78['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x27831a),_0x259986[_0xc1d3c6(0x1ca)](_0x43e0c5,_0x27831a);});}else{const _0x423285={};_0x423285[_0x4c876d(0x1f2)]=_0x46eb48,_0x2c65db['headBucket'](_0x423285)[_0x4c876d(0x21a)]()[_0x4c876d(0x176)](_0x183713=>{const _0x163d53=_0x4c876d;_0x259986['PRcKM'](_0x259986[_0x163d53(0x207)],_0x259986[_0x163d53(0x1ef)])?(_0x276204['info'](_0x163d53(0x1f4)+_0x19658d+_0x163d53(0x1d5)),_0x259986[_0x163d53(0x1e5)](_0x5083a9,![])):(logger[_0x163d53(0x1cf)](_0x163d53(0x1f4)+_0x46eb48+_0x163d53(0x17c)),_0x259986[_0x163d53(0x188)](_0x32150e,!![]));})['catch'](()=>{const _0x25aa24=_0x4c876d;_0x5283a0[_0x25aa24(0x180)](_0x5283a0['GCKBU'],_0x5283a0[_0x25aa24(0x1df)])?(logger[_0x25aa24(0x215)](_0x25aa24(0x1f4)+_0x46eb48+_0x25aa24(0x1d5)),_0x5283a0[_0x25aa24(0x1a9)](_0x32150e,![])):_0x259986[_0x25aa24(0x1b5)](_0x322e73,_0x47831f);});}});},exports['fetchSubnets']=_0x4f12af=>{const _0x1e281d=a25_0x89ab67,_0x4283fc={'Ksjft':function(_0x2c3f16,_0x5d1110){return _0x2c3f16(_0x5d1110);},'Okmoc':function(_0x299d36,_0x2b0d60){return _0x299d36!==_0x2b0d60;},'eWndJ':_0x1e281d(0x185),'XSYBp':function(_0x42b398,_0x45bb15){return _0x42b398(_0x45bb15);},'sesAO':_0x1e281d(0x1c0),'GXuyA':function(_0x1e64af,_0x2929e8){return _0x1e64af===_0x2929e8;},'MVwqa':_0x1e281d(0x1dd),'KtTgZ':_0x1e281d(0x1ad),'fCzJq':'pFtrF'};return new Promise((_0x1813d6,_0xdf5045)=>{const _0x1549a4=_0x1e281d,_0x1f0f74={'GSXkb':function(_0x5d3e35,_0x15ea5b){return _0x4283fc['XSYBp'](_0x5d3e35,_0x15ea5b);},'TGMXw':_0x4283fc['sesAO'],'cLerr':function(_0x263b95,_0x26d7f4){return _0x4283fc['Ksjft'](_0x263b95,_0x26d7f4);},'hfdBO':function(_0x2918fc,_0x44b26a){return _0x4283fc['XSYBp'](_0x2918fc,_0x44b26a);},'xgdqw':function(_0x28ed5c,_0xdaf75f){const _0x318886=a25_0x659d;return _0x4283fc[_0x318886(0x1be)](_0x28ed5c,_0xdaf75f);},'YeadB':_0x4283fc['MVwqa']};if(_0x4283fc[_0x1549a4(0x1be)](_0x4283fc['KtTgZ'],_0x4283fc[_0x1549a4(0x1c4)])){const _0x34d2c4={'YYVzX':function(_0x70f22e,_0x1e5ae2){return _0x1f0f74['cLerr'](_0x70f22e,_0x1e5ae2);}};return new _0x2ae576((_0x5e297,_0x4d8f32)=>{const _0x1dd789=_0x1549a4,_0x3812bb={'xPkPP':function(_0x3455b3,_0x375fea){const _0x173d12=a25_0x659d;return _0x1f0f74[_0x173d12(0x1b9)](_0x3455b3,_0x375fea);}},_0x26f275={};_0x26f275['apiVersion']=_0x1f0f74['TGMXw'],_0x26f275['region']=_0x223c8b;const _0x449219=new _0x45b96a[(_0x1dd789(0x1b7))](_0x26f275);_0x449219['describeVpcs']()[_0x1dd789(0x21a)]()[_0x1dd789(0x176)](_0x25792d=>{const _0x558955=_0x1dd789;_0x3812bb[_0x558955(0x1ea)](_0x5e297,_0x25792d);})[_0x1dd789(0x1ba)](_0x266d34=>{const _0x36a043=_0x1dd789;_0x38549b[_0x36a043(0x19b)](_0x36a043(0x1c1)+_0x266d34),_0x34d2c4[_0x36a043(0x1cb)](_0x4d8f32,_0x266d34);});});}else{const _0x5a496f={};_0x5a496f[_0x1549a4(0x1a3)]=_0x4283fc[_0x1549a4(0x1e0)],_0x5a496f[_0x1549a4(0x202)]=_0x4f12af;const _0x3ae770=new awsSDK[(_0x1549a4(0x1b7))](_0x5a496f);_0x3ae770[_0x1549a4(0x1ec)]()[_0x1549a4(0x21a)]()[_0x1549a4(0x176)](_0x14edc4=>{const _0x4c6d9b=_0x1549a4,_0xd37ccb={'vMcVQ':function(_0x4c8443,_0x56b23c){return _0x4283fc['Ksjft'](_0x4c8443,_0x56b23c);}};_0x4283fc[_0x4c6d9b(0x1cc)](_0x4283fc[_0x4c6d9b(0x1f1)],_0x4283fc[_0x4c6d9b(0x1f1)])?(_0x3a40e3['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x3d5393),_0xd37ccb[_0x4c6d9b(0x194)](_0x2ac736,_0x31aae9)):_0x4283fc[_0x4c6d9b(0x210)](_0x1813d6,_0x14edc4);})[_0x1549a4(0x1ba)](_0x59881a=>{const _0x441d69=_0x1549a4,_0xa6c954={'HzpGY':function(_0x159191,_0x57ace3){const _0x49580e=a25_0x659d;return _0x1f0f74[_0x49580e(0x19c)](_0x159191,_0x57ace3);}};if(_0x1f0f74['xgdqw'](_0x1f0f74[_0x441d69(0x20d)],_0x1f0f74[_0x441d69(0x20d)]))logger[_0x441d69(0x19b)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x59881a),_0x1f0f74[_0x441d69(0x19c)](_0xdf5045,_0x59881a);else{const _0x4f504d={'asBQW':function(_0x1c5c8a,_0x1f9c3c){return _0x1f0f74['hfdBO'](_0x1c5c8a,_0x1f9c3c);}},_0x5234b2={};_0x5234b2[_0x441d69(0x1a3)]=_0x1f0f74['TGMXw'],_0x5234b2[_0x441d69(0x202)]=_0x17f78b;const _0x5ed8bc=new _0x425474[(_0x441d69(0x1b7))](_0x5234b2);_0x5ed8bc[_0x441d69(0x1ec)]()[_0x441d69(0x21a)]()[_0x441d69(0x176)](_0x3d4f7c=>{const _0x4f8e33=_0x441d69;_0x4f504d[_0x4f8e33(0x1e8)](_0x52c238,_0x3d4f7c);})['catch'](_0x3c830e=>{const _0xed84cc=_0x441d69;_0xdd756f['error'](_0xed84cc(0x1ab)+_0x3c830e),_0xa6c954['HzpGY'](_0x5eb945,_0x3c830e);});}});}});},exports[a25_0x89ab67(0x1f7)]=_0x3bbfc6=>{const _0x474312=a25_0x89ab67,_0x221f32={'HhOHA':function(_0x3d1c4f,_0xd1e37e){return _0x3d1c4f===_0xd1e37e;},'ZTyNP':'hAWVJ','JOFWv':'BUttb','xABGU':function(_0x2a2f9e,_0x504094){return _0x2a2f9e(_0x504094);},'rhDbC':'2016-11-15','zRtwv':function(_0x2745a6,_0x513021){return _0x2745a6!==_0x513021;},'nMPqw':'ntYvz','JqOqa':_0x474312(0x1a7)};return new Promise((_0x3ad785,_0x7c3b2a)=>{const _0x4e277e=_0x474312,_0x31f39d={'wyDAf':function(_0x5b1ff0,_0x5f5c3d){return _0x221f32['xABGU'](_0x5b1ff0,_0x5f5c3d);},'Unwms':function(_0xa99628,_0x2818e6){return _0x221f32['xABGU'](_0xa99628,_0x2818e6);},'QzZsH':function(_0x255eab,_0x23204c){const _0x5023fd=a25_0x659d;return _0x221f32[_0x5023fd(0x1d6)](_0x255eab,_0x23204c);},'feaeB':_0x221f32[_0x4e277e(0x182)],'QZNTl':function(_0x23a3f8,_0x4374a8){return _0x221f32['zRtwv'](_0x23a3f8,_0x4374a8);},'rEJFq':_0x221f32[_0x4e277e(0x214)],'llTrJ':function(_0x196555,_0x35debd){const _0x33d187=_0x4e277e;return _0x221f32[_0x33d187(0x1d6)](_0x196555,_0x35debd);}};if(_0x221f32[_0x4e277e(0x1d8)](_0x221f32[_0x4e277e(0x1f3)],_0x221f32[_0x4e277e(0x1f3)]))_0x31f39d[_0x4e277e(0x201)](_0x15b116,_0x5a9757);else{const _0x2068ee={};_0x2068ee['apiVersion']=_0x221f32[_0x4e277e(0x182)],_0x2068ee[_0x4e277e(0x202)]=_0x3bbfc6;const _0x52fc24=new awsSDK[(_0x4e277e(0x1b7))](_0x2068ee);_0x52fc24[_0x4e277e(0x1e7)]()[_0x4e277e(0x21a)]()[_0x4e277e(0x176)](_0x588a2c=>{const _0x2cdfb9=_0x4e277e;if(_0x221f32['HhOHA'](_0x221f32['ZTyNP'],_0x221f32[_0x2cdfb9(0x1ce)])){const _0x13f23a={'kkBGv':function(_0x290f7d,_0x1da976){return _0x31f39d['Unwms'](_0x290f7d,_0x1da976);},'IMjXG':function(_0x172a6f,_0x3f8d34){const _0x322ce1=_0x2cdfb9;return _0x31f39d[_0x322ce1(0x179)](_0x172a6f,_0x3f8d34);},'kemqF':_0x31f39d[_0x2cdfb9(0x18c)]};return new _0x436d41((_0x2a4fc6,_0x32a2ec)=>{const _0x5619da=_0x2cdfb9,_0x1103c0={'PyyOq':function(_0x1f6e8e,_0xd920d8){const _0x582baf=a25_0x659d;return _0x13f23a[_0x582baf(0x1ae)](_0x1f6e8e,_0xd920d8);}},_0x5360cf={};_0x5360cf[_0x5619da(0x1a3)]=_0x13f23a['kemqF'],_0x5360cf[_0x5619da(0x202)]=_0x5a354c;const _0xcf2f3c=new _0x279c75[(_0x5619da(0x1b7))](_0x5360cf);_0xcf2f3c[_0x5619da(0x1e7)]()[_0x5619da(0x21a)]()[_0x5619da(0x176)](_0x41e99c=>{const _0x16327b=_0x5619da;_0x1103c0[_0x16327b(0x18d)](_0x2a4fc6,_0x41e99c);})[_0x5619da(0x1ba)](_0x3e98c1=>{const _0x1b2038=_0x5619da;_0x168203[_0x1b2038(0x19b)](_0x1b2038(0x18a)+_0x3e98c1),_0x13f23a[_0x1b2038(0x19e)](_0x32a2ec,_0x3e98c1);});});}else _0x221f32['xABGU'](_0x3ad785,_0x588a2c);})[_0x4e277e(0x1ba)](_0x3aa7d5=>{const _0x42c8aa=_0x4e277e;_0x31f39d['QZNTl'](_0x31f39d['rEJFq'],_0x31f39d['rEJFq'])?_0x31f39d[_0x42c8aa(0x201)](_0x2a4a83,_0x248815['Regions']):(logger['error'](_0x42c8aa(0x18a)+_0x3aa7d5),_0x31f39d['llTrJ'](_0x7c3b2a,_0x3aa7d5));});}});},exports['getAWSRegions']=()=>{const _0x574310=a25_0x89ab67,_0x14137e={'yBWws':function(_0x1250f7,_0x48dba0){return _0x1250f7(_0x48dba0);},'HluOF':function(_0x461ec1,_0x2d1b02){return _0x461ec1(_0x2d1b02);},'EEyyr':_0x574310(0x1c0),'AlAPV':function(_0xb67a93,_0x5ddf21){return _0xb67a93===_0x5ddf21;},'hknmz':_0x574310(0x1c6),'QFMta':'IntIP','gEnrp':function(_0x1cc092,_0x441aba){return _0x1cc092!==_0x441aba;},'BKNIH':function(_0x185279,_0x25b69c){return _0x185279!==_0x25b69c;},'UOXwd':function(_0x265391,_0x1f3d71){return _0x265391===_0x1f3d71;},'CtMSw':'LdCPM','KLRSu':_0x574310(0x1b2),'NHtAU':_0x574310(0x20b),'INawv':function(_0x55f625,_0x3f7419){return _0x55f625(_0x3f7419);},'KapAa':function(_0x24f7d7,_0x25bda0){return _0x24f7d7(_0x25bda0);},'AMOSx':function(_0x299f50,_0x4b65f2){return _0x299f50!==_0x4b65f2;},'cOEuM':_0x574310(0x1f9),'Zptaz':function(_0x20a08e,_0x238497){return _0x20a08e(_0x238497);},'xXUzM':_0x574310(0x181),'CqjbI':_0x574310(0x19f)};return new Promise((_0x1f75e6,_0x431a1c)=>{const _0x3d5bb1=_0x574310,_0x43e985={'oINBp':function(_0x5decdb,_0x3c0d7){const _0x5cfb2e=a25_0x659d;return _0x14137e[_0x5cfb2e(0x1b0)](_0x5decdb,_0x3c0d7);},'dSXBY':function(_0x54ff36,_0x27df93){const _0xdf2588=a25_0x659d;return _0x14137e[_0xdf2588(0x183)](_0x54ff36,_0x27df93);},'BVPHT':_0x14137e[_0x3d5bb1(0x203)]};if(_0x14137e['BKNIH'](_0x14137e[_0x3d5bb1(0x187)],_0x14137e['CqjbI'])){const _0x29f9f9={};_0x29f9f9[_0x3d5bb1(0x1a3)]=_0x14137e[_0x3d5bb1(0x203)];const _0x249819=new awsSDK[(_0x3d5bb1(0x1b7))](_0x29f9f9);_0x249819[_0x3d5bb1(0x211)]()[_0x3d5bb1(0x21a)]()[_0x3d5bb1(0x176)]((_0x545e7c,_0x2c9b9b)=>{const _0x17a80d=_0x3d5bb1,_0x2c3edd={'cyUuO':function(_0x1334d2,_0x60b253){const _0x3e6dc2=a25_0x659d;return _0x14137e[_0x3e6dc2(0x1b0)](_0x1334d2,_0x60b253);},'kyLnb':function(_0x2dcb34,_0x5e62dc){const _0x69d0d0=a25_0x659d;return _0x14137e[_0x69d0d0(0x1a6)](_0x2dcb34,_0x5e62dc);},'LGIwT':_0x14137e[_0x17a80d(0x203)]};if(_0x14137e[_0x17a80d(0x1c2)](_0x14137e['hknmz'],_0x14137e['QFMta']))_0x3b8b10[_0x17a80d(0x1cf)]('Bucket:\x20'+_0x59297c+_0x17a80d(0x17c)),_0x2c3edd[_0x17a80d(0x1d9)](_0xf87c2c,!![]);else{if(_0x14137e['gEnrp'](_0x545e7c,undefined)&&_0x14137e[_0x17a80d(0x1e6)](_0x545e7c[_0x17a80d(0x1e9)],undefined)){if(_0x14137e[_0x17a80d(0x19d)](_0x14137e[_0x17a80d(0x1c5)],_0x14137e[_0x17a80d(0x1c5)]))_0x14137e[_0x17a80d(0x1a6)](_0x1f75e6,_0x545e7c[_0x17a80d(0x1e9)]);else{const _0x1f205e={};_0x1f205e['apiVersion']=_0x2c3edd[_0x17a80d(0x17f)],_0x1f205e[_0x17a80d(0x202)]=_0x1bc436;const _0x12a6fc=new _0x3282eb[(_0x17a80d(0x1b7))](_0x1f205e);_0x12a6fc[_0x17a80d(0x1e7)]()['promise']()[_0x17a80d(0x176)](_0x4760dd=>{_0x2c3edd['kyLnb'](_0x1f5e4a,_0x4760dd);})['catch'](_0x3b2089=>{const _0x4f8363=_0x17a80d;_0x5c37a9[_0x4f8363(0x19b)](_0x4f8363(0x18a)+_0x3b2089),_0x2c3edd[_0x4f8363(0x1d9)](_0x11a68f,_0x3b2089);});}}else{if(_0x14137e['BKNIH'](_0x14137e[_0x17a80d(0x1c7)],_0x14137e[_0x17a80d(0x1d4)]))_0x14137e[_0x17a80d(0x1a6)](_0x1f75e6,{});else{const _0x189fdd={'WMdAb':function(_0x295db2,_0x4c62a2){const _0x14604b=_0x17a80d;return _0x43e985[_0x14604b(0x200)](_0x295db2,_0x4c62a2);},'fxlcz':function(_0x3b4bf8,_0x5befdb){const _0x48abdd=_0x17a80d;return _0x43e985[_0x48abdd(0x1b3)](_0x3b4bf8,_0x5befdb);},'ZZHRa':_0x43e985['BVPHT']};return new _0x4c0681((_0x3a7a16,_0x236d83)=>{const _0x2d8d8f=_0x17a80d,_0x7b11e0={'tpMZe':function(_0x548830,_0x539c30){return _0x189fdd['fxlcz'](_0x548830,_0x539c30);}},_0x53c0fa={};_0x53c0fa[_0x2d8d8f(0x1a3)]=_0x189fdd[_0x2d8d8f(0x1b6)],_0x53c0fa[_0x2d8d8f(0x202)]=_0x55fec9;const _0x4acbaa=new _0x303218[(_0x2d8d8f(0x1b7))](_0x53c0fa);_0x4acbaa[_0x2d8d8f(0x1ec)]()[_0x2d8d8f(0x21a)]()[_0x2d8d8f(0x176)](_0x2a7403=>{const _0x10a710=_0x2d8d8f;_0x189fdd[_0x10a710(0x1dc)](_0x3a7a16,_0x2a7403);})[_0x2d8d8f(0x1ba)](_0x5cd269=>{const _0x3b9ff0=_0x2d8d8f;_0x5373ee[_0x3b9ff0(0x19b)](_0x3b9ff0(0x1ab)+_0x5cd269),_0x7b11e0[_0x3b9ff0(0x198)](_0x236d83,_0x5cd269);});});}}}})['catch'](_0x5990f2=>{const _0x5ed410=_0x3d5bb1,_0x4ebc31={'TQzFJ':function(_0x296bdf,_0x2267d5){const _0xa992bd=a25_0x659d;return _0x14137e[_0xa992bd(0x199)](_0x296bdf,_0x2267d5);},'HGmLf':function(_0x29111f,_0x38106e){return _0x14137e['KapAa'](_0x29111f,_0x38106e);}};if(_0x14137e[_0x5ed410(0x1a8)](_0x14137e[_0x5ed410(0x1c9)],_0x14137e[_0x5ed410(0x1c9)])){const _0x56023c={};_0x56023c[_0x5ed410(0x1f2)]=_0x22bef1,_0x486198['headBucket'](_0x56023c)['promise']()[_0x5ed410(0x176)](_0x41b494=>{const _0x2a8145=_0x5ed410;_0x454993['warn'](_0x2a8145(0x1f4)+_0x320c49+_0x2a8145(0x17c)),_0x4ebc31[_0x2a8145(0x1f5)](_0x3b0e95,!![]);})[_0x5ed410(0x1ba)](()=>{const _0x254f00=_0x5ed410;_0x2a3253['info'](_0x254f00(0x1f4)+_0x358fe1+_0x254f00(0x1d5)),_0x4ebc31[_0x254f00(0x1ed)](_0x5ea09e,![]);});}else logger[_0x5ed410(0x19b)](_0x5ed410(0x1a2)+_0x5990f2),_0x14137e['KapAa'](_0x431a1c,_0x5990f2);});}else _0x43e985[_0x3d5bb1(0x200)](_0x4c32f6,_0x1eccd9);});},exports[a25_0x89ab67(0x1aa)]=_0x30f639=>{const _0x50f551=a25_0x89ab67,_0x1e2b7e={'KTvOu':function(_0xa78672,_0x199c8f){return _0xa78672(_0x199c8f);},'gtPuE':_0x50f551(0x18e),'RVfhy':function(_0x5eb7a7,_0x2c0b59){return _0x5eb7a7(_0x2c0b59);},'OeIjO':function(_0xa7566c,_0x232fb5){return _0xa7566c===_0x232fb5;},'NjTrE':_0x50f551(0x1ee),'RxNAC':function(_0x51b95b,_0x50e47a){return _0x51b95b(_0x50e47a);},'ysGsi':'tpqBr','SRhCR':function(_0x2a912e,_0x19b306){return _0x2a912e!==_0x19b306;},'CXvau':'CxLsl','vOVjP':_0x50f551(0x1fd)};return new Promise((_0x3e56e3,_0x442dcb)=>{const _0x273cf1=_0x50f551,_0x523f4b={'IsFWn':function(_0xe9e220,_0x9e0269){const _0x5a982d=a25_0x659d;return _0x1e2b7e[_0x5a982d(0x17b)](_0xe9e220,_0x9e0269);},'nfRSj':function(_0x1f2cb6,_0x5e3eb7){const _0x416270=a25_0x659d;return _0x1e2b7e[_0x416270(0x209)](_0x1f2cb6,_0x5e3eb7);},'VBhPY':_0x1e2b7e[_0x273cf1(0x193)],'ADwrJ':function(_0x193258,_0x54ec0e){return _0x1e2b7e['RxNAC'](_0x193258,_0x54ec0e);},'YzKZe':_0x1e2b7e[_0x273cf1(0x1cd)],'fYKpY':_0x1e2b7e[_0x273cf1(0x20c)]};if(_0x1e2b7e[_0x273cf1(0x1a4)](_0x1e2b7e[_0x273cf1(0x1e2)],_0x1e2b7e[_0x273cf1(0x1ac)])){const _0x1917e9={};_0x1917e9[_0x273cf1(0x1a3)]=_0x1e2b7e[_0x273cf1(0x1cd)];const _0x3cd6a6=new awsSDK[(_0x273cf1(0x1e1))](_0x1917e9),_0x167084={};_0x167084[_0x273cf1(0x1c8)]=_0x30f639,_0x3cd6a6[_0x273cf1(0x1d0)](_0x167084)[_0x273cf1(0x21a)]()['then'](_0x42da35=>{const _0x543f7c=_0x273cf1,_0x1cfe73={'pmbYm':function(_0x20ab2e,_0x1c3cf1){const _0x3987e6=a25_0x659d;return _0x523f4b[_0x3987e6(0x19a)](_0x20ab2e,_0x1c3cf1);}};_0x523f4b['nfRSj'](_0x523f4b[_0x543f7c(0x206)],_0x523f4b[_0x543f7c(0x206)])?_0x523f4b[_0x543f7c(0x18f)](_0x3e56e3,_0x42da35[_0x543f7c(0x186)][_0x543f7c(0x177)][_0x543f7c(0x178)][_0x543f7c(0x219)]):_0x1cfe73[_0x543f7c(0x20e)](_0x2a0eaf,{});})[_0x273cf1(0x1ba)](_0x485edf=>{const _0x415311=_0x273cf1,_0x38f752={'IDbFc':function(_0x31c60c,_0x2994cf){return _0x523f4b['IsFWn'](_0x31c60c,_0x2994cf);},'jxMlY':_0x523f4b[_0x415311(0x1a5)]};if(_0x523f4b[_0x415311(0x212)](_0x523f4b[_0x415311(0x213)],_0x523f4b[_0x415311(0x213)]))logger['error'](_0x415311(0x216)+_0x30f639+':\x20'+_0x485edf),_0x523f4b[_0x415311(0x18f)](_0x442dcb,_0x485edf);else{const _0x2dae08={'hXfgv':function(_0x3bec85,_0x1f0bcf){const _0x2fda6c=_0x415311;return _0x38f752[_0x2fda6c(0x18b)](_0x3bec85,_0x1f0bcf);}},_0x135d2d={};_0x135d2d[_0x415311(0x1a3)]=_0x38f752['jxMlY'];const _0x437dca=new _0x5b4740[(_0x415311(0x1e1))](_0x135d2d),_0x10f131={};_0x10f131['name']=_0x5c80b4,_0x437dca['describeCluster'](_0x10f131)[_0x415311(0x21a)]()['then'](_0x2baf44=>{const _0x3249c9=_0x415311;_0x2dae08[_0x3249c9(0x1ff)](_0x29e63e,_0x2baf44[_0x3249c9(0x186)]['identity'][_0x3249c9(0x178)][_0x3249c9(0x219)]);})['catch'](_0x24d177=>{const _0xf4c09c=_0x415311;_0x4529fd[_0xf4c09c(0x19b)](_0xf4c09c(0x216)+_0x43050e+':\x20'+_0x24d177),_0x2dae08[_0xf4c09c(0x1ff)](_0x3020c0,_0x24d177);});}});}else{const _0x3a2c6f={'hcGqy':function(_0xa59ecc,_0x527e4c){const _0x348427=_0x273cf1;return _0x1e2b7e[_0x348427(0x21b)](_0xa59ecc,_0x527e4c);},'IHKBi':_0x1e2b7e[_0x273cf1(0x1cd)]};return new _0x5b591c((_0xd3a919,_0x177317)=>{const _0x1116c0=_0x273cf1,_0x475ea9={'gFqrI':function(_0x1acbf4,_0x5517cb){const _0x42f45c=a25_0x659d;return _0x3a2c6f[_0x42f45c(0x217)](_0x1acbf4,_0x5517cb);}},_0x31bee4={};_0x31bee4[_0x1116c0(0x1a3)]=_0x3a2c6f[_0x1116c0(0x1f0)];const _0x3e1d45=new _0x2b0523[(_0x1116c0(0x1e1))](_0x31bee4),_0xc4b871={};_0xc4b871['name']=_0x33a21f,_0x3e1d45[_0x1116c0(0x1d0)](_0xc4b871)[_0x1116c0(0x21a)]()['then'](_0x58884c=>{const _0x3e174b=_0x1116c0;_0x3a2c6f[_0x3e174b(0x217)](_0xd3a919,_0x58884c[_0x3e174b(0x186)][_0x3e174b(0x177)]['oidc'][_0x3e174b(0x219)]);})[_0x1116c0(0x1ba)](_0x57a921=>{const _0x1635f6=_0x1116c0;_0x1224a5[_0x1635f6(0x19b)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x57c68c+':\x20'+_0x57a921),_0x475ea9[_0x1635f6(0x184)](_0x177317,_0x57a921);});});}});},exports['awsObj']=awsSDK;function a25_0x659d(_0x50cae8,_0xb77dc4){const _0x7e3ca1=a25_0x7e3c();return a25_0x659d=function(_0x659dfa,_0x295bc6){_0x659dfa=_0x659dfa-0x176;let _0x13416f=_0x7e3ca1[_0x659dfa];return _0x13416f;},a25_0x659d(_0x50cae8,_0xb77dc4);}function a25_0x7e3c(){const _0x59a07c=['vHeif','cluster','xXUzM','wulWH','NFsAT','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','IDbFc','feaeB','PyyOq','2017-11-01','ADwrJ','NCvXT','describeVpcs','OWYpR','NjTrE','vMcVQ','ECmGA','9uzKHha','781vIMwXg','tpMZe','INawv','IsFWn','error','cLerr','UOXwd','kkBGv','aomZm','aiXdN','jgXcv','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','apiVersion','SRhCR','YzKZe','HluOF','YjWJY','AMOSx','TzCai','getOidcUrl','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','vOVjP','qHDMh','IMjXG','vydZW','yBWws','mjfpf','RMozV','dSXBY','2076906uCqJEK','ZQNUS','ZZHRa','EC2','GBPii','GSXkb','catch','fhuYO','1KsrYCF','isBucketPresent','GXuyA','cDYbl','2016-11-15','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','AlAPV','fetchVPCs','fCzJq','CtMSw','RHYvZ','KLRSu','name','cOEuM','ilJel','YYVzX','Okmoc','gtPuE','JOFWv','warn','describeCluster','MiRwE','15ViYRuJ','oyOQC','NHtAU','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','xABGU','284124AMooyV','zRtwv','cyUuO','JAhoN','PAFJP','WMdAb','pCrfe','ylhzM','GCKBU','sesAO','EKS','CXvau','cnZqn','tZDBF','ldrWS','BKNIH','describeSecurityGroups','asBQW','Regions','xPkPP','ZtDYY','describeSubnets','HGmLf','rYImk','uVheF','IHKBi','eWndJ','Bucket','JqOqa','Bucket:\x20','TQzFJ','../config/logger','fetchSecurityGroups','dRrgN','mrwTh','SgjwO','GmWiq','526104TqytBH','RvllZ','534VMkrmw','hXfgv','oINBp','wyDAf','region','EEyyr','PXGys','84784KLLkPt','VBhPY','oXfdo','AlwNf','OeIjO','RmAKx','fPAMk','ysGsi','YeadB','pmbYm','qHshT','Ksjft','describeRegions','nfRSj','fYKpY','nMPqw','info','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','hcGqy','246170sldoWq','issuer','promise','KTvOu','CTqlV','2050000DhJKqc','LXfuC','then','identity','oidc','QzZsH','lhYgK','RVfhy','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','EJyiK','2000584GaicCi','LGIwT','pSIiQ','ChppT','rhDbC','Zptaz','gFqrI'];a25_0x7e3c=function(){return _0x59a07c;};return a25_0x7e3c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0xef3178=a26_0x8fa0;(function(_0x409189,_0x3a86db){const _0x3dd621=a26_0x8fa0,_0x2cdbea=_0x409189();while(!![]){try{const _0x1a213a=parseInt(_0x3dd621(0x167))/0x1*(-parseInt(_0x3dd621(0x148))/0x2)+parseInt(_0x3dd621(0x177))/0x3*(-parseInt(_0x3dd621(0x152))/0x4)+-parseInt(_0x3dd621(0x15b))/0x5+parseInt(_0x3dd621(0x164))/0x6*(parseInt(_0x3dd621(0x15d))/0x7)+parseInt(_0x3dd621(0x14e))/0x8*(parseInt(_0x3dd621(0x158))/0x9)+parseInt(_0x3dd621(0x179))/0xa+-parseInt(_0x3dd621(0x161))/0xb*(parseInt(_0x3dd621(0x14d))/0xc);if(_0x1a213a===_0x3a86db)break;else _0x2cdbea['push'](_0x2cdbea['shift']());}catch(_0x2a5f7e){_0x2cdbea['push'](_0x2cdbea['shift']());}}}(a26_0x471d,0x5d315));function a26_0x8fa0(_0x361359,_0x567b69){const _0x471dc0=a26_0x471d();return a26_0x8fa0=function(_0x8fa042,_0x4e4a4c){_0x8fa042=_0x8fa042-0x147;let _0x130caf=_0x471dc0[_0x8fa042];return _0x130caf;},a26_0x8fa0(_0x361359,_0x567b69);}function a26_0x471d(){const _0x1dd233=['schema','load','udPnK','2676TjGWUJ','rlWar','utf-8','VEhjN','autoscaler-role-creation.yaml','valueOf','575469kIejsw','StackId','CloudFormation','383030KggxSO','path','2093kpyZCB','templates','js-yaml','KLYCh','22nymjXy','browserstack:creationDate','ClusterName','14856GFbaqY','YmlSB','stringify','27CYLUSx','apiVersion','bluebird','Capabilities','Key','Tags','createAutoscalerStack','eAgsV','Parameters','Properties','js-yaml-cloudformation-schema','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','Resources','jJTDl','promise','2010-05-15','2523vcBnRn','readFileAsync','5835450tEihjW','OnFailure','Value','./AWSUtils','push','promisifyAll','TemplateBody','StackName','debug','3194RSMVEg','browserstack:cluster','waitFor','CAPABILITY_NAMED_IAM','PINZv','3860664CPJZCt','48cwzoUd'];a26_0x471d=function(){return _0x1dd233;};return a26_0x471d();}const fs=require('fs'),path=require(a26_0xef3178(0x15c)),yaml=require(a26_0xef3178(0x15f)),{CLOUDFORMATION_SCHEMA}=require(a26_0xef3178(0x171)),Promise=require(a26_0xef3178(0x169)),AWS=require(a26_0xef3178(0x17c))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require('../config/logger');Promise[a26_0xef3178(0x17e)](fs);const addAutoscalerTags=async(_0xcb80d8,_0x3874db,_0x2d0f75)=>{const _0x5e2d03=a26_0xef3178;for(const _0x3615bd in _0xcb80d8[_0x5e2d03(0x173)]){_0xcb80d8['Resources'][_0x3615bd][_0x5e2d03(0x170)]&&_0xcb80d8[_0x5e2d03(0x173)][_0x3615bd][_0x5e2d03(0x170)][_0x5e2d03(0x16c)]&&_0xcb80d8['Resources'][_0x3615bd][_0x5e2d03(0x170)][_0x5e2d03(0x16c)][_0x5e2d03(0x17d)](..._0x2d0f75);}};exports[a26_0xef3178(0x16d)]=async _0xd0766=>{const _0x11c703=a26_0xef3178,_0x29d873={'emsgF':_0x11c703(0x149),'YmlSB':_0x11c703(0x162),'jJTDl':_0x11c703(0x176),'eAgsV':_0x11c703(0x15e),'PINZv':_0x11c703(0x156),'Fhnqq':_0x11c703(0x154),'YMnoh':function(_0x14a68,_0x2e5cde,_0x172b4c,_0x248785){return _0x14a68(_0x2e5cde,_0x172b4c,_0x248785);},'KLYCh':'DELETE','VEhjN':_0x11c703(0x163),'VwIpy':_0x11c703(0x14b),'rlWar':_0x11c703(0x172),'udPnK':'stackCreateComplete'},_0x3427da=COMMON_HST_TAGS,_0x456a08={};_0x456a08[_0x11c703(0x16b)]=_0x29d873['emsgF'],_0x456a08[_0x11c703(0x17b)]=_0xd0766,_0x3427da[_0x11c703(0x17d)](_0x456a08),_0x3427da[_0x11c703(0x17d)]({'Key':_0x29d873[_0x11c703(0x165)],'Value':new Date()[_0x11c703(0x157)]()['toString']()});const _0x1b6d23={};_0x1b6d23[_0x11c703(0x168)]=_0x29d873[_0x11c703(0x174)];const _0x303633=new AWS[(_0x11c703(0x15a))](_0x1b6d23),_0x4d65f0=await fs[_0x11c703(0x178)](path['join'](__dirname,'..',_0x29d873[_0x11c703(0x16e)],_0x29d873[_0x11c703(0x14c)]),_0x29d873['Fhnqq']),_0x14d2aa={};_0x14d2aa[_0x11c703(0x14f)]=CLOUDFORMATION_SCHEMA;const _0x6d7184=yaml[_0x11c703(0x150)](_0x4d65f0,_0x14d2aa);_0x29d873['YMnoh'](addAutoscalerTags,_0x6d7184,_0xd0766,_0x3427da);const _0x44161a=JSON[_0x11c703(0x166)](_0x6d7184),_0x2b7b2a={};_0x2b7b2a[_0x11c703(0x180)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0xd0766,_0x2b7b2a[_0x11c703(0x17a)]=_0x29d873[_0x11c703(0x160)],_0x2b7b2a[_0x11c703(0x17f)]=_0x44161a,_0x2b7b2a[_0x11c703(0x16f)]=[{'ParameterKey':_0x29d873[_0x11c703(0x155)],'ParameterValue':_0xd0766}],_0x2b7b2a[_0x11c703(0x16a)]=[_0x29d873['VwIpy']],_0x2b7b2a[_0x11c703(0x16c)]=_0x3427da;const _0x133198=_0x2b7b2a,_0xdbfd6=await _0x303633['createStack'](_0x133198)[_0x11c703(0x175)]();logger[_0x11c703(0x147)](_0x29d873[_0x11c703(0x153)]);const _0x4ea332={};return _0x4ea332['StackName']=_0xdbfd6[_0x11c703(0x159)],_0x303633[_0x11c703(0x14a)](_0x29d873[_0x11c703(0x151)],_0x4ea332)[_0x11c703(0x175)]();};
|