browserstack-node-sdk 1.34.5 → 1.34.6

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 (126) 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 +1 -1
  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/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a26_0x5a8d31=a26_0x3978;(function(_0x419016,_0x1b4f89){const _0x1df332=a26_0x3978,_0x49372b=_0x419016();while(!![]){try{const _0x4fb5d5=-parseInt(_0x1df332(0x114))/0x1*(-parseInt(_0x1df332(0x117))/0x2)+-parseInt(_0x1df332(0x115))/0x3+parseInt(_0x1df332(0x110))/0x4*(-parseInt(_0x1df332(0x116))/0x5)+parseInt(_0x1df332(0x105))/0x6+-parseInt(_0x1df332(0x112))/0x7*(-parseInt(_0x1df332(0x10c))/0x8)+parseInt(_0x1df332(0x10b))/0x9+-parseInt(_0x1df332(0x10a))/0xa;if(_0x4fb5d5===_0x1b4f89)break;else _0x49372b['push'](_0x49372b['shift']());}catch(_0x3046e1){_0x49372b['push'](_0x49372b['shift']());}}}(a26_0x18ed,0x207a8));function a26_0x18ed(){const _0x3838c7=['NetworkingV1Api','promisifyAll','524004KtfOYD','bluebird','loadFromString','./utilityMethods','createK8sClient','522760WRVCST','496269wpnVPY','32ChwKxF','CoreV1Api','makeApiClient','path','4NLcFTG','@kubernetes/client-node','371483aUZFiE','ApiregistrationV1Api','56284KdKNsH','455904oUrtrs','650215FkKnuR','4PGylbK','KubeConfig','AppsV1Api'];a26_0x18ed=function(){return _0x3838c7;};return a26_0x18ed();}const fs=require('fs'),path=require(a26_0x5a8d31(0x10f)),Promise=require(a26_0x5a8d31(0x106)),k8s=require(a26_0x5a8d31(0x111)),{getDirForConfig}=require(a26_0x5a8d31(0x108));function a26_0x3978(_0x130a30,_0x4bd5ae){const _0x18edd5=a26_0x18ed();return a26_0x3978=function(_0x39780c,_0x2b135e){_0x39780c=_0x39780c-0x105;let _0x143796=_0x18edd5[_0x39780c];return _0x143796;},a26_0x3978(_0x130a30,_0x4bd5ae);}Promise[a26_0x5a8d31(0x11b)](fs),exports[a26_0x5a8d31(0x109)]=async _0x183375=>{const _0x3b531b=a26_0x5a8d31,_0x28d77f={'Nbrjy':function(_0x4aa6a5){return _0x4aa6a5();}},_0x3595ab=_0x28d77f['Nbrjy'](getDirForConfig);!fs['existsSync'](_0x3595ab)&&fs['mkdirSync'](_0x3595ab);const _0x40a4d3=await _0x183375['getKubeConfigData'](),_0x121564=new k8s[(_0x3b531b(0x118))]();_0x121564[_0x3b531b(0x107)](_0x40a4d3);const _0x3b2c5e=_0x121564[_0x3b531b(0x10e)](k8s[_0x3b531b(0x10d)]),_0x30ef9d=_0x121564[_0x3b531b(0x10e)](k8s[_0x3b531b(0x119)]),_0x58156e=_0x121564[_0x3b531b(0x10e)](k8s[_0x3b531b(0x11a)]),_0x4c61f2=_0x121564[_0x3b531b(0x10e)](k8s['RbacAuthorizationV1Api']),_0x1b0895=_0x121564['makeApiClient'](k8s[_0x3b531b(0x113)]);return[_0x3b2c5e,_0x30ef9d,_0x58156e,_0x4c61f2,_0x1b0895,_0x121564];};
