browserstack-node-sdk 1.34.17 → 1.34.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a16_0x4009d7=a16_0x3bc3;(function(_0x4c7622,_0x59899a){const _0x4eac58=a16_0x3bc3,_0x44a702=_0x4c7622();while(!![]){try{const _0x2a5093=parseInt(_0x4eac58(0x107))/0x1+parseInt(_0x4eac58(0x109))/0x2+parseInt(_0x4eac58(0x118))/0x3+-parseInt(_0x4eac58(0x10f))/0x4*(parseInt(_0x4eac58(0x119))/0x5)+-parseInt(_0x4eac58(0x108))/0x6*(parseInt(_0x4eac58(0x117))/0x7)+parseInt(_0x4eac58(0x10c))/0x8+-parseInt(_0x4eac58(0x104))/0x9;if(_0x2a5093===_0x59899a)break;else _0x44a702['push'](_0x44a702['shift']());}catch(_0x31383d){_0x44a702['push'](_0x44a702['shift']());}}}(a16_0x117e,0x850be));function a16_0x3bc3(_0x5605c0,_0x29be66){const _0x117ef8=a16_0x117e();return a16_0x3bc3=function(_0x3bc352,_0x2a3fc7){_0x3bc352=_0x3bc352-0x104;let _0x43a29f=_0x117ef8[_0x3bc352];return _0x43a29f;},a16_0x3bc3(_0x5605c0,_0x29be66);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a16_0x4009d7(0x111));function a16_0x117e(){const _0x4c33c4=['start','commandDir','862574cDdqFu','6162Uzhdjb','1420288KMkRTN','handler','ysTKy','1938936rIvLwC','epilogue','Start\x20an\x20existing\x20Automation\x20grid.','67564lOpabH','help','../config/constants','recommendCommands','command','usage','strict','WwflQ','3997aMzHxP','901194KvPFrE','15GpZrde','start_commands','builder','desc','8400915VDPivh'];a16_0x117e=function(){return _0x4c33c4;};return a16_0x117e();}exports[a16_0x4009d7(0x113)]=a16_0x4009d7(0x105),exports[a16_0x4009d7(0x11c)]=a16_0x4009d7(0x10e),exports[a16_0x4009d7(0x11b)]=function(_0x38147a){const _0x2f2573=a16_0x4009d7,_0x52c6ed={};_0x52c6ed[_0x2f2573(0x10b)]=_0x2f2573(0x11a),_0x52c6ed[_0x2f2573(0x116)]=_0x2f2573(0x110);const _0x333a71=_0x52c6ed;return _0x38147a[_0x2f2573(0x114)](HELP_HEADER_MESSAGE['start'])[_0x2f2573(0x10d)](HELP_FOOTER_MESSAGE)[_0x2f2573(0x106)](_0x333a71[_0x2f2573(0x10b)])['demandCommand']()[_0x2f2573(0x112)]()[_0x2f2573(0x115)]()['help'](_0x333a71[_0x2f2573(0x116)]);},exports[a16_0x4009d7(0x10a)]=function(_0x502385){};
1
+ const a16_0xd4eb9f=a16_0x2566;(function(_0x1fcab6,_0x352e01){const _0x15e390=a16_0x2566,_0x48583e=_0x1fcab6();while(!![]){try{const _0x4625e9=parseInt(_0x15e390(0x148))/0x1+parseInt(_0x15e390(0x139))/0x2*(parseInt(_0x15e390(0x149))/0x3)+parseInt(_0x15e390(0x14c))/0x4*(-parseInt(_0x15e390(0x14d))/0x5)+parseInt(_0x15e390(0x13a))/0x6+-parseInt(_0x15e390(0x14e))/0x7+-parseInt(_0x15e390(0x13b))/0x8+parseInt(_0x15e390(0x13e))/0x9*(parseInt(_0x15e390(0x141))/0xa);if(_0x4625e9===_0x352e01)break;else _0x48583e['push'](_0x48583e['shift']());}catch(_0x5d84db){_0x48583e['push'](_0x48583e['shift']());}}}(a16_0x39e4,0x6a3a2));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a16_0xd4eb9f(0x14f));exports[a16_0xd4eb9f(0x13d)]=a16_0xd4eb9f(0x147),exports[a16_0xd4eb9f(0x14a)]=a16_0xd4eb9f(0x144),exports['builder']=function(_0x3322e7){const _0x39f4e5=a16_0xd4eb9f,_0x26155b={};_0x26155b[_0x39f4e5(0x140)]='start_commands',_0x26155b[_0x39f4e5(0x13c)]='help';const _0x503a12=_0x26155b;return _0x3322e7[_0x39f4e5(0x145)](HELP_HEADER_MESSAGE[_0x39f4e5(0x147)])[_0x39f4e5(0x143)](HELP_FOOTER_MESSAGE)[_0x39f4e5(0x146)](_0x503a12[_0x39f4e5(0x140)])[_0x39f4e5(0x150)]()[_0x39f4e5(0x13f)]()[_0x39f4e5(0x14b)]()[_0x39f4e5(0x142)](_0x503a12[_0x39f4e5(0x13c)]);},exports['handler']=function(_0x5d272c){};function a16_0x2566(_0x198b06,_0x5d7af3){const _0x39e4e3=a16_0x39e4();return a16_0x2566=function(_0x25665e,_0x30a98a){_0x25665e=_0x25665e-0x139;let _0x6b32f3=_0x39e4e3[_0x25665e];return _0x6b32f3;},a16_0x2566(_0x198b06,_0x5d7af3);}function a16_0x39e4(){const _0xdecf6e=['demandCommand','38058oHsLBF','45114BQinZk','6194496kGoHRf','Clpbs','command','81vapNmT','recommendCommands','kHMnA','1765570qfLabY','help','epilogue','Start\x20an\x20existing\x20Automation\x20grid.','usage','commandDir','start','448645nOZRcC','60ZIkgqY','desc','strict','856516xcvpNe','15QphgsC','4017664bBkLcv','../config/constants'];a16_0x39e4=function(){return _0xdecf6e;};return a16_0x39e4();}
@@ -1 +1 @@
1
- const a17_0x3cb85e=a17_0x1029;function a17_0x1029(_0x569387,_0x18b4fe){const _0x343b9d=a17_0x343b();return a17_0x1029=function(_0x10292e,_0xf85ebc){_0x10292e=_0x10292e-0x1e9;let _0x20fc87=_0x343b9d[_0x10292e];return _0x20fc87;},a17_0x1029(_0x569387,_0x18b4fe);}(function(_0x2368d4,_0x45dc7e){const _0x56ae23=a17_0x1029,_0x237c9a=_0x2368d4();while(!![]){try{const _0xa193db=-parseInt(_0x56ae23(0x23c))/0x1+parseInt(_0x56ae23(0x20e))/0x2*(-parseInt(_0x56ae23(0x234))/0x3)+-parseInt(_0x56ae23(0x216))/0x4*(parseInt(_0x56ae23(0x202))/0x5)+parseInt(_0x56ae23(0x1ec))/0x6*(-parseInt(_0x56ae23(0x229))/0x7)+parseInt(_0x56ae23(0x1fe))/0x8+parseInt(_0x56ae23(0x20b))/0x9*(-parseInt(_0x56ae23(0x21d))/0xa)+parseInt(_0x56ae23(0x1ea))/0xb;if(_0xa193db===_0x45dc7e)break;else _0x237c9a['push'](_0x237c9a['shift']());}catch(_0x2bc5d8){_0x237c9a['push'](_0x237c9a['shift']());}}}(a17_0x343b,0xd086b));function a17_0x343b(){const _0x135b45=['../../utils/createk8sClient','603dOTqrB','bstackAccesskey','exit','6OchDzz','udnIA','DcZuf','grid-id','builder','user','string','Skip\x20insecure\x20cert\x20verification.','4nZGmAK','default','clusterName','Adding\x20Websocket\x20listeners','stringify','../../config/constants','fqjVI','67880NkvARq','usage','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','statusCode','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','MqdYc','existsSync','hkLFQ','NDlOk','unauthorised','Pass\x20the\x20ID\x20of\x20the\x20existing\x20Automation\x20grid\x20you\x20want\x20to\x20start.','IXgIH','182WfXggN','cloudProvider','LKmQA','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','yjJFo','WMNmJ','vBBWq','xIVRw','dvUUG','password','desc','55017Ngymns','../../utils/gridComponents','../../utils/utilityMethods','bstackUsername','start-grid-called','reconnecting-websocket','epilogue','CLnCR','492943RsbeDe','skip-tls-cert-verify','../../cloudproviders/utils','username','name','init-not-called','wSrqm','region','OfWrZ','bdJvo','command','description','replace','39897814AGFsaR','mCeBx','372990xOYodO','boolean','tVEIA','RvSCU','start','../../config/logger','parse','DyoYb','readFileSync','server-error','type','stack','Browserstack','error','Starting\x20grid\x20','../../utils/webSocketUtils','WebSocket','xkicG','143088QhrEbd','Grid\x20started','help','info','858955rJGSTA','ERROR','DAbpO','gridId','Start\x20an\x20existing\x20Automation\x20grid.','../../utils/instrumentationUtils','connectionTimeout','<UsernamePlaceholder>'];a17_0x343b=function(){return _0x135b45;};return a17_0x343b();}const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a17_0x3cb85e(0x239)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require(a17_0x3cb85e(0x21b)),{logger}=require(a17_0x3cb85e(0x1f1)),{getCredentialsPath,getGridDetails}=require(a17_0x3cb85e(0x236)),{scaleUpHubDeployment}=require(a17_0x3cb85e(0x235)),{sendInstrumentationEvent}=require(a17_0x3cb85e(0x207)),webSocketUtils=require(a17_0x3cb85e(0x1fb)),{createK8sClient}=require(a17_0x3cb85e(0x20a)),{getCloudProviderObject}=require(a17_0x3cb85e(0x23e));exports[a17_0x3cb85e(0x246)]='grid',exports[a17_0x3cb85e(0x233)]=a17_0x3cb85e(0x206),exports[a17_0x3cb85e(0x212)]=function(_0x1fe2a7){const _0x45bd2d=a17_0x3cb85e,_0x4efd63={};_0x4efd63['CRUKq']=_0x45bd2d(0x227),_0x4efd63[_0x45bd2d(0x21c)]=_0x45bd2d(0x214),_0x4efd63[_0x45bd2d(0x224)]=_0x45bd2d(0x215),_0x4efd63[_0x45bd2d(0x231)]=_0x45bd2d(0x1ed),_0x4efd63[_0x45bd2d(0x1ef)]=_0x45bd2d(0x200);const _0x1f3b21=_0x4efd63,_0x3e7a84={};_0x3e7a84[_0x45bd2d(0x247)]=_0x1f3b21['CRUKq'],_0x3e7a84[_0x45bd2d(0x1f6)]=_0x1f3b21[_0x45bd2d(0x21c)];const _0x175f79={};_0x175f79[_0x45bd2d(0x247)]=_0x1f3b21[_0x45bd2d(0x224)],_0x175f79[_0x45bd2d(0x1f6)]=_0x1f3b21['dvUUG'],_0x175f79[_0x45bd2d(0x217)]=![];const _0xc781f6={};return _0xc781f6[_0x45bd2d(0x211)]=_0x3e7a84,_0xc781f6[_0x45bd2d(0x23d)]=_0x175f79,_0x1fe2a7[_0x45bd2d(0x21e)](HELP_HEADER_MESSAGE[_0x45bd2d(0x1f0)])[_0x45bd2d(0x23a)](HELP_FOOTER_MESSAGE)['options'](_0xc781f6)[_0x45bd2d(0x200)](_0x1f3b21[_0x45bd2d(0x1ef)])['argv'];},exports['handler']=async function(_0x4ec56e){const _0x3d9627=a17_0x3cb85e,_0x785f0={'DAbpO':'Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20start','LKmQA':function(_0x46f9d8){return _0x46f9d8();},'mCeBx':_0x3d9627(0x21f),'wSrqm':function(_0x552aa9,_0x1b96a2,_0x56a6cb,_0x16b9f8,_0x5774a4,_0x9f2b82,_0x2d4a90){return _0x552aa9(_0x1b96a2,_0x56a6cb,_0x16b9f8,_0x5774a4,_0x9f2b82,_0x2d4a90);},'MqdYc':_0x3d9627(0x238),'FwMTf':_0x3d9627(0x241),'xkicG':function(_0x3dcd50,_0x3d3b4b,_0x3ebf09,_0x52bd06,_0x780e9c,_0x4e335e,_0x1fd3be){return _0x3dcd50(_0x3d3b4b,_0x3ebf09,_0x52bd06,_0x780e9c,_0x4e335e,_0x1fd3be);},'tVEIA':function(_0x468ad2){return _0x468ad2();},'WMNmJ':_0x3d9627(0x209),'OfWrZ':'<PasswordPlaceholder>','DyoYb':_0x3d9627(0x219),'NDlOk':function(_0x2f65e3,_0x10341f,_0x58e97b,_0x353788){return _0x2f65e3(_0x10341f,_0x58e97b,_0x353788);},'yjJFo':function(_0x1a350f,_0x3df17a,_0x5baf9a){return _0x1a350f(_0x3df17a,_0x5baf9a);},'bdJvo':_0x3d9627(0x1ff),'DcZuf':function(_0x16f770,_0x2c06ab){return _0x16f770===_0x2c06ab;},'udnIA':_0x3d9627(0x221),'QyrxB':_0x3d9627(0x226),'xIVRw':function(_0xfa806d,_0x10d8f2){return _0xfa806d===_0x10d8f2;},'CLnCR':function(_0x4e53be,_0x148e4c,_0x2a8a38,_0x2e9f0a,_0x39dcb1,_0x32ba14,_0x416ea7){return _0x4e53be(_0x148e4c,_0x2a8a38,_0x2e9f0a,_0x39dcb1,_0x32ba14,_0x416ea7);},'vBBWq':'invalid-grid-id','IXgIH':_0x3d9627(0x1f5)};let _0x199a1b;try{!_0x4ec56e[_0x3d9627(0x205)]&&(logger[_0x3d9627(0x1f9)](_0x785f0[_0x3d9627(0x204)]),process['exit'](0x1));!fs[_0x3d9627(0x223)](_0x785f0[_0x3d9627(0x22b)](getCredentialsPath))&&(logger[_0x3d9627(0x1f9)](_0x785f0[_0x3d9627(0x1eb)]),await _0x785f0[_0x3d9627(0x242)](sendInstrumentationEvent,_0x4ec56e,_0x785f0[_0x3d9627(0x222)],messageTypes[_0x3d9627(0x203)],_0x785f0['FwMTf'],null,_0x4ec56e),process['exit'](0x1));logger['info'](_0x3d9627(0x1fa)+_0x4ec56e[_0x3d9627(0x205)]),await _0x785f0[_0x3d9627(0x1fd)](sendInstrumentationEvent,_0x4ec56e,_0x785f0[_0x3d9627(0x222)],messageTypes['INFO'],null,null,_0x4ec56e);const _0x1971f3=JSON[_0x3d9627(0x1f2)](fs[_0x3d9627(0x1f4)](_0x785f0[_0x3d9627(0x1ee)](getCredentialsPath)));global_registry[_0x3d9627(0x237)]=_0x1971f3[_0x3d9627(0x1f8)][_0x3d9627(0x23f)],global_registry[_0x3d9627(0x20c)]=_0x1971f3[_0x3d9627(0x1f8)][_0x3d9627(0x232)];const _0x675ae9=WS_ENDPOINT[_0x3d9627(0x1e9)](_0x785f0[_0x3d9627(0x22e)],_0x1971f3[_0x3d9627(0x1f8)][_0x3d9627(0x23f)])['replace'](_0x785f0[_0x3d9627(0x244)],_0x1971f3[_0x3d9627(0x1f8)][_0x3d9627(0x232)]),_0x19ad3c={};_0x19ad3c[_0x3d9627(0x1fc)]=ws,_0x19ad3c[_0x3d9627(0x208)]=0x36ee80,_0x199a1b=new ReconnectingWebSocket(_0x675ae9,[],_0x19ad3c),logger['debug'](_0x785f0[_0x3d9627(0x1f3)]),webSocketUtils['addListeners'](_0x199a1b,_0x4ec56e[_0x3d9627(0x213)],_0x4ec56e[_0x3d9627(0x232)]);const [_0xd18ee1,_0x25178]=await _0x785f0[_0x3d9627(0x225)](getGridDetails,_0x1971f3[_0x3d9627(0x1f8)][_0x3d9627(0x23f)],_0x1971f3['Browserstack'][_0x3d9627(0x232)],_0x4ec56e[_0x3d9627(0x205)]);if(_0x25178){const _0x4ad1b5=_0x25178['info'];global_registry[_0x3d9627(0x22a)]=_0x4ad1b5[_0x3d9627(0x22a)],global_registry['clusterRegion']=_0x4ad1b5[_0x3d9627(0x243)],global_registry[_0x3d9627(0x218)]=_0x4ad1b5[_0x3d9627(0x218)];const _0x3d036e=await _0x785f0[_0x3d9627(0x242)](getCloudProviderObject,_0x4ad1b5['cloudProvider'],_0x4ad1b5[_0x3d9627(0x218)],_0x4ad1b5[_0x3d9627(0x240)],_0x199a1b,webSocketUtils,_0x4ec56e),[_0x4749d1,_0x39a339,_0x2387e7,_0x114e53,_0x2d0266,_0x4cb20d]=await _0x785f0[_0x3d9627(0x22d)](createK8sClient,_0x3d036e,_0x4ec56e['skipTlsCertVerify']);await _0x785f0['yjJFo'](scaleUpHubDeployment,_0x39a339,_0x4ad1b5['name']),logger[_0x3d9627(0x201)](_0x785f0[_0x3d9627(0x245)]),process[_0x3d9627(0x20d)](0x0);}_0x785f0[_0x3d9627(0x210)](_0xd18ee1[_0x3d9627(0x220)],0x191)&&(logger[_0x3d9627(0x1f9)](_0x785f0[_0x3d9627(0x20f)]),await _0x785f0['xkicG'](sendInstrumentationEvent,_0x4ec56e,_0x785f0[_0x3d9627(0x222)],messageTypes['ERROR'],_0x785f0['QyrxB'],null,_0x4ec56e),process[_0x3d9627(0x20d)](0x1)),_0x785f0[_0x3d9627(0x230)](_0xd18ee1['statusCode'],0x190)&&(logger[_0x3d9627(0x1f9)](JSON['parse'](_0xd18ee1['body'])['message']),await _0x785f0[_0x3d9627(0x23b)](sendInstrumentationEvent,_0x4ec56e,_0x785f0['MqdYc'],messageTypes['ERROR'],_0x785f0[_0x3d9627(0x22f)],null,_0x4ec56e),process[_0x3d9627(0x20d)](0x1)),logger[_0x3d9627(0x1f9)](_0x3d9627(0x22c)+JSON['stringify'](_0xd18ee1)),await _0x785f0[_0x3d9627(0x242)](sendInstrumentationEvent,_0x4ec56e,_0x785f0[_0x3d9627(0x222)],messageTypes[_0x3d9627(0x203)],_0x785f0[_0x3d9627(0x228)],_0xd18ee1,_0x4ec56e),process[_0x3d9627(0x20d)](0x1);}catch(_0x5f28ca){const _0x57012a='Unable\x20to\x20start\x20the\x20Grid!\x20Error:\x20'+_0x5f28ca+'\x20\x0a'+JSON[_0x3d9627(0x21a)](_0x5f28ca[_0x3d9627(0x1f7)])+'\x20';logger[_0x3d9627(0x1f9)](_0x57012a),process[_0x3d9627(0x20d)](0x1);}};
1
+ const a17_0x469803=a17_0x1a70;(function(_0x16e304,_0x865e3b){const _0x332f40=a17_0x1a70,_0x3c0fb1=_0x16e304();while(!![]){try{const _0x3fc9f7=parseInt(_0x332f40(0x111))/0x1+parseInt(_0x332f40(0x102))/0x2*(-parseInt(_0x332f40(0x10d))/0x3)+parseInt(_0x332f40(0x12b))/0x4*(parseInt(_0x332f40(0x12f))/0x5)+parseInt(_0x332f40(0x103))/0x6*(-parseInt(_0x332f40(0xfe))/0x7)+parseInt(_0x332f40(0x12a))/0x8*(parseInt(_0x332f40(0x124))/0x9)+parseInt(_0x332f40(0x112))/0xa*(parseInt(_0x332f40(0x115))/0xb)+parseInt(_0x332f40(0x123))/0xc*(-parseInt(_0x332f40(0x105))/0xd);if(_0x3fc9f7===_0x865e3b)break;else _0x3c0fb1['push'](_0x3c0fb1['shift']());}catch(_0x186eb6){_0x3c0fb1['push'](_0x3c0fb1['shift']());}}}(a17_0xe608,0x79d01));const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a17_0x469803(0xee)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require(a17_0x469803(0xf8)),{logger}=require(a17_0x469803(0x109)),{getCredentialsPath,getGridDetails}=require(a17_0x469803(0x10f)),{scaleUpHubDeployment}=require(a17_0x469803(0xea)),{sendInstrumentationEvent}=require(a17_0x469803(0x11e)),webSocketUtils=require(a17_0x469803(0x138)),{createK8sClient}=require(a17_0x469803(0x125)),{getCloudProviderObject}=require(a17_0x469803(0x11c));function a17_0x1a70(_0x359325,_0x438e7f){const _0xe60865=a17_0xe608();return a17_0x1a70=function(_0x1a70e8,_0x1c8d58){_0x1a70e8=_0x1a70e8-0xe2;let _0x5140ee=_0xe60865[_0x1a70e8];return _0x5140ee;},a17_0x1a70(_0x359325,_0x438e7f);}exports[a17_0x469803(0x12e)]='grid',exports[a17_0x469803(0x101)]=a17_0x469803(0x130),exports[a17_0x469803(0x135)]=function(_0x150c5a){const _0x3da705=a17_0x469803,_0x1fee4c={};_0x1fee4c[_0x3da705(0xfc)]=_0x3da705(0x10c),_0x1fee4c[_0x3da705(0x10e)]='string',_0x1fee4c['QxwNI']=_0x3da705(0x132),_0x1fee4c['FcylF']=_0x3da705(0x11d),_0x1fee4c[_0x3da705(0xeb)]='help';const _0x4dc886=_0x1fee4c,_0x1c3126={};_0x1c3126[_0x3da705(0xff)]=_0x4dc886[_0x3da705(0xfc)],_0x1c3126[_0x3da705(0x122)]=_0x4dc886[_0x3da705(0x10e)];const _0x3d6888={};_0x3d6888[_0x3da705(0xff)]=_0x4dc886[_0x3da705(0xe8)],_0x3d6888[_0x3da705(0x122)]=_0x4dc886[_0x3da705(0x119)],_0x3d6888['default']=![];const _0x6bff99={};return _0x6bff99[_0x3da705(0xec)]=_0x1c3126,_0x6bff99[_0x3da705(0x139)]=_0x3d6888,_0x150c5a[_0x3da705(0x12c)](HELP_HEADER_MESSAGE[_0x3da705(0x142)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x3da705(0x12d)](_0x6bff99)[_0x3da705(0x13e)](_0x4dc886['UJcVU'])[_0x3da705(0xfa)];},exports[a17_0x469803(0x134)]=async function(_0x305933){const _0x506790=a17_0x469803,_0x41be0c={'ellCn':_0x506790(0x108),'XMVFW':function(_0x1c98cc){return _0x1c98cc();},'bDBmy':_0x506790(0xe9),'ctwZO':function(_0x71630b,_0x5caa5e,_0x433aa2,_0x441a34,_0x260646,_0x3cadd6,_0x4ffeb7){return _0x71630b(_0x5caa5e,_0x433aa2,_0x441a34,_0x260646,_0x3cadd6,_0x4ffeb7);},'ogxEt':_0x506790(0xed),'EMHrh':_0x506790(0x116),'iwXOw':function(_0x157b1e,_0x36dd00,_0x30b2b6,_0x27f088,_0x630aa0,_0x49c78f,_0x558684){return _0x157b1e(_0x36dd00,_0x30b2b6,_0x27f088,_0x630aa0,_0x49c78f,_0x558684);},'FEsOX':function(_0x57aced){return _0x57aced();},'hCQOT':_0x506790(0x129),'PmhSl':'<PasswordPlaceholder>','cFgOd':_0x506790(0x145),'mGyBE':function(_0x5ad030,_0x38ba6d,_0x1a4b99,_0x3a2781){return _0x5ad030(_0x38ba6d,_0x1a4b99,_0x3a2781);},'qvqCn':function(_0x61f2d8,_0x239477,_0x910c36,_0x5a5a21,_0x42a332,_0x182321,_0x38519c){return _0x61f2d8(_0x239477,_0x910c36,_0x5a5a21,_0x42a332,_0x182321,_0x38519c);},'zNkHo':function(_0x3b8430,_0x330598,_0x2edf52){return _0x3b8430(_0x330598,_0x2edf52);},'MTmiy':function(_0x26069c,_0x2db656,_0x431f51){return _0x26069c(_0x2db656,_0x431f51);},'rsjWh':_0x506790(0x120),'HtfVk':function(_0x17e122,_0x284895){return _0x17e122===_0x284895;},'YnGBv':_0x506790(0x13d),'bdSXv':_0x506790(0x141),'NIhvJ':function(_0x2aedde,_0x4b8701,_0x3d4ee4,_0x2c9e9b,_0x511c2b,_0x4d0be0,_0x18e948){return _0x2aedde(_0x4b8701,_0x3d4ee4,_0x2c9e9b,_0x511c2b,_0x4d0be0,_0x18e948);},'YPhMQ':_0x506790(0xef),'MLskd':function(_0x130e60,_0x1d5dc3,_0x3ca6c9,_0xa5199,_0x4b928c,_0x42da01,_0x456511){return _0x130e60(_0x1d5dc3,_0x3ca6c9,_0xa5199,_0x4b928c,_0x42da01,_0x456511);},'yxEFU':'server-error'};let _0x393a6b;try{!_0x305933['gridId']&&(logger['error'](_0x41be0c['ellCn']),process[_0x506790(0x104)](0x1));!fs[_0x506790(0xfb)](_0x41be0c[_0x506790(0xf2)](getCredentialsPath))&&(logger[_0x506790(0x13c)](_0x41be0c[_0x506790(0x136)]),await _0x41be0c['ctwZO'](sendInstrumentationEvent,_0x305933,_0x41be0c[_0x506790(0x13b)],messageTypes[_0x506790(0x133)],_0x41be0c[_0x506790(0xe2)],null,_0x305933),process['exit'](0x1));logger[_0x506790(0x110)]('Starting\x20grid\x20'+_0x305933['gridId']),await _0x41be0c[_0x506790(0x100)](sendInstrumentationEvent,_0x305933,_0x41be0c['ogxEt'],messageTypes[_0x506790(0xfd)],null,null,_0x305933);const _0x1c43c0=JSON['parse'](fs['readFileSync'](_0x41be0c[_0x506790(0x11b)](getCredentialsPath)));global_registry['bstackUsername']=_0x1c43c0[_0x506790(0x114)][_0x506790(0xe4)],global_registry[_0x506790(0xf1)]=_0x1c43c0[_0x506790(0x114)][_0x506790(0x127)];const _0x1f5a86=WS_ENDPOINT['replace'](_0x41be0c[_0x506790(0x137)],_0x1c43c0[_0x506790(0x114)][_0x506790(0xe4)])['replace'](_0x41be0c[_0x506790(0xf3)],_0x1c43c0[_0x506790(0x114)][_0x506790(0x127)]),_0x1b3be5={};_0x1b3be5[_0x506790(0x11f)]=ws,_0x1b3be5[_0x506790(0xf6)]=0x36ee80,_0x393a6b=new ReconnectingWebSocket(_0x1f5a86,[],_0x1b3be5),logger[_0x506790(0xe6)](_0x41be0c[_0x506790(0xf5)]),webSocketUtils['addListeners'](_0x393a6b,_0x305933['user'],_0x305933[_0x506790(0x127)]);const [_0x1d4333,_0x157a1c]=await _0x41be0c['mGyBE'](getGridDetails,_0x1c43c0[_0x506790(0x114)][_0x506790(0xe4)],_0x1c43c0[_0x506790(0x114)][_0x506790(0x127)],_0x305933[_0x506790(0x128)]);if(_0x157a1c){const _0x584ccc=_0x157a1c['info'];global_registry[_0x506790(0xe5)]=_0x584ccc[_0x506790(0xe5)],global_registry[_0x506790(0x121)]=_0x584ccc['region'],global_registry[_0x506790(0x131)]=_0x584ccc[_0x506790(0x131)];const _0x35b8c2=await _0x41be0c[_0x506790(0x13a)](getCloudProviderObject,_0x584ccc['cloudProvider'],_0x584ccc['clusterName'],_0x584ccc[_0x506790(0xf4)],_0x393a6b,webSocketUtils,_0x305933),[_0x2350f0,_0x39d053,_0x4dab91,_0x5d96ca,_0x431fe6,_0x4ac41d]=await _0x41be0c[_0x506790(0xf9)](createK8sClient,_0x35b8c2,_0x305933[_0x506790(0x144)]);await _0x41be0c[_0x506790(0x10a)](scaleUpHubDeployment,_0x39d053,_0x584ccc[_0x506790(0xf4)]),logger['info'](_0x41be0c[_0x506790(0x10b)]),process[_0x506790(0x104)](0x0);}_0x41be0c['HtfVk'](_0x1d4333[_0x506790(0x113)],0x191)&&(logger[_0x506790(0x13c)](_0x41be0c[_0x506790(0x106)]),await _0x41be0c['iwXOw'](sendInstrumentationEvent,_0x305933,_0x41be0c[_0x506790(0x13b)],messageTypes[_0x506790(0x133)],_0x41be0c[_0x506790(0xe7)],null,_0x305933),process['exit'](0x1)),_0x41be0c['HtfVk'](_0x1d4333['statusCode'],0x190)&&(logger[_0x506790(0x13c)](JSON[_0x506790(0x13f)](_0x1d4333[_0x506790(0xe3)])[_0x506790(0xf7)]),await _0x41be0c[_0x506790(0x140)](sendInstrumentationEvent,_0x305933,_0x41be0c[_0x506790(0x13b)],messageTypes['ERROR'],_0x41be0c[_0x506790(0x118)],null,_0x305933),process[_0x506790(0x104)](0x1)),logger['error'](_0x506790(0x126)+JSON['stringify'](_0x1d4333)),await _0x41be0c[_0x506790(0x143)](sendInstrumentationEvent,_0x305933,_0x41be0c[_0x506790(0x13b)],messageTypes[_0x506790(0x133)],_0x41be0c[_0x506790(0xf0)],_0x1d4333,_0x305933),process[_0x506790(0x104)](0x1);}catch(_0x44144e){const _0x3909d6=_0x506790(0x11a)+_0x44144e+'\x20\x0a'+JSON[_0x506790(0x117)](_0x44144e[_0x506790(0x107)])+'\x20';logger['error'](_0x3909d6),process[_0x506790(0x104)](0x1);}};function a17_0xe608(){const _0x3d6a5b=['description','iwXOw','desc','17392vsYdKl','396aNlhgG','exit','364PRibAd','YnGBv','stack','Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20start','../../config/logger','MTmiy','rsjWh','Pass\x20the\x20ID\x20of\x20the\x20existing\x20Automation\x20grid\x20you\x20want\x20to\x20start.','294CqXGLi','ixbJE','../../utils/utilityMethods','info','559175YtwZeT','10NiipAV','statusCode','Browserstack','1242560GHBOxh','init-not-called','stringify','YPhMQ','FcylF','Unable\x20to\x20start\x20the\x20Grid!\x20Error:\x20','FEsOX','../../cloudproviders/utils','boolean','../../utils/instrumentationUtils','WebSocket','Grid\x20started','clusterRegion','type','3972jxZRBm','100539IrElpZ','../../utils/createk8sClient','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','password','gridId','<UsernamePlaceholder>','592POWeRU','180784xwRrOR','usage','options','command','35ZoGiSY','Start\x20an\x20existing\x20Automation\x20grid.','clusterName','Skip\x20insecure\x20cert\x20verification.','ERROR','handler','builder','bDBmy','hCQOT','../../utils/webSocketUtils','skip-tls-cert-verify','qvqCn','ogxEt','error','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','help','parse','NIhvJ','unauthorised','start','MLskd','skipTlsCertVerify','Adding\x20Websocket\x20listeners','EMHrh','body','username','cloudProvider','debug','bdSXv','QxwNI','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','../../utils/gridComponents','UJcVU','grid-id','start-grid-called','reconnecting-websocket','invalid-grid-id','yxEFU','bstackAccesskey','XMVFW','PmhSl','name','cFgOd','connectionTimeout','message','../../config/constants','zNkHo','argv','existsSync','NRyKl','INFO','48230dFZBmU'];a17_0xe608=function(){return _0x3d6a5b;};return a17_0xe608();}
@@ -1 +1 @@
1
- const a18_0x239463=a18_0x54c4;(function(_0x21dd44,_0x218f02){const _0x29645d=a18_0x54c4,_0x548a7d=_0x21dd44();while(!![]){try{const _0x3c4c75=parseInt(_0x29645d(0x1da))/0x1*(-parseInt(_0x29645d(0x1e4))/0x2)+parseInt(_0x29645d(0x1df))/0x3*(-parseInt(_0x29645d(0x1db))/0x4)+-parseInt(_0x29645d(0x1d9))/0x5+parseInt(_0x29645d(0x1e6))/0x6+-parseInt(_0x29645d(0x1d6))/0x7+parseInt(_0x29645d(0x1d4))/0x8*(parseInt(_0x29645d(0x1d7))/0x9)+parseInt(_0x29645d(0x1e5))/0xa;if(_0x3c4c75===_0x218f02)break;else _0x548a7d['push'](_0x548a7d['shift']());}catch(_0x4d25ce){_0x548a7d['push'](_0x548a7d['shift']());}}}(a18_0x3e4e,0x61454));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require('../config/constants');exports[a18_0x239463(0x1dd)]=a18_0x239463(0x1de),exports[a18_0x239463(0x1e1)]='Stop\x20a\x20running\x20Automation\x20grid.',exports['builder']=function(_0x24abad){const _0x2290b5=a18_0x239463,_0x4ffef5={};_0x4ffef5[_0x2290b5(0x1dc)]='stop_commands',_0x4ffef5[_0x2290b5(0x1e0)]=_0x2290b5(0x1e2);const _0x2ac671=_0x4ffef5;return _0x24abad['usage'](HELP_HEADER_MESSAGE[_0x2290b5(0x1de)])[_0x2290b5(0x1e3)](HELP_FOOTER_MESSAGE)['commandDir'](_0x2ac671[_0x2290b5(0x1dc)])[_0x2290b5(0x1d8)]()[_0x2290b5(0x1d5)]()['strict']()['help'](_0x2ac671[_0x2290b5(0x1e0)]);},exports['handler']=function(_0x227357){};function a18_0x54c4(_0x359fc7,_0x4a82c6){const _0x3e4e2f=a18_0x3e4e();return a18_0x54c4=function(_0x54c4c6,_0x51505a){_0x54c4c6=_0x54c4c6-0x1d4;let _0x7c86ac=_0x3e4e2f[_0x54c4c6];return _0x7c86ac;},a18_0x54c4(_0x359fc7,_0x4a82c6);}function a18_0x3e4e(){const _0x11a694=['1256616NhSSum','8Utqbyf','recommendCommands','4730404sDejLk','1606077VhZAFM','demandCommand','2163185paqFFy','20aOSYSb','1092vttqSO','GMjQg','command','stop','969MPlfyh','soFsa','desc','help','epilogue','5290sJPDfK','12600190hQIlOi'];a18_0x3e4e=function(){return _0x11a694;};return a18_0x3e4e();}
1
+ const a18_0x595971=a18_0x483a;(function(_0x492b6d,_0x3310aa){const _0x2403b9=a18_0x483a,_0xea9f57=_0x492b6d();while(!![]){try{const _0x10d554=-parseInt(_0x2403b9(0x84))/0x1+parseInt(_0x2403b9(0x93))/0x2+-parseInt(_0x2403b9(0x8f))/0x3*(-parseInt(_0x2403b9(0x89))/0x4)+parseInt(_0x2403b9(0x7e))/0x5*(parseInt(_0x2403b9(0x95))/0x6)+-parseInt(_0x2403b9(0x88))/0x7*(parseInt(_0x2403b9(0x7f))/0x8)+-parseInt(_0x2403b9(0x7d))/0x9+parseInt(_0x2403b9(0x94))/0xa*(parseInt(_0x2403b9(0x90))/0xb);if(_0x10d554===_0x3310aa)break;else _0xea9f57['push'](_0xea9f57['shift']());}catch(_0x21c213){_0xea9f57['push'](_0xea9f57['shift']());}}}(a18_0x178e,0x29f41));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a18_0x595971(0x8a));function a18_0x483a(_0x48f43f,_0x513734){const _0x178e9f=a18_0x178e();return a18_0x483a=function(_0x483a88,_0x276396){_0x483a88=_0x483a88-0x7d;let _0xf86cec=_0x178e9f[_0x483a88];return _0xf86cec;},a18_0x483a(_0x48f43f,_0x513734);}exports[a18_0x595971(0x85)]=a18_0x595971(0x80),exports['desc']=a18_0x595971(0x86),exports[a18_0x595971(0x82)]=function(_0x639d87){const _0x105803=a18_0x595971,_0x4d3892={};_0x4d3892[_0x105803(0x83)]=_0x105803(0x8b),_0x4d3892['dEnOX']=_0x105803(0x8d);const _0x445a1c=_0x4d3892;return _0x639d87[_0x105803(0x81)](HELP_HEADER_MESSAGE[_0x105803(0x80)])[_0x105803(0x8c)](HELP_FOOTER_MESSAGE)[_0x105803(0x91)](_0x445a1c['vHPXt'])[_0x105803(0x8e)]()['recommendCommands']()['strict']()[_0x105803(0x8d)](_0x445a1c[_0x105803(0x92)]);},exports[a18_0x595971(0x87)]=function(_0x589d32){};function a18_0x178e(){const _0x41fdc5=['help','demandCommand','6081jFmoxQ','6479fDyQdV','commandDir','dEnOX','477688FTEIvI','5420oEnDfV','123306AEorga','3070116lfGYde','30wfiwgT','189368KRMSeL','stop','usage','builder','vHPXt','302858dHdUKO','command','Stop\x20a\x20running\x20Automation\x20grid.','handler','7yBUzxl','312KeZPJH','../config/constants','stop_commands','epilogue'];a18_0x178e=function(){return _0x41fdc5;};return a18_0x178e();}
@@ -1 +1 @@
1
- const a19_0x82c25c=a19_0x5d43;(function(_0x21c7bd,_0x5c20ac){const _0x3f6fd5=a19_0x5d43,_0x4ab013=_0x21c7bd();while(!![]){try{const _0x505866=parseInt(_0x3f6fd5(0xb9))/0x1+parseInt(_0x3f6fd5(0xbf))/0x2*(-parseInt(_0x3f6fd5(0xc3))/0x3)+-parseInt(_0x3f6fd5(0xe3))/0x4*(-parseInt(_0x3f6fd5(0xf6))/0x5)+-parseInt(_0x3f6fd5(0xc4))/0x6*(parseInt(_0x3f6fd5(0xb5))/0x7)+parseInt(_0x3f6fd5(0xad))/0x8+-parseInt(_0x3f6fd5(0xcb))/0x9*(-parseInt(_0x3f6fd5(0x9e))/0xa)+-parseInt(_0x3f6fd5(0xde))/0xb;if(_0x505866===_0x5c20ac)break;else _0x4ab013['push'](_0x4ab013['shift']());}catch(_0x2b617a){_0x4ab013['push'](_0x4ab013['shift']());}}}(a19_0x2df0,0x52b0c));function a19_0x5d43(_0x3ed495,_0x432169){const _0x2df040=a19_0x2df0();return a19_0x5d43=function(_0x5d434b,_0x21fb22){_0x5d434b=_0x5d434b-0x96;let _0x2d41b8=_0x2df040[_0x5d434b];return _0x2d41b8;},a19_0x5d43(_0x3ed495,_0x432169);}const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a19_0x82c25c(0x96)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require(a19_0x82c25c(0xdc)),{logger}=require(a19_0x82c25c(0xd3)),{getCredentialsPath,getGridDetails}=require('../../utils/utilityMethods'),{scaleDownHubDeployment}=require(a19_0x82c25c(0xb8)),{sendInstrumentationEvent}=require(a19_0x82c25c(0xaf)),webSocketUtils=require(a19_0x82c25c(0xef)),{createK8sClient}=require(a19_0x82c25c(0xcc)),{getCloudProviderObject}=require(a19_0x82c25c(0xac));exports[a19_0x82c25c(0xe0)]='grid',exports[a19_0x82c25c(0xd5)]=a19_0x82c25c(0xa6),exports[a19_0x82c25c(0x9d)]=function(_0x355307){const _0x357a7d=a19_0x82c25c,_0x2fcd72={};_0x2fcd72[_0x357a7d(0xe6)]=_0x357a7d(0xc5),_0x2fcd72[_0x357a7d(0xb4)]='string',_0x2fcd72[_0x357a7d(0x9a)]=_0x357a7d(0xa3),_0x2fcd72[_0x357a7d(0xa9)]=_0x357a7d(0xd7),_0x2fcd72[_0x357a7d(0x98)]=_0x357a7d(0xeb);const _0x4bdb8d=_0x2fcd72,_0x4dc8ad={};_0x4dc8ad[_0x357a7d(0xdb)]=_0x4bdb8d['PBsqZ'],_0x4dc8ad[_0x357a7d(0xf7)]=_0x4bdb8d[_0x357a7d(0xb4)];const _0xe2cea8={};_0xe2cea8[_0x357a7d(0xdb)]=_0x4bdb8d[_0x357a7d(0x9a)],_0xe2cea8['type']=_0x4bdb8d[_0x357a7d(0xa9)],_0xe2cea8[_0x357a7d(0xab)]=![];const _0xa44e26={};return _0xa44e26['grid-id']=_0x4dc8ad,_0xa44e26[_0x357a7d(0xd1)]=_0xe2cea8,_0x355307[_0x357a7d(0xc6)](HELP_HEADER_MESSAGE[_0x357a7d(0xea)])[_0x357a7d(0xf3)](HELP_FOOTER_MESSAGE)['options'](_0xa44e26)[_0x357a7d(0xeb)](_0x4bdb8d[_0x357a7d(0x98)])[_0x357a7d(0xa8)];},exports[a19_0x82c25c(0xe8)]=async function(_0x2fd13c){const _0x6a147d=a19_0x82c25c,_0x316fd6={'FLEmn':'Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20stop','rmflS':function(_0x448cf0){return _0x448cf0();},'TUPeI':_0x6a147d(0xc8),'clZPf':function(_0x4895db,_0x187c16,_0x4fa369,_0x3b4c4c,_0x4ba934,_0x5b14c8,_0x25552a){return _0x4895db(_0x187c16,_0x4fa369,_0x3b4c4c,_0x4ba934,_0x5b14c8,_0x25552a);},'NQqyr':'stop-grid-called','ntIzM':_0x6a147d(0xd6),'YlzKm':function(_0x250f43){return _0x250f43();},'DhyoH':_0x6a147d(0xca),'jljpy':_0x6a147d(0xed),'GMscA':_0x6a147d(0xf0),'YfHSd':function(_0x569caf,_0x123cd1,_0x363e31,_0x25b1ed){return _0x569caf(_0x123cd1,_0x363e31,_0x25b1ed);},'qGeQe':function(_0x20dc70,_0x4d240c,_0x2fe5b5,_0x576cb7,_0x24ce1a,_0x59a117,_0x214e27){return _0x20dc70(_0x4d240c,_0x2fe5b5,_0x576cb7,_0x24ce1a,_0x59a117,_0x214e27);},'CJWKw':function(_0x57a702,_0x1e76b6,_0x3327a1){return _0x57a702(_0x1e76b6,_0x3327a1);},'dWKuc':_0x6a147d(0xb2),'LdxVC':function(_0x107105,_0x2a01a9){return _0x107105===_0x2a01a9;},'cajYt':_0x6a147d(0x9b),'akzzZ':function(_0x59a91e,_0x3e9270,_0x3300fd,_0x31cadd,_0x70103e,_0x4a87c8,_0xdbd07a){return _0x59a91e(_0x3e9270,_0x3300fd,_0x31cadd,_0x70103e,_0x4a87c8,_0xdbd07a);},'sXUsa':_0x6a147d(0xcf),'OLmwW':function(_0x1aa787,_0x2fdefa){return _0x1aa787===_0x2fdefa;},'ZVLVH':_0x6a147d(0xa5),'HSFVD':function(_0x4b9c05,_0x24f106,_0x2c417d,_0x1b7f1a,_0x56fa1c,_0x4c1307,_0x2c2f33){return _0x4b9c05(_0x24f106,_0x2c417d,_0x1b7f1a,_0x56fa1c,_0x4c1307,_0x2c2f33);},'VHmwH':_0x6a147d(0xae)};let _0x39b076;try{!_0x2fd13c[_0x6a147d(0xc1)]&&(logger[_0x6a147d(0xc0)](_0x316fd6[_0x6a147d(0xd8)]),process[_0x6a147d(0xaa)](0x1));!fs['existsSync'](_0x316fd6[_0x6a147d(0xa4)](getCredentialsPath))&&(logger['error'](_0x316fd6[_0x6a147d(0xe9)]),await _0x316fd6[_0x6a147d(0xba)](sendInstrumentationEvent,_0x2fd13c,_0x316fd6[_0x6a147d(0xf5)],messageTypes[_0x6a147d(0x99)],_0x316fd6['ntIzM'],null,_0x2fd13c),process[_0x6a147d(0xaa)](0x1));logger[_0x6a147d(0xda)](_0x6a147d(0xbb)+_0x2fd13c[_0x6a147d(0xc1)]),await _0x316fd6[_0x6a147d(0xba)](sendInstrumentationEvent,_0x2fd13c,_0x316fd6[_0x6a147d(0xf5)],messageTypes['INFO'],null,null,_0x2fd13c);const _0x16484b=JSON[_0x6a147d(0xec)](fs[_0x6a147d(0xcd)](_0x316fd6[_0x6a147d(0xdf)](getCredentialsPath)));global_registry['bstackUsername']=_0x16484b[_0x6a147d(0xc7)]['username'],global_registry[_0x6a147d(0xe1)]=_0x16484b[_0x6a147d(0xc7)]['password'];const _0x3780fd=WS_ENDPOINT['replace'](_0x316fd6['DhyoH'],_0x16484b['Browserstack'][_0x6a147d(0xdd)])[_0x6a147d(0xa7)](_0x316fd6[_0x6a147d(0x9c)],_0x16484b[_0x6a147d(0xc7)][_0x6a147d(0xa1)]),_0x15907d={};_0x15907d['WebSocket']=ws,_0x15907d[_0x6a147d(0xb1)]=0x36ee80,_0x39b076=new ReconnectingWebSocket(_0x3780fd,[],_0x15907d),logger[_0x6a147d(0xbe)](_0x316fd6['GMscA']),webSocketUtils[_0x6a147d(0x97)](_0x39b076,_0x2fd13c[_0x6a147d(0xf2)],_0x2fd13c[_0x6a147d(0xa1)]);const [_0x1db0ba,_0x4c92de]=await _0x316fd6[_0x6a147d(0x9f)](getGridDetails,_0x16484b[_0x6a147d(0xc7)][_0x6a147d(0xdd)],_0x16484b['Browserstack'][_0x6a147d(0xa1)],_0x2fd13c[_0x6a147d(0xc1)]);if(_0x4c92de){const _0x425e6d=_0x4c92de[_0x6a147d(0xda)];global_registry[_0x6a147d(0xb0)]=_0x425e6d['cloudProvider'],global_registry[_0x6a147d(0xc9)]=_0x425e6d[_0x6a147d(0xe7)],global_registry['clusterName']=_0x425e6d[_0x6a147d(0xd0)];const _0x5d1e3f=await _0x316fd6[_0x6a147d(0xbc)](getCloudProviderObject,_0x425e6d[_0x6a147d(0xb0)],_0x425e6d[_0x6a147d(0xd0)],_0x425e6d[_0x6a147d(0xe5)],_0x39b076,webSocketUtils,_0x2fd13c),[_0x2020e6,_0x90a9de,_0xf0e105,_0x27f75f,_0x390a0d,_0x40e36d]=await _0x316fd6[_0x6a147d(0xf4)](createK8sClient,_0x5d1e3f,_0x2fd13c[_0x6a147d(0xa2)]);await _0x316fd6['CJWKw'](scaleDownHubDeployment,_0x90a9de,_0x425e6d['name']),logger['info'](_0x316fd6[_0x6a147d(0xce)]),process['exit'](0x0);}_0x316fd6['LdxVC'](_0x1db0ba[_0x6a147d(0xb3)],0x191)&&(logger['error'](_0x316fd6[_0x6a147d(0xb6)]),await _0x316fd6[_0x6a147d(0xee)](sendInstrumentationEvent,_0x2fd13c,_0x316fd6['NQqyr'],messageTypes[_0x6a147d(0x99)],_0x316fd6[_0x6a147d(0xe2)],null,_0x2fd13c),process[_0x6a147d(0xaa)](0x1)),_0x316fd6[_0x6a147d(0xe4)](_0x1db0ba[_0x6a147d(0xb3)],0x190)&&(logger[_0x6a147d(0xc0)](JSON[_0x6a147d(0xec)](_0x1db0ba[_0x6a147d(0xd9)])[_0x6a147d(0xd2)]),await _0x316fd6[_0x6a147d(0xee)](sendInstrumentationEvent,_0x2fd13c,_0x316fd6[_0x6a147d(0xf5)],messageTypes[_0x6a147d(0x99)],_0x316fd6[_0x6a147d(0xb7)],null,_0x2fd13c),process['exit'](0x1)),logger['error'](_0x6a147d(0xd4)+JSON['stringify'](_0x1db0ba)),await _0x316fd6['HSFVD'](sendInstrumentationEvent,_0x2fd13c,_0x316fd6['NQqyr'],messageTypes[_0x6a147d(0x99)],_0x316fd6[_0x6a147d(0xbd)],_0x1db0ba,_0x2fd13c),process[_0x6a147d(0xaa)](0x1);}catch(_0x1e701d){const _0x3e1b4e=_0x6a147d(0xc2)+_0x1e701d+'\x20\x0a'+JSON[_0x6a147d(0xf1)](_0x1e701d[_0x6a147d(0xa0)])+'\x20';logger[_0x6a147d(0xc0)](_0x3e1b4e),process['exit'](0x1);}};function a19_0x2df0(){const _0x1f6ac0=['Skip\x20insecure\x20cert\x20verification.','rmflS','invalid-grid-id','Stop\x20a\x20running\x20Automation\x20grid.','replace','argv','FjurG','exit','default','../../cloudproviders/utils','4564920oSnJPy','server-error','../../utils/instrumentationUtils','cloudProvider','connectionTimeout','Grid\x20stoppped.','statusCode','acfWO','510951dhqSPs','cajYt','ZVLVH','../../utils/gridComponents','267500mCyuZD','clZPf','Stopping\x20grid\x20','qGeQe','VHmwH','debug','22138noERgr','error','gridId','Unable\x20to\x20stop\x20the\x20Grid!\x20Error:\x20','48HaiqOl','6NVQWvX','Pass\x20the\x20ID\x20of\x20the\x20running\x20Automation\x20grid\x20you\x20want\x20to\x20stop.','usage','Browserstack','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','clusterRegion','<UsernamePlaceholder>','391545BvWEbM','../../utils/createk8sClient','readFileSync','dWKuc','unauthorised','clusterName','skip-tls-cert-verify','message','../../config/logger','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','desc','init-not-called','boolean','FLEmn','body','info','description','../../config/constants','username','12343980snoFkm','YlzKm','command','bstackAccesskey','sXUsa','3028UkcpUg','OLmwW','name','PBsqZ','region','handler','TUPeI','stop','help','parse','<PasswordPlaceholder>','akzzZ','../../utils/webSocketUtils','Adding\x20Websocket\x20listeners','stringify','user','epilogue','CJWKw','NQqyr','1455wNLbsR','type','reconnecting-websocket','addListeners','CYBNi','ERROR','rUfan','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','jljpy','builder','150OshJQc','YfHSd','stack','password','skipTlsCertVerify'];a19_0x2df0=function(){return _0x1f6ac0;};return a19_0x2df0();}
1
+ const a19_0x24f59c=a19_0x42de;(function(_0xab02a4,_0x15f2c0){const _0x122885=a19_0x42de,_0x536687=_0xab02a4();while(!![]){try{const _0x2cd2d0=parseInt(_0x122885(0x22a))/0x1*(parseInt(_0x122885(0x239))/0x2)+-parseInt(_0x122885(0x1f4))/0x3*(parseInt(_0x122885(0x233))/0x4)+-parseInt(_0x122885(0x1fc))/0x5+-parseInt(_0x122885(0x200))/0x6+parseInt(_0x122885(0x218))/0x7+parseInt(_0x122885(0x224))/0x8*(parseInt(_0x122885(0x214))/0x9)+parseInt(_0x122885(0x208))/0xa;if(_0x2cd2d0===_0x15f2c0)break;else _0x536687['push'](_0x536687['shift']());}catch(_0x463ff8){_0x536687['push'](_0x536687['shift']());}}}(a19_0x485c,0xe4008));function a19_0x42de(_0x4dfa7d,_0x3cc465){const _0x485ca7=a19_0x485c();return a19_0x42de=function(_0x42de25,_0xe42315){_0x42de25=_0x42de25-0x1db;let _0x1addbe=_0x485ca7[_0x42de25];return _0x1addbe;},a19_0x42de(_0x4dfa7d,_0x3cc465);}const fs=require('fs'),ws=require('ws'),ReconnectingWebSocket=require(a19_0x24f59c(0x1e9)),{global_registry,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,WS_ENDPOINT,messageTypes}=require(a19_0x24f59c(0x216)),{logger}=require(a19_0x24f59c(0x211)),{getCredentialsPath,getGridDetails}=require(a19_0x24f59c(0x23f)),{scaleDownHubDeployment}=require(a19_0x24f59c(0x20e)),{sendInstrumentationEvent}=require(a19_0x24f59c(0x1ff)),webSocketUtils=require(a19_0x24f59c(0x1fa)),{createK8sClient}=require(a19_0x24f59c(0x1ed)),{getCloudProviderObject}=require(a19_0x24f59c(0x229));exports[a19_0x24f59c(0x20b)]='grid',exports[a19_0x24f59c(0x1f9)]=a19_0x24f59c(0x1db),exports['builder']=function(_0x4c4dcc){const _0x271560=a19_0x24f59c,_0x36a730={};_0x36a730['fvOxP']=_0x271560(0x220),_0x36a730[_0x271560(0x222)]=_0x271560(0x1e5),_0x36a730['TbFea']=_0x271560(0x1e7),_0x36a730[_0x271560(0x23e)]=_0x271560(0x1eb),_0x36a730[_0x271560(0x210)]=_0x271560(0x1f2);const _0xd705f2=_0x36a730,_0x25448c={};_0x25448c[_0x271560(0x1f1)]=_0xd705f2['fvOxP'],_0x25448c['type']=_0xd705f2[_0x271560(0x222)];const _0x159fb5={};_0x159fb5[_0x271560(0x1f1)]=_0xd705f2[_0x271560(0x232)],_0x159fb5[_0x271560(0x205)]=_0xd705f2[_0x271560(0x23e)],_0x159fb5[_0x271560(0x226)]=![];const _0x50140c={};return _0x50140c[_0x271560(0x1e0)]=_0x25448c,_0x50140c[_0x271560(0x1ea)]=_0x159fb5,_0x4c4dcc['usage'](HELP_HEADER_MESSAGE[_0x271560(0x20d)])[_0x271560(0x23c)](HELP_FOOTER_MESSAGE)[_0x271560(0x231)](_0x50140c)[_0x271560(0x1f2)](_0xd705f2[_0x271560(0x210)])['argv'];},exports[a19_0x24f59c(0x238)]=async function(_0x22beba){const _0x2e4641=a19_0x24f59c,_0x3c3a28={'lPBwC':_0x2e4641(0x1df),'BYOiL':function(_0x1f3848){return _0x1f3848();},'egzXt':_0x2e4641(0x1dd),'STMEK':function(_0x3631df,_0x1d089d,_0x3f291d,_0x2fbbfe,_0x364b84,_0x2e693b,_0x261678){return _0x3631df(_0x1d089d,_0x3f291d,_0x2fbbfe,_0x364b84,_0x2e693b,_0x261678);},'WtaKK':_0x2e4641(0x21f),'dMFzZ':_0x2e4641(0x1f6),'HMuTR':function(_0xd45830,_0x1a1535,_0x50e07e,_0x14b3fb,_0x563d61,_0x18cbbb,_0x52e6fe){return _0xd45830(_0x1a1535,_0x50e07e,_0x14b3fb,_0x563d61,_0x18cbbb,_0x52e6fe);},'kqGWb':function(_0x369de1){return _0x369de1();},'gywEX':_0x2e4641(0x1e8),'OijvB':_0x2e4641(0x202),'yDnkr':_0x2e4641(0x22d),'bJPvR':function(_0x417b9b,_0x3c8696,_0x279d01,_0x3608cc){return _0x417b9b(_0x3c8696,_0x279d01,_0x3608cc);},'pvJyF':function(_0x32acf4,_0x26533a,_0x5a7be9){return _0x32acf4(_0x26533a,_0x5a7be9);},'qkTXR':function(_0x9c9422,_0x3da6ba,_0x50e37b){return _0x9c9422(_0x3da6ba,_0x50e37b);},'MeGuV':'Grid\x20stoppped.','RPFPi':function(_0x5eeed3,_0x457367){return _0x5eeed3===_0x457367;},'gbfmH':_0x2e4641(0x1fd),'gCLQh':function(_0x2fc867,_0x42b39c,_0x4ef474,_0x29b298,_0x2a3d8f,_0x99186b,_0x5af223){return _0x2fc867(_0x42b39c,_0x4ef474,_0x29b298,_0x2a3d8f,_0x99186b,_0x5af223);},'ceuKg':'unauthorised','BvngK':function(_0x153d1d,_0x1d922f){return _0x153d1d===_0x1d922f;},'sdjHE':function(_0x7ca25b,_0x220264,_0x23462b,_0x11643c,_0x1d1ab2,_0x344de1,_0x190a3f){return _0x7ca25b(_0x220264,_0x23462b,_0x11643c,_0x1d1ab2,_0x344de1,_0x190a3f);},'zSMMU':_0x2e4641(0x223),'iLGSo':function(_0x34dfe3,_0x5b2ce1,_0xa2f182,_0x55d717,_0x58e705,_0x34f4c8,_0x4baf04){return _0x34dfe3(_0x5b2ce1,_0xa2f182,_0x55d717,_0x58e705,_0x34f4c8,_0x4baf04);},'ILuYx':_0x2e4641(0x1e1)};let _0x38a02a;try{!_0x22beba['gridId']&&(logger[_0x2e4641(0x201)](_0x3c3a28[_0x2e4641(0x1ee)]),process[_0x2e4641(0x206)](0x1));!fs[_0x2e4641(0x23b)](_0x3c3a28[_0x2e4641(0x22e)](getCredentialsPath))&&(logger[_0x2e4641(0x201)](_0x3c3a28[_0x2e4641(0x23a)]),await _0x3c3a28[_0x2e4641(0x235)](sendInstrumentationEvent,_0x22beba,_0x3c3a28[_0x2e4641(0x1fe)],messageTypes[_0x2e4641(0x1e6)],_0x3c3a28['dMFzZ'],null,_0x22beba),process[_0x2e4641(0x206)](0x1));logger[_0x2e4641(0x1f0)](_0x2e4641(0x1f3)+_0x22beba[_0x2e4641(0x1fb)]),await _0x3c3a28[_0x2e4641(0x212)](sendInstrumentationEvent,_0x22beba,_0x3c3a28[_0x2e4641(0x1fe)],messageTypes[_0x2e4641(0x1de)],null,null,_0x22beba);const _0x4b9c9c=JSON[_0x2e4641(0x225)](fs[_0x2e4641(0x204)](_0x3c3a28[_0x2e4641(0x1dc)](getCredentialsPath)));global_registry[_0x2e4641(0x1ec)]=_0x4b9c9c['Browserstack'][_0x2e4641(0x217)],global_registry['bstackAccesskey']=_0x4b9c9c[_0x2e4641(0x21c)][_0x2e4641(0x230)];const _0x43fac3=WS_ENDPOINT[_0x2e4641(0x203)](_0x3c3a28['gywEX'],_0x4b9c9c[_0x2e4641(0x21c)][_0x2e4641(0x217)])[_0x2e4641(0x203)](_0x3c3a28[_0x2e4641(0x213)],_0x4b9c9c[_0x2e4641(0x21c)][_0x2e4641(0x230)]),_0x462872={};_0x462872[_0x2e4641(0x1ef)]=ws,_0x462872[_0x2e4641(0x22c)]=0x36ee80,_0x38a02a=new ReconnectingWebSocket(_0x43fac3,[],_0x462872),logger[_0x2e4641(0x20a)](_0x3c3a28[_0x2e4641(0x21d)]),webSocketUtils['addListeners'](_0x38a02a,_0x22beba[_0x2e4641(0x215)],_0x22beba[_0x2e4641(0x230)]);const [_0x56c01c,_0x48e24e]=await _0x3c3a28[_0x2e4641(0x236)](getGridDetails,_0x4b9c9c[_0x2e4641(0x21c)][_0x2e4641(0x217)],_0x4b9c9c[_0x2e4641(0x21c)][_0x2e4641(0x230)],_0x22beba[_0x2e4641(0x1fb)]);if(_0x48e24e){const _0x3891b4=_0x48e24e[_0x2e4641(0x1f0)];global_registry[_0x2e4641(0x228)]=_0x3891b4['cloudProvider'],global_registry[_0x2e4641(0x237)]=_0x3891b4['region'],global_registry[_0x2e4641(0x1e2)]=_0x3891b4[_0x2e4641(0x1e2)];const _0x162c7d=await _0x3c3a28[_0x2e4641(0x235)](getCloudProviderObject,_0x3891b4['cloudProvider'],_0x3891b4[_0x2e4641(0x1e2)],_0x3891b4[_0x2e4641(0x234)],_0x38a02a,webSocketUtils,_0x22beba),[_0x4ed50b,_0x2827fe,_0x1195c7,_0x26a245,_0x7f9ba6,_0x426f50]=await _0x3c3a28[_0x2e4641(0x21b)](createK8sClient,_0x162c7d,_0x22beba[_0x2e4641(0x1e3)]);await _0x3c3a28[_0x2e4641(0x1f8)](scaleDownHubDeployment,_0x2827fe,_0x3891b4[_0x2e4641(0x234)]),logger[_0x2e4641(0x1f0)](_0x3c3a28[_0x2e4641(0x22f)]),process[_0x2e4641(0x206)](0x0);}_0x3c3a28[_0x2e4641(0x22b)](_0x56c01c[_0x2e4641(0x207)],0x191)&&(logger['error'](_0x3c3a28[_0x2e4641(0x20c)]),await _0x3c3a28[_0x2e4641(0x1f5)](sendInstrumentationEvent,_0x22beba,_0x3c3a28['WtaKK'],messageTypes['ERROR'],_0x3c3a28[_0x2e4641(0x21a)],null,_0x22beba),process[_0x2e4641(0x206)](0x1)),_0x3c3a28[_0x2e4641(0x209)](_0x56c01c['statusCode'],0x190)&&(logger[_0x2e4641(0x201)](JSON[_0x2e4641(0x225)](_0x56c01c[_0x2e4641(0x1f7)])[_0x2e4641(0x219)]),await _0x3c3a28[_0x2e4641(0x1e4)](sendInstrumentationEvent,_0x22beba,_0x3c3a28[_0x2e4641(0x1fe)],messageTypes[_0x2e4641(0x1e6)],_0x3c3a28[_0x2e4641(0x23d)],null,_0x22beba),process[_0x2e4641(0x206)](0x1)),logger[_0x2e4641(0x201)](_0x2e4641(0x21e)+JSON[_0x2e4641(0x221)](_0x56c01c)),await _0x3c3a28[_0x2e4641(0x20f)](sendInstrumentationEvent,_0x22beba,_0x3c3a28['WtaKK'],messageTypes[_0x2e4641(0x1e6)],_0x3c3a28[_0x2e4641(0x227)],_0x56c01c,_0x22beba),process[_0x2e4641(0x206)](0x1);}catch(_0x5a8e24){const _0x2cbcff='Unable\x20to\x20stop\x20the\x20Grid!\x20Error:\x20'+_0x5a8e24+'\x20\x0a'+JSON[_0x2e4641(0x221)](_0x5a8e24['stack'])+'\x20';logger[_0x2e4641(0x201)](_0x2cbcff),process[_0x2e4641(0x206)](0x1);}};function a19_0x485c(){const _0x3ed8f9=['info','description','help','Stopping\x20grid\x20','33NmEBaB','gCLQh','init-not-called','body','qkTXR','desc','../../utils/webSocketUtils','gridId','5844765DPSmtn','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','WtaKK','../../utils/instrumentationUtils','7411284LvcOBt','error','<PasswordPlaceholder>','replace','readFileSync','type','exit','statusCode','33462540kPUCgl','BvngK','debug','command','gbfmH','stop','../../utils/gridComponents','iLGSo','ZeeEv','../../config/logger','HMuTR','OijvB','9cMThBb','user','../../config/constants','username','770070fQuCmO','message','ceuKg','pvJyF','Browserstack','yDnkr','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','stop-grid-called','Pass\x20the\x20ID\x20of\x20the\x20running\x20Automation\x20grid\x20you\x20want\x20to\x20stop.','stringify','dNziI','invalid-grid-id','245656hPnwch','parse','default','ILuYx','cloudProvider','../../cloudproviders/utils','1337fbgEkr','RPFPi','connectionTimeout','Adding\x20Websocket\x20listeners','BYOiL','MeGuV','password','options','TbFea','587976cCbOLY','name','STMEK','bJPvR','clusterRegion','handler','2196BFpalE','egzXt','existsSync','epilogue','zSMMU','CUwvN','../../utils/utilityMethods','Stop\x20a\x20running\x20Automation\x20grid.','kqGWb','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','INFO','Please\x20provide\x20ID\x20of\x20the\x20grid\x20to\x20stop','grid-id','server-error','clusterName','skipTlsCertVerify','sdjHE','string','ERROR','Skip\x20insecure\x20cert\x20verification.','<UsernamePlaceholder>','reconnecting-websocket','skip-tls-cert-verify','boolean','bstackUsername','../../utils/createk8sClient','lPBwC','WebSocket'];a19_0x485c=function(){return _0x3ed8f9;};return a19_0x485c();}
@@ -1 +1 @@
1
- function a20_0x5c58(){const _0x4b13b1=['connect','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','[REDACTED]','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20TurboScale.','Value','Key','WS_EVENTS','LINK_MESSAGE','azure','info','BrowserStack-Automate-TurboScale','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','REDACTED','AZURE','init','browserstack:service','grid-api.browserstack.com','UNKNOWN','\x0aThis\x20will\x20stop\x20a\x20running\x20Automation\x20grid.','217BolHZK','env','split','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','ERROR','2700nvJpuL','unknown','DEFAULT_GRID_NAME','log','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','BrowserStackIAMUser','TURBOSCALE_CUSTOM_TAGS','TURBOSCALE_DEPLOYMENT','messageTypes','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','SUPPORTED_CLOUD_PROVIDERS','wss://','cliRunFinished','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','9SaKslW','gridUrl','COMMON_HST_TAGS','global_registry','gcp','HELP_HEADER_MESSAGE','browserstack:managedBy','stop','6AZddWV','35339PPlTFt','CLI_ARGS_REGEX','NULL','WARNING','list','grid','BSTACK-ATS-CLUSTER-AUTOSCALER','CLUSTER_DEP_STACK_NAME','warning','push','IAM_USER_NAME','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','RAW_ARGS_REGEX','high-scale-grid','error','forEach','378328DuYmWB','12961320RFhons','13816aWMpsb','create','BS_API_URL','LOG','12BbvtOw','AG_API_URL','AWS','success','57438ncROjg','298852QbjugN','GCP','INFO','GRID_URL','787770pBnjEN','CP_CONFIG_FILE','config','api.browserstack.com','root','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','DASHBOARD_ENDPOINT','delete','grid.browserstack.com','BrowserStack','cliRunStarted','RESOURCES','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','credentials'];a20_0x5c58=function(){return _0x4b13b1;};return a20_0x5c58();}const a20_0x121754=a20_0x1be3;(function(_0x6366b,_0x402288){const _0x5836e2=a20_0x1be3,_0x4e41fb=_0x6366b();while(!![]){try{const _0xb61789=-parseInt(_0x5836e2(0x100))/0x1+-parseInt(_0x5836e2(0x11b))/0x2*(parseInt(_0x5836e2(0xff))/0x3)+-parseInt(_0x5836e2(0x116))/0x4*(parseInt(_0x5836e2(0x11f))/0x5)+parseInt(_0x5836e2(0x11a))/0x6*(parseInt(_0x5836e2(0x140))/0x7)+parseInt(_0x5836e2(0x110))/0x8*(parseInt(_0x5836e2(0xf7))/0x9)+parseInt(_0x5836e2(0x145))/0xa*(-parseInt(_0x5836e2(0x112))/0xb)+parseInt(_0x5836e2(0x111))/0xc;if(_0xb61789===_0x402288)break;else _0x4e41fb['push'](_0x4e41fb['shift']());}catch(_0x21b334){_0x4e41fb['push'](_0x4e41fb['shift']());}}}(a20_0x5c58,0x43eaf),require('dotenv')[a20_0x121754(0x121)](),exports[a20_0x121754(0x125)]=process[a20_0x121754(0x141)]['DASHBOARD_ENDPOINT']||a20_0x121754(0x127),exports[a20_0x121754(0x114)]=process[a20_0x121754(0x141)][a20_0x121754(0x114)]||a20_0x121754(0x122),exports[a20_0x121754(0x117)]=process[a20_0x121754(0x141)][a20_0x121754(0x117)]||a20_0x121754(0x13d),exports['WS_ENDPOINT']=a20_0x121754(0xf4)+this['AG_API_URL']+a20_0x121754(0x12b),exports[a20_0x121754(0x120)]=a20_0x121754(0x12c),exports[a20_0x121754(0x10a)]=a20_0x121754(0xee),exports[a20_0x121754(0x147)]=a20_0x121754(0x10d),exports[a20_0x121754(0x118)]='aws',exports[a20_0x121754(0x107)]='BSTACK-ATS-CLUSTER',exports['CLUSTER_AUTOSCALER_STACK_NAME']=a20_0x121754(0x106),exports[a20_0x121754(0xf0)]='browserstack-turboscale-grid',exports[a20_0x121754(0x13a)]=a20_0x121754(0x135),exports[a20_0x121754(0x11c)]=a20_0x121754(0xfb));const a20_0x502e6c={};a20_0x502e6c[a20_0x121754(0x132)]=a20_0x121754(0xfd),a20_0x502e6c[a20_0x121754(0x131)]=a20_0x121754(0x128);const a20_0x377d2a={};a20_0x377d2a[a20_0x121754(0x132)]=a20_0x121754(0x13c),a20_0x377d2a[a20_0x121754(0x131)]=a20_0x121754(0x137);const common_hst_tags_list=[a20_0x502e6c,a20_0x377d2a];if(process[a20_0x121754(0x141)][a20_0x121754(0xef)]){const parsedTags=process[a20_0x121754(0x141)][a20_0x121754(0xef)][a20_0x121754(0x142)](',');parsedTags[a20_0x121754(0x10f)](_0x35ea64=>{const _0x3de262=a20_0x121754,_0x59f9c3=_0x35ea64[_0x3de262(0x142)](':'),_0x10e8d0={};_0x10e8d0[_0x3de262(0x132)]=_0x59f9c3[0x0],_0x10e8d0[_0x3de262(0x131)]=_0x59f9c3[0x1],common_hst_tags_list[_0x3de262(0x109)](_0x10e8d0);});}exports[a20_0x121754(0xf9)]=common_hst_tags_list;const a20_0x6c4654={};a20_0x6c4654[a20_0x121754(0xfd)]=a20_0x121754(0x128),a20_0x6c4654['browserstack:service']=a20_0x121754(0x137),exports['HST_CLUSTER_TAGS']=a20_0x6c4654,exports[a20_0x121754(0xf3)]=[this[a20_0x121754(0x118)]];const a20_0x25b7a1={};a20_0x25b7a1[a20_0x121754(0x115)]=a20_0x121754(0xec),a20_0x25b7a1[a20_0x121754(0x12a)]='resourceInfo',a20_0x25b7a1[a20_0x121754(0x11e)]=a20_0x121754(0xf8),a20_0x25b7a1['CLI_RUN_STARTED']=a20_0x121754(0x129),a20_0x25b7a1['CLI_RUN_FINISHED']=a20_0x121754(0xf5),exports[a20_0x121754(0x133)]=a20_0x25b7a1,exports[a20_0x121754(0xfa)]={},exports[a20_0x121754(0x134)]='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';const a20_0x4d0837={};a20_0x4d0837[a20_0x121754(0x123)]=a20_0x121754(0xed)+this['LINK_MESSAGE'],a20_0x4d0837[a20_0x121754(0x13b)]=a20_0x121754(0x138)+this[a20_0x121754(0x134)],a20_0x4d0837['configure']=a20_0x121754(0x124)+this['LINK_MESSAGE'],a20_0x4d0837[a20_0x121754(0x113)]=a20_0x121754(0x12e)+this['LINK_MESSAGE'],a20_0x4d0837[a20_0x121754(0x104)]={},a20_0x4d0837[a20_0x121754(0x126)]=a20_0x121754(0x10b)+this[a20_0x121754(0x134)],a20_0x4d0837[a20_0x121754(0x12d)]=a20_0x121754(0x143)+this['LINK_MESSAGE'],a20_0x4d0837['start']='\x0aThis\x20will\x20start\x20an\x20existing\x20Automation\x20grid.'+this[a20_0x121754(0x134)],a20_0x4d0837[a20_0x121754(0xfe)]=a20_0x121754(0x13f)+this[a20_0x121754(0x134)],a20_0x4d0837[a20_0x121754(0x104)]['root']=a20_0x121754(0x130)+this['LINK_MESSAGE'],a20_0x4d0837[a20_0x121754(0x104)][a20_0x121754(0x105)]=a20_0x121754(0xf2)+this['LINK_MESSAGE'],a20_0x4d0837[a20_0x121754(0x104)]['gridProfile']=a20_0x121754(0xf6)+this[a20_0x121754(0x134)],exports[a20_0x121754(0xfc)]=a20_0x4d0837,exports['HELP_FOOTER_MESSAGE']='Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20TurboScale.';const a20_0x501ab8={};function a20_0x1be3(_0x582330,_0x28a629){const _0x5c581f=a20_0x5c58();return a20_0x1be3=function(_0x1be371,_0x42d42b){_0x1be371=_0x1be371-0xec;let _0x5a118f=_0x5c581f[_0x1be371];return _0x5a118f;},a20_0x1be3(_0x582330,_0x28a629);}a20_0x501ab8['SUCCESS']=a20_0x121754(0x119),a20_0x501ab8[a20_0x121754(0x144)]=a20_0x121754(0x10e),a20_0x501ab8[a20_0x121754(0x11d)]=a20_0x121754(0x136),a20_0x501ab8[a20_0x121754(0x103)]=a20_0x121754(0x108),a20_0x501ab8[a20_0x121754(0x13e)]=a20_0x121754(0x146),a20_0x501ab8[a20_0x121754(0x102)]=null,exports[a20_0x121754(0xf1)]=a20_0x501ab8,exports[a20_0x121754(0x101)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a20_0x121754(0x10c)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a20_0x121754(0x139)]=a20_0x121754(0x12f);
1
+ const a20_0xb0dd28=a20_0x34a1;(function(_0x1d582e,_0x214af8){const _0x1d312d=a20_0x34a1,_0x271e02=_0x1d582e();while(!![]){try{const _0x565e5e=parseInt(_0x1d312d(0x1e3))/0x1*(-parseInt(_0x1d312d(0x1ff))/0x2)+parseInt(_0x1d312d(0x219))/0x3*(-parseInt(_0x1d312d(0x20e))/0x4)+-parseInt(_0x1d312d(0x205))/0x5*(-parseInt(_0x1d312d(0x229))/0x6)+-parseInt(_0x1d312d(0x1e4))/0x7+-parseInt(_0x1d312d(0x1dd))/0x8+-parseInt(_0x1d312d(0x226))/0x9*(parseInt(_0x1d312d(0x1df))/0xa)+parseInt(_0x1d312d(0x22a))/0xb;if(_0x565e5e===_0x214af8)break;else _0x271e02['push'](_0x271e02['shift']());}catch(_0x7b20d1){_0x271e02['push'](_0x271e02['shift']());}}}(a20_0x40fb,0xba58d),require('dotenv')[a20_0xb0dd28(0x1d8)](),exports[a20_0xb0dd28(0x22f)]=process[a20_0xb0dd28(0x1f8)][a20_0xb0dd28(0x22f)]||a20_0xb0dd28(0x220),exports[a20_0xb0dd28(0x224)]=process[a20_0xb0dd28(0x1f8)][a20_0xb0dd28(0x224)]||a20_0xb0dd28(0x20d),exports[a20_0xb0dd28(0x1f4)]=process[a20_0xb0dd28(0x1f8)][a20_0xb0dd28(0x1f4)]||a20_0xb0dd28(0x1fc),exports[a20_0xb0dd28(0x21b)]=a20_0xb0dd28(0x21a)+this[a20_0xb0dd28(0x1f4)]+a20_0xb0dd28(0x20f),exports[a20_0xb0dd28(0x1d9)]=a20_0xb0dd28(0x218),exports[a20_0xb0dd28(0x1e2)]='BrowserStackIAMUser',exports[a20_0xb0dd28(0x206)]=a20_0xb0dd28(0x1e6),exports[a20_0xb0dd28(0x200)]=a20_0xb0dd28(0x1e5),exports[a20_0xb0dd28(0x1fb)]=a20_0xb0dd28(0x225),exports[a20_0xb0dd28(0x217)]=a20_0xb0dd28(0x1f1),exports[a20_0xb0dd28(0x228)]=a20_0xb0dd28(0x227),exports['AZURE']='azure',exports[a20_0xb0dd28(0x201)]='gcp');const a20_0x5410c5={};a20_0x5410c5[a20_0xb0dd28(0x20b)]=a20_0xb0dd28(0x1f6),a20_0x5410c5[a20_0xb0dd28(0x223)]='BrowserStack';const a20_0x39964f={};a20_0x39964f[a20_0xb0dd28(0x20b)]='browserstack:service',a20_0x39964f[a20_0xb0dd28(0x223)]='BrowserStack-Automate-TurboScale';function a20_0x40fb(){const _0x9a2e4b=['2799hIdsAT','browserstack-turboscale-grid','TURBOSCALE_DEPLOYMENT','102LhNNZp','43138810lCYwUb','LINK_MESSAGE','\x0aThis\x20will\x20stop\x20a\x20running\x20Automation\x20grid.','WS_EVENTS','UNKNOWN','DASHBOARD_ENDPOINT','config','CP_CONFIG_FILE','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20TurboScale.','error','HELP_HEADER_MESSAGE','9383664fzKaGj','RAW_ARGS_REGEX','29530QSftuD','success','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','IAM_USER_NAME','1mabSzQ','2887311Tgggzw','aws','high-scale-grid','resourceInfo','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20TurboScale.','[REDACTED]','init','GRID_URL','cliRunStarted','RESOURCES','ERROR','delete','TURBOSCALE_CUSTOM_TAGS','BSTACK-ATS-CLUSTER-AUTOSCALER','root','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','AG_API_URL','list','browserstack:managedBy','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','env','CLI_RUN_STARTED','SUPPORTED_CLOUD_PROVIDERS','CLUSTER_DEP_STACK_NAME','grid-api.browserstack.com','BrowserStack','LOG','2137648ZXNJfy','AWS','GCP','WARNING','forEach','gridUrl','268390ELwcgN','DEFAULT_GRID_NAME','NULL','global_registry','log','create','Key','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','api.browserstack.com','4KpkSPJ','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','CLI_ARGS_REGEX','grid','connect','REDACTED','push','split','\x0aThis\x20will\x20start\x20an\x20existing\x20Automation\x20grid.','CLUSTER_AUTOSCALER_STACK_NAME','credentials','1494963wZGujp','wss://','WS_ENDPOINT','cliRunFinished','COMMON_HST_TAGS','BrowserStack-Automate-TurboScale','unknown','grid.browserstack.com','SUCCESS','configure','Value','BS_API_URL','BSTACK-ATS-CLUSTER'];a20_0x40fb=function(){return _0x9a2e4b;};return a20_0x40fb();}const common_hst_tags_list=[a20_0x5410c5,a20_0x39964f];if(process['env'][a20_0xb0dd28(0x1f0)]){const parsedTags=process[a20_0xb0dd28(0x1f8)][a20_0xb0dd28(0x1f0)][a20_0xb0dd28(0x215)](',');parsedTags[a20_0xb0dd28(0x203)](_0x1c7c19=>{const _0x41d03c=a20_0xb0dd28,_0x548c6d=_0x1c7c19[_0x41d03c(0x215)](':'),_0x2f294e={};_0x2f294e[_0x41d03c(0x20b)]=_0x548c6d[0x0],_0x2f294e[_0x41d03c(0x223)]=_0x548c6d[0x1],common_hst_tags_list[_0x41d03c(0x214)](_0x2f294e);});}function a20_0x34a1(_0x47f1f4,_0x128ee5){const _0x40fbb5=a20_0x40fb();return a20_0x34a1=function(_0x34a19f,_0x123765){_0x34a19f=_0x34a19f-0x1d8;let _0x20ccc7=_0x40fbb5[_0x34a19f];return _0x20ccc7;},a20_0x34a1(_0x47f1f4,_0x128ee5);}exports[a20_0xb0dd28(0x21d)]=common_hst_tags_list;const a20_0x2fbbab={};a20_0x2fbbab[a20_0xb0dd28(0x1f6)]=a20_0xb0dd28(0x1fd),a20_0x2fbbab['browserstack:service']=a20_0xb0dd28(0x21e),exports['HST_CLUSTER_TAGS']=a20_0x2fbbab,exports[a20_0xb0dd28(0x1fa)]=[this[a20_0xb0dd28(0x200)]];const a20_0x4e5aee={};a20_0x4e5aee[a20_0xb0dd28(0x1fe)]=a20_0xb0dd28(0x209),a20_0x4e5aee[a20_0xb0dd28(0x1ed)]=a20_0xb0dd28(0x1e7),a20_0x4e5aee[a20_0xb0dd28(0x1eb)]=a20_0xb0dd28(0x204),a20_0x4e5aee[a20_0xb0dd28(0x1f9)]=a20_0xb0dd28(0x1ec),a20_0x4e5aee['CLI_RUN_FINISHED']=a20_0xb0dd28(0x21c),exports[a20_0xb0dd28(0x22d)]=a20_0x4e5aee,exports[a20_0xb0dd28(0x208)]={},exports[a20_0xb0dd28(0x22b)]='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';const a20_0x1a3c79={};a20_0x1a3c79[a20_0xb0dd28(0x1f2)]=a20_0xb0dd28(0x1e1)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x1ea)]=a20_0xb0dd28(0x1f3)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x222)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.'+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x20a)]='\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.'+this['LINK_MESSAGE'],a20_0x1a3c79[a20_0xb0dd28(0x1f5)]={},a20_0x1a3c79[a20_0xb0dd28(0x1ef)]='\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.'+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x212)]='\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.'+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79['start']=a20_0xb0dd28(0x216)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79['stop']=a20_0xb0dd28(0x22c)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x1f5)]['root']=a20_0xb0dd28(0x1e8)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x1f5)][a20_0xb0dd28(0x211)]=a20_0xb0dd28(0x1f7)+this[a20_0xb0dd28(0x22b)],a20_0x1a3c79[a20_0xb0dd28(0x1f5)]['gridProfile']=a20_0xb0dd28(0x20c)+this[a20_0xb0dd28(0x22b)],exports[a20_0xb0dd28(0x1dc)]=a20_0x1a3c79,exports['HELP_FOOTER_MESSAGE']=a20_0xb0dd28(0x1da);const a20_0x5448f6={};a20_0x5448f6[a20_0xb0dd28(0x221)]=a20_0xb0dd28(0x1e0),a20_0x5448f6[a20_0xb0dd28(0x1ee)]=a20_0xb0dd28(0x1db),a20_0x5448f6['INFO']='info',a20_0x5448f6[a20_0xb0dd28(0x202)]='warning',a20_0x5448f6[a20_0xb0dd28(0x22e)]=a20_0xb0dd28(0x21f),a20_0x5448f6[a20_0xb0dd28(0x207)]=null,exports['messageTypes']=a20_0x5448f6,exports[a20_0xb0dd28(0x210)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a20_0xb0dd28(0x1de)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a20_0xb0dd28(0x213)]=a20_0xb0dd28(0x1e9);
@@ -1 +1 @@
1
- const a21_0x1314e7=a21_0x2ad4;function a21_0x10e2(){const _0x1d9e0f=['175147UllNSc','6aHNjAl','16635ZYJyzP','80GEnzkc','20197236beKTuR','usage.log','YYYY-MM-DD\x20HH:mm:ss','debug','logger','log','\x20-\x20','22751eKeEwl','path','name','Console','console.info','6kZPvNs','12771243wGvDWM','level','join','events.log','existsSync','createLogger','6185850YWdura','timestamp','File','colorize','format','11ijxIEj','7840090FhPOVm','transports','message','combine','724mScknW','mkdirSync'];a21_0x10e2=function(){return _0x1d9e0f;};return a21_0x10e2();}(function(_0x4c0d74,_0x36330a){const _0x26c50d=a21_0x2ad4,_0x18057f=_0x4c0d74();while(!![]){try{const _0x1abcb2=-parseInt(_0x26c50d(0xd7))/0x1*(parseInt(_0x26c50d(0xdc))/0x2)+-parseInt(_0x26c50d(0xce))/0x3*(parseInt(_0x26c50d(0xca))/0x4)+-parseInt(_0x26c50d(0xc6))/0x5*(parseInt(_0x26c50d(0xcd))/0x6)+-parseInt(_0x26c50d(0xcc))/0x7*(parseInt(_0x26c50d(0xcf))/0x8)+parseInt(_0x26c50d(0xdd))/0x9+parseInt(_0x26c50d(0xe3))/0xa+-parseInt(_0x26c50d(0xc5))/0xb*(-parseInt(_0x26c50d(0xd0))/0xc);if(_0x1abcb2===_0x36330a)break;else _0x18057f['push'](_0x18057f['shift']());}catch(_0x248caa){_0x18057f['push'](_0x18057f['shift']());}}}(a21_0x10e2,0xcac7d));const winston=require('winston'),fs=require('fs'),path=require(a21_0x1314e7(0xd8)),logDir=a21_0x1314e7(0xd5);!fs[a21_0x1314e7(0xe1)](logDir)&&fs[a21_0x1314e7(0xcb)](logDir);const a21_0x2d6e03={};a21_0x2d6e03['format']=a21_0x1314e7(0xd2);const a21_0x2f40fc={};function a21_0x2ad4(_0x3083dd,_0x296c79){const _0x10e2f3=a21_0x10e2();return a21_0x2ad4=function(_0x2ad4d5,_0x497c6e){_0x2ad4d5=_0x2ad4d5-0xc3;let _0x2ac3d2=_0x10e2f3[_0x2ad4d5];return _0x2ac3d2;},a21_0x2ad4(_0x3083dd,_0x296c79);}a21_0x2f40fc[a21_0x1314e7(0xde)]=!![];const a21_0x5ecc90={};a21_0x5ecc90[a21_0x1314e7(0xd9)]=a21_0x1314e7(0xdb),exports[a21_0x1314e7(0xd4)]=new winston[(a21_0x1314e7(0xe2))]({'format':winston['format'][a21_0x1314e7(0xc9)](winston[a21_0x1314e7(0xc4)][a21_0x1314e7(0xe4)](a21_0x2d6e03),winston[a21_0x1314e7(0xc4)][a21_0x1314e7(0xc3)](a21_0x2f40fc),winston[a21_0x1314e7(0xc4)]['printf'](_0x11810c=>_0x11810c['timestamp']+a21_0x1314e7(0xd6)+_0x11810c[a21_0x1314e7(0xde)]+':\x20'+_0x11810c[a21_0x1314e7(0xc8)])),'transports':[new winston[(a21_0x1314e7(0xc7))][(a21_0x1314e7(0xda))](a21_0x5ecc90),new winston[(a21_0x1314e7(0xc7))][(a21_0x1314e7(0xe5))]({'filename':path[a21_0x1314e7(0xdf)](logDir,a21_0x1314e7(0xe0)),'level':a21_0x1314e7(0xd3)})]});const winstonFileLoggerParams={'transports':[new winston[(a21_0x1314e7(0xc7))]['File']({'filename':path[a21_0x1314e7(0xdf)](logDir,a21_0x1314e7(0xd1)),'level':a21_0x1314e7(0xd3)})]};exports['fileLogger']=new winston[(a21_0x1314e7(0xe2))](winstonFileLoggerParams);
1
+ const a21_0x2fa2c1=a21_0x3001;(function(_0x99a824,_0x541c9e){const _0x1f6af0=a21_0x3001,_0x3b89df=_0x99a824();while(!![]){try{const _0x2a22e0=-parseInt(_0x1f6af0(0x1b4))/0x1*(-parseInt(_0x1f6af0(0x1b3))/0x2)+parseInt(_0x1f6af0(0x1b0))/0x3+parseInt(_0x1f6af0(0x1a8))/0x4*(parseInt(_0x1f6af0(0x1b6))/0x5)+parseInt(_0x1f6af0(0x1bc))/0x6*(-parseInt(_0x1f6af0(0x1a1))/0x7)+-parseInt(_0x1f6af0(0x19f))/0x8*(parseInt(_0x1f6af0(0x1b9))/0x9)+parseInt(_0x1f6af0(0x1ba))/0xa+-parseInt(_0x1f6af0(0x1b2))/0xb;if(_0x2a22e0===_0x541c9e)break;else _0x3b89df['push'](_0x3b89df['shift']());}catch(_0x597204){_0x3b89df['push'](_0x3b89df['shift']());}}}(a21_0x3289,0x60b1f));const winston=require(a21_0x2fa2c1(0x1a0)),fs=require('fs'),path=require(a21_0x2fa2c1(0x1ad)),logDir='log';!fs['existsSync'](logDir)&&fs[a21_0x2fa2c1(0x1a9)](logDir);const a21_0x2f44ea={};a21_0x2f44ea[a21_0x2fa2c1(0x1a7)]=a21_0x2fa2c1(0x1b1);const a21_0x40b257={};a21_0x40b257[a21_0x2fa2c1(0x1b5)]=!![];const a21_0x4c9b06={};function a21_0x3289(){const _0x408b23=['Console','\x20-\x20','join','format','40pTRBFg','mkdirSync','console.info','logger','File','path','createLogger','message','1685277awZrSg','YYYY-MM-DD\x20HH:mm:ss','508310DLqwqP','14bletom','30867hnwBZr','level','60100mMHIge','colorize','usage.log','9eATfHT','3955500pVzrrw','printf','6GPEChF','debug','timestamp','2440216amtuLA','winston','3823946kBebga','fileLogger','transports'];a21_0x3289=function(){return _0x408b23;};return a21_0x3289();}function a21_0x3001(_0x581a29,_0x1dd499){const _0x3289af=a21_0x3289();return a21_0x3001=function(_0x3001b9,_0x441484){_0x3001b9=_0x3001b9-0x19d;let _0x2ad7fe=_0x3289af[_0x3001b9];return _0x2ad7fe;},a21_0x3001(_0x581a29,_0x1dd499);}a21_0x4c9b06['name']=a21_0x2fa2c1(0x1aa),exports[a21_0x2fa2c1(0x1ab)]=new winston[(a21_0x2fa2c1(0x1ae))]({'format':winston[a21_0x2fa2c1(0x1a7)]['combine'](winston[a21_0x2fa2c1(0x1a7)][a21_0x2fa2c1(0x19e)](a21_0x2f44ea),winston[a21_0x2fa2c1(0x1a7)][a21_0x2fa2c1(0x1b7)](a21_0x40b257),winston[a21_0x2fa2c1(0x1a7)][a21_0x2fa2c1(0x1bb)](_0x1ce70e=>_0x1ce70e['timestamp']+a21_0x2fa2c1(0x1a5)+_0x1ce70e['level']+':\x20'+_0x1ce70e[a21_0x2fa2c1(0x1af)])),'transports':[new winston[(a21_0x2fa2c1(0x1a3))][(a21_0x2fa2c1(0x1a4))](a21_0x4c9b06),new winston[(a21_0x2fa2c1(0x1a3))][(a21_0x2fa2c1(0x1ac))]({'filename':path[a21_0x2fa2c1(0x1a6)](logDir,'events.log'),'level':a21_0x2fa2c1(0x19d)})]});const winstonFileLoggerParams={'transports':[new winston[(a21_0x2fa2c1(0x1a3))][(a21_0x2fa2c1(0x1ac))]({'filename':path[a21_0x2fa2c1(0x1a6)](logDir,a21_0x2fa2c1(0x1b8)),'level':'debug'})]};exports[a21_0x2fa2c1(0x1a2)]=new winston[(a21_0x2fa2c1(0x1ae))](winstonFileLoggerParams);
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a22_0x2b5010=a22_0x2ee9;function a22_0x5145(){const _0x4a5bc8=['1324184sQKXdt','11032960sCScmz','./config/constants','24soJaNn','help','1608165FjRbzo','commandDir','426272eNkEHE','commands','root','env','iKUMl','65997FOFssu','713922dShVKg','demandCommand','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','xoKZP','2518005AwYDHv','exports','usage','epilogue'];a22_0x5145=function(){return _0x4a5bc8;};return a22_0x5145();}(function(_0x55c817,_0x565718){const _0x40e407=a22_0x2ee9,_0x1ea130=_0x55c817();while(!![]){try{const _0x2bac3a=-parseInt(_0x40e407(0xf3))/0x1+parseInt(_0x40e407(0xef))/0x2*(-parseInt(_0x40e407(0xf8))/0x3)+parseInt(_0x40e407(0x101))/0x4+-parseInt(_0x40e407(0xf1))/0x5+-parseInt(_0x40e407(0xf9))/0x6+-parseInt(_0x40e407(0xfd))/0x7+parseInt(_0x40e407(0xed))/0x8;if(_0x2bac3a===_0x565718)break;else _0x1ea130['push'](_0x1ea130['shift']());}catch(_0x42aad4){_0x1ea130['push'](_0x1ea130['shift']());}}}(a22_0x5145,0x359b3));function a22_0x2ee9(_0x5255e5,_0x59841e){const _0x5145cc=a22_0x5145();return a22_0x2ee9=function(_0x2ee9fe,_0x1c9787){_0x2ee9fe=_0x2ee9fe-0xed;let _0x1649fd=_0x5145cc[_0x2ee9fe];return _0x1649fd;},a22_0x2ee9(_0x5255e5,_0x59841e);}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a22_0x2b5010(0xee));process[a22_0x2b5010(0xf6)][a22_0x2b5010(0xfb)]=0x1;function run(_0x102e2f){const _0x407317=a22_0x2b5010,_0x29395a={};_0x29395a[_0x407317(0xf7)]=_0x407317(0xf4),_0x29395a[_0x407317(0xfc)]=_0x407317(0xf0);const _0x43939b=_0x29395a;_0x102e2f[_0x407317(0xff)](HELP_HEADER_MESSAGE[_0x407317(0xf5)])[_0x407317(0xf2)](_0x43939b[_0x407317(0xf7)])[_0x407317(0xfa)]()['help'](_0x43939b['xoKZP'])[_0x407317(0x100)](HELP_FOOTER_MESSAGE);}module[a22_0x2b5010(0xfe)]=run;
2
+ 'use strict';function a22_0x12e2(){const _0x133d5d=['iVqvB','11604357sVNVRk','7cwJomi','8rRKoFD','1634286wgkHDn','4GBWbqB','4640525HkGhui','exports','37037fVgIhG','NdEiT','12328480qFKapY','commandDir','epilogue','help','1188RwAKov','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','7426182jxxTVj','./config/constants','2FChjso','env','usage','705101drtNRp'];a22_0x12e2=function(){return _0x133d5d;};return a22_0x12e2();}const a22_0xfe69a4=a22_0x39d1;(function(_0xa1581a,_0x1d2a96){const _0x70224d=a22_0x39d1,_0x243911=_0xa1581a();while(!![]){try{const _0x5eb2e5=parseInt(_0x70224d(0x89))/0x1*(parseInt(_0x70224d(0x86))/0x2)+parseInt(_0x70224d(0x8e))/0x3+-parseInt(_0x70224d(0x8f))/0x4*(-parseInt(_0x70224d(0x90))/0x5)+-parseInt(_0x70224d(0x9a))/0x6*(parseInt(_0x70224d(0x8c))/0x7)+-parseInt(_0x70224d(0x8d))/0x8*(-parseInt(_0x70224d(0x8b))/0x9)+-parseInt(_0x70224d(0x94))/0xa+parseInt(_0x70224d(0x92))/0xb*(-parseInt(_0x70224d(0x98))/0xc);if(_0x5eb2e5===_0x1d2a96)break;else _0x243911['push'](_0x243911['shift']());}catch(_0xdbb894){_0x243911['push'](_0x243911['shift']());}}}(a22_0x12e2,0xa1fa7));function a22_0x39d1(_0x41e1e5,_0x22414b){const _0x12e225=a22_0x12e2();return a22_0x39d1=function(_0x39d1b5,_0xcae30){_0x39d1b5=_0x39d1b5-0x86;let _0x36ab60=_0x12e225[_0x39d1b5];return _0x36ab60;},a22_0x39d1(_0x41e1e5,_0x22414b);}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a22_0xfe69a4(0x9b));process[a22_0xfe69a4(0x87)][a22_0xfe69a4(0x99)]=0x1;function run(_0xb78ee4){const _0x7db9b2=a22_0xfe69a4,_0x4e6f9b={};_0x4e6f9b[_0x7db9b2(0x93)]='commands',_0x4e6f9b[_0x7db9b2(0x8a)]=_0x7db9b2(0x97);const _0x3d4acd=_0x4e6f9b;_0xb78ee4[_0x7db9b2(0x88)](HELP_HEADER_MESSAGE['root'])[_0x7db9b2(0x95)](_0x3d4acd['NdEiT'])['demandCommand']()['help'](_0x3d4acd[_0x7db9b2(0x8a)])[_0x7db9b2(0x96)](HELP_FOOTER_MESSAGE);}module[a22_0xfe69a4(0x91)]=run;
@@ -1 +1 @@
1
- const a23_0x3b5ca3=a23_0x2d7b;(function(_0x527d3e,_0x394571){const _0x49f9b8=a23_0x2d7b,_0x4b926f=_0x527d3e();while(!![]){try{const _0x228f05=parseInt(_0x49f9b8(0x188))/0x1+-parseInt(_0x49f9b8(0x172))/0x2+parseInt(_0x49f9b8(0x1bb))/0x3*(parseInt(_0x49f9b8(0x1b5))/0x4)+-parseInt(_0x49f9b8(0x13b))/0x5*(-parseInt(_0x49f9b8(0x1c4))/0x6)+parseInt(_0x49f9b8(0x192))/0x7+-parseInt(_0x49f9b8(0x193))/0x8+-parseInt(_0x49f9b8(0x1a1))/0x9*(parseInt(_0x49f9b8(0x14d))/0xa);if(_0x228f05===_0x394571)break;else _0x4b926f['push'](_0x4b926f['shift']());}catch(_0x184a36){_0x4b926f['push'](_0x4b926f['shift']());}}}(a23_0x2902,0x1da7e));const awsSDK=require(a23_0x3b5ca3(0x1ad)),{logger}=require('../config/logger');exports['fetchVPCs']=_0x50613c=>{const _0x17549e=a23_0x3b5ca3,_0xd8d511={'gvxxV':function(_0x2a8b60,_0x390ffc){return _0x2a8b60(_0x390ffc);},'baKZv':_0x17549e(0x152),'UAbdi':function(_0x9af3de,_0x357939){return _0x9af3de===_0x357939;},'GoYVS':_0x17549e(0x154),'kvaLR':function(_0x4b760c,_0x56a3dd){return _0x4b760c(_0x56a3dd);},'cLZUr':_0x17549e(0x149),'CfFbh':'irnFK','YLMrr':_0x17549e(0x1ba)};return new Promise((_0x2128e3,_0xdd9935)=>{const _0x308a8c=_0x17549e,_0xfb7e8={'xGbxQ':function(_0x279995,_0x124122){return _0xd8d511['gvxxV'](_0x279995,_0x124122);},'JthDQ':function(_0x57d0ca,_0x151d1f){const _0x40b0db=a23_0x2d7b;return _0xd8d511[_0x40b0db(0x185)](_0x57d0ca,_0x151d1f);},'xWSYf':_0xd8d511[_0x308a8c(0x14c)],'smObb':function(_0x4f0eba,_0x371283){const _0x424c03=_0x308a8c;return _0xd8d511[_0x424c03(0x1c3)](_0x4f0eba,_0x371283);},'QwbHC':_0xd8d511[_0x308a8c(0x142)],'VmJwi':function(_0x5c3bbd,_0x15e5c3){return _0xd8d511['kvaLR'](_0x5c3bbd,_0x15e5c3);},'SyzRc':_0xd8d511[_0x308a8c(0x1ae)]};if(_0xd8d511[_0x308a8c(0x1c3)](_0xd8d511[_0x308a8c(0x1b4)],_0xd8d511['YLMrr']))_0xfb7e8[_0x308a8c(0x1cd)](_0x2c2b47,{});else{const _0x38d794={};_0x38d794['apiVersion']=_0xd8d511[_0x308a8c(0x14c)],_0x38d794[_0x308a8c(0x15c)]=_0x50613c;const _0x5e9d7e=new awsSDK[(_0x308a8c(0x15e))](_0x38d794);_0x5e9d7e[_0x308a8c(0x15b)]()['promise']()['then'](_0x417807=>{const _0x3bed07=_0x308a8c,_0x2c2fc8={};_0x2c2fc8[_0x3bed07(0x1c2)]=_0xfb7e8[_0x3bed07(0x1b0)];const _0x1dfc01=_0x2c2fc8;if(_0xfb7e8[_0x3bed07(0x17b)](_0xfb7e8[_0x3bed07(0x16a)],_0xfb7e8[_0x3bed07(0x16a)]))_0xfb7e8['VmJwi'](_0x2128e3,_0x417807);else{const _0x4e5e5c={'qfaOo':function(_0x597afc,_0x4fb8a2){const _0x54af50=_0x3bed07;return _0xfb7e8[_0x54af50(0x16f)](_0x597afc,_0x4fb8a2);},'cMBTN':function(_0xd9d89b,_0x4b6d68){const _0x47a130=_0x3bed07;return _0xfb7e8[_0x47a130(0x16f)](_0xd9d89b,_0x4b6d68);}};return new _0x3bdf3c((_0x3fbf67,_0x59c2d7)=>{const _0x1eff57=_0x3bed07,_0x4defb5={};_0x4defb5['apiVersion']=_0x1dfc01[_0x1eff57(0x1c2)],_0x4defb5['region']=_0x5bb8d6;const _0x59b0d2=new _0x2022c8[(_0x1eff57(0x15e))](_0x4defb5);_0x59b0d2[_0x1eff57(0x1bf)]()[_0x1eff57(0x1ca)]()[_0x1eff57(0x1b9)](_0x3d0834=>{_0x4e5e5c['qfaOo'](_0x3fbf67,_0x3d0834);})[_0x1eff57(0x180)](_0x13f0af=>{_0x1e4e4b['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x13f0af),_0x4e5e5c['cMBTN'](_0x59c2d7,_0x13f0af);});});}})[_0x308a8c(0x180)](_0x1512d3=>{const _0x384532=_0x308a8c,_0x1d3fd2={'oVxub':function(_0x39a4df,_0x56bce0){const _0x262536=a23_0x2d7b;return _0xfb7e8[_0x262536(0x16f)](_0x39a4df,_0x56bce0);}};_0xfb7e8[_0x384532(0x17b)](_0xfb7e8[_0x384532(0x18f)],_0xfb7e8[_0x384532(0x18f)])?(logger[_0x384532(0x1ce)](_0x384532(0x194)+_0x1512d3),_0xfb7e8[_0x384532(0x16f)](_0xdd9935,_0x1512d3)):(_0x1dfcbd['error'](_0x384532(0x151)+_0x4bbbaf),_0x1d3fd2[_0x384532(0x18e)](_0x46321f,_0x42d1f0));});}});},exports[a23_0x3b5ca3(0x1cc)]=_0x1a2c7a=>{const _0x2fd409=a23_0x3b5ca3,_0x50736b={'sIGNz':function(_0x3e2bf7,_0x456efa){return _0x3e2bf7(_0x456efa);},'zTWFt':_0x2fd409(0x152),'PiTdB':function(_0x2e35d3,_0x3b1803){return _0x2e35d3===_0x3b1803;},'CiPEC':_0x2fd409(0x141),'pIXNL':function(_0x21cf93,_0x57154a){return _0x21cf93(_0x57154a);},'qydTu':function(_0x10e1d9,_0x348996){return _0x10e1d9(_0x348996);},'LWTtV':function(_0x225319,_0x3203c6){return _0x225319(_0x3203c6);},'RwrOE':function(_0x27d94f,_0x1576a2){return _0x27d94f!==_0x1576a2;},'mIClr':_0x2fd409(0x14e),'sbEEp':'kithc','CnylX':_0x2fd409(0x14f),'ntkHV':_0x2fd409(0x13d)},_0xe741ca=new awsSDK['S3']();return new Promise((_0x469518,_0x1161cd)=>{const _0x29c1d4=_0x2fd409,_0x20b9f4={'eATIu':function(_0x51a77c,_0x11c105){const _0xd2487d=a23_0x2d7b;return _0x50736b[_0xd2487d(0x15f)](_0x51a77c,_0x11c105);},'xdLyl':function(_0x52bfc9,_0x1adaed){const _0x1ecbdb=a23_0x2d7b;return _0x50736b[_0x1ecbdb(0x158)](_0x52bfc9,_0x1adaed);},'mzvut':_0x50736b['zTWFt'],'msoij':function(_0x2bebe3,_0xe141f){const _0x42b72d=a23_0x2d7b;return _0x50736b[_0x42b72d(0x14b)](_0x2bebe3,_0xe141f);},'DMVxm':_0x50736b[_0x29c1d4(0x164)],'dbMUd':_0x50736b[_0x29c1d4(0x177)]};if(_0x50736b[_0x29c1d4(0x1a5)](_0x50736b[_0x29c1d4(0x163)],_0x50736b[_0x29c1d4(0x1a0)]))_0x1bf755[_0x29c1d4(0x16b)]('Bucket:\x20'+_0x557dbd+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x20b9f4[_0x29c1d4(0x17f)](_0x4c6762,!![]);else{const _0x200595={};_0x200595[_0x29c1d4(0x17c)]=_0x1a2c7a,_0xe741ca[_0x29c1d4(0x140)](_0x200595)['promise']()[_0x29c1d4(0x1b9)](_0x1b9e14=>{const _0x35bc47=_0x29c1d4,_0x111de7={'CUiNK':function(_0x66cb63,_0x559b46){const _0x3c141b=a23_0x2d7b;return _0x50736b[_0x3c141b(0x19f)](_0x66cb63,_0x559b46);},'PElfP':_0x50736b[_0x35bc47(0x1a9)]};if(_0x50736b[_0x35bc47(0x1a5)](_0x50736b[_0x35bc47(0x197)],_0x50736b[_0x35bc47(0x197)]))logger['warn'](_0x35bc47(0x155)+_0x1a2c7a+_0x35bc47(0x147)),_0x50736b[_0x35bc47(0x1ac)](_0x469518,!![]);else{const _0x432de1={'KKbYA':function(_0x4481cc,_0x464124){const _0x5cf9fa=_0x35bc47;return _0x111de7[_0x5cf9fa(0x1c8)](_0x4481cc,_0x464124);},'kKxan':_0x111de7[_0x35bc47(0x157)]};return new _0xe3c21e((_0x5e7cd2,_0x4a51d6)=>{const _0x107eb0=_0x35bc47,_0x3b0bd1={'xbpOH':function(_0x1d13eb,_0x5dfb2a){const _0x247ec1=a23_0x2d7b;return _0x432de1[_0x247ec1(0x15d)](_0x1d13eb,_0x5dfb2a);}},_0x57bbcf={};_0x57bbcf['apiVersion']=_0x432de1[_0x107eb0(0x199)],_0x57bbcf[_0x107eb0(0x15c)]=_0x3ff03c;const _0x48d70a=new _0x175849[(_0x107eb0(0x15e))](_0x57bbcf);_0x48d70a[_0x107eb0(0x173)]()[_0x107eb0(0x1ca)]()['then'](_0x191b23=>{_0x3b0bd1['xbpOH'](_0x5e7cd2,_0x191b23);})[_0x107eb0(0x180)](_0x3e5075=>{const _0x322b66=_0x107eb0;_0x37ef8c['error'](_0x322b66(0x1cf)+_0x3e5075),_0x432de1[_0x322b66(0x15d)](_0x4a51d6,_0x3e5075);});});}})[_0x29c1d4(0x180)](()=>{const _0x3e0da7=_0x29c1d4,_0x5a845a={'OixhQ':function(_0x5ec7ff,_0x443731){const _0x2bb821=a23_0x2d7b;return _0x20b9f4[_0x2bb821(0x1c9)](_0x5ec7ff,_0x443731);},'VtPdx':_0x20b9f4[_0x3e0da7(0x187)]};if(_0x20b9f4['msoij'](_0x20b9f4[_0x3e0da7(0x1a7)],_0x20b9f4['dbMUd']))logger[_0x3e0da7(0x18d)](_0x3e0da7(0x155)+_0x1a2c7a+_0x3e0da7(0x1b8)),_0x20b9f4['eATIu'](_0x469518,![]);else{const _0x45f549={'dfrfW':function(_0x8cec6e,_0x3be781){return _0x5a845a['OixhQ'](_0x8cec6e,_0x3be781);}},_0x343420={};_0x343420[_0x3e0da7(0x1b2)]=_0x5a845a[_0x3e0da7(0x146)],_0x343420[_0x3e0da7(0x15c)]=_0x1c9080;const _0x5d9422=new _0x5d179b[(_0x3e0da7(0x15e))](_0x343420);_0x5d9422['describeVpcs']()[_0x3e0da7(0x1ca)]()[_0x3e0da7(0x1b9)](_0x1a65dd=>{_0x45f549['dfrfW'](_0x5a35b2,_0x1a65dd);})['catch'](_0x557738=>{const _0x503c77=_0x3e0da7;_0x58e1cd['error'](_0x503c77(0x194)+_0x557738),_0x45f549[_0x503c77(0x175)](_0x22f4a6,_0x557738);});}});}});},exports[a23_0x3b5ca3(0x1be)]=_0x23753c=>{const _0x119755=a23_0x3b5ca3,_0x241a7b={'XlgLu':function(_0x41bc68,_0x4b5230){return _0x41bc68!==_0x4b5230;},'WMbys':_0x119755(0x1cb),'uRifk':function(_0xbf7580,_0x5acce4){return _0xbf7580(_0x5acce4);},'kJVgo':function(_0x58227b,_0x239af0){return _0x58227b!==_0x239af0;},'gVzqw':function(_0x4800cb,_0x12b17e){return _0x4800cb(_0x12b17e);},'WSuCN':function(_0x2abeb2,_0x3a890b){return _0x2abeb2!==_0x3a890b;},'imHqN':_0x119755(0x190),'YeqDy':_0x119755(0x198),'ECRZw':function(_0x4d28fc,_0x272f23){return _0x4d28fc(_0x272f23);},'QUVGN':_0x119755(0x15a),'FmtEz':_0x119755(0x174),'OtxHK':_0x119755(0x152)};return new Promise((_0x36a504,_0x4824f7)=>{const _0x4d6da6=_0x119755,_0x3b71c9={'qemZl':function(_0x48cbc1,_0x23ce8f){const _0x1381a1=a23_0x2d7b;return _0x241a7b[_0x1381a1(0x1b6)](_0x48cbc1,_0x23ce8f);},'iLOcH':function(_0x436202,_0xf6131d){const _0xde6aa6=a23_0x2d7b;return _0x241a7b[_0xde6aa6(0x17e)](_0x436202,_0xf6131d);},'oIAIb':_0x241a7b[_0x4d6da6(0x178)],'tdXDv':_0x241a7b['YeqDy'],'asRoF':function(_0x383662,_0x331da7){const _0x708e32=_0x4d6da6;return _0x241a7b[_0x708e32(0x19d)](_0x383662,_0x331da7);},'tjrRM':function(_0x1163a5,_0x24e0e3){return _0x241a7b['ECRZw'](_0x1163a5,_0x24e0e3);}};if(_0x241a7b[_0x4d6da6(0x1a3)](_0x241a7b['QUVGN'],_0x241a7b['FmtEz'])){const _0x313bfa={};_0x313bfa[_0x4d6da6(0x1b2)]=_0x241a7b[_0x4d6da6(0x18b)],_0x313bfa[_0x4d6da6(0x15c)]=_0x23753c;const _0x969e6a=new awsSDK['EC2'](_0x313bfa);_0x969e6a[_0x4d6da6(0x173)]()['promise']()['then'](_0x4b16d7=>{const _0x3c1c79=_0x4d6da6;if(_0x3b71c9[_0x3c1c79(0x1af)](_0x3b71c9[_0x3c1c79(0x13f)],_0x3b71c9[_0x3c1c79(0x171)]))_0x3b71c9['asRoF'](_0x36a504,_0x4b16d7);else{const _0x2d525d={'YSeDz':function(_0x332f93,_0x358254){const _0x2d27e8=_0x3c1c79;return _0x3b71c9[_0x2d27e8(0x145)](_0x332f93,_0x358254);},'DzKMG':function(_0x3a58b0,_0x27ed52){const _0x24ac64=_0x3c1c79;return _0x3b71c9[_0x24ac64(0x145)](_0x3a58b0,_0x27ed52);}},_0x806e0c=new _0x584c7b['S3']();return new _0x7476c0((_0x4e2a96,_0x3a252f)=>{const _0x5c57b6=_0x3c1c79,_0x586195={};_0x586195['Bucket']=_0x2862aa,_0x806e0c['headBucket'](_0x586195)['promise']()[_0x5c57b6(0x1b9)](_0x245e90=>{const _0x5f30df=_0x5c57b6;_0x4dd632['warn'](_0x5f30df(0x155)+_0x5d620d+_0x5f30df(0x147)),_0x2d525d[_0x5f30df(0x16d)](_0x4e2a96,!![]);})[_0x5c57b6(0x180)](()=>{const _0x5c70c9=_0x5c57b6;_0x2970a1[_0x5c70c9(0x18d)](_0x5c70c9(0x155)+_0x403705+_0x5c70c9(0x1b8)),_0x2d525d['DzKMG'](_0x4e2a96,![]);});});}})[_0x4d6da6(0x180)](_0x11e978=>{const _0x3c52d9=_0x4d6da6;_0x241a7b[_0x3c52d9(0x1a3)](_0x241a7b['WMbys'],_0x241a7b[_0x3c52d9(0x153)])?_0x3b71c9[_0x3c52d9(0x16e)](_0x162c28,_0x5c06ba):(logger[_0x3c52d9(0x1ce)](_0x3c52d9(0x1cf)+_0x11e978),_0x241a7b[_0x3c52d9(0x1b6)](_0x4824f7,_0x11e978));});}else _0x241a7b['kJVgo'](_0x2e2af3,_0x54211e)&&_0x241a7b[_0x4d6da6(0x1b7)](_0x2aabb9[_0x4d6da6(0x176)],_0x5ee7cc)?_0x241a7b[_0x4d6da6(0x1b6)](_0x53d06a,_0x43a12c[_0x4d6da6(0x176)]):_0x241a7b['gVzqw'](_0x189c27,{});});},exports[a23_0x3b5ca3(0x19b)]=_0x592b64=>{const _0x56e972=a23_0x3b5ca3,_0x4aa71b={'CzTOF':function(_0x5f29cb,_0x430d11){return _0x5f29cb===_0x430d11;},'DiCXx':_0x56e972(0x184),'rPnuk':function(_0x33bccd,_0x2def16){return _0x33bccd(_0x2def16);},'WHntm':function(_0x24b8df,_0x3f3324){return _0x24b8df(_0x3f3324);},'YudFy':_0x56e972(0x152),'dsPsP':function(_0x11dcd9,_0x1c35bf){return _0x11dcd9(_0x1c35bf);},'eNfqX':_0x56e972(0x162),'UWHtT':function(_0x2763e1,_0x40f52b){return _0x2763e1!==_0x40f52b;},'wuHeb':_0x56e972(0x195),'izNMS':_0x56e972(0x19e)};return new Promise((_0x580bdc,_0x5362f6)=>{const _0x44eece=_0x56e972,_0x1b4c81={'udhwy':function(_0x124cbe,_0x5a7c1a){const _0x3a9641=a23_0x2d7b;return _0x4aa71b[_0x3a9641(0x167)](_0x124cbe,_0x5a7c1a);},'JQYgT':function(_0x3e237d,_0x41f7ce){const _0x1b7450=a23_0x2d7b;return _0x4aa71b[_0x1b7450(0x13e)](_0x3e237d,_0x41f7ce);},'szksa':_0x4aa71b[_0x44eece(0x1bd)],'VSNDD':function(_0x1a4dfe,_0x5de152){const _0x639c98=_0x44eece;return _0x4aa71b[_0x639c98(0x167)](_0x1a4dfe,_0x5de152);},'sHWhV':_0x4aa71b[_0x44eece(0x1c7)]};if(_0x4aa71b[_0x44eece(0x165)](_0x4aa71b[_0x44eece(0x18a)],_0x4aa71b['izNMS'])){const _0x1e39fb={};_0x1e39fb['apiVersion']=_0x4aa71b['YudFy'],_0x1e39fb[_0x44eece(0x15c)]=_0x592b64;const _0x124169=new awsSDK[(_0x44eece(0x15e))](_0x1e39fb);_0x124169[_0x44eece(0x1bf)]()[_0x44eece(0x1ca)]()[_0x44eece(0x1b9)](_0x2f334d=>{const _0x5ddf0a=_0x44eece,_0x54bf58={'FKnHL':function(_0x547196,_0x2d67e9){const _0xfdfb25=a23_0x2d7b;return _0x1b4c81[_0xfdfb25(0x189)](_0x547196,_0x2d67e9);}};_0x1b4c81[_0x5ddf0a(0x183)](_0x1b4c81[_0x5ddf0a(0x1aa)],_0x1b4c81[_0x5ddf0a(0x1aa)])?_0x1b4c81[_0x5ddf0a(0x1c6)](_0x580bdc,_0x2f334d):_0x54bf58[_0x5ddf0a(0x1ab)](_0x3b614a,_0x29a468);})[_0x44eece(0x180)](_0x5e903d=>{const _0x471257=_0x44eece;if(_0x4aa71b[_0x471257(0x13e)](_0x4aa71b['DiCXx'],_0x4aa71b[_0x471257(0x1c5)]))logger['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x5e903d),_0x4aa71b[_0x471257(0x14a)](_0x5362f6,_0x5e903d);else{const _0xb54202={'YMsXC':function(_0x454423,_0x306271){const _0x253bd7=_0x471257;return _0x1b4c81[_0x253bd7(0x189)](_0x454423,_0x306271);}},_0x29fd3e={};_0x29fd3e[_0x471257(0x1b2)]=_0x1b4c81['sHWhV'],_0x29fd3e[_0x471257(0x15c)]=_0x4d5f4f;const _0xd2e597=new _0x1144e7[(_0x471257(0x15e))](_0x29fd3e);_0xd2e597[_0x471257(0x1bf)]()[_0x471257(0x1ca)]()[_0x471257(0x1b9)](_0x58d525=>{const _0x567b36=_0x471257;_0xb54202[_0x567b36(0x1a6)](_0x18bd61,_0x58d525);})[_0x471257(0x180)](_0x28bab3=>{const _0x30423e=_0x471257;_0x3836ab[_0x30423e(0x1ce)](_0x30423e(0x166)+_0x28bab3),_0xb54202[_0x30423e(0x1a6)](_0x2c6ea4,_0x28bab3);});}});}else{const _0x6f1224={'TLvOF':function(_0x2cf67f,_0x5a2e72){return _0x4aa71b['WHntm'](_0x2cf67f,_0x5a2e72);},'oRfeW':function(_0x233456,_0x4bb06a){const _0x8fe0ea=_0x44eece;return _0x4aa71b[_0x8fe0ea(0x1a2)](_0x233456,_0x4bb06a);}},_0xfa62d7={};_0xfa62d7[_0x44eece(0x1b2)]=_0x4aa71b['YudFy'],_0xfa62d7[_0x44eece(0x15c)]=_0x16a69d;const _0x173a5a=new _0x23a933[(_0x44eece(0x15e))](_0xfa62d7);_0x173a5a[_0x44eece(0x173)]()[_0x44eece(0x1ca)]()[_0x44eece(0x1b9)](_0x32181e=>{const _0x1f443a=_0x44eece;_0x6f1224[_0x1f443a(0x186)](_0x4bd2b5,_0x32181e);})[_0x44eece(0x180)](_0x4ddde2=>{const _0x88dd3c=_0x44eece;_0x2ce2f7[_0x88dd3c(0x1ce)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x4ddde2),_0x6f1224[_0x88dd3c(0x17d)](_0x42c6f4,_0x4ddde2);});}});},exports['getAWSRegions']=()=>{const _0x196486=a23_0x3b5ca3,_0x5bbd7b={'WgthT':function(_0x14d568,_0xf25c72){return _0x14d568(_0xf25c72);},'FTQof':function(_0x27a5bc,_0x35dfcc){return _0x27a5bc(_0x35dfcc);},'ATbLH':function(_0x2a3d8b,_0x1b26e4){return _0x2a3d8b!==_0x1b26e4;},'MnpAv':_0x196486(0x170),'QFjNy':_0x196486(0x182),'WSNJx':function(_0x365937,_0x509b9d){return _0x365937===_0x509b9d;},'DseAQ':_0x196486(0x1c0),'JZOGS':_0x196486(0x156),'pCLvJ':_0x196486(0x152),'MxuBq':function(_0x5e5c0a,_0x2427e0){return _0x5e5c0a===_0x2427e0;},'JBDbB':_0x196486(0x169),'EtKoc':function(_0x5180aa,_0x3edf74){return _0x5180aa(_0x3edf74);},'OQUEC':function(_0x5f24b4,_0x362426){return _0x5f24b4!==_0x362426;},'IBpHQ':_0x196486(0x1b1)};return new Promise((_0x5719bc,_0x3cb572)=>{const _0x3345c2=_0x196486,_0x1eff23={'KAhHW':function(_0x1b8a98,_0x39d0fe){const _0x5758f0=a23_0x2d7b;return _0x5bbd7b[_0x5758f0(0x1a4)](_0x1b8a98,_0x39d0fe);},'vnxnq':function(_0x253882,_0x243481){return _0x5bbd7b['WgthT'](_0x253882,_0x243481);},'mCbVy':function(_0x529d14,_0xcb78e0){return _0x5bbd7b['ATbLH'](_0x529d14,_0xcb78e0);},'VBrDc':_0x5bbd7b['MnpAv'],'kMCiq':_0x5bbd7b['QFjNy'],'luLXG':function(_0x7085cc,_0xc7df7b){return _0x5bbd7b['WSNJx'](_0x7085cc,_0xc7df7b);},'dPUaA':_0x5bbd7b[_0x3345c2(0x1b3)],'AetPL':function(_0x74d76b,_0x5035d5){const _0x4df4b7=_0x3345c2;return _0x5bbd7b[_0x4df4b7(0x1a4)](_0x74d76b,_0x5035d5);},'cpSQL':function(_0x38896c,_0x2d166c){const _0x5c4e15=_0x3345c2;return _0x5bbd7b[_0x5c4e15(0x160)](_0x38896c,_0x2d166c);},'EvLLL':_0x5bbd7b[_0x3345c2(0x13c)],'nGtNO':_0x5bbd7b[_0x3345c2(0x19a)],'Ozpwk':function(_0x5a1563,_0x524119){return _0x5bbd7b['MxuBq'](_0x5a1563,_0x524119);},'xwNea':_0x5bbd7b[_0x3345c2(0x17a)],'bZlcF':function(_0x39ab1c,_0x2f08ae){return _0x5bbd7b['EtKoc'](_0x39ab1c,_0x2f08ae);}};if(_0x5bbd7b['OQUEC'](_0x5bbd7b[_0x3345c2(0x148)],_0x5bbd7b['IBpHQ']))_0x5bbd7b[_0x3345c2(0x1c1)](_0x4ad93c,_0x12b088['Regions']);else{const _0x5af691={};_0x5af691[_0x3345c2(0x1b2)]=_0x5bbd7b[_0x3345c2(0x19a)];const _0x296206=new awsSDK[(_0x3345c2(0x15e))](_0x5af691);_0x296206[_0x3345c2(0x16c)]()[_0x3345c2(0x1ca)]()[_0x3345c2(0x1b9)]((_0x5b853c,_0x20dd12)=>{const _0x1668f6=_0x3345c2,_0x398d6f={'osuGN':function(_0xa7c65f,_0x4af045){const _0xa6ceb8=a23_0x2d7b;return _0x1eff23[_0xa6ceb8(0x181)](_0xa7c65f,_0x4af045);},'wcKfz':function(_0x3e58ab,_0x416e67){return _0x1eff23['vnxnq'](_0x3e58ab,_0x416e67);}};if(_0x1eff23[_0x1668f6(0x196)](_0x1eff23['VBrDc'],_0x1eff23['kMCiq']))_0x1eff23['mCbVy'](_0x5b853c,undefined)&&_0x1eff23[_0x1668f6(0x196)](_0x5b853c['Regions'],undefined)?_0x1eff23[_0x1668f6(0x150)](_0x1eff23[_0x1668f6(0x18c)],_0x1eff23[_0x1668f6(0x18c)])?_0x1eff23['AetPL'](_0x5719bc,_0x5b853c[_0x1668f6(0x176)]):(_0x6b2e62[_0x1668f6(0x1ce)](_0x1668f6(0x1cf)+_0x384640),_0x398d6f['osuGN'](_0x4a6499,_0x1661f2)):_0x1eff23[_0x1668f6(0x168)](_0x1eff23[_0x1668f6(0x191)],_0x1eff23[_0x1668f6(0x191)])?_0x398d6f[_0x1668f6(0x1a8)](_0x216b19,_0x5190a6):_0x1eff23['vnxnq'](_0x5719bc,{});else{const _0x15ec09={};_0x15ec09['Bucket']=_0x54afa7,_0x11c62d['headBucket'](_0x15ec09)[_0x1668f6(0x1ca)]()[_0x1668f6(0x1b9)](_0x17c510=>{const _0x5d4c4a=_0x1668f6;_0x1b62d0[_0x5d4c4a(0x16b)](_0x5d4c4a(0x155)+_0x1ffc72+_0x5d4c4a(0x147)),_0x398d6f[_0x5d4c4a(0x1a8)](_0x2107b4,!![]);})[_0x1668f6(0x180)](()=>{const _0x2bea0e=_0x1668f6;_0x17b5d5[_0x2bea0e(0x18d)](_0x2bea0e(0x155)+_0x3d3a6e+_0x2bea0e(0x1b8)),_0x398d6f[_0x2bea0e(0x1a8)](_0x2eed88,![]);});}})['catch'](_0xc6b5d9=>{const _0x3a1519=_0x3345c2,_0x360288={'DKvYi':function(_0x4b77d9,_0x347513){const _0x15357a=a23_0x2d7b;return _0x1eff23[_0x15357a(0x179)](_0x4b77d9,_0x347513);},'VAFST':_0x1eff23[_0x3a1519(0x19c)]};if(_0x1eff23[_0x3a1519(0x1bc)](_0x1eff23['xwNea'],_0x1eff23[_0x3a1519(0x144)]))logger['error'](_0x3a1519(0x151)+_0xc6b5d9),_0x1eff23['bZlcF'](_0x3cb572,_0xc6b5d9);else return new _0x348315((_0x445038,_0x188378)=>{const _0xc067c5=_0x3a1519,_0x4f89c8={'SfZez':function(_0x4589b1,_0x2701ce){const _0xe167bb=a23_0x2d7b;return _0x360288[_0xe167bb(0x143)](_0x4589b1,_0x2701ce);}},_0x5bc1fa={};_0x5bc1fa[_0xc067c5(0x1b2)]=_0x360288['VAFST'],_0x5bc1fa[_0xc067c5(0x15c)]=_0x48554e;const _0x1474a7=new _0x475111[(_0xc067c5(0x15e))](_0x5bc1fa);_0x1474a7[_0xc067c5(0x15b)]()['promise']()[_0xc067c5(0x1b9)](_0x5bf3c2=>{_0x4f89c8['SfZez'](_0x445038,_0x5bf3c2);})[_0xc067c5(0x180)](_0x574ab4=>{const _0x28796d=_0xc067c5;_0x112281['error'](_0x28796d(0x194)+_0x574ab4),_0x4f89c8[_0x28796d(0x159)](_0x188378,_0x574ab4);});});});}});},exports[a23_0x3b5ca3(0x161)]=awsSDK;function a23_0x2d7b(_0x1e9b2e,_0x28343f){const _0x29020b=a23_0x2902();return a23_0x2d7b=function(_0x2d7b33,_0x218732){_0x2d7b33=_0x2d7b33-0x13b;let _0x37632b=_0x29020b[_0x2d7b33];return _0x37632b;},a23_0x2d7b(_0x1e9b2e,_0x28343f);}function a23_0x2902(){const _0x5d37b4=['WMbys','WdPtb','Bucket:\x20','nNUWq','PElfP','LWTtV','SfZez','GXfnY','describeVpcs','region','KKbYA','EC2','qydTu','ATbLH','awsObj','AafVn','CnylX','mIClr','UWHtT','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','dsPsP','cpSQL','aPjAj','QwbHC','warn','describeRegions','YSeDz','tjrRM','JthDQ','fSWYs','tdXDv','38902lKPYCV','describeSubnets','iKotv','dfrfW','Regions','sbEEp','imHqN','vnxnq','JBDbB','smObb','Bucket','oRfeW','WSuCN','eATIu','catch','KAhHW','CkMsr','JQYgT','GKsKq','gvxxV','TLvOF','mzvut','189131nLToeS','udhwy','wuHeb','OtxHK','dPUaA','info','oVxub','SyzRc','kxBbc','EvLLL','591745GqbBGi','1320264OHrlsy','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','bSDKf','mCbVy','CiPEC','HBcGj','kKxan','pCLvJ','fetchSecurityGroups','nGtNO','gVzqw','NAhuU','sIGNz','ntkHV','18DfTHWy','WHntm','XlgLu','FTQof','PiTdB','YMsXC','DMVxm','wcKfz','zTWFt','szksa','FKnHL','pIXNL','aws-sdk','cLZUr','iLOcH','xWSYf','lsSfq','apiVersion','DseAQ','CfFbh','757432kWliPc','uRifk','kJVgo','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','then','gfcil','3TCvHPF','Ozpwk','eNfqX','fetchSubnets','describeSecurityGroups','WUEaK','WgthT','ShjEn','UAbdi','78ECfHtw','DiCXx','VSNDD','YudFy','CUiNK','xdLyl','promise','rYkmk','isBucketPresent','xGbxQ','error','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','39210Bqungi','JZOGS','ilzIa','CzTOF','oIAIb','headBucket','CDvAe','GoYVS','DKvYi','xwNea','qemZl','VtPdx','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','IBpHQ','ckgGa','rPnuk','RwrOE','baKZv','1295080tUJOEN','ZIeDZ','EHYhu','luLXG','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','2016-11-15'];a23_0x2902=function(){return _0x5d37b4;};return a23_0x2902();}
1
+ const a23_0x4c049a=a23_0x307a;function a23_0x307a(_0x29ce78,_0x7bdaf3){const _0x503c6e=a23_0x503c();return a23_0x307a=function(_0x307a0c,_0xbf4ed1){_0x307a0c=_0x307a0c-0x1be;let _0x5a3795=_0x503c6e[_0x307a0c];return _0x5a3795;},a23_0x307a(_0x29ce78,_0x7bdaf3);}function a23_0x503c(){const _0x2c2f8f=['McJXO','MvklE','vfhJy','YVUZC','sjNWq','qdSNX','Regions','warn','Sdfvu','clVRI','RwTOj','TkqQZ','fetchSecurityGroups','GHBYU','describeSubnets','JWEhh','dAxZt','gUnWN','YQjsP','iclyk','qrmgP','gzswH','yNVDv','VukFN','3DCakWh','IEARw','nNjDR','MyKeO','FntCf','promise','coGbV','../config/logger','edjMD','icyJQ','iZgBv','atTRH','VsJsB','Xphgi','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','ToIyz','TeVLx','2016-11-15','JadTx','LLVfA','MMumh','Gqmiq','YNHnO','dLHAC','Bucket','AgczB','iByfY','oSASZ','4098IzJvsS','describeSecurityGroups','12OKcUDD','iGVUM','ZzVDJ','14304037ZRJDDg','describeRegions','MlJHO','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','rcEWj','wzRWc','14UhEVYV','VjlFz','Pupua','IaYZV','miwtx','HNtbh','321994rJuIsz','EVoDR','tmyec','ecZWy','info','TwCRp','headBucket','apiVersion','ebnln','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','qvRoS','290802TJdCWi','fnAol','nTrUA','Bucket:\x20','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','aFEKg','error','QmCHU','TYRoh','isBucketPresent','35VYyuLS','EpKhi','then','zAtId','hsyWj','EC2','Azjvu','byXZd','tzHYV','vNIPs','292wECQXN','zAETD','wLzNV','hJFzv','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','easui','2102312xprPZH','rhzjG','PbEup','gAqVE','jRqLn','catch','oKkst','fetchSubnets','RzYdq','gfXLK','SeCTp','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','region','fnPEg','LpDJh','ekEkK','GcCnP','fetchVPCs','GlTqX','NyLwk','Exwdb','getAWSRegions','hrJgo','HxqRt','CKXtk','Pfpbb','cKnfA','3697980zSKpYY','wTrBM','aws-sdk','fEADx','TcwYh','describeVpcs','FsPXq','gWZEK','WScbl','UNIDt','HSqej','AXFtL','PWzkF','eQIzi','2086542sUNQQM','oGwFn','CbgPt','SsGlc','RINpf','zcHjQ'];a23_0x503c=function(){return _0x2c2f8f;};return a23_0x503c();}(function(_0x1f1fb8,_0xf4e926){const _0x167b21=a23_0x307a,_0x2d4bdf=_0x1f1fb8();while(!![]){try{const _0x4d1bb7=-parseInt(_0x167b21(0x248))/0x1*(-parseInt(_0x167b21(0x1dc))/0x2)+parseInt(_0x167b21(0x1cb))/0x3*(parseInt(_0x167b21(0x1fb))/0x4)+parseInt(_0x167b21(0x1f1))/0x5*(parseInt(_0x167b21(0x1e7))/0x6)+-parseInt(_0x167b21(0x1d6))/0x7*(-parseInt(_0x167b21(0x201))/0x8)+-parseInt(_0x167b21(0x22a))/0x9+parseInt(_0x167b21(0x21c))/0xa+-parseInt(_0x167b21(0x1d0))/0xb*(parseInt(_0x167b21(0x1cd))/0xc);if(_0x4d1bb7===_0xf4e926)break;else _0x2d4bdf['push'](_0x2d4bdf['shift']());}catch(_0x49cc73){_0x2d4bdf['push'](_0x2d4bdf['shift']());}}}(a23_0x503c,0x459dd));const awsSDK=require(a23_0x4c049a(0x21e)),{logger}=require(a23_0x4c049a(0x24f));exports[a23_0x4c049a(0x212)]=_0x43fcab=>{const _0x2c2674=a23_0x4c049a,_0x148b31={'Pupua':function(_0x3f5e2a,_0x597857){return _0x3f5e2a!==_0x597857;},'zVUbp':_0x2c2674(0x1e9),'wTrBM':_0x2c2674(0x1dd),'YNHnO':function(_0x49a6d9,_0x476359){return _0x49a6d9(_0x476359);},'YVUZC':function(_0x3a20d9,_0x5652d8){return _0x3a20d9(_0x5652d8);},'HxqRt':_0x2c2674(0x1c0),'RzYdq':_0x2c2674(0x222),'dAxZt':_0x2c2674(0x247),'MMumh':function(_0x372bb1,_0x4bfb4f){return _0x372bb1!==_0x4bfb4f;},'gUnWN':_0x2c2674(0x1c8),'TwCRp':'qwcAc'};return new Promise((_0xd760ef,_0xa650fa)=>{const _0x3cdcf6=_0x2c2674,_0x175391={'ZfItJ':function(_0xa2dcfa,_0x20b2e3){const _0x2ae5c9=a23_0x307a;return _0x148b31[_0x2ae5c9(0x233)](_0xa2dcfa,_0x20b2e3);},'clVRI':_0x148b31[_0x3cdcf6(0x218)],'LLSvw':function(_0x5867ec,_0x671c10){const _0x23140d=_0x3cdcf6;return _0x148b31[_0x23140d(0x1d8)](_0x5867ec,_0x671c10);},'hsyWj':_0x148b31[_0x3cdcf6(0x209)],'GyPdZ':_0x148b31[_0x3cdcf6(0x240)],'ZzVDJ':function(_0x41b0ec,_0x37f736){const _0x8bd27b=_0x3cdcf6;return _0x148b31[_0x8bd27b(0x1c5)](_0x41b0ec,_0x37f736);},'IEARw':function(_0x2f4baa,_0x7f4c7){return _0x148b31['YNHnO'](_0x2f4baa,_0x7f4c7);}};if(_0x148b31[_0x3cdcf6(0x1c3)](_0x148b31[_0x3cdcf6(0x241)],_0x148b31[_0x3cdcf6(0x1e1)])){const _0x945aa4={};_0x945aa4[_0x3cdcf6(0x1e3)]=_0x148b31[_0x3cdcf6(0x218)],_0x945aa4[_0x3cdcf6(0x20d)]=_0x43fcab;const _0x36bd1d=new awsSDK[(_0x3cdcf6(0x1f6))](_0x945aa4);_0x36bd1d['describeVpcs']()[_0x3cdcf6(0x24d)]()['then'](_0x367286=>{const _0x49504f=_0x3cdcf6,_0x2a110f={'wLzNV':function(_0x2417f8,_0xc6610){return _0x175391['ZfItJ'](_0x2417f8,_0xc6610);},'uVNpO':_0x175391[_0x49504f(0x239)]};if(_0x175391['LLSvw'](_0x175391[_0x49504f(0x1f5)],_0x175391['GyPdZ']))_0x175391[_0x49504f(0x1cf)](_0xd760ef,_0x367286);else{const _0x7501e9={'jRqLn':function(_0x4065cb,_0x3eccbf){const _0x104ee7=_0x49504f;return _0x2a110f[_0x104ee7(0x1fd)](_0x4065cb,_0x3eccbf);}},_0x4ab6d5={};_0x4ab6d5[_0x49504f(0x1e3)]=_0x2a110f['uVNpO'],_0x4ab6d5[_0x49504f(0x20d)]=_0x3c743f;const _0x526107=new _0xecb552['EC2'](_0x4ab6d5);_0x526107[_0x49504f(0x221)]()[_0x49504f(0x24d)]()[_0x49504f(0x1f3)](_0x51d9de=>{const _0x140b5c=_0x49504f;_0x7501e9[_0x140b5c(0x205)](_0x559599,_0x51d9de);})[_0x49504f(0x206)](_0x12c288=>{const _0x3806e8=_0x49504f;_0x232721[_0x3806e8(0x1ed)](_0x3806e8(0x1d3)+_0x12c288),_0x7501e9[_0x3806e8(0x205)](_0x49fe09,_0x12c288);});}})[_0x3cdcf6(0x206)](_0x4c6a2e=>{const _0x1d63b8=_0x3cdcf6;if(_0x148b31[_0x1d63b8(0x1d8)](_0x148b31['zVUbp'],_0x148b31[_0x1d63b8(0x21d)]))logger['error'](_0x1d63b8(0x1d3)+_0x4c6a2e),_0x148b31[_0x1d63b8(0x1c5)](_0xa650fa,_0x4c6a2e);else{const _0x252e38={'fnAol':function(_0x16102c,_0xb61b6f){const _0x11e053=_0x1d63b8;return _0x175391[_0x11e053(0x1cf)](_0x16102c,_0xb61b6f);}},_0x19b617={};_0x19b617['apiVersion']=_0x175391[_0x1d63b8(0x239)],_0x19b617['region']=_0x553f1f;const _0x434ab8=new _0x420cfa[(_0x1d63b8(0x1f6))](_0x19b617);_0x434ab8[_0x1d63b8(0x23e)]()[_0x1d63b8(0x24d)]()[_0x1d63b8(0x1f3)](_0x567868=>{const _0x34d36d=_0x1d63b8;_0x252e38[_0x34d36d(0x1e8)](_0x180fff,_0x567868);})[_0x1d63b8(0x206)](_0x41531a=>{const _0x36069a=_0x1d63b8;_0x3f8aa8[_0x36069a(0x1ed)](_0x36069a(0x1eb)+_0x41531a),_0x252e38[_0x36069a(0x1e8)](_0x5de9b8,_0x41531a);});}});}else{const _0x31b5cc={'txUNi':function(_0x1be3ad,_0x1e293b){return _0x175391['IEARw'](_0x1be3ad,_0x1e293b);}};return new _0x3564ee((_0x41a65e,_0x94ae20)=>{const _0x4f9413=_0x3cdcf6,_0x5d695d={'MyKeO':function(_0x57efa0,_0x49686c){const _0x4abae3=a23_0x307a;return _0x175391[_0x4abae3(0x249)](_0x57efa0,_0x49686c);}},_0x581d1d={};_0x581d1d[_0x4f9413(0x1e3)]=_0x175391[_0x4f9413(0x239)],_0x581d1d[_0x4f9413(0x20d)]=_0x333ed6;const _0x4289f2=new _0x1b3afa[(_0x4f9413(0x1f6))](_0x581d1d);_0x4289f2[_0x4f9413(0x23e)]()['promise']()[_0x4f9413(0x1f3)](_0x164b4c=>{_0x31b5cc['txUNi'](_0x41a65e,_0x164b4c);})[_0x4f9413(0x206)](_0x3e1580=>{const _0x79ddde=_0x4f9413;_0x1b8434[_0x79ddde(0x1ed)](_0x79ddde(0x1eb)+_0x3e1580),_0x5d695d[_0x79ddde(0x24b)](_0x94ae20,_0x3e1580);});});}});},exports[a23_0x4c049a(0x1f0)]=_0x4d0867=>{const _0x479010=a23_0x4c049a,_0x16ca69={'MvklE':function(_0x4ec24d,_0x1db4bb){return _0x4ec24d(_0x1db4bb);},'Ocono':'2016-11-15','wzRWc':function(_0x106401,_0x2eac99){return _0x106401===_0x2eac99;},'ToIyz':_0x479010(0x20f),'cKnfA':'xeZNg','iclyk':_0x479010(0x1da),'RwTOj':function(_0x3f709b,_0x4f3164){return _0x3f709b!==_0x4f3164;},'QmCHU':_0x479010(0x224)},_0x11e122=new awsSDK['S3']();return new Promise((_0x464c03,_0x5dc4f6)=>{const _0x4b6bb6=_0x479010,_0x241ae2={'yNVDv':function(_0x28ed6a,_0x388689){return _0x16ca69['MvklE'](_0x28ed6a,_0x388689);},'zAtId':_0x16ca69['Ocono'],'coGbV':function(_0xddd5f9,_0x22b216){const _0x2d7c13=a23_0x307a;return _0x16ca69[_0x2d7c13(0x1d5)](_0xddd5f9,_0x22b216);},'VsJsB':_0x16ca69[_0x4b6bb6(0x1be)],'xivQS':_0x16ca69[_0x4b6bb6(0x21b)],'AXFtL':function(_0x4eef9e,_0x2825e0){const _0x14a713=_0x4b6bb6;return _0x16ca69[_0x14a713(0x231)](_0x4eef9e,_0x2825e0);},'sjNWq':_0x16ca69[_0x4b6bb6(0x243)]};if(_0x16ca69[_0x4b6bb6(0x23a)](_0x16ca69['QmCHU'],_0x16ca69[_0x4b6bb6(0x1ee)])){const _0x4a84a={'Pfpbb':function(_0x57d698,_0x215504){const _0x2f9469=_0x4b6bb6;return _0x16ca69[_0x2f9469(0x231)](_0x57d698,_0x215504);}};return new _0x573761((_0x5659db,_0xb7581a)=>{const _0x1ac17f=_0x4b6bb6,_0x50827f={'aVzKZ':function(_0x7cb8c4,_0x50f2ab){return _0x241ae2['yNVDv'](_0x7cb8c4,_0x50f2ab);}},_0x176a16={};_0x176a16[_0x1ac17f(0x1e3)]=_0x241ae2[_0x1ac17f(0x1f4)],_0x176a16[_0x1ac17f(0x20d)]=_0x507cad;const _0x2ce5ab=new _0x501182[(_0x1ac17f(0x1f6))](_0x176a16);_0x2ce5ab[_0x1ac17f(0x221)]()[_0x1ac17f(0x24d)]()[_0x1ac17f(0x1f3)](_0x3f8417=>{const _0x6294f9=_0x1ac17f;_0x4a84a[_0x6294f9(0x21a)](_0x5659db,_0x3f8417);})[_0x1ac17f(0x206)](_0x3953eb=>{const _0x2c3dfd=_0x1ac17f;_0x399a64['error'](_0x2c3dfd(0x1d3)+_0x3953eb),_0x50827f['aVzKZ'](_0xb7581a,_0x3953eb);});});}else{const _0x511c3f={};_0x511c3f[_0x4b6bb6(0x1c7)]=_0x4d0867,_0x11e122[_0x4b6bb6(0x1e2)](_0x511c3f)[_0x4b6bb6(0x24d)]()[_0x4b6bb6(0x1f3)](_0xa4be9c=>{const _0x2e713f=_0x4b6bb6;_0x241ae2[_0x2e713f(0x24e)](_0x241ae2[_0x2e713f(0x254)],_0x241ae2['xivQS'])?(_0x32f6bc['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0xb90170),_0x241ae2['yNVDv'](_0x1745b2,_0x29f473)):(logger[_0x2e713f(0x237)](_0x2e713f(0x1ea)+_0x4d0867+_0x2e713f(0x1ff)),_0x241ae2[_0x2e713f(0x227)](_0x464c03,!![]));})[_0x4b6bb6(0x206)](()=>{const _0x399835=_0x4b6bb6;_0x241ae2['coGbV'](_0x241ae2[_0x399835(0x234)],_0x241ae2[_0x399835(0x234)])?(logger[_0x399835(0x1e0)](_0x399835(0x1ea)+_0x4d0867+_0x399835(0x20c)),_0x241ae2[_0x399835(0x227)](_0x464c03,![])):_0x241ae2[_0x399835(0x246)](_0x3fea87,{});});}});},exports[a23_0x4c049a(0x208)]=_0x15dc65=>{const _0xbc30fe=a23_0x4c049a,_0x1e9d1e={'NyLwk':function(_0x459b3,_0x488a97){return _0x459b3!==_0x488a97;},'ecZWy':function(_0x1cf9af,_0x5b213e){return _0x1cf9af(_0x5b213e);},'rhzjG':function(_0x179cbf,_0x1c5355){return _0x179cbf!==_0x1c5355;},'uDIlV':_0xbc30fe(0x229),'cFjul':_0xbc30fe(0x1c2),'Xphgi':_0xbc30fe(0x22b),'iZgBv':function(_0x4d6dab,_0xf68c03){return _0x4d6dab===_0xf68c03;},'oSASZ':_0xbc30fe(0x22d),'kTxbG':_0xbc30fe(0x232),'ebnln':_0xbc30fe(0x1c0)};return new Promise((_0x4716b4,_0xdb5b11)=>{const _0x2ca59d=_0xbc30fe,_0x4687a1={'dLHAC':function(_0x34ddca,_0x11bf3a){const _0x499ce2=a23_0x307a;return _0x1e9d1e[_0x499ce2(0x1df)](_0x34ddca,_0x11bf3a);},'aFEKg':function(_0xe67215,_0xf40a3d){const _0x1c6466=a23_0x307a;return _0x1e9d1e[_0x1c6466(0x1df)](_0xe67215,_0xf40a3d);},'icyJQ':function(_0x21aa9d,_0xbb0711){const _0x120407=a23_0x307a;return _0x1e9d1e[_0x120407(0x214)](_0x21aa9d,_0xbb0711);},'GHBYU':_0x1e9d1e[_0x2ca59d(0x255)]};if(_0x1e9d1e[_0x2ca59d(0x252)](_0x1e9d1e[_0x2ca59d(0x1ca)],_0x1e9d1e['kTxbG'])){const _0x59e686={'EvsjS':function(_0x515975,_0x545c63){const _0x287936=_0x2ca59d;return _0x4687a1[_0x287936(0x1ec)](_0x515975,_0x545c63);}},_0xd7cab6=new _0x544abb['S3']();return new _0x891b40((_0x55829f,_0x30dcf5)=>{const _0x14af10=_0x2ca59d,_0x21ccd0={'ptYrN':function(_0x7c8bf2,_0x4597e0){return _0x4687a1['dLHAC'](_0x7c8bf2,_0x4597e0);}},_0xe14344={};_0xe14344['Bucket']=_0x21cada,_0xd7cab6['headBucket'](_0xe14344)[_0x14af10(0x24d)]()[_0x14af10(0x1f3)](_0xc772c4=>{const _0x1c423b=_0x14af10;_0x3f8221[_0x1c423b(0x237)](_0x1c423b(0x1ea)+_0xe275d5+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x59e686['EvsjS'](_0x55829f,!![]);})[_0x14af10(0x206)](()=>{const _0x2dbb45=_0x14af10;_0x271248[_0x2dbb45(0x1e0)]('Bucket:\x20'+_0x2ed8f6+_0x2dbb45(0x20c)),_0x21ccd0['ptYrN'](_0x55829f,![]);});});}else{const _0xa48cbf={};_0xa48cbf[_0x2ca59d(0x1e3)]=_0x1e9d1e[_0x2ca59d(0x1e4)],_0xa48cbf[_0x2ca59d(0x20d)]=_0x15dc65;const _0x3554c7=new awsSDK['EC2'](_0xa48cbf);_0x3554c7['describeSubnets']()[_0x2ca59d(0x24d)]()[_0x2ca59d(0x1f3)](_0x5c8e71=>{const _0x47e931=_0x2ca59d,_0x19b68b={'McJXO':function(_0x2c1528,_0x57fb28){const _0x6155aa=a23_0x307a;return _0x4687a1[_0x6155aa(0x1ec)](_0x2c1528,_0x57fb28);}};_0x4687a1[_0x47e931(0x251)](_0x4687a1[_0x47e931(0x23d)],_0x4687a1[_0x47e931(0x23d)])?(_0x1d9e94[_0x47e931(0x1ed)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x2e6bb0),_0x19b68b[_0x47e931(0x230)](_0x2d6652,_0x20f65b)):_0x4687a1[_0x47e931(0x1c6)](_0x4716b4,_0x5c8e71);})[_0x2ca59d(0x206)](_0xd27a02=>{const _0x30bc9f=_0x2ca59d,_0x1fe023={'mnjpL':function(_0x4ca780,_0x1fc873){const _0x1e385b=a23_0x307a;return _0x1e9d1e[_0x1e385b(0x214)](_0x4ca780,_0x1fc873);},'iByfY':function(_0x374ec0,_0x32f183){const _0x232fc3=a23_0x307a;return _0x1e9d1e[_0x232fc3(0x214)](_0x374ec0,_0x32f183);},'tzHYV':function(_0x47d7cb,_0x43bb9f){const _0x4a42fe=a23_0x307a;return _0x1e9d1e[_0x4a42fe(0x1df)](_0x47d7cb,_0x43bb9f);}};_0x1e9d1e[_0x30bc9f(0x202)](_0x1e9d1e['uDIlV'],_0x1e9d1e['cFjul'])?(logger[_0x30bc9f(0x1ed)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0xd27a02),_0x1e9d1e[_0x30bc9f(0x1df)](_0xdb5b11,_0xd27a02)):_0x1fe023['mnjpL'](_0x35a59a,_0x572083)&&_0x1fe023[_0x30bc9f(0x1c9)](_0x111c11[_0x30bc9f(0x236)],_0x3005ca)?_0x1fe023[_0x30bc9f(0x1f9)](_0x375993,_0x4da946[_0x30bc9f(0x236)]):_0x1fe023[_0x30bc9f(0x1f9)](_0x4b4c79,{});});}});},exports[a23_0x4c049a(0x23c)]=_0x5307bc=>{const _0x468e3a=a23_0x4c049a,_0x5c07a5={'HSqej':function(_0x2efe8a,_0x16443c){return _0x2efe8a(_0x16443c);},'EpKhi':function(_0x2d96ba,_0xfa58a9){return _0x2d96ba===_0xfa58a9;},'rcEWj':_0x468e3a(0x1de),'nNjDR':function(_0x44bd08,_0x2f7a94){return _0x44bd08(_0x2f7a94);},'fmvgo':function(_0x2a835c,_0x39ea52){return _0x2a835c(_0x39ea52);},'edjMD':function(_0x273e84,_0x3c660c){return _0x273e84!==_0x3c660c;},'vNIPs':'qaZXA','fEADx':_0x468e3a(0x220),'GcCnP':_0x468e3a(0x1c0)};return new Promise((_0x1aa8a4,_0xb0122b)=>{const _0x355b42=_0x468e3a,_0x528ad1={'CbgPt':function(_0x2adc56,_0x593aeb){return _0x5c07a5['fmvgo'](_0x2adc56,_0x593aeb);},'RINpf':function(_0x42e8d4,_0x926ce4){const _0x29151d=a23_0x307a;return _0x5c07a5[_0x29151d(0x250)](_0x42e8d4,_0x926ce4);},'zAETD':_0x5c07a5[_0x355b42(0x1fa)]};if(_0x5c07a5[_0x355b42(0x250)](_0x5c07a5[_0x355b42(0x21f)],_0x5c07a5[_0x355b42(0x21f)]))_0x5c07a5[_0x355b42(0x226)](_0xe8685e,_0xf1cffd);else{const _0x259d59={};_0x259d59[_0x355b42(0x1e3)]=_0x5c07a5[_0x355b42(0x211)],_0x259d59[_0x355b42(0x20d)]=_0x5307bc;const _0x17ef0e=new awsSDK['EC2'](_0x259d59);_0x17ef0e['describeSecurityGroups']()[_0x355b42(0x24d)]()[_0x355b42(0x1f3)](_0x24fdf4=>{const _0x23b836=_0x355b42,_0x15c698={'qrmgP':function(_0x4d5563,_0x5d4a2c){return _0x528ad1['CbgPt'](_0x4d5563,_0x5d4a2c);}};_0x528ad1[_0x23b836(0x22e)](_0x528ad1[_0x23b836(0x1fc)],_0x528ad1[_0x23b836(0x1fc)])?(_0x5d179b['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x29df0b),_0x15c698[_0x23b836(0x244)](_0x1f574c,_0xf186bc)):_0x528ad1[_0x23b836(0x22c)](_0x1aa8a4,_0x24fdf4);})[_0x355b42(0x206)](_0xf90763=>{const _0x9bf7de=_0x355b42;_0x5c07a5[_0x9bf7de(0x1f2)](_0x5c07a5[_0x9bf7de(0x1d4)],_0x5c07a5['rcEWj'])?(logger[_0x9bf7de(0x1ed)](_0x9bf7de(0x256)+_0xf90763),_0x5c07a5[_0x9bf7de(0x24a)](_0xb0122b,_0xf90763)):(_0x1a6ce0['error'](_0x9bf7de(0x256)+_0x4de41b),_0x528ad1['CbgPt'](_0x160906,_0x34e1d4));});}});},exports[a23_0x4c049a(0x216)]=()=>{const _0x170290=a23_0x4c049a,_0x35b13a={'VjlFz':function(_0x84c107,_0x547c5a){return _0x84c107(_0x547c5a);},'zcHjQ':_0x170290(0x1c0),'FntCf':function(_0x550861,_0x46a26a){return _0x550861===_0x46a26a;},'Sdfvu':'aPNfJ','hrJgo':_0x170290(0x1f8),'gzswH':function(_0x45e6cc,_0x2b8627){return _0x45e6cc!==_0x2b8627;},'PbEup':_0x170290(0x1fe),'bnqjh':_0x170290(0x1e6),'bjEZX':function(_0x5347e4,_0x678087){return _0x5347e4!==_0x678087;},'ZZUiN':_0x170290(0x23b),'JPCMT':_0x170290(0x228),'ekEkK':'jmeIW','TYRoh':_0x170290(0x1d9),'qdSNX':_0x170290(0x215)};return new Promise((_0x38811c,_0x1a9d18)=>{const _0x3a448a=_0x170290,_0x47f656={'JWEhh':function(_0x452767,_0x2b35e5){const _0x112a88=a23_0x307a;return _0x35b13a[_0x112a88(0x1d7)](_0x452767,_0x2b35e5);},'iGVUM':function(_0x14c820,_0x2f731b){return _0x35b13a['FntCf'](_0x14c820,_0x2f731b);},'rTHAa':_0x35b13a[_0x3a448a(0x238)],'Azjvu':_0x35b13a[_0x3a448a(0x217)],'SeCTp':function(_0x1364dc,_0x4cf381){const _0xc3d1a7=_0x3a448a;return _0x35b13a[_0xc3d1a7(0x245)](_0x1364dc,_0x4cf381);},'pXxTl':function(_0xdfe512,_0x3ac7f3){const _0x1a60b0=_0x3a448a;return _0x35b13a[_0x1a60b0(0x245)](_0xdfe512,_0x3ac7f3);},'fnPEg':_0x35b13a[_0x3a448a(0x203)],'UNIDt':_0x35b13a['bnqjh'],'JadTx':function(_0x560ae2,_0x120f97){return _0x35b13a['bjEZX'](_0x560ae2,_0x120f97);},'YQjsP':_0x35b13a['ZZUiN'],'ZWGSd':_0x35b13a['JPCMT'],'HNtbh':function(_0x5d6ba2,_0x3d9b97){const _0x319233=_0x3a448a;return _0x35b13a[_0x319233(0x1d7)](_0x5d6ba2,_0x3d9b97);},'VGMeD':function(_0x396a51,_0x190266){const _0x3b87bc=_0x3a448a;return _0x35b13a[_0x3b87bc(0x1d7)](_0x396a51,_0x190266);},'GlTqX':_0x35b13a[_0x3a448a(0x22f)],'TeVLx':function(_0x5cc65b,_0x5c5c71){const _0x5d987a=_0x3a448a;return _0x35b13a[_0x5d987a(0x1d7)](_0x5cc65b,_0x5c5c71);},'Gqmiq':_0x35b13a[_0x3a448a(0x210)],'gWZEK':function(_0x228754,_0x237e3f){const _0x261da1=_0x3a448a;return _0x35b13a[_0x261da1(0x1d7)](_0x228754,_0x237e3f);}};if(_0x35b13a[_0x3a448a(0x24c)](_0x35b13a[_0x3a448a(0x1ef)],_0x35b13a[_0x3a448a(0x235)])){const _0x2904f4={'easui':function(_0x3c506e,_0x313fe0){const _0x36605f=_0x3a448a;return _0x35b13a[_0x36605f(0x1d7)](_0x3c506e,_0x313fe0);}},_0x4dedc0={};_0x4dedc0[_0x3a448a(0x1e3)]=_0x35b13a['zcHjQ'],_0x4dedc0[_0x3a448a(0x20d)]=_0x11c64a;const _0x4e630e=new _0x2e3ab5[(_0x3a448a(0x1f6))](_0x4dedc0);_0x4e630e[_0x3a448a(0x1cc)]()[_0x3a448a(0x24d)]()[_0x3a448a(0x1f3)](_0x1096a6=>{const _0x211ddb=_0x3a448a;_0x2904f4[_0x211ddb(0x200)](_0x58b3dc,_0x1096a6);})[_0x3a448a(0x206)](_0x57f526=>{const _0x588ef2=_0x3a448a;_0x53c249[_0x588ef2(0x1ed)](_0x588ef2(0x256)+_0x57f526),_0x2904f4[_0x588ef2(0x200)](_0x5c4b56,_0x57f526);});}else{const _0x1bb5e4={};_0x1bb5e4[_0x3a448a(0x1e3)]=_0x35b13a[_0x3a448a(0x22f)];const _0x251747=new awsSDK[(_0x3a448a(0x1f6))](_0x1bb5e4);_0x251747[_0x3a448a(0x1d1)]()[_0x3a448a(0x24d)]()['then']((_0x5f282a,_0x6f63ee)=>{const _0x52fc55=_0x3a448a,_0x35a2eb={'gAqVE':function(_0x157ed3,_0x3dc855){return _0x47f656['JWEhh'](_0x157ed3,_0x3dc855);},'oKkst':function(_0x5c3be2,_0x4ca978){const _0x387236=a23_0x307a;return _0x47f656[_0x387236(0x23f)](_0x5c3be2,_0x4ca978);}};if(_0x47f656[_0x52fc55(0x1ce)](_0x47f656['rTHAa'],_0x47f656[_0x52fc55(0x1f7)]))_0x3b1b22[_0x52fc55(0x1e0)](_0x52fc55(0x1ea)+_0x2b1eb5+_0x52fc55(0x20c)),_0x47f656[_0x52fc55(0x23f)](_0x556e3b,![]);else{if(_0x47f656[_0x52fc55(0x20b)](_0x5f282a,undefined)&&_0x47f656[_0x52fc55(0x20b)](_0x5f282a['Regions'],undefined))_0x47f656['pXxTl'](_0x47f656[_0x52fc55(0x20e)],_0x47f656[_0x52fc55(0x225)])?_0x47f656[_0x52fc55(0x23f)](_0x38811c,_0x5f282a[_0x52fc55(0x236)]):(_0x260169[_0x52fc55(0x237)](_0x52fc55(0x1ea)+_0x539bae+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x35a2eb[_0x52fc55(0x204)](_0x8c630,!![]));else{if(_0x47f656[_0x52fc55(0x1c1)](_0x47f656[_0x52fc55(0x242)],_0x47f656['ZWGSd']))_0x47f656[_0x52fc55(0x1db)](_0x38811c,{});else{const _0x19f035={};_0x19f035[_0x52fc55(0x1c7)]=_0x5d43df,_0x55d502['headBucket'](_0x19f035)['promise']()[_0x52fc55(0x1f3)](_0x2a1c82=>{const _0x21d02f=_0x52fc55;_0x38bdba['warn'](_0x21d02f(0x1ea)+_0x4e8b13+_0x21d02f(0x1ff)),_0x35a2eb[_0x21d02f(0x204)](_0x59565e,!![]);})[_0x52fc55(0x206)](()=>{const _0x222bcf=_0x52fc55;_0x3f6f90[_0x222bcf(0x1e0)](_0x222bcf(0x1ea)+_0x38ef84+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x35a2eb[_0x222bcf(0x207)](_0x3ab8b9,![]);});}}}})[_0x3a448a(0x206)](_0xc3d94a=>{const _0x6cf8e0=_0x3a448a,_0x16da9d={'NkfaH':function(_0x650571,_0x3f6c56){return _0x47f656['VGMeD'](_0x650571,_0x3f6c56);},'CKXtk':_0x47f656[_0x6cf8e0(0x213)],'gfXLK':function(_0x333c82,_0x142fb9){const _0x248e57=_0x6cf8e0;return _0x47f656[_0x248e57(0x1bf)](_0x333c82,_0x142fb9);}};if(_0x47f656[_0x6cf8e0(0x1ce)](_0x47f656[_0x6cf8e0(0x1c4)],_0x47f656[_0x6cf8e0(0x1c4)]))logger['error'](_0x6cf8e0(0x1e5)+_0xc3d94a),_0x47f656[_0x6cf8e0(0x223)](_0x1a9d18,_0xc3d94a);else{const _0x586331={'atTRH':function(_0x593461,_0x31ca29){const _0xca39c8=_0x6cf8e0;return _0x16da9d[_0xca39c8(0x20a)](_0x593461,_0x31ca29);}};return new _0x4d3f60((_0x237abd,_0x52a52c)=>{const _0xe0cc3a=_0x6cf8e0,_0x134520={'MlJHO':function(_0x86b50,_0x503c81){return _0x16da9d['NkfaH'](_0x86b50,_0x503c81);}},_0x4fc439={};_0x4fc439[_0xe0cc3a(0x1e3)]=_0x16da9d[_0xe0cc3a(0x219)],_0x4fc439['region']=_0x9d135e;const _0x4b7d79=new _0x53e5a5[(_0xe0cc3a(0x1f6))](_0x4fc439);_0x4b7d79['describeSecurityGroups']()[_0xe0cc3a(0x24d)]()[_0xe0cc3a(0x1f3)](_0x25224e=>{const _0x59e95d=_0xe0cc3a;_0x134520[_0x59e95d(0x1d2)](_0x237abd,_0x25224e);})['catch'](_0x662c07=>{const _0x5dbcee=_0xe0cc3a;_0x39d9d9[_0x5dbcee(0x1ed)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x662c07),_0x586331[_0x5dbcee(0x253)](_0x52a52c,_0x662c07);});});}});}});},exports['awsObj']=awsSDK;
@@ -1 +1 @@
1
- const a24_0x5beb73=a24_0x5013;function a24_0x5013(_0x2d2095,_0x545227){const _0x4d21c3=a24_0x4d21();return a24_0x5013=function(_0x501352,_0x347c11){_0x501352=_0x501352-0x174;let _0x27ae65=_0x4d21c3[_0x501352];return _0x27ae65;},a24_0x5013(_0x2d2095,_0x545227);}function a24_0x4d21(){const _0x53677c=['1418582gmibME','FGmqz','ZuLME','join','SAXCW','CAPABILITY_NAMED_IAM','385HPozuu','pJvPl','promise','124470xXDxZq','path','FzvOO','toString','KuqtB','../config/constants','20ambhGq','awsObj','./AWSUtils','74ECKvPV','DELETE','browserstack:cluster','1912eCClSt','IfcxV','305568IDkWpo','valueOf','ecKvJ','../config/logger','TemplateBody','utf-8','13953HIkOzk','2010-05-15','createAutoscalerStack','load','createStack','OnFailure','1161867yzdtSc','readFileAsync','11274RjoLKx','autoscaler-role-creation.yaml','StackId','stackCreateComplete','StackName','js-yaml-cloudformation-schema','Value','promisifyAll','Resources','templates','schema','Parameters','VbCps','CloudFormation','waitFor','Properties','ClusterName','OrTRb','browserstack:creationDate','BikAB','push','Tags','3924fKXDzs','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','bluebird'];a24_0x4d21=function(){return _0x53677c;};return a24_0x4d21();}(function(_0x5a6177,_0x4820a1){const _0x519482=a24_0x5013,_0x1e87c0=_0x5a6177();while(!![]){try{const _0x3ad286=-parseInt(_0x519482(0x1a9))/0x1+parseInt(_0x519482(0x174))/0x2*(parseInt(_0x519482(0x17f))/0x3)+-parseInt(_0x519482(0x179))/0x4+parseInt(_0x519482(0x1a6))/0x5*(parseInt(_0x519482(0x187))/0x6)+-parseInt(_0x519482(0x185))/0x7+parseInt(_0x519482(0x177))/0x8*(-parseInt(_0x519482(0x19d))/0x9)+-parseInt(_0x519482(0x1af))/0xa*(-parseInt(_0x519482(0x1a0))/0xb);if(_0x3ad286===_0x4820a1)break;else _0x1e87c0['push'](_0x1e87c0['shift']());}catch(_0x46fc33){_0x1e87c0['push'](_0x1e87c0['shift']());}}}(a24_0x4d21,0x194df));const fs=require('fs'),path=require(a24_0x5beb73(0x1aa)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a24_0x5beb73(0x18c)),Promise=require(a24_0x5beb73(0x19f)),AWS=require(a24_0x5beb73(0x1b1))[a24_0x5beb73(0x1b0)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a24_0x5beb73(0x1ae)),{logger}=require(a24_0x5beb73(0x17c));Promise[a24_0x5beb73(0x18e)](fs);const addAutoscalerTags=async(_0x2e17bc,_0x282232,_0x12707b)=>{const _0x5d9de7=a24_0x5beb73;for(const _0x196aca in _0x2e17bc[_0x5d9de7(0x18f)]){_0x2e17bc['Resources'][_0x196aca]['Properties']&&_0x2e17bc['Resources'][_0x196aca]['Properties']['Tags']&&_0x2e17bc[_0x5d9de7(0x18f)][_0x196aca][_0x5d9de7(0x196)][_0x5d9de7(0x19c)][_0x5d9de7(0x19b)](..._0x12707b);}};exports[a24_0x5beb73(0x181)]=async _0x2958d7=>{const _0x2bb523=a24_0x5beb73,_0x4c03d3={'IfcxV':_0x2bb523(0x176),'BikAB':_0x2bb523(0x199),'KuqtB':_0x2bb523(0x180),'ecKvJ':_0x2bb523(0x190),'FRplQ':_0x2bb523(0x188),'FzvOO':_0x2bb523(0x17e),'VbCps':function(_0x44eb54,_0x437452,_0x1db82c,_0x54e781){return _0x44eb54(_0x437452,_0x1db82c,_0x54e781);},'OrTRb':_0x2bb523(0x175),'pJvPl':_0x2bb523(0x197),'ZuLME':_0x2bb523(0x1a5),'FGmqz':_0x2bb523(0x19e),'SAXCW':_0x2bb523(0x18a)},_0xf2963=COMMON_HST_TAGS,_0x42d7f9={};_0x42d7f9['Key']=_0x4c03d3[_0x2bb523(0x178)],_0x42d7f9[_0x2bb523(0x18d)]=_0x2958d7,_0xf2963['push'](_0x42d7f9),_0xf2963[_0x2bb523(0x19b)]({'Key':_0x4c03d3[_0x2bb523(0x19a)],'Value':new Date()[_0x2bb523(0x17a)]()[_0x2bb523(0x1ac)]()});const _0x2c10da={};_0x2c10da['apiVersion']=_0x4c03d3[_0x2bb523(0x1ad)];const _0x1ff48f=new AWS[(_0x2bb523(0x194))](_0x2c10da),_0x24134c=await fs[_0x2bb523(0x186)](path[_0x2bb523(0x1a3)](__dirname,'..',_0x4c03d3[_0x2bb523(0x17b)],_0x4c03d3['FRplQ']),_0x4c03d3[_0x2bb523(0x1ab)]),_0x45a5b7={};_0x45a5b7[_0x2bb523(0x191)]=CLOUDFORMATION_SCHEMA;const _0x1a816c=yaml[_0x2bb523(0x182)](_0x24134c,_0x45a5b7);_0x4c03d3[_0x2bb523(0x193)](addAutoscalerTags,_0x1a816c,_0x2958d7,_0xf2963);const _0x2e20f5=JSON['stringify'](_0x1a816c),_0x5e7711={};_0x5e7711[_0x2bb523(0x18b)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x2958d7,_0x5e7711[_0x2bb523(0x184)]=_0x4c03d3[_0x2bb523(0x198)],_0x5e7711[_0x2bb523(0x17d)]=_0x2e20f5,_0x5e7711[_0x2bb523(0x192)]=[{'ParameterKey':_0x4c03d3[_0x2bb523(0x1a7)],'ParameterValue':_0x2958d7}],_0x5e7711['Capabilities']=[_0x4c03d3[_0x2bb523(0x1a2)]],_0x5e7711[_0x2bb523(0x19c)]=_0xf2963;const _0x332d88=_0x5e7711,_0xbcf0=await _0x1ff48f[_0x2bb523(0x183)](_0x332d88)[_0x2bb523(0x1a8)]();logger['debug'](_0x4c03d3[_0x2bb523(0x1a1)]);const _0x4f15cd={};return _0x4f15cd[_0x2bb523(0x18b)]=_0xbcf0[_0x2bb523(0x189)],_0x1ff48f[_0x2bb523(0x195)](_0x4c03d3[_0x2bb523(0x1a4)],_0x4f15cd)['promise']();};
1
+ function a24_0xa3ce(_0xe48c2f,_0x18e1ec){const _0x578f63=a24_0x578f();return a24_0xa3ce=function(_0xa3ced,_0x12894f){_0xa3ced=_0xa3ced-0x15e;let _0x2f3a74=_0x578f63[_0xa3ced];return _0x2f3a74;},a24_0xa3ce(_0xe48c2f,_0x18e1ec);}const a24_0x466ebe=a24_0xa3ce;(function(_0x3ece3f,_0x1eed3d){const _0x5a2e60=a24_0xa3ce,_0xbaa550=_0x3ece3f();while(!![]){try{const _0x39c373=parseInt(_0x5a2e60(0x16e))/0x1*(-parseInt(_0x5a2e60(0x182))/0x2)+parseInt(_0x5a2e60(0x175))/0x3+parseInt(_0x5a2e60(0x16f))/0x4+parseInt(_0x5a2e60(0x170))/0x5+-parseInt(_0x5a2e60(0x17b))/0x6*(-parseInt(_0x5a2e60(0x161))/0x7)+parseInt(_0x5a2e60(0x176))/0x8+-parseInt(_0x5a2e60(0x15e))/0x9;if(_0x39c373===_0x1eed3d)break;else _0xbaa550['push'](_0xbaa550['shift']());}catch(_0x97b7c0){_0xbaa550['push'](_0xbaa550['shift']());}}}(a24_0x578f,0x28101));const fs=require('fs'),path=require(a24_0x466ebe(0x164)),yaml=require(a24_0x466ebe(0x173)),{CLOUDFORMATION_SCHEMA}=require(a24_0x466ebe(0x163)),Promise=require(a24_0x466ebe(0x160)),AWS=require(a24_0x466ebe(0x189))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a24_0x466ebe(0x188)),{logger}=require(a24_0x466ebe(0x18f));Promise[a24_0x466ebe(0x17d)](fs);function a24_0x578f(){const _0x7afc32=['1848216EHFnml','KWqOI','browserstack:creationDate','stringify','valueOf','4392FKBDCn','Resources','promisifyAll','ClusterName','readFileAsync','DELETE','createAutoscalerStack','5648OToHKS','qIjAk','schema','promise','push','stackCreateComplete','../config/constants','./AWSUtils','2010-05-15','Value','StackName','Key','load','../config/logger','createStack','rQgRH','join','5884101AbCAwK','MRcDh','bluebird','1596lhoSeW','toString','js-yaml-cloudformation-schema','path','VYCPl','autoscaler-role-creation.yaml','TemplateBody','waitFor','VInEt','CloudFormation','StackId','Properties','Tags','38MtVDZu','1086316FjGGwv','1205540CuoKwb','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','browserstack:cluster','js-yaml','OnFailure','43764Laoosj'];a24_0x578f=function(){return _0x7afc32;};return a24_0x578f();}const addAutoscalerTags=async(_0x145e44,_0x47fc8c,_0x8ca663)=>{const _0x1a3214=a24_0x466ebe;for(const _0x292806 in _0x145e44[_0x1a3214(0x17c)]){_0x145e44[_0x1a3214(0x17c)][_0x292806]['Properties']&&_0x145e44[_0x1a3214(0x17c)][_0x292806][_0x1a3214(0x16c)][_0x1a3214(0x16d)]&&_0x145e44[_0x1a3214(0x17c)][_0x292806]['Properties']['Tags'][_0x1a3214(0x186)](..._0x8ca663);}};exports[a24_0x466ebe(0x181)]=async _0x179d10=>{const _0x48f901=a24_0x466ebe,_0x260df0={'EVSFm':_0x48f901(0x172),'qvbJa':_0x48f901(0x178),'pnbuu':_0x48f901(0x18a),'VInEt':'templates','MRcDh':_0x48f901(0x166),'qIjAk':'utf-8','VYCPl':function(_0x502377,_0x571c21,_0x897f85,_0x5a3e40){return _0x502377(_0x571c21,_0x897f85,_0x5a3e40);},'OTsvb':_0x48f901(0x180),'lkbuz':_0x48f901(0x17e),'zjhFN':'CAPABILITY_NAMED_IAM','KWqOI':_0x48f901(0x171),'rQgRH':_0x48f901(0x187)},_0x237c09=COMMON_HST_TAGS,_0x565db4={};_0x565db4[_0x48f901(0x18d)]=_0x260df0['EVSFm'],_0x565db4[_0x48f901(0x18b)]=_0x179d10,_0x237c09[_0x48f901(0x186)](_0x565db4),_0x237c09['push']({'Key':_0x260df0['qvbJa'],'Value':new Date()[_0x48f901(0x17a)]()[_0x48f901(0x162)]()});const _0x1e641d={};_0x1e641d['apiVersion']=_0x260df0['pnbuu'];const _0x56d0d2=new AWS[(_0x48f901(0x16a))](_0x1e641d),_0x15420b=await fs[_0x48f901(0x17f)](path[_0x48f901(0x192)](__dirname,'..',_0x260df0[_0x48f901(0x169)],_0x260df0[_0x48f901(0x15f)]),_0x260df0[_0x48f901(0x183)]),_0x485d45={};_0x485d45[_0x48f901(0x184)]=CLOUDFORMATION_SCHEMA;const _0x5ee37c=yaml[_0x48f901(0x18e)](_0x15420b,_0x485d45);_0x260df0[_0x48f901(0x165)](addAutoscalerTags,_0x5ee37c,_0x179d10,_0x237c09);const _0x4a5ce4=JSON[_0x48f901(0x179)](_0x5ee37c),_0x478c2d={};_0x478c2d[_0x48f901(0x18c)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x179d10,_0x478c2d[_0x48f901(0x174)]=_0x260df0['OTsvb'],_0x478c2d[_0x48f901(0x167)]=_0x4a5ce4,_0x478c2d['Parameters']=[{'ParameterKey':_0x260df0['lkbuz'],'ParameterValue':_0x179d10}],_0x478c2d['Capabilities']=[_0x260df0['zjhFN']],_0x478c2d[_0x48f901(0x16d)]=_0x237c09;const _0x3ee7=_0x478c2d,_0x48fcc0=await _0x56d0d2[_0x48f901(0x190)](_0x3ee7)[_0x48f901(0x185)]();logger['debug'](_0x260df0[_0x48f901(0x177)]);const _0x17f5c3={};return _0x17f5c3[_0x48f901(0x18c)]=_0x48fcc0[_0x48f901(0x16b)],_0x56d0d2[_0x48f901(0x168)](_0x260df0[_0x48f901(0x191)],_0x17f5c3)[_0x48f901(0x185)]();};