1
+ function a26_0x41fc(_0x8502a9,_0x5556a5){const _0x18bab=a26_0x18ba();return a26_0x41fc=function(_0x41fce9,_0x8ccb77){_0x41fce9=_0x41fce9-0x9c;let _0x134dff=_0x18bab[_0x41fce9];return _0x134dff;},a26_0x41fc(_0x8502a9,_0x5556a5);}const a26_0x2e95cd=a26_0x41fc;(function(_0x58fb3a,_0x420299){const _0x38e428=a26_0x41fc,_0x4c2b2b=_0x58fb3a();while(!![]){try{const _0x4d5cf8=-parseInt(_0x38e428(0xac))/0x1*(-parseInt(_0x38e428(0xad))/0x2)+-parseInt(_0x38e428(0xa0))/0x3*(-parseInt(_0x38e428(0xaf))/0x4)+parseInt(_0x38e428(0xa4))/0x5+-parseInt(_0x38e428(0x9d))/0x6*(-parseInt(_0x38e428(0xab))/0x7)+-parseInt(_0x38e428(0xa5))/0x8*(parseInt(_0x38e428(0xb0))/0x9)+parseInt(_0x38e428(0x9c))/0xa+-parseInt(_0x38e428(0xa1))/0xb;if(_0x4d5cf8===_0x420299)break;else _0x4c2b2b['push'](_0x4c2b2b['shift']());}catch(_0x5d1296){_0x4c2b2b['push'](_0x4c2b2b['shift']());}}}(a26_0x18ba,0xdb8eb));function a26_0x18ba(){const _0x71f15b=['WYiSY','39hcGpkU','23321023TbLlbd','KubeConfig','./utilityMethods','266615ZrjAED','133784SbzYdn','path','@kubernetes/client-node','getKubeConfigData','NetworkingV1Api','makeApiClient','84JRZvyi','7isqrOT','508866wzCmRh','CoreV1Api','232968NzzdJS','819mIFifR','ApiregistrationV1Api','bluebird','RbacAuthorizationV1Api','AppsV1Api','9488210cztrxW','500436XdHyIQ','createK8sClient'];a26_0x18ba=function(){return _0x71f15b;};return a26_0x18ba();}const fs=require('fs'),path=require(a26_0x2e95cd(0xa6)),Promise=require(a26_0x2e95cd(0xb2)),k8s=require(a26_0x2e95cd(0xa7)),{getDirForConfig}=require(a26_0x2e95cd(0xa3));Promise['promisifyAll'](fs),exports[a26_0x2e95cd(0x9e)]=async _0x364057=>{const _0x31f467=a26_0x2e95cd,_0x52a197={'WYiSY':function(_0xd877ef){return _0xd877ef();}},_0x1b3b0f=_0x52a197[_0x31f467(0x9f)](getDirForConfig);!fs['existsSync'](_0x1b3b0f)&&fs['mkdirSync'](_0x1b3b0f);const _0x400f98=await _0x364057[_0x31f467(0xa8)](),_0x5b1016=new k8s[(_0x31f467(0xa2))]();_0x5b1016['loadFromString'](_0x400f98);const _0x54d0be=_0x5b1016[_0x31f467(0xaa)](k8s[_0x31f467(0xae)]),_0x179a37=_0x5b1016['makeApiClient'](k8s[_0x31f467(0xb4)]),_0x363ace=_0x5b1016[_0x31f467(0xaa)](k8s[_0x31f467(0xa9)]),_0x8125b5=_0x5b1016[_0x31f467(0xaa)](k8s[_0x31f467(0xb3)]),_0x183838=_0x5b1016[_0x31f467(0xaa)](k8s[_0x31f467(0xb1)]);return[_0x54d0be,_0x179a37,_0x363ace,_0x8125b5,_0x183838,_0x5b1016];};
@@ -1 +1 @@
1
- const a27_0x587ba9=a27_0x3285;(function(_0x16f2cd,_0x1693be){const _0x182d91=a27_0x3285,_0x165246=_0x16f2cd();while(!![]){try{const _0x42bc18=-parseInt(_0x182d91(0x1e7))/0x1*(-parseInt(_0x182d91(0x1e3))/0x2)+-parseInt(_0x182d91(0x1e8))/0x3+-parseInt(_0x182d91(0x1e9))/0x4+-parseInt(_0x182d91(0x1dc))/0x5+parseInt(_0x182d91(0x1d5))/0x6+-parseInt(_0x182d91(0x1d3))/0x7*(-parseInt(_0x182d91(0x1d7))/0x8)+parseInt(_0x182d91(0x1da))/0x9*(parseInt(_0x182d91(0x1d8))/0xa);if(_0x42bc18===_0x1693be)break;else _0x165246['push'](_0x165246['shift']());}catch(_0x170fdd){_0x165246['push'](_0x165246['shift']());}}}(a27_0x3fac,0x77ee4));function a27_0x3285(_0x8f683d,_0x22707c){const _0x3fac26=a27_0x3fac();return a27_0x3285=function(_0x32850e,_0x21373d){_0x32850e=_0x32850e-0x1d3;let _0x5ca4e3=_0x3fac26[_0x32850e];return _0x5ca4e3;},a27_0x3285(_0x8f683d,_0x22707c);}const AWS=require(a27_0x587ba9(0x1e0))[a27_0x587ba9(0x1e6)],{logger}=require(a27_0x587ba9(0x1d6));function a27_0x3fac(){const _0x119f5a=['RHSsE','StackName','./AWSUtils','waitFor','promise','6xVezoT','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','deleteStack','awsObj','206697LwTFux','2638752KYndRX','2920896fXkuTJ','7zVizap','deleteClusterStack','3933120pLGCjL','../config/logger','400616oPSOTk','140VAnLnQ','debug','587853gcGxvs','dtPBN','695410DRBmcM','2010-05-15'];a27_0x3fac=function(){return _0x119f5a;};return a27_0x3fac();}exports[a27_0x587ba9(0x1d4)]=async _0x1f8339=>{const _0x4f42cb=a27_0x587ba9,_0x199fb9={};_0x199fb9[_0x4f42cb(0x1db)]=_0x4f42cb(0x1dd),_0x199fb9['MdwpJ']=_0x4f42cb(0x1e4),_0x199fb9[_0x4f42cb(0x1de)]='stackDeleteComplete';const _0xd4f170=_0x199fb9,_0x29563d={};_0x29563d['apiVersion']=_0xd4f170['dtPBN'];const _0x1fc1d4=new AWS['CloudFormation'](_0x29563d),_0x1a405c={};_0x1a405c[_0x4f42cb(0x1df)]=_0x1f8339;const _0x314367=_0x1a405c,_0x284b8e=await _0x1fc1d4[_0x4f42cb(0x1e5)](_0x314367)[_0x4f42cb(0x1e2)]();logger[_0x4f42cb(0x1d9)](_0xd4f170['MdwpJ']);const _0x52fcad={};return _0x52fcad[_0x4f42cb(0x1df)]=_0x1f8339,_0x1fc1d4[_0x4f42cb(0x1e1)](_0xd4f170['RHSsE'],_0x52fcad)[_0x4f42cb(0x1e2)]();};
1
+ const a27_0x1b6cf8=a27_0x354a;(function(_0x5deb07,_0x1ab5ac){const _0x450a48=a27_0x354a,_0x4db64c=_0x5deb07();while(!![]){try{const _0xe1e1af=parseInt(_0x450a48(0x86))/0x1+-parseInt(_0x450a48(0x91))/0x2+parseInt(_0x450a48(0x85))/0x3*(-parseInt(_0x450a48(0x89))/0x4)+-parseInt(_0x450a48(0x8a))/0x5+parseInt(_0x450a48(0x87))/0x6+parseInt(_0x450a48(0x95))/0x7*(parseInt(_0x450a48(0x81))/0x8)+-parseInt(_0x450a48(0x8b))/0x9;if(_0xe1e1af===_0x1ab5ac)break;else _0x4db64c['push'](_0x4db64c['shift']());}catch(_0x53b4d6){_0x4db64c['push'](_0x4db64c['shift']());}}}(a27_0x25f6,0x58ac8));const AWS=require(a27_0x1b6cf8(0x8f))[a27_0x1b6cf8(0x8d)],{logger}=require(a27_0x1b6cf8(0x82));function a27_0x354a(_0x585e27,_0xd9dc76){const _0x25f659=a27_0x25f6();return a27_0x354a=function(_0x354a6f,_0x5dbc49){_0x354a6f=_0x354a6f-0x7f;let _0x3a5e9a=_0x25f659[_0x354a6f];return _0x3a5e9a;},a27_0x354a(_0x585e27,_0xd9dc76);}function a27_0x25f6(){const _0x2be047=['promise','6796oVcfUX','1113835XTGUjT','6334857VgfnDa','deleteClusterStack','awsObj','StackName','./AWSUtils','UWfGc','730902gFEIUN','deleteStack','debug','BOPyt','28yngonR','waitFor','CloudFormation','897824kFrwQK','../config/logger','hyCSE','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','288hmTrYD','676537IvynKy','4157724AiUtlt'];a27_0x25f6=function(){return _0x2be047;};return a27_0x25f6();}exports[a27_0x1b6cf8(0x8c)]=async _0x22dc2a=>{const _0x2e3c11=a27_0x1b6cf8,_0x363501={};_0x363501[_0x2e3c11(0x90)]='2010-05-15',_0x363501[_0x2e3c11(0x83)]=_0x2e3c11(0x84),_0x363501[_0x2e3c11(0x94)]='stackDeleteComplete';const _0x313cbc=_0x363501,_0x4d9b9d={};_0x4d9b9d['apiVersion']=_0x313cbc['UWfGc'];const _0x146ab1=new AWS[(_0x2e3c11(0x80))](_0x4d9b9d),_0x506b9f={};_0x506b9f[_0x2e3c11(0x8e)]=_0x22dc2a;const _0x54f6a2=_0x506b9f,_0x5881ac=await _0x146ab1[_0x2e3c11(0x92)](_0x54f6a2)[_0x2e3c11(0x88)]();logger[_0x2e3c11(0x93)](_0x313cbc[_0x2e3c11(0x83)]);const _0x674b33={};return _0x674b33[_0x2e3c11(0x8e)]=_0x22dc2a,_0x146ab1[_0x2e3c11(0x7f)](_0x313cbc[_0x2e3c11(0x94)],_0x674b33)[_0x2e3c11(0x88)]();};
@@ -1 +1 @@
1
- const a28_0x17911e=a28_0x1a94;(function(_0x4335cf,_0x35431d){const _0x967b2=a28_0x1a94,_0x418cbe=_0x4335cf();while(!![]){try{const _0x12ebc2=parseInt(_0x967b2(0x1b2))/0x1*(parseInt(_0x967b2(0x1a1))/0x2)+parseInt(_0x967b2(0x268))/0x3+parseInt(_0x967b2(0x2b3))/0x4*(-parseInt(_0x967b2(0x18f))/0x5)+-parseInt(_0x967b2(0x18b))/0x6*(parseInt(_0x967b2(0x19e))/0x7)+-parseInt(_0x967b2(0x17a))/0x8+-parseInt(_0x967b2(0x19f))/0x9+-parseInt(_0x967b2(0x292))/0xa*(-parseInt(_0x967b2(0x1b5))/0xb);if(_0x12ebc2===_0x35431d)break;else _0x418cbe['push'](_0x418cbe['shift']());}catch(_0x1d9b6e){_0x418cbe['push'](_0x418cbe['shift']());}}}(a28_0x4128,0x677e4));const fs=require('fs'),yaml=require(a28_0x17911e(0x1ca)),path=require(a28_0x17911e(0x23a)),{v4:uuidv4}=require(a28_0x17911e(0x2af)),{logger}=require(a28_0x17911e(0x188)),{AG_API_URL,global_registry,CLUSTER_DEP_STACK_NAME,CLUSTER_AUTOSCALER_STACK_NAME,AZURE,GCP,TURBOSCALE_DEPLOYMENT}=require(a28_0x17911e(0x1af)),{deleteClusterStack}=require(a28_0x17911e(0x22f)),{kubeApply,waitForDeployment}=require(a28_0x17911e(0x1b1)),{delay}=require(a28_0x17911e(0x171)),applyTemplate=async(_0xf3e38d,_0x46c1f0,_0x4c8fc0={})=>{const _0x91f8f2=a28_0x17911e,_0x22f226={};_0x22f226[_0x91f8f2(0x21f)]='networking.gke.io/load-balancer-type:\x20\x22Internal\x22',_0x22f226['ZGSMk']=_0x91f8f2(0x187),_0x22f226['nSwPQ']=_0x91f8f2(0x2bc),_0x22f226['tcamG']=_0x91f8f2(0x1b7),_0x22f226[_0x91f8f2(0x1d4)]=_0x91f8f2(0x1e8),_0x22f226[_0x91f8f2(0x220)]=_0x91f8f2(0x229),_0x22f226[_0x91f8f2(0x1cf)]=function(_0x52cf70,_0x2f37a9){return _0x52cf70!=_0x2f37a9;},_0x22f226[_0x91f8f2(0x24f)]=function(_0x1e4166,_0x2e684d){return _0x1e4166!==_0x2e684d;},_0x22f226[_0x91f8f2(0x215)]=function(_0x2e1157,_0x171e5d){return _0x2e1157===_0x171e5d;},_0x22f226[_0x91f8f2(0x1b0)]=_0x91f8f2(0x174),_0x22f226['NeqYE']=function(_0x2400d3,_0x54bcf2){return _0x2400d3===_0x54bcf2;},_0x22f226[_0x91f8f2(0x277)]='xjFfb',_0x22f226[_0x91f8f2(0x29a)]=function(_0x2e5c81,_0x5b49dd){return _0x2e5c81===_0x5b49dd;},_0x22f226[_0x91f8f2(0x2a4)]=_0x91f8f2(0x1d6),_0x22f226[_0x91f8f2(0x246)]=_0x91f8f2(0x291),_0x22f226['quemZ']=function(_0x507bc7,_0x573975){return _0x507bc7===_0x573975;},_0x22f226[_0x91f8f2(0x281)]=function(_0x4ac8e0,_0x4bc790){return _0x4ac8e0===_0x4bc790;},_0x22f226[_0x91f8f2(0x260)]='hub-deployment.yaml',_0x22f226[_0x91f8f2(0x282)]=function(_0x5b673d,_0x387bfe){return _0x5b673d!==_0x387bfe;},_0x22f226[_0x91f8f2(0x17e)]=_0x91f8f2(0x1f1),_0x22f226[_0x91f8f2(0x1a6)]=_0x91f8f2(0x197);const _0x11f868=_0x22f226;let _0x3255d0=await fs[_0x91f8f2(0x230)](path['join'](__dirname,'..',_0x11f868[_0x91f8f2(0x275)],_0xf3e38d),_0x11f868['tcamG']);_0x3255d0=_0x3255d0['replace'](/<GridNamespace>/g,_0x46c1f0),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<BstackURL>/g,AG_API_URL),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<ClusterName>/g,global_registry[_0x91f8f2(0x1e3)]),_0x3255d0=_0x3255d0['replace'](/<BstackUsername>/g,global_registry[_0x91f8f2(0x279)]),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<BstackAccessKey>/g,global_registry['bstackAccesskey']),_0x3255d0=_0x3255d0['replace'](/<GridName>/g,global_registry[_0x91f8f2(0x20d)]),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<Region>/g,global_registry[_0x91f8f2(0x232)]),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<CloudProvider>/g,global_registry[_0x91f8f2(0x192)]),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<HubImageVersion>/g,global_registry[_0x91f8f2(0x1be)]),_0x3255d0=_0x3255d0['replace'](/<BrowserImageVersion>/g,global_registry[_0x91f8f2(0x29c)]),_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<PrivateGrid>/g,global_registry[_0x91f8f2(0x16a)]?_0x11f868[_0x91f8f2(0x1d4)]:_0x11f868[_0x91f8f2(0x220)]);_0x11f868[_0x91f8f2(0x1cf)](global_registry[_0x91f8f2(0x1f0)],null)&&_0x11f868[_0x91f8f2(0x24f)](global_registry[_0x91f8f2(0x1f0)],undefined)?_0x11f868[_0x91f8f2(0x215)](_0x11f868['MlVSc'],_0x11f868[_0x91f8f2(0x1b0)])?_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<GridProfileID>/g,global_registry[_0x91f8f2(0x1f0)]):_0x1ff53a=_0x5cdcfc[_0x91f8f2(0x216)](/<GridProfileID>/g,''):_0x11f868[_0x91f8f2(0x296)](_0x11f868[_0x91f8f2(0x277)],_0x11f868[_0x91f8f2(0x277)])?_0x3255d0=_0x3255d0[_0x91f8f2(0x216)](/<GridProfileID>/g,''):_0x1eaa71=_0x11f868[_0x91f8f2(0x21f)];const _0x326784=yaml[_0x91f8f2(0x1d7)](_0x3255d0);if(_0x11f868['NPAEH'](global_registry[_0x91f8f2(0x192)],AZURE)&&_0x11f868['TsLvF'](_0x4c8fc0[_0x11f868[_0x91f8f2(0x2a4)]],undefined)){if(_0x11f868['TsLvF'](_0x11f868[_0x91f8f2(0x246)],_0x11f868[_0x91f8f2(0x246)]))return!![];else{const _0xe28065={};_0xe28065[_0x91f8f2(0x2c0)]=''+_0x4c8fc0[_0x91f8f2(0x1d6)],_0x326784[_0x91f8f2(0x1bf)]={'annotations':_0xe28065,..._0x326784[_0x91f8f2(0x1bf)]};}}return _0x11f868['quemZ'](global_registry['cloudProvider'],AZURE)&&_0x11f868['pomEb'](_0xf3e38d,_0x11f868['mkqCt'])&&(_0x11f868[_0x91f8f2(0x282)](_0x11f868['NDGEz'],_0x11f868[_0x91f8f2(0x1a6)])?_0x326784[_0x91f8f2(0x235)]['template'][_0x91f8f2(0x1bf)]['labels']={'azure.workload.identity/use':_0x11f868[_0x91f8f2(0x1d4)],..._0x326784[_0x91f8f2(0x235)][_0x91f8f2(0x298)][_0x91f8f2(0x1bf)][_0x91f8f2(0x283)]}:_0x23f328=_0x11f868[_0x91f8f2(0x273)]),_0x326784;};function a28_0x4128(){const _0x5a6758=['536772ioeVhf','PMxKW','eQTem','dVayW','199970CpfNvl','Adding\x20VPC\x20CNI\x20CM','1|5|4|2|6|7|3|0','cloudProvider','Adding\x20MetricsServer\x20Deployment','qoqdl','WPCEa','OsfaW','bqflJ','Removing\x20grid\x20components','Deleting\x20Turboscale\x20Agent','turboscale-agent.yaml','Adding\x20Ingress','cert-manager.yaml','fSXby','7yGUIpy','6124869mKxteY','CbhRC','4uZGOKf','yxRgM','dlMRy','xtaXV','Uudnk','rQPJR','metrics-server','deleteClusterRoleBinding','LvzeQ','oXbkv','Adding\x20Autoscaler\x20namespacedRoleBinding','pejhx','body','Added\x20Nginx\x20Pods\x20and\x20deployments','../config/constants','MlVSc','./utilityMethods','369102ncQSgE','Adding\x20browser-node\x20service\x20account','sFOvG','432454kPouuw','btDAE','utf-8','hub-deployment.yaml','WAVSh','caagw','1|2|3|4|0','pods-and-services.yaml','Adding\x20Autoscaler\x20namespacedRole','hubVersion','metadata','GbeuQ','addAutoScalerComponents','info','createNamespacedRole','jIRRl','FRFby','cluster-role.yaml','srxpT','PZPAX','Adding\x20MetricsServer\x20Components','js-yaml','fSXmx','xVKls','namespace','Fkzhz','lExbD','role-binding.yaml','rvoWW','livRY','Imrhn','rIXie','Waiting\x20for\x20Cert\x20Manager\x20Deployments','clientId','load','jGpOh','eks.amazonaws.com/role-arn','metricsServerServiceExists','TOVQR','WhaUo','removeGridComponents','4|0|3|6|2|1|5','Deleting\x20','yuunY','Adding\x20MetricsServer\x20API\x20Service','Adding\x20Turboscale\x20Agent','clusterName','vsZhB','Oiylr','Adding\x20Nginx\x20Roles\x20and\x20Service\x20Accounts','WHPAZ','true','private-pods-and-services.yaml','xiArS','XUuhl','HAErQ','\x20&\x20','xcuBK','qobqw','gridProfileId','ERwEZ','vPqzY','createNamespacedServiceAccount','pWlot','Scaled\x20up\x20deployment','cluster-role-binding.yaml','gjPOG','wnQWo','ZogBS','sVCJJ','Deleted\x20clusterrolebinding','Zvtmh','qQOHY','all','DExZN','pdMSb','SDIaS','MJRtN','length','Gjmnr','BlnOy','oowyM','createClusterRole','pLYLZ','deleteNamespace','AzpiZ','dfFzp','rpAlu','gridName','GCmOV','STSqj','NNjIK','name','uid','hub-service.yaml','nozag','cPXKY','replace','fVYep','AcvHp','createNamespacedRoleBinding','dBGmZ','cfBhS','Adding\x20MetricsServer\x20clusterRole\x20for\x20aggregated\x20reader','jeVEU','crds.yaml','xtiLg','MNyBA','cert-manager-cainjector','cHsXU','123456','gHAUH','createNamespacedDeployment','sfSUz','JWHeO','PwdcK','false','HNJzp','TsFsC','uXmpe','Adding\x20Nginx\x20Pods\x20and\x20deployments','nfWmw','./deleteStack','readFileAsync','Adding\x20Autoscaler\x20clusterRole','clusterRegion','EbosW','ZQqSW','spec','lCwWf','Scaling\x20down\x20deployment','helper.yaml','QeOeT','path','FroLt','uDLLK','kuVYm','Added\x20Cert\x20Manager\x20CRDs','MTIkN','Adding\x20default\x20service\x20account','qFATP','Scaled\x20down\x20deployment','WWSZC','Adding\x20Cert\x20Manager','vpc-cni-cm.yaml','YVhDr','api-service.yaml','Adding\x20MetricsServer\x20namespacedRoleBinding','cbwiJ','clusterissuer.yaml','KISAC','nsVNX','zxiTw','naqDF','TsLvF','nWrfR','BGasG','FmwXL','LZmOo','readNamespacedDeployment','uktOI','kube-system','Added\x20Turboscale\x20Agent','0|5|3|1|7|9|6|8|2|4','replicas','lXGtV','pXtkD','NbvVR','Added\x20Nginx\x20Roles\x20and\x20Service\x20Accounts','wCoKV','Added\x20Cert\x20Issuer','mkqCt','ocpnx','Adding\x20Autoscaler\x20clusterRoleBinding','loadAll','ZHQVU','QPspv','QWaAm','MPCRV','1318209xAIOUg','zRNmz','Deleted\x20Turboscale\x20Agent','rbUHz','Adding\x20MetricsServer\x20clusterRole','Deleted\x20cluster\x20and\x20linked\x20resources\x20successfully','Adding\x20MetricsServer\x20Service\x20Account','jtjfJ','16|7|12|8|9|4|2|13|15|3|14|5|18|17|6|11|0|10|1','Jdfda','nPWdJ','ZGSMk','debug','nSwPQ','Added\x20hubdeployment','yFLzk','MvNAv','bstackUsername','networking.gke.io/load-balancer-type:\x20\x22Internal\x22','readNamespace','Adding\x20MetricsServer\x20Service','SjjSx','service.beta.kubernetes.io/azure-load-balancer-internal:\x20\x22true\x22','BbTlE','JlwkM','pomEb','RNtBD','labels','uKzzI','CQEOM','YJOeu','split','GDIaM','xZeQZ','autoscaler','\x20cloudformation\x20stacks\x20from\x20region\x20','items','role.yaml','scNBu','WfpYS','browser-node-cluster-role.yaml','ardax','70uYjUPb','createClusterRoleBinding','clusterrole.yaml','Added\x20clusterrolebinding','NeqYE','vcwBS','template','ShvDl','NPAEH','vGghy','browserVersion','qQAkV','Adding\x20Cert\x20Issuer','private-ingress-nginx-controller','BwtTs','znNUW','kJJRk','mmVFz','dNCta','Adding\x20hubdeployment','LPswg','FgReE','Added\x20browser-node-role-binding\x20role\x20binding','AMMid','SzjRC','default','Adding\x20clusterrolebinding','qjoKX','GRmDB','uuid','JTuxb','join','deleteClusterAndDependencies','8hZejGn','message','nginx-private','RbTUQ','deSiY','browser-node-cluster-role-binding.yaml','LMlMP','fWZSw','namespaceExists','templates','JmiBe','DTIeg','Scaling\x20up\x20deployment','azure.workload.identity/client-id','OYqKp','LdVBR','HvcAD','vztMx','YwFtU','statusCode','createNamespacedService','hXGEI','LbGdf','code','isPrivateGrid','deployment.yaml','AMZaJ','NYXNK','ingress.yaml','ingress-nginx','TtIJb','../utils/webSocketUtils','gOHcb','kHeMI','snJUT','mNSjz','Removed\x20grid\x20components','uHeUu','KLstk','Added\x20Cert\x20Manager','1431248LgATOb','ePJFz','MUlgX','addMetricServerComponents','NDGEz','uKloy','UYhnH','Adding\x20Autoscaler\x20Components','replaceNamespacedDeployment','<ClusterName>','Added\x20browser-node-role\x20cluster\x20role','cert-manager-webhook','Added\x20Ingress','service.beta.kubernetes.io/aws-load-balancer-internal:\x20\x22true\x22','../config/logger','fcjPc','browserstack'];a28_0x4128=function(){return _0x5a6758;};return a28_0x4128();}function a28_0x1a94(_0x35ab3b,_0x531f5c){const _0x41282b=a28_0x4128();return a28_0x1a94=function(_0x1a94fa,_0x49475a){_0x1a94fa=_0x1a94fa-0x165;let _0x3f9b7f=_0x41282b[_0x1a94fa];return _0x3f9b7f;},a28_0x1a94(_0x35ab3b,_0x531f5c);}exports['addAutoScalerComponents']=async(_0x1f46db,_0x5c6f78,_0x18398d,_0x48c905,_0x40ae40,_0x59a51b,_0x57e761)=>{const _0x128cc7=a28_0x17911e,_0x462371={};_0x462371['BbTlE']='Adding\x20Autoscaler\x20Service\x20Account',_0x462371[_0x128cc7(0x1a2)]=_0x128cc7(0x2bc),_0x462371[_0x128cc7(0x24d)]=_0x128cc7(0x28a),_0x462371[_0x128cc7(0x228)]='sa.yaml',_0x462371[_0x128cc7(0x1f7)]='utf-8',_0x462371[_0x128cc7(0x2ad)]=_0x128cc7(0x1d9),_0x462371[_0x128cc7(0x218)]=_0x128cc7(0x256),_0x462371[_0x128cc7(0x17c)]=_0x128cc7(0x231),_0x462371[_0x128cc7(0x272)]=_0x128cc7(0x294),_0x462371[_0x128cc7(0x286)]=_0x128cc7(0x1bd),_0x462371[_0x128cc7(0x16c)]=_0x128cc7(0x28d),_0x462371['nSdnE']=_0x128cc7(0x262),_0x462371[_0x128cc7(0x267)]='cluster-role-binding.yaml',_0x462371[_0x128cc7(0x2c2)]=_0x128cc7(0x1ab),_0x462371[_0x128cc7(0x1b4)]='role-binding.yaml',_0x462371[_0x128cc7(0x1fc)]='Adding\x20Autoscaler\x20Deployment',_0x462371[_0x128cc7(0x239)]=_0x128cc7(0x16b),_0x462371[_0x128cc7(0x1a3)]=_0x128cc7(0x183);const _0x334765=_0x462371;let _0x1b3ed5=null,_0x3a9791=null;logger['info'](_0x334765[_0x128cc7(0x27f)]),_0x3a9791=await fs[_0x128cc7(0x230)](path[_0x128cc7(0x2b1)](__dirname,'..',_0x334765[_0x128cc7(0x1a2)],_0x334765[_0x128cc7(0x24d)],_0x334765[_0x128cc7(0x228)]),_0x334765[_0x128cc7(0x1f7)]),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791),_0x1b3ed5['metadata']['annotations'][_0x334765[_0x128cc7(0x2ad)]]=_0x57e761;const _0x18f895={};_0x18f895[_0x128cc7(0x1cd)]=_0x334765['AcvHp'],_0x18f895[_0x128cc7(0x1ad)]=_0x1b3ed5,await _0x1f46db[_0x128cc7(0x1f3)](_0x18f895),logger[_0x128cc7(0x1c2)](_0x334765['MUlgX']),_0x3a9791=await fs[_0x128cc7(0x230)](path[_0x128cc7(0x2b1)](__dirname,'..',_0x334765[_0x128cc7(0x1a2)],_0x334765[_0x128cc7(0x24d)],_0x334765['nPWdJ']),_0x334765[_0x128cc7(0x1f7)]),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791);const _0x5d1c76={};_0x5d1c76[_0x128cc7(0x1ad)]=_0x1b3ed5,await _0x48c905[_0x128cc7(0x207)](_0x5d1c76),logger['info'](_0x334765[_0x128cc7(0x286)]),_0x3a9791=await fs[_0x128cc7(0x230)](path[_0x128cc7(0x2b1)](__dirname,'..',_0x334765['yxRgM'],_0x334765['zxiTw'],_0x334765[_0x128cc7(0x16c)]),_0x334765['gjPOG']),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791);const _0x134614={};_0x134614[_0x128cc7(0x1cd)]=_0x334765[_0x128cc7(0x218)],_0x134614['body']=_0x1b3ed5,await _0x48c905[_0x128cc7(0x1c3)](_0x134614),logger['info'](_0x334765['nSdnE']),_0x3a9791=await fs['readFileAsync'](path['join'](__dirname,'..',_0x334765[_0x128cc7(0x1a2)],_0x334765[_0x128cc7(0x24d)],_0x334765[_0x128cc7(0x267)]),_0x334765['gjPOG']),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791);const _0x3b3054={};_0x3b3054[_0x128cc7(0x1ad)]=_0x1b3ed5,await _0x48c905[_0x128cc7(0x293)](_0x3b3054),logger[_0x128cc7(0x1c2)](_0x334765[_0x128cc7(0x2c2)]),_0x3a9791=await fs['readFileAsync'](path['join'](__dirname,'..',_0x334765[_0x128cc7(0x1a2)],_0x334765['zxiTw'],_0x334765[_0x128cc7(0x1b4)]),_0x334765[_0x128cc7(0x1f7)]),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791);const _0x1e357e={};_0x1e357e['namespace']=_0x334765[_0x128cc7(0x218)],_0x1e357e[_0x128cc7(0x1ad)]=_0x1b3ed5,await _0x48c905[_0x128cc7(0x219)](_0x1e357e),logger[_0x128cc7(0x1c2)](_0x334765[_0x128cc7(0x1fc)]),_0x3a9791=await fs[_0x128cc7(0x230)](path[_0x128cc7(0x2b1)](__dirname,'..',_0x334765[_0x128cc7(0x1a2)],_0x334765[_0x128cc7(0x24d)],_0x334765['QeOeT']),_0x334765[_0x128cc7(0x1f7)]),_0x3a9791=_0x3a9791[_0x128cc7(0x216)](_0x334765[_0x128cc7(0x1a3)],_0x59a51b),_0x1b3ed5=yaml[_0x128cc7(0x1d7)](_0x3a9791);const _0x37b60b={};_0x37b60b[_0x128cc7(0x1cd)]=_0x334765[_0x128cc7(0x218)],_0x37b60b[_0x128cc7(0x1ad)]=_0x1b3ed5,await _0x5c6f78[_0x128cc7(0x225)](_0x37b60b);},exports[a28_0x17911e(0x17d)]=async(_0x5c389b,_0x2a0a10,_0xcbaae9,_0x1f6d02)=>{const _0x1d8b3f=a28_0x17911e,_0x19b3e7={};_0x19b3e7[_0x1d8b3f(0x217)]=_0x1d8b3f(0x26e),_0x19b3e7[_0x1d8b3f(0x24e)]=_0x1d8b3f(0x2bc),_0x19b3e7[_0x1d8b3f(0x251)]='metrics-server',_0x19b3e7[_0x1d8b3f(0x170)]='service-account.yaml',_0x19b3e7[_0x1d8b3f(0x233)]='utf-8',_0x19b3e7[_0x1d8b3f(0x249)]=_0x1d8b3f(0x256),_0x19b3e7['JTuxb']=_0x1d8b3f(0x21c),_0x19b3e7[_0x1d8b3f(0x22b)]='cluster-role-aggregated-reader.yaml',_0x19b3e7[_0x1d8b3f(0x22e)]=_0x1d8b3f(0x26c),_0x19b3e7[_0x1d8b3f(0x1aa)]=_0x1d8b3f(0x1c6),_0x19b3e7[_0x1d8b3f(0x1c5)]=_0x1d8b3f(0x248),_0x19b3e7[_0x1d8b3f(0x2a2)]=_0x1d8b3f(0x1d0),_0x19b3e7['Gjmnr']='Adding\x20MetricsServer\x20clusterRoleBinding',_0x19b3e7[_0x1d8b3f(0x27d)]='cluster-role-binding-auth-delegator.yaml',_0x19b3e7['vztMx']=_0x1d8b3f(0x1f6),_0x19b3e7[_0x1d8b3f(0x1c0)]=_0x1d8b3f(0x27c),_0x19b3e7[_0x1d8b3f(0x19d)]='service.yaml',_0x19b3e7['NXUsz']=_0x1d8b3f(0x193),_0x19b3e7[_0x1d8b3f(0x180)]=_0x1d8b3f(0x16b),_0x19b3e7[_0x1d8b3f(0x2b9)]=_0x1d8b3f(0x1e1),_0x19b3e7['AzpiZ']=_0x1d8b3f(0x247);const _0x5e365a=_0x19b3e7;logger[_0x1d8b3f(0x1c2)](_0x5e365a['fVYep']);let _0x50a95e=await fs['readFileAsync'](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a[_0x1d8b3f(0x170)]),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x177792={};_0x177792[_0x1d8b3f(0x1cd)]=_0x5e365a['cbwiJ'],_0x177792['body']=_0x11109a,await _0x5c389b[_0x1d8b3f(0x1f3)](_0x177792),logger[_0x1d8b3f(0x1c2)](_0x5e365a[_0x1d8b3f(0x2b0)]),_0x50a95e=await fs[_0x1d8b3f(0x230)](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a['naqDF'],_0x5e365a['BGasG'],_0x5e365a['TsFsC']),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x13b8c1={};_0x13b8c1[_0x1d8b3f(0x1ad)]=_0x11109a,await _0xcbaae9[_0x1d8b3f(0x207)](_0x13b8c1),logger[_0x1d8b3f(0x1c2)](_0x5e365a[_0x1d8b3f(0x22e)]),_0x50a95e=await fs['readFileAsync'](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a['oXbkv']),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x290a54={};_0x290a54[_0x1d8b3f(0x1ad)]=_0x11109a,await _0xcbaae9[_0x1d8b3f(0x207)](_0x290a54),logger['info'](_0x5e365a[_0x1d8b3f(0x1c5)]),_0x50a95e=await fs[_0x1d8b3f(0x230)](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a['kJJRk']),_0x5e365a['EbosW']),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x771566={};_0x771566[_0x1d8b3f(0x1cd)]=_0x5e365a[_0x1d8b3f(0x249)],_0x771566['body']=_0x11109a,await _0xcbaae9['createNamespacedRoleBinding'](_0x771566),logger[_0x1d8b3f(0x1c2)](_0x5e365a[_0x1d8b3f(0x204)]),_0x50a95e=await fs['readFileAsync'](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a[_0x1d8b3f(0x27d)]),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x4d928b={};_0x4d928b[_0x1d8b3f(0x1ad)]=_0x11109a,await _0xcbaae9[_0x1d8b3f(0x293)](_0x4d928b),logger[_0x1d8b3f(0x1c2)](_0x5e365a[_0x1d8b3f(0x204)]),_0x50a95e=await fs[_0x1d8b3f(0x230)](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a['naqDF'],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a[_0x1d8b3f(0x2c4)]),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x4fe6b4={};_0x4fe6b4['body']=_0x11109a,await _0xcbaae9[_0x1d8b3f(0x293)](_0x4fe6b4),logger[_0x1d8b3f(0x1c2)](_0x5e365a[_0x1d8b3f(0x1c0)]),_0x50a95e=await fs[_0x1d8b3f(0x230)](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a['fSXby']),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml['load'](_0x50a95e);const _0x4f4b34={};_0x4f4b34['namespace']=_0x5e365a[_0x1d8b3f(0x249)],_0x4f4b34[_0x1d8b3f(0x1ad)]=_0x11109a,await _0x5c389b['createNamespacedService'](_0x4f4b34),logger[_0x1d8b3f(0x1c2)](_0x5e365a['NXUsz']),_0x50a95e=await fs[_0x1d8b3f(0x230)](path['join'](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a[_0x1d8b3f(0x180)]),_0x5e365a['EbosW']),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x31d66d={};_0x31d66d[_0x1d8b3f(0x1cd)]=_0x5e365a[_0x1d8b3f(0x249)],_0x31d66d['body']=_0x11109a,await _0x2a0a10[_0x1d8b3f(0x225)](_0x31d66d),logger[_0x1d8b3f(0x1c2)](_0x5e365a['LMlMP']),_0x50a95e=await fs['readFileAsync'](path[_0x1d8b3f(0x2b1)](__dirname,'..',_0x5e365a[_0x1d8b3f(0x24e)],_0x5e365a[_0x1d8b3f(0x251)],_0x5e365a[_0x1d8b3f(0x20a)]),_0x5e365a[_0x1d8b3f(0x233)]),_0x11109a=yaml[_0x1d8b3f(0x1d7)](_0x50a95e);const _0x30ef01={};_0x30ef01[_0x1d8b3f(0x1ad)]=_0x11109a,await _0x1f6d02['createAPIService'](_0x30ef01);},exports[a28_0x17911e(0x1da)]=async _0x3228ae=>{const _0x50bccf=a28_0x17911e,_0x4b2543={};_0x4b2543['qobqw']=_0x50bccf(0x256),_0x4b2543['nWrfR']=function(_0x28ea1d,_0x1bd2b2){return _0x28ea1d<_0x1bd2b2;},_0x4b2543[_0x50bccf(0x28f)]=function(_0x729858,_0x2003a6){return _0x729858===_0x2003a6;},_0x4b2543['KnhyP']='rijrv',_0x4b2543['vsZhB']=_0x50bccf(0x23d),_0x4b2543['sfSUz']=function(_0x30142e,_0x4c4174){return _0x30142e===_0x4c4174;},_0x4b2543[_0x50bccf(0x1ff)]=_0x50bccf(0x1a7),_0x4b2543[_0x50bccf(0x20b)]=function(_0x62cece,_0x35ea07){return _0x62cece!==_0x35ea07;},_0x4b2543[_0x50bccf(0x2a1)]='iTvKA';const _0x19a6ce=_0x4b2543,_0x53629e={};_0x53629e[_0x50bccf(0x1cd)]=_0x19a6ce[_0x50bccf(0x1ef)];const _0x1513d1=await _0x3228ae['listNamespacedService'](_0x53629e),_0x3e9bbc=_0x1513d1?.[_0x50bccf(0x28c)];for(let _0x4daa7a=0x0;_0x19a6ce[_0x50bccf(0x250)](_0x4daa7a,_0x3e9bbc[_0x50bccf(0x203)]);_0x4daa7a++){if(_0x19a6ce[_0x50bccf(0x28f)](_0x19a6ce['KnhyP'],_0x19a6ce[_0x50bccf(0x1e4)]))return![];else{if(_0x19a6ce[_0x50bccf(0x226)](_0x3e9bbc[_0x4daa7a][_0x50bccf(0x1bf)][_0x50bccf(0x211)],_0x19a6ce[_0x50bccf(0x1ff)])){if(_0x19a6ce[_0x50bccf(0x20b)](_0x19a6ce[_0x50bccf(0x2a1)],_0x19a6ce[_0x50bccf(0x2a1)]))throw _0x467ebe;else return!![];}}}return![];},exports['namespaceExists']=async(_0x58236f,_0x25809d)=>{const _0xb46ee9=a28_0x17911e,_0x1f4f26={};_0x1f4f26[_0xb46ee9(0x1d1)]=function(_0x154e57,_0x8926f8){return _0x154e57===_0x8926f8;},_0x1f4f26[_0xb46ee9(0x23b)]=function(_0x372c7c,_0x2e4d59){return _0x372c7c===_0x2e4d59;},_0x1f4f26['pWlot']='metrics-server',_0x1f4f26[_0xb46ee9(0x1c8)]=function(_0x3e1a4e,_0x1bc226){return _0x3e1a4e!==_0x1bc226;},_0x1f4f26['uKloy']=_0xb46ee9(0x21a),_0x1f4f26[_0xb46ee9(0x18d)]=function(_0x4c9b93,_0x20141c){return _0x4c9b93!==_0x20141c;},_0x1f4f26[_0xb46ee9(0x25e)]=_0xb46ee9(0x29b);const _0x4e767d=_0x1f4f26;try{if(_0x4e767d[_0xb46ee9(0x1c8)](_0x4e767d[_0xb46ee9(0x17f)],_0x4e767d['uKloy'])){if(_0x4e767d[_0xb46ee9(0x1d1)](_0x155fe3[_0xb46ee9(0x165)],0x199)||_0x4e767d[_0xb46ee9(0x23b)](_0xb84f95[_0xb46ee9(0x169)],0x199))_0x16771f[_0xb46ee9(0x274)](_0x31c31c[_0xb46ee9(0x2b4)]);else throw _0x22e7b5;}else{const _0x481b6c={};_0x481b6c[_0xb46ee9(0x211)]=_0x25809d;const _0x3b5cd5=await _0x58236f[_0xb46ee9(0x27b)](_0x481b6c);return!![];}}catch(_0x5ebf27){if(_0x4e767d[_0xb46ee9(0x18d)](_0x4e767d['wCoKV'],_0x4e767d[_0xb46ee9(0x25e)])){if(_0x4e767d[_0xb46ee9(0x1d1)](_0x55d37d[_0x187218][_0xb46ee9(0x1bf)][_0xb46ee9(0x211)],_0x4e767d[_0xb46ee9(0x1f4)]))return!![];}else return![];}},exports['getNamespaceUID']=async(_0x1045ce,_0x17ea55)=>{const _0x2d3715=a28_0x17911e,_0xa4d81c={};_0xa4d81c[_0x2d3715(0x195)]=_0x2d3715(0x27e),_0xa4d81c[_0x2d3715(0x284)]='true',_0xa4d81c['pdMSb']=function(_0x44cd8d,_0x333888){return _0x44cd8d!==_0x333888;},_0xa4d81c[_0x2d3715(0x1e0)]='gnDoR',_0xa4d81c[_0x2d3715(0x20e)]='sFcgk',_0xa4d81c['BwtTs']=function(_0x4d7e6a,_0x54cbf7){return _0x4d7e6a!==_0x54cbf7;},_0xa4d81c['WAVSh']=_0x2d3715(0x196),_0xa4d81c[_0x2d3715(0x289)]='ORTEE',_0xa4d81c['xtaXV']=_0x2d3715(0x223);const _0x441bad=_0xa4d81c;try{if(_0x441bad[_0x2d3715(0x200)](_0x441bad[_0x2d3715(0x1e0)],_0x441bad[_0x2d3715(0x20e)])){const _0x4d33d0={};_0x4d33d0[_0x2d3715(0x211)]=_0x17ea55;const _0x91722c=await _0x1045ce['readNamespace'](_0x4d33d0),_0x5bbbbd=_0x91722c?.['metadata']?.[_0x2d3715(0x212)];return _0x5bbbbd;}else _0x451a08=_0x441bad['WPCEa'];}catch(_0x3209f2){if(_0x441bad[_0x2d3715(0x2a0)](_0x441bad[_0x2d3715(0x1b9)],_0x441bad[_0x2d3715(0x289)]))return _0x441bad[_0x2d3715(0x1a4)];else{const _0x50b4ad={'azure.workload.identity/use':_0x441bad[_0x2d3715(0x284)],..._0x25998f['spec'][_0x2d3715(0x298)]['metadata'][_0x2d3715(0x283)]};_0x561929[_0x2d3715(0x235)][_0x2d3715(0x298)][_0x2d3715(0x1bf)][_0x2d3715(0x283)]=_0x50b4ad;}}},exports['addGridComponents']=async(_0x2e32e1,_0x5accdb,_0x39879e,_0x15a0f8,_0x59c16c,_0x582a6c,_0x4162f5,_0x55f7b0,_0x3530b4,_0x353840={},_0x50b60a)=>{const _0x599ea2=a28_0x17911e,_0x4b48f0={'aMQvB':'123456','OYqKp':_0x599ea2(0x2ac),'rbUHz':function(_0x40e3bb,_0x34f87a,_0x252be8){return _0x40e3bb(_0x34f87a,_0x252be8);},'mmVFz':_0x599ea2(0x1f6),'mmPwK':_0x599ea2(0x295),'YOiSm':function(_0x414fd7,_0x51f450){return _0x414fd7!=_0x51f450;},'KLstk':function(_0x4e3279,_0x183bbc){return _0x4e3279!==_0x183bbc;},'lCwWf':function(_0xd80265,_0x3eb110){return _0xd80265!==_0x3eb110;},'uDLLK':_0x599ea2(0x1ce),'sZBKy':_0x599ea2(0x278),'fcjPc':_0x599ea2(0x181),'HAErQ':'Added\x20Autoscaler\x20Components','XUuhl':function(_0x37ca49,_0x125e90){return _0x37ca49!==_0x125e90;},'vPqzY':_0x599ea2(0x224),'HvcAD':'DSXMS','ePJFz':_0x599ea2(0x1c9),'NYXNK':'Added\x20MetricsServer\x20Components','GRmDB':function(_0x391047,_0x5db575){return _0x391047!==_0x5db575;},'ZogBS':_0x599ea2(0x1cc),'vthjZ':_0x599ea2(0x1b3),'JWHeO':function(_0x478c79,_0x1d006f,_0x309267,_0x35a1f4){return _0x478c79(_0x1d006f,_0x309267,_0x35a1f4);},'uktOI':'browser-node-service-account.yaml','fWZSw':'Added\x20browser-node\x20service\x20account','GDIaM':function(_0x16135e,_0x61377b){return _0x16135e===_0x61377b;},'hXGEI':_0x599ea2(0x1e5),'QWaAm':_0x599ea2(0x240),'QzUBB':function(_0x26c45c,_0x54bcc1,_0x5eb5c6,_0x5be5bd){return _0x26c45c(_0x54bcc1,_0x5eb5c6,_0x5be5bd);},'LvzeQ':'default-service-account.yaml','lXGtV':_0x599ea2(0x2ab),'qQAkV':'Added\x20default\x20service\x20account','kHeMI':'Adding\x20browser-node-role\x20cluster\x20role','uXmpe':function(_0x4a9402,_0x8e282f,_0x52980f){return _0x4a9402(_0x8e282f,_0x52980f);},'prKUV':_0x599ea2(0x290),'oowyM':_0x599ea2(0x184),'QPspv':'Adding\x20browser-node-role-binding\x20role\x20binding','LZmOo':_0x599ea2(0x2b8),'btDAE':_0x599ea2(0x2a8),'jIRRl':_0x599ea2(0x16f),'nozag':_0x599ea2(0x258),'nsVNX':_0x599ea2(0x1e6),'Jdfda':function(_0x5c8576,_0x51df18,_0x11114e){return _0x5c8576(_0x51df18,_0x11114e);},'STSqj':function(_0xf08df8,_0x4a160e,_0x1ecd01){return _0xf08df8(_0x4a160e,_0x1ecd01);},'xtjeL':_0x599ea2(0x1ae),'gOHcb':'templates','KISAC':'nginx','qoqdl':_0x599ea2(0x238),'qQOHY':_0x599ea2(0x1b7),'BAdJH':_0x599ea2(0x1bc),'xiArS':_0x599ea2(0x25d),'qFATP':_0x599ea2(0x22d),'LgcVa':'Adding\x20Nginx\x20Private\x20Pods\x20and\x20Services','WhaUo':function(_0x353eff,_0x37fe44){return _0x353eff===_0x37fe44;},'cfBhS':_0x599ea2(0x27e),'JlwkM':function(_0x61224f,_0x25c8e8){return _0x61224f===_0x25c8e8;},'KHory':_0x599ea2(0x27a),'sVCJJ':'service.beta.kubernetes.io/aws-load-balancer-internal:\x20\x22true\x22','jGpOh':_0x599ea2(0x1e9),'cHsXU':function(_0x2b6dcf,_0x5b6eb4,_0x326800){return _0x2b6dcf(_0x5b6eb4,_0x326800);},'LPswg':'Added\x20Nginx\x20Private\x20Pods\x20and\x20deployments','pejhx':_0x599ea2(0x1bb),'NNjIK':'Added\x20VPC\x20CNI\x20ConfigMaps','hchCY':_0x599ea2(0x190),'Imrhn':_0x599ea2(0x245),'PMxKW':function(_0x281411,_0x1d18df,_0x1aeb15){return _0x281411(_0x1d18df,_0x1aeb15);},'SDIaS':'cert-manager','YFQWy':_0x599ea2(0x270),'MTIkN':_0x599ea2(0x25f),'wnQWo':_0x599ea2(0x19c),'pLYLZ':_0x599ea2(0x179),'zRNmz':_0x599ea2(0x244),'deSiY':function(_0x3c78aa,_0x163277,_0x47d2b3,_0x5c864f,_0x43ee21){return _0x3c78aa(_0x163277,_0x47d2b3,_0x5c864f,_0x43ee21);},'JmiBe':_0x599ea2(0x221),'UjgHJ':_0x599ea2(0x29e),'fSXmx':_0x599ea2(0x21e),'FgReE':function(_0x41441b,_0x34f635,_0x492355){return _0x41441b(_0x34f635,_0x492355);},'uHeUu':_0x599ea2(0x23e),'jtjfJ':_0x599ea2(0x24a),'iMhRh':_0x599ea2(0x1d5),'MJRtN':'Adding\x20Cert\x20Manager\x20CRDs','CbhRC':_0x599ea2(0x185),'OEFHo':'browserstack','ZHQVU':_0x599ea2(0x191),'FmwXL':_0x599ea2(0x257),'LbGdf':_0x599ea2(0x1e2),'YWgNc':_0x599ea2(0x19a),'rpAlu':'Adding\x20hubservice','CQEOM':_0x599ea2(0x213),'WWSZC':'Added\x20hubservice','livRY':_0x599ea2(0x2a5),'mpfWZ':_0x599ea2(0x1b8),'PXkDS':_0x599ea2(0x276),'BlnOy':_0x599ea2(0x19b),'BsvNC':function(_0x11d459,_0x103da3,_0x178aaf,_0x32063d,_0x58141d){return _0x11d459(_0x103da3,_0x178aaf,_0x32063d,_0x58141d);},'RbTUQ':'ingress-nginx-controller','xcuBK':_0x599ea2(0x29f),'caagw':_0x599ea2(0x16e),'vbtUs':_0x599ea2(0x2b5),'ocpnx':_0x599ea2(0x186),'cuqyg':function(_0x5ae64a,_0x658fb6){return _0x5ae64a(_0x658fb6);}};let _0x4fb514=null,_0x5eb908=null;logger['info'](_0x4b48f0[_0x599ea2(0x2c1)]),_0x4fb514=await _0x4b48f0[_0x599ea2(0x26b)](applyTemplate,_0x4b48f0[_0x599ea2(0x2a3)],_0x59c16c);const _0x3653f9={};_0x3653f9['body']=_0x4fb514,await _0x15a0f8['createClusterRoleBinding'](_0x3653f9),logger[_0x599ea2(0x1c2)](_0x4b48f0['mmPwK']);if(_0x4b48f0['YOiSm'](_0x4162f5,null)&&_0x4b48f0[_0x599ea2(0x178)](_0x4162f5,undefined)){if(_0x4b48f0[_0x599ea2(0x236)](_0x4b48f0[_0x599ea2(0x23c)],_0x4b48f0['sZBKy']))logger['info'](_0x4b48f0[_0x599ea2(0x189)]),await this[_0x599ea2(0x1c1)](_0x2e32e1,_0x5accdb,_0x39879e,_0x15a0f8,_0x59c16c,_0x582a6c,_0x4162f5),logger['info'](_0x4b48f0[_0x599ea2(0x1ec)]);else return _0x4b48f0['aMQvB'];}const _0x5c5664=await this[_0x599ea2(0x1da)](_0x2e32e1);!_0x5c5664&&(_0x4b48f0[_0x599ea2(0x1eb)](_0x4b48f0[_0x599ea2(0x1f2)],_0x4b48f0[_0x599ea2(0x2c3)])?(logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x17b)]),await this[_0x599ea2(0x17d)](_0x2e32e1,_0x5accdb,_0x15a0f8,_0x55f7b0),logger['info'](_0x4b48f0[_0x599ea2(0x16d)])):_0x383d56[_0x599ea2(0x274)](_0x5b7cb8[_0x599ea2(0x2b4)]));try{if(_0x4b48f0['GRmDB'](_0x4b48f0[_0x599ea2(0x1f9)],_0x4b48f0['ZogBS'])){const _0x2dc41d={};_0x2dc41d[_0x599ea2(0x2c0)]=''+_0x372cb8[_0x599ea2(0x1d6)];const _0x1aa1db={'annotations':_0x2dc41d,..._0x1c1a8a['metadata']};_0xf974e5['metadata']=_0x1aa1db;}else{logger[_0x599ea2(0x1c2)](_0x4b48f0['vthjZ']),_0x4fb514=await _0x4b48f0[_0x599ea2(0x227)](applyTemplate,_0x4b48f0[_0x599ea2(0x255)],_0x59c16c,_0x353840);const _0x596566={};_0x596566[_0x599ea2(0x1cd)]=_0x59c16c,_0x596566['body']=_0x4fb514,await _0x2e32e1[_0x599ea2(0x1f3)](_0x596566),logger['info'](_0x4b48f0[_0x599ea2(0x2ba)]);if(_0x4b48f0[_0x599ea2(0x288)](global_registry['cloudProvider'],AZURE)){if(_0x4b48f0[_0x599ea2(0x2ae)](_0x4b48f0[_0x599ea2(0x167)],_0x4b48f0[_0x599ea2(0x167)]))_0x14fb7e=_0x4160c5['replace'](/<GridProfileID>/g,_0x140484[_0x599ea2(0x1f0)]);else{logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x266)]),_0x4fb514=await _0x4b48f0['QzUBB'](applyTemplate,_0x4b48f0[_0x599ea2(0x1a9)],_0x59c16c,_0x353840);const _0x8e51e1={};_0x8e51e1[_0x599ea2(0x211)]=_0x4b48f0[_0x599ea2(0x25a)],_0x8e51e1['namespace']=_0x59c16c,_0x8e51e1[_0x599ea2(0x1ad)]=_0x4fb514,await _0x2e32e1['replaceNamespacedServiceAccount'](_0x8e51e1),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x29d)]);}}logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x173)]),_0x4fb514=await _0x4b48f0['uXmpe'](applyTemplate,_0x4b48f0['prKUV'],_0x59c16c);const _0x14e1cf={};_0x14e1cf[_0x599ea2(0x1ad)]=_0x4fb514,await _0x15a0f8[_0x599ea2(0x207)](_0x14e1cf),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x206)]),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x265)]),_0x4fb514=await _0x4b48f0[_0x599ea2(0x22c)](applyTemplate,_0x4b48f0[_0x599ea2(0x253)],_0x59c16c);const _0x5ec722={};_0x5ec722['body']=_0x4fb514,await _0x15a0f8['createClusterRoleBinding'](_0x5ec722),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x1b6)]);}}catch(_0x479bfb){if(_0x4b48f0[_0x599ea2(0x288)](_0x479bfb[_0x599ea2(0x165)],0x199)||_0x4b48f0[_0x599ea2(0x288)](_0x479bfb[_0x599ea2(0x169)],0x199))logger[_0x599ea2(0x274)](_0x479bfb[_0x599ea2(0x2b4)]);else throw _0x479bfb;}const _0x40c1af=await this[_0x599ea2(0x2bb)](_0x2e32e1,_0x4b48f0[_0x599ea2(0x1c4)]);if(!_0x40c1af){const _0x776754=_0x4b48f0[_0x599ea2(0x214)][_0x599ea2(0x287)]('|');let _0x14e301=0x0;while(!![]){switch(_0x776754[_0x14e301++]){case'0':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x24c)]);continue;case'1':await _0x4b48f0[_0x599ea2(0x271)](kubeApply,_0x4fb514,_0x3530b4);continue;case'2':await _0x4b48f0[_0x599ea2(0x20f)](kubeApply,_0x4fb514,_0x3530b4);continue;case'3':_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908);continue;case'4':logger['info'](_0x4b48f0['xtjeL']);continue;case'5':_0x5eb908=await fs[_0x599ea2(0x230)](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0['gOHcb'],_0x4b48f0[_0x599ea2(0x24b)],_0x4b48f0[_0x599ea2(0x194)]),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'6':_0x5eb908=await fs[_0x599ea2(0x230)](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0['gOHcb'],_0x4b48f0[_0x599ea2(0x24b)],_0x4b48f0['BAdJH']),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'7':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x1ea)]);continue;case'8':_0x4fb514=yaml['loadAll'](_0x5eb908);continue;case'9':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x241)]);continue;}break;}}if(global_registry[_0x599ea2(0x16a)]){logger[_0x599ea2(0x1c2)](_0x4b48f0['LgcVa']);let _0x34fb5a;if(_0x4b48f0[_0x599ea2(0x1dc)](global_registry[_0x599ea2(0x192)],AZURE))_0x34fb5a=_0x4b48f0[_0x599ea2(0x21b)];else _0x4b48f0[_0x599ea2(0x280)](global_registry[_0x599ea2(0x192)],GCP)?_0x34fb5a=_0x4b48f0['KHory']:_0x34fb5a=_0x4b48f0[_0x599ea2(0x1fa)];_0x5eb908=await fs[_0x599ea2(0x230)](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0[_0x599ea2(0x24b)],_0x4b48f0[_0x599ea2(0x1d8)]),_0x4b48f0[_0x599ea2(0x1fd)]),_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<InternalLoadBalancerAnnotations>/g,_0x34fb5a),_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908),await _0x4b48f0[_0x599ea2(0x222)](kubeApply,_0x4fb514,_0x3530b4),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x2a6)]);}if(global_registry['isNewAWSCluster']){const _0x27263f=_0x4b48f0[_0x599ea2(0x1ac)]['split']('|');let _0xab48b6=0x0;while(!![]){switch(_0x27263f[_0xab48b6++]){case'0':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x210)]);continue;case'1':logger[_0x599ea2(0x1c2)](_0x4b48f0['hchCY']);continue;case'2':_0x5eb908=await fs['readFileAsync'](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0['gOHcb'],_0x4b48f0[_0x599ea2(0x1d3)]),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'3':_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908);continue;case'4':await _0x4b48f0[_0x599ea2(0x18c)](kubeApply,_0x4fb514,_0x3530b4);continue;}break;}}const _0x3b73f4=await this[_0x599ea2(0x2bb)](_0x2e32e1,_0x4b48f0[_0x599ea2(0x201)]);if(!_0x3b73f4){const _0x1298f5=_0x4b48f0['YFQWy'][_0x599ea2(0x287)]('|');let _0x4b28c6=0x0;while(!![]){switch(_0x1298f5[_0x4b28c6++]){case'0':_0x4fb514=yaml['loadAll'](_0x5eb908);continue;case'1':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x23f)]);continue;case'2':_0x5eb908=await fs['readFileAsync'](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x1f8)]),_0x4b48f0['qQOHY']);continue;case'3':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x208)]);continue;case'4':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x269)]);continue;case'5':await _0x4b48f0[_0x599ea2(0x2b7)](waitForDeployment,_0x5accdb,_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x2bd)],0x7530);continue;case'6':logger['info'](_0x4b48f0['UjgHJ']);continue;case'7':_0x5eb908=await fs['readFileAsync'](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x1cb)]),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'8':await _0x4b48f0[_0x599ea2(0x2a7)](kubeApply,_0x4fb514,_0x3530b4);continue;case'9':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x177)]);continue;case'10':await _0x4b48f0[_0x599ea2(0x22c)](kubeApply,_0x4fb514,_0x3530b4);continue;case'11':_0x5eb908=await fs[_0x599ea2(0x230)](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x26f)]),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'12':_0x4fb514=yaml['loadAll'](_0x5eb908);continue;case'13':_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908);continue;case'14':logger['info'](_0x4b48f0['iMhRh']);continue;case'15':await _0x4b48f0[_0x599ea2(0x2a7)](kubeApply,_0x4fb514,_0x3530b4);continue;case'16':logger['info'](_0x4b48f0[_0x599ea2(0x202)]);continue;case'17':await _0x4b48f0['deSiY'](waitForDeployment,_0x5accdb,_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x201)],0x7530);continue;case'18':await _0x4b48f0['deSiY'](waitForDeployment,_0x5accdb,_0x4b48f0[_0x599ea2(0x201)],_0x4b48f0[_0x599ea2(0x1a0)],0x7530);continue;}break;}}const _0x401b80=await this['namespaceExists'](_0x2e32e1,_0x4b48f0['OEFHo']);if(!_0x401b80){const _0x47b807=_0x4b48f0[_0x599ea2(0x264)][_0x599ea2(0x287)]('|');let _0x5b779c=0x0;while(!![]){switch(_0x47b807[_0x5b779c++]){case'0':logger['info'](_0x4b48f0[_0x599ea2(0x252)]);continue;case'1':logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x168)]);continue;case'2':_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<BstackAccessKey>/g,global_registry['bstackAccesskey']);continue;case'3':await _0x4b48f0[_0x599ea2(0x26b)](kubeApply,_0x4fb514,_0x3530b4);continue;case'4':_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<BstackUsername>/g,global_registry['bstackUsername']);continue;case'5':_0x5eb908=await fs[_0x599ea2(0x230)](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0['YWgNc']),_0x4b48f0[_0x599ea2(0x1fd)]);continue;case'6':_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<BstackURL>/g,AG_API_URL);continue;case'7':_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908);continue;}break;}}logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x20c)]),_0x4fb514=await _0x4b48f0[_0x599ea2(0x222)](applyTemplate,_0x4b48f0[_0x599ea2(0x285)],_0x59c16c);const _0x1f4834={};_0x1f4834['namespace']=_0x59c16c,_0x1f4834[_0x599ea2(0x1ad)]=_0x4fb514,await _0x2e32e1[_0x599ea2(0x166)](_0x1f4834),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x243)]),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x1d2)]),_0x4fb514=await _0x4b48f0[_0x599ea2(0x18c)](applyTemplate,_0x4b48f0['mpfWZ'],_0x59c16c);const _0x214913={};_0x214913[_0x599ea2(0x1cd)]=_0x59c16c,_0x214913[_0x599ea2(0x1ad)]=_0x4fb514,await _0x5accdb['createNamespacedDeployment'](_0x214913),logger[_0x599ea2(0x1c2)](_0x4b48f0['PXkDS']),logger['info'](_0x4b48f0[_0x599ea2(0x205)]),await _0x4b48f0['BsvNC'](waitForDeployment,_0x5accdb,_0x4b48f0[_0x599ea2(0x1c4)],_0x4b48f0[_0x599ea2(0x2b6)],0xea60);global_registry[_0x599ea2(0x16a)]&&await _0x4b48f0[_0x599ea2(0x2b7)](waitForDeployment,_0x5accdb,_0x4b48f0[_0x599ea2(0x1c4)],_0x4b48f0[_0x599ea2(0x1ee)],0xea60);_0x5eb908=await fs['readFileAsync'](path[_0x599ea2(0x2b1)](__dirname,'..',_0x4b48f0[_0x599ea2(0x172)],_0x4b48f0[_0x599ea2(0x1ba)]),_0x4b48f0[_0x599ea2(0x1fd)]);const _0x309cf1=global_registry[_0x599ea2(0x16a)]?_0x4b48f0['vbtUs']:_0x4b48f0[_0x599ea2(0x24b)];_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<GridNamespace>/g,_0x59c16c),_0x5eb908=_0x5eb908[_0x599ea2(0x216)](/<NginxIngressClass>/g,_0x309cf1),_0x4fb514=yaml[_0x599ea2(0x263)](_0x5eb908),await _0x4b48f0[_0x599ea2(0x20f)](kubeApply,_0x4fb514,_0x3530b4),logger[_0x599ea2(0x1c2)](_0x4b48f0[_0x599ea2(0x261)]),await _0x4b48f0['cuqyg'](delay,0x1388);},exports[a28_0x17911e(0x1dd)]=async(_0x505ade,_0x5c7863,_0x1a43b8,_0x148e3f,_0x6e49f2)=>{const _0x1fb5b3=a28_0x17911e,_0x28233d={'HAEHe':_0x1fb5b3(0x1de),'Uudnk':'Deleting\x20clusterrolebinding','jeVEU':_0x1fb5b3(0x176),'SzjRC':_0x1fb5b3(0x198),'AMMid':_0x1fb5b3(0x1fb),'pXtkD':function(_0x43a02c,_0x27b75c){return _0x43a02c(_0x27b75c);}},_0x35c3cb=_0x28233d['HAEHe'][_0x1fb5b3(0x287)]('|');let _0x397cde=0x0;while(!![]){switch(_0x35c3cb[_0x397cde++]){case'0':const _0x3821ba={};_0x3821ba[_0x1fb5b3(0x211)]=_0x6e49f2,await _0x505ade['deleteNamespace'](_0x3821ba);continue;case'1':const _0x40d446={};_0x40d446[_0x1fb5b3(0x211)]='deployer-srvacct-binding-'+_0x6e49f2,await _0x148e3f[_0x1fb5b3(0x1a8)](_0x40d446);continue;case'2':logger[_0x1fb5b3(0x1c2)](_0x28233d[_0x1fb5b3(0x1a5)]);continue;case'3':logger[_0x1fb5b3(0x1c2)](_0x28233d[_0x1fb5b3(0x21d)]);continue;case'4':logger[_0x1fb5b3(0x1c2)](_0x28233d[_0x1fb5b3(0x2aa)]);continue;case'5':logger[_0x1fb5b3(0x1c2)](_0x28233d[_0x1fb5b3(0x2a9)]);continue;case'6':await _0x28233d[_0x1fb5b3(0x25b)](delay,0x2710);continue;}break;}},exports['deleteAgent']=async _0x33b555=>{const _0x570f14=a28_0x17911e,_0x19387d={};_0x19387d['ZQqSW']=_0x570f14(0x18a),_0x19387d[_0x570f14(0x1c7)]=_0x570f14(0x199),_0x19387d[_0x570f14(0x28e)]=_0x570f14(0x26a);const _0x5759c0=_0x19387d,_0x29ad38=await this['namespaceExists'](_0x33b555,_0x5759c0[_0x570f14(0x234)]);if(_0x29ad38){logger['info'](_0x5759c0[_0x570f14(0x1c7)]);const _0x40219b={};_0x40219b[_0x570f14(0x211)]=_0x5759c0[_0x570f14(0x234)],await _0x33b555[_0x570f14(0x209)](_0x40219b),logger['info'](_0x5759c0[_0x570f14(0x28e)]);}},exports['deleteRoutingDeps']=async _0x2362b2=>{const _0x531a0f=a28_0x17911e,_0xac4979={'HNJzp':_0x531a0f(0x16f),'kPVxp':'Deleting\x20ingress-nginx','ShvDl':'Deleted\x20ingress-nginx','YwFtU':function(_0x2ef22d,_0x37acef){return _0x2ef22d(_0x37acef);},'RutKF':'cert-manager','vcwBS':'Deleting\x20cert-manager','kJUcu':'Deleted\x20cert-manager'},_0x5cbcb3=await this[_0x531a0f(0x2bb)](_0x2362b2,_0xac4979['HNJzp']);if(_0x5cbcb3){logger[_0x531a0f(0x1c2)](_0xac4979['kPVxp']);const _0x517cf4={};_0x517cf4[_0x531a0f(0x211)]=_0xac4979[_0x531a0f(0x22a)],await _0x2362b2[_0x531a0f(0x209)](_0x517cf4),logger[_0x531a0f(0x1c2)](_0xac4979[_0x531a0f(0x299)]);}await _0xac4979[_0x531a0f(0x2c5)](delay,0x124f8);const _0x29ac5e=await this['namespaceExists'](_0x2362b2,_0xac4979['RutKF']);if(_0x29ac5e){logger[_0x531a0f(0x1c2)](_0xac4979[_0x531a0f(0x297)]);const _0xa998f3={};_0xa998f3[_0x531a0f(0x211)]=_0xac4979['RutKF'],await _0x2362b2[_0x531a0f(0x209)](_0xa998f3),logger[_0x531a0f(0x1c2)](_0xac4979['kJUcu']);}await _0xac4979[_0x531a0f(0x2c5)](delay,0xafc8);},exports[a28_0x17911e(0x2b2)]=async(_0x2b7b41,_0x56ce09)=>{const _0x46e6d7=a28_0x17911e,_0x2c286d={'DTIeg':function(_0x170293,_0x14d40b){return _0x170293(_0x14d40b);},'GUylQ':function(_0x31840a,_0x268570){return _0x31840a(_0x268570);},'WHPAZ':_0x46e6d7(0x26d)};logger['info'](_0x46e6d7(0x1df)+CLUSTER_DEP_STACK_NAME+'-'+_0x56ce09+_0x46e6d7(0x1ed)+CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x56ce09+_0x46e6d7(0x28b)+_0x2b7b41),await Promise[_0x46e6d7(0x1fe)]([_0x2c286d[_0x46e6d7(0x2be)](deleteClusterStack,CLUSTER_DEP_STACK_NAME+'-'+_0x56ce09),_0x2c286d['GUylQ'](deleteClusterStack,CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x56ce09)]),logger['info'](_0x2c286d[_0x46e6d7(0x1e7)]);},exports['scaleUpHubDeployment']=async(_0x1f5c97,_0xe2c422)=>{const _0x27e4c3=a28_0x17911e,_0x9cd0d7={};_0x9cd0d7[_0x27e4c3(0x175)]=_0x27e4c3(0x2bf),_0x9cd0d7['TOVQR']=_0x27e4c3(0x1f5);const _0x22116a=_0x9cd0d7;logger[_0x27e4c3(0x1c2)](_0x22116a[_0x27e4c3(0x175)]);const _0x10d11d={};_0x10d11d[_0x27e4c3(0x211)]=TURBOSCALE_DEPLOYMENT,_0x10d11d[_0x27e4c3(0x1cd)]=_0xe2c422;const _0x369de6=await _0x1f5c97['readNamespacedDeployment'](_0x10d11d);_0x369de6[_0x27e4c3(0x235)][_0x27e4c3(0x259)]=0x1;const _0x1965d6={};_0x1965d6['name']=TURBOSCALE_DEPLOYMENT,_0x1965d6[_0x27e4c3(0x1cd)]=_0xe2c422,_0x1965d6['body']=_0x369de6,await _0x1f5c97[_0x27e4c3(0x182)](_0x1965d6),logger['info'](_0x22116a[_0x27e4c3(0x1db)]);},exports['scaleDownHubDeployment']=async(_0x5b30ce,_0x39a53c)=>{const _0x240479=a28_0x17911e,_0x3a70cc={};_0x3a70cc[_0x240479(0x25c)]=_0x240479(0x237),_0x3a70cc[_0x240479(0x18e)]=_0x240479(0x242);const _0x1431b7=_0x3a70cc;logger[_0x240479(0x1c2)](_0x1431b7[_0x240479(0x25c)]);const _0x92c97b={};_0x92c97b[_0x240479(0x211)]=TURBOSCALE_DEPLOYMENT,_0x92c97b[_0x240479(0x1cd)]=_0x39a53c;const _0x2a4b81=await _0x5b30ce[_0x240479(0x254)](_0x92c97b);_0x2a4b81['spec'][_0x240479(0x259)]=0x0;const _0x271db0={};_0x271db0[_0x240479(0x211)]=TURBOSCALE_DEPLOYMENT,_0x271db0[_0x240479(0x1cd)]=_0x39a53c,_0x271db0[_0x240479(0x1ad)]=_0x2a4b81,await _0x5b30ce[_0x240479(0x182)](_0x271db0),logger['info'](_0x1431b7['dVayW']);};
1
+ const a28_0x5d0de0=a28_0x443e;(function(_0x45c782,_0x3fa8d0){const _0x44a5c3=a28_0x443e,_0x104632=_0x45c782();while(!![]){try{const _0x4a306d=-parseInt(_0x44a5c3(0x19b))/0x1*(-parseInt(_0x44a5c3(0x236))/0x2)+-parseInt(_0x44a5c3(0x25e))/0x3+parseInt(_0x44a5c3(0x26e))/0x4+-parseInt(_0x44a5c3(0x176))/0x5*(-parseInt(_0x44a5c3(0x28b))/0x6)+-parseInt(_0x44a5c3(0x150))/0x7+parseInt(_0x44a5c3(0x28a))/0x8*(parseInt(_0x44a5c3(0x1bd))/0x9)+parseInt(_0x44a5c3(0x19c))/0xa*(parseInt(_0x44a5c3(0x23a))/0xb);if(_0x4a306d===_0x3fa8d0)break;else _0x104632['push'](_0x104632['shift']());}catch(_0x27e4ce){_0x104632['push'](_0x104632['shift']());}}}(a28_0x5dc2,0x648d3));const fs=require('fs'),yaml=require(a28_0x5d0de0(0x1a6)),path=require(a28_0x5d0de0(0x1de)),{v4:uuidv4}=require('uuid'),{logger}=require(a28_0x5d0de0(0x20b)),{AG_API_URL,global_registry,CLUSTER_DEP_STACK_NAME,CLUSTER_AUTOSCALER_STACK_NAME,AZURE,GCP,TURBOSCALE_DEPLOYMENT}=require(a28_0x5d0de0(0x22a)),{deleteClusterStack}=require(a28_0x5d0de0(0x199)),{kubeApply,waitForDeployment}=require('./utilityMethods'),{delay}=require(a28_0x5d0de0(0x288)),applyTemplate=async(_0x3ec894,_0x4e5139,_0x24f6b0={})=>{const _0x1de340=a28_0x5d0de0,_0x89da4f={};_0x89da4f[_0x1de340(0x14e)]=function(_0x5763c7,_0x1cae19){return _0x5763c7===_0x1cae19;},_0x89da4f[_0x1de340(0x166)]=_0x1de340(0x1f4),_0x89da4f[_0x1de340(0x217)]=_0x1de340(0x12c),_0x89da4f[_0x1de340(0x1f2)]='utf-8',_0x89da4f[_0x1de340(0x230)]=_0x1de340(0x241),_0x89da4f[_0x1de340(0x226)]=_0x1de340(0x23f),_0x89da4f[_0x1de340(0x22c)]=function(_0x1d1df4,_0x350da7){return _0x1d1df4!=_0x350da7;},_0x89da4f[_0x1de340(0x1fc)]=function(_0x28b6ee,_0x2dc137){return _0x28b6ee!==_0x2dc137;},_0x89da4f['tLsrt']=function(_0x45acb8,_0x53ebde){return _0x45acb8!==_0x53ebde;},_0x89da4f[_0x1de340(0x233)]=_0x1de340(0x248),_0x89da4f[_0x1de340(0x21a)]=_0x1de340(0x12b),_0x89da4f[_0x1de340(0x1b3)]='dOVlN',_0x89da4f[_0x1de340(0x18f)]=_0x1de340(0x1b8),_0x89da4f[_0x1de340(0x28e)]=function(_0x2a0510,_0x305f4f){return _0x2a0510===_0x305f4f;},_0x89da4f[_0x1de340(0x184)]=_0x1de340(0x145),_0x89da4f[_0x1de340(0x198)]=_0x1de340(0x1c3),_0x89da4f[_0x1de340(0x272)]=_0x1de340(0x1d2),_0x89da4f[_0x1de340(0x20c)]=_0x1de340(0x242),_0x89da4f['KDJNu']=_0x1de340(0x14a);const _0x30bfc4=_0x89da4f;let _0x3e2582=await fs[_0x1de340(0x224)](path[_0x1de340(0x212)](__dirname,'..',_0x30bfc4['sClwo'],_0x3ec894),_0x30bfc4['onrnL']);_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<GridNamespace>/g,_0x4e5139),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<BstackURL>/g,AG_API_URL),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<ClusterName>/g,global_registry[_0x1de340(0x27f)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<BstackUsername>/g,global_registry[_0x1de340(0x174)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<BstackAccessKey>/g,global_registry[_0x1de340(0x1f6)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<GridName>/g,global_registry[_0x1de340(0x146)]),_0x3e2582=_0x3e2582['replace'](/<Region>/g,global_registry['clusterRegion']),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<CloudProvider>/g,global_registry[_0x1de340(0x209)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<HubImageVersion>/g,global_registry[_0x1de340(0x1ed)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<BrowserImageVersion>/g,global_registry[_0x1de340(0x26b)]),_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<PrivateGrid>/g,global_registry[_0x1de340(0x1f7)]?_0x30bfc4[_0x1de340(0x230)]:_0x30bfc4[_0x1de340(0x226)]);if(_0x30bfc4[_0x1de340(0x22c)](global_registry[_0x1de340(0x25f)],null)&&_0x30bfc4[_0x1de340(0x1fc)](global_registry[_0x1de340(0x25f)],undefined))_0x30bfc4[_0x1de340(0x251)](_0x30bfc4[_0x1de340(0x233)],_0x30bfc4[_0x1de340(0x21a)])?_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<GridProfileID>/g,global_registry[_0x1de340(0x25f)]):_0xe08e6e[_0x1de340(0x1b7)](_0x263344['message']);else{if(_0x30bfc4[_0x1de340(0x251)](_0x30bfc4['XBsAw'],_0x30bfc4[_0x1de340(0x18f)]))_0x3e2582=_0x3e2582[_0x1de340(0x1c5)](/<GridProfileID>/g,'');else{const _0x2b6af2={};_0x2b6af2[_0x1de340(0x229)]=''+_0x5bcf82[_0x1de340(0x145)];const _0x2a06a7={'annotations':_0x2b6af2,..._0x5ba76f[_0x1de340(0x227)]};_0x17210a['metadata']=_0x2a06a7;}}const _0x32f909=yaml[_0x1de340(0x1fe)](_0x3e2582);if(_0x30bfc4[_0x1de340(0x28e)](global_registry[_0x1de340(0x209)],AZURE)&&_0x30bfc4[_0x1de340(0x1fc)](_0x24f6b0[_0x30bfc4[_0x1de340(0x184)]],undefined)){if(_0x30bfc4[_0x1de340(0x28e)](_0x30bfc4['XYcaX'],_0x30bfc4[_0x1de340(0x272)])){if(_0x30bfc4['zMtNm'](_0x38c11c[_0x1de340(0x261)],0x199)||_0x30bfc4[_0x1de340(0x14e)](_0x134d3f[_0x1de340(0x16c)],0x199))_0xc8dfbd[_0x1de340(0x1b7)](_0x4e67ef[_0x1de340(0x25d)]);else throw _0x228981;}else{const _0xfdc38d={};_0xfdc38d[_0x1de340(0x229)]=''+_0x24f6b0[_0x1de340(0x145)],_0x32f909[_0x1de340(0x227)]={'annotations':_0xfdc38d,..._0x32f909[_0x1de340(0x227)]};}}return _0x30bfc4[_0x1de340(0x14e)](global_registry[_0x1de340(0x209)],AZURE)&&_0x30bfc4[_0x1de340(0x28e)](_0x3ec894,_0x30bfc4[_0x1de340(0x20c)])&&(_0x30bfc4['ATtOP'](_0x30bfc4['KDJNu'],_0x30bfc4[_0x1de340(0x1c7)])?_0x32f909[_0x1de340(0x180)]['template'][_0x1de340(0x227)][_0x1de340(0x1bc)]={'azure.workload.identity/use':_0x30bfc4[_0x1de340(0x230)],..._0x32f909[_0x1de340(0x180)][_0x1de340(0x181)][_0x1de340(0x227)][_0x1de340(0x1bc)]}:_0x285129=_0x30bfc4[_0x1de340(0x166)]),_0x32f909;};function a28_0x5dc2(){const _0x24283f=['Adding\x20Nginx\x20Roles\x20and\x20Service\x20Accounts','KToYy','zMtNm','Adding\x20Nginx\x20Private\x20Pods\x20and\x20Services','5567191UAAAlH','gAIEq','Adding\x20default\x20service\x20account','browser-node-service-account.yaml','Scaled\x20down\x20deployment','namespace','yTHJc','BaEpX','replaceNamespacedServiceAccount','scaleUpHubDeployment','LbvXv','qPYeT','browser-node-cluster-role-binding.yaml','split','kKiyR','aDeHg','dLHBF','123456','hub-service.yaml','maBRc','ugcPR','2|1|5|6|0|3|4','LdGuu','deleteNamespace','cluster-role-binding-auth-delegator.yaml','crds.yaml','scaleDownHubDeployment','cntdB','code','ingress-nginx','service.beta.kubernetes.io/azure-load-balancer-internal:\x20\x22true\x22','Deleted\x20ingress-nginx','pxwTc','mCjON','createNamespacedRole','Added\x20clusterrolebinding','bstackUsername','Deleting\x20cert-manager','628610TPlDxN','Scaling\x20up\x20deployment','ggGJM','eks.amazonaws.com/role-arn','cert-manager-webhook','Adding\x20Autoscaler\x20Components','blhVQ','izJZv','utf-8','xVHoM','spec','template','lbTJc','createNamespacedRoleBinding','ITNbj','oyJup','JfipP','readNamespace','tYXmQ','VWmKu','replaceNamespacedDeployment','vpkhY','Jrudl','ohRWm','svCnI','ARcVd','vJPUQ','Added\x20VPC\x20CNI\x20ConfigMaps','LseXi','nmwiQ','Deleted\x20clusterrolebinding','Added\x20Turboscale\x20Agent','abDcX','nDara','XYcaX','./deleteStack','Lcadn','131UxJuoF','20TadiHI','NNtBG','deleteClusterAndDependencies','Qgiue','lLfbr','zCsPb','etBgu','STnny','parxD','wRAnw','js-yaml','addAutoScalerComponents','DIPci','turboscale-agent.yaml','EYMGp','Added\x20default\x20service\x20account','ewOXy','poSZf','listNamespacedService','addMetricServerComponents','tvSeP','tSkpk','shrUX','XBsAw','Added\x20Nginx\x20Roles\x20and\x20Service\x20Accounts','UfIHn','TXtOv','debug','HFpFR','Adding\x20hubservice','4|6|8|3|5|0|7|1|9|2','VWxQr','labels','18CmPluh','YnubF','info','service.beta.kubernetes.io/aws-load-balancer-internal:\x20\x22true\x22','ifSqS','IxEVJ','qRTJz','aUPZu','replace','Adding\x20Turboscale\x20Agent','KDJNu','GgRel','HZGPz','deployer-srvacct-binding-','Added\x20Cert\x20Manager\x20CRDs','BXLjI','Adding\x20hubdeployment','browserstack','Deleted\x20cert-manager','Adding\x20MetricsServer\x20Components','MCyWl','CTkKG','getNamespaceUID','VIJgm','rplXS','mMFSf','yLsyx','BkiHA','jSjbE','kYZBx','<ClusterName>','JcrxS','Adding\x20MetricsServer\x20Service\x20Account','path','bBhBV','krKXp','qyVqj','itHuu','PYbnV','RfWej','eQPwC','NXozG','Added\x20Nginx\x20Private\x20Pods\x20and\x20deployments','hGbGx','cluster-role.yaml','ayMBx','Deleted\x20cluster\x20and\x20linked\x20resources\x20successfully','IYVut','hubVersion','yWgfJ','Added\x20browser-node\x20service\x20account','WsFfk','kube-system','onrnL','hFZnA','networking.gke.io/load-balancer-type:\x20\x22Internal\x22','metrics-server','bstackAccesskey','isPrivateGrid','dPany','uhMiY','NZhDX','lrPyc','ghnAk','AZswA','load','metricsServerServiceExists','name','Xqrnn','Added\x20Ingress','Rkpiq','KNlwh','CAjkr','api-service.yaml','role-binding.yaml','gNLuG','cloudProvider','fNLLE','../config/logger','IyyTL','Adding\x20Autoscaler\x20clusterRole','pJmEl','VTzfu','qUWUs','Adding\x20VPC\x20CNI\x20CM','join','odbMU','deleteRoutingDeps','default','vpc-cni-cm.yaml','sClwo','YZqBd','sUQTJ','ZGhkG','cluster-role-aggregated-reader.yaml','autoscaler','Added\x20browser-node-role\x20cluster\x20role','WaetO','Scaling\x20down\x20deployment','iYrKJ','pwQqx','nqSBm','nvibf','readFileAsync','xYFem','jqysB','metadata','cluster-role-binding.yaml','azure.workload.identity/client-id','../config/constants','Adding\x20Cert\x20Manager\x20CRDs','xrJlH','gGzYl','Adding\x20Nginx\x20Pods\x20and\x20deployments','Adding\x20browser-node-role\x20cluster\x20role','RYtgE','GsxcO','VkZKo','zanLi','replicas','\x20&\x20','10704qMEHuk','dGwbD','bjfiE','xUBpD','44759EAdulI','Adding\x20MetricsServer\x20clusterRole','annotations','JJMBF','BCVqW','false','Deleted\x20Turboscale\x20Agent','true','hub-deployment.yaml','wzUWc','vBpss','rETJh','yqvXi','DEmVH','arrsn','ggdKv','oToMj','0|1|4|2|3','dqOOh','createClusterRole','GHnxo','UNjQr','Added\x20hubdeployment','tLsrt','MXffH','rpiox','SopJx','readNamespacedDeployment','createAPIService','qzrft','Added\x20Cert\x20Manager','tloqQ','Adding\x20Autoscaler\x20clusterRoleBinding','Deleting\x20','namespaceExists','message','1789383OaWwXb','gridProfileId','deBBO','statusCode','BYdbh','items','WFHyw','wwVKr','Added\x20Autoscaler\x20Components','ABnkj','iYrOc','Adding\x20Autoscaler\x20namespacedRole','cert-manager.yaml','browserVersion','FffYZ','createClusterRoleBinding','2991388JHpIwr','Adding\x20MetricsServer\x20API\x20Service','Adding\x20Ingress','aSMCB','smfvc','oRFqs','cert-manager','Adding\x20MetricsServer\x20Deployment','createNamespacedService','Adding\x20MetricsServer\x20namespacedRoleBinding','\x20cloudformation\x20stacks\x20from\x20region\x20','KDeDy','YdimE','createNamespacedDeployment','icSxo','private-pods-and-services.yaml','sgJaU','clusterName','dGuru','uid','nyitw','Adding\x20Autoscaler\x20Deployment','QQzFI','VuKrm','ensvk','odSRZ','../utils/webSocketUtils','MjLFJ','380368dosgvF','12trSoWY','tATRD','deployment.yaml','ATtOP','awZbB','Adding\x20browser-node-role-binding\x20role\x20binding','body','loadAll','RLZgX','BlixX','VjqHR','OUEvh','hGNaN','Deleting\x20ingress-nginx','nfPaH','default-service-account.yaml','HeVlH','CncDY','yaTdg','pZTvf','njafW','sOMJz','NpYQB','templates','XlGhq','pNWPO','uPXfR','cert-manager-cainjector','oulww','aDBnY','deleteAgent','4|6|5|2|7|3|1|0','deleteClusterRoleBinding','Added\x20hubservice','RiNDC','Adding\x20MetricsServer\x20Service','Adding\x20Cert\x20Manager','nhSYd','createNamespacedServiceAccount','Added\x20Nginx\x20Pods\x20and\x20deployments','Adding\x20clusterrolebinding','twLDL','isNewAWSCluster','2|17|16|1|3|14|15|7|11|9|0|4|6|10|12|5|8|13|18','MmJFO','zkYQZ','XVDMt','Adding\x20Cert\x20Issuer','clientId','gridName','FuUbV','nginx-private','IgTZC','nypjQ','Lcpay'];a28_0x5dc2=function(){return _0x24283f;};return a28_0x5dc2();}function a28_0x443e(_0x4c9ac3,_0x325c3c){const _0x5dc2c3=a28_0x5dc2();return a28_0x443e=function(_0x443e58,_0x2bb183){_0x443e58=_0x443e58-0x122;let _0x42ae10=_0x5dc2c3[_0x443e58];return _0x42ae10;},a28_0x443e(_0x4c9ac3,_0x325c3c);}exports[a28_0x5d0de0(0x1a7)]=async(_0x2db2b6,_0x515f5f,_0x3da844,_0xefdd27,_0x3e1cc8,_0x468fe1,_0x37cce1)=>{const _0x2b94f9=a28_0x5d0de0,_0xee0c7e={};_0xee0c7e['aDBnY']='Adding\x20Autoscaler\x20Service\x20Account',_0xee0c7e[_0x2b94f9(0x1f9)]=_0x2b94f9(0x12c),_0xee0c7e['GsxcO']=_0x2b94f9(0x21c),_0xee0c7e['iYrOc']='sa.yaml',_0xee0c7e[_0x2b94f9(0x1d6)]=_0x2b94f9(0x17e),_0xee0c7e[_0x2b94f9(0x1bb)]=_0x2b94f9(0x179),_0xee0c7e['SopJx']=_0x2b94f9(0x1f1),_0xee0c7e[_0x2b94f9(0x1a0)]=_0x2b94f9(0x20d),_0xee0c7e[_0x2b94f9(0x15f)]='clusterrole.yaml',_0xee0c7e['uPXfR']=_0x2b94f9(0x269),_0xee0c7e[_0x2b94f9(0x208)]='role.yaml',_0xee0c7e['nmwiQ']=_0x2b94f9(0x25a),_0xee0c7e[_0x2b94f9(0x156)]=_0x2b94f9(0x228),_0xee0c7e[_0x2b94f9(0x27e)]='Adding\x20Autoscaler\x20namespacedRoleBinding',_0xee0c7e[_0x2b94f9(0x294)]='role-binding.yaml',_0xee0c7e['toGFF']=_0x2b94f9(0x283),_0xee0c7e[_0x2b94f9(0x157)]=_0x2b94f9(0x28d),_0xee0c7e[_0x2b94f9(0x13e)]=_0x2b94f9(0x1db);const _0x15a4d1=_0xee0c7e;let _0x5d3043=null,_0xefe332=null;logger[_0x2b94f9(0x1bf)](_0x15a4d1[_0x2b94f9(0x132)]),_0xefe332=await fs['readFileAsync'](path['join'](__dirname,'..',_0x15a4d1[_0x2b94f9(0x1f9)],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1[_0x2b94f9(0x268)]),_0x15a4d1[_0x2b94f9(0x1d6)]),_0x5d3043=yaml[_0x2b94f9(0x1fe)](_0xefe332),_0x5d3043[_0x2b94f9(0x227)][_0x2b94f9(0x23c)][_0x15a4d1[_0x2b94f9(0x1bb)]]=_0x37cce1;const _0x593c69={};_0x593c69[_0x2b94f9(0x155)]=_0x15a4d1[_0x2b94f9(0x254)],_0x593c69[_0x2b94f9(0x291)]=_0x5d3043,await _0x2db2b6[_0x2b94f9(0x13b)](_0x593c69),logger[_0x2b94f9(0x1bf)](_0x15a4d1[_0x2b94f9(0x1a0)]),_0xefe332=await fs[_0x2b94f9(0x224)](path[_0x2b94f9(0x212)](__dirname,'..',_0x15a4d1[_0x2b94f9(0x1f9)],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1['aDeHg']),_0x15a4d1[_0x2b94f9(0x1d6)]),_0x5d3043=yaml['load'](_0xefe332);const _0x24d74f={};_0x24d74f[_0x2b94f9(0x291)]=_0x5d3043,await _0xefdd27['createClusterRole'](_0x24d74f),logger['info'](_0x15a4d1[_0x2b94f9(0x12f)]),_0xefe332=await fs[_0x2b94f9(0x224)](path[_0x2b94f9(0x212)](__dirname,'..',_0x15a4d1['uhMiY'],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1[_0x2b94f9(0x208)]),_0x15a4d1['mMFSf']),_0x5d3043=yaml[_0x2b94f9(0x1fe)](_0xefe332);const _0x4b49c6={};_0x4b49c6['namespace']=_0x15a4d1[_0x2b94f9(0x254)],_0x4b49c6['body']=_0x5d3043,await _0xefdd27[_0x2b94f9(0x172)](_0x4b49c6),logger['info'](_0x15a4d1[_0x2b94f9(0x193)]),_0xefe332=await fs[_0x2b94f9(0x224)](path['join'](__dirname,'..',_0x15a4d1[_0x2b94f9(0x1f9)],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1[_0x2b94f9(0x156)]),_0x15a4d1['mMFSf']),_0x5d3043=yaml[_0x2b94f9(0x1fe)](_0xefe332);const _0x2342d0={};_0x2342d0['body']=_0x5d3043,await _0xefdd27[_0x2b94f9(0x26d)](_0x2342d0),logger['info'](_0x15a4d1[_0x2b94f9(0x27e)]),_0xefe332=await fs[_0x2b94f9(0x224)](path[_0x2b94f9(0x212)](__dirname,'..',_0x15a4d1[_0x2b94f9(0x1f9)],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1['BlixX']),_0x15a4d1[_0x2b94f9(0x1d6)]),_0x5d3043=yaml['load'](_0xefe332);const _0x4afeec={};_0x4afeec[_0x2b94f9(0x155)]=_0x15a4d1[_0x2b94f9(0x254)],_0x4afeec[_0x2b94f9(0x291)]=_0x5d3043,await _0xefdd27[_0x2b94f9(0x183)](_0x4afeec),logger[_0x2b94f9(0x1bf)](_0x15a4d1['toGFF']),_0xefe332=await fs[_0x2b94f9(0x224)](path['join'](__dirname,'..',_0x15a4d1[_0x2b94f9(0x1f9)],_0x15a4d1[_0x2b94f9(0x231)],_0x15a4d1[_0x2b94f9(0x157)]),_0x15a4d1[_0x2b94f9(0x1d6)]),_0xefe332=_0xefe332[_0x2b94f9(0x1c5)](_0x15a4d1[_0x2b94f9(0x13e)],_0x468fe1),_0x5d3043=yaml[_0x2b94f9(0x1fe)](_0xefe332);const _0x3796b0={};_0x3796b0['namespace']=_0x15a4d1[_0x2b94f9(0x254)],_0x3796b0[_0x2b94f9(0x291)]=_0x5d3043,await _0x515f5f['createNamespacedDeployment'](_0x3796b0);},exports[a28_0x5d0de0(0x1af)]=async(_0x589289,_0x355aa0,_0x31ca0f,_0x3bfc12)=>{const _0x15147c=a28_0x5d0de0,_0x42a442={};_0x42a442[_0x15147c(0x249)]=_0x15147c(0x1dd),_0x42a442[_0x15147c(0x252)]=_0x15147c(0x12c),_0x42a442[_0x15147c(0x18b)]=_0x15147c(0x1f5),_0x42a442['wRAnw']='service-account.yaml',_0x42a442[_0x15147c(0x239)]=_0x15147c(0x17e),_0x42a442[_0x15147c(0x18d)]=_0x15147c(0x1f1),_0x42a442[_0x15147c(0x243)]='Adding\x20MetricsServer\x20clusterRole\x20for\x20aggregated\x20reader',_0x42a442[_0x15147c(0x297)]=_0x15147c(0x21b),_0x42a442[_0x15147c(0x26c)]=_0x15147c(0x23b),_0x42a442[_0x15147c(0x197)]=_0x15147c(0x1e9),_0x42a442[_0x15147c(0x12e)]=_0x15147c(0x277),_0x42a442['BBice']=_0x15147c(0x207),_0x42a442['NNtBG']='Adding\x20MetricsServer\x20clusterRoleBinding',_0x42a442[_0x15147c(0x149)]=_0x15147c(0x168),_0x42a442['svCnI']=_0x15147c(0x228),_0x42a442[_0x15147c(0x182)]=_0x15147c(0x138),_0x42a442['krKXp']='service.yaml',_0x42a442[_0x15147c(0x1e1)]=_0x15147c(0x275),_0x42a442[_0x15147c(0x128)]=_0x15147c(0x28d),_0x42a442[_0x15147c(0x1a2)]=_0x15147c(0x26f),_0x42a442[_0x15147c(0x125)]=_0x15147c(0x206);const _0x320827=_0x42a442;logger[_0x15147c(0x1bf)](_0x320827[_0x15147c(0x249)]);let _0x5f2fbd=await fs[_0x15147c(0x224)](path[_0x15147c(0x212)](__dirname,'..',_0x320827['MXffH'],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x1a5)]),_0x320827['xUBpD']),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x53262c={};_0x53262c[_0x15147c(0x155)]=_0x320827[_0x15147c(0x18d)],_0x53262c[_0x15147c(0x291)]=_0x189c5c,await _0x589289[_0x15147c(0x13b)](_0x53262c),logger[_0x15147c(0x1bf)](_0x320827[_0x15147c(0x243)]),_0x5f2fbd=await fs['readFileAsync'](path[_0x15147c(0x212)](__dirname,'..',_0x320827['MXffH'],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x297)]),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0xab88eb={};_0xab88eb[_0x15147c(0x291)]=_0x189c5c,await _0x31ca0f[_0x15147c(0x24d)](_0xab88eb),logger['info'](_0x320827['FffYZ']),_0x5f2fbd=await fs[_0x15147c(0x224)](path[_0x15147c(0x212)](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827['vpkhY'],_0x320827[_0x15147c(0x197)]),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x44c803={};_0x44c803[_0x15147c(0x291)]=_0x189c5c,await _0x31ca0f[_0x15147c(0x24d)](_0x44c803),logger[_0x15147c(0x1bf)](_0x320827[_0x15147c(0x12e)]),_0x5f2fbd=await fs[_0x15147c(0x224)](path[_0x15147c(0x212)](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827[_0x15147c(0x18b)],_0x320827['BBice']),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x4e8c8f={};_0x4e8c8f[_0x15147c(0x155)]=_0x320827[_0x15147c(0x18d)],_0x4e8c8f[_0x15147c(0x291)]=_0x189c5c,await _0x31ca0f['createNamespacedRoleBinding'](_0x4e8c8f),logger[_0x15147c(0x1bf)](_0x320827[_0x15147c(0x19d)]),_0x5f2fbd=await fs['readFileAsync'](path['join'](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x149)]),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x2d6b35={};_0x2d6b35[_0x15147c(0x291)]=_0x189c5c,await _0x31ca0f[_0x15147c(0x26d)](_0x2d6b35),logger['info'](_0x320827['NNtBG']),_0x5f2fbd=await fs['readFileAsync'](path[_0x15147c(0x212)](__dirname,'..',_0x320827['MXffH'],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x18e)]),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x643cd3={};_0x643cd3[_0x15147c(0x291)]=_0x189c5c,await _0x31ca0f[_0x15147c(0x26d)](_0x643cd3),logger['info'](_0x320827[_0x15147c(0x182)]),_0x5f2fbd=await fs[_0x15147c(0x224)](path['join'](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x1e0)]),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x2e4334={};_0x2e4334[_0x15147c(0x155)]=_0x320827[_0x15147c(0x18d)],_0x2e4334['body']=_0x189c5c,await _0x589289[_0x15147c(0x276)](_0x2e4334),logger[_0x15147c(0x1bf)](_0x320827['qyVqj']),_0x5f2fbd=await fs[_0x15147c(0x224)](path['join'](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827['vpkhY'],_0x320827['pZTvf']),_0x320827[_0x15147c(0x239)]),_0x189c5c=yaml[_0x15147c(0x1fe)](_0x5f2fbd);const _0x372c28={};_0x372c28[_0x15147c(0x155)]=_0x320827['ohRWm'],_0x372c28[_0x15147c(0x291)]=_0x189c5c,await _0x355aa0[_0x15147c(0x27b)](_0x372c28),logger[_0x15147c(0x1bf)](_0x320827['etBgu']),_0x5f2fbd=await fs[_0x15147c(0x224)](path['join'](__dirname,'..',_0x320827[_0x15147c(0x252)],_0x320827[_0x15147c(0x18b)],_0x320827[_0x15147c(0x125)]),_0x320827['xUBpD']),_0x189c5c=yaml['load'](_0x5f2fbd);const _0x3dd0b2={};_0x3dd0b2[_0x15147c(0x291)]=_0x189c5c,await _0x3bfc12[_0x15147c(0x256)](_0x3dd0b2);},exports[a28_0x5d0de0(0x1ff)]=async _0x4585b5=>{const _0x485c2f=a28_0x5d0de0,_0x95dd42={};_0x95dd42[_0x485c2f(0x267)]='service.beta.kubernetes.io/aws-load-balancer-internal:\x20\x22true\x22',_0x95dd42[_0x485c2f(0x1fa)]=_0x485c2f(0x1f1),_0x95dd42[_0x485c2f(0x1ee)]=function(_0x1d3386,_0x4271bc){return _0x1d3386<_0x4271bc;},_0x95dd42[_0x485c2f(0x1c9)]=function(_0x44c61f,_0x1f2f1a){return _0x44c61f===_0x1f2f1a;},_0x95dd42[_0x485c2f(0x24e)]=_0x485c2f(0x1a3),_0x95dd42['kPmEN']=function(_0xb6158f,_0x4391e0){return _0xb6158f===_0x4391e0;},_0x95dd42[_0x485c2f(0x27c)]=_0x485c2f(0x1f5),_0x95dd42[_0x485c2f(0x210)]=function(_0x5298fd,_0x5ce7ee){return _0x5298fd!==_0x5ce7ee;},_0x95dd42[_0x485c2f(0x1df)]=_0x485c2f(0x13a);const _0x77625f=_0x95dd42,_0x23e31b={};_0x23e31b['namespace']=_0x77625f[_0x485c2f(0x1fa)];const _0x4ac622=await _0x4585b5[_0x485c2f(0x1ae)](_0x23e31b),_0x31a986=_0x4ac622?.[_0x485c2f(0x263)];for(let _0x3562f=0x0;_0x77625f[_0x485c2f(0x1ee)](_0x3562f,_0x31a986['length']);_0x3562f++){if(_0x77625f[_0x485c2f(0x1c9)](_0x77625f['GHnxo'],_0x77625f[_0x485c2f(0x24e)])){if(_0x77625f['kPmEN'](_0x31a986[_0x3562f]['metadata'][_0x485c2f(0x200)],_0x77625f['icSxo'])){if(_0x77625f['qUWUs'](_0x77625f[_0x485c2f(0x1df)],_0x77625f[_0x485c2f(0x1df)]))_0x5a3e50=_0x77625f['ABnkj'];else return!![];}}else return![];}return![];},exports[a28_0x5d0de0(0x25c)]=async(_0x477466,_0x353ed6)=>{const _0x58547b=a28_0x5d0de0,_0x1c7650={};_0x1c7650[_0x58547b(0x1e6)]=function(_0x20d8fa,_0x228bf2){return _0x20d8fa===_0x228bf2;},_0x1c7650['BYdbh']=_0x58547b(0x1f5),_0x1c7650[_0x58547b(0x163)]=function(_0x585dcb,_0x3670ce){return _0x585dcb!==_0x3670ce;},_0x1c7650['CAjkr']=_0x58547b(0x257),_0x1c7650[_0x58547b(0x147)]=_0x58547b(0x222),_0x1c7650[_0x58547b(0x1e5)]=function(_0x54420f,_0x291229){return _0x54420f!==_0x291229;},_0x1c7650[_0x58547b(0x141)]=_0x58547b(0x1fb),_0x1c7650['wwVKr']=_0x58547b(0x143);const _0x274471=_0x1c7650;try{if(_0x274471['maBRc'](_0x274471[_0x58547b(0x205)],_0x274471[_0x58547b(0x147)])){const _0x3a44e2={};_0x3a44e2['name']=_0x353ed6;const _0x74f567=await _0x477466[_0x58547b(0x187)](_0x3a44e2);return!![];}else return!![];}catch(_0x1cf2d6){if(_0x274471['eQPwC'](_0x274471[_0x58547b(0x141)],_0x274471[_0x58547b(0x265)]))return![];else{if(_0x274471[_0x58547b(0x1e6)](_0x3c3709[_0x59298a][_0x58547b(0x227)][_0x58547b(0x200)],_0x274471[_0x58547b(0x262)]))return!![];}}},exports[a28_0x5d0de0(0x1d3)]=async(_0x3db35b,_0x102a3d)=>{const _0x3f9619=a28_0x5d0de0,_0x46ab16={};_0x46ab16[_0x3f9619(0x21e)]=_0x3f9619(0x16e),_0x46ab16[_0x3f9619(0x1c2)]=_0x3f9619(0x161),_0x46ab16[_0x3f9619(0x260)]=function(_0x1edb9d,_0x55aea4){return _0x1edb9d===_0x55aea4;},_0x46ab16['tYXmQ']=_0x3f9619(0x24c),_0x46ab16[_0x3f9619(0x17c)]=_0x3f9619(0x18c),_0x46ab16[_0x3f9619(0x14d)]=function(_0x32de27,_0x2cab84){return _0x32de27!==_0x2cab84;},_0x46ab16[_0x3f9619(0x1c4)]=_0x3f9619(0x1b2);const _0x26e155=_0x46ab16;try{if(_0x26e155[_0x3f9619(0x260)](_0x26e155[_0x3f9619(0x188)],_0x26e155[_0x3f9619(0x17c)]))_0x23226f=_0x26e155[_0x3f9619(0x21e)];else{const _0x314fe7={};_0x314fe7[_0x3f9619(0x200)]=_0x102a3d;const _0x52a4e2=await _0x3db35b['readNamespace'](_0x314fe7),_0x762aa6=_0x52a4e2?.[_0x3f9619(0x227)]?.[_0x3f9619(0x281)];return _0x762aa6;}}catch(_0x3e276b){return _0x26e155[_0x3f9619(0x14d)](_0x26e155['aUPZu'],_0x26e155['aUPZu'])?_0x26e155[_0x3f9619(0x1c2)]:_0x26e155['IxEVJ'];}},exports['addGridComponents']=async(_0x20fd07,_0x4a8848,_0x1006b0,_0x447928,_0x47a326,_0x457406,_0x35de91,_0x58f263,_0x24fcb8,_0x53b200={},_0x321a69)=>{const _0x230898=a28_0x5d0de0,_0x518b28={'VWmKu':_0x230898(0x241),'UfIHn':_0x230898(0x13d),'VkZKo':function(_0x4cfeac,_0x17cdd3,_0x35172e){return _0x4cfeac(_0x17cdd3,_0x35172e);},'pcfJK':_0x230898(0x228),'WQIBk':_0x230898(0x173),'ayMBx':function(_0xafc705,_0x16d37f){return _0xafc705!=_0x16d37f;},'aSMCB':function(_0xba222c,_0x271728){return _0xba222c!==_0x271728;},'RiNDC':function(_0x318763,_0x26ed87){return _0x318763!==_0x26ed87;},'abDcX':_0x230898(0x185),'KDeDy':_0x230898(0x160),'QQzFI':_0x230898(0x17b),'xYFem':_0x230898(0x266),'njafW':function(_0x447a29,_0x3ddb07){return _0x447a29!==_0x3ddb07;},'rETJh':_0x230898(0x123),'BieVb':'xlEFg','tvKai':_0x230898(0x1d0),'BXLjI':'Added\x20MetricsServer\x20Components','BkiHA':function(_0x3bd6b9,_0x58f338){return _0x3bd6b9!==_0x58f338;},'izJZv':_0x230898(0x20e),'nyitw':'UGDdo','nvibf':'Adding\x20browser-node\x20service\x20account','dGwbD':function(_0x2c21bd,_0xc6e957,_0x41b510,_0x421696){return _0x2c21bd(_0xc6e957,_0x41b510,_0x421696);},'NhpMu':_0x230898(0x153),'DYzcH':_0x230898(0x1ef),'AZswA':function(_0x44d934,_0x109da7){return _0x44d934===_0x109da7;},'JvjKO':function(_0x2cb4ab,_0x31a686){return _0x2cb4ab===_0x31a686;},'BEIRX':_0x230898(0x1d5),'LseXi':_0x230898(0x246),'tfHLl':_0x230898(0x152),'awZbB':function(_0x369706,_0x5bb908,_0x272be2,_0x5a7699){return _0x369706(_0x5bb908,_0x272be2,_0x5a7699);},'RVjDo':_0x230898(0x124),'ensvk':_0x230898(0x215),'MjLFJ':_0x230898(0x1ab),'dPany':_0x230898(0x22f),'xVHoM':function(_0x3a0a77,_0x7846a2,_0x15a6b8){return _0x3a0a77(_0x7846a2,_0x15a6b8);},'PYbnV':'browser-node-cluster-role.yaml','sUQTJ':_0x230898(0x21d),'itHuu':_0x230898(0x290),'qPYeT':_0x230898(0x15c),'Lcpay':'Added\x20browser-node-role-binding\x20role\x20binding','KNlwh':function(_0x20f0fd,_0xf50aca){return _0x20f0fd===_0xf50aca;},'ewOXy':function(_0x15d4a3,_0x1cd565){return _0x15d4a3===_0x1cd565;},'tvSeP':_0x230898(0x16d),'bjfiE':_0x230898(0x1ba),'LjWdV':_0x230898(0x22e),'Rkpiq':_0x230898(0x13c),'vJPUQ':function(_0x542111,_0x15ac11,_0x4cc2e4){return _0x542111(_0x15ac11,_0x4cc2e4);},'EvzjA':_0x230898(0x14c),'dGuru':_0x230898(0x1b4),'yaTdg':'templates','VTzfu':'nginx','Xqrnn':'helper.yaml','OUEvh':_0x230898(0x17e),'fNLLE':'pods-and-services.yaml','zCsPb':function(_0x4963c9,_0x428f13,_0x5e2dc9){return _0x4963c9(_0x428f13,_0x5e2dc9);},'ggGJM':_0x230898(0x14f),'DEmVH':function(_0x13ba6c,_0x7404e1){return _0x13ba6c===_0x7404e1;},'tATRD':'service.beta.kubernetes.io/azure-load-balancer-internal:\x20\x22true\x22','TXtOv':_0x230898(0x1f4),'hGbGx':_0x230898(0x1c0),'PjKbh':_0x230898(0x27d),'ifSqS':_0x230898(0x1e7),'WFHyw':_0x230898(0x24b),'hFZnA':_0x230898(0x211),'tjtpo':_0x230898(0x216),'ZxYTt':function(_0x7db49b,_0x15e11e,_0x4a9989){return _0x7db49b(_0x15e11e,_0x4a9989);},'rpiox':_0x230898(0x191),'JcrxS':_0x230898(0x274),'YZqBd':_0x230898(0x140),'vBpss':'Waiting\x20for\x20Cert\x20Manager\x20Deployments','odbMU':function(_0x30f34f,_0x36bacc,_0x22f600){return _0x30f34f(_0x36bacc,_0x22f600);},'VIJgm':_0x230898(0x22b),'ugcPR':_0x230898(0x1cb),'oulww':function(_0x5a828f,_0x2875e9,_0xdc62d5,_0x487a82,_0x4d5f77){return _0x5a828f(_0x2875e9,_0xdc62d5,_0x487a82,_0x4d5f77);},'SpKos':_0x230898(0x130),'DZSKV':'clusterissuer.yaml','WsFfk':_0x230898(0x17a),'VuKrm':_0x230898(0x258),'eNhjI':function(_0x268208,_0x14af79,_0x4c28a2,_0x4f5adc,_0x32f35e){return _0x268208(_0x14af79,_0x4c28a2,_0x4f5adc,_0x32f35e);},'zPspA':function(_0xa848ef,_0xd15d21,_0x4ffe21){return _0xa848ef(_0xd15d21,_0x4ffe21);},'YnubF':_0x230898(0x144),'iYrKJ':_0x230898(0x139),'odSRZ':_0x230898(0x26a),'IYVut':_0x230898(0x169),'LbvXv':'Added\x20Cert\x20Issuer','EYMGp':_0x230898(0x1ce),'QXINo':_0x230898(0x134),'parxD':_0x230898(0x195),'wXpde':_0x230898(0x1c6),'gAIEq':_0x230898(0x1a9),'yLsyx':_0x230898(0x1b9),'JJMBF':_0x230898(0x162),'jSjbE':_0x230898(0x136),'ihbht':_0x230898(0x1cd),'pwQqx':'hub-deployment.yaml','mCjON':_0x230898(0x250),'gGzYl':_0x230898(0x270),'RfWej':'ingress-nginx-controller','kYZBx':function(_0x22888c,_0x2e3ecc,_0x2a054f,_0x2eb225,_0x2ada6f){return _0x22888c(_0x2e3ecc,_0x2a054f,_0x2eb225,_0x2ada6f);},'CncDY':'private-ingress-nginx-controller','XBnCC':'ingress.yaml','tSkpk':_0x230898(0x148),'DHaob':function(_0x4399c5,_0x19dc33,_0x391e1d){return _0x4399c5(_0x19dc33,_0x391e1d);},'wLVRp':_0x230898(0x202),'DKveW':function(_0x42893d,_0x35f3a4){return _0x42893d(_0x35f3a4);}};let _0x506c45=null,_0x4abd5c=null;logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1b5)]),_0x506c45=await _0x518b28['VkZKo'](applyTemplate,_0x518b28['pcfJK'],_0x47a326);const _0x5b3215={};_0x5b3215[_0x230898(0x291)]=_0x506c45,await _0x447928[_0x230898(0x26d)](_0x5b3215),logger[_0x230898(0x1bf)](_0x518b28['WQIBk']);_0x518b28[_0x230898(0x1ea)](_0x35de91,null)&&_0x518b28[_0x230898(0x271)](_0x35de91,undefined)&&(_0x518b28[_0x230898(0x137)](_0x518b28[_0x230898(0x196)],_0x518b28[_0x230898(0x279)])?(logger['info'](_0x518b28[_0x230898(0x284)]),await this[_0x230898(0x1a7)](_0x20fd07,_0x4a8848,_0x1006b0,_0x447928,_0x47a326,_0x457406,_0x35de91),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x225)])):_0x4604a2=_0x11eb4d[_0x230898(0x1c5)](/<GridProfileID>/g,''));const _0x7d12c2=await this[_0x230898(0x1ff)](_0x20fd07);if(!_0x7d12c2){if(_0x518b28[_0x230898(0x129)](_0x518b28[_0x230898(0x245)],_0x518b28['BieVb']))logger['info'](_0x518b28['tvKai']),await this[_0x230898(0x1af)](_0x20fd07,_0x4a8848,_0x447928,_0x58f263),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1cc)]);else{const _0x496358={'azure.workload.identity/use':_0x518b28[_0x230898(0x189)],..._0x477e42['spec']['template'][_0x230898(0x227)]['labels']};_0x308ba6[_0x230898(0x180)][_0x230898(0x181)][_0x230898(0x227)][_0x230898(0x1bc)]=_0x496358;}}try{if(_0x518b28[_0x230898(0x1d8)](_0x518b28[_0x230898(0x17d)],_0x518b28[_0x230898(0x282)])){logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x223)]),_0x506c45=await _0x518b28[_0x230898(0x237)](applyTemplate,_0x518b28['NhpMu'],_0x47a326,_0x53b200);const _0x3e92c2={};_0x3e92c2[_0x230898(0x155)]=_0x47a326,_0x3e92c2[_0x230898(0x291)]=_0x506c45,await _0x20fd07[_0x230898(0x13b)](_0x3e92c2),logger[_0x230898(0x1bf)](_0x518b28['DYzcH']);if(_0x518b28[_0x230898(0x1fd)](global_registry['cloudProvider'],AZURE)){if(_0x518b28['JvjKO'](_0x518b28['BEIRX'],_0x518b28[_0x230898(0x192)]))_0x49ede4=_0x3fc9f5[_0x230898(0x1c5)](/<GridProfileID>/g,_0x270ee8[_0x230898(0x25f)]);else{logger[_0x230898(0x1bf)](_0x518b28['tfHLl']),_0x506c45=await _0x518b28[_0x230898(0x28f)](applyTemplate,_0x518b28['RVjDo'],_0x47a326,_0x53b200);const _0x332beb={};_0x332beb['name']=_0x518b28[_0x230898(0x286)],_0x332beb['namespace']=_0x47a326,_0x332beb['body']=_0x506c45,await _0x20fd07[_0x230898(0x158)](_0x332beb),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x289)]);}}logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1f8)]),_0x506c45=await _0x518b28[_0x230898(0x17f)](applyTemplate,_0x518b28[_0x230898(0x1e3)],_0x47a326);const _0x5f47ed={};_0x5f47ed['body']=_0x506c45,await _0x447928[_0x230898(0x24d)](_0x5f47ed),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x219)]),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1e2)]),_0x506c45=await _0x518b28[_0x230898(0x232)](applyTemplate,_0x518b28[_0x230898(0x15b)],_0x47a326);const _0x2647ec={};_0x2647ec[_0x230898(0x291)]=_0x506c45,await _0x447928['createClusterRoleBinding'](_0x2647ec),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x14b)]);}else throw _0x1d9e87;}catch(_0x5bd7eb){if(_0x518b28[_0x230898(0x204)](_0x5bd7eb[_0x230898(0x261)],0x199)||_0x518b28[_0x230898(0x1ac)](_0x5bd7eb[_0x230898(0x16c)],0x199))logger['debug'](_0x5bd7eb[_0x230898(0x25d)]);else throw _0x5bd7eb;}const _0x52fbdb=await this['namespaceExists'](_0x20fd07,_0x518b28['tvSeP']);if(!_0x52fbdb){const _0xebae14=_0x518b28[_0x230898(0x238)]['split']('|');let _0x1560c1=0x0;while(!![]){switch(_0xebae14[_0x1560c1++]){case'0':logger['info'](_0x518b28['LjWdV']);continue;case'1':_0x506c45=yaml['loadAll'](_0x4abd5c);continue;case'2':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x203)]);continue;case'3':await _0x518b28[_0x230898(0x190)](kubeApply,_0x506c45,_0x24fcb8);continue;case'4':logger[_0x230898(0x1bf)](_0x518b28['EvzjA']);continue;case'5':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x280)]);continue;case'6':_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x20f)],_0x518b28[_0x230898(0x201)]),_0x518b28[_0x230898(0x296)]);continue;case'7':_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x20f)],_0x518b28[_0x230898(0x20a)]),_0x518b28[_0x230898(0x296)]);continue;case'8':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;case'9':await _0x518b28[_0x230898(0x1a1)](kubeApply,_0x506c45,_0x24fcb8);continue;}break;}}if(global_registry[_0x230898(0x1f7)]){logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x178)]);let _0x15dd3a;if(_0x518b28[_0x230898(0x247)](global_registry[_0x230898(0x209)],AZURE))_0x15dd3a=_0x518b28[_0x230898(0x28c)];else _0x518b28[_0x230898(0x1fd)](global_registry[_0x230898(0x209)],GCP)?_0x15dd3a=_0x518b28[_0x230898(0x1b6)]:_0x15dd3a=_0x518b28[_0x230898(0x1e8)];_0x4abd5c=await fs[_0x230898(0x224)](path['join'](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28['VTzfu'],_0x518b28['PjKbh']),_0x518b28[_0x230898(0x296)]),_0x4abd5c=_0x4abd5c[_0x230898(0x1c5)](/<InternalLoadBalancerAnnotations>/g,_0x15dd3a),_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c),await _0x518b28[_0x230898(0x232)](kubeApply,_0x506c45,_0x24fcb8),logger['info'](_0x518b28[_0x230898(0x1c1)]);}if(global_registry[_0x230898(0x13f)]){const _0x432c2b=_0x518b28[_0x230898(0x264)]['split']('|');let _0xd7fb77=0x0;while(!![]){switch(_0x432c2b[_0xd7fb77++]){case'0':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1f3)]);continue;case'1':_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28['tjtpo']),_0x518b28[_0x230898(0x296)]);continue;case'2':await _0x518b28['ZxYTt'](kubeApply,_0x506c45,_0x24fcb8);continue;case'3':logger['info'](_0x518b28[_0x230898(0x253)]);continue;case'4':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;}break;}}const _0x469bec=await this[_0x230898(0x25c)](_0x20fd07,_0x518b28[_0x230898(0x1dc)]);if(!_0x469bec){const _0x3f442c=_0x518b28[_0x230898(0x218)]['split']('|');let _0x5c9e75=0x0;while(!![]){switch(_0x3f442c[_0x5c9e75++]){case'0':logger['info'](_0x518b28[_0x230898(0x244)]);continue;case'1':await _0x518b28[_0x230898(0x213)](kubeApply,_0x506c45,_0x24fcb8);continue;case'2':logger['info'](_0x518b28[_0x230898(0x1d4)]);continue;case'3':logger['info'](_0x518b28[_0x230898(0x164)]);continue;case'4':await _0x518b28[_0x230898(0x131)](waitForDeployment,_0x4a8848,_0x518b28[_0x230898(0x1dc)],_0x518b28['SpKos'],0x7530);continue;case'5':_0x4abd5c=await fs['readFileAsync'](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x1dc)],_0x518b28['DZSKV']),_0x518b28['OUEvh']);continue;case'6':await _0x518b28[_0x230898(0x131)](waitForDeployment,_0x4a8848,_0x518b28['JcrxS'],_0x518b28[_0x230898(0x1f0)],0x7530);continue;case'7':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;case'8':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;case'9':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x285)]);continue;case'10':await _0x518b28['eNhjI'](waitForDeployment,_0x4a8848,_0x518b28[_0x230898(0x1dc)],_0x518b28[_0x230898(0x1dc)],0x7530);continue;case'11':await _0x518b28['zPspA'](kubeApply,_0x506c45,_0x24fcb8);continue;case'12':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x1be)]);continue;case'13':await _0x518b28[_0x230898(0x232)](kubeApply,_0x506c45,_0x24fcb8);continue;case'14':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x220)]);continue;case'15':_0x4abd5c=await fs[_0x230898(0x224)](path['join'](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x1dc)],_0x518b28[_0x230898(0x287)]),_0x518b28[_0x230898(0x296)]);continue;case'16':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;case'17':_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x1dc)],_0x518b28[_0x230898(0x1ec)]),_0x518b28['OUEvh']);continue;case'18':logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x15a)]);continue;}break;}}const _0x25fd65=await this[_0x230898(0x25c)](_0x20fd07,_0x518b28[_0x230898(0x1aa)]);if(!_0x25fd65){const _0x42addb=_0x518b28['QXINo'][_0x230898(0x15d)]('|');let _0x479b34=0x0;while(!![]){switch(_0x42addb[_0x479b34++]){case'0':logger['info'](_0x518b28[_0x230898(0x1a4)]);continue;case'1':await _0x518b28[_0x230898(0x1a1)](kubeApply,_0x506c45,_0x24fcb8);continue;case'2':_0x4abd5c=_0x4abd5c['replace'](/<BstackAccessKey>/g,global_registry[_0x230898(0x1f6)]);continue;case'3':_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c);continue;case'4':logger[_0x230898(0x1bf)](_0x518b28['wXpde']);continue;case'5':_0x4abd5c=_0x4abd5c[_0x230898(0x1c5)](/<BstackUsername>/g,global_registry[_0x230898(0x174)]);continue;case'6':_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28[_0x230898(0x151)]),_0x518b28[_0x230898(0x296)]);continue;case'7':_0x4abd5c=_0x4abd5c[_0x230898(0x1c5)](/<BstackURL>/g,AG_API_URL);continue;}break;}}logger['info'](_0x518b28[_0x230898(0x1d7)]),_0x506c45=await _0x518b28['zCsPb'](applyTemplate,_0x518b28[_0x230898(0x23d)],_0x47a326);const _0x49755b={};_0x49755b[_0x230898(0x155)]=_0x47a326,_0x49755b[_0x230898(0x291)]=_0x506c45,await _0x20fd07[_0x230898(0x276)](_0x49755b),logger['info'](_0x518b28[_0x230898(0x1d9)]),logger['info'](_0x518b28['ihbht']),_0x506c45=await _0x518b28[_0x230898(0x17f)](applyTemplate,_0x518b28[_0x230898(0x221)],_0x47a326);const _0x40cb7d={};_0x40cb7d[_0x230898(0x155)]=_0x47a326,_0x40cb7d[_0x230898(0x291)]=_0x506c45,await _0x4a8848['createNamespacedDeployment'](_0x40cb7d),logger[_0x230898(0x1bf)](_0x518b28[_0x230898(0x171)]),logger['info'](_0x518b28[_0x230898(0x22d)]),await _0x518b28[_0x230898(0x131)](waitForDeployment,_0x4a8848,_0x518b28[_0x230898(0x1b0)],_0x518b28[_0x230898(0x1e4)],0xea60);global_registry[_0x230898(0x1f7)]&&await _0x518b28[_0x230898(0x1da)](waitForDeployment,_0x4a8848,_0x518b28[_0x230898(0x1b0)],_0x518b28[_0x230898(0x126)],0xea60);_0x4abd5c=await fs[_0x230898(0x224)](path[_0x230898(0x212)](__dirname,'..',_0x518b28[_0x230898(0x127)],_0x518b28['XBnCC']),_0x518b28['OUEvh']);const _0x34dd26=global_registry[_0x230898(0x1f7)]?_0x518b28[_0x230898(0x1b1)]:_0x518b28[_0x230898(0x20f)];_0x4abd5c=_0x4abd5c['replace'](/<GridNamespace>/g,_0x47a326),_0x4abd5c=_0x4abd5c[_0x230898(0x1c5)](/<NginxIngressClass>/g,_0x34dd26),_0x506c45=yaml[_0x230898(0x292)](_0x4abd5c),await _0x518b28['DHaob'](kubeApply,_0x506c45,_0x24fcb8),logger[_0x230898(0x1bf)](_0x518b28['wLVRp']),await _0x518b28['DKveW'](delay,0x1388);},exports['removeGridComponents']=async(_0x4920cb,_0x4b5ad6,_0xeb95fc,_0xea0962,_0x563625)=>{const _0x581a62=a28_0x5d0de0,_0x1a2a73={'oRFqs':_0x581a62(0x165),'Qgiue':'Deleting\x20clusterrolebinding','tloqQ':'Removing\x20grid\x20components','cntdB':_0x581a62(0x194),'DIPci':'Removed\x20grid\x20components','kKiyR':function(_0x4b93f1,_0x7d6037){return _0x4b93f1(_0x7d6037);}},_0x3439c3=_0x1a2a73[_0x581a62(0x273)]['split']('|');let _0x311186=0x0;while(!![]){switch(_0x3439c3[_0x311186++]){case'0':logger[_0x581a62(0x1bf)](_0x1a2a73[_0x581a62(0x19f)]);continue;case'1':const _0x1ea648={};_0x1ea648[_0x581a62(0x200)]=_0x563625,await _0x4920cb[_0x581a62(0x167)](_0x1ea648);continue;case'2':logger[_0x581a62(0x1bf)](_0x1a2a73[_0x581a62(0x259)]);continue;case'3':const _0xb492a9={};_0xb492a9[_0x581a62(0x200)]=_0x581a62(0x1ca)+_0x563625,await _0xea0962[_0x581a62(0x135)](_0xb492a9);continue;case'4':logger[_0x581a62(0x1bf)](_0x1a2a73[_0x581a62(0x16b)]);continue;case'5':logger[_0x581a62(0x1bf)](_0x1a2a73[_0x581a62(0x1a8)]);continue;case'6':await _0x1a2a73[_0x581a62(0x15e)](delay,0x2710);continue;}break;}},exports[a28_0x5d0de0(0x133)]=async _0x2b622f=>{const _0x51772a=a28_0x5d0de0,_0x1906a0={};_0x1906a0['sOMJz']=_0x51772a(0x1ce),_0x1906a0[_0x51772a(0x23e)]='Deleting\x20Turboscale\x20Agent',_0x1906a0[_0x51772a(0x1c8)]=_0x51772a(0x240);const _0x3c6dee=_0x1906a0,_0x4993de=await this[_0x51772a(0x25c)](_0x2b622f,_0x3c6dee[_0x51772a(0x12a)]);if(_0x4993de){logger['info'](_0x3c6dee['BCVqW']);const _0x2e990d={};_0x2e990d['name']=_0x3c6dee[_0x51772a(0x12a)],await _0x2b622f['deleteNamespace'](_0x2e990d),logger['info'](_0x3c6dee['GgRel']);}},exports[a28_0x5d0de0(0x214)]=async _0x2bd479=>{const _0x1f0554=a28_0x5d0de0,_0x22179a={'Lcadn':'ingress-nginx','lcRUh':_0x1f0554(0x122),'YdimE':_0x1f0554(0x16f),'pxwTc':function(_0x5029ad,_0x2733d5){return _0x5029ad(_0x2733d5);},'MCyWl':_0x1f0554(0x274),'RLZgX':_0x1f0554(0x175),'zkYQZ':_0x1f0554(0x1cf)},_0x8f168a=await this[_0x1f0554(0x25c)](_0x2bd479,_0x22179a['Lcadn']);if(_0x8f168a){logger[_0x1f0554(0x1bf)](_0x22179a['lcRUh']);const _0x1cbb0c={};_0x1cbb0c[_0x1f0554(0x200)]=_0x22179a[_0x1f0554(0x19a)],await _0x2bd479[_0x1f0554(0x167)](_0x1cbb0c),logger[_0x1f0554(0x1bf)](_0x22179a[_0x1f0554(0x27a)]);}await _0x22179a[_0x1f0554(0x170)](delay,0x124f8);const _0x2e7d14=await this['namespaceExists'](_0x2bd479,_0x22179a[_0x1f0554(0x1d1)]);if(_0x2e7d14){logger['info'](_0x22179a[_0x1f0554(0x293)]);const _0x565e41={};_0x565e41[_0x1f0554(0x200)]=_0x22179a[_0x1f0554(0x1d1)],await _0x2bd479[_0x1f0554(0x167)](_0x565e41),logger[_0x1f0554(0x1bf)](_0x22179a[_0x1f0554(0x142)]);}await _0x22179a[_0x1f0554(0x170)](delay,0xafc8);},exports[a28_0x5d0de0(0x19e)]=async(_0x243e44,_0x80806a)=>{const _0x3bc2e7=a28_0x5d0de0,_0x36a9c9={'UNjQr':function(_0x33f6c7,_0x1af92f){return _0x33f6c7(_0x1af92f);},'poSZf':_0x3bc2e7(0x1eb)};logger[_0x3bc2e7(0x1bf)](_0x3bc2e7(0x25b)+CLUSTER_DEP_STACK_NAME+'-'+_0x80806a+_0x3bc2e7(0x235)+CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x80806a+_0x3bc2e7(0x278)+_0x243e44),await Promise['all']([_0x36a9c9[_0x3bc2e7(0x24f)](deleteClusterStack,CLUSTER_DEP_STACK_NAME+'-'+_0x80806a),_0x36a9c9[_0x3bc2e7(0x24f)](deleteClusterStack,CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x80806a)]),logger['info'](_0x36a9c9[_0x3bc2e7(0x1ad)]);},exports[a28_0x5d0de0(0x159)]=async(_0x24b71d,_0x17f932)=>{const _0x3569b5=a28_0x5d0de0,_0x71e1e2={};_0x71e1e2[_0x3569b5(0x24a)]=_0x3569b5(0x177),_0x71e1e2[_0x3569b5(0x12d)]='Scaled\x20up\x20deployment';const _0x1d7ba0=_0x71e1e2;logger[_0x3569b5(0x1bf)](_0x1d7ba0['oToMj']);const _0x5a4147={};_0x5a4147[_0x3569b5(0x200)]=TURBOSCALE_DEPLOYMENT,_0x5a4147[_0x3569b5(0x155)]=_0x17f932;const _0x12d146=await _0x24b71d[_0x3569b5(0x255)](_0x5a4147);_0x12d146[_0x3569b5(0x180)][_0x3569b5(0x234)]=0x1;const _0x73d160={};_0x73d160['name']=TURBOSCALE_DEPLOYMENT,_0x73d160[_0x3569b5(0x155)]=_0x17f932,_0x73d160['body']=_0x12d146,await _0x24b71d[_0x3569b5(0x18a)](_0x73d160),logger['info'](_0x1d7ba0[_0x3569b5(0x12d)]);},exports[a28_0x5d0de0(0x16a)]=async(_0x17b1c5,_0x234095)=>{const _0x174817=a28_0x5d0de0,_0x1c9940={};_0x1c9940['VjqHR']=_0x174817(0x21f),_0x1c9940[_0x174817(0x186)]=_0x174817(0x154);const _0xf0d52f=_0x1c9940;logger['info'](_0xf0d52f[_0x174817(0x295)]);const _0x403961={};_0x403961['name']=TURBOSCALE_DEPLOYMENT,_0x403961['namespace']=_0x234095;const _0xd1e0fa=await _0x17b1c5[_0x174817(0x255)](_0x403961);_0xd1e0fa['spec'][_0x174817(0x234)]=0x0;const _0xb7d0d={};_0xb7d0d['name']=TURBOSCALE_DEPLOYMENT,_0xb7d0d[_0x174817(0x155)]=_0x234095,_0xb7d0d[_0x174817(0x291)]=_0xd1e0fa,await _0x17b1c5[_0x174817(0x18a)](_0xb7d0d),logger['info'](_0xf0d52f['JfipP']);};
@@ -1 +1 @@
1
- const a29_0x56a961=a29_0x1ae4;(function(_0x3603a9,_0x3d04b2){const _0x4255a7=a29_0x1ae4,_0x45ee42=_0x3603a9();while(!![]){try{const _0x53bcac=parseInt(_0x4255a7(0x96))/0x1+parseInt(_0x4255a7(0xbe))/0x2+-parseInt(_0x4255a7(0xc9))/0x3*(parseInt(_0x4255a7(0xb7))/0x4)+-parseInt(_0x4255a7(0xc7))/0x5*(-parseInt(_0x4255a7(0xbd))/0x6)+parseInt(_0x4255a7(0xc6))/0x7*(parseInt(_0x4255a7(0xda))/0x8)+parseInt(_0x4255a7(0xde))/0x9*(-parseInt(_0x4255a7(0xa1))/0xa)+parseInt(_0x4255a7(0xd0))/0xb*(parseInt(_0x4255a7(0xcf))/0xc);if(_0x53bcac===_0x3d04b2)break;else _0x45ee42['push'](_0x45ee42['shift']());}catch(_0x15484a){_0x45ee42['push'](_0x45ee42['shift']());}}}(a29_0x3b5e,0x35334));const {fetchVPCs,fetchSubnets,fetchSecurityGroups,getAWSRegions}=require(a29_0x56a961(0xa0)),webSocketUtils=require(a29_0x56a961(0xc5)),{logger}=require('../config/logger'),{WS_EVENTS,AWS,global_registry}=require(a29_0x56a961(0xaa));function a29_0x1ae4(_0x3c0575,_0x32b686){const _0x3b5e2a=a29_0x3b5e();return a29_0x1ae4=function(_0x1ae4a9,_0x2802a1){_0x1ae4a9=_0x1ae4a9-0x96;let _0x5b3f0b=_0x3b5e2a[_0x1ae4a9];return _0x5b3f0b;},a29_0x1ae4(_0x3c0575,_0x32b686);}exports[a29_0x56a961(0xd1)]=async _0x4a4917=>{const _0x24682a=a29_0x56a961,_0x3b6a95={'ATAPa':function(_0x583594,_0x4fef9a){return _0x583594!==_0x4fef9a;},'iSmtb':_0x24682a(0x98),'fpByZ':function(_0x5166f1,_0xef1d75){return _0x5166f1===_0xef1d75;},'xNoiR':'bluxd','QGcbj':_0x24682a(0xd7),'GTlcB':_0x24682a(0xa9),'SNjqv':_0x24682a(0x9a),'RbDpv':_0x24682a(0xa4),'pliPD':_0x24682a(0xe3),'jEfxJ':function(_0xb36d2c,_0x35a080){return _0xb36d2c(_0x35a080);},'pPfBR':function(_0x586aa6,_0x2990b2){return _0x586aa6(_0x2990b2);},'ovJTw':function(_0x29c8b9,_0x5bc5b3){return _0x29c8b9(_0x5bc5b3);},'kkmQS':function(_0x1a625d){return _0x1a625d();}},_0x509c2d=await _0x3b6a95[_0x24682a(0xb6)](getAWSRegions);_0x509c2d[_0x24682a(0xd9)](_0x3ac4ef=>{const _0x4cd62b=_0x24682a,_0xc9f16c={'DDfiT':function(_0x27301e,_0x52644b){const _0x39164b=a29_0x1ae4;return _0x3b6a95[_0x39164b(0xc8)](_0x27301e,_0x52644b);},'MKAHn':_0x3b6a95[_0x4cd62b(0xc3)],'COkux':function(_0x25bc53,_0x786f4){const _0x51b5f6=_0x4cd62b;return _0x3b6a95[_0x51b5f6(0x9c)](_0x25bc53,_0x786f4);},'bRDfU':_0x3b6a95[_0x4cd62b(0xbc)],'uvpzk':_0x3b6a95[_0x4cd62b(0xcd)],'YZtkz':function(_0x4c7fd0,_0x2039c5){const _0x271617=_0x4cd62b;return _0x3b6a95[_0x271617(0x9c)](_0x4c7fd0,_0x2039c5);},'deuKJ':_0x3b6a95['GTlcB'],'hZozd':_0x3b6a95[_0x4cd62b(0xdb)]};if(_0x3b6a95[_0x4cd62b(0xc8)](_0x3b6a95[_0x4cd62b(0xc0)],_0x3b6a95[_0x4cd62b(0xb1)])){const _0x1169aa={};_0x1169aa[_0x4cd62b(0xb0)]=_0x3ac4ef['RegionName'],_0x1169aa['username']=global_registry[_0x4cd62b(0xcc)],_0x1169aa[_0x4cd62b(0xe1)]=global_registry[_0x4cd62b(0xdf)],_0x1169aa[_0x4cd62b(0xc4)]=AWS;const _0x34f85d=_0x1169aa,_0x1b6aa6=_0x3b6a95[_0x4cd62b(0xa7)](fetchVPCs,_0x3ac4ef[_0x4cd62b(0xd5)])[_0x4cd62b(0xb3)](_0x58b02f=>{const _0x812244=_0x4cd62b;if(_0xc9f16c[_0x812244(0xaf)](_0xc9f16c[_0x812244(0xa8)],_0xc9f16c[_0x812244(0xa8)])){_0x17e3a6['verbose'](_0x812244(0xa5)+_0x5cb138[_0x812244(0xd5)]+_0x812244(0xd2));const _0xe1ce32={};_0xe1ce32[_0x812244(0xb9)]=_0x582085[_0x812244(0xa2)],_0xe1ce32[_0x812244(0xa6)]=_0x1b444d,_0x1f20ac['sendEventToBackend'](_0x5ac87e,_0xe1ce32);}else _0x34f85d[_0x812244(0xbb)]=_0x58b02f;})[_0x4cd62b(0xdd)](_0x392806=>{}),_0x30a6e6=_0x3b6a95[_0x4cd62b(0xd6)](fetchSubnets,_0x3ac4ef['RegionName'])[_0x4cd62b(0xb3)](_0x44d81c=>{const _0x18392a=_0x4cd62b;_0xc9f16c[_0x18392a(0xac)](_0xc9f16c['bRDfU'],_0xc9f16c[_0x18392a(0x97)])?_0x1657fd[_0x18392a(0xc1)]=_0x3d5025:_0x34f85d['subnetInfo']=_0x44d81c;})[_0x4cd62b(0xdd)](_0x215a42=>{}),_0x13bd24=_0x3b6a95[_0x4cd62b(0xe0)](fetchSecurityGroups,_0x3ac4ef['RegionName'])[_0x4cd62b(0xb3)](_0x253903=>{const _0x3614ec=_0x4cd62b;_0xc9f16c[_0x3614ec(0xca)](_0xc9f16c['deuKJ'],_0xc9f16c[_0x3614ec(0x9b)])?_0x34f85d[_0x3614ec(0xc2)]=_0x253903:_0x10e570[_0x3614ec(0xbb)]=_0x2f5543;})[_0x4cd62b(0xdd)](_0x4eeb0a=>{});Promise[_0x4cd62b(0xb4)]([_0x1b6aa6,_0x30a6e6,_0x13bd24])[_0x4cd62b(0xb3)](()=>{const _0x5495b5=_0x4cd62b;if(_0xc9f16c[_0x5495b5(0xaf)](_0xc9f16c[_0x5495b5(0xb5)],_0xc9f16c[_0x5495b5(0xb5)]))_0x21e839['subnetInfo']=_0x418a7c;else{logger[_0x5495b5(0xd4)](_0x5495b5(0xa5)+_0x3ac4ef[_0x5495b5(0xd5)]+'\x20to\x20Browserstack');const _0x574b3e={};_0x574b3e['type']=WS_EVENTS['RESOURCES'],_0x574b3e[_0x5495b5(0xa6)]=_0x34f85d,webSocketUtils['sendEventToBackend'](_0x4a4917,_0x574b3e);}});}else _0x14aa7a[_0x4cd62b(0xc2)]=_0x4065af;});},exports['sendAzureInfoToHST']=async _0x54713d=>{const _0x312721=a29_0x56a961,_0x40d59d={'eaQAU':function(_0x27298e,_0x841cf9){return _0x27298e!==_0x841cf9;},'MQYlz':_0x312721(0xb2),'wkQlv':function(_0x495259,_0x12621e){return _0x495259===_0x12621e;},'xtdCm':_0x312721(0xe4),'uBUnG':_0x312721(0xa3),'PFeOp':_0x312721(0xab),'BkRam':'eJGNf','pAhbc':function(_0x51e9df,_0x14f9ad){return _0x51e9df(_0x14f9ad);},'WtPnl':function(_0x1f1a22,_0x5a6d77){return _0x1f1a22(_0x5a6d77);},'CDuFj':function(_0x106257,_0x239767){return _0x106257(_0x239767);},'PpUOs':function(_0x51d4fe){return _0x51d4fe();}},_0x43a5a9=await _0x40d59d[_0x312721(0xcb)](getAWSRegions);_0x43a5a9[_0x312721(0xd9)](_0x34b224=>{const _0x51b474=_0x312721,_0x92e53e={'QnnXu':function(_0x4a479b,_0x610e74){const _0x3b14cd=a29_0x1ae4;return _0x40d59d[_0x3b14cd(0xce)](_0x4a479b,_0x610e74);},'nzRhT':_0x40d59d[_0x51b474(0xb8)],'QwqiB':_0x40d59d[_0x51b474(0xd3)],'JMkkx':_0x40d59d[_0x51b474(0xd8)],'UjIdC':_0x40d59d[_0x51b474(0x9d)]},_0x52f094={};_0x52f094[_0x51b474(0xb0)]=_0x34b224[_0x51b474(0xd5)],_0x52f094[_0x51b474(0x9e)]=global_registry[_0x51b474(0xcc)],_0x52f094[_0x51b474(0xe1)]=global_registry[_0x51b474(0xdf)];const _0x32f804=_0x52f094,_0x5d636d=_0x40d59d[_0x51b474(0xe2)](fetchVPCs,_0x34b224[_0x51b474(0xd5)])[_0x51b474(0xb3)](_0xb85793=>{const _0x473c53=_0x51b474;_0x92e53e[_0x473c53(0xad)](_0x92e53e[_0x473c53(0xba)],_0x92e53e[_0x473c53(0xbf)])?_0x449d16[_0x473c53(0xbb)]=_0x36287d:_0x32f804['vpcInfo']=_0xb85793;})['catch'](_0x23a134=>{}),_0x5eb5a8=_0x40d59d[_0x51b474(0x9f)](fetchSubnets,_0x34b224[_0x51b474(0xd5)])[_0x51b474(0xb3)](_0x28d39f=>{const _0x52d56c=_0x51b474;if(_0x40d59d['eaQAU'](_0x40d59d[_0x52d56c(0xdc)],_0x40d59d[_0x52d56c(0xdc)])){_0x2f610a[_0x52d56c(0xd4)](_0x52d56c(0xa5)+_0x1fa73d[_0x52d56c(0xd5)]+_0x52d56c(0xd2));const _0x5debe2={};_0x5debe2[_0x52d56c(0xb9)]=_0x3d4ae5[_0x52d56c(0xa2)],_0x5debe2['message']=_0x341c03,_0x2adfa1[_0x52d56c(0x99)](_0x740f40,_0x5debe2);}else _0x32f804['subnetInfo']=_0x28d39f;})[_0x51b474(0xdd)](_0x303457=>{}),_0x2e232a=_0x40d59d[_0x51b474(0xae)](fetchSecurityGroups,_0x34b224[_0x51b474(0xd5)])[_0x51b474(0xb3)](_0x11744b=>{const _0x7c412d=_0x51b474;_0x92e53e[_0x7c412d(0xad)](_0x92e53e['JMkkx'],_0x92e53e['UjIdC'])?_0x22e6c4['securityGroupInfo']=_0x17e9ac:_0x32f804[_0x7c412d(0xc2)]=_0x11744b;})[_0x51b474(0xdd)](_0x5e633a=>{});Promise['all']([_0x5d636d,_0x5eb5a8,_0x2e232a])['then'](()=>{const _0x451a3f=_0x51b474;logger[_0x451a3f(0xd4)](_0x451a3f(0xa5)+_0x34b224[_0x451a3f(0xd5)]+'\x20to\x20Browserstack');const _0x172151={};_0x172151[_0x451a3f(0xb9)]=WS_EVENTS['RESOURCES'],_0x172151[_0x451a3f(0xa6)]=_0x32f804,webSocketUtils[_0x451a3f(0x99)](_0x54713d,_0x172151);});});};function a29_0x3b5e(){const _0x3e7dc6=['CDuFj','DDfiT','region','pliPD','lzFUp','then','all','hZozd','kkmQS','228JSkqXK','xtdCm','type','nzRhT','vpcInfo','xNoiR','96774JQHDsR','271968tNofxY','QwqiB','RbDpv','subnetInfo','securityGroupInfo','iSmtb','cloudProvider','./webSocketUtils','4739tofcXQ','70aXHaeX','ATAPa','15156ZLnymk','YZtkz','PpUOs','bstackUsername','QGcbj','wkQlv','12hdsvMM','2246035AlCnhj','sendAWSInfoToHST','\x20to\x20Browserstack','uBUnG','verbose','RegionName','pPfBR','sMxmb','PFeOp','forEach','2696yeEjOV','SNjqv','MQYlz','catch','136656PWDYwx','bstackAccesskey','ovJTw','accessKey','pAhbc','iosrF','Bjiwp','121716mvOaUO','uvpzk','lDLEC','sendEventToBackend','DaqMo','deuKJ','fpByZ','BkRam','username','WtPnl','./AWSUtils','270vdPcLi','RESOURCES','Fqdkn','StOhd','Sending\x20Resource\x20info\x20for\x20region\x20','message','jEfxJ','MKAHn','jWrDO','../config/constants','aAuLm','COkux','QnnXu'];a29_0x3b5e=function(){return _0x3e7dc6;};return a29_0x3b5e();}
1
+ function a29_0x3c2f(){const _0x17de04=['\x20to\x20Browserstack','securityGroupInfo','atpCg','2742903cSEFkj','forEach','aLIaf','qcquh','3222452MaMRNI','ktyjl','dmwJJ','cwFAY','bstackAccesskey','NXmdx','cbOcE','2010dAbpaN','2863hoMHUh','WSqbq','WQZgu','qAtym','1062055yzDugz','username','1292607CxaUBW','SmZXm','./webSocketUtils','RESOURCES','sendEventToBackend','KtqLS','zcfhH','14IUpOcp','DSSNc','type','6492605JhmXHr','sKPUa','yujMO','pJrGq','vpcInfo','QlQUM','8bcVUHI','vIfxX','aNzQi','region','message','../config/logger','FAtfm','subnetInfo','TLVJl','Sending\x20Resource\x20info\x20for\x20region\x20','GQQbi','RegionName','bstackUsername','sendAWSInfoToHST','then','ofuWW','jlKLI','mYWKc','6ncYVHS','EHIWU','../config/constants','80091XQKxWx','KCLSL','IVjOS','GalBO','accessKey','Wzhvl','vhjtX','cLFUb','catch','all','aPISo','VNIWe','verbose','PyMHL','MtQKp'];a29_0x3c2f=function(){return _0x17de04;};return a29_0x3c2f();}function a29_0x3428(_0x179c3e,_0x1eb713){const _0x3c2f63=a29_0x3c2f();return a29_0x3428=function(_0x3428e2,_0x21edee){_0x3428e2=_0x3428e2-0xd8;let _0x8d46c3=_0x3c2f63[_0x3428e2];return _0x8d46c3;},a29_0x3428(_0x179c3e,_0x1eb713);}const a29_0x481baf=a29_0x3428;(function(_0x36e4d3,_0x2da89e){const _0x31e023=a29_0x3428,_0x58dcef=_0x36e4d3();while(!![]){try{const _0x214ce9=-parseInt(_0x31e023(0xfa))/0x1*(parseInt(_0x31e023(0x107))/0x2)+-parseInt(_0x31e023(0x100))/0x3+-parseInt(_0x31e023(0xf2))/0x4+parseInt(_0x31e023(0xfe))/0x5*(-parseInt(_0x31e023(0xd9))/0x6)+parseInt(_0x31e023(0x10a))/0x7*(parseInt(_0x31e023(0x110))/0x8)+-parseInt(_0x31e023(0xee))/0x9+parseInt(_0x31e023(0xf9))/0xa*(parseInt(_0x31e023(0xdc))/0xb);if(_0x214ce9===_0x2da89e)break;else _0x58dcef['push'](_0x58dcef['shift']());}catch(_0x4e4a8b){_0x58dcef['push'](_0x58dcef['shift']());}}}(a29_0x3c2f,0x96b4f));const {fetchVPCs,fetchSubnets,fetchSecurityGroups,getAWSRegions}=require('./AWSUtils'),webSocketUtils=require(a29_0x481baf(0x102)),{logger}=require(a29_0x481baf(0x115)),{WS_EVENTS,AWS,global_registry}=require(a29_0x481baf(0xdb));exports[a29_0x481baf(0x11d)]=async _0x4e617a=>{const _0x536799=a29_0x481baf,_0x2a1d18={'ofuWW':function(_0x25e162,_0x1729b7){return _0x25e162!==_0x1729b7;},'nqEnL':_0x536799(0x118),'cwFAY':_0x536799(0xfb),'hMssE':function(_0x1043d1,_0x2e16f0){return _0x1043d1!==_0x2e16f0;},'WQZgu':'XZHaf','vhjtX':function(_0x9cccb3,_0x30c886){return _0x9cccb3!==_0x30c886;},'Wzhvl':_0x536799(0xed),'SmZXm':function(_0x2f4377,_0x344bf7){return _0x2f4377===_0x344bf7;},'KtqLS':_0x536799(0xf7),'IVjOS':function(_0x36ac38,_0x3ff15f){return _0x36ac38!==_0x3ff15f;},'utrqZ':_0x536799(0x10f),'pJrGq':_0x536799(0xea),'qcquh':function(_0x1a9379,_0x61d05d){return _0x1a9379(_0x61d05d);},'KCLSL':function(_0x28d410,_0x5e2cf3){return _0x28d410(_0x5e2cf3);},'jlKLI':function(_0x15cbc2,_0x4337d1){return _0x15cbc2(_0x4337d1);},'sKPUa':function(_0x2efe41){return _0x2efe41();}},_0x576d8a=await _0x2a1d18[_0x536799(0x10b)](getAWSRegions);_0x576d8a[_0x536799(0xef)](_0x3a9334=>{const _0x45f502=_0x536799,_0x5d02e2={'aNzQi':function(_0x148b5f,_0x35d5ee){const _0xa7e576=a29_0x3428;return _0x2a1d18[_0xa7e576(0x101)](_0x148b5f,_0x35d5ee);},'dmwJJ':_0x2a1d18[_0x45f502(0x105)]};if(_0x2a1d18[_0x45f502(0xde)](_0x2a1d18['utrqZ'],_0x2a1d18[_0x45f502(0x10d)])){const _0x425851={};_0x425851['region']=_0x3a9334[_0x45f502(0x11b)],_0x425851[_0x45f502(0xff)]=global_registry[_0x45f502(0x11c)],_0x425851['accessKey']=global_registry[_0x45f502(0xf6)],_0x425851['cloudProvider']=AWS;const _0x5d7e14=_0x425851,_0xf6916a=_0x2a1d18[_0x45f502(0xf1)](fetchVPCs,_0x3a9334[_0x45f502(0x11b)])[_0x45f502(0x11e)](_0x576016=>{const _0x41aa61=_0x45f502;_0x2a1d18[_0x41aa61(0x11f)](_0x2a1d18['nqEnL'],_0x2a1d18[_0x41aa61(0xf5)])?_0x5d7e14[_0x41aa61(0x10e)]=_0x576016:_0x87e097[_0x41aa61(0x117)]=_0x2aa701;})[_0x45f502(0xe4)](_0x3004e2=>{}),_0x145ba6=_0x2a1d18[_0x45f502(0xdd)](fetchSubnets,_0x3a9334[_0x45f502(0x11b)])[_0x45f502(0x11e)](_0x49344a=>{const _0xb047ff=_0x45f502;_0x2a1d18['hMssE'](_0x2a1d18[_0xb047ff(0xfc)],_0x2a1d18[_0xb047ff(0xfc)])?_0x4c2e4f['vpcInfo']=_0x3e96c1:_0x5d7e14[_0xb047ff(0x117)]=_0x49344a;})[_0x45f502(0xe4)](_0x7a772c=>{}),_0x448a76=_0x2a1d18[_0x45f502(0x120)](fetchSecurityGroups,_0x3a9334[_0x45f502(0x11b)])['then'](_0x10418d=>{const _0x4e7dc1=_0x45f502;_0x2a1d18[_0x4e7dc1(0xe2)](_0x2a1d18['Wzhvl'],_0x2a1d18[_0x4e7dc1(0xe1)])?_0x4376b7[_0x4e7dc1(0x117)]=_0x2e11e2:_0x5d7e14[_0x4e7dc1(0xec)]=_0x10418d;})[_0x45f502(0xe4)](_0x4dbcb2=>{});Promise[_0x45f502(0xe5)]([_0xf6916a,_0x145ba6,_0x448a76])['then'](()=>{const _0x491476=_0x45f502;if(_0x5d02e2[_0x491476(0x112)](_0x5d02e2[_0x491476(0xf4)],_0x5d02e2[_0x491476(0xf4)])){logger[_0x491476(0xe8)](_0x491476(0x119)+_0x3a9334[_0x491476(0x11b)]+_0x491476(0xeb));const _0x4e0101={};_0x4e0101['type']=WS_EVENTS[_0x491476(0x103)],_0x4e0101[_0x491476(0x114)]=_0x5d7e14,webSocketUtils[_0x491476(0x104)](_0x4e617a,_0x4e0101);}else{_0x5ca0f4['verbose'](_0x491476(0x119)+_0x242193['RegionName']+'\x20to\x20Browserstack');const _0x565409={};_0x565409[_0x491476(0x109)]=_0x10ce3e[_0x491476(0x103)],_0x565409['message']=_0x364a24,_0x344e1e[_0x491476(0x104)](_0xf26ef8,_0x565409);}});}else _0x270f68[_0x45f502(0xec)]=_0x232ec1;});},exports['sendAzureInfoToHST']=async _0x317e93=>{const _0x278dba=a29_0x481baf,_0x50888a={'PyMHL':function(_0x336dc2,_0x324641){return _0x336dc2!==_0x324641;},'VNIWe':_0x278dba(0xdf),'FAtfm':_0x278dba(0x111),'cLFUb':function(_0x184652,_0x456629){return _0x184652!==_0x456629;},'aLIaf':_0x278dba(0x106),'ktyjl':function(_0xdf5b2d,_0x4a457c){return _0xdf5b2d===_0x4a457c;},'mYWKc':_0x278dba(0xda),'aPISo':function(_0x2bd8fe,_0x4715f4){return _0x2bd8fe(_0x4715f4);},'CXfbx':function(_0x10d28e,_0x3f785e){return _0x10d28e(_0x3f785e);},'cbOcE':function(_0x3c9146){return _0x3c9146();}},_0x5cbd95=await _0x50888a[_0x278dba(0xf8)](getAWSRegions);_0x5cbd95['forEach'](_0x51959b=>{const _0x2f3838=_0x278dba,_0xb33638={'yujMO':function(_0x151cfd,_0x16a279){const _0x2a4d54=a29_0x3428;return _0x50888a[_0x2a4d54(0xe3)](_0x151cfd,_0x16a279);},'GQQbi':_0x50888a[_0x2f3838(0xf0)],'qAtym':function(_0x493b3b,_0x18b893){const _0xaf82fb=_0x2f3838;return _0x50888a[_0xaf82fb(0xf3)](_0x493b3b,_0x18b893);},'DSSNc':_0x50888a[_0x2f3838(0xd8)]},_0x493817={};_0x493817[_0x2f3838(0x113)]=_0x51959b[_0x2f3838(0x11b)],_0x493817[_0x2f3838(0xff)]=global_registry[_0x2f3838(0x11c)],_0x493817[_0x2f3838(0xe0)]=global_registry[_0x2f3838(0xf6)];const _0x178212=_0x493817,_0x49d49d=_0x50888a['aPISo'](fetchVPCs,_0x51959b[_0x2f3838(0x11b)])['then'](_0x195b7a=>{const _0x4cc130=_0x2f3838;_0x50888a[_0x4cc130(0xe9)](_0x50888a[_0x4cc130(0xe7)],_0x50888a[_0x4cc130(0x116)])?_0x178212['vpcInfo']=_0x195b7a:_0x1b28ce['vpcInfo']=_0x266c49;})[_0x2f3838(0xe4)](_0x1b9b2b=>{}),_0x23d64a=_0x50888a[_0x2f3838(0xe6)](fetchSubnets,_0x51959b[_0x2f3838(0x11b)])[_0x2f3838(0x11e)](_0x5ddf06=>{const _0x44485f=_0x2f3838;_0xb33638[_0x44485f(0x10c)](_0xb33638['GQQbi'],_0xb33638[_0x44485f(0x11a)])?_0x4fd964['securityGroupInfo']=_0x1cce6f:_0x178212[_0x44485f(0x117)]=_0x5ddf06;})[_0x2f3838(0xe4)](_0x27d2b9=>{}),_0x2b9273=_0x50888a['CXfbx'](fetchSecurityGroups,_0x51959b['RegionName'])[_0x2f3838(0x11e)](_0x474815=>{const _0x285ddc=_0x2f3838;if(_0xb33638[_0x285ddc(0xfd)](_0xb33638['DSSNc'],_0xb33638[_0x285ddc(0x108)]))_0x178212[_0x285ddc(0xec)]=_0x474815;else{_0x4d00a7[_0x285ddc(0xe8)](_0x285ddc(0x119)+_0xf0a563[_0x285ddc(0x11b)]+_0x285ddc(0xeb));const _0x5aeb1d={};_0x5aeb1d[_0x285ddc(0x109)]=_0x3b1ae3['RESOURCES'],_0x5aeb1d[_0x285ddc(0x114)]=_0x2688fc,_0x273839['sendEventToBackend'](_0x4d0e3e,_0x5aeb1d);}})[_0x2f3838(0xe4)](_0xafc0e4=>{});Promise[_0x2f3838(0xe5)]([_0x49d49d,_0x23d64a,_0x2b9273])[_0x2f3838(0x11e)](()=>{const _0x2c8964=_0x2f3838;logger[_0x2c8964(0xe8)](_0x2c8964(0x119)+_0x51959b[_0x2c8964(0x11b)]+_0x2c8964(0xeb));const _0x368a57={};_0x368a57[_0x2c8964(0x109)]=WS_EVENTS['RESOURCES'],_0x368a57[_0x2c8964(0x114)]=_0x178212,webSocketUtils[_0x2c8964(0x104)](_0x317e93,_0x368a57);});});};
@@ -1 +1 @@
1
- function a30_0x4ce6(_0x9d3239,_0x133ba1){const _0x3efeb8=a30_0x3efe();return a30_0x4ce6=function(_0x4ce6fc,_0x29d117){_0x4ce6fc=_0x4ce6fc-0x19b;let _0x2676c5=_0x3efeb8[_0x4ce6fc];return _0x2676c5;},a30_0x4ce6(_0x9d3239,_0x133ba1);}const a30_0x42dc9b=a30_0x4ce6;(function(_0x26ce85,_0x34d023){const _0x249071=a30_0x4ce6,_0x3b395b=_0x26ce85();while(!![]){try{const _0x41dbbb=-parseInt(_0x249071(0x247))/0x1*(parseInt(_0x249071(0x1c3))/0x2)+-parseInt(_0x249071(0x21f))/0x3*(parseInt(_0x249071(0x228))/0x4)+parseInt(_0x249071(0x1b4))/0x5+parseInt(_0x249071(0x1e9))/0x6+-parseInt(_0x249071(0x248))/0x7*(parseInt(_0x249071(0x20e))/0x8)+-parseInt(_0x249071(0x221))/0x9+-parseInt(_0x249071(0x236))/0xa*(-parseInt(_0x249071(0x1fb))/0xb);if(_0x41dbbb===_0x34d023)break;else _0x3b395b['push'](_0x3b395b['shift']());}catch(_0x39647b){_0x3b395b['push'](_0x3b395b['shift']());}}}(a30_0x3efe,0x69d65));const cp=require(a30_0x42dc9b(0x256)),os=require('os'),path=require(a30_0x42dc9b(0x249)),got=require(a30_0x42dc9b(0x246)),{AG_API_URL,global_registry,REDACTED,CLI_ARGS_REGEX,RAW_ARGS_REGEX}=require(a30_0x42dc9b(0x23f)),logger=require(a30_0x42dc9b(0x1e2))[a30_0x42dc9b(0x1df)];function get_version(_0x23128a){const _0x4e1091=a30_0x42dc9b,_0x3bdea3={};_0x3bdea3[_0x4e1091(0x243)]=_0x4e1091(0x21c),_0x3bdea3[_0x4e1091(0x237)]=function(_0x434c6b,_0x1ecb87){return _0x434c6b!==_0x1ecb87;},_0x3bdea3['MpNRM']=_0x4e1091(0x1c2),_0x3bdea3['kCkTY']=_0x4e1091(0x1d8),_0x3bdea3['jyBbK']=function(_0x48460f,_0x46a0b6){return _0x48460f===_0x46a0b6;},_0x3bdea3['HqsVw']='DMOpE',_0x3bdea3[_0x4e1091(0x1f7)]=_0x4e1091(0x21e);const _0x12904e=_0x3bdea3;try{if(_0x12904e[_0x4e1091(0x237)](_0x12904e[_0x4e1091(0x1a6)],_0x12904e[_0x4e1091(0x1a6)]))return _0x12904e[_0x4e1091(0x243)];else{const _0x35c714={};_0x35c714['stdio']=_0x12904e[_0x4e1091(0x1de)];const _0x514f61=_0x35c714;return cp[_0x4e1091(0x251)](_0x23128a+_0x4e1091(0x1f5),_0x514f61)[_0x4e1091(0x1ca)]()[_0x4e1091(0x24b)]();}}catch(_0x3dea00){return _0x12904e[_0x4e1091(0x1a1)](_0x12904e[_0x4e1091(0x1c1)],_0x12904e[_0x4e1091(0x1f7)])?_0x2844b1['env'][_0x4e1091(0x1ea)]:null;}}function a30_0x3efe(){const _0x426b13=['KvARY','BITBUCKET_COMMIT','\x20:\x20','EisJy','child_process','raw_args','JENKINS_URL','CircleCI','true','NiFSD','True','qLwyu','jyBbK','error_code','BUILDKITE','WOlAM','SEMAPHORE','MpNRM','tyRSa','kIfCu','Cokou','KShwP','iwAwA','JRmUQ','replace','ilYtN','SJUGh','itFsD','os_version','ooqYK','ci_environment','1969760fntEuC','WeecZ','EDpTk','YLQAi','\x20and\x20','KgQEB','stdio','XROZK','application/json','eQzkI','pZRnp','ufpEN','zVklY','HqsVw','lVQwN','94EOuXwQ','WkGug','JENKINS_HOME','izQiU','DRONE','join','Sending\x20','toString','svvAb','ULzgz','ecoge','codeship','message_type','raLKS','RbHeu','MhXWk','efCIz','vrNMx','BVhej','HTKNx','wyTWd','pipe','Authorization','browserstack-node-sdk','mxlkL','vXJpX','npm','kCkTY','fileLogger','jvkoW','CLlvb','../config/logger','jJKxq','OlvRL','Buildkite','Tvbff','QftCh','SZilE','1777062OvVFkO','DISABLE_USAGE_REPORTING','Basic\x20','error','oMvkL','statusCode','bstack_config','https://','sVjmJ','npm_version','slJwI','GitLab','\x20--version','message','fnhvc','NcWzT','kwVaZ','IcnoZ','32659qiqHeB','HsNVs','body','zRzUZ','FPhmT','toLocaleString','stringify','bstackAccesskey','hst_cli_stats','tsgCU','lHtSa','rDDQP','xJfyn','anlwW','Semaphore','BGJxv','IPJuc','XEJtw','auJSb','20976GqCRln','MSfxz','frVKz','Drone','BITBUCKET_BRANCH','YvIZB','release','SKdIz','KCFKC','string','headers','length','XYTdi','ttYby','Jenkins','nKBRh','RCZyC','399ABxRDj','npm\x20root\x20-g','454302wpeHcf','Hvutr','MsYjK','TLghw','kfXrg','version','data','12952GTILJj','CIRCLECI','_os','Travis\x20CI','lPTKw','CI_NAME','HXWfo','xbILc','krNcI','PHLer','gBGRa','LvOgb','lYTOf','ckkTD','4750yxKbiD','WpVqQ','tjTCA','zlJtN','GFvGh','platform','info','EwyvI','cli_version_and_path','../config/constants','aWFZX','EiqTo','bQVgr','IxtLD','gWWyz','bstackUsername','got','17363CyyLny','987LmVLZC','path','DUKHQ','trim','cli_args','MaVCA','node_modules','WbXhC','JoJbB','execSync'];a30_0x3efe=function(){return _0x426b13;};return a30_0x3efe();}exports['npm_version']=()=>{const _0x41fa1c=a30_0x42dc9b,_0x249c5c={'aWFZX':function(_0x3cb6f1,_0x17dbec){return _0x3cb6f1(_0x17dbec);},'nKBRh':_0x41fa1c(0x1dd)};return _0x249c5c[_0x41fa1c(0x240)](get_version,_0x249c5c[_0x41fa1c(0x21d)]);},exports[a30_0x42dc9b(0x22a)]=()=>{const _0x4ff878=a30_0x42dc9b;return os[_0x4ff878(0x23b)]();},exports[a30_0x42dc9b(0x1b1)]=()=>{const _0x16b844=a30_0x42dc9b;return os[_0x16b844(0x214)]();};function npm_global_path(){const _0x290fb3=a30_0x42dc9b,_0x58c549={};_0x58c549[_0x290fb3(0x1a4)]=_0x290fb3(0x220),_0x58c549[_0x290fb3(0x231)]=_0x290fb3(0x1d8);const _0x206c5d=_0x58c549;return cp[_0x290fb3(0x251)](_0x206c5d[_0x290fb3(0x1a4)],{'stdio':_0x206c5d[_0x290fb3(0x231)]})[_0x290fb3(0x1ca)]()[_0x290fb3(0x24b)]();}exports['cli_version_and_path']=()=>{const _0x52c539=a30_0x42dc9b,_0x323fe6={'EDpTk':function(_0x53f29b,_0x9b88d){return _0x53f29b(_0x9b88d);},'raLKS':_0x52c539(0x1da),'JoJbB':function(_0x272693){return _0x272693();},'tQcRM':_0x52c539(0x24e),'SKdIz':function(_0x24d820,_0x142373){return _0x24d820(_0x142373);},'iwAwA':function(_0x3551c9,_0x3afd54){return _0x3551c9!==_0x3afd54;},'vrNMx':'XKmhg','xbILc':_0x52c539(0x1dc),'IPJuc':function(_0x4bdeea,_0x428cd8){return _0x4bdeea(_0x428cd8);},'svvAb':_0x52c539(0x1e8),'HTKNx':_0x52c539(0x1ff),'xJfyn':function(_0x10d45f){return _0x10d45f();}},_0x5a2bf2=path[_0x52c539(0x1c8)](__dirname,'..','..',_0x323fe6['tQcRM'],_0x323fe6[_0x52c539(0x1d0)]);let _0x56dce5=_0x323fe6[_0x52c539(0x215)](get_version,_0x5a2bf2);if(!_0x56dce5){if(_0x323fe6[_0x52c539(0x1ab)](_0x323fe6[_0x52c539(0x1d4)],_0x323fe6[_0x52c539(0x22f)])){_0x56dce5=_0x323fe6[_0x52c539(0x20b)](get_version,_0x323fe6[_0x52c539(0x1d0)]);if(!_0x56dce5){if(_0x323fe6['iwAwA'](_0x323fe6[_0x52c539(0x1cb)],_0x323fe6[_0x52c539(0x1d6)])){const _0x4e286f={};return _0x4e286f['version']=null,_0x4e286f[_0x52c539(0x249)]=null,_0x4e286f;}else{_0x22c42b=_0x323fe6[_0x52c539(0x1b6)](_0x2e4847,_0x323fe6['raLKS']);if(!_0x3f3c9c){const _0x42f059={};return _0x42f059[_0x52c539(0x226)]=null,_0x42f059[_0x52c539(0x249)]=null,_0x42f059;}return{'version':_0x298f7a,'path':_0x323fe6[_0x52c539(0x250)](_0x42ea41)};}}return{'version':_0x56dce5,'path':_0x323fe6[_0x52c539(0x207)](npm_global_path)};}else _0x445171['error']('[sendInstrumentationEvent]\x20Error\x20in\x20sending\x20instrumentation\x20event\x20to\x20galactus\x20-\x20'+_0x5a71e8[_0x52c539(0x201)](_0xcb3fc6));}},exports[a30_0x42dc9b(0x1b3)]=()=>{const _0x2da149=a30_0x42dc9b,_0x5b0157={'EiqTo':_0x2da149(0x1f4),'bQVgr':_0x2da149(0x19c),'oMvkL':'Codeship','anlwW':'Bitbucket','NcWzT':function(_0x19cd22,_0x5ad116){return _0x19cd22(_0x5ad116);},'BGJxv':_0x2da149(0x1dd),'ckkTD':function(_0x3c1903,_0x3b3d19){return _0x3c1903===_0x3b3d19;},'LvOgb':_0x2da149(0x217),'MaVCA':function(_0x4ef789,_0x43c7c8){return _0x4ef789>_0x43c7c8;},'ooqYK':function(_0x2a3ed1,_0x2869e8){return _0x2a3ed1===_0x2869e8;},'EisJy':function(_0x33662d,_0x5168c2){return _0x33662d!==_0x5168c2;},'KShwP':_0x2da149(0x1c6),'Hvutr':_0x2da149(0x1c4),'TclQU':_0x2da149(0x21c),'JRmUQ':function(_0x22c1b4,_0x13923f){return _0x22c1b4===_0x13923f;},'ttYby':_0x2da149(0x19d),'WqmOv':_0x2da149(0x1fc),'WeecZ':_0x2da149(0x21a),'tsgCU':function(_0x3e3307,_0x23b114){return _0x3e3307===_0x23b114;},'pZRnp':'FgAFt','NuRCk':'YHkNA','kfXrg':_0x2da149(0x22b),'INFOg':_0x2da149(0x1ce),'EwyvI':_0x2da149(0x230),'lPTKw':_0x2da149(0x210),'sVjmJ':_0x2da149(0x1a0),'tKtQA':function(_0xc3ec65,_0x1b48b5){return _0xc3ec65===_0x1b48b5;},'IqmuL':function(_0x47e63a,_0x2b930f){return _0x47e63a!==_0x2b930f;},'APUia':_0x2da149(0x1c0),'kwVaZ':_0x2da149(0x1d3),'MSfxz':_0x2da149(0x211),'GFvGh':function(_0x4fbc9b,_0xc4576c){return _0x4fbc9b===_0xc4576c;},'YvIZB':function(_0x475d19,_0x8d9642){return _0x475d19!==_0x8d9642;},'auJSb':_0x2da149(0x1d2),'QftCh':_0x2da149(0x209),'NiFSD':function(_0x5a9215,_0x301096){return _0x5a9215===_0x301096;},'bOmdK':function(_0x40998f,_0x10d6c1){return _0x40998f!==_0x10d6c1;},'IytgO':_0x2da149(0x1a9),'HXWfo':_0x2da149(0x223),'SJUGh':function(_0x4ea424,_0x2561b3){return _0x4ea424!==_0x2561b3;},'lYTOf':_0x2da149(0x1b9),'lHtSa':_0x2da149(0x1e5),'KvARY':function(_0x5a7ab3,_0x32b101){return _0x5a7ab3===_0x32b101;},'mjIym':_0x2da149(0x19f),'jvkoW':function(_0x509e4d,_0x33749a){return _0x509e4d===_0x33749a;},'zlJtN':_0x2da149(0x1e6),'XBWBR':'Visual\x20Studio\x20Team\x20Services'};var _0x2bd8b7=process['env'];if(_0x5b0157[_0x2da149(0x235)](typeof _0x2bd8b7[_0x2da149(0x19b)],_0x5b0157[_0x2da149(0x233)])&&_0x5b0157[_0x2da149(0x24d)](_0x2bd8b7['JENKINS_URL'][_0x2da149(0x219)],0x0)||_0x5b0157['ooqYK'](typeof _0x2bd8b7[_0x2da149(0x1c5)],_0x5b0157[_0x2da149(0x233)])&&_0x5b0157[_0x2da149(0x24d)](_0x2bd8b7['JENKINS_HOME'][_0x2da149(0x219)],0x0))return _0x5b0157[_0x2da149(0x255)](_0x5b0157[_0x2da149(0x1aa)],_0x5b0157[_0x2da149(0x222)])?_0x5b0157['TclQU']:_0x5b0157[_0x2da149(0x241)];if(_0x5b0157['JRmUQ'](_0x2bd8b7['CI'],_0x5b0157['ttYby'])&&_0x5b0157[_0x2da149(0x235)](_0x2bd8b7[_0x2da149(0x229)],_0x5b0157[_0x2da149(0x21b)]))return _0x5b0157['EisJy'](_0x5b0157['WqmOv'],_0x5b0157[_0x2da149(0x1b5)])?_0x5b0157['bQVgr']:_0x5b0157[_0x2da149(0x242)];if(_0x5b0157[_0x2da149(0x1ac)](_0x2bd8b7['CI'],_0x5b0157[_0x2da149(0x21b)])&&_0x5b0157['tsgCU'](_0x2bd8b7['TRAVIS'],_0x5b0157[_0x2da149(0x21b)])){if(_0x5b0157['EisJy'](_0x5b0157[_0x2da149(0x1be)],_0x5b0157['NuRCk']))return _0x5b0157[_0x2da149(0x225)];else{const _0x4a0c4d={};return _0x4a0c4d['version']=null,_0x4a0c4d['path']=null,_0x4a0c4d;}}if(_0x5b0157[_0x2da149(0x1ac)](_0x2bd8b7['CI'],_0x5b0157['ttYby'])&&_0x5b0157['ckkTD'](_0x2bd8b7[_0x2da149(0x22d)],_0x5b0157['INFOg'])){if(_0x5b0157[_0x2da149(0x1b2)](_0x5b0157[_0x2da149(0x23d)],_0x5b0157[_0x2da149(0x22c)]))_0x544a0b[_0x2da149(0x1ec)]('[sendInstrumentationEvent]\x20Non\x20200\x20statusCode\x20-\x20'+_0x5b9bbd[_0x2da149(0x1ee)]+_0x2da149(0x254)+_0x2c6fd9[_0x2da149(0x201)](_0x1fec84[_0x2da149(0x1fd)])+'\x20');else return _0x5b0157[_0x2da149(0x1ed)];}if(_0x2bd8b7[_0x2da149(0x212)]&&_0x2bd8b7[_0x2da149(0x253)])return _0x5b0157[_0x2da149(0x255)](_0x5b0157[_0x2da149(0x1f1)],_0x5b0157[_0x2da149(0x1f1)])?_0x5b0157['oMvkL']:_0x5b0157['anlwW'];if(_0x5b0157['tKtQA'](_0x2bd8b7['CI'],_0x5b0157[_0x2da149(0x21b)])&&_0x5b0157[_0x2da149(0x235)](_0x2bd8b7[_0x2da149(0x1c7)],_0x5b0157[_0x2da149(0x21b)]))return _0x5b0157['IqmuL'](_0x5b0157['APUia'],_0x5b0157[_0x2da149(0x1f9)])?_0x5b0157[_0x2da149(0x20f)]:_0x5b0157[_0x2da149(0x208)];if(_0x5b0157['JRmUQ'](_0x2bd8b7['CI'],_0x5b0157[_0x2da149(0x21b)])&&_0x5b0157[_0x2da149(0x23a)](_0x2bd8b7[_0x2da149(0x1a5)],_0x5b0157[_0x2da149(0x21b)])){if(_0x5b0157[_0x2da149(0x213)](_0x5b0157[_0x2da149(0x20d)],_0x5b0157[_0x2da149(0x20d)]))return;else return _0x5b0157[_0x2da149(0x1e7)];}if(_0x5b0157[_0x2da149(0x19e)](_0x2bd8b7['CI'],_0x5b0157[_0x2da149(0x21b)])&&_0x5b0157[_0x2da149(0x1b2)](_0x2bd8b7['GITLAB_CI'],_0x5b0157[_0x2da149(0x21b)]))return _0x5b0157['bOmdK'](_0x5b0157['IytgO'],_0x5b0157[_0x2da149(0x22e)])?_0x5b0157[_0x2da149(0x241)]:_0x5ac18c[_0x2da149(0x23b)]();if(_0x5b0157[_0x2da149(0x204)](_0x2bd8b7['CI'],_0x5b0157[_0x2da149(0x21b)])&&_0x5b0157[_0x2da149(0x204)](_0x2bd8b7[_0x2da149(0x1a3)],_0x5b0157[_0x2da149(0x21b)]))return _0x5b0157[_0x2da149(0x1af)](_0x5b0157['lYTOf'],_0x5b0157[_0x2da149(0x234)])?_0x5b0157[_0x2da149(0x1f8)](_0xafbe21,_0x5b0157[_0x2da149(0x20a)]):_0x5b0157[_0x2da149(0x205)];if(_0x5b0157[_0x2da149(0x252)](_0x2bd8b7['TF_BUILD'],_0x5b0157['mjIym'])){if(_0x5b0157[_0x2da149(0x1e0)](_0x5b0157[_0x2da149(0x239)],_0x5b0157['zlJtN']))return _0x5b0157['XBWBR'];else _0x3b0c45[_0x2da149(0x23c)]('[sendInstrumentationEvent]\x20response\x20-\x20'+_0x4959d7['stringify'](_0xc848cf['body']));}return null;};function isUsageReportingEnabled(){return process['env']['DISABLE_USAGE_REPORTING'];}function redactKeys(_0x2496cf,_0x3d2b00,_0x699f28){const _0x477f64=a30_0x42dc9b;return _0x2496cf[_0x477f64(0x1ad)](_0x3d2b00,_0x699f28);}async function send(_0x1784e7){const _0x1a84ba=a30_0x42dc9b,_0x32f1f4={'CLlvb':_0x1a84ba(0x211),'ecoge':_0x1a84ba(0x22b),'fwrzc':'pipe','KCFKC':'Visual\x20Studio\x20Team\x20Services','BVhej':function(_0x24076a,_0x15e52c){return _0x24076a===_0x15e52c;},'slJwI':function(_0x470ec0){return _0x470ec0();},'LbiPh':'true','OlvRL':function(_0x342809,_0x27eb8e){return _0x342809===_0x27eb8e;},'tjTCA':'hWCfy','IcnoZ':function(_0x55924a,_0x4d05ca){return _0x55924a===_0x4d05ca;},'TRGMm':function(_0x31bd74,_0x142b07,_0x202c25,_0x1a1969){return _0x31bd74(_0x142b07,_0x202c25,_0x1a1969);},'DUKHQ':function(_0x33e68f,_0x177c49,_0x38e691,_0x52ad9b){return _0x33e68f(_0x177c49,_0x38e691,_0x52ad9b);},'ufpEN':_0x1a84ba(0x203),'TLghw':_0x1a84ba(0x1bc),'jJKxq':'POST','rDDQP':function(_0x15aa86,_0x5bb9e5){return _0x15aa86!==_0x5bb9e5;},'mxlkL':_0x1a84ba(0x24f),'ilYtN':_0x1a84ba(0x1d9),'vmTvM':function(_0x50860d,_0x21b642){return _0x50860d+_0x21b642;},'THyvP':_0x1a84ba(0x1eb),'kIfCu':'base64','ULzgz':function(_0x14c801,_0x32e9bb){return _0x14c801!==_0x32e9bb;},'zRzUZ':'pFScu','AfFyI':'ErBwG','gBGRa':function(_0x23ba3a,_0x4dd9f5,_0x382dde){return _0x23ba3a(_0x4dd9f5,_0x382dde);},'tyRSa':function(_0x492d51,_0x3dc5ce){return _0x492d51===_0x3dc5ce;},'YLQAi':'rZhsW','XEJtw':_0x1a84ba(0x1bb),'RbHeu':function(_0x3461bf,_0x18e64e){return _0x3461bf!==_0x18e64e;},'itFsD':_0x1a84ba(0x1bd),'wyTWd':_0x1a84ba(0x244)};if(_0x32f1f4[_0x1a84ba(0x1d5)](_0x32f1f4[_0x1a84ba(0x1f3)](isUsageReportingEnabled),_0x32f1f4['LbiPh'])){if(_0x32f1f4[_0x1a84ba(0x1e4)](_0x32f1f4[_0x1a84ba(0x238)],_0x32f1f4[_0x1a84ba(0x238)]))return;else return _0x205307[_0x1a84ba(0x214)]();}const _0x41d1e7=_0x1a84ba(0x1f0)+AG_API_URL+'/packages/cli/sendToEDS',_0x1cb14f=exports[_0x1a84ba(0x23e)](),_0x2597c5=_0x32f1f4[_0x1a84ba(0x1fa)](_0x1784e7[_0x1a84ba(0x227)],undefined)?{}:_0x1784e7['data'];_0x1784e7[_0x1a84ba(0x24c)]=_0x1784e7['cli_args']&&_0x32f1f4['TRGMm'](redactKeys,JSON[_0x1a84ba(0x201)](_0x1784e7[_0x1a84ba(0x24c)]),CLI_ARGS_REGEX,REDACTED),_0x1784e7[_0x1a84ba(0x257)]=_0x1784e7[_0x1a84ba(0x257)]&&_0x32f1f4[_0x1a84ba(0x24a)](redactKeys,JSON[_0x1a84ba(0x201)](_0x1784e7[_0x1a84ba(0x257)]),RAW_ARGS_REGEX,REDACTED),delete _0x1784e7[_0x1a84ba(0x1ef)];const _0x5baa5e={'event_type':_0x32f1f4[_0x1a84ba(0x1bf)],'data':{'request_id':global_registry['requestId'],'os':exports[_0x1a84ba(0x22a)](),'os_version':exports[_0x1a84ba(0x1b1)](),'cli_version':_0x1cb14f[_0x1a84ba(0x226)],'cli_path':_0x1cb14f[_0x1a84ba(0x249)],'npm_version':exports[_0x1a84ba(0x1f2)](),'ci_environment':exports[_0x1a84ba(0x1b3)](),'event_timestamp':new Date()[_0x1a84ba(0x200)](),'data':JSON[_0x1a84ba(0x201)](_0x2597c5),'raw_args':JSON[_0x1a84ba(0x201)](_0x1784e7[_0x1a84ba(0x257)]),..._0x1784e7}},_0x212632={'headers':{'Content-Type':_0x32f1f4[_0x1a84ba(0x224)],'User-Agent':exports[_0x1a84ba(0x22a)]()+'/'+exports[_0x1a84ba(0x1b1)]()},'method':_0x32f1f4[_0x1a84ba(0x1e3)],'json':_0x5baa5e,'throwHttpErrors':![]};if(global_registry[_0x1a84ba(0x245)]&&global_registry[_0x1a84ba(0x202)]){if(_0x32f1f4[_0x1a84ba(0x206)](_0x32f1f4['mxlkL'],_0x32f1f4[_0x1a84ba(0x1db)]))return _0x32f1f4[_0x1a84ba(0x1e1)];else _0x212632[_0x1a84ba(0x218)][_0x32f1f4[_0x1a84ba(0x1ae)]]=_0x32f1f4['vmTvM'](_0x32f1f4['THyvP'],Buffer['from'](global_registry['bstackUsername']+':'+global_registry[_0x1a84ba(0x202)])[_0x1a84ba(0x1ca)](_0x32f1f4[_0x1a84ba(0x1a8)]));}logger[_0x1a84ba(0x23c)](_0x1a84ba(0x1c9)+JSON['stringify'](_0x5baa5e)+_0x1a84ba(0x1b8)+JSON[_0x1a84ba(0x201)](_0x212632)+'\x20to\x20'+_0x41d1e7);try{if(_0x32f1f4[_0x1a84ba(0x1cc)](_0x32f1f4[_0x1a84ba(0x1fe)],_0x32f1f4['AfFyI'])){const _0xbe2d81=await _0x32f1f4[_0x1a84ba(0x232)](got,_0x41d1e7,_0x212632);if(_0x32f1f4[_0x1a84ba(0x206)](_0xbe2d81,null)&&_0x32f1f4[_0x1a84ba(0x206)](_0xbe2d81,undefined)&&_0x32f1f4[_0x1a84ba(0x1a7)](_0xbe2d81['statusCode'],0xc8)){if(_0x32f1f4['ULzgz'](_0x32f1f4[_0x1a84ba(0x1b7)],_0x32f1f4[_0x1a84ba(0x20c)]))logger[_0x1a84ba(0x23c)]('[sendInstrumentationEvent]\x20response\x20-\x20'+JSON[_0x1a84ba(0x201)](_0xbe2d81[_0x1a84ba(0x1fd)]));else return _0x32f1f4[_0x1a84ba(0x1cd)];}else{if(_0x32f1f4[_0x1a84ba(0x1d1)](_0x32f1f4[_0x1a84ba(0x1b0)],_0x32f1f4[_0x1a84ba(0x1b0)]))try{const _0x2d6d15={};_0x2d6d15[_0x1a84ba(0x1ba)]=_0x32f1f4['fwrzc'];const _0x41c8ba=_0x2d6d15;return _0xebfe68[_0x1a84ba(0x251)](_0x322134+_0x1a84ba(0x1f5),_0x41c8ba)['toString']()[_0x1a84ba(0x24b)]();}catch(_0x5e949e){return null;}else logger[_0x1a84ba(0x1ec)]('[sendInstrumentationEvent]\x20Non\x20200\x20statusCode\x20-\x20'+_0xbe2d81[_0x1a84ba(0x1ee)]+_0x1a84ba(0x254)+JSON['stringify'](_0xbe2d81['body'])+'\x20');}}else return null;}catch(_0x1522c8){if(_0x32f1f4['IcnoZ'](_0x32f1f4[_0x1a84ba(0x1d7)],_0x32f1f4[_0x1a84ba(0x1d7)]))logger[_0x1a84ba(0x1ec)]('[sendInstrumentationEvent]\x20Error\x20in\x20sending\x20instrumentation\x20event\x20to\x20galactus\x20-\x20'+JSON[_0x1a84ba(0x201)](_0x1522c8));else return _0x32f1f4[_0x1a84ba(0x216)];}}exports['sendInstrumentationEvent']=async(_0x20c2cf,_0x436ff7,_0x2abc8f,_0x263541,_0x172b2c,_0x526d6c)=>{const _0x17ec1e=a30_0x42dc9b,_0x24b1cc={'aVwEg':function(_0x3a79de,_0x555a0f){return _0x3a79de(_0x555a0f);}},_0x378feb={};_0x378feb[_0x17ec1e(0x24c)]=_0x20c2cf,_0x378feb[_0x17ec1e(0x1f6)]=_0x436ff7,_0x378feb[_0x17ec1e(0x1cf)]=_0x2abc8f,_0x378feb[_0x17ec1e(0x1a2)]=_0x263541,_0x378feb[_0x17ec1e(0x227)]=_0x172b2c,_0x378feb[_0x17ec1e(0x257)]=_0x526d6c,await _0x24b1cc['aVwEg'](send,_0x378feb);};
1
+ const a30_0x5e85c9=a30_0x26c1;function a30_0x26c1(_0x405276,_0x19f187){const _0x47d3d8=a30_0x47d3();return a30_0x26c1=function(_0x26c1bd,_0xe8d99a){_0x26c1bd=_0x26c1bd-0x128;let _0x4fafb6=_0x47d3d8[_0x26c1bd];return _0x4fafb6;},a30_0x26c1(_0x405276,_0x19f187);}(function(_0x85a7f2,_0x5ab9bb){const _0x1e57a1=a30_0x26c1,_0x32d913=_0x85a7f2();while(!![]){try{const _0x2d53da=parseInt(_0x1e57a1(0x195))/0x1*(-parseInt(_0x1e57a1(0x1ba))/0x2)+parseInt(_0x1e57a1(0x1d8))/0x3*(parseInt(_0x1e57a1(0x19e))/0x4)+-parseInt(_0x1e57a1(0x155))/0x5*(parseInt(_0x1e57a1(0x190))/0x6)+parseInt(_0x1e57a1(0x1e0))/0x7*(-parseInt(_0x1e57a1(0x168))/0x8)+parseInt(_0x1e57a1(0x13f))/0x9+parseInt(_0x1e57a1(0x196))/0xa+parseInt(_0x1e57a1(0x199))/0xb*(parseInt(_0x1e57a1(0x18a))/0xc);if(_0x2d53da===_0x5ab9bb)break;else _0x32d913['push'](_0x32d913['shift']());}catch(_0x491783){_0x32d913['push'](_0x32d913['shift']());}}}(a30_0x47d3,0x394cc));const cp=require('child_process'),os=require('os'),path=require(a30_0x5e85c9(0x146)),got=require(a30_0x5e85c9(0x12b)),{AG_API_URL,global_registry,REDACTED,CLI_ARGS_REGEX,RAW_ARGS_REGEX}=require(a30_0x5e85c9(0x14f)),logger=require(a30_0x5e85c9(0x132))[a30_0x5e85c9(0x15b)];function get_version(_0x5256b7){const _0x443658=a30_0x5e85c9,_0x164afc={};_0x164afc[_0x443658(0x1c0)]=_0x443658(0x142),_0x164afc[_0x443658(0x1ce)]=function(_0x336a71,_0x3a4fff){return _0x336a71===_0x3a4fff;},_0x164afc['lrrMp']=_0x443658(0x1c9),_0x164afc[_0x443658(0x14e)]=_0x443658(0x1a4),_0x164afc[_0x443658(0x16b)]=_0x443658(0x1da),_0x164afc[_0x443658(0x173)]=function(_0x45c9f9,_0x5c7a7d){return _0x45c9f9!==_0x5c7a7d;},_0x164afc['ApLVo']=_0x443658(0x14c);const _0x1ec53f=_0x164afc;try{if(_0x1ec53f[_0x443658(0x1ce)](_0x1ec53f[_0x443658(0x1d7)],_0x1ec53f[_0x443658(0x14e)]))return _0x1ec53f['makkK'];else{const _0x330232={};_0x330232['stdio']=_0x1ec53f['RRFVP'];const _0x341273=_0x330232;return cp[_0x443658(0x162)](_0x5256b7+_0x443658(0x187),_0x341273)[_0x443658(0x181)]()[_0x443658(0x1c8)]();}}catch(_0x14ba19){return _0x1ec53f[_0x443658(0x173)](_0x1ec53f['ApLVo'],_0x1ec53f[_0x443658(0x13b)])?_0x3b912c[_0x443658(0x1cc)](_0x2701ce,_0x161cd2):null;}}exports[a30_0x5e85c9(0x1b8)]=()=>{const _0x2b4b9e=a30_0x5e85c9,_0x239871={'mRrYm':function(_0x382cf6,_0x986219){return _0x382cf6(_0x986219);},'UgFaa':_0x2b4b9e(0x1b9)};return _0x239871['mRrYm'](get_version,_0x239871[_0x2b4b9e(0x164)]);},exports[a30_0x5e85c9(0x1c7)]=()=>{return os['platform']();},exports['os_version']=()=>{const _0x4ede88=a30_0x5e85c9;return os[_0x4ede88(0x1db)]();};function a30_0x47d3(){const _0x5717dd=['bstackAccesskey','rdKTe','got','Basic\x20','bTLfx','tsFPu','Nlger','ukQKT','iegte','../config/logger','lFWFT','os_version','YZKhD','aYHxm','VloeC','nqFrW','VmKfM','Semaphore','ApLVo','error','AjUpA','bstackUsername','4208265FPwvCP','rSPqC','Travis\x20CI','CircleCI','hOGML','mFpdC','RFsaU','path','odmRU','XMsxd','ci_environment','cli_version_and_path','DISABLE_USAGE_REPORTING','iKsMm','body','cFFpE','../config/constants','[sendInstrumentationEvent]\x20Non\x20200\x20statusCode\x20-\x20','toLocaleString','OwOFu','ohgFe','JENKINS_URL','581285HRlywt','tLWrY','gXXFN','HlISW','GitLab','zBgTB','fileLogger','NNcvW','Buildkite','CRMcb','xBEBK','buSOE','Codeship','execSync','kGwsl','UgFaa','browserstack-node-sdk','diMxj','eYGSx','3131496IomjWA','sendInstrumentationEvent','TsHbr','RRFVP','IDyWl','TF_BUILD','stringify','codeship','message','statusCode','IAOtF','vnxft','RbyAz','uGLiN','message_type','length','udPCp','vjUem','node_modules','poYyO','WUAdo','POST','lzBcP','[sendInstrumentationEvent]\x20Error\x20in\x20sending\x20instrumentation\x20event\x20to\x20galactus\x20-\x20','npm\x20root\x20-g','toString','bstack_config','MToTq','lqxyR','rwGjf','saMXd','\x20--version','nTBHW','ERzEU','1223544WmsDeG','WbZoX','raw_args','GITLAB_CI','join','Ehkkv','6TOYmtx','DvRBq','BUILDKITE','iVvwS','https://','131654iFRmOl','2366380uXOVSF','LCSfw','JkLvs','11UTIQMC','jznux','etrGX','MGDTB','fysZS','4Ikvjar','tESlN','[sendInstrumentationEvent]\x20response\x20-\x20','hst_cli_stats','erUyy','QFRLe','zfKyR','application/json','SEMAPHORE','ZzwcG','bxUCy','Bitbucket','/packages/cli/sendToEDS','DRONE','Oddcr','Crkkg','tPdHf','Sjdle','XFCZA','gpSPO','wKVvp','version','True','Zsncf','headers','GmeUl','npm_version','npm','4KWceXA','stdio','rAfJE','kVGXj','JENKINS_HOME','\x20to\x20','makkK','from','sHnGh','KwhpM','cli_args','dpXOZ','ouylQ','_os','trim','WoQEM','error_code','wrSkg','replace','bFfRL','wcoVh','cLzFu','jMRBT','Wbaeo','info','TSIRY','true','env','tpTBq','lrrMp','598551SVITcH','WWFUG','pipe','release','data','wKhAV','UilHv','USvfw','7ALvLjF','ZyryU','Visual\x20Studio\x20Team\x20Services','ibAZI','PRDPX','HRGit','IDcMO'];a30_0x47d3=function(){return _0x5717dd;};return a30_0x47d3();}function npm_global_path(){const _0x588069=a30_0x5e85c9,_0x31b177={};_0x31b177[_0x588069(0x1a2)]=_0x588069(0x180),_0x31b177[_0x588069(0x183)]=_0x588069(0x1da);const _0x469f91=_0x31b177;return cp['execSync'](_0x469f91[_0x588069(0x1a2)],{'stdio':_0x469f91['MToTq']})['toString']()[_0x588069(0x1c8)]();}exports['cli_version_and_path']=()=>{const _0xb78673=a30_0x5e85c9,_0xd7fc19={'sLIvX':_0xb78673(0x141),'tESlN':'Jenkins','tPdHf':_0xb78673(0x17a),'WWFUG':_0xb78673(0x165),'CRMcb':function(_0x4b0041,_0x4b4b55){return _0x4b0041(_0x4b4b55);},'eYGSx':function(_0x2a8b4f,_0x329217){return _0x2a8b4f!==_0x329217;},'ibAZI':'mLAiL','cLzFu':function(_0x49300e,_0x561af2){return _0x49300e!==_0x561af2;},'fysZS':_0xb78673(0x184),'WUAdo':'zrqjz','XFCZA':function(_0x4e194d){return _0x4e194d();}},_0x20cb52=path[_0xb78673(0x18e)](__dirname,'..','..',_0xd7fc19[_0xb78673(0x1ae)],_0xd7fc19['WWFUG']);let _0x4dce5b=_0xd7fc19[_0xb78673(0x15e)](get_version,_0x20cb52);if(!_0x4dce5b){if(_0xd7fc19[_0xb78673(0x167)](_0xd7fc19['ibAZI'],_0xd7fc19[_0xb78673(0x1e3)]))return _0xd7fc19['sLIvX'];else{_0x4dce5b=_0xd7fc19[_0xb78673(0x15e)](get_version,_0xd7fc19[_0xb78673(0x1d9)]);if(!_0x4dce5b){if(_0xd7fc19[_0xb78673(0x1cf)](_0xd7fc19[_0xb78673(0x19d)],_0xd7fc19[_0xb78673(0x17c)])){const _0x4c336d={};return _0x4c336d['version']=null,_0x4c336d[_0xb78673(0x146)]=null,_0x4c336d;}else return _0xd7fc19[_0xb78673(0x19f)];}return{'version':_0x4dce5b,'path':_0xd7fc19[_0xb78673(0x1b0)](npm_global_path)};}}},exports[a30_0x5e85c9(0x149)]=()=>{const _0x33072f=a30_0x5e85c9,_0x493d73={'WbZoX':_0x33072f(0x159),'dpXOZ':'Drone','Ehkkv':_0x33072f(0x180),'zBgTB':'pipe','Nlger':_0x33072f(0x15d),'rAfJE':function(_0x517d83,_0xae5a29){return _0x517d83(_0xae5a29);},'iVvwS':_0x33072f(0x165),'aIHXB':function(_0x40bbac){return _0x40bbac();},'Sjdle':_0x33072f(0x1e2),'hOGML':function(_0x4492f1,_0x35d789){return _0x4492f1===_0x35d789;},'odmRU':'string','etrGX':function(_0x2d71c9,_0x11a5f4){return _0x2d71c9>_0x11a5f4;},'gXXFN':function(_0x494916,_0x2c22e8){return _0x494916===_0x2c22e8;},'MGDTB':'vHuvx','bTLfx':'Jenkins','wKVvp':_0x33072f(0x1d4),'RFsaU':function(_0x41982c,_0x4d6460){return _0x41982c!==_0x4d6460;},'bkzAh':_0x33072f(0x140),'xYtFs':'cSzKO','USvfw':_0x33072f(0x142),'uGLiN':function(_0x5db07a,_0x1e0915){return _0x5db07a===_0x1e0915;},'VmKfM':function(_0x10da3b,_0x42a4d){return _0x10da3b!==_0x42a4d;},'ERzEU':'PISJK','ouylQ':_0x33072f(0x141),'VloeC':function(_0x4cdc19,_0x5865b6){return _0x4cdc19===_0x5865b6;},'GmeUl':function(_0x165412,_0x375921){return _0x165412===_0x375921;},'weebF':_0x33072f(0x16f),'NNcvW':function(_0xec66f5,_0x2fa1c7){return _0xec66f5!==_0x2fa1c7;},'sHnGh':_0x33072f(0x1bd),'DvRBq':_0x33072f(0x161),'zAcRF':function(_0x41c3cf,_0x386656){return _0x41c3cf!==_0x386656;},'IAOtF':_0x33072f(0x13d),'HRGit':_0x33072f(0x1d0),'qBsCg':_0x33072f(0x1a9),'Zsncf':function(_0x427324,_0x3a8df8){return _0x427324===_0x3a8df8;},'vjUem':_0x33072f(0x197),'YZKhD':_0x33072f(0x130),'IDcMO':function(_0x92f013,_0x3aede8){return _0x92f013===_0x3aede8;},'XfwiS':'zDMtZ','tpTBq':'FafIn','bxUCy':_0x33072f(0x13a),'mFpdC':function(_0x26f30a,_0x5c8049){return _0x26f30a===_0x5c8049;},'saMXd':function(_0x2e1a89,_0x1df84d){return _0x2e1a89===_0x1df84d;},'Crkkg':function(_0x6b206b,_0x14d020){return _0x6b206b===_0x14d020;},'TSIRY':'VEjgQ','xBEBK':function(_0x50105e,_0x33d4f1){return _0x50105e===_0x33d4f1;},'gpSPO':function(_0x1cea93,_0x54cd2e){return _0x1cea93===_0x54cd2e;},'JkLvs':_0x33072f(0x153),'diMxj':_0x33072f(0x1b4),'ZzwcG':_0x33072f(0x178),'lFWFT':_0x33072f(0x136)};var _0x27a255=process[_0x33072f(0x1d5)];if(_0x493d73[_0x33072f(0x143)](typeof _0x27a255[_0x33072f(0x154)],_0x493d73[_0x33072f(0x147)])&&_0x493d73[_0x33072f(0x19b)](_0x27a255[_0x33072f(0x154)]['length'],0x0)||_0x493d73['hOGML'](typeof _0x27a255[_0x33072f(0x1be)],_0x493d73[_0x33072f(0x147)])&&_0x493d73[_0x33072f(0x19b)](_0x27a255['JENKINS_HOME'][_0x33072f(0x177)],0x0)){if(_0x493d73[_0x33072f(0x157)](_0x493d73[_0x33072f(0x19c)],_0x493d73[_0x33072f(0x19c)]))return _0x493d73[_0x33072f(0x12d)];else _0x3421b6[_0x33072f(0x1d2)]('[sendInstrumentationEvent]\x20response\x20-\x20'+_0x5daada[_0x33072f(0x16e)](_0xe35284[_0x33072f(0x14d)]));}if(_0x493d73['hOGML'](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x143)](_0x27a255['CIRCLECI'],_0x493d73[_0x33072f(0x1b2)]))return _0x493d73[_0x33072f(0x145)](_0x493d73['bkzAh'],_0x493d73['xYtFs'])?_0x493d73[_0x33072f(0x1df)]:_0x493d73['WbZoX'];if(_0x493d73[_0x33072f(0x157)](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x175)](_0x27a255['TRAVIS'],_0x493d73[_0x33072f(0x1b2)]))return _0x493d73[_0x33072f(0x139)](_0x493d73[_0x33072f(0x189)],_0x493d73[_0x33072f(0x189)])?_0x121e4c['env'][_0x33072f(0x14b)]:_0x493d73[_0x33072f(0x1c6)];if(_0x493d73[_0x33072f(0x137)](_0x27a255['CI'],_0x493d73['wKVvp'])&&_0x493d73['GmeUl'](_0x27a255['CI_NAME'],_0x493d73['weebF']))return _0x493d73[_0x33072f(0x15c)](_0x493d73['sHnGh'],_0x493d73[_0x33072f(0x1c2)])?_0x493d73[_0x33072f(0x1c5)]:_0x493d73[_0x33072f(0x191)];if(_0x27a255['BITBUCKET_BRANCH']&&_0x27a255['BITBUCKET_COMMIT'])return _0x493d73['zAcRF'](_0x493d73[_0x33072f(0x172)],_0x493d73[_0x33072f(0x1e5)])?_0x493d73['qBsCg']:_0x3db402[_0x33072f(0x162)](_0x493d73[_0x33072f(0x18f)],{'stdio':_0x493d73[_0x33072f(0x15a)]})[_0x33072f(0x181)]()[_0x33072f(0x1c8)]();if(_0x493d73[_0x33072f(0x1b5)](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x1b5)](_0x27a255[_0x33072f(0x1ab)],_0x493d73['wKVvp'])){if(_0x493d73[_0x33072f(0x15c)](_0x493d73[_0x33072f(0x179)],_0x493d73[_0x33072f(0x135)]))return _0x493d73['dpXOZ'];else try{const _0x5795cf={};_0x5795cf[_0x33072f(0x1bb)]=_0x493d73['zBgTB'];const _0x4d9b4d=_0x5795cf;return _0xf7a35d[_0x33072f(0x162)](_0x1c4cca+'\x20--version',_0x4d9b4d)[_0x33072f(0x181)]()[_0x33072f(0x1c8)]();}catch(_0x32a273){return null;}}if(_0x493d73[_0x33072f(0x1b5)](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x1b7)](_0x27a255[_0x33072f(0x1a6)],_0x493d73['wKVvp'])){if(_0x493d73[_0x33072f(0x128)](_0x493d73['XfwiS'],_0x493d73[_0x33072f(0x1d6)]))_0x171f9d['error'](_0x33072f(0x17f)+_0x22447a[_0x33072f(0x16e)](_0x37fa75));else return _0x493d73[_0x33072f(0x1a8)];}if(_0x493d73[_0x33072f(0x144)](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x186)](_0x27a255[_0x33072f(0x18d)],_0x493d73['wKVvp']))return _0x493d73[_0x33072f(0x1ad)](_0x493d73[_0x33072f(0x1d3)],_0x493d73[_0x33072f(0x1d3)])?_0x493d73[_0x33072f(0x18b)]:_0x493d73[_0x33072f(0x12f)];if(_0x493d73[_0x33072f(0x15f)](_0x27a255['CI'],_0x493d73[_0x33072f(0x1b2)])&&_0x493d73[_0x33072f(0x128)](_0x27a255[_0x33072f(0x192)],_0x493d73[_0x33072f(0x1b2)])){if(_0x493d73[_0x33072f(0x1b1)](_0x493d73[_0x33072f(0x198)],_0x493d73[_0x33072f(0x198)]))return _0x493d73[_0x33072f(0x12f)];else{_0x54b081=_0x493d73[_0x33072f(0x1bc)](_0x53a10c,_0x493d73[_0x33072f(0x193)]);if(!_0x3e34b9){const _0x41c5a8={};return _0x41c5a8[_0x33072f(0x1b3)]=null,_0x41c5a8[_0x33072f(0x146)]=null,_0x41c5a8;}return{'version':_0x11d577,'path':_0x493d73['aIHXB'](_0x547a63)};}}if(_0x493d73[_0x33072f(0x1b1)](_0x27a255[_0x33072f(0x16d)],_0x493d73[_0x33072f(0x166)]))return _0x493d73[_0x33072f(0x139)](_0x493d73[_0x33072f(0x1a7)],_0x493d73[_0x33072f(0x133)])?_0x493d73[_0x33072f(0x1af)]:_0x493d73[_0x33072f(0x1af)];return null;};function isUsageReportingEnabled(){const _0x7841d7=a30_0x5e85c9;return process[_0x7841d7(0x1d5)]['DISABLE_USAGE_REPORTING'];}function redactKeys(_0x1c0241,_0x12feea,_0x18d303){const _0x6203bf=a30_0x5e85c9;return _0x1c0241[_0x6203bf(0x1cc)](_0x12feea,_0x18d303);}async function send(_0x287c67){const _0x42253c=a30_0x5e85c9,_0x595f1d={'mEgtW':_0x42253c(0x161),'TsHbr':'pipe','OwOFu':function(_0x1ff7df,_0x3dbe9c){return _0x1ff7df===_0x3dbe9c;},'UilHv':function(_0x3e0561){return _0x3e0561();},'jznux':_0x42253c(0x1d4),'oLnrv':_0x42253c(0x148),'KwhpM':_0x42253c(0x1ac),'rdKTe':function(_0x51ce87,_0x25d296,_0x5d5e57,_0x32e9a4){return _0x51ce87(_0x25d296,_0x5d5e57,_0x32e9a4);},'HELMM':function(_0x19b9a5,_0x42a128,_0x549baa,_0x3768d5){return _0x19b9a5(_0x42a128,_0x549baa,_0x3768d5);},'iegte':_0x42253c(0x1a1),'RbyAz':_0x42253c(0x1a5),'QaAbO':_0x42253c(0x17d),'hFIce':function(_0x444cdf,_0x25548a){return _0x444cdf===_0x25548a;},'PRDPX':_0x42253c(0x1cb),'UmEel':'Authorization','QFRLe':function(_0x541402,_0x31c578){return _0x541402+_0x31c578;},'Wbaeo':_0x42253c(0x12c),'kGwsl':'base64','IDyWl':function(_0x2b8678,_0x3bb7e1){return _0x2b8678===_0x3bb7e1;},'HlISW':_0x42253c(0x12e),'yExNN':_0x42253c(0x1e1),'XssML':function(_0x38953b,_0x262013,_0x1f5158){return _0x38953b(_0x262013,_0x1f5158);},'lzBcP':function(_0x5edfa2,_0x49ce87){return _0x5edfa2!==_0x49ce87;},'VMpms':function(_0x25317e,_0xeade0e){return _0x25317e===_0xeade0e;},'nTBHW':'QgoCR','poYyO':function(_0x448e1f,_0x282823){return _0x448e1f!==_0x282823;},'buSOE':_0x42253c(0x1cd),'wKhAV':function(_0x25e18a,_0x4343e7){return _0x25e18a===_0x4343e7;},'tLWrY':_0x42253c(0x138)};if(_0x595f1d[_0x42253c(0x152)](_0x595f1d[_0x42253c(0x1de)](isUsageReportingEnabled),_0x595f1d[_0x42253c(0x19a)])){if(_0x595f1d[_0x42253c(0x152)](_0x595f1d['oLnrv'],_0x595f1d[_0x42253c(0x1c3)]))_0x3a65c8[_0x42253c(0x13c)](_0x42253c(0x150)+_0x17e31a['statusCode']+'\x20:\x20'+_0x4156dd[_0x42253c(0x16e)](_0x469f7c[_0x42253c(0x14d)])+'\x20');else return;}const _0x3d2d08=_0x42253c(0x194)+AG_API_URL+_0x42253c(0x1aa),_0x136910=exports[_0x42253c(0x14a)](),_0x5bed93=_0x595f1d[_0x42253c(0x152)](_0x287c67[_0x42253c(0x1dc)],undefined)?{}:_0x287c67[_0x42253c(0x1dc)];_0x287c67[_0x42253c(0x1c4)]=_0x287c67[_0x42253c(0x1c4)]&&_0x595f1d[_0x42253c(0x12a)](redactKeys,JSON[_0x42253c(0x16e)](_0x287c67['cli_args']),CLI_ARGS_REGEX,REDACTED),_0x287c67['raw_args']=_0x287c67['raw_args']&&_0x595f1d['HELMM'](redactKeys,JSON[_0x42253c(0x16e)](_0x287c67['raw_args']),RAW_ARGS_REGEX,REDACTED),delete _0x287c67[_0x42253c(0x182)];const _0x4057fb={'event_type':_0x595f1d[_0x42253c(0x131)],'data':{'request_id':global_registry['requestId'],'os':exports['_os'](),'os_version':exports['os_version'](),'cli_version':_0x136910[_0x42253c(0x1b3)],'cli_path':_0x136910['path'],'npm_version':exports[_0x42253c(0x1b8)](),'ci_environment':exports[_0x42253c(0x149)](),'event_timestamp':new Date()[_0x42253c(0x151)](),'data':JSON[_0x42253c(0x16e)](_0x5bed93),'raw_args':JSON[_0x42253c(0x16e)](_0x287c67['raw_args']),..._0x287c67}},_0x7f6710={'headers':{'Content-Type':_0x595f1d[_0x42253c(0x174)],'User-Agent':exports[_0x42253c(0x1c7)]()+'/'+exports[_0x42253c(0x134)]()},'method':_0x595f1d['QaAbO'],'json':_0x4057fb,'throwHttpErrors':![]};if(global_registry['bstackUsername']&&global_registry[_0x42253c(0x129)]){if(_0x595f1d['hFIce'](_0x595f1d[_0x42253c(0x1e4)],_0x595f1d[_0x42253c(0x1e4)]))_0x7f6710[_0x42253c(0x1b6)][_0x595f1d['UmEel']]=_0x595f1d[_0x42253c(0x1a3)](_0x595f1d[_0x42253c(0x1d1)],Buffer[_0x42253c(0x1c1)](global_registry[_0x42253c(0x13e)]+':'+global_registry[_0x42253c(0x129)])[_0x42253c(0x181)](_0x595f1d[_0x42253c(0x163)]));else return _0x2a10c6['platform']();}logger[_0x42253c(0x1d2)]('Sending\x20'+JSON[_0x42253c(0x16e)](_0x4057fb)+'\x20and\x20'+JSON[_0x42253c(0x16e)](_0x7f6710)+_0x42253c(0x1bf)+_0x3d2d08);try{if(_0x595f1d[_0x42253c(0x16c)](_0x595f1d[_0x42253c(0x158)],_0x595f1d['yExNN']))return;else{const _0x4f32e2=await _0x595f1d['XssML'](got,_0x3d2d08,_0x7f6710);if(_0x595f1d[_0x42253c(0x17e)](_0x4f32e2,null)&&_0x595f1d[_0x42253c(0x17e)](_0x4f32e2,undefined)&&_0x595f1d['VMpms'](_0x4f32e2[_0x42253c(0x171)],0xc8)){if(_0x595f1d[_0x42253c(0x152)](_0x595f1d[_0x42253c(0x188)],_0x595f1d[_0x42253c(0x188)]))logger[_0x42253c(0x1d2)](_0x42253c(0x1a0)+JSON[_0x42253c(0x16e)](_0x4f32e2['body']));else{const _0x41bdcd={};return _0x41bdcd[_0x42253c(0x1b3)]=null,_0x41bdcd[_0x42253c(0x146)]=null,_0x41bdcd;}}else{if(_0x595f1d[_0x42253c(0x17b)](_0x595f1d[_0x42253c(0x160)],_0x595f1d[_0x42253c(0x160)]))return _0x595f1d['mEgtW'];else logger[_0x42253c(0x13c)](_0x42253c(0x150)+_0x4f32e2[_0x42253c(0x171)]+'\x20:\x20'+JSON[_0x42253c(0x16e)](_0x4f32e2['body'])+'\x20');}}}catch(_0x4579f6){if(_0x595f1d[_0x42253c(0x1dd)](_0x595f1d['tLWrY'],_0x595f1d[_0x42253c(0x156)]))logger[_0x42253c(0x13c)]('[sendInstrumentationEvent]\x20Error\x20in\x20sending\x20instrumentation\x20event\x20to\x20galactus\x20-\x20'+JSON[_0x42253c(0x16e)](_0x4579f6));else{const _0x19c14e={};_0x19c14e[_0x42253c(0x1bb)]=_0x595f1d[_0x42253c(0x16a)];const _0x2dcb4c=_0x19c14e;return _0x2221b9[_0x42253c(0x162)](_0xe35476+_0x42253c(0x187),_0x2dcb4c)[_0x42253c(0x181)]()[_0x42253c(0x1c8)]();}}}exports[a30_0x5e85c9(0x169)]=async(_0x26ebde,_0x365a49,_0x4a65d7,_0x1bf789,_0x3092f0,_0x5dbe0a)=>{const _0x21479e=a30_0x5e85c9,_0x3b354c={'rwGjf':function(_0x2583b3,_0x280deb){return _0x2583b3(_0x280deb);}},_0x3a8a58={};_0x3a8a58[_0x21479e(0x1c4)]=_0x26ebde,_0x3a8a58[_0x21479e(0x170)]=_0x365a49,_0x3a8a58[_0x21479e(0x176)]=_0x4a65d7,_0x3a8a58[_0x21479e(0x1ca)]=_0x1bf789,_0x3a8a58[_0x21479e(0x1dc)]=_0x3092f0,_0x3a8a58[_0x21479e(0x18c)]=_0x5dbe0a,await _0x3b354c[_0x21479e(0x185)](send,_0x3a8a58);};
@@ -1 +1 @@
1
- const a31_0x18421a=a31_0x307a;(function(_0x591f4d,_0x5c4d4e){const _0x4327e8=a31_0x307a,_0x41878f=_0x591f4d();while(!![]){try{const _0x33dc32=parseInt(_0x4327e8(0xd9))/0x1*(-parseInt(_0x4327e8(0xcf))/0x2)+-parseInt(_0x4327e8(0xd7))/0x3+-parseInt(_0x4327e8(0xe5))/0x4*(-parseInt(_0x4327e8(0xcb))/0x5)+parseInt(_0x4327e8(0xdf))/0x6+-parseInt(_0x4327e8(0xd8))/0x7*(-parseInt(_0x4327e8(0xd1))/0x8)+parseInt(_0x4327e8(0xc8))/0x9*(parseInt(_0x4327e8(0xe8))/0xa)+-parseInt(_0x4327e8(0xeb))/0xb*(parseInt(_0x4327e8(0xde))/0xc);if(_0x33dc32===_0x5c4d4e)break;else _0x41878f['push'](_0x41878f['shift']());}catch(_0x5e436a){_0x41878f['push'](_0x41878f['shift']());}}}(a31_0x4ce5,0x1a2b3));const readline=require(a31_0x18421a(0xe0)),{logger}=require(a31_0x18421a(0xdb)),a31_0x461172={};a31_0x461172[a31_0x18421a(0xd6)]=process[a31_0x18421a(0xda)],a31_0x461172[a31_0x18421a(0xc9)]=process[a31_0x18421a(0xf0)];function a31_0x4ce5(){const _0x57b63e=['1875upMQcA','log','Exiting\x20CLI...','LOOdY','64054QWOvey','UMGDS','16vqESAc','inputCloudProviderKeys','PASSWORD:\x20','bvQLH','info','input','503610QElAHo','605577zvJQbr','6WYFbeT','stdin','../config/logger','ArshL','Unable\x20to\x20prompt\x20:\x20','3516utrjPD','866514njfRgy','readline','\x0aPlease\x20enter\x20your\x20BrowserStack\x20credentials\x20to\x20continue...\x0a','getUserInput','close','closeInput','324FwUMSP','IuCnh','exit','1375690pTewDA','question','adEAC','682yUwYfR','sMqwu','stack','\x20credentials\x20to\x20continue...\x0a','USERNAME:\x20','stdout','praDk','9tTWgRi','output','error'];a31_0x4ce5=function(){return _0x57b63e;};return a31_0x4ce5();}function a31_0x307a(_0x5c6f47,_0x31ed8e){const _0x4ce56a=a31_0x4ce5();return a31_0x307a=function(_0x307ae7,_0x229a6f){_0x307ae7=_0x307ae7-0xc8;let _0x529a75=_0x4ce56a[_0x307ae7];return _0x529a75;},a31_0x307a(_0x5c6f47,_0x31ed8e);}const rl=readline['createInterface'](a31_0x461172),prompt=_0x529c0a=>new Promise(_0x135a39=>rl[a31_0x18421a(0xe9)](_0x529c0a,_0x135a39));exports[a31_0x18421a(0xd2)]=async(_0x5a440a,_0x320314,_0x2a50f1)=>{const _0x358577=a31_0x18421a,_0x1db2e4={};_0x1db2e4[_0x358577(0xd0)]=_0x358577(0xcd);const _0x5f03a3=_0x1db2e4;try{console[_0x358577(0xcc)]('\x0aPlease\x20enter\x20your\x20'+_0x5a440a['toUpperCase']()+_0x358577(0xee));const _0x41d371=await _0x2a50f1[_0x358577(0xe2)](prompt,_0x320314);return console[_0x358577(0xcc)]('\x0a'),rl[_0x358577(0xe3)](),_0x41d371;}catch(_0x343606){logger[_0x358577(0xca)](_0x358577(0xdd)+_0x343606[_0x358577(0xed)]),logger['info'](_0x5f03a3['UMGDS']),process[_0x358577(0xe7)](0x1);}},exports['inputBstackKeys']=async()=>{const _0x22db3e=a31_0x18421a,_0x312356={'adEAC':_0x22db3e(0xe1),'praDk':function(_0xeebe71,_0x3c9091){return _0xeebe71(_0x3c9091);},'sMqwu':_0x22db3e(0xef),'LOOdY':function(_0x24aa06,_0x5e2ad6){return _0x24aa06(_0x5e2ad6);},'bvQLH':_0x22db3e(0xd3),'IuCnh':'Exiting\x20CLI...'};try{console[_0x22db3e(0xcc)](_0x312356[_0x22db3e(0xea)]);const _0x1ed231=await _0x312356[_0x22db3e(0xf1)](prompt,_0x312356[_0x22db3e(0xec)]),_0x303945=await _0x312356[_0x22db3e(0xce)](prompt,_0x312356[_0x22db3e(0xd4)]);return console[_0x22db3e(0xcc)]('\x0a'),rl[_0x22db3e(0xe3)](),[_0x1ed231,_0x303945];}catch(_0x56f2d5){logger[_0x22db3e(0xca)](_0x22db3e(0xdd)+_0x56f2d5),logger[_0x22db3e(0xd5)](_0x312356[_0x22db3e(0xe6)]),process[_0x22db3e(0xe7)](0x1);}},exports['inputConfirmation']=async _0x595cd8=>{const _0x4dcbf4=a31_0x18421a,_0x9112b1={'vCiSV':function(_0x3ec126,_0x2073a9){return _0x3ec126(_0x2073a9);},'ArshL':_0x4dcbf4(0xcd)};try{const _0x182037=await _0x9112b1['vCiSV'](prompt,'\x0a'+_0x595cd8+':\x20');return console[_0x4dcbf4(0xcc)]('\x0a'),_0x182037;}catch(_0x4c0f95){logger[_0x4dcbf4(0xca)]('Unable\x20to\x20prompt\x20:\x20'+_0x4c0f95),logger[_0x4dcbf4(0xd5)](_0x9112b1[_0x4dcbf4(0xdc)]),process[_0x4dcbf4(0xe7)](0x1);}},exports[a31_0x18421a(0xe4)]=()=>{rl['close']();};
1
+ const a31_0x1f549f=a31_0x110b;(function(_0xa2c20c,_0x20a872){const _0x211951=a31_0x110b,_0x553de6=_0xa2c20c();while(!![]){try{const _0x3729ea=-parseInt(_0x211951(0x1cb))/0x1+parseInt(_0x211951(0x1c9))/0x2+parseInt(_0x211951(0x1d1))/0x3+-parseInt(_0x211951(0x1ca))/0x4+-parseInt(_0x211951(0x1cd))/0x5*(parseInt(_0x211951(0x1eb))/0x6)+parseInt(_0x211951(0x1e9))/0x7+parseInt(_0x211951(0x1df))/0x8*(parseInt(_0x211951(0x1d3))/0x9);if(_0x3729ea===_0x20a872)break;else _0x553de6['push'](_0x553de6['shift']());}catch(_0x529ef9){_0x553de6['push'](_0x553de6['shift']());}}}(a31_0x45fa,0xd118b));function a31_0x45fa(){const _0x52279d=['log','1196172XUGDWT','5572196qqusWl','1473011MaPzRQ','USERNAME:\x20','1497835RSWYqW','error','YikHi','input','161346PGRdqb','stdout','9CQEtAJ','bWxzC','\x0aPlease\x20enter\x20your\x20','Exiting\x20CLI...','closeInput','createInterface','xMPxU','../config/logger','stdin','inputConfirmation','cqShM','getUserInput','34874016yipwAu','tbjxY','readline','info','toUpperCase','Unable\x20to\x20prompt\x20:\x20','UdRYO','\x20credentials\x20to\x20continue...\x0a','pXnfg','inputBstackKeys','1464638HbSJSW','exit','30hJngCs','close'];a31_0x45fa=function(){return _0x52279d;};return a31_0x45fa();}const readline=require(a31_0x1f549f(0x1e1)),{logger}=require(a31_0x1f549f(0x1da)),a31_0x22f9fe={};a31_0x22f9fe[a31_0x1f549f(0x1d0)]=process[a31_0x1f549f(0x1db)],a31_0x22f9fe['output']=process[a31_0x1f549f(0x1d2)];const rl=readline[a31_0x1f549f(0x1d8)](a31_0x22f9fe),prompt=_0x530b71=>new Promise(_0x35109a=>rl['question'](_0x530b71,_0x35109a));function a31_0x110b(_0x578edc,_0x26a3ad){const _0x45fae2=a31_0x45fa();return a31_0x110b=function(_0x110b68,_0x3694d1){_0x110b68=_0x110b68-0x1c7;let _0xe0c643=_0x45fae2[_0x110b68];return _0xe0c643;},a31_0x110b(_0x578edc,_0x26a3ad);}exports['inputCloudProviderKeys']=async(_0x184a3d,_0xb7a9ee,_0x126dbb)=>{const _0xc3a78d=a31_0x1f549f,_0x1e62fa={};_0x1e62fa[_0xc3a78d(0x1dd)]=_0xc3a78d(0x1d6);const _0x2b7fed=_0x1e62fa;try{console[_0xc3a78d(0x1c8)](_0xc3a78d(0x1d5)+_0x184a3d[_0xc3a78d(0x1e3)]()+_0xc3a78d(0x1e6));const _0x34cd9f=await _0x126dbb[_0xc3a78d(0x1de)](prompt,_0xb7a9ee);return console[_0xc3a78d(0x1c8)]('\x0a'),rl[_0xc3a78d(0x1c7)](),_0x34cd9f;}catch(_0x5be442){logger[_0xc3a78d(0x1ce)](_0xc3a78d(0x1e4)+_0x5be442['stack']),logger[_0xc3a78d(0x1e2)](_0x2b7fed[_0xc3a78d(0x1dd)]),process[_0xc3a78d(0x1ea)](0x1);}},exports[a31_0x1f549f(0x1e8)]=async()=>{const _0x18adb7=a31_0x1f549f,_0x382b7c={'vpBfd':'\x0aPlease\x20enter\x20your\x20BrowserStack\x20credentials\x20to\x20continue...\x0a','xMPxU':function(_0x3e902b,_0x5a8fec){return _0x3e902b(_0x5a8fec);},'UdRYO':_0x18adb7(0x1cc),'pXnfg':function(_0x5307a9,_0x3233a1){return _0x5307a9(_0x3233a1);},'YikHi':'PASSWORD:\x20','tbjxY':_0x18adb7(0x1d6)};try{console[_0x18adb7(0x1c8)](_0x382b7c['vpBfd']);const _0x11327a=await _0x382b7c[_0x18adb7(0x1d9)](prompt,_0x382b7c[_0x18adb7(0x1e5)]),_0x297019=await _0x382b7c[_0x18adb7(0x1e7)](prompt,_0x382b7c[_0x18adb7(0x1cf)]);return console[_0x18adb7(0x1c8)]('\x0a'),rl['close'](),[_0x11327a,_0x297019];}catch(_0x42e413){logger[_0x18adb7(0x1ce)]('Unable\x20to\x20prompt\x20:\x20'+_0x42e413),logger['info'](_0x382b7c[_0x18adb7(0x1e0)]),process[_0x18adb7(0x1ea)](0x1);}},exports[a31_0x1f549f(0x1dc)]=async _0xda5b78=>{const _0x495a41=a31_0x1f549f,_0x27a097={'iMhBk':function(_0x32e0cf,_0x171eef){return _0x32e0cf(_0x171eef);},'bWxzC':_0x495a41(0x1d6)};try{const _0x272ab9=await _0x27a097['iMhBk'](prompt,'\x0a'+_0xda5b78+':\x20');return console[_0x495a41(0x1c8)]('\x0a'),_0x272ab9;}catch(_0x418607){logger[_0x495a41(0x1ce)](_0x495a41(0x1e4)+_0x418607),logger[_0x495a41(0x1e2)](_0x27a097[_0x495a41(0x1d4)]),process[_0x495a41(0x1ea)](0x1);}},exports[a31_0x1f549f(0x1d7)]=()=>{const _0x5b36e2=a31_0x1f549f;rl[_0x5b36e2(0x1c7)]();